@helpwave/hightide 0.1.24 → 0.1.26

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 (602) hide show
  1. package/README.md +1 -1
  2. package/dist/components/branding/HelpwaveBadge.d.mts +4 -5
  3. package/dist/components/branding/HelpwaveBadge.d.ts +4 -5
  4. package/dist/components/branding/HelpwaveBadge.js +46 -87
  5. package/dist/components/branding/HelpwaveBadge.js.map +1 -1
  6. package/dist/components/branding/HelpwaveBadge.mjs +46 -89
  7. package/dist/components/branding/HelpwaveBadge.mjs.map +1 -1
  8. package/dist/components/date/DatePicker.d.mts +1 -1
  9. package/dist/components/date/DatePicker.d.ts +1 -1
  10. package/dist/components/date/DatePicker.js +106 -60
  11. package/dist/components/date/DatePicker.js.map +1 -1
  12. package/dist/components/date/DatePicker.mjs +107 -61
  13. package/dist/components/date/DatePicker.mjs.map +1 -1
  14. package/dist/components/date/DayPicker.d.mts +1 -1
  15. package/dist/components/date/DayPicker.d.ts +1 -1
  16. package/dist/components/date/DayPicker.js +3 -3
  17. package/dist/components/date/DayPicker.js.map +1 -1
  18. package/dist/components/date/DayPicker.mjs +3 -3
  19. package/dist/components/date/DayPicker.mjs.map +1 -1
  20. package/dist/components/date/TimeDisplay.js.map +1 -1
  21. package/dist/components/date/TimeDisplay.mjs.map +1 -1
  22. package/dist/components/date/TimePicker.js +2 -2
  23. package/dist/components/date/TimePicker.js.map +1 -1
  24. package/dist/components/date/TimePicker.mjs +2 -2
  25. package/dist/components/date/TimePicker.mjs.map +1 -1
  26. package/dist/components/date/YearMonthPicker.js +84 -36
  27. package/dist/components/date/YearMonthPicker.js.map +1 -1
  28. package/dist/components/date/YearMonthPicker.mjs +85 -37
  29. package/dist/components/date/YearMonthPicker.mjs.map +1 -1
  30. package/dist/components/{dialogs → dialog}/ConfirmDialog.d.mts +9 -8
  31. package/dist/components/{dialogs → dialog}/ConfirmDialog.d.ts +9 -8
  32. package/dist/components/dialog/ConfirmDialog.js +938 -0
  33. package/dist/components/dialog/ConfirmDialog.js.map +1 -0
  34. package/dist/components/dialog/ConfirmDialog.mjs +902 -0
  35. package/dist/components/dialog/ConfirmDialog.mjs.map +1 -0
  36. package/dist/components/dialog/Dialog.d.mts +27 -0
  37. package/dist/components/dialog/Dialog.d.ts +27 -0
  38. package/dist/components/dialog/Dialog.js +879 -0
  39. package/dist/components/dialog/Dialog.js.map +1 -0
  40. package/dist/components/dialog/Dialog.mjs +845 -0
  41. package/dist/components/dialog/Dialog.mjs.map +1 -0
  42. package/dist/components/dialog/DiscardChangesDialog.d.mts +24 -0
  43. package/dist/components/dialog/DiscardChangesDialog.d.ts +24 -0
  44. package/dist/components/dialog/DiscardChangesDialog.js +966 -0
  45. package/dist/components/dialog/DiscardChangesDialog.js.map +1 -0
  46. package/dist/components/dialog/DiscardChangesDialog.mjs +930 -0
  47. package/dist/components/dialog/DiscardChangesDialog.mjs.map +1 -0
  48. package/dist/components/dialog/InputDialog.d.mts +22 -0
  49. package/dist/components/dialog/InputDialog.d.ts +22 -0
  50. package/dist/components/dialog/InputDialog.js +1139 -0
  51. package/dist/components/dialog/InputDialog.js.map +1 -0
  52. package/dist/components/dialog/InputDialog.mjs +1103 -0
  53. package/dist/components/dialog/InputDialog.mjs.map +1 -0
  54. package/dist/components/dialog/LanguageDialog.d.mts +25 -0
  55. package/dist/components/dialog/LanguageDialog.d.ts +25 -0
  56. package/dist/components/dialog/LanguageDialog.js +1684 -0
  57. package/dist/components/dialog/LanguageDialog.js.map +1 -0
  58. package/dist/components/dialog/LanguageDialog.mjs +1658 -0
  59. package/dist/components/dialog/LanguageDialog.mjs.map +1 -0
  60. package/dist/components/dialog/ThemeDialog.d.mts +26 -0
  61. package/dist/components/dialog/ThemeDialog.d.ts +26 -0
  62. package/dist/components/dialog/ThemeDialog.js +1715 -0
  63. package/dist/components/dialog/ThemeDialog.js.map +1 -0
  64. package/dist/components/dialog/ThemeDialog.mjs +1689 -0
  65. package/dist/components/dialog/ThemeDialog.mjs.map +1 -0
  66. package/dist/components/dialog/index.d.mts +17 -0
  67. package/dist/components/dialog/index.d.ts +17 -0
  68. package/dist/components/dialog/index.js +2062 -0
  69. package/dist/components/dialog/index.js.map +1 -0
  70. package/dist/components/dialog/index.mjs +2031 -0
  71. package/dist/components/dialog/index.mjs.map +1 -0
  72. package/dist/components/form/FormElementWrapper.d.mts +29 -0
  73. package/dist/components/form/FormElementWrapper.d.ts +29 -0
  74. package/dist/components/form/FormElementWrapper.js +98 -0
  75. package/dist/components/form/FormElementWrapper.js.map +1 -0
  76. package/dist/components/form/FormElementWrapper.mjs +64 -0
  77. package/dist/components/form/FormElementWrapper.mjs.map +1 -0
  78. package/dist/components/icons-and-geometry/Avatar.js +498 -2886
  79. package/dist/components/icons-and-geometry/Avatar.js.map +1 -1
  80. package/dist/components/icons-and-geometry/Avatar.mjs +490 -2878
  81. package/dist/components/icons-and-geometry/Avatar.mjs.map +1 -1
  82. package/dist/components/icons-and-geometry/{Helpwave.d.mts → HelpwaveLogo.d.mts} +3 -3
  83. package/dist/components/icons-and-geometry/{Helpwave.d.ts → HelpwaveLogo.d.ts} +3 -3
  84. package/dist/components/icons-and-geometry/{Helpwave.js → HelpwaveLogo.js} +21 -22
  85. package/dist/components/icons-and-geometry/HelpwaveLogo.js.map +1 -0
  86. package/dist/components/icons-and-geometry/{Helpwave.mjs → HelpwaveLogo.mjs} +17 -18
  87. package/dist/components/icons-and-geometry/HelpwaveLogo.mjs.map +1 -0
  88. package/dist/components/icons-and-geometry/Ring.js +1 -1
  89. package/dist/components/icons-and-geometry/Ring.js.map +1 -1
  90. package/dist/components/icons-and-geometry/Ring.mjs +1 -1
  91. package/dist/components/icons-and-geometry/Ring.mjs.map +1 -1
  92. package/dist/components/icons-and-geometry/Tag.js +8 -20
  93. package/dist/components/icons-and-geometry/Tag.js.map +1 -1
  94. package/dist/components/icons-and-geometry/Tag.mjs +8 -20
  95. package/dist/components/icons-and-geometry/Tag.mjs.map +1 -1
  96. package/dist/components/layout-and-navigation/BreadCrumb.js +667 -22
  97. package/dist/components/layout-and-navigation/BreadCrumb.js.map +1 -1
  98. package/dist/components/layout-and-navigation/BreadCrumb.mjs +667 -22
  99. package/dist/components/layout-and-navigation/BreadCrumb.mjs.map +1 -1
  100. package/dist/components/layout-and-navigation/Carousel.js +52 -53
  101. package/dist/components/layout-and-navigation/Carousel.js.map +1 -1
  102. package/dist/components/layout-and-navigation/Carousel.mjs +52 -53
  103. package/dist/components/layout-and-navigation/Carousel.mjs.map +1 -1
  104. package/dist/components/layout-and-navigation/Chip.d.mts +8 -5
  105. package/dist/components/layout-and-navigation/Chip.d.ts +8 -5
  106. package/dist/components/layout-and-navigation/Chip.js +17 -4
  107. package/dist/components/layout-and-navigation/Chip.js.map +1 -1
  108. package/dist/components/layout-and-navigation/Chip.mjs +17 -4
  109. package/dist/components/layout-and-navigation/Chip.mjs.map +1 -1
  110. package/dist/components/layout-and-navigation/Expandable.d.mts +13 -10
  111. package/dist/components/layout-and-navigation/Expandable.d.ts +13 -10
  112. package/dist/components/layout-and-navigation/Expandable.js +18 -5
  113. package/dist/components/layout-and-navigation/Expandable.js.map +1 -1
  114. package/dist/components/layout-and-navigation/Expandable.mjs +19 -6
  115. package/dist/components/layout-and-navigation/Expandable.mjs.map +1 -1
  116. package/dist/components/layout-and-navigation/FAQSection.js +21 -8
  117. package/dist/components/layout-and-navigation/FAQSection.js.map +1 -1
  118. package/dist/components/layout-and-navigation/FAQSection.mjs +22 -9
  119. package/dist/components/layout-and-navigation/FAQSection.mjs.map +1 -1
  120. package/dist/components/layout-and-navigation/FloatingContainer.d.mts +38 -0
  121. package/dist/components/layout-and-navigation/FloatingContainer.d.ts +38 -0
  122. package/dist/components/layout-and-navigation/FloatingContainer.js +219 -0
  123. package/dist/components/layout-and-navigation/FloatingContainer.js.map +1 -0
  124. package/dist/components/layout-and-navigation/FloatingContainer.mjs +195 -0
  125. package/dist/components/layout-and-navigation/FloatingContainer.mjs.map +1 -0
  126. package/dist/components/layout-and-navigation/ListBox.d.mts +44 -0
  127. package/dist/components/layout-and-navigation/ListBox.d.ts +44 -0
  128. package/dist/components/layout-and-navigation/ListBox.js +329 -0
  129. package/dist/components/layout-and-navigation/ListBox.js.map +1 -0
  130. package/dist/components/layout-and-navigation/ListBox.mjs +290 -0
  131. package/dist/components/layout-and-navigation/ListBox.mjs.map +1 -0
  132. package/dist/components/layout-and-navigation/Pagination.js +142 -230
  133. package/dist/components/layout-and-navigation/Pagination.js.map +1 -1
  134. package/dist/components/layout-and-navigation/Pagination.mjs +137 -225
  135. package/dist/components/layout-and-navigation/Pagination.mjs.map +1 -1
  136. package/dist/components/layout-and-navigation/ScrollArea.d.mts +15 -0
  137. package/dist/components/layout-and-navigation/ScrollArea.d.ts +15 -0
  138. package/dist/components/layout-and-navigation/ScrollArea.js +1252 -0
  139. package/dist/components/layout-and-navigation/ScrollArea.js.map +1 -0
  140. package/dist/components/layout-and-navigation/ScrollArea.mjs +1216 -0
  141. package/dist/components/layout-and-navigation/ScrollArea.mjs.map +1 -0
  142. package/dist/components/layout-and-navigation/StepperBar.js +67 -30
  143. package/dist/components/layout-and-navigation/StepperBar.js.map +1 -1
  144. package/dist/components/layout-and-navigation/StepperBar.mjs +67 -30
  145. package/dist/components/layout-and-navigation/StepperBar.mjs.map +1 -1
  146. package/dist/components/layout-and-navigation/TextImage.js +3 -1
  147. package/dist/components/layout-and-navigation/TextImage.js.map +1 -1
  148. package/dist/components/layout-and-navigation/TextImage.mjs +3 -1
  149. package/dist/components/layout-and-navigation/TextImage.mjs.map +1 -1
  150. package/dist/components/loading-states/ErrorComponent.js.map +1 -1
  151. package/dist/components/loading-states/ErrorComponent.mjs.map +1 -1
  152. package/dist/components/loading-states/LoadingAndErrorComponent.d.mts +1 -1
  153. package/dist/components/loading-states/LoadingAndErrorComponent.d.ts +1 -1
  154. package/dist/components/loading-states/LoadingAnimation.js +18 -17
  155. package/dist/components/loading-states/LoadingAnimation.js.map +1 -1
  156. package/dist/components/loading-states/LoadingAnimation.mjs +18 -17
  157. package/dist/components/loading-states/LoadingAnimation.mjs.map +1 -1
  158. package/dist/components/loading-states/LoadingButton.js +81 -47
  159. package/dist/components/loading-states/LoadingButton.js.map +1 -1
  160. package/dist/components/loading-states/LoadingButton.mjs +81 -47
  161. package/dist/components/loading-states/LoadingButton.mjs.map +1 -1
  162. package/dist/components/properties/CheckboxProperty.js +929 -153
  163. package/dist/components/properties/CheckboxProperty.js.map +1 -1
  164. package/dist/components/properties/CheckboxProperty.mjs +936 -160
  165. package/dist/components/properties/CheckboxProperty.mjs.map +1 -1
  166. package/dist/components/properties/DateProperty.js +191 -241
  167. package/dist/components/properties/DateProperty.js.map +1 -1
  168. package/dist/components/properties/DateProperty.mjs +184 -234
  169. package/dist/components/properties/DateProperty.mjs.map +1 -1
  170. package/dist/components/properties/MultiSelectProperty.d.mts +5 -10
  171. package/dist/components/properties/MultiSelectProperty.d.ts +5 -10
  172. package/dist/components/properties/MultiSelectProperty.js +1193 -1189
  173. package/dist/components/properties/MultiSelectProperty.js.map +1 -1
  174. package/dist/components/properties/MultiSelectProperty.mjs +1207 -1193
  175. package/dist/components/properties/MultiSelectProperty.mjs.map +1 -1
  176. package/dist/components/properties/NumberProperty.js +193 -244
  177. package/dist/components/properties/NumberProperty.js.map +1 -1
  178. package/dist/components/properties/NumberProperty.mjs +186 -237
  179. package/dist/components/properties/NumberProperty.mjs.map +1 -1
  180. package/dist/components/properties/PropertyBase.js +91 -56
  181. package/dist/components/properties/PropertyBase.js.map +1 -1
  182. package/dist/components/properties/PropertyBase.mjs +91 -56
  183. package/dist/components/properties/PropertyBase.mjs.map +1 -1
  184. package/dist/components/properties/SelectProperty.d.mts +5 -8
  185. package/dist/components/properties/SelectProperty.d.ts +5 -8
  186. package/dist/components/properties/SelectProperty.js +1102 -897
  187. package/dist/components/properties/SelectProperty.js.map +1 -1
  188. package/dist/components/properties/SelectProperty.mjs +1107 -892
  189. package/dist/components/properties/SelectProperty.mjs.map +1 -1
  190. package/dist/components/properties/TextProperty.js +139 -147
  191. package/dist/components/properties/TextProperty.js.map +1 -1
  192. package/dist/components/properties/TextProperty.mjs +142 -150
  193. package/dist/components/properties/TextProperty.mjs.map +1 -1
  194. package/dist/components/table/Table.js +1639 -991
  195. package/dist/components/table/Table.js.map +1 -1
  196. package/dist/components/table/Table.mjs +1645 -997
  197. package/dist/components/table/Table.mjs.map +1 -1
  198. package/dist/components/table/TableFilterButton.js +156 -244
  199. package/dist/components/table/TableFilterButton.js.map +1 -1
  200. package/dist/components/table/TableFilterButton.mjs +145 -233
  201. package/dist/components/table/TableFilterButton.mjs.map +1 -1
  202. package/dist/components/table/TableSortButton.js +44 -46
  203. package/dist/components/table/TableSortButton.js.map +1 -1
  204. package/dist/components/table/TableSortButton.mjs +44 -46
  205. package/dist/components/table/TableSortButton.mjs.map +1 -1
  206. package/dist/components/user-action/Button.d.mts +17 -13
  207. package/dist/components/user-action/Button.d.ts +17 -13
  208. package/dist/components/user-action/Button.js +80 -87
  209. package/dist/components/user-action/Button.js.map +1 -1
  210. package/dist/components/user-action/Button.mjs +80 -87
  211. package/dist/components/user-action/Button.mjs.map +1 -1
  212. package/dist/components/user-action/Checkbox.d.mts +9 -25
  213. package/dist/components/user-action/Checkbox.d.ts +9 -25
  214. package/dist/components/user-action/Checkbox.js +794 -78
  215. package/dist/components/user-action/Checkbox.js.map +1 -1
  216. package/dist/components/user-action/Checkbox.mjs +795 -79
  217. package/dist/components/user-action/Checkbox.mjs.map +1 -1
  218. package/dist/components/user-action/CopyToClipboardWrapper.js +3 -1
  219. package/dist/components/user-action/CopyToClipboardWrapper.js.map +1 -1
  220. package/dist/components/user-action/CopyToClipboardWrapper.mjs +3 -1
  221. package/dist/components/user-action/CopyToClipboardWrapper.mjs.map +1 -1
  222. package/dist/components/user-action/DateAndTimePicker.d.mts +1 -1
  223. package/dist/components/user-action/DateAndTimePicker.d.ts +1 -1
  224. package/dist/components/user-action/DateAndTimePicker.js +108 -60
  225. package/dist/components/user-action/DateAndTimePicker.js.map +1 -1
  226. package/dist/components/user-action/DateAndTimePicker.mjs +109 -61
  227. package/dist/components/user-action/DateAndTimePicker.mjs.map +1 -1
  228. package/dist/components/user-action/Label.d.mts +6 -8
  229. package/dist/components/user-action/Label.d.ts +6 -8
  230. package/dist/components/user-action/Label.js +4 -6
  231. package/dist/components/user-action/Label.js.map +1 -1
  232. package/dist/components/user-action/Label.mjs +4 -6
  233. package/dist/components/user-action/Label.mjs.map +1 -1
  234. package/dist/components/user-action/Menu.d.mts +2 -2
  235. package/dist/components/user-action/Menu.d.ts +2 -2
  236. package/dist/components/user-action/Menu.js +1 -1
  237. package/dist/components/user-action/Menu.js.map +1 -1
  238. package/dist/components/user-action/Menu.mjs +1 -1
  239. package/dist/components/user-action/Menu.mjs.map +1 -1
  240. package/dist/components/user-action/ScrollPicker.js +8 -6
  241. package/dist/components/user-action/ScrollPicker.js.map +1 -1
  242. package/dist/components/user-action/ScrollPicker.mjs +8 -6
  243. package/dist/components/user-action/ScrollPicker.mjs.map +1 -1
  244. package/dist/components/user-action/SearchBar.d.mts +1 -2
  245. package/dist/components/user-action/SearchBar.d.ts +1 -2
  246. package/dist/components/user-action/SearchBar.js +131 -219
  247. package/dist/components/user-action/SearchBar.js.map +1 -1
  248. package/dist/components/user-action/SearchBar.mjs +124 -212
  249. package/dist/components/user-action/SearchBar.mjs.map +1 -1
  250. package/dist/components/user-action/Textarea.d.mts +22 -11
  251. package/dist/components/user-action/Textarea.d.ts +22 -11
  252. package/dist/components/user-action/Textarea.js +101 -92
  253. package/dist/components/user-action/Textarea.js.map +1 -1
  254. package/dist/components/user-action/Textarea.mjs +100 -92
  255. package/dist/components/user-action/Textarea.mjs.map +1 -1
  256. package/dist/components/user-action/input/Input.d.mts +37 -0
  257. package/dist/components/user-action/input/Input.d.ts +37 -0
  258. package/dist/components/user-action/input/Input.js +244 -0
  259. package/dist/components/user-action/input/Input.js.map +1 -0
  260. package/dist/components/user-action/input/Input.mjs +209 -0
  261. package/dist/components/user-action/input/Input.mjs.map +1 -0
  262. package/dist/components/user-action/input/InsideLabelInput.d.mts +20 -0
  263. package/dist/components/user-action/input/InsideLabelInput.d.ts +20 -0
  264. package/dist/components/user-action/input/InsideLabelInput.js +295 -0
  265. package/dist/components/user-action/input/InsideLabelInput.js.map +1 -0
  266. package/dist/components/user-action/input/InsideLabelInput.mjs +260 -0
  267. package/dist/components/user-action/input/InsideLabelInput.mjs.map +1 -0
  268. package/dist/components/user-action/input/ToggleableInput.d.mts +22 -0
  269. package/dist/components/user-action/input/ToggleableInput.d.ts +22 -0
  270. package/dist/components/user-action/{Input.js → input/ToggleableInput.js} +136 -171
  271. package/dist/components/user-action/input/ToggleableInput.js.map +1 -0
  272. package/dist/components/user-action/input/ToggleableInput.mjs +264 -0
  273. package/dist/components/user-action/input/ToggleableInput.mjs.map +1 -0
  274. package/dist/components/user-action/select/Select.d.mts +98 -0
  275. package/dist/components/user-action/select/Select.d.ts +98 -0
  276. package/dist/components/user-action/select/Select.js +1354 -0
  277. package/dist/components/user-action/select/Select.js.map +1 -0
  278. package/dist/components/user-action/select/Select.mjs +1320 -0
  279. package/dist/components/user-action/select/Select.mjs.map +1 -0
  280. package/dist/components/utils/FocusTrap.d.mts +28 -0
  281. package/dist/components/utils/FocusTrap.d.ts +28 -0
  282. package/dist/components/utils/FocusTrap.js +252 -0
  283. package/dist/components/utils/FocusTrap.js.map +1 -0
  284. package/dist/components/utils/FocusTrap.mjs +229 -0
  285. package/dist/components/utils/FocusTrap.mjs.map +1 -0
  286. package/dist/components/utils/Transition.d.mts +26 -0
  287. package/dist/components/utils/Transition.d.ts +26 -0
  288. package/dist/components/utils/Transition.js +74 -0
  289. package/dist/components/utils/Transition.js.map +1 -0
  290. package/dist/components/utils/Transition.mjs +50 -0
  291. package/dist/components/utils/Transition.mjs.map +1 -0
  292. package/dist/hooks/focus/useFocusGuards.d.mts +3 -0
  293. package/dist/hooks/focus/useFocusGuards.d.ts +3 -0
  294. package/dist/hooks/focus/useFocusGuards.js +74 -0
  295. package/dist/hooks/focus/useFocusGuards.js.map +1 -0
  296. package/dist/hooks/focus/useFocusGuards.mjs +50 -0
  297. package/dist/hooks/focus/useFocusGuards.mjs.map +1 -0
  298. package/dist/hooks/{useFocusManagement.js → focus/useFocusManagement.js} +1 -1
  299. package/dist/hooks/focus/useFocusManagement.js.map +1 -0
  300. package/dist/hooks/{useFocusManagement.mjs → focus/useFocusManagement.mjs} +1 -1
  301. package/dist/hooks/focus/useFocusManagement.mjs.map +1 -0
  302. package/dist/hooks/{useFocusOnceVisible.js → focus/useFocusOnceVisible.js} +1 -1
  303. package/dist/hooks/focus/useFocusOnceVisible.js.map +1 -0
  304. package/dist/hooks/{useFocusOnceVisible.mjs → focus/useFocusOnceVisible.mjs} +1 -1
  305. package/dist/hooks/focus/useFocusOnceVisible.mjs.map +1 -0
  306. package/dist/hooks/focus/useFocusTrap.d.mts +16 -0
  307. package/dist/hooks/focus/useFocusTrap.d.ts +16 -0
  308. package/dist/hooks/focus/useFocusTrap.js +233 -0
  309. package/dist/hooks/focus/useFocusTrap.js.map +1 -0
  310. package/dist/hooks/focus/useFocusTrap.mjs +210 -0
  311. package/dist/hooks/focus/useFocusTrap.mjs.map +1 -0
  312. package/dist/hooks/focus/useIsMounted.d.mts +3 -0
  313. package/dist/hooks/focus/useIsMounted.d.ts +3 -0
  314. package/dist/hooks/focus/useIsMounted.js +43 -0
  315. package/dist/hooks/focus/useIsMounted.js.map +1 -0
  316. package/dist/hooks/focus/useIsMounted.mjs +20 -0
  317. package/dist/hooks/focus/useIsMounted.mjs.map +1 -0
  318. package/dist/hooks/useFloatingElement.d.mts +22 -0
  319. package/dist/hooks/useFloatingElement.d.ts +22 -0
  320. package/dist/hooks/useFloatingElement.js +162 -0
  321. package/dist/hooks/useFloatingElement.js.map +1 -0
  322. package/dist/hooks/useFloatingElement.mjs +139 -0
  323. package/dist/hooks/useFloatingElement.mjs.map +1 -0
  324. package/dist/hooks/useLocalStorage.js +2 -2
  325. package/dist/hooks/useLocalStorage.js.map +1 -1
  326. package/dist/hooks/useLocalStorage.mjs +2 -2
  327. package/dist/hooks/useLocalStorage.mjs.map +1 -1
  328. package/dist/hooks/useLogOnce.d.mts +3 -4
  329. package/dist/hooks/useLogOnce.d.ts +3 -4
  330. package/dist/hooks/useLogOnce.js +5 -5
  331. package/dist/hooks/useLogOnce.js.map +1 -1
  332. package/dist/hooks/useLogOnce.mjs +5 -5
  333. package/dist/hooks/useLogOnce.mjs.map +1 -1
  334. package/dist/hooks/useRerender.d.mts +2 -2
  335. package/dist/hooks/useRerender.d.ts +2 -2
  336. package/dist/hooks/useSearch.d.mts +2 -2
  337. package/dist/hooks/useSearch.d.ts +2 -2
  338. package/dist/hooks/useSearch.js +1 -1
  339. package/dist/hooks/useSearch.js.map +1 -1
  340. package/dist/hooks/useSearch.mjs +1 -1
  341. package/dist/hooks/useSearch.mjs.map +1 -1
  342. package/dist/localization/LanguageProvider.d.mts +2 -2
  343. package/dist/localization/LanguageProvider.d.ts +2 -2
  344. package/dist/localization/LanguageProvider.js +2 -2
  345. package/dist/localization/LanguageProvider.js.map +1 -1
  346. package/dist/localization/LanguageProvider.mjs +2 -2
  347. package/dist/localization/LanguageProvider.mjs.map +1 -1
  348. package/dist/localization/defaults/form.d.mts +1 -0
  349. package/dist/localization/defaults/form.d.ts +1 -0
  350. package/dist/localization/defaults/form.js +2 -0
  351. package/dist/localization/defaults/form.js.map +1 -1
  352. package/dist/localization/defaults/form.mjs +2 -0
  353. package/dist/localization/defaults/form.mjs.map +1 -1
  354. package/dist/localization/useTranslation.js.map +1 -1
  355. package/dist/localization/useTranslation.mjs.map +1 -1
  356. package/dist/storybook/helper.d.mts +17 -0
  357. package/dist/storybook/helper.d.ts +17 -0
  358. package/dist/storybook/helper.js +61 -0
  359. package/dist/storybook/helper.js.map +1 -0
  360. package/dist/storybook/helper.mjs +37 -0
  361. package/dist/storybook/helper.mjs.map +1 -0
  362. package/dist/{css → style}/globals.css +994 -456
  363. package/dist/{css → style}/uncompiled/globals.css +75 -13
  364. package/dist/{css → style}/uncompiled/theme/colors-component.css +18 -4
  365. package/dist/{css → style}/uncompiled/theme/colors-semantic.css +2 -9
  366. package/dist/style/uncompiled/typography.css +171 -0
  367. package/dist/{css → style}/uncompiled/utitlity/animation.css +54 -42
  368. package/dist/{css → style}/uncompiled/utitlity/index.css +2 -1
  369. package/dist/{css → style}/uncompiled/utitlity/shadow.css +5 -1
  370. package/dist/style/uncompiled/utitlity/sizing.css +29 -0
  371. package/dist/theming/useTheme.d.mts +2 -2
  372. package/dist/theming/useTheme.d.ts +2 -2
  373. package/dist/theming/useTheme.js +4 -4
  374. package/dist/theming/useTheme.js.map +1 -1
  375. package/dist/theming/useTheme.mjs +4 -4
  376. package/dist/theming/useTheme.mjs.map +1 -1
  377. package/dist/{util → utils}/array.d.mts +1 -0
  378. package/dist/{util → utils}/array.d.ts +1 -0
  379. package/dist/{util → utils}/array.js +15 -2
  380. package/dist/utils/array.js.map +1 -0
  381. package/dist/{util → utils}/array.mjs +15 -2
  382. package/dist/utils/array.mjs.map +1 -0
  383. package/dist/utils/bagFunctions.d.mts +15 -0
  384. package/dist/utils/bagFunctions.d.ts +15 -0
  385. package/dist/{util/PropsWithFunctionChildren.js → utils/bagFunctions.js} +5 -5
  386. package/dist/utils/bagFunctions.js.map +1 -0
  387. package/dist/{util/PropsWithFunctionChildren.mjs → utils/bagFunctions.mjs} +2 -2
  388. package/dist/utils/bagFunctions.mjs.map +1 -0
  389. package/dist/{util → utils}/builder.js +1 -1
  390. package/dist/utils/builder.js.map +1 -0
  391. package/dist/{util → utils}/builder.mjs +1 -1
  392. package/dist/utils/builder.mjs.map +1 -0
  393. package/dist/{util → utils}/date.js +3 -3
  394. package/dist/utils/date.js.map +1 -0
  395. package/dist/{util → utils}/date.mjs +2 -2
  396. package/dist/utils/date.mjs.map +1 -0
  397. package/dist/{util → utils}/easeFunctions.js +5 -4
  398. package/dist/utils/easeFunctions.js.map +1 -0
  399. package/dist/{util → utils}/easeFunctions.mjs +4 -3
  400. package/dist/utils/easeFunctions.mjs.map +1 -0
  401. package/dist/{util → utils}/emailValidation.js +1 -1
  402. package/dist/utils/emailValidation.js.map +1 -0
  403. package/dist/{util → utils}/emailValidation.mjs +1 -1
  404. package/dist/utils/emailValidation.mjs.map +1 -0
  405. package/dist/{util → utils}/loopingArray.js +1 -1
  406. package/dist/utils/loopingArray.js.map +1 -0
  407. package/dist/{util → utils}/loopingArray.mjs +1 -1
  408. package/dist/utils/loopingArray.mjs.map +1 -0
  409. package/dist/utils/match.d.mts +3 -0
  410. package/dist/utils/match.d.ts +3 -0
  411. package/dist/utils/match.js +32 -0
  412. package/dist/utils/match.js.map +1 -0
  413. package/dist/utils/match.mjs +8 -0
  414. package/dist/utils/match.mjs.map +1 -0
  415. package/dist/utils/math.d.mts +3 -0
  416. package/dist/utils/math.d.ts +3 -0
  417. package/dist/{util → utils}/math.js +3 -2
  418. package/dist/utils/math.js.map +1 -0
  419. package/dist/utils/math.mjs +9 -0
  420. package/dist/utils/math.mjs.map +1 -0
  421. package/dist/{util → utils}/noop.js +1 -1
  422. package/dist/utils/noop.js.map +1 -0
  423. package/dist/utils/noop.mjs +6 -0
  424. package/dist/utils/noop.mjs.map +1 -0
  425. package/dist/{util → utils}/resolveSetState.js +1 -1
  426. package/dist/utils/resolveSetState.js.map +1 -0
  427. package/dist/{util → utils}/resolveSetState.mjs +1 -1
  428. package/dist/utils/resolveSetState.mjs.map +1 -0
  429. package/dist/{util → utils}/simpleSearch.js +1 -1
  430. package/dist/utils/simpleSearch.js.map +1 -0
  431. package/dist/{util → utils}/simpleSearch.mjs +1 -1
  432. package/dist/utils/simpleSearch.mjs.map +1 -0
  433. package/dist/{util → utils}/storage.js +1 -1
  434. package/dist/utils/storage.js.map +1 -0
  435. package/dist/{util → utils}/storage.mjs +1 -1
  436. package/dist/utils/storage.mjs.map +1 -0
  437. package/dist/{util → utils}/writeToClipboard.js +2 -1
  438. package/dist/utils/writeToClipboard.js.map +1 -0
  439. package/dist/{util → utils}/writeToClipboard.mjs +3 -1
  440. package/dist/utils/writeToClipboard.mjs.map +1 -0
  441. package/package.json +8 -8
  442. package/dist/components/dialogs/ConfirmDialog.js +0 -677
  443. package/dist/components/dialogs/ConfirmDialog.js.map +0 -1
  444. package/dist/components/dialogs/ConfirmDialog.mjs +0 -641
  445. package/dist/components/dialogs/ConfirmDialog.mjs.map +0 -1
  446. package/dist/components/icons-and-geometry/Helpwave.js.map +0 -1
  447. package/dist/components/icons-and-geometry/Helpwave.mjs.map +0 -1
  448. package/dist/components/layout-and-navigation/Overlay.d.mts +0 -67
  449. package/dist/components/layout-and-navigation/Overlay.d.ts +0 -67
  450. package/dist/components/layout-and-navigation/Overlay.js +0 -705
  451. package/dist/components/layout-and-navigation/Overlay.js.map +0 -1
  452. package/dist/components/layout-and-navigation/Overlay.mjs +0 -668
  453. package/dist/components/layout-and-navigation/Overlay.mjs.map +0 -1
  454. package/dist/components/layout-and-navigation/SearchableList.d.mts +0 -24
  455. package/dist/components/layout-and-navigation/SearchableList.d.ts +0 -24
  456. package/dist/components/layout-and-navigation/SearchableList.js +0 -761
  457. package/dist/components/layout-and-navigation/SearchableList.js.map +0 -1
  458. package/dist/components/layout-and-navigation/SearchableList.mjs +0 -727
  459. package/dist/components/layout-and-navigation/SearchableList.mjs.map +0 -1
  460. package/dist/components/layout-and-navigation/Tile.d.mts +0 -27
  461. package/dist/components/layout-and-navigation/Tile.d.ts +0 -27
  462. package/dist/components/layout-and-navigation/Tile.js +0 -96
  463. package/dist/components/layout-and-navigation/Tile.js.map +0 -1
  464. package/dist/components/layout-and-navigation/Tile.mjs +0 -61
  465. package/dist/components/layout-and-navigation/Tile.mjs.map +0 -1
  466. package/dist/components/modals/ConfirmModal.d.mts +0 -33
  467. package/dist/components/modals/ConfirmModal.d.ts +0 -33
  468. package/dist/components/modals/ConfirmModal.js +0 -690
  469. package/dist/components/modals/ConfirmModal.js.map +0 -1
  470. package/dist/components/modals/ConfirmModal.mjs +0 -654
  471. package/dist/components/modals/ConfirmModal.mjs.map +0 -1
  472. package/dist/components/modals/DiscardChangesModal.d.mts +0 -20
  473. package/dist/components/modals/DiscardChangesModal.d.ts +0 -20
  474. package/dist/components/modals/DiscardChangesModal.js +0 -720
  475. package/dist/components/modals/DiscardChangesModal.js.map +0 -1
  476. package/dist/components/modals/DiscardChangesModal.mjs +0 -684
  477. package/dist/components/modals/DiscardChangesModal.mjs.map +0 -1
  478. package/dist/components/modals/InputModal.d.mts +0 -21
  479. package/dist/components/modals/InputModal.d.ts +0 -21
  480. package/dist/components/modals/InputModal.js +0 -979
  481. package/dist/components/modals/InputModal.js.map +0 -1
  482. package/dist/components/modals/InputModal.mjs +0 -943
  483. package/dist/components/modals/InputModal.mjs.map +0 -1
  484. package/dist/components/modals/LanguageModal.d.mts +0 -21
  485. package/dist/components/modals/LanguageModal.d.ts +0 -21
  486. package/dist/components/modals/LanguageModal.js +0 -1474
  487. package/dist/components/modals/LanguageModal.js.map +0 -1
  488. package/dist/components/modals/LanguageModal.mjs +0 -1438
  489. package/dist/components/modals/LanguageModal.mjs.map +0 -1
  490. package/dist/components/modals/ThemeModal.d.mts +0 -21
  491. package/dist/components/modals/ThemeModal.d.ts +0 -21
  492. package/dist/components/modals/ThemeModal.js +0 -1503
  493. package/dist/components/modals/ThemeModal.js.map +0 -1
  494. package/dist/components/modals/ThemeModal.mjs +0 -1467
  495. package/dist/components/modals/ThemeModal.mjs.map +0 -1
  496. package/dist/components/user-action/Input.d.mts +0 -77
  497. package/dist/components/user-action/Input.d.ts +0 -77
  498. package/dist/components/user-action/Input.js.map +0 -1
  499. package/dist/components/user-action/Input.mjs +0 -298
  500. package/dist/components/user-action/Input.mjs.map +0 -1
  501. package/dist/components/user-action/MultiSelect.d.mts +0 -42
  502. package/dist/components/user-action/MultiSelect.d.ts +0 -42
  503. package/dist/components/user-action/MultiSelect.js +0 -1445
  504. package/dist/components/user-action/MultiSelect.js.map +0 -1
  505. package/dist/components/user-action/MultiSelect.mjs +0 -1410
  506. package/dist/components/user-action/MultiSelect.mjs.map +0 -1
  507. package/dist/components/user-action/Select.d.mts +0 -41
  508. package/dist/components/user-action/Select.d.ts +0 -41
  509. package/dist/components/user-action/Select.js +0 -1242
  510. package/dist/components/user-action/Select.js.map +0 -1
  511. package/dist/components/user-action/Select.mjs +0 -1207
  512. package/dist/components/user-action/Select.mjs.map +0 -1
  513. package/dist/components/user-action/ToggleableInput.d.mts +0 -37
  514. package/dist/components/user-action/ToggleableInput.d.ts +0 -37
  515. package/dist/components/user-action/ToggleableInput.js +0 -192
  516. package/dist/components/user-action/ToggleableInput.js.map +0 -1
  517. package/dist/components/user-action/ToggleableInput.mjs +0 -157
  518. package/dist/components/user-action/ToggleableInput.mjs.map +0 -1
  519. package/dist/css/uncompiled/textstyles.css +0 -69
  520. package/dist/hooks/useFocusManagement.js.map +0 -1
  521. package/dist/hooks/useFocusManagement.mjs.map +0 -1
  522. package/dist/hooks/useFocusOnceVisible.js.map +0 -1
  523. package/dist/hooks/useFocusOnceVisible.mjs.map +0 -1
  524. package/dist/index.d.mts +0 -103
  525. package/dist/index.d.ts +0 -103
  526. package/dist/index.js +0 -12595
  527. package/dist/index.js.map +0 -1
  528. package/dist/index.mjs +0 -12432
  529. package/dist/index.mjs.map +0 -1
  530. package/dist/util/PropsWithFunctionChildren.d.mts +0 -14
  531. package/dist/util/PropsWithFunctionChildren.d.ts +0 -14
  532. package/dist/util/PropsWithFunctionChildren.js.map +0 -1
  533. package/dist/util/PropsWithFunctionChildren.mjs.map +0 -1
  534. package/dist/util/array.js.map +0 -1
  535. package/dist/util/array.mjs.map +0 -1
  536. package/dist/util/builder.js.map +0 -1
  537. package/dist/util/builder.mjs.map +0 -1
  538. package/dist/util/date.js.map +0 -1
  539. package/dist/util/date.mjs.map +0 -1
  540. package/dist/util/easeFunctions.js.map +0 -1
  541. package/dist/util/easeFunctions.mjs.map +0 -1
  542. package/dist/util/emailValidation.js.map +0 -1
  543. package/dist/util/emailValidation.mjs.map +0 -1
  544. package/dist/util/loopingArray.js.map +0 -1
  545. package/dist/util/loopingArray.mjs.map +0 -1
  546. package/dist/util/math.d.mts +0 -3
  547. package/dist/util/math.d.ts +0 -3
  548. package/dist/util/math.js.map +0 -1
  549. package/dist/util/math.mjs +0 -8
  550. package/dist/util/math.mjs.map +0 -1
  551. package/dist/util/news.d.mts +0 -101
  552. package/dist/util/news.d.ts +0 -101
  553. package/dist/util/news.js +0 -76
  554. package/dist/util/news.js.map +0 -1
  555. package/dist/util/news.mjs +0 -49
  556. package/dist/util/news.mjs.map +0 -1
  557. package/dist/util/noop.js.map +0 -1
  558. package/dist/util/noop.mjs +0 -6
  559. package/dist/util/noop.mjs.map +0 -1
  560. package/dist/util/resolveSetState.js.map +0 -1
  561. package/dist/util/resolveSetState.mjs.map +0 -1
  562. package/dist/util/simpleSearch.js.map +0 -1
  563. package/dist/util/simpleSearch.mjs.map +0 -1
  564. package/dist/util/storage.js.map +0 -1
  565. package/dist/util/storage.mjs.map +0 -1
  566. package/dist/util/types.d.mts +0 -3
  567. package/dist/util/types.d.ts +0 -3
  568. package/dist/util/types.js +0 -18
  569. package/dist/util/types.js.map +0 -1
  570. package/dist/util/types.mjs +0 -1
  571. package/dist/util/types.mjs.map +0 -1
  572. package/dist/util/writeToClipboard.js.map +0 -1
  573. package/dist/util/writeToClipboard.mjs.map +0 -1
  574. /package/dist/hooks/{useFocusManagement.d.mts → focus/useFocusManagement.d.mts} +0 -0
  575. /package/dist/hooks/{useFocusManagement.d.ts → focus/useFocusManagement.d.ts} +0 -0
  576. /package/dist/hooks/{useFocusOnceVisible.d.mts → focus/useFocusOnceVisible.d.mts} +0 -0
  577. /package/dist/hooks/{useFocusOnceVisible.d.ts → focus/useFocusOnceVisible.d.ts} +0 -0
  578. /package/dist/{css → style}/uncompiled/theme/colors-basic.css +0 -0
  579. /package/dist/{css → style}/uncompiled/theme/index.css +0 -0
  580. /package/dist/{css → style}/uncompiled/theme/variants.css +0 -0
  581. /package/dist/{css → style}/uncompiled/utitlity/borderradius.css +0 -0
  582. /package/dist/{css → style}/uncompiled/utitlity/general.css +0 -0
  583. /package/dist/{util → utils}/builder.d.mts +0 -0
  584. /package/dist/{util → utils}/builder.d.ts +0 -0
  585. /package/dist/{util → utils}/date.d.mts +0 -0
  586. /package/dist/{util → utils}/date.d.ts +0 -0
  587. /package/dist/{util → utils}/easeFunctions.d.mts +0 -0
  588. /package/dist/{util → utils}/easeFunctions.d.ts +0 -0
  589. /package/dist/{util → utils}/emailValidation.d.mts +0 -0
  590. /package/dist/{util → utils}/emailValidation.d.ts +0 -0
  591. /package/dist/{util → utils}/loopingArray.d.mts +0 -0
  592. /package/dist/{util → utils}/loopingArray.d.ts +0 -0
  593. /package/dist/{util → utils}/noop.d.mts +0 -0
  594. /package/dist/{util → utils}/noop.d.ts +0 -0
  595. /package/dist/{util → utils}/resolveSetState.d.mts +0 -0
  596. /package/dist/{util → utils}/resolveSetState.d.ts +0 -0
  597. /package/dist/{util → utils}/simpleSearch.d.mts +0 -0
  598. /package/dist/{util → utils}/simpleSearch.d.ts +0 -0
  599. /package/dist/{util → utils}/storage.d.mts +0 -0
  600. /package/dist/{util → utils}/storage.d.ts +0 -0
  601. /package/dist/{util → utils}/writeToClipboard.d.mts +0 -0
  602. /package/dist/{util → utils}/writeToClipboard.d.ts +0 -0
@@ -1,99 +1,817 @@
1
1
  // src/components/properties/CheckboxProperty.tsx
2
2
  import { Check as Check2 } from "lucide-react";
3
3
 
4
- // src/util/noop.ts
4
+ // src/utils/noop.ts
5
5
  var noop = () => void 0;
6
6
 
7
7
  // src/components/user-action/Checkbox.tsx
8
- import { useState } from "react";
9
- import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
8
+ import { useEffect as useEffect5, useState as useState5 } from "react";
10
9
  import { Check, Minus } from "lucide-react";
11
- import clsx2 from "clsx";
12
-
13
- // src/components/user-action/Label.tsx
14
10
  import clsx from "clsx";
11
+
12
+ // node_modules/@radix-ui/react-checkbox/dist/index.mjs
13
+ import * as React10 from "react";
14
+
15
+ // node_modules/@radix-ui/react-compose-refs/dist/index.mjs
16
+ import * as React from "react";
17
+ function setRef(ref, value) {
18
+ if (typeof ref === "function") {
19
+ return ref(value);
20
+ } else if (ref !== null && ref !== void 0) {
21
+ ref.current = value;
22
+ }
23
+ }
24
+ function composeRefs(...refs) {
25
+ return (node) => {
26
+ let hasCleanup = false;
27
+ const cleanups = refs.map((ref) => {
28
+ const cleanup = setRef(ref, node);
29
+ if (!hasCleanup && typeof cleanup == "function") {
30
+ hasCleanup = true;
31
+ }
32
+ return cleanup;
33
+ });
34
+ if (hasCleanup) {
35
+ return () => {
36
+ for (let i = 0; i < cleanups.length; i++) {
37
+ const cleanup = cleanups[i];
38
+ if (typeof cleanup == "function") {
39
+ cleanup();
40
+ } else {
41
+ setRef(refs[i], null);
42
+ }
43
+ }
44
+ };
45
+ }
46
+ };
47
+ }
48
+ function useComposedRefs(...refs) {
49
+ return React.useCallback(composeRefs(...refs), refs);
50
+ }
51
+
52
+ // node_modules/@radix-ui/react-context/dist/index.mjs
53
+ import * as React2 from "react";
15
54
  import { jsx } from "react/jsx-runtime";
16
- var styleMapping = {
17
- labelSmall: "textstyle-label-sm",
18
- labelMedium: "textstyle-label-md",
19
- labelBig: "textstyle-label-lg"
55
+ function createContextScope(scopeName, createContextScopeDeps = []) {
56
+ let defaultContexts = [];
57
+ function createContext3(rootComponentName, defaultContext) {
58
+ const BaseContext = React2.createContext(defaultContext);
59
+ const index = defaultContexts.length;
60
+ defaultContexts = [...defaultContexts, defaultContext];
61
+ const Provider = (props) => {
62
+ const { scope, children, ...context } = props;
63
+ const Context = scope?.[scopeName]?.[index] || BaseContext;
64
+ const value = React2.useMemo(() => context, Object.values(context));
65
+ return /* @__PURE__ */ jsx(Context.Provider, { value, children });
66
+ };
67
+ Provider.displayName = rootComponentName + "Provider";
68
+ function useContext22(consumerName, scope) {
69
+ const Context = scope?.[scopeName]?.[index] || BaseContext;
70
+ const context = React2.useContext(Context);
71
+ if (context) return context;
72
+ if (defaultContext !== void 0) return defaultContext;
73
+ throw new Error(`\`${consumerName}\` must be used within \`${rootComponentName}\``);
74
+ }
75
+ return [Provider, useContext22];
76
+ }
77
+ const createScope = () => {
78
+ const scopeContexts = defaultContexts.map((defaultContext) => {
79
+ return React2.createContext(defaultContext);
80
+ });
81
+ return function useScope(scope) {
82
+ const contexts = scope?.[scopeName] || scopeContexts;
83
+ return React2.useMemo(
84
+ () => ({ [`__scope${scopeName}`]: { ...scope, [scopeName]: contexts } }),
85
+ [scope, contexts]
86
+ );
87
+ };
88
+ };
89
+ createScope.scopeName = scopeName;
90
+ return [createContext3, composeContextScopes(createScope, ...createContextScopeDeps)];
91
+ }
92
+ function composeContextScopes(...scopes) {
93
+ const baseScope = scopes[0];
94
+ if (scopes.length === 1) return baseScope;
95
+ const createScope = () => {
96
+ const scopeHooks = scopes.map((createScope2) => ({
97
+ useScope: createScope2(),
98
+ scopeName: createScope2.scopeName
99
+ }));
100
+ return function useComposedScopes(overrideScopes) {
101
+ const nextScopes = scopeHooks.reduce((nextScopes2, { useScope, scopeName }) => {
102
+ const scopeProps = useScope(overrideScopes);
103
+ const currentScope = scopeProps[`__scope${scopeName}`];
104
+ return { ...nextScopes2, ...currentScope };
105
+ }, {});
106
+ return React2.useMemo(() => ({ [`__scope${baseScope.scopeName}`]: nextScopes }), [nextScopes]);
107
+ };
108
+ };
109
+ createScope.scopeName = baseScope.scopeName;
110
+ return createScope;
111
+ }
112
+
113
+ // node_modules/@radix-ui/primitive/dist/index.mjs
114
+ function composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {
115
+ return function handleEvent(event) {
116
+ originalEventHandler?.(event);
117
+ if (checkForDefaultPrevented === false || !event.defaultPrevented) {
118
+ return ourEventHandler?.(event);
119
+ }
120
+ };
121
+ }
122
+
123
+ // node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
124
+ import * as React4 from "react";
125
+
126
+ // node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
127
+ import * as React3 from "react";
128
+ var useLayoutEffect2 = globalThis?.document ? React3.useLayoutEffect : () => {
20
129
  };
21
- var Label = ({
22
- children,
23
- name,
24
- labelType = "labelSmall",
25
- className,
26
- ...props
27
- }) => {
28
- return /* @__PURE__ */ jsx("label", { ...props, className: clsx(styleMapping[labelType], className), children: children ? children : name });
130
+
131
+ // node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
132
+ import * as React22 from "react";
133
+ var useInsertionEffect = React4[" useInsertionEffect ".trim().toString()] || useLayoutEffect2;
134
+ function useControllableState({
135
+ prop,
136
+ defaultProp,
137
+ onChange = () => {
138
+ },
139
+ caller
140
+ }) {
141
+ const [uncontrolledProp, setUncontrolledProp, onChangeRef] = useUncontrolledState({
142
+ defaultProp,
143
+ onChange
144
+ });
145
+ const isControlled = prop !== void 0;
146
+ const value = isControlled ? prop : uncontrolledProp;
147
+ if (true) {
148
+ const isControlledRef = React4.useRef(prop !== void 0);
149
+ React4.useEffect(() => {
150
+ const wasControlled = isControlledRef.current;
151
+ if (wasControlled !== isControlled) {
152
+ const from = wasControlled ? "controlled" : "uncontrolled";
153
+ const to = isControlled ? "controlled" : "uncontrolled";
154
+ console.warn(
155
+ `${caller} is changing from ${from} to ${to}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`
156
+ );
157
+ }
158
+ isControlledRef.current = isControlled;
159
+ }, [isControlled, caller]);
160
+ }
161
+ const setValue = React4.useCallback(
162
+ (nextValue) => {
163
+ if (isControlled) {
164
+ const value2 = isFunction(nextValue) ? nextValue(prop) : nextValue;
165
+ if (value2 !== prop) {
166
+ onChangeRef.current?.(value2);
167
+ }
168
+ } else {
169
+ setUncontrolledProp(nextValue);
170
+ }
171
+ },
172
+ [isControlled, prop, setUncontrolledProp, onChangeRef]
173
+ );
174
+ return [value, setValue];
175
+ }
176
+ function useUncontrolledState({
177
+ defaultProp,
178
+ onChange
179
+ }) {
180
+ const [value, setValue] = React4.useState(defaultProp);
181
+ const prevValueRef = React4.useRef(value);
182
+ const onChangeRef = React4.useRef(onChange);
183
+ useInsertionEffect(() => {
184
+ onChangeRef.current = onChange;
185
+ }, [onChange]);
186
+ React4.useEffect(() => {
187
+ if (prevValueRef.current !== value) {
188
+ onChangeRef.current?.(value);
189
+ prevValueRef.current = value;
190
+ }
191
+ }, [value, prevValueRef]);
192
+ return [value, setValue, onChangeRef];
193
+ }
194
+ function isFunction(value) {
195
+ return typeof value === "function";
196
+ }
197
+ var SYNC_STATE = Symbol("RADIX:SYNC_STATE");
198
+
199
+ // node_modules/@radix-ui/react-use-previous/dist/index.mjs
200
+ import * as React5 from "react";
201
+ function usePrevious(value) {
202
+ const ref = React5.useRef({ value, previous: value });
203
+ return React5.useMemo(() => {
204
+ if (ref.current.value !== value) {
205
+ ref.current.previous = ref.current.value;
206
+ ref.current.value = value;
207
+ }
208
+ return ref.current.previous;
209
+ }, [value]);
210
+ }
211
+
212
+ // node_modules/@radix-ui/react-use-size/dist/index.mjs
213
+ import * as React6 from "react";
214
+ function useSize(element) {
215
+ const [size, setSize] = React6.useState(void 0);
216
+ useLayoutEffect2(() => {
217
+ if (element) {
218
+ setSize({ width: element.offsetWidth, height: element.offsetHeight });
219
+ const resizeObserver = new ResizeObserver((entries) => {
220
+ if (!Array.isArray(entries)) {
221
+ return;
222
+ }
223
+ if (!entries.length) {
224
+ return;
225
+ }
226
+ const entry = entries[0];
227
+ let width;
228
+ let height;
229
+ if ("borderBoxSize" in entry) {
230
+ const borderSizeEntry = entry["borderBoxSize"];
231
+ const borderSize = Array.isArray(borderSizeEntry) ? borderSizeEntry[0] : borderSizeEntry;
232
+ width = borderSize["inlineSize"];
233
+ height = borderSize["blockSize"];
234
+ } else {
235
+ width = element.offsetWidth;
236
+ height = element.offsetHeight;
237
+ }
238
+ setSize({ width, height });
239
+ });
240
+ resizeObserver.observe(element, { box: "border-box" });
241
+ return () => resizeObserver.unobserve(element);
242
+ } else {
243
+ setSize(void 0);
244
+ }
245
+ }, [element]);
246
+ return size;
247
+ }
248
+
249
+ // node_modules/@radix-ui/react-presence/dist/index.mjs
250
+ import * as React23 from "react";
251
+ import * as React7 from "react";
252
+ function useStateMachine(initialState, machine) {
253
+ return React7.useReducer((state, event) => {
254
+ const nextState = machine[state][event];
255
+ return nextState ?? state;
256
+ }, initialState);
257
+ }
258
+ var Presence = (props) => {
259
+ const { present, children } = props;
260
+ const presence = usePresence(present);
261
+ const child = typeof children === "function" ? children({ present: presence.isPresent }) : React23.Children.only(children);
262
+ const ref = useComposedRefs(presence.ref, getElementRef(child));
263
+ const forceMount = typeof children === "function";
264
+ return forceMount || presence.isPresent ? React23.cloneElement(child, { ref }) : null;
29
265
  };
266
+ Presence.displayName = "Presence";
267
+ function usePresence(present) {
268
+ const [node, setNode] = React23.useState();
269
+ const stylesRef = React23.useRef(null);
270
+ const prevPresentRef = React23.useRef(present);
271
+ const prevAnimationNameRef = React23.useRef("none");
272
+ const initialState = present ? "mounted" : "unmounted";
273
+ const [state, send] = useStateMachine(initialState, {
274
+ mounted: {
275
+ UNMOUNT: "unmounted",
276
+ ANIMATION_OUT: "unmountSuspended"
277
+ },
278
+ unmountSuspended: {
279
+ MOUNT: "mounted",
280
+ ANIMATION_END: "unmounted"
281
+ },
282
+ unmounted: {
283
+ MOUNT: "mounted"
284
+ }
285
+ });
286
+ React23.useEffect(() => {
287
+ const currentAnimationName = getAnimationName(stylesRef.current);
288
+ prevAnimationNameRef.current = state === "mounted" ? currentAnimationName : "none";
289
+ }, [state]);
290
+ useLayoutEffect2(() => {
291
+ const styles = stylesRef.current;
292
+ const wasPresent = prevPresentRef.current;
293
+ const hasPresentChanged = wasPresent !== present;
294
+ if (hasPresentChanged) {
295
+ const prevAnimationName = prevAnimationNameRef.current;
296
+ const currentAnimationName = getAnimationName(styles);
297
+ if (present) {
298
+ send("MOUNT");
299
+ } else if (currentAnimationName === "none" || styles?.display === "none") {
300
+ send("UNMOUNT");
301
+ } else {
302
+ const isAnimating = prevAnimationName !== currentAnimationName;
303
+ if (wasPresent && isAnimating) {
304
+ send("ANIMATION_OUT");
305
+ } else {
306
+ send("UNMOUNT");
307
+ }
308
+ }
309
+ prevPresentRef.current = present;
310
+ }
311
+ }, [present, send]);
312
+ useLayoutEffect2(() => {
313
+ if (node) {
314
+ let timeoutId;
315
+ const ownerWindow = node.ownerDocument.defaultView ?? window;
316
+ const handleAnimationEnd = (event) => {
317
+ const currentAnimationName = getAnimationName(stylesRef.current);
318
+ const isCurrentAnimation = currentAnimationName.includes(event.animationName);
319
+ if (event.target === node && isCurrentAnimation) {
320
+ send("ANIMATION_END");
321
+ if (!prevPresentRef.current) {
322
+ const currentFillMode = node.style.animationFillMode;
323
+ node.style.animationFillMode = "forwards";
324
+ timeoutId = ownerWindow.setTimeout(() => {
325
+ if (node.style.animationFillMode === "forwards") {
326
+ node.style.animationFillMode = currentFillMode;
327
+ }
328
+ });
329
+ }
330
+ }
331
+ };
332
+ const handleAnimationStart = (event) => {
333
+ if (event.target === node) {
334
+ prevAnimationNameRef.current = getAnimationName(stylesRef.current);
335
+ }
336
+ };
337
+ node.addEventListener("animationstart", handleAnimationStart);
338
+ node.addEventListener("animationcancel", handleAnimationEnd);
339
+ node.addEventListener("animationend", handleAnimationEnd);
340
+ return () => {
341
+ ownerWindow.clearTimeout(timeoutId);
342
+ node.removeEventListener("animationstart", handleAnimationStart);
343
+ node.removeEventListener("animationcancel", handleAnimationEnd);
344
+ node.removeEventListener("animationend", handleAnimationEnd);
345
+ };
346
+ } else {
347
+ send("ANIMATION_END");
348
+ }
349
+ }, [node, send]);
350
+ return {
351
+ isPresent: ["mounted", "unmountSuspended"].includes(state),
352
+ ref: React23.useCallback((node2) => {
353
+ stylesRef.current = node2 ? getComputedStyle(node2) : null;
354
+ setNode(node2);
355
+ }, [])
356
+ };
357
+ }
358
+ function getAnimationName(styles) {
359
+ return styles?.animationName || "none";
360
+ }
361
+ function getElementRef(element) {
362
+ let getter = Object.getOwnPropertyDescriptor(element.props, "ref")?.get;
363
+ let mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
364
+ if (mayWarn) {
365
+ return element.ref;
366
+ }
367
+ getter = Object.getOwnPropertyDescriptor(element, "ref")?.get;
368
+ mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
369
+ if (mayWarn) {
370
+ return element.props.ref;
371
+ }
372
+ return element.props.ref || element.ref;
373
+ }
374
+
375
+ // node_modules/@radix-ui/react-primitive/dist/index.mjs
376
+ import * as React9 from "react";
377
+ import * as ReactDOM from "react-dom";
378
+
379
+ // node_modules/@radix-ui/react-slot/dist/index.mjs
380
+ import * as React8 from "react";
381
+ import { Fragment as Fragment2, jsx as jsx2 } from "react/jsx-runtime";
382
+ // @__NO_SIDE_EFFECTS__
383
+ function createSlot(ownerName) {
384
+ const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);
385
+ const Slot2 = React8.forwardRef((props, forwardedRef) => {
386
+ const { children, ...slotProps } = props;
387
+ const childrenArray = React8.Children.toArray(children);
388
+ const slottable = childrenArray.find(isSlottable);
389
+ if (slottable) {
390
+ const newElement = slottable.props.children;
391
+ const newChildren = childrenArray.map((child) => {
392
+ if (child === slottable) {
393
+ if (React8.Children.count(newElement) > 1) return React8.Children.only(null);
394
+ return React8.isValidElement(newElement) ? newElement.props.children : null;
395
+ } else {
396
+ return child;
397
+ }
398
+ });
399
+ return /* @__PURE__ */ jsx2(SlotClone, { ...slotProps, ref: forwardedRef, children: React8.isValidElement(newElement) ? React8.cloneElement(newElement, void 0, newChildren) : null });
400
+ }
401
+ return /* @__PURE__ */ jsx2(SlotClone, { ...slotProps, ref: forwardedRef, children });
402
+ });
403
+ Slot2.displayName = `${ownerName}.Slot`;
404
+ return Slot2;
405
+ }
406
+ // @__NO_SIDE_EFFECTS__
407
+ function createSlotClone(ownerName) {
408
+ const SlotClone = React8.forwardRef((props, forwardedRef) => {
409
+ const { children, ...slotProps } = props;
410
+ if (React8.isValidElement(children)) {
411
+ const childrenRef = getElementRef2(children);
412
+ const props2 = mergeProps(slotProps, children.props);
413
+ if (children.type !== React8.Fragment) {
414
+ props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;
415
+ }
416
+ return React8.cloneElement(children, props2);
417
+ }
418
+ return React8.Children.count(children) > 1 ? React8.Children.only(null) : null;
419
+ });
420
+ SlotClone.displayName = `${ownerName}.SlotClone`;
421
+ return SlotClone;
422
+ }
423
+ var SLOTTABLE_IDENTIFIER = Symbol("radix.slottable");
424
+ function isSlottable(child) {
425
+ return React8.isValidElement(child) && typeof child.type === "function" && "__radixId" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;
426
+ }
427
+ function mergeProps(slotProps, childProps) {
428
+ const overrideProps = { ...childProps };
429
+ for (const propName in childProps) {
430
+ const slotPropValue = slotProps[propName];
431
+ const childPropValue = childProps[propName];
432
+ const isHandler = /^on[A-Z]/.test(propName);
433
+ if (isHandler) {
434
+ if (slotPropValue && childPropValue) {
435
+ overrideProps[propName] = (...args) => {
436
+ const result = childPropValue(...args);
437
+ slotPropValue(...args);
438
+ return result;
439
+ };
440
+ } else if (slotPropValue) {
441
+ overrideProps[propName] = slotPropValue;
442
+ }
443
+ } else if (propName === "style") {
444
+ overrideProps[propName] = { ...slotPropValue, ...childPropValue };
445
+ } else if (propName === "className") {
446
+ overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(" ");
447
+ }
448
+ }
449
+ return { ...slotProps, ...overrideProps };
450
+ }
451
+ function getElementRef2(element) {
452
+ let getter = Object.getOwnPropertyDescriptor(element.props, "ref")?.get;
453
+ let mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
454
+ if (mayWarn) {
455
+ return element.ref;
456
+ }
457
+ getter = Object.getOwnPropertyDescriptor(element, "ref")?.get;
458
+ mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
459
+ if (mayWarn) {
460
+ return element.props.ref;
461
+ }
462
+ return element.props.ref || element.ref;
463
+ }
464
+
465
+ // node_modules/@radix-ui/react-primitive/dist/index.mjs
466
+ import { jsx as jsx3 } from "react/jsx-runtime";
467
+ var NODES = [
468
+ "a",
469
+ "button",
470
+ "div",
471
+ "form",
472
+ "h2",
473
+ "h3",
474
+ "img",
475
+ "input",
476
+ "label",
477
+ "li",
478
+ "nav",
479
+ "ol",
480
+ "p",
481
+ "select",
482
+ "span",
483
+ "svg",
484
+ "ul"
485
+ ];
486
+ var Primitive = NODES.reduce((primitive, node) => {
487
+ const Slot = createSlot(`Primitive.${node}`);
488
+ const Node = React9.forwardRef((props, forwardedRef) => {
489
+ const { asChild, ...primitiveProps } = props;
490
+ const Comp = asChild ? Slot : node;
491
+ if (typeof window !== "undefined") {
492
+ window[Symbol.for("radix-ui")] = true;
493
+ }
494
+ return /* @__PURE__ */ jsx3(Comp, { ...primitiveProps, ref: forwardedRef });
495
+ });
496
+ Node.displayName = `Primitive.${node}`;
497
+ return { ...primitive, [node]: Node };
498
+ }, {});
499
+
500
+ // node_modules/@radix-ui/react-checkbox/dist/index.mjs
501
+ import { Fragment as Fragment3, jsx as jsx4, jsxs } from "react/jsx-runtime";
502
+ var CHECKBOX_NAME = "Checkbox";
503
+ var [createCheckboxContext, createCheckboxScope] = createContextScope(CHECKBOX_NAME);
504
+ var [CheckboxProviderImpl, useCheckboxContext] = createCheckboxContext(CHECKBOX_NAME);
505
+ function CheckboxProvider(props) {
506
+ const {
507
+ __scopeCheckbox,
508
+ checked: checkedProp,
509
+ children,
510
+ defaultChecked,
511
+ disabled,
512
+ form,
513
+ name,
514
+ onCheckedChange,
515
+ required,
516
+ value = "on",
517
+ // @ts-expect-error
518
+ internal_do_not_use_render
519
+ } = props;
520
+ const [checked, setChecked] = useControllableState({
521
+ prop: checkedProp,
522
+ defaultProp: defaultChecked ?? false,
523
+ onChange: onCheckedChange,
524
+ caller: CHECKBOX_NAME
525
+ });
526
+ const [control, setControl] = React10.useState(null);
527
+ const [bubbleInput, setBubbleInput] = React10.useState(null);
528
+ const hasConsumerStoppedPropagationRef = React10.useRef(false);
529
+ const isFormControl = control ? !!form || !!control.closest("form") : (
530
+ // We set this to true by default so that events bubble to forms without JS (SSR)
531
+ true
532
+ );
533
+ const context = {
534
+ checked,
535
+ disabled,
536
+ setChecked,
537
+ control,
538
+ setControl,
539
+ name,
540
+ form,
541
+ value,
542
+ hasConsumerStoppedPropagationRef,
543
+ required,
544
+ defaultChecked: isIndeterminate(defaultChecked) ? false : defaultChecked,
545
+ isFormControl,
546
+ bubbleInput,
547
+ setBubbleInput
548
+ };
549
+ return /* @__PURE__ */ jsx4(
550
+ CheckboxProviderImpl,
551
+ {
552
+ scope: __scopeCheckbox,
553
+ ...context,
554
+ children: isFunction2(internal_do_not_use_render) ? internal_do_not_use_render(context) : children
555
+ }
556
+ );
557
+ }
558
+ var TRIGGER_NAME = "CheckboxTrigger";
559
+ var CheckboxTrigger = React10.forwardRef(
560
+ ({ __scopeCheckbox, onKeyDown, onClick, ...checkboxProps }, forwardedRef) => {
561
+ const {
562
+ control,
563
+ value,
564
+ disabled,
565
+ checked,
566
+ required,
567
+ setControl,
568
+ setChecked,
569
+ hasConsumerStoppedPropagationRef,
570
+ isFormControl,
571
+ bubbleInput
572
+ } = useCheckboxContext(TRIGGER_NAME, __scopeCheckbox);
573
+ const composedRefs = useComposedRefs(forwardedRef, setControl);
574
+ const initialCheckedStateRef = React10.useRef(checked);
575
+ React10.useEffect(() => {
576
+ const form = control?.form;
577
+ if (form) {
578
+ const reset = () => setChecked(initialCheckedStateRef.current);
579
+ form.addEventListener("reset", reset);
580
+ return () => form.removeEventListener("reset", reset);
581
+ }
582
+ }, [control, setChecked]);
583
+ return /* @__PURE__ */ jsx4(
584
+ Primitive.button,
585
+ {
586
+ type: "button",
587
+ role: "checkbox",
588
+ "aria-checked": isIndeterminate(checked) ? "mixed" : checked,
589
+ "aria-required": required,
590
+ "data-state": getState(checked),
591
+ "data-disabled": disabled ? "" : void 0,
592
+ disabled,
593
+ value,
594
+ ...checkboxProps,
595
+ ref: composedRefs,
596
+ onKeyDown: composeEventHandlers(onKeyDown, (event) => {
597
+ if (event.key === "Enter") event.preventDefault();
598
+ }),
599
+ onClick: composeEventHandlers(onClick, (event) => {
600
+ setChecked((prevChecked) => isIndeterminate(prevChecked) ? true : !prevChecked);
601
+ if (bubbleInput && isFormControl) {
602
+ hasConsumerStoppedPropagationRef.current = event.isPropagationStopped();
603
+ if (!hasConsumerStoppedPropagationRef.current) event.stopPropagation();
604
+ }
605
+ })
606
+ }
607
+ );
608
+ }
609
+ );
610
+ CheckboxTrigger.displayName = TRIGGER_NAME;
611
+ var Checkbox = React10.forwardRef(
612
+ (props, forwardedRef) => {
613
+ const {
614
+ __scopeCheckbox,
615
+ name,
616
+ checked,
617
+ defaultChecked,
618
+ required,
619
+ disabled,
620
+ value,
621
+ onCheckedChange,
622
+ form,
623
+ ...checkboxProps
624
+ } = props;
625
+ return /* @__PURE__ */ jsx4(
626
+ CheckboxProvider,
627
+ {
628
+ __scopeCheckbox,
629
+ checked,
630
+ defaultChecked,
631
+ disabled,
632
+ required,
633
+ onCheckedChange,
634
+ name,
635
+ form,
636
+ value,
637
+ internal_do_not_use_render: ({ isFormControl }) => /* @__PURE__ */ jsxs(Fragment3, { children: [
638
+ /* @__PURE__ */ jsx4(
639
+ CheckboxTrigger,
640
+ {
641
+ ...checkboxProps,
642
+ ref: forwardedRef,
643
+ __scopeCheckbox
644
+ }
645
+ ),
646
+ isFormControl && /* @__PURE__ */ jsx4(
647
+ CheckboxBubbleInput,
648
+ {
649
+ __scopeCheckbox
650
+ }
651
+ )
652
+ ] })
653
+ }
654
+ );
655
+ }
656
+ );
657
+ Checkbox.displayName = CHECKBOX_NAME;
658
+ var INDICATOR_NAME = "CheckboxIndicator";
659
+ var CheckboxIndicator = React10.forwardRef(
660
+ (props, forwardedRef) => {
661
+ const { __scopeCheckbox, forceMount, ...indicatorProps } = props;
662
+ const context = useCheckboxContext(INDICATOR_NAME, __scopeCheckbox);
663
+ return /* @__PURE__ */ jsx4(
664
+ Presence,
665
+ {
666
+ present: forceMount || isIndeterminate(context.checked) || context.checked === true,
667
+ children: /* @__PURE__ */ jsx4(
668
+ Primitive.span,
669
+ {
670
+ "data-state": getState(context.checked),
671
+ "data-disabled": context.disabled ? "" : void 0,
672
+ ...indicatorProps,
673
+ ref: forwardedRef,
674
+ style: { pointerEvents: "none", ...props.style }
675
+ }
676
+ )
677
+ }
678
+ );
679
+ }
680
+ );
681
+ CheckboxIndicator.displayName = INDICATOR_NAME;
682
+ var BUBBLE_INPUT_NAME = "CheckboxBubbleInput";
683
+ var CheckboxBubbleInput = React10.forwardRef(
684
+ ({ __scopeCheckbox, ...props }, forwardedRef) => {
685
+ const {
686
+ control,
687
+ hasConsumerStoppedPropagationRef,
688
+ checked,
689
+ defaultChecked,
690
+ required,
691
+ disabled,
692
+ name,
693
+ value,
694
+ form,
695
+ bubbleInput,
696
+ setBubbleInput
697
+ } = useCheckboxContext(BUBBLE_INPUT_NAME, __scopeCheckbox);
698
+ const composedRefs = useComposedRefs(forwardedRef, setBubbleInput);
699
+ const prevChecked = usePrevious(checked);
700
+ const controlSize = useSize(control);
701
+ React10.useEffect(() => {
702
+ const input = bubbleInput;
703
+ if (!input) return;
704
+ const inputProto = window.HTMLInputElement.prototype;
705
+ const descriptor = Object.getOwnPropertyDescriptor(
706
+ inputProto,
707
+ "checked"
708
+ );
709
+ const setChecked = descriptor.set;
710
+ const bubbles = !hasConsumerStoppedPropagationRef.current;
711
+ if (prevChecked !== checked && setChecked) {
712
+ const event = new Event("click", { bubbles });
713
+ input.indeterminate = isIndeterminate(checked);
714
+ setChecked.call(input, isIndeterminate(checked) ? false : checked);
715
+ input.dispatchEvent(event);
716
+ }
717
+ }, [bubbleInput, prevChecked, checked, hasConsumerStoppedPropagationRef]);
718
+ const defaultCheckedRef = React10.useRef(isIndeterminate(checked) ? false : checked);
719
+ return /* @__PURE__ */ jsx4(
720
+ Primitive.input,
721
+ {
722
+ type: "checkbox",
723
+ "aria-hidden": true,
724
+ defaultChecked: defaultChecked ?? defaultCheckedRef.current,
725
+ required,
726
+ disabled,
727
+ name,
728
+ value,
729
+ form,
730
+ ...props,
731
+ tabIndex: -1,
732
+ ref: composedRefs,
733
+ style: {
734
+ ...props.style,
735
+ ...controlSize,
736
+ position: "absolute",
737
+ pointerEvents: "none",
738
+ opacity: 0,
739
+ margin: 0,
740
+ // We transform because the input is absolutely positioned but we have
741
+ // rendered it **after** the button. This pulls it back to sit on top
742
+ // of the button.
743
+ transform: "translateX(-100%)"
744
+ }
745
+ }
746
+ );
747
+ }
748
+ );
749
+ CheckboxBubbleInput.displayName = BUBBLE_INPUT_NAME;
750
+ function isFunction2(value) {
751
+ return typeof value === "function";
752
+ }
753
+ function isIndeterminate(checked) {
754
+ return checked === "indeterminate";
755
+ }
756
+ function getState(checked) {
757
+ return isIndeterminate(checked) ? "indeterminate" : checked ? "checked" : "unchecked";
758
+ }
30
759
 
31
760
  // src/components/user-action/Checkbox.tsx
32
- import { jsx as jsx2, jsxs } from "react/jsx-runtime";
761
+ import { jsx as jsx5, jsxs as jsxs2 } from "react/jsx-runtime";
33
762
  var checkboxSizeMapping = {
34
- small: "size-5",
35
- medium: "size-6",
36
- large: "size-8"
763
+ sm: "size-5 border-1",
764
+ md: "size-6 border-1",
765
+ lg: "size-8 border-2"
37
766
  };
38
767
  var checkboxIconSizeMapping = {
39
- small: "size-4",
40
- medium: "size-5",
41
- large: "size-7"
768
+ sm: "size-4 stroke-3",
769
+ md: "size-5 stroke-3",
770
+ lg: "size-7 stroke-3"
42
771
  };
43
- var Checkbox = ({
44
- id,
45
- label,
46
- checked,
772
+ var Checkbox2 = ({
47
773
  disabled,
774
+ checked = false,
775
+ indeterminate = false,
48
776
  onChange,
49
- onChangeTristate,
50
- size = "medium",
777
+ size = "md",
51
778
  className = "",
52
- containerClassName
779
+ ...props
53
780
  }) => {
54
781
  const usedSizeClass = checkboxSizeMapping[size];
55
782
  const innerIconSize = checkboxIconSizeMapping[size];
56
- const propagateChange = (checked2) => {
57
- if (onChangeTristate) {
58
- onChangeTristate(checked2);
59
- }
60
- if (onChange) {
61
- onChange(checked2 === "indeterminate" ? false : checked2);
62
- }
63
- };
64
- const changeValue = () => {
65
- const newValue = checked === "indeterminate" ? false : !checked;
66
- propagateChange(newValue);
67
- };
68
- return /* @__PURE__ */ jsxs("div", { className: clsx2("group flex-row-2 items-center cursor-pointer", containerClassName), onClick: changeValue, children: [
69
- /* @__PURE__ */ jsx2(
70
- CheckboxPrimitive.Root,
71
- {
72
- onCheckedChange: propagateChange,
73
- checked,
74
- disabled,
75
- id,
76
- className: clsx2(usedSizeClass, `items-center border-2 rounded outline-none `, {
783
+ return /* @__PURE__ */ jsx5(
784
+ Checkbox,
785
+ {
786
+ ...props,
787
+ disabled,
788
+ checked: indeterminate ? "indeterminate" : checked,
789
+ onCheckedChange: onChange,
790
+ className: clsx(
791
+ usedSizeClass,
792
+ `flex-col-0 items-center justify-center rounded outline-none`,
793
+ {
77
794
  "text-disabled-text border-disabled-outline bg-disabled-background cursor-not-allowed": disabled,
78
- "focus:border-primary group-hover:border-primary ": !disabled,
795
+ "hover:border-primary": !disabled,
79
796
  "bg-input-background": !disabled && !checked,
80
- "bg-primary/30 border-primary text-primary": !disabled && checked === true || checked === "indeterminate"
81
- }, className),
82
- children: /* @__PURE__ */ jsxs(CheckboxPrimitive.Indicator, { children: [
83
- checked === true && /* @__PURE__ */ jsx2(Check, { className: innerIconSize }),
84
- checked === "indeterminate" && /* @__PURE__ */ jsx2(Minus, { className: innerIconSize })
85
- ] })
86
- }
87
- ),
88
- label && /* @__PURE__ */ jsx2(Label, { ...label, className: clsx2(label.className), htmlFor: id })
89
- ] });
797
+ "bg-primary/30 border-primary text-primary": !disabled && (checked || indeterminate)
798
+ },
799
+ className
800
+ ),
801
+ children: /* @__PURE__ */ jsxs2(CheckboxIndicator, { children: [
802
+ !checked && !indeterminate && /* @__PURE__ */ jsx5("div", { className: clsx("bg-input-background", innerIconSize) }),
803
+ checked && !indeterminate && /* @__PURE__ */ jsx5(Check, { className: innerIconSize }),
804
+ indeterminate && /* @__PURE__ */ jsx5(Minus, { className: innerIconSize })
805
+ ] })
806
+ }
807
+ );
90
808
  };
91
809
 
92
810
  // src/localization/LanguageProvider.tsx
93
- import { createContext, useContext, useEffect, useState as useState3 } from "react";
811
+ import { createContext as createContext2, useContext as useContext2, useEffect as useEffect6, useState as useState7 } from "react";
94
812
 
95
813
  // src/hooks/useLocalStorage.ts
96
- import { useCallback, useState as useState2 } from "react";
814
+ import { useCallback as useCallback4, useState as useState6 } from "react";
97
815
 
98
816
  // src/localization/util.ts
99
817
  var languages = ["en", "de"];
@@ -109,12 +827,12 @@ var LanguageUtil = {
109
827
  };
110
828
 
111
829
  // src/localization/LanguageProvider.tsx
112
- import { jsx as jsx3 } from "react/jsx-runtime";
113
- var LanguageContext = createContext({
830
+ import { jsx as jsx6 } from "react/jsx-runtime";
831
+ var LanguageContext = createContext2({
114
832
  language: LanguageUtil.DEFAULT_LANGUAGE,
115
833
  setLanguage: (v) => v
116
834
  });
117
- var useLanguage = () => useContext(LanguageContext);
835
+ var useLanguage = () => useContext2(LanguageContext);
118
836
 
119
837
  // src/localization/useTranslation.ts
120
838
  var TranslationPluralCount = {
@@ -178,12 +896,12 @@ var useTranslation = (translations, overwriteTranslation = {}) => {
178
896
 
179
897
  // src/components/properties/PropertyBase.tsx
180
898
  import { AlertTriangle } from "lucide-react";
181
- import clsx4 from "clsx";
899
+ import clsx3 from "clsx";
182
900
 
183
901
  // src/components/user-action/Button.tsx
184
- import { forwardRef } from "react";
185
- import clsx3 from "clsx";
186
- import { jsx as jsx4, jsxs as jsxs2 } from "react/jsx-runtime";
902
+ import { forwardRef as forwardRef4 } from "react";
903
+ import clsx2 from "clsx";
904
+ import { jsx as jsx7, jsxs as jsxs3 } from "react/jsx-runtime";
187
905
  var ButtonColorUtil = {
188
906
  solid: ["primary", "secondary", "tertiary", "positive", "warning", "negative", "neutral"],
189
907
  text: ["primary", "negative", "neutral"],
@@ -207,9 +925,8 @@ var ButtonUtil = {
207
925
  paddingMapping,
208
926
  iconPaddingMapping
209
927
  };
210
- var SolidButton = forwardRef(function SolidButton2({
928
+ var SolidButton = forwardRef4(function SolidButton2({
211
929
  children,
212
- disabled = false,
213
930
  color = "primary",
214
931
  size = "medium",
215
932
  startIcon,
@@ -219,58 +936,56 @@ var SolidButton = forwardRef(function SolidButton2({
219
936
  ...restProps
220
937
  }, ref) {
221
938
  const colorClasses = {
222
- primary: "bg-button-solid-primary-background text-button-solid-primary-text",
223
- secondary: "bg-button-solid-secondary-background text-button-solid-secondary-text",
224
- tertiary: "bg-button-solid-tertiary-background text-button-solid-tertiary-text",
225
- positive: "bg-button-solid-positive-background text-button-solid-positive-text",
226
- warning: "bg-button-solid-warning-background text-button-solid-warning-text",
227
- negative: "bg-button-solid-negative-background text-button-solid-negative-text",
228
- neutral: "bg-button-solid-neutral-background text-button-solid-neutral-text"
939
+ primary: "not-disabled:bg-button-solid-primary-background not-disabled:text-button-solid-primary-text",
940
+ secondary: "not-disabled:bg-button-solid-secondary-background not-disabled:text-button-solid-secondary-text",
941
+ tertiary: "not-disabled:bg-button-solid-tertiary-background not-disabled:text-button-solid-tertiary-text",
942
+ positive: "not-disabled:bg-button-solid-positive-background not-disabled:text-button-solid-positive-text",
943
+ warning: "not-disabled:bg-button-solid-warning-background not-disabled:text-button-solid-warning-text",
944
+ negative: "not-disabled:bg-button-solid-negative-background not-disabled:text-button-solid-negative-text",
945
+ neutral: "not-disabled:bg-button-solid-neutral-background not-disabled:text-button-solid-neutral-text"
229
946
  }[color];
230
947
  const iconColorClasses = {
231
- primary: "text-button-solid-primary-icon",
232
- secondary: "text-button-solid-secondary-icon",
233
- tertiary: "text-button-solid-tertiary-icon",
234
- positive: "text-button-solid-positive-icon",
235
- warning: "text-button-solid-warning-icon",
236
- negative: "text-button-solid-negative-icon",
237
- neutral: "text-button-solid-neutral-icon"
948
+ primary: "not-group-disabled:text-button-solid-primary-icon",
949
+ secondary: "not-group-disabled:text-button-solid-secondary-icon",
950
+ tertiary: "not-group-disabled:text-button-solid-tertiary-icon",
951
+ positive: "not-group-disabled:text-button-solid-positive-icon",
952
+ warning: "not-group-disabled:text-button-solid-warning-icon",
953
+ negative: "not-group-disabled:text-button-solid-negative-icon",
954
+ neutral: "not-group-disabled:text-button-solid-neutral-icon"
238
955
  }[color];
239
- return /* @__PURE__ */ jsxs2(
956
+ return /* @__PURE__ */ jsxs3(
240
957
  "button",
241
958
  {
242
959
  ref,
243
960
  onClick,
244
- disabled,
245
- className: clsx3(
246
- "font-semibold",
247
- {
248
- "text-disabled-text bg-disabled-background cursor-not-allowed": disabled,
249
- [clsx3(colorClasses, "hover:brightness-90")]: !disabled
250
- },
961
+ className: clsx2(
962
+ "group font-semibold",
963
+ colorClasses,
964
+ "not-disabled:hover:brightness-90",
965
+ "disabled:text-disabled-text disabled:bg-disabled-background",
251
966
  ButtonUtil.paddingMapping[size],
252
967
  className
253
968
  ),
254
969
  ...restProps,
255
970
  children: [
256
- startIcon && /* @__PURE__ */ jsx4(
971
+ startIcon && /* @__PURE__ */ jsx7(
257
972
  "span",
258
973
  {
259
- className: clsx3({
260
- [iconColorClasses]: !disabled,
261
- [`text-disabled-icon`]: disabled
262
- }),
974
+ className: clsx2(
975
+ iconColorClasses,
976
+ "group-disabled:text-disabled-icon"
977
+ ),
263
978
  children: startIcon
264
979
  }
265
980
  ),
266
981
  children,
267
- endIcon && /* @__PURE__ */ jsx4(
982
+ endIcon && /* @__PURE__ */ jsx7(
268
983
  "span",
269
984
  {
270
- className: clsx3({
271
- [iconColorClasses]: !disabled,
272
- [`text-disabled-icon`]: disabled
273
- }),
985
+ className: clsx2(
986
+ iconColorClasses,
987
+ "group-disabled:text-disabled-icon"
988
+ ),
274
989
  children: endIcon
275
990
  }
276
991
  )
@@ -280,7 +995,6 @@ var SolidButton = forwardRef(function SolidButton2({
280
995
  });
281
996
  var TextButton = ({
282
997
  children,
283
- disabled = false,
284
998
  color = "neutral",
285
999
  size = "medium",
286
1000
  startIcon,
@@ -291,56 +1005,55 @@ var TextButton = ({
291
1005
  ...restProps
292
1006
  }) => {
293
1007
  const colorClasses = {
294
- primary: "bg-transparent text-button-text-primary-text",
295
- negative: "bg-transparent text-button-text-negative-text",
296
- neutral: "bg-transparent text-button-text-neutral-text"
1008
+ primary: "not-disabled:bg-transparent not-disabled:text-button-text-primary-text focus-style-none focus-visible:ring-2 not-disabled:focus-visible:ring-button-text-primary-text",
1009
+ negative: "not-disabled:bg-transparent not-disabled:text-button-text-negative-text focus-style-none focus-visible:ring-2 not-disabled:focus-visible:ring-button-text-negative-text",
1010
+ neutral: "not-disabled:bg-transparent not-disabled:text-button-text-neutral-text focus-style-none focus-visible:ring-2 not-disabled:focus-visible:ring-button-text-neutral-text"
297
1011
  }[color];
298
1012
  const backgroundColor = {
299
- primary: "hover:bg-button-text-primary-text/20",
300
- negative: "hover:bg-button-text-negative-text/20",
301
- neutral: "hover:bg-button-text-neutral-text/20"
1013
+ primary: "not-disabled:hover:bg-button-text-primary-text/20 not-disabled:focus-visible:bg-button-text-primary-text/20",
1014
+ negative: "not-disabled:hover:bg-button-text-negative-text/20 not-disabled:focus-visible:bg-button-text-negative-text/20",
1015
+ neutral: "not-disabled:hover:bg-button-text-neutral-text/20 not-disabled:focus-visible:bg-button-text-neutral-text/20"
302
1016
  }[color];
303
1017
  const iconColorClasses = {
304
- primary: "text-button-text-primary-icon",
305
- negative: "text-button-text-negative-icon",
306
- neutral: "text-button-text-neutral-icon"
1018
+ primary: "not-group-disabled:text-button-text-primary-icon",
1019
+ negative: "not-group-disabled:text-button-text-negative-icon",
1020
+ neutral: "not-group-disabled:text-button-text-neutral-icon"
307
1021
  }[color];
308
- return /* @__PURE__ */ jsxs2(
1022
+ return /* @__PURE__ */ jsxs3(
309
1023
  "button",
310
1024
  {
311
1025
  onClick,
312
- disabled,
313
- className: clsx3(
314
- "font-semibold",
1026
+ className: clsx2(
1027
+ "group font-semibold",
1028
+ "disabled:text-disabled-text",
1029
+ colorClasses,
315
1030
  {
316
- "text-disabled-text cursor-not-allowed": disabled,
317
- [colorClasses]: !disabled,
318
- [backgroundColor]: !disabled && coloredHoverBackground,
319
- "hover:bg-button-text-hover-background": !disabled && !coloredHoverBackground
1031
+ [backgroundColor]: coloredHoverBackground,
1032
+ "not-disabled:hover:bg-button-text-hover-background": !coloredHoverBackground
320
1033
  },
321
1034
  ButtonUtil.paddingMapping[size],
322
1035
  className
323
1036
  ),
324
1037
  ...restProps,
325
1038
  children: [
326
- startIcon && /* @__PURE__ */ jsx4(
1039
+ startIcon && /* @__PURE__ */ jsx7(
327
1040
  "span",
328
1041
  {
329
- className: clsx3({
330
- [iconColorClasses]: !disabled,
331
- [`text-disabled-icon`]: disabled
332
- }),
1042
+ className: clsx2(
1043
+ iconColorClasses,
1044
+ "group-disabled:text-disabled-icon"
1045
+ ),
333
1046
  children: startIcon
334
1047
  }
335
1048
  ),
336
1049
  children,
337
- endIcon && /* @__PURE__ */ jsx4(
1050
+ endIcon && /* @__PURE__ */ jsx7(
338
1051
  "span",
339
1052
  {
340
- className: clsx3({
341
- [iconColorClasses]: !disabled,
342
- [`text-disabled-icon`]: disabled
343
- }),
1053
+ className: clsx2(
1054
+ iconColorClasses,
1055
+ "group-disabled:text-disabled-icon"
1056
+ ),
344
1057
  children: endIcon
345
1058
  }
346
1059
  )
@@ -348,6 +1061,44 @@ var TextButton = ({
348
1061
  }
349
1062
  );
350
1063
  };
1064
+ var IconButton = forwardRef4(function IconButton2({
1065
+ children,
1066
+ color = "primary",
1067
+ size = "medium",
1068
+ className,
1069
+ ...restProps
1070
+ }, ref) {
1071
+ const colorClasses = {
1072
+ primary: "not-disabled:bg-button-solid-primary-background not-disabled:text-button-solid-primary-text",
1073
+ secondary: "not-disabled:bg-button-solid-secondary-background not-disabled:text-button-solid-secondary-text",
1074
+ tertiary: "not-disabled:bg-button-solid-tertiary-background not-disabled:text-button-solid-tertiary-text",
1075
+ positive: "not-disabled:bg-button-solid-positive-background not-disabled:text-button-solid-positive-text",
1076
+ warning: "not-disabled:bg-button-solid-warning-background not-disabled:text-button-solid-warning-text",
1077
+ negative: "not-disabled:bg-button-solid-negative-background not-disabled:text-button-solid-negative-text",
1078
+ neutral: "not-disabled:bg-button-solid-neutral-background not-disabled:text-button-solid-neutral-text",
1079
+ transparent: "not-disabled:bg-transparent"
1080
+ }[color];
1081
+ return /* @__PURE__ */ jsx7(
1082
+ "button",
1083
+ {
1084
+ ref,
1085
+ className: clsx2(
1086
+ colorClasses,
1087
+ "not-disabled:hover:brightness-90",
1088
+ "disabled:text-disabled-text",
1089
+ {
1090
+ "disabled:bg-disabled-background": color !== "transparent",
1091
+ "disabled:opacity-70": color === "transparent",
1092
+ "not-disabled:hover:bg-button-text-hover-background": color === "transparent"
1093
+ },
1094
+ ButtonUtil.iconPaddingMapping[size],
1095
+ className
1096
+ ),
1097
+ ...restProps,
1098
+ children
1099
+ }
1100
+ );
1101
+ });
351
1102
 
352
1103
  // src/localization/defaults/form.ts
353
1104
  var formTranslation = {
@@ -385,6 +1136,7 @@ var formTranslation = {
385
1136
  next: "Next",
386
1137
  no: "No",
387
1138
  none: "None",
1139
+ nothingFound: "Nothing found",
388
1140
  of: "of",
389
1141
  optional: "Optional",
390
1142
  pleaseWait: "Please wait...",
@@ -441,6 +1193,7 @@ var formTranslation = {
441
1193
  next: "Weiter",
442
1194
  no: "Nein",
443
1195
  none: "Nichts",
1196
+ nothingFound: "Nichts gefunden",
444
1197
  of: "von",
445
1198
  optional: "Optional",
446
1199
  pleaseWait: "Bitte warten...",
@@ -466,7 +1219,7 @@ var formTranslation = {
466
1219
  };
467
1220
 
468
1221
  // src/components/properties/PropertyBase.tsx
469
- import { jsx as jsx5, jsxs as jsxs3 } from "react/jsx-runtime";
1222
+ import { jsx as jsx8, jsxs as jsxs4 } from "react/jsx-runtime";
470
1223
  var PropertyBase = ({
471
1224
  overwriteTranslation,
472
1225
  name,
@@ -480,11 +1233,11 @@ var PropertyBase = ({
480
1233
  }) => {
481
1234
  const translation = useTranslation([formTranslation], overwriteTranslation);
482
1235
  const requiredAndNoValue = softRequired && !hasValue;
483
- return /* @__PURE__ */ jsxs3("div", { className: clsx4("flex-row-0 group", className), children: [
484
- /* @__PURE__ */ jsxs3(
1236
+ return /* @__PURE__ */ jsxs4("div", { className: clsx3("flex-row-0 group", className), children: [
1237
+ /* @__PURE__ */ jsxs4(
485
1238
  "div",
486
1239
  {
487
- className: clsx4(
1240
+ className: clsx3(
488
1241
  "flex-row-2 max-w-48 min-w-48 px-3 py-2 items-center rounded-l-xl border-2 border-r-0",
489
1242
  {
490
1243
  "bg-property-title-background text-property-title-text group-hover:border-primary": !requiredAndNoValue,
@@ -493,15 +1246,15 @@ var PropertyBase = ({
493
1246
  className
494
1247
  ),
495
1248
  children: [
496
- /* @__PURE__ */ jsx5("div", { className: "max-w-6 min-w-6 text-text-primary", children: icon }),
497
- /* @__PURE__ */ jsx5("span", { className: "font-semibold", children: name })
1249
+ /* @__PURE__ */ jsx8("div", { className: "max-w-6 min-w-6 text-text-primary", children: icon }),
1250
+ /* @__PURE__ */ jsx8("span", { className: "font-semibold", children: name })
498
1251
  ]
499
1252
  }
500
1253
  ),
501
- /* @__PURE__ */ jsxs3(
1254
+ /* @__PURE__ */ jsxs4(
502
1255
  "div",
503
1256
  {
504
- className: clsx4(
1257
+ className: clsx3(
505
1258
  "flex-row-2 grow px-3 py-2 justify-between items-center rounded-r-xl border-2 border-l-0 min-h-15",
506
1259
  {
507
1260
  "bg-input-background text-input-text group-hover:border-primary": !requiredAndNoValue,
@@ -511,14 +1264,14 @@ var PropertyBase = ({
511
1264
  ),
512
1265
  children: [
513
1266
  input({ softRequired, hasValue }),
514
- requiredAndNoValue && /* @__PURE__ */ jsx5("div", { className: "text-warning", children: /* @__PURE__ */ jsx5(AlertTriangle, { size: 24 }) }),
515
- onRemove && hasValue && /* @__PURE__ */ jsx5(
1267
+ requiredAndNoValue && /* @__PURE__ */ jsx8("div", { className: "text-warning", children: /* @__PURE__ */ jsx8(AlertTriangle, { size: 24 }) }),
1268
+ onRemove && !readOnly && /* @__PURE__ */ jsx8(
516
1269
  TextButton,
517
1270
  {
518
1271
  onClick: onRemove,
519
1272
  color: "negative",
520
- className: clsx4("items-center", { "!text-transparent": !hasValue || readOnly }),
521
- disabled: !hasValue || readOnly,
1273
+ className: clsx3("items-center"),
1274
+ disabled: !hasValue,
522
1275
  children: translation("remove")
523
1276
  }
524
1277
  )
@@ -529,7 +1282,26 @@ var PropertyBase = ({
529
1282
  };
530
1283
 
531
1284
  // src/components/properties/CheckboxProperty.tsx
532
- import { jsx as jsx6 } from "react/jsx-runtime";
1285
+ import { useId } from "react";
1286
+
1287
+ // src/components/user-action/Label.tsx
1288
+ import clsx4 from "clsx";
1289
+ import { jsx as jsx9 } from "react/jsx-runtime";
1290
+ var styleMapping = {
1291
+ sm: "typography-label-xs color-label-text",
1292
+ md: "typography-label-md color-label-text"
1293
+ };
1294
+ var Label = ({
1295
+ children,
1296
+ size = "md",
1297
+ className,
1298
+ ...props
1299
+ }) => {
1300
+ return /* @__PURE__ */ jsx9("label", { ...props, className: clsx4(styleMapping[size], className), children });
1301
+ };
1302
+
1303
+ // src/components/properties/CheckboxProperty.tsx
1304
+ import { jsx as jsx10, jsxs as jsxs5 } from "react/jsx-runtime";
533
1305
  var CheckboxProperty = ({
534
1306
  overwriteTranslation,
535
1307
  value,
@@ -538,23 +1310,27 @@ var CheckboxProperty = ({
538
1310
  ...baseProps
539
1311
  }) => {
540
1312
  const translation = useTranslation([formTranslation], overwriteTranslation);
541
- return /* @__PURE__ */ jsx6(
1313
+ const id = useId();
1314
+ return /* @__PURE__ */ jsx10(
542
1315
  PropertyBase,
543
1316
  {
544
1317
  ...baseProps,
545
1318
  hasValue: true,
546
1319
  readOnly,
547
- icon: /* @__PURE__ */ jsx6(Check2, { size: 24 }),
548
- input: () => /* @__PURE__ */ jsx6(
549
- Checkbox,
550
- {
551
- checked: value ?? true,
552
- disabled: readOnly,
553
- onChange,
554
- label: { name: `${translation("yes")}/${translation("no")}`, labelType: "labelMedium" },
555
- containerClassName: "w-full"
556
- }
557
- )
1320
+ icon: /* @__PURE__ */ jsx10(Check2, { size: 24 }),
1321
+ input: () => /* @__PURE__ */ jsxs5("div", { className: "flex-row-2 items-center", children: [
1322
+ /* @__PURE__ */ jsx10(
1323
+ Checkbox2,
1324
+ {
1325
+ id,
1326
+ checked: value ?? true,
1327
+ disabled: readOnly,
1328
+ onChange,
1329
+ "aria-labelledby": id + "label"
1330
+ }
1331
+ ),
1332
+ /* @__PURE__ */ jsx10(Label, { id: id + "label", children: `${translation("yes")}/${translation("no")}` })
1333
+ ] })
558
1334
  }
559
1335
  );
560
1336
  };