From 258b778681daf67e53b6ed415f52d15a7b594a25 Mon Sep 17 00:00:00 2001 From: Brijesh Bittu <717550+brijeshb42@users.noreply.github.com> Date: Fri, 3 Oct 2025 13:18:46 +0530 Subject: [PATCH] [code-infra] Fix prettier formatting of tailwind classes Add the source tailwind v4 stylesheet and preserve whitespaces --- .../(private)/experiments/context-menu.tsx | 54 +++++++++---------- .../experiments/menu/complex-nesting.tsx | 2 +- .../demos/hero/tailwind/index.tsx | 4 +- .../toast/demos/hero/tailwind/index.tsx | 2 +- .../toast/demos/position/tailwind/index.tsx | 2 +- .../(public)/careers/design-engineer/page.tsx | 2 +- docs/src/components/Header.tsx | 4 +- .../AttributesReferenceTable.tsx | 10 ++-- .../CssVariablesReferenceTable.tsx | 10 ++-- .../PropsReferenceAccordion.tsx | 8 +-- .../ReferenceTable/ReferenceTableTooltip.tsx | 2 +- docs/src/mdx-components.tsx | 4 +- .../react/test/floating-ui-tests/Button.tsx | 2 +- .../test/floating-ui-tests/EmojiPicker.tsx | 6 +-- .../react/test/floating-ui-tests/Menu.tsx | 10 ++-- .../floating-ui-tests/MenuOrientation.tsx | 14 ++--- .../test/floating-ui-tests/Navigation.tsx | 6 +-- .../react/test/floating-ui-tests/Popover.tsx | 4 +- prettier.config.mjs | 1 + test/e2e/fixtures/slider/Inset.tsx | 2 +- test/e2e/fixtures/slider/Range.tsx | 4 +- test/e2e/fixtures/slider/RangeSliderMax.tsx | 4 +- 22 files changed, 79 insertions(+), 78 deletions(-) diff --git a/docs/src/app/(private)/experiments/context-menu.tsx b/docs/src/app/(private)/experiments/context-menu.tsx index 61204b6e88..139493d8fb 100644 --- a/docs/src/app/(private)/experiments/context-menu.tsx +++ b/docs/src/app/(private)/experiments/context-menu.tsx @@ -18,15 +18,15 @@ export default function ContextMenuExperiment() {

- +
- Outer Context Menu - Right-click me + Outer Context Menu + Right-click me - - Inner Context Menu - Right-click me too! + + Inner Context Menu + Right-click me too! @@ -72,19 +72,19 @@ export default function ContextMenuExperiment() {

Right-click on either box and explore the submenu options.

- +
- + Outer Context Menu with Submenu - Right-click me + Right-click me - - + + Inner Context Menu with Submenu - Right-click me too! + Right-click me too! @@ -166,10 +166,10 @@ export default function ContextMenuExperiment() {

- +
- Complex Context Menu - + Complex Context Menu + Right-click me, then right-click "Special Item"
@@ -229,7 +229,7 @@ export default function ContextMenuExperiment() { Deep Action 2 - + Deep Delete @@ -238,7 +238,7 @@ export default function ContextMenuExperiment() { - + Nested Delete @@ -247,7 +247,7 @@ export default function ContextMenuExperiment() {
- + Delete @@ -268,16 +268,16 @@ export default function ContextMenuExperiment() {

- +
- Outer Context Menu - Right-click me + Outer Context Menu + Right-click me - +
- Inner Context Menu - Right-click me + Inner Context Menu + Right-click me @@ -303,11 +303,11 @@ export default function ContextMenuExperiment() { - - + + Popover Context Menu - + Right-click me! diff --git a/docs/src/app/(private)/experiments/menu/complex-nesting.tsx b/docs/src/app/(private)/experiments/menu/complex-nesting.tsx index 833aa863c0..cb76982205 100644 --- a/docs/src/app/(private)/experiments/menu/complex-nesting.tsx +++ b/docs/src/app/(private)/experiments/menu/complex-nesting.tsx @@ -115,7 +115,7 @@ export default function MenuComplexNestingExperiment() { Cancel - + Save
diff --git a/docs/src/app/(public)/(content)/react/components/navigation-menu/demos/hero/tailwind/index.tsx b/docs/src/app/(public)/(content)/react/components/navigation-menu/demos/hero/tailwind/index.tsx index 6ed065f7bd..86cf549677 100644 --- a/docs/src/app/(public)/(content)/react/components/navigation-menu/demos/hero/tailwind/index.tsx +++ b/docs/src/app/(public)/(content)/react/components/navigation-menu/demos/hero/tailwind/index.tsx @@ -14,7 +14,7 @@ export default function ExampleNavigationMenu() { -