uisv 0.0.1 → 0.0.3
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/package.json +15 -3
- package/dist/components/alert.svelte +0 -244
- package/dist/components/alert.svelte.d.ts +0 -25
- package/dist/components/badge.svelte +0 -227
- package/dist/components/badge.svelte.d.ts +0 -19
- package/dist/components/button.svelte +0 -383
- package/dist/components/button.svelte.d.ts +0 -51
- package/dist/components/index.d.ts +0 -6
- package/dist/components/index.js +0 -6
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -2
- package/dist/theme/accordion.d.ts +0 -21
- package/dist/theme/accordion.js +0 -20
- package/dist/theme/alert.d.ts +0 -45
- package/dist/theme/alert.js +0 -102
- package/dist/theme/auth-form.d.ts +0 -21
- package/dist/theme/auth-form.js +0 -20
- package/dist/theme/avatar-group.d.ts +0 -41
- package/dist/theme/avatar-group.js +0 -40
- package/dist/theme/avatar.d.ts +0 -43
- package/dist/theme/avatar.js +0 -42
- package/dist/theme/badge.d.ts +0 -18
- package/dist/theme/badge.js +0 -131
- package/dist/theme/banner.d.ts +0 -29
- package/dist/theme/banner.js +0 -42
- package/dist/theme/blog-post.d.ts +0 -112
- package/dist/theme/blog-post.js +0 -116
- package/dist/theme/blog-posts.d.ts +0 -10
- package/dist/theme/blog-posts.js +0 -9
- package/dist/theme/breadcrumb.d.ts +0 -41
- package/dist/theme/breadcrumb.js +0 -42
- package/dist/theme/button.d.ts +0 -19
- package/dist/theme/button.js +0 -194
- package/dist/theme/calendar.d.ts +0 -59
- package/dist/theme/calendar.js +0 -68
- package/dist/theme/card.d.ts +0 -28
- package/dist/theme/card.js +0 -27
- package/dist/theme/carousel.d.ts +0 -36
- package/dist/theme/carousel.js +0 -38
- package/dist/theme/changelog-version.d.ts +0 -42
- package/dist/theme/changelog-version.js +0 -41
- package/dist/theme/changelog-versions.d.ts +0 -9
- package/dist/theme/changelog-versions.js +0 -8
- package/dist/theme/chat-message.d.ts +0 -101
- package/dist/theme/chat-message.js +0 -97
- package/dist/theme/chat-messages.d.ts +0 -15
- package/dist/theme/chat-messages.js +0 -14
- package/dist/theme/chat-palette.d.ts +0 -9
- package/dist/theme/chat-palette.js +0 -8
- package/dist/theme/chat-prompt-submit.d.ts +0 -6
- package/dist/theme/chat-prompt-submit.js +0 -5
- package/dist/theme/chat-prompt.d.ts +0 -29
- package/dist/theme/chat-prompt.js +0 -28
- package/dist/theme/checkbox-group.d.ts +0 -62
- package/dist/theme/checkbox-group.js +0 -105
- package/dist/theme/checkbox.d.ts +0 -92
- package/dist/theme/checkbox.js +0 -125
- package/dist/theme/chip.d.ts +0 -45
- package/dist/theme/chip.js +0 -62
- package/dist/theme/collapsible.d.ts +0 -7
- package/dist/theme/collapsible.js +0 -6
- package/dist/theme/color-picker.d.ts +0 -40
- package/dist/theme/color-picker.js +0 -39
- package/dist/theme/command-palette.d.ts +0 -47
- package/dist/theme/command-palette.js +0 -52
- package/dist/theme/container.d.ts +0 -4
- package/dist/theme/container.js +0 -3
- package/dist/theme/content/content-navigation.d.ts +0 -65
- package/dist/theme/content/content-navigation.js +0 -153
- package/dist/theme/content/content-search-button.d.ts +0 -7
- package/dist/theme/content/content-search-button.js +0 -6
- package/dist/theme/content/content-search.d.ts +0 -7
- package/dist/theme/content/content-search.js +0 -6
- package/dist/theme/content/content-surround.d.ts +0 -23
- package/dist/theme/content/content-surround.js +0 -21
- package/dist/theme/content/content-toc.d.ts +0 -53
- package/dist/theme/content/content-toc.js +0 -69
- package/dist/theme/content/index.d.ts +0 -5
- package/dist/theme/content/index.js +0 -5
- package/dist/theme/context-menu.d.ts +0 -91
- package/dist/theme/context-menu.js +0 -114
- package/dist/theme/dashboard-group.d.ts +0 -4
- package/dist/theme/dashboard-group.js +0 -3
- package/dist/theme/dashboard-navbar.d.ts +0 -22
- package/dist/theme/dashboard-navbar.js +0 -21
- package/dist/theme/dashboard-panel.d.ts +0 -18
- package/dist/theme/dashboard-panel.js +0 -17
- package/dist/theme/dashboard-resize-handle.d.ts +0 -4
- package/dist/theme/dashboard-resize-handle.js +0 -3
- package/dist/theme/dashboard-search-button.d.ts +0 -7
- package/dist/theme/dashboard-search-button.js +0 -6
- package/dist/theme/dashboard-search.d.ts +0 -7
- package/dist/theme/dashboard-search.js +0 -6
- package/dist/theme/dashboard-sidebar-collapse.d.ts +0 -10
- package/dist/theme/dashboard-sidebar-collapse.js +0 -9
- package/dist/theme/dashboard-sidebar-toggle.d.ts +0 -10
- package/dist/theme/dashboard-sidebar-toggle.js +0 -9
- package/dist/theme/dashboard-sidebar.d.ts +0 -38
- package/dist/theme/dashboard-sidebar.js +0 -37
- package/dist/theme/dashboard-toolbar.d.ts +0 -8
- package/dist/theme/dashboard-toolbar.js +0 -7
- package/dist/theme/drawer.d.ts +0 -54
- package/dist/theme/drawer.js +0 -110
- package/dist/theme/dropdown-menu.d.ts +0 -92
- package/dist/theme/dropdown-menu.js +0 -115
- package/dist/theme/error.d.ts +0 -10
- package/dist/theme/error.js +0 -9
- package/dist/theme/file-upload.d.ts +0 -100
- package/dist/theme/file-upload.js +0 -212
- package/dist/theme/footer-columns.d.ts +0 -27
- package/dist/theme/footer-columns.js +0 -25
- package/dist/theme/footer.d.ts +0 -12
- package/dist/theme/footer.js +0 -11
- package/dist/theme/form-field.d.ts +0 -41
- package/dist/theme/form-field.js +0 -30
- package/dist/theme/form.d.ts +0 -4
- package/dist/theme/form.js +0 -3
- package/dist/theme/header.d.ts +0 -26
- package/dist/theme/header.js +0 -25
- package/dist/theme/icons.d.ts +0 -44
- package/dist/theme/icons.js +0 -43
- package/dist/theme/index.d.ts +0 -99
- package/dist/theme/index.js +0 -99
- package/dist/theme/input-menu.d.ts +0 -159
- package/dist/theme/input-menu.js +0 -136
- package/dist/theme/input-number.d.ts +0 -16
- package/dist/theme/input-number.js +0 -130
- package/dist/theme/input-tags.d.ts +0 -86
- package/dist/theme/input-tags.js +0 -50
- package/dist/theme/input.d.ts +0 -20
- package/dist/theme/input.js +0 -179
- package/dist/theme/kbd.d.ts +0 -26
- package/dist/theme/kbd.js +0 -67
- package/dist/theme/link.d.ts +0 -18
- package/dist/theme/link.js +0 -19
- package/dist/theme/main.d.ts +0 -4
- package/dist/theme/main.js +0 -3
- package/dist/theme/marquee.d.ts +0 -47
- package/dist/theme/marquee.js +0 -56
- package/dist/theme/modal.d.ts +0 -30
- package/dist/theme/modal.js +0 -29
- package/dist/theme/navigation-menu.d.ts +0 -108
- package/dist/theme/navigation-menu.js +0 -315
- package/dist/theme/page-anchors.d.ts +0 -26
- package/dist/theme/page-anchors.js +0 -24
- package/dist/theme/page-aside.d.ts +0 -11
- package/dist/theme/page-aside.js +0 -10
- package/dist/theme/page-body.d.ts +0 -4
- package/dist/theme/page-body.js +0 -3
- package/dist/theme/page-card.d.ts +0 -90
- package/dist/theme/page-card.js +0 -156
- package/dist/theme/page-columns.d.ts +0 -4
- package/dist/theme/page-columns.js +0 -3
- package/dist/theme/page-cta.d.ts +0 -63
- package/dist/theme/page-cta.js +0 -62
- package/dist/theme/page-feature.d.ts +0 -27
- package/dist/theme/page-feature.js +0 -26
- package/dist/theme/page-grid.d.ts +0 -4
- package/dist/theme/page-grid.js +0 -3
- package/dist/theme/page-header.d.ts +0 -19
- package/dist/theme/page-header.js +0 -18
- package/dist/theme/page-hero.d.ts +0 -45
- package/dist/theme/page-hero.js +0 -44
- package/dist/theme/page-links.d.ts +0 -24
- package/dist/theme/page-links.js +0 -22
- package/dist/theme/page-list.d.ts +0 -9
- package/dist/theme/page-list.js +0 -8
- package/dist/theme/page-logos.d.ts +0 -16
- package/dist/theme/page-logos.js +0 -15
- package/dist/theme/page-section.d.ts +0 -85
- package/dist/theme/page-section.js +0 -75
- package/dist/theme/page.d.ts +0 -24
- package/dist/theme/page.js +0 -29
- package/dist/theme/pagination.d.ts +0 -14
- package/dist/theme/pagination.js +0 -13
- package/dist/theme/pin-input.d.ts +0 -45
- package/dist/theme/pin-input.js +0 -69
- package/dist/theme/popover.d.ts +0 -7
- package/dist/theme/popover.js +0 -6
- package/dist/theme/pricing-plan.d.ts +0 -81
- package/dist/theme/pricing-plan.js +0 -86
- package/dist/theme/pricing-plans.d.ts +0 -21
- package/dist/theme/pricing-plans.js +0 -20
- package/dist/theme/pricing-table.d.ts +0 -52
- package/dist/theme/pricing-table.js +0 -51
- package/dist/theme/progress.d.ts +0 -131
- package/dist/theme/progress.js +0 -241
- package/dist/theme/prose/a.d.ts +0 -5
- package/dist/theme/prose/a.js +0 -3
- package/dist/theme/prose/accordion-item.d.ts +0 -4
- package/dist/theme/prose/accordion-item.js +0 -3
- package/dist/theme/prose/accordion.d.ts +0 -7
- package/dist/theme/prose/accordion.js +0 -6
- package/dist/theme/prose/badge.d.ts +0 -4
- package/dist/theme/prose/badge.js +0 -3
- package/dist/theme/prose/blockquote.d.ts +0 -4
- package/dist/theme/prose/blockquote.js +0 -3
- package/dist/theme/prose/callout.d.ts +0 -25
- package/dist/theme/prose/callout.js +0 -42
- package/dist/theme/prose/card-group.d.ts +0 -4
- package/dist/theme/prose/card-group.js +0 -3
- package/dist/theme/prose/card.d.ts +0 -30
- package/dist/theme/prose/card.js +0 -45
- package/dist/theme/prose/code-collapse.d.ts +0 -20
- package/dist/theme/prose/code-collapse.js +0 -19
- package/dist/theme/prose/code-group.d.ts +0 -12
- package/dist/theme/prose/code-group.js +0 -10
- package/dist/theme/prose/code-icon.d.ts +0 -67
- package/dist/theme/prose/code-icon.js +0 -66
- package/dist/theme/prose/code-preview.d.ts +0 -15
- package/dist/theme/prose/code-preview.js +0 -14
- package/dist/theme/prose/code-tree.d.ts +0 -27
- package/dist/theme/prose/code-tree.js +0 -25
- package/dist/theme/prose/code.d.ts +0 -13
- package/dist/theme/prose/code.js +0 -12
- package/dist/theme/prose/collapsible.d.ts +0 -11
- package/dist/theme/prose/collapsible.js +0 -9
- package/dist/theme/prose/em.d.ts +0 -4
- package/dist/theme/prose/em.js +0 -3
- package/dist/theme/prose/field-group.d.ts +0 -4
- package/dist/theme/prose/field-group.js +0 -3
- package/dist/theme/prose/field.d.ts +0 -12
- package/dist/theme/prose/field.js +0 -11
- package/dist/theme/prose/h1.d.ts +0 -7
- package/dist/theme/prose/h1.js +0 -6
- package/dist/theme/prose/h2.d.ts +0 -10
- package/dist/theme/prose/h2.js +0 -8
- package/dist/theme/prose/h3.d.ts +0 -10
- package/dist/theme/prose/h3.js +0 -8
- package/dist/theme/prose/h4.d.ts +0 -7
- package/dist/theme/prose/h4.js +0 -6
- package/dist/theme/prose/hr.d.ts +0 -4
- package/dist/theme/prose/hr.js +0 -3
- package/dist/theme/prose/icon.d.ts +0 -4
- package/dist/theme/prose/icon.js +0 -3
- package/dist/theme/prose/img.d.ts +0 -21
- package/dist/theme/prose/img.js +0 -20
- package/dist/theme/prose/index.d.ts +0 -41
- package/dist/theme/prose/index.js +0 -41
- package/dist/theme/prose/kbd.d.ts +0 -4
- package/dist/theme/prose/kbd.js +0 -3
- package/dist/theme/prose/li.d.ts +0 -4
- package/dist/theme/prose/li.js +0 -3
- package/dist/theme/prose/ol.d.ts +0 -4
- package/dist/theme/prose/ol.js +0 -3
- package/dist/theme/prose/p.d.ts +0 -4
- package/dist/theme/prose/p.js +0 -3
- package/dist/theme/prose/pre.d.ts +0 -18
- package/dist/theme/prose/pre.js +0 -17
- package/dist/theme/prose/steps.d.ts +0 -14
- package/dist/theme/prose/steps.js +0 -13
- package/dist/theme/prose/strong.d.ts +0 -4
- package/dist/theme/prose/strong.js +0 -3
- package/dist/theme/prose/table.d.ts +0 -7
- package/dist/theme/prose/table.js +0 -6
- package/dist/theme/prose/tabs-item.d.ts +0 -4
- package/dist/theme/prose/tabs-item.js +0 -3
- package/dist/theme/prose/tabs.d.ts +0 -6
- package/dist/theme/prose/tabs.js +0 -5
- package/dist/theme/prose/tbody.d.ts +0 -4
- package/dist/theme/prose/tbody.js +0 -3
- package/dist/theme/prose/td.d.ts +0 -4
- package/dist/theme/prose/td.js +0 -3
- package/dist/theme/prose/th.d.ts +0 -4
- package/dist/theme/prose/th.js +0 -3
- package/dist/theme/prose/thead.d.ts +0 -4
- package/dist/theme/prose/thead.js +0 -3
- package/dist/theme/prose/tr.d.ts +0 -4
- package/dist/theme/prose/tr.js +0 -3
- package/dist/theme/prose/ul.d.ts +0 -4
- package/dist/theme/prose/ul.js +0 -3
- package/dist/theme/radio-group.d.ts +0 -117
- package/dist/theme/radio-group.js +0 -180
- package/dist/theme/select-menu.d.ts +0 -141
- package/dist/theme/select-menu.js +0 -21
- package/dist/theme/select.d.ts +0 -86
- package/dist/theme/select.js +0 -100
- package/dist/theme/separator.d.ts +0 -61
- package/dist/theme/separator.js +0 -104
- package/dist/theme/skeleton.d.ts +0 -4
- package/dist/theme/skeleton.js +0 -3
- package/dist/theme/slideover.d.ts +0 -42
- package/dist/theme/slideover.js +0 -59
- package/dist/theme/slider.d.ts +0 -60
- package/dist/theme/slider.js +0 -131
- package/dist/theme/stepper.d.ts +0 -94
- package/dist/theme/stepper.js +0 -137
- package/dist/theme/switch.d.ts +0 -84
- package/dist/theme/switch.js +0 -96
- package/dist/theme/table.d.ts +0 -56
- package/dist/theme/table.js +0 -99
- package/dist/theme/tabs.d.ts +0 -78
- package/dist/theme/tabs.js +0 -145
- package/dist/theme/textarea.d.ts +0 -72
- package/dist/theme/textarea.js +0 -39
- package/dist/theme/timeline.d.ts +0 -52
- package/dist/theme/timeline.js +0 -212
- package/dist/theme/toast.d.ts +0 -41
- package/dist/theme/toast.js +0 -47
- package/dist/theme/toaster.d.ts +0 -50
- package/dist/theme/toaster.js +0 -56
- package/dist/theme/tooltip.d.ts +0 -10
- package/dist/theme/tooltip.js +0 -9
- package/dist/theme/tree.d.ts +0 -66
- package/dist/theme/tree.js +0 -89
- package/dist/theme/user.d.ts +0 -85
- package/dist/theme/user.js +0 -83
- package/dist/types.d.ts +0 -7
- package/dist/types.js +0 -1
- package/dist/utils/common.d.ts +0 -14
- package/dist/utils/common.js +0 -18
- package/dist/utils/keys.d.ts +0 -8
- package/dist/utils/keys.js +0 -8
- package/dist/utils/types.d.ts +0 -1
- package/dist/utils/types.js +0 -1
- package/dist/vite.d.ts +0 -34
- package/dist/vite.js +0 -73
package/dist/theme/checkbox.js
DELETED
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
export default (options) => ({
|
|
2
|
-
slots: {
|
|
3
|
-
root: 'relative flex items-start',
|
|
4
|
-
container: 'flex items-center',
|
|
5
|
-
base: 'rounded-sm ring ring-inset ring-accented overflow-hidden focus-visible:outline-2 focus-visible:outline-offset-2',
|
|
6
|
-
indicator: 'flex items-center justify-center size-full text-inverted',
|
|
7
|
-
icon: 'shrink-0 size-full',
|
|
8
|
-
wrapper: 'w-full',
|
|
9
|
-
label: 'block font-medium text-default',
|
|
10
|
-
description: 'text-muted'
|
|
11
|
-
},
|
|
12
|
-
variants: {
|
|
13
|
-
color: {
|
|
14
|
-
...Object.fromEntries((options.theme.colors || []).map((color) => [
|
|
15
|
-
color,
|
|
16
|
-
{
|
|
17
|
-
base: `focus-visible:outline-${color}`,
|
|
18
|
-
indicator: `bg-${color}`
|
|
19
|
-
}
|
|
20
|
-
])),
|
|
21
|
-
neutral: {
|
|
22
|
-
base: 'focus-visible:outline-inverted',
|
|
23
|
-
indicator: 'bg-inverted'
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
variant: {
|
|
27
|
-
list: {
|
|
28
|
-
root: ''
|
|
29
|
-
},
|
|
30
|
-
card: {
|
|
31
|
-
root: 'border border-muted rounded-lg'
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
indicator: {
|
|
35
|
-
start: {
|
|
36
|
-
root: 'flex-row',
|
|
37
|
-
wrapper: 'ms-2'
|
|
38
|
-
},
|
|
39
|
-
end: {
|
|
40
|
-
root: 'flex-row-reverse',
|
|
41
|
-
wrapper: 'me-2'
|
|
42
|
-
},
|
|
43
|
-
hidden: {
|
|
44
|
-
base: 'sr-only',
|
|
45
|
-
wrapper: 'text-center'
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
size: {
|
|
49
|
-
xs: {
|
|
50
|
-
base: 'size-3',
|
|
51
|
-
container: 'h-4',
|
|
52
|
-
wrapper: 'text-xs'
|
|
53
|
-
},
|
|
54
|
-
sm: {
|
|
55
|
-
base: 'size-3.5',
|
|
56
|
-
container: 'h-4',
|
|
57
|
-
wrapper: 'text-xs'
|
|
58
|
-
},
|
|
59
|
-
md: {
|
|
60
|
-
base: 'size-4',
|
|
61
|
-
container: 'h-5',
|
|
62
|
-
wrapper: 'text-sm'
|
|
63
|
-
},
|
|
64
|
-
lg: {
|
|
65
|
-
base: 'size-4.5',
|
|
66
|
-
container: 'h-5',
|
|
67
|
-
wrapper: 'text-sm'
|
|
68
|
-
},
|
|
69
|
-
xl: {
|
|
70
|
-
base: 'size-5',
|
|
71
|
-
container: 'h-6',
|
|
72
|
-
wrapper: 'text-base'
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
required: {
|
|
76
|
-
true: {
|
|
77
|
-
label: "after:content-['*'] after:ms-0.5 after:text-error"
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
disabled: {
|
|
81
|
-
true: {
|
|
82
|
-
base: 'cursor-not-allowed opacity-75',
|
|
83
|
-
label: 'cursor-not-allowed opacity-75',
|
|
84
|
-
description: 'cursor-not-allowed opacity-75'
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
|
-
checked: {
|
|
88
|
-
true: ''
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
compoundVariants: [
|
|
92
|
-
{ size: 'xs', variant: 'card', class: { root: 'p-2.5' } },
|
|
93
|
-
{ size: 'sm', variant: 'card', class: { root: 'p-3' } },
|
|
94
|
-
{ size: 'md', variant: 'card', class: { root: 'p-3.5' } },
|
|
95
|
-
{ size: 'lg', variant: 'card', class: { root: 'p-4' } },
|
|
96
|
-
{ size: 'xl', variant: 'card', class: { root: 'p-4.5' } },
|
|
97
|
-
...(options.theme.colors || []).map((color) => ({
|
|
98
|
-
color,
|
|
99
|
-
variant: 'card',
|
|
100
|
-
class: {
|
|
101
|
-
root: `has-data-[state=checked]:border-${color}`
|
|
102
|
-
}
|
|
103
|
-
})),
|
|
104
|
-
{
|
|
105
|
-
color: 'neutral',
|
|
106
|
-
variant: 'card',
|
|
107
|
-
class: {
|
|
108
|
-
root: 'has-data-[state=checked]:border-inverted'
|
|
109
|
-
}
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
variant: 'card',
|
|
113
|
-
disabled: true,
|
|
114
|
-
class: {
|
|
115
|
-
root: 'cursor-not-allowed opacity-75'
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
],
|
|
119
|
-
defaultVariants: {
|
|
120
|
-
size: 'md',
|
|
121
|
-
color: 'primary',
|
|
122
|
-
variant: 'list',
|
|
123
|
-
indicator: 'start'
|
|
124
|
-
}
|
|
125
|
-
});
|
package/dist/theme/chip.d.ts
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
declare const _default: (options: Required<ModuleOptions>) => {
|
|
2
|
-
slots: {
|
|
3
|
-
root: string;
|
|
4
|
-
base: string;
|
|
5
|
-
};
|
|
6
|
-
variants: {
|
|
7
|
-
color: {
|
|
8
|
-
neutral: string;
|
|
9
|
-
};
|
|
10
|
-
size: {
|
|
11
|
-
'3xs': string;
|
|
12
|
-
'2xs': string;
|
|
13
|
-
xs: string;
|
|
14
|
-
sm: string;
|
|
15
|
-
md: string;
|
|
16
|
-
lg: string;
|
|
17
|
-
xl: string;
|
|
18
|
-
'2xl': string;
|
|
19
|
-
'3xl': string;
|
|
20
|
-
};
|
|
21
|
-
position: {
|
|
22
|
-
'top-right': string;
|
|
23
|
-
'bottom-right': string;
|
|
24
|
-
'top-left': string;
|
|
25
|
-
'bottom-left': string;
|
|
26
|
-
};
|
|
27
|
-
inset: {
|
|
28
|
-
false: string;
|
|
29
|
-
};
|
|
30
|
-
standalone: {
|
|
31
|
-
false: string;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
compoundVariants: {
|
|
35
|
-
position: string;
|
|
36
|
-
inset: boolean;
|
|
37
|
-
class: string;
|
|
38
|
-
}[];
|
|
39
|
-
defaultVariants: {
|
|
40
|
-
size: string;
|
|
41
|
-
color: string;
|
|
42
|
-
position: string;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
export default _default;
|
package/dist/theme/chip.js
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
export default (options) => ({
|
|
2
|
-
slots: {
|
|
3
|
-
root: 'relative inline-flex items-center justify-center shrink-0',
|
|
4
|
-
base: 'rounded-full ring ring-bg flex items-center justify-center text-inverted font-medium whitespace-nowrap'
|
|
5
|
-
},
|
|
6
|
-
variants: {
|
|
7
|
-
color: {
|
|
8
|
-
...Object.fromEntries((options.theme.colors || []).map((color) => [color, `bg-${color}`])),
|
|
9
|
-
neutral: 'bg-inverted'
|
|
10
|
-
},
|
|
11
|
-
size: {
|
|
12
|
-
'3xs': 'h-[4px] min-w-[4px] text-[4px]',
|
|
13
|
-
'2xs': 'h-[5px] min-w-[5px] text-[5px]',
|
|
14
|
-
xs: 'h-[6px] min-w-[6px] text-[6px]',
|
|
15
|
-
sm: 'h-[7px] min-w-[7px] text-[7px]',
|
|
16
|
-
md: 'h-[8px] min-w-[8px] text-[8px]',
|
|
17
|
-
lg: 'h-[9px] min-w-[9px] text-[9px]',
|
|
18
|
-
xl: 'h-[10px] min-w-[10px] text-[10px]',
|
|
19
|
-
'2xl': 'h-[11px] min-w-[11px] text-[11px]',
|
|
20
|
-
'3xl': 'h-[12px] min-w-[12px] text-[12px]'
|
|
21
|
-
},
|
|
22
|
-
position: {
|
|
23
|
-
'top-right': 'top-0 right-0',
|
|
24
|
-
'bottom-right': 'bottom-0 right-0',
|
|
25
|
-
'top-left': 'top-0 left-0',
|
|
26
|
-
'bottom-left': 'bottom-0 left-0'
|
|
27
|
-
},
|
|
28
|
-
inset: {
|
|
29
|
-
false: ''
|
|
30
|
-
},
|
|
31
|
-
standalone: {
|
|
32
|
-
false: 'absolute'
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
compoundVariants: [
|
|
36
|
-
{
|
|
37
|
-
position: 'top-right',
|
|
38
|
-
inset: false,
|
|
39
|
-
class: '-translate-y-1/2 translate-x-1/2 transform'
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
position: 'bottom-right',
|
|
43
|
-
inset: false,
|
|
44
|
-
class: 'translate-y-1/2 translate-x-1/2 transform'
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
position: 'top-left',
|
|
48
|
-
inset: false,
|
|
49
|
-
class: '-translate-y-1/2 -translate-x-1/2 transform'
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
position: 'bottom-left',
|
|
53
|
-
inset: false,
|
|
54
|
-
class: 'translate-y-1/2 -translate-x-1/2 transform'
|
|
55
|
-
}
|
|
56
|
-
],
|
|
57
|
-
defaultVariants: {
|
|
58
|
-
size: 'md',
|
|
59
|
-
color: 'primary',
|
|
60
|
-
position: 'top-right'
|
|
61
|
-
}
|
|
62
|
-
});
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
slots: {
|
|
3
|
-
root: string;
|
|
4
|
-
picker: string;
|
|
5
|
-
selector: string;
|
|
6
|
-
selectorBackground: string;
|
|
7
|
-
selectorThumb: string;
|
|
8
|
-
track: string;
|
|
9
|
-
trackThumb: string;
|
|
10
|
-
};
|
|
11
|
-
variants: {
|
|
12
|
-
size: {
|
|
13
|
-
xs: {
|
|
14
|
-
selector: string;
|
|
15
|
-
track: string;
|
|
16
|
-
};
|
|
17
|
-
sm: {
|
|
18
|
-
selector: string;
|
|
19
|
-
track: string;
|
|
20
|
-
};
|
|
21
|
-
md: {
|
|
22
|
-
selector: string;
|
|
23
|
-
track: string;
|
|
24
|
-
};
|
|
25
|
-
lg: {
|
|
26
|
-
selector: string;
|
|
27
|
-
track: string;
|
|
28
|
-
};
|
|
29
|
-
xl: {
|
|
30
|
-
selector: string;
|
|
31
|
-
track: string;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
compoundVariants: never[];
|
|
36
|
-
defaultVariants: {
|
|
37
|
-
size: string;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
export default _default;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
slots: {
|
|
3
|
-
root: 'data-[disabled]:opacity-75',
|
|
4
|
-
picker: 'flex gap-4',
|
|
5
|
-
selector: 'rounded-md touch-none',
|
|
6
|
-
selectorBackground: 'w-full h-full relative rounded-md',
|
|
7
|
-
selectorThumb: '-translate-y-1/2 -translate-x-1/2 absolute size-4 ring-2 ring-(--color-white) rounded-full cursor-pointer data-[disabled]:cursor-not-allowed',
|
|
8
|
-
track: 'w-[8px] relative rounded-md touch-none',
|
|
9
|
-
trackThumb: 'absolute transform -translate-y-1/2 -translate-x-[4px] rtl:translate-x-[4px] size-4 rounded-full ring-2 ring-(--color-white) cursor-pointer data-[disabled]:cursor-not-allowed'
|
|
10
|
-
},
|
|
11
|
-
variants: {
|
|
12
|
-
size: {
|
|
13
|
-
xs: {
|
|
14
|
-
selector: 'w-38 h-38',
|
|
15
|
-
track: 'h-38'
|
|
16
|
-
},
|
|
17
|
-
sm: {
|
|
18
|
-
selector: 'w-40 h-40',
|
|
19
|
-
track: 'h-40'
|
|
20
|
-
},
|
|
21
|
-
md: {
|
|
22
|
-
selector: 'w-42 h-42',
|
|
23
|
-
track: 'h-42'
|
|
24
|
-
},
|
|
25
|
-
lg: {
|
|
26
|
-
selector: 'w-44 h-44',
|
|
27
|
-
track: 'h-44'
|
|
28
|
-
},
|
|
29
|
-
xl: {
|
|
30
|
-
selector: 'w-46 h-46',
|
|
31
|
-
track: 'h-46'
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
compoundVariants: [],
|
|
36
|
-
defaultVariants: {
|
|
37
|
-
size: 'md'
|
|
38
|
-
}
|
|
39
|
-
};
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
declare const _default: (options: Required<ModuleOptions>) => {
|
|
2
|
-
slots: {
|
|
3
|
-
root: string;
|
|
4
|
-
input: string;
|
|
5
|
-
close: string;
|
|
6
|
-
back: string;
|
|
7
|
-
content: string;
|
|
8
|
-
footer: string;
|
|
9
|
-
viewport: string;
|
|
10
|
-
group: string;
|
|
11
|
-
empty: string;
|
|
12
|
-
label: string;
|
|
13
|
-
item: string;
|
|
14
|
-
itemLeadingIcon: string;
|
|
15
|
-
itemLeadingAvatar: string;
|
|
16
|
-
itemLeadingAvatarSize: string;
|
|
17
|
-
itemLeadingChip: string;
|
|
18
|
-
itemLeadingChipSize: string;
|
|
19
|
-
itemTrailing: string;
|
|
20
|
-
itemTrailingIcon: string;
|
|
21
|
-
itemTrailingHighlightedIcon: string;
|
|
22
|
-
itemTrailingKbds: string;
|
|
23
|
-
itemTrailingKbdsSize: string;
|
|
24
|
-
itemLabel: string;
|
|
25
|
-
itemLabelBase: string;
|
|
26
|
-
itemLabelPrefix: string;
|
|
27
|
-
itemLabelSuffix: string;
|
|
28
|
-
};
|
|
29
|
-
variants: {
|
|
30
|
-
active: {
|
|
31
|
-
true: {
|
|
32
|
-
item: string;
|
|
33
|
-
itemLeadingIcon: string;
|
|
34
|
-
};
|
|
35
|
-
false: {
|
|
36
|
-
item: any[];
|
|
37
|
-
itemLeadingIcon: any[];
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
loading: {
|
|
41
|
-
true: {
|
|
42
|
-
itemLeadingIcon: string;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
export default _default;
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
export default (options) => ({
|
|
2
|
-
slots: {
|
|
3
|
-
root: 'flex flex-col min-h-0 min-w-0 divide-y divide-default',
|
|
4
|
-
input: '[&>input]:h-12',
|
|
5
|
-
close: '',
|
|
6
|
-
back: 'p-0',
|
|
7
|
-
content: 'relative overflow-hidden flex flex-col',
|
|
8
|
-
footer: 'p-1',
|
|
9
|
-
viewport: 'relative divide-y divide-default scroll-py-1 overflow-y-auto flex-1 focus:outline-none',
|
|
10
|
-
group: 'p-1 isolate',
|
|
11
|
-
empty: 'py-6 text-center text-sm text-muted',
|
|
12
|
-
label: 'p-1.5 text-xs font-semibold text-highlighted',
|
|
13
|
-
item: 'group relative w-full flex items-center gap-1.5 p-1.5 text-sm select-none outline-none before:absolute before:z-[-1] before:inset-px before:rounded-md data-disabled:cursor-not-allowed data-disabled:opacity-75',
|
|
14
|
-
itemLeadingIcon: 'shrink-0 size-5',
|
|
15
|
-
itemLeadingAvatar: 'shrink-0',
|
|
16
|
-
itemLeadingAvatarSize: '2xs',
|
|
17
|
-
itemLeadingChip: 'shrink-0 size-5',
|
|
18
|
-
itemLeadingChipSize: 'md',
|
|
19
|
-
itemTrailing: 'ms-auto inline-flex gap-1.5 items-center',
|
|
20
|
-
itemTrailingIcon: 'shrink-0 size-5',
|
|
21
|
-
itemTrailingHighlightedIcon: 'shrink-0 size-5 text-dimmed hidden group-data-highlighted:inline-flex',
|
|
22
|
-
itemTrailingKbds: 'hidden lg:inline-flex items-center shrink-0 gap-0.5',
|
|
23
|
-
itemTrailingKbdsSize: 'md',
|
|
24
|
-
itemLabel: 'truncate space-x-1 text-dimmed',
|
|
25
|
-
itemLabelBase: 'text-highlighted [&>mark]:text-inverted [&>mark]:bg-primary',
|
|
26
|
-
itemLabelPrefix: 'text-default',
|
|
27
|
-
itemLabelSuffix: 'text-dimmed [&>mark]:text-inverted [&>mark]:bg-primary'
|
|
28
|
-
},
|
|
29
|
-
variants: {
|
|
30
|
-
active: {
|
|
31
|
-
true: {
|
|
32
|
-
item: 'text-highlighted before:bg-elevated',
|
|
33
|
-
itemLeadingIcon: 'text-default'
|
|
34
|
-
},
|
|
35
|
-
false: {
|
|
36
|
-
item: [
|
|
37
|
-
'text-default data-highlighted:not-data-disabled:text-highlighted data-highlighted:not-data-disabled:before:bg-elevated/50',
|
|
38
|
-
options.theme.transitions && 'transition-colors before:transition-colors'
|
|
39
|
-
],
|
|
40
|
-
itemLeadingIcon: [
|
|
41
|
-
'text-dimmed group-data-highlighted:not-group-data-disabled:text-default',
|
|
42
|
-
options.theme.transitions && 'transition-colors'
|
|
43
|
-
]
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
loading: {
|
|
47
|
-
true: {
|
|
48
|
-
itemLeadingIcon: 'animate-spin'
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
});
|
package/dist/theme/container.js
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import type { NuxtOptions } from '@nuxt/schema';
|
|
2
|
-
declare const _default: (options: Required<NuxtOptions["ui"]>) => {
|
|
3
|
-
slots: {
|
|
4
|
-
root: string;
|
|
5
|
-
content: string;
|
|
6
|
-
list: string;
|
|
7
|
-
item: string;
|
|
8
|
-
listWithChildren: string;
|
|
9
|
-
itemWithChildren: string;
|
|
10
|
-
trigger: string;
|
|
11
|
-
link: string;
|
|
12
|
-
linkLeadingIcon: string;
|
|
13
|
-
linkTrailing: string;
|
|
14
|
-
linkTrailingBadge: string;
|
|
15
|
-
linkTrailingBadgeSize: string;
|
|
16
|
-
linkTrailingIcon: string;
|
|
17
|
-
linkTitle: string;
|
|
18
|
-
linkTitleExternalIcon: string;
|
|
19
|
-
};
|
|
20
|
-
variants: {
|
|
21
|
-
color: {
|
|
22
|
-
neutral: {
|
|
23
|
-
trigger: string;
|
|
24
|
-
link: string;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
highlightColor: {
|
|
28
|
-
neutral: string;
|
|
29
|
-
};
|
|
30
|
-
variant: {
|
|
31
|
-
pill: string;
|
|
32
|
-
link: string;
|
|
33
|
-
};
|
|
34
|
-
active: {
|
|
35
|
-
true: {
|
|
36
|
-
link: string;
|
|
37
|
-
};
|
|
38
|
-
false: {
|
|
39
|
-
link: string;
|
|
40
|
-
linkLeadingIcon: string;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
disabled: {
|
|
44
|
-
true: {
|
|
45
|
-
trigger: string;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
highlight: {
|
|
49
|
-
true: {};
|
|
50
|
-
};
|
|
51
|
-
level: {
|
|
52
|
-
true: {
|
|
53
|
-
item: string;
|
|
54
|
-
itemWithChildren: string;
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
compoundVariants: any[];
|
|
59
|
-
defaultVariants: {
|
|
60
|
-
color: string;
|
|
61
|
-
highlightColor: string;
|
|
62
|
-
variant: string;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
export default _default;
|
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
export default (options) => ({
|
|
2
|
-
slots: {
|
|
3
|
-
root: '',
|
|
4
|
-
content: 'data-[state=open]:animate-[accordion-down_200ms_ease-out] data-[state=closed]:animate-[accordion-up_200ms_ease-out] overflow-hidden focus:outline-none',
|
|
5
|
-
list: 'isolate -mx-2.5 -mt-1.5',
|
|
6
|
-
item: '',
|
|
7
|
-
listWithChildren: 'ms-5 border-s border-default',
|
|
8
|
-
itemWithChildren: 'flex flex-col data-[state=open]:mb-1.5',
|
|
9
|
-
trigger: 'font-semibold',
|
|
10
|
-
link: 'group relative w-full px-2.5 py-1.5 before:inset-y-px before:inset-x-0 flex items-center gap-1.5 text-sm before:absolute before:z-[-1] before:rounded-md focus:outline-none focus-visible:outline-none focus-visible:before:ring-inset focus-visible:before:ring-2',
|
|
11
|
-
linkLeadingIcon: 'shrink-0 size-5',
|
|
12
|
-
linkTrailing: 'ms-auto inline-flex gap-1.5 items-center',
|
|
13
|
-
linkTrailingBadge: 'shrink-0',
|
|
14
|
-
linkTrailingBadgeSize: 'sm',
|
|
15
|
-
linkTrailingIcon: 'size-5 transform transition-transform duration-200 shrink-0 group-data-[state=open]:rotate-180',
|
|
16
|
-
linkTitle: 'truncate',
|
|
17
|
-
linkTitleExternalIcon: 'size-3 align-top text-dimmed'
|
|
18
|
-
},
|
|
19
|
-
variants: {
|
|
20
|
-
color: {
|
|
21
|
-
...Object.fromEntries((options.theme.colors || []).map((color) => [color, {
|
|
22
|
-
trigger: `focus-visible:ring-${color}`,
|
|
23
|
-
link: `focus-visible:before:ring-${color}`
|
|
24
|
-
}])),
|
|
25
|
-
neutral: {
|
|
26
|
-
trigger: 'focus-visible:ring-inverted',
|
|
27
|
-
link: 'focus-visible:before:ring-inverted'
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
highlightColor: {
|
|
31
|
-
...Object.fromEntries((options.theme.colors || []).map((color) => [color, ''])),
|
|
32
|
-
neutral: ''
|
|
33
|
-
},
|
|
34
|
-
variant: {
|
|
35
|
-
pill: '',
|
|
36
|
-
link: ''
|
|
37
|
-
},
|
|
38
|
-
active: {
|
|
39
|
-
true: {
|
|
40
|
-
link: 'font-medium'
|
|
41
|
-
},
|
|
42
|
-
false: {
|
|
43
|
-
link: 'text-muted',
|
|
44
|
-
linkLeadingIcon: 'text-dimmed'
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
disabled: {
|
|
48
|
-
true: {
|
|
49
|
-
trigger: 'data-[state=open]:text-highlighted'
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
highlight: {
|
|
53
|
-
true: {}
|
|
54
|
-
},
|
|
55
|
-
level: {
|
|
56
|
-
true: {
|
|
57
|
-
item: 'ps-1.5 -ms-px',
|
|
58
|
-
itemWithChildren: 'ps-1.5 -ms-px'
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
compoundVariants: [{
|
|
63
|
-
highlight: true,
|
|
64
|
-
level: true,
|
|
65
|
-
class: {
|
|
66
|
-
link: ['after:absolute after:-left-1.5 after:inset-y-0.5 after:block after:w-px after:rounded-full', options.theme.transitions && 'after:transition-colors']
|
|
67
|
-
}
|
|
68
|
-
}, {
|
|
69
|
-
disabled: false,
|
|
70
|
-
active: false,
|
|
71
|
-
variant: 'pill',
|
|
72
|
-
class: {
|
|
73
|
-
link: ['hover:text-highlighted hover:before:bg-elevated/50 data-[state=open]:text-highlighted', options.theme.transitions && 'transition-colors before:transition-colors'],
|
|
74
|
-
linkLeadingIcon: ['group-hover:text-default group-data-[state=open]:text-default', options.theme.transitions && 'transition-colors']
|
|
75
|
-
}
|
|
76
|
-
}, ...(options.theme.colors || []).map((color) => ({
|
|
77
|
-
color,
|
|
78
|
-
variant: 'pill',
|
|
79
|
-
active: true,
|
|
80
|
-
class: {
|
|
81
|
-
link: `text-${color}`,
|
|
82
|
-
linkLeadingIcon: `text-${color} group-data-[state=open]:text-${color}`
|
|
83
|
-
}
|
|
84
|
-
})), {
|
|
85
|
-
color: 'neutral',
|
|
86
|
-
variant: 'pill',
|
|
87
|
-
active: true,
|
|
88
|
-
class: {
|
|
89
|
-
link: 'text-highlighted',
|
|
90
|
-
linkLeadingIcon: 'text-highlighted group-data-[state=open]:text-highlighted'
|
|
91
|
-
}
|
|
92
|
-
}, {
|
|
93
|
-
variant: 'pill',
|
|
94
|
-
active: true,
|
|
95
|
-
highlight: false,
|
|
96
|
-
class: {
|
|
97
|
-
link: 'before:bg-elevated'
|
|
98
|
-
}
|
|
99
|
-
}, {
|
|
100
|
-
variant: 'pill',
|
|
101
|
-
active: true,
|
|
102
|
-
highlight: true,
|
|
103
|
-
disabled: false,
|
|
104
|
-
class: {
|
|
105
|
-
link: ['hover:before:bg-elevated/50', options.theme.transitions && 'before:transition-colors']
|
|
106
|
-
}
|
|
107
|
-
}, {
|
|
108
|
-
disabled: false,
|
|
109
|
-
active: false,
|
|
110
|
-
variant: 'link',
|
|
111
|
-
class: {
|
|
112
|
-
link: ['hover:text-highlighted data-[state=open]:text-highlighted', options.theme.transitions && 'transition-colors'],
|
|
113
|
-
linkLeadingIcon: ['group-hover:text-default group-data-[state=open]:text-default', options.theme.transitions && 'transition-colors']
|
|
114
|
-
}
|
|
115
|
-
}, ...(options.theme.colors || []).map((color) => ({
|
|
116
|
-
color,
|
|
117
|
-
variant: 'link',
|
|
118
|
-
active: true,
|
|
119
|
-
class: {
|
|
120
|
-
link: `text-${color}`,
|
|
121
|
-
linkLeadingIcon: `text-${color} group-data-[state=open]:text-${color}`
|
|
122
|
-
}
|
|
123
|
-
})), {
|
|
124
|
-
color: 'neutral',
|
|
125
|
-
variant: 'link',
|
|
126
|
-
active: true,
|
|
127
|
-
class: {
|
|
128
|
-
link: 'text-highlighted',
|
|
129
|
-
linkLeadingIcon: 'text-highlighted group-data-[state=open]:text-highlighted'
|
|
130
|
-
}
|
|
131
|
-
}, ...(options.theme.colors || []).map((highlightColor) => ({
|
|
132
|
-
highlightColor,
|
|
133
|
-
highlight: true,
|
|
134
|
-
level: true,
|
|
135
|
-
active: true,
|
|
136
|
-
class: {
|
|
137
|
-
link: `after:bg-${highlightColor}`
|
|
138
|
-
}
|
|
139
|
-
})), {
|
|
140
|
-
highlightColor: 'neutral',
|
|
141
|
-
highlight: true,
|
|
142
|
-
level: true,
|
|
143
|
-
active: true,
|
|
144
|
-
class: {
|
|
145
|
-
link: 'after:bg-inverted'
|
|
146
|
-
}
|
|
147
|
-
}],
|
|
148
|
-
defaultVariants: {
|
|
149
|
-
color: 'primary',
|
|
150
|
-
highlightColor: 'primary',
|
|
151
|
-
variant: 'pill'
|
|
152
|
-
}
|
|
153
|
-
});
|