@byyuurin/ui 0.0.10 → 0.1.0
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/README.md +170 -58
- package/dist/module.d.mts +4 -13
- package/dist/module.json +4 -4
- package/dist/module.mjs +54 -20
- package/dist/runtime/components/Accordion.vue +48 -72
- package/dist/runtime/components/Accordion.vue.d.ts +74 -0
- package/dist/runtime/components/Alert.vue +65 -83
- package/dist/runtime/components/Alert.vue.d.ts +71 -0
- package/dist/runtime/components/App.vue +28 -42
- package/dist/runtime/components/App.vue.d.ts +26 -0
- package/dist/runtime/components/Avatar.vue +82 -58
- package/dist/runtime/components/Avatar.vue.d.ts +39 -0
- package/dist/runtime/components/AvatarGroup.vue +43 -70
- package/dist/runtime/components/AvatarGroup.vue.d.ts +30 -0
- package/dist/runtime/components/Badge.vue +70 -64
- package/dist/runtime/components/Badge.vue.d.ts +45 -0
- package/dist/runtime/components/Breadcrumb.vue +56 -76
- package/dist/runtime/components/Breadcrumb.vue.d.ts +79 -0
- package/dist/runtime/components/Button.vue +150 -78
- package/dist/runtime/components/Button.vue.d.ts +45 -0
- package/dist/runtime/components/Calendar.vue +99 -125
- package/dist/runtime/components/Calendar.vue.d.ts +102 -0
- package/dist/runtime/components/Card.vue +33 -46
- package/dist/runtime/components/Card.vue.d.ts +34 -0
- package/dist/runtime/components/Carousel.vue +164 -237
- package/dist/runtime/components/Carousel.vue.d.ts +125 -0
- package/dist/runtime/components/Checkbox.vue +86 -88
- package/dist/runtime/components/Checkbox.vue.d.ts +63 -0
- package/dist/runtime/components/Chip.vue +44 -58
- package/dist/runtime/components/Chip.vue.d.ts +48 -0
- package/dist/runtime/components/Collapsible.vue +29 -33
- package/dist/runtime/components/Collapsible.vue.d.ts +34 -0
- package/dist/runtime/components/Drawer.vue +110 -150
- package/dist/runtime/components/Drawer.vue.d.ts +103 -0
- package/dist/runtime/components/DropdownMenu.vue +49 -120
- package/dist/runtime/components/DropdownMenu.vue.d.ts +140 -0
- package/dist/runtime/components/DropdownMenuContent.vue +177 -143
- package/dist/runtime/components/DropdownMenuContent.vue.d.ts +51 -0
- package/dist/runtime/components/FieldGroup.vue +33 -0
- package/dist/runtime/components/FieldGroup.vue.d.ts +33 -0
- package/dist/runtime/components/Form.vue +245 -275
- package/dist/runtime/components/Form.vue.d.ts +103 -0
- package/dist/runtime/components/FormField.vue +108 -0
- package/dist/runtime/components/FormField.vue.d.ts +63 -0
- package/dist/runtime/components/Icon.vue +20 -0
- package/dist/runtime/components/Icon.vue.d.ts +9 -0
- package/dist/runtime/components/Input.vue +125 -156
- package/dist/runtime/components/Input.vue.d.ts +76 -0
- package/dist/runtime/components/InputNumber.vue +103 -130
- package/dist/runtime/components/InputNumber.vue.d.ts +191 -0
- package/dist/runtime/components/Kbd.vue +24 -39
- package/dist/runtime/components/Kbd.vue.d.ts +34 -0
- package/dist/runtime/components/Link.vue +105 -337
- package/dist/runtime/components/Link.vue.d.ts +95 -0
- package/dist/runtime/components/LinkBase.vue +31 -71
- package/dist/runtime/components/LinkBase.vue.d.ts +33 -0
- package/dist/runtime/components/Modal.vue +82 -103
- package/dist/runtime/components/Modal.vue.d.ts +96 -0
- package/dist/runtime/components/NavigationMenu.vue +336 -0
- package/dist/runtime/components/NavigationMenu.vue.d.ts +181 -0
- package/dist/runtime/components/OverlayProvider.vue +12 -16
- package/dist/runtime/components/OverlayProvider.vue.d.ts +3 -0
- package/dist/runtime/components/Pagination.vue +65 -139
- package/dist/runtime/components/Pagination.vue.d.ts +116 -0
- package/dist/runtime/components/PinInput.vue +78 -73
- package/dist/runtime/components/PinInput.vue.d.ts +54 -0
- package/dist/runtime/components/Popover.vue +60 -75
- package/dist/runtime/components/Popover.vue.d.ts +70 -0
- package/dist/runtime/components/Progress.vue +79 -126
- package/dist/runtime/components/Progress.vue.d.ts +63 -0
- package/dist/runtime/components/RadioGroup.vue +109 -140
- package/dist/runtime/components/RadioGroup.vue.d.ts +96 -0
- package/dist/runtime/components/ScrollArea.vue +50 -48
- package/dist/runtime/components/ScrollArea.vue.d.ts +21 -0
- package/dist/runtime/components/Select.vue +221 -221
- package/dist/runtime/components/Select.vue.d.ts +260 -0
- package/dist/runtime/components/Separator.vue +55 -47
- package/dist/runtime/components/Separator.vue.d.ts +48 -0
- package/dist/runtime/components/Skeleton.vue +25 -22
- package/dist/runtime/components/Skeleton.vue.d.ts +19 -0
- package/dist/runtime/components/Slider.vue +73 -77
- package/dist/runtime/components/Slider.vue.d.ts +52 -0
- package/dist/runtime/components/Switch.vue +66 -77
- package/dist/runtime/components/Switch.vue.d.ts +58 -0
- package/dist/runtime/components/Table.vue +357 -215
- package/dist/runtime/components/Table.vue.d.ts +234 -0
- package/dist/runtime/components/Tabs.vue +90 -88
- package/dist/runtime/components/Tabs.vue.d.ts +97 -0
- package/dist/runtime/components/Textarea.vue +147 -146
- package/dist/runtime/components/Textarea.vue.d.ts +76 -0
- package/dist/runtime/components/Toast.vue +108 -90
- package/dist/runtime/components/Toast.vue.d.ts +152 -0
- package/dist/runtime/components/ToastProvider.vue +82 -109
- package/dist/runtime/components/ToastProvider.vue.d.ts +51 -0
- package/dist/runtime/components/Tooltip.vue +54 -53
- package/dist/runtime/components/Tooltip.vue.d.ts +53 -0
- package/dist/runtime/composables/defineShortcuts.d.ts +16 -0
- package/dist/runtime/composables/defineShortcuts.js +129 -0
- package/dist/runtime/composables/useAvatarGroup.d.ts +8 -3
- package/dist/runtime/composables/useAvatarGroup.js +10 -3
- package/dist/runtime/composables/useComponentIcons.d.ts +9 -6
- package/dist/runtime/composables/useComponentIcons.js +4 -4
- package/dist/runtime/composables/useFieldGroup.d.ts +8 -0
- package/dist/runtime/composables/useFieldGroup.js +14 -0
- package/dist/runtime/composables/useFormField.d.ts +62 -0
- package/dist/runtime/composables/useFormField.js +99 -0
- package/dist/runtime/composables/useKbd.d.ts +3 -2
- package/dist/runtime/composables/useKbd.js +3 -2
- package/dist/runtime/composables/useLocale.d.ts +68 -5
- package/dist/runtime/composables/useLocale.js +11 -11
- package/dist/runtime/composables/useOverlay.d.ts +51 -15
- package/dist/runtime/composables/useOverlay.js +44 -30
- package/dist/runtime/composables/usePortal.d.ts +6 -0
- package/dist/runtime/composables/usePortal.js +17 -0
- package/dist/runtime/composables/useToast.d.ts +12 -5
- package/dist/runtime/composables/useToast.js +12 -7
- package/dist/runtime/locale/en.d.ts +30 -1
- package/dist/runtime/locale/en.js +2 -1
- package/dist/runtime/locale/index.d.ts +2 -2
- package/dist/runtime/locale/index.js +1 -1
- package/dist/runtime/locale/zh_tw.d.ts +31 -0
- package/dist/runtime/locale/{zh-tw.js → zh_tw.js} +2 -1
- package/dist/runtime/plugins/colors.d.ts +2 -0
- package/dist/runtime/plugins/colors.js +50 -0
- package/dist/runtime/types/app.config.d.ts +6 -0
- package/dist/runtime/types/form.d.ts +58 -17
- package/dist/runtime/types/form.js +11 -0
- package/dist/runtime/types/index.d.ts +51 -8
- package/dist/runtime/types/index.js +45 -2
- package/dist/runtime/types/input.d.ts +8 -0
- package/dist/runtime/types/locale.d.ts +5 -0
- package/dist/runtime/types/style.d.ts +33 -0
- package/dist/runtime/types/style.js +0 -0
- package/dist/runtime/types/unocss.d.ts +4 -0
- package/dist/runtime/types/utils.d.ts +38 -37
- package/dist/runtime/utils/form.d.ts +5 -1
- package/dist/runtime/utils/form.js +49 -0
- package/dist/runtime/utils/index.d.ts +10 -13
- package/dist/runtime/utils/index.js +41 -48
- package/dist/runtime/utils/link.d.ts +5 -6
- package/dist/runtime/utils/link.js +16 -2
- package/dist/runtime/utils/locale.d.ts +5 -0
- package/dist/runtime/utils/locale.js +10 -0
- package/dist/runtime/utils/style.d.ts +94 -0
- package/dist/runtime/utils/style.js +37 -0
- package/dist/runtime/vue/components/Icon.vue +15 -0
- package/dist/runtime/vue/components/Icon.vue.d.ts +7 -0
- package/dist/runtime/vue/components/Link.vue +163 -0
- package/dist/runtime/vue/components/Link.vue.d.ts +95 -0
- package/dist/runtime/vue/composables/useAppConfig.d.ts +1 -0
- package/dist/runtime/vue/composables/useAppConfig.js +4 -0
- package/dist/runtime/vue/plugins/color-mode.d.ts +4 -0
- package/dist/runtime/vue/plugins/color-mode.js +6 -0
- package/dist/runtime/vue/plugins/head.d.ts +4 -0
- package/dist/runtime/vue/plugins/head.js +9 -0
- package/dist/runtime/vue/stubs.d.ts +16 -1
- package/dist/runtime/vue/stubs.js +32 -1
- package/dist/setup.d.mts +13 -0
- package/dist/setup.mjs +12 -0
- package/dist/shared/ui.CzIlLITK.mjs +51 -0
- package/dist/shared/ui.DSyJHSTk.mjs +3787 -0
- package/dist/shared/ui.DpbffTXs.d.mts +84 -0
- package/dist/shared/ui.IulR-OYx.d.mts +64 -0
- package/dist/types.d.mts +3 -1
- package/dist/unocss.d.mts +12 -52
- package/dist/unocss.mjs +144 -253
- package/dist/unplugin.d.mts +13 -26
- package/dist/unplugin.mjs +193 -18
- package/dist/vite.d.mts +10 -1
- package/dist/vite.mjs +12 -3
- package/package.json +156 -87
- package/vue-plugin.d.ts +5 -0
- package/dist/module.cjs +0 -5
- package/dist/module.d.ts +0 -13
- package/dist/module.mjs.map +0 -1
- package/dist/runtime/app/injections.d.ts +0 -9307
- package/dist/runtime/app/injections.js +0 -61
- package/dist/runtime/components/ButtonGroup.vue +0 -46
- package/dist/runtime/components/FormItem.vue +0 -129
- package/dist/runtime/composables/useButtonGroup.d.ts +0 -5
- package/dist/runtime/composables/useButtonGroup.js +0 -9
- package/dist/runtime/composables/useFormItem.d.ts +0 -27
- package/dist/runtime/composables/useFormItem.js +0 -64
- package/dist/runtime/composables/useTheme.d.ts +0 -9
- package/dist/runtime/composables/useTheme.js +0 -23
- package/dist/runtime/index.d.ts +0 -44
- package/dist/runtime/index.js +0 -44
- package/dist/runtime/locale/zh-tw.d.ts +0 -2
- package/dist/runtime/theme/accordion.d.ts +0 -56
- package/dist/runtime/theme/accordion.js +0 -28
- package/dist/runtime/theme/alert.d.ts +0 -125
- package/dist/runtime/theme/alert.js +0 -47
- package/dist/runtime/theme/app.d.ts +0 -19
- package/dist/runtime/theme/app.js +0 -19
- package/dist/runtime/theme/avatar-group.d.ts +0 -52
- package/dist/runtime/theme/avatar-group.js +0 -32
- package/dist/runtime/theme/avatar.d.ts +0 -56
- package/dist/runtime/theme/avatar.js +0 -34
- package/dist/runtime/theme/badge.d.ts +0 -82
- package/dist/runtime/theme/badge.js +0 -92
- package/dist/runtime/theme/breadcrumb.d.ts +0 -67
- package/dist/runtime/theme/breadcrumb.js +0 -44
- package/dist/runtime/theme/button-group.d.ts +0 -66
- package/dist/runtime/theme/button-group.js +0 -42
- package/dist/runtime/theme/button.d.ts +0 -190
- package/dist/runtime/theme/button.js +0 -164
- package/dist/runtime/theme/calendar.d.ts +0 -56
- package/dist/runtime/theme/calendar.js +0 -69
- package/dist/runtime/theme/card.d.ts +0 -62
- package/dist/runtime/theme/card.js +0 -37
- package/dist/runtime/theme/carousel.d.ts +0 -113
- package/dist/runtime/theme/carousel.js +0 -43
- package/dist/runtime/theme/checkbox.d.ts +0 -88
- package/dist/runtime/theme/checkbox.js +0 -54
- package/dist/runtime/theme/chip.d.ts +0 -67
- package/dist/runtime/theme/chip.js +0 -66
- package/dist/runtime/theme/collapsible.d.ts +0 -38
- package/dist/runtime/theme/collapsible.js +0 -10
- package/dist/runtime/theme/drawer.d.ts +0 -148
- package/dist/runtime/theme/drawer.js +0 -113
- package/dist/runtime/theme/dropdown-menu.d.ts +0 -71
- package/dist/runtime/theme/dropdown-menu.js +0 -83
- package/dist/runtime/theme/form-item.d.ts +0 -76
- package/dist/runtime/theme/form-item.js +0 -34
- package/dist/runtime/theme/form.d.ts +0 -8
- package/dist/runtime/theme/form.js +0 -7
- package/dist/runtime/theme/index.d.ts +0 -41
- package/dist/runtime/theme/index.js +0 -41
- package/dist/runtime/theme/input-number.d.ts +0 -121
- package/dist/runtime/theme/input-number.js +0 -95
- package/dist/runtime/theme/input.d.ts +0 -178
- package/dist/runtime/theme/input.js +0 -151
- package/dist/runtime/theme/kbd.d.ts +0 -39
- package/dist/runtime/theme/kbd.js +0 -26
- package/dist/runtime/theme/link.d.ts +0 -44
- package/dist/runtime/theme/link.js +0 -26
- package/dist/runtime/theme/modal.d.ts +0 -48
- package/dist/runtime/theme/modal.js +0 -55
- package/dist/runtime/theme/pagination.d.ts +0 -80
- package/dist/runtime/theme/pagination.js +0 -17
- package/dist/runtime/theme/pinInput.d.ts +0 -100
- package/dist/runtime/theme/pinInput.js +0 -111
- package/dist/runtime/theme/popover.d.ts +0 -38
- package/dist/runtime/theme/popover.js +0 -13
- package/dist/runtime/theme/progress.d.ts +0 -186
- package/dist/runtime/theme/progress.js +0 -95
- package/dist/runtime/theme/radio-group.d.ts +0 -110
- package/dist/runtime/theme/radio-group.js +0 -61
- package/dist/runtime/theme/scroll-area.d.ts +0 -73
- package/dist/runtime/theme/scroll-area.js +0 -33
- package/dist/runtime/theme/select.d.ts +0 -192
- package/dist/runtime/theme/select.js +0 -173
- package/dist/runtime/theme/separator.d.ts +0 -80
- package/dist/runtime/theme/separator.js +0 -53
- package/dist/runtime/theme/skeleton.d.ts +0 -8
- package/dist/runtime/theme/skeleton.js +0 -7
- package/dist/runtime/theme/slider.d.ts +0 -76
- package/dist/runtime/theme/slider.js +0 -52
- package/dist/runtime/theme/switch.d.ts +0 -122
- package/dist/runtime/theme/switch.js +0 -78
- package/dist/runtime/theme/table.d.ts +0 -92
- package/dist/runtime/theme/table.js +0 -36
- package/dist/runtime/theme/tabs.d.ts +0 -135
- package/dist/runtime/theme/tabs.js +0 -146
- package/dist/runtime/theme/textarea.d.ts +0 -96
- package/dist/runtime/theme/textarea.js +0 -116
- package/dist/runtime/theme/toast-provider.d.ts +0 -122
- package/dist/runtime/theme/toast-provider.js +0 -97
- package/dist/runtime/theme/toast.d.ts +0 -89
- package/dist/runtime/theme/toast.js +0 -35
- package/dist/runtime/theme/tooltip.d.ts +0 -44
- package/dist/runtime/theme/tooltip.js +0 -11
- package/dist/runtime/types/components.d.ts +0 -42
- package/dist/runtime/utils/extend-theme.d.ts +0 -9
- package/dist/runtime/utils/extend-theme.js +0 -27
- package/dist/runtime/utils/styler.d.ts +0 -4
- package/dist/runtime/utils/styler.js +0 -10
- package/dist/runtime/utils/translator.d.ts +0 -18
- package/dist/runtime/utils/translator.js +0 -8
- package/dist/shared/ui.3e7fad19.mjs +0 -5
- package/dist/shared/ui.3e7fad19.mjs.map +0 -1
- package/dist/types.d.ts +0 -1
- package/dist/unocss.d.ts +0 -52
- package/dist/unocss.mjs.map +0 -1
- package/dist/unplugin.d.ts +0 -26
- package/dist/unplugin.mjs.map +0 -1
- package/dist/vite.d.ts +0 -9
- package/dist/vite.mjs.map +0 -1
- /package/dist/runtime/types/{components.js → input.js} +0 -0
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
import { ct } from "@byyuurin/ui-kit";
|
|
2
|
-
export default ct(
|
|
3
|
-
/* @unocss-include */
|
|
4
|
-
{
|
|
5
|
-
slots: {
|
|
6
|
-
root: "flex items-center gap-2",
|
|
7
|
-
list: "relative flex p-1 group",
|
|
8
|
-
indicator: "absolute transition-all duration-200",
|
|
9
|
-
trigger: [
|
|
10
|
-
"group relative inline-flex items-center gap-0.25em shrink-0 min-w-0 font-medium rounded-ui-tabs transition-colors",
|
|
11
|
-
"outline-none",
|
|
12
|
-
"disabled:cursor-not-allowed disabled:opacity-50"
|
|
13
|
-
],
|
|
14
|
-
content: "w-full focus:outline-none",
|
|
15
|
-
leadingIcon: "shrink-0 size-1.5em",
|
|
16
|
-
label: "truncate"
|
|
17
|
-
},
|
|
18
|
-
variants: {
|
|
19
|
-
variant: {
|
|
20
|
-
"solid": {
|
|
21
|
-
list: "bg-soft-ui-cb/5 rounded-ui-tabs",
|
|
22
|
-
trigger: [
|
|
23
|
-
"data-[state=active]:color-ui-cx focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ui-base/80",
|
|
24
|
-
"data-[state=inactive]:color-ui-base/80 hover:data-[state=inactive]:not-disabled:color-ui-base"
|
|
25
|
-
],
|
|
26
|
-
indicator: "bg-soft-ui-fill/90 rounded-ui-tabs shadow-sm"
|
|
27
|
-
},
|
|
28
|
-
"outline": {
|
|
29
|
-
list: "bg-soft-ui-cb/5 rounded-ui-tabs",
|
|
30
|
-
trigger: [
|
|
31
|
-
"data-[state=active]:color-ui-fill focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ui-fill/80",
|
|
32
|
-
"data-[state=inactive]:color-ui-base/80 hover:data-[state=inactive]:not-disabled:color-ui-base"
|
|
33
|
-
],
|
|
34
|
-
indicator: "rounded-ui-tabs ring ring-inset ring-ui-fill"
|
|
35
|
-
},
|
|
36
|
-
"soft": {
|
|
37
|
-
list: "bg-soft-ui-cb/5 rounded-ui-tabs",
|
|
38
|
-
trigger: [
|
|
39
|
-
"data-[state=active]:color-ui-fill focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ui-fill",
|
|
40
|
-
"data-[state=inactive]:color-ui-base/80 hover:data-[state=inactive]:not-disabled:color-ui-base"
|
|
41
|
-
],
|
|
42
|
-
indicator: "bg-soft-ui-fill/10 rounded-ui-tabs shadow-sm"
|
|
43
|
-
},
|
|
44
|
-
"soft-outline": {
|
|
45
|
-
list: "bg-soft-ui-cb/5 rounded-ui-tabs",
|
|
46
|
-
trigger: [
|
|
47
|
-
"data-[state=active]:color-ui-fill focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ui-fill",
|
|
48
|
-
"data-[state=inactive]:color-ui-base/80 hover:data-[state=inactive]:not-disabled:color-ui-base"
|
|
49
|
-
],
|
|
50
|
-
indicator: "bg-soft-ui-fill/10 rounded-ui-tabs shadow-sm ring ring-inset ring-ui-fill/30"
|
|
51
|
-
},
|
|
52
|
-
"link": {
|
|
53
|
-
list: "bg-soft-ui-cb/5 border-ui-base/10",
|
|
54
|
-
indicator: "bg-soft-ui-fill rounded-full",
|
|
55
|
-
trigger: [
|
|
56
|
-
"data-[state=active]:color-ui-base focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ui-base",
|
|
57
|
-
"data-[state=inactive]:color-ui-base/80 hover:data-[state=inactive]:not-disabled:color-ui-base"
|
|
58
|
-
]
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
orientation: {
|
|
62
|
-
horizontal: {
|
|
63
|
-
root: "flex-col",
|
|
64
|
-
list: "w-full",
|
|
65
|
-
indicator: "left-0 w-[var(--reka-tabs-indicator-size)] translate-x-[var(--reka-tabs-indicator-position)]",
|
|
66
|
-
trigger: "justify-center"
|
|
67
|
-
},
|
|
68
|
-
vertical: {
|
|
69
|
-
list: "flex-col",
|
|
70
|
-
indicator: "top-0 h-[var(--reka-tabs-indicator-size)] translate-y-[var(--reka-tabs-indicator-position)]",
|
|
71
|
-
trigger: "flex-1 w-full"
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
size: {
|
|
75
|
-
xs: {
|
|
76
|
-
root: "text-sm"
|
|
77
|
-
},
|
|
78
|
-
sm: {
|
|
79
|
-
root: "tex-tsm"
|
|
80
|
-
},
|
|
81
|
-
md: {
|
|
82
|
-
root: "text-base"
|
|
83
|
-
},
|
|
84
|
-
lg: {
|
|
85
|
-
root: "text-lg"
|
|
86
|
-
},
|
|
87
|
-
xl: {
|
|
88
|
-
root: "text-xl"
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
evenly: {
|
|
92
|
-
true: {
|
|
93
|
-
trigger: "w-full flex-1"
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
compoundVariants: [
|
|
98
|
-
{
|
|
99
|
-
size: ["xs", "sm", "md"],
|
|
100
|
-
class: {
|
|
101
|
-
trigger: "p-1.5 px-2.5"
|
|
102
|
-
}
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
size: ["lg", "xl"],
|
|
106
|
-
class: {
|
|
107
|
-
trigger: "p-2.5 px-4.5"
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
orientation: "horizontal",
|
|
112
|
-
variant: ["solid", "soft", "outline", "soft-outline"],
|
|
113
|
-
class: {
|
|
114
|
-
indicator: "inset-y-1"
|
|
115
|
-
}
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
orientation: "horizontal",
|
|
119
|
-
variant: "link",
|
|
120
|
-
class: {
|
|
121
|
-
list: "border-b -mb-px",
|
|
122
|
-
indicator: "-bottom-px h-px"
|
|
123
|
-
}
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
orientation: "vertical",
|
|
127
|
-
variant: ["solid", "soft", "outline", "soft-outline"],
|
|
128
|
-
class: {
|
|
129
|
-
indicator: "inset-x-1",
|
|
130
|
-
list: "items-center rounded-[calc(var(--ui-radius-tabs)*0.66)]"
|
|
131
|
-
}
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
orientation: "vertical",
|
|
135
|
-
variant: "link",
|
|
136
|
-
class: {
|
|
137
|
-
list: "border-s -ms-px",
|
|
138
|
-
indicator: "-start-px w-px"
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
],
|
|
142
|
-
defaultVariants: {
|
|
143
|
-
size: "md"
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
);
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
base: undefined;
|
|
3
|
-
slots: {
|
|
4
|
-
root: string;
|
|
5
|
-
base: string[];
|
|
6
|
-
};
|
|
7
|
-
variants: {
|
|
8
|
-
size: {
|
|
9
|
-
xs: {
|
|
10
|
-
root: string;
|
|
11
|
-
};
|
|
12
|
-
sm: {
|
|
13
|
-
root: string;
|
|
14
|
-
};
|
|
15
|
-
md: {
|
|
16
|
-
root: string;
|
|
17
|
-
};
|
|
18
|
-
lg: {
|
|
19
|
-
root: string;
|
|
20
|
-
};
|
|
21
|
-
xl: {
|
|
22
|
-
root: string;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
variant: {
|
|
26
|
-
outline: {
|
|
27
|
-
root: string[];
|
|
28
|
-
};
|
|
29
|
-
soft: {
|
|
30
|
-
root: string[];
|
|
31
|
-
};
|
|
32
|
-
'soft-outline': {
|
|
33
|
-
root: string[];
|
|
34
|
-
};
|
|
35
|
-
ghost: {
|
|
36
|
-
root: string[];
|
|
37
|
-
};
|
|
38
|
-
none: {
|
|
39
|
-
root: string;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
underline: {
|
|
43
|
-
true: "";
|
|
44
|
-
};
|
|
45
|
-
highlight: {
|
|
46
|
-
true: {
|
|
47
|
-
base: string;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
compoundVariants: ({
|
|
52
|
-
variant: ("soft" | "ghost" | "none")[];
|
|
53
|
-
highlight: false;
|
|
54
|
-
underline: true;
|
|
55
|
-
class: {
|
|
56
|
-
root: string[];
|
|
57
|
-
};
|
|
58
|
-
size?: undefined;
|
|
59
|
-
} | {
|
|
60
|
-
size: ("xs" | "sm" | "md")[];
|
|
61
|
-
class: {
|
|
62
|
-
root: string;
|
|
63
|
-
};
|
|
64
|
-
variant?: undefined;
|
|
65
|
-
highlight?: undefined;
|
|
66
|
-
underline?: undefined;
|
|
67
|
-
} | {
|
|
68
|
-
size: ("lg" | "xl")[];
|
|
69
|
-
class: {
|
|
70
|
-
root: string;
|
|
71
|
-
};
|
|
72
|
-
variant?: undefined;
|
|
73
|
-
highlight?: undefined;
|
|
74
|
-
underline?: undefined;
|
|
75
|
-
} | {
|
|
76
|
-
variant: ("soft" | "soft-outline" | "ghost" | "none")[];
|
|
77
|
-
highlight: true;
|
|
78
|
-
class: {
|
|
79
|
-
root: string;
|
|
80
|
-
};
|
|
81
|
-
underline?: undefined;
|
|
82
|
-
size?: undefined;
|
|
83
|
-
} | {
|
|
84
|
-
variant: "outline"[];
|
|
85
|
-
highlight: true;
|
|
86
|
-
class: {
|
|
87
|
-
root: string;
|
|
88
|
-
};
|
|
89
|
-
underline?: undefined;
|
|
90
|
-
size?: undefined;
|
|
91
|
-
})[];
|
|
92
|
-
defaultVariants: {
|
|
93
|
-
size: "md";
|
|
94
|
-
};
|
|
95
|
-
};
|
|
96
|
-
export default _default;
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
import { ct } from "@byyuurin/ui-kit";
|
|
2
|
-
export default ct(
|
|
3
|
-
/* @unocss-include */
|
|
4
|
-
{
|
|
5
|
-
slots: {
|
|
6
|
-
root: "rounded-ui-base transition-colors aria-disabled:opacity-50",
|
|
7
|
-
base: [
|
|
8
|
-
"w-full color-inherit bg-transparent border-0 resize-none placeholder:color-ui-base/50",
|
|
9
|
-
"focus:outline-none",
|
|
10
|
-
"disabled:cursor-not-allowed"
|
|
11
|
-
]
|
|
12
|
-
},
|
|
13
|
-
variants: {
|
|
14
|
-
size: {
|
|
15
|
-
xs: {
|
|
16
|
-
root: "text-xs"
|
|
17
|
-
},
|
|
18
|
-
sm: {
|
|
19
|
-
root: "text-sm"
|
|
20
|
-
},
|
|
21
|
-
md: {
|
|
22
|
-
root: "text-base"
|
|
23
|
-
},
|
|
24
|
-
lg: {
|
|
25
|
-
root: "text-lg"
|
|
26
|
-
},
|
|
27
|
-
xl: {
|
|
28
|
-
root: "text-xl"
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
variant: {
|
|
32
|
-
"outline": {
|
|
33
|
-
root: [
|
|
34
|
-
"color-ui-base/80 bg-ui-base ring ring-inset ring-ui-base/30",
|
|
35
|
-
"focus-within:ring-2 focus-within:ring-ui-base/50",
|
|
36
|
-
"aria-disabled:ring-ui-base/15 hover:aria-disabled:ring-ui-base/15"
|
|
37
|
-
]
|
|
38
|
-
},
|
|
39
|
-
"soft": {
|
|
40
|
-
root: [
|
|
41
|
-
"color-ui-base/80 bg-soft-ui-cb/4",
|
|
42
|
-
"hover:bg-soft-ui-cb/6 hover:color-ui-base/80 focus-within:bg-soft-ui-cb/8 focus-within:hover:bg-soft-ui-cb/8 focus-within:color-ui-base/85",
|
|
43
|
-
"aria-disabled:color-ui-fill/80 aria-disabled:bg-soft-ui-fill/5 hover:aria-disabled:color-ui-fill/80 hover:aria-disabled:bg-soft-ui-fill/5"
|
|
44
|
-
]
|
|
45
|
-
},
|
|
46
|
-
"soft-outline": {
|
|
47
|
-
root: [
|
|
48
|
-
"color-ui-base/80 bg-soft-ui-cb/4 ring ring-inset ring-ui-base/30",
|
|
49
|
-
"hover:bg-soft-ui-cb/6 hover:color-ui-base/80 focus-within:bg-soft-ui-cb/8 focus-within:hover:bg-soft-ui-cb/8 focus-within:color-ui-base/85",
|
|
50
|
-
"aria-disabled:color-ui-fill/80 aria-disabled:bg-soft-ui-fill/5 hover:aria-disabled:color-ui-fill/80 hover:aria-disabled:bg-soft-ui-fill/5"
|
|
51
|
-
]
|
|
52
|
-
},
|
|
53
|
-
"ghost": {
|
|
54
|
-
root: [
|
|
55
|
-
"color-ui-base/80 bg-transparent",
|
|
56
|
-
"hover:bg-soft-ui-cb/6 hover:color-ui-base/80 focus-within:bg-soft-ui-cb/8 focus-within:hover:bg-soft-ui-cb/8 focus-within:color-ui-base/85",
|
|
57
|
-
"aria-disabled:color-ui-fill/80 aria-disabled:bg-transparent hover:aria-disabled:color-ui-fill/80 hover:aria-disabled:bg-transparent"
|
|
58
|
-
]
|
|
59
|
-
},
|
|
60
|
-
"none": {
|
|
61
|
-
root: "color-ui-base bg-transparent"
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
underline: {
|
|
65
|
-
true: ""
|
|
66
|
-
},
|
|
67
|
-
highlight: {
|
|
68
|
-
true: {
|
|
69
|
-
base: ""
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
compoundVariants: [
|
|
74
|
-
{
|
|
75
|
-
variant: ["soft", "ghost", "none"],
|
|
76
|
-
highlight: false,
|
|
77
|
-
underline: true,
|
|
78
|
-
class: {
|
|
79
|
-
root: [
|
|
80
|
-
"relative after:content-empty after:absolute after:inset-x-0 after:bottom-0 after:h-1px after:bg-soft-ui-cb/40",
|
|
81
|
-
"focus-within:after:h-2px focus-within:after:bg-soft-ui-fill/60"
|
|
82
|
-
]
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
size: ["xs", "sm", "md"],
|
|
87
|
-
class: {
|
|
88
|
-
root: "p-1.5 px-2.5"
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
size: ["lg", "xl"],
|
|
93
|
-
class: {
|
|
94
|
-
root: "p-2.5 px-3.5"
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
variant: ["soft", "soft-outline", "ghost", "none"],
|
|
99
|
-
highlight: true,
|
|
100
|
-
class: {
|
|
101
|
-
root: "ring ring-inset ring-ui-fill/80"
|
|
102
|
-
}
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
variant: ["outline"],
|
|
106
|
-
highlight: true,
|
|
107
|
-
class: {
|
|
108
|
-
root: "ring-2 ring-ui-fill/80 focus-within:ring-ui-fill/80"
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
],
|
|
112
|
-
defaultVariants: {
|
|
113
|
-
size: "md"
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
);
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
base: undefined;
|
|
3
|
-
slots: {
|
|
4
|
-
viewport: string[];
|
|
5
|
-
base: string[];
|
|
6
|
-
};
|
|
7
|
-
variants: {
|
|
8
|
-
clickable: {
|
|
9
|
-
true: {
|
|
10
|
-
base: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
position: {
|
|
14
|
-
'top-left': {
|
|
15
|
-
viewport: string;
|
|
16
|
-
};
|
|
17
|
-
'top-center': {
|
|
18
|
-
viewport: string;
|
|
19
|
-
};
|
|
20
|
-
'top-right': {
|
|
21
|
-
viewport: string;
|
|
22
|
-
};
|
|
23
|
-
'bottom-left': {
|
|
24
|
-
viewport: string;
|
|
25
|
-
};
|
|
26
|
-
'bottom-center': {
|
|
27
|
-
viewport: string;
|
|
28
|
-
};
|
|
29
|
-
'bottom-right': {
|
|
30
|
-
viewport: string;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
swipeDirection: {
|
|
34
|
-
up: {
|
|
35
|
-
base: string;
|
|
36
|
-
};
|
|
37
|
-
right: {
|
|
38
|
-
base: string;
|
|
39
|
-
};
|
|
40
|
-
down: {
|
|
41
|
-
base: string;
|
|
42
|
-
};
|
|
43
|
-
left: {
|
|
44
|
-
base: string;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
compoundVariants: ({
|
|
49
|
-
position: ("top-right" | "top-left" | "top-center")[];
|
|
50
|
-
class: {
|
|
51
|
-
viewport: string;
|
|
52
|
-
base: string;
|
|
53
|
-
};
|
|
54
|
-
swipeDirection?: undefined;
|
|
55
|
-
} | {
|
|
56
|
-
position: ("bottom-right" | "bottom-left" | "bottom-center")[];
|
|
57
|
-
class: {
|
|
58
|
-
viewport: string;
|
|
59
|
-
base: string;
|
|
60
|
-
};
|
|
61
|
-
swipeDirection?: undefined;
|
|
62
|
-
} | {
|
|
63
|
-
swipeDirection: ("left" | "right")[];
|
|
64
|
-
class: {
|
|
65
|
-
base: string[];
|
|
66
|
-
viewport?: undefined;
|
|
67
|
-
};
|
|
68
|
-
position?: undefined;
|
|
69
|
-
} | {
|
|
70
|
-
swipeDirection: ("up" | "down")[];
|
|
71
|
-
class: {
|
|
72
|
-
base: string[];
|
|
73
|
-
viewport?: undefined;
|
|
74
|
-
};
|
|
75
|
-
position?: undefined;
|
|
76
|
-
})[];
|
|
77
|
-
defaultVariants: import("@byyuurin/ui-kit").CVDefaultVariants<{
|
|
78
|
-
clickable: {
|
|
79
|
-
true: {
|
|
80
|
-
base: string;
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
|
-
position: {
|
|
84
|
-
'top-left': {
|
|
85
|
-
viewport: string;
|
|
86
|
-
};
|
|
87
|
-
'top-center': {
|
|
88
|
-
viewport: string;
|
|
89
|
-
};
|
|
90
|
-
'top-right': {
|
|
91
|
-
viewport: string;
|
|
92
|
-
};
|
|
93
|
-
'bottom-left': {
|
|
94
|
-
viewport: string;
|
|
95
|
-
};
|
|
96
|
-
'bottom-center': {
|
|
97
|
-
viewport: string;
|
|
98
|
-
};
|
|
99
|
-
'bottom-right': {
|
|
100
|
-
viewport: string;
|
|
101
|
-
};
|
|
102
|
-
};
|
|
103
|
-
swipeDirection: {
|
|
104
|
-
up: {
|
|
105
|
-
base: string;
|
|
106
|
-
};
|
|
107
|
-
right: {
|
|
108
|
-
base: string;
|
|
109
|
-
};
|
|
110
|
-
down: {
|
|
111
|
-
base: string;
|
|
112
|
-
};
|
|
113
|
-
left: {
|
|
114
|
-
base: string;
|
|
115
|
-
};
|
|
116
|
-
};
|
|
117
|
-
}, {
|
|
118
|
-
viewport: string[];
|
|
119
|
-
base: string[];
|
|
120
|
-
}>;
|
|
121
|
-
};
|
|
122
|
-
export default _default;
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { ct } from "@byyuurin/ui-kit";
|
|
2
|
-
export default ct(
|
|
3
|
-
/* @unocss-include */
|
|
4
|
-
{
|
|
5
|
-
slots: {
|
|
6
|
-
viewport: [
|
|
7
|
-
"fixed flex flex-col w-[calc(100%-2rem)] sm:w-96 z-[100] focus:outline-none",
|
|
8
|
-
"data-[expanded=true]:h-[var(--height)]"
|
|
9
|
-
],
|
|
10
|
-
base: [
|
|
11
|
-
"pointer-events-auto absolute inset-x-0 z-[var(--index)] [transform:var(--transform)] transition-all duration-200 ease-out",
|
|
12
|
-
"[&[data-expanded=false][data-front=false]]:h-[var(--front-height)]",
|
|
13
|
-
"[&[data-expanded=false][data-front=false]>*]:invisible",
|
|
14
|
-
"data-[state=closed]:animate-[toast-closed_200ms_ease-in-out]",
|
|
15
|
-
"[&[data-state=closed][data-expanded=false][data-front=false]]:animate-[toast-collapsed-closed_200ms_ease-in-out]",
|
|
16
|
-
"data-[swipe=move]:transition-none"
|
|
17
|
-
]
|
|
18
|
-
},
|
|
19
|
-
variants: {
|
|
20
|
-
clickable: {
|
|
21
|
-
true: {
|
|
22
|
-
base: "cursor-pointer"
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
position: {
|
|
26
|
-
"top-left": {
|
|
27
|
-
viewport: "left-4"
|
|
28
|
-
},
|
|
29
|
-
"top-center": {
|
|
30
|
-
viewport: "left-1/2 -translate-x-1/2"
|
|
31
|
-
},
|
|
32
|
-
"top-right": {
|
|
33
|
-
viewport: "right-4"
|
|
34
|
-
},
|
|
35
|
-
"bottom-left": {
|
|
36
|
-
viewport: "left-4"
|
|
37
|
-
},
|
|
38
|
-
"bottom-center": {
|
|
39
|
-
viewport: "left-1/2 -translate-x-1/2"
|
|
40
|
-
},
|
|
41
|
-
"bottom-right": {
|
|
42
|
-
viewport: "right-4"
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
swipeDirection: {
|
|
46
|
-
up: {
|
|
47
|
-
base: "data-[swipe=end]:animate-[toast-slide-up_200ms_ease-out]"
|
|
48
|
-
},
|
|
49
|
-
right: {
|
|
50
|
-
base: "data-[swipe=end]:animate-[toast-slide-right_200ms_ease-out]"
|
|
51
|
-
},
|
|
52
|
-
down: {
|
|
53
|
-
base: "data-[swipe=end]:animate-[toast-slide-down_200ms_ease-out]"
|
|
54
|
-
},
|
|
55
|
-
left: {
|
|
56
|
-
base: "data-[swipe=end]:animate-[toast-slide-left_200ms_ease-out]"
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
compoundVariants: [
|
|
61
|
-
{
|
|
62
|
-
position: ["top-left", "top-center", "top-right"],
|
|
63
|
-
class: {
|
|
64
|
-
viewport: "top-4",
|
|
65
|
-
base: "top-0 data-[state=open]:animate-[slide-in-from-top_200ms_ease-in-out]"
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
position: ["bottom-left", "bottom-center", "bottom-right"],
|
|
70
|
-
class: {
|
|
71
|
-
viewport: "bottom-4",
|
|
72
|
-
base: "bottom-0 data-[state=open]:animate-[slide-in-from-bottom_200ms_ease-in-out]"
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
swipeDirection: ["left", "right"],
|
|
77
|
-
class: {
|
|
78
|
-
base: [
|
|
79
|
-
"data-[swipe=move]:translate-x-[var(--reka-toast-swipe-move-x)]",
|
|
80
|
-
"data-[swipe=end]:translate-x-[var(--reka-toast-swipe-end-x)]",
|
|
81
|
-
"data-[swipe=cancel]:translate-x-0"
|
|
82
|
-
]
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
swipeDirection: ["up", "down"],
|
|
87
|
-
class: {
|
|
88
|
-
base: [
|
|
89
|
-
"data-[swipe=move]:translate-y-[var(--reka-toast-swipe-move-y)]",
|
|
90
|
-
"data-[swipe=end]:translate-y-[var(--reka-toast-swipe-end-y)]",
|
|
91
|
-
"data-[swipe=cancel]:translate-y-0"
|
|
92
|
-
]
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
]
|
|
96
|
-
}
|
|
97
|
-
);
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
base: undefined;
|
|
3
|
-
slots: {
|
|
4
|
-
root: string;
|
|
5
|
-
wrapper: string;
|
|
6
|
-
title: string;
|
|
7
|
-
description: string;
|
|
8
|
-
icon: string;
|
|
9
|
-
avatar: string;
|
|
10
|
-
avatarSize: string;
|
|
11
|
-
actions: string;
|
|
12
|
-
progress: string;
|
|
13
|
-
close: string;
|
|
14
|
-
};
|
|
15
|
-
variants: {
|
|
16
|
-
orientation: {
|
|
17
|
-
horizontal: {
|
|
18
|
-
root: string;
|
|
19
|
-
actions: string;
|
|
20
|
-
};
|
|
21
|
-
vertical: {
|
|
22
|
-
root: string;
|
|
23
|
-
actions: string;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
title: {
|
|
27
|
-
true: {
|
|
28
|
-
description: string;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
compoundVariants: import("@byyuurin/ui-kit").CVCompoundVariants<{
|
|
33
|
-
orientation: {
|
|
34
|
-
horizontal: {
|
|
35
|
-
root: string;
|
|
36
|
-
actions: string;
|
|
37
|
-
};
|
|
38
|
-
vertical: {
|
|
39
|
-
root: string;
|
|
40
|
-
actions: string;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
title: {
|
|
44
|
-
true: {
|
|
45
|
-
description: string;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
}, {
|
|
49
|
-
root: string;
|
|
50
|
-
wrapper: string;
|
|
51
|
-
title: string;
|
|
52
|
-
description: string;
|
|
53
|
-
icon: string;
|
|
54
|
-
avatar: string;
|
|
55
|
-
avatarSize: string;
|
|
56
|
-
actions: string;
|
|
57
|
-
progress: string;
|
|
58
|
-
close: string;
|
|
59
|
-
}, undefined>;
|
|
60
|
-
defaultVariants: import("@byyuurin/ui-kit").CVDefaultVariants<{
|
|
61
|
-
orientation: {
|
|
62
|
-
horizontal: {
|
|
63
|
-
root: string;
|
|
64
|
-
actions: string;
|
|
65
|
-
};
|
|
66
|
-
vertical: {
|
|
67
|
-
root: string;
|
|
68
|
-
actions: string;
|
|
69
|
-
};
|
|
70
|
-
};
|
|
71
|
-
title: {
|
|
72
|
-
true: {
|
|
73
|
-
description: string;
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
|
-
}, {
|
|
77
|
-
root: string;
|
|
78
|
-
wrapper: string;
|
|
79
|
-
title: string;
|
|
80
|
-
description: string;
|
|
81
|
-
icon: string;
|
|
82
|
-
avatar: string;
|
|
83
|
-
avatarSize: string;
|
|
84
|
-
actions: string;
|
|
85
|
-
progress: string;
|
|
86
|
-
close: string;
|
|
87
|
-
}>;
|
|
88
|
-
};
|
|
89
|
-
export default _default;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { ct } from "@byyuurin/ui-kit";
|
|
2
|
-
export default ct(
|
|
3
|
-
/* @unocss-include */
|
|
4
|
-
{
|
|
5
|
-
slots: {
|
|
6
|
-
root: "group relative overflow-hidden bg-ui-base shadow-lg rounded-ui-box ring ring-ui-base/5 p-4 flex gap-2.5 focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ui-base/5",
|
|
7
|
-
wrapper: "w-0 flex-1 flex flex-col gap-1",
|
|
8
|
-
title: "text-base font-medium color-ui-base",
|
|
9
|
-
description: "text-sm color-ui-base/80",
|
|
10
|
-
icon: "shrink-0 size-1.25em color-ui-base",
|
|
11
|
-
avatar: "shrink-0",
|
|
12
|
-
avatarSize: "2xl",
|
|
13
|
-
actions: "flex flex-wrap gap-1.5 shrink-0",
|
|
14
|
-
progress: "absolute inset-x-[var(--ui-radius-box)] bottom-0 h-1 z-[-1] color-ui-fill/80 bg-current rounded-ui-base",
|
|
15
|
-
close: "p-0.5"
|
|
16
|
-
},
|
|
17
|
-
variants: {
|
|
18
|
-
orientation: {
|
|
19
|
-
horizontal: {
|
|
20
|
-
root: "items-center",
|
|
21
|
-
actions: "items-center"
|
|
22
|
-
},
|
|
23
|
-
vertical: {
|
|
24
|
-
root: "items-start",
|
|
25
|
-
actions: "items-start"
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
title: {
|
|
29
|
-
true: {
|
|
30
|
-
description: "mt-1"
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
);
|