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
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { NuxtOptions } from '@nuxt/schema';
|
|
2
|
-
declare const _default: (options: Required<NuxtOptions["ui"]>) => {
|
|
3
|
-
slots: {
|
|
4
|
-
root: string;
|
|
5
|
-
link: any[];
|
|
6
|
-
linkLeading: any[];
|
|
7
|
-
linkLeadingIcon: any[];
|
|
8
|
-
linkTitle: string;
|
|
9
|
-
linkDescription: string;
|
|
10
|
-
};
|
|
11
|
-
variants: {
|
|
12
|
-
direction: {
|
|
13
|
-
left: {
|
|
14
|
-
linkLeadingIcon: any[];
|
|
15
|
-
};
|
|
16
|
-
right: {
|
|
17
|
-
link: string;
|
|
18
|
-
linkLeadingIcon: any[];
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
export default _default;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export default (options) => ({
|
|
2
|
-
slots: {
|
|
3
|
-
root: 'grid grid-cols-1 sm:grid-cols-2 gap-8',
|
|
4
|
-
link: ['group block px-6 py-8 rounded-lg border border-default hover:bg-elevated/50 focus-visible:outline-primary', options.theme.transitions && 'transition-colors'],
|
|
5
|
-
linkLeading: ['inline-flex items-center rounded-full p-1.5 bg-elevated group-hover:bg-primary/10 ring ring-accented mb-4 group-hover:ring-primary/50', options.theme.transitions && 'transition'],
|
|
6
|
-
linkLeadingIcon: ['size-5 shrink-0 text-highlighted group-hover:text-primary', options.theme.transitions && 'transition-[color,translate]'],
|
|
7
|
-
linkTitle: 'font-medium text-[15px] text-highlighted mb-1 truncate',
|
|
8
|
-
linkDescription: 'text-sm text-muted line-clamp-2'
|
|
9
|
-
},
|
|
10
|
-
variants: {
|
|
11
|
-
direction: {
|
|
12
|
-
left: {
|
|
13
|
-
linkLeadingIcon: [options.theme.transitions && 'group-active:-translate-x-0.5']
|
|
14
|
-
},
|
|
15
|
-
right: {
|
|
16
|
-
link: 'text-right',
|
|
17
|
-
linkLeadingIcon: [options.theme.transitions && 'group-active:translate-x-0.5']
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
});
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import type { NuxtOptions } from '@nuxt/schema';
|
|
2
|
-
declare const _default: (options: Required<NuxtOptions["ui"]>) => {
|
|
3
|
-
slots: {
|
|
4
|
-
root: string;
|
|
5
|
-
container: string;
|
|
6
|
-
top: string;
|
|
7
|
-
bottom: string;
|
|
8
|
-
trigger: string;
|
|
9
|
-
title: string;
|
|
10
|
-
trailing: string;
|
|
11
|
-
trailingIcon: string;
|
|
12
|
-
content: string;
|
|
13
|
-
list: string;
|
|
14
|
-
listWithChildren: string;
|
|
15
|
-
item: string;
|
|
16
|
-
itemWithChildren: string;
|
|
17
|
-
link: string;
|
|
18
|
-
linkText: string;
|
|
19
|
-
indicator: string;
|
|
20
|
-
};
|
|
21
|
-
variants: {
|
|
22
|
-
color: {
|
|
23
|
-
neutral: string;
|
|
24
|
-
};
|
|
25
|
-
highlightColor: {
|
|
26
|
-
neutral: {
|
|
27
|
-
indicator: string;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
active: {
|
|
31
|
-
false: {
|
|
32
|
-
link: any[];
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
highlight: {
|
|
36
|
-
true: {
|
|
37
|
-
list: string;
|
|
38
|
-
item: string;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
body: {
|
|
42
|
-
true: {
|
|
43
|
-
bottom: string;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
compoundVariants: any[];
|
|
48
|
-
defaultVariants: {
|
|
49
|
-
color: string;
|
|
50
|
-
highlightColor: string;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
export default _default;
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
export default (options) => ({
|
|
2
|
-
slots: {
|
|
3
|
-
root: 'sticky top-(--ui-header-height) z-10 bg-default/75 lg:bg-[initial] backdrop-blur -mx-4 px-4 sm:px-6 sm:-mx-6 overflow-y-auto max-h-[calc(100vh-var(--ui-header-height))]',
|
|
4
|
-
container: 'pt-4 sm:pt-6 pb-2.5 sm:pb-4.5 lg:py-8 border-b border-dashed border-default lg:border-0 flex flex-col',
|
|
5
|
-
top: '',
|
|
6
|
-
bottom: 'hidden lg:flex lg:flex-col gap-6',
|
|
7
|
-
trigger: 'group text-sm font-semibold flex-1 flex items-center gap-1.5 py-1.5 -mt-1.5 focus-visible:outline-primary',
|
|
8
|
-
title: 'truncate',
|
|
9
|
-
trailing: 'ms-auto inline-flex gap-1.5 items-center',
|
|
10
|
-
trailingIcon: 'size-5 transform transition-transform duration-200 shrink-0 group-data-[state=open]:rotate-180 lg:hidden',
|
|
11
|
-
content: 'data-[state=open]:animate-[collapsible-down_200ms_ease-out] data-[state=closed]:animate-[collapsible-up_200ms_ease-out] overflow-hidden focus:outline-none',
|
|
12
|
-
list: 'min-w-0',
|
|
13
|
-
listWithChildren: 'ms-3',
|
|
14
|
-
item: 'min-w-0',
|
|
15
|
-
itemWithChildren: '',
|
|
16
|
-
link: 'group relative text-sm flex items-center focus-visible:outline-primary py-1',
|
|
17
|
-
linkText: 'truncate',
|
|
18
|
-
indicator: 'absolute ms-2.5 transition-[translate,height] duration-200 h-(--indicator-size) translate-y-(--indicator-position) w-px rounded-full'
|
|
19
|
-
},
|
|
20
|
-
variants: {
|
|
21
|
-
color: {
|
|
22
|
-
...Object.fromEntries((options.theme.colors || []).map((color) => [color, ''])),
|
|
23
|
-
neutral: ''
|
|
24
|
-
},
|
|
25
|
-
highlightColor: {
|
|
26
|
-
...Object.fromEntries((options.theme.colors || []).map((color) => [color, {
|
|
27
|
-
indicator: `bg-${color}`
|
|
28
|
-
}])),
|
|
29
|
-
neutral: {
|
|
30
|
-
indicator: 'bg-inverted'
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
active: {
|
|
34
|
-
false: {
|
|
35
|
-
link: ['text-muted hover:text-default', options.theme.transitions && 'transition-colors']
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
highlight: {
|
|
39
|
-
true: {
|
|
40
|
-
list: 'ms-2.5 ps-4 border-s border-default',
|
|
41
|
-
item: '-ms-px'
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
body: {
|
|
45
|
-
true: {
|
|
46
|
-
bottom: 'mt-6'
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
compoundVariants: [...(options.theme.colors || []).map((color) => ({
|
|
51
|
-
color,
|
|
52
|
-
active: true,
|
|
53
|
-
class: {
|
|
54
|
-
link: `text-${color}`,
|
|
55
|
-
linkLeadingIcon: `text-${color}`
|
|
56
|
-
}
|
|
57
|
-
})), {
|
|
58
|
-
color: 'neutral',
|
|
59
|
-
active: true,
|
|
60
|
-
class: {
|
|
61
|
-
link: 'text-highlighted',
|
|
62
|
-
linkLeadingIcon: 'text-highlighted'
|
|
63
|
-
}
|
|
64
|
-
}],
|
|
65
|
-
defaultVariants: {
|
|
66
|
-
color: 'primary',
|
|
67
|
-
highlightColor: 'primary'
|
|
68
|
-
}
|
|
69
|
-
});
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { default as contentNavigation } from './content-navigation';
|
|
2
|
-
export { default as contentSearch } from './content-search';
|
|
3
|
-
export { default as contentSearchButton } from './content-search-button';
|
|
4
|
-
export { default as contentSurround } from './content-surround';
|
|
5
|
-
export { default as contentToc } from './content-toc';
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { default as contentNavigation } from './content-navigation';
|
|
2
|
-
export { default as contentSearch } from './content-search';
|
|
3
|
-
export { default as contentSearchButton } from './content-search-button';
|
|
4
|
-
export { default as contentSurround } from './content-surround';
|
|
5
|
-
export { default as contentToc } from './content-toc';
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
declare const _default: (options: Required<ModuleOptions>) => {
|
|
2
|
-
slots: {
|
|
3
|
-
content: string;
|
|
4
|
-
viewport: string;
|
|
5
|
-
group: string;
|
|
6
|
-
label: string;
|
|
7
|
-
separator: string;
|
|
8
|
-
item: string;
|
|
9
|
-
itemLeadingIcon: string;
|
|
10
|
-
itemLeadingAvatar: string;
|
|
11
|
-
itemLeadingAvatarSize: string;
|
|
12
|
-
itemTrailing: string;
|
|
13
|
-
itemTrailingIcon: string;
|
|
14
|
-
itemTrailingKbds: string;
|
|
15
|
-
itemTrailingKbdsSize: string;
|
|
16
|
-
itemLabel: string;
|
|
17
|
-
itemLabelExternalIcon: string;
|
|
18
|
-
};
|
|
19
|
-
variants: {
|
|
20
|
-
color: {
|
|
21
|
-
neutral: string;
|
|
22
|
-
};
|
|
23
|
-
active: {
|
|
24
|
-
true: {
|
|
25
|
-
item: string;
|
|
26
|
-
itemLeadingIcon: string;
|
|
27
|
-
};
|
|
28
|
-
false: {
|
|
29
|
-
item: any[];
|
|
30
|
-
itemLeadingIcon: any[];
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
loading: {
|
|
34
|
-
true: {
|
|
35
|
-
itemLeadingIcon: string;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
size: {
|
|
39
|
-
xs: {
|
|
40
|
-
label: string;
|
|
41
|
-
item: string;
|
|
42
|
-
itemLeadingIcon: string;
|
|
43
|
-
itemLeadingAvatarSize: string;
|
|
44
|
-
itemTrailingIcon: string;
|
|
45
|
-
itemTrailingKbds: string;
|
|
46
|
-
itemTrailingKbdsSize: string;
|
|
47
|
-
};
|
|
48
|
-
sm: {
|
|
49
|
-
label: string;
|
|
50
|
-
item: string;
|
|
51
|
-
itemLeadingIcon: string;
|
|
52
|
-
itemLeadingAvatarSize: string;
|
|
53
|
-
itemTrailingIcon: string;
|
|
54
|
-
itemTrailingKbds: string;
|
|
55
|
-
itemTrailingKbdsSize: string;
|
|
56
|
-
};
|
|
57
|
-
md: {
|
|
58
|
-
label: string;
|
|
59
|
-
item: string;
|
|
60
|
-
itemLeadingIcon: string;
|
|
61
|
-
itemLeadingAvatarSize: string;
|
|
62
|
-
itemTrailingIcon: string;
|
|
63
|
-
itemTrailingKbds: string;
|
|
64
|
-
itemTrailingKbdsSize: string;
|
|
65
|
-
};
|
|
66
|
-
lg: {
|
|
67
|
-
label: string;
|
|
68
|
-
item: string;
|
|
69
|
-
itemLeadingIcon: string;
|
|
70
|
-
itemLeadingAvatarSize: string;
|
|
71
|
-
itemTrailingIcon: string;
|
|
72
|
-
itemTrailingKbds: string;
|
|
73
|
-
itemTrailingKbdsSize: string;
|
|
74
|
-
};
|
|
75
|
-
xl: {
|
|
76
|
-
label: string;
|
|
77
|
-
item: string;
|
|
78
|
-
itemLeadingIcon: string;
|
|
79
|
-
itemLeadingAvatarSize: string;
|
|
80
|
-
itemTrailingIcon: string;
|
|
81
|
-
itemTrailingKbds: string;
|
|
82
|
-
itemTrailingKbdsSize: string;
|
|
83
|
-
};
|
|
84
|
-
};
|
|
85
|
-
};
|
|
86
|
-
compoundVariants: any[];
|
|
87
|
-
defaultVariants: {
|
|
88
|
-
size: string;
|
|
89
|
-
};
|
|
90
|
-
};
|
|
91
|
-
export default _default;
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
export default (options) => ({
|
|
2
|
-
slots: {
|
|
3
|
-
content: 'min-w-32 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-context-menu-content-transform-origin) flex flex-col',
|
|
4
|
-
viewport: 'relative divide-y divide-default scroll-py-1 overflow-y-auto flex-1',
|
|
5
|
-
group: 'p-1 isolate',
|
|
6
|
-
label: 'w-full flex items-center font-semibold text-highlighted',
|
|
7
|
-
separator: '-mx-1 my-1 h-px bg-border',
|
|
8
|
-
item: 'group relative w-full flex items-center select-none outline-none before:absolute before:z-[-1] before:inset-px before:rounded-md data-disabled:cursor-not-allowed data-disabled:opacity-75',
|
|
9
|
-
itemLeadingIcon: 'shrink-0',
|
|
10
|
-
itemLeadingAvatar: 'shrink-0',
|
|
11
|
-
itemLeadingAvatarSize: '',
|
|
12
|
-
itemTrailing: 'ms-auto inline-flex gap-1.5 items-center',
|
|
13
|
-
itemTrailingIcon: 'shrink-0',
|
|
14
|
-
itemTrailingKbds: 'hidden lg:inline-flex items-center shrink-0',
|
|
15
|
-
itemTrailingKbdsSize: '',
|
|
16
|
-
itemLabel: 'truncate',
|
|
17
|
-
itemLabelExternalIcon: 'inline-block size-3 align-top text-dimmed'
|
|
18
|
-
},
|
|
19
|
-
variants: {
|
|
20
|
-
color: {
|
|
21
|
-
...Object.fromEntries((options.theme.colors || []).map((color) => [color, ''])),
|
|
22
|
-
neutral: ''
|
|
23
|
-
},
|
|
24
|
-
active: {
|
|
25
|
-
true: {
|
|
26
|
-
item: 'text-highlighted before:bg-elevated',
|
|
27
|
-
itemLeadingIcon: 'text-default'
|
|
28
|
-
},
|
|
29
|
-
false: {
|
|
30
|
-
item: [
|
|
31
|
-
'text-default data-highlighted:text-highlighted data-[state=open]:text-highlighted data-highlighted:before:bg-elevated/50 data-[state=open]:before:bg-elevated/50',
|
|
32
|
-
options.theme.transitions && 'transition-colors before:transition-colors'
|
|
33
|
-
],
|
|
34
|
-
itemLeadingIcon: [
|
|
35
|
-
'text-dimmed group-data-highlighted:text-default group-data-[state=open]:text-default',
|
|
36
|
-
options.theme.transitions && 'transition-colors'
|
|
37
|
-
]
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
loading: {
|
|
41
|
-
true: {
|
|
42
|
-
itemLeadingIcon: 'animate-spin'
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
size: {
|
|
46
|
-
xs: {
|
|
47
|
-
label: 'p-1 text-xs gap-1',
|
|
48
|
-
item: 'p-1 text-xs gap-1',
|
|
49
|
-
itemLeadingIcon: 'size-4',
|
|
50
|
-
itemLeadingAvatarSize: '3xs',
|
|
51
|
-
itemTrailingIcon: 'size-4',
|
|
52
|
-
itemTrailingKbds: 'gap-0.5',
|
|
53
|
-
itemTrailingKbdsSize: 'sm'
|
|
54
|
-
},
|
|
55
|
-
sm: {
|
|
56
|
-
label: 'p-1.5 text-xs gap-1.5',
|
|
57
|
-
item: 'p-1.5 text-xs gap-1.5',
|
|
58
|
-
itemLeadingIcon: 'size-4',
|
|
59
|
-
itemLeadingAvatarSize: '3xs',
|
|
60
|
-
itemTrailingIcon: 'size-4',
|
|
61
|
-
itemTrailingKbds: 'gap-0.5',
|
|
62
|
-
itemTrailingKbdsSize: 'sm'
|
|
63
|
-
},
|
|
64
|
-
md: {
|
|
65
|
-
label: 'p-1.5 text-sm gap-1.5',
|
|
66
|
-
item: 'p-1.5 text-sm gap-1.5',
|
|
67
|
-
itemLeadingIcon: 'size-5',
|
|
68
|
-
itemLeadingAvatarSize: '2xs',
|
|
69
|
-
itemTrailingIcon: 'size-5',
|
|
70
|
-
itemTrailingKbds: 'gap-0.5',
|
|
71
|
-
itemTrailingKbdsSize: 'md'
|
|
72
|
-
},
|
|
73
|
-
lg: {
|
|
74
|
-
label: 'p-2 text-sm gap-2',
|
|
75
|
-
item: 'p-2 text-sm gap-2',
|
|
76
|
-
itemLeadingIcon: 'size-5',
|
|
77
|
-
itemLeadingAvatarSize: '2xs',
|
|
78
|
-
itemTrailingIcon: 'size-5',
|
|
79
|
-
itemTrailingKbds: 'gap-1',
|
|
80
|
-
itemTrailingKbdsSize: 'md'
|
|
81
|
-
},
|
|
82
|
-
xl: {
|
|
83
|
-
label: 'p-2 text-base gap-2',
|
|
84
|
-
item: 'p-2 text-base gap-2',
|
|
85
|
-
itemLeadingIcon: 'size-6',
|
|
86
|
-
itemLeadingAvatarSize: 'xs',
|
|
87
|
-
itemTrailingIcon: 'size-6',
|
|
88
|
-
itemTrailingKbds: 'gap-1',
|
|
89
|
-
itemTrailingKbdsSize: 'lg'
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
compoundVariants: [
|
|
94
|
-
...(options.theme.colors || []).map((color) => ({
|
|
95
|
-
color,
|
|
96
|
-
active: false,
|
|
97
|
-
class: {
|
|
98
|
-
item: `text-${color} data-highlighted:text-${color} data-highlighted:before:bg-${color}/10 data-[state=open]:before:bg-${color}/10`,
|
|
99
|
-
itemLeadingIcon: `text-${color}/75 group-data-highlighted:text-${color} group-data-[state=open]:text-${color}`
|
|
100
|
-
}
|
|
101
|
-
})),
|
|
102
|
-
...(options.theme.colors || []).map((color) => ({
|
|
103
|
-
color,
|
|
104
|
-
active: true,
|
|
105
|
-
class: {
|
|
106
|
-
item: `text-${color} before:bg-${color}/10`,
|
|
107
|
-
itemLeadingIcon: `text-${color}`
|
|
108
|
-
}
|
|
109
|
-
}))
|
|
110
|
-
],
|
|
111
|
-
defaultVariants: {
|
|
112
|
-
size: 'md'
|
|
113
|
-
}
|
|
114
|
-
});
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
slots: {
|
|
3
|
-
root: string;
|
|
4
|
-
left: string;
|
|
5
|
-
icon: string;
|
|
6
|
-
title: string;
|
|
7
|
-
center: string;
|
|
8
|
-
right: string;
|
|
9
|
-
toggle: string;
|
|
10
|
-
};
|
|
11
|
-
variants: {
|
|
12
|
-
toggleSide: {
|
|
13
|
-
left: {
|
|
14
|
-
toggle: string;
|
|
15
|
-
};
|
|
16
|
-
right: {
|
|
17
|
-
toggle: string;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
export default _default;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
slots: {
|
|
3
|
-
root: 'h-(--ui-header-height) shrink-0 flex items-center justify-between border-b border-default px-4 sm:px-6 gap-1.5',
|
|
4
|
-
left: 'flex items-center gap-1.5 min-w-0',
|
|
5
|
-
icon: 'shrink-0 size-5 self-center me-1.5',
|
|
6
|
-
title: 'flex items-center gap-1.5 font-semibold text-highlighted truncate',
|
|
7
|
-
center: 'hidden lg:flex',
|
|
8
|
-
right: 'flex items-center shrink-0 gap-1.5',
|
|
9
|
-
toggle: ''
|
|
10
|
-
},
|
|
11
|
-
variants: {
|
|
12
|
-
toggleSide: {
|
|
13
|
-
left: {
|
|
14
|
-
toggle: ''
|
|
15
|
-
},
|
|
16
|
-
right: {
|
|
17
|
-
toggle: ''
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
slots: {
|
|
3
|
-
root: 'relative flex flex-col min-w-0 min-h-svh lg:not-last:border-r lg:not-last:border-default shrink-0',
|
|
4
|
-
body: 'flex flex-col gap-4 sm:gap-6 flex-1 overflow-y-auto p-4 sm:p-6',
|
|
5
|
-
handle: ''
|
|
6
|
-
},
|
|
7
|
-
variants: {
|
|
8
|
-
size: {
|
|
9
|
-
true: {
|
|
10
|
-
root: 'w-full lg:w-(--width)'
|
|
11
|
-
},
|
|
12
|
-
false: {
|
|
13
|
-
root: 'flex-1'
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
slots: {
|
|
3
|
-
root: string;
|
|
4
|
-
header: string;
|
|
5
|
-
body: string;
|
|
6
|
-
footer: string;
|
|
7
|
-
toggle: string;
|
|
8
|
-
handle: string;
|
|
9
|
-
content: string;
|
|
10
|
-
overlay: string;
|
|
11
|
-
};
|
|
12
|
-
variants: {
|
|
13
|
-
menu: {
|
|
14
|
-
true: {
|
|
15
|
-
header: string;
|
|
16
|
-
body: string;
|
|
17
|
-
footer: string;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
side: {
|
|
21
|
-
left: {
|
|
22
|
-
root: string;
|
|
23
|
-
};
|
|
24
|
-
right: {
|
|
25
|
-
root: string;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
toggleSide: {
|
|
29
|
-
left: {
|
|
30
|
-
toggle: string;
|
|
31
|
-
};
|
|
32
|
-
right: {
|
|
33
|
-
toggle: string;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
export default _default;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
slots: {
|
|
3
|
-
root: 'relative hidden lg:flex flex-col min-h-svh min-w-16 w-(--width) shrink-0',
|
|
4
|
-
header: 'h-(--ui-header-height) shrink-0 flex items-center gap-1.5 px-4',
|
|
5
|
-
body: 'flex flex-col gap-4 flex-1 overflow-y-auto px-4 py-2',
|
|
6
|
-
footer: 'shrink-0 flex items-center gap-1.5 px-4 py-2',
|
|
7
|
-
toggle: '',
|
|
8
|
-
handle: '',
|
|
9
|
-
content: 'lg:hidden',
|
|
10
|
-
overlay: 'lg:hidden'
|
|
11
|
-
},
|
|
12
|
-
variants: {
|
|
13
|
-
menu: {
|
|
14
|
-
true: {
|
|
15
|
-
header: 'sm:px-6',
|
|
16
|
-
body: 'sm:px-6',
|
|
17
|
-
footer: 'sm:px-6'
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
side: {
|
|
21
|
-
left: {
|
|
22
|
-
root: 'border-r border-default'
|
|
23
|
-
},
|
|
24
|
-
right: {
|
|
25
|
-
root: ''
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
toggleSide: {
|
|
29
|
-
left: {
|
|
30
|
-
toggle: ''
|
|
31
|
-
},
|
|
32
|
-
right: {
|
|
33
|
-
toggle: 'ms-auto'
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
};
|