@helpwave/hightide 0.1.43 → 0.1.44

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 (205) hide show
  1. package/dist/components/date/DatePicker.cjs +7 -7
  2. package/dist/components/date/DatePicker.cjs.map +1 -1
  3. package/dist/components/date/DatePicker.js +7 -7
  4. package/dist/components/date/DatePicker.js.map +1 -1
  5. package/dist/components/date/DayPicker.cjs +2 -2
  6. package/dist/components/date/DayPicker.cjs.map +1 -1
  7. package/dist/components/date/DayPicker.js +2 -2
  8. package/dist/components/date/DayPicker.js.map +1 -1
  9. package/dist/components/date/TimeDisplay.cjs +14 -14
  10. package/dist/components/date/TimeDisplay.cjs.map +1 -1
  11. package/dist/components/date/TimeDisplay.js +14 -14
  12. package/dist/components/date/TimeDisplay.js.map +1 -1
  13. package/dist/components/date/YearMonthPicker.cjs +2 -2
  14. package/dist/components/date/YearMonthPicker.cjs.map +1 -1
  15. package/dist/components/date/YearMonthPicker.js +2 -2
  16. package/dist/components/date/YearMonthPicker.js.map +1 -1
  17. package/dist/components/date/index.cjs +8 -8
  18. package/dist/components/date/index.cjs.map +1 -1
  19. package/dist/components/date/index.js +8 -8
  20. package/dist/components/date/index.js.map +1 -1
  21. package/dist/components/dialog/ConfirmDialog.cjs +15 -15
  22. package/dist/components/dialog/ConfirmDialog.cjs.map +1 -1
  23. package/dist/components/dialog/ConfirmDialog.js +15 -15
  24. package/dist/components/dialog/ConfirmDialog.js.map +1 -1
  25. package/dist/components/dialog/Dialog.cjs +14 -14
  26. package/dist/components/dialog/Dialog.cjs.map +1 -1
  27. package/dist/components/dialog/Dialog.js +14 -14
  28. package/dist/components/dialog/Dialog.js.map +1 -1
  29. package/dist/components/dialog/DiscardChangesDialog.cjs +16 -16
  30. package/dist/components/dialog/DiscardChangesDialog.cjs.map +1 -1
  31. package/dist/components/dialog/DiscardChangesDialog.js +16 -16
  32. package/dist/components/dialog/DiscardChangesDialog.js.map +1 -1
  33. package/dist/components/dialog/InputDialog.cjs +15 -15
  34. package/dist/components/dialog/InputDialog.cjs.map +1 -1
  35. package/dist/components/dialog/InputDialog.js +15 -15
  36. package/dist/components/dialog/InputDialog.js.map +1 -1
  37. package/dist/components/dialog/LanguageDialog.cjs +21 -21
  38. package/dist/components/dialog/LanguageDialog.cjs.map +1 -1
  39. package/dist/components/dialog/LanguageDialog.js +21 -21
  40. package/dist/components/dialog/LanguageDialog.js.map +1 -1
  41. package/dist/components/dialog/ThemeDialog.cjs +21 -21
  42. package/dist/components/dialog/ThemeDialog.cjs.map +1 -1
  43. package/dist/components/dialog/ThemeDialog.js +21 -21
  44. package/dist/components/dialog/ThemeDialog.js.map +1 -1
  45. package/dist/components/dialog/index.cjs +24 -24
  46. package/dist/components/dialog/index.cjs.map +1 -1
  47. package/dist/components/dialog/index.js +24 -24
  48. package/dist/components/dialog/index.js.map +1 -1
  49. package/dist/components/index.cjs +30 -30
  50. package/dist/components/index.cjs.map +1 -1
  51. package/dist/components/index.js +30 -30
  52. package/dist/components/index.js.map +1 -1
  53. package/dist/components/layout/Carousel.cjs +15 -15
  54. package/dist/components/layout/Carousel.cjs.map +1 -1
  55. package/dist/components/layout/Carousel.js +15 -15
  56. package/dist/components/layout/Carousel.js.map +1 -1
  57. package/dist/components/layout/TextImage.cjs +14 -14
  58. package/dist/components/layout/TextImage.cjs.map +1 -1
  59. package/dist/components/layout/TextImage.js +14 -14
  60. package/dist/components/layout/TextImage.js.map +1 -1
  61. package/dist/components/layout/index.cjs +21 -21
  62. package/dist/components/layout/index.cjs.map +1 -1
  63. package/dist/components/layout/index.js +21 -21
  64. package/dist/components/layout/index.js.map +1 -1
  65. package/dist/components/loading-states/ErrorComponent.cjs +14 -14
  66. package/dist/components/loading-states/ErrorComponent.cjs.map +1 -1
  67. package/dist/components/loading-states/ErrorComponent.js +14 -14
  68. package/dist/components/loading-states/ErrorComponent.js.map +1 -1
  69. package/dist/components/loading-states/LoadingAnimation.cjs +14 -14
  70. package/dist/components/loading-states/LoadingAnimation.cjs.map +1 -1
  71. package/dist/components/loading-states/LoadingAnimation.js +14 -14
  72. package/dist/components/loading-states/LoadingAnimation.js.map +1 -1
  73. package/dist/components/loading-states/index.cjs +15 -15
  74. package/dist/components/loading-states/index.cjs.map +1 -1
  75. package/dist/components/loading-states/index.js +15 -15
  76. package/dist/components/loading-states/index.js.map +1 -1
  77. package/dist/components/navigation/Pagination.cjs +14 -14
  78. package/dist/components/navigation/Pagination.cjs.map +1 -1
  79. package/dist/components/navigation/Pagination.js +14 -14
  80. package/dist/components/navigation/Pagination.js.map +1 -1
  81. package/dist/components/navigation/StepperBar.cjs +19 -19
  82. package/dist/components/navigation/StepperBar.cjs.map +1 -1
  83. package/dist/components/navigation/StepperBar.js +19 -19
  84. package/dist/components/navigation/StepperBar.js.map +1 -1
  85. package/dist/components/navigation/index.cjs +15 -15
  86. package/dist/components/navigation/index.cjs.map +1 -1
  87. package/dist/components/navigation/index.js +15 -15
  88. package/dist/components/navigation/index.js.map +1 -1
  89. package/dist/components/properties/CheckboxProperty.cjs +15 -15
  90. package/dist/components/properties/CheckboxProperty.cjs.map +1 -1
  91. package/dist/components/properties/CheckboxProperty.js +15 -15
  92. package/dist/components/properties/CheckboxProperty.js.map +1 -1
  93. package/dist/components/properties/DateProperty.cjs +13 -13
  94. package/dist/components/properties/DateProperty.cjs.map +1 -1
  95. package/dist/components/properties/DateProperty.js +13 -13
  96. package/dist/components/properties/DateProperty.js.map +1 -1
  97. package/dist/components/properties/MultiSelectProperty.cjs +20 -20
  98. package/dist/components/properties/MultiSelectProperty.cjs.map +1 -1
  99. package/dist/components/properties/MultiSelectProperty.js +20 -20
  100. package/dist/components/properties/MultiSelectProperty.js.map +1 -1
  101. package/dist/components/properties/NumberProperty.cjs +15 -15
  102. package/dist/components/properties/NumberProperty.cjs.map +1 -1
  103. package/dist/components/properties/NumberProperty.js +15 -15
  104. package/dist/components/properties/NumberProperty.js.map +1 -1
  105. package/dist/components/properties/PropertyBase.cjs +14 -14
  106. package/dist/components/properties/PropertyBase.cjs.map +1 -1
  107. package/dist/components/properties/PropertyBase.js +14 -14
  108. package/dist/components/properties/PropertyBase.js.map +1 -1
  109. package/dist/components/properties/SelectProperty.cjs +20 -20
  110. package/dist/components/properties/SelectProperty.cjs.map +1 -1
  111. package/dist/components/properties/SelectProperty.js +20 -20
  112. package/dist/components/properties/SelectProperty.js.map +1 -1
  113. package/dist/components/properties/TextProperty.cjs +15 -15
  114. package/dist/components/properties/TextProperty.cjs.map +1 -1
  115. package/dist/components/properties/TextProperty.js +15 -15
  116. package/dist/components/properties/TextProperty.js.map +1 -1
  117. package/dist/components/properties/index.cjs +18 -18
  118. package/dist/components/properties/index.cjs.map +1 -1
  119. package/dist/components/properties/index.js +18 -18
  120. package/dist/components/properties/index.js.map +1 -1
  121. package/dist/components/table/Table.cjs +14 -14
  122. package/dist/components/table/Table.cjs.map +1 -1
  123. package/dist/components/table/Table.js +14 -14
  124. package/dist/components/table/Table.js.map +1 -1
  125. package/dist/components/table/TableFilterButton.cjs +14 -14
  126. package/dist/components/table/TableFilterButton.cjs.map +1 -1
  127. package/dist/components/table/TableFilterButton.js +14 -14
  128. package/dist/components/table/TableFilterButton.js.map +1 -1
  129. package/dist/components/table/index.cjs +14 -14
  130. package/dist/components/table/index.cjs.map +1 -1
  131. package/dist/components/table/index.js +14 -14
  132. package/dist/components/table/index.js.map +1 -1
  133. package/dist/components/user-action/CopyToClipboardWrapper.cjs +14 -14
  134. package/dist/components/user-action/CopyToClipboardWrapper.cjs.map +1 -1
  135. package/dist/components/user-action/CopyToClipboardWrapper.js +14 -14
  136. package/dist/components/user-action/CopyToClipboardWrapper.js.map +1 -1
  137. package/dist/components/user-action/DateAndTimePicker.cjs +8 -8
  138. package/dist/components/user-action/DateAndTimePicker.cjs.map +1 -1
  139. package/dist/components/user-action/DateAndTimePicker.js +8 -8
  140. package/dist/components/user-action/DateAndTimePicker.js.map +1 -1
  141. package/dist/components/user-action/SearchBar.cjs +14 -14
  142. package/dist/components/user-action/SearchBar.cjs.map +1 -1
  143. package/dist/components/user-action/SearchBar.js +14 -14
  144. package/dist/components/user-action/SearchBar.js.map +1 -1
  145. package/dist/components/user-action/index.cjs +18 -18
  146. package/dist/components/user-action/index.cjs.map +1 -1
  147. package/dist/components/user-action/index.js +18 -18
  148. package/dist/components/user-action/index.js.map +1 -1
  149. package/dist/components/user-action/select/Select.cjs +19 -19
  150. package/dist/components/user-action/select/Select.cjs.map +1 -1
  151. package/dist/components/user-action/select/Select.js +19 -19
  152. package/dist/components/user-action/select/Select.js.map +1 -1
  153. package/dist/components/user-action/select/index.cjs +19 -19
  154. package/dist/components/user-action/select/index.cjs.map +1 -1
  155. package/dist/components/user-action/select/index.js +19 -19
  156. package/dist/components/user-action/select/index.js.map +1 -1
  157. package/dist/hooks/index.cjs +11 -11
  158. package/dist/hooks/index.cjs.map +1 -1
  159. package/dist/hooks/index.js +11 -11
  160. package/dist/hooks/index.js.map +1 -1
  161. package/dist/hooks/useValidators.cjs +14 -14
  162. package/dist/hooks/useValidators.cjs.map +1 -1
  163. package/dist/hooks/useValidators.js +14 -14
  164. package/dist/hooks/useValidators.js.map +1 -1
  165. package/dist/i18n/LocaleProvider.cjs +2 -2
  166. package/dist/i18n/LocaleProvider.cjs.map +1 -1
  167. package/dist/i18n/LocaleProvider.d.cts +5 -5
  168. package/dist/i18n/LocaleProvider.d.ts +5 -5
  169. package/dist/i18n/LocaleProvider.js +2 -2
  170. package/dist/i18n/LocaleProvider.js.map +1 -1
  171. package/dist/i18n/index.cjs +15 -15
  172. package/dist/i18n/index.cjs.map +1 -1
  173. package/dist/i18n/index.d.cts +2 -2
  174. package/dist/i18n/index.d.ts +2 -2
  175. package/dist/i18n/index.js +11 -11
  176. package/dist/i18n/index.js.map +1 -1
  177. package/dist/i18n/translations.cjs +6 -6
  178. package/dist/i18n/translations.cjs.map +1 -1
  179. package/dist/i18n/translations.d.cts +5 -5
  180. package/dist/i18n/translations.d.ts +5 -5
  181. package/dist/i18n/translations.js +4 -4
  182. package/dist/i18n/translations.js.map +1 -1
  183. package/dist/i18n/{useTranslation.cjs → useHightideTranslation.cjs} +22 -22
  184. package/dist/i18n/useHightideTranslation.cjs.map +1 -0
  185. package/dist/i18n/useHightideTranslation.d.cts +21 -0
  186. package/dist/i18n/useHightideTranslation.d.ts +21 -0
  187. package/dist/i18n/{useTranslation.js → useHightideTranslation.js} +16 -16
  188. package/dist/i18n/useHightideTranslation.js.map +1 -0
  189. package/dist/i18n/util.cjs +2 -2
  190. package/dist/i18n/util.cjs.map +1 -1
  191. package/dist/i18n/util.d.cts +2 -2
  192. package/dist/i18n/util.d.ts +2 -2
  193. package/dist/i18n/util.js +2 -2
  194. package/dist/i18n/util.js.map +1 -1
  195. package/dist/index.cjs +37 -37
  196. package/dist/index.cjs.map +1 -1
  197. package/dist/index.d.cts +2 -2
  198. package/dist/index.d.ts +2 -2
  199. package/dist/index.js +34 -34
  200. package/dist/index.js.map +1 -1
  201. package/package.json +3 -3
  202. package/dist/i18n/useTranslation.cjs.map +0 -1
  203. package/dist/i18n/useTranslation.d.cts +0 -22
  204. package/dist/i18n/useTranslation.d.ts +0 -22
  205. package/dist/i18n/useTranslation.js.map +0 -1
package/dist/index.d.cts CHANGED
@@ -86,8 +86,8 @@ export { useResizeCallbackWrapper } from './hooks/useResizeCallbackWrapper.cjs';
86
86
  export { UseSearchProps, useSearch } from './hooks/useSearch.cjs';
87
87
  export { UseValidators, ValidatorError, ValidatorResult, useTranslatedValidators } from './hooks/useValidators.cjs';
88
88
  export { LocaleContext, LocaleContextValue, LocaleProvider, useLanguage, useLocale } from './i18n/LocaleProvider.cjs';
89
- export { GeneratedTranslationEntries, SupportedLocale, generatedTranslations, supportedLocales } from './i18n/translations.cjs';
90
- export { useICUTranslation, useTranslation } from './i18n/useTranslation.cjs';
89
+ export { HightideTranslationEntries, HightideTranslationLocales, hightideTranslation, hightideTranslationLocales } from './i18n/translations.cjs';
90
+ export { useHightideTranslation, useICUTranslation } from './i18n/useHightideTranslation.cjs';
91
91
  export { LocalizationUtil } from './i18n/util.cjs';
92
92
  export { ResolvedTheme, ThemeContext, ThemeProvider, ThemeType, ThemeUtil, useTheme } from './theming/useTheme.cjs';
93
93
  export { ArrayUtil, RangeOptions, closestMatch, createLoopingList, createLoopingListWithIndex, equalSizeGroups, getNeighbours, range } from './utils/array.cjs';
package/dist/index.d.ts CHANGED
@@ -86,8 +86,8 @@ export { useResizeCallbackWrapper } from './hooks/useResizeCallbackWrapper.js';
86
86
  export { UseSearchProps, useSearch } from './hooks/useSearch.js';
87
87
  export { UseValidators, ValidatorError, ValidatorResult, useTranslatedValidators } from './hooks/useValidators.js';
88
88
  export { LocaleContext, LocaleContextValue, LocaleProvider, useLanguage, useLocale } from './i18n/LocaleProvider.js';
89
- export { GeneratedTranslationEntries, SupportedLocale, generatedTranslations, supportedLocales } from './i18n/translations.js';
90
- export { useICUTranslation, useTranslation } from './i18n/useTranslation.js';
89
+ export { HightideTranslationEntries, HightideTranslationLocales, hightideTranslation, hightideTranslationLocales } from './i18n/translations.js';
90
+ export { useHightideTranslation, useICUTranslation } from './i18n/useHightideTranslation.js';
91
91
  export { LocalizationUtil } from './i18n/util.js';
92
92
  export { ResolvedTheme, ThemeContext, ThemeProvider, ThemeType, ThemeUtil, useTheme } from './theming/useTheme.js';
93
93
  export { ArrayUtil, RangeOptions, closestMatch, createLoopingList, createLoopingListWithIndex, equalSizeGroups, getNeighbours, range } from './utils/array.js';
package/dist/index.js CHANGED
@@ -6878,8 +6878,8 @@ var useLocalStorage = (key, backupValue) => {
6878
6878
 
6879
6879
  // src/i18n/translations.ts
6880
6880
  import { TranslationGen } from "@helpwave/internationalization";
6881
- var supportedLocales = ["de-DE", "en-US"];
6882
- var generatedTranslations = {
6881
+ var hightideTranslationLocales = ["de-DE", "en-US"];
6882
+ var hightideTranslation = {
6883
6883
  "de-DE": {
6884
6884
  "add": `Hinzuf\xFCgen`,
6885
6885
  "age": `Alter`,
@@ -7364,7 +7364,7 @@ function localeToLanguage(locale) {
7364
7364
  return locale.split("-")[0];
7365
7365
  }
7366
7366
  var LocalizationUtil = {
7367
- locals: supportedLocales,
7367
+ locals: hightideTranslationLocales,
7368
7368
  localToLanguage: localeToLanguage,
7369
7369
  DEFAULT_LOCALE,
7370
7370
  languagesLocalNames: localsNames
@@ -7974,7 +7974,7 @@ var YearMonthPickerUncontrolled = ({
7974
7974
  );
7975
7975
  };
7976
7976
 
7977
- // src/i18n/useTranslation.ts
7977
+ // src/i18n/useHightideTranslation.ts
7978
7978
  import { combineTranslation, ICUUtil } from "@helpwave/internationalization";
7979
7979
  function useICUTranslation(translations, locale) {
7980
7980
  translations = Array.isArray(translations) ? translations : [translations];
@@ -7995,13 +7995,13 @@ function useICUTranslation(translations, locale) {
7995
7995
  return `{{${String(locale)}:${String(key)}}}`;
7996
7996
  };
7997
7997
  }
7998
- function useTranslation(extensions, overwrites) {
7998
+ function useHightideTranslation(extensions, overwrites) {
7999
7999
  const { locale: inferredLocale } = useLocale();
8000
8000
  const locale = overwrites?.locale ?? inferredLocale;
8001
8001
  const translationExtensions = ArrayUtil.resolveSingleOrArray(extensions);
8002
8002
  return combineTranslation([
8003
8003
  ...translationExtensions,
8004
- generatedTranslations
8004
+ hightideTranslation
8005
8005
  ], locale);
8006
8006
  }
8007
8007
 
@@ -8018,7 +8018,7 @@ var DatePicker = ({
8018
8018
  className = ""
8019
8019
  }) => {
8020
8020
  const { locale } = useLocale();
8021
- const translation = useTranslation();
8021
+ const translation = useHightideTranslation();
8022
8022
  const [displayedMonth, setDisplayedMonth] = useState5(value);
8023
8023
  const [displayMode, setDisplayMode] = useState5(initialDisplay);
8024
8024
  useEffect5(() => {
@@ -8129,7 +8129,7 @@ var TimeDisplay = ({
8129
8129
  date,
8130
8130
  mode = "daysFromToday"
8131
8131
  }) => {
8132
- const translation = useTranslation();
8132
+ const translation = useHightideTranslation();
8133
8133
  const difference = (/* @__PURE__ */ new Date()).setHours(0, 0, 0, 0).valueOf() - new Date(date).setHours(0, 0, 0, 0).valueOf();
8134
8134
  const isBefore = difference > 0;
8135
8135
  const differenceInDays = Math.floor(Math.abs(difference) / (1e3 * 3600 * 24));
@@ -8555,7 +8555,7 @@ var Dialog = ({
8555
8555
  containerClassName,
8556
8556
  ...props
8557
8557
  }) => {
8558
- const translation = useTranslation();
8558
+ const translation = useHightideTranslation();
8559
8559
  const [visible, setVisible] = useState9(isOpen);
8560
8560
  const generatedId = useId3();
8561
8561
  const id = props.id ?? generatedId;
@@ -8680,7 +8680,7 @@ var ConfirmDialog = ({
8680
8680
  className,
8681
8681
  ...restProps
8682
8682
  }) => {
8683
- const translation = useTranslation();
8683
+ const translation = useHightideTranslation();
8684
8684
  const mapping = {
8685
8685
  neutral: "neutral",
8686
8686
  negative: "negative",
@@ -8732,7 +8732,7 @@ var DiscardChangesDialog = ({
8732
8732
  descriptionOverwrite,
8733
8733
  ...props
8734
8734
  }) => {
8735
- const translation = useTranslation();
8735
+ const translation = useHightideTranslation();
8736
8736
  return /* @__PURE__ */ jsx13(
8737
8737
  ConfirmDialog,
8738
8738
  {
@@ -9461,7 +9461,7 @@ var SelectOption = forwardRef4(
9461
9461
  }
9462
9462
  );
9463
9463
  var SelectButton = forwardRef4(function SelectButton2({ placeholder, selectedDisplay, ...props }, ref) {
9464
- const translation = useTranslation();
9464
+ const translation = useHightideTranslation();
9465
9465
  const { state, trigger } = useSelectContext();
9466
9466
  const { register, unregister, toggleOpen } = trigger;
9467
9467
  const innerRef = useRef6(null);
@@ -9811,7 +9811,7 @@ var LanguageDialog = ({
9811
9811
  ...props
9812
9812
  }) => {
9813
9813
  const { locale, setLocale } = useLocale();
9814
- const translation = useTranslation();
9814
+ const translation = useHightideTranslation();
9815
9815
  return /* @__PURE__ */ jsx18(
9816
9816
  Dialog,
9817
9817
  {
@@ -9944,7 +9944,7 @@ var ThemeDialog = ({
9944
9944
  ...props
9945
9945
  }) => {
9946
9946
  const { theme, setTheme } = useTheme();
9947
- const translation = useTranslation();
9947
+ const translation = useHightideTranslation();
9948
9948
  return /* @__PURE__ */ jsx20(
9949
9949
  Dialog,
9950
9950
  {
@@ -10899,7 +10899,7 @@ var useCarouselContext = () => {
10899
10899
  function CarouselTabs({
10900
10900
  onChange
10901
10901
  }) {
10902
- const translation = useTranslation();
10902
+ const translation = useHightideTranslation();
10903
10903
  const { id, slideCount, currentIndex, isLooping } = useCarouselContext();
10904
10904
  const tabRefs = useRef9([]);
10905
10905
  const handleKeyDown = (event, index) => {
@@ -10957,7 +10957,7 @@ var CarouselSlide = forwardRef8(
10957
10957
  isSelected,
10958
10958
  ...props
10959
10959
  }, ref) {
10960
- const translation = useTranslation();
10960
+ const translation = useHightideTranslation();
10961
10961
  const { id, slideCount } = useCarouselContext();
10962
10962
  return /* @__PURE__ */ jsx31(
10963
10963
  "div",
@@ -10995,7 +10995,7 @@ var Carousel = ({
10995
10995
  onSlideChanged,
10996
10996
  ...props
10997
10997
  }) => {
10998
- const translation = useTranslation();
10998
+ const translation = useHightideTranslation();
10999
10999
  const slideRefs = useRef9([]);
11000
11000
  const [currentIndex, setCurrentIndex] = useState16(0);
11001
11001
  const [hasFocus, setHasFocus] = useState16(false);
@@ -12799,7 +12799,7 @@ var TextImage = ({
12799
12799
  contentClassName = "",
12800
12800
  className = ""
12801
12801
  }) => {
12802
- const translation = useTranslation();
12802
+ const translation = useHightideTranslation();
12803
12803
  const chipColorMapping = {
12804
12804
  primary: "text-text-image-primary-background bg-text-image-primary-text",
12805
12805
  secondary: "text-text-image-secondary-background bg-text-image-secondary-text",
@@ -12897,7 +12897,7 @@ var ErrorComponent = ({
12897
12897
  errorText,
12898
12898
  classname
12899
12899
  }) => {
12900
- const translation = useTranslation();
12900
+ const translation = useHightideTranslation();
12901
12901
  return /* @__PURE__ */ jsxs23("div", { className: clsx27("flex-col-4 items-center justify-center w-full h-24", classname), children: [
12902
12902
  /* @__PURE__ */ jsx42(AlertOctagon, { size: 64, className: "text-warning" }),
12903
12903
  errorText ?? `${translation("errorOccurred")} :(`
@@ -12951,7 +12951,7 @@ var LoadingAnimation = ({
12951
12951
  loadingText,
12952
12952
  classname
12953
12953
  }) => {
12954
- const translation = useTranslation();
12954
+ const translation = useHightideTranslation();
12955
12955
  return /* @__PURE__ */ jsxs24("div", { className: clsx30("flex-col-2 items-center justify-center w-full h-24", classname), children: [
12956
12956
  /* @__PURE__ */ jsx45(HelpwaveLogo, { animate: "loading" }),
12957
12957
  loadingText ?? `${translation("loading")}...`
@@ -13204,7 +13204,7 @@ var Pagination = ({
13204
13204
  className,
13205
13205
  style
13206
13206
  }) => {
13207
- const translation = useTranslation();
13207
+ const translation = useHightideTranslation();
13208
13208
  const [value, setValue] = useState22((pageIndex + 1).toString());
13209
13209
  const noPages = pageCount === 0;
13210
13210
  const onFirstPage = pageIndex === 0 && !noPages;
@@ -13279,7 +13279,7 @@ var StepperBar = ({
13279
13279
  showDots = true,
13280
13280
  className = ""
13281
13281
  }) => {
13282
- const translation = useTranslation();
13282
+ const translation = useHightideTranslation();
13283
13283
  const dots = range(numberOfSteps + 1);
13284
13284
  const { currentStep, seenSteps } = state ?? defaultState;
13285
13285
  const update = (newStep) => {
@@ -13835,7 +13835,7 @@ var PropertyBase = ({
13835
13835
  onRemove,
13836
13836
  className = ""
13837
13837
  }) => {
13838
- const translation = useTranslation();
13838
+ const translation = useHightideTranslation();
13839
13839
  const requiredAndNoValue = softRequired && !hasValue;
13840
13840
  return /* @__PURE__ */ jsxs33("div", { className: clsx37("flex-row-0 group", className), children: [
13841
13841
  /* @__PURE__ */ jsxs33(
@@ -13894,7 +13894,7 @@ var CheckboxProperty = ({
13894
13894
  readOnly,
13895
13895
  ...baseProps
13896
13896
  }) => {
13897
- const translation = useTranslation();
13897
+ const translation = useHightideTranslation();
13898
13898
  const id = useId8();
13899
13899
  return /* @__PURE__ */ jsx55(
13900
13900
  PropertyBase,
@@ -14016,7 +14016,7 @@ var NumberProperty = ({
14016
14016
  suffix,
14017
14017
  ...baseProps
14018
14018
  }) => {
14019
- const translation = useTranslation();
14019
+ const translation = useHightideTranslation();
14020
14020
  const hasValue = value !== void 0;
14021
14021
  return /* @__PURE__ */ jsx58(
14022
14022
  PropertyBase,
@@ -14228,7 +14228,7 @@ var TextProperty = ({
14228
14228
  onEditComplete,
14229
14229
  ...baseProps
14230
14230
  }) => {
14231
- const translation = useTranslation();
14231
+ const translation = useHightideTranslation();
14232
14232
  const hasValue = value !== void 0;
14233
14233
  return /* @__PURE__ */ jsx61(
14234
14234
  PropertyBase,
@@ -14609,7 +14609,7 @@ var TableFilterButton = ({
14609
14609
  filterType,
14610
14610
  column
14611
14611
  }) => {
14612
- const translation = useTranslation();
14612
+ const translation = useHightideTranslation();
14613
14613
  const columnFilterValue = column.getFilterValue();
14614
14614
  const [filterValue, setFilterValue] = useState28(columnFilterValue);
14615
14615
  const hasFilter = !!filterValue;
@@ -15131,7 +15131,7 @@ var CopyToClipboardWrapper = ({
15131
15131
  position = "bottom",
15132
15132
  zIndex = 10
15133
15133
  }) => {
15134
- const translation = useTranslation();
15134
+ const translation = useHightideTranslation();
15135
15135
  const [isShowingIndication, setIsShowingIndication] = useState30(false);
15136
15136
  const [isShowingConfirmation, setIsShowingConfirmation] = useState30(false);
15137
15137
  const positionClasses = {
@@ -15223,7 +15223,7 @@ var DateTimePicker = ({
15223
15223
  timePickerProps,
15224
15224
  datePickerProps
15225
15225
  }) => {
15226
- const translation = useTranslation();
15226
+ const translation = useHightideTranslation();
15227
15227
  const useDate = mode === "dateTime" || mode === "date";
15228
15228
  const useTime = mode === "dateTime" || mode === "time";
15229
15229
  let dateDisplay;
@@ -15482,7 +15482,7 @@ var SearchBar = ({
15482
15482
  containerClassName,
15483
15483
  ...inputProps
15484
15484
  }) => {
15485
- const translation = useTranslation();
15485
+ const translation = useHightideTranslation();
15486
15486
  return /* @__PURE__ */ jsxs43("div", { className: clsx52("flex-row-2 justify-between items-center", containerClassName), children: [
15487
15487
  /* @__PURE__ */ jsx71(
15488
15488
  Input,
@@ -15958,7 +15958,7 @@ var UseValidators = {
15958
15958
  selection: selectionValidator
15959
15959
  };
15960
15960
  var useTranslatedValidators = () => {
15961
- const translation = useTranslation();
15961
+ const translation = useHightideTranslation();
15962
15962
  return {
15963
15963
  notEmpty: (value) => {
15964
15964
  const result = notEmpty(value);
@@ -16242,11 +16242,12 @@ export {
16242
16242
  formatDate,
16243
16243
  formatDateTime,
16244
16244
  generateShadingColors,
16245
- generatedTranslations,
16246
16245
  getBetweenDuration,
16247
16246
  getDaysInMonth,
16248
16247
  getNeighbours,
16249
16248
  getWeeksForCalenderMonth,
16249
+ hightideTranslation,
16250
+ hightideTranslationLocales,
16250
16251
  isInTimeSpan,
16251
16252
  match,
16252
16253
  monthsList,
@@ -16255,13 +16256,13 @@ export {
16255
16256
  resolveSetState,
16256
16257
  shadingColorValues,
16257
16258
  subtractDuration,
16258
- supportedLocales,
16259
16259
  useDelay,
16260
16260
  useFloatingElement,
16261
16261
  useFocusGuards,
16262
16262
  useFocusManagement,
16263
16263
  useFocusOnceVisible,
16264
16264
  useFocusTrap,
16265
+ useHightideTranslation,
16265
16266
  useHoverState,
16266
16267
  useICUTranslation,
16267
16268
  useIsMounted,
@@ -16277,7 +16278,6 @@ export {
16277
16278
  useSearch,
16278
16279
  useTheme,
16279
16280
  useTranslatedValidators,
16280
- useTranslation,
16281
16281
  validateEmail,
16282
16282
  weekDayList,
16283
16283
  writeToClipboard