From d2e58dd387b8b0bbc791cccba98d701a8838adc6 Mon Sep 17 00:00:00 2001 From: Vlad Moroz Date: Mon, 21 Oct 2024 23:38:16 +0200 Subject: [PATCH] Clean up Tailwind config and docs styles (#746) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: MichaƂ Dudak --- .../AlertDialogIntroduction/tailwind/index.js | 4 +- .../tailwind/index.js | 20 +- .../tailwind/index.js | 10 +- .../tailwind/index.js | 4 +- .../menu/MenuIntroduction/tailwind/index.js | 6 +- .../tailwind/index.js | 12 +- .../tailwind/index.js | 4 +- .../tailwind/index.js | 8 +- .../tailwind/index.js | 10 +- .../app/(content)/components/[slug]/page.tsx | 5 +- .../(content)/getting-started/[slug]/page.tsx | 5 +- docs/src/app/(content)/guides/[slug]/page.tsx | 5 +- docs/src/app/(content)/layout.tsx | 1 + docs/src/app/experiments/[slug]/page.tsx | 1 + docs/src/app/layout.tsx | 1 - docs/src/app/new/page.tsx | 10 + docs/src/app/new/styles.css | 3 + docs/src/app/not-found.tsx | 3 +- docs/src/app/page.tsx | 9 +- docs/src/app/playground/[slug]/page.tsx | 1 + docs/src/components/content/Description.tsx | 5 +- docs/src/design-system/IconButton.module.css | 6 +- docs/src/design-system/IconButton.tsx | 2 +- docs/src/design-system/IconLinkButton.tsx | 4 +- docs/src/styles/components/select.css | 4 +- docs/src/styles/components/text.css | 18 +- .../styles.module.css => styles/content.css} | 13 +- docs/src/styles/style.css | 12 +- docs/src/styles/utilities/align-items.css | 19 -- docs/src/styles/utilities/align-self.css | 19 -- docs/src/styles/utilities/display.css | 31 -- docs/src/styles/utilities/flex-direction.css | 15 - docs/src/styles/utilities/gap.css | 35 -- docs/src/styles/utilities/height.css | 35 -- docs/src/styles/utilities/justify-content.css | 23 -- docs/src/styles/utilities/margin.css | 299 ------------------ docs/src/styles/utilities/padding.css | 299 ------------------ docs/src/styles/utilities/position.css | 15 - docs/tailwind.config.ts | 13 +- package.json | 1 + pnpm-lock.yaml | 62 ++++ prettier.config.js | 1 + 42 files changed, 159 insertions(+), 894 deletions(-) create mode 100644 docs/src/app/new/page.tsx create mode 100644 docs/src/app/new/styles.css rename docs/src/{app/(content)/styles.module.css => styles/content.css} (96%) delete mode 100644 docs/src/styles/utilities/align-items.css delete mode 100644 docs/src/styles/utilities/align-self.css delete mode 100644 docs/src/styles/utilities/display.css delete mode 100644 docs/src/styles/utilities/flex-direction.css delete mode 100644 docs/src/styles/utilities/gap.css delete mode 100644 docs/src/styles/utilities/height.css delete mode 100644 docs/src/styles/utilities/justify-content.css delete mode 100644 docs/src/styles/utilities/margin.css delete mode 100644 docs/src/styles/utilities/padding.css delete mode 100644 docs/src/styles/utilities/position.css diff --git a/docs/data/components/alert-dialog/AlertDialogIntroduction/tailwind/index.js b/docs/data/components/alert-dialog/AlertDialogIntroduction/tailwind/index.js index a01762d0d8..412f188097 100644 --- a/docs/data/components/alert-dialog/AlertDialogIntroduction/tailwind/index.js +++ b/docs/data/components/alert-dialog/AlertDialogIntroduction/tailwind/index.js @@ -41,7 +41,7 @@ function Controls(props) { return (
); } @@ -67,7 +67,7 @@ function Backdrop(props) { return ( ); } diff --git a/docs/data/components/checkbox-group/UnstyledCheckboxGroupIntroduction/tailwind/index.js b/docs/data/components/checkbox-group/UnstyledCheckboxGroupIntroduction/tailwind/index.js index a4e58b231c..96ce6a1dce 100644 --- a/docs/data/components/checkbox-group/UnstyledCheckboxGroupIntroduction/tailwind/index.js +++ b/docs/data/components/checkbox-group/UnstyledCheckboxGroupIntroduction/tailwind/index.js @@ -19,7 +19,7 @@ function Label(props) { return ( // eslint-disable-next-line jsx-a11y/label-has-associated-control, jsx-a11y/no-noninteractive-element-interactions