From e7a67bc2fbe45a60af3af50791697c96f49624df Mon Sep 17 00:00:00 2001 From: 8845musign Date: Thu, 26 Oct 2023 14:44:25 +0900 Subject: [PATCH 1/4] fix: lint errors Signed-off-by: 8845musign --- src/components/astro/PropsTable.astro | 4 ++-- src/layouts/BaseLayout.astro | 2 +- src/layouts/ComponentLayout.astro | 2 +- src/layouts/PostLayout.astro | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/astro/PropsTable.astro b/src/components/astro/PropsTable.astro index 17a2a15..0516997 100644 --- a/src/components/astro/PropsTable.astro +++ b/src/components/astro/PropsTable.astro @@ -1,8 +1,8 @@ --- type Prop = { name: string; - type: string; - defaultValue: string; + type: string | string[]; + defaultValue: string | number | null; required: boolean; description: string; }; diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index 57537f5..967fa8b 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -4,10 +4,10 @@ import '@unocss/reset/sanitize/assets.css'; import '@ubie/design-tokens/dist/tokens.css'; import '../styles/libs/prism-a11y-dark.css'; import '@styles/global.css'; -import type { PostData } from '@types'; import GlobalHeader from '@components/astro/GlobalHeader.astro'; import WithGlobalNavigation from '@components/react/WithGlobalNavigation'; +import type { PostData } from '@types'; const currentPath = new URL(Astro.request.url).pathname; const allComponentMdx = await Astro.glob('../pages/components/*.mdx'); diff --git a/src/layouts/ComponentLayout.astro b/src/layouts/ComponentLayout.astro index cd67acc..ca94e01 100644 --- a/src/layouts/ComponentLayout.astro +++ b/src/layouts/ComponentLayout.astro @@ -31,7 +31,7 @@ const examples = getAllExample(exampleKey);

Props#

- + diff --git a/src/layouts/PostLayout.astro b/src/layouts/PostLayout.astro index 4ab1041..d77de5a 100644 --- a/src/layouts/PostLayout.astro +++ b/src/layouts/PostLayout.astro @@ -1,7 +1,7 @@ --- +import Markdown from '@components/astro/Markdown.astro'; import BaseLayout from './BaseLayout.astro'; import WithTableOfContentsLayout from './WithTableOfContentsLayout.astro'; -import Markdown from '@components/astro/Markdown.astro'; const { title, description } = Astro.props.frontmatter; --- From af93c0a05302ddf1fb829d4198cf4e4928b7391d Mon Sep 17 00:00:00 2001 From: 8845musign Date: Thu, 26 Oct 2023 14:52:50 +0900 Subject: [PATCH 2/4] Fix capitalization Signed-off-by: 8845musign --- .scaffdog/example.md | 2 +- src/pages/components/examples/accordion/small.astro | 4 ++-- .../components/examples/action-half-modal/Customized.astro | 4 ++-- .../components/examples/action-half-modal/fullscreen.astro | 4 ++-- .../examples/action-half-modal/no-close-button.astro | 4 ++-- .../components/examples/action-half-modal/secondary.astro | 4 ++-- src/pages/components/examples/action-modal/customized.astro | 4 ++-- src/pages/components/examples/action-modal/fixed-height.astro | 4 ++-- src/pages/components/examples/action-modal/secondary.astro | 4 ++-- src/pages/components/examples/button/block.astro | 4 ++-- src/pages/components/examples/button/disabled.astro | 4 ++-- src/pages/components/examples/button/size.astro | 4 ++-- src/pages/components/examples/button/with-icon.astro | 4 ++-- src/pages/components/examples/checkbox/disabled.astro | 4 ++-- src/pages/components/examples/checkbox/single-use.astro | 4 ++-- src/pages/components/examples/checkbox/size.astro | 4 ++-- src/pages/components/examples/input/disabled.astro | 4 ++-- src/pages/components/examples/input/is-invalid.astro | 4 ++-- src/pages/components/examples/input/types.astro | 4 ++-- src/pages/components/examples/link-button/block.astro | 4 ++-- src/pages/components/examples/link-button/disabled.astro | 4 ++-- src/pages/components/examples/link-button/size.astro | 4 ++-- src/pages/components/examples/link-button/with-icon.astro | 4 ++-- src/pages/components/examples/link-card/with-icon.astro | 4 ++-- .../components/examples/message-modal/fixed-height.astro | 4 ++-- .../components/examples/message-modal/overlay-darker.astro | 4 ++-- src/pages/components/examples/message-modal/with-header.astro | 4 ++-- src/pages/components/examples/radio-button/disabled.astro | 4 ++-- src/pages/components/examples/radio-button/size.astro | 4 ++-- src/pages/components/examples/radio-card/block.astro | 4 ++-- src/pages/components/examples/select/disabled.astro | 4 ++-- src/pages/components/examples/select/is-invalid.astro | 4 ++-- .../examples/stack/block-level-elements-to-full-width.astro | 4 ++-- src/pages/components/examples/stack/centralized.astro | 4 ++-- src/pages/components/examples/stack/markup-as-list.astro | 4 ++-- src/pages/components/examples/stack/nested.astro | 4 ++-- src/pages/components/examples/stack/put-on-the-end.astro | 4 ++-- src/pages/components/examples/text-area/default.astro | 2 +- src/pages/components/examples/text-area/disabled.astro | 2 +- src/pages/components/examples/text-area/is-invalid.astro | 2 +- src/pages/components/examples/text/body.astro | 4 ++-- src/pages/components/examples/text/button.astro | 4 ++-- src/pages/components/examples/text/color.astro | 4 ++-- src/pages/components/examples/text/heading.astro | 4 ++-- src/pages/components/examples/text/note.astro | 4 ++-- src/pages/components/examples/text/tag.astro | 4 ++-- 46 files changed, 88 insertions(+), 88 deletions(-) diff --git a/.scaffdog/example.md b/.scaffdog/example.md index b54a15a..6b39e79 100644 --- a/.scaffdog/example.md +++ b/.scaffdog/example.md @@ -29,7 +29,7 @@ export default {{ inputs.exampleName | pascal }}; ```typescript --- -import ExampleLayout from '@layouts/exampleLayout.astro'; +import ExampleLayout from '@layouts/ExampleLayout.astro'; import {{ inputs.exampleName | pascal }} from '@components/react/examples/{{ inputs.exampleKey }}/{{ inputs.exampleName | pascal }}'; --- diff --git a/src/pages/components/examples/accordion/small.astro b/src/pages/components/examples/accordion/small.astro index 4c193f2..fcafff9 100644 --- a/src/pages/components/examples/accordion/small.astro +++ b/src/pages/components/examples/accordion/small.astro @@ -1,8 +1,8 @@ --- -import ExampleLayout from '@layouts/exampleLayout.astro'; +import ExampleLayout from '@layouts/ExampleLayout.astro'; import Small from '@components/react/examples/accordion/Small'; --- - \ No newline at end of file + diff --git a/src/pages/components/examples/action-half-modal/Customized.astro b/src/pages/components/examples/action-half-modal/Customized.astro index 9a08d90..59e5653 100644 --- a/src/pages/components/examples/action-half-modal/Customized.astro +++ b/src/pages/components/examples/action-half-modal/Customized.astro @@ -1,8 +1,8 @@ --- -import ExampleLayout from '@layouts/exampleLayout.astro'; +import ExampleLayout from '@layouts/ExampleLayout.astro'; import Customized from '@components/react/examples/action-half-modal/Customized'; --- - \ No newline at end of file + diff --git a/src/pages/components/examples/action-half-modal/fullscreen.astro b/src/pages/components/examples/action-half-modal/fullscreen.astro index 5dc92dc..d9c2d11 100644 --- a/src/pages/components/examples/action-half-modal/fullscreen.astro +++ b/src/pages/components/examples/action-half-modal/fullscreen.astro @@ -1,8 +1,8 @@ --- -import ExampleLayout from '@layouts/exampleLayout.astro'; +import ExampleLayout from '@layouts/ExampleLayout.astro'; import Fullscreen from '@components/react/examples/action-half-modal/Fullscreen'; --- - \ No newline at end of file + diff --git a/src/pages/components/examples/action-half-modal/no-close-button.astro b/src/pages/components/examples/action-half-modal/no-close-button.astro index 06c5934..7ce74be 100644 --- a/src/pages/components/examples/action-half-modal/no-close-button.astro +++ b/src/pages/components/examples/action-half-modal/no-close-button.astro @@ -1,8 +1,8 @@ --- -import ExampleLayout from '@layouts/exampleLayout.astro'; +import ExampleLayout from '@layouts/ExampleLayout.astro'; import NoCloseButton from '@components/react/examples/action-half-modal/NoCloseButton'; --- - \ No newline at end of file + diff --git a/src/pages/components/examples/action-half-modal/secondary.astro b/src/pages/components/examples/action-half-modal/secondary.astro index 1fb27d9..95da2d6 100644 --- a/src/pages/components/examples/action-half-modal/secondary.astro +++ b/src/pages/components/examples/action-half-modal/secondary.astro @@ -1,8 +1,8 @@ --- -import ExampleLayout from '@layouts/exampleLayout.astro'; +import ExampleLayout from '@layouts/ExampleLayout.astro'; import Secondary from '@components/react/examples/action-half-modal/Secondary'; --- - \ No newline at end of file + diff --git a/src/pages/components/examples/action-modal/customized.astro b/src/pages/components/examples/action-modal/customized.astro index 060950f..b338700 100644 --- a/src/pages/components/examples/action-modal/customized.astro +++ b/src/pages/components/examples/action-modal/customized.astro @@ -1,8 +1,8 @@ --- -import ExampleLayout from '@layouts/exampleLayout.astro'; +import ExampleLayout from '@layouts/ExampleLayout.astro'; import Customized from '@components/react/examples/action-modal/Customized'; --- - \ No newline at end of file + diff --git a/src/pages/components/examples/action-modal/fixed-height.astro b/src/pages/components/examples/action-modal/fixed-height.astro index 35ea45e..c896289 100644 --- a/src/pages/components/examples/action-modal/fixed-height.astro +++ b/src/pages/components/examples/action-modal/fixed-height.astro @@ -1,8 +1,8 @@ --- -import ExampleLayout from '@layouts/exampleLayout.astro'; +import ExampleLayout from '@layouts/ExampleLayout.astro'; import FixedHeight from '@components/react/examples/action-modal/FixedHeight'; --- - \ No newline at end of file + diff --git a/src/pages/components/examples/action-modal/secondary.astro b/src/pages/components/examples/action-modal/secondary.astro index 71968ff..7c22b08 100644 --- a/src/pages/components/examples/action-modal/secondary.astro +++ b/src/pages/components/examples/action-modal/secondary.astro @@ -1,8 +1,8 @@ --- -import ExampleLayout from '@layouts/exampleLayout.astro'; +import ExampleLayout from '@layouts/ExampleLayout.astro'; import Secondary from '@components/react/examples/action-modal/Secondary'; --- - \ No newline at end of file + diff --git a/src/pages/components/examples/button/block.astro b/src/pages/components/examples/button/block.astro index 53856c0..e0acedf 100644 --- a/src/pages/components/examples/button/block.astro +++ b/src/pages/components/examples/button/block.astro @@ -1,8 +1,8 @@ --- -import ExampleLayout from '@layouts/exampleLayout.astro'; +import ExampleLayout from '@layouts/ExampleLayout.astro'; import Block from '@components/react/examples/button/Block'; --- - \ No newline at end of file + diff --git a/src/pages/components/examples/button/disabled.astro b/src/pages/components/examples/button/disabled.astro index a796afd..b77c485 100644 --- a/src/pages/components/examples/button/disabled.astro +++ b/src/pages/components/examples/button/disabled.astro @@ -1,8 +1,8 @@ --- -import ExampleLayout from '@layouts/exampleLayout.astro'; +import ExampleLayout from '@layouts/ExampleLayout.astro'; import Disabled from '@components/react/examples/button/Disabled'; --- - \ No newline at end of file + diff --git a/src/pages/components/examples/button/size.astro b/src/pages/components/examples/button/size.astro index 007a1a0..f4e75b8 100644 --- a/src/pages/components/examples/button/size.astro +++ b/src/pages/components/examples/button/size.astro @@ -1,8 +1,8 @@ --- -import ExampleLayout from '@layouts/exampleLayout.astro'; +import ExampleLayout from '@layouts/ExampleLayout.astro'; import Size from '@components/react/examples/button/Size'; --- - \ No newline at end of file + diff --git a/src/pages/components/examples/button/with-icon.astro b/src/pages/components/examples/button/with-icon.astro index 606f51b..9084fa0 100644 --- a/src/pages/components/examples/button/with-icon.astro +++ b/src/pages/components/examples/button/with-icon.astro @@ -1,8 +1,8 @@ --- -import ExampleLayout from '@layouts/exampleLayout.astro'; +import ExampleLayout from '@layouts/ExampleLayout.astro'; import WithIcon from '@components/react/examples/button/WithIcon'; --- - \ No newline at end of file + diff --git a/src/pages/components/examples/checkbox/disabled.astro b/src/pages/components/examples/checkbox/disabled.astro index 155c863..074eb4a 100644 --- a/src/pages/components/examples/checkbox/disabled.astro +++ b/src/pages/components/examples/checkbox/disabled.astro @@ -1,8 +1,8 @@ --- -import ExampleLayout from '@layouts/exampleLayout.astro'; +import ExampleLayout from '@layouts/ExampleLayout.astro'; import Disabled from '@components/react/examples/checkbox/Disabled'; --- - \ No newline at end of file + diff --git a/src/pages/components/examples/checkbox/single-use.astro b/src/pages/components/examples/checkbox/single-use.astro index 9f6890d..30acfec 100644 --- a/src/pages/components/examples/checkbox/single-use.astro +++ b/src/pages/components/examples/checkbox/single-use.astro @@ -1,8 +1,8 @@ --- -import ExampleLayout from '@layouts/exampleLayout.astro'; +import ExampleLayout from '@layouts/ExampleLayout.astro'; import SingleUse from '@components/react/examples/checkbox/SingleUse'; --- - \ No newline at end of file + diff --git a/src/pages/components/examples/checkbox/size.astro b/src/pages/components/examples/checkbox/size.astro index b4834fd..f46fd0f 100644 --- a/src/pages/components/examples/checkbox/size.astro +++ b/src/pages/components/examples/checkbox/size.astro @@ -1,8 +1,8 @@ --- -import ExampleLayout from '@layouts/exampleLayout.astro'; +import ExampleLayout from '@layouts/ExampleLayout.astro'; import Size from '@components/react/examples/checkbox/Size'; --- - \ No newline at end of file + diff --git a/src/pages/components/examples/input/disabled.astro b/src/pages/components/examples/input/disabled.astro index deaf93f..a653c94 100644 --- a/src/pages/components/examples/input/disabled.astro +++ b/src/pages/components/examples/input/disabled.astro @@ -1,8 +1,8 @@ --- -import ExampleLayout from '@layouts/exampleLayout.astro'; +import ExampleLayout from '@layouts/ExampleLayout.astro'; import Disabled from '@components/react/examples/input/Disabled'; --- - \ No newline at end of file + diff --git a/src/pages/components/examples/input/is-invalid.astro b/src/pages/components/examples/input/is-invalid.astro index 7f2bf56..58e013d 100644 --- a/src/pages/components/examples/input/is-invalid.astro +++ b/src/pages/components/examples/input/is-invalid.astro @@ -1,8 +1,8 @@ --- -import ExampleLayout from '@layouts/exampleLayout.astro'; +import ExampleLayout from '@layouts/ExampleLayout.astro'; import IsInvalid from '@components/react/examples/input/IsInvalid'; --- - \ No newline at end of file + diff --git a/src/pages/components/examples/input/types.astro b/src/pages/components/examples/input/types.astro index 85194a0..e6d3721 100644 --- a/src/pages/components/examples/input/types.astro +++ b/src/pages/components/examples/input/types.astro @@ -1,8 +1,8 @@ --- -import ExampleLayout from '@layouts/exampleLayout.astro'; +import ExampleLayout from '@layouts/ExampleLayout.astro'; import Types from '@components/react/examples/input/Types'; --- - \ No newline at end of file + diff --git a/src/pages/components/examples/link-button/block.astro b/src/pages/components/examples/link-button/block.astro index ee3e24f..f439d0e 100644 --- a/src/pages/components/examples/link-button/block.astro +++ b/src/pages/components/examples/link-button/block.astro @@ -1,8 +1,8 @@ --- -import ExampleLayout from '@layouts/exampleLayout.astro'; +import ExampleLayout from '@layouts/ExampleLayout.astro'; import Block from '@components/react/examples/link-button/Block'; --- - \ No newline at end of file + diff --git a/src/pages/components/examples/link-button/disabled.astro b/src/pages/components/examples/link-button/disabled.astro index 1938208..8b0930a 100644 --- a/src/pages/components/examples/link-button/disabled.astro +++ b/src/pages/components/examples/link-button/disabled.astro @@ -1,8 +1,8 @@ --- -import ExampleLayout from '@layouts/exampleLayout.astro'; +import ExampleLayout from '@layouts/ExampleLayout.astro'; import Disabled from '@components/react/examples/link-button/Disabled'; --- - \ No newline at end of file + diff --git a/src/pages/components/examples/link-button/size.astro b/src/pages/components/examples/link-button/size.astro index fbb8688..5da95ed 100644 --- a/src/pages/components/examples/link-button/size.astro +++ b/src/pages/components/examples/link-button/size.astro @@ -1,8 +1,8 @@ --- -import ExampleLayout from '@layouts/exampleLayout.astro'; +import ExampleLayout from '@layouts/ExampleLayout.astro'; import Size from '@components/react/examples/link-button/Size'; --- - \ No newline at end of file + diff --git a/src/pages/components/examples/link-button/with-icon.astro b/src/pages/components/examples/link-button/with-icon.astro index 1960706..3f36afe 100644 --- a/src/pages/components/examples/link-button/with-icon.astro +++ b/src/pages/components/examples/link-button/with-icon.astro @@ -1,8 +1,8 @@ --- -import ExampleLayout from '@layouts/exampleLayout.astro'; +import ExampleLayout from '@layouts/ExampleLayout.astro'; import WithIcon from '@components/react/examples/link-button/WithIcon'; --- - \ No newline at end of file + diff --git a/src/pages/components/examples/link-card/with-icon.astro b/src/pages/components/examples/link-card/with-icon.astro index df7c6f3..a35e24f 100644 --- a/src/pages/components/examples/link-card/with-icon.astro +++ b/src/pages/components/examples/link-card/with-icon.astro @@ -1,8 +1,8 @@ --- -import ExampleLayout from '@layouts/exampleLayout.astro'; +import ExampleLayout from '@layouts/ExampleLayout.astro'; import WithIcon from '@components/react/examples/link-card/WithIcon'; --- - \ No newline at end of file + diff --git a/src/pages/components/examples/message-modal/fixed-height.astro b/src/pages/components/examples/message-modal/fixed-height.astro index b787b1d..d89d097 100644 --- a/src/pages/components/examples/message-modal/fixed-height.astro +++ b/src/pages/components/examples/message-modal/fixed-height.astro @@ -1,8 +1,8 @@ --- -import ExampleLayout from '@layouts/exampleLayout.astro'; +import ExampleLayout from '@layouts/ExampleLayout.astro'; import FixedHeight from '@components/react/examples/message-modal/FixedHeight'; --- - \ No newline at end of file + diff --git a/src/pages/components/examples/message-modal/overlay-darker.astro b/src/pages/components/examples/message-modal/overlay-darker.astro index 77fd9f1..e7a6663 100644 --- a/src/pages/components/examples/message-modal/overlay-darker.astro +++ b/src/pages/components/examples/message-modal/overlay-darker.astro @@ -1,8 +1,8 @@ --- -import ExampleLayout from '@layouts/exampleLayout.astro'; +import ExampleLayout from '@layouts/ExampleLayout.astro'; import OverlayDarker from '@components/react/examples/message-modal/OverlayDarker'; --- - \ No newline at end of file + diff --git a/src/pages/components/examples/message-modal/with-header.astro b/src/pages/components/examples/message-modal/with-header.astro index b27a604..b58289b 100644 --- a/src/pages/components/examples/message-modal/with-header.astro +++ b/src/pages/components/examples/message-modal/with-header.astro @@ -1,8 +1,8 @@ --- -import ExampleLayout from '@layouts/exampleLayout.astro'; +import ExampleLayout from '@layouts/ExampleLayout.astro'; import WithHeader from '@components/react/examples/message-modal/WithHeader'; --- - \ No newline at end of file + diff --git a/src/pages/components/examples/radio-button/disabled.astro b/src/pages/components/examples/radio-button/disabled.astro index 7ed286a..b87eeee 100644 --- a/src/pages/components/examples/radio-button/disabled.astro +++ b/src/pages/components/examples/radio-button/disabled.astro @@ -1,8 +1,8 @@ --- -import ExampleLayout from '@layouts/exampleLayout.astro'; +import ExampleLayout from '@layouts/ExampleLayout.astro'; import Disabled from '@components/react/examples/radio-button/Disabled'; --- - \ No newline at end of file + diff --git a/src/pages/components/examples/radio-button/size.astro b/src/pages/components/examples/radio-button/size.astro index b00dee8..2f67b3d 100644 --- a/src/pages/components/examples/radio-button/size.astro +++ b/src/pages/components/examples/radio-button/size.astro @@ -1,8 +1,8 @@ --- -import ExampleLayout from '@layouts/exampleLayout.astro'; +import ExampleLayout from '@layouts/ExampleLayout.astro'; import Size from '@components/react/examples/radio-button/Size'; --- - \ No newline at end of file + diff --git a/src/pages/components/examples/radio-card/block.astro b/src/pages/components/examples/radio-card/block.astro index b819441..baf458b 100644 --- a/src/pages/components/examples/radio-card/block.astro +++ b/src/pages/components/examples/radio-card/block.astro @@ -1,8 +1,8 @@ --- -import ExampleLayout from '@layouts/exampleLayout.astro'; +import ExampleLayout from '@layouts/ExampleLayout.astro'; import Block from '@components/react/examples/radio-card/Block'; --- - \ No newline at end of file + diff --git a/src/pages/components/examples/select/disabled.astro b/src/pages/components/examples/select/disabled.astro index b7cd3d2..d505ea2 100644 --- a/src/pages/components/examples/select/disabled.astro +++ b/src/pages/components/examples/select/disabled.astro @@ -1,8 +1,8 @@ --- -import ExampleLayout from '@layouts/exampleLayout.astro'; +import ExampleLayout from '@layouts/ExampleLayout.astro'; import Disabled from '@components/react/examples/select/Disabled'; --- - \ No newline at end of file + diff --git a/src/pages/components/examples/select/is-invalid.astro b/src/pages/components/examples/select/is-invalid.astro index 5bfde02..3f58eb3 100644 --- a/src/pages/components/examples/select/is-invalid.astro +++ b/src/pages/components/examples/select/is-invalid.astro @@ -1,8 +1,8 @@ --- -import ExampleLayout from '@layouts/exampleLayout.astro'; +import ExampleLayout from '@layouts/ExampleLayout.astro'; import IsInvalid from '@components/react/examples/select/IsInvalid'; --- - \ No newline at end of file + diff --git a/src/pages/components/examples/stack/block-level-elements-to-full-width.astro b/src/pages/components/examples/stack/block-level-elements-to-full-width.astro index d2cb477..17df6dd 100644 --- a/src/pages/components/examples/stack/block-level-elements-to-full-width.astro +++ b/src/pages/components/examples/stack/block-level-elements-to-full-width.astro @@ -1,8 +1,8 @@ --- -import ExampleLayout from '@layouts/exampleLayout.astro'; +import ExampleLayout from '@layouts/ExampleLayout.astro'; import BlockLevelElementsToFullWidth from '@components/react/examples/stack/BlockLevelElementsToFullWidth'; --- - \ No newline at end of file + diff --git a/src/pages/components/examples/stack/centralized.astro b/src/pages/components/examples/stack/centralized.astro index 41267cf..50e3546 100644 --- a/src/pages/components/examples/stack/centralized.astro +++ b/src/pages/components/examples/stack/centralized.astro @@ -1,8 +1,8 @@ --- -import ExampleLayout from '@layouts/exampleLayout.astro'; +import ExampleLayout from '@layouts/ExampleLayout.astro'; import Centralized from '@components/react/examples/stack/Centralized'; --- - \ No newline at end of file + diff --git a/src/pages/components/examples/stack/markup-as-list.astro b/src/pages/components/examples/stack/markup-as-list.astro index a95bf0f..4f86cf7 100644 --- a/src/pages/components/examples/stack/markup-as-list.astro +++ b/src/pages/components/examples/stack/markup-as-list.astro @@ -1,8 +1,8 @@ --- -import ExampleLayout from '@layouts/exampleLayout.astro'; +import ExampleLayout from '@layouts/ExampleLayout.astro'; import MarkupAsList from '@components/react/examples/stack/MarkupAsList'; --- - \ No newline at end of file + diff --git a/src/pages/components/examples/stack/nested.astro b/src/pages/components/examples/stack/nested.astro index c1c3edd..64c7f04 100644 --- a/src/pages/components/examples/stack/nested.astro +++ b/src/pages/components/examples/stack/nested.astro @@ -1,8 +1,8 @@ --- -import ExampleLayout from '@layouts/exampleLayout.astro'; +import ExampleLayout from '@layouts/ExampleLayout.astro'; import Nested from '@components/react/examples/stack/Nested'; --- - \ No newline at end of file + diff --git a/src/pages/components/examples/stack/put-on-the-end.astro b/src/pages/components/examples/stack/put-on-the-end.astro index d7c3d21..b6e93ab 100644 --- a/src/pages/components/examples/stack/put-on-the-end.astro +++ b/src/pages/components/examples/stack/put-on-the-end.astro @@ -1,8 +1,8 @@ --- -import ExampleLayout from '@layouts/exampleLayout.astro'; +import ExampleLayout from '@layouts/ExampleLayout.astro'; import PutOnTheEnd from '@components/react/examples/stack/PutOnTheEnd'; --- - \ No newline at end of file + diff --git a/src/pages/components/examples/text-area/default.astro b/src/pages/components/examples/text-area/default.astro index a3811ab..13aca1c 100644 --- a/src/pages/components/examples/text-area/default.astro +++ b/src/pages/components/examples/text-area/default.astro @@ -1,5 +1,5 @@ --- -import ExampleLayout from '@layouts/exampleLayout.astro'; +import ExampleLayout from '@layouts/ExampleLayout.astro'; import Default from '@components/react/examples/text-area/Default'; --- diff --git a/src/pages/components/examples/text-area/disabled.astro b/src/pages/components/examples/text-area/disabled.astro index 14000e1..32c61e8 100644 --- a/src/pages/components/examples/text-area/disabled.astro +++ b/src/pages/components/examples/text-area/disabled.astro @@ -1,5 +1,5 @@ --- -import ExampleLayout from '@layouts/exampleLayout.astro'; +import ExampleLayout from '@layouts/ExampleLayout.astro'; import Disabled from '@components/react/examples/text-area/Disabled'; --- diff --git a/src/pages/components/examples/text-area/is-invalid.astro b/src/pages/components/examples/text-area/is-invalid.astro index 2f75366..45dd48e 100644 --- a/src/pages/components/examples/text-area/is-invalid.astro +++ b/src/pages/components/examples/text-area/is-invalid.astro @@ -1,5 +1,5 @@ --- -import ExampleLayout from '@layouts/exampleLayout.astro'; +import ExampleLayout from '@layouts/ExampleLayout.astro'; import IsInvalid from '@components/react/examples/text-area/IsInvalid'; --- diff --git a/src/pages/components/examples/text/body.astro b/src/pages/components/examples/text/body.astro index fed50e2..ab12033 100644 --- a/src/pages/components/examples/text/body.astro +++ b/src/pages/components/examples/text/body.astro @@ -1,8 +1,8 @@ --- -import ExampleLayout from '@layouts/exampleLayout.astro'; +import ExampleLayout from '@layouts/ExampleLayout.astro'; import Body from '@components/react/examples/text/Body'; --- - \ No newline at end of file + diff --git a/src/pages/components/examples/text/button.astro b/src/pages/components/examples/text/button.astro index 384c773..bd9bda4 100644 --- a/src/pages/components/examples/text/button.astro +++ b/src/pages/components/examples/text/button.astro @@ -1,8 +1,8 @@ --- -import ExampleLayout from '@layouts/exampleLayout.astro'; +import ExampleLayout from '@layouts/ExampleLayout.astro'; import Button from '@components/react/examples/text/Button'; --- ); diff --git a/src/components/react/CopyButton.tsx b/src/components/react/CopyButton.tsx index 5137b18..ba688ae 100644 --- a/src/components/react/CopyButton.tsx +++ b/src/components/react/CopyButton.tsx @@ -1,6 +1,6 @@ -import { copyToClipboard } from '@utils/client'; import { clsx } from 'clsx'; import { useState } from 'react'; +import { copyToClipboard } from '@utils/client'; import styles from './CopyButton.module.css'; import type { FC } from 'react'; diff --git a/src/components/react/GlobalNavigation.tsx b/src/components/react/GlobalNavigation.tsx index 4dbe856..d8a1385 100644 --- a/src/components/react/GlobalNavigation.tsx +++ b/src/components/react/GlobalNavigation.tsx @@ -1,7 +1,7 @@ import { useStore } from '@nanostores/react'; -import { $isMobileGlobalNavigationOpen } from '@store/navigation'; import clsx from 'clsx'; import FocusTrap from 'focus-trap-react'; +import { $isMobileGlobalNavigationOpen } from '@store/navigation'; import styles from './GlobalNavigation.module.css'; import type { PostData } from '@types'; import type { FC } from 'react'; diff --git a/src/components/react/TableOfContents/TableOfContents.tsx b/src/components/react/TableOfContents/TableOfContents.tsx index ee1b48e..01186d6 100644 --- a/src/components/react/TableOfContents/TableOfContents.tsx +++ b/src/components/react/TableOfContents/TableOfContents.tsx @@ -1,5 +1,5 @@ -import { extractHeadingsFromMain, pickHeadingIds } from '@utils/client'; import { useEffect, useState } from 'react'; +import { extractHeadingsFromMain, pickHeadingIds } from '@utils/client'; import LinkToHeading from './LinkToHeading'; import styles from './TableOfContents.module.css'; import type { Heading } from '@utils/client'; diff --git a/src/components/react/WithGlobalNavigation.tsx b/src/components/react/WithGlobalNavigation.tsx index b0ce596..0fa1b76 100644 --- a/src/components/react/WithGlobalNavigation.tsx +++ b/src/components/react/WithGlobalNavigation.tsx @@ -1,6 +1,6 @@ import { useStore } from '@nanostores/react'; -import { $isMobileGlobalNavigationOpen } from '@store/navigation'; import clsx from 'clsx'; +import { $isMobileGlobalNavigationOpen } from '@store/navigation'; import GlobalNavigation from './GlobalNavigation'; import styles from './WithGlobalNavigation.module.css'; import type { PostData } from '@types'; diff --git a/src/components/react/figures/color/ColorChip.tsx b/src/components/react/figures/color/ColorChip.tsx index 76dd5b3..9edab08 100644 --- a/src/components/react/figures/color/ColorChip.tsx +++ b/src/components/react/figures/color/ColorChip.tsx @@ -1,5 +1,5 @@ -import ButtonCopy from '@components/react/CopyButton'; import DesignToken from '@ubie/design-tokens'; +import ButtonCopy from '@components/react/CopyButton'; import { validateContrast, convertHexWithPercentage, convertDisplayName, deleteAlpha } from '@utils/client'; import styles from './ColorChip.module.css'; import ColorChipValidationIndicator from './ColorChipValidationIndicator'; diff --git a/src/components/react/figures/radius/TokenList.tsx b/src/components/react/figures/radius/TokenList.tsx index 9d7bcd8..eede143 100644 --- a/src/components/react/figures/radius/TokenList.tsx +++ b/src/components/react/figures/radius/TokenList.tsx @@ -1,6 +1,6 @@ +import DesignToken from '@ubie/design-tokens'; import CopyButton from '@components/react/CopyButton'; import Table, { Row, TBody, THead, Cell, HeadCell, HeadRow } from '@components/react/Table'; -import DesignToken from '@ubie/design-tokens'; import { pascalCaseToCSSVariables } from '@utils/client/css'; import { getKeys } from '@utils/client/object'; import type { FC } from 'react'; diff --git a/src/components/react/figures/spacing/TokenList.tsx b/src/components/react/figures/spacing/TokenList.tsx index e4140b8..6ee7125 100644 --- a/src/components/react/figures/spacing/TokenList.tsx +++ b/src/components/react/figures/spacing/TokenList.tsx @@ -1,6 +1,6 @@ +import DesignToken from '@ubie/design-tokens'; import CopyButton from '@components/react/CopyButton'; import Table, { Row, TBody, THead, Cell, HeadCell, HeadRow } from '@components/react/Table'; -import DesignToken from '@ubie/design-tokens'; import { pascalCaseToCSSVariables } from '@utils/client/css'; import { getKeys } from '@utils/client/object'; import type { FC } from 'react'; diff --git a/src/components/react/figures/typography/ExampleText.tsx b/src/components/react/figures/typography/ExampleText.tsx index 3974dc2..319fe8c 100644 --- a/src/components/react/figures/typography/ExampleText.tsx +++ b/src/components/react/figures/typography/ExampleText.tsx @@ -1,5 +1,5 @@ -import CopyButton from '@components/react/CopyButton'; import DesignTokens from '@ubie/design-tokens'; +import CopyButton from '@components/react/CopyButton'; import { convertToTypographyCSS, convertToTypographyReact } from './scripts'; import type { FC } from 'react';