@helpwave/hightide 0.1.46 → 0.1.47

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 (784) hide show
  1. package/README.md +1 -1
  2. package/dist/index.d.mts +1990 -0
  3. package/dist/index.d.ts +1990 -113
  4. package/dist/index.js +1514 -1353
  5. package/dist/index.js.map +1 -1
  6. package/dist/{components/index.js → index.mjs} +728 -18
  7. package/dist/index.mjs.map +1 -0
  8. package/package.json +2 -4
  9. package/dist/coloring/index.cjs +0 -85
  10. package/dist/coloring/index.cjs.map +0 -1
  11. package/dist/coloring/index.d.cts +0 -2
  12. package/dist/coloring/index.d.ts +0 -2
  13. package/dist/coloring/index.js +0 -48
  14. package/dist/coloring/index.js.map +0 -1
  15. package/dist/coloring/shading.cjs +0 -81
  16. package/dist/coloring/shading.cjs.map +0 -1
  17. package/dist/coloring/shading.d.cts +0 -5
  18. package/dist/coloring/shading.d.ts +0 -5
  19. package/dist/coloring/shading.js +0 -47
  20. package/dist/coloring/shading.js.map +0 -1
  21. package/dist/coloring/types.cjs +0 -30
  22. package/dist/coloring/types.cjs.map +0 -1
  23. package/dist/coloring/types.d.cts +0 -13
  24. package/dist/coloring/types.d.ts +0 -13
  25. package/dist/coloring/types.js +0 -6
  26. package/dist/coloring/types.js.map +0 -1
  27. package/dist/components/branding/HelpwaveBadge.cjs +0 -140
  28. package/dist/components/branding/HelpwaveBadge.cjs.map +0 -1
  29. package/dist/components/branding/HelpwaveBadge.d.cts +0 -13
  30. package/dist/components/branding/HelpwaveBadge.d.ts +0 -13
  31. package/dist/components/branding/HelpwaveBadge.js +0 -104
  32. package/dist/components/branding/HelpwaveBadge.js.map +0 -1
  33. package/dist/components/branding/index.cjs +0 -140
  34. package/dist/components/branding/index.cjs.map +0 -1
  35. package/dist/components/branding/index.d.cts +0 -3
  36. package/dist/components/branding/index.d.ts +0 -3
  37. package/dist/components/branding/index.js +0 -104
  38. package/dist/components/branding/index.js.map +0 -1
  39. package/dist/components/date/DatePicker.cjs +0 -1318
  40. package/dist/components/date/DatePicker.cjs.map +0 -1
  41. package/dist/components/date/DatePicker.d.cts +0 -26
  42. package/dist/components/date/DatePicker.d.ts +0 -26
  43. package/dist/components/date/DatePicker.js +0 -1283
  44. package/dist/components/date/DatePicker.js.map +0 -1
  45. package/dist/components/date/DayPicker.cjs +0 -261
  46. package/dist/components/date/DayPicker.cjs.map +0 -1
  47. package/dist/components/date/DayPicker.d.cts +0 -20
  48. package/dist/components/date/DayPicker.d.ts +0 -20
  49. package/dist/components/date/DayPicker.js +0 -224
  50. package/dist/components/date/DayPicker.js.map +0 -1
  51. package/dist/components/date/TimeDisplay.cjs +0 -638
  52. package/dist/components/date/TimeDisplay.cjs.map +0 -1
  53. package/dist/components/date/TimeDisplay.d.cts +0 -13
  54. package/dist/components/date/TimeDisplay.d.ts +0 -13
  55. package/dist/components/date/TimeDisplay.js +0 -612
  56. package/dist/components/date/TimeDisplay.js.map +0 -1
  57. package/dist/components/date/TimePicker.cjs +0 -237
  58. package/dist/components/date/TimePicker.cjs.map +0 -1
  59. package/dist/components/date/TimePicker.d.cts +0 -15
  60. package/dist/components/date/TimePicker.d.ts +0 -15
  61. package/dist/components/date/TimePicker.js +0 -202
  62. package/dist/components/date/TimePicker.js.map +0 -1
  63. package/dist/components/date/YearMonthPicker.cjs +0 -536
  64. package/dist/components/date/YearMonthPicker.cjs.map +0 -1
  65. package/dist/components/date/YearMonthPicker.d.cts +0 -15
  66. package/dist/components/date/YearMonthPicker.d.ts +0 -15
  67. package/dist/components/date/YearMonthPicker.js +0 -501
  68. package/dist/components/date/YearMonthPicker.js.map +0 -1
  69. package/dist/components/date/index.cjs +0 -1556
  70. package/dist/components/date/index.cjs.map +0 -1
  71. package/dist/components/date/index.d.cts +0 -7
  72. package/dist/components/date/index.d.ts +0 -7
  73. package/dist/components/date/index.js +0 -1512
  74. package/dist/components/date/index.js.map +0 -1
  75. package/dist/components/dialog/ConfirmDialog.cjs +0 -1165
  76. package/dist/components/dialog/ConfirmDialog.cjs.map +0 -1
  77. package/dist/components/dialog/ConfirmDialog.d.cts +0 -29
  78. package/dist/components/dialog/ConfirmDialog.d.ts +0 -29
  79. package/dist/components/dialog/ConfirmDialog.js +0 -1129
  80. package/dist/components/dialog/ConfirmDialog.js.map +0 -1
  81. package/dist/components/dialog/Dialog.cjs +0 -1108
  82. package/dist/components/dialog/Dialog.cjs.map +0 -1
  83. package/dist/components/dialog/Dialog.d.cts +0 -27
  84. package/dist/components/dialog/Dialog.d.ts +0 -27
  85. package/dist/components/dialog/Dialog.js +0 -1075
  86. package/dist/components/dialog/Dialog.js.map +0 -1
  87. package/dist/components/dialog/DiscardChangesDialog.cjs +0 -1192
  88. package/dist/components/dialog/DiscardChangesDialog.cjs.map +0 -1
  89. package/dist/components/dialog/DiscardChangesDialog.d.cts +0 -18
  90. package/dist/components/dialog/DiscardChangesDialog.d.ts +0 -18
  91. package/dist/components/dialog/DiscardChangesDialog.js +0 -1156
  92. package/dist/components/dialog/DiscardChangesDialog.js.map +0 -1
  93. package/dist/components/dialog/InputDialog.cjs +0 -1369
  94. package/dist/components/dialog/InputDialog.cjs.map +0 -1
  95. package/dist/components/dialog/InputDialog.d.cts +0 -17
  96. package/dist/components/dialog/InputDialog.d.ts +0 -17
  97. package/dist/components/dialog/InputDialog.js +0 -1333
  98. package/dist/components/dialog/InputDialog.js.map +0 -1
  99. package/dist/components/dialog/LanguageDialog.cjs +0 -2149
  100. package/dist/components/dialog/LanguageDialog.cjs.map +0 -1
  101. package/dist/components/dialog/LanguageDialog.d.cts +0 -16
  102. package/dist/components/dialog/LanguageDialog.d.ts +0 -16
  103. package/dist/components/dialog/LanguageDialog.js +0 -2124
  104. package/dist/components/dialog/LanguageDialog.js.map +0 -1
  105. package/dist/components/dialog/ThemeDialog.cjs +0 -2188
  106. package/dist/components/dialog/ThemeDialog.cjs.map +0 -1
  107. package/dist/components/dialog/ThemeDialog.d.cts +0 -16
  108. package/dist/components/dialog/ThemeDialog.d.ts +0 -16
  109. package/dist/components/dialog/ThemeDialog.js +0 -2163
  110. package/dist/components/dialog/ThemeDialog.js.map +0 -1
  111. package/dist/components/dialog/index.cjs +0 -2516
  112. package/dist/components/dialog/index.cjs.map +0 -1
  113. package/dist/components/dialog/index.d.cts +0 -11
  114. package/dist/components/dialog/index.d.ts +0 -11
  115. package/dist/components/dialog/index.js +0 -2486
  116. package/dist/components/dialog/index.js.map +0 -1
  117. package/dist/components/form/FormElementWrapper.cjs +0 -167
  118. package/dist/components/form/FormElementWrapper.cjs.map +0 -1
  119. package/dist/components/form/FormElementWrapper.d.cts +0 -35
  120. package/dist/components/form/FormElementWrapper.d.ts +0 -35
  121. package/dist/components/form/FormElementWrapper.js +0 -133
  122. package/dist/components/form/FormElementWrapper.js.map +0 -1
  123. package/dist/components/form/index.cjs +0 -169
  124. package/dist/components/form/index.cjs.map +0 -1
  125. package/dist/components/form/index.d.cts +0 -5
  126. package/dist/components/form/index.d.ts +0 -5
  127. package/dist/components/form/index.js +0 -133
  128. package/dist/components/form/index.js.map +0 -1
  129. package/dist/components/icons-and-geometry/Avatar.cjs +0 -670
  130. package/dist/components/icons-and-geometry/Avatar.cjs.map +0 -1
  131. package/dist/components/icons-and-geometry/Avatar.d.cts +0 -36
  132. package/dist/components/icons-and-geometry/Avatar.d.ts +0 -36
  133. package/dist/components/icons-and-geometry/Avatar.js +0 -663
  134. package/dist/components/icons-and-geometry/Avatar.js.map +0 -1
  135. package/dist/components/icons-and-geometry/Circle.cjs +0 -61
  136. package/dist/components/icons-and-geometry/Circle.cjs.map +0 -1
  137. package/dist/components/icons-and-geometry/Circle.d.cts +0 -10
  138. package/dist/components/icons-and-geometry/Circle.d.ts +0 -10
  139. package/dist/components/icons-and-geometry/Circle.js +0 -27
  140. package/dist/components/icons-and-geometry/Circle.js.map +0 -1
  141. package/dist/components/icons-and-geometry/HelpwaveLogo.cjs +0 -98
  142. package/dist/components/icons-and-geometry/HelpwaveLogo.cjs.map +0 -1
  143. package/dist/components/icons-and-geometry/HelpwaveLogo.d.cts +0 -14
  144. package/dist/components/icons-and-geometry/HelpwaveLogo.d.ts +0 -14
  145. package/dist/components/icons-and-geometry/HelpwaveLogo.js +0 -74
  146. package/dist/components/icons-and-geometry/HelpwaveLogo.js.map +0 -1
  147. package/dist/components/icons-and-geometry/Ring.cjs +0 -333
  148. package/dist/components/icons-and-geometry/Ring.cjs.map +0 -1
  149. package/dist/components/icons-and-geometry/Ring.d.cts +0 -35
  150. package/dist/components/icons-and-geometry/Ring.d.ts +0 -35
  151. package/dist/components/icons-and-geometry/Ring.js +0 -296
  152. package/dist/components/icons-and-geometry/Ring.js.map +0 -1
  153. package/dist/components/icons-and-geometry/Tag.cjs +0 -2945
  154. package/dist/components/icons-and-geometry/Tag.cjs.map +0 -1
  155. package/dist/components/icons-and-geometry/Tag.d.cts +0 -16
  156. package/dist/components/icons-and-geometry/Tag.d.ts +0 -16
  157. package/dist/components/icons-and-geometry/Tag.js +0 -2940
  158. package/dist/components/icons-and-geometry/Tag.js.map +0 -1
  159. package/dist/components/icons-and-geometry/index.cjs +0 -3950
  160. package/dist/components/icons-and-geometry/index.cjs.map +0 -1
  161. package/dist/components/icons-and-geometry/index.d.cts +0 -7
  162. package/dist/components/icons-and-geometry/index.d.ts +0 -7
  163. package/dist/components/icons-and-geometry/index.js +0 -3934
  164. package/dist/components/icons-and-geometry/index.js.map +0 -1
  165. package/dist/components/index.cjs +0 -15692
  166. package/dist/components/index.cjs.map +0 -1
  167. package/dist/components/index.d.cts +0 -78
  168. package/dist/components/index.d.ts +0 -78
  169. package/dist/components/index.js.map +0 -1
  170. package/dist/components/layout/Carousel.cjs +0 -1128
  171. package/dist/components/layout/Carousel.cjs.map +0 -1
  172. package/dist/components/layout/Carousel.d.cts +0 -35
  173. package/dist/components/layout/Carousel.d.ts +0 -35
  174. package/dist/components/layout/Carousel.js +0 -1103
  175. package/dist/components/layout/Carousel.js.map +0 -1
  176. package/dist/components/layout/Chip.cjs +0 -123
  177. package/dist/components/layout/Chip.cjs.map +0 -1
  178. package/dist/components/layout/Chip.d.cts +0 -31
  179. package/dist/components/layout/Chip.d.ts +0 -31
  180. package/dist/components/layout/Chip.js +0 -87
  181. package/dist/components/layout/Chip.js.map +0 -1
  182. package/dist/components/layout/DividerInserter.cjs +0 -59
  183. package/dist/components/layout/DividerInserter.cjs.map +0 -1
  184. package/dist/components/layout/DividerInserter.d.cts +0 -15
  185. package/dist/components/layout/DividerInserter.d.ts +0 -15
  186. package/dist/components/layout/DividerInserter.js +0 -25
  187. package/dist/components/layout/DividerInserter.js.map +0 -1
  188. package/dist/components/layout/Expandable.cjs +0 -171
  189. package/dist/components/layout/Expandable.cjs.map +0 -1
  190. package/dist/components/layout/Expandable.d.cts +0 -67
  191. package/dist/components/layout/Expandable.d.ts +0 -67
  192. package/dist/components/layout/Expandable.js +0 -135
  193. package/dist/components/layout/Expandable.js.map +0 -1
  194. package/dist/components/layout/FAQSection.cjs +0 -421
  195. package/dist/components/layout/FAQSection.cjs.map +0 -1
  196. package/dist/components/layout/FAQSection.d.cts +0 -26
  197. package/dist/components/layout/FAQSection.d.ts +0 -26
  198. package/dist/components/layout/FAQSection.js +0 -387
  199. package/dist/components/layout/FAQSection.js.map +0 -1
  200. package/dist/components/layout/FloatingContainer.cjs +0 -220
  201. package/dist/components/layout/FloatingContainer.cjs.map +0 -1
  202. package/dist/components/layout/FloatingContainer.d.cts +0 -38
  203. package/dist/components/layout/FloatingContainer.d.ts +0 -38
  204. package/dist/components/layout/FloatingContainer.js +0 -196
  205. package/dist/components/layout/FloatingContainer.js.map +0 -1
  206. package/dist/components/layout/ListBox.cjs +0 -339
  207. package/dist/components/layout/ListBox.cjs.map +0 -1
  208. package/dist/components/layout/ListBox.d.cts +0 -44
  209. package/dist/components/layout/ListBox.d.ts +0 -44
  210. package/dist/components/layout/ListBox.js +0 -300
  211. package/dist/components/layout/ListBox.js.map +0 -1
  212. package/dist/components/layout/MarkdownInterpreter.cjs +0 -260
  213. package/dist/components/layout/MarkdownInterpreter.cjs.map +0 -1
  214. package/dist/components/layout/MarkdownInterpreter.d.cts +0 -28
  215. package/dist/components/layout/MarkdownInterpreter.d.ts +0 -28
  216. package/dist/components/layout/MarkdownInterpreter.js +0 -235
  217. package/dist/components/layout/MarkdownInterpreter.js.map +0 -1
  218. package/dist/components/layout/ScrollArea.cjs +0 -1252
  219. package/dist/components/layout/ScrollArea.cjs.map +0 -1
  220. package/dist/components/layout/ScrollArea.d.cts +0 -15
  221. package/dist/components/layout/ScrollArea.d.ts +0 -15
  222. package/dist/components/layout/ScrollArea.js +0 -1216
  223. package/dist/components/layout/ScrollArea.js.map +0 -1
  224. package/dist/components/layout/TextImage.cjs +0 -657
  225. package/dist/components/layout/TextImage.cjs.map +0 -1
  226. package/dist/components/layout/TextImage.d.cts +0 -19
  227. package/dist/components/layout/TextImage.d.ts +0 -19
  228. package/dist/components/layout/TextImage.js +0 -623
  229. package/dist/components/layout/TextImage.js.map +0 -1
  230. package/dist/components/layout/VerticalDivider.cjs +0 -80
  231. package/dist/components/layout/VerticalDivider.cjs.map +0 -1
  232. package/dist/components/layout/VerticalDivider.d.cts +0 -15
  233. package/dist/components/layout/VerticalDivider.d.ts +0 -15
  234. package/dist/components/layout/VerticalDivider.js +0 -56
  235. package/dist/components/layout/VerticalDivider.js.map +0 -1
  236. package/dist/components/layout/index.cjs +0 -3434
  237. package/dist/components/layout/index.cjs.map +0 -1
  238. package/dist/components/layout/index.d.cts +0 -15
  239. package/dist/components/layout/index.d.ts +0 -15
  240. package/dist/components/layout/index.js +0 -3387
  241. package/dist/components/layout/index.js.map +0 -1
  242. package/dist/components/loading-states/ErrorComponent.cjs +0 -622
  243. package/dist/components/loading-states/ErrorComponent.cjs.map +0 -1
  244. package/dist/components/loading-states/ErrorComponent.d.cts +0 -12
  245. package/dist/components/loading-states/ErrorComponent.d.ts +0 -12
  246. package/dist/components/loading-states/ErrorComponent.js +0 -588
  247. package/dist/components/loading-states/ErrorComponent.js.map +0 -1
  248. package/dist/components/loading-states/LoadingAndErrorComponent.cjs +0 -67
  249. package/dist/components/loading-states/LoadingAndErrorComponent.cjs.map +0 -1
  250. package/dist/components/loading-states/LoadingAndErrorComponent.d.cts +0 -20
  251. package/dist/components/loading-states/LoadingAndErrorComponent.d.ts +0 -20
  252. package/dist/components/loading-states/LoadingAndErrorComponent.js +0 -43
  253. package/dist/components/loading-states/LoadingAndErrorComponent.js.map +0 -1
  254. package/dist/components/loading-states/LoadingAnimation.cjs +0 -694
  255. package/dist/components/loading-states/LoadingAnimation.cjs.map +0 -1
  256. package/dist/components/loading-states/LoadingAnimation.d.cts +0 -12
  257. package/dist/components/loading-states/LoadingAnimation.d.ts +0 -12
  258. package/dist/components/loading-states/LoadingAnimation.js +0 -658
  259. package/dist/components/loading-states/LoadingAnimation.js.map +0 -1
  260. package/dist/components/loading-states/LoadingButton.cjs +0 -257
  261. package/dist/components/loading-states/LoadingButton.cjs.map +0 -1
  262. package/dist/components/loading-states/LoadingButton.d.cts +0 -10
  263. package/dist/components/loading-states/LoadingButton.d.ts +0 -10
  264. package/dist/components/loading-states/LoadingButton.js +0 -223
  265. package/dist/components/loading-states/LoadingButton.js.map +0 -1
  266. package/dist/components/loading-states/LoadingContainer.cjs +0 -34
  267. package/dist/components/loading-states/LoadingContainer.cjs.map +0 -1
  268. package/dist/components/loading-states/LoadingContainer.d.cts +0 -8
  269. package/dist/components/loading-states/LoadingContainer.d.ts +0 -8
  270. package/dist/components/loading-states/LoadingContainer.js +0 -10
  271. package/dist/components/loading-states/LoadingContainer.js.map +0 -1
  272. package/dist/components/loading-states/ProgressIndicator.cjs +0 -83
  273. package/dist/components/loading-states/ProgressIndicator.cjs.map +0 -1
  274. package/dist/components/loading-states/ProgressIndicator.d.cts +0 -24
  275. package/dist/components/loading-states/ProgressIndicator.d.ts +0 -24
  276. package/dist/components/loading-states/ProgressIndicator.js +0 -59
  277. package/dist/components/loading-states/ProgressIndicator.js.map +0 -1
  278. package/dist/components/loading-states/index.cjs +0 -966
  279. package/dist/components/loading-states/index.cjs.map +0 -1
  280. package/dist/components/loading-states/index.d.cts +0 -9
  281. package/dist/components/loading-states/index.d.ts +0 -9
  282. package/dist/components/loading-states/index.js +0 -925
  283. package/dist/components/loading-states/index.js.map +0 -1
  284. package/dist/components/navigation/BreadCrumb.cjs +0 -3516
  285. package/dist/components/navigation/BreadCrumb.cjs.map +0 -1
  286. package/dist/components/navigation/BreadCrumb.d.cts +0 -20
  287. package/dist/components/navigation/BreadCrumb.d.ts +0 -20
  288. package/dist/components/navigation/BreadCrumb.js +0 -3511
  289. package/dist/components/navigation/BreadCrumb.js.map +0 -1
  290. package/dist/components/navigation/Navigation.cjs +0 -4041
  291. package/dist/components/navigation/Navigation.cjs.map +0 -1
  292. package/dist/components/navigation/Navigation.d.cts +0 -21
  293. package/dist/components/navigation/Navigation.d.ts +0 -21
  294. package/dist/components/navigation/Navigation.js +0 -4035
  295. package/dist/components/navigation/Navigation.js.map +0 -1
  296. package/dist/components/navigation/Pagination.cjs +0 -1007
  297. package/dist/components/navigation/Pagination.cjs.map +0 -1
  298. package/dist/components/navigation/Pagination.d.cts +0 -16
  299. package/dist/components/navigation/Pagination.d.ts +0 -16
  300. package/dist/components/navigation/Pagination.js +0 -973
  301. package/dist/components/navigation/Pagination.js.map +0 -1
  302. package/dist/components/navigation/StepperBar.cjs +0 -903
  303. package/dist/components/navigation/StepperBar.cjs.map +0 -1
  304. package/dist/components/navigation/StepperBar.d.cts +0 -23
  305. package/dist/components/navigation/StepperBar.d.ts +0 -23
  306. package/dist/components/navigation/StepperBar.js +0 -868
  307. package/dist/components/navigation/StepperBar.js.map +0 -1
  308. package/dist/components/navigation/index.cjs +0 -5035
  309. package/dist/components/navigation/index.cjs.map +0 -1
  310. package/dist/components/navigation/index.d.cts +0 -6
  311. package/dist/components/navigation/index.d.ts +0 -6
  312. package/dist/components/navigation/index.js +0 -5023
  313. package/dist/components/navigation/index.js.map +0 -1
  314. package/dist/components/properties/CheckboxProperty.cjs +0 -1736
  315. package/dist/components/properties/CheckboxProperty.cjs.map +0 -1
  316. package/dist/components/properties/CheckboxProperty.d.cts +0 -14
  317. package/dist/components/properties/CheckboxProperty.d.ts +0 -14
  318. package/dist/components/properties/CheckboxProperty.js +0 -1702
  319. package/dist/components/properties/CheckboxProperty.js.map +0 -1
  320. package/dist/components/properties/DateProperty.cjs +0 -1119
  321. package/dist/components/properties/DateProperty.cjs.map +0 -1
  322. package/dist/components/properties/DateProperty.d.cts +0 -16
  323. package/dist/components/properties/DateProperty.d.ts +0 -16
  324. package/dist/components/properties/DateProperty.js +0 -1085
  325. package/dist/components/properties/DateProperty.js.map +0 -1
  326. package/dist/components/properties/MultiSelectProperty.cjs +0 -2058
  327. package/dist/components/properties/MultiSelectProperty.cjs.map +0 -1
  328. package/dist/components/properties/MultiSelectProperty.d.cts +0 -14
  329. package/dist/components/properties/MultiSelectProperty.d.ts +0 -14
  330. package/dist/components/properties/MultiSelectProperty.js +0 -2035
  331. package/dist/components/properties/MultiSelectProperty.js.map +0 -1
  332. package/dist/components/properties/NumberProperty.cjs +0 -1125
  333. package/dist/components/properties/NumberProperty.cjs.map +0 -1
  334. package/dist/components/properties/NumberProperty.d.cts +0 -16
  335. package/dist/components/properties/NumberProperty.d.ts +0 -16
  336. package/dist/components/properties/NumberProperty.js +0 -1091
  337. package/dist/components/properties/NumberProperty.js.map +0 -1
  338. package/dist/components/properties/PropertyBase.cjs +0 -875
  339. package/dist/components/properties/PropertyBase.cjs.map +0 -1
  340. package/dist/components/properties/PropertyBase.d.cts +0 -22
  341. package/dist/components/properties/PropertyBase.d.ts +0 -22
  342. package/dist/components/properties/PropertyBase.js +0 -841
  343. package/dist/components/properties/PropertyBase.js.map +0 -1
  344. package/dist/components/properties/SelectProperty.cjs +0 -2058
  345. package/dist/components/properties/SelectProperty.cjs.map +0 -1
  346. package/dist/components/properties/SelectProperty.d.cts +0 -16
  347. package/dist/components/properties/SelectProperty.d.ts +0 -16
  348. package/dist/components/properties/SelectProperty.js +0 -2035
  349. package/dist/components/properties/SelectProperty.js.map +0 -1
  350. package/dist/components/properties/TextProperty.cjs +0 -1033
  351. package/dist/components/properties/TextProperty.cjs.map +0 -1
  352. package/dist/components/properties/TextProperty.d.cts +0 -15
  353. package/dist/components/properties/TextProperty.d.ts +0 -15
  354. package/dist/components/properties/TextProperty.js +0 -999
  355. package/dist/components/properties/TextProperty.js.map +0 -1
  356. package/dist/components/properties/index.cjs +0 -3383
  357. package/dist/components/properties/index.cjs.map +0 -1
  358. package/dist/components/properties/index.d.cts +0 -9
  359. package/dist/components/properties/index.d.ts +0 -9
  360. package/dist/components/properties/index.js +0 -3352
  361. package/dist/components/properties/index.js.map +0 -1
  362. package/dist/components/table/FillerRowElement.cjs +0 -36
  363. package/dist/components/table/FillerRowElement.cjs.map +0 -1
  364. package/dist/components/table/FillerRowElement.d.cts +0 -8
  365. package/dist/components/table/FillerRowElement.d.ts +0 -8
  366. package/dist/components/table/FillerRowElement.js +0 -12
  367. package/dist/components/table/FillerRowElement.js.map +0 -1
  368. package/dist/components/table/Filter.cjs +0 -41
  369. package/dist/components/table/Filter.cjs.map +0 -1
  370. package/dist/components/table/Filter.d.cts +0 -5
  371. package/dist/components/table/Filter.d.ts +0 -5
  372. package/dist/components/table/Filter.js +0 -17
  373. package/dist/components/table/Filter.js.map +0 -1
  374. package/dist/components/table/Table.cjs +0 -2678
  375. package/dist/components/table/Table.cjs.map +0 -1
  376. package/dist/components/table/Table.d.cts +0 -42
  377. package/dist/components/table/Table.d.ts +0 -42
  378. package/dist/components/table/Table.js +0 -2649
  379. package/dist/components/table/Table.js.map +0 -1
  380. package/dist/components/table/TableCell.cjs +0 -37
  381. package/dist/components/table/TableCell.cjs.map +0 -1
  382. package/dist/components/table/TableCell.d.cts +0 -9
  383. package/dist/components/table/TableCell.d.ts +0 -9
  384. package/dist/components/table/TableCell.js +0 -13
  385. package/dist/components/table/TableCell.js.map +0 -1
  386. package/dist/components/table/TableFilterButton.cjs +0 -1269
  387. package/dist/components/table/TableFilterButton.cjs.map +0 -1
  388. package/dist/components/table/TableFilterButton.d.cts +0 -11
  389. package/dist/components/table/TableFilterButton.d.ts +0 -11
  390. package/dist/components/table/TableFilterButton.js +0 -1233
  391. package/dist/components/table/TableFilterButton.js.map +0 -1
  392. package/dist/components/table/TableSortButton.cjs +0 -206
  393. package/dist/components/table/TableSortButton.cjs.map +0 -1
  394. package/dist/components/table/TableSortButton.d.cts +0 -15
  395. package/dist/components/table/TableSortButton.d.ts +0 -15
  396. package/dist/components/table/TableSortButton.js +0 -172
  397. package/dist/components/table/TableSortButton.js.map +0 -1
  398. package/dist/components/table/index.cjs +0 -2690
  399. package/dist/components/table/index.cjs.map +0 -1
  400. package/dist/components/table/index.d.cts +0 -10
  401. package/dist/components/table/index.d.ts +0 -10
  402. package/dist/components/table/index.js +0 -2654
  403. package/dist/components/table/index.js.map +0 -1
  404. package/dist/components/user-action/Button.cjs +0 -308
  405. package/dist/components/user-action/Button.cjs.map +0 -1
  406. package/dist/components/user-action/Button.d.cts +0 -104
  407. package/dist/components/user-action/Button.d.ts +0 -104
  408. package/dist/components/user-action/Button.js +0 -268
  409. package/dist/components/user-action/Button.js.map +0 -1
  410. package/dist/components/user-action/Checkbox.cjs +0 -878
  411. package/dist/components/user-action/Checkbox.cjs.map +0 -1
  412. package/dist/components/user-action/Checkbox.d.cts +0 -25
  413. package/dist/components/user-action/Checkbox.d.ts +0 -25
  414. package/dist/components/user-action/Checkbox.js +0 -843
  415. package/dist/components/user-action/Checkbox.js.map +0 -1
  416. package/dist/components/user-action/CopyToClipboardWrapper.cjs +0 -695
  417. package/dist/components/user-action/CopyToClipboardWrapper.cjs.map +0 -1
  418. package/dist/components/user-action/CopyToClipboardWrapper.d.cts +0 -30
  419. package/dist/components/user-action/CopyToClipboardWrapper.d.ts +0 -30
  420. package/dist/components/user-action/CopyToClipboardWrapper.js +0 -671
  421. package/dist/components/user-action/CopyToClipboardWrapper.js.map +0 -1
  422. package/dist/components/user-action/DateAndTimePicker.cjs +0 -1492
  423. package/dist/components/user-action/DateAndTimePicker.cjs.map +0 -1
  424. package/dist/components/user-action/DateAndTimePicker.d.cts +0 -25
  425. package/dist/components/user-action/DateAndTimePicker.d.ts +0 -25
  426. package/dist/components/user-action/DateAndTimePicker.js +0 -1458
  427. package/dist/components/user-action/DateAndTimePicker.js.map +0 -1
  428. package/dist/components/user-action/Label.cjs +0 -53
  429. package/dist/components/user-action/Label.cjs.map +0 -1
  430. package/dist/components/user-action/Label.d.cts +0 -14
  431. package/dist/components/user-action/Label.d.ts +0 -14
  432. package/dist/components/user-action/Label.js +0 -19
  433. package/dist/components/user-action/Label.js.map +0 -1
  434. package/dist/components/user-action/Menu.cjs +0 -282
  435. package/dist/components/user-action/Menu.cjs.map +0 -1
  436. package/dist/components/user-action/Menu.d.cts +0 -35
  437. package/dist/components/user-action/Menu.d.ts +0 -35
  438. package/dist/components/user-action/Menu.js +0 -247
  439. package/dist/components/user-action/Menu.js.map +0 -1
  440. package/dist/components/user-action/ScrollPicker.cjs +0 -301
  441. package/dist/components/user-action/ScrollPicker.cjs.map +0 -1
  442. package/dist/components/user-action/ScrollPicker.d.cts +0 -15
  443. package/dist/components/user-action/ScrollPicker.d.ts +0 -15
  444. package/dist/components/user-action/ScrollPicker.js +0 -267
  445. package/dist/components/user-action/ScrollPicker.js.map +0 -1
  446. package/dist/components/user-action/SearchBar.cjs +0 -956
  447. package/dist/components/user-action/SearchBar.cjs.map +0 -1
  448. package/dist/components/user-action/SearchBar.d.cts +0 -13
  449. package/dist/components/user-action/SearchBar.d.ts +0 -13
  450. package/dist/components/user-action/SearchBar.js +0 -920
  451. package/dist/components/user-action/SearchBar.js.map +0 -1
  452. package/dist/components/user-action/Textarea.cjs +0 -231
  453. package/dist/components/user-action/Textarea.cjs.map +0 -1
  454. package/dist/components/user-action/Textarea.d.cts +0 -41
  455. package/dist/components/user-action/Textarea.d.ts +0 -41
  456. package/dist/components/user-action/Textarea.js +0 -195
  457. package/dist/components/user-action/Textarea.js.map +0 -1
  458. package/dist/components/user-action/Tooltip.cjs +0 -139
  459. package/dist/components/user-action/Tooltip.cjs.map +0 -1
  460. package/dist/components/user-action/Tooltip.d.cts +0 -37
  461. package/dist/components/user-action/Tooltip.d.ts +0 -37
  462. package/dist/components/user-action/Tooltip.js +0 -113
  463. package/dist/components/user-action/Tooltip.js.map +0 -1
  464. package/dist/components/user-action/index.cjs +0 -4564
  465. package/dist/components/user-action/index.cjs.map +0 -1
  466. package/dist/components/user-action/index.d.cts +0 -26
  467. package/dist/components/user-action/index.d.ts +0 -26
  468. package/dist/components/user-action/index.js +0 -4503
  469. package/dist/components/user-action/index.js.map +0 -1
  470. package/dist/components/user-action/input/Input.cjs +0 -260
  471. package/dist/components/user-action/input/Input.cjs.map +0 -1
  472. package/dist/components/user-action/input/Input.d.cts +0 -37
  473. package/dist/components/user-action/input/Input.d.ts +0 -37
  474. package/dist/components/user-action/input/Input.js +0 -225
  475. package/dist/components/user-action/input/Input.js.map +0 -1
  476. package/dist/components/user-action/input/InsideLabelInput.cjs +0 -312
  477. package/dist/components/user-action/input/InsideLabelInput.cjs.map +0 -1
  478. package/dist/components/user-action/input/InsideLabelInput.d.cts +0 -20
  479. package/dist/components/user-action/input/InsideLabelInput.d.ts +0 -20
  480. package/dist/components/user-action/input/InsideLabelInput.js +0 -277
  481. package/dist/components/user-action/input/InsideLabelInput.js.map +0 -1
  482. package/dist/components/user-action/input/ToggleableInput.cjs +0 -315
  483. package/dist/components/user-action/input/ToggleableInput.cjs.map +0 -1
  484. package/dist/components/user-action/input/ToggleableInput.d.cts +0 -22
  485. package/dist/components/user-action/input/ToggleableInput.d.ts +0 -22
  486. package/dist/components/user-action/input/ToggleableInput.js +0 -280
  487. package/dist/components/user-action/input/ToggleableInput.js.map +0 -1
  488. package/dist/components/user-action/input/index.cjs +0 -403
  489. package/dist/components/user-action/input/index.cjs.map +0 -1
  490. package/dist/components/user-action/input/index.d.cts +0 -6
  491. package/dist/components/user-action/input/index.d.ts +0 -6
  492. package/dist/components/user-action/input/index.js +0 -362
  493. package/dist/components/user-action/input/index.js.map +0 -1
  494. package/dist/components/user-action/select/Select.cjs +0 -1970
  495. package/dist/components/user-action/select/Select.cjs.map +0 -1
  496. package/dist/components/user-action/select/Select.d.cts +0 -104
  497. package/dist/components/user-action/select/Select.d.ts +0 -104
  498. package/dist/components/user-action/select/Select.js +0 -1937
  499. package/dist/components/user-action/select/Select.js.map +0 -1
  500. package/dist/components/user-action/select/index.cjs +0 -1972
  501. package/dist/components/user-action/select/index.cjs.map +0 -1
  502. package/dist/components/user-action/select/index.d.cts +0 -4
  503. package/dist/components/user-action/select/index.d.ts +0 -4
  504. package/dist/components/user-action/select/index.js +0 -1937
  505. package/dist/components/user-action/select/index.js.map +0 -1
  506. package/dist/components/utils/FocusTrap.cjs +0 -252
  507. package/dist/components/utils/FocusTrap.cjs.map +0 -1
  508. package/dist/components/utils/FocusTrap.d.cts +0 -28
  509. package/dist/components/utils/FocusTrap.d.ts +0 -28
  510. package/dist/components/utils/FocusTrap.js +0 -229
  511. package/dist/components/utils/FocusTrap.js.map +0 -1
  512. package/dist/components/utils/Transition.cjs +0 -74
  513. package/dist/components/utils/Transition.cjs.map +0 -1
  514. package/dist/components/utils/Transition.d.cts +0 -26
  515. package/dist/components/utils/Transition.d.ts +0 -26
  516. package/dist/components/utils/Transition.js +0 -50
  517. package/dist/components/utils/Transition.js.map +0 -1
  518. package/dist/components/utils/index.cjs +0 -302
  519. package/dist/components/utils/index.cjs.map +0 -1
  520. package/dist/components/utils/index.d.cts +0 -4
  521. package/dist/components/utils/index.d.ts +0 -4
  522. package/dist/components/utils/index.js +0 -275
  523. package/dist/components/utils/index.js.map +0 -1
  524. package/dist/hooks/focus/index.cjs +0 -379
  525. package/dist/hooks/focus/index.cjs.map +0 -1
  526. package/dist/hooks/focus/index.d.cts +0 -6
  527. package/dist/hooks/focus/index.d.ts +0 -6
  528. package/dist/hooks/focus/index.js +0 -339
  529. package/dist/hooks/focus/index.js.map +0 -1
  530. package/dist/hooks/focus/useFocusGuards.cjs +0 -74
  531. package/dist/hooks/focus/useFocusGuards.cjs.map +0 -1
  532. package/dist/hooks/focus/useFocusGuards.d.cts +0 -3
  533. package/dist/hooks/focus/useFocusGuards.d.ts +0 -3
  534. package/dist/hooks/focus/useFocusGuards.js +0 -50
  535. package/dist/hooks/focus/useFocusGuards.js.map +0 -1
  536. package/dist/hooks/focus/useFocusManagement.cjs +0 -84
  537. package/dist/hooks/focus/useFocusManagement.cjs.map +0 -1
  538. package/dist/hooks/focus/useFocusManagement.d.cts +0 -9
  539. package/dist/hooks/focus/useFocusManagement.d.ts +0 -9
  540. package/dist/hooks/focus/useFocusManagement.js +0 -60
  541. package/dist/hooks/focus/useFocusManagement.js.map +0 -1
  542. package/dist/hooks/focus/useFocusOnceVisible.cjs +0 -60
  543. package/dist/hooks/focus/useFocusOnceVisible.cjs.map +0 -1
  544. package/dist/hooks/focus/useFocusOnceVisible.d.cts +0 -5
  545. package/dist/hooks/focus/useFocusOnceVisible.d.ts +0 -5
  546. package/dist/hooks/focus/useFocusOnceVisible.js +0 -26
  547. package/dist/hooks/focus/useFocusOnceVisible.js.map +0 -1
  548. package/dist/hooks/focus/useFocusTrap.cjs +0 -233
  549. package/dist/hooks/focus/useFocusTrap.cjs.map +0 -1
  550. package/dist/hooks/focus/useFocusTrap.d.cts +0 -16
  551. package/dist/hooks/focus/useFocusTrap.d.ts +0 -16
  552. package/dist/hooks/focus/useFocusTrap.js +0 -210
  553. package/dist/hooks/focus/useFocusTrap.js.map +0 -1
  554. package/dist/hooks/focus/useIsMounted.cjs +0 -43
  555. package/dist/hooks/focus/useIsMounted.cjs.map +0 -1
  556. package/dist/hooks/focus/useIsMounted.d.cts +0 -3
  557. package/dist/hooks/focus/useIsMounted.d.ts +0 -3
  558. package/dist/hooks/focus/useIsMounted.js +0 -20
  559. package/dist/hooks/focus/useIsMounted.js.map +0 -1
  560. package/dist/hooks/index.cjs +0 -1530
  561. package/dist/hooks/index.cjs.map +0 -1
  562. package/dist/hooks/index.d.cts +0 -18
  563. package/dist/hooks/index.d.ts +0 -18
  564. package/dist/hooks/index.js +0 -1477
  565. package/dist/hooks/index.js.map +0 -1
  566. package/dist/hooks/useDelay.cjs +0 -67
  567. package/dist/hooks/useDelay.cjs.map +0 -1
  568. package/dist/hooks/useDelay.d.cts +0 -12
  569. package/dist/hooks/useDelay.d.ts +0 -12
  570. package/dist/hooks/useDelay.js +0 -43
  571. package/dist/hooks/useDelay.js.map +0 -1
  572. package/dist/hooks/useFloatingElement.cjs +0 -162
  573. package/dist/hooks/useFloatingElement.cjs.map +0 -1
  574. package/dist/hooks/useFloatingElement.d.cts +0 -22
  575. package/dist/hooks/useFloatingElement.d.ts +0 -22
  576. package/dist/hooks/useFloatingElement.js +0 -139
  577. package/dist/hooks/useFloatingElement.js.map +0 -1
  578. package/dist/hooks/useHoverState.cjs +0 -71
  579. package/dist/hooks/useHoverState.cjs.map +0 -1
  580. package/dist/hooks/useHoverState.d.cts +0 -42
  581. package/dist/hooks/useHoverState.d.ts +0 -42
  582. package/dist/hooks/useHoverState.js +0 -47
  583. package/dist/hooks/useHoverState.js.map +0 -1
  584. package/dist/hooks/useLocalStorage.cjs +0 -97
  585. package/dist/hooks/useLocalStorage.cjs.map +0 -1
  586. package/dist/hooks/useLocalStorage.d.cts +0 -17
  587. package/dist/hooks/useLocalStorage.d.ts +0 -17
  588. package/dist/hooks/useLocalStorage.js +0 -74
  589. package/dist/hooks/useLocalStorage.js.map +0 -1
  590. package/dist/hooks/useLogOnce.cjs +0 -53
  591. package/dist/hooks/useLogOnce.cjs.map +0 -1
  592. package/dist/hooks/useLogOnce.d.cts +0 -7
  593. package/dist/hooks/useLogOnce.d.ts +0 -7
  594. package/dist/hooks/useLogOnce.js +0 -29
  595. package/dist/hooks/useLogOnce.js.map +0 -1
  596. package/dist/hooks/useOutsideClick.cjs +0 -47
  597. package/dist/hooks/useOutsideClick.cjs.map +0 -1
  598. package/dist/hooks/useOutsideClick.d.cts +0 -5
  599. package/dist/hooks/useOutsideClick.d.ts +0 -5
  600. package/dist/hooks/useOutsideClick.js +0 -23
  601. package/dist/hooks/useOutsideClick.js.map +0 -1
  602. package/dist/hooks/useOverwritableState.cjs +0 -49
  603. package/dist/hooks/useOverwritableState.cjs.map +0 -1
  604. package/dist/hooks/useOverwritableState.d.cts +0 -5
  605. package/dist/hooks/useOverwritableState.d.ts +0 -5
  606. package/dist/hooks/useOverwritableState.js +0 -25
  607. package/dist/hooks/useOverwritableState.js.map +0 -1
  608. package/dist/hooks/usePopoverPosition.cjs +0 -81
  609. package/dist/hooks/usePopoverPosition.cjs.map +0 -1
  610. package/dist/hooks/usePopoverPosition.d.cts +0 -15
  611. package/dist/hooks/usePopoverPosition.d.ts +0 -15
  612. package/dist/hooks/usePopoverPosition.js +0 -57
  613. package/dist/hooks/usePopoverPosition.js.map +0 -1
  614. package/dist/hooks/useRerender.cjs +0 -33
  615. package/dist/hooks/useRerender.cjs.map +0 -1
  616. package/dist/hooks/useRerender.d.cts +0 -5
  617. package/dist/hooks/useRerender.d.ts +0 -5
  618. package/dist/hooks/useRerender.js +0 -9
  619. package/dist/hooks/useRerender.js.map +0 -1
  620. package/dist/hooks/useResizeCallbackWrapper.cjs +0 -38
  621. package/dist/hooks/useResizeCallbackWrapper.cjs.map +0 -1
  622. package/dist/hooks/useResizeCallbackWrapper.d.cts +0 -11
  623. package/dist/hooks/useResizeCallbackWrapper.d.ts +0 -11
  624. package/dist/hooks/useResizeCallbackWrapper.js +0 -14
  625. package/dist/hooks/useResizeCallbackWrapper.js.map +0 -1
  626. package/dist/hooks/useSearch.cjs +0 -95
  627. package/dist/hooks/useSearch.cjs.map +0 -1
  628. package/dist/hooks/useSearch.d.cts +0 -22
  629. package/dist/hooks/useSearch.d.ts +0 -22
  630. package/dist/hooks/useSearch.js +0 -71
  631. package/dist/hooks/useSearch.js.map +0 -1
  632. package/dist/hooks/useValidators.cjs +0 -687
  633. package/dist/hooks/useValidators.cjs.map +0 -1
  634. package/dist/hooks/useValidators.d.cts +0 -16
  635. package/dist/hooks/useValidators.d.ts +0 -16
  636. package/dist/hooks/useValidators.js +0 -660
  637. package/dist/hooks/useValidators.js.map +0 -1
  638. package/dist/i18n/LocaleProvider.cjs +0 -202
  639. package/dist/i18n/LocaleProvider.cjs.map +0 -1
  640. package/dist/i18n/LocaleProvider.d.cts +0 -23
  641. package/dist/i18n/LocaleProvider.d.ts +0 -23
  642. package/dist/i18n/LocaleProvider.js +0 -175
  643. package/dist/i18n/LocaleProvider.js.map +0 -1
  644. package/dist/i18n/index.cjs +0 -761
  645. package/dist/i18n/index.cjs.map +0 -1
  646. package/dist/i18n/index.d.cts +0 -8
  647. package/dist/i18n/index.d.ts +0 -8
  648. package/dist/i18n/index.js +0 -727
  649. package/dist/i18n/index.js.map +0 -1
  650. package/dist/i18n/translations.cjs +0 -507
  651. package/dist/i18n/translations.cjs.map +0 -1
  652. package/dist/i18n/translations.d.cts +0 -189
  653. package/dist/i18n/translations.d.ts +0 -189
  654. package/dist/i18n/translations.js +0 -482
  655. package/dist/i18n/translations.js.map +0 -1
  656. package/dist/i18n/useHightideTranslation.cjs +0 -618
  657. package/dist/i18n/useHightideTranslation.cjs.map +0 -1
  658. package/dist/i18n/useHightideTranslation.d.cts +0 -21
  659. package/dist/i18n/useHightideTranslation.d.ts +0 -21
  660. package/dist/i18n/useHightideTranslation.js +0 -591
  661. package/dist/i18n/useHightideTranslation.js.map +0 -1
  662. package/dist/i18n/util.cjs +0 -49
  663. package/dist/i18n/util.cjs.map +0 -1
  664. package/dist/i18n/util.d.cts +0 -15
  665. package/dist/i18n/util.d.ts +0 -15
  666. package/dist/i18n/util.js +0 -23
  667. package/dist/i18n/util.js.map +0 -1
  668. package/dist/index.cjs +0 -16470
  669. package/dist/index.cjs.map +0 -1
  670. package/dist/index.d.cts +0 -113
  671. package/dist/storybook/helper.cjs +0 -61
  672. package/dist/storybook/helper.cjs.map +0 -1
  673. package/dist/storybook/helper.d.cts +0 -17
  674. package/dist/storybook/helper.d.ts +0 -17
  675. package/dist/storybook/helper.js +0 -37
  676. package/dist/storybook/helper.js.map +0 -1
  677. package/dist/theming/index.cjs +0 -190
  678. package/dist/theming/index.cjs.map +0 -1
  679. package/dist/theming/index.d.cts +0 -3
  680. package/dist/theming/index.d.ts +0 -3
  681. package/dist/theming/index.js +0 -161
  682. package/dist/theming/index.js.map +0 -1
  683. package/dist/theming/useTheme.cjs +0 -188
  684. package/dist/theming/useTheme.cjs.map +0 -1
  685. package/dist/theming/useTheme.d.cts +0 -26
  686. package/dist/theming/useTheme.d.ts +0 -26
  687. package/dist/theming/useTheme.js +0 -161
  688. package/dist/theming/useTheme.js.map +0 -1
  689. package/dist/utils/array.cjs +0 -172
  690. package/dist/utils/array.cjs.map +0 -1
  691. package/dist/utils/array.d.cts +0 -34
  692. package/dist/utils/array.d.ts +0 -34
  693. package/dist/utils/array.js +0 -142
  694. package/dist/utils/array.js.map +0 -1
  695. package/dist/utils/bagFunctions.cjs +0 -38
  696. package/dist/utils/bagFunctions.cjs.map +0 -1
  697. package/dist/utils/bagFunctions.d.cts +0 -15
  698. package/dist/utils/bagFunctions.d.ts +0 -15
  699. package/dist/utils/bagFunctions.js +0 -14
  700. package/dist/utils/bagFunctions.js.map +0 -1
  701. package/dist/utils/builder.cjs +0 -33
  702. package/dist/utils/builder.cjs.map +0 -1
  703. package/dist/utils/builder.d.cts +0 -8
  704. package/dist/utils/builder.d.ts +0 -8
  705. package/dist/utils/builder.js +0 -9
  706. package/dist/utils/builder.js.map +0 -1
  707. package/dist/utils/date.cjs +0 -193
  708. package/dist/utils/date.cjs.map +0 -1
  709. package/dist/utils/date.d.cts +0 -30
  710. package/dist/utils/date.d.ts +0 -30
  711. package/dist/utils/date.js +0 -156
  712. package/dist/utils/date.js.map +0 -1
  713. package/dist/utils/easeFunctions.cjs +0 -63
  714. package/dist/utils/easeFunctions.cjs.map +0 -1
  715. package/dist/utils/easeFunctions.d.cts +0 -11
  716. package/dist/utils/easeFunctions.d.ts +0 -11
  717. package/dist/utils/easeFunctions.js +0 -37
  718. package/dist/utils/easeFunctions.js.map +0 -1
  719. package/dist/utils/emailValidation.cjs +0 -32
  720. package/dist/utils/emailValidation.cjs.map +0 -1
  721. package/dist/utils/emailValidation.d.cts +0 -3
  722. package/dist/utils/emailValidation.d.ts +0 -3
  723. package/dist/utils/emailValidation.js +0 -8
  724. package/dist/utils/emailValidation.js.map +0 -1
  725. package/dist/utils/index.cjs +0 -562
  726. package/dist/utils/index.cjs.map +0 -1
  727. package/dist/utils/index.d.cts +0 -16
  728. package/dist/utils/index.d.ts +0 -16
  729. package/dist/utils/index.js +0 -502
  730. package/dist/utils/index.js.map +0 -1
  731. package/dist/utils/loopingArray.cjs +0 -96
  732. package/dist/utils/loopingArray.cjs.map +0 -1
  733. package/dist/utils/loopingArray.d.cts +0 -25
  734. package/dist/utils/loopingArray.d.ts +0 -25
  735. package/dist/utils/loopingArray.js +0 -72
  736. package/dist/utils/loopingArray.js.map +0 -1
  737. package/dist/utils/match.cjs +0 -32
  738. package/dist/utils/match.cjs.map +0 -1
  739. package/dist/utils/match.d.cts +0 -3
  740. package/dist/utils/match.d.ts +0 -3
  741. package/dist/utils/match.js +0 -8
  742. package/dist/utils/match.js.map +0 -1
  743. package/dist/utils/math.cjs +0 -33
  744. package/dist/utils/math.cjs.map +0 -1
  745. package/dist/utils/math.d.cts +0 -3
  746. package/dist/utils/math.d.ts +0 -3
  747. package/dist/utils/math.js +0 -9
  748. package/dist/utils/math.js.map +0 -1
  749. package/dist/utils/noop.cjs +0 -30
  750. package/dist/utils/noop.cjs.map +0 -1
  751. package/dist/utils/noop.d.cts +0 -3
  752. package/dist/utils/noop.d.ts +0 -3
  753. package/dist/utils/noop.js +0 -6
  754. package/dist/utils/noop.js.map +0 -1
  755. package/dist/utils/resolveSetState.cjs +0 -32
  756. package/dist/utils/resolveSetState.cjs.map +0 -1
  757. package/dist/utils/resolveSetState.d.cts +0 -5
  758. package/dist/utils/resolveSetState.d.ts +0 -5
  759. package/dist/utils/resolveSetState.js +0 -8
  760. package/dist/utils/resolveSetState.js.map +0 -1
  761. package/dist/utils/simpleSearch.cjs +0 -59
  762. package/dist/utils/simpleSearch.cjs.map +0 -1
  763. package/dist/utils/simpleSearch.d.cts +0 -50
  764. package/dist/utils/simpleSearch.d.ts +0 -50
  765. package/dist/utils/simpleSearch.js +0 -32
  766. package/dist/utils/simpleSearch.js.map +0 -1
  767. package/dist/utils/storage.cjs +0 -63
  768. package/dist/utils/storage.cjs.map +0 -1
  769. package/dist/utils/storage.d.cts +0 -16
  770. package/dist/utils/storage.d.ts +0 -16
  771. package/dist/utils/storage.js +0 -38
  772. package/dist/utils/storage.js.map +0 -1
  773. package/dist/utils/typing.cjs +0 -18
  774. package/dist/utils/typing.cjs.map +0 -1
  775. package/dist/utils/typing.d.cts +0 -8
  776. package/dist/utils/typing.d.ts +0 -8
  777. package/dist/utils/typing.js +0 -1
  778. package/dist/utils/typing.js.map +0 -1
  779. package/dist/utils/writeToClipboard.cjs +0 -33
  780. package/dist/utils/writeToClipboard.cjs.map +0 -1
  781. package/dist/utils/writeToClipboard.d.cts +0 -3
  782. package/dist/utils/writeToClipboard.d.ts +0 -3
  783. package/dist/utils/writeToClipboard.js +0 -10
  784. package/dist/utils/writeToClipboard.js.map +0 -1
@@ -1,843 +0,0 @@
1
- // src/components/user-action/Checkbox.tsx
2
- import { Check, Minus } from "lucide-react";
3
- import clsx from "clsx";
4
-
5
- // node_modules/@radix-ui/react-checkbox/dist/index.mjs
6
- import * as React10 from "react";
7
-
8
- // node_modules/@radix-ui/react-compose-refs/dist/index.mjs
9
- import * as React from "react";
10
- function setRef(ref, value) {
11
- if (typeof ref === "function") {
12
- return ref(value);
13
- } else if (ref !== null && ref !== void 0) {
14
- ref.current = value;
15
- }
16
- }
17
- function composeRefs(...refs) {
18
- return (node) => {
19
- let hasCleanup = false;
20
- const cleanups = refs.map((ref) => {
21
- const cleanup = setRef(ref, node);
22
- if (!hasCleanup && typeof cleanup == "function") {
23
- hasCleanup = true;
24
- }
25
- return cleanup;
26
- });
27
- if (hasCleanup) {
28
- return () => {
29
- for (let i = 0; i < cleanups.length; i++) {
30
- const cleanup = cleanups[i];
31
- if (typeof cleanup == "function") {
32
- cleanup();
33
- } else {
34
- setRef(refs[i], null);
35
- }
36
- }
37
- };
38
- }
39
- };
40
- }
41
- function useComposedRefs(...refs) {
42
- return React.useCallback(composeRefs(...refs), refs);
43
- }
44
-
45
- // node_modules/@radix-ui/react-context/dist/index.mjs
46
- import * as React2 from "react";
47
- import { jsx } from "react/jsx-runtime";
48
- function createContextScope(scopeName, createContextScopeDeps = []) {
49
- let defaultContexts = [];
50
- function createContext3(rootComponentName, defaultContext) {
51
- const BaseContext = React2.createContext(defaultContext);
52
- const index = defaultContexts.length;
53
- defaultContexts = [...defaultContexts, defaultContext];
54
- const Provider = (props) => {
55
- const { scope, children, ...context } = props;
56
- const Context = scope?.[scopeName]?.[index] || BaseContext;
57
- const value = React2.useMemo(() => context, Object.values(context));
58
- return /* @__PURE__ */ jsx(Context.Provider, { value, children });
59
- };
60
- Provider.displayName = rootComponentName + "Provider";
61
- function useContext2(consumerName, scope) {
62
- const Context = scope?.[scopeName]?.[index] || BaseContext;
63
- const context = React2.useContext(Context);
64
- if (context) return context;
65
- if (defaultContext !== void 0) return defaultContext;
66
- throw new Error(`\`${consumerName}\` must be used within \`${rootComponentName}\``);
67
- }
68
- return [Provider, useContext2];
69
- }
70
- const createScope = () => {
71
- const scopeContexts = defaultContexts.map((defaultContext) => {
72
- return React2.createContext(defaultContext);
73
- });
74
- return function useScope(scope) {
75
- const contexts = scope?.[scopeName] || scopeContexts;
76
- return React2.useMemo(
77
- () => ({ [`__scope${scopeName}`]: { ...scope, [scopeName]: contexts } }),
78
- [scope, contexts]
79
- );
80
- };
81
- };
82
- createScope.scopeName = scopeName;
83
- return [createContext3, composeContextScopes(createScope, ...createContextScopeDeps)];
84
- }
85
- function composeContextScopes(...scopes) {
86
- const baseScope = scopes[0];
87
- if (scopes.length === 1) return baseScope;
88
- const createScope = () => {
89
- const scopeHooks = scopes.map((createScope2) => ({
90
- useScope: createScope2(),
91
- scopeName: createScope2.scopeName
92
- }));
93
- return function useComposedScopes(overrideScopes) {
94
- const nextScopes = scopeHooks.reduce((nextScopes2, { useScope, scopeName }) => {
95
- const scopeProps = useScope(overrideScopes);
96
- const currentScope = scopeProps[`__scope${scopeName}`];
97
- return { ...nextScopes2, ...currentScope };
98
- }, {});
99
- return React2.useMemo(() => ({ [`__scope${baseScope.scopeName}`]: nextScopes }), [nextScopes]);
100
- };
101
- };
102
- createScope.scopeName = baseScope.scopeName;
103
- return createScope;
104
- }
105
-
106
- // node_modules/@radix-ui/primitive/dist/index.mjs
107
- function composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {
108
- return function handleEvent(event) {
109
- originalEventHandler?.(event);
110
- if (checkForDefaultPrevented === false || !event.defaultPrevented) {
111
- return ourEventHandler?.(event);
112
- }
113
- };
114
- }
115
-
116
- // node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
117
- import * as React4 from "react";
118
-
119
- // node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
120
- import * as React3 from "react";
121
- var useLayoutEffect2 = globalThis?.document ? React3.useLayoutEffect : () => {
122
- };
123
-
124
- // node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
125
- import * as React22 from "react";
126
- var useInsertionEffect = React4[" useInsertionEffect ".trim().toString()] || useLayoutEffect2;
127
- function useControllableState({
128
- prop,
129
- defaultProp,
130
- onChange = () => {
131
- },
132
- caller
133
- }) {
134
- const [uncontrolledProp, setUncontrolledProp, onChangeRef] = useUncontrolledState({
135
- defaultProp,
136
- onChange
137
- });
138
- const isControlled = prop !== void 0;
139
- const value = isControlled ? prop : uncontrolledProp;
140
- if (true) {
141
- const isControlledRef = React4.useRef(prop !== void 0);
142
- React4.useEffect(() => {
143
- const wasControlled = isControlledRef.current;
144
- if (wasControlled !== isControlled) {
145
- const from = wasControlled ? "controlled" : "uncontrolled";
146
- const to = isControlled ? "controlled" : "uncontrolled";
147
- console.warn(
148
- `${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.`
149
- );
150
- }
151
- isControlledRef.current = isControlled;
152
- }, [isControlled, caller]);
153
- }
154
- const setValue = React4.useCallback(
155
- (nextValue) => {
156
- if (isControlled) {
157
- const value2 = isFunction(nextValue) ? nextValue(prop) : nextValue;
158
- if (value2 !== prop) {
159
- onChangeRef.current?.(value2);
160
- }
161
- } else {
162
- setUncontrolledProp(nextValue);
163
- }
164
- },
165
- [isControlled, prop, setUncontrolledProp, onChangeRef]
166
- );
167
- return [value, setValue];
168
- }
169
- function useUncontrolledState({
170
- defaultProp,
171
- onChange
172
- }) {
173
- const [value, setValue] = React4.useState(defaultProp);
174
- const prevValueRef = React4.useRef(value);
175
- const onChangeRef = React4.useRef(onChange);
176
- useInsertionEffect(() => {
177
- onChangeRef.current = onChange;
178
- }, [onChange]);
179
- React4.useEffect(() => {
180
- if (prevValueRef.current !== value) {
181
- onChangeRef.current?.(value);
182
- prevValueRef.current = value;
183
- }
184
- }, [value, prevValueRef]);
185
- return [value, setValue, onChangeRef];
186
- }
187
- function isFunction(value) {
188
- return typeof value === "function";
189
- }
190
- var SYNC_STATE = Symbol("RADIX:SYNC_STATE");
191
-
192
- // node_modules/@radix-ui/react-use-previous/dist/index.mjs
193
- import * as React5 from "react";
194
- function usePrevious(value) {
195
- const ref = React5.useRef({ value, previous: value });
196
- return React5.useMemo(() => {
197
- if (ref.current.value !== value) {
198
- ref.current.previous = ref.current.value;
199
- ref.current.value = value;
200
- }
201
- return ref.current.previous;
202
- }, [value]);
203
- }
204
-
205
- // node_modules/@radix-ui/react-use-size/dist/index.mjs
206
- import * as React6 from "react";
207
- function useSize(element) {
208
- const [size, setSize] = React6.useState(void 0);
209
- useLayoutEffect2(() => {
210
- if (element) {
211
- setSize({ width: element.offsetWidth, height: element.offsetHeight });
212
- const resizeObserver = new ResizeObserver((entries) => {
213
- if (!Array.isArray(entries)) {
214
- return;
215
- }
216
- if (!entries.length) {
217
- return;
218
- }
219
- const entry = entries[0];
220
- let width;
221
- let height;
222
- if ("borderBoxSize" in entry) {
223
- const borderSizeEntry = entry["borderBoxSize"];
224
- const borderSize = Array.isArray(borderSizeEntry) ? borderSizeEntry[0] : borderSizeEntry;
225
- width = borderSize["inlineSize"];
226
- height = borderSize["blockSize"];
227
- } else {
228
- width = element.offsetWidth;
229
- height = element.offsetHeight;
230
- }
231
- setSize({ width, height });
232
- });
233
- resizeObserver.observe(element, { box: "border-box" });
234
- return () => resizeObserver.unobserve(element);
235
- } else {
236
- setSize(void 0);
237
- }
238
- }, [element]);
239
- return size;
240
- }
241
-
242
- // node_modules/@radix-ui/react-presence/dist/index.mjs
243
- import * as React23 from "react";
244
- import * as React7 from "react";
245
- function useStateMachine(initialState, machine) {
246
- return React7.useReducer((state, event) => {
247
- const nextState = machine[state][event];
248
- return nextState ?? state;
249
- }, initialState);
250
- }
251
- var Presence = (props) => {
252
- const { present, children } = props;
253
- const presence = usePresence(present);
254
- const child = typeof children === "function" ? children({ present: presence.isPresent }) : React23.Children.only(children);
255
- const ref = useComposedRefs(presence.ref, getElementRef(child));
256
- const forceMount = typeof children === "function";
257
- return forceMount || presence.isPresent ? React23.cloneElement(child, { ref }) : null;
258
- };
259
- Presence.displayName = "Presence";
260
- function usePresence(present) {
261
- const [node, setNode] = React23.useState();
262
- const stylesRef = React23.useRef(null);
263
- const prevPresentRef = React23.useRef(present);
264
- const prevAnimationNameRef = React23.useRef("none");
265
- const initialState = present ? "mounted" : "unmounted";
266
- const [state, send] = useStateMachine(initialState, {
267
- mounted: {
268
- UNMOUNT: "unmounted",
269
- ANIMATION_OUT: "unmountSuspended"
270
- },
271
- unmountSuspended: {
272
- MOUNT: "mounted",
273
- ANIMATION_END: "unmounted"
274
- },
275
- unmounted: {
276
- MOUNT: "mounted"
277
- }
278
- });
279
- React23.useEffect(() => {
280
- const currentAnimationName = getAnimationName(stylesRef.current);
281
- prevAnimationNameRef.current = state === "mounted" ? currentAnimationName : "none";
282
- }, [state]);
283
- useLayoutEffect2(() => {
284
- const styles = stylesRef.current;
285
- const wasPresent = prevPresentRef.current;
286
- const hasPresentChanged = wasPresent !== present;
287
- if (hasPresentChanged) {
288
- const prevAnimationName = prevAnimationNameRef.current;
289
- const currentAnimationName = getAnimationName(styles);
290
- if (present) {
291
- send("MOUNT");
292
- } else if (currentAnimationName === "none" || styles?.display === "none") {
293
- send("UNMOUNT");
294
- } else {
295
- const isAnimating = prevAnimationName !== currentAnimationName;
296
- if (wasPresent && isAnimating) {
297
- send("ANIMATION_OUT");
298
- } else {
299
- send("UNMOUNT");
300
- }
301
- }
302
- prevPresentRef.current = present;
303
- }
304
- }, [present, send]);
305
- useLayoutEffect2(() => {
306
- if (node) {
307
- let timeoutId;
308
- const ownerWindow = node.ownerDocument.defaultView ?? window;
309
- const handleAnimationEnd = (event) => {
310
- const currentAnimationName = getAnimationName(stylesRef.current);
311
- const isCurrentAnimation = currentAnimationName.includes(event.animationName);
312
- if (event.target === node && isCurrentAnimation) {
313
- send("ANIMATION_END");
314
- if (!prevPresentRef.current) {
315
- const currentFillMode = node.style.animationFillMode;
316
- node.style.animationFillMode = "forwards";
317
- timeoutId = ownerWindow.setTimeout(() => {
318
- if (node.style.animationFillMode === "forwards") {
319
- node.style.animationFillMode = currentFillMode;
320
- }
321
- });
322
- }
323
- }
324
- };
325
- const handleAnimationStart = (event) => {
326
- if (event.target === node) {
327
- prevAnimationNameRef.current = getAnimationName(stylesRef.current);
328
- }
329
- };
330
- node.addEventListener("animationstart", handleAnimationStart);
331
- node.addEventListener("animationcancel", handleAnimationEnd);
332
- node.addEventListener("animationend", handleAnimationEnd);
333
- return () => {
334
- ownerWindow.clearTimeout(timeoutId);
335
- node.removeEventListener("animationstart", handleAnimationStart);
336
- node.removeEventListener("animationcancel", handleAnimationEnd);
337
- node.removeEventListener("animationend", handleAnimationEnd);
338
- };
339
- } else {
340
- send("ANIMATION_END");
341
- }
342
- }, [node, send]);
343
- return {
344
- isPresent: ["mounted", "unmountSuspended"].includes(state),
345
- ref: React23.useCallback((node2) => {
346
- stylesRef.current = node2 ? getComputedStyle(node2) : null;
347
- setNode(node2);
348
- }, [])
349
- };
350
- }
351
- function getAnimationName(styles) {
352
- return styles?.animationName || "none";
353
- }
354
- function getElementRef(element) {
355
- let getter = Object.getOwnPropertyDescriptor(element.props, "ref")?.get;
356
- let mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
357
- if (mayWarn) {
358
- return element.ref;
359
- }
360
- getter = Object.getOwnPropertyDescriptor(element, "ref")?.get;
361
- mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
362
- if (mayWarn) {
363
- return element.props.ref;
364
- }
365
- return element.props.ref || element.ref;
366
- }
367
-
368
- // node_modules/@radix-ui/react-primitive/dist/index.mjs
369
- import * as React9 from "react";
370
- import * as ReactDOM from "react-dom";
371
-
372
- // node_modules/@radix-ui/react-slot/dist/index.mjs
373
- import * as React8 from "react";
374
- import { Fragment as Fragment2, jsx as jsx2 } from "react/jsx-runtime";
375
- // @__NO_SIDE_EFFECTS__
376
- function createSlot(ownerName) {
377
- const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);
378
- const Slot2 = React8.forwardRef((props, forwardedRef) => {
379
- const { children, ...slotProps } = props;
380
- const childrenArray = React8.Children.toArray(children);
381
- const slottable = childrenArray.find(isSlottable);
382
- if (slottable) {
383
- const newElement = slottable.props.children;
384
- const newChildren = childrenArray.map((child) => {
385
- if (child === slottable) {
386
- if (React8.Children.count(newElement) > 1) return React8.Children.only(null);
387
- return React8.isValidElement(newElement) ? newElement.props.children : null;
388
- } else {
389
- return child;
390
- }
391
- });
392
- return /* @__PURE__ */ jsx2(SlotClone, { ...slotProps, ref: forwardedRef, children: React8.isValidElement(newElement) ? React8.cloneElement(newElement, void 0, newChildren) : null });
393
- }
394
- return /* @__PURE__ */ jsx2(SlotClone, { ...slotProps, ref: forwardedRef, children });
395
- });
396
- Slot2.displayName = `${ownerName}.Slot`;
397
- return Slot2;
398
- }
399
- // @__NO_SIDE_EFFECTS__
400
- function createSlotClone(ownerName) {
401
- const SlotClone = React8.forwardRef((props, forwardedRef) => {
402
- const { children, ...slotProps } = props;
403
- if (React8.isValidElement(children)) {
404
- const childrenRef = getElementRef2(children);
405
- const props2 = mergeProps(slotProps, children.props);
406
- if (children.type !== React8.Fragment) {
407
- props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;
408
- }
409
- return React8.cloneElement(children, props2);
410
- }
411
- return React8.Children.count(children) > 1 ? React8.Children.only(null) : null;
412
- });
413
- SlotClone.displayName = `${ownerName}.SlotClone`;
414
- return SlotClone;
415
- }
416
- var SLOTTABLE_IDENTIFIER = Symbol("radix.slottable");
417
- function isSlottable(child) {
418
- return React8.isValidElement(child) && typeof child.type === "function" && "__radixId" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;
419
- }
420
- function mergeProps(slotProps, childProps) {
421
- const overrideProps = { ...childProps };
422
- for (const propName in childProps) {
423
- const slotPropValue = slotProps[propName];
424
- const childPropValue = childProps[propName];
425
- const isHandler = /^on[A-Z]/.test(propName);
426
- if (isHandler) {
427
- if (slotPropValue && childPropValue) {
428
- overrideProps[propName] = (...args) => {
429
- const result = childPropValue(...args);
430
- slotPropValue(...args);
431
- return result;
432
- };
433
- } else if (slotPropValue) {
434
- overrideProps[propName] = slotPropValue;
435
- }
436
- } else if (propName === "style") {
437
- overrideProps[propName] = { ...slotPropValue, ...childPropValue };
438
- } else if (propName === "className") {
439
- overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(" ");
440
- }
441
- }
442
- return { ...slotProps, ...overrideProps };
443
- }
444
- function getElementRef2(element) {
445
- let getter = Object.getOwnPropertyDescriptor(element.props, "ref")?.get;
446
- let mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
447
- if (mayWarn) {
448
- return element.ref;
449
- }
450
- getter = Object.getOwnPropertyDescriptor(element, "ref")?.get;
451
- mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
452
- if (mayWarn) {
453
- return element.props.ref;
454
- }
455
- return element.props.ref || element.ref;
456
- }
457
-
458
- // node_modules/@radix-ui/react-primitive/dist/index.mjs
459
- import { jsx as jsx3 } from "react/jsx-runtime";
460
- var NODES = [
461
- "a",
462
- "button",
463
- "div",
464
- "form",
465
- "h2",
466
- "h3",
467
- "img",
468
- "input",
469
- "label",
470
- "li",
471
- "nav",
472
- "ol",
473
- "p",
474
- "select",
475
- "span",
476
- "svg",
477
- "ul"
478
- ];
479
- var Primitive = NODES.reduce((primitive, node) => {
480
- const Slot = createSlot(`Primitive.${node}`);
481
- const Node = React9.forwardRef((props, forwardedRef) => {
482
- const { asChild, ...primitiveProps } = props;
483
- const Comp = asChild ? Slot : node;
484
- if (typeof window !== "undefined") {
485
- window[Symbol.for("radix-ui")] = true;
486
- }
487
- return /* @__PURE__ */ jsx3(Comp, { ...primitiveProps, ref: forwardedRef });
488
- });
489
- Node.displayName = `Primitive.${node}`;
490
- return { ...primitive, [node]: Node };
491
- }, {});
492
-
493
- // node_modules/@radix-ui/react-checkbox/dist/index.mjs
494
- import { Fragment as Fragment3, jsx as jsx4, jsxs } from "react/jsx-runtime";
495
- var CHECKBOX_NAME = "Checkbox";
496
- var [createCheckboxContext, createCheckboxScope] = createContextScope(CHECKBOX_NAME);
497
- var [CheckboxProviderImpl, useCheckboxContext] = createCheckboxContext(CHECKBOX_NAME);
498
- function CheckboxProvider(props) {
499
- const {
500
- __scopeCheckbox,
501
- checked: checkedProp,
502
- children,
503
- defaultChecked,
504
- disabled,
505
- form,
506
- name,
507
- onCheckedChange,
508
- required,
509
- value = "on",
510
- // @ts-expect-error
511
- internal_do_not_use_render
512
- } = props;
513
- const [checked, setChecked] = useControllableState({
514
- prop: checkedProp,
515
- defaultProp: defaultChecked ?? false,
516
- onChange: onCheckedChange,
517
- caller: CHECKBOX_NAME
518
- });
519
- const [control, setControl] = React10.useState(null);
520
- const [bubbleInput, setBubbleInput] = React10.useState(null);
521
- const hasConsumerStoppedPropagationRef = React10.useRef(false);
522
- const isFormControl = control ? !!form || !!control.closest("form") : (
523
- // We set this to true by default so that events bubble to forms without JS (SSR)
524
- true
525
- );
526
- const context = {
527
- checked,
528
- disabled,
529
- setChecked,
530
- control,
531
- setControl,
532
- name,
533
- form,
534
- value,
535
- hasConsumerStoppedPropagationRef,
536
- required,
537
- defaultChecked: isIndeterminate(defaultChecked) ? false : defaultChecked,
538
- isFormControl,
539
- bubbleInput,
540
- setBubbleInput
541
- };
542
- return /* @__PURE__ */ jsx4(
543
- CheckboxProviderImpl,
544
- {
545
- scope: __scopeCheckbox,
546
- ...context,
547
- children: isFunction2(internal_do_not_use_render) ? internal_do_not_use_render(context) : children
548
- }
549
- );
550
- }
551
- var TRIGGER_NAME = "CheckboxTrigger";
552
- var CheckboxTrigger = React10.forwardRef(
553
- ({ __scopeCheckbox, onKeyDown, onClick, ...checkboxProps }, forwardedRef) => {
554
- const {
555
- control,
556
- value,
557
- disabled,
558
- checked,
559
- required,
560
- setControl,
561
- setChecked,
562
- hasConsumerStoppedPropagationRef,
563
- isFormControl,
564
- bubbleInput
565
- } = useCheckboxContext(TRIGGER_NAME, __scopeCheckbox);
566
- const composedRefs = useComposedRefs(forwardedRef, setControl);
567
- const initialCheckedStateRef = React10.useRef(checked);
568
- React10.useEffect(() => {
569
- const form = control?.form;
570
- if (form) {
571
- const reset = () => setChecked(initialCheckedStateRef.current);
572
- form.addEventListener("reset", reset);
573
- return () => form.removeEventListener("reset", reset);
574
- }
575
- }, [control, setChecked]);
576
- return /* @__PURE__ */ jsx4(
577
- Primitive.button,
578
- {
579
- type: "button",
580
- role: "checkbox",
581
- "aria-checked": isIndeterminate(checked) ? "mixed" : checked,
582
- "aria-required": required,
583
- "data-state": getState(checked),
584
- "data-disabled": disabled ? "" : void 0,
585
- disabled,
586
- value,
587
- ...checkboxProps,
588
- ref: composedRefs,
589
- onKeyDown: composeEventHandlers(onKeyDown, (event) => {
590
- if (event.key === "Enter") event.preventDefault();
591
- }),
592
- onClick: composeEventHandlers(onClick, (event) => {
593
- setChecked((prevChecked) => isIndeterminate(prevChecked) ? true : !prevChecked);
594
- if (bubbleInput && isFormControl) {
595
- hasConsumerStoppedPropagationRef.current = event.isPropagationStopped();
596
- if (!hasConsumerStoppedPropagationRef.current) event.stopPropagation();
597
- }
598
- })
599
- }
600
- );
601
- }
602
- );
603
- CheckboxTrigger.displayName = TRIGGER_NAME;
604
- var Checkbox = React10.forwardRef(
605
- (props, forwardedRef) => {
606
- const {
607
- __scopeCheckbox,
608
- name,
609
- checked,
610
- defaultChecked,
611
- required,
612
- disabled,
613
- value,
614
- onCheckedChange,
615
- form,
616
- ...checkboxProps
617
- } = props;
618
- return /* @__PURE__ */ jsx4(
619
- CheckboxProvider,
620
- {
621
- __scopeCheckbox,
622
- checked,
623
- defaultChecked,
624
- disabled,
625
- required,
626
- onCheckedChange,
627
- name,
628
- form,
629
- value,
630
- internal_do_not_use_render: ({ isFormControl }) => /* @__PURE__ */ jsxs(Fragment3, { children: [
631
- /* @__PURE__ */ jsx4(
632
- CheckboxTrigger,
633
- {
634
- ...checkboxProps,
635
- ref: forwardedRef,
636
- __scopeCheckbox
637
- }
638
- ),
639
- isFormControl && /* @__PURE__ */ jsx4(
640
- CheckboxBubbleInput,
641
- {
642
- __scopeCheckbox
643
- }
644
- )
645
- ] })
646
- }
647
- );
648
- }
649
- );
650
- Checkbox.displayName = CHECKBOX_NAME;
651
- var INDICATOR_NAME = "CheckboxIndicator";
652
- var CheckboxIndicator = React10.forwardRef(
653
- (props, forwardedRef) => {
654
- const { __scopeCheckbox, forceMount, ...indicatorProps } = props;
655
- const context = useCheckboxContext(INDICATOR_NAME, __scopeCheckbox);
656
- return /* @__PURE__ */ jsx4(
657
- Presence,
658
- {
659
- present: forceMount || isIndeterminate(context.checked) || context.checked === true,
660
- children: /* @__PURE__ */ jsx4(
661
- Primitive.span,
662
- {
663
- "data-state": getState(context.checked),
664
- "data-disabled": context.disabled ? "" : void 0,
665
- ...indicatorProps,
666
- ref: forwardedRef,
667
- style: { pointerEvents: "none", ...props.style }
668
- }
669
- )
670
- }
671
- );
672
- }
673
- );
674
- CheckboxIndicator.displayName = INDICATOR_NAME;
675
- var BUBBLE_INPUT_NAME = "CheckboxBubbleInput";
676
- var CheckboxBubbleInput = React10.forwardRef(
677
- ({ __scopeCheckbox, ...props }, forwardedRef) => {
678
- const {
679
- control,
680
- hasConsumerStoppedPropagationRef,
681
- checked,
682
- defaultChecked,
683
- required,
684
- disabled,
685
- name,
686
- value,
687
- form,
688
- bubbleInput,
689
- setBubbleInput
690
- } = useCheckboxContext(BUBBLE_INPUT_NAME, __scopeCheckbox);
691
- const composedRefs = useComposedRefs(forwardedRef, setBubbleInput);
692
- const prevChecked = usePrevious(checked);
693
- const controlSize = useSize(control);
694
- React10.useEffect(() => {
695
- const input = bubbleInput;
696
- if (!input) return;
697
- const inputProto = window.HTMLInputElement.prototype;
698
- const descriptor = Object.getOwnPropertyDescriptor(
699
- inputProto,
700
- "checked"
701
- );
702
- const setChecked = descriptor.set;
703
- const bubbles = !hasConsumerStoppedPropagationRef.current;
704
- if (prevChecked !== checked && setChecked) {
705
- const event = new Event("click", { bubbles });
706
- input.indeterminate = isIndeterminate(checked);
707
- setChecked.call(input, isIndeterminate(checked) ? false : checked);
708
- input.dispatchEvent(event);
709
- }
710
- }, [bubbleInput, prevChecked, checked, hasConsumerStoppedPropagationRef]);
711
- const defaultCheckedRef = React10.useRef(isIndeterminate(checked) ? false : checked);
712
- return /* @__PURE__ */ jsx4(
713
- Primitive.input,
714
- {
715
- type: "checkbox",
716
- "aria-hidden": true,
717
- defaultChecked: defaultChecked ?? defaultCheckedRef.current,
718
- required,
719
- disabled,
720
- name,
721
- value,
722
- form,
723
- ...props,
724
- tabIndex: -1,
725
- ref: composedRefs,
726
- style: {
727
- ...props.style,
728
- ...controlSize,
729
- position: "absolute",
730
- pointerEvents: "none",
731
- opacity: 0,
732
- margin: 0,
733
- // We transform because the input is absolutely positioned but we have
734
- // rendered it **after** the button. This pulls it back to sit on top
735
- // of the button.
736
- transform: "translateX(-100%)"
737
- }
738
- }
739
- );
740
- }
741
- );
742
- CheckboxBubbleInput.displayName = BUBBLE_INPUT_NAME;
743
- function isFunction2(value) {
744
- return typeof value === "function";
745
- }
746
- function isIndeterminate(checked) {
747
- return checked === "indeterminate";
748
- }
749
- function getState(checked) {
750
- return isIndeterminate(checked) ? "indeterminate" : checked ? "checked" : "unchecked";
751
- }
752
-
753
- // src/hooks/useOverwritableState.ts
754
- import { useEffect as useEffect5, useState as useState5 } from "react";
755
-
756
- // src/utils/resolveSetState.ts
757
- function resolveSetState(action, prev) {
758
- return typeof action === "function" ? action(prev) : action;
759
- }
760
-
761
- // src/hooks/useOverwritableState.ts
762
- var useOverwritableState = (initialValue, onChange) => {
763
- const [state, setState] = useState5(initialValue);
764
- useEffect5(() => {
765
- setState(initialValue);
766
- }, [initialValue]);
767
- const onChangeWrapper = (action) => {
768
- const resolved = resolveSetState(action, state);
769
- setState(resolved);
770
- onChange?.(state);
771
- };
772
- return [state, onChangeWrapper];
773
- };
774
-
775
- // src/components/user-action/Checkbox.tsx
776
- import { jsx as jsx5, jsxs as jsxs2 } from "react/jsx-runtime";
777
- var checkboxSizeMapping = {
778
- sm: "size-5 border-1",
779
- md: "size-6 border-1",
780
- lg: "size-8 border-2"
781
- };
782
- var checkboxIconSizeMapping = {
783
- sm: "size-4 stroke-3",
784
- md: "size-5 stroke-3",
785
- lg: "size-7 stroke-3"
786
- };
787
- var Checkbox2 = ({
788
- disabled,
789
- checked = false,
790
- indeterminate = false,
791
- onChange,
792
- size = "md",
793
- className = "",
794
- ...props
795
- }) => {
796
- const usedSizeClass = checkboxSizeMapping[size];
797
- const innerIconSize = checkboxIconSizeMapping[size];
798
- return /* @__PURE__ */ jsx5(
799
- Checkbox,
800
- {
801
- ...props,
802
- disabled,
803
- checked: indeterminate ? "indeterminate" : checked,
804
- onCheckedChange: onChange,
805
- className: clsx(
806
- usedSizeClass,
807
- `flex-col-0 items-center justify-center rounded`,
808
- {
809
- "text-disabled border-disabled-outline bg-disabled-background cursor-not-allowed": disabled,
810
- "hover:border-primary": !disabled,
811
- "bg-input-background": !disabled && !checked,
812
- "bg-primary/30 border-primary text-primary": !disabled && (checked || indeterminate)
813
- },
814
- className
815
- ),
816
- children: /* @__PURE__ */ jsxs2(CheckboxIndicator, { children: [
817
- !checked && !indeterminate && /* @__PURE__ */ jsx5("div", { className: clsx("bg-input-background", innerIconSize) }),
818
- checked && !indeterminate && /* @__PURE__ */ jsx5(Check, { className: innerIconSize }),
819
- indeterminate && /* @__PURE__ */ jsx5(Minus, { className: innerIconSize })
820
- ] })
821
- }
822
- );
823
- };
824
- var CheckboxUncontrolled = ({
825
- checked: initialChecked,
826
- onChange,
827
- ...props
828
- }) => {
829
- const [checked, setChecked] = useOverwritableState(initialChecked, onChange);
830
- return /* @__PURE__ */ jsx5(
831
- Checkbox2,
832
- {
833
- ...props,
834
- checked,
835
- onChange: setChecked
836
- }
837
- );
838
- };
839
- export {
840
- Checkbox2 as Checkbox,
841
- CheckboxUncontrolled
842
- };
843
- //# sourceMappingURL=Checkbox.js.map