@nuxt/ui 3.1.0 → 3.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.
Files changed (130) hide show
  1. package/.nuxt/ui/accordion.ts +2 -23
  2. package/.nuxt/ui/alert.ts +2 -23
  3. package/.nuxt/ui/avatar-group.ts +2 -23
  4. package/.nuxt/ui/avatar.ts +2 -23
  5. package/.nuxt/ui/badge.ts +2 -23
  6. package/.nuxt/ui/breadcrumb.ts +2 -23
  7. package/.nuxt/ui/button-group.ts +2 -23
  8. package/.nuxt/ui/button.ts +2 -23
  9. package/.nuxt/ui/calendar.ts +3 -24
  10. package/.nuxt/ui/card.ts +2 -23
  11. package/.nuxt/ui/carousel.ts +2 -23
  12. package/.nuxt/ui/checkbox-group.ts +2 -23
  13. package/.nuxt/ui/checkbox.ts +2 -23
  14. package/.nuxt/ui/chip.ts +2 -23
  15. package/.nuxt/ui/collapsible.ts +2 -23
  16. package/.nuxt/ui/color-picker.ts +2 -23
  17. package/.nuxt/ui/command-palette.ts +2 -23
  18. package/.nuxt/ui/container.ts +2 -23
  19. package/.nuxt/ui/context-menu.ts +2 -23
  20. package/.nuxt/ui/drawer.ts +2 -23
  21. package/.nuxt/ui/dropdown-menu.ts +2 -23
  22. package/.nuxt/ui/form-field.ts +2 -23
  23. package/.nuxt/ui/form.ts +2 -23
  24. package/.nuxt/ui/input-menu.ts +2 -23
  25. package/.nuxt/ui/input-number.ts +2 -23
  26. package/.nuxt/ui/input.ts +2 -23
  27. package/.nuxt/ui/kbd.ts +2 -23
  28. package/.nuxt/ui/link.ts +2 -23
  29. package/.nuxt/ui/modal.ts +2 -23
  30. package/.nuxt/ui/navigation-menu.ts +3 -24
  31. package/.nuxt/ui/pagination.ts +2 -23
  32. package/.nuxt/ui/pin-input.ts +2 -23
  33. package/.nuxt/ui/popover.ts +2 -23
  34. package/.nuxt/ui/progress.ts +2 -23
  35. package/.nuxt/ui/radio-group.ts +2 -23
  36. package/.nuxt/ui/select-menu.ts +2 -23
  37. package/.nuxt/ui/select.ts +2 -23
  38. package/.nuxt/ui/separator.ts +2 -23
  39. package/.nuxt/ui/skeleton.ts +2 -23
  40. package/.nuxt/ui/slideover.ts +2 -23
  41. package/.nuxt/ui/slider.ts +2 -23
  42. package/.nuxt/ui/stepper.ts +2 -23
  43. package/.nuxt/ui/switch.ts +2 -23
  44. package/.nuxt/ui/table.ts +2 -23
  45. package/.nuxt/ui/tabs.ts +2 -23
  46. package/.nuxt/ui/textarea.ts +2 -23
  47. package/.nuxt/ui/toast.ts +2 -23
  48. package/.nuxt/ui/toaster.ts +2 -23
  49. package/.nuxt/ui/tooltip.ts +2 -23
  50. package/.nuxt/ui/tree.ts +2 -23
  51. package/.nuxt/ui.css +15 -8
  52. package/README.md +4 -0
  53. package/dist/module.json +1 -1
  54. package/dist/module.mjs +3 -2
  55. package/dist/runtime/components/Accordion.vue.d.ts +4 -20
  56. package/dist/runtime/components/Alert.vue.d.ts +7 -22
  57. package/dist/runtime/components/App.vue.d.ts +2 -2
  58. package/dist/runtime/components/Avatar.vue.d.ts +4 -25
  59. package/dist/runtime/components/AvatarGroup.vue.d.ts +2 -11
  60. package/dist/runtime/components/Badge.vue.d.ts +3 -24
  61. package/dist/runtime/components/Breadcrumb.vue.d.ts +2 -20
  62. package/dist/runtime/components/Button.vue.d.ts +3 -28
  63. package/dist/runtime/components/ButtonGroup.vue.d.ts +3 -24
  64. package/dist/runtime/components/Calendar.vue.d.ts +6 -2
  65. package/dist/runtime/components/Card.vue.d.ts +2 -11
  66. package/dist/runtime/components/Carousel.vue.d.ts +4 -2
  67. package/dist/runtime/components/Checkbox.vue.d.ts +10 -13
  68. package/dist/runtime/components/CheckboxGroup.vue.d.ts +5 -2
  69. package/dist/runtime/components/Chip.vue.d.ts +10 -24
  70. package/dist/runtime/components/Collapsible.vue.d.ts +7 -22
  71. package/dist/runtime/components/ColorPicker.vue.d.ts +9 -24
  72. package/dist/runtime/components/CommandPalette.vue.d.ts +15 -27
  73. package/dist/runtime/components/Container.vue.d.ts +2 -11
  74. package/dist/runtime/components/ContextMenu.vue.d.ts +4 -24
  75. package/dist/runtime/components/ContextMenuContent.vue.d.ts +17 -57
  76. package/dist/runtime/components/Drawer.vue.d.ts +17 -27
  77. package/dist/runtime/components/DropdownMenu.vue.d.ts +4 -28
  78. package/dist/runtime/components/DropdownMenuContent.vue.d.ts +19 -6
  79. package/dist/runtime/components/Form.vue.d.ts +5 -2
  80. package/dist/runtime/components/FormField.vue.d.ts +2 -11
  81. package/dist/runtime/components/Icon.vue.d.ts +1 -10
  82. package/dist/runtime/components/Input.vue.d.ts +16 -31
  83. package/dist/runtime/components/InputMenu.vue.d.ts +17 -5
  84. package/dist/runtime/components/InputNumber.vue.d.ts +12 -23
  85. package/dist/runtime/components/Kbd.vue.d.ts +3 -24
  86. package/dist/runtime/components/Link.vue.d.ts +3 -34
  87. package/dist/runtime/components/LinkBase.vue.d.ts +4 -27
  88. package/dist/runtime/components/Modal.vue.d.ts +12 -28
  89. package/dist/runtime/components/NavigationMenu.vue.d.ts +4 -24
  90. package/dist/runtime/components/Pagination.vue.d.ts +9 -33
  91. package/dist/runtime/components/PinInput.vue.d.ts +13 -24
  92. package/dist/runtime/components/Popover.vue.d.ts +9 -26
  93. package/dist/runtime/components/Progress.vue.d.ts +10 -41
  94. package/dist/runtime/components/RadioGroup.vue.d.ts +6 -3
  95. package/dist/runtime/components/Select.vue.d.ts +8 -2
  96. package/dist/runtime/components/SelectMenu.vue.d.ts +17 -5
  97. package/dist/runtime/components/Separator.vue.d.ts +3 -24
  98. package/dist/runtime/components/Skeleton.vue.d.ts +3 -12
  99. package/dist/runtime/components/Slideover.vue.d.ts +12 -29
  100. package/dist/runtime/components/Slider.vue.d.ts +12 -31
  101. package/dist/runtime/components/Stepper.vue.d.ts +8 -14
  102. package/dist/runtime/components/Switch.vue.d.ts +10 -13
  103. package/dist/runtime/components/Table.vue.d.ts +17 -17
  104. package/dist/runtime/components/Tabs.vue.d.ts +4 -20
  105. package/dist/runtime/components/Textarea.vue.d.ts +16 -33
  106. package/dist/runtime/components/Toast.vue.d.ts +86 -24
  107. package/dist/runtime/components/Toaster.vue.d.ts +3 -28
  108. package/dist/runtime/components/Tooltip.vue.d.ts +7 -22
  109. package/dist/runtime/components/Tree.vue.d.ts +5 -22
  110. package/dist/runtime/composables/defineShortcuts.js +6 -0
  111. package/dist/runtime/composables/useAvatarGroup.d.ts +1 -1
  112. package/dist/runtime/composables/useButtonGroup.d.ts +1 -1
  113. package/dist/runtime/composables/useFormField.d.ts +1 -1
  114. package/dist/runtime/composables/useKbd.d.ts +1 -0
  115. package/dist/runtime/composables/useKbd.js +4 -3
  116. package/dist/runtime/composables/useOverlay.d.ts +9 -10
  117. package/dist/runtime/composables/useOverlay.js +11 -6
  118. package/dist/runtime/inertia/components/Link.vue.d.ts +3 -32
  119. package/dist/runtime/types/tv.d.ts +53 -0
  120. package/dist/runtime/types/tv.js +0 -0
  121. package/dist/runtime/types/utils.d.ts +2 -52
  122. package/dist/runtime/types/utils.js +1 -0
  123. package/dist/runtime/vue/components/Icon.vue.d.ts +1 -10
  124. package/dist/runtime/vue/components/Link.vue.d.ts +3 -34
  125. package/dist/shared/{ui.D7lOOabO.mjs → ui.CbtTMMzt.mjs} +17 -11
  126. package/dist/unplugin.d.mts +2 -2
  127. package/dist/unplugin.mjs +1 -1
  128. package/dist/vite.d.mts +1 -1
  129. package/dist/vite.mjs +2 -2
  130. package/package.json +14 -13
@@ -1,5 +1,3 @@
1
- import template from "/home/runner/work/ui/ui/src/theme/context-menu"
2
-
3
1
  const color = [
4
2
  "primary",
5
3
  "secondary",
@@ -18,24 +16,7 @@ const size = [
18
16
  "xl"
19
17
  ] as const
20
18
 
21
- const result = typeof template === 'function' ? (template as Function)({
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
  "content": "min-w-32 bg-default shadow-lg rounded-md ring ring-default divide-y divide-default overflow-y-auto scroll-py-1 data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-context-menu-content-transform-origin)",
41
22
  "group": "p-1 isolate",
@@ -232,6 +213,4 @@ const theme = {
232
213
  "defaultVariants": {
233
214
  "size": "md" as typeof size[number]
234
215
  }
235
- }
236
-
237
- export default result as typeof theme
216
+ }
@@ -1,5 +1,3 @@
1
- import template from "/home/runner/work/ui/ui/src/theme/drawer"
2
-
3
1
  const direction = [
4
2
  "top",
5
3
  "right",
@@ -7,24 +5,7 @@ const direction = [
7
5
  "left"
8
6
  ] as const
9
7
 
10
- const result = typeof template === 'function' ? (template as Function)({
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
  "overlay": "fixed inset-0 bg-elevated/75",
30
11
  "content": "fixed bg-default ring ring-default flex focus:outline-none",
@@ -142,6 +123,4 @@ const theme = {
142
123
  }
143
124
  }
144
125
  ]
145
- }
146
-
147
- export default result as typeof theme
126
+ }
@@ -1,5 +1,3 @@
1
- import template from "/home/runner/work/ui/ui/src/theme/dropdown-menu"
2
-
3
1
  const color = [
4
2
  "primary",
5
3
  "secondary",
@@ -18,24 +16,7 @@ const size = [
18
16
  "xl"
19
17
  ] as const
20
18
 
21
- const result = typeof template === 'function' ? (template as Function)({
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
  "content": "min-w-32 bg-default shadow-lg rounded-md ring ring-default divide-y divide-default overflow-y-auto scroll-py-1 data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-dropdown-menu-content-transform-origin)",
41
22
  "arrow": "fill-default",
@@ -233,6 +214,4 @@ const theme = {
233
214
  "defaultVariants": {
234
215
  "size": "md" as typeof size[number]
235
216
  }
236
- }
237
-
238
- export default result as typeof theme
217
+ }
@@ -1,5 +1,3 @@
1
- import template from "/home/runner/work/ui/ui/src/theme/form-field"
2
-
3
1
  const size = [
4
2
  "xs",
5
3
  "sm",
@@ -8,24 +6,7 @@ const size = [
8
6
  "xl"
9
7
  ] as const
10
8
 
11
- const result = typeof template === 'function' ? (template as Function)({
12
- "prefix": "U",
13
- "fonts": true,
14
- "colorMode": true,
15
- "theme": {
16
- "colors": [
17
- "primary",
18
- "secondary",
19
- "success",
20
- "info",
21
- "warning",
22
- "error"
23
- ],
24
- "transitions": true
25
- }
26
- }) : template
27
-
28
- const theme = {
9
+ export default {
29
10
  "slots": {
30
11
  "root": "",
31
12
  "wrapper": "",
@@ -64,6 +45,4 @@ const theme = {
64
45
  "defaultVariants": {
65
46
  "size": "md" as typeof size[number]
66
47
  }
67
- }
68
-
69
- export default result as typeof theme
48
+ }
package/.nuxt/ui/form.ts CHANGED
@@ -1,24 +1,3 @@
1
- import template from "/home/runner/work/ui/ui/src/theme/form"
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
  "base": ""
22
- }
23
-
24
- export default result as typeof theme
3
+ }
@@ -1,5 +1,3 @@
1
- import template from "/home/runner/work/ui/ui/src/theme/input-menu"
2
-
3
1
  const buttonGroup = [
4
2
  "horizontal",
5
3
  "vertical"
@@ -35,24 +33,7 @@ const type = [
35
33
  "file"
36
34
  ] as const
37
35
 
38
- const result = typeof template === 'function' ? (template as Function)({
39
- "prefix": "U",
40
- "fonts": true,
41
- "colorMode": true,
42
- "theme": {
43
- "colors": [
44
- "primary",
45
- "secondary",
46
- "success",
47
- "info",
48
- "warning",
49
- "error"
50
- ],
51
- "transitions": true
52
- }
53
- }) : template
54
-
55
- const theme = {
36
+ export default {
56
37
  "slots": {
57
38
  "root": "relative inline-flex items-center",
58
39
  "base": [
@@ -461,6 +442,4 @@ const theme = {
461
442
  "color": "primary" as typeof color[number],
462
443
  "variant": "outline" as typeof variant[number]
463
444
  }
464
- }
465
-
466
- export default result as typeof theme
445
+ }
@@ -1,5 +1,3 @@
1
- import template from "/home/runner/work/ui/ui/src/theme/input-number"
2
-
3
1
  const color = [
4
2
  "primary",
5
3
  "secondary",
@@ -31,24 +29,7 @@ const orientation = [
31
29
  "vertical"
32
30
  ] as const
33
31
 
34
- const result = typeof template === 'function' ? (template as Function)({
35
- "prefix": "U",
36
- "fonts": true,
37
- "colorMode": true,
38
- "theme": {
39
- "colors": [
40
- "primary",
41
- "secondary",
42
- "success",
43
- "info",
44
- "warning",
45
- "error"
46
- ],
47
- "transitions": true
48
- }
49
- }) : template
50
-
51
- const theme = {
32
+ export default {
52
33
  "slots": {
53
34
  "root": "relative inline-flex items-center",
54
35
  "base": [
@@ -251,6 +232,4 @@ const theme = {
251
232
  "color": "primary" as typeof color[number],
252
233
  "variant": "outline" as typeof variant[number]
253
234
  }
254
- }
255
-
256
- export default result as typeof theme
235
+ }
package/.nuxt/ui/input.ts CHANGED
@@ -1,5 +1,3 @@
1
- import template from "/home/runner/work/ui/ui/src/theme/input"
2
-
3
1
  const buttonGroup = [
4
2
  "horizontal",
5
3
  "vertical"
@@ -35,24 +33,7 @@ const type = [
35
33
  "file"
36
34
  ] as const
37
35
 
38
- const result = typeof template === 'function' ? (template as Function)({
39
- "prefix": "U",
40
- "fonts": true,
41
- "colorMode": true,
42
- "theme": {
43
- "colors": [
44
- "primary",
45
- "secondary",
46
- "success",
47
- "info",
48
- "warning",
49
- "error"
50
- ],
51
- "transitions": true
52
- }
53
- }) : template
54
-
55
- const theme = {
36
+ export default {
56
37
  "slots": {
57
38
  "root": "relative inline-flex items-center",
58
39
  "base": [
@@ -314,6 +295,4 @@ const theme = {
314
295
  "color": "primary" as typeof color[number],
315
296
  "variant": "outline" as typeof variant[number]
316
297
  }
317
- }
318
-
319
- export default result as typeof theme
298
+ }
package/.nuxt/ui/kbd.ts CHANGED
@@ -1,5 +1,3 @@
1
- import template from "/home/runner/work/ui/ui/src/theme/kbd"
2
-
3
1
  const variant = [
4
2
  "solid",
5
3
  "outline",
@@ -12,24 +10,7 @@ const size = [
12
10
  "lg"
13
11
  ] as const
14
12
 
15
- const result = typeof template === 'function' ? (template as Function)({
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
  "base": "inline-flex items-center justify-center px-1 rounded-sm font-medium font-sans",
34
15
  "variants": {
35
16
  "variant": {
@@ -47,6 +28,4 @@ const theme = {
47
28
  "variant": "outline" as typeof variant[number],
48
29
  "size": "md" as typeof size[number]
49
30
  }
50
- }
51
-
52
- export default result as typeof theme
31
+ }
package/.nuxt/ui/link.ts CHANGED
@@ -1,23 +1,4 @@
1
- import template from "/home/runner/work/ui/ui/src/theme/link"
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
  "base": "focus-visible:outline-primary",
22
3
  "variants": {
23
4
  "active": {
@@ -31,6 +12,4 @@ const theme = {
31
12
  "true": "cursor-not-allowed opacity-75"
32
13
  }
33
14
  }
34
- }
35
-
36
- export default result as typeof theme
15
+ }
package/.nuxt/ui/modal.ts CHANGED
@@ -1,23 +1,4 @@
1
- import template from "/home/runner/work/ui/ui/src/theme/modal"
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
  "overlay": "fixed inset-0 bg-elevated/75",
23
4
  "content": "fixed bg-default divide-y divide-default flex flex-col focus:outline-none",
@@ -45,6 +26,4 @@ const theme = {
45
26
  }
46
27
  }
47
28
  }
48
- }
49
-
50
- export default result as typeof theme
29
+ }
@@ -1,5 +1,3 @@
1
- import template from "/home/runner/work/ui/ui/src/theme/navigation-menu"
2
-
3
1
  const color = [
4
2
  "primary",
5
3
  "secondary",
@@ -35,24 +33,7 @@ const contentOrientation = [
35
33
  "vertical"
36
34
  ] as const
37
35
 
38
- const result = typeof template === 'function' ? (template as Function)({
39
- "prefix": "U",
40
- "fonts": true,
41
- "colorMode": true,
42
- "theme": {
43
- "colors": [
44
- "primary",
45
- "secondary",
46
- "success",
47
- "info",
48
- "warning",
49
- "error"
50
- ],
51
- "transitions": true
52
- }
53
- }) : template
54
-
55
- const theme = {
36
+ export default {
56
37
  "slots": {
57
38
  "root": "relative flex gap-1.5 [&>div]:min-w-0",
58
39
  "list": "isolate min-w-0",
@@ -79,7 +60,7 @@ const theme = {
79
60
  "separator": "px-2 h-px bg-border",
80
61
  "viewportWrapper": "absolute top-full left-0 flex w-full",
81
62
  "viewport": "relative overflow-hidden bg-default shadow-lg rounded-md ring ring-default h-(--reka-navigation-menu-viewport-height) w-full transition-[width,height,left] duration-200 origin-[top_center] data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] z-[1]",
82
- "content": "absolute top-0 left-0 w-full sm:w-auto",
63
+ "content": "absolute top-0 left-0 w-full",
83
64
  "indicator": "absolute data-[state=visible]:animate-[fade-in_100ms_ease-out] data-[state=hidden]:animate-[fade-out_100ms_ease-in] data-[state=hidden]:opacity-0 bottom-0 z-[2] w-(--reka-navigation-menu-indicator-size) translate-x-(--reka-navigation-menu-indicator-position) flex h-2.5 items-end justify-center overflow-hidden transition-[translate,width] duration-200",
84
65
  "arrow": "relative top-[50%] size-2.5 rotate-45 border border-default bg-default z-[1] rounded-xs"
85
66
  },
@@ -517,6 +498,4 @@ const theme = {
517
498
  "highlightColor": "primary" as typeof highlightColor[number],
518
499
  "variant": "pill" as typeof variant[number]
519
500
  }
520
- }
521
-
522
- export default result as typeof theme
501
+ }
@@ -1,23 +1,4 @@
1
- import template from "/home/runner/work/ui/ui/src/theme/pagination"
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": "",
23
4
  "list": "flex items-center gap-1",
@@ -29,6 +10,4 @@ const theme = {
29
10
  "next": "",
30
11
  "last": ""
31
12
  }
32
- }
33
-
34
- export default result as typeof theme
13
+ }
@@ -1,5 +1,3 @@
1
- import template from "/home/runner/work/ui/ui/src/theme/pin-input"
2
-
3
1
  const size = [
4
2
  "xs",
5
3
  "sm",
@@ -26,24 +24,7 @@ const color = [
26
24
  "neutral"
27
25
  ] as const
28
26
 
29
- const result = typeof template === 'function' ? (template as Function)({
30
- "prefix": "U",
31
- "fonts": true,
32
- "colorMode": true,
33
- "theme": {
34
- "colors": [
35
- "primary",
36
- "secondary",
37
- "success",
38
- "info",
39
- "warning",
40
- "error"
41
- ],
42
- "transitions": true
43
- }
44
- }) : template
45
-
46
- const theme = {
27
+ export default {
47
28
  "slots": {
48
29
  "root": "relative inline-flex items-center gap-1.5",
49
30
  "base": [
@@ -187,6 +168,4 @@ const theme = {
187
168
  "color": "primary" as typeof color[number],
188
169
  "variant": "outline" as typeof variant[number]
189
170
  }
190
- }
191
-
192
- export default result as typeof theme
171
+ }
@@ -1,27 +1,6 @@
1
- import template from "/home/runner/work/ui/ui/src/theme/popover"
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
  "content": "bg-default shadow-lg rounded-md ring ring-default data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-popover-content-transform-origin) focus:outline-none pointer-events-auto",
23
4
  "arrow": "fill-default"
24
5
  }
25
- }
26
-
27
- export default result as typeof theme
6
+ }
@@ -1,5 +1,3 @@
1
- import template from "/home/runner/work/ui/ui/src/theme/progress"
2
-
3
1
  const animation = [
4
2
  "carousel",
5
3
  "carousel-inverse",
@@ -39,24 +37,7 @@ const orientation = [
39
37
  "vertical"
40
38
  ] as const
41
39
 
42
- const result = typeof template === 'function' ? (template as Function)({
43
- "prefix": "U",
44
- "fonts": true,
45
- "colorMode": true,
46
- "theme": {
47
- "colors": [
48
- "primary",
49
- "secondary",
50
- "success",
51
- "info",
52
- "warning",
53
- "error"
54
- ],
55
- "transitions": true
56
- }
57
- }) : template
58
-
59
- const theme = {
40
+ export default {
60
41
  "slots": {
61
42
  "root": "gap-2",
62
43
  "base": "relative overflow-hidden rounded-full bg-accented",
@@ -313,6 +294,4 @@ const theme = {
313
294
  "color": "primary" as typeof color[number],
314
295
  "size": "md" as typeof size[number]
315
296
  }
316
- }
317
-
318
- export default result as typeof theme
297
+ }
@@ -1,5 +1,3 @@
1
- import template from "/home/runner/work/ui/ui/src/theme/radio-group"
2
-
3
1
  const color = [
4
2
  "primary",
5
3
  "secondary",
@@ -35,24 +33,7 @@ const size = [
35
33
  "xl"
36
34
  ] as const
37
35
 
38
- const result = typeof template === 'function' ? (template as Function)({
39
- "prefix": "U",
40
- "fonts": true,
41
- "colorMode": true,
42
- "theme": {
43
- "colors": [
44
- "primary",
45
- "secondary",
46
- "success",
47
- "info",
48
- "warning",
49
- "error"
50
- ],
51
- "transitions": true
52
- }
53
- }) : template
54
-
55
- const theme = {
36
+ export default {
56
37
  "slots": {
57
38
  "root": "relative",
58
39
  "fieldset": "flex gap-x-2",
@@ -366,6 +347,4 @@ const theme = {
366
347
  "orientation": "vertical" as typeof orientation[number],
367
348
  "indicator": "start" as typeof indicator[number]
368
349
  }
369
- }
370
-
371
- export default result as typeof theme
350
+ }
@@ -1,5 +1,3 @@
1
- import template from "/home/runner/work/ui/ui/src/theme/select-menu"
2
-
3
1
  const buttonGroup = [
4
2
  "horizontal",
5
3
  "vertical"
@@ -35,24 +33,7 @@ const type = [
35
33
  "file"
36
34
  ] as const
37
35
 
38
- const result = typeof template === 'function' ? (template as Function)({
39
- "prefix": "U",
40
- "fonts": true,
41
- "colorMode": true,
42
- "theme": {
43
- "colors": [
44
- "primary",
45
- "secondary",
46
- "success",
47
- "info",
48
- "warning",
49
- "error"
50
- ],
51
- "transitions": true
52
- }
53
- }) : template
54
-
55
- const theme = {
36
+ export default {
56
37
  "slots": {
57
38
  "base": [
58
39
  "relative group rounded-md inline-flex items-center focus:outline-none disabled:cursor-not-allowed disabled:opacity-75",
@@ -371,6 +352,4 @@ const theme = {
371
352
  "color": "primary" as typeof color[number],
372
353
  "variant": "outline" as typeof variant[number]
373
354
  }
374
- }
375
-
376
- export default result as typeof theme
355
+ }