@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,8 +1,43 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+
29
+ // src/components/modals/ThemeModal.tsx
30
+ var ThemeModal_exports = {};
31
+ __export(ThemeModal_exports, {
32
+ ThemeModal: () => ThemeModal
33
+ });
34
+ module.exports = __toCommonJS(ThemeModal_exports);
35
+
1
36
  // src/localization/LanguageProvider.tsx
2
- import { createContext, useContext, useEffect as useEffect2, useState as useState2 } from "react";
37
+ var import_react2 = require("react");
3
38
 
4
39
  // src/hooks/useLocalStorage.ts
5
- import { useCallback, useEffect, useState } from "react";
40
+ var import_react = require("react");
6
41
 
7
42
  // src/localization/util.ts
8
43
  var languages = ["en", "de"];
@@ -18,12 +53,12 @@ var LanguageUtil = {
18
53
  };
19
54
 
20
55
  // src/localization/LanguageProvider.tsx
21
- import { jsx } from "react/jsx-runtime";
22
- var LanguageContext = createContext({
56
+ var import_jsx_runtime = require("react/jsx-runtime");
57
+ var LanguageContext = (0, import_react2.createContext)({
23
58
  language: LanguageUtil.DEFAULT_LANGUAGE,
24
59
  setLanguage: (v) => v
25
60
  });
26
- var useLanguage = () => useContext(LanguageContext);
61
+ var useLanguage = () => (0, import_react2.useContext)(LanguageContext);
27
62
 
28
63
  // src/localization/useTranslation.ts
29
64
  var useTranslation = (defaults, translationOverwrite = {}) => {
@@ -38,14 +73,14 @@ var useTranslation = (defaults, translationOverwrite = {}) => {
38
73
  };
39
74
 
40
75
  // src/components/user-action/Select.tsx
41
- import { Menu } from "@headlessui/react";
42
- import { ChevronDown, ChevronUp, Search } from "lucide-react";
43
- import { useEffect as useEffect5, useState as useState5 } from "react";
44
- import clsx3 from "clsx";
76
+ var import_react5 = require("@headlessui/react");
77
+ var import_lucide_react = require("lucide-react");
78
+ var import_react6 = require("react");
79
+ var import_clsx3 = __toESM(require("clsx"));
45
80
 
46
81
  // src/components/user-action/Label.tsx
47
- import clsx from "clsx";
48
- import { jsx as jsx2 } from "react/jsx-runtime";
82
+ var import_clsx = __toESM(require("clsx"));
83
+ var import_jsx_runtime2 = require("react/jsx-runtime");
49
84
  var styleMapping = {
50
85
  labelSmall: "textstyle-label-sm",
51
86
  labelMedium: "textstyle-label-md",
@@ -58,22 +93,22 @@ var Label = ({
58
93
  className,
59
94
  ...props
60
95
  }) => {
61
- return /* @__PURE__ */ jsx2("label", { ...props, className: clsx(styleMapping[labelType], className), children: children ? children : name });
96
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("label", { ...props, className: (0, import_clsx.default)(styleMapping[labelType], className), children: children ? children : name });
62
97
  };
63
98
 
64
99
  // src/components/user-action/Input.tsx
65
- import { forwardRef, useEffect as useEffect4, useRef, useState as useState4 } from "react";
66
- import clsx2 from "clsx";
100
+ var import_react4 = require("react");
101
+ var import_clsx2 = __toESM(require("clsx"));
67
102
 
68
103
  // src/hooks/useSaveDelay.ts
69
- import { useEffect as useEffect3, useState as useState3 } from "react";
104
+ var import_react3 = require("react");
70
105
 
71
106
  // src/util/noop.ts
72
107
  var noop = () => void 0;
73
108
 
74
109
  // src/components/user-action/Input.tsx
75
- import { jsx as jsx3, jsxs } from "react/jsx-runtime";
76
- var FormInput = forwardRef(function FormInput2({
110
+ var import_jsx_runtime3 = require("react/jsx-runtime");
111
+ var FormInput = (0, import_react4.forwardRef)(function FormInput2({
77
112
  id,
78
113
  labelText,
79
114
  errorText,
@@ -84,13 +119,13 @@ var FormInput = forwardRef(function FormInput2({
84
119
  required,
85
120
  ...restProps
86
121
  }, ref) {
87
- const input = /* @__PURE__ */ jsx3(
122
+ const input = /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
88
123
  "input",
89
124
  {
90
125
  ref,
91
126
  id,
92
127
  ...restProps,
93
- className: clsx2(
128
+ className: (0, import_clsx2.default)(
94
129
  {
95
130
  "focus:border-primary focus:ring-primary": !errorText,
96
131
  "focus:border-negative focus:ring-negative text-negative": !!errorText
@@ -99,18 +134,18 @@ var FormInput = forwardRef(function FormInput2({
99
134
  )
100
135
  }
101
136
  );
102
- return /* @__PURE__ */ jsxs("div", { className: clsx2("flex flex-col gap-y-1", containerClassName), children: [
103
- labelText && /* @__PURE__ */ jsxs("label", { htmlFor: id, className: clsx2("textstyle-label-md", labelClassName), children: [
137
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: (0, import_clsx2.default)("flex flex-col gap-y-1", containerClassName), children: [
138
+ labelText && /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("label", { htmlFor: id, className: (0, import_clsx2.default)("textstyle-label-md", labelClassName), children: [
104
139
  labelText,
105
- required && /* @__PURE__ */ jsx3("span", { className: "text-primary font-bold", children: "*" })
140
+ required && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "text-primary font-bold", children: "*" })
106
141
  ] }),
107
142
  input,
108
- errorText && /* @__PURE__ */ jsx3("label", { htmlFor: id, className: clsx2("text-negative", errorClassName), children: errorText })
143
+ errorText && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("label", { htmlFor: id, className: (0, import_clsx2.default)("text-negative", errorClassName), children: errorText })
109
144
  ] });
110
145
  });
111
146
 
112
147
  // src/components/user-action/Select.tsx
113
- import { Fragment, jsx as jsx4, jsxs as jsxs2 } from "react/jsx-runtime";
148
+ var import_jsx_runtime4 = require("react/jsx-runtime");
114
149
  var Select = ({
115
150
  value,
116
151
  label,
@@ -122,7 +157,6 @@ var Select = ({
122
157
  isDisabled,
123
158
  className,
124
159
  textColor = "text-menu-text",
125
- hoverColor = "hover:brightness-90",
126
160
  additionalItems,
127
161
  selectedDisplayOverwrite
128
162
  }) => {
@@ -135,48 +169,48 @@ var Select = ({
135
169
  console.warn("The selected value is not found in the options list. This might be an error on your part or default behavior if it is complex data type on which === does not work. In case of the latter use selectedDisplayOverwrite to set your selected text or component");
136
170
  }
137
171
  const borderColor = "border-menu-border";
138
- return /* @__PURE__ */ jsxs2("div", { className: clsx3(className), children: [
139
- label && /* @__PURE__ */ jsx4(Label, { ...label, labelType: label.labelType ?? "labelBig", className: clsx3("mb-1", label.className) }),
140
- /* @__PURE__ */ jsx4(Menu, { as: "div", className: "relative text-menu-text", children: ({ open }) => /* @__PURE__ */ jsxs2(Fragment, { children: [
141
- /* @__PURE__ */ jsxs2(
142
- Menu.Button,
172
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: (0, import_clsx3.default)(className), children: [
173
+ label && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Label, { ...label, labelType: label.labelType ?? "labelBig", className: (0, import_clsx3.default)("mb-1", label.className) }),
174
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_react5.Menu, { as: "div", className: "relative text-menu-text", children: ({ open }) => /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_jsx_runtime4.Fragment, { children: [
175
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
176
+ import_react5.Menu.Button,
143
177
  {
144
- className: clsx3(
178
+ className: (0, import_clsx3.default)(
145
179
  "inline-flex w-full justify-between items-center rounded-t-lg border-2 px-4 py-2 font-medium bg-menu-background text-menu-text",
146
180
  textColor,
147
181
  borderColor,
148
182
  {
149
183
  "rounded-b-lg": !open,
150
- [hoverColor]: !isDisabled,
184
+ "hover:border-primary": !isDisabled,
151
185
  "bg-disabled-background cursor-not-allowed text-disabled": isDisabled
152
186
  }
153
187
  ),
154
188
  disabled: isDisabled,
155
189
  children: [
156
- /* @__PURE__ */ jsx4("span", { children: selectedDisplayOverwrite ?? selectedOption?.label ?? hintText }),
157
- open ? /* @__PURE__ */ jsx4(ChevronUp, {}) : /* @__PURE__ */ jsx4(ChevronDown, {})
190
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { children: selectedDisplayOverwrite ?? selectedOption?.label ?? hintText }),
191
+ open ? /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_lucide_react.ChevronUp, {}) : /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_lucide_react.ChevronDown, {})
158
192
  ]
159
193
  }
160
194
  ),
161
- /* @__PURE__ */ jsxs2(
162
- Menu.Items,
195
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
196
+ import_react5.Menu.Items,
163
197
  {
164
198
  className: "absolute w-full z-10 rounded-b-lg bg-menu-background text-menu-text shadow-lg max-h-[500px] overflow-y-auto",
165
199
  children: [
166
- (additionalItems ?? []).map((item, index) => /* @__PURE__ */ jsx4(
200
+ (additionalItems ?? []).map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
167
201
  "div",
168
202
  {
169
- className: clsx3(borderColor, "px-4 py-2 overflow-hidden whitespace-nowrap text-ellipsis border-2 border-t-0", {
203
+ className: (0, import_clsx3.default)(borderColor, "px-4 py-2 overflow-hidden whitespace-nowrap text-ellipsis border-2 border-t-0", {
170
204
  "border-b-0 rounded-b-lg": filteredOptions.length === 0 && index === (additionalItems?.length ?? 1) - 1
171
205
  }),
172
206
  children: item
173
207
  },
174
208
  `additionalItems${index}`
175
209
  )),
176
- filteredOptions.map((option, index) => /* @__PURE__ */ jsx4(Menu.Item, { children: /* @__PURE__ */ jsx4(
210
+ filteredOptions.map((option, index) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_react5.Menu.Item, { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
177
211
  "div",
178
212
  {
179
- className: clsx3(
213
+ className: (0, import_clsx3.default)(
180
214
  "px-4 py-2 overflow-hidden whitespace-nowrap text-ellipsis border-2 border-t-0 cursor-pointer",
181
215
  option.className,
182
216
  borderColor,
@@ -204,8 +238,8 @@ var Select = ({
204
238
  };
205
239
 
206
240
  // src/components/user-action/Button.tsx
207
- import clsx4 from "clsx";
208
- import { jsx as jsx5, jsxs as jsxs3 } from "react/jsx-runtime";
241
+ var import_clsx4 = __toESM(require("clsx"));
242
+ var import_jsx_runtime5 = require("react/jsx-runtime");
209
243
  var paddingMapping = {
210
244
  small: "btn-sm",
211
245
  medium: "btn-md",
@@ -249,25 +283,25 @@ var SolidButton = ({
249
283
  negative: "text-button-solid-negative-icon",
250
284
  neutral: "text-button-solid-neutral-icon"
251
285
  }[color];
252
- return /* @__PURE__ */ jsxs3(
286
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
253
287
  "button",
254
288
  {
255
289
  onClick: disabled ? void 0 : onClick,
256
290
  disabled: disabled || onClick === void 0,
257
- className: clsx4(
291
+ className: (0, import_clsx4.default)(
258
292
  {
259
293
  "text-disabled-text bg-disabled-background cursor-not-allowed": disabled,
260
- [clsx4(colorClasses, "hover:brightness-90")]: !disabled
294
+ [(0, import_clsx4.default)(colorClasses, "hover:brightness-90")]: !disabled
261
295
  },
262
296
  ButtonUtil.paddingMapping[size],
263
297
  className
264
298
  ),
265
299
  ...restProps,
266
300
  children: [
267
- startIcon && /* @__PURE__ */ jsx5(
301
+ startIcon && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
268
302
  "span",
269
303
  {
270
- className: clsx4({
304
+ className: (0, import_clsx4.default)({
271
305
  [iconColorClasses]: !disabled,
272
306
  [`text-disabled-icon`]: disabled
273
307
  }),
@@ -275,10 +309,10 @@ var SolidButton = ({
275
309
  }
276
310
  ),
277
311
  children,
278
- endIcon && /* @__PURE__ */ jsx5(
312
+ endIcon && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
279
313
  "span",
280
314
  {
281
- className: clsx4({
315
+ className: (0, import_clsx4.default)({
282
316
  [iconColorClasses]: !disabled,
283
317
  [`text-disabled-icon`]: disabled
284
318
  }),
@@ -307,15 +341,15 @@ var IconButton = ({
307
341
  negative: "bg-button-solid-negative-background text-button-solid-negative-text",
308
342
  neutral: "bg-button-solid-neutral-background text-button-solid-neutral-text"
309
343
  }[color];
310
- return /* @__PURE__ */ jsx5(
344
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
311
345
  "button",
312
346
  {
313
347
  onClick: disabled ? void 0 : onClick,
314
348
  disabled: disabled || onClick === void 0,
315
- className: clsx4(
349
+ className: (0, import_clsx4.default)(
316
350
  {
317
351
  "text-disabled-text bg-disabled-background cursor-not-allowed": disabled,
318
- [clsx4(colorClasses, "hover:brightness-90")]: !disabled
352
+ [(0, import_clsx4.default)(colorClasses, "hover:brightness-90")]: !disabled
319
353
  },
320
354
  ButtonUtil.iconPaddingMapping[size],
321
355
  className
@@ -327,20 +361,20 @@ var IconButton = ({
327
361
  };
328
362
 
329
363
  // src/components/layout-and-navigation/Overlay.tsx
330
- import { useEffect as useEffect7, useRef as useRef2, useState as useState7 } from "react";
331
- import ReactDOM from "react-dom";
332
- import clsx6 from "clsx";
364
+ var import_react8 = require("react");
365
+ var import_react_dom = __toESM(require("react-dom"));
366
+ var import_clsx6 = __toESM(require("clsx"));
333
367
 
334
368
  // src/hooks/useHoverState.ts
335
- import { useEffect as useEffect6, useState as useState6 } from "react";
369
+ var import_react7 = require("react");
336
370
  var defaultUseHoverStateProps = {
337
371
  closingDelay: 200,
338
372
  isDisabled: false
339
373
  };
340
374
  var useHoverState = (props = void 0) => {
341
375
  const { closingDelay, isDisabled } = { ...defaultUseHoverStateProps, ...props };
342
- const [isHovered, setIsHovered] = useState6(false);
343
- const [timer, setTimer] = useState6();
376
+ const [isHovered, setIsHovered] = (0, import_react7.useState)(false);
377
+ const [timer, setTimer] = (0, import_react7.useState)();
344
378
  const onMouseEnter = () => {
345
379
  if (isDisabled) {
346
380
  return;
@@ -356,14 +390,14 @@ var useHoverState = (props = void 0) => {
356
390
  setIsHovered(false);
357
391
  }, closingDelay));
358
392
  };
359
- useEffect6(() => {
393
+ (0, import_react7.useEffect)(() => {
360
394
  if (timer) {
361
395
  return () => {
362
396
  clearTimeout(timer);
363
397
  };
364
398
  }
365
399
  });
366
- useEffect6(() => {
400
+ (0, import_react7.useEffect)(() => {
367
401
  if (timer) {
368
402
  clearTimeout(timer);
369
403
  }
@@ -376,8 +410,8 @@ var useHoverState = (props = void 0) => {
376
410
  };
377
411
 
378
412
  // src/components/user-action/Tooltip.tsx
379
- import { clsx as clsx5 } from "clsx";
380
- import { jsx as jsx6, jsxs as jsxs4 } from "react/jsx-runtime";
413
+ var import_clsx5 = require("clsx");
414
+ var import_jsx_runtime6 = require("react/jsx-runtime");
381
415
  var Tooltip = ({
382
416
  tooltip,
383
417
  children,
@@ -407,17 +441,17 @@ var Tooltip = ({
407
441
  left: { borderWidth: `${triangleSize}px 0 ${triangleSize}px ${triangleSize}px` },
408
442
  right: { borderWidth: `${triangleSize}px ${triangleSize}px ${triangleSize}px 0` }
409
443
  };
410
- return /* @__PURE__ */ jsxs4(
444
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
411
445
  "div",
412
446
  {
413
- className: clsx5("relative inline-block", containerClassName),
447
+ className: (0, import_clsx5.clsx)("relative inline-block", containerClassName),
414
448
  ...handlers,
415
449
  children: [
416
450
  children,
417
- isHovered && /* @__PURE__ */ jsxs4(
451
+ isHovered && /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
418
452
  "div",
419
453
  {
420
- className: clsx5(
454
+ className: (0, import_clsx5.clsx)(
421
455
  `opacity-0 absolute text-xs font-semibold text-tooltip-text px-2 py-1 rounded whitespace-nowrap
422
456
  animate-tooltip-fade-in shadow-lg bg-tooltip-background`,
423
457
  positionClasses[position],
@@ -426,10 +460,10 @@ var Tooltip = ({
426
460
  style: { zIndex, animationDelay: animationDelay + "ms" },
427
461
  children: [
428
462
  tooltip,
429
- /* @__PURE__ */ jsx6(
463
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
430
464
  "div",
431
465
  {
432
- className: clsx5(`absolute w-0 h-0`, triangleClasses[position]),
466
+ className: (0, import_clsx5.clsx)(`absolute w-0 h-0`, triangleClasses[position]),
433
467
  style: { ...triangleStyle[position], zIndex }
434
468
  }
435
469
  )
@@ -442,25 +476,25 @@ var Tooltip = ({
442
476
  };
443
477
 
444
478
  // src/components/layout-and-navigation/Overlay.tsx
445
- import { X } from "lucide-react";
446
- import { jsx as jsx7, jsxs as jsxs5 } from "react/jsx-runtime";
479
+ var import_lucide_react2 = require("lucide-react");
480
+ var import_jsx_runtime7 = require("react/jsx-runtime");
447
481
  var Overlay = ({
448
482
  children,
449
483
  isOpen,
450
484
  onBackgroundClick,
451
485
  backgroundClassName
452
486
  }) => {
453
- const [root, setRoot] = useState7();
454
- useEffect7(() => {
487
+ const [root, setRoot] = (0, import_react8.useState)();
488
+ (0, import_react8.useEffect)(() => {
455
489
  setRoot(document.body);
456
490
  }, []);
457
491
  if (!root || !isOpen) return null;
458
- return ReactDOM.createPortal(
459
- /* @__PURE__ */ jsxs5("div", { className: clsx6("fixed inset-0 z-[9999]"), children: [
460
- /* @__PURE__ */ jsx7(
492
+ return import_react_dom.default.createPortal(
493
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: (0, import_clsx6.default)("fixed inset-0 z-[9999]"), children: [
494
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
461
495
  "div",
462
496
  {
463
- className: clsx6("fixed inset-0 h-screen w-screen bg-black/30", backgroundClassName),
497
+ className: (0, import_clsx6.default)("fixed inset-0 h-screen w-screen bg-black/30", backgroundClassName),
464
498
  onClick: onBackgroundClick
465
499
  }
466
500
  ),
@@ -488,21 +522,21 @@ var OverlayHeader = ({
488
522
  }) => {
489
523
  const translation = useTranslation(defaultModalHeaderTranslation, overwriteTranslation);
490
524
  const hasTitleRow = !!title || !!titleText || !!onClose;
491
- const titleRow = /* @__PURE__ */ jsxs5("div", { className: "row justify-between items-start gap-x-8", children: [
492
- title ?? /* @__PURE__ */ jsx7(
525
+ const titleRow = /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "row justify-between items-start gap-x-8", children: [
526
+ title ?? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
493
527
  "h2",
494
528
  {
495
- className: clsx6("textstyle-title-lg", {
529
+ className: (0, import_clsx6.default)("textstyle-title-lg", {
496
530
  "mb-1": description || descriptionText
497
531
  }),
498
532
  children: titleText
499
533
  }
500
534
  ),
501
- !!onClose && /* @__PURE__ */ jsx7(Tooltip, { tooltip: translation.close, children: /* @__PURE__ */ jsx7(IconButton, { color: "neutral", size: "small", onClick: onClose, children: /* @__PURE__ */ jsx7(X, { className: "w-full h-full" }) }) })
535
+ !!onClose && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Tooltip, { tooltip: translation.close, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(IconButton, { color: "neutral", size: "small", onClick: onClose, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_lucide_react2.X, { className: "w-full h-full" }) }) })
502
536
  ] });
503
- return /* @__PURE__ */ jsxs5("div", { className: "col", children: [
537
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "col", children: [
504
538
  hasTitleRow && titleRow,
505
- description ?? (descriptionText && /* @__PURE__ */ jsx7("span", { className: "textstyle-description", children: descriptionText }))
539
+ description ?? (descriptionText && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "textstyle-description", children: descriptionText }))
506
540
  ] });
507
541
  };
508
542
  var Modal = ({
@@ -513,8 +547,8 @@ var Modal = ({
513
547
  backgroundClassName,
514
548
  headerProps
515
549
  }) => {
516
- const ref = useRef2(null);
517
- useEffect7(() => {
550
+ const ref = (0, import_react8.useRef)(null);
551
+ (0, import_react8.useEffect)(() => {
518
552
  if (!isOpen) return;
519
553
  const modal = ref.current;
520
554
  if (!modal) {
@@ -551,25 +585,25 @@ var Modal = ({
551
585
  overlayStack = overlayStack.filter((m) => m !== modal);
552
586
  };
553
587
  }, [isOpen, onClose]);
554
- return /* @__PURE__ */ jsx7(
588
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
555
589
  Overlay,
556
590
  {
557
591
  isOpen,
558
592
  onBackgroundClick: onClose,
559
593
  backgroundClassName,
560
- children: /* @__PURE__ */ jsxs5(
594
+ children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
561
595
  "div",
562
596
  {
563
597
  ref,
564
598
  tabIndex: -1,
565
- className: clsx6(
599
+ className: (0, import_clsx6.default)(
566
600
  "fixed left-1/2 top-1/2 -translate-y-1/2 -translate-x-1/2 col p-4 bg-overlay-background text-overlay-text rounded-xl shadow-xl",
567
601
  className
568
602
  ),
569
603
  role: "dialog",
570
604
  "aria-modal": true,
571
605
  children: [
572
- /* @__PURE__ */ jsx7(OverlayHeader, { ...headerProps, onClose }),
606
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(OverlayHeader, { ...headerProps, onClose }),
573
607
  children
574
608
  ]
575
609
  }
@@ -579,8 +613,8 @@ var Modal = ({
579
613
  };
580
614
 
581
615
  // src/theming/useTheme.tsx
582
- import { createContext as createContext2, useContext as useContext2, useEffect as useEffect8, useState as useState8 } from "react";
583
- import { jsx as jsx8 } from "react/jsx-runtime";
616
+ var import_react9 = require("react");
617
+ var import_jsx_runtime8 = require("react/jsx-runtime");
584
618
  var themes = ["light", "dark"];
585
619
  var defaultThemeTypeTranslation = {
586
620
  en: {
@@ -596,14 +630,14 @@ var ThemeUtil = {
596
630
  themes,
597
631
  translation: defaultThemeTypeTranslation
598
632
  };
599
- var ThemeContext = createContext2({
633
+ var ThemeContext = (0, import_react9.createContext)({
600
634
  theme: "light",
601
635
  setTheme: noop
602
636
  });
603
- var useTheme = () => useContext2(ThemeContext);
637
+ var useTheme = () => (0, import_react9.useContext)(ThemeContext);
604
638
 
605
639
  // src/components/modals/ThemeModal.tsx
606
- import { jsx as jsx9, jsxs as jsxs6 } from "react/jsx-runtime";
640
+ var import_jsx_runtime9 = require("react/jsx-runtime");
607
641
  var defaultConfirmDialogTranslation = {
608
642
  en: {
609
643
  title: "Theme",
@@ -626,7 +660,7 @@ var ThemeModal = ({
626
660
  }) => {
627
661
  const { theme, setTheme } = useTheme();
628
662
  const translation = useTranslation(defaultConfirmDialogTranslation, overwriteTranslation);
629
- return /* @__PURE__ */ jsx9(
663
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
630
664
  Modal,
631
665
  {
632
666
  headerProps: {
@@ -636,8 +670,8 @@ var ThemeModal = ({
636
670
  },
637
671
  onClose,
638
672
  ...modalProps,
639
- children: /* @__PURE__ */ jsxs6("div", { className: "w-64", children: [
640
- /* @__PURE__ */ jsx9(
673
+ children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "w-64", children: [
674
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
641
675
  Select,
642
676
  {
643
677
  className: "mt-2",
@@ -646,12 +680,13 @@ var ThemeModal = ({
646
680
  onChange: (theme2) => setTheme(theme2)
647
681
  }
648
682
  ),
649
- /* @__PURE__ */ jsx9("div", { className: "row mt-3 gap-x-4 justify-end", children: /* @__PURE__ */ jsx9(SolidButton, { autoFocus: true, color: "positive", onClick: onClose, children: translation.done }) })
683
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "row mt-3 gap-x-4 justify-end", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(SolidButton, { autoFocus: true, color: "positive", onClick: onClose, children: translation.done }) })
650
684
  ] })
651
685
  }
652
686
  );
653
687
  };
654
- export {
688
+ // Annotate the CommonJS export names for ESM import in node:
689
+ 0 && (module.exports = {
655
690
  ThemeModal
656
- };
691
+ });
657
692
  //# sourceMappingURL=ThemeModal.js.map