@norges-domstoler/dds-components 21.4.0 → 21.5.0

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
@@ -2719,10 +2719,27 @@ var getLiteralScreenSize = (screenSize) => {
2719
2719
  }
2720
2720
  };
2721
2721
 
2722
- // src/components/helpers/StylelessList/StylelessList.tsx
2722
+ // src/components/helpers/StylelessButton/StylelessButton.tsx
2723
2723
  import { jsx as jsx176 } from "react/jsx-runtime";
2724
- var StylelessList = ({ className, ...rest }) => /* @__PURE__ */ jsx176("ul", { ...rest, className: cn(className, utilStyles_default["remove-list-styling"]) });
2725
- var StylelessOList = ({ className, ...rest }) => /* @__PURE__ */ jsx176("ol", { ...rest, className: cn(className, utilStyles_default["remove-list-styling"]) });
2724
+ var StylelessButton = ({
2725
+ className,
2726
+ ...rest
2727
+ }) => /* @__PURE__ */ jsx176(
2728
+ "button",
2729
+ {
2730
+ ...rest,
2731
+ className: cn(
2732
+ className,
2733
+ utilStyles_default["remove-button-styling"],
2734
+ utilStyles_default["normalize-button"]
2735
+ )
2736
+ }
2737
+ );
2738
+
2739
+ // src/components/helpers/StylelessList/StylelessList.tsx
2740
+ import { jsx as jsx177 } from "react/jsx-runtime";
2741
+ var StylelessList = ({ className, ...rest }) => /* @__PURE__ */ jsx177("ul", { ...rest, className: cn(className, utilStyles_default["remove-list-styling"]) });
2742
+ var StylelessOList = ({ className, ...rest }) => /* @__PURE__ */ jsx177("ol", { ...rest, className: cn(className, utilStyles_default["remove-list-styling"]) });
2726
2743
 
2727
2744
  // src/components/helpers/styling/utils.ts
2728
2745
  var outlineOffset = "var(--dds-spacing-x0-125)";
@@ -2917,7 +2934,7 @@ var display_default = {
2917
2934
  };
2918
2935
 
2919
2936
  // src/components/layout/ShowHide/ShowHide.tsx
2920
- import { jsx as jsx177 } from "react/jsx-runtime";
2937
+ import { jsx as jsx178 } from "react/jsx-runtime";
2921
2938
  var ShowHide = ({
2922
2939
  hideBelow,
2923
2940
  showBelow,
@@ -2925,7 +2942,7 @@ var ShowHide = ({
2925
2942
  htmlProps,
2926
2943
  id,
2927
2944
  ...rest
2928
- }) => /* @__PURE__ */ jsx177(
2945
+ }) => /* @__PURE__ */ jsx178(
2929
2946
  ElementAs,
2930
2947
  {
2931
2948
  ...getBaseHTMLProps(
@@ -2943,7 +2960,7 @@ var ShowHide = ({
2943
2960
  ShowHide.displayName = "ShowHide";
2944
2961
 
2945
2962
  // src/components/layout/Box/Box.tsx
2946
- import { jsx as jsx178 } from "react/jsx-runtime";
2963
+ import { jsx as jsx179 } from "react/jsx-runtime";
2947
2964
  var Box = ({
2948
2965
  id,
2949
2966
  className,
@@ -3019,7 +3036,7 @@ var Box = ({
3019
3036
  ...getResponsiveCSSProperties(flexBasis, "r", "basis"),
3020
3037
  ...getResponsiveCSSProperties(flexFlow, "r", "flow")
3021
3038
  };
3022
- return /* @__PURE__ */ jsx178(
3039
+ return /* @__PURE__ */ jsx179(
3023
3040
  ShowHide,
3024
3041
  {
3025
3042
  ...getBaseHTMLProps(
@@ -3081,7 +3098,7 @@ var Grid_default = {
3081
3098
  };
3082
3099
 
3083
3100
  // src/components/layout/Grid/Grid.tsx
3084
- import { jsx as jsx179 } from "react/jsx-runtime";
3101
+ import { jsx as jsx180 } from "react/jsx-runtime";
3085
3102
  var Grid = ({
3086
3103
  id,
3087
3104
  className,
@@ -3118,7 +3135,7 @@ var Grid = ({
3118
3135
  "grid-template-columns"
3119
3136
  )
3120
3137
  };
3121
- return /* @__PURE__ */ jsx179(
3138
+ return /* @__PURE__ */ jsx180(
3122
3139
  Box,
3123
3140
  {
3124
3141
  display: "grid",
@@ -3138,7 +3155,7 @@ var Grid = ({
3138
3155
  Grid.displayName = "Grid";
3139
3156
 
3140
3157
  // src/components/layout/Grid/GridChild.tsx
3141
- import { jsx as jsx180 } from "react/jsx-runtime";
3158
+ import { jsx as jsx181 } from "react/jsx-runtime";
3142
3159
  var GridChild = ({
3143
3160
  id,
3144
3161
  className,
@@ -3154,7 +3171,7 @@ var GridChild = ({
3154
3171
  ...getResponsiveCSSProperties(justifySelf, "r", "j-self"),
3155
3172
  ...getResponsiveCSSProperties(columnsOccupied, "r", "grid-column")
3156
3173
  };
3157
- return /* @__PURE__ */ jsx180(
3174
+ return /* @__PURE__ */ jsx181(
3158
3175
  Box,
3159
3176
  {
3160
3177
  ...getBaseHTMLProps(
@@ -3195,7 +3212,7 @@ var Paper_default = {
3195
3212
  };
3196
3213
 
3197
3214
  // src/components/layout/Paper/Paper.tsx
3198
- import { jsx as jsx181 } from "react/jsx-runtime";
3215
+ import { jsx as jsx182 } from "react/jsx-runtime";
3199
3216
  var Paper = ({
3200
3217
  id,
3201
3218
  elevation,
@@ -3211,7 +3228,7 @@ var Paper = ({
3211
3228
  ...getResponsiveCSSProperties(background, "paper-background"),
3212
3229
  ...getResponsiveCSSProperties(border, "paper-border")
3213
3230
  };
3214
- return /* @__PURE__ */ jsx181(
3231
+ return /* @__PURE__ */ jsx182(
3215
3232
  Box,
3216
3233
  {
3217
3234
  ...getBaseHTMLProps(
@@ -3233,14 +3250,14 @@ var Paper = ({
3233
3250
  };
3234
3251
 
3235
3252
  // src/components/layout/Stack/VStack/VStack.tsx
3236
- import { jsx as jsx182 } from "react/jsx-runtime";
3253
+ import { jsx as jsx183 } from "react/jsx-runtime";
3237
3254
  var VStack = ({
3238
3255
  id,
3239
3256
  className,
3240
3257
  htmlProps,
3241
3258
  ...rest
3242
3259
  }) => {
3243
- return /* @__PURE__ */ jsx182(
3260
+ return /* @__PURE__ */ jsx183(
3244
3261
  Box,
3245
3262
  {
3246
3263
  display: "flex",
@@ -3252,14 +3269,14 @@ var VStack = ({
3252
3269
  VStack.displayName = "VStack";
3253
3270
 
3254
3271
  // src/components/layout/Stack/HStack/HStack.tsx
3255
- import { jsx as jsx183 } from "react/jsx-runtime";
3272
+ import { jsx as jsx184 } from "react/jsx-runtime";
3256
3273
  var HStack = ({
3257
3274
  id,
3258
3275
  className,
3259
3276
  htmlProps,
3260
3277
  ...rest
3261
3278
  }) => {
3262
- return /* @__PURE__ */ jsx183(
3279
+ return /* @__PURE__ */ jsx184(
3263
3280
  Box,
3264
3281
  {
3265
3282
  display: "flex",
@@ -3377,13 +3394,13 @@ import {
3377
3394
  createContext,
3378
3395
  useContext
3379
3396
  } from "react";
3380
- import { jsx as jsx184 } from "react/jsx-runtime";
3397
+ import { jsx as jsx185 } from "react/jsx-runtime";
3381
3398
  var AccordionContext = createContext({});
3382
3399
  var AccordionContextProvider = ({
3383
3400
  children,
3384
3401
  ...values
3385
3402
  }) => {
3386
- return /* @__PURE__ */ jsx184(AccordionContext, { value: values, children });
3403
+ return /* @__PURE__ */ jsx185(AccordionContext, { value: values, children });
3387
3404
  };
3388
3405
  var useAccordionContext = () => {
3389
3406
  const context = useContext(AccordionContext);
@@ -3396,7 +3413,7 @@ var useAccordionContext = () => {
3396
3413
  };
3397
3414
 
3398
3415
  // src/components/Accordion/Accordion.tsx
3399
- import { jsx as jsx185 } from "react/jsx-runtime";
3416
+ import { jsx as jsx186 } from "react/jsx-runtime";
3400
3417
  var Accordion = ({
3401
3418
  isExpanded = false,
3402
3419
  onChange,
@@ -3414,7 +3431,7 @@ var Accordion = ({
3414
3431
  headerProps,
3415
3432
  bodyProps
3416
3433
  } = useAccordion({ initiallyExpanded: isExpanded, onChange, id });
3417
- return /* @__PURE__ */ jsx185(
3434
+ return /* @__PURE__ */ jsx186(
3418
3435
  "div",
3419
3436
  {
3420
3437
  ...getBaseHTMLProps(
@@ -3423,7 +3440,7 @@ var Accordion = ({
3423
3440
  htmlProps,
3424
3441
  rest
3425
3442
  ),
3426
- children: /* @__PURE__ */ jsx185(
3443
+ children: /* @__PURE__ */ jsx186(
3427
3444
  AccordionContextProvider,
3428
3445
  {
3429
3446
  headerProps,
@@ -3440,7 +3457,7 @@ var Accordion = ({
3440
3457
  Accordion.displayName = "Accordion";
3441
3458
 
3442
3459
  // src/components/Accordion/AccordionHeader.tsx
3443
- import { jsx as jsx186, jsxs as jsxs24 } from "react/jsx-runtime";
3460
+ import { jsx as jsx187, jsxs as jsxs24 } from "react/jsx-runtime";
3444
3461
  var AccordionHeader = ({
3445
3462
  children,
3446
3463
  className,
@@ -3454,7 +3471,7 @@ var AccordionHeader = ({
3454
3471
  return /* @__PURE__ */ jsxs24(
3455
3472
  Box,
3456
3473
  {
3457
- as: "button",
3474
+ as: StylelessButton,
3458
3475
  padding: "x1 x1.5 x1 x1",
3459
3476
  ...getBaseHTMLProps(
3460
3477
  id,
@@ -3462,8 +3479,6 @@ var AccordionHeader = ({
3462
3479
  className,
3463
3480
  Accordion_default["header-button"],
3464
3481
  AccordionBase_default["header-button"],
3465
- utilStyles_default["normalize-button"],
3466
- utilStyles_default["remove-button-styling"],
3467
3482
  focusable,
3468
3483
  AccordionBase_default["header-container"]
3469
3484
  ),
@@ -3472,13 +3487,13 @@ var AccordionHeader = ({
3472
3487
  ),
3473
3488
  ...restHeaderProps,
3474
3489
  children: [
3475
- /* @__PURE__ */ jsx186(
3490
+ /* @__PURE__ */ jsx187(
3476
3491
  Box,
3477
3492
  {
3478
3493
  as: "span",
3479
3494
  marginInline: "x0 x0.5",
3480
3495
  className: AccordionBase_default.header__chevron,
3481
- children: /* @__PURE__ */ jsx186(
3496
+ children: /* @__PURE__ */ jsx187(
3482
3497
  AnimatedChevronUpDown,
3483
3498
  {
3484
3499
  width: "var(--dds-icon-size-medium)",
@@ -3488,7 +3503,7 @@ var AccordionHeader = ({
3488
3503
  )
3489
3504
  }
3490
3505
  ),
3491
- /* @__PURE__ */ jsx186(
3506
+ /* @__PURE__ */ jsx187(
3492
3507
  "div",
3493
3508
  {
3494
3509
  className: cn(
@@ -3506,7 +3521,7 @@ var AccordionHeader = ({
3506
3521
  AccordionHeader.displayName = "AccordionHeader";
3507
3522
 
3508
3523
  // src/components/Accordion/AccordionBody.tsx
3509
- import { jsx as jsx187 } from "react/jsx-runtime";
3524
+ import { jsx as jsx188 } from "react/jsx-runtime";
3510
3525
  var AccordionBody = ({
3511
3526
  children,
3512
3527
  className,
@@ -3524,7 +3539,7 @@ var AccordionBody = ({
3524
3539
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3525
3540
  ["--dds-card-accordion-body-height"]: height + "px"
3526
3541
  };
3527
- return /* @__PURE__ */ jsx187(
3542
+ return /* @__PURE__ */ jsx188(
3528
3543
  "div",
3529
3544
  {
3530
3545
  ...getBaseHTMLProps(
@@ -3535,7 +3550,7 @@ var AccordionBody = ({
3535
3550
  ),
3536
3551
  ...restBodyProps,
3537
3552
  style: { ...htmlProps == null ? void 0 : htmlProps.style, ...styleVariables },
3538
- children: /* @__PURE__ */ jsx187(Box, { ref: bodyContentRef, padding: "x0.5 x1.5 x2 x1", children })
3553
+ children: /* @__PURE__ */ jsx188(Box, { ref: bodyContentRef, padding: "x0.5 x1.5 x2 x1", children })
3539
3554
  }
3540
3555
  );
3541
3556
  };
@@ -3547,25 +3562,25 @@ var BackLink_default = {
3547
3562
  };
3548
3563
 
3549
3564
  // src/components/BackLink/BackLink.tsx
3550
- import { jsx as jsx188, jsxs as jsxs25 } from "react/jsx-runtime";
3565
+ import { jsx as jsx189, jsxs as jsxs25 } from "react/jsx-runtime";
3551
3566
  var BackLink = ({ label, ref, ...rest }) => {
3552
- return /* @__PURE__ */ jsx188("nav", { ref, "aria-label": "G\xE5 tilbake", children: /* @__PURE__ */ jsxs25(Link, { ...rest, children: [
3553
- /* @__PURE__ */ jsx188(Icon, { icon: ArrowLeftIcon, iconSize: "inherit", className: BackLink_default.icon }),
3567
+ return /* @__PURE__ */ jsx189("nav", { ref, "aria-label": "G\xE5 tilbake", children: /* @__PURE__ */ jsxs25(Link, { ...rest, children: [
3568
+ /* @__PURE__ */ jsx189(Icon, { icon: ArrowLeftIcon, iconSize: "inherit", className: BackLink_default.icon }),
3554
3569
  label
3555
3570
  ] }) });
3556
3571
  };
3557
3572
  BackLink.displayName = "BackLink";
3558
3573
 
3559
3574
  // src/components/Breadcrumbs/Breadcrumb.tsx
3560
- import { jsx as jsx189 } from "react/jsx-runtime";
3575
+ import { jsx as jsx190 } from "react/jsx-runtime";
3561
3576
  var isAnchorTypographyProps = (props) => {
3562
3577
  return props.href != void 0;
3563
3578
  };
3564
3579
  var Breadcrumb = ({ children, ref, ...rest }) => {
3565
3580
  if (isAnchorTypographyProps(rest)) {
3566
- return /* @__PURE__ */ jsx189(Link, { ref, htmlProps: rest, children });
3581
+ return /* @__PURE__ */ jsx190(Link, { ref, htmlProps: rest, children });
3567
3582
  }
3568
- return /* @__PURE__ */ jsx189("span", { ref, ...rest, children });
3583
+ return /* @__PURE__ */ jsx190("span", { ref, ...rest, children });
3569
3584
  };
3570
3585
  Breadcrumb.displayName = "Breadcrumb";
3571
3586
 
@@ -3618,7 +3633,7 @@ var Spinner_default = {
3618
3633
  };
3619
3634
 
3620
3635
  // src/components/Spinner/Spinner.tsx
3621
- import { jsx as jsx190, jsxs as jsxs26 } from "react/jsx-runtime";
3636
+ import { jsx as jsx191, jsxs as jsxs26 } from "react/jsx-runtime";
3622
3637
  function Spinner(props) {
3623
3638
  const {
3624
3639
  size: size2 = "var(--dds-icon-size-medium)",
@@ -3648,8 +3663,8 @@ function Spinner(props) {
3648
3663
  height: size2
3649
3664
  },
3650
3665
  children: [
3651
- /* @__PURE__ */ jsx190("title", { id: uniqueId, children: tooltip }),
3652
- /* @__PURE__ */ jsx190(
3666
+ /* @__PURE__ */ jsx191("title", { id: uniqueId, children: tooltip }),
3667
+ /* @__PURE__ */ jsx191(
3653
3668
  "circle",
3654
3669
  {
3655
3670
  className: cn(Spinner_default.circle),
@@ -3671,7 +3686,7 @@ function Spinner(props) {
3671
3686
  Spinner.displayName = "Spinner";
3672
3687
 
3673
3688
  // src/components/Button/Button.tsx
3674
- import { Fragment, jsx as jsx191, jsxs as jsxs27 } from "react/jsx-runtime";
3689
+ import { Fragment, jsx as jsx192, jsxs as jsxs27 } from "react/jsx-runtime";
3675
3690
  var Button = ({
3676
3691
  children,
3677
3692
  purpose = "primary",
@@ -3713,7 +3728,7 @@ var Button = ({
3713
3728
  typographyStyles_default[`body-${size2}`],
3714
3729
  focusable
3715
3730
  );
3716
- const iconElement = hasIcon && /* @__PURE__ */ jsx191(
3731
+ const iconElement = hasIcon && /* @__PURE__ */ jsx192(
3717
3732
  Icon,
3718
3733
  {
3719
3734
  icon,
@@ -3724,11 +3739,11 @@ var Button = ({
3724
3739
  const content = /* @__PURE__ */ jsxs27(Fragment, { children: [
3725
3740
  hasLabel && /* @__PURE__ */ jsxs27(Fragment, { children: [
3726
3741
  iconPosition === "left" && iconElement,
3727
- /* @__PURE__ */ jsx191("span", { "aria-hidden": loading, className: cn(loading && invisible), children }),
3742
+ /* @__PURE__ */ jsx192("span", { "aria-hidden": loading, className: cn(loading && invisible), children }),
3728
3743
  iconPosition === "right" && iconElement
3729
3744
  ] }),
3730
3745
  isIconButton && iconElement,
3731
- loading && /* @__PURE__ */ jsx191("span", { className: cn(!noContent && Button_default["spinner-wrapper--absolute"]), children: /* @__PURE__ */ jsx191(
3746
+ loading && /* @__PURE__ */ jsx192("span", { className: cn(!noContent && Button_default["spinner-wrapper--absolute"]), children: /* @__PURE__ */ jsx192(
3732
3747
  Spinner,
3733
3748
  {
3734
3749
  size: "calc(var(--dds-font-lineheight-x1) * 1em)",
@@ -3739,7 +3754,7 @@ var Button = ({
3739
3754
  ) })
3740
3755
  ] });
3741
3756
  if (!href)
3742
- return /* @__PURE__ */ jsx191(
3757
+ return /* @__PURE__ */ jsx192(
3743
3758
  "button",
3744
3759
  {
3745
3760
  ref,
@@ -3752,7 +3767,7 @@ var Button = ({
3752
3767
  }
3753
3768
  );
3754
3769
  else if (href)
3755
- return /* @__PURE__ */ jsx191(
3770
+ return /* @__PURE__ */ jsx192(
3756
3771
  "a",
3757
3772
  {
3758
3773
  ref,
@@ -3788,7 +3803,7 @@ import {
3788
3803
  useEffect as useEffect12,
3789
3804
  useState as useState6
3790
3805
  } from "react";
3791
- import { jsx as jsx192 } from "react/jsx-runtime";
3806
+ import { jsx as jsx193 } from "react/jsx-runtime";
3792
3807
  var OverflowMenuContext = createContext3({
3793
3808
  isOpen: false,
3794
3809
  registerItem: () => null,
@@ -3806,7 +3821,7 @@ function OverflowMenuContextProvider({
3806
3821
  var _a, _b;
3807
3822
  (_b = (_a = items[focusIndex]) == null ? void 0 : _a.current) == null ? void 0 : _b.focus();
3808
3823
  }, [focusIndex]);
3809
- return /* @__PURE__ */ jsx192(
3824
+ return /* @__PURE__ */ jsx193(
3810
3825
  OverflowMenuContext,
3811
3826
  {
3812
3827
  value: {
@@ -3836,7 +3851,7 @@ var OverflowMenu_default = {
3836
3851
  };
3837
3852
 
3838
3853
  // src/components/OverflowMenu/OverflowMenu.tsx
3839
- import { jsx as jsx193 } from "react/jsx-runtime";
3854
+ import { jsx as jsx194 } from "react/jsx-runtime";
3840
3855
  var OverflowMenu = ({
3841
3856
  placement = "bottom-end",
3842
3857
  offset = 2,
@@ -3851,7 +3866,7 @@ var OverflowMenu = ({
3851
3866
  }, [placement, offset]);
3852
3867
  const { style = {}, ...restHTMLProps } = htmlProps;
3853
3868
  const openCn = isOpen ? "open" : "closed";
3854
- return /* @__PURE__ */ jsx193(
3869
+ return /* @__PURE__ */ jsx194(
3855
3870
  Paper,
3856
3871
  {
3857
3872
  overflowY: "auto",
@@ -3882,7 +3897,7 @@ OverflowMenu.displayName = "OverflowMenu";
3882
3897
 
3883
3898
  // src/components/OverflowMenu/components/OverflowMenuButton.tsx
3884
3899
  import { useEffect as useEffect14, useRef as useRef6, useState as useState7 } from "react";
3885
- import { jsx as jsx194, jsxs as jsxs28 } from "react/jsx-runtime";
3900
+ import { jsx as jsx195, jsxs as jsxs28 } from "react/jsx-runtime";
3886
3901
  var OverflowMenuButton = ({
3887
3902
  id,
3888
3903
  icon,
@@ -3921,7 +3936,7 @@ var OverflowMenuButton = ({
3921
3936
  onClose == null ? void 0 : onClose();
3922
3937
  }
3923
3938
  };
3924
- return /* @__PURE__ */ jsx194("li", { children: /* @__PURE__ */ jsxs28(
3939
+ return /* @__PURE__ */ jsx195("li", { children: /* @__PURE__ */ jsxs28(
3925
3940
  "button",
3926
3941
  {
3927
3942
  ref: combinedRef,
@@ -3941,14 +3956,14 @@ var OverflowMenuButton = ({
3941
3956
  ...rest,
3942
3957
  tabIndex: focusedRef === itemRef ? 0 : -1,
3943
3958
  children: [
3944
- isLoading && /* @__PURE__ */ jsx194("span", { className: cn(utilStyles_default["center-absolute"]), children: /* @__PURE__ */ jsx194(
3959
+ isLoading && /* @__PURE__ */ jsx195("span", { className: cn(utilStyles_default["center-absolute"]), children: /* @__PURE__ */ jsx195(
3945
3960
  Spinner,
3946
3961
  {
3947
3962
  size: "var(--dds-icon-size-medium)",
3948
3963
  tooltip: loadingTooltip
3949
3964
  }
3950
3965
  ) }),
3951
- icon && /* @__PURE__ */ jsx194(
3966
+ icon && /* @__PURE__ */ jsx195(
3952
3967
  Icon,
3953
3968
  {
3954
3969
  className: cn(isLoading && invisible),
@@ -3956,7 +3971,7 @@ var OverflowMenuButton = ({
3956
3971
  icon
3957
3972
  }
3958
3973
  ),
3959
- /* @__PURE__ */ jsx194("span", { className: cn(isLoading && invisible), children })
3974
+ /* @__PURE__ */ jsx195("span", { className: cn(isLoading && invisible), children })
3960
3975
  ]
3961
3976
  }
3962
3977
  ) });
@@ -3965,7 +3980,7 @@ OverflowMenuButton.displayName = "OverflowMenuButton";
3965
3980
 
3966
3981
  // src/components/OverflowMenu/components/OverflowMenuLink.tsx
3967
3982
  import { useEffect as useEffect15, useRef as useRef7 } from "react";
3968
- import { jsx as jsx195, jsxs as jsxs29 } from "react/jsx-runtime";
3983
+ import { jsx as jsx196, jsxs as jsxs29 } from "react/jsx-runtime";
3969
3984
  var OverflowMenuLink = ({
3970
3985
  id,
3971
3986
  href,
@@ -3984,7 +3999,7 @@ var OverflowMenuLink = ({
3984
3999
  registerItem(itemRef);
3985
4000
  return () => unregisterItem(itemRef);
3986
4001
  }, []);
3987
- return /* @__PURE__ */ jsx195("li", { children: /* @__PURE__ */ jsxs29(
4002
+ return /* @__PURE__ */ jsx196("li", { children: /* @__PURE__ */ jsxs29(
3988
4003
  "a",
3989
4004
  {
3990
4005
  ref: combinedRef,
@@ -4006,7 +4021,7 @@ var OverflowMenuLink = ({
4006
4021
  ...rest,
4007
4022
  tabIndex: focusedRef === itemRef ? 0 : -1,
4008
4023
  children: [
4009
- icon && /* @__PURE__ */ jsx195(Icon, { iconSize: "inherit", icon }),
4024
+ icon && /* @__PURE__ */ jsx196(Icon, { iconSize: "inherit", icon }),
4010
4025
  children
4011
4026
  ]
4012
4027
  }
@@ -4023,7 +4038,7 @@ var Divider_default = {
4023
4038
  };
4024
4039
 
4025
4040
  // src/components/Divider/Divider.tsx
4026
- import { jsx as jsx196 } from "react/jsx-runtime";
4041
+ import { jsx as jsx197 } from "react/jsx-runtime";
4027
4042
  var Divider = ({
4028
4043
  color = "default",
4029
4044
  id,
@@ -4031,7 +4046,7 @@ var Divider = ({
4031
4046
  htmlProps,
4032
4047
  ...rest
4033
4048
  }) => {
4034
- return /* @__PURE__ */ jsx196(
4049
+ return /* @__PURE__ */ jsx197(
4035
4050
  "hr",
4036
4051
  {
4037
4052
  ...getBaseHTMLProps(
@@ -4045,14 +4060,14 @@ var Divider = ({
4045
4060
  };
4046
4061
 
4047
4062
  // src/components/OverflowMenu/components/OverflowMenuDivider.tsx
4048
- import { jsx as jsx197 } from "react/jsx-runtime";
4063
+ import { jsx as jsx198 } from "react/jsx-runtime";
4049
4064
  var OverflowMenuDivider = ({
4050
4065
  id,
4051
4066
  className,
4052
4067
  htmlProps,
4053
4068
  ...rest
4054
4069
  }) => {
4055
- return /* @__PURE__ */ jsx197(
4070
+ return /* @__PURE__ */ jsx198(
4056
4071
  Box,
4057
4072
  {
4058
4073
  as: Divider,
@@ -4066,18 +4081,18 @@ var OverflowMenuDivider = ({
4066
4081
  OverflowMenuDivider.displayName = "OverflowMenuDivider";
4067
4082
 
4068
4083
  // src/components/OverflowMenu/components/OverflowMenuList.tsx
4069
- import { jsx as jsx198 } from "react/jsx-runtime";
4070
- var OverflowMenuList = (props) => /* @__PURE__ */ jsx198(StylelessList, { ...props });
4084
+ import { jsx as jsx199 } from "react/jsx-runtime";
4085
+ var OverflowMenuList = (props) => /* @__PURE__ */ jsx199(StylelessList, { ...props });
4071
4086
 
4072
4087
  // src/components/OverflowMenu/components/OverflowMenuSpan.tsx
4073
- import { jsx as jsx199, jsxs as jsxs30 } from "react/jsx-runtime";
4088
+ import { jsx as jsx200, jsxs as jsxs30 } from "react/jsx-runtime";
4074
4089
  var OverflowMenuSpan = ({
4075
4090
  icon,
4076
4091
  children,
4077
4092
  className,
4078
4093
  purpose = "default",
4079
4094
  ...rest
4080
- }) => /* @__PURE__ */ jsx199("li", { children: /* @__PURE__ */ jsxs30(
4095
+ }) => /* @__PURE__ */ jsx200("li", { children: /* @__PURE__ */ jsxs30(
4081
4096
  "span",
4082
4097
  {
4083
4098
  className: cn(
@@ -4088,7 +4103,7 @@ var OverflowMenuSpan = ({
4088
4103
  ),
4089
4104
  ...rest,
4090
4105
  children: [
4091
- icon && /* @__PURE__ */ jsx199(Icon, { iconSize: "inherit", icon }),
4106
+ icon && /* @__PURE__ */ jsx200(Icon, { iconSize: "inherit", icon }),
4092
4107
  children
4093
4108
  ]
4094
4109
  }
@@ -4096,11 +4111,11 @@ var OverflowMenuSpan = ({
4096
4111
  OverflowMenuSpan.displayName = "OverflowMenuSpan";
4097
4112
 
4098
4113
  // src/components/OverflowMenu/components/OverflowMenuListHeader.tsx
4099
- import { jsx as jsx200 } from "react/jsx-runtime";
4114
+ import { jsx as jsx201 } from "react/jsx-runtime";
4100
4115
  var OverflowMenuListHeader = ({
4101
4116
  className,
4102
4117
  ...rest
4103
- }) => /* @__PURE__ */ jsx200(
4118
+ }) => /* @__PURE__ */ jsx201(
4104
4119
  Box,
4105
4120
  {
4106
4121
  as: "h2",
@@ -4121,7 +4136,7 @@ import {
4121
4136
  useRef as useRef8,
4122
4137
  useState as useState8
4123
4138
  } from "react";
4124
- import { jsx as jsx201 } from "react/jsx-runtime";
4139
+ import { jsx as jsx202 } from "react/jsx-runtime";
4125
4140
  var OverflowMenuGroup = ({
4126
4141
  children,
4127
4142
  onClose,
@@ -4182,7 +4197,7 @@ var OverflowMenuGroup = ({
4182
4197
  ref: combinedAnchorRef
4183
4198
  }) : child);
4184
4199
  });
4185
- return /* @__PURE__ */ jsx201(
4200
+ return /* @__PURE__ */ jsx202(
4186
4201
  OverflowMenuContextProvider,
4187
4202
  {
4188
4203
  isOpen,
@@ -4198,7 +4213,7 @@ var OverflowMenuGroup = ({
4198
4213
  OverflowMenuGroup.displayName = "OverflowMenuGroup";
4199
4214
 
4200
4215
  // src/components/Breadcrumbs/Breadcrumbs.tsx
4201
- import { Fragment as Fragment2, jsx as jsx202, jsxs as jsxs31 } from "react/jsx-runtime";
4216
+ import { Fragment as Fragment2, jsx as jsx203, jsxs as jsxs31 } from "react/jsx-runtime";
4202
4217
  var Breadcrumbs = ({
4203
4218
  children,
4204
4219
  smallScreenBreakpoint,
@@ -4207,7 +4222,7 @@ var Breadcrumbs = ({
4207
4222
  htmlProps,
4208
4223
  ...rest
4209
4224
  }) => {
4210
- const chevronIcon = /* @__PURE__ */ jsx202(
4225
+ const chevronIcon = /* @__PURE__ */ jsx203(
4211
4226
  Icon,
4212
4227
  {
4213
4228
  className: cn(Breadcrumbs_default.icon),
@@ -4239,17 +4254,17 @@ var Breadcrumbs = ({
4239
4254
  const breadcrumbChildrenTruncated = childrenArray.length > 2 ? childrenArray.slice(1, childrenArray.length - 1).map((item, index) => {
4240
4255
  if (isValidElement2(item)) {
4241
4256
  if (isAnchorTypographyProps(item.props)) {
4242
- return /* @__PURE__ */ jsx202(OverflowMenuLink, { href: item.props.href, children: item.props.children }, index);
4257
+ return /* @__PURE__ */ jsx203(OverflowMenuLink, { href: item.props.href, children: item.props.children }, index);
4243
4258
  } else
4244
- return /* @__PURE__ */ jsx202(OverflowMenuSpan, { children: item.props.children }, index);
4259
+ return /* @__PURE__ */ jsx203(OverflowMenuSpan, { children: item.props.children }, index);
4245
4260
  }
4246
4261
  }) : [];
4247
4262
  const breadcrumbChildrenSmallScreen = /* @__PURE__ */ jsxs31(Fragment2, { children: [
4248
- /* @__PURE__ */ jsx202(HStack, { ...responsiveLiProps, children: childrenArray[0] }),
4263
+ /* @__PURE__ */ jsx203(HStack, { ...responsiveLiProps, children: childrenArray[0] }),
4249
4264
  breadcrumbChildrenTruncated.length > 0 && /* @__PURE__ */ jsxs31(HStack, { ...responsiveLiProps, children: [
4250
4265
  chevronIcon,
4251
4266
  /* @__PURE__ */ jsxs31(OverflowMenuGroup, { children: [
4252
- /* @__PURE__ */ jsx202(
4267
+ /* @__PURE__ */ jsx203(
4253
4268
  Button,
4254
4269
  {
4255
4270
  size: "xsmall",
@@ -4258,7 +4273,7 @@ var Breadcrumbs = ({
4258
4273
  "aria-label": `Vis br\xF8dsmulesti br\xF8dsmule 2 ${breadcrumbChildrenTruncated.length > 1 && `til ${breadcrumbChildren.length - 1}`}`
4259
4274
  }
4260
4275
  ),
4261
- /* @__PURE__ */ jsx202(OverflowMenu, { children: /* @__PURE__ */ jsx202(OverflowMenuList, { children: breadcrumbChildrenTruncated }) })
4276
+ /* @__PURE__ */ jsx203(OverflowMenu, { children: /* @__PURE__ */ jsx203(OverflowMenuList, { children: breadcrumbChildrenTruncated }) })
4262
4277
  ] })
4263
4278
  ] }),
4264
4279
  /* @__PURE__ */ jsxs31(HStack, { ...responsiveLiProps, children: [
@@ -4279,7 +4294,7 @@ var Breadcrumbs = ({
4279
4294
  ...getBaseHTMLProps(id, className, htmlProps, rest),
4280
4295
  "aria-label": "br\xF8dsmulesti",
4281
4296
  children: [
4282
- /* @__PURE__ */ jsx202(
4297
+ /* @__PURE__ */ jsx203(
4283
4298
  HStack,
4284
4299
  {
4285
4300
  ...responsiveListProps,
@@ -4287,7 +4302,7 @@ var Breadcrumbs = ({
4287
4302
  children: breadcrumbChildren
4288
4303
  }
4289
4304
  ),
4290
- hasSmallScreenBreakpoint && /* @__PURE__ */ jsx202(HStack, { ...responsiveListProps, showBelow: smallScreenBreakpoint, children: breadcrumbChildrenSmallScreen })
4305
+ hasSmallScreenBreakpoint && /* @__PURE__ */ jsx203(HStack, { ...responsiveListProps, showBelow: smallScreenBreakpoint, children: breadcrumbChildrenSmallScreen })
4291
4306
  ]
4292
4307
  }
4293
4308
  );
@@ -4302,7 +4317,7 @@ var ButtonGroup_default = {
4302
4317
  };
4303
4318
 
4304
4319
  // src/components/ButtonGroup/ButtonGroup.tsx
4305
- import { jsx as jsx203 } from "react/jsx-runtime";
4320
+ import { jsx as jsx204 } from "react/jsx-runtime";
4306
4321
  var ButtonGroup = ({
4307
4322
  children,
4308
4323
  id,
@@ -4312,7 +4327,7 @@ var ButtonGroup = ({
4312
4327
  buttonSize = "medium",
4313
4328
  role = "group",
4314
4329
  ...rest
4315
- }) => /* @__PURE__ */ jsx203(ButtonGroupContext, { value: { size: buttonSize, purpose: "secondary" }, children: /* @__PURE__ */ jsx203(
4330
+ }) => /* @__PURE__ */ jsx204(ButtonGroupContext, { value: { size: buttonSize, purpose: "secondary" }, children: /* @__PURE__ */ jsx204(
4316
4331
  "div",
4317
4332
  {
4318
4333
  role,
@@ -4338,7 +4353,7 @@ var Card_default = {
4338
4353
  };
4339
4354
 
4340
4355
  // src/components/Card/Card.tsx
4341
- import { jsx as jsx204 } from "react/jsx-runtime";
4356
+ import { jsx as jsx205 } from "react/jsx-runtime";
4342
4357
  var Card = (props) => {
4343
4358
  const {
4344
4359
  appearance = "filled",
@@ -4357,7 +4372,7 @@ var Card = (props) => {
4357
4372
  );
4358
4373
  if (cardType === "navigation") {
4359
4374
  const { href, target } = props;
4360
- return /* @__PURE__ */ jsx204(
4375
+ return /* @__PURE__ */ jsx205(
4361
4376
  "a",
4362
4377
  {
4363
4378
  ...getBaseHTMLProps(
@@ -4372,7 +4387,7 @@ var Card = (props) => {
4372
4387
  }
4373
4388
  );
4374
4389
  }
4375
- return /* @__PURE__ */ jsx204("div", { ...getBaseHTMLProps(id, classNames, htmlProps, rest), ref: cardRef });
4390
+ return /* @__PURE__ */ jsx205("div", { ...getBaseHTMLProps(id, classNames, htmlProps, rest), ref: cardRef });
4376
4391
  };
4377
4392
  Card.displayName = "Card";
4378
4393
 
@@ -4387,7 +4402,7 @@ var CardExpandable_default = {
4387
4402
  };
4388
4403
 
4389
4404
  // src/components/Card/CardExpandable/CardExpandable.tsx
4390
- import { jsx as jsx205 } from "react/jsx-runtime";
4405
+ import { jsx as jsx206 } from "react/jsx-runtime";
4391
4406
  var CardExpandable = ({
4392
4407
  isExpanded = false,
4393
4408
  onChange,
@@ -4405,7 +4420,7 @@ var CardExpandable = ({
4405
4420
  headerProps,
4406
4421
  bodyProps
4407
4422
  } = useAccordion({ initiallyExpanded: isExpanded, onChange, id });
4408
- return /* @__PURE__ */ jsx205(
4423
+ return /* @__PURE__ */ jsx206(
4409
4424
  "div",
4410
4425
  {
4411
4426
  ...getBaseHTMLProps(
@@ -4414,7 +4429,7 @@ var CardExpandable = ({
4414
4429
  htmlProps,
4415
4430
  rest
4416
4431
  ),
4417
- children: /* @__PURE__ */ jsx205(
4432
+ children: /* @__PURE__ */ jsx206(
4418
4433
  AccordionContextProvider,
4419
4434
  {
4420
4435
  headerProps,
@@ -4431,7 +4446,7 @@ var CardExpandable = ({
4431
4446
  CardExpandable.displayName = "CardExpandable";
4432
4447
 
4433
4448
  // src/components/Card/CardExpandable/CardExpandableHeader.tsx
4434
- import { jsx as jsx206, jsxs as jsxs32 } from "react/jsx-runtime";
4449
+ import { jsx as jsx207, jsxs as jsxs32 } from "react/jsx-runtime";
4435
4450
  var CardExpandableHeader = ({
4436
4451
  children,
4437
4452
  className,
@@ -4447,8 +4462,8 @@ var CardExpandableHeader = ({
4447
4462
  ["--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)"
4448
4463
  };
4449
4464
  const { id, ...restHeaderProps } = headerProps != null ? headerProps : {};
4450
- return /* @__PURE__ */ jsx206(
4451
- "button",
4465
+ return /* @__PURE__ */ jsx207(
4466
+ StylelessButton,
4452
4467
  {
4453
4468
  ...getBaseHTMLProps(
4454
4469
  id,
@@ -4456,8 +4471,6 @@ var CardExpandableHeader = ({
4456
4471
  className,
4457
4472
  CardExpandable_default["header-button"],
4458
4473
  AccordionBase_default["header-button"],
4459
- utilStyles_default["normalize-button"],
4460
- utilStyles_default["remove-button-styling"],
4461
4474
  focusable
4462
4475
  ),
4463
4476
  htmlProps,
@@ -4476,15 +4489,15 @@ var CardExpandableHeader = ({
4476
4489
  bold && typographyStyles_default.bold
4477
4490
  ),
4478
4491
  children: [
4479
- /* @__PURE__ */ jsx206("div", { className: AccordionBase_default.header__content, children }),
4480
- /* @__PURE__ */ jsx206(
4492
+ /* @__PURE__ */ jsx207("div", { className: AccordionBase_default.header__content, children }),
4493
+ /* @__PURE__ */ jsx207(
4481
4494
  "span",
4482
4495
  {
4483
4496
  className: cn(
4484
4497
  AccordionBase_default.header__chevron,
4485
4498
  CardExpandable_default["header-container__chevron"]
4486
4499
  ),
4487
- children: /* @__PURE__ */ jsx206(
4500
+ children: /* @__PURE__ */ jsx207(
4488
4501
  AnimatedChevronUpDown,
4489
4502
  {
4490
4503
  width: "var(--dds-icon-size-medium)",
@@ -4503,7 +4516,7 @@ var CardExpandableHeader = ({
4503
4516
  CardExpandableHeader.displayName = "CardExpandableHeader";
4504
4517
 
4505
4518
  // src/components/Card/CardExpandable/CardExpandableBody.tsx
4506
- import { jsx as jsx207 } from "react/jsx-runtime";
4519
+ import { jsx as jsx208 } from "react/jsx-runtime";
4507
4520
  var CardExpandableBody = ({
4508
4521
  children,
4509
4522
  className,
@@ -4526,7 +4539,7 @@ var CardExpandableBody = ({
4526
4539
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
4527
4540
  ["--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)"
4528
4541
  };
4529
- return /* @__PURE__ */ jsx207(
4542
+ return /* @__PURE__ */ jsx208(
4530
4543
  "div",
4531
4544
  {
4532
4545
  ...getBaseHTMLProps(
@@ -4537,7 +4550,7 @@ var CardExpandableBody = ({
4537
4550
  ),
4538
4551
  ...restBodyProps,
4539
4552
  style: { ...htmlProps == null ? void 0 : htmlProps.style, ...styleVariables },
4540
- children: /* @__PURE__ */ jsx207(
4553
+ children: /* @__PURE__ */ jsx208(
4541
4554
  "div",
4542
4555
  {
4543
4556
  ref: bodyContentRef,
@@ -4576,12 +4589,12 @@ var SelectionControl_default = {
4576
4589
  };
4577
4590
 
4578
4591
  // src/components/SelectionControl/SelectionControl.styles.tsx
4579
- import { jsx as jsx208, jsxs as jsxs33 } from "react/jsx-runtime";
4592
+ import { jsx as jsx209, jsxs as jsxs33 } from "react/jsx-runtime";
4580
4593
  var SelectionControl = ({
4581
4594
  controlType,
4582
4595
  className,
4583
4596
  ...rest
4584
- }) => /* @__PURE__ */ jsx208(
4597
+ }) => /* @__PURE__ */ jsx209(
4585
4598
  "span",
4586
4599
  {
4587
4600
  className: cn(
@@ -4599,7 +4612,7 @@ var Label2 = ({
4599
4612
  className,
4600
4613
  ...rest
4601
4614
  }) => {
4602
- return /* @__PURE__ */ jsx208(
4615
+ return /* @__PURE__ */ jsx209(
4603
4616
  Box,
4604
4617
  {
4605
4618
  as: "label",
@@ -4634,7 +4647,7 @@ var GroupLabel = ({
4634
4647
  id,
4635
4648
  className: readOnly ? Label_default["read-only"] : void 0,
4636
4649
  children: [
4637
- readOnly && /* @__PURE__ */ jsx208(
4650
+ readOnly && /* @__PURE__ */ jsx209(
4638
4651
  Icon,
4639
4652
  {
4640
4653
  icon: LockIcon,
@@ -4644,7 +4657,7 @@ var GroupLabel = ({
4644
4657
  ),
4645
4658
  children,
4646
4659
  " ",
4647
- showRequiredMarker && /* @__PURE__ */ jsx208(RequiredMarker, {})
4660
+ showRequiredMarker && /* @__PURE__ */ jsx209(RequiredMarker, {})
4648
4661
  ]
4649
4662
  }
4650
4663
  );
@@ -4660,7 +4673,7 @@ var selectionControlTypographyProps = {
4660
4673
  };
4661
4674
 
4662
4675
  // src/components/SelectionControl/Checkbox/Checkbox.tsx
4663
- import { jsx as jsx209, jsxs as jsxs34 } from "react/jsx-runtime";
4676
+ import { jsx as jsx210, jsxs as jsxs34 } from "react/jsx-runtime";
4664
4677
  var Checkbox = ({
4665
4678
  id,
4666
4679
  name,
@@ -4694,7 +4707,7 @@ var Checkbox = ({
4694
4707
  className: cn(className, htmlPropsClassName),
4695
4708
  style,
4696
4709
  children: [
4697
- /* @__PURE__ */ jsx209(
4710
+ /* @__PURE__ */ jsx210(
4698
4711
  "input",
4699
4712
  {
4700
4713
  ...getBaseHTMLProps(uniqueId, restHtmlProps, rest),
@@ -4723,14 +4736,14 @@ var Checkbox = ({
4723
4736
  onClick: readOnlyClickHandler(isReadOnly, htmlProps.onClick)
4724
4737
  }
4725
4738
  ),
4726
- /* @__PURE__ */ jsx209(
4739
+ /* @__PURE__ */ jsx210(
4727
4740
  SelectionControl,
4728
4741
  {
4729
4742
  controlType: "checkbox",
4730
4743
  className: focus_default["focus-styled-sibling"]
4731
4744
  }
4732
4745
  ),
4733
- hasChildren ? children : hasLabel ? /* @__PURE__ */ jsx209(Typography, { ...selectionControlTypographyProps, children: label }) : null
4746
+ hasChildren ? children : hasLabel ? /* @__PURE__ */ jsx210(Typography, { ...selectionControlTypographyProps, children: label }) : null
4734
4747
  ]
4735
4748
  }
4736
4749
  );
@@ -4759,7 +4772,7 @@ var InputMessage_default = {
4759
4772
  };
4760
4773
 
4761
4774
  // src/components/InputMessage/InputMessage.tsx
4762
- import { Fragment as Fragment3, jsx as jsx210, jsxs as jsxs35 } from "react/jsx-runtime";
4775
+ import { Fragment as Fragment3, jsx as jsx211, jsxs as jsxs35 } from "react/jsx-runtime";
4763
4776
  var InputMessage = ({
4764
4777
  message,
4765
4778
  messageType,
@@ -4779,8 +4792,8 @@ var InputMessage = ({
4779
4792
  rest
4780
4793
  ),
4781
4794
  children: [
4782
- isError && /* @__PURE__ */ jsx210(Icon, { icon: ErrorIcon, iconSize: "small", className: InputMessage_default.icon }),
4783
- /* @__PURE__ */ jsx210(
4795
+ isError && /* @__PURE__ */ jsx211(Icon, { icon: ErrorIcon, iconSize: "small", className: InputMessage_default.icon }),
4796
+ /* @__PURE__ */ jsx211(
4784
4797
  Typography,
4785
4798
  {
4786
4799
  typographyType: isError ? "bodySmall" : "bodyXsmall",
@@ -4795,7 +4808,7 @@ var InputMessage = ({
4795
4808
  };
4796
4809
  InputMessage.displayName = "InputMessage";
4797
4810
  var renderInputMessage = (tip, tipId, errorMessage, errorMessageId) => /* @__PURE__ */ jsxs35(Fragment3, { children: [
4798
- errorMessage && errorMessageId && /* @__PURE__ */ jsx210(
4811
+ errorMessage && errorMessageId && /* @__PURE__ */ jsx211(
4799
4812
  InputMessage,
4800
4813
  {
4801
4814
  message: errorMessage,
@@ -4803,11 +4816,11 @@ var renderInputMessage = (tip, tipId, errorMessage, errorMessageId) => /* @__PUR
4803
4816
  id: errorMessageId
4804
4817
  }
4805
4818
  ),
4806
- tip && tipId && !errorMessage && /* @__PURE__ */ jsx210(InputMessage, { message: tip, messageType: "tip", id: tipId })
4819
+ tip && tipId && !errorMessage && /* @__PURE__ */ jsx211(InputMessage, { message: tip, messageType: "tip", id: tipId })
4807
4820
  ] });
4808
4821
 
4809
4822
  // src/components/SelectionControl/Checkbox/CheckboxGroup.tsx
4810
- import { jsx as jsx211, jsxs as jsxs36 } from "react/jsx-runtime";
4823
+ import { jsx as jsx212, jsxs as jsxs36 } from "react/jsx-runtime";
4811
4824
  var CheckboxGroup = (props) => {
4812
4825
  const {
4813
4826
  label,
@@ -4849,7 +4862,7 @@ var CheckboxGroup = (props) => {
4849
4862
  rest
4850
4863
  ),
4851
4864
  children: [
4852
- label !== void 0 ? /* @__PURE__ */ jsx211(
4865
+ label !== void 0 ? /* @__PURE__ */ jsx212(
4853
4866
  GroupLabel,
4854
4867
  {
4855
4868
  id: uniqueGroupId,
@@ -4859,7 +4872,7 @@ var CheckboxGroup = (props) => {
4859
4872
  }
4860
4873
  ) : null,
4861
4874
  renderInputMessage(tip, tipId),
4862
- /* @__PURE__ */ jsx211(CheckboxGroupContext, { value: { ...contextProps }, children: /* @__PURE__ */ jsx211(
4875
+ /* @__PURE__ */ jsx212(CheckboxGroupContext, { value: { ...contextProps }, children: /* @__PURE__ */ jsx212(
4863
4876
  "div",
4864
4877
  {
4865
4878
  role: "group",
@@ -4887,7 +4900,7 @@ var useRadioButtonGroup = () => {
4887
4900
  };
4888
4901
 
4889
4902
  // src/components/SelectionControl/RadioButton/RadioButton.tsx
4890
- import { jsx as jsx212, jsxs as jsxs37 } from "react/jsx-runtime";
4903
+ import { jsx as jsx213, jsxs as jsxs37 } from "react/jsx-runtime";
4891
4904
  var getIsChecked = ({
4892
4905
  value,
4893
4906
  groupValue,
@@ -4952,7 +4965,7 @@ var RadioButton = ({
4952
4965
  htmlFor: uniqueId,
4953
4966
  controlType: "radio",
4954
4967
  children: [
4955
- /* @__PURE__ */ jsx212(
4968
+ /* @__PURE__ */ jsx213(
4956
4969
  "input",
4957
4970
  {
4958
4971
  ...getBaseHTMLProps(uniqueId, restHtmlProps, rest),
@@ -4978,14 +4991,14 @@ var RadioButton = ({
4978
4991
  onClick: readOnlyClickHandler(isReadOnly, htmlProps.onClick)
4979
4992
  }
4980
4993
  ),
4981
- /* @__PURE__ */ jsx212(
4994
+ /* @__PURE__ */ jsx213(
4982
4995
  SelectionControl,
4983
4996
  {
4984
4997
  controlType: "radio",
4985
4998
  className: focus_default["focus-styled-sibling"]
4986
4999
  }
4987
5000
  ),
4988
- hasChildren ? children : hasLabel ? /* @__PURE__ */ jsx212(Typography, { ...selectionControlTypographyProps, children: label }) : null
5001
+ hasChildren ? children : hasLabel ? /* @__PURE__ */ jsx213(Typography, { ...selectionControlTypographyProps, children: label }) : null
4989
5002
  ]
4990
5003
  }
4991
5004
  );
@@ -5053,7 +5066,7 @@ function useControllableGroupState(props) {
5053
5066
  }
5054
5067
 
5055
5068
  // src/components/SelectionControl/RadioButton/RadioButtonGroup.tsx
5056
- import { jsx as jsx213, jsxs as jsxs38 } from "react/jsx-runtime";
5069
+ import { jsx as jsx214, jsxs as jsxs38 } from "react/jsx-runtime";
5057
5070
  var RadioButtonGroup = ({
5058
5071
  name,
5059
5072
  label,
@@ -5106,7 +5119,7 @@ var RadioButtonGroup = ({
5106
5119
  rest
5107
5120
  ),
5108
5121
  children: [
5109
- label !== void 0 ? /* @__PURE__ */ jsx213(
5122
+ label !== void 0 ? /* @__PURE__ */ jsx214(
5110
5123
  GroupLabel,
5111
5124
  {
5112
5125
  id: uniqueGroupId,
@@ -5116,7 +5129,7 @@ var RadioButtonGroup = ({
5116
5129
  }
5117
5130
  ) : null,
5118
5131
  renderInputMessage(tip, tipId),
5119
- /* @__PURE__ */ jsx213(RadioButtonGroupContext, { value: { ...contextProps }, children: /* @__PURE__ */ jsx213(
5132
+ /* @__PURE__ */ jsx214(RadioButtonGroupContext, { value: { ...contextProps }, children: /* @__PURE__ */ jsx214(
5120
5133
  "div",
5121
5134
  {
5122
5135
  role: "radiogroup",
@@ -5140,7 +5153,7 @@ var CardSelectableContext = createContext6({});
5140
5153
  var useCardSelectableContext = () => useContext6(CardSelectableContext);
5141
5154
 
5142
5155
  // src/components/Card/CardSelectionControl/CardSelectable.tsx
5143
- import { jsx as jsx214 } from "react/jsx-runtime";
5156
+ import { jsx as jsx215 } from "react/jsx-runtime";
5144
5157
  var CardSelectable = (props) => {
5145
5158
  const {
5146
5159
  appearance = "filled",
@@ -5210,13 +5223,13 @@ Provide \`cardType\` either via a parent <CardSelectableGroup> or directly on th
5210
5223
  error,
5211
5224
  "aria-describedby": spaceSeparatedIdListGenerator([tipId, ariaDescribedby])
5212
5225
  };
5213
- return cardType === "radio" ? /* @__PURE__ */ jsx214(RadioButton, { ...sharedProps, ...radioContextProps }) : cardType === "checkbox" ? /* @__PURE__ */ jsx214(Checkbox, { ...sharedProps }) : null;
5226
+ return cardType === "radio" ? /* @__PURE__ */ jsx215(RadioButton, { ...sharedProps, ...radioContextProps }) : cardType === "checkbox" ? /* @__PURE__ */ jsx215(Checkbox, { ...sharedProps }) : null;
5214
5227
  };
5215
5228
  CardSelectable.displayName = "CardSelectable";
5216
5229
 
5217
5230
  // src/components/Card/CardSelectionControl/CardSelectableGroup.tsx
5218
5231
  import { useId as useId9 } from "react";
5219
- import { jsx as jsx215, jsxs as jsxs39 } from "react/jsx-runtime";
5232
+ import { jsx as jsx216, jsxs as jsxs39 } from "react/jsx-runtime";
5220
5233
  var CardSelectableGroup = ({
5221
5234
  name,
5222
5235
  cardType,
@@ -5260,7 +5273,7 @@ var CardSelectableGroup = ({
5260
5273
  cardType,
5261
5274
  tipId
5262
5275
  };
5263
- const mainContent = /* @__PURE__ */ jsx215(
5276
+ const mainContent = /* @__PURE__ */ jsx216(
5264
5277
  Box,
5265
5278
  {
5266
5279
  ...getBaseHTMLProps(
@@ -5272,7 +5285,7 @@ var CardSelectableGroup = ({
5272
5285
  role: cardType === "radio" ? "radiogroup" : "group",
5273
5286
  "aria-describedby": spaceSeparatedIdListGenerator([tipId, ariaDescribedby]),
5274
5287
  "aria-errormessage": errorMessageId,
5275
- children: /* @__PURE__ */ jsx215(CardSelectableContext, { value: generalContextProps, children: cardType === "radio" ? /* @__PURE__ */ jsx215(RadioButtonGroupContext, { value: contextProps, children }) : cardType === "checkbox" ? /* @__PURE__ */ jsx215(CheckboxGroupContext, { value: contextProps, children }) : null })
5288
+ children: /* @__PURE__ */ jsx216(CardSelectableContext, { value: generalContextProps, children: cardType === "radio" ? /* @__PURE__ */ jsx216(RadioButtonGroupContext, { value: contextProps, children }) : cardType === "checkbox" ? /* @__PURE__ */ jsx216(CheckboxGroupContext, { value: contextProps, children }) : null })
5276
5289
  }
5277
5290
  );
5278
5291
  return hasErrorMessage ? /* @__PURE__ */ jsxs39("div", { children: [
@@ -5291,7 +5304,7 @@ var Chip_default = {
5291
5304
  };
5292
5305
 
5293
5306
  // src/components/Chip/Chip.tsx
5294
- import { jsx as jsx216, jsxs as jsxs40 } from "react/jsx-runtime";
5307
+ import { jsx as jsx217, jsxs as jsxs40 } from "react/jsx-runtime";
5295
5308
  var Chip = ({
5296
5309
  text,
5297
5310
  onClose,
@@ -5316,8 +5329,8 @@ var Chip = ({
5316
5329
  rest
5317
5330
  ),
5318
5331
  children: [
5319
- /* @__PURE__ */ jsx216(TextOverflowEllipsisInner, { className: cn(typographyStyles_default["body-small"]), children: text }),
5320
- /* @__PURE__ */ jsx216(
5332
+ /* @__PURE__ */ jsx217(TextOverflowEllipsisInner, { className: cn(typographyStyles_default["body-small"]), children: text }),
5333
+ /* @__PURE__ */ jsx217(
5321
5334
  Button,
5322
5335
  {
5323
5336
  size: "xsmall",
@@ -5335,10 +5348,10 @@ Chip.displayName = "Chip";
5335
5348
 
5336
5349
  // src/components/Chip/ChipGroup.tsx
5337
5350
  import { Children as Children2 } from "react";
5338
- import { jsx as jsx217 } from "react/jsx-runtime";
5351
+ import { jsx as jsx218 } from "react/jsx-runtime";
5339
5352
  var ChipGroup = ({ children, ...rest }) => {
5340
5353
  const childrenArray = Children2.toArray(children);
5341
- return /* @__PURE__ */ jsx217(HStack, { as: StylelessList, ...rest, gap: "x0.75", children: childrenArray.map((item, index) => /* @__PURE__ */ jsx217("li", { children: item }, `chip-${index}`)) });
5354
+ return /* @__PURE__ */ jsx218(HStack, { as: StylelessList, ...rest, gap: "x0.75", children: childrenArray.map((item, index) => /* @__PURE__ */ jsx218("li", { children: item }, `chip-${index}`)) });
5342
5355
  };
5343
5356
  ChipGroup.displayName = "ChipGroup";
5344
5357
 
@@ -5348,13 +5361,13 @@ var Contrast_default = {
5348
5361
  };
5349
5362
 
5350
5363
  // src/components/Contrast/Contrast.tsx
5351
- import { jsx as jsx218 } from "react/jsx-runtime";
5364
+ import { jsx as jsx219 } from "react/jsx-runtime";
5352
5365
  var Contrast = ({
5353
5366
  className,
5354
5367
  as = "div",
5355
5368
  ...rest
5356
5369
  }) => {
5357
- return /* @__PURE__ */ jsx218(
5370
+ return /* @__PURE__ */ jsx219(
5358
5371
  ElementAs,
5359
5372
  {
5360
5373
  as,
@@ -5364,13 +5377,16 @@ var Contrast = ({
5364
5377
  );
5365
5378
  };
5366
5379
 
5380
+ // src/components/CookieBanner/CookieBanner.tsx
5381
+ import { useState as useState11 } from "react";
5382
+
5367
5383
  // src/components/CookieBanner/CookieBanner.module.css
5368
5384
  var CookieBanner_default = {
5369
5385
  "checkbox-label": "CookieBanner_checkbox-label"
5370
5386
  };
5371
5387
 
5372
5388
  // src/components/CookieBanner/CookieBannerCheckbox.tsx
5373
- import { jsx as jsx219, jsxs as jsxs41 } from "react/jsx-runtime";
5389
+ import { jsx as jsx220, jsxs as jsxs41 } from "react/jsx-runtime";
5374
5390
  function CookieBannerCheckbox({
5375
5391
  headerText,
5376
5392
  description,
@@ -5379,7 +5395,7 @@ function CookieBannerCheckbox({
5379
5395
  htmlProps,
5380
5396
  ...rest
5381
5397
  }) {
5382
- return /* @__PURE__ */ jsx219(
5398
+ return /* @__PURE__ */ jsx220(
5383
5399
  Checkbox,
5384
5400
  {
5385
5401
  ...getBaseHTMLProps(
@@ -5389,7 +5405,7 @@ function CookieBannerCheckbox({
5389
5405
  rest
5390
5406
  ),
5391
5407
  children: /* @__PURE__ */ jsxs41(VStack, { gap: "x0.5", children: [
5392
- /* @__PURE__ */ jsx219(Typography, { as: "span", typographyType: "headingSmall", children: headerText }),
5408
+ /* @__PURE__ */ jsx220(Typography, { as: "span", typographyType: "headingSmall", children: headerText }),
5393
5409
  /* @__PURE__ */ jsxs41(Typography, { as: "span", children: [
5394
5410
  " ",
5395
5411
  description,
@@ -5402,7 +5418,8 @@ function CookieBannerCheckbox({
5402
5418
  CookieBannerCheckbox.displayName = "CookieBannerCheckbox";
5403
5419
 
5404
5420
  // src/components/CookieBanner/CookieBanner.tsx
5405
- import { jsx as jsx220, jsxs as jsxs42 } from "react/jsx-runtime";
5421
+ import { jsx as jsx221, jsxs as jsxs42 } from "react/jsx-runtime";
5422
+ import { createElement } from "react";
5406
5423
  function CookieBanner({
5407
5424
  headerText,
5408
5425
  description,
@@ -5415,9 +5432,13 @@ function CookieBanner({
5415
5432
  maxHeight = "calc(100vh - 100px)",
5416
5433
  width = "fit-content",
5417
5434
  children,
5435
+ collapsedBreakpoint,
5418
5436
  ...rest
5419
5437
  }) {
5420
- return /* @__PURE__ */ jsx220(
5438
+ const hasBp = !!collapsedBreakpoint;
5439
+ const [isCollapsedOnBreakpoint, setIsCollapsedOnBreakpoint] = useState11(hasBp);
5440
+ const heading = headerText ? /* @__PURE__ */ jsx221(Heading, { level: 2, typographyType: "headingMedium", children: headerText }) : "";
5441
+ return /* @__PURE__ */ jsx221(
5421
5442
  Paper,
5422
5443
  {
5423
5444
  ...getBaseHTMLProps(
@@ -5434,17 +5455,40 @@ function CookieBanner({
5434
5455
  border: "border-default",
5435
5456
  background: "brand-tertiary-medium",
5436
5457
  children: /* @__PURE__ */ jsxs42(VStack, { maxWidth: "70ch", gap: "x1", children: [
5437
- headerText && /* @__PURE__ */ jsx220(Heading, { level: 2, typographyType: "headingMedium", children: headerText }),
5438
- children,
5439
- description && /* @__PURE__ */ jsx220("div", { children: description }),
5440
- checkboxes && /* @__PURE__ */ jsx220(VStack, { gap: "x1", children: checkboxes.map((props) => /* @__PURE__ */ jsx220(CookieBannerCheckbox, { ...props })) }),
5441
- buttons && /* @__PURE__ */ jsx220(
5442
- HStack,
5458
+ hasBp && isCollapsedOnBreakpoint ? /* @__PURE__ */ jsxs42(HStack, { alignItems: "center", justifyContent: "space-between", gap: "x1", children: [
5459
+ heading,
5460
+ /* @__PURE__ */ jsx221(
5461
+ ShowHide,
5462
+ {
5463
+ as: Button,
5464
+ showBelow: collapsedBreakpoint,
5465
+ "aria-label": "Utvid samtykke for bruk av informasjonskapsler",
5466
+ purpose: "tertiary",
5467
+ icon: ExpandIcon,
5468
+ onClick: () => setIsCollapsedOnBreakpoint(false),
5469
+ "aria-expanded": "false"
5470
+ }
5471
+ )
5472
+ ] }) : heading,
5473
+ /* @__PURE__ */ jsxs42(
5474
+ VStack,
5443
5475
  {
5444
- gap: applyResponsiveStyle("x1", "sm", "x1.5"),
5445
- flexWrap: "wrap",
5446
- paddingBlock: "x0.25 0",
5447
- children: buttons.map((props) => /* @__PURE__ */ jsx220(Button, { ...props, size: "medium", purpose: "secondary" }))
5476
+ gap: "x1",
5477
+ hideBelow: isCollapsedOnBreakpoint ? collapsedBreakpoint : void 0,
5478
+ children: [
5479
+ children,
5480
+ description && /* @__PURE__ */ jsx221("div", { children: description }),
5481
+ checkboxes && /* @__PURE__ */ jsx221(VStack, { gap: "x1", children: checkboxes.map((props, index) => /* @__PURE__ */ createElement(CookieBannerCheckbox, { ...props, key: index })) }),
5482
+ buttons && /* @__PURE__ */ jsx221(
5483
+ HStack,
5484
+ {
5485
+ gap: applyResponsiveStyle("x1", "sm", "x1.5"),
5486
+ flexWrap: "wrap",
5487
+ paddingBlock: "x0.25 0",
5488
+ children: buttons.map((props) => /* @__PURE__ */ jsx221(Button, { ...props, size: "medium", purpose: "secondary" }))
5489
+ }
5490
+ )
5491
+ ]
5448
5492
  }
5449
5493
  )
5450
5494
  ] })
@@ -5517,7 +5561,7 @@ var locale = "no-NO";
5517
5561
  var timezone = "Europe/Oslo";
5518
5562
 
5519
5563
  // src/components/date-inputs/DatePicker/Calendar/CalendarCell.tsx
5520
- import { jsx as jsx221 } from "react/jsx-runtime";
5564
+ import { jsx as jsx222 } from "react/jsx-runtime";
5521
5565
  function CalendarCell({ date, state, onClose }) {
5522
5566
  const ref = useRef10(null);
5523
5567
  const {
@@ -5530,7 +5574,7 @@ function CalendarCell({ date, state, onClose }) {
5530
5574
  isUnavailable
5531
5575
  } = useCalendarCell({ date }, state, ref);
5532
5576
  if (isDisabled) {
5533
- return /* @__PURE__ */ jsx221("td", { ...cellProps });
5577
+ return /* @__PURE__ */ jsx222("td", { ...cellProps });
5534
5578
  }
5535
5579
  const variant = isSelected ? "selected" : isUnavailable || isDisabled ? "unavailable" : "default";
5536
5580
  const closeOnKeyboardBlurForward = (event) => {
@@ -5538,7 +5582,7 @@ function CalendarCell({ date, state, onClose }) {
5538
5582
  onClose();
5539
5583
  }
5540
5584
  };
5541
- return /* @__PURE__ */ jsx221("td", { ...cellProps, children: /* @__PURE__ */ jsx221(
5585
+ return /* @__PURE__ */ jsx222("td", { ...cellProps, children: /* @__PURE__ */ jsx222(
5542
5586
  "button",
5543
5587
  {
5544
5588
  ...buttonProps,
@@ -5561,7 +5605,7 @@ function CalendarCell({ date, state, onClose }) {
5561
5605
  CalendarCell.displayName = "CalendarCell";
5562
5606
 
5563
5607
  // src/components/VisuallyHidden/VisuallyHidden.tsx
5564
- import { jsx as jsx222 } from "react/jsx-runtime";
5608
+ import { jsx as jsx223 } from "react/jsx-runtime";
5565
5609
  var VisuallyHidden = ({
5566
5610
  id,
5567
5611
  as: asProp,
@@ -5570,7 +5614,7 @@ var VisuallyHidden = ({
5570
5614
  ...rest
5571
5615
  }) => {
5572
5616
  const as = asProp != null ? asProp : "span";
5573
- return /* @__PURE__ */ jsx222(
5617
+ return /* @__PURE__ */ jsx223(
5574
5618
  ElementAs,
5575
5619
  {
5576
5620
  as,
@@ -5640,7 +5684,7 @@ import {
5640
5684
  useContext as useContext7,
5641
5685
  useEffect as useEffect17,
5642
5686
  useRef as useRef11,
5643
- useState as useState11
5687
+ useState as useState12
5644
5688
  } from "react";
5645
5689
 
5646
5690
  // src/components/ThemeProvider/ThemeProvider.module.css
@@ -5650,7 +5694,7 @@ var ThemeProvider_default = {
5650
5694
  };
5651
5695
 
5652
5696
  // src/components/ThemeProvider/ThemeProvider.tsx
5653
- import { jsx as jsx223 } from "react/jsx-runtime";
5697
+ import { jsx as jsx224 } from "react/jsx-runtime";
5654
5698
  var defaultTheme = "core";
5655
5699
  var ThemeContext = createContext7(
5656
5700
  void 0
@@ -5660,11 +5704,11 @@ function ThemeProvider({
5660
5704
  children
5661
5705
  }) {
5662
5706
  const themeRef = useRef11(null);
5663
- const [element, setElement] = useState11(null);
5707
+ const [element, setElement] = useState12(null);
5664
5708
  useEffect17(() => {
5665
5709
  setElement(themeRef.current);
5666
5710
  }, []);
5667
- return /* @__PURE__ */ jsx223(
5711
+ return /* @__PURE__ */ jsx224(
5668
5712
  "div",
5669
5713
  {
5670
5714
  ref: themeRef,
@@ -5674,7 +5718,7 @@ function ThemeProvider({
5674
5718
  ThemeProvider_default["global-styles"],
5675
5719
  "dds-themed"
5676
5720
  ),
5677
- children: /* @__PURE__ */ jsx223(ThemeContext, { value: { theme, el: element }, children })
5721
+ children: /* @__PURE__ */ jsx224(ThemeContext, { value: { theme, el: element }, children })
5678
5722
  }
5679
5723
  );
5680
5724
  }
@@ -5689,7 +5733,7 @@ function useTheme() {
5689
5733
  }
5690
5734
 
5691
5735
  // src/components/date-inputs/DatePicker/CalendarPopover.tsx
5692
- import { Fragment as Fragment4, jsx as jsx224, jsxs as jsxs43 } from "react/jsx-runtime";
5736
+ import { Fragment as Fragment4, jsx as jsx225, jsxs as jsxs43 } from "react/jsx-runtime";
5693
5737
  var CalendarPopoverContext = createContext8({
5694
5738
  anchorRef: null,
5695
5739
  closeButtonRef: null,
@@ -5705,7 +5749,7 @@ var CalendarPopover = ({
5705
5749
  const anchorRef = useRef12(null);
5706
5750
  const closeButtonRef = useRef12(null);
5707
5751
  useOnKeyDown("Escape", onClose);
5708
- return /* @__PURE__ */ jsx224(
5752
+ return /* @__PURE__ */ jsx225(
5709
5753
  CalendarPopoverContext,
5710
5754
  {
5711
5755
  value: { anchorRef, closeButtonRef, onClose, ...props },
@@ -5717,7 +5761,7 @@ var CalendarPopoverAnchor = ({
5717
5761
  children
5718
5762
  }) => {
5719
5763
  const { anchorRef } = useContext8(CalendarPopoverContext);
5720
- return /* @__PURE__ */ jsx224("div", { ref: anchorRef != null ? anchorRef : void 0, children });
5764
+ return /* @__PURE__ */ jsx225("div", { ref: anchorRef != null ? anchorRef : void 0, children });
5721
5765
  };
5722
5766
  var CalendarPopoverContent = ({
5723
5767
  children,
@@ -5770,14 +5814,14 @@ var CalendarPopoverContent = ({
5770
5814
  };
5771
5815
  return /* @__PURE__ */ jsxs43(Fragment4, { children: [
5772
5816
  portalTarget && hasBreakpoint && createPortal(
5773
- /* @__PURE__ */ jsx224(ShowHide, { showBelow: smallScreenBreakpoint, children: /* @__PURE__ */ jsx224(Backdrop, { zIndex: "modal", isMounted, children: /* @__PURE__ */ jsxs43(
5817
+ /* @__PURE__ */ jsx225(ShowHide, { showBelow: smallScreenBreakpoint, children: /* @__PURE__ */ jsx225(Backdrop, { zIndex: "modal", isMounted, children: /* @__PURE__ */ jsxs43(
5774
5818
  Paper,
5775
5819
  {
5776
5820
  ref: modalRef,
5777
5821
  className: cn(DateInput_default.popover, className),
5778
5822
  ...paperStyleProps,
5779
5823
  children: [
5780
- /* @__PURE__ */ jsx224("div", { className: DateInput_default["modal-close-button-wrapper"], children: /* @__PURE__ */ jsx224(
5824
+ /* @__PURE__ */ jsx225("div", { className: DateInput_default["modal-close-button-wrapper"], children: /* @__PURE__ */ jsx225(
5781
5825
  Button,
5782
5826
  {
5783
5827
  ref: closeButtonRef,
@@ -5795,7 +5839,7 @@ var CalendarPopoverContent = ({
5795
5839
  ) }) }),
5796
5840
  portalTarget
5797
5841
  ),
5798
- /* @__PURE__ */ jsx224(
5842
+ /* @__PURE__ */ jsx225(
5799
5843
  Paper,
5800
5844
  {
5801
5845
  ref: combinedRef,
@@ -5810,7 +5854,7 @@ var CalendarPopoverContent = ({
5810
5854
  };
5811
5855
 
5812
5856
  // src/components/date-inputs/DatePicker/Calendar/CalendarGrid.tsx
5813
- import { jsx as jsx225, jsxs as jsxs44 } from "react/jsx-runtime";
5857
+ import { jsx as jsx226, jsxs as jsxs44 } from "react/jsx-runtime";
5814
5858
  function CalendarGrid({ state, ...props }) {
5815
5859
  const { locale: locale2 } = useLocale();
5816
5860
  const {
@@ -5836,25 +5880,25 @@ function CalendarGrid({ state, ...props }) {
5836
5880
  },
5837
5881
  cellPadding: "0",
5838
5882
  children: [
5839
- /* @__PURE__ */ jsx225("thead", { ...headerProps, children: /* @__PURE__ */ jsxs44("tr", { children: [
5883
+ /* @__PURE__ */ jsx226("thead", { ...headerProps, children: /* @__PURE__ */ jsxs44("tr", { children: [
5840
5884
  showWeekNumbers && /* @__PURE__ */ jsxs44(
5841
5885
  "th",
5842
5886
  {
5843
5887
  className: cn(DateInput_default["calendar__grid-element"], ...typographyCn),
5844
5888
  children: [
5845
5889
  "# ",
5846
- /* @__PURE__ */ jsx225(VisuallyHidden, { children: "Ukenummer" })
5890
+ /* @__PURE__ */ jsx226(VisuallyHidden, { children: "Ukenummer" })
5847
5891
  ]
5848
5892
  }
5849
5893
  ),
5850
- weekDays.map((day, index) => /* @__PURE__ */ jsx225("th", { className: cn(...typographyCn), children: day }, index))
5894
+ weekDays.map((day, index) => /* @__PURE__ */ jsx226("th", { className: cn(...typographyCn), children: day }, index))
5851
5895
  ] }) }),
5852
- /* @__PURE__ */ jsx225("tbody", { children: [...new Array(weeksInMonth).keys()].map((weekIndex) => {
5896
+ /* @__PURE__ */ jsx226("tbody", { children: [...new Array(weeksInMonth).keys()].map((weekIndex) => {
5853
5897
  const datesInWeek = state.getDatesInWeek(weekIndex);
5854
5898
  const firstExistingDay = datesInWeek.find(Boolean);
5855
5899
  const weekNumber = firstExistingDay ? getWeekNumber(firstExistingDay) : "";
5856
5900
  return /* @__PURE__ */ jsxs44("tr", { children: [
5857
- showWeekNumbers && /* @__PURE__ */ jsx225(
5901
+ showWeekNumbers && /* @__PURE__ */ jsx226(
5858
5902
  "td",
5859
5903
  {
5860
5904
  className: cn(
@@ -5866,7 +5910,7 @@ function CalendarGrid({ state, ...props }) {
5866
5910
  }
5867
5911
  ),
5868
5912
  datesInWeek.map(
5869
- (date, i) => date ? /* @__PURE__ */ jsx225(
5913
+ (date, i) => date ? /* @__PURE__ */ jsx226(
5870
5914
  CalendarCell,
5871
5915
  {
5872
5916
  state,
@@ -5874,7 +5918,7 @@ function CalendarGrid({ state, ...props }) {
5874
5918
  onClose
5875
5919
  },
5876
5920
  i
5877
- ) : /* @__PURE__ */ jsx225("td", {}, i)
5921
+ ) : /* @__PURE__ */ jsx226("td", {}, i)
5878
5922
  )
5879
5923
  ] }, weekIndex);
5880
5924
  }) })
@@ -5885,7 +5929,7 @@ function CalendarGrid({ state, ...props }) {
5885
5929
  CalendarGrid.displayName = "CalendarGrid";
5886
5930
 
5887
5931
  // src/components/date-inputs/DatePicker/Calendar/Calendar.tsx
5888
- import { jsx as jsx226, jsxs as jsxs45 } from "react/jsx-runtime";
5932
+ import { jsx as jsx227, jsxs as jsxs45 } from "react/jsx-runtime";
5889
5933
  function createCalendar(identifier) {
5890
5934
  switch (identifier) {
5891
5935
  case "gregory":
@@ -5918,7 +5962,7 @@ function Calendar(props) {
5918
5962
  };
5919
5963
  return /* @__PURE__ */ jsxs45("div", { ...calendarProps, className: DateInput_default.calendar, children: [
5920
5964
  /* @__PURE__ */ jsxs45(HStack, { justifyContent: "space-between", alignItems: "center", children: [
5921
- /* @__PURE__ */ jsx226(
5965
+ /* @__PURE__ */ jsx227(
5922
5966
  Button,
5923
5967
  {
5924
5968
  type: "button",
@@ -5931,7 +5975,7 @@ function Calendar(props) {
5931
5975
  className: DateInput_default["calendar__month-button"]
5932
5976
  }
5933
5977
  ),
5934
- /* @__PURE__ */ jsx226(
5978
+ /* @__PURE__ */ jsx227(
5935
5979
  Heading,
5936
5980
  {
5937
5981
  level: 2,
@@ -5940,7 +5984,7 @@ function Calendar(props) {
5940
5984
  children: title
5941
5985
  }
5942
5986
  ),
5943
- /* @__PURE__ */ jsx226(
5987
+ /* @__PURE__ */ jsx227(
5944
5988
  Button,
5945
5989
  {
5946
5990
  type: "button",
@@ -5953,7 +5997,7 @@ function Calendar(props) {
5953
5997
  }
5954
5998
  )
5955
5999
  ] }),
5956
- /* @__PURE__ */ jsx226(CalendarGrid, { state })
6000
+ /* @__PURE__ */ jsx227(CalendarGrid, { state })
5957
6001
  ] });
5958
6002
  }
5959
6003
  Calendar.displayName = "Calendar";
@@ -5978,7 +6022,7 @@ import { useRef as useRef15 } from "react";
5978
6022
  // src/components/date-inputs/DatePicker/DateField/CalendarButton.tsx
5979
6023
  import { useButton } from "@react-aria/button";
5980
6024
  import { useRef as useRef13 } from "react";
5981
- import { jsx as jsx227 } from "react/jsx-runtime";
6025
+ import { jsx as jsx228 } from "react/jsx-runtime";
5982
6026
  function CalendarButton({
5983
6027
  componentSize,
5984
6028
  isReadOnly,
@@ -5987,7 +6031,7 @@ function CalendarButton({
5987
6031
  const ref = useRef13(null);
5988
6032
  const { buttonProps } = useButton(props, ref);
5989
6033
  const size2 = componentSize === "xsmall" ? "small" : "medium";
5990
- return /* @__PURE__ */ jsx227(
6034
+ return /* @__PURE__ */ jsx228(
5991
6035
  "button",
5992
6036
  {
5993
6037
  ...buttonProps,
@@ -6002,7 +6046,7 @@ function CalendarButton({
6002
6046
  !props.isDisabled && focusable,
6003
6047
  props.isDisabled && "disabled"
6004
6048
  ),
6005
- children: /* @__PURE__ */ jsx227(Icon, { icon: CalendarIcon, iconSize: size2 })
6049
+ children: /* @__PURE__ */ jsx228(Icon, { icon: CalendarIcon, iconSize: size2 })
6006
6050
  }
6007
6051
  );
6008
6052
  }
@@ -6010,7 +6054,7 @@ function CalendarButton({
6010
6054
  // src/components/date-inputs/DatePicker/DateField/DateSegment.tsx
6011
6055
  import { useDateSegment } from "@react-aria/datepicker";
6012
6056
  import { useRef as useRef14 } from "react";
6013
- import { jsx as jsx228, jsxs as jsxs46 } from "react/jsx-runtime";
6057
+ import { jsx as jsx229, jsxs as jsxs46 } from "react/jsx-runtime";
6014
6058
  var typographyTypes = {
6015
6059
  medium: "bodyMedium",
6016
6060
  small: "bodySmall",
@@ -6039,7 +6083,7 @@ function DateSegment({
6039
6083
  minWidth: segment.maxValue != null ? String(segment.maxValue).length + "ch" : void 0
6040
6084
  },
6041
6085
  children: [
6042
- /* @__PURE__ */ jsx228(
6086
+ /* @__PURE__ */ jsx229(
6043
6087
  "span",
6044
6088
  {
6045
6089
  "aria-hidden": "true",
@@ -6060,7 +6104,7 @@ DateSegment.displayName = "DateSegment";
6060
6104
 
6061
6105
  // src/components/date-inputs/common/DateInput.tsx
6062
6106
  import { useContext as useContext11 } from "react";
6063
- import { jsx as jsx229, jsxs as jsxs47 } from "react/jsx-runtime";
6107
+ import { jsx as jsx230, jsxs as jsxs47 } from "react/jsx-runtime";
6064
6108
  function DateInput({
6065
6109
  errorMessage,
6066
6110
  tip,
@@ -6094,7 +6138,7 @@ function DateInput({
6094
6138
  className: cn(className, Input_default.container),
6095
6139
  ref,
6096
6140
  children: [
6097
- hasLabel && /* @__PURE__ */ jsx229(
6141
+ hasLabel && /* @__PURE__ */ jsx230(
6098
6142
  Label,
6099
6143
  {
6100
6144
  ...labelProps,
@@ -6129,11 +6173,11 @@ function DateInput({
6129
6173
  ),
6130
6174
  children: [
6131
6175
  button,
6132
- /* @__PURE__ */ jsx229("div", { className: DateInput_default["date-segment-container"], children })
6176
+ /* @__PURE__ */ jsx230("div", { className: DateInput_default["date-segment-container"], children })
6133
6177
  ]
6134
6178
  }
6135
6179
  ),
6136
- hasMessage && /* @__PURE__ */ jsx229(
6180
+ hasMessage && /* @__PURE__ */ jsx230(
6137
6181
  InputMessage,
6138
6182
  {
6139
6183
  messageType: hasErrorMessage ? "error" : "tip",
@@ -6147,7 +6191,7 @@ function DateInput({
6147
6191
  DateInput.displayName = "DateInput";
6148
6192
 
6149
6193
  // src/components/date-inputs/DatePicker/DateField/DateField.tsx
6150
- import { jsx as jsx230 } from "react/jsx-runtime";
6194
+ import { jsx as jsx231 } from "react/jsx-runtime";
6151
6195
  function DateField({
6152
6196
  componentSize = "medium",
6153
6197
  buttonProps,
@@ -6164,7 +6208,7 @@ function DateField({
6164
6208
  const internalRef = useRef15(null);
6165
6209
  const { labelProps, fieldProps } = useDateField(props, state, internalRef);
6166
6210
  const disabled = props.isDisabled || !!fieldProps["aria-disabled"];
6167
- return /* @__PURE__ */ jsx230(
6211
+ return /* @__PURE__ */ jsx231(
6168
6212
  DateInput,
6169
6213
  {
6170
6214
  ...props,
@@ -6176,7 +6220,7 @@ function DateField({
6176
6220
  ref,
6177
6221
  internalRef,
6178
6222
  readOnly: props.isReadOnly,
6179
- prefix: /* @__PURE__ */ jsx230(
6223
+ prefix: /* @__PURE__ */ jsx231(
6180
6224
  CalendarButton,
6181
6225
  {
6182
6226
  componentSize,
@@ -6187,7 +6231,7 @@ function DateField({
6187
6231
  ),
6188
6232
  labelProps,
6189
6233
  fieldProps,
6190
- children: state.segments.map((segment, i) => /* @__PURE__ */ jsx230(
6234
+ children: state.segments.map((segment, i) => /* @__PURE__ */ jsx231(
6191
6235
  DateSegment,
6192
6236
  {
6193
6237
  "aria-readonly": props.isReadOnly,
@@ -6224,7 +6268,7 @@ function createDOMRef(ref) {
6224
6268
  }
6225
6269
 
6226
6270
  // src/components/date-inputs/DatePicker/DatePicker.tsx
6227
- import { jsx as jsx231, jsxs as jsxs48 } from "react/jsx-runtime";
6271
+ import { jsx as jsx232, jsxs as jsxs48 } from "react/jsx-runtime";
6228
6272
  var refIsFocusable = (ref) => {
6229
6273
  return typeof ref === "object" && ref !== null && "focus" in ref;
6230
6274
  };
@@ -6248,14 +6292,14 @@ function DatePicker({
6248
6292
  state,
6249
6293
  internalRef
6250
6294
  );
6251
- return /* @__PURE__ */ jsx231(I18nProvider, { locale, children: /* @__PURE__ */ jsxs48(
6295
+ return /* @__PURE__ */ jsx232(I18nProvider, { locale, children: /* @__PURE__ */ jsxs48(
6252
6296
  CalendarPopover,
6253
6297
  {
6254
6298
  isOpen: state.isOpen,
6255
6299
  onClose: state.close,
6256
6300
  showWeekNumbers,
6257
6301
  children: [
6258
- /* @__PURE__ */ jsx231(CalendarPopoverAnchor, { children: /* @__PURE__ */ jsx231(
6302
+ /* @__PURE__ */ jsx232(CalendarPopoverAnchor, { children: /* @__PURE__ */ jsx232(
6259
6303
  DateField,
6260
6304
  {
6261
6305
  ...fieldProps,
@@ -6270,7 +6314,7 @@ function DatePicker({
6270
6314
  width
6271
6315
  }
6272
6316
  ) }),
6273
- /* @__PURE__ */ jsx231(CalendarPopoverContent, { smallScreenBreakpoint, children: /* @__PURE__ */ jsx231(Calendar, { ...calendarProps }) })
6317
+ /* @__PURE__ */ jsx232(CalendarPopoverContent, { smallScreenBreakpoint, children: /* @__PURE__ */ jsx232(Calendar, { ...calendarProps }) })
6274
6318
  ]
6275
6319
  }
6276
6320
  ) });
@@ -6281,7 +6325,7 @@ DatePicker.displayName = "DatePicker";
6281
6325
  import { useTimeField } from "@react-aria/datepicker";
6282
6326
  import { useTimeFieldState } from "@react-stately/datepicker";
6283
6327
  import { useRef as useRef18 } from "react";
6284
- import { jsx as jsx232 } from "react/jsx-runtime";
6328
+ import { jsx as jsx233 } from "react/jsx-runtime";
6285
6329
  function TimePicker({
6286
6330
  componentSize = "medium",
6287
6331
  width,
@@ -6300,7 +6344,7 @@ function TimePicker({
6300
6344
  );
6301
6345
  const iconSize = componentSize === "xsmall" ? "small" : "medium";
6302
6346
  const disabled = props.isDisabled || !!fieldProps["aria-disabled"];
6303
- return /* @__PURE__ */ jsx232(
6347
+ return /* @__PURE__ */ jsx233(
6304
6348
  DateInput,
6305
6349
  {
6306
6350
  ...props,
@@ -6313,7 +6357,7 @@ function TimePicker({
6313
6357
  readOnly: props.isReadOnly,
6314
6358
  labelProps,
6315
6359
  fieldProps,
6316
- prefix: /* @__PURE__ */ jsx232(
6360
+ prefix: /* @__PURE__ */ jsx233(
6317
6361
  "span",
6318
6362
  {
6319
6363
  className: cn(
@@ -6322,10 +6366,10 @@ function TimePicker({
6322
6366
  props.isReadOnly && DateInput_default["icon-wrapper--readonly"],
6323
6367
  DateInput_default[`icon-wrapper--${iconSize}`]
6324
6368
  ),
6325
- children: /* @__PURE__ */ jsx232(Icon, { icon: TimeIcon, iconSize })
6369
+ children: /* @__PURE__ */ jsx233(Icon, { icon: TimeIcon, iconSize })
6326
6370
  }
6327
6371
  ),
6328
- children: state.segments.map((segment, i) => /* @__PURE__ */ jsx232(
6372
+ children: state.segments.map((segment, i) => /* @__PURE__ */ jsx233(
6329
6373
  DateSegment,
6330
6374
  {
6331
6375
  componentSize,
@@ -6384,7 +6428,7 @@ var DescriptionList_default = {
6384
6428
  };
6385
6429
 
6386
6430
  // src/components/DescriptionList/DescriptionList.tsx
6387
- import { jsx as jsx233 } from "react/jsx-runtime";
6431
+ import { jsx as jsx234 } from "react/jsx-runtime";
6388
6432
  var DescriptionList = ({
6389
6433
  appearance = "default",
6390
6434
  direction = "column",
@@ -6393,7 +6437,7 @@ var DescriptionList = ({
6393
6437
  className,
6394
6438
  htmlProps,
6395
6439
  ...rest
6396
- }) => /* @__PURE__ */ jsx233(
6440
+ }) => /* @__PURE__ */ jsx234(
6397
6441
  VStack,
6398
6442
  {
6399
6443
  as: "dl",
@@ -6418,14 +6462,14 @@ var DescriptionList = ({
6418
6462
  DescriptionList.displayName = "DescriptionList";
6419
6463
 
6420
6464
  // src/components/DescriptionList/DescriptionListTerm.tsx
6421
- import { jsx as jsx234 } from "react/jsx-runtime";
6465
+ import { jsx as jsx235 } from "react/jsx-runtime";
6422
6466
  var DescriptionListTerm = (props) => {
6423
- return /* @__PURE__ */ jsx234("dt", { ...props });
6467
+ return /* @__PURE__ */ jsx235("dt", { ...props });
6424
6468
  };
6425
6469
  DescriptionListTerm.displayName = "DescriptionListTerm";
6426
6470
 
6427
6471
  // src/components/DescriptionList/DescriptionListDesc.tsx
6428
- import { jsx as jsx235, jsxs as jsxs49 } from "react/jsx-runtime";
6472
+ import { jsx as jsx236, jsxs as jsxs49 } from "react/jsx-runtime";
6429
6473
  var DescriptionListDesc = ({
6430
6474
  children,
6431
6475
  icon,
@@ -6434,14 +6478,14 @@ var DescriptionListDesc = ({
6434
6478
  htmlProps,
6435
6479
  ...rest
6436
6480
  }) => /* @__PURE__ */ jsxs49("dd", { ...getBaseHTMLProps(id, cn(className, DescriptionList_default.desc), htmlProps, rest), children: [
6437
- icon && /* @__PURE__ */ jsx235(Icon, { icon }),
6481
+ icon && /* @__PURE__ */ jsx236(Icon, { icon }),
6438
6482
  " ",
6439
6483
  children
6440
6484
  ] });
6441
6485
  DescriptionListDesc.displayName = "DescriptionListDesc";
6442
6486
 
6443
6487
  // src/components/DescriptionList/DescriptionListGroup.tsx
6444
- import { jsx as jsx236 } from "react/jsx-runtime";
6488
+ import { jsx as jsx237 } from "react/jsx-runtime";
6445
6489
  var DescriptionListGroup = ({
6446
6490
  children,
6447
6491
  margin,
@@ -6451,7 +6495,7 @@ var DescriptionListGroup = ({
6451
6495
  className,
6452
6496
  htmlProps,
6453
6497
  ...rest
6454
- }) => /* @__PURE__ */ jsx236(
6498
+ }) => /* @__PURE__ */ jsx237(
6455
6499
  "div",
6456
6500
  {
6457
6501
  ...getBaseHTMLProps(id, cn(className, DescriptionList_default.group), htmlProps, rest),
@@ -6482,7 +6526,7 @@ var DetailListContext = createContext9({});
6482
6526
  var useDetailListContext = () => useContext12(DetailListContext);
6483
6527
 
6484
6528
  // src/components/DetailList/DetailList.tsx
6485
- import { jsx as jsx237 } from "react/jsx-runtime";
6529
+ import { jsx as jsx238 } from "react/jsx-runtime";
6486
6530
  var DetailList = ({
6487
6531
  id,
6488
6532
  className,
@@ -6492,7 +6536,7 @@ var DetailList = ({
6492
6536
  size: size2 = "medium",
6493
6537
  smallScreenBreakpoint,
6494
6538
  ...rest
6495
- }) => /* @__PURE__ */ jsx237(DetailListContext, { value: { smallScreenBreakpoint }, children: /* @__PURE__ */ jsx237(
6539
+ }) => /* @__PURE__ */ jsx238(DetailListContext, { value: { smallScreenBreakpoint }, children: /* @__PURE__ */ jsx238(
6496
6540
  "dl",
6497
6541
  {
6498
6542
  ...getBaseHTMLProps(
@@ -6513,17 +6557,17 @@ var DetailList = ({
6513
6557
  DetailList.displayName = "DetailList";
6514
6558
 
6515
6559
  // src/components/DetailList/DetailListDesc.tsx
6516
- import { jsx as jsx238 } from "react/jsx-runtime";
6517
- var DetailListDesc = ({ className, ...rest }) => /* @__PURE__ */ jsx238("dd", { className: cn(className, DetailList_default.cell), ...rest });
6560
+ import { jsx as jsx239 } from "react/jsx-runtime";
6561
+ var DetailListDesc = ({ className, ...rest }) => /* @__PURE__ */ jsx239("dd", { className: cn(className, DetailList_default.cell), ...rest });
6518
6562
  DetailListDesc.displayName = "DetailListDesc";
6519
6563
 
6520
6564
  // src/components/DetailList/DetailListRow.tsx
6521
- import { Fragment as Fragment5, jsx as jsx239, jsxs as jsxs50 } from "react/jsx-runtime";
6565
+ import { Fragment as Fragment5, jsx as jsx240, jsxs as jsxs50 } from "react/jsx-runtime";
6522
6566
  var DetailListRow = ({ className, ...rest }) => {
6523
6567
  const { smallScreenBreakpoint: bp } = useDetailListContext();
6524
6568
  const hasBp = !!bp;
6525
6569
  return /* @__PURE__ */ jsxs50(Fragment5, { children: [
6526
- /* @__PURE__ */ jsx239(
6570
+ /* @__PURE__ */ jsx240(
6527
6571
  Box,
6528
6572
  {
6529
6573
  display: "table-row",
@@ -6532,7 +6576,7 @@ var DetailListRow = ({ className, ...rest }) => {
6532
6576
  ...rest
6533
6577
  }
6534
6578
  ),
6535
- hasBp && /* @__PURE__ */ jsx239(
6579
+ hasBp && /* @__PURE__ */ jsx240(
6536
6580
  Box,
6537
6581
  {
6538
6582
  display: "flex",
@@ -6547,8 +6591,8 @@ var DetailListRow = ({ className, ...rest }) => {
6547
6591
  DetailListRow.displayName = "DetailListRow";
6548
6592
 
6549
6593
  // src/components/DetailList/DetailListTerm.tsx
6550
- import { jsx as jsx240 } from "react/jsx-runtime";
6551
- var DetailListTerm = ({ className, ...rest }) => /* @__PURE__ */ jsx240("dt", { className: cn(className, DetailList_default.cell, DetailList_default.term), ...rest });
6594
+ import { jsx as jsx241 } from "react/jsx-runtime";
6595
+ var DetailListTerm = ({ className, ...rest }) => /* @__PURE__ */ jsx241("dt", { className: cn(className, DetailList_default.cell, DetailList_default.term), ...rest });
6552
6596
  DetailListTerm.displayName = "DetailListTerm";
6553
6597
 
6554
6598
  // src/components/Drawer/Drawer.tsx
@@ -6579,7 +6623,7 @@ var DrawerContext = createContext10({});
6579
6623
  var useDrawerContext = () => useContext13(DrawerContext);
6580
6624
 
6581
6625
  // src/components/Drawer/Drawer.tsx
6582
- import { jsx as jsx241, jsxs as jsxs51 } from "react/jsx-runtime";
6626
+ import { jsx as jsx242, jsxs as jsxs51 } from "react/jsx-runtime";
6583
6627
  var Drawer = ({
6584
6628
  children,
6585
6629
  header,
@@ -6682,8 +6726,8 @@ var Drawer = ({
6682
6726
  paddingInline: "var(--dds-drawer-content-container-padding)",
6683
6727
  className: Drawer_default["drawer-header"],
6684
6728
  children: [
6685
- hasHeader && /* @__PURE__ */ jsx241("div", { id: headerId, children: typeof header === "string" ? /* @__PURE__ */ jsx241(Heading, { level: 2, typographyType: "headingLarge", children: header }) : header }),
6686
- /* @__PURE__ */ jsx241(
6729
+ hasHeader && /* @__PURE__ */ jsx242("div", { id: headerId, children: typeof header === "string" ? /* @__PURE__ */ jsx242(Heading, { level: 2, typographyType: "headingLarge", children: header }) : header }),
6730
+ /* @__PURE__ */ jsx242(
6687
6731
  Button,
6688
6732
  {
6689
6733
  className: cn(Drawer_default["button--close"]),
@@ -6698,7 +6742,7 @@ var Drawer = ({
6698
6742
  ]
6699
6743
  }
6700
6744
  ),
6701
- /* @__PURE__ */ jsx241(
6745
+ /* @__PURE__ */ jsx242(
6702
6746
  VStack,
6703
6747
  {
6704
6748
  gap: "x1",
@@ -6710,7 +6754,7 @@ var Drawer = ({
6710
6754
  ]
6711
6755
  }
6712
6756
  );
6713
- const component = withBackdrop ? /* @__PURE__ */ jsx241(
6757
+ const component = withBackdrop ? /* @__PURE__ */ jsx242(
6714
6758
  Backdrop,
6715
6759
  {
6716
6760
  zIndex: "drawer",
@@ -6731,9 +6775,9 @@ import {
6731
6775
  isValidElement as isValidElement3,
6732
6776
  useId as useId10,
6733
6777
  useRef as useRef20,
6734
- useState as useState12
6778
+ useState as useState13
6735
6779
  } from "react";
6736
- import { jsx as jsx242 } from "react/jsx-runtime";
6780
+ import { jsx as jsx243 } from "react/jsx-runtime";
6737
6781
  var DrawerGroup = ({
6738
6782
  children,
6739
6783
  isInitiallyOpen,
@@ -6743,7 +6787,7 @@ var DrawerGroup = ({
6743
6787
  onOpen,
6744
6788
  onClose
6745
6789
  }) => {
6746
- const [internalIsOpen, internalSetIsOpen] = useState12(isInitiallyOpen);
6790
+ const [internalIsOpen, internalSetIsOpen] = useState13(isInitiallyOpen);
6747
6791
  const [isOpen, setIsOpen] = [
6748
6792
  propIsOpen != null ? propIsOpen : internalIsOpen,
6749
6793
  propSetIsOpen != null ? propSetIsOpen : internalSetIsOpen
@@ -6777,7 +6821,7 @@ var DrawerGroup = ({
6777
6821
  onClick: handleOpen
6778
6822
  }) : child);
6779
6823
  });
6780
- return /* @__PURE__ */ jsx242(
6824
+ return /* @__PURE__ */ jsx243(
6781
6825
  DrawerContext,
6782
6826
  {
6783
6827
  value: {
@@ -6798,14 +6842,14 @@ var EmptyContent_default = {
6798
6842
  };
6799
6843
 
6800
6844
  // src/components/EmptyContent/EmptyContent.tsx
6801
- import { jsx as jsx243, jsxs as jsxs52 } from "react/jsx-runtime";
6845
+ import { jsx as jsx244, jsxs as jsxs52 } from "react/jsx-runtime";
6802
6846
  function EmptyContent({
6803
6847
  headerText,
6804
6848
  message,
6805
6849
  headerHeadingLevel = 2,
6806
6850
  ...rest
6807
6851
  }) {
6808
- return /* @__PURE__ */ jsx243(
6852
+ return /* @__PURE__ */ jsx244(
6809
6853
  Paper,
6810
6854
  {
6811
6855
  display: "flex",
@@ -6819,8 +6863,8 @@ function EmptyContent({
6819
6863
  borderRadius: "0",
6820
6864
  ...rest,
6821
6865
  children: /* @__PURE__ */ jsxs52(VStack, { maxWidth: "70ch", gap: "x1", textAlign: "center", children: [
6822
- headerText && /* @__PURE__ */ jsx243(Heading, { level: headerHeadingLevel, typographyType: "headingMedium", children: headerText }),
6823
- /* @__PURE__ */ jsx243(Paragraph, { className: EmptyContent_default.message, children: message })
6866
+ headerText && /* @__PURE__ */ jsx244(Heading, { level: headerHeadingLevel, typographyType: "headingMedium", children: headerText }),
6867
+ /* @__PURE__ */ jsx244(Paragraph, { className: EmptyContent_default.message, children: message })
6824
6868
  ] })
6825
6869
  }
6826
6870
  );
@@ -6840,7 +6884,7 @@ var FavStar_default = {
6840
6884
  };
6841
6885
 
6842
6886
  // src/components/FavStar/FavStar.tsx
6843
- import { jsx as jsx244, jsxs as jsxs53 } from "react/jsx-runtime";
6887
+ import { jsx as jsx245, jsxs as jsxs53 } from "react/jsx-runtime";
6844
6888
  var FavStar = ({
6845
6889
  id,
6846
6890
  className,
@@ -6876,7 +6920,7 @@ var FavStar = ({
6876
6920
  style,
6877
6921
  htmlFor: id != null ? id : generatedId,
6878
6922
  children: [
6879
- /* @__PURE__ */ jsx244(
6923
+ /* @__PURE__ */ jsx245(
6880
6924
  "input",
6881
6925
  {
6882
6926
  ...props,
@@ -6888,8 +6932,8 @@ var FavStar = ({
6888
6932
  className: utilStyles_default["hide-input"]
6889
6933
  }
6890
6934
  ),
6891
- /* @__PURE__ */ jsx244(Icon, { iconSize: size2, icon: StarIcon, className: FavStar_default.icon }),
6892
- /* @__PURE__ */ jsx244(
6935
+ /* @__PURE__ */ jsx245(Icon, { iconSize: size2, icon: StarIcon, className: FavStar_default.icon }),
6936
+ /* @__PURE__ */ jsx245(
6893
6937
  Icon,
6894
6938
  {
6895
6939
  iconSize: size2,
@@ -6904,7 +6948,7 @@ var FavStar = ({
6904
6948
  FavStar.displayName = "FavStar";
6905
6949
 
6906
6950
  // src/components/Feedback/Feedback.tsx
6907
- import { useEffect as useEffect22, useState as useState15 } from "react";
6951
+ import { useEffect as useEffect22, useState as useState16 } from "react";
6908
6952
 
6909
6953
  // src/components/Feedback/Feedback.module.css
6910
6954
  var Feedback_default = {
@@ -6922,7 +6966,7 @@ import {
6922
6966
  useEffect as useEffect20,
6923
6967
  useId as useId12,
6924
6968
  useRef as useRef21,
6925
- useState as useState13
6969
+ useState as useState14
6926
6970
  } from "react";
6927
6971
 
6928
6972
  // src/components/TextArea/TextArea.module.css
@@ -6931,7 +6975,7 @@ var TextArea_default = {
6931
6975
  };
6932
6976
 
6933
6977
  // src/components/TextArea/TextArea.tsx
6934
- import { jsx as jsx245, jsxs as jsxs54 } from "react/jsx-runtime";
6978
+ import { jsx as jsx246, jsxs as jsxs54 } from "react/jsx-runtime";
6935
6979
  var TextArea = ({
6936
6980
  id,
6937
6981
  value,
@@ -6956,7 +7000,7 @@ var TextArea = ({
6956
7000
  const uniqueId = id != null ? id : `${generatedId}-textArea`;
6957
7001
  const textAreaRef = useRef21(null);
6958
7002
  const multiRef = useCombinedRef(ref, textAreaRef);
6959
- const [text, setText] = useState13(getDefaultText(value, defaultValue));
7003
+ const [text, setText] = useState14(getDefaultText(value, defaultValue));
6960
7004
  useEffect20(() => {
6961
7005
  if (textAreaRef == null ? void 0 : textAreaRef.current) {
6962
7006
  textAreaRef.current.style.height = `${textAreaRef.current.scrollHeight + 2}px`;
@@ -6980,7 +7024,7 @@ var TextArea = ({
6980
7024
  const showRequiredStyling = required || !!ariaRequired;
6981
7025
  const inputWidth = getInputWidth(width);
6982
7026
  return /* @__PURE__ */ jsxs54("div", { className: cn(className, Input_default.container), style: { ...style }, children: [
6983
- hasLabel && /* @__PURE__ */ jsx245(
7027
+ hasLabel && /* @__PURE__ */ jsx246(
6984
7028
  Label,
6985
7029
  {
6986
7030
  showRequiredStyling,
@@ -6990,7 +7034,7 @@ var TextArea = ({
6990
7034
  children: label
6991
7035
  }
6992
7036
  ),
6993
- /* @__PURE__ */ jsx245(
7037
+ /* @__PURE__ */ jsx246(
6994
7038
  Box,
6995
7039
  {
6996
7040
  as: "textarea",
@@ -7045,16 +7089,16 @@ var TextArea = ({
7045
7089
  TextArea.displayName = "TextArea";
7046
7090
 
7047
7091
  // src/components/Feedback/utils.tsx
7048
- import { jsx as jsx246 } from "react/jsx-runtime";
7092
+ import { jsx as jsx247 } from "react/jsx-runtime";
7049
7093
  var getIconSize = (layout) => layout === "vertical" ? "large" : "medium";
7050
- var ThumbIcon = ({ rating, layout, type }) => type === "comment" ? /* @__PURE__ */ jsx246(
7094
+ var ThumbIcon = ({ rating, layout, type }) => type === "comment" ? /* @__PURE__ */ jsx247(
7051
7095
  Icon,
7052
7096
  {
7053
7097
  icon: rating === "positive" ? ThumbUpFilledIcon : ThumbDownFilledIcon,
7054
7098
  color: "iconActionResting",
7055
7099
  iconSize: getIconSize(layout)
7056
7100
  }
7057
- ) : /* @__PURE__ */ jsx246(
7101
+ ) : /* @__PURE__ */ jsx247(
7058
7102
  Icon,
7059
7103
  {
7060
7104
  icon: rating === "positive" ? ThumbUpIcon : ThumbDownIcon,
@@ -7064,7 +7108,7 @@ var ThumbIcon = ({ rating, layout, type }) => type === "comment" ? /* @__PURE__
7064
7108
  );
7065
7109
 
7066
7110
  // src/components/Feedback/CommentComponent.tsx
7067
- import { jsx as jsx247, jsxs as jsxs55 } from "react/jsx-runtime";
7111
+ import { jsx as jsx248, jsxs as jsxs55 } from "react/jsx-runtime";
7068
7112
  var CommentComponent = ({
7069
7113
  layout,
7070
7114
  rating,
@@ -7085,7 +7129,7 @@ var CommentComponent = ({
7085
7129
  " "
7086
7130
  ] })
7087
7131
  ] }),
7088
- /* @__PURE__ */ jsx247(
7132
+ /* @__PURE__ */ jsx248(
7089
7133
  TextArea,
7090
7134
  {
7091
7135
  value: feedbackText,
@@ -7094,7 +7138,7 @@ var CommentComponent = ({
7094
7138
  tip: textAreaTip
7095
7139
  }
7096
7140
  ),
7097
- /* @__PURE__ */ jsx247(
7141
+ /* @__PURE__ */ jsx248(
7098
7142
  Button,
7099
7143
  {
7100
7144
  purpose: "secondary",
@@ -7114,7 +7158,7 @@ import {
7114
7158
  useEffect as useEffect21,
7115
7159
  useId as useId13,
7116
7160
  useRef as useRef22,
7117
- useState as useState14
7161
+ useState as useState15
7118
7162
  } from "react";
7119
7163
 
7120
7164
  // src/components/Tooltip/Tooltip.module.css
@@ -7126,7 +7170,7 @@ var Tooltip_default = {
7126
7170
  };
7127
7171
 
7128
7172
  // src/components/Tooltip/Tooltip.tsx
7129
- import { jsx as jsx248, jsxs as jsxs56 } from "react/jsx-runtime";
7173
+ import { jsx as jsx249, jsxs as jsxs56 } from "react/jsx-runtime";
7130
7174
  var Tooltip = ({
7131
7175
  text,
7132
7176
  placement = "bottom",
@@ -7144,9 +7188,9 @@ var Tooltip = ({
7144
7188
  }) => {
7145
7189
  const generatedId = useId13();
7146
7190
  const uniqueTooltipId = tooltipId != null ? tooltipId : `${generatedId}-tooltip`;
7147
- const [open, setOpen] = useState14(false);
7148
- const [inView, setInView] = useState14(false);
7149
- const [arrowElement, setArrowElement] = useState14(null);
7191
+ const [open, setOpen] = useState15(false);
7192
+ const [inView, setInView] = useState15(false);
7193
+ const [arrowElement, setArrowElement] = useState15(null);
7150
7194
  const { refs, styles: positionStyles } = useFloatPosition(arrowElement, {
7151
7195
  placement
7152
7196
  });
@@ -7240,15 +7284,15 @@ var Tooltip = ({
7240
7284
  ),
7241
7285
  children: [
7242
7286
  text,
7243
- /* @__PURE__ */ jsx248("div", { ref: setArrowElement, style: positionStyles.arrow, children: /* @__PURE__ */ jsxs56("svg", { width: "36", height: "9", children: [
7244
- /* @__PURE__ */ jsx248(
7287
+ /* @__PURE__ */ jsx249("div", { ref: setArrowElement, style: positionStyles.arrow, children: /* @__PURE__ */ jsxs56("svg", { width: "36", height: "9", children: [
7288
+ /* @__PURE__ */ jsx249(
7245
7289
  "path",
7246
7290
  {
7247
7291
  d: "M16.586 6.586L10 0h16.154a.373.373 0 00-.263.11l-6.477 6.476a2 2 0 01-2.828 0z",
7248
7292
  className: Tooltip_default["svg-arrow__background"]
7249
7293
  }
7250
7294
  ),
7251
- /* @__PURE__ */ jsx248(
7295
+ /* @__PURE__ */ jsx249(
7252
7296
  "path",
7253
7297
  {
7254
7298
  fillRule: "evenodd",
@@ -7268,7 +7312,7 @@ var Tooltip = ({
7268
7312
  Tooltip.displayName = "Tooltip";
7269
7313
 
7270
7314
  // src/components/Feedback/RatingComponent.tsx
7271
- import { jsx as jsx249, jsxs as jsxs57 } from "react/jsx-runtime";
7315
+ import { jsx as jsx250, jsxs as jsxs57 } from "react/jsx-runtime";
7272
7316
  var RatingComponent = ({
7273
7317
  layout,
7274
7318
  ratingLabel,
@@ -7277,17 +7321,12 @@ var RatingComponent = ({
7277
7321
  thumbDownTooltip,
7278
7322
  handleRatingChange
7279
7323
  }) => {
7280
- const button = (rating, layout2, tooltip) => /* @__PURE__ */ jsx249(
7281
- "button",
7324
+ const button = (rating, layout2, tooltip) => /* @__PURE__ */ jsx250(
7325
+ StylelessButton,
7282
7326
  {
7283
7327
  "aria-label": tooltip,
7284
7328
  onClick: () => handleRatingChange(rating),
7285
- className: cn(
7286
- utilStyles_default["remove-button-styling"],
7287
- Feedback_default.button,
7288
- Feedback_default[`button--${layout2}`],
7289
- focusable
7290
- ),
7329
+ className: cn(Feedback_default.button, Feedback_default[`button--${layout2}`], focusable),
7291
7330
  children: ThumbIcon({ rating, layout: layout2, type: "rating" })
7292
7331
  }
7293
7332
  );
@@ -7299,10 +7338,10 @@ var RatingComponent = ({
7299
7338
  Feedback_default[`rating-container--${layout}`]
7300
7339
  ),
7301
7340
  children: [
7302
- /* @__PURE__ */ jsx249("h2", { className: typographyStyles_default["label-medium"], children: ratingLabel }),
7303
- loading ? /* @__PURE__ */ jsx249(Spinner, { tooltip: "Laster opp tilbakemelding ..." }) : /* @__PURE__ */ jsxs57(HStack, { gap: "x1", children: [
7304
- /* @__PURE__ */ jsx249(Tooltip, { text: thumbUpTooltip, children: button("positive", layout, thumbUpTooltip) }),
7305
- /* @__PURE__ */ jsx249(Tooltip, { text: thumbDownTooltip, children: /* @__PURE__ */ jsx249("div", { children: button("negative", layout, thumbDownTooltip) }) })
7341
+ /* @__PURE__ */ jsx250("h2", { className: typographyStyles_default["label-medium"], children: ratingLabel }),
7342
+ loading ? /* @__PURE__ */ jsx250(Spinner, { tooltip: "Laster opp tilbakemelding ..." }) : /* @__PURE__ */ jsxs57(HStack, { gap: "x1", children: [
7343
+ /* @__PURE__ */ jsx250(Tooltip, { text: thumbUpTooltip, children: button("positive", layout, thumbUpTooltip) }),
7344
+ /* @__PURE__ */ jsx250(Tooltip, { text: thumbDownTooltip, children: /* @__PURE__ */ jsx250("div", { children: button("negative", layout, thumbDownTooltip) }) })
7306
7345
  ] })
7307
7346
  ]
7308
7347
  }
@@ -7310,7 +7349,7 @@ var RatingComponent = ({
7310
7349
  };
7311
7350
 
7312
7351
  // src/components/Feedback/Feedback.tsx
7313
- import { jsx as jsx250 } from "react/jsx-runtime";
7352
+ import { jsx as jsx251 } from "react/jsx-runtime";
7314
7353
  var Feedback = ({
7315
7354
  layout = "vertical",
7316
7355
  ratingLabel = "Hva syns du om tjenesten?",
@@ -7330,9 +7369,9 @@ var Feedback = ({
7330
7369
  onFeedbackTextChange,
7331
7370
  onSubmit
7332
7371
  }) => {
7333
- const [rating, setRating] = useState15(null);
7334
- const [feedbackText, setFeedbackText] = useState15();
7335
- const [isFeedbackSubmitted, setIsFeedbackSubmitted] = useState15(false);
7372
+ const [rating, setRating] = useState16(null);
7373
+ const [feedbackText, setFeedbackText] = useState16();
7374
+ const [isFeedbackSubmitted, setIsFeedbackSubmitted] = useState16(false);
7336
7375
  useEffect22(() => {
7337
7376
  ratingProp !== void 0 && setRating(ratingProp);
7338
7377
  }, [ratingProp]);
@@ -7356,7 +7395,7 @@ var Feedback = ({
7356
7395
  isSubmittedProp === void 0 && setIsFeedbackSubmitted(true);
7357
7396
  };
7358
7397
  if (rating === null && !isFeedbackSubmitted) {
7359
- return /* @__PURE__ */ jsx250(
7398
+ return /* @__PURE__ */ jsx251(
7360
7399
  RatingComponent,
7361
7400
  {
7362
7401
  layout,
@@ -7369,7 +7408,7 @@ var Feedback = ({
7369
7408
  );
7370
7409
  }
7371
7410
  if (!feedbackTextAreaExcluded && !isFeedbackSubmitted) {
7372
- return /* @__PURE__ */ jsx250(
7411
+ return /* @__PURE__ */ jsx251(
7373
7412
  CommentComponent,
7374
7413
  {
7375
7414
  layout,
@@ -7385,20 +7424,20 @@ var Feedback = ({
7385
7424
  }
7386
7425
  );
7387
7426
  }
7388
- return /* @__PURE__ */ jsx250(Paragraph, { children: submittedTitle });
7427
+ return /* @__PURE__ */ jsx251(Paragraph, { children: submittedTitle });
7389
7428
  };
7390
7429
 
7391
7430
  // src/components/Fieldset/Fieldset.module.css
7392
7431
  var container = "Fieldset_container";
7393
7432
 
7394
7433
  // src/components/Fieldset/Fieldset.tsx
7395
- import { jsx as jsx251 } from "react/jsx-runtime";
7434
+ import { jsx as jsx252 } from "react/jsx-runtime";
7396
7435
  var Fieldset = ({
7397
7436
  id,
7398
7437
  className,
7399
7438
  htmlProps,
7400
7439
  ...rest
7401
- }) => /* @__PURE__ */ jsx251(
7440
+ }) => /* @__PURE__ */ jsx252(
7402
7441
  "fieldset",
7403
7442
  {
7404
7443
  ...getBaseHTMLProps(id, cn(className, container), htmlProps, rest)
@@ -7407,27 +7446,27 @@ var Fieldset = ({
7407
7446
  Fieldset.displayName = "Fieldset";
7408
7447
 
7409
7448
  // src/components/Fieldset/FieldsetGroup.tsx
7410
- import { jsx as jsx252 } from "react/jsx-runtime";
7449
+ import { jsx as jsx253 } from "react/jsx-runtime";
7411
7450
  var FieldsetGroup = ({
7412
7451
  id,
7413
7452
  className,
7414
7453
  htmlProps,
7415
7454
  ...rest
7416
- }) => /* @__PURE__ */ jsx252(VStack, { gap: "x1.5", ...getBaseHTMLProps(id, className, htmlProps, rest) });
7455
+ }) => /* @__PURE__ */ jsx253(VStack, { gap: "x1.5", ...getBaseHTMLProps(id, className, htmlProps, rest) });
7417
7456
  FieldsetGroup.displayName = "FieldsetGroup";
7418
7457
 
7419
7458
  // src/components/FileUploader/FileUploader.tsx
7420
7459
  import { useId as useId14 } from "react";
7421
7460
 
7422
7461
  // src/components/FileUploader/ErrorList.tsx
7423
- import { jsx as jsx253 } from "react/jsx-runtime";
7462
+ import { jsx as jsx254 } from "react/jsx-runtime";
7424
7463
  var ErrorList = (props) => {
7425
7464
  const { errors } = props;
7426
7465
  if (errors.length < 1) {
7427
7466
  return null;
7428
7467
  }
7429
7468
  if (errors.length === 1) {
7430
- return /* @__PURE__ */ jsx253(
7469
+ return /* @__PURE__ */ jsx254(
7431
7470
  InputMessage,
7432
7471
  {
7433
7472
  id: errors[0].id,
@@ -7436,8 +7475,8 @@ var ErrorList = (props) => {
7436
7475
  }
7437
7476
  );
7438
7477
  }
7439
- return /* @__PURE__ */ jsx253(StylelessList, { children: errors.map(({ id, message }) => {
7440
- return /* @__PURE__ */ jsx253("li", { children: /* @__PURE__ */ jsx253(
7478
+ return /* @__PURE__ */ jsx254(StylelessList, { children: errors.map(({ id, message }) => {
7479
+ return /* @__PURE__ */ jsx254("li", { children: /* @__PURE__ */ jsx254(
7441
7480
  InputMessage,
7442
7481
  {
7443
7482
  id,
@@ -7462,7 +7501,7 @@ var FileUploader_default = {
7462
7501
  };
7463
7502
 
7464
7503
  // src/components/FileUploader/File.tsx
7465
- import { jsx as jsx254, jsxs as jsxs58 } from "react/jsx-runtime";
7504
+ import { jsx as jsx255, jsxs as jsxs58 } from "react/jsx-runtime";
7466
7505
  var File = (props) => {
7467
7506
  const { parentId, index, file: stateFile, removeFile, isValid } = props;
7468
7507
  const errorsList = stateFile.errors.map((e, errorIndex) => ({
@@ -7483,21 +7522,21 @@ var File = (props) => {
7483
7522
  background: "surface-subtle",
7484
7523
  className: cn(!isValid && FileUploader_default["file--invalid"]),
7485
7524
  children: [
7486
- /* @__PURE__ */ jsx254(
7525
+ /* @__PURE__ */ jsx255(
7487
7526
  "span",
7488
7527
  {
7489
7528
  className: cn(FileUploader_default.file__name, typographyStyles_default["body-medium"]),
7490
7529
  children: stateFile.file.name
7491
7530
  }
7492
7531
  ),
7493
- /* @__PURE__ */ jsx254(
7532
+ /* @__PURE__ */ jsx255(
7494
7533
  Icon,
7495
7534
  {
7496
7535
  icon: isValid ? CheckCircledIcon : ErrorIcon,
7497
7536
  className: FileUploader_default[`file__icon--${isValid ? "valid" : "invalid"}`]
7498
7537
  }
7499
7538
  ),
7500
- /* @__PURE__ */ jsx254(
7539
+ /* @__PURE__ */ jsx255(
7501
7540
  Button,
7502
7541
  {
7503
7542
  size: "small",
@@ -7518,7 +7557,7 @@ var File = (props) => {
7518
7557
  ]
7519
7558
  }
7520
7559
  ),
7521
- /* @__PURE__ */ jsx254(ErrorList, { errors: errorsList })
7560
+ /* @__PURE__ */ jsx255(ErrorList, { errors: errorsList })
7522
7561
  ] });
7523
7562
  };
7524
7563
 
@@ -7810,7 +7849,7 @@ var useFileUploader = (props) => {
7810
7849
  };
7811
7850
 
7812
7851
  // src/components/FileUploader/FileUploader.tsx
7813
- import { jsx as jsx255, jsxs as jsxs59 } from "react/jsx-runtime";
7852
+ import { jsx as jsx256, jsxs as jsxs59 } from "react/jsx-runtime";
7814
7853
  var FileUploader = (props) => {
7815
7854
  const {
7816
7855
  id,
@@ -7858,7 +7897,7 @@ var FileUploader = (props) => {
7858
7897
  const tipId = derivativeIdGenerator(uniqueId, "tip");
7859
7898
  const buttonId = derivativeIdGenerator(uniqueId, "button");
7860
7899
  const inputId = derivativeIdGenerator(uniqueId, "input");
7861
- const fileListElements = stateFiles.map((stateFile, index) => /* @__PURE__ */ jsx255(
7900
+ const fileListElements = stateFiles.map((stateFile, index) => /* @__PURE__ */ jsx256(
7862
7901
  File,
7863
7902
  {
7864
7903
  parentId: uniqueId,
@@ -7873,7 +7912,7 @@ var FileUploader = (props) => {
7873
7912
  id: derivativeIdGenerator(uniqueId, `error-${index}`),
7874
7913
  message: e
7875
7914
  }));
7876
- const button = /* @__PURE__ */ jsx255(
7915
+ const button = /* @__PURE__ */ jsx256(
7877
7916
  Button,
7878
7917
  {
7879
7918
  ...getButtonProps(),
@@ -7901,7 +7940,7 @@ var FileUploader = (props) => {
7901
7940
  width,
7902
7941
  ...rest,
7903
7942
  children: [
7904
- hasLabel && /* @__PURE__ */ jsx255(
7943
+ hasLabel && /* @__PURE__ */ jsx256(
7905
7944
  Label,
7906
7945
  {
7907
7946
  id: labelId,
@@ -7910,7 +7949,7 @@ var FileUploader = (props) => {
7910
7949
  children: label
7911
7950
  }
7912
7951
  ),
7913
- hasTip && /* @__PURE__ */ jsx255(InputMessage, { id: tipId, message: tip, messageType: "tip" }),
7952
+ hasTip && /* @__PURE__ */ jsx256(InputMessage, { id: tipId, message: tip, messageType: "tip" }),
7914
7953
  withDragAndDrop ? /* @__PURE__ */ jsxs59(
7915
7954
  VStack,
7916
7955
  {
@@ -7923,7 +7962,7 @@ var FileUploader = (props) => {
7923
7962
  isDragActive && FileUploader_default["input-container--drag-active"]
7924
7963
  ),
7925
7964
  children: [
7926
- /* @__PURE__ */ jsx255(
7965
+ /* @__PURE__ */ jsx256(
7927
7966
  "input",
7928
7967
  {
7929
7968
  ...getInputProps(),
@@ -7932,16 +7971,16 @@ var FileUploader = (props) => {
7932
7971
  }
7933
7972
  ),
7934
7973
  dropAreaLabel,
7935
- /* @__PURE__ */ jsx255(VisuallyHidden, { children: "velg fil med p\xE5f\xF8lgende knapp" }),
7974
+ /* @__PURE__ */ jsx256(VisuallyHidden, { children: "velg fil med p\xE5f\xF8lgende knapp" }),
7936
7975
  button
7937
7976
  ]
7938
7977
  }
7939
7978
  ) : /* @__PURE__ */ jsxs59("div", { className: FileUploader_default["input-container--no-drag-zone"], children: [
7940
- /* @__PURE__ */ jsx255("input", { ...getInputProps(), id: inputId }),
7979
+ /* @__PURE__ */ jsx256("input", { ...getInputProps(), id: inputId }),
7941
7980
  button
7942
7981
  ] }),
7943
- /* @__PURE__ */ jsx255(ErrorList, { errors: rootErrorsList }),
7944
- !hideFileList && /* @__PURE__ */ jsx255(StylelessList, { children: fileListElements })
7982
+ /* @__PURE__ */ jsx256(ErrorList, { errors: rootErrorsList }),
7983
+ !hideFileList && /* @__PURE__ */ jsx256(StylelessList, { children: fileListElements })
7945
7984
  ]
7946
7985
  }
7947
7986
  );
@@ -7959,25 +7998,25 @@ var Footer_default = {
7959
7998
  };
7960
7999
 
7961
8000
  // src/components/Footer/Footer.tsx
7962
- import { jsx as jsx256 } from "react/jsx-runtime";
7963
- var Footer = ({ className, ...rest }) => /* @__PURE__ */ jsx256(Contrast, { as: "footer", className: cn(className, Footer_default.container), ...rest });
8001
+ import { jsx as jsx257 } from "react/jsx-runtime";
8002
+ var Footer = ({ className, ...rest }) => /* @__PURE__ */ jsx257(Contrast, { as: "footer", className: cn(className, Footer_default.container), ...rest });
7964
8003
 
7965
8004
  // src/components/Footer/FooterListHeader.tsx
7966
- import { jsx as jsx257 } from "react/jsx-runtime";
7967
- var FooterListHeader = (props) => /* @__PURE__ */ jsx257(Heading, { level: 2, typographyType: "headingSmall", ...props });
8005
+ import { jsx as jsx258 } from "react/jsx-runtime";
8006
+ var FooterListHeader = (props) => /* @__PURE__ */ jsx258(Heading, { level: 2, typographyType: "headingSmall", ...props });
7968
8007
 
7969
8008
  // src/components/Footer/norges_domstoler_logo.svg
7970
8009
  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';
7971
8010
 
7972
8011
  // src/components/Footer/FooterLogo.tsx
7973
- import { jsx as jsx258 } from "react/jsx-runtime";
8012
+ import { jsx as jsx259 } from "react/jsx-runtime";
7974
8013
  var FooterLogo = ({ hideBreakpoint, ...rest }) => {
7975
- return /* @__PURE__ */ jsx258(
8014
+ return /* @__PURE__ */ jsx259(
7976
8015
  Box,
7977
8016
  {
7978
8017
  hideBelow: hideBreakpoint ? hideBreakpoint : void 0,
7979
8018
  width: "fit-content",
7980
- children: /* @__PURE__ */ jsx258(
8019
+ children: /* @__PURE__ */ jsx259(
7981
8020
  "img",
7982
8021
  {
7983
8022
  height: 80,
@@ -7992,36 +8031,36 @@ var FooterLogo = ({ hideBreakpoint, ...rest }) => {
7992
8031
  };
7993
8032
 
7994
8033
  // src/components/Footer/FooterList.tsx
7995
- import { jsx as jsx259 } from "react/jsx-runtime";
7996
- var FooterList = ({ className, ...rest }) => /* @__PURE__ */ jsx259(StylelessList, { className: cn(className, Footer_default.list), ...rest });
8034
+ import { jsx as jsx260 } from "react/jsx-runtime";
8035
+ var FooterList = ({ className, ...rest }) => /* @__PURE__ */ jsx260(StylelessList, { className: cn(className, Footer_default.list), ...rest });
7997
8036
 
7998
8037
  // src/components/Footer/FooterSocialsList.tsx
7999
- import { jsx as jsx260 } from "react/jsx-runtime";
8038
+ import { jsx as jsx261 } from "react/jsx-runtime";
8000
8039
  var FooterSocialsList = ({
8001
8040
  className,
8002
8041
  ...rest
8003
- }) => /* @__PURE__ */ jsx260(StylelessList, { className: cn(className, Footer_default["socials-list"]), ...rest });
8042
+ }) => /* @__PURE__ */ jsx261(StylelessList, { className: cn(className, Footer_default["socials-list"]), ...rest });
8004
8043
 
8005
8044
  // src/components/Footer/FooterSocialsGroup.tsx
8006
- import { jsx as jsx261 } from "react/jsx-runtime";
8045
+ import { jsx as jsx262 } from "react/jsx-runtime";
8007
8046
  var FooterSocialsGroup = ({
8008
8047
  className,
8009
8048
  ...rest
8010
- }) => /* @__PURE__ */ jsx261("div", { className: cn(className, Footer_default["socials-group"]), ...rest });
8049
+ }) => /* @__PURE__ */ jsx262("div", { className: cn(className, Footer_default["socials-group"]), ...rest });
8011
8050
 
8012
8051
  // src/components/Footer/FooterListGroup.tsx
8013
- import { jsx as jsx262 } from "react/jsx-runtime";
8052
+ import { jsx as jsx263 } from "react/jsx-runtime";
8014
8053
  var FooterListGroup = ({
8015
8054
  className,
8016
8055
  ...rest
8017
- }) => /* @__PURE__ */ jsx262("div", { className: cn(className, Footer_default["list-group"]), ...rest });
8056
+ }) => /* @__PURE__ */ jsx263("div", { className: cn(className, Footer_default["list-group"]), ...rest });
8018
8057
 
8019
8058
  // src/components/Footer/FooterLeft.tsx
8020
- import { jsx as jsx263 } from "react/jsx-runtime";
8021
- var FooterLeft = ({ className, ...rest }) => /* @__PURE__ */ jsx263("div", { className: cn(className, Footer_default["left"]), ...rest });
8059
+ import { jsx as jsx264 } from "react/jsx-runtime";
8060
+ var FooterLeft = ({ className, ...rest }) => /* @__PURE__ */ jsx264("div", { className: cn(className, Footer_default["left"]), ...rest });
8022
8061
 
8023
8062
  // src/components/GlobalMessage/GlobalMessage.tsx
8024
- import { useState as useState16 } from "react";
8063
+ import { useState as useState17 } from "react";
8025
8064
 
8026
8065
  // src/components/GlobalMessage/GlobalMessage.module.css
8027
8066
  var GlobalMessage_default = {
@@ -8035,7 +8074,7 @@ var GlobalMessage_default = {
8035
8074
  };
8036
8075
 
8037
8076
  // src/components/GlobalMessage/GlobalMessage.tsx
8038
- import { jsx as jsx264, jsxs as jsxs60 } from "react/jsx-runtime";
8077
+ import { jsx as jsx265, jsxs as jsxs60 } from "react/jsx-runtime";
8039
8078
  var icons = {
8040
8079
  info: InfoIcon,
8041
8080
  danger: ErrorIcon,
@@ -8052,7 +8091,7 @@ var GlobalMessage = ({
8052
8091
  htmlProps,
8053
8092
  ...rest
8054
8093
  }) => {
8055
- const [isClosed, setClosed] = useState16(false);
8094
+ const [isClosed, setClosed] = useState17(false);
8056
8095
  return !isClosed ? /* @__PURE__ */ jsxs60(
8057
8096
  "div",
8058
8097
  {
@@ -8073,12 +8112,12 @@ var GlobalMessage = ({
8073
8112
  {
8074
8113
  className: cn(GlobalMessage_default.content, closable && GlobalMessage_default["content--closable"]),
8075
8114
  children: [
8076
- /* @__PURE__ */ jsx264(Icon, { icon: icons[purpose], className: GlobalMessage_default.icon }),
8077
- children != null ? children : /* @__PURE__ */ jsx264("span", { children: message })
8115
+ /* @__PURE__ */ jsx265(Icon, { icon: icons[purpose], className: GlobalMessage_default.icon }),
8116
+ children != null ? children : /* @__PURE__ */ jsx265("span", { children: message })
8078
8117
  ]
8079
8118
  }
8080
8119
  ),
8081
- closable && /* @__PURE__ */ jsx264(
8120
+ closable && /* @__PURE__ */ jsx265(
8082
8121
  Button,
8083
8122
  {
8084
8123
  icon: CloseIcon,
@@ -8103,14 +8142,12 @@ var InlineButton_default = {
8103
8142
  };
8104
8143
 
8105
8144
  // src/components/InlineButton/InlineButton.tsx
8106
- import { jsx as jsx265 } from "react/jsx-runtime";
8107
- var InlineButton = ({ className, ...rest }) => /* @__PURE__ */ jsx265(
8108
- "button",
8145
+ import { jsx as jsx266 } from "react/jsx-runtime";
8146
+ var InlineButton = ({ className, ...rest }) => /* @__PURE__ */ jsx266(
8147
+ StylelessButton,
8109
8148
  {
8110
8149
  className: cn(
8111
8150
  className,
8112
- utilStyles_default["normalize-button"],
8113
- utilStyles_default["remove-button-styling"],
8114
8151
  focus_default.focusable,
8115
8152
  typographyStyles_default.a,
8116
8153
  InlineButton_default.button
@@ -8126,9 +8163,9 @@ import { useRef as useRef25 } from "react";
8126
8163
  import {
8127
8164
  createContext as createContext11,
8128
8165
  useContext as useContext15,
8129
- useState as useState17
8166
+ useState as useState18
8130
8167
  } from "react";
8131
- import { jsx as jsx266 } from "react/jsx-runtime";
8168
+ import { jsx as jsx267 } from "react/jsx-runtime";
8132
8169
  var InlineEditContext = createContext11(
8133
8170
  {}
8134
8171
  );
@@ -8144,8 +8181,8 @@ var InlineEditContextProvider = (props) => {
8144
8181
  inputRef,
8145
8182
  children
8146
8183
  } = props;
8147
- const [editingValue, setEditingValue] = useState17(value != null ? value : "");
8148
- const [isEditing, setIsEditing] = useState17(false);
8184
+ const [editingValue, setEditingValue] = useState18(value != null ? value : "");
8185
+ const [isEditing, setIsEditing] = useState18(false);
8149
8186
  const onChangeHandler = (e) => {
8150
8187
  setEditingValue(e.target.value);
8151
8188
  onChange == null ? void 0 : onChange(e);
@@ -8172,7 +8209,7 @@ var InlineEditContextProvider = (props) => {
8172
8209
  useOnKeyDown(["Enter"], () => onExitHandler());
8173
8210
  useOnKeyDown(["Escape"], () => onExitHandler());
8174
8211
  useOnClickOutside(inputRef == null ? void 0 : inputRef.current, () => onExitHandler());
8175
- return /* @__PURE__ */ jsx266(
8212
+ return /* @__PURE__ */ jsx267(
8176
8213
  InlineEditContext,
8177
8214
  {
8178
8215
  value: {
@@ -8209,7 +8246,7 @@ var inlineEditVisuallyHidden = (id, emptiable) => /* @__PURE__ */ jsxs61(Visuall
8209
8246
  ] });
8210
8247
 
8211
8248
  // src/components/InlineEdit/InlineTextArea.tsx
8212
- import { jsx as jsx267, jsxs as jsxs62 } from "react/jsx-runtime";
8249
+ import { jsx as jsx268, jsxs as jsxs62 } from "react/jsx-runtime";
8213
8250
  var InlineTextArea = ({
8214
8251
  id,
8215
8252
  error,
@@ -8232,7 +8269,7 @@ var InlineTextArea = ({
8232
8269
  const combinedRef = useCombinedRef(ref, inputRef);
8233
8270
  return /* @__PURE__ */ jsxs62(Box, { position: "relative", width, children: [
8234
8271
  /* @__PURE__ */ jsxs62("div", { className: Input_default["input-group"], children: [
8235
- !isEditing && !hideIcon && /* @__PURE__ */ jsx267(
8272
+ !isEditing && !hideIcon && /* @__PURE__ */ jsx268(
8236
8273
  "span",
8237
8274
  {
8238
8275
  onClick: () => {
@@ -8240,10 +8277,10 @@ var InlineTextArea = ({
8240
8277
  (_a = inputRef.current) == null ? void 0 : _a.focus();
8241
8278
  },
8242
8279
  className: InlineEdit_default["icon-wrapper"],
8243
- children: /* @__PURE__ */ jsx267(Icon, { icon: EditIcon, iconSize: "small" })
8280
+ children: /* @__PURE__ */ jsx268(Icon, { icon: EditIcon, iconSize: "small" })
8244
8281
  }
8245
8282
  ),
8246
- /* @__PURE__ */ jsx267(
8283
+ /* @__PURE__ */ jsx268(
8247
8284
  "textarea",
8248
8285
  {
8249
8286
  ...rest,
@@ -8278,7 +8315,7 @@ var InlineTextArea = ({
8278
8315
  InlineTextArea.displayName = "InlineTextArea";
8279
8316
 
8280
8317
  // src/components/InlineEdit/InlineEditTextArea.tsx
8281
- import { jsx as jsx268 } from "react/jsx-runtime";
8318
+ import { jsx as jsx269 } from "react/jsx-runtime";
8282
8319
  var InlineEditTextArea = ({
8283
8320
  onSetValue,
8284
8321
  emptiable,
@@ -8291,7 +8328,7 @@ var InlineEditTextArea = ({
8291
8328
  }) => {
8292
8329
  const textareaRef = useRef25(null);
8293
8330
  const combinedRef = useCombinedRef(ref, textareaRef);
8294
- return /* @__PURE__ */ jsx268(
8331
+ return /* @__PURE__ */ jsx269(
8295
8332
  InlineEditContextProvider,
8296
8333
  {
8297
8334
  onSetValue,
@@ -8301,7 +8338,7 @@ var InlineEditTextArea = ({
8301
8338
  onFocus,
8302
8339
  onChange,
8303
8340
  onBlur,
8304
- children: /* @__PURE__ */ jsx268(InlineTextArea, { ref: combinedRef, ...rest })
8341
+ children: /* @__PURE__ */ jsx269(InlineTextArea, { ref: combinedRef, ...rest })
8305
8342
  }
8306
8343
  );
8307
8344
  };
@@ -8311,7 +8348,7 @@ import { useRef as useRef27 } from "react";
8311
8348
 
8312
8349
  // src/components/InlineEdit/InlineInput.tsx
8313
8350
  import { useId as useId16, useRef as useRef26 } from "react";
8314
- import { jsx as jsx269, jsxs as jsxs63 } from "react/jsx-runtime";
8351
+ import { jsx as jsx270, jsxs as jsxs63 } from "react/jsx-runtime";
8315
8352
  var InlineInput = ({
8316
8353
  id,
8317
8354
  error,
@@ -8334,7 +8371,7 @@ var InlineInput = ({
8334
8371
  const combinedRef = useCombinedRef(ref, inputRef);
8335
8372
  return /* @__PURE__ */ jsxs63(Box, { position: "relative", width, children: [
8336
8373
  /* @__PURE__ */ jsxs63("div", { className: Input_default["input-group"], children: [
8337
- !isEditing && !hideIcon && /* @__PURE__ */ jsx269(
8374
+ !isEditing && !hideIcon && /* @__PURE__ */ jsx270(
8338
8375
  "span",
8339
8376
  {
8340
8377
  onClick: () => {
@@ -8342,10 +8379,10 @@ var InlineInput = ({
8342
8379
  (_a = inputRef.current) == null ? void 0 : _a.focus();
8343
8380
  },
8344
8381
  className: InlineEdit_default["icon-wrapper"],
8345
- children: /* @__PURE__ */ jsx269(Icon, { icon: EditIcon, iconSize: "small" })
8382
+ children: /* @__PURE__ */ jsx270(Icon, { icon: EditIcon, iconSize: "small" })
8346
8383
  }
8347
8384
  ),
8348
- /* @__PURE__ */ jsx269(
8385
+ /* @__PURE__ */ jsx270(
8349
8386
  "input",
8350
8387
  {
8351
8388
  ...rest,
@@ -8378,7 +8415,7 @@ var InlineInput = ({
8378
8415
  InlineInput.displayName = "InlineInput";
8379
8416
 
8380
8417
  // src/components/InlineEdit/InlineEditInput.tsx
8381
- import { jsx as jsx270 } from "react/jsx-runtime";
8418
+ import { jsx as jsx271 } from "react/jsx-runtime";
8382
8419
  var InlineEditInput = ({
8383
8420
  onSetValue,
8384
8421
  emptiable,
@@ -8391,7 +8428,7 @@ var InlineEditInput = ({
8391
8428
  }) => {
8392
8429
  const inputRef = useRef27(null);
8393
8430
  const combinedRef = useCombinedRef(ref, inputRef);
8394
- return /* @__PURE__ */ jsx270(
8431
+ return /* @__PURE__ */ jsx271(
8395
8432
  InlineEditContextProvider,
8396
8433
  {
8397
8434
  onSetValue,
@@ -8401,13 +8438,13 @@ var InlineEditInput = ({
8401
8438
  onFocus,
8402
8439
  onChange,
8403
8440
  onBlur,
8404
- children: /* @__PURE__ */ jsx270(InlineInput, { ...rest, ref: combinedRef })
8441
+ children: /* @__PURE__ */ jsx271(InlineInput, { ...rest, ref: combinedRef })
8405
8442
  }
8406
8443
  );
8407
8444
  };
8408
8445
 
8409
8446
  // src/components/InternalHeader/InternalHeader.tsx
8410
- import { useState as useState18 } from "react";
8447
+ import { useState as useState19 } from "react";
8411
8448
 
8412
8449
  // src/components/InternalHeader/InternalHeader.module.css
8413
8450
  var InternalHeader_default = {
@@ -8423,8 +8460,8 @@ var InternalHeader_default = {
8423
8460
  };
8424
8461
 
8425
8462
  // src/components/InternalHeader/NavigationItem.tsx
8426
- import { jsx as jsx271 } from "react/jsx-runtime";
8427
- var NavigationItem = ({ isCurrent, ...rest }) => /* @__PURE__ */ jsx271(
8463
+ import { jsx as jsx272 } from "react/jsx-runtime";
8464
+ var NavigationItem = ({ isCurrent, ...rest }) => /* @__PURE__ */ jsx272(
8428
8465
  "a",
8429
8466
  {
8430
8467
  ...rest,
@@ -8439,7 +8476,7 @@ var NavigationItem = ({ isCurrent, ...rest }) => /* @__PURE__ */ jsx271(
8439
8476
  );
8440
8477
 
8441
8478
  // src/components/InternalHeader/InternalHeader.tsx
8442
- import { jsx as jsx272, jsxs as jsxs64 } from "react/jsx-runtime";
8479
+ import { jsx as jsx273, jsxs as jsxs64 } from "react/jsx-runtime";
8443
8480
  var InternalHeader = (props) => {
8444
8481
  const {
8445
8482
  applicationDesc,
@@ -8456,7 +8493,7 @@ var InternalHeader = (props) => {
8456
8493
  htmlProps,
8457
8494
  ...rest
8458
8495
  } = props;
8459
- const [currentPage, setCurrentPage] = useState18(
8496
+ const [currentPage, setCurrentPage] = useState19(
8460
8497
  currentPageHref
8461
8498
  );
8462
8499
  const handleCurrentPageChange = (href) => {
@@ -8467,7 +8504,7 @@ var InternalHeader = (props) => {
8467
8504
  const hasContextMenuElements = !!contextMenuItems && contextMenuItems.length > 0;
8468
8505
  const hasSmallScreenBreakpoint = !!smallScreenBreakpoint;
8469
8506
  const hasNavInContextMenu = hasSmallScreenBreakpoint && hasNavigationElements;
8470
- const navigation = hasNavigationElements ? /* @__PURE__ */ jsx272("nav", { "aria-label": "sidenavigasjon", children: /* @__PURE__ */ jsx272(
8507
+ const navigation = hasNavigationElements ? /* @__PURE__ */ jsx273("nav", { "aria-label": "sidenavigasjon", children: /* @__PURE__ */ jsx273(
8471
8508
  ShowHide,
8472
8509
  {
8473
8510
  as: StylelessList,
@@ -8476,7 +8513,7 @@ var InternalHeader = (props) => {
8476
8513
  children: navItems.map((item, index) => {
8477
8514
  const { href, ...rest2 } = item;
8478
8515
  const isCurrent = href === currentPage;
8479
- return /* @__PURE__ */ jsx272("li", { className: InternalHeader_default["nav-list__item"], children: /* @__PURE__ */ jsx272(
8516
+ return /* @__PURE__ */ jsx273("li", { className: InternalHeader_default["nav-list__item"], children: /* @__PURE__ */ jsx273(
8480
8517
  NavigationItem,
8481
8518
  {
8482
8519
  href,
@@ -8508,7 +8545,7 @@ var InternalHeader = (props) => {
8508
8545
  rest
8509
8546
  ),
8510
8547
  children: [
8511
- /* @__PURE__ */ jsx272(Typography, { typographyType: "headingSmall", bold: true, as: "span", children: applicationHref ? /* @__PURE__ */ jsx272(
8548
+ /* @__PURE__ */ jsx273(Typography, { typographyType: "headingSmall", bold: true, as: "span", children: applicationHref ? /* @__PURE__ */ jsx273(
8512
8549
  "a",
8513
8550
  {
8514
8551
  href: applicationHref,
@@ -8517,16 +8554,16 @@ var InternalHeader = (props) => {
8517
8554
  children: applicationName
8518
8555
  }
8519
8556
  ) : applicationName }),
8520
- /* @__PURE__ */ jsx272(Typography, { typographyType: "bodyMedium", as: "span", children: applicationDesc }),
8521
- (hasContextMenu || navigation !== null) && /* @__PURE__ */ jsx272("div", { className: InternalHeader_default["bar-separator"] }),
8557
+ /* @__PURE__ */ jsx273(Typography, { typographyType: "bodyMedium", as: "span", children: applicationDesc }),
8558
+ (hasContextMenu || navigation !== null) && /* @__PURE__ */ jsx273("div", { className: InternalHeader_default["bar-separator"] }),
8522
8559
  navigation,
8523
- hasContextMenu && /* @__PURE__ */ jsx272(
8560
+ hasContextMenu && /* @__PURE__ */ jsx273(
8524
8561
  ShowHide,
8525
8562
  {
8526
8563
  showBelow: !hasContextMenuLargeScreen && hasSmallScreenBreakpoint ? smallScreenBreakpoint : void 0,
8527
8564
  className: cn(InternalHeader_default["context-menu-group"]),
8528
8565
  children: /* @__PURE__ */ jsxs64(OverflowMenuGroup, { children: [
8529
- /* @__PURE__ */ jsx272(
8566
+ /* @__PURE__ */ jsx273(
8530
8567
  Button,
8531
8568
  {
8532
8569
  icon: hasNavInContextMenu ? MenuIcon : MoreVerticalIcon,
@@ -8535,25 +8572,25 @@ var InternalHeader = (props) => {
8535
8572
  }
8536
8573
  ),
8537
8574
  /* @__PURE__ */ jsxs64(OverflowMenu, { className: InternalHeader_default["context-menu"], children: [
8538
- user && /* @__PURE__ */ jsx272(OverflowMenuList, { children: user.href ? /* @__PURE__ */ jsx272(OverflowMenuLink, { icon: PersonIcon, ...user }) : /* @__PURE__ */ jsx272(OverflowMenuSpan, { icon: PersonIcon, ...user }) }),
8539
- hasNavInContextMenu && /* @__PURE__ */ jsx272(
8575
+ user && /* @__PURE__ */ jsx273(OverflowMenuList, { children: user.href ? /* @__PURE__ */ jsx273(OverflowMenuLink, { icon: PersonIcon, ...user }) : /* @__PURE__ */ jsx273(OverflowMenuSpan, { icon: PersonIcon, ...user }) }),
8576
+ hasNavInContextMenu && /* @__PURE__ */ jsx273(
8540
8577
  ShowHide,
8541
8578
  {
8542
8579
  as: "nav",
8543
8580
  "aria-label": "sidenavigasjon",
8544
8581
  showBelow: smallScreenBreakpoint,
8545
- children: /* @__PURE__ */ jsx272(OverflowMenuList, { children: navItems.map((item) => /* @__PURE__ */ jsx272(OverflowMenuLink, { ...item })) })
8582
+ children: /* @__PURE__ */ jsx273(OverflowMenuList, { children: navItems.map((item) => /* @__PURE__ */ jsx273(OverflowMenuLink, { ...item })) })
8546
8583
  }
8547
8584
  ),
8548
- hasNavInContextMenu && hasContextMenuElements && /* @__PURE__ */ jsx272(
8585
+ hasNavInContextMenu && hasContextMenuElements && /* @__PURE__ */ jsx273(
8549
8586
  ShowHide,
8550
8587
  {
8551
8588
  as: OverflowMenuDivider,
8552
8589
  showBelow: smallScreenBreakpoint
8553
8590
  }
8554
8591
  ),
8555
- hasContextMenuElements && /* @__PURE__ */ jsx272(OverflowMenuList, { children: contextMenuItems.map((item) => {
8556
- return item.href ? /* @__PURE__ */ jsx272(OverflowMenuLink, { ...item }) : /* @__PURE__ */ jsx272(
8592
+ hasContextMenuElements && /* @__PURE__ */ jsx273(OverflowMenuList, { children: contextMenuItems.map((item) => {
8593
+ return item.href ? /* @__PURE__ */ jsx273(OverflowMenuLink, { ...item }) : /* @__PURE__ */ jsx273(
8557
8594
  OverflowMenuButton,
8558
8595
  {
8559
8596
  ...item
@@ -8580,7 +8617,7 @@ var List_default = {
8580
8617
  };
8581
8618
 
8582
8619
  // src/components/List/List.tsx
8583
- import { jsx as jsx273 } from "react/jsx-runtime";
8620
+ import { jsx as jsx274 } from "react/jsx-runtime";
8584
8621
  var List = ({
8585
8622
  listType = "unordered",
8586
8623
  typographyType = "inherit",
@@ -8591,7 +8628,7 @@ var List = ({
8591
8628
  ...rest
8592
8629
  }) => {
8593
8630
  const List2 = listType === "ordered" ? "ol" : "ul";
8594
- return /* @__PURE__ */ jsx273(
8631
+ return /* @__PURE__ */ jsx274(
8595
8632
  List2,
8596
8633
  {
8597
8634
  ...getBaseHTMLProps(id, className, htmlProps, rest),
@@ -8607,12 +8644,12 @@ var List = ({
8607
8644
  List.displayName = "List";
8608
8645
 
8609
8646
  // src/components/List/ListItem.tsx
8610
- import { jsx as jsx274 } from "react/jsx-runtime";
8611
- var ListItem = ({ className, ...rest }) => /* @__PURE__ */ jsx274("li", { ...rest, className: cn(className, List_default.li) });
8647
+ import { jsx as jsx275 } from "react/jsx-runtime";
8648
+ var ListItem = ({ className, ...rest }) => /* @__PURE__ */ jsx275("li", { ...rest, className: cn(className, List_default.li) });
8612
8649
  ListItem.displayName = "ListItem";
8613
8650
 
8614
8651
  // src/components/LocalMessage/LocalMessage.tsx
8615
- import { useState as useState19 } from "react";
8652
+ import { useState as useState20 } from "react";
8616
8653
 
8617
8654
  // src/components/LocalMessage/LocalMessage.module.css
8618
8655
  var LocalMessage_default = {
@@ -8633,7 +8670,7 @@ var LocalMessage_default = {
8633
8670
  };
8634
8671
 
8635
8672
  // src/components/LocalMessage/LocalMessage.tsx
8636
- import { Fragment as Fragment6, jsx as jsx275, jsxs as jsxs65 } from "react/jsx-runtime";
8673
+ import { Fragment as Fragment6, jsx as jsx276, jsxs as jsxs65 } from "react/jsx-runtime";
8637
8674
  var icons2 = {
8638
8675
  info: InfoIcon,
8639
8676
  danger: ErrorIcon,
@@ -8654,9 +8691,9 @@ var LocalMessage = ({
8654
8691
  htmlProps,
8655
8692
  ...rest
8656
8693
  }) => {
8657
- const [isClosed, setClosed] = useState19(false);
8694
+ const [isClosed, setClosed] = useState20(false);
8658
8695
  if (isClosed) {
8659
- return /* @__PURE__ */ jsx275(Fragment6, {});
8696
+ return /* @__PURE__ */ jsx276(Fragment6, {});
8660
8697
  }
8661
8698
  return /* @__PURE__ */ jsxs65(
8662
8699
  Box,
@@ -8679,15 +8716,15 @@ var LocalMessage = ({
8679
8716
  padding: "x0.75 x0.75 x0.75 x0.5",
8680
8717
  gap: "x0.5",
8681
8718
  children: [
8682
- /* @__PURE__ */ jsx275(
8719
+ /* @__PURE__ */ jsx276(
8683
8720
  Icon,
8684
8721
  {
8685
8722
  icon: icons2[purpose],
8686
8723
  className: cn(LocalMessage_default.icon, LocalMessage_default.container__icon)
8687
8724
  }
8688
8725
  ),
8689
- /* @__PURE__ */ jsx275("div", { className: LocalMessage_default.container__text, children: children != null ? children : /* @__PURE__ */ jsx275("span", { children: message }) }),
8690
- closable && /* @__PURE__ */ jsx275(
8726
+ /* @__PURE__ */ jsx276("div", { className: LocalMessage_default.container__text, children: children != null ? children : /* @__PURE__ */ jsx276("span", { children: message }) }),
8727
+ closable && /* @__PURE__ */ jsx276(
8691
8728
  Button,
8692
8729
  {
8693
8730
  icon: CloseIcon,
@@ -8727,7 +8764,7 @@ var Modal_default = {
8727
8764
  };
8728
8765
 
8729
8766
  // src/components/Modal/Modal.tsx
8730
- import { jsx as jsx276, jsxs as jsxs66 } from "react/jsx-runtime";
8767
+ import { jsx as jsx277, jsxs as jsxs66 } from "react/jsx-runtime";
8731
8768
  var Modal = ({
8732
8769
  isOpen = false,
8733
8770
  parentElement,
@@ -8777,7 +8814,7 @@ var Modal = ({
8777
8814
  useOnKeyDown(["Escape", "Esc"], () => handleClose());
8778
8815
  const hasTransitionedIn = useMountTransition(isOpen, 200);
8779
8816
  return (isOpen || hasTransitionedIn) && portalTarget ? createPortal3(
8780
- /* @__PURE__ */ jsx276(
8817
+ /* @__PURE__ */ jsx277(
8781
8818
  Backdrop,
8782
8819
  {
8783
8820
  zIndex: "modal",
@@ -8821,8 +8858,8 @@ var Modal = ({
8821
8858
  width: "100%",
8822
8859
  className: Modal_default["header-container"],
8823
8860
  children: [
8824
- !!header && /* @__PURE__ */ jsx276("div", { id: headerId, children: typeof header === "string" ? /* @__PURE__ */ jsx276(Heading, { level: 2, typographyType: "headingLarge", children: header }) : header }),
8825
- onClose && /* @__PURE__ */ jsx276(
8861
+ !!header && /* @__PURE__ */ jsx277("div", { id: headerId, children: typeof header === "string" ? /* @__PURE__ */ jsx277(Heading, { level: 2, typographyType: "headingLarge", children: header }) : header }),
8862
+ onClose && /* @__PURE__ */ jsx277(
8826
8863
  Button,
8827
8864
  {
8828
8865
  size: "small",
@@ -8836,7 +8873,7 @@ var Modal = ({
8836
8873
  ]
8837
8874
  }
8838
8875
  ),
8839
- /* @__PURE__ */ jsx276(Box, { display: "grid", gap: "x1", children })
8876
+ /* @__PURE__ */ jsx277(Box, { display: "grid", gap: "x1", children })
8840
8877
  ]
8841
8878
  }
8842
8879
  )
@@ -8848,7 +8885,7 @@ var Modal = ({
8848
8885
  Modal.displayName = "Modal";
8849
8886
 
8850
8887
  // src/components/Modal/ModalBody.tsx
8851
- import { jsx as jsx277 } from "react/jsx-runtime";
8888
+ import { jsx as jsx278 } from "react/jsx-runtime";
8852
8889
  var ModalBody = ({
8853
8890
  children,
8854
8891
  id,
@@ -8858,7 +8895,7 @@ var ModalBody = ({
8858
8895
  height,
8859
8896
  ...rest
8860
8897
  }) => {
8861
- return /* @__PURE__ */ jsx277(
8898
+ return /* @__PURE__ */ jsx278(
8862
8899
  "div",
8863
8900
  {
8864
8901
  ...getBaseHTMLProps(
@@ -8880,12 +8917,12 @@ var ModalBody = ({
8880
8917
  ModalBody.displayName = "ModalBody";
8881
8918
 
8882
8919
  // src/components/Modal/ModalActions.tsx
8883
- import { jsx as jsx278 } from "react/jsx-runtime";
8884
- var ModalActions = (props) => /* @__PURE__ */ jsx278(Box, { display: "flex", flexWrap: "wrap", gap: "x1", ...props });
8920
+ import { jsx as jsx279 } from "react/jsx-runtime";
8921
+ var ModalActions = (props) => /* @__PURE__ */ jsx279(Box, { display: "flex", flexWrap: "wrap", gap: "x1", ...props });
8885
8922
  ModalActions.displayName = "ModalActions";
8886
8923
 
8887
8924
  // src/components/Pagination/Pagination.tsx
8888
- import { useState as useState20 } from "react";
8925
+ import { useState as useState21 } from "react";
8889
8926
 
8890
8927
  // src/components/Pagination/Pagination.module.css
8891
8928
  var Pagination_default = {
@@ -9218,7 +9255,7 @@ var getCustomStyles = (size2, hasError, hasIcon, isReadOnly) => ({
9218
9255
  import {
9219
9256
  components
9220
9257
  } from "react-select";
9221
- import { jsx as jsx279, jsxs as jsxs67 } from "react/jsx-runtime";
9258
+ import { jsx as jsx280, jsxs as jsxs67 } from "react/jsx-runtime";
9222
9259
  var {
9223
9260
  Option,
9224
9261
  NoOptionsMessage,
@@ -9240,26 +9277,26 @@ var getIndicatorIconSize = (componentSize) => {
9240
9277
  }
9241
9278
  };
9242
9279
  var DDSOption = (props, componentSize) => /* @__PURE__ */ jsxs67(Option, { ...props, children: [
9243
- props.isSelected && /* @__PURE__ */ jsx279(Icon, { icon: CheckIcon, iconSize: getFormInputIconSize(componentSize) }),
9280
+ props.isSelected && /* @__PURE__ */ jsx280(Icon, { icon: CheckIcon, iconSize: getFormInputIconSize(componentSize) }),
9244
9281
  props.children
9245
9282
  ] });
9246
- var CustomOption = (props, Element) => /* @__PURE__ */ jsx279(Option, { ...props, children: /* @__PURE__ */ jsx279(Element, { ...props }) });
9247
- var CustomSingleValue = (props, id, Element) => /* @__PURE__ */ jsx279(SingleValue, { ...props, children: /* @__PURE__ */ jsx279("div", { id, className: Select_default["inner-single-value"], children: Element ? /* @__PURE__ */ jsx279(Element, { ...props }) : props.children }) });
9248
- var DDSNoOptionsMessage = (props) => /* @__PURE__ */ jsx279(NoOptionsMessage, { ...props, children: "Ingen treff" });
9249
- var DDSClearIndicator = (props, size2) => /* @__PURE__ */ jsx279(ClearIndicator, { ...props, children: /* @__PURE__ */ jsx279(Icon, { icon: CloseSmallIcon, iconSize: getIndicatorIconSize(size2) }) });
9250
- var DDSMultiValueRemove = (props) => /* @__PURE__ */ jsx279(MultiValueRemove, { ...props, children: /* @__PURE__ */ jsx279(Icon, { icon: CloseSmallIcon, iconSize: "small" }) });
9283
+ var CustomOption = (props, Element) => /* @__PURE__ */ jsx280(Option, { ...props, children: /* @__PURE__ */ jsx280(Element, { ...props }) });
9284
+ var CustomSingleValue = (props, id, Element) => /* @__PURE__ */ jsx280(SingleValue, { ...props, children: /* @__PURE__ */ jsx280("div", { id, className: Select_default["inner-single-value"], children: Element ? /* @__PURE__ */ jsx280(Element, { ...props }) : props.children }) });
9285
+ var DDSNoOptionsMessage = (props) => /* @__PURE__ */ jsx280(NoOptionsMessage, { ...props, children: "Ingen treff" });
9286
+ var DDSClearIndicator = (props, size2) => /* @__PURE__ */ jsx280(ClearIndicator, { ...props, children: /* @__PURE__ */ jsx280(Icon, { icon: CloseSmallIcon, iconSize: getIndicatorIconSize(size2) }) });
9287
+ var DDSMultiValueRemove = (props) => /* @__PURE__ */ jsx280(MultiValueRemove, { ...props, children: /* @__PURE__ */ jsx280(Icon, { icon: CloseSmallIcon, iconSize: "small" }) });
9251
9288
  var DDSDropdownIndicator = (props, size2) => {
9252
9289
  const { className, ...rest } = props;
9253
- return /* @__PURE__ */ jsx279(
9290
+ return /* @__PURE__ */ jsx280(
9254
9291
  DropdownIndicator,
9255
9292
  {
9256
9293
  ...rest,
9257
9294
  className: cn(className, Select_default["dropdown-indicator"]),
9258
- children: /* @__PURE__ */ jsx279(Icon, { icon: ChevronDownIcon, iconSize: getIndicatorIconSize(size2) })
9295
+ children: /* @__PURE__ */ jsx280(Icon, { icon: ChevronDownIcon, iconSize: getIndicatorIconSize(size2) })
9259
9296
  }
9260
9297
  );
9261
9298
  };
9262
- var DDSInput = (props, ariaInvalid, ariaDescribedby) => /* @__PURE__ */ jsx279(
9299
+ var DDSInput = (props, ariaInvalid, ariaDescribedby) => /* @__PURE__ */ jsx280(
9263
9300
  Input2,
9264
9301
  {
9265
9302
  ...props,
@@ -9269,7 +9306,7 @@ var DDSInput = (props, ariaInvalid, ariaDescribedby) => /* @__PURE__ */ jsx279(
9269
9306
  );
9270
9307
  var DDSControl = (props, componentSize, readOnly, icon, dataTestId) => {
9271
9308
  const { className, ...rest } = props;
9272
- return /* @__PURE__ */ jsx279("div", { "data-testid": dataTestId ? dataTestId + "-control" : void 0, children: /* @__PURE__ */ jsxs67(
9309
+ return /* @__PURE__ */ jsx280("div", { "data-testid": dataTestId ? dataTestId + "-control" : void 0, children: /* @__PURE__ */ jsxs67(
9273
9310
  Control,
9274
9311
  {
9275
9312
  ...rest,
@@ -9280,7 +9317,7 @@ var DDSControl = (props, componentSize, readOnly, icon, dataTestId) => {
9280
9317
  readOnly && Select_default["control--readonly"]
9281
9318
  ),
9282
9319
  children: [
9283
- icon && /* @__PURE__ */ jsx279(
9320
+ icon && /* @__PURE__ */ jsx280(
9284
9321
  Icon,
9285
9322
  {
9286
9323
  icon,
@@ -9298,7 +9335,7 @@ var DDSControl = (props, componentSize, readOnly, icon, dataTestId) => {
9298
9335
  };
9299
9336
 
9300
9337
  // src/components/Select/Select.tsx
9301
- import { jsx as jsx280, jsxs as jsxs68 } from "react/jsx-runtime";
9338
+ import { jsx as jsx281, jsxs as jsxs68 } from "react/jsx-runtime";
9302
9339
  function Select({
9303
9340
  id,
9304
9341
  label,
@@ -9411,7 +9448,7 @@ function Select({
9411
9448
  ),
9412
9449
  style,
9413
9450
  children: [
9414
- hasLabel && /* @__PURE__ */ jsx280(
9451
+ hasLabel && /* @__PURE__ */ jsx281(
9415
9452
  Label,
9416
9453
  {
9417
9454
  htmlFor: uniqueId,
@@ -9421,7 +9458,7 @@ function Select({
9421
9458
  children: label
9422
9459
  }
9423
9460
  ),
9424
- /* @__PURE__ */ jsx280(ReactSelect, { ...reactSelectProps, ref }),
9461
+ /* @__PURE__ */ jsx281(ReactSelect, { ...reactSelectProps, ref }),
9425
9462
  renderInputMessage(tip, tipId, errorMessage, errorMessageId)
9426
9463
  ]
9427
9464
  }
@@ -9444,7 +9481,7 @@ var NativeSelect_default = {
9444
9481
  };
9445
9482
 
9446
9483
  // src/components/Select/NativeSelect/NativeSelect.tsx
9447
- import { jsx as jsx281, jsxs as jsxs69 } from "react/jsx-runtime";
9484
+ import { jsx as jsx282, jsxs as jsxs69 } from "react/jsx-runtime";
9448
9485
  var NativeSelect = ({
9449
9486
  id,
9450
9487
  children,
@@ -9477,7 +9514,7 @@ var NativeSelect = ({
9477
9514
  componentSize === "xsmall" && "var(--dds-input-default-width-xsmall)"
9478
9515
  );
9479
9516
  return /* @__PURE__ */ jsxs69("div", { className, style, children: [
9480
- hasLabel && /* @__PURE__ */ jsx281(
9517
+ hasLabel && /* @__PURE__ */ jsx282(
9481
9518
  Label,
9482
9519
  {
9483
9520
  className: Input_default.label,
@@ -9488,7 +9525,7 @@ var NativeSelect = ({
9488
9525
  }
9489
9526
  ),
9490
9527
  /* @__PURE__ */ jsxs69(Box, { position: "relative", width: inputWidth, children: [
9491
- /* @__PURE__ */ jsx281(
9528
+ /* @__PURE__ */ jsx282(
9492
9529
  "select",
9493
9530
  {
9494
9531
  id: uniqueId,
@@ -9519,7 +9556,7 @@ var NativeSelect = ({
9519
9556
  children
9520
9557
  }
9521
9558
  ),
9522
- !multiple && /* @__PURE__ */ jsx281(
9559
+ !multiple && /* @__PURE__ */ jsx282(
9523
9560
  Icon,
9524
9561
  {
9525
9562
  icon: ChevronDownIcon,
@@ -9535,14 +9572,14 @@ var NativeSelectPlaceholder = ({
9535
9572
  children = "-- Velg fra listen --",
9536
9573
  value,
9537
9574
  ...rest
9538
- }) => /* @__PURE__ */ jsx281("option", { value: value != null ? value : "", selected: true, ...rest, children });
9575
+ }) => /* @__PURE__ */ jsx282("option", { value: value != null ? value : "", selected: true, ...rest, children });
9539
9576
  NativeSelectPlaceholder.displayName = "NativeSelectPlaceholder";
9540
9577
 
9541
9578
  // src/components/Select/utils.ts
9542
9579
  var createSelectOptions = (...args) => args.map((v) => ({ label: v, value: v }));
9543
9580
 
9544
9581
  // src/components/Pagination/Pagination.tsx
9545
- import { jsx as jsx282, jsxs as jsxs70 } from "react/jsx-runtime";
9582
+ import { jsx as jsx283, jsxs as jsxs70 } from "react/jsx-runtime";
9546
9583
  var Pagination = ({
9547
9584
  itemsAmount,
9548
9585
  defaultItemsPerPage = 10,
@@ -9565,8 +9602,8 @@ var Pagination = ({
9565
9602
  ref,
9566
9603
  ...rest
9567
9604
  }) => {
9568
- const [activePage, setActivePage] = useState20(defaultActivePage);
9569
- const [itemsPerPage, setItemsPerPage] = useState20(defaultItemsPerPage);
9605
+ const [activePage, setActivePage] = useState21(defaultActivePage);
9606
+ const [itemsPerPage, setItemsPerPage] = useState21(defaultItemsPerPage);
9570
9607
  const pagesLength = Math.ceil(itemsAmount / itemsPerPage);
9571
9608
  const items = PaginationGenerator(pagesLength, activePage);
9572
9609
  const onPageChange = (event, page) => {
@@ -9585,7 +9622,7 @@ var Pagination = ({
9585
9622
  };
9586
9623
  const listItems = items.length > 0 ? items.map((item, i) => {
9587
9624
  const isActive = item === activePage;
9588
- return /* @__PURE__ */ jsx282("li", { className: Pagination_default.list__item, children: item !== "truncator" && typeof item === "number" ? /* @__PURE__ */ jsx282(
9625
+ return /* @__PURE__ */ jsx283("li", { className: Pagination_default.list__item, children: item !== "truncator" && typeof item === "number" ? /* @__PURE__ */ jsx283(
9589
9626
  Button,
9590
9627
  {
9591
9628
  purpose: isActive ? "primary" : "secondary",
@@ -9596,7 +9633,7 @@ var Pagination = ({
9596
9633
  "aria-label": isActive ? `N\xE5v\xE6rende side (side ${item})` : `G\xE5 til side ${item}`,
9597
9634
  children: item
9598
9635
  }
9599
- ) : /* @__PURE__ */ jsx282(
9636
+ ) : /* @__PURE__ */ jsx283(
9600
9637
  Icon,
9601
9638
  {
9602
9639
  icon: MoreHorizontalIcon,
@@ -9604,7 +9641,7 @@ var Pagination = ({
9604
9641
  }
9605
9642
  ) }, `pagination-item-${i}`);
9606
9643
  }) : void 0;
9607
- const previousPageButton = /* @__PURE__ */ jsx282(
9644
+ const previousPageButton = /* @__PURE__ */ jsx283(
9608
9645
  Button,
9609
9646
  {
9610
9647
  purpose: "secondary",
@@ -9616,7 +9653,7 @@ var Pagination = ({
9616
9653
  "aria-label": "G\xE5 til forrige siden"
9617
9654
  }
9618
9655
  );
9619
- const nextPageButton = /* @__PURE__ */ jsx282(
9656
+ const nextPageButton = /* @__PURE__ */ jsx283(
9620
9657
  Button,
9621
9658
  {
9622
9659
  purpose: "secondary",
@@ -9649,7 +9686,7 @@ var Pagination = ({
9649
9686
  hideBelow: smallScreenBreakpoint,
9650
9687
  className: Pagination_default.list,
9651
9688
  children: [
9652
- /* @__PURE__ */ jsx282(
9689
+ /* @__PURE__ */ jsx283(
9653
9690
  "li",
9654
9691
  {
9655
9692
  className: cn(
@@ -9661,7 +9698,7 @@ var Pagination = ({
9661
9698
  }
9662
9699
  ),
9663
9700
  listItems,
9664
- /* @__PURE__ */ jsx282(
9701
+ /* @__PURE__ */ jsx283(
9665
9702
  "li",
9666
9703
  {
9667
9704
  className: cn(
@@ -9682,7 +9719,7 @@ var Pagination = ({
9682
9719
  showBelow: smallScreenBreakpoint,
9683
9720
  className: Pagination_default.list,
9684
9721
  children: [
9685
- /* @__PURE__ */ jsx282(
9722
+ /* @__PURE__ */ jsx283(
9686
9723
  "li",
9687
9724
  {
9688
9725
  className: cn(
@@ -9690,7 +9727,7 @@ var Pagination = ({
9690
9727
  isOnFirstPage && Pagination_default["list__item--hidden"]
9691
9728
  ),
9692
9729
  "aria-hidden": isOnFirstPage,
9693
- children: /* @__PURE__ */ jsx282(
9730
+ children: /* @__PURE__ */ jsx283(
9694
9731
  Button,
9695
9732
  {
9696
9733
  purpose: "secondary",
@@ -9704,7 +9741,7 @@ var Pagination = ({
9704
9741
  )
9705
9742
  }
9706
9743
  ),
9707
- /* @__PURE__ */ jsx282(
9744
+ /* @__PURE__ */ jsx283(
9708
9745
  "li",
9709
9746
  {
9710
9747
  className: cn(
@@ -9715,7 +9752,7 @@ var Pagination = ({
9715
9752
  children: previousPageButton
9716
9753
  }
9717
9754
  ),
9718
- /* @__PURE__ */ jsx282("li", { className: Pagination_default.list__item, children: /* @__PURE__ */ jsx282(
9755
+ /* @__PURE__ */ jsx283("li", { className: Pagination_default.list__item, children: /* @__PURE__ */ jsx283(
9719
9756
  Button,
9720
9757
  {
9721
9758
  size: "small",
@@ -9725,7 +9762,7 @@ var Pagination = ({
9725
9762
  children: activePage
9726
9763
  }
9727
9764
  ) }),
9728
- /* @__PURE__ */ jsx282(
9765
+ /* @__PURE__ */ jsx283(
9729
9766
  "li",
9730
9767
  {
9731
9768
  className: cn(
@@ -9736,7 +9773,7 @@ var Pagination = ({
9736
9773
  children: nextPageButton
9737
9774
  }
9738
9775
  ),
9739
- /* @__PURE__ */ jsx282(
9776
+ /* @__PURE__ */ jsx283(
9740
9777
  "li",
9741
9778
  {
9742
9779
  className: cn(
@@ -9744,7 +9781,7 @@ var Pagination = ({
9744
9781
  isOnLastPage && Pagination_default["list__item--hidden"]
9745
9782
  ),
9746
9783
  "aria-hidden": isOnLastPage,
9747
- children: /* @__PURE__ */ jsx282(
9784
+ children: /* @__PURE__ */ jsx283(
9748
9785
  Button,
9749
9786
  {
9750
9787
  purpose: "secondary",
@@ -9778,7 +9815,7 @@ var Pagination = ({
9778
9815
  ...getBaseHTMLProps(id, className, htmlProps, rest),
9779
9816
  children: [
9780
9817
  /* @__PURE__ */ jsxs70("div", { className: Pagination_default.indicators, children: [
9781
- withSelect && /* @__PURE__ */ jsx282(
9818
+ withSelect && /* @__PURE__ */ jsx283(
9782
9819
  Select,
9783
9820
  {
9784
9821
  options: selectOptions,
@@ -9816,7 +9853,7 @@ import {
9816
9853
  useId as useId20,
9817
9854
  useLayoutEffect as useLayoutEffect2,
9818
9855
  useRef as useRef29,
9819
- useState as useState21
9856
+ useState as useState22
9820
9857
  } from "react";
9821
9858
 
9822
9859
  // src/components/PhoneInput/constants.ts
@@ -10217,7 +10254,7 @@ var PhoneInput_default = {
10217
10254
  };
10218
10255
 
10219
10256
  // src/components/PhoneInput/PhoneInput.tsx
10220
- import { jsx as jsx283, jsxs as jsxs71 } from "react/jsx-runtime";
10257
+ import { jsx as jsx284, jsxs as jsxs71 } from "react/jsx-runtime";
10221
10258
  var prioritizedCountries = [
10222
10259
  COUNTRIES.NO,
10223
10260
  COUNTRIES.SE,
@@ -10286,16 +10323,16 @@ var PhoneInput = ({
10286
10323
  const hasMessage = hasErrorMessage || hasTip;
10287
10324
  const tipId = derivativeIdGenerator(phoneInputId, "tip");
10288
10325
  const errorMessageId = derivativeIdGenerator(phoneInputId, "errorMessage");
10289
- const [callingCode, setCallingCode] = useState21("");
10290
- const [selectedCountryCodeText, setSelectedCountryCodeText] = useState21("");
10291
- const [internalValue, setInternalValue] = useState21(
10326
+ const [callingCode, setCallingCode] = useState22("");
10327
+ const [selectedCountryCodeText, setSelectedCountryCodeText] = useState22("");
10328
+ const [internalValue, setInternalValue] = useState22(
10292
10329
  defaultValue != null ? defaultValue : {
10293
10330
  countryCode: "",
10294
10331
  phoneNumber: ""
10295
10332
  }
10296
10333
  );
10297
10334
  const isControlled = value !== void 0;
10298
- const [callingCodeWidth, setCallingCodeWidth] = useState21(0);
10335
+ const [callingCodeWidth, setCallingCodeWidth] = useState22(0);
10299
10336
  const callingCodeRef = useRef29(null);
10300
10337
  useLayoutEffect2(() => {
10301
10338
  if (callingCodeRef.current) {
@@ -10353,7 +10390,7 @@ var PhoneInput = ({
10353
10390
  const bp = props.smallScreenBreakpoint;
10354
10391
  const widthDefault = componentSize === "xsmall" && "var(--dds-input-default-width-xsmall)";
10355
10392
  return /* @__PURE__ */ jsxs71("div", { className: cn(className, Input_default.container), style, children: [
10356
- hasLabel && /* @__PURE__ */ jsx283(
10393
+ hasLabel && /* @__PURE__ */ jsx284(
10357
10394
  Label,
10358
10395
  {
10359
10396
  htmlFor: phoneNumberId,
@@ -10376,8 +10413,8 @@ var PhoneInput = ({
10376
10413
  role: "group",
10377
10414
  "aria-label": groupLabel,
10378
10415
  children: [
10379
- /* @__PURE__ */ jsx283("label", { className: utilStyles_default["visually-hidden"], htmlFor: selectId, children: selectLabel }),
10380
- /* @__PURE__ */ jsx283(
10416
+ /* @__PURE__ */ jsx284("label", { className: utilStyles_default["visually-hidden"], htmlFor: selectId, children: selectLabel }),
10417
+ /* @__PURE__ */ jsx284(
10381
10418
  NativeSelect,
10382
10419
  {
10383
10420
  width: applyResponsiveStyle(
@@ -10398,11 +10435,11 @@ var PhoneInput = ({
10398
10435
  hasTip ? tipId : void 0,
10399
10436
  ariaDescribedby
10400
10437
  ]),
10401
- children: countryOptions.map((item, index) => /* @__PURE__ */ jsx283("option", { value: item.countryCode, children: item.label }, index))
10438
+ children: countryOptions.map((item, index) => /* @__PURE__ */ jsx284("option", { value: item.countryCode, children: item.label }, index))
10402
10439
  }
10403
10440
  ),
10404
10441
  /* @__PURE__ */ jsxs71(Box, { width: "100%", className: Input_default["input-group"], children: [
10405
- /* @__PURE__ */ jsx283(
10442
+ /* @__PURE__ */ jsx284(
10406
10443
  "span",
10407
10444
  {
10408
10445
  className: cn(
@@ -10414,7 +10451,7 @@ var PhoneInput = ({
10414
10451
  children: callingCode
10415
10452
  }
10416
10453
  ),
10417
- /* @__PURE__ */ jsx283(
10454
+ /* @__PURE__ */ jsx284(
10418
10455
  Box,
10419
10456
  {
10420
10457
  as: StatefulInput,
@@ -10478,7 +10515,7 @@ var PopoverContext = createContext12({});
10478
10515
  var usePopoverContext = () => useContext18(PopoverContext);
10479
10516
 
10480
10517
  // src/components/Popover/Popover.tsx
10481
- import { jsx as jsx284, jsxs as jsxs72 } from "react/jsx-runtime";
10518
+ import { jsx as jsx285, jsxs as jsxs72 } from "react/jsx-runtime";
10482
10519
  var Popover = ({
10483
10520
  id,
10484
10521
  header,
@@ -10596,15 +10633,15 @@ var Popover = ({
10596
10633
  elevation: 3,
10597
10634
  border: "border-subtle",
10598
10635
  children: [
10599
- header && /* @__PURE__ */ jsx284("div", { className: Popover_default.header, children: typeof header === "string" ? /* @__PURE__ */ jsx284(Heading, { level: 2, typographyType: "headingMedium", children: header }) : header }),
10600
- /* @__PURE__ */ jsx284(
10636
+ header && /* @__PURE__ */ jsx285("div", { className: Popover_default.header, children: typeof header === "string" ? /* @__PURE__ */ jsx285(Heading, { level: 2, typographyType: "headingMedium", children: header }) : header }),
10637
+ /* @__PURE__ */ jsx285(
10601
10638
  "div",
10602
10639
  {
10603
10640
  className: !hasTitle && withCloseButton ? Popover_default["content--closable--no-header"] : "",
10604
10641
  children
10605
10642
  }
10606
10643
  ),
10607
- withCloseButton && /* @__PURE__ */ jsx284(
10644
+ withCloseButton && /* @__PURE__ */ jsx285(
10608
10645
  Button,
10609
10646
  {
10610
10647
  icon: CloseIcon,
@@ -10629,9 +10666,9 @@ import {
10629
10666
  isValidElement as isValidElement4,
10630
10667
  useId as useId22,
10631
10668
  useRef as useRef30,
10632
- useState as useState22
10669
+ useState as useState23
10633
10670
  } from "react";
10634
- import { jsx as jsx285 } from "react/jsx-runtime";
10671
+ import { jsx as jsx286 } from "react/jsx-runtime";
10635
10672
  var PopoverGroup = ({
10636
10673
  isOpen: propIsOpen,
10637
10674
  setIsOpen: propSetIsOpen,
@@ -10642,12 +10679,12 @@ var PopoverGroup = ({
10642
10679
  popoverId
10643
10680
  }) => {
10644
10681
  var _a;
10645
- const [internalIsOpen, internalSetIsOpen] = useState22(isInitiallyOpen);
10682
+ const [internalIsOpen, internalSetIsOpen] = useState23(isInitiallyOpen);
10646
10683
  const open = propIsOpen != null ? propIsOpen : internalIsOpen;
10647
10684
  const setOpen = propSetIsOpen != null ? propSetIsOpen : internalSetIsOpen;
10648
10685
  const generatedId = useId22();
10649
10686
  const uniquePopoverId = popoverId != null ? popoverId : `${generatedId}-popover`;
10650
- const [floatOptions, setFloatOptions] = useState22();
10687
+ const [floatOptions, setFloatOptions] = useState23();
10651
10688
  const { refs, styles: positionStyles } = useFloatPosition(null, floatOptions);
10652
10689
  const handleClose = () => {
10653
10690
  setOpen(false);
@@ -10692,7 +10729,7 @@ var PopoverGroup = ({
10692
10729
  ref: combinedAnchorRef
10693
10730
  }) : child);
10694
10731
  });
10695
- return /* @__PURE__ */ jsx285(
10732
+ return /* @__PURE__ */ jsx286(
10696
10733
  PopoverContext,
10697
10734
  {
10698
10735
  value: {
@@ -10717,7 +10754,7 @@ import {
10717
10754
  isValidElement as isValidElement5,
10718
10755
  useEffect as useEffect27,
10719
10756
  useMemo as useMemo3,
10720
- useState as useState23
10757
+ useState as useState24
10721
10758
  } from "react";
10722
10759
 
10723
10760
  // src/components/ProgressTracker/ProgressTracker.context.tsx
@@ -10754,7 +10791,7 @@ var ProgressTracker_default = {
10754
10791
 
10755
10792
  // src/components/ProgressTracker/ProgressTrackerItem.tsx
10756
10793
  import { useMemo as useMemo2 } from "react";
10757
- import { Fragment as Fragment7, jsx as jsx286, jsxs as jsxs73 } from "react/jsx-runtime";
10794
+ import { Fragment as Fragment7, jsx as jsx287, jsxs as jsxs73 } from "react/jsx-runtime";
10758
10795
  var toItemState = (active, completed, disabled) => {
10759
10796
  if (disabled) {
10760
10797
  return "disabled";
@@ -10798,15 +10835,15 @@ var ProgressTrackerItem = (props) => {
10798
10835
  };
10799
10836
  const stepNumberContent = useMemo2(() => {
10800
10837
  if (completed) {
10801
- return /* @__PURE__ */ jsx286(Icon, { icon: CheckIcon, iconSize: "small" });
10838
+ return /* @__PURE__ */ jsx287(Icon, { icon: CheckIcon, iconSize: "small" });
10802
10839
  }
10803
10840
  if (icon !== void 0) {
10804
- return /* @__PURE__ */ jsx286(Icon, { icon, iconSize: "small" });
10841
+ return /* @__PURE__ */ jsx287(Icon, { icon, iconSize: "small" });
10805
10842
  }
10806
10843
  return index + 1;
10807
10844
  }, [completed, icon, index]);
10808
10845
  const stepContent = /* @__PURE__ */ jsxs73(Fragment7, { children: [
10809
- /* @__PURE__ */ jsx286(
10846
+ /* @__PURE__ */ jsx287(
10810
10847
  Box,
10811
10848
  {
10812
10849
  display: "flex",
@@ -10830,21 +10867,21 @@ var ProgressTrackerItem = (props) => {
10830
10867
  typographyStyles_default["body-medium"]
10831
10868
  ),
10832
10869
  children: [
10833
- /* @__PURE__ */ jsx286(VisuallyHidden, { children: getVisuallyHiddenTextBefore(index) }),
10870
+ /* @__PURE__ */ jsx287(VisuallyHidden, { children: getVisuallyHiddenTextBefore(index) }),
10834
10871
  children,
10835
- /* @__PURE__ */ jsx286(VisuallyHidden, { children: getVisuallyHiddenTextAfter(completed) })
10872
+ /* @__PURE__ */ jsx287(VisuallyHidden, { children: getVisuallyHiddenTextAfter(completed) })
10836
10873
  ]
10837
10874
  }
10838
10875
  )
10839
10876
  ] });
10840
- return /* @__PURE__ */ jsx286(
10877
+ return /* @__PURE__ */ jsx287(
10841
10878
  Box,
10842
10879
  {
10843
10880
  as: "li",
10844
10881
  display: direction === "row" ? "flex" : void 0,
10845
10882
  "aria-current": active ? "step" : void 0,
10846
10883
  className: cn(ProgressTracker_default["list-item"], ProgressTracker_default[`list-item--${direction}`]),
10847
- children: handleStepChange ? /* @__PURE__ */ jsx286(
10884
+ children: handleStepChange ? /* @__PURE__ */ jsx287(
10848
10885
  "button",
10849
10886
  {
10850
10887
  ...getBaseHTMLProps(
@@ -10857,7 +10894,7 @@ var ProgressTrackerItem = (props) => {
10857
10894
  disabled,
10858
10895
  children: stepContent
10859
10896
  }
10860
- ) : /* @__PURE__ */ jsx286(
10897
+ ) : /* @__PURE__ */ jsx287(
10861
10898
  "div",
10862
10899
  {
10863
10900
  ...getBaseHTMLProps(
@@ -10875,7 +10912,7 @@ var ProgressTrackerItem = (props) => {
10875
10912
  ProgressTrackerItem.displayName = "ProgressTracker.Item";
10876
10913
 
10877
10914
  // src/components/ProgressTracker/ProgressTracker.tsx
10878
- import { jsx as jsx287 } from "react/jsx-runtime";
10915
+ import { jsx as jsx288 } from "react/jsx-runtime";
10879
10916
  var ProgressTracker = (() => {
10880
10917
  const Res = ({
10881
10918
  id,
@@ -10887,7 +10924,7 @@ var ProgressTracker = (() => {
10887
10924
  htmlProps = {},
10888
10925
  ...rest
10889
10926
  }) => {
10890
- const [thisActiveStep, setActiveStep] = useState23(activeStep);
10927
+ const [thisActiveStep, setActiveStep] = useState24(activeStep);
10891
10928
  const handleChange = (step) => {
10892
10929
  setActiveStep(step);
10893
10930
  onStepChange && onStepChange(step);
@@ -10904,7 +10941,7 @@ var ProgressTracker = (() => {
10904
10941
  }, [children]);
10905
10942
  const isRow = direction === "row";
10906
10943
  const { "aria-label": ariaLabel } = htmlProps;
10907
- return /* @__PURE__ */ jsx287(
10944
+ return /* @__PURE__ */ jsx288(
10908
10945
  ProgressTrackerContext,
10909
10946
  {
10910
10947
  value: {
@@ -10912,12 +10949,12 @@ var ProgressTracker = (() => {
10912
10949
  handleStepChange: handleChange,
10913
10950
  direction
10914
10951
  },
10915
- children: /* @__PURE__ */ jsx287(
10952
+ children: /* @__PURE__ */ jsx288(
10916
10953
  "nav",
10917
10954
  {
10918
10955
  "aria-label": ariaLabel != null ? ariaLabel : "stegprogresjon",
10919
10956
  ...getBaseHTMLProps(id, className, htmlProps, rest),
10920
- children: /* @__PURE__ */ jsx287(
10957
+ children: /* @__PURE__ */ jsx288(
10921
10958
  Box,
10922
10959
  {
10923
10960
  as: StylelessOList,
@@ -10968,7 +11005,7 @@ var ProgressBar_default = {
10968
11005
  };
10969
11006
 
10970
11007
  // src/components/ProgressBar/ProgressBar.tsx
10971
- import { jsx as jsx288, jsxs as jsxs74 } from "react/jsx-runtime";
11008
+ import { jsx as jsx289, jsxs as jsxs74 } from "react/jsx-runtime";
10972
11009
  var ProgressBar = ({
10973
11010
  label,
10974
11011
  tip,
@@ -10995,8 +11032,8 @@ var ProgressBar = ({
10995
11032
  const fillPrecentage = hasValidValue && value / (max != null ? max : 1) * 100 + "%";
10996
11033
  const isIndeterminate = !hasValidValue && !hasErrorMessage;
10997
11034
  return /* @__PURE__ */ jsxs74(Box, { width: "100%", className, style, children: [
10998
- hasLabel ? /* @__PURE__ */ jsx288(Label, { htmlFor: uniqueId, children: label }) : void 0,
10999
- /* @__PURE__ */ jsx288(
11035
+ hasLabel ? /* @__PURE__ */ jsx289(Label, { htmlFor: uniqueId, children: label }) : void 0,
11036
+ /* @__PURE__ */ jsx289(
11000
11037
  "progress",
11001
11038
  {
11002
11039
  id: uniqueId,
@@ -11012,13 +11049,13 @@ var ProgressBar = ({
11012
11049
  children: fillPrecentage
11013
11050
  }
11014
11051
  ),
11015
- /* @__PURE__ */ jsx288(
11052
+ /* @__PURE__ */ jsx289(
11016
11053
  Box,
11017
11054
  {
11018
11055
  width: getInputWidth(width),
11019
11056
  height: size2 === "small" ? "x0.75" : "x1.5",
11020
11057
  className: cn(ProgressBar_default.progress),
11021
- children: /* @__PURE__ */ jsx288(
11058
+ children: /* @__PURE__ */ jsx289(
11022
11059
  Box,
11023
11060
  {
11024
11061
  height: "100%",
@@ -11041,7 +11078,7 @@ ProgressBar.displayName = "ProgressBar";
11041
11078
  // src/components/Search/Search.tsx
11042
11079
  import {
11043
11080
  useId as useId24,
11044
- useState as useState24
11081
+ useState as useState25
11045
11082
  } from "react";
11046
11083
 
11047
11084
  // src/components/Search/AutocompleteSearch.context.tsx
@@ -11096,7 +11133,7 @@ function createEmptyChangeEvent(inputElementId) {
11096
11133
 
11097
11134
  // src/components/Search/SearchSuggestionItem.tsx
11098
11135
  import { useEffect as useEffect28, useRef as useRef31 } from "react";
11099
- import { jsx as jsx289 } from "react/jsx-runtime";
11136
+ import { jsx as jsx290 } from "react/jsx-runtime";
11100
11137
  var SearchSuggestionItem = ({
11101
11138
  focus,
11102
11139
  className,
@@ -11111,16 +11148,15 @@ var SearchSuggestionItem = ({
11111
11148
  (_a = itemRef.current) == null ? void 0 : _a.focus();
11112
11149
  }
11113
11150
  }, [focus]);
11114
- return /* @__PURE__ */ jsx289(
11115
- "button",
11151
+ return /* @__PURE__ */ jsx290(
11152
+ StylelessButton,
11116
11153
  {
11117
11154
  ref: combinedRef,
11118
11155
  className: cn(
11119
11156
  className,
11120
11157
  OverflowMenu_default.list__item,
11121
11158
  OverflowMenu_default["list__item--link"],
11122
- focus_default["focusable--inset"],
11123
- utilStyles_default["normalize-button"]
11159
+ focus_default["focusable--inset"]
11124
11160
  ),
11125
11161
  ...rest,
11126
11162
  tabIndex: focus ? 0 : -1
@@ -11130,7 +11166,7 @@ var SearchSuggestionItem = ({
11130
11166
  SearchSuggestionItem.displayName = "SearchSuggestionItem";
11131
11167
 
11132
11168
  // src/components/Search/SearchSuggestions.tsx
11133
- import { jsx as jsx290, jsxs as jsxs75 } from "react/jsx-runtime";
11169
+ import { jsx as jsx291, jsxs as jsxs75 } from "react/jsx-runtime";
11134
11170
  var SearchSuggestions = ({
11135
11171
  id,
11136
11172
  searchId,
@@ -11173,7 +11209,7 @@ var SearchSuggestions = ({
11173
11209
  overflowY: "scroll",
11174
11210
  marginBlock: "x0.25 0",
11175
11211
  children: [
11176
- /* @__PURE__ */ jsx290(
11212
+ /* @__PURE__ */ jsx291(
11177
11213
  Box,
11178
11214
  {
11179
11215
  as: "h2",
@@ -11183,8 +11219,8 @@ var SearchSuggestions = ({
11183
11219
  children: "S\xF8keforslag"
11184
11220
  }
11185
11221
  ),
11186
- /* @__PURE__ */ jsx290(StylelessList, { role: "listbox", "aria-labelledby": suggestionsHeaderId, children: suggestionsToRender.map((suggestion, index) => {
11187
- return /* @__PURE__ */ jsx290("li", { role: "option", children: /* @__PURE__ */ jsx290(
11222
+ /* @__PURE__ */ jsx291(StylelessList, { role: "listbox", "aria-labelledby": suggestionsHeaderId, children: suggestionsToRender.map((suggestion, index) => {
11223
+ return /* @__PURE__ */ jsx291("li", { role: "option", children: /* @__PURE__ */ jsx291(
11188
11224
  SearchSuggestionItem,
11189
11225
  {
11190
11226
  index,
@@ -11205,7 +11241,7 @@ var SearchSuggestions = ({
11205
11241
  SearchSuggestions.displayName = "SearchSuggestions";
11206
11242
 
11207
11243
  // src/components/Search/Search.tsx
11208
- import { Fragment as Fragment8, jsx as jsx291, jsxs as jsxs76 } from "react/jsx-runtime";
11244
+ import { Fragment as Fragment8, jsx as jsx292, jsxs as jsxs76 } from "react/jsx-runtime";
11209
11245
  var getIconSize2 = (size2) => {
11210
11246
  switch (size2) {
11211
11247
  case "large":
@@ -11261,7 +11297,7 @@ var Search = ({
11261
11297
  uniqueId,
11262
11298
  "suggestions-description"
11263
11299
  );
11264
- const [hasValue, setHasValue] = useState24(!!value);
11300
+ const [hasValue, setHasValue] = useState25(!!value);
11265
11301
  const context = useAutocompleteSearch();
11266
11302
  const combinedRef = context.inputRef ? useCombinedRef(context.inputRef, ref) : ref;
11267
11303
  const handleChange = (e) => {
@@ -11287,7 +11323,7 @@ var Search = ({
11287
11323
  width: !showSearchButton ? width : void 0,
11288
11324
  className: !showSearchButton ? className : void 0,
11289
11325
  children: [
11290
- showIcon && /* @__PURE__ */ jsx291(
11326
+ showIcon && /* @__PURE__ */ jsx292(
11291
11327
  Icon,
11292
11328
  {
11293
11329
  icon: SearchIcon,
@@ -11298,7 +11334,7 @@ var Search = ({
11298
11334
  )
11299
11335
  }
11300
11336
  ),
11301
- /* @__PURE__ */ jsx291(
11337
+ /* @__PURE__ */ jsx292(
11302
11338
  Box,
11303
11339
  {
11304
11340
  as: Input,
@@ -11328,7 +11364,7 @@ var Search = ({
11328
11364
  }
11329
11365
  ),
11330
11366
  hasSuggestions && /* @__PURE__ */ jsxs76(Fragment8, { children: [
11331
- /* @__PURE__ */ jsx291(
11367
+ /* @__PURE__ */ jsx292(
11332
11368
  SearchSuggestions,
11333
11369
  {
11334
11370
  id: suggestionsId,
@@ -11340,9 +11376,9 @@ var Search = ({
11340
11376
  componentSize
11341
11377
  }
11342
11378
  ),
11343
- /* @__PURE__ */ jsx291(VisuallyHidden, { id: suggestionsDescriptionId, children: "Bla i s\xF8keforslag med piltaster n\xE5r listen er utvidet." })
11379
+ /* @__PURE__ */ jsx292(VisuallyHidden, { id: suggestionsDescriptionId, children: "Bla i s\xF8keforslag med piltaster n\xE5r listen er utvidet." })
11344
11380
  ] }),
11345
- hasValue && /* @__PURE__ */ jsx291(
11381
+ hasValue && /* @__PURE__ */ jsx292(
11346
11382
  Button,
11347
11383
  {
11348
11384
  icon: CloseSmallIcon,
@@ -11357,7 +11393,7 @@ var Search = ({
11357
11393
  }
11358
11394
  );
11359
11395
  return /* @__PURE__ */ jsxs76(VStack, { gap: "x0.125", children: [
11360
- hasLabel && /* @__PURE__ */ jsx291(Label, { htmlFor: uniqueId, children: label }),
11396
+ hasLabel && /* @__PURE__ */ jsx292(Label, { htmlFor: uniqueId, children: label }),
11361
11397
  /* @__PURE__ */ jsxs76("div", { children: [
11362
11398
  showSearchButton ? /* @__PURE__ */ jsxs76(
11363
11399
  Grid,
@@ -11371,7 +11407,7 @@ var Search = ({
11371
11407
  style,
11372
11408
  children: [
11373
11409
  inputGroup,
11374
- /* @__PURE__ */ jsx291(
11410
+ /* @__PURE__ */ jsx292(
11375
11411
  Button,
11376
11412
  {
11377
11413
  size: componentSize,
@@ -11393,9 +11429,9 @@ Search.displayName = "Search";
11393
11429
  import {
11394
11430
  useEffect as useEffect29,
11395
11431
  useRef as useRef32,
11396
- useState as useState25
11432
+ useState as useState26
11397
11433
  } from "react";
11398
- import { jsx as jsx292 } from "react/jsx-runtime";
11434
+ import { jsx as jsx293 } from "react/jsx-runtime";
11399
11435
  var SearchAutocompleteWrapper = (props) => {
11400
11436
  const {
11401
11437
  value,
@@ -11406,9 +11442,9 @@ var SearchAutocompleteWrapper = (props) => {
11406
11442
  onSuggestionSelection,
11407
11443
  children
11408
11444
  } = props;
11409
- const [inputValue, setInputValue] = useState25(value != null ? value : "");
11410
- const [suggestions, setSuggestions] = useState25([]);
11411
- const [showSuggestions, setShowSuggestions] = useState25(false);
11445
+ const [inputValue, setInputValue] = useState26(value != null ? value : "");
11446
+ const [suggestions, setSuggestions] = useState26([]);
11447
+ const [showSuggestions, setShowSuggestions] = useState26(false);
11412
11448
  const closeSuggestions = () => showSuggestions === true && setShowSuggestions(false);
11413
11449
  const openSuggestions = () => showSuggestions === false && setShowSuggestions(true);
11414
11450
  useEffect29(() => {
@@ -11471,7 +11507,7 @@ var SearchAutocompleteWrapper = (props) => {
11471
11507
  inputValue,
11472
11508
  onSugggestionClick: handleSuggestionClick
11473
11509
  };
11474
- return /* @__PURE__ */ jsx292(AutocompleteSearchContext, { value: contextProps, children });
11510
+ return /* @__PURE__ */ jsx293(AutocompleteSearchContext, { value: contextProps, children });
11475
11511
  };
11476
11512
  SearchAutocompleteWrapper.displayName = "SearchAutocompleteWrapper";
11477
11513
 
@@ -11487,7 +11523,7 @@ var Skeleton_default = {
11487
11523
  };
11488
11524
 
11489
11525
  // src/components/Skeleton/Skeleton.tsx
11490
- import { jsx as jsx293 } from "react/jsx-runtime";
11526
+ import { jsx as jsx294 } from "react/jsx-runtime";
11491
11527
  var Skeleton = ({
11492
11528
  width,
11493
11529
  height,
@@ -11497,7 +11533,7 @@ var Skeleton = ({
11497
11533
  ref,
11498
11534
  ...rest
11499
11535
  }) => {
11500
- return /* @__PURE__ */ jsx293(
11536
+ return /* @__PURE__ */ jsx294(
11501
11537
  Box,
11502
11538
  {
11503
11539
  width,
@@ -11517,7 +11553,7 @@ var SkipToContent_default = {
11517
11553
  };
11518
11554
 
11519
11555
  // src/components/SkipToContent/SkipToContent.tsx
11520
- import { jsx as jsx294 } from "react/jsx-runtime";
11556
+ import { jsx as jsx295 } from "react/jsx-runtime";
11521
11557
  var SkipToContent = ({
11522
11558
  text = "Til hovedinnhold",
11523
11559
  top = 0,
@@ -11527,19 +11563,19 @@ var SkipToContent = ({
11527
11563
  ...rest
11528
11564
  }) => {
11529
11565
  const { className: htmlPropsClassName, style, ...restHtmlProps } = htmlProps;
11530
- return /* @__PURE__ */ jsx294(
11566
+ return /* @__PURE__ */ jsx295(
11531
11567
  Contrast,
11532
11568
  {
11533
11569
  className: cn(className, htmlPropsClassName, SkipToContent_default.wrapper),
11534
11570
  style: { ...style, top },
11535
- children: /* @__PURE__ */ jsx294(Link, { ...getBaseHTMLProps(id, restHtmlProps, rest), children: text })
11571
+ children: /* @__PURE__ */ jsx295(Link, { ...getBaseHTMLProps(id, restHtmlProps, rest), children: text })
11536
11572
  }
11537
11573
  );
11538
11574
  };
11539
11575
  SkipToContent.displayName = "SkipToContent";
11540
11576
 
11541
11577
  // src/components/SplitButton/SplitButton.tsx
11542
- import { useState as useState26 } from "react";
11578
+ import { useState as useState27 } from "react";
11543
11579
 
11544
11580
  // src/components/SplitButton/SplitButton.module.css
11545
11581
  var SplitButton_default = {
@@ -11550,7 +11586,7 @@ var SplitButton_default = {
11550
11586
  };
11551
11587
 
11552
11588
  // src/components/SplitButton/SplitButton.tsx
11553
- import { jsx as jsx295, jsxs as jsxs77 } from "react/jsx-runtime";
11589
+ import { jsx as jsx296, jsxs as jsxs77 } from "react/jsx-runtime";
11554
11590
  var SplitButton = ({
11555
11591
  size: size2,
11556
11592
  primaryAction,
@@ -11559,13 +11595,13 @@ var SplitButton = ({
11559
11595
  className,
11560
11596
  ...rest
11561
11597
  }) => {
11562
- const [isOpen, setIsOpen] = useState26(false);
11598
+ const [isOpen, setIsOpen] = useState27(false);
11563
11599
  const buttonStyleProps = {
11564
11600
  purpose,
11565
11601
  size: size2
11566
11602
  };
11567
11603
  return /* @__PURE__ */ jsxs77("div", { className: cn(className, SplitButton_default.container), ...rest, children: [
11568
- /* @__PURE__ */ jsx295(
11604
+ /* @__PURE__ */ jsx296(
11569
11605
  Button,
11570
11606
  {
11571
11607
  ...buttonStyleProps,
@@ -11575,7 +11611,7 @@ var SplitButton = ({
11575
11611
  }
11576
11612
  ),
11577
11613
  /* @__PURE__ */ jsxs77(OverflowMenuGroup, { isOpen, setIsOpen, children: [
11578
- /* @__PURE__ */ jsx295(
11614
+ /* @__PURE__ */ jsx296(
11579
11615
  Button,
11580
11616
  {
11581
11617
  ...buttonStyleProps,
@@ -11589,7 +11625,7 @@ var SplitButton = ({
11589
11625
  type: "button"
11590
11626
  }
11591
11627
  ),
11592
- /* @__PURE__ */ jsx295(OverflowMenu, { placement: "bottom-end", children: /* @__PURE__ */ jsx295(OverflowMenuList, { children: secondaryActions.map((item, index) => /* @__PURE__ */ jsx295(OverflowMenuButton, { ...item, children: item.children }, index)) }) })
11628
+ /* @__PURE__ */ jsx296(OverflowMenu, { placement: "bottom-end", children: /* @__PURE__ */ jsx296(OverflowMenuList, { children: secondaryActions.map((item, index) => /* @__PURE__ */ jsx296(OverflowMenuButton, { ...item, children: item.children }, index)) }) })
11593
11629
  ] })
11594
11630
  ] });
11595
11631
  };
@@ -11602,7 +11638,7 @@ import {
11602
11638
  cloneElement as cloneElement6,
11603
11639
  isValidElement as isValidElement6,
11604
11640
  useEffect as useEffect31,
11605
- useState as useState28
11641
+ useState as useState29
11606
11642
  } from "react";
11607
11643
 
11608
11644
  // src/components/Table/collapsible/Table.context.tsx
@@ -11614,14 +11650,14 @@ var CollapsibleTableContext = createContext15({
11614
11650
  var useCollapsibleTableContext = () => useContext22(CollapsibleTableContext);
11615
11651
 
11616
11652
  // src/components/Table/normal/Body.tsx
11617
- import { jsx as jsx296 } from "react/jsx-runtime";
11618
- var Body = (props) => /* @__PURE__ */ jsx296("tbody", { ...props });
11653
+ import { jsx as jsx297 } from "react/jsx-runtime";
11654
+ var Body = (props) => /* @__PURE__ */ jsx297("tbody", { ...props });
11619
11655
  Body.displayName = "Table.Body";
11620
11656
 
11621
11657
  // src/components/Table/normal/Head.tsx
11622
11658
  import { createContext as createContext16, useContext as useContext23 } from "react";
11623
- import { jsx as jsx297 } from "react/jsx-runtime";
11624
- var Head = ({ children, ...rest }) => /* @__PURE__ */ jsx297("thead", { ...rest, children: /* @__PURE__ */ jsx297(HeadContext, { value: true, children }) });
11659
+ import { jsx as jsx298 } from "react/jsx-runtime";
11660
+ var Head = ({ children, ...rest }) => /* @__PURE__ */ jsx298("thead", { ...rest, children: /* @__PURE__ */ jsx298(HeadContext, { value: true, children }) });
11625
11661
  var HeadContext = createContext16(false);
11626
11662
  function useIsInTableHead() {
11627
11663
  const isInTableHead = useContext23(HeadContext);
@@ -11654,7 +11690,7 @@ var Table_default = {
11654
11690
  };
11655
11691
 
11656
11692
  // src/components/Table/normal/Cell.tsx
11657
- import { jsx as jsx298 } from "react/jsx-runtime";
11693
+ import { jsx as jsx299 } from "react/jsx-runtime";
11658
11694
  var Cell = ({
11659
11695
  children,
11660
11696
  type: _type,
@@ -11667,7 +11703,7 @@ var Cell = ({
11667
11703
  const type = _type != null ? _type : isInHead ? "head" : "data";
11668
11704
  const { isCollapsibleChild } = collapsibleProps != null ? collapsibleProps : {};
11669
11705
  const isComplexLayout = layout === "text and icon";
11670
- return isCollapsibleChild ? /* @__PURE__ */ jsx298(DescriptionListDesc, { children }) : type === "head" ? /* @__PURE__ */ jsx298(
11706
+ return isCollapsibleChild ? /* @__PURE__ */ jsx299(DescriptionListDesc, { children }) : type === "head" ? /* @__PURE__ */ jsx299(
11671
11707
  "th",
11672
11708
  {
11673
11709
  ...rest,
@@ -11676,26 +11712,26 @@ var Cell = ({
11676
11712
  !isComplexLayout && Table_default[`cell--${layout}`],
11677
11713
  Table_default["cell--head"]
11678
11714
  ),
11679
- children: isComplexLayout ? /* @__PURE__ */ jsx298("div", { className: Table_default.cell__inner, children }) : children
11715
+ children: isComplexLayout ? /* @__PURE__ */ jsx299("div", { className: Table_default.cell__inner, children }) : children
11680
11716
  }
11681
- ) : /* @__PURE__ */ jsx298(
11717
+ ) : /* @__PURE__ */ jsx299(
11682
11718
  "td",
11683
11719
  {
11684
11720
  ...rest,
11685
11721
  className: cn(className, !isComplexLayout && Table_default[`cell--${layout}`]),
11686
- children: isComplexLayout ? /* @__PURE__ */ jsx298("div", { className: Table_default.cell__inner, children }) : children
11722
+ children: isComplexLayout ? /* @__PURE__ */ jsx299("div", { className: Table_default.cell__inner, children }) : children
11687
11723
  }
11688
11724
  );
11689
11725
  };
11690
11726
  Cell.displayName = "Table.Cell";
11691
11727
 
11692
11728
  // src/components/Table/normal/Foot.tsx
11693
- import { jsx as jsx299 } from "react/jsx-runtime";
11694
- var Foot = (props) => /* @__PURE__ */ jsx299("tfoot", { ...props });
11729
+ import { jsx as jsx300 } from "react/jsx-runtime";
11730
+ var Foot = (props) => /* @__PURE__ */ jsx300("tfoot", { ...props });
11695
11731
  Foot.displayName = "Table.Foot";
11696
11732
 
11697
11733
  // src/components/Table/normal/Row.tsx
11698
- import { jsx as jsx300 } from "react/jsx-runtime";
11734
+ import { jsx as jsx301 } from "react/jsx-runtime";
11699
11735
  var Row = ({
11700
11736
  type: _type,
11701
11737
  mode = "normal",
@@ -11706,7 +11742,7 @@ var Row = ({
11706
11742
  }) => {
11707
11743
  const isInHeader = useIsInTableHead();
11708
11744
  const type = _type != null ? _type : isInHeader ? "head" : "body";
11709
- return /* @__PURE__ */ jsx300(
11745
+ return /* @__PURE__ */ jsx301(
11710
11746
  "tr",
11711
11747
  {
11712
11748
  className: cn(
@@ -11726,12 +11762,12 @@ var Row = ({
11726
11762
  Row.displayName = "Table.Row";
11727
11763
 
11728
11764
  // src/components/Table/normal/SortCell.tsx
11729
- import { jsx as jsx301, jsxs as jsxs78 } from "react/jsx-runtime";
11765
+ import { jsx as jsx302, jsxs as jsxs78 } from "react/jsx-runtime";
11730
11766
  var makeSortIcon = (isSorted, sortOrder) => {
11731
11767
  if (!isSorted || !sortOrder) {
11732
- return /* @__PURE__ */ jsx301(Icon, { icon: UnfoldMoreIcon, iconSize: "inherit" });
11768
+ return /* @__PURE__ */ jsx302(Icon, { icon: UnfoldMoreIcon, iconSize: "inherit" });
11733
11769
  }
11734
- return sortOrder === "ascending" ? /* @__PURE__ */ jsx301(Icon, { icon: ChevronDownIcon, iconSize: "inherit" }) : /* @__PURE__ */ jsx301(Icon, { icon: ChevronUpIcon, iconSize: "inherit" });
11770
+ return sortOrder === "ascending" ? /* @__PURE__ */ jsx302(Icon, { icon: ChevronDownIcon, iconSize: "inherit" }) : /* @__PURE__ */ jsx302(Icon, { icon: ChevronUpIcon, iconSize: "inherit" });
11735
11771
  };
11736
11772
  var SortCell = ({
11737
11773
  isSorted,
@@ -11739,23 +11775,18 @@ var SortCell = ({
11739
11775
  onClick,
11740
11776
  children,
11741
11777
  ...rest
11742
- }) => /* @__PURE__ */ jsx301(
11778
+ }) => /* @__PURE__ */ jsx302(
11743
11779
  Cell,
11744
11780
  {
11745
11781
  type: "head",
11746
11782
  "aria-sort": isSorted && sortOrder ? sortOrder : void 0,
11747
11783
  ...rest,
11748
11784
  children: /* @__PURE__ */ jsxs78(
11749
- "button",
11785
+ StylelessButton,
11750
11786
  {
11751
11787
  onClick,
11752
11788
  "aria-description": "Aktiver for \xE5 endre sorteringsrekkef\xF8lge",
11753
- className: cn(
11754
- utilStyles_default["normalize-button"],
11755
- utilStyles_default["remove-button-styling"],
11756
- Table_default["sort-button"],
11757
- focusable
11758
- ),
11789
+ className: cn(Table_default["sort-button"], focusable),
11759
11790
  children: [
11760
11791
  children,
11761
11792
  " ",
@@ -11768,7 +11799,7 @@ var SortCell = ({
11768
11799
  SortCell.displayName = "Table.SortCell";
11769
11800
 
11770
11801
  // src/components/Table/normal/Table.tsx
11771
- import { jsx as jsx302 } from "react/jsx-runtime";
11802
+ import { jsx as jsx303 } from "react/jsx-runtime";
11772
11803
  var Table = ({
11773
11804
  size: size2 = "medium",
11774
11805
  stickyHeader,
@@ -11776,7 +11807,7 @@ var Table = ({
11776
11807
  className,
11777
11808
  children,
11778
11809
  ...rest
11779
- }) => /* @__PURE__ */ jsx302(
11810
+ }) => /* @__PURE__ */ jsx303(
11780
11811
  "table",
11781
11812
  {
11782
11813
  ...rest,
@@ -11798,15 +11829,15 @@ import {
11798
11829
  useContext as useContext24,
11799
11830
  useEffect as useEffect30,
11800
11831
  useRef as useRef33,
11801
- useState as useState27
11832
+ useState as useState28
11802
11833
  } from "react";
11803
- import { jsx as jsx303 } from "react/jsx-runtime";
11834
+ import { jsx as jsx304 } from "react/jsx-runtime";
11804
11835
  var TableWrapper = ({ className, ...rest }) => {
11805
11836
  const themeContext = useContext24(ThemeContext);
11806
11837
  const container2 = themeContext == null ? void 0 : themeContext.el;
11807
11838
  const containerWidth = container2 ? container2.clientWidth : 0;
11808
- const [overflowX, setOverflowX] = useState27(false);
11809
- const [themeContainerWidth, setThemeContainerWidth] = useState27(containerWidth);
11839
+ const [overflowX, setOverflowX] = useState28(false);
11840
+ const [themeContainerWidth, setThemeContainerWidth] = useState28(containerWidth);
11810
11841
  function isOverflowingX(event) {
11811
11842
  return event.offsetWidth < event.scrollWidth;
11812
11843
  }
@@ -11825,7 +11856,7 @@ var TableWrapper = ({ className, ...rest }) => {
11825
11856
  window.addEventListener("resize", handleResize);
11826
11857
  return () => window.removeEventListener("resize", handleResize);
11827
11858
  });
11828
- return /* @__PURE__ */ jsx303(
11859
+ return /* @__PURE__ */ jsx304(
11829
11860
  "div",
11830
11861
  {
11831
11862
  ref: wrapperRef,
@@ -11852,7 +11883,7 @@ Table2.Row = Row;
11852
11883
  Table2.Foot = Foot;
11853
11884
 
11854
11885
  // src/components/Table/collapsible/CollapsibleRow.tsx
11855
- import { Fragment as Fragment10, jsx as jsx304, jsxs as jsxs79 } from "react/jsx-runtime";
11886
+ import { Fragment as Fragment10, jsx as jsx305, jsxs as jsxs79 } from "react/jsx-runtime";
11856
11887
  var CollapsibleRow = ({
11857
11888
  type: _type,
11858
11889
  className,
@@ -11866,7 +11897,7 @@ var CollapsibleRow = ({
11866
11897
  const isInHead = useIsInTableHead();
11867
11898
  const type = _type != null ? _type : isInHead ? "head" : "body";
11868
11899
  const { isCollapsed, headerValues, definingColumnIndex } = useCollapsibleTableContext();
11869
- const [childrenCollapsed, setChildrenCollapsed] = useState28(true);
11900
+ const [childrenCollapsed, setChildrenCollapsed] = useState29(true);
11870
11901
  useEffect31(() => {
11871
11902
  !isCollapsed && setChildrenCollapsed(true);
11872
11903
  }, [isCollapsed]);
@@ -11895,23 +11926,23 @@ var CollapsibleRow = ({
11895
11926
  const id = derivativeIdGenerator(prefix2, index.toString());
11896
11927
  collapsibleIds.push(id);
11897
11928
  return /* @__PURE__ */ jsxs79(Fragment9, { children: [
11898
- /* @__PURE__ */ jsx304(DescriptionListTerm, { children: collapsedHeaderValues[index].content }),
11929
+ /* @__PURE__ */ jsx305(DescriptionListTerm, { children: collapsedHeaderValues[index].content }),
11899
11930
  isValidElement6(child) && cloneElement6(child, {
11900
11931
  collapsibleProps: { isCollapsibleChild: true }
11901
11932
  })
11902
11933
  ] }, `DL-${index}`);
11903
11934
  }) : null;
11904
- const collapsedRows = collapsedRenderedChildren && collapsedRenderedChildren.length > 0 ? /* @__PURE__ */ jsx304(Row, { ...rowProps(), children: /* @__PURE__ */ jsx304(Cell, { colSpan: definingColumnIndex.length + 1, children: /* @__PURE__ */ jsx304(DescriptionList, { children: collapsedRenderedChildren }) }) }) : null;
11935
+ const collapsedRows = collapsedRenderedChildren && collapsedRenderedChildren.length > 0 ? /* @__PURE__ */ jsx305(Row, { ...rowProps(), children: /* @__PURE__ */ jsx305(Cell, { colSpan: definingColumnIndex.length + 1, children: /* @__PURE__ */ jsx305(DescriptionList, { children: collapsedRenderedChildren }) }) }) : null;
11905
11936
  const definingColumnCells = childrenArray.slice().filter((column, index) => definingColumnIndex.indexOf(index) > -1).sort((a, b) => {
11906
11937
  return definingColumnIndex.indexOf(childrenArray.indexOf(a)) - definingColumnIndex.indexOf(childrenArray.indexOf(b));
11907
11938
  });
11908
11939
  const headerRow = () => {
11909
11940
  if (type !== "head" || !isCollapsed) return null;
11910
- return /* @__PURE__ */ jsx304(Row, { ref, ...rowProps(), children: /* @__PURE__ */ jsxs79(Fragment10, { children: [
11941
+ return /* @__PURE__ */ jsx305(Row, { ref, ...rowProps(), children: /* @__PURE__ */ jsxs79(Fragment10, { children: [
11911
11942
  definingColumnCells,
11912
11943
  /* @__PURE__ */ jsxs79(Table2.Cell, { type: "head", layout: "center", children: [
11913
11944
  "Utvid",
11914
- /* @__PURE__ */ jsx304(VisuallyHidden, { children: "raden" })
11945
+ /* @__PURE__ */ jsx305(VisuallyHidden, { children: "raden" })
11915
11946
  ] })
11916
11947
  ] }) });
11917
11948
  };
@@ -11920,19 +11951,14 @@ var CollapsibleRow = ({
11920
11951
  if (type !== "body" || !isCollapsed) return null;
11921
11952
  return /* @__PURE__ */ jsxs79(Row, { ref, ...rowProps(!childrenCollapsed && true), children: [
11922
11953
  definingColumnCells,
11923
- /* @__PURE__ */ jsx304(Table2.Cell, { children: /* @__PURE__ */ jsx304(
11924
- "button",
11954
+ /* @__PURE__ */ jsx305(Table2.Cell, { children: /* @__PURE__ */ jsx305(
11955
+ StylelessButton,
11925
11956
  {
11926
11957
  onClick: () => setChildrenCollapsed(!childrenCollapsed),
11927
11958
  "aria-expanded": !childrenCollapsed,
11928
11959
  "aria-controls": idList,
11929
- className: cn(
11930
- Table_default["collapse-button"],
11931
- utilStyles_default["normalize-button"],
11932
- utilStyles_default["remove-button-styling"],
11933
- focusable
11934
- ),
11935
- children: /* @__PURE__ */ jsx304(
11960
+ className: cn(Table_default["collapse-button"], focusable),
11961
+ children: /* @__PURE__ */ jsx305(
11936
11962
  AnimatedChevronUpDown,
11937
11963
  {
11938
11964
  isUp: childrenCollapsed ? false : true,
@@ -11950,19 +11976,19 @@ var CollapsibleRow = ({
11950
11976
  rowWithChevron(),
11951
11977
  childrenCollapsed ? null : collapsedRows
11952
11978
  ] })
11953
- ] }) : /* @__PURE__ */ jsx304(Row, { ref, ...rowProps(), children });
11979
+ ] }) : /* @__PURE__ */ jsx305(Row, { ref, ...rowProps(), children });
11954
11980
  };
11955
11981
  CollapsibleRow.displayName = "CollapsibleTable.Row";
11956
11982
 
11957
11983
  // src/components/Table/collapsible/CollapsibleTable.tsx
11958
- import { jsx as jsx305 } from "react/jsx-runtime";
11984
+ import { jsx as jsx306 } from "react/jsx-runtime";
11959
11985
  var CollapsibleTable = ({
11960
11986
  isCollapsed,
11961
11987
  headerValues,
11962
11988
  definingColumnIndex = [0],
11963
11989
  ...rest
11964
11990
  }) => {
11965
- return /* @__PURE__ */ jsx305(
11991
+ return /* @__PURE__ */ jsx306(
11966
11992
  CollapsibleTableContext,
11967
11993
  {
11968
11994
  value: {
@@ -11970,7 +11996,7 @@ var CollapsibleTable = ({
11970
11996
  headerValues,
11971
11997
  definingColumnIndex
11972
11998
  },
11973
- children: /* @__PURE__ */ jsx305(Table2, { ...rest })
11999
+ children: /* @__PURE__ */ jsx306(Table2, { ...rest })
11974
12000
  }
11975
12001
  );
11976
12002
  };
@@ -12021,13 +12047,13 @@ import {
12021
12047
  useContext as useContext26,
12022
12048
  useLayoutEffect as useLayoutEffect3
12023
12049
  } from "react";
12024
- import { jsx as jsx306 } from "react/jsx-runtime";
12050
+ import { jsx as jsx307 } from "react/jsx-runtime";
12025
12051
  var TabContext = createContext18(null);
12026
12052
  function TabWidthContextProvider({
12027
12053
  children,
12028
12054
  onChangeWidths
12029
12055
  }) {
12030
- return /* @__PURE__ */ jsx306(
12056
+ return /* @__PURE__ */ jsx307(
12031
12057
  TabContext,
12032
12058
  {
12033
12059
  value: {
@@ -12059,7 +12085,7 @@ function useSetTabWidth(index, width) {
12059
12085
  }
12060
12086
 
12061
12087
  // src/components/Tabs/AddTabButton.tsx
12062
- import { jsx as jsx307, jsxs as jsxs80 } from "react/jsx-runtime";
12088
+ import { jsx as jsx308, jsxs as jsxs80 } from "react/jsx-runtime";
12063
12089
  var AddTabButton = ({
12064
12090
  ref,
12065
12091
  children,
@@ -12085,8 +12111,8 @@ var AddTabButton = ({
12085
12111
  focus_default["focusable--inset"]
12086
12112
  ),
12087
12113
  children: [
12088
- /* @__PURE__ */ jsx307(Icon, { icon: PlusIcon, iconSize: "inherit" }),
12089
- /* @__PURE__ */ jsx307("span", { children })
12114
+ /* @__PURE__ */ jsx308(Icon, { icon: PlusIcon, iconSize: "inherit" }),
12115
+ /* @__PURE__ */ jsx308("span", { children })
12090
12116
  ]
12091
12117
  }
12092
12118
  );
@@ -12094,8 +12120,8 @@ var AddTabButton = ({
12094
12120
  AddTabButton.displayName = "AddTabButton";
12095
12121
 
12096
12122
  // src/components/Tabs/Tabs.tsx
12097
- import { useEffect as useEffect32, useId as useId25, useRef as useRef35, useState as useState29 } from "react";
12098
- import { jsx as jsx308 } from "react/jsx-runtime";
12123
+ import { useEffect as useEffect32, useId as useId25, useRef as useRef35, useState as useState30 } from "react";
12124
+ import { jsx as jsx309 } from "react/jsx-runtime";
12099
12125
  var Tabs = ({
12100
12126
  id,
12101
12127
  activeTab,
@@ -12111,8 +12137,8 @@ var Tabs = ({
12111
12137
  }) => {
12112
12138
  const generatedId = useId25();
12113
12139
  const uniqueId = id != null ? id : `${generatedId}-tabs`;
12114
- const [thisActiveTab, setActiveTab] = useState29(activeTab != null ? activeTab : 0);
12115
- const [hasTabFocus, setHasTabFocus] = useState29(false);
12140
+ const [thisActiveTab, setActiveTab] = useState30(activeTab != null ? activeTab : 0);
12141
+ const [hasTabFocus, setHasTabFocus] = useState30(false);
12116
12142
  const tabListRef = useRef35(null);
12117
12143
  const tabPanelsRef = useRef35(null);
12118
12144
  const handleTabChange = (index) => {
@@ -12124,7 +12150,7 @@ var Tabs = ({
12124
12150
  setActiveTab(activeTab);
12125
12151
  }
12126
12152
  }, [activeTab, thisActiveTab]);
12127
- return /* @__PURE__ */ jsx308(
12153
+ return /* @__PURE__ */ jsx309(
12128
12154
  TabsContext,
12129
12155
  {
12130
12156
  value: {
@@ -12139,7 +12165,7 @@ var Tabs = ({
12139
12165
  tabContentDirection,
12140
12166
  addTabButtonProps
12141
12167
  },
12142
- children: /* @__PURE__ */ jsx308(
12168
+ children: /* @__PURE__ */ jsx309(
12143
12169
  Box,
12144
12170
  {
12145
12171
  ...getBaseHTMLProps(
@@ -12163,7 +12189,7 @@ import {
12163
12189
  useEffect as useEffect33,
12164
12190
  useRef as useRef36
12165
12191
  } from "react";
12166
- import { jsx as jsx309, jsxs as jsxs81 } from "react/jsx-runtime";
12192
+ import { jsx as jsx310, jsxs as jsxs81 } from "react/jsx-runtime";
12167
12193
  var Tab = ({
12168
12194
  active = false,
12169
12195
  icon,
@@ -12229,8 +12255,8 @@ var Tab = ({
12229
12255
  onKeyDown: handleOnKeyDown,
12230
12256
  tabIndex: focus ? 0 : -1,
12231
12257
  children: [
12232
- icon && /* @__PURE__ */ jsx309(Icon, { icon, iconSize: "inherit" }),
12233
- /* @__PURE__ */ jsx309("span", { children })
12258
+ icon && /* @__PURE__ */ jsx310(Icon, { icon, iconSize: "inherit" }),
12259
+ /* @__PURE__ */ jsx310("span", { children })
12234
12260
  ]
12235
12261
  }
12236
12262
  );
@@ -12242,9 +12268,9 @@ import {
12242
12268
  Children as Children5,
12243
12269
  cloneElement as cloneElement7,
12244
12270
  isValidElement as isValidElement7,
12245
- useState as useState30
12271
+ useState as useState31
12246
12272
  } from "react";
12247
- import { jsx as jsx310, jsxs as jsxs82 } from "react/jsx-runtime";
12273
+ import { jsx as jsx311, jsxs as jsxs82 } from "react/jsx-runtime";
12248
12274
  var TabList = ({
12249
12275
  children,
12250
12276
  id,
@@ -12284,7 +12310,7 @@ var TabList = ({
12284
12310
  onClick: combineHandlers(handleThisTabChange, child.props.onClick)
12285
12311
  });
12286
12312
  }) : [];
12287
- const [widths, setWidths] = useState30([]);
12313
+ const [widths, setWidths] = useState31([]);
12288
12314
  const handleOnFocus = (event) => {
12289
12315
  setHasTabFocus(true);
12290
12316
  onFocus && onFocus(event);
@@ -12302,7 +12328,7 @@ var TabList = ({
12302
12328
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
12303
12329
  ["--dds-tab-widths"]: widths.join(" ")
12304
12330
  };
12305
- return /* @__PURE__ */ jsx310(TabWidthContextProvider, { onChangeWidths: setWidths, children: /* @__PURE__ */ jsxs82(
12331
+ return /* @__PURE__ */ jsx311(TabWidthContextProvider, { onChangeWidths: setWidths, children: /* @__PURE__ */ jsxs82(
12306
12332
  "div",
12307
12333
  {
12308
12334
  ...rest,
@@ -12322,7 +12348,7 @@ var TabList = ({
12322
12348
  style: { ...style, ...customWidths },
12323
12349
  children: [
12324
12350
  tabListChildren,
12325
- hasButton && /* @__PURE__ */ jsx310(
12351
+ hasButton && /* @__PURE__ */ jsx311(
12326
12352
  AddTabButton,
12327
12353
  {
12328
12354
  index: tabListChildren ? tabListChildren.length : 0,
@@ -12336,7 +12362,7 @@ var TabList = ({
12336
12362
  TabList.displayName = "TabList";
12337
12363
 
12338
12364
  // src/components/Tabs/TabPanel.tsx
12339
- import { jsx as jsx311 } from "react/jsx-runtime";
12365
+ import { jsx as jsx312 } from "react/jsx-runtime";
12340
12366
  var TabPanel = ({
12341
12367
  active = false,
12342
12368
  children,
@@ -12344,7 +12370,7 @@ var TabPanel = ({
12344
12370
  className,
12345
12371
  htmlProps,
12346
12372
  ...rest
12347
- }) => /* @__PURE__ */ jsx311(
12373
+ }) => /* @__PURE__ */ jsx312(
12348
12374
  Box,
12349
12375
  {
12350
12376
  padding: "x0.25",
@@ -12363,7 +12389,7 @@ import {
12363
12389
  cloneElement as cloneElement8,
12364
12390
  isValidElement as isValidElement8
12365
12391
  } from "react";
12366
- import { jsx as jsx312 } from "react/jsx-runtime";
12392
+ import { jsx as jsx313 } from "react/jsx-runtime";
12367
12393
  var TabPanels = ({ children, ref, ...rest }) => {
12368
12394
  const { activeTab, tabsId, tabPanelsRef } = useTabsContext();
12369
12395
  const combinedRef = useCombinedRef(ref, tabPanelsRef);
@@ -12378,7 +12404,7 @@ var TabPanels = ({ children, ref, ...rest }) => {
12378
12404
  }
12379
12405
  });
12380
12406
  });
12381
- return /* @__PURE__ */ jsx312("div", { ref: combinedRef, ...rest, children: panelChildren });
12407
+ return /* @__PURE__ */ jsx313("div", { ref: combinedRef, ...rest, children: panelChildren });
12382
12408
  };
12383
12409
  TabPanels.displayName = "TabPanels";
12384
12410
 
@@ -12399,7 +12425,7 @@ var Tag_default = {
12399
12425
  };
12400
12426
 
12401
12427
  // src/components/Tag/Tag.tsx
12402
- import { jsx as jsx313, jsxs as jsxs83 } from "react/jsx-runtime";
12428
+ import { jsx as jsx314, jsxs as jsxs83 } from "react/jsx-runtime";
12403
12429
  var icons3 = {
12404
12430
  info: InfoIcon,
12405
12431
  danger: ErrorIcon,
@@ -12435,8 +12461,8 @@ var Tag = ({
12435
12461
  rest
12436
12462
  ),
12437
12463
  children: [
12438
- withIcon && icon && /* @__PURE__ */ jsx313(Icon, { icon, iconSize: "small" }),
12439
- /* @__PURE__ */ jsx313(TextOverflowEllipsisInner, { children: children != null ? children : text })
12464
+ withIcon && icon && /* @__PURE__ */ jsx314(Icon, { icon, iconSize: "small" }),
12465
+ /* @__PURE__ */ jsx314(TextOverflowEllipsisInner, { children: children != null ? children : text })
12440
12466
  ]
12441
12467
  }
12442
12468
  );
@@ -12444,14 +12470,13 @@ var Tag = ({
12444
12470
  Tag.displayName = "Tag";
12445
12471
 
12446
12472
  // src/components/TextInput/TextInput.tsx
12447
- import { useId as useId26, useLayoutEffect as useLayoutEffect4, useRef as useRef37, useState as useState31 } from "react";
12473
+ import { useId as useId26, useLayoutEffect as useLayoutEffect4, useRef as useRef37, useState as useState32 } from "react";
12448
12474
 
12449
12475
  // src/components/TextInput/TextInput.module.css
12450
12476
  var TextInput_default = {
12451
12477
  container: "TextInput_container",
12452
12478
  "container--readonly": "TextInput_container--readonly",
12453
12479
  "container--disabled": "TextInput_container--disabled",
12454
- "input-width": "TextInput_input-width",
12455
12480
  input: "TextInput_input",
12456
12481
  "with-icon--medium": "TextInput_with-icon--medium",
12457
12482
  "with-icon--small": "TextInput_with-icon--small",
@@ -12467,7 +12492,7 @@ var TextInput_default = {
12467
12492
  };
12468
12493
 
12469
12494
  // src/components/TextInput/TextInput.tsx
12470
- import { jsx as jsx314, jsxs as jsxs84 } from "react/jsx-runtime";
12495
+ import { jsx as jsx315, jsxs as jsxs84 } from "react/jsx-runtime";
12471
12496
  var TextInput = ({
12472
12497
  label,
12473
12498
  disabled,
@@ -12494,11 +12519,11 @@ var TextInput = ({
12494
12519
  ref,
12495
12520
  ...rest
12496
12521
  }) => {
12497
- const [text, setText] = useState31(getDefaultText(value, defaultValue));
12522
+ const [text, setText] = useState32(getDefaultText(value, defaultValue));
12498
12523
  const prefixRef = useRef37(null);
12499
12524
  const suffixRef = useRef37(null);
12500
- const [prefixLength, setPrefixLength] = useState31(0);
12501
- const [suffixLength, setSuffixLength] = useState31(0);
12525
+ const [prefixLength, setPrefixLength] = useState32(0);
12526
+ const [suffixLength, setSuffixLength] = useState32(0);
12502
12527
  useLayoutEffect4(() => {
12503
12528
  if (prefixRef.current) {
12504
12529
  setPrefixLength(prefixRef.current.offsetWidth);
@@ -12561,7 +12586,7 @@ var TextInput = ({
12561
12586
  let extendedInput = null;
12562
12587
  if (hasIcon) {
12563
12588
  extendedInput = /* @__PURE__ */ jsxs84(Box, { className: Input_default["input-group"], width: inputWidth, children: [
12564
- /* @__PURE__ */ jsx314(
12589
+ /* @__PURE__ */ jsx315(
12565
12590
  Icon,
12566
12591
  {
12567
12592
  icon,
@@ -12572,7 +12597,7 @@ var TextInput = ({
12572
12597
  )
12573
12598
  }
12574
12599
  ),
12575
- /* @__PURE__ */ jsx314(
12600
+ /* @__PURE__ */ jsx315(
12576
12601
  StatefulInput,
12577
12602
  {
12578
12603
  className: cn(
@@ -12593,7 +12618,7 @@ var TextInput = ({
12593
12618
  alignItems: "center",
12594
12619
  width: inputWidth,
12595
12620
  children: [
12596
- prefix2 && /* @__PURE__ */ jsx314(
12621
+ prefix2 && /* @__PURE__ */ jsx315(
12597
12622
  "span",
12598
12623
  {
12599
12624
  ref: prefixRef,
@@ -12606,7 +12631,7 @@ var TextInput = ({
12606
12631
  children: prefix2
12607
12632
  }
12608
12633
  ),
12609
- /* @__PURE__ */ jsx314(
12634
+ /* @__PURE__ */ jsx315(
12610
12635
  StatefulInput,
12611
12636
  {
12612
12637
  style: {
@@ -12617,7 +12642,7 @@ var TextInput = ({
12617
12642
  ...generalInputProps
12618
12643
  }
12619
12644
  ),
12620
- suffix && /* @__PURE__ */ jsx314(
12645
+ suffix && /* @__PURE__ */ jsx315(
12621
12646
  "span",
12622
12647
  {
12623
12648
  ref: suffixRef,
@@ -12646,7 +12671,7 @@ var TextInput = ({
12646
12671
  ),
12647
12672
  style,
12648
12673
  children: [
12649
- hasLabel && /* @__PURE__ */ jsx314(
12674
+ hasLabel && /* @__PURE__ */ jsx315(
12650
12675
  Box,
12651
12676
  {
12652
12677
  as: Label,
@@ -12657,7 +12682,7 @@ var TextInput = ({
12657
12682
  children: label
12658
12683
  }
12659
12684
  ),
12660
- extendedInput ? extendedInput : /* @__PURE__ */ jsx314(Box, { as: StatefulInput, width: inputWidth, ...generalInputProps }),
12685
+ extendedInput ? extendedInput : /* @__PURE__ */ jsx315(Box, { as: StatefulInput, width: inputWidth, ...generalInputProps }),
12661
12686
  hasBottomContainer && /* @__PURE__ */ jsxs84(
12662
12687
  Box,
12663
12688
  {
@@ -12701,7 +12726,7 @@ var Toggle_default = {
12701
12726
  };
12702
12727
 
12703
12728
  // src/components/Toggle/Toggle.tsx
12704
- import { jsx as jsx315, jsxs as jsxs85 } from "react/jsx-runtime";
12729
+ import { jsx as jsx316, jsxs as jsxs85 } from "react/jsx-runtime";
12705
12730
  var Toggle = ({
12706
12731
  id,
12707
12732
  children,
@@ -12736,7 +12761,7 @@ var Toggle = ({
12736
12761
  readOnly && Toggle_default["label--read-only"]
12737
12762
  ),
12738
12763
  children: [
12739
- /* @__PURE__ */ jsx315(
12764
+ /* @__PURE__ */ jsx316(
12740
12765
  "input",
12741
12766
  {
12742
12767
  ...getBaseHTMLProps(
@@ -12763,7 +12788,7 @@ var Toggle = ({
12763
12788
  onClick: readOnlyClickHandler(readOnly || isLoading, htmlProps.onClick)
12764
12789
  }
12765
12790
  ),
12766
- /* @__PURE__ */ jsx315("span", { className: cn(Toggle_default.track, focus_default["focus-styled-sibling"]), children: /* @__PURE__ */ jsx315("span", { className: Toggle_default.thumb, children: isLoading ? /* @__PURE__ */ jsx315(Spinner, { size: `var(--dds-icon-size-${size2})` }) : /* @__PURE__ */ jsx315(
12791
+ /* @__PURE__ */ jsx316("span", { className: cn(Toggle_default.track, focus_default["focus-styled-sibling"]), children: /* @__PURE__ */ jsx316("span", { className: Toggle_default.thumb, children: isLoading ? /* @__PURE__ */ jsx316(Spinner, { size: `var(--dds-icon-size-${size2})` }) : /* @__PURE__ */ jsx316(
12767
12792
  Icon,
12768
12793
  {
12769
12794
  className: Toggle_default.checkmark,
@@ -12772,7 +12797,7 @@ var Toggle = ({
12772
12797
  }
12773
12798
  ) }) }),
12774
12799
  /* @__PURE__ */ jsxs85("span", { className: cn(readOnly && Toggle_default["labeltext--readonly"]), children: [
12775
- readOnly && /* @__PURE__ */ jsx315(
12800
+ readOnly && /* @__PURE__ */ jsx316(
12776
12801
  Icon,
12777
12802
  {
12778
12803
  icon: LockIcon,
@@ -12782,7 +12807,7 @@ var Toggle = ({
12782
12807
  ),
12783
12808
  children,
12784
12809
  " ",
12785
- isLoading && /* @__PURE__ */ jsx315(VisuallyHidden, { children: "Innlastning p\xE5g\xE5r" })
12810
+ isLoading && /* @__PURE__ */ jsx316(VisuallyHidden, { children: "Innlastning p\xE5g\xE5r" })
12786
12811
  ] })
12787
12812
  ]
12788
12813
  }
@@ -12791,7 +12816,7 @@ var Toggle = ({
12791
12816
  Toggle.displayName = "Toggle";
12792
12817
 
12793
12818
  // src/components/ToggleBar/ToggleBar.tsx
12794
- import { useId as useId28, useState as useState32 } from "react";
12819
+ import { useId as useId28, useState as useState33 } from "react";
12795
12820
 
12796
12821
  // src/components/ToggleBar/ToggleBar.context.tsx
12797
12822
  import { createContext as createContext19, useContext as useContext27 } from "react";
@@ -12816,7 +12841,7 @@ var ToggleBar_default = {
12816
12841
  };
12817
12842
 
12818
12843
  // src/components/ToggleBar/ToggleBar.tsx
12819
- import { jsx as jsx316, jsxs as jsxs86 } from "react/jsx-runtime";
12844
+ import { jsx as jsx317, jsxs as jsxs86 } from "react/jsx-runtime";
12820
12845
  var ToggleBar = (props) => {
12821
12846
  const {
12822
12847
  children,
@@ -12833,13 +12858,13 @@ var ToggleBar = (props) => {
12833
12858
  } = props;
12834
12859
  const generatedId = useId28();
12835
12860
  const uniqueId = id != null ? id : `${generatedId}-ToggleBar`;
12836
- const [groupValue, setGroupValue] = useState32(value);
12861
+ const [groupValue, setGroupValue] = useState33(value);
12837
12862
  const handleChange = combineHandlers(
12838
12863
  (e) => setGroupValue(e.target.value),
12839
12864
  (e) => onChange && onChange(e, e.target.value)
12840
12865
  );
12841
12866
  const labelId = label && `${uniqueId}-label`;
12842
- return /* @__PURE__ */ jsx316(
12867
+ return /* @__PURE__ */ jsx317(
12843
12868
  ToggleBarContext,
12844
12869
  {
12845
12870
  value: {
@@ -12857,8 +12882,8 @@ var ToggleBar = (props) => {
12857
12882
  role: "radiogroup",
12858
12883
  "aria-labelledby": labelId != null ? labelId : htmlProps == null ? void 0 : htmlProps["aria-labelledby"],
12859
12884
  children: [
12860
- label && /* @__PURE__ */ jsx316(Typography, { id: labelId, as: "span", typographyType: "labelMedium", children: label }),
12861
- /* @__PURE__ */ jsx316("div", { className: ToggleBar_default.bar, children })
12885
+ label && /* @__PURE__ */ jsx317(Typography, { id: labelId, as: "span", typographyType: "labelMedium", children: label }),
12886
+ /* @__PURE__ */ jsx317("div", { className: ToggleBar_default.bar, children })
12862
12887
  ]
12863
12888
  }
12864
12889
  )
@@ -12869,7 +12894,7 @@ ToggleBar.displayName = "ToggleBar";
12869
12894
 
12870
12895
  // src/components/ToggleBar/ToggleRadio.tsx
12871
12896
  import { useId as useId29 } from "react";
12872
- import { jsx as jsx317, jsxs as jsxs87 } from "react/jsx-runtime";
12897
+ import { jsx as jsx318, jsxs as jsxs87 } from "react/jsx-runtime";
12873
12898
  var typographyTypes3 = {
12874
12899
  large: "bodyLarge",
12875
12900
  medium: "bodyMedium",
@@ -12909,7 +12934,7 @@ var ToggleRadio = ({
12909
12934
  };
12910
12935
  const contentTypeCn = label ? "with-text" : "just-icon";
12911
12936
  return /* @__PURE__ */ jsxs87("label", { htmlFor: uniqueId, className: ToggleBar_default.label, children: [
12912
- /* @__PURE__ */ jsx317(
12937
+ /* @__PURE__ */ jsx318(
12913
12938
  "input",
12914
12939
  {
12915
12940
  ...getBaseHTMLProps(
@@ -12942,8 +12967,8 @@ var ToggleRadio = ({
12942
12967
  focus_default["focus-styled-sibling"]
12943
12968
  ),
12944
12969
  children: [
12945
- icon && /* @__PURE__ */ jsx317(Icon, { icon, iconSize: "inherit" }),
12946
- label && /* @__PURE__ */ jsx317("span", { children: label })
12970
+ icon && /* @__PURE__ */ jsx318(Icon, { icon, iconSize: "inherit" }),
12971
+ label && /* @__PURE__ */ jsx318("span", { children: label })
12947
12972
  ]
12948
12973
  }
12949
12974
  )
@@ -12963,7 +12988,7 @@ var ToggleButton_default = {
12963
12988
  };
12964
12989
 
12965
12990
  // src/components/ToggleButton/ToggleButton.tsx
12966
- import { jsx as jsx318, jsxs as jsxs88 } from "react/jsx-runtime";
12991
+ import { jsx as jsx319, jsxs as jsxs88 } from "react/jsx-runtime";
12967
12992
  var ToggleButton = ({
12968
12993
  id,
12969
12994
  label,
@@ -12977,7 +13002,7 @@ var ToggleButton = ({
12977
13002
  const uniqueId = id != null ? id : `${generatedId}-toggleButton`;
12978
13003
  const hasIcon = !!icon;
12979
13004
  return /* @__PURE__ */ jsxs88(Box, { as: "label", htmlFor: uniqueId, width: "fit-content", children: [
12980
- /* @__PURE__ */ jsx318(
13005
+ /* @__PURE__ */ jsx319(
12981
13006
  "input",
12982
13007
  {
12983
13008
  ...getBaseHTMLProps(
@@ -13004,7 +13029,7 @@ var ToggleButton = ({
13004
13029
  focus_default["focus-styled-sibling"]
13005
13030
  ),
13006
13031
  children: [
13007
- hasIcon && /* @__PURE__ */ jsx318(Icon, { icon, iconSize: "inherit" }),
13032
+ hasIcon && /* @__PURE__ */ jsx319(Icon, { icon, iconSize: "inherit" }),
13008
13033
  " ",
13009
13034
  label
13010
13035
  ]
@@ -13016,7 +13041,7 @@ ToggleButton.displayName = "ToggleButton";
13016
13041
 
13017
13042
  // src/components/ToggleButton/ToggleButtonGroup.tsx
13018
13043
  import { useId as useId31 } from "react";
13019
- import { jsx as jsx319, jsxs as jsxs89 } from "react/jsx-runtime";
13044
+ import { jsx as jsx320, jsxs as jsxs89 } from "react/jsx-runtime";
13020
13045
  var ToggleButtonGroup = (props) => {
13021
13046
  const {
13022
13047
  children,
@@ -13038,8 +13063,8 @@ var ToggleButtonGroup = (props) => {
13038
13063
  role: "group",
13039
13064
  "aria-labelledby": label ? uniqueLabelId : void 0,
13040
13065
  children: [
13041
- !!label && /* @__PURE__ */ jsx319(Typography, { as: "span", typographyType: "labelMedium", id: uniqueLabelId, children: label }),
13042
- /* @__PURE__ */ jsx319(Box, { display: "flex", flexWrap: "wrap", gap: "x0.75", flexDirection: direction, children })
13066
+ !!label && /* @__PURE__ */ jsx320(Typography, { as: "span", typographyType: "labelMedium", id: uniqueLabelId, children: label }),
13067
+ /* @__PURE__ */ jsx320(Box, { display: "flex", flexWrap: "wrap", gap: "x0.75", flexDirection: direction, children })
13043
13068
  ]
13044
13069
  }
13045
13070
  );
@@ -13297,6 +13322,7 @@ export {
13297
13322
  StarHalfFilled,
13298
13323
  StarIcon,
13299
13324
  StatefulInput,
13325
+ StylelessButton,
13300
13326
  StylelessList,
13301
13327
  StylelessOList,
13302
13328
  SvgWrapper,