@norges-domstoler/dds-components 0.0.0-dev-20240819083641 → 0.0.0-dev-20240819090425

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.mjs CHANGED
@@ -4196,7 +4196,7 @@ var Breadcrumb = forwardRef14(
4196
4196
  Breadcrumb.displayName = "Breadcrumb";
4197
4197
 
4198
4198
  // src/components/Breadcrumbs/Breadcrumbs.tsx
4199
- import { Children, forwardRef as forwardRef25, isValidElement as isValidElement2 } from "react";
4199
+ import { Children, forwardRef as forwardRef24, isValidElement as isValidElement2 } from "react";
4200
4200
 
4201
4201
  // src/components/Breadcrumbs/Breadcrumbs.module.css
4202
4202
  var Breadcrumbs_default = {
@@ -4435,7 +4435,7 @@ Button.displayName = "Button";
4435
4435
 
4436
4436
  // src/components/OverflowMenu/OverflowMenu.tsx
4437
4437
  import { ddsTokens as ddsTokens12 } from "@norges-domstoler/dds-design-tokens";
4438
- import { forwardRef as forwardRef18, useEffect as useEffect11, useId as useId3 } from "react";
4438
+ import { forwardRef as forwardRef16, useEffect as useEffect10, useId as useId3 } from "react";
4439
4439
 
4440
4440
  // src/components/OverflowMenu/OverflowMenu.context.tsx
4441
4441
  import {
@@ -4492,117 +4492,9 @@ var OverflowMenu_default = {
4492
4492
  "group-header": "OverflowMenu_group-header"
4493
4493
  };
4494
4494
 
4495
- // src/components/OverflowMenu/OverflowMenuItem.tsx
4496
- import {
4497
- forwardRef as forwardRef16,
4498
- useEffect as useEffect10,
4499
- useRef as useRef5
4500
- } from "react";
4501
- import { Fragment as Fragment2, jsx as jsx182, jsxs as jsxs27 } from "react/jsx-runtime";
4502
- var isAnchorProps2 = (props) => props.href !== void 0;
4503
- var isButtonProps = (props) => props.href === void 0 && props.onClick !== void 0;
4504
- var OverflowMenuItem = forwardRef16((props, ref) => {
4505
- const { title, icon, focus, id, className, htmlProps = {}, ...rest } = props;
4506
- let href;
4507
- let onClick;
4508
- if (isAnchorProps2(props)) {
4509
- href = props.href;
4510
- } else if (isButtonProps(props)) {
4511
- onClick = props.onClick;
4512
- }
4513
- const itemRef = useRef5(null);
4514
- const combinedRef = useCombinedRef(ref, itemRef);
4515
- useEffect10(() => {
4516
- var _a;
4517
- if (focus) {
4518
- (_a = itemRef.current) == null ? void 0 : _a.focus();
4519
- }
4520
- }, [focus]);
4521
- const linkProps = {
4522
- href,
4523
- role: "menuitem",
4524
- tabIndex: focus ? 0 : -1
4525
- };
4526
- const iconElement = icon && /* @__PURE__ */ jsx182(Icon, { iconSize: "inherit", icon });
4527
- const wrapperCn = [
4528
- className,
4529
- OverflowMenu_default.list__item,
4530
- typographyStyles_default["body-sans-01"]
4531
- ];
4532
- const interactiveWrapperCn = [
4533
- ...wrapperCn,
4534
- OverflowMenu_default["list__item--link"],
4535
- focus_default["focusable--inset"],
4536
- utilStyles_default["normalize-button"]
4537
- ];
4538
- const content = /* @__PURE__ */ jsxs27(Fragment2, { children: [
4539
- iconElement,
4540
- title
4541
- ] });
4542
- if (!href && !onClick) {
4543
- return /* @__PURE__ */ jsx182(
4544
- "span",
4545
- {
4546
- ...{ ...getBaseHTMLProps(id, cn(...wrapperCn), htmlProps, rest), ref },
4547
- children: content
4548
- }
4549
- );
4550
- }
4551
- if (!href) {
4552
- return /* @__PURE__ */ jsx182(
4553
- "button",
4554
- {
4555
- ...getBaseHTMLProps(id, cn(...interactiveWrapperCn), htmlProps, rest),
4556
- ...linkProps,
4557
- ref: combinedRef,
4558
- children: content
4559
- }
4560
- );
4561
- }
4562
- return /* @__PURE__ */ jsx182(
4563
- "a",
4564
- {
4565
- ...getBaseHTMLProps(id, cn(...interactiveWrapperCn), htmlProps, rest),
4566
- ...linkProps,
4567
- ref: combinedRef,
4568
- children: content
4569
- }
4570
- );
4571
- });
4572
- OverflowMenuItem.displayName = "OverflowMenuItem";
4573
-
4574
- // src/components/Divider/Divider.tsx
4575
- import { forwardRef as forwardRef17 } from "react";
4576
-
4577
- // src/components/Divider/Divider.module.css
4578
- var Divider_default = {
4579
- divider: "Divider_divider",
4580
- "divider--default": "Divider_divider--default",
4581
- "divider--subtle": "Divider_divider--subtle",
4582
- "divider--on-inverse": "Divider_divider--on-inverse"
4583
- };
4584
-
4585
- // src/components/Divider/Divider.tsx
4586
- import { jsx as jsx183 } from "react/jsx-runtime";
4587
- var Divider = forwardRef17((props, ref) => {
4588
- const { color = "default", id, className, htmlProps, ...rest } = props;
4589
- const colorCn = color === "default" || color === "subtle" ? color : "on-inverse";
4590
- const lineProps = {
4591
- ...getBaseHTMLProps(
4592
- id,
4593
- cn(className, Divider_default.divider, Divider_default[`divider--${colorCn}`]),
4594
- htmlProps,
4595
- rest
4596
- ),
4597
- color
4598
- };
4599
- return /* @__PURE__ */ jsx183("hr", { ref, ...lineProps });
4600
- });
4601
- Divider.displayName = "Divider";
4602
-
4603
4495
  // src/components/OverflowMenu/OverflowMenu.tsx
4604
- import { Fragment as Fragment3, jsx as jsx184, jsxs as jsxs28 } from "react/jsx-runtime";
4605
- var OverflowMenu = forwardRef18(
4496
+ import { jsx as jsx182 } from "react/jsx-runtime";
4497
+ var OverflowMenu = forwardRef16(
4606
4498
  (props, ref) => {
4607
4499
  var _a, _b;
4608
4500
  const {
@@ -4611,9 +4503,6 @@ var OverflowMenu = forwardRef18(
4611
4503
  onToggle,
4612
4504
  isOpen = false,
4613
4505
  placement = "bottom-end",
4614
- items,
4615
- navItems,
4616
- userProps,
4617
4506
  id,
4618
4507
  offset = ddsTokens12.ddsSpacingX0125NumberPx,
4619
4508
  className,
@@ -4625,7 +4514,7 @@ var OverflowMenu = forwardRef18(
4625
4514
  offset
4626
4515
  });
4627
4516
  const combinedRef = useCombinedRef(ref, refs.setFloating);
4628
- useEffect11(() => {
4517
+ useEffect10(() => {
4629
4518
  anchorRef ? refs.setReference(anchorRef.current) : refs.setReference(null);
4630
4519
  }, [anchorRef]);
4631
4520
  useOnClickOutside(
@@ -4651,55 +4540,9 @@ var OverflowMenu = forwardRef18(
4651
4540
  onToggle && onToggle();
4652
4541
  }
4653
4542
  });
4654
- const interactiveItems = [];
4655
- const hasContextItems = !!items && items.length > 0;
4656
- const hasNavItems = !!navItems && navItems.length > 0;
4657
- const { name: username, ...userPropsRest } = userProps != null ? userProps : {};
4658
- const hasStaticUser = username && userProps && !userProps.href && !userProps.onClick;
4659
- const hasInteractiveUser = username && userProps && (!!userProps.href || !!userProps.onClick);
4660
- hasInteractiveUser && interactiveItems.push({ title: username, ...userPropsRest });
4661
- hasNavItems && interactiveItems.push(...navItems);
4662
- hasContextItems && interactiveItems.push(...items);
4663
- const hasInteractiveItems = interactiveItems.length > 0;
4664
- const [focus] = useRoveFocus(interactiveItems == null ? void 0 : interactiveItems.length, isOpen);
4665
- const interactiveItemsList = hasInteractiveItems ? interactiveItems.map((item, index) => /* @__PURE__ */ jsx184("li", { children: /* @__PURE__ */ jsx184(
4666
- OverflowMenuItem,
4667
- {
4668
- index,
4669
- focus: focus === index && isOpen,
4670
- icon: hasInteractiveUser && index === 0 ? PersonIcon : void 0,
4671
- ...item,
4672
- onClick: (e) => {
4673
- item.onClick && item.onClick(e);
4674
- onToggle && onToggle();
4675
- onClose && onClose();
4676
- }
4677
- }
4678
- ) }, index)) : null;
4679
- const interactiveContent = () => {
4680
- const ulCn = cn(OverflowMenu_default.list, utilStyles_default["remove-list-styling"]);
4681
- if (hasInteractiveItems) {
4682
- const userPropsPos = hasInteractiveUser ? 0 : -1;
4683
- const navItemsFirstPos = hasNavItems ? userPropsPos + 1 : -1;
4684
- const navItemsLastPos = hasNavItems ? userPropsPos + navItems.length : -1;
4685
- const contextItemsFirstPos = !hasContextItems ? -1 : hasNavItems ? navItemsLastPos + 1 : userPropsPos + 1;
4686
- return /* @__PURE__ */ jsxs28(Fragment3, { children: [
4687
- hasInteractiveUser && /* @__PURE__ */ jsx184("ul", { className: ulCn, children: interactiveItemsList == null ? void 0 : interactiveItemsList[0] }),
4688
- hasNavItems && /* @__PURE__ */ jsx184("nav", { children: /* @__PURE__ */ jsx184("ul", { className: ulCn, children: interactiveItemsList == null ? void 0 : interactiveItemsList.slice(
4689
- navItemsFirstPos,
4690
- navItemsLastPos + 1
4691
- ) }) }),
4692
- hasNavItems && hasContextItems && /* @__PURE__ */ jsx184(Divider, { color: "subtle", className: OverflowMenu_default.divider }),
4693
- hasContextItems && /* @__PURE__ */ jsx184("ul", { className: ulCn, "aria-label": "kontekstmeny", children: interactiveItemsList == null ? void 0 : interactiveItemsList.slice(
4694
- contextItemsFirstPos,
4695
- interactiveItemsList.length
4696
- ) })
4697
- ] });
4698
- }
4699
- };
4700
4543
  const { style = {}, ...restHTMLProps } = htmlProps;
4701
4544
  const generatedId = useId3();
4702
- return /* @__PURE__ */ jsx184(
4545
+ return /* @__PURE__ */ jsx182(
4703
4546
  Paper,
4704
4547
  {
4705
4548
  ref: combinedRef,
@@ -4720,10 +4563,7 @@ var OverflowMenu = forwardRef18(
4720
4563
  border: "default",
4721
4564
  elevation: 1,
4722
4565
  style: { ...style, ...floatingStyles.floating },
4723
- children: items || navItems || userProps ? /* @__PURE__ */ jsxs28(Fragment3, { children: [
4724
- hasStaticUser && /* @__PURE__ */ jsx184(OverflowMenuItem, { title: username, icon: PersonIcon }),
4725
- interactiveContent()
4726
- ] }) : /* @__PURE__ */ jsx184(
4566
+ children: /* @__PURE__ */ jsx182(
4727
4567
  OverflowMenuContextProvider,
4728
4568
  {
4729
4569
  isOpen,
@@ -4739,18 +4579,18 @@ var OverflowMenu = forwardRef18(
4739
4579
  OverflowMenu.displayName = "OverflowMenu";
4740
4580
 
4741
4581
  // src/components/OverflowMenu/components/OverflowMenuButton.tsx
4742
- import { forwardRef as forwardRef19, useEffect as useEffect12, useRef as useRef6 } from "react";
4743
- import { jsx as jsx185, jsxs as jsxs29 } from "react/jsx-runtime";
4744
- var OverflowMenuButton = forwardRef19((props, ref) => {
4582
+ import { forwardRef as forwardRef17, useEffect as useEffect11, useRef as useRef5 } from "react";
4583
+ import { jsx as jsx183, jsxs as jsxs27 } from "react/jsx-runtime";
4584
+ var OverflowMenuButton = forwardRef17((props, ref) => {
4745
4585
  const { id, icon, children, className, onClick, ...rest } = props;
4746
- const itemRef = useRef6(null);
4586
+ const itemRef = useRef5(null);
4747
4587
  const combinedRef = useCombinedRef(ref, itemRef);
4748
4588
  const { onToggle, onClose, registerItem, unregisterItem, focusedRef } = useOverflowMenu();
4749
- useEffect12(() => {
4589
+ useEffect11(() => {
4750
4590
  registerItem(itemRef);
4751
4591
  return () => unregisterItem(itemRef);
4752
4592
  }, []);
4753
- return /* @__PURE__ */ jsx185("li", { children: /* @__PURE__ */ jsxs29(
4593
+ return /* @__PURE__ */ jsx183("li", { children: /* @__PURE__ */ jsxs27(
4754
4594
  "button",
4755
4595
  {
4756
4596
  ref: combinedRef,
@@ -4771,7 +4611,7 @@ var OverflowMenuButton = forwardRef19((props, ref) => {
4771
4611
  ...rest,
4772
4612
  tabIndex: focusedRef === itemRef ? 0 : -1,
4773
4613
  children: [
4774
- icon && /* @__PURE__ */ jsx185(Icon, { iconSize: "inherit", icon }),
4614
+ icon && /* @__PURE__ */ jsx183(Icon, { iconSize: "inherit", icon }),
4775
4615
  children
4776
4616
  ]
4777
4617
  }
@@ -4780,18 +4620,18 @@ var OverflowMenuButton = forwardRef19((props, ref) => {
4780
4620
  OverflowMenuButton.displayName = "OverflowMenuButton";
4781
4621
 
4782
4622
  // src/components/OverflowMenu/components/OverflowMenuLink.tsx
4783
- import { forwardRef as forwardRef20, useEffect as useEffect13, useRef as useRef7 } from "react";
4784
- import { jsx as jsx186, jsxs as jsxs30 } from "react/jsx-runtime";
4785
- var OverflowMenuLink = forwardRef20((props, ref) => {
4623
+ import { forwardRef as forwardRef18, useEffect as useEffect12, useRef as useRef6 } from "react";
4624
+ import { jsx as jsx184, jsxs as jsxs28 } from "react/jsx-runtime";
4625
+ var OverflowMenuLink = forwardRef18((props, ref) => {
4786
4626
  const { id, href, icon, className, onClick, children, ...rest } = props;
4787
- const itemRef = useRef7(null);
4627
+ const itemRef = useRef6(null);
4788
4628
  const combinedRef = useCombinedRef(ref, itemRef);
4789
4629
  const { onToggle, onClose, registerItem, unregisterItem, focusedRef } = useOverflowMenu();
4790
- useEffect13(() => {
4630
+ useEffect12(() => {
4791
4631
  registerItem(itemRef);
4792
4632
  return () => unregisterItem(itemRef);
4793
4633
  }, []);
4794
- return /* @__PURE__ */ jsx186("li", { children: /* @__PURE__ */ jsxs30(
4634
+ return /* @__PURE__ */ jsx184("li", { children: /* @__PURE__ */ jsxs28(
4795
4635
  "a",
4796
4636
  {
4797
4637
  ref: combinedRef,
@@ -4813,7 +4653,7 @@ var OverflowMenuLink = forwardRef20((props, ref) => {
4813
4653
  ...rest,
4814
4654
  tabIndex: focusedRef === itemRef ? 0 : -1,
4815
4655
  children: [
4816
- icon && /* @__PURE__ */ jsx186(Icon, { iconSize: "inherit", icon }),
4656
+ icon && /* @__PURE__ */ jsx184(Icon, { iconSize: "inherit", icon }),
4817
4657
  children
4818
4658
  ]
4819
4659
  }
@@ -4822,11 +4662,42 @@ var OverflowMenuLink = forwardRef20((props, ref) => {
4822
4662
  OverflowMenuLink.displayName = "OverflowMenuLink";
4823
4663
 
4824
4664
  // src/components/OverflowMenu/components/OverflowMenuDivider.tsx
4825
- import { forwardRef as forwardRef21 } from "react";
4826
- import { jsx as jsx187 } from "react/jsx-runtime";
4827
- var OverflowMenuDivider = forwardRef21((props, ref) => {
4665
+ import { forwardRef as forwardRef20 } from "react";
4666
+
4667
+ // src/components/Divider/Divider.tsx
4668
+ import { forwardRef as forwardRef19 } from "react";
4669
+
4670
+ // src/components/Divider/Divider.module.css
4671
+ var Divider_default = {
4672
+ divider: "Divider_divider",
4673
+ "divider--default": "Divider_divider--default",
4674
+ "divider--subtle": "Divider_divider--subtle",
4675
+ "divider--on-inverse": "Divider_divider--on-inverse"
4676
+ };
4677
+
4678
+ // src/components/Divider/Divider.tsx
4679
+ import { jsx as jsx185 } from "react/jsx-runtime";
4680
+ var Divider = forwardRef19((props, ref) => {
4681
+ const { color = "default", id, className, htmlProps, ...rest } = props;
4682
+ const colorCn = color === "default" || color === "subtle" ? color : "on-inverse";
4683
+ const lineProps = {
4684
+ ...getBaseHTMLProps(
4685
+ id,
4686
+ cn(className, Divider_default.divider, Divider_default[`divider--${colorCn}`]),
4687
+ htmlProps,
4688
+ rest
4689
+ ),
4690
+ color
4691
+ };
4692
+ return /* @__PURE__ */ jsx185("hr", { ref, ...lineProps });
4693
+ });
4694
+ Divider.displayName = "Divider";
4695
+
4696
+ // src/components/OverflowMenu/components/OverflowMenuDivider.tsx
4697
+ import { jsx as jsx186 } from "react/jsx-runtime";
4698
+ var OverflowMenuDivider = forwardRef20((props, ref) => {
4828
4699
  const { className, ...rest } = props;
4829
- return /* @__PURE__ */ jsx187(
4700
+ return /* @__PURE__ */ jsx186(
4830
4701
  Divider,
4831
4702
  {
4832
4703
  ref,
@@ -4839,10 +4710,10 @@ var OverflowMenuDivider = forwardRef21((props, ref) => {
4839
4710
  OverflowMenuDivider.displayName = "OverflowMenuDivider";
4840
4711
 
4841
4712
  // src/components/OverflowMenu/components/OverflowMenuList.tsx
4842
- import { forwardRef as forwardRef22 } from "react";
4843
- import { jsx as jsx188 } from "react/jsx-runtime";
4844
- var OverflowMenuList = forwardRef22((props, ref) => {
4845
- return /* @__PURE__ */ jsx188(
4713
+ import { forwardRef as forwardRef21 } from "react";
4714
+ import { jsx as jsx187 } from "react/jsx-runtime";
4715
+ var OverflowMenuList = forwardRef21((props, ref) => {
4716
+ return /* @__PURE__ */ jsx187(
4846
4717
  "ul",
4847
4718
  {
4848
4719
  ref,
@@ -4853,22 +4724,22 @@ var OverflowMenuList = forwardRef22((props, ref) => {
4853
4724
  });
4854
4725
 
4855
4726
  // src/components/OverflowMenu/components/OverflowMenuSpan.tsx
4856
- import { forwardRef as forwardRef23 } from "react";
4857
- import { jsx as jsx189, jsxs as jsxs31 } from "react/jsx-runtime";
4858
- var OverflowMenuSpan = forwardRef23((props, ref) => {
4859
- const { id, icon, children, className, htmlProps, ...rest } = props;
4860
- return /* @__PURE__ */ jsx189("li", { children: /* @__PURE__ */ jsxs31(
4727
+ import { forwardRef as forwardRef22 } from "react";
4728
+ import { jsx as jsx188, jsxs as jsxs29 } from "react/jsx-runtime";
4729
+ var OverflowMenuSpan = forwardRef22((props, ref) => {
4730
+ const { icon, children, className, ...rest } = props;
4731
+ return /* @__PURE__ */ jsx188("li", { children: /* @__PURE__ */ jsxs29(
4861
4732
  "span",
4862
4733
  {
4863
4734
  ref,
4864
- ...getBaseHTMLProps(
4865
- id,
4866
- cn(className, OverflowMenu_default.list__item, typographyStyles_default["body-sans-01"]),
4867
- htmlProps,
4868
- rest
4735
+ className: cn(
4736
+ className,
4737
+ OverflowMenu_default.list__item,
4738
+ typographyStyles_default["body-sans-01"]
4869
4739
  ),
4740
+ ...rest,
4870
4741
  children: [
4871
- icon && /* @__PURE__ */ jsx189(Icon, { iconSize: "inherit", icon }),
4742
+ icon && /* @__PURE__ */ jsx188(Icon, { iconSize: "inherit", icon }),
4872
4743
  children
4873
4744
  ]
4874
4745
  }
@@ -4877,10 +4748,10 @@ var OverflowMenuSpan = forwardRef23((props, ref) => {
4877
4748
  OverflowMenuSpan.displayName = "OverflowMenuSpan";
4878
4749
 
4879
4750
  // src/components/OverflowMenu/components/OverflowMenuListHeader.tsx
4880
- import { forwardRef as forwardRef24 } from "react";
4881
- import { jsx as jsx190 } from "react/jsx-runtime";
4882
- var OverflowMenuListHeader = forwardRef24((props, ref) => {
4883
- return /* @__PURE__ */ jsx190(
4751
+ import { forwardRef as forwardRef23 } from "react";
4752
+ import { jsx as jsx189 } from "react/jsx-runtime";
4753
+ var OverflowMenuListHeader = forwardRef23((props, ref) => {
4754
+ return /* @__PURE__ */ jsx189(
4884
4755
  "h2",
4885
4756
  {
4886
4757
  ref,
@@ -4901,10 +4772,10 @@ import {
4901
4772
  cloneElement,
4902
4773
  isValidElement,
4903
4774
  useId as useId4,
4904
- useRef as useRef8,
4775
+ useRef as useRef7,
4905
4776
  useState as useState5
4906
4777
  } from "react";
4907
- import { Fragment as Fragment4, jsx as jsx191 } from "react/jsx-runtime";
4778
+ import { Fragment as Fragment2, jsx as jsx190 } from "react/jsx-runtime";
4908
4779
  var OverflowMenuGroup = ({
4909
4780
  children,
4910
4781
  onClose,
@@ -4915,7 +4786,7 @@ var OverflowMenuGroup = ({
4915
4786
  const [isOpen, setIsOpen] = useState5(false);
4916
4787
  const toggle = () => setIsOpen(!isOpen);
4917
4788
  const close = () => setIsOpen(false);
4918
- const buttonRef = useRef8(null);
4789
+ const buttonRef = useRef7(null);
4919
4790
  const generatedId = useId4();
4920
4791
  const uniqueOverflowMenuId = overflowMenuId != null ? overflowMenuId : `${generatedId}-overflowMenu`;
4921
4792
  const handleClose = () => {
@@ -4943,13 +4814,13 @@ var OverflowMenuGroup = ({
4943
4814
  anchorRef: buttonRef
4944
4815
  }));
4945
4816
  });
4946
- return /* @__PURE__ */ jsx191(Fragment4, { children: Children8 });
4817
+ return /* @__PURE__ */ jsx190(Fragment2, { children: Children8 });
4947
4818
  };
4948
4819
  OverflowMenuGroup.displayName = "OverflowMenuGroup";
4949
4820
 
4950
4821
  // src/components/Breadcrumbs/Breadcrumbs.tsx
4951
- import { Fragment as Fragment5, jsx as jsx192, jsxs as jsxs32 } from "react/jsx-runtime";
4952
- var Breadcrumbs = forwardRef25(
4822
+ import { Fragment as Fragment3, jsx as jsx191, jsxs as jsxs30 } from "react/jsx-runtime";
4823
+ var Breadcrumbs = forwardRef24(
4953
4824
  (props, ref) => {
4954
4825
  const {
4955
4826
  children,
@@ -4959,7 +4830,7 @@ var Breadcrumbs = forwardRef25(
4959
4830
  htmlProps,
4960
4831
  ...rest
4961
4832
  } = props;
4962
- const chevronIcon = /* @__PURE__ */ jsx192(
4833
+ const chevronIcon = /* @__PURE__ */ jsx191(
4963
4834
  Icon,
4964
4835
  {
4965
4836
  className: cn(Breadcrumbs_default.icon),
@@ -4969,7 +4840,7 @@ var Breadcrumbs = forwardRef25(
4969
4840
  );
4970
4841
  const childrenArray = Children.toArray(children);
4971
4842
  const breadcrumbChildren = childrenArray.map((item, index) => {
4972
- return /* @__PURE__ */ jsxs32(
4843
+ return /* @__PURE__ */ jsxs30(
4973
4844
  "li",
4974
4845
  {
4975
4846
  className: cn(Breadcrumbs_default["list-item"], Breadcrumbs_default[`list-item--large-screen`]),
@@ -4983,15 +4854,15 @@ var Breadcrumbs = forwardRef25(
4983
4854
  });
4984
4855
  const breadcrumbChildrenTruncated = childrenArray.length > 2 ? childrenArray.slice(1, childrenArray.length - 1).map((item) => {
4985
4856
  if (isValidElement2(item)) {
4986
- return /* @__PURE__ */ jsx192(OverflowMenuLink, { href: item.props.href, children: item.props.children });
4857
+ return /* @__PURE__ */ jsx191(OverflowMenuLink, { href: item.props.href, children: item.props.children });
4987
4858
  }
4988
4859
  }) : [];
4989
- const breadcrumbChildrenSmallScreen = /* @__PURE__ */ jsxs32(Fragment5, { children: [
4990
- /* @__PURE__ */ jsx192("li", { className: Breadcrumbs_default["list-item"], children: childrenArray[0] }),
4991
- breadcrumbChildrenTruncated.length > 0 && /* @__PURE__ */ jsxs32("li", { className: Breadcrumbs_default["list-item"], children: [
4860
+ const breadcrumbChildrenSmallScreen = /* @__PURE__ */ jsxs30(Fragment3, { children: [
4861
+ /* @__PURE__ */ jsx191("li", { className: Breadcrumbs_default["list-item"], children: childrenArray[0] }),
4862
+ breadcrumbChildrenTruncated.length > 0 && /* @__PURE__ */ jsxs30("li", { className: Breadcrumbs_default["list-item"], children: [
4992
4863
  chevronIcon,
4993
- /* @__PURE__ */ jsxs32(OverflowMenuGroup, { children: [
4994
- /* @__PURE__ */ jsx192(
4864
+ /* @__PURE__ */ jsxs30(OverflowMenuGroup, { children: [
4865
+ /* @__PURE__ */ jsx191(
4995
4866
  Button,
4996
4867
  {
4997
4868
  size: "tiny",
@@ -5000,23 +4871,23 @@ var Breadcrumbs = forwardRef25(
5000
4871
  "aria-label": `Vis br\xF8dsmulesti br\xF8dsmule 2 ${breadcrumbChildrenTruncated.length > 1 && `til ${breadcrumbChildren.length - 1}`}`
5001
4872
  }
5002
4873
  ),
5003
- /* @__PURE__ */ jsx192(OverflowMenu, { children: /* @__PURE__ */ jsx192(OverflowMenuList, { children: breadcrumbChildrenTruncated }) })
4874
+ /* @__PURE__ */ jsx191(OverflowMenu, { children: /* @__PURE__ */ jsx191(OverflowMenuList, { children: breadcrumbChildrenTruncated }) })
5004
4875
  ] })
5005
4876
  ] }),
5006
- /* @__PURE__ */ jsxs32("li", { className: Breadcrumbs_default["list-item"], children: [
4877
+ /* @__PURE__ */ jsxs30("li", { className: Breadcrumbs_default["list-item"], children: [
5007
4878
  chevronIcon,
5008
4879
  childrenArray[childrenArray.length - 1]
5009
4880
  ] })
5010
4881
  ] });
5011
4882
  const hasSmallScreenBreakpoint = !!smallScreenBreakpoint;
5012
- return /* @__PURE__ */ jsxs32(
4883
+ return /* @__PURE__ */ jsxs30(
5013
4884
  "nav",
5014
4885
  {
5015
4886
  ...getBaseHTMLProps(id, className, htmlProps, rest),
5016
4887
  ref,
5017
4888
  "aria-label": "br\xF8dsmulesti",
5018
4889
  children: [
5019
- /* @__PURE__ */ jsx192(
4890
+ /* @__PURE__ */ jsx191(
5020
4891
  "ul",
5021
4892
  {
5022
4893
  className: cn(
@@ -5027,7 +4898,7 @@ var Breadcrumbs = forwardRef25(
5027
4898
  children: breadcrumbChildren
5028
4899
  }
5029
4900
  ),
5030
- hasSmallScreenBreakpoint && /* @__PURE__ */ jsx192(
4901
+ hasSmallScreenBreakpoint && /* @__PURE__ */ jsx191(
5031
4902
  "ul",
5032
4903
  {
5033
4904
  className: cn(
@@ -5050,7 +4921,7 @@ Breadcrumbs.displayName = "Breadcrumbs";
5050
4921
  import {
5051
4922
  Children as ReactChildren2,
5052
4923
  cloneElement as cloneElement2,
5053
- forwardRef as forwardRef26,
4924
+ forwardRef as forwardRef25,
5054
4925
  isValidElement as isValidElement3
5055
4926
  } from "react";
5056
4927
 
@@ -5062,8 +4933,8 @@ var ButtonGroup_default = {
5062
4933
  };
5063
4934
 
5064
4935
  // src/components/ButtonGroup/ButtonGroup.tsx
5065
- import { jsx as jsx193 } from "react/jsx-runtime";
5066
- var ButtonGroup = forwardRef26(
4936
+ import { jsx as jsx192 } from "react/jsx-runtime";
4937
+ var ButtonGroup = forwardRef25(
5067
4938
  (props, ref) => {
5068
4939
  const {
5069
4940
  children,
@@ -5081,7 +4952,7 @@ var ButtonGroup = forwardRef26(
5081
4952
  size: buttonSize
5082
4953
  });
5083
4954
  });
5084
- return /* @__PURE__ */ jsx193(
4955
+ return /* @__PURE__ */ jsx192(
5085
4956
  "div",
5086
4957
  {
5087
4958
  ref,
@@ -5109,7 +4980,7 @@ var Card_default = {
5109
4980
  };
5110
4981
 
5111
4982
  // src/components/Card/Card.tsx
5112
- import { jsx as jsx194 } from "react/jsx-runtime";
4983
+ import { jsx as jsx193 } from "react/jsx-runtime";
5113
4984
  var Card = (props) => {
5114
4985
  const {
5115
4986
  appearance = "filled",
@@ -5129,7 +5000,7 @@ var Card = (props) => {
5129
5000
  );
5130
5001
  if (cardType === "navigation") {
5131
5002
  const { href, target } = props;
5132
- return /* @__PURE__ */ jsx194(
5003
+ return /* @__PURE__ */ jsx193(
5133
5004
  "a",
5134
5005
  {
5135
5006
  ...getBaseHTMLProps(
@@ -5144,22 +5015,22 @@ var Card = (props) => {
5144
5015
  }
5145
5016
  );
5146
5017
  }
5147
- return /* @__PURE__ */ jsx194("div", { ...getBaseHTMLProps(id, classNames, htmlProps, rest), ref: cardRef });
5018
+ return /* @__PURE__ */ jsx193("div", { ...getBaseHTMLProps(id, classNames, htmlProps, rest), ref: cardRef });
5148
5019
  };
5149
5020
  Card.displayName = "Card";
5150
5021
 
5151
5022
  // src/components/Card/CardAccordion/CardAccordion.tsx
5152
- import { forwardRef as forwardRef27, useCallback as useCallback4, useEffect as useEffect14, useId as useId5, useState as useState6 } from "react";
5023
+ import { forwardRef as forwardRef26, useCallback as useCallback4, useEffect as useEffect13, useId as useId5, useState as useState6 } from "react";
5153
5024
 
5154
5025
  // src/components/Card/CardAccordion/CardAccordionContext.tsx
5155
5026
  import { createContext as createContext2, useContext as useContext2 } from "react";
5156
- import { jsx as jsx195 } from "react/jsx-runtime";
5027
+ import { jsx as jsx194 } from "react/jsx-runtime";
5157
5028
  var CardAccordionContext = createContext2({});
5158
5029
  var CardAccordionContextProvider = ({
5159
5030
  children,
5160
5031
  ...values
5161
5032
  }) => {
5162
- return /* @__PURE__ */ jsx195(CardAccordionContext.Provider, { value: values, children });
5033
+ return /* @__PURE__ */ jsx194(CardAccordionContext.Provider, { value: values, children });
5163
5034
  };
5164
5035
  var useCardAccordionContext = () => {
5165
5036
  const context = useContext2(CardAccordionContext);
@@ -5172,8 +5043,8 @@ var useCardAccordionContext = () => {
5172
5043
  };
5173
5044
 
5174
5045
  // src/components/Card/CardAccordion/CardAccordion.tsx
5175
- import { jsx as jsx196 } from "react/jsx-runtime";
5176
- var CardAccordion = forwardRef27(
5046
+ import { jsx as jsx195 } from "react/jsx-runtime";
5047
+ var CardAccordion = forwardRef26(
5177
5048
  (props, ref) => {
5178
5049
  const {
5179
5050
  isExpanded = false,
@@ -5187,7 +5058,7 @@ var CardAccordion = forwardRef27(
5187
5058
  const [expanded, setExpanded] = useState6(isExpanded);
5188
5059
  const generatedId = useId5();
5189
5060
  const accordionId = id != null ? id : `${generatedId}-cardAccordion`;
5190
- useEffect14(() => {
5061
+ useEffect13(() => {
5191
5062
  setExpanded(isExpanded);
5192
5063
  }, [isExpanded]);
5193
5064
  const toggleExpanded = useCallback4(() => {
@@ -5199,7 +5070,7 @@ var CardAccordion = forwardRef27(
5199
5070
  return newExpanded;
5200
5071
  });
5201
5072
  }, [onChange]);
5202
- return /* @__PURE__ */ jsx196("div", { ...getBaseHTMLProps(id, className, htmlProps, rest), ref, children: /* @__PURE__ */ jsx196(
5073
+ return /* @__PURE__ */ jsx195("div", { ...getBaseHTMLProps(id, className, htmlProps, rest), ref, children: /* @__PURE__ */ jsx195(
5203
5074
  CardAccordionContextProvider,
5204
5075
  {
5205
5076
  headerId: `${accordionId}-header`,
@@ -5215,7 +5086,7 @@ CardAccordion.displayName = "CardAccordion";
5215
5086
 
5216
5087
  // src/components/Card/CardAccordion/CardAccordionHeader.tsx
5217
5088
  import { ddsTokens as ddsTokens13 } from "@norges-domstoler/dds-design-tokens";
5218
- import { forwardRef as forwardRef28 } from "react";
5089
+ import { forwardRef as forwardRef27 } from "react";
5219
5090
 
5220
5091
  // src/components/Card/CardAccordion/CardAccordion.module.css
5221
5092
  var CardAccordion_default = {
@@ -5230,8 +5101,8 @@ var CardAccordion_default = {
5230
5101
  };
5231
5102
 
5232
5103
  // src/components/Card/CardAccordion/CardAccordionHeader.tsx
5233
- import { jsx as jsx197, jsxs as jsxs33 } from "react/jsx-runtime";
5234
- var CardAccordionHeader = forwardRef28((props, ref) => {
5104
+ import { jsx as jsx196, jsxs as jsxs31 } from "react/jsx-runtime";
5105
+ var CardAccordionHeader = forwardRef27((props, ref) => {
5235
5106
  const {
5236
5107
  children,
5237
5108
  className,
@@ -5251,7 +5122,7 @@ var CardAccordionHeader = forwardRef28((props, ref) => {
5251
5122
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
5252
5123
  ["--dds-card-accordion-header-container-padding"]: padding != null ? padding : "var(--dds-spacing-x1) var(--dds-spacing-x0-75) var(--dds-spacing-x1) var(--dds-spacing-x1-5)"
5253
5124
  };
5254
- return /* @__PURE__ */ jsx197(
5125
+ return /* @__PURE__ */ jsx196(
5255
5126
  "button",
5256
5127
  {
5257
5128
  ...getBaseHTMLProps(
@@ -5271,7 +5142,7 @@ var CardAccordionHeader = forwardRef28((props, ref) => {
5271
5142
  "aria-controls": bodyId,
5272
5143
  "aria-expanded": isExpanded,
5273
5144
  type: "button",
5274
- children: /* @__PURE__ */ jsxs33(
5145
+ children: /* @__PURE__ */ jsxs31(
5275
5146
  "div",
5276
5147
  {
5277
5148
  style: containerStyleVariables,
@@ -5281,8 +5152,8 @@ var CardAccordionHeader = forwardRef28((props, ref) => {
5281
5152
  bold && typographyStyles_default.bold
5282
5153
  ),
5283
5154
  children: [
5284
- /* @__PURE__ */ jsx197("div", { className: CardAccordion_default.header__content, children }),
5285
- /* @__PURE__ */ jsx197("span", { className: CardAccordion_default.header__chevron, children: /* @__PURE__ */ jsx197(
5155
+ /* @__PURE__ */ jsx196("div", { className: CardAccordion_default.header__content, children }),
5156
+ /* @__PURE__ */ jsx196("span", { className: CardAccordion_default.header__chevron, children: /* @__PURE__ */ jsx196(
5286
5157
  AnimatedChevronUpDown,
5287
5158
  {
5288
5159
  width: ddsTokens13.ddsIconSizeMedium,
@@ -5300,18 +5171,18 @@ CardAccordionHeader.displayName = "CardAccordionHeader";
5300
5171
 
5301
5172
  // src/components/Card/CardAccordion/CardAccordionBody.tsx
5302
5173
  import {
5303
- forwardRef as forwardRef29,
5304
- useEffect as useEffect16,
5174
+ forwardRef as forwardRef28,
5175
+ useEffect as useEffect15,
5305
5176
  useLayoutEffect,
5306
- useRef as useRef9,
5177
+ useRef as useRef8,
5307
5178
  useState as useState8
5308
5179
  } from "react";
5309
5180
 
5310
5181
  // src/components/Card/CardAccordion/useElementHeight.ts
5311
- import { useEffect as useEffect15, useState as useState7 } from "react";
5182
+ import { useEffect as useEffect14, useState as useState7 } from "react";
5312
5183
  function useElementHeight(element) {
5313
5184
  const [height, setHeight] = useState7(null);
5314
- useEffect15(() => {
5185
+ useEffect14(() => {
5315
5186
  if (!element) return;
5316
5187
  const resizeObserver = new ResizeObserver(() => {
5317
5188
  setHeight(element.offsetHeight);
@@ -5323,12 +5194,12 @@ function useElementHeight(element) {
5323
5194
  }
5324
5195
 
5325
5196
  // src/components/Card/CardAccordion/CardAccordionBody.tsx
5326
- import { jsx as jsx198 } from "react/jsx-runtime";
5327
- var CardAccordionBody = forwardRef29((props, ref) => {
5197
+ import { jsx as jsx197 } from "react/jsx-runtime";
5198
+ var CardAccordionBody = forwardRef28((props, ref) => {
5328
5199
  var _a;
5329
5200
  const { children, className, htmlProps, padding, ...rest } = props;
5330
5201
  const { headerId, isExpanded, bodyId: id } = useCardAccordionContext();
5331
- const bodyRef = useRef9(null);
5202
+ const bodyRef = useRef8(null);
5332
5203
  const [animate, setAnimate] = useState8(false);
5333
5204
  const isMounted = useIsMounted();
5334
5205
  const height = useElementHeight(bodyRef.current);
@@ -5338,7 +5209,7 @@ var CardAccordionBody = forwardRef29((props, ref) => {
5338
5209
  setIntialExpandedHeight(bodyRef.current.scrollHeight);
5339
5210
  }
5340
5211
  }, []);
5341
- useEffect16(() => {
5212
+ useEffect15(() => {
5342
5213
  if (isMounted()) {
5343
5214
  setAnimate(true);
5344
5215
  }
@@ -5351,7 +5222,7 @@ var CardAccordionBody = forwardRef29((props, ref) => {
5351
5222
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
5352
5223
  ["--dds-card-accordion-body-content-padding"]: padding != null ? padding : "var(--dds-spacing-x1) calc(var(--dds-spacing-x2) + var(--dds-spacing-x0-75)) var(--dds-spacing-x2) var(--dds-spacing-x1-5)"
5353
5224
  };
5354
- return /* @__PURE__ */ jsx198(
5225
+ return /* @__PURE__ */ jsx197(
5355
5226
  "div",
5356
5227
  {
5357
5228
  ...getBaseHTMLProps(
@@ -5371,7 +5242,7 @@ var CardAccordionBody = forwardRef29((props, ref) => {
5371
5242
  "aria-labelledby": headerId,
5372
5243
  "aria-hidden": !isExpanded,
5373
5244
  style: { ...htmlProps == null ? void 0 : htmlProps.style, ...styleVariables },
5374
- children: /* @__PURE__ */ jsx198(
5245
+ children: /* @__PURE__ */ jsx197(
5375
5246
  "div",
5376
5247
  {
5377
5248
  ref: bodyRef,
@@ -5386,7 +5257,7 @@ var CardAccordionBody = forwardRef29((props, ref) => {
5386
5257
  CardAccordionBody.displayName = "CardAccordionBody";
5387
5258
 
5388
5259
  // src/components/Chip/Chip.tsx
5389
- import { forwardRef as forwardRef30, useState as useState9 } from "react";
5260
+ import { forwardRef as forwardRef29, useState as useState9 } from "react";
5390
5261
 
5391
5262
  // src/components/Chip/Chip.module.css
5392
5263
  var Chip_default = {
@@ -5395,8 +5266,8 @@ var Chip_default = {
5395
5266
  };
5396
5267
 
5397
5268
  // src/components/Chip/Chip.tsx
5398
- import { jsx as jsx199, jsxs as jsxs34 } from "react/jsx-runtime";
5399
- var Chip = forwardRef30((props, ref) => {
5269
+ import { jsx as jsx198, jsxs as jsxs32 } from "react/jsx-runtime";
5270
+ var Chip = forwardRef29((props, ref) => {
5400
5271
  const { text, onClose, id, className, htmlProps = {}, ...rest } = props;
5401
5272
  const { "aria-label": ariaLabel, ...restHTMLprops } = htmlProps;
5402
5273
  const [isOpen, setIsOpen] = useState9(true);
@@ -5404,7 +5275,7 @@ var Chip = forwardRef30((props, ref) => {
5404
5275
  setIsOpen(false);
5405
5276
  onClose && onClose();
5406
5277
  };
5407
- return isOpen ? /* @__PURE__ */ jsxs34(
5278
+ return isOpen ? /* @__PURE__ */ jsxs32(
5408
5279
  "div",
5409
5280
  {
5410
5281
  ...getBaseHTMLProps(
@@ -5415,14 +5286,14 @@ var Chip = forwardRef30((props, ref) => {
5415
5286
  ),
5416
5287
  ref,
5417
5288
  children: [
5418
- /* @__PURE__ */ jsx199(
5289
+ /* @__PURE__ */ jsx198(
5419
5290
  TextOverflowEllipsisInner,
5420
5291
  {
5421
5292
  className: cn(typographyStyles_default["body-sans-01"]),
5422
5293
  children: text
5423
5294
  }
5424
5295
  ),
5425
- /* @__PURE__ */ jsx199(
5296
+ /* @__PURE__ */ jsx198(
5426
5297
  Button,
5427
5298
  {
5428
5299
  size: "tiny",
@@ -5439,12 +5310,12 @@ var Chip = forwardRef30((props, ref) => {
5439
5310
  Chip.displayName = "Chip";
5440
5311
 
5441
5312
  // src/components/Chip/ChipGroup.tsx
5442
- import { Children as Children2, forwardRef as forwardRef31 } from "react";
5443
- import { jsx as jsx200 } from "react/jsx-runtime";
5444
- var ChipGroup = forwardRef31(
5313
+ import { Children as Children2, forwardRef as forwardRef30 } from "react";
5314
+ import { jsx as jsx199 } from "react/jsx-runtime";
5315
+ var ChipGroup = forwardRef30(
5445
5316
  ({ children, className, ...rest }, ref) => {
5446
5317
  const childrenArray = Children2.toArray(children);
5447
- return /* @__PURE__ */ jsx200(
5318
+ return /* @__PURE__ */ jsx199(
5448
5319
  "ul",
5449
5320
  {
5450
5321
  ...rest,
@@ -5454,7 +5325,7 @@ var ChipGroup = forwardRef31(
5454
5325
  utilStyles_default["remove-list-styling"]
5455
5326
  ),
5456
5327
  ref,
5457
- children: childrenArray.map((item, index) => /* @__PURE__ */ jsx200("li", { children: item }, `chip-${index}`))
5328
+ children: childrenArray.map((item, index) => /* @__PURE__ */ jsx199("li", { children: item }, `chip-${index}`))
5458
5329
  }
5459
5330
  );
5460
5331
  }
@@ -5484,7 +5355,7 @@ import { isToday } from "@internationalized/date";
5484
5355
  import {
5485
5356
  useCalendarCell
5486
5357
  } from "@react-aria/calendar";
5487
- import { useContext as useContext4, useRef as useRef11 } from "react";
5358
+ import { useContext as useContext4, useRef as useRef10 } from "react";
5488
5359
 
5489
5360
  // src/components/date-inputs/common/DateInput.module.css
5490
5361
  var DateInput_default = {
@@ -5522,10 +5393,10 @@ var DateInput_default = {
5522
5393
  import {
5523
5394
  createContext as createContext3,
5524
5395
  useContext as useContext3,
5525
- useEffect as useEffect17,
5526
- useRef as useRef10
5396
+ useEffect as useEffect16,
5397
+ useRef as useRef9
5527
5398
  } from "react";
5528
- import { jsx as jsx201 } from "react/jsx-runtime";
5399
+ import { jsx as jsx200 } from "react/jsx-runtime";
5529
5400
  var CalendarPopoverContext = createContext3({
5530
5401
  anchorRef: null,
5531
5402
  isOpen: false,
@@ -5536,32 +5407,32 @@ var CalendarPopover = ({
5536
5407
  isOpen,
5537
5408
  onClose
5538
5409
  }) => {
5539
- const anchorRef = useRef10(null);
5410
+ const anchorRef = useRef9(null);
5540
5411
  useOnKeyDown("Escape", onClose);
5541
- return /* @__PURE__ */ jsx201(CalendarPopoverContext.Provider, { value: { anchorRef, isOpen, onClose }, children });
5412
+ return /* @__PURE__ */ jsx200(CalendarPopoverContext.Provider, { value: { anchorRef, isOpen, onClose }, children });
5542
5413
  };
5543
5414
  var CalendarPopoverAnchor = ({
5544
5415
  children
5545
5416
  }) => {
5546
5417
  const { anchorRef } = useContext3(CalendarPopoverContext);
5547
- return /* @__PURE__ */ jsx201("div", { ref: anchorRef != null ? anchorRef : void 0, children });
5418
+ return /* @__PURE__ */ jsx200("div", { ref: anchorRef != null ? anchorRef : void 0, children });
5548
5419
  };
5549
5420
  var CalendarPopoverContent = ({
5550
5421
  children
5551
5422
  }) => {
5552
- const ref = useRef10(null);
5423
+ const ref = useRef9(null);
5553
5424
  const { refs, styles: floatingStyles } = useFloatPosition(null, {
5554
5425
  placement: "bottom-start"
5555
5426
  });
5556
5427
  const { isOpen, onClose, anchorRef } = useContext3(CalendarPopoverContext);
5557
5428
  const combinedRef = useCombinedRef(refs.setFloating, ref);
5558
5429
  useOnClickOutside(ref.current, onClose);
5559
- useEffect17(() => {
5430
+ useEffect16(() => {
5560
5431
  var _a;
5561
5432
  refs.setReference((_a = anchorRef == null ? void 0 : anchorRef.current) != null ? _a : null);
5562
5433
  }, []);
5563
5434
  if (!isOpen) return null;
5564
- return /* @__PURE__ */ jsx201(
5435
+ return /* @__PURE__ */ jsx200(
5565
5436
  "div",
5566
5437
  {
5567
5438
  ref: combinedRef,
@@ -5577,9 +5448,9 @@ var locale = "no-NO";
5577
5448
  var timezone = "Europe/Oslo";
5578
5449
 
5579
5450
  // src/components/date-inputs/DatePicker/Calendar/CalendarCell.tsx
5580
- import { jsx as jsx202 } from "react/jsx-runtime";
5451
+ import { jsx as jsx201 } from "react/jsx-runtime";
5581
5452
  function CalendarCell({ date, state }) {
5582
- const ref = useRef11(null);
5453
+ const ref = useRef10(null);
5583
5454
  const {
5584
5455
  buttonProps,
5585
5456
  cellProps,
@@ -5590,7 +5461,7 @@ function CalendarCell({ date, state }) {
5590
5461
  isUnavailable
5591
5462
  } = useCalendarCell({ date }, state, ref);
5592
5463
  if (isDisabled) {
5593
- return /* @__PURE__ */ jsx202("td", { ...cellProps });
5464
+ return /* @__PURE__ */ jsx201("td", { ...cellProps });
5594
5465
  }
5595
5466
  const { onClose } = useContext4(CalendarPopoverContext);
5596
5467
  const variant = isSelected ? "selected" : isUnavailable || isDisabled ? "unavailable" : "default";
@@ -5599,7 +5470,7 @@ function CalendarCell({ date, state }) {
5599
5470
  onClose();
5600
5471
  }
5601
5472
  };
5602
- return /* @__PURE__ */ jsx202("td", { ...cellProps, children: /* @__PURE__ */ jsx202(
5473
+ return /* @__PURE__ */ jsx201("td", { ...cellProps, children: /* @__PURE__ */ jsx201(
5603
5474
  "button",
5604
5475
  {
5605
5476
  ...buttonProps,
@@ -5660,7 +5531,7 @@ function isLeapYear(date) {
5660
5531
  }
5661
5532
 
5662
5533
  // src/components/date-inputs/DatePicker/Calendar/CalendarGrid.tsx
5663
- import { jsx as jsx203, jsxs as jsxs35 } from "react/jsx-runtime";
5534
+ import { jsx as jsx202, jsxs as jsxs33 } from "react/jsx-runtime";
5664
5535
  function CalendarGrid({ state, ...props }) {
5665
5536
  const { locale: locale2 } = useLocale();
5666
5537
  const {
@@ -5673,7 +5544,7 @@ function CalendarGrid({ state, ...props }) {
5673
5544
  typographyStyles_default["supporting-style-tiny-02"],
5674
5545
  typographyStyles_default["text-color--subtle"]
5675
5546
  ];
5676
- return /* @__PURE__ */ jsxs35(
5547
+ return /* @__PURE__ */ jsxs33(
5677
5548
  "table",
5678
5549
  {
5679
5550
  ...gridProps,
@@ -5685,16 +5556,16 @@ function CalendarGrid({ state, ...props }) {
5685
5556
  },
5686
5557
  cellPadding: "0",
5687
5558
  children: [
5688
- /* @__PURE__ */ jsx203("thead", { ...headerProps, children: /* @__PURE__ */ jsxs35("tr", { children: [
5689
- /* @__PURE__ */ jsx203("th", { className: cn(...typographyCn), children: "#" }),
5690
- weekDays.map((day, index) => /* @__PURE__ */ jsx203("th", { className: cn(...typographyCn), children: day }, index))
5559
+ /* @__PURE__ */ jsx202("thead", { ...headerProps, children: /* @__PURE__ */ jsxs33("tr", { children: [
5560
+ /* @__PURE__ */ jsx202("th", { className: cn(...typographyCn), children: "#" }),
5561
+ weekDays.map((day, index) => /* @__PURE__ */ jsx202("th", { className: cn(...typographyCn), children: day }, index))
5691
5562
  ] }) }),
5692
- /* @__PURE__ */ jsx203("tbody", { children: [...new Array(weeksInMonth).keys()].map((weekIndex) => {
5563
+ /* @__PURE__ */ jsx202("tbody", { children: [...new Array(weeksInMonth).keys()].map((weekIndex) => {
5693
5564
  const datesInWeek = state.getDatesInWeek(weekIndex);
5694
5565
  const firstExistingDay = datesInWeek.find(Boolean);
5695
5566
  const weekNumber = firstExistingDay ? getWeekNumber(firstExistingDay) : "";
5696
- return /* @__PURE__ */ jsxs35("tr", { children: [
5697
- /* @__PURE__ */ jsx203(
5567
+ return /* @__PURE__ */ jsxs33("tr", { children: [
5568
+ /* @__PURE__ */ jsx202(
5698
5569
  "td",
5699
5570
  {
5700
5571
  className: cn(DateInput_default["calendar__week-number"], ...typographyCn),
@@ -5702,7 +5573,7 @@ function CalendarGrid({ state, ...props }) {
5702
5573
  }
5703
5574
  ),
5704
5575
  datesInWeek.map(
5705
- (date, i2) => date ? /* @__PURE__ */ jsx203(CalendarCell, { state, date }, i2) : /* @__PURE__ */ jsx203("td", {}, i2)
5576
+ (date, i2) => date ? /* @__PURE__ */ jsx202(CalendarCell, { state, date }, i2) : /* @__PURE__ */ jsx202("td", {}, i2)
5706
5577
  )
5707
5578
  ] }, weekIndex);
5708
5579
  }) })
@@ -5713,7 +5584,7 @@ function CalendarGrid({ state, ...props }) {
5713
5584
  CalendarGrid.displayName = "CalendarGrid";
5714
5585
 
5715
5586
  // src/components/date-inputs/DatePicker/Calendar/Calendar.tsx
5716
- import { jsx as jsx204, jsxs as jsxs36 } from "react/jsx-runtime";
5587
+ import { jsx as jsx203, jsxs as jsxs34 } from "react/jsx-runtime";
5717
5588
  function createCalendar(identifier2) {
5718
5589
  switch (identifier2) {
5719
5590
  case "gregory":
@@ -5741,9 +5612,9 @@ function Calendar(props) {
5741
5612
  onClose();
5742
5613
  }
5743
5614
  };
5744
- return /* @__PURE__ */ jsxs36("div", { ...calendarProps, className: DateInput_default.calendar, children: [
5745
- /* @__PURE__ */ jsxs36("div", { className: DateInput_default.calendar__header, children: [
5746
- /* @__PURE__ */ jsx204(
5615
+ return /* @__PURE__ */ jsxs34("div", { ...calendarProps, className: DateInput_default.calendar, children: [
5616
+ /* @__PURE__ */ jsxs34("div", { className: DateInput_default.calendar__header, children: [
5617
+ /* @__PURE__ */ jsx203(
5747
5618
  Button,
5748
5619
  {
5749
5620
  type: "button",
@@ -5756,7 +5627,7 @@ function Calendar(props) {
5756
5627
  className: DateInput_default["calendar__month-button"]
5757
5628
  }
5758
5629
  ),
5759
- /* @__PURE__ */ jsx204(
5630
+ /* @__PURE__ */ jsx203(
5760
5631
  Heading,
5761
5632
  {
5762
5633
  level: 2,
@@ -5765,7 +5636,7 @@ function Calendar(props) {
5765
5636
  children: title
5766
5637
  }
5767
5638
  ),
5768
- /* @__PURE__ */ jsx204(
5639
+ /* @__PURE__ */ jsx203(
5769
5640
  Button,
5770
5641
  {
5771
5642
  type: "button",
@@ -5778,7 +5649,7 @@ function Calendar(props) {
5778
5649
  }
5779
5650
  )
5780
5651
  ] }),
5781
- /* @__PURE__ */ jsx204(CalendarGrid, { state })
5652
+ /* @__PURE__ */ jsx203(CalendarGrid, { state })
5782
5653
  ] });
5783
5654
  }
5784
5655
  Calendar.displayName = "Calendar";
@@ -5787,7 +5658,7 @@ Calendar.displayName = "Calendar";
5787
5658
  import { useDatePicker } from "@react-aria/datepicker";
5788
5659
  import { I18nProvider } from "@react-aria/i18n";
5789
5660
  import { useDatePickerState } from "@react-stately/datepicker";
5790
- import { forwardRef as forwardRef35, useRef as useRef16 } from "react";
5661
+ import { forwardRef as forwardRef34, useRef as useRef15 } from "react";
5791
5662
 
5792
5663
  // src/components/date-inputs/DatePicker/DateField/DateField.tsx
5793
5664
  import {
@@ -5799,23 +5670,23 @@ import {
5799
5670
  import { useLocale as useLocale3 } from "@react-aria/i18n";
5800
5671
  import { useDateFieldState } from "@react-stately/datepicker";
5801
5672
  import {
5802
- forwardRef as forwardRef34,
5803
- useRef as useRef14
5673
+ forwardRef as forwardRef33,
5674
+ useRef as useRef13
5804
5675
  } from "react";
5805
5676
 
5806
5677
  // src/components/date-inputs/DatePicker/DateField/CalendarButton.tsx
5807
5678
  import { useButton } from "@react-aria/button";
5808
- import { useRef as useRef12 } from "react";
5809
- import { jsx as jsx205 } from "react/jsx-runtime";
5679
+ import { useRef as useRef11 } from "react";
5680
+ import { jsx as jsx204 } from "react/jsx-runtime";
5810
5681
  function CalendarButton({
5811
5682
  componentSize,
5812
5683
  isReadOnly,
5813
5684
  ...props
5814
5685
  }) {
5815
- const ref = useRef12(null);
5686
+ const ref = useRef11(null);
5816
5687
  const { buttonProps } = useButton(props, ref);
5817
5688
  const size2 = componentSize === "tiny" ? "small" : "medium";
5818
- return /* @__PURE__ */ jsx205(
5689
+ return /* @__PURE__ */ jsx204(
5819
5690
  "button",
5820
5691
  {
5821
5692
  ...buttonProps,
@@ -5836,15 +5707,15 @@ function CalendarButton({
5836
5707
  !props.isDisabled && focusable,
5837
5708
  props.isDisabled && "disabled"
5838
5709
  ),
5839
- children: /* @__PURE__ */ jsx205(Icon, { icon: CalendarIcon, iconSize: size2 })
5710
+ children: /* @__PURE__ */ jsx204(Icon, { icon: CalendarIcon, iconSize: size2 })
5840
5711
  }
5841
5712
  );
5842
5713
  }
5843
5714
 
5844
5715
  // src/components/date-inputs/DatePicker/DateField/DateSegment.tsx
5845
5716
  import { useDateSegment } from "@react-aria/datepicker";
5846
- import { useRef as useRef13 } from "react";
5847
- import { jsx as jsx206, jsxs as jsxs37 } from "react/jsx-runtime";
5717
+ import { useRef as useRef12 } from "react";
5718
+ import { jsx as jsx205, jsxs as jsxs35 } from "react/jsx-runtime";
5848
5719
  var typographyTypes2 = {
5849
5720
  medium: "bodySans02",
5850
5721
  small: "bodySans01",
@@ -5861,9 +5732,9 @@ function DateSegment({
5861
5732
  componentSize
5862
5733
  }) {
5863
5734
  var _a;
5864
- const ref = useRef13(null);
5735
+ const ref = useRef12(null);
5865
5736
  const { segmentProps } = useDateSegment(segment, state, ref);
5866
- return /* @__PURE__ */ jsxs37(
5737
+ return /* @__PURE__ */ jsxs35(
5867
5738
  "div",
5868
5739
  {
5869
5740
  ...segmentProps,
@@ -5878,7 +5749,7 @@ function DateSegment({
5878
5749
  minWidth: segment.maxValue != null ? String(segment.maxValue).length + "ch" : void 0
5879
5750
  },
5880
5751
  children: [
5881
- /* @__PURE__ */ jsx206(
5752
+ /* @__PURE__ */ jsx205(
5882
5753
  "span",
5883
5754
  {
5884
5755
  "aria-hidden": "true",
@@ -5899,12 +5770,12 @@ DateSegment.displayName = "DateSegment";
5899
5770
 
5900
5771
  // src/components/date-inputs/common/DateInput.tsx
5901
5772
  import {
5902
- forwardRef as forwardRef33,
5773
+ forwardRef as forwardRef32,
5903
5774
  useContext as useContext6
5904
5775
  } from "react";
5905
5776
 
5906
5777
  // src/components/InputMessage/InputMessage.tsx
5907
- import { forwardRef as forwardRef32 } from "react";
5778
+ import { forwardRef as forwardRef31 } from "react";
5908
5779
 
5909
5780
  // src/components/InputMessage/InputMessage.module.css
5910
5781
  var InputMessage_default = {
@@ -5914,12 +5785,12 @@ var InputMessage_default = {
5914
5785
  };
5915
5786
 
5916
5787
  // src/components/InputMessage/InputMessage.tsx
5917
- import { Fragment as Fragment6, jsx as jsx207, jsxs as jsxs38 } from "react/jsx-runtime";
5918
- var InputMessage = forwardRef32(
5788
+ import { Fragment as Fragment4, jsx as jsx206, jsxs as jsxs36 } from "react/jsx-runtime";
5789
+ var InputMessage = forwardRef31(
5919
5790
  (props, ref) => {
5920
5791
  const { message, messageType, id, className, htmlProps, ...rest } = props;
5921
5792
  const isError = messageType === "error";
5922
- return /* @__PURE__ */ jsxs38(
5793
+ return /* @__PURE__ */ jsxs36(
5923
5794
  "div",
5924
5795
  {
5925
5796
  ...getBaseHTMLProps(
@@ -5934,8 +5805,8 @@ var InputMessage = forwardRef32(
5934
5805
  ),
5935
5806
  ref,
5936
5807
  children: [
5937
- isError && /* @__PURE__ */ jsx207(Icon, { icon: ErrorIcon, iconSize: "small", className: InputMessage_default.icon }),
5938
- /* @__PURE__ */ jsx207(
5808
+ isError && /* @__PURE__ */ jsx206(Icon, { icon: ErrorIcon, iconSize: "small", className: InputMessage_default.icon }),
5809
+ /* @__PURE__ */ jsx206(
5939
5810
  Typography,
5940
5811
  {
5941
5812
  typographyType: isError ? "bodySans01" : "supportingStyleHelperText01",
@@ -5949,8 +5820,8 @@ var InputMessage = forwardRef32(
5949
5820
  }
5950
5821
  );
5951
5822
  InputMessage.displayName = "InputMessage";
5952
- var renderInputMessage = (tip, tipId, errorMessage, errorMessageId) => /* @__PURE__ */ jsxs38(Fragment6, { children: [
5953
- errorMessage && errorMessageId && /* @__PURE__ */ jsx207(
5823
+ var renderInputMessage = (tip, tipId, errorMessage, errorMessageId) => /* @__PURE__ */ jsxs36(Fragment4, { children: [
5824
+ errorMessage && errorMessageId && /* @__PURE__ */ jsx206(
5954
5825
  InputMessage,
5955
5826
  {
5956
5827
  message: errorMessage,
@@ -5958,11 +5829,11 @@ var renderInputMessage = (tip, tipId, errorMessage, errorMessageId) => /* @__PUR
5958
5829
  id: errorMessageId
5959
5830
  }
5960
5831
  ),
5961
- tip && tipId && !errorMessage && /* @__PURE__ */ jsx207(InputMessage, { message: tip, messageType: "tip", id: tipId })
5832
+ tip && tipId && !errorMessage && /* @__PURE__ */ jsx206(InputMessage, { message: tip, messageType: "tip", id: tipId })
5962
5833
  ] });
5963
5834
 
5964
5835
  // src/components/date-inputs/common/DateInput.tsx
5965
- import { jsx as jsx208, jsxs as jsxs39 } from "react/jsx-runtime";
5836
+ import { jsx as jsx207, jsxs as jsxs37 } from "react/jsx-runtime";
5966
5837
  function _DateInput({
5967
5838
  errorMessage,
5968
5839
  tip,
@@ -5992,14 +5863,14 @@ function _DateInput({
5992
5863
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
5993
5864
  ["--dds-date-input-width"]: width ? width : componentSize === "small" ? "148px" : componentSize === "tiny" ? "125px" : "160px"
5994
5865
  };
5995
- return /* @__PURE__ */ jsxs39(
5866
+ return /* @__PURE__ */ jsxs37(
5996
5867
  "div",
5997
5868
  {
5998
5869
  ...groupProps,
5999
5870
  className: cn(className, Input_default.container),
6000
5871
  ref: forwardedRef,
6001
5872
  children: [
6002
- hasLabel && /* @__PURE__ */ jsx208(
5873
+ hasLabel && /* @__PURE__ */ jsx207(
6003
5874
  Label,
6004
5875
  {
6005
5876
  ...labelProps,
@@ -6009,7 +5880,7 @@ function _DateInput({
6009
5880
  children: props.label
6010
5881
  }
6011
5882
  ),
6012
- /* @__PURE__ */ jsxs39(
5883
+ /* @__PURE__ */ jsxs37(
6013
5884
  "div",
6014
5885
  {
6015
5886
  ...fieldProps,
@@ -6033,11 +5904,11 @@ function _DateInput({
6033
5904
  ),
6034
5905
  children: [
6035
5906
  button,
6036
- /* @__PURE__ */ jsx208("div", { className: DateInput_default["date-segment-container"], children })
5907
+ /* @__PURE__ */ jsx207("div", { className: DateInput_default["date-segment-container"], children })
6037
5908
  ]
6038
5909
  }
6039
5910
  ),
6040
- hasMessage && /* @__PURE__ */ jsx208(
5911
+ hasMessage && /* @__PURE__ */ jsx207(
6041
5912
  InputMessage,
6042
5913
  {
6043
5914
  messageType: hasErrorMessage ? "error" : "tip",
@@ -6048,11 +5919,11 @@ function _DateInput({
6048
5919
  }
6049
5920
  );
6050
5921
  }
6051
- var DateInput = forwardRef33(_DateInput);
5922
+ var DateInput = forwardRef32(_DateInput);
6052
5923
  DateInput.displayName = "DateInput";
6053
5924
 
6054
5925
  // src/components/date-inputs/DatePicker/DateField/DateField.tsx
6055
- import { jsx as jsx209 } from "react/jsx-runtime";
5926
+ import { jsx as jsx208 } from "react/jsx-runtime";
6056
5927
  function _DateField({
6057
5928
  componentSize = "medium",
6058
5929
  buttonProps,
@@ -6065,10 +5936,10 @@ function _DateField({
6065
5936
  locale: locale2,
6066
5937
  createCalendar: createCalendar2
6067
5938
  });
6068
- const ref = useRef14(null);
5939
+ const ref = useRef13(null);
6069
5940
  const { labelProps, fieldProps } = useDateField(props, state, ref);
6070
5941
  const disabled = props.isDisabled || !!fieldProps["aria-disabled"];
6071
- return /* @__PURE__ */ jsx209(
5942
+ return /* @__PURE__ */ jsx208(
6072
5943
  DateInput,
6073
5944
  {
6074
5945
  ...props,
@@ -6080,7 +5951,7 @@ function _DateField({
6080
5951
  ref: forwardedRef,
6081
5952
  internalRef: ref,
6082
5953
  readOnly: props.isReadOnly,
6083
- prefix: /* @__PURE__ */ jsx209(
5954
+ prefix: /* @__PURE__ */ jsx208(
6084
5955
  CalendarButton,
6085
5956
  {
6086
5957
  componentSize,
@@ -6091,7 +5962,7 @@ function _DateField({
6091
5962
  ),
6092
5963
  labelProps,
6093
5964
  fieldProps,
6094
- children: state.segments.map((segment, i2) => /* @__PURE__ */ jsx209(
5965
+ children: state.segments.map((segment, i2) => /* @__PURE__ */ jsx208(
6095
5966
  DateSegment,
6096
5967
  {
6097
5968
  "aria-readonly": props.isReadOnly,
@@ -6104,14 +5975,14 @@ function _DateField({
6104
5975
  }
6105
5976
  );
6106
5977
  }
6107
- var DateField = forwardRef34(_DateField);
5978
+ var DateField = forwardRef33(_DateField);
6108
5979
  DateField.displayName = "DateField";
6109
5980
 
6110
5981
  // src/components/date-inputs/utils/useFocusManagerRef.ts
6111
5982
  import { createFocusManager } from "@react-aria/focus";
6112
- import { useImperativeHandle, useRef as useRef15 } from "react";
5983
+ import { useImperativeHandle, useRef as useRef14 } from "react";
6113
5984
  function useFocusManagerRef(ref) {
6114
- const domRef = useRef15(null);
5985
+ const domRef = useRef14(null);
6115
5986
  useImperativeHandle(ref, () => ({
6116
5987
  ...createDOMRef(domRef),
6117
5988
  focus() {
@@ -6129,24 +6000,24 @@ function createDOMRef(ref) {
6129
6000
  }
6130
6001
 
6131
6002
  // src/components/date-inputs/DatePicker/DatePicker.tsx
6132
- import { jsx as jsx210, jsxs as jsxs40 } from "react/jsx-runtime";
6003
+ import { jsx as jsx209, jsxs as jsxs38 } from "react/jsx-runtime";
6133
6004
  var refIsFocusable = (ref) => {
6134
6005
  return typeof ref === "object" && ref !== null && "focus" in ref;
6135
6006
  };
6136
6007
  function _DatePicker({ errorMessage, componentSize, tip, style, width, ...props }, forwardedRef) {
6137
6008
  const state = useDatePickerState(props);
6138
6009
  const domRef = useFocusManagerRef(
6139
- refIsFocusable(forwardRef35) ? forwardedRef : null
6010
+ refIsFocusable(forwardRef34) ? forwardedRef : null
6140
6011
  );
6141
- const ref = useRef16(null);
6012
+ const ref = useRef15(null);
6142
6013
  const combinedRef = useCombinedRef(ref, domRef);
6143
6014
  const { buttonProps, calendarProps, fieldProps, groupProps } = useDatePicker(
6144
6015
  { ...props, granularity: "day" },
6145
6016
  state,
6146
6017
  ref
6147
6018
  );
6148
- return /* @__PURE__ */ jsx210(I18nProvider, { locale, children: /* @__PURE__ */ jsxs40(CalendarPopover, { isOpen: state.isOpen, onClose: state.close, children: [
6149
- /* @__PURE__ */ jsx210(CalendarPopoverAnchor, { children: /* @__PURE__ */ jsx210(
6019
+ return /* @__PURE__ */ jsx209(I18nProvider, { locale, children: /* @__PURE__ */ jsxs38(CalendarPopover, { isOpen: state.isOpen, onClose: state.close, children: [
6020
+ /* @__PURE__ */ jsx209(CalendarPopoverAnchor, { children: /* @__PURE__ */ jsx209(
6150
6021
  DateField,
6151
6022
  {
6152
6023
  ...fieldProps,
@@ -6162,19 +6033,19 @@ function _DatePicker({ errorMessage, componentSize, tip, style, width, ...props
6162
6033
  width
6163
6034
  }
6164
6035
  ) }),
6165
- /* @__PURE__ */ jsx210(CalendarPopoverContent, { children: /* @__PURE__ */ jsx210(Calendar, { ...calendarProps }) })
6036
+ /* @__PURE__ */ jsx209(CalendarPopoverContent, { children: /* @__PURE__ */ jsx209(Calendar, { ...calendarProps }) })
6166
6037
  ] }) });
6167
6038
  }
6168
- var DatePicker = forwardRef35(_DatePicker);
6039
+ var DatePicker = forwardRef34(_DatePicker);
6169
6040
  DatePicker.displayName = "DatePicker";
6170
6041
 
6171
6042
  // src/components/date-inputs/TimePicker/TimePicker.tsx
6172
6043
  import { useTimeField } from "@react-aria/datepicker";
6173
6044
  import { useTimeFieldState } from "@react-stately/datepicker";
6174
- import { forwardRef as forwardRef36, useRef as useRef17 } from "react";
6175
- import { jsx as jsx211 } from "react/jsx-runtime";
6045
+ import { forwardRef as forwardRef35, useRef as useRef16 } from "react";
6046
+ import { jsx as jsx210 } from "react/jsx-runtime";
6176
6047
  function _TimePicker({ componentSize = "medium", width, ...props }, forwardedRef) {
6177
- const ref = useRef17(null);
6048
+ const ref = useRef16(null);
6178
6049
  const state = useTimeFieldState({
6179
6050
  ...props,
6180
6051
  locale
@@ -6186,7 +6057,7 @@ function _TimePicker({ componentSize = "medium", width, ...props }, forwardedRef
6186
6057
  );
6187
6058
  const iconSize = componentSize === "tiny" ? "small" : "medium";
6188
6059
  const disabled = props.isDisabled || !!fieldProps["aria-disabled"];
6189
- return /* @__PURE__ */ jsx211(
6060
+ return /* @__PURE__ */ jsx210(
6190
6061
  DateInput,
6191
6062
  {
6192
6063
  ...props,
@@ -6199,7 +6070,7 @@ function _TimePicker({ componentSize = "medium", width, ...props }, forwardedRef
6199
6070
  readOnly: props.isReadOnly,
6200
6071
  labelProps,
6201
6072
  fieldProps,
6202
- prefix: /* @__PURE__ */ jsx211(
6073
+ prefix: /* @__PURE__ */ jsx210(
6203
6074
  "span",
6204
6075
  {
6205
6076
  className: cn(
@@ -6208,10 +6079,10 @@ function _TimePicker({ componentSize = "medium", width, ...props }, forwardedRef
6208
6079
  props.isReadOnly && DateInput_default["icon-wrapper--readonly"],
6209
6080
  DateInput_default[`icon-wrapper--${iconSize}`]
6210
6081
  ),
6211
- children: /* @__PURE__ */ jsx211(Icon, { icon: TimeIcon, iconSize })
6082
+ children: /* @__PURE__ */ jsx210(Icon, { icon: TimeIcon, iconSize })
6212
6083
  }
6213
6084
  ),
6214
- children: state.segments.map((segment, i2) => /* @__PURE__ */ jsx211(
6085
+ children: state.segments.map((segment, i2) => /* @__PURE__ */ jsx210(
6215
6086
  DateSegment,
6216
6087
  {
6217
6088
  componentSize,
@@ -6223,7 +6094,7 @@ function _TimePicker({ componentSize = "medium", width, ...props }, forwardedRef
6223
6094
  }
6224
6095
  );
6225
6096
  }
6226
- var TimePicker = forwardRef36(_TimePicker);
6097
+ var TimePicker = forwardRef35(_TimePicker);
6227
6098
  TimePicker.displayName = "TimePicker";
6228
6099
 
6229
6100
  // src/components/date-inputs/utils/transform.ts
@@ -6260,7 +6131,7 @@ function calendarDateToNativeDate(date, time = new Time(12, 0, 0, 0)) {
6260
6131
  }
6261
6132
 
6262
6133
  // src/components/DescriptionList/DescriptionList.tsx
6263
- import { forwardRef as forwardRef37 } from "react";
6134
+ import { forwardRef as forwardRef36 } from "react";
6264
6135
 
6265
6136
  // src/components/DescriptionList/DescriptionList.module.css
6266
6137
  var DescriptionList_default = {
@@ -6274,8 +6145,8 @@ var DescriptionList_default = {
6274
6145
  };
6275
6146
 
6276
6147
  // src/components/DescriptionList/DescriptionList.tsx
6277
- import { jsx as jsx212 } from "react/jsx-runtime";
6278
- var DescriptionList = forwardRef37((props, ref) => {
6148
+ import { jsx as jsx211 } from "react/jsx-runtime";
6149
+ var DescriptionList = forwardRef36((props, ref) => {
6279
6150
  const {
6280
6151
  appearance = "default",
6281
6152
  direction = "column",
@@ -6285,7 +6156,7 @@ var DescriptionList = forwardRef37((props, ref) => {
6285
6156
  htmlProps,
6286
6157
  ...rest
6287
6158
  } = props;
6288
- return /* @__PURE__ */ jsx212(
6159
+ return /* @__PURE__ */ jsx211(
6289
6160
  "dl",
6290
6161
  {
6291
6162
  ref,
@@ -6307,25 +6178,25 @@ var DescriptionList = forwardRef37((props, ref) => {
6307
6178
  DescriptionList.displayName = "DescriptionList";
6308
6179
 
6309
6180
  // src/components/DescriptionList/DescriptionListTerm.tsx
6310
- import { forwardRef as forwardRef38 } from "react";
6311
- import { jsx as jsx213 } from "react/jsx-runtime";
6312
- var DescriptionListTerm = forwardRef38(({ ...rest }, ref) => {
6313
- return /* @__PURE__ */ jsx213("dt", { ref, ...rest });
6181
+ import { forwardRef as forwardRef37 } from "react";
6182
+ import { jsx as jsx212 } from "react/jsx-runtime";
6183
+ var DescriptionListTerm = forwardRef37(({ ...rest }, ref) => {
6184
+ return /* @__PURE__ */ jsx212("dt", { ref, ...rest });
6314
6185
  });
6315
6186
  DescriptionListTerm.displayName = "DescriptionListTerm";
6316
6187
 
6317
6188
  // src/components/DescriptionList/DescriptionListDesc.tsx
6318
- import { forwardRef as forwardRef39 } from "react";
6319
- import { jsx as jsx214, jsxs as jsxs41 } from "react/jsx-runtime";
6320
- var DescriptionListDesc = forwardRef39((props, ref) => {
6189
+ import { forwardRef as forwardRef38 } from "react";
6190
+ import { jsx as jsx213, jsxs as jsxs39 } from "react/jsx-runtime";
6191
+ var DescriptionListDesc = forwardRef38((props, ref) => {
6321
6192
  const { children, icon, id, className, htmlProps, ...rest } = props;
6322
- return /* @__PURE__ */ jsxs41(
6193
+ return /* @__PURE__ */ jsxs39(
6323
6194
  "dd",
6324
6195
  {
6325
6196
  ref,
6326
6197
  ...getBaseHTMLProps(id, cn(className, DescriptionList_default.desc), htmlProps, rest),
6327
6198
  children: [
6328
- icon && /* @__PURE__ */ jsx214(Icon, { icon }),
6199
+ icon && /* @__PURE__ */ jsx213(Icon, { icon }),
6329
6200
  " ",
6330
6201
  children
6331
6202
  ]
@@ -6335,9 +6206,9 @@ var DescriptionListDesc = forwardRef39((props, ref) => {
6335
6206
  DescriptionListDesc.displayName = "DescriptionListDesc";
6336
6207
 
6337
6208
  // src/components/DescriptionList/DescriptionListGroup.tsx
6338
- import { forwardRef as forwardRef40 } from "react";
6339
- import { jsx as jsx215 } from "react/jsx-runtime";
6340
- var DescriptionListGroup = forwardRef40((props, ref) => {
6209
+ import { forwardRef as forwardRef39 } from "react";
6210
+ import { jsx as jsx214 } from "react/jsx-runtime";
6211
+ var DescriptionListGroup = forwardRef39((props, ref) => {
6341
6212
  const {
6342
6213
  children,
6343
6214
  margin,
@@ -6348,7 +6219,7 @@ var DescriptionListGroup = forwardRef40((props, ref) => {
6348
6219
  htmlProps,
6349
6220
  ...rest
6350
6221
  } = props;
6351
- return /* @__PURE__ */ jsx215(
6222
+ return /* @__PURE__ */ jsx214(
6352
6223
  "div",
6353
6224
  {
6354
6225
  ref,
@@ -6361,7 +6232,7 @@ var DescriptionListGroup = forwardRef40((props, ref) => {
6361
6232
  DescriptionListGroup.displayName = "DescriptionListGroup";
6362
6233
 
6363
6234
  // src/components/Drawer/Drawer.tsx
6364
- import { forwardRef as forwardRef41, useId as useId6 } from "react";
6235
+ import { forwardRef as forwardRef40, useId as useId6 } from "react";
6365
6236
  import { createPortal } from "react-dom";
6366
6237
 
6367
6238
  // src/components/Drawer/Drawer.module.css
@@ -6381,8 +6252,8 @@ var Drawer_default = {
6381
6252
  };
6382
6253
 
6383
6254
  // src/components/Drawer/Drawer.tsx
6384
- import { jsx as jsx216, jsxs as jsxs42 } from "react/jsx-runtime";
6385
- var Drawer = forwardRef41((props, ref) => {
6255
+ import { jsx as jsx215, jsxs as jsxs40 } from "react/jsx-runtime";
6256
+ var Drawer = forwardRef40((props, ref) => {
6386
6257
  const {
6387
6258
  children,
6388
6259
  onClose,
@@ -6443,8 +6314,8 @@ var Drawer = forwardRef41((props, ref) => {
6443
6314
  style: { ...htmlProps == null ? void 0 : htmlProps.style, ...widthProps }
6444
6315
  };
6445
6316
  return isOpen || hasTransitionedIn ? createPortal(
6446
- /* @__PURE__ */ jsxs42(Paper, { ...containerProps, elevation: 4, children: [
6447
- /* @__PURE__ */ jsxs42(
6317
+ /* @__PURE__ */ jsxs40(Paper, { ...containerProps, elevation: 4, children: [
6318
+ /* @__PURE__ */ jsxs40(
6448
6319
  "div",
6449
6320
  {
6450
6321
  className: cn(
@@ -6453,12 +6324,12 @@ var Drawer = forwardRef41((props, ref) => {
6453
6324
  utilStyles_default["scrollable-y"]
6454
6325
  ),
6455
6326
  children: [
6456
- hasHeader && /* @__PURE__ */ jsx216("div", { id: headerId, children: typeof header === "string" ? /* @__PURE__ */ jsx216(Heading, { level: 2, typographyType: "headingSans03", children: header }) : header }),
6327
+ hasHeader && /* @__PURE__ */ jsx215("div", { id: headerId, children: typeof header === "string" ? /* @__PURE__ */ jsx215(Heading, { level: 2, typographyType: "headingSans03", children: header }) : header }),
6457
6328
  children
6458
6329
  ]
6459
6330
  }
6460
6331
  ),
6461
- /* @__PURE__ */ jsx216(
6332
+ /* @__PURE__ */ jsx215(
6462
6333
  Button,
6463
6334
  {
6464
6335
  className: cn(Drawer_default["button--close"]),
@@ -6482,10 +6353,10 @@ import {
6482
6353
  cloneElement as cloneElement3,
6483
6354
  isValidElement as isValidElement4,
6484
6355
  useId as useId7,
6485
- useRef as useRef18,
6356
+ useRef as useRef17,
6486
6357
  useState as useState10
6487
6358
  } from "react";
6488
- import { Fragment as Fragment7, jsxs as jsxs43 } from "react/jsx-runtime";
6359
+ import { Fragment as Fragment5, jsxs as jsxs41 } from "react/jsx-runtime";
6489
6360
  var DrawerGroup = ({
6490
6361
  children,
6491
6362
  drawerId,
@@ -6494,7 +6365,7 @@ var DrawerGroup = ({
6494
6365
  }) => {
6495
6366
  const generatedId = useId7();
6496
6367
  const uniqueDrawerId = drawerId != null ? drawerId : `${generatedId}-drawer`;
6497
- const buttonRef = useRef18(null);
6368
+ const buttonRef = useRef17(null);
6498
6369
  const [closed, setClosed] = useState10(true);
6499
6370
  const open = () => setClosed(false);
6500
6371
  const close = () => setClosed(true);
@@ -6520,7 +6391,7 @@ var DrawerGroup = ({
6520
6391
  onClose: handleClose
6521
6392
  }));
6522
6393
  });
6523
- return /* @__PURE__ */ jsxs43(Fragment7, { children: [
6394
+ return /* @__PURE__ */ jsxs41(Fragment5, { children: [
6524
6395
  " ",
6525
6396
  Children8,
6526
6397
  " "
@@ -6536,7 +6407,7 @@ var EmptyContent_default = {
6536
6407
  };
6537
6408
 
6538
6409
  // src/components/EmptyContent/EmptyContent.tsx
6539
- import { jsx as jsx217, jsxs as jsxs44 } from "react/jsx-runtime";
6410
+ import { jsx as jsx216, jsxs as jsxs42 } from "react/jsx-runtime";
6540
6411
  function EmptyContent({
6541
6412
  title,
6542
6413
  message,
@@ -6544,15 +6415,15 @@ function EmptyContent({
6544
6415
  className,
6545
6416
  ...rest
6546
6417
  }) {
6547
- return /* @__PURE__ */ jsx217("div", { ...rest, className: cn(className, EmptyContent_default.containter), children: /* @__PURE__ */ jsxs44("div", { className: EmptyContent_default.text, children: [
6548
- title && /* @__PURE__ */ jsx217(Heading, { level: titleHeadingLevel, typographyType: "headingSans02", children: title }),
6549
- /* @__PURE__ */ jsx217(Paragraph, { className: EmptyContent_default.message, children: message })
6418
+ return /* @__PURE__ */ jsx216("div", { ...rest, className: cn(className, EmptyContent_default.containter), children: /* @__PURE__ */ jsxs42("div", { className: EmptyContent_default.text, children: [
6419
+ title && /* @__PURE__ */ jsx216(Heading, { level: titleHeadingLevel, typographyType: "headingSans02", children: title }),
6420
+ /* @__PURE__ */ jsx216(Paragraph, { className: EmptyContent_default.message, children: message })
6550
6421
  ] }) });
6551
6422
  }
6552
6423
  EmptyContent.displayName = "EmptyContent";
6553
6424
 
6554
6425
  // src/components/FavStar/FavStar.tsx
6555
- import { forwardRef as forwardRef42, useId as useId8 } from "react";
6426
+ import { forwardRef as forwardRef41, useId as useId8 } from "react";
6556
6427
 
6557
6428
  // src/components/FavStar/FavStar.module.css
6558
6429
  var FavStar_default = {
@@ -6567,10 +6438,10 @@ var FavStar_default = {
6567
6438
  import { useState as useState11 } from "react";
6568
6439
 
6569
6440
  // src/hooks/useCallbackRef.ts
6570
- import { useCallback as useCallback5, useEffect as useEffect18, useRef as useRef19 } from "react";
6441
+ import { useCallback as useCallback5, useEffect as useEffect17, useRef as useRef18 } from "react";
6571
6442
  function useCallbackRef(callback, deps = []) {
6572
- const callbackRef = useRef19(callback);
6573
- useEffect18(() => {
6443
+ const callbackRef = useRef18(callback);
6444
+ useEffect17(() => {
6574
6445
  callbackRef.current = callback;
6575
6446
  });
6576
6447
  return useCallback5((...args) => {
@@ -6601,8 +6472,8 @@ function useControllableState(props) {
6601
6472
  }
6602
6473
 
6603
6474
  // src/components/FavStar/FavStar.tsx
6604
- import { jsx as jsx218, jsxs as jsxs45 } from "react/jsx-runtime";
6605
- var FavStar = forwardRef42(
6475
+ import { jsx as jsx217, jsxs as jsxs43 } from "react/jsx-runtime";
6476
+ var FavStar = forwardRef41(
6606
6477
  ({
6607
6478
  id,
6608
6479
  className,
@@ -6626,7 +6497,7 @@ var FavStar = forwardRef42(
6626
6497
  defaultValue: defaultChecked != null ? defaultChecked : false,
6627
6498
  onChange
6628
6499
  });
6629
- return /* @__PURE__ */ jsxs45(
6500
+ return /* @__PURE__ */ jsxs43(
6630
6501
  "label",
6631
6502
  {
6632
6503
  className: cn(
@@ -6638,7 +6509,7 @@ var FavStar = forwardRef42(
6638
6509
  style,
6639
6510
  htmlFor: id != null ? id : generatedId,
6640
6511
  children: [
6641
- /* @__PURE__ */ jsx218(
6512
+ /* @__PURE__ */ jsx217(
6642
6513
  "input",
6643
6514
  {
6644
6515
  ...props,
@@ -6651,8 +6522,8 @@ var FavStar = forwardRef42(
6651
6522
  className: utilStyles_default["hide-input"]
6652
6523
  }
6653
6524
  ),
6654
- /* @__PURE__ */ jsx218(Icon, { iconSize: size2, icon: StarIcon, className: FavStar_default.icon }),
6655
- /* @__PURE__ */ jsx218(
6525
+ /* @__PURE__ */ jsx217(Icon, { iconSize: size2, icon: StarIcon, className: FavStar_default.icon }),
6526
+ /* @__PURE__ */ jsx217(
6656
6527
  Icon,
6657
6528
  {
6658
6529
  iconSize: size2,
@@ -6668,7 +6539,7 @@ var FavStar = forwardRef42(
6668
6539
  FavStar.displayName = "FavStar";
6669
6540
 
6670
6541
  // src/components/Feedback/Feedback.tsx
6671
- import { useEffect as useEffect21, useState as useState14 } from "react";
6542
+ import { useEffect as useEffect20, useState as useState14 } from "react";
6672
6543
 
6673
6544
  // src/components/Feedback/Feedback.module.css
6674
6545
  var Feedback_default = {
@@ -6682,7 +6553,7 @@ var Feedback_default = {
6682
6553
  };
6683
6554
 
6684
6555
  // src/components/Stack/Stack.tsx
6685
- import { forwardRef as forwardRef43 } from "react";
6556
+ import { forwardRef as forwardRef42 } from "react";
6686
6557
 
6687
6558
  // src/components/Stack/Stack.module.css
6688
6559
  var Stack_default = {
@@ -6718,8 +6589,8 @@ var Stack_default = {
6718
6589
  };
6719
6590
 
6720
6591
  // src/components/Stack/Stack.tsx
6721
- import { jsx as jsx219 } from "react/jsx-runtime";
6722
- var HStack = forwardRef43(
6592
+ import { jsx as jsx218 } from "react/jsx-runtime";
6593
+ var HStack = forwardRef42(
6723
6594
  ({
6724
6595
  id,
6725
6596
  className,
@@ -6736,7 +6607,7 @@ var HStack = forwardRef43(
6736
6607
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
6737
6608
  ["--dds-stack-justify-content"]: justify
6738
6609
  };
6739
- return /* @__PURE__ */ jsx219(
6610
+ return /* @__PURE__ */ jsx218(
6740
6611
  "div",
6741
6612
  {
6742
6613
  ref,
@@ -6758,7 +6629,7 @@ var HStack = forwardRef43(
6758
6629
  }
6759
6630
  );
6760
6631
  HStack.displayName = "HStack";
6761
- var VStack = forwardRef43(
6632
+ var VStack = forwardRef42(
6762
6633
  ({
6763
6634
  id,
6764
6635
  className,
@@ -6775,7 +6646,7 @@ var VStack = forwardRef43(
6775
6646
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
6776
6647
  ["--dds-stack-justify-content"]: justify
6777
6648
  };
6778
- return /* @__PURE__ */ jsx219(
6649
+ return /* @__PURE__ */ jsx218(
6779
6650
  "div",
6780
6651
  {
6781
6652
  ref,
@@ -6802,7 +6673,7 @@ function spacingPropToCn(value) {
6802
6673
  }
6803
6674
 
6804
6675
  // src/components/TextArea/TextArea.tsx
6805
- import { forwardRef as forwardRef44, useEffect as useEffect19, useId as useId9, useRef as useRef20, useState as useState12 } from "react";
6676
+ import { forwardRef as forwardRef43, useEffect as useEffect18, useId as useId9, useRef as useRef19, useState as useState12 } from "react";
6806
6677
 
6807
6678
  // src/components/TextArea/TextArea.module.css
6808
6679
  var TextArea_default = {
@@ -6811,8 +6682,8 @@ var TextArea_default = {
6811
6682
  };
6812
6683
 
6813
6684
  // src/components/TextArea/TextArea.tsx
6814
- import { jsx as jsx220, jsxs as jsxs46 } from "react/jsx-runtime";
6815
- var TextArea = forwardRef44(
6685
+ import { jsx as jsx219, jsxs as jsxs44 } from "react/jsx-runtime";
6686
+ var TextArea = forwardRef43(
6816
6687
  (props, ref) => {
6817
6688
  const {
6818
6689
  id,
@@ -6835,12 +6706,12 @@ var TextArea = forwardRef44(
6835
6706
  } = props;
6836
6707
  const generatedId = useId9();
6837
6708
  const uniqueId = id != null ? id : `${generatedId}-textArea`;
6838
- const textAreaRef = useRef20(null);
6709
+ const textAreaRef = useRef19(null);
6839
6710
  const multiRef = useCombinedRef(ref, textAreaRef);
6840
6711
  const [text, setText] = useState12(
6841
6712
  getDefaultText(value, defaultValue)
6842
6713
  );
6843
- useEffect19(() => {
6714
+ useEffect18(() => {
6844
6715
  if (textAreaRef == null ? void 0 : textAreaRef.current) {
6845
6716
  textAreaRef.current.style.height = `${textAreaRef.current.scrollHeight + 2}px`;
6846
6717
  }
@@ -6864,13 +6735,13 @@ var TextArea = forwardRef44(
6864
6735
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
6865
6736
  ["--dds-text-area-width"]: width != null ? width : "var(--dds-input-default-width)"
6866
6737
  };
6867
- return /* @__PURE__ */ jsxs46(
6738
+ return /* @__PURE__ */ jsxs44(
6868
6739
  "div",
6869
6740
  {
6870
6741
  className: cn(className, Input_default.container),
6871
6742
  style: { ...style },
6872
6743
  children: [
6873
- hasLabel && /* @__PURE__ */ jsx220(
6744
+ hasLabel && /* @__PURE__ */ jsx219(
6874
6745
  Label,
6875
6746
  {
6876
6747
  showRequiredStyling,
@@ -6880,7 +6751,7 @@ var TextArea = forwardRef44(
6880
6751
  children: label
6881
6752
  }
6882
6753
  ),
6883
- /* @__PURE__ */ jsx220(
6754
+ /* @__PURE__ */ jsx219(
6884
6755
  "textarea",
6885
6756
  {
6886
6757
  ref: multiRef,
@@ -6912,7 +6783,7 @@ var TextArea = forwardRef44(
6912
6783
  ...rest
6913
6784
  }
6914
6785
  ),
6915
- /* @__PURE__ */ jsxs46("div", { className: TextArea_default["message-container"], children: [
6786
+ /* @__PURE__ */ jsxs44("div", { className: TextArea_default["message-container"], children: [
6916
6787
  renderInputMessage(tip, tipId, errorMessage, errorMessageId),
6917
6788
  renderCharCounter(
6918
6789
  characterCounterId,
@@ -6929,7 +6800,7 @@ var TextArea = forwardRef44(
6929
6800
  TextArea.displayName = "TextArea";
6930
6801
 
6931
6802
  // src/components/Feedback/CommentComponent.tsx
6932
- import { jsx as jsx221, jsxs as jsxs47 } from "react/jsx-runtime";
6803
+ import { jsx as jsx220, jsxs as jsxs45 } from "react/jsx-runtime";
6933
6804
  var CommentComponent = ({
6934
6805
  rating,
6935
6806
  feedbackText,
@@ -6941,21 +6812,21 @@ var CommentComponent = ({
6941
6812
  handleSubmit,
6942
6813
  handleFeedbackTextChange
6943
6814
  }) => {
6944
- return /* @__PURE__ */ jsxs47(VStack, { gap: "x1", align: "flex-start", children: [
6945
- /* @__PURE__ */ jsxs47("span", { className: Feedback_default["rating-submitted-title"], children: [
6946
- /* @__PURE__ */ jsx221(
6815
+ return /* @__PURE__ */ jsxs45(VStack, { gap: "x1", align: "flex-start", children: [
6816
+ /* @__PURE__ */ jsxs45("span", { className: Feedback_default["rating-submitted-title"], children: [
6817
+ /* @__PURE__ */ jsx220(
6947
6818
  Icon,
6948
6819
  {
6949
6820
  icon: rating === "positive" ? ThumbUpFilledIcon : ThumbDownFilledIcon,
6950
6821
  color: "iconActionResting"
6951
6822
  }
6952
6823
  ),
6953
- /* @__PURE__ */ jsxs47(Paragraph, { children: [
6824
+ /* @__PURE__ */ jsxs45(Paragraph, { children: [
6954
6825
  ratingSubmittedTitle,
6955
6826
  " "
6956
6827
  ] })
6957
6828
  ] }),
6958
- /* @__PURE__ */ jsx221(
6829
+ /* @__PURE__ */ jsx220(
6959
6830
  TextArea,
6960
6831
  {
6961
6832
  value: feedbackText,
@@ -6964,7 +6835,7 @@ var CommentComponent = ({
6964
6835
  tip: textAreaTip
6965
6836
  }
6966
6837
  ),
6967
- /* @__PURE__ */ jsx221(
6838
+ /* @__PURE__ */ jsx220(
6968
6839
  Button,
6969
6840
  {
6970
6841
  purpose: "secondary",
@@ -6981,11 +6852,11 @@ var CommentComponent = ({
6981
6852
  import {
6982
6853
  Children as ReactChildren4,
6983
6854
  cloneElement as cloneElement4,
6984
- forwardRef as forwardRef45,
6855
+ forwardRef as forwardRef44,
6985
6856
  isValidElement as isValidElement5,
6986
- useEffect as useEffect20,
6857
+ useEffect as useEffect19,
6987
6858
  useId as useId10,
6988
- useRef as useRef21,
6859
+ useRef as useRef20,
6989
6860
  useState as useState13
6990
6861
  } from "react";
6991
6862
 
@@ -6998,8 +6869,8 @@ var Tooltip_default = {
6998
6869
  };
6999
6870
 
7000
6871
  // src/components/Tooltip/Tooltip.tsx
7001
- import { jsx as jsx222, jsxs as jsxs48 } from "react/jsx-runtime";
7002
- var Tooltip = forwardRef45(
6872
+ import { jsx as jsx221, jsxs as jsxs46 } from "react/jsx-runtime";
6873
+ var Tooltip = forwardRef44(
7003
6874
  (props, ref) => {
7004
6875
  const {
7005
6876
  text,
@@ -7023,13 +6894,13 @@ var Tooltip = forwardRef45(
7023
6894
  const { refs, styles: positionStyles } = useFloatPosition(arrowElement, {
7024
6895
  placement
7025
6896
  });
7026
- const tooltipRef = useRef21(null);
6897
+ const tooltipRef = useRef20(null);
7027
6898
  const combinedRef = useCombinedRef(ref, refs.setFloating, tooltipRef);
7028
6899
  const closeWhenNotInView = (entries) => {
7029
6900
  const [entry] = entries;
7030
6901
  entry.isIntersecting ? setInView(true) : setInView(false);
7031
6902
  };
7032
- useEffect20(() => {
6903
+ useEffect19(() => {
7033
6904
  const options = {
7034
6905
  root: null,
7035
6906
  rootMargin: "0px"
@@ -7041,7 +6912,7 @@ var Tooltip = forwardRef45(
7041
6912
  if (ref2) observer.unobserve(ref2);
7042
6913
  };
7043
6914
  }, [tooltipRef]);
7044
- useEffect20(() => {
6915
+ useEffect19(() => {
7045
6916
  if (tooltipRef.current) {
7046
6917
  window.addEventListener("scroll", () => {
7047
6918
  closeTooltip();
@@ -7054,7 +6925,7 @@ var Tooltip = forwardRef45(
7054
6925
  };
7055
6926
  }, []);
7056
6927
  let timer;
7057
- useEffect20(() => {
6928
+ useEffect19(() => {
7058
6929
  return () => {
7059
6930
  clearTimeout(timer);
7060
6931
  };
@@ -7096,9 +6967,9 @@ var Tooltip = forwardRef45(
7096
6967
  style: { ...positionStyles.floating }
7097
6968
  };
7098
6969
  const openCn = open && inView ? "open" : "closed";
7099
- return /* @__PURE__ */ jsxs48("div", { ...containerProps, children: [
6970
+ return /* @__PURE__ */ jsxs46("div", { ...containerProps, children: [
7100
6971
  anchorElement,
7101
- /* @__PURE__ */ jsxs48(
6972
+ /* @__PURE__ */ jsxs46(
7102
6973
  Paper,
7103
6974
  {
7104
6975
  ...wrapperProps,
@@ -7112,15 +6983,15 @@ var Tooltip = forwardRef45(
7112
6983
  ),
7113
6984
  children: [
7114
6985
  text,
7115
- /* @__PURE__ */ jsx222("div", { ref: setArrowElement, style: positionStyles.arrow, children: /* @__PURE__ */ jsxs48("svg", { width: "36", height: "9", children: [
7116
- /* @__PURE__ */ jsx222(
6986
+ /* @__PURE__ */ jsx221("div", { ref: setArrowElement, style: positionStyles.arrow, children: /* @__PURE__ */ jsxs46("svg", { width: "36", height: "9", children: [
6987
+ /* @__PURE__ */ jsx221(
7117
6988
  "path",
7118
6989
  {
7119
6990
  d: "M16.586 6.586L10 0h16.154a.373.373 0 00-.263.11l-6.477 6.476a2 2 0 01-2.828 0z",
7120
6991
  className: Tooltip_default["svg-arrow__background"]
7121
6992
  }
7122
6993
  ),
7123
- /* @__PURE__ */ jsx222(
6994
+ /* @__PURE__ */ jsx221(
7124
6995
  "path",
7125
6996
  {
7126
6997
  fillRule: "evenodd",
@@ -7139,7 +7010,7 @@ var Tooltip = forwardRef45(
7139
7010
  Tooltip.displayName = "Tooltip";
7140
7011
 
7141
7012
  // src/components/Feedback/RatingComponent.tsx
7142
- import { jsx as jsx223, jsxs as jsxs49 } from "react/jsx-runtime";
7013
+ import { jsx as jsx222, jsxs as jsxs47 } from "react/jsx-runtime";
7143
7014
  var RatingComponent = ({
7144
7015
  layout,
7145
7016
  ratingLabel,
@@ -7149,7 +7020,7 @@ var RatingComponent = ({
7149
7020
  handleRatingChange
7150
7021
  }) => {
7151
7022
  const layoutCn = layout === "vertical" ? "column" : "row";
7152
- const button = (purpose, layout2) => /* @__PURE__ */ jsx223(
7023
+ const button = (purpose, layout2) => /* @__PURE__ */ jsx222(
7153
7024
  "button",
7154
7025
  {
7155
7026
  "aria-label": purpose === "up" ? thumbUpTooltip : thumbDownTooltip,
@@ -7160,7 +7031,7 @@ var RatingComponent = ({
7160
7031
  Feedback_default[`button--${layout2}`],
7161
7032
  focusable
7162
7033
  ),
7163
- children: /* @__PURE__ */ jsx223(
7034
+ children: /* @__PURE__ */ jsx222(
7164
7035
  Icon,
7165
7036
  {
7166
7037
  icon: purpose === "up" ? ThumbUpIcon : ThumbDownIcon,
@@ -7169,7 +7040,7 @@ var RatingComponent = ({
7169
7040
  )
7170
7041
  }
7171
7042
  );
7172
- return /* @__PURE__ */ jsxs49(
7043
+ return /* @__PURE__ */ jsxs47(
7173
7044
  "div",
7174
7045
  {
7175
7046
  className: cn(
@@ -7177,10 +7048,10 @@ var RatingComponent = ({
7177
7048
  Feedback_default[`rating-container--${layoutCn}`]
7178
7049
  ),
7179
7050
  children: [
7180
- /* @__PURE__ */ jsx223(Label, { children: ratingLabel }),
7181
- loading ? /* @__PURE__ */ jsx223(Spinner, { tooltip: "Laster opp tilbakemelding ..." }) : /* @__PURE__ */ jsxs49(HStack, { gap: "x1", children: [
7182
- /* @__PURE__ */ jsx223(Tooltip, { text: thumbUpTooltip, children: button("up", layout) }),
7183
- /* @__PURE__ */ jsx223(Tooltip, { text: thumbDownTooltip, children: /* @__PURE__ */ jsx223("div", { children: button("down", layout) }) })
7051
+ /* @__PURE__ */ jsx222(Label, { children: ratingLabel }),
7052
+ loading ? /* @__PURE__ */ jsx222(Spinner, { tooltip: "Laster opp tilbakemelding ..." }) : /* @__PURE__ */ jsxs47(HStack, { gap: "x1", children: [
7053
+ /* @__PURE__ */ jsx222(Tooltip, { text: thumbUpTooltip, children: button("up", layout) }),
7054
+ /* @__PURE__ */ jsx222(Tooltip, { text: thumbDownTooltip, children: /* @__PURE__ */ jsx222("div", { children: button("down", layout) }) })
7184
7055
  ] })
7185
7056
  ]
7186
7057
  }
@@ -7188,7 +7059,7 @@ var RatingComponent = ({
7188
7059
  };
7189
7060
 
7190
7061
  // src/components/Feedback/Feedback.tsx
7191
- import { jsx as jsx224 } from "react/jsx-runtime";
7062
+ import { jsx as jsx223 } from "react/jsx-runtime";
7192
7063
  var Feedback = ({
7193
7064
  layout = "vertical",
7194
7065
  ratingLabel = "Hva syns du om tjenesten?",
@@ -7211,13 +7082,13 @@ var Feedback = ({
7211
7082
  const [rating, setRating] = useState14(null);
7212
7083
  const [feedbackText, setFeedbackText] = useState14();
7213
7084
  const [isFeedbackSubmitted, setIsFeedbackSubmitted] = useState14(false);
7214
- useEffect21(() => {
7085
+ useEffect20(() => {
7215
7086
  ratingProp !== void 0 && setRating(ratingProp);
7216
7087
  }, [ratingProp]);
7217
- useEffect21(() => {
7088
+ useEffect20(() => {
7218
7089
  feedbackTextProp !== void 0 && setFeedbackText(feedbackTextProp);
7219
7090
  }, [feedbackTextProp]);
7220
- useEffect21(() => {
7091
+ useEffect20(() => {
7221
7092
  isSubmittedProp !== void 0 && setIsFeedbackSubmitted(isSubmittedProp);
7222
7093
  }, [isSubmittedProp]);
7223
7094
  const handleRatingChange = (newRating) => {
@@ -7234,7 +7105,7 @@ var Feedback = ({
7234
7105
  isSubmittedProp === void 0 && setIsFeedbackSubmitted(true);
7235
7106
  };
7236
7107
  if (rating === null && !isFeedbackSubmitted) {
7237
- return /* @__PURE__ */ jsx224(
7108
+ return /* @__PURE__ */ jsx223(
7238
7109
  RatingComponent,
7239
7110
  {
7240
7111
  layout,
@@ -7247,7 +7118,7 @@ var Feedback = ({
7247
7118
  );
7248
7119
  }
7249
7120
  if (!feedbackTextAreaExcluded && !isFeedbackSubmitted) {
7250
- return /* @__PURE__ */ jsx224(
7121
+ return /* @__PURE__ */ jsx223(
7251
7122
  CommentComponent,
7252
7123
  {
7253
7124
  rating,
@@ -7262,11 +7133,11 @@ var Feedback = ({
7262
7133
  }
7263
7134
  );
7264
7135
  }
7265
- return /* @__PURE__ */ jsx224(Paragraph, { children: submittedTitle });
7136
+ return /* @__PURE__ */ jsx223(Paragraph, { children: submittedTitle });
7266
7137
  };
7267
7138
 
7268
7139
  // src/components/Fieldset/Fieldset.tsx
7269
- import { forwardRef as forwardRef46 } from "react";
7140
+ import { forwardRef as forwardRef45 } from "react";
7270
7141
 
7271
7142
  // src/components/Fieldset/Fieldset.module.css
7272
7143
  var Fieldset_default = {
@@ -7274,11 +7145,11 @@ var Fieldset_default = {
7274
7145
  };
7275
7146
 
7276
7147
  // src/components/Fieldset/Fieldset.tsx
7277
- import { jsx as jsx225 } from "react/jsx-runtime";
7278
- var Fieldset = forwardRef46(
7148
+ import { jsx as jsx224 } from "react/jsx-runtime";
7149
+ var Fieldset = forwardRef45(
7279
7150
  (props, ref) => {
7280
7151
  const { id, className, htmlProps, ...rest } = props;
7281
- return /* @__PURE__ */ jsx225(
7152
+ return /* @__PURE__ */ jsx224(
7282
7153
  "fieldset",
7283
7154
  {
7284
7155
  ref,
@@ -7297,14 +7168,14 @@ var Fieldset = forwardRef46(
7297
7168
  import { useId as useId11 } from "react";
7298
7169
 
7299
7170
  // src/components/FileUploader/ErrorList.tsx
7300
- import { jsx as jsx226 } from "react/jsx-runtime";
7171
+ import { jsx as jsx225 } from "react/jsx-runtime";
7301
7172
  var ErrorList = (props) => {
7302
7173
  const { errors } = props;
7303
7174
  if (errors.length < 1) {
7304
7175
  return null;
7305
7176
  }
7306
7177
  if (errors.length === 1) {
7307
- return /* @__PURE__ */ jsx226(
7178
+ return /* @__PURE__ */ jsx225(
7308
7179
  InputMessage,
7309
7180
  {
7310
7181
  id: errors[0].id,
@@ -7313,8 +7184,8 @@ var ErrorList = (props) => {
7313
7184
  }
7314
7185
  );
7315
7186
  }
7316
- return /* @__PURE__ */ jsx226("ul", { className: utilStyles_default["remove-list-styling"], children: errors.map(({ id, message }) => {
7317
- return /* @__PURE__ */ jsx226("li", { children: /* @__PURE__ */ jsx226(
7187
+ return /* @__PURE__ */ jsx225("ul", { className: utilStyles_default["remove-list-styling"], children: errors.map(({ id, message }) => {
7188
+ return /* @__PURE__ */ jsx225("li", { children: /* @__PURE__ */ jsx225(
7318
7189
  InputMessage,
7319
7190
  {
7320
7191
  id,
@@ -7341,30 +7212,30 @@ var FileUploader_default = {
7341
7212
  };
7342
7213
 
7343
7214
  // src/components/FileUploader/File.tsx
7344
- import { jsx as jsx227, jsxs as jsxs50 } from "react/jsx-runtime";
7215
+ import { jsx as jsx226, jsxs as jsxs48 } from "react/jsx-runtime";
7345
7216
  var File = (props) => {
7346
7217
  const { parentId, index, file: stateFile, removeFile, isValid } = props;
7347
7218
  const errorsList = stateFile.errors.map((e, errorIndex) => ({
7348
7219
  id: derivativeIdGenerator(parentId, `file-${index}-error-${errorIndex}`),
7349
7220
  message: e
7350
7221
  }));
7351
- return /* @__PURE__ */ jsxs50("li", { children: [
7352
- /* @__PURE__ */ jsxs50("div", { className: cn(FileUploader_default.file, !isValid && FileUploader_default["file--invalid"]), children: [
7353
- /* @__PURE__ */ jsx227(
7222
+ return /* @__PURE__ */ jsxs48("li", { children: [
7223
+ /* @__PURE__ */ jsxs48("div", { className: cn(FileUploader_default.file, !isValid && FileUploader_default["file--invalid"]), children: [
7224
+ /* @__PURE__ */ jsx226(
7354
7225
  "span",
7355
7226
  {
7356
7227
  className: cn(FileUploader_default.file__name, typographyStyles_default["body-sans-02"]),
7357
7228
  children: stateFile.file.name
7358
7229
  }
7359
7230
  ),
7360
- /* @__PURE__ */ jsx227(
7231
+ /* @__PURE__ */ jsx226(
7361
7232
  Icon,
7362
7233
  {
7363
7234
  icon: isValid ? CheckCircledIcon : ErrorIcon,
7364
7235
  className: FileUploader_default[`file__icon--${isValid ? "valid" : "invalid"}`]
7365
7236
  }
7366
7237
  ),
7367
- /* @__PURE__ */ jsx227(
7238
+ /* @__PURE__ */ jsx226(
7368
7239
  Button,
7369
7240
  {
7370
7241
  size: "small",
@@ -7383,7 +7254,7 @@ var File = (props) => {
7383
7254
  }
7384
7255
  )
7385
7256
  ] }),
7386
- /* @__PURE__ */ jsx227(ErrorList, { errors: errorsList })
7257
+ /* @__PURE__ */ jsx226(ErrorList, { errors: errorsList })
7387
7258
  ] });
7388
7259
  };
7389
7260
 
@@ -7391,7 +7262,7 @@ var File = (props) => {
7391
7262
  import {
7392
7263
  fromEvent as getFilesFromEvent
7393
7264
  } from "file-selector";
7394
- import { useCallback as useCallback6, useEffect as useEffect22, useMemo, useReducer, useRef as useRef22 } from "react";
7265
+ import { useCallback as useCallback6, useEffect as useEffect21, useMemo, useReducer, useRef as useRef21 } from "react";
7395
7266
 
7396
7267
  // src/components/FileUploader/fileUploaderReducer.ts
7397
7268
  var fileUploaderReducer = (state, action) => {
@@ -7490,9 +7361,9 @@ var useFileUploader = (props) => {
7490
7361
  disabled,
7491
7362
  errorMessage
7492
7363
  } = props;
7493
- const rootRef = useRef22(null);
7494
- const inputRef = useRef22(null);
7495
- const buttonRef = useRef22(null);
7364
+ const rootRef = useRef21(null);
7365
+ const inputRef = useRef21(null);
7366
+ const buttonRef = useRef21(null);
7496
7367
  const isControlled = !!value;
7497
7368
  const initialFileUploaderFiles = useMemo(
7498
7369
  () => (initialFiles != null ? initialFiles : []).map((f2) => ({
@@ -7513,7 +7384,7 @@ var useFileUploader = (props) => {
7513
7384
  )
7514
7385
  });
7515
7386
  const { files: stateFiles } = state;
7516
- useEffect22(() => {
7387
+ useEffect21(() => {
7517
7388
  if (isControlled) {
7518
7389
  const files = value.map((file) => {
7519
7390
  const accepted = isFileAccepted(file, accept);
@@ -7528,7 +7399,7 @@ var useFileUploader = (props) => {
7528
7399
  });
7529
7400
  }
7530
7401
  }, [value, isControlled, accept, dispatch]);
7531
- useEffect22(() => {
7402
+ useEffect21(() => {
7532
7403
  dispatch({
7533
7404
  type: "setRootErrors",
7534
7405
  payload: calcRootErrors(stateFiles, maxFiles, errorMessage)
@@ -7675,19 +7546,19 @@ var useFileUploader = (props) => {
7675
7546
  };
7676
7547
 
7677
7548
  // src/components/VisuallyHidden/VisuallyHidden.tsx
7678
- import { jsx as jsx228 } from "react/jsx-runtime";
7549
+ import { jsx as jsx227 } from "react/jsx-runtime";
7679
7550
  var VisuallyHidden = (props) => {
7680
7551
  const { id, className, htmlProps, as, ...rest } = props;
7681
7552
  const cl = cn(className, utilStyles_default["visually-hidden"]);
7682
7553
  if (as === "div") {
7683
- return /* @__PURE__ */ jsx228("div", { ...getBaseHTMLProps(id, cl, htmlProps, rest) });
7554
+ return /* @__PURE__ */ jsx227("div", { ...getBaseHTMLProps(id, cl, htmlProps, rest) });
7684
7555
  }
7685
- return /* @__PURE__ */ jsx228("span", { ...getBaseHTMLProps(id, cl, htmlProps, rest) });
7556
+ return /* @__PURE__ */ jsx227("span", { ...getBaseHTMLProps(id, cl, htmlProps, rest) });
7686
7557
  };
7687
7558
  VisuallyHidden.displayName = "VisuallyHidden";
7688
7559
 
7689
7560
  // src/components/FileUploader/FileUploader.tsx
7690
- import { jsx as jsx229, jsxs as jsxs51 } from "react/jsx-runtime";
7561
+ import { jsx as jsx228, jsxs as jsxs49 } from "react/jsx-runtime";
7691
7562
  var FileUploader = (props) => {
7692
7563
  const {
7693
7564
  id,
@@ -7736,7 +7607,7 @@ var FileUploader = (props) => {
7736
7607
  const tipId = derivativeIdGenerator(uniqueId, "tip");
7737
7608
  const buttonId = derivativeIdGenerator(uniqueId, "button");
7738
7609
  const inputId = derivativeIdGenerator(uniqueId, "input");
7739
- const fileListElements = stateFiles.map((stateFile, index) => /* @__PURE__ */ jsx229(
7610
+ const fileListElements = stateFiles.map((stateFile, index) => /* @__PURE__ */ jsx228(
7740
7611
  File,
7741
7612
  {
7742
7613
  parentId: uniqueId,
@@ -7751,7 +7622,7 @@ var FileUploader = (props) => {
7751
7622
  id: derivativeIdGenerator(uniqueId, `error-${index}`),
7752
7623
  message: e
7753
7624
  }));
7754
- const button = /* @__PURE__ */ jsx229(
7625
+ const button = /* @__PURE__ */ jsx228(
7755
7626
  Button,
7756
7627
  {
7757
7628
  ...getButtonProps(),
@@ -7771,7 +7642,7 @@ var FileUploader = (props) => {
7771
7642
  children: btnLabel
7772
7643
  }
7773
7644
  );
7774
- return /* @__PURE__ */ jsxs51(
7645
+ return /* @__PURE__ */ jsxs49(
7775
7646
  "div",
7776
7647
  {
7777
7648
  id: uniqueId,
@@ -7783,9 +7654,9 @@ var FileUploader = (props) => {
7783
7654
  style: { ...style, width },
7784
7655
  ...rest,
7785
7656
  children: [
7786
- hasLabel && /* @__PURE__ */ jsx229(Label, { id: labelId, showRequiredStyling: showRequiredMarker, children: label }),
7787
- hasTip && /* @__PURE__ */ jsx229(InputMessage, { id: tipId, message: tip, messageType: "tip" }),
7788
- withDragAndDrop ? /* @__PURE__ */ jsxs51(
7657
+ hasLabel && /* @__PURE__ */ jsx228(Label, { id: labelId, showRequiredStyling: showRequiredMarker, children: label }),
7658
+ hasTip && /* @__PURE__ */ jsx228(InputMessage, { id: tipId, message: tip, messageType: "tip" }),
7659
+ withDragAndDrop ? /* @__PURE__ */ jsxs49(
7789
7660
  "div",
7790
7661
  {
7791
7662
  ...getRootProps(),
@@ -7795,7 +7666,7 @@ var FileUploader = (props) => {
7795
7666
  isDragActive && FileUploader_default["input-container--drag-active"]
7796
7667
  ),
7797
7668
  children: [
7798
- /* @__PURE__ */ jsx229(
7669
+ /* @__PURE__ */ jsx228(
7799
7670
  "input",
7800
7671
  {
7801
7672
  ...getInputProps(),
@@ -7804,16 +7675,16 @@ var FileUploader = (props) => {
7804
7675
  }
7805
7676
  ),
7806
7677
  dropAreaLabel,
7807
- /* @__PURE__ */ jsx229(VisuallyHidden, { as: "span", children: "velg fil med p\xE5f\xF8lgende knapp" }),
7678
+ /* @__PURE__ */ jsx228(VisuallyHidden, { as: "span", children: "velg fil med p\xE5f\xF8lgende knapp" }),
7808
7679
  button
7809
7680
  ]
7810
7681
  }
7811
- ) : /* @__PURE__ */ jsxs51("div", { className: FileUploader_default["input-container--no-drag-zone"], children: [
7812
- /* @__PURE__ */ jsx229("input", { ...getInputProps(), id: inputId }),
7682
+ ) : /* @__PURE__ */ jsxs49("div", { className: FileUploader_default["input-container--no-drag-zone"], children: [
7683
+ /* @__PURE__ */ jsx228("input", { ...getInputProps(), id: inputId }),
7813
7684
  button
7814
7685
  ] }),
7815
- /* @__PURE__ */ jsx229(ErrorList, { errors: rootErrorsList }),
7816
- !hideFileList && /* @__PURE__ */ jsx229("ul", { className: utilStyles_default["remove-list-styling"], children: fileListElements })
7686
+ /* @__PURE__ */ jsx228(ErrorList, { errors: rootErrorsList }),
7687
+ !hideFileList && /* @__PURE__ */ jsx228("ul", { className: utilStyles_default["remove-list-styling"], children: fileListElements })
7817
7688
  ]
7818
7689
  }
7819
7690
  );
@@ -7821,7 +7692,7 @@ var FileUploader = (props) => {
7821
7692
  FileUploader.displayName = "FileUploader";
7822
7693
 
7823
7694
  // src/components/Footer/Footer.tsx
7824
- import { forwardRef as forwardRef47 } from "react";
7695
+ import { forwardRef as forwardRef46 } from "react";
7825
7696
 
7826
7697
  // src/components/Footer/Footer.module.css
7827
7698
  var Footer_default = {
@@ -7837,10 +7708,10 @@ var Footer_default = {
7837
7708
  };
7838
7709
 
7839
7710
  // src/components/Footer/Footer.tsx
7840
- import { jsx as jsx230 } from "react/jsx-runtime";
7841
- var Footer = forwardRef47((props, ref) => {
7711
+ import { jsx as jsx229 } from "react/jsx-runtime";
7712
+ var Footer = forwardRef46((props, ref) => {
7842
7713
  const { className, ...rest } = props;
7843
- return /* @__PURE__ */ jsx230(
7714
+ return /* @__PURE__ */ jsx229(
7844
7715
  Contrast,
7845
7716
  {
7846
7717
  as: "footer",
@@ -7852,24 +7723,24 @@ var Footer = forwardRef47((props, ref) => {
7852
7723
  });
7853
7724
 
7854
7725
  // src/components/Footer/FooterListHeader.tsx
7855
- import { forwardRef as forwardRef48 } from "react";
7856
- import { jsx as jsx231 } from "react/jsx-runtime";
7857
- var FooterListHeader = forwardRef48((props, ref) => {
7858
- return /* @__PURE__ */ jsx231(Heading, { level: 2, typographyType: "headingSans02", ref, ...props });
7726
+ import { forwardRef as forwardRef47 } from "react";
7727
+ import { jsx as jsx230 } from "react/jsx-runtime";
7728
+ var FooterListHeader = forwardRef47((props, ref) => {
7729
+ return /* @__PURE__ */ jsx230(Heading, { level: 2, typographyType: "headingSans02", ref, ...props });
7859
7730
  });
7860
7731
 
7861
7732
  // src/components/Footer/FooterLogo.tsx
7862
- import { forwardRef as forwardRef49 } from "react";
7733
+ import { forwardRef as forwardRef48 } from "react";
7863
7734
 
7864
7735
  // src/components/Footer/norges_domstoler_logo.svg
7865
7736
  var norges_domstoler_logo_default = 'data:image/svg+xml,<svg width="151" height="80" viewBox="0 0 151 80" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g id="Logo" clip-path="url(%23clip0_18254_1882)">%0A<path id="Vector" d="M0 19.5721V0.38501H3.50998L9.51314 13.2128C10.169 14.6541 10.6734 16.1596 11.0182 17.7051H11.1848C10.9502 16.2655 10.8311 14.8093 10.8287 13.3507V0.38501H13.0174V19.5721H9.51314L3.50998 6.77306C2.84978 5.3389 2.34334 3.83883 1.99914 2.29798H1.83829C2.07013 3.73991 2.18921 5.19772 2.19446 6.65817V19.5721H0Z" fill="white"/>%0A<path id="Vector_2" d="M19.2848 17.4063C17.9942 15.7059 17.3489 13.2299 17.3489 9.97846C17.3489 6.72699 17.9942 4.25104 19.2848 2.55062C20.5716 0.850208 22.4118 0 24.8054 0C27.199 0 29.0488 0.844463 30.3548 2.53339C31.6416 4.25679 32.2907 6.70401 32.2907 10.0014C32.2907 13.2989 31.6416 15.7461 30.3548 17.4695C29.068 19.1929 27.2182 20.0029 24.8054 20.0029C22.3927 20.0029 20.5716 19.101 19.2848 17.4063ZM21.3357 4.05572C20.6003 5.31955 20.2308 7.29379 20.2269 9.97846C20.2231 12.6631 20.5927 14.6355 21.3357 15.8954C21.6776 16.4998 22.1813 16.9969 22.7902 17.3307C23.3991 17.6646 24.089 17.8221 24.7825 17.7854C25.4832 17.8288 26.182 17.6747 26.7994 17.3406C27.4169 17.0064 27.9282 16.5058 28.2752 15.8954C29.0143 14.6355 29.3858 12.6631 29.3897 9.97846C29.3935 7.29379 29.0297 5.31955 28.2982 4.05572C27.9502 3.44633 27.4387 2.9464 26.8215 2.61242C26.2042 2.27844 25.5059 2.12372 24.8054 2.16573C24.1083 2.12541 23.4138 2.28107 22.8006 2.6151C22.1874 2.94912 21.6799 3.44817 21.3357 4.05572Z" fill="white"/>%0A<path id="Vector_3" d="M48.594 15.5968C48.8111 16.9446 49.1318 18.2737 49.5534 19.5721H46.5317C46.4288 19.2619 46.3463 18.9453 46.2847 18.6243C46.21 18.2681 46.1238 17.7856 46.0376 17.1709C45.9515 16.5562 45.8825 16.1254 45.8423 15.8668C45.5513 13.9903 45.1415 12.7207 44.613 12.0581C44.0845 11.3956 43.2151 11.0681 42.0049 11.0758H39.1326V19.5721H36.4556V0.38501H43.0045C44.7968 0.38501 46.1813 0.815859 47.1693 1.6833C47.6677 2.13766 48.0592 2.69689 48.3154 3.32072C48.5717 3.94454 48.6865 4.61743 48.6515 5.29094C48.6898 5.93617 48.5867 6.58197 48.3496 7.18326C48.1125 7.78455 47.7469 8.32682 47.2785 8.7722C46.2192 9.64565 44.8691 10.0868 43.4985 10.0073H42.7287V10.1681L43.5272 10.1969C44.1017 10.2313 44.4866 10.2658 44.7566 10.2945C45.102 10.3329 45.4427 10.4061 45.7734 10.5128C46.1234 10.601 46.4442 10.7792 46.704 11.0298C46.968 11.3147 47.2064 11.6223 47.4164 11.949C47.7076 12.4082 47.9301 12.9075 48.077 13.4311C48.2551 14.0343 48.4332 14.7581 48.594 15.5968ZM39.167 9.09964H42.43C42.8862 9.13106 43.3441 9.06822 43.775 8.91503C44.2059 8.76184 44.6006 8.52159 44.9347 8.20922C45.241 7.86617 45.4755 7.4653 45.6245 7.03021C45.7734 6.59512 45.8338 6.13462 45.8021 5.67583C45.8021 3.48138 44.6781 2.38415 42.43 2.38415H39.167V9.09964Z" fill="white"/>%0A<path id="Vector_4" d="M63.8634 6.27892C63.8374 5.16647 63.448 4.0931 62.7547 3.22277C62.4351 2.8708 62.0419 2.59361 61.6031 2.41091C61.1642 2.22821 60.6904 2.14451 60.2155 2.16575C59.518 2.12433 58.8231 2.28288 58.2125 2.62276C57.6019 2.96264 57.1011 3.46974 56.7688 4.08447C56.0334 5.36744 55.6658 7.33211 55.6658 9.97848C55.6658 12.6248 56.0315 14.5933 56.763 15.884C57.0847 16.4915 57.5726 16.995 58.1697 17.3358C58.7668 17.6765 59.4484 17.8404 60.1351 17.8084C62.8581 17.8084 64.2196 15.974 64.2196 12.3051V11.6214H59.9168V9.64529H66.7415V19.572H64.5757V17.6246C64.5824 16.3521 64.6552 15.0808 64.794 13.8159H64.6274C64.4283 15.9338 63.9132 17.4867 63.0821 18.4748C62.2491 19.4629 61.0198 19.9512 59.3941 19.9512C58.4312 19.9882 57.4753 19.7741 56.6202 19.3299C55.7651 18.8857 55.0403 18.2268 54.5169 17.4178C53.3679 15.7289 52.7935 13.2759 52.7935 10.0589C52.7935 6.77296 53.4292 4.28361 54.7007 2.59086C55.9722 0.898101 57.8009 0.0344883 60.1868 2.04411e-05C61.7689 -0.0690547 63.3242 0.425623 64.5757 1.39597C65.1677 1.92295 65.6473 2.56392 65.9859 3.28052C66.3244 3.99712 66.515 4.77464 66.5461 5.56659L63.8634 6.27892Z" fill="white"/>%0A<path id="Vector_5" d="M74.824 17.5673H82.8034V19.5721H72.1125V0.38501H82.6368V2.38415H74.824V8.66305H82.0048V10.6622H74.824V17.5673Z" fill="white"/>%0A<path id="Vector_6" d="M93.0633 19.9512C90.9953 19.9512 89.3695 19.4342 88.1804 18.3887C87.5786 17.8382 87.1032 17.164 86.7869 16.4123C86.4705 15.6606 86.3207 14.8493 86.3478 14.0342L89.0421 13.2645C89.1876 16.3283 90.5491 17.8602 93.1265 17.8602C94.0518 17.9146 94.9669 17.6422 95.7116 17.0904C96.0388 16.8086 96.2951 16.4538 96.4598 16.0546C96.6245 15.6554 96.6929 15.2231 96.6595 14.7925C96.6595 13.3334 95.838 12.284 94.195 11.6445L91.0699 10.3806C88.4159 9.32362 87.0908 7.55236 87.0947 5.06684C87.054 4.35555 87.1815 3.64468 87.467 2.99192C87.7524 2.33915 88.1878 1.76287 88.7376 1.30984C90.0484 0.449859 91.5818 -0.00830078 93.1495 -0.00830078C94.7172 -0.00830078 96.2507 0.449859 97.5614 1.30984C98.139 1.77201 98.6034 2.36008 98.919 3.02914C99.2346 3.6982 99.3931 4.43055 99.3825 5.17024L96.7801 5.9113C96.6155 3.36451 95.4014 2.09302 93.138 2.09685C92.2848 2.02806 91.4347 2.26195 90.7368 2.75749C90.4435 3.00371 90.2126 3.31574 90.0629 3.66814C89.9131 4.02055 89.8488 4.40335 89.8751 4.78535C89.835 5.48253 90.0539 6.16994 90.4897 6.71555C91.0398 7.27423 91.7096 7.70051 92.4487 7.96214L95.3612 9.15703C98.042 10.2294 99.3825 12.0006 99.3825 14.4708C99.4281 15.2308 99.2996 15.9911 99.0069 16.694C98.7143 17.3968 98.2651 18.0236 97.6935 18.5266C96.602 19.4802 95.051 19.9512 93.0633 19.9512Z" fill="white"/>%0A<path id="Vector_7" d="M5.2104 35.4617C7.95251 35.4617 9.98037 36.308 11.294 38.0008C12.6076 39.6936 13.2644 42.045 13.2644 45.0552C13.2644 48.0884 12.6076 50.4456 11.294 52.1269C9.98037 53.8082 7.95251 54.6488 5.2104 54.6488H0V35.4617H5.2104ZM4.96338 52.6497C6.97401 52.6497 8.3757 52.0063 9.17995 50.7195C9.9842 49.4327 10.3863 47.5427 10.3863 45.0552C10.3863 42.5678 9.9842 40.6836 9.17995 39.3968C8.3757 38.11 6.97401 37.4666 4.96338 37.4666H2.71148V52.6497H4.96338Z" fill="white"/>%0A<path id="Vector_8" d="M18.5954 52.4831C17.3047 50.7903 16.6594 48.3144 16.6594 45.0552C16.6594 41.7961 17.3047 39.3202 18.5954 37.6274C19.8898 35.9308 21.732 35.0825 24.1217 35.0825C26.5115 35.0825 28.3613 35.927 29.6711 37.6159C30.954 39.3048 31.5955 41.7846 31.5955 45.0552C31.5955 48.3259 30.9521 50.8152 29.6653 52.5233C28.3823 54.1969 26.5364 55.0337 24.1275 55.0337C21.7185 55.0337 19.8745 54.1835 18.5954 52.4831ZM20.6807 39.1382C19.9147 40.3944 19.5317 42.3667 19.5317 45.0552C19.5317 47.7437 19.9147 49.718 20.6807 50.978C21.0254 51.5787 21.5302 52.0719 22.1388 52.4025C22.7474 52.7332 23.4359 52.8884 24.1275 52.8507C24.8279 52.8921 25.5259 52.7371 26.143 52.4031C26.7601 52.0692 27.2717 51.5697 27.6202 50.9607C28.3555 49.7084 28.7232 47.7399 28.7232 45.0552C28.7232 42.3706 28.3536 40.3982 27.6145 39.1382C27.2674 38.5293 26.7569 38.0296 26.1407 37.6956C25.5245 37.3616 24.8271 37.2067 24.1275 37.2483C23.434 37.2116 22.7441 37.3691 22.1352 37.703C21.5264 38.0368 21.0226 38.5339 20.6807 39.1382Z" fill="white"/>%0A<path id="Vector_9" d="M35.7661 54.6488V35.4617H39.7414L42.8148 46.1237C43.5024 48.2936 43.9079 50.5429 44.0212 52.8163H44.2337C44.2993 50.5424 44.6861 48.2893 45.3827 46.1237L48.5939 35.4617H52.2762V54.6488H49.6911V43.7684C49.6911 41.5223 49.7773 39.414 49.9382 37.4493H49.7486C49.4555 39.2625 49.0527 41.0562 48.5422 42.8206L45.0954 54.6603H42.6827L39.121 42.5965C38.6304 40.9144 38.2467 39.2029 37.9721 37.4723H37.7767C37.9261 39.2417 38.0008 41.2638 38.0008 43.5272V54.6488H35.7661Z" fill="white"/>%0A<path id="Vector_10" d="M63.2314 55.0338C61.171 55.0338 59.5452 54.513 58.3542 53.4713C57.7505 52.9221 57.2734 52.2482 56.9559 51.4963C56.6385 50.7444 56.4884 49.9325 56.5159 49.1168L59.1699 48.3471C59.3155 51.4109 60.6769 52.9428 63.2544 52.9428C64.1809 52.9928 65.0963 52.7208 65.8452 52.173C66.1703 51.8898 66.4248 51.5346 66.5883 51.1356C66.7519 50.7367 66.82 50.3051 66.7873 49.8751C66.7873 48.416 65.9659 47.3647 64.3229 46.7213L61.1978 45.4632C58.5476 44.3986 57.2225 42.6254 57.2225 40.1437C57.1827 39.4334 57.3107 38.7236 57.5962 38.0719C57.8816 37.4202 58.3164 36.8449 58.8655 36.3924C60.1497 35.4549 61.7185 34.9902 63.3061 35.0769C64.8757 35.0068 66.4227 35.4705 67.695 36.3924C68.2714 36.8566 68.7344 37.4461 69.0489 38.116C69.3635 38.7859 69.5213 39.5186 69.5103 40.2586L66.9022 40.9997C66.7414 38.4605 65.5273 37.1909 63.2601 37.1909C62.4071 37.1241 61.5576 37.3578 60.8589 37.8516C60.5656 38.0978 60.3347 38.4098 60.185 38.7622C60.0352 39.1146 59.9709 39.4974 59.9972 39.8794C59.9571 40.5766 60.176 41.264 60.6118 41.8096C61.1632 42.3762 61.8346 42.812 62.5765 43.085L65.535 44.2339C68.2158 45.3139 69.5563 47.0871 69.5563 49.5534C69.6008 50.3128 69.4725 51.0723 69.181 51.7748C68.8894 52.4773 68.4422 53.1045 67.8731 53.6092C66.7529 54.5743 65.2076 55.0338 63.2314 55.0338Z" fill="white"/>%0A<path id="Vector_11" d="M85.8997 35.4617V37.6274H80.6376V54.6488H77.9491V37.6274H72.687V35.4617H85.8997Z" fill="white"/>%0A<path id="Vector_12" d="M90.4092 52.4831C89.1148 50.7903 88.4675 48.3144 88.4675 45.0552C88.4675 41.7961 89.1128 39.3202 90.4035 37.6274C91.6903 35.9308 93.5305 35.0825 95.9241 35.0825C98.3177 35.0825 100.167 35.927 101.473 37.6159C102.76 39.3048 103.404 41.7942 103.404 45.084C103.404 48.3737 102.76 50.8631 101.473 52.552C100.19 54.2065 98.3445 55.0337 95.9356 55.0337C93.5267 55.0337 91.6845 54.1835 90.4092 52.4831ZM92.4888 39.1382C91.7228 40.3944 91.3399 42.3667 91.3399 45.0552C91.3399 47.7437 91.7228 49.718 92.4888 50.978C92.866 51.5576 93.382 52.034 93.9899 52.3637C94.5978 52.6934 95.2785 52.8661 95.97 52.8661C96.6616 52.8661 97.3423 52.6934 97.9502 52.3637C98.5581 52.034 99.0741 51.5576 99.4513 50.978C100.171 49.7141 100.531 47.7399 100.531 45.0552C100.531 42.3706 100.162 40.3982 99.4226 39.1382C99.0454 38.5586 98.5294 38.0823 97.9215 37.7525C97.3136 37.4228 96.6329 37.2501 95.9413 37.2501C95.2497 37.2501 94.5691 37.4228 93.9612 37.7525C93.3532 38.0823 92.8373 38.5586 92.4601 39.1382H92.4888Z" fill="white"/>%0A<path id="Vector_13" d="M107.58 35.4617H110.297V52.4831H117.915V54.6488H107.574L107.58 35.4617Z" fill="white"/>%0A<path id="Vector_14" d="M124.544 52.6497H132.518V54.6488H121.833V35.4617H132.357V37.4666H124.544V43.7397H131.725V45.7446H124.544V52.6497Z" fill="white"/>%0A<path id="Vector_15" d="M149.321 50.6735C149.534 52.022 149.855 53.3513 150.28 54.6488H147.264C147.163 54.3399 147.081 54.0253 147.017 53.7067C146.942 53.3505 146.862 52.8622 146.77 52.2533C146.678 51.6444 146.615 51.2078 146.581 50.9493C146.289 49.0688 145.878 47.7993 145.345 47.1405C144.817 46.4857 143.949 46.1525 142.743 46.1525H139.871V54.6488H137.154V35.4617H143.731C145.52 35.4617 146.908 35.8963 147.896 36.7657C148.392 37.2209 148.781 37.7807 149.034 38.4047C149.288 39.0286 149.399 39.701 149.361 40.3733C149.394 41.0129 149.289 41.6521 149.052 42.247C148.815 42.8419 148.452 43.3786 147.988 43.8201C146.93 44.6951 145.579 45.1365 144.208 45.0552H143.438V45.2218H144.231C144.805 45.2563 145.19 45.285 145.466 45.3137C145.811 45.3579 146.151 45.4309 146.483 45.532C146.833 45.6236 147.153 45.8036 147.413 46.0548C147.676 46.3411 147.914 46.6485 148.126 46.9739C148.422 47.451 148.645 47.97 148.786 48.5135C148.982 49.1167 149.154 49.8348 149.321 50.6735ZM139.894 44.1821H143.151C143.608 44.2136 144.067 44.1508 144.499 43.9976C144.931 43.8445 145.326 43.6042 145.661 43.2916C146.273 42.5923 146.583 41.6795 146.523 40.7525C146.523 38.5638 145.403 37.4666 143.151 37.4666H139.894V44.1821Z" fill="white"/>%0A<path id="Vector_16" d="M150.389 75.0137H0V80H150.389V75.0137Z" fill="white"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_18254_1882">%0A<rect width="150.389" height="80" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';
7866
7737
 
7867
7738
  // src/components/Footer/FooterLogo.tsx
7868
- import { jsx as jsx232 } from "react/jsx-runtime";
7869
- var FooterLogo = forwardRef49(
7739
+ import { jsx as jsx231 } from "react/jsx-runtime";
7740
+ var FooterLogo = forwardRef48(
7870
7741
  (props, ref) => {
7871
7742
  const { className, hideBreakpoint, ...rest } = props;
7872
- return /* @__PURE__ */ jsx232(
7743
+ return /* @__PURE__ */ jsx231(
7873
7744
  "img",
7874
7745
  {
7875
7746
  ref,
@@ -7888,12 +7759,12 @@ var FooterLogo = forwardRef49(
7888
7759
  );
7889
7760
 
7890
7761
  // src/components/Footer/FooterList.tsx
7891
- import { forwardRef as forwardRef50 } from "react";
7892
- import { jsx as jsx233 } from "react/jsx-runtime";
7893
- var FooterList = forwardRef50(
7762
+ import { forwardRef as forwardRef49 } from "react";
7763
+ import { jsx as jsx232 } from "react/jsx-runtime";
7764
+ var FooterList = forwardRef49(
7894
7765
  (props, ref) => {
7895
7766
  const { className, ...rest } = props;
7896
- return /* @__PURE__ */ jsx233(
7767
+ return /* @__PURE__ */ jsx232(
7897
7768
  "ul",
7898
7769
  {
7899
7770
  ref,
@@ -7909,11 +7780,11 @@ var FooterList = forwardRef50(
7909
7780
  );
7910
7781
 
7911
7782
  // src/components/Footer/FooterSocialsList.tsx
7912
- import { forwardRef as forwardRef51 } from "react";
7913
- import { jsx as jsx234 } from "react/jsx-runtime";
7914
- var FooterSocialsList = forwardRef51((props, ref) => {
7783
+ import { forwardRef as forwardRef50 } from "react";
7784
+ import { jsx as jsx233 } from "react/jsx-runtime";
7785
+ var FooterSocialsList = forwardRef50((props, ref) => {
7915
7786
  const { className, ...rest } = props;
7916
- return /* @__PURE__ */ jsx234(
7787
+ return /* @__PURE__ */ jsx233(
7917
7788
  "ul",
7918
7789
  {
7919
7790
  ref,
@@ -7928,11 +7799,11 @@ var FooterSocialsList = forwardRef51((props, ref) => {
7928
7799
  });
7929
7800
 
7930
7801
  // src/components/Footer/FooterSocialsGroup.tsx
7931
- import { forwardRef as forwardRef52 } from "react";
7932
- import { jsx as jsx235 } from "react/jsx-runtime";
7933
- var FooterSocialsGroup = forwardRef52((props, ref) => {
7802
+ import { forwardRef as forwardRef51 } from "react";
7803
+ import { jsx as jsx234 } from "react/jsx-runtime";
7804
+ var FooterSocialsGroup = forwardRef51((props, ref) => {
7934
7805
  const { className, ...rest } = props;
7935
- return /* @__PURE__ */ jsx235(
7806
+ return /* @__PURE__ */ jsx234(
7936
7807
  "div",
7937
7808
  {
7938
7809
  ref,
@@ -7943,12 +7814,12 @@ var FooterSocialsGroup = forwardRef52((props, ref) => {
7943
7814
  });
7944
7815
 
7945
7816
  // src/components/Footer/FooterListGroup.tsx
7946
- import { forwardRef as forwardRef53 } from "react";
7947
- import { jsx as jsx236 } from "react/jsx-runtime";
7948
- var FooterListGroup = forwardRef53(
7817
+ import { forwardRef as forwardRef52 } from "react";
7818
+ import { jsx as jsx235 } from "react/jsx-runtime";
7819
+ var FooterListGroup = forwardRef52(
7949
7820
  (props, ref) => {
7950
7821
  const { className, ...rest } = props;
7951
- return /* @__PURE__ */ jsx236(
7822
+ return /* @__PURE__ */ jsx235(
7952
7823
  "div",
7953
7824
  {
7954
7825
  ref,
@@ -7960,17 +7831,17 @@ var FooterListGroup = forwardRef53(
7960
7831
  );
7961
7832
 
7962
7833
  // src/components/Footer/FooterLeft.tsx
7963
- import { forwardRef as forwardRef54 } from "react";
7964
- import { jsx as jsx237 } from "react/jsx-runtime";
7965
- var FooterLeft = forwardRef54(
7834
+ import { forwardRef as forwardRef53 } from "react";
7835
+ import { jsx as jsx236 } from "react/jsx-runtime";
7836
+ var FooterLeft = forwardRef53(
7966
7837
  (props, ref) => {
7967
7838
  const { className, ...rest } = props;
7968
- return /* @__PURE__ */ jsx237("div", { ref, className: cn(className, Footer_default["left"]), ...rest });
7839
+ return /* @__PURE__ */ jsx236("div", { ref, className: cn(className, Footer_default["left"]), ...rest });
7969
7840
  }
7970
7841
  );
7971
7842
 
7972
7843
  // src/components/GlobalMessage/GlobalMessage.tsx
7973
- import { forwardRef as forwardRef55, useState as useState15 } from "react";
7844
+ import { forwardRef as forwardRef54, useState as useState15 } from "react";
7974
7845
 
7975
7846
  // src/components/GlobalMessage/GlobalMessage.module.css
7976
7847
  var GlobalMessage_default = {
@@ -7984,7 +7855,7 @@ var GlobalMessage_default = {
7984
7855
  };
7985
7856
 
7986
7857
  // src/components/GlobalMessage/GlobalMessage.tsx
7987
- import { jsx as jsx238, jsxs as jsxs52 } from "react/jsx-runtime";
7858
+ import { jsx as jsx237, jsxs as jsxs50 } from "react/jsx-runtime";
7988
7859
  var purposeVariants = {
7989
7860
  info: {
7990
7861
  icon: InfoIcon
@@ -7996,7 +7867,7 @@ var purposeVariants = {
7996
7867
  icon: WarningIcon
7997
7868
  }
7998
7869
  };
7999
- var GlobalMessage = forwardRef55(
7870
+ var GlobalMessage = forwardRef54(
8000
7871
  (props, ref) => {
8001
7872
  const {
8002
7873
  message,
@@ -8010,7 +7881,7 @@ var GlobalMessage = forwardRef55(
8010
7881
  ...rest
8011
7882
  } = props;
8012
7883
  const [isClosed, setClosed] = useState15(false);
8013
- return !isClosed ? /* @__PURE__ */ jsxs52(
7884
+ return !isClosed ? /* @__PURE__ */ jsxs50(
8014
7885
  "div",
8015
7886
  {
8016
7887
  ref,
@@ -8026,7 +7897,7 @@ var GlobalMessage = forwardRef55(
8026
7897
  rest
8027
7898
  ),
8028
7899
  children: [
8029
- /* @__PURE__ */ jsxs52(
7900
+ /* @__PURE__ */ jsxs50(
8030
7901
  "div",
8031
7902
  {
8032
7903
  className: cn(
@@ -8034,12 +7905,12 @@ var GlobalMessage = forwardRef55(
8034
7905
  closable && GlobalMessage_default["content--closable"]
8035
7906
  ),
8036
7907
  children: [
8037
- /* @__PURE__ */ jsx238(Icon, { icon: purposeVariants[purpose].icon, className: GlobalMessage_default.icon }),
8038
- children != null ? children : /* @__PURE__ */ jsx238("span", { children: message })
7908
+ /* @__PURE__ */ jsx237(Icon, { icon: purposeVariants[purpose].icon, className: GlobalMessage_default.icon }),
7909
+ children != null ? children : /* @__PURE__ */ jsx237("span", { children: message })
8039
7910
  ]
8040
7911
  }
8041
7912
  ),
8042
- closable && /* @__PURE__ */ jsx238(
7913
+ closable && /* @__PURE__ */ jsx237(
8043
7914
  Button,
8044
7915
  {
8045
7916
  icon: CloseIcon,
@@ -8070,7 +7941,7 @@ var Grid_default = {
8070
7941
  };
8071
7942
 
8072
7943
  // src/components/Grid/Grid.tsx
8073
- import { jsx as jsx239 } from "react/jsx-runtime";
7944
+ import { jsx as jsx238 } from "react/jsx-runtime";
8074
7945
  var Grid = (props) => {
8075
7946
  const {
8076
7947
  id,
@@ -8115,13 +7986,13 @@ var Grid = (props) => {
8115
7986
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
8116
7987
  ["--dds-grid-xl-column-gap"]: (columnGap == null ? void 0 : columnGap.xl) ? columnGap.xl : "var(--dds-grid-xl-gutter-size)"
8117
7988
  };
8118
- return as === "div" ? /* @__PURE__ */ jsx239(
7989
+ return as === "div" ? /* @__PURE__ */ jsx238(
8119
7990
  "div",
8120
7991
  {
8121
7992
  ...getBaseHTMLProps(id, cn(className, Grid_default.grid), htmlProps, rest),
8122
7993
  style: { ...htmlProps == null ? void 0 : htmlProps.style, ...styleVariables }
8123
7994
  }
8124
- ) : /* @__PURE__ */ jsx239(
7995
+ ) : /* @__PURE__ */ jsx238(
8125
7996
  "form",
8126
7997
  {
8127
7998
  ...getBaseHTMLProps(id, cn(className, Grid_default.grid), htmlProps, rest),
@@ -8132,7 +8003,7 @@ var Grid = (props) => {
8132
8003
  Grid.displayName = "Grid";
8133
8004
 
8134
8005
  // src/components/Grid/GridChild.tsx
8135
- import { jsx as jsx240 } from "react/jsx-runtime";
8006
+ import { jsx as jsx239 } from "react/jsx-runtime";
8136
8007
  var isRelativeGridColumn = (type) => {
8137
8008
  return type === "all" || type === "firstHalf" || type === "secondHalf";
8138
8009
  };
@@ -8182,7 +8053,7 @@ var GridChild = (props) => {
8182
8053
  firstHalf: "first-half",
8183
8054
  secondHalf: "second-half"
8184
8055
  };
8185
- return /* @__PURE__ */ jsx240(
8056
+ return /* @__PURE__ */ jsx239(
8186
8057
  "div",
8187
8058
  {
8188
8059
  ...getBaseHTMLProps(
@@ -8203,7 +8074,7 @@ var GridChild = (props) => {
8203
8074
  GridChild.displayName = "GridChild";
8204
8075
 
8205
8076
  // src/components/InlineButton/InlineButton.tsx
8206
- import { forwardRef as forwardRef56 } from "react";
8077
+ import { forwardRef as forwardRef55 } from "react";
8207
8078
 
8208
8079
  // src/components/InlineButton/InlineButton.module.css
8209
8080
  var InlineButton_default = {
@@ -8211,11 +8082,11 @@ var InlineButton_default = {
8211
8082
  };
8212
8083
 
8213
8084
  // src/components/InlineButton/InlineButton.tsx
8214
- import { jsx as jsx241 } from "react/jsx-runtime";
8215
- var InlineButton = forwardRef56(
8085
+ import { jsx as jsx240 } from "react/jsx-runtime";
8086
+ var InlineButton = forwardRef55(
8216
8087
  (props, ref) => {
8217
8088
  const { className, ...rest } = props;
8218
- return /* @__PURE__ */ jsx241(
8089
+ return /* @__PURE__ */ jsx240(
8219
8090
  "button",
8220
8091
  {
8221
8092
  ref,
@@ -8234,7 +8105,7 @@ var InlineButton = forwardRef56(
8234
8105
  );
8235
8106
 
8236
8107
  // src/components/InlineEdit/InlineEditTextArea.tsx
8237
- import { forwardRef as forwardRef58, useRef as useRef24 } from "react";
8108
+ import { forwardRef as forwardRef57, useRef as useRef23 } from "react";
8238
8109
 
8239
8110
  // src/components/InlineEdit/InlineEdit.tsx
8240
8111
  import {
@@ -8243,7 +8114,7 @@ import {
8243
8114
  isValidElement as isValidElement6,
8244
8115
  useState as useState16
8245
8116
  } from "react";
8246
- import { Fragment as Fragment8, jsx as jsx242 } from "react/jsx-runtime";
8117
+ import { Fragment as Fragment6, jsx as jsx241 } from "react/jsx-runtime";
8247
8118
  var InlineEdit = (props) => {
8248
8119
  const {
8249
8120
  emptiable,
@@ -8293,12 +8164,12 @@ var InlineEdit = (props) => {
8293
8164
  emptiable
8294
8165
  })
8295
8166
  );
8296
- return /* @__PURE__ */ jsx242(Fragment8, { children: inputChild });
8167
+ return /* @__PURE__ */ jsx241(Fragment6, { children: inputChild });
8297
8168
  };
8298
8169
  InlineEdit.displayName = "InlineEdit";
8299
8170
 
8300
8171
  // src/components/InlineEdit/InlineTextArea.tsx
8301
- import { forwardRef as forwardRef57, useId as useId12, useRef as useRef23 } from "react";
8172
+ import { forwardRef as forwardRef56, useId as useId12, useRef as useRef22 } from "react";
8302
8173
 
8303
8174
  // src/components/InlineEdit/InlineEdit.module.css
8304
8175
  var InlineEdit_default = {
@@ -8311,16 +8182,16 @@ var InlineEdit_default = {
8311
8182
  };
8312
8183
 
8313
8184
  // src/components/InlineEdit/InlineEdit.utils.tsx
8314
- import { jsxs as jsxs53 } from "react/jsx-runtime";
8315
- var inlineEditVisuallyHidden = (id, emptiable) => /* @__PURE__ */ jsxs53(VisuallyHidden, { id, as: "span", children: [
8185
+ import { jsxs as jsxs51 } from "react/jsx-runtime";
8186
+ var inlineEditVisuallyHidden = (id, emptiable) => /* @__PURE__ */ jsxs51(VisuallyHidden, { id, as: "span", children: [
8316
8187
  "Escape, Enter eller Tab for \xE5 lagre.",
8317
8188
  " ",
8318
8189
  !emptiable && "Inputfeltet er ikke t\xF8mmbar."
8319
8190
  ] });
8320
8191
 
8321
8192
  // src/components/InlineEdit/InlineTextArea.tsx
8322
- import { jsx as jsx243, jsxs as jsxs54 } from "react/jsx-runtime";
8323
- var InlineTextArea = forwardRef57((props, ref) => {
8193
+ import { jsx as jsx242, jsxs as jsxs52 } from "react/jsx-runtime";
8194
+ var InlineTextArea = forwardRef56((props, ref) => {
8324
8195
  const {
8325
8196
  id,
8326
8197
  error,
@@ -8339,11 +8210,11 @@ var InlineTextArea = forwardRef57((props, ref) => {
8339
8210
  const hasError = !!error;
8340
8211
  const hasErrorState = hasError || hasErrorMessage;
8341
8212
  const descId = derivativeIdGenerator(uniqueId, "desc");
8342
- const inputRef = useRef23(null);
8213
+ const inputRef = useRef22(null);
8343
8214
  const combinedRef = useCombinedRef(ref, inputRef);
8344
- return /* @__PURE__ */ jsxs54("div", { className: InlineEdit_default.container, style: { width }, children: [
8345
- /* @__PURE__ */ jsxs54("div", { className: Input_default["input-group"], children: [
8346
- !isEditing && !hideIcon && /* @__PURE__ */ jsx243(
8215
+ return /* @__PURE__ */ jsxs52("div", { className: InlineEdit_default.container, style: { width }, children: [
8216
+ /* @__PURE__ */ jsxs52("div", { className: Input_default["input-group"], children: [
8217
+ !isEditing && !hideIcon && /* @__PURE__ */ jsx242(
8347
8218
  "span",
8348
8219
  {
8349
8220
  onClick: () => {
@@ -8351,10 +8222,10 @@ var InlineTextArea = forwardRef57((props, ref) => {
8351
8222
  (_a = inputRef.current) == null ? void 0 : _a.focus();
8352
8223
  },
8353
8224
  className: InlineEdit_default["icon-wrapper"],
8354
- children: /* @__PURE__ */ jsx243(Icon, { icon: EditIcon, iconSize: "small" })
8225
+ children: /* @__PURE__ */ jsx242(Icon, { icon: EditIcon, iconSize: "small" })
8355
8226
  }
8356
8227
  ),
8357
- /* @__PURE__ */ jsx243(
8228
+ /* @__PURE__ */ jsx242(
8358
8229
  "textarea",
8359
8230
  {
8360
8231
  ...rest,
@@ -8386,12 +8257,12 @@ var InlineTextArea = forwardRef57((props, ref) => {
8386
8257
  InlineTextArea.displayName = "InlineTextArea";
8387
8258
 
8388
8259
  // src/components/InlineEdit/InlineEditTextArea.tsx
8389
- import { jsx as jsx244 } from "react/jsx-runtime";
8390
- var InlineEditTextArea = forwardRef58((props, ref) => {
8260
+ import { jsx as jsx243 } from "react/jsx-runtime";
8261
+ var InlineEditTextArea = forwardRef57((props, ref) => {
8391
8262
  const { onSetValue, emptiable, value, onFocus, onChange, onBlur, ...rest } = props;
8392
- const textareaRef = useRef24(null);
8263
+ const textareaRef = useRef23(null);
8393
8264
  const combinedRef = useCombinedRef(ref, textareaRef);
8394
- return /* @__PURE__ */ jsx244(
8265
+ return /* @__PURE__ */ jsx243(
8395
8266
  InlineEdit,
8396
8267
  {
8397
8268
  onSetValue,
@@ -8401,18 +8272,18 @@ var InlineEditTextArea = forwardRef58((props, ref) => {
8401
8272
  onFocus,
8402
8273
  onChange,
8403
8274
  onBlur,
8404
- children: /* @__PURE__ */ jsx244(InlineTextArea, { ref: combinedRef, ...rest })
8275
+ children: /* @__PURE__ */ jsx243(InlineTextArea, { ref: combinedRef, ...rest })
8405
8276
  }
8406
8277
  );
8407
8278
  });
8408
8279
 
8409
8280
  // src/components/InlineEdit/InlineEditInput.tsx
8410
- import { forwardRef as forwardRef60, useRef as useRef26 } from "react";
8281
+ import { forwardRef as forwardRef59, useRef as useRef25 } from "react";
8411
8282
 
8412
8283
  // src/components/InlineEdit/InlineInput.tsx
8413
- import { forwardRef as forwardRef59, useId as useId13, useRef as useRef25 } from "react";
8414
- import { jsx as jsx245, jsxs as jsxs55 } from "react/jsx-runtime";
8415
- var InlineInput = forwardRef59(
8284
+ import { forwardRef as forwardRef58, useId as useId13, useRef as useRef24 } from "react";
8285
+ import { jsx as jsx244, jsxs as jsxs53 } from "react/jsx-runtime";
8286
+ var InlineInput = forwardRef58(
8416
8287
  (props, ref) => {
8417
8288
  const {
8418
8289
  id,
@@ -8432,11 +8303,11 @@ var InlineInput = forwardRef59(
8432
8303
  const hasErrorState = hasError || hasErrorMessage;
8433
8304
  const errorMessageId = derivativeIdGenerator(uniqueId, "errorMessage");
8434
8305
  const descId = derivativeIdGenerator(uniqueId, "desc");
8435
- const inputRef = useRef25(null);
8306
+ const inputRef = useRef24(null);
8436
8307
  const combinedRef = useCombinedRef(ref, inputRef);
8437
- return /* @__PURE__ */ jsxs55("div", { className: InlineEdit_default.container, style: { width }, children: [
8438
- /* @__PURE__ */ jsxs55("div", { className: Input_default["input-group"], children: [
8439
- !isEditing && !hideIcon && /* @__PURE__ */ jsx245(
8308
+ return /* @__PURE__ */ jsxs53("div", { className: InlineEdit_default.container, style: { width }, children: [
8309
+ /* @__PURE__ */ jsxs53("div", { className: Input_default["input-group"], children: [
8310
+ !isEditing && !hideIcon && /* @__PURE__ */ jsx244(
8440
8311
  "span",
8441
8312
  {
8442
8313
  onClick: () => {
@@ -8444,10 +8315,10 @@ var InlineInput = forwardRef59(
8444
8315
  (_a = inputRef.current) == null ? void 0 : _a.focus();
8445
8316
  },
8446
8317
  className: InlineEdit_default["icon-wrapper"],
8447
- children: /* @__PURE__ */ jsx245(Icon, { icon: EditIcon, iconSize: "small" })
8318
+ children: /* @__PURE__ */ jsx244(Icon, { icon: EditIcon, iconSize: "small" })
8448
8319
  }
8449
8320
  ),
8450
- /* @__PURE__ */ jsx245(
8321
+ /* @__PURE__ */ jsx244(
8451
8322
  "input",
8452
8323
  {
8453
8324
  ...rest,
@@ -8478,12 +8349,12 @@ var InlineInput = forwardRef59(
8478
8349
  InlineInput.displayName = "InlineInput";
8479
8350
 
8480
8351
  // src/components/InlineEdit/InlineEditInput.tsx
8481
- import { jsx as jsx246 } from "react/jsx-runtime";
8482
- var InlineEditInput = forwardRef60((props, ref) => {
8352
+ import { jsx as jsx245 } from "react/jsx-runtime";
8353
+ var InlineEditInput = forwardRef59((props, ref) => {
8483
8354
  const { onSetValue, emptiable, value, onFocus, onChange, onBlur, ...rest } = props;
8484
- const inputRef = useRef26(null);
8355
+ const inputRef = useRef25(null);
8485
8356
  const combinedRef = useCombinedRef(ref, inputRef);
8486
- return /* @__PURE__ */ jsx246(
8357
+ return /* @__PURE__ */ jsx245(
8487
8358
  InlineEdit,
8488
8359
  {
8489
8360
  onSetValue,
@@ -8493,13 +8364,13 @@ var InlineEditInput = forwardRef60((props, ref) => {
8493
8364
  onFocus,
8494
8365
  onChange,
8495
8366
  onBlur,
8496
- children: /* @__PURE__ */ jsx246(InlineInput, { ...rest, ref: combinedRef })
8367
+ children: /* @__PURE__ */ jsx245(InlineInput, { ...rest, ref: combinedRef })
8497
8368
  }
8498
8369
  );
8499
8370
  });
8500
8371
 
8501
8372
  // src/components/InternalHeader/InternalHeader.tsx
8502
- import { useRef as useRef27, useState as useState17 } from "react";
8373
+ import { useRef as useRef26, useState as useState17 } from "react";
8503
8374
 
8504
8375
  // src/components/InternalHeader/InternalHeader.module.css
8505
8376
  var InternalHeader_default = {
@@ -8555,10 +8426,10 @@ var InternalHeader_default = {
8555
8426
  };
8556
8427
 
8557
8428
  // src/components/InternalHeader/NavigationItem.tsx
8558
- import { forwardRef as forwardRef61 } from "react";
8559
- import { jsx as jsx247 } from "react/jsx-runtime";
8560
- var NavigationItem = forwardRef61(({ title, isCurrent, ...rest }, ref) => {
8561
- return /* @__PURE__ */ jsx247(
8429
+ import { forwardRef as forwardRef60 } from "react";
8430
+ import { jsx as jsx246 } from "react/jsx-runtime";
8431
+ var NavigationItem = forwardRef60(({ title, isCurrent, ...rest }, ref) => {
8432
+ return /* @__PURE__ */ jsx246(
8562
8433
  "a",
8563
8434
  {
8564
8435
  ...rest,
@@ -8576,7 +8447,7 @@ var NavigationItem = forwardRef61(({ title, isCurrent, ...rest }, ref) => {
8576
8447
  });
8577
8448
 
8578
8449
  // src/components/InternalHeader/InternalHeader.tsx
8579
- import { jsx as jsx248, jsxs as jsxs56 } from "react/jsx-runtime";
8450
+ import { jsx as jsx247, jsxs as jsxs54 } from "react/jsx-runtime";
8580
8451
  var InternalHeader = (props) => {
8581
8452
  const {
8582
8453
  applicationDesc,
@@ -8597,7 +8468,7 @@ var InternalHeader = (props) => {
8597
8468
  const [currentPage, setCurrentPage] = useState17(
8598
8469
  currentPageHref
8599
8470
  );
8600
- const buttonRef = useRef27(null);
8471
+ const buttonRef = useRef26(null);
8601
8472
  const handleCurrentPageChange = (href) => {
8602
8473
  setCurrentPage(href);
8603
8474
  onCurrentPageChange && onCurrentPageChange();
@@ -8610,7 +8481,7 @@ var InternalHeader = (props) => {
8610
8481
  const hasContextMenuElements = !!contextMenuElements && contextMenuElements.length > 0;
8611
8482
  const hasSmallScreenBreakpoint = !!smallScreenBreakpoint;
8612
8483
  const hasNavInContextMenu = hasSmallScreenBreakpoint && hasNavigationElements;
8613
- const navigation = hasNavigationElements ? /* @__PURE__ */ jsx248("nav", { "aria-label": "sidenavigasjon", children: /* @__PURE__ */ jsx248(
8484
+ const navigation = hasNavigationElements ? /* @__PURE__ */ jsx247("nav", { "aria-label": "sidenavigasjon", children: /* @__PURE__ */ jsx247(
8614
8485
  "ul",
8615
8486
  {
8616
8487
  className: cn(
@@ -8621,7 +8492,7 @@ var InternalHeader = (props) => {
8621
8492
  children: navigationElements.map((item, index) => {
8622
8493
  const { href, ...rest2 } = item;
8623
8494
  const isCurrent = href === currentPage;
8624
- return /* @__PURE__ */ jsx248("li", { className: InternalHeader_default["nav-list__item"], children: /* @__PURE__ */ jsx248(
8495
+ return /* @__PURE__ */ jsx247("li", { className: InternalHeader_default["nav-list__item"], children: /* @__PURE__ */ jsx247(
8625
8496
  NavigationItem,
8626
8497
  {
8627
8498
  href,
@@ -8635,7 +8506,7 @@ var InternalHeader = (props) => {
8635
8506
  ) }) : null;
8636
8507
  const hasContextMenu = hasContextMenuElements || !!userProps || hasNavInContextMenu;
8637
8508
  const hasContextMenuLargeScreen = hasContextMenuElements || !!userProps;
8638
- return /* @__PURE__ */ jsxs56(
8509
+ return /* @__PURE__ */ jsxs54(
8639
8510
  "div",
8640
8511
  {
8641
8512
  ...getBaseHTMLProps(
@@ -8650,7 +8521,7 @@ var InternalHeader = (props) => {
8650
8521
  rest
8651
8522
  ),
8652
8523
  children: [
8653
- /* @__PURE__ */ jsx248(Typography, { typographyType: "bodySans02", bold: true, as: "span", children: applicationHref ? /* @__PURE__ */ jsx248(
8524
+ /* @__PURE__ */ jsx247(Typography, { typographyType: "bodySans02", bold: true, as: "span", children: applicationHref ? /* @__PURE__ */ jsx247(
8654
8525
  "a",
8655
8526
  {
8656
8527
  href: applicationHref,
@@ -8659,10 +8530,10 @@ var InternalHeader = (props) => {
8659
8530
  children: applicationName
8660
8531
  }
8661
8532
  ) : applicationName }),
8662
- /* @__PURE__ */ jsx248(Typography, { typographyType: "bodySans02", as: "span", children: applicationDesc }),
8663
- (hasContextMenu || navigation !== null) && /* @__PURE__ */ jsx248("div", { className: InternalHeader_default["bar-separator"] }),
8533
+ /* @__PURE__ */ jsx247(Typography, { typographyType: "bodySans02", as: "span", children: applicationDesc }),
8534
+ (hasContextMenu || navigation !== null) && /* @__PURE__ */ jsx247("div", { className: InternalHeader_default["bar-separator"] }),
8664
8535
  navigation,
8665
- hasContextMenu && /* @__PURE__ */ jsxs56(
8536
+ hasContextMenu && /* @__PURE__ */ jsxs54(
8666
8537
  "div",
8667
8538
  {
8668
8539
  className: cn(
@@ -8671,7 +8542,7 @@ var InternalHeader = (props) => {
8671
8542
  !hasContextMenuLargeScreen && hasSmallScreenBreakpoint && InternalHeader_default[`context-menu-group--small-screen-only-${smallScreenBreakpoint}`]
8672
8543
  ),
8673
8544
  children: [
8674
- /* @__PURE__ */ jsx248(
8545
+ /* @__PURE__ */ jsx247(
8675
8546
  Button,
8676
8547
  {
8677
8548
  ref: buttonRef,
@@ -8683,7 +8554,7 @@ var InternalHeader = (props) => {
8683
8554
  "aria-label": "\xE5pne meny"
8684
8555
  }
8685
8556
  ),
8686
- /* @__PURE__ */ jsxs56(
8557
+ /* @__PURE__ */ jsxs54(
8687
8558
  OverflowMenu,
8688
8559
  {
8689
8560
  isOpen: !contextMenuIsClosed,
@@ -8691,8 +8562,8 @@ var InternalHeader = (props) => {
8691
8562
  anchorRef: buttonRef,
8692
8563
  className: InternalHeader_default["context-menu"],
8693
8564
  children: [
8694
- userProps && /* @__PURE__ */ jsx248(OverflowMenuList, { children: userProps.href ? /* @__PURE__ */ jsx248(OverflowMenuLink, { icon: PersonIcon, href: userProps.href, children: userProps.name }) : /* @__PURE__ */ jsx248(OverflowMenuSpan, { icon: PersonIcon, children: userProps.name }) }),
8695
- hasNavInContextMenu && /* @__PURE__ */ jsx248(
8565
+ userProps && /* @__PURE__ */ jsx247(OverflowMenuList, { children: userProps.href ? /* @__PURE__ */ jsx247(OverflowMenuLink, { icon: PersonIcon, href: userProps.href, children: userProps.name }) : /* @__PURE__ */ jsx247(OverflowMenuSpan, { icon: PersonIcon, children: userProps.name }) }),
8566
+ hasNavInContextMenu && /* @__PURE__ */ jsx247(
8696
8567
  "nav",
8697
8568
  {
8698
8569
  "aria-label": "sidenavigasjon",
@@ -8700,10 +8571,10 @@ var InternalHeader = (props) => {
8700
8571
  InternalHeader_default["nav--in-menu--small-screen"],
8701
8572
  InternalHeader_default[`nav--in-menu--small-screen-${smallScreenBreakpoint}`]
8702
8573
  ),
8703
- children: /* @__PURE__ */ jsx248(OverflowMenuList, { children: navigationElements.map((item) => /* @__PURE__ */ jsx248(OverflowMenuLink, { ...item, children: item.title })) })
8574
+ children: /* @__PURE__ */ jsx247(OverflowMenuList, { children: navigationElements.map((item) => /* @__PURE__ */ jsx247(OverflowMenuLink, { ...item, children: item.title })) })
8704
8575
  }
8705
8576
  ),
8706
- hasNavInContextMenu && hasContextMenuElements && /* @__PURE__ */ jsx248(
8577
+ hasNavInContextMenu && hasContextMenuElements && /* @__PURE__ */ jsx247(
8707
8578
  OverflowMenuDivider,
8708
8579
  {
8709
8580
  className: cn(
@@ -8712,9 +8583,9 @@ var InternalHeader = (props) => {
8712
8583
  )
8713
8584
  }
8714
8585
  ),
8715
- hasContextMenuElements && /* @__PURE__ */ jsx248(OverflowMenuList, { children: contextMenuElements.map((item) => {
8586
+ hasContextMenuElements && /* @__PURE__ */ jsx247(OverflowMenuList, { children: contextMenuElements.map((item) => {
8716
8587
  const { title } = item;
8717
- return item.href ? /* @__PURE__ */ jsx248(OverflowMenuLink, { ...item, children: title }) : /* @__PURE__ */ jsx248(OverflowMenuButton, { ...item, children: title });
8588
+ return item.href ? /* @__PURE__ */ jsx247(OverflowMenuLink, { ...item, children: title }) : /* @__PURE__ */ jsx247(OverflowMenuButton, { ...item, children: title });
8718
8589
  }) })
8719
8590
  ]
8720
8591
  }
@@ -8729,7 +8600,7 @@ var InternalHeader = (props) => {
8729
8600
  InternalHeader.displayName = "InternalHeader";
8730
8601
 
8731
8602
  // src/components/List/List.tsx
8732
- import { forwardRef as forwardRef62 } from "react";
8603
+ import { forwardRef as forwardRef61 } from "react";
8733
8604
 
8734
8605
  // src/components/List/List.module.css
8735
8606
  var List_default = {
@@ -8741,8 +8612,8 @@ var List_default = {
8741
8612
  };
8742
8613
 
8743
8614
  // src/components/List/List.tsx
8744
- import { jsx as jsx249 } from "react/jsx-runtime";
8745
- var List = forwardRef62((props, ref) => {
8615
+ import { jsx as jsx248 } from "react/jsx-runtime";
8616
+ var List = forwardRef61((props, ref) => {
8746
8617
  const {
8747
8618
  listType = "unordered",
8748
8619
  typographyType = "inherit",
@@ -8753,7 +8624,7 @@ var List = forwardRef62((props, ref) => {
8753
8624
  ...rest
8754
8625
  } = props;
8755
8626
  const List2 = listType === "ordered" ? "ol" : "ul";
8756
- return /* @__PURE__ */ jsx249(
8627
+ return /* @__PURE__ */ jsx248(
8757
8628
  List2,
8758
8629
  {
8759
8630
  ...getBaseHTMLProps(id, className, htmlProps, rest),
@@ -8770,17 +8641,17 @@ var List = forwardRef62((props, ref) => {
8770
8641
  List.displayName = "List";
8771
8642
 
8772
8643
  // src/components/List/ListItem.tsx
8773
- import { forwardRef as forwardRef63 } from "react";
8774
- import { jsx as jsx250 } from "react/jsx-runtime";
8775
- var ListItem = forwardRef63(
8644
+ import { forwardRef as forwardRef62 } from "react";
8645
+ import { jsx as jsx249 } from "react/jsx-runtime";
8646
+ var ListItem = forwardRef62(
8776
8647
  ({ className, ...rest }, ref) => {
8777
- return /* @__PURE__ */ jsx250("li", { ref, ...rest, className: cn(className, List_default.li) });
8648
+ return /* @__PURE__ */ jsx249("li", { ref, ...rest, className: cn(className, List_default.li) });
8778
8649
  }
8779
8650
  );
8780
8651
  ListItem.displayName = "ListItem";
8781
8652
 
8782
8653
  // src/components/LocalMessage/LocalMessage.tsx
8783
- import { forwardRef as forwardRef64, useState as useState18 } from "react";
8654
+ import { forwardRef as forwardRef63, useState as useState18 } from "react";
8784
8655
 
8785
8656
  // src/components/LocalMessage/LocalMessage.module.css
8786
8657
  var LocalMessage_default = {
@@ -8801,7 +8672,7 @@ var LocalMessage_default = {
8801
8672
  };
8802
8673
 
8803
8674
  // src/components/LocalMessage/LocalMessage.tsx
8804
- import { Fragment as Fragment9, jsx as jsx251, jsxs as jsxs57 } from "react/jsx-runtime";
8675
+ import { Fragment as Fragment7, jsx as jsx250, jsxs as jsxs55 } from "react/jsx-runtime";
8805
8676
  var purposeVariants2 = {
8806
8677
  info: {
8807
8678
  icon: InfoIcon
@@ -8819,7 +8690,7 @@ var purposeVariants2 = {
8819
8690
  icon: TipIcon
8820
8691
  }
8821
8692
  };
8822
- var LocalMessage = forwardRef64(
8693
+ var LocalMessage = forwardRef63(
8823
8694
  (props, ref) => {
8824
8695
  const {
8825
8696
  message,
@@ -8836,9 +8707,9 @@ var LocalMessage = forwardRef64(
8836
8707
  } = props;
8837
8708
  const [isClosed, setClosed] = useState18(false);
8838
8709
  if (isClosed) {
8839
- return /* @__PURE__ */ jsx251(Fragment9, {});
8710
+ return /* @__PURE__ */ jsx250(Fragment7, {});
8840
8711
  }
8841
- return /* @__PURE__ */ jsxs57(
8712
+ return /* @__PURE__ */ jsxs55(
8842
8713
  "div",
8843
8714
  {
8844
8715
  ref,
@@ -8857,15 +8728,15 @@ var LocalMessage = forwardRef64(
8857
8728
  ),
8858
8729
  style: { ...htmlProps == null ? void 0 : htmlProps.style, width },
8859
8730
  children: [
8860
- /* @__PURE__ */ jsx251(
8731
+ /* @__PURE__ */ jsx250(
8861
8732
  Icon,
8862
8733
  {
8863
8734
  icon: purposeVariants2[purpose].icon,
8864
8735
  className: cn(LocalMessage_default.icon, LocalMessage_default.container__icon)
8865
8736
  }
8866
8737
  ),
8867
- /* @__PURE__ */ jsx251("div", { className: LocalMessage_default.container__text, children: children != null ? children : /* @__PURE__ */ jsx251("span", { children: message }) }),
8868
- closable && /* @__PURE__ */ jsx251(
8738
+ /* @__PURE__ */ jsx250("div", { className: LocalMessage_default.container__text, children: children != null ? children : /* @__PURE__ */ jsx250("span", { children: message }) }),
8739
+ closable && /* @__PURE__ */ jsx250(
8869
8740
  Button,
8870
8741
  {
8871
8742
  icon: CloseIcon,
@@ -8888,8 +8759,8 @@ LocalMessage.displayName = "LocalMessage";
8888
8759
 
8889
8760
  // src/components/Modal/Modal.tsx
8890
8761
  import {
8891
- forwardRef as forwardRef65,
8892
- useEffect as useEffect23,
8762
+ forwardRef as forwardRef64,
8763
+ useEffect as useEffect22,
8893
8764
  useId as useId14
8894
8765
  } from "react";
8895
8766
  import { createPortal as createPortal2 } from "react-dom";
@@ -8929,8 +8800,8 @@ var Modal_default = {
8929
8800
  };
8930
8801
 
8931
8802
  // src/components/Modal/Modal.tsx
8932
- import { jsx as jsx252, jsxs as jsxs58 } from "react/jsx-runtime";
8933
- var Modal = forwardRef65((props, ref) => {
8803
+ import { jsx as jsx251, jsxs as jsxs56 } from "react/jsx-runtime";
8804
+ var Modal = forwardRef64((props, ref) => {
8934
8805
  const {
8935
8806
  isOpen = false,
8936
8807
  parentElement = document.body,
@@ -8956,7 +8827,7 @@ var Modal = forwardRef65((props, ref) => {
8956
8827
  onClose();
8957
8828
  }
8958
8829
  };
8959
- useEffect23(() => {
8830
+ useEffect22(() => {
8960
8831
  if (isOpen) {
8961
8832
  handleElementWithBackdropMount(document.body);
8962
8833
  } else {
@@ -8968,14 +8839,14 @@ var Modal = forwardRef65((props, ref) => {
8968
8839
  useOnKeyDown(["Escape", "Esc"], () => handleClose());
8969
8840
  const hasTransitionedIn = useMountTransition(isOpen, 200);
8970
8841
  return isOpen || hasTransitionedIn ? createPortal2(
8971
- /* @__PURE__ */ jsx252(
8842
+ /* @__PURE__ */ jsx251(
8972
8843
  "div",
8973
8844
  {
8974
8845
  className: cn(
8975
8846
  Modal_default.backdrop,
8976
8847
  hasTransitionedIn && isOpen ? Modal_default["backdrop--visible"] : Modal_default["backdrop--hidden"]
8977
8848
  ),
8978
- children: /* @__PURE__ */ jsxs58(
8849
+ children: /* @__PURE__ */ jsxs56(
8979
8850
  Paper,
8980
8851
  {
8981
8852
  ...getBaseHTMLProps(
@@ -8993,11 +8864,11 @@ var Modal = forwardRef65((props, ref) => {
8993
8864
  id: modalId,
8994
8865
  elevation: 4,
8995
8866
  children: [
8996
- /* @__PURE__ */ jsxs58("div", { className: Modal_default.content, children: [
8997
- header && /* @__PURE__ */ jsx252("div", { id: headerId, className: Modal_default.header, children: typeof header === "string" ? /* @__PURE__ */ jsx252(Heading, { level: 2, typographyType: "headingSans03", children: header }) : header }),
8867
+ /* @__PURE__ */ jsxs56("div", { className: Modal_default.content, children: [
8868
+ header && /* @__PURE__ */ jsx251("div", { id: headerId, className: Modal_default.header, children: typeof header === "string" ? /* @__PURE__ */ jsx251(Heading, { level: 2, typographyType: "headingSans03", children: header }) : header }),
8998
8869
  children
8999
8870
  ] }),
9000
- onClose && /* @__PURE__ */ jsx252(
8871
+ onClose && /* @__PURE__ */ jsx251(
9001
8872
  Button,
9002
8873
  {
9003
8874
  size: "small",
@@ -9019,12 +8890,12 @@ var Modal = forwardRef65((props, ref) => {
9019
8890
  Modal.displayName = "Modal";
9020
8891
 
9021
8892
  // src/components/Modal/ModalBody.tsx
9022
- import { forwardRef as forwardRef66 } from "react";
9023
- import { jsx as jsx253 } from "react/jsx-runtime";
9024
- var ModalBody = forwardRef66(
8893
+ import { forwardRef as forwardRef65 } from "react";
8894
+ import { jsx as jsx252 } from "react/jsx-runtime";
8895
+ var ModalBody = forwardRef65(
9025
8896
  (props, ref) => {
9026
8897
  const { children, id, className, scrollable, htmlProps, height, ...rest } = props;
9027
- return /* @__PURE__ */ jsx253(
8898
+ return /* @__PURE__ */ jsx252(
9028
8899
  "div",
9029
8900
  {
9030
8901
  ref,
@@ -9048,17 +8919,17 @@ var ModalBody = forwardRef66(
9048
8919
  ModalBody.displayName = "ModalBody";
9049
8920
 
9050
8921
  // src/components/Modal/ModalActions.tsx
9051
- import { forwardRef as forwardRef67 } from "react";
9052
- import { jsx as jsx254 } from "react/jsx-runtime";
9053
- var ModalActions = forwardRef67(
8922
+ import { forwardRef as forwardRef66 } from "react";
8923
+ import { jsx as jsx253 } from "react/jsx-runtime";
8924
+ var ModalActions = forwardRef66(
9054
8925
  ({ className, ...rest }, ref) => {
9055
- return /* @__PURE__ */ jsx254("div", { ref, ...rest, className: cn(className, Modal_default.actions) });
8926
+ return /* @__PURE__ */ jsx253("div", { ref, ...rest, className: cn(className, Modal_default.actions) });
9056
8927
  }
9057
8928
  );
9058
8929
  ModalActions.displayName = "ModalActions";
9059
8930
 
9060
8931
  // src/components/Pagination/Pagination.tsx
9061
- import { forwardRef as forwardRef70, useState as useState19 } from "react";
8932
+ import { forwardRef as forwardRef69, useState as useState19 } from "react";
9062
8933
 
9063
8934
  // src/components/Pagination/Pagination.module.css
9064
8935
  var Pagination_default = {
@@ -9121,7 +8992,7 @@ function PaginationGenerator(pagesAmount, activePage) {
9121
8992
  }
9122
8993
 
9123
8994
  // src/components/Select/Select.tsx
9124
- import { forwardRef as forwardRef68, useId as useId15 } from "react";
8995
+ import { forwardRef as forwardRef67, useId as useId15 } from "react";
9125
8996
  import {
9126
8997
  default as ReactSelect
9127
8998
  } from "react-select";
@@ -9400,7 +9271,7 @@ var getCustomStyles = (size2, hasError, isReadOnly) => ({
9400
9271
  import {
9401
9272
  components
9402
9273
  } from "react-select";
9403
- import { jsx as jsx255, jsxs as jsxs59 } from "react/jsx-runtime";
9274
+ import { jsx as jsx254, jsxs as jsxs57 } from "react/jsx-runtime";
9404
9275
  var {
9405
9276
  Option,
9406
9277
  NoOptionsMessage,
@@ -9411,27 +9282,27 @@ var {
9411
9282
  MultiValueRemove,
9412
9283
  Control
9413
9284
  } = components;
9414
- var DDSOption = (props, componentSize) => /* @__PURE__ */ jsxs59(Option, { ...props, children: [
9415
- props.isSelected && /* @__PURE__ */ jsx255(Icon, { icon: CheckIcon, iconSize: getFormInputIconSize(componentSize) }),
9285
+ var DDSOption = (props, componentSize) => /* @__PURE__ */ jsxs57(Option, { ...props, children: [
9286
+ props.isSelected && /* @__PURE__ */ jsx254(Icon, { icon: CheckIcon, iconSize: getFormInputIconSize(componentSize) }),
9416
9287
  props.children
9417
9288
  ] });
9418
- var CustomOption = (props, Element) => /* @__PURE__ */ jsx255(Option, { ...props, children: /* @__PURE__ */ jsx255(Element, { ...props }) });
9419
- var CustomSingleValue = (props, id, Element) => /* @__PURE__ */ jsx255(SingleValue, { ...props, children: /* @__PURE__ */ jsx255("div", { id, className: Select_default["inner-single-value"], children: Element ? /* @__PURE__ */ jsx255(Element, { ...props }) : props.children }) });
9420
- var DDSNoOptionsMessage = (props) => /* @__PURE__ */ jsx255(NoOptionsMessage, { ...props, children: "Ingen treff" });
9421
- var DDSClearIndicator = (props, size2) => /* @__PURE__ */ jsx255(ClearIndicator, { ...props, children: /* @__PURE__ */ jsx255(Icon, { icon: CloseSmallIcon, iconSize: getFormInputIconSize(size2) }) });
9422
- var DDSMultiValueRemove = (props) => /* @__PURE__ */ jsx255(MultiValueRemove, { ...props, children: /* @__PURE__ */ jsx255(Icon, { icon: CloseSmallIcon, iconSize: "small" }) });
9289
+ var CustomOption = (props, Element) => /* @__PURE__ */ jsx254(Option, { ...props, children: /* @__PURE__ */ jsx254(Element, { ...props }) });
9290
+ var CustomSingleValue = (props, id, Element) => /* @__PURE__ */ jsx254(SingleValue, { ...props, children: /* @__PURE__ */ jsx254("div", { id, className: Select_default["inner-single-value"], children: Element ? /* @__PURE__ */ jsx254(Element, { ...props }) : props.children }) });
9291
+ var DDSNoOptionsMessage = (props) => /* @__PURE__ */ jsx254(NoOptionsMessage, { ...props, children: "Ingen treff" });
9292
+ var DDSClearIndicator = (props, size2) => /* @__PURE__ */ jsx254(ClearIndicator, { ...props, children: /* @__PURE__ */ jsx254(Icon, { icon: CloseSmallIcon, iconSize: getFormInputIconSize(size2) }) });
9293
+ var DDSMultiValueRemove = (props) => /* @__PURE__ */ jsx254(MultiValueRemove, { ...props, children: /* @__PURE__ */ jsx254(Icon, { icon: CloseSmallIcon, iconSize: "small" }) });
9423
9294
  var DDSDropdownIndicator = (props, size2) => {
9424
9295
  const { className, ...rest } = props;
9425
- return /* @__PURE__ */ jsx255(
9296
+ return /* @__PURE__ */ jsx254(
9426
9297
  DropdownIndicator,
9427
9298
  {
9428
9299
  ...rest,
9429
9300
  className: cn(className, Select_default["dropdown-indicator"]),
9430
- children: /* @__PURE__ */ jsx255(Icon, { icon: ChevronDownIcon, iconSize: getFormInputIconSize(size2) })
9301
+ children: /* @__PURE__ */ jsx254(Icon, { icon: ChevronDownIcon, iconSize: getFormInputIconSize(size2) })
9431
9302
  }
9432
9303
  );
9433
9304
  };
9434
- var DDSInput = (props, ariaInvalid, ariaDescribedby) => /* @__PURE__ */ jsx255(
9305
+ var DDSInput = (props, ariaInvalid, ariaDescribedby) => /* @__PURE__ */ jsx254(
9435
9306
  Input2,
9436
9307
  {
9437
9308
  ...props,
@@ -9441,11 +9312,11 @@ var DDSInput = (props, ariaInvalid, ariaDescribedby) => /* @__PURE__ */ jsx255(
9441
9312
  );
9442
9313
  var DDSControl = (props, componentSize, readOnly, icon, dataTestId) => {
9443
9314
  const { className, ...rest } = props;
9444
- return /* @__PURE__ */ jsx255(
9315
+ return /* @__PURE__ */ jsx254(
9445
9316
  "div",
9446
9317
  {
9447
9318
  "data-testid": dataTestId ? dataTestId + "-control" : void 0,
9448
- children: /* @__PURE__ */ jsxs59(
9319
+ children: /* @__PURE__ */ jsxs57(
9449
9320
  Control,
9450
9321
  {
9451
9322
  ...rest,
@@ -9456,7 +9327,7 @@ var DDSControl = (props, componentSize, readOnly, icon, dataTestId) => {
9456
9327
  readOnly && Select_default["control--readonly"]
9457
9328
  ),
9458
9329
  children: [
9459
- icon && /* @__PURE__ */ jsx255(
9330
+ icon && /* @__PURE__ */ jsx254(
9460
9331
  Icon,
9461
9332
  {
9462
9333
  icon,
@@ -9473,7 +9344,7 @@ var DDSControl = (props, componentSize, readOnly, icon, dataTestId) => {
9473
9344
  };
9474
9345
 
9475
9346
  // src/components/Select/Select.tsx
9476
- import { jsx as jsx256, jsxs as jsxs60 } from "react/jsx-runtime";
9347
+ import { jsx as jsx255, jsxs as jsxs58 } from "react/jsx-runtime";
9477
9348
  var getPlaceholder = (placeholder, isMulti) => placeholder ? placeholder : isMulti ? "-- Velg en eller flere --" : "-- Velg fra listen --";
9478
9349
  function SelectInner(props, ref) {
9479
9350
  const {
@@ -9556,7 +9427,7 @@ function SelectInner(props, ref) {
9556
9427
  openMenuOnClick: readOnly ? false : props.openMenuOnClick ? props.openMenuOnClick : void 0,
9557
9428
  ...rest
9558
9429
  };
9559
- return /* @__PURE__ */ jsxs60(
9430
+ return /* @__PURE__ */ jsxs58(
9560
9431
  "div",
9561
9432
  {
9562
9433
  className: cn(
@@ -9567,7 +9438,7 @@ function SelectInner(props, ref) {
9567
9438
  ),
9568
9439
  style: { ...style, width },
9569
9440
  children: [
9570
- hasLabel && /* @__PURE__ */ jsx256(
9441
+ hasLabel && /* @__PURE__ */ jsx255(
9571
9442
  Label,
9572
9443
  {
9573
9444
  htmlFor: uniqueId,
@@ -9577,17 +9448,17 @@ function SelectInner(props, ref) {
9577
9448
  children: label
9578
9449
  }
9579
9450
  ),
9580
- /* @__PURE__ */ jsx256(ReactSelect, { ...reactSelectProps, ref }),
9451
+ /* @__PURE__ */ jsx255(ReactSelect, { ...reactSelectProps, ref }),
9581
9452
  renderInputMessage(tip, tipId, errorMessage, errorMessageId)
9582
9453
  ]
9583
9454
  }
9584
9455
  );
9585
9456
  }
9586
- var Select = forwardRef68(SelectInner);
9457
+ var Select = forwardRef67(SelectInner);
9587
9458
  Select.displayName = "Select";
9588
9459
 
9589
9460
  // src/components/Select/NativeSelect/NativeSelect.tsx
9590
- import { forwardRef as forwardRef69, useId as useId16 } from "react";
9461
+ import { forwardRef as forwardRef68, useId as useId16 } from "react";
9591
9462
 
9592
9463
  // src/components/Select/NativeSelect/NativeSelect.module.css
9593
9464
  var NativeSelect_default = {
@@ -9602,8 +9473,8 @@ var NativeSelect_default = {
9602
9473
  };
9603
9474
 
9604
9475
  // src/components/Select/NativeSelect/NativeSelect.tsx
9605
- import { jsx as jsx257, jsxs as jsxs61 } from "react/jsx-runtime";
9606
- var NativeSelect = forwardRef69(
9476
+ import { jsx as jsx256, jsxs as jsxs59 } from "react/jsx-runtime";
9477
+ var NativeSelect = forwardRef68(
9607
9478
  (props, ref) => {
9608
9479
  const {
9609
9480
  id,
@@ -9634,8 +9505,8 @@ var NativeSelect = forwardRef69(
9634
9505
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
9635
9506
  ["--dds-native-select-width"]: width ? width : componentSize === "tiny" ? "210px" : "var(--dds-input-default-width)"
9636
9507
  };
9637
- return /* @__PURE__ */ jsxs61("div", { children: [
9638
- hasLabel && /* @__PURE__ */ jsx257(
9508
+ return /* @__PURE__ */ jsxs59("div", { children: [
9509
+ hasLabel && /* @__PURE__ */ jsx256(
9639
9510
  Label,
9640
9511
  {
9641
9512
  className: Input_default.label,
@@ -9645,8 +9516,8 @@ var NativeSelect = forwardRef69(
9645
9516
  children: label
9646
9517
  }
9647
9518
  ),
9648
- /* @__PURE__ */ jsxs61("div", { className: NativeSelect_default.container, children: [
9649
- /* @__PURE__ */ jsx257(
9519
+ /* @__PURE__ */ jsxs59("div", { className: NativeSelect_default.container, children: [
9520
+ /* @__PURE__ */ jsx256(
9650
9521
  "select",
9651
9522
  {
9652
9523
  ref,
@@ -9684,7 +9555,7 @@ var NativeSelect = forwardRef69(
9684
9555
  children
9685
9556
  }
9686
9557
  ),
9687
- !multiple && /* @__PURE__ */ jsx257(
9558
+ !multiple && /* @__PURE__ */ jsx256(
9688
9559
  Icon,
9689
9560
  {
9690
9561
  icon: ChevronDownIcon,
@@ -9697,9 +9568,9 @@ var NativeSelect = forwardRef69(
9697
9568
  ] });
9698
9569
  }
9699
9570
  );
9700
- var NativeSelectPlaceholder = forwardRef69((props, ref) => {
9571
+ var NativeSelectPlaceholder = forwardRef68((props, ref) => {
9701
9572
  const { children = "-- Velg fra listen --", value, ...rest } = props;
9702
- return /* @__PURE__ */ jsx257("option", { ref, value: value != null ? value : "", selected: true, ...rest, children });
9573
+ return /* @__PURE__ */ jsx256("option", { ref, value: value != null ? value : "", selected: true, ...rest, children });
9703
9574
  });
9704
9575
  NativeSelectPlaceholder.displayName = "NativeSelectPlaceholder";
9705
9576
 
@@ -9707,8 +9578,8 @@ NativeSelectPlaceholder.displayName = "NativeSelectPlaceholder";
9707
9578
  var createSelectOptions = (...args) => args.map((v2) => ({ label: v2, value: v2 }));
9708
9579
 
9709
9580
  // src/components/Pagination/Pagination.tsx
9710
- import { Fragment as Fragment10, jsx as jsx258, jsxs as jsxs62 } from "react/jsx-runtime";
9711
- var Pagination = forwardRef70(
9581
+ import { Fragment as Fragment8, jsx as jsx257, jsxs as jsxs60 } from "react/jsx-runtime";
9582
+ var Pagination = forwardRef69(
9712
9583
  (props, ref) => {
9713
9584
  const {
9714
9585
  itemsAmount,
@@ -9751,7 +9622,7 @@ var Pagination = forwardRef70(
9751
9622
  };
9752
9623
  const listItems = items.length > 0 ? items.map((item, i2) => {
9753
9624
  const isActive = item === activePage;
9754
- return /* @__PURE__ */ jsx258("li", { className: Pagination_default.list__item, children: item !== "truncator" ? /* @__PURE__ */ jsx258(
9625
+ return /* @__PURE__ */ jsx257("li", { className: Pagination_default.list__item, children: item !== "truncator" ? /* @__PURE__ */ jsx257(
9755
9626
  Button,
9756
9627
  {
9757
9628
  purpose: isActive ? "primary" : "secondary",
@@ -9762,7 +9633,7 @@ var Pagination = forwardRef70(
9762
9633
  "aria-label": isActive ? `N\xE5v\xE6rende side (side ${item})` : `G\xE5 til side ${item}`,
9763
9634
  children: item
9764
9635
  }
9765
- ) : /* @__PURE__ */ jsx258(
9636
+ ) : /* @__PURE__ */ jsx257(
9766
9637
  Icon,
9767
9638
  {
9768
9639
  icon: MoreHorizontalIcon,
@@ -9770,7 +9641,7 @@ var Pagination = forwardRef70(
9770
9641
  }
9771
9642
  ) }, `pagination-item-${i2}`);
9772
9643
  }) : void 0;
9773
- const previousPageButton = /* @__PURE__ */ jsx258(
9644
+ const previousPageButton = /* @__PURE__ */ jsx257(
9774
9645
  Button,
9775
9646
  {
9776
9647
  purpose: "secondary",
@@ -9782,7 +9653,7 @@ var Pagination = forwardRef70(
9782
9653
  "aria-label": "G\xE5 til forrige siden"
9783
9654
  }
9784
9655
  );
9785
- const nextPageButton = /* @__PURE__ */ jsx258(
9656
+ const nextPageButton = /* @__PURE__ */ jsx257(
9786
9657
  Button,
9787
9658
  {
9788
9659
  purpose: "secondary",
@@ -9807,8 +9678,8 @@ var Pagination = forwardRef70(
9807
9678
  };
9808
9679
  const isOnFirstPage = activePage === 1;
9809
9680
  const isOnLastPage = activePage === pagesLength;
9810
- const largeScreenNavigation = withPagination ? /* @__PURE__ */ jsx258("nav", { ref, "aria-label": "paginering", ...navProps(), children: /* @__PURE__ */ jsxs62("ol", { className: Pagination_default.list, children: [
9811
- /* @__PURE__ */ jsx258(
9681
+ const largeScreenNavigation = withPagination ? /* @__PURE__ */ jsx257("nav", { ref, "aria-label": "paginering", ...navProps(), children: /* @__PURE__ */ jsxs60("ol", { className: Pagination_default.list, children: [
9682
+ /* @__PURE__ */ jsx257(
9812
9683
  "li",
9813
9684
  {
9814
9685
  className: cn(
@@ -9820,7 +9691,7 @@ var Pagination = forwardRef70(
9820
9691
  }
9821
9692
  ),
9822
9693
  listItems,
9823
- /* @__PURE__ */ jsx258(
9694
+ /* @__PURE__ */ jsx257(
9824
9695
  "li",
9825
9696
  {
9826
9697
  className: cn(
@@ -9832,8 +9703,8 @@ var Pagination = forwardRef70(
9832
9703
  }
9833
9704
  )
9834
9705
  ] }) }) : null;
9835
- const smallScreenNavigation = withPagination ? /* @__PURE__ */ jsx258("nav", { ref, "aria-label": "paginering", ...navProps(true), children: /* @__PURE__ */ jsxs62("ol", { className: Pagination_default.list, children: [
9836
- /* @__PURE__ */ jsx258(
9706
+ const smallScreenNavigation = withPagination ? /* @__PURE__ */ jsx257("nav", { ref, "aria-label": "paginering", ...navProps(true), children: /* @__PURE__ */ jsxs60("ol", { className: Pagination_default.list, children: [
9707
+ /* @__PURE__ */ jsx257(
9837
9708
  "li",
9838
9709
  {
9839
9710
  className: cn(
@@ -9841,7 +9712,7 @@ var Pagination = forwardRef70(
9841
9712
  isOnFirstPage && Pagination_default["list__item--hidden"]
9842
9713
  ),
9843
9714
  "aria-hidden": isOnFirstPage,
9844
- children: /* @__PURE__ */ jsx258(
9715
+ children: /* @__PURE__ */ jsx257(
9845
9716
  Button,
9846
9717
  {
9847
9718
  purpose: "secondary",
@@ -9855,7 +9726,7 @@ var Pagination = forwardRef70(
9855
9726
  )
9856
9727
  }
9857
9728
  ),
9858
- /* @__PURE__ */ jsx258(
9729
+ /* @__PURE__ */ jsx257(
9859
9730
  "li",
9860
9731
  {
9861
9732
  className: cn(
@@ -9866,7 +9737,7 @@ var Pagination = forwardRef70(
9866
9737
  children: previousPageButton
9867
9738
  }
9868
9739
  ),
9869
- /* @__PURE__ */ jsx258("li", { className: Pagination_default.list__item, children: /* @__PURE__ */ jsx258(
9740
+ /* @__PURE__ */ jsx257("li", { className: Pagination_default.list__item, children: /* @__PURE__ */ jsx257(
9870
9741
  Button,
9871
9742
  {
9872
9743
  size: "small",
@@ -9876,7 +9747,7 @@ var Pagination = forwardRef70(
9876
9747
  children: activePage
9877
9748
  }
9878
9749
  ) }),
9879
- /* @__PURE__ */ jsx258(
9750
+ /* @__PURE__ */ jsx257(
9880
9751
  "li",
9881
9752
  {
9882
9753
  className: cn(
@@ -9887,7 +9758,7 @@ var Pagination = forwardRef70(
9887
9758
  children: nextPageButton
9888
9759
  }
9889
9760
  ),
9890
- /* @__PURE__ */ jsx258(
9761
+ /* @__PURE__ */ jsx257(
9891
9762
  "li",
9892
9763
  {
9893
9764
  className: cn(
@@ -9895,7 +9766,7 @@ var Pagination = forwardRef70(
9895
9766
  isOnLastPage && Pagination_default["list__item--hidden"]
9896
9767
  ),
9897
9768
  "aria-hidden": isOnLastPage,
9898
- children: /* @__PURE__ */ jsx258(
9769
+ children: /* @__PURE__ */ jsx257(
9899
9770
  Button,
9900
9771
  {
9901
9772
  purpose: "secondary",
@@ -9912,10 +9783,10 @@ var Pagination = forwardRef70(
9912
9783
  ] }) }) : null;
9913
9784
  const activePageFirstItem = activePage === 1 ? 1 : activePage * itemsPerPage - itemsPerPage + 1;
9914
9785
  const activePageLastItem = activePage === pagesLength ? itemsAmount : activePage * itemsPerPage;
9915
- return !withCounter && !withSelect ? /* @__PURE__ */ jsxs62(Fragment10, { children: [
9786
+ return !withCounter && !withSelect ? /* @__PURE__ */ jsxs60(Fragment8, { children: [
9916
9787
  largeScreenNavigation,
9917
9788
  smallScreenBreakpoint && smallScreenNavigation
9918
- ] }) : /* @__PURE__ */ jsxs62(
9789
+ ] }) : /* @__PURE__ */ jsxs60(
9919
9790
  "div",
9920
9791
  {
9921
9792
  ...getBaseHTMLProps(
@@ -9929,8 +9800,8 @@ var Pagination = forwardRef70(
9929
9800
  rest
9930
9801
  ),
9931
9802
  children: [
9932
- /* @__PURE__ */ jsxs62("div", { className: Pagination_default.indicators, children: [
9933
- withSelect && /* @__PURE__ */ jsx258(
9803
+ /* @__PURE__ */ jsxs60("div", { className: Pagination_default.indicators, children: [
9804
+ withSelect && /* @__PURE__ */ jsx257(
9934
9805
  Select,
9935
9806
  {
9936
9807
  options: selectOptions,
@@ -9946,7 +9817,7 @@ var Pagination = forwardRef70(
9946
9817
  "aria-label": "Antall elementer per side"
9947
9818
  }
9948
9819
  ),
9949
- withCounter && /* @__PURE__ */ jsxs62(Typography, { typographyType: "supportingStyleLabel01", as: "p", children: [
9820
+ withCounter && /* @__PURE__ */ jsxs60(Typography, { typographyType: "supportingStyleLabel01", as: "p", children: [
9950
9821
  "Viser ",
9951
9822
  activePageFirstItem,
9952
9823
  "-",
@@ -9966,7 +9837,7 @@ Pagination.displayName = "Pagination";
9966
9837
 
9967
9838
  // src/components/Popover/Popover.tsx
9968
9839
  import { ddsTokens as ddsTokens14 } from "@norges-domstoler/dds-design-tokens";
9969
- import { forwardRef as forwardRef71 } from "react";
9840
+ import { forwardRef as forwardRef70 } from "react";
9970
9841
 
9971
9842
  // src/components/Popover/Popover.module.css
9972
9843
  var Popover_default = {
@@ -9977,8 +9848,8 @@ var Popover_default = {
9977
9848
  };
9978
9849
 
9979
9850
  // src/components/Popover/Popover.tsx
9980
- import { jsx as jsx259, jsxs as jsxs63 } from "react/jsx-runtime";
9981
- var Popover = forwardRef71(
9851
+ import { jsx as jsx258, jsxs as jsxs61 } from "react/jsx-runtime";
9852
+ var Popover = forwardRef70(
9982
9853
  (props, ref) => {
9983
9854
  const {
9984
9855
  title,
@@ -10018,7 +9889,7 @@ var Popover = forwardRef71(
10018
9889
  useOnClickOutside(elements, () => {
10019
9890
  if (isOpen) onClose && onClose();
10020
9891
  });
10021
- return isOpen || hasTransitionedIn ? /* @__PURE__ */ jsxs63(
9892
+ return isOpen || hasTransitionedIn ? /* @__PURE__ */ jsxs61(
10022
9893
  Paper,
10023
9894
  {
10024
9895
  ...getBaseHTMLProps(id, className, htmlProps, rest),
@@ -10035,15 +9906,15 @@ var Popover = forwardRef71(
10035
9906
  focus_default.focusable
10036
9907
  ),
10037
9908
  children: [
10038
- title && /* @__PURE__ */ jsx259("div", { className: Popover_default.title, children: typeof title === "string" ? /* @__PURE__ */ jsx259(Heading, { level: 2, typographyType: "headingSans02", children: title }) : title }),
10039
- /* @__PURE__ */ jsx259(
9909
+ title && /* @__PURE__ */ jsx258("div", { className: Popover_default.title, children: typeof title === "string" ? /* @__PURE__ */ jsx258(Heading, { level: 2, typographyType: "headingSans02", children: title }) : title }),
9910
+ /* @__PURE__ */ jsx258(
10040
9911
  "div",
10041
9912
  {
10042
9913
  className: !hasTitle && withCloseButton ? Popover_default["content--closable--no-title"] : "",
10043
9914
  children
10044
9915
  }
10045
9916
  ),
10046
- withCloseButton && /* @__PURE__ */ jsx259(
9917
+ withCloseButton && /* @__PURE__ */ jsx258(
10047
9918
  Button,
10048
9919
  {
10049
9920
  icon: CloseIcon,
@@ -10067,10 +9938,10 @@ import {
10067
9938
  cloneElement as cloneElement6,
10068
9939
  isValidElement as isValidElement7,
10069
9940
  useId as useId17,
10070
- useRef as useRef28,
9941
+ useRef as useRef27,
10071
9942
  useState as useState20
10072
9943
  } from "react";
10073
- import { Fragment as Fragment11, jsx as jsx260 } from "react/jsx-runtime";
9944
+ import { Fragment as Fragment9, jsx as jsx259 } from "react/jsx-runtime";
10074
9945
  var PopoverGroup = ({
10075
9946
  isOpen = false,
10076
9947
  onCloseButtonClick,
@@ -10089,8 +9960,8 @@ var PopoverGroup = ({
10089
9960
  setOpen(!open);
10090
9961
  onTriggerClick && onTriggerClick();
10091
9962
  };
10092
- const buttonRef = useRef28(null);
10093
- const popoverRef = useRef28(null);
9963
+ const buttonRef = useRef27(null);
9964
+ const popoverRef = useRef27(null);
10094
9965
  useOnKeyDown(["Esc", "Escape"], () => {
10095
9966
  var _a;
10096
9967
  if (open) {
@@ -10116,18 +9987,18 @@ var PopoverGroup = ({
10116
9987
  onClose: handleClose
10117
9988
  }));
10118
9989
  });
10119
- return /* @__PURE__ */ jsx260(Fragment11, { children: Children8 });
9990
+ return /* @__PURE__ */ jsx259(Fragment9, { children: Children8 });
10120
9991
  };
10121
9992
  PopoverGroup.displayName = "PopoverGroup";
10122
9993
 
10123
9994
  // src/components/ProgressTracker/ProgressTracker.tsx
10124
9995
  import {
10125
9996
  Children as Children4,
10126
- Fragment as Fragment13,
9997
+ Fragment as Fragment11,
10127
9998
  cloneElement as cloneElement7,
10128
- forwardRef as forwardRef72,
9999
+ forwardRef as forwardRef71,
10129
10000
  isValidElement as isValidElement8,
10130
- useEffect as useEffect24,
10001
+ useEffect as useEffect23,
10131
10002
  useMemo as useMemo3,
10132
10003
  useState as useState21
10133
10004
  } from "react";
@@ -10164,7 +10035,7 @@ var ProgressTracker_default = {
10164
10035
 
10165
10036
  // src/components/ProgressTracker/ProgressTrackerItem.tsx
10166
10037
  import { useMemo as useMemo2 } from "react";
10167
- import { Fragment as Fragment12, jsx as jsx261, jsxs as jsxs64 } from "react/jsx-runtime";
10038
+ import { Fragment as Fragment10, jsx as jsx260, jsxs as jsxs62 } from "react/jsx-runtime";
10168
10039
  var toItemState = (active, completed, disabled) => {
10169
10040
  if (disabled) {
10170
10041
  return "disabled";
@@ -10196,15 +10067,15 @@ var ProgressTrackerItem = (props) => {
10196
10067
  const itemState = toItemState(active, completed, disabled);
10197
10068
  const stepNumberContent = useMemo2(() => {
10198
10069
  if (completed) {
10199
- return /* @__PURE__ */ jsx261(Icon, { icon: CheckIcon, iconSize: "small" });
10070
+ return /* @__PURE__ */ jsx260(Icon, { icon: CheckIcon, iconSize: "small" });
10200
10071
  }
10201
10072
  if (icon !== void 0) {
10202
- return /* @__PURE__ */ jsx261(Icon, { icon, iconSize: "small" });
10073
+ return /* @__PURE__ */ jsx260(Icon, { icon, iconSize: "small" });
10203
10074
  }
10204
10075
  return index + 1;
10205
10076
  }, [completed, icon, index]);
10206
- const stepContent = /* @__PURE__ */ jsxs64(Fragment12, { children: [
10207
- /* @__PURE__ */ jsx261(
10077
+ const stepContent = /* @__PURE__ */ jsxs62(Fragment10, { children: [
10078
+ /* @__PURE__ */ jsx260(
10208
10079
  "div",
10209
10080
  {
10210
10081
  "aria-hidden": true,
@@ -10216,7 +10087,7 @@ var ProgressTrackerItem = (props) => {
10216
10087
  children: stepNumberContent
10217
10088
  }
10218
10089
  ),
10219
- /* @__PURE__ */ jsxs64(
10090
+ /* @__PURE__ */ jsxs62(
10220
10091
  "div",
10221
10092
  {
10222
10093
  className: cn(
@@ -10225,13 +10096,13 @@ var ProgressTrackerItem = (props) => {
10225
10096
  typographyStyles_default["body-sans-03"]
10226
10097
  ),
10227
10098
  children: [
10228
- /* @__PURE__ */ jsx261(VisuallyHidden, { as: "span", children: getVisuallyHiddenText(active, completed, index) }),
10099
+ /* @__PURE__ */ jsx260(VisuallyHidden, { as: "span", children: getVisuallyHiddenText(active, completed, index) }),
10229
10100
  children
10230
10101
  ]
10231
10102
  }
10232
10103
  )
10233
10104
  ] });
10234
- return /* @__PURE__ */ jsx261("li", { "aria-current": active ? "step" : void 0, className: ProgressTracker_default.item, children: handleStepChange ? /* @__PURE__ */ jsx261(
10105
+ return /* @__PURE__ */ jsx260("li", { "aria-current": active ? "step" : void 0, className: ProgressTracker_default.item, children: handleStepChange ? /* @__PURE__ */ jsx260(
10235
10106
  "button",
10236
10107
  {
10237
10108
  onClick: !disabled && handleStepChange ? () => handleStepChange(index) : void 0,
@@ -10239,14 +10110,14 @@ var ProgressTrackerItem = (props) => {
10239
10110
  className: cn(ProgressTracker_default["item-button"], focusable),
10240
10111
  children: stepContent
10241
10112
  }
10242
- ) : /* @__PURE__ */ jsx261("div", { className: cn(ProgressTracker_default["item-button"], ProgressTracker_default["item-div"]), children: stepContent }) });
10113
+ ) : /* @__PURE__ */ jsx260("div", { className: cn(ProgressTracker_default["item-button"], ProgressTracker_default["item-div"]), children: stepContent }) });
10243
10114
  };
10244
10115
  ProgressTrackerItem.displayName = "ProgressTracker.Item";
10245
10116
 
10246
10117
  // src/components/ProgressTracker/ProgressTracker.tsx
10247
- import { jsx as jsx262, jsxs as jsxs65 } from "react/jsx-runtime";
10118
+ import { jsx as jsx261, jsxs as jsxs63 } from "react/jsx-runtime";
10248
10119
  var ProgressTracker = (() => {
10249
- const Res = forwardRef72((props, ref) => {
10120
+ const Res = forwardRef71((props, ref) => {
10250
10121
  const {
10251
10122
  id,
10252
10123
  activeStep = 0,
@@ -10261,7 +10132,7 @@ var ProgressTracker = (() => {
10261
10132
  setActiveStep(step);
10262
10133
  onStepChange && onStepChange(step);
10263
10134
  };
10264
- useEffect24(() => {
10135
+ useEffect23(() => {
10265
10136
  if (activeStep !== void 0 && activeStep != thisActiveStep) {
10266
10137
  setActiveStep(activeStep);
10267
10138
  }
@@ -10276,14 +10147,14 @@ var ProgressTracker = (() => {
10276
10147
  const itemsWithConnectorsBetween = intersperseItemsWithConnector(itemsWithIndex);
10277
10148
  return itemsWithConnectorsBetween;
10278
10149
  }, [children]);
10279
- return /* @__PURE__ */ jsx262(
10150
+ return /* @__PURE__ */ jsx261(
10280
10151
  ProgressTrackerContext.Provider,
10281
10152
  {
10282
10153
  value: {
10283
10154
  activeStep: thisActiveStep,
10284
10155
  handleStepChange: handleChange
10285
10156
  },
10286
- children: /* @__PURE__ */ jsx262("div", { role: "group", "aria-label": "progress", ...containerProps, children: /* @__PURE__ */ jsx262("ol", { className: ProgressTracker_default.list, children: steps }) })
10157
+ children: /* @__PURE__ */ jsx261("div", { role: "group", "aria-label": "progress", ...containerProps, children: /* @__PURE__ */ jsx261("ol", { className: ProgressTracker_default.list, children: steps }) })
10287
10158
  }
10288
10159
  );
10289
10160
  });
@@ -10307,8 +10178,8 @@ var intersperseItemsWithConnector = (children) => Children4.map(children, (child
10307
10178
  if (index === 0) {
10308
10179
  return child;
10309
10180
  }
10310
- return /* @__PURE__ */ jsxs65(Fragment13, { children: [
10311
- /* @__PURE__ */ jsx262("div", { "aria-hidden": true, className: ProgressTracker_default.connector }),
10181
+ return /* @__PURE__ */ jsxs63(Fragment11, { children: [
10182
+ /* @__PURE__ */ jsx261("div", { "aria-hidden": true, className: ProgressTracker_default.connector }),
10312
10183
  child
10313
10184
  ] }, index);
10314
10185
  });
@@ -10378,7 +10249,44 @@ function createEmptyChangeEvent(inputElementId) {
10378
10249
 
10379
10250
  // src/components/Search/SearchSuggestions.tsx
10380
10251
  import { forwardRef as forwardRef73 } from "react";
10381
- import { jsx as jsx263, jsxs as jsxs66 } from "react/jsx-runtime";
10252
+
10253
+ // src/components/Search/SearchSuggestionItem.tsx
10254
+ import {
10255
+ forwardRef as forwardRef72,
10256
+ useEffect as useEffect24,
10257
+ useRef as useRef28
10258
+ } from "react";
10259
+ import { jsx as jsx262 } from "react/jsx-runtime";
10260
+ var SearchSuggestionItem = forwardRef72((props, ref) => {
10261
+ const { focus, className, ...rest } = props;
10262
+ const itemRef = useRef28(null);
10263
+ const combinedRef = useCombinedRef(ref, itemRef);
10264
+ useEffect24(() => {
10265
+ var _a;
10266
+ if (focus) {
10267
+ (_a = itemRef.current) == null ? void 0 : _a.focus();
10268
+ }
10269
+ }, [focus]);
10270
+ return /* @__PURE__ */ jsx262(
10271
+ "button",
10272
+ {
10273
+ ref: combinedRef,
10274
+ className: cn(
10275
+ className,
10276
+ OverflowMenu_default.list__item,
10277
+ OverflowMenu_default["list__item--link"],
10278
+ focus_default["focusable--inset"],
10279
+ utilStyles_default["normalize-button"]
10280
+ ),
10281
+ ...rest,
10282
+ tabIndex: focus ? 0 : -1
10283
+ }
10284
+ );
10285
+ });
10286
+ SearchSuggestionItem.displayName = "SearchSuggestionItem";
10287
+
10288
+ // src/components/Search/SearchSuggestions.tsx
10289
+ import { jsx as jsx263, jsxs as jsxs64 } from "react/jsx-runtime";
10382
10290
  var SearchSuggestions = forwardRef73((props, ref) => {
10383
10291
  const {
10384
10292
  id,
@@ -10398,30 +10306,7 @@ var SearchSuggestions = forwardRef73((props, ref) => {
10398
10306
  );
10399
10307
  const [focus] = useRoveFocus(suggestions == null ? void 0 : suggestions.length, showSuggestions);
10400
10308
  const suggestionsToRender = maxSuggestions ? suggestions == null ? void 0 : suggestions.slice(maxSuggestions) : suggestions;
10401
- const renderedSuggestions = /* @__PURE__ */ jsx263(
10402
- "ul",
10403
- {
10404
- role: "listbox",
10405
- "aria-labelledby": suggestionsHeaderId,
10406
- className: utilStyles_default["remove-list-styling"],
10407
- children: suggestionsToRender.map((suggestion, index) => {
10408
- return /* @__PURE__ */ jsx263("li", { role: "option", children: /* @__PURE__ */ jsx263(
10409
- OverflowMenuItem,
10410
- {
10411
- index,
10412
- focus: focus === index && showSuggestions,
10413
- "aria-label": `s\xF8k p\xE5 ${suggestion}`,
10414
- onClick: onSuggestionClick,
10415
- title: suggestion,
10416
- "aria-setsize": suggestionsToRender.length,
10417
- "aria-posinset": index,
10418
- className: typographyStyles_default[getTypographyCn(typographyTypes3[componentSize])]
10419
- }
10420
- ) }, index);
10421
- })
10422
- }
10423
- );
10424
- return /* @__PURE__ */ jsxs66(
10309
+ return /* @__PURE__ */ jsxs64(
10425
10310
  Paper,
10426
10311
  {
10427
10312
  ...getBaseHTMLProps(
@@ -10451,7 +10336,29 @@ var SearchSuggestions = forwardRef73((props, ref) => {
10451
10336
  children: "S\xF8keforslag"
10452
10337
  }
10453
10338
  ),
10454
- renderedSuggestions
10339
+ /* @__PURE__ */ jsx263(
10340
+ "ul",
10341
+ {
10342
+ role: "listbox",
10343
+ "aria-labelledby": suggestionsHeaderId,
10344
+ className: utilStyles_default["remove-list-styling"],
10345
+ children: suggestionsToRender.map((suggestion, index) => {
10346
+ return /* @__PURE__ */ jsx263("li", { role: "option", children: /* @__PURE__ */ jsx263(
10347
+ SearchSuggestionItem,
10348
+ {
10349
+ index,
10350
+ focus: focus === index && showSuggestions,
10351
+ "aria-label": `s\xF8k p\xE5 ${suggestion}`,
10352
+ onClick: onSuggestionClick,
10353
+ "aria-setsize": suggestionsToRender.length,
10354
+ "aria-posinset": index,
10355
+ className: typographyStyles_default[getTypographyCn(typographyTypes3[componentSize])],
10356
+ children: suggestion
10357
+ }
10358
+ ) }, index);
10359
+ })
10360
+ }
10361
+ )
10455
10362
  ]
10456
10363
  }
10457
10364
  );
@@ -10459,7 +10366,7 @@ var SearchSuggestions = forwardRef73((props, ref) => {
10459
10366
  SearchSuggestions.displayName = "SearchSuggestions";
10460
10367
 
10461
10368
  // src/components/Search/Search.tsx
10462
- import { Fragment as Fragment14, jsx as jsx264, jsxs as jsxs67 } from "react/jsx-runtime";
10369
+ import { Fragment as Fragment12, jsx as jsx264, jsxs as jsxs65 } from "react/jsx-runtime";
10463
10370
  var getIconSize = (size2) => {
10464
10371
  switch (size2) {
10465
10372
  case "large":
@@ -10514,10 +10421,10 @@ var Search = forwardRef74(
10514
10421
  } = buttonProps != null ? buttonProps : {};
10515
10422
  const hasSuggestions = !!context.suggestions;
10516
10423
  const showSearchButton = !!buttonProps && !!onClick;
10517
- return /* @__PURE__ */ jsxs67("div", { className: Search_default.container, children: [
10424
+ return /* @__PURE__ */ jsxs65("div", { className: Search_default.container, children: [
10518
10425
  hasLabel && /* @__PURE__ */ jsx264(Label, { htmlFor: uniqueId, children: label }),
10519
- /* @__PURE__ */ jsxs67("div", { children: [
10520
- /* @__PURE__ */ jsxs67(
10426
+ /* @__PURE__ */ jsxs65("div", { children: [
10427
+ /* @__PURE__ */ jsxs65(
10521
10428
  "div",
10522
10429
  {
10523
10430
  className: cn(
@@ -10526,7 +10433,7 @@ var Search = forwardRef74(
10526
10433
  ),
10527
10434
  style,
10528
10435
  children: [
10529
- /* @__PURE__ */ jsxs67("div", { className: Search_default["input-group"], children: [
10436
+ /* @__PURE__ */ jsxs65("div", { className: Search_default["input-group"], children: [
10530
10437
  /* @__PURE__ */ jsx264(
10531
10438
  Icon,
10532
10439
  {
@@ -10563,7 +10470,7 @@ var Search = forwardRef74(
10563
10470
  )
10564
10471
  }
10565
10472
  ),
10566
- hasSuggestions && /* @__PURE__ */ jsxs67(Fragment14, { children: [
10473
+ hasSuggestions && /* @__PURE__ */ jsxs65(Fragment12, { children: [
10567
10474
  /* @__PURE__ */ jsx264(
10568
10475
  SearchSuggestions,
10569
10476
  {
@@ -10791,7 +10698,7 @@ var selectionControlTypographyProps = {
10791
10698
  };
10792
10699
 
10793
10700
  // src/components/SelectionControl/Checkbox/Checkbox.tsx
10794
- import { jsx as jsx267, jsxs as jsxs68 } from "react/jsx-runtime";
10701
+ import { jsx as jsx267, jsxs as jsxs66 } from "react/jsx-runtime";
10795
10702
  var Checkbox = forwardRef76(
10796
10703
  (props, ref) => {
10797
10704
  const {
@@ -10819,7 +10726,7 @@ var Checkbox = forwardRef76(
10819
10726
  const isReadOnly = readOnly || (checkboxGroup == null ? void 0 : checkboxGroup.readOnly);
10820
10727
  const hasError = error || (checkboxGroup == null ? void 0 : checkboxGroup.error);
10821
10728
  const isDisabled = disabled || (checkboxGroup == null ? void 0 : checkboxGroup.disabled);
10822
- return /* @__PURE__ */ jsxs68(
10729
+ return /* @__PURE__ */ jsxs66(
10823
10730
  Label2,
10824
10731
  {
10825
10732
  hasError,
@@ -10878,7 +10785,7 @@ Checkbox.displayName = "Checkbox";
10878
10785
 
10879
10786
  // src/components/SelectionControl/Checkbox/CheckboxGroup.tsx
10880
10787
  import { useId as useId20 } from "react";
10881
- import { jsx as jsx268, jsxs as jsxs69 } from "react/jsx-runtime";
10788
+ import { jsx as jsx268, jsxs as jsxs67 } from "react/jsx-runtime";
10882
10789
  var CheckboxGroup = (props) => {
10883
10790
  const {
10884
10791
  label,
@@ -10910,7 +10817,7 @@ var CheckboxGroup = (props) => {
10910
10817
  disabled,
10911
10818
  readOnly
10912
10819
  };
10913
- return /* @__PURE__ */ jsxs69(
10820
+ return /* @__PURE__ */ jsxs67(
10914
10821
  "div",
10915
10822
  {
10916
10823
  ...getBaseHTMLProps(
@@ -10920,7 +10827,7 @@ var CheckboxGroup = (props) => {
10920
10827
  rest
10921
10828
  ),
10922
10829
  children: [
10923
- /* @__PURE__ */ jsxs69(
10830
+ /* @__PURE__ */ jsxs67(
10924
10831
  Typography,
10925
10832
  {
10926
10833
  as: "span",
@@ -10964,7 +10871,7 @@ var useRadioButtonGroup = () => {
10964
10871
  };
10965
10872
 
10966
10873
  // src/components/SelectionControl/RadioButton/RadioButton.tsx
10967
- import { jsx as jsx269, jsxs as jsxs70 } from "react/jsx-runtime";
10874
+ import { jsx as jsx269, jsxs as jsxs68 } from "react/jsx-runtime";
10968
10875
  var isValueEqualToGroupValueOrFalsy = (value, group) => {
10969
10876
  if (typeof value !== "undefined" && value !== null && group) {
10970
10877
  if (typeof value === "number") {
@@ -11013,7 +10920,7 @@ var RadioButton = forwardRef77(
11013
10920
  const isReadOnly = readOnly || (radioButtonGroup == null ? void 0 : radioButtonGroup.readOnly);
11014
10921
  const isDisabled = disabled || (radioButtonGroup == null ? void 0 : radioButtonGroup.disabled);
11015
10922
  const hasError = error || (radioButtonGroup == null ? void 0 : radioButtonGroup.error);
11016
- return /* @__PURE__ */ jsxs70(
10923
+ return /* @__PURE__ */ jsxs68(
11017
10924
  Label2,
11018
10925
  {
11019
10926
  hasError,
@@ -11072,7 +10979,7 @@ import {
11072
10979
  useId as useId22,
11073
10980
  useState as useState24
11074
10981
  } from "react";
11075
- import { jsx as jsx270, jsxs as jsxs71 } from "react/jsx-runtime";
10982
+ import { jsx as jsx270, jsxs as jsxs69 } from "react/jsx-runtime";
11076
10983
  var RadioButtonGroupInner = (props, ref) => {
11077
10984
  const {
11078
10985
  name,
@@ -11114,7 +11021,7 @@ var RadioButtonGroupInner = (props, ref) => {
11114
11021
  value: groupValue,
11115
11022
  onChange: handleChange
11116
11023
  };
11117
- return /* @__PURE__ */ jsxs71(
11024
+ return /* @__PURE__ */ jsxs69(
11118
11025
  "div",
11119
11026
  {
11120
11027
  ...getBaseHTMLProps(
@@ -11125,7 +11032,7 @@ var RadioButtonGroupInner = (props, ref) => {
11125
11032
  ),
11126
11033
  ref,
11127
11034
  children: [
11128
- /* @__PURE__ */ jsxs71(
11035
+ /* @__PURE__ */ jsxs69(
11129
11036
  Typography,
11130
11037
  {
11131
11038
  as: "span",
@@ -11219,7 +11126,7 @@ var SplitButton_default = {
11219
11126
  };
11220
11127
 
11221
11128
  // src/components/SplitButton/SplitButton.tsx
11222
- import { jsx as jsx272, jsxs as jsxs72 } from "react/jsx-runtime";
11129
+ import { jsx as jsx272, jsxs as jsxs70 } from "react/jsx-runtime";
11223
11130
  var SplitButton = forwardRef80(
11224
11131
  (props, ref) => {
11225
11132
  const {
@@ -11235,7 +11142,7 @@ var SplitButton = forwardRef80(
11235
11142
  purpose,
11236
11143
  size: size2
11237
11144
  };
11238
- return /* @__PURE__ */ jsxs72("div", { ref, className: cn(className, SplitButton_default.container), ...rest, children: [
11145
+ return /* @__PURE__ */ jsxs70("div", { ref, className: cn(className, SplitButton_default.container), ...rest, children: [
11239
11146
  /* @__PURE__ */ jsx272(
11240
11147
  Button,
11241
11148
  {
@@ -11245,7 +11152,7 @@ var SplitButton = forwardRef80(
11245
11152
  className: SplitButton_default.main
11246
11153
  }
11247
11154
  ),
11248
- /* @__PURE__ */ jsxs72(OverflowMenuGroup, { onToggle: () => setIsOpen(!isOpen), children: [
11155
+ /* @__PURE__ */ jsxs70(OverflowMenuGroup, { onToggle: () => setIsOpen(!isOpen), children: [
11249
11156
  /* @__PURE__ */ jsx272(
11250
11157
  Button,
11251
11158
  {
@@ -11259,7 +11166,7 @@ var SplitButton = forwardRef80(
11259
11166
  )
11260
11167
  }
11261
11168
  ),
11262
- /* @__PURE__ */ jsx272(OverflowMenu, { placement: "bottom-end", children: /* @__PURE__ */ jsx272(OverflowMenuList, { children: secondaryActions.map((item) => /* @__PURE__ */ jsx272(OverflowMenuButton, { ...item, children: item.title })) }) })
11169
+ /* @__PURE__ */ jsx272(OverflowMenu, { placement: "bottom-end", children: /* @__PURE__ */ jsx272(OverflowMenuList, { children: secondaryActions.map((item) => /* @__PURE__ */ jsx272(OverflowMenuButton, { ...item, children: item.children })) }) })
11263
11170
  ] })
11264
11171
  ] });
11265
11172
  }
@@ -11269,7 +11176,7 @@ SplitButton.displayName = "SplitButton";
11269
11176
  // src/components/Table/collapsible/CollapsibleRow.tsx
11270
11177
  import {
11271
11178
  Children as Children5,
11272
- Fragment as Fragment15,
11179
+ Fragment as Fragment13,
11273
11180
  cloneElement as cloneElement8,
11274
11181
  forwardRef as forwardRef88,
11275
11182
  isValidElement as isValidElement9,
@@ -11425,7 +11332,7 @@ Row.displayName = "Table.Row";
11425
11332
 
11426
11333
  // src/components/Table/normal/SortCell.tsx
11427
11334
  import { forwardRef as forwardRef86 } from "react";
11428
- import { jsx as jsx278, jsxs as jsxs73 } from "react/jsx-runtime";
11335
+ import { jsx as jsx278, jsxs as jsxs71 } from "react/jsx-runtime";
11429
11336
  var makeSortIcon = (isSorted, sortOrder) => {
11430
11337
  if (!isSorted || !sortOrder) {
11431
11338
  return /* @__PURE__ */ jsx278(Icon, { icon: UnfoldMoreIcon, iconSize: "inherit" });
@@ -11440,7 +11347,7 @@ var SortCell = forwardRef86(
11440
11347
  type: "head",
11441
11348
  "aria-sort": isSorted && sortOrder ? sortOrder : void 0,
11442
11349
  ...rest,
11443
- children: /* @__PURE__ */ jsxs73(
11350
+ children: /* @__PURE__ */ jsxs71(
11444
11351
  "button",
11445
11352
  {
11446
11353
  onClick,
@@ -11555,7 +11462,7 @@ Table2.Row = Row;
11555
11462
  Table2.Foot = Foot;
11556
11463
 
11557
11464
  // src/components/Table/collapsible/CollapsibleRow.tsx
11558
- import { Fragment as Fragment16, jsx as jsx281, jsxs as jsxs74 } from "react/jsx-runtime";
11465
+ import { Fragment as Fragment14, jsx as jsx281, jsxs as jsxs72 } from "react/jsx-runtime";
11559
11466
  var CollapsibleRow = forwardRef88(
11560
11467
  ({
11561
11468
  type: _type,
@@ -11597,7 +11504,7 @@ var CollapsibleRow = forwardRef88(
11597
11504
  const collapsedRenderedChildren = isCollapsed && collapsedHeaderValues.length > 0 ? collapsedChildren.map(function(child, index) {
11598
11505
  const id = derivativeIdGenerator(prefix3, index.toString());
11599
11506
  collapsibleIds.push(id);
11600
- return /* @__PURE__ */ jsxs74(Fragment15, { children: [
11507
+ return /* @__PURE__ */ jsxs72(Fragment13, { children: [
11601
11508
  /* @__PURE__ */ jsx281(DescriptionListTerm, { children: collapsedHeaderValues[index].content }),
11602
11509
  isValidElement9(child) && cloneElement8(child, {
11603
11510
  collapsibleProps: { isCollapsibleChild: true }
@@ -11610,9 +11517,9 @@ var CollapsibleRow = forwardRef88(
11610
11517
  });
11611
11518
  const headerRow = () => {
11612
11519
  if (type !== "head" || !isCollapsed) return null;
11613
- return /* @__PURE__ */ jsx281(Row, { ref, ...rowProps(), children: /* @__PURE__ */ jsxs74(Fragment16, { children: [
11520
+ return /* @__PURE__ */ jsx281(Row, { ref, ...rowProps(), children: /* @__PURE__ */ jsxs72(Fragment14, { children: [
11614
11521
  definingColumnCells,
11615
- /* @__PURE__ */ jsxs74(Table2.Cell, { type: "head", layout: "center", children: [
11522
+ /* @__PURE__ */ jsxs72(Table2.Cell, { type: "head", layout: "center", children: [
11616
11523
  "Utvid",
11617
11524
  /* @__PURE__ */ jsx281(VisuallyHidden, { as: "span", children: "raden" })
11618
11525
  ] })
@@ -11621,7 +11528,7 @@ var CollapsibleRow = forwardRef88(
11621
11528
  const idList = spaceSeparatedIdListGenerator(collapsibleIds);
11622
11529
  const rowWithChevron = () => {
11623
11530
  if (type !== "body" || !isCollapsed) return null;
11624
- return /* @__PURE__ */ jsxs74(Row, { ref, ...rowProps(!childrenCollapsed && true), children: [
11531
+ return /* @__PURE__ */ jsxs72(Row, { ref, ...rowProps(!childrenCollapsed && true), children: [
11625
11532
  definingColumnCells,
11626
11533
  /* @__PURE__ */ jsx281(Table2.Cell, { children: /* @__PURE__ */ jsx281(
11627
11534
  "button",
@@ -11647,9 +11554,9 @@ var CollapsibleRow = forwardRef88(
11647
11554
  ) })
11648
11555
  ] });
11649
11556
  };
11650
- return isCollapsed && collapsedRenderedChildren && collapsedRenderedChildren.length > 0 ? /* @__PURE__ */ jsxs74(Fragment16, { children: [
11557
+ return isCollapsed && collapsedRenderedChildren && collapsedRenderedChildren.length > 0 ? /* @__PURE__ */ jsxs72(Fragment14, { children: [
11651
11558
  headerRow(),
11652
- type === "body" && /* @__PURE__ */ jsxs74(Fragment16, { children: [
11559
+ type === "body" && /* @__PURE__ */ jsxs72(Fragment14, { children: [
11653
11560
  rowWithChevron(),
11654
11561
  childrenCollapsed ? null : collapsedRows
11655
11562
  ] })
@@ -11840,7 +11747,7 @@ function useSetTabWidth(index, width) {
11840
11747
  }
11841
11748
 
11842
11749
  // src/components/Tabs/Tab.tsx
11843
- import { jsx as jsx285, jsxs as jsxs75 } from "react/jsx-runtime";
11750
+ import { jsx as jsx285, jsxs as jsxs73 } from "react/jsx-runtime";
11844
11751
  var Tab = forwardRef91((props, ref) => {
11845
11752
  const {
11846
11753
  active = false,
@@ -11880,7 +11787,7 @@ var Tab = forwardRef91((props, ref) => {
11880
11787
  handleSelect();
11881
11788
  onKeyDown && onKeyDown(e);
11882
11789
  };
11883
- return /* @__PURE__ */ jsxs75(
11790
+ return /* @__PURE__ */ jsxs73(
11884
11791
  "button",
11885
11792
  {
11886
11793
  ...getBaseHTMLProps(
@@ -12063,7 +11970,7 @@ var Tag_default = {
12063
11970
  };
12064
11971
 
12065
11972
  // src/components/Tag/Tag.tsx
12066
- import { jsx as jsx289, jsxs as jsxs76 } from "react/jsx-runtime";
11973
+ import { jsx as jsx289, jsxs as jsxs74 } from "react/jsx-runtime";
12067
11974
  var purposeVariants3 = {
12068
11975
  info: {
12069
11976
  icon: InfoIcon
@@ -12094,7 +12001,7 @@ var Tag = forwardRef95((props, ref) => {
12094
12001
  ...rest
12095
12002
  } = props;
12096
12003
  const icon = purposeVariants3[purpose].icon;
12097
- return /* @__PURE__ */ jsxs76(
12004
+ return /* @__PURE__ */ jsxs74(
12098
12005
  TextOverflowEllipsisWrapper,
12099
12006
  {
12100
12007
  ...getBaseHTMLProps(
@@ -12155,7 +12062,7 @@ var TextInput_default = {
12155
12062
  };
12156
12063
 
12157
12064
  // src/components/TextInput/TextInput.tsx
12158
- import { jsx as jsx290, jsxs as jsxs77 } from "react/jsx-runtime";
12065
+ import { jsx as jsx290, jsxs as jsxs75 } from "react/jsx-runtime";
12159
12066
  var TextInput = forwardRef96(
12160
12067
  ({
12161
12068
  label,
@@ -12245,7 +12152,7 @@ var TextInput = forwardRef96(
12245
12152
  const suffixPaddingInlineEnd = readOnly && suffixLength ? suffixLength + "px" : suffixLength ? ddsTokens15.ddsSpacingX1NumberPx + suffixLength + "px" : void 0;
12246
12153
  let extendedInput = null;
12247
12154
  if (hasIcon) {
12248
- extendedInput = /* @__PURE__ */ jsxs77(
12155
+ extendedInput = /* @__PURE__ */ jsxs75(
12249
12156
  "div",
12250
12157
  {
12251
12158
  className: cn(TextInput_default["input-width"], Input_default["input-group"]),
@@ -12278,7 +12185,7 @@ var TextInput = forwardRef96(
12278
12185
  }
12279
12186
  );
12280
12187
  } else if (hasAffix) {
12281
- extendedInput = /* @__PURE__ */ jsxs77(
12188
+ extendedInput = /* @__PURE__ */ jsxs75(
12282
12189
  "div",
12283
12190
  {
12284
12191
  className: cn(TextInput_default["affix-container"], TextInput_default["input-width"]),
@@ -12329,7 +12236,7 @@ var TextInput = forwardRef96(
12329
12236
  }
12330
12237
  );
12331
12238
  }
12332
- return /* @__PURE__ */ jsxs77(
12239
+ return /* @__PURE__ */ jsxs75(
12333
12240
  "div",
12334
12241
  {
12335
12242
  className: cn(
@@ -12363,7 +12270,7 @@ var TextInput = forwardRef96(
12363
12270
  className: TextInput_default["input-width"]
12364
12271
  }
12365
12272
  ),
12366
- hasMessage && /* @__PURE__ */ jsxs77("div", { className: TextInput_default["message-container"], children: [
12273
+ hasMessage && /* @__PURE__ */ jsxs75("div", { className: TextInput_default["message-container"], children: [
12367
12274
  renderInputMessage(tip, tipId, errorMessage, errorMessageId),
12368
12275
  renderCharCounter(
12369
12276
  characterCounterId,
@@ -12406,7 +12313,7 @@ var ToggleBar_default = {
12406
12313
  };
12407
12314
 
12408
12315
  // src/components/ToggleBar/ToggleBar.tsx
12409
- import { jsx as jsx291, jsxs as jsxs78 } from "react/jsx-runtime";
12316
+ import { jsx as jsx291, jsxs as jsxs76 } from "react/jsx-runtime";
12410
12317
  var ToggleBar = (props) => {
12411
12318
  const {
12412
12319
  children,
@@ -12438,7 +12345,7 @@ var ToggleBar = (props) => {
12438
12345
  name,
12439
12346
  value: groupValue
12440
12347
  },
12441
- children: /* @__PURE__ */ jsxs78(
12348
+ children: /* @__PURE__ */ jsxs76(
12442
12349
  "div",
12443
12350
  {
12444
12351
  ...getBaseHTMLProps(
@@ -12466,7 +12373,7 @@ import {
12466
12373
  forwardRef as forwardRef97,
12467
12374
  useId as useId26
12468
12375
  } from "react";
12469
- import { jsx as jsx292, jsxs as jsxs79 } from "react/jsx-runtime";
12376
+ import { jsx as jsx292, jsxs as jsxs77 } from "react/jsx-runtime";
12470
12377
  var typographyTypes4 = {
12471
12378
  large: "bodySans04",
12472
12379
  medium: "bodySans02",
@@ -12507,7 +12414,7 @@ var ToggleRadio = forwardRef97(
12507
12414
  (group == null ? void 0 : group.onChange) && group.onChange(event);
12508
12415
  };
12509
12416
  const contentTypeCn = label ? "with-text" : "just-icon";
12510
- return /* @__PURE__ */ jsxs79("label", { htmlFor: uniqueId, className: ToggleBar_default.label, children: [
12417
+ return /* @__PURE__ */ jsxs77("label", { htmlFor: uniqueId, className: ToggleBar_default.label, children: [
12511
12418
  /* @__PURE__ */ jsx292(
12512
12419
  "input",
12513
12420
  {
@@ -12531,7 +12438,7 @@ var ToggleRadio = forwardRef97(
12531
12438
  "aria-labelledby": ariaLabelledBy
12532
12439
  }
12533
12440
  ),
12534
- /* @__PURE__ */ jsxs79(
12441
+ /* @__PURE__ */ jsxs77(
12535
12442
  Typography,
12536
12443
  {
12537
12444
  as: "span",
@@ -12566,12 +12473,12 @@ var ToggleButton_default = {
12566
12473
  };
12567
12474
 
12568
12475
  // src/components/ToggleButton/ToggleButton.tsx
12569
- import { jsx as jsx293, jsxs as jsxs80 } from "react/jsx-runtime";
12476
+ import { jsx as jsx293, jsxs as jsxs78 } from "react/jsx-runtime";
12570
12477
  var ToggleButton = forwardRef98(
12571
12478
  ({ id, label, icon, className, htmlProps, ...rest }, ref) => {
12572
12479
  const generatedId = useId27();
12573
12480
  const uniqueId = id != null ? id : `${generatedId}-toggleButton`;
12574
- return /* @__PURE__ */ jsxs80("label", { htmlFor: uniqueId, className: ToggleButton_default.container, children: [
12481
+ return /* @__PURE__ */ jsxs78("label", { htmlFor: uniqueId, className: ToggleButton_default.container, children: [
12575
12482
  /* @__PURE__ */ jsx293(
12576
12483
  "input",
12577
12484
  {
@@ -12589,7 +12496,7 @@ var ToggleButton = forwardRef98(
12589
12496
  type: "checkbox"
12590
12497
  }
12591
12498
  ),
12592
- /* @__PURE__ */ jsxs80(
12499
+ /* @__PURE__ */ jsxs78(
12593
12500
  "span",
12594
12501
  {
12595
12502
  className: cn(
@@ -12611,7 +12518,7 @@ ToggleButton.displayName = "ToggleButton";
12611
12518
 
12612
12519
  // src/components/ToggleButton/ToggleButtonGroup.tsx
12613
12520
  import { useId as useId28 } from "react";
12614
- import { jsx as jsx294, jsxs as jsxs81 } from "react/jsx-runtime";
12521
+ import { jsx as jsx294, jsxs as jsxs79 } from "react/jsx-runtime";
12615
12522
  var ToggleButtonGroup = (props) => {
12616
12523
  const {
12617
12524
  children,
@@ -12625,7 +12532,7 @@ var ToggleButtonGroup = (props) => {
12625
12532
  } = props;
12626
12533
  const generatedId = useId28();
12627
12534
  const uniqueLabelId = labelId != null ? labelId : `${generatedId}-ToggleButtonGroupLabel`;
12628
- return /* @__PURE__ */ jsxs81(
12535
+ return /* @__PURE__ */ jsxs79(
12629
12536
  "div",
12630
12537
  {
12631
12538
  ...getBaseHTMLProps(