@bitrix24/b24ui-nuxt 0.6.8 → 0.7.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 (201) hide show
  1. package/.nuxt/b24ui/accordion.ts +20 -0
  2. package/.nuxt/b24ui/advice.ts +2 -10
  3. package/.nuxt/b24ui/alert.ts +2 -15
  4. package/.nuxt/b24ui/avatar-group.ts +2 -10
  5. package/.nuxt/b24ui/avatar.ts +3 -11
  6. package/.nuxt/b24ui/badge.ts +48 -13
  7. package/.nuxt/b24ui/button-group.ts +2 -22
  8. package/.nuxt/b24ui/button.ts +4 -17
  9. package/.nuxt/b24ui/calendar.ts +3 -11
  10. package/.nuxt/b24ui/checkbox.ts +75 -11
  11. package/.nuxt/b24ui/chip.ts +2 -10
  12. package/.nuxt/b24ui/collapsible.ts +2 -10
  13. package/.nuxt/b24ui/container.ts +2 -10
  14. package/.nuxt/b24ui/countdown.ts +2 -10
  15. package/.nuxt/b24ui/description-list.ts +2 -15
  16. package/.nuxt/b24ui/dropdown-menu.ts +4 -11
  17. package/.nuxt/b24ui/form-field.ts +3 -10
  18. package/.nuxt/b24ui/form.ts +2 -10
  19. package/.nuxt/b24ui/index.ts +1 -0
  20. package/.nuxt/b24ui/input-menu.ts +6 -30
  21. package/.nuxt/b24ui/input-number.ts +15 -10
  22. package/.nuxt/b24ui/input.ts +4 -17
  23. package/.nuxt/b24ui/kbd.ts +2 -10
  24. package/.nuxt/b24ui/link.ts +11 -17
  25. package/.nuxt/b24ui/modal.ts +3 -11
  26. package/.nuxt/b24ui/navbar-divider.ts +2 -10
  27. package/.nuxt/b24ui/navbar-section.ts +2 -10
  28. package/.nuxt/b24ui/navbar-spacer.ts +2 -10
  29. package/.nuxt/b24ui/navbar.ts +2 -10
  30. package/.nuxt/b24ui/navigation-menu.ts +69 -60
  31. package/.nuxt/b24ui/popover.ts +2 -10
  32. package/.nuxt/b24ui/progress.ts +2 -10
  33. package/.nuxt/b24ui/radio-group.ts +3 -11
  34. package/.nuxt/b24ui/range.ts +2 -10
  35. package/.nuxt/b24ui/select-menu.ts +10 -40
  36. package/.nuxt/b24ui/select.ts +10 -40
  37. package/.nuxt/b24ui/separator.ts +2 -10
  38. package/.nuxt/b24ui/sidebar-body.ts +2 -10
  39. package/.nuxt/b24ui/sidebar-footer.ts +2 -10
  40. package/.nuxt/b24ui/sidebar-header.ts +2 -10
  41. package/.nuxt/b24ui/sidebar-heading.ts +2 -10
  42. package/.nuxt/b24ui/sidebar-layout.ts +3 -11
  43. package/.nuxt/b24ui/sidebar-section.ts +2 -10
  44. package/.nuxt/b24ui/sidebar-spacer.ts +2 -10
  45. package/.nuxt/b24ui/sidebar.ts +2 -10
  46. package/.nuxt/b24ui/skeleton.ts +2 -10
  47. package/.nuxt/b24ui/slideover.ts +2 -10
  48. package/.nuxt/b24ui/stacked-layout.ts +2 -10
  49. package/.nuxt/b24ui/switch.ts +2 -10
  50. package/.nuxt/b24ui/tabs.ts +6 -13
  51. package/.nuxt/b24ui/textarea.ts +4 -17
  52. package/.nuxt/b24ui/toast.ts +2 -15
  53. package/.nuxt/b24ui/toaster.ts +3 -11
  54. package/.nuxt/b24ui/tooltip.ts +3 -11
  55. package/.nuxt/b24ui.css +1 -1
  56. package/cli/templates.mjs +2 -2
  57. package/dist/meta.d.mts +35333 -15836
  58. package/dist/meta.mjs +35333 -15836
  59. package/dist/module.json +1 -1
  60. package/dist/module.mjs +11 -3
  61. package/dist/runtime/air-design-tokens.css +1 -0
  62. package/dist/runtime/components/Accordion.vue +96 -0
  63. package/dist/runtime/components/Accordion.vue.d.ts +78 -0
  64. package/dist/runtime/components/Advice.vue +1 -1
  65. package/dist/runtime/components/Alert.vue +1 -1
  66. package/dist/runtime/components/App.vue +1 -1
  67. package/dist/runtime/components/Avatar.vue +11 -3
  68. package/dist/runtime/components/Avatar.vue.d.ts +2 -1
  69. package/dist/runtime/components/AvatarGroup.vue +1 -1
  70. package/dist/runtime/components/Badge.vue +5 -3
  71. package/dist/runtime/components/Badge.vue.d.ts +2 -0
  72. package/dist/runtime/components/Button.vue +2 -3
  73. package/dist/runtime/components/Button.vue.d.ts +1 -1
  74. package/dist/runtime/components/Calendar.vue +1 -1
  75. package/dist/runtime/components/Checkbox.vue +13 -4
  76. package/dist/runtime/components/Checkbox.vue.d.ts +9 -0
  77. package/dist/runtime/components/Chip.vue +1 -1
  78. package/dist/runtime/components/Collapsible.vue +1 -1
  79. package/dist/runtime/components/Countdown.vue +1 -1
  80. package/dist/runtime/components/Countdown.vue.d.ts +2 -2
  81. package/dist/runtime/components/DescriptionList.vue +3 -2
  82. package/dist/runtime/components/DescriptionList.vue.d.ts +1 -1
  83. package/dist/runtime/components/DropdownMenu.vue +1 -1
  84. package/dist/runtime/components/DropdownMenu.vue.d.ts +2 -0
  85. package/dist/runtime/components/DropdownMenuContent.vue +74 -72
  86. package/dist/runtime/components/DropdownMenuContent.vue.d.ts +4 -20
  87. package/dist/runtime/components/Form.vue +6 -6
  88. package/dist/runtime/components/Form.vue.d.ts +12 -11
  89. package/dist/runtime/components/FormField.vue +4 -4
  90. package/dist/runtime/components/Input.vue +12 -8
  91. package/dist/runtime/components/Input.vue.d.ts +31 -30
  92. package/dist/runtime/components/InputMenu.vue +23 -20
  93. package/dist/runtime/components/InputMenu.vue.d.ts +6 -4
  94. package/dist/runtime/components/InputNumber.vue +17 -10
  95. package/dist/runtime/components/InputNumber.vue.d.ts +6 -3
  96. package/dist/runtime/components/Link.vue +5 -13
  97. package/dist/runtime/components/Modal.vue +22 -14
  98. package/dist/runtime/components/Modal.vue.d.ts +18 -5
  99. package/dist/runtime/components/Navbar.vue +1 -1
  100. package/dist/runtime/components/NavbarDivider.vue +1 -1
  101. package/dist/runtime/components/NavbarSection.vue +1 -1
  102. package/dist/runtime/components/NavbarSpacer.vue +1 -1
  103. package/dist/runtime/components/NavigationMenu.vue +186 -44
  104. package/dist/runtime/components/NavigationMenu.vue.d.ts +39 -8
  105. package/dist/runtime/components/OverlayProvider.vue +2 -2
  106. package/dist/runtime/components/Popover.vue +4 -0
  107. package/dist/runtime/components/Popover.vue.d.ts +2 -1
  108. package/dist/runtime/components/Progress.vue +3 -2
  109. package/dist/runtime/components/Progress.vue.d.ts +2 -2
  110. package/dist/runtime/components/RadioGroup.vue +24 -8
  111. package/dist/runtime/components/RadioGroup.vue.d.ts +3 -1
  112. package/dist/runtime/components/Range.vue +2 -2
  113. package/dist/runtime/components/Range.vue.d.ts +19 -20
  114. package/dist/runtime/components/Select.vue +57 -31
  115. package/dist/runtime/components/Select.vue.d.ts +110 -2
  116. package/dist/runtime/components/SelectMenu.vue +77 -23
  117. package/dist/runtime/components/SelectMenu.vue.d.ts +111 -5
  118. package/dist/runtime/components/Separator.vue +3 -3
  119. package/dist/runtime/components/Sidebar.vue +1 -1
  120. package/dist/runtime/components/SidebarBody.vue +1 -1
  121. package/dist/runtime/components/SidebarFooter.vue +1 -1
  122. package/dist/runtime/components/SidebarHeader.vue +1 -1
  123. package/dist/runtime/components/SidebarHeading.vue +1 -1
  124. package/dist/runtime/components/SidebarLayout.vue +1 -1
  125. package/dist/runtime/components/SidebarSection.vue +1 -1
  126. package/dist/runtime/components/SidebarSpacer.vue +1 -1
  127. package/dist/runtime/components/Slideover.vue +23 -15
  128. package/dist/runtime/components/Slideover.vue.d.ts +18 -5
  129. package/dist/runtime/components/StackedLayout.vue +1 -1
  130. package/dist/runtime/components/Switch.vue +1 -1
  131. package/dist/runtime/components/Tabs.vue +28 -7
  132. package/dist/runtime/components/Tabs.vue.d.ts +6 -1
  133. package/dist/runtime/components/Textarea.vue +13 -9
  134. package/dist/runtime/components/Textarea.vue.d.ts +31 -30
  135. package/dist/runtime/components/Toast.vue +7 -6
  136. package/dist/runtime/components/Toast.vue.d.ts +6 -0
  137. package/dist/runtime/components/Toaster.vue +4 -4
  138. package/dist/runtime/components/Toaster.vue.d.ts +6 -0
  139. package/dist/runtime/components/Tooltip.vue +9 -2
  140. package/dist/runtime/components/Tooltip.vue.d.ts +2 -1
  141. package/dist/runtime/components/content/TableWrapper.vue +1 -1
  142. package/dist/runtime/composables/defineLocale.d.ts +2 -0
  143. package/dist/runtime/composables/defineLocale.js +4 -0
  144. package/dist/runtime/composables/defineShortcuts.js +8 -2
  145. package/dist/runtime/composables/useFormField.d.ts +1 -1
  146. package/dist/runtime/composables/useFormField.js +2 -1
  147. package/dist/runtime/composables/useKbd.d.ts +1 -0
  148. package/dist/runtime/composables/useKbd.js +4 -3
  149. package/dist/runtime/composables/useOverlay.d.ts +11 -11
  150. package/dist/runtime/composables/useOverlay.js +17 -11
  151. package/dist/runtime/index.css +1 -1
  152. package/dist/runtime/inertia/components/Link.vue +45 -60
  153. package/dist/runtime/inertia/components/Link.vue.d.ts +1 -1
  154. package/dist/runtime/inertia/components/LinkBase.vue +68 -0
  155. package/dist/runtime/inertia/components/LinkBase.vue.d.ts +25 -0
  156. package/dist/runtime/inertia/stubs.d.ts +1 -1
  157. package/dist/runtime/inertia/stubs.js +1 -1
  158. package/dist/runtime/prose/A.vue +1 -1
  159. package/dist/runtime/prose/Blockquote.vue +1 -1
  160. package/dist/runtime/prose/Code.vue +1 -1
  161. package/dist/runtime/prose/Em.vue +1 -1
  162. package/dist/runtime/prose/H1.vue +1 -1
  163. package/dist/runtime/prose/H2.vue +1 -1
  164. package/dist/runtime/prose/H3.vue +1 -1
  165. package/dist/runtime/prose/H4.vue +1 -1
  166. package/dist/runtime/prose/H5.vue +1 -1
  167. package/dist/runtime/prose/H6.vue +1 -1
  168. package/dist/runtime/prose/Hr.vue +1 -1
  169. package/dist/runtime/prose/Img.vue +1 -1
  170. package/dist/runtime/prose/Li.vue +1 -1
  171. package/dist/runtime/prose/Ol.vue +1 -1
  172. package/dist/runtime/prose/P.vue +1 -1
  173. package/dist/runtime/prose/Pre.vue +1 -1
  174. package/dist/runtime/prose/Strong.vue +1 -1
  175. package/dist/runtime/prose/Table.vue +1 -1
  176. package/dist/runtime/prose/Tbody.vue +1 -1
  177. package/dist/runtime/prose/Td.vue +1 -1
  178. package/dist/runtime/prose/Th.vue +1 -1
  179. package/dist/runtime/prose/Thead.vue +1 -1
  180. package/dist/runtime/prose/Tr.vue +1 -1
  181. package/dist/runtime/prose/Ul.vue +1 -1
  182. package/dist/runtime/types/form.d.ts +11 -10
  183. package/dist/runtime/types/index.d.ts +1 -0
  184. package/dist/runtime/types/index.js +1 -0
  185. package/dist/runtime/types/locale.d.ts +1 -0
  186. package/dist/runtime/types/tv.d.ts +53 -0
  187. package/dist/runtime/types/tv.js +0 -0
  188. package/dist/runtime/types/utils.d.ts +4 -51
  189. package/dist/runtime/types/utils.js +1 -0
  190. package/dist/runtime/utils/link.d.ts +1 -0
  191. package/dist/runtime/utils/link.js +12 -0
  192. package/dist/runtime/vue/components/Link.vue +26 -40
  193. package/dist/runtime/vue/composables/useAppConfig.js +3 -1
  194. package/dist/runtime/vue/stubs.d.ts +1 -1
  195. package/dist/runtime/vue/stubs.js +1 -1
  196. package/dist/shared/{b24ui-nuxt.jU270f-Q.mjs → b24ui-nuxt.CxsFEY3M.mjs} +268 -122
  197. package/dist/unplugin.d.mts +2 -2
  198. package/dist/unplugin.mjs +6 -3
  199. package/dist/vite.d.mts +1 -1
  200. package/dist/vite.mjs +2 -2
  201. package/package.json +30 -29
@@ -1,5 +1,3 @@
1
- import template from "/home/runner/work/b24ui/b24ui/src/theme/navigation-menu"
2
-
3
1
  const color = [
4
2
  "default",
5
3
  "danger",
@@ -37,11 +35,7 @@ const contentOrientation = [
37
35
  "vertical"
38
36
  ] as const
39
37
 
40
- const result = typeof template === 'function' ? (template as Function)({
41
- "colorMode": true
42
- }) : template
43
-
44
- const theme = {
38
+ export default {
45
39
  "slots": {
46
40
  "root": "relative flex [&>div]:min-w-0 font-b24-secondary",
47
41
  "list": "isolate min-w-0",
@@ -51,25 +45,26 @@ const theme = {
51
45
  "linkLeadingIcon": "shrink-0 size-4 -ms-1 rtl:-ms-0 rtl:-me-1",
52
46
  "linkLeadingAvatar": "shrink-0 -ms-1 rtl:-ms-0 rtl:-me-1",
53
47
  "linkLeadingAvatarSize": "2xs",
54
- "linkTrailing": "inline-flex gap-1.5 items-center",
48
+ "linkTrailing": "group inline-flex gap-1.5 items-center",
55
49
  "linkTrailingBadge": "shrink-0",
56
50
  "linkTrailingBadgeSize": "sm",
57
51
  "linkTrailingIcon": "text-base-600 size-4 transform shrink-0 group-data-[state=open]:rotate-180 transition-transform duration-200",
58
52
  "linkLabel": "truncate",
59
53
  "linkLabelWrapper": "flex items-center items-center justify-between rtl:flex-row-reverse gap-1.5",
60
54
  "linkLabelExternalIcon": "inline-block h-6 w-3 align-top text-base-500 dark:text-base-700",
61
- "childList": "",
55
+ "childList": "isolate",
56
+ "childLabel": "text-xs text-highlighted text-base-500 dark:text-base-400",
62
57
  "childItem": "",
63
- "childLink": "group size-full px-3 py-2 rounded-2xs flex items-start gap-2 text-start",
64
- "childLinkWrapper": "flex flex-col items-start",
58
+ "childLink": "group relative size-full flex items-start text-start text-sm before:absolute before:z-[-1] before:rounded-2xs focus:outline-none focus-visible:outline-none dark:focus-visible:outline-none focus-visible:before:ring-inset focus-visible:before:ring-2",
59
+ "childLinkWrapper": "min-w-0",
65
60
  "childLinkIcon": "size-5 shrink-0",
66
- "childLinkLabel": "font-semibold text-sm relative inline-flex",
61
+ "childLinkLabel": "truncate",
67
62
  "childLinkLabelExternalIcon": "inline-block h-6 w-3 align-top text-base-500 dark:text-base-700",
68
- "childLinkDescription": "text-sm text-base-500 dark:text-base-700",
63
+ "childLinkDescription": "text-base-500 dark:text-base-700",
69
64
  "separator": "px-2 h-px bg-base-950/10 dark:bg-base-100/20",
70
65
  "viewportWrapper": "absolute top-full left-0 flex w-full",
71
66
  "viewport": "relative overflow-hidden w-full bg-white dark:bg-base-dark shadow-[0_15px_21px_rgba(83,92,105,.15)] h-(--reka-navigation-menu-viewport-height) transition-[width,height] duration-200 origin-[top_center] z-[1]",
72
- "content": "absolute top-0 left-0 w-full",
67
+ "content": "",
73
68
  "indicator": "absolute motion-safe:data-[state=visible]:animate-[fade-in_100ms_ease-out] motion-safe:data-[state=hidden]:animate-[fade-out_100ms_ease-in] data-[state=hidden]:opacity-0 bottom-0 z-[2] w-(--reka-navigation-menu-indicator-size) h-2.5 translate-x-(--reka-navigation-menu-indicator-position) flex items-end justify-center overflow-hidden transition-[translate,width] duration-200",
74
69
  "arrow": "relative top-[50%] size-2.5 rotate-45 border border-base-300 dark:border-base-800 bg-white dark:bg-base-dark z-[1] rounded-3xs"
75
70
  },
@@ -77,35 +72,35 @@ const theme = {
77
72
  "color": {
78
73
  "default": {
79
74
  "link": "focus-visible:before:ring-base-300 dark:focus-visible:before:ring-base-800",
80
- "childLink": "focus-visible:outline-base-300 dark:focus-visible:outline-base-800"
75
+ "childLink": "focus-visible:before:ring-base-300 dark:focus-visible:before:ring-base-800"
81
76
  },
82
77
  "danger": {
83
78
  "link": "focus-visible:before:ring-red-300 dark:focus-visible:before:ring-red-800",
84
- "childLink": "focus-visible:outline-red-300 dark:focus-visible:outline-red-800"
79
+ "childLink": "focus-visible:before:ring-red-300 dark:focus-visible:before:ring-red-800"
85
80
  },
86
81
  "success": {
87
82
  "link": "focus-visible:before:ring-green-300 dark:focus-visible:before:ring-green-800",
88
- "childLink": "focus-visible:outline-green-300 dark:focus-visible:outline-green-800"
83
+ "childLink": "focus-visible:before:ring-green-300 dark:focus-visible:before:ring-green-800"
89
84
  },
90
85
  "warning": {
91
86
  "link": "focus-visible:before:ring-orange-300 dark:focus-visible:before:ring-orange-800",
92
- "childLink": "focus-visible:outline-orange-300 dark:focus-visible:outline-orange-800"
87
+ "childLink": "focus-visible:before:ring-orange-300 dark:focus-visible:before:ring-orange-800"
93
88
  },
94
89
  "primary": {
95
90
  "link": "focus-visible:before:ring-blue-300 dark:focus-visible:before:ring-blue-800",
96
- "childLink": "focus-visible:outline-blue-300 dark:focus-visible:outline-blue-800"
91
+ "childLink": "focus-visible:before:ring-blue-300 dark:focus-visible:before:ring-blue-800"
97
92
  },
98
93
  "secondary": {
99
94
  "link": "focus-visible:before:ring-cyan-300 dark:focus-visible:before:ring-cyan-800",
100
- "childLink": "focus-visible:outline-cyan-300 dark:focus-visible:outline-cyan-800"
95
+ "childLink": "focus-visible:before:ring-cyan-300 dark:focus-visible:before:ring-cyan-800"
101
96
  },
102
97
  "collab": {
103
98
  "link": "focus-visible:before:ring-collab-300 dark:focus-visible:before:ring-collab-800",
104
- "childLink": "focus-visible:outline-collab-300 dark:focus-visible:outline-collab-800"
99
+ "childLink": "focus-visible:before:ring-collab-300 dark:focus-visible:before:ring-collab-800"
105
100
  },
106
101
  "ai": {
107
102
  "link": "focus-visible:before:ring-ai-300 dark:focus-visible:before:ring-ai-800",
108
- "childLink": "focus-visible:outline-ai-300 dark:focus-visible:outline-ai-800"
103
+ "childLink": "focus-visible:before:ring-ai-300 dark:focus-visible:before:ring-ai-800"
109
104
  }
110
105
  },
111
106
  "highlightColor": {
@@ -131,11 +126,16 @@ const theme = {
131
126
  "list": "flex items-center gap-x-1",
132
127
  "item": "py-2 empty:hidden",
133
128
  "link": "px-2.5 py-1.5 before:inset-x-px before:inset-y-0",
134
- "childList": "grid p-2"
129
+ "childList": "grid p-2",
130
+ "childLink": "px-3 py-2 gap-2 before:inset-x-px before:inset-y-0",
131
+ "childLinkLabel": "font-medium",
132
+ "content": "absolute top-0 left-0 w-full max-h-[70vh] overflow-y-auto"
135
133
  },
136
134
  "vertical": {
137
135
  "root": "flex-col w-full",
138
- "link": "ps-2xl pe-xs rtl:ps-xs rtl:pe-2xl flex-row rtl:flex-row-reverse before:inset-y-px before:inset-x-0"
136
+ "link": "ps-2xl pe-xs rtl:ps-xs rtl:pe-2xl flex-row rtl:flex-row-reverse before:inset-y-px before:inset-x-0",
137
+ "childLabel": "px-1.5 py-0.5",
138
+ "childLink": "p-1.5 gap-1.5 before:inset-y-px before:inset-x-0"
139
139
  }
140
140
  },
141
141
  "contentOrientation": {
@@ -152,13 +152,13 @@ const theme = {
152
152
  },
153
153
  "active": {
154
154
  "true": {
155
- "childLink": "bg-base-20 dark:bg-base-900 text-base-950 dark:text-base-50 font-semibold",
155
+ "childLink": "before:bg-base-20 dark:before:bg-base-900 text-base-950 dark:text-base-50 font-semibold",
156
156
  "childLinkIcon": "text-base-950 dark:text-base-200"
157
157
  },
158
158
  "false": {
159
159
  "link": "text-base-900 dark:text-base-200",
160
160
  "linkLeadingIcon": "text-base-500 dark:text-base-700",
161
- "childLink": "hover:bg-base-20 dark:hover:bg-base-900 text-base-500 dark:text-base-700 hover:text-base-950 dark:hover:dark:text-base-200 transition-colors",
161
+ "childLink": "hover:before:bg-base-20 dark:hover:before:bg-base-900 text-base-500 dark:text-base-700 hover:text-base-950 dark:hover:text-base-200 transition-colors before:transition-colors",
162
162
  "childLinkIcon": "text-base-500 dark:text-base-700 group-hover:text-base-950 dark:group-hover:text-base-50 transition-colors"
163
163
  }
164
164
  },
@@ -193,6 +193,23 @@ const theme = {
193
193
  "content": "w-60"
194
194
  }
195
195
  },
196
+ {
197
+ "orientation": "vertical" as typeof orientation[number],
198
+ "collapsed": false,
199
+ "class": {
200
+ "childList": "",
201
+ "childItem": "[&>*]:ps-[44px] rtl:[&>*]:pe-[44px]",
202
+ "content": "motion-safe:data-[state=open]:animate-[collapsible-down_200ms_ease-out] motion-safe:data-[state=closed]:animate-[collapsible-up_200ms_ease-out] overflow-hidden"
203
+ }
204
+ },
205
+ {
206
+ "orientation": "vertical" as typeof orientation[number],
207
+ "collapsed": true,
208
+ "class": {
209
+ "link": "px-1.5",
210
+ "content": "rounded-sm min-h-6 p-1"
211
+ }
212
+ },
196
213
  {
197
214
  "orientation": "horizontal" as typeof orientation[number],
198
215
  "highlight": true,
@@ -276,7 +293,7 @@ const theme = {
276
293
  "variant": "pill" as typeof variant[number],
277
294
  "active": true,
278
295
  "class": {
279
- "link": "min-h-9 before:rounded-md before:bg-base-800 dark:before:bg-white/35 hover:before:bg-base-800 hover:dark:before:bg-white/35 data-[state=open]:before:bg-base-800 dark:data-[state=open]:before:bg-white/35",
296
+ "link": "min-h-9 before:rounded-md before:bg-base-800 dark:before:bg-white/35 hover:before:bg-base-800 dark:hover:before:bg-white/35 data-[state=open]:before:bg-base-800 dark:data-[state=open]:before:bg-white/35",
280
297
  "linkLabelWrapper": "min-h-9 bg-inherit dark:bg-inherit rounded-none"
281
298
  }
282
299
  },
@@ -296,7 +313,7 @@ const theme = {
296
313
  "variant": "pill" as typeof variant[number],
297
314
  "active": true,
298
315
  "class": {
299
- "link": "min-h-9 before:rounded-md before:bg-red-800 dark:before:bg-red-800 hover:before:bg-red-800 hover:dark:before:bg-red-800 data-[state=open]:before:bg-red-800 dark:data-[state=open]:before:bg-red-800",
316
+ "link": "min-h-9 before:rounded-md before:bg-red-800 dark:before:bg-red-800 hover:before:bg-red-800 dark:hover:before:bg-red-800 data-[state=open]:before:bg-red-800 dark:data-[state=open]:before:bg-red-800",
300
317
  "linkLabelWrapper": "min-h-9 bg-inherit dark:bg-inherit rounded-none"
301
318
  }
302
319
  },
@@ -316,7 +333,7 @@ const theme = {
316
333
  "variant": "pill" as typeof variant[number],
317
334
  "active": true,
318
335
  "class": {
319
- "link": "min-h-9 before:rounded-md before:bg-green-800 dark:before:bg-green-800 hover:before:bg-green-800 hover:dark:before:bg-green-800 data-[state=open]:before:bg-green-800 dark:data-[state=open]:before:bg-green-800",
336
+ "link": "min-h-9 before:rounded-md before:bg-green-800 dark:before:bg-green-800 hover:before:bg-green-800 dark:hover:before:bg-green-800 data-[state=open]:before:bg-green-800 dark:data-[state=open]:before:bg-green-800",
320
337
  "linkLabelWrapper": "min-h-9 bg-inherit dark:bg-inherit rounded-none"
321
338
  }
322
339
  },
@@ -336,7 +353,7 @@ const theme = {
336
353
  "variant": "pill" as typeof variant[number],
337
354
  "active": true,
338
355
  "class": {
339
- "link": "min-h-9 before:rounded-md before:bg-orange-800 dark:before:bg-orange-800 hover:before:bg-orange-800 hover:dark:before:bg-orange-800 data-[state=open]:before:bg-orange-800 dark:data-[state=open]:before:bg-orange-800",
356
+ "link": "min-h-9 before:rounded-md before:bg-orange-800 dark:before:bg-orange-800 hover:before:bg-orange-800 dark:hover:before:bg-orange-800 data-[state=open]:before:bg-orange-800 dark:data-[state=open]:before:bg-orange-800",
340
357
  "linkLabelWrapper": "min-h-9 bg-inherit dark:bg-inherit rounded-none"
341
358
  }
342
359
  },
@@ -356,7 +373,7 @@ const theme = {
356
373
  "variant": "pill" as typeof variant[number],
357
374
  "active": true,
358
375
  "class": {
359
- "link": "min-h-9 before:rounded-md before:bg-blue-800 dark:before:bg-blue-800 hover:before:bg-blue-800 hover:dark:before:bg-blue-800 data-[state=open]:before:bg-blue-800 dark:data-[state=open]:before:bg-blue-800",
376
+ "link": "min-h-9 before:rounded-md before:bg-blue-800 dark:before:bg-blue-800 hover:before:bg-blue-800 dark:hover:before:bg-blue-800 data-[state=open]:before:bg-blue-800 dark:data-[state=open]:before:bg-blue-800",
360
377
  "linkLabelWrapper": "min-h-9 bg-inherit dark:bg-inherit rounded-none"
361
378
  }
362
379
  },
@@ -376,7 +393,7 @@ const theme = {
376
393
  "variant": "pill" as typeof variant[number],
377
394
  "active": true,
378
395
  "class": {
379
- "link": "min-h-9 before:rounded-md before:bg-cyan-800 dark:before:bg-cyan-800 hover:before:bg-cyan-800 hover:dark:before:bg-cyan-800 data-[state=open]:before:bg-cyan-800 dark:data-[state=open]:before:bg-cyan-800",
396
+ "link": "min-h-9 before:rounded-md before:bg-cyan-800 dark:before:bg-cyan-800 hover:before:bg-cyan-800 dark:hover:before:bg-cyan-800 data-[state=open]:before:bg-cyan-800 dark:data-[state=open]:before:bg-cyan-800",
380
397
  "linkLabelWrapper": "min-h-9 bg-inherit dark:bg-inherit rounded-none"
381
398
  }
382
399
  },
@@ -396,7 +413,7 @@ const theme = {
396
413
  "variant": "pill" as typeof variant[number],
397
414
  "active": true,
398
415
  "class": {
399
- "link": "min-h-9 before:rounded-md before:bg-collab-800 dark:before:bg-collab-800 hover:before:bg-collab-800 hover:dark:before:bg-collab-800 data-[state=open]:before:bg-collab-800 dark:data-[state=open]:before:bg-collab-800",
416
+ "link": "min-h-9 before:rounded-md before:bg-collab-800 dark:before:bg-collab-800 hover:before:bg-collab-800 dark:hover:before:bg-collab-800 data-[state=open]:before:bg-collab-800 dark:data-[state=open]:before:bg-collab-800",
400
417
  "linkLabelWrapper": "min-h-9 bg-inherit dark:bg-inherit rounded-none"
401
418
  }
402
419
  },
@@ -416,7 +433,7 @@ const theme = {
416
433
  "variant": "pill" as typeof variant[number],
417
434
  "active": true,
418
435
  "class": {
419
- "link": "min-h-9 before:rounded-md before:bg-ai-800 dark:before:bg-ai-800 hover:before:bg-ai-800 hover:dark:before:bg-ai-800 data-[state=open]:before:bg-ai-800 dark:data-[state=open]:before:bg-ai-800",
436
+ "link": "min-h-9 before:rounded-md before:bg-ai-800 dark:before:bg-ai-800 hover:before:bg-ai-800 dark:hover:before:bg-ai-800 data-[state=open]:before:bg-ai-800 dark:data-[state=open]:before:bg-ai-800",
420
437
  "linkLabelWrapper": "min-h-9 bg-inherit dark:bg-inherit rounded-none"
421
438
  }
422
439
  },
@@ -443,6 +460,7 @@ const theme = {
443
460
  "variant": "pill" as typeof variant[number],
444
461
  "active": true,
445
462
  "highlight": true,
463
+ "disabled": false,
446
464
  "class": {
447
465
  "link": "hover:before:bg-base-250/80 dark:hover:before:bg-white/10 before:transition-colors"
448
466
  }
@@ -453,8 +471,9 @@ const theme = {
453
471
  "variant": "pill" as typeof variant[number],
454
472
  "active": true,
455
473
  "highlight": true,
474
+ "disabled": false,
456
475
  "class": {
457
- "link": "hover:before:bg-base-800 hover:dark:before:bg-white/35 before:transition-colors"
476
+ "link": "hover:before:bg-base-800 dark:hover:before:bg-white/35 before:transition-colors"
458
477
  }
459
478
  },
460
479
  {
@@ -463,8 +482,9 @@ const theme = {
463
482
  "variant": "pill" as typeof variant[number],
464
483
  "active": true,
465
484
  "highlight": true,
485
+ "disabled": false,
466
486
  "class": {
467
- "link": "hover:before:bg-red-800 hover:dark:before:bg-red-800 before:transition-colors"
487
+ "link": "hover:before:bg-red-800 dark:hover:before:bg-red-800 before:transition-colors"
468
488
  }
469
489
  },
470
490
  {
@@ -473,8 +493,9 @@ const theme = {
473
493
  "variant": "pill" as typeof variant[number],
474
494
  "active": true,
475
495
  "highlight": true,
496
+ "disabled": false,
476
497
  "class": {
477
- "link": "hover:before:bg-green-800 hover:dark:before:bg-green-800 before:transition-colors"
498
+ "link": "hover:before:bg-green-800 dark:hover:before:bg-green-800 before:transition-colors"
478
499
  }
479
500
  },
480
501
  {
@@ -483,8 +504,9 @@ const theme = {
483
504
  "variant": "pill" as typeof variant[number],
484
505
  "active": true,
485
506
  "highlight": true,
507
+ "disabled": false,
486
508
  "class": {
487
- "link": "hover:before:bg-orange-800 hover:dark:before:bg-orange-800 before:transition-colors"
509
+ "link": "hover:before:bg-orange-800 dark:hover:before:bg-orange-800 before:transition-colors"
488
510
  }
489
511
  },
490
512
  {
@@ -493,8 +515,9 @@ const theme = {
493
515
  "variant": "pill" as typeof variant[number],
494
516
  "active": true,
495
517
  "highlight": true,
518
+ "disabled": false,
496
519
  "class": {
497
- "link": "hover:before:bg-blue-800 hover:dark:before:bg-blue-800 before:transition-colors"
520
+ "link": "hover:before:bg-blue-800 dark:hover:before:bg-blue-800 before:transition-colors"
498
521
  }
499
522
  },
500
523
  {
@@ -503,8 +526,9 @@ const theme = {
503
526
  "variant": "pill" as typeof variant[number],
504
527
  "active": true,
505
528
  "highlight": true,
529
+ "disabled": false,
506
530
  "class": {
507
- "link": "hover:before:bg-cyan-800 hover:dark:before:bg-cyan-800 before:transition-colors"
531
+ "link": "hover:before:bg-cyan-800 dark:hover:before:bg-cyan-800 before:transition-colors"
508
532
  }
509
533
  },
510
534
  {
@@ -513,8 +537,9 @@ const theme = {
513
537
  "variant": "pill" as typeof variant[number],
514
538
  "active": true,
515
539
  "highlight": true,
540
+ "disabled": false,
516
541
  "class": {
517
- "link": "hover:before:bg-collab-800 hover:dark:before:bg-collab-800 before:transition-colors"
542
+ "link": "hover:before:bg-collab-800 dark:hover:before:bg-collab-800 before:transition-colors"
518
543
  }
519
544
  },
520
545
  {
@@ -523,8 +548,9 @@ const theme = {
523
548
  "variant": "pill" as typeof variant[number],
524
549
  "active": true,
525
550
  "highlight": true,
551
+ "disabled": false,
526
552
  "class": {
527
- "link": "hover:before:bg-ai-800 hover:dark:before:bg-ai-800 before:transition-colors"
553
+ "link": "hover:before:bg-ai-800 dark:hover:before:bg-ai-800 before:transition-colors"
528
554
  }
529
555
  },
530
556
  {
@@ -802,21 +828,6 @@ const theme = {
802
828
  "class": {
803
829
  "link": "after:bg-ai-500 dark:after:bg-ai-600"
804
830
  }
805
- },
806
- {
807
- "orientation": "vertical" as typeof orientation[number],
808
- "collapsed": false,
809
- "class": {
810
- "childList": "",
811
- "childItem": "[&>*]:ps-[44px] rtl:[&>*]:pe-[44px]"
812
- }
813
- },
814
- {
815
- "orientation": "vertical" as typeof orientation[number],
816
- "collapsed": true,
817
- "class": {
818
- "link": "px-1.5"
819
- }
820
831
  }
821
832
  ],
822
833
  "defaultVariants": {
@@ -825,6 +836,4 @@ const theme = {
825
836
  "contentOrientation": "vertical" as typeof contentOrientation[number],
826
837
  "variant": "link" as typeof variant[number]
827
838
  }
828
- }
829
-
830
- export default result as typeof theme
839
+ }
@@ -1,14 +1,6 @@
1
- import template from "/home/runner/work/b24ui/b24ui/src/theme/popover"
2
-
3
- const result = typeof template === 'function' ? (template as Function)({
4
- "colorMode": true
5
- }) : template
6
-
7
- const theme = {
1
+ export default {
8
2
  "slots": {
9
3
  "content": "bg-white dark:bg-base-dark shadow-lg rounded-2xs ring ring-base-300 dark:ring-base-800 motion-safe:data-[state=open]:animate-[scale-in_100ms_ease-out] motion-safe:data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-popover-content-transform-origin) focus:outline-none pointer-events-auto",
10
4
  "arrow": "fill-white dark:fill-base-dark stroke-base-300 dark:stroke-base-800"
11
5
  }
12
- }
13
-
14
- export default result as typeof theme
6
+ }
@@ -1,5 +1,3 @@
1
- import template from "/home/runner/work/b24ui/b24ui/src/theme/progress"
2
-
3
1
  const animation = [
4
2
  "loading",
5
3
  "carousel",
@@ -38,11 +36,7 @@ const orientation = [
38
36
  "vertical"
39
37
  ] as const
40
38
 
41
- const result = typeof template === 'function' ? (template as Function)({
42
- "colorMode": true
43
- }) : template
44
-
45
- const theme = {
39
+ export default {
46
40
  "slots": {
47
41
  "root": "gap-2",
48
42
  "base": "relative overflow-hidden rounded-full bg-base-200 dark:bg-base-800",
@@ -306,6 +300,4 @@ const theme = {
306
300
  "color": "primary" as typeof color[number],
307
301
  "size": "md" as typeof size[number]
308
302
  }
309
- }
310
-
311
- export default result as typeof theme
303
+ }
@@ -1,5 +1,3 @@
1
- import template from "/home/runner/work/b24ui/b24ui/src/theme/radio-group"
2
-
3
1
  const color = [
4
2
  "default",
5
3
  "danger",
@@ -35,11 +33,7 @@ const size = [
35
33
  "lg"
36
34
  ] as const
37
35
 
38
- const result = typeof template === 'function' ? (template as Function)({
39
- "colorMode": true
40
- }) : template
41
-
42
- const theme = {
36
+ export default {
43
37
  "slots": {
44
38
  "root": "relative",
45
39
  "fieldset": "flex",
@@ -214,7 +208,7 @@ const theme = {
214
208
  "orientation": "horizontal" as typeof orientation[number],
215
209
  "variant": "table" as typeof variant[number],
216
210
  "class": {
217
- "item": "first-of-type:rounded-l-lg last-of-type:rounded-r-lg",
211
+ "item": "first-of-type:rounded-s-lg last-of-type:rounded-e-lg",
218
212
  "fieldset": "gap-0 -space-x-px"
219
213
  }
220
214
  },
@@ -346,6 +340,4 @@ const theme = {
346
340
  "orientation": "vertical" as typeof orientation[number],
347
341
  "indicator": "start" as typeof indicator[number]
348
342
  }
349
- }
350
-
351
- export default result as typeof theme
343
+ }
@@ -1,5 +1,3 @@
1
- import template from "/home/runner/work/b24ui/b24ui/src/theme/range"
2
-
3
1
  const color = [
4
2
  "default",
5
3
  "danger",
@@ -23,11 +21,7 @@ const orientation = [
23
21
  "vertical"
24
22
  ] as const
25
23
 
26
- const result = typeof template === 'function' ? (template as Function)({
27
- "colorMode": true
28
- }) : template
29
-
30
- const theme = {
24
+ export default {
31
25
  "slots": {
32
26
  "root": "relative flex items-center select-none touch-none",
33
27
  "track": "relative bg-base-200 dark:bg-base-800 overflow-hidden rounded-full grow",
@@ -175,6 +169,4 @@ const theme = {
175
169
  "size": "md" as typeof size[number],
176
170
  "color": "primary" as typeof color[number]
177
171
  }
178
- }
179
-
180
- export default result as typeof theme
172
+ }
@@ -1,10 +1,3 @@
1
- import template from "/home/runner/work/b24ui/b24ui/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",
@@ -38,22 +31,7 @@ const type = [
38
31
  "file"
39
32
  ] as const
40
33
 
41
- const colorItem = [
42
- "default",
43
- "danger",
44
- "success",
45
- "warning",
46
- "primary",
47
- "secondary",
48
- "collab",
49
- "ai"
50
- ] as const
51
-
52
- const result = typeof template === 'function' ? (template as Function)({
53
- "colorMode": true
54
- }) : template
55
-
56
- const theme = {
34
+ export default {
57
35
  "slots": {
58
36
  "root": "isolate relative inline-flex items-center w-full",
59
37
  "base": "px-3 relative inline-flex items-center group py-0 border-0 focus:outline-none cursor-pointer disabled:cursor-not-allowed disabled:bg-base-30/37 disabled:text-base-500 dark:disabled:bg-base-900/37 dark:disabled:text-base-800 appearance-none transition duration-300 ease-linear ring ring-inset ring-base-300 dark:ring-base-800 text-base-master bg-white hover:text-base-900 focus:text-base-900 active:text-base-900 dark:text-base-150 dark:bg-transparent dark:hover:text-base-350 dark:focus:text-base-350 dark:active:text-base-350 font-b24-primary font-regular text-sm leading-tight align-middle text-ellipsis whitespace-nowrap",
@@ -68,12 +46,10 @@ const theme = {
68
46
  "placeholder": "truncate text-base-400 dark:text-base-300",
69
47
  "arrow": "fill-base-master/10 dark:fill-base-100/20",
70
48
  "content": [
71
- "w-(--reka-select-trigger-width) min-w-fit bg-white dark:bg-base-dark shadow-md rounded-2xs ring ring-base-300 dark:ring-base-800 overflow-hidden data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-select-content-transform-origin) pointer-events-auto",
49
+ "w-(--reka-select-trigger-width) min-w-fit bg-white dark:bg-base-dark shadow-md rounded-2xs ring ring-base-300 dark:ring-base-800 overflow-hidden data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-select-content-transform-origin) flex flex-col pointer-events-auto",
72
50
  "origin-(--reka-combobox-content-transform-origin) w-(--reka-combobox-trigger-width)"
73
51
  ],
74
- "scrollUpDownButton": "flex items-center justify-center h-[25px] cursor-default backdrop-blur text-base-800 bg-white dark:text-base-100 dark:bg-base-dark",
75
- "scrollUpDownButtonIcon": "",
76
- "viewport": "divide-y divide-base-master/10 dark:divide-base-100/20 scroll-py-1",
52
+ "viewport": "relative divide-y divide-base-master/10 dark:divide-base-100/20 scroll-py-1 overflow-y-auto flex-1",
77
53
  "group": "p-1 isolate",
78
54
  "empty": "py-2 text-center text-sm text-base-500 dark:text-base-600",
79
55
  "label": "flex items-center font-semibold text-base-900 dark:text-base-200",
@@ -93,11 +69,11 @@ const theme = {
93
69
  "variants": {
94
70
  "buttonGroup": {
95
71
  "horizontal": {
96
- "root": "group leading-none",
72
+ "root": "group leading-none has-focus-visible:z-[1]",
97
73
  "base": "focus-visible:outline-none ring ring-inset ring-1 focus-visible:ring-2 group-not-only:group-first:rounded-e-3xl group-not-only:group-last:rounded-s-none group-not-last:group-not-first:rounded-none group-not-only:group-first:rounded-e-none group-not-only:group-last:rounded-s-none group-not-last:group-not-first:rounded-none group-not-only:group-first:border-e-0 group-not-only:group-not-first:border-s-0"
98
74
  },
99
75
  "vertical": {
100
- "root": "group",
76
+ "root": "group has-focus-visible:z-[1]",
101
77
  "base": "focus-visible:outline-none ring ring-inset ring-1 focus-visible:ring-2 group-not-only:group-first:rounded-b-none group-not-only:group-last:rounded-t-none group-not-last:group-not-first:rounded-none"
102
78
  }
103
79
  },
@@ -118,8 +94,7 @@ const theme = {
118
94
  "itemLeadingAvatarSize": "2xs",
119
95
  "itemLeadingChip": "size-3 not-group-data-reka-collection-item:ps-2.5",
120
96
  "itemLeadingChipSize": "sm",
121
- "itemTrailingIcon": "size-3",
122
- "scrollUpDownButtonIcon": "size-4"
97
+ "itemTrailingIcon": "size-3"
123
98
  },
124
99
  "sm": {
125
100
  "base": "h-8 gap-1.5",
@@ -134,8 +109,7 @@ const theme = {
134
109
  "itemLeadingAvatarSize": "2xs",
135
110
  "itemLeadingChip": "size-3 not-group-data-reka-collection-item:ps-2.5",
136
111
  "itemLeadingChipSize": "sm",
137
- "itemTrailingIcon": "size-3",
138
- "scrollUpDownButtonIcon": "size-4"
112
+ "itemTrailingIcon": "size-3"
139
113
  },
140
114
  "md": {
141
115
  "base": "h-10 gap-1.5",
@@ -150,8 +124,7 @@ const theme = {
150
124
  "itemLeadingAvatarSize": "2xs",
151
125
  "itemLeadingChip": "size-3 not-group-data-reka-collection-item:ps-2.5",
152
126
  "itemLeadingChipSize": "sm",
153
- "itemTrailingIcon": "size-3",
154
- "scrollUpDownButtonIcon": "size-4"
127
+ "itemTrailingIcon": "size-3"
155
128
  },
156
129
  "lg": {
157
130
  "base": "h-12 gap-2",
@@ -166,8 +139,7 @@ const theme = {
166
139
  "itemLeadingAvatarSize": "2xs",
167
140
  "itemLeadingChip": "size-3 not-group-data-reka-collection-item:ps-2.5",
168
141
  "itemLeadingChipSize": "sm",
169
- "itemTrailingIcon": "size-3",
170
- "scrollUpDownButtonIcon": "size-4"
142
+ "itemTrailingIcon": "size-3"
171
143
  }
172
144
  },
173
145
  "color": {
@@ -566,6 +538,4 @@ const theme = {
566
538
  "color": "primary" as typeof color[number],
567
539
  "tagColor": "primary" as typeof tagColor[number]
568
540
  }
569
- }
570
-
571
- export default result as typeof theme
541
+ }