uisv 0.0.1
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/LICENSE +21 -0
- package/README.md +26 -0
- package/dist/components/alert.svelte +244 -0
- package/dist/components/alert.svelte.d.ts +25 -0
- package/dist/components/badge.svelte +227 -0
- package/dist/components/badge.svelte.d.ts +19 -0
- package/dist/components/button.svelte +383 -0
- package/dist/components/button.svelte.d.ts +51 -0
- package/dist/components/index.d.ts +6 -0
- package/dist/components/index.js +6 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/theme/accordion.d.ts +21 -0
- package/dist/theme/accordion.js +20 -0
- package/dist/theme/alert.d.ts +45 -0
- package/dist/theme/alert.js +102 -0
- package/dist/theme/auth-form.d.ts +21 -0
- package/dist/theme/auth-form.js +20 -0
- package/dist/theme/avatar-group.d.ts +41 -0
- package/dist/theme/avatar-group.js +40 -0
- package/dist/theme/avatar.d.ts +43 -0
- package/dist/theme/avatar.js +42 -0
- package/dist/theme/badge.d.ts +18 -0
- package/dist/theme/badge.js +131 -0
- package/dist/theme/banner.d.ts +29 -0
- package/dist/theme/banner.js +42 -0
- package/dist/theme/blog-post.d.ts +112 -0
- package/dist/theme/blog-post.js +116 -0
- package/dist/theme/blog-posts.d.ts +10 -0
- package/dist/theme/blog-posts.js +9 -0
- package/dist/theme/breadcrumb.d.ts +41 -0
- package/dist/theme/breadcrumb.js +42 -0
- package/dist/theme/button.d.ts +19 -0
- package/dist/theme/button.js +194 -0
- package/dist/theme/calendar.d.ts +59 -0
- package/dist/theme/calendar.js +68 -0
- package/dist/theme/card.d.ts +28 -0
- package/dist/theme/card.js +27 -0
- package/dist/theme/carousel.d.ts +36 -0
- package/dist/theme/carousel.js +38 -0
- package/dist/theme/changelog-version.d.ts +42 -0
- package/dist/theme/changelog-version.js +41 -0
- package/dist/theme/changelog-versions.d.ts +9 -0
- package/dist/theme/changelog-versions.js +8 -0
- package/dist/theme/chat-message.d.ts +101 -0
- package/dist/theme/chat-message.js +97 -0
- package/dist/theme/chat-messages.d.ts +15 -0
- package/dist/theme/chat-messages.js +14 -0
- package/dist/theme/chat-palette.d.ts +9 -0
- package/dist/theme/chat-palette.js +8 -0
- package/dist/theme/chat-prompt-submit.d.ts +6 -0
- package/dist/theme/chat-prompt-submit.js +5 -0
- package/dist/theme/chat-prompt.d.ts +29 -0
- package/dist/theme/chat-prompt.js +28 -0
- package/dist/theme/checkbox-group.d.ts +62 -0
- package/dist/theme/checkbox-group.js +105 -0
- package/dist/theme/checkbox.d.ts +92 -0
- package/dist/theme/checkbox.js +125 -0
- package/dist/theme/chip.d.ts +45 -0
- package/dist/theme/chip.js +62 -0
- package/dist/theme/collapsible.d.ts +7 -0
- package/dist/theme/collapsible.js +6 -0
- package/dist/theme/color-picker.d.ts +40 -0
- package/dist/theme/color-picker.js +39 -0
- package/dist/theme/command-palette.d.ts +47 -0
- package/dist/theme/command-palette.js +52 -0
- package/dist/theme/container.d.ts +4 -0
- package/dist/theme/container.js +3 -0
- package/dist/theme/content/content-navigation.d.ts +65 -0
- package/dist/theme/content/content-navigation.js +153 -0
- package/dist/theme/content/content-search-button.d.ts +7 -0
- package/dist/theme/content/content-search-button.js +6 -0
- package/dist/theme/content/content-search.d.ts +7 -0
- package/dist/theme/content/content-search.js +6 -0
- package/dist/theme/content/content-surround.d.ts +23 -0
- package/dist/theme/content/content-surround.js +21 -0
- package/dist/theme/content/content-toc.d.ts +53 -0
- package/dist/theme/content/content-toc.js +69 -0
- package/dist/theme/content/index.d.ts +5 -0
- package/dist/theme/content/index.js +5 -0
- package/dist/theme/context-menu.d.ts +91 -0
- package/dist/theme/context-menu.js +114 -0
- package/dist/theme/dashboard-group.d.ts +4 -0
- package/dist/theme/dashboard-group.js +3 -0
- package/dist/theme/dashboard-navbar.d.ts +22 -0
- package/dist/theme/dashboard-navbar.js +21 -0
- package/dist/theme/dashboard-panel.d.ts +18 -0
- package/dist/theme/dashboard-panel.js +17 -0
- package/dist/theme/dashboard-resize-handle.d.ts +4 -0
- package/dist/theme/dashboard-resize-handle.js +3 -0
- package/dist/theme/dashboard-search-button.d.ts +7 -0
- package/dist/theme/dashboard-search-button.js +6 -0
- package/dist/theme/dashboard-search.d.ts +7 -0
- package/dist/theme/dashboard-search.js +6 -0
- package/dist/theme/dashboard-sidebar-collapse.d.ts +10 -0
- package/dist/theme/dashboard-sidebar-collapse.js +9 -0
- package/dist/theme/dashboard-sidebar-toggle.d.ts +10 -0
- package/dist/theme/dashboard-sidebar-toggle.js +9 -0
- package/dist/theme/dashboard-sidebar.d.ts +38 -0
- package/dist/theme/dashboard-sidebar.js +37 -0
- package/dist/theme/dashboard-toolbar.d.ts +8 -0
- package/dist/theme/dashboard-toolbar.js +7 -0
- package/dist/theme/drawer.d.ts +54 -0
- package/dist/theme/drawer.js +110 -0
- package/dist/theme/dropdown-menu.d.ts +92 -0
- package/dist/theme/dropdown-menu.js +115 -0
- package/dist/theme/error.d.ts +10 -0
- package/dist/theme/error.js +9 -0
- package/dist/theme/file-upload.d.ts +100 -0
- package/dist/theme/file-upload.js +212 -0
- package/dist/theme/footer-columns.d.ts +27 -0
- package/dist/theme/footer-columns.js +25 -0
- package/dist/theme/footer.d.ts +12 -0
- package/dist/theme/footer.js +11 -0
- package/dist/theme/form-field.d.ts +41 -0
- package/dist/theme/form-field.js +30 -0
- package/dist/theme/form.d.ts +4 -0
- package/dist/theme/form.js +3 -0
- package/dist/theme/header.d.ts +26 -0
- package/dist/theme/header.js +25 -0
- package/dist/theme/icons.d.ts +44 -0
- package/dist/theme/icons.js +43 -0
- package/dist/theme/index.d.ts +99 -0
- package/dist/theme/index.js +99 -0
- package/dist/theme/input-menu.d.ts +159 -0
- package/dist/theme/input-menu.js +136 -0
- package/dist/theme/input-number.d.ts +16 -0
- package/dist/theme/input-number.js +130 -0
- package/dist/theme/input-tags.d.ts +86 -0
- package/dist/theme/input-tags.js +50 -0
- package/dist/theme/input.d.ts +20 -0
- package/dist/theme/input.js +179 -0
- package/dist/theme/kbd.d.ts +26 -0
- package/dist/theme/kbd.js +67 -0
- package/dist/theme/link.d.ts +18 -0
- package/dist/theme/link.js +19 -0
- package/dist/theme/main.d.ts +4 -0
- package/dist/theme/main.js +3 -0
- package/dist/theme/marquee.d.ts +47 -0
- package/dist/theme/marquee.js +56 -0
- package/dist/theme/modal.d.ts +30 -0
- package/dist/theme/modal.js +29 -0
- package/dist/theme/navigation-menu.d.ts +108 -0
- package/dist/theme/navigation-menu.js +315 -0
- package/dist/theme/page-anchors.d.ts +26 -0
- package/dist/theme/page-anchors.js +24 -0
- package/dist/theme/page-aside.d.ts +11 -0
- package/dist/theme/page-aside.js +10 -0
- package/dist/theme/page-body.d.ts +4 -0
- package/dist/theme/page-body.js +3 -0
- package/dist/theme/page-card.d.ts +90 -0
- package/dist/theme/page-card.js +156 -0
- package/dist/theme/page-columns.d.ts +4 -0
- package/dist/theme/page-columns.js +3 -0
- package/dist/theme/page-cta.d.ts +63 -0
- package/dist/theme/page-cta.js +62 -0
- package/dist/theme/page-feature.d.ts +27 -0
- package/dist/theme/page-feature.js +26 -0
- package/dist/theme/page-grid.d.ts +4 -0
- package/dist/theme/page-grid.js +3 -0
- package/dist/theme/page-header.d.ts +19 -0
- package/dist/theme/page-header.js +18 -0
- package/dist/theme/page-hero.d.ts +45 -0
- package/dist/theme/page-hero.js +44 -0
- package/dist/theme/page-links.d.ts +24 -0
- package/dist/theme/page-links.js +22 -0
- package/dist/theme/page-list.d.ts +9 -0
- package/dist/theme/page-list.js +8 -0
- package/dist/theme/page-logos.d.ts +16 -0
- package/dist/theme/page-logos.js +15 -0
- package/dist/theme/page-section.d.ts +85 -0
- package/dist/theme/page-section.js +75 -0
- package/dist/theme/page.d.ts +24 -0
- package/dist/theme/page.js +29 -0
- package/dist/theme/pagination.d.ts +14 -0
- package/dist/theme/pagination.js +13 -0
- package/dist/theme/pin-input.d.ts +45 -0
- package/dist/theme/pin-input.js +69 -0
- package/dist/theme/popover.d.ts +7 -0
- package/dist/theme/popover.js +6 -0
- package/dist/theme/pricing-plan.d.ts +81 -0
- package/dist/theme/pricing-plan.js +86 -0
- package/dist/theme/pricing-plans.d.ts +21 -0
- package/dist/theme/pricing-plans.js +20 -0
- package/dist/theme/pricing-table.d.ts +52 -0
- package/dist/theme/pricing-table.js +51 -0
- package/dist/theme/progress.d.ts +131 -0
- package/dist/theme/progress.js +241 -0
- package/dist/theme/prose/a.d.ts +5 -0
- package/dist/theme/prose/a.js +3 -0
- package/dist/theme/prose/accordion-item.d.ts +4 -0
- package/dist/theme/prose/accordion-item.js +3 -0
- package/dist/theme/prose/accordion.d.ts +7 -0
- package/dist/theme/prose/accordion.js +6 -0
- package/dist/theme/prose/badge.d.ts +4 -0
- package/dist/theme/prose/badge.js +3 -0
- package/dist/theme/prose/blockquote.d.ts +4 -0
- package/dist/theme/prose/blockquote.js +3 -0
- package/dist/theme/prose/callout.d.ts +25 -0
- package/dist/theme/prose/callout.js +42 -0
- package/dist/theme/prose/card-group.d.ts +4 -0
- package/dist/theme/prose/card-group.js +3 -0
- package/dist/theme/prose/card.d.ts +30 -0
- package/dist/theme/prose/card.js +45 -0
- package/dist/theme/prose/code-collapse.d.ts +20 -0
- package/dist/theme/prose/code-collapse.js +19 -0
- package/dist/theme/prose/code-group.d.ts +12 -0
- package/dist/theme/prose/code-group.js +10 -0
- package/dist/theme/prose/code-icon.d.ts +67 -0
- package/dist/theme/prose/code-icon.js +66 -0
- package/dist/theme/prose/code-preview.d.ts +15 -0
- package/dist/theme/prose/code-preview.js +14 -0
- package/dist/theme/prose/code-tree.d.ts +27 -0
- package/dist/theme/prose/code-tree.js +25 -0
- package/dist/theme/prose/code.d.ts +13 -0
- package/dist/theme/prose/code.js +12 -0
- package/dist/theme/prose/collapsible.d.ts +11 -0
- package/dist/theme/prose/collapsible.js +9 -0
- package/dist/theme/prose/em.d.ts +4 -0
- package/dist/theme/prose/em.js +3 -0
- package/dist/theme/prose/field-group.d.ts +4 -0
- package/dist/theme/prose/field-group.js +3 -0
- package/dist/theme/prose/field.d.ts +12 -0
- package/dist/theme/prose/field.js +11 -0
- package/dist/theme/prose/h1.d.ts +7 -0
- package/dist/theme/prose/h1.js +6 -0
- package/dist/theme/prose/h2.d.ts +10 -0
- package/dist/theme/prose/h2.js +8 -0
- package/dist/theme/prose/h3.d.ts +10 -0
- package/dist/theme/prose/h3.js +8 -0
- package/dist/theme/prose/h4.d.ts +7 -0
- package/dist/theme/prose/h4.js +6 -0
- package/dist/theme/prose/hr.d.ts +4 -0
- package/dist/theme/prose/hr.js +3 -0
- package/dist/theme/prose/icon.d.ts +4 -0
- package/dist/theme/prose/icon.js +3 -0
- package/dist/theme/prose/img.d.ts +21 -0
- package/dist/theme/prose/img.js +20 -0
- package/dist/theme/prose/index.d.ts +41 -0
- package/dist/theme/prose/index.js +41 -0
- package/dist/theme/prose/kbd.d.ts +4 -0
- package/dist/theme/prose/kbd.js +3 -0
- package/dist/theme/prose/li.d.ts +4 -0
- package/dist/theme/prose/li.js +3 -0
- package/dist/theme/prose/ol.d.ts +4 -0
- package/dist/theme/prose/ol.js +3 -0
- package/dist/theme/prose/p.d.ts +4 -0
- package/dist/theme/prose/p.js +3 -0
- package/dist/theme/prose/pre.d.ts +18 -0
- package/dist/theme/prose/pre.js +17 -0
- package/dist/theme/prose/steps.d.ts +14 -0
- package/dist/theme/prose/steps.js +13 -0
- package/dist/theme/prose/strong.d.ts +4 -0
- package/dist/theme/prose/strong.js +3 -0
- package/dist/theme/prose/table.d.ts +7 -0
- package/dist/theme/prose/table.js +6 -0
- package/dist/theme/prose/tabs-item.d.ts +4 -0
- package/dist/theme/prose/tabs-item.js +3 -0
- package/dist/theme/prose/tabs.d.ts +6 -0
- package/dist/theme/prose/tabs.js +5 -0
- package/dist/theme/prose/tbody.d.ts +4 -0
- package/dist/theme/prose/tbody.js +3 -0
- package/dist/theme/prose/td.d.ts +4 -0
- package/dist/theme/prose/td.js +3 -0
- package/dist/theme/prose/th.d.ts +4 -0
- package/dist/theme/prose/th.js +3 -0
- package/dist/theme/prose/thead.d.ts +4 -0
- package/dist/theme/prose/thead.js +3 -0
- package/dist/theme/prose/tr.d.ts +4 -0
- package/dist/theme/prose/tr.js +3 -0
- package/dist/theme/prose/ul.d.ts +4 -0
- package/dist/theme/prose/ul.js +3 -0
- package/dist/theme/radio-group.d.ts +117 -0
- package/dist/theme/radio-group.js +180 -0
- package/dist/theme/select-menu.d.ts +141 -0
- package/dist/theme/select-menu.js +21 -0
- package/dist/theme/select.d.ts +86 -0
- package/dist/theme/select.js +100 -0
- package/dist/theme/separator.d.ts +61 -0
- package/dist/theme/separator.js +104 -0
- package/dist/theme/skeleton.d.ts +4 -0
- package/dist/theme/skeleton.js +3 -0
- package/dist/theme/slideover.d.ts +42 -0
- package/dist/theme/slideover.js +59 -0
- package/dist/theme/slider.d.ts +60 -0
- package/dist/theme/slider.js +131 -0
- package/dist/theme/stepper.d.ts +94 -0
- package/dist/theme/stepper.js +137 -0
- package/dist/theme/switch.d.ts +84 -0
- package/dist/theme/switch.js +96 -0
- package/dist/theme/table.d.ts +56 -0
- package/dist/theme/table.js +99 -0
- package/dist/theme/tabs.d.ts +78 -0
- package/dist/theme/tabs.js +145 -0
- package/dist/theme/textarea.d.ts +72 -0
- package/dist/theme/textarea.js +39 -0
- package/dist/theme/timeline.d.ts +52 -0
- package/dist/theme/timeline.js +212 -0
- package/dist/theme/toast.d.ts +41 -0
- package/dist/theme/toast.js +47 -0
- package/dist/theme/toaster.d.ts +50 -0
- package/dist/theme/toaster.js +56 -0
- package/dist/theme/tooltip.d.ts +10 -0
- package/dist/theme/tooltip.js +9 -0
- package/dist/theme/tree.d.ts +66 -0
- package/dist/theme/tree.js +89 -0
- package/dist/theme/user.d.ts +85 -0
- package/dist/theme/user.js +83 -0
- package/dist/types.d.ts +7 -0
- package/dist/types.js +1 -0
- package/dist/utils/common.d.ts +14 -0
- package/dist/utils/common.js +18 -0
- package/dist/utils/keys.d.ts +8 -0
- package/dist/utils/keys.js +8 -0
- package/dist/utils/types.d.ts +1 -0
- package/dist/utils/types.js +1 -0
- package/dist/vite.d.ts +34 -0
- package/dist/vite.js +73 -0
- package/package.json +82 -0
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
export default (options) => ({
|
|
2
|
+
base: 'inline-flex items-center justify-center px-1 rounded-sm font-medium font-sans',
|
|
3
|
+
variants: {
|
|
4
|
+
color: {
|
|
5
|
+
...Object.fromEntries((options.theme.colors || []).map((color) => [color, ''])),
|
|
6
|
+
neutral: ''
|
|
7
|
+
},
|
|
8
|
+
variant: {
|
|
9
|
+
solid: '',
|
|
10
|
+
outline: '',
|
|
11
|
+
soft: '',
|
|
12
|
+
subtle: ''
|
|
13
|
+
},
|
|
14
|
+
size: {
|
|
15
|
+
sm: 'h-4 min-w-[16px] text-[10px]',
|
|
16
|
+
md: 'h-5 min-w-[20px] text-[11px]',
|
|
17
|
+
lg: 'h-6 min-w-[24px] text-[12px]'
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
compoundVariants: [
|
|
21
|
+
...(options.theme.colors || []).map((color) => ({
|
|
22
|
+
color,
|
|
23
|
+
variant: 'solid',
|
|
24
|
+
class: `text-inverted bg-${color}`
|
|
25
|
+
})),
|
|
26
|
+
...(options.theme.colors || []).map((color) => ({
|
|
27
|
+
color,
|
|
28
|
+
variant: 'outline',
|
|
29
|
+
class: `ring ring-inset ring-${color}/50 text-${color}`
|
|
30
|
+
})),
|
|
31
|
+
...(options.theme.colors || []).map((color) => ({
|
|
32
|
+
color,
|
|
33
|
+
variant: 'soft',
|
|
34
|
+
class: `text-${color} bg-${color}/10`
|
|
35
|
+
})),
|
|
36
|
+
...(options.theme.colors || []).map((color) => ({
|
|
37
|
+
color,
|
|
38
|
+
variant: 'subtle',
|
|
39
|
+
class: `text-${color} ring ring-inset ring-${color}/25 bg-${color}/10`
|
|
40
|
+
})),
|
|
41
|
+
{
|
|
42
|
+
color: 'neutral',
|
|
43
|
+
variant: 'solid',
|
|
44
|
+
class: 'text-inverted bg-inverted'
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
color: 'neutral',
|
|
48
|
+
variant: 'outline',
|
|
49
|
+
class: 'ring ring-inset ring-accented text-default bg-default'
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
color: 'neutral',
|
|
53
|
+
variant: 'soft',
|
|
54
|
+
class: 'text-default bg-elevated'
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
color: 'neutral',
|
|
58
|
+
variant: 'subtle',
|
|
59
|
+
class: 'ring ring-inset ring-accented text-default bg-elevated'
|
|
60
|
+
}
|
|
61
|
+
],
|
|
62
|
+
defaultVariants: {
|
|
63
|
+
variant: 'outline',
|
|
64
|
+
color: 'neutral',
|
|
65
|
+
size: 'md'
|
|
66
|
+
}
|
|
67
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const _default: (options: Required<ModuleOptions>) => {
|
|
2
|
+
base: string;
|
|
3
|
+
variants: {
|
|
4
|
+
active: {
|
|
5
|
+
true: string;
|
|
6
|
+
false: string;
|
|
7
|
+
};
|
|
8
|
+
disabled: {
|
|
9
|
+
true: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
compoundVariants: {
|
|
13
|
+
active: boolean;
|
|
14
|
+
disabled: boolean;
|
|
15
|
+
class: any[];
|
|
16
|
+
}[];
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export default (options) => ({
|
|
2
|
+
base: 'focus-visible:outline-primary',
|
|
3
|
+
variants: {
|
|
4
|
+
active: {
|
|
5
|
+
true: 'text-primary',
|
|
6
|
+
false: 'text-muted'
|
|
7
|
+
},
|
|
8
|
+
disabled: {
|
|
9
|
+
true: 'cursor-not-allowed opacity-75'
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
compoundVariants: [
|
|
13
|
+
{
|
|
14
|
+
active: false,
|
|
15
|
+
disabled: false,
|
|
16
|
+
class: ['hover:text-default', options.theme.transitions && 'transition-colors']
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
});
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
slots: {
|
|
3
|
+
root: string;
|
|
4
|
+
content: string;
|
|
5
|
+
};
|
|
6
|
+
variants: {
|
|
7
|
+
orientation: {
|
|
8
|
+
horizontal: {
|
|
9
|
+
content: string;
|
|
10
|
+
};
|
|
11
|
+
vertical: {
|
|
12
|
+
content: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
pauseOnHover: {
|
|
16
|
+
true: {
|
|
17
|
+
content: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
reverse: {
|
|
21
|
+
true: {
|
|
22
|
+
content: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
overlay: {
|
|
26
|
+
true: {
|
|
27
|
+
root: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
compoundVariants: ({
|
|
32
|
+
orientation: string;
|
|
33
|
+
class: {
|
|
34
|
+
root: string;
|
|
35
|
+
content: string;
|
|
36
|
+
};
|
|
37
|
+
overlay?: undefined;
|
|
38
|
+
} | {
|
|
39
|
+
orientation: string;
|
|
40
|
+
overlay: boolean;
|
|
41
|
+
class: {
|
|
42
|
+
root: string;
|
|
43
|
+
content?: undefined;
|
|
44
|
+
};
|
|
45
|
+
})[];
|
|
46
|
+
};
|
|
47
|
+
export default _default;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
slots: {
|
|
3
|
+
root: 'group relative flex items-center overflow-hidden gap-(--gap) [--gap:--spacing(16)] [--duration:20s]',
|
|
4
|
+
content: 'flex items-center shrink-0 justify-around gap-(--gap) min-w-max'
|
|
5
|
+
},
|
|
6
|
+
variants: {
|
|
7
|
+
orientation: {
|
|
8
|
+
horizontal: {
|
|
9
|
+
content: 'w-full'
|
|
10
|
+
},
|
|
11
|
+
vertical: {
|
|
12
|
+
content: 'h-full'
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
pauseOnHover: {
|
|
16
|
+
true: {
|
|
17
|
+
content: 'group-hover:[animation-play-state:paused]'
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
reverse: {
|
|
21
|
+
true: {
|
|
22
|
+
content: '![animation-direction:reverse]'
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
overlay: {
|
|
26
|
+
true: {
|
|
27
|
+
root: 'before:absolute before:pointer-events-none before:content-[""] before:z-2 before:from-default before:to-transparent after:absolute after:pointer-events-none after:content-[""] after:z-2 after:from-default after:to-transparent'
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
compoundVariants: [{
|
|
32
|
+
orientation: 'horizontal',
|
|
33
|
+
class: {
|
|
34
|
+
root: 'flex-row',
|
|
35
|
+
content: 'flex-row animate-[marquee_var(--duration)_linear_infinite] rtl:animate-[marquee-rtl_var(--duration)_linear_infinite] backface-hidden'
|
|
36
|
+
}
|
|
37
|
+
}, {
|
|
38
|
+
orientation: 'horizontal',
|
|
39
|
+
overlay: true,
|
|
40
|
+
class: {
|
|
41
|
+
root: 'before:inset-y-0 before:left-0 before:h-full before:w-1/3 before:bg-gradient-to-r after:inset-y-0 after:right-0 after:h-full after:w-1/3 after:bg-gradient-to-l backface-hidden'
|
|
42
|
+
}
|
|
43
|
+
}, {
|
|
44
|
+
orientation: 'vertical',
|
|
45
|
+
class: {
|
|
46
|
+
root: 'flex-col',
|
|
47
|
+
content: 'flex-col animate-[marquee-vertical_var(--duration)_linear_infinite] rtl:animate-[marquee-vertical-rtl_var(--duration)_linear_infinite] h-[fit-content] backface-hidden'
|
|
48
|
+
}
|
|
49
|
+
}, {
|
|
50
|
+
orientation: 'vertical',
|
|
51
|
+
overlay: true,
|
|
52
|
+
class: {
|
|
53
|
+
root: 'before:inset-x-0 before:top-0 before:w-full before:h-1/3 before:bg-gradient-to-b after:inset-x-0 after:bottom-0 after:w-full after:h-1/3 after:bg-gradient-to-t backface-hidden'
|
|
54
|
+
}
|
|
55
|
+
}]
|
|
56
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
slots: {
|
|
3
|
+
overlay: string;
|
|
4
|
+
content: string;
|
|
5
|
+
header: string;
|
|
6
|
+
wrapper: string;
|
|
7
|
+
body: string;
|
|
8
|
+
footer: string;
|
|
9
|
+
title: string;
|
|
10
|
+
description: string;
|
|
11
|
+
close: string;
|
|
12
|
+
};
|
|
13
|
+
variants: {
|
|
14
|
+
transition: {
|
|
15
|
+
true: {
|
|
16
|
+
overlay: string;
|
|
17
|
+
content: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
fullscreen: {
|
|
21
|
+
true: {
|
|
22
|
+
content: string;
|
|
23
|
+
};
|
|
24
|
+
false: {
|
|
25
|
+
content: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
export default _default;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
slots: {
|
|
3
|
+
overlay: 'fixed inset-0 bg-elevated/75',
|
|
4
|
+
content: 'fixed bg-default divide-y divide-default flex flex-col focus:outline-none',
|
|
5
|
+
header: 'flex items-center gap-1.5 p-4 sm:px-6 min-h-16',
|
|
6
|
+
wrapper: '',
|
|
7
|
+
body: 'flex-1 overflow-y-auto p-4 sm:p-6',
|
|
8
|
+
footer: 'flex items-center gap-1.5 p-4 sm:px-6',
|
|
9
|
+
title: 'text-highlighted font-semibold',
|
|
10
|
+
description: 'mt-1 text-muted text-sm',
|
|
11
|
+
close: 'absolute top-4 end-4'
|
|
12
|
+
},
|
|
13
|
+
variants: {
|
|
14
|
+
transition: {
|
|
15
|
+
true: {
|
|
16
|
+
overlay: 'data-[state=open]:animate-[fade-in_200ms_ease-out] data-[state=closed]:animate-[fade-out_200ms_ease-in]',
|
|
17
|
+
content: 'data-[state=open]:animate-[scale-in_200ms_ease-out] data-[state=closed]:animate-[scale-out_200ms_ease-in]'
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
fullscreen: {
|
|
21
|
+
true: {
|
|
22
|
+
content: 'inset-0'
|
|
23
|
+
},
|
|
24
|
+
false: {
|
|
25
|
+
content: 'top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[calc(100vw-2rem)] max-w-lg max-h-[calc(100dvh-2rem)] sm:max-h-[calc(100dvh-4rem)] rounded-lg shadow-lg ring ring-default overflow-hidden'
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
};
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
declare const _default: (options: Required<ModuleOptions>) => {
|
|
2
|
+
slots: {
|
|
3
|
+
root: string;
|
|
4
|
+
list: string;
|
|
5
|
+
label: string;
|
|
6
|
+
item: string;
|
|
7
|
+
link: string;
|
|
8
|
+
linkLeadingIcon: string;
|
|
9
|
+
linkLeadingAvatar: string;
|
|
10
|
+
linkLeadingAvatarSize: string;
|
|
11
|
+
linkTrailing: string;
|
|
12
|
+
linkTrailingBadge: string;
|
|
13
|
+
linkTrailingBadgeSize: string;
|
|
14
|
+
linkTrailingIcon: string;
|
|
15
|
+
linkLabel: string;
|
|
16
|
+
linkLabelExternalIcon: string;
|
|
17
|
+
childList: string;
|
|
18
|
+
childLabel: string;
|
|
19
|
+
childItem: string;
|
|
20
|
+
childLink: string;
|
|
21
|
+
childLinkWrapper: string;
|
|
22
|
+
childLinkIcon: string;
|
|
23
|
+
childLinkLabel: string;
|
|
24
|
+
childLinkLabelExternalIcon: string;
|
|
25
|
+
childLinkDescription: string;
|
|
26
|
+
separator: string;
|
|
27
|
+
viewportWrapper: string;
|
|
28
|
+
viewport: string;
|
|
29
|
+
content: string;
|
|
30
|
+
indicator: string;
|
|
31
|
+
arrow: string;
|
|
32
|
+
};
|
|
33
|
+
variants: {
|
|
34
|
+
color: {
|
|
35
|
+
neutral: {
|
|
36
|
+
link: string;
|
|
37
|
+
childLink: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
highlightColor: {
|
|
41
|
+
neutral: string;
|
|
42
|
+
};
|
|
43
|
+
variant: {
|
|
44
|
+
pill: string;
|
|
45
|
+
link: string;
|
|
46
|
+
};
|
|
47
|
+
orientation: {
|
|
48
|
+
horizontal: {
|
|
49
|
+
root: string;
|
|
50
|
+
list: string;
|
|
51
|
+
item: string;
|
|
52
|
+
link: string;
|
|
53
|
+
childList: string;
|
|
54
|
+
childLink: string;
|
|
55
|
+
childLinkLabel: string;
|
|
56
|
+
content: string;
|
|
57
|
+
};
|
|
58
|
+
vertical: {
|
|
59
|
+
root: string;
|
|
60
|
+
link: string;
|
|
61
|
+
childLabel: string;
|
|
62
|
+
childLink: string;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
contentOrientation: {
|
|
66
|
+
horizontal: {
|
|
67
|
+
viewportWrapper: string;
|
|
68
|
+
content: string;
|
|
69
|
+
};
|
|
70
|
+
vertical: {
|
|
71
|
+
viewport: string;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
active: {
|
|
75
|
+
true: {
|
|
76
|
+
childLink: string;
|
|
77
|
+
childLinkIcon: string;
|
|
78
|
+
};
|
|
79
|
+
false: {
|
|
80
|
+
link: string;
|
|
81
|
+
linkLeadingIcon: string;
|
|
82
|
+
childLink: any[];
|
|
83
|
+
childLinkIcon: any[];
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
disabled: {
|
|
87
|
+
true: {
|
|
88
|
+
link: string;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
highlight: {
|
|
92
|
+
true: string;
|
|
93
|
+
};
|
|
94
|
+
level: {
|
|
95
|
+
true: string;
|
|
96
|
+
};
|
|
97
|
+
collapsed: {
|
|
98
|
+
true: string;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
compoundVariants: any[];
|
|
102
|
+
defaultVariants: {
|
|
103
|
+
color: string;
|
|
104
|
+
highlightColor: string;
|
|
105
|
+
variant: string;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
export default _default;
|