@eslamdevui/ui 3.2.0-beta.1 → 3.2.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.nuxt/ui/alert.ts +5 -0
- package/.nuxt/ui/badge.ts +5 -0
- package/.nuxt/ui/button-group.ts +13 -0
- package/.nuxt/ui/button.ts +5 -0
- package/.nuxt/ui/carousel.ts +5 -0
- package/.nuxt/ui/content/content-navigation.ts +339 -0
- package/.nuxt/ui/content/content-search-button.ts +6 -0
- package/.nuxt/ui/content/content-search.ts +6 -0
- package/.nuxt/ui/content/content-surround.ts +39 -0
- package/.nuxt/ui/content/content-toc.ts +150 -0
- package/.nuxt/ui/content/index.ts +5 -0
- package/.nuxt/ui/content-surround.ts +5 -0
- package/.nuxt/ui/content-toc.ts +6 -6
- package/.nuxt/ui/dashboard-navbar.ts +5 -0
- package/.nuxt/ui/dashboard-sidebar-collapse.ts +5 -0
- package/.nuxt/ui/dashboard-sidebar-toggle.ts +5 -0
- package/.nuxt/ui/dashboard-sidebar.ts +10 -0
- package/.nuxt/ui/error.ts +9 -0
- package/.nuxt/ui/index.ts +48 -1
- package/.nuxt/ui/input-menu.ts +9 -0
- package/.nuxt/ui/input-number.ts +5 -0
- package/.nuxt/ui/input-tags.ts +9 -0
- package/.nuxt/ui/input.ts +9 -0
- package/.nuxt/ui/prose/a.ts +6 -0
- package/.nuxt/ui/prose/accordion-item.ts +3 -0
- package/.nuxt/ui/prose/accordion.ts +6 -0
- package/.nuxt/ui/prose/badge.ts +3 -0
- package/.nuxt/ui/prose/blockquote.ts +3 -0
- package/.nuxt/ui/prose/callout.ts +129 -0
- package/.nuxt/ui/prose/card-group.ts +3 -0
- package/.nuxt/ui/prose/card.ts +119 -0
- package/.nuxt/ui/prose/code-collapse.ts +19 -0
- package/.nuxt/ui/prose/code-group.ts +13 -0
- package/.nuxt/ui/prose/code-icon.ts +66 -0
- package/.nuxt/ui/prose/code-preview.ts +14 -0
- package/.nuxt/ui/prose/code-tree.ts +28 -0
- package/.nuxt/ui/prose/code.ts +27 -0
- package/.nuxt/ui/prose/collapsible.ts +12 -0
- package/.nuxt/ui/prose/em.ts +3 -0
- package/.nuxt/ui/prose/field-group.ts +3 -0
- package/.nuxt/ui/prose/field.ts +11 -0
- package/.nuxt/ui/prose/h1.ts +6 -0
- package/.nuxt/ui/prose/h2.ts +14 -0
- package/.nuxt/ui/prose/h3.ts +14 -0
- package/.nuxt/ui/prose/h4.ts +6 -0
- package/.nuxt/ui/prose/hr.ts +3 -0
- package/.nuxt/ui/prose/icon.ts +3 -0
- package/.nuxt/ui/prose/img.ts +3 -0
- package/.nuxt/ui/prose/index.ts +41 -0
- package/.nuxt/ui/prose/kbd.ts +3 -0
- package/.nuxt/ui/prose/li.ts +3 -0
- package/.nuxt/ui/prose/ol.ts +3 -0
- package/.nuxt/ui/prose/p.ts +3 -0
- package/.nuxt/ui/prose/pre.ts +17 -0
- package/.nuxt/ui/prose/steps.ts +19 -0
- package/.nuxt/ui/prose/strong.ts +3 -0
- package/.nuxt/ui/prose/table.ts +6 -0
- package/.nuxt/ui/prose/tabs-item.ts +3 -0
- package/.nuxt/ui/prose/tabs.ts +5 -0
- package/.nuxt/ui/prose/tbody.ts +3 -0
- package/.nuxt/ui/prose/td.ts +3 -0
- package/.nuxt/ui/prose/th.ts +3 -0
- package/.nuxt/ui/prose/thead.ts +3 -0
- package/.nuxt/ui/prose/tr.ts +3 -0
- package/.nuxt/ui/prose/ul.ts +3 -0
- package/.nuxt/ui/select-menu.ts +9 -0
- package/.nuxt/ui/select.ts +9 -0
- package/.nuxt/ui/textarea.ts +9 -0
- package/.nuxt/ui/toast.ts +5 -0
- package/LICENSE.md +9 -9
- package/README.md +147 -147
- package/cli/commands/make/component.mjs +95 -95
- package/cli/commands/make/index.mjs +14 -14
- package/cli/commands/make/locale.mjs +64 -64
- package/cli/index.mjs +15 -15
- package/cli/package.json +13 -13
- package/cli/templates.mjs +236 -228
- package/cli/utils.mjs +31 -31
- package/dist/module.json +1 -1
- package/dist/module.mjs +18 -13
- package/dist/runtime/components/Accordion.vue +36 -36
- package/dist/runtime/components/Alert.vue +46 -46
- package/dist/runtime/components/App.vue +10 -10
- package/dist/runtime/components/Avatar.vue +27 -27
- package/dist/runtime/components/AvatarGroup.vue +4 -4
- package/dist/runtime/components/Badge.vue +16 -16
- package/dist/runtime/components/Breadcrumb.vue +32 -32
- package/dist/runtime/components/Button.vue +28 -28
- package/dist/runtime/components/ButtonGroup.vue +3 -3
- package/dist/runtime/components/Calendar.vue +74 -74
- package/dist/runtime/components/Card.vue +13 -13
- package/dist/runtime/components/Carousel.vue +58 -58
- package/dist/runtime/components/ChatMessage.vue +35 -35
- package/dist/runtime/components/ChatMessages.vue +71 -71
- package/dist/runtime/components/ChatMessages.vue.d.ts +1 -2
- package/dist/runtime/components/ChatPrompt.vue +30 -31
- package/dist/runtime/components/ChatPrompt.vue.d.ts +4 -4
- package/dist/runtime/components/ChatPromptSubmit.vue +10 -10
- package/dist/runtime/components/Checkbox.vue +33 -33
- package/dist/runtime/components/CheckboxGroup.vue +32 -32
- package/dist/runtime/components/Chip.vue +11 -11
- package/dist/runtime/components/Collapsible.vue +9 -9
- package/dist/runtime/components/ColorPicker.vue +30 -30
- package/dist/runtime/components/CommandPalette.vue +117 -117
- package/dist/runtime/components/Container.vue +3 -3
- package/dist/runtime/components/ContextMenu.vue +22 -22
- package/dist/runtime/components/ContextMenuContent.vue +105 -105
- package/dist/runtime/components/DashboardGroup.vue +3 -3
- package/dist/runtime/components/DashboardNavbar.vue +41 -41
- package/dist/runtime/components/DashboardNavbar.vue.d.ts +1 -1
- package/dist/runtime/components/DashboardPanel.vue +29 -29
- package/dist/runtime/components/DashboardPanel.vue.d.ts +1 -1
- package/dist/runtime/components/DashboardResizeHandle.vue +7 -7
- package/dist/runtime/components/DashboardSearch.vue +24 -25
- package/dist/runtime/components/DashboardSearch.vue.d.ts +3 -3
- package/dist/runtime/components/DashboardSearchButton.vue +63 -41
- package/dist/runtime/components/DashboardSearchButton.vue.d.ts +7 -1
- package/dist/runtime/components/DashboardSidebar.vue +77 -77
- package/dist/runtime/components/DashboardSidebarCollapse.vue +7 -7
- package/dist/runtime/components/DashboardSidebarCollapse.vue.d.ts +1 -1
- package/dist/runtime/components/DashboardSidebarToggle.vue +14 -17
- package/dist/runtime/components/DashboardSidebarToggle.vue.d.ts +4 -6
- package/dist/runtime/components/Drawer.vue +55 -55
- package/dist/runtime/components/DropdownMenu.vue +24 -24
- package/dist/runtime/components/DropdownMenuContent.vue +107 -107
- package/dist/runtime/components/Error.vue +57 -0
- package/dist/runtime/components/Error.vue.d.ts +52 -0
- package/dist/runtime/components/Form.vue +8 -8
- package/dist/runtime/components/Form.vue.d.ts +1 -1
- package/dist/runtime/components/FormField.vue +37 -37
- package/dist/runtime/components/Icon.vue +1 -1
- package/dist/runtime/components/Input.vue +34 -34
- package/dist/runtime/components/InputMenu.vue +163 -163
- package/dist/runtime/components/InputNumber.vue +49 -49
- package/dist/runtime/components/InputTags.vue +55 -55
- package/dist/runtime/components/Kbd.vue +5 -5
- package/dist/runtime/components/Link.vue +14 -14
- package/dist/runtime/components/LinkBase.vue +8 -8
- package/dist/runtime/components/Modal.vue +69 -69
- package/dist/runtime/components/NavigationMenu.vue +166 -166
- package/dist/runtime/components/OverlayProvider.vue +9 -9
- package/dist/runtime/components/Pagination.vue +47 -47
- package/dist/runtime/components/PinInput.vue +20 -20
- package/dist/runtime/components/Popover.vue +17 -17
- package/dist/runtime/components/Progress.vue +19 -19
- package/dist/runtime/components/RadioGroup.vue +43 -43
- package/dist/runtime/components/Select.vue +96 -96
- package/dist/runtime/components/SelectMenu.vue +130 -130
- package/dist/runtime/components/Separator.vue +15 -15
- package/dist/runtime/components/Skeleton.vue +10 -10
- package/dist/runtime/components/Slideover.vue +76 -76
- package/dist/runtime/components/Slider.vue +27 -27
- package/dist/runtime/components/Stepper.vue +51 -51
- package/dist/runtime/components/Switch.vue +33 -33
- package/dist/runtime/components/Table.vue +77 -77
- package/dist/runtime/components/Tabs.vue +37 -37
- package/dist/runtime/components/Textarea.vue +33 -33
- package/dist/runtime/components/Timeline.vue +38 -38
- package/dist/runtime/components/Toast.vue +69 -69
- package/dist/runtime/components/Toaster.vue +28 -28
- package/dist/runtime/components/Tooltip.vue +19 -19
- package/dist/runtime/components/Tree.vue +60 -60
- package/dist/runtime/components/color-mode/ColorModeAvatar.vue +2 -2
- package/dist/runtime/components/color-mode/ColorModeAvatar.vue.d.ts +2 -2
- package/dist/runtime/components/color-mode/ColorModeButton.vue +16 -16
- package/dist/runtime/components/color-mode/ColorModeButton.vue.d.ts +3 -3
- package/dist/runtime/components/color-mode/ColorModeImage.vue +2 -2
- package/dist/runtime/components/color-mode/ColorModeSelect.vue +19 -19
- package/dist/runtime/components/color-mode/ColorModeSelect.vue.d.ts +1 -1
- package/dist/runtime/components/color-mode/ColorModeSwitch.vue +19 -19
- package/dist/runtime/components/color-mode/ColorModeSwitch.vue.d.ts +1 -1
- package/dist/runtime/components/content/ContentNavigation.vue +175 -0
- package/dist/runtime/components/content/ContentNavigation.vue.d.ts +53 -0
- package/dist/runtime/components/content/ContentSearch.vue +184 -0
- package/dist/runtime/components/content/ContentSearch.vue.d.ts +111 -0
- package/dist/runtime/components/content/ContentSearchButton.vue +95 -0
- package/dist/runtime/components/content/ContentSearchButton.vue.d.ts +12 -0
- package/dist/runtime/components/content/ContentSurround.vue +61 -0
- package/dist/runtime/components/content/ContentSurround.vue.d.ts +59 -0
- package/dist/runtime/components/content/ContentToc.vue +146 -0
- package/dist/runtime/components/content/ContentToc.vue.d.ts +88 -0
- package/dist/runtime/components/locale/LocaleSelect.vue +20 -20
- package/dist/runtime/components/locale/LocaleSelect.vue.d.ts +1 -1
- package/dist/runtime/components/prose/A.vue +24 -0
- package/dist/runtime/components/prose/A.vue.d.ts +15 -0
- package/dist/runtime/components/prose/Accordion.vue +43 -0
- package/dist/runtime/components/prose/Accordion.vue.d.ts +16 -0
- package/dist/runtime/components/prose/AccordionItem.vue +25 -0
- package/dist/runtime/components/prose/AccordionItem.vue.d.ts +15 -0
- package/dist/runtime/components/prose/Badge.vue +21 -0
- package/dist/runtime/components/prose/Badge.vue.d.ts +13 -0
- package/dist/runtime/components/prose/Blockquote.vue +21 -0
- package/dist/runtime/components/prose/Blockquote.vue.d.ts +13 -0
- package/dist/runtime/components/prose/Callout.vue +60 -0
- package/dist/runtime/components/prose/Callout.vue.d.ts +26 -0
- package/dist/runtime/components/prose/Card.vue +83 -0
- package/dist/runtime/components/prose/Card.vue.d.ts +30 -0
- package/dist/runtime/components/prose/CardGroup.vue +21 -0
- package/dist/runtime/components/prose/CardGroup.vue.d.ts +13 -0
- package/dist/runtime/components/prose/Code.vue +23 -0
- package/dist/runtime/components/prose/Code.vue.d.ts +22 -0
- package/dist/runtime/components/prose/CodeCollapse.vue +44 -0
- package/dist/runtime/components/prose/CodeCollapse.vue.d.ts +46 -0
- package/dist/runtime/components/prose/CodeGroup.vue +70 -0
- package/dist/runtime/components/prose/CodeGroup.vue.d.ts +37 -0
- package/dist/runtime/components/prose/CodeIcon.vue +28 -0
- package/dist/runtime/components/prose/CodeIcon.vue.d.ts +24 -0
- package/dist/runtime/components/prose/CodePreview.vue +28 -0
- package/dist/runtime/components/prose/CodePreview.vue.d.ts +19 -0
- package/dist/runtime/components/prose/CodeTree.vue +160 -0
- package/dist/runtime/components/prose/CodeTree.vue.d.ts +30 -0
- package/dist/runtime/components/prose/Collapsible.vue +41 -0
- package/dist/runtime/components/prose/Collapsible.vue.d.ts +38 -0
- package/dist/runtime/components/prose/Em.vue +19 -0
- package/dist/runtime/components/prose/Em.vue.d.ts +13 -0
- package/dist/runtime/components/prose/Field.vue +48 -0
- package/dist/runtime/components/prose/Field.vue.d.ts +39 -0
- package/dist/runtime/components/prose/FieldGroup.vue +23 -0
- package/dist/runtime/components/prose/FieldGroup.vue.d.ts +18 -0
- package/dist/runtime/components/prose/H1.vue +28 -0
- package/dist/runtime/components/prose/H1.vue.d.ts +19 -0
- package/dist/runtime/components/prose/H2.vue +32 -0
- package/dist/runtime/components/prose/H2.vue.d.ts +19 -0
- package/dist/runtime/components/prose/H3.vue +32 -0
- package/dist/runtime/components/prose/H3.vue.d.ts +19 -0
- package/dist/runtime/components/prose/H4.vue +28 -0
- package/dist/runtime/components/prose/H4.vue.d.ts +19 -0
- package/dist/runtime/components/prose/Hr.vue +18 -0
- package/dist/runtime/components/prose/Hr.vue.d.ts +5 -0
- package/dist/runtime/components/prose/Icon.vue +19 -0
- package/dist/runtime/components/prose/Icon.vue.d.ts +6 -0
- package/dist/runtime/components/prose/Img.vue +40 -0
- package/dist/runtime/components/prose/Img.vue.d.ts +9 -0
- package/dist/runtime/components/prose/Kbd.vue +19 -0
- package/dist/runtime/components/prose/Kbd.vue.d.ts +6 -0
- package/dist/runtime/components/prose/Li.vue +21 -0
- package/dist/runtime/components/prose/Li.vue.d.ts +13 -0
- package/dist/runtime/components/prose/Ol.vue +21 -0
- package/dist/runtime/components/prose/Ol.vue.d.ts +13 -0
- package/dist/runtime/components/prose/P.vue +21 -0
- package/dist/runtime/components/prose/P.vue.d.ts +13 -0
- package/dist/runtime/components/prose/Pre.vue +63 -0
- package/dist/runtime/components/prose/Pre.vue.d.ts +25 -0
- package/dist/runtime/components/prose/Script.vue +12 -0
- package/dist/runtime/components/prose/Script.vue.d.ts +12 -0
- package/dist/runtime/components/prose/Steps.vue +22 -0
- package/dist/runtime/components/prose/Steps.vue.d.ts +22 -0
- package/dist/runtime/components/prose/Strong.vue +21 -0
- package/dist/runtime/components/prose/Strong.vue.d.ts +13 -0
- package/dist/runtime/components/prose/Table.vue +24 -0
- package/dist/runtime/components/prose/Table.vue.d.ts +18 -0
- package/dist/runtime/components/prose/Tabs.vue +78 -0
- package/dist/runtime/components/prose/Tabs.vue.d.ts +36 -0
- package/dist/runtime/components/prose/TabsItem.vue +25 -0
- package/dist/runtime/components/prose/TabsItem.vue.d.ts +15 -0
- package/dist/runtime/components/prose/Tbody.vue +21 -0
- package/dist/runtime/components/prose/Tbody.vue.d.ts +13 -0
- package/dist/runtime/components/prose/Td.vue +21 -0
- package/dist/runtime/components/prose/Td.vue.d.ts +13 -0
- package/dist/runtime/components/prose/Th.vue +21 -0
- package/dist/runtime/components/prose/Th.vue.d.ts +13 -0
- package/dist/runtime/components/prose/Thead.vue +21 -0
- package/dist/runtime/components/prose/Thead.vue.d.ts +13 -0
- package/dist/runtime/components/prose/Tr.vue +21 -0
- package/dist/runtime/components/prose/Tr.vue.d.ts +13 -0
- package/dist/runtime/components/prose/Ul.vue +21 -0
- package/dist/runtime/components/prose/Ul.vue.d.ts +13 -0
- package/dist/runtime/components/prose/callout/Caution.vue +11 -0
- package/dist/runtime/components/prose/callout/Caution.vue.d.ts +14 -0
- package/dist/runtime/components/prose/callout/Note.vue +11 -0
- package/dist/runtime/components/prose/callout/Note.vue.d.ts +14 -0
- package/dist/runtime/components/prose/callout/Tip.vue +11 -0
- package/dist/runtime/components/prose/callout/Tip.vue.d.ts +14 -0
- package/dist/runtime/components/prose/callout/Warning.vue +11 -0
- package/dist/runtime/components/prose/callout/Warning.vue.d.ts +14 -0
- package/dist/runtime/composables/useAvatarGroup.d.ts +1 -1
- package/dist/runtime/composables/useComponentIcons.d.ts +1 -1
- package/dist/runtime/composables/useFormField.d.ts +2 -2
- package/dist/runtime/composables/usePortal.d.ts +1 -1
- package/dist/runtime/composables/useResizable.d.ts +1 -1
- package/dist/runtime/inertia/components/Link.vue +12 -12
- package/dist/runtime/inertia/components/LinkBase.vue +15 -15
- package/dist/runtime/types/app.config.d.ts +6 -6
- package/dist/runtime/types/content.d.ts +4 -1
- package/dist/runtime/types/content.js +4 -0
- package/dist/runtime/types/index.d.ts +1 -0
- package/dist/runtime/types/index.js +1 -0
- package/dist/runtime/types/prose.d.ts +42 -1
- package/dist/runtime/types/prose.js +42 -0
- package/dist/runtime/types/tv.d.ts +2 -2
- package/dist/runtime/utils/index.d.ts +1 -1
- package/dist/runtime/utils/index.js +13 -4
- package/dist/runtime/vue/components/Icon.vue +1 -1
- package/dist/runtime/vue/components/Link.vue +31 -31
- package/dist/runtime/vue/components/color-mode/ColorModeButton.vue +7 -7
- package/dist/runtime/vue/components/color-mode/ColorModeSelect.vue +7 -7
- package/dist/runtime/vue/components/color-mode/ColorModeSwitch.vue +7 -7
- package/dist/shared/{ui.BcVNrqyb.mjs → ui.DQZ75GCP.mjs} +183 -180
- package/dist/unplugin.mjs +9 -9
- package/dist/vite.mjs +1 -1
- package/package.json +8 -9
- package/vue-plugin.d.ts +5 -5
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"slots": {
|
|
3
|
+
"root": "min-h-[calc(100vh-var(--ui-header-height))] flex flex-col items-center justify-center text-center",
|
|
4
|
+
"statusCode": "text-base font-semibold text-primary",
|
|
5
|
+
"statusMessage": "mt-2 text-4xl sm:text-5xl font-bold text-highlighted text-balance",
|
|
6
|
+
"message": "mt-4 text-lg text-muted text-balance",
|
|
7
|
+
"links": "mt-8 flex items-center justify-center gap-6"
|
|
8
|
+
}
|
|
9
|
+
}
|
package/.nuxt/ui/index.ts
CHANGED
|
@@ -37,6 +37,7 @@ export { default as dashboardSidebarCollapse } from './dashboard-sidebar-collaps
|
|
|
37
37
|
export { default as dashboardSidebarToggle } from './dashboard-sidebar-toggle'
|
|
38
38
|
export { default as drawer } from './drawer'
|
|
39
39
|
export { default as dropdownMenu } from './dropdown-menu'
|
|
40
|
+
export { default as error } from './error'
|
|
40
41
|
export { default as form } from './form'
|
|
41
42
|
export { default as formField } from './form-field'
|
|
42
43
|
export { default as input } from './input'
|
|
@@ -68,4 +69,50 @@ export { default as timeline } from './timeline'
|
|
|
68
69
|
export { default as toast } from './toast'
|
|
69
70
|
export { default as toaster } from './toaster'
|
|
70
71
|
export { default as tooltip } from './tooltip'
|
|
71
|
-
export { default as tree } from './tree'
|
|
72
|
+
export { default as tree } from './tree'
|
|
73
|
+
export { default as contentNavigation } from './content/content-navigation'
|
|
74
|
+
export { default as contentSearch } from './content/content-search'
|
|
75
|
+
export { default as contentSearchButton } from './content/content-search-button'
|
|
76
|
+
export { default as contentSurround } from './content/content-surround'
|
|
77
|
+
export { default as contentToc } from './content/content-toc'
|
|
78
|
+
export { default as a } from './prose/a'
|
|
79
|
+
export { default as accordion } from './prose/accordion'
|
|
80
|
+
export { default as accordionItem } from './prose/accordion-item'
|
|
81
|
+
export { default as badge } from './prose/badge'
|
|
82
|
+
export { default as blockquote } from './prose/blockquote'
|
|
83
|
+
export { default as callout } from './prose/callout'
|
|
84
|
+
export { default as card } from './prose/card'
|
|
85
|
+
export { default as cardGroup } from './prose/card-group'
|
|
86
|
+
export { default as code } from './prose/code'
|
|
87
|
+
export { default as codeCollapse } from './prose/code-collapse'
|
|
88
|
+
export { default as codeGroup } from './prose/code-group'
|
|
89
|
+
export { default as codeIcon } from './prose/code-icon'
|
|
90
|
+
export { default as codePreview } from './prose/code-preview'
|
|
91
|
+
export { default as codeTree } from './prose/code-tree'
|
|
92
|
+
export { default as collapsible } from './prose/collapsible'
|
|
93
|
+
export { default as em } from './prose/em'
|
|
94
|
+
export { default as field } from './prose/field'
|
|
95
|
+
export { default as fieldGroup } from './prose/field-group'
|
|
96
|
+
export { default as h1 } from './prose/h1'
|
|
97
|
+
export { default as h2 } from './prose/h2'
|
|
98
|
+
export { default as h3 } from './prose/h3'
|
|
99
|
+
export { default as h4 } from './prose/h4'
|
|
100
|
+
export { default as hr } from './prose/hr'
|
|
101
|
+
export { default as icon } from './prose/icon'
|
|
102
|
+
export { default as img } from './prose/img'
|
|
103
|
+
export { default as kbd } from './prose/kbd'
|
|
104
|
+
export { default as li } from './prose/li'
|
|
105
|
+
export { default as ol } from './prose/ol'
|
|
106
|
+
export { default as p } from './prose/p'
|
|
107
|
+
export { default as pre } from './prose/pre'
|
|
108
|
+
export { default as steps } from './prose/steps'
|
|
109
|
+
export { default as strong } from './prose/strong'
|
|
110
|
+
export { default as table } from './prose/table'
|
|
111
|
+
export { default as tabs } from './prose/tabs'
|
|
112
|
+
export { default as tabsItem } from './prose/tabs-item'
|
|
113
|
+
export { default as tbody } from './prose/tbody'
|
|
114
|
+
export { default as td } from './prose/td'
|
|
115
|
+
export { default as th } from './prose/th'
|
|
116
|
+
export { default as thead } from './prose/thead'
|
|
117
|
+
export { default as tr } from './prose/tr'
|
|
118
|
+
export { default as ul } from './prose/ul'
|
package/.nuxt/ui/input-menu.ts
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
const buttonGroup = [
|
|
2
|
+
"horizontal",
|
|
3
|
+
"vertical"
|
|
4
|
+
] as const
|
|
5
|
+
|
|
1
6
|
const size = [
|
|
2
7
|
"xs",
|
|
3
8
|
"sm",
|
|
@@ -24,6 +29,10 @@ const color = [
|
|
|
24
29
|
"neutral"
|
|
25
30
|
] as const
|
|
26
31
|
|
|
32
|
+
const type = [
|
|
33
|
+
"file"
|
|
34
|
+
] as const
|
|
35
|
+
|
|
27
36
|
export default {
|
|
28
37
|
"slots": {
|
|
29
38
|
"root": "relative inline-flex items-center",
|
package/.nuxt/ui/input-number.ts
CHANGED
package/.nuxt/ui/input-tags.ts
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
const buttonGroup = [
|
|
2
|
+
"horizontal",
|
|
3
|
+
"vertical"
|
|
4
|
+
] as const
|
|
5
|
+
|
|
1
6
|
const size = [
|
|
2
7
|
"xs",
|
|
3
8
|
"sm",
|
|
@@ -24,6 +29,10 @@ const color = [
|
|
|
24
29
|
"neutral"
|
|
25
30
|
] as const
|
|
26
31
|
|
|
32
|
+
const type = [
|
|
33
|
+
"file"
|
|
34
|
+
] as const
|
|
35
|
+
|
|
27
36
|
export default {
|
|
28
37
|
"slots": {
|
|
29
38
|
"root": [
|
package/.nuxt/ui/input.ts
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
const buttonGroup = [
|
|
2
|
+
"horizontal",
|
|
3
|
+
"vertical"
|
|
4
|
+
] as const
|
|
5
|
+
|
|
1
6
|
const size = [
|
|
2
7
|
"xs",
|
|
3
8
|
"sm",
|
|
@@ -24,6 +29,10 @@ const color = [
|
|
|
24
29
|
"neutral"
|
|
25
30
|
] as const
|
|
26
31
|
|
|
32
|
+
const type = [
|
|
33
|
+
"file"
|
|
34
|
+
] as const
|
|
35
|
+
|
|
27
36
|
export default {
|
|
28
37
|
"slots": {
|
|
29
38
|
"root": "relative inline-flex items-center",
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"base": [
|
|
3
|
+
"text-primary border-b border-transparent hover:border-primary font-medium focus-visible:outline-primary [&>code]:border-dashed hover:[&>code]:border-primary hover:[&>code]:text-primary",
|
|
4
|
+
"transition-colors [&>code]:transition-colors"
|
|
5
|
+
]
|
|
6
|
+
}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
const color = [
|
|
2
|
+
"primary",
|
|
3
|
+
"secondary",
|
|
4
|
+
"success",
|
|
5
|
+
"info",
|
|
6
|
+
"warning",
|
|
7
|
+
"error",
|
|
8
|
+
"neutral"
|
|
9
|
+
] as const
|
|
10
|
+
|
|
11
|
+
export default {
|
|
12
|
+
"slots": {
|
|
13
|
+
"base": [
|
|
14
|
+
"group relative block px-4 py-3 rounded-md text-sm/6 my-5 last:mb-0 [&_code]:text-xs/5 [&_code]:bg-default [&_pre]:bg-default [&>div]:my-2.5 [&_ul]:my-2.5 [&_ol]:my-2.5 [&>*]:last:!mb-0 [&_ul]:ps-4.5 [&_ol]:ps-4.5 [&_li]:my-0",
|
|
15
|
+
"transition-colors"
|
|
16
|
+
],
|
|
17
|
+
"icon": [
|
|
18
|
+
"size-4 shrink-0 align-sub me-1.5",
|
|
19
|
+
"transition-colors"
|
|
20
|
+
],
|
|
21
|
+
"externalIcon": [
|
|
22
|
+
"size-4 align-top absolute right-2 top-2 pointer-events-none",
|
|
23
|
+
"transition-colors"
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
"variants": {
|
|
27
|
+
"color": {
|
|
28
|
+
"primary": {
|
|
29
|
+
"base": "border border-primary/25 bg-primary/10 text-primary-600 dark:text-primary-300 [&_a]:text-primary [&_a]:hover:border-primary [&_code]:text-primary-600 dark:[&_code]:text-primary-300 [&_code]:border-primary/25 [&_a]:hover:[&>code]:border-primary [&_a]:hover:[&>code]:text-primary [&>ul]:marker:text-primary/50",
|
|
30
|
+
"icon": "text-primary",
|
|
31
|
+
"externalIcon": "text-primary-600 dark:text-primary-300"
|
|
32
|
+
},
|
|
33
|
+
"secondary": {
|
|
34
|
+
"base": "border border-secondary/25 bg-secondary/10 text-secondary-600 dark:text-secondary-300 [&_a]:text-secondary [&_a]:hover:border-secondary [&_code]:text-secondary-600 dark:[&_code]:text-secondary-300 [&_code]:border-secondary/25 [&_a]:hover:[&>code]:border-secondary [&_a]:hover:[&>code]:text-secondary [&>ul]:marker:text-secondary/50",
|
|
35
|
+
"icon": "text-secondary",
|
|
36
|
+
"externalIcon": "text-secondary-600 dark:text-secondary-300"
|
|
37
|
+
},
|
|
38
|
+
"success": {
|
|
39
|
+
"base": "border border-success/25 bg-success/10 text-success-600 dark:text-success-300 [&_a]:text-success [&_a]:hover:border-success [&_code]:text-success-600 dark:[&_code]:text-success-300 [&_code]:border-success/25 [&_a]:hover:[&>code]:border-success [&_a]:hover:[&>code]:text-success [&>ul]:marker:text-success/50",
|
|
40
|
+
"icon": "text-success",
|
|
41
|
+
"externalIcon": "text-success-600 dark:text-success-300"
|
|
42
|
+
},
|
|
43
|
+
"info": {
|
|
44
|
+
"base": "border border-info/25 bg-info/10 text-info-600 dark:text-info-300 [&_a]:text-info [&_a]:hover:border-info [&_code]:text-info-600 dark:[&_code]:text-info-300 [&_code]:border-info/25 [&_a]:hover:[&>code]:border-info [&_a]:hover:[&>code]:text-info [&>ul]:marker:text-info/50",
|
|
45
|
+
"icon": "text-info",
|
|
46
|
+
"externalIcon": "text-info-600 dark:text-info-300"
|
|
47
|
+
},
|
|
48
|
+
"warning": {
|
|
49
|
+
"base": "border border-warning/25 bg-warning/10 text-warning-600 dark:text-warning-300 [&_a]:text-warning [&_a]:hover:border-warning [&_code]:text-warning-600 dark:[&_code]:text-warning-300 [&_code]:border-warning/25 [&_a]:hover:[&>code]:border-warning [&_a]:hover:[&>code]:text-warning [&>ul]:marker:text-warning/50",
|
|
50
|
+
"icon": "text-warning",
|
|
51
|
+
"externalIcon": "text-warning-600 dark:text-warning-300"
|
|
52
|
+
},
|
|
53
|
+
"error": {
|
|
54
|
+
"base": "border border-error/25 bg-error/10 text-error-600 dark:text-error-300 [&_a]:text-error [&_a]:hover:border-error [&_code]:text-error-600 dark:[&_code]:text-error-300 [&_code]:border-error/25 [&_a]:hover:[&>code]:border-error [&_a]:hover:[&>code]:text-error [&>ul]:marker:text-error/50",
|
|
55
|
+
"icon": "text-error",
|
|
56
|
+
"externalIcon": "text-error-600 dark:text-error-300"
|
|
57
|
+
},
|
|
58
|
+
"neutral": {
|
|
59
|
+
"base": "border border-muted bg-muted text-default",
|
|
60
|
+
"icon": "text-highlighted",
|
|
61
|
+
"externalIcon": "text-dimmed"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"to": {
|
|
65
|
+
"true": "border-dashed"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"compoundVariants": [
|
|
69
|
+
{
|
|
70
|
+
"color": "primary" as typeof color[number],
|
|
71
|
+
"to": true,
|
|
72
|
+
"class": {
|
|
73
|
+
"base": "hover:border-primary",
|
|
74
|
+
"externalIcon": "group-hover:text-primary"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"color": "secondary" as typeof color[number],
|
|
79
|
+
"to": true,
|
|
80
|
+
"class": {
|
|
81
|
+
"base": "hover:border-secondary",
|
|
82
|
+
"externalIcon": "group-hover:text-secondary"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"color": "success" as typeof color[number],
|
|
87
|
+
"to": true,
|
|
88
|
+
"class": {
|
|
89
|
+
"base": "hover:border-success",
|
|
90
|
+
"externalIcon": "group-hover:text-success"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"color": "info" as typeof color[number],
|
|
95
|
+
"to": true,
|
|
96
|
+
"class": {
|
|
97
|
+
"base": "hover:border-info",
|
|
98
|
+
"externalIcon": "group-hover:text-info"
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"color": "warning" as typeof color[number],
|
|
103
|
+
"to": true,
|
|
104
|
+
"class": {
|
|
105
|
+
"base": "hover:border-warning",
|
|
106
|
+
"externalIcon": "group-hover:text-warning"
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"color": "error" as typeof color[number],
|
|
111
|
+
"to": true,
|
|
112
|
+
"class": {
|
|
113
|
+
"base": "hover:border-error",
|
|
114
|
+
"externalIcon": "group-hover:text-error"
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"color": "neutral" as typeof color[number],
|
|
119
|
+
"to": true,
|
|
120
|
+
"class": {
|
|
121
|
+
"base": "hover:border-inverted",
|
|
122
|
+
"externalIcon": "group-hover:text-highlighted"
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
],
|
|
126
|
+
"defaultVariants": {
|
|
127
|
+
"color": "neutral" as typeof color[number]
|
|
128
|
+
}
|
|
129
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
const color = [
|
|
2
|
+
"primary",
|
|
3
|
+
"secondary",
|
|
4
|
+
"success",
|
|
5
|
+
"info",
|
|
6
|
+
"warning",
|
|
7
|
+
"error",
|
|
8
|
+
"neutral"
|
|
9
|
+
] as const
|
|
10
|
+
|
|
11
|
+
export default {
|
|
12
|
+
"slots": {
|
|
13
|
+
"base": [
|
|
14
|
+
"group relative block my-5 p-4 sm:p-6 border border-default rounded-md bg-default",
|
|
15
|
+
"transition-colors"
|
|
16
|
+
],
|
|
17
|
+
"icon": "size-6 mb-2 block",
|
|
18
|
+
"title": "text-highlighted font-semibold",
|
|
19
|
+
"description": "text-[15px] text-muted *:first:mt-0 *:last:mb-0 *:my-1",
|
|
20
|
+
"externalIcon": [
|
|
21
|
+
"size-4 align-top absolute right-2 top-2 text-dimmed pointer-events-none",
|
|
22
|
+
"transition-colors"
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
"variants": {
|
|
26
|
+
"color": {
|
|
27
|
+
"primary": {
|
|
28
|
+
"icon": "text-primary"
|
|
29
|
+
},
|
|
30
|
+
"secondary": {
|
|
31
|
+
"icon": "text-secondary"
|
|
32
|
+
},
|
|
33
|
+
"success": {
|
|
34
|
+
"icon": "text-success"
|
|
35
|
+
},
|
|
36
|
+
"info": {
|
|
37
|
+
"icon": "text-info"
|
|
38
|
+
},
|
|
39
|
+
"warning": {
|
|
40
|
+
"icon": "text-warning"
|
|
41
|
+
},
|
|
42
|
+
"error": {
|
|
43
|
+
"icon": "text-error"
|
|
44
|
+
},
|
|
45
|
+
"neutral": {
|
|
46
|
+
"icon": "text-highlighted"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"to": {
|
|
50
|
+
"true": ""
|
|
51
|
+
},
|
|
52
|
+
"title": {
|
|
53
|
+
"true": {
|
|
54
|
+
"description": "mt-1"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"compoundVariants": [
|
|
59
|
+
{
|
|
60
|
+
"color": "primary" as typeof color[number],
|
|
61
|
+
"to": true,
|
|
62
|
+
"class": {
|
|
63
|
+
"base": "hover:bg-primary/10 hover:border-primary",
|
|
64
|
+
"externalIcon": "group-hover:text-primary"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"color": "secondary" as typeof color[number],
|
|
69
|
+
"to": true,
|
|
70
|
+
"class": {
|
|
71
|
+
"base": "hover:bg-secondary/10 hover:border-secondary",
|
|
72
|
+
"externalIcon": "group-hover:text-secondary"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"color": "success" as typeof color[number],
|
|
77
|
+
"to": true,
|
|
78
|
+
"class": {
|
|
79
|
+
"base": "hover:bg-success/10 hover:border-success",
|
|
80
|
+
"externalIcon": "group-hover:text-success"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"color": "info" as typeof color[number],
|
|
85
|
+
"to": true,
|
|
86
|
+
"class": {
|
|
87
|
+
"base": "hover:bg-info/10 hover:border-info",
|
|
88
|
+
"externalIcon": "group-hover:text-info"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"color": "warning" as typeof color[number],
|
|
93
|
+
"to": true,
|
|
94
|
+
"class": {
|
|
95
|
+
"base": "hover:bg-warning/10 hover:border-warning",
|
|
96
|
+
"externalIcon": "group-hover:text-warning"
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"color": "error" as typeof color[number],
|
|
101
|
+
"to": true,
|
|
102
|
+
"class": {
|
|
103
|
+
"base": "hover:bg-error/10 hover:border-error",
|
|
104
|
+
"externalIcon": "group-hover:text-error"
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"color": "neutral" as typeof color[number],
|
|
109
|
+
"to": true,
|
|
110
|
+
"class": {
|
|
111
|
+
"base": "hover:bg-elevated/50 hover:border-inverted",
|
|
112
|
+
"externalIcon": "group-hover:text-highlighted"
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
],
|
|
116
|
+
"defaultVariants": {
|
|
117
|
+
"color": "primary" as typeof color[number]
|
|
118
|
+
}
|
|
119
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"slots": {
|
|
3
|
+
"root": "relative [&_pre]:h-[200px]",
|
|
4
|
+
"footer": "h-16 absolute inset-x-px bottom-px rounded-b-md flex items-center justify-center",
|
|
5
|
+
"trigger": "group",
|
|
6
|
+
"triggerIcon": "group-data-[state=open]:rotate-180"
|
|
7
|
+
},
|
|
8
|
+
"variants": {
|
|
9
|
+
"open": {
|
|
10
|
+
"true": {
|
|
11
|
+
"root": "[&_pre]:h-auto [&_pre]:min-h-[200px] [&_pre]:max-h-[80vh] [&_pre]:pb-12"
|
|
12
|
+
},
|
|
13
|
+
"false": {
|
|
14
|
+
"root": "[&_pre]:overflow-hidden",
|
|
15
|
+
"footer": "bg-gradient-to-t from-muted"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"slots": {
|
|
3
|
+
"root": "relative group *:not-first:!my-0 *:not-first:!static my-5",
|
|
4
|
+
"list": "relative flex items-center gap-1 border border-muted bg-default border-b-0 rounded-t-md overflow-x-auto p-2",
|
|
5
|
+
"indicator": "absolute left-0 inset-y-2 w-(--reka-tabs-indicator-size) translate-x-(--reka-tabs-indicator-position) transition-[translate,width] duration-200 bg-elevated rounded-md shadow-xs",
|
|
6
|
+
"trigger": [
|
|
7
|
+
"relative inline-flex items-center gap-1.5 text-default data-[state=active]:text-highlighted hover:bg-elevated/50 px-2 py-1.5 text-sm rounded-md disabled:cursor-not-allowed disabled:opacity-75 focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary focus:outline-none",
|
|
8
|
+
"transition-colors"
|
|
9
|
+
],
|
|
10
|
+
"triggerIcon": "size-4 shrink-0",
|
|
11
|
+
"triggerLabel": "truncate"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"package.json": "i-vscode-icons-file-type-node",
|
|
3
|
+
"tsconfig.json": "i-vscode-icons-file-type-tsconfig",
|
|
4
|
+
".npmrc": "i-vscode-icons-file-type-npm",
|
|
5
|
+
".editorconfig": "i-vscode-icons-file-type-editorconfig",
|
|
6
|
+
".eslintrc": "i-vscode-icons-file-type-eslint",
|
|
7
|
+
".eslintrc.cjs": "i-vscode-icons-file-type-eslint",
|
|
8
|
+
".eslintignore": "i-vscode-icons-file-type-eslint",
|
|
9
|
+
"eslint.config.js": "i-vscode-icons-file-type-eslint",
|
|
10
|
+
"eslint.config.mjs": "i-vscode-icons-file-type-eslint",
|
|
11
|
+
"eslint.config.cjs": "i-vscode-icons-file-type-eslint",
|
|
12
|
+
".gitignore": "i-vscode-icons-file-type-git",
|
|
13
|
+
"yarn.lock": "i-vscode-icons-file-type-yarn",
|
|
14
|
+
".env": "i-vscode-icons-file-type-dotenv",
|
|
15
|
+
".env.example": "i-vscode-icons-file-type-dotenv",
|
|
16
|
+
".vscode/settings.json": "i-vscode-icons-file-type-vscode",
|
|
17
|
+
"nuxt": "i-vscode-icons-file-type-nuxt",
|
|
18
|
+
".nuxtrc": "i-vscode-icons-file-type-nuxt",
|
|
19
|
+
".nuxtignore": "i-vscode-icons-file-type-nuxt",
|
|
20
|
+
"nuxt.config.js": "i-vscode-icons-file-type-nuxt",
|
|
21
|
+
"nuxt.config.ts": "i-vscode-icons-file-type-nuxt",
|
|
22
|
+
"nuxt.schema.ts": "i-vscode-icons-file-type-nuxt",
|
|
23
|
+
"tailwind.config.js": "i-vscode-icons-file-type-tailwind",
|
|
24
|
+
"tailwind.config.ts": "i-vscode-icons-file-type-tailwind",
|
|
25
|
+
"vue": "i-vscode-icons-file-type-vue",
|
|
26
|
+
"ts": "i-vscode-icons-file-type-typescript",
|
|
27
|
+
"tsx": "i-vscode-icons-file-type-typescript",
|
|
28
|
+
"mjs": "i-vscode-icons-file-type-js",
|
|
29
|
+
"cjs": "i-vscode-icons-file-type-js",
|
|
30
|
+
"js": "i-vscode-icons-file-type-js",
|
|
31
|
+
"jsx": "i-vscode-icons-file-type-js",
|
|
32
|
+
"md": "i-vscode-icons-file-type-markdown",
|
|
33
|
+
"py": "i-vscode-icons-file-type-python",
|
|
34
|
+
"cs": "i-vscode-icons-file-type-csharp",
|
|
35
|
+
"asm": "i-vscode-icons-file-type-assembly",
|
|
36
|
+
"f": "i-vscode-icons-file-type-fortran",
|
|
37
|
+
"hs": "i-vscode-icons-file-type-haskell",
|
|
38
|
+
"fs": "i-vscode-icons-file-type-fsharp",
|
|
39
|
+
"kt": "i-vscode-icons-file-type-kotlin",
|
|
40
|
+
"rs": "i-vscode-icons-file-type-rust",
|
|
41
|
+
"rb": "i-vscode-icons-file-type-ruby",
|
|
42
|
+
"lsp": "i-vscode-icons-file-type-lisp",
|
|
43
|
+
"ps1": "i-vscode-icons-file-type-powershell",
|
|
44
|
+
"psd1": "i-vscode-icons-file-type-powershell",
|
|
45
|
+
"psm1": "i-vscode-icons-file-type-powershell",
|
|
46
|
+
"go": "i-vscode-icons-file-type-go",
|
|
47
|
+
"gleam": "i-vscode-icons-file-type-gleam",
|
|
48
|
+
"bicep": "i-vscode-icons-file-type-bicep",
|
|
49
|
+
"bicepparam": "i-vscode-icons-file-type-bicep",
|
|
50
|
+
"exs": "i-vscode-icons-file-type-elixir",
|
|
51
|
+
"erl": "i-vscode-icons-file-type-erlang",
|
|
52
|
+
"sbt": "i-vscode-icons-file-type-scala",
|
|
53
|
+
"h": "i-vscode-icons-file-type-cppheader",
|
|
54
|
+
"ino": "i-vscode-icons-file-type-arduino",
|
|
55
|
+
"pl": "i-vscode-icons-file-type-perl",
|
|
56
|
+
"jl": "i-vscode-icons-file-type-julia",
|
|
57
|
+
"dart": "i-vscode-icons-file-type-dartlang",
|
|
58
|
+
"ico": "i-vscode-icons-file-type-favicon",
|
|
59
|
+
"npm": "i-vscode-icons-file-type-npm",
|
|
60
|
+
"pnpm": "i-vscode-icons-file-type-pnpm",
|
|
61
|
+
"npx": "i-vscode-icons-file-type-npm",
|
|
62
|
+
"yarn": "i-vscode-icons-file-type-yarn",
|
|
63
|
+
"bun": "i-vscode-icons-file-type-bun",
|
|
64
|
+
"yml": "i-vscode-icons-file-type-yaml",
|
|
65
|
+
"terminal": "i-lucide-terminal"
|
|
66
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"slots": {
|
|
3
|
+
"root": "my-5",
|
|
4
|
+
"preview": "flex justify-center border border-muted relative p-4 rounded-md",
|
|
5
|
+
"code": "[&>div>pre]:rounded-t-none [&>div]:my-0"
|
|
6
|
+
},
|
|
7
|
+
"variants": {
|
|
8
|
+
"code": {
|
|
9
|
+
"true": {
|
|
10
|
+
"preview": "border-b-0 rounded-b-none"
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"slots": {
|
|
3
|
+
"root": "relative lg:h-[450px] my-5 grid lg:grid-cols-3 border border-muted rounded-md",
|
|
4
|
+
"list": "isolate relative p-2 border-b lg:border-b-0 lg:border-e border-muted overflow-y-auto",
|
|
5
|
+
"item": "",
|
|
6
|
+
"listWithChildren": "ms-4.5 border-s border-default",
|
|
7
|
+
"itemWithChildren": "ps-1.5 -ms-px",
|
|
8
|
+
"link": "relative group peer w-full px-2.5 py-1.5 before:inset-y-px before:inset-x-0 flex items-center gap-1.5 text-sm before:absolute before:z-[-1] before:rounded-md focus:outline-none focus-visible:outline-none focus-visible:before:ring-inset focus-visible:before:ring-2",
|
|
9
|
+
"linkLeadingIcon": "size-4 shrink-0",
|
|
10
|
+
"linkLabel": "truncate",
|
|
11
|
+
"linkTrailing": "ms-auto inline-flex gap-1.5 items-center",
|
|
12
|
+
"linkTrailingIcon": "size-5 transform transition-transform duration-200 shrink-0 group-data-expanded:rotate-180",
|
|
13
|
+
"content": "overflow-hidden lg:col-span-2 flex flex-col [&>div]:my-0 [&>div]:flex-1 [&>div]:flex [&>div]:flex-col [&>div>div]:border-0 [&>div>pre]:border-b-0 [&>div>pre]:border-s-0 [&>div>pre]:border-e-0 [&>div>pre]:rounded-l-none [&>div>pre]:flex-1 [&>div]:overflow-y-auto"
|
|
14
|
+
},
|
|
15
|
+
"variants": {
|
|
16
|
+
"active": {
|
|
17
|
+
"true": {
|
|
18
|
+
"link": "text-highlighted before:bg-elevated"
|
|
19
|
+
},
|
|
20
|
+
"false": {
|
|
21
|
+
"link": [
|
|
22
|
+
"hover:text-highlighted hover:before:bg-elevated/50",
|
|
23
|
+
"transition-colors before:transition-colors"
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
const color = [
|
|
2
|
+
"primary",
|
|
3
|
+
"secondary",
|
|
4
|
+
"success",
|
|
5
|
+
"info",
|
|
6
|
+
"warning",
|
|
7
|
+
"error",
|
|
8
|
+
"neutral"
|
|
9
|
+
] as const
|
|
10
|
+
|
|
11
|
+
export default {
|
|
12
|
+
"base": "px-1.5 py-0.5 text-sm font-mono font-medium rounded-md inline-block",
|
|
13
|
+
"variants": {
|
|
14
|
+
"color": {
|
|
15
|
+
"primary": "border border-primary/25 bg-primary/10 text-primary",
|
|
16
|
+
"secondary": "border border-secondary/25 bg-secondary/10 text-secondary",
|
|
17
|
+
"success": "border border-success/25 bg-success/10 text-success",
|
|
18
|
+
"info": "border border-info/25 bg-info/10 text-info",
|
|
19
|
+
"warning": "border border-warning/25 bg-warning/10 text-warning",
|
|
20
|
+
"error": "border border-error/25 bg-error/10 text-error",
|
|
21
|
+
"neutral": "border border-muted text-highlighted bg-muted"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"defaultVariants": {
|
|
25
|
+
"color": "neutral" as typeof color[number]
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"slots": {
|
|
3
|
+
"root": "my-5",
|
|
4
|
+
"trigger": [
|
|
5
|
+
"group relative rounded-xs inline-flex items-center gap-1.5 text-muted hover:text-default text-sm focus-visible:ring-2 focus-visible:ring-primary focus:outline-none",
|
|
6
|
+
"transition-colors"
|
|
7
|
+
],
|
|
8
|
+
"triggerIcon": "size-4 shrink-0 group-data-[state=open]:rotate-180 transition-transform duration-200",
|
|
9
|
+
"triggerLabel": "truncate",
|
|
10
|
+
"content": "*:first:mt-2.5 *:last:mb-0 *:my-1.5"
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"slots": {
|
|
3
|
+
"root": "my-5",
|
|
4
|
+
"container": "flex items-center gap-3 font-mono text-sm",
|
|
5
|
+
"name": "font-semibold text-primary",
|
|
6
|
+
"wrapper": "flex-1 flex items-center gap-1.5 text-xs",
|
|
7
|
+
"required": "rounded-sm bg-error/10 text-error px-1.5 py-0.5",
|
|
8
|
+
"type": "rounded-sm bg-elevated text-toned px-1.5 py-0.5",
|
|
9
|
+
"description": "mt-3 text-muted text-sm [&_code]:text-xs/4"
|
|
10
|
+
}
|
|
11
|
+
}
|