From 733794134190fcd336ba18738d90d8d0ff4f906a Mon Sep 17 00:00:00 2001 From: productdevbook Date: Sat, 9 Nov 2024 19:37:27 +0300 Subject: [PATCH] chore: update docs --- .../components/NewHeroCodeGroup.vue | 2 +- .../components/NewHeroContainer.vue | 18 ++++ .docs/.vitepress/config.ts | 2 +- .docs/codeeditor/index.ts | 14 ++++ .docs/components/Nuxt.vue | 41 +++++++++ .docs/components/Storybook.vue | 41 +++++++++ .docs/components/Tooltip.vue | 2 +- .../demo/Accordion/tailwind/index.vue | 2 +- .../demo/Checkbox/tailwind/index.vue | 2 +- .../demo/Collapsible/tailwind/index.vue | 2 +- .../demo/ContextMenu/tailwind/index.vue | 68 +++++++-------- .../components/demo/Dialog/tailwind/index.vue | 8 +- .../demo/DialogNested/tailwind/index.vue | 8 +- .../demo/DialogToaster/tailwind/index.vue | 4 +- .../demo/DropdownMenu/tailwind/index.vue | 70 ++++++++-------- .../demo/Menubar/tailwind/index.vue | 84 +++++++++---------- .../demo/Popover/tailwind/index.vue | 14 ++-- .../demo/RadioGroup/tailwind/index.vue | 6 +- .docs/components/demo/Tabs/tailwind/index.vue | 24 +++--- .../components/demo/Toast/tailwind/index.vue | 2 +- .../components/demo/Toggle/tailwind/index.vue | 2 +- .../demo/ToggleGroup/tailwind/index.vue | 2 +- .../demo/Toolbar/tailwind/index.vue | 16 ++-- .../demo/Tooltip/tailwind/index.vue | 2 +- .docs/content/guides/i18n.md | 4 +- .docs/content/index.md | 2 +- .docs/content/public/demo.json | 3 + .docs/scripts/autogen.ts | 4 +- .storybook/version.txt | 1 + packages/core/tsconfig.docs.json | 26 ++++++ 30 files changed, 309 insertions(+), 167 deletions(-) create mode 100644 .docs/components/Nuxt.vue create mode 100644 .docs/components/Storybook.vue create mode 100644 .docs/content/public/demo.json create mode 100644 .storybook/version.txt create mode 100644 packages/core/tsconfig.docs.json diff --git a/.docs/.vitepress/components/NewHeroCodeGroup.vue b/.docs/.vitepress/components/NewHeroCodeGroup.vue index cd3840e8..20fec27a 100644 --- a/.docs/.vitepress/components/NewHeroCodeGroup.vue +++ b/.docs/.vitepress/components/NewHeroCodeGroup.vue @@ -121,7 +121,7 @@ watch(open, () => { diff --git a/.docs/.vitepress/components/NewHeroContainer.vue b/.docs/.vitepress/components/NewHeroContainer.vue index b5c9df2f..fc7488f6 100644 --- a/.docs/.vitepress/components/NewHeroContainer.vue +++ b/.docs/.vitepress/components/NewHeroContainer.vue @@ -1,6 +1,8 @@ + + diff --git a/.docs/components/Storybook.vue b/.docs/components/Storybook.vue new file mode 100644 index 00000000..072b4f44 --- /dev/null +++ b/.docs/components/Storybook.vue @@ -0,0 +1,41 @@ + + + diff --git a/.docs/components/Tooltip.vue b/.docs/components/Tooltip.vue index b1421e0a..5990737c 100644 --- a/.docs/components/Tooltip.vue +++ b/.docs/components/Tooltip.vue @@ -10,7 +10,7 @@ defineProps<{ diff --git a/.docs/components/demo/Accordion/tailwind/index.vue b/.docs/components/demo/Accordion/tailwind/index.vue index 767f543e..24e67319 100644 --- a/.docs/components/demo/Accordion/tailwind/index.vue +++ b/.docs/components/demo/Accordion/tailwind/index.vue @@ -41,7 +41,7 @@ const accordionItems = [ {{ item.title }} diff --git a/.docs/components/demo/Checkbox/tailwind/index.vue b/.docs/components/demo/Checkbox/tailwind/index.vue index e4b0f41a..1f3b359b 100644 --- a/.docs/components/demo/Checkbox/tailwind/index.vue +++ b/.docs/components/demo/Checkbox/tailwind/index.vue @@ -11,7 +11,7 @@ const checkboxOne = ref(true)