@helpwave/hightide 0.1.37 → 0.1.38

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 (138) hide show
  1. package/dist/components/date/DatePicker.js.map +1 -1
  2. package/dist/components/date/DatePicker.mjs.map +1 -1
  3. package/dist/components/date/DayPicker.js.map +1 -1
  4. package/dist/components/date/DayPicker.mjs.map +1 -1
  5. package/dist/components/date/TimeDisplay.js.map +1 -1
  6. package/dist/components/date/TimeDisplay.mjs.map +1 -1
  7. package/dist/components/date/YearMonthPicker.js.map +1 -1
  8. package/dist/components/date/YearMonthPicker.mjs.map +1 -1
  9. package/dist/components/date/index.js.map +1 -1
  10. package/dist/components/date/index.mjs.map +1 -1
  11. package/dist/components/dialog/ConfirmDialog.js +15 -9
  12. package/dist/components/dialog/ConfirmDialog.js.map +1 -1
  13. package/dist/components/dialog/ConfirmDialog.mjs +16 -10
  14. package/dist/components/dialog/ConfirmDialog.mjs.map +1 -1
  15. package/dist/components/dialog/Dialog.d.mts +4 -5
  16. package/dist/components/dialog/Dialog.d.ts +4 -5
  17. package/dist/components/dialog/Dialog.js +15 -9
  18. package/dist/components/dialog/Dialog.js.map +1 -1
  19. package/dist/components/dialog/Dialog.mjs +16 -10
  20. package/dist/components/dialog/Dialog.mjs.map +1 -1
  21. package/dist/components/dialog/DiscardChangesDialog.js +15 -9
  22. package/dist/components/dialog/DiscardChangesDialog.js.map +1 -1
  23. package/dist/components/dialog/DiscardChangesDialog.mjs +16 -10
  24. package/dist/components/dialog/DiscardChangesDialog.mjs.map +1 -1
  25. package/dist/components/dialog/InputDialog.js +15 -9
  26. package/dist/components/dialog/InputDialog.js.map +1 -1
  27. package/dist/components/dialog/InputDialog.mjs +16 -10
  28. package/dist/components/dialog/InputDialog.mjs.map +1 -1
  29. package/dist/components/dialog/LanguageDialog.js +188 -154
  30. package/dist/components/dialog/LanguageDialog.js.map +1 -1
  31. package/dist/components/dialog/LanguageDialog.mjs +151 -116
  32. package/dist/components/dialog/LanguageDialog.mjs.map +1 -1
  33. package/dist/components/dialog/ThemeDialog.js +191 -157
  34. package/dist/components/dialog/ThemeDialog.js.map +1 -1
  35. package/dist/components/dialog/ThemeDialog.mjs +151 -116
  36. package/dist/components/dialog/ThemeDialog.mjs.map +1 -1
  37. package/dist/components/dialog/index.js +205 -171
  38. package/dist/components/dialog/index.js.map +1 -1
  39. package/dist/components/dialog/index.mjs +152 -117
  40. package/dist/components/dialog/index.mjs.map +1 -1
  41. package/dist/components/index.js +333 -299
  42. package/dist/components/index.js.map +1 -1
  43. package/dist/components/index.mjs +194 -159
  44. package/dist/components/index.mjs.map +1 -1
  45. package/dist/components/layout/Carousel.js.map +1 -1
  46. package/dist/components/layout/Carousel.mjs.map +1 -1
  47. package/dist/components/layout/TextImage.js.map +1 -1
  48. package/dist/components/layout/TextImage.mjs.map +1 -1
  49. package/dist/components/layout/index.js.map +1 -1
  50. package/dist/components/layout/index.mjs.map +1 -1
  51. package/dist/components/loading-states/ErrorComponent.js.map +1 -1
  52. package/dist/components/loading-states/ErrorComponent.mjs.map +1 -1
  53. package/dist/components/loading-states/LoadingAnimation.js.map +1 -1
  54. package/dist/components/loading-states/LoadingAnimation.mjs.map +1 -1
  55. package/dist/components/loading-states/index.js.map +1 -1
  56. package/dist/components/loading-states/index.mjs.map +1 -1
  57. package/dist/components/navigation/Pagination.js.map +1 -1
  58. package/dist/components/navigation/Pagination.mjs.map +1 -1
  59. package/dist/components/navigation/StepperBar.js.map +1 -1
  60. package/dist/components/navigation/StepperBar.mjs.map +1 -1
  61. package/dist/components/navigation/index.js.map +1 -1
  62. package/dist/components/navigation/index.mjs.map +1 -1
  63. package/dist/components/properties/CheckboxProperty.js.map +1 -1
  64. package/dist/components/properties/CheckboxProperty.mjs.map +1 -1
  65. package/dist/components/properties/DateProperty.js.map +1 -1
  66. package/dist/components/properties/DateProperty.mjs.map +1 -1
  67. package/dist/components/properties/MultiSelectProperty.js +129 -101
  68. package/dist/components/properties/MultiSelectProperty.js.map +1 -1
  69. package/dist/components/properties/MultiSelectProperty.mjs +131 -102
  70. package/dist/components/properties/MultiSelectProperty.mjs.map +1 -1
  71. package/dist/components/properties/NumberProperty.js.map +1 -1
  72. package/dist/components/properties/NumberProperty.mjs.map +1 -1
  73. package/dist/components/properties/PropertyBase.js.map +1 -1
  74. package/dist/components/properties/PropertyBase.mjs.map +1 -1
  75. package/dist/components/properties/SelectProperty.js +129 -101
  76. package/dist/components/properties/SelectProperty.js.map +1 -1
  77. package/dist/components/properties/SelectProperty.mjs +131 -102
  78. package/dist/components/properties/SelectProperty.mjs.map +1 -1
  79. package/dist/components/properties/TextProperty.js.map +1 -1
  80. package/dist/components/properties/TextProperty.mjs.map +1 -1
  81. package/dist/components/properties/index.js +129 -101
  82. package/dist/components/properties/index.js.map +1 -1
  83. package/dist/components/properties/index.mjs +131 -102
  84. package/dist/components/properties/index.mjs.map +1 -1
  85. package/dist/components/table/Table.js.map +1 -1
  86. package/dist/components/table/Table.mjs.map +1 -1
  87. package/dist/components/table/TableFilterButton.js.map +1 -1
  88. package/dist/components/table/TableFilterButton.mjs.map +1 -1
  89. package/dist/components/table/index.js.map +1 -1
  90. package/dist/components/table/index.mjs.map +1 -1
  91. package/dist/components/user-action/CopyToClipboardWrapper.js.map +1 -1
  92. package/dist/components/user-action/CopyToClipboardWrapper.mjs.map +1 -1
  93. package/dist/components/user-action/DateAndTimePicker.js.map +1 -1
  94. package/dist/components/user-action/DateAndTimePicker.mjs.map +1 -1
  95. package/dist/components/user-action/SearchBar.js.map +1 -1
  96. package/dist/components/user-action/SearchBar.mjs.map +1 -1
  97. package/dist/components/user-action/index.js +129 -101
  98. package/dist/components/user-action/index.js.map +1 -1
  99. package/dist/components/user-action/index.mjs +131 -102
  100. package/dist/components/user-action/index.mjs.map +1 -1
  101. package/dist/components/user-action/select/Select.d.mts +2 -0
  102. package/dist/components/user-action/select/Select.d.ts +2 -0
  103. package/dist/components/user-action/select/Select.js +129 -101
  104. package/dist/components/user-action/select/Select.js.map +1 -1
  105. package/dist/components/user-action/select/Select.mjs +131 -102
  106. package/dist/components/user-action/select/Select.mjs.map +1 -1
  107. package/dist/components/user-action/select/index.js +129 -101
  108. package/dist/components/user-action/select/index.js.map +1 -1
  109. package/dist/components/user-action/select/index.mjs +131 -102
  110. package/dist/components/user-action/select/index.mjs.map +1 -1
  111. package/dist/hooks/index.js.map +1 -1
  112. package/dist/hooks/index.mjs.map +1 -1
  113. package/dist/hooks/useValidators.js.map +1 -1
  114. package/dist/hooks/useValidators.mjs.map +1 -1
  115. package/dist/index.js +358 -324
  116. package/dist/index.js.map +1 -1
  117. package/dist/index.mjs +202 -167
  118. package/dist/index.mjs.map +1 -1
  119. package/dist/localization/LanguageProvider.js +1 -1
  120. package/dist/localization/LanguageProvider.js.map +1 -1
  121. package/dist/localization/LanguageProvider.mjs +1 -1
  122. package/dist/localization/LanguageProvider.mjs.map +1 -1
  123. package/dist/localization/index.js +1 -1
  124. package/dist/localization/index.js.map +1 -1
  125. package/dist/localization/index.mjs +1 -1
  126. package/dist/localization/index.mjs.map +1 -1
  127. package/dist/localization/useTranslation.js.map +1 -1
  128. package/dist/localization/useTranslation.mjs.map +1 -1
  129. package/dist/style/globals.css +0 -3
  130. package/dist/theming/index.js +1 -1
  131. package/dist/theming/index.js.map +1 -1
  132. package/dist/theming/index.mjs +1 -1
  133. package/dist/theming/index.mjs.map +1 -1
  134. package/dist/theming/useTheme.js +1 -1
  135. package/dist/theming/useTheme.js.map +1 -1
  136. package/dist/theming/useTheme.mjs +1 -1
  137. package/dist/theming/useTheme.mjs.map +1 -1
  138. package/package.json +1 -1
@@ -7705,9 +7705,8 @@ var TimePickerUncontrolled = ({
7705
7705
  import clsx10 from "clsx";
7706
7706
 
7707
7707
  // src/components/dialog/Dialog.tsx
7708
- import { useEffect as useEffect10 } from "react";
7709
- import { useState as useState9 } from "react";
7710
- import { useRef as useRef4 } from "react";
7708
+ import { useId as useId3 } from "react";
7709
+ import { useEffect as useEffect10, useRef as useRef4, useState as useState9 } from "react";
7711
7710
  import clsx9 from "clsx";
7712
7711
  import { X } from "lucide-react";
7713
7712
 
@@ -8062,7 +8061,7 @@ var useLogOnce = (message, condition, options) => {
8062
8061
 
8063
8062
  // src/components/dialog/Dialog.tsx
8064
8063
  import { createPortal } from "react-dom";
8065
- import { Fragment, jsx as jsx11, jsxs as jsxs8 } from "react/jsx-runtime";
8064
+ import { jsx as jsx11, jsxs as jsxs8 } from "react/jsx-runtime";
8066
8065
  var Dialog = ({
8067
8066
  children,
8068
8067
  isOpen,
@@ -8070,13 +8069,16 @@ var Dialog = ({
8070
8069
  description,
8071
8070
  isModal = true,
8072
8071
  onClose,
8073
- className,
8074
8072
  backgroundClassName,
8075
8073
  position = "center",
8076
- isAnimated = true
8074
+ isAnimated = true,
8075
+ containerClassName,
8076
+ ...props
8077
8077
  }) => {
8078
8078
  const translation = useTranslation([formTranslation]);
8079
8079
  const [visible, setVisible] = useState9(isOpen);
8080
+ const generatedId = useId3();
8081
+ const id = props.id ?? generatedId;
8080
8082
  const ref = useRef4(null);
8081
8083
  useEffect10(() => {
8082
8084
  if (isOpen) {
@@ -8103,14 +8105,16 @@ var Dialog = ({
8103
8105
  none: ""
8104
8106
  };
8105
8107
  const positionStyle = positionMap[position];
8108
+ if (!visible) return;
8106
8109
  return createPortal(
8107
- /* @__PURE__ */ jsxs8(Fragment, { children: [
8110
+ /* @__PURE__ */ jsxs8("div", { id: `dialog-container-${id}`, className: clsx9("fixed inset-0 h-screen w-screen", containerClassName), children: [
8108
8111
  /* @__PURE__ */ jsx11(
8109
8112
  "div",
8110
8113
  {
8114
+ id: `dialog-background-${id}`,
8111
8115
  hidden: !visible,
8112
8116
  className: clsx9(
8113
- "fixed inset-0 h-screen w-screen bg-overlay-shadow z-100",
8117
+ "fixed inset-0 h-screen w-screen bg-overlay-shadow",
8114
8118
  {
8115
8119
  "motion-safe:animate-fade-in": isOpen,
8116
8120
  "motion-safe:animate-fade-out": !isOpen
@@ -8129,6 +8133,8 @@ var Dialog = ({
8129
8133
  /* @__PURE__ */ jsxs8(
8130
8134
  "div",
8131
8135
  {
8136
+ ...props,
8137
+ id: `dialog-${id}`,
8132
8138
  ref,
8133
8139
  hidden: !visible,
8134
8140
  onKeyDown: (event) => {
@@ -8142,13 +8148,13 @@ var Dialog = ({
8142
8148
  }
8143
8149
  },
8144
8150
  className: clsx9(
8145
- "flex-col-2 p-4 bg-overlay-background text-overlay-text rounded-xl shadow-hw-bottom max-w-[calc(100vw_-_2rem)] max-h-[calc(100vh_-_2rem)] z-100",
8151
+ "flex-col-2 p-4 bg-overlay-background text-overlay-text rounded-xl shadow-hw-bottom max-w-[calc(100vw_-_2rem)] max-h-[calc(100vh_-_2rem)]",
8146
8152
  {
8147
8153
  "motion-safe:animate-pop-in": isOpen,
8148
8154
  "motion-safe:animate-pop-out": !isOpen
8149
8155
  },
8150
8156
  positionStyle,
8151
- className
8157
+ props.className
8152
8158
  ),
8153
8159
  children: [
8154
8160
  /* @__PURE__ */ jsx11("div", { className: "typography-title-lg mr-8", children: titleElement }),
@@ -8487,8 +8493,9 @@ import {
8487
8493
  useCallback as useCallback6,
8488
8494
  useContext as useContext2,
8489
8495
  useEffect as useEffect13,
8490
- useId as useId3,
8496
+ useId as useId4,
8491
8497
  useImperativeHandle as useImperativeHandle2,
8498
+ useMemo as useMemo2,
8492
8499
  useRef as useRef6,
8493
8500
  useState as useState12
8494
8501
  } from "react";
@@ -8705,9 +8712,9 @@ function useFloatingElement({
8705
8712
 
8706
8713
  // src/components/user-action/select/Select.tsx
8707
8714
  import { createPortal as createPortal2 } from "react-dom";
8708
- import { Fragment as Fragment3, jsx as jsx17, jsxs as jsxs11 } from "react/jsx-runtime";
8715
+ import { jsx as jsx17, jsxs as jsxs11 } from "react/jsx-runtime";
8709
8716
  var defaultToggleOpenOptions = {
8710
- highlightStartPosition: "first"
8717
+ highlightStartPositionBehavior: "first"
8711
8718
  };
8712
8719
  var SelectContext = createContext2(null);
8713
8720
  function useSelectContext() {
@@ -8730,47 +8737,62 @@ var SelectRoot = ({
8730
8737
  isMultiSelect = false,
8731
8738
  iconAppearance = "left"
8732
8739
  }) => {
8733
- const [options, setOptions] = useState12([]);
8734
8740
  const triggerRef = useRef6(null);
8735
- const generatedId = useId3();
8741
+ const generatedId = useId4();
8736
8742
  const usedId = id ?? generatedId;
8737
8743
  const [internalState, setInternalState] = useState12({
8738
- isOpen
8744
+ isOpen,
8745
+ options: []
8739
8746
  });
8740
- const selectedValues = isMultiSelect ? values ?? [] : [value].filter(Boolean);
8747
+ const selectedValues = useMemo2(
8748
+ () => isMultiSelect ? values ?? [] : [value].filter(Boolean),
8749
+ [isMultiSelect, value, values]
8750
+ );
8751
+ const selectedOptions = useMemo2(
8752
+ () => selectedValues.map((value2) => internalState.options.find((option) => value2 === option.value)).filter(Boolean),
8753
+ [selectedValues, internalState.options]
8754
+ );
8741
8755
  const state = {
8742
8756
  ...internalState,
8743
8757
  id: usedId,
8744
8758
  disabled,
8745
8759
  invalid,
8746
8760
  value: selectedValues,
8747
- options,
8748
- selectedOptions: selectedValues.map((value2) => options.find((option) => value2 === option.value)).filter(Boolean)
8761
+ selectedOptions
8749
8762
  };
8750
8763
  const config = {
8751
8764
  isMultiSelect,
8752
8765
  iconAppearance
8753
8766
  };
8754
8767
  const registerItem = useCallback6((item) => {
8755
- setOptions((prev) => {
8756
- const updated = [...prev, item];
8757
- updated.sort((a, b) => {
8768
+ setInternalState((prev) => {
8769
+ const updatedOptions = [...prev.options, item];
8770
+ updatedOptions.sort((a, b) => {
8758
8771
  const aEl = a.ref.current;
8759
8772
  const bEl = b.ref.current;
8760
8773
  if (!aEl || !bEl) return 0;
8761
8774
  return aEl.compareDocumentPosition(bEl) & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : 1;
8762
8775
  });
8763
- return updated;
8776
+ return {
8777
+ ...prev,
8778
+ options: updatedOptions
8779
+ };
8764
8780
  });
8765
8781
  }, []);
8766
8782
  const unregisterItem = useCallback6((value2) => {
8767
- setOptions((prev) => prev.filter((i) => i.value !== value2));
8783
+ setInternalState((prev) => {
8784
+ const updatedOptions = prev.options.filter((i) => i.value !== value2);
8785
+ return {
8786
+ ...prev,
8787
+ options: updatedOptions
8788
+ };
8789
+ });
8768
8790
  }, []);
8769
8791
  const toggleSelection = (value2, isSelected) => {
8770
8792
  if (disabled) {
8771
8793
  return;
8772
8794
  }
8773
- const option = options.find((i) => i.value === value2);
8795
+ const option = state.options.find((i) => i.value === value2);
8774
8796
  if (!option) {
8775
8797
  console.error(`SelectOption with value: ${value2} not found`);
8776
8798
  return;
@@ -8813,35 +8835,40 @@ var SelectRoot = ({
8813
8835
  triggerRef.current = null;
8814
8836
  }, []);
8815
8837
  const toggleOpen = (isOpen2, toggleOpenOptions) => {
8816
- const { highlightStartPosition } = { ...defaultToggleOpenOptions, ...toggleOpenOptions };
8817
- let highlightedIndex;
8818
- if (highlightStartPosition === "first") {
8819
- highlightedIndex = options.findIndex((option) => !option.disabled);
8820
- } else {
8821
- highlightedIndex = options.length - 1 - [...options].reverse().findIndex((option) => !option.disabled);
8822
- }
8823
- if (highlightedIndex === -1 || highlightedIndex === options.length) {
8824
- highlightedIndex = 0;
8838
+ const { highlightStartPositionBehavior } = { ...defaultToggleOpenOptions, ...toggleOpenOptions };
8839
+ let firstSelectedValue;
8840
+ let firstEnabledValue;
8841
+ for (let i = 0; i < state.options.length; i++) {
8842
+ const currentOption = state.options[highlightStartPositionBehavior === "first" ? i : state.options.length - i - 1];
8843
+ if (!currentOption.disabled) {
8844
+ if (!firstEnabledValue) {
8845
+ firstEnabledValue = currentOption.value;
8846
+ }
8847
+ if (selectedValues.includes(currentOption.value)) {
8848
+ firstSelectedValue = currentOption.value;
8849
+ break;
8850
+ }
8851
+ }
8825
8852
  }
8826
8853
  setInternalState((prevState) => ({
8827
8854
  ...prevState,
8828
8855
  isOpen: isOpen2 ?? !prevState.isOpen,
8829
- highlightedValue: options[highlightedIndex].value
8856
+ highlightedValue: firstSelectedValue ?? firstEnabledValue
8830
8857
  }));
8831
8858
  };
8832
8859
  const moveHighlightedIndex = (delta) => {
8833
- let highlightedIndex = options.findIndex((value2) => value2.value === internalState.highlightedValue);
8860
+ let highlightedIndex = state.options.findIndex((value2) => value2.value === internalState.highlightedValue);
8834
8861
  if (highlightedIndex === -1) {
8835
8862
  highlightedIndex = 0;
8836
8863
  }
8837
- const optionLength = options.length;
8864
+ const optionLength = state.options.length;
8838
8865
  const startIndex = (highlightedIndex + delta % optionLength + optionLength) % optionLength;
8839
8866
  const isForward = delta >= 0;
8840
- let highlightedValue = options[startIndex].value;
8841
- for (let i = 0; i < options.length; i++) {
8867
+ let highlightedValue = state.options[startIndex].value;
8868
+ for (let i = 0; i < state.options.length; i++) {
8842
8869
  const index = (startIndex + (isForward ? i : -i) + optionLength) % optionLength;
8843
- if (!options[index].disabled) {
8844
- highlightedValue = options[index].value;
8870
+ if (!state.options[index].disabled) {
8871
+ highlightedValue = state.options[index].value;
8845
8872
  break;
8846
8873
  }
8847
8874
  }
@@ -8852,9 +8879,9 @@ var SelectRoot = ({
8852
8879
  };
8853
8880
  useEffect13(() => {
8854
8881
  if (!internalState.highlightedValue) return;
8855
- const highlighted = options.find((value2) => value2.value === internalState.highlightedValue);
8882
+ const highlighted = internalState.options.find((value2) => value2.value === internalState.highlightedValue);
8856
8883
  if (highlighted) {
8857
- highlighted.ref.current.scrollIntoView({ behavior: "instant", block: "nearest" });
8884
+ highlighted.ref.current?.scrollIntoView({ behavior: "instant", block: "nearest" });
8858
8885
  } else {
8859
8886
  console.error(`SelectRoot: Could not find highlighted value (${internalState.highlightedValue})`);
8860
8887
  }
@@ -8991,12 +9018,12 @@ var SelectButton = forwardRef4(function SelectButton2({ placeholder, selectedDis
8991
9018
  props.onKeyDown?.(event);
8992
9019
  switch (event.key) {
8993
9020
  case "ArrowDown":
8994
- toggleOpen(true, { highlightStartPosition: "first" });
9021
+ toggleOpen(true, { highlightStartPositionBehavior: "first" });
8995
9022
  event.preventDefault();
8996
9023
  event.stopPropagation();
8997
9024
  break;
8998
9025
  case "ArrowUp":
8999
- toggleOpen(true, { highlightStartPosition: "last" });
9026
+ toggleOpen(true, { highlightStartPositionBehavior: "last" });
9000
9027
  event.preventDefault();
9001
9028
  event.stopPropagation();
9002
9029
  break;
@@ -9090,10 +9117,10 @@ var SelectChipDisplay = forwardRef4(function SelectChipDisplay2({ ...props }, re
9090
9117
  onKeyDown: (event) => {
9091
9118
  switch (event.key) {
9092
9119
  case "ArrowDown":
9093
- toggleOpen(true, { highlightStartPosition: "first" });
9120
+ toggleOpen(true, { highlightStartPositionBehavior: "first" });
9094
9121
  break;
9095
9122
  case "ArrowUp":
9096
- toggleOpen(true, { highlightStartPosition: "last" });
9123
+ toggleOpen(true, { highlightStartPositionBehavior: "last" });
9097
9124
  }
9098
9125
  },
9099
9126
  size: "small",
@@ -9114,6 +9141,7 @@ var SelectContent = forwardRef4(
9114
9141
  function SelectContent2({
9115
9142
  alignment,
9116
9143
  orientation = "vertical",
9144
+ containerClassName,
9117
9145
  ...props
9118
9146
  }, ref) {
9119
9147
  const innerRef = useRef6(null);
@@ -9130,76 +9158,83 @@ var SelectContent = forwardRef4(
9130
9158
  active: state.isOpen && !!position
9131
9159
  });
9132
9160
  return createPortal2(
9133
- /* @__PURE__ */ jsxs11(Fragment3, { children: [
9134
- /* @__PURE__ */ jsx17(
9135
- "div",
9136
- {
9137
- hidden: !state.isOpen,
9138
- onClick: () => trigger.toggleOpen(false),
9139
- className: clsx13("fixed w-screen h-screen inset-0")
9140
- }
9141
- ),
9142
- /* @__PURE__ */ jsx17(
9143
- "ul",
9144
- {
9145
- ...props,
9146
- id: `${state.id}-listbox`,
9147
- ref: innerRef,
9148
- hidden: !state.isOpen,
9149
- onKeyDown: (event) => {
9150
- switch (event.key) {
9151
- case "Escape":
9152
- trigger.toggleOpen(false);
9153
- event.preventDefault();
9154
- event.stopPropagation();
9155
- break;
9156
- case match(orientation, {
9157
- vertical: "ArrowDown",
9158
- horizontal: "ArrowUp"
9159
- }):
9160
- item.moveHighlightedIndex(1);
9161
- event.preventDefault();
9162
- break;
9163
- case match(orientation, {
9164
- vertical: "ArrowUp",
9165
- horizontal: "ArrowDown"
9166
- }):
9167
- item.moveHighlightedIndex(-1);
9168
- event.preventDefault();
9169
- break;
9170
- case "Home":
9171
- event.preventDefault();
9172
- break;
9173
- case "End":
9174
- event.preventDefault();
9175
- break;
9176
- case "Enter":
9177
- // Fall through
9178
- case " ":
9179
- if (state.highlightedValue) {
9180
- item.toggleSelection(state.highlightedValue);
9181
- if (!config.isMultiSelect) {
9161
+ /* @__PURE__ */ jsxs11(
9162
+ "div",
9163
+ {
9164
+ id: `select-container-${state.id}`,
9165
+ className: clsx13("fixed inset-0 w-screen h-screen", containerClassName),
9166
+ hidden: !state.isOpen,
9167
+ children: [
9168
+ /* @__PURE__ */ jsx17(
9169
+ "div",
9170
+ {
9171
+ id: `select-background-${state.id}`,
9172
+ onClick: () => trigger.toggleOpen(false),
9173
+ className: clsx13("fixed inset-0 w-screen h-screen")
9174
+ }
9175
+ ),
9176
+ /* @__PURE__ */ jsx17(
9177
+ "ul",
9178
+ {
9179
+ ...props,
9180
+ id: `${state.id}-listbox`,
9181
+ ref: innerRef,
9182
+ onKeyDown: (event) => {
9183
+ switch (event.key) {
9184
+ case "Escape":
9182
9185
  trigger.toggleOpen(false);
9183
- }
9184
- event.preventDefault();
9186
+ event.preventDefault();
9187
+ event.stopPropagation();
9188
+ break;
9189
+ case match(orientation, {
9190
+ vertical: "ArrowDown",
9191
+ horizontal: "ArrowUp"
9192
+ }):
9193
+ item.moveHighlightedIndex(1);
9194
+ event.preventDefault();
9195
+ break;
9196
+ case match(orientation, {
9197
+ vertical: "ArrowUp",
9198
+ horizontal: "ArrowDown"
9199
+ }):
9200
+ item.moveHighlightedIndex(-1);
9201
+ event.preventDefault();
9202
+ break;
9203
+ case "Home":
9204
+ event.preventDefault();
9205
+ break;
9206
+ case "End":
9207
+ event.preventDefault();
9208
+ break;
9209
+ case "Enter":
9210
+ // Fall through
9211
+ case " ":
9212
+ if (state.highlightedValue) {
9213
+ item.toggleSelection(state.highlightedValue);
9214
+ if (!config.isMultiSelect) {
9215
+ trigger.toggleOpen(false);
9216
+ }
9217
+ event.preventDefault();
9218
+ }
9219
+ break;
9185
9220
  }
9186
- break;
9221
+ },
9222
+ className: clsx13("flex-col-0 p-2 bg-menu-background text-menu-text rounded-md shadow-hw-bottom focus-style-within overflow-auto", props.className),
9223
+ style: {
9224
+ opacity: position ? void 0 : 0,
9225
+ position: "fixed",
9226
+ ...position
9227
+ },
9228
+ role: "listbox",
9229
+ "aria-multiselectable": config.isMultiSelect,
9230
+ "aria-orientation": orientation,
9231
+ tabIndex: position ? 0 : void 0,
9232
+ children: props.children
9187
9233
  }
9188
- },
9189
- className: clsx13("flex-col-0 p-2 bg-menu-background text-menu-text rounded-md shadow-hw-bottom focus-style-within overflow-auto", props.className),
9190
- style: {
9191
- opacity: position ? void 0 : 0,
9192
- position: "fixed",
9193
- ...position
9194
- },
9195
- role: "listbox",
9196
- "aria-multiselectable": config.isMultiSelect,
9197
- "aria-orientation": orientation,
9198
- tabIndex: position ? 0 : void 0,
9199
- children: props.children
9200
- }
9201
- )
9202
- ] }),
9234
+ )
9235
+ ]
9236
+ }
9237
+ ),
9203
9238
  document.body
9204
9239
  );
9205
9240
  }
@@ -9353,7 +9388,7 @@ import { MonitorCog, MoonIcon, SunIcon } from "lucide-react";
9353
9388
  import clsx14 from "clsx";
9354
9389
 
9355
9390
  // src/theming/useTheme.tsx
9356
- import { createContext as createContext3, useCallback as useCallback7, useContext as useContext3, useEffect as useEffect14, useMemo as useMemo2, useState as useState13 } from "react";
9391
+ import { createContext as createContext3, useCallback as useCallback7, useContext as useContext3, useEffect as useEffect14, useMemo as useMemo3, useState as useState13 } from "react";
9357
9392
  import { jsx as jsx19 } from "react/jsx-runtime";
9358
9393
  var themes = ["light", "dark", "system"];
9359
9394
  var defaultThemeTypeTranslation = {
@@ -9454,7 +9489,7 @@ var ThemeDialog = ({
9454
9489
  };
9455
9490
 
9456
9491
  // src/components/form/FormElementWrapper.tsx
9457
- import { useId as useId4 } from "react";
9492
+ import { useId as useId5 } from "react";
9458
9493
  import { clsx as clsx16 } from "clsx";
9459
9494
 
9460
9495
  // src/components/user-action/Label.tsx
@@ -9492,7 +9527,7 @@ var FormElementWrapper = ({
9492
9527
  containerClassName
9493
9528
  }) => {
9494
9529
  const [touched, setTouched] = useOverwritableState(initialIsShowingError, onIsShowingError);
9495
- const generatedId = useId4();
9530
+ const generatedId = useId5();
9496
9531
  const usedId = id ?? generatedId;
9497
9532
  const errorId = `${usedId}-description`;
9498
9533
  const labelId = `${usedId}-label`;
@@ -9563,7 +9598,7 @@ var FormElementWrapper = ({
9563
9598
 
9564
9599
  // src/components/icons-and-geometry/Avatar.tsx
9565
9600
  import clsx17 from "clsx";
9566
- import { useMemo as useMemo5 } from "react";
9601
+ import { useMemo as useMemo6 } from "react";
9567
9602
  import { UserIcon } from "lucide-react";
9568
9603
 
9569
9604
  // node_modules/@radix-ui/react-avatar/dist/index.mjs
@@ -9690,7 +9725,7 @@ function useComposedRefs(...refs) {
9690
9725
  }
9691
9726
 
9692
9727
  // node_modules/@radix-ui/react-slot/dist/index.mjs
9693
- import { Fragment as Fragment22, jsx as jsx24 } from "react/jsx-runtime";
9728
+ import { Fragment as Fragment2, jsx as jsx24 } from "react/jsx-runtime";
9694
9729
  // @__NO_SIDE_EFFECTS__
9695
9730
  function createSlot(ownerName) {
9696
9731
  const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);
@@ -9962,7 +9997,7 @@ var Avatar2 = ({ image, name, size = "md", fullyRounded, className = "" }) => {
9962
9997
  maxHeight: pixels
9963
9998
  };
9964
9999
  const textClassName = textClassNameMapping[size];
9965
- const displayName = useMemo5(() => {
10000
+ const displayName = useMemo6(() => {
9966
10001
  const maxLetters = size === "sm" ? 1 : 2;
9967
10002
  return (name ?? "").split(" ").filter((_, index) => index < maxLetters).map((value) => value[0]).join("").toUpperCase();
9968
10003
  }, [name, size]);
@@ -10352,14 +10387,14 @@ import {
10352
10387
  useCallback as useCallback10,
10353
10388
  useContext as useContext5,
10354
10389
  useEffect as useEffect18,
10355
- useId as useId5,
10356
- useMemo as useMemo6,
10390
+ useId as useId6,
10391
+ useMemo as useMemo7,
10357
10392
  useRef as useRef9,
10358
10393
  useState as useState16
10359
10394
  } from "react";
10360
10395
  import clsx20 from "clsx";
10361
10396
  import { ChevronLeft, ChevronRight } from "lucide-react";
10362
- import { Fragment as Fragment5, jsx as jsx31, jsxs as jsxs17 } from "react/jsx-runtime";
10397
+ import { Fragment as Fragment3, jsx as jsx31, jsxs as jsxs17 } from "react/jsx-runtime";
10363
10398
  var CarouselContext = createContext5(null);
10364
10399
  var useCarouselContext = () => {
10365
10400
  const context = useContext5(CarouselContext);
@@ -10513,9 +10548,9 @@ var Carousel = ({
10513
10548
  const carouselContainerRef = useRef9(null);
10514
10549
  const [disableClick, setDisableClick] = useState16(false);
10515
10550
  const timeOut = useRef9(void 0);
10516
- const length = useMemo6(() => children.length, [children]);
10551
+ const length = useMemo7(() => children.length, [children]);
10517
10552
  const paddingItemCount = 3;
10518
- const generatedId = "carousel" + useId5();
10553
+ const generatedId = "carousel" + useId6();
10519
10554
  const id = props.id ?? generatedId;
10520
10555
  if (isAutoPlaying && !isLooping) {
10521
10556
  console.error("When isAutoLooping is true, isLooping should also be true");
@@ -10695,7 +10730,7 @@ var Carousel = ({
10695
10730
  children: children[currentIndex]
10696
10731
  }
10697
10732
  ),
10698
- arrows && /* @__PURE__ */ jsxs17(Fragment5, { children: [
10733
+ arrows && /* @__PURE__ */ jsxs17(Fragment3, { children: [
10699
10734
  /* @__PURE__ */ jsx31(
10700
10735
  IconButton,
10701
10736
  {
@@ -10752,7 +10787,7 @@ var DividerInserter = ({
10752
10787
  import clsx22 from "clsx";
10753
10788
 
10754
10789
  // src/components/layout/MarkdownInterpreter.tsx
10755
- import { Fragment as Fragment6, jsx as jsx33 } from "react/jsx-runtime";
10790
+ import { Fragment as Fragment4, jsx as jsx33 } from "react/jsx-runtime";
10756
10791
  var astNodeInserterType = ["helpwave", "newline"];
10757
10792
  var ASTNodeInterpreter = ({
10758
10793
  node,
@@ -10773,7 +10808,7 @@ var ASTNodeInterpreter = ({
10773
10808
  node: value
10774
10809
  },
10775
10810
  index
10776
- )) }) : /* @__PURE__ */ jsx33(Fragment6, { children: node.children.map((value, index) => /* @__PURE__ */ jsx33(ASTNodeInterpreter, { node: value }, index)) });
10811
+ )) }) : /* @__PURE__ */ jsx33(Fragment4, { children: node.children.map((value, index) => /* @__PURE__ */ jsx33(ASTNodeInterpreter, { node: value }, index)) });
10777
10812
  case "bold":
10778
10813
  return /* @__PURE__ */ jsx33("b", { children: node.children.map((value, index) => /* @__PURE__ */ jsx33(ASTNodeInterpreter, { node: value }, index)) });
10779
10814
  case "italic":
@@ -11006,7 +11041,7 @@ var FAQSection = ({
11006
11041
  import { forwardRef as forwardRef9, useImperativeHandle as useImperativeHandle3, useRef as useRef10 } from "react";
11007
11042
  import { createPortal as createPortal3 } from "react-dom";
11008
11043
  import { clsx as clsx23 } from "clsx";
11009
- import { Fragment as Fragment7, jsx as jsx35, jsxs as jsxs18 } from "react/jsx-runtime";
11044
+ import { Fragment as Fragment5, jsx as jsx35, jsxs as jsxs18 } from "react/jsx-runtime";
11010
11045
  var FloatingContainer = forwardRef9(function FloatingContainer2({
11011
11046
  children,
11012
11047
  backgroundOverlay,
@@ -11033,7 +11068,7 @@ var FloatingContainer = forwardRef9(function FloatingContainer2({
11033
11068
  screenPadding
11034
11069
  });
11035
11070
  return createPortal3(
11036
- /* @__PURE__ */ jsxs18(Fragment7, { children: [
11071
+ /* @__PURE__ */ jsxs18(Fragment5, { children: [
11037
11072
  backgroundOverlay,
11038
11073
  /* @__PURE__ */ jsx35(
11039
11074
  "div",
@@ -11477,7 +11512,7 @@ function composeEventHandlers(originalEventHandler, ourEventHandler, { checkForD
11477
11512
 
11478
11513
  // node_modules/@radix-ui/react-scroll-area/dist/index.mjs
11479
11514
  import * as React14 from "react";
11480
- import { Fragment as Fragment8, jsx as jsx38, jsxs as jsxs19 } from "react/jsx-runtime";
11515
+ import { Fragment as Fragment6, jsx as jsx38, jsxs as jsxs19 } from "react/jsx-runtime";
11481
11516
  function useStateMachine2(initialState, machine) {
11482
11517
  return React14.useReducer((state, event) => {
11483
11518
  const nextState = machine[state][event];
@@ -11556,7 +11591,7 @@ var ScrollAreaViewport = React23.forwardRef(
11556
11591
  const context = useScrollAreaContext(VIEWPORT_NAME, __scopeScrollArea);
11557
11592
  const ref = React23.useRef(null);
11558
11593
  const composedRefs = useComposedRefs(forwardedRef, ref, context.onViewportChange);
11559
- return /* @__PURE__ */ jsxs19(Fragment8, { children: [
11594
+ return /* @__PURE__ */ jsxs19(Fragment6, { children: [
11560
11595
  /* @__PURE__ */ jsx38(
11561
11596
  "style",
11562
11597
  {
@@ -12546,13 +12581,13 @@ var ProgressIndicator = ({
12546
12581
  // src/components/navigation/BreadCrumb.tsx
12547
12582
  var import_link = __toESM(require_link2());
12548
12583
  import clsx32 from "clsx";
12549
- import { Fragment as Fragment9 } from "react";
12584
+ import { Fragment as Fragment7 } from "react";
12550
12585
  import { jsx as jsx48, jsxs as jsxs27 } from "react/jsx-runtime";
12551
12586
  var BreadCrumb = ({ crumbs, linkClassName, containerClassName }) => {
12552
12587
  const color = "text-description";
12553
12588
  return /* @__PURE__ */ jsx48("div", { className: clsx32("flex-row-0.5 items-center", containerClassName), children: crumbs.map((crumb, index) => {
12554
12589
  const isLast = index === crumbs.length - 1;
12555
- return /* @__PURE__ */ jsxs27(Fragment9, { children: [
12590
+ return /* @__PURE__ */ jsxs27(Fragment7, { children: [
12556
12591
  /* @__PURE__ */ jsx48(
12557
12592
  import_link.default,
12558
12593
  {
@@ -12570,9 +12605,9 @@ var BreadCrumb = ({ crumbs, linkClassName, containerClassName }) => {
12570
12605
  var import_link2 = __toESM(require_link2());
12571
12606
  import { Menu as MenuIcon, XIcon as XIcon2 } from "lucide-react";
12572
12607
  import { useEffect as useEffect22 } from "react";
12573
- import { useCallback as useCallback14, useId as useId6, useRef as useRef14, useState as useState21 } from "react";
12608
+ import { useCallback as useCallback14, useId as useId7, useRef as useRef14, useState as useState21 } from "react";
12574
12609
  import clsx33 from "clsx";
12575
- import { Fragment as Fragment10, jsx as jsx49, jsxs as jsxs28 } from "react/jsx-runtime";
12610
+ import { Fragment as Fragment8, jsx as jsx49, jsxs as jsxs28 } from "react/jsx-runtime";
12576
12611
  function isSubItem(item) {
12577
12612
  return "items" in item && Array.isArray(item.items);
12578
12613
  }
@@ -12585,7 +12620,7 @@ var NavigationItemWithSubItem = ({
12585
12620
  const [isOpen, setOpen] = useState21(false);
12586
12621
  const containerRef = useRef14();
12587
12622
  const triggerRef = useRef14(null);
12588
- const id = useId6();
12623
+ const id = useId7();
12589
12624
  const style = useFloatingElement({
12590
12625
  active: isOpen,
12591
12626
  containerRef,
@@ -12599,7 +12634,7 @@ var NavigationItemWithSubItem = ({
12599
12634
  setOpen(false);
12600
12635
  }
12601
12636
  }, []);
12602
- return /* @__PURE__ */ jsxs28(Fragment10, { children: [
12637
+ return /* @__PURE__ */ jsxs28(Fragment8, { children: [
12603
12638
  /* @__PURE__ */ jsxs28(
12604
12639
  "button",
12605
12640
  {
@@ -12648,12 +12683,12 @@ var NavigationItemList = ({ items, ...restProps }) => {
12648
12683
  };
12649
12684
  var Navigation = ({ ...props }) => {
12650
12685
  const [isMobileOpen, setIsMobileOpen] = useState21(false);
12651
- const id = useId6();
12686
+ const id = useId7();
12652
12687
  const menuRef = useRef14(null);
12653
12688
  useEffect22(() => {
12654
12689
  menuRef.current?.focus();
12655
12690
  }, [isMobileOpen]);
12656
- return /* @__PURE__ */ jsxs28(Fragment10, { children: [
12691
+ return /* @__PURE__ */ jsxs28(Fragment8, { children: [
12657
12692
  /* @__PURE__ */ jsx49(
12658
12693
  NavigationItemList,
12659
12694
  {
@@ -13009,7 +13044,7 @@ function useSize(element) {
13009
13044
  }
13010
13045
 
13011
13046
  // node_modules/@radix-ui/react-checkbox/dist/index.mjs
13012
- import { Fragment as Fragment11, jsx as jsx52, jsxs as jsxs31 } from "react/jsx-runtime";
13047
+ import { Fragment as Fragment9, jsx as jsx52, jsxs as jsxs31 } from "react/jsx-runtime";
13013
13048
  var CHECKBOX_NAME = "Checkbox";
13014
13049
  var [createCheckboxContext, createCheckboxScope] = createContextScope(CHECKBOX_NAME);
13015
13050
  var [CheckboxProviderImpl, useCheckboxContext] = createCheckboxContext(CHECKBOX_NAME);
@@ -13145,7 +13180,7 @@ var Checkbox = React19.forwardRef(
13145
13180
  name,
13146
13181
  form,
13147
13182
  value,
13148
- internal_do_not_use_render: ({ isFormControl }) => /* @__PURE__ */ jsxs31(Fragment11, { children: [
13183
+ internal_do_not_use_render: ({ isFormControl }) => /* @__PURE__ */ jsxs31(Fragment9, { children: [
13149
13184
  /* @__PURE__ */ jsx52(
13150
13185
  CheckboxTrigger,
13151
13186
  {
@@ -13399,7 +13434,7 @@ var PropertyBase = ({
13399
13434
  };
13400
13435
 
13401
13436
  // src/components/properties/CheckboxProperty.tsx
13402
- import { useId as useId7 } from "react";
13437
+ import { useId as useId8 } from "react";
13403
13438
  import { jsx as jsx55, jsxs as jsxs34 } from "react/jsx-runtime";
13404
13439
  var CheckboxProperty = ({
13405
13440
  overwriteTranslation,
@@ -13409,7 +13444,7 @@ var CheckboxProperty = ({
13409
13444
  ...baseProps
13410
13445
  }) => {
13411
13446
  const translation = useTranslation([formTranslation], overwriteTranslation);
13412
- const id = useId7();
13447
+ const id = useId8();
13413
13448
  return /* @__PURE__ */ jsx55(
13414
13449
  PropertyBase,
13415
13450
  {
@@ -13632,7 +13667,7 @@ import { Text } from "lucide-react";
13632
13667
  import clsx43 from "clsx";
13633
13668
 
13634
13669
  // src/components/user-action/Textarea.tsx
13635
- import { forwardRef as forwardRef13, useId as useId8 } from "react";
13670
+ import { forwardRef as forwardRef13, useId as useId9 } from "react";
13636
13671
  import clsx42 from "clsx";
13637
13672
  import { jsx as jsx60, jsxs as jsxs36 } from "react/jsx-runtime";
13638
13673
  var Textarea = forwardRef13(function Textarea2({
@@ -13709,7 +13744,7 @@ var TextareaWithHeadline = ({
13709
13744
  containerClassName,
13710
13745
  ...props
13711
13746
  }) => {
13712
- const genId = useId8();
13747
+ const genId = useId9();
13713
13748
  const usedId = id ?? genId;
13714
13749
  return /* @__PURE__ */ jsxs36(
13715
13750
  "div",
@@ -13824,7 +13859,7 @@ var TableFilters = {
13824
13859
  };
13825
13860
 
13826
13861
  // src/components/table/Table.tsx
13827
- import { useCallback as useCallback16, useEffect as useEffect32, useMemo as useMemo9, useRef as useRef20, useState as useState29 } from "react";
13862
+ import { useCallback as useCallback16, useEffect as useEffect32, useMemo as useMemo10, useRef as useRef20, useState as useState29 } from "react";
13828
13863
  import clsx48 from "clsx";
13829
13864
  import {
13830
13865
  flexRender,
@@ -14028,7 +14063,7 @@ var useOutsideClick = (refs, handler) => {
14028
14063
  };
14029
14064
 
14030
14065
  // src/components/user-action/Menu.tsx
14031
- import { Fragment as Fragment12, jsx as jsx65, jsxs as jsxs37 } from "react/jsx-runtime";
14066
+ import { Fragment as Fragment10, jsx as jsx65, jsxs as jsxs37 } from "react/jsx-runtime";
14032
14067
  var MenuItem = ({
14033
14068
  children,
14034
14069
  onClick,
@@ -14104,7 +14139,7 @@ var Menu = ({
14104
14139
  setIsHidden(false);
14105
14140
  }
14106
14141
  }, [isOpen]);
14107
- return /* @__PURE__ */ jsxs37(Fragment12, { children: [
14142
+ return /* @__PURE__ */ jsxs37(Fragment10, { children: [
14108
14143
  trigger(bag, triggerRef),
14109
14144
  createPortal4(/* @__PURE__ */ jsx65(
14110
14145
  "div",
@@ -14136,7 +14171,7 @@ var Menu = ({
14136
14171
 
14137
14172
  // src/components/table/TableFilterButton.tsx
14138
14173
  import { useEffect as useEffect31, useState as useState28 } from "react";
14139
- import { Fragment as Fragment13, jsx as jsx66, jsxs as jsxs38 } from "react/jsx-runtime";
14174
+ import { Fragment as Fragment11, jsx as jsx66, jsxs as jsxs38 } from "react/jsx-runtime";
14140
14175
  var defaultTableFilterTranslation = {
14141
14176
  en: {
14142
14177
  filter: "Filter",
@@ -14220,7 +14255,7 @@ var TableFilterButton = ({
14220
14255
  }
14221
14256
  )
14222
14257
  ] }),
14223
- filterType === "dateRange" && /* @__PURE__ */ jsxs38(Fragment13, { children: [
14258
+ filterType === "dateRange" && /* @__PURE__ */ jsxs38(Fragment11, { children: [
14224
14259
  /* @__PURE__ */ jsx66(
14225
14260
  Input,
14226
14261
  {
@@ -14292,7 +14327,7 @@ var Table = ({
14292
14327
  ...initialState?.pagination
14293
14328
  });
14294
14329
  const [columnFilters, setColumnFilters] = useState29(initialState?.columnFilters);
14295
- const computedColumnMinWidths = useMemo9(() => {
14330
+ const computedColumnMinWidths = useMemo10(() => {
14296
14331
  return columns.reduce((previousValue, column) => {
14297
14332
  return {
14298
14333
  ...previousValue,
@@ -14301,7 +14336,7 @@ var Table = ({
14301
14336
  };
14302
14337
  }, {});
14303
14338
  }, [columns, defaultColumn]);
14304
- const computedColumnMaxWidths = useMemo9(() => {
14339
+ const computedColumnMaxWidths = useMemo10(() => {
14305
14340
  return columns.reduce((previousValue, column) => {
14306
14341
  return {
14307
14342
  ...previousValue,
@@ -14309,12 +14344,12 @@ var Table = ({
14309
14344
  };
14310
14345
  }, {});
14311
14346
  }, [columns, defaultColumn]);
14312
- const tableMinWidth = useMemo9(() => {
14347
+ const tableMinWidth = useMemo10(() => {
14313
14348
  return columns.reduce((sum, column) => {
14314
14349
  return sum + computedColumnMinWidths[column.id];
14315
14350
  }, 0);
14316
14351
  }, [columns, computedColumnMinWidths]);
14317
- const updateColumnSizes = useMemo9(() => {
14352
+ const updateColumnSizes = useMemo10(() => {
14318
14353
  return (previous) => {
14319
14354
  const updateSizing = {
14320
14355
  ...columnSizing,
@@ -14458,7 +14493,7 @@ var Table = ({
14458
14493
  }));
14459
14494
  }
14460
14495
  }, [data, pageCount, pagination.pageSize, pagination.pageIndex]);
14461
- const columnSizeVars = useMemo9(() => {
14496
+ const columnSizeVars = useMemo10(() => {
14462
14497
  const headers = table.getFlatHeaders();
14463
14498
  const colSizes = {};
14464
14499
  for (let i = 0; i < headers.length; i++) {
@@ -14593,7 +14628,7 @@ var TableWithSelection = ({
14593
14628
  meta,
14594
14629
  ...props
14595
14630
  }) => {
14596
- const columnsWithSelection = useMemo9(() => {
14631
+ const columnsWithSelection = useMemo10(() => {
14597
14632
  return [
14598
14633
  {
14599
14634
  id: selectionRowId,
@@ -15113,7 +15148,7 @@ var Tooltip = ({
15113
15148
  };
15114
15149
 
15115
15150
  // src/components/user-action/input/InsideLabelInput.tsx
15116
- import { useId as useId9 } from "react";
15151
+ import { useId as useId10 } from "react";
15117
15152
  import { forwardRef as forwardRef14, useState as useState32 } from "react";
15118
15153
  import clsx54 from "clsx";
15119
15154
  import { jsx as jsx73, jsxs as jsxs45 } from "react/jsx-runtime";
@@ -15124,7 +15159,7 @@ var InsideLabelInput = forwardRef14(function InsideLabelInput2({
15124
15159
  }, forwardedRef) {
15125
15160
  const { value } = props;
15126
15161
  const [isFocused, setIsFocused] = useState32(false);
15127
- const generatedId = useId9();
15162
+ const generatedId = useId10();
15128
15163
  const id = customId ?? generatedId;
15129
15164
  return /* @__PURE__ */ jsxs45("div", { className: clsx54("relative"), children: [
15130
15165
  /* @__PURE__ */ jsx73(