@helpwave/hightide 0.1.6 → 0.1.7

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 (502) hide show
  1. package/dist/coloring/{shading.d.cts → shading.d.mts} +1 -1
  2. package/dist/coloring/shading.js +14 -3329
  3. package/dist/coloring/shading.js.map +1 -1
  4. package/dist/coloring/shading.mjs +47 -0
  5. package/dist/coloring/shading.mjs.map +1 -0
  6. package/dist/coloring/types.js +26 -2
  7. package/dist/coloring/types.js.map +1 -1
  8. package/dist/coloring/types.mjs +6 -0
  9. package/dist/coloring/{types.cjs.map → types.mjs.map} +1 -1
  10. package/dist/components/branding/HelpwaveBadge.js +59 -25
  11. package/dist/components/branding/HelpwaveBadge.js.map +1 -1
  12. package/dist/components/branding/HelpwaveBadge.mjs +122 -0
  13. package/dist/components/branding/HelpwaveBadge.mjs.map +1 -0
  14. package/dist/components/date/{DatePicker.d.cts → DatePicker.d.mts} +5 -5
  15. package/dist/components/date/DatePicker.js +119 -83
  16. package/dist/components/date/DatePicker.js.map +1 -1
  17. package/dist/components/date/{DatePicker.cjs → DatePicker.mjs} +85 -120
  18. package/dist/components/date/DatePicker.mjs.map +1 -0
  19. package/dist/components/date/{DayPicker.d.cts → DayPicker.d.mts} +1 -1
  20. package/dist/components/date/DayPicker.js +55 -18
  21. package/dist/components/date/DayPicker.js.map +1 -1
  22. package/dist/components/date/{DayPicker.cjs → DayPicker.mjs} +19 -57
  23. package/dist/components/date/DayPicker.mjs.map +1 -0
  24. package/dist/components/date/{TimeDisplay.d.cts → TimeDisplay.d.mts} +2 -2
  25. package/dist/components/date/TimeDisplay.js +35 -9
  26. package/dist/components/date/TimeDisplay.js.map +1 -1
  27. package/dist/components/date/{TimeDisplay.cjs → TimeDisplay.mjs} +10 -37
  28. package/dist/components/date/TimeDisplay.mjs.map +1 -0
  29. package/dist/components/date/TimePicker.js +57 -22
  30. package/dist/components/date/TimePicker.js.map +1 -1
  31. package/dist/components/date/{TimePicker.cjs → TimePicker.mjs} +23 -59
  32. package/dist/components/date/TimePicker.mjs.map +1 -0
  33. package/dist/components/date/{YearMonthPicker.d.cts → YearMonthPicker.d.mts} +1 -1
  34. package/dist/components/date/YearMonthPicker.d.ts +1 -1
  35. package/dist/components/date/YearMonthPicker.js +73 -38
  36. package/dist/components/date/YearMonthPicker.js.map +1 -1
  37. package/dist/components/date/{YearMonthPicker.cjs → YearMonthPicker.mjs} +39 -75
  38. package/dist/components/date/YearMonthPicker.mjs.map +1 -0
  39. package/dist/components/dialogs/{ConfirmDialog.d.cts → ConfirmDialog.d.mts} +4 -4
  40. package/dist/components/dialogs/ConfirmDialog.js +98 -62
  41. package/dist/components/dialogs/ConfirmDialog.js.map +1 -1
  42. package/dist/components/dialogs/{ConfirmDialog.cjs → ConfirmDialog.mjs} +63 -100
  43. package/dist/components/dialogs/ConfirmDialog.mjs.map +1 -0
  44. package/dist/components/icons-and-geometry/Avatar.js +47 -10
  45. package/dist/components/icons-and-geometry/Avatar.js.map +1 -1
  46. package/dist/components/icons-and-geometry/Avatar.mjs +81 -0
  47. package/dist/components/icons-and-geometry/{Avatar.cjs.map → Avatar.mjs.map} +1 -1
  48. package/dist/components/icons-and-geometry/Circle.js +40 -6
  49. package/dist/components/icons-and-geometry/Circle.js.map +1 -1
  50. package/dist/components/icons-and-geometry/Circle.mjs +27 -0
  51. package/dist/components/icons-and-geometry/{Circle.cjs.map → Circle.mjs.map} +1 -1
  52. package/dist/components/icons-and-geometry/Helpwave.js +38 -14
  53. package/dist/components/icons-and-geometry/Helpwave.js.map +1 -1
  54. package/dist/components/icons-and-geometry/Helpwave.mjs +75 -0
  55. package/dist/components/icons-and-geometry/{Helpwave.cjs.map → Helpwave.mjs.map} +1 -1
  56. package/dist/components/icons-and-geometry/Ring.js +74 -37
  57. package/dist/components/icons-and-geometry/Ring.js.map +1 -1
  58. package/dist/components/icons-and-geometry/{Ring.cjs → Ring.mjs} +38 -76
  59. package/dist/components/icons-and-geometry/{Ring.cjs.map → Ring.mjs.map} +1 -1
  60. package/dist/components/icons-and-geometry/Tag.js +28 -4
  61. package/dist/components/icons-and-geometry/Tag.js.map +1 -1
  62. package/dist/components/icons-and-geometry/Tag.mjs +22 -0
  63. package/dist/components/icons-and-geometry/{Tag.cjs.map → Tag.mjs.map} +1 -1
  64. package/dist/components/layout-and-navigation/BreadCrumb.js +195 -191
  65. package/dist/components/layout-and-navigation/BreadCrumb.js.map +1 -1
  66. package/dist/components/layout-and-navigation/{BreadCrumb.cjs → BreadCrumb.mjs} +191 -198
  67. package/dist/components/layout-and-navigation/{BreadCrumb.cjs.map → BreadCrumb.mjs.map} +1 -1
  68. package/dist/components/layout-and-navigation/Carousel.js +68 -34
  69. package/dist/components/layout-and-navigation/Carousel.js.map +1 -1
  70. package/dist/components/layout-and-navigation/{Carousel.cjs → Carousel.mjs} +35 -70
  71. package/dist/components/layout-and-navigation/{Carousel.cjs.map → Carousel.mjs.map} +1 -1
  72. package/dist/components/layout-and-navigation/Chip.js +43 -8
  73. package/dist/components/layout-and-navigation/Chip.js.map +1 -1
  74. package/dist/components/layout-and-navigation/Chip.mjs +69 -0
  75. package/dist/components/layout-and-navigation/{Chip.cjs.map → Chip.mjs.map} +1 -1
  76. package/dist/components/layout-and-navigation/DividerInserter.js +39 -5
  77. package/dist/components/layout-and-navigation/DividerInserter.js.map +1 -1
  78. package/dist/components/layout-and-navigation/DividerInserter.mjs +25 -0
  79. package/dist/components/layout-and-navigation/{DividerInserter.cjs.map → DividerInserter.mjs.map} +1 -1
  80. package/dist/components/layout-and-navigation/Expandable.js +52 -17
  81. package/dist/components/layout-and-navigation/Expandable.js.map +1 -1
  82. package/dist/components/layout-and-navigation/Expandable.mjs +81 -0
  83. package/dist/components/layout-and-navigation/Expandable.mjs.map +1 -0
  84. package/dist/components/layout-and-navigation/{FAQSection.d.cts → FAQSection.d.mts} +1 -1
  85. package/dist/components/layout-and-navigation/FAQSection.js +75 -41
  86. package/dist/components/layout-and-navigation/FAQSection.js.map +1 -1
  87. package/dist/components/layout-and-navigation/{FAQSection.cjs → FAQSection.mjs} +42 -77
  88. package/dist/components/layout-and-navigation/FAQSection.mjs.map +1 -0
  89. package/dist/components/layout-and-navigation/{MarkdownInterpreter.d.cts → MarkdownInterpreter.d.mts} +1 -1
  90. package/dist/components/layout-and-navigation/MarkdownInterpreter.d.ts +1 -1
  91. package/dist/components/layout-and-navigation/MarkdownInterpreter.js +43 -18
  92. package/dist/components/layout-and-navigation/MarkdownInterpreter.js.map +1 -1
  93. package/dist/components/layout-and-navigation/{MarkdownInterpreter.cjs → MarkdownInterpreter.mjs} +19 -45
  94. package/dist/components/layout-and-navigation/{MarkdownInterpreter.cjs.map → MarkdownInterpreter.mjs.map} +1 -1
  95. package/dist/components/layout-and-navigation/{Overlay.d.cts → Overlay.d.mts} +3 -3
  96. package/dist/components/layout-and-navigation/Overlay.d.ts +1 -1
  97. package/dist/components/layout-and-navigation/Overlay.js +91 -54
  98. package/dist/components/layout-and-navigation/Overlay.js.map +1 -1
  99. package/dist/components/layout-and-navigation/{Overlay.cjs → Overlay.mjs} +55 -93
  100. package/dist/components/layout-and-navigation/Overlay.mjs.map +1 -0
  101. package/dist/components/layout-and-navigation/{Pagination.d.cts → Pagination.d.mts} +2 -2
  102. package/dist/components/layout-and-navigation/Pagination.js +53 -19
  103. package/dist/components/layout-and-navigation/Pagination.js.map +1 -1
  104. package/dist/components/layout-and-navigation/Pagination.mjs +82 -0
  105. package/dist/components/layout-and-navigation/Pagination.mjs.map +1 -0
  106. package/dist/components/layout-and-navigation/{SearchableList.d.cts → SearchableList.d.mts} +2 -2
  107. package/dist/components/layout-and-navigation/SearchableList.js +76 -42
  108. package/dist/components/layout-and-navigation/SearchableList.js.map +1 -1
  109. package/dist/components/layout-and-navigation/SearchableList.mjs +252 -0
  110. package/dist/components/layout-and-navigation/SearchableList.mjs.map +1 -0
  111. package/dist/components/layout-and-navigation/{StepperBar.d.cts → StepperBar.d.mts} +3 -3
  112. package/dist/components/layout-and-navigation/StepperBar.d.ts +1 -1
  113. package/dist/components/layout-and-navigation/StepperBar.js +69 -34
  114. package/dist/components/layout-and-navigation/StepperBar.js.map +1 -1
  115. package/dist/components/layout-and-navigation/{StepperBar.cjs → StepperBar.mjs} +35 -71
  116. package/dist/components/layout-and-navigation/StepperBar.mjs.map +1 -0
  117. package/dist/components/layout-and-navigation/{Table.d.cts → Table.d.mts} +4 -4
  118. package/dist/components/layout-and-navigation/Table.d.ts +3 -3
  119. package/dist/components/layout-and-navigation/Table.js +111 -68
  120. package/dist/components/layout-and-navigation/Table.js.map +1 -1
  121. package/dist/components/layout-and-navigation/{Table.cjs → Table.mjs} +69 -113
  122. package/dist/components/layout-and-navigation/Table.mjs.map +1 -0
  123. package/dist/components/layout-and-navigation/{TextImage.d.cts → TextImage.d.mts} +2 -2
  124. package/dist/components/layout-and-navigation/TextImage.js +54 -18
  125. package/dist/components/layout-and-navigation/TextImage.js.map +1 -1
  126. package/dist/components/layout-and-navigation/TextImage.mjs +101 -0
  127. package/dist/components/layout-and-navigation/TextImage.mjs.map +1 -0
  128. package/dist/components/layout-and-navigation/Tile.js +42 -8
  129. package/dist/components/layout-and-navigation/Tile.js.map +1 -1
  130. package/dist/components/layout-and-navigation/Tile.mjs +23 -0
  131. package/dist/components/layout-and-navigation/{Tile.cjs.map → Tile.mjs.map} +1 -1
  132. package/dist/components/layout-and-navigation/VerticalDivider.js +33 -9
  133. package/dist/components/layout-and-navigation/VerticalDivider.js.map +1 -1
  134. package/dist/components/layout-and-navigation/VerticalDivider.mjs +56 -0
  135. package/dist/components/layout-and-navigation/{VerticalDivider.cjs.map → VerticalDivider.mjs.map} +1 -1
  136. package/dist/components/loading-states/{ErrorComponent.d.cts → ErrorComponent.d.mts} +2 -2
  137. package/dist/components/loading-states/ErrorComponent.js +46 -12
  138. package/dist/components/loading-states/ErrorComponent.js.map +1 -1
  139. package/dist/components/loading-states/ErrorComponent.mjs +68 -0
  140. package/dist/components/loading-states/ErrorComponent.mjs.map +1 -0
  141. package/dist/components/loading-states/{LoadingAndErrorComponent.d.cts → LoadingAndErrorComponent.d.mts} +5 -5
  142. package/dist/components/loading-states/LoadingAndErrorComponent.d.ts +1 -1
  143. package/dist/components/loading-states/LoadingAndErrorComponent.js +68 -34
  144. package/dist/components/loading-states/LoadingAndErrorComponent.js.map +1 -1
  145. package/dist/components/loading-states/LoadingAndErrorComponent.mjs +194 -0
  146. package/dist/components/loading-states/LoadingAndErrorComponent.mjs.map +1 -0
  147. package/dist/components/loading-states/{LoadingAnimation.d.cts → LoadingAnimation.d.mts} +2 -2
  148. package/dist/components/loading-states/LoadingAnimation.js +59 -23
  149. package/dist/components/loading-states/LoadingAnimation.js.map +1 -1
  150. package/dist/components/loading-states/LoadingAnimation.mjs +139 -0
  151. package/dist/components/loading-states/LoadingAnimation.mjs.map +1 -0
  152. package/dist/components/loading-states/{LoadingButton.d.cts → LoadingButton.d.mts} +1 -1
  153. package/dist/components/loading-states/LoadingButton.js +62 -28
  154. package/dist/components/loading-states/LoadingButton.js.map +1 -1
  155. package/dist/components/loading-states/{LoadingButton.cjs → LoadingButton.mjs} +29 -64
  156. package/dist/components/loading-states/LoadingButton.mjs.map +1 -0
  157. package/dist/components/loading-states/ProgressIndicator.js +30 -6
  158. package/dist/components/loading-states/ProgressIndicator.js.map +1 -1
  159. package/dist/components/loading-states/ProgressIndicator.mjs +59 -0
  160. package/dist/components/loading-states/{ProgressIndicator.cjs.map → ProgressIndicator.mjs.map} +1 -1
  161. package/dist/components/modals/{ConfirmModal.d.cts → ConfirmModal.d.mts} +4 -4
  162. package/dist/components/modals/ConfirmModal.js +99 -63
  163. package/dist/components/modals/ConfirmModal.js.map +1 -1
  164. package/dist/components/modals/{ConfirmModal.cjs → ConfirmModal.mjs} +64 -101
  165. package/dist/components/modals/ConfirmModal.mjs.map +1 -0
  166. package/dist/components/modals/{DiscardChangesModal.d.cts → DiscardChangesModal.d.mts} +5 -5
  167. package/dist/components/modals/DiscardChangesModal.js +101 -65
  168. package/dist/components/modals/DiscardChangesModal.js.map +1 -1
  169. package/dist/components/modals/{DiscardChangesModal.cjs → DiscardChangesModal.mjs} +66 -103
  170. package/dist/components/modals/DiscardChangesModal.mjs.map +1 -0
  171. package/dist/components/modals/{InputModal.d.cts → InputModal.d.mts} +7 -7
  172. package/dist/components/modals/InputModal.js +124 -88
  173. package/dist/components/modals/InputModal.js.map +1 -1
  174. package/dist/components/modals/{InputModal.cjs → InputModal.mjs} +89 -126
  175. package/dist/components/modals/InputModal.mjs.map +1 -0
  176. package/dist/components/modals/{LanguageModal.d.cts → LanguageModal.d.mts} +3 -3
  177. package/dist/components/modals/LanguageModal.js +130 -95
  178. package/dist/components/modals/LanguageModal.js.map +1 -1
  179. package/dist/components/modals/{LanguageModal.cjs → LanguageModal.mjs} +95 -133
  180. package/dist/components/modals/LanguageModal.mjs.map +1 -0
  181. package/dist/components/modals/{ThemeModal.d.cts → ThemeModal.d.mts} +4 -4
  182. package/dist/components/modals/ThemeModal.js +134 -99
  183. package/dist/components/modals/ThemeModal.js.map +1 -1
  184. package/dist/components/modals/{ThemeModal.cjs → ThemeModal.mjs} +99 -137
  185. package/dist/components/modals/ThemeModal.mjs.map +1 -0
  186. package/dist/components/properties/{CheckboxProperty.d.cts → CheckboxProperty.d.mts} +3 -3
  187. package/dist/components/properties/CheckboxProperty.js +87 -53
  188. package/dist/components/properties/CheckboxProperty.js.map +1 -1
  189. package/dist/components/properties/{CheckboxProperty.cjs → CheckboxProperty.mjs} +54 -89
  190. package/dist/components/properties/CheckboxProperty.mjs.map +1 -0
  191. package/dist/components/properties/{DateProperty.d.cts → DateProperty.d.mts} +3 -3
  192. package/dist/components/properties/DateProperty.js +94 -60
  193. package/dist/components/properties/DateProperty.js.map +1 -1
  194. package/dist/components/properties/{DateProperty.cjs → DateProperty.mjs} +61 -96
  195. package/dist/components/properties/DateProperty.mjs.map +1 -0
  196. package/dist/components/properties/{MultiSelectProperty.d.cts → MultiSelectProperty.d.mts} +5 -5
  197. package/dist/components/properties/MultiSelectProperty.js +157 -123
  198. package/dist/components/properties/MultiSelectProperty.js.map +1 -1
  199. package/dist/components/properties/{MultiSelectProperty.cjs → MultiSelectProperty.mjs} +124 -159
  200. package/dist/components/properties/MultiSelectProperty.mjs.map +1 -0
  201. package/dist/components/properties/{NumberProperty.d.cts → NumberProperty.d.mts} +3 -3
  202. package/dist/components/properties/NumberProperty.js +95 -61
  203. package/dist/components/properties/NumberProperty.js.map +1 -1
  204. package/dist/components/properties/{NumberProperty.cjs → NumberProperty.mjs} +62 -97
  205. package/dist/components/properties/NumberProperty.mjs.map +1 -0
  206. package/dist/components/properties/{PropertyBase.d.cts → PropertyBase.d.mts} +2 -2
  207. package/dist/components/properties/PropertyBase.js +63 -29
  208. package/dist/components/properties/PropertyBase.js.map +1 -1
  209. package/dist/components/properties/PropertyBase.mjs +188 -0
  210. package/dist/components/properties/PropertyBase.mjs.map +1 -0
  211. package/dist/components/properties/{SelectProperty.d.cts → SelectProperty.d.mts} +5 -5
  212. package/dist/components/properties/SelectProperty.js +119 -86
  213. package/dist/components/properties/SelectProperty.js.map +1 -1
  214. package/dist/components/properties/{SelectProperty.cjs → SelectProperty.mjs} +86 -122
  215. package/dist/components/properties/SelectProperty.mjs.map +1 -0
  216. package/dist/components/properties/{TextProperty.d.cts → TextProperty.d.mts} +3 -3
  217. package/dist/components/properties/TextProperty.js +92 -58
  218. package/dist/components/properties/TextProperty.js.map +1 -1
  219. package/dist/components/properties/{TextProperty.cjs → TextProperty.mjs} +59 -94
  220. package/dist/components/properties/TextProperty.mjs.map +1 -0
  221. package/dist/components/user-action/Button.js +67 -28
  222. package/dist/components/user-action/Button.js.map +1 -1
  223. package/dist/components/user-action/{Button.cjs → Button.mjs} +29 -69
  224. package/dist/components/user-action/{Button.cjs.map → Button.mjs.map} +1 -1
  225. package/dist/components/user-action/{Checkbox.d.cts → Checkbox.d.mts} +1 -1
  226. package/dist/components/user-action/Checkbox.js +58 -23
  227. package/dist/components/user-action/Checkbox.js.map +1 -1
  228. package/dist/components/user-action/Checkbox.mjs +122 -0
  229. package/dist/components/user-action/Checkbox.mjs.map +1 -0
  230. package/dist/components/user-action/{DateAndTimePicker.d.cts → DateAndTimePicker.d.mts} +7 -7
  231. package/dist/components/user-action/DateAndTimePicker.js +142 -107
  232. package/dist/components/user-action/DateAndTimePicker.js.map +1 -1
  233. package/dist/components/user-action/{DateAndTimePicker.cjs → DateAndTimePicker.mjs} +109 -143
  234. package/dist/components/user-action/DateAndTimePicker.mjs.map +1 -0
  235. package/dist/components/user-action/{Input.d.cts → Input.d.mts} +1 -1
  236. package/dist/components/user-action/Input.js +62 -26
  237. package/dist/components/user-action/Input.js.map +1 -1
  238. package/dist/components/user-action/Input.mjs +186 -0
  239. package/dist/components/user-action/Input.mjs.map +1 -0
  240. package/dist/components/user-action/Label.js +39 -5
  241. package/dist/components/user-action/Label.js.map +1 -1
  242. package/dist/components/user-action/Label.mjs +21 -0
  243. package/dist/components/user-action/{Label.cjs.map → Label.mjs.map} +1 -1
  244. package/dist/components/user-action/Menu.js +54 -19
  245. package/dist/components/user-action/Menu.js.map +1 -1
  246. package/dist/components/user-action/Menu.mjs +127 -0
  247. package/dist/components/user-action/Menu.mjs.map +1 -0
  248. package/dist/components/user-action/{MultiSelect.d.cts → MultiSelect.d.mts} +3 -3
  249. package/dist/components/user-action/MultiSelect.js +118 -84
  250. package/dist/components/user-action/MultiSelect.js.map +1 -1
  251. package/dist/components/user-action/{MultiSelect.cjs → MultiSelect.mjs} +85 -120
  252. package/dist/components/user-action/MultiSelect.mjs.map +1 -0
  253. package/dist/components/user-action/ScrollPicker.js +50 -16
  254. package/dist/components/user-action/ScrollPicker.js.map +1 -1
  255. package/dist/components/user-action/{ScrollPicker.cjs → ScrollPicker.mjs} +17 -52
  256. package/dist/components/user-action/ScrollPicker.mjs.map +1 -0
  257. package/dist/components/user-action/{Select.d.cts → Select.d.mts} +2 -2
  258. package/dist/components/user-action/Select.d.ts +1 -1
  259. package/dist/components/user-action/Select.js +88 -53
  260. package/dist/components/user-action/Select.js.map +1 -1
  261. package/dist/components/user-action/{Select.cjs → Select.mjs} +53 -91
  262. package/dist/components/user-action/Select.mjs.map +1 -0
  263. package/dist/components/user-action/{Textarea.d.cts → Textarea.d.mts} +1 -1
  264. package/dist/components/user-action/Textarea.js +60 -25
  265. package/dist/components/user-action/Textarea.js.map +1 -1
  266. package/dist/components/user-action/Textarea.mjs +163 -0
  267. package/dist/components/user-action/Textarea.mjs.map +1 -0
  268. package/dist/components/user-action/ToggleableInput.js +61 -26
  269. package/dist/components/user-action/ToggleableInput.js.map +1 -1
  270. package/dist/components/user-action/ToggleableInput.mjs +156 -0
  271. package/dist/components/user-action/ToggleableInput.mjs.map +1 -0
  272. package/dist/components/user-action/Tooltip.js +41 -15
  273. package/dist/components/user-action/Tooltip.js.map +1 -1
  274. package/dist/components/user-action/{Tooltip.cjs → Tooltip.mjs} +16 -43
  275. package/dist/components/user-action/Tooltip.mjs.map +1 -0
  276. package/dist/css/globals.css +33 -24
  277. package/dist/css/uncompiled/globals.css +19 -7
  278. package/dist/hooks/useHoverState.js +31 -7
  279. package/dist/hooks/useHoverState.js.map +1 -1
  280. package/dist/hooks/useHoverState.mjs +47 -0
  281. package/dist/hooks/{useHoverState.cjs.map → useHoverState.mjs.map} +1 -1
  282. package/dist/hooks/useLocalStorage.js +31 -7
  283. package/dist/hooks/useLocalStorage.js.map +1 -1
  284. package/dist/hooks/useLocalStorage.mjs +58 -0
  285. package/dist/hooks/{useLocalStorage.cjs.map → useLocalStorage.mjs.map} +1 -1
  286. package/dist/hooks/useOutsideClick.js +28 -4
  287. package/dist/hooks/useOutsideClick.js.map +1 -1
  288. package/dist/hooks/useOutsideClick.mjs +23 -0
  289. package/dist/hooks/{useOutsideClick.cjs.map → useOutsideClick.mjs.map} +1 -1
  290. package/dist/hooks/useSaveDelay.js +30 -6
  291. package/dist/hooks/useSaveDelay.js.map +1 -1
  292. package/dist/hooks/useSaveDelay.mjs +43 -0
  293. package/dist/hooks/{useSaveDelay.cjs.map → useSaveDelay.mjs.map} +1 -1
  294. package/dist/{index.d.cts → index.d.mts} +78 -78
  295. package/dist/index.js +1038 -885
  296. package/dist/index.js.map +1 -1
  297. package/dist/{index.cjs → index.mjs} +886 -1038
  298. package/dist/index.mjs.map +1 -0
  299. package/dist/localization/{LanguageProvider.d.cts → LanguageProvider.d.mts} +1 -1
  300. package/dist/localization/LanguageProvider.js +43 -16
  301. package/dist/localization/LanguageProvider.js.map +1 -1
  302. package/dist/localization/{LanguageProvider.cjs → LanguageProvider.mjs} +17 -45
  303. package/dist/localization/LanguageProvider.mjs.map +1 -0
  304. package/dist/localization/{useTranslation.d.cts → useTranslation.d.mts} +1 -1
  305. package/dist/localization/useTranslation.js +33 -7
  306. package/dist/localization/useTranslation.js.map +1 -1
  307. package/dist/localization/useTranslation.mjs +42 -0
  308. package/dist/localization/useTranslation.mjs.map +1 -0
  309. package/dist/localization/util.js +26 -2
  310. package/dist/localization/util.js.map +1 -1
  311. package/dist/localization/util.mjs +16 -0
  312. package/dist/localization/{util.cjs.map → util.mjs.map} +1 -1
  313. package/dist/theming/{useTheme.d.cts → useTheme.d.mts} +2 -2
  314. package/dist/theming/useTheme.js +37 -10
  315. package/dist/theming/useTheme.js.map +1 -1
  316. package/dist/theming/useTheme.mjs +48 -0
  317. package/dist/theming/useTheme.mjs.map +1 -0
  318. package/dist/util/array.js +32 -2
  319. package/dist/util/array.js.map +1 -1
  320. package/dist/util/{array.cjs → array.mjs} +3 -34
  321. package/dist/util/{array.cjs.map → array.mjs.map} +1 -1
  322. package/dist/util/builder.js +26 -2
  323. package/dist/util/builder.js.map +1 -1
  324. package/dist/util/builder.mjs +9 -0
  325. package/dist/util/{builder.cjs.map → builder.mjs.map} +1 -1
  326. package/dist/util/date.js +39 -2
  327. package/dist/util/date.js.map +1 -1
  328. package/dist/util/{date.cjs → date.mjs} +3 -41
  329. package/dist/util/date.mjs.map +1 -0
  330. package/dist/util/easeFunctions.js +28 -2
  331. package/dist/util/easeFunctions.js.map +1 -1
  332. package/dist/util/easeFunctions.mjs +36 -0
  333. package/dist/util/easeFunctions.mjs.map +1 -0
  334. package/dist/util/emailValidation.js +26 -2
  335. package/dist/util/emailValidation.js.map +1 -1
  336. package/dist/util/emailValidation.mjs +8 -0
  337. package/dist/util/{emailValidation.cjs.map → emailValidation.mjs.map} +1 -1
  338. package/dist/util/loopingArray.js +26 -2
  339. package/dist/util/loopingArray.js.map +1 -1
  340. package/dist/util/{loopingArray.cjs → loopingArray.mjs} +3 -28
  341. package/dist/util/{loopingArray.cjs.map → loopingArray.mjs.map} +1 -1
  342. package/dist/util/math.js +26 -2
  343. package/dist/util/math.js.map +1 -1
  344. package/dist/util/math.mjs +8 -0
  345. package/dist/util/{math.cjs.map → math.mjs.map} +1 -1
  346. package/dist/util/news.d.mts +101 -0
  347. package/dist/util/news.d.ts +54 -54
  348. package/dist/util/news.js +39 -12
  349. package/dist/util/news.js.map +1 -1
  350. package/dist/util/news.mjs +49 -0
  351. package/dist/util/news.mjs.map +1 -0
  352. package/dist/util/noop.d.mts +3 -0
  353. package/dist/util/noop.d.ts +1 -1
  354. package/dist/util/noop.js +26 -2
  355. package/dist/util/noop.js.map +1 -1
  356. package/dist/util/noop.mjs +6 -0
  357. package/dist/util/noop.mjs.map +1 -0
  358. package/dist/util/simpleSearch.js +29 -2
  359. package/dist/util/simpleSearch.js.map +1 -1
  360. package/dist/util/simpleSearch.mjs +26 -0
  361. package/dist/util/{simpleSearch.cjs.map → simpleSearch.mjs.map} +1 -1
  362. package/dist/util/storage.js +27 -2
  363. package/dist/util/storage.js.map +1 -1
  364. package/dist/util/storage.mjs +38 -0
  365. package/dist/util/{storage.cjs.map → storage.mjs.map} +1 -1
  366. package/dist/util/types.js +17 -0
  367. package/dist/util/types.js.map +1 -1
  368. package/dist/util/types.mjs +1 -0
  369. package/dist/util/types.mjs.map +1 -0
  370. package/package.json +5 -7
  371. package/dist/coloring/shading.cjs +0 -3402
  372. package/dist/coloring/shading.cjs.map +0 -1
  373. package/dist/coloring/types.cjs +0 -31
  374. package/dist/components/branding/HelpwaveBadge.cjs +0 -157
  375. package/dist/components/branding/HelpwaveBadge.cjs.map +0 -1
  376. package/dist/components/date/DatePicker.cjs.map +0 -1
  377. package/dist/components/date/DayPicker.cjs.map +0 -1
  378. package/dist/components/date/TimeDisplay.cjs.map +0 -1
  379. package/dist/components/date/TimePicker.cjs.map +0 -1
  380. package/dist/components/date/YearMonthPicker.cjs.map +0 -1
  381. package/dist/components/dialogs/ConfirmDialog.cjs.map +0 -1
  382. package/dist/components/icons-and-geometry/Avatar.cjs +0 -119
  383. package/dist/components/icons-and-geometry/Circle.cjs +0 -62
  384. package/dist/components/icons-and-geometry/Helpwave.cjs +0 -100
  385. package/dist/components/icons-and-geometry/Tag.cjs +0 -47
  386. package/dist/components/layout-and-navigation/Chip.cjs +0 -105
  387. package/dist/components/layout-and-navigation/DividerInserter.cjs +0 -60
  388. package/dist/components/layout-and-navigation/Expandable.cjs +0 -117
  389. package/dist/components/layout-and-navigation/Expandable.cjs.map +0 -1
  390. package/dist/components/layout-and-navigation/FAQSection.cjs.map +0 -1
  391. package/dist/components/layout-and-navigation/Overlay.cjs.map +0 -1
  392. package/dist/components/layout-and-navigation/Pagination.cjs +0 -117
  393. package/dist/components/layout-and-navigation/Pagination.cjs.map +0 -1
  394. package/dist/components/layout-and-navigation/SearchableList.cjs +0 -287
  395. package/dist/components/layout-and-navigation/SearchableList.cjs.map +0 -1
  396. package/dist/components/layout-and-navigation/StepperBar.cjs.map +0 -1
  397. package/dist/components/layout-and-navigation/Table.cjs.map +0 -1
  398. package/dist/components/layout-and-navigation/TextImage.cjs +0 -138
  399. package/dist/components/layout-and-navigation/TextImage.cjs.map +0 -1
  400. package/dist/components/layout-and-navigation/Tile.cjs +0 -58
  401. package/dist/components/layout-and-navigation/VerticalDivider.cjs +0 -81
  402. package/dist/components/loading-states/ErrorComponent.cjs +0 -103
  403. package/dist/components/loading-states/ErrorComponent.cjs.map +0 -1
  404. package/dist/components/loading-states/LoadingAndErrorComponent.cjs +0 -229
  405. package/dist/components/loading-states/LoadingAndErrorComponent.cjs.map +0 -1
  406. package/dist/components/loading-states/LoadingAnimation.cjs +0 -176
  407. package/dist/components/loading-states/LoadingAnimation.cjs.map +0 -1
  408. package/dist/components/loading-states/LoadingButton.cjs.map +0 -1
  409. package/dist/components/loading-states/ProgressIndicator.cjs +0 -84
  410. package/dist/components/modals/ConfirmModal.cjs.map +0 -1
  411. package/dist/components/modals/DiscardChangesModal.cjs.map +0 -1
  412. package/dist/components/modals/InputModal.cjs.map +0 -1
  413. package/dist/components/modals/LanguageModal.cjs.map +0 -1
  414. package/dist/components/modals/ThemeModal.cjs.map +0 -1
  415. package/dist/components/properties/CheckboxProperty.cjs.map +0 -1
  416. package/dist/components/properties/DateProperty.cjs.map +0 -1
  417. package/dist/components/properties/MultiSelectProperty.cjs.map +0 -1
  418. package/dist/components/properties/NumberProperty.cjs.map +0 -1
  419. package/dist/components/properties/PropertyBase.cjs +0 -223
  420. package/dist/components/properties/PropertyBase.cjs.map +0 -1
  421. package/dist/components/properties/SelectProperty.cjs.map +0 -1
  422. package/dist/components/properties/TextProperty.cjs.map +0 -1
  423. package/dist/components/user-action/Checkbox.cjs +0 -158
  424. package/dist/components/user-action/Checkbox.cjs.map +0 -1
  425. package/dist/components/user-action/DateAndTimePicker.cjs.map +0 -1
  426. package/dist/components/user-action/Input.cjs +0 -223
  427. package/dist/components/user-action/Input.cjs.map +0 -1
  428. package/dist/components/user-action/Label.cjs +0 -56
  429. package/dist/components/user-action/Menu.cjs +0 -163
  430. package/dist/components/user-action/Menu.cjs.map +0 -1
  431. package/dist/components/user-action/MultiSelect.cjs.map +0 -1
  432. package/dist/components/user-action/ScrollPicker.cjs.map +0 -1
  433. package/dist/components/user-action/Select.cjs.map +0 -1
  434. package/dist/components/user-action/Textarea.cjs +0 -199
  435. package/dist/components/user-action/Textarea.cjs.map +0 -1
  436. package/dist/components/user-action/ToggleableInput.cjs +0 -192
  437. package/dist/components/user-action/ToggleableInput.cjs.map +0 -1
  438. package/dist/components/user-action/Tooltip.cjs.map +0 -1
  439. package/dist/hooks/useHoverState.cjs +0 -72
  440. package/dist/hooks/useLocalStorage.cjs +0 -83
  441. package/dist/hooks/useOutsideClick.cjs +0 -48
  442. package/dist/hooks/useSaveDelay.cjs +0 -68
  443. package/dist/index.cjs.map +0 -1
  444. package/dist/localization/LanguageProvider.cjs.map +0 -1
  445. package/dist/localization/useTranslation.cjs +0 -69
  446. package/dist/localization/useTranslation.cjs.map +0 -1
  447. package/dist/localization/util.cjs +0 -41
  448. package/dist/theming/useTheme.cjs +0 -76
  449. package/dist/theming/useTheme.cjs.map +0 -1
  450. package/dist/util/builder.cjs +0 -34
  451. package/dist/util/date.cjs.map +0 -1
  452. package/dist/util/easeFunctions.cjs +0 -63
  453. package/dist/util/easeFunctions.cjs.map +0 -1
  454. package/dist/util/emailValidation.cjs +0 -33
  455. package/dist/util/math.cjs +0 -33
  456. package/dist/util/news.cjs +0 -77
  457. package/dist/util/news.cjs.map +0 -1
  458. package/dist/util/news.d.cts +0 -101
  459. package/dist/util/noop.cjs +0 -31
  460. package/dist/util/noop.cjs.map +0 -1
  461. package/dist/util/noop.d.cts +0 -3
  462. package/dist/util/simpleSearch.cjs +0 -54
  463. package/dist/util/storage.cjs +0 -64
  464. package/dist/util/types.cjs +0 -19
  465. package/dist/util/types.cjs.map +0 -1
  466. /package/dist/coloring/{types.d.cts → types.d.mts} +0 -0
  467. /package/dist/components/branding/{HelpwaveBadge.d.cts → HelpwaveBadge.d.mts} +0 -0
  468. /package/dist/components/date/{TimePicker.d.cts → TimePicker.d.mts} +0 -0
  469. /package/dist/components/icons-and-geometry/{Avatar.d.cts → Avatar.d.mts} +0 -0
  470. /package/dist/components/icons-and-geometry/{Circle.d.cts → Circle.d.mts} +0 -0
  471. /package/dist/components/icons-and-geometry/{Helpwave.d.cts → Helpwave.d.mts} +0 -0
  472. /package/dist/components/icons-and-geometry/{Ring.d.cts → Ring.d.mts} +0 -0
  473. /package/dist/components/icons-and-geometry/{Tag.d.cts → Tag.d.mts} +0 -0
  474. /package/dist/components/layout-and-navigation/{BreadCrumb.d.cts → BreadCrumb.d.mts} +0 -0
  475. /package/dist/components/layout-and-navigation/{Carousel.d.cts → Carousel.d.mts} +0 -0
  476. /package/dist/components/layout-and-navigation/{Chip.d.cts → Chip.d.mts} +0 -0
  477. /package/dist/components/layout-and-navigation/{DividerInserter.d.cts → DividerInserter.d.mts} +0 -0
  478. /package/dist/components/layout-and-navigation/{Expandable.d.cts → Expandable.d.mts} +0 -0
  479. /package/dist/components/layout-and-navigation/{Tile.d.cts → Tile.d.mts} +0 -0
  480. /package/dist/components/layout-and-navigation/{VerticalDivider.d.cts → VerticalDivider.d.mts} +0 -0
  481. /package/dist/components/loading-states/{ProgressIndicator.d.cts → ProgressIndicator.d.mts} +0 -0
  482. /package/dist/components/user-action/{Button.d.cts → Button.d.mts} +0 -0
  483. /package/dist/components/user-action/{Label.d.cts → Label.d.mts} +0 -0
  484. /package/dist/components/user-action/{Menu.d.cts → Menu.d.mts} +0 -0
  485. /package/dist/components/user-action/{ScrollPicker.d.cts → ScrollPicker.d.mts} +0 -0
  486. /package/dist/components/user-action/{ToggleableInput.d.cts → ToggleableInput.d.mts} +0 -0
  487. /package/dist/components/user-action/{Tooltip.d.cts → Tooltip.d.mts} +0 -0
  488. /package/dist/hooks/{useHoverState.d.cts → useHoverState.d.mts} +0 -0
  489. /package/dist/hooks/{useLocalStorage.d.cts → useLocalStorage.d.mts} +0 -0
  490. /package/dist/hooks/{useOutsideClick.d.cts → useOutsideClick.d.mts} +0 -0
  491. /package/dist/hooks/{useSaveDelay.d.cts → useSaveDelay.d.mts} +0 -0
  492. /package/dist/localization/{util.d.cts → util.d.mts} +0 -0
  493. /package/dist/util/{array.d.cts → array.d.mts} +0 -0
  494. /package/dist/util/{builder.d.cts → builder.d.mts} +0 -0
  495. /package/dist/util/{date.d.cts → date.d.mts} +0 -0
  496. /package/dist/util/{easeFunctions.d.cts → easeFunctions.d.mts} +0 -0
  497. /package/dist/util/{emailValidation.d.cts → emailValidation.d.mts} +0 -0
  498. /package/dist/util/{loopingArray.d.cts → loopingArray.d.mts} +0 -0
  499. /package/dist/util/{math.d.cts → math.d.mts} +0 -0
  500. /package/dist/util/{simpleSearch.d.cts → simpleSearch.d.mts} +0 -0
  501. /package/dist/util/{storage.d.cts → storage.d.mts} +0 -0
  502. /package/dist/util/{types.d.cts → types.d.mts} +0 -0
@@ -1,45 +1,11 @@
1
- "use strict";
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __export = (target, all) => {
9
- for (var name in all)
10
- __defProp(target, name, { get: all[name], enumerable: true });
11
- };
12
- var __copyProps = (to, from, except, desc) => {
13
- if (from && typeof from === "object" || typeof from === "function") {
14
- for (let key of __getOwnPropNames(from))
15
- if (!__hasOwnProp.call(to, key) && key !== except)
16
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
- }
18
- return to;
19
- };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
- // If the importer is in node compatibility mode or this is not an ESM
22
- // file that has been converted to a CommonJS file using a Babel-
23
- // compatible transform (i.e. "__esModule" has not been set), then set
24
- // "default" to the CommonJS "module.exports" for node compatibility.
25
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
- mod
27
- ));
28
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
-
30
1
  // src/components/user-action/DateAndTimePicker.tsx
31
- var DateAndTimePicker_exports = {};
32
- __export(DateAndTimePicker_exports, {
33
- DateTimePicker: () => DateTimePicker
34
- });
35
- module.exports = __toCommonJS(DateAndTimePicker_exports);
36
- var import_clsx7 = __toESM(require("clsx"), 1);
2
+ import clsx7 from "clsx";
37
3
 
38
4
  // src/localization/LanguageProvider.tsx
39
- var import_react2 = require("react");
5
+ import { createContext, useContext, useEffect as useEffect2, useState as useState2 } from "react";
40
6
 
41
7
  // src/hooks/useLocalStorage.ts
42
- var import_react = require("react");
8
+ import { useCallback, useEffect, useState } from "react";
43
9
 
44
10
  // src/localization/util.ts
45
11
  var languages = ["en", "de"];
@@ -55,12 +21,12 @@ var LanguageUtil = {
55
21
  };
56
22
 
57
23
  // src/localization/LanguageProvider.tsx
58
- var import_jsx_runtime = require("react/jsx-runtime");
59
- var LanguageContext = (0, import_react2.createContext)({
24
+ import { jsx } from "react/jsx-runtime";
25
+ var LanguageContext = createContext({
60
26
  language: LanguageUtil.DEFAULT_LANGUAGE,
61
27
  setLanguage: (v) => v
62
28
  });
63
- var useLanguage = () => (0, import_react2.useContext)(LanguageContext);
29
+ var useLanguage = () => useContext(LanguageContext);
64
30
  var useLocale = (overWriteLanguage) => {
65
31
  const { language } = useLanguage();
66
32
  const mapping = {
@@ -204,8 +170,8 @@ var getWeeksForCalenderMonth = (date, weekStart, weeks = 6) => {
204
170
  };
205
171
 
206
172
  // src/components/user-action/Button.tsx
207
- var import_clsx = __toESM(require("clsx"), 1);
208
- var import_jsx_runtime2 = require("react/jsx-runtime");
173
+ import clsx from "clsx";
174
+ import { jsx as jsx2, jsxs } from "react/jsx-runtime";
209
175
  var paddingMapping = {
210
176
  small: "btn-sm",
211
177
  medium: "btn-md",
@@ -249,25 +215,25 @@ var SolidButton = ({
249
215
  negative: "text-button-solid-negative-icon",
250
216
  neutral: "text-button-solid-neutral-icon"
251
217
  }[color];
252
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
218
+ return /* @__PURE__ */ jsxs(
253
219
  "button",
254
220
  {
255
221
  onClick: disabled ? void 0 : onClick,
256
222
  disabled: disabled || onClick === void 0,
257
- className: (0, import_clsx.default)(
223
+ className: clsx(
258
224
  {
259
225
  "text-disabled-text bg-disabled-background cursor-not-allowed": disabled,
260
- [(0, import_clsx.default)(colorClasses, "hover:brightness-90")]: !disabled
226
+ [clsx(colorClasses, "hover:brightness-90")]: !disabled
261
227
  },
262
228
  ButtonUtil.paddingMapping[size],
263
229
  className
264
230
  ),
265
231
  ...restProps,
266
232
  children: [
267
- startIcon && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
233
+ startIcon && /* @__PURE__ */ jsx2(
268
234
  "span",
269
235
  {
270
- className: (0, import_clsx.default)({
236
+ className: clsx({
271
237
  [iconColorClasses]: !disabled,
272
238
  [`text-disabled-icon`]: disabled
273
239
  }),
@@ -275,10 +241,10 @@ var SolidButton = ({
275
241
  }
276
242
  ),
277
243
  children,
278
- endIcon && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
244
+ endIcon && /* @__PURE__ */ jsx2(
279
245
  "span",
280
246
  {
281
- className: (0, import_clsx.default)({
247
+ className: clsx({
282
248
  [iconColorClasses]: !disabled,
283
249
  [`text-disabled-icon`]: disabled
284
250
  }),
@@ -310,25 +276,25 @@ var TextButton = ({
310
276
  negative: "text-button-text-negative-icon",
311
277
  neutral: "text-button-text-neutral-icon"
312
278
  }[color];
313
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
279
+ return /* @__PURE__ */ jsxs(
314
280
  "button",
315
281
  {
316
282
  onClick: disabled ? void 0 : onClick,
317
283
  disabled: disabled || onClick === void 0,
318
- className: (0, import_clsx.default)(
284
+ className: clsx(
319
285
  {
320
286
  "text-disabled-text cursor-not-allowed": disabled,
321
- [(0, import_clsx.default)(colorClasses, "hover:bg-button-text-hover-background rounded-full")]: !disabled
287
+ [clsx(colorClasses, "hover:bg-button-text-hover-background rounded-full")]: !disabled
322
288
  },
323
289
  ButtonUtil.paddingMapping[size],
324
290
  className
325
291
  ),
326
292
  ...restProps,
327
293
  children: [
328
- startIcon && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
294
+ startIcon && /* @__PURE__ */ jsx2(
329
295
  "span",
330
296
  {
331
- className: (0, import_clsx.default)({
297
+ className: clsx({
332
298
  [iconColorClasses]: !disabled,
333
299
  [`text-disabled-icon`]: disabled
334
300
  }),
@@ -336,10 +302,10 @@ var TextButton = ({
336
302
  }
337
303
  ),
338
304
  children,
339
- endIcon && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
305
+ endIcon && /* @__PURE__ */ jsx2(
340
306
  "span",
341
307
  {
342
- className: (0, import_clsx.default)({
308
+ className: clsx({
343
309
  [iconColorClasses]: !disabled,
344
310
  [`text-disabled-icon`]: disabled
345
311
  }),
@@ -352,10 +318,10 @@ var TextButton = ({
352
318
  };
353
319
 
354
320
  // src/components/date/TimePicker.tsx
355
- var import_react3 = require("react");
356
- var import_react_custom_scrollbars_2 = require("react-custom-scrollbars-2");
357
- var import_clsx2 = __toESM(require("clsx"), 1);
358
- var import_jsx_runtime3 = require("react/jsx-runtime");
321
+ import { useEffect as useEffect3, useRef, useState as useState3 } from "react";
322
+ import { Scrollbars } from "react-custom-scrollbars-2";
323
+ import clsx2 from "clsx";
324
+ import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
359
325
  var TimePicker = ({
360
326
  time = /* @__PURE__ */ new Date(),
361
327
  onChange = noop,
@@ -364,12 +330,12 @@ var TimePicker = ({
364
330
  maxHeight = 300,
365
331
  className = ""
366
332
  }) => {
367
- const minuteRef = (0, import_react3.useRef)(null);
368
- const hourRef = (0, import_react3.useRef)(null);
333
+ const minuteRef = useRef(null);
334
+ const hourRef = useRef(null);
369
335
  const isPM = time.getHours() >= 11;
370
336
  const hours = is24HourFormat ? range(0, 23) : range(1, 12);
371
337
  let minutes = range(0, 59);
372
- (0, import_react3.useEffect)(() => {
338
+ useEffect3(() => {
373
339
  const scrollToItem = () => {
374
340
  if (minuteRef.current) {
375
341
  const container = minuteRef.current.parentElement;
@@ -384,7 +350,7 @@ var TimePicker = ({
384
350
  };
385
351
  scrollToItem();
386
352
  }, [minuteRef, minuteRef.current]);
387
- (0, import_react3.useEffect)(() => {
353
+ useEffect3(() => {
388
354
  const scrollToItem = () => {
389
355
  if (hourRef.current) {
390
356
  const container = hourRef.current.parentElement;
@@ -414,7 +380,7 @@ var TimePicker = ({
414
380
  break;
415
381
  }
416
382
  const closestMinute = closestMatch(minutes, (item1, item2) => Math.abs(item1 - time.getMinutes()) < Math.abs(item2 - time.getMinutes()));
417
- const style = (selected) => (0, import_clsx2.default)(
383
+ const style = (selected) => clsx2(
418
384
  "chip-full hover:brightness-90 hover:bg-primary hover:text-on-primary rounded-md mr-3",
419
385
  { "bg-primary text-on-primary": selected, "bg-white text-black": !selected }
420
386
  );
@@ -423,10 +389,10 @@ var TimePicker = ({
423
389
  transformer(newDate);
424
390
  onChange(newDate);
425
391
  };
426
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: (0, import_clsx2.default)("row gap-x-2 w-fit min-w-[150px] select-none", className), children: [
427
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_react_custom_scrollbars_2.Scrollbars, { autoHeight: true, autoHeightMax: maxHeight, style: { height: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { className: "col gap-y-1 h-full", children: hours.map((hour) => {
392
+ return /* @__PURE__ */ jsxs2("div", { className: clsx2("row gap-x-2 w-fit min-w-[150px] select-none", className), children: [
393
+ /* @__PURE__ */ jsx3(Scrollbars, { autoHeight: true, autoHeightMax: maxHeight, style: { height: "100%" }, children: /* @__PURE__ */ jsx3("div", { className: "col gap-y-1 h-full", children: hours.map((hour) => {
428
394
  const currentHour = hour === time.getHours() - (!is24HourFormat && isPM ? 12 : 0);
429
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
395
+ return /* @__PURE__ */ jsx3(
430
396
  "button",
431
397
  {
432
398
  ref: currentHour ? hourRef : void 0,
@@ -437,9 +403,9 @@ var TimePicker = ({
437
403
  hour
438
404
  );
439
405
  }) }) }),
440
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_react_custom_scrollbars_2.Scrollbars, { autoHeight: true, autoHeightMax: maxHeight, style: { height: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { className: "col gap-y-1 h-full", children: minutes.map((minute) => {
406
+ /* @__PURE__ */ jsx3(Scrollbars, { autoHeight: true, autoHeightMax: maxHeight, style: { height: "100%" }, children: /* @__PURE__ */ jsx3("div", { className: "col gap-y-1 h-full", children: minutes.map((minute) => {
441
407
  const currentMinute = minute === closestMinute;
442
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
408
+ return /* @__PURE__ */ jsx3(
443
409
  "button",
444
410
  {
445
411
  ref: currentMinute ? minuteRef : void 0,
@@ -450,8 +416,8 @@ var TimePicker = ({
450
416
  minute + minuteIncrement
451
417
  );
452
418
  }) }) }),
453
- !is24HourFormat && /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "col gap-y-1", children: [
454
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
419
+ !is24HourFormat && /* @__PURE__ */ jsxs2("div", { className: "col gap-y-1", children: [
420
+ /* @__PURE__ */ jsx3(
455
421
  "button",
456
422
  {
457
423
  className: style(!isPM),
@@ -459,7 +425,7 @@ var TimePicker = ({
459
425
  children: "AM"
460
426
  }
461
427
  ),
462
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
428
+ /* @__PURE__ */ jsx3(
463
429
  "button",
464
430
  {
465
431
  className: style(isPM),
@@ -472,22 +438,22 @@ var TimePicker = ({
472
438
  };
473
439
 
474
440
  // src/components/date/DatePicker.tsx
475
- var import_react7 = require("react");
476
- var import_lucide_react2 = require("lucide-react");
477
- var import_clsx6 = __toESM(require("clsx"), 1);
441
+ import { useEffect as useEffect7, useState as useState7 } from "react";
442
+ import { ArrowDown, ArrowUp, ChevronDown as ChevronDown2 } from "lucide-react";
443
+ import clsx6 from "clsx";
478
444
 
479
445
  // src/components/date/YearMonthPicker.tsx
480
- var import_react5 = require("react");
481
- var import_react_custom_scrollbars_22 = require("react-custom-scrollbars-2");
482
- var import_clsx4 = __toESM(require("clsx"), 1);
446
+ import { useEffect as useEffect5, useRef as useRef2, useState as useState5 } from "react";
447
+ import { Scrollbars as Scrollbars2 } from "react-custom-scrollbars-2";
448
+ import clsx4 from "clsx";
483
449
 
484
450
  // src/components/layout-and-navigation/Expandable.tsx
485
- var import_react4 = require("react");
486
- var import_lucide_react = require("lucide-react");
487
- var import_clsx3 = __toESM(require("clsx"), 1);
488
- var import_jsx_runtime4 = require("react/jsx-runtime");
489
- var DefaultIcon = (expanded) => expanded ? /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_lucide_react.ChevronUp, { size: 16, className: "min-w-[16px]" }) : /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_lucide_react.ChevronDown, { size: 16, className: "min-w-[16px]" });
490
- var Expandable = (0, import_react4.forwardRef)(function Expandable2({
451
+ import { forwardRef, useEffect as useEffect4, useState as useState4 } from "react";
452
+ import { ChevronDown, ChevronUp } from "lucide-react";
453
+ import clsx3 from "clsx";
454
+ import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
455
+ var DefaultIcon = (expanded) => expanded ? /* @__PURE__ */ jsx4(ChevronUp, { size: 16, className: "min-w-[16px]" }) : /* @__PURE__ */ jsx4(ChevronDown, { size: 16, className: "min-w-[16px]" });
456
+ var Expandable = forwardRef(function Expandable2({
491
457
  children,
492
458
  label,
493
459
  icon,
@@ -499,17 +465,17 @@ var Expandable = (0, import_react4.forwardRef)(function Expandable2({
499
465
  headerClassName = ""
500
466
  }, ref) {
501
467
  icon ??= DefaultIcon;
502
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
468
+ return /* @__PURE__ */ jsxs3(
503
469
  "div",
504
470
  {
505
471
  ref,
506
- className: (0, import_clsx3.default)("col gap-y-0 bg-surface text-on-surface group rounded-lg shadow-sm", { "cursor-pointer": !clickOnlyOnHeader && !disabled }, className),
472
+ className: clsx3("col gap-y-0 bg-surface text-on-surface group rounded-lg shadow-sm", { "cursor-pointer": !clickOnlyOnHeader && !disabled }, className),
507
473
  onClick: () => !clickOnlyOnHeader && !disabled && onChange(!isExpanded),
508
474
  children: [
509
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
475
+ /* @__PURE__ */ jsxs3(
510
476
  "div",
511
477
  {
512
- className: (0, import_clsx3.default)(
478
+ className: clsx3(
513
479
  "row py-2 px-4 rounded-lg justify-between items-center bg-surface text-on-surface select-none",
514
480
  {
515
481
  "group-hover:brightness-95": !isExpanded,
@@ -525,21 +491,21 @@ var Expandable = (0, import_react4.forwardRef)(function Expandable2({
525
491
  ]
526
492
  }
527
493
  ),
528
- isExpanded && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: "col px-4 pb-2", children })
494
+ isExpanded && /* @__PURE__ */ jsx4("div", { className: "col px-4 pb-2", children })
529
495
  ]
530
496
  }
531
497
  );
532
498
  });
533
- var ExpandableUncontrolled = (0, import_react4.forwardRef)(function ExpandableUncontrolled2({
499
+ var ExpandableUncontrolled = forwardRef(function ExpandableUncontrolled2({
534
500
  isExpanded,
535
501
  onChange = noop,
536
502
  ...props
537
503
  }, ref) {
538
- const [usedIsExpanded, setUsedIsExpanded] = (0, import_react4.useState)(isExpanded);
539
- (0, import_react4.useEffect)(() => {
504
+ const [usedIsExpanded, setUsedIsExpanded] = useState4(isExpanded);
505
+ useEffect4(() => {
540
506
  setUsedIsExpanded(isExpanded);
541
507
  }, [isExpanded]);
542
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
508
+ return /* @__PURE__ */ jsx4(
543
509
  Expandable,
544
510
  {
545
511
  ...props,
@@ -554,7 +520,7 @@ var ExpandableUncontrolled = (0, import_react4.forwardRef)(function ExpandableUn
554
520
  });
555
521
 
556
522
  // src/components/date/YearMonthPicker.tsx
557
- var import_jsx_runtime5 = require("react/jsx-runtime");
523
+ import { jsx as jsx5 } from "react/jsx-runtime";
558
524
  var YearMonthPicker = ({
559
525
  displayedYearMonth = /* @__PURE__ */ new Date(),
560
526
  start = subtractDuration(/* @__PURE__ */ new Date(), { years: 50 }),
@@ -565,8 +531,8 @@ var YearMonthPicker = ({
565
531
  showValueOpen = true
566
532
  }) => {
567
533
  const locale = useLocale();
568
- const ref = (0, import_react5.useRef)(null);
569
- (0, import_react5.useEffect)(() => {
534
+ const ref = useRef2(null);
535
+ useEffect5(() => {
570
536
  const scrollToItem = () => {
571
537
  if (ref.current) {
572
538
  ref.current.scrollIntoView({
@@ -582,15 +548,15 @@ var YearMonthPicker = ({
582
548
  return null;
583
549
  }
584
550
  const years = range(start.getFullYear(), end.getFullYear());
585
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: (0, import_clsx4.default)("col select-none", className), children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_react_custom_scrollbars_22.Scrollbars, { autoHeight: true, autoHeightMax: maxHeight, style: { height: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: "col gap-y-1 mr-3", children: years.map((year) => {
551
+ return /* @__PURE__ */ jsx5("div", { className: clsx4("col select-none", className), children: /* @__PURE__ */ jsx5(Scrollbars2, { autoHeight: true, autoHeightMax: maxHeight, style: { height: "100%" }, children: /* @__PURE__ */ jsx5("div", { className: "col gap-y-1 mr-3", children: years.map((year) => {
586
552
  const selectedYear = displayedYearMonth.getFullYear() === year;
587
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
553
+ return /* @__PURE__ */ jsx5(
588
554
  ExpandableUncontrolled,
589
555
  {
590
556
  ref: (displayedYearMonth.getFullYear() ?? (/* @__PURE__ */ new Date()).getFullYear()) === year ? ref : void 0,
591
- label: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: (0, import_clsx4.default)({ "text-primary font-bold": selectedYear }), children: year }),
557
+ label: /* @__PURE__ */ jsx5("span", { className: clsx4({ "text-primary font-bold": selectedYear }), children: year }),
592
558
  isExpanded: showValueOpen && selectedYear,
593
- children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: "col gap-y-1 px-2 pb-2", children: equalSizeGroups([...monthsList], 3).map((monthList, index) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: "row", children: monthList.map((month) => {
559
+ children: equalSizeGroups([...monthsList], 3).map((monthList, index) => /* @__PURE__ */ jsx5("div", { className: "row", children: monthList.map((month) => {
594
560
  const monthIndex = monthsList.indexOf(month);
595
561
  const newDate = new Date(year, monthIndex);
596
562
  const selectedMonth = selectedYear && monthIndex === displayedYearMonth.getMonth();
@@ -599,11 +565,11 @@ var YearMonthPicker = ({
599
565
  const isAfterStart = start === void 0 || start <= addDuration(subtractDuration(lastOfMonth, { days: 1 }), { months: 1 });
600
566
  const isBeforeEnd = end === void 0 || firstOfMonth <= end;
601
567
  const isValid = isAfterStart && isBeforeEnd;
602
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
568
+ return /* @__PURE__ */ jsx5(
603
569
  "button",
604
570
  {
605
571
  disabled: !isValid,
606
- className: (0, import_clsx4.default)(
572
+ className: clsx4(
607
573
  "chip hover:brightness-95 flex-1",
608
574
  {
609
575
  "bg-gray-50 text-black": !selectedMonth && isValid,
@@ -618,7 +584,7 @@ var YearMonthPicker = ({
618
584
  },
619
585
  month
620
586
  );
621
- }) }, index)) })
587
+ }) }, index))
622
588
  },
623
589
  year
624
590
  );
@@ -626,9 +592,9 @@ var YearMonthPicker = ({
626
592
  };
627
593
 
628
594
  // src/components/date/DayPicker.tsx
629
- var import_clsx5 = __toESM(require("clsx"), 1);
630
- var import_react6 = require("react");
631
- var import_jsx_runtime6 = require("react/jsx-runtime");
595
+ import clsx5 from "clsx";
596
+ import { useEffect as useEffect6, useState as useState6 } from "react";
597
+ import { jsx as jsx6, jsxs as jsxs4 } from "react/jsx-runtime";
632
598
  var DayPicker = ({
633
599
  displayedMonth,
634
600
  selected,
@@ -642,18 +608,18 @@ var DayPicker = ({
642
608
  const locale = useLocale();
643
609
  const month = displayedMonth.getMonth();
644
610
  const weeks = getWeeksForCalenderMonth(displayedMonth, weekStart);
645
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: (0, import_clsx5.default)("col gap-y-1 min-w-[220px] select-none", className), children: [
646
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "row text-center", children: weeks[0].map((weekDay, index) => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "flex-1 font-semibold", children: new Intl.DateTimeFormat(locale, { weekday: "long" }).format(weekDay).substring(0, 2) }, index)) }),
647
- weeks.map((week, index) => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "row text-center", children: week.map((date) => {
611
+ return /* @__PURE__ */ jsxs4("div", { className: clsx5("col gap-y-1 min-w-[220px] select-none", className), children: [
612
+ /* @__PURE__ */ jsx6("div", { className: "row text-center", children: weeks[0].map((weekDay, index) => /* @__PURE__ */ jsx6("div", { className: "flex-1 font-semibold", children: new Intl.DateTimeFormat(locale, { weekday: "long" }).format(weekDay).substring(0, 2) }, index)) }),
613
+ weeks.map((week, index) => /* @__PURE__ */ jsx6("div", { className: "row text-center", children: week.map((date) => {
648
614
  const isSelected = !!selected && equalDate(selected, date);
649
615
  const isToday = equalDate(/* @__PURE__ */ new Date(), date);
650
616
  const isSameMonth = date.getMonth() === month;
651
617
  const isDayValid = isInTimeSpan(date, start, end);
652
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
618
+ return /* @__PURE__ */ jsx6(
653
619
  "button",
654
620
  {
655
621
  disabled: !isDayValid,
656
- className: (0, import_clsx5.default)(
622
+ className: clsx5(
657
623
  "flex-1 rounded-full border-2 border-transparent shadow-sm",
658
624
  {
659
625
  "text-gray-700 bg-gray-100": !isSameMonth && isDayValid,
@@ -674,7 +640,7 @@ var DayPicker = ({
674
640
  };
675
641
 
676
642
  // src/components/date/DatePicker.tsx
677
- var import_jsx_runtime7 = require("react/jsx-runtime");
643
+ import { jsx as jsx7, jsxs as jsxs5 } from "react/jsx-runtime";
678
644
  var defaultDatePickerTranslation = {
679
645
  en: {
680
646
  today: "Today"
@@ -696,28 +662,28 @@ var DatePicker = ({
696
662
  }) => {
697
663
  const locale = useLocale();
698
664
  const translation = useTranslation(defaultDatePickerTranslation, overwriteTranslation);
699
- const [displayedMonth, setDisplayedMonth] = (0, import_react7.useState)(value);
700
- const [displayMode, setDisplayMode] = (0, import_react7.useState)(initialDisplay);
701
- (0, import_react7.useEffect)(() => {
665
+ const [displayedMonth, setDisplayedMonth] = useState7(value);
666
+ const [displayMode, setDisplayMode] = useState7(initialDisplay);
667
+ useEffect7(() => {
702
668
  setDisplayedMonth(value);
703
669
  }, [value]);
704
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: (0, import_clsx6.default)("col gap-y-4", className), children: [
705
- /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "row items-center justify-between h-7", children: [
706
- /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
670
+ return /* @__PURE__ */ jsxs5("div", { className: clsx6("col gap-y-4", className), children: [
671
+ /* @__PURE__ */ jsxs5("div", { className: "row items-center justify-between h-7", children: [
672
+ /* @__PURE__ */ jsxs5(
707
673
  TextButton,
708
674
  {
709
- className: (0, import_clsx6.default)("row gap-x-1 items-center cursor-pointer select-none", {
675
+ className: clsx6("row gap-x-1 items-center cursor-pointer select-none", {
710
676
  "text-disabled-text": displayMode !== "day"
711
677
  }),
712
678
  onClick: () => setDisplayMode(displayMode === "day" ? "yearMonth" : "day"),
713
679
  children: [
714
680
  `${new Intl.DateTimeFormat(locale, { month: "long" }).format(displayedMonth)} ${displayedMonth.getFullYear()}`,
715
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_lucide_react2.ChevronDown, { size: 16 })
681
+ /* @__PURE__ */ jsx7(ChevronDown2, { size: 16 })
716
682
  ]
717
683
  }
718
684
  ),
719
- displayMode === "day" && /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "row justify-end", children: [
720
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
685
+ displayMode === "day" && /* @__PURE__ */ jsxs5("div", { className: "row justify-end", children: [
686
+ /* @__PURE__ */ jsx7(
721
687
  SolidButton,
722
688
  {
723
689
  size: "small",
@@ -726,10 +692,10 @@ var DatePicker = ({
726
692
  onClick: () => {
727
693
  setDisplayedMonth(subtractDuration(displayedMonth, { months: 1 }));
728
694
  },
729
- children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_lucide_react2.ArrowUp, { size: 20 })
695
+ children: /* @__PURE__ */ jsx7(ArrowUp, { size: 20 })
730
696
  }
731
697
  ),
732
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
698
+ /* @__PURE__ */ jsx7(
733
699
  SolidButton,
734
700
  {
735
701
  size: "small",
@@ -738,12 +704,12 @@ var DatePicker = ({
738
704
  onClick: () => {
739
705
  setDisplayedMonth(addDuration(displayedMonth, { months: 1 }));
740
706
  },
741
- children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_lucide_react2.ArrowDown, { size: 20 })
707
+ children: /* @__PURE__ */ jsx7(ArrowDown, { size: 20 })
742
708
  }
743
709
  )
744
710
  ] })
745
711
  ] }),
746
- displayMode === "yearMonth" ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
712
+ displayMode === "yearMonth" ? /* @__PURE__ */ jsx7(
747
713
  YearMonthPicker,
748
714
  {
749
715
  ...yearMonthPickerProps,
@@ -755,8 +721,8 @@ var DatePicker = ({
755
721
  setDisplayMode("day");
756
722
  }
757
723
  }
758
- ) : /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { children: [
759
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
724
+ ) : /* @__PURE__ */ jsxs5("div", { children: [
725
+ /* @__PURE__ */ jsx7(
760
726
  DayPicker,
761
727
  {
762
728
  ...dayPickerProps,
@@ -769,9 +735,10 @@ var DatePicker = ({
769
735
  }
770
736
  }
771
737
  ),
772
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "mt-2", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
738
+ /* @__PURE__ */ jsx7("div", { className: "mt-2", children: /* @__PURE__ */ jsx7(
773
739
  TextButton,
774
740
  {
741
+ color: "primary",
775
742
  onClick: () => {
776
743
  const newDate = /* @__PURE__ */ new Date();
777
744
  newDate.setHours(value.getHours(), value.getMinutes());
@@ -785,7 +752,7 @@ var DatePicker = ({
785
752
  };
786
753
 
787
754
  // src/components/user-action/DateAndTimePicker.tsx
788
- var import_jsx_runtime8 = require("react/jsx-runtime");
755
+ import { jsx as jsx8, jsxs as jsxs6 } from "react/jsx-runtime";
789
756
  var defaultTimeTranslation = {
790
757
  en: {
791
758
  clear: "Clear",
@@ -844,7 +811,7 @@ var DateTimePicker = ({
844
811
  let dateDisplay;
845
812
  let timeDisplay;
846
813
  if (useDate) {
847
- dateDisplay = /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
814
+ dateDisplay = /* @__PURE__ */ jsx8(
848
815
  DatePicker,
849
816
  {
850
817
  ...datePickerProps,
@@ -858,25 +825,25 @@ var DateTimePicker = ({
858
825
  );
859
826
  }
860
827
  if (useTime) {
861
- timeDisplay = /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
828
+ timeDisplay = /* @__PURE__ */ jsx8(
862
829
  TimePicker,
863
830
  {
864
831
  ...timePickerProps,
865
- className: (0, import_clsx7.default)("h-full", { "justify-between w-full": mode === "time" }),
832
+ className: clsx7("h-full", { "justify-between w-full": mode === "time" }),
866
833
  maxHeight: 250,
867
834
  time: value,
868
835
  onChange
869
836
  }
870
837
  );
871
838
  }
872
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "col w-fit", children: [
873
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "row gap-x-4", children: [
839
+ return /* @__PURE__ */ jsxs6("div", { className: "col w-fit", children: [
840
+ /* @__PURE__ */ jsxs6("div", { className: "row gap-x-4", children: [
874
841
  dateDisplay,
875
842
  timeDisplay
876
843
  ] }),
877
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "row justify-end", children: /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "row gap-x-2 mt-1", children: [
878
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SolidButton, { size: "medium", color: "negative", onClick: onRemove, children: translation.clear }),
879
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
844
+ /* @__PURE__ */ jsx8("div", { className: "row justify-end", children: /* @__PURE__ */ jsxs6("div", { className: "row gap-x-2 mt-1", children: [
845
+ /* @__PURE__ */ jsx8(SolidButton, { size: "medium", color: "negative", onClick: onRemove, children: translation.clear }),
846
+ /* @__PURE__ */ jsx8(
880
847
  SolidButton,
881
848
  {
882
849
  size: "medium",
@@ -887,8 +854,7 @@ var DateTimePicker = ({
887
854
  ] }) })
888
855
  ] });
889
856
  };
890
- // Annotate the CommonJS export names for ESM import in node:
891
- 0 && (module.exports = {
857
+ export {
892
858
  DateTimePicker
893
- });
894
- //# sourceMappingURL=DateAndTimePicker.cjs.map
859
+ };
860
+ //# sourceMappingURL=DateAndTimePicker.mjs.map