@helpwave/hightide 0.1.46 → 0.1.48

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 (785) hide show
  1. package/README.md +1 -1
  2. package/dist/index.d.mts +2014 -0
  3. package/dist/index.d.ts +2014 -113
  4. package/dist/index.js +1619 -1359
  5. package/dist/index.js.map +1 -1
  6. package/dist/{components/index.js → index.mjs} +1216 -410
  7. package/dist/index.mjs.map +1 -0
  8. package/dist/style/globals.css +24 -0
  9. package/package.json +3 -5
  10. package/dist/coloring/index.cjs +0 -85
  11. package/dist/coloring/index.cjs.map +0 -1
  12. package/dist/coloring/index.d.cts +0 -2
  13. package/dist/coloring/index.d.ts +0 -2
  14. package/dist/coloring/index.js +0 -48
  15. package/dist/coloring/index.js.map +0 -1
  16. package/dist/coloring/shading.cjs +0 -81
  17. package/dist/coloring/shading.cjs.map +0 -1
  18. package/dist/coloring/shading.d.cts +0 -5
  19. package/dist/coloring/shading.d.ts +0 -5
  20. package/dist/coloring/shading.js +0 -47
  21. package/dist/coloring/shading.js.map +0 -1
  22. package/dist/coloring/types.cjs +0 -30
  23. package/dist/coloring/types.cjs.map +0 -1
  24. package/dist/coloring/types.d.cts +0 -13
  25. package/dist/coloring/types.d.ts +0 -13
  26. package/dist/coloring/types.js +0 -6
  27. package/dist/coloring/types.js.map +0 -1
  28. package/dist/components/branding/HelpwaveBadge.cjs +0 -140
  29. package/dist/components/branding/HelpwaveBadge.cjs.map +0 -1
  30. package/dist/components/branding/HelpwaveBadge.d.cts +0 -13
  31. package/dist/components/branding/HelpwaveBadge.d.ts +0 -13
  32. package/dist/components/branding/HelpwaveBadge.js +0 -104
  33. package/dist/components/branding/HelpwaveBadge.js.map +0 -1
  34. package/dist/components/branding/index.cjs +0 -140
  35. package/dist/components/branding/index.cjs.map +0 -1
  36. package/dist/components/branding/index.d.cts +0 -3
  37. package/dist/components/branding/index.d.ts +0 -3
  38. package/dist/components/branding/index.js +0 -104
  39. package/dist/components/branding/index.js.map +0 -1
  40. package/dist/components/date/DatePicker.cjs +0 -1318
  41. package/dist/components/date/DatePicker.cjs.map +0 -1
  42. package/dist/components/date/DatePicker.d.cts +0 -26
  43. package/dist/components/date/DatePicker.d.ts +0 -26
  44. package/dist/components/date/DatePicker.js +0 -1283
  45. package/dist/components/date/DatePicker.js.map +0 -1
  46. package/dist/components/date/DayPicker.cjs +0 -261
  47. package/dist/components/date/DayPicker.cjs.map +0 -1
  48. package/dist/components/date/DayPicker.d.cts +0 -20
  49. package/dist/components/date/DayPicker.d.ts +0 -20
  50. package/dist/components/date/DayPicker.js +0 -224
  51. package/dist/components/date/DayPicker.js.map +0 -1
  52. package/dist/components/date/TimeDisplay.cjs +0 -638
  53. package/dist/components/date/TimeDisplay.cjs.map +0 -1
  54. package/dist/components/date/TimeDisplay.d.cts +0 -13
  55. package/dist/components/date/TimeDisplay.d.ts +0 -13
  56. package/dist/components/date/TimeDisplay.js +0 -612
  57. package/dist/components/date/TimeDisplay.js.map +0 -1
  58. package/dist/components/date/TimePicker.cjs +0 -237
  59. package/dist/components/date/TimePicker.cjs.map +0 -1
  60. package/dist/components/date/TimePicker.d.cts +0 -15
  61. package/dist/components/date/TimePicker.d.ts +0 -15
  62. package/dist/components/date/TimePicker.js +0 -202
  63. package/dist/components/date/TimePicker.js.map +0 -1
  64. package/dist/components/date/YearMonthPicker.cjs +0 -536
  65. package/dist/components/date/YearMonthPicker.cjs.map +0 -1
  66. package/dist/components/date/YearMonthPicker.d.cts +0 -15
  67. package/dist/components/date/YearMonthPicker.d.ts +0 -15
  68. package/dist/components/date/YearMonthPicker.js +0 -501
  69. package/dist/components/date/YearMonthPicker.js.map +0 -1
  70. package/dist/components/date/index.cjs +0 -1556
  71. package/dist/components/date/index.cjs.map +0 -1
  72. package/dist/components/date/index.d.cts +0 -7
  73. package/dist/components/date/index.d.ts +0 -7
  74. package/dist/components/date/index.js +0 -1512
  75. package/dist/components/date/index.js.map +0 -1
  76. package/dist/components/dialog/ConfirmDialog.cjs +0 -1165
  77. package/dist/components/dialog/ConfirmDialog.cjs.map +0 -1
  78. package/dist/components/dialog/ConfirmDialog.d.cts +0 -29
  79. package/dist/components/dialog/ConfirmDialog.d.ts +0 -29
  80. package/dist/components/dialog/ConfirmDialog.js +0 -1129
  81. package/dist/components/dialog/ConfirmDialog.js.map +0 -1
  82. package/dist/components/dialog/Dialog.cjs +0 -1108
  83. package/dist/components/dialog/Dialog.cjs.map +0 -1
  84. package/dist/components/dialog/Dialog.d.cts +0 -27
  85. package/dist/components/dialog/Dialog.d.ts +0 -27
  86. package/dist/components/dialog/Dialog.js +0 -1075
  87. package/dist/components/dialog/Dialog.js.map +0 -1
  88. package/dist/components/dialog/DiscardChangesDialog.cjs +0 -1192
  89. package/dist/components/dialog/DiscardChangesDialog.cjs.map +0 -1
  90. package/dist/components/dialog/DiscardChangesDialog.d.cts +0 -18
  91. package/dist/components/dialog/DiscardChangesDialog.d.ts +0 -18
  92. package/dist/components/dialog/DiscardChangesDialog.js +0 -1156
  93. package/dist/components/dialog/DiscardChangesDialog.js.map +0 -1
  94. package/dist/components/dialog/InputDialog.cjs +0 -1369
  95. package/dist/components/dialog/InputDialog.cjs.map +0 -1
  96. package/dist/components/dialog/InputDialog.d.cts +0 -17
  97. package/dist/components/dialog/InputDialog.d.ts +0 -17
  98. package/dist/components/dialog/InputDialog.js +0 -1333
  99. package/dist/components/dialog/InputDialog.js.map +0 -1
  100. package/dist/components/dialog/LanguageDialog.cjs +0 -2149
  101. package/dist/components/dialog/LanguageDialog.cjs.map +0 -1
  102. package/dist/components/dialog/LanguageDialog.d.cts +0 -16
  103. package/dist/components/dialog/LanguageDialog.d.ts +0 -16
  104. package/dist/components/dialog/LanguageDialog.js +0 -2124
  105. package/dist/components/dialog/LanguageDialog.js.map +0 -1
  106. package/dist/components/dialog/ThemeDialog.cjs +0 -2188
  107. package/dist/components/dialog/ThemeDialog.cjs.map +0 -1
  108. package/dist/components/dialog/ThemeDialog.d.cts +0 -16
  109. package/dist/components/dialog/ThemeDialog.d.ts +0 -16
  110. package/dist/components/dialog/ThemeDialog.js +0 -2163
  111. package/dist/components/dialog/ThemeDialog.js.map +0 -1
  112. package/dist/components/dialog/index.cjs +0 -2516
  113. package/dist/components/dialog/index.cjs.map +0 -1
  114. package/dist/components/dialog/index.d.cts +0 -11
  115. package/dist/components/dialog/index.d.ts +0 -11
  116. package/dist/components/dialog/index.js +0 -2486
  117. package/dist/components/dialog/index.js.map +0 -1
  118. package/dist/components/form/FormElementWrapper.cjs +0 -167
  119. package/dist/components/form/FormElementWrapper.cjs.map +0 -1
  120. package/dist/components/form/FormElementWrapper.d.cts +0 -35
  121. package/dist/components/form/FormElementWrapper.d.ts +0 -35
  122. package/dist/components/form/FormElementWrapper.js +0 -133
  123. package/dist/components/form/FormElementWrapper.js.map +0 -1
  124. package/dist/components/form/index.cjs +0 -169
  125. package/dist/components/form/index.cjs.map +0 -1
  126. package/dist/components/form/index.d.cts +0 -5
  127. package/dist/components/form/index.d.ts +0 -5
  128. package/dist/components/form/index.js +0 -133
  129. package/dist/components/form/index.js.map +0 -1
  130. package/dist/components/icons-and-geometry/Avatar.cjs +0 -670
  131. package/dist/components/icons-and-geometry/Avatar.cjs.map +0 -1
  132. package/dist/components/icons-and-geometry/Avatar.d.cts +0 -36
  133. package/dist/components/icons-and-geometry/Avatar.d.ts +0 -36
  134. package/dist/components/icons-and-geometry/Avatar.js +0 -663
  135. package/dist/components/icons-and-geometry/Avatar.js.map +0 -1
  136. package/dist/components/icons-and-geometry/Circle.cjs +0 -61
  137. package/dist/components/icons-and-geometry/Circle.cjs.map +0 -1
  138. package/dist/components/icons-and-geometry/Circle.d.cts +0 -10
  139. package/dist/components/icons-and-geometry/Circle.d.ts +0 -10
  140. package/dist/components/icons-and-geometry/Circle.js +0 -27
  141. package/dist/components/icons-and-geometry/Circle.js.map +0 -1
  142. package/dist/components/icons-and-geometry/HelpwaveLogo.cjs +0 -98
  143. package/dist/components/icons-and-geometry/HelpwaveLogo.cjs.map +0 -1
  144. package/dist/components/icons-and-geometry/HelpwaveLogo.d.cts +0 -14
  145. package/dist/components/icons-and-geometry/HelpwaveLogo.d.ts +0 -14
  146. package/dist/components/icons-and-geometry/HelpwaveLogo.js +0 -74
  147. package/dist/components/icons-and-geometry/HelpwaveLogo.js.map +0 -1
  148. package/dist/components/icons-and-geometry/Ring.cjs +0 -333
  149. package/dist/components/icons-and-geometry/Ring.cjs.map +0 -1
  150. package/dist/components/icons-and-geometry/Ring.d.cts +0 -35
  151. package/dist/components/icons-and-geometry/Ring.d.ts +0 -35
  152. package/dist/components/icons-and-geometry/Ring.js +0 -296
  153. package/dist/components/icons-and-geometry/Ring.js.map +0 -1
  154. package/dist/components/icons-and-geometry/Tag.cjs +0 -2945
  155. package/dist/components/icons-and-geometry/Tag.cjs.map +0 -1
  156. package/dist/components/icons-and-geometry/Tag.d.cts +0 -16
  157. package/dist/components/icons-and-geometry/Tag.d.ts +0 -16
  158. package/dist/components/icons-and-geometry/Tag.js +0 -2940
  159. package/dist/components/icons-and-geometry/Tag.js.map +0 -1
  160. package/dist/components/icons-and-geometry/index.cjs +0 -3950
  161. package/dist/components/icons-and-geometry/index.cjs.map +0 -1
  162. package/dist/components/icons-and-geometry/index.d.cts +0 -7
  163. package/dist/components/icons-and-geometry/index.d.ts +0 -7
  164. package/dist/components/icons-and-geometry/index.js +0 -3934
  165. package/dist/components/icons-and-geometry/index.js.map +0 -1
  166. package/dist/components/index.cjs +0 -15692
  167. package/dist/components/index.cjs.map +0 -1
  168. package/dist/components/index.d.cts +0 -78
  169. package/dist/components/index.d.ts +0 -78
  170. package/dist/components/index.js.map +0 -1
  171. package/dist/components/layout/Carousel.cjs +0 -1128
  172. package/dist/components/layout/Carousel.cjs.map +0 -1
  173. package/dist/components/layout/Carousel.d.cts +0 -35
  174. package/dist/components/layout/Carousel.d.ts +0 -35
  175. package/dist/components/layout/Carousel.js +0 -1103
  176. package/dist/components/layout/Carousel.js.map +0 -1
  177. package/dist/components/layout/Chip.cjs +0 -123
  178. package/dist/components/layout/Chip.cjs.map +0 -1
  179. package/dist/components/layout/Chip.d.cts +0 -31
  180. package/dist/components/layout/Chip.d.ts +0 -31
  181. package/dist/components/layout/Chip.js +0 -87
  182. package/dist/components/layout/Chip.js.map +0 -1
  183. package/dist/components/layout/DividerInserter.cjs +0 -59
  184. package/dist/components/layout/DividerInserter.cjs.map +0 -1
  185. package/dist/components/layout/DividerInserter.d.cts +0 -15
  186. package/dist/components/layout/DividerInserter.d.ts +0 -15
  187. package/dist/components/layout/DividerInserter.js +0 -25
  188. package/dist/components/layout/DividerInserter.js.map +0 -1
  189. package/dist/components/layout/Expandable.cjs +0 -171
  190. package/dist/components/layout/Expandable.cjs.map +0 -1
  191. package/dist/components/layout/Expandable.d.cts +0 -67
  192. package/dist/components/layout/Expandable.d.ts +0 -67
  193. package/dist/components/layout/Expandable.js +0 -135
  194. package/dist/components/layout/Expandable.js.map +0 -1
  195. package/dist/components/layout/FAQSection.cjs +0 -421
  196. package/dist/components/layout/FAQSection.cjs.map +0 -1
  197. package/dist/components/layout/FAQSection.d.cts +0 -26
  198. package/dist/components/layout/FAQSection.d.ts +0 -26
  199. package/dist/components/layout/FAQSection.js +0 -387
  200. package/dist/components/layout/FAQSection.js.map +0 -1
  201. package/dist/components/layout/FloatingContainer.cjs +0 -220
  202. package/dist/components/layout/FloatingContainer.cjs.map +0 -1
  203. package/dist/components/layout/FloatingContainer.d.cts +0 -38
  204. package/dist/components/layout/FloatingContainer.d.ts +0 -38
  205. package/dist/components/layout/FloatingContainer.js +0 -196
  206. package/dist/components/layout/FloatingContainer.js.map +0 -1
  207. package/dist/components/layout/ListBox.cjs +0 -339
  208. package/dist/components/layout/ListBox.cjs.map +0 -1
  209. package/dist/components/layout/ListBox.d.cts +0 -44
  210. package/dist/components/layout/ListBox.d.ts +0 -44
  211. package/dist/components/layout/ListBox.js +0 -300
  212. package/dist/components/layout/ListBox.js.map +0 -1
  213. package/dist/components/layout/MarkdownInterpreter.cjs +0 -260
  214. package/dist/components/layout/MarkdownInterpreter.cjs.map +0 -1
  215. package/dist/components/layout/MarkdownInterpreter.d.cts +0 -28
  216. package/dist/components/layout/MarkdownInterpreter.d.ts +0 -28
  217. package/dist/components/layout/MarkdownInterpreter.js +0 -235
  218. package/dist/components/layout/MarkdownInterpreter.js.map +0 -1
  219. package/dist/components/layout/ScrollArea.cjs +0 -1252
  220. package/dist/components/layout/ScrollArea.cjs.map +0 -1
  221. package/dist/components/layout/ScrollArea.d.cts +0 -15
  222. package/dist/components/layout/ScrollArea.d.ts +0 -15
  223. package/dist/components/layout/ScrollArea.js +0 -1216
  224. package/dist/components/layout/ScrollArea.js.map +0 -1
  225. package/dist/components/layout/TextImage.cjs +0 -657
  226. package/dist/components/layout/TextImage.cjs.map +0 -1
  227. package/dist/components/layout/TextImage.d.cts +0 -19
  228. package/dist/components/layout/TextImage.d.ts +0 -19
  229. package/dist/components/layout/TextImage.js +0 -623
  230. package/dist/components/layout/TextImage.js.map +0 -1
  231. package/dist/components/layout/VerticalDivider.cjs +0 -80
  232. package/dist/components/layout/VerticalDivider.cjs.map +0 -1
  233. package/dist/components/layout/VerticalDivider.d.cts +0 -15
  234. package/dist/components/layout/VerticalDivider.d.ts +0 -15
  235. package/dist/components/layout/VerticalDivider.js +0 -56
  236. package/dist/components/layout/VerticalDivider.js.map +0 -1
  237. package/dist/components/layout/index.cjs +0 -3434
  238. package/dist/components/layout/index.cjs.map +0 -1
  239. package/dist/components/layout/index.d.cts +0 -15
  240. package/dist/components/layout/index.d.ts +0 -15
  241. package/dist/components/layout/index.js +0 -3387
  242. package/dist/components/layout/index.js.map +0 -1
  243. package/dist/components/loading-states/ErrorComponent.cjs +0 -622
  244. package/dist/components/loading-states/ErrorComponent.cjs.map +0 -1
  245. package/dist/components/loading-states/ErrorComponent.d.cts +0 -12
  246. package/dist/components/loading-states/ErrorComponent.d.ts +0 -12
  247. package/dist/components/loading-states/ErrorComponent.js +0 -588
  248. package/dist/components/loading-states/ErrorComponent.js.map +0 -1
  249. package/dist/components/loading-states/LoadingAndErrorComponent.cjs +0 -67
  250. package/dist/components/loading-states/LoadingAndErrorComponent.cjs.map +0 -1
  251. package/dist/components/loading-states/LoadingAndErrorComponent.d.cts +0 -20
  252. package/dist/components/loading-states/LoadingAndErrorComponent.d.ts +0 -20
  253. package/dist/components/loading-states/LoadingAndErrorComponent.js +0 -43
  254. package/dist/components/loading-states/LoadingAndErrorComponent.js.map +0 -1
  255. package/dist/components/loading-states/LoadingAnimation.cjs +0 -694
  256. package/dist/components/loading-states/LoadingAnimation.cjs.map +0 -1
  257. package/dist/components/loading-states/LoadingAnimation.d.cts +0 -12
  258. package/dist/components/loading-states/LoadingAnimation.d.ts +0 -12
  259. package/dist/components/loading-states/LoadingAnimation.js +0 -658
  260. package/dist/components/loading-states/LoadingAnimation.js.map +0 -1
  261. package/dist/components/loading-states/LoadingButton.cjs +0 -257
  262. package/dist/components/loading-states/LoadingButton.cjs.map +0 -1
  263. package/dist/components/loading-states/LoadingButton.d.cts +0 -10
  264. package/dist/components/loading-states/LoadingButton.d.ts +0 -10
  265. package/dist/components/loading-states/LoadingButton.js +0 -223
  266. package/dist/components/loading-states/LoadingButton.js.map +0 -1
  267. package/dist/components/loading-states/LoadingContainer.cjs +0 -34
  268. package/dist/components/loading-states/LoadingContainer.cjs.map +0 -1
  269. package/dist/components/loading-states/LoadingContainer.d.cts +0 -8
  270. package/dist/components/loading-states/LoadingContainer.d.ts +0 -8
  271. package/dist/components/loading-states/LoadingContainer.js +0 -10
  272. package/dist/components/loading-states/LoadingContainer.js.map +0 -1
  273. package/dist/components/loading-states/ProgressIndicator.cjs +0 -83
  274. package/dist/components/loading-states/ProgressIndicator.cjs.map +0 -1
  275. package/dist/components/loading-states/ProgressIndicator.d.cts +0 -24
  276. package/dist/components/loading-states/ProgressIndicator.d.ts +0 -24
  277. package/dist/components/loading-states/ProgressIndicator.js +0 -59
  278. package/dist/components/loading-states/ProgressIndicator.js.map +0 -1
  279. package/dist/components/loading-states/index.cjs +0 -966
  280. package/dist/components/loading-states/index.cjs.map +0 -1
  281. package/dist/components/loading-states/index.d.cts +0 -9
  282. package/dist/components/loading-states/index.d.ts +0 -9
  283. package/dist/components/loading-states/index.js +0 -925
  284. package/dist/components/loading-states/index.js.map +0 -1
  285. package/dist/components/navigation/BreadCrumb.cjs +0 -3516
  286. package/dist/components/navigation/BreadCrumb.cjs.map +0 -1
  287. package/dist/components/navigation/BreadCrumb.d.cts +0 -20
  288. package/dist/components/navigation/BreadCrumb.d.ts +0 -20
  289. package/dist/components/navigation/BreadCrumb.js +0 -3511
  290. package/dist/components/navigation/BreadCrumb.js.map +0 -1
  291. package/dist/components/navigation/Navigation.cjs +0 -4041
  292. package/dist/components/navigation/Navigation.cjs.map +0 -1
  293. package/dist/components/navigation/Navigation.d.cts +0 -21
  294. package/dist/components/navigation/Navigation.d.ts +0 -21
  295. package/dist/components/navigation/Navigation.js +0 -4035
  296. package/dist/components/navigation/Navigation.js.map +0 -1
  297. package/dist/components/navigation/Pagination.cjs +0 -1007
  298. package/dist/components/navigation/Pagination.cjs.map +0 -1
  299. package/dist/components/navigation/Pagination.d.cts +0 -16
  300. package/dist/components/navigation/Pagination.d.ts +0 -16
  301. package/dist/components/navigation/Pagination.js +0 -973
  302. package/dist/components/navigation/Pagination.js.map +0 -1
  303. package/dist/components/navigation/StepperBar.cjs +0 -903
  304. package/dist/components/navigation/StepperBar.cjs.map +0 -1
  305. package/dist/components/navigation/StepperBar.d.cts +0 -23
  306. package/dist/components/navigation/StepperBar.d.ts +0 -23
  307. package/dist/components/navigation/StepperBar.js +0 -868
  308. package/dist/components/navigation/StepperBar.js.map +0 -1
  309. package/dist/components/navigation/index.cjs +0 -5035
  310. package/dist/components/navigation/index.cjs.map +0 -1
  311. package/dist/components/navigation/index.d.cts +0 -6
  312. package/dist/components/navigation/index.d.ts +0 -6
  313. package/dist/components/navigation/index.js +0 -5023
  314. package/dist/components/navigation/index.js.map +0 -1
  315. package/dist/components/properties/CheckboxProperty.cjs +0 -1736
  316. package/dist/components/properties/CheckboxProperty.cjs.map +0 -1
  317. package/dist/components/properties/CheckboxProperty.d.cts +0 -14
  318. package/dist/components/properties/CheckboxProperty.d.ts +0 -14
  319. package/dist/components/properties/CheckboxProperty.js +0 -1702
  320. package/dist/components/properties/CheckboxProperty.js.map +0 -1
  321. package/dist/components/properties/DateProperty.cjs +0 -1119
  322. package/dist/components/properties/DateProperty.cjs.map +0 -1
  323. package/dist/components/properties/DateProperty.d.cts +0 -16
  324. package/dist/components/properties/DateProperty.d.ts +0 -16
  325. package/dist/components/properties/DateProperty.js +0 -1085
  326. package/dist/components/properties/DateProperty.js.map +0 -1
  327. package/dist/components/properties/MultiSelectProperty.cjs +0 -2058
  328. package/dist/components/properties/MultiSelectProperty.cjs.map +0 -1
  329. package/dist/components/properties/MultiSelectProperty.d.cts +0 -14
  330. package/dist/components/properties/MultiSelectProperty.d.ts +0 -14
  331. package/dist/components/properties/MultiSelectProperty.js +0 -2035
  332. package/dist/components/properties/MultiSelectProperty.js.map +0 -1
  333. package/dist/components/properties/NumberProperty.cjs +0 -1125
  334. package/dist/components/properties/NumberProperty.cjs.map +0 -1
  335. package/dist/components/properties/NumberProperty.d.cts +0 -16
  336. package/dist/components/properties/NumberProperty.d.ts +0 -16
  337. package/dist/components/properties/NumberProperty.js +0 -1091
  338. package/dist/components/properties/NumberProperty.js.map +0 -1
  339. package/dist/components/properties/PropertyBase.cjs +0 -875
  340. package/dist/components/properties/PropertyBase.cjs.map +0 -1
  341. package/dist/components/properties/PropertyBase.d.cts +0 -22
  342. package/dist/components/properties/PropertyBase.d.ts +0 -22
  343. package/dist/components/properties/PropertyBase.js +0 -841
  344. package/dist/components/properties/PropertyBase.js.map +0 -1
  345. package/dist/components/properties/SelectProperty.cjs +0 -2058
  346. package/dist/components/properties/SelectProperty.cjs.map +0 -1
  347. package/dist/components/properties/SelectProperty.d.cts +0 -16
  348. package/dist/components/properties/SelectProperty.d.ts +0 -16
  349. package/dist/components/properties/SelectProperty.js +0 -2035
  350. package/dist/components/properties/SelectProperty.js.map +0 -1
  351. package/dist/components/properties/TextProperty.cjs +0 -1033
  352. package/dist/components/properties/TextProperty.cjs.map +0 -1
  353. package/dist/components/properties/TextProperty.d.cts +0 -15
  354. package/dist/components/properties/TextProperty.d.ts +0 -15
  355. package/dist/components/properties/TextProperty.js +0 -999
  356. package/dist/components/properties/TextProperty.js.map +0 -1
  357. package/dist/components/properties/index.cjs +0 -3383
  358. package/dist/components/properties/index.cjs.map +0 -1
  359. package/dist/components/properties/index.d.cts +0 -9
  360. package/dist/components/properties/index.d.ts +0 -9
  361. package/dist/components/properties/index.js +0 -3352
  362. package/dist/components/properties/index.js.map +0 -1
  363. package/dist/components/table/FillerRowElement.cjs +0 -36
  364. package/dist/components/table/FillerRowElement.cjs.map +0 -1
  365. package/dist/components/table/FillerRowElement.d.cts +0 -8
  366. package/dist/components/table/FillerRowElement.d.ts +0 -8
  367. package/dist/components/table/FillerRowElement.js +0 -12
  368. package/dist/components/table/FillerRowElement.js.map +0 -1
  369. package/dist/components/table/Filter.cjs +0 -41
  370. package/dist/components/table/Filter.cjs.map +0 -1
  371. package/dist/components/table/Filter.d.cts +0 -5
  372. package/dist/components/table/Filter.d.ts +0 -5
  373. package/dist/components/table/Filter.js +0 -17
  374. package/dist/components/table/Filter.js.map +0 -1
  375. package/dist/components/table/Table.cjs +0 -2678
  376. package/dist/components/table/Table.cjs.map +0 -1
  377. package/dist/components/table/Table.d.cts +0 -42
  378. package/dist/components/table/Table.d.ts +0 -42
  379. package/dist/components/table/Table.js +0 -2649
  380. package/dist/components/table/Table.js.map +0 -1
  381. package/dist/components/table/TableCell.cjs +0 -37
  382. package/dist/components/table/TableCell.cjs.map +0 -1
  383. package/dist/components/table/TableCell.d.cts +0 -9
  384. package/dist/components/table/TableCell.d.ts +0 -9
  385. package/dist/components/table/TableCell.js +0 -13
  386. package/dist/components/table/TableCell.js.map +0 -1
  387. package/dist/components/table/TableFilterButton.cjs +0 -1269
  388. package/dist/components/table/TableFilterButton.cjs.map +0 -1
  389. package/dist/components/table/TableFilterButton.d.cts +0 -11
  390. package/dist/components/table/TableFilterButton.d.ts +0 -11
  391. package/dist/components/table/TableFilterButton.js +0 -1233
  392. package/dist/components/table/TableFilterButton.js.map +0 -1
  393. package/dist/components/table/TableSortButton.cjs +0 -206
  394. package/dist/components/table/TableSortButton.cjs.map +0 -1
  395. package/dist/components/table/TableSortButton.d.cts +0 -15
  396. package/dist/components/table/TableSortButton.d.ts +0 -15
  397. package/dist/components/table/TableSortButton.js +0 -172
  398. package/dist/components/table/TableSortButton.js.map +0 -1
  399. package/dist/components/table/index.cjs +0 -2690
  400. package/dist/components/table/index.cjs.map +0 -1
  401. package/dist/components/table/index.d.cts +0 -10
  402. package/dist/components/table/index.d.ts +0 -10
  403. package/dist/components/table/index.js +0 -2654
  404. package/dist/components/table/index.js.map +0 -1
  405. package/dist/components/user-action/Button.cjs +0 -308
  406. package/dist/components/user-action/Button.cjs.map +0 -1
  407. package/dist/components/user-action/Button.d.cts +0 -104
  408. package/dist/components/user-action/Button.d.ts +0 -104
  409. package/dist/components/user-action/Button.js +0 -268
  410. package/dist/components/user-action/Button.js.map +0 -1
  411. package/dist/components/user-action/Checkbox.cjs +0 -878
  412. package/dist/components/user-action/Checkbox.cjs.map +0 -1
  413. package/dist/components/user-action/Checkbox.d.cts +0 -25
  414. package/dist/components/user-action/Checkbox.d.ts +0 -25
  415. package/dist/components/user-action/Checkbox.js +0 -843
  416. package/dist/components/user-action/Checkbox.js.map +0 -1
  417. package/dist/components/user-action/CopyToClipboardWrapper.cjs +0 -695
  418. package/dist/components/user-action/CopyToClipboardWrapper.cjs.map +0 -1
  419. package/dist/components/user-action/CopyToClipboardWrapper.d.cts +0 -30
  420. package/dist/components/user-action/CopyToClipboardWrapper.d.ts +0 -30
  421. package/dist/components/user-action/CopyToClipboardWrapper.js +0 -671
  422. package/dist/components/user-action/CopyToClipboardWrapper.js.map +0 -1
  423. package/dist/components/user-action/DateAndTimePicker.cjs +0 -1492
  424. package/dist/components/user-action/DateAndTimePicker.cjs.map +0 -1
  425. package/dist/components/user-action/DateAndTimePicker.d.cts +0 -25
  426. package/dist/components/user-action/DateAndTimePicker.d.ts +0 -25
  427. package/dist/components/user-action/DateAndTimePicker.js +0 -1458
  428. package/dist/components/user-action/DateAndTimePicker.js.map +0 -1
  429. package/dist/components/user-action/Label.cjs +0 -53
  430. package/dist/components/user-action/Label.cjs.map +0 -1
  431. package/dist/components/user-action/Label.d.cts +0 -14
  432. package/dist/components/user-action/Label.d.ts +0 -14
  433. package/dist/components/user-action/Label.js +0 -19
  434. package/dist/components/user-action/Label.js.map +0 -1
  435. package/dist/components/user-action/Menu.cjs +0 -282
  436. package/dist/components/user-action/Menu.cjs.map +0 -1
  437. package/dist/components/user-action/Menu.d.cts +0 -35
  438. package/dist/components/user-action/Menu.d.ts +0 -35
  439. package/dist/components/user-action/Menu.js +0 -247
  440. package/dist/components/user-action/Menu.js.map +0 -1
  441. package/dist/components/user-action/ScrollPicker.cjs +0 -301
  442. package/dist/components/user-action/ScrollPicker.cjs.map +0 -1
  443. package/dist/components/user-action/ScrollPicker.d.cts +0 -15
  444. package/dist/components/user-action/ScrollPicker.d.ts +0 -15
  445. package/dist/components/user-action/ScrollPicker.js +0 -267
  446. package/dist/components/user-action/ScrollPicker.js.map +0 -1
  447. package/dist/components/user-action/SearchBar.cjs +0 -956
  448. package/dist/components/user-action/SearchBar.cjs.map +0 -1
  449. package/dist/components/user-action/SearchBar.d.cts +0 -13
  450. package/dist/components/user-action/SearchBar.d.ts +0 -13
  451. package/dist/components/user-action/SearchBar.js +0 -920
  452. package/dist/components/user-action/SearchBar.js.map +0 -1
  453. package/dist/components/user-action/Textarea.cjs +0 -231
  454. package/dist/components/user-action/Textarea.cjs.map +0 -1
  455. package/dist/components/user-action/Textarea.d.cts +0 -41
  456. package/dist/components/user-action/Textarea.d.ts +0 -41
  457. package/dist/components/user-action/Textarea.js +0 -195
  458. package/dist/components/user-action/Textarea.js.map +0 -1
  459. package/dist/components/user-action/Tooltip.cjs +0 -139
  460. package/dist/components/user-action/Tooltip.cjs.map +0 -1
  461. package/dist/components/user-action/Tooltip.d.cts +0 -37
  462. package/dist/components/user-action/Tooltip.d.ts +0 -37
  463. package/dist/components/user-action/Tooltip.js +0 -113
  464. package/dist/components/user-action/Tooltip.js.map +0 -1
  465. package/dist/components/user-action/index.cjs +0 -4564
  466. package/dist/components/user-action/index.cjs.map +0 -1
  467. package/dist/components/user-action/index.d.cts +0 -26
  468. package/dist/components/user-action/index.d.ts +0 -26
  469. package/dist/components/user-action/index.js +0 -4503
  470. package/dist/components/user-action/index.js.map +0 -1
  471. package/dist/components/user-action/input/Input.cjs +0 -260
  472. package/dist/components/user-action/input/Input.cjs.map +0 -1
  473. package/dist/components/user-action/input/Input.d.cts +0 -37
  474. package/dist/components/user-action/input/Input.d.ts +0 -37
  475. package/dist/components/user-action/input/Input.js +0 -225
  476. package/dist/components/user-action/input/Input.js.map +0 -1
  477. package/dist/components/user-action/input/InsideLabelInput.cjs +0 -312
  478. package/dist/components/user-action/input/InsideLabelInput.cjs.map +0 -1
  479. package/dist/components/user-action/input/InsideLabelInput.d.cts +0 -20
  480. package/dist/components/user-action/input/InsideLabelInput.d.ts +0 -20
  481. package/dist/components/user-action/input/InsideLabelInput.js +0 -277
  482. package/dist/components/user-action/input/InsideLabelInput.js.map +0 -1
  483. package/dist/components/user-action/input/ToggleableInput.cjs +0 -315
  484. package/dist/components/user-action/input/ToggleableInput.cjs.map +0 -1
  485. package/dist/components/user-action/input/ToggleableInput.d.cts +0 -22
  486. package/dist/components/user-action/input/ToggleableInput.d.ts +0 -22
  487. package/dist/components/user-action/input/ToggleableInput.js +0 -280
  488. package/dist/components/user-action/input/ToggleableInput.js.map +0 -1
  489. package/dist/components/user-action/input/index.cjs +0 -403
  490. package/dist/components/user-action/input/index.cjs.map +0 -1
  491. package/dist/components/user-action/input/index.d.cts +0 -6
  492. package/dist/components/user-action/input/index.d.ts +0 -6
  493. package/dist/components/user-action/input/index.js +0 -362
  494. package/dist/components/user-action/input/index.js.map +0 -1
  495. package/dist/components/user-action/select/Select.cjs +0 -1970
  496. package/dist/components/user-action/select/Select.cjs.map +0 -1
  497. package/dist/components/user-action/select/Select.d.cts +0 -104
  498. package/dist/components/user-action/select/Select.d.ts +0 -104
  499. package/dist/components/user-action/select/Select.js +0 -1937
  500. package/dist/components/user-action/select/Select.js.map +0 -1
  501. package/dist/components/user-action/select/index.cjs +0 -1972
  502. package/dist/components/user-action/select/index.cjs.map +0 -1
  503. package/dist/components/user-action/select/index.d.cts +0 -4
  504. package/dist/components/user-action/select/index.d.ts +0 -4
  505. package/dist/components/user-action/select/index.js +0 -1937
  506. package/dist/components/user-action/select/index.js.map +0 -1
  507. package/dist/components/utils/FocusTrap.cjs +0 -252
  508. package/dist/components/utils/FocusTrap.cjs.map +0 -1
  509. package/dist/components/utils/FocusTrap.d.cts +0 -28
  510. package/dist/components/utils/FocusTrap.d.ts +0 -28
  511. package/dist/components/utils/FocusTrap.js +0 -229
  512. package/dist/components/utils/FocusTrap.js.map +0 -1
  513. package/dist/components/utils/Transition.cjs +0 -74
  514. package/dist/components/utils/Transition.cjs.map +0 -1
  515. package/dist/components/utils/Transition.d.cts +0 -26
  516. package/dist/components/utils/Transition.d.ts +0 -26
  517. package/dist/components/utils/Transition.js +0 -50
  518. package/dist/components/utils/Transition.js.map +0 -1
  519. package/dist/components/utils/index.cjs +0 -302
  520. package/dist/components/utils/index.cjs.map +0 -1
  521. package/dist/components/utils/index.d.cts +0 -4
  522. package/dist/components/utils/index.d.ts +0 -4
  523. package/dist/components/utils/index.js +0 -275
  524. package/dist/components/utils/index.js.map +0 -1
  525. package/dist/hooks/focus/index.cjs +0 -379
  526. package/dist/hooks/focus/index.cjs.map +0 -1
  527. package/dist/hooks/focus/index.d.cts +0 -6
  528. package/dist/hooks/focus/index.d.ts +0 -6
  529. package/dist/hooks/focus/index.js +0 -339
  530. package/dist/hooks/focus/index.js.map +0 -1
  531. package/dist/hooks/focus/useFocusGuards.cjs +0 -74
  532. package/dist/hooks/focus/useFocusGuards.cjs.map +0 -1
  533. package/dist/hooks/focus/useFocusGuards.d.cts +0 -3
  534. package/dist/hooks/focus/useFocusGuards.d.ts +0 -3
  535. package/dist/hooks/focus/useFocusGuards.js +0 -50
  536. package/dist/hooks/focus/useFocusGuards.js.map +0 -1
  537. package/dist/hooks/focus/useFocusManagement.cjs +0 -84
  538. package/dist/hooks/focus/useFocusManagement.cjs.map +0 -1
  539. package/dist/hooks/focus/useFocusManagement.d.cts +0 -9
  540. package/dist/hooks/focus/useFocusManagement.d.ts +0 -9
  541. package/dist/hooks/focus/useFocusManagement.js +0 -60
  542. package/dist/hooks/focus/useFocusManagement.js.map +0 -1
  543. package/dist/hooks/focus/useFocusOnceVisible.cjs +0 -60
  544. package/dist/hooks/focus/useFocusOnceVisible.cjs.map +0 -1
  545. package/dist/hooks/focus/useFocusOnceVisible.d.cts +0 -5
  546. package/dist/hooks/focus/useFocusOnceVisible.d.ts +0 -5
  547. package/dist/hooks/focus/useFocusOnceVisible.js +0 -26
  548. package/dist/hooks/focus/useFocusOnceVisible.js.map +0 -1
  549. package/dist/hooks/focus/useFocusTrap.cjs +0 -233
  550. package/dist/hooks/focus/useFocusTrap.cjs.map +0 -1
  551. package/dist/hooks/focus/useFocusTrap.d.cts +0 -16
  552. package/dist/hooks/focus/useFocusTrap.d.ts +0 -16
  553. package/dist/hooks/focus/useFocusTrap.js +0 -210
  554. package/dist/hooks/focus/useFocusTrap.js.map +0 -1
  555. package/dist/hooks/focus/useIsMounted.cjs +0 -43
  556. package/dist/hooks/focus/useIsMounted.cjs.map +0 -1
  557. package/dist/hooks/focus/useIsMounted.d.cts +0 -3
  558. package/dist/hooks/focus/useIsMounted.d.ts +0 -3
  559. package/dist/hooks/focus/useIsMounted.js +0 -20
  560. package/dist/hooks/focus/useIsMounted.js.map +0 -1
  561. package/dist/hooks/index.cjs +0 -1530
  562. package/dist/hooks/index.cjs.map +0 -1
  563. package/dist/hooks/index.d.cts +0 -18
  564. package/dist/hooks/index.d.ts +0 -18
  565. package/dist/hooks/index.js +0 -1477
  566. package/dist/hooks/index.js.map +0 -1
  567. package/dist/hooks/useDelay.cjs +0 -67
  568. package/dist/hooks/useDelay.cjs.map +0 -1
  569. package/dist/hooks/useDelay.d.cts +0 -12
  570. package/dist/hooks/useDelay.d.ts +0 -12
  571. package/dist/hooks/useDelay.js +0 -43
  572. package/dist/hooks/useDelay.js.map +0 -1
  573. package/dist/hooks/useFloatingElement.cjs +0 -162
  574. package/dist/hooks/useFloatingElement.cjs.map +0 -1
  575. package/dist/hooks/useFloatingElement.d.cts +0 -22
  576. package/dist/hooks/useFloatingElement.d.ts +0 -22
  577. package/dist/hooks/useFloatingElement.js +0 -139
  578. package/dist/hooks/useFloatingElement.js.map +0 -1
  579. package/dist/hooks/useHoverState.cjs +0 -71
  580. package/dist/hooks/useHoverState.cjs.map +0 -1
  581. package/dist/hooks/useHoverState.d.cts +0 -42
  582. package/dist/hooks/useHoverState.d.ts +0 -42
  583. package/dist/hooks/useHoverState.js +0 -47
  584. package/dist/hooks/useHoverState.js.map +0 -1
  585. package/dist/hooks/useLocalStorage.cjs +0 -97
  586. package/dist/hooks/useLocalStorage.cjs.map +0 -1
  587. package/dist/hooks/useLocalStorage.d.cts +0 -17
  588. package/dist/hooks/useLocalStorage.d.ts +0 -17
  589. package/dist/hooks/useLocalStorage.js +0 -74
  590. package/dist/hooks/useLocalStorage.js.map +0 -1
  591. package/dist/hooks/useLogOnce.cjs +0 -53
  592. package/dist/hooks/useLogOnce.cjs.map +0 -1
  593. package/dist/hooks/useLogOnce.d.cts +0 -7
  594. package/dist/hooks/useLogOnce.d.ts +0 -7
  595. package/dist/hooks/useLogOnce.js +0 -29
  596. package/dist/hooks/useLogOnce.js.map +0 -1
  597. package/dist/hooks/useOutsideClick.cjs +0 -47
  598. package/dist/hooks/useOutsideClick.cjs.map +0 -1
  599. package/dist/hooks/useOutsideClick.d.cts +0 -5
  600. package/dist/hooks/useOutsideClick.d.ts +0 -5
  601. package/dist/hooks/useOutsideClick.js +0 -23
  602. package/dist/hooks/useOutsideClick.js.map +0 -1
  603. package/dist/hooks/useOverwritableState.cjs +0 -49
  604. package/dist/hooks/useOverwritableState.cjs.map +0 -1
  605. package/dist/hooks/useOverwritableState.d.cts +0 -5
  606. package/dist/hooks/useOverwritableState.d.ts +0 -5
  607. package/dist/hooks/useOverwritableState.js +0 -25
  608. package/dist/hooks/useOverwritableState.js.map +0 -1
  609. package/dist/hooks/usePopoverPosition.cjs +0 -81
  610. package/dist/hooks/usePopoverPosition.cjs.map +0 -1
  611. package/dist/hooks/usePopoverPosition.d.cts +0 -15
  612. package/dist/hooks/usePopoverPosition.d.ts +0 -15
  613. package/dist/hooks/usePopoverPosition.js +0 -57
  614. package/dist/hooks/usePopoverPosition.js.map +0 -1
  615. package/dist/hooks/useRerender.cjs +0 -33
  616. package/dist/hooks/useRerender.cjs.map +0 -1
  617. package/dist/hooks/useRerender.d.cts +0 -5
  618. package/dist/hooks/useRerender.d.ts +0 -5
  619. package/dist/hooks/useRerender.js +0 -9
  620. package/dist/hooks/useRerender.js.map +0 -1
  621. package/dist/hooks/useResizeCallbackWrapper.cjs +0 -38
  622. package/dist/hooks/useResizeCallbackWrapper.cjs.map +0 -1
  623. package/dist/hooks/useResizeCallbackWrapper.d.cts +0 -11
  624. package/dist/hooks/useResizeCallbackWrapper.d.ts +0 -11
  625. package/dist/hooks/useResizeCallbackWrapper.js +0 -14
  626. package/dist/hooks/useResizeCallbackWrapper.js.map +0 -1
  627. package/dist/hooks/useSearch.cjs +0 -95
  628. package/dist/hooks/useSearch.cjs.map +0 -1
  629. package/dist/hooks/useSearch.d.cts +0 -22
  630. package/dist/hooks/useSearch.d.ts +0 -22
  631. package/dist/hooks/useSearch.js +0 -71
  632. package/dist/hooks/useSearch.js.map +0 -1
  633. package/dist/hooks/useValidators.cjs +0 -687
  634. package/dist/hooks/useValidators.cjs.map +0 -1
  635. package/dist/hooks/useValidators.d.cts +0 -16
  636. package/dist/hooks/useValidators.d.ts +0 -16
  637. package/dist/hooks/useValidators.js +0 -660
  638. package/dist/hooks/useValidators.js.map +0 -1
  639. package/dist/i18n/LocaleProvider.cjs +0 -202
  640. package/dist/i18n/LocaleProvider.cjs.map +0 -1
  641. package/dist/i18n/LocaleProvider.d.cts +0 -23
  642. package/dist/i18n/LocaleProvider.d.ts +0 -23
  643. package/dist/i18n/LocaleProvider.js +0 -175
  644. package/dist/i18n/LocaleProvider.js.map +0 -1
  645. package/dist/i18n/index.cjs +0 -761
  646. package/dist/i18n/index.cjs.map +0 -1
  647. package/dist/i18n/index.d.cts +0 -8
  648. package/dist/i18n/index.d.ts +0 -8
  649. package/dist/i18n/index.js +0 -727
  650. package/dist/i18n/index.js.map +0 -1
  651. package/dist/i18n/translations.cjs +0 -507
  652. package/dist/i18n/translations.cjs.map +0 -1
  653. package/dist/i18n/translations.d.cts +0 -189
  654. package/dist/i18n/translations.d.ts +0 -189
  655. package/dist/i18n/translations.js +0 -482
  656. package/dist/i18n/translations.js.map +0 -1
  657. package/dist/i18n/useHightideTranslation.cjs +0 -618
  658. package/dist/i18n/useHightideTranslation.cjs.map +0 -1
  659. package/dist/i18n/useHightideTranslation.d.cts +0 -21
  660. package/dist/i18n/useHightideTranslation.d.ts +0 -21
  661. package/dist/i18n/useHightideTranslation.js +0 -591
  662. package/dist/i18n/useHightideTranslation.js.map +0 -1
  663. package/dist/i18n/util.cjs +0 -49
  664. package/dist/i18n/util.cjs.map +0 -1
  665. package/dist/i18n/util.d.cts +0 -15
  666. package/dist/i18n/util.d.ts +0 -15
  667. package/dist/i18n/util.js +0 -23
  668. package/dist/i18n/util.js.map +0 -1
  669. package/dist/index.cjs +0 -16470
  670. package/dist/index.cjs.map +0 -1
  671. package/dist/index.d.cts +0 -113
  672. package/dist/storybook/helper.cjs +0 -61
  673. package/dist/storybook/helper.cjs.map +0 -1
  674. package/dist/storybook/helper.d.cts +0 -17
  675. package/dist/storybook/helper.d.ts +0 -17
  676. package/dist/storybook/helper.js +0 -37
  677. package/dist/storybook/helper.js.map +0 -1
  678. package/dist/theming/index.cjs +0 -190
  679. package/dist/theming/index.cjs.map +0 -1
  680. package/dist/theming/index.d.cts +0 -3
  681. package/dist/theming/index.d.ts +0 -3
  682. package/dist/theming/index.js +0 -161
  683. package/dist/theming/index.js.map +0 -1
  684. package/dist/theming/useTheme.cjs +0 -188
  685. package/dist/theming/useTheme.cjs.map +0 -1
  686. package/dist/theming/useTheme.d.cts +0 -26
  687. package/dist/theming/useTheme.d.ts +0 -26
  688. package/dist/theming/useTheme.js +0 -161
  689. package/dist/theming/useTheme.js.map +0 -1
  690. package/dist/utils/array.cjs +0 -172
  691. package/dist/utils/array.cjs.map +0 -1
  692. package/dist/utils/array.d.cts +0 -34
  693. package/dist/utils/array.d.ts +0 -34
  694. package/dist/utils/array.js +0 -142
  695. package/dist/utils/array.js.map +0 -1
  696. package/dist/utils/bagFunctions.cjs +0 -38
  697. package/dist/utils/bagFunctions.cjs.map +0 -1
  698. package/dist/utils/bagFunctions.d.cts +0 -15
  699. package/dist/utils/bagFunctions.d.ts +0 -15
  700. package/dist/utils/bagFunctions.js +0 -14
  701. package/dist/utils/bagFunctions.js.map +0 -1
  702. package/dist/utils/builder.cjs +0 -33
  703. package/dist/utils/builder.cjs.map +0 -1
  704. package/dist/utils/builder.d.cts +0 -8
  705. package/dist/utils/builder.d.ts +0 -8
  706. package/dist/utils/builder.js +0 -9
  707. package/dist/utils/builder.js.map +0 -1
  708. package/dist/utils/date.cjs +0 -193
  709. package/dist/utils/date.cjs.map +0 -1
  710. package/dist/utils/date.d.cts +0 -30
  711. package/dist/utils/date.d.ts +0 -30
  712. package/dist/utils/date.js +0 -156
  713. package/dist/utils/date.js.map +0 -1
  714. package/dist/utils/easeFunctions.cjs +0 -63
  715. package/dist/utils/easeFunctions.cjs.map +0 -1
  716. package/dist/utils/easeFunctions.d.cts +0 -11
  717. package/dist/utils/easeFunctions.d.ts +0 -11
  718. package/dist/utils/easeFunctions.js +0 -37
  719. package/dist/utils/easeFunctions.js.map +0 -1
  720. package/dist/utils/emailValidation.cjs +0 -32
  721. package/dist/utils/emailValidation.cjs.map +0 -1
  722. package/dist/utils/emailValidation.d.cts +0 -3
  723. package/dist/utils/emailValidation.d.ts +0 -3
  724. package/dist/utils/emailValidation.js +0 -8
  725. package/dist/utils/emailValidation.js.map +0 -1
  726. package/dist/utils/index.cjs +0 -562
  727. package/dist/utils/index.cjs.map +0 -1
  728. package/dist/utils/index.d.cts +0 -16
  729. package/dist/utils/index.d.ts +0 -16
  730. package/dist/utils/index.js +0 -502
  731. package/dist/utils/index.js.map +0 -1
  732. package/dist/utils/loopingArray.cjs +0 -96
  733. package/dist/utils/loopingArray.cjs.map +0 -1
  734. package/dist/utils/loopingArray.d.cts +0 -25
  735. package/dist/utils/loopingArray.d.ts +0 -25
  736. package/dist/utils/loopingArray.js +0 -72
  737. package/dist/utils/loopingArray.js.map +0 -1
  738. package/dist/utils/match.cjs +0 -32
  739. package/dist/utils/match.cjs.map +0 -1
  740. package/dist/utils/match.d.cts +0 -3
  741. package/dist/utils/match.d.ts +0 -3
  742. package/dist/utils/match.js +0 -8
  743. package/dist/utils/match.js.map +0 -1
  744. package/dist/utils/math.cjs +0 -33
  745. package/dist/utils/math.cjs.map +0 -1
  746. package/dist/utils/math.d.cts +0 -3
  747. package/dist/utils/math.d.ts +0 -3
  748. package/dist/utils/math.js +0 -9
  749. package/dist/utils/math.js.map +0 -1
  750. package/dist/utils/noop.cjs +0 -30
  751. package/dist/utils/noop.cjs.map +0 -1
  752. package/dist/utils/noop.d.cts +0 -3
  753. package/dist/utils/noop.d.ts +0 -3
  754. package/dist/utils/noop.js +0 -6
  755. package/dist/utils/noop.js.map +0 -1
  756. package/dist/utils/resolveSetState.cjs +0 -32
  757. package/dist/utils/resolveSetState.cjs.map +0 -1
  758. package/dist/utils/resolveSetState.d.cts +0 -5
  759. package/dist/utils/resolveSetState.d.ts +0 -5
  760. package/dist/utils/resolveSetState.js +0 -8
  761. package/dist/utils/resolveSetState.js.map +0 -1
  762. package/dist/utils/simpleSearch.cjs +0 -59
  763. package/dist/utils/simpleSearch.cjs.map +0 -1
  764. package/dist/utils/simpleSearch.d.cts +0 -50
  765. package/dist/utils/simpleSearch.d.ts +0 -50
  766. package/dist/utils/simpleSearch.js +0 -32
  767. package/dist/utils/simpleSearch.js.map +0 -1
  768. package/dist/utils/storage.cjs +0 -63
  769. package/dist/utils/storage.cjs.map +0 -1
  770. package/dist/utils/storage.d.cts +0 -16
  771. package/dist/utils/storage.d.ts +0 -16
  772. package/dist/utils/storage.js +0 -38
  773. package/dist/utils/storage.js.map +0 -1
  774. package/dist/utils/typing.cjs +0 -18
  775. package/dist/utils/typing.cjs.map +0 -1
  776. package/dist/utils/typing.d.cts +0 -8
  777. package/dist/utils/typing.d.ts +0 -8
  778. package/dist/utils/typing.js +0 -1
  779. package/dist/utils/typing.js.map +0 -1
  780. package/dist/utils/writeToClipboard.cjs +0 -33
  781. package/dist/utils/writeToClipboard.cjs.map +0 -1
  782. package/dist/utils/writeToClipboard.d.cts +0 -3
  783. package/dist/utils/writeToClipboard.d.ts +0 -3
  784. package/dist/utils/writeToClipboard.js +0 -10
  785. package/dist/utils/writeToClipboard.js.map +0 -1
@@ -1,1556 +0,0 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, { get: all[name], enumerable: true });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from))
14
- if (!__hasOwnProp.call(to, key) && key !== except)
15
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
- }
17
- return to;
18
- };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
- // If the importer is in node compatibility mode or this is not an ESM
21
- // file that has been converted to a CommonJS file using a Babel-
22
- // compatible transform (i.e. "__esModule" has not been set), then set
23
- // "default" to the CommonJS "module.exports" for node compatibility.
24
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
- mod
26
- ));
27
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
-
29
- // src/components/date/index.ts
30
- var date_exports = {};
31
- __export(date_exports, {
32
- DatePicker: () => DatePicker,
33
- DatePickerUncontrolled: () => DatePickerUncontrolled,
34
- DayPicker: () => DayPicker,
35
- DayPickerUncontrolled: () => DayPickerUncontrolled,
36
- TimeDisplay: () => TimeDisplay,
37
- TimePicker: () => TimePicker,
38
- TimePickerUncontrolled: () => TimePickerUncontrolled,
39
- YearMonthPicker: () => YearMonthPicker,
40
- YearMonthPickerUncontrolled: () => YearMonthPickerUncontrolled
41
- });
42
- module.exports = __toCommonJS(date_exports);
43
-
44
- // src/components/date/DatePicker.tsx
45
- var import_react8 = require("react");
46
- var import_lucide_react2 = require("lucide-react");
47
-
48
- // src/utils/array.ts
49
- var equalSizeGroups = (array, groupSize) => {
50
- if (groupSize <= 0) {
51
- console.warn(`group size should be greater than 0: groupSize = ${groupSize}`);
52
- return [[...array]];
53
- }
54
- const groups = [];
55
- for (let i = 0; i < array.length; i += groupSize) {
56
- groups.push(array.slice(i, Math.min(i + groupSize, array.length)));
57
- }
58
- return groups;
59
- };
60
- var defaultRangeOptions = {
61
- allowEmptyRange: false,
62
- stepSize: 1,
63
- exclusiveStart: false,
64
- exclusiveEnd: true
65
- };
66
- var range = (endOrRange, options) => {
67
- const { allowEmptyRange, stepSize, exclusiveStart, exclusiveEnd } = { ...defaultRangeOptions, ...options };
68
- let start = 0;
69
- let end;
70
- if (typeof endOrRange === "number") {
71
- end = endOrRange;
72
- } else {
73
- start = endOrRange[0];
74
- end = endOrRange[1];
75
- }
76
- if (!exclusiveEnd) {
77
- end -= 1;
78
- }
79
- if (exclusiveStart) {
80
- start += 1;
81
- }
82
- if (end - 1 < start) {
83
- if (!allowEmptyRange) {
84
- console.warn(`range: end (${end}) < start (${start}) should be allowed explicitly, set options.allowEmptyRange to true`);
85
- }
86
- return [];
87
- }
88
- return Array.from({ length: end - start }, (_, index) => index * stepSize + start);
89
- };
90
- var closestMatch = (list, firstCloser) => {
91
- return list.reduce((item1, item2) => {
92
- return firstCloser(item1, item2) ? item1 : item2;
93
- });
94
- };
95
- var moveItems = (list, move = 0) => {
96
- const result = [];
97
- let start = move;
98
- if (start < 0) {
99
- start = list.length - move;
100
- }
101
- start = start % list.length;
102
- for (let i = 0; i < list.length; i++) {
103
- result[i] = list[(i + start) % list.length];
104
- }
105
- return result;
106
- };
107
- function resolveSingleOrArray(value) {
108
- if (Array.isArray(value)) {
109
- return value;
110
- } else if (value) {
111
- return [value];
112
- }
113
- return [];
114
- }
115
- var ArrayUtil = {
116
- unique: (list) => {
117
- const seen = /* @__PURE__ */ new Set();
118
- return list.filter((item) => {
119
- if (seen.has(item)) {
120
- return false;
121
- }
122
- seen.add(item);
123
- return true;
124
- });
125
- },
126
- difference: (list, removeList) => {
127
- const remove = new Set(removeList);
128
- return list.filter((item) => !remove.has(item));
129
- },
130
- moveItems,
131
- resolveSingleOrArray
132
- };
133
-
134
- // src/utils/date.ts
135
- var monthsList = ["january", "february", "march", "april", "may", "june", "july", "august", "september", "october", "november", "december"];
136
- var weekDayList = ["sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"];
137
- var changeDuration = (date, duration, isAdding) => {
138
- const {
139
- years = 0,
140
- months = 0,
141
- days = 0,
142
- hours = 0,
143
- minutes = 0,
144
- seconds = 0,
145
- milliseconds = 0
146
- } = duration;
147
- if (years < 0) {
148
- console.error(`Range error years must be greater than 0: received ${years}`);
149
- return new Date(date);
150
- }
151
- if (months < 0 || months > 11) {
152
- console.error(`Range error month must be 0 <= month <= 11: received ${months}`);
153
- return new Date(date);
154
- }
155
- if (days < 0) {
156
- console.error(`Range error days must be greater than 0: received ${days}`);
157
- return new Date(date);
158
- }
159
- if (hours < 0 || hours > 23) {
160
- console.error(`Range error hours must be 0 <= hours <= 23: received ${hours}`);
161
- return new Date(date);
162
- }
163
- if (minutes < 0 || minutes > 59) {
164
- console.error(`Range error minutes must be 0 <= minutes <= 59: received ${minutes}`);
165
- return new Date(date);
166
- }
167
- if (seconds < 0 || seconds > 59) {
168
- console.error(`Range error seconds must be 0 <= seconds <= 59: received ${seconds}`);
169
- return new Date(date);
170
- }
171
- if (milliseconds < 0) {
172
- console.error(`Range error seconds must be greater than 0: received ${milliseconds}`);
173
- return new Date(date);
174
- }
175
- const multiplier = isAdding ? 1 : -1;
176
- const newDate = new Date(date);
177
- newDate.setFullYear(newDate.getFullYear() + multiplier * years);
178
- newDate.setMonth(newDate.getMonth() + multiplier * months);
179
- newDate.setDate(newDate.getDate() + multiplier * days);
180
- newDate.setHours(newDate.getHours() + multiplier * hours);
181
- newDate.setMinutes(newDate.getMinutes() + multiplier * minutes);
182
- newDate.setSeconds(newDate.getSeconds() + multiplier * seconds);
183
- newDate.setMilliseconds(newDate.getMilliseconds() + multiplier * milliseconds);
184
- return newDate;
185
- };
186
- var addDuration = (date, duration) => {
187
- return changeDuration(date, duration, true);
188
- };
189
- var subtractDuration = (date, duration) => {
190
- return changeDuration(date, duration, false);
191
- };
192
- var isInTimeSpan = (value, startDate, endDate) => {
193
- if (startDate && endDate) {
194
- console.assert(startDate <= endDate);
195
- return startDate <= value && value <= endDate;
196
- } else if (startDate) {
197
- return startDate <= value;
198
- } else if (endDate) {
199
- return endDate >= value;
200
- } else {
201
- return true;
202
- }
203
- };
204
- var equalDate = (date1, date2) => {
205
- return date1.getFullYear() === date2.getFullYear() && date1.getMonth() === date2.getMonth() && date1.getDate() === date2.getDate();
206
- };
207
- var getWeeksForCalenderMonth = (date, weekStart, weeks = 6) => {
208
- const month = date.getMonth();
209
- const year = date.getFullYear();
210
- const dayList = [];
211
- let currentDate = new Date(year, month, 1);
212
- const weekStartIndex = weekDayList.indexOf(weekStart);
213
- while (currentDate.getDay() !== weekStartIndex) {
214
- currentDate = subtractDuration(currentDate, { days: 1 });
215
- }
216
- while (dayList.length < 7 * weeks) {
217
- const date2 = new Date(currentDate);
218
- date2.setHours(date2.getHours(), date2.getMinutes());
219
- dayList.push(date2);
220
- currentDate = addDuration(currentDate, { days: 1 });
221
- }
222
- return equalSizeGroups(dayList, 7);
223
- };
224
-
225
- // src/components/date/DatePicker.tsx
226
- var import_clsx5 = __toESM(require("clsx"), 1);
227
-
228
- // src/hooks/useOverwritableState.ts
229
- var import_react = require("react");
230
-
231
- // src/utils/resolveSetState.ts
232
- function resolveSetState(action, prev) {
233
- return typeof action === "function" ? action(prev) : action;
234
- }
235
-
236
- // src/hooks/useOverwritableState.ts
237
- var useOverwritableState = (initialValue, onChange) => {
238
- const [state, setState] = (0, import_react.useState)(initialValue);
239
- (0, import_react.useEffect)(() => {
240
- setState(initialValue);
241
- }, [initialValue]);
242
- const onChangeWrapper = (action) => {
243
- const resolved = resolveSetState(action, state);
244
- setState(resolved);
245
- onChange?.(state);
246
- };
247
- return [state, onChangeWrapper];
248
- };
249
-
250
- // src/components/date/DayPicker.tsx
251
- var import_clsx = __toESM(require("clsx"), 1);
252
-
253
- // src/i18n/LocaleProvider.tsx
254
- var import_react3 = require("react");
255
-
256
- // src/hooks/useLocalStorage.ts
257
- var import_react2 = require("react");
258
-
259
- // src/i18n/translations.ts
260
- var import_internationalization = require("@helpwave/internationalization");
261
- var hightideTranslationLocales = ["de-DE", "en-US"];
262
- var hightideTranslation = {
263
- "de-DE": {
264
- "add": `Hinzuf\xFCgen`,
265
- "age": `Alter`,
266
- "all": `Alle`,
267
- "apply": `Anwenden`,
268
- "back": `Zur\xFCck`,
269
- "cancel": `Abbrechen`,
270
- "carousel": `Karussell`,
271
- "change": `\xC4ndern`,
272
- "chooseLanguage": `W\xE4hle deine bevorzugte Sprache`,
273
- "chooseSlide": `W\xE4hle die angezeigte Slide aus`,
274
- "chooseTheme": `W\xE4hle dein bevorzugtes Farbschema.`,
275
- "clear": `L\xF6schen`,
276
- "click": `Klicken`,
277
- "clickToCopy": `Zum kopieren klicken`,
278
- "clickToSelect": `Zum Ausw\xE4hlen dr\xFCcken`,
279
- "close": `Schlie\xDFen`,
280
- "confirm": `Best\xE4tigen`,
281
- "copied": `Kopiert`,
282
- "copy": `Kopieren`,
283
- "create": `Erstellen`,
284
- "decline": `Ablehnen`,
285
- "delete": `L\xF6schen`,
286
- "discard": `Verwerfen`,
287
- "discardChanges": `\xC4nderungen Verwerfen`,
288
- "done": `Fertig`,
289
- "edit": `Bearbeiten`,
290
- "endDate": `Ende`,
291
- "enterText": `Text hier eingeben`,
292
- "entryDate": `Eintragsdatum`,
293
- "error": `Fehler`,
294
- "errorOccurred": `Ein Fehler ist aufgetreten`,
295
- "exit": `Beenden`,
296
- "fieldRequiredError": `Dieses Feld ist erforderlich.`,
297
- "filter": `Filter`,
298
- "gender": ({ gender }) => {
299
- return import_internationalization.TranslationGen.resolveSelect(gender, {
300
- "male": `M\xE4nnlich`,
301
- "female": `Weiblich`,
302
- "other": `Divers`
303
- });
304
- },
305
- "goodToSeeYou": `Sch\xF6n dich zu sehen`,
306
- "identifier": `Identifikator`,
307
- "invalidEmail": `Die E-Mail ist ung\xFCltig.`,
308
- "invalidEmailError": `Bitte geben Sie eine g\xFCltige E-Mail-Adresse ein.`,
309
- "language": `Sprache`,
310
- "less": `Weniger`,
311
- "loading": `L\xE4dt`,
312
- "locale": `Locale`,
313
- "max": `Max`,
314
- "maxLengthError": `Maximale L\xE4nge \xFCberschritten.`,
315
- "min": `Min`,
316
- "minLengthError": `Mindestl\xE4nge nicht erreicht.`,
317
- "more": `Mehr`,
318
- "name": `Name`,
319
- "next": `Weiter`,
320
- "no": `Nein`,
321
- "none": `Nichts`,
322
- "notEmpty": `Das Feld darf nicht leer sein.`,
323
- "nothingFound": `Nichts gefunden`,
324
- "of": `von`,
325
- "optional": `Optional`,
326
- "outOfRangeNumber": ({ min, max }) => {
327
- return `Der Wert muss zwischen ${min} und ${max} liegen.`;
328
- },
329
- "outOfRangeSelectionItems": ({ min, max }) => {
330
- return `Es m\xFCssen zwischen ${min} und ${max} Elemente ausgew\xE4hlt werden.`;
331
- },
332
- "outOfRangeString": ({ min, max }) => {
333
- return `Der Wert muss zwischen ${min} und ${max} Zeichen lang sein.`;
334
- },
335
- "pleaseWait": `Bitte warten...`,
336
- "previous": `Vorherige`,
337
- "remove": `Entfernen`,
338
- "required": `Erforderlich`,
339
- "reset": `Zur\xFCcksetzen`,
340
- "save": `Speichern`,
341
- "saved": `Gespeichert`,
342
- "search": `Suche`,
343
- "select": `Select`,
344
- "selectOption": `Option ausw\xE4hlen`,
345
- "show": `Anzeigen`,
346
- "showLess": `Weniger anzeigen`,
347
- "showMore": `Mehr anzeigen`,
348
- "showSlide": ({ index }) => {
349
- return `Zeige Slide ${index}`;
350
- },
351
- "slide": `Slide`,
352
- "slideNavigation": `Slide Navigation`,
353
- "slideOf": ({ index, length }) => {
354
- return `Slide ${index} von ${length} slides`;
355
- },
356
- "startDate": `Start`,
357
- "street": `Stra\xDFe`,
358
- "submit": `Abschicken`,
359
- "success": `Erfolg`,
360
- "text": `Text`,
361
- "themeMode": ({ theme }) => {
362
- return import_internationalization.TranslationGen.resolveSelect(theme, {
363
- "dark": `Dunkel`,
364
- "light": `Hell`,
365
- "system": `System`
366
- });
367
- },
368
- "themes": ({ count }) => {
369
- return import_internationalization.TranslationGen.resolveSelect(count, {
370
- "=1": `Farbschema`,
371
- "other": `Farbschemas`
372
- });
373
- },
374
- "time.ago": `vor`,
375
- "time.agoDays": ({ days }) => {
376
- return `var ${days} Tagen`;
377
- },
378
- "time.april": `April`,
379
- "time.august": `August`,
380
- "time.century": ({ count }) => {
381
- return import_internationalization.TranslationGen.resolveSelect(count, {
382
- "=1": `Jahrhundert`,
383
- "other": `Jahrhunderte`
384
- });
385
- },
386
- "time.day": ({ count }) => {
387
- return import_internationalization.TranslationGen.resolveSelect(count, {
388
- "=1": `Tag`,
389
- "other": `Tage`
390
- });
391
- },
392
- "time.decade": ({ count }) => {
393
- return import_internationalization.TranslationGen.resolveSelect(count, {
394
- "=1": `Jahrzehnt`,
395
- "other": `Jahrzehnte`
396
- });
397
- },
398
- "time.december": `December`,
399
- "time.february": `Febuar`,
400
- "time.hour": ({ count }) => {
401
- return import_internationalization.TranslationGen.resolveSelect(count, {
402
- "=1": `Stunde`,
403
- "other": `Stunden`
404
- });
405
- },
406
- "time.in": `in`,
407
- "time.inDays": ({ days }) => {
408
- return `in ${days} Tagen`;
409
- },
410
- "time.january": `Januar`,
411
- "time.july": `Juli`,
412
- "time.june": `Juni`,
413
- "time.march": `M\xE4rz`,
414
- "time.may": `Mai`,
415
- "time.microsecond": ({ count }) => {
416
- return import_internationalization.TranslationGen.resolveSelect(count, {
417
- "=1": `Mikrosekunde`,
418
- "other": `Mikrosekunden`
419
- });
420
- },
421
- "time.millisecond": ({ count }) => {
422
- return import_internationalization.TranslationGen.resolveSelect(count, {
423
- "=1": `Millisekunde`,
424
- "other": `Millisekunden`
425
- });
426
- },
427
- "time.minute": ({ count }) => {
428
- return import_internationalization.TranslationGen.resolveSelect(count, {
429
- "=1": `Minute`,
430
- "other": `Minuten`
431
- });
432
- },
433
- "time.month": ({ count }) => {
434
- return import_internationalization.TranslationGen.resolveSelect(count, {
435
- "=1": `Monat`,
436
- "other": `Monate`
437
- });
438
- },
439
- "time.monthName": ({ month }) => {
440
- return import_internationalization.TranslationGen.resolveSelect(month, {
441
- "january": `Januar`,
442
- "february": `Februar`,
443
- "march": `M\xE4rz`,
444
- "april": `April`,
445
- "may": `Mai`,
446
- "june": `Juni`,
447
- "july": `Juli`,
448
- "august": `August`,
449
- "september": `September`,
450
- "october": `Oktober`,
451
- "november": `November`,
452
- "december": `Dezember`,
453
- "other": `Unbekannter Monat`
454
- });
455
- },
456
- "time.nanosecond": ({ count }) => {
457
- return import_internationalization.TranslationGen.resolveSelect(count, {
458
- "=1": `Nanosekunde`,
459
- "other": `Nanosekunden`
460
- });
461
- },
462
- "time.november": `November`,
463
- "time.october": `October`,
464
- "time.second": ({ count }) => {
465
- return import_internationalization.TranslationGen.resolveSelect(count, {
466
- "=1": `Sekunde`,
467
- "other": `Sekunden`
468
- });
469
- },
470
- "time.september": `September`,
471
- "time.today": `Heute`,
472
- "time.tomorrow": `Morgen`,
473
- "time.year": ({ count }) => {
474
- return import_internationalization.TranslationGen.resolveSelect(count, {
475
- "=1": `Jahr`,
476
- "other": `Jahre`
477
- });
478
- },
479
- "time.yesterday": `Gestern`,
480
- "tooFewSelectionItems": ({ min }) => {
481
- return `Es m\xFCssen mindestens ${min} Elemente ausgew\xE4hlt werden.`;
482
- },
483
- "tooLong": ({ max }) => {
484
- return `Der Wert darf h\xF6chstens ${max} Zeichen enthalten.`;
485
- },
486
- "tooManySelectionItems": ({ max }) => {
487
- return `Es m\xFCssen maximal ${max} Elemente ausgew\xE4hlt werden.`;
488
- },
489
- "tooShort": ({ min }) => {
490
- return `Der Wert muss mindestens ${min} Zeichen enthalten.`;
491
- },
492
- "unsavedChanges": `Ungespeicherte \xC4nderungen`,
493
- "unsavedChangesSaveQuestion": `M\xF6chtest du die \xC4nderungen speichern?`,
494
- "update": `Update`,
495
- "value": `Wert`,
496
- "welcome": `Willkommen`,
497
- "yes": `Ja`
498
- },
499
- "en-US": {
500
- "add": `Add`,
501
- "age": `Age`,
502
- "all": `All`,
503
- "apply": `Apply`,
504
- "back": `Back`,
505
- "cancel": `Cancel`,
506
- "carousel": `Carousel`,
507
- "change": `Change`,
508
- "chooseLanguage": `Choose your language`,
509
- "chooseSlide": `Choose slide to display`,
510
- "chooseTheme": `Choose your preferred color theme.`,
511
- "clear": `Clear`,
512
- "click": `Click`,
513
- "clickToCopy": `Click to Copy`,
514
- "clickToSelect": `Click to select`,
515
- "close": `Close`,
516
- "confirm": `Confirm`,
517
- "copied": `Copied`,
518
- "copy": `Copy`,
519
- "create": `Create`,
520
- "decline": `Decline`,
521
- "delete": `Delete`,
522
- "discard": `Discard`,
523
- "discardChanges": `Discard Changes`,
524
- "done": `Done`,
525
- "edit": `Edit`,
526
- "endDate": `End`,
527
- "enterText": `Enter text here`,
528
- "entryDate": `Entry Date`,
529
- "error": `Error`,
530
- "errorOccurred": `An error occurred`,
531
- "exit": `Exit`,
532
- "fieldRequiredError": `This field is required.`,
533
- "filter": `Filter`,
534
- "gender": ({ gender }) => {
535
- return import_internationalization.TranslationGen.resolveSelect(gender, {
536
- "male": `Male`,
537
- "female": `Female`,
538
- "other": `Other`
539
- });
540
- },
541
- "goodToSeeYou": `Good to see you`,
542
- "identifier": `Identifier`,
543
- "invalidEmail": `The email is not valid.`,
544
- "invalidEmailError": `Please enter a valid email address.`,
545
- "language": `Language`,
546
- "less": `Less`,
547
- "loading": `Loading`,
548
- "locale": `Locale`,
549
- "max": `Max`,
550
- "maxLengthError": `Maximum length exceeded.`,
551
- "min": `Min`,
552
- "minLengthError": `Minimum length not met.`,
553
- "more": `More`,
554
- "name": `Name`,
555
- "next": `Next`,
556
- "no": `No`,
557
- "none": `None`,
558
- "notEmpty": `The field cannot be empty.`,
559
- "nothingFound": `Nothing found`,
560
- "of": `of`,
561
- "optional": `Optional`,
562
- "outOfRangeNumber": ({ min, max }) => {
563
- return `The value must be between ${min} and ${max}.`;
564
- },
565
- "outOfRangeSelectionItems": ({ min, max }) => {
566
- return `Between ${min} and ${max} items must be selected.`;
567
- },
568
- "outOfRangeString": ({ min, max }) => {
569
- return `The value needs to have between ${min} and ${max} characters.`;
570
- },
571
- "pleaseWait": `Please wait...`,
572
- "previous": `Previous`,
573
- "remove": `Remove`,
574
- "required": `Required`,
575
- "reset": `Reset`,
576
- "save": `Save`,
577
- "saved": `Saved`,
578
- "search": `Search`,
579
- "select": `Select`,
580
- "selectOption": `Select an option`,
581
- "show": `Show`,
582
- "showLess": `Show less`,
583
- "showMore": `Show more`,
584
- "showSlide": ({ index }) => {
585
- return `Show Slide ${index}`;
586
- },
587
- "slide": `Slide`,
588
- "slideNavigation": `Slide navigation`,
589
- "slideOf": ({ index, length }) => {
590
- return `Slide ${index} of ${length} slides`;
591
- },
592
- "startDate": `Start`,
593
- "street": `Street`,
594
- "submit": `Submit`,
595
- "success": `Success`,
596
- "text": `Text`,
597
- "themeMode": ({ theme }) => {
598
- return import_internationalization.TranslationGen.resolveSelect(theme, {
599
- "dark": `Dark`,
600
- "light": `Light`,
601
- "system": `System`
602
- });
603
- },
604
- "themes": ({ count }) => {
605
- return import_internationalization.TranslationGen.resolveSelect(count, {
606
- "=1": `Theme`,
607
- "other": `Themes`
608
- });
609
- },
610
- "time.ago": `ago`,
611
- "time.agoDays": ({ days }) => {
612
- return `days ${days} ago`;
613
- },
614
- "time.april": `April`,
615
- "time.august": `August`,
616
- "time.century": ({ count }) => {
617
- return import_internationalization.TranslationGen.resolveSelect(count, {
618
- "=1": `Century`,
619
- "other": `Centuries`
620
- });
621
- },
622
- "time.day": ({ count }) => {
623
- return import_internationalization.TranslationGen.resolveSelect(count, {
624
- "=1": `Day`,
625
- "other": `Days`
626
- });
627
- },
628
- "time.decade": ({ count }) => {
629
- return import_internationalization.TranslationGen.resolveSelect(count, {
630
- "=1": `Decade`,
631
- "other": `Decades`
632
- });
633
- },
634
- "time.december": `December`,
635
- "time.february": `Febuary`,
636
- "time.hour": ({ count }) => {
637
- return import_internationalization.TranslationGen.resolveSelect(count, {
638
- "=1": `Hour`,
639
- "other": `Hours`
640
- });
641
- },
642
- "time.in": `in`,
643
- "time.inDays": ({ days }) => {
644
- return `in ${days} days`;
645
- },
646
- "time.january": `January`,
647
- "time.july": `July`,
648
- "time.june": `June`,
649
- "time.march": `March`,
650
- "time.may": `May`,
651
- "time.microsecond": ({ count }) => {
652
- return import_internationalization.TranslationGen.resolveSelect(count, {
653
- "=1": `Microsecond`,
654
- "other": `Microseconds`
655
- });
656
- },
657
- "time.millisecond": ({ count }) => {
658
- return import_internationalization.TranslationGen.resolveSelect(count, {
659
- "=1": `Millisecond`,
660
- "other": `Milliseconds`
661
- });
662
- },
663
- "time.minute": ({ count }) => {
664
- return import_internationalization.TranslationGen.resolveSelect(count, {
665
- "=1": `Minute`,
666
- "other": `Minutes`
667
- });
668
- },
669
- "time.month": ({ count }) => {
670
- return import_internationalization.TranslationGen.resolveSelect(count, {
671
- "=1": `Month`,
672
- "other": `Months`
673
- });
674
- },
675
- "time.monthName": ({ month }) => {
676
- return import_internationalization.TranslationGen.resolveSelect(month, {
677
- "january": `January`,
678
- "february": `February`,
679
- "march": `March`,
680
- "april": `April`,
681
- "may": `May`,
682
- "june": `June`,
683
- "july": `July`,
684
- "august": `August`,
685
- "september": `September`,
686
- "october": `October`,
687
- "november": `November`,
688
- "december": `December`,
689
- "other": `Unknown Month`
690
- });
691
- },
692
- "time.nanosecond": ({ count }) => {
693
- return import_internationalization.TranslationGen.resolveSelect(count, {
694
- "=1": `Nanosecond`,
695
- "other": `Nanoseconds`
696
- });
697
- },
698
- "time.november": `November`,
699
- "time.october": `October`,
700
- "time.second": ({ count }) => {
701
- return import_internationalization.TranslationGen.resolveSelect(count, {
702
- "=1": `Second`,
703
- "other": `Seconds`
704
- });
705
- },
706
- "time.september": `September`,
707
- "time.today": `Today`,
708
- "time.tomorrow": `Tomorrow`,
709
- "time.year": ({ count }) => {
710
- return import_internationalization.TranslationGen.resolveSelect(count, {
711
- "=1": `Year`,
712
- "other": `Years`
713
- });
714
- },
715
- "time.yesterday": `Yesterday`,
716
- "tooFewSelectionItems": ({ min }) => {
717
- return `Select at least ${min} items.`;
718
- },
719
- "tooLong": ({ max }) => {
720
- return `The value requires less than ${max} characters.`;
721
- },
722
- "tooManySelectionItems": ({ max }) => {
723
- return `Select at most ${max} items.`;
724
- },
725
- "tooShort": ({ min }) => {
726
- return `The value requires at least ${min} characters.`;
727
- },
728
- "unsavedChanges": `Unsaved Changes`,
729
- "unsavedChangesSaveQuestion": `Do you want to save your changes?`,
730
- "update": `Update`,
731
- "value": `Value`,
732
- "welcome": `Welcome`,
733
- "yes": `Yes`
734
- }
735
- };
736
-
737
- // src/i18n/util.ts
738
- var localsNames = {
739
- "en-US": "English (US)",
740
- "de-DE": "Deutsch"
741
- };
742
- var DEFAULT_LOCALE = "en-US";
743
- function localeToLanguage(locale) {
744
- return locale.split("-")[0];
745
- }
746
- var LocalizationUtil = {
747
- locals: hightideTranslationLocales,
748
- localToLanguage: localeToLanguage,
749
- DEFAULT_LOCALE,
750
- languagesLocalNames: localsNames
751
- };
752
-
753
- // src/i18n/LocaleProvider.tsx
754
- var import_jsx_runtime = require("react/jsx-runtime");
755
- var LocaleContext = (0, import_react3.createContext)({
756
- locale: LocalizationUtil.DEFAULT_LOCALE,
757
- setLocale: (v) => v
758
- });
759
- var useLocale = () => {
760
- const context = (0, import_react3.useContext)(LocaleContext);
761
- if (!context) {
762
- throw new Error("useLocale must be used within LocaleContext. Try adding a LocaleProvider around your app.");
763
- }
764
- return context;
765
- };
766
-
767
- // src/components/date/DayPicker.tsx
768
- var import_react4 = require("react");
769
- var import_jsx_runtime2 = require("react/jsx-runtime");
770
- var DayPicker = ({
771
- displayedMonth,
772
- selected,
773
- start,
774
- end,
775
- onChange,
776
- weekStart = "monday",
777
- markToday = true,
778
- className = ""
779
- }) => {
780
- const { locale } = useLocale();
781
- const month = displayedMonth.getMonth();
782
- const weeks = getWeeksForCalenderMonth(displayedMonth, weekStart);
783
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { className: (0, import_clsx.default)("flex-col-1 min-w-[220px] select-none", className), children: [
784
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { className: "flex-row-2 text-center", children: weeks[0].map((weekDay, index) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { className: "flex-1 font-semibold", children: new Intl.DateTimeFormat(locale, { weekday: "long" }).format(weekDay).substring(0, 2) }, index)) }),
785
- weeks.map((week, index) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { className: "flex-row-2 text-center", children: week.map((date) => {
786
- const isSelected = !!selected && equalDate(selected, date);
787
- const isToday = equalDate(/* @__PURE__ */ new Date(), date);
788
- const isSameMonth = date.getMonth() === month;
789
- const isDayValid = isInTimeSpan(date, start, end);
790
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
791
- "button",
792
- {
793
- disabled: !isDayValid,
794
- className: (0, import_clsx.default)(
795
- "flex-1 rounded-full border-2",
796
- {
797
- "text-description": !isSameMonth && !isSelected && isDayValid,
798
- "text-button-solid-neutral-text bg-button-solid-neutral-background": !isSelected && isSameMonth && isDayValid,
799
- "text-button-solid-primary-text bg-button-solid-primary-background": isSelected && isDayValid,
800
- "hover:brightness-90 hover:bg-button-solid-primary-background hover:text-button-solid-primary-text": isDayValid,
801
- "text-disabled bg-disabled-background cursor-not-allowed": !isDayValid,
802
- "border-secondary": isToday && markToday,
803
- "border-transparent": !isToday || !markToday
804
- }
805
- ),
806
- onClick: () => onChange?.(date),
807
- children: date.getDate()
808
- },
809
- date.getDate()
810
- );
811
- }) }, index))
812
- ] });
813
- };
814
- var DayPickerUncontrolled = ({
815
- displayedMonth,
816
- selected,
817
- onChange,
818
- ...restProps
819
- }) => {
820
- const [date, setDate] = (0, import_react4.useState)(selected);
821
- const [usedDisplayedMonth, setUsedDDisplayedMonth] = (0, import_react4.useState)(displayedMonth);
822
- (0, import_react4.useEffect)(() => {
823
- setDate(selected);
824
- setUsedDDisplayedMonth(selected);
825
- }, [selected]);
826
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
827
- DayPicker,
828
- {
829
- displayedMonth: usedDisplayedMonth,
830
- selected: date,
831
- onChange: (newDate) => {
832
- setDate(newDate);
833
- setUsedDDisplayedMonth(newDate);
834
- onChange?.(newDate);
835
- },
836
- ...restProps
837
- }
838
- );
839
- };
840
-
841
- // src/components/date/YearMonthPicker.tsx
842
- var import_react7 = require("react");
843
- var import_react_custom_scrollbars_2 = require("react-custom-scrollbars-2");
844
- var import_clsx4 = __toESM(require("clsx"), 1);
845
-
846
- // src/components/layout/Expandable.tsx
847
- var import_react5 = require("react");
848
- var import_lucide_react = require("lucide-react");
849
- var import_clsx2 = __toESM(require("clsx"), 1);
850
- var import_jsx_runtime3 = require("react/jsx-runtime");
851
- var ExpansionIcon = ({ isExpanded, className }) => {
852
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
853
- import_lucide_react.ChevronDown,
854
- {
855
- "aria-hidden": true,
856
- className: (0, import_clsx2.default)(
857
- "min-w-6 w-6 min-h-6 h-6 transition-transform motion-safe:duration-200 motion-reduce:duration-0 ease-in-out",
858
- { "rotate-180": isExpanded },
859
- className
860
- )
861
- }
862
- );
863
- };
864
- var Expandable = (0, import_react5.forwardRef)(function Expandable2({
865
- children,
866
- id: providedId,
867
- label,
868
- icon,
869
- isExpanded = false,
870
- onChange,
871
- clickOnlyOnHeader = true,
872
- disabled = false,
873
- className,
874
- headerClassName,
875
- contentClassName,
876
- contentExpandedClassName
877
- }, ref) {
878
- const defaultIcon = (0, import_react5.useCallback)((expanded) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(ExpansionIcon, { isExpanded: expanded }), []);
879
- icon ??= defaultIcon;
880
- const generatedId = (0, import_react5.useId)();
881
- const id = providedId ?? generatedId;
882
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
883
- "div",
884
- {
885
- ref,
886
- onClick: () => !clickOnlyOnHeader && !disabled && onChange?.(!isExpanded),
887
- className: (0, import_clsx2.default)(
888
- "flex-col-0 bg-surface text-on-surface group rounded-lg shadow-sm",
889
- { "cursor-pointer": !clickOnlyOnHeader && !disabled },
890
- className
891
- ),
892
- children: [
893
- /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
894
- "button",
895
- {
896
- onClick: () => clickOnlyOnHeader && !disabled && onChange?.(!isExpanded),
897
- className: (0, import_clsx2.default)(
898
- "flex-row-2 py-2 px-4 rounded-lg justify-between items-center bg-surface text-on-surface select-none",
899
- {
900
- "group-hover:brightness-97": !isExpanded,
901
- "hover:brightness-97": isExpanded && !disabled,
902
- "cursor-pointer": clickOnlyOnHeader && !disabled
903
- },
904
- headerClassName
905
- ),
906
- "aria-expanded": isExpanded,
907
- "aria-controls": `${id}-content`,
908
- "aria-disabled": disabled ?? void 0,
909
- children: [
910
- label,
911
- icon(isExpanded)
912
- ]
913
- }
914
- ),
915
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
916
- "div",
917
- {
918
- id: `${id}-content`,
919
- className: (0, import_clsx2.default)(
920
- "flex-col-2 px-4 transition-all duration-300 ease-in-out",
921
- {
922
- [(0, import_clsx2.default)("max-h-96 opacity-100 pb-2 overflow-y-auto", contentExpandedClassName)]: isExpanded,
923
- "max-h-0 opacity-0 overflow-hidden": !isExpanded
924
- },
925
- contentClassName
926
- ),
927
- role: "region",
928
- children
929
- }
930
- )
931
- ]
932
- }
933
- );
934
- });
935
- var ExpandableUncontrolled = (0, import_react5.forwardRef)(function ExpandableUncontrolled2({
936
- isExpanded,
937
- onChange,
938
- ...props
939
- }, ref) {
940
- const [usedIsExpanded, setUsedIsExpanded] = useOverwritableState(isExpanded, onChange);
941
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
942
- Expandable,
943
- {
944
- ...props,
945
- ref,
946
- isExpanded: usedIsExpanded,
947
- onChange: setUsedIsExpanded
948
- }
949
- );
950
- });
951
-
952
- // src/components/user-action/Button.tsx
953
- var import_react6 = require("react");
954
- var import_clsx3 = __toESM(require("clsx"), 1);
955
- var import_jsx_runtime4 = require("react/jsx-runtime");
956
- var ButtonColorUtil = {
957
- solid: ["primary", "secondary", "tertiary", "positive", "warning", "negative", "neutral"],
958
- text: ["primary", "negative", "neutral"],
959
- outline: ["primary"]
960
- };
961
- var IconButtonUtil = {
962
- icon: [...ButtonColorUtil.solid, "transparent"]
963
- };
964
- var paddingMapping = {
965
- none: "",
966
- small: "btn-sm",
967
- medium: "btn-md",
968
- large: "btn-lg"
969
- };
970
- var iconPaddingMapping = {
971
- none: "",
972
- tiny: "icon-btn-xs",
973
- small: "icon-btn-sm",
974
- medium: "icon-btn-md",
975
- large: "icon-btn-lg"
976
- };
977
- var ButtonUtil = {
978
- paddingMapping,
979
- iconPaddingMapping
980
- };
981
- var SolidButton = (0, import_react6.forwardRef)(function SolidButton2({
982
- children,
983
- color = "primary",
984
- size = "medium",
985
- startIcon,
986
- endIcon,
987
- onClick,
988
- className,
989
- ...restProps
990
- }, ref) {
991
- const colorClasses = {
992
- primary: "not-disabled:bg-button-solid-primary-background not-disabled:text-button-solid-primary-text",
993
- secondary: "not-disabled:bg-button-solid-secondary-background not-disabled:text-button-solid-secondary-text",
994
- tertiary: "not-disabled:bg-button-solid-tertiary-background not-disabled:text-button-solid-tertiary-text",
995
- positive: "not-disabled:bg-button-solid-positive-background not-disabled:text-button-solid-positive-text",
996
- warning: "not-disabled:bg-button-solid-warning-background not-disabled:text-button-solid-warning-text",
997
- negative: "not-disabled:bg-button-solid-negative-background not-disabled:text-button-solid-negative-text",
998
- neutral: "not-disabled:bg-button-solid-neutral-background not-disabled:text-button-solid-neutral-text"
999
- }[color];
1000
- const iconColorClasses = {
1001
- primary: "not-group-disabled:text-button-solid-primary-icon",
1002
- secondary: "not-group-disabled:text-button-solid-secondary-icon",
1003
- tertiary: "not-group-disabled:text-button-solid-tertiary-icon",
1004
- positive: "not-group-disabled:text-button-solid-positive-icon",
1005
- warning: "not-group-disabled:text-button-solid-warning-icon",
1006
- negative: "not-group-disabled:text-button-solid-negative-icon",
1007
- neutral: "not-group-disabled:text-button-solid-neutral-icon"
1008
- }[color];
1009
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
1010
- "button",
1011
- {
1012
- ref,
1013
- onClick,
1014
- className: (0, import_clsx3.default)(
1015
- "group font-semibold",
1016
- colorClasses,
1017
- "not-disabled:hover:brightness-90",
1018
- "disabled:text-disabled disabled:bg-disabled-background",
1019
- ButtonUtil.paddingMapping[size],
1020
- className
1021
- ),
1022
- ...restProps,
1023
- children: [
1024
- startIcon && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
1025
- "span",
1026
- {
1027
- className: (0, import_clsx3.default)(
1028
- iconColorClasses,
1029
- "group-disabled:text-disabled-icon"
1030
- ),
1031
- children: startIcon
1032
- }
1033
- ),
1034
- children,
1035
- endIcon && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
1036
- "span",
1037
- {
1038
- className: (0, import_clsx3.default)(
1039
- iconColorClasses,
1040
- "group-disabled:text-disabled-icon"
1041
- ),
1042
- children: endIcon
1043
- }
1044
- )
1045
- ]
1046
- }
1047
- );
1048
- });
1049
- var TextButton = ({
1050
- children,
1051
- color = "neutral",
1052
- size = "medium",
1053
- startIcon,
1054
- endIcon,
1055
- onClick,
1056
- coloredHoverBackground = true,
1057
- className,
1058
- ...restProps
1059
- }) => {
1060
- const colorClasses = {
1061
- primary: "not-disabled:bg-transparent not-disabled:text-button-text-primary-text not-disabled:focus-visible:outline-button-text-primary-text",
1062
- negative: "not-disabled:bg-transparent not-disabled:text-button-text-negative-text not-disabled:focus-visible:outline-button-text-negative-text",
1063
- neutral: "not-disabled:bg-transparent not-disabled:text-button-text-neutral-text not-disabled:focus-visible:outline-button-text-neutral-text"
1064
- }[color];
1065
- const backgroundColor = {
1066
- primary: "not-disabled:hover:bg-button-text-primary-text/20 not-disabled:focus-visible:bg-button-text-primary-text/20",
1067
- negative: "not-disabled:hover:bg-button-text-negative-text/20 not-disabled:focus-visible:bg-button-text-negative-text/20",
1068
- neutral: "not-disabled:hover:bg-button-text-neutral-text/20 not-disabled:focus-visible:bg-button-text-neutral-text/20"
1069
- }[color];
1070
- const iconColorClasses = {
1071
- primary: "not-group-disabled:text-button-text-primary-icon",
1072
- negative: "not-group-disabled:text-button-text-negative-icon",
1073
- neutral: "not-group-disabled:text-button-text-neutral-icon"
1074
- }[color];
1075
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
1076
- "button",
1077
- {
1078
- onClick,
1079
- className: (0, import_clsx3.default)(
1080
- "group font-semibold",
1081
- "disabled:text-disabled",
1082
- colorClasses,
1083
- {
1084
- [backgroundColor]: coloredHoverBackground,
1085
- "not-disabled:hover:bg-button-text-hover-background": !coloredHoverBackground
1086
- },
1087
- ButtonUtil.paddingMapping[size],
1088
- className
1089
- ),
1090
- ...restProps,
1091
- children: [
1092
- startIcon && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
1093
- "span",
1094
- {
1095
- className: (0, import_clsx3.default)(
1096
- iconColorClasses,
1097
- "group-disabled:text-disabled-icon"
1098
- ),
1099
- children: startIcon
1100
- }
1101
- ),
1102
- children,
1103
- endIcon && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
1104
- "span",
1105
- {
1106
- className: (0, import_clsx3.default)(
1107
- iconColorClasses,
1108
- "group-disabled:text-disabled-icon"
1109
- ),
1110
- children: endIcon
1111
- }
1112
- )
1113
- ]
1114
- }
1115
- );
1116
- };
1117
- var IconButton = (0, import_react6.forwardRef)(function IconButton2({
1118
- children,
1119
- color = "primary",
1120
- size = "medium",
1121
- className,
1122
- ...restProps
1123
- }, ref) {
1124
- const colorClasses = {
1125
- primary: "not-disabled:bg-button-solid-primary-background not-disabled:text-button-solid-primary-text",
1126
- secondary: "not-disabled:bg-button-solid-secondary-background not-disabled:text-button-solid-secondary-text",
1127
- tertiary: "not-disabled:bg-button-solid-tertiary-background not-disabled:text-button-solid-tertiary-text",
1128
- positive: "not-disabled:bg-button-solid-positive-background not-disabled:text-button-solid-positive-text",
1129
- warning: "not-disabled:bg-button-solid-warning-background not-disabled:text-button-solid-warning-text",
1130
- negative: "not-disabled:bg-button-solid-negative-background not-disabled:text-button-solid-negative-text",
1131
- neutral: "not-disabled:bg-button-solid-neutral-background not-disabled:text-button-solid-neutral-text",
1132
- transparent: "not-disabled:bg-transparent"
1133
- }[color];
1134
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
1135
- "button",
1136
- {
1137
- ref,
1138
- className: (0, import_clsx3.default)(
1139
- colorClasses,
1140
- "not-disabled:hover:brightness-90",
1141
- "disabled:text-disabled",
1142
- {
1143
- "disabled:bg-disabled-background": color !== "transparent",
1144
- "disabled:opacity-70": color === "transparent",
1145
- "not-disabled:hover:bg-button-text-hover-background": color === "transparent"
1146
- },
1147
- ButtonUtil.iconPaddingMapping[size],
1148
- className
1149
- ),
1150
- ...restProps,
1151
- children
1152
- }
1153
- );
1154
- });
1155
-
1156
- // src/components/date/YearMonthPicker.tsx
1157
- var import_jsx_runtime5 = require("react/jsx-runtime");
1158
- var YearMonthPicker = ({
1159
- displayedYearMonth = /* @__PURE__ */ new Date(),
1160
- start = subtractDuration(/* @__PURE__ */ new Date(), { years: 50 }),
1161
- end = addDuration(/* @__PURE__ */ new Date(), { years: 50 }),
1162
- onChange,
1163
- className = "",
1164
- maxHeight = 300,
1165
- showValueOpen = true
1166
- }) => {
1167
- const { locale } = useLocale();
1168
- const ref = (0, import_react7.useRef)(null);
1169
- (0, import_react7.useEffect)(() => {
1170
- const scrollToItem = () => {
1171
- if (ref.current) {
1172
- ref.current.scrollIntoView({
1173
- behavior: "instant",
1174
- block: "center"
1175
- });
1176
- }
1177
- };
1178
- scrollToItem();
1179
- }, [ref]);
1180
- if (end < start) {
1181
- console.error(`startYear: (${start}) less than endYear: (${end})`);
1182
- return null;
1183
- }
1184
- const years = range([start.getFullYear(), end.getFullYear()], { exclusiveEnd: false });
1185
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: (0, import_clsx4.default)("flex-col-0 select-none", className), children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_react_custom_scrollbars_2.Scrollbars, { autoHeight: true, autoHeightMax: maxHeight, style: { height: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: "flex-col-1 mr-3", children: years.map((year) => {
1186
- const selectedYear = displayedYearMonth.getFullYear() === year;
1187
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
1188
- ExpandableUncontrolled,
1189
- {
1190
- ref: (displayedYearMonth.getFullYear() ?? (/* @__PURE__ */ new Date()).getFullYear()) === year ? ref : void 0,
1191
- label: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: (0, import_clsx4.default)({ "text-primary font-bold": selectedYear }), children: year }),
1192
- isExpanded: showValueOpen && selectedYear,
1193
- contentClassName: "gap-y-1",
1194
- children: equalSizeGroups([...monthsList], 3).map((monthList, index) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: "flex-row-1", children: monthList.map((month) => {
1195
- const monthIndex = monthsList.indexOf(month);
1196
- const newDate = new Date(year, monthIndex);
1197
- const selectedMonth = selectedYear && monthIndex === displayedYearMonth.getMonth();
1198
- const firstOfMonth = new Date(year, monthIndex, 1);
1199
- const lastOfMonth = new Date(year, monthIndex, 1);
1200
- const isAfterStart = start === void 0 || start <= addDuration(subtractDuration(lastOfMonth, { days: 1 }), { months: 1 });
1201
- const isBeforeEnd = end === void 0 || firstOfMonth <= end;
1202
- const isValid = isAfterStart && isBeforeEnd;
1203
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
1204
- SolidButton,
1205
- {
1206
- disabled: !isValid,
1207
- color: selectedMonth && isValid ? "primary" : "neutral",
1208
- className: "flex-1",
1209
- size: "small",
1210
- onClick: () => {
1211
- onChange?.(newDate);
1212
- },
1213
- children: new Intl.DateTimeFormat(locale, { month: "short" }).format(newDate)
1214
- },
1215
- month
1216
- );
1217
- }) }, index))
1218
- },
1219
- year
1220
- );
1221
- }) }) }) });
1222
- };
1223
- var YearMonthPickerUncontrolled = ({
1224
- displayedYearMonth,
1225
- onChange,
1226
- ...props
1227
- }) => {
1228
- const [yearMonth, setYearMonth] = useOverwritableState(displayedYearMonth, onChange);
1229
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
1230
- YearMonthPicker,
1231
- {
1232
- displayedYearMonth: yearMonth,
1233
- onChange: setYearMonth,
1234
- ...props
1235
- }
1236
- );
1237
- };
1238
-
1239
- // src/i18n/useHightideTranslation.ts
1240
- var import_internationalization2 = require("@helpwave/internationalization");
1241
- function useHightideTranslation(extensions, overwrites) {
1242
- const { locale: inferredLocale } = useLocale();
1243
- const locale = overwrites?.locale ?? inferredLocale;
1244
- const translationExtensions = ArrayUtil.resolveSingleOrArray(extensions);
1245
- return (0, import_internationalization2.combineTranslation)([
1246
- ...translationExtensions,
1247
- hightideTranslation
1248
- ], locale);
1249
- }
1250
-
1251
- // src/components/date/DatePicker.tsx
1252
- var import_jsx_runtime6 = require("react/jsx-runtime");
1253
- var DatePicker = ({
1254
- value = /* @__PURE__ */ new Date(),
1255
- start = subtractDuration(/* @__PURE__ */ new Date(), { years: 50 }),
1256
- end = addDuration(/* @__PURE__ */ new Date(), { years: 50 }),
1257
- initialDisplay = "day",
1258
- onChange,
1259
- yearMonthPickerProps,
1260
- dayPickerProps,
1261
- className = ""
1262
- }) => {
1263
- const { locale } = useLocale();
1264
- const translation = useHightideTranslation();
1265
- const [displayedMonth, setDisplayedMonth] = (0, import_react8.useState)(value);
1266
- const [displayMode, setDisplayMode] = (0, import_react8.useState)(initialDisplay);
1267
- (0, import_react8.useEffect)(() => {
1268
- setDisplayedMonth(value);
1269
- }, [value]);
1270
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: (0, import_clsx5.default)("flex-col-4", className), children: [
1271
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex-row-2 items-center justify-between h-7", children: [
1272
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1273
- TextButton,
1274
- {
1275
- className: (0, import_clsx5.default)("flex-row-1 items-center cursor-pointer select-none", {
1276
- "text-disabled": displayMode !== "day"
1277
- }),
1278
- onClick: () => setDisplayMode(displayMode === "day" ? "yearMonth" : "day"),
1279
- children: [
1280
- `${new Intl.DateTimeFormat(LocalizationUtil.localToLanguage(locale), { month: "long" }).format(displayedMonth)} ${displayedMonth.getFullYear()}`,
1281
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_lucide_react2.ChevronDown, { size: 16 })
1282
- ]
1283
- }
1284
- ),
1285
- displayMode === "day" && /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex-row-2 justify-end", children: [
1286
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1287
- SolidButton,
1288
- {
1289
- size: "small",
1290
- color: "primary",
1291
- disabled: !isInTimeSpan(subtractDuration(displayedMonth, { months: 1 }), start, end),
1292
- onClick: () => {
1293
- setDisplayedMonth(subtractDuration(displayedMonth, { months: 1 }));
1294
- },
1295
- children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_lucide_react2.ArrowUp, { size: 20 })
1296
- }
1297
- ),
1298
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1299
- SolidButton,
1300
- {
1301
- size: "small",
1302
- color: "primary",
1303
- disabled: !isInTimeSpan(addDuration(displayedMonth, { months: 1 }), start, end),
1304
- onClick: () => {
1305
- setDisplayedMonth(addDuration(displayedMonth, { months: 1 }));
1306
- },
1307
- children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_lucide_react2.ArrowDown, { size: 20 })
1308
- }
1309
- )
1310
- ] })
1311
- ] }),
1312
- displayMode === "yearMonth" ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1313
- YearMonthPicker,
1314
- {
1315
- ...yearMonthPickerProps,
1316
- displayedYearMonth: value,
1317
- start,
1318
- end,
1319
- onChange: (newDate) => {
1320
- setDisplayedMonth(newDate);
1321
- setDisplayMode("day");
1322
- }
1323
- }
1324
- ) : /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { children: [
1325
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1326
- DayPicker,
1327
- {
1328
- ...dayPickerProps,
1329
- displayedMonth,
1330
- start,
1331
- end,
1332
- selected: value,
1333
- onChange: (date) => {
1334
- onChange?.(date);
1335
- }
1336
- }
1337
- ),
1338
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "mt-2", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1339
- TextButton,
1340
- {
1341
- color: "primary",
1342
- onClick: () => {
1343
- const newDate = /* @__PURE__ */ new Date();
1344
- newDate.setHours(value.getHours(), value.getMinutes());
1345
- onChange(newDate);
1346
- },
1347
- children: translation("time.today")
1348
- }
1349
- ) })
1350
- ] })
1351
- ] });
1352
- };
1353
- var DatePickerUncontrolled = ({
1354
- value,
1355
- onChange,
1356
- ...props
1357
- }) => {
1358
- const [date, setDate] = useOverwritableState(value, onChange);
1359
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1360
- DatePicker,
1361
- {
1362
- ...props,
1363
- value: date,
1364
- onChange: setDate
1365
- }
1366
- );
1367
- };
1368
-
1369
- // src/components/date/TimeDisplay.tsx
1370
- var import_jsx_runtime7 = require("react/jsx-runtime");
1371
- var TimeDisplay = ({
1372
- date,
1373
- mode = "daysFromToday"
1374
- }) => {
1375
- const translation = useHightideTranslation();
1376
- const difference = (/* @__PURE__ */ new Date()).setHours(0, 0, 0, 0).valueOf() - new Date(date).setHours(0, 0, 0, 0).valueOf();
1377
- const isBefore = difference > 0;
1378
- const differenceInDays = Math.floor(Math.abs(difference) / (1e3 * 3600 * 24));
1379
- let displayString;
1380
- if (differenceInDays === 0) {
1381
- displayString = translation("time.today");
1382
- } else if (differenceInDays === 1) {
1383
- displayString = isBefore ? translation("time.yesterday") : translation("time.tomorrow");
1384
- } else {
1385
- displayString = isBefore ? translation("time.agoDays", { days: differenceInDays }) : translation("time.inDays", { days: differenceInDays });
1386
- }
1387
- const monthToTranslation = {
1388
- 0: translation("time.january"),
1389
- 1: translation("time.february"),
1390
- 2: translation("time.march"),
1391
- 3: translation("time.april"),
1392
- 4: translation("time.may"),
1393
- 5: translation("time.june"),
1394
- 6: translation("time.july"),
1395
- 7: translation("time.august"),
1396
- 8: translation("time.september"),
1397
- 9: translation("time.october"),
1398
- 10: translation("time.november"),
1399
- 11: translation("time.december")
1400
- };
1401
- let fullString;
1402
- if (mode === "daysFromToday") {
1403
- fullString = `${date.getHours().toString().padStart(2, "0")}:${date.getMinutes().toString().padStart(2, "0")} - ${displayString}`;
1404
- } else {
1405
- fullString = `${date.getDate()}. ${monthToTranslation[date.getMonth()]} ${date.getFullYear()}`;
1406
- }
1407
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { children: fullString });
1408
- };
1409
-
1410
- // src/components/date/TimePicker.tsx
1411
- var import_react9 = require("react");
1412
- var import_react_custom_scrollbars_22 = require("react-custom-scrollbars-2");
1413
- var import_clsx6 = __toESM(require("clsx"), 1);
1414
- var import_jsx_runtime8 = require("react/jsx-runtime");
1415
- var TimePicker = ({
1416
- time = /* @__PURE__ */ new Date(),
1417
- onChange,
1418
- is24HourFormat = true,
1419
- minuteIncrement = "5min",
1420
- maxHeight = 300,
1421
- className = ""
1422
- }) => {
1423
- const minuteRef = (0, import_react9.useRef)(null);
1424
- const hourRef = (0, import_react9.useRef)(null);
1425
- const isPM = time.getHours() >= 11;
1426
- const hours = is24HourFormat ? range(24) : range([1, 12], { exclusiveEnd: false });
1427
- let minutes = range(60);
1428
- (0, import_react9.useEffect)(() => {
1429
- const scrollToItem = () => {
1430
- if (minuteRef.current) {
1431
- const container = minuteRef.current.parentElement;
1432
- const hasOverflow = container.scrollHeight > maxHeight;
1433
- if (hasOverflow) {
1434
- minuteRef.current.scrollIntoView({
1435
- behavior: "instant",
1436
- block: "nearest"
1437
- });
1438
- }
1439
- }
1440
- };
1441
- scrollToItem();
1442
- }, [minuteRef, minuteRef.current]);
1443
- (0, import_react9.useEffect)(() => {
1444
- const scrollToItem = () => {
1445
- if (hourRef.current) {
1446
- const container = hourRef.current.parentElement;
1447
- const hasOverflow = container.scrollHeight > maxHeight;
1448
- if (hasOverflow) {
1449
- hourRef.current.scrollIntoView({
1450
- behavior: "instant",
1451
- block: "nearest"
1452
- });
1453
- }
1454
- }
1455
- };
1456
- scrollToItem();
1457
- }, [hourRef, hourRef.current]);
1458
- switch (minuteIncrement) {
1459
- case "5min":
1460
- minutes = minutes.filter((value) => value % 5 === 0);
1461
- break;
1462
- case "10min":
1463
- minutes = minutes.filter((value) => value % 10 === 0);
1464
- break;
1465
- case "15min":
1466
- minutes = minutes.filter((value) => value % 15 === 0);
1467
- break;
1468
- case "30min":
1469
- minutes = minutes.filter((value) => value % 30 === 0);
1470
- break;
1471
- }
1472
- const closestMinute = closestMatch(minutes, (item1, item2) => Math.abs(item1 - time.getMinutes()) < Math.abs(item2 - time.getMinutes()));
1473
- const style = (selected) => (0, import_clsx6.default)(
1474
- "chip-full hover:brightness-90 hover:bg-primary hover:text-on-primary rounded-md mr-3",
1475
- { "bg-primary text-on-primary": selected, "bg-white text-black": !selected }
1476
- );
1477
- const onChangeWrapper = (transformer) => {
1478
- const newDate = new Date(time);
1479
- transformer(newDate);
1480
- onChange?.(newDate);
1481
- };
1482
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: (0, import_clsx6.default)("flex-row-2 w-fit min-w-[150px] select-none", className), children: [
1483
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_react_custom_scrollbars_22.Scrollbars, { autoHeight: true, autoHeightMax: maxHeight, style: { height: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "flex-col-1 h-full", children: hours.map((hour) => {
1484
- const currentHour = hour === time.getHours() - (!is24HourFormat && isPM ? 12 : 0);
1485
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
1486
- "button",
1487
- {
1488
- ref: currentHour ? hourRef : void 0,
1489
- className: style(currentHour),
1490
- onClick: () => onChangeWrapper((newDate) => newDate.setHours(hour + (!is24HourFormat && isPM ? 12 : 0))),
1491
- children: hour.toString().padStart(2, "0")
1492
- },
1493
- hour
1494
- );
1495
- }) }) }),
1496
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_react_custom_scrollbars_22.Scrollbars, { autoHeight: true, autoHeightMax: maxHeight, style: { height: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "flex-col-1 h-full", children: minutes.map((minute) => {
1497
- const currentMinute = minute === closestMinute;
1498
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
1499
- "button",
1500
- {
1501
- ref: currentMinute ? minuteRef : void 0,
1502
- className: style(currentMinute),
1503
- onClick: () => onChangeWrapper((newDate) => newDate.setMinutes(minute)),
1504
- children: minute.toString().padStart(2, "0")
1505
- },
1506
- minute + minuteIncrement
1507
- );
1508
- }) }) }),
1509
- !is24HourFormat && /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex-col-1", children: [
1510
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
1511
- "button",
1512
- {
1513
- className: style(!isPM),
1514
- onClick: () => onChangeWrapper((newDate) => isPM && newDate.setHours(newDate.getHours() - 12)),
1515
- children: "AM"
1516
- }
1517
- ),
1518
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
1519
- "button",
1520
- {
1521
- className: style(isPM),
1522
- onClick: () => onChangeWrapper((newDate) => !isPM && newDate.setHours(newDate.getHours() + 12)),
1523
- children: "PM"
1524
- }
1525
- )
1526
- ] })
1527
- ] });
1528
- };
1529
- var TimePickerUncontrolled = ({
1530
- time,
1531
- onChange,
1532
- ...props
1533
- }) => {
1534
- const [value, setValue] = useOverwritableState(time, onChange);
1535
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
1536
- TimePicker,
1537
- {
1538
- ...props,
1539
- time: value,
1540
- onChange: setValue
1541
- }
1542
- );
1543
- };
1544
- // Annotate the CommonJS export names for ESM import in node:
1545
- 0 && (module.exports = {
1546
- DatePicker,
1547
- DatePickerUncontrolled,
1548
- DayPicker,
1549
- DayPickerUncontrolled,
1550
- TimeDisplay,
1551
- TimePicker,
1552
- TimePickerUncontrolled,
1553
- YearMonthPicker,
1554
- YearMonthPickerUncontrolled
1555
- });
1556
- //# sourceMappingURL=index.cjs.map