@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
@@ -6859,8 +6859,8 @@ var import_react2 = require("react");
6859
6859
 
6860
6860
  // src/i18n/translations.ts
6861
6861
  var import_internationalization = require("@helpwave/internationalization");
6862
- var supportedLocales = ["de-DE", "en-US"];
6863
- var generatedTranslations = {
6862
+ var hightideTranslationLocales = ["de-DE", "en-US"];
6863
+ var hightideTranslation = {
6864
6864
  "de-DE": {
6865
6865
  "add": `Hinzuf\xFCgen`,
6866
6866
  "age": `Alter`,
@@ -7345,7 +7345,7 @@ function localeToLanguage(locale) {
7345
7345
  return locale.split("-")[0];
7346
7346
  }
7347
7347
  var LocalizationUtil = {
7348
- locals: supportedLocales,
7348
+ locals: hightideTranslationLocales,
7349
7349
  localToLanguage: localeToLanguage,
7350
7350
  DEFAULT_LOCALE,
7351
7351
  languagesLocalNames: localsNames
@@ -7892,15 +7892,15 @@ var YearMonthPickerUncontrolled = ({
7892
7892
  );
7893
7893
  };
7894
7894
 
7895
- // src/i18n/useTranslation.ts
7895
+ // src/i18n/useHightideTranslation.ts
7896
7896
  var import_internationalization2 = require("@helpwave/internationalization");
7897
- function useTranslation(extensions, overwrites) {
7897
+ function useHightideTranslation(extensions, overwrites) {
7898
7898
  const { locale: inferredLocale } = useLocale();
7899
7899
  const locale = overwrites?.locale ?? inferredLocale;
7900
7900
  const translationExtensions = ArrayUtil.resolveSingleOrArray(extensions);
7901
7901
  return (0, import_internationalization2.combineTranslation)([
7902
7902
  ...translationExtensions,
7903
- generatedTranslations
7903
+ hightideTranslation
7904
7904
  ], locale);
7905
7905
  }
7906
7906
 
@@ -7917,7 +7917,7 @@ var DatePicker = ({
7917
7917
  className = ""
7918
7918
  }) => {
7919
7919
  const { locale } = useLocale();
7920
- const translation = useTranslation();
7920
+ const translation = useHightideTranslation();
7921
7921
  const [displayedMonth, setDisplayedMonth] = (0, import_react8.useState)(value);
7922
7922
  const [displayMode, setDisplayMode] = (0, import_react8.useState)(initialDisplay);
7923
7923
  (0, import_react8.useEffect)(() => {
@@ -8028,7 +8028,7 @@ var TimeDisplay = ({
8028
8028
  date,
8029
8029
  mode = "daysFromToday"
8030
8030
  }) => {
8031
- const translation = useTranslation();
8031
+ const translation = useHightideTranslation();
8032
8032
  const difference = (/* @__PURE__ */ new Date()).setHours(0, 0, 0, 0).valueOf() - new Date(date).setHours(0, 0, 0, 0).valueOf();
8033
8033
  const isBefore = difference > 0;
8034
8034
  const differenceInDays = Math.floor(Math.abs(difference) / (1e3 * 3600 * 24));
@@ -8454,7 +8454,7 @@ var Dialog = ({
8454
8454
  containerClassName,
8455
8455
  ...props
8456
8456
  }) => {
8457
- const translation = useTranslation();
8457
+ const translation = useHightideTranslation();
8458
8458
  const [visible, setVisible] = (0, import_react14.useState)(isOpen);
8459
8459
  const generatedId = (0, import_react13.useId)();
8460
8460
  const id = props.id ?? generatedId;
@@ -8579,7 +8579,7 @@ var ConfirmDialog = ({
8579
8579
  className,
8580
8580
  ...restProps
8581
8581
  }) => {
8582
- const translation = useTranslation();
8582
+ const translation = useHightideTranslation();
8583
8583
  const mapping = {
8584
8584
  neutral: "neutral",
8585
8585
  negative: "negative",
@@ -8631,7 +8631,7 @@ var DiscardChangesDialog = ({
8631
8631
  descriptionOverwrite,
8632
8632
  ...props
8633
8633
  }) => {
8634
- const translation = useTranslation();
8634
+ const translation = useHightideTranslation();
8635
8635
  return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
8636
8636
  ConfirmDialog,
8637
8637
  {
@@ -9349,7 +9349,7 @@ var SelectOption = (0, import_react19.forwardRef)(
9349
9349
  }
9350
9350
  );
9351
9351
  var SelectButton = (0, import_react19.forwardRef)(function SelectButton2({ placeholder, selectedDisplay, ...props }, ref) {
9352
- const translation = useTranslation();
9352
+ const translation = useHightideTranslation();
9353
9353
  const { state, trigger } = useSelectContext();
9354
9354
  const { register, unregister, toggleOpen } = trigger;
9355
9355
  const innerRef = (0, import_react19.useRef)(null);
@@ -9699,7 +9699,7 @@ var LanguageDialog = ({
9699
9699
  ...props
9700
9700
  }) => {
9701
9701
  const { locale, setLocale } = useLocale();
9702
- const translation = useTranslation();
9702
+ const translation = useHightideTranslation();
9703
9703
  return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
9704
9704
  Dialog,
9705
9705
  {
@@ -9764,7 +9764,7 @@ var ThemeDialog = ({
9764
9764
  ...props
9765
9765
  }) => {
9766
9766
  const { theme, setTheme } = useTheme();
9767
- const translation = useTranslation();
9767
+ const translation = useHightideTranslation();
9768
9768
  return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
9769
9769
  Dialog,
9770
9770
  {
@@ -10709,7 +10709,7 @@ var useCarouselContext = () => {
10709
10709
  function CarouselTabs({
10710
10710
  onChange
10711
10711
  }) {
10712
- const translation = useTranslation();
10712
+ const translation = useHightideTranslation();
10713
10713
  const { id, slideCount, currentIndex, isLooping } = useCarouselContext();
10714
10714
  const tabRefs = (0, import_react24.useRef)([]);
10715
10715
  const handleKeyDown = (event, index) => {
@@ -10767,7 +10767,7 @@ var CarouselSlide = (0, import_react24.forwardRef)(
10767
10767
  isSelected,
10768
10768
  ...props
10769
10769
  }, ref) {
10770
- const translation = useTranslation();
10770
+ const translation = useHightideTranslation();
10771
10771
  const { id, slideCount } = useCarouselContext();
10772
10772
  return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
10773
10773
  "div",
@@ -10805,7 +10805,7 @@ var Carousel = ({
10805
10805
  onSlideChanged,
10806
10806
  ...props
10807
10807
  }) => {
10808
- const translation = useTranslation();
10808
+ const translation = useHightideTranslation();
10809
10809
  const slideRefs = (0, import_react24.useRef)([]);
10810
10810
  const [currentIndex, setCurrentIndex] = (0, import_react24.useState)(0);
10811
10811
  const [hasFocus, setHasFocus] = (0, import_react24.useState)(false);
@@ -12609,7 +12609,7 @@ var TextImage = ({
12609
12609
  contentClassName = "",
12610
12610
  className = ""
12611
12611
  }) => {
12612
- const translation = useTranslation();
12612
+ const translation = useHightideTranslation();
12613
12613
  const chipColorMapping = {
12614
12614
  primary: "text-text-image-primary-background bg-text-image-primary-text",
12615
12615
  secondary: "text-text-image-secondary-background bg-text-image-secondary-text",
@@ -12707,7 +12707,7 @@ var ErrorComponent = ({
12707
12707
  errorText,
12708
12708
  classname
12709
12709
  }) => {
12710
- const translation = useTranslation();
12710
+ const translation = useHightideTranslation();
12711
12711
  return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: (0, import_clsx27.default)("flex-col-4 items-center justify-center w-full h-24", classname), children: [
12712
12712
  /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_lucide_react8.AlertOctagon, { size: 64, className: "text-warning" }),
12713
12713
  errorText ?? `${translation("errorOccurred")} :(`
@@ -12761,7 +12761,7 @@ var LoadingAnimation = ({
12761
12761
  loadingText,
12762
12762
  classname
12763
12763
  }) => {
12764
- const translation = useTranslation();
12764
+ const translation = useHightideTranslation();
12765
12765
  return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: (0, import_clsx30.default)("flex-col-2 items-center justify-center w-full h-24", classname), children: [
12766
12766
  /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(HelpwaveLogo, { animate: "loading" }),
12767
12767
  loadingText ?? `${translation("loading")}...`
@@ -13014,7 +13014,7 @@ var Pagination = ({
13014
13014
  className,
13015
13015
  style
13016
13016
  }) => {
13017
- const translation = useTranslation();
13017
+ const translation = useHightideTranslation();
13018
13018
  const [value, setValue] = (0, import_react31.useState)((pageIndex + 1).toString());
13019
13019
  const noPages = pageCount === 0;
13020
13020
  const onFirstPage = pageIndex === 0 && !noPages;
@@ -13089,7 +13089,7 @@ var StepperBar = ({
13089
13089
  showDots = true,
13090
13090
  className = ""
13091
13091
  }) => {
13092
- const translation = useTranslation();
13092
+ const translation = useHightideTranslation();
13093
13093
  const dots = range(numberOfSteps + 1);
13094
13094
  const { currentStep, seenSteps } = state ?? defaultState;
13095
13095
  const update = (newStep) => {
@@ -13645,7 +13645,7 @@ var PropertyBase = ({
13645
13645
  onRemove,
13646
13646
  className = ""
13647
13647
  }) => {
13648
- const translation = useTranslation();
13648
+ const translation = useHightideTranslation();
13649
13649
  const requiredAndNoValue = softRequired && !hasValue;
13650
13650
  return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: (0, import_clsx37.default)("flex-row-0 group", className), children: [
13651
13651
  /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
@@ -13704,7 +13704,7 @@ var CheckboxProperty = ({
13704
13704
  readOnly,
13705
13705
  ...baseProps
13706
13706
  }) => {
13707
- const translation = useTranslation();
13707
+ const translation = useHightideTranslation();
13708
13708
  const id = (0, import_react32.useId)();
13709
13709
  return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
13710
13710
  PropertyBase,
@@ -13826,7 +13826,7 @@ var NumberProperty = ({
13826
13826
  suffix,
13827
13827
  ...baseProps
13828
13828
  }) => {
13829
- const translation = useTranslation();
13829
+ const translation = useHightideTranslation();
13830
13830
  const hasValue = value !== void 0;
13831
13831
  return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
13832
13832
  PropertyBase,
@@ -14038,7 +14038,7 @@ var TextProperty = ({
14038
14038
  onEditComplete,
14039
14039
  ...baseProps
14040
14040
  }) => {
14041
- const translation = useTranslation();
14041
+ const translation = useHightideTranslation();
14042
14042
  const hasValue = value !== void 0;
14043
14043
  return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
14044
14044
  PropertyBase,
@@ -14412,7 +14412,7 @@ var TableFilterButton = ({
14412
14412
  filterType,
14413
14413
  column
14414
14414
  }) => {
14415
- const translation = useTranslation();
14415
+ const translation = useHightideTranslation();
14416
14416
  const columnFilterValue = column.getFilterValue();
14417
14417
  const [filterValue, setFilterValue] = (0, import_react38.useState)(columnFilterValue);
14418
14418
  const hasFilter = !!filterValue;
@@ -14934,7 +14934,7 @@ var CopyToClipboardWrapper = ({
14934
14934
  position = "bottom",
14935
14935
  zIndex = 10
14936
14936
  }) => {
14937
- const translation = useTranslation();
14937
+ const translation = useHightideTranslation();
14938
14938
  const [isShowingIndication, setIsShowingIndication] = (0, import_react40.useState)(false);
14939
14939
  const [isShowingConfirmation, setIsShowingConfirmation] = (0, import_react40.useState)(false);
14940
14940
  const positionClasses = {
@@ -15026,7 +15026,7 @@ var DateTimePicker = ({
15026
15026
  timePickerProps,
15027
15027
  datePickerProps
15028
15028
  }) => {
15029
- const translation = useTranslation();
15029
+ const translation = useHightideTranslation();
15030
15030
  const useDate = mode === "dateTime" || mode === "date";
15031
15031
  const useTime = mode === "dateTime" || mode === "time";
15032
15032
  let dateDisplay;
@@ -15285,7 +15285,7 @@ var SearchBar = ({
15285
15285
  containerClassName,
15286
15286
  ...inputProps
15287
15287
  }) => {
15288
- const translation = useTranslation();
15288
+ const translation = useHightideTranslation();
15289
15289
  return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: (0, import_clsx52.clsx)("flex-row-2 justify-between items-center", containerClassName), children: [
15290
15290
  /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
15291
15291
  Input,