From d53b991fd765c53f1712564772c7be0032341524 Mon Sep 17 00:00:00 2001 From: Hossein Mehrabi Date: Fri, 24 Nov 2023 15:00:56 +0330 Subject: [PATCH] refactor: use logos-brand-guidelines-theme, remove scripts and move sidebar config to the docs dir --- docs/gallery.mdx | 2 + docs/index.md | 1 + docs/lsd/_category_.json | 8 + docs/lsd/components/Autocomplete.mdx | 2 +- docs/lsd/components/Badge.mdx | 2 +- docs/lsd/components/Breadcrumb.mdx | 2 +- docs/lsd/components/Button.mdx | 2 +- docs/lsd/components/ButtonGroup.mdx | 2 +- docs/lsd/components/Card.mdx | 2 +- docs/lsd/components/Checkbox.mdx | 2 +- docs/lsd/components/CheckboxGroup.mdx | 2 +- docs/lsd/components/Collapse.mdx | 2 +- docs/lsd/components/DateField.mdx | 2 +- docs/lsd/components/DatePicker.mdx | 2 +- docs/lsd/components/DateRangePicker.mdx | 2 +- docs/lsd/components/Dropdown.mdx | 2 +- docs/lsd/components/IconButton.mdx | 2 +- docs/lsd/components/IconButtonGroup.mdx | 2 +- docs/lsd/components/Modal.mdx | 2 +- docs/lsd/components/NumberInput.mdx | 2 +- docs/lsd/components/Quote.mdx | 2 +- docs/lsd/components/RadioButton.mdx | 2 +- docs/lsd/components/RadioButtonGroup.mdx | 2 +- docs/lsd/components/Table.mdx | 2 +- docs/lsd/components/Tabs.mdx | 2 +- docs/lsd/components/Tag.mdx | 2 +- docs/lsd/components/TextField.mdx | 2 +- docs/lsd/components/ThemeProvider.mdx | 2 +- docs/lsd/components/Toast.mdx | 2 +- docs/lsd/components/ToastProvider.mdx | 2 +- docs/lsd/components/Typography.mdx | 2 +- docs/lsd/components/index.mdx | 44 ++--- docs/lsd/design-tokens/Colors.mdx | 2 +- docs/lsd/design-tokens/Spacing.mdx | 2 +- docs/lsd/design-tokens/Typography.mdx | 2 +- docs/lsd/design-tokens/_category_.json | 7 + docs/lsd/{index.mdx => overview.mdx} | 3 +- docs/philosophy/index.md | 4 +- docs/templates/_category_.json | 7 + docs/templates/social-media-assets.mdx | 10 +- docs/visual-language/_category_.json | 7 + docs/visual-language/color.mdx | 2 +- .../grid-and-layout/_category_.json | 4 + .../grid-and-layout/non-web-environment.mdx | 1 + .../{index.mdx => overview.mdx} | 3 +- .../grid-and-layout/web-environment.mdx | 1 + docs/visual-language/illustration.mdx | 3 +- docs/visual-language/logo.mdx | 3 +- .../visual-language/{index.md => overview.md} | 5 +- docs/visual-language/photography.mdx | 8 +- .../typography/_category_.json | 4 + .../typography/non-web-environment.md | 1 + .../typography/{index.mdx => overview.mdx} | 3 +- .../typography/web-environment.mdx | 3 +- docs/voice/index.md | 1 + docusaurus.config.js | 43 ++++ package.json | 7 +- scripts/config.ts | 3 - scripts/download-storybook-data.ts | 161 --------------- scripts/index.ts | 33 ---- sidebars.js | 165 +--------------- .../mdx/ColorCard/ColorCard.module.scss | 28 --- src/components/mdx/ColorCard/ColorCard.tsx | 55 ------ src/components/mdx/ColorCard/index.ts | 1 - .../ComponentCard/ComponentCard.module.scss | 42 ---- .../mdx/ComponentCard/ComponentCard.tsx | 41 ---- src/components/mdx/ComponentCard/index.ts | 1 - .../ComponentGrid/ComponentGrid.module.scss | 24 --- .../mdx/ComponentGrid/ComponentGrid.tsx | 38 ---- src/components/mdx/ComponentGrid/index.ts | 1 - src/components/mdx/Image/Image.module.scss | 46 ----- src/components/mdx/Image/Image.tsx | 110 ----------- src/components/mdx/Image/index.ts | 1 - .../mdx/ImageGrid/ImageGrid.module.scss | 61 ------ src/components/mdx/ImageGrid/ImageGrid.tsx | 104 ---------- src/components/mdx/ImageGrid/index.ts | 1 - .../StorybookDemo/StoryBookDemo.module.scss | 13 -- .../mdx/StorybookDemo/StorybookDemo.tsx | 184 ------------------ src/components/mdx/StorybookDemo/index.ts | 1 - src/components/mdx/index.tsx | 7 +- src/css/custom.scss | 34 ---- .../{img/components => lsd}/Autocomplete.png | Bin static/{img/components => lsd}/Breadcrumb.png | Bin static/{img/components => lsd}/Button.png | Bin .../{img/components => lsd}/ButtonGroup.png | Bin static/{img/components => lsd}/Card.png | Bin static/{img/components => lsd}/Checkbox.png | Bin .../{img/components => lsd}/CheckboxGroup.png | Bin static/{img/components => lsd}/Collapse.png | Bin static/{img/components => lsd}/DateField.png | Bin static/{img/components => lsd}/DatePicker.png | Bin .../components => lsd}/DateRangePicker.png | Bin static/{img/components => lsd}/Dropdown.png | Bin static/{img/components => lsd}/IconButton.png | Bin static/{img/components => lsd}/Modal.png | Bin .../{img/components => lsd}/NumberInput.png | Bin static/{img/components => lsd}/Quote.png | Bin .../{img/components => lsd}/RadioButton.png | Bin .../components => lsd}/RadioButtonGroup.png | Bin static/{img/components => lsd}/Tabs.png | Bin static/{img/components => lsd}/Tag.png | Bin static/{img/components => lsd}/TextField.png | Bin static/{img/components => lsd}/Toast.png | Bin yarn.lock | 5 + 104 files changed, 175 insertions(+), 1232 deletions(-) create mode 100644 docs/lsd/_category_.json create mode 100644 docs/lsd/design-tokens/_category_.json rename docs/lsd/{index.mdx => overview.mdx} (96%) create mode 100644 docs/templates/_category_.json create mode 100644 docs/visual-language/_category_.json create mode 100644 docs/visual-language/grid-and-layout/_category_.json rename docs/visual-language/grid-and-layout/{index.mdx => overview.mdx} (82%) rename docs/visual-language/{index.md => overview.md} (86%) create mode 100644 docs/visual-language/typography/_category_.json rename docs/visual-language/typography/{index.mdx => overview.mdx} (96%) delete mode 100644 scripts/config.ts delete mode 100644 scripts/download-storybook-data.ts delete mode 100644 scripts/index.ts delete mode 100644 src/components/mdx/ColorCard/ColorCard.module.scss delete mode 100644 src/components/mdx/ColorCard/ColorCard.tsx delete mode 100644 src/components/mdx/ColorCard/index.ts delete mode 100644 src/components/mdx/ComponentCard/ComponentCard.module.scss delete mode 100644 src/components/mdx/ComponentCard/ComponentCard.tsx delete mode 100644 src/components/mdx/ComponentCard/index.ts delete mode 100644 src/components/mdx/ComponentGrid/ComponentGrid.module.scss delete mode 100644 src/components/mdx/ComponentGrid/ComponentGrid.tsx delete mode 100644 src/components/mdx/ComponentGrid/index.ts delete mode 100644 src/components/mdx/Image/Image.module.scss delete mode 100644 src/components/mdx/Image/Image.tsx delete mode 100644 src/components/mdx/Image/index.ts delete mode 100644 src/components/mdx/ImageGrid/ImageGrid.module.scss delete mode 100644 src/components/mdx/ImageGrid/ImageGrid.tsx delete mode 100644 src/components/mdx/ImageGrid/index.ts delete mode 100644 src/components/mdx/StorybookDemo/StoryBookDemo.module.scss delete mode 100644 src/components/mdx/StorybookDemo/StorybookDemo.tsx delete mode 100644 src/components/mdx/StorybookDemo/index.ts rename static/{img/components => lsd}/Autocomplete.png (100%) rename static/{img/components => lsd}/Breadcrumb.png (100%) rename static/{img/components => lsd}/Button.png (100%) rename static/{img/components => lsd}/ButtonGroup.png (100%) rename static/{img/components => lsd}/Card.png (100%) rename static/{img/components => lsd}/Checkbox.png (100%) rename static/{img/components => lsd}/CheckboxGroup.png (100%) rename static/{img/components => lsd}/Collapse.png (100%) rename static/{img/components => lsd}/DateField.png (100%) rename static/{img/components => lsd}/DatePicker.png (100%) rename static/{img/components => lsd}/DateRangePicker.png (100%) rename static/{img/components => lsd}/Dropdown.png (100%) rename static/{img/components => lsd}/IconButton.png (100%) rename static/{img/components => lsd}/Modal.png (100%) rename static/{img/components => lsd}/NumberInput.png (100%) rename static/{img/components => lsd}/Quote.png (100%) rename static/{img/components => lsd}/RadioButton.png (100%) rename static/{img/components => lsd}/RadioButtonGroup.png (100%) rename static/{img/components => lsd}/Tabs.png (100%) rename static/{img/components => lsd}/Tag.png (100%) rename static/{img/components => lsd}/TextField.png (100%) rename static/{img/components => lsd}/Toast.png (100%) diff --git a/docs/gallery.mdx b/docs/gallery.mdx index b69d5a3..1a67885 100644 --- a/docs/gallery.mdx +++ b/docs/gallery.mdx @@ -1,6 +1,8 @@ --- title: Gallery displayed_sidebar: main +sidebar_position: 2 +sidebar_class_name: sidebar-menu-divider --- import { ImageGrid, Grid } from "@site/src/components/mdx" diff --git a/docs/index.md b/docs/index.md index 4f0e235..b550389 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,6 +1,7 @@ --- title: Brand Guidelines displayed_sidebar: main +sidebar_position: 0 --- # Brand guidelines diff --git a/docs/lsd/_category_.json b/docs/lsd/_category_.json new file mode 100644 index 0000000..3f06efb --- /dev/null +++ b/docs/lsd/_category_.json @@ -0,0 +1,8 @@ +{ + "position": 5, + "label": "LSD - UI Library", + "link": { + "type": "generated-index", + "title": "Title" + } +} diff --git a/docs/lsd/components/Autocomplete.mdx b/docs/lsd/components/Autocomplete.mdx index d46c220..9212c40 100644 --- a/docs/lsd/components/Autocomplete.mdx +++ b/docs/lsd/components/Autocomplete.mdx @@ -2,7 +2,7 @@ title: Autocomplete --- -import { StorybookDemo } from '@site/src/components/mdx/StorybookDemo'; +import { StorybookDemo } from '@site/src/components/mdx'; # Autocomplete diff --git a/docs/lsd/components/Badge.mdx b/docs/lsd/components/Badge.mdx index e45f3ee..780ea3e 100644 --- a/docs/lsd/components/Badge.mdx +++ b/docs/lsd/components/Badge.mdx @@ -2,7 +2,7 @@ title: Badge --- -import { StorybookDemo } from '@site/src/components/mdx/StorybookDemo'; +import { StorybookDemo } from '@site/src/components/mdx'; # Badge diff --git a/docs/lsd/components/Breadcrumb.mdx b/docs/lsd/components/Breadcrumb.mdx index 339c4e8..7afbcd7 100644 --- a/docs/lsd/components/Breadcrumb.mdx +++ b/docs/lsd/components/Breadcrumb.mdx @@ -2,7 +2,7 @@ title: Breadcrumb --- -import { StorybookDemo } from '@site/src/components/mdx/StorybookDemo'; +import { StorybookDemo } from '@site/src/components/mdx'; # Breadcrumb diff --git a/docs/lsd/components/Button.mdx b/docs/lsd/components/Button.mdx index 68a2cf0..2743fe8 100644 --- a/docs/lsd/components/Button.mdx +++ b/docs/lsd/components/Button.mdx @@ -2,7 +2,7 @@ title: Button --- -import { StorybookDemo } from '@site/src/components/mdx/StorybookDemo'; +import { StorybookDemo } from '@site/src/components/mdx'; # Button diff --git a/docs/lsd/components/ButtonGroup.mdx b/docs/lsd/components/ButtonGroup.mdx index 094fd43..aa8d4cd 100644 --- a/docs/lsd/components/ButtonGroup.mdx +++ b/docs/lsd/components/ButtonGroup.mdx @@ -2,7 +2,7 @@ title: ButtonGroup --- -import { StorybookDemo } from '@site/src/components/mdx/StorybookDemo'; +import { StorybookDemo } from '@site/src/components/mdx'; # ButtonGroup diff --git a/docs/lsd/components/Card.mdx b/docs/lsd/components/Card.mdx index e72ead5..9a704c8 100644 --- a/docs/lsd/components/Card.mdx +++ b/docs/lsd/components/Card.mdx @@ -2,7 +2,7 @@ title: Card --- -import { StorybookDemo } from '@site/src/components/mdx/StorybookDemo'; +import { StorybookDemo } from '@site/src/components/mdx'; # Card diff --git a/docs/lsd/components/Checkbox.mdx b/docs/lsd/components/Checkbox.mdx index 2ae0523..e51b337 100644 --- a/docs/lsd/components/Checkbox.mdx +++ b/docs/lsd/components/Checkbox.mdx @@ -2,7 +2,7 @@ title: Checkbox --- -import { StorybookDemo } from '@site/src/components/mdx/StorybookDemo'; +import { StorybookDemo } from '@site/src/components/mdx'; # Checkbox diff --git a/docs/lsd/components/CheckboxGroup.mdx b/docs/lsd/components/CheckboxGroup.mdx index 3255126..42d3e8a 100644 --- a/docs/lsd/components/CheckboxGroup.mdx +++ b/docs/lsd/components/CheckboxGroup.mdx @@ -2,7 +2,7 @@ title: CheckboxGroup --- -import { StorybookDemo } from '@site/src/components/mdx/StorybookDemo'; +import { StorybookDemo } from '@site/src/components/mdx'; # CheckboxGroup diff --git a/docs/lsd/components/Collapse.mdx b/docs/lsd/components/Collapse.mdx index 59124f0..ad42b61 100644 --- a/docs/lsd/components/Collapse.mdx +++ b/docs/lsd/components/Collapse.mdx @@ -2,7 +2,7 @@ title: Collapse --- -import { StorybookDemo } from '@site/src/components/mdx/StorybookDemo'; +import { StorybookDemo } from '@site/src/components/mdx'; # Collapse diff --git a/docs/lsd/components/DateField.mdx b/docs/lsd/components/DateField.mdx index 23eb839..4fd8d8b 100644 --- a/docs/lsd/components/DateField.mdx +++ b/docs/lsd/components/DateField.mdx @@ -2,7 +2,7 @@ title: DateField --- -import { StorybookDemo } from '@site/src/components/mdx/StorybookDemo'; +import { StorybookDemo } from '@site/src/components/mdx'; # DateField diff --git a/docs/lsd/components/DatePicker.mdx b/docs/lsd/components/DatePicker.mdx index 0a7c01d..270d99e 100644 --- a/docs/lsd/components/DatePicker.mdx +++ b/docs/lsd/components/DatePicker.mdx @@ -2,7 +2,7 @@ title: DatePicker --- -import { StorybookDemo } from '@site/src/components/mdx/StorybookDemo'; +import { StorybookDemo } from '@site/src/components/mdx'; # DatePicker diff --git a/docs/lsd/components/DateRangePicker.mdx b/docs/lsd/components/DateRangePicker.mdx index eed148b..2ddd4bd 100644 --- a/docs/lsd/components/DateRangePicker.mdx +++ b/docs/lsd/components/DateRangePicker.mdx @@ -2,7 +2,7 @@ title: DateRangePicker --- -import { StorybookDemo } from '@site/src/components/mdx/StorybookDemo'; +import { StorybookDemo } from '@site/src/components/mdx'; # DateRangePicker diff --git a/docs/lsd/components/Dropdown.mdx b/docs/lsd/components/Dropdown.mdx index 03be9bc..a14076d 100644 --- a/docs/lsd/components/Dropdown.mdx +++ b/docs/lsd/components/Dropdown.mdx @@ -2,7 +2,7 @@ title: Dropdown --- -import { StorybookDemo } from '@site/src/components/mdx/StorybookDemo'; +import { StorybookDemo } from '@site/src/components/mdx'; # Dropdown diff --git a/docs/lsd/components/IconButton.mdx b/docs/lsd/components/IconButton.mdx index f6c440a..249abd2 100644 --- a/docs/lsd/components/IconButton.mdx +++ b/docs/lsd/components/IconButton.mdx @@ -2,7 +2,7 @@ title: IconButton --- -import { StorybookDemo } from '@site/src/components/mdx/StorybookDemo'; +import { StorybookDemo } from '@site/src/components/mdx'; # IconButton diff --git a/docs/lsd/components/IconButtonGroup.mdx b/docs/lsd/components/IconButtonGroup.mdx index 944a8d1..eed3bd1 100644 --- a/docs/lsd/components/IconButtonGroup.mdx +++ b/docs/lsd/components/IconButtonGroup.mdx @@ -2,7 +2,7 @@ title: IconButtonGroup --- -import { StorybookDemo } from '@site/src/components/mdx/StorybookDemo'; +import { StorybookDemo } from '@site/src/components/mdx'; # IconButtonGroup diff --git a/docs/lsd/components/Modal.mdx b/docs/lsd/components/Modal.mdx index 4a258d4..97aa2b4 100644 --- a/docs/lsd/components/Modal.mdx +++ b/docs/lsd/components/Modal.mdx @@ -2,7 +2,7 @@ title: Modal --- -import { StorybookDemo } from '@site/src/components/mdx/StorybookDemo'; +import { StorybookDemo } from '@site/src/components/mdx'; # Modal diff --git a/docs/lsd/components/NumberInput.mdx b/docs/lsd/components/NumberInput.mdx index a41d9b5..b541139 100644 --- a/docs/lsd/components/NumberInput.mdx +++ b/docs/lsd/components/NumberInput.mdx @@ -2,7 +2,7 @@ title: NumberInput --- -import { StorybookDemo } from '@site/src/components/mdx/StorybookDemo'; +import { StorybookDemo } from '@site/src/components/mdx'; # NumberInput diff --git a/docs/lsd/components/Quote.mdx b/docs/lsd/components/Quote.mdx index 0313619..5d7b255 100644 --- a/docs/lsd/components/Quote.mdx +++ b/docs/lsd/components/Quote.mdx @@ -2,7 +2,7 @@ title: Quote --- -import { StorybookDemo } from '@site/src/components/mdx/StorybookDemo'; +import { StorybookDemo } from '@site/src/components/mdx'; # Quote diff --git a/docs/lsd/components/RadioButton.mdx b/docs/lsd/components/RadioButton.mdx index 75bf13d..6dc6c52 100644 --- a/docs/lsd/components/RadioButton.mdx +++ b/docs/lsd/components/RadioButton.mdx @@ -2,7 +2,7 @@ title: RadioButton --- -import { StorybookDemo } from '@site/src/components/mdx/StorybookDemo'; +import { StorybookDemo } from '@site/src/components/mdx'; # RadioButton diff --git a/docs/lsd/components/RadioButtonGroup.mdx b/docs/lsd/components/RadioButtonGroup.mdx index a918d47..5a7fffa 100644 --- a/docs/lsd/components/RadioButtonGroup.mdx +++ b/docs/lsd/components/RadioButtonGroup.mdx @@ -2,7 +2,7 @@ title: RadioButtonGroup --- -import { StorybookDemo } from '@site/src/components/mdx/StorybookDemo'; +import { StorybookDemo } from '@site/src/components/mdx'; # RadioButtonGroup diff --git a/docs/lsd/components/Table.mdx b/docs/lsd/components/Table.mdx index c35c039..b456857 100644 --- a/docs/lsd/components/Table.mdx +++ b/docs/lsd/components/Table.mdx @@ -2,7 +2,7 @@ title: Table --- -import { StorybookDemo } from '@site/src/components/mdx/StorybookDemo'; +import { StorybookDemo } from '@site/src/components/mdx'; # Table diff --git a/docs/lsd/components/Tabs.mdx b/docs/lsd/components/Tabs.mdx index 5f14361..75464aa 100644 --- a/docs/lsd/components/Tabs.mdx +++ b/docs/lsd/components/Tabs.mdx @@ -2,7 +2,7 @@ title: Tabs --- -import { StorybookDemo } from '@site/src/components/mdx/StorybookDemo'; +import { StorybookDemo } from '@site/src/components/mdx'; # Tabs diff --git a/docs/lsd/components/Tag.mdx b/docs/lsd/components/Tag.mdx index 2750bb0..8316821 100644 --- a/docs/lsd/components/Tag.mdx +++ b/docs/lsd/components/Tag.mdx @@ -2,7 +2,7 @@ title: Tag --- -import { StorybookDemo } from '@site/src/components/mdx/StorybookDemo'; +import { StorybookDemo } from '@site/src/components/mdx'; # Tag diff --git a/docs/lsd/components/TextField.mdx b/docs/lsd/components/TextField.mdx index ba4e798..050e700 100644 --- a/docs/lsd/components/TextField.mdx +++ b/docs/lsd/components/TextField.mdx @@ -2,7 +2,7 @@ title: TextField --- -import { StorybookDemo } from '@site/src/components/mdx/StorybookDemo'; +import { StorybookDemo } from '@site/src/components/mdx'; # TextField diff --git a/docs/lsd/components/ThemeProvider.mdx b/docs/lsd/components/ThemeProvider.mdx index 20dca33..21d6af1 100644 --- a/docs/lsd/components/ThemeProvider.mdx +++ b/docs/lsd/components/ThemeProvider.mdx @@ -2,7 +2,7 @@ title: ThemeProvider --- -import { StorybookDemo } from '@site/src/components/mdx/StorybookDemo'; +import { StorybookDemo } from '@site/src/components/mdx'; # ThemeProvider diff --git a/docs/lsd/components/Toast.mdx b/docs/lsd/components/Toast.mdx index 77cd9fc..62d4595 100644 --- a/docs/lsd/components/Toast.mdx +++ b/docs/lsd/components/Toast.mdx @@ -2,7 +2,7 @@ title: Toast --- -import { StorybookDemo } from '@site/src/components/mdx/StorybookDemo'; +import { StorybookDemo } from '@site/src/components/mdx'; # Toast diff --git a/docs/lsd/components/ToastProvider.mdx b/docs/lsd/components/ToastProvider.mdx index bc7483c..cf76394 100644 --- a/docs/lsd/components/ToastProvider.mdx +++ b/docs/lsd/components/ToastProvider.mdx @@ -2,7 +2,7 @@ title: ToastProvider --- -import { StorybookDemo } from '@site/src/components/mdx/StorybookDemo'; +import { StorybookDemo } from '@site/src/components/mdx'; # ToastProvider diff --git a/docs/lsd/components/Typography.mdx b/docs/lsd/components/Typography.mdx index 55d9f07..fbee74d 100644 --- a/docs/lsd/components/Typography.mdx +++ b/docs/lsd/components/Typography.mdx @@ -2,7 +2,7 @@ title: Typography --- -import { StorybookDemo } from '@site/src/components/mdx/StorybookDemo'; +import { StorybookDemo } from '@site/src/components/mdx'; # Typography diff --git a/docs/lsd/components/index.mdx b/docs/lsd/components/index.mdx index caebb77..19ed3ce 100644 --- a/docs/lsd/components/index.mdx +++ b/docs/lsd/components/index.mdx @@ -10,111 +10,111 @@ import { ComponentGrid } from '@site/src/components/mdx'; { "title": "Autocomplete", "href": "./Autocomplete", - "imageSrc": "/img/components/Autocomplete.png" + "imageSrc": "/lsd/Autocomplete.png" }, { "title": "Breadcrumb", "href": "./Breadcrumb", - "imageSrc": "/img/components/Breadcrumb.png" + "imageSrc": "/lsd/Breadcrumb.png" }, { "title": "Button", "href": "./Button", - "imageSrc": "/img/components/Button.png" + "imageSrc": "/lsd/Button.png" }, { "title": "ButtonGroup", "href": "./ButtonGroup", - "imageSrc": "/img/components/ButtonGroup.png" + "imageSrc": "/lsd/ButtonGroup.png" }, { "title": "Card", "href": "./Card", - "imageSrc": "/img/components/Card.png" + "imageSrc": "/lsd/Card.png" }, { "title": "Checkbox", "href": "./Checkbox", - "imageSrc": "/img/components/Checkbox.png" + "imageSrc": "/lsd/Checkbox.png" }, { "title": "CheckboxGroup", "href": "./CheckboxGroup", - "imageSrc": "/img/components/CheckboxGroup.png" + "imageSrc": "/lsd/CheckboxGroup.png" }, { "title": "Collapse", "href": "./Collapse", - "imageSrc": "/img/components/Collapse.png" + "imageSrc": "/lsd/Collapse.png" }, { "title": "DateField", "href": "./DateField", - "imageSrc": "/img/components/DateField.png" + "imageSrc": "/lsd/DateField.png" }, { "title": "DatePicker", "href": "./DatePicker", - "imageSrc": "/img/components/DatePicker.png" + "imageSrc": "/lsd/DatePicker.png" }, { "title": "DateRangePicker", "href": "./DateRangePicker", - "imageSrc": "/img/components/DateRangePicker.png" + "imageSrc": "/lsd/DateRangePicker.png" }, { "title": "Dropdown", "href": "./Dropdown", - "imageSrc": "/img/components/Dropdown.png" + "imageSrc": "/lsd/Dropdown.png" }, { "title": "IconButton", "href": "./IconButton", - "imageSrc": "/img/components/IconButton.png" + "imageSrc": "/lsd/IconButton.png" }, { "title": "Modal", "href": "./Modal", - "imageSrc": "/img/components/Modal.png" + "imageSrc": "/lsd/Modal.png" }, { "title": "NumberInput", "href": "./NumberInput", - "imageSrc": "/img/components/NumberInput.png" + "imageSrc": "/lsd/NumberInput.png" }, { "title": "Quote", "href": "./Quote", - "imageSrc": "/img/components/Quote.png" + "imageSrc": "/lsd/Quote.png" }, { "title": "RadioButton", "href": "./RadioButton", - "imageSrc": "/img/components/RadioButton.png" + "imageSrc": "/lsd/RadioButton.png" }, { "title": "RadioButtonGroup", "href": "./RadioButtonGroup", - "imageSrc": "/img/components/RadioButtonGroup.png" + "imageSrc": "/lsd/RadioButtonGroup.png" }, { "title": "Tabs", "href": "./Tabs", - "imageSrc": "/img/components/Tabs.png" + "imageSrc": "/lsd/Tabs.png" }, { "title": "Tag", "href": "./Tag", - "imageSrc": "/img/components/Tag.png" + "imageSrc": "/lsd/Tag.png" }, { "title": "TextField", "href": "./TextField", - "imageSrc": "/img/components/TextField.png" + "imageSrc": "/lsd/TextField.png" }, { "title": "Toast", "href": "./Toast", - "imageSrc": "/img/components/Toast.png" + "imageSrc": "/lsd/Toast.png" } ]} /> diff --git a/docs/lsd/design-tokens/Colors.mdx b/docs/lsd/design-tokens/Colors.mdx index 193e320..d73cd4e 100644 --- a/docs/lsd/design-tokens/Colors.mdx +++ b/docs/lsd/design-tokens/Colors.mdx @@ -2,7 +2,7 @@ title: Colors --- -import { StorybookDemo } from '@site/src/components/mdx/StorybookDemo'; +import { StorybookDemo } from '@site/src/components/mdx'; # Colors diff --git a/docs/lsd/design-tokens/Spacing.mdx b/docs/lsd/design-tokens/Spacing.mdx index cb38309..48aa95d 100644 --- a/docs/lsd/design-tokens/Spacing.mdx +++ b/docs/lsd/design-tokens/Spacing.mdx @@ -2,7 +2,7 @@ title: Spacing --- -import { StorybookDemo } from '@site/src/components/mdx/StorybookDemo'; +import { StorybookDemo } from '@site/src/components/mdx'; # Spacing diff --git a/docs/lsd/design-tokens/Typography.mdx b/docs/lsd/design-tokens/Typography.mdx index 16909e6..e3a8c0a 100644 --- a/docs/lsd/design-tokens/Typography.mdx +++ b/docs/lsd/design-tokens/Typography.mdx @@ -2,7 +2,7 @@ title: Typography --- -import { StorybookDemo } from '@site/src/components/mdx/StorybookDemo'; +import { StorybookDemo } from '@site/src/components/mdx'; # Typography diff --git a/docs/lsd/design-tokens/_category_.json b/docs/lsd/design-tokens/_category_.json new file mode 100644 index 0000000..9ccb60e --- /dev/null +++ b/docs/lsd/design-tokens/_category_.json @@ -0,0 +1,7 @@ +{ + "label": "Design Tokens", + "link": { + "type": "generated-index", + "title": "Design Tokens" + } +} \ No newline at end of file diff --git a/docs/lsd/index.mdx b/docs/lsd/overview.mdx similarity index 96% rename from docs/lsd/index.mdx rename to docs/lsd/overview.mdx index bfa7248..1b2f34e 100644 --- a/docs/lsd/index.mdx +++ b/docs/lsd/overview.mdx @@ -1,7 +1,6 @@ --- title: Overview -displayed_sidebar: main -pagination_label: LSD - UI Library +sidebar_position: 0 --- import { ExternalResourceCard, Grid } from '@site/src/components/mdx'; diff --git a/docs/philosophy/index.md b/docs/philosophy/index.md index defdfe8..2217fa5 100644 --- a/docs/philosophy/index.md +++ b/docs/philosophy/index.md @@ -1,4 +1,6 @@ - +--- +sidebar_position: 1 +--- # Philosophy diff --git a/docs/templates/_category_.json b/docs/templates/_category_.json new file mode 100644 index 0000000..7b48337 --- /dev/null +++ b/docs/templates/_category_.json @@ -0,0 +1,7 @@ +{ + "position": "5", + "label": "Templates", + "link": { + "type": "generated-index" + } +} diff --git a/docs/templates/social-media-assets.mdx b/docs/templates/social-media-assets.mdx index 576d84c..ce5ae99 100644 --- a/docs/templates/social-media-assets.mdx +++ b/docs/templates/social-media-assets.mdx @@ -1,11 +1,11 @@ # Social media assets -import { ExternalResourceCard, Grid } from '@site/src/components/mdx'; +import { ExternalResourceCard, Grid, Box } from '@site/src/components/mdx'; -
Network State Press templates
+ Network State Press templates
-
Tweet templates
+ Tweet templates
-
Logos podcast templates
+ Logos podcast templates
-
Hashing It Out templates
+ Hashing It Out templates