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,45 @@
|
|
|
1
|
+
declare const _default: (options: Required<ModuleOptions>) => {
|
|
2
|
+
slots: {
|
|
3
|
+
root: string;
|
|
4
|
+
base: any[];
|
|
5
|
+
};
|
|
6
|
+
variants: {
|
|
7
|
+
size: {
|
|
8
|
+
xs: {
|
|
9
|
+
base: string;
|
|
10
|
+
};
|
|
11
|
+
sm: {
|
|
12
|
+
base: string;
|
|
13
|
+
};
|
|
14
|
+
md: {
|
|
15
|
+
base: string;
|
|
16
|
+
};
|
|
17
|
+
lg: {
|
|
18
|
+
base: string;
|
|
19
|
+
};
|
|
20
|
+
xl: {
|
|
21
|
+
base: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
variant: {
|
|
25
|
+
outline: string;
|
|
26
|
+
soft: string;
|
|
27
|
+
subtle: string;
|
|
28
|
+
ghost: string;
|
|
29
|
+
none: string;
|
|
30
|
+
};
|
|
31
|
+
color: {
|
|
32
|
+
neutral: string;
|
|
33
|
+
};
|
|
34
|
+
highlight: {
|
|
35
|
+
true: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
compoundVariants: any[];
|
|
39
|
+
defaultVariants: {
|
|
40
|
+
size: string;
|
|
41
|
+
color: string;
|
|
42
|
+
variant: string;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
export default _default;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
export default (options) => ({
|
|
2
|
+
slots: {
|
|
3
|
+
root: 'relative inline-flex items-center gap-1.5',
|
|
4
|
+
base: [
|
|
5
|
+
'rounded-md border-0 placeholder:text-dimmed text-center focus:outline-none disabled:cursor-not-allowed disabled:opacity-75',
|
|
6
|
+
options.theme.transitions && 'transition-colors'
|
|
7
|
+
]
|
|
8
|
+
},
|
|
9
|
+
variants: {
|
|
10
|
+
size: {
|
|
11
|
+
xs: {
|
|
12
|
+
base: 'size-6 text-xs'
|
|
13
|
+
},
|
|
14
|
+
sm: {
|
|
15
|
+
base: 'size-7 text-xs'
|
|
16
|
+
},
|
|
17
|
+
md: {
|
|
18
|
+
base: 'size-8 text-sm'
|
|
19
|
+
},
|
|
20
|
+
lg: {
|
|
21
|
+
base: 'size-9 text-sm'
|
|
22
|
+
},
|
|
23
|
+
xl: {
|
|
24
|
+
base: 'size-10 text-base'
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
variant: {
|
|
28
|
+
outline: 'text-highlighted bg-default ring ring-inset ring-accented',
|
|
29
|
+
soft: 'text-highlighted bg-elevated/50 hover:bg-elevated focus:bg-elevated disabled:bg-elevated/50',
|
|
30
|
+
subtle: 'text-highlighted bg-elevated ring ring-inset ring-accented',
|
|
31
|
+
ghost: 'text-highlighted bg-transparent hover:bg-elevated focus:bg-elevated disabled:bg-transparent dark:disabled:bg-transparent',
|
|
32
|
+
none: 'text-highlighted bg-transparent'
|
|
33
|
+
},
|
|
34
|
+
color: {
|
|
35
|
+
...Object.fromEntries((options.theme.colors || []).map((color) => [color, ''])),
|
|
36
|
+
neutral: ''
|
|
37
|
+
},
|
|
38
|
+
highlight: {
|
|
39
|
+
true: ''
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
compoundVariants: [
|
|
43
|
+
...(options.theme.colors || []).map((color) => ({
|
|
44
|
+
color,
|
|
45
|
+
variant: ['outline', 'subtle'],
|
|
46
|
+
class: `focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-${color}`
|
|
47
|
+
})),
|
|
48
|
+
...(options.theme.colors || []).map((color) => ({
|
|
49
|
+
color,
|
|
50
|
+
highlight: true,
|
|
51
|
+
class: `ring ring-inset ring-${color}`
|
|
52
|
+
})),
|
|
53
|
+
{
|
|
54
|
+
color: 'neutral',
|
|
55
|
+
variant: ['outline', 'subtle'],
|
|
56
|
+
class: 'focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-inverted'
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
color: 'neutral',
|
|
60
|
+
highlight: true,
|
|
61
|
+
class: 'ring ring-inset ring-inverted'
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
defaultVariants: {
|
|
65
|
+
size: 'md',
|
|
66
|
+
color: 'primary',
|
|
67
|
+
variant: 'outline'
|
|
68
|
+
}
|
|
69
|
+
});
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
slots: {
|
|
3
|
+
content: 'bg-default shadow-lg rounded-md ring ring-default data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-popover-content-transform-origin) focus:outline-none pointer-events-auto',
|
|
4
|
+
arrow: 'fill-default'
|
|
5
|
+
}
|
|
6
|
+
};
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
slots: {
|
|
3
|
+
root: string;
|
|
4
|
+
header: string;
|
|
5
|
+
body: string;
|
|
6
|
+
footer: string;
|
|
7
|
+
titleWrapper: string;
|
|
8
|
+
title: string;
|
|
9
|
+
description: string;
|
|
10
|
+
priceWrapper: string;
|
|
11
|
+
price: string;
|
|
12
|
+
discount: string;
|
|
13
|
+
billing: string;
|
|
14
|
+
billingPeriod: string;
|
|
15
|
+
billingCycle: string;
|
|
16
|
+
features: string;
|
|
17
|
+
feature: string;
|
|
18
|
+
featureIcon: string;
|
|
19
|
+
featureTitle: string;
|
|
20
|
+
badge: string;
|
|
21
|
+
button: string;
|
|
22
|
+
tagline: string;
|
|
23
|
+
terms: string;
|
|
24
|
+
};
|
|
25
|
+
variants: {
|
|
26
|
+
orientation: {
|
|
27
|
+
horizontal: {
|
|
28
|
+
root: string;
|
|
29
|
+
body: string;
|
|
30
|
+
footer: string;
|
|
31
|
+
features: string;
|
|
32
|
+
};
|
|
33
|
+
vertical: {
|
|
34
|
+
footer: string;
|
|
35
|
+
priceWrapper: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
variant: {
|
|
39
|
+
solid: {
|
|
40
|
+
root: string;
|
|
41
|
+
title: string;
|
|
42
|
+
description: string;
|
|
43
|
+
price: string;
|
|
44
|
+
discount: string;
|
|
45
|
+
billingCycle: string;
|
|
46
|
+
billingPeriod: string;
|
|
47
|
+
featureTitle: string;
|
|
48
|
+
};
|
|
49
|
+
outline: {
|
|
50
|
+
root: string;
|
|
51
|
+
};
|
|
52
|
+
soft: {
|
|
53
|
+
root: string;
|
|
54
|
+
};
|
|
55
|
+
subtle: {
|
|
56
|
+
root: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
highlight: {
|
|
60
|
+
true: {
|
|
61
|
+
root: string;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
scale: {
|
|
65
|
+
true: {
|
|
66
|
+
root: string;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
compoundVariants: {
|
|
71
|
+
orientation: string;
|
|
72
|
+
variant: string;
|
|
73
|
+
class: {
|
|
74
|
+
root: string;
|
|
75
|
+
};
|
|
76
|
+
}[];
|
|
77
|
+
defaultVariants: {
|
|
78
|
+
variant: string;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
export default _default;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
slots: {
|
|
3
|
+
root: 'relative grid rounded-lg p-6 lg:p-8 xl:p-10 gap-6',
|
|
4
|
+
header: '',
|
|
5
|
+
body: 'flex flex-col min-w-0',
|
|
6
|
+
footer: 'flex flex-col gap-6 items-center',
|
|
7
|
+
titleWrapper: 'flex items-center gap-3',
|
|
8
|
+
title: 'text-highlighted text-2xl sm:text-3xl text-pretty font-semibold',
|
|
9
|
+
description: 'text-muted text-base text-pretty mt-2',
|
|
10
|
+
priceWrapper: 'flex items-center gap-1',
|
|
11
|
+
price: 'text-highlighted text-3xl sm:text-4xl font-semibold',
|
|
12
|
+
discount: 'text-muted line-through text-xl sm:text-2xl',
|
|
13
|
+
billing: 'flex flex-col justify-between min-w-0',
|
|
14
|
+
billingPeriod: 'text-toned truncate text-xs font-medium',
|
|
15
|
+
billingCycle: 'text-muted truncate text-xs font-medium',
|
|
16
|
+
features: 'flex flex-col gap-3 flex-1 mt-6 grow-0',
|
|
17
|
+
feature: 'flex items-center gap-2 min-w-0',
|
|
18
|
+
featureIcon: 'size-5 shrink-0 text-primary',
|
|
19
|
+
featureTitle: 'text-muted text-sm truncate',
|
|
20
|
+
badge: '',
|
|
21
|
+
button: '',
|
|
22
|
+
tagline: 'text-base font-semibold text-default',
|
|
23
|
+
terms: 'text-xs/5 text-muted text-center text-balance'
|
|
24
|
+
},
|
|
25
|
+
variants: {
|
|
26
|
+
orientation: {
|
|
27
|
+
horizontal: {
|
|
28
|
+
root: 'grid-cols-1 lg:grid-cols-3 justify-between divide-y lg:divide-y-0 lg:divide-x divide-default',
|
|
29
|
+
body: 'lg:col-span-2 pb-6 lg:pb-0 lg:pr-6 justify-center',
|
|
30
|
+
footer: 'lg:justify-center lg:items-center lg:p-6 lg:max-w-xs lg:w-full lg:mx-auto',
|
|
31
|
+
features: 'lg:grid lg:grid-cols-2 lg:mt-12'
|
|
32
|
+
},
|
|
33
|
+
vertical: {
|
|
34
|
+
footer: 'justify-end',
|
|
35
|
+
priceWrapper: 'mt-6'
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
variant: {
|
|
39
|
+
solid: {
|
|
40
|
+
root: 'bg-inverted',
|
|
41
|
+
title: 'text-inverted',
|
|
42
|
+
description: 'text-dimmed',
|
|
43
|
+
price: 'text-inverted',
|
|
44
|
+
discount: 'text-dimmed',
|
|
45
|
+
billingCycle: 'text-dimmed',
|
|
46
|
+
billingPeriod: 'text-dimmed',
|
|
47
|
+
featureTitle: 'text-dimmed'
|
|
48
|
+
},
|
|
49
|
+
outline: {
|
|
50
|
+
root: 'bg-default ring ring-default'
|
|
51
|
+
},
|
|
52
|
+
soft: {
|
|
53
|
+
root: 'bg-elevated/50'
|
|
54
|
+
},
|
|
55
|
+
subtle: {
|
|
56
|
+
root: 'bg-elevated/50 ring ring-default'
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
highlight: {
|
|
60
|
+
true: {
|
|
61
|
+
root: 'ring-2 ring-inset ring-primary'
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
scale: {
|
|
65
|
+
true: {
|
|
66
|
+
root: 'lg:scale-[1.1] lg:z-[1]'
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
compoundVariants: [{
|
|
71
|
+
orientation: 'horizontal',
|
|
72
|
+
variant: 'soft',
|
|
73
|
+
class: {
|
|
74
|
+
root: 'divide-accented'
|
|
75
|
+
}
|
|
76
|
+
}, {
|
|
77
|
+
orientation: 'horizontal',
|
|
78
|
+
variant: 'subtle',
|
|
79
|
+
class: {
|
|
80
|
+
root: 'divide-accented'
|
|
81
|
+
}
|
|
82
|
+
}],
|
|
83
|
+
defaultVariants: {
|
|
84
|
+
variant: 'outline'
|
|
85
|
+
}
|
|
86
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
base: string;
|
|
3
|
+
variants: {
|
|
4
|
+
orientation: {
|
|
5
|
+
horizontal: string;
|
|
6
|
+
vertical: string;
|
|
7
|
+
};
|
|
8
|
+
compact: {
|
|
9
|
+
false: string;
|
|
10
|
+
};
|
|
11
|
+
scale: {
|
|
12
|
+
true: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
compoundVariants: {
|
|
16
|
+
compact: boolean;
|
|
17
|
+
scale: boolean;
|
|
18
|
+
class: string;
|
|
19
|
+
}[];
|
|
20
|
+
};
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
base: 'flex flex-col gap-y-8',
|
|
3
|
+
variants: {
|
|
4
|
+
orientation: {
|
|
5
|
+
horizontal: 'lg:grid lg:grid-cols-[repeat(var(--count),minmax(0,1fr))]',
|
|
6
|
+
vertical: ''
|
|
7
|
+
},
|
|
8
|
+
compact: {
|
|
9
|
+
false: 'gap-x-8'
|
|
10
|
+
},
|
|
11
|
+
scale: {
|
|
12
|
+
true: ''
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
compoundVariants: [{
|
|
16
|
+
compact: false,
|
|
17
|
+
scale: true,
|
|
18
|
+
class: 'lg:gap-x-13'
|
|
19
|
+
}]
|
|
20
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
slots: {
|
|
3
|
+
root: string;
|
|
4
|
+
table: string;
|
|
5
|
+
list: string;
|
|
6
|
+
item: string;
|
|
7
|
+
caption: string;
|
|
8
|
+
thead: string;
|
|
9
|
+
tbody: string;
|
|
10
|
+
tr: string;
|
|
11
|
+
th: string;
|
|
12
|
+
td: string;
|
|
13
|
+
tier: string;
|
|
14
|
+
tierTitleWrapper: string;
|
|
15
|
+
tierTitle: string;
|
|
16
|
+
tierDescription: string;
|
|
17
|
+
tierBadge: string;
|
|
18
|
+
tierPriceWrapper: string;
|
|
19
|
+
tierPrice: string;
|
|
20
|
+
tierDiscount: string;
|
|
21
|
+
tierBilling: string;
|
|
22
|
+
tierBillingPeriod: string;
|
|
23
|
+
tierBillingCycle: string;
|
|
24
|
+
tierButton: string;
|
|
25
|
+
tierFeatureIcon: string;
|
|
26
|
+
section: string;
|
|
27
|
+
sectionTitle: string;
|
|
28
|
+
feature: string;
|
|
29
|
+
featureTitle: string;
|
|
30
|
+
featureValue: string;
|
|
31
|
+
};
|
|
32
|
+
variants: {
|
|
33
|
+
section: {
|
|
34
|
+
true: {
|
|
35
|
+
tr: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
active: {
|
|
39
|
+
true: {
|
|
40
|
+
tierFeatureIcon: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
highlight: {
|
|
44
|
+
true: {
|
|
45
|
+
tier: string;
|
|
46
|
+
td: string;
|
|
47
|
+
item: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
export default _default;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
slots: {
|
|
3
|
+
root: 'w-full relative',
|
|
4
|
+
table: 'w-full table-fixed border-separate border-spacing-x-0 hidden md:table',
|
|
5
|
+
list: 'md:hidden flex flex-col gap-6 w-full',
|
|
6
|
+
item: 'p-6 flex flex-col border border-default rounded-lg',
|
|
7
|
+
caption: 'sr-only',
|
|
8
|
+
thead: '',
|
|
9
|
+
tbody: '',
|
|
10
|
+
tr: '',
|
|
11
|
+
th: 'py-4 font-normal text-left border-b border-default',
|
|
12
|
+
td: 'px-6 py-4 text-center border-b border-default',
|
|
13
|
+
tier: 'p-6 text-left font-normal',
|
|
14
|
+
tierTitleWrapper: 'flex items-center gap-3',
|
|
15
|
+
tierTitle: 'text-lg font-semibold text-highlighted',
|
|
16
|
+
tierDescription: 'text-sm font-normal text-muted mt-1',
|
|
17
|
+
tierBadge: 'truncate',
|
|
18
|
+
tierPriceWrapper: 'flex items-center gap-1 mt-4',
|
|
19
|
+
tierPrice: 'text-highlighted text-3xl sm:text-4xl font-semibold',
|
|
20
|
+
tierDiscount: 'text-muted line-through text-xl sm:text-2xl',
|
|
21
|
+
tierBilling: 'flex flex-col justify-between min-w-0',
|
|
22
|
+
tierBillingPeriod: 'text-toned truncate text-xs font-medium',
|
|
23
|
+
tierBillingCycle: 'text-muted truncate text-xs font-medium',
|
|
24
|
+
tierButton: 'mt-6',
|
|
25
|
+
tierFeatureIcon: 'size-5 shrink-0',
|
|
26
|
+
section: 'mt-6 flex flex-col gap-2',
|
|
27
|
+
sectionTitle: 'font-semibold text-sm text-highlighted',
|
|
28
|
+
feature: 'flex items-center justify-between gap-1',
|
|
29
|
+
featureTitle: 'text-sm text-default',
|
|
30
|
+
featureValue: 'text-sm text-muted flex justify-center min-w-5'
|
|
31
|
+
},
|
|
32
|
+
variants: {
|
|
33
|
+
section: {
|
|
34
|
+
true: {
|
|
35
|
+
tr: '*:pt-8'
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
active: {
|
|
39
|
+
true: {
|
|
40
|
+
tierFeatureIcon: 'text-primary'
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
highlight: {
|
|
44
|
+
true: {
|
|
45
|
+
tier: 'bg-elevated/50 border-x border-t border-default rounded-t-lg',
|
|
46
|
+
td: 'bg-elevated/50 border-x border-default',
|
|
47
|
+
item: 'bg-elevated/50'
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
};
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
declare const _default: (options: Required<ModuleOptions>) => {
|
|
2
|
+
slots: {
|
|
3
|
+
root: string;
|
|
4
|
+
base: string;
|
|
5
|
+
indicator: string;
|
|
6
|
+
status: string;
|
|
7
|
+
steps: string;
|
|
8
|
+
step: string;
|
|
9
|
+
};
|
|
10
|
+
variants: {
|
|
11
|
+
animation: {
|
|
12
|
+
carousel: string;
|
|
13
|
+
'carousel-inverse': string;
|
|
14
|
+
swing: string;
|
|
15
|
+
elastic: string;
|
|
16
|
+
};
|
|
17
|
+
color: {
|
|
18
|
+
neutral: {
|
|
19
|
+
indicator: string;
|
|
20
|
+
steps: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
size: {
|
|
24
|
+
'2xs': {
|
|
25
|
+
status: string;
|
|
26
|
+
steps: string;
|
|
27
|
+
};
|
|
28
|
+
xs: {
|
|
29
|
+
status: string;
|
|
30
|
+
steps: string;
|
|
31
|
+
};
|
|
32
|
+
sm: {
|
|
33
|
+
status: string;
|
|
34
|
+
steps: string;
|
|
35
|
+
};
|
|
36
|
+
md: {
|
|
37
|
+
status: string;
|
|
38
|
+
steps: string;
|
|
39
|
+
};
|
|
40
|
+
lg: {
|
|
41
|
+
status: string;
|
|
42
|
+
steps: string;
|
|
43
|
+
};
|
|
44
|
+
xl: {
|
|
45
|
+
status: string;
|
|
46
|
+
steps: string;
|
|
47
|
+
};
|
|
48
|
+
'2xl': {
|
|
49
|
+
status: string;
|
|
50
|
+
steps: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
step: {
|
|
54
|
+
active: {
|
|
55
|
+
step: string;
|
|
56
|
+
};
|
|
57
|
+
first: {
|
|
58
|
+
step: string;
|
|
59
|
+
};
|
|
60
|
+
other: {
|
|
61
|
+
step: string;
|
|
62
|
+
};
|
|
63
|
+
last: {
|
|
64
|
+
step: string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
orientation: {
|
|
68
|
+
horizontal: {
|
|
69
|
+
root: string;
|
|
70
|
+
base: string;
|
|
71
|
+
status: string;
|
|
72
|
+
};
|
|
73
|
+
vertical: {
|
|
74
|
+
root: string;
|
|
75
|
+
base: string;
|
|
76
|
+
status: string;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
inverted: {
|
|
80
|
+
true: {
|
|
81
|
+
status: string;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
compoundVariants: ({
|
|
86
|
+
inverted: boolean;
|
|
87
|
+
orientation: string;
|
|
88
|
+
class: {
|
|
89
|
+
step: string;
|
|
90
|
+
status: string;
|
|
91
|
+
steps?: undefined;
|
|
92
|
+
indicator?: undefined;
|
|
93
|
+
};
|
|
94
|
+
size?: undefined;
|
|
95
|
+
animation?: undefined;
|
|
96
|
+
} | {
|
|
97
|
+
inverted: boolean;
|
|
98
|
+
orientation: string;
|
|
99
|
+
class: {
|
|
100
|
+
steps: string;
|
|
101
|
+
status: string;
|
|
102
|
+
step?: undefined;
|
|
103
|
+
indicator?: undefined;
|
|
104
|
+
};
|
|
105
|
+
size?: undefined;
|
|
106
|
+
animation?: undefined;
|
|
107
|
+
} | {
|
|
108
|
+
orientation: string;
|
|
109
|
+
size: string;
|
|
110
|
+
class: string;
|
|
111
|
+
inverted?: undefined;
|
|
112
|
+
animation?: undefined;
|
|
113
|
+
} | {
|
|
114
|
+
orientation: string;
|
|
115
|
+
animation: string;
|
|
116
|
+
class: {
|
|
117
|
+
indicator: string;
|
|
118
|
+
step?: undefined;
|
|
119
|
+
status?: undefined;
|
|
120
|
+
steps?: undefined;
|
|
121
|
+
};
|
|
122
|
+
inverted?: undefined;
|
|
123
|
+
size?: undefined;
|
|
124
|
+
})[];
|
|
125
|
+
defaultVariants: {
|
|
126
|
+
animation: string;
|
|
127
|
+
color: string;
|
|
128
|
+
size: string;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
export default _default;
|