@eslamdevui/ui 3.3.0 → 3.3.2-beta.0
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/button.ts +42 -42
- package/.nuxt/ui/command-palette.ts +2 -1
- package/.nuxt/ui/file-upload.ts +295 -0
- package/.nuxt/ui/index.ts +2 -0
- package/.nuxt/ui/kbd.ts +167 -3
- package/.nuxt/ui/scroll-to-section.ts +3 -0
- package/.nuxt/ui/table.ts +14 -0
- package/.nuxt/ui/tabs.ts +4 -2
- package/.nuxt/ui/toast.ts +8 -15
- package/.nuxt/ui/tooltip.ts +1 -1
- package/cli/templates.mjs +4 -3
- package/dist/module.d.mts +15 -1
- package/dist/module.json +2 -2
- package/dist/module.mjs +3 -3
- package/dist/runtime/components/Accordion.vue.d.ts +1 -1
- package/dist/runtime/components/Alert.vue.d.ts +2 -2
- package/dist/runtime/components/App.vue.d.ts +1 -1
- package/dist/runtime/components/Avatar.vue.d.ts +1 -1
- package/dist/runtime/components/AvatarGroup.vue.d.ts +1 -1
- package/dist/runtime/components/Badge.vue.d.ts +1 -1
- package/dist/runtime/components/Banner.vue.d.ts +1 -5
- package/dist/runtime/components/BlogPost.vue.d.ts +1 -1
- package/dist/runtime/components/BlogPosts.vue.d.ts +1 -1
- package/dist/runtime/components/Breadcrumb.vue.d.ts +1 -1
- package/dist/runtime/components/Button.vue +6 -6
- package/dist/runtime/components/Button.vue.d.ts +1 -5
- package/dist/runtime/components/ButtonGroup.vue.d.ts +1 -1
- package/dist/runtime/components/Calendar.vue.d.ts +1 -1
- package/dist/runtime/components/Card.vue.d.ts +1 -1
- package/dist/runtime/components/Carousel.vue +18 -14
- package/dist/runtime/components/Carousel.vue.d.ts +1 -1
- package/dist/runtime/components/ChangelogVersion.vue.d.ts +1 -1
- package/dist/runtime/components/ChangelogVersions.vue.d.ts +1 -1
- package/dist/runtime/components/ChatMessage.vue.d.ts +4 -8
- package/dist/runtime/components/ChatMessages.vue.d.ts +1 -1
- package/dist/runtime/components/ChatPalette.vue.d.ts +1 -1
- package/dist/runtime/components/ChatPrompt.vue.d.ts +1 -1
- package/dist/runtime/components/ChatPromptSubmit.vue.d.ts +1 -1
- package/dist/runtime/components/Checkbox.vue.d.ts +1 -1
- package/dist/runtime/components/CheckboxGroup.vue.d.ts +1 -1
- package/dist/runtime/components/Chip.vue.d.ts +2 -2
- package/dist/runtime/components/Collapsible.vue.d.ts +1 -1
- package/dist/runtime/components/ColorPicker.vue +1 -2
- package/dist/runtime/components/ColorPicker.vue.d.ts +1 -1
- package/dist/runtime/components/CommandPalette.vue +4 -0
- package/dist/runtime/components/CommandPalette.vue.d.ts +9 -4
- package/dist/runtime/components/Container.vue.d.ts +1 -1
- package/dist/runtime/components/ContextMenu.vue.d.ts +1 -1
- package/dist/runtime/components/ContextMenuContent.vue.d.ts +1 -1
- package/dist/runtime/components/DashboardGroup.vue.d.ts +1 -1
- package/dist/runtime/components/DashboardNavbar.vue.d.ts +1 -1
- package/dist/runtime/components/DashboardPanel.vue.d.ts +1 -1
- package/dist/runtime/components/DashboardResizeHandle.vue.d.ts +1 -1
- package/dist/runtime/components/DashboardSearchButton.vue.d.ts +1 -1
- package/dist/runtime/components/DashboardSidebar.vue.d.ts +1 -1
- package/dist/runtime/components/DashboardSidebarCollapse.vue.d.ts +1 -1
- package/dist/runtime/components/DashboardSidebarToggle.vue +5 -2
- package/dist/runtime/components/DashboardSidebarToggle.vue.d.ts +1 -1
- package/dist/runtime/components/DashboardToolbar.vue.d.ts +3 -3
- package/dist/runtime/components/Drawer.vue +4 -4
- package/dist/runtime/components/Drawer.vue.d.ts +6 -1
- package/dist/runtime/components/DropdownMenu.vue.d.ts +1 -1
- package/dist/runtime/components/DropdownMenuContent.vue.d.ts +8 -5
- package/dist/runtime/components/Error.vue.d.ts +1 -1
- package/dist/runtime/components/FileUpload.vue +242 -0
- package/dist/runtime/components/FileUpload.vue.d.ts +167 -0
- package/dist/runtime/components/Footer.vue.d.ts +1 -1
- package/dist/runtime/components/FooterColumns.vue.d.ts +1 -1
- package/dist/runtime/components/Form.vue.d.ts +5 -4
- package/dist/runtime/components/FormField.vue +2 -2
- package/dist/runtime/components/FormField.vue.d.ts +4 -4
- package/dist/runtime/components/Header.vue.d.ts +1 -1
- package/dist/runtime/components/Icon.vue.d.ts +1 -1
- package/dist/runtime/components/Input.vue +10 -7
- package/dist/runtime/components/Input.vue.d.ts +9 -9
- package/dist/runtime/components/InputMenu.vue +17 -10
- package/dist/runtime/components/InputMenu.vue.d.ts +17 -14
- package/dist/runtime/components/InputNumber.vue.d.ts +4 -4
- package/dist/runtime/components/InputTags.vue +2 -0
- package/dist/runtime/components/InputTags.vue.d.ts +5 -3
- package/dist/runtime/components/Kbd.vue +2 -1
- package/dist/runtime/components/Kbd.vue.d.ts +5 -1
- package/dist/runtime/components/Link.vue +6 -5
- package/dist/runtime/components/Link.vue.d.ts +1 -3
- package/dist/runtime/components/LinkBase.vue.d.ts +1 -1
- package/dist/runtime/components/Main.vue.d.ts +1 -1
- package/dist/runtime/components/Modal.vue.d.ts +2 -2
- package/dist/runtime/components/NavigationMenu.vue +3 -2
- package/dist/runtime/components/NavigationMenu.vue.d.ts +1 -1
- package/dist/runtime/components/OverlayProvider.vue.d.ts +1 -1
- package/dist/runtime/components/Page.vue.d.ts +1 -1
- package/dist/runtime/components/PageAccordion.vue.d.ts +1 -1
- package/dist/runtime/components/PageAnchors.vue.d.ts +1 -1
- package/dist/runtime/components/PageAside.vue.d.ts +1 -1
- package/dist/runtime/components/PageBody.vue.d.ts +1 -1
- package/dist/runtime/components/PageCTA.vue.d.ts +1 -1
- package/dist/runtime/components/PageCard.vue.d.ts +1 -1
- package/dist/runtime/components/PageColumns.vue.d.ts +1 -1
- package/dist/runtime/components/PageFeature.vue.d.ts +1 -1
- package/dist/runtime/components/PageGrid.vue.d.ts +1 -1
- package/dist/runtime/components/PageHeader.vue.d.ts +1 -1
- package/dist/runtime/components/PageHero.vue.d.ts +1 -1
- package/dist/runtime/components/PageLinks.vue.d.ts +1 -1
- package/dist/runtime/components/PageList.vue.d.ts +1 -1
- package/dist/runtime/components/PageLogos.vue.d.ts +1 -1
- package/dist/runtime/components/PageMarquee.vue.d.ts +1 -1
- package/dist/runtime/components/PageSection.vue.d.ts +1 -1
- package/dist/runtime/components/Pagination.vue.d.ts +1 -1
- package/dist/runtime/components/PinInput.vue.d.ts +1 -1
- package/dist/runtime/components/Popover.vue +2 -1
- package/dist/runtime/components/Popover.vue.d.ts +8 -2
- package/dist/runtime/components/PricingPlan.vue.d.ts +1 -1
- package/dist/runtime/components/PricingPlans.vue.d.ts +1 -1
- package/dist/runtime/components/PricingTable.vue +90 -33
- package/dist/runtime/components/PricingTable.vue.d.ts +1 -1
- package/dist/runtime/components/Progress.vue.d.ts +1 -1
- package/dist/runtime/components/RadioGroup.vue +1 -1
- package/dist/runtime/components/RadioGroup.vue.d.ts +5 -4
- package/dist/runtime/components/ScrollToSection.vue +62 -0
- package/dist/runtime/components/ScrollToSection.vue.d.ts +36 -0
- package/dist/runtime/components/Select.vue.d.ts +1 -1
- package/dist/runtime/components/SelectMenu.vue +9 -6
- package/dist/runtime/components/SelectMenu.vue.d.ts +4 -4
- package/dist/runtime/components/Separator.vue.d.ts +1 -1
- package/dist/runtime/components/Skeleton.vue.d.ts +1 -1
- package/dist/runtime/components/Slideover.vue.d.ts +2 -2
- package/dist/runtime/components/Slider.vue.d.ts +5 -5
- package/dist/runtime/components/Stepper.vue.d.ts +1 -1
- package/dist/runtime/components/Switch.vue.d.ts +1 -1
- package/dist/runtime/components/Table.vue +83 -8
- package/dist/runtime/components/Table.vue.d.ts +20 -4
- package/dist/runtime/components/Tabs.vue +26 -5
- package/dist/runtime/components/Tabs.vue.d.ts +8 -3
- package/dist/runtime/components/Textarea.vue +10 -7
- package/dist/runtime/components/Textarea.vue.d.ts +10 -9
- package/dist/runtime/components/Timeline.vue.d.ts +1 -1
- package/dist/runtime/components/Toast.vue +12 -4
- package/dist/runtime/components/Toast.vue.d.ts +14 -13
- package/dist/runtime/components/Toaster.vue.d.ts +1 -1
- package/dist/runtime/components/Tooltip.vue +2 -1
- package/dist/runtime/components/Tooltip.vue.d.ts +8 -2
- package/dist/runtime/components/Tree.vue +3 -2
- package/dist/runtime/components/Tree.vue.d.ts +1 -1
- package/dist/runtime/components/User.vue.d.ts +1 -1
- package/dist/runtime/components/color-mode/ColorModeAvatar.vue.d.ts +1 -1
- package/dist/runtime/components/color-mode/ColorModeButton.vue.d.ts +1 -1
- package/dist/runtime/components/color-mode/ColorModeImage.vue.d.ts +1 -1
- package/dist/runtime/components/color-mode/ColorModeSelect.vue +1 -1
- package/dist/runtime/components/color-mode/ColorModeSelect.vue.d.ts +1 -1
- package/dist/runtime/components/color-mode/ColorModeSwitch.vue.d.ts +1 -1
- package/dist/runtime/components/content/ContentNavigation.vue.d.ts +1 -1
- package/dist/runtime/components/content/ContentSearch.vue +17 -7
- package/dist/runtime/components/content/ContentSearchButton.vue.d.ts +1 -1
- package/dist/runtime/components/content/ContentSurround.vue +10 -4
- package/dist/runtime/components/content/ContentSurround.vue.d.ts +1 -1
- package/dist/runtime/components/content/ContentToc.vue.d.ts +1 -1
- package/dist/runtime/components/locale/LocaleSelect.vue.d.ts +1 -1
- package/dist/runtime/components/prose/A.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Accordion.vue.d.ts +1 -1
- package/dist/runtime/components/prose/AccordionItem.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Badge.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Blockquote.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Callout.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Card.vue.d.ts +1 -1
- package/dist/runtime/components/prose/CardGroup.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Code.vue.d.ts +1 -1
- package/dist/runtime/components/prose/CodeCollapse.vue.d.ts +1 -1
- package/dist/runtime/components/prose/CodeGroup.vue.d.ts +1 -1
- package/dist/runtime/components/prose/CodeIcon.vue.d.ts +1 -1
- package/dist/runtime/components/prose/CodePreview.vue.d.ts +1 -1
- package/dist/runtime/components/prose/CodeTree.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Collapsible.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Em.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Field.vue.d.ts +1 -1
- package/dist/runtime/components/prose/FieldGroup.vue.d.ts +1 -1
- package/dist/runtime/components/prose/H1.vue.d.ts +1 -1
- package/dist/runtime/components/prose/H2.vue.d.ts +1 -1
- package/dist/runtime/components/prose/H3.vue.d.ts +1 -1
- package/dist/runtime/components/prose/H4.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Hr.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Icon.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Img.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Kbd.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Li.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Ol.vue.d.ts +1 -1
- package/dist/runtime/components/prose/P.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Pre.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Script.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Steps.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Strong.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Table.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Tabs.vue.d.ts +1 -1
- package/dist/runtime/components/prose/TabsItem.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Tbody.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Td.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Th.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Thead.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Tr.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Ul.vue.d.ts +1 -1
- package/dist/runtime/components/prose/callout/Caution.vue.d.ts +3 -3
- package/dist/runtime/components/prose/callout/Note.vue.d.ts +3 -3
- package/dist/runtime/components/prose/callout/Tip.vue.d.ts +3 -3
- package/dist/runtime/components/prose/callout/Warning.vue.d.ts +3 -3
- package/dist/runtime/composables/defineShortcuts.js +5 -3
- package/dist/runtime/composables/useBreakpoint.js +8 -8
- package/dist/runtime/composables/useFileUpload.d.ts +19 -0
- package/dist/runtime/composables/useFileUpload.js +63 -0
- package/dist/runtime/composables/useFormField.d.ts +1 -4
- package/dist/runtime/composables/useFormField.js +5 -2
- package/dist/runtime/composables/useKbd.d.ts +1 -1
- package/dist/runtime/composables/useLocale.js +2 -2
- package/dist/runtime/composables/useOverlay.d.ts +28 -1
- package/dist/runtime/composables/useOverlay.js +4 -4
- package/dist/runtime/inertia/components/Link.vue.d.ts +1 -1
- package/dist/runtime/inertia/components/LinkBase.vue.d.ts +1 -1
- package/dist/runtime/inertia/stubs.d.ts +1 -0
- package/dist/runtime/inertia/stubs.js +4 -2
- package/dist/runtime/locale/ar.js +2 -1
- package/dist/runtime/locale/az.js +1 -0
- package/dist/runtime/locale/bg.js +1 -0
- package/dist/runtime/locale/bn.js +1 -0
- package/dist/runtime/locale/ca.js +1 -0
- package/dist/runtime/locale/ckb.js +2 -1
- package/dist/runtime/locale/cs.js +1 -0
- package/dist/runtime/locale/da.js +1 -0
- package/dist/runtime/locale/de.js +1 -0
- package/dist/runtime/locale/el.js +1 -0
- package/dist/runtime/locale/en.js +1 -0
- package/dist/runtime/locale/es.js +1 -0
- package/dist/runtime/locale/et.js +1 -0
- package/dist/runtime/locale/fa_ir.js +1 -0
- package/dist/runtime/locale/fi.js +1 -0
- package/dist/runtime/locale/fr.js +1 -0
- package/dist/runtime/locale/he.js +1 -0
- package/dist/runtime/locale/hi.js +2 -1
- package/dist/runtime/locale/hu.js +1 -0
- package/dist/runtime/locale/hy.js +1 -0
- package/dist/runtime/locale/id.js +1 -0
- package/dist/runtime/locale/it.js +1 -0
- package/dist/runtime/locale/ja.js +1 -0
- package/dist/runtime/locale/kk.js +1 -0
- package/dist/runtime/locale/km.js +2 -1
- package/dist/runtime/locale/ko.js +1 -0
- package/dist/runtime/locale/ky.js +1 -0
- package/dist/runtime/locale/lb.js +1 -0
- package/dist/runtime/locale/lt.js +1 -0
- package/dist/runtime/locale/mn.js +1 -0
- package/dist/runtime/locale/ms.js +1 -0
- package/dist/runtime/locale/nb_no.js +1 -0
- package/dist/runtime/locale/nl.js +1 -0
- package/dist/runtime/locale/pl.js +1 -0
- package/dist/runtime/locale/pt.js +1 -0
- package/dist/runtime/locale/pt_br.js +1 -0
- package/dist/runtime/locale/ro.js +1 -0
- package/dist/runtime/locale/ru.js +1 -0
- package/dist/runtime/locale/sk.js +1 -0
- package/dist/runtime/locale/sl.js +1 -0
- package/dist/runtime/locale/sv.js +1 -0
- package/dist/runtime/locale/th.js +1 -0
- package/dist/runtime/locale/tj.js +1 -0
- package/dist/runtime/locale/tr.js +1 -0
- package/dist/runtime/locale/ug_cn.js +1 -0
- package/dist/runtime/locale/uk.js +1 -0
- package/dist/runtime/locale/ur.js +1 -0
- package/dist/runtime/locale/uz.js +1 -0
- package/dist/runtime/locale/vi.js +1 -0
- package/dist/runtime/locale/zh_cn.js +1 -0
- package/dist/runtime/locale/zh_tw.js +1 -0
- package/dist/runtime/types/index.d.ts +2 -0
- package/dist/runtime/types/index.js +2 -0
- package/dist/runtime/types/locale.d.ts +1 -0
- package/dist/runtime/utils/content.d.ts +18 -6
- package/dist/runtime/utils/content.js +51 -25
- package/dist/runtime/utils/index.d.ts +1 -0
- package/dist/runtime/utils/index.js +9 -0
- package/dist/runtime/vue/components/Icon.vue.d.ts +1 -1
- package/dist/runtime/vue/components/Link.vue.d.ts +1 -1
- package/dist/runtime/vue/components/color-mode/ColorModeButton.vue.d.ts +1 -1
- package/dist/runtime/vue/components/color-mode/ColorModeSelect.vue +1 -1
- package/dist/runtime/vue/components/color-mode/ColorModeSelect.vue.d.ts +1 -1
- package/dist/runtime/vue/components/color-mode/ColorModeSwitch.vue.d.ts +1 -1
- package/dist/runtime/vue/stubs.d.ts +1 -0
- package/dist/runtime/vue/stubs.js +3 -1
- package/dist/shared/{ui.i6pGHFq6.mjs → ui.CgUuvRXi.mjs} +282 -29
- package/dist/unplugin.d.mts +2 -1
- package/dist/unplugin.mjs +6 -3
- package/dist/vite.mjs +1 -1
- package/package.json +57 -41
package/.nuxt/ui/button.ts
CHANGED
|
@@ -127,212 +127,212 @@ export default {
|
|
|
127
127
|
{
|
|
128
128
|
"color": "primary" as typeof color[number],
|
|
129
129
|
"variant": "solid" as typeof variant[number],
|
|
130
|
-
"class": "text-inverted bg-primary hover:bg-primary/75 disabled:bg-primary aria-disabled:bg-primary focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary"
|
|
130
|
+
"class": "text-inverted bg-primary hover:bg-primary/75 active:bg-primary/75 disabled:bg-primary aria-disabled:bg-primary focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary"
|
|
131
131
|
},
|
|
132
132
|
{
|
|
133
133
|
"color": "secondary" as typeof color[number],
|
|
134
134
|
"variant": "solid" as typeof variant[number],
|
|
135
|
-
"class": "text-inverted bg-secondary hover:bg-secondary/75 disabled:bg-secondary aria-disabled:bg-secondary focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-secondary"
|
|
135
|
+
"class": "text-inverted bg-secondary hover:bg-secondary/75 active:bg-secondary/75 disabled:bg-secondary aria-disabled:bg-secondary focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-secondary"
|
|
136
136
|
},
|
|
137
137
|
{
|
|
138
138
|
"color": "success" as typeof color[number],
|
|
139
139
|
"variant": "solid" as typeof variant[number],
|
|
140
|
-
"class": "text-inverted bg-success hover:bg-success/75 disabled:bg-success aria-disabled:bg-success focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-success"
|
|
140
|
+
"class": "text-inverted bg-success hover:bg-success/75 active:bg-success/75 disabled:bg-success aria-disabled:bg-success focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-success"
|
|
141
141
|
},
|
|
142
142
|
{
|
|
143
143
|
"color": "info" as typeof color[number],
|
|
144
144
|
"variant": "solid" as typeof variant[number],
|
|
145
|
-
"class": "text-inverted bg-info hover:bg-info/75 disabled:bg-info aria-disabled:bg-info focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-info"
|
|
145
|
+
"class": "text-inverted bg-info hover:bg-info/75 active:bg-info/75 disabled:bg-info aria-disabled:bg-info focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-info"
|
|
146
146
|
},
|
|
147
147
|
{
|
|
148
148
|
"color": "warning" as typeof color[number],
|
|
149
149
|
"variant": "solid" as typeof variant[number],
|
|
150
|
-
"class": "text-inverted bg-warning hover:bg-warning/75 disabled:bg-warning aria-disabled:bg-warning focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-warning"
|
|
150
|
+
"class": "text-inverted bg-warning hover:bg-warning/75 active:bg-warning/75 disabled:bg-warning aria-disabled:bg-warning focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-warning"
|
|
151
151
|
},
|
|
152
152
|
{
|
|
153
153
|
"color": "error" as typeof color[number],
|
|
154
154
|
"variant": "solid" as typeof variant[number],
|
|
155
|
-
"class": "text-inverted bg-error hover:bg-error/75 disabled:bg-error aria-disabled:bg-error focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-error"
|
|
155
|
+
"class": "text-inverted bg-error hover:bg-error/75 active:bg-error/75 disabled:bg-error aria-disabled:bg-error focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-error"
|
|
156
156
|
},
|
|
157
157
|
{
|
|
158
158
|
"color": "primary" as typeof color[number],
|
|
159
159
|
"variant": "outline" as typeof variant[number],
|
|
160
|
-
"class": "ring ring-inset ring-primary/50 text-primary hover:bg-primary/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-primary"
|
|
160
|
+
"class": "ring ring-inset ring-primary/50 text-primary hover:bg-primary/10 active:bg-primary/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-primary"
|
|
161
161
|
},
|
|
162
162
|
{
|
|
163
163
|
"color": "secondary" as typeof color[number],
|
|
164
164
|
"variant": "outline" as typeof variant[number],
|
|
165
|
-
"class": "ring ring-inset ring-secondary/50 text-secondary hover:bg-secondary/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-secondary"
|
|
165
|
+
"class": "ring ring-inset ring-secondary/50 text-secondary hover:bg-secondary/10 active:bg-secondary/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-secondary"
|
|
166
166
|
},
|
|
167
167
|
{
|
|
168
168
|
"color": "success" as typeof color[number],
|
|
169
169
|
"variant": "outline" as typeof variant[number],
|
|
170
|
-
"class": "ring ring-inset ring-success/50 text-success hover:bg-success/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-success"
|
|
170
|
+
"class": "ring ring-inset ring-success/50 text-success hover:bg-success/10 active:bg-success/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-success"
|
|
171
171
|
},
|
|
172
172
|
{
|
|
173
173
|
"color": "info" as typeof color[number],
|
|
174
174
|
"variant": "outline" as typeof variant[number],
|
|
175
|
-
"class": "ring ring-inset ring-info/50 text-info hover:bg-info/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-info"
|
|
175
|
+
"class": "ring ring-inset ring-info/50 text-info hover:bg-info/10 active:bg-info/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-info"
|
|
176
176
|
},
|
|
177
177
|
{
|
|
178
178
|
"color": "warning" as typeof color[number],
|
|
179
179
|
"variant": "outline" as typeof variant[number],
|
|
180
|
-
"class": "ring ring-inset ring-warning/50 text-warning hover:bg-warning/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-warning"
|
|
180
|
+
"class": "ring ring-inset ring-warning/50 text-warning hover:bg-warning/10 active:bg-warning/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-warning"
|
|
181
181
|
},
|
|
182
182
|
{
|
|
183
183
|
"color": "error" as typeof color[number],
|
|
184
184
|
"variant": "outline" as typeof variant[number],
|
|
185
|
-
"class": "ring ring-inset ring-error/50 text-error hover:bg-error/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-error"
|
|
185
|
+
"class": "ring ring-inset ring-error/50 text-error hover:bg-error/10 active:bg-error/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-error"
|
|
186
186
|
},
|
|
187
187
|
{
|
|
188
188
|
"color": "primary" as typeof color[number],
|
|
189
189
|
"variant": "soft" as typeof variant[number],
|
|
190
|
-
"class": "text-primary bg-primary/10 hover:bg-primary/15 focus:outline-none focus-visible:bg-primary/15 disabled:bg-primary/10 aria-disabled:bg-primary/10"
|
|
190
|
+
"class": "text-primary bg-primary/10 hover:bg-primary/15 active:bg-primary/15 focus:outline-none focus-visible:bg-primary/15 disabled:bg-primary/10 aria-disabled:bg-primary/10"
|
|
191
191
|
},
|
|
192
192
|
{
|
|
193
193
|
"color": "secondary" as typeof color[number],
|
|
194
194
|
"variant": "soft" as typeof variant[number],
|
|
195
|
-
"class": "text-secondary bg-secondary/10 hover:bg-secondary/15 focus:outline-none focus-visible:bg-secondary/15 disabled:bg-secondary/10 aria-disabled:bg-secondary/10"
|
|
195
|
+
"class": "text-secondary bg-secondary/10 hover:bg-secondary/15 active:bg-secondary/15 focus:outline-none focus-visible:bg-secondary/15 disabled:bg-secondary/10 aria-disabled:bg-secondary/10"
|
|
196
196
|
},
|
|
197
197
|
{
|
|
198
198
|
"color": "success" as typeof color[number],
|
|
199
199
|
"variant": "soft" as typeof variant[number],
|
|
200
|
-
"class": "text-success bg-success/10 hover:bg-success/15 focus:outline-none focus-visible:bg-success/15 disabled:bg-success/10 aria-disabled:bg-success/10"
|
|
200
|
+
"class": "text-success bg-success/10 hover:bg-success/15 active:bg-success/15 focus:outline-none focus-visible:bg-success/15 disabled:bg-success/10 aria-disabled:bg-success/10"
|
|
201
201
|
},
|
|
202
202
|
{
|
|
203
203
|
"color": "info" as typeof color[number],
|
|
204
204
|
"variant": "soft" as typeof variant[number],
|
|
205
|
-
"class": "text-info bg-info/10 hover:bg-info/15 focus:outline-none focus-visible:bg-info/15 disabled:bg-info/10 aria-disabled:bg-info/10"
|
|
205
|
+
"class": "text-info bg-info/10 hover:bg-info/15 active:bg-info/15 focus:outline-none focus-visible:bg-info/15 disabled:bg-info/10 aria-disabled:bg-info/10"
|
|
206
206
|
},
|
|
207
207
|
{
|
|
208
208
|
"color": "warning" as typeof color[number],
|
|
209
209
|
"variant": "soft" as typeof variant[number],
|
|
210
|
-
"class": "text-warning bg-warning/10 hover:bg-warning/15 focus:outline-none focus-visible:bg-warning/15 disabled:bg-warning/10 aria-disabled:bg-warning/10"
|
|
210
|
+
"class": "text-warning bg-warning/10 hover:bg-warning/15 active:bg-warning/15 focus:outline-none focus-visible:bg-warning/15 disabled:bg-warning/10 aria-disabled:bg-warning/10"
|
|
211
211
|
},
|
|
212
212
|
{
|
|
213
213
|
"color": "error" as typeof color[number],
|
|
214
214
|
"variant": "soft" as typeof variant[number],
|
|
215
|
-
"class": "text-error bg-error/10 hover:bg-error/15 focus:outline-none focus-visible:bg-error/15 disabled:bg-error/10 aria-disabled:bg-error/10"
|
|
215
|
+
"class": "text-error bg-error/10 hover:bg-error/15 active:bg-error/15 focus:outline-none focus-visible:bg-error/15 disabled:bg-error/10 aria-disabled:bg-error/10"
|
|
216
216
|
},
|
|
217
217
|
{
|
|
218
218
|
"color": "primary" as typeof color[number],
|
|
219
219
|
"variant": "subtle" as typeof variant[number],
|
|
220
|
-
"class": "text-primary ring ring-inset ring-primary/25 bg-primary/10 hover:bg-primary/15 disabled:bg-primary/10 aria-disabled:bg-primary/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-primary"
|
|
220
|
+
"class": "text-primary ring ring-inset ring-primary/25 bg-primary/10 hover:bg-primary/15 active:bg-primary/15 disabled:bg-primary/10 aria-disabled:bg-primary/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-primary"
|
|
221
221
|
},
|
|
222
222
|
{
|
|
223
223
|
"color": "secondary" as typeof color[number],
|
|
224
224
|
"variant": "subtle" as typeof variant[number],
|
|
225
|
-
"class": "text-secondary ring ring-inset ring-secondary/25 bg-secondary/10 hover:bg-secondary/15 disabled:bg-secondary/10 aria-disabled:bg-secondary/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-secondary"
|
|
225
|
+
"class": "text-secondary ring ring-inset ring-secondary/25 bg-secondary/10 hover:bg-secondary/15 active:bg-secondary/15 disabled:bg-secondary/10 aria-disabled:bg-secondary/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-secondary"
|
|
226
226
|
},
|
|
227
227
|
{
|
|
228
228
|
"color": "success" as typeof color[number],
|
|
229
229
|
"variant": "subtle" as typeof variant[number],
|
|
230
|
-
"class": "text-success ring ring-inset ring-success/25 bg-success/10 hover:bg-success/15 disabled:bg-success/10 aria-disabled:bg-success/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-success"
|
|
230
|
+
"class": "text-success ring ring-inset ring-success/25 bg-success/10 hover:bg-success/15 active:bg-success/15 disabled:bg-success/10 aria-disabled:bg-success/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-success"
|
|
231
231
|
},
|
|
232
232
|
{
|
|
233
233
|
"color": "info" as typeof color[number],
|
|
234
234
|
"variant": "subtle" as typeof variant[number],
|
|
235
|
-
"class": "text-info ring ring-inset ring-info/25 bg-info/10 hover:bg-info/15 disabled:bg-info/10 aria-disabled:bg-info/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-info"
|
|
235
|
+
"class": "text-info ring ring-inset ring-info/25 bg-info/10 hover:bg-info/15 active:bg-info/15 disabled:bg-info/10 aria-disabled:bg-info/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-info"
|
|
236
236
|
},
|
|
237
237
|
{
|
|
238
238
|
"color": "warning" as typeof color[number],
|
|
239
239
|
"variant": "subtle" as typeof variant[number],
|
|
240
|
-
"class": "text-warning ring ring-inset ring-warning/25 bg-warning/10 hover:bg-warning/15 disabled:bg-warning/10 aria-disabled:bg-warning/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-warning"
|
|
240
|
+
"class": "text-warning ring ring-inset ring-warning/25 bg-warning/10 hover:bg-warning/15 active:bg-warning/15 disabled:bg-warning/10 aria-disabled:bg-warning/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-warning"
|
|
241
241
|
},
|
|
242
242
|
{
|
|
243
243
|
"color": "error" as typeof color[number],
|
|
244
244
|
"variant": "subtle" as typeof variant[number],
|
|
245
|
-
"class": "text-error ring ring-inset ring-error/25 bg-error/10 hover:bg-error/15 disabled:bg-error/10 aria-disabled:bg-error/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-error"
|
|
245
|
+
"class": "text-error ring ring-inset ring-error/25 bg-error/10 hover:bg-error/15 active:bg-error/15 disabled:bg-error/10 aria-disabled:bg-error/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-error"
|
|
246
246
|
},
|
|
247
247
|
{
|
|
248
248
|
"color": "primary" as typeof color[number],
|
|
249
249
|
"variant": "ghost" as typeof variant[number],
|
|
250
|
-
"class": "text-primary hover:bg-primary/10 focus:outline-none focus-visible:bg-primary/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"
|
|
250
|
+
"class": "text-primary hover:bg-primary/10 active:bg-primary/10 focus:outline-none focus-visible:bg-primary/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"
|
|
251
251
|
},
|
|
252
252
|
{
|
|
253
253
|
"color": "secondary" as typeof color[number],
|
|
254
254
|
"variant": "ghost" as typeof variant[number],
|
|
255
|
-
"class": "text-secondary hover:bg-secondary/10 focus:outline-none focus-visible:bg-secondary/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"
|
|
255
|
+
"class": "text-secondary hover:bg-secondary/10 active:bg-secondary/10 focus:outline-none focus-visible:bg-secondary/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"
|
|
256
256
|
},
|
|
257
257
|
{
|
|
258
258
|
"color": "success" as typeof color[number],
|
|
259
259
|
"variant": "ghost" as typeof variant[number],
|
|
260
|
-
"class": "text-success hover:bg-success/10 focus:outline-none focus-visible:bg-success/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"
|
|
260
|
+
"class": "text-success hover:bg-success/10 active:bg-success/10 focus:outline-none focus-visible:bg-success/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"
|
|
261
261
|
},
|
|
262
262
|
{
|
|
263
263
|
"color": "info" as typeof color[number],
|
|
264
264
|
"variant": "ghost" as typeof variant[number],
|
|
265
|
-
"class": "text-info hover:bg-info/10 focus:outline-none focus-visible:bg-info/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"
|
|
265
|
+
"class": "text-info hover:bg-info/10 active:bg-info/10 focus:outline-none focus-visible:bg-info/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"
|
|
266
266
|
},
|
|
267
267
|
{
|
|
268
268
|
"color": "warning" as typeof color[number],
|
|
269
269
|
"variant": "ghost" as typeof variant[number],
|
|
270
|
-
"class": "text-warning hover:bg-warning/10 focus:outline-none focus-visible:bg-warning/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"
|
|
270
|
+
"class": "text-warning hover:bg-warning/10 active:bg-warning/10 focus:outline-none focus-visible:bg-warning/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"
|
|
271
271
|
},
|
|
272
272
|
{
|
|
273
273
|
"color": "error" as typeof color[number],
|
|
274
274
|
"variant": "ghost" as typeof variant[number],
|
|
275
|
-
"class": "text-error hover:bg-error/10 focus:outline-none focus-visible:bg-error/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"
|
|
275
|
+
"class": "text-error hover:bg-error/10 active:bg-error/10 focus:outline-none focus-visible:bg-error/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"
|
|
276
276
|
},
|
|
277
277
|
{
|
|
278
278
|
"color": "primary" as typeof color[number],
|
|
279
279
|
"variant": "link" as typeof variant[number],
|
|
280
|
-
"class": "text-primary hover:text-primary/75 disabled:text-primary aria-disabled:text-primary focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary"
|
|
280
|
+
"class": "text-primary hover:text-primary/75 active:text-primary/75 disabled:text-primary aria-disabled:text-primary focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary"
|
|
281
281
|
},
|
|
282
282
|
{
|
|
283
283
|
"color": "secondary" as typeof color[number],
|
|
284
284
|
"variant": "link" as typeof variant[number],
|
|
285
|
-
"class": "text-secondary hover:text-secondary/75 disabled:text-secondary aria-disabled:text-secondary focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-secondary"
|
|
285
|
+
"class": "text-secondary hover:text-secondary/75 active:text-secondary/75 disabled:text-secondary aria-disabled:text-secondary focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-secondary"
|
|
286
286
|
},
|
|
287
287
|
{
|
|
288
288
|
"color": "success" as typeof color[number],
|
|
289
289
|
"variant": "link" as typeof variant[number],
|
|
290
|
-
"class": "text-success hover:text-success/75 disabled:text-success aria-disabled:text-success focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-success"
|
|
290
|
+
"class": "text-success hover:text-success/75 active:text-success/75 disabled:text-success aria-disabled:text-success focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-success"
|
|
291
291
|
},
|
|
292
292
|
{
|
|
293
293
|
"color": "info" as typeof color[number],
|
|
294
294
|
"variant": "link" as typeof variant[number],
|
|
295
|
-
"class": "text-info hover:text-info/75 disabled:text-info aria-disabled:text-info focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-info"
|
|
295
|
+
"class": "text-info hover:text-info/75 active:text-info/75 disabled:text-info aria-disabled:text-info focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-info"
|
|
296
296
|
},
|
|
297
297
|
{
|
|
298
298
|
"color": "warning" as typeof color[number],
|
|
299
299
|
"variant": "link" as typeof variant[number],
|
|
300
|
-
"class": "text-warning hover:text-warning/75 disabled:text-warning aria-disabled:text-warning focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-warning"
|
|
300
|
+
"class": "text-warning hover:text-warning/75 active:text-warning/75 disabled:text-warning aria-disabled:text-warning focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-warning"
|
|
301
301
|
},
|
|
302
302
|
{
|
|
303
303
|
"color": "error" as typeof color[number],
|
|
304
304
|
"variant": "link" as typeof variant[number],
|
|
305
|
-
"class": "text-error hover:text-error/75 disabled:text-error aria-disabled:text-error focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-error"
|
|
305
|
+
"class": "text-error hover:text-error/75 active:text-error/75 disabled:text-error aria-disabled:text-error focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-error"
|
|
306
306
|
},
|
|
307
307
|
{
|
|
308
308
|
"color": "neutral" as typeof color[number],
|
|
309
309
|
"variant": "solid" as typeof variant[number],
|
|
310
|
-
"class": "text-inverted bg-inverted hover:bg-inverted/90 disabled:bg-inverted aria-disabled:bg-inverted focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-inverted"
|
|
310
|
+
"class": "text-inverted bg-inverted hover:bg-inverted/90 active:bg-inverted/90 disabled:bg-inverted aria-disabled:bg-inverted focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-inverted"
|
|
311
311
|
},
|
|
312
312
|
{
|
|
313
313
|
"color": "neutral" as typeof color[number],
|
|
314
314
|
"variant": "outline" as typeof variant[number],
|
|
315
|
-
"class": "ring ring-inset ring-accented text-default bg-default hover:bg-elevated disabled:bg-default aria-disabled:bg-default focus:outline-none focus-visible:ring-2 focus-visible:ring-inverted"
|
|
315
|
+
"class": "ring ring-inset ring-accented text-default bg-default hover:bg-elevated active:bg-elevated disabled:bg-default aria-disabled:bg-default focus:outline-none focus-visible:ring-2 focus-visible:ring-inverted"
|
|
316
316
|
},
|
|
317
317
|
{
|
|
318
318
|
"color": "neutral" as typeof color[number],
|
|
319
319
|
"variant": "soft" as typeof variant[number],
|
|
320
|
-
"class": "text-default bg-elevated hover:bg-accented/75 focus:outline-none focus-visible:bg-accented/75 disabled:bg-elevated aria-disabled:bg-elevated"
|
|
320
|
+
"class": "text-default bg-elevated hover:bg-accented/75 active:bg-accented/75 focus:outline-none focus-visible:bg-accented/75 disabled:bg-elevated aria-disabled:bg-elevated"
|
|
321
321
|
},
|
|
322
322
|
{
|
|
323
323
|
"color": "neutral" as typeof color[number],
|
|
324
324
|
"variant": "subtle" as typeof variant[number],
|
|
325
|
-
"class": "ring ring-inset ring-accented text-default bg-elevated hover:bg-accented/75 disabled:bg-elevated aria-disabled:bg-elevated focus:outline-none focus-visible:ring-2 focus-visible:ring-inverted"
|
|
325
|
+
"class": "ring ring-inset ring-accented text-default bg-elevated hover:bg-accented/75 active:bg-accented/75 disabled:bg-elevated aria-disabled:bg-elevated focus:outline-none focus-visible:ring-2 focus-visible:ring-inverted"
|
|
326
326
|
},
|
|
327
327
|
{
|
|
328
328
|
"color": "neutral" as typeof color[number],
|
|
329
329
|
"variant": "ghost" as typeof variant[number],
|
|
330
|
-
"class": "text-default hover:bg-elevated focus:outline-none focus-visible:bg-elevated hover:disabled:bg-transparent dark:hover:disabled:bg-transparent hover:aria-disabled:bg-transparent dark:hover:aria-disabled:bg-transparent"
|
|
330
|
+
"class": "text-default hover:bg-elevated active:bg-elevated focus:outline-none focus-visible:bg-elevated hover:disabled:bg-transparent dark:hover:disabled:bg-transparent hover:aria-disabled:bg-transparent dark:hover:aria-disabled:bg-transparent"
|
|
331
331
|
},
|
|
332
332
|
{
|
|
333
333
|
"color": "neutral" as typeof color[number],
|
|
334
334
|
"variant": "link" as typeof variant[number],
|
|
335
|
-
"class": "text-muted hover:text-default disabled:text-muted aria-disabled:text-muted focus:outline-none focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-inverted"
|
|
335
|
+
"class": "text-muted hover:text-default active:text-default disabled:text-muted aria-disabled:text-muted focus:outline-none focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-inverted"
|
|
336
336
|
},
|
|
337
337
|
{
|
|
338
338
|
"size": "xs" as typeof size[number],
|
|
@@ -5,6 +5,7 @@ export default {
|
|
|
5
5
|
"close": "",
|
|
6
6
|
"back": "p-0",
|
|
7
7
|
"content": "relative overflow-hidden flex flex-col",
|
|
8
|
+
"footer": "p-1",
|
|
8
9
|
"viewport": "relative divide-y divide-default scroll-py-1 overflow-y-auto flex-1 focus:outline-none",
|
|
9
10
|
"group": "p-1 isolate",
|
|
10
11
|
"empty": "py-6 text-center text-sm text-muted",
|
|
@@ -20,7 +21,7 @@ export default {
|
|
|
20
21
|
"itemTrailingHighlightedIcon": "shrink-0 size-5 text-dimmed hidden group-data-highlighted:inline-flex",
|
|
21
22
|
"itemTrailingKbds": "hidden lg:inline-flex items-center shrink-0 gap-0.5",
|
|
22
23
|
"itemTrailingKbdsSize": "md",
|
|
23
|
-
"itemLabel": "truncate space-x-1
|
|
24
|
+
"itemLabel": "truncate space-x-1 text-dimmed",
|
|
24
25
|
"itemLabelBase": "text-highlighted [&>mark]:text-inverted [&>mark]:bg-primary",
|
|
25
26
|
"itemLabelPrefix": "text-default",
|
|
26
27
|
"itemLabelSuffix": "text-dimmed [&>mark]:text-inverted [&>mark]:bg-primary"
|
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
const color = [
|
|
2
|
+
"primary",
|
|
3
|
+
"secondary",
|
|
4
|
+
"success",
|
|
5
|
+
"info",
|
|
6
|
+
"warning",
|
|
7
|
+
"error",
|
|
8
|
+
"neutral"
|
|
9
|
+
] as const
|
|
10
|
+
|
|
11
|
+
const variant = [
|
|
12
|
+
"area",
|
|
13
|
+
"button"
|
|
14
|
+
] as const
|
|
15
|
+
|
|
16
|
+
const size = [
|
|
17
|
+
"xs",
|
|
18
|
+
"sm",
|
|
19
|
+
"md",
|
|
20
|
+
"lg",
|
|
21
|
+
"xl"
|
|
22
|
+
] as const
|
|
23
|
+
|
|
24
|
+
const layout = [
|
|
25
|
+
"list",
|
|
26
|
+
"grid"
|
|
27
|
+
] as const
|
|
28
|
+
|
|
29
|
+
const position = [
|
|
30
|
+
"inside",
|
|
31
|
+
"outside"
|
|
32
|
+
] as const
|
|
33
|
+
|
|
34
|
+
export default {
|
|
35
|
+
"slots": {
|
|
36
|
+
"root": "relative flex flex-col",
|
|
37
|
+
"base": [
|
|
38
|
+
"w-full flex-1 bg-default border border-default flex flex-col gap-2 items-stretch justify-center rounded-lg focus-visible:outline-2",
|
|
39
|
+
"transition-[background]"
|
|
40
|
+
],
|
|
41
|
+
"wrapper": "flex flex-col items-center justify-center text-center",
|
|
42
|
+
"icon": "shrink-0",
|
|
43
|
+
"avatar": "shrink-0",
|
|
44
|
+
"label": "font-medium text-default mt-2",
|
|
45
|
+
"description": "text-muted mt-1",
|
|
46
|
+
"actions": "flex flex-wrap gap-1.5 shrink-0 mt-4",
|
|
47
|
+
"files": "",
|
|
48
|
+
"file": "relative",
|
|
49
|
+
"fileLeadingAvatar": "shrink-0",
|
|
50
|
+
"fileWrapper": "flex flex-col min-w-0",
|
|
51
|
+
"fileName": "text-default truncate",
|
|
52
|
+
"fileSize": "text-muted truncate",
|
|
53
|
+
"fileTrailingButton": ""
|
|
54
|
+
},
|
|
55
|
+
"variants": {
|
|
56
|
+
"color": {
|
|
57
|
+
"primary": "",
|
|
58
|
+
"secondary": "",
|
|
59
|
+
"success": "",
|
|
60
|
+
"info": "",
|
|
61
|
+
"warning": "",
|
|
62
|
+
"error": "",
|
|
63
|
+
"neutral": ""
|
|
64
|
+
},
|
|
65
|
+
"variant": {
|
|
66
|
+
"area": {
|
|
67
|
+
"wrapper": "px-4 py-3",
|
|
68
|
+
"base": "p-4"
|
|
69
|
+
},
|
|
70
|
+
"button": {}
|
|
71
|
+
},
|
|
72
|
+
"size": {
|
|
73
|
+
"xs": {
|
|
74
|
+
"base": "text-xs",
|
|
75
|
+
"icon": "size-4",
|
|
76
|
+
"file": "text-xs px-2 py-1 gap-1",
|
|
77
|
+
"fileWrapper": "flex-row gap-1"
|
|
78
|
+
},
|
|
79
|
+
"sm": {
|
|
80
|
+
"base": "text-xs",
|
|
81
|
+
"icon": "size-4",
|
|
82
|
+
"file": "text-xs px-2.5 py-1.5 gap-1.5",
|
|
83
|
+
"fileWrapper": "flex-row gap-1"
|
|
84
|
+
},
|
|
85
|
+
"md": {
|
|
86
|
+
"base": "text-sm",
|
|
87
|
+
"icon": "size-5",
|
|
88
|
+
"file": "text-xs px-2.5 py-1.5 gap-1.5"
|
|
89
|
+
},
|
|
90
|
+
"lg": {
|
|
91
|
+
"base": "text-sm",
|
|
92
|
+
"icon": "size-5",
|
|
93
|
+
"file": "text-sm px-3 py-2 gap-2",
|
|
94
|
+
"fileSize": "text-xs"
|
|
95
|
+
},
|
|
96
|
+
"xl": {
|
|
97
|
+
"base": "text-base",
|
|
98
|
+
"icon": "size-6",
|
|
99
|
+
"file": "text-sm px-3 py-2 gap-2"
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"layout": {
|
|
103
|
+
"list": {
|
|
104
|
+
"root": "gap-2 items-start",
|
|
105
|
+
"files": "flex flex-col w-full gap-2",
|
|
106
|
+
"file": "min-w-0 flex items-center border border-default rounded-md w-full",
|
|
107
|
+
"fileTrailingButton": "ms-auto"
|
|
108
|
+
},
|
|
109
|
+
"grid": {
|
|
110
|
+
"fileWrapper": "hidden",
|
|
111
|
+
"fileLeadingAvatar": "size-full rounded-lg",
|
|
112
|
+
"fileTrailingButton": "absolute -top-1.5 -end-1.5 p-0 rounded-full border-2 border-bg"
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"position": {
|
|
116
|
+
"inside": "",
|
|
117
|
+
"outside": ""
|
|
118
|
+
},
|
|
119
|
+
"dropzone": {
|
|
120
|
+
"true": "border-dashed data-[dragging=true]:bg-elevated/25"
|
|
121
|
+
},
|
|
122
|
+
"interactive": {
|
|
123
|
+
"true": ""
|
|
124
|
+
},
|
|
125
|
+
"highlight": {
|
|
126
|
+
"true": ""
|
|
127
|
+
},
|
|
128
|
+
"multiple": {
|
|
129
|
+
"true": ""
|
|
130
|
+
},
|
|
131
|
+
"disabled": {
|
|
132
|
+
"true": "cursor-not-allowed opacity-75"
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"compoundVariants": [
|
|
136
|
+
{
|
|
137
|
+
"color": "primary" as typeof color[number],
|
|
138
|
+
"class": "focus-visible:outline-primary"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"color": "secondary" as typeof color[number],
|
|
142
|
+
"class": "focus-visible:outline-secondary"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"color": "success" as typeof color[number],
|
|
146
|
+
"class": "focus-visible:outline-success"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"color": "info" as typeof color[number],
|
|
150
|
+
"class": "focus-visible:outline-info"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"color": "warning" as typeof color[number],
|
|
154
|
+
"class": "focus-visible:outline-warning"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"color": "error" as typeof color[number],
|
|
158
|
+
"class": "focus-visible:outline-error"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"color": "primary" as typeof color[number],
|
|
162
|
+
"highlight": true,
|
|
163
|
+
"class": "border-primary"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"color": "secondary" as typeof color[number],
|
|
167
|
+
"highlight": true,
|
|
168
|
+
"class": "border-secondary"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"color": "success" as typeof color[number],
|
|
172
|
+
"highlight": true,
|
|
173
|
+
"class": "border-success"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"color": "info" as typeof color[number],
|
|
177
|
+
"highlight": true,
|
|
178
|
+
"class": "border-info"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"color": "warning" as typeof color[number],
|
|
182
|
+
"highlight": true,
|
|
183
|
+
"class": "border-warning"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"color": "error" as typeof color[number],
|
|
187
|
+
"highlight": true,
|
|
188
|
+
"class": "border-error"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"color": "neutral" as typeof color[number],
|
|
192
|
+
"class": "focus-visible:outline-inverted"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"color": "neutral" as typeof color[number],
|
|
196
|
+
"highlight": true,
|
|
197
|
+
"class": "border-inverted"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"size": "xs" as typeof size[number],
|
|
201
|
+
"layout": "list" as typeof layout[number],
|
|
202
|
+
"class": {
|
|
203
|
+
"fileTrailingButton": "-me-1"
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"size": "sm" as typeof size[number],
|
|
208
|
+
"layout": "list" as typeof layout[number],
|
|
209
|
+
"class": {
|
|
210
|
+
"fileTrailingButton": "-me-1.5"
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"size": "md" as typeof size[number],
|
|
215
|
+
"layout": "list" as typeof layout[number],
|
|
216
|
+
"class": {
|
|
217
|
+
"fileTrailingButton": "-me-1.5"
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"size": "lg" as typeof size[number],
|
|
222
|
+
"layout": "list" as typeof layout[number],
|
|
223
|
+
"class": {
|
|
224
|
+
"fileTrailingButton": "-me-2"
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"size": "xl" as typeof size[number],
|
|
229
|
+
"layout": "list" as typeof layout[number],
|
|
230
|
+
"class": {
|
|
231
|
+
"fileTrailingButton": "-me-2"
|
|
232
|
+
}
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"variant": "button" as typeof variant[number],
|
|
236
|
+
"size": "xs" as typeof size[number],
|
|
237
|
+
"class": {
|
|
238
|
+
"base": "p-1"
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"variant": "button" as typeof variant[number],
|
|
243
|
+
"size": "sm" as typeof size[number],
|
|
244
|
+
"class": {
|
|
245
|
+
"base": "p-1.5"
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"variant": "button" as typeof variant[number],
|
|
250
|
+
"size": "md" as typeof size[number],
|
|
251
|
+
"class": {
|
|
252
|
+
"base": "p-1.5"
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"variant": "button" as typeof variant[number],
|
|
257
|
+
"size": "lg" as typeof size[number],
|
|
258
|
+
"class": {
|
|
259
|
+
"base": "p-2"
|
|
260
|
+
}
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"variant": "button" as typeof variant[number],
|
|
264
|
+
"size": "xl" as typeof size[number],
|
|
265
|
+
"class": {
|
|
266
|
+
"base": "p-2"
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"layout": "grid" as typeof layout[number],
|
|
271
|
+
"multiple": true,
|
|
272
|
+
"class": {
|
|
273
|
+
"files": "grid grid-cols-2 md:grid-cols-3 gap-4 w-full",
|
|
274
|
+
"file": "p-0 aspect-square"
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"layout": "grid" as typeof layout[number],
|
|
279
|
+
"multiple": false,
|
|
280
|
+
"class": {
|
|
281
|
+
"file": "absolute inset-0 p-0"
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"interactive": true,
|
|
286
|
+
"disabled": false,
|
|
287
|
+
"class": "hover:bg-elevated/25"
|
|
288
|
+
}
|
|
289
|
+
],
|
|
290
|
+
"defaultVariants": {
|
|
291
|
+
"color": "primary" as typeof color[number],
|
|
292
|
+
"variant": "area" as typeof variant[number],
|
|
293
|
+
"size": "md" as typeof size[number]
|
|
294
|
+
}
|
|
295
|
+
}
|
package/.nuxt/ui/index.ts
CHANGED
|
@@ -46,6 +46,7 @@ export { default as dashboardToolbar } from './dashboard-toolbar'
|
|
|
46
46
|
export { default as drawer } from './drawer'
|
|
47
47
|
export { default as dropdownMenu } from './dropdown-menu'
|
|
48
48
|
export { default as error } from './error'
|
|
49
|
+
export { default as fileUpload } from './file-upload'
|
|
49
50
|
export { default as footer } from './footer'
|
|
50
51
|
export { default as footerColumns } from './footer-columns'
|
|
51
52
|
export { default as form } from './form'
|
|
@@ -85,6 +86,7 @@ export { default as pricingPlans } from './pricing-plans'
|
|
|
85
86
|
export { default as pricingTable } from './pricing-table'
|
|
86
87
|
export { default as progress } from './progress'
|
|
87
88
|
export { default as radioGroup } from './radio-group'
|
|
89
|
+
export { default as scrollToSection } from './scroll-to-section'
|
|
88
90
|
export { default as select } from './select'
|
|
89
91
|
export { default as selectMenu } from './select-menu'
|
|
90
92
|
export { default as separator } from './separator'
|