@norges-domstoler/dds-components 21.19.0 → 21.19.1

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.
package/dist/index.js CHANGED
@@ -4087,7 +4087,7 @@ var Breadcrumb = ({ children, ref, ...rest }) => {
4087
4087
  Breadcrumb.displayName = "Breadcrumb";
4088
4088
 
4089
4089
  // src/components/Breadcrumbs/Breadcrumbs.tsx
4090
- var import_react25 = require("react");
4090
+ var import_react26 = require("react");
4091
4091
 
4092
4092
  // src/components/Breadcrumbs/Breadcrumbs.module.css
4093
4093
  var Breadcrumbs_default = {
@@ -4671,24 +4671,29 @@ var OverflowMenuSpan = ({
4671
4671
  OverflowMenuSpan.displayName = "OverflowMenuSpan";
4672
4672
 
4673
4673
  // src/components/OverflowMenu/components/OverflowMenuListHeader.tsx
4674
+ var import_react24 = require("react");
4674
4675
  var import_jsx_runtime203 = require("react/jsx-runtime");
4675
4676
  var OverflowMenuListHeader = ({
4676
4677
  className,
4677
4678
  ...rest
4678
- }) => /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(
4679
- Box,
4680
- {
4681
- as: "h2",
4682
- paddingInline: "x0.75",
4683
- paddingBlock: "x0.75 0",
4684
- ...rest,
4685
- className: cn(className, typographyStyles_default["heading-xxsmall"])
4686
- }
4687
- );
4679
+ }) => {
4680
+ const themeContext = (0, import_react24.useContext)(ThemeContext);
4681
+ const headingStyle = (themeContext == null ? void 0 : themeContext.theme) === "core" ? "heading-xsmall" : "heading-xxsmall";
4682
+ return /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(
4683
+ Box,
4684
+ {
4685
+ as: "h2",
4686
+ paddingInline: "x0.75",
4687
+ paddingBlock: "x0.75 0",
4688
+ ...rest,
4689
+ className: cn(className, typographyStyles_default[headingStyle])
4690
+ }
4691
+ );
4692
+ };
4688
4693
  OverflowMenuListHeader.displayName = "OverflowMenuListHeader";
4689
4694
 
4690
4695
  // src/components/OverflowMenu/OverflowMenuGroup.tsx
4691
- var import_react24 = require("react");
4696
+ var import_react25 = require("react");
4692
4697
  var import_jsx_runtime204 = require("react/jsx-runtime");
4693
4698
  var OverflowMenuGroup = ({
4694
4699
  children,
@@ -4699,21 +4704,21 @@ var OverflowMenuGroup = ({
4699
4704
  isInitiallyOpen = false,
4700
4705
  overflowMenuId
4701
4706
  }) => {
4702
- const [internalIsOpen, internalSetIsOpen] = (0, import_react24.useState)(isInitiallyOpen);
4707
+ const [internalIsOpen, internalSetIsOpen] = (0, import_react25.useState)(isInitiallyOpen);
4703
4708
  const [isOpen, setIsOpen] = [
4704
4709
  propIsOpen != null ? propIsOpen : internalIsOpen,
4705
4710
  propSetIsOpen != null ? propSetIsOpen : internalSetIsOpen
4706
4711
  ];
4707
4712
  const toggle = () => setIsOpen(!isOpen);
4708
4713
  const close = () => setIsOpen(false);
4709
- const generatedId = (0, import_react24.useId)();
4714
+ const generatedId = (0, import_react25.useId)();
4710
4715
  const uniqueOverflowMenuId = overflowMenuId != null ? overflowMenuId : `${generatedId}-overflowMenu`;
4711
- const [floatOptions, setFloatOptions] = (0, import_react24.useState)();
4716
+ const [floatOptions, setFloatOptions] = (0, import_react25.useState)();
4712
4717
  const { refs, styles: positionStyles } = useFloatPosition(null, floatOptions);
4713
- const buttonRef = (0, import_react24.useRef)(null);
4718
+ const buttonRef = (0, import_react25.useRef)(null);
4714
4719
  const anchorRef = refs.setReference;
4715
4720
  const combinedAnchorRef = useCombinedRef(buttonRef, anchorRef);
4716
- const menuRef = (0, import_react24.useRef)(null);
4721
+ const menuRef = (0, import_react25.useRef)(null);
4717
4722
  const floatingRef = refs.setFloating;
4718
4723
  const combinedMenuRef = useCombinedRef(menuRef, floatingRef);
4719
4724
  const handleClose = () => {
@@ -4741,8 +4746,8 @@ var OverflowMenuGroup = ({
4741
4746
  useOnKeyDown(["Tab"], () => {
4742
4747
  handleClose();
4743
4748
  });
4744
- const Children7 = import_react24.Children.map(children, (child, childIndex) => {
4745
- return (0, import_react24.isValidElement)(child) && (childIndex === 0 ? (0, import_react24.cloneElement)(child, {
4749
+ const Children7 = import_react25.Children.map(children, (child, childIndex) => {
4750
+ return (0, import_react25.isValidElement)(child) && (childIndex === 0 ? (0, import_react25.cloneElement)(child, {
4746
4751
  "aria-haspopup": "menu",
4747
4752
  "aria-controls": uniqueOverflowMenuId,
4748
4753
  "aria-expanded": isOpen,
@@ -4784,7 +4789,7 @@ var Breadcrumbs = ({
4784
4789
  }
4785
4790
  );
4786
4791
  const { t } = useTranslation();
4787
- const childrenArray = import_react25.Children.toArray(children);
4792
+ const childrenArray = import_react26.Children.toArray(children);
4788
4793
  const responsiveLiProps = {
4789
4794
  as: "li",
4790
4795
  alignItems: "center",
@@ -4806,7 +4811,7 @@ var Breadcrumbs = ({
4806
4811
  );
4807
4812
  });
4808
4813
  const bChildrenTruncated = childrenArray.length > 2 ? childrenArray.slice(1, childrenArray.length - 1).map((item, index) => {
4809
- if ((0, import_react25.isValidElement)(item)) {
4814
+ if ((0, import_react26.isValidElement)(item)) {
4810
4815
  if (isAnchorTypographyProps(item.props)) {
4811
4816
  return /* @__PURE__ */ (0, import_jsx_runtime205.jsx)(OverflowMenuLink, { href: item.props.href, children: item.props.children }, index);
4812
4817
  } else
@@ -5142,13 +5147,13 @@ var CardExpandableBody = ({
5142
5147
  CardExpandableBody.displayName = "CardExpandableBody";
5143
5148
 
5144
5149
  // src/components/SelectionControl/Checkbox/Checkbox.tsx
5145
- var import_react27 = require("react");
5150
+ var import_react28 = require("react");
5146
5151
 
5147
5152
  // src/components/SelectionControl/Checkbox/CheckboxGroupContext.tsx
5148
- var import_react26 = require("react");
5149
- var CheckboxGroupContext = (0, import_react26.createContext)(null);
5153
+ var import_react27 = require("react");
5154
+ var CheckboxGroupContext = (0, import_react27.createContext)(null);
5150
5155
  var useCheckboxGroup = () => {
5151
- return (0, import_react26.useContext)(CheckboxGroupContext);
5156
+ return (0, import_react27.useContext)(CheckboxGroupContext);
5152
5157
  };
5153
5158
 
5154
5159
  // src/components/SelectionControl/SelectionControl.module.css
@@ -5269,7 +5274,7 @@ var Checkbox = ({
5269
5274
  children,
5270
5275
  ...rest
5271
5276
  }) => {
5272
- const generatedId = (0, import_react27.useId)();
5277
+ const generatedId = (0, import_react28.useId)();
5273
5278
  const uniqueId = id != null ? id : `${generatedId}-checkbox`;
5274
5279
  const checkboxGroup = useCheckboxGroup();
5275
5280
  const hasLabel = !!label;
@@ -5329,7 +5334,7 @@ var Checkbox = ({
5329
5334
  Checkbox.displayName = "Checkbox";
5330
5335
 
5331
5336
  // src/components/SelectionControl/Checkbox/CheckboxGroup.tsx
5332
- var import_react28 = require("react");
5337
+ var import_react29 = require("react");
5333
5338
 
5334
5339
  // src/types/Booleanish.ts
5335
5340
  function convertBooleanishToBoolean(value) {
@@ -5447,7 +5452,7 @@ var CheckboxGroup = (props) => {
5447
5452
  ...rest
5448
5453
  } = props;
5449
5454
  const { "aria-required": ariaRequired } = htmlProps;
5450
- const generatedId = (0, import_react28.useId)();
5455
+ const generatedId = (0, import_react29.useId)();
5451
5456
  const uniqueGroupId = groupId != null ? groupId : `${generatedId}-checkboxGroup`;
5452
5457
  const hasErrorMessage = !!errorMessage;
5453
5458
  const showRequiredStyling = required || convertBooleanishToBoolean(ariaRequired);
@@ -5496,13 +5501,13 @@ var CheckboxGroup = (props) => {
5496
5501
  CheckboxGroup.displayName = "CheckboxGroup";
5497
5502
 
5498
5503
  // src/components/SelectionControl/RadioButton/RadioButton.tsx
5499
- var import_react30 = require("react");
5504
+ var import_react31 = require("react");
5500
5505
 
5501
5506
  // src/components/SelectionControl/RadioButton/RadioButtonGroupContext.tsx
5502
- var import_react29 = require("react");
5503
- var RadioButtonGroupContext = (0, import_react29.createContext)(null);
5507
+ var import_react30 = require("react");
5508
+ var RadioButtonGroupContext = (0, import_react30.createContext)(null);
5504
5509
  var useRadioButtonGroup = () => {
5505
- return (0, import_react29.useContext)(RadioButtonGroupContext);
5510
+ return (0, import_react30.useContext)(RadioButtonGroupContext);
5506
5511
  };
5507
5512
 
5508
5513
  // src/components/SelectionControl/RadioButton/RadioButton.tsx
@@ -5539,7 +5544,7 @@ var RadioButton = ({
5539
5544
  ...rest
5540
5545
  }) => {
5541
5546
  const { className: htmlPropsClassName, style, ...restHtmlProps } = htmlProps;
5542
- const generatedId = (0, import_react30.useId)();
5547
+ const generatedId = (0, import_react31.useId)();
5543
5548
  const uniqueId = id != null ? id : `${generatedId}-radioButton`;
5544
5549
  const hasChildren = !!children;
5545
5550
  const hasLabel = !!label;
@@ -5609,7 +5614,7 @@ var RadioButton = ({
5609
5614
  RadioButton.displayName = "RadioButton";
5610
5615
 
5611
5616
  // src/components/SelectionControl/RadioButton/RadioButtonGroup.tsx
5612
- var import_react31 = require("react");
5617
+ var import_react32 = require("react");
5613
5618
  var import_jsx_runtime216 = require("react/jsx-runtime");
5614
5619
  var RadioButtonGroup = ({
5615
5620
  name,
@@ -5631,7 +5636,7 @@ var RadioButtonGroup = ({
5631
5636
  ...rest
5632
5637
  }) => {
5633
5638
  const { "aria-required": ariaRequired = false } = htmlProps;
5634
- const generatedId = (0, import_react31.useId)();
5639
+ const generatedId = (0, import_react32.useId)();
5635
5640
  const uniqueGroupId = groupId != null ? groupId : `${generatedId}-radioButtonGroup`;
5636
5641
  const { groupValue, handleChange } = useControllableGroupState({
5637
5642
  value,
@@ -5689,9 +5694,9 @@ var RadioButtonGroup = ({
5689
5694
  RadioButtonGroup.displayName = "RadioButtonGroup";
5690
5695
 
5691
5696
  // src/components/Card/CardSelectionControl/CardSelectable.context.tsx
5692
- var import_react32 = require("react");
5693
- var CardSelectableContext = (0, import_react32.createContext)({});
5694
- var useCardSelectableContext = () => (0, import_react32.useContext)(CardSelectableContext);
5697
+ var import_react33 = require("react");
5698
+ var CardSelectableContext = (0, import_react33.createContext)({});
5699
+ var useCardSelectableContext = () => (0, import_react33.useContext)(CardSelectableContext);
5695
5700
 
5696
5701
  // src/components/Card/CardSelectionControl/CardSelectable.tsx
5697
5702
  var import_jsx_runtime217 = require("react/jsx-runtime");
@@ -5769,7 +5774,7 @@ Provide \`cardType\` either via a parent <CardSelectableGroup> or directly on th
5769
5774
  CardSelectable.displayName = "CardSelectable";
5770
5775
 
5771
5776
  // src/components/Card/CardSelectionControl/CardSelectableGroup.tsx
5772
- var import_react33 = require("react");
5777
+ var import_react34 = require("react");
5773
5778
  var import_jsx_runtime218 = require("react/jsx-runtime");
5774
5779
  var CardSelectableGroup = ({
5775
5780
  name,
@@ -5790,7 +5795,7 @@ var CardSelectableGroup = ({
5790
5795
  ...rest
5791
5796
  }) => {
5792
5797
  const { "aria-required": ariaRequired = false } = htmlProps;
5793
- const generatedId = (0, import_react33.useId)();
5798
+ const generatedId = (0, import_react34.useId)();
5794
5799
  const uniqueGroupId = id != null ? id : `${generatedId}-cardSelectableGroup`;
5795
5800
  const { groupValue, handleChange } = useControllableGroupState({
5796
5801
  value,
@@ -5837,7 +5842,7 @@ var CardSelectableGroup = ({
5837
5842
  CardSelectableGroup.displayName = "CardSelectableGroup";
5838
5843
 
5839
5844
  // src/components/Chip/Chip.tsx
5840
- var import_react34 = require("react");
5845
+ var import_react35 = require("react");
5841
5846
 
5842
5847
  // src/components/Chip/Chip.module.css
5843
5848
  var Chip_default = {
@@ -5856,7 +5861,7 @@ var Chip = ({
5856
5861
  }) => {
5857
5862
  const { t } = useTranslation();
5858
5863
  const { "aria-label": ariaLabel, ...restHTMLprops } = htmlProps;
5859
- const [isOpen, setIsOpen] = (0, import_react34.useState)(true);
5864
+ const [isOpen, setIsOpen] = (0, import_react35.useState)(true);
5860
5865
  const onClick = () => {
5861
5866
  setIsOpen(false);
5862
5867
  onClose == null ? void 0 : onClose();
@@ -5898,10 +5903,10 @@ var texts4 = createTexts({
5898
5903
  });
5899
5904
 
5900
5905
  // src/components/Chip/ChipGroup.tsx
5901
- var import_react35 = require("react");
5906
+ var import_react36 = require("react");
5902
5907
  var import_jsx_runtime220 = require("react/jsx-runtime");
5903
5908
  var ChipGroup = ({ children, ...rest }) => {
5904
- const childrenArray = import_react35.Children.toArray(children);
5909
+ const childrenArray = import_react36.Children.toArray(children);
5905
5910
  return /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(HStack, { as: StylelessList, ...rest, gap: "x0.75", children: childrenArray.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime220.jsx)("li", { children: item }, `chip-${index}`)) });
5906
5911
  };
5907
5912
  ChipGroup.displayName = "ChipGroup";
@@ -5929,7 +5934,7 @@ var Contrast = ({
5929
5934
  };
5930
5935
 
5931
5936
  // src/components/CookieBanner/CookieBanner.tsx
5932
- var import_react36 = require("react");
5937
+ var import_react37 = require("react");
5933
5938
 
5934
5939
  // src/components/CookieBanner/CookieBanner.module.css
5935
5940
  var CookieBanner_default = {
@@ -5970,7 +5975,7 @@ CookieBannerCheckbox.displayName = "CookieBannerCheckbox";
5970
5975
 
5971
5976
  // src/components/CookieBanner/CookieBanner.tsx
5972
5977
  var import_jsx_runtime223 = require("react/jsx-runtime");
5973
- var import_react37 = require("react");
5978
+ var import_react38 = require("react");
5974
5979
  function CookieBanner({
5975
5980
  headerText,
5976
5981
  description,
@@ -5987,8 +5992,8 @@ function CookieBanner({
5987
5992
  }) {
5988
5993
  const { t } = useTranslation();
5989
5994
  const hasBp = !!collapsedBreakpoint;
5990
- const [isCollapsedOnBreakpoint, setIsCollapsedOnBreakpoint] = (0, import_react36.useState)(hasBp);
5991
- const generatedId = (0, import_react36.useId)();
5995
+ const [isCollapsedOnBreakpoint, setIsCollapsedOnBreakpoint] = (0, import_react37.useState)(hasBp);
5996
+ const generatedId = (0, import_react37.useId)();
5992
5997
  const headingId = headerText && (id != null ? id : `cookie-banner-${generatedId}-heading`);
5993
5998
  const heading = headerText ? /* @__PURE__ */ (0, import_jsx_runtime223.jsx)(Heading, { level: 2, typographyType: "headingMedium", id: headingId, children: headerText }) : "";
5994
5999
  return /* @__PURE__ */ (0, import_jsx_runtime223.jsx)(
@@ -6031,14 +6036,14 @@ function CookieBanner({
6031
6036
  children: [
6032
6037
  children,
6033
6038
  description && /* @__PURE__ */ (0, import_jsx_runtime223.jsx)("div", { children: description }),
6034
- checkboxes && /* @__PURE__ */ (0, import_jsx_runtime223.jsx)(VStack, { gap: "x1", children: checkboxes.map((props, index) => /* @__PURE__ */ (0, import_react37.createElement)(CookieBannerCheckbox, { ...props, key: index })) }),
6039
+ checkboxes && /* @__PURE__ */ (0, import_jsx_runtime223.jsx)(VStack, { gap: "x1", children: checkboxes.map((props, index) => /* @__PURE__ */ (0, import_react38.createElement)(CookieBannerCheckbox, { ...props, key: index })) }),
6035
6040
  buttons && /* @__PURE__ */ (0, import_jsx_runtime223.jsx)(
6036
6041
  HStack,
6037
6042
  {
6038
6043
  gap: styleUpToBreakpoint("x1", "sm", "x1.5"),
6039
6044
  flexWrap: "wrap",
6040
6045
  paddingBlock: "x0.25 0",
6041
- children: buttons.map((props, i) => /* @__PURE__ */ (0, import_react37.createElement)(Button, { ...props, size: "medium", purpose: "secondary", key: i }))
6046
+ children: buttons.map((props, i) => /* @__PURE__ */ (0, import_react38.createElement)(Button, { ...props, size: "medium", purpose: "secondary", key: i }))
6042
6047
  }
6043
6048
  )
6044
6049
  ]
@@ -6064,18 +6069,18 @@ var import_date4 = require("@internationalized/date");
6064
6069
  var import_calendar3 = require("@react-aria/calendar");
6065
6070
  var import_i18n11 = require("@react-aria/i18n");
6066
6071
  var import_calendar4 = require("@react-stately/calendar");
6067
- var import_react41 = require("react");
6072
+ var import_react42 = require("react");
6068
6073
 
6069
6074
  // src/components/date-inputs/DatePicker/Calendar/CalendarGrid.tsx
6070
6075
  var import_date3 = require("@internationalized/date");
6071
6076
  var import_calendar2 = require("@react-aria/calendar");
6072
6077
  var import_i18n9 = require("@react-aria/i18n");
6073
- var import_react40 = require("react");
6078
+ var import_react41 = require("react");
6074
6079
 
6075
6080
  // src/components/date-inputs/DatePicker/Calendar/CalendarCell.tsx
6076
6081
  var import_date = require("@internationalized/date");
6077
6082
  var import_calendar = require("@react-aria/calendar");
6078
- var import_react38 = require("react");
6083
+ var import_react39 = require("react");
6079
6084
 
6080
6085
  // src/components/date-inputs/common/DateInput.module.css
6081
6086
  var DateInput_default = {
@@ -6121,7 +6126,7 @@ var timezone = "Europe/Oslo";
6121
6126
  // src/components/date-inputs/DatePicker/Calendar/CalendarCell.tsx
6122
6127
  var import_jsx_runtime224 = require("react/jsx-runtime");
6123
6128
  function CalendarCell({ date, state, onClose }) {
6124
- const ref = (0, import_react38.useRef)(null);
6129
+ const ref = (0, import_react39.useRef)(null);
6125
6130
  const {
6126
6131
  buttonProps,
6127
6132
  cellProps,
@@ -6223,10 +6228,10 @@ function isLeapYear(date) {
6223
6228
  }
6224
6229
 
6225
6230
  // src/components/date-inputs/DatePicker/CalendarPopover.tsx
6226
- var import_react39 = require("react");
6231
+ var import_react40 = require("react");
6227
6232
  var import_react_dom2 = require("react-dom");
6228
6233
  var import_jsx_runtime226 = require("react/jsx-runtime");
6229
- var CalendarPopoverContext = (0, import_react39.createContext)({
6234
+ var CalendarPopoverContext = (0, import_react40.createContext)({
6230
6235
  anchorRef: null,
6231
6236
  closeButtonRef: null,
6232
6237
  isOpen: false,
@@ -6238,8 +6243,8 @@ var CalendarPopover = ({
6238
6243
  onClose,
6239
6244
  ...props
6240
6245
  }) => {
6241
- const anchorRef = (0, import_react39.useRef)(null);
6242
- const closeButtonRef = (0, import_react39.useRef)(null);
6246
+ const anchorRef = (0, import_react40.useRef)(null);
6247
+ const closeButtonRef = (0, import_react40.useRef)(null);
6243
6248
  useOnKeyDown("Escape", onClose);
6244
6249
  return /* @__PURE__ */ (0, import_jsx_runtime226.jsx)(
6245
6250
  CalendarPopoverContext,
@@ -6252,7 +6257,7 @@ var CalendarPopover = ({
6252
6257
  var CalendarPopoverAnchor = ({
6253
6258
  children
6254
6259
  }) => {
6255
- const { anchorRef } = (0, import_react39.useContext)(CalendarPopoverContext);
6260
+ const { anchorRef } = (0, import_react40.useContext)(CalendarPopoverContext);
6256
6261
  return /* @__PURE__ */ (0, import_jsx_runtime226.jsx)("div", { ref: anchorRef != null ? anchorRef : void 0, children });
6257
6262
  };
6258
6263
  var CalendarPopoverContent = ({
@@ -6260,30 +6265,30 @@ var CalendarPopoverContent = ({
6260
6265
  className,
6261
6266
  smallScreenBreakpoint
6262
6267
  }) => {
6263
- const ref = (0, import_react39.useRef)(null);
6264
- const modalRef = (0, import_react39.useRef)(null);
6268
+ const ref = (0, import_react40.useRef)(null);
6269
+ const modalRef = (0, import_react40.useRef)(null);
6265
6270
  const { refs, styles: floatingStyles } = useFloatPosition(null, {
6266
6271
  placement: "bottom-start"
6267
6272
  });
6268
- const themeContext = (0, import_react39.useContext)(ThemeContext);
6273
+ const themeContext = (0, import_react40.useContext)(ThemeContext);
6269
6274
  if (!themeContext) {
6270
6275
  throw new Error("DatePicker must be used within a ThemeProvider");
6271
6276
  }
6272
6277
  const portalTarget = themeContext.el;
6273
6278
  const { t } = useTranslation();
6274
- const { isOpen, onClose, anchorRef, closeButtonRef } = (0, import_react39.useContext)(
6279
+ const { isOpen, onClose, anchorRef, closeButtonRef } = (0, import_react40.useContext)(
6275
6280
  CalendarPopoverContext
6276
6281
  );
6277
6282
  const hasTransitionedIn = useMountTransition(isOpen, 500);
6278
6283
  const isMounted = isOpen && hasTransitionedIn;
6279
6284
  const combinedRef = useCombinedRef(refs.setFloating, ref);
6280
6285
  useOnClickOutside([ref.current, modalRef.current], onClose);
6281
- (0, import_react39.useEffect)(() => {
6286
+ (0, import_react40.useEffect)(() => {
6282
6287
  var _a;
6283
6288
  refs.setReference((_a = anchorRef == null ? void 0 : anchorRef.current) != null ? _a : null);
6284
6289
  }, []);
6285
6290
  const hasBreakpoint = !!smallScreenBreakpoint;
6286
- (0, import_react39.useEffect)(() => {
6291
+ (0, import_react40.useEffect)(() => {
6287
6292
  var _a;
6288
6293
  if (hasBreakpoint && ((_a = modalRef.current) == null ? void 0 : _a.checkVisibility())) {
6289
6294
  if (isOpen) {
@@ -6365,7 +6370,7 @@ function CalendarGrid({ state, ...props }) {
6365
6370
  { short: t(texts6.sa), full: t(texts6.saturday) },
6366
6371
  { short: t(texts6.su), full: t(texts6.sunday) }
6367
6372
  ];
6368
- const { showWeekNumbers, onClose } = (0, import_react40.useContext)(CalendarPopoverContext);
6373
+ const { showWeekNumbers, onClose } = (0, import_react41.useContext)(CalendarPopoverContext);
6369
6374
  const typographyCn = [
6370
6375
  typographyStyles_default["body-xsmall"],
6371
6376
  typographyStyles_default["text-color--subtle"]
@@ -6564,7 +6569,7 @@ function Calendar(props) {
6564
6569
  nextButtonProps: { onPress: onNext },
6565
6570
  title
6566
6571
  } = (0, import_calendar3.useCalendar)(props, state);
6567
- const { onClose, closeButtonRef } = (0, import_react41.useContext)(CalendarPopoverContext);
6572
+ const { onClose, closeButtonRef } = (0, import_react42.useContext)(CalendarPopoverContext);
6568
6573
  const closeOnKeyboardBlurBack = (event) => {
6569
6574
  var _a;
6570
6575
  if (event.key === "Tab" && event.shiftKey === true) {
@@ -6635,18 +6640,18 @@ var texts7 = createTexts({
6635
6640
  var import_datepicker4 = require("@react-aria/datepicker");
6636
6641
  var import_i18n17 = require("@react-aria/i18n");
6637
6642
  var import_datepicker5 = require("@react-stately/datepicker");
6638
- var import_react47 = require("react");
6643
+ var import_react48 = require("react");
6639
6644
 
6640
6645
  // src/components/date-inputs/DatePicker/DateField/DateField.tsx
6641
6646
  var import_date5 = require("@internationalized/date");
6642
6647
  var import_datepicker2 = require("@react-aria/datepicker");
6643
6648
  var import_i18n15 = require("@react-aria/i18n");
6644
6649
  var import_datepicker3 = require("@react-stately/datepicker");
6645
- var import_react45 = require("react");
6650
+ var import_react46 = require("react");
6646
6651
 
6647
6652
  // src/components/date-inputs/DatePicker/DateField/CalendarButton.tsx
6648
6653
  var import_button = require("@react-aria/button");
6649
- var import_react42 = require("react");
6654
+ var import_react43 = require("react");
6650
6655
 
6651
6656
  // src/components/helpers/InlineIconButton/InlineIconButton.module.css
6652
6657
  var InlineIconButton_default = {
@@ -6708,7 +6713,7 @@ function CalendarButton({
6708
6713
  isReadOnly,
6709
6714
  ...props
6710
6715
  }) {
6711
- const ref = (0, import_react42.useRef)(null);
6716
+ const ref = (0, import_react43.useRef)(null);
6712
6717
  const { buttonProps } = (0, import_button.useButton)(props, ref);
6713
6718
  return /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(
6714
6719
  InlineIconButton,
@@ -6789,7 +6794,7 @@ var texts8 = createTexts({
6789
6794
 
6790
6795
  // src/components/date-inputs/DatePicker/DateField/DateSegment.tsx
6791
6796
  var import_datepicker = require("@react-aria/datepicker");
6792
- var import_react43 = require("react");
6797
+ var import_react44 = require("react");
6793
6798
  var import_jsx_runtime231 = require("react/jsx-runtime");
6794
6799
  var typographyTypes = {
6795
6800
  medium: "bodyMedium",
@@ -6803,7 +6808,7 @@ function DateSegment({
6803
6808
  errorMessageId,
6804
6809
  tipId
6805
6810
  }) {
6806
- const ref = (0, import_react43.useRef)(null);
6811
+ const ref = (0, import_react44.useRef)(null);
6807
6812
  const { segmentProps } = (0, import_datepicker.useDateSegment)(segment, state, ref);
6808
6813
  return /* @__PURE__ */ (0, import_jsx_runtime231.jsxs)(
6809
6814
  "div",
@@ -6861,7 +6866,7 @@ var ClearButton = ({
6861
6866
  ClearButton.displayName = "ClearButton";
6862
6867
 
6863
6868
  // src/components/date-inputs/common/DateInput.tsx
6864
- var import_react44 = require("react");
6869
+ var import_react45 = require("react");
6865
6870
 
6866
6871
  // src/components/helpers/Input/Input.tsx
6867
6872
  var import_jsx_runtime233 = require("react/jsx-runtime");
@@ -6951,7 +6956,7 @@ function DateInput({
6951
6956
  ...props
6952
6957
  }) {
6953
6958
  const hasErrorMessage = !!errorMessage;
6954
- const { isOpen } = (0, import_react44.useContext)(CalendarPopoverContext);
6959
+ const { isOpen } = (0, import_react45.useContext)(CalendarPopoverContext);
6955
6960
  return /* @__PURE__ */ (0, import_jsx_runtime235.jsxs)(
6956
6961
  "div",
6957
6962
  {
@@ -7029,7 +7034,7 @@ function DateField({
7029
7034
  locale,
7030
7035
  createCalendar: import_date5.createCalendar
7031
7036
  });
7032
- const internalRef = (0, import_react45.useRef)(null);
7037
+ const internalRef = (0, import_react46.useRef)(null);
7033
7038
  const { labelProps, fieldProps } = (0, import_datepicker2.useDateField)(props, state, internalRef);
7034
7039
  const disabled = props.isDisabled || !!fieldProps["aria-disabled"];
7035
7040
  const showClearButton = clearable && !disabled && !props.isReadOnly;
@@ -7110,10 +7115,10 @@ var texts9 = createTexts({
7110
7115
 
7111
7116
  // src/components/date-inputs/utils/useFocusManagerRef.ts
7112
7117
  var import_focus18 = require("@react-aria/focus");
7113
- var import_react46 = require("react");
7118
+ var import_react47 = require("react");
7114
7119
  function useFocusManagerRef(ref) {
7115
- const domRef = (0, import_react46.useRef)(null);
7116
- (0, import_react46.useImperativeHandle)(ref, () => ({
7120
+ const domRef = (0, import_react47.useRef)(null);
7121
+ (0, import_react47.useImperativeHandle)(ref, () => ({
7117
7122
  ...createDOMRef(domRef),
7118
7123
  focus() {
7119
7124
  (0, import_focus18.createFocusManager)(domRef).focusFirst({ tabbable: true });
@@ -7153,7 +7158,7 @@ function DatePicker({
7153
7158
  }
7154
7159
  const state = (0, import_datepicker5.useDatePickerState)(props);
7155
7160
  const domRef = useFocusManagerRef(ref && refIsFocusable(ref) ? ref : null);
7156
- const internalRef = (0, import_react47.useRef)(null);
7161
+ const internalRef = (0, import_react48.useRef)(null);
7157
7162
  const combinedRef = useCombinedRef(internalRef, domRef);
7158
7163
  const { buttonProps, calendarProps, fieldProps, groupProps } = (0, import_datepicker4.useDatePicker)(
7159
7164
  { ...props, granularity: "day" },
@@ -7162,7 +7167,7 @@ function DatePicker({
7162
7167
  );
7163
7168
  const hasErrorMessage = !!errorMessage;
7164
7169
  const hasTip = !!tip;
7165
- const uniqueId = (_a = props.id) != null ? _a : (0, import_react47.useId)();
7170
+ const uniqueId = (_a = props.id) != null ? _a : (0, import_react48.useId)();
7166
7171
  const errorMessageId = hasErrorMessage ? `${uniqueId}-errorMessage` : void 0;
7167
7172
  const tipId = hasTip ? `${uniqueId}-tip` : void 0;
7168
7173
  return /* @__PURE__ */ (0, import_jsx_runtime237.jsx)(import_i18n17.I18nProvider, { locale: LOCALE[lang], children: /* @__PURE__ */ (0, import_jsx_runtime237.jsxs)(
@@ -7201,7 +7206,7 @@ DatePicker.displayName = "DatePicker";
7201
7206
  // src/components/date-inputs/TimePicker/TimePicker.tsx
7202
7207
  var import_datepicker6 = require("@react-aria/datepicker");
7203
7208
  var import_datepicker7 = require("@react-stately/datepicker");
7204
- var import_react48 = require("react");
7209
+ var import_react49 = require("react");
7205
7210
 
7206
7211
  // src/components/date-inputs/TimePicker/TimePicker.utils.ts
7207
7212
  function formatTimeSegments(segments) {
@@ -7244,7 +7249,7 @@ function TimePicker({
7244
7249
  if (!lang) {
7245
7250
  throw new Error("TimePicker must be used within a DdsProvider");
7246
7251
  }
7247
- const internalRef = (0, import_react48.useRef)(null);
7252
+ const internalRef = (0, import_react49.useRef)(null);
7248
7253
  const state = (0, import_datepicker7.useTimeFieldState)({
7249
7254
  ...props,
7250
7255
  locale: LOCALE[lang]
@@ -7256,7 +7261,7 @@ function TimePicker({
7256
7261
  );
7257
7262
  const hasErrorMessage = !!props.errorMessage;
7258
7263
  const hasTip = !!props.tip;
7259
- const uniqueId = (_a = props.id) != null ? _a : (0, import_react48.useId)();
7264
+ const uniqueId = (_a = props.id) != null ? _a : (0, import_react49.useId)();
7260
7265
  const errorMessageId = hasErrorMessage ? `${uniqueId}-errorMessage` : void 0;
7261
7266
  const tipId = hasTip ? `${uniqueId}-tip` : void 0;
7262
7267
  const iconSize = componentSize === "xsmall" ? "small" : "medium";
@@ -7440,9 +7445,9 @@ var DetailList_default = {
7440
7445
  };
7441
7446
 
7442
7447
  // src/components/DetailList/DetailList.context.tsx
7443
- var import_react49 = require("react");
7444
- var DetailListContext = (0, import_react49.createContext)({});
7445
- var useDetailListContext = () => (0, import_react49.useContext)(DetailListContext);
7448
+ var import_react50 = require("react");
7449
+ var DetailListContext = (0, import_react50.createContext)({});
7450
+ var useDetailListContext = () => (0, import_react50.useContext)(DetailListContext);
7446
7451
 
7447
7452
  // src/components/DetailList/DetailList.tsx
7448
7453
  var import_jsx_runtime243 = require("react/jsx-runtime");
@@ -7515,7 +7520,7 @@ var DetailListTerm = ({ className, ...rest }) => /* @__PURE__ */ (0, import_jsx_
7515
7520
  DetailListTerm.displayName = "DetailListTerm";
7516
7521
 
7517
7522
  // src/components/Drawer/Drawer.tsx
7518
- var import_react51 = require("react");
7523
+ var import_react52 = require("react");
7519
7524
  var import_react_dom3 = require("react-dom");
7520
7525
 
7521
7526
  // src/components/Drawer/Drawer.module.css
@@ -7533,9 +7538,9 @@ var Drawer_default = {
7533
7538
  };
7534
7539
 
7535
7540
  // src/components/Drawer/Drawer.context.tsx
7536
- var import_react50 = require("react");
7537
- var DrawerContext = (0, import_react50.createContext)({});
7538
- var useDrawerContext = () => (0, import_react50.useContext)(DrawerContext);
7541
+ var import_react51 = require("react");
7542
+ var DrawerContext = (0, import_react51.createContext)({});
7543
+ var useDrawerContext = () => (0, import_react51.useContext)(DrawerContext);
7539
7544
 
7540
7545
  // src/components/Drawer/Drawer.tsx
7541
7546
  var import_jsx_runtime247 = require("react/jsx-runtime");
@@ -7553,7 +7558,7 @@ var Drawer = ({
7553
7558
  ref,
7554
7559
  ...rest
7555
7560
  }) => {
7556
- const themeContext = (0, import_react51.useContext)(ThemeContext);
7561
+ const themeContext = (0, import_react52.useContext)(ThemeContext);
7557
7562
  if (!themeContext) {
7558
7563
  throw new Error("Drawer must be used within a ThemeProvider");
7559
7564
  }
@@ -7565,7 +7570,7 @@ var Drawer = ({
7565
7570
  const headerId = hasHeader ? `${drawerId}-header` : void 0;
7566
7571
  const drawerRef = useFocusTrap(isOpen);
7567
7572
  const combinedRef = useCombinedRef(ref, drawerRef);
7568
- (0, import_react51.useEffect)(() => {
7573
+ (0, import_react52.useEffect)(() => {
7569
7574
  if (withBackdrop) {
7570
7575
  if (isOpen) {
7571
7576
  handleElementWithBackdropMount(document.body);
@@ -7582,7 +7587,7 @@ var Drawer = ({
7582
7587
  onClose == null ? void 0 : onClose();
7583
7588
  }
7584
7589
  });
7585
- const backdropRef = (0, import_react51.useRef)(null);
7590
+ const backdropRef = (0, import_react52.useRef)(null);
7586
7591
  const onBackdropClick = (event) => {
7587
7592
  if (event.target === backdropRef.current && isOpen && withBackdrop) {
7588
7593
  onClose == null ? void 0 : onClose();
@@ -7686,7 +7691,7 @@ var Drawer = ({
7686
7691
  Drawer.displayName = "Drawer";
7687
7692
 
7688
7693
  // src/components/Drawer/DrawerGroup.tsx
7689
- var import_react52 = require("react");
7694
+ var import_react53 = require("react");
7690
7695
  var import_jsx_runtime248 = require("react/jsx-runtime");
7691
7696
  var DrawerGroup = ({
7692
7697
  children,
@@ -7697,14 +7702,14 @@ var DrawerGroup = ({
7697
7702
  onOpen,
7698
7703
  onClose
7699
7704
  }) => {
7700
- const [internalIsOpen, internalSetIsOpen] = (0, import_react52.useState)(isInitiallyOpen);
7705
+ const [internalIsOpen, internalSetIsOpen] = (0, import_react53.useState)(isInitiallyOpen);
7701
7706
  const [isOpen, setIsOpen] = [
7702
7707
  propIsOpen != null ? propIsOpen : internalIsOpen,
7703
7708
  propSetIsOpen != null ? propSetIsOpen : internalSetIsOpen
7704
7709
  ];
7705
- const generatedId = (0, import_react52.useId)();
7710
+ const generatedId = (0, import_react53.useId)();
7706
7711
  const uniqueDrawerId = drawerId != null ? drawerId : `${generatedId}-drawer`;
7707
- const triggerRef = (0, import_react52.useRef)(null);
7712
+ const triggerRef = (0, import_react53.useRef)(null);
7708
7713
  const open = () => setIsOpen(true);
7709
7714
  const close = () => setIsOpen(false);
7710
7715
  const handleOpen = () => {
@@ -7722,8 +7727,8 @@ var DrawerGroup = ({
7722
7727
  handleClose();
7723
7728
  }
7724
7729
  });
7725
- const Children7 = import_react52.Children.map(children, (child, childIndex) => {
7726
- return (0, import_react52.isValidElement)(child) && (childIndex === 0 ? (0, import_react52.cloneElement)(child, {
7730
+ const Children7 = import_react53.Children.map(children, (child, childIndex) => {
7731
+ return (0, import_react53.isValidElement)(child) && (childIndex === 0 ? (0, import_react53.cloneElement)(child, {
7727
7732
  "aria-haspopup": "dialog",
7728
7733
  "aria-controls": uniqueDrawerId,
7729
7734
  "aria-expanded": isOpen,
@@ -7777,7 +7782,7 @@ function EmptyContent({
7777
7782
  EmptyContent.displayName = "EmptyContent";
7778
7783
 
7779
7784
  // src/components/FavStar/FavStar.tsx
7780
- var import_react53 = require("react");
7785
+ var import_react54 = require("react");
7781
7786
 
7782
7787
  // src/components/FavStar/FavStar.module.css
7783
7788
  var FavStar_default = {
@@ -7809,7 +7814,7 @@ var FavStar = ({
7809
7814
  htmlProps,
7810
7815
  rest
7811
7816
  );
7812
- const generatedId = (0, import_react53.useId)();
7817
+ const generatedId = (0, import_react54.useId)();
7813
7818
  const [checked, setChecked] = useControllableState({
7814
7819
  value: checkedProp,
7815
7820
  defaultValue: defaultChecked != null ? defaultChecked : false,
@@ -7863,7 +7868,7 @@ var texts10 = createTexts({
7863
7868
  });
7864
7869
 
7865
7870
  // src/components/Feedback/Feedback.tsx
7866
- var import_react57 = require("react");
7871
+ var import_react58 = require("react");
7867
7872
 
7868
7873
  // src/components/Feedback/Feedback.module.css
7869
7874
  var Feedback_default = {
@@ -7877,7 +7882,7 @@ var Feedback_default = {
7877
7882
  };
7878
7883
 
7879
7884
  // src/components/TextArea/TextArea.tsx
7880
- var import_react55 = require("react");
7885
+ var import_react56 = require("react");
7881
7886
 
7882
7887
  // src/components/TextArea/TextArea.module.css
7883
7888
  var TextArea_default = {
@@ -7885,7 +7890,7 @@ var TextArea_default = {
7885
7890
  };
7886
7891
 
7887
7892
  // src/components/helpers/CharCounter/CharCounter.tsx
7888
- var import_react54 = require("react");
7893
+ var import_react55 = require("react");
7889
7894
 
7890
7895
  // src/components/helpers/CharCounter/CharCounter.module.css
7891
7896
  var CharCounter_default = {
@@ -7897,7 +7902,7 @@ var import_jsx_runtime251 = require("react/jsx-runtime");
7897
7902
  function CharCounter(props) {
7898
7903
  const { t } = useTranslation();
7899
7904
  const { current, max, id } = props;
7900
- const generatedId = (0, import_react54.useId)();
7905
+ const generatedId = (0, import_react55.useId)();
7901
7906
  const uniqueId = id != null ? id : `${generatedId}-characterCounter`;
7902
7907
  return /* @__PURE__ */ (0, import_jsx_runtime251.jsxs)(
7903
7908
  Typography,
@@ -7954,12 +7959,12 @@ var TextArea = ({
7954
7959
  ref,
7955
7960
  ...rest
7956
7961
  }) => {
7957
- const generatedId = (0, import_react55.useId)();
7962
+ const generatedId = (0, import_react56.useId)();
7958
7963
  const uniqueId = id != null ? id : `${generatedId}-textArea`;
7959
- const textAreaRef = (0, import_react55.useRef)(null);
7964
+ const textAreaRef = (0, import_react56.useRef)(null);
7960
7965
  const multiRef = useCombinedRef(ref, textAreaRef);
7961
- const [text, setText] = (0, import_react55.useState)(getDefaultText(value, defaultValue));
7962
- (0, import_react55.useEffect)(() => {
7966
+ const [text, setText] = (0, import_react56.useState)(getDefaultText(value, defaultValue));
7967
+ (0, import_react56.useEffect)(() => {
7963
7968
  if (textAreaRef == null ? void 0 : textAreaRef.current) {
7964
7969
  const el = textAreaRef.current;
7965
7970
  el.style.height = "auto";
@@ -8103,7 +8108,7 @@ var texts12 = createTexts({
8103
8108
  });
8104
8109
 
8105
8110
  // src/components/Tooltip/Tooltip.tsx
8106
- var import_react56 = require("react");
8111
+ var import_react57 = require("react");
8107
8112
 
8108
8113
  // src/components/Tooltip/Tooltip.module.css
8109
8114
  var Tooltip_default = {
@@ -8131,15 +8136,15 @@ var Tooltip = ({
8131
8136
  htmlProps,
8132
8137
  ...rest
8133
8138
  }) => {
8134
- const generatedId = (0, import_react56.useId)();
8139
+ const generatedId = (0, import_react57.useId)();
8135
8140
  const uniqueTooltipId = tooltipId != null ? tooltipId : `${generatedId}-tooltip`;
8136
- const [open, setOpen] = (0, import_react56.useState)(false);
8137
- const [inView, setInView] = (0, import_react56.useState)(keepMounted ? false : true);
8138
- const [arrowElement, setArrowElement] = (0, import_react56.useState)(null);
8141
+ const [open, setOpen] = (0, import_react57.useState)(false);
8142
+ const [inView, setInView] = (0, import_react57.useState)(keepMounted ? false : true);
8143
+ const [arrowElement, setArrowElement] = (0, import_react57.useState)(null);
8139
8144
  const { refs, styles: positionStyles } = useFloatPosition(arrowElement, {
8140
8145
  placement
8141
8146
  });
8142
- const tooltipRef = (0, import_react56.useRef)(null);
8147
+ const tooltipRef = (0, import_react57.useRef)(null);
8143
8148
  const combinedRef = useCombinedRef(ref, refs.setFloating, tooltipRef);
8144
8149
  const closeWhenNotInView = (entries) => {
8145
8150
  const [entry] = entries;
@@ -8147,7 +8152,7 @@ var Tooltip = ({
8147
8152
  setInView(true);
8148
8153
  } else setInView(false);
8149
8154
  };
8150
- (0, import_react56.useEffect)(() => {
8155
+ (0, import_react57.useEffect)(() => {
8151
8156
  if (keepMounted) {
8152
8157
  const options = {
8153
8158
  root: null,
@@ -8161,7 +8166,7 @@ var Tooltip = ({
8161
8166
  };
8162
8167
  }
8163
8168
  }, [tooltipRef]);
8164
- (0, import_react56.useEffect)(() => {
8169
+ (0, import_react57.useEffect)(() => {
8165
8170
  if (tooltipRef.current) {
8166
8171
  window.addEventListener("scroll", () => {
8167
8172
  closeTooltip();
@@ -8174,7 +8179,7 @@ var Tooltip = ({
8174
8179
  };
8175
8180
  }, []);
8176
8181
  let timer;
8177
- (0, import_react56.useEffect)(() => {
8182
+ (0, import_react57.useEffect)(() => {
8178
8183
  return () => {
8179
8184
  clearTimeout(timer);
8180
8185
  };
@@ -8195,8 +8200,8 @@ var Tooltip = ({
8195
8200
  const hasTransitionedIn = useMountTransition(open, 500);
8196
8201
  const isMounted = hasTransitionedIn && open;
8197
8202
  const isTransientlyMounted = !keepMounted && isMounted;
8198
- const anchorElement = import_react56.Children.only(
8199
- (0, import_react56.cloneElement)(children, {
8203
+ const anchorElement = import_react57.Children.only(
8204
+ (0, import_react57.cloneElement)(children, {
8200
8205
  ref: refs.setReference,
8201
8206
  onFocus: combineHandlers(openTooltip, children.props.onFocus),
8202
8207
  onBlur: combineHandlers(closeTooltip, children.props.onBlur),
@@ -8334,9 +8339,9 @@ var Feedback = ({
8334
8339
  onSubmit
8335
8340
  }) => {
8336
8341
  const { t } = useTranslation();
8337
- const [rating, setRating] = (0, import_react57.useState)(null);
8338
- const [feedbackText, setFeedbackText] = (0, import_react57.useState)();
8339
- const [isFeedbackSubmitted, setIsFeedbackSubmitted] = (0, import_react57.useState)(false);
8342
+ const [rating, setRating] = (0, import_react58.useState)(null);
8343
+ const [feedbackText, setFeedbackText] = (0, import_react58.useState)();
8344
+ const [isFeedbackSubmitted, setIsFeedbackSubmitted] = (0, import_react58.useState)(false);
8340
8345
  const tRatingLabel = ratingLabel != null ? ratingLabel : t(texts14.ratingQuestion);
8341
8346
  const tPositiveFeedbackLabel = positiveFeedbackLabel != null ? positiveFeedbackLabel : t(texts14.improvalQuestion);
8342
8347
  const tNegativeFeedbackLabel = negativeFeedbackLabel != null ? negativeFeedbackLabel : t(texts14.improvalQuestion);
@@ -8345,13 +8350,13 @@ var Feedback = ({
8345
8350
  const tTextAreaTip = textAreaTip != null ? textAreaTip : t(texts14.sensitiveInfo);
8346
8351
  const tThumbUpTooltip = thumbUpTooltip != null ? thumbUpTooltip : t(texts14.good);
8347
8352
  const tThumbDownTooltip = thumbDownTooltip != null ? thumbDownTooltip : t(texts14.bad);
8348
- (0, import_react57.useEffect)(() => {
8353
+ (0, import_react58.useEffect)(() => {
8349
8354
  if (ratingProp !== void 0) setRating(ratingProp);
8350
8355
  }, [ratingProp]);
8351
- (0, import_react57.useEffect)(() => {
8356
+ (0, import_react58.useEffect)(() => {
8352
8357
  if (feedbackTextProp !== void 0) setFeedbackText(feedbackTextProp);
8353
8358
  }, [feedbackTextProp]);
8354
- (0, import_react57.useEffect)(() => {
8359
+ (0, import_react58.useEffect)(() => {
8355
8360
  if (isSubmittedProp !== void 0) setIsFeedbackSubmitted(isSubmittedProp);
8356
8361
  }, [isSubmittedProp]);
8357
8362
  const handleRatingChange = (newRating) => {
@@ -8473,7 +8478,7 @@ var FieldsetGroup = ({
8473
8478
  FieldsetGroup.displayName = "FieldsetGroup";
8474
8479
 
8475
8480
  // src/components/FileUploader/FileUploader.tsx
8476
- var import_react59 = require("react");
8481
+ var import_react60 = require("react");
8477
8482
 
8478
8483
  // src/components/FileUploader/ErrorList.tsx
8479
8484
  var import_jsx_runtime259 = require("react/jsx-runtime");
@@ -8606,7 +8611,7 @@ var texts15 = createTexts({
8606
8611
 
8607
8612
  // src/components/FileUploader/useFileUploader.ts
8608
8613
  var import_file_selector = require("file-selector");
8609
- var import_react58 = require("react");
8614
+ var import_react59 = require("react");
8610
8615
 
8611
8616
  // src/components/FileUploader/fileUploaderReducer.ts
8612
8617
  var fileUploaderReducer = (state, action) => {
@@ -8706,18 +8711,18 @@ var useFileUploader = (props) => {
8706
8711
  errorMessage
8707
8712
  } = props;
8708
8713
  const { t } = useTranslation();
8709
- const rootRef = (0, import_react58.useRef)(null);
8710
- const inputRef = (0, import_react58.useRef)(null);
8711
- const buttonRef = (0, import_react58.useRef)(null);
8714
+ const rootRef = (0, import_react59.useRef)(null);
8715
+ const inputRef = (0, import_react59.useRef)(null);
8716
+ const buttonRef = (0, import_react59.useRef)(null);
8712
8717
  const isControlled = !!value;
8713
- const initialFileUploaderFiles = (0, import_react58.useMemo)(
8718
+ const initialFileUploaderFiles = (0, import_react59.useMemo)(
8714
8719
  () => (initialFiles != null ? initialFiles : []).map((f) => ({
8715
8720
  file: f,
8716
8721
  errors: []
8717
8722
  })),
8718
8723
  [initialFiles]
8719
8724
  );
8720
- const [state, dispatch] = (0, import_react58.useReducer)(fileUploaderReducer, {
8725
+ const [state, dispatch] = (0, import_react59.useReducer)(fileUploaderReducer, {
8721
8726
  files: initialFileUploaderFiles,
8722
8727
  isFocused: false,
8723
8728
  isFileDialogActive: false,
@@ -8730,7 +8735,7 @@ var useFileUploader = (props) => {
8730
8735
  )
8731
8736
  });
8732
8737
  const { files: stateFiles } = state;
8733
- (0, import_react58.useEffect)(() => {
8738
+ (0, import_react59.useEffect)(() => {
8734
8739
  if (isControlled) {
8735
8740
  const files = value.map((file) => {
8736
8741
  const accepted = isFileAccepted(file, accept);
@@ -8745,7 +8750,7 @@ var useFileUploader = (props) => {
8745
8750
  });
8746
8751
  }
8747
8752
  }, [value, isControlled, accept, dispatch]);
8748
- (0, import_react58.useEffect)(() => {
8753
+ (0, import_react59.useEffect)(() => {
8749
8754
  dispatch({
8750
8755
  type: "setRootErrors",
8751
8756
  payload: calcRootErrors(
@@ -8756,12 +8761,12 @@ var useFileUploader = (props) => {
8756
8761
  )
8757
8762
  });
8758
8763
  }, [dispatch, stateFiles, maxFiles, errorMessage]);
8759
- const onRootFocus = (0, import_react58.useCallback)(
8764
+ const onRootFocus = (0, import_react59.useCallback)(
8760
8765
  () => dispatch({ type: "focus" }),
8761
8766
  [dispatch]
8762
8767
  );
8763
- const onRootBlur = (0, import_react58.useCallback)(() => dispatch({ type: "blur" }), [dispatch]);
8764
- const onRootDragEnter = (0, import_react58.useCallback)(
8768
+ const onRootBlur = (0, import_react59.useCallback)(() => dispatch({ type: "blur" }), [dispatch]);
8769
+ const onRootDragEnter = (0, import_react59.useCallback)(
8765
8770
  async (evt) => {
8766
8771
  preventDefaults(evt);
8767
8772
  if (isEventWithFiles(evt)) {
@@ -8773,7 +8778,7 @@ var useFileUploader = (props) => {
8773
8778
  },
8774
8779
  [dispatch, accept, maxFiles]
8775
8780
  );
8776
- const onRootDragOver = (0, import_react58.useCallback)((evt) => {
8781
+ const onRootDragOver = (0, import_react59.useCallback)((evt) => {
8777
8782
  preventDefaults(evt);
8778
8783
  const hasFiles = isEventWithFiles(evt);
8779
8784
  if (hasFiles && evt.dataTransfer) {
@@ -8783,7 +8788,7 @@ var useFileUploader = (props) => {
8783
8788
  }
8784
8789
  }
8785
8790
  }, []);
8786
- const onRootDragLeave = (0, import_react58.useCallback)(
8791
+ const onRootDragLeave = (0, import_react59.useCallback)(
8787
8792
  (evt) => {
8788
8793
  preventDefaults(evt);
8789
8794
  if (evt.currentTarget.contains(evt.relatedTarget)) return;
@@ -8791,7 +8796,7 @@ var useFileUploader = (props) => {
8791
8796
  },
8792
8797
  [dispatch]
8793
8798
  );
8794
- const setFiles = (0, import_react58.useCallback)(
8799
+ const setFiles = (0, import_react59.useCallback)(
8795
8800
  async (evt) => {
8796
8801
  evt.preventDefault();
8797
8802
  if (isEventWithFiles(evt)) {
@@ -8825,13 +8830,13 @@ var useFileUploader = (props) => {
8825
8830
  dispatch
8826
8831
  ]
8827
8832
  );
8828
- const openFileDialog = (0, import_react58.useCallback)(() => {
8833
+ const openFileDialog = (0, import_react59.useCallback)(() => {
8829
8834
  if (inputRef.current) {
8830
8835
  inputRef.current.value = "";
8831
8836
  inputRef.current.click();
8832
8837
  }
8833
8838
  }, [inputRef]);
8834
- const removeFile = (0, import_react58.useCallback)(
8839
+ const removeFile = (0, import_react59.useCallback)(
8835
8840
  (file) => {
8836
8841
  const newFiles = [...stateFiles];
8837
8842
  newFiles.splice(stateFiles.indexOf(file), 1);
@@ -8845,7 +8850,7 @@ var useFileUploader = (props) => {
8845
8850
  },
8846
8851
  [stateFiles, isControlled, maxFiles, errorMessage, onChange, dispatch]
8847
8852
  );
8848
- const getRootProps = (0, import_react58.useCallback)(
8853
+ const getRootProps = (0, import_react59.useCallback)(
8849
8854
  () => ({
8850
8855
  onBlur: onRootBlur,
8851
8856
  onFocus: onRootFocus,
@@ -8865,14 +8870,14 @@ var useFileUploader = (props) => {
8865
8870
  disabled
8866
8871
  ]
8867
8872
  );
8868
- const getButtonProps = (0, import_react58.useCallback)(
8873
+ const getButtonProps = (0, import_react59.useCallback)(
8869
8874
  () => ({
8870
8875
  onClick: openFileDialog,
8871
8876
  ref: buttonRef
8872
8877
  }),
8873
8878
  [openFileDialog, buttonRef]
8874
8879
  );
8875
- const getInputProps = (0, import_react58.useCallback)(
8880
+ const getInputProps = (0, import_react59.useCallback)(
8876
8881
  () => ({
8877
8882
  type: "file",
8878
8883
  tabIndex: readOnly ? void 0 : -1,
@@ -8941,7 +8946,7 @@ var FileUploader = (props) => {
8941
8946
  const { t } = useTranslation();
8942
8947
  const tDropAreaLabel = dropAreaLabel != null ? dropAreaLabel : t(texts17.dragAndDropOr);
8943
8948
  const tBtnLabel = btnLabel != null ? btnLabel : t(texts17.selectFile);
8944
- const generatedId = (0, import_react59.useId)();
8949
+ const generatedId = (0, import_react60.useId)();
8945
8950
  const uniqueId = id != null ? id : `${generatedId}-fileUploader`;
8946
8951
  const {
8947
8952
  state: { files: stateFiles, isDragActive, rootErrors },
@@ -9281,7 +9286,7 @@ var texts18 = createTexts({
9281
9286
  });
9282
9287
 
9283
9288
  // src/components/GlobalMessage/GlobalMessage.tsx
9284
- var import_react60 = require("react");
9289
+ var import_react61 = require("react");
9285
9290
 
9286
9291
  // src/components/GlobalMessage/GlobalMessage.module.css
9287
9292
  var GlobalMessage_default = {
@@ -9313,7 +9318,7 @@ var GlobalMessage = ({
9313
9318
  ...rest
9314
9319
  }) => {
9315
9320
  const { t } = useTranslation();
9316
- const [isClosed, setClosed] = (0, import_react60.useState)(false);
9321
+ const [isClosed, setClosed] = (0, import_react61.useState)(false);
9317
9322
  return !isClosed ? /* @__PURE__ */ (0, import_jsx_runtime272.jsxs)(
9318
9323
  "div",
9319
9324
  {
@@ -9387,15 +9392,15 @@ var InlineButton = ({
9387
9392
  );
9388
9393
 
9389
9394
  // src/components/InlineEdit/InlineEditTextArea/InlineEditTextArea.tsx
9390
- var import_react63 = require("react");
9395
+ var import_react64 = require("react");
9391
9396
 
9392
9397
  // src/components/InlineEdit/InlineEdit.context.tsx
9393
- var import_react61 = require("react");
9398
+ var import_react62 = require("react");
9394
9399
  var import_jsx_runtime274 = require("react/jsx-runtime");
9395
- var InlineEditContext = (0, import_react61.createContext)(
9400
+ var InlineEditContext = (0, import_react62.createContext)(
9396
9401
  {}
9397
9402
  );
9398
- var useInlineEditContext = () => (0, import_react61.useContext)(InlineEditContext);
9403
+ var useInlineEditContext = () => (0, import_react62.useContext)(InlineEditContext);
9399
9404
  var InlineEditContextProvider = (props) => {
9400
9405
  const {
9401
9406
  emptiable,
@@ -9407,8 +9412,8 @@ var InlineEditContextProvider = (props) => {
9407
9412
  inputRef,
9408
9413
  children
9409
9414
  } = props;
9410
- const [editingValue, setEditingValue] = (0, import_react61.useState)(value != null ? value : "");
9411
- const [isEditing, setIsEditing] = (0, import_react61.useState)(false);
9415
+ const [editingValue, setEditingValue] = (0, import_react62.useState)(value != null ? value : "");
9416
+ const [isEditing, setIsEditing] = (0, import_react62.useState)(false);
9412
9417
  const onChangeHandler = (e) => {
9413
9418
  setEditingValue(e.target.value);
9414
9419
  onChange == null ? void 0 : onChange(e);
@@ -9453,7 +9458,7 @@ var InlineEditContextProvider = (props) => {
9453
9458
  InlineEditContextProvider.displayName = "InlineEditContextProvider";
9454
9459
 
9455
9460
  // src/components/InlineEdit/InlineField.tsx
9456
- var import_react62 = require("react");
9461
+ var import_react63 = require("react");
9457
9462
 
9458
9463
  // src/components/InlineEdit/InlineEdit.module.css
9459
9464
  var InlineEdit_default = {
@@ -9558,14 +9563,14 @@ function InlineField(props) {
9558
9563
  } = props;
9559
9564
  const { onBlur, onChange, onFocus, isEditing, value, emptiable } = useInlineEditContext();
9560
9565
  const { t } = useTranslation();
9561
- const generatedId = (0, import_react62.useId)();
9566
+ const generatedId = (0, import_react63.useId)();
9562
9567
  const uniqueId = id != null ? id : `${generatedId}-InlineEdit`;
9563
9568
  const hasErrorMessage = !!errorMessage;
9564
9569
  const hasErrorState = !!error || hasErrorMessage;
9565
9570
  const errorMessageId = derivativeIdGenerator(uniqueId, "errorMessage");
9566
9571
  const descId = derivativeIdGenerator(uniqueId, "desc");
9567
9572
  const hasValue = !!value;
9568
- const inputRef = (0, import_react62.useRef)(null);
9573
+ const inputRef = (0, import_react63.useRef)(null);
9569
9574
  const combinedRef = useCombinedRef(ref, inputRef);
9570
9575
  const clearInput = () => {
9571
9576
  const clearChangeEvent = createClearChangeEvent(uniqueId);
@@ -9670,7 +9675,7 @@ var InlineEditTextArea = ({
9670
9675
  ref,
9671
9676
  ...rest
9672
9677
  }) => {
9673
- const textareaRef = (0, import_react63.useRef)(null);
9678
+ const textareaRef = (0, import_react64.useRef)(null);
9674
9679
  const combinedRef = useCombinedRef(ref, textareaRef);
9675
9680
  return /* @__PURE__ */ (0, import_jsx_runtime277.jsx)(
9676
9681
  InlineEditContextProvider,
@@ -9688,7 +9693,7 @@ var InlineEditTextArea = ({
9688
9693
  };
9689
9694
 
9690
9695
  // src/components/InlineEdit/InlineEditInput/InlineEditInput.tsx
9691
- var import_react64 = require("react");
9696
+ var import_react65 = require("react");
9692
9697
  var import_jsx_runtime278 = require("react/jsx-runtime");
9693
9698
  var InlineEditInput = ({
9694
9699
  onSetValue,
@@ -9700,7 +9705,7 @@ var InlineEditInput = ({
9700
9705
  ref,
9701
9706
  ...rest
9702
9707
  }) => {
9703
- const inputRef = (0, import_react64.useRef)(null);
9708
+ const inputRef = (0, import_react65.useRef)(null);
9704
9709
  const combinedRef = useCombinedRef(ref, inputRef);
9705
9710
  return /* @__PURE__ */ (0, import_jsx_runtime278.jsx)(
9706
9711
  InlineEditContextProvider,
@@ -9718,7 +9723,7 @@ var InlineEditInput = ({
9718
9723
  };
9719
9724
 
9720
9725
  // src/components/InlineEdit/InlineEditSelect/InlineEditSelect.tsx
9721
- var import_react65 = require("react");
9726
+ var import_react66 = require("react");
9722
9727
  var import_jsx_runtime279 = require("react/jsx-runtime");
9723
9728
  var InlineEditSelect = ({
9724
9729
  onSetValue,
@@ -9730,7 +9735,7 @@ var InlineEditSelect = ({
9730
9735
  ref,
9731
9736
  ...rest
9732
9737
  }) => {
9733
- const inputRef = (0, import_react65.useRef)(null);
9738
+ const inputRef = (0, import_react66.useRef)(null);
9734
9739
  const combinedRef = useCombinedRef(ref, inputRef);
9735
9740
  return /* @__PURE__ */ (0, import_jsx_runtime279.jsx)(
9736
9741
  InlineEditContextProvider,
@@ -9748,7 +9753,7 @@ var InlineEditSelect = ({
9748
9753
  };
9749
9754
 
9750
9755
  // src/components/InternalHeader/InternalHeader.tsx
9751
- var import_react66 = require("react");
9756
+ var import_react67 = require("react");
9752
9757
 
9753
9758
  // src/components/InternalHeader/InternalHeader.module.css
9754
9759
  var InternalHeader_default = {
@@ -9781,7 +9786,7 @@ var NavigationItem = ({ isCurrent, ...rest }) => /* @__PURE__ */ (0, import_jsx_
9781
9786
 
9782
9787
  // src/components/InternalHeader/InternalHeader.tsx
9783
9788
  var import_jsx_runtime281 = require("react/jsx-runtime");
9784
- var import_react67 = require("react");
9789
+ var import_react68 = require("react");
9785
9790
  var InternalHeader = (props) => {
9786
9791
  const {
9787
9792
  applicationDesc,
@@ -9799,7 +9804,7 @@ var InternalHeader = (props) => {
9799
9804
  ...rest
9800
9805
  } = props;
9801
9806
  const { t } = useTranslation();
9802
- const [currentPage, setCurrentPage] = (0, import_react66.useState)(
9807
+ const [currentPage, setCurrentPage] = (0, import_react67.useState)(
9803
9808
  currentPageHref
9804
9809
  );
9805
9810
  const handleCurrentPageChange = (href) => {
@@ -9885,7 +9890,7 @@ var InternalHeader = (props) => {
9885
9890
  as: "nav",
9886
9891
  "aria-label": t(texts20.siteNavigation),
9887
9892
  showBelow: smallScreenBreakpoint,
9888
- children: /* @__PURE__ */ (0, import_jsx_runtime281.jsx)(OverflowMenuList, { children: navItems.map((item, i) => /* @__PURE__ */ (0, import_react67.createElement)(OverflowMenuLink, { ...item, key: `nav-${i}` })) })
9893
+ children: /* @__PURE__ */ (0, import_jsx_runtime281.jsx)(OverflowMenuList, { children: navItems.map((item, i) => /* @__PURE__ */ (0, import_react68.createElement)(OverflowMenuLink, { ...item, key: `nav-${i}` })) })
9889
9894
  }
9890
9895
  ),
9891
9896
  hasNavInContextMenu && hasContextMenuElements && /* @__PURE__ */ (0, import_jsx_runtime281.jsx)(
@@ -9896,13 +9901,13 @@ var InternalHeader = (props) => {
9896
9901
  }
9897
9902
  ),
9898
9903
  hasContextMenuElements && /* @__PURE__ */ (0, import_jsx_runtime281.jsx)(OverflowMenuList, { children: contextMenuItems.map((item, i) => {
9899
- return item.href ? /* @__PURE__ */ (0, import_react67.createElement)(
9904
+ return item.href ? /* @__PURE__ */ (0, import_react68.createElement)(
9900
9905
  OverflowMenuLink,
9901
9906
  {
9902
9907
  ...item,
9903
9908
  key: `context-${i}`
9904
9909
  }
9905
- ) : /* @__PURE__ */ (0, import_react67.createElement)(
9910
+ ) : /* @__PURE__ */ (0, import_react68.createElement)(
9906
9911
  OverflowMenuButton,
9907
9912
  {
9908
9913
  ...item,
@@ -9978,7 +9983,7 @@ var ListItem = ({ className, ...rest }) => /* @__PURE__ */ (0, import_jsx_runtim
9978
9983
  ListItem.displayName = "ListItem";
9979
9984
 
9980
9985
  // src/components/LocalMessage/LocalMessage.tsx
9981
- var import_react68 = require("react");
9986
+ var import_react69 = require("react");
9982
9987
 
9983
9988
  // src/components/LocalMessage/LocalMessage.module.css
9984
9989
  var LocalMessage_default = {
@@ -10021,7 +10026,7 @@ var LocalMessage = ({
10021
10026
  ...rest
10022
10027
  }) => {
10023
10028
  const { t } = useTranslation();
10024
- const [isClosed, setClosed] = (0, import_react68.useState)(false);
10029
+ const [isClosed, setClosed] = (0, import_react69.useState)(false);
10025
10030
  if (isClosed) {
10026
10031
  return /* @__PURE__ */ (0, import_jsx_runtime284.jsx)(import_jsx_runtime284.Fragment, {});
10027
10032
  }
@@ -10075,7 +10080,7 @@ var LocalMessage = ({
10075
10080
  LocalMessage.displayName = "LocalMessage";
10076
10081
 
10077
10082
  // src/components/Modal/Modal.tsx
10078
- var import_react69 = require("react");
10083
+ var import_react70 = require("react");
10079
10084
  var import_react_dom4 = require("react-dom");
10080
10085
 
10081
10086
  // src/components/Modal/Modal.module.css
@@ -10105,7 +10110,7 @@ var Modal = ({
10105
10110
  ref,
10106
10111
  ...rest
10107
10112
  }) => {
10108
- const generatedId = (0, import_react69.useId)();
10113
+ const generatedId = (0, import_react70.useId)();
10109
10114
  const modalId = id != null ? id : `${generatedId}-modal`;
10110
10115
  const headerId = `${modalId}-header`;
10111
10116
  const modalRef = useFocusTrap(isOpen, initialFocusRef);
@@ -10117,13 +10122,13 @@ var Modal = ({
10117
10122
  onClose();
10118
10123
  }
10119
10124
  };
10120
- const themeContext = (0, import_react69.useContext)(ThemeContext);
10125
+ const themeContext = (0, import_react70.useContext)(ThemeContext);
10121
10126
  if (!themeContext) {
10122
10127
  throw new Error("Modal must be used within a ThemeProvider");
10123
10128
  }
10124
10129
  const { t } = useTranslation();
10125
10130
  const portalTarget = parentElement != null ? parentElement : themeContext == null ? void 0 : themeContext.el;
10126
- (0, import_react69.useEffect)(() => {
10131
+ (0, import_react70.useEffect)(() => {
10127
10132
  if (isOpen) {
10128
10133
  handleElementWithBackdropMount(document.body);
10129
10134
  } else {
@@ -10131,7 +10136,7 @@ var Modal = ({
10131
10136
  }
10132
10137
  return () => handleElementWithBackdropUnmount(document.body);
10133
10138
  }, [isOpen]);
10134
- const backdropRef = (0, import_react69.useRef)(null);
10139
+ const backdropRef = (0, import_react70.useRef)(null);
10135
10140
  const onBackdropClick = (event) => {
10136
10141
  if (event.target === backdropRef.current && isOpen) {
10137
10142
  handleClose();
@@ -10248,7 +10253,7 @@ var ModalActions = (props) => /* @__PURE__ */ (0, import_jsx_runtime287.jsx)(Box
10248
10253
  ModalActions.displayName = "ModalActions";
10249
10254
 
10250
10255
  // src/components/Pagination/Pagination.tsx
10251
- var import_react73 = require("react");
10256
+ var import_react74 = require("react");
10252
10257
 
10253
10258
  // src/components/Pagination/Pagination.module.css
10254
10259
  var Pagination_default = {
@@ -10293,7 +10298,7 @@ function PaginationGenerator(pagesAmount, activePage) {
10293
10298
  }
10294
10299
 
10295
10300
  // src/components/Select/Select.tsx
10296
- var import_react71 = require("react");
10301
+ var import_react72 = require("react");
10297
10302
  var import_react_select2 = __toESM(require("react-select"));
10298
10303
 
10299
10304
  // src/components/Select/Select.module.css
@@ -10573,7 +10578,7 @@ var getCustomStyles = (size2, hasError, hasIcon, isReadOnly) => ({
10573
10578
  });
10574
10579
 
10575
10580
  // src/components/Select/SelectComponents.tsx
10576
- var import_react70 = __toESM(require("react"));
10581
+ var import_react71 = __toESM(require("react"));
10577
10582
  var import_react_select = require("react-select");
10578
10583
  var import_jsx_runtime288 = require("react/jsx-runtime");
10579
10584
  var {
@@ -10602,7 +10607,7 @@ var DDSOption = ({
10602
10607
  props.isSelected && /* @__PURE__ */ (0, import_jsx_runtime288.jsx)(Icon, { icon: CheckIcon, iconSize: "small" }),
10603
10608
  props.children
10604
10609
  ] });
10605
- var CustomOption = (props) => /* @__PURE__ */ (0, import_jsx_runtime288.jsx)(Option, { ...props, children: import_react70.default.createElement(props.customElement, props) });
10610
+ var CustomOption = (props) => /* @__PURE__ */ (0, import_jsx_runtime288.jsx)(Option, { ...props, children: import_react71.default.createElement(props.customElement, props) });
10606
10611
  var CustomSingleValue = ({
10607
10612
  id,
10608
10613
  Element,
@@ -10719,12 +10724,12 @@ function Select({
10719
10724
  afterLabelContent,
10720
10725
  ...rest
10721
10726
  }) {
10722
- const themeContext = (0, import_react71.useContext)(ThemeContext);
10727
+ const themeContext = (0, import_react72.useContext)(ThemeContext);
10723
10728
  if (!themeContext) {
10724
10729
  throw new Error("Select must be used within a ThemeProvider");
10725
10730
  }
10726
10731
  const portalTarget = menuPortalTarget != null ? menuPortalTarget : themeContext == null ? void 0 : themeContext.el;
10727
- const generatedId = (0, import_react71.useId)();
10732
+ const generatedId = (0, import_react72.useId)();
10728
10733
  const uniqueId = id != null ? id : `${generatedId}-select`;
10729
10734
  const singleValueId = !isMulti ? `${uniqueId}-singleValue` : void 0;
10730
10735
  const hasErrorMessage = !!errorMessage;
@@ -10736,7 +10741,7 @@ function Select({
10736
10741
  width,
10737
10742
  componentSize === "xsmall" && "var(--dds-input-default-width-xsmall)"
10738
10743
  );
10739
- const customInput = (0, import_react71.useCallback)(
10744
+ const customInput = (0, import_react72.useCallback)(
10740
10745
  (props) => /* @__PURE__ */ (0, import_jsx_runtime289.jsx)(
10741
10746
  DDSInput,
10742
10747
  {
@@ -10754,7 +10759,7 @@ function Select({
10754
10759
  ),
10755
10760
  []
10756
10761
  );
10757
- const customSingleValue = (0, import_react71.useCallback)(
10762
+ const customSingleValue = (0, import_react72.useCallback)(
10758
10763
  (props) => /* @__PURE__ */ (0, import_jsx_runtime289.jsx)(
10759
10764
  CustomSingleValue,
10760
10765
  {
@@ -10765,15 +10770,15 @@ function Select({
10765
10770
  ),
10766
10771
  []
10767
10772
  );
10768
- const customClearIndicator = (0, import_react71.useCallback)(
10773
+ const customClearIndicator = (0, import_react72.useCallback)(
10769
10774
  (props) => /* @__PURE__ */ (0, import_jsx_runtime289.jsx)(DDSClearIndicator, { ...props, size: componentSize }),
10770
10775
  [componentSize]
10771
10776
  );
10772
- const customDropdownIndicator = (0, import_react71.useCallback)(
10777
+ const customDropdownIndicator = (0, import_react72.useCallback)(
10773
10778
  (props) => /* @__PURE__ */ (0, import_jsx_runtime289.jsx)(DDSDropdownIndicator, { ...props, componentSize }),
10774
10779
  [componentSize]
10775
10780
  );
10776
- const customControl = (0, import_react71.useCallback)(
10781
+ const customControl = (0, import_react72.useCallback)(
10777
10782
  (props) => /* @__PURE__ */ (0, import_jsx_runtime289.jsx)(
10778
10783
  DDSControl,
10779
10784
  {
@@ -10786,7 +10791,7 @@ function Select({
10786
10791
  ),
10787
10792
  [componentSize, readOnly, icon, dataTestId]
10788
10793
  );
10789
- const customOptionComponent = (0, import_react71.useCallback)(
10794
+ const customOptionComponent = (0, import_react72.useCallback)(
10790
10795
  (props) => {
10791
10796
  if (customOptionElement) {
10792
10797
  return /* @__PURE__ */ (0, import_jsx_runtime289.jsx)(CustomOption, { ...props, customElement: customOptionElement });
@@ -10805,7 +10810,7 @@ function Select({
10805
10810
  placeholder: placeholder ? placeholder : "",
10806
10811
  closeMenuOnSelect: closeMenuOnSelect ? closeMenuOnSelect : isMulti ? false : true,
10807
10812
  isMulti,
10808
- instanceId: instanceId != null ? instanceId : (0, import_react71.useId)(),
10813
+ instanceId: instanceId != null ? instanceId : (0, import_react72.useId)(),
10809
10814
  inputId: uniqueId,
10810
10815
  name: uniqueId,
10811
10816
  menuPortalTarget: portalTarget,
@@ -10864,7 +10869,7 @@ function Select({
10864
10869
  Select.displayName = "Select";
10865
10870
 
10866
10871
  // src/components/Select/NativeSelect/NativeSelect.tsx
10867
- var import_react72 = require("react");
10872
+ var import_react73 = require("react");
10868
10873
 
10869
10874
  // src/components/Select/NativeSelect/NativeSelect.module.css
10870
10875
  var NativeSelect_default = {
@@ -10908,14 +10913,14 @@ var NativeSelect = ({
10908
10913
  ...rest
10909
10914
  }) => {
10910
10915
  const { t } = useTranslation();
10911
- const selectRef = (0, import_react72.useRef)(null);
10912
- const [hasValue, setHasValue] = (0, import_react72.useState)(false);
10913
- (0, import_react72.useEffect)(() => {
10916
+ const selectRef = (0, import_react73.useRef)(null);
10917
+ const [hasValue, setHasValue] = (0, import_react73.useState)(false);
10918
+ (0, import_react73.useEffect)(() => {
10914
10919
  var _a, _b;
10915
10920
  const selectedIndex = (_b = (_a = selectRef.current) == null ? void 0 : _a.selectedIndex) != null ? _b : -1;
10916
10921
  setHasValue(selectedIndex !== 0);
10917
10922
  }, []);
10918
- (0, import_react72.useEffect)(() => {
10923
+ (0, import_react73.useEffect)(() => {
10919
10924
  var _a;
10920
10925
  if (clearable) {
10921
10926
  const firstOption = (_a = selectRef.current) == null ? void 0 : _a.options[0];
@@ -10928,7 +10933,7 @@ var NativeSelect = ({
10928
10933
  }
10929
10934
  }
10930
10935
  }, [clearable]);
10931
- const generatedId = (0, import_react72.useId)();
10936
+ const generatedId = (0, import_react73.useId)();
10932
10937
  const uniqueId = id != null ? id : `${generatedId}-native-select`;
10933
10938
  const hasErrorMessage = !!errorMessage;
10934
10939
  const hasTip = !!tip;
@@ -11073,7 +11078,7 @@ var Pagination = ({
11073
11078
  value: activePageProp,
11074
11079
  defaultValue: defaultActivePage
11075
11080
  });
11076
- const [itemsPerPage, setItemsPerPage] = (0, import_react73.useState)(defaultItemsPerPage);
11081
+ const [itemsPerPage, setItemsPerPage] = (0, import_react74.useState)(defaultItemsPerPage);
11077
11082
  const pagesLength = Math.ceil(itemsAmount / itemsPerPage);
11078
11083
  const items = PaginationGenerator(pagesLength, activePage);
11079
11084
  const onPageChange = (event, page) => {
@@ -11389,7 +11394,7 @@ var texts21 = createTexts({
11389
11394
  });
11390
11395
 
11391
11396
  // src/components/PhoneInput/PhoneInput.tsx
11392
- var import_react74 = require("react");
11397
+ var import_react75 = require("react");
11393
11398
 
11394
11399
  // src/components/PhoneInput/constants.ts
11395
11400
  var COUNTRIES = {
@@ -11851,7 +11856,7 @@ var PhoneInput = ({
11851
11856
  const { t } = useTranslation();
11852
11857
  const tGroupLabel = groupLabel != null ? groupLabel : t(texts22.countryCodeAndPhoneNumber);
11853
11858
  const tSelectLabel = selectLabel != null ? selectLabel : t(texts22.countryCode);
11854
- const generatedId = (0, import_react74.useId)();
11859
+ const generatedId = (0, import_react75.useId)();
11855
11860
  const uniqueId = (_a = props.id) != null ? _a : generatedId;
11856
11861
  const phoneInputId = `${uniqueId}-phone-input`;
11857
11862
  const phoneNumberId = `${uniqueId}-phone-number`;
@@ -11861,27 +11866,27 @@ var PhoneInput = ({
11861
11866
  const hasMessage = hasErrorMessage || hasTip;
11862
11867
  const tipId = derivativeIdGenerator(phoneInputId, "tip");
11863
11868
  const errorMessageId = derivativeIdGenerator(phoneInputId, "errorMessage");
11864
- const [callingCode, setCallingCode] = (0, import_react74.useState)("");
11865
- const [selectedCountryCodeText, setSelectedCountryCodeText] = (0, import_react74.useState)("");
11866
- const [internalValue, setInternalValue] = (0, import_react74.useState)(
11869
+ const [callingCode, setCallingCode] = (0, import_react75.useState)("");
11870
+ const [selectedCountryCodeText, setSelectedCountryCodeText] = (0, import_react75.useState)("");
11871
+ const [internalValue, setInternalValue] = (0, import_react75.useState)(
11867
11872
  defaultValue != null ? defaultValue : {
11868
11873
  countryCode: "",
11869
11874
  phoneNumber: ""
11870
11875
  }
11871
11876
  );
11872
11877
  const isControlled = value !== void 0;
11873
- const [callingCodeWidth, setCallingCodeWidth] = (0, import_react74.useState)(0);
11874
- const callingCodeRef = (0, import_react74.useRef)(null);
11875
- (0, import_react74.useLayoutEffect)(() => {
11878
+ const [callingCodeWidth, setCallingCodeWidth] = (0, import_react75.useState)(0);
11879
+ const callingCodeRef = (0, import_react75.useRef)(null);
11880
+ (0, import_react75.useLayoutEffect)(() => {
11876
11881
  if (callingCodeRef.current) {
11877
11882
  setCallingCodeWidth(callingCodeRef.current.offsetWidth);
11878
11883
  }
11879
11884
  }, [callingCode]);
11880
11885
  const callingCodeInlineStart = callingCodeWidth ? `calc(var(--dds-spacing-x1) + ${callingCodeWidth}px)` : void 0;
11881
- const internalSelectRef = (0, import_react74.useRef)(null);
11886
+ const internalSelectRef = (0, import_react75.useRef)(null);
11882
11887
  const combinedSelectRef = useCombinedRef(selectRef, internalSelectRef);
11883
11888
  const displayedValue = isControlled ? value : internalValue;
11884
- (0, import_react74.useEffect)(() => {
11889
+ (0, import_react75.useEffect)(() => {
11885
11890
  const selectEl = internalSelectRef.current;
11886
11891
  if (selectEl && selectEl.value) {
11887
11892
  const { options, selectedIndex } = selectEl;
@@ -12042,7 +12047,7 @@ var texts22 = createTexts({
12042
12047
  });
12043
12048
 
12044
12049
  // src/components/Popover/Popover.tsx
12045
- var import_react76 = require("react");
12050
+ var import_react77 = require("react");
12046
12051
  var import_react_dom5 = require("react-dom");
12047
12052
 
12048
12053
  // src/components/Popover/Popover.module.css
@@ -12054,9 +12059,9 @@ var Popover_default = {
12054
12059
  };
12055
12060
 
12056
12061
  // src/components/Popover/Popover.context.tsx
12057
- var import_react75 = require("react");
12058
- var PopoverContext = (0, import_react75.createContext)({});
12059
- var usePopoverContext = () => (0, import_react75.useContext)(PopoverContext);
12062
+ var import_react76 = require("react");
12063
+ var PopoverContext = (0, import_react76.createContext)({});
12064
+ var usePopoverContext = () => (0, import_react76.useContext)(PopoverContext);
12060
12065
 
12061
12066
  // src/components/Popover/Popover.tsx
12062
12067
  var import_jsx_runtime293 = require("react/jsx-runtime");
@@ -12086,7 +12091,7 @@ var Popover = ({
12086
12091
  });
12087
12092
  const { maxHeight, maxWidth, minHeight, minWidth, height, width } = sizeProps;
12088
12093
  const context = usePopoverContext();
12089
- const themeContext = (0, import_react76.useContext)(ThemeContext);
12094
+ const themeContext = (0, import_react77.useContext)(ThemeContext);
12090
12095
  const portalTarget = parentElement != null ? parentElement : themeContext == null ? void 0 : themeContext.el;
12091
12096
  const {
12092
12097
  floatStyling: contextFloatStyling,
@@ -12099,7 +12104,7 @@ var Popover = ({
12099
12104
  } = context;
12100
12105
  const { t } = useTranslation();
12101
12106
  const hasContext = !isEmpty(context);
12102
- const generatedId = (0, import_react76.useId)();
12107
+ const generatedId = (0, import_react77.useId)();
12103
12108
  const uniquePopoverId = id != null ? id : `${generatedId}-popover`;
12104
12109
  const [
12105
12110
  popoverId,
@@ -12136,7 +12141,7 @@ var Popover = ({
12136
12141
  anchorEl && anchorEl
12137
12142
  );
12138
12143
  const multiRef = useCombinedRef(ref, popoverRef, floatingRef);
12139
- (0, import_react76.useEffect)(() => {
12144
+ (0, import_react77.useEffect)(() => {
12140
12145
  setFloatOptions == null ? void 0 : setFloatOptions({ placement, offset });
12141
12146
  }, [placement, offset]);
12142
12147
  useOnClickOutside([popoverRef.current, anchorEl], () => {
@@ -12205,7 +12210,7 @@ var Popover = ({
12205
12210
  Popover.displayName = "Popover";
12206
12211
 
12207
12212
  // src/components/Popover/PopoverGroup.tsx
12208
- var import_react77 = require("react");
12213
+ var import_react78 = require("react");
12209
12214
  var import_jsx_runtime294 = require("react/jsx-runtime");
12210
12215
  var PopoverGroup = ({
12211
12216
  isOpen: propIsOpen,
@@ -12217,12 +12222,12 @@ var PopoverGroup = ({
12217
12222
  popoverId
12218
12223
  }) => {
12219
12224
  var _a;
12220
- const [internalIsOpen, internalSetIsOpen] = (0, import_react77.useState)(isInitiallyOpen);
12225
+ const [internalIsOpen, internalSetIsOpen] = (0, import_react78.useState)(isInitiallyOpen);
12221
12226
  const open = propIsOpen != null ? propIsOpen : internalIsOpen;
12222
12227
  const setOpen = propSetIsOpen != null ? propSetIsOpen : internalSetIsOpen;
12223
- const generatedId = (0, import_react77.useId)();
12228
+ const generatedId = (0, import_react78.useId)();
12224
12229
  const uniquePopoverId = popoverId != null ? popoverId : `${generatedId}-popover`;
12225
- const [floatOptions, setFloatOptions] = (0, import_react77.useState)();
12230
+ const [floatOptions, setFloatOptions] = (0, import_react78.useState)();
12226
12231
  const { refs, styles: positionStyles } = useFloatPosition(null, floatOptions);
12227
12232
  const handleClose = () => {
12228
12233
  setOpen(false);
@@ -12239,10 +12244,10 @@ var PopoverGroup = ({
12239
12244
  handleOpen();
12240
12245
  }
12241
12246
  };
12242
- const buttonRef = (0, import_react77.useRef)(null);
12247
+ const buttonRef = (0, import_react78.useRef)(null);
12243
12248
  const anchorRef = refs.setReference;
12244
12249
  const combinedAnchorRef = useCombinedRef(buttonRef, anchorRef);
12245
- const popoverRef = (0, import_react77.useRef)(null);
12250
+ const popoverRef = (0, import_react78.useRef)(null);
12246
12251
  const floatingRef = refs.setFloating;
12247
12252
  const combinedPopoverRef = useCombinedRef(popoverRef, floatingRef);
12248
12253
  useOnKeyDown(["Esc", "Escape"], () => {
@@ -12258,8 +12263,8 @@ var PopoverGroup = ({
12258
12263
  if (open) handleClose();
12259
12264
  });
12260
12265
  const isAnchorChild = (i) => i === 0;
12261
- const Children7 = import_react77.Children.map(children, (child, childIndex) => {
12262
- return (0, import_react77.isValidElement)(child) && (isAnchorChild(childIndex) ? (0, import_react77.cloneElement)(child, {
12266
+ const Children7 = import_react78.Children.map(children, (child, childIndex) => {
12267
+ return (0, import_react78.isValidElement)(child) && (isAnchorChild(childIndex) ? (0, import_react78.cloneElement)(child, {
12263
12268
  "aria-haspopup": "dialog",
12264
12269
  "aria-controls": uniquePopoverId,
12265
12270
  "aria-expanded": open,
@@ -12286,17 +12291,17 @@ var PopoverGroup = ({
12286
12291
  PopoverGroup.displayName = "PopoverGroup";
12287
12292
 
12288
12293
  // src/components/ProgressTracker/ProgressTracker.tsx
12289
- var import_react80 = require("react");
12294
+ var import_react81 = require("react");
12290
12295
 
12291
12296
  // src/components/ProgressTracker/ProgressTracker.context.tsx
12292
- var import_react78 = require("react");
12293
- var ProgressTrackerContext = (0, import_react78.createContext)(
12297
+ var import_react79 = require("react");
12298
+ var ProgressTrackerContext = (0, import_react79.createContext)(
12294
12299
  {
12295
12300
  activeStep: 0,
12296
12301
  direction: "column"
12297
12302
  }
12298
12303
  );
12299
- var useProgressTrackerContext = () => (0, import_react78.useContext)(ProgressTrackerContext);
12304
+ var useProgressTrackerContext = () => (0, import_react79.useContext)(ProgressTrackerContext);
12300
12305
 
12301
12306
  // src/components/ProgressTracker/ProgressTracker.module.css
12302
12307
  var ProgressTracker_default = {
@@ -12317,7 +12322,7 @@ var ProgressTracker_default = {
12317
12322
  };
12318
12323
 
12319
12324
  // src/components/ProgressTracker/ProgressTrackerItem.tsx
12320
- var import_react79 = require("react");
12325
+ var import_react80 = require("react");
12321
12326
  var import_jsx_runtime295 = require("react/jsx-runtime");
12322
12327
  var toItemState = (active, completed, disabled) => {
12323
12328
  if (disabled) {
@@ -12360,7 +12365,7 @@ var ProgressTrackerItem = (props) => {
12360
12365
  handleStepChange == null ? void 0 : handleStepChange(index);
12361
12366
  }
12362
12367
  };
12363
- const stepNumberContent = (0, import_react79.useMemo)(() => {
12368
+ const stepNumberContent = (0, import_react80.useMemo)(() => {
12364
12369
  if (completed) {
12365
12370
  return /* @__PURE__ */ (0, import_jsx_runtime295.jsx)(Icon, { icon: CheckIcon, iconSize: "small" });
12366
12371
  }
@@ -12484,17 +12489,17 @@ var ProgressTracker = (() => {
12484
12489
  ...rest
12485
12490
  }) => {
12486
12491
  const { t } = useTranslation();
12487
- const [thisActiveStep, setActiveStep] = (0, import_react80.useState)(activeStep);
12492
+ const [thisActiveStep, setActiveStep] = (0, import_react81.useState)(activeStep);
12488
12493
  const handleChange = (step) => {
12489
12494
  setActiveStep(step);
12490
12495
  onStepChange == null ? void 0 : onStepChange(step);
12491
12496
  };
12492
- (0, import_react80.useEffect)(() => {
12497
+ (0, import_react81.useEffect)(() => {
12493
12498
  if (activeStep !== void 0 && activeStep != thisActiveStep) {
12494
12499
  setActiveStep(activeStep);
12495
12500
  }
12496
12501
  }, [activeStep, thisActiveStep]);
12497
- const steps = (0, import_react80.useMemo)(() => {
12502
+ const steps = (0, import_react81.useMemo)(() => {
12498
12503
  const validChildren = removeInvalidChildren(children);
12499
12504
  const itemsWithIndex = passIndexPropToProgressTrackerItem(validChildren);
12500
12505
  return itemsWithIndex;
@@ -12539,12 +12544,12 @@ var ProgressTracker = (() => {
12539
12544
  return Res;
12540
12545
  })();
12541
12546
  function removeInvalidChildren(children) {
12542
- return import_react80.Children.toArray(children).filter(import_react80.isValidElement);
12547
+ return import_react81.Children.toArray(children).filter(import_react81.isValidElement);
12543
12548
  }
12544
12549
  function passIndexPropToProgressTrackerItem(children) {
12545
- return import_react80.Children.map(
12550
+ return import_react81.Children.map(
12546
12551
  children,
12547
- (item, index) => (0, import_react80.cloneElement)(item, {
12552
+ (item, index) => (0, import_react81.cloneElement)(item, {
12548
12553
  ...item.props,
12549
12554
  index
12550
12555
  })
@@ -12561,7 +12566,7 @@ var texts24 = createTexts({
12561
12566
  });
12562
12567
 
12563
12568
  // src/components/ProgressBar/ProgressBar.tsx
12564
- var import_react81 = require("react");
12569
+ var import_react82 = require("react");
12565
12570
 
12566
12571
  // src/components/ProgressBar/ProgressBar.module.css
12567
12572
  var ProgressBar_default = {
@@ -12590,7 +12595,7 @@ var ProgressBar = ({
12590
12595
  style,
12591
12596
  ...rest
12592
12597
  }) => {
12593
- const generatedId = (0, import_react81.useId)();
12598
+ const generatedId = (0, import_react82.useId)();
12594
12599
  const uniqueId = id != null ? id : `${generatedId}-searchInput`;
12595
12600
  const hasErrorMessage = !!errorMessage;
12596
12601
  const hasTip = !!tip;
@@ -12645,13 +12650,13 @@ var ProgressBar = ({
12645
12650
  ProgressBar.displayName = "ProgressBar";
12646
12651
 
12647
12652
  // src/components/Search/Search.tsx
12648
- var import_react84 = require("react");
12653
+ var import_react85 = require("react");
12649
12654
 
12650
12655
  // src/components/Search/AutocompleteSearch.context.tsx
12651
- var import_react82 = require("react");
12652
- var AutocompleteSearchContext = (0, import_react82.createContext)({});
12656
+ var import_react83 = require("react");
12657
+ var AutocompleteSearchContext = (0, import_react83.createContext)({});
12653
12658
  var useAutocompleteSearch = () => {
12654
- return (0, import_react82.useContext)(AutocompleteSearchContext);
12659
+ return (0, import_react83.useContext)(AutocompleteSearchContext);
12655
12660
  };
12656
12661
 
12657
12662
  // src/components/Search/Search.module.css
@@ -12671,7 +12676,7 @@ var typographyTypes2 = {
12671
12676
  };
12672
12677
 
12673
12678
  // src/components/Search/SearchSuggestionItem.tsx
12674
- var import_react83 = require("react");
12679
+ var import_react84 = require("react");
12675
12680
  var import_jsx_runtime298 = require("react/jsx-runtime");
12676
12681
  var SearchSuggestionItem = ({
12677
12682
  focus,
@@ -12679,9 +12684,9 @@ var SearchSuggestionItem = ({
12679
12684
  ref,
12680
12685
  ...rest
12681
12686
  }) => {
12682
- const itemRef = (0, import_react83.useRef)(null);
12687
+ const itemRef = (0, import_react84.useRef)(null);
12683
12688
  const combinedRef = useCombinedRef(ref, itemRef);
12684
- (0, import_react83.useEffect)(() => {
12689
+ (0, import_react84.useEffect)(() => {
12685
12690
  var _a;
12686
12691
  if (focus) {
12687
12692
  (_a = itemRef.current) == null ? void 0 : _a.focus();
@@ -12825,7 +12830,7 @@ var Search = ({
12825
12830
  ...rest
12826
12831
  }) => {
12827
12832
  var _a;
12828
- const generatedId = (0, import_react84.useId)();
12833
+ const generatedId = (0, import_react85.useId)();
12829
12834
  const uniqueId = id != null ? id : `${generatedId}-searchInput`;
12830
12835
  const tipId = derivativeIdGenerator(uniqueId, "tip");
12831
12836
  const suggestionsId = derivativeIdGenerator(uniqueId, "suggestions");
@@ -12834,7 +12839,7 @@ var Search = ({
12834
12839
  "suggestions-description"
12835
12840
  );
12836
12841
  const { t } = useTranslation();
12837
- const [hasValue, setHasValue] = (0, import_react84.useState)(!!value);
12842
+ const [hasValue, setHasValue] = (0, import_react85.useState)(!!value);
12838
12843
  const context = useAutocompleteSearch();
12839
12844
  const combinedRef = context.inputRef ? useCombinedRef(context.inputRef, ref) : ref;
12840
12845
  const handleChange = (e) => {
@@ -12987,7 +12992,7 @@ var texts26 = createTexts({
12987
12992
  });
12988
12993
 
12989
12994
  // src/components/Search/SearchAutocompleteWrapper.tsx
12990
- var import_react85 = require("react");
12995
+ var import_react86 = require("react");
12991
12996
  var import_jsx_runtime301 = require("react/jsx-runtime");
12992
12997
  var SearchAutocompleteWrapper = (props) => {
12993
12998
  const {
@@ -12999,12 +13004,12 @@ var SearchAutocompleteWrapper = (props) => {
12999
13004
  onSuggestionSelection,
13000
13005
  children
13001
13006
  } = props;
13002
- const [inputValue, setInputValue] = (0, import_react85.useState)(value != null ? value : "");
13003
- const [suggestions, setSuggestions] = (0, import_react85.useState)([]);
13004
- const [showSuggestions, setShowSuggestions] = (0, import_react85.useState)(false);
13007
+ const [inputValue, setInputValue] = (0, import_react86.useState)(value != null ? value : "");
13008
+ const [suggestions, setSuggestions] = (0, import_react86.useState)([]);
13009
+ const [showSuggestions, setShowSuggestions] = (0, import_react86.useState)(false);
13005
13010
  const closeSuggestions = () => showSuggestions === true && setShowSuggestions(false);
13006
13011
  const openSuggestions = () => showSuggestions === false && setShowSuggestions(true);
13007
- (0, import_react85.useEffect)(() => {
13012
+ (0, import_react86.useEffect)(() => {
13008
13013
  if (suggestions.length > 0) {
13009
13014
  openSuggestions();
13010
13015
  } else {
@@ -13049,8 +13054,8 @@ var SearchAutocompleteWrapper = (props) => {
13049
13054
  const handleSetInputValue = (value2) => {
13050
13055
  setInputValue(value2 != null ? value2 : "");
13051
13056
  };
13052
- const inputRef = (0, import_react85.useRef)(null);
13053
- const suggestionsRef = (0, import_react85.useRef)(null);
13057
+ const inputRef = (0, import_react86.useRef)(null);
13058
+ const suggestionsRef = (0, import_react86.useRef)(null);
13054
13059
  useOnClickOutside([inputRef.current, suggestionsRef.current], () => {
13055
13060
  closeSuggestions();
13056
13061
  });
@@ -13132,7 +13137,7 @@ var SkipToContent = ({
13132
13137
  SkipToContent.displayName = "SkipToContent";
13133
13138
 
13134
13139
  // src/components/SplitButton/SplitButton.tsx
13135
- var import_react86 = require("react");
13140
+ var import_react87 = require("react");
13136
13141
 
13137
13142
  // src/components/SplitButton/SplitButton.module.css
13138
13143
  var SplitButton_default = {
@@ -13153,7 +13158,7 @@ var SplitButton = ({
13153
13158
  ...rest
13154
13159
  }) => {
13155
13160
  const { t } = useTranslation();
13156
- const [isOpen, setIsOpen] = (0, import_react86.useState)(false);
13161
+ const [isOpen, setIsOpen] = (0, import_react87.useState)(false);
13157
13162
  const buttonStyleProps = {
13158
13163
  purpose,
13159
13164
  size: size2
@@ -13199,15 +13204,15 @@ var texts27 = createTexts({
13199
13204
  });
13200
13205
 
13201
13206
  // src/components/Table/collapsible/CollapsibleRow.tsx
13202
- var import_react90 = require("react");
13207
+ var import_react91 = require("react");
13203
13208
 
13204
13209
  // src/components/Table/collapsible/Table.context.tsx
13205
- var import_react87 = require("react");
13206
- var CollapsibleTableContext = (0, import_react87.createContext)({
13210
+ var import_react88 = require("react");
13211
+ var CollapsibleTableContext = (0, import_react88.createContext)({
13207
13212
  headerValues: [],
13208
13213
  definingColumnIndex: [0]
13209
13214
  });
13210
- var useCollapsibleTableContext = () => (0, import_react87.useContext)(CollapsibleTableContext);
13215
+ var useCollapsibleTableContext = () => (0, import_react88.useContext)(CollapsibleTableContext);
13211
13216
 
13212
13217
  // src/components/Table/normal/Body.tsx
13213
13218
  var import_jsx_runtime305 = require("react/jsx-runtime");
@@ -13215,12 +13220,12 @@ var Body = (props) => /* @__PURE__ */ (0, import_jsx_runtime305.jsx)("tbody", {
13215
13220
  Body.displayName = "Table.Body";
13216
13221
 
13217
13222
  // src/components/Table/normal/Head.tsx
13218
- var import_react88 = require("react");
13223
+ var import_react89 = require("react");
13219
13224
  var import_jsx_runtime306 = require("react/jsx-runtime");
13220
13225
  var Head = ({ children, ...rest }) => /* @__PURE__ */ (0, import_jsx_runtime306.jsx)("thead", { ...rest, children: /* @__PURE__ */ (0, import_jsx_runtime306.jsx)(HeadContext, { value: true, children }) });
13221
- var HeadContext = (0, import_react88.createContext)(false);
13226
+ var HeadContext = (0, import_react89.createContext)(false);
13222
13227
  function useIsInTableHead() {
13223
- const isInTableHead = (0, import_react88.useContext)(HeadContext);
13228
+ const isInTableHead = (0, import_react89.useContext)(HeadContext);
13224
13229
  return isInTableHead;
13225
13230
  }
13226
13231
 
@@ -13397,26 +13402,26 @@ var Table = ({
13397
13402
  Table.displayName = "Table";
13398
13403
 
13399
13404
  // src/components/Table/normal/TableWrapper.tsx
13400
- var import_react89 = require("react");
13405
+ var import_react90 = require("react");
13401
13406
  var import_jsx_runtime312 = require("react/jsx-runtime");
13402
13407
  var TableWrapper = ({ className, ...rest }) => {
13403
- const themeContext = (0, import_react89.useContext)(ThemeContext);
13408
+ const themeContext = (0, import_react90.useContext)(ThemeContext);
13404
13409
  const container2 = themeContext == null ? void 0 : themeContext.el;
13405
13410
  const containerWidth = container2 ? container2.clientWidth : 0;
13406
- const [overflowX, setOverflowX] = (0, import_react89.useState)(false);
13407
- const [themeContainerWidth, setThemeContainerWidth] = (0, import_react89.useState)(containerWidth);
13411
+ const [overflowX, setOverflowX] = (0, import_react90.useState)(false);
13412
+ const [themeContainerWidth, setThemeContainerWidth] = (0, import_react90.useState)(containerWidth);
13408
13413
  function isOverflowingX(event) {
13409
13414
  return event.offsetWidth < event.scrollWidth;
13410
13415
  }
13411
- const wrapperRef = (0, import_react89.useRef)(null);
13412
- (0, import_react89.useEffect)(() => {
13416
+ const wrapperRef = (0, import_react90.useRef)(null);
13417
+ (0, import_react90.useEffect)(() => {
13413
13418
  if ((wrapperRef == null ? void 0 : wrapperRef.current) && isOverflowingX(wrapperRef.current)) {
13414
13419
  setOverflowX(true);
13415
13420
  return;
13416
13421
  }
13417
13422
  setOverflowX(false);
13418
13423
  }, [themeContainerWidth]);
13419
- (0, import_react89.useEffect)(() => {
13424
+ (0, import_react90.useEffect)(() => {
13420
13425
  function handleResize() {
13421
13426
  setThemeContainerWidth(containerWidth);
13422
13427
  }
@@ -13465,8 +13470,8 @@ var CollapsibleRow = ({
13465
13470
  const isInHead = useIsInTableHead();
13466
13471
  const type = _type != null ? _type : isInHead ? "head" : "body";
13467
13472
  const { isCollapsed, headerValues, definingColumnIndex } = useCollapsibleTableContext();
13468
- const [childrenCollapsed, setChildrenCollapsed] = (0, import_react90.useState)(true);
13469
- (0, import_react90.useEffect)(() => {
13473
+ const [childrenCollapsed, setChildrenCollapsed] = (0, import_react91.useState)(true);
13474
+ (0, import_react91.useEffect)(() => {
13470
13475
  if (!isCollapsed) setChildrenCollapsed(true);
13471
13476
  }, [isCollapsed]);
13472
13477
  const rowProps = (isOpenCollapsibleHeader) => {
@@ -13484,7 +13489,7 @@ var CollapsibleRow = ({
13484
13489
  const collapsedHeaderValues = headerValues.filter(
13485
13490
  (column, index) => definingColumnIndex.indexOf(index) === -1
13486
13491
  );
13487
- const childrenArray = import_react90.Children.toArray(children);
13492
+ const childrenArray = import_react91.Children.toArray(children);
13488
13493
  const collapsedChildren = childrenArray.filter(
13489
13494
  (column, index) => definingColumnIndex.indexOf(index) === -1
13490
13495
  );
@@ -13493,9 +13498,9 @@ var CollapsibleRow = ({
13493
13498
  const collapsedRenderedChildren = isCollapsed && collapsedHeaderValues.length > 0 ? collapsedChildren.map(function(child, index) {
13494
13499
  const id = derivativeIdGenerator(prefix2, index.toString());
13495
13500
  collapsibleIds.push(id);
13496
- return /* @__PURE__ */ (0, import_jsx_runtime313.jsxs)(import_react90.Fragment, { children: [
13501
+ return /* @__PURE__ */ (0, import_jsx_runtime313.jsxs)(import_react91.Fragment, { children: [
13497
13502
  /* @__PURE__ */ (0, import_jsx_runtime313.jsx)(DescriptionListTerm, { children: collapsedHeaderValues[index].content }),
13498
- (0, import_react90.isValidElement)(child) && (0, import_react90.cloneElement)(child, {
13503
+ (0, import_react91.isValidElement)(child) && (0, import_react91.cloneElement)(child, {
13499
13504
  collapsibleProps: { isCollapsibleChild: true }
13500
13505
  })
13501
13506
  ] }, `DL-${index}`);
@@ -13591,11 +13596,11 @@ var CollapsibleTable2 = CollapsibleTable;
13591
13596
  CollapsibleTable2.Row = CollapsibleRow;
13592
13597
 
13593
13598
  // src/components/Tabs/AddTabButton.tsx
13594
- var import_react93 = require("react");
13599
+ var import_react94 = require("react");
13595
13600
 
13596
13601
  // src/components/Tabs/Tabs.context.tsx
13597
- var import_react91 = require("react");
13598
- var TabsContext = (0, import_react91.createContext)({
13602
+ var import_react92 = require("react");
13603
+ var TabsContext = (0, import_react92.createContext)({
13599
13604
  activeTab: 0,
13600
13605
  tabsId: "",
13601
13606
  size: "small",
@@ -13607,7 +13612,7 @@ var TabsContext = (0, import_react91.createContext)({
13607
13612
  tabContentDirection: "row",
13608
13613
  addTabButtonProps: void 0
13609
13614
  });
13610
- var useTabsContext = () => (0, import_react91.useContext)(TabsContext);
13615
+ var useTabsContext = () => (0, import_react92.useContext)(TabsContext);
13611
13616
 
13612
13617
  // src/components/Tabs/Tabs.module.css
13613
13618
  var Tabs_default = {
@@ -13625,9 +13630,9 @@ var Tabs_default = {
13625
13630
  };
13626
13631
 
13627
13632
  // src/components/Tabs/TabWidthContext.tsx
13628
- var import_react92 = require("react");
13633
+ var import_react93 = require("react");
13629
13634
  var import_jsx_runtime315 = require("react/jsx-runtime");
13630
- var TabContext = (0, import_react92.createContext)(null);
13635
+ var TabContext = (0, import_react93.createContext)(null);
13631
13636
  function TabWidthContextProvider({
13632
13637
  children,
13633
13638
  onChangeWidths
@@ -13656,8 +13661,8 @@ function TabWidthContextProvider({
13656
13661
  );
13657
13662
  }
13658
13663
  function useSetTabWidth(index, width) {
13659
- const context = (0, import_react92.useContext)(TabContext);
13660
- (0, import_react92.useLayoutEffect)(() => {
13664
+ const context = (0, import_react93.useContext)(TabContext);
13665
+ (0, import_react93.useLayoutEffect)(() => {
13661
13666
  context == null ? void 0 : context.updateWidth(index, width);
13662
13667
  return () => context == null ? void 0 : context.removeTab(index);
13663
13668
  }, [index, width]);
@@ -13674,7 +13679,7 @@ var AddTabButton = ({
13674
13679
  ...rest
13675
13680
  }) => {
13676
13681
  useSetTabWidth(index, width);
13677
- const buttonRef = (0, import_react93.useRef)(null);
13682
+ const buttonRef = (0, import_react94.useRef)(null);
13678
13683
  const combinedRef = useCombinedRef(ref, buttonRef);
13679
13684
  const { tabContentDirection, size: size2 } = useTabsContext();
13680
13685
  return /* @__PURE__ */ (0, import_jsx_runtime316.jsxs)(
@@ -13699,7 +13704,7 @@ var AddTabButton = ({
13699
13704
  AddTabButton.displayName = "AddTabButton";
13700
13705
 
13701
13706
  // src/components/Tabs/Tabs.tsx
13702
- var import_react94 = require("react");
13707
+ var import_react95 = require("react");
13703
13708
  var import_jsx_runtime317 = require("react/jsx-runtime");
13704
13709
  var TABS_SIZES = createSizes("small", "medium");
13705
13710
  var Tabs = ({
@@ -13715,17 +13720,17 @@ var Tabs = ({
13715
13720
  htmlProps,
13716
13721
  ...rest
13717
13722
  }) => {
13718
- const generatedId = (0, import_react94.useId)();
13723
+ const generatedId = (0, import_react95.useId)();
13719
13724
  const uniqueId = id != null ? id : `${generatedId}-tabs`;
13720
- const [thisActiveTab, setActiveTab] = (0, import_react94.useState)(activeTab != null ? activeTab : 0);
13721
- const [hasTabFocus, setHasTabFocus] = (0, import_react94.useState)(false);
13722
- const tabListRef = (0, import_react94.useRef)(null);
13723
- const tabPanelsRef = (0, import_react94.useRef)(null);
13725
+ const [thisActiveTab, setActiveTab] = (0, import_react95.useState)(activeTab != null ? activeTab : 0);
13726
+ const [hasTabFocus, setHasTabFocus] = (0, import_react95.useState)(false);
13727
+ const tabListRef = (0, import_react95.useRef)(null);
13728
+ const tabPanelsRef = (0, import_react95.useRef)(null);
13724
13729
  const handleTabChange = (index) => {
13725
13730
  setActiveTab(index);
13726
13731
  onChange == null ? void 0 : onChange(index);
13727
13732
  };
13728
- (0, import_react94.useEffect)(() => {
13733
+ (0, import_react95.useEffect)(() => {
13729
13734
  if (activeTab !== void 0 && activeTab !== thisActiveTab) {
13730
13735
  setActiveTab(activeTab);
13731
13736
  }
@@ -13759,7 +13764,7 @@ var Tabs = ({
13759
13764
  Tabs.displayName = "Tabs";
13760
13765
 
13761
13766
  // src/components/Tabs/Tab.tsx
13762
- var import_react95 = require("react");
13767
+ var import_react96 = require("react");
13763
13768
  var import_jsx_runtime318 = require("react/jsx-runtime");
13764
13769
  var Tab = ({
13765
13770
  active = false,
@@ -13778,18 +13783,18 @@ var Tab = ({
13778
13783
  ...rest
13779
13784
  }) => {
13780
13785
  useSetTabWidth(index, width);
13781
- const itemRef = (0, import_react95.useRef)(null);
13786
+ const itemRef = (0, import_react96.useRef)(null);
13782
13787
  const combinedRef = useCombinedRef(ref, itemRef);
13783
13788
  const { tabContentDirection, size: size2 } = useTabsContext();
13784
13789
  const { type = "button", ...restHtmlProps } = htmlProps;
13785
13790
  const fixedHtmlProps = { type, ...restHtmlProps };
13786
- (0, import_react95.useEffect)(() => {
13791
+ (0, import_react96.useEffect)(() => {
13787
13792
  var _a;
13788
13793
  if (focus) {
13789
13794
  (_a = itemRef.current) == null ? void 0 : _a.focus();
13790
13795
  }
13791
13796
  }, [focus]);
13792
- const handleSelect = (0, import_react95.useCallback)(() => {
13797
+ const handleSelect = (0, import_react96.useCallback)(() => {
13793
13798
  if (setFocus && index) {
13794
13799
  setFocus(index);
13795
13800
  }
@@ -13835,7 +13840,7 @@ var Tab = ({
13835
13840
  Tab.displayName = "Tab";
13836
13841
 
13837
13842
  // src/components/Tabs/TabList.tsx
13838
- var import_react96 = require("react");
13843
+ var import_react97 = require("react");
13839
13844
  var import_jsx_runtime319 = require("react/jsx-runtime");
13840
13845
  var TabList = ({
13841
13846
  children,
@@ -13855,15 +13860,15 @@ var TabList = ({
13855
13860
  addTabButtonProps
13856
13861
  } = useTabsContext();
13857
13862
  const uniqueId = id != null ? id : `${tabsId}-tablist`;
13858
- const childrenArray = import_react96.Children.toArray(children).length;
13863
+ const childrenArray = import_react97.Children.toArray(children).length;
13859
13864
  const [focus, setFocus] = useRoveFocus(childrenArray, hasTabFocus, "row");
13860
13865
  const combinedRef = useCombinedRef(ref, tabListRef);
13861
13866
  const hasButton = addTabButtonProps ? true : false;
13862
- const tabListChildren = import_react96.Children ? import_react96.Children.map(children, (child, index) => {
13867
+ const tabListChildren = import_react97.Children ? import_react97.Children.map(children, (child, index) => {
13863
13868
  const handleThisTabChange = () => {
13864
13869
  handleTabChange(index);
13865
13870
  };
13866
- return (0, import_react96.isValidElement)(child) && (0, import_react96.cloneElement)(child, {
13871
+ return (0, import_react97.isValidElement)(child) && (0, import_react97.cloneElement)(child, {
13867
13872
  id: `${tabsId}-tab-${index}`,
13868
13873
  htmlProps: {
13869
13874
  ...child.props.htmlProps,
@@ -13876,7 +13881,7 @@ var TabList = ({
13876
13881
  onClick: combineHandlers(handleThisTabChange, child.props.onClick)
13877
13882
  });
13878
13883
  }) : [];
13879
- const [widths, setWidths] = (0, import_react96.useState)([]);
13884
+ const [widths, setWidths] = (0, import_react97.useState)([]);
13880
13885
  const handleOnFocus = (event) => {
13881
13886
  setHasTabFocus(true);
13882
13887
  onFocus == null ? void 0 : onFocus(event);
@@ -13951,14 +13956,14 @@ var TabPanel = ({
13951
13956
  TabPanel.displayName = "TabPanel";
13952
13957
 
13953
13958
  // src/components/Tabs/TabPanels.tsx
13954
- var import_react97 = require("react");
13959
+ var import_react98 = require("react");
13955
13960
  var import_jsx_runtime321 = require("react/jsx-runtime");
13956
13961
  var TabPanels = ({ children, ref, ...rest }) => {
13957
13962
  const { activeTab, tabsId, tabPanelsRef } = useTabsContext();
13958
13963
  const combinedRef = useCombinedRef(ref, tabPanelsRef);
13959
- const panelChildren = import_react97.Children.map(children, (child, index) => {
13964
+ const panelChildren = import_react98.Children.map(children, (child, index) => {
13960
13965
  const active = index === activeTab;
13961
- return (0, import_react97.isValidElement)(child) && (0, import_react97.cloneElement)(child, {
13966
+ return (0, import_react98.isValidElement)(child) && (0, import_react98.cloneElement)(child, {
13962
13967
  id: `${tabsId}-panel-${index}`,
13963
13968
  active,
13964
13969
  htmlProps: {
@@ -14033,7 +14038,7 @@ var Tag = ({
14033
14038
  Tag.displayName = "Tag";
14034
14039
 
14035
14040
  // src/components/TextInput/TextInput.tsx
14036
- var import_react98 = require("react");
14041
+ var import_react99 = require("react");
14037
14042
 
14038
14043
  // src/components/TextInput/TextInput.module.css
14039
14044
  var TextInput_default = {
@@ -14079,12 +14084,12 @@ var TextInput = ({
14079
14084
  ref,
14080
14085
  ...rest
14081
14086
  }) => {
14082
- const [text, setText] = (0, import_react98.useState)(getDefaultText(value, defaultValue));
14083
- const prefixRef = (0, import_react98.useRef)(null);
14084
- const suffixRef = (0, import_react98.useRef)(null);
14085
- const [prefixLength, setPrefixLength] = (0, import_react98.useState)(0);
14086
- const [suffixLength, setSuffixLength] = (0, import_react98.useState)(0);
14087
- (0, import_react98.useLayoutEffect)(() => {
14087
+ const [text, setText] = (0, import_react99.useState)(getDefaultText(value, defaultValue));
14088
+ const prefixRef = (0, import_react99.useRef)(null);
14089
+ const suffixRef = (0, import_react99.useRef)(null);
14090
+ const [prefixLength, setPrefixLength] = (0, import_react99.useState)(0);
14091
+ const [suffixLength, setSuffixLength] = (0, import_react99.useState)(0);
14092
+ (0, import_react99.useLayoutEffect)(() => {
14088
14093
  requestAnimationFrame(() => {
14089
14094
  if (prefixRef.current) {
14090
14095
  setPrefixLength(prefixRef.current.offsetWidth);
@@ -14100,7 +14105,7 @@ var TextInput = ({
14100
14105
  onChange(event);
14101
14106
  }
14102
14107
  };
14103
- const generatedId = (0, import_react98.useId)();
14108
+ const generatedId = (0, import_react99.useId)();
14104
14109
  const uniqueId = id != null ? id : `${generatedId}-textInput`;
14105
14110
  const hasErrorMessage = !!errorMessage;
14106
14111
  const hasTip = !!tip;
@@ -14265,7 +14270,7 @@ var TextInput = ({
14265
14270
  TextInput.displayName = "TextInput";
14266
14271
 
14267
14272
  // src/components/Toggle/Toggle.tsx
14268
- var import_react99 = require("react");
14273
+ var import_react100 = require("react");
14269
14274
 
14270
14275
  // src/components/Toggle/Toggle.module.css
14271
14276
  var Toggle_default = {
@@ -14300,7 +14305,7 @@ var Toggle = ({
14300
14305
  ...rest
14301
14306
  }) => {
14302
14307
  const { t } = useTranslation();
14303
- const generatedId = (0, import_react99.useId)();
14308
+ const generatedId = (0, import_react100.useId)();
14304
14309
  const uniqueId = id != null ? id : `${generatedId}-toggle`;
14305
14310
  const iconSize = size2 === "large" ? "medium" : "small";
14306
14311
  const [checked, setChecked] = useControllableState({
@@ -14370,14 +14375,14 @@ var Toggle = ({
14370
14375
  Toggle.displayName = "Toggle";
14371
14376
 
14372
14377
  // src/components/ToggleBar/ToggleBar.tsx
14373
- var import_react101 = require("react");
14378
+ var import_react102 = require("react");
14374
14379
 
14375
14380
  // src/components/ToggleBar/ToggleBar.context.tsx
14376
- var import_react100 = require("react");
14377
- var ToggleBarContext = (0, import_react100.createContext)({
14381
+ var import_react101 = require("react");
14382
+ var ToggleBarContext = (0, import_react101.createContext)({
14378
14383
  size: "medium"
14379
14384
  });
14380
- var useToggleBarContext = () => (0, import_react100.useContext)(ToggleBarContext);
14385
+ var useToggleBarContext = () => (0, import_react101.useContext)(ToggleBarContext);
14381
14386
 
14382
14387
  // src/components/ToggleBar/ToggleBar.module.css
14383
14388
  var ToggleBar_default = {
@@ -14410,9 +14415,9 @@ var ToggleBar = (props) => {
14410
14415
  id,
14411
14416
  ...rest
14412
14417
  } = props;
14413
- const generatedId = (0, import_react101.useId)();
14418
+ const generatedId = (0, import_react102.useId)();
14414
14419
  const uniqueId = id != null ? id : `${generatedId}-ToggleBar`;
14415
- const [groupValue, setGroupValue] = (0, import_react101.useState)(value);
14420
+ const [groupValue, setGroupValue] = (0, import_react102.useState)(value);
14416
14421
  const handleChange = combineHandlers(
14417
14422
  (e) => setGroupValue(e.target.value),
14418
14423
  (e) => onChange && onChange(e, e.target.value)
@@ -14447,7 +14452,7 @@ var ToggleBar = (props) => {
14447
14452
  ToggleBar.displayName = "ToggleBar";
14448
14453
 
14449
14454
  // src/components/ToggleBar/ToggleRadio.tsx
14450
- var import_react102 = require("react");
14455
+ var import_react103 = require("react");
14451
14456
  var import_jsx_runtime326 = require("react/jsx-runtime");
14452
14457
  var typographyTypes3 = {
14453
14458
  large: "bodyLarge",
@@ -14479,7 +14484,7 @@ var ToggleRadio = ({
14479
14484
  id,
14480
14485
  ...rest
14481
14486
  }) => {
14482
- const generatedId = (0, import_react102.useId)();
14487
+ const generatedId = (0, import_react103.useId)();
14483
14488
  const uniqueId = id != null ? id : `${generatedId}-ToggleRadio`;
14484
14489
  const group = useToggleBarContext();
14485
14490
  const handleChange = (event) => {
@@ -14528,7 +14533,7 @@ var ToggleRadio = ({
14528
14533
  ToggleRadio.displayName = "ToggleRadio";
14529
14534
 
14530
14535
  // src/components/ToggleButton/ToggleButton.tsx
14531
- var import_react103 = require("react");
14536
+ var import_react104 = require("react");
14532
14537
 
14533
14538
  // src/components/ToggleButton/ToggleButton.module.css
14534
14539
  var ToggleButton_default = {
@@ -14549,7 +14554,7 @@ var ToggleButton = ({
14549
14554
  htmlProps,
14550
14555
  ...rest
14551
14556
  }) => {
14552
- const generatedId = (0, import_react103.useId)();
14557
+ const generatedId = (0, import_react104.useId)();
14553
14558
  const uniqueId = id != null ? id : `${generatedId}-toggleButton`;
14554
14559
  const hasIcon = !!icon;
14555
14560
  return /* @__PURE__ */ (0, import_jsx_runtime327.jsxs)(Box, { as: "label", htmlFor: uniqueId, width: "fit-content", children: [
@@ -14587,7 +14592,7 @@ var ToggleButton = ({
14587
14592
  ToggleButton.displayName = "ToggleButton";
14588
14593
 
14589
14594
  // src/components/ToggleButton/ToggleButtonGroup.tsx
14590
- var import_react104 = require("react");
14595
+ var import_react105 = require("react");
14591
14596
  var import_jsx_runtime328 = require("react/jsx-runtime");
14592
14597
  var ToggleButtonGroup = (props) => {
14593
14598
  const {
@@ -14600,7 +14605,7 @@ var ToggleButtonGroup = (props) => {
14600
14605
  htmlProps,
14601
14606
  ...rest
14602
14607
  } = props;
14603
- const generatedId = (0, import_react104.useId)();
14608
+ const generatedId = (0, import_react105.useId)();
14604
14609
  const uniqueLabelId = labelId != null ? labelId : `${generatedId}-ToggleButtonGroupLabel`;
14605
14610
  return /* @__PURE__ */ (0, import_jsx_runtime328.jsxs)(
14606
14611
  "div",