@bitrix24/b24ui-nuxt 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.nuxt/b24ui/advice.ts +52 -0
- package/.nuxt/b24ui/alert.ts +118 -0
- package/.nuxt/b24ui/avatar-group.ts +52 -0
- package/.nuxt/b24ui/avatar.ts +63 -0
- package/.nuxt/b24ui/badge.ts +256 -0
- package/.nuxt/b24ui/button-group.ts +27 -0
- package/.nuxt/b24ui/button.ts +342 -0
- package/.nuxt/b24ui/checkbox.ts +128 -0
- package/.nuxt/b24ui/chip.ts +205 -0
- package/.nuxt/b24ui/container.ts +3 -0
- package/.nuxt/b24ui/content/description-list.ts +62 -0
- package/.nuxt/b24ui/countdown.ts +94 -0
- package/.nuxt/b24ui/form-field.ts +57 -0
- package/.nuxt/b24ui/form.ts +3 -0
- package/.nuxt/b24ui/index.ts +28 -0
- package/.nuxt/b24ui/input.ts +472 -0
- package/.nuxt/b24ui/kbd.ts +31 -0
- package/.nuxt/b24ui/link.ts +20 -0
- package/.nuxt/b24ui/progress.ts +303 -0
- package/.nuxt/b24ui/radio-group.ts +135 -0
- package/.nuxt/b24ui/range.ts +172 -0
- package/.nuxt/b24ui/select.ts +550 -0
- package/.nuxt/b24ui/separator.ts +176 -0
- package/.nuxt/b24ui/skeleton.ts +3 -0
- package/.nuxt/b24ui/switch.ts +134 -0
- package/.nuxt/b24ui/tabs.ts +341 -0
- package/.nuxt/b24ui/textarea.ts +332 -0
- package/.nuxt/b24ui/toast.ts +89 -0
- package/.nuxt/b24ui/toaster.ts +91 -0
- package/.nuxt/b24ui/tooltip.ts +16 -0
- package/LICENSE +21 -0
- package/README.md +101 -0
- package/cli/commands/make/component.mjs +95 -0
- package/cli/commands/make/index.mjs +14 -0
- package/cli/commands/make/locale.mjs +64 -0
- package/cli/index.mjs +15 -0
- package/cli/package.json +13 -0
- package/cli/templates.mjs +240 -0
- package/cli/utils.mjs +31 -0
- package/dist/meta.cjs +23610 -0
- package/dist/meta.d.cts +23608 -0
- package/dist/meta.d.mts +23608 -0
- package/dist/meta.d.ts +23608 -0
- package/dist/meta.mjs +23608 -0
- package/dist/module.cjs +54 -0
- package/dist/module.d.cts +14 -0
- package/dist/module.d.mts +14 -0
- package/dist/module.d.ts +14 -0
- package/dist/module.json +13 -0
- package/dist/module.mjs +51 -0
- package/dist/runtime/components/Advice.vue +115 -0
- package/dist/runtime/components/Alert.vue +136 -0
- package/dist/runtime/components/App.vue +52 -0
- package/dist/runtime/components/Avatar.vue +118 -0
- package/dist/runtime/components/AvatarGroup.vue +99 -0
- package/dist/runtime/components/Badge.vue +114 -0
- package/dist/runtime/components/Button.vue +177 -0
- package/dist/runtime/components/ButtonGroup.vue +58 -0
- package/dist/runtime/components/Checkbox.vue +110 -0
- package/dist/runtime/components/Chip.vue +81 -0
- package/dist/runtime/components/Container.vue +36 -0
- package/dist/runtime/components/Countdown.vue +498 -0
- package/dist/runtime/components/Form.vue +271 -0
- package/dist/runtime/components/FormField.vue +128 -0
- package/dist/runtime/components/Input.vue +224 -0
- package/dist/runtime/components/Kbd.vue +50 -0
- package/dist/runtime/components/Link.vue +219 -0
- package/dist/runtime/components/LinkBase.vue +63 -0
- package/dist/runtime/components/Progress.vue +182 -0
- package/dist/runtime/components/RadioGroup.vue +178 -0
- package/dist/runtime/components/Range.vue +114 -0
- package/dist/runtime/components/Select.vue +328 -0
- package/dist/runtime/components/Separator.vue +82 -0
- package/dist/runtime/components/Skeleton.vue +31 -0
- package/dist/runtime/components/Switch.vue +133 -0
- package/dist/runtime/components/Tabs.vue +127 -0
- package/dist/runtime/components/Textarea.vue +216 -0
- package/dist/runtime/components/Toast.vue +168 -0
- package/dist/runtime/components/Toaster.vue +143 -0
- package/dist/runtime/components/Tooltip.vue +94 -0
- package/dist/runtime/components/content/DescriptionList.vue +220 -0
- package/dist/runtime/composables/defineLocale.d.ts +9 -0
- package/dist/runtime/composables/defineLocale.js +4 -0
- package/dist/runtime/composables/defineShortcuts.d.ts +15 -0
- package/dist/runtime/composables/defineShortcuts.js +135 -0
- package/dist/runtime/composables/useAvatarGroup.d.ts +10 -0
- package/dist/runtime/composables/useAvatarGroup.js +10 -0
- package/dist/runtime/composables/useButtonGroup.d.ts +17 -0
- package/dist/runtime/composables/useButtonGroup.js +10 -0
- package/dist/runtime/composables/useComponentIcons.d.ts +20 -0
- package/dist/runtime/composables/useComponentIcons.js +25 -0
- package/dist/runtime/composables/useFormField.d.ts +42 -0
- package/dist/runtime/composables/useFormField.js +65 -0
- package/dist/runtime/composables/useKbd.d.ts +35 -0
- package/dist/runtime/composables/useKbd.js +52 -0
- package/dist/runtime/composables/useLocale.d.ts +4 -0
- package/dist/runtime/composables/useLocale.js +10 -0
- package/dist/runtime/composables/useToast.d.ts +12 -0
- package/dist/runtime/composables/useToast.js +62 -0
- package/dist/runtime/dictionary/icons.d.ts +20 -0
- package/dist/runtime/dictionary/icons.js +35 -0
- package/dist/runtime/index.css +1 -0
- package/dist/runtime/keyframes.css +1 -0
- package/dist/runtime/locale/en.d.ts +2 -0
- package/dist/runtime/locale/en.js +48 -0
- package/dist/runtime/locale/es.d.ts +2 -0
- package/dist/runtime/locale/es.js +48 -0
- package/dist/runtime/locale/index.d.ts +3 -0
- package/dist/runtime/locale/index.js +3 -0
- package/dist/runtime/locale/ru.d.ts +2 -0
- package/dist/runtime/locale/ru.js +48 -0
- package/dist/runtime/plugins/colors.d.ts +2 -0
- package/dist/runtime/plugins/colors.js +40 -0
- package/dist/runtime/types/app.config.d.ts +6 -0
- package/dist/runtime/types/form.d.ts +84 -0
- package/dist/runtime/types/form.js +12 -0
- package/dist/runtime/types/icons.d.ts +3 -0
- package/dist/runtime/types/icons.js +0 -0
- package/dist/runtime/types/index.d.ts +33 -0
- package/dist/runtime/types/index.js +33 -0
- package/dist/runtime/types/locale.d.ts +50 -0
- package/dist/runtime/types/locale.js +0 -0
- package/dist/runtime/types/utils.d.ts +22 -0
- package/dist/runtime/types/utils.js +0 -0
- package/dist/runtime/utils/form.d.ts +17 -0
- package/dist/runtime/utils/form.js +153 -0
- package/dist/runtime/utils/fuse.d.ts +4 -0
- package/dist/runtime/utils/fuse.js +63 -0
- package/dist/runtime/utils/index.d.ts +6 -0
- package/dist/runtime/utils/index.js +63 -0
- package/dist/runtime/utils/link.d.ts +29 -0
- package/dist/runtime/utils/link.js +4 -0
- package/dist/runtime/utils/locale.d.ts +15 -0
- package/dist/runtime/utils/locale.js +25 -0
- package/dist/runtime/utils/tv.d.ts +1 -0
- package/dist/runtime/utils/tv.js +4 -0
- package/dist/runtime/vue/components/Link.vue +203 -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 +6 -0
- package/dist/runtime/vue/stubs.d.ts +15 -0
- package/dist/runtime/vue/stubs.js +27 -0
- package/dist/shared/b24ui-nuxt.CNGvMe2S.mjs +4074 -0
- package/dist/shared/b24ui-nuxt.D22QQtm8.cjs +4079 -0
- package/dist/types.d.mts +1 -0
- package/dist/types.d.ts +1 -0
- package/dist/unplugin.cjs +213 -0
- package/dist/unplugin.d.cts +22 -0
- package/dist/unplugin.d.mts +22 -0
- package/dist/unplugin.d.ts +22 -0
- package/dist/unplugin.mjs +202 -0
- package/dist/vite.cjs +21 -0
- package/dist/vite.d.cts +12 -0
- package/dist/vite.d.mts +12 -0
- package/dist/vite.d.ts +12 -0
- package/dist/vite.mjs +19 -0
- package/package.json +166 -0
- package/vue-plugin.d.ts +5 -0
|
@@ -0,0 +1,342 @@
|
|
|
1
|
+
const buttonGroup = [
|
|
2
|
+
"horizontal",
|
|
3
|
+
"vertical"
|
|
4
|
+
] as const
|
|
5
|
+
|
|
6
|
+
const color = [
|
|
7
|
+
"default",
|
|
8
|
+
"danger",
|
|
9
|
+
"success",
|
|
10
|
+
"warning",
|
|
11
|
+
"primary",
|
|
12
|
+
"secondary",
|
|
13
|
+
"collab",
|
|
14
|
+
"ai",
|
|
15
|
+
"link"
|
|
16
|
+
] as const
|
|
17
|
+
|
|
18
|
+
const depth = [
|
|
19
|
+
"light",
|
|
20
|
+
"normal",
|
|
21
|
+
"dark"
|
|
22
|
+
] as const
|
|
23
|
+
|
|
24
|
+
const size = [
|
|
25
|
+
"xs",
|
|
26
|
+
"sm",
|
|
27
|
+
"md",
|
|
28
|
+
"lg"
|
|
29
|
+
] as const
|
|
30
|
+
|
|
31
|
+
export default {
|
|
32
|
+
"slots": {
|
|
33
|
+
"base": [
|
|
34
|
+
"select-none cursor-pointer inline-flex items-center",
|
|
35
|
+
"relative focus:outline-hidden",
|
|
36
|
+
"disabled:cursor-not-allowed aria-disabled:cursor-not-allowed disabled:opacity-50 aria-disabled:opacity-50",
|
|
37
|
+
"transition duration-150 ease-linear"
|
|
38
|
+
],
|
|
39
|
+
"baseLine": [
|
|
40
|
+
"inline-flex items-center"
|
|
41
|
+
],
|
|
42
|
+
"label": "truncate",
|
|
43
|
+
"leadingIcon": "shrink-0",
|
|
44
|
+
"leadingAvatar": "shrink-0",
|
|
45
|
+
"leadingAvatarSize": "",
|
|
46
|
+
"trailingIcon": "shrink-0"
|
|
47
|
+
},
|
|
48
|
+
"variants": {
|
|
49
|
+
"buttonGroup": {
|
|
50
|
+
"horizontal": "focus-visible:outline-none ring ring-inset ring-0 focus-visible:ring-2 not-only:first:rounded-e-none not-only:last:rounded-s-none not-last:not-first:rounded-none not-only:first:border-e-0 not-only:not-first:border-s-0",
|
|
51
|
+
"vertical": "focus-visible:outline-none ring ring-inset ring-0 focus-visible:ring-2 not-only:first:rounded-b-none not-only:last:rounded-t-none not-last:not-first:rounded-none"
|
|
52
|
+
},
|
|
53
|
+
"noSplit": {
|
|
54
|
+
"false": "not-only:not-first:after:content-[''] not-only:not-first:after:absolute not-only:not-first:after:top-[7px] not-only:not-first:after:bottom-[6px] not-only:not-first:after:left-0 not-only:not-first:after:w-px not-only:not-first:after:bg-current/30"
|
|
55
|
+
},
|
|
56
|
+
"color": {
|
|
57
|
+
"default": "text-white dark:text-base-100 bg-base-650 border border-base-650 hover:bg-base-850 hover:border-base-850 hover:focus-visible:ring-0 active:bg-slate-850 active:border-slate-850 active:focus-visible:ring-0 disabled:bg-base-650 aria-disabled:bg-base-650 disabled:border-base-650 aria-disabled:border-base-650 focus-visible:outline-base-650 ring-base-850 focus-visible:ring-base-850",
|
|
58
|
+
"danger": "text-white dark:text-red-100 bg-red-720 border border-red-720 hover:bg-red-790 hover:border-red-790 hover:focus-visible:ring-0 active:bg-red-730 active:border-red-730 active:focus-visible:ring-0 disabled:bg-red-720 aria-disabled:bg-red-720 disabled:border-red-720 aria-disabled:border-red-720 focus-visible:outline-red-720 ring-red-800 focus-visible:ring-red-800",
|
|
59
|
+
"success": "text-base-900 bg-green-450 border border-green-450 hover:bg-green-370 hover:border-green-370 hover:focus-visible:ring-0 active:bg-green-430 active:border-green-430 active:focus-visible:ring-0 disabled:bg-green-450 aria-disabled:bg-green-450 disabled:border-green-450 aria-disabled:border-green-450 focus-visible:outline-green-450 ring-green-500 focus-visible:ring-green-500",
|
|
60
|
+
"warning": "text-white dark:text-orange-100 bg-orange-500 border border-orange-500 hover:bg-orange-500/75 hover:border-orange-500/75 hover:focus-visible:ring-0 active:bg-orange-500/85 active:border-orange-500/85 active:focus-visible:ring-0 disabled:bg-orange-500 aria-disabled:bg-orange-500 disabled:border-bg-orange-500 aria-disabled:border-bg-orange-500 focus-visible:outline-orange-500 ring-orange-800 focus-visible:ring-orange-800",
|
|
61
|
+
"primary": "text-white dark:text-blue-100 bg-blue-530 border border-blue-530 hover:bg-blue-450 hover:border-blue-450 hover:focus-visible:ring-0 active:bg-blue-550 active:border-blue-550 active:focus-visible:ring-0 disabled:bg-blue-530 aria-disabled:bg-blue-530 disabled:border-blue-530 aria-disabled:border-blue-530 focus-visible:outline-blue-530 ring-blue-800 focus-visible:ring-blue-800",
|
|
62
|
+
"secondary": "text-base-900 bg-cyan-160 border border-cyan-230 hover:bg-cyan-150 hover:border-cyan-230 hover:focus-visible:ring-0 active:bg-cyan-230 active:border-cyan-230 active:focus-visible:ring-0 disabled:bg-cyan-160 aria-disabled:bg-cyan-160 disabled:border-cyan-230 aria-disabled:border-cyan-230 focus-visible:outline-cyan-160 ring-cyan-500 focus-visible:ring-cyan-500",
|
|
63
|
+
"collab": "text-white dark:text-collab-100 bg-collab-600 border border-collab-600 hover:bg-collab-500 hover:border-collab-500 hover:focus-visible:ring-0 active:bg-collab-700 active:border-collab-700 active:focus-visible:ring-0 disabled:bg-collab-600 aria-disabled:bg-collab-600 disabled:border-collab-600 aria-disabled:border-collab-600 focus-visible:outline-collab-600 ring-collab-900 focus-visible:ring-collab-900",
|
|
64
|
+
"ai": "text-white dark:text-ai-100 bg-ai-450 border border-ai-450 hover:bg-ai-370 hover:border-ai-370 hover:focus-visible:ring-0 active:bg-ai-550 active:border-ai-550 active:focus-visible:ring-0 disabled:bg-ai-450 aria-disabled:bg-ai-450 disabled:border-ai-450 aria-disabled:border-ai-450 focus-visible:outline-ai-450 ring-ai-900 focus-visible:ring-ai-900",
|
|
65
|
+
"link": "no-underline decoration-solid decoration-auto text-base-900 decoration-gray-900 bg-transparent border border-transparent dark:text-base-300 hover:text-base-750 dark:hover:text-base-400 hover:focus-visible:ring-0 active:text-base-900 dark:active:text-base-700 active:focus-visible:ring-0 disabled:text-base-900 aria-disabled:text-base-900 dark:disabled:text-base-300 dark:aria-disabled:disabled:text-base-300 focus-visible:outline-base-400 ring-base-850 focus-visible:ring-base-850"
|
|
66
|
+
},
|
|
67
|
+
"depth": {
|
|
68
|
+
"light": "",
|
|
69
|
+
"normal": "",
|
|
70
|
+
"dark": ""
|
|
71
|
+
},
|
|
72
|
+
"size": {
|
|
73
|
+
"xs": {
|
|
74
|
+
"base": "h-xl2 ps-4 pe-4 text-3xs leading-none",
|
|
75
|
+
"baseLine": "gap-1",
|
|
76
|
+
"leadingIcon": "size-5",
|
|
77
|
+
"leadingAvatarSize": "2xs",
|
|
78
|
+
"trailingIcon": "size-md2"
|
|
79
|
+
},
|
|
80
|
+
"sm": {
|
|
81
|
+
"base": "h-3xl ps-[18px] pe-[18px] text-xs leading-none",
|
|
82
|
+
"baseLine": "gap-1.5",
|
|
83
|
+
"leadingIcon": "size-6",
|
|
84
|
+
"leadingAvatarSize": "xs",
|
|
85
|
+
"trailingIcon": "size-lg"
|
|
86
|
+
},
|
|
87
|
+
"md": {
|
|
88
|
+
"base": "h-5xl ps-5 pe-5 text-xs leading-none",
|
|
89
|
+
"baseLine": "gap-1.5",
|
|
90
|
+
"leadingIcon": "size-xl2",
|
|
91
|
+
"leadingAvatarSize": "sm",
|
|
92
|
+
"trailingIcon": "size-lg"
|
|
93
|
+
},
|
|
94
|
+
"lg": {
|
|
95
|
+
"base": "h-6xl ps-[28px] pe-[28px] text-xs leading-none",
|
|
96
|
+
"baseLine": "gap-2",
|
|
97
|
+
"leadingIcon": "size-xl2",
|
|
98
|
+
"leadingAvatarSize": "md",
|
|
99
|
+
"trailingIcon": "size-lg"
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"block": {
|
|
103
|
+
"true": {
|
|
104
|
+
"base": "w-full",
|
|
105
|
+
"baseLine": "w-full justify-center",
|
|
106
|
+
"trailingIcon": "ms-auto"
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"rounded": {
|
|
110
|
+
"true": "rounded-full",
|
|
111
|
+
"false": "rounded-2xs"
|
|
112
|
+
},
|
|
113
|
+
"leading": {
|
|
114
|
+
"true": ""
|
|
115
|
+
},
|
|
116
|
+
"useLabel": {
|
|
117
|
+
"true": "",
|
|
118
|
+
"false": "ps-1.5 pe-1.5 justify-center"
|
|
119
|
+
},
|
|
120
|
+
"useDropdown": {
|
|
121
|
+
"true": "ps-2 pe-2"
|
|
122
|
+
},
|
|
123
|
+
"useWait": {
|
|
124
|
+
"true": ""
|
|
125
|
+
},
|
|
126
|
+
"useClock": {
|
|
127
|
+
"true": ""
|
|
128
|
+
},
|
|
129
|
+
"loading": {
|
|
130
|
+
"true": ""
|
|
131
|
+
},
|
|
132
|
+
"normalCase": {
|
|
133
|
+
"true": "font-semibold normal-case",
|
|
134
|
+
"false": "font-bold uppercase"
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"compoundVariants": [
|
|
138
|
+
{
|
|
139
|
+
"color": "default" as typeof color[number],
|
|
140
|
+
"depth": "light" as typeof depth[number],
|
|
141
|
+
"class": "text-base-800 dark:text-base-800 bg-base-200 border border-base-300 hover:bg-base-320 hover:border-base-320 hover:focus-visible:ring-0 active:bg-base-250 active:border-base-250 active:focus-visible:ring-0 disabled:bg-base-200 aria-disabled:bg-base-200 disabled:border-base-300 aria-disabled:border-base-300 focus-visible:outline-base-200"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"color": "default" as typeof color[number],
|
|
145
|
+
"depth": "dark" as typeof depth[number],
|
|
146
|
+
"class": "text-white dark:text-base-100 bg-base-900 border border-base-900 hover:bg-base-900/75 hover:border-base-900/75 hover:focus-visible:ring-0 active:bg-base-900/85 active:border-base-900/85 active:focus-visible:ring-0 disabled:bg-base-900 aria-disabled:bg-base-900 disabled:border-base-900 aria-disabled:border-base-900 focus-visible:outline-base-900 ring-base-700 focus-visible:ring-base-700"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"color": "danger" as typeof color[number],
|
|
150
|
+
"depth": "light" as typeof depth[number],
|
|
151
|
+
"class": "text-red-750 dark:text-red-760 bg-red-270 border border-red-270 hover:bg-red-250 hover:border-red-250 dark:hover:bg-red-200 dark:hover:border-red-200 hover:focus-visible:ring-0 active:bg-red-350 active:border-red-350 dark:active:bg-red-350 dark:active:border-red-350 active:focus-visible:ring-0 disabled:bg-red-270 aria-disabled:bg-red-270 disabled:border-red-270 aria-disabled:border-red-270 dark:disabled:bg-red-270 dark:aria-disabled:bg-red-270 dark:disabled:border-red-270 dark:aria-disabled:border-red-270 focus-visible:outline-red-270"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"color": "danger" as typeof color[number],
|
|
155
|
+
"depth": "dark" as typeof depth[number],
|
|
156
|
+
"class": "text-white dark:text-red-100 bg-red-850 border border-red-850 hover:bg-red-760 hover:border-red-760 hover:focus-visible:ring-0 active:bg-red-930 active:border-red-930 active:focus-visible:ring-0 disabled:bg-red-850 aria-disabled:bg-red-850 disabled:border-red-850 aria-disabled:border-red-850 focus-visible:outline-red-850 ring-red-950 focus-visible:ring-red-950"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"color": "success" as typeof color[number],
|
|
160
|
+
"depth": "light" as typeof depth[number],
|
|
161
|
+
"class": "text-green-780 bg-green-280 border border-green-280 hover:bg-green-270 hover:border-green-270 hover:focus-visible:ring-0 dark:hover:bg-green-200 dark:hover:border-green-200 active:bg-green-330 active:border-green-270 active:focus-visible:ring-0 dark:active:bg-green-330 dark:active:border-green-270 disabled:bg-green-280 aria-disabled:bg-green-280 disabled:border-green-280 aria-disabled:border-green-280 dark:disabled:bg-green-280 dark:aria-disabled:bg-green-280 dark:disabled:border-green-280 dark:aria-disabled:border-green-280 focus-visible:outline-green-280"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"color": "success" as typeof color[number],
|
|
165
|
+
"depth": "dark" as typeof depth[number],
|
|
166
|
+
"class": "text-white dark:text-green-100 bg-green-730 border border-green-730 hover:bg-green-570 hover:border-green-570 hover:focus-visible:ring-0 active:bg-green-570 active:border-green-570 active:focus-visible:ring-0 disabled:bg-green-730 aria-disabled:bg-green-730 disabled:border-green-730 aria-disabled:border-green-730 focus-visible:outline-green-730 ring-green-900 focus-visible:ring-green-900"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"color": "warning" as typeof color[number],
|
|
170
|
+
"depth": "light" as typeof depth[number],
|
|
171
|
+
"class": "text-orange-750 dark:text-orange-750 bg-orange-350/80 border border-orange-350/80 dark:bg-orange-230 dark:border-orange-230 hover:bg-orange-500/65 hover:border-orange-500/65 dark:hover:bg-orange-400 dark:hover:border-orange-400 hover:focus-visible:ring-0 active:bg-orange-550 active:border-orange-550 dark:active:bg-orange-600 dark:active:border-orange-600 active:focus-visible:ring-0 disabled:bg-orange-230 aria-disabled:bg-orange-230 disabled:border-orange-230 aria-disabled:border-orange-230 dark:disabled:bg-orange-230 dark:aria-disabled:bg-orange-230 dark:disabled:border-orange-230 dark:aria-disabled:border-orange-230 focus-visible:outline-orange-230"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"color": "warning" as typeof color[number],
|
|
175
|
+
"depth": "dark" as typeof depth[number],
|
|
176
|
+
"class": "text-white dark:text-orange-100 bg-orange-700 border border-orange-700 hover:bg-orange-700/75 hover:border-orange-700/75 hover:focus-visible:ring-0 active:bg-orange-700/85 active:border-orange-700/85 active:focus-visible:ring-0 disabled:bg-orange-700 aria-disabled:bg-orange-700 disabled:border-orange-700 aria-disabled:border-orange-700 focus-visible:outline-orange-700"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"color": "primary" as typeof color[number],
|
|
180
|
+
"depth": "light" as typeof depth[number],
|
|
181
|
+
"class": "text-blue-800 dark:text-blue-800 bg-blue-300 border border-blue-400 hover:bg-blue-300/75 hover:border-blue-300/75 hover:focus-visible:ring-0 active:bg-blue-300/85 active:border-blue-300/85 active:focus-visible:ring-0 disabled:bg-blue-300 aria-disabled:bg-blue-300 disabled:border-blue-300 aria-disabled:border-blue-300 focus-visible:outline-blue-300"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"color": "primary" as typeof color[number],
|
|
185
|
+
"depth": "dark" as typeof depth[number],
|
|
186
|
+
"class": "text-white dark:text-blue-100 bg-blue-650 border border-blue-650 hover:bg-blue-630 hover:border-blue-630 hover:focus-visible:ring-0 active:bg-blue-750 active:border-blue-750 active:focus-visible:ring-0 disabled:bg-blue-650 aria-disabled:bg-blue-650 disabled:border-blue-650 aria-disabled:border-blue-650 focus-visible:outline-blue-650"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"color": "secondary" as typeof color[number],
|
|
190
|
+
"depth": "light" as typeof depth[number],
|
|
191
|
+
"class": "text-blue-620 dark:text-blue-850 bg-blue-310 border border-blue-310 hover:bg-cyan-150 hover:border-cyan-150 hover:focus-visible:ring-0 active:bg-cyan-230 active:border-cyan-230 active:focus-visible:ring-0 disabled:bg-blue-310 aria-disabled:bg-blue-310 disabled:border-blue-310 aria-disabled:border-blue-310 focus-visible:outline-blue-310"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"color": "secondary" as typeof color[number],
|
|
195
|
+
"depth": "dark" as typeof depth[number],
|
|
196
|
+
"class": "text-base-900 bg-cyan-350 border-cyan-500 hover:bg-cyan-350/75 hover:focus-visible:ring-0 active:bg-cyan-350/85 active:focus-visible:ring-0 disabled:bg-cyan-350 aria-disabled:bg-cyan-350 focus-visible:outline-cyan-350 ring-cyan-900 focus-visible:ring-cyan-900"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"color": "collab" as typeof color[number],
|
|
200
|
+
"depth": "light" as typeof depth[number],
|
|
201
|
+
"class": "text-collab-900 dark:text-collab-900 bg-collab-300 border border-collab-400 hover:bg-collab-300/75 hover:border-collab-300/75 hover:focus-visible:ring-0 active:bg-collab-300/85 active:border-collab-300/85 active:focus-visible:ring-0 disabled:bg-collab-300 aria-disabled:bg-collab-300 disabled:border-collab-300 aria-disabled:border-collab-300 focus-visible:outline-collab-300"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"color": "collab" as typeof color[number],
|
|
205
|
+
"depth": "dark" as typeof depth[number],
|
|
206
|
+
"class": "text-white dark:text-collab-100 bg-collab-700 border border-collab-700 hover:bg-collab-700/75 hover:border-collab-700/75 hover:focus-visible:ring-0 active:bg-collab-700/85 active:border-collab-700/85 active:focus-visible:ring-0 disabled:bg-collab-700 aria-disabled:bg-collab-700 disabled:border-collab-700 aria-disabled:border-collab-700 focus-visible:outline-collab-700"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"color": "ai" as typeof color[number],
|
|
210
|
+
"depth": "light" as typeof depth[number],
|
|
211
|
+
"class": "text-ai-900 dark:text-ai-900 bg-ai-300 border border-ai-400 hover:bg-ai-300/75 hover:border-ai-300/75 hover:focus-visible:ring-0 active:bg-ai-300/85 active:border-ai-300/85 active:focus-visible:ring-0 disabled:bg-ai-300 aria-disabled:bg-ai-300 disabled:border-ai-300 aria-disabled:border-ai-300 focus-visible:outline-ai-300"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"color": "ai" as typeof color[number],
|
|
215
|
+
"depth": "dark" as typeof depth[number],
|
|
216
|
+
"class": "text-white dark:text-ai-100 bg-ai-550 border border-ai-550 hover:bg-ai-550/75 hover:border-ai-550/75 hover:focus-visible:ring-0 active:bg-ai-550/85 active:border-ai-550/85 active:focus-visible:ring-0 disabled:bg-ai-550 aria-disabled:bg-ai-550 disabled:border-ai-550 aria-disabled:border-ai-550 focus-visible:outline-ai-550 ring-ai-900 focus-visible:ring-ai-900"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"color": "link" as typeof color[number],
|
|
220
|
+
"depth": "light" as typeof depth[number],
|
|
221
|
+
"class": "text-base-900 dark:text-base-300 bg-transparent border border-transparent hover:text-base-master dark:hover:text-base-100 hover:bg-base-30 dark:hover:bg-base-850 hover:focus-visible:ring-0 active:text-base-ebony active:bg-blue-270 dark:active:text-base-100 dark:active:bg-slate-850 active:focus-visible:ring-0 disabled:text-base-master disabled:bg-base-30 aria-disabled:bg-base-30 dark:disabled:text-base-100 dark:aria-disabled:text-base-100 dark:disabled:bg-base-850 dark:aria-disabled:bg-base-850 focus-visible:outline-base-30 dark:focus-visible:outline-base-850"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"color": "link" as typeof color[number],
|
|
225
|
+
"depth": "light" as typeof depth[number],
|
|
226
|
+
"useLabel": true,
|
|
227
|
+
"class": "ps-1.5 pe-1.5"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"color": "link" as typeof color[number],
|
|
231
|
+
"depth": "dark" as typeof depth[number],
|
|
232
|
+
"class": " border text-base-900 bg-transparent border-base-330 dark:text-base-300 dark:border-base-800 hover:text-base-900 dark:hover:text-base-900 hover:bg-base-320 hover:border-base-330 hover:focus-visible:ring-0 active:text-base-900 dark:active:text-base-900 active:bg-base-250 active:border-base-550 active:focus-visible:ring-0 disabled:bg-transparent disabled:border-base-330 aria-disabled:bg-transparent aria-disabled:border-base-330 dark:disabled:text-base-900 dark:aria-disabled:text-base-900 dark:disabled:border-base-900 dark:aria-disabled:border-base-900 focus-visible:outline-base-330"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"size": "xs" as typeof size[number],
|
|
236
|
+
"leading": true,
|
|
237
|
+
"useLabel": true,
|
|
238
|
+
"useDropdown": false,
|
|
239
|
+
"class": "ps-1.5 pe-4"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"size": "sm" as typeof size[number],
|
|
243
|
+
"leading": true,
|
|
244
|
+
"useLabel": true,
|
|
245
|
+
"useDropdown": false,
|
|
246
|
+
"class": "ps-2.5 pe-[18px]"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"size": "md" as typeof size[number],
|
|
250
|
+
"leading": true,
|
|
251
|
+
"useLabel": true,
|
|
252
|
+
"useDropdown": false,
|
|
253
|
+
"class": "ps-3.5 pe-5"
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"size": "lg" as typeof size[number],
|
|
257
|
+
"leading": true,
|
|
258
|
+
"useLabel": true,
|
|
259
|
+
"useDropdown": false,
|
|
260
|
+
"class": "ps-4 pe-[28px]"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"size": "xs" as typeof size[number],
|
|
264
|
+
"leading": false,
|
|
265
|
+
"useLabel": true,
|
|
266
|
+
"useDropdown": true,
|
|
267
|
+
"class": "ps-4 pe-1.5"
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"size": "sm" as typeof size[number],
|
|
271
|
+
"leading": false,
|
|
272
|
+
"useLabel": true,
|
|
273
|
+
"useDropdown": true,
|
|
274
|
+
"class": "ps-[18px] pe-1.5"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"size": "md" as typeof size[number],
|
|
278
|
+
"leading": false,
|
|
279
|
+
"useLabel": true,
|
|
280
|
+
"useDropdown": true,
|
|
281
|
+
"class": "ps-5 pe-2.5"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"size": "lg" as typeof size[number],
|
|
285
|
+
"leading": false,
|
|
286
|
+
"useLabel": true,
|
|
287
|
+
"useDropdown": true,
|
|
288
|
+
"class": "ps-[28px] pe-3.5"
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"size": "xs" as typeof size[number],
|
|
292
|
+
"leading": true,
|
|
293
|
+
"useLabel": true,
|
|
294
|
+
"useDropdown": true,
|
|
295
|
+
"class": "ps-1.5 pe-1.5"
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"size": "sm" as typeof size[number],
|
|
299
|
+
"leading": true,
|
|
300
|
+
"useLabel": true,
|
|
301
|
+
"useDropdown": true,
|
|
302
|
+
"class": "ps-2.5 pe-1.5"
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"size": "md" as typeof size[number],
|
|
306
|
+
"leading": true,
|
|
307
|
+
"useLabel": true,
|
|
308
|
+
"useDropdown": true,
|
|
309
|
+
"class": "ps-3.5 pe-2.5"
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"size": "lg" as typeof size[number],
|
|
313
|
+
"leading": true,
|
|
314
|
+
"useLabel": true,
|
|
315
|
+
"useDropdown": true,
|
|
316
|
+
"class": "ps-4 pe-3.5"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"normalCase": true,
|
|
320
|
+
"size": "xs" as typeof size[number],
|
|
321
|
+
"class": "text-xs"
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"normalCase": true,
|
|
325
|
+
"size": "sm" as typeof size[number],
|
|
326
|
+
"class": "text-sm"
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"normalCase": true,
|
|
330
|
+
"size": [
|
|
331
|
+
"md" as typeof size[number],
|
|
332
|
+
"lg" as typeof size[number]
|
|
333
|
+
],
|
|
334
|
+
"class": "text-md"
|
|
335
|
+
}
|
|
336
|
+
],
|
|
337
|
+
"defaultVariants": {
|
|
338
|
+
"size": "md" as typeof size[number],
|
|
339
|
+
"color": "default" as typeof color[number],
|
|
340
|
+
"depth": "normal" as typeof depth[number]
|
|
341
|
+
}
|
|
342
|
+
}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
const color = [
|
|
2
|
+
"default",
|
|
3
|
+
"danger",
|
|
4
|
+
"success",
|
|
5
|
+
"warning",
|
|
6
|
+
"primary",
|
|
7
|
+
"secondary",
|
|
8
|
+
"collab",
|
|
9
|
+
"ai"
|
|
10
|
+
] as const
|
|
11
|
+
|
|
12
|
+
const size = [
|
|
13
|
+
"xs",
|
|
14
|
+
"sm",
|
|
15
|
+
"md",
|
|
16
|
+
"lg"
|
|
17
|
+
] as const
|
|
18
|
+
|
|
19
|
+
export default {
|
|
20
|
+
"slots": {
|
|
21
|
+
"root": "relative flex items-start",
|
|
22
|
+
"base": "cursor-pointer shrink-0 flex items-center justify-center rounded-2xs text-white dark:text-base-150 ring ring-inset ring-base-300 dark:ring-base-700 focus-visible:outline-2 focus-visible:outline-offset-2",
|
|
23
|
+
"container": "flex items-center",
|
|
24
|
+
"wrapper": "font-b24-primary ms-2",
|
|
25
|
+
"icon": "shrink-0 size-full",
|
|
26
|
+
"label": "cursor-pointer block font-regular text-base-master dark:text-base-400",
|
|
27
|
+
"description": "text-base-500 dark:text-base-600"
|
|
28
|
+
},
|
|
29
|
+
"variants": {
|
|
30
|
+
"color": {
|
|
31
|
+
"default": "focus-visible:outline-base-900 dark:focus-visible:outline-base-350",
|
|
32
|
+
"danger": "focus-visible:outline-red-500 dark:focus-visible:outline-red-600",
|
|
33
|
+
"success": "focus-visible:outline-green-500 dark:focus-visible:outline-green-600",
|
|
34
|
+
"warning": "focus-visible:outline-orange-500 dark:focus-visible:outline-orange-600",
|
|
35
|
+
"primary": "focus-visible:outline-blue-500 dark:focus-visible:outline-blue-600",
|
|
36
|
+
"secondary": "focus-visible:outline-cyan-350 dark:focus-visible:outline-cyan-500",
|
|
37
|
+
"collab": "focus-visible:outline-collab-500 dark:focus-visible:outline-collab-600",
|
|
38
|
+
"ai": "focus-visible:outline-ai-500 dark:focus-visible:outline-ai-600"
|
|
39
|
+
},
|
|
40
|
+
"size": {
|
|
41
|
+
"xs": {
|
|
42
|
+
"base": "size-3",
|
|
43
|
+
"container": "h-4",
|
|
44
|
+
"wrapper": "text-xs",
|
|
45
|
+
"label": "leading-4"
|
|
46
|
+
},
|
|
47
|
+
"sm": {
|
|
48
|
+
"base": "size-3.5",
|
|
49
|
+
"container": "h-4",
|
|
50
|
+
"wrapper": "text-sm",
|
|
51
|
+
"label": "leading-4"
|
|
52
|
+
},
|
|
53
|
+
"md": {
|
|
54
|
+
"base": "size-4",
|
|
55
|
+
"container": "h-5",
|
|
56
|
+
"wrapper": "text-md",
|
|
57
|
+
"label": "leading-5"
|
|
58
|
+
},
|
|
59
|
+
"lg": {
|
|
60
|
+
"base": "size-5",
|
|
61
|
+
"container": "h-5",
|
|
62
|
+
"wrapper": "text-xl",
|
|
63
|
+
"label": "leading-5"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"required": {
|
|
67
|
+
"true": {
|
|
68
|
+
"label": "after:content-['*'] after:ms-0.5 after:text-red-500 dark:after:text-red-600"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"disabled": {
|
|
72
|
+
"true": {
|
|
73
|
+
"base": "cursor-not-allowed opacity-75",
|
|
74
|
+
"label": "cursor-not-allowed opacity-75",
|
|
75
|
+
"description": "cursor-not-allowed opacity-75"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"checked": {
|
|
79
|
+
"true": ""
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"compoundVariants": [
|
|
83
|
+
{
|
|
84
|
+
"color": "default" as typeof color[number],
|
|
85
|
+
"checked": true,
|
|
86
|
+
"class": "ring-2 ring-base-900 bg-base-900 dark:ring-base-350 dark:bg-base-350 dark:text-base-800"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"color": "danger" as typeof color[number],
|
|
90
|
+
"checked": true,
|
|
91
|
+
"class": "ring-2 ring-red-500 bg-red-500 dark:ring-red-600 dark:bg-red-600 dark:text-red-250"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"color": "success" as typeof color[number],
|
|
95
|
+
"checked": true,
|
|
96
|
+
"class": "ring-2 ring-green-500 bg-green-500 dark:ring-green-600 dark:bg-green-600 dark:text-green-250"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"color": "warning" as typeof color[number],
|
|
100
|
+
"checked": true,
|
|
101
|
+
"class": "ring-2 ring-orange-500 bg-orange-500 dark:ring-orange-600 dark:bg-orange-600 dark:text-orange-250"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"color": "primary" as typeof color[number],
|
|
105
|
+
"checked": true,
|
|
106
|
+
"class": "ring-2 ring-blue-500 bg-blue-500 dark:ring-blue-600 dark:bg-blue-600 dark:text-blue-250"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"color": "secondary" as typeof color[number],
|
|
110
|
+
"checked": true,
|
|
111
|
+
"class": "ring-2 ring-cyan-350 bg-cyan-350 dark:ring-cyan-500 dark:bg-cyan-500"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"color": "collab" as typeof color[number],
|
|
115
|
+
"checked": true,
|
|
116
|
+
"class": "ring-2 ring-collab-500 bg-collab-500 dark:ring-collab-600 dark:bg-collab-600 dark:text-collab-250"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"color": "ai" as typeof color[number],
|
|
120
|
+
"checked": true,
|
|
121
|
+
"class": "ring-2 ring-ai-500 bg-ai-500 dark:ring-ai-600 dark:bg-ai-600 dark:text-ai-250"
|
|
122
|
+
}
|
|
123
|
+
],
|
|
124
|
+
"defaultVariants": {
|
|
125
|
+
"size": "md" as typeof size[number],
|
|
126
|
+
"color": "primary" as typeof color[number]
|
|
127
|
+
}
|
|
128
|
+
}
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
const color = [
|
|
2
|
+
"default",
|
|
3
|
+
"danger",
|
|
4
|
+
"success",
|
|
5
|
+
"warning",
|
|
6
|
+
"primary",
|
|
7
|
+
"secondary",
|
|
8
|
+
"collab",
|
|
9
|
+
"ai",
|
|
10
|
+
"link"
|
|
11
|
+
] as const
|
|
12
|
+
|
|
13
|
+
const size = [
|
|
14
|
+
"3xs",
|
|
15
|
+
"2xs",
|
|
16
|
+
"xs",
|
|
17
|
+
"sm",
|
|
18
|
+
"md",
|
|
19
|
+
"lg",
|
|
20
|
+
"xl",
|
|
21
|
+
"2xl",
|
|
22
|
+
"3xl"
|
|
23
|
+
] as const
|
|
24
|
+
|
|
25
|
+
const position = [
|
|
26
|
+
"top-right",
|
|
27
|
+
"bottom-right",
|
|
28
|
+
"top-left",
|
|
29
|
+
"bottom-left"
|
|
30
|
+
] as const
|
|
31
|
+
|
|
32
|
+
export default {
|
|
33
|
+
"slots": {
|
|
34
|
+
"root": "relative inline-flex items-center justify-center shrink-0",
|
|
35
|
+
"base": "select-none rounded-sm flex items-center justify-center p-1 text-white leading-none font-semibold font-b24-secondary whitespace-nowrap"
|
|
36
|
+
},
|
|
37
|
+
"variants": {
|
|
38
|
+
"color": {
|
|
39
|
+
"default": "bg-base-500 dark:bg-base-900 dark:text-base-150",
|
|
40
|
+
"danger": "bg-red-500 dark:bg-red-600 dark:text-red-250",
|
|
41
|
+
"success": "bg-green-500 dark:bg-green-600 dark:text-green-250",
|
|
42
|
+
"warning": "bg-orange-500 dark:bg-orange-600 dark:text-orange-250",
|
|
43
|
+
"primary": "bg-blue-500 dark:bg-blue-600 dark:text-blue-250",
|
|
44
|
+
"secondary": "bg-cyan-350 dark:bg-cyan-500",
|
|
45
|
+
"collab": "bg-collab-500 dark:bg-collab-800 dark:text-collab-250",
|
|
46
|
+
"ai": "bg-ai-500 dark:bg-ai-800 dark:text-ai-250",
|
|
47
|
+
"link": "bg-base-900/85 text-white dark:bg-white/85 dark:text-base-900"
|
|
48
|
+
},
|
|
49
|
+
"size": {
|
|
50
|
+
"3xs": "h-1 min-w-1 text-[0px] text-transparent p-0",
|
|
51
|
+
"2xs": "h-1.5 min-w-1.5 text-[0px] text-transparent p-0",
|
|
52
|
+
"xs": "h-xs2 min-w-xs2 text-[0px] text-transparent p-0",
|
|
53
|
+
"sm": "h-sm min-w-sm text-4xs font-regular",
|
|
54
|
+
"md": "h-md min-w-md text-3xs",
|
|
55
|
+
"lg": "h-lg min-w-lg rounded-md text-xs",
|
|
56
|
+
"xl": "h-lg min-w-lg rounded-md text-xs",
|
|
57
|
+
"2xl": "h-lg min-w-lg rounded-md text-xs",
|
|
58
|
+
"3xl": "h-lg min-w-lg rounded-md text-xs"
|
|
59
|
+
},
|
|
60
|
+
"position": {
|
|
61
|
+
"top-right": "top-0 right-0",
|
|
62
|
+
"bottom-right": "bottom-0 right-0",
|
|
63
|
+
"top-left": "top-0 left-0",
|
|
64
|
+
"bottom-left": "bottom-0 left-0"
|
|
65
|
+
},
|
|
66
|
+
"inset": {
|
|
67
|
+
"false": ""
|
|
68
|
+
},
|
|
69
|
+
"standalone": {
|
|
70
|
+
"true": "",
|
|
71
|
+
"false": "ring ring-white dark:ring-base-700 absolute"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"compoundVariants": [
|
|
75
|
+
{
|
|
76
|
+
"position": "top-right" as typeof position[number],
|
|
77
|
+
"inset": false,
|
|
78
|
+
"standalone": false,
|
|
79
|
+
"class": "-translate-y-1/2 translate-x-1/2 transform"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"position": "bottom-right" as typeof position[number],
|
|
83
|
+
"inset": false,
|
|
84
|
+
"standalone": false,
|
|
85
|
+
"class": "translate-y-1/2 translate-x-1/2 transform"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"position": "top-left" as typeof position[number],
|
|
89
|
+
"inset": false,
|
|
90
|
+
"standalone": false,
|
|
91
|
+
"class": "-translate-y-1/2 -translate-x-1/2 transform"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"position": "bottom-left" as typeof position[number],
|
|
95
|
+
"inset": false,
|
|
96
|
+
"standalone": false,
|
|
97
|
+
"class": "translate-y-1/2 -translate-x-1/2 transform"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"position": "top-right" as typeof position[number],
|
|
101
|
+
"size": [
|
|
102
|
+
"2xs" as typeof size[number],
|
|
103
|
+
"xs" as typeof size[number],
|
|
104
|
+
"sm" as typeof size[number],
|
|
105
|
+
"md" as typeof size[number],
|
|
106
|
+
"lg" as typeof size[number],
|
|
107
|
+
"xl" as typeof size[number],
|
|
108
|
+
"2xl" as typeof size[number]
|
|
109
|
+
],
|
|
110
|
+
"inset": true,
|
|
111
|
+
"standalone": false,
|
|
112
|
+
"class": "-translate-y-1/3 translate-x-1/3 transform"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"position": "top-right" as typeof position[number],
|
|
116
|
+
"size": [
|
|
117
|
+
"2xs" as typeof size[number],
|
|
118
|
+
"3xl" as typeof size[number]
|
|
119
|
+
],
|
|
120
|
+
"inset": true,
|
|
121
|
+
"standalone": false,
|
|
122
|
+
"class": "translate-y-0 translate-x-0 transform"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"position": "bottom-right" as typeof position[number],
|
|
126
|
+
"size": [
|
|
127
|
+
"2xs" as typeof size[number],
|
|
128
|
+
"xs" as typeof size[number],
|
|
129
|
+
"sm" as typeof size[number],
|
|
130
|
+
"md" as typeof size[number],
|
|
131
|
+
"lg" as typeof size[number],
|
|
132
|
+
"xl" as typeof size[number],
|
|
133
|
+
"2xl" as typeof size[number]
|
|
134
|
+
],
|
|
135
|
+
"inset": true,
|
|
136
|
+
"standalone": false,
|
|
137
|
+
"class": "translate-y-1/3 translate-x-1/3 transform"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"position": "bottom-right" as typeof position[number],
|
|
141
|
+
"size": [
|
|
142
|
+
"2xs" as typeof size[number],
|
|
143
|
+
"3xl" as typeof size[number]
|
|
144
|
+
],
|
|
145
|
+
"inset": true,
|
|
146
|
+
"standalone": false,
|
|
147
|
+
"class": "translate-y-0 translate-x-0 transform"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"position": "top-left" as typeof position[number],
|
|
151
|
+
"size": [
|
|
152
|
+
"2xs" as typeof size[number],
|
|
153
|
+
"xs" as typeof size[number],
|
|
154
|
+
"sm" as typeof size[number],
|
|
155
|
+
"md" as typeof size[number],
|
|
156
|
+
"lg" as typeof size[number],
|
|
157
|
+
"xl" as typeof size[number],
|
|
158
|
+
"2xl" as typeof size[number]
|
|
159
|
+
],
|
|
160
|
+
"inset": true,
|
|
161
|
+
"standalone": false,
|
|
162
|
+
"class": "-translate-y-1/3 -translate-x-1/3 transform"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"position": "top-left" as typeof position[number],
|
|
166
|
+
"size": [
|
|
167
|
+
"2xs" as typeof size[number],
|
|
168
|
+
"3xl" as typeof size[number]
|
|
169
|
+
],
|
|
170
|
+
"inset": true,
|
|
171
|
+
"standalone": false,
|
|
172
|
+
"class": "-translate-y-0 -translate-x-0 transform"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"position": "bottom-left" as typeof position[number],
|
|
176
|
+
"size": [
|
|
177
|
+
"2xs" as typeof size[number],
|
|
178
|
+
"xs" as typeof size[number],
|
|
179
|
+
"sm" as typeof size[number],
|
|
180
|
+
"md" as typeof size[number],
|
|
181
|
+
"lg" as typeof size[number],
|
|
182
|
+
"xl" as typeof size[number],
|
|
183
|
+
"2xl" as typeof size[number]
|
|
184
|
+
],
|
|
185
|
+
"inset": true,
|
|
186
|
+
"standalone": false,
|
|
187
|
+
"class": "translate-y-1/3 -translate-x-1/3 transform"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"position": "bottom-left" as typeof position[number],
|
|
191
|
+
"size": [
|
|
192
|
+
"2xs" as typeof size[number],
|
|
193
|
+
"3xl" as typeof size[number]
|
|
194
|
+
],
|
|
195
|
+
"inset": true,
|
|
196
|
+
"standalone": false,
|
|
197
|
+
"class": "translate-y-0 -translate-x-0 transform"
|
|
198
|
+
}
|
|
199
|
+
],
|
|
200
|
+
"defaultVariants": {
|
|
201
|
+
"size": "sm" as typeof size[number],
|
|
202
|
+
"color": "danger" as typeof color[number],
|
|
203
|
+
"position": "top-right" as typeof position[number]
|
|
204
|
+
}
|
|
205
|
+
}
|