@nuxt/ui 3.1.0 → 3.1.2
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/ui/accordion.ts +2 -23
- package/.nuxt/ui/alert.ts +2 -28
- package/.nuxt/ui/avatar-group.ts +2 -23
- package/.nuxt/ui/avatar.ts +2 -23
- package/.nuxt/ui/badge.ts +32 -30
- package/.nuxt/ui/breadcrumb.ts +2 -23
- package/.nuxt/ui/button-group.ts +2 -36
- package/.nuxt/ui/button.ts +4 -30
- package/.nuxt/ui/calendar.ts +4 -25
- package/.nuxt/ui/card.ts +2 -23
- package/.nuxt/ui/carousel.ts +2 -28
- package/.nuxt/ui/checkbox-group.ts +146 -24
- package/.nuxt/ui/checkbox.ts +2 -23
- package/.nuxt/ui/chip.ts +2 -23
- package/.nuxt/ui/collapsible.ts +2 -23
- package/.nuxt/ui/color-picker.ts +4 -25
- package/.nuxt/ui/command-palette.ts +2 -23
- package/.nuxt/ui/container.ts +2 -23
- package/.nuxt/ui/context-menu.ts +2 -23
- package/.nuxt/ui/drawer.ts +2 -23
- package/.nuxt/ui/dropdown-menu.ts +2 -23
- package/.nuxt/ui/form-field.ts +2 -23
- package/.nuxt/ui/form.ts +2 -23
- package/.nuxt/ui/input-menu.ts +4 -34
- package/.nuxt/ui/input-number.ts +12 -23
- package/.nuxt/ui/input.ts +4 -34
- package/.nuxt/ui/kbd.ts +2 -23
- package/.nuxt/ui/link.ts +14 -28
- package/.nuxt/ui/modal.ts +2 -23
- package/.nuxt/ui/navigation-menu.ts +3 -24
- package/.nuxt/ui/pagination.ts +2 -23
- package/.nuxt/ui/pin-input.ts +2 -23
- package/.nuxt/ui/popover.ts +2 -23
- package/.nuxt/ui/progress.ts +2 -23
- package/.nuxt/ui/radio-group.ts +2 -23
- package/.nuxt/ui/select-menu.ts +4 -34
- package/.nuxt/ui/select.ts +4 -34
- package/.nuxt/ui/separator.ts +2 -23
- package/.nuxt/ui/skeleton.ts +2 -23
- package/.nuxt/ui/slideover.ts +2 -23
- package/.nuxt/ui/slider.ts +2 -23
- package/.nuxt/ui/stepper.ts +2 -23
- package/.nuxt/ui/switch.ts +2 -23
- package/.nuxt/ui/table.ts +2 -23
- package/.nuxt/ui/tabs.ts +6 -26
- package/.nuxt/ui/textarea.ts +4 -34
- package/.nuxt/ui/toast.ts +2 -28
- package/.nuxt/ui/toaster.ts +2 -23
- package/.nuxt/ui/tooltip.ts +2 -23
- package/.nuxt/ui/tree.ts +2 -23
- package/.nuxt/ui.css +15 -8
- package/README.md +4 -0
- package/cli/templates.mjs +2 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +15 -5
- package/dist/runtime/components/Accordion.vue +9 -9
- package/dist/runtime/components/Accordion.vue.d.ts +6 -20
- package/dist/runtime/components/Alert.vue +1 -1
- package/dist/runtime/components/Alert.vue.d.ts +7 -22
- package/dist/runtime/components/App.vue.d.ts +2 -2
- package/dist/runtime/components/Avatar.vue +2 -2
- package/dist/runtime/components/Avatar.vue.d.ts +4 -25
- package/dist/runtime/components/AvatarGroup.vue +1 -1
- package/dist/runtime/components/AvatarGroup.vue.d.ts +2 -11
- package/dist/runtime/components/Badge.vue +5 -3
- package/dist/runtime/components/Badge.vue.d.ts +5 -24
- package/dist/runtime/components/Breadcrumb.vue +8 -8
- package/dist/runtime/components/Breadcrumb.vue.d.ts +4 -20
- package/dist/runtime/components/Button.vue +2 -3
- package/dist/runtime/components/Button.vue.d.ts +4 -29
- package/dist/runtime/components/ButtonGroup.vue.d.ts +3 -24
- package/dist/runtime/components/Calendar.vue +2 -1
- package/dist/runtime/components/Calendar.vue.d.ts +6 -2
- package/dist/runtime/components/Card.vue +1 -1
- package/dist/runtime/components/Card.vue.d.ts +2 -11
- package/dist/runtime/components/Carousel.vue +5 -2
- package/dist/runtime/components/Carousel.vue.d.ts +10 -3
- package/dist/runtime/components/Checkbox.vue +2 -2
- package/dist/runtime/components/Checkbox.vue.d.ts +10 -13
- package/dist/runtime/components/CheckboxGroup.vue +8 -5
- package/dist/runtime/components/CheckboxGroup.vue.d.ts +12 -3
- package/dist/runtime/components/Chip.vue +1 -1
- package/dist/runtime/components/Chip.vue.d.ts +10 -24
- package/dist/runtime/components/Collapsible.vue +1 -1
- package/dist/runtime/components/Collapsible.vue.d.ts +7 -22
- package/dist/runtime/components/ColorPicker.vue +1 -1
- package/dist/runtime/components/ColorPicker.vue.d.ts +9 -24
- package/dist/runtime/components/CommandPalette.vue +17 -17
- package/dist/runtime/components/CommandPalette.vue.d.ts +17 -27
- package/dist/runtime/components/Container.vue.d.ts +2 -11
- package/dist/runtime/components/ContextMenu.vue.d.ts +6 -24
- package/dist/runtime/components/ContextMenuContent.vue +15 -15
- package/dist/runtime/components/ContextMenuContent.vue.d.ts +17 -57
- package/dist/runtime/components/Drawer.vue.d.ts +17 -27
- package/dist/runtime/components/DropdownMenu.vue.d.ts +6 -28
- package/dist/runtime/components/DropdownMenuContent.vue +15 -15
- package/dist/runtime/components/DropdownMenuContent.vue.d.ts +19 -6
- package/dist/runtime/components/Form.vue.d.ts +5 -2
- package/dist/runtime/components/FormField.vue +5 -5
- package/dist/runtime/components/FormField.vue.d.ts +2 -11
- package/dist/runtime/components/Icon.vue.d.ts +1 -10
- package/dist/runtime/components/Input.vue +2 -2
- package/dist/runtime/components/Input.vue.d.ts +20 -41
- package/dist/runtime/components/InputMenu.vue +17 -17
- package/dist/runtime/components/InputMenu.vue.d.ts +227 -5
- package/dist/runtime/components/InputNumber.vue +13 -7
- package/dist/runtime/components/InputNumber.vue.d.ts +90 -23
- package/dist/runtime/components/Kbd.vue.d.ts +3 -24
- package/dist/runtime/components/Link.vue +5 -14
- package/dist/runtime/components/Link.vue.d.ts +3 -34
- package/dist/runtime/components/LinkBase.vue.d.ts +4 -27
- package/dist/runtime/components/Modal.vue.d.ts +12 -28
- package/dist/runtime/components/NavigationMenu.vue +35 -28
- package/dist/runtime/components/NavigationMenu.vue.d.ts +24 -26
- package/dist/runtime/components/Pagination.vue +1 -1
- package/dist/runtime/components/Pagination.vue.d.ts +9 -33
- package/dist/runtime/components/PinInput.vue +1 -1
- package/dist/runtime/components/PinInput.vue.d.ts +13 -24
- package/dist/runtime/components/Popover.vue.d.ts +9 -26
- package/dist/runtime/components/Progress.vue +1 -1
- package/dist/runtime/components/Progress.vue.d.ts +10 -41
- package/dist/runtime/components/RadioGroup.vue +8 -8
- package/dist/runtime/components/RadioGroup.vue.d.ts +8 -3
- package/dist/runtime/components/Select.vue +12 -12
- package/dist/runtime/components/Select.vue.d.ts +11 -3
- package/dist/runtime/components/SelectMenu.vue +13 -13
- package/dist/runtime/components/SelectMenu.vue.d.ts +19 -5
- package/dist/runtime/components/Separator.vue +1 -1
- package/dist/runtime/components/Separator.vue.d.ts +3 -24
- package/dist/runtime/components/Skeleton.vue.d.ts +3 -12
- package/dist/runtime/components/Slideover.vue.d.ts +12 -29
- package/dist/runtime/components/Slider.vue +16 -4
- package/dist/runtime/components/Slider.vue.d.ts +23 -36
- package/dist/runtime/components/Stepper.vue +10 -10
- package/dist/runtime/components/Stepper.vue.d.ts +10 -14
- package/dist/runtime/components/Switch.vue +1 -1
- package/dist/runtime/components/Switch.vue.d.ts +10 -13
- package/dist/runtime/components/Table.vue +2 -2
- package/dist/runtime/components/Table.vue.d.ts +17 -17
- package/dist/runtime/components/Tabs.vue +6 -6
- package/dist/runtime/components/Tabs.vue.d.ts +6 -20
- package/dist/runtime/components/Textarea.vue +3 -3
- package/dist/runtime/components/Textarea.vue.d.ts +20 -44
- package/dist/runtime/components/Toast.vue +3 -2
- package/dist/runtime/components/Toast.vue.d.ts +92 -24
- package/dist/runtime/components/Toaster.vue +4 -4
- package/dist/runtime/components/Toaster.vue.d.ts +9 -28
- package/dist/runtime/components/Tooltip.vue.d.ts +7 -22
- package/dist/runtime/components/Tree.vue +10 -10
- package/dist/runtime/components/Tree.vue.d.ts +7 -22
- package/dist/runtime/composables/defineShortcuts.js +6 -0
- package/dist/runtime/composables/useAvatarGroup.d.ts +1 -1
- package/dist/runtime/composables/useButtonGroup.d.ts +1 -1
- package/dist/runtime/composables/useFormField.d.ts +2 -2
- package/dist/runtime/composables/useFormField.js +2 -1
- package/dist/runtime/composables/useKbd.d.ts +1 -0
- package/dist/runtime/composables/useKbd.js +4 -3
- package/dist/runtime/composables/useOverlay.d.ts +9 -10
- package/dist/runtime/composables/useOverlay.js +11 -6
- package/dist/runtime/inertia/components/Link.vue +46 -60
- package/dist/runtime/inertia/components/Link.vue.d.ts +4 -33
- package/dist/runtime/inertia/components/LinkBase.vue +68 -0
- package/dist/runtime/inertia/components/LinkBase.vue.d.ts +25 -0
- package/dist/runtime/inertia/stubs.d.ts +1 -1
- package/dist/runtime/inertia/stubs.js +1 -1
- package/dist/runtime/locale/index.d.ts +1 -0
- package/dist/runtime/locale/index.js +1 -0
- package/dist/runtime/locale/sl.d.ts +3 -0
- package/dist/runtime/locale/sl.js +54 -0
- package/dist/runtime/types/tv.d.ts +53 -0
- package/dist/runtime/types/tv.js +0 -0
- package/dist/runtime/types/utils.d.ts +2 -52
- package/dist/runtime/types/utils.js +1 -0
- package/dist/runtime/utils/link.d.ts +1 -0
- package/dist/runtime/utils/link.js +12 -0
- package/dist/runtime/vue/components/Icon.vue.d.ts +1 -10
- package/dist/runtime/vue/components/Link.vue +27 -40
- package/dist/runtime/vue/components/Link.vue.d.ts +3 -34
- package/dist/runtime/vue/composables/useAppConfig.js +3 -1
- package/dist/runtime/vue/stubs.d.ts +1 -1
- package/dist/runtime/vue/stubs.js +1 -1
- package/dist/shared/{ui.D7lOOabO.mjs → ui.BvUP-pSb.mjs} +120 -27
- package/dist/unplugin.d.mts +2 -2
- package/dist/unplugin.mjs +1 -1
- package/dist/vite.d.mts +1 -1
- package/dist/vite.mjs +2 -2
- package/package.json +28 -27
package/.nuxt/ui/accordion.ts
CHANGED
|
@@ -1,23 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const result = typeof template === 'function' ? (template as Function)({
|
|
4
|
-
"prefix": "U",
|
|
5
|
-
"fonts": true,
|
|
6
|
-
"colorMode": true,
|
|
7
|
-
"theme": {
|
|
8
|
-
"colors": [
|
|
9
|
-
"primary",
|
|
10
|
-
"secondary",
|
|
11
|
-
"success",
|
|
12
|
-
"info",
|
|
13
|
-
"warning",
|
|
14
|
-
"error"
|
|
15
|
-
],
|
|
16
|
-
"transitions": true
|
|
17
|
-
}
|
|
18
|
-
}) : template
|
|
19
|
-
|
|
20
|
-
const theme = {
|
|
1
|
+
export default {
|
|
21
2
|
"slots": {
|
|
22
3
|
"root": "w-full",
|
|
23
4
|
"item": "border-b border-default last:border-b-0",
|
|
@@ -36,6 +17,4 @@ const theme = {
|
|
|
36
17
|
}
|
|
37
18
|
}
|
|
38
19
|
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export default result as typeof theme
|
|
20
|
+
}
|
package/.nuxt/ui/alert.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import template from "/home/runner/work/ui/ui/src/theme/alert"
|
|
2
|
-
|
|
3
1
|
const color = [
|
|
4
2
|
"primary",
|
|
5
3
|
"secondary",
|
|
@@ -17,29 +15,7 @@ const variant = [
|
|
|
17
15
|
"subtle"
|
|
18
16
|
] as const
|
|
19
17
|
|
|
20
|
-
|
|
21
|
-
"horizontal",
|
|
22
|
-
"vertical"
|
|
23
|
-
] as const
|
|
24
|
-
|
|
25
|
-
const result = typeof template === 'function' ? (template as Function)({
|
|
26
|
-
"prefix": "U",
|
|
27
|
-
"fonts": true,
|
|
28
|
-
"colorMode": true,
|
|
29
|
-
"theme": {
|
|
30
|
-
"colors": [
|
|
31
|
-
"primary",
|
|
32
|
-
"secondary",
|
|
33
|
-
"success",
|
|
34
|
-
"info",
|
|
35
|
-
"warning",
|
|
36
|
-
"error"
|
|
37
|
-
],
|
|
38
|
-
"transitions": true
|
|
39
|
-
}
|
|
40
|
-
}) : template
|
|
41
|
-
|
|
42
|
-
const theme = {
|
|
18
|
+
export default {
|
|
43
19
|
"slots": {
|
|
44
20
|
"root": "relative overflow-hidden w-full rounded-lg p-4 flex gap-2.5",
|
|
45
21
|
"wrapper": "min-w-0 flex-1 flex flex-col",
|
|
@@ -285,6 +261,4 @@ const theme = {
|
|
|
285
261
|
"color": "primary" as typeof color[number],
|
|
286
262
|
"variant": "solid" as typeof variant[number]
|
|
287
263
|
}
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
export default result as typeof theme
|
|
264
|
+
}
|
package/.nuxt/ui/avatar-group.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import template from "/home/runner/work/ui/ui/src/theme/avatar-group"
|
|
2
|
-
|
|
3
1
|
const size = [
|
|
4
2
|
"3xs",
|
|
5
3
|
"2xs",
|
|
@@ -12,24 +10,7 @@ const size = [
|
|
|
12
10
|
"3xl"
|
|
13
11
|
] as const
|
|
14
12
|
|
|
15
|
-
|
|
16
|
-
"prefix": "U",
|
|
17
|
-
"fonts": true,
|
|
18
|
-
"colorMode": true,
|
|
19
|
-
"theme": {
|
|
20
|
-
"colors": [
|
|
21
|
-
"primary",
|
|
22
|
-
"secondary",
|
|
23
|
-
"success",
|
|
24
|
-
"info",
|
|
25
|
-
"warning",
|
|
26
|
-
"error"
|
|
27
|
-
],
|
|
28
|
-
"transitions": true
|
|
29
|
-
}
|
|
30
|
-
}) : template
|
|
31
|
-
|
|
32
|
-
const theme = {
|
|
13
|
+
export default {
|
|
33
14
|
"slots": {
|
|
34
15
|
"root": "inline-flex flex-row-reverse justify-end",
|
|
35
16
|
"base": "relative rounded-full ring-bg first:me-0"
|
|
@@ -68,6 +49,4 @@ const theme = {
|
|
|
68
49
|
"defaultVariants": {
|
|
69
50
|
"size": "md" as typeof size[number]
|
|
70
51
|
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
export default result as typeof theme
|
|
52
|
+
}
|
package/.nuxt/ui/avatar.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import template from "/home/runner/work/ui/ui/src/theme/avatar"
|
|
2
|
-
|
|
3
1
|
const size = [
|
|
4
2
|
"3xs",
|
|
5
3
|
"2xs",
|
|
@@ -12,24 +10,7 @@ const size = [
|
|
|
12
10
|
"3xl"
|
|
13
11
|
] as const
|
|
14
12
|
|
|
15
|
-
|
|
16
|
-
"prefix": "U",
|
|
17
|
-
"fonts": true,
|
|
18
|
-
"colorMode": true,
|
|
19
|
-
"theme": {
|
|
20
|
-
"colors": [
|
|
21
|
-
"primary",
|
|
22
|
-
"secondary",
|
|
23
|
-
"success",
|
|
24
|
-
"info",
|
|
25
|
-
"warning",
|
|
26
|
-
"error"
|
|
27
|
-
],
|
|
28
|
-
"transitions": true
|
|
29
|
-
}
|
|
30
|
-
}) : template
|
|
31
|
-
|
|
32
|
-
const theme = {
|
|
13
|
+
export default {
|
|
33
14
|
"slots": {
|
|
34
15
|
"root": "inline-flex items-center justify-center shrink-0 select-none overflow-hidden rounded-full align-middle bg-elevated",
|
|
35
16
|
"image": "h-full w-full rounded-[inherit] object-cover",
|
|
@@ -70,6 +51,4 @@ const theme = {
|
|
|
70
51
|
"defaultVariants": {
|
|
71
52
|
"size": "md" as typeof size[number]
|
|
72
53
|
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
export default result as typeof theme
|
|
54
|
+
}
|
package/.nuxt/ui/badge.ts
CHANGED
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
import template from "/home/runner/work/ui/ui/src/theme/badge"
|
|
2
|
-
|
|
3
|
-
const buttonGroup = [
|
|
4
|
-
"horizontal",
|
|
5
|
-
"vertical"
|
|
6
|
-
] as const
|
|
7
|
-
|
|
8
1
|
const color = [
|
|
9
2
|
"primary",
|
|
10
3
|
"secondary",
|
|
@@ -30,24 +23,7 @@ const size = [
|
|
|
30
23
|
"xl"
|
|
31
24
|
] as const
|
|
32
25
|
|
|
33
|
-
|
|
34
|
-
"prefix": "U",
|
|
35
|
-
"fonts": true,
|
|
36
|
-
"colorMode": true,
|
|
37
|
-
"theme": {
|
|
38
|
-
"colors": [
|
|
39
|
-
"primary",
|
|
40
|
-
"secondary",
|
|
41
|
-
"success",
|
|
42
|
-
"info",
|
|
43
|
-
"warning",
|
|
44
|
-
"error"
|
|
45
|
-
],
|
|
46
|
-
"transitions": true
|
|
47
|
-
}
|
|
48
|
-
}) : template
|
|
49
|
-
|
|
50
|
-
const theme = {
|
|
26
|
+
export default {
|
|
51
27
|
"slots": {
|
|
52
28
|
"base": "font-medium inline-flex items-center",
|
|
53
29
|
"label": "truncate",
|
|
@@ -58,8 +34,8 @@ const theme = {
|
|
|
58
34
|
},
|
|
59
35
|
"variants": {
|
|
60
36
|
"buttonGroup": {
|
|
61
|
-
"horizontal": "not-only:first:rounded-e-none not-only:last:rounded-s-none not-last:not-first:rounded-none",
|
|
62
|
-
"vertical": "not-only:first:rounded-b-none not-only:last:rounded-t-none not-last:not-first:rounded-none"
|
|
37
|
+
"horizontal": "not-only:first:rounded-e-none not-only:last:rounded-s-none not-last:not-first:rounded-none focus-visible:z-[1]",
|
|
38
|
+
"vertical": "not-only:first:rounded-b-none not-only:last:rounded-t-none not-last:not-first:rounded-none focus-visible:z-[1]"
|
|
63
39
|
},
|
|
64
40
|
"color": {
|
|
65
41
|
"primary": "",
|
|
@@ -107,6 +83,9 @@ const theme = {
|
|
|
107
83
|
"leadingAvatarSize": "2xs",
|
|
108
84
|
"trailingIcon": "size-6"
|
|
109
85
|
}
|
|
86
|
+
},
|
|
87
|
+
"square": {
|
|
88
|
+
"true": ""
|
|
110
89
|
}
|
|
111
90
|
},
|
|
112
91
|
"compoundVariants": [
|
|
@@ -249,6 +228,31 @@ const theme = {
|
|
|
249
228
|
"color": "neutral" as typeof color[number],
|
|
250
229
|
"variant": "subtle" as typeof variant[number],
|
|
251
230
|
"class": "ring ring-inset ring-accented text-default bg-elevated"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"size": "xs" as typeof size[number],
|
|
234
|
+
"square": true,
|
|
235
|
+
"class": "p-0.5"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"size": "sm" as typeof size[number],
|
|
239
|
+
"square": true,
|
|
240
|
+
"class": "p-1"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"size": "md" as typeof size[number],
|
|
244
|
+
"square": true,
|
|
245
|
+
"class": "p-1"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"size": "lg" as typeof size[number],
|
|
249
|
+
"square": true,
|
|
250
|
+
"class": "p-1"
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"size": "xl" as typeof size[number],
|
|
254
|
+
"square": true,
|
|
255
|
+
"class": "p-1"
|
|
252
256
|
}
|
|
253
257
|
],
|
|
254
258
|
"defaultVariants": {
|
|
@@ -256,6 +260,4 @@ const theme = {
|
|
|
256
260
|
"variant": "solid" as typeof variant[number],
|
|
257
261
|
"size": "md" as typeof size[number]
|
|
258
262
|
}
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
export default result as typeof theme
|
|
263
|
+
}
|
package/.nuxt/ui/breadcrumb.ts
CHANGED
|
@@ -1,23 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const result = typeof template === 'function' ? (template as Function)({
|
|
4
|
-
"prefix": "U",
|
|
5
|
-
"fonts": true,
|
|
6
|
-
"colorMode": true,
|
|
7
|
-
"theme": {
|
|
8
|
-
"colors": [
|
|
9
|
-
"primary",
|
|
10
|
-
"secondary",
|
|
11
|
-
"success",
|
|
12
|
-
"info",
|
|
13
|
-
"warning",
|
|
14
|
-
"error"
|
|
15
|
-
],
|
|
16
|
-
"transitions": true
|
|
17
|
-
}
|
|
18
|
-
}) : template
|
|
19
|
-
|
|
20
|
-
const theme = {
|
|
1
|
+
export default {
|
|
21
2
|
"slots": {
|
|
22
3
|
"root": "relative min-w-0",
|
|
23
4
|
"list": "flex items-center gap-1.5",
|
|
@@ -61,6 +42,4 @@ const theme = {
|
|
|
61
42
|
}
|
|
62
43
|
}
|
|
63
44
|
]
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export default result as typeof theme
|
|
45
|
+
}
|
package/.nuxt/ui/button-group.ts
CHANGED
|
@@ -1,36 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const size = [
|
|
4
|
-
"xs",
|
|
5
|
-
"sm",
|
|
6
|
-
"md",
|
|
7
|
-
"lg",
|
|
8
|
-
"xl"
|
|
9
|
-
] as const
|
|
10
|
-
|
|
11
|
-
const orientation = [
|
|
12
|
-
"horizontal",
|
|
13
|
-
"vertical"
|
|
14
|
-
] as const
|
|
15
|
-
|
|
16
|
-
const result = typeof template === 'function' ? (template as Function)({
|
|
17
|
-
"prefix": "U",
|
|
18
|
-
"fonts": true,
|
|
19
|
-
"colorMode": true,
|
|
20
|
-
"theme": {
|
|
21
|
-
"colors": [
|
|
22
|
-
"primary",
|
|
23
|
-
"secondary",
|
|
24
|
-
"success",
|
|
25
|
-
"info",
|
|
26
|
-
"warning",
|
|
27
|
-
"error"
|
|
28
|
-
],
|
|
29
|
-
"transitions": true
|
|
30
|
-
}
|
|
31
|
-
}) : template
|
|
32
|
-
|
|
33
|
-
const theme = {
|
|
1
|
+
export default {
|
|
34
2
|
"base": "relative",
|
|
35
3
|
"variants": {
|
|
36
4
|
"size": {
|
|
@@ -45,6 +13,4 @@ const theme = {
|
|
|
45
13
|
"vertical": "flex flex-col -space-y-px"
|
|
46
14
|
}
|
|
47
15
|
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export default result as typeof theme
|
|
16
|
+
}
|
package/.nuxt/ui/button.ts
CHANGED
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
import template from "/home/runner/work/ui/ui/src/theme/button"
|
|
2
|
-
|
|
3
|
-
const buttonGroup = [
|
|
4
|
-
"horizontal",
|
|
5
|
-
"vertical"
|
|
6
|
-
] as const
|
|
7
|
-
|
|
8
1
|
const color = [
|
|
9
2
|
"primary",
|
|
10
3
|
"secondary",
|
|
@@ -32,24 +25,7 @@ const size = [
|
|
|
32
25
|
"xl"
|
|
33
26
|
] as const
|
|
34
27
|
|
|
35
|
-
|
|
36
|
-
"prefix": "U",
|
|
37
|
-
"fonts": true,
|
|
38
|
-
"colorMode": true,
|
|
39
|
-
"theme": {
|
|
40
|
-
"colors": [
|
|
41
|
-
"primary",
|
|
42
|
-
"secondary",
|
|
43
|
-
"success",
|
|
44
|
-
"info",
|
|
45
|
-
"warning",
|
|
46
|
-
"error"
|
|
47
|
-
],
|
|
48
|
-
"transitions": true
|
|
49
|
-
}
|
|
50
|
-
}) : template
|
|
51
|
-
|
|
52
|
-
const theme = {
|
|
28
|
+
export default {
|
|
53
29
|
"slots": {
|
|
54
30
|
"base": [
|
|
55
31
|
"rounded-md font-medium inline-flex items-center disabled:cursor-not-allowed aria-disabled:cursor-not-allowed disabled:opacity-75 aria-disabled:opacity-75",
|
|
@@ -63,8 +39,8 @@ const theme = {
|
|
|
63
39
|
},
|
|
64
40
|
"variants": {
|
|
65
41
|
"buttonGroup": {
|
|
66
|
-
"horizontal": "not-only:first:rounded-e-none not-only:last:rounded-s-none not-last:not-first:rounded-none",
|
|
67
|
-
"vertical": "not-only:first:rounded-b-none not-only:last:rounded-t-none not-last:not-first:rounded-none"
|
|
42
|
+
"horizontal": "not-only:first:rounded-e-none not-only:last:rounded-s-none not-last:not-first:rounded-none focus-visible:z-[1]",
|
|
43
|
+
"vertical": "not-only:first:rounded-b-none not-only:last:rounded-t-none not-last:not-first:rounded-none focus-visible:z-[1]"
|
|
68
44
|
},
|
|
69
45
|
"color": {
|
|
70
46
|
"primary": "",
|
|
@@ -399,6 +375,4 @@ const theme = {
|
|
|
399
375
|
"variant": "solid" as typeof variant[number],
|
|
400
376
|
"size": "md" as typeof size[number]
|
|
401
377
|
}
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
export default result as typeof theme
|
|
378
|
+
}
|
package/.nuxt/ui/calendar.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import template from "/home/runner/work/ui/ui/src/theme/calendar"
|
|
2
|
-
|
|
3
1
|
const color = [
|
|
4
2
|
"primary",
|
|
5
3
|
"secondary",
|
|
@@ -18,31 +16,14 @@ const size = [
|
|
|
18
16
|
"xl"
|
|
19
17
|
] as const
|
|
20
18
|
|
|
21
|
-
|
|
22
|
-
"prefix": "U",
|
|
23
|
-
"fonts": true,
|
|
24
|
-
"colorMode": true,
|
|
25
|
-
"theme": {
|
|
26
|
-
"colors": [
|
|
27
|
-
"primary",
|
|
28
|
-
"secondary",
|
|
29
|
-
"success",
|
|
30
|
-
"info",
|
|
31
|
-
"warning",
|
|
32
|
-
"error"
|
|
33
|
-
],
|
|
34
|
-
"transitions": true
|
|
35
|
-
}
|
|
36
|
-
}) : template
|
|
37
|
-
|
|
38
|
-
const theme = {
|
|
19
|
+
export default {
|
|
39
20
|
"slots": {
|
|
40
21
|
"root": "",
|
|
41
22
|
"header": "flex items-center justify-between",
|
|
42
23
|
"body": "flex flex-col space-y-4 pt-4 sm:flex-row sm:space-x-4 sm:space-y-0",
|
|
43
24
|
"heading": "text-center font-medium truncate mx-auto",
|
|
44
25
|
"grid": "w-full border-collapse select-none space-y-1 focus:outline-none",
|
|
45
|
-
"gridRow": "grid grid-cols-7",
|
|
26
|
+
"gridRow": "grid grid-cols-7 place-items-center",
|
|
46
27
|
"gridWeekDaysRow": "mb-1 grid w-full grid-cols-7",
|
|
47
28
|
"gridBody": "grid",
|
|
48
29
|
"headCell": "rounded-md",
|
|
@@ -80,7 +61,7 @@ const theme = {
|
|
|
80
61
|
},
|
|
81
62
|
"neutral": {
|
|
82
63
|
"headCell": "text-highlighted",
|
|
83
|
-
"cellTrigger": "focus-visible:ring-inverted data-[selected]:bg-inverted data-today:not-data-[selected]:text-
|
|
64
|
+
"cellTrigger": "focus-visible:ring-inverted data-[selected]:bg-inverted data-today:not-data-[selected]:text-highlighted data-[highlighted]:bg-inverted/20 hover:not-data-[selected]:bg-inverted/10"
|
|
84
65
|
}
|
|
85
66
|
},
|
|
86
67
|
"size": {
|
|
@@ -119,6 +100,4 @@ const theme = {
|
|
|
119
100
|
"size": "md" as typeof size[number],
|
|
120
101
|
"color": "primary" as typeof color[number]
|
|
121
102
|
}
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
export default result as typeof theme
|
|
103
|
+
}
|
package/.nuxt/ui/card.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import template from "/home/runner/work/ui/ui/src/theme/card"
|
|
2
|
-
|
|
3
1
|
const variant = [
|
|
4
2
|
"solid",
|
|
5
3
|
"outline",
|
|
@@ -7,24 +5,7 @@ const variant = [
|
|
|
7
5
|
"subtle"
|
|
8
6
|
] as const
|
|
9
7
|
|
|
10
|
-
|
|
11
|
-
"prefix": "U",
|
|
12
|
-
"fonts": true,
|
|
13
|
-
"colorMode": true,
|
|
14
|
-
"theme": {
|
|
15
|
-
"colors": [
|
|
16
|
-
"primary",
|
|
17
|
-
"secondary",
|
|
18
|
-
"success",
|
|
19
|
-
"info",
|
|
20
|
-
"warning",
|
|
21
|
-
"error"
|
|
22
|
-
],
|
|
23
|
-
"transitions": true
|
|
24
|
-
}
|
|
25
|
-
}) : template
|
|
26
|
-
|
|
27
|
-
const theme = {
|
|
8
|
+
export default {
|
|
28
9
|
"slots": {
|
|
29
10
|
"root": "rounded-lg",
|
|
30
11
|
"header": "p-4 sm:px-6",
|
|
@@ -50,6 +31,4 @@ const theme = {
|
|
|
50
31
|
"defaultVariants": {
|
|
51
32
|
"variant": "outline" as typeof variant[number]
|
|
52
33
|
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export default result as typeof theme
|
|
34
|
+
}
|
package/.nuxt/ui/carousel.ts
CHANGED
|
@@ -1,28 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const orientation = [
|
|
4
|
-
"vertical",
|
|
5
|
-
"horizontal"
|
|
6
|
-
] as const
|
|
7
|
-
|
|
8
|
-
const result = typeof template === 'function' ? (template as Function)({
|
|
9
|
-
"prefix": "U",
|
|
10
|
-
"fonts": true,
|
|
11
|
-
"colorMode": true,
|
|
12
|
-
"theme": {
|
|
13
|
-
"colors": [
|
|
14
|
-
"primary",
|
|
15
|
-
"secondary",
|
|
16
|
-
"success",
|
|
17
|
-
"info",
|
|
18
|
-
"warning",
|
|
19
|
-
"error"
|
|
20
|
-
],
|
|
21
|
-
"transitions": true
|
|
22
|
-
}
|
|
23
|
-
}) : template
|
|
24
|
-
|
|
25
|
-
const theme = {
|
|
1
|
+
export default {
|
|
26
2
|
"slots": {
|
|
27
3
|
"root": "relative focus:outline-none",
|
|
28
4
|
"viewport": "overflow-hidden",
|
|
@@ -59,6 +35,4 @@ const theme = {
|
|
|
59
35
|
}
|
|
60
36
|
}
|
|
61
37
|
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export default result as typeof theme
|
|
38
|
+
}
|