@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,11 +1,44 @@
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
+
1
29
  // src/components/user-action/DateAndTimePicker.tsx
2
- import clsx7 from "clsx";
30
+ var DateAndTimePicker_exports = {};
31
+ __export(DateAndTimePicker_exports, {
32
+ DateTimePicker: () => DateTimePicker
33
+ });
34
+ module.exports = __toCommonJS(DateAndTimePicker_exports);
35
+ var import_clsx7 = __toESM(require("clsx"));
3
36
 
4
37
  // src/localization/LanguageProvider.tsx
5
- import { createContext, useContext, useEffect as useEffect2, useState as useState2 } from "react";
38
+ var import_react2 = require("react");
6
39
 
7
40
  // src/hooks/useLocalStorage.ts
8
- import { useCallback, useEffect, useState } from "react";
41
+ var import_react = require("react");
9
42
 
10
43
  // src/localization/util.ts
11
44
  var languages = ["en", "de"];
@@ -21,12 +54,12 @@ var LanguageUtil = {
21
54
  };
22
55
 
23
56
  // src/localization/LanguageProvider.tsx
24
- import { jsx } from "react/jsx-runtime";
25
- var LanguageContext = createContext({
57
+ var import_jsx_runtime = require("react/jsx-runtime");
58
+ var LanguageContext = (0, import_react2.createContext)({
26
59
  language: LanguageUtil.DEFAULT_LANGUAGE,
27
60
  setLanguage: (v) => v
28
61
  });
29
- var useLanguage = () => useContext(LanguageContext);
62
+ var useLanguage = () => (0, import_react2.useContext)(LanguageContext);
30
63
  var useLocale = (overWriteLanguage) => {
31
64
  const { language } = useLanguage();
32
65
  const mapping = {
@@ -170,8 +203,8 @@ var getWeeksForCalenderMonth = (date, weekStart, weeks = 6) => {
170
203
  };
171
204
 
172
205
  // src/components/user-action/Button.tsx
173
- import clsx from "clsx";
174
- import { jsx as jsx2, jsxs } from "react/jsx-runtime";
206
+ var import_clsx = __toESM(require("clsx"));
207
+ var import_jsx_runtime2 = require("react/jsx-runtime");
175
208
  var paddingMapping = {
176
209
  small: "btn-sm",
177
210
  medium: "btn-md",
@@ -215,25 +248,25 @@ var SolidButton = ({
215
248
  negative: "text-button-solid-negative-icon",
216
249
  neutral: "text-button-solid-neutral-icon"
217
250
  }[color];
218
- return /* @__PURE__ */ jsxs(
251
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
219
252
  "button",
220
253
  {
221
254
  onClick: disabled ? void 0 : onClick,
222
255
  disabled: disabled || onClick === void 0,
223
- className: clsx(
256
+ className: (0, import_clsx.default)(
224
257
  {
225
258
  "text-disabled-text bg-disabled-background cursor-not-allowed": disabled,
226
- [clsx(colorClasses, "hover:brightness-90")]: !disabled
259
+ [(0, import_clsx.default)(colorClasses, "hover:brightness-90")]: !disabled
227
260
  },
228
261
  ButtonUtil.paddingMapping[size],
229
262
  className
230
263
  ),
231
264
  ...restProps,
232
265
  children: [
233
- startIcon && /* @__PURE__ */ jsx2(
266
+ startIcon && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
234
267
  "span",
235
268
  {
236
- className: clsx({
269
+ className: (0, import_clsx.default)({
237
270
  [iconColorClasses]: !disabled,
238
271
  [`text-disabled-icon`]: disabled
239
272
  }),
@@ -241,10 +274,10 @@ var SolidButton = ({
241
274
  }
242
275
  ),
243
276
  children,
244
- endIcon && /* @__PURE__ */ jsx2(
277
+ endIcon && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
245
278
  "span",
246
279
  {
247
- className: clsx({
280
+ className: (0, import_clsx.default)({
248
281
  [iconColorClasses]: !disabled,
249
282
  [`text-disabled-icon`]: disabled
250
283
  }),
@@ -276,25 +309,25 @@ var TextButton = ({
276
309
  negative: "text-button-text-negative-icon",
277
310
  neutral: "text-button-text-neutral-icon"
278
311
  }[color];
279
- return /* @__PURE__ */ jsxs(
312
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
280
313
  "button",
281
314
  {
282
315
  onClick: disabled ? void 0 : onClick,
283
316
  disabled: disabled || onClick === void 0,
284
- className: clsx(
317
+ className: (0, import_clsx.default)(
285
318
  {
286
319
  "text-disabled-text cursor-not-allowed": disabled,
287
- [clsx(colorClasses, "hover:bg-button-text-hover-background rounded-full")]: !disabled
320
+ [(0, import_clsx.default)(colorClasses, "hover:bg-button-text-hover-background rounded-full")]: !disabled
288
321
  },
289
322
  ButtonUtil.paddingMapping[size],
290
323
  className
291
324
  ),
292
325
  ...restProps,
293
326
  children: [
294
- startIcon && /* @__PURE__ */ jsx2(
327
+ startIcon && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
295
328
  "span",
296
329
  {
297
- className: clsx({
330
+ className: (0, import_clsx.default)({
298
331
  [iconColorClasses]: !disabled,
299
332
  [`text-disabled-icon`]: disabled
300
333
  }),
@@ -302,10 +335,10 @@ var TextButton = ({
302
335
  }
303
336
  ),
304
337
  children,
305
- endIcon && /* @__PURE__ */ jsx2(
338
+ endIcon && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
306
339
  "span",
307
340
  {
308
- className: clsx({
341
+ className: (0, import_clsx.default)({
309
342
  [iconColorClasses]: !disabled,
310
343
  [`text-disabled-icon`]: disabled
311
344
  }),
@@ -318,10 +351,10 @@ var TextButton = ({
318
351
  };
319
352
 
320
353
  // src/components/date/TimePicker.tsx
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";
354
+ var import_react3 = require("react");
355
+ var import_react_custom_scrollbars_2 = require("react-custom-scrollbars-2");
356
+ var import_clsx2 = __toESM(require("clsx"));
357
+ var import_jsx_runtime3 = require("react/jsx-runtime");
325
358
  var TimePicker = ({
326
359
  time = /* @__PURE__ */ new Date(),
327
360
  onChange = noop,
@@ -330,12 +363,12 @@ var TimePicker = ({
330
363
  maxHeight = 300,
331
364
  className = ""
332
365
  }) => {
333
- const minuteRef = useRef(null);
334
- const hourRef = useRef(null);
366
+ const minuteRef = (0, import_react3.useRef)(null);
367
+ const hourRef = (0, import_react3.useRef)(null);
335
368
  const isPM = time.getHours() >= 11;
336
369
  const hours = is24HourFormat ? range(0, 23) : range(1, 12);
337
370
  let minutes = range(0, 59);
338
- useEffect3(() => {
371
+ (0, import_react3.useEffect)(() => {
339
372
  const scrollToItem = () => {
340
373
  if (minuteRef.current) {
341
374
  const container = minuteRef.current.parentElement;
@@ -350,7 +383,7 @@ var TimePicker = ({
350
383
  };
351
384
  scrollToItem();
352
385
  }, [minuteRef, minuteRef.current]);
353
- useEffect3(() => {
386
+ (0, import_react3.useEffect)(() => {
354
387
  const scrollToItem = () => {
355
388
  if (hourRef.current) {
356
389
  const container = hourRef.current.parentElement;
@@ -380,7 +413,7 @@ var TimePicker = ({
380
413
  break;
381
414
  }
382
415
  const closestMinute = closestMatch(minutes, (item1, item2) => Math.abs(item1 - time.getMinutes()) < Math.abs(item2 - time.getMinutes()));
383
- const style = (selected) => clsx2(
416
+ const style = (selected) => (0, import_clsx2.default)(
384
417
  "chip-full hover:brightness-90 hover:bg-primary hover:text-on-primary rounded-md mr-3",
385
418
  { "bg-primary text-on-primary": selected, "bg-white text-black": !selected }
386
419
  );
@@ -389,10 +422,10 @@ var TimePicker = ({
389
422
  transformer(newDate);
390
423
  onChange(newDate);
391
424
  };
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) => {
425
+ 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: [
426
+ /* @__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) => {
394
427
  const currentHour = hour === time.getHours() - (!is24HourFormat && isPM ? 12 : 0);
395
- return /* @__PURE__ */ jsx3(
428
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
396
429
  "button",
397
430
  {
398
431
  ref: currentHour ? hourRef : void 0,
@@ -403,9 +436,9 @@ var TimePicker = ({
403
436
  hour
404
437
  );
405
438
  }) }) }),
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) => {
439
+ /* @__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) => {
407
440
  const currentMinute = minute === closestMinute;
408
- return /* @__PURE__ */ jsx3(
441
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
409
442
  "button",
410
443
  {
411
444
  ref: currentMinute ? minuteRef : void 0,
@@ -416,8 +449,8 @@ var TimePicker = ({
416
449
  minute + minuteIncrement
417
450
  );
418
451
  }) }) }),
419
- !is24HourFormat && /* @__PURE__ */ jsxs2("div", { className: "col gap-y-1", children: [
420
- /* @__PURE__ */ jsx3(
452
+ !is24HourFormat && /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "col gap-y-1", children: [
453
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
421
454
  "button",
422
455
  {
423
456
  className: style(!isPM),
@@ -425,7 +458,7 @@ var TimePicker = ({
425
458
  children: "AM"
426
459
  }
427
460
  ),
428
- /* @__PURE__ */ jsx3(
461
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
429
462
  "button",
430
463
  {
431
464
  className: style(isPM),
@@ -438,22 +471,22 @@ var TimePicker = ({
438
471
  };
439
472
 
440
473
  // src/components/date/DatePicker.tsx
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";
474
+ var import_react7 = require("react");
475
+ var import_lucide_react2 = require("lucide-react");
476
+ var import_clsx6 = __toESM(require("clsx"));
444
477
 
445
478
  // src/components/date/YearMonthPicker.tsx
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";
479
+ var import_react5 = require("react");
480
+ var import_react_custom_scrollbars_22 = require("react-custom-scrollbars-2");
481
+ var import_clsx4 = __toESM(require("clsx"));
449
482
 
450
483
  // src/components/layout-and-navigation/Expandable.tsx
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({
484
+ var import_react4 = require("react");
485
+ var import_lucide_react = require("lucide-react");
486
+ var import_clsx3 = __toESM(require("clsx"));
487
+ var import_jsx_runtime4 = require("react/jsx-runtime");
488
+ 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]" });
489
+ var Expandable = (0, import_react4.forwardRef)(function Expandable2({
457
490
  children,
458
491
  label,
459
492
  icon,
@@ -465,17 +498,17 @@ var Expandable = forwardRef(function Expandable2({
465
498
  headerClassName = ""
466
499
  }, ref) {
467
500
  icon ??= DefaultIcon;
468
- return /* @__PURE__ */ jsxs3(
501
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
469
502
  "div",
470
503
  {
471
504
  ref,
472
- className: clsx3("col gap-y-0 bg-surface text-on-surface group rounded-lg shadow-sm", { "cursor-pointer": !clickOnlyOnHeader && !disabled }, className),
505
+ className: (0, import_clsx3.default)("col gap-y-0 bg-surface text-on-surface group rounded-lg shadow-sm", { "cursor-pointer": !clickOnlyOnHeader && !disabled }, className),
473
506
  onClick: () => !clickOnlyOnHeader && !disabled && onChange(!isExpanded),
474
507
  children: [
475
- /* @__PURE__ */ jsxs3(
508
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
476
509
  "div",
477
510
  {
478
- className: clsx3(
511
+ className: (0, import_clsx3.default)(
479
512
  "row py-2 px-4 rounded-lg justify-between items-center bg-surface text-on-surface select-none",
480
513
  {
481
514
  "group-hover:brightness-95": !isExpanded,
@@ -491,21 +524,21 @@ var Expandable = forwardRef(function Expandable2({
491
524
  ]
492
525
  }
493
526
  ),
494
- isExpanded && /* @__PURE__ */ jsx4("div", { className: "col px-4 pb-2", children })
527
+ isExpanded && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: "col px-4 pb-2", children })
495
528
  ]
496
529
  }
497
530
  );
498
531
  });
499
- var ExpandableUncontrolled = forwardRef(function ExpandableUncontrolled2({
532
+ var ExpandableUncontrolled = (0, import_react4.forwardRef)(function ExpandableUncontrolled2({
500
533
  isExpanded,
501
534
  onChange = noop,
502
535
  ...props
503
536
  }, ref) {
504
- const [usedIsExpanded, setUsedIsExpanded] = useState4(isExpanded);
505
- useEffect4(() => {
537
+ const [usedIsExpanded, setUsedIsExpanded] = (0, import_react4.useState)(isExpanded);
538
+ (0, import_react4.useEffect)(() => {
506
539
  setUsedIsExpanded(isExpanded);
507
540
  }, [isExpanded]);
508
- return /* @__PURE__ */ jsx4(
541
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
509
542
  Expandable,
510
543
  {
511
544
  ...props,
@@ -520,7 +553,7 @@ var ExpandableUncontrolled = forwardRef(function ExpandableUncontrolled2({
520
553
  });
521
554
 
522
555
  // src/components/date/YearMonthPicker.tsx
523
- import { jsx as jsx5 } from "react/jsx-runtime";
556
+ var import_jsx_runtime5 = require("react/jsx-runtime");
524
557
  var YearMonthPicker = ({
525
558
  displayedYearMonth = /* @__PURE__ */ new Date(),
526
559
  start = subtractDuration(/* @__PURE__ */ new Date(), { years: 50 }),
@@ -531,8 +564,8 @@ var YearMonthPicker = ({
531
564
  showValueOpen = true
532
565
  }) => {
533
566
  const locale = useLocale();
534
- const ref = useRef2(null);
535
- useEffect5(() => {
567
+ const ref = (0, import_react5.useRef)(null);
568
+ (0, import_react5.useEffect)(() => {
536
569
  const scrollToItem = () => {
537
570
  if (ref.current) {
538
571
  ref.current.scrollIntoView({
@@ -548,15 +581,15 @@ var YearMonthPicker = ({
548
581
  return null;
549
582
  }
550
583
  const years = range(start.getFullYear(), end.getFullYear());
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) => {
584
+ 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) => {
552
585
  const selectedYear = displayedYearMonth.getFullYear() === year;
553
- return /* @__PURE__ */ jsx5(
586
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
554
587
  ExpandableUncontrolled,
555
588
  {
556
589
  ref: (displayedYearMonth.getFullYear() ?? (/* @__PURE__ */ new Date()).getFullYear()) === year ? ref : void 0,
557
- label: /* @__PURE__ */ jsx5("span", { className: clsx4({ "text-primary font-bold": selectedYear }), children: year }),
590
+ label: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: (0, import_clsx4.default)({ "text-primary font-bold": selectedYear }), children: year }),
558
591
  isExpanded: showValueOpen && selectedYear,
559
- children: /* @__PURE__ */ jsx5("div", { className: "col gap-y-1 px-2 pb-2", children: equalSizeGroups([...monthsList], 3).map((monthList, index) => /* @__PURE__ */ jsx5("div", { className: "row", children: monthList.map((month) => {
592
+ children: equalSizeGroups([...monthsList], 3).map((monthList, index) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: "row", children: monthList.map((month) => {
560
593
  const monthIndex = monthsList.indexOf(month);
561
594
  const newDate = new Date(year, monthIndex);
562
595
  const selectedMonth = selectedYear && monthIndex === displayedYearMonth.getMonth();
@@ -565,11 +598,11 @@ var YearMonthPicker = ({
565
598
  const isAfterStart = start === void 0 || start <= addDuration(subtractDuration(lastOfMonth, { days: 1 }), { months: 1 });
566
599
  const isBeforeEnd = end === void 0 || firstOfMonth <= end;
567
600
  const isValid = isAfterStart && isBeforeEnd;
568
- return /* @__PURE__ */ jsx5(
601
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
569
602
  "button",
570
603
  {
571
604
  disabled: !isValid,
572
- className: clsx4(
605
+ className: (0, import_clsx4.default)(
573
606
  "chip hover:brightness-95 flex-1",
574
607
  {
575
608
  "bg-gray-50 text-black": !selectedMonth && isValid,
@@ -584,7 +617,7 @@ var YearMonthPicker = ({
584
617
  },
585
618
  month
586
619
  );
587
- }) }, index)) })
620
+ }) }, index))
588
621
  },
589
622
  year
590
623
  );
@@ -592,9 +625,9 @@ var YearMonthPicker = ({
592
625
  };
593
626
 
594
627
  // src/components/date/DayPicker.tsx
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";
628
+ var import_clsx5 = __toESM(require("clsx"));
629
+ var import_react6 = require("react");
630
+ var import_jsx_runtime6 = require("react/jsx-runtime");
598
631
  var DayPicker = ({
599
632
  displayedMonth,
600
633
  selected,
@@ -608,18 +641,18 @@ var DayPicker = ({
608
641
  const locale = useLocale();
609
642
  const month = displayedMonth.getMonth();
610
643
  const weeks = getWeeksForCalenderMonth(displayedMonth, weekStart);
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) => {
644
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: (0, import_clsx5.default)("col gap-y-1 min-w-[220px] select-none", className), children: [
645
+ /* @__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)) }),
646
+ weeks.map((week, index) => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "row text-center", children: week.map((date) => {
614
647
  const isSelected = !!selected && equalDate(selected, date);
615
648
  const isToday = equalDate(/* @__PURE__ */ new Date(), date);
616
649
  const isSameMonth = date.getMonth() === month;
617
650
  const isDayValid = isInTimeSpan(date, start, end);
618
- return /* @__PURE__ */ jsx6(
651
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
619
652
  "button",
620
653
  {
621
654
  disabled: !isDayValid,
622
- className: clsx5(
655
+ className: (0, import_clsx5.default)(
623
656
  "flex-1 rounded-full border-2 border-transparent shadow-sm",
624
657
  {
625
658
  "text-gray-700 bg-gray-100": !isSameMonth && isDayValid,
@@ -640,7 +673,7 @@ var DayPicker = ({
640
673
  };
641
674
 
642
675
  // src/components/date/DatePicker.tsx
643
- import { jsx as jsx7, jsxs as jsxs5 } from "react/jsx-runtime";
676
+ var import_jsx_runtime7 = require("react/jsx-runtime");
644
677
  var defaultDatePickerTranslation = {
645
678
  en: {
646
679
  today: "Today"
@@ -662,28 +695,28 @@ var DatePicker = ({
662
695
  }) => {
663
696
  const locale = useLocale();
664
697
  const translation = useTranslation(defaultDatePickerTranslation, overwriteTranslation);
665
- const [displayedMonth, setDisplayedMonth] = useState7(value);
666
- const [displayMode, setDisplayMode] = useState7(initialDisplay);
667
- useEffect7(() => {
698
+ const [displayedMonth, setDisplayedMonth] = (0, import_react7.useState)(value);
699
+ const [displayMode, setDisplayMode] = (0, import_react7.useState)(initialDisplay);
700
+ (0, import_react7.useEffect)(() => {
668
701
  setDisplayedMonth(value);
669
702
  }, [value]);
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(
703
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: (0, import_clsx6.default)("col gap-y-4", className), children: [
704
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "row items-center justify-between h-7", children: [
705
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
673
706
  TextButton,
674
707
  {
675
- className: clsx6("row gap-x-1 items-center cursor-pointer select-none", {
708
+ className: (0, import_clsx6.default)("row gap-x-1 items-center cursor-pointer select-none", {
676
709
  "text-disabled-text": displayMode !== "day"
677
710
  }),
678
711
  onClick: () => setDisplayMode(displayMode === "day" ? "yearMonth" : "day"),
679
712
  children: [
680
713
  `${new Intl.DateTimeFormat(locale, { month: "long" }).format(displayedMonth)} ${displayedMonth.getFullYear()}`,
681
- /* @__PURE__ */ jsx7(ChevronDown2, { size: 16 })
714
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_lucide_react2.ChevronDown, { size: 16 })
682
715
  ]
683
716
  }
684
717
  ),
685
- displayMode === "day" && /* @__PURE__ */ jsxs5("div", { className: "row justify-end", children: [
686
- /* @__PURE__ */ jsx7(
718
+ displayMode === "day" && /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "row justify-end", children: [
719
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
687
720
  SolidButton,
688
721
  {
689
722
  size: "small",
@@ -692,10 +725,10 @@ var DatePicker = ({
692
725
  onClick: () => {
693
726
  setDisplayedMonth(subtractDuration(displayedMonth, { months: 1 }));
694
727
  },
695
- children: /* @__PURE__ */ jsx7(ArrowUp, { size: 20 })
728
+ children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_lucide_react2.ArrowUp, { size: 20 })
696
729
  }
697
730
  ),
698
- /* @__PURE__ */ jsx7(
731
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
699
732
  SolidButton,
700
733
  {
701
734
  size: "small",
@@ -704,12 +737,12 @@ var DatePicker = ({
704
737
  onClick: () => {
705
738
  setDisplayedMonth(addDuration(displayedMonth, { months: 1 }));
706
739
  },
707
- children: /* @__PURE__ */ jsx7(ArrowDown, { size: 20 })
740
+ children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_lucide_react2.ArrowDown, { size: 20 })
708
741
  }
709
742
  )
710
743
  ] })
711
744
  ] }),
712
- displayMode === "yearMonth" ? /* @__PURE__ */ jsx7(
745
+ displayMode === "yearMonth" ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
713
746
  YearMonthPicker,
714
747
  {
715
748
  ...yearMonthPickerProps,
@@ -721,8 +754,8 @@ var DatePicker = ({
721
754
  setDisplayMode("day");
722
755
  }
723
756
  }
724
- ) : /* @__PURE__ */ jsxs5("div", { children: [
725
- /* @__PURE__ */ jsx7(
757
+ ) : /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { children: [
758
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
726
759
  DayPicker,
727
760
  {
728
761
  ...dayPickerProps,
@@ -735,9 +768,10 @@ var DatePicker = ({
735
768
  }
736
769
  }
737
770
  ),
738
- /* @__PURE__ */ jsx7("div", { className: "mt-2", children: /* @__PURE__ */ jsx7(
771
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "mt-2", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
739
772
  TextButton,
740
773
  {
774
+ color: "primary",
741
775
  onClick: () => {
742
776
  const newDate = /* @__PURE__ */ new Date();
743
777
  newDate.setHours(value.getHours(), value.getMinutes());
@@ -751,7 +785,7 @@ var DatePicker = ({
751
785
  };
752
786
 
753
787
  // src/components/user-action/DateAndTimePicker.tsx
754
- import { jsx as jsx8, jsxs as jsxs6 } from "react/jsx-runtime";
788
+ var import_jsx_runtime8 = require("react/jsx-runtime");
755
789
  var defaultTimeTranslation = {
756
790
  en: {
757
791
  clear: "Clear",
@@ -810,7 +844,7 @@ var DateTimePicker = ({
810
844
  let dateDisplay;
811
845
  let timeDisplay;
812
846
  if (useDate) {
813
- dateDisplay = /* @__PURE__ */ jsx8(
847
+ dateDisplay = /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
814
848
  DatePicker,
815
849
  {
816
850
  ...datePickerProps,
@@ -824,25 +858,25 @@ var DateTimePicker = ({
824
858
  );
825
859
  }
826
860
  if (useTime) {
827
- timeDisplay = /* @__PURE__ */ jsx8(
861
+ timeDisplay = /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
828
862
  TimePicker,
829
863
  {
830
864
  ...timePickerProps,
831
- className: clsx7("h-full", { "justify-between w-full": mode === "time" }),
865
+ className: (0, import_clsx7.default)("h-full", { "justify-between w-full": mode === "time" }),
832
866
  maxHeight: 250,
833
867
  time: value,
834
868
  onChange
835
869
  }
836
870
  );
837
871
  }
838
- return /* @__PURE__ */ jsxs6("div", { className: "col w-fit", children: [
839
- /* @__PURE__ */ jsxs6("div", { className: "row gap-x-4", children: [
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: [
840
874
  dateDisplay,
841
875
  timeDisplay
842
876
  ] }),
843
- /* @__PURE__ */ jsx8("div", { className: "row justify-end", children: /* @__PURE__ */ jsxs6("div", { className: "row gap-x-2 mt-1", children: [
844
- /* @__PURE__ */ jsx8(SolidButton, { size: "medium", color: "negative", onClick: onRemove, children: translation.clear }),
845
- /* @__PURE__ */ jsx8(
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)(
846
880
  SolidButton,
847
881
  {
848
882
  size: "medium",
@@ -853,7 +887,8 @@ var DateTimePicker = ({
853
887
  ] }) })
854
888
  ] });
855
889
  };
856
- export {
890
+ // Annotate the CommonJS export names for ESM import in node:
891
+ 0 && (module.exports = {
857
892
  DateTimePicker
858
- };
893
+ });
859
894
  //# sourceMappingURL=DateAndTimePicker.js.map