@helpwave/hightide 0.1.25 → 0.1.27

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 (664) 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 +65 -14
  11. package/dist/components/date/DatePicker.js.map +1 -1
  12. package/dist/components/date/DatePicker.mjs +66 -15
  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 +59 -8
  27. package/dist/components/date/YearMonthPicker.js.map +1 -1
  28. package/dist/components/date/YearMonthPicker.mjs +60 -9
  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 +1697 -0
  57. package/dist/components/dialog/LanguageDialog.js.map +1 -0
  58. package/dist/components/dialog/LanguageDialog.mjs +1671 -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 +1751 -0
  63. package/dist/components/dialog/ThemeDialog.js.map +1 -0
  64. package/dist/components/dialog/ThemeDialog.mjs +1725 -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 +2098 -0
  69. package/dist/components/dialog/index.js.map +1 -0
  70. package/dist/components/dialog/index.mjs +2067 -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/Carousel.d.mts +33 -0
  97. package/dist/components/layout/Carousel.d.ts +33 -0
  98. package/dist/components/layout/Carousel.js +684 -0
  99. package/dist/components/layout/Carousel.js.map +1 -0
  100. package/dist/components/layout/Carousel.mjs +659 -0
  101. package/dist/components/layout/Carousel.mjs.map +1 -0
  102. package/dist/components/{layout-and-navigation → layout}/Chip.d.mts +8 -5
  103. package/dist/components/{layout-and-navigation → layout}/Chip.d.ts +8 -5
  104. package/dist/components/{layout-and-navigation → layout}/Chip.js +18 -5
  105. package/dist/components/layout/Chip.js.map +1 -0
  106. package/dist/components/{layout-and-navigation → layout}/Chip.mjs +18 -5
  107. package/dist/components/layout/Chip.mjs.map +1 -0
  108. package/dist/components/{layout-and-navigation → layout}/DividerInserter.js +1 -1
  109. package/dist/components/layout/DividerInserter.js.map +1 -0
  110. package/dist/components/{layout-and-navigation → layout}/DividerInserter.mjs +1 -1
  111. package/dist/components/layout/DividerInserter.mjs.map +1 -0
  112. package/dist/components/{layout-and-navigation → layout}/Expandable.d.mts +13 -10
  113. package/dist/components/{layout-and-navigation → layout}/Expandable.d.ts +13 -10
  114. package/dist/components/{layout-and-navigation → layout}/Expandable.js +20 -7
  115. package/dist/components/layout/Expandable.js.map +1 -0
  116. package/dist/components/{layout-and-navigation → layout}/Expandable.mjs +21 -8
  117. package/dist/components/layout/Expandable.mjs.map +1 -0
  118. package/dist/components/{layout-and-navigation → layout}/FAQSection.js +26 -13
  119. package/dist/components/layout/FAQSection.js.map +1 -0
  120. package/dist/components/{layout-and-navigation → layout}/FAQSection.mjs +27 -14
  121. package/dist/components/layout/FAQSection.mjs.map +1 -0
  122. package/dist/components/layout/FloatingContainer.d.mts +38 -0
  123. package/dist/components/layout/FloatingContainer.d.ts +38 -0
  124. package/dist/components/layout/FloatingContainer.js +219 -0
  125. package/dist/components/layout/FloatingContainer.js.map +1 -0
  126. package/dist/components/layout/FloatingContainer.mjs +195 -0
  127. package/dist/components/layout/FloatingContainer.mjs.map +1 -0
  128. package/dist/components/layout/ListBox.d.mts +44 -0
  129. package/dist/components/layout/ListBox.d.ts +44 -0
  130. package/dist/components/layout/ListBox.js +329 -0
  131. package/dist/components/layout/ListBox.js.map +1 -0
  132. package/dist/components/layout/ListBox.mjs +290 -0
  133. package/dist/components/layout/ListBox.mjs.map +1 -0
  134. package/dist/components/{layout-and-navigation → layout}/MarkdownInterpreter.js +1 -1
  135. package/dist/components/layout/MarkdownInterpreter.js.map +1 -0
  136. package/dist/components/{layout-and-navigation → layout}/MarkdownInterpreter.mjs +1 -1
  137. package/dist/components/layout/MarkdownInterpreter.mjs.map +1 -0
  138. package/dist/components/layout/ScrollArea.d.mts +15 -0
  139. package/dist/components/layout/ScrollArea.d.ts +15 -0
  140. package/dist/components/layout/ScrollArea.js +1252 -0
  141. package/dist/components/layout/ScrollArea.js.map +1 -0
  142. package/dist/components/layout/ScrollArea.mjs +1216 -0
  143. package/dist/components/layout/ScrollArea.mjs.map +1 -0
  144. package/dist/components/{layout-and-navigation → layout}/TextImage.js +6 -4
  145. package/dist/components/layout/TextImage.js.map +1 -0
  146. package/dist/components/{layout-and-navigation → layout}/TextImage.mjs +5 -3
  147. package/dist/components/layout/TextImage.mjs.map +1 -0
  148. package/dist/components/{layout-and-navigation → layout}/VerticalDivider.js +1 -1
  149. package/dist/components/layout/VerticalDivider.js.map +1 -0
  150. package/dist/components/{layout-and-navigation → layout}/VerticalDivider.mjs +1 -1
  151. package/dist/components/layout/VerticalDivider.mjs.map +1 -0
  152. package/dist/components/loading-states/ErrorComponent.js.map +1 -1
  153. package/dist/components/loading-states/ErrorComponent.mjs.map +1 -1
  154. package/dist/components/loading-states/LoadingAndErrorComponent.d.mts +1 -1
  155. package/dist/components/loading-states/LoadingAndErrorComponent.d.ts +1 -1
  156. package/dist/components/loading-states/LoadingAnimation.js +18 -17
  157. package/dist/components/loading-states/LoadingAnimation.js.map +1 -1
  158. package/dist/components/loading-states/LoadingAnimation.mjs +18 -17
  159. package/dist/components/loading-states/LoadingAnimation.mjs.map +1 -1
  160. package/dist/components/loading-states/LoadingButton.js +55 -18
  161. package/dist/components/loading-states/LoadingButton.js.map +1 -1
  162. package/dist/components/loading-states/LoadingButton.mjs +55 -18
  163. package/dist/components/loading-states/LoadingButton.mjs.map +1 -1
  164. package/dist/components/{layout-and-navigation → navigation}/BreadCrumb.js +668 -23
  165. package/dist/components/navigation/BreadCrumb.js.map +1 -0
  166. package/dist/components/{layout-and-navigation → navigation}/BreadCrumb.mjs +668 -23
  167. package/dist/components/navigation/BreadCrumb.mjs.map +1 -0
  168. package/dist/components/navigation/Navigation.d.mts +21 -0
  169. package/dist/components/navigation/Navigation.d.ts +21 -0
  170. package/dist/components/navigation/Navigation.js +4018 -0
  171. package/dist/components/navigation/Navigation.js.map +1 -0
  172. package/dist/components/navigation/Navigation.mjs +4012 -0
  173. package/dist/components/navigation/Navigation.mjs.map +1 -0
  174. package/dist/components/{layout-and-navigation → navigation}/Pagination.js +107 -192
  175. package/dist/components/navigation/Pagination.js.map +1 -0
  176. package/dist/components/{layout-and-navigation → navigation}/Pagination.mjs +102 -187
  177. package/dist/components/navigation/Pagination.mjs.map +1 -0
  178. package/dist/components/{layout-and-navigation → navigation}/StepperBar.js +44 -4
  179. package/dist/components/navigation/StepperBar.js.map +1 -0
  180. package/dist/components/{layout-and-navigation → navigation}/StepperBar.mjs +44 -4
  181. package/dist/components/navigation/StepperBar.mjs.map +1 -0
  182. package/dist/components/properties/CheckboxProperty.js +890 -135
  183. package/dist/components/properties/CheckboxProperty.js.map +1 -1
  184. package/dist/components/properties/CheckboxProperty.mjs +897 -142
  185. package/dist/components/properties/CheckboxProperty.mjs.map +1 -1
  186. package/dist/components/properties/DateProperty.js +153 -198
  187. package/dist/components/properties/DateProperty.js.map +1 -1
  188. package/dist/components/properties/DateProperty.mjs +146 -191
  189. package/dist/components/properties/DateProperty.mjs.map +1 -1
  190. package/dist/components/properties/MultiSelectProperty.d.mts +5 -10
  191. package/dist/components/properties/MultiSelectProperty.d.ts +5 -10
  192. package/dist/components/properties/MultiSelectProperty.js +1156 -1160
  193. package/dist/components/properties/MultiSelectProperty.js.map +1 -1
  194. package/dist/components/properties/MultiSelectProperty.mjs +1169 -1163
  195. package/dist/components/properties/MultiSelectProperty.mjs.map +1 -1
  196. package/dist/components/properties/NumberProperty.js +155 -201
  197. package/dist/components/properties/NumberProperty.js.map +1 -1
  198. package/dist/components/properties/NumberProperty.mjs +148 -194
  199. package/dist/components/properties/NumberProperty.mjs.map +1 -1
  200. package/dist/components/properties/PropertyBase.js +49 -9
  201. package/dist/components/properties/PropertyBase.js.map +1 -1
  202. package/dist/components/properties/PropertyBase.mjs +49 -9
  203. package/dist/components/properties/PropertyBase.mjs.map +1 -1
  204. package/dist/components/properties/SelectProperty.d.mts +5 -8
  205. package/dist/components/properties/SelectProperty.d.ts +5 -8
  206. package/dist/components/properties/SelectProperty.js +1062 -836
  207. package/dist/components/properties/SelectProperty.js.map +1 -1
  208. package/dist/components/properties/SelectProperty.mjs +1077 -841
  209. package/dist/components/properties/SelectProperty.mjs.map +1 -1
  210. package/dist/components/properties/TextProperty.js +97 -100
  211. package/dist/components/properties/TextProperty.js.map +1 -1
  212. package/dist/components/properties/TextProperty.mjs +100 -103
  213. package/dist/components/properties/TextProperty.mjs.map +1 -1
  214. package/dist/components/table/Table.js +1619 -994
  215. package/dist/components/table/Table.js.map +1 -1
  216. package/dist/components/table/Table.mjs +1626 -1001
  217. package/dist/components/table/Table.mjs.map +1 -1
  218. package/dist/components/table/TableFilterButton.js +116 -201
  219. package/dist/components/table/TableFilterButton.js.map +1 -1
  220. package/dist/components/table/TableFilterButton.mjs +105 -190
  221. package/dist/components/table/TableFilterButton.mjs.map +1 -1
  222. package/dist/components/table/TableSortButton.js +4 -3
  223. package/dist/components/table/TableSortButton.js.map +1 -1
  224. package/dist/components/table/TableSortButton.mjs +4 -3
  225. package/dist/components/table/TableSortButton.mjs.map +1 -1
  226. package/dist/components/user-action/Button.d.mts +15 -11
  227. package/dist/components/user-action/Button.d.ts +15 -11
  228. package/dist/components/user-action/Button.js +10 -9
  229. package/dist/components/user-action/Button.js.map +1 -1
  230. package/dist/components/user-action/Button.mjs +10 -9
  231. package/dist/components/user-action/Button.mjs.map +1 -1
  232. package/dist/components/user-action/Checkbox.d.mts +9 -25
  233. package/dist/components/user-action/Checkbox.d.ts +9 -25
  234. package/dist/components/user-action/Checkbox.js +793 -103
  235. package/dist/components/user-action/Checkbox.js.map +1 -1
  236. package/dist/components/user-action/Checkbox.mjs +794 -104
  237. package/dist/components/user-action/Checkbox.mjs.map +1 -1
  238. package/dist/components/user-action/CopyToClipboardWrapper.js +3 -1
  239. package/dist/components/user-action/CopyToClipboardWrapper.js.map +1 -1
  240. package/dist/components/user-action/CopyToClipboardWrapper.mjs +3 -1
  241. package/dist/components/user-action/CopyToClipboardWrapper.mjs.map +1 -1
  242. package/dist/components/user-action/DateAndTimePicker.d.mts +1 -1
  243. package/dist/components/user-action/DateAndTimePicker.d.ts +1 -1
  244. package/dist/components/user-action/DateAndTimePicker.js +67 -14
  245. package/dist/components/user-action/DateAndTimePicker.js.map +1 -1
  246. package/dist/components/user-action/DateAndTimePicker.mjs +68 -15
  247. package/dist/components/user-action/DateAndTimePicker.mjs.map +1 -1
  248. package/dist/components/user-action/Label.d.mts +6 -8
  249. package/dist/components/user-action/Label.d.ts +6 -8
  250. package/dist/components/user-action/Label.js +4 -6
  251. package/dist/components/user-action/Label.js.map +1 -1
  252. package/dist/components/user-action/Label.mjs +4 -6
  253. package/dist/components/user-action/Label.mjs.map +1 -1
  254. package/dist/components/user-action/Menu.d.mts +2 -2
  255. package/dist/components/user-action/Menu.d.ts +2 -2
  256. package/dist/components/user-action/Menu.js +1 -1
  257. package/dist/components/user-action/Menu.js.map +1 -1
  258. package/dist/components/user-action/Menu.mjs +1 -1
  259. package/dist/components/user-action/Menu.mjs.map +1 -1
  260. package/dist/components/user-action/ScrollPicker.js +8 -6
  261. package/dist/components/user-action/ScrollPicker.js.map +1 -1
  262. package/dist/components/user-action/ScrollPicker.mjs +8 -6
  263. package/dist/components/user-action/ScrollPicker.mjs.map +1 -1
  264. package/dist/components/user-action/SearchBar.d.mts +1 -2
  265. package/dist/components/user-action/SearchBar.d.ts +1 -2
  266. package/dist/components/user-action/SearchBar.js +93 -178
  267. package/dist/components/user-action/SearchBar.js.map +1 -1
  268. package/dist/components/user-action/SearchBar.mjs +86 -171
  269. package/dist/components/user-action/SearchBar.mjs.map +1 -1
  270. package/dist/components/user-action/Textarea.d.mts +22 -11
  271. package/dist/components/user-action/Textarea.d.ts +22 -11
  272. package/dist/components/user-action/Textarea.js +101 -92
  273. package/dist/components/user-action/Textarea.js.map +1 -1
  274. package/dist/components/user-action/Textarea.mjs +100 -92
  275. package/dist/components/user-action/Textarea.mjs.map +1 -1
  276. package/dist/components/user-action/input/Input.d.mts +37 -0
  277. package/dist/components/user-action/input/Input.d.ts +37 -0
  278. package/dist/components/user-action/input/Input.js +244 -0
  279. package/dist/components/user-action/input/Input.js.map +1 -0
  280. package/dist/components/user-action/input/Input.mjs +209 -0
  281. package/dist/components/user-action/input/Input.mjs.map +1 -0
  282. package/dist/components/user-action/input/InsideLabelInput.d.mts +20 -0
  283. package/dist/components/user-action/input/InsideLabelInput.d.ts +20 -0
  284. package/dist/components/user-action/input/InsideLabelInput.js +295 -0
  285. package/dist/components/user-action/input/InsideLabelInput.js.map +1 -0
  286. package/dist/components/user-action/input/InsideLabelInput.mjs +260 -0
  287. package/dist/components/user-action/input/InsideLabelInput.mjs.map +1 -0
  288. package/dist/components/user-action/input/ToggleableInput.d.mts +22 -0
  289. package/dist/components/user-action/input/ToggleableInput.d.ts +22 -0
  290. package/dist/components/user-action/{Input.js → input/ToggleableInput.js} +136 -171
  291. package/dist/components/user-action/input/ToggleableInput.js.map +1 -0
  292. package/dist/components/user-action/input/ToggleableInput.mjs +264 -0
  293. package/dist/components/user-action/input/ToggleableInput.mjs.map +1 -0
  294. package/dist/components/user-action/select/Select.d.mts +102 -0
  295. package/dist/components/user-action/select/Select.d.ts +102 -0
  296. package/dist/components/user-action/select/Select.js +1367 -0
  297. package/dist/components/user-action/select/Select.js.map +1 -0
  298. package/dist/components/user-action/select/Select.mjs +1333 -0
  299. package/dist/components/user-action/select/Select.mjs.map +1 -0
  300. package/dist/components/utils/FocusTrap.d.mts +28 -0
  301. package/dist/components/utils/FocusTrap.d.ts +28 -0
  302. package/dist/components/utils/FocusTrap.js +252 -0
  303. package/dist/components/utils/FocusTrap.js.map +1 -0
  304. package/dist/components/utils/FocusTrap.mjs +229 -0
  305. package/dist/components/utils/FocusTrap.mjs.map +1 -0
  306. package/dist/components/utils/Transition.d.mts +26 -0
  307. package/dist/components/utils/Transition.d.ts +26 -0
  308. package/dist/components/utils/Transition.js +74 -0
  309. package/dist/components/utils/Transition.js.map +1 -0
  310. package/dist/components/utils/Transition.mjs +50 -0
  311. package/dist/components/utils/Transition.mjs.map +1 -0
  312. package/dist/hooks/focus/useFocusGuards.d.mts +3 -0
  313. package/dist/hooks/focus/useFocusGuards.d.ts +3 -0
  314. package/dist/hooks/focus/useFocusGuards.js +74 -0
  315. package/dist/hooks/focus/useFocusGuards.js.map +1 -0
  316. package/dist/hooks/focus/useFocusGuards.mjs +50 -0
  317. package/dist/hooks/focus/useFocusGuards.mjs.map +1 -0
  318. package/dist/hooks/{useFocusManagement.js → focus/useFocusManagement.js} +1 -1
  319. package/dist/hooks/focus/useFocusManagement.js.map +1 -0
  320. package/dist/hooks/{useFocusManagement.mjs → focus/useFocusManagement.mjs} +1 -1
  321. package/dist/hooks/focus/useFocusManagement.mjs.map +1 -0
  322. package/dist/hooks/{useFocusOnceVisible.js → focus/useFocusOnceVisible.js} +1 -1
  323. package/dist/hooks/focus/useFocusOnceVisible.js.map +1 -0
  324. package/dist/hooks/{useFocusOnceVisible.mjs → focus/useFocusOnceVisible.mjs} +1 -1
  325. package/dist/hooks/focus/useFocusOnceVisible.mjs.map +1 -0
  326. package/dist/hooks/focus/useFocusTrap.d.mts +16 -0
  327. package/dist/hooks/focus/useFocusTrap.d.ts +16 -0
  328. package/dist/hooks/focus/useFocusTrap.js +233 -0
  329. package/dist/hooks/focus/useFocusTrap.js.map +1 -0
  330. package/dist/hooks/focus/useFocusTrap.mjs +210 -0
  331. package/dist/hooks/focus/useFocusTrap.mjs.map +1 -0
  332. package/dist/hooks/focus/useIsMounted.d.mts +3 -0
  333. package/dist/hooks/focus/useIsMounted.d.ts +3 -0
  334. package/dist/hooks/focus/useIsMounted.js +43 -0
  335. package/dist/hooks/focus/useIsMounted.js.map +1 -0
  336. package/dist/hooks/focus/useIsMounted.mjs +20 -0
  337. package/dist/hooks/focus/useIsMounted.mjs.map +1 -0
  338. package/dist/hooks/useFloatingElement.d.mts +22 -0
  339. package/dist/hooks/useFloatingElement.d.ts +22 -0
  340. package/dist/hooks/useFloatingElement.js +162 -0
  341. package/dist/hooks/useFloatingElement.js.map +1 -0
  342. package/dist/hooks/useFloatingElement.mjs +139 -0
  343. package/dist/hooks/useFloatingElement.mjs.map +1 -0
  344. package/dist/hooks/useLocalStorage.js +2 -2
  345. package/dist/hooks/useLocalStorage.js.map +1 -1
  346. package/dist/hooks/useLocalStorage.mjs +2 -2
  347. package/dist/hooks/useLocalStorage.mjs.map +1 -1
  348. package/dist/hooks/useLogOnce.d.mts +3 -4
  349. package/dist/hooks/useLogOnce.d.ts +3 -4
  350. package/dist/hooks/useLogOnce.js +5 -5
  351. package/dist/hooks/useLogOnce.js.map +1 -1
  352. package/dist/hooks/useLogOnce.mjs +5 -5
  353. package/dist/hooks/useLogOnce.mjs.map +1 -1
  354. package/dist/hooks/useRerender.d.mts +2 -2
  355. package/dist/hooks/useRerender.d.ts +2 -2
  356. package/dist/hooks/useSearch.d.mts +2 -2
  357. package/dist/hooks/useSearch.d.ts +2 -2
  358. package/dist/hooks/useSearch.js +1 -1
  359. package/dist/hooks/useSearch.js.map +1 -1
  360. package/dist/hooks/useSearch.mjs +1 -1
  361. package/dist/hooks/useSearch.mjs.map +1 -1
  362. package/dist/localization/LanguageProvider.d.mts +2 -2
  363. package/dist/localization/LanguageProvider.d.ts +2 -2
  364. package/dist/localization/LanguageProvider.js +2 -2
  365. package/dist/localization/LanguageProvider.js.map +1 -1
  366. package/dist/localization/LanguageProvider.mjs +2 -2
  367. package/dist/localization/LanguageProvider.mjs.map +1 -1
  368. package/dist/localization/defaults/form.d.mts +1 -0
  369. package/dist/localization/defaults/form.d.ts +1 -0
  370. package/dist/localization/defaults/form.js +2 -0
  371. package/dist/localization/defaults/form.js.map +1 -1
  372. package/dist/localization/defaults/form.mjs +2 -0
  373. package/dist/localization/defaults/form.mjs.map +1 -1
  374. package/dist/localization/useTranslation.js.map +1 -1
  375. package/dist/localization/useTranslation.mjs.map +1 -1
  376. package/dist/storybook/helper.d.mts +17 -0
  377. package/dist/storybook/helper.d.ts +17 -0
  378. package/dist/storybook/helper.js +61 -0
  379. package/dist/storybook/helper.js.map +1 -0
  380. package/dist/storybook/helper.mjs +37 -0
  381. package/dist/storybook/helper.mjs.map +1 -0
  382. package/dist/{css → style}/globals.css +836 -378
  383. package/dist/{css → style}/uncompiled/globals.css +80 -17
  384. package/dist/{css → style}/uncompiled/theme/colors-component.css +18 -4
  385. package/dist/{css → style}/uncompiled/theme/colors-semantic.css +2 -9
  386. package/dist/style/uncompiled/typography.css +171 -0
  387. package/dist/{css → style}/uncompiled/utitlity/animation.css +54 -42
  388. package/dist/{css → style}/uncompiled/utitlity/index.css +2 -1
  389. package/dist/{css → style}/uncompiled/utitlity/shadow.css +9 -1
  390. package/dist/style/uncompiled/utitlity/sizing.css +29 -0
  391. package/dist/theming/useTheme.d.mts +5 -3
  392. package/dist/theming/useTheme.d.ts +5 -3
  393. package/dist/theming/useTheme.js +42 -19
  394. package/dist/theming/useTheme.js.map +1 -1
  395. package/dist/theming/useTheme.mjs +40 -17
  396. package/dist/theming/useTheme.mjs.map +1 -1
  397. package/dist/{util → utils}/array.d.mts +1 -0
  398. package/dist/{util → utils}/array.d.ts +1 -0
  399. package/dist/{util → utils}/array.js +15 -2
  400. package/dist/utils/array.js.map +1 -0
  401. package/dist/{util → utils}/array.mjs +15 -2
  402. package/dist/utils/array.mjs.map +1 -0
  403. package/dist/utils/bagFunctions.d.mts +15 -0
  404. package/dist/utils/bagFunctions.d.ts +15 -0
  405. package/dist/{util/PropsWithFunctionChildren.js → utils/bagFunctions.js} +5 -5
  406. package/dist/utils/bagFunctions.js.map +1 -0
  407. package/dist/{util/PropsWithFunctionChildren.mjs → utils/bagFunctions.mjs} +2 -2
  408. package/dist/utils/bagFunctions.mjs.map +1 -0
  409. package/dist/{util → utils}/builder.js +1 -1
  410. package/dist/utils/builder.js.map +1 -0
  411. package/dist/{util → utils}/builder.mjs +1 -1
  412. package/dist/utils/builder.mjs.map +1 -0
  413. package/dist/{util → utils}/date.js +3 -3
  414. package/dist/utils/date.js.map +1 -0
  415. package/dist/{util → utils}/date.mjs +2 -2
  416. package/dist/utils/date.mjs.map +1 -0
  417. package/dist/{util → utils}/easeFunctions.js +5 -4
  418. package/dist/utils/easeFunctions.js.map +1 -0
  419. package/dist/{util → utils}/easeFunctions.mjs +4 -3
  420. package/dist/utils/easeFunctions.mjs.map +1 -0
  421. package/dist/{util → utils}/emailValidation.js +1 -1
  422. package/dist/utils/emailValidation.js.map +1 -0
  423. package/dist/{util → utils}/emailValidation.mjs +1 -1
  424. package/dist/utils/emailValidation.mjs.map +1 -0
  425. package/dist/{util → utils}/loopingArray.js +1 -1
  426. package/dist/utils/loopingArray.js.map +1 -0
  427. package/dist/{util → utils}/loopingArray.mjs +1 -1
  428. package/dist/utils/loopingArray.mjs.map +1 -0
  429. package/dist/utils/match.d.mts +3 -0
  430. package/dist/utils/match.d.ts +3 -0
  431. package/dist/utils/match.js +32 -0
  432. package/dist/utils/match.js.map +1 -0
  433. package/dist/utils/match.mjs +8 -0
  434. package/dist/utils/match.mjs.map +1 -0
  435. package/dist/utils/math.d.mts +3 -0
  436. package/dist/utils/math.d.ts +3 -0
  437. package/dist/{util → utils}/math.js +3 -2
  438. package/dist/utils/math.js.map +1 -0
  439. package/dist/utils/math.mjs +9 -0
  440. package/dist/utils/math.mjs.map +1 -0
  441. package/dist/{util → utils}/noop.js +1 -1
  442. package/dist/utils/noop.js.map +1 -0
  443. package/dist/utils/noop.mjs +6 -0
  444. package/dist/utils/noop.mjs.map +1 -0
  445. package/dist/{util → utils}/resolveSetState.js +1 -1
  446. package/dist/utils/resolveSetState.js.map +1 -0
  447. package/dist/{util → utils}/resolveSetState.mjs +1 -1
  448. package/dist/utils/resolveSetState.mjs.map +1 -0
  449. package/dist/{util → utils}/simpleSearch.js +1 -1
  450. package/dist/utils/simpleSearch.js.map +1 -0
  451. package/dist/{util → utils}/simpleSearch.mjs +1 -1
  452. package/dist/utils/simpleSearch.mjs.map +1 -0
  453. package/dist/{util → utils}/storage.js +1 -1
  454. package/dist/utils/storage.js.map +1 -0
  455. package/dist/{util → utils}/storage.mjs +1 -1
  456. package/dist/utils/storage.mjs.map +1 -0
  457. package/dist/{util → utils}/writeToClipboard.js +2 -1
  458. package/dist/utils/writeToClipboard.js.map +1 -0
  459. package/dist/{util → utils}/writeToClipboard.mjs +3 -1
  460. package/dist/utils/writeToClipboard.mjs.map +1 -0
  461. package/package.json +8 -8
  462. package/dist/components/dialogs/ConfirmDialog.js +0 -674
  463. package/dist/components/dialogs/ConfirmDialog.js.map +0 -1
  464. package/dist/components/dialogs/ConfirmDialog.mjs +0 -638
  465. package/dist/components/dialogs/ConfirmDialog.mjs.map +0 -1
  466. package/dist/components/icons-and-geometry/Helpwave.js.map +0 -1
  467. package/dist/components/icons-and-geometry/Helpwave.mjs.map +0 -1
  468. package/dist/components/layout-and-navigation/BreadCrumb.js.map +0 -1
  469. package/dist/components/layout-and-navigation/BreadCrumb.mjs.map +0 -1
  470. package/dist/components/layout-and-navigation/Carousel.d.mts +0 -25
  471. package/dist/components/layout-and-navigation/Carousel.d.ts +0 -25
  472. package/dist/components/layout-and-navigation/Carousel.js +0 -641
  473. package/dist/components/layout-and-navigation/Carousel.js.map +0 -1
  474. package/dist/components/layout-and-navigation/Carousel.mjs +0 -607
  475. package/dist/components/layout-and-navigation/Carousel.mjs.map +0 -1
  476. package/dist/components/layout-and-navigation/Chip.js.map +0 -1
  477. package/dist/components/layout-and-navigation/Chip.mjs.map +0 -1
  478. package/dist/components/layout-and-navigation/DividerInserter.js.map +0 -1
  479. package/dist/components/layout-and-navigation/DividerInserter.mjs.map +0 -1
  480. package/dist/components/layout-and-navigation/Expandable.js.map +0 -1
  481. package/dist/components/layout-and-navigation/Expandable.mjs.map +0 -1
  482. package/dist/components/layout-and-navigation/FAQSection.js.map +0 -1
  483. package/dist/components/layout-and-navigation/FAQSection.mjs.map +0 -1
  484. package/dist/components/layout-and-navigation/MarkdownInterpreter.js.map +0 -1
  485. package/dist/components/layout-and-navigation/MarkdownInterpreter.mjs.map +0 -1
  486. package/dist/components/layout-and-navigation/Overlay.d.mts +0 -67
  487. package/dist/components/layout-and-navigation/Overlay.d.ts +0 -67
  488. package/dist/components/layout-and-navigation/Overlay.js +0 -702
  489. package/dist/components/layout-and-navigation/Overlay.js.map +0 -1
  490. package/dist/components/layout-and-navigation/Overlay.mjs +0 -665
  491. package/dist/components/layout-and-navigation/Overlay.mjs.map +0 -1
  492. package/dist/components/layout-and-navigation/Pagination.js.map +0 -1
  493. package/dist/components/layout-and-navigation/Pagination.mjs.map +0 -1
  494. package/dist/components/layout-and-navigation/SearchableList.d.mts +0 -24
  495. package/dist/components/layout-and-navigation/SearchableList.d.ts +0 -24
  496. package/dist/components/layout-and-navigation/SearchableList.js +0 -758
  497. package/dist/components/layout-and-navigation/SearchableList.js.map +0 -1
  498. package/dist/components/layout-and-navigation/SearchableList.mjs +0 -724
  499. package/dist/components/layout-and-navigation/SearchableList.mjs.map +0 -1
  500. package/dist/components/layout-and-navigation/StepperBar.js.map +0 -1
  501. package/dist/components/layout-and-navigation/StepperBar.mjs.map +0 -1
  502. package/dist/components/layout-and-navigation/TextImage.js.map +0 -1
  503. package/dist/components/layout-and-navigation/TextImage.mjs.map +0 -1
  504. package/dist/components/layout-and-navigation/Tile.d.mts +0 -27
  505. package/dist/components/layout-and-navigation/Tile.d.ts +0 -27
  506. package/dist/components/layout-and-navigation/Tile.js +0 -96
  507. package/dist/components/layout-and-navigation/Tile.js.map +0 -1
  508. package/dist/components/layout-and-navigation/Tile.mjs +0 -61
  509. package/dist/components/layout-and-navigation/Tile.mjs.map +0 -1
  510. package/dist/components/layout-and-navigation/VerticalDivider.js.map +0 -1
  511. package/dist/components/layout-and-navigation/VerticalDivider.mjs.map +0 -1
  512. package/dist/components/modals/ConfirmModal.d.mts +0 -33
  513. package/dist/components/modals/ConfirmModal.d.ts +0 -33
  514. package/dist/components/modals/ConfirmModal.js +0 -687
  515. package/dist/components/modals/ConfirmModal.js.map +0 -1
  516. package/dist/components/modals/ConfirmModal.mjs +0 -651
  517. package/dist/components/modals/ConfirmModal.mjs.map +0 -1
  518. package/dist/components/modals/DiscardChangesModal.d.mts +0 -20
  519. package/dist/components/modals/DiscardChangesModal.d.ts +0 -20
  520. package/dist/components/modals/DiscardChangesModal.js +0 -717
  521. package/dist/components/modals/DiscardChangesModal.js.map +0 -1
  522. package/dist/components/modals/DiscardChangesModal.mjs +0 -681
  523. package/dist/components/modals/DiscardChangesModal.mjs.map +0 -1
  524. package/dist/components/modals/InputModal.d.mts +0 -21
  525. package/dist/components/modals/InputModal.d.ts +0 -21
  526. package/dist/components/modals/InputModal.js +0 -976
  527. package/dist/components/modals/InputModal.js.map +0 -1
  528. package/dist/components/modals/InputModal.mjs +0 -940
  529. package/dist/components/modals/InputModal.mjs.map +0 -1
  530. package/dist/components/modals/LanguageModal.d.mts +0 -21
  531. package/dist/components/modals/LanguageModal.d.ts +0 -21
  532. package/dist/components/modals/LanguageModal.js +0 -1468
  533. package/dist/components/modals/LanguageModal.js.map +0 -1
  534. package/dist/components/modals/LanguageModal.mjs +0 -1432
  535. package/dist/components/modals/LanguageModal.mjs.map +0 -1
  536. package/dist/components/modals/ThemeModal.d.mts +0 -21
  537. package/dist/components/modals/ThemeModal.d.ts +0 -21
  538. package/dist/components/modals/ThemeModal.js +0 -1497
  539. package/dist/components/modals/ThemeModal.js.map +0 -1
  540. package/dist/components/modals/ThemeModal.mjs +0 -1461
  541. package/dist/components/modals/ThemeModal.mjs.map +0 -1
  542. package/dist/components/user-action/Input.d.mts +0 -77
  543. package/dist/components/user-action/Input.d.ts +0 -77
  544. package/dist/components/user-action/Input.js.map +0 -1
  545. package/dist/components/user-action/Input.mjs +0 -298
  546. package/dist/components/user-action/Input.mjs.map +0 -1
  547. package/dist/components/user-action/MultiSelect.d.mts +0 -42
  548. package/dist/components/user-action/MultiSelect.d.ts +0 -42
  549. package/dist/components/user-action/MultiSelect.js +0 -1468
  550. package/dist/components/user-action/MultiSelect.js.map +0 -1
  551. package/dist/components/user-action/MultiSelect.mjs +0 -1433
  552. package/dist/components/user-action/MultiSelect.mjs.map +0 -1
  553. package/dist/components/user-action/Select.d.mts +0 -41
  554. package/dist/components/user-action/Select.d.ts +0 -41
  555. package/dist/components/user-action/Select.js +0 -1236
  556. package/dist/components/user-action/Select.js.map +0 -1
  557. package/dist/components/user-action/Select.mjs +0 -1201
  558. package/dist/components/user-action/Select.mjs.map +0 -1
  559. package/dist/components/user-action/ToggleableInput.d.mts +0 -37
  560. package/dist/components/user-action/ToggleableInput.d.ts +0 -37
  561. package/dist/components/user-action/ToggleableInput.js +0 -192
  562. package/dist/components/user-action/ToggleableInput.js.map +0 -1
  563. package/dist/components/user-action/ToggleableInput.mjs +0 -157
  564. package/dist/components/user-action/ToggleableInput.mjs.map +0 -1
  565. package/dist/css/uncompiled/textstyles.css +0 -69
  566. package/dist/hooks/useFocusManagement.js.map +0 -1
  567. package/dist/hooks/useFocusManagement.mjs.map +0 -1
  568. package/dist/hooks/useFocusOnceVisible.js.map +0 -1
  569. package/dist/hooks/useFocusOnceVisible.mjs.map +0 -1
  570. package/dist/index.d.mts +0 -103
  571. package/dist/index.d.ts +0 -103
  572. package/dist/index.js +0 -12610
  573. package/dist/index.js.map +0 -1
  574. package/dist/index.mjs +0 -12447
  575. package/dist/index.mjs.map +0 -1
  576. package/dist/util/PropsWithFunctionChildren.d.mts +0 -14
  577. package/dist/util/PropsWithFunctionChildren.d.ts +0 -14
  578. package/dist/util/PropsWithFunctionChildren.js.map +0 -1
  579. package/dist/util/PropsWithFunctionChildren.mjs.map +0 -1
  580. package/dist/util/array.js.map +0 -1
  581. package/dist/util/array.mjs.map +0 -1
  582. package/dist/util/builder.js.map +0 -1
  583. package/dist/util/builder.mjs.map +0 -1
  584. package/dist/util/date.js.map +0 -1
  585. package/dist/util/date.mjs.map +0 -1
  586. package/dist/util/easeFunctions.js.map +0 -1
  587. package/dist/util/easeFunctions.mjs.map +0 -1
  588. package/dist/util/emailValidation.js.map +0 -1
  589. package/dist/util/emailValidation.mjs.map +0 -1
  590. package/dist/util/loopingArray.js.map +0 -1
  591. package/dist/util/loopingArray.mjs.map +0 -1
  592. package/dist/util/math.d.mts +0 -3
  593. package/dist/util/math.d.ts +0 -3
  594. package/dist/util/math.js.map +0 -1
  595. package/dist/util/math.mjs +0 -8
  596. package/dist/util/math.mjs.map +0 -1
  597. package/dist/util/news.d.mts +0 -101
  598. package/dist/util/news.d.ts +0 -101
  599. package/dist/util/news.js +0 -76
  600. package/dist/util/news.js.map +0 -1
  601. package/dist/util/news.mjs +0 -49
  602. package/dist/util/news.mjs.map +0 -1
  603. package/dist/util/noop.js.map +0 -1
  604. package/dist/util/noop.mjs +0 -6
  605. package/dist/util/noop.mjs.map +0 -1
  606. package/dist/util/resolveSetState.js.map +0 -1
  607. package/dist/util/resolveSetState.mjs.map +0 -1
  608. package/dist/util/simpleSearch.js.map +0 -1
  609. package/dist/util/simpleSearch.mjs.map +0 -1
  610. package/dist/util/storage.js.map +0 -1
  611. package/dist/util/storage.mjs.map +0 -1
  612. package/dist/util/types.d.mts +0 -3
  613. package/dist/util/types.d.ts +0 -3
  614. package/dist/util/types.js +0 -18
  615. package/dist/util/types.js.map +0 -1
  616. package/dist/util/types.mjs +0 -1
  617. package/dist/util/types.mjs.map +0 -1
  618. package/dist/util/writeToClipboard.js.map +0 -1
  619. package/dist/util/writeToClipboard.mjs.map +0 -1
  620. /package/dist/components/{layout-and-navigation → layout}/DividerInserter.d.mts +0 -0
  621. /package/dist/components/{layout-and-navigation → layout}/DividerInserter.d.ts +0 -0
  622. /package/dist/components/{layout-and-navigation → layout}/FAQSection.d.mts +0 -0
  623. /package/dist/components/{layout-and-navigation → layout}/FAQSection.d.ts +0 -0
  624. /package/dist/components/{layout-and-navigation → layout}/MarkdownInterpreter.d.mts +0 -0
  625. /package/dist/components/{layout-and-navigation → layout}/MarkdownInterpreter.d.ts +0 -0
  626. /package/dist/components/{layout-and-navigation → layout}/TextImage.d.mts +0 -0
  627. /package/dist/components/{layout-and-navigation → layout}/TextImage.d.ts +0 -0
  628. /package/dist/components/{layout-and-navigation → layout}/VerticalDivider.d.mts +0 -0
  629. /package/dist/components/{layout-and-navigation → layout}/VerticalDivider.d.ts +0 -0
  630. /package/dist/components/{layout-and-navigation → navigation}/BreadCrumb.d.mts +0 -0
  631. /package/dist/components/{layout-and-navigation → navigation}/BreadCrumb.d.ts +0 -0
  632. /package/dist/components/{layout-and-navigation → navigation}/Pagination.d.mts +0 -0
  633. /package/dist/components/{layout-and-navigation → navigation}/Pagination.d.ts +0 -0
  634. /package/dist/components/{layout-and-navigation → navigation}/StepperBar.d.mts +0 -0
  635. /package/dist/components/{layout-and-navigation → navigation}/StepperBar.d.ts +0 -0
  636. /package/dist/hooks/{useFocusManagement.d.mts → focus/useFocusManagement.d.mts} +0 -0
  637. /package/dist/hooks/{useFocusManagement.d.ts → focus/useFocusManagement.d.ts} +0 -0
  638. /package/dist/hooks/{useFocusOnceVisible.d.mts → focus/useFocusOnceVisible.d.mts} +0 -0
  639. /package/dist/hooks/{useFocusOnceVisible.d.ts → focus/useFocusOnceVisible.d.ts} +0 -0
  640. /package/dist/{css → style}/uncompiled/theme/colors-basic.css +0 -0
  641. /package/dist/{css → style}/uncompiled/theme/index.css +0 -0
  642. /package/dist/{css → style}/uncompiled/theme/variants.css +0 -0
  643. /package/dist/{css → style}/uncompiled/utitlity/borderradius.css +0 -0
  644. /package/dist/{css → style}/uncompiled/utitlity/general.css +0 -0
  645. /package/dist/{util → utils}/builder.d.mts +0 -0
  646. /package/dist/{util → utils}/builder.d.ts +0 -0
  647. /package/dist/{util → utils}/date.d.mts +0 -0
  648. /package/dist/{util → utils}/date.d.ts +0 -0
  649. /package/dist/{util → utils}/easeFunctions.d.mts +0 -0
  650. /package/dist/{util → utils}/easeFunctions.d.ts +0 -0
  651. /package/dist/{util → utils}/emailValidation.d.mts +0 -0
  652. /package/dist/{util → utils}/emailValidation.d.ts +0 -0
  653. /package/dist/{util → utils}/loopingArray.d.mts +0 -0
  654. /package/dist/{util → utils}/loopingArray.d.ts +0 -0
  655. /package/dist/{util → utils}/noop.d.mts +0 -0
  656. /package/dist/{util → utils}/noop.d.ts +0 -0
  657. /package/dist/{util → utils}/resolveSetState.d.mts +0 -0
  658. /package/dist/{util → utils}/resolveSetState.d.ts +0 -0
  659. /package/dist/{util → utils}/simpleSearch.d.mts +0 -0
  660. /package/dist/{util → utils}/simpleSearch.d.ts +0 -0
  661. /package/dist/{util → utils}/storage.d.mts +0 -0
  662. /package/dist/{util → utils}/storage.d.ts +0 -0
  663. /package/dist/{util → utils}/writeToClipboard.d.mts +0 -0
  664. /package/dist/{util → utils}/writeToClipboard.d.ts +0 -0
@@ -1,125 +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
- if (disabled) {
66
- return;
67
- }
68
- const newValue = checked === "indeterminate" ? false : !checked;
69
- propagateChange(newValue);
70
- };
71
- return /* @__PURE__ */ jsxs(
72
- "div",
783
+ return /* @__PURE__ */ jsx5(
784
+ Checkbox,
73
785
  {
74
- className: clsx2("group flex-row-2 items-center", {
75
- "cursor-pointer": !disabled,
76
- "cursor-not-allowed": disabled
77
- }, containerClassName),
78
- onClick: changeValue,
79
- children: [
80
- /* @__PURE__ */ jsx2(
81
- CheckboxPrimitive.Root,
82
- {
83
- onCheckedChange: propagateChange,
84
- checked,
85
- disabled,
86
- id,
87
- className: clsx2(usedSizeClass, `items-center border-2 rounded outline-none `, {
88
- "text-disabled-text border-disabled-outline bg-disabled-background cursor-not-allowed": disabled,
89
- "focus:border-primary group-hover:border-primary ": !disabled,
90
- "bg-input-background": !disabled && !checked,
91
- "bg-primary/30 border-primary text-primary": !disabled && checked === true || checked === "indeterminate"
92
- }, className),
93
- children: /* @__PURE__ */ jsxs(CheckboxPrimitive.Indicator, { children: [
94
- checked === true && /* @__PURE__ */ jsx2(Check, { className: innerIconSize }),
95
- checked === "indeterminate" && /* @__PURE__ */ jsx2(Minus, { className: innerIconSize })
96
- ] })
97
- }
98
- ),
99
- label && /* @__PURE__ */ jsx2(
100
- Label,
101
- {
102
- ...label,
103
- className: clsx2(
104
- label.className,
105
- {
106
- "cursor-pointer": !disabled,
107
- "cursor-not-allowed": disabled
108
- }
109
- ),
110
- htmlFor: id
111
- }
112
- )
113
- ]
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
+ {
794
+ "text-disabled-text border-disabled-outline bg-disabled-background cursor-not-allowed": disabled,
795
+ "hover:border-primary": !disabled,
796
+ "bg-input-background": !disabled && !checked,
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
+ ] })
114
806
  }
115
807
  );
116
808
  };
117
809
 
118
810
  // src/localization/LanguageProvider.tsx
119
- 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";
120
812
 
121
813
  // src/hooks/useLocalStorage.ts
122
- import { useCallback, useState as useState2 } from "react";
814
+ import { useCallback as useCallback4, useState as useState6 } from "react";
123
815
 
124
816
  // src/localization/util.ts
125
817
  var languages = ["en", "de"];
@@ -135,12 +827,12 @@ var LanguageUtil = {
135
827
  };
136
828
 
137
829
  // src/localization/LanguageProvider.tsx
138
- import { jsx as jsx3 } from "react/jsx-runtime";
139
- var LanguageContext = createContext({
830
+ import { jsx as jsx6 } from "react/jsx-runtime";
831
+ var LanguageContext = createContext2({
140
832
  language: LanguageUtil.DEFAULT_LANGUAGE,
141
833
  setLanguage: (v) => v
142
834
  });
143
- var useLanguage = () => useContext(LanguageContext);
835
+ var useLanguage = () => useContext2(LanguageContext);
144
836
 
145
837
  // src/localization/useTranslation.ts
146
838
  var TranslationPluralCount = {
@@ -204,12 +896,12 @@ var useTranslation = (translations, overwriteTranslation = {}) => {
204
896
 
205
897
  // src/components/properties/PropertyBase.tsx
206
898
  import { AlertTriangle } from "lucide-react";
207
- import clsx4 from "clsx";
899
+ import clsx3 from "clsx";
208
900
 
209
901
  // src/components/user-action/Button.tsx
210
- import { forwardRef } from "react";
211
- import clsx3 from "clsx";
212
- 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";
213
905
  var ButtonColorUtil = {
214
906
  solid: ["primary", "secondary", "tertiary", "positive", "warning", "negative", "neutral"],
215
907
  text: ["primary", "negative", "neutral"],
@@ -233,7 +925,7 @@ var ButtonUtil = {
233
925
  paddingMapping,
234
926
  iconPaddingMapping
235
927
  };
236
- var SolidButton = forwardRef(function SolidButton2({
928
+ var SolidButton = forwardRef4(function SolidButton2({
237
929
  children,
238
930
  color = "primary",
239
931
  size = "medium",
@@ -261,12 +953,12 @@ var SolidButton = forwardRef(function SolidButton2({
261
953
  negative: "not-group-disabled:text-button-solid-negative-icon",
262
954
  neutral: "not-group-disabled:text-button-solid-neutral-icon"
263
955
  }[color];
264
- return /* @__PURE__ */ jsxs2(
956
+ return /* @__PURE__ */ jsxs3(
265
957
  "button",
266
958
  {
267
959
  ref,
268
960
  onClick,
269
- className: clsx3(
961
+ className: clsx2(
270
962
  "group font-semibold",
271
963
  colorClasses,
272
964
  "not-disabled:hover:brightness-90",
@@ -276,10 +968,10 @@ var SolidButton = forwardRef(function SolidButton2({
276
968
  ),
277
969
  ...restProps,
278
970
  children: [
279
- startIcon && /* @__PURE__ */ jsx4(
971
+ startIcon && /* @__PURE__ */ jsx7(
280
972
  "span",
281
973
  {
282
- className: clsx3(
974
+ className: clsx2(
283
975
  iconColorClasses,
284
976
  "group-disabled:text-disabled-icon"
285
977
  ),
@@ -287,10 +979,10 @@ var SolidButton = forwardRef(function SolidButton2({
287
979
  }
288
980
  ),
289
981
  children,
290
- endIcon && /* @__PURE__ */ jsx4(
982
+ endIcon && /* @__PURE__ */ jsx7(
291
983
  "span",
292
984
  {
293
- className: clsx3(
985
+ className: clsx2(
294
986
  iconColorClasses,
295
987
  "group-disabled:text-disabled-icon"
296
988
  ),
@@ -313,25 +1005,25 @@ var TextButton = ({
313
1005
  ...restProps
314
1006
  }) => {
315
1007
  const colorClasses = {
316
- primary: "not-disabled:bg-transparent not-disabled:text-button-text-primary-text",
317
- negative: "not-disabled:bg-transparent not-disabled:text-button-text-negative-text",
318
- neutral: "not-disabled:bg-transparent not-disabled: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"
319
1011
  }[color];
320
1012
  const backgroundColor = {
321
- primary: "not-disabled:hover:bg-button-text-primary-text/20",
322
- negative: "not-disabled:hover:bg-button-text-negative-text/20",
323
- neutral: "not-disabled: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"
324
1016
  }[color];
325
1017
  const iconColorClasses = {
326
1018
  primary: "not-group-disabled:text-button-text-primary-icon",
327
1019
  negative: "not-group-disabled:text-button-text-negative-icon",
328
1020
  neutral: "not-group-disabled:text-button-text-neutral-icon"
329
1021
  }[color];
330
- return /* @__PURE__ */ jsxs2(
1022
+ return /* @__PURE__ */ jsxs3(
331
1023
  "button",
332
1024
  {
333
1025
  onClick,
334
- className: clsx3(
1026
+ className: clsx2(
335
1027
  "group font-semibold",
336
1028
  "disabled:text-disabled-text",
337
1029
  colorClasses,
@@ -344,10 +1036,10 @@ var TextButton = ({
344
1036
  ),
345
1037
  ...restProps,
346
1038
  children: [
347
- startIcon && /* @__PURE__ */ jsx4(
1039
+ startIcon && /* @__PURE__ */ jsx7(
348
1040
  "span",
349
1041
  {
350
- className: clsx3(
1042
+ className: clsx2(
351
1043
  iconColorClasses,
352
1044
  "group-disabled:text-disabled-icon"
353
1045
  ),
@@ -355,10 +1047,10 @@ var TextButton = ({
355
1047
  }
356
1048
  ),
357
1049
  children,
358
- endIcon && /* @__PURE__ */ jsx4(
1050
+ endIcon && /* @__PURE__ */ jsx7(
359
1051
  "span",
360
1052
  {
361
- className: clsx3(
1053
+ className: clsx2(
362
1054
  iconColorClasses,
363
1055
  "group-disabled:text-disabled-icon"
364
1056
  ),
@@ -369,6 +1061,44 @@ var TextButton = ({
369
1061
  }
370
1062
  );
371
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
+ });
372
1102
 
373
1103
  // src/localization/defaults/form.ts
374
1104
  var formTranslation = {
@@ -406,6 +1136,7 @@ var formTranslation = {
406
1136
  next: "Next",
407
1137
  no: "No",
408
1138
  none: "None",
1139
+ nothingFound: "Nothing found",
409
1140
  of: "of",
410
1141
  optional: "Optional",
411
1142
  pleaseWait: "Please wait...",
@@ -462,6 +1193,7 @@ var formTranslation = {
462
1193
  next: "Weiter",
463
1194
  no: "Nein",
464
1195
  none: "Nichts",
1196
+ nothingFound: "Nichts gefunden",
465
1197
  of: "von",
466
1198
  optional: "Optional",
467
1199
  pleaseWait: "Bitte warten...",
@@ -487,7 +1219,7 @@ var formTranslation = {
487
1219
  };
488
1220
 
489
1221
  // src/components/properties/PropertyBase.tsx
490
- import { jsx as jsx5, jsxs as jsxs3 } from "react/jsx-runtime";
1222
+ import { jsx as jsx8, jsxs as jsxs4 } from "react/jsx-runtime";
491
1223
  var PropertyBase = ({
492
1224
  overwriteTranslation,
493
1225
  name,
@@ -501,11 +1233,11 @@ var PropertyBase = ({
501
1233
  }) => {
502
1234
  const translation = useTranslation([formTranslation], overwriteTranslation);
503
1235
  const requiredAndNoValue = softRequired && !hasValue;
504
- return /* @__PURE__ */ jsxs3("div", { className: clsx4("flex-row-0 group", className), children: [
505
- /* @__PURE__ */ jsxs3(
1236
+ return /* @__PURE__ */ jsxs4("div", { className: clsx3("flex-row-0 group", className), children: [
1237
+ /* @__PURE__ */ jsxs4(
506
1238
  "div",
507
1239
  {
508
- className: clsx4(
1240
+ className: clsx3(
509
1241
  "flex-row-2 max-w-48 min-w-48 px-3 py-2 items-center rounded-l-xl border-2 border-r-0",
510
1242
  {
511
1243
  "bg-property-title-background text-property-title-text group-hover:border-primary": !requiredAndNoValue,
@@ -514,15 +1246,15 @@ var PropertyBase = ({
514
1246
  className
515
1247
  ),
516
1248
  children: [
517
- /* @__PURE__ */ jsx5("div", { className: "max-w-6 min-w-6 text-text-primary", children: icon }),
518
- /* @__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 })
519
1251
  ]
520
1252
  }
521
1253
  ),
522
- /* @__PURE__ */ jsxs3(
1254
+ /* @__PURE__ */ jsxs4(
523
1255
  "div",
524
1256
  {
525
- className: clsx4(
1257
+ className: clsx3(
526
1258
  "flex-row-2 grow px-3 py-2 justify-between items-center rounded-r-xl border-2 border-l-0 min-h-15",
527
1259
  {
528
1260
  "bg-input-background text-input-text group-hover:border-primary": !requiredAndNoValue,
@@ -532,14 +1264,14 @@ var PropertyBase = ({
532
1264
  ),
533
1265
  children: [
534
1266
  input({ softRequired, hasValue }),
535
- requiredAndNoValue && /* @__PURE__ */ jsx5("div", { className: "text-warning", children: /* @__PURE__ */ jsx5(AlertTriangle, { size: 24 }) }),
536
- onRemove && hasValue && /* @__PURE__ */ jsx5(
1267
+ requiredAndNoValue && /* @__PURE__ */ jsx8("div", { className: "text-warning", children: /* @__PURE__ */ jsx8(AlertTriangle, { size: 24 }) }),
1268
+ onRemove && !readOnly && /* @__PURE__ */ jsx8(
537
1269
  TextButton,
538
1270
  {
539
1271
  onClick: onRemove,
540
1272
  color: "negative",
541
- className: clsx4("items-center", { "!text-transparent": !hasValue || readOnly }),
542
- disabled: !hasValue || readOnly,
1273
+ className: clsx3("items-center"),
1274
+ disabled: !hasValue,
543
1275
  children: translation("remove")
544
1276
  }
545
1277
  )
@@ -550,7 +1282,26 @@ var PropertyBase = ({
550
1282
  };
551
1283
 
552
1284
  // src/components/properties/CheckboxProperty.tsx
553
- 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";
554
1305
  var CheckboxProperty = ({
555
1306
  overwriteTranslation,
556
1307
  value,
@@ -559,23 +1310,27 @@ var CheckboxProperty = ({
559
1310
  ...baseProps
560
1311
  }) => {
561
1312
  const translation = useTranslation([formTranslation], overwriteTranslation);
562
- return /* @__PURE__ */ jsx6(
1313
+ const id = useId();
1314
+ return /* @__PURE__ */ jsx10(
563
1315
  PropertyBase,
564
1316
  {
565
1317
  ...baseProps,
566
1318
  hasValue: true,
567
1319
  readOnly,
568
- icon: /* @__PURE__ */ jsx6(Check2, { size: 24 }),
569
- input: () => /* @__PURE__ */ jsx6(
570
- Checkbox,
571
- {
572
- checked: value ?? true,
573
- disabled: readOnly,
574
- onChange,
575
- label: { name: `${translation("yes")}/${translation("no")}`, labelType: "labelMedium" },
576
- containerClassName: "w-full"
577
- }
578
- )
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
+ ] })
579
1334
  }
580
1335
  );
581
1336
  };