@norges-domstoler/dds-components 0.0.0-dev-20240223112113 → 0.0.0-dev-20240223113502

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -139,6 +139,7 @@ __export(src_exports, {
139
139
  Heading: () => Heading,
140
140
  HelpFilledIcon: () => HelpFilledIcon,
141
141
  HelpIcon: () => HelpIcon,
142
+ HelpSimpleIcon: () => HelpSimpleIcon,
142
143
  HiddenInput: () => HiddenInput,
143
144
  HomeIcon: () => HomeIcon,
144
145
  HourglassBottom: () => HourglassBottom,
@@ -1568,6 +1569,7 @@ __export(icons_exports, {
1568
1569
  GavelIcon: () => GavelIcon,
1569
1570
  HelpFilledIcon: () => HelpFilledIcon,
1570
1571
  HelpIcon: () => HelpIcon,
1572
+ HelpSimpleIcon: () => HelpSimpleIcon,
1571
1573
  HomeIcon: () => HomeIcon,
1572
1574
  HourglassBottom: () => HourglassBottom,
1573
1575
  HourglassDisabled: () => HourglassDisabled,
@@ -2668,6 +2670,12 @@ function LibraryAddIcon(props) {
2668
2670
  return /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime157.jsx)("path", { d: "M4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H8V4h12v12zm-7-2h2v-3h3V9h-3V6h-2v3h-3v2h3v3z" }) });
2669
2671
  }
2670
2672
 
2673
+ // src/components/Icon/icons/helpSimple.tsx
2674
+ var import_jsx_runtime158 = require("react/jsx-runtime");
2675
+ function HelpSimpleIcon(props) {
2676
+ return /* @__PURE__ */ (0, import_jsx_runtime158.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime158.jsx)("path", { d: "M13.25 21H10.75V18.5714H13.25V21ZM15.8375 11.5893L14.7125 12.7064C13.8125 13.5929 13.25 14.3214 13.25 16.1429H10.75V15.5357C10.75 14.2 11.3125 12.9857 12.2125 12.0993L13.7625 10.5693C14.225 10.1321 14.5 9.525 14.5 8.85714C14.5 7.52143 13.375 6.42857 12 6.42857C10.625 6.42857 9.5 7.52143 9.5 8.85714H7C7 6.17357 9.2375 4 12 4C14.7625 4 17 6.17357 17 8.85714C17 9.92571 16.55 10.8971 15.8375 11.5893Z" }) });
2677
+ }
2678
+
2671
2679
  // src/components/Typography/Typography/Typography.tsx
2672
2680
  var import_react2 = require("react");
2673
2681
  var import_styled_components9 = __toESM(require("styled-components"));
@@ -2765,7 +2773,7 @@ var getAnchorStyling = (external, interactionStyling, typographyType7, withMargi
2765
2773
  `;
2766
2774
 
2767
2775
  // src/components/Typography/Typography/Typography.tsx
2768
- var import_jsx_runtime158 = require("react/jsx-runtime");
2776
+ var import_jsx_runtime159 = require("react/jsx-runtime");
2769
2777
  var StyledTypography = import_styled_components9.default.p.withConfig({
2770
2778
  shouldForwardProp: (prop) => {
2771
2779
  const styleOnlyProps = [
@@ -2845,13 +2853,13 @@ var Typography = (0, import_react2.forwardRef)(
2845
2853
  target: targetProp,
2846
2854
  externalLink: externalLinkProp
2847
2855
  };
2848
- return /* @__PURE__ */ (0, import_jsx_runtime158.jsx)(StyledTypography, { ref, ...typographyProps, children });
2856
+ return /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(StyledTypography, { ref, ...typographyProps, children });
2849
2857
  }
2850
2858
  );
2851
2859
  Typography.displayName = "Typography";
2852
2860
 
2853
2861
  // src/components/InputMessage/InputMessage.tsx
2854
- var import_jsx_runtime159 = require("react/jsx-runtime");
2862
+ var import_jsx_runtime160 = require("react/jsx-runtime");
2855
2863
  var InputMessageWrapper = import_styled_components10.default.div.withConfig({
2856
2864
  shouldForwardProp: (prop) => prop !== "messageType"
2857
2865
  })`
@@ -2878,9 +2886,9 @@ var InputMessage = (0, import_react3.forwardRef)(
2878
2886
  messageType
2879
2887
  };
2880
2888
  const isError = messageType === "error";
2881
- return /* @__PURE__ */ (0, import_jsx_runtime159.jsxs)(InputMessageWrapper, { ...wrapperProps, children: [
2882
- isError && /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(Icon, { icon: ErrorIcon, iconSize: "inherit" }),
2883
- /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(
2889
+ return /* @__PURE__ */ (0, import_jsx_runtime160.jsxs)(InputMessageWrapper, { ...wrapperProps, children: [
2890
+ isError && /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(Icon, { icon: ErrorIcon, iconSize: "inherit" }),
2891
+ /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(
2884
2892
  Typography,
2885
2893
  {
2886
2894
  typographyType: isError ? "supportingStyleLabel01" : "supportingStyleHelperText01",
@@ -2896,9 +2904,9 @@ var InputMessage = (0, import_react3.forwardRef)(
2896
2904
  InputMessage.displayName = "InputMessage";
2897
2905
 
2898
2906
  // src/utils/renderInputMessage.tsx
2899
- var import_jsx_runtime160 = require("react/jsx-runtime");
2900
- var renderInputMessage = (tip, tipId, errorMessage, errorMessageId) => /* @__PURE__ */ (0, import_jsx_runtime160.jsxs)(import_jsx_runtime160.Fragment, { children: [
2901
- errorMessage && errorMessageId && /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(
2907
+ var import_jsx_runtime161 = require("react/jsx-runtime");
2908
+ var renderInputMessage = (tip, tipId, errorMessage, errorMessageId) => /* @__PURE__ */ (0, import_jsx_runtime161.jsxs)(import_jsx_runtime161.Fragment, { children: [
2909
+ errorMessage && errorMessageId && /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(
2902
2910
  InputMessage,
2903
2911
  {
2904
2912
  message: errorMessage,
@@ -2906,7 +2914,7 @@ var renderInputMessage = (tip, tipId, errorMessage, errorMessageId) => /* @__PUR
2906
2914
  id: errorMessageId
2907
2915
  }
2908
2916
  ),
2909
- tip && tipId && !errorMessage && /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(InputMessage, { message: tip, messageType: "tip", id: tipId })
2917
+ tip && tipId && !errorMessage && /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(InputMessage, { message: tip, messageType: "tip", id: tipId })
2910
2918
  ] });
2911
2919
 
2912
2920
  // src/utils/searchFilter.tsx
@@ -3242,7 +3250,7 @@ var appShellTokens = { navigation, floatingActionButtons };
3242
3250
 
3243
3251
  // src/components/AppShell/AppShellContext.tsx
3244
3252
  var import_react12 = require("react");
3245
- var import_jsx_runtime161 = require("react/jsx-runtime");
3253
+ var import_jsx_runtime162 = require("react/jsx-runtime");
3246
3254
  var AppShellContext = (0, import_react12.createContext)({
3247
3255
  isOpen: false,
3248
3256
  setOpen: () => null
@@ -3251,7 +3259,7 @@ var AppShellContextProvider = ({
3251
3259
  children
3252
3260
  }) => {
3253
3261
  const [isOpen, setOpen] = (0, import_react12.useState)(false);
3254
- return /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(AppShellContext.Provider, { value: { isOpen, setOpen }, children });
3262
+ return /* @__PURE__ */ (0, import_jsx_runtime162.jsx)(AppShellContext.Provider, { value: { isOpen, setOpen }, children });
3255
3263
  };
3256
3264
  var useAppShellContext = () => {
3257
3265
  return (0, import_react12.useContext)(AppShellContext);
@@ -3264,7 +3272,7 @@ var import_styled_components23 = __toESM(require("styled-components"));
3264
3272
 
3265
3273
  // src/components/AppShell/Navigation/NavigationItem.tsx
3266
3274
  var import_styled_components11 = __toESM(require("styled-components"));
3267
- var import_jsx_runtime162 = require("react/jsx-runtime");
3275
+ var import_jsx_runtime163 = require("react/jsx-runtime");
3268
3276
  var { navigation: navTokens } = appShellTokens;
3269
3277
  var navItemTokens = navTokens.navigationItems.item;
3270
3278
  var IconContainer = import_styled_components11.default.div`
@@ -3342,12 +3350,12 @@ var NavigationItem = ({
3342
3350
  setOpen(false);
3343
3351
  };
3344
3352
  if (external) {
3345
- return /* @__PURE__ */ (0, import_jsx_runtime162.jsxs)(ExternalNavItem, { as: Comp, ...rest, onClick, children: [
3353
+ return /* @__PURE__ */ (0, import_jsx_runtime163.jsxs)(ExternalNavItem, { as: Comp, ...rest, onClick, children: [
3346
3354
  children,
3347
- /* @__PURE__ */ (0, import_jsx_runtime162.jsx)(Icon, { icon: OpenExternalIcon, iconSize: "inherit" })
3355
+ /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(Icon, { icon: OpenExternalIcon, iconSize: "inherit" })
3348
3356
  ] });
3349
3357
  }
3350
- return /* @__PURE__ */ (0, import_jsx_runtime162.jsxs)(
3358
+ return /* @__PURE__ */ (0, import_jsx_runtime163.jsxs)(
3351
3359
  InternalNavItem,
3352
3360
  {
3353
3361
  as: Comp,
@@ -3355,9 +3363,9 @@ var NavigationItem = ({
3355
3363
  onClick,
3356
3364
  className: [active ? "active" : "", rest.className].join(" "),
3357
3365
  children: [
3358
- /* @__PURE__ */ (0, import_jsx_runtime162.jsx)(IconContainer, { children: icon12 && /* @__PURE__ */ (0, import_jsx_runtime162.jsx)(Icon, { icon: icon12 }) }),
3359
- /* @__PURE__ */ (0, import_jsx_runtime162.jsx)(TextContainer, { children }),
3360
- /* @__PURE__ */ (0, import_jsx_runtime162.jsx)(ChevronContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime162.jsx)(Icon, { icon: ChevronRightIcon }) })
3366
+ /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(IconContainer, { children: icon12 && /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(Icon, { icon: icon12 }) }),
3367
+ /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(TextContainer, { children }),
3368
+ /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(ChevronContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(Icon, { icon: ChevronRightIcon }) })
3361
3369
  ]
3362
3370
  }
3363
3371
  );
@@ -3390,18 +3398,18 @@ var import_development_utils = require("@norges-domstoler/development-utils");
3390
3398
  var import_styled_components22 = __toESM(require("styled-components"));
3391
3399
 
3392
3400
  // src/components/AppShell/Navigation/EmbeteIcon.tsx
3393
- var import_jsx_runtime163 = require("react/jsx-runtime");
3401
+ var import_jsx_runtime164 = require("react/jsx-runtime");
3394
3402
  var EmbeteIcon = ({ type, ...rest }) => {
3395
3403
  switch (type) {
3396
3404
  case "jordskifterett":
3397
- return /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(JordskifterettIcon, { ...rest });
3405
+ return /* @__PURE__ */ (0, import_jsx_runtime164.jsx)(JordskifterettIcon, { ...rest });
3398
3406
  case "tingrett":
3399
- return /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(TingrettIcon, { ...rest });
3407
+ return /* @__PURE__ */ (0, import_jsx_runtime164.jsx)(TingrettIcon, { ...rest });
3400
3408
  case "lagmannsrett":
3401
- return /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(LagmannsrettIcon, { ...rest });
3409
+ return /* @__PURE__ */ (0, import_jsx_runtime164.jsx)(LagmannsrettIcon, { ...rest });
3402
3410
  case "h\xF8yesterett":
3403
3411
  case void 0:
3404
- return /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(PersonIcon, { ...rest });
3412
+ return /* @__PURE__ */ (0, import_jsx_runtime164.jsx)(PersonIcon, { ...rest });
3405
3413
  }
3406
3414
  };
3407
3415
 
@@ -3767,11 +3775,11 @@ var TextOverflowEllipsisInner = import_styled_components13.default.span`
3767
3775
  `;
3768
3776
 
3769
3777
  // src/components/Typography/Caption/Caption.tsx
3770
- var import_jsx_runtime164 = require("react/jsx-runtime");
3778
+ var import_jsx_runtime165 = require("react/jsx-runtime");
3771
3779
  var Caption = (0, import_react13.forwardRef)(
3772
3780
  (props, ref) => {
3773
3781
  const { id, className, htmlProps, children, ...rest } = props;
3774
- return /* @__PURE__ */ (0, import_jsx_runtime164.jsx)(
3782
+ return /* @__PURE__ */ (0, import_jsx_runtime165.jsx)(
3775
3783
  Typography,
3776
3784
  {
3777
3785
  ...getBaseHTMLProps(id, className, htmlProps, rest),
@@ -3787,7 +3795,7 @@ Caption.displayName = "Caption";
3787
3795
 
3788
3796
  // src/components/Typography/Heading/Heading.tsx
3789
3797
  var import_react14 = require("react");
3790
- var import_jsx_runtime165 = require("react/jsx-runtime");
3798
+ var import_jsx_runtime166 = require("react/jsx-runtime");
3791
3799
  var getHeadingElement = (level) => `h${level}`;
3792
3800
  var getDefaultTypographyType = (h) => {
3793
3801
  switch (h) {
@@ -3825,17 +3833,17 @@ var Heading = (0, import_react14.forwardRef)(
3825
3833
  as: headingElement,
3826
3834
  ref
3827
3835
  };
3828
- return /* @__PURE__ */ (0, import_jsx_runtime165.jsx)(Typography, { ...headingProps, children });
3836
+ return /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(Typography, { ...headingProps, children });
3829
3837
  }
3830
3838
  );
3831
3839
  Heading.displayName = "Heading";
3832
3840
 
3833
3841
  // src/components/Typography/Label/Label.tsx
3834
3842
  var import_react15 = require("react");
3835
- var import_jsx_runtime166 = require("react/jsx-runtime");
3843
+ var import_jsx_runtime167 = require("react/jsx-runtime");
3836
3844
  var Label = (0, import_react15.forwardRef)((props, ref) => {
3837
3845
  const { showRequiredStyling, id, className, htmlProps, children, ...rest } = props;
3838
- return /* @__PURE__ */ (0, import_jsx_runtime166.jsxs)(
3846
+ return /* @__PURE__ */ (0, import_jsx_runtime167.jsxs)(
3839
3847
  Typography,
3840
3848
  {
3841
3849
  ...getBaseHTMLProps(id, className, htmlProps, rest),
@@ -3844,7 +3852,7 @@ var Label = (0, import_react15.forwardRef)((props, ref) => {
3844
3852
  children: [
3845
3853
  children,
3846
3854
  " ",
3847
- showRequiredStyling && /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(RequiredMarker, {})
3855
+ showRequiredStyling && /* @__PURE__ */ (0, import_jsx_runtime167.jsx)(RequiredMarker, {})
3848
3856
  ]
3849
3857
  }
3850
3858
  );
@@ -3853,11 +3861,11 @@ Label.displayName = "Label";
3853
3861
 
3854
3862
  // src/components/Typography/Legend/Legend.tsx
3855
3863
  var import_react16 = require("react");
3856
- var import_jsx_runtime167 = require("react/jsx-runtime");
3864
+ var import_jsx_runtime168 = require("react/jsx-runtime");
3857
3865
  var Legend = (0, import_react16.forwardRef)(
3858
3866
  (props, ref) => {
3859
3867
  const { id, className, htmlProps, children, ...rest } = props;
3860
- return /* @__PURE__ */ (0, import_jsx_runtime167.jsx)(
3868
+ return /* @__PURE__ */ (0, import_jsx_runtime168.jsx)(
3861
3869
  Typography,
3862
3870
  {
3863
3871
  ...getBaseHTMLProps(id, className, htmlProps, rest),
@@ -3874,7 +3882,7 @@ Legend.displayName = "Legend";
3874
3882
  // src/components/Typography/Link/Link.tsx
3875
3883
  var import_react17 = require("react");
3876
3884
  var import_styled_components14 = __toESM(require("styled-components"));
3877
- var import_jsx_runtime168 = require("react/jsx-runtime");
3885
+ var import_jsx_runtime169 = require("react/jsx-runtime");
3878
3886
  var StyledLink = import_styled_components14.default.a`
3879
3887
  ${({ $external, $typographyType, $withMargins }) => getAnchorStyling($external, void 0, $typographyType, $withMargins)}
3880
3888
  `;
@@ -3889,7 +3897,7 @@ var Link = (0, import_react17.forwardRef)((props, ref) => {
3889
3897
  target,
3890
3898
  ...rest
3891
3899
  } = props;
3892
- return /* @__PURE__ */ (0, import_jsx_runtime168.jsx)(
3900
+ return /* @__PURE__ */ (0, import_jsx_runtime169.jsx)(
3893
3901
  StyledLink,
3894
3902
  {
3895
3903
  ...getBaseHTMLProps(id, className, htmlProps, rest),
@@ -3907,7 +3915,7 @@ Link.displayName = "Link";
3907
3915
 
3908
3916
  // src/components/Typography/Paragraph/Paragraph.tsx
3909
3917
  var import_react18 = require("react");
3910
- var import_jsx_runtime169 = require("react/jsx-runtime");
3918
+ var import_jsx_runtime170 = require("react/jsx-runtime");
3911
3919
  var Paragraph = (0, import_react18.forwardRef)(
3912
3920
  (props, ref) => {
3913
3921
  const {
@@ -3923,7 +3931,7 @@ var Paragraph = (0, import_react18.forwardRef)(
3923
3931
  typographyType: typographyType7,
3924
3932
  ref
3925
3933
  };
3926
- return /* @__PURE__ */ (0, import_jsx_runtime169.jsx)(Typography, { ...paragraphProps, children });
3934
+ return /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(Typography, { ...paragraphProps, children });
3927
3935
  }
3928
3936
  );
3929
3937
  Paragraph.displayName = "Paragraph";
@@ -4100,7 +4108,7 @@ var Label2 = import_styled_components15.default.span.withConfig({
4100
4108
  var import_dds_design_tokens19 = require("@norges-domstoler/dds-design-tokens");
4101
4109
  var import_react19 = require("react");
4102
4110
  var import_styled_components16 = __toESM(require("styled-components"));
4103
- var import_jsx_runtime170 = require("react/jsx-runtime");
4111
+ var import_jsx_runtime171 = require("react/jsx-runtime");
4104
4112
  var StyledSpinner = import_styled_components16.default.svg`
4105
4113
  display: block;
4106
4114
  width: ${({ $size }) => $size};
@@ -4163,7 +4171,7 @@ function Spinner(props) {
4163
4171
  $outerAnimationDelay: outerAnimationDelay,
4164
4172
  $size: size2
4165
4173
  };
4166
- return /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(
4174
+ return /* @__PURE__ */ (0, import_jsx_runtime171.jsxs)(
4167
4175
  StyledSpinner,
4168
4176
  {
4169
4177
  viewBox: "0 0 50 50",
@@ -4171,8 +4179,8 @@ function Spinner(props) {
4171
4179
  "aria-labelledby": uniqueId,
4172
4180
  ...spinnerProps,
4173
4181
  children: [
4174
- tooltip && /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("title", { id: uniqueId, children: tooltip }),
4175
- /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(
4182
+ tooltip && /* @__PURE__ */ (0, import_jsx_runtime171.jsx)("title", { id: uniqueId, children: tooltip }),
4183
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(
4176
4184
  Circle,
4177
4185
  {
4178
4186
  $innerAnimationDelay: innerAnimationDelay,
@@ -4191,7 +4199,7 @@ function Spinner(props) {
4191
4199
  Spinner.displayName = "Spinner";
4192
4200
 
4193
4201
  // src/components/Button/Button.tsx
4194
- var import_jsx_runtime171 = require("react/jsx-runtime");
4202
+ var import_jsx_runtime172 = require("react/jsx-runtime");
4195
4203
  var {
4196
4204
  button: { sizes: sizes3, appearances: appearances3 }
4197
4205
  } = buttonTokens;
@@ -4245,28 +4253,28 @@ var Button = (0, import_react20.forwardRef)(
4245
4253
  onBlur
4246
4254
  };
4247
4255
  const isIconButton = !hasLabel && hasIcon;
4248
- const iconElement = icon12 && /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(
4256
+ const iconElement = icon12 && /* @__PURE__ */ (0, import_jsx_runtime172.jsx)(
4249
4257
  StyledIconWrapperSpan,
4250
4258
  {
4251
4259
  size: size2,
4252
4260
  isHidden: hasIcon && loading,
4253
4261
  justIcon: isIconButton,
4254
- children: /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(Icon, { icon: icon12, iconSize: "inherit" })
4262
+ children: /* @__PURE__ */ (0, import_jsx_runtime172.jsx)(Icon, { icon: icon12, iconSize: "inherit" })
4255
4263
  }
4256
4264
  );
4257
- return /* @__PURE__ */ (0, import_jsx_runtime171.jsxs)(ButtonWrapper, { ...wrapperProps, "aria-disabled": loading, children: [
4258
- !isIconButton && /* @__PURE__ */ (0, import_jsx_runtime171.jsxs)(import_jsx_runtime171.Fragment, { children: [
4265
+ return /* @__PURE__ */ (0, import_jsx_runtime172.jsxs)(ButtonWrapper, { ...wrapperProps, "aria-disabled": loading, children: [
4266
+ !isIconButton && /* @__PURE__ */ (0, import_jsx_runtime172.jsxs)(import_jsx_runtime172.Fragment, { children: [
4259
4267
  iconPosition === "left" && iconElement,
4260
- /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(Label2, { isHidden: loading, "aria-hidden": loading, children: children != null ? children : label3 }),
4268
+ /* @__PURE__ */ (0, import_jsx_runtime172.jsx)(Label2, { isHidden: loading, "aria-hidden": loading, children: children != null ? children : label3 }),
4261
4269
  iconPosition === "right" && iconElement
4262
4270
  ] }),
4263
4271
  isIconButton && iconElement,
4264
- loading && /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(
4272
+ loading && /* @__PURE__ */ (0, import_jsx_runtime172.jsx)(
4265
4273
  StyledIconWrapperSpan,
4266
4274
  {
4267
4275
  size: size2,
4268
4276
  absolutePosition: hasIcon || hasLabel,
4269
- children: /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(
4277
+ children: /* @__PURE__ */ (0, import_jsx_runtime172.jsx)(
4270
4278
  Spinner,
4271
4279
  {
4272
4280
  color: appearances3[appearance].purpose[purpose].base.color,
@@ -4333,7 +4341,7 @@ var overflowMenuTokens = {
4333
4341
  // src/components/OverflowMenu/OverflowMenuItem.tsx
4334
4342
  var import_react21 = require("react");
4335
4343
  var import_styled_components17 = __toESM(require("styled-components"));
4336
- var import_jsx_runtime172 = require("react/jsx-runtime");
4344
+ var import_jsx_runtime173 = require("react/jsx-runtime");
4337
4345
  var { element: element2, link: link2 } = overflowMenuTokens;
4338
4346
  var elementBaseCSS = import_styled_components17.css`
4339
4347
  display: flex;
@@ -4426,15 +4434,15 @@ var OverflowMenuItem = (0, import_react21.forwardRef)((props, ref) => {
4426
4434
  role: "menuitem",
4427
4435
  tabIndex: focus ? 0 : -1
4428
4436
  };
4429
- const iconElement = icon12 && /* @__PURE__ */ (0, import_jsx_runtime172.jsx)(Icon, { iconSize: "inherit", icon: icon12 });
4437
+ const iconElement = icon12 && /* @__PURE__ */ (0, import_jsx_runtime173.jsx)(Icon, { iconSize: "inherit", icon: icon12 });
4430
4438
  if (!href && !onClick) {
4431
- return /* @__PURE__ */ (0, import_jsx_runtime172.jsxs)(Span, { ...{ ...getBaseHTMLProps(id, className, htmlProps, rest), ref }, children: [
4432
- /* @__PURE__ */ (0, import_jsx_runtime172.jsx)(IconWrapper, { children: iconElement }),
4439
+ return /* @__PURE__ */ (0, import_jsx_runtime173.jsxs)(Span, { ...{ ...getBaseHTMLProps(id, className, htmlProps, rest), ref }, children: [
4440
+ /* @__PURE__ */ (0, import_jsx_runtime173.jsx)(IconWrapper, { children: iconElement }),
4433
4441
  title3
4434
4442
  ] });
4435
4443
  }
4436
4444
  if (!href) {
4437
- return /* @__PURE__ */ (0, import_jsx_runtime172.jsxs)(
4445
+ return /* @__PURE__ */ (0, import_jsx_runtime173.jsxs)(
4438
4446
  Link2,
4439
4447
  {
4440
4448
  ...getBaseHTMLProps(id, className, htmlProps, rest),
@@ -4442,13 +4450,13 @@ var OverflowMenuItem = (0, import_react21.forwardRef)((props, ref) => {
4442
4450
  as: "button",
4443
4451
  ref: combinedRef,
4444
4452
  children: [
4445
- /* @__PURE__ */ (0, import_jsx_runtime172.jsx)(IconWrapper, { children: iconElement }),
4453
+ /* @__PURE__ */ (0, import_jsx_runtime173.jsx)(IconWrapper, { children: iconElement }),
4446
4454
  title3
4447
4455
  ]
4448
4456
  }
4449
4457
  );
4450
4458
  }
4451
- return /* @__PURE__ */ (0, import_jsx_runtime172.jsxs)(
4459
+ return /* @__PURE__ */ (0, import_jsx_runtime173.jsxs)(
4452
4460
  Link2,
4453
4461
  {
4454
4462
  ...getBaseHTMLProps(id, className, htmlProps, rest),
@@ -4456,7 +4464,7 @@ var OverflowMenuItem = (0, import_react21.forwardRef)((props, ref) => {
4456
4464
  as: "a",
4457
4465
  ref: combinedRef,
4458
4466
  children: [
4459
- /* @__PURE__ */ (0, import_jsx_runtime172.jsx)(IconWrapper, { children: iconElement }),
4467
+ /* @__PURE__ */ (0, import_jsx_runtime173.jsx)(IconWrapper, { children: iconElement }),
4460
4468
  title3
4461
4469
  ]
4462
4470
  }
@@ -4489,7 +4497,7 @@ var dividerTokens = {
4489
4497
  };
4490
4498
 
4491
4499
  // src/components/Divider/Divider.tsx
4492
- var import_jsx_runtime173 = require("react/jsx-runtime");
4500
+ var import_jsx_runtime174 = require("react/jsx-runtime");
4493
4501
  var StyledDivider = import_styled_components18.default.hr`
4494
4502
  border: 0;
4495
4503
  background-color: transparent;
@@ -4506,7 +4514,7 @@ var Divider = (0, import_react22.forwardRef)((props, ref) => {
4506
4514
  ...getBaseHTMLProps(id, className, htmlProps, rest),
4507
4515
  color
4508
4516
  };
4509
- return /* @__PURE__ */ (0, import_jsx_runtime173.jsx)(StyledDivider, { ref, ...lineProps });
4517
+ return /* @__PURE__ */ (0, import_jsx_runtime174.jsx)(StyledDivider, { ref, ...lineProps });
4510
4518
  });
4511
4519
  Divider.displayName = "Divider";
4512
4520
 
@@ -4549,7 +4557,7 @@ var scrollbarTokens = {
4549
4557
  };
4550
4558
 
4551
4559
  // src/components/ScrollableContainer/Scrollbar.tsx
4552
- var import_jsx_runtime174 = require("react/jsx-runtime");
4560
+ var import_jsx_runtime175 = require("react/jsx-runtime");
4553
4561
  var { track: track2, thumb: thumb2, minThumbHeightPx } = scrollbarTokens;
4554
4562
  var ScrollbarOuterWrapper = import_styled_components19.default.div``;
4555
4563
  var ScrollbarElements = import_styled_components19.default.div`
@@ -4685,13 +4693,13 @@ var Scrollbar = (props) => {
4685
4693
  document.removeEventListener("mouseleave", handleThumbMouseup);
4686
4694
  };
4687
4695
  }, [handleThumbMousemove, handleThumbMouseup]);
4688
- return isScrollable ? /* @__PURE__ */ (0, import_jsx_runtime174.jsx)(
4696
+ return isScrollable ? /* @__PURE__ */ (0, import_jsx_runtime175.jsx)(
4689
4697
  ScrollbarOuterWrapper,
4690
4698
  {
4691
4699
  ...getBaseHTMLProps(id, className, htmlProps, rest),
4692
- children: /* @__PURE__ */ (0, import_jsx_runtime174.jsxs)(ScrollbarElements, { children: [
4693
- /* @__PURE__ */ (0, import_jsx_runtime174.jsx)(Track, { ref: trackRef, onClick: handleTrackClick }),
4694
- /* @__PURE__ */ (0, import_jsx_runtime174.jsx)(
4700
+ children: /* @__PURE__ */ (0, import_jsx_runtime175.jsxs)(ScrollbarElements, { children: [
4701
+ /* @__PURE__ */ (0, import_jsx_runtime175.jsx)(Track, { ref: trackRef, onClick: handleTrackClick }),
4702
+ /* @__PURE__ */ (0, import_jsx_runtime175.jsx)(
4695
4703
  Thumb,
4696
4704
  {
4697
4705
  style: {
@@ -4711,7 +4719,7 @@ Scrollbar.displayName = "Scrollbar";
4711
4719
  // src/components/ScrollableContainer/ScrollableContainer.tsx
4712
4720
  var import_react24 = require("react");
4713
4721
  var import_styled_components20 = __toESM(require("styled-components"));
4714
- var import_jsx_runtime175 = require("react/jsx-runtime");
4722
+ var import_jsx_runtime176 = require("react/jsx-runtime");
4715
4723
  var { track: track3, content: content2, outerContainer: outerContainer2 } = scrollbarTokens;
4716
4724
  var StyledScrollableContainer = import_styled_components20.default.div`
4717
4725
  grid-template: auto / 1fr ${track3.width};
@@ -4747,13 +4755,13 @@ var ScrollableContainer = (props) => {
4747
4755
  ...rest
4748
4756
  } = props;
4749
4757
  const ref = (0, import_react24.useRef)(null);
4750
- return /* @__PURE__ */ (0, import_jsx_runtime175.jsxs)(
4758
+ return /* @__PURE__ */ (0, import_jsx_runtime176.jsxs)(
4751
4759
  StyledScrollableContainer,
4752
4760
  {
4753
4761
  ...getBaseHTMLProps(id, className, htmlProps, rest),
4754
4762
  children: [
4755
- /* @__PURE__ */ (0, import_jsx_runtime175.jsx)(Content, { $height: contentHeight, ref, tabIndex: 0, children }),
4756
- /* @__PURE__ */ (0, import_jsx_runtime175.jsx)(Scrollbar, { contentRef: ref })
4763
+ /* @__PURE__ */ (0, import_jsx_runtime176.jsx)(Content, { $height: contentHeight, ref, tabIndex: 0, children }),
4764
+ /* @__PURE__ */ (0, import_jsx_runtime176.jsx)(Scrollbar, { contentRef: ref })
4757
4765
  ]
4758
4766
  }
4759
4767
  );
@@ -4792,7 +4800,7 @@ var scrollbarStyling = {
4792
4800
  };
4793
4801
 
4794
4802
  // src/components/OverflowMenu/OverflowMenu.tsx
4795
- var import_jsx_runtime176 = require("react/jsx-runtime");
4803
+ var import_jsx_runtime177 = require("react/jsx-runtime");
4796
4804
  var { container: container2, divider: divider3 } = overflowMenuTokens;
4797
4805
  var Container = import_styled_components21.default.div`
4798
4806
  box-sizing: border-box;
@@ -4883,7 +4891,7 @@ var OverflowMenu = (0, import_react25.forwardRef)(
4883
4891
  hasContextItems && interactiveItems.push(...items);
4884
4892
  const hasInteractiveItems = interactiveItems.length > 0;
4885
4893
  const [focus, setFocus] = useRoveFocus(interactiveItems == null ? void 0 : interactiveItems.length, !isOpen);
4886
- const interactiveItemsList = hasInteractiveItems ? interactiveItems.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime176.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime176.jsx)(
4894
+ const interactiveItemsList = hasInteractiveItems ? interactiveItems.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime177.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime177.jsx)(
4887
4895
  OverflowMenuItem,
4888
4896
  {
4889
4897
  index,
@@ -4904,14 +4912,14 @@ var OverflowMenu = (0, import_react25.forwardRef)(
4904
4912
  const navItemsFirstPos = hasNavItems ? userPropsPos + 1 : -1;
4905
4913
  const navItemsLastPos = hasNavItems ? userPropsPos + navItems.length : -1;
4906
4914
  const contextItemsFirstPos = !hasContextItems ? -1 : hasNavItems ? navItemsLastPos + 1 : userPropsPos + 1;
4907
- return /* @__PURE__ */ (0, import_jsx_runtime176.jsxs)(import_jsx_runtime176.Fragment, { children: [
4908
- hasInteractiveUser && /* @__PURE__ */ (0, import_jsx_runtime176.jsx)(OverflowMenuList, { children: interactiveItemsList == null ? void 0 : interactiveItemsList[0] }),
4909
- hasNavItems && /* @__PURE__ */ (0, import_jsx_runtime176.jsx)("nav", { children: /* @__PURE__ */ (0, import_jsx_runtime176.jsx)(OverflowMenuList, { children: interactiveItemsList == null ? void 0 : interactiveItemsList.slice(
4915
+ return /* @__PURE__ */ (0, import_jsx_runtime177.jsxs)(import_jsx_runtime177.Fragment, { children: [
4916
+ hasInteractiveUser && /* @__PURE__ */ (0, import_jsx_runtime177.jsx)(OverflowMenuList, { children: interactiveItemsList == null ? void 0 : interactiveItemsList[0] }),
4917
+ hasNavItems && /* @__PURE__ */ (0, import_jsx_runtime177.jsx)("nav", { children: /* @__PURE__ */ (0, import_jsx_runtime177.jsx)(OverflowMenuList, { children: interactiveItemsList == null ? void 0 : interactiveItemsList.slice(
4910
4918
  navItemsFirstPos,
4911
4919
  navItemsLastPos + 1
4912
4920
  ) }) }),
4913
- hasNavItems && hasContextItems && /* @__PURE__ */ (0, import_jsx_runtime176.jsx)(StyledDivider2, { color: "primaryLighter" }),
4914
- hasContextItems && /* @__PURE__ */ (0, import_jsx_runtime176.jsx)(OverflowMenuList, { "aria-label": "kontekstmeny", children: interactiveItemsList == null ? void 0 : interactiveItemsList.slice(
4921
+ hasNavItems && hasContextItems && /* @__PURE__ */ (0, import_jsx_runtime177.jsx)(StyledDivider2, { color: "primaryLighter" }),
4922
+ hasContextItems && /* @__PURE__ */ (0, import_jsx_runtime177.jsx)(OverflowMenuList, { "aria-label": "kontekstmeny", children: interactiveItemsList == null ? void 0 : interactiveItemsList.slice(
4915
4923
  contextItemsFirstPos,
4916
4924
  interactiveItemsList.length
4917
4925
  ) })
@@ -4929,8 +4937,8 @@ var OverflowMenu = (0, import_react25.forwardRef)(
4929
4937
  "aria-hidden": !isOpen,
4930
4938
  role: "menu"
4931
4939
  };
4932
- return /* @__PURE__ */ (0, import_jsx_runtime176.jsxs)(Container, { ...containerProps, "aria-label": "bruk piltaster for \xE5 navigere", children: [
4933
- hasStaticUser && /* @__PURE__ */ (0, import_jsx_runtime176.jsx)(OverflowMenuItem, { title: username, icon: PersonIcon }),
4940
+ return /* @__PURE__ */ (0, import_jsx_runtime177.jsxs)(Container, { ...containerProps, "aria-label": "bruk piltaster for \xE5 navigere", children: [
4941
+ hasStaticUser && /* @__PURE__ */ (0, import_jsx_runtime177.jsx)(OverflowMenuItem, { title: username, icon: PersonIcon }),
4934
4942
  interactiveContent()
4935
4943
  ] });
4936
4944
  }
@@ -4939,7 +4947,7 @@ OverflowMenu.displayName = "OverflowMenu";
4939
4947
 
4940
4948
  // src/components/OverflowMenu/OverflowMenuGroup.tsx
4941
4949
  var import_react26 = require("react");
4942
- var import_jsx_runtime177 = require("react/jsx-runtime");
4950
+ var import_jsx_runtime178 = require("react/jsx-runtime");
4943
4951
  var OverflowMenuGroup = ({
4944
4952
  children,
4945
4953
  onClose,
@@ -4978,12 +4986,12 @@ var OverflowMenuGroup = ({
4978
4986
  anchorRef: buttonRef
4979
4987
  }));
4980
4988
  });
4981
- return /* @__PURE__ */ (0, import_jsx_runtime177.jsx)(import_jsx_runtime177.Fragment, { children: Children9 });
4989
+ return /* @__PURE__ */ (0, import_jsx_runtime178.jsx)(import_jsx_runtime178.Fragment, { children: Children9 });
4982
4990
  };
4983
4991
  OverflowMenuGroup.displayName = "OverflowMenuGroup";
4984
4992
 
4985
4993
  // src/components/AppShell/Navigation/TopBar.tsx
4986
- var import_jsx_runtime178 = require("react/jsx-runtime");
4994
+ var import_jsx_runtime179 = require("react/jsx-runtime");
4987
4995
  var { navigation: navTokens3, floatingActionButtons: floatingActionButtons2 } = appShellTokens;
4988
4996
  var LogoBurgerGroup = import_styled_components22.default.div`
4989
4997
  display: flex;
@@ -5079,33 +5087,33 @@ var TopBar = ({
5079
5087
  environmentBannerActive,
5080
5088
  title: title3
5081
5089
  }) => {
5082
- const Icon2 = (props) => /* @__PURE__ */ (0, import_jsx_runtime178.jsx)(EmbeteIcon, { ...props, type: user.embete.type });
5083
- return /* @__PURE__ */ (0, import_jsx_runtime178.jsxs)(Bar, { environmentBannerActive, children: [
5084
- /* @__PURE__ */ (0, import_jsx_runtime178.jsxs)(LogoBurgerGroup, { children: [
5085
- /* @__PURE__ */ (0, import_jsx_runtime178.jsx)(
5090
+ const Icon2 = (props) => /* @__PURE__ */ (0, import_jsx_runtime179.jsx)(EmbeteIcon, { ...props, type: user.embete.type });
5091
+ return /* @__PURE__ */ (0, import_jsx_runtime179.jsxs)(Bar, { environmentBannerActive, children: [
5092
+ /* @__PURE__ */ (0, import_jsx_runtime179.jsxs)(LogoBurgerGroup, { children: [
5093
+ /* @__PURE__ */ (0, import_jsx_runtime179.jsx)(
5086
5094
  IconButton,
5087
5095
  {
5088
5096
  icon: isNavigationOpen ? CloseIcon : MenuIcon,
5089
5097
  onClick: () => onNavigationOpenChange(!isNavigationOpen)
5090
5098
  }
5091
5099
  ),
5092
- /* @__PURE__ */ (0, import_jsx_runtime178.jsx)(NavigationLogo, { small: true, children: title3 })
5100
+ /* @__PURE__ */ (0, import_jsx_runtime179.jsx)(NavigationLogo, { small: true, children: title3 })
5093
5101
  ] }),
5094
- /* @__PURE__ */ (0, import_jsx_runtime178.jsx)(ActionButtonGroup, { children: /* @__PURE__ */ (0, import_jsx_runtime178.jsxs)(OverflowMenuGroup, { children: [
5095
- /* @__PURE__ */ (0, import_jsx_runtime178.jsx)(
5102
+ /* @__PURE__ */ (0, import_jsx_runtime179.jsx)(ActionButtonGroup, { children: /* @__PURE__ */ (0, import_jsx_runtime179.jsxs)(OverflowMenuGroup, { children: [
5103
+ /* @__PURE__ */ (0, import_jsx_runtime179.jsx)(
5096
5104
  IconButton,
5097
5105
  {
5098
5106
  icon: Icon2,
5099
- label: /* @__PURE__ */ (0, import_jsx_runtime178.jsx)(IconButtonText, { children: user.name })
5107
+ label: /* @__PURE__ */ (0, import_jsx_runtime179.jsx)(IconButtonText, { children: user.name })
5100
5108
  }
5101
5109
  ),
5102
- /* @__PURE__ */ (0, import_jsx_runtime178.jsx)(OverflowMenu, { items: userMenuItems })
5110
+ /* @__PURE__ */ (0, import_jsx_runtime179.jsx)(OverflowMenu, { items: userMenuItems })
5103
5111
  ] }) })
5104
5112
  ] });
5105
5113
  };
5106
5114
 
5107
5115
  // src/components/AppShell/Navigation/Navigation.tsx
5108
- var import_jsx_runtime179 = require("react/jsx-runtime");
5116
+ var import_jsx_runtime180 = require("react/jsx-runtime");
5109
5117
  var { navigation: navTokens4 } = appShellTokens;
5110
5118
  var Sidebar = import_styled_components23.default.div.withConfig({
5111
5119
  shouldForwardProp: (prop) => prop !== "isOpen" && prop !== "environmentBannerActive"
@@ -5191,8 +5199,8 @@ var Navigation = ({
5191
5199
  window.addEventListener("keypress", listener);
5192
5200
  return () => window.removeEventListener("keypress", listener);
5193
5201
  });
5194
- return /* @__PURE__ */ (0, import_jsx_runtime179.jsxs)("div", { children: [
5195
- /* @__PURE__ */ (0, import_jsx_runtime179.jsx)(
5202
+ return /* @__PURE__ */ (0, import_jsx_runtime180.jsxs)("div", { children: [
5203
+ /* @__PURE__ */ (0, import_jsx_runtime180.jsx)(
5196
5204
  TopBar,
5197
5205
  {
5198
5206
  user,
@@ -5203,20 +5211,20 @@ var Navigation = ({
5203
5211
  title: title3
5204
5212
  }
5205
5213
  ),
5206
- /* @__PURE__ */ (0, import_jsx_runtime179.jsxs)(
5214
+ /* @__PURE__ */ (0, import_jsx_runtime180.jsxs)(
5207
5215
  Sidebar,
5208
5216
  {
5209
5217
  isOpen,
5210
5218
  environmentBannerActive,
5211
5219
  children: [
5212
- /* @__PURE__ */ (0, import_jsx_runtime179.jsxs)(LogoAndVersionContainer, { children: [
5213
- /* @__PURE__ */ (0, import_jsx_runtime179.jsx)(NavigationLogo, { children: title3 }),
5214
- version !== "" && /* @__PURE__ */ (0, import_jsx_runtime179.jsxs)(Version, { children: [
5220
+ /* @__PURE__ */ (0, import_jsx_runtime180.jsxs)(LogoAndVersionContainer, { children: [
5221
+ /* @__PURE__ */ (0, import_jsx_runtime180.jsx)(NavigationLogo, { children: title3 }),
5222
+ version !== "" && /* @__PURE__ */ (0, import_jsx_runtime180.jsxs)(Version, { children: [
5215
5223
  "v ",
5216
5224
  version
5217
5225
  ] })
5218
5226
  ] }),
5219
- /* @__PURE__ */ (0, import_jsx_runtime179.jsxs)(NavigationItems, { children: [
5227
+ /* @__PURE__ */ (0, import_jsx_runtime180.jsxs)(NavigationItems, { children: [
5220
5228
  import_react27.Children.map(internal, (item) => {
5221
5229
  if (item.type !== NavigationItem) {
5222
5230
  console.warn(
@@ -5226,7 +5234,7 @@ var Navigation = ({
5226
5234
  }
5227
5235
  return item;
5228
5236
  }),
5229
- external.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime179.jsx)(DividerWrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime179.jsx)(StyledDivider3, {}) }),
5237
+ external.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime180.jsx)(DividerWrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime180.jsx)(StyledDivider3, {}) }),
5230
5238
  import_react27.Children.map(external, (item) => {
5231
5239
  if (item.type !== NavigationItem) {
5232
5240
  console.warn(
@@ -5244,7 +5252,7 @@ var Navigation = ({
5244
5252
  };
5245
5253
 
5246
5254
  // src/components/AppShell/AppShell.tsx
5247
- var import_jsx_runtime180 = require("react/jsx-runtime");
5255
+ var import_jsx_runtime181 = require("react/jsx-runtime");
5248
5256
  var AppShellContainer = import_styled_components24.default.div`
5249
5257
  display: flex;
5250
5258
  flex-direction: column;
@@ -5276,9 +5284,9 @@ var AppShell = ({
5276
5284
  title: title3 = "Lovisa"
5277
5285
  }) => {
5278
5286
  const environmentBannerActive = environment !== "PROD";
5279
- return /* @__PURE__ */ (0, import_jsx_runtime180.jsx)(AppShellContextProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime180.jsxs)(AppShellContainer, { children: [
5280
- /* @__PURE__ */ (0, import_jsx_runtime180.jsx)(import_development_utils3.EnvironmentBanner, { environment }),
5281
- /* @__PURE__ */ (0, import_jsx_runtime180.jsx)(
5287
+ return /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(AppShellContextProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)(AppShellContainer, { children: [
5288
+ /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(import_development_utils3.EnvironmentBanner, { environment }),
5289
+ /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(
5282
5290
  Navigation,
5283
5291
  {
5284
5292
  user,
@@ -5290,7 +5298,7 @@ var AppShell = ({
5290
5298
  title: title3
5291
5299
  }
5292
5300
  ),
5293
- /* @__PURE__ */ (0, import_jsx_runtime180.jsx)(MainContent, { environmentBannerActive, children })
5301
+ /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(MainContent, { environmentBannerActive, children })
5294
5302
  ] }) });
5295
5303
  };
5296
5304
  AppShell.displayName = "AppShell";
@@ -5318,7 +5326,7 @@ var backLinkTokens = {
5318
5326
  };
5319
5327
 
5320
5328
  // src/components/BackLink/BackLink.tsx
5321
- var import_jsx_runtime181 = require("react/jsx-runtime");
5329
+ var import_jsx_runtime182 = require("react/jsx-runtime");
5322
5330
  var Nav = (0, import_styled_components25.default)("nav")`
5323
5331
  align-items: center;
5324
5332
  display: flex;
@@ -5328,16 +5336,16 @@ var StyledIcon = (0, import_styled_components25.default)(Icon)`
5328
5336
  color: ${backLinkTokens.icon.color};
5329
5337
  `;
5330
5338
  var BackLink = (0, import_react28.forwardRef)((props, ref) => {
5331
- return /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)(Nav, { ref, children: [
5332
- /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(StyledIcon, { icon: ArrowLeftIcon, iconSize: "small" }),
5333
- /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(Typography, { typographyType: "a", href: props.href, children: props.label })
5339
+ return /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)(Nav, { ref, children: [
5340
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(StyledIcon, { icon: ArrowLeftIcon, iconSize: "small" }),
5341
+ /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(Typography, { typographyType: "a", href: props.href, children: props.label })
5334
5342
  ] });
5335
5343
  });
5336
5344
  BackLink.displayName = "BackLink";
5337
5345
 
5338
5346
  // src/components/Breadcrumbs/Breadcrumb.tsx
5339
5347
  var import_react29 = require("react");
5340
- var import_jsx_runtime182 = require("react/jsx-runtime");
5348
+ var import_jsx_runtime183 = require("react/jsx-runtime");
5341
5349
  var isAnchorTypographyProps = (props) => {
5342
5350
  return props.href != void 0;
5343
5351
  };
@@ -5345,9 +5353,9 @@ var Breadcrumb = (0, import_react29.forwardRef)(
5345
5353
  (props, ref) => {
5346
5354
  const { children, ...rest } = props;
5347
5355
  if (isAnchorTypographyProps(props)) {
5348
- return /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(Typography, { htmlProps: rest, ref, typographyType: "a", children });
5356
+ return /* @__PURE__ */ (0, import_jsx_runtime183.jsx)(Typography, { htmlProps: rest, ref, typographyType: "a", children });
5349
5357
  }
5350
- return /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(Typography, { htmlProps: rest, ref, as: "span", color: "interactive", children });
5358
+ return /* @__PURE__ */ (0, import_jsx_runtime183.jsx)(Typography, { htmlProps: rest, ref, as: "span", color: "interactive", children });
5351
5359
  }
5352
5360
  );
5353
5361
  Breadcrumb.displayName = "Breadcrumb";
@@ -5376,7 +5384,7 @@ var breadcrumbTokens = {
5376
5384
  };
5377
5385
 
5378
5386
  // src/components/Breadcrumbs/Breadcrumbs.tsx
5379
- var import_jsx_runtime183 = require("react/jsx-runtime");
5387
+ var import_jsx_runtime184 = require("react/jsx-runtime");
5380
5388
  var { icon: icon4, list: list2, listItem: listItem2 } = breadcrumbTokens;
5381
5389
  var List = import_styled_components26.default.ol`
5382
5390
  ${removeListStyling}
@@ -5401,18 +5409,18 @@ var Breadcrumbs = (0, import_react30.forwardRef)(
5401
5409
  const { children, id, className, htmlProps, ...rest } = props;
5402
5410
  const childrenArray = import_react30.Children.toArray(children);
5403
5411
  const breadcrumbChildren = childrenArray.map((item, index) => {
5404
- return /* @__PURE__ */ (0, import_jsx_runtime183.jsxs)(ListItem, { children: [
5405
- index !== 0 && /* @__PURE__ */ (0, import_jsx_runtime183.jsx)(StyledIcon2, { icon: ChevronRightIcon }),
5412
+ return /* @__PURE__ */ (0, import_jsx_runtime184.jsxs)(ListItem, { children: [
5413
+ index !== 0 && /* @__PURE__ */ (0, import_jsx_runtime184.jsx)(StyledIcon2, { icon: ChevronRightIcon }),
5406
5414
  item
5407
5415
  ] }, `breadcrumb-${index}`);
5408
5416
  });
5409
- return /* @__PURE__ */ (0, import_jsx_runtime183.jsx)(
5417
+ return /* @__PURE__ */ (0, import_jsx_runtime184.jsx)(
5410
5418
  "nav",
5411
5419
  {
5412
5420
  ...getBaseHTMLProps(id, className, htmlProps, rest),
5413
5421
  ref,
5414
5422
  "aria-label": "br\xF8dsmulesti",
5415
- children: /* @__PURE__ */ (0, import_jsx_runtime183.jsx)(List, { children: breadcrumbChildren })
5423
+ children: /* @__PURE__ */ (0, import_jsx_runtime184.jsx)(List, { children: breadcrumbChildren })
5416
5424
  }
5417
5425
  );
5418
5426
  }
@@ -5457,7 +5465,7 @@ var cardTokens = {
5457
5465
  };
5458
5466
 
5459
5467
  // src/components/Card/Card.tsx
5460
- var import_jsx_runtime184 = require("react/jsx-runtime");
5468
+ var import_jsx_runtime185 = require("react/jsx-runtime");
5461
5469
  var Container2 = import_styled_components27.default.div.withConfig({
5462
5470
  shouldForwardProp: (prop) => prop !== "color" && prop !== "cardType"
5463
5471
  })`
@@ -5506,7 +5514,7 @@ var Card = (props) => {
5506
5514
  } = props;
5507
5515
  if (cardType === "navigation") {
5508
5516
  const { href, target } = props;
5509
- return /* @__PURE__ */ (0, import_jsx_runtime184.jsx)(
5517
+ return /* @__PURE__ */ (0, import_jsx_runtime185.jsx)(
5510
5518
  Container2,
5511
5519
  {
5512
5520
  ...getBaseHTMLProps(id, className, htmlProps, rest),
@@ -5520,7 +5528,7 @@ var Card = (props) => {
5520
5528
  }
5521
5529
  );
5522
5530
  }
5523
- return /* @__PURE__ */ (0, import_jsx_runtime184.jsx)(
5531
+ return /* @__PURE__ */ (0, import_jsx_runtime185.jsx)(
5524
5532
  Container2,
5525
5533
  {
5526
5534
  ...getBaseHTMLProps(id, className, htmlProps, rest),
@@ -5540,13 +5548,13 @@ var import_styled_components28 = __toESM(require("styled-components"));
5540
5548
 
5541
5549
  // src/components/Card/CardAccordion/CardAccordionContext.tsx
5542
5550
  var import_react31 = require("react");
5543
- var import_jsx_runtime185 = require("react/jsx-runtime");
5551
+ var import_jsx_runtime186 = require("react/jsx-runtime");
5544
5552
  var CardAccordionContext = (0, import_react31.createContext)({});
5545
5553
  var CardAccordionContextProvider = ({
5546
5554
  children,
5547
5555
  ...values
5548
5556
  }) => {
5549
- return /* @__PURE__ */ (0, import_jsx_runtime185.jsx)(CardAccordionContext.Provider, { value: values, children });
5557
+ return /* @__PURE__ */ (0, import_jsx_runtime186.jsx)(CardAccordionContext.Provider, { value: values, children });
5550
5558
  };
5551
5559
  var useCardAccordionContext = () => {
5552
5560
  const context = (0, import_react31.useContext)(CardAccordionContext);
@@ -5559,7 +5567,7 @@ var useCardAccordionContext = () => {
5559
5567
  };
5560
5568
 
5561
5569
  // src/components/Card/CardAccordion/CardAccordion.tsx
5562
- var import_jsx_runtime186 = require("react/jsx-runtime");
5570
+ var import_jsx_runtime187 = require("react/jsx-runtime");
5563
5571
  var Wrapper = import_styled_components28.default.div``;
5564
5572
  var CardAccordion = (0, import_react32.forwardRef)(
5565
5573
  (props, ref) => {
@@ -5587,7 +5595,7 @@ var CardAccordion = (0, import_react32.forwardRef)(
5587
5595
  return newExpanded;
5588
5596
  });
5589
5597
  }, [onChange]);
5590
- return /* @__PURE__ */ (0, import_jsx_runtime186.jsx)(Wrapper, { ...getBaseHTMLProps(id, className, htmlProps, rest), ref, children: /* @__PURE__ */ (0, import_jsx_runtime186.jsx)(
5598
+ return /* @__PURE__ */ (0, import_jsx_runtime187.jsx)(Wrapper, { ...getBaseHTMLProps(id, className, htmlProps, rest), ref, children: /* @__PURE__ */ (0, import_jsx_runtime187.jsx)(
5591
5599
  CardAccordionContextProvider,
5592
5600
  {
5593
5601
  headerId: `${accordionId}-header`,
@@ -5637,7 +5645,7 @@ var cardAccordionTokens = {
5637
5645
  };
5638
5646
 
5639
5647
  // src/components/Card/CardAccordion/CardAccordionHeader.tsx
5640
- var import_jsx_runtime187 = require("react/jsx-runtime");
5648
+ var import_jsx_runtime188 = require("react/jsx-runtime");
5641
5649
  var { header: header2, chevronWrapper: chevronWrapper2 } = cardAccordionTokens;
5642
5650
  var ContentWrapper = import_styled_components29.default.div`
5643
5651
  text-align: left;
@@ -5717,15 +5725,15 @@ var CardAccordionHeader = (0, import_react33.forwardRef)((props, ref) => {
5717
5725
  width: cardAccordionTokens.chevron.width,
5718
5726
  height: cardAccordionTokens.chevron.height
5719
5727
  };
5720
- return /* @__PURE__ */ (0, import_jsx_runtime187.jsx)(HeaderWrapperButton, { ...headerWrapperProps, type: "button", children: /* @__PURE__ */ (0, import_jsx_runtime187.jsxs)(
5728
+ return /* @__PURE__ */ (0, import_jsx_runtime188.jsx)(HeaderWrapperButton, { ...headerWrapperProps, type: "button", children: /* @__PURE__ */ (0, import_jsx_runtime188.jsxs)(
5721
5729
  HeaderContainer,
5722
5730
  {
5723
5731
  typographyType: typographyType7,
5724
5732
  padding,
5725
5733
  bold: bold2,
5726
5734
  children: [
5727
- /* @__PURE__ */ (0, import_jsx_runtime187.jsx)(ContentWrapper, { children }),
5728
- /* @__PURE__ */ (0, import_jsx_runtime187.jsx)(ChevronWrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime187.jsx)(AnimatedChevronUpDown, { ...chevronProps }) })
5735
+ /* @__PURE__ */ (0, import_jsx_runtime188.jsx)(ContentWrapper, { children }),
5736
+ /* @__PURE__ */ (0, import_jsx_runtime188.jsx)(ChevronWrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime188.jsx)(AnimatedChevronUpDown, { ...chevronProps }) })
5729
5737
  ]
5730
5738
  }
5731
5739
  ) });
@@ -5753,7 +5761,7 @@ function useElementHeight(element3) {
5753
5761
  }
5754
5762
 
5755
5763
  // src/components/Card/CardAccordion/CardAccordionBody.tsx
5756
- var import_jsx_runtime188 = require("react/jsx-runtime");
5764
+ var import_jsx_runtime189 = require("react/jsx-runtime");
5757
5765
  var expandingAnimation = import_styled_components30.css`
5758
5766
  @media (prefers-reduced-motion: no-preference) {
5759
5767
  transition: height 0.2s cubic-bezier(0.4, 0, 0.2, 1);
@@ -5815,7 +5823,7 @@ var CardAccordionBody = (0, import_react35.forwardRef)((props, ref) => {
5815
5823
  setAnimate(true);
5816
5824
  }
5817
5825
  }, [isMounted]);
5818
- return /* @__PURE__ */ (0, import_jsx_runtime188.jsx)(
5826
+ return /* @__PURE__ */ (0, import_jsx_runtime189.jsx)(
5819
5827
  Body,
5820
5828
  {
5821
5829
  ...getBaseHTMLProps(id, className, htmlProps, rest),
@@ -5826,7 +5834,7 @@ var CardAccordionBody = (0, import_react35.forwardRef)((props, ref) => {
5826
5834
  animate,
5827
5835
  "aria-labelledby": headerId,
5828
5836
  "aria-hidden": !isExpanded,
5829
- children: /* @__PURE__ */ (0, import_jsx_runtime188.jsx)(
5837
+ children: /* @__PURE__ */ (0, import_jsx_runtime189.jsx)(
5830
5838
  BodyContainer,
5831
5839
  {
5832
5840
  ref: bodyRef,
@@ -5866,7 +5874,7 @@ var chipTokens = {
5866
5874
  };
5867
5875
 
5868
5876
  // src/components/Chip/Chip.tsx
5869
- var import_jsx_runtime189 = require("react/jsx-runtime");
5877
+ var import_jsx_runtime190 = require("react/jsx-runtime");
5870
5878
  var { container: container4 } = chipTokens;
5871
5879
  var Container3 = (0, import_styled_components31.default)(TextOverflowEllipsisWrapper)`
5872
5880
  display: flex;
@@ -5887,15 +5895,15 @@ var Chip = (0, import_react36.forwardRef)((props, ref) => {
5887
5895
  setIsOpen(false);
5888
5896
  onClose && onClose();
5889
5897
  };
5890
- return isOpen ? /* @__PURE__ */ (0, import_jsx_runtime189.jsxs)(
5898
+ return isOpen ? /* @__PURE__ */ (0, import_jsx_runtime190.jsxs)(
5891
5899
  Container3,
5892
5900
  {
5893
5901
  ...getBaseHTMLProps(id, className, restHTMLprops, rest),
5894
5902
  ref,
5895
5903
  as: "div",
5896
5904
  children: [
5897
- /* @__PURE__ */ (0, import_jsx_runtime189.jsx)(TextOverflowEllipsisInner, { children: text }),
5898
- /* @__PURE__ */ (0, import_jsx_runtime189.jsx)(
5905
+ /* @__PURE__ */ (0, import_jsx_runtime190.jsx)(TextOverflowEllipsisInner, { children: text }),
5906
+ /* @__PURE__ */ (0, import_jsx_runtime190.jsx)(
5899
5907
  Button,
5900
5908
  {
5901
5909
  size: "tiny",
@@ -5915,7 +5923,7 @@ Chip.displayName = "Chip";
5915
5923
  // src/components/Chip/ChipGroup.tsx
5916
5924
  var import_react37 = require("react");
5917
5925
  var import_styled_components32 = __toESM(require("styled-components"));
5918
- var import_jsx_runtime190 = require("react/jsx-runtime");
5926
+ var import_jsx_runtime191 = require("react/jsx-runtime");
5919
5927
  var Group = import_styled_components32.default.ul`
5920
5928
  ${removeListStyling}
5921
5929
  display: flex;
@@ -5924,8 +5932,8 @@ var Group = import_styled_components32.default.ul`
5924
5932
  var ChipGroup = (0, import_react37.forwardRef)(
5925
5933
  ({ children, ...rest }, ref) => {
5926
5934
  const childrenArray = import_react37.Children.toArray(children);
5927
- const groupChildren = childrenArray.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime190.jsx)("li", { children: item }, `chip-${index}`));
5928
- return /* @__PURE__ */ (0, import_jsx_runtime190.jsx)(Group, { ...rest, ref, children: groupChildren });
5935
+ const groupChildren = childrenArray.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime191.jsx)("li", { children: item }, `chip-${index}`));
5936
+ return /* @__PURE__ */ (0, import_jsx_runtime191.jsx)(Group, { ...rest, ref, children: groupChildren });
5929
5937
  }
5930
5938
  );
5931
5939
  ChipGroup.displayName = "ChipGroup";
@@ -6020,7 +6028,7 @@ var locale = "no-NO";
6020
6028
  var timezone = "Europe/Oslo";
6021
6029
 
6022
6030
  // src/components/date-inputs/DatePicker/Calendar/CalendarCell.tsx
6023
- var import_jsx_runtime191 = require("react/jsx-runtime");
6031
+ var import_jsx_runtime192 = require("react/jsx-runtime");
6024
6032
  var Cell = import_styled_components33.default.button`
6025
6033
  ${normalizeButton}
6026
6034
  width: ${calendarTokens.cell.width};
@@ -6084,10 +6092,10 @@ function CalendarCell({ date, state }) {
6084
6092
  isUnavailable
6085
6093
  } = (0, import_calendar.useCalendarCell)({ date }, state, ref);
6086
6094
  if (isDisabled) {
6087
- return /* @__PURE__ */ (0, import_jsx_runtime191.jsx)("td", { ...cellProps });
6095
+ return /* @__PURE__ */ (0, import_jsx_runtime192.jsx)("td", { ...cellProps });
6088
6096
  }
6089
6097
  const variant = isSelected ? "selected" : isUnavailable || isDisabled ? "unavailable" : "default";
6090
- return /* @__PURE__ */ (0, import_jsx_runtime191.jsx)("td", { ...cellProps, children: /* @__PURE__ */ (0, import_jsx_runtime191.jsx)(
6098
+ return /* @__PURE__ */ (0, import_jsx_runtime192.jsx)("td", { ...cellProps, children: /* @__PURE__ */ (0, import_jsx_runtime192.jsx)(
6091
6099
  Cell,
6092
6100
  {
6093
6101
  ...buttonProps,
@@ -6138,7 +6146,7 @@ function isLeapYear(date) {
6138
6146
  }
6139
6147
 
6140
6148
  // src/components/date-inputs/DatePicker/Calendar/CalendarGrid.tsx
6141
- var import_jsx_runtime192 = require("react/jsx-runtime");
6149
+ var import_jsx_runtime193 = require("react/jsx-runtime");
6142
6150
  var { grid: gridTokens } = calendarTokens;
6143
6151
  var Th = import_styled_components34.default.th`
6144
6152
  font-family: ${gridTokens.headers.fontFamily};
@@ -6171,7 +6179,7 @@ function CalendarGrid({ state, ...props }) {
6171
6179
  } = (0, import_calendar2.useCalendarGrid)(props, state);
6172
6180
  const weeksInMonth = (0, import_date3.getWeeksInMonth)(state.visibleRange.start, locale);
6173
6181
  const weekDays = ["Ma", "Ti", "On", "To", "Fr", "L\xF8", "S\xF8"];
6174
- return /* @__PURE__ */ (0, import_jsx_runtime192.jsxs)(
6182
+ return /* @__PURE__ */ (0, import_jsx_runtime193.jsxs)(
6175
6183
  "table",
6176
6184
  {
6177
6185
  ...gridProps,
@@ -6183,18 +6191,18 @@ function CalendarGrid({ state, ...props }) {
6183
6191
  },
6184
6192
  cellPadding: "0",
6185
6193
  children: [
6186
- /* @__PURE__ */ (0, import_jsx_runtime192.jsx)("thead", { ...headerProps, children: /* @__PURE__ */ (0, import_jsx_runtime192.jsxs)("tr", { children: [
6187
- /* @__PURE__ */ (0, import_jsx_runtime192.jsx)(Th, { children: "#" }),
6188
- weekDays.map((day, index) => /* @__PURE__ */ (0, import_jsx_runtime192.jsx)(Th, { children: day }, index))
6194
+ /* @__PURE__ */ (0, import_jsx_runtime193.jsx)("thead", { ...headerProps, children: /* @__PURE__ */ (0, import_jsx_runtime193.jsxs)("tr", { children: [
6195
+ /* @__PURE__ */ (0, import_jsx_runtime193.jsx)(Th, { children: "#" }),
6196
+ weekDays.map((day, index) => /* @__PURE__ */ (0, import_jsx_runtime193.jsx)(Th, { children: day }, index))
6189
6197
  ] }) }),
6190
- /* @__PURE__ */ (0, import_jsx_runtime192.jsx)("tbody", { children: [...new Array(weeksInMonth).keys()].map((weekIndex) => {
6198
+ /* @__PURE__ */ (0, import_jsx_runtime193.jsx)("tbody", { children: [...new Array(weeksInMonth).keys()].map((weekIndex) => {
6191
6199
  const datesInWeek = state.getDatesInWeek(weekIndex);
6192
6200
  const firstExistingDay = datesInWeek.find(Boolean);
6193
6201
  const weekNumber = firstExistingDay ? getWeekNumber(firstExistingDay) : "";
6194
- return /* @__PURE__ */ (0, import_jsx_runtime192.jsxs)("tr", { children: [
6195
- /* @__PURE__ */ (0, import_jsx_runtime192.jsx)(WeekNumber, { children: weekNumber }),
6202
+ return /* @__PURE__ */ (0, import_jsx_runtime193.jsxs)("tr", { children: [
6203
+ /* @__PURE__ */ (0, import_jsx_runtime193.jsx)(WeekNumber, { children: weekNumber }),
6196
6204
  datesInWeek.map(
6197
- (date, i) => date ? /* @__PURE__ */ (0, import_jsx_runtime192.jsx)(CalendarCell, { state, date }, i) : /* @__PURE__ */ (0, import_jsx_runtime192.jsx)("td", {}, i)
6205
+ (date, i) => date ? /* @__PURE__ */ (0, import_jsx_runtime193.jsx)(CalendarCell, { state, date }, i) : /* @__PURE__ */ (0, import_jsx_runtime193.jsx)("td", {}, i)
6198
6206
  )
6199
6207
  ] }, weekIndex);
6200
6208
  }) })
@@ -6205,7 +6213,7 @@ function CalendarGrid({ state, ...props }) {
6205
6213
  CalendarGrid.displayName = "CalendarGrid";
6206
6214
 
6207
6215
  // src/components/date-inputs/DatePicker/Calendar/Calendar.tsx
6208
- var import_jsx_runtime193 = require("react/jsx-runtime");
6216
+ var import_jsx_runtime194 = require("react/jsx-runtime");
6209
6217
  var CalendarHeader = import_styled_components35.default.div`
6210
6218
  display: flex;
6211
6219
  justify-content: space-between;
@@ -6242,9 +6250,9 @@ function Calendar(props) {
6242
6250
  nextButtonProps: { onPress: onNext, "aria-label": nextAriaLabel },
6243
6251
  title: title3
6244
6252
  } = (0, import_calendar3.useCalendar)(props, state);
6245
- return /* @__PURE__ */ (0, import_jsx_runtime193.jsxs)(CalendarContainer, { ...calendarProps, children: [
6246
- /* @__PURE__ */ (0, import_jsx_runtime193.jsxs)(CalendarHeader, { children: [
6247
- /* @__PURE__ */ (0, import_jsx_runtime193.jsx)(
6253
+ return /* @__PURE__ */ (0, import_jsx_runtime194.jsxs)(CalendarContainer, { ...calendarProps, children: [
6254
+ /* @__PURE__ */ (0, import_jsx_runtime194.jsxs)(CalendarHeader, { children: [
6255
+ /* @__PURE__ */ (0, import_jsx_runtime194.jsx)(
6248
6256
  Button,
6249
6257
  {
6250
6258
  type: "button",
@@ -6256,8 +6264,8 @@ function Calendar(props) {
6256
6264
  icon: ArrowLeftIcon
6257
6265
  }
6258
6266
  ),
6259
- /* @__PURE__ */ (0, import_jsx_runtime193.jsx)(Month, { children: title3 }),
6260
- /* @__PURE__ */ (0, import_jsx_runtime193.jsx)(
6267
+ /* @__PURE__ */ (0, import_jsx_runtime194.jsx)(Month, { children: title3 }),
6268
+ /* @__PURE__ */ (0, import_jsx_runtime194.jsx)(
6261
6269
  Button,
6262
6270
  {
6263
6271
  type: "button",
@@ -6270,7 +6278,7 @@ function Calendar(props) {
6270
6278
  }
6271
6279
  )
6272
6280
  ] }),
6273
- /* @__PURE__ */ (0, import_jsx_runtime193.jsx)(CalendarGrid, { state })
6281
+ /* @__PURE__ */ (0, import_jsx_runtime194.jsx)(CalendarGrid, { state })
6274
6282
  ] });
6275
6283
  }
6276
6284
  Calendar.displayName = "Calendar";
@@ -6283,7 +6291,7 @@ var import_react45 = require("react");
6283
6291
  // src/components/date-inputs/DatePicker/CalendarPopover.tsx
6284
6292
  var import_react39 = require("react");
6285
6293
  var import_styled_components36 = __toESM(require("styled-components"));
6286
- var import_jsx_runtime194 = require("react/jsx-runtime");
6294
+ var import_jsx_runtime195 = require("react/jsx-runtime");
6287
6295
  var { popover: popoverTokens } = calendarTokens;
6288
6296
  var CalendarPopoverContext = (0, import_react39.createContext)({
6289
6297
  anchorRef: null,
@@ -6297,14 +6305,14 @@ var CalendarPopover = ({
6297
6305
  }) => {
6298
6306
  const anchorRef = (0, import_react39.useRef)(null);
6299
6307
  useOnKeyDown("Escape", onClose);
6300
- return /* @__PURE__ */ (0, import_jsx_runtime194.jsx)(CalendarPopoverContext.Provider, { value: { anchorRef, isOpen, onClose }, children });
6308
+ return /* @__PURE__ */ (0, import_jsx_runtime195.jsx)(CalendarPopoverContext.Provider, { value: { anchorRef, isOpen, onClose }, children });
6301
6309
  };
6302
6310
  var Anchor = import_styled_components36.default.div``;
6303
6311
  var CalendarPopoverAnchor = ({
6304
6312
  children
6305
6313
  }) => {
6306
6314
  const { anchorRef } = (0, import_react39.useContext)(CalendarPopoverContext);
6307
- return /* @__PURE__ */ (0, import_jsx_runtime194.jsx)(Anchor, { ref: anchorRef != null ? anchorRef : void 0, children });
6315
+ return /* @__PURE__ */ (0, import_jsx_runtime195.jsx)(Anchor, { ref: anchorRef != null ? anchorRef : void 0, children });
6308
6316
  };
6309
6317
  var PopoverContentContainer = import_styled_components36.default.div`
6310
6318
  background-color: ${popoverTokens.backgroundColor};
@@ -6329,7 +6337,7 @@ var CalendarPopoverContent = ({
6329
6337
  }, []);
6330
6338
  if (!isOpen)
6331
6339
  return null;
6332
- return /* @__PURE__ */ (0, import_jsx_runtime194.jsx)(
6340
+ return /* @__PURE__ */ (0, import_jsx_runtime195.jsx)(
6333
6341
  PopoverContentContainer,
6334
6342
  {
6335
6343
  ref: combinedRef,
@@ -6447,7 +6455,7 @@ var datePickerTokens = {
6447
6455
  };
6448
6456
 
6449
6457
  // src/components/date-inputs/DatePicker/DateField/CalendarButton.tsx
6450
- var import_jsx_runtime195 = require("react/jsx-runtime");
6458
+ var import_jsx_runtime196 = require("react/jsx-runtime");
6451
6459
  var StyledButton = import_styled_components37.default.button`
6452
6460
  ${normalizeButton}
6453
6461
  display: flex;
@@ -6493,7 +6501,7 @@ function CalendarButton({
6493
6501
  }) {
6494
6502
  const ref = (0, import_react40.useRef)(null);
6495
6503
  const { buttonProps } = (0, import_button.useButton)(props, ref);
6496
- return /* @__PURE__ */ (0, import_jsx_runtime195.jsx)(
6504
+ return /* @__PURE__ */ (0, import_jsx_runtime196.jsx)(
6497
6505
  StyledButton,
6498
6506
  {
6499
6507
  ...buttonProps,
@@ -6508,7 +6516,7 @@ function CalendarButton({
6508
6516
  }
6509
6517
  },
6510
6518
  className: [props.isDisabled ? "disabled" : false].filter(Boolean).join(" "),
6511
- children: /* @__PURE__ */ (0, import_jsx_runtime195.jsx)(
6519
+ children: /* @__PURE__ */ (0, import_jsx_runtime196.jsx)(
6512
6520
  Icon,
6513
6521
  {
6514
6522
  icon: CalendarIcon,
@@ -6523,7 +6531,7 @@ function CalendarButton({
6523
6531
  var import_datepicker = require("@react-aria/datepicker");
6524
6532
  var import_react41 = require("react");
6525
6533
  var import_styled_components38 = __toESM(require("styled-components"));
6526
- var import_jsx_runtime196 = require("react/jsx-runtime");
6534
+ var import_jsx_runtime197 = require("react/jsx-runtime");
6527
6535
  var {
6528
6536
  datefield: { segment: segmentTokens }
6529
6537
  } = datePickerTokens;
@@ -6572,7 +6580,7 @@ function DateSegment({
6572
6580
  var _a;
6573
6581
  const ref = (0, import_react41.useRef)(null);
6574
6582
  const { segmentProps } = (0, import_datepicker.useDateSegment)(segment2, state, ref);
6575
- return /* @__PURE__ */ (0, import_jsx_runtime196.jsxs)(
6583
+ return /* @__PURE__ */ (0, import_jsx_runtime197.jsxs)(
6576
6584
  Segment,
6577
6585
  {
6578
6586
  ...segmentProps,
@@ -6583,7 +6591,7 @@ function DateSegment({
6583
6591
  minWidth: segment2.maxValue != null ? String(segment2.maxValue).length + "ch" : void 0
6584
6592
  },
6585
6593
  children: [
6586
- /* @__PURE__ */ (0, import_jsx_runtime196.jsx)(
6594
+ /* @__PURE__ */ (0, import_jsx_runtime197.jsx)(
6587
6595
  SegmentPlaceholder,
6588
6596
  {
6589
6597
  "aria-hidden": "true",
@@ -6607,7 +6615,7 @@ DateSegment.displayName = "DateSegment";
6607
6615
  // src/components/date-inputs/common/DateInput.tsx
6608
6616
  var import_react42 = require("react");
6609
6617
  var import_styled_components39 = __toESM(require("styled-components"));
6610
- var import_jsx_runtime197 = require("react/jsx-runtime");
6618
+ var import_jsx_runtime198 = require("react/jsx-runtime");
6611
6619
  var InputDiv = (0, import_styled_components39.default)(StatefulInput)`
6612
6620
  display: inline-flex;
6613
6621
  flex-direction: row;
@@ -6644,7 +6652,7 @@ function _DateInput({
6644
6652
  const hasTip = !!tip;
6645
6653
  const hasLabel = props.label != null;
6646
6654
  const hasMessage = hasErrorMessage || hasTip;
6647
- return /* @__PURE__ */ (0, import_jsx_runtime197.jsxs)(
6655
+ return /* @__PURE__ */ (0, import_jsx_runtime198.jsxs)(
6648
6656
  OuterInputContainer,
6649
6657
  {
6650
6658
  ...groupProps,
@@ -6652,8 +6660,8 @@ function _DateInput({
6652
6660
  className,
6653
6661
  ref: forwardedRef,
6654
6662
  children: [
6655
- hasLabel && /* @__PURE__ */ (0, import_jsx_runtime197.jsx)(Label, { ...labelProps, showRequiredStyling: required, children: props.label }),
6656
- /* @__PURE__ */ (0, import_jsx_runtime197.jsxs)(
6663
+ hasLabel && /* @__PURE__ */ (0, import_jsx_runtime198.jsx)(Label, { ...labelProps, showRequiredStyling: required, children: props.label }),
6664
+ /* @__PURE__ */ (0, import_jsx_runtime198.jsxs)(
6657
6665
  InputDiv,
6658
6666
  {
6659
6667
  ...fieldProps,
@@ -6670,11 +6678,11 @@ function _DateInput({
6670
6678
  ),
6671
6679
  children: [
6672
6680
  button3,
6673
- /* @__PURE__ */ (0, import_jsx_runtime197.jsx)(DateSegmentContainer, { children })
6681
+ /* @__PURE__ */ (0, import_jsx_runtime198.jsx)(DateSegmentContainer, { children })
6674
6682
  ]
6675
6683
  }
6676
6684
  ),
6677
- hasMessage && /* @__PURE__ */ (0, import_jsx_runtime197.jsx)(
6685
+ hasMessage && /* @__PURE__ */ (0, import_jsx_runtime198.jsx)(
6678
6686
  InputMessage,
6679
6687
  {
6680
6688
  messageType: hasErrorMessage ? "error" : "tip",
@@ -6689,7 +6697,7 @@ var DateInput = (0, import_react42.forwardRef)(_DateInput);
6689
6697
  DateInput.displayName = "DateInput";
6690
6698
 
6691
6699
  // src/components/date-inputs/DatePicker/DateField/DateField.tsx
6692
- var import_jsx_runtime198 = require("react/jsx-runtime");
6700
+ var import_jsx_runtime199 = require("react/jsx-runtime");
6693
6701
  function _DateField({
6694
6702
  componentSize = "medium",
6695
6703
  buttonProps,
@@ -6704,7 +6712,7 @@ function _DateField({
6704
6712
  const ref = (0, import_react43.useRef)(null);
6705
6713
  const { labelProps, fieldProps } = (0, import_datepicker2.useDateField)(props, state, ref);
6706
6714
  const disabled = props.isDisabled || !!fieldProps["aria-disabled"];
6707
- return /* @__PURE__ */ (0, import_jsx_runtime198.jsx)(
6715
+ return /* @__PURE__ */ (0, import_jsx_runtime199.jsx)(
6708
6716
  DateInput,
6709
6717
  {
6710
6718
  ...props,
@@ -6716,7 +6724,7 @@ function _DateField({
6716
6724
  ref: forwardedRef,
6717
6725
  internalRef: ref,
6718
6726
  readOnly: props.isReadOnly,
6719
- prefix: !props.isReadOnly && /* @__PURE__ */ (0, import_jsx_runtime198.jsx)(
6727
+ prefix: !props.isReadOnly && /* @__PURE__ */ (0, import_jsx_runtime199.jsx)(
6720
6728
  CalendarButton,
6721
6729
  {
6722
6730
  componentSize,
@@ -6726,7 +6734,7 @@ function _DateField({
6726
6734
  ),
6727
6735
  labelProps,
6728
6736
  fieldProps,
6729
- children: state.segments.map((segment2, i) => /* @__PURE__ */ (0, import_jsx_runtime198.jsx)(
6737
+ children: state.segments.map((segment2, i) => /* @__PURE__ */ (0, import_jsx_runtime199.jsx)(
6730
6738
  DateSegment,
6731
6739
  {
6732
6740
  componentSize,
@@ -6763,7 +6771,7 @@ function createDOMRef(ref) {
6763
6771
  }
6764
6772
 
6765
6773
  // src/components/date-inputs/DatePicker/DatePicker.tsx
6766
- var import_jsx_runtime199 = require("react/jsx-runtime");
6774
+ var import_jsx_runtime200 = require("react/jsx-runtime");
6767
6775
  var refIsFocusable = (ref) => {
6768
6776
  return typeof ref === "object" && ref !== null && "focus" in ref;
6769
6777
  };
@@ -6779,8 +6787,8 @@ function _DatePicker({ errorMessage, componentSize, tip, style, width, ...props
6779
6787
  state,
6780
6788
  ref
6781
6789
  );
6782
- return /* @__PURE__ */ (0, import_jsx_runtime199.jsxs)(CalendarPopover, { isOpen: state.isOpen, onClose: state.close, children: [
6783
- /* @__PURE__ */ (0, import_jsx_runtime199.jsx)(CalendarPopoverAnchor, { children: /* @__PURE__ */ (0, import_jsx_runtime199.jsx)(
6790
+ return /* @__PURE__ */ (0, import_jsx_runtime200.jsxs)(CalendarPopover, { isOpen: state.isOpen, onClose: state.close, children: [
6791
+ /* @__PURE__ */ (0, import_jsx_runtime200.jsx)(CalendarPopoverAnchor, { children: /* @__PURE__ */ (0, import_jsx_runtime200.jsx)(
6784
6792
  DateField,
6785
6793
  {
6786
6794
  ...fieldProps,
@@ -6796,7 +6804,7 @@ function _DatePicker({ errorMessage, componentSize, tip, style, width, ...props
6796
6804
  width
6797
6805
  }
6798
6806
  ) }),
6799
- /* @__PURE__ */ (0, import_jsx_runtime199.jsx)(CalendarPopoverContent, { children: /* @__PURE__ */ (0, import_jsx_runtime199.jsx)(Calendar, { ...calendarProps }) })
6807
+ /* @__PURE__ */ (0, import_jsx_runtime200.jsx)(CalendarPopoverContent, { children: /* @__PURE__ */ (0, import_jsx_runtime200.jsx)(Calendar, { ...calendarProps }) })
6800
6808
  ] });
6801
6809
  }
6802
6810
  var DatePicker = (0, import_react45.forwardRef)(_DatePicker);
@@ -6807,7 +6815,7 @@ var import_datepicker6 = require("@react-aria/datepicker");
6807
6815
  var import_datepicker7 = require("@react-stately/datepicker");
6808
6816
  var import_react46 = require("react");
6809
6817
  var import_styled_components40 = __toESM(require("styled-components"));
6810
- var import_jsx_runtime200 = require("react/jsx-runtime");
6818
+ var import_jsx_runtime201 = require("react/jsx-runtime");
6811
6819
  var TimePickerIcon = (0, import_styled_components40.default)(Icon)`
6812
6820
  color: ${datePickerTokens.calendarButton.color};
6813
6821
  width: ${({ $componentSize }) => datePickerTokens.calendarButton[$componentSize].size};
@@ -6825,7 +6833,7 @@ function _TimePicker({ componentSize = "medium", width, ...props }, forwardedRef
6825
6833
  ref
6826
6834
  );
6827
6835
  const disabled = props.isDisabled || !!fieldProps["aria-disabled"];
6828
- return /* @__PURE__ */ (0, import_jsx_runtime200.jsx)(
6836
+ return /* @__PURE__ */ (0, import_jsx_runtime201.jsx)(
6829
6837
  DateInput,
6830
6838
  {
6831
6839
  ...props,
@@ -6838,7 +6846,7 @@ function _TimePicker({ componentSize = "medium", width, ...props }, forwardedRef
6838
6846
  readOnly: props.isReadOnly,
6839
6847
  labelProps,
6840
6848
  fieldProps,
6841
- prefix: !props.isReadOnly && /* @__PURE__ */ (0, import_jsx_runtime200.jsx)(
6849
+ prefix: !props.isReadOnly && /* @__PURE__ */ (0, import_jsx_runtime201.jsx)(
6842
6850
  TimePickerIcon,
6843
6851
  {
6844
6852
  $componentSize: componentSize,
@@ -6846,7 +6854,7 @@ function _TimePicker({ componentSize = "medium", width, ...props }, forwardedRef
6846
6854
  iconSize: componentSize == "medium" ? "medium" : "small"
6847
6855
  }
6848
6856
  ),
6849
- children: state.segments.map((segment2, i) => /* @__PURE__ */ (0, import_jsx_runtime200.jsx)(
6857
+ children: state.segments.map((segment2, i) => /* @__PURE__ */ (0, import_jsx_runtime201.jsx)(
6850
6858
  DateSegment,
6851
6859
  {
6852
6860
  componentSize,
@@ -6940,7 +6948,7 @@ var descriptionListTokens = {
6940
6948
  };
6941
6949
 
6942
6950
  // src/components/DescriptionList/DescriptionList.tsx
6943
- var import_jsx_runtime201 = require("react/jsx-runtime");
6951
+ var import_jsx_runtime202 = require("react/jsx-runtime");
6944
6952
  var { term: term2, desc: desc2, list: list4 } = descriptionListTokens;
6945
6953
  var DList = import_styled_components41.default.dl.withConfig({
6946
6954
  shouldForwardProp: (prop) => prop !== "appearance" && prop !== "direction"
@@ -6991,28 +6999,28 @@ var DescriptionList = (0, import_react47.forwardRef)((props, ref) => {
6991
6999
  direction,
6992
7000
  ref
6993
7001
  };
6994
- return /* @__PURE__ */ (0, import_jsx_runtime201.jsx)(DList, { ...dListProps, children });
7002
+ return /* @__PURE__ */ (0, import_jsx_runtime202.jsx)(DList, { ...dListProps, children });
6995
7003
  });
6996
7004
  DescriptionList.displayName = "DescriptionList";
6997
7005
 
6998
7006
  // src/components/DescriptionList/DescriptionListTerm.tsx
6999
7007
  var import_react48 = require("react");
7000
7008
  var import_styled_components42 = __toESM(require("styled-components"));
7001
- var import_jsx_runtime202 = require("react/jsx-runtime");
7009
+ var import_jsx_runtime203 = require("react/jsx-runtime");
7002
7010
  var DListTerm = import_styled_components42.default.dt``;
7003
7011
  var DescriptionListTerm = (0, import_react48.forwardRef)(({ children, ...rest }, ref) => {
7004
7012
  const dListTermProps = {
7005
7013
  ref,
7006
7014
  ...rest
7007
7015
  };
7008
- return /* @__PURE__ */ (0, import_jsx_runtime202.jsx)(DListTerm, { ...dListTermProps, children });
7016
+ return /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(DListTerm, { ...dListTermProps, children });
7009
7017
  });
7010
7018
  DescriptionListTerm.displayName = "DescriptionListTerm";
7011
7019
 
7012
7020
  // src/components/DescriptionList/DescriptionListDesc.tsx
7013
7021
  var import_react49 = require("react");
7014
7022
  var import_styled_components43 = __toESM(require("styled-components"));
7015
- var import_jsx_runtime203 = require("react/jsx-runtime");
7023
+ var import_jsx_runtime204 = require("react/jsx-runtime");
7016
7024
  var DListDesc = import_styled_components43.default.dd`
7017
7025
  margin-inline-start: 0;
7018
7026
  align-items: center;
@@ -7027,8 +7035,8 @@ var DescriptionListDesc = (0, import_react49.forwardRef)((props, ref) => {
7027
7035
  children,
7028
7036
  ref
7029
7037
  };
7030
- return /* @__PURE__ */ (0, import_jsx_runtime203.jsxs)(DListDesc, { ...dListDescProps, children: [
7031
- icon12 && /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(Icon, { icon: icon12 }),
7038
+ return /* @__PURE__ */ (0, import_jsx_runtime204.jsxs)(DListDesc, { ...dListDescProps, children: [
7039
+ icon12 && /* @__PURE__ */ (0, import_jsx_runtime204.jsx)(Icon, { icon: icon12 }),
7032
7040
  " ",
7033
7041
  children
7034
7042
  ] });
@@ -7038,7 +7046,7 @@ DescriptionListDesc.displayName = "DescriptionListDesc";
7038
7046
  // src/components/DescriptionList/DescriptionListGroup.tsx
7039
7047
  var import_react50 = require("react");
7040
7048
  var import_styled_components44 = __toESM(require("styled-components"));
7041
- var import_jsx_runtime204 = require("react/jsx-runtime");
7049
+ var import_jsx_runtime205 = require("react/jsx-runtime");
7042
7050
  var DListGroup = import_styled_components44.default.div`
7043
7051
  margin: ${({ margin }) => margin ? margin : descriptionListTokens.group.base.margin};
7044
7052
  ${({ minWidth }) => minWidth && `min-width: ${minWidth}`}
@@ -7063,7 +7071,7 @@ var DescriptionListGroup = (0, import_react50.forwardRef)((props, ref) => {
7063
7071
  minWidth,
7064
7072
  maxWidth
7065
7073
  };
7066
- return /* @__PURE__ */ (0, import_jsx_runtime204.jsx)(DListGroup, { ...dListGroupProps, children });
7074
+ return /* @__PURE__ */ (0, import_jsx_runtime205.jsx)(DListGroup, { ...dListGroupProps, children });
7067
7075
  });
7068
7076
  DescriptionListGroup.displayName = "DescriptionListGroup";
7069
7077
 
@@ -7090,7 +7098,7 @@ var drawerTokens = {
7090
7098
  };
7091
7099
 
7092
7100
  // src/components/Drawer/Drawer.tsx
7093
- var import_jsx_runtime205 = require("react/jsx-runtime");
7101
+ var import_jsx_runtime206 = require("react/jsx-runtime");
7094
7102
  var { container: container6, contentContainer: contentContainer2 } = drawerTokens;
7095
7103
  var getMaxWidth = (size2) => {
7096
7104
  if (size2 === "large")
@@ -7211,12 +7219,12 @@ var Drawer = (0, import_react51.forwardRef)((props, ref) => {
7211
7219
  id: headerId
7212
7220
  };
7213
7221
  return isOpen || hasTransitionedIn ? (0, import_react_dom2.createPortal)(
7214
- /* @__PURE__ */ (0, import_jsx_runtime205.jsxs)(Container4, { ...containerProps, elevation: 4, children: [
7215
- /* @__PURE__ */ (0, import_jsx_runtime205.jsx)(ScrollableContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime205.jsxs)(ContentContainer, { children: [
7216
- hasHeader && /* @__PURE__ */ (0, import_jsx_runtime205.jsx)(HeaderContainer2, { ...headerContainerProps, children: typeof header3 === "string" ? /* @__PURE__ */ (0, import_jsx_runtime205.jsx)(Typography, { typographyType: "headingSans03", children: header3 }) : header3 }),
7222
+ /* @__PURE__ */ (0, import_jsx_runtime206.jsxs)(Container4, { ...containerProps, elevation: 4, children: [
7223
+ /* @__PURE__ */ (0, import_jsx_runtime206.jsx)(ScrollableContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime206.jsxs)(ContentContainer, { children: [
7224
+ hasHeader && /* @__PURE__ */ (0, import_jsx_runtime206.jsx)(HeaderContainer2, { ...headerContainerProps, children: typeof header3 === "string" ? /* @__PURE__ */ (0, import_jsx_runtime206.jsx)(Typography, { typographyType: "headingSans03", children: header3 }) : header3 }),
7217
7225
  children
7218
7226
  ] }) }),
7219
- /* @__PURE__ */ (0, import_jsx_runtime205.jsx)(
7227
+ /* @__PURE__ */ (0, import_jsx_runtime206.jsx)(
7220
7228
  StyledButton2,
7221
7229
  {
7222
7230
  "data-testid": "drawer-close-btn",
@@ -7236,7 +7244,7 @@ Drawer.displayName = "Drawer";
7236
7244
 
7237
7245
  // src/components/Drawer/DrawerGroup.tsx
7238
7246
  var import_react52 = require("react");
7239
- var import_jsx_runtime206 = require("react/jsx-runtime");
7247
+ var import_jsx_runtime207 = require("react/jsx-runtime");
7240
7248
  var DrawerGroup = ({
7241
7249
  children,
7242
7250
  drawerId,
@@ -7271,7 +7279,7 @@ var DrawerGroup = ({
7271
7279
  onClose: handleClose
7272
7280
  }));
7273
7281
  });
7274
- return /* @__PURE__ */ (0, import_jsx_runtime206.jsxs)(import_jsx_runtime206.Fragment, { children: [
7282
+ return /* @__PURE__ */ (0, import_jsx_runtime207.jsxs)(import_jsx_runtime207.Fragment, { children: [
7275
7283
  " ",
7276
7284
  Children9,
7277
7285
  " "
@@ -7282,7 +7290,7 @@ DrawerGroup.displayName = "DrawerGroup";
7282
7290
  // src/components/EmptyContent/EmptyContent.tsx
7283
7291
  var import_dds_design_tokens32 = require("@norges-domstoler/dds-design-tokens");
7284
7292
  var import_styled_components46 = __toESM(require("styled-components"));
7285
- var import_jsx_runtime207 = require("react/jsx-runtime");
7293
+ var import_jsx_runtime208 = require("react/jsx-runtime");
7286
7294
  var { colors: colors18, spacing: spacing16 } = import_dds_design_tokens32.ddsBaseTokens;
7287
7295
  var StyledEmptyContent = import_styled_components46.default.div`
7288
7296
  display: flex;
@@ -7307,9 +7315,9 @@ function EmptyContent({
7307
7315
  titleHeadingLevel = 5,
7308
7316
  ...rest
7309
7317
  }) {
7310
- return /* @__PURE__ */ (0, import_jsx_runtime207.jsx)(StyledEmptyContent, { ...rest, children: /* @__PURE__ */ (0, import_jsx_runtime207.jsxs)(StyledEmptyContentText, { children: [
7311
- title3 && /* @__PURE__ */ (0, import_jsx_runtime207.jsx)(Heading, { level: titleHeadingLevel, typographyType: "headingSans02", children: title3 }),
7312
- /* @__PURE__ */ (0, import_jsx_runtime207.jsx)(Paragraph, { children: message2 })
7318
+ return /* @__PURE__ */ (0, import_jsx_runtime208.jsx)(StyledEmptyContent, { ...rest, children: /* @__PURE__ */ (0, import_jsx_runtime208.jsxs)(StyledEmptyContentText, { children: [
7319
+ title3 && /* @__PURE__ */ (0, import_jsx_runtime208.jsx)(Heading, { level: titleHeadingLevel, typographyType: "headingSans02", children: title3 }),
7320
+ /* @__PURE__ */ (0, import_jsx_runtime208.jsx)(Paragraph, { children: message2 })
7313
7321
  ] }) });
7314
7322
  }
7315
7323
  EmptyContent.displayName = "EmptyContent";
@@ -7391,7 +7399,7 @@ function useControllableState(props) {
7391
7399
  }
7392
7400
 
7393
7401
  // src/components/FavStar/FavStar.tsx
7394
- var import_jsx_runtime208 = require("react/jsx-runtime");
7402
+ var import_jsx_runtime209 = require("react/jsx-runtime");
7395
7403
  var TRANSITION_SPEED = "0.2s";
7396
7404
  var StyledIcon3 = (0, import_styled_components47.default)(Icon)`
7397
7405
  color: currentColor;
@@ -7475,7 +7483,7 @@ var FavStar = (0, import_react55.forwardRef)(
7475
7483
  defaultValue: defaultChecked != null ? defaultChecked : false,
7476
7484
  onChange
7477
7485
  });
7478
- return /* @__PURE__ */ (0, import_jsx_runtime208.jsxs)(
7486
+ return /* @__PURE__ */ (0, import_jsx_runtime209.jsxs)(
7479
7487
  Container5,
7480
7488
  {
7481
7489
  size: size2,
@@ -7483,7 +7491,7 @@ var FavStar = (0, import_react55.forwardRef)(
7483
7491
  style,
7484
7492
  htmlFor: id != null ? id : generatedId,
7485
7493
  children: [
7486
- /* @__PURE__ */ (0, import_jsx_runtime208.jsx)(
7494
+ /* @__PURE__ */ (0, import_jsx_runtime209.jsx)(
7487
7495
  HiddenInput,
7488
7496
  {
7489
7497
  ...props,
@@ -7495,8 +7503,8 @@ var FavStar = (0, import_react55.forwardRef)(
7495
7503
  "aria-label": (_a = props["aria-label"]) != null ? _a : "Favoriser"
7496
7504
  }
7497
7505
  ),
7498
- /* @__PURE__ */ (0, import_jsx_runtime208.jsx)(StyledIcon3, { iconSize: size2, icon: StarIcon }),
7499
- /* @__PURE__ */ (0, import_jsx_runtime208.jsx)(
7506
+ /* @__PURE__ */ (0, import_jsx_runtime209.jsx)(StyledIcon3, { iconSize: size2, icon: StarIcon }),
7507
+ /* @__PURE__ */ (0, import_jsx_runtime209.jsx)(
7500
7508
  StyledIcon3,
7501
7509
  {
7502
7510
  iconSize: size2,
@@ -7544,7 +7552,7 @@ var stackTokens = {
7544
7552
  };
7545
7553
 
7546
7554
  // src/components/Stack/Stack.tsx
7547
- var import_jsx_runtime209 = require("react/jsx-runtime");
7555
+ var import_jsx_runtime210 = require("react/jsx-runtime");
7548
7556
  var Stack = import_styled_components48.default.div.withConfig({
7549
7557
  shouldForwardProp: (prop) => {
7550
7558
  const styleOnlyProps = [
@@ -7575,7 +7583,7 @@ Stack.defaultProps = {
7575
7583
  justify: "flex-start"
7576
7584
  };
7577
7585
  var HStack = (0, import_react56.forwardRef)(
7578
- ({ id, className, htmlProps, ...rest }, ref) => /* @__PURE__ */ (0, import_jsx_runtime209.jsx)(
7586
+ ({ id, className, htmlProps, ...rest }, ref) => /* @__PURE__ */ (0, import_jsx_runtime210.jsx)(
7579
7587
  Stack,
7580
7588
  {
7581
7589
  direction: "horizontal",
@@ -7586,7 +7594,7 @@ var HStack = (0, import_react56.forwardRef)(
7586
7594
  );
7587
7595
  HStack.displayName = "HStack";
7588
7596
  var VStack = (0, import_react56.forwardRef)(
7589
- ({ id, className, htmlProps, ...rest }, ref) => /* @__PURE__ */ (0, import_jsx_runtime209.jsx)(
7597
+ ({ id, className, htmlProps, ...rest }, ref) => /* @__PURE__ */ (0, import_jsx_runtime210.jsx)(
7590
7598
  Stack,
7591
7599
  {
7592
7600
  direction: "vertical",
@@ -7612,7 +7620,7 @@ var textAreaTokens = {
7612
7620
  };
7613
7621
 
7614
7622
  // src/components/TextArea/TextArea.tsx
7615
- var import_jsx_runtime210 = require("react/jsx-runtime");
7623
+ var import_jsx_runtime211 = require("react/jsx-runtime");
7616
7624
  var defaultWidth = "320px";
7617
7625
  var { textarea: textarea2 } = textAreaTokens;
7618
7626
  var StyledTextArea = (0, import_styled_components49.default)(StatefulInput)`
@@ -7689,9 +7697,9 @@ var TextArea = (0, import_react57.forwardRef)(
7689
7697
  "aria-invalid": hasErrorMessage ? true : void 0,
7690
7698
  ...rest
7691
7699
  };
7692
- return /* @__PURE__ */ (0, import_jsx_runtime210.jsxs)(OuterInputContainer, { ...containerProps, children: [
7693
- hasLabel && /* @__PURE__ */ (0, import_jsx_runtime210.jsx)(Label, { showRequiredStyling, htmlFor: uniqueId, children: label3 }),
7694
- /* @__PURE__ */ (0, import_jsx_runtime210.jsx)(StyledTextArea, { ...textAreaProps, as: "textarea" }),
7700
+ return /* @__PURE__ */ (0, import_jsx_runtime211.jsxs)(OuterInputContainer, { ...containerProps, children: [
7701
+ hasLabel && /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(Label, { showRequiredStyling, htmlFor: uniqueId, children: label3 }),
7702
+ /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(StyledTextArea, { ...textAreaProps, as: "textarea" }),
7695
7703
  renderInputMessage(tip, tipId, errorMessage, errorMessageId)
7696
7704
  ] });
7697
7705
  }
@@ -7699,7 +7707,7 @@ var TextArea = (0, import_react57.forwardRef)(
7699
7707
  TextArea.displayName = "TextArea";
7700
7708
 
7701
7709
  // src/components/Feedback/CommentComponent.tsx
7702
- var import_jsx_runtime211 = require("react/jsx-runtime");
7710
+ var import_jsx_runtime212 = require("react/jsx-runtime");
7703
7711
  var IconLabelSpan = import_styled_components50.default.span`
7704
7712
  display: inline-flex;
7705
7713
  align-items: center;
@@ -7715,21 +7723,21 @@ var CommentComponent = ({
7715
7723
  handleSubmit,
7716
7724
  handleFeedbackTextChange
7717
7725
  }) => {
7718
- return /* @__PURE__ */ (0, import_jsx_runtime211.jsxs)(VStack, { gap: "x1", align: "flex-start", children: [
7719
- /* @__PURE__ */ (0, import_jsx_runtime211.jsxs)(IconLabelSpan, { children: [
7720
- /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(
7726
+ return /* @__PURE__ */ (0, import_jsx_runtime212.jsxs)(VStack, { gap: "x1", align: "flex-start", children: [
7727
+ /* @__PURE__ */ (0, import_jsx_runtime212.jsxs)(IconLabelSpan, { children: [
7728
+ /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(
7721
7729
  Icon,
7722
7730
  {
7723
7731
  icon: rating === "positive" ? ThumbupFilled : ThumbdownFilled,
7724
7732
  color: import_dds_design_tokens36.ddsBaseTokens.colors.DdsColorInteractiveBase
7725
7733
  }
7726
7734
  ),
7727
- /* @__PURE__ */ (0, import_jsx_runtime211.jsxs)(Paragraph, { children: [
7735
+ /* @__PURE__ */ (0, import_jsx_runtime212.jsxs)(Paragraph, { children: [
7728
7736
  ratingSubmittedTitle,
7729
7737
  " "
7730
7738
  ] })
7731
7739
  ] }),
7732
- /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(
7740
+ /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(
7733
7741
  TextArea,
7734
7742
  {
7735
7743
  value: feedbackText,
@@ -7738,7 +7746,7 @@ var CommentComponent = ({
7738
7746
  tip: "Ikke send inn personopplysninger eller annen sensitiv informasjon"
7739
7747
  }
7740
7748
  ),
7741
- /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(
7749
+ /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(
7742
7750
  Button,
7743
7751
  {
7744
7752
  purpose: "secondary",
@@ -7801,7 +7809,7 @@ var TooltipWrapper = (0, import_styled_components51.default)(Paper)`
7801
7809
  `;
7802
7810
 
7803
7811
  // src/components/Tooltip/Tooltip.tsx
7804
- var import_jsx_runtime212 = require("react/jsx-runtime");
7812
+ var import_jsx_runtime213 = require("react/jsx-runtime");
7805
7813
  var { svgArrow: svgArrow2 } = tooltipTokens;
7806
7814
  var Tooltip = (0, import_react58.forwardRef)(
7807
7815
  (props, ref) => {
@@ -7906,19 +7914,19 @@ var Tooltip = (0, import_react58.forwardRef)(
7906
7914
  ref: setArrowElement,
7907
7915
  style: styles.arrow
7908
7916
  };
7909
- return /* @__PURE__ */ (0, import_jsx_runtime212.jsxs)(Container6, { ...containerProps, children: [
7917
+ return /* @__PURE__ */ (0, import_jsx_runtime213.jsxs)(Container6, { ...containerProps, children: [
7910
7918
  anchorElement,
7911
- /* @__PURE__ */ (0, import_jsx_runtime212.jsxs)(TooltipWrapper, { ...wrapperProps, elevation: 1, border: "light", children: [
7919
+ /* @__PURE__ */ (0, import_jsx_runtime213.jsxs)(TooltipWrapper, { ...wrapperProps, elevation: 1, border: "light", children: [
7912
7920
  text,
7913
- /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(ArrowWrapper, { ...arrowWrapperProps, children: /* @__PURE__ */ (0, import_jsx_runtime212.jsxs)(SvgArrow, { children: [
7914
- /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(
7921
+ /* @__PURE__ */ (0, import_jsx_runtime213.jsx)(ArrowWrapper, { ...arrowWrapperProps, children: /* @__PURE__ */ (0, import_jsx_runtime213.jsxs)(SvgArrow, { children: [
7922
+ /* @__PURE__ */ (0, import_jsx_runtime213.jsx)(
7915
7923
  "path",
7916
7924
  {
7917
7925
  d: "M16.586 6.586L10 0h16.154a.373.373 0 00-.263.11l-6.477 6.476a2 2 0 01-2.828 0z",
7918
7926
  fill: svgArrow2.background.fill
7919
7927
  }
7920
7928
  ),
7921
- /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(
7929
+ /* @__PURE__ */ (0, import_jsx_runtime213.jsx)(
7922
7930
  "path",
7923
7931
  {
7924
7932
  fillRule: "evenodd",
@@ -7935,7 +7943,7 @@ var Tooltip = (0, import_react58.forwardRef)(
7935
7943
  Tooltip.displayName = "Tooltip";
7936
7944
 
7937
7945
  // src/components/Feedback/RatingComponent.tsx
7938
- var import_jsx_runtime213 = require("react/jsx-runtime");
7946
+ var import_jsx_runtime214 = require("react/jsx-runtime");
7939
7947
  var RatingContainer = import_styled_components52.default.div`
7940
7948
  display: flex;
7941
7949
  gap: ${import_dds_design_tokens38.ddsBaseTokens.spacing.SizesDdsSpacingX1};
@@ -7956,10 +7964,10 @@ var RatingComponent = ({
7956
7964
  thumbDownTooltip,
7957
7965
  handleRatingChange
7958
7966
  }) => {
7959
- return /* @__PURE__ */ (0, import_jsx_runtime213.jsxs)(RatingContainer, { $layout: layout, children: [
7960
- /* @__PURE__ */ (0, import_jsx_runtime213.jsx)(Label, { children: ratingLabel }),
7961
- loading ? /* @__PURE__ */ (0, import_jsx_runtime213.jsx)(Spinner, { tooltip: "Laster opp tilbakemelding ..." }) : /* @__PURE__ */ (0, import_jsx_runtime213.jsxs)(HStack, { gap: "x1", children: [
7962
- /* @__PURE__ */ (0, import_jsx_runtime213.jsx)(Tooltip, { text: thumbUpTooltip, children: /* @__PURE__ */ (0, import_jsx_runtime213.jsx)(
7967
+ return /* @__PURE__ */ (0, import_jsx_runtime214.jsxs)(RatingContainer, { $layout: layout, children: [
7968
+ /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(Label, { children: ratingLabel }),
7969
+ loading ? /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(Spinner, { tooltip: "Laster opp tilbakemelding ..." }) : /* @__PURE__ */ (0, import_jsx_runtime214.jsxs)(HStack, { gap: "x1", children: [
7970
+ /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(Tooltip, { text: thumbUpTooltip, children: /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(
7963
7971
  RatingButton,
7964
7972
  {
7965
7973
  htmlProps: { "aria-label": thumbUpTooltip },
@@ -7969,7 +7977,7 @@ var RatingComponent = ({
7969
7977
  size: "large"
7970
7978
  }
7971
7979
  ) }),
7972
- /* @__PURE__ */ (0, import_jsx_runtime213.jsx)(Tooltip, { text: thumbDownTooltip, children: /* @__PURE__ */ (0, import_jsx_runtime213.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime213.jsx)(
7980
+ /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(Tooltip, { text: thumbDownTooltip, children: /* @__PURE__ */ (0, import_jsx_runtime214.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(
7973
7981
  RatingButton,
7974
7982
  {
7975
7983
  htmlProps: { "aria-label": thumbDownTooltip },
@@ -7984,7 +7992,7 @@ var RatingComponent = ({
7984
7992
  };
7985
7993
 
7986
7994
  // src/components/Feedback/Feedback.tsx
7987
- var import_jsx_runtime214 = require("react/jsx-runtime");
7995
+ var import_jsx_runtime215 = require("react/jsx-runtime");
7988
7996
  var Feedback = ({
7989
7997
  layout = "vertical",
7990
7998
  ratingLabel = "Hva syns du om tjenesten?",
@@ -8029,7 +8037,7 @@ var Feedback = ({
8029
8037
  isSubmittedProp === void 0 && setIsFeedbackSubmitted(true);
8030
8038
  };
8031
8039
  if (rating === null && !isFeedbackSubmitted) {
8032
- return /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(
8040
+ return /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(
8033
8041
  RatingComponent,
8034
8042
  {
8035
8043
  layout,
@@ -8042,7 +8050,7 @@ var Feedback = ({
8042
8050
  );
8043
8051
  }
8044
8052
  if (!feedbackTextAreaExcluded && !isFeedbackSubmitted) {
8045
- return /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(
8053
+ return /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(
8046
8054
  CommentComponent,
8047
8055
  {
8048
8056
  rating,
@@ -8056,7 +8064,7 @@ var Feedback = ({
8056
8064
  }
8057
8065
  );
8058
8066
  }
8059
- return /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(Paragraph, { children: submittedTitle });
8067
+ return /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(Paragraph, { children: submittedTitle });
8060
8068
  };
8061
8069
 
8062
8070
  // src/components/FileUploader/FileUploader.tsx
@@ -8096,7 +8104,7 @@ var errorsTokens = {
8096
8104
  };
8097
8105
 
8098
8106
  // src/components/FileUploader/ErrorList.tsx
8099
- var import_jsx_runtime215 = require("react/jsx-runtime");
8107
+ var import_jsx_runtime216 = require("react/jsx-runtime");
8100
8108
  var MessageContainer = import_styled_components53.default.div`
8101
8109
  display: flex;
8102
8110
  flex-direction: column;
@@ -8107,8 +8115,8 @@ var ErrorList = (props) => {
8107
8115
  if (errors.length < 1) {
8108
8116
  return null;
8109
8117
  }
8110
- return /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(MessageContainer, { children: errors.map(({ id, message: message2 }) => {
8111
- return /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(
8118
+ return /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(MessageContainer, { children: errors.map(({ id, message: message2 }) => {
8119
+ return /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(
8112
8120
  InputMessage,
8113
8121
  {
8114
8122
  id,
@@ -8122,7 +8130,7 @@ var ErrorList = (props) => {
8122
8130
 
8123
8131
  // src/components/FileUploader/File.tsx
8124
8132
  var import_styled_components54 = __toESM(require("styled-components"));
8125
- var import_jsx_runtime216 = require("react/jsx-runtime");
8133
+ var import_jsx_runtime217 = require("react/jsx-runtime");
8126
8134
  var FileWrapper = import_styled_components54.default.li``;
8127
8135
  var FileNameWrapper = import_styled_components54.default.span`
8128
8136
  word-break: break-all;
@@ -8148,10 +8156,10 @@ var File = (props) => {
8148
8156
  id: derivativeIdGenerator(parentId, `file-${index}-error-${errorIndex}`),
8149
8157
  message: e
8150
8158
  }));
8151
- return /* @__PURE__ */ (0, import_jsx_runtime216.jsxs)(FileWrapper, { children: [
8152
- /* @__PURE__ */ (0, import_jsx_runtime216.jsxs)(FileElement, { ...props, children: [
8153
- /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(FileNameWrapper, { children: stateFile.file.name }),
8154
- /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(
8159
+ return /* @__PURE__ */ (0, import_jsx_runtime217.jsxs)(FileWrapper, { children: [
8160
+ /* @__PURE__ */ (0, import_jsx_runtime217.jsxs)(FileElement, { ...props, children: [
8161
+ /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(FileNameWrapper, { children: stateFile.file.name }),
8162
+ /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(
8155
8163
  RemoveFileButton,
8156
8164
  {
8157
8165
  size: "small",
@@ -8171,7 +8179,7 @@ var File = (props) => {
8171
8179
  }
8172
8180
  )
8173
8181
  ] }),
8174
- /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(ErrorList, { errors: errorsList })
8182
+ /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(ErrorList, { errors: errorsList })
8175
8183
  ] }, stateFile.file.name);
8176
8184
  };
8177
8185
 
@@ -8445,7 +8453,7 @@ var useFileUploader = (props) => {
8445
8453
 
8446
8454
  // src/components/VisuallyHidden/VisuallyHidden.tsx
8447
8455
  var import_styled_components55 = __toESM(require("styled-components"));
8448
- var import_jsx_runtime217 = require("react/jsx-runtime");
8456
+ var import_jsx_runtime218 = require("react/jsx-runtime");
8449
8457
  var Wrapper2 = import_styled_components55.default.span`
8450
8458
  position: absolute;
8451
8459
  width: 1px;
@@ -8462,14 +8470,14 @@ var Wrapper2 = import_styled_components55.default.span`
8462
8470
  var VisuallyHidden = (props) => {
8463
8471
  const { children, id, className, htmlProps, as, ...rest } = props;
8464
8472
  if (as === "div") {
8465
- return /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(Wrapper2, { ...getBaseHTMLProps(id, className, htmlProps, rest), as, children });
8473
+ return /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(Wrapper2, { ...getBaseHTMLProps(id, className, htmlProps, rest), as, children });
8466
8474
  }
8467
- return /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(Wrapper2, { ...getBaseHTMLProps(id, className, htmlProps, rest), children });
8475
+ return /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(Wrapper2, { ...getBaseHTMLProps(id, className, htmlProps, rest), children });
8468
8476
  };
8469
8477
  VisuallyHidden.displayName = "VisuallyHidden";
8470
8478
 
8471
8479
  // src/components/FileUploader/FileUploader.tsx
8472
- var import_jsx_runtime218 = require("react/jsx-runtime");
8480
+ var import_jsx_runtime219 = require("react/jsx-runtime");
8473
8481
  var defaultWidth2 = "320px";
8474
8482
  var Wrapper3 = import_styled_components56.default.div`
8475
8483
  width: ${({ width }) => width ? width : defaultWidth2};
@@ -8529,7 +8537,7 @@ var FileUploader = (props) => {
8529
8537
  const hasRootErrors = rootErrors.length > 0;
8530
8538
  const showRequiredMarker = required;
8531
8539
  const tipId = derivativeIdGenerator(uniqueId, "tip");
8532
- const fileListElements = stateFiles.map((stateFile, index) => /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(
8540
+ const fileListElements = stateFiles.map((stateFile, index) => /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(
8533
8541
  File,
8534
8542
  {
8535
8543
  parentId: uniqueId,
@@ -8544,21 +8552,21 @@ var FileUploader = (props) => {
8544
8552
  id: derivativeIdGenerator(uniqueId, `error-${index}`),
8545
8553
  message: e
8546
8554
  }));
8547
- return /* @__PURE__ */ (0, import_jsx_runtime218.jsxs)(Wrapper3, { width, children: [
8548
- hasLabel && /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(Label, { showRequiredStyling: showRequiredMarker, htmlFor: uniqueId, children: label3 }),
8549
- hasTip && /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(InputMessage, { id: tipId, message: tip, messageType: "tip" }),
8550
- /* @__PURE__ */ (0, import_jsx_runtime218.jsxs)(
8555
+ return /* @__PURE__ */ (0, import_jsx_runtime219.jsxs)(Wrapper3, { width, children: [
8556
+ hasLabel && /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(Label, { showRequiredStyling: showRequiredMarker, htmlFor: uniqueId, children: label3 }),
8557
+ hasTip && /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(InputMessage, { id: tipId, message: tip, messageType: "tip" }),
8558
+ /* @__PURE__ */ (0, import_jsx_runtime219.jsxs)(
8551
8559
  Root,
8552
8560
  {
8553
8561
  ...getRootProps(),
8554
8562
  $isDragActive: isDragActive,
8555
8563
  $hasRootErrors: hasRootErrors,
8556
8564
  children: [
8557
- /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(FileUploaderInput, { ...getInputProps() }),
8565
+ /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(FileUploaderInput, { ...getInputProps() }),
8558
8566
  "Dra og slipp filer her eller",
8559
8567
  " ",
8560
- /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(VisuallyHidden, { as: "span", children: "velg fil med p\xE5f\xF8lgende knapp" }),
8561
- /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(
8568
+ /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(VisuallyHidden, { as: "span", children: "velg fil med p\xE5f\xF8lgende knapp" }),
8569
+ /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(
8562
8570
  Button,
8563
8571
  {
8564
8572
  ...getButtonProps(),
@@ -8581,8 +8589,8 @@ var FileUploader = (props) => {
8581
8589
  ]
8582
8590
  }
8583
8591
  ),
8584
- /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(ErrorList, { errors: rootErrorsList }),
8585
- /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(FileListElement, { children: fileListElements })
8592
+ /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(ErrorList, { errors: rootErrorsList }),
8593
+ /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(FileListElement, { children: fileListElements })
8586
8594
  ] });
8587
8595
  };
8588
8596
  FileUploader.displayName = "FileUploader";
@@ -8652,7 +8660,7 @@ var globalMessageTokens = {
8652
8660
  };
8653
8661
 
8654
8662
  // src/components/GlobalMessage/GlobalMessage.tsx
8655
- var import_jsx_runtime219 = require("react/jsx-runtime");
8663
+ var import_jsx_runtime220 = require("react/jsx-runtime");
8656
8664
  var { container: container8, contentContainer: contentContainer4, icon: icon5 } = globalMessageTokens;
8657
8665
  var Container7 = import_styled_components57.default.div`
8658
8666
  display: flex;
@@ -8696,24 +8704,24 @@ var GlobalMessage = (0, import_react62.forwardRef)(
8696
8704
  ...rest
8697
8705
  } = props;
8698
8706
  const [isClosed, setClosed] = (0, import_react62.useState)(false);
8699
- return !isClosed ? /* @__PURE__ */ (0, import_jsx_runtime219.jsxs)(
8707
+ return !isClosed ? /* @__PURE__ */ (0, import_jsx_runtime220.jsxs)(
8700
8708
  Container7,
8701
8709
  {
8702
8710
  ref,
8703
8711
  $purpose: purpose,
8704
8712
  ...getBaseHTMLProps(id, className, htmlProps, rest),
8705
8713
  children: [
8706
- /* @__PURE__ */ (0, import_jsx_runtime219.jsxs)(ContentContainer2, { $closable: closable, children: [
8707
- /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(
8714
+ /* @__PURE__ */ (0, import_jsx_runtime220.jsxs)(ContentContainer2, { $closable: closable, children: [
8715
+ /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
8708
8716
  MessageIconWrapper,
8709
8717
  {
8710
8718
  icon: purposeVariants[purpose].icon,
8711
8719
  color: icon5[purpose].color
8712
8720
  }
8713
8721
  ),
8714
- children != null ? children : /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(Typography, { as: "span", children: message2 })
8722
+ children != null ? children : /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(Typography, { as: "span", children: message2 })
8715
8723
  ] }),
8716
- /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(ControlsContainer, { children: closable && /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(
8724
+ /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(ControlsContainer, { children: closable && /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
8717
8725
  Button,
8718
8726
  {
8719
8727
  icon: CloseIcon,
@@ -8841,7 +8849,7 @@ var gridTokens2 = {
8841
8849
  };
8842
8850
 
8843
8851
  // src/components/Grid/Grid.tsx
8844
- var import_jsx_runtime220 = require("react/jsx-runtime");
8852
+ var import_jsx_runtime221 = require("react/jsx-runtime");
8845
8853
  var getHooksGridStyling = (screenSize, maxWidth, rowGap) => {
8846
8854
  const tokens4 = gridTokens2[screenSize].grid;
8847
8855
  return {
@@ -8872,14 +8880,14 @@ var StyledGrid = import_styled_components58.default.div.withConfig({
8872
8880
  var Grid = (props) => {
8873
8881
  const { id, className, children, htmlProps, as, ...rest } = props;
8874
8882
  const screenSize = useScreenSize();
8875
- return /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(GridContext.Provider, { value: { screenSize }, children: as === "div" ? /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
8883
+ return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(GridContext.Provider, { value: { screenSize }, children: as === "div" ? /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
8876
8884
  StyledGrid,
8877
8885
  {
8878
8886
  ...getBaseHTMLProps(id, className, htmlProps, rest),
8879
8887
  screenSize,
8880
8888
  children
8881
8889
  }
8882
- ) : /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
8890
+ ) : /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
8883
8891
  StyledGrid,
8884
8892
  {
8885
8893
  ...getBaseHTMLProps(id, className, htmlProps, rest),
@@ -8893,7 +8901,7 @@ Grid.displayName = "Grid";
8893
8901
 
8894
8902
  // src/components/Grid/GridChild.tsx
8895
8903
  var import_styled_components59 = __toESM(require("styled-components"));
8896
- var import_jsx_runtime221 = require("react/jsx-runtime");
8904
+ var import_jsx_runtime222 = require("react/jsx-runtime");
8897
8905
  var isRelativeGridColumn = (type) => {
8898
8906
  return type === "all" || type === "firstHalf" || type === "secondHalf";
8899
8907
  };
@@ -8919,7 +8927,7 @@ var StyledGridChild = import_styled_components59.default.div.withConfig({
8919
8927
  var GridChild = (props) => {
8920
8928
  const { id, className, htmlProps, children, ...rest } = props;
8921
8929
  const { screenSize } = useGridContext();
8922
- return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
8930
+ return /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(
8923
8931
  StyledGridChild,
8924
8932
  {
8925
8933
  ...getBaseHTMLProps(id, className, htmlProps, rest),
@@ -8935,7 +8943,7 @@ var import_react66 = require("react");
8935
8943
 
8936
8944
  // src/components/InlineEdit/InlineEdit.tsx
8937
8945
  var import_react64 = require("react");
8938
- var import_jsx_runtime222 = require("react/jsx-runtime");
8946
+ var import_jsx_runtime223 = require("react/jsx-runtime");
8939
8947
  var InlineEdit = (props) => {
8940
8948
  const {
8941
8949
  emptiable,
@@ -8985,7 +8993,7 @@ var InlineEdit = (props) => {
8985
8993
  emptiable
8986
8994
  })
8987
8995
  );
8988
- return /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(import_jsx_runtime222.Fragment, { children: inputChild });
8996
+ return /* @__PURE__ */ (0, import_jsx_runtime223.jsx)(import_jsx_runtime223.Fragment, { children: inputChild });
8989
8997
  };
8990
8998
  InlineEdit.displayName = "InlineEdit";
8991
8999
 
@@ -9062,15 +9070,15 @@ var IconWrapper2 = import_styled_components60.default.span`
9062
9070
  `;
9063
9071
 
9064
9072
  // src/components/InlineEdit/InlineEdit.utils.tsx
9065
- var import_jsx_runtime223 = require("react/jsx-runtime");
9066
- var inlineEditVisuallyHidden = (id, emptiable) => /* @__PURE__ */ (0, import_jsx_runtime223.jsxs)(VisuallyHidden, { id, as: "span", children: [
9073
+ var import_jsx_runtime224 = require("react/jsx-runtime");
9074
+ var inlineEditVisuallyHidden = (id, emptiable) => /* @__PURE__ */ (0, import_jsx_runtime224.jsxs)(VisuallyHidden, { id, as: "span", children: [
9067
9075
  "Escape, Enter eller Tab for \xE5 lagre.",
9068
9076
  " ",
9069
9077
  !emptiable && "Inputfeltet er ikke t\xF8mmbar."
9070
9078
  ] });
9071
9079
 
9072
9080
  // src/components/InlineEdit/InlineTextArea.tsx
9073
- var import_jsx_runtime224 = require("react/jsx-runtime");
9081
+ var import_jsx_runtime225 = require("react/jsx-runtime");
9074
9082
  var InlineTextArea = (0, import_react65.forwardRef)((props, ref) => {
9075
9083
  const {
9076
9084
  id,
@@ -9090,19 +9098,19 @@ var InlineTextArea = (0, import_react65.forwardRef)((props, ref) => {
9090
9098
  const descId = derivativeIdGenerator(uniqueId, "desc");
9091
9099
  const inputRef = (0, import_react65.useRef)(null);
9092
9100
  const combinedRef = useCombinedRef(ref, inputRef);
9093
- return /* @__PURE__ */ (0, import_jsx_runtime224.jsxs)(OuterInputContainer, { $width: width, children: [
9094
- /* @__PURE__ */ (0, import_jsx_runtime224.jsxs)(InputContainer, { children: [
9095
- !isEditing && !hideIcon && /* @__PURE__ */ (0, import_jsx_runtime224.jsx)(
9101
+ return /* @__PURE__ */ (0, import_jsx_runtime225.jsxs)(OuterInputContainer, { $width: width, children: [
9102
+ /* @__PURE__ */ (0, import_jsx_runtime225.jsxs)(InputContainer, { children: [
9103
+ !isEditing && !hideIcon && /* @__PURE__ */ (0, import_jsx_runtime225.jsx)(
9096
9104
  IconWrapper2,
9097
9105
  {
9098
9106
  onClick: () => {
9099
9107
  var _a;
9100
9108
  (_a = inputRef.current) == null ? void 0 : _a.focus();
9101
9109
  },
9102
- children: /* @__PURE__ */ (0, import_jsx_runtime224.jsx)(Icon, { icon: EditIcon, iconSize: "small" })
9110
+ children: /* @__PURE__ */ (0, import_jsx_runtime225.jsx)(Icon, { icon: EditIcon, iconSize: "small" })
9103
9111
  }
9104
9112
  ),
9105
- /* @__PURE__ */ (0, import_jsx_runtime224.jsx)(
9113
+ /* @__PURE__ */ (0, import_jsx_runtime225.jsx)(
9106
9114
  StyledInlineTextArea,
9107
9115
  {
9108
9116
  ...rest,
@@ -9126,12 +9134,12 @@ var InlineTextArea = (0, import_react65.forwardRef)((props, ref) => {
9126
9134
  InlineTextArea.displayName = "InlineTextArea";
9127
9135
 
9128
9136
  // src/components/InlineEdit/InlineEditTextArea.tsx
9129
- var import_jsx_runtime225 = require("react/jsx-runtime");
9137
+ var import_jsx_runtime226 = require("react/jsx-runtime");
9130
9138
  var InlineEditTextArea = (0, import_react66.forwardRef)((props, ref) => {
9131
9139
  const { onSetValue, emptiable, value, onFocus, onChange, onBlur, ...rest } = props;
9132
9140
  const textareaRef = (0, import_react66.useRef)(null);
9133
9141
  const combinedRef = useCombinedRef(ref, textareaRef);
9134
- return /* @__PURE__ */ (0, import_jsx_runtime225.jsx)(
9142
+ return /* @__PURE__ */ (0, import_jsx_runtime226.jsx)(
9135
9143
  InlineEdit,
9136
9144
  {
9137
9145
  onSetValue,
@@ -9141,7 +9149,7 @@ var InlineEditTextArea = (0, import_react66.forwardRef)((props, ref) => {
9141
9149
  onFocus,
9142
9150
  onChange,
9143
9151
  onBlur,
9144
- children: /* @__PURE__ */ (0, import_jsx_runtime225.jsx)(InlineTextArea, { ref: combinedRef, ...rest })
9152
+ children: /* @__PURE__ */ (0, import_jsx_runtime226.jsx)(InlineTextArea, { ref: combinedRef, ...rest })
9145
9153
  }
9146
9154
  );
9147
9155
  });
@@ -9151,7 +9159,7 @@ var import_react68 = require("react");
9151
9159
 
9152
9160
  // src/components/InlineEdit/InlineInput.tsx
9153
9161
  var import_react67 = require("react");
9154
- var import_jsx_runtime226 = require("react/jsx-runtime");
9162
+ var import_jsx_runtime227 = require("react/jsx-runtime");
9155
9163
  var InlineInput = (0, import_react67.forwardRef)(
9156
9164
  (props, ref) => {
9157
9165
  const {
@@ -9174,19 +9182,19 @@ var InlineInput = (0, import_react67.forwardRef)(
9174
9182
  const descId = derivativeIdGenerator(uniqueId, "desc");
9175
9183
  const inputRef = (0, import_react67.useRef)(null);
9176
9184
  const combinedRef = useCombinedRef(ref, inputRef);
9177
- return /* @__PURE__ */ (0, import_jsx_runtime226.jsxs)(OuterInputContainer, { $width: width, children: [
9178
- /* @__PURE__ */ (0, import_jsx_runtime226.jsxs)(InputContainer, { children: [
9179
- !isEditing && !hideIcon && /* @__PURE__ */ (0, import_jsx_runtime226.jsx)(
9185
+ return /* @__PURE__ */ (0, import_jsx_runtime227.jsxs)(OuterInputContainer, { $width: width, children: [
9186
+ /* @__PURE__ */ (0, import_jsx_runtime227.jsxs)(InputContainer, { children: [
9187
+ !isEditing && !hideIcon && /* @__PURE__ */ (0, import_jsx_runtime227.jsx)(
9180
9188
  IconWrapper2,
9181
9189
  {
9182
9190
  onClick: () => {
9183
9191
  var _a;
9184
9192
  (_a = inputRef.current) == null ? void 0 : _a.focus();
9185
9193
  },
9186
- children: /* @__PURE__ */ (0, import_jsx_runtime226.jsx)(Icon, { icon: EditIcon, iconSize: "small" })
9194
+ children: /* @__PURE__ */ (0, import_jsx_runtime227.jsx)(Icon, { icon: EditIcon, iconSize: "small" })
9187
9195
  }
9188
9196
  ),
9189
- /* @__PURE__ */ (0, import_jsx_runtime226.jsx)(
9197
+ /* @__PURE__ */ (0, import_jsx_runtime227.jsx)(
9190
9198
  StyledInlineInput,
9191
9199
  {
9192
9200
  ...rest,
@@ -9212,12 +9220,12 @@ var InlineInput = (0, import_react67.forwardRef)(
9212
9220
  InlineInput.displayName = "InlineInput";
9213
9221
 
9214
9222
  // src/components/InlineEdit/InlineEditInput.tsx
9215
- var import_jsx_runtime227 = require("react/jsx-runtime");
9223
+ var import_jsx_runtime228 = require("react/jsx-runtime");
9216
9224
  var InlineEditInput = (0, import_react68.forwardRef)((props, ref) => {
9217
9225
  const { onSetValue, emptiable, value, onFocus, onChange, onBlur, ...rest } = props;
9218
9226
  const inputRef = (0, import_react68.useRef)(null);
9219
9227
  const combinedRef = useCombinedRef(ref, inputRef);
9220
- return /* @__PURE__ */ (0, import_jsx_runtime227.jsx)(
9228
+ return /* @__PURE__ */ (0, import_jsx_runtime228.jsx)(
9221
9229
  InlineEdit,
9222
9230
  {
9223
9231
  onSetValue,
@@ -9227,7 +9235,7 @@ var InlineEditInput = (0, import_react68.forwardRef)((props, ref) => {
9227
9235
  onFocus,
9228
9236
  onChange,
9229
9237
  onBlur,
9230
- children: /* @__PURE__ */ (0, import_jsx_runtime227.jsx)(InlineInput, { ...rest, ref: combinedRef })
9238
+ children: /* @__PURE__ */ (0, import_jsx_runtime228.jsx)(InlineInput, { ...rest, ref: combinedRef })
9231
9239
  }
9232
9240
  );
9233
9241
  });
@@ -9352,7 +9360,7 @@ function getNavTokens({ active }) {
9352
9360
  }
9353
9361
 
9354
9362
  // src/components/InternalHeader/NavigationItem.tsx
9355
- var import_jsx_runtime228 = require("react/jsx-runtime");
9363
+ var import_jsx_runtime229 = require("react/jsx-runtime");
9356
9364
  var Link3 = import_styled_components62.default.a`
9357
9365
  ${getFontStyling("bodySans02")}
9358
9366
  text-decoration: none;
@@ -9381,7 +9389,7 @@ var Link3 = import_styled_components62.default.a`
9381
9389
  }
9382
9390
  `;
9383
9391
  var NavigationItem2 = (0, import_react69.forwardRef)(({ title: title3, isCurrent, ...rest }, ref) => {
9384
- return /* @__PURE__ */ (0, import_jsx_runtime228.jsx)(
9392
+ return /* @__PURE__ */ (0, import_jsx_runtime229.jsx)(
9385
9393
  Link3,
9386
9394
  {
9387
9395
  ...rest,
@@ -9394,7 +9402,7 @@ var NavigationItem2 = (0, import_react69.forwardRef)(({ title: title3, isCurrent
9394
9402
  });
9395
9403
 
9396
9404
  // src/components/InternalHeader/InternalHeader.tsx
9397
- var import_jsx_runtime229 = require("react/jsx-runtime");
9405
+ var import_jsx_runtime230 = require("react/jsx-runtime");
9398
9406
  var InternalHeader = (props) => {
9399
9407
  const {
9400
9408
  applicationDesc,
@@ -9426,10 +9434,10 @@ var InternalHeader = (props) => {
9426
9434
  const hasNavigationElements = !!navigationElements && navigationElements.length > 0;
9427
9435
  const hasContextMenuElements = !!contextMenuElements && contextMenuElements.length > 0;
9428
9436
  const hasNavInContextMenu = smallScreen && hasNavigationElements;
9429
- const navigation2 = hasNavigationElements && !smallScreen ? /* @__PURE__ */ (0, import_jsx_runtime229.jsx)("nav", { "aria-label": "sidenavigasjon", children: /* @__PURE__ */ (0, import_jsx_runtime229.jsx)(NavigationList, { children: navigationElements.map((item, index) => {
9437
+ const navigation2 = hasNavigationElements && !smallScreen ? /* @__PURE__ */ (0, import_jsx_runtime230.jsx)("nav", { "aria-label": "sidenavigasjon", children: /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(NavigationList, { children: navigationElements.map((item, index) => {
9430
9438
  const { href, ...rest2 } = item;
9431
9439
  const isCurrent = href === currentPage;
9432
- return /* @__PURE__ */ (0, import_jsx_runtime229.jsx)(NavLi, { children: /* @__PURE__ */ (0, import_jsx_runtime229.jsx)(
9440
+ return /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(NavLi, { children: /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(
9433
9441
  NavigationItem2,
9434
9442
  {
9435
9443
  href,
@@ -9440,18 +9448,18 @@ var InternalHeader = (props) => {
9440
9448
  ) }, index);
9441
9449
  }) }) }) : null;
9442
9450
  const hasContextMenu = hasContextMenuElements || !!userProps || hasNavInContextMenu;
9443
- return /* @__PURE__ */ (0, import_jsx_runtime229.jsxs)(
9451
+ return /* @__PURE__ */ (0, import_jsx_runtime230.jsxs)(
9444
9452
  Bar2,
9445
9453
  {
9446
9454
  ...getBaseHTMLProps(id, className, htmlProps, rest),
9447
9455
  $hasNavigation: !!navigation2,
9448
9456
  children: [
9449
- /* @__PURE__ */ (0, import_jsx_runtime229.jsx)(Typography, { typographyType: "bodySans02", bold: true, as: "span", children: applicationName }),
9450
- /* @__PURE__ */ (0, import_jsx_runtime229.jsx)(Typography, { typographyType: "bodySans02", as: "span", children: applicationDesc }),
9451
- (hasContextMenu || navigation2 !== null) && /* @__PURE__ */ (0, import_jsx_runtime229.jsx)(BarSeparator, {}),
9457
+ /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(Typography, { typographyType: "bodySans02", bold: true, as: "span", children: applicationName }),
9458
+ /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(Typography, { typographyType: "bodySans02", as: "span", children: applicationDesc }),
9459
+ (hasContextMenu || navigation2 !== null) && /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(BarSeparator, {}),
9452
9460
  navigation2,
9453
- hasContextMenu && /* @__PURE__ */ (0, import_jsx_runtime229.jsxs)(ContextMenuGroup, { children: [
9454
- /* @__PURE__ */ (0, import_jsx_runtime229.jsx)(
9461
+ hasContextMenu && /* @__PURE__ */ (0, import_jsx_runtime230.jsxs)(ContextMenuGroup, { children: [
9462
+ /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(
9455
9463
  Button,
9456
9464
  {
9457
9465
  ref: buttonRef,
@@ -9464,7 +9472,7 @@ var InternalHeader = (props) => {
9464
9472
  "aria-label": "\xE5pne meny"
9465
9473
  }
9466
9474
  ),
9467
- /* @__PURE__ */ (0, import_jsx_runtime229.jsx)(
9475
+ /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(
9468
9476
  StyledOverflowMenu,
9469
9477
  {
9470
9478
  isOpen: !contextMenuIsClosed,
@@ -9530,7 +9538,7 @@ var listTokens = {
9530
9538
  };
9531
9539
 
9532
9540
  // src/components/List/List.tsx
9533
- var import_jsx_runtime230 = require("react/jsx-runtime");
9541
+ var import_jsx_runtime231 = require("react/jsx-runtime");
9534
9542
  var { list: list6, listItem: listItem4, bullet: bullet2 } = listTokens;
9535
9543
  var StyledList = import_styled_components63.default.ul`
9536
9544
  margin: ${list6.base.margin};
@@ -9596,7 +9604,7 @@ var List2 = (0, import_react71.forwardRef)(
9596
9604
  ...rest
9597
9605
  } = props;
9598
9606
  const as = listType === "ordered" ? "ol" : "ul";
9599
- return /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(
9607
+ return /* @__PURE__ */ (0, import_jsx_runtime231.jsx)(
9600
9608
  StyledList,
9601
9609
  {
9602
9610
  ...getBaseHTMLProps(id, className, htmlProps, rest),
@@ -9614,13 +9622,13 @@ List2.displayName = "List";
9614
9622
  // src/components/List/ListItem.tsx
9615
9623
  var import_react72 = require("react");
9616
9624
  var import_styled_components64 = __toESM(require("styled-components"));
9617
- var import_jsx_runtime231 = require("react/jsx-runtime");
9625
+ var import_jsx_runtime232 = require("react/jsx-runtime");
9618
9626
  var StyledListItem = import_styled_components64.default.li`
9619
9627
  line-height: ${listTokens.listItem.lineHeight};
9620
9628
  `;
9621
9629
  var ListItem2 = (0, import_react72.forwardRef)(
9622
9630
  ({ children, ...rest }, ref) => {
9623
- return /* @__PURE__ */ (0, import_jsx_runtime231.jsx)(StyledListItem, { ref, ...rest, children });
9631
+ return /* @__PURE__ */ (0, import_jsx_runtime232.jsx)(StyledListItem, { ref, ...rest, children });
9624
9632
  }
9625
9633
  );
9626
9634
  ListItem2.displayName = "ListItem";
@@ -9727,7 +9735,7 @@ var localMessageTokens = {
9727
9735
  };
9728
9736
 
9729
9737
  // src/components/LocalMessage/LocalMessage.tsx
9730
- var import_jsx_runtime232 = require("react/jsx-runtime");
9738
+ var import_jsx_runtime233 = require("react/jsx-runtime");
9731
9739
  var { container: container10, content: content4, icon: icon7, purposeVariants: purposeVariants3 } = localMessageTokens;
9732
9740
  var Container8 = import_styled_components65.default.div.withConfig({
9733
9741
  shouldForwardProp: (prop) => {
@@ -9816,18 +9824,18 @@ var LocalMessage = (0, import_react73.forwardRef)(
9816
9824
  ref
9817
9825
  };
9818
9826
  if (isClosed) {
9819
- return /* @__PURE__ */ (0, import_jsx_runtime232.jsx)(import_jsx_runtime232.Fragment, {});
9827
+ return /* @__PURE__ */ (0, import_jsx_runtime233.jsx)(import_jsx_runtime233.Fragment, {});
9820
9828
  }
9821
- return /* @__PURE__ */ (0, import_jsx_runtime232.jsxs)(Container8, { ...containerProps, children: [
9822
- /* @__PURE__ */ (0, import_jsx_runtime232.jsx)(
9829
+ return /* @__PURE__ */ (0, import_jsx_runtime233.jsxs)(Container8, { ...containerProps, children: [
9830
+ /* @__PURE__ */ (0, import_jsx_runtime233.jsx)(
9823
9831
  MessageIconWrapper2,
9824
9832
  {
9825
9833
  icon: purposeVariants3[purpose].icon,
9826
9834
  color: icon7[purpose].color
9827
9835
  }
9828
9836
  ),
9829
- /* @__PURE__ */ (0, import_jsx_runtime232.jsx)(TextContainer2, { children: children != null ? children : /* @__PURE__ */ (0, import_jsx_runtime232.jsx)(Typography, { as: "span", children: message2 }) }),
9830
- closable && /* @__PURE__ */ (0, import_jsx_runtime232.jsx)(
9837
+ /* @__PURE__ */ (0, import_jsx_runtime233.jsx)(TextContainer2, { children: children != null ? children : /* @__PURE__ */ (0, import_jsx_runtime233.jsx)(Typography, { as: "span", children: message2 }) }),
9838
+ closable && /* @__PURE__ */ (0, import_jsx_runtime233.jsx)(
9831
9839
  CloseButton,
9832
9840
  {
9833
9841
  icon: CloseIcon,
@@ -9918,7 +9926,7 @@ var modalTokens = {
9918
9926
  };
9919
9927
 
9920
9928
  // src/components/Modal/Modal.tsx
9921
- var import_jsx_runtime233 = require("react/jsx-runtime");
9929
+ var import_jsx_runtime234 = require("react/jsx-runtime");
9922
9930
  var { container: container12, contentContainer: contentContainer6 } = modalTokens;
9923
9931
  var Container9 = (0, import_styled_components67.default)(Paper)`
9924
9932
  display: flex;
@@ -9981,7 +9989,7 @@ var Modal = (0, import_react74.forwardRef)((props, ref) => {
9981
9989
  useOnKeyDown(["Escape", "Esc"], () => handleClose());
9982
9990
  const hasTransitionedIn = useMountTransition(isOpen, 200);
9983
9991
  return isOpen || hasTransitionedIn ? (0, import_react_dom3.createPortal)(
9984
- /* @__PURE__ */ (0, import_jsx_runtime233.jsx)(Backdrop, { isOpen: hasTransitionedIn && isOpen, children: /* @__PURE__ */ (0, import_jsx_runtime233.jsxs)(
9992
+ /* @__PURE__ */ (0, import_jsx_runtime234.jsx)(Backdrop, { isOpen: hasTransitionedIn && isOpen, children: /* @__PURE__ */ (0, import_jsx_runtime234.jsxs)(
9985
9993
  Container9,
9986
9994
  {
9987
9995
  ...getBaseHTMLProps(id, className, htmlProps, rest),
@@ -9994,11 +10002,11 @@ var Modal = (0, import_react74.forwardRef)((props, ref) => {
9994
10002
  id: modalId,
9995
10003
  elevation: 4,
9996
10004
  children: [
9997
- /* @__PURE__ */ (0, import_jsx_runtime233.jsxs)(ContentContainer3, { children: [
9998
- header3 && /* @__PURE__ */ (0, import_jsx_runtime233.jsx)(HeaderContainer3, { id: headerId, children: typeof header3 === "string" ? /* @__PURE__ */ (0, import_jsx_runtime233.jsx)(Typography, { typographyType: "headingSans03", children: header3 }) : header3 }),
10005
+ /* @__PURE__ */ (0, import_jsx_runtime234.jsxs)(ContentContainer3, { children: [
10006
+ header3 && /* @__PURE__ */ (0, import_jsx_runtime234.jsx)(HeaderContainer3, { id: headerId, children: typeof header3 === "string" ? /* @__PURE__ */ (0, import_jsx_runtime234.jsx)(Typography, { typographyType: "headingSans03", children: header3 }) : header3 }),
9999
10007
  children
10000
10008
  ] }),
10001
- onClose && /* @__PURE__ */ (0, import_jsx_runtime233.jsx)(
10009
+ onClose && /* @__PURE__ */ (0, import_jsx_runtime234.jsx)(
10002
10010
  StyledButton3,
10003
10011
  {
10004
10012
  size: "small",
@@ -10020,7 +10028,7 @@ Modal.displayName = "Modal";
10020
10028
  // src/components/Modal/ModalBody.tsx
10021
10029
  var import_react75 = require("react");
10022
10030
  var import_styled_components68 = __toESM(require("styled-components"));
10023
- var import_jsx_runtime234 = require("react/jsx-runtime");
10031
+ var import_jsx_runtime235 = require("react/jsx-runtime");
10024
10032
  var Container10 = import_styled_components68.default.div``;
10025
10033
  var ModalBody = (0, import_react75.forwardRef)(
10026
10034
  (props, ref) => {
@@ -10029,7 +10037,7 @@ var ModalBody = (0, import_react75.forwardRef)(
10029
10037
  ...getBaseHTMLProps(id, className, htmlProps, rest),
10030
10038
  ref
10031
10039
  };
10032
- return scrollable ? /* @__PURE__ */ (0, import_jsx_runtime234.jsx)(Container10, { ...containerProps, children: /* @__PURE__ */ (0, import_jsx_runtime234.jsx)(ScrollableContainer, { contentHeight: height, children }) }) : /* @__PURE__ */ (0, import_jsx_runtime234.jsx)(Container10, { ...containerProps, children });
10040
+ return scrollable ? /* @__PURE__ */ (0, import_jsx_runtime235.jsx)(Container10, { ...containerProps, children: /* @__PURE__ */ (0, import_jsx_runtime235.jsx)(ScrollableContainer, { contentHeight: height, children }) }) : /* @__PURE__ */ (0, import_jsx_runtime235.jsx)(Container10, { ...containerProps, children });
10033
10041
  }
10034
10042
  );
10035
10043
  ModalBody.displayName = "ModalBody";
@@ -10037,7 +10045,7 @@ ModalBody.displayName = "ModalBody";
10037
10045
  // src/components/Modal/ModalActions.tsx
10038
10046
  var import_react76 = require("react");
10039
10047
  var import_styled_components69 = __toESM(require("styled-components"));
10040
- var import_jsx_runtime235 = require("react/jsx-runtime");
10048
+ var import_jsx_runtime236 = require("react/jsx-runtime");
10041
10049
  var Container11 = import_styled_components69.default.div`
10042
10050
  display: flex;
10043
10051
  flex-wrap: wrap;
@@ -10049,7 +10057,7 @@ var ModalActions = (0, import_react76.forwardRef)(
10049
10057
  ref,
10050
10058
  ...rest
10051
10059
  };
10052
- return /* @__PURE__ */ (0, import_jsx_runtime235.jsx)(Container11, { ...containerProps, children });
10060
+ return /* @__PURE__ */ (0, import_jsx_runtime236.jsx)(Container11, { ...containerProps, children });
10053
10061
  }
10054
10062
  );
10055
10063
  ModalActions.displayName = "ModalActions";
@@ -10547,7 +10555,7 @@ var getCustomStyles = (size2) => ({
10547
10555
 
10548
10556
  // src/components/Select/SelectComponents.tsx
10549
10557
  var import_react_select = require("react-select");
10550
- var import_jsx_runtime236 = require("react/jsx-runtime");
10558
+ var import_jsx_runtime237 = require("react/jsx-runtime");
10551
10559
  var {
10552
10560
  Option,
10553
10561
  NoOptionsMessage,
@@ -10558,17 +10566,17 @@ var {
10558
10566
  MultiValueRemove,
10559
10567
  Control
10560
10568
  } = import_react_select.components;
10561
- var DDSOption = (props, componentSize) => /* @__PURE__ */ (0, import_jsx_runtime236.jsxs)(Option, { ...props, children: [
10562
- props.isSelected && /* @__PURE__ */ (0, import_jsx_runtime236.jsx)(Icon, { icon: CheckIcon, iconSize: getFormInputIconSize(componentSize) }),
10569
+ var DDSOption = (props, componentSize) => /* @__PURE__ */ (0, import_jsx_runtime237.jsxs)(Option, { ...props, children: [
10570
+ props.isSelected && /* @__PURE__ */ (0, import_jsx_runtime237.jsx)(Icon, { icon: CheckIcon, iconSize: getFormInputIconSize(componentSize) }),
10563
10571
  props.children
10564
10572
  ] });
10565
- var CustomOption = (props, Element) => /* @__PURE__ */ (0, import_jsx_runtime236.jsx)(Option, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime236.jsx)(Element, { ...props }) });
10566
- var CustomSingleValue = (props, id, Element) => /* @__PURE__ */ (0, import_jsx_runtime236.jsx)(SingleValue, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime236.jsx)(InnerSingleValue, { id, children: Element ? /* @__PURE__ */ (0, import_jsx_runtime236.jsx)(Element, { ...props }) : props.children }) });
10567
- var DDSNoOptionsMessage = (props) => /* @__PURE__ */ (0, import_jsx_runtime236.jsx)(NoOptionsMessage, { ...props, children: "Ingen treff" });
10568
- var DDSClearIndicator = (props, size2) => /* @__PURE__ */ (0, import_jsx_runtime236.jsx)(ClearIndicator, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime236.jsx)(Icon, { icon: CloseSmallIcon, iconSize: getFormInputIconSize(size2) }) });
10569
- var DDSMultiValueRemove = (props) => /* @__PURE__ */ (0, import_jsx_runtime236.jsx)(MultiValueRemove, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime236.jsx)(Icon, { icon: CloseSmallIcon, iconSize: "small" }) });
10570
- var DDSDropdownIndicator = (props, size2) => /* @__PURE__ */ (0, import_jsx_runtime236.jsx)(DropdownIndicator, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime236.jsx)(Icon, { icon: ChevronDownIcon, iconSize: getFormInputIconSize(size2) }) });
10571
- var DDSInput = (props, ariaInvalid, ariaDescribedby) => /* @__PURE__ */ (0, import_jsx_runtime236.jsx)(
10573
+ var CustomOption = (props, Element) => /* @__PURE__ */ (0, import_jsx_runtime237.jsx)(Option, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime237.jsx)(Element, { ...props }) });
10574
+ var CustomSingleValue = (props, id, Element) => /* @__PURE__ */ (0, import_jsx_runtime237.jsx)(SingleValue, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime237.jsx)(InnerSingleValue, { id, children: Element ? /* @__PURE__ */ (0, import_jsx_runtime237.jsx)(Element, { ...props }) : props.children }) });
10575
+ var DDSNoOptionsMessage = (props) => /* @__PURE__ */ (0, import_jsx_runtime237.jsx)(NoOptionsMessage, { ...props, children: "Ingen treff" });
10576
+ var DDSClearIndicator = (props, size2) => /* @__PURE__ */ (0, import_jsx_runtime237.jsx)(ClearIndicator, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime237.jsx)(Icon, { icon: CloseSmallIcon, iconSize: getFormInputIconSize(size2) }) });
10577
+ var DDSMultiValueRemove = (props) => /* @__PURE__ */ (0, import_jsx_runtime237.jsx)(MultiValueRemove, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime237.jsx)(Icon, { icon: CloseSmallIcon, iconSize: "small" }) });
10578
+ var DDSDropdownIndicator = (props, size2) => /* @__PURE__ */ (0, import_jsx_runtime237.jsx)(DropdownIndicator, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime237.jsx)(Icon, { icon: ChevronDownIcon, iconSize: getFormInputIconSize(size2) }) });
10579
+ var DDSInput = (props, ariaInvalid, ariaDescribedby) => /* @__PURE__ */ (0, import_jsx_runtime237.jsx)(
10572
10580
  Input2,
10573
10581
  {
10574
10582
  ...props,
@@ -10576,13 +10584,13 @@ var DDSInput = (props, ariaInvalid, ariaDescribedby) => /* @__PURE__ */ (0, impo
10576
10584
  "aria-describedby": ariaDescribedby
10577
10585
  }
10578
10586
  );
10579
- var DDSControl = (props, componentSize, icon12) => /* @__PURE__ */ (0, import_jsx_runtime236.jsxs)(Control, { ...props, children: [
10580
- icon12 && /* @__PURE__ */ (0, import_jsx_runtime236.jsx)(StyledIcon4, { icon: icon12, iconSize: getFormInputIconSize(componentSize) }),
10587
+ var DDSControl = (props, componentSize, icon12) => /* @__PURE__ */ (0, import_jsx_runtime237.jsxs)(Control, { ...props, children: [
10588
+ icon12 && /* @__PURE__ */ (0, import_jsx_runtime237.jsx)(StyledIcon4, { icon: icon12, iconSize: getFormInputIconSize(componentSize) }),
10581
10589
  props.children
10582
10590
  ] });
10583
10591
 
10584
10592
  // src/components/Select/Select.tsx
10585
- var import_jsx_runtime237 = require("react/jsx-runtime");
10593
+ var import_jsx_runtime238 = require("react/jsx-runtime");
10586
10594
  var defaultWidth4 = "320px";
10587
10595
  var getPlaceholder = (placeholder3, isMulti) => placeholder3 ? placeholder3 : isMulti ? "-- Velg en eller flere --" : "-- Velg fra listen --";
10588
10596
  function SelectInner(props, ref) {
@@ -10669,9 +10677,9 @@ function SelectInner(props, ref) {
10669
10677
  menuPortalTarget: document == null ? void 0 : document.body,
10670
10678
  ...rest
10671
10679
  };
10672
- return /* @__PURE__ */ (0, import_jsx_runtime237.jsxs)(Container12, { ...containerProps, children: [
10673
- hasLabel && /* @__PURE__ */ (0, import_jsx_runtime237.jsx)(Label, { htmlFor: uniqueId, showRequiredStyling, children: label3 }),
10674
- /* @__PURE__ */ (0, import_jsx_runtime237.jsx)(import_react_select2.default, { ...reactSelectProps, ref }),
10680
+ return /* @__PURE__ */ (0, import_jsx_runtime238.jsxs)(Container12, { ...containerProps, children: [
10681
+ hasLabel && /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(Label, { htmlFor: uniqueId, showRequiredStyling, children: label3 }),
10682
+ /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(import_react_select2.default, { ...reactSelectProps, ref }),
10675
10683
  renderInputMessage(tip, tipId, errorMessage, errorMessageId)
10676
10684
  ] });
10677
10685
  }
@@ -10682,7 +10690,7 @@ Select.displayName = "Select";
10682
10690
  var createSelectOptions = (...args) => args.map((v) => ({ label: v, value: v }));
10683
10691
 
10684
10692
  // src/components/Pagination/Pagination.tsx
10685
- var import_jsx_runtime238 = require("react/jsx-runtime");
10693
+ var import_jsx_runtime239 = require("react/jsx-runtime");
10686
10694
  var { outerContainer: outerContainer4, indicatorsContainer: indicatorsContainer2, truncationIcon: truncationIcon2, list: list8 } = paginationTokens;
10687
10695
  var Nav2 = import_styled_components71.default.nav`
10688
10696
  display: flex;
@@ -10762,7 +10770,7 @@ var Pagination = (0, import_react78.forwardRef)(
10762
10770
  };
10763
10771
  const listItems = items.length > 0 ? items.map((item, i) => {
10764
10772
  const isActive = item === activePage;
10765
- return /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(ListItem3, { children: item !== "truncator" ? /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(
10773
+ return /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(ListItem3, { children: item !== "truncator" ? /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(
10766
10774
  Button,
10767
10775
  {
10768
10776
  purpose: isActive ? "primary" : "secondary",
@@ -10774,7 +10782,7 @@ var Pagination = (0, import_react78.forwardRef)(
10774
10782
  "aria-label": isActive ? `N\xE5v\xE6rende side (side ${item})` : `G\xE5 til side ${item}`,
10775
10783
  children: item
10776
10784
  }
10777
- ) : /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(
10785
+ ) : /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(
10778
10786
  Icon,
10779
10787
  {
10780
10788
  icon: MoreHorizontalIcon,
@@ -10782,7 +10790,7 @@ var Pagination = (0, import_react78.forwardRef)(
10782
10790
  }
10783
10791
  ) }, `pagination-item-${i}`);
10784
10792
  }) : void 0;
10785
- const previousPageButton = /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(
10793
+ const previousPageButton = /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(
10786
10794
  Button,
10787
10795
  {
10788
10796
  purpose: "secondary",
@@ -10795,7 +10803,7 @@ var Pagination = (0, import_react78.forwardRef)(
10795
10803
  "aria-label": "G\xE5 til forrige siden"
10796
10804
  }
10797
10805
  );
10798
- const nextPageButton = /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(
10806
+ const nextPageButton = /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(
10799
10807
  Button,
10800
10808
  {
10801
10809
  purpose: "secondary",
@@ -10817,13 +10825,13 @@ var Pagination = (0, import_react78.forwardRef)(
10817
10825
  };
10818
10826
  const isOnFirstPage = activePage === 1;
10819
10827
  const isOnLastPage = activePage === pagesLength;
10820
- const navigation2 = withPagination ? /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(Nav2, { ref, "aria-label": "paginering", ...navProps, children: /* @__PURE__ */ (0, import_jsx_runtime238.jsxs)(List3, { children: [
10821
- /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(ListItem3, { $isHidden: isOnFirstPage, "aria-hidden": isOnFirstPage, children: previousPageButton }),
10828
+ const navigation2 = withPagination ? /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(Nav2, { ref, "aria-label": "paginering", ...navProps, children: /* @__PURE__ */ (0, import_jsx_runtime239.jsxs)(List3, { children: [
10829
+ /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(ListItem3, { $isHidden: isOnFirstPage, "aria-hidden": isOnFirstPage, children: previousPageButton }),
10822
10830
  listItems,
10823
- /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(ListItem3, { $isHidden: isOnLastPage, "aria-hidden": isOnLastPage, children: nextPageButton })
10831
+ /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(ListItem3, { $isHidden: isOnLastPage, "aria-hidden": isOnLastPage, children: nextPageButton })
10824
10832
  ] }) }) : null;
10825
- const smallScreenNavigation = withPagination ? /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(Nav2, { ref, "aria-label": "paginering", ...navProps, children: /* @__PURE__ */ (0, import_jsx_runtime238.jsxs)(List3, { children: [
10826
- /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(ListItem3, { $isHidden: isOnFirstPage, "aria-hidden": isOnFirstPage, children: /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(
10833
+ const smallScreenNavigation = withPagination ? /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(Nav2, { ref, "aria-label": "paginering", ...navProps, children: /* @__PURE__ */ (0, import_jsx_runtime239.jsxs)(List3, { children: [
10834
+ /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(ListItem3, { $isHidden: isOnFirstPage, "aria-hidden": isOnFirstPage, children: /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(
10827
10835
  Button,
10828
10836
  {
10829
10837
  purpose: "secondary",
@@ -10836,8 +10844,8 @@ var Pagination = (0, import_react78.forwardRef)(
10836
10844
  "aria-label": "G\xE5 til f\xF8rste siden"
10837
10845
  }
10838
10846
  ) }),
10839
- /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(ListItem3, { $isHidden: isOnFirstPage, "aria-hidden": isOnFirstPage, children: previousPageButton }),
10840
- /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(ListItem3, { children: /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(
10847
+ /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(ListItem3, { $isHidden: isOnFirstPage, "aria-hidden": isOnFirstPage, children: previousPageButton }),
10848
+ /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(ListItem3, { children: /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(
10841
10849
  Button,
10842
10850
  {
10843
10851
  size: "small",
@@ -10847,8 +10855,8 @@ var Pagination = (0, import_react78.forwardRef)(
10847
10855
  children: activePage
10848
10856
  }
10849
10857
  ) }),
10850
- /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(ListItem3, { $isHidden: isOnLastPage, "aria-hidden": isOnLastPage, children: nextPageButton }),
10851
- /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(ListItem3, { $isHidden: isOnLastPage, "aria-hidden": isOnLastPage, children: /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(
10858
+ /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(ListItem3, { $isHidden: isOnLastPage, "aria-hidden": isOnLastPage, children: nextPageButton }),
10859
+ /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(ListItem3, { $isHidden: isOnLastPage, "aria-hidden": isOnLastPage, children: /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(
10852
10860
  Button,
10853
10861
  {
10854
10862
  purpose: "secondary",
@@ -10865,9 +10873,9 @@ var Pagination = (0, import_react78.forwardRef)(
10865
10873
  const activePageFirstItem = activePage === 1 ? 1 : activePage * itemsPerPage - itemsPerPage + 1;
10866
10874
  const activePageLastItem = activePage === pagesLength ? itemsAmount : activePage * itemsPerPage;
10867
10875
  const navigationToBeRendered = smallScreen ? smallScreenNavigation : navigation2;
10868
- return !withCounter && !withSelect ? navigationToBeRendered : /* @__PURE__ */ (0, import_jsx_runtime238.jsxs)(OuterContainer, { ...containerProps, children: [
10869
- /* @__PURE__ */ (0, import_jsx_runtime238.jsxs)(IndicatorsContainer, { children: [
10870
- withSelect && /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(
10876
+ return !withCounter && !withSelect ? navigationToBeRendered : /* @__PURE__ */ (0, import_jsx_runtime239.jsxs)(OuterContainer, { ...containerProps, children: [
10877
+ /* @__PURE__ */ (0, import_jsx_runtime239.jsxs)(IndicatorsContainer, { children: [
10878
+ withSelect && /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(
10871
10879
  Select,
10872
10880
  {
10873
10881
  options: selectOptions,
@@ -10882,7 +10890,7 @@ var Pagination = (0, import_react78.forwardRef)(
10882
10890
  "aria-label": "Antall elementer per side"
10883
10891
  }
10884
10892
  ),
10885
- withCounter && /* @__PURE__ */ (0, import_jsx_runtime238.jsxs)(Typography, { typographyType: "supportingStyleLabel01", as: "p", children: [
10893
+ withCounter && /* @__PURE__ */ (0, import_jsx_runtime239.jsxs)(Typography, { typographyType: "supportingStyleLabel01", as: "p", children: [
10886
10894
  "Viser ",
10887
10895
  activePageFirstItem,
10888
10896
  "-",
@@ -10928,7 +10936,7 @@ var popoverTokens2 = {
10928
10936
  };
10929
10937
 
10930
10938
  // src/components/Popover/Popover.tsx
10931
- var import_jsx_runtime239 = require("react/jsx-runtime");
10939
+ var import_jsx_runtime240 = require("react/jsx-runtime");
10932
10940
  var { spacing: Spacing } = import_dds_design_tokens52.ddsBaseTokens;
10933
10941
  var { wrapper: wrapper4, content: content6, closeButton: closeButton2, title: title2 } = popoverTokens2;
10934
10942
  var Wrapper4 = (0, import_styled_components72.default)(Paper)`
@@ -11004,7 +11012,7 @@ var Popover = (0, import_react79.forwardRef)(
11004
11012
  if (isOpen)
11005
11013
  onClose && onClose();
11006
11014
  });
11007
- return isOpen || hasTransitionedIn ? /* @__PURE__ */ (0, import_jsx_runtime239.jsxs)(
11015
+ return isOpen || hasTransitionedIn ? /* @__PURE__ */ (0, import_jsx_runtime240.jsxs)(
11008
11016
  Wrapper4,
11009
11017
  {
11010
11018
  ...getBaseHTMLProps(id, className, htmlProps, rest),
@@ -11017,8 +11025,8 @@ var Popover = (0, import_react79.forwardRef)(
11017
11025
  elevation: 3,
11018
11026
  border: "light",
11019
11027
  children: [
11020
- title3 && /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(TitleContainer, { children: typeof title3 === "string" ? /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(Typography, { typographyType: "headingSans02", children: title3 }) : title3 }),
11021
- /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(
11028
+ title3 && /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(TitleContainer, { children: typeof title3 === "string" ? /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(Typography, { typographyType: "headingSans02", children: title3 }) : title3 }),
11029
+ /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(
11022
11030
  ContentContainer4,
11023
11031
  {
11024
11032
  $hasTitle: !!title3,
@@ -11026,7 +11034,7 @@ var Popover = (0, import_react79.forwardRef)(
11026
11034
  children
11027
11035
  }
11028
11036
  ),
11029
- withCloseButton && /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(
11037
+ withCloseButton && /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(
11030
11038
  StyledButton4,
11031
11039
  {
11032
11040
  icon: CloseIcon,
@@ -11046,7 +11054,7 @@ Popover.displayName = "Popover";
11046
11054
 
11047
11055
  // src/components/Popover/PopoverGroup.tsx
11048
11056
  var import_react80 = require("react");
11049
- var import_jsx_runtime240 = require("react/jsx-runtime");
11057
+ var import_jsx_runtime241 = require("react/jsx-runtime");
11050
11058
  var PopoverGroup = ({
11051
11059
  isOpen = false,
11052
11060
  onCloseButtonClick,
@@ -11092,7 +11100,7 @@ var PopoverGroup = ({
11092
11100
  onClose: handleClose
11093
11101
  }));
11094
11102
  });
11095
- return /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(import_jsx_runtime240.Fragment, { children: Children9 });
11103
+ return /* @__PURE__ */ (0, import_jsx_runtime241.jsx)(import_jsx_runtime241.Fragment, { children: Children9 });
11096
11104
  };
11097
11105
  PopoverGroup.displayName = "PopoverGroup";
11098
11106
 
@@ -11227,7 +11235,7 @@ var progressTrackerTokens = {
11227
11235
  // src/components/ProgressTracker/ProgressTrackerItem.tsx
11228
11236
  var import_react82 = require("react");
11229
11237
  var import_styled_components73 = __toESM(require("styled-components"));
11230
- var import_jsx_runtime241 = require("react/jsx-runtime");
11238
+ var import_jsx_runtime242 = require("react/jsx-runtime");
11231
11239
  var toItemState = (active, completed, disabled) => {
11232
11240
  if (disabled) {
11233
11241
  return "disabled";
@@ -11324,14 +11332,14 @@ var ProgressTrackerItem = (props) => {
11324
11332
  };
11325
11333
  const stepNumberContent = (0, import_react82.useMemo)(() => {
11326
11334
  if (completed) {
11327
- return /* @__PURE__ */ (0, import_jsx_runtime241.jsx)(Icon, { icon: CheckIcon, iconSize: itemNumber2.iconSize });
11335
+ return /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(Icon, { icon: CheckIcon, iconSize: itemNumber2.iconSize });
11328
11336
  }
11329
11337
  if (icon12 !== void 0) {
11330
- return /* @__PURE__ */ (0, import_jsx_runtime241.jsx)(Icon, { icon: icon12, iconSize: itemNumber2.iconSize });
11338
+ return /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(Icon, { icon: icon12, iconSize: itemNumber2.iconSize });
11331
11339
  }
11332
11340
  return index + 1;
11333
11341
  }, [completed, icon12, index]);
11334
- return /* @__PURE__ */ (0, import_jsx_runtime241.jsx)(ItemWrapper, { "aria-current": active ? "step" : void 0, children: /* @__PURE__ */ (0, import_jsx_runtime241.jsxs)(
11342
+ return /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(ItemWrapper, { "aria-current": active ? "step" : void 0, children: /* @__PURE__ */ (0, import_jsx_runtime242.jsxs)(
11335
11343
  ItemContentWrapper,
11336
11344
  {
11337
11345
  ...styleProps,
@@ -11339,9 +11347,9 @@ var ProgressTrackerItem = (props) => {
11339
11347
  onClick: !disabled && handleStepChange ? () => handleStepChange(index) : void 0,
11340
11348
  disabled,
11341
11349
  children: [
11342
- /* @__PURE__ */ (0, import_jsx_runtime241.jsx)(ItemNumber, { ...styleProps, "aria-hidden": true, children: stepNumberContent }),
11343
- /* @__PURE__ */ (0, import_jsx_runtime241.jsxs)(ItemText, { ...styleProps, children: [
11344
- /* @__PURE__ */ (0, import_jsx_runtime241.jsx)(VisuallyHidden, { as: "span", children: getVisuallyHiddenText(active, completed, index) }),
11350
+ /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(ItemNumber, { ...styleProps, "aria-hidden": true, children: stepNumberContent }),
11351
+ /* @__PURE__ */ (0, import_jsx_runtime242.jsxs)(ItemText, { ...styleProps, children: [
11352
+ /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(VisuallyHidden, { as: "span", children: getVisuallyHiddenText(active, completed, index) }),
11345
11353
  children
11346
11354
  ] })
11347
11355
  ]
@@ -11351,7 +11359,7 @@ var ProgressTrackerItem = (props) => {
11351
11359
  ProgressTrackerItem.displayName = "ProgressTracker.Item";
11352
11360
 
11353
11361
  // src/components/ProgressTracker/ProgressTracker.tsx
11354
- var import_jsx_runtime242 = require("react/jsx-runtime");
11362
+ var import_jsx_runtime243 = require("react/jsx-runtime");
11355
11363
  var ItemsWrapper = import_styled_components74.default.ol`
11356
11364
  display: flex;
11357
11365
  flex-direction: column;
@@ -11400,14 +11408,14 @@ var ProgressTracker = (() => {
11400
11408
  const itemsWithConnectorsBetween = intersperseItemsWithConnector(itemsWithIndex);
11401
11409
  return itemsWithConnectorsBetween;
11402
11410
  }, [children]);
11403
- return /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(
11411
+ return /* @__PURE__ */ (0, import_jsx_runtime243.jsx)(
11404
11412
  ProgressTrackerContext.Provider,
11405
11413
  {
11406
11414
  value: {
11407
11415
  activeStep: thisActiveStep,
11408
11416
  handleStepChange: handleChange
11409
11417
  },
11410
- children: /* @__PURE__ */ (0, import_jsx_runtime242.jsx)("div", { role: "group", "aria-label": "progress", ...containerProps, children: /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(ItemsWrapper, { children: steps }) })
11418
+ children: /* @__PURE__ */ (0, import_jsx_runtime243.jsx)("div", { role: "group", "aria-label": "progress", ...containerProps, children: /* @__PURE__ */ (0, import_jsx_runtime243.jsx)(ItemsWrapper, { children: steps }) })
11411
11419
  }
11412
11420
  );
11413
11421
  });
@@ -11431,8 +11439,8 @@ var intersperseItemsWithConnector = (children) => import_react83.Children.map(ch
11431
11439
  if (index === 0) {
11432
11440
  return child;
11433
11441
  }
11434
- return /* @__PURE__ */ (0, import_jsx_runtime242.jsxs)(import_react83.Fragment, { children: [
11435
- /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(ProgressTrackerConnector, { "aria-hidden": true }),
11442
+ return /* @__PURE__ */ (0, import_jsx_runtime243.jsxs)(import_react83.Fragment, { children: [
11443
+ /* @__PURE__ */ (0, import_jsx_runtime243.jsx)(ProgressTrackerConnector, { "aria-hidden": true }),
11436
11444
  child
11437
11445
  ] }, index);
11438
11446
  });
@@ -11557,7 +11565,7 @@ function createEmptyChangeEvent(inputElementId) {
11557
11565
  // src/components/Search/SearchSuggestions.tsx
11558
11566
  var import_react85 = require("react");
11559
11567
  var import_styled_components75 = __toESM(require("styled-components"));
11560
- var import_jsx_runtime243 = require("react/jsx-runtime");
11568
+ var import_jsx_runtime244 = require("react/jsx-runtime");
11561
11569
  var { suggestionsContainer: suggestionsContainer2, suggestionsHeader: suggestionsHeader2 } = searchTokens;
11562
11570
  var SuggestionsContainer = (0, import_styled_components75.default)(Paper)`
11563
11571
  ${({ $isHidden }) => visibilityTransition(!$isHidden)};
@@ -11601,8 +11609,8 @@ var SearchSuggestions = (0, import_react85.forwardRef)((props, ref) => {
11601
11609
  );
11602
11610
  const [focus, setFocus] = useRoveFocus(suggestions == null ? void 0 : suggestions.length, !showSuggestions);
11603
11611
  const suggestionsToRender = maxSuggestions ? suggestions == null ? void 0 : suggestions.slice(maxSuggestions) : suggestions;
11604
- const renderedSuggestions = /* @__PURE__ */ (0, import_jsx_runtime243.jsx)(SuggestionsList, { role: "listbox", "aria-labelledby": suggestionsHeaderId, children: suggestionsToRender.map((suggestion, index) => {
11605
- return /* @__PURE__ */ (0, import_jsx_runtime243.jsx)("li", { role: "option", children: /* @__PURE__ */ (0, import_jsx_runtime243.jsx)(
11612
+ const renderedSuggestions = /* @__PURE__ */ (0, import_jsx_runtime244.jsx)(SuggestionsList, { role: "listbox", "aria-labelledby": suggestionsHeaderId, children: suggestionsToRender.map((suggestion, index) => {
11613
+ return /* @__PURE__ */ (0, import_jsx_runtime244.jsx)("li", { role: "option", children: /* @__PURE__ */ (0, import_jsx_runtime244.jsx)(
11606
11614
  MenuItem,
11607
11615
  {
11608
11616
  index,
@@ -11618,7 +11626,7 @@ var SearchSuggestions = (0, import_react85.forwardRef)((props, ref) => {
11618
11626
  ) }, index);
11619
11627
  }) });
11620
11628
  const isHidden = !showSuggestions;
11621
- return /* @__PURE__ */ (0, import_jsx_runtime243.jsxs)(
11629
+ return /* @__PURE__ */ (0, import_jsx_runtime244.jsxs)(
11622
11630
  SuggestionsContainer,
11623
11631
  {
11624
11632
  ...getBaseHTMLProps(id, className, htmlProps, rest),
@@ -11626,7 +11634,7 @@ var SearchSuggestions = (0, import_react85.forwardRef)((props, ref) => {
11626
11634
  $isHidden: isHidden,
11627
11635
  "aria-hidden": isHidden,
11628
11636
  children: [
11629
- /* @__PURE__ */ (0, import_jsx_runtime243.jsx)(
11637
+ /* @__PURE__ */ (0, import_jsx_runtime244.jsx)(
11630
11638
  SuggestionsHeader,
11631
11639
  {
11632
11640
  typographyType: "supportingStyleTiny01",
@@ -11643,7 +11651,7 @@ var SearchSuggestions = (0, import_react85.forwardRef)((props, ref) => {
11643
11651
  SearchSuggestions.displayName = "SearchSuggestions";
11644
11652
 
11645
11653
  // src/components/Search/Search.tsx
11646
- var import_jsx_runtime244 = require("react/jsx-runtime");
11654
+ var import_jsx_runtime245 = require("react/jsx-runtime");
11647
11655
  var { input: input4, outerContainer: outerContainer6, horisontalContainer: horisontalContainer2, searchIcon: searchIcon2, clearButton: clearButton2 } = searchTokens;
11648
11656
  var getIconSize = (size2) => {
11649
11657
  switch (size2) {
@@ -11746,18 +11754,18 @@ var Search = (0, import_react86.forwardRef)(
11746
11754
  } = buttonProps != null ? buttonProps : {};
11747
11755
  const hasSuggestions = !!context.suggestions;
11748
11756
  const showSearchButton = !!buttonProps && !!onClick;
11749
- return /* @__PURE__ */ (0, import_jsx_runtime244.jsxs)(OuterContainer2, { children: [
11750
- hasLabel && /* @__PURE__ */ (0, import_jsx_runtime244.jsx)(Label, { htmlFor: uniqueId, children: label3 }),
11751
- /* @__PURE__ */ (0, import_jsx_runtime244.jsxs)("div", { children: [
11752
- /* @__PURE__ */ (0, import_jsx_runtime244.jsxs)(
11757
+ return /* @__PURE__ */ (0, import_jsx_runtime245.jsxs)(OuterContainer2, { children: [
11758
+ hasLabel && /* @__PURE__ */ (0, import_jsx_runtime245.jsx)(Label, { htmlFor: uniqueId, children: label3 }),
11759
+ /* @__PURE__ */ (0, import_jsx_runtime245.jsxs)("div", { children: [
11760
+ /* @__PURE__ */ (0, import_jsx_runtime245.jsxs)(
11753
11761
  HorisontalContainer,
11754
11762
  {
11755
11763
  $hasSearchButton: showSearchButton,
11756
11764
  className,
11757
11765
  style,
11758
11766
  children: [
11759
- /* @__PURE__ */ (0, import_jsx_runtime244.jsxs)(InputContainer2, { children: [
11760
- /* @__PURE__ */ (0, import_jsx_runtime244.jsx)(
11767
+ /* @__PURE__ */ (0, import_jsx_runtime245.jsxs)(InputContainer2, { children: [
11768
+ /* @__PURE__ */ (0, import_jsx_runtime245.jsx)(
11761
11769
  StyledSearchIcon,
11762
11770
  {
11763
11771
  icon: SearchIcon,
@@ -11765,7 +11773,7 @@ var Search = (0, import_react86.forwardRef)(
11765
11773
  iconSize: getIconSize(componentSize)
11766
11774
  }
11767
11775
  ),
11768
- /* @__PURE__ */ (0, import_jsx_runtime244.jsx)(
11776
+ /* @__PURE__ */ (0, import_jsx_runtime245.jsx)(
11769
11777
  Input3,
11770
11778
  {
11771
11779
  ...rest,
@@ -11788,8 +11796,8 @@ var Search = (0, import_react86.forwardRef)(
11788
11796
  role: hasSuggestions ? "combobox" : void 0
11789
11797
  }
11790
11798
  ),
11791
- hasSuggestions && /* @__PURE__ */ (0, import_jsx_runtime244.jsxs)(import_jsx_runtime244.Fragment, { children: [
11792
- /* @__PURE__ */ (0, import_jsx_runtime244.jsx)(
11799
+ hasSuggestions && /* @__PURE__ */ (0, import_jsx_runtime245.jsxs)(import_jsx_runtime245.Fragment, { children: [
11800
+ /* @__PURE__ */ (0, import_jsx_runtime245.jsx)(
11793
11801
  SearchSuggestions,
11794
11802
  {
11795
11803
  id: suggestionsId,
@@ -11801,9 +11809,9 @@ var Search = (0, import_react86.forwardRef)(
11801
11809
  componentSize
11802
11810
  }
11803
11811
  ),
11804
- /* @__PURE__ */ (0, import_jsx_runtime244.jsx)(VisuallyHidden, { id: suggestionsDescriptionId, as: "span", children: "Bla i s\xF8keforslag med piltaster n\xE5r listen er utvidet." })
11812
+ /* @__PURE__ */ (0, import_jsx_runtime245.jsx)(VisuallyHidden, { id: suggestionsDescriptionId, as: "span", children: "Bla i s\xF8keforslag med piltaster n\xE5r listen er utvidet." })
11805
11813
  ] }),
11806
- hasValue && /* @__PURE__ */ (0, import_jsx_runtime244.jsx)(
11814
+ hasValue && /* @__PURE__ */ (0, import_jsx_runtime245.jsx)(
11807
11815
  StyledClearButton,
11808
11816
  {
11809
11817
  icon: CloseSmallIcon,
@@ -11815,7 +11823,7 @@ var Search = (0, import_react86.forwardRef)(
11815
11823
  }
11816
11824
  )
11817
11825
  ] }),
11818
- showSearchButton && /* @__PURE__ */ (0, import_jsx_runtime244.jsx)(
11826
+ showSearchButton && /* @__PURE__ */ (0, import_jsx_runtime245.jsx)(
11819
11827
  Button,
11820
11828
  {
11821
11829
  size: componentSize,
@@ -11836,7 +11844,7 @@ Search.displayName = "Search";
11836
11844
 
11837
11845
  // src/components/Search/SearchAutocompleteWrapper.tsx
11838
11846
  var import_react87 = require("react");
11839
- var import_jsx_runtime245 = require("react/jsx-runtime");
11847
+ var import_jsx_runtime246 = require("react/jsx-runtime");
11840
11848
  var SearchAutocompleteWrapper = (props) => {
11841
11849
  const {
11842
11850
  value,
@@ -11912,7 +11920,7 @@ var SearchAutocompleteWrapper = (props) => {
11912
11920
  inputValue,
11913
11921
  onSugggestionClick: handleSuggestionClick
11914
11922
  };
11915
- return /* @__PURE__ */ (0, import_jsx_runtime245.jsx)(AutocompleteSearchContext.Provider, { value: contextProps, children });
11923
+ return /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(AutocompleteSearchContext.Provider, { value: contextProps, children });
11916
11924
  };
11917
11925
  SearchAutocompleteWrapper.displayName = "SearchAutocompleteWrapper";
11918
11926
 
@@ -12210,7 +12218,7 @@ var GroupContainer = import_styled_components77.default.div`
12210
12218
  `;
12211
12219
 
12212
12220
  // src/components/SelectionControl/Checkbox/Checkbox.tsx
12213
- var import_jsx_runtime246 = require("react/jsx-runtime");
12221
+ var import_jsx_runtime247 = require("react/jsx-runtime");
12214
12222
  var Checkbox = (0, import_react89.forwardRef)(
12215
12223
  (props, ref) => {
12216
12224
  const {
@@ -12235,7 +12243,7 @@ var Checkbox = (0, import_react89.forwardRef)(
12235
12243
  className: htmlPropsClassName,
12236
12244
  ...restHtmlProps
12237
12245
  } = htmlProps;
12238
- return /* @__PURE__ */ (0, import_jsx_runtime246.jsxs)(
12246
+ return /* @__PURE__ */ (0, import_jsx_runtime247.jsxs)(
12239
12247
  Container13,
12240
12248
  {
12241
12249
  $error: error || (checkboxGroup == null ? void 0 : checkboxGroup.error),
@@ -12247,7 +12255,7 @@ var Checkbox = (0, import_react89.forwardRef)(
12247
12255
  className: cn(className, htmlPropsClassName),
12248
12256
  style,
12249
12257
  children: [
12250
- /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(
12258
+ /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(
12251
12259
  HiddenInput,
12252
12260
  {
12253
12261
  ...getBaseHTMLProps(uniqueId, restHtmlProps, rest),
@@ -12267,8 +12275,8 @@ var Checkbox = (0, import_react89.forwardRef)(
12267
12275
  "data-indeterminate": indeterminate
12268
12276
  }
12269
12277
  ),
12270
- /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(CustomSelectionControl, { $controlType: "checkbox" }),
12271
- hasLabel && /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(Typography, { ...selectionControlTypographyProps, children: label3 })
12278
+ /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(CustomSelectionControl, { $controlType: "checkbox" }),
12279
+ hasLabel && /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(Typography, { ...selectionControlTypographyProps, children: label3 })
12272
12280
  ]
12273
12281
  }
12274
12282
  );
@@ -12278,7 +12286,7 @@ Checkbox.displayName = "Checkbox";
12278
12286
 
12279
12287
  // src/components/SelectionControl/Checkbox/CheckboxGroup.tsx
12280
12288
  var import_react90 = require("react");
12281
- var import_jsx_runtime247 = require("react/jsx-runtime");
12289
+ var import_jsx_runtime248 = require("react/jsx-runtime");
12282
12290
  var CheckboxGroup = (props) => {
12283
12291
  const {
12284
12292
  label: label3,
@@ -12310,7 +12318,7 @@ var CheckboxGroup = (props) => {
12310
12318
  disabled,
12311
12319
  readOnly
12312
12320
  };
12313
- return /* @__PURE__ */ (0, import_jsx_runtime247.jsxs)(
12321
+ return /* @__PURE__ */ (0, import_jsx_runtime248.jsxs)(
12314
12322
  OuterGroupContainer,
12315
12323
  {
12316
12324
  ...getBaseHTMLProps(
@@ -12320,7 +12328,7 @@ var CheckboxGroup = (props) => {
12320
12328
  rest
12321
12329
  ),
12322
12330
  children: [
12323
- /* @__PURE__ */ (0, import_jsx_runtime247.jsxs)(
12331
+ /* @__PURE__ */ (0, import_jsx_runtime248.jsxs)(
12324
12332
  Typography,
12325
12333
  {
12326
12334
  as: "span",
@@ -12329,12 +12337,12 @@ var CheckboxGroup = (props) => {
12329
12337
  children: [
12330
12338
  label3,
12331
12339
  " ",
12332
- showRequiredMarker && /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(RequiredMarker, {})
12340
+ showRequiredMarker && /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(RequiredMarker, {})
12333
12341
  ]
12334
12342
  }
12335
12343
  ),
12336
12344
  renderInputMessage(tip, tipId),
12337
- /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(CheckboxGroupContext.Provider, { value: { ...contextProps }, children: /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(
12345
+ /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(CheckboxGroupContext.Provider, { value: { ...contextProps }, children: /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(
12338
12346
  GroupContainer,
12339
12347
  {
12340
12348
  role: "group",
@@ -12362,7 +12370,7 @@ var useRadioButtonGroup = () => {
12362
12370
  };
12363
12371
 
12364
12372
  // src/components/SelectionControl/RadioButton/RadioButton.tsx
12365
- var import_jsx_runtime248 = require("react/jsx-runtime");
12373
+ var import_jsx_runtime249 = require("react/jsx-runtime");
12366
12374
  var isValueEqualToGroupValueOrFalsy = (value, group4) => {
12367
12375
  if (typeof value !== "undefined" && value !== null && group4) {
12368
12376
  if (typeof value === "number") {
@@ -12421,7 +12429,7 @@ var RadioButton = (0, import_react92.forwardRef)(
12421
12429
  "aria-describedby": describedByIds.length > 0 ? describedByIds.join(" ") : void 0,
12422
12430
  "aria-invalid": error || (radioButtonGroup == null ? void 0 : radioButtonGroup.error) ? true : void 0
12423
12431
  };
12424
- return /* @__PURE__ */ (0, import_jsx_runtime248.jsxs)(
12432
+ return /* @__PURE__ */ (0, import_jsx_runtime249.jsxs)(
12425
12433
  Container13,
12426
12434
  {
12427
12435
  $error: error || (radioButtonGroup == null ? void 0 : radioButtonGroup.error),
@@ -12433,9 +12441,9 @@ var RadioButton = (0, import_react92.forwardRef)(
12433
12441
  htmlFor: uniqueId,
12434
12442
  $controlType: "radio",
12435
12443
  children: [
12436
- /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(HiddenInput, { ...inputProps, ref }),
12437
- /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(CustomSelectionControl, { $controlType: "radio" }),
12438
- /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(Typography, { ...selectionControlTypographyProps, children: children != null ? children : label3 })
12444
+ /* @__PURE__ */ (0, import_jsx_runtime249.jsx)(HiddenInput, { ...inputProps, ref }),
12445
+ /* @__PURE__ */ (0, import_jsx_runtime249.jsx)(CustomSelectionControl, { $controlType: "radio" }),
12446
+ /* @__PURE__ */ (0, import_jsx_runtime249.jsx)(Typography, { ...selectionControlTypographyProps, children: children != null ? children : label3 })
12439
12447
  ]
12440
12448
  }
12441
12449
  );
@@ -12445,7 +12453,7 @@ RadioButton.displayName = "RadioButton";
12445
12453
 
12446
12454
  // src/components/SelectionControl/RadioButton/RadioButtonGroup.tsx
12447
12455
  var import_react93 = require("react");
12448
- var import_jsx_runtime249 = require("react/jsx-runtime");
12456
+ var import_jsx_runtime250 = require("react/jsx-runtime");
12449
12457
  var RadioButtonGroupInner = (props, ref) => {
12450
12458
  const {
12451
12459
  name,
@@ -12487,7 +12495,7 @@ var RadioButtonGroupInner = (props, ref) => {
12487
12495
  value: groupValue,
12488
12496
  onChange: handleChange
12489
12497
  };
12490
- return /* @__PURE__ */ (0, import_jsx_runtime249.jsxs)(
12498
+ return /* @__PURE__ */ (0, import_jsx_runtime250.jsxs)(
12491
12499
  OuterGroupContainer,
12492
12500
  {
12493
12501
  ...getBaseHTMLProps(
@@ -12498,7 +12506,7 @@ var RadioButtonGroupInner = (props, ref) => {
12498
12506
  ),
12499
12507
  ref,
12500
12508
  children: [
12501
- /* @__PURE__ */ (0, import_jsx_runtime249.jsxs)(
12509
+ /* @__PURE__ */ (0, import_jsx_runtime250.jsxs)(
12502
12510
  Typography,
12503
12511
  {
12504
12512
  as: "span",
@@ -12507,12 +12515,12 @@ var RadioButtonGroupInner = (props, ref) => {
12507
12515
  children: [
12508
12516
  label3,
12509
12517
  " ",
12510
- showRequiredMarker && /* @__PURE__ */ (0, import_jsx_runtime249.jsx)(RequiredMarker, {})
12518
+ showRequiredMarker && /* @__PURE__ */ (0, import_jsx_runtime250.jsx)(RequiredMarker, {})
12511
12519
  ]
12512
12520
  }
12513
12521
  ),
12514
12522
  renderInputMessage(tip, tipId),
12515
- /* @__PURE__ */ (0, import_jsx_runtime249.jsx)(RadioButtonGroupContext.Provider, { value: { ...contextProps }, children: /* @__PURE__ */ (0, import_jsx_runtime249.jsx)(
12523
+ /* @__PURE__ */ (0, import_jsx_runtime250.jsx)(RadioButtonGroupContext.Provider, { value: { ...contextProps }, children: /* @__PURE__ */ (0, import_jsx_runtime250.jsx)(
12516
12524
  GroupContainer,
12517
12525
  {
12518
12526
  role: "radiogroup",
@@ -12556,7 +12564,7 @@ var skipToContentTokens = {
12556
12564
  };
12557
12565
 
12558
12566
  // src/components/SkipToContent/SkipToContent.tsx
12559
- var import_jsx_runtime250 = require("react/jsx-runtime");
12567
+ var import_jsx_runtime251 = require("react/jsx-runtime");
12560
12568
  var { wrapper: wrapper6, link: link4 } = skipToContentTokens;
12561
12569
  var Wrapper5 = import_styled_components78.default.div`
12562
12570
  box-sizing: border-box;
@@ -12615,13 +12623,13 @@ var SkipToContent = (0, import_react94.forwardRef)(
12615
12623
  style,
12616
12624
  ...restHtmlProps
12617
12625
  } = htmlProps;
12618
- return /* @__PURE__ */ (0, import_jsx_runtime250.jsx)(
12626
+ return /* @__PURE__ */ (0, import_jsx_runtime251.jsx)(
12619
12627
  Wrapper5,
12620
12628
  {
12621
12629
  $top: top,
12622
12630
  className: cn(className, htmlPropsClassName),
12623
12631
  style,
12624
- children: /* @__PURE__ */ (0, import_jsx_runtime250.jsx)(Link4, { ...getBaseHTMLProps(id, restHtmlProps, rest), ref, children: text })
12632
+ children: /* @__PURE__ */ (0, import_jsx_runtime251.jsx)(Link4, { ...getBaseHTMLProps(id, restHtmlProps, rest), ref, children: text })
12625
12633
  }
12626
12634
  );
12627
12635
  }
@@ -12644,7 +12652,7 @@ var tokens3 = {
12644
12652
  };
12645
12653
 
12646
12654
  // src/components/SplitButton/SplitButton.tsx
12647
- var import_jsx_runtime251 = require("react/jsx-runtime");
12655
+ var import_jsx_runtime252 = require("react/jsx-runtime");
12648
12656
  var Container14 = import_styled_components79.default.div`
12649
12657
  display: flex;
12650
12658
  `;
@@ -12689,8 +12697,8 @@ var SplitButton = (0, import_react95.forwardRef)(
12689
12697
  purpose,
12690
12698
  size: size2
12691
12699
  };
12692
- return /* @__PURE__ */ (0, import_jsx_runtime251.jsxs)(Container14, { ref, children: [
12693
- /* @__PURE__ */ (0, import_jsx_runtime251.jsx)(
12700
+ return /* @__PURE__ */ (0, import_jsx_runtime252.jsxs)(Container14, { ref, children: [
12701
+ /* @__PURE__ */ (0, import_jsx_runtime252.jsx)(
12694
12702
  MainButton,
12695
12703
  {
12696
12704
  ...buttonStyleProps,
@@ -12698,8 +12706,8 @@ var SplitButton = (0, import_react95.forwardRef)(
12698
12706
  iconPosition: "left"
12699
12707
  }
12700
12708
  ),
12701
- /* @__PURE__ */ (0, import_jsx_runtime251.jsxs)(OverflowMenuGroup, { onToggle: () => setIsOpen(!isOpen), children: [
12702
- /* @__PURE__ */ (0, import_jsx_runtime251.jsx)(
12709
+ /* @__PURE__ */ (0, import_jsx_runtime252.jsxs)(OverflowMenuGroup, { onToggle: () => setIsOpen(!isOpen), children: [
12710
+ /* @__PURE__ */ (0, import_jsx_runtime252.jsx)(
12703
12711
  OptionButton,
12704
12712
  {
12705
12713
  ...buttonStyleProps,
@@ -12708,7 +12716,7 @@ var SplitButton = (0, import_react95.forwardRef)(
12708
12716
  purpose
12709
12717
  }
12710
12718
  ),
12711
- /* @__PURE__ */ (0, import_jsx_runtime251.jsx)(OverflowMenu, { items: secondaryActions, placement: "bottom-end" })
12719
+ /* @__PURE__ */ (0, import_jsx_runtime252.jsx)(OverflowMenu, { items: secondaryActions, placement: "bottom-end" })
12712
12720
  ] })
12713
12721
  ] });
12714
12722
  }
@@ -12730,14 +12738,14 @@ var useCollapsibleTableContext = () => (0, import_react96.useContext)(Collapsibl
12730
12738
  // src/components/Table/normal/Body.tsx
12731
12739
  var import_react97 = require("react");
12732
12740
  var import_styled_components80 = __toESM(require("styled-components"));
12733
- var import_jsx_runtime252 = require("react/jsx-runtime");
12741
+ var import_jsx_runtime253 = require("react/jsx-runtime");
12734
12742
  var StyledBody = import_styled_components80.default.tbody``;
12735
12743
  var Body2 = (0, import_react97.forwardRef)(
12736
12744
  ({ children, ...rest }, ref) => {
12737
12745
  const bodyProps = {
12738
12746
  ...rest
12739
12747
  };
12740
- return /* @__PURE__ */ (0, import_jsx_runtime252.jsx)(StyledBody, { ref, ...bodyProps, children });
12748
+ return /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(StyledBody, { ref, ...bodyProps, children });
12741
12749
  }
12742
12750
  );
12743
12751
  Body2.displayName = "Table.Body";
@@ -12749,11 +12757,11 @@ var import_styled_components82 = __toESM(require("styled-components"));
12749
12757
  // src/components/Table/normal/Head.tsx
12750
12758
  var import_react98 = require("react");
12751
12759
  var import_styled_components81 = __toESM(require("styled-components"));
12752
- var import_jsx_runtime253 = require("react/jsx-runtime");
12760
+ var import_jsx_runtime254 = require("react/jsx-runtime");
12753
12761
  var StyledHead = import_styled_components81.default.thead``;
12754
12762
  var Head = (0, import_react98.forwardRef)(
12755
12763
  ({ children, ...rest }, ref) => {
12756
- return /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(StyledHead, { ref, ...rest, children: /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(HeadContext.Provider, { value: true, children }) });
12764
+ return /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(StyledHead, { ref, ...rest, children: /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(HeadContext.Provider, { value: true, children }) });
12757
12765
  }
12758
12766
  );
12759
12767
  Head.displayName = "Table.Head";
@@ -12836,7 +12844,7 @@ var tableTokens = {
12836
12844
  };
12837
12845
 
12838
12846
  // src/components/Table/normal/Cell.tsx
12839
- var import_jsx_runtime254 = require("react/jsx-runtime");
12847
+ var import_jsx_runtime255 = require("react/jsx-runtime");
12840
12848
  var { cell: cell3 } = tableTokens;
12841
12849
  var getLayoutStyle = (layout) => {
12842
12850
  switch (layout) {
@@ -12882,7 +12890,7 @@ var Cell2 = (0, import_react99.forwardRef)(
12882
12890
  const type = _type != null ? _type : isInHead ? "head" : "data";
12883
12891
  const as = getTableCellType(type);
12884
12892
  const { isCollapsibleChild } = collapsibleProps != null ? collapsibleProps : {};
12885
- return isCollapsibleChild ? /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(DescriptionListDesc, { children }) : /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(StyledCell, { as, ref, $type: type, ...rest, children: /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(InnerCell, { $layout: layout, children }) });
12893
+ return isCollapsibleChild ? /* @__PURE__ */ (0, import_jsx_runtime255.jsx)(DescriptionListDesc, { children }) : /* @__PURE__ */ (0, import_jsx_runtime255.jsx)(StyledCell, { as, ref, $type: type, ...rest, children: /* @__PURE__ */ (0, import_jsx_runtime255.jsx)(InnerCell, { $layout: layout, children }) });
12886
12894
  }
12887
12895
  );
12888
12896
  Cell2.displayName = "Table.Cell";
@@ -12890,11 +12898,11 @@ Cell2.displayName = "Table.Cell";
12890
12898
  // src/components/Table/normal/Foot.tsx
12891
12899
  var import_react100 = require("react");
12892
12900
  var import_styled_components83 = __toESM(require("styled-components"));
12893
- var import_jsx_runtime255 = require("react/jsx-runtime");
12901
+ var import_jsx_runtime256 = require("react/jsx-runtime");
12894
12902
  var StyledFoot = import_styled_components83.default.tfoot``;
12895
12903
  var Foot = (0, import_react100.forwardRef)(
12896
12904
  ({ children, ...rest }, ref) => {
12897
- return /* @__PURE__ */ (0, import_jsx_runtime255.jsx)(StyledFoot, { ref, ...rest, children });
12905
+ return /* @__PURE__ */ (0, import_jsx_runtime256.jsx)(StyledFoot, { ref, ...rest, children });
12898
12906
  }
12899
12907
  );
12900
12908
  Foot.displayName = "Table.Foot";
@@ -12955,12 +12963,12 @@ var StyledRow = import_styled_components84.default.tr`
12955
12963
  `;
12956
12964
 
12957
12965
  // src/components/Table/normal/Row.tsx
12958
- var import_jsx_runtime256 = require("react/jsx-runtime");
12966
+ var import_jsx_runtime257 = require("react/jsx-runtime");
12959
12967
  var Row = (0, import_react101.forwardRef)(
12960
12968
  ({ type: _type, mode = "normal", hoverable, selected, children, ...rest }, ref) => {
12961
12969
  const isInHeader = useIsInTableHead();
12962
12970
  const type = _type != null ? _type : isInHeader ? "head" : "body";
12963
- return /* @__PURE__ */ (0, import_jsx_runtime256.jsx)(
12971
+ return /* @__PURE__ */ (0, import_jsx_runtime257.jsx)(
12964
12972
  StyledRow,
12965
12973
  {
12966
12974
  type,
@@ -12979,7 +12987,7 @@ Row.displayName = "Table.Row";
12979
12987
  // src/components/Table/normal/SortCell.tsx
12980
12988
  var import_react102 = require("react");
12981
12989
  var import_styled_components85 = __toESM(require("styled-components"));
12982
- var import_jsx_runtime257 = require("react/jsx-runtime");
12990
+ var import_jsx_runtime258 = require("react/jsx-runtime");
12983
12991
  var { cell: cell4 } = tableTokens;
12984
12992
  var StyledButton5 = import_styled_components85.default.button`
12985
12993
  ${normalizeButton}
@@ -12994,19 +13002,19 @@ var StyledButton5 = import_styled_components85.default.button`
12994
13002
  `;
12995
13003
  var makeSortIcon = (isSorted, sortOrder) => {
12996
13004
  if (!isSorted || !sortOrder) {
12997
- return /* @__PURE__ */ (0, import_jsx_runtime257.jsx)(Icon, { icon: UnfoldMoreIcon, iconSize: "inherit" });
13005
+ return /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(Icon, { icon: UnfoldMoreIcon, iconSize: "inherit" });
12998
13006
  }
12999
- return sortOrder === "ascending" ? /* @__PURE__ */ (0, import_jsx_runtime257.jsx)(Icon, { icon: ChevronDownIcon, iconSize: "inherit" }) : /* @__PURE__ */ (0, import_jsx_runtime257.jsx)(Icon, { icon: ChevronUpIcon, iconSize: "inherit" });
13007
+ return sortOrder === "ascending" ? /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(Icon, { icon: ChevronDownIcon, iconSize: "inherit" }) : /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(Icon, { icon: ChevronUpIcon, iconSize: "inherit" });
13000
13008
  };
13001
13009
  var SortCell = (0, import_react102.forwardRef)(
13002
- ({ isSorted, sortOrder, onClick, children, ...rest }, ref) => /* @__PURE__ */ (0, import_jsx_runtime257.jsx)(
13010
+ ({ isSorted, sortOrder, onClick, children, ...rest }, ref) => /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(
13003
13011
  Cell2,
13004
13012
  {
13005
13013
  ref,
13006
13014
  type: "head",
13007
13015
  "aria-sort": isSorted && sortOrder ? sortOrder : void 0,
13008
13016
  ...rest,
13009
- children: /* @__PURE__ */ (0, import_jsx_runtime257.jsxs)(
13017
+ children: /* @__PURE__ */ (0, import_jsx_runtime258.jsxs)(
13010
13018
  StyledButton5,
13011
13019
  {
13012
13020
  onClick,
@@ -13026,7 +13034,7 @@ SortCell.displayName = "Table.SortCell";
13026
13034
  // src/components/Table/normal/Table.tsx
13027
13035
  var import_react103 = require("react");
13028
13036
  var import_styled_components86 = __toESM(require("styled-components"));
13029
- var import_jsx_runtime258 = require("react/jsx-runtime");
13037
+ var import_jsx_runtime259 = require("react/jsx-runtime");
13030
13038
  var { cell: cell5, row: row3 } = tableTokens;
13031
13039
  var StyledTable = import_styled_components86.default.table`
13032
13040
  border-spacing: 0;
@@ -13073,7 +13081,7 @@ var StyledTable = import_styled_components86.default.table`
13073
13081
  `;
13074
13082
  var Table = (0, import_react103.forwardRef)(
13075
13083
  ({ density = "normal", stickyHeader, withDividers, children, ...rest }, ref) => {
13076
- return /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(
13084
+ return /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(
13077
13085
  StyledTable,
13078
13086
  {
13079
13087
  ...rest,
@@ -13091,7 +13099,7 @@ Table.displayName = "Table";
13091
13099
  // src/components/Table/normal/TableWrapper.tsx
13092
13100
  var import_react104 = require("react");
13093
13101
  var import_styled_components87 = __toESM(require("styled-components"));
13094
- var import_jsx_runtime259 = require("react/jsx-runtime");
13102
+ var import_jsx_runtime260 = require("react/jsx-runtime");
13095
13103
  var Wrapper6 = import_styled_components87.default.div`
13096
13104
  ${({ $overflowX }) => $overflowX && import_styled_components87.css`
13097
13105
  overflow-x: auto;
@@ -13120,7 +13128,7 @@ var TableWrapper = ({ children, ...rest }) => {
13120
13128
  window.addEventListener("resize", handleResize);
13121
13129
  return () => window.removeEventListener("resize", handleResize);
13122
13130
  });
13123
- return /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(Wrapper6, { $overflowX: overflowX, ref: wrapperRef, ...rest, children });
13131
+ return /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(Wrapper6, { $overflowX: overflowX, ref: wrapperRef, ...rest, children });
13124
13132
  };
13125
13133
  TableWrapper.displayName = "Table.Wrapper";
13126
13134
 
@@ -13135,7 +13143,7 @@ Table2.Row = Row;
13135
13143
  Table2.Foot = Foot;
13136
13144
 
13137
13145
  // src/components/Table/collapsible/CollapsibleRow.tsx
13138
- var import_jsx_runtime260 = require("react/jsx-runtime");
13146
+ var import_jsx_runtime261 = require("react/jsx-runtime");
13139
13147
  var { collapseButton: collapseButton2 } = tableTokens;
13140
13148
  var CollapseButton = import_styled_components88.default.button`
13141
13149
  ${removeButtonStyling}
@@ -13185,25 +13193,25 @@ var CollapsibleRow = (0, import_react105.forwardRef)(
13185
13193
  const collapsedRenderedChildren = isCollapsed && collapsedHeaderValues.length > 0 ? collapsedChildren.map(function(child, index) {
13186
13194
  const id = derivativeIdGenerator(prefix2, index.toString());
13187
13195
  collapsibleIds.push(id);
13188
- return /* @__PURE__ */ (0, import_jsx_runtime260.jsxs)(import_react105.Fragment, { children: [
13189
- /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(DescriptionListTerm, { children: collapsedHeaderValues[index].content }),
13196
+ return /* @__PURE__ */ (0, import_jsx_runtime261.jsxs)(import_react105.Fragment, { children: [
13197
+ /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(DescriptionListTerm, { children: collapsedHeaderValues[index].content }),
13190
13198
  (0, import_react105.isValidElement)(child) && (0, import_react105.cloneElement)(child, {
13191
13199
  collapsibleProps: { isCollapsibleChild: true }
13192
13200
  })
13193
13201
  ] }, `DL-${index}`);
13194
13202
  }) : null;
13195
- const collapsedRows = collapsedRenderedChildren && collapsedRenderedChildren.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(StyledRow, { type, children: /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(DescriptionListCell, { colSpan: definingColumnIndex.length + 1, children: /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(DescriptionList, { children: collapsedRenderedChildren }) }) }) : null;
13203
+ const collapsedRows = collapsedRenderedChildren && collapsedRenderedChildren.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(StyledRow, { type, children: /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(DescriptionListCell, { colSpan: definingColumnIndex.length + 1, children: /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(DescriptionList, { children: collapsedRenderedChildren }) }) }) : null;
13196
13204
  const definingColumnCells = childrenArray.slice().filter((column, index) => definingColumnIndex.indexOf(index) > -1).sort((a2, b) => {
13197
13205
  return definingColumnIndex.indexOf(childrenArray.indexOf(a2)) - definingColumnIndex.indexOf(childrenArray.indexOf(b));
13198
13206
  });
13199
13207
  const headerRow = () => {
13200
13208
  if (type !== "head" || !isCollapsed)
13201
13209
  return null;
13202
- return /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(StyledRow, { ref, type, ...rowProps, children: /* @__PURE__ */ (0, import_jsx_runtime260.jsxs)(import_jsx_runtime260.Fragment, { children: [
13210
+ return /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(StyledRow, { ref, type, ...rowProps, children: /* @__PURE__ */ (0, import_jsx_runtime261.jsxs)(import_jsx_runtime261.Fragment, { children: [
13203
13211
  definingColumnCells,
13204
- /* @__PURE__ */ (0, import_jsx_runtime260.jsxs)(Table2.Cell, { type: "head", layout: "center", children: [
13212
+ /* @__PURE__ */ (0, import_jsx_runtime261.jsxs)(Table2.Cell, { type: "head", layout: "center", children: [
13205
13213
  "Utvid",
13206
- /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(VisuallyHidden, { as: "span", children: "raden" })
13214
+ /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(VisuallyHidden, { as: "span", children: "raden" })
13207
13215
  ] })
13208
13216
  ] }) });
13209
13217
  };
@@ -13211,7 +13219,7 @@ var CollapsibleRow = (0, import_react105.forwardRef)(
13211
13219
  const rowWithChevron = () => {
13212
13220
  if (type !== "body" || !isCollapsed)
13213
13221
  return null;
13214
- return /* @__PURE__ */ (0, import_jsx_runtime260.jsxs)(
13222
+ return /* @__PURE__ */ (0, import_jsx_runtime261.jsxs)(
13215
13223
  StyledRow,
13216
13224
  {
13217
13225
  ref,
@@ -13220,13 +13228,13 @@ var CollapsibleRow = (0, import_react105.forwardRef)(
13220
13228
  "data-isopencollapsibleheader": !childrenCollapsed && true,
13221
13229
  children: [
13222
13230
  definingColumnCells,
13223
- /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(Table2.Cell, { children: /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(
13231
+ /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(Table2.Cell, { children: /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(
13224
13232
  CollapseButton,
13225
13233
  {
13226
13234
  onClick: () => setChildrenCollapsed(!childrenCollapsed),
13227
13235
  "aria-expanded": !childrenCollapsed,
13228
13236
  "aria-controls": idList,
13229
- children: /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(
13237
+ children: /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(
13230
13238
  AnimatedChevronUpDown,
13231
13239
  {
13232
13240
  isUp: childrenCollapsed ? false : true,
@@ -13240,13 +13248,13 @@ var CollapsibleRow = (0, import_react105.forwardRef)(
13240
13248
  }
13241
13249
  );
13242
13250
  };
13243
- return isCollapsed && collapsedRenderedChildren && collapsedRenderedChildren.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime260.jsxs)(import_jsx_runtime260.Fragment, { children: [
13251
+ return isCollapsed && collapsedRenderedChildren && collapsedRenderedChildren.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime261.jsxs)(import_jsx_runtime261.Fragment, { children: [
13244
13252
  headerRow(),
13245
- type === "body" && /* @__PURE__ */ (0, import_jsx_runtime260.jsxs)(import_jsx_runtime260.Fragment, { children: [
13253
+ type === "body" && /* @__PURE__ */ (0, import_jsx_runtime261.jsxs)(import_jsx_runtime261.Fragment, { children: [
13246
13254
  rowWithChevron(),
13247
13255
  childrenCollapsed ? null : collapsedRows
13248
13256
  ] })
13249
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(StyledRow, { ref, type, ...rowProps, children });
13257
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(StyledRow, { ref, type, ...rowProps, children });
13250
13258
  }
13251
13259
  );
13252
13260
  CollapsibleRow.displayName = "CollapsibleTable.Row";
@@ -13254,7 +13262,7 @@ CollapsibleRow.displayName = "CollapsibleTable.Row";
13254
13262
  // src/components/Table/collapsible/CollapsibleTable.tsx
13255
13263
  var import_react106 = require("react");
13256
13264
  var import_styled_components89 = __toESM(require("styled-components"));
13257
- var import_jsx_runtime261 = require("react/jsx-runtime");
13265
+ var import_jsx_runtime262 = require("react/jsx-runtime");
13258
13266
  var StyledTable2 = (0, import_styled_components89.default)(Table2)`
13259
13267
  width: 100%;
13260
13268
  ${({ withDividers }) => withDividers && import_styled_components89.css`
@@ -13272,7 +13280,7 @@ var CollapsibleTable = (0, import_react106.forwardRef)((props, ref) => {
13272
13280
  definingColumnIndex = [0],
13273
13281
  ...rest
13274
13282
  } = props;
13275
- return /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(
13283
+ return /* @__PURE__ */ (0, import_jsx_runtime262.jsx)(
13276
13284
  CollapsibleTableContext.Provider,
13277
13285
  {
13278
13286
  value: {
@@ -13280,7 +13288,7 @@ var CollapsibleTable = (0, import_react106.forwardRef)((props, ref) => {
13280
13288
  headerValues,
13281
13289
  definingColumnIndex
13282
13290
  },
13283
- children: /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(StyledTable2, { ref, density, ...rest, children })
13291
+ children: /* @__PURE__ */ (0, import_jsx_runtime262.jsx)(StyledTable2, { ref, density, ...rest, children })
13284
13292
  }
13285
13293
  );
13286
13294
  });
@@ -13309,7 +13317,7 @@ var TabsContext = (0, import_react107.createContext)({
13309
13317
  var useTabsContext = () => (0, import_react107.useContext)(TabsContext);
13310
13318
 
13311
13319
  // src/components/Tabs/Tabs.tsx
13312
- var import_jsx_runtime262 = require("react/jsx-runtime");
13320
+ var import_jsx_runtime263 = require("react/jsx-runtime");
13313
13321
  var Container15 = import_styled_components90.default.div`
13314
13322
  ${({ $width }) => $width && import_styled_components90.css`
13315
13323
  width: ${$width};
@@ -13346,7 +13354,7 @@ var Tabs = (0, import_react108.forwardRef)((props, ref) => {
13346
13354
  ...getBaseHTMLProps(uniqueId, className, htmlProps, rest),
13347
13355
  ref
13348
13356
  };
13349
- return /* @__PURE__ */ (0, import_jsx_runtime262.jsx)(
13357
+ return /* @__PURE__ */ (0, import_jsx_runtime263.jsx)(
13350
13358
  TabsContext.Provider,
13351
13359
  {
13352
13360
  value: {
@@ -13359,7 +13367,7 @@ var Tabs = (0, import_react108.forwardRef)((props, ref) => {
13359
13367
  setHasTabFocus,
13360
13368
  tabContentDirection
13361
13369
  },
13362
- children: /* @__PURE__ */ (0, import_jsx_runtime262.jsx)(Container15, { ...containerProps, $width: width, children })
13370
+ children: /* @__PURE__ */ (0, import_jsx_runtime263.jsx)(Container15, { ...containerProps, $width: width, children })
13363
13371
  }
13364
13372
  );
13365
13373
  });
@@ -13410,13 +13418,13 @@ var tabsTokens = {
13410
13418
 
13411
13419
  // src/components/Tabs/TabWidthContext.tsx
13412
13420
  var import_react109 = require("react");
13413
- var import_jsx_runtime263 = require("react/jsx-runtime");
13421
+ var import_jsx_runtime264 = require("react/jsx-runtime");
13414
13422
  var TabContext = (0, import_react109.createContext)(null);
13415
13423
  function TabWidthContextProvider({
13416
13424
  children,
13417
13425
  onChangeWidths
13418
13426
  }) {
13419
- return /* @__PURE__ */ (0, import_jsx_runtime263.jsx)(
13427
+ return /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(
13420
13428
  TabContext.Provider,
13421
13429
  {
13422
13430
  value: {
@@ -13448,7 +13456,7 @@ function useSetTabWidth(index, width) {
13448
13456
  }
13449
13457
 
13450
13458
  // src/components/Tabs/Tab.tsx
13451
- var import_jsx_runtime264 = require("react/jsx-runtime");
13459
+ var import_jsx_runtime265 = require("react/jsx-runtime");
13452
13460
  var { tab: tab2 } = tabsTokens;
13453
13461
  var Button2 = import_styled_components91.default.button`
13454
13462
  ${normalizeButton}
@@ -13538,7 +13546,7 @@ var Tab = (0, import_react110.forwardRef)((props, ref) => {
13538
13546
  handleSelect();
13539
13547
  onKeyDown && onKeyDown(e);
13540
13548
  };
13541
- return /* @__PURE__ */ (0, import_jsx_runtime264.jsxs)(
13549
+ return /* @__PURE__ */ (0, import_jsx_runtime265.jsxs)(
13542
13550
  Button2,
13543
13551
  {
13544
13552
  ...getBaseHTMLProps(id, className, htmlProps, rest),
@@ -13551,8 +13559,8 @@ var Tab = (0, import_react110.forwardRef)((props, ref) => {
13551
13559
  onKeyDown: handleOnKeyDown,
13552
13560
  tabIndex: focus ? 0 : -1,
13553
13561
  children: [
13554
- icon12 && /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(Icon, { icon: icon12, iconSize: "inherit" }),
13555
- /* @__PURE__ */ (0, import_jsx_runtime264.jsx)("span", { children })
13562
+ icon12 && /* @__PURE__ */ (0, import_jsx_runtime265.jsx)(Icon, { icon: icon12, iconSize: "inherit" }),
13563
+ /* @__PURE__ */ (0, import_jsx_runtime265.jsx)("span", { children })
13556
13564
  ]
13557
13565
  }
13558
13566
  );
@@ -13562,7 +13570,7 @@ Tab.displayName = "Tab";
13562
13570
  // src/components/Tabs/TabList.tsx
13563
13571
  var import_react111 = require("react");
13564
13572
  var import_styled_components92 = __toESM(require("styled-components"));
13565
- var import_jsx_runtime265 = require("react/jsx-runtime");
13573
+ var import_jsx_runtime266 = require("react/jsx-runtime");
13566
13574
  var { tabList: tabList2 } = tabsTokens;
13567
13575
  var autoFlow = import_styled_components92.css`
13568
13576
  grid-auto-flow: column;
@@ -13638,7 +13646,7 @@ var TabList = (0, import_react111.forwardRef)(
13638
13646
  tabIndex: 0,
13639
13647
  onFocus: handleOnFocus
13640
13648
  };
13641
- return /* @__PURE__ */ (0, import_jsx_runtime265.jsx)(TabWidthContextProvider, { onChangeWidths: setWidths, children: /* @__PURE__ */ (0, import_jsx_runtime265.jsx)(TabRow, { ...tabListProps, $gridTemplateColumns: widths.join(" "), children: tabListChildren }) });
13649
+ return /* @__PURE__ */ (0, import_jsx_runtime266.jsx)(TabWidthContextProvider, { onChangeWidths: setWidths, children: /* @__PURE__ */ (0, import_jsx_runtime266.jsx)(TabRow, { ...tabListProps, $gridTemplateColumns: widths.join(" "), children: tabListChildren }) });
13642
13650
  }
13643
13651
  );
13644
13652
  TabList.displayName = "TabList";
@@ -13646,7 +13654,7 @@ TabList.displayName = "TabList";
13646
13654
  // src/components/Tabs/TabPanel.tsx
13647
13655
  var import_react112 = require("react");
13648
13656
  var import_styled_components93 = __toESM(require("styled-components"));
13649
- var import_jsx_runtime266 = require("react/jsx-runtime");
13657
+ var import_jsx_runtime267 = require("react/jsx-runtime");
13650
13658
  var { panel: panel2 } = tabsTokens;
13651
13659
  var Panel = import_styled_components93.default.div`
13652
13660
  padding: ${panel2.padding};
@@ -13663,7 +13671,7 @@ var Panel = import_styled_components93.default.div`
13663
13671
  `;
13664
13672
  var TabPanel = (0, import_react112.forwardRef)(
13665
13673
  ({ active = false, children, id, className, htmlProps, ...rest }, ref) => {
13666
- return /* @__PURE__ */ (0, import_jsx_runtime266.jsx)(
13674
+ return /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(
13667
13675
  Panel,
13668
13676
  {
13669
13677
  ...getBaseHTMLProps(id, className, htmlProps, rest),
@@ -13680,7 +13688,7 @@ TabPanel.displayName = "TabPanel";
13680
13688
 
13681
13689
  // src/components/Tabs/TabPanels.tsx
13682
13690
  var import_react113 = require("react");
13683
- var import_jsx_runtime267 = require("react/jsx-runtime");
13691
+ var import_jsx_runtime268 = require("react/jsx-runtime");
13684
13692
  var TabPanels = (0, import_react113.forwardRef)(
13685
13693
  ({ children, ...rest }, ref) => {
13686
13694
  const { activeTab, tabsId, tabPanelsRef } = useTabsContext();
@@ -13694,7 +13702,7 @@ var TabPanels = (0, import_react113.forwardRef)(
13694
13702
  "aria-expanded": active
13695
13703
  });
13696
13704
  });
13697
- return /* @__PURE__ */ (0, import_jsx_runtime267.jsx)("div", { ref: combinedRef, ...rest, children: panelChildren });
13705
+ return /* @__PURE__ */ (0, import_jsx_runtime268.jsx)("div", { ref: combinedRef, ...rest, children: panelChildren });
13698
13706
  }
13699
13707
  );
13700
13708
  TabPanels.displayName = "TabPanels";
@@ -13806,7 +13814,7 @@ var tagTokens = {
13806
13814
  };
13807
13815
 
13808
13816
  // src/components/Tag/Tag.tsx
13809
- var import_jsx_runtime268 = require("react/jsx-runtime");
13817
+ var import_jsx_runtime269 = require("react/jsx-runtime");
13810
13818
  var { wrapper: wrapper8 } = tagTokens;
13811
13819
  var Wrapper7 = (0, import_styled_components94.default)(TextOverflowEllipsisWrapper)`
13812
13820
  display: inline-flex;
@@ -13840,7 +13848,7 @@ var Tag = (0, import_react114.forwardRef)((props, ref) => {
13840
13848
  ...rest
13841
13849
  } = props;
13842
13850
  const icon12 = tagTokens.wrapper.purpose[purpose].icon;
13843
- return /* @__PURE__ */ (0, import_jsx_runtime268.jsxs)(
13851
+ return /* @__PURE__ */ (0, import_jsx_runtime269.jsxs)(
13844
13852
  Wrapper7,
13845
13853
  {
13846
13854
  ...getBaseHTMLProps(id, className, htmlProps, rest),
@@ -13849,7 +13857,7 @@ var Tag = (0, import_react114.forwardRef)((props, ref) => {
13849
13857
  $strong: strong,
13850
13858
  $withIcon: Boolean(withIcon && icon12),
13851
13859
  children: [
13852
- withIcon && icon12 && /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(
13860
+ withIcon && icon12 && /* @__PURE__ */ (0, import_jsx_runtime269.jsx)(
13853
13861
  StyledIcon5,
13854
13862
  {
13855
13863
  $purpose: purpose,
@@ -13858,7 +13866,7 @@ var Tag = (0, import_react114.forwardRef)((props, ref) => {
13858
13866
  iconSize: tagTokens.wrapper.icon.size
13859
13867
  }
13860
13868
  ),
13861
- /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(TextOverflowEllipsisInner, { children: children != null ? children : text })
13869
+ /* @__PURE__ */ (0, import_jsx_runtime269.jsx)(TextOverflowEllipsisInner, { children: children != null ? children : text })
13862
13870
  ]
13863
13871
  }
13864
13872
  );
@@ -13872,7 +13880,7 @@ var import_styled_components97 = __toESM(require("styled-components"));
13872
13880
  // src/components/TextInput/CharCounter.tsx
13873
13881
  var import_react115 = require("react");
13874
13882
  var import_styled_components95 = __toESM(require("styled-components"));
13875
- var import_jsx_runtime269 = require("react/jsx-runtime");
13883
+ var import_jsx_runtime270 = require("react/jsx-runtime");
13876
13884
  var Wrapper8 = (0, import_styled_components95.default)(Typography)`
13877
13885
  margin-left: auto;
13878
13886
  `;
@@ -13880,7 +13888,7 @@ function CharCounter(props) {
13880
13888
  const { current, max, id, className, htmlProps, ...rest } = props;
13881
13889
  const generatedId = (0, import_react115.useId)();
13882
13890
  const uniqueId = id != null ? id : `${generatedId}-characterCounter`;
13883
- return /* @__PURE__ */ (0, import_jsx_runtime269.jsxs)(
13891
+ return /* @__PURE__ */ (0, import_jsx_runtime270.jsxs)(
13884
13892
  Wrapper8,
13885
13893
  {
13886
13894
  ...getBaseHTMLProps(uniqueId, className, htmlProps, rest),
@@ -13972,7 +13980,7 @@ var StyledInput = (0, import_styled_components96.default)(StatefulInput)`
13972
13980
  `;
13973
13981
 
13974
13982
  // src/components/TextInput/TextInput.tsx
13975
- var import_jsx_runtime270 = require("react/jsx-runtime");
13983
+ var import_jsx_runtime271 = require("react/jsx-runtime");
13976
13984
  var defaultWidth5 = "320px";
13977
13985
  var defaultTinyWidth = "210px";
13978
13986
  var getWidth = (size2, width) => {
@@ -14106,8 +14114,8 @@ var TextInput2 = (0, import_react116.forwardRef)(
14106
14114
  const showRequiredStyling = !!(required || ariaRequired);
14107
14115
  let extendedInput = null;
14108
14116
  if (hasIcon) {
14109
- extendedInput = /* @__PURE__ */ (0, import_jsx_runtime270.jsxs)(InputContainer, { children: [
14110
- /* @__PURE__ */ (0, import_jsx_runtime270.jsx)(
14117
+ extendedInput = /* @__PURE__ */ (0, import_jsx_runtime271.jsxs)(InputContainer, { children: [
14118
+ /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(
14111
14119
  StyledIcon6,
14112
14120
  {
14113
14121
  icon: icon12,
@@ -14115,7 +14123,7 @@ var TextInput2 = (0, import_react116.forwardRef)(
14115
14123
  $size: componentSize
14116
14124
  }
14117
14125
  ),
14118
- /* @__PURE__ */ (0, import_jsx_runtime270.jsx)(
14126
+ /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(
14119
14127
  StyledInput,
14120
14128
  {
14121
14129
  ref,
@@ -14128,9 +14136,9 @@ var TextInput2 = (0, import_react116.forwardRef)(
14128
14136
  )
14129
14137
  ] });
14130
14138
  } else if (hasAffix) {
14131
- extendedInput = /* @__PURE__ */ (0, import_jsx_runtime270.jsxs)(InputAffixContainer, { children: [
14132
- prefix2 && /* @__PURE__ */ (0, import_jsx_runtime270.jsx)(Prefix, { readOnly, ref: prefixRef, "aria-hidden": true, children: prefix2 }),
14133
- /* @__PURE__ */ (0, import_jsx_runtime270.jsx)(
14139
+ extendedInput = /* @__PURE__ */ (0, import_jsx_runtime271.jsxs)(InputAffixContainer, { children: [
14140
+ prefix2 && /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(Prefix, { readOnly, ref: prefixRef, "aria-hidden": true, children: prefix2 }),
14141
+ /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(
14134
14142
  StatefulInput,
14135
14143
  {
14136
14144
  ref,
@@ -14142,12 +14150,12 @@ var TextInput2 = (0, import_react116.forwardRef)(
14142
14150
  ...generalInputProps
14143
14151
  }
14144
14152
  ),
14145
- suffix && /* @__PURE__ */ (0, import_jsx_runtime270.jsx)(Suffix, { readOnly, ref: suffixRef, "aria-hidden": true, children: suffix })
14153
+ suffix && /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(Suffix, { readOnly, ref: suffixRef, "aria-hidden": true, children: suffix })
14146
14154
  ] });
14147
14155
  }
14148
- return /* @__PURE__ */ (0, import_jsx_runtime270.jsxs)(OuterInputContainer, { ...outerInputContainerProps, children: [
14149
- hasLabel && /* @__PURE__ */ (0, import_jsx_runtime270.jsx)(Label, { htmlFor: uniqueId, showRequiredStyling, children: label3 }),
14150
- extendedInput ? extendedInput : /* @__PURE__ */ (0, import_jsx_runtime270.jsx)(
14156
+ return /* @__PURE__ */ (0, import_jsx_runtime271.jsxs)(OuterInputContainer, { ...outerInputContainerProps, children: [
14157
+ hasLabel && /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(Label, { htmlFor: uniqueId, showRequiredStyling, children: label3 }),
14158
+ extendedInput ? extendedInput : /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(
14151
14159
  StatefulInput,
14152
14160
  {
14153
14161
  ref,
@@ -14157,9 +14165,9 @@ var TextInput2 = (0, import_react116.forwardRef)(
14157
14165
  ...generalInputProps
14158
14166
  }
14159
14167
  ),
14160
- hasMessage && /* @__PURE__ */ (0, import_jsx_runtime270.jsxs)(MessageContainer2, { children: [
14168
+ hasMessage && /* @__PURE__ */ (0, import_jsx_runtime271.jsxs)(MessageContainer2, { children: [
14161
14169
  renderInputMessage(tip, tipId, errorMessage, errorMessageId),
14162
- maxLength && Number.isInteger(maxLength) && maxLength > 0 && withCharacterCounter && /* @__PURE__ */ (0, import_jsx_runtime270.jsx)(
14170
+ maxLength && Number.isInteger(maxLength) && maxLength > 0 && withCharacterCounter && /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(
14163
14171
  CharCounter_default,
14164
14172
  {
14165
14173
  id: characterCounterId,
@@ -14291,7 +14299,7 @@ var toggleBarTokens = {
14291
14299
  };
14292
14300
 
14293
14301
  // src/components/ToggleBar/ToggleBar.tsx
14294
- var import_jsx_runtime271 = require("react/jsx-runtime");
14302
+ var import_jsx_runtime272 = require("react/jsx-runtime");
14295
14303
  var OuterContainer3 = import_styled_components98.default.div`
14296
14304
  display: flex;
14297
14305
  flex-direction: column;
@@ -14331,7 +14339,7 @@ var ToggleBar = (props) => {
14331
14339
  (e) => onChange && onChange(e, e.target.value)
14332
14340
  );
14333
14341
  const labelId = label3 && `${uniqueId}-label`;
14334
- return /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(
14342
+ return /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(
14335
14343
  ToggleBarContext.Provider,
14336
14344
  {
14337
14345
  value: {
@@ -14340,7 +14348,7 @@ var ToggleBar = (props) => {
14340
14348
  name,
14341
14349
  value: groupValue
14342
14350
  },
14343
- children: /* @__PURE__ */ (0, import_jsx_runtime271.jsxs)(
14351
+ children: /* @__PURE__ */ (0, import_jsx_runtime272.jsxs)(
14344
14352
  OuterContainer3,
14345
14353
  {
14346
14354
  ...getBaseHTMLProps(id, className, htmlProps, rest),
@@ -14348,8 +14356,8 @@ var ToggleBar = (props) => {
14348
14356
  "aria-labelledby": labelId != null ? labelId : htmlProps == null ? void 0 : htmlProps["aria-labelledby"],
14349
14357
  $width: width,
14350
14358
  children: [
14351
- label3 && /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(Typography, { typographyType: "supportingStyleLabel01", id: labelId, children: label3 }),
14352
- /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(Bar3, { children })
14359
+ label3 && /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(Typography, { typographyType: "supportingStyleLabel01", id: labelId, children: label3 }),
14360
+ /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(Bar3, { children })
14353
14361
  ]
14354
14362
  }
14355
14363
  )
@@ -14431,7 +14439,7 @@ var Label3 = import_styled_components99.default.label`
14431
14439
  `;
14432
14440
 
14433
14441
  // src/components/ToggleBar/ToggleRadio.tsx
14434
- var import_jsx_runtime272 = require("react/jsx-runtime");
14442
+ var import_jsx_runtime273 = require("react/jsx-runtime");
14435
14443
  var calculateChecked = (value, group4, checked) => {
14436
14444
  if (typeof checked !== "undefined")
14437
14445
  return checked;
@@ -14466,8 +14474,8 @@ var ToggleRadio = (0, import_react119.forwardRef)(
14466
14474
  onChange && onChange(event);
14467
14475
  (group4 == null ? void 0 : group4.onChange) && group4.onChange(event);
14468
14476
  };
14469
- return /* @__PURE__ */ (0, import_jsx_runtime272.jsxs)(Label3, { size: group4.size, htmlFor: uniqueId, children: [
14470
- /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(
14477
+ return /* @__PURE__ */ (0, import_jsx_runtime273.jsxs)(Label3, { size: group4.size, htmlFor: uniqueId, children: [
14478
+ /* @__PURE__ */ (0, import_jsx_runtime273.jsx)(
14471
14479
  HiddenInput,
14472
14480
  {
14473
14481
  ...getBaseHTMLProps(uniqueId, className, htmlProps, rest),
@@ -14481,9 +14489,9 @@ var ToggleRadio = (0, import_react119.forwardRef)(
14481
14489
  "aria-labelledby": ariaLabelledBy
14482
14490
  }
14483
14491
  ),
14484
- /* @__PURE__ */ (0, import_jsx_runtime272.jsxs)(Content2, { $size: group4.size, $justIcon: !!icon12 && !label3, children: [
14485
- icon12 && /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(Icon, { icon: icon12, iconSize: "inherit" }),
14486
- label3 && /* @__PURE__ */ (0, import_jsx_runtime272.jsx)("span", { children: label3 })
14492
+ /* @__PURE__ */ (0, import_jsx_runtime273.jsxs)(Content2, { $size: group4.size, $justIcon: !!icon12 && !label3, children: [
14493
+ icon12 && /* @__PURE__ */ (0, import_jsx_runtime273.jsx)(Icon, { icon: icon12, iconSize: "inherit" }),
14494
+ label3 && /* @__PURE__ */ (0, import_jsx_runtime273.jsx)("span", { children: label3 })
14487
14495
  ] })
14488
14496
  ] });
14489
14497
  }
@@ -14527,7 +14535,7 @@ var toggleButtonTokens = {
14527
14535
  };
14528
14536
 
14529
14537
  // src/components/ToggleButton/ToggleButton.tsx
14530
- var import_jsx_runtime273 = require("react/jsx-runtime");
14538
+ var import_jsx_runtime274 = require("react/jsx-runtime");
14531
14539
  var { toggleButton: toggleButton2 } = toggleButtonTokens;
14532
14540
  var Content3 = import_styled_components100.default.span`
14533
14541
  display: flex;
@@ -14585,8 +14593,8 @@ var ToggleButton = (0, import_react120.forwardRef)(
14585
14593
  ({ id, label: label3, icon: icon12, className, htmlProps, ...rest }, ref) => {
14586
14594
  const generatedId = (0, import_react120.useId)();
14587
14595
  const uniqueId = id != null ? id : `${generatedId}-toggleButton`;
14588
- return /* @__PURE__ */ (0, import_jsx_runtime273.jsxs)(Container16, { htmlFor: uniqueId, children: [
14589
- /* @__PURE__ */ (0, import_jsx_runtime273.jsx)(
14596
+ return /* @__PURE__ */ (0, import_jsx_runtime274.jsxs)(Container16, { htmlFor: uniqueId, children: [
14597
+ /* @__PURE__ */ (0, import_jsx_runtime274.jsx)(
14590
14598
  HiddenInput,
14591
14599
  {
14592
14600
  ...getBaseHTMLProps(uniqueId, className, htmlProps, rest),
@@ -14594,8 +14602,8 @@ var ToggleButton = (0, import_react120.forwardRef)(
14594
14602
  type: "checkbox"
14595
14603
  }
14596
14604
  ),
14597
- /* @__PURE__ */ (0, import_jsx_runtime273.jsxs)(Content3, { $hasIcon: !!icon12, children: [
14598
- icon12 && /* @__PURE__ */ (0, import_jsx_runtime273.jsx)(Icon, { icon: icon12, iconSize: "inherit" }),
14605
+ /* @__PURE__ */ (0, import_jsx_runtime274.jsxs)(Content3, { $hasIcon: !!icon12, children: [
14606
+ icon12 && /* @__PURE__ */ (0, import_jsx_runtime274.jsx)(Icon, { icon: icon12, iconSize: "inherit" }),
14599
14607
  " ",
14600
14608
  label3
14601
14609
  ] })
@@ -14607,7 +14615,7 @@ ToggleButton.displayName = "ToggleButton";
14607
14615
  // src/components/ToggleButton/ToggleButtonGroup.tsx
14608
14616
  var import_react121 = require("react");
14609
14617
  var import_styled_components101 = __toESM(require("styled-components"));
14610
- var import_jsx_runtime274 = require("react/jsx-runtime");
14618
+ var import_jsx_runtime275 = require("react/jsx-runtime");
14611
14619
  var Group2 = import_styled_components101.default.div`
14612
14620
  gap: ${toggleButtonTokens.group.gap};
14613
14621
  display: flex;
@@ -14642,8 +14650,8 @@ var ToggleButtonGroup = (props) => {
14642
14650
  role: "group",
14643
14651
  "aria-labelledby": label3 ? uniqueLabelId : void 0
14644
14652
  };
14645
- return /* @__PURE__ */ (0, import_jsx_runtime274.jsxs)(Container17, { ...containerProps, children: [
14646
- !!label3 && /* @__PURE__ */ (0, import_jsx_runtime274.jsx)(
14653
+ return /* @__PURE__ */ (0, import_jsx_runtime275.jsxs)(Container17, { ...containerProps, children: [
14654
+ !!label3 && /* @__PURE__ */ (0, import_jsx_runtime275.jsx)(
14647
14655
  Typography,
14648
14656
  {
14649
14657
  as: "span",
@@ -14652,7 +14660,7 @@ var ToggleButtonGroup = (props) => {
14652
14660
  children: label3
14653
14661
  }
14654
14662
  ),
14655
- /* @__PURE__ */ (0, import_jsx_runtime274.jsx)(Group2, { ...groupProps, children })
14663
+ /* @__PURE__ */ (0, import_jsx_runtime275.jsx)(Group2, { ...groupProps, children })
14656
14664
  ] });
14657
14665
  };
14658
14666
  ToggleButtonGroup.displayName = "ToggleButtonGroup";
@@ -14767,6 +14775,7 @@ ToggleButtonGroup.displayName = "ToggleButtonGroup";
14767
14775
  Heading,
14768
14776
  HelpFilledIcon,
14769
14777
  HelpIcon,
14778
+ HelpSimpleIcon,
14770
14779
  HiddenInput,
14771
14780
  HomeIcon,
14772
14781
  HourglassBottom,