@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.
Files changed (187) hide show
  1. package/.nuxt/ui/accordion.ts +2 -23
  2. package/.nuxt/ui/alert.ts +2 -28
  3. package/.nuxt/ui/avatar-group.ts +2 -23
  4. package/.nuxt/ui/avatar.ts +2 -23
  5. package/.nuxt/ui/badge.ts +32 -30
  6. package/.nuxt/ui/breadcrumb.ts +2 -23
  7. package/.nuxt/ui/button-group.ts +2 -36
  8. package/.nuxt/ui/button.ts +4 -30
  9. package/.nuxt/ui/calendar.ts +4 -25
  10. package/.nuxt/ui/card.ts +2 -23
  11. package/.nuxt/ui/carousel.ts +2 -28
  12. package/.nuxt/ui/checkbox-group.ts +146 -24
  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 +4 -25
  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 +4 -34
  25. package/.nuxt/ui/input-number.ts +12 -23
  26. package/.nuxt/ui/input.ts +4 -34
  27. package/.nuxt/ui/kbd.ts +2 -23
  28. package/.nuxt/ui/link.ts +14 -28
  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 +4 -34
  37. package/.nuxt/ui/select.ts +4 -34
  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 +6 -26
  46. package/.nuxt/ui/textarea.ts +4 -34
  47. package/.nuxt/ui/toast.ts +2 -28
  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/cli/templates.mjs +2 -2
  54. package/dist/module.json +1 -1
  55. package/dist/module.mjs +15 -5
  56. package/dist/runtime/components/Accordion.vue +9 -9
  57. package/dist/runtime/components/Accordion.vue.d.ts +6 -20
  58. package/dist/runtime/components/Alert.vue +1 -1
  59. package/dist/runtime/components/Alert.vue.d.ts +7 -22
  60. package/dist/runtime/components/App.vue.d.ts +2 -2
  61. package/dist/runtime/components/Avatar.vue +2 -2
  62. package/dist/runtime/components/Avatar.vue.d.ts +4 -25
  63. package/dist/runtime/components/AvatarGroup.vue +1 -1
  64. package/dist/runtime/components/AvatarGroup.vue.d.ts +2 -11
  65. package/dist/runtime/components/Badge.vue +5 -3
  66. package/dist/runtime/components/Badge.vue.d.ts +5 -24
  67. package/dist/runtime/components/Breadcrumb.vue +8 -8
  68. package/dist/runtime/components/Breadcrumb.vue.d.ts +4 -20
  69. package/dist/runtime/components/Button.vue +2 -3
  70. package/dist/runtime/components/Button.vue.d.ts +4 -29
  71. package/dist/runtime/components/ButtonGroup.vue.d.ts +3 -24
  72. package/dist/runtime/components/Calendar.vue +2 -1
  73. package/dist/runtime/components/Calendar.vue.d.ts +6 -2
  74. package/dist/runtime/components/Card.vue +1 -1
  75. package/dist/runtime/components/Card.vue.d.ts +2 -11
  76. package/dist/runtime/components/Carousel.vue +5 -2
  77. package/dist/runtime/components/Carousel.vue.d.ts +10 -3
  78. package/dist/runtime/components/Checkbox.vue +2 -2
  79. package/dist/runtime/components/Checkbox.vue.d.ts +10 -13
  80. package/dist/runtime/components/CheckboxGroup.vue +8 -5
  81. package/dist/runtime/components/CheckboxGroup.vue.d.ts +12 -3
  82. package/dist/runtime/components/Chip.vue +1 -1
  83. package/dist/runtime/components/Chip.vue.d.ts +10 -24
  84. package/dist/runtime/components/Collapsible.vue +1 -1
  85. package/dist/runtime/components/Collapsible.vue.d.ts +7 -22
  86. package/dist/runtime/components/ColorPicker.vue +1 -1
  87. package/dist/runtime/components/ColorPicker.vue.d.ts +9 -24
  88. package/dist/runtime/components/CommandPalette.vue +17 -17
  89. package/dist/runtime/components/CommandPalette.vue.d.ts +17 -27
  90. package/dist/runtime/components/Container.vue.d.ts +2 -11
  91. package/dist/runtime/components/ContextMenu.vue.d.ts +6 -24
  92. package/dist/runtime/components/ContextMenuContent.vue +15 -15
  93. package/dist/runtime/components/ContextMenuContent.vue.d.ts +17 -57
  94. package/dist/runtime/components/Drawer.vue.d.ts +17 -27
  95. package/dist/runtime/components/DropdownMenu.vue.d.ts +6 -28
  96. package/dist/runtime/components/DropdownMenuContent.vue +15 -15
  97. package/dist/runtime/components/DropdownMenuContent.vue.d.ts +19 -6
  98. package/dist/runtime/components/Form.vue.d.ts +5 -2
  99. package/dist/runtime/components/FormField.vue +5 -5
  100. package/dist/runtime/components/FormField.vue.d.ts +2 -11
  101. package/dist/runtime/components/Icon.vue.d.ts +1 -10
  102. package/dist/runtime/components/Input.vue +2 -2
  103. package/dist/runtime/components/Input.vue.d.ts +20 -41
  104. package/dist/runtime/components/InputMenu.vue +17 -17
  105. package/dist/runtime/components/InputMenu.vue.d.ts +227 -5
  106. package/dist/runtime/components/InputNumber.vue +13 -7
  107. package/dist/runtime/components/InputNumber.vue.d.ts +90 -23
  108. package/dist/runtime/components/Kbd.vue.d.ts +3 -24
  109. package/dist/runtime/components/Link.vue +5 -14
  110. package/dist/runtime/components/Link.vue.d.ts +3 -34
  111. package/dist/runtime/components/LinkBase.vue.d.ts +4 -27
  112. package/dist/runtime/components/Modal.vue.d.ts +12 -28
  113. package/dist/runtime/components/NavigationMenu.vue +35 -28
  114. package/dist/runtime/components/NavigationMenu.vue.d.ts +24 -26
  115. package/dist/runtime/components/Pagination.vue +1 -1
  116. package/dist/runtime/components/Pagination.vue.d.ts +9 -33
  117. package/dist/runtime/components/PinInput.vue +1 -1
  118. package/dist/runtime/components/PinInput.vue.d.ts +13 -24
  119. package/dist/runtime/components/Popover.vue.d.ts +9 -26
  120. package/dist/runtime/components/Progress.vue +1 -1
  121. package/dist/runtime/components/Progress.vue.d.ts +10 -41
  122. package/dist/runtime/components/RadioGroup.vue +8 -8
  123. package/dist/runtime/components/RadioGroup.vue.d.ts +8 -3
  124. package/dist/runtime/components/Select.vue +12 -12
  125. package/dist/runtime/components/Select.vue.d.ts +11 -3
  126. package/dist/runtime/components/SelectMenu.vue +13 -13
  127. package/dist/runtime/components/SelectMenu.vue.d.ts +19 -5
  128. package/dist/runtime/components/Separator.vue +1 -1
  129. package/dist/runtime/components/Separator.vue.d.ts +3 -24
  130. package/dist/runtime/components/Skeleton.vue.d.ts +3 -12
  131. package/dist/runtime/components/Slideover.vue.d.ts +12 -29
  132. package/dist/runtime/components/Slider.vue +16 -4
  133. package/dist/runtime/components/Slider.vue.d.ts +23 -36
  134. package/dist/runtime/components/Stepper.vue +10 -10
  135. package/dist/runtime/components/Stepper.vue.d.ts +10 -14
  136. package/dist/runtime/components/Switch.vue +1 -1
  137. package/dist/runtime/components/Switch.vue.d.ts +10 -13
  138. package/dist/runtime/components/Table.vue +2 -2
  139. package/dist/runtime/components/Table.vue.d.ts +17 -17
  140. package/dist/runtime/components/Tabs.vue +6 -6
  141. package/dist/runtime/components/Tabs.vue.d.ts +6 -20
  142. package/dist/runtime/components/Textarea.vue +3 -3
  143. package/dist/runtime/components/Textarea.vue.d.ts +20 -44
  144. package/dist/runtime/components/Toast.vue +3 -2
  145. package/dist/runtime/components/Toast.vue.d.ts +92 -24
  146. package/dist/runtime/components/Toaster.vue +4 -4
  147. package/dist/runtime/components/Toaster.vue.d.ts +9 -28
  148. package/dist/runtime/components/Tooltip.vue.d.ts +7 -22
  149. package/dist/runtime/components/Tree.vue +10 -10
  150. package/dist/runtime/components/Tree.vue.d.ts +7 -22
  151. package/dist/runtime/composables/defineShortcuts.js +6 -0
  152. package/dist/runtime/composables/useAvatarGroup.d.ts +1 -1
  153. package/dist/runtime/composables/useButtonGroup.d.ts +1 -1
  154. package/dist/runtime/composables/useFormField.d.ts +2 -2
  155. package/dist/runtime/composables/useFormField.js +2 -1
  156. package/dist/runtime/composables/useKbd.d.ts +1 -0
  157. package/dist/runtime/composables/useKbd.js +4 -3
  158. package/dist/runtime/composables/useOverlay.d.ts +9 -10
  159. package/dist/runtime/composables/useOverlay.js +11 -6
  160. package/dist/runtime/inertia/components/Link.vue +46 -60
  161. package/dist/runtime/inertia/components/Link.vue.d.ts +4 -33
  162. package/dist/runtime/inertia/components/LinkBase.vue +68 -0
  163. package/dist/runtime/inertia/components/LinkBase.vue.d.ts +25 -0
  164. package/dist/runtime/inertia/stubs.d.ts +1 -1
  165. package/dist/runtime/inertia/stubs.js +1 -1
  166. package/dist/runtime/locale/index.d.ts +1 -0
  167. package/dist/runtime/locale/index.js +1 -0
  168. package/dist/runtime/locale/sl.d.ts +3 -0
  169. package/dist/runtime/locale/sl.js +54 -0
  170. package/dist/runtime/types/tv.d.ts +53 -0
  171. package/dist/runtime/types/tv.js +0 -0
  172. package/dist/runtime/types/utils.d.ts +2 -52
  173. package/dist/runtime/types/utils.js +1 -0
  174. package/dist/runtime/utils/link.d.ts +1 -0
  175. package/dist/runtime/utils/link.js +12 -0
  176. package/dist/runtime/vue/components/Icon.vue.d.ts +1 -10
  177. package/dist/runtime/vue/components/Link.vue +27 -40
  178. package/dist/runtime/vue/components/Link.vue.d.ts +3 -34
  179. package/dist/runtime/vue/composables/useAppConfig.js +3 -1
  180. package/dist/runtime/vue/stubs.d.ts +1 -1
  181. package/dist/runtime/vue/stubs.js +1 -1
  182. package/dist/shared/{ui.D7lOOabO.mjs → ui.BvUP-pSb.mjs} +120 -27
  183. package/dist/unplugin.d.mts +2 -2
  184. package/dist/unplugin.mjs +1 -1
  185. package/dist/vite.d.mts +1 -1
  186. package/dist/vite.mjs +2 -2
  187. package/package.json +28 -27
@@ -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": [
@@ -59,6 +40,16 @@ const theme = {
59
40
  "decrement": "absolute flex items-center"
60
41
  },
61
42
  "variants": {
43
+ "buttonGroup": {
44
+ "horizontal": {
45
+ "root": "group has-focus-visible:z-[1]",
46
+ "base": "group-not-only:group-first:rounded-e-none group-not-only:group-last:rounded-s-none group-not-last:group-not-first:rounded-none"
47
+ },
48
+ "vertical": {
49
+ "root": "group has-focus-visible:z-[1]",
50
+ "base": "group-not-only:group-first:rounded-b-none group-not-only:group-last:rounded-t-none group-not-last:group-not-first:rounded-none"
51
+ }
52
+ },
62
53
  "color": {
63
54
  "primary": "",
64
55
  "secondary": "",
@@ -251,6 +242,4 @@ const theme = {
251
242
  "color": "primary" as typeof color[number],
252
243
  "variant": "outline" as typeof variant[number]
253
244
  }
254
- }
255
-
256
- export default result as typeof theme
245
+ }
package/.nuxt/ui/input.ts CHANGED
@@ -1,10 +1,3 @@
1
- import template from "/home/runner/work/ui/ui/src/theme/input"
2
-
3
- const buttonGroup = [
4
- "horizontal",
5
- "vertical"
6
- ] as const
7
-
8
1
  const size = [
9
2
  "xs",
10
3
  "sm",
@@ -31,28 +24,7 @@ const color = [
31
24
  "neutral"
32
25
  ] as const
33
26
 
34
- const type = [
35
- "file"
36
- ] as const
37
-
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 = {
27
+ export default {
56
28
  "slots": {
57
29
  "root": "relative inline-flex items-center",
58
30
  "base": [
@@ -69,11 +41,11 @@ const theme = {
69
41
  "variants": {
70
42
  "buttonGroup": {
71
43
  "horizontal": {
72
- "root": "group",
44
+ "root": "group has-focus-visible:z-[1]",
73
45
  "base": "group-not-only:group-first:rounded-e-none group-not-only:group-last:rounded-s-none group-not-last:group-not-first:rounded-none"
74
46
  },
75
47
  "vertical": {
76
- "root": "group",
48
+ "root": "group has-focus-visible:z-[1]",
77
49
  "base": "group-not-only:group-first:rounded-b-none group-not-only:group-last:rounded-t-none group-not-last:group-not-first:rounded-none"
78
50
  }
79
51
  },
@@ -314,6 +286,4 @@ const theme = {
314
286
  "color": "primary" as typeof color[number],
315
287
  "variant": "outline" as typeof variant[number]
316
288
  }
317
- }
318
-
319
- export default result as typeof theme
289
+ }
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,36 +1,22 @@
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": {
24
5
  "true": "text-primary",
25
- "false": [
26
- "text-muted hover:text-default",
27
- "transition-colors"
28
- ]
6
+ "false": "text-muted"
29
7
  },
30
8
  "disabled": {
31
9
  "true": "cursor-not-allowed opacity-75"
32
10
  }
33
- }
34
- }
35
-
36
- export default result as typeof theme
11
+ },
12
+ "compoundVariants": [
13
+ {
14
+ "active": false,
15
+ "disabled": false,
16
+ "class": [
17
+ "hover:text-default",
18
+ "transition-colors"
19
+ ]
20
+ }
21
+ ]
22
+ }
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,10 +1,3 @@
1
- import template from "/home/runner/work/ui/ui/src/theme/select-menu"
2
-
3
- const buttonGroup = [
4
- "horizontal",
5
- "vertical"
6
- ] as const
7
-
8
1
  const size = [
9
2
  "xs",
10
3
  "sm",
@@ -31,28 +24,7 @@ const color = [
31
24
  "neutral"
32
25
  ] as const
33
26
 
34
- const type = [
35
- "file"
36
- ] as const
37
-
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 = {
27
+ export default {
56
28
  "slots": {
57
29
  "base": [
58
30
  "relative group rounded-md inline-flex items-center focus:outline-none disabled:cursor-not-allowed disabled:opacity-75",
@@ -96,8 +68,8 @@ const theme = {
96
68
  },
97
69
  "variants": {
98
70
  "buttonGroup": {
99
- "horizontal": "not-only:first:rounded-e-none not-only:last:rounded-s-none not-last:not-first:rounded-none",
100
- "vertical": "not-only:first:rounded-b-none not-only:last:rounded-t-none not-last:not-first:rounded-none"
71
+ "horizontal": "not-only:first:rounded-e-none not-only:last:rounded-s-none not-last:not-first:rounded-none focus-visible:z-[1]",
72
+ "vertical": "not-only:first:rounded-b-none not-only:last:rounded-t-none not-last:not-first:rounded-none focus-visible:z-[1]"
101
73
  },
102
74
  "size": {
103
75
  "xs": {
@@ -371,6 +343,4 @@ const theme = {
371
343
  "color": "primary" as typeof color[number],
372
344
  "variant": "outline" as typeof variant[number]
373
345
  }
374
- }
375
-
376
- export default result as typeof theme
346
+ }
@@ -1,10 +1,3 @@
1
- import template from "/home/runner/work/ui/ui/src/theme/select"
2
-
3
- const buttonGroup = [
4
- "horizontal",
5
- "vertical"
6
- ] as const
7
-
8
1
  const size = [
9
2
  "xs",
10
3
  "sm",
@@ -31,28 +24,7 @@ const color = [
31
24
  "neutral"
32
25
  ] as const
33
26
 
34
- const type = [
35
- "file"
36
- ] as const
37
-
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 = {
27
+ export default {
56
28
  "slots": {
57
29
  "base": [
58
30
  "relative group rounded-md inline-flex items-center focus:outline-none disabled:cursor-not-allowed disabled:opacity-75",
@@ -91,8 +63,8 @@ const theme = {
91
63
  },
92
64
  "variants": {
93
65
  "buttonGroup": {
94
- "horizontal": "not-only:first:rounded-e-none not-only:last:rounded-s-none not-last:not-first:rounded-none",
95
- "vertical": "not-only:first:rounded-b-none not-only:last:rounded-t-none not-last:not-first:rounded-none"
66
+ "horizontal": "not-only:first:rounded-e-none not-only:last:rounded-s-none not-last:not-first:rounded-none focus-visible:z-[1]",
67
+ "vertical": "not-only:first:rounded-b-none not-only:last:rounded-t-none not-last:not-first:rounded-none focus-visible:z-[1]"
96
68
  },
97
69
  "size": {
98
70
  "xs": {
@@ -366,6 +338,4 @@ const theme = {
366
338
  "color": "primary" as typeof color[number],
367
339
  "variant": "outline" as typeof variant[number]
368
340
  }
369
- }
370
-
371
- export default result as typeof theme
341
+ }
@@ -1,5 +1,3 @@
1
- import template from "/home/runner/work/ui/ui/src/theme/separator"
2
-
3
1
  const color = [
4
2
  "primary",
5
3
  "secondary",
@@ -29,24 +27,7 @@ const type = [
29
27
  "dotted"
30
28
  ] as const
31
29
 
32
- const result = typeof template === 'function' ? (template as Function)({
33
- "prefix": "U",
34
- "fonts": true,
35
- "colorMode": true,
36
- "theme": {
37
- "colors": [
38
- "primary",
39
- "secondary",
40
- "success",
41
- "info",
42
- "warning",
43
- "error"
44
- ],
45
- "transitions": true
46
- }
47
- }) : template
48
-
49
- const theme = {
30
+ export default {
50
31
  "slots": {
51
32
  "root": "flex items-center align-center text-center",
52
33
  "border": "",
@@ -188,6 +169,4 @@ const theme = {
188
169
  "size": "xs" as typeof size[number],
189
170
  "type": "solid" as typeof type[number]
190
171
  }
191
- }
192
-
193
- export default result as typeof theme
172
+ }
@@ -1,24 +1,3 @@
1
- import template from "/home/runner/work/ui/ui/src/theme/skeleton"
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": "animate-pulse rounded-md bg-elevated"
22
- }
23
-
24
- export default result as typeof theme
3
+ }