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/input-menu.js
DELETED
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
import { defuFn } from 'defu';
|
|
2
|
-
import input from './input';
|
|
3
|
-
export default (options) => {
|
|
4
|
-
return defuFn({
|
|
5
|
-
slots: {
|
|
6
|
-
base: () => ['rounded-md', options.theme.transitions && 'transition-colors'],
|
|
7
|
-
trailing: 'group absolute inset-y-0 end-0 flex items-center disabled:cursor-not-allowed disabled:opacity-75',
|
|
8
|
-
arrow: 'fill-default',
|
|
9
|
-
content: 'max-h-60 w-(--reka-combobox-trigger-width) bg-default shadow-lg rounded-md ring ring-default overflow-hidden data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-combobox-content-transform-origin) pointer-events-auto flex flex-col',
|
|
10
|
-
viewport: 'relative divide-y divide-default scroll-py-1 overflow-y-auto flex-1',
|
|
11
|
-
group: 'p-1 isolate',
|
|
12
|
-
empty: 'text-center text-muted',
|
|
13
|
-
label: 'font-semibold text-highlighted',
|
|
14
|
-
separator: '-mx-1 my-1 h-px bg-border',
|
|
15
|
-
item: [
|
|
16
|
-
'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 text-default data-highlighted:not-data-disabled:text-highlighted data-highlighted:not-data-disabled:before:bg-elevated/50',
|
|
17
|
-
options.theme.transitions && 'transition-colors before:transition-colors'
|
|
18
|
-
],
|
|
19
|
-
itemLeadingIcon: [
|
|
20
|
-
'shrink-0 text-dimmed group-data-highlighted:not-group-data-disabled:text-default',
|
|
21
|
-
options.theme.transitions && 'transition-colors'
|
|
22
|
-
],
|
|
23
|
-
itemLeadingAvatar: 'shrink-0',
|
|
24
|
-
itemLeadingAvatarSize: '',
|
|
25
|
-
itemLeadingChip: 'shrink-0',
|
|
26
|
-
itemLeadingChipSize: '',
|
|
27
|
-
itemTrailing: 'ms-auto inline-flex gap-1.5 items-center',
|
|
28
|
-
itemTrailingIcon: 'shrink-0',
|
|
29
|
-
itemLabel: 'truncate',
|
|
30
|
-
tagsItem: 'px-1.5 py-0.5 rounded-sm font-medium inline-flex items-center gap-0.5 ring ring-inset ring-accented bg-elevated text-default data-disabled:cursor-not-allowed data-disabled:opacity-75',
|
|
31
|
-
tagsItemText: 'truncate',
|
|
32
|
-
tagsItemDelete: [
|
|
33
|
-
'inline-flex items-center rounded-xs text-dimmed hover:text-default hover:bg-accented/75 disabled:pointer-events-none',
|
|
34
|
-
options.theme.transitions && 'transition-colors'
|
|
35
|
-
],
|
|
36
|
-
tagsItemDeleteIcon: 'shrink-0',
|
|
37
|
-
tagsInput: 'flex-1 border-0 bg-transparent placeholder:text-dimmed focus:outline-none disabled:cursor-not-allowed disabled:opacity-75'
|
|
38
|
-
},
|
|
39
|
-
variants: {
|
|
40
|
-
multiple: {
|
|
41
|
-
true: {
|
|
42
|
-
root: 'flex-wrap'
|
|
43
|
-
},
|
|
44
|
-
false: {
|
|
45
|
-
base: 'w-full border-0 placeholder:text-dimmed focus:outline-none disabled:cursor-not-allowed disabled:opacity-75'
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
size: {
|
|
49
|
-
xs: {
|
|
50
|
-
label: 'p-1 text-[10px]/3 gap-1',
|
|
51
|
-
item: 'p-1 text-xs gap-1',
|
|
52
|
-
itemLeadingIcon: 'size-4',
|
|
53
|
-
itemLeadingAvatarSize: '3xs',
|
|
54
|
-
itemLeadingChip: 'size-4',
|
|
55
|
-
itemLeadingChipSize: 'sm',
|
|
56
|
-
itemTrailingIcon: 'size-4',
|
|
57
|
-
tagsItem: 'text-[10px]/3',
|
|
58
|
-
tagsItemDeleteIcon: 'size-3',
|
|
59
|
-
empty: 'p-1 text-xs'
|
|
60
|
-
},
|
|
61
|
-
sm: {
|
|
62
|
-
label: 'p-1.5 text-[10px]/3 gap-1.5',
|
|
63
|
-
item: 'p-1.5 text-xs gap-1.5',
|
|
64
|
-
itemLeadingIcon: 'size-4',
|
|
65
|
-
itemLeadingAvatarSize: '3xs',
|
|
66
|
-
itemLeadingChip: 'size-4',
|
|
67
|
-
itemLeadingChipSize: 'sm',
|
|
68
|
-
itemTrailingIcon: 'size-4',
|
|
69
|
-
tagsItem: 'text-[10px]/3',
|
|
70
|
-
tagsItemDeleteIcon: 'size-3',
|
|
71
|
-
empty: 'p-1.5 text-xs'
|
|
72
|
-
},
|
|
73
|
-
md: {
|
|
74
|
-
label: 'p-1.5 text-xs gap-1.5',
|
|
75
|
-
item: 'p-1.5 text-sm gap-1.5',
|
|
76
|
-
itemLeadingIcon: 'size-5',
|
|
77
|
-
itemLeadingAvatarSize: '2xs',
|
|
78
|
-
itemLeadingChip: 'size-5',
|
|
79
|
-
itemLeadingChipSize: 'md',
|
|
80
|
-
itemTrailingIcon: 'size-5',
|
|
81
|
-
tagsItem: 'text-xs',
|
|
82
|
-
tagsItemDeleteIcon: 'size-3.5',
|
|
83
|
-
empty: 'p-1.5 text-sm'
|
|
84
|
-
},
|
|
85
|
-
lg: {
|
|
86
|
-
label: 'p-2 text-xs gap-2',
|
|
87
|
-
item: 'p-2 text-sm gap-2',
|
|
88
|
-
itemLeadingIcon: 'size-5',
|
|
89
|
-
itemLeadingAvatarSize: '2xs',
|
|
90
|
-
itemLeadingChip: 'size-5',
|
|
91
|
-
itemLeadingChipSize: 'md',
|
|
92
|
-
itemTrailingIcon: 'size-5',
|
|
93
|
-
tagsItem: 'text-xs',
|
|
94
|
-
tagsItemDeleteIcon: 'size-3.5',
|
|
95
|
-
empty: 'p-2 text-sm'
|
|
96
|
-
},
|
|
97
|
-
xl: {
|
|
98
|
-
label: 'p-2 text-sm gap-2',
|
|
99
|
-
item: 'p-2 text-base gap-2',
|
|
100
|
-
itemLeadingIcon: 'size-6',
|
|
101
|
-
itemLeadingAvatarSize: 'xs',
|
|
102
|
-
itemLeadingChip: 'size-6',
|
|
103
|
-
itemLeadingChipSize: 'lg',
|
|
104
|
-
itemTrailingIcon: 'size-6',
|
|
105
|
-
tagsItem: 'text-sm',
|
|
106
|
-
tagsItemDeleteIcon: 'size-4',
|
|
107
|
-
empty: 'p-2 text-base'
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
},
|
|
111
|
-
compoundVariants: [
|
|
112
|
-
{
|
|
113
|
-
variant: 'soft',
|
|
114
|
-
multiple: true,
|
|
115
|
-
class: 'has-focus:bg-elevated'
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
variant: 'ghost',
|
|
119
|
-
multiple: true,
|
|
120
|
-
class: 'has-focus:bg-elevated'
|
|
121
|
-
},
|
|
122
|
-
...(options.theme.colors || []).map((color) => ({
|
|
123
|
-
color,
|
|
124
|
-
multiple: true,
|
|
125
|
-
variant: ['outline', 'subtle'],
|
|
126
|
-
class: `has-focus-visible:ring-2 has-focus-visible:ring-${color}`
|
|
127
|
-
})),
|
|
128
|
-
{
|
|
129
|
-
color: 'neutral',
|
|
130
|
-
multiple: true,
|
|
131
|
-
variant: ['outline', 'subtle'],
|
|
132
|
-
class: 'has-focus-visible:ring-2 has-focus-visible:ring-inverted'
|
|
133
|
-
}
|
|
134
|
-
]
|
|
135
|
-
}, input(options));
|
|
136
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
declare const _default: (options: Required<ModuleOptions>) => {
|
|
2
|
-
slots: {
|
|
3
|
-
root: string;
|
|
4
|
-
base: any[];
|
|
5
|
-
increment: string;
|
|
6
|
-
decrement: string;
|
|
7
|
-
};
|
|
8
|
-
variants: any;
|
|
9
|
-
compoundVariants: any[];
|
|
10
|
-
defaultVariants: {
|
|
11
|
-
size: string;
|
|
12
|
-
color: string;
|
|
13
|
-
variant: string;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
export default _default;
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
import inputTheme from './input';
|
|
2
|
-
import { fieldGroupVariantWithRoot } from './field-group';
|
|
3
|
-
export default (options) => {
|
|
4
|
-
const input = inputTheme(options);
|
|
5
|
-
return {
|
|
6
|
-
slots: {
|
|
7
|
-
root: 'relative inline-flex items-center',
|
|
8
|
-
base: [
|
|
9
|
-
'w-full rounded-md border-0 placeholder:text-dimmed focus:outline-none disabled:cursor-not-allowed disabled:opacity-75',
|
|
10
|
-
options.theme.transitions && 'transition-colors'
|
|
11
|
-
],
|
|
12
|
-
increment: 'absolute flex items-center',
|
|
13
|
-
decrement: 'absolute flex items-center'
|
|
14
|
-
},
|
|
15
|
-
variants: {
|
|
16
|
-
...fieldGroupVariantWithRoot,
|
|
17
|
-
color: {
|
|
18
|
-
...Object.fromEntries((options.theme.colors || []).map((color) => [color, ''])),
|
|
19
|
-
neutral: ''
|
|
20
|
-
},
|
|
21
|
-
size: {
|
|
22
|
-
xs: 'px-2 py-1 text-xs gap-1',
|
|
23
|
-
sm: 'px-2.5 py-1.5 text-xs gap-1.5',
|
|
24
|
-
md: 'px-2.5 py-1.5 text-sm gap-1.5',
|
|
25
|
-
lg: 'px-3 py-2 text-sm gap-2',
|
|
26
|
-
xl: 'px-3 py-2 text-base gap-2'
|
|
27
|
-
},
|
|
28
|
-
variant: {
|
|
29
|
-
...input.variants.variant
|
|
30
|
-
},
|
|
31
|
-
disabled: {
|
|
32
|
-
true: {
|
|
33
|
-
increment: 'opacity-75 cursor-not-allowed',
|
|
34
|
-
decrement: 'opacity-75 cursor-not-allowed'
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
orientation: {
|
|
38
|
-
horizontal: {
|
|
39
|
-
base: 'text-center',
|
|
40
|
-
increment: 'inset-y-0 end-0 pe-1',
|
|
41
|
-
decrement: 'inset-y-0 start-0 ps-1'
|
|
42
|
-
},
|
|
43
|
-
vertical: {
|
|
44
|
-
increment: 'top-0 end-0 pe-1 [&>button]:py-0 scale-80',
|
|
45
|
-
decrement: 'bottom-0 end-0 pe-1 [&>button]:py-0 scale-80'
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
highlight: {
|
|
49
|
-
true: ''
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
compoundVariants: [
|
|
53
|
-
...(options.theme.colors || []).map((color) => ({
|
|
54
|
-
color,
|
|
55
|
-
variant: ['outline', 'subtle'],
|
|
56
|
-
class: `focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-${color}`
|
|
57
|
-
})),
|
|
58
|
-
...(options.theme.colors || []).map((color) => ({
|
|
59
|
-
color,
|
|
60
|
-
highlight: true,
|
|
61
|
-
class: `ring ring-inset ring-${color}`
|
|
62
|
-
})),
|
|
63
|
-
{
|
|
64
|
-
color: 'neutral',
|
|
65
|
-
variant: ['outline', 'subtle'],
|
|
66
|
-
class: 'focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-inverted'
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
color: 'neutral',
|
|
70
|
-
highlight: true,
|
|
71
|
-
class: 'ring ring-inset ring-inverted'
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
orientation: 'horizontal',
|
|
75
|
-
size: 'xs',
|
|
76
|
-
class: 'px-7'
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
orientation: 'horizontal',
|
|
80
|
-
size: 'sm',
|
|
81
|
-
class: 'px-8'
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
orientation: 'horizontal',
|
|
85
|
-
size: 'md',
|
|
86
|
-
class: 'px-9'
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
orientation: 'horizontal',
|
|
90
|
-
size: 'lg',
|
|
91
|
-
class: 'px-10'
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
orientation: 'horizontal',
|
|
95
|
-
size: 'xl',
|
|
96
|
-
class: 'px-11'
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
orientation: 'vertical',
|
|
100
|
-
size: 'xs',
|
|
101
|
-
class: 'pe-7'
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
orientation: 'vertical',
|
|
105
|
-
size: 'sm',
|
|
106
|
-
class: 'pe-8'
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
orientation: 'vertical',
|
|
110
|
-
size: 'md',
|
|
111
|
-
class: 'pe-9'
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
orientation: 'vertical',
|
|
115
|
-
size: 'lg',
|
|
116
|
-
class: 'pe-10'
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
orientation: 'vertical',
|
|
120
|
-
size: 'xl',
|
|
121
|
-
class: 'pe-11'
|
|
122
|
-
}
|
|
123
|
-
],
|
|
124
|
-
defaultVariants: {
|
|
125
|
-
size: 'md',
|
|
126
|
-
color: 'primary',
|
|
127
|
-
variant: 'outline'
|
|
128
|
-
}
|
|
129
|
-
};
|
|
130
|
-
};
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
declare const _default: (options: Required<ModuleOptions>) => Omit<{
|
|
2
|
-
slots: {
|
|
3
|
-
root: (prev: string) => string[];
|
|
4
|
-
base: () => any[];
|
|
5
|
-
item: string;
|
|
6
|
-
itemText: string;
|
|
7
|
-
itemDelete: any[];
|
|
8
|
-
itemDeleteIcon: string;
|
|
9
|
-
input: string;
|
|
10
|
-
};
|
|
11
|
-
variants: {
|
|
12
|
-
size: {
|
|
13
|
-
xs: {
|
|
14
|
-
item: string;
|
|
15
|
-
itemDeleteIcon: string;
|
|
16
|
-
};
|
|
17
|
-
sm: {
|
|
18
|
-
item: string;
|
|
19
|
-
itemDeleteIcon: string;
|
|
20
|
-
};
|
|
21
|
-
md: {
|
|
22
|
-
item: string;
|
|
23
|
-
itemDeleteIcon: string;
|
|
24
|
-
};
|
|
25
|
-
lg: {
|
|
26
|
-
item: string;
|
|
27
|
-
itemDeleteIcon: string;
|
|
28
|
-
};
|
|
29
|
-
xl: {
|
|
30
|
-
item: string;
|
|
31
|
-
itemDeleteIcon: string;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
variant: (prev: Record<string, string>) => {
|
|
35
|
-
[k: string]: string;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
compoundVariants: (prev: Record<string, any>[]) => {
|
|
39
|
-
class: any;
|
|
40
|
-
}[];
|
|
41
|
-
}, "variants" | "slots" | "compoundVariants"> & Omit<{
|
|
42
|
-
slots: {
|
|
43
|
-
root: string;
|
|
44
|
-
base: any[];
|
|
45
|
-
leading: string;
|
|
46
|
-
leadingIcon: string;
|
|
47
|
-
leadingAvatar: string;
|
|
48
|
-
leadingAvatarSize: string;
|
|
49
|
-
trailing: string;
|
|
50
|
-
trailingIcon: string;
|
|
51
|
-
};
|
|
52
|
-
variants: any;
|
|
53
|
-
compoundVariants: any[];
|
|
54
|
-
defaultVariants: {
|
|
55
|
-
size: string;
|
|
56
|
-
color: string;
|
|
57
|
-
variant: string;
|
|
58
|
-
};
|
|
59
|
-
}, "variants" | "slots" | "compoundVariants"> & {
|
|
60
|
-
variants: any;
|
|
61
|
-
slots: Omit<{
|
|
62
|
-
root: (prev: string) => string[];
|
|
63
|
-
base: () => any[];
|
|
64
|
-
item: string;
|
|
65
|
-
itemText: string;
|
|
66
|
-
itemDelete: any[];
|
|
67
|
-
itemDeleteIcon: string;
|
|
68
|
-
input: string;
|
|
69
|
-
}, "base" | "root"> & Omit<{
|
|
70
|
-
root: string;
|
|
71
|
-
base: any[];
|
|
72
|
-
leading: string;
|
|
73
|
-
leadingIcon: string;
|
|
74
|
-
leadingAvatar: string;
|
|
75
|
-
leadingAvatarSize: string;
|
|
76
|
-
trailing: string;
|
|
77
|
-
trailingIcon: string;
|
|
78
|
-
}, "base" | "root"> & {
|
|
79
|
-
base: any[] | (() => any[]);
|
|
80
|
-
root: string | ((prev: string) => string[]);
|
|
81
|
-
};
|
|
82
|
-
compoundVariants: any[] | ((prev: Record<string, any>[]) => {
|
|
83
|
-
class: any;
|
|
84
|
-
}[]);
|
|
85
|
-
};
|
|
86
|
-
export default _default;
|
package/dist/theme/input-tags.js
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { defuFn } from 'defu';
|
|
2
|
-
import input from './input';
|
|
3
|
-
export default (options) => {
|
|
4
|
-
return defuFn({
|
|
5
|
-
slots: {
|
|
6
|
-
root: (prev) => [prev, 'flex-wrap'],
|
|
7
|
-
base: () => ['rounded-md', options.theme.transitions && 'transition-colors'],
|
|
8
|
-
item: 'px-1.5 py-0.5 rounded-sm font-medium inline-flex items-center gap-0.5 ring ring-inset ring-accented bg-elevated text-default data-disabled:cursor-not-allowed data-disabled:opacity-75 wrap-anywhere data-[state="active"]:bg-accented',
|
|
9
|
-
itemText: '',
|
|
10
|
-
itemDelete: [
|
|
11
|
-
'inline-flex items-center rounded-xs text-dimmed hover:text-default hover:bg-accented/75 disabled:pointer-events-none',
|
|
12
|
-
options.theme.transitions && 'transition-colors'
|
|
13
|
-
],
|
|
14
|
-
itemDeleteIcon: 'shrink-0',
|
|
15
|
-
input: 'flex-1 border-0 bg-transparent placeholder:text-dimmed focus:outline-none disabled:cursor-not-allowed disabled:opacity-75'
|
|
16
|
-
},
|
|
17
|
-
variants: {
|
|
18
|
-
size: {
|
|
19
|
-
xs: {
|
|
20
|
-
item: 'text-[10px]/3',
|
|
21
|
-
itemDeleteIcon: 'size-3'
|
|
22
|
-
},
|
|
23
|
-
sm: {
|
|
24
|
-
item: 'text-[10px]/3',
|
|
25
|
-
itemDeleteIcon: 'size-3'
|
|
26
|
-
},
|
|
27
|
-
md: {
|
|
28
|
-
item: 'text-xs',
|
|
29
|
-
itemDeleteIcon: 'size-3.5'
|
|
30
|
-
},
|
|
31
|
-
lg: {
|
|
32
|
-
item: 'text-xs',
|
|
33
|
-
itemDeleteIcon: 'size-3.5'
|
|
34
|
-
},
|
|
35
|
-
xl: {
|
|
36
|
-
item: 'text-sm',
|
|
37
|
-
itemDeleteIcon: 'size-4'
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
variant: (prev) => Object.fromEntries(Object.entries(prev).map(([key, value]) => [key, replaceFocus(value)]))
|
|
41
|
-
},
|
|
42
|
-
compoundVariants: (prev) => prev.map((item) => ({
|
|
43
|
-
...item,
|
|
44
|
-
class: typeof item.class === 'string' ? replaceFocus(item.class) : item.class
|
|
45
|
-
}))
|
|
46
|
-
}, input(options));
|
|
47
|
-
};
|
|
48
|
-
function replaceFocus(str) {
|
|
49
|
-
return str.replace(/focus:/g, 'has-focus:').replace(/focus-visible:/g, 'has-focus-visible:');
|
|
50
|
-
}
|
package/dist/theme/input.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
declare const _default: (options: Required<ModuleOptions>) => {
|
|
2
|
-
slots: {
|
|
3
|
-
root: string;
|
|
4
|
-
base: any[];
|
|
5
|
-
leading: string;
|
|
6
|
-
leadingIcon: string;
|
|
7
|
-
leadingAvatar: string;
|
|
8
|
-
leadingAvatarSize: string;
|
|
9
|
-
trailing: string;
|
|
10
|
-
trailingIcon: string;
|
|
11
|
-
};
|
|
12
|
-
variants: any;
|
|
13
|
-
compoundVariants: any[];
|
|
14
|
-
defaultVariants: {
|
|
15
|
-
size: string;
|
|
16
|
-
color: string;
|
|
17
|
-
variant: string;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
export default _default;
|
package/dist/theme/input.js
DELETED
|
@@ -1,179 +0,0 @@
|
|
|
1
|
-
import { fieldGroupVariantWithRoot } from './field-group';
|
|
2
|
-
export default (options) => ({
|
|
3
|
-
slots: {
|
|
4
|
-
root: 'relative inline-flex items-center',
|
|
5
|
-
base: [
|
|
6
|
-
'w-full rounded-md border-0 appearance-none placeholder:text-dimmed focus:outline-none disabled:cursor-not-allowed disabled:opacity-75',
|
|
7
|
-
options.theme.transitions && 'transition-colors'
|
|
8
|
-
],
|
|
9
|
-
leading: 'absolute inset-y-0 start-0 flex items-center',
|
|
10
|
-
leadingIcon: 'shrink-0 text-dimmed',
|
|
11
|
-
leadingAvatar: 'shrink-0',
|
|
12
|
-
leadingAvatarSize: '',
|
|
13
|
-
trailing: 'absolute inset-y-0 end-0 flex items-center',
|
|
14
|
-
trailingIcon: 'shrink-0 text-dimmed'
|
|
15
|
-
},
|
|
16
|
-
variants: {
|
|
17
|
-
...fieldGroupVariantWithRoot,
|
|
18
|
-
size: {
|
|
19
|
-
xs: {
|
|
20
|
-
base: 'px-2 py-1 text-xs gap-1',
|
|
21
|
-
leading: 'ps-2',
|
|
22
|
-
trailing: 'pe-2',
|
|
23
|
-
leadingIcon: 'size-4',
|
|
24
|
-
leadingAvatarSize: '3xs',
|
|
25
|
-
trailingIcon: 'size-4'
|
|
26
|
-
},
|
|
27
|
-
sm: {
|
|
28
|
-
base: 'px-2.5 py-1.5 text-xs gap-1.5',
|
|
29
|
-
leading: 'ps-2.5',
|
|
30
|
-
trailing: 'pe-2.5',
|
|
31
|
-
leadingIcon: 'size-4',
|
|
32
|
-
leadingAvatarSize: '3xs',
|
|
33
|
-
trailingIcon: 'size-4'
|
|
34
|
-
},
|
|
35
|
-
md: {
|
|
36
|
-
base: 'px-2.5 py-1.5 text-sm gap-1.5',
|
|
37
|
-
leading: 'ps-2.5',
|
|
38
|
-
trailing: 'pe-2.5',
|
|
39
|
-
leadingIcon: 'size-5',
|
|
40
|
-
leadingAvatarSize: '2xs',
|
|
41
|
-
trailingIcon: 'size-5'
|
|
42
|
-
},
|
|
43
|
-
lg: {
|
|
44
|
-
base: 'px-3 py-2 text-sm gap-2',
|
|
45
|
-
leading: 'ps-3',
|
|
46
|
-
trailing: 'pe-3',
|
|
47
|
-
leadingIcon: 'size-5',
|
|
48
|
-
leadingAvatarSize: '2xs',
|
|
49
|
-
trailingIcon: 'size-5'
|
|
50
|
-
},
|
|
51
|
-
xl: {
|
|
52
|
-
base: 'px-3 py-2 text-base gap-2',
|
|
53
|
-
leading: 'ps-3',
|
|
54
|
-
trailing: 'pe-3',
|
|
55
|
-
leadingIcon: 'size-6',
|
|
56
|
-
leadingAvatarSize: 'xs',
|
|
57
|
-
trailingIcon: 'size-6'
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
variant: {
|
|
61
|
-
outline: 'text-highlighted bg-default ring ring-inset ring-accented',
|
|
62
|
-
soft: 'text-highlighted bg-elevated/50 hover:bg-elevated focus:bg-elevated disabled:bg-elevated/50',
|
|
63
|
-
subtle: 'text-highlighted bg-elevated ring ring-inset ring-accented',
|
|
64
|
-
ghost: 'text-highlighted bg-transparent hover:bg-elevated focus:bg-elevated disabled:bg-transparent dark:disabled:bg-transparent',
|
|
65
|
-
none: 'text-highlighted bg-transparent'
|
|
66
|
-
},
|
|
67
|
-
color: {
|
|
68
|
-
...Object.fromEntries((options.theme.colors || []).map((color) => [color, ''])),
|
|
69
|
-
neutral: ''
|
|
70
|
-
},
|
|
71
|
-
leading: {
|
|
72
|
-
true: ''
|
|
73
|
-
},
|
|
74
|
-
trailing: {
|
|
75
|
-
true: ''
|
|
76
|
-
},
|
|
77
|
-
loading: {
|
|
78
|
-
true: ''
|
|
79
|
-
},
|
|
80
|
-
highlight: {
|
|
81
|
-
true: ''
|
|
82
|
-
},
|
|
83
|
-
type: {
|
|
84
|
-
file: 'file:me-1.5 file:font-medium file:text-muted file:outline-none'
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
|
-
compoundVariants: [
|
|
88
|
-
...(options.theme.colors || []).map((color) => ({
|
|
89
|
-
color,
|
|
90
|
-
variant: ['outline', 'subtle'],
|
|
91
|
-
class: `focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-${color}`
|
|
92
|
-
})),
|
|
93
|
-
...(options.theme.colors || []).map((color) => ({
|
|
94
|
-
color,
|
|
95
|
-
highlight: true,
|
|
96
|
-
class: `ring ring-inset ring-${color}`
|
|
97
|
-
})),
|
|
98
|
-
{
|
|
99
|
-
color: 'neutral',
|
|
100
|
-
variant: ['outline', 'subtle'],
|
|
101
|
-
class: 'focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-inverted'
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
color: 'neutral',
|
|
105
|
-
highlight: true,
|
|
106
|
-
class: 'ring ring-inset ring-inverted'
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
leading: true,
|
|
110
|
-
size: 'xs',
|
|
111
|
-
class: 'ps-7'
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
leading: true,
|
|
115
|
-
size: 'sm',
|
|
116
|
-
class: 'ps-8'
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
leading: true,
|
|
120
|
-
size: 'md',
|
|
121
|
-
class: 'ps-9'
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
leading: true,
|
|
125
|
-
size: 'lg',
|
|
126
|
-
class: 'ps-10'
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
leading: true,
|
|
130
|
-
size: 'xl',
|
|
131
|
-
class: 'ps-11'
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
trailing: true,
|
|
135
|
-
size: 'xs',
|
|
136
|
-
class: 'pe-7'
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
trailing: true,
|
|
140
|
-
size: 'sm',
|
|
141
|
-
class: 'pe-8'
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
trailing: true,
|
|
145
|
-
size: 'md',
|
|
146
|
-
class: 'pe-9'
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
trailing: true,
|
|
150
|
-
size: 'lg',
|
|
151
|
-
class: 'pe-10'
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
trailing: true,
|
|
155
|
-
size: 'xl',
|
|
156
|
-
class: 'pe-11'
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
loading: true,
|
|
160
|
-
leading: true,
|
|
161
|
-
class: {
|
|
162
|
-
leadingIcon: 'animate-spin'
|
|
163
|
-
}
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
loading: true,
|
|
167
|
-
leading: false,
|
|
168
|
-
trailing: true,
|
|
169
|
-
class: {
|
|
170
|
-
trailingIcon: 'animate-spin'
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
],
|
|
174
|
-
defaultVariants: {
|
|
175
|
-
size: 'md',
|
|
176
|
-
color: 'primary',
|
|
177
|
-
variant: 'outline'
|
|
178
|
-
}
|
|
179
|
-
});
|
package/dist/theme/kbd.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
declare const _default: (options: Required<ModuleOptions>) => {
|
|
2
|
-
base: string;
|
|
3
|
-
variants: {
|
|
4
|
-
color: {
|
|
5
|
-
neutral: string;
|
|
6
|
-
};
|
|
7
|
-
variant: {
|
|
8
|
-
solid: string;
|
|
9
|
-
outline: string;
|
|
10
|
-
soft: string;
|
|
11
|
-
subtle: string;
|
|
12
|
-
};
|
|
13
|
-
size: {
|
|
14
|
-
sm: string;
|
|
15
|
-
md: string;
|
|
16
|
-
lg: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
compoundVariants: any[];
|
|
20
|
-
defaultVariants: {
|
|
21
|
-
variant: string;
|
|
22
|
-
color: string;
|
|
23
|
-
size: string;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
export default _default;
|