@norges-domstoler/dds-components 0.0.0-dev-20240614080547 → 0.0.0-dev-20240614080656

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
@@ -329,6 +329,7 @@ __export(src_exports, {
329
329
  VisibilityOnIcon: () => VisibilityOnIcon,
330
330
  VisuallyHidden: () => VisuallyHidden,
331
331
  WarningIcon: () => WarningIcon,
332
+ WebexIcon: () => WebexIcon,
332
333
  XIcon: () => XIcon,
333
334
  ZoomInIcon: () => ZoomInIcon,
334
335
  ZoomOutIcon: () => ZoomOutIcon,
@@ -1360,6 +1361,7 @@ __export(icons_exports, {
1360
1361
  VisibilityOffIcon: () => VisibilityOffIcon,
1361
1362
  VisibilityOnIcon: () => VisibilityOnIcon,
1362
1363
  WarningIcon: () => WarningIcon,
1364
+ WebexIcon: () => WebexIcon,
1363
1365
  XIcon: () => XIcon,
1364
1366
  ZoomInIcon: () => ZoomInIcon,
1365
1367
  ZoomOutIcon: () => ZoomOutIcon
@@ -2347,68 +2349,74 @@ function WarningIcon(props) {
2347
2349
  ] });
2348
2350
  }
2349
2351
 
2350
- // src/components/Icon/icons/x.tsx
2352
+ // src/components/Icon/icons/webex.tsx
2351
2353
  var import_jsx_runtime155 = require("react/jsx-runtime");
2354
+ function WebexIcon(props) {
2355
+ return /* @__PURE__ */ (0, import_jsx_runtime155.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime155.jsx)("path", { d: "M21.78 7.37601C22.292 8.55701 21.812 10.02 20.67 10.482C18.513 11.37 17.67 9.18701 17.67 9.18701C17.434 8.63701 16.943 7.69101 16.335 7.69101C16.131 7.69101 15.832 7.69101 15.395 8.53501C15.166 8.97801 14.961 9.72001 14.779 10.375L14.689 10.695C14.316 9.10801 13.868 7.24101 13.153 5.87901C12.9577 5.49901 12.7333 5.13901 12.48 4.79901C12.957 4.23202 13.5518 3.77577 14.223 3.46201C14.8838 3.15234 15.6053 2.99416 16.335 2.99901C17.38 2.99901 19.1 3.33701 20.562 5.22601C20.7294 5.43201 20.8787 5.65001 21.01 5.88001C21.288 6.32201 21.53 6.78301 21.736 7.26301L21.779 7.37601H21.78ZM0.0200176 8.40001C-0.149982 7.10501 0.800018 5.84501 1.95302 5.75501C3.74702 5.59801 4.31302 7.14001 4.40802 7.64501L4.43002 7.78201C4.50002 8.22201 4.72002 9.62001 4.91002 10.526C4.98802 10.926 5.15402 11.539 5.26302 11.942L5.26902 11.964L5.29502 12.056C5.40568 12.4567 5.52635 12.8543 5.65702 13.249C5.84235 13.797 6.05602 14.3337 6.29802 14.859C6.76802 15.814 7.22802 16.309 7.66502 16.309C7.86802 16.309 8.17702 16.309 8.62502 15.431C8.90802 14.841 9.13702 14.223 9.30902 13.586C9.68202 15.184 10.12 16.714 10.804 18.042C11.0094 18.4487 11.2477 18.8353 11.519 19.202C11.0424 19.7692 10.448 20.2258 9.77702 20.54C9.11612 20.849 8.39456 21.0065 7.66502 21.001C6.11702 21.001 3.93802 20.303 2.32602 16.996C1.90236 16.0805 1.54218 15.1369 1.24802 14.172C0.972135 13.299 0.740836 12.4125 0.555018 11.516C0.479054 11.1455 0.407383 10.7742 0.340018 10.402C0.212232 9.73822 0.105512 9.07055 0.0200176 8.40001ZM22.067 5.75501L21.865 5.73301H21.813C22.035 6.12501 22.234 6.53001 22.41 6.94801L22.463 7.06101C22.7839 7.82146 22.8082 8.67455 22.531 9.45201C22.2637 10.2164 21.7061 10.8447 20.979 11.201C20.5951 11.3832 20.1759 11.4788 19.751 11.481C19.4614 11.4761 19.174 11.4307 18.897 11.346C18.598 12.528 18.129 13.98 17.702 14.857C17.275 15.734 16.772 16.308 16.324 16.308C16.132 16.308 15.823 16.308 15.374 15.431C15.0917 14.8376 14.8631 14.2202 14.691 13.586C14.5481 13.0638 14.4161 12.5387 14.295 12.011C14.245 11.8128 14.1996 11.6134 14.159 11.413L14.157 11.403C13.751 9.62501 13.292 7.75801 12.502 6.26101C12.2274 5.74058 11.8982 5.25082 11.52 4.80001C11.0419 4.23136 10.4453 3.77403 9.77202 3.46001C9.10921 3.1505 8.3855 2.99332 7.65402 3.00001C6.61802 3.00001 4.90002 3.33801 3.43702 5.22801C3.90302 5.45101 4.30402 5.79001 4.60102 6.21201C4.90602 6.64501 5.10002 7.14501 5.16602 7.67001C5.24202 8.23301 5.42202 9.32401 5.63602 10.358L5.63702 10.365C5.65802 10.475 5.67902 10.586 5.71002 10.707C5.83602 10.367 5.96002 10.065 6.09002 9.75201L6.20202 9.48101L6.33002 9.18801C6.56502 8.63801 7.05602 7.69201 7.65402 7.69201C7.86702 7.69201 8.16702 7.69201 8.60402 8.53601C8.90002 9.14201 9.13602 9.77501 9.31002 10.426C9.44802 10.933 9.58602 11.473 9.70402 12.013C9.74402 12.161 9.77402 12.309 9.80502 12.457L9.81102 12.485C10.238 14.364 10.686 16.175 11.455 17.672C11.6137 17.99 11.7954 18.2937 12 18.583C12.15 18.7983 12.31 19.005 12.48 19.203C13.75 20.653 15.213 21.003 16.323 21.003C17.871 21.003 20.061 20.305 21.673 16.997C22.495 15.297 23.188 12.789 23.445 11.517C23.701 10.247 23.894 9.09801 23.979 8.40201C24.0636 7.78698 23.9086 7.16296 23.546 6.65901C23.37 6.41602 23.1482 6.20982 22.893 6.05201C22.6416 5.89628 22.3601 5.79441 22.067 5.75501Z" }) });
2356
+ }
2357
+
2358
+ // src/components/Icon/icons/x.tsx
2359
+ var import_jsx_runtime156 = require("react/jsx-runtime");
2352
2360
  function XIcon(props) {
2353
- return /* @__PURE__ */ (0, import_jsx_runtime155.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime155.jsx)("path", { d: "M17.7508 3H20.8175L14.1175 10.6583L22 21.0775H15.8283L10.995 14.7575L5.46333 21.0775H2.395L9.56167 12.8858L2 3.00083H8.32833L12.6975 8.7775L17.7508 3ZM16.675 19.2425H18.3742L7.405 4.73917H5.58167L16.675 19.2425Z" }) });
2361
+ return /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime156.jsx)("path", { d: "M17.7508 3H20.8175L14.1175 10.6583L22 21.0775H15.8283L10.995 14.7575L5.46333 21.0775H2.395L9.56167 12.8858L2 3.00083H8.32833L12.6975 8.7775L17.7508 3ZM16.675 19.2425H18.3742L7.405 4.73917H5.58167L16.675 19.2425Z" }) });
2354
2362
  }
2355
2363
 
2356
2364
  // src/components/Icon/icons/zoomIn.tsx
2357
- var import_jsx_runtime156 = require("react/jsx-runtime");
2365
+ var import_jsx_runtime157 = require("react/jsx-runtime");
2358
2366
  function ZoomInIcon(props) {
2359
- return /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime156.jsx)("path", { d: "M15.5 14h-.79l-.28-.27A6.47 6.47 0 0016 9.5 6.5 6.5 0 109.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14zm.5-7H9v2H7v1h2v2h1v-2h2V9h-2V7z" }) });
2367
+ return /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime157.jsx)("path", { d: "M15.5 14h-.79l-.28-.27A6.47 6.47 0 0016 9.5 6.5 6.5 0 109.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14zm.5-7H9v2H7v1h2v2h1v-2h2V9h-2V7z" }) });
2360
2368
  }
2361
2369
 
2362
2370
  // src/components/Icon/icons/zoomOut.tsx
2363
- var import_jsx_runtime157 = require("react/jsx-runtime");
2371
+ var import_jsx_runtime158 = require("react/jsx-runtime");
2364
2372
  function ZoomOutIcon(props) {
2365
- return /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime157.jsx)("path", { d: "M15.5 14h-.79l-.28-.27A6.47 6.47 0 0016 9.5 6.5 6.5 0 109.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14zM7 9h5v1H7V9z" }) });
2373
+ return /* @__PURE__ */ (0, import_jsx_runtime158.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime158.jsx)("path", { d: "M15.5 14h-.79l-.28-.27A6.47 6.47 0 0016 9.5 6.5 6.5 0 109.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14zM7 9h5v1H7V9z" }) });
2366
2374
  }
2367
2375
 
2368
2376
  // src/components/Icon/icons/barChart.tsx
2369
- var import_jsx_runtime158 = require("react/jsx-runtime");
2377
+ var import_jsx_runtime159 = require("react/jsx-runtime");
2370
2378
  function BarChartIcon(props) {
2371
- return /* @__PURE__ */ (0, import_jsx_runtime158.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime158.jsx)("path", { d: "M10 20h4V4h-4v16zm-6 0h4v-8H4v8zM16 9v11h4V9h-4z" }) });
2379
+ return /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime159.jsx)("path", { d: "M10 20h4V4h-4v16zm-6 0h4v-8H4v8zM16 9v11h4V9h-4z" }) });
2372
2380
  }
2373
2381
 
2374
2382
  // src/components/Icon/icons/barChartBoxed.tsx
2375
- var import_jsx_runtime159 = require("react/jsx-runtime");
2383
+ var import_jsx_runtime160 = require("react/jsx-runtime");
2376
2384
  function BarChartBoxedIcon(props) {
2377
- return /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime159.jsx)("path", { d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM7 10h2v7H7v-7zm4-3h2v10h-2V7zm4 6h2v4h-2v-4z" }) });
2385
+ return /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime160.jsx)("path", { d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM7 10h2v7H7v-7zm4-3h2v10h-2V7zm4 6h2v4h-2v-4z" }) });
2378
2386
  }
2379
2387
 
2380
2388
  // src/components/Icon/icons/lineChart.tsx
2381
- var import_jsx_runtime160 = require("react/jsx-runtime");
2389
+ var import_jsx_runtime161 = require("react/jsx-runtime");
2382
2390
  function LineChartIcon(props) {
2383
- return /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime160.jsx)("path", { d: "M3.5 18.49l6-6.01 4 4L22 6.92l-1.41-1.41-7.09 7.97-4-4L2 16.99l1.5 1.5z" }) });
2391
+ return /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime161.jsx)("path", { d: "M3.5 18.49l6-6.01 4 4L22 6.92l-1.41-1.41-7.09 7.97-4-4L2 16.99l1.5 1.5z" }) });
2384
2392
  }
2385
2393
 
2386
2394
  // src/components/Icon/icons/trendingUp.tsx
2387
- var import_jsx_runtime161 = require("react/jsx-runtime");
2395
+ var import_jsx_runtime162 = require("react/jsx-runtime");
2388
2396
  function TrendingUpIcon(props) {
2389
- return /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime161.jsx)("path", { d: "M16 6l2.29 2.29-4.88 4.88-4-4L2 16.59 3.41 18l6-6 4 4 6.3-6.29L22 12V6h-6z" }) });
2397
+ return /* @__PURE__ */ (0, import_jsx_runtime162.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime162.jsx)("path", { d: "M16 6l2.29 2.29-4.88 4.88-4-4L2 16.59 3.41 18l6-6 4 4 6.3-6.29L22 12V6h-6z" }) });
2390
2398
  }
2391
2399
 
2392
2400
  // src/components/Icon/icons/trendingDown.tsx
2393
- var import_jsx_runtime162 = require("react/jsx-runtime");
2401
+ var import_jsx_runtime163 = require("react/jsx-runtime");
2394
2402
  function TrendingDownIcon(props) {
2395
- return /* @__PURE__ */ (0, import_jsx_runtime162.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime162.jsx)("path", { d: "M16 18l2.29-2.29-4.88-4.88-4 4L2 7.41 3.41 6l6 6 4-4 6.3 6.29L22 12v6h-6z" }) });
2403
+ return /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime163.jsx)("path", { d: "M16 18l2.29-2.29-4.88-4.88-4 4L2 7.41 3.41 6l6 6 4-4 6.3 6.29L22 12v6h-6z" }) });
2396
2404
  }
2397
2405
 
2398
2406
  // src/components/Icon/icons/libraryAdd.tsx
2399
- var import_jsx_runtime163 = require("react/jsx-runtime");
2407
+ var import_jsx_runtime164 = require("react/jsx-runtime");
2400
2408
  function LibraryAddIcon(props) {
2401
- return /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime163.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" }) });
2409
+ return /* @__PURE__ */ (0, import_jsx_runtime164.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime164.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" }) });
2402
2410
  }
2403
2411
 
2404
2412
  // src/components/Icon/icons/helpSimple.tsx
2405
- var import_jsx_runtime164 = require("react/jsx-runtime");
2413
+ var import_jsx_runtime165 = require("react/jsx-runtime");
2406
2414
  function HelpSimpleIcon(props) {
2407
- return /* @__PURE__ */ (0, import_jsx_runtime164.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime164.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" }) });
2415
+ return /* @__PURE__ */ (0, import_jsx_runtime165.jsx)(SvgWrapper, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime165.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" }) });
2408
2416
  }
2409
2417
 
2410
2418
  // src/components/Typography/Typography/Typography.tsx
2411
- var import_jsx_runtime165 = require("react/jsx-runtime");
2419
+ var import_jsx_runtime166 = require("react/jsx-runtime");
2412
2420
  var isAnchorProps = (props) => props.typographyType === "a";
2413
2421
  var Typography = (0, import_react3.forwardRef)(
2414
2422
  (props, ref) => {
@@ -2442,7 +2450,7 @@ var Typography = (0, import_react3.forwardRef)(
2442
2450
  const typographyProps = {
2443
2451
  target: targetProp
2444
2452
  };
2445
- return /* @__PURE__ */ (0, import_jsx_runtime165.jsxs)(
2453
+ return /* @__PURE__ */ (0, import_jsx_runtime166.jsxs)(
2446
2454
  ElementAs,
2447
2455
  {
2448
2456
  ref,
@@ -2474,7 +2482,7 @@ var Typography = (0, import_react3.forwardRef)(
2474
2482
  rel: relProp,
2475
2483
  children: [
2476
2484
  children,
2477
- externalLinkProp && /* @__PURE__ */ (0, import_jsx_runtime165.jsx)(Icon, { icon: OpenExternalIcon, iconSize: "inherit" })
2485
+ externalLinkProp && /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(Icon, { icon: OpenExternalIcon, iconSize: "inherit" })
2478
2486
  ]
2479
2487
  }
2480
2488
  );
@@ -2483,11 +2491,11 @@ var Typography = (0, import_react3.forwardRef)(
2483
2491
  Typography.displayName = "Typography";
2484
2492
 
2485
2493
  // src/components/Typography/Caption/Caption.tsx
2486
- var import_jsx_runtime166 = require("react/jsx-runtime");
2494
+ var import_jsx_runtime167 = require("react/jsx-runtime");
2487
2495
  var Caption = (0, import_react4.forwardRef)(
2488
2496
  (props, ref) => {
2489
2497
  const { id, className, htmlProps, children, ...rest } = props;
2490
- return /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(
2498
+ return /* @__PURE__ */ (0, import_jsx_runtime167.jsx)(
2491
2499
  Typography,
2492
2500
  {
2493
2501
  ...getBaseHTMLProps(id, className, htmlProps, rest),
@@ -2824,7 +2832,7 @@ var useScreenSize = function() {
2824
2832
  };
2825
2833
 
2826
2834
  // src/components/Typography/Heading/Heading.tsx
2827
- var import_jsx_runtime167 = require("react/jsx-runtime");
2835
+ var import_jsx_runtime168 = require("react/jsx-runtime");
2828
2836
  var getHeadingElement = (level) => `h${level}`;
2829
2837
  var getDefaultTypographyType = (h) => {
2830
2838
  switch (h) {
@@ -2881,17 +2889,17 @@ var Heading = (0, import_react14.forwardRef)(
2881
2889
  as: headingElement,
2882
2890
  ref
2883
2891
  };
2884
- return /* @__PURE__ */ (0, import_jsx_runtime167.jsx)(Typography, { ...headingProps, children });
2892
+ return /* @__PURE__ */ (0, import_jsx_runtime168.jsx)(Typography, { ...headingProps, children });
2885
2893
  }
2886
2894
  );
2887
2895
  Heading.displayName = "Heading";
2888
2896
 
2889
2897
  // src/components/Typography/Label/Label.tsx
2890
2898
  var import_react15 = require("react");
2891
- var import_jsx_runtime168 = require("react/jsx-runtime");
2899
+ var import_jsx_runtime169 = require("react/jsx-runtime");
2892
2900
  var Label = (0, import_react15.forwardRef)((props, ref) => {
2893
2901
  const { showRequiredStyling, id, className, htmlProps, children, ...rest } = props;
2894
- return /* @__PURE__ */ (0, import_jsx_runtime168.jsxs)(
2902
+ return /* @__PURE__ */ (0, import_jsx_runtime169.jsxs)(
2895
2903
  Typography,
2896
2904
  {
2897
2905
  ...getBaseHTMLProps(id, className, htmlProps, rest),
@@ -2899,7 +2907,7 @@ var Label = (0, import_react15.forwardRef)((props, ref) => {
2899
2907
  typographyType: "supportingStyleLabel01",
2900
2908
  children: [
2901
2909
  children,
2902
- showRequiredStyling && /* @__PURE__ */ (0, import_jsx_runtime168.jsx)(RequiredMarker, {})
2910
+ showRequiredStyling && /* @__PURE__ */ (0, import_jsx_runtime169.jsx)(RequiredMarker, {})
2903
2911
  ]
2904
2912
  }
2905
2913
  );
@@ -2908,11 +2916,11 @@ Label.displayName = "Label";
2908
2916
 
2909
2917
  // src/components/Typography/Legend/Legend.tsx
2910
2918
  var import_react16 = require("react");
2911
- var import_jsx_runtime169 = require("react/jsx-runtime");
2919
+ var import_jsx_runtime170 = require("react/jsx-runtime");
2912
2920
  var Legend = (0, import_react16.forwardRef)(
2913
2921
  (props, ref) => {
2914
2922
  const { id, className, htmlProps, children, ...rest } = props;
2915
- return /* @__PURE__ */ (0, import_jsx_runtime169.jsx)(
2923
+ return /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(
2916
2924
  Typography,
2917
2925
  {
2918
2926
  ...getBaseHTMLProps(id, className, htmlProps, rest),
@@ -2928,7 +2936,7 @@ Legend.displayName = "Legend";
2928
2936
 
2929
2937
  // src/components/Typography/Link/Link.tsx
2930
2938
  var import_react17 = require("react");
2931
- var import_jsx_runtime170 = require("react/jsx-runtime");
2939
+ var import_jsx_runtime171 = require("react/jsx-runtime");
2932
2940
  var Link = (0, import_react17.forwardRef)((props, ref) => {
2933
2941
  const {
2934
2942
  id,
@@ -2942,7 +2950,7 @@ var Link = (0, import_react17.forwardRef)((props, ref) => {
2942
2950
  target,
2943
2951
  ...rest
2944
2952
  } = props;
2945
- return /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(
2953
+ return /* @__PURE__ */ (0, import_jsx_runtime171.jsxs)(
2946
2954
  "a",
2947
2955
  {
2948
2956
  ...getBaseHTMLProps(
@@ -2965,7 +2973,7 @@ var Link = (0, import_react17.forwardRef)((props, ref) => {
2965
2973
  target: external ? "_blank" : target,
2966
2974
  children: [
2967
2975
  children,
2968
- external && /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(Icon, { iconSize: "inherit", icon: OpenExternalIcon })
2976
+ external && /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(Icon, { iconSize: "inherit", icon: OpenExternalIcon })
2969
2977
  ]
2970
2978
  }
2971
2979
  );
@@ -2974,7 +2982,7 @@ Link.displayName = "Link";
2974
2982
 
2975
2983
  // src/components/Typography/Paragraph/Paragraph.tsx
2976
2984
  var import_react18 = require("react");
2977
- var import_jsx_runtime171 = require("react/jsx-runtime");
2985
+ var import_jsx_runtime172 = require("react/jsx-runtime");
2978
2986
  var Paragraph = (0, import_react18.forwardRef)(
2979
2987
  (props, ref) => {
2980
2988
  const {
@@ -2985,7 +2993,7 @@ var Paragraph = (0, import_react18.forwardRef)(
2985
2993
  typographyType = "bodySans02",
2986
2994
  ...rest
2987
2995
  } = props;
2988
- return /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(
2996
+ return /* @__PURE__ */ (0, import_jsx_runtime172.jsx)(
2989
2997
  Typography,
2990
2998
  {
2991
2999
  ...getBaseHTMLProps(id, className, htmlProps, rest),
@@ -2999,7 +3007,7 @@ var Paragraph = (0, import_react18.forwardRef)(
2999
3007
  Paragraph.displayName = "Paragraph";
3000
3008
 
3001
3009
  // src/components/helpers/Input/Input.tsx
3002
- var import_jsx_runtime172 = require("react/jsx-runtime");
3010
+ var import_jsx_runtime173 = require("react/jsx-runtime");
3003
3011
  var inputTypographyTypes = {
3004
3012
  medium: "bodySans02",
3005
3013
  small: "bodySans01",
@@ -3007,7 +3015,7 @@ var inputTypographyTypes = {
3007
3015
  };
3008
3016
  var Input = (0, import_react19.forwardRef)((props, ref) => {
3009
3017
  const { className, ...rest } = props;
3010
- return /* @__PURE__ */ (0, import_jsx_runtime172.jsx)(
3018
+ return /* @__PURE__ */ (0, import_jsx_runtime173.jsx)(
3011
3019
  "input",
3012
3020
  {
3013
3021
  ref,
@@ -3025,7 +3033,7 @@ var StatefulInput = (0, import_react19.forwardRef)(
3025
3033
  hasErrorMessage,
3026
3034
  ...rest
3027
3035
  } = props;
3028
- return /* @__PURE__ */ (0, import_jsx_runtime172.jsx)(
3036
+ return /* @__PURE__ */ (0, import_jsx_runtime173.jsx)(
3029
3037
  Input,
3030
3038
  {
3031
3039
  ref,
@@ -3070,11 +3078,11 @@ var Paper_default = {
3070
3078
  };
3071
3079
 
3072
3080
  // src/components/helpers/Paper/Paper.tsx
3073
- var import_jsx_runtime173 = require("react/jsx-runtime");
3081
+ var import_jsx_runtime174 = require("react/jsx-runtime");
3074
3082
  var Paper = (0, import_react20.forwardRef)((props, ref) => {
3075
3083
  const { elevation, border, className, ...rest } = props;
3076
3084
  const borderCn = border === "default" || border === "subtle" ? border : "on-inverse";
3077
- return /* @__PURE__ */ (0, import_jsx_runtime173.jsx)(
3085
+ return /* @__PURE__ */ (0, import_jsx_runtime174.jsx)(
3078
3086
  "div",
3079
3087
  {
3080
3088
  ref,
@@ -4495,10 +4503,10 @@ var BackLink_default = {
4495
4503
  };
4496
4504
 
4497
4505
  // src/components/BackLink/BackLink.tsx
4498
- var import_jsx_runtime174 = require("react/jsx-runtime");
4506
+ var import_jsx_runtime175 = require("react/jsx-runtime");
4499
4507
  var BackLink = (0, import_react22.forwardRef)((props, ref) => {
4500
- return /* @__PURE__ */ (0, import_jsx_runtime174.jsx)("nav", { ref, "aria-label": "g\xE5 tilbake", children: /* @__PURE__ */ (0, import_jsx_runtime174.jsxs)(Link, { href: props.href, className: BackLink_default.link, children: [
4501
- /* @__PURE__ */ (0, import_jsx_runtime174.jsx)(Icon, { icon: ArrowLeftIcon, iconSize: "small" }),
4508
+ return /* @__PURE__ */ (0, import_jsx_runtime175.jsx)("nav", { ref, "aria-label": "g\xE5 tilbake", children: /* @__PURE__ */ (0, import_jsx_runtime175.jsxs)(Link, { href: props.href, className: BackLink_default.link, children: [
4509
+ /* @__PURE__ */ (0, import_jsx_runtime175.jsx)(Icon, { icon: ArrowLeftIcon, iconSize: "small" }),
4502
4510
  props.label
4503
4511
  ] }) });
4504
4512
  });
@@ -4506,7 +4514,7 @@ BackLink.displayName = "BackLink";
4506
4514
 
4507
4515
  // src/components/Breadcrumbs/Breadcrumb.tsx
4508
4516
  var import_react23 = require("react");
4509
- var import_jsx_runtime175 = require("react/jsx-runtime");
4517
+ var import_jsx_runtime176 = require("react/jsx-runtime");
4510
4518
  var isAnchorTypographyProps = (props) => {
4511
4519
  return props.href != void 0;
4512
4520
  };
@@ -4514,9 +4522,9 @@ var Breadcrumb = (0, import_react23.forwardRef)(
4514
4522
  (props, ref) => {
4515
4523
  const { children, ...rest } = props;
4516
4524
  if (isAnchorTypographyProps(props)) {
4517
- return /* @__PURE__ */ (0, import_jsx_runtime175.jsx)(Typography, { htmlProps: rest, ref, typographyType: "a", children });
4525
+ return /* @__PURE__ */ (0, import_jsx_runtime176.jsx)(Typography, { htmlProps: rest, ref, typographyType: "a", children });
4518
4526
  }
4519
- return /* @__PURE__ */ (0, import_jsx_runtime175.jsx)(Typography, { htmlProps: rest, ref, as: "span", children });
4527
+ return /* @__PURE__ */ (0, import_jsx_runtime176.jsx)(Typography, { htmlProps: rest, ref, as: "span", children });
4520
4528
  }
4521
4529
  );
4522
4530
  Breadcrumb.displayName = "Breadcrumb";
@@ -4617,7 +4625,7 @@ var Spinner_default = {
4617
4625
  };
4618
4626
 
4619
4627
  // src/components/Spinner/Spinner.tsx
4620
- var import_jsx_runtime176 = require("react/jsx-runtime");
4628
+ var import_jsx_runtime177 = require("react/jsx-runtime");
4621
4629
  function Spinner(props) {
4622
4630
  const {
4623
4631
  size: size2 = import_dds_design_tokens12.ddsTokens.DdsIconSizeMedium,
@@ -4633,7 +4641,7 @@ function Spinner(props) {
4633
4641
  const innerAnimationDelay = -(mountTime.current % 1500);
4634
4642
  const generatedId = (0, import_react24.useId)();
4635
4643
  const uniqueId = `${generatedId}-spinnerTitle`;
4636
- return /* @__PURE__ */ (0, import_jsx_runtime176.jsxs)(
4644
+ return /* @__PURE__ */ (0, import_jsx_runtime177.jsxs)(
4637
4645
  "svg",
4638
4646
  {
4639
4647
  viewBox: "0 0 50 50",
@@ -4647,8 +4655,8 @@ function Spinner(props) {
4647
4655
  animationDelay: outerAnimationDelay + "ms"
4648
4656
  },
4649
4657
  children: [
4650
- /* @__PURE__ */ (0, import_jsx_runtime176.jsx)("title", { id: uniqueId, children: tooltip }),
4651
- /* @__PURE__ */ (0, import_jsx_runtime176.jsx)(
4658
+ /* @__PURE__ */ (0, import_jsx_runtime177.jsx)("title", { id: uniqueId, children: tooltip }),
4659
+ /* @__PURE__ */ (0, import_jsx_runtime177.jsx)(
4652
4660
  "circle",
4653
4661
  {
4654
4662
  className: cn(Spinner_default.circle),
@@ -4670,7 +4678,7 @@ function Spinner(props) {
4670
4678
  Spinner.displayName = "Spinner";
4671
4679
 
4672
4680
  // src/components/Button/Button.tsx
4673
- var import_jsx_runtime177 = require("react/jsx-runtime");
4681
+ var import_jsx_runtime178 = require("react/jsx-runtime");
4674
4682
  var typographyTypes = {
4675
4683
  large: "bodySans04",
4676
4684
  medium: "bodySans02",
@@ -4719,7 +4727,7 @@ var Button = (0, import_react25.forwardRef)(
4719
4727
  typographyStyles_default[getTypographyCn(typographyTypes[size2])],
4720
4728
  focusable
4721
4729
  );
4722
- const iconElement = hasIcon && /* @__PURE__ */ (0, import_jsx_runtime177.jsx)(
4730
+ const iconElement = hasIcon && /* @__PURE__ */ (0, import_jsx_runtime178.jsx)(
4723
4731
  Icon,
4724
4732
  {
4725
4733
  icon: icon2,
@@ -4727,18 +4735,18 @@ var Button = (0, import_react25.forwardRef)(
4727
4735
  className: cn(Button_default.icon, loading && invisible)
4728
4736
  }
4729
4737
  );
4730
- const content = /* @__PURE__ */ (0, import_jsx_runtime177.jsxs)(import_jsx_runtime177.Fragment, { children: [
4731
- hasLabel && /* @__PURE__ */ (0, import_jsx_runtime177.jsxs)(import_jsx_runtime177.Fragment, { children: [
4738
+ const content = /* @__PURE__ */ (0, import_jsx_runtime178.jsxs)(import_jsx_runtime178.Fragment, { children: [
4739
+ hasLabel && /* @__PURE__ */ (0, import_jsx_runtime178.jsxs)(import_jsx_runtime178.Fragment, { children: [
4732
4740
  iconPosition === "left" && iconElement,
4733
- /* @__PURE__ */ (0, import_jsx_runtime177.jsx)("span", { "aria-hidden": loading, className: cn(loading && invisible), children }),
4741
+ /* @__PURE__ */ (0, import_jsx_runtime178.jsx)("span", { "aria-hidden": loading, className: cn(loading && invisible), children }),
4734
4742
  iconPosition === "right" && iconElement
4735
4743
  ] }),
4736
4744
  isIconButton && iconElement,
4737
- loading && /* @__PURE__ */ (0, import_jsx_runtime177.jsx)(
4745
+ loading && /* @__PURE__ */ (0, import_jsx_runtime178.jsx)(
4738
4746
  "span",
4739
4747
  {
4740
4748
  className: cn(!noContent && Button_default["spinner-wrapper--absolute"]),
4741
- children: /* @__PURE__ */ (0, import_jsx_runtime177.jsx)(
4749
+ children: /* @__PURE__ */ (0, import_jsx_runtime178.jsx)(
4742
4750
  Spinner,
4743
4751
  {
4744
4752
  size: button2[size2].spinner.size,
@@ -4751,7 +4759,7 @@ var Button = (0, import_react25.forwardRef)(
4751
4759
  )
4752
4760
  ] });
4753
4761
  if (!href)
4754
- return /* @__PURE__ */ (0, import_jsx_runtime177.jsx)(
4762
+ return /* @__PURE__ */ (0, import_jsx_runtime178.jsx)(
4755
4763
  "button",
4756
4764
  {
4757
4765
  ref,
@@ -4764,7 +4772,7 @@ var Button = (0, import_react25.forwardRef)(
4764
4772
  }
4765
4773
  );
4766
4774
  else if (href)
4767
- return /* @__PURE__ */ (0, import_jsx_runtime177.jsx)(
4775
+ return /* @__PURE__ */ (0, import_jsx_runtime178.jsx)(
4768
4776
  "a",
4769
4777
  {
4770
4778
  ref,
@@ -4807,7 +4815,7 @@ var OverflowMenu_default = {
4807
4815
 
4808
4816
  // src/components/OverflowMenu/OverflowMenuItem.tsx
4809
4817
  var import_react26 = require("react");
4810
- var import_jsx_runtime178 = require("react/jsx-runtime");
4818
+ var import_jsx_runtime179 = require("react/jsx-runtime");
4811
4819
  var isAnchorProps2 = (props) => props.href !== void 0;
4812
4820
  var isButtonProps = (props) => props.href === void 0 && props.onClick !== void 0;
4813
4821
  var OverflowMenuItem = (0, import_react26.forwardRef)((props, ref) => {
@@ -4832,7 +4840,7 @@ var OverflowMenuItem = (0, import_react26.forwardRef)((props, ref) => {
4832
4840
  role: "menuitem",
4833
4841
  tabIndex: focus ? 0 : -1
4834
4842
  };
4835
- const iconElement = icon2 && /* @__PURE__ */ (0, import_jsx_runtime178.jsx)(Icon, { iconSize: "inherit", icon: icon2 });
4843
+ const iconElement = icon2 && /* @__PURE__ */ (0, import_jsx_runtime179.jsx)(Icon, { iconSize: "inherit", icon: icon2 });
4836
4844
  const wrapperCn = [
4837
4845
  className,
4838
4846
  OverflowMenu_default.list__item,
@@ -4845,7 +4853,7 @@ var OverflowMenuItem = (0, import_react26.forwardRef)((props, ref) => {
4845
4853
  utilStyles_default["normalize-button"]
4846
4854
  ];
4847
4855
  if (!href && !onClick) {
4848
- return /* @__PURE__ */ (0, import_jsx_runtime178.jsxs)(
4856
+ return /* @__PURE__ */ (0, import_jsx_runtime179.jsxs)(
4849
4857
  "span",
4850
4858
  {
4851
4859
  ...{ ...getBaseHTMLProps(id, cn(...wrapperCn), htmlProps, rest), ref },
@@ -4857,7 +4865,7 @@ var OverflowMenuItem = (0, import_react26.forwardRef)((props, ref) => {
4857
4865
  );
4858
4866
  }
4859
4867
  if (!href) {
4860
- return /* @__PURE__ */ (0, import_jsx_runtime178.jsxs)(
4868
+ return /* @__PURE__ */ (0, import_jsx_runtime179.jsxs)(
4861
4869
  "button",
4862
4870
  {
4863
4871
  ...getBaseHTMLProps(id, cn(...interactiveWrapperCn), htmlProps, rest),
@@ -4870,7 +4878,7 @@ var OverflowMenuItem = (0, import_react26.forwardRef)((props, ref) => {
4870
4878
  }
4871
4879
  );
4872
4880
  }
4873
- return /* @__PURE__ */ (0, import_jsx_runtime178.jsxs)(
4881
+ return /* @__PURE__ */ (0, import_jsx_runtime179.jsxs)(
4874
4882
  "a",
4875
4883
  {
4876
4884
  ...getBaseHTMLProps(id, cn(...interactiveWrapperCn), htmlProps, rest),
@@ -4897,7 +4905,7 @@ var Divider_default = {
4897
4905
  };
4898
4906
 
4899
4907
  // src/components/Divider/Divider.tsx
4900
- var import_jsx_runtime179 = require("react/jsx-runtime");
4908
+ var import_jsx_runtime180 = require("react/jsx-runtime");
4901
4909
  var Divider = (0, import_react27.forwardRef)((props, ref) => {
4902
4910
  const { color = "default", id, className, htmlProps, ...rest } = props;
4903
4911
  const colorCn = color === "default" || color === "subtle" ? color : "on-inverse";
@@ -4910,12 +4918,12 @@ var Divider = (0, import_react27.forwardRef)((props, ref) => {
4910
4918
  ),
4911
4919
  color
4912
4920
  };
4913
- return /* @__PURE__ */ (0, import_jsx_runtime179.jsx)("hr", { ref, ...lineProps });
4921
+ return /* @__PURE__ */ (0, import_jsx_runtime180.jsx)("hr", { ref, ...lineProps });
4914
4922
  });
4915
4923
  Divider.displayName = "Divider";
4916
4924
 
4917
4925
  // src/components/OverflowMenu/OverflowMenu.tsx
4918
- var import_jsx_runtime180 = require("react/jsx-runtime");
4926
+ var import_jsx_runtime181 = require("react/jsx-runtime");
4919
4927
  var OverflowMenu = (0, import_react28.forwardRef)(
4920
4928
  (props, ref) => {
4921
4929
  var _a, _b;
@@ -4976,7 +4984,7 @@ var OverflowMenu = (0, import_react28.forwardRef)(
4976
4984
  hasContextItems && interactiveItems.push(...items);
4977
4985
  const hasInteractiveItems = interactiveItems.length > 0;
4978
4986
  const [focus] = useRoveFocus(interactiveItems == null ? void 0 : interactiveItems.length, isOpen);
4979
- const interactiveItemsList = hasInteractiveItems ? interactiveItems.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime180.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime180.jsx)(
4987
+ const interactiveItemsList = hasInteractiveItems ? interactiveItems.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime181.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(
4980
4988
  OverflowMenuItem,
4981
4989
  {
4982
4990
  index,
@@ -4997,14 +5005,14 @@ var OverflowMenu = (0, import_react28.forwardRef)(
4997
5005
  const navItemsFirstPos = hasNavItems ? userPropsPos + 1 : -1;
4998
5006
  const navItemsLastPos = hasNavItems ? userPropsPos + navItems.length : -1;
4999
5007
  const contextItemsFirstPos = !hasContextItems ? -1 : hasNavItems ? navItemsLastPos + 1 : userPropsPos + 1;
5000
- return /* @__PURE__ */ (0, import_jsx_runtime180.jsxs)(import_jsx_runtime180.Fragment, { children: [
5001
- hasInteractiveUser && /* @__PURE__ */ (0, import_jsx_runtime180.jsx)("ul", { className: ulCn, children: interactiveItemsList == null ? void 0 : interactiveItemsList[0] }),
5002
- hasNavItems && /* @__PURE__ */ (0, import_jsx_runtime180.jsx)("nav", { children: /* @__PURE__ */ (0, import_jsx_runtime180.jsx)("ul", { className: ulCn, children: interactiveItemsList == null ? void 0 : interactiveItemsList.slice(
5008
+ return /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)(import_jsx_runtime181.Fragment, { children: [
5009
+ hasInteractiveUser && /* @__PURE__ */ (0, import_jsx_runtime181.jsx)("ul", { className: ulCn, children: interactiveItemsList == null ? void 0 : interactiveItemsList[0] }),
5010
+ hasNavItems && /* @__PURE__ */ (0, import_jsx_runtime181.jsx)("nav", { children: /* @__PURE__ */ (0, import_jsx_runtime181.jsx)("ul", { className: ulCn, children: interactiveItemsList == null ? void 0 : interactiveItemsList.slice(
5003
5011
  navItemsFirstPos,
5004
5012
  navItemsLastPos + 1
5005
5013
  ) }) }),
5006
- hasNavItems && hasContextItems && /* @__PURE__ */ (0, import_jsx_runtime180.jsx)(Divider, { color: "subtle", className: OverflowMenu_default.divider }),
5007
- hasContextItems && /* @__PURE__ */ (0, import_jsx_runtime180.jsx)("ul", { className: ulCn, "aria-label": "kontekstmeny", children: interactiveItemsList == null ? void 0 : interactiveItemsList.slice(
5014
+ hasNavItems && hasContextItems && /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(Divider, { color: "subtle", className: OverflowMenu_default.divider }),
5015
+ hasContextItems && /* @__PURE__ */ (0, import_jsx_runtime181.jsx)("ul", { className: ulCn, "aria-label": "kontekstmeny", children: interactiveItemsList == null ? void 0 : interactiveItemsList.slice(
5008
5016
  contextItemsFirstPos,
5009
5017
  interactiveItemsList.length
5010
5018
  ) })
@@ -5013,7 +5021,7 @@ var OverflowMenu = (0, import_react28.forwardRef)(
5013
5021
  };
5014
5022
  const { style = {}, ...restHTMLProps } = htmlProps;
5015
5023
  const generatedId = (0, import_react28.useId)();
5016
- return /* @__PURE__ */ (0, import_jsx_runtime180.jsxs)(
5024
+ return /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)(
5017
5025
  Paper,
5018
5026
  {
5019
5027
  ref: combinedRef,
@@ -5034,7 +5042,7 @@ var OverflowMenu = (0, import_react28.forwardRef)(
5034
5042
  border: "default",
5035
5043
  style: { ...style, ...floatingStyles.floating },
5036
5044
  children: [
5037
- hasStaticUser && /* @__PURE__ */ (0, import_jsx_runtime180.jsx)(OverflowMenuItem, { title: username, icon: PersonIcon }),
5045
+ hasStaticUser && /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(OverflowMenuItem, { title: username, icon: PersonIcon }),
5038
5046
  interactiveContent()
5039
5047
  ]
5040
5048
  }
@@ -5045,7 +5053,7 @@ OverflowMenu.displayName = "OverflowMenu";
5045
5053
 
5046
5054
  // src/components/OverflowMenu/OverflowMenuGroup.tsx
5047
5055
  var import_react29 = require("react");
5048
- var import_jsx_runtime181 = require("react/jsx-runtime");
5056
+ var import_jsx_runtime182 = require("react/jsx-runtime");
5049
5057
  var OverflowMenuGroup = ({
5050
5058
  children,
5051
5059
  onClose,
@@ -5084,16 +5092,16 @@ var OverflowMenuGroup = ({
5084
5092
  anchorRef: buttonRef
5085
5093
  }));
5086
5094
  });
5087
- return /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(import_jsx_runtime181.Fragment, { children: Children8 });
5095
+ return /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(import_jsx_runtime182.Fragment, { children: Children8 });
5088
5096
  };
5089
5097
  OverflowMenuGroup.displayName = "OverflowMenuGroup";
5090
5098
 
5091
5099
  // src/components/Breadcrumbs/Breadcrumbs.tsx
5092
- var import_jsx_runtime182 = require("react/jsx-runtime");
5100
+ var import_jsx_runtime183 = require("react/jsx-runtime");
5093
5101
  var Breadcrumbs = (0, import_react30.forwardRef)(
5094
5102
  (props, ref) => {
5095
5103
  const { children, smallScreen, id, className, htmlProps, ...rest } = props;
5096
- const chevronIcon = /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(
5104
+ const chevronIcon = /* @__PURE__ */ (0, import_jsx_runtime183.jsx)(
5097
5105
  Icon,
5098
5106
  {
5099
5107
  className: cn(Breadcrumbs_default.icon),
@@ -5107,7 +5115,7 @@ var Breadcrumbs = (0, import_react30.forwardRef)(
5107
5115
  !smallScreen && Breadcrumbs_default[`list-item--large-screen`]
5108
5116
  );
5109
5117
  const breadcrumbChildren = childrenArray.map((item, index) => {
5110
- return /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("li", { className: listItemCn, children: [
5118
+ return /* @__PURE__ */ (0, import_jsx_runtime183.jsxs)("li", { className: listItemCn, children: [
5111
5119
  index !== 0 && chevronIcon,
5112
5120
  item
5113
5121
  ] }, `breadcrumb-${index}`);
@@ -5119,12 +5127,12 @@ var Breadcrumbs = (0, import_react30.forwardRef)(
5119
5127
  href: item.props.href
5120
5128
  };
5121
5129
  }).filter((item) => item) : [];
5122
- const breadcrumbChildrenSmallScreen = /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)(import_jsx_runtime182.Fragment, { children: [
5123
- /* @__PURE__ */ (0, import_jsx_runtime182.jsx)("li", { className: listItemCn, children: childrenArray[0] }),
5124
- breadcrumbChildrenTruncated.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("li", { className: listItemCn, children: [
5130
+ const breadcrumbChildrenSmallScreen = /* @__PURE__ */ (0, import_jsx_runtime183.jsxs)(import_jsx_runtime183.Fragment, { children: [
5131
+ /* @__PURE__ */ (0, import_jsx_runtime183.jsx)("li", { className: listItemCn, children: childrenArray[0] }),
5132
+ breadcrumbChildrenTruncated.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime183.jsxs)("li", { className: listItemCn, children: [
5125
5133
  chevronIcon,
5126
- /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)(OverflowMenuGroup, { children: [
5127
- /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(
5134
+ /* @__PURE__ */ (0, import_jsx_runtime183.jsxs)(OverflowMenuGroup, { children: [
5135
+ /* @__PURE__ */ (0, import_jsx_runtime183.jsx)(
5128
5136
  Button,
5129
5137
  {
5130
5138
  size: "tiny",
@@ -5133,21 +5141,21 @@ var Breadcrumbs = (0, import_react30.forwardRef)(
5133
5141
  "aria-label": `Vis br\xF8dsmulesti br\xF8dsmule 2 ${breadcrumbChildrenTruncated.length > 1 && `til ${breadcrumbChildren.length - 1}`}`
5134
5142
  }
5135
5143
  ),
5136
- /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(OverflowMenu, { items: breadcrumbChildrenTruncated })
5144
+ /* @__PURE__ */ (0, import_jsx_runtime183.jsx)(OverflowMenu, { items: breadcrumbChildrenTruncated })
5137
5145
  ] })
5138
5146
  ] }),
5139
- /* @__PURE__ */ (0, import_jsx_runtime182.jsxs)("li", { className: listItemCn, children: [
5147
+ /* @__PURE__ */ (0, import_jsx_runtime183.jsxs)("li", { className: listItemCn, children: [
5140
5148
  chevronIcon,
5141
5149
  childrenArray[childrenArray.length - 1]
5142
5150
  ] })
5143
5151
  ] });
5144
- return /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(
5152
+ return /* @__PURE__ */ (0, import_jsx_runtime183.jsx)(
5145
5153
  "nav",
5146
5154
  {
5147
5155
  ...getBaseHTMLProps(id, className, htmlProps, rest),
5148
5156
  ref,
5149
5157
  "aria-label": "br\xF8dsmulesti",
5150
- children: /* @__PURE__ */ (0, import_jsx_runtime182.jsx)("ul", { className: cn(Breadcrumbs_default.list, utilStyles_default["remove-list-styling"]), children: smallScreen ? breadcrumbChildrenSmallScreen : breadcrumbChildren })
5158
+ children: /* @__PURE__ */ (0, import_jsx_runtime183.jsx)("ul", { className: cn(Breadcrumbs_default.list, utilStyles_default["remove-list-styling"]), children: smallScreen ? breadcrumbChildrenSmallScreen : breadcrumbChildren })
5151
5159
  }
5152
5160
  );
5153
5161
  }
@@ -5165,7 +5173,7 @@ var ButtonGroup_default = {
5165
5173
  };
5166
5174
 
5167
5175
  // src/components/ButtonGroup/ButtonGroup.tsx
5168
- var import_jsx_runtime183 = require("react/jsx-runtime");
5176
+ var import_jsx_runtime184 = require("react/jsx-runtime");
5169
5177
  var ButtonGroup = (0, import_react31.forwardRef)(
5170
5178
  (props, ref) => {
5171
5179
  const {
@@ -5184,7 +5192,7 @@ var ButtonGroup = (0, import_react31.forwardRef)(
5184
5192
  size: buttonSize
5185
5193
  });
5186
5194
  });
5187
- return /* @__PURE__ */ (0, import_jsx_runtime183.jsx)(
5195
+ return /* @__PURE__ */ (0, import_jsx_runtime184.jsx)(
5188
5196
  "div",
5189
5197
  {
5190
5198
  ref,
@@ -5212,7 +5220,7 @@ var Card_default = {
5212
5220
  };
5213
5221
 
5214
5222
  // src/components/Card/Card.tsx
5215
- var import_jsx_runtime184 = require("react/jsx-runtime");
5223
+ var import_jsx_runtime185 = require("react/jsx-runtime");
5216
5224
  var Card = (props) => {
5217
5225
  const {
5218
5226
  appearance = "filled",
@@ -5232,7 +5240,7 @@ var Card = (props) => {
5232
5240
  );
5233
5241
  if (cardType === "navigation") {
5234
5242
  const { href, target } = props;
5235
- return /* @__PURE__ */ (0, import_jsx_runtime184.jsx)(
5243
+ return /* @__PURE__ */ (0, import_jsx_runtime185.jsx)(
5236
5244
  "a",
5237
5245
  {
5238
5246
  ...getBaseHTMLProps(
@@ -5247,7 +5255,7 @@ var Card = (props) => {
5247
5255
  }
5248
5256
  );
5249
5257
  }
5250
- return /* @__PURE__ */ (0, import_jsx_runtime184.jsx)("div", { ...getBaseHTMLProps(id, classNames, htmlProps, rest), ref: cardRef });
5258
+ return /* @__PURE__ */ (0, import_jsx_runtime185.jsx)("div", { ...getBaseHTMLProps(id, classNames, htmlProps, rest), ref: cardRef });
5251
5259
  };
5252
5260
  Card.displayName = "Card";
5253
5261
 
@@ -5256,13 +5264,13 @@ var import_react33 = require("react");
5256
5264
 
5257
5265
  // src/components/Card/CardAccordion/CardAccordionContext.tsx
5258
5266
  var import_react32 = require("react");
5259
- var import_jsx_runtime185 = require("react/jsx-runtime");
5267
+ var import_jsx_runtime186 = require("react/jsx-runtime");
5260
5268
  var CardAccordionContext = (0, import_react32.createContext)({});
5261
5269
  var CardAccordionContextProvider = ({
5262
5270
  children,
5263
5271
  ...values
5264
5272
  }) => {
5265
- return /* @__PURE__ */ (0, import_jsx_runtime185.jsx)(CardAccordionContext.Provider, { value: values, children });
5273
+ return /* @__PURE__ */ (0, import_jsx_runtime186.jsx)(CardAccordionContext.Provider, { value: values, children });
5266
5274
  };
5267
5275
  var useCardAccordionContext = () => {
5268
5276
  const context = (0, import_react32.useContext)(CardAccordionContext);
@@ -5275,7 +5283,7 @@ var useCardAccordionContext = () => {
5275
5283
  };
5276
5284
 
5277
5285
  // src/components/Card/CardAccordion/CardAccordion.tsx
5278
- var import_jsx_runtime186 = require("react/jsx-runtime");
5286
+ var import_jsx_runtime187 = require("react/jsx-runtime");
5279
5287
  var CardAccordion = (0, import_react33.forwardRef)(
5280
5288
  (props, ref) => {
5281
5289
  const {
@@ -5302,7 +5310,7 @@ var CardAccordion = (0, import_react33.forwardRef)(
5302
5310
  return newExpanded;
5303
5311
  });
5304
5312
  }, [onChange]);
5305
- return /* @__PURE__ */ (0, import_jsx_runtime186.jsx)("div", { ...getBaseHTMLProps(id, className, htmlProps, rest), ref, children: /* @__PURE__ */ (0, import_jsx_runtime186.jsx)(
5313
+ return /* @__PURE__ */ (0, import_jsx_runtime187.jsx)("div", { ...getBaseHTMLProps(id, className, htmlProps, rest), ref, children: /* @__PURE__ */ (0, import_jsx_runtime187.jsx)(
5306
5314
  CardAccordionContextProvider,
5307
5315
  {
5308
5316
  headerId: `${accordionId}-header`,
@@ -5333,7 +5341,7 @@ var CardAccordion_default = {
5333
5341
  };
5334
5342
 
5335
5343
  // src/components/Card/CardAccordion/CardAccordionHeader.tsx
5336
- var import_jsx_runtime187 = require("react/jsx-runtime");
5344
+ var import_jsx_runtime188 = require("react/jsx-runtime");
5337
5345
  var CardAccordionHeader = (0, import_react34.forwardRef)((props, ref) => {
5338
5346
  const {
5339
5347
  children,
@@ -5354,7 +5362,7 @@ var CardAccordionHeader = (0, import_react34.forwardRef)((props, ref) => {
5354
5362
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
5355
5363
  ["--dds-card-accordion-header-container-padding"]: padding != null ? padding : "var(--dds-spacing-x1) var(--dds-spacing-x0-75) var(--dds-spacing-x1) var(--dds-spacing-x1-5)"
5356
5364
  };
5357
- return /* @__PURE__ */ (0, import_jsx_runtime187.jsx)(
5365
+ return /* @__PURE__ */ (0, import_jsx_runtime188.jsx)(
5358
5366
  "button",
5359
5367
  {
5360
5368
  ...getBaseHTMLProps(
@@ -5374,7 +5382,7 @@ var CardAccordionHeader = (0, import_react34.forwardRef)((props, ref) => {
5374
5382
  "aria-controls": bodyId,
5375
5383
  "aria-expanded": isExpanded,
5376
5384
  type: "button",
5377
- children: /* @__PURE__ */ (0, import_jsx_runtime187.jsxs)(
5385
+ children: /* @__PURE__ */ (0, import_jsx_runtime188.jsxs)(
5378
5386
  "div",
5379
5387
  {
5380
5388
  style: containerStyleVariables,
@@ -5384,8 +5392,8 @@ var CardAccordionHeader = (0, import_react34.forwardRef)((props, ref) => {
5384
5392
  bold && typographyStyles_default.bold
5385
5393
  ),
5386
5394
  children: [
5387
- /* @__PURE__ */ (0, import_jsx_runtime187.jsx)("div", { className: CardAccordion_default.header__content, children }),
5388
- /* @__PURE__ */ (0, import_jsx_runtime187.jsx)("span", { className: CardAccordion_default.header__chevron, children: /* @__PURE__ */ (0, import_jsx_runtime187.jsx)(
5395
+ /* @__PURE__ */ (0, import_jsx_runtime188.jsx)("div", { className: CardAccordion_default.header__content, children }),
5396
+ /* @__PURE__ */ (0, import_jsx_runtime188.jsx)("span", { className: CardAccordion_default.header__chevron, children: /* @__PURE__ */ (0, import_jsx_runtime188.jsx)(
5389
5397
  AnimatedChevronUpDown,
5390
5398
  {
5391
5399
  width: import_dds_design_tokens14.ddsTokens.DdsIconSizeMedium,
@@ -5420,7 +5428,7 @@ function useElementHeight(element) {
5420
5428
  }
5421
5429
 
5422
5430
  // src/components/Card/CardAccordion/CardAccordionBody.tsx
5423
- var import_jsx_runtime188 = require("react/jsx-runtime");
5431
+ var import_jsx_runtime189 = require("react/jsx-runtime");
5424
5432
  var CardAccordionBody = (0, import_react36.forwardRef)((props, ref) => {
5425
5433
  var _a;
5426
5434
  const { children, className, htmlProps, padding, ...rest } = props;
@@ -5448,7 +5456,7 @@ var CardAccordionBody = (0, import_react36.forwardRef)((props, ref) => {
5448
5456
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
5449
5457
  ["--dds-card-accordion-body-content-padding"]: padding != null ? padding : "var(--dds-spacing-x1) calc(var(--dds-spacing-x2) + var(--dds-spacing-x0-75)) var(--dds-spacing-x2) var(--dds-spacing-x1-5)"
5450
5458
  };
5451
- return /* @__PURE__ */ (0, import_jsx_runtime188.jsx)(
5459
+ return /* @__PURE__ */ (0, import_jsx_runtime189.jsx)(
5452
5460
  "div",
5453
5461
  {
5454
5462
  ...getBaseHTMLProps(
@@ -5468,7 +5476,7 @@ var CardAccordionBody = (0, import_react36.forwardRef)((props, ref) => {
5468
5476
  "aria-labelledby": headerId,
5469
5477
  "aria-hidden": !isExpanded,
5470
5478
  style: { ...htmlProps == null ? void 0 : htmlProps.style, ...styleVariables },
5471
- children: /* @__PURE__ */ (0, import_jsx_runtime188.jsx)(
5479
+ children: /* @__PURE__ */ (0, import_jsx_runtime189.jsx)(
5472
5480
  "div",
5473
5481
  {
5474
5482
  ref: bodyRef,
@@ -5492,7 +5500,7 @@ var Chip_default = {
5492
5500
  };
5493
5501
 
5494
5502
  // src/components/Chip/Chip.tsx
5495
- var import_jsx_runtime189 = require("react/jsx-runtime");
5503
+ var import_jsx_runtime190 = require("react/jsx-runtime");
5496
5504
  var Chip = (0, import_react37.forwardRef)((props, ref) => {
5497
5505
  const { text, onClose, id, className, htmlProps = {}, ...rest } = props;
5498
5506
  const { "aria-label": ariaLabel, ...restHTMLprops } = htmlProps;
@@ -5501,7 +5509,7 @@ var Chip = (0, import_react37.forwardRef)((props, ref) => {
5501
5509
  setIsOpen(false);
5502
5510
  onClose && onClose();
5503
5511
  };
5504
- return isOpen ? /* @__PURE__ */ (0, import_jsx_runtime189.jsxs)(
5512
+ return isOpen ? /* @__PURE__ */ (0, import_jsx_runtime190.jsxs)(
5505
5513
  "div",
5506
5514
  {
5507
5515
  ...getBaseHTMLProps(
@@ -5512,14 +5520,14 @@ var Chip = (0, import_react37.forwardRef)((props, ref) => {
5512
5520
  ),
5513
5521
  ref,
5514
5522
  children: [
5515
- /* @__PURE__ */ (0, import_jsx_runtime189.jsx)(
5523
+ /* @__PURE__ */ (0, import_jsx_runtime190.jsx)(
5516
5524
  TextOverflowEllipsisInner,
5517
5525
  {
5518
5526
  className: cn(typographyStyles_default["body-sans-01"]),
5519
5527
  children: text
5520
5528
  }
5521
5529
  ),
5522
- /* @__PURE__ */ (0, import_jsx_runtime189.jsx)(
5530
+ /* @__PURE__ */ (0, import_jsx_runtime190.jsx)(
5523
5531
  Button,
5524
5532
  {
5525
5533
  size: "tiny",
@@ -5537,11 +5545,11 @@ Chip.displayName = "Chip";
5537
5545
 
5538
5546
  // src/components/Chip/ChipGroup.tsx
5539
5547
  var import_react38 = require("react");
5540
- var import_jsx_runtime190 = require("react/jsx-runtime");
5548
+ var import_jsx_runtime191 = require("react/jsx-runtime");
5541
5549
  var ChipGroup = (0, import_react38.forwardRef)(
5542
5550
  ({ children, className, ...rest }, ref) => {
5543
5551
  const childrenArray = import_react38.Children.toArray(children);
5544
- return /* @__PURE__ */ (0, import_jsx_runtime190.jsx)(
5552
+ return /* @__PURE__ */ (0, import_jsx_runtime191.jsx)(
5545
5553
  "ul",
5546
5554
  {
5547
5555
  ...rest,
@@ -5551,7 +5559,7 @@ var ChipGroup = (0, import_react38.forwardRef)(
5551
5559
  utilStyles_default["remove-list-styling"]
5552
5560
  ),
5553
5561
  ref,
5554
- children: childrenArray.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime190.jsx)("li", { children: item }, `chip-${index}`))
5562
+ children: childrenArray.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime191.jsx)("li", { children: item }, `chip-${index}`))
5555
5563
  }
5556
5564
  );
5557
5565
  }
@@ -5606,7 +5614,7 @@ var DateInput_default = {
5606
5614
 
5607
5615
  // src/components/date-inputs/DatePicker/CalendarPopover.tsx
5608
5616
  var import_react39 = require("react");
5609
- var import_jsx_runtime191 = require("react/jsx-runtime");
5617
+ var import_jsx_runtime192 = require("react/jsx-runtime");
5610
5618
  var CalendarPopoverContext = (0, import_react39.createContext)({
5611
5619
  anchorRef: null,
5612
5620
  isOpen: false,
@@ -5619,13 +5627,13 @@ var CalendarPopover = ({
5619
5627
  }) => {
5620
5628
  const anchorRef = (0, import_react39.useRef)(null);
5621
5629
  useOnKeyDown("Escape", onClose);
5622
- return /* @__PURE__ */ (0, import_jsx_runtime191.jsx)(CalendarPopoverContext.Provider, { value: { anchorRef, isOpen, onClose }, children });
5630
+ return /* @__PURE__ */ (0, import_jsx_runtime192.jsx)(CalendarPopoverContext.Provider, { value: { anchorRef, isOpen, onClose }, children });
5623
5631
  };
5624
5632
  var CalendarPopoverAnchor = ({
5625
5633
  children
5626
5634
  }) => {
5627
5635
  const { anchorRef } = (0, import_react39.useContext)(CalendarPopoverContext);
5628
- return /* @__PURE__ */ (0, import_jsx_runtime191.jsx)("div", { ref: anchorRef != null ? anchorRef : void 0, children });
5636
+ return /* @__PURE__ */ (0, import_jsx_runtime192.jsx)("div", { ref: anchorRef != null ? anchorRef : void 0, children });
5629
5637
  };
5630
5638
  var CalendarPopoverContent = ({
5631
5639
  children
@@ -5642,7 +5650,7 @@ var CalendarPopoverContent = ({
5642
5650
  refs.setReference((_a = anchorRef == null ? void 0 : anchorRef.current) != null ? _a : null);
5643
5651
  }, []);
5644
5652
  if (!isOpen) return null;
5645
- return /* @__PURE__ */ (0, import_jsx_runtime191.jsx)(
5653
+ return /* @__PURE__ */ (0, import_jsx_runtime192.jsx)(
5646
5654
  "div",
5647
5655
  {
5648
5656
  ref: combinedRef,
@@ -5658,7 +5666,7 @@ var locale = "no-NO";
5658
5666
  var timezone = "Europe/Oslo";
5659
5667
 
5660
5668
  // src/components/date-inputs/DatePicker/Calendar/CalendarCell.tsx
5661
- var import_jsx_runtime192 = require("react/jsx-runtime");
5669
+ var import_jsx_runtime193 = require("react/jsx-runtime");
5662
5670
  function CalendarCell({ date, state }) {
5663
5671
  const ref = (0, import_react40.useRef)(null);
5664
5672
  const {
@@ -5671,7 +5679,7 @@ function CalendarCell({ date, state }) {
5671
5679
  isUnavailable
5672
5680
  } = (0, import_calendar.useCalendarCell)({ date }, state, ref);
5673
5681
  if (isDisabled) {
5674
- return /* @__PURE__ */ (0, import_jsx_runtime192.jsx)("td", { ...cellProps });
5682
+ return /* @__PURE__ */ (0, import_jsx_runtime193.jsx)("td", { ...cellProps });
5675
5683
  }
5676
5684
  const { onClose } = (0, import_react40.useContext)(CalendarPopoverContext);
5677
5685
  const variant = isSelected ? "selected" : isUnavailable || isDisabled ? "unavailable" : "default";
@@ -5680,7 +5688,7 @@ function CalendarCell({ date, state }) {
5680
5688
  onClose();
5681
5689
  }
5682
5690
  };
5683
- return /* @__PURE__ */ (0, import_jsx_runtime192.jsx)("td", { ...cellProps, children: /* @__PURE__ */ (0, import_jsx_runtime192.jsx)(
5691
+ return /* @__PURE__ */ (0, import_jsx_runtime193.jsx)("td", { ...cellProps, children: /* @__PURE__ */ (0, import_jsx_runtime193.jsx)(
5684
5692
  "button",
5685
5693
  {
5686
5694
  ...buttonProps,
@@ -5737,7 +5745,7 @@ function isLeapYear(date) {
5737
5745
  }
5738
5746
 
5739
5747
  // src/components/date-inputs/DatePicker/Calendar/CalendarGrid.tsx
5740
- var import_jsx_runtime193 = require("react/jsx-runtime");
5748
+ var import_jsx_runtime194 = require("react/jsx-runtime");
5741
5749
  function CalendarGrid({ state, ...props }) {
5742
5750
  const { locale: locale2 } = (0, import_i18n.useLocale)();
5743
5751
  const {
@@ -5750,7 +5758,7 @@ function CalendarGrid({ state, ...props }) {
5750
5758
  typographyStyles_default["supporting-style-tiny-02"],
5751
5759
  typographyStyles_default["text-color--subtle"]
5752
5760
  ];
5753
- return /* @__PURE__ */ (0, import_jsx_runtime193.jsxs)(
5761
+ return /* @__PURE__ */ (0, import_jsx_runtime194.jsxs)(
5754
5762
  "table",
5755
5763
  {
5756
5764
  ...gridProps,
@@ -5762,16 +5770,16 @@ function CalendarGrid({ state, ...props }) {
5762
5770
  },
5763
5771
  cellPadding: "0",
5764
5772
  children: [
5765
- /* @__PURE__ */ (0, import_jsx_runtime193.jsx)("thead", { ...headerProps, children: /* @__PURE__ */ (0, import_jsx_runtime193.jsxs)("tr", { children: [
5766
- /* @__PURE__ */ (0, import_jsx_runtime193.jsx)("th", { className: cn(...typographyCn), children: "#" }),
5767
- weekDays.map((day, index) => /* @__PURE__ */ (0, import_jsx_runtime193.jsx)("th", { className: cn(...typographyCn), children: day }, index))
5773
+ /* @__PURE__ */ (0, import_jsx_runtime194.jsx)("thead", { ...headerProps, children: /* @__PURE__ */ (0, import_jsx_runtime194.jsxs)("tr", { children: [
5774
+ /* @__PURE__ */ (0, import_jsx_runtime194.jsx)("th", { className: cn(...typographyCn), children: "#" }),
5775
+ weekDays.map((day, index) => /* @__PURE__ */ (0, import_jsx_runtime194.jsx)("th", { className: cn(...typographyCn), children: day }, index))
5768
5776
  ] }) }),
5769
- /* @__PURE__ */ (0, import_jsx_runtime193.jsx)("tbody", { children: [...new Array(weeksInMonth).keys()].map((weekIndex) => {
5777
+ /* @__PURE__ */ (0, import_jsx_runtime194.jsx)("tbody", { children: [...new Array(weeksInMonth).keys()].map((weekIndex) => {
5770
5778
  const datesInWeek = state.getDatesInWeek(weekIndex);
5771
5779
  const firstExistingDay = datesInWeek.find(Boolean);
5772
5780
  const weekNumber = firstExistingDay ? getWeekNumber(firstExistingDay) : "";
5773
- return /* @__PURE__ */ (0, import_jsx_runtime193.jsxs)("tr", { children: [
5774
- /* @__PURE__ */ (0, import_jsx_runtime193.jsx)(
5781
+ return /* @__PURE__ */ (0, import_jsx_runtime194.jsxs)("tr", { children: [
5782
+ /* @__PURE__ */ (0, import_jsx_runtime194.jsx)(
5775
5783
  "td",
5776
5784
  {
5777
5785
  className: cn(DateInput_default["calendar__week-number"], ...typographyCn),
@@ -5779,7 +5787,7 @@ function CalendarGrid({ state, ...props }) {
5779
5787
  }
5780
5788
  ),
5781
5789
  datesInWeek.map(
5782
- (date, i2) => date ? /* @__PURE__ */ (0, import_jsx_runtime193.jsx)(CalendarCell, { state, date }, i2) : /* @__PURE__ */ (0, import_jsx_runtime193.jsx)("td", {}, i2)
5790
+ (date, i2) => date ? /* @__PURE__ */ (0, import_jsx_runtime194.jsx)(CalendarCell, { state, date }, i2) : /* @__PURE__ */ (0, import_jsx_runtime194.jsx)("td", {}, i2)
5783
5791
  )
5784
5792
  ] }, weekIndex);
5785
5793
  }) })
@@ -5790,7 +5798,7 @@ function CalendarGrid({ state, ...props }) {
5790
5798
  CalendarGrid.displayName = "CalendarGrid";
5791
5799
 
5792
5800
  // src/components/date-inputs/DatePicker/Calendar/Calendar.tsx
5793
- var import_jsx_runtime194 = require("react/jsx-runtime");
5801
+ var import_jsx_runtime195 = require("react/jsx-runtime");
5794
5802
  function createCalendar(identifier2) {
5795
5803
  switch (identifier2) {
5796
5804
  case "gregory":
@@ -5818,9 +5826,9 @@ function Calendar(props) {
5818
5826
  onClose();
5819
5827
  }
5820
5828
  };
5821
- return /* @__PURE__ */ (0, import_jsx_runtime194.jsxs)("div", { ...calendarProps, className: DateInput_default.calendar, children: [
5822
- /* @__PURE__ */ (0, import_jsx_runtime194.jsxs)("div", { className: DateInput_default.calendar__header, children: [
5823
- /* @__PURE__ */ (0, import_jsx_runtime194.jsx)(
5829
+ return /* @__PURE__ */ (0, import_jsx_runtime195.jsxs)("div", { ...calendarProps, className: DateInput_default.calendar, children: [
5830
+ /* @__PURE__ */ (0, import_jsx_runtime195.jsxs)("div", { className: DateInput_default.calendar__header, children: [
5831
+ /* @__PURE__ */ (0, import_jsx_runtime195.jsx)(
5824
5832
  Button,
5825
5833
  {
5826
5834
  type: "button",
@@ -5833,7 +5841,7 @@ function Calendar(props) {
5833
5841
  className: DateInput_default["calendar__month-button"]
5834
5842
  }
5835
5843
  ),
5836
- /* @__PURE__ */ (0, import_jsx_runtime194.jsx)(
5844
+ /* @__PURE__ */ (0, import_jsx_runtime195.jsx)(
5837
5845
  Heading,
5838
5846
  {
5839
5847
  level: 2,
@@ -5842,7 +5850,7 @@ function Calendar(props) {
5842
5850
  children: title
5843
5851
  }
5844
5852
  ),
5845
- /* @__PURE__ */ (0, import_jsx_runtime194.jsx)(
5853
+ /* @__PURE__ */ (0, import_jsx_runtime195.jsx)(
5846
5854
  Button,
5847
5855
  {
5848
5856
  type: "button",
@@ -5855,7 +5863,7 @@ function Calendar(props) {
5855
5863
  }
5856
5864
  )
5857
5865
  ] }),
5858
- /* @__PURE__ */ (0, import_jsx_runtime194.jsx)(CalendarGrid, { state })
5866
+ /* @__PURE__ */ (0, import_jsx_runtime195.jsx)(CalendarGrid, { state })
5859
5867
  ] });
5860
5868
  }
5861
5869
  Calendar.displayName = "Calendar";
@@ -5876,7 +5884,7 @@ var import_react46 = require("react");
5876
5884
  // src/components/date-inputs/DatePicker/DateField/CalendarButton.tsx
5877
5885
  var import_button = require("@react-aria/button");
5878
5886
  var import_react42 = require("react");
5879
- var import_jsx_runtime195 = require("react/jsx-runtime");
5887
+ var import_jsx_runtime196 = require("react/jsx-runtime");
5880
5888
  function CalendarButton({
5881
5889
  componentSize,
5882
5890
  ...props
@@ -5884,7 +5892,7 @@ function CalendarButton({
5884
5892
  const ref = (0, import_react42.useRef)(null);
5885
5893
  const { buttonProps } = (0, import_button.useButton)(props, ref);
5886
5894
  const size2 = componentSize === "tiny" ? "small" : "medium";
5887
- return /* @__PURE__ */ (0, import_jsx_runtime195.jsx)(
5895
+ return /* @__PURE__ */ (0, import_jsx_runtime196.jsx)(
5888
5896
  "button",
5889
5897
  {
5890
5898
  ...buttonProps,
@@ -5904,7 +5912,7 @@ function CalendarButton({
5904
5912
  !props.isDisabled && focusable,
5905
5913
  props.isDisabled && "disabled"
5906
5914
  ),
5907
- children: /* @__PURE__ */ (0, import_jsx_runtime195.jsx)(Icon, { icon: CalendarIcon, iconSize: size2 })
5915
+ children: /* @__PURE__ */ (0, import_jsx_runtime196.jsx)(Icon, { icon: CalendarIcon, iconSize: size2 })
5908
5916
  }
5909
5917
  );
5910
5918
  }
@@ -5912,7 +5920,7 @@ function CalendarButton({
5912
5920
  // src/components/date-inputs/DatePicker/DateField/DateSegment.tsx
5913
5921
  var import_datepicker = require("@react-aria/datepicker");
5914
5922
  var import_react43 = require("react");
5915
- var import_jsx_runtime196 = require("react/jsx-runtime");
5923
+ var import_jsx_runtime197 = require("react/jsx-runtime");
5916
5924
  var typographyTypes2 = {
5917
5925
  medium: "bodySans02",
5918
5926
  small: "bodySans01",
@@ -5931,7 +5939,7 @@ function DateSegment({
5931
5939
  var _a;
5932
5940
  const ref = (0, import_react43.useRef)(null);
5933
5941
  const { segmentProps } = (0, import_datepicker.useDateSegment)(segment, state, ref);
5934
- return /* @__PURE__ */ (0, import_jsx_runtime196.jsxs)(
5942
+ return /* @__PURE__ */ (0, import_jsx_runtime197.jsxs)(
5935
5943
  "div",
5936
5944
  {
5937
5945
  ...segmentProps,
@@ -5946,7 +5954,7 @@ function DateSegment({
5946
5954
  minWidth: segment.maxValue != null ? String(segment.maxValue).length + "ch" : void 0
5947
5955
  },
5948
5956
  children: [
5949
- /* @__PURE__ */ (0, import_jsx_runtime196.jsx)(
5957
+ /* @__PURE__ */ (0, import_jsx_runtime197.jsx)(
5950
5958
  "span",
5951
5959
  {
5952
5960
  "aria-hidden": "true",
@@ -5980,12 +5988,12 @@ var InputMessage_default = {
5980
5988
  };
5981
5989
 
5982
5990
  // src/components/InputMessage/InputMessage.tsx
5983
- var import_jsx_runtime197 = require("react/jsx-runtime");
5991
+ var import_jsx_runtime198 = require("react/jsx-runtime");
5984
5992
  var InputMessage = (0, import_react44.forwardRef)(
5985
5993
  (props, ref) => {
5986
5994
  const { message, messageType, id, className, htmlProps, ...rest } = props;
5987
5995
  const isError = messageType === "error";
5988
- return /* @__PURE__ */ (0, import_jsx_runtime197.jsxs)(
5996
+ return /* @__PURE__ */ (0, import_jsx_runtime198.jsxs)(
5989
5997
  "div",
5990
5998
  {
5991
5999
  ...getBaseHTMLProps(
@@ -5996,8 +6004,8 @@ var InputMessage = (0, import_react44.forwardRef)(
5996
6004
  ),
5997
6005
  ref,
5998
6006
  children: [
5999
- isError && /* @__PURE__ */ (0, import_jsx_runtime197.jsx)(Icon, { icon: ErrorIcon, iconSize: "small", className: InputMessage_default.icon }),
6000
- /* @__PURE__ */ (0, import_jsx_runtime197.jsx)(
6007
+ isError && /* @__PURE__ */ (0, import_jsx_runtime198.jsx)(Icon, { icon: ErrorIcon, iconSize: "small", className: InputMessage_default.icon }),
6008
+ /* @__PURE__ */ (0, import_jsx_runtime198.jsx)(
6001
6009
  Typography,
6002
6010
  {
6003
6011
  typographyType: isError ? "bodySans01" : "supportingStyleHelperText01",
@@ -6011,8 +6019,8 @@ var InputMessage = (0, import_react44.forwardRef)(
6011
6019
  }
6012
6020
  );
6013
6021
  InputMessage.displayName = "InputMessage";
6014
- var renderInputMessage = (tip, tipId, errorMessage, errorMessageId) => /* @__PURE__ */ (0, import_jsx_runtime197.jsxs)(import_jsx_runtime197.Fragment, { children: [
6015
- errorMessage && errorMessageId && /* @__PURE__ */ (0, import_jsx_runtime197.jsx)(
6022
+ var renderInputMessage = (tip, tipId, errorMessage, errorMessageId) => /* @__PURE__ */ (0, import_jsx_runtime198.jsxs)(import_jsx_runtime198.Fragment, { children: [
6023
+ errorMessage && errorMessageId && /* @__PURE__ */ (0, import_jsx_runtime198.jsx)(
6016
6024
  InputMessage,
6017
6025
  {
6018
6026
  message: errorMessage,
@@ -6020,11 +6028,11 @@ var renderInputMessage = (tip, tipId, errorMessage, errorMessageId) => /* @__PUR
6020
6028
  id: errorMessageId
6021
6029
  }
6022
6030
  ),
6023
- tip && tipId && !errorMessage && /* @__PURE__ */ (0, import_jsx_runtime197.jsx)(InputMessage, { message: tip, messageType: "tip", id: tipId })
6031
+ tip && tipId && !errorMessage && /* @__PURE__ */ (0, import_jsx_runtime198.jsx)(InputMessage, { message: tip, messageType: "tip", id: tipId })
6024
6032
  ] });
6025
6033
 
6026
6034
  // src/components/date-inputs/common/DateInput.tsx
6027
- var import_jsx_runtime198 = require("react/jsx-runtime");
6035
+ var import_jsx_runtime199 = require("react/jsx-runtime");
6028
6036
  function _DateInput({
6029
6037
  errorMessage,
6030
6038
  tip,
@@ -6054,14 +6062,14 @@ function _DateInput({
6054
6062
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
6055
6063
  ["--dds-date-input-width"]: width ? width : componentSize === "small" ? "148px" : componentSize === "tiny" ? "125px" : "160px"
6056
6064
  };
6057
- return /* @__PURE__ */ (0, import_jsx_runtime198.jsxs)(
6065
+ return /* @__PURE__ */ (0, import_jsx_runtime199.jsxs)(
6058
6066
  "div",
6059
6067
  {
6060
6068
  ...groupProps,
6061
6069
  className: cn(className, Input_default.container),
6062
6070
  ref: forwardedRef,
6063
6071
  children: [
6064
- hasLabel && /* @__PURE__ */ (0, import_jsx_runtime198.jsx)(
6072
+ hasLabel && /* @__PURE__ */ (0, import_jsx_runtime199.jsx)(
6065
6073
  Label,
6066
6074
  {
6067
6075
  ...labelProps,
@@ -6070,7 +6078,7 @@ function _DateInput({
6070
6078
  children: props.label
6071
6079
  }
6072
6080
  ),
6073
- /* @__PURE__ */ (0, import_jsx_runtime198.jsxs)(
6081
+ /* @__PURE__ */ (0, import_jsx_runtime199.jsxs)(
6074
6082
  "div",
6075
6083
  {
6076
6084
  ...fieldProps,
@@ -6093,11 +6101,11 @@ function _DateInput({
6093
6101
  ),
6094
6102
  children: [
6095
6103
  button3,
6096
- /* @__PURE__ */ (0, import_jsx_runtime198.jsx)("div", { className: DateInput_default["date-segment-container"], children })
6104
+ /* @__PURE__ */ (0, import_jsx_runtime199.jsx)("div", { className: DateInput_default["date-segment-container"], children })
6097
6105
  ]
6098
6106
  }
6099
6107
  ),
6100
- hasMessage && /* @__PURE__ */ (0, import_jsx_runtime198.jsx)(
6108
+ hasMessage && /* @__PURE__ */ (0, import_jsx_runtime199.jsx)(
6101
6109
  InputMessage,
6102
6110
  {
6103
6111
  messageType: hasErrorMessage ? "error" : "tip",
@@ -6112,7 +6120,7 @@ var DateInput = (0, import_react45.forwardRef)(_DateInput);
6112
6120
  DateInput.displayName = "DateInput";
6113
6121
 
6114
6122
  // src/components/date-inputs/DatePicker/DateField/DateField.tsx
6115
- var import_jsx_runtime199 = require("react/jsx-runtime");
6123
+ var import_jsx_runtime200 = require("react/jsx-runtime");
6116
6124
  function _DateField({
6117
6125
  componentSize = "medium",
6118
6126
  buttonProps,
@@ -6128,7 +6136,7 @@ function _DateField({
6128
6136
  const ref = (0, import_react46.useRef)(null);
6129
6137
  const { labelProps, fieldProps } = (0, import_datepicker2.useDateField)(props, state, ref);
6130
6138
  const disabled = props.isDisabled || !!fieldProps["aria-disabled"];
6131
- return /* @__PURE__ */ (0, import_jsx_runtime199.jsx)(
6139
+ return /* @__PURE__ */ (0, import_jsx_runtime200.jsx)(
6132
6140
  DateInput,
6133
6141
  {
6134
6142
  ...props,
@@ -6140,7 +6148,7 @@ function _DateField({
6140
6148
  ref: forwardedRef,
6141
6149
  internalRef: ref,
6142
6150
  readOnly: props.isReadOnly,
6143
- prefix: !props.isReadOnly && /* @__PURE__ */ (0, import_jsx_runtime199.jsx)(
6151
+ prefix: !props.isReadOnly && /* @__PURE__ */ (0, import_jsx_runtime200.jsx)(
6144
6152
  CalendarButton,
6145
6153
  {
6146
6154
  componentSize,
@@ -6150,7 +6158,7 @@ function _DateField({
6150
6158
  ),
6151
6159
  labelProps,
6152
6160
  fieldProps,
6153
- children: state.segments.map((segment, i2) => /* @__PURE__ */ (0, import_jsx_runtime199.jsx)(
6161
+ children: state.segments.map((segment, i2) => /* @__PURE__ */ (0, import_jsx_runtime200.jsx)(
6154
6162
  DateSegment,
6155
6163
  {
6156
6164
  componentSize,
@@ -6187,7 +6195,7 @@ function createDOMRef(ref) {
6187
6195
  }
6188
6196
 
6189
6197
  // src/components/date-inputs/DatePicker/DatePicker.tsx
6190
- var import_jsx_runtime200 = require("react/jsx-runtime");
6198
+ var import_jsx_runtime201 = require("react/jsx-runtime");
6191
6199
  var refIsFocusable = (ref) => {
6192
6200
  return typeof ref === "object" && ref !== null && "focus" in ref;
6193
6201
  };
@@ -6203,8 +6211,8 @@ function _DatePicker({ errorMessage, componentSize, tip, style, width, ...props
6203
6211
  state,
6204
6212
  ref
6205
6213
  );
6206
- return /* @__PURE__ */ (0, import_jsx_runtime200.jsx)(import_i18n4.I18nProvider, { locale, children: /* @__PURE__ */ (0, import_jsx_runtime200.jsxs)(CalendarPopover, { isOpen: state.isOpen, onClose: state.close, children: [
6207
- /* @__PURE__ */ (0, import_jsx_runtime200.jsx)(CalendarPopoverAnchor, { children: /* @__PURE__ */ (0, import_jsx_runtime200.jsx)(
6214
+ return /* @__PURE__ */ (0, import_jsx_runtime201.jsx)(import_i18n4.I18nProvider, { locale, children: /* @__PURE__ */ (0, import_jsx_runtime201.jsxs)(CalendarPopover, { isOpen: state.isOpen, onClose: state.close, children: [
6215
+ /* @__PURE__ */ (0, import_jsx_runtime201.jsx)(CalendarPopoverAnchor, { children: /* @__PURE__ */ (0, import_jsx_runtime201.jsx)(
6208
6216
  DateField,
6209
6217
  {
6210
6218
  ...fieldProps,
@@ -6220,7 +6228,7 @@ function _DatePicker({ errorMessage, componentSize, tip, style, width, ...props
6220
6228
  width
6221
6229
  }
6222
6230
  ) }),
6223
- /* @__PURE__ */ (0, import_jsx_runtime200.jsx)(CalendarPopoverContent, { children: /* @__PURE__ */ (0, import_jsx_runtime200.jsx)(Calendar, { ...calendarProps }) })
6231
+ /* @__PURE__ */ (0, import_jsx_runtime201.jsx)(CalendarPopoverContent, { children: /* @__PURE__ */ (0, import_jsx_runtime201.jsx)(Calendar, { ...calendarProps }) })
6224
6232
  ] }) });
6225
6233
  }
6226
6234
  var DatePicker = (0, import_react48.forwardRef)(_DatePicker);
@@ -6230,7 +6238,7 @@ DatePicker.displayName = "DatePicker";
6230
6238
  var import_datepicker6 = require("@react-aria/datepicker");
6231
6239
  var import_datepicker7 = require("@react-stately/datepicker");
6232
6240
  var import_react49 = require("react");
6233
- var import_jsx_runtime201 = require("react/jsx-runtime");
6241
+ var import_jsx_runtime202 = require("react/jsx-runtime");
6234
6242
  function _TimePicker({ componentSize = "medium", width, ...props }, forwardedRef) {
6235
6243
  const ref = (0, import_react49.useRef)(null);
6236
6244
  const state = (0, import_datepicker7.useTimeFieldState)({
@@ -6244,7 +6252,7 @@ function _TimePicker({ componentSize = "medium", width, ...props }, forwardedRef
6244
6252
  );
6245
6253
  const iconSize = componentSize === "tiny" ? "small" : "medium";
6246
6254
  const disabled = props.isDisabled || !!fieldProps["aria-disabled"];
6247
- return /* @__PURE__ */ (0, import_jsx_runtime201.jsx)(
6255
+ return /* @__PURE__ */ (0, import_jsx_runtime202.jsx)(
6248
6256
  DateInput,
6249
6257
  {
6250
6258
  ...props,
@@ -6257,17 +6265,17 @@ function _TimePicker({ componentSize = "medium", width, ...props }, forwardedRef
6257
6265
  readOnly: props.isReadOnly,
6258
6266
  labelProps,
6259
6267
  fieldProps,
6260
- prefix: !props.isReadOnly && /* @__PURE__ */ (0, import_jsx_runtime201.jsx)(
6268
+ prefix: !props.isReadOnly && /* @__PURE__ */ (0, import_jsx_runtime202.jsx)(
6261
6269
  "span",
6262
6270
  {
6263
6271
  className: cn(
6264
6272
  DateInput_default["icon-wrapper"],
6265
6273
  DateInput_default[`icon-wrapper--${iconSize}`]
6266
6274
  ),
6267
- children: /* @__PURE__ */ (0, import_jsx_runtime201.jsx)(Icon, { icon: TimeIcon, iconSize })
6275
+ children: /* @__PURE__ */ (0, import_jsx_runtime202.jsx)(Icon, { icon: TimeIcon, iconSize })
6268
6276
  }
6269
6277
  ),
6270
- children: state.segments.map((segment, i2) => /* @__PURE__ */ (0, import_jsx_runtime201.jsx)(
6278
+ children: state.segments.map((segment, i2) => /* @__PURE__ */ (0, import_jsx_runtime202.jsx)(
6271
6279
  DateSegment,
6272
6280
  {
6273
6281
  componentSize,
@@ -6326,7 +6334,7 @@ var DescriptionList_default = {
6326
6334
  };
6327
6335
 
6328
6336
  // src/components/DescriptionList/DescriptionList.tsx
6329
- var import_jsx_runtime202 = require("react/jsx-runtime");
6337
+ var import_jsx_runtime203 = require("react/jsx-runtime");
6330
6338
  var DescriptionList = (0, import_react50.forwardRef)((props, ref) => {
6331
6339
  const {
6332
6340
  appearance = "default",
@@ -6337,7 +6345,7 @@ var DescriptionList = (0, import_react50.forwardRef)((props, ref) => {
6337
6345
  htmlProps,
6338
6346
  ...rest
6339
6347
  } = props;
6340
- return /* @__PURE__ */ (0, import_jsx_runtime202.jsx)(
6348
+ return /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(
6341
6349
  "dl",
6342
6350
  {
6343
6351
  ref,
@@ -6360,24 +6368,24 @@ DescriptionList.displayName = "DescriptionList";
6360
6368
 
6361
6369
  // src/components/DescriptionList/DescriptionListTerm.tsx
6362
6370
  var import_react51 = require("react");
6363
- var import_jsx_runtime203 = require("react/jsx-runtime");
6371
+ var import_jsx_runtime204 = require("react/jsx-runtime");
6364
6372
  var DescriptionListTerm = (0, import_react51.forwardRef)(({ ...rest }, ref) => {
6365
- return /* @__PURE__ */ (0, import_jsx_runtime203.jsx)("dt", { ref, ...rest });
6373
+ return /* @__PURE__ */ (0, import_jsx_runtime204.jsx)("dt", { ref, ...rest });
6366
6374
  });
6367
6375
  DescriptionListTerm.displayName = "DescriptionListTerm";
6368
6376
 
6369
6377
  // src/components/DescriptionList/DescriptionListDesc.tsx
6370
6378
  var import_react52 = require("react");
6371
- var import_jsx_runtime204 = require("react/jsx-runtime");
6379
+ var import_jsx_runtime205 = require("react/jsx-runtime");
6372
6380
  var DescriptionListDesc = (0, import_react52.forwardRef)((props, ref) => {
6373
6381
  const { children, icon: icon2, id, className, htmlProps, ...rest } = props;
6374
- return /* @__PURE__ */ (0, import_jsx_runtime204.jsxs)(
6382
+ return /* @__PURE__ */ (0, import_jsx_runtime205.jsxs)(
6375
6383
  "dd",
6376
6384
  {
6377
6385
  ref,
6378
6386
  ...getBaseHTMLProps(id, cn(className, DescriptionList_default.desc), htmlProps, rest),
6379
6387
  children: [
6380
- icon2 && /* @__PURE__ */ (0, import_jsx_runtime204.jsx)(Icon, { icon: icon2 }),
6388
+ icon2 && /* @__PURE__ */ (0, import_jsx_runtime205.jsx)(Icon, { icon: icon2 }),
6381
6389
  " ",
6382
6390
  children
6383
6391
  ]
@@ -6388,7 +6396,7 @@ DescriptionListDesc.displayName = "DescriptionListDesc";
6388
6396
 
6389
6397
  // src/components/DescriptionList/DescriptionListGroup.tsx
6390
6398
  var import_react53 = require("react");
6391
- var import_jsx_runtime205 = require("react/jsx-runtime");
6399
+ var import_jsx_runtime206 = require("react/jsx-runtime");
6392
6400
  var DescriptionListGroup = (0, import_react53.forwardRef)((props, ref) => {
6393
6401
  const {
6394
6402
  children,
@@ -6400,7 +6408,7 @@ var DescriptionListGroup = (0, import_react53.forwardRef)((props, ref) => {
6400
6408
  htmlProps,
6401
6409
  ...rest
6402
6410
  } = props;
6403
- return /* @__PURE__ */ (0, import_jsx_runtime205.jsx)(
6411
+ return /* @__PURE__ */ (0, import_jsx_runtime206.jsx)(
6404
6412
  "div",
6405
6413
  {
6406
6414
  ref,
@@ -6433,7 +6441,7 @@ var Drawer_default = {
6433
6441
  };
6434
6442
 
6435
6443
  // src/components/Drawer/Drawer.tsx
6436
- var import_jsx_runtime206 = require("react/jsx-runtime");
6444
+ var import_jsx_runtime207 = require("react/jsx-runtime");
6437
6445
  var Drawer = (0, import_react54.forwardRef)((props, ref) => {
6438
6446
  const {
6439
6447
  children,
@@ -6495,8 +6503,8 @@ var Drawer = (0, import_react54.forwardRef)((props, ref) => {
6495
6503
  style: { ...htmlProps == null ? void 0 : htmlProps.style, ...widthProps }
6496
6504
  };
6497
6505
  return isOpen || hasTransitionedIn ? (0, import_react_dom2.createPortal)(
6498
- /* @__PURE__ */ (0, import_jsx_runtime206.jsxs)(Paper, { ...containerProps, elevation: 4, children: [
6499
- /* @__PURE__ */ (0, import_jsx_runtime206.jsxs)(
6506
+ /* @__PURE__ */ (0, import_jsx_runtime207.jsxs)(Paper, { ...containerProps, elevation: 4, children: [
6507
+ /* @__PURE__ */ (0, import_jsx_runtime207.jsxs)(
6500
6508
  "div",
6501
6509
  {
6502
6510
  className: cn(
@@ -6505,12 +6513,12 @@ var Drawer = (0, import_react54.forwardRef)((props, ref) => {
6505
6513
  utilStyles_default["scrollable-y"]
6506
6514
  ),
6507
6515
  children: [
6508
- hasHeader && /* @__PURE__ */ (0, import_jsx_runtime206.jsx)("div", { id: headerId, children: typeof header === "string" ? /* @__PURE__ */ (0, import_jsx_runtime206.jsx)(Typography, { typographyType: "headingSans03", children: header }) : header }),
6516
+ hasHeader && /* @__PURE__ */ (0, import_jsx_runtime207.jsx)("div", { id: headerId, children: typeof header === "string" ? /* @__PURE__ */ (0, import_jsx_runtime207.jsx)(Typography, { typographyType: "headingSans03", children: header }) : header }),
6509
6517
  children
6510
6518
  ]
6511
6519
  }
6512
6520
  ),
6513
- /* @__PURE__ */ (0, import_jsx_runtime206.jsx)(
6521
+ /* @__PURE__ */ (0, import_jsx_runtime207.jsx)(
6514
6522
  Button,
6515
6523
  {
6516
6524
  className: cn(Drawer_default["button--close"]),
@@ -6530,7 +6538,7 @@ Drawer.displayName = "Drawer";
6530
6538
 
6531
6539
  // src/components/Drawer/DrawerGroup.tsx
6532
6540
  var import_react55 = require("react");
6533
- var import_jsx_runtime207 = require("react/jsx-runtime");
6541
+ var import_jsx_runtime208 = require("react/jsx-runtime");
6534
6542
  var DrawerGroup = ({
6535
6543
  children,
6536
6544
  drawerId,
@@ -6565,7 +6573,7 @@ var DrawerGroup = ({
6565
6573
  onClose: handleClose
6566
6574
  }));
6567
6575
  });
6568
- return /* @__PURE__ */ (0, import_jsx_runtime207.jsxs)(import_jsx_runtime207.Fragment, { children: [
6576
+ return /* @__PURE__ */ (0, import_jsx_runtime208.jsxs)(import_jsx_runtime208.Fragment, { children: [
6569
6577
  " ",
6570
6578
  Children8,
6571
6579
  " "
@@ -6581,7 +6589,7 @@ var EmptyContent_default = {
6581
6589
  };
6582
6590
 
6583
6591
  // src/components/EmptyContent/EmptyContent.tsx
6584
- var import_jsx_runtime208 = require("react/jsx-runtime");
6592
+ var import_jsx_runtime209 = require("react/jsx-runtime");
6585
6593
  function EmptyContent({
6586
6594
  title,
6587
6595
  message,
@@ -6589,9 +6597,9 @@ function EmptyContent({
6589
6597
  className,
6590
6598
  ...rest
6591
6599
  }) {
6592
- return /* @__PURE__ */ (0, import_jsx_runtime208.jsx)("div", { ...rest, className: cn(className, EmptyContent_default.containter), children: /* @__PURE__ */ (0, import_jsx_runtime208.jsxs)("div", { className: EmptyContent_default.text, children: [
6593
- title && /* @__PURE__ */ (0, import_jsx_runtime208.jsx)(Heading, { level: titleHeadingLevel, typographyType: "headingSans02", children: title }),
6594
- /* @__PURE__ */ (0, import_jsx_runtime208.jsx)(Paragraph, { className: EmptyContent_default.message, children: message })
6600
+ return /* @__PURE__ */ (0, import_jsx_runtime209.jsx)("div", { ...rest, className: cn(className, EmptyContent_default.containter), children: /* @__PURE__ */ (0, import_jsx_runtime209.jsxs)("div", { className: EmptyContent_default.text, children: [
6601
+ title && /* @__PURE__ */ (0, import_jsx_runtime209.jsx)(Heading, { level: titleHeadingLevel, typographyType: "headingSans02", children: title }),
6602
+ /* @__PURE__ */ (0, import_jsx_runtime209.jsx)(Paragraph, { className: EmptyContent_default.message, children: message })
6595
6603
  ] }) });
6596
6604
  }
6597
6605
  EmptyContent.displayName = "EmptyContent";
@@ -6646,7 +6654,7 @@ function useControllableState(props) {
6646
6654
  }
6647
6655
 
6648
6656
  // src/components/FavStar/FavStar.tsx
6649
- var import_jsx_runtime209 = require("react/jsx-runtime");
6657
+ var import_jsx_runtime210 = require("react/jsx-runtime");
6650
6658
  var FavStar = (0, import_react58.forwardRef)(
6651
6659
  ({
6652
6660
  id,
@@ -6671,7 +6679,7 @@ var FavStar = (0, import_react58.forwardRef)(
6671
6679
  defaultValue: defaultChecked != null ? defaultChecked : false,
6672
6680
  onChange
6673
6681
  });
6674
- return /* @__PURE__ */ (0, import_jsx_runtime209.jsxs)(
6682
+ return /* @__PURE__ */ (0, import_jsx_runtime210.jsxs)(
6675
6683
  "label",
6676
6684
  {
6677
6685
  className: cn(
@@ -6683,7 +6691,7 @@ var FavStar = (0, import_react58.forwardRef)(
6683
6691
  style,
6684
6692
  htmlFor: id != null ? id : generatedId,
6685
6693
  children: [
6686
- /* @__PURE__ */ (0, import_jsx_runtime209.jsx)(
6694
+ /* @__PURE__ */ (0, import_jsx_runtime210.jsx)(
6687
6695
  "input",
6688
6696
  {
6689
6697
  ...props,
@@ -6696,8 +6704,8 @@ var FavStar = (0, import_react58.forwardRef)(
6696
6704
  className: utilStyles_default["hide-input"]
6697
6705
  }
6698
6706
  ),
6699
- /* @__PURE__ */ (0, import_jsx_runtime209.jsx)(Icon, { iconSize: size2, icon: StarIcon, className: FavStar_default.icon }),
6700
- /* @__PURE__ */ (0, import_jsx_runtime209.jsx)(
6707
+ /* @__PURE__ */ (0, import_jsx_runtime210.jsx)(Icon, { iconSize: size2, icon: StarIcon, className: FavStar_default.icon }),
6708
+ /* @__PURE__ */ (0, import_jsx_runtime210.jsx)(
6701
6709
  Icon,
6702
6710
  {
6703
6711
  iconSize: size2,
@@ -6763,7 +6771,7 @@ var Stack_default = {
6763
6771
  };
6764
6772
 
6765
6773
  // src/components/Stack/Stack.tsx
6766
- var import_jsx_runtime210 = require("react/jsx-runtime");
6774
+ var import_jsx_runtime211 = require("react/jsx-runtime");
6767
6775
  var HStack = (0, import_react59.forwardRef)(
6768
6776
  ({
6769
6777
  id,
@@ -6781,7 +6789,7 @@ var HStack = (0, import_react59.forwardRef)(
6781
6789
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
6782
6790
  ["--dds-stack-justify-content"]: justify
6783
6791
  };
6784
- return /* @__PURE__ */ (0, import_jsx_runtime210.jsx)(
6792
+ return /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(
6785
6793
  "div",
6786
6794
  {
6787
6795
  ref,
@@ -6820,7 +6828,7 @@ var VStack = (0, import_react59.forwardRef)(
6820
6828
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
6821
6829
  ["--dds-stack-justify-content"]: justify
6822
6830
  };
6823
- return /* @__PURE__ */ (0, import_jsx_runtime210.jsx)(
6831
+ return /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(
6824
6832
  "div",
6825
6833
  {
6826
6834
  ref,
@@ -6855,7 +6863,7 @@ var TextArea_default = {
6855
6863
  };
6856
6864
 
6857
6865
  // src/components/TextArea/TextArea.tsx
6858
- var import_jsx_runtime211 = require("react/jsx-runtime");
6866
+ var import_jsx_runtime212 = require("react/jsx-runtime");
6859
6867
  var TextArea = (0, import_react60.forwardRef)(
6860
6868
  (props, ref) => {
6861
6869
  const {
@@ -6920,13 +6928,13 @@ var TextArea = (0, import_react60.forwardRef)(
6920
6928
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
6921
6929
  ["--dds-text-area-width"]: width != null ? width : "var(--dds-input-default-width)"
6922
6930
  };
6923
- return /* @__PURE__ */ (0, import_jsx_runtime211.jsxs)(
6931
+ return /* @__PURE__ */ (0, import_jsx_runtime212.jsxs)(
6924
6932
  "div",
6925
6933
  {
6926
6934
  className: cn(className, Input_default.container),
6927
6935
  style: { ...style },
6928
6936
  children: [
6929
- hasLabel && /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(
6937
+ hasLabel && /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(
6930
6938
  Label,
6931
6939
  {
6932
6940
  showRequiredStyling,
@@ -6935,7 +6943,7 @@ var TextArea = (0, import_react60.forwardRef)(
6935
6943
  children: label
6936
6944
  }
6937
6945
  ),
6938
- /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(
6946
+ /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(
6939
6947
  "textarea",
6940
6948
  {
6941
6949
  ...textAreaProps,
@@ -6959,7 +6967,7 @@ var TextArea = (0, import_react60.forwardRef)(
6959
6967
  TextArea.displayName = "TextArea";
6960
6968
 
6961
6969
  // src/components/Feedback/CommentComponent.tsx
6962
- var import_jsx_runtime212 = require("react/jsx-runtime");
6970
+ var import_jsx_runtime213 = require("react/jsx-runtime");
6963
6971
  var CommentComponent = ({
6964
6972
  rating,
6965
6973
  feedbackText,
@@ -6971,21 +6979,21 @@ var CommentComponent = ({
6971
6979
  handleSubmit,
6972
6980
  handleFeedbackTextChange
6973
6981
  }) => {
6974
- return /* @__PURE__ */ (0, import_jsx_runtime212.jsxs)(VStack, { gap: "x1", align: "flex-start", children: [
6975
- /* @__PURE__ */ (0, import_jsx_runtime212.jsxs)("span", { className: Feedback_default["rating-submitted-title"], children: [
6976
- /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(
6982
+ return /* @__PURE__ */ (0, import_jsx_runtime213.jsxs)(VStack, { gap: "x1", align: "flex-start", children: [
6983
+ /* @__PURE__ */ (0, import_jsx_runtime213.jsxs)("span", { className: Feedback_default["rating-submitted-title"], children: [
6984
+ /* @__PURE__ */ (0, import_jsx_runtime213.jsx)(
6977
6985
  Icon,
6978
6986
  {
6979
6987
  icon: rating === "positive" ? ThumbUpFilledIcon : ThumbDownFilledIcon,
6980
6988
  color: "iconActionResting"
6981
6989
  }
6982
6990
  ),
6983
- /* @__PURE__ */ (0, import_jsx_runtime212.jsxs)(Paragraph, { children: [
6991
+ /* @__PURE__ */ (0, import_jsx_runtime213.jsxs)(Paragraph, { children: [
6984
6992
  ratingSubmittedTitle,
6985
6993
  " "
6986
6994
  ] })
6987
6995
  ] }),
6988
- /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(
6996
+ /* @__PURE__ */ (0, import_jsx_runtime213.jsx)(
6989
6997
  TextArea,
6990
6998
  {
6991
6999
  value: feedbackText,
@@ -6994,7 +7002,7 @@ var CommentComponent = ({
6994
7002
  tip: textAreaTip
6995
7003
  }
6996
7004
  ),
6997
- /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(
7005
+ /* @__PURE__ */ (0, import_jsx_runtime213.jsx)(
6998
7006
  Button,
6999
7007
  {
7000
7008
  purpose: "secondary",
@@ -7019,7 +7027,7 @@ var Tooltip_default = {
7019
7027
  };
7020
7028
 
7021
7029
  // src/components/Tooltip/Tooltip.tsx
7022
- var import_jsx_runtime213 = require("react/jsx-runtime");
7030
+ var import_jsx_runtime214 = require("react/jsx-runtime");
7023
7031
  var Tooltip = (0, import_react61.forwardRef)(
7024
7032
  (props, ref) => {
7025
7033
  const {
@@ -7117,9 +7125,9 @@ var Tooltip = (0, import_react61.forwardRef)(
7117
7125
  style: { ...positionStyles.floating }
7118
7126
  };
7119
7127
  const openCn = open && inView ? "open" : "closed";
7120
- return /* @__PURE__ */ (0, import_jsx_runtime213.jsxs)("div", { ...containerProps, children: [
7128
+ return /* @__PURE__ */ (0, import_jsx_runtime214.jsxs)("div", { ...containerProps, children: [
7121
7129
  anchorElement,
7122
- /* @__PURE__ */ (0, import_jsx_runtime213.jsxs)(
7130
+ /* @__PURE__ */ (0, import_jsx_runtime214.jsxs)(
7123
7131
  Paper,
7124
7132
  {
7125
7133
  ...wrapperProps,
@@ -7133,15 +7141,15 @@ var Tooltip = (0, import_react61.forwardRef)(
7133
7141
  ),
7134
7142
  children: [
7135
7143
  text,
7136
- /* @__PURE__ */ (0, import_jsx_runtime213.jsx)("div", { ref: setArrowElement, style: positionStyles.arrow, children: /* @__PURE__ */ (0, import_jsx_runtime213.jsxs)("svg", { width: "36", height: "9", children: [
7137
- /* @__PURE__ */ (0, import_jsx_runtime213.jsx)(
7144
+ /* @__PURE__ */ (0, import_jsx_runtime214.jsx)("div", { ref: setArrowElement, style: positionStyles.arrow, children: /* @__PURE__ */ (0, import_jsx_runtime214.jsxs)("svg", { width: "36", height: "9", children: [
7145
+ /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(
7138
7146
  "path",
7139
7147
  {
7140
7148
  d: "M16.586 6.586L10 0h16.154a.373.373 0 00-.263.11l-6.477 6.476a2 2 0 01-2.828 0z",
7141
7149
  className: Tooltip_default["svg-arrow__background"]
7142
7150
  }
7143
7151
  ),
7144
- /* @__PURE__ */ (0, import_jsx_runtime213.jsx)(
7152
+ /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(
7145
7153
  "path",
7146
7154
  {
7147
7155
  fillRule: "evenodd",
@@ -7160,7 +7168,7 @@ var Tooltip = (0, import_react61.forwardRef)(
7160
7168
  Tooltip.displayName = "Tooltip";
7161
7169
 
7162
7170
  // src/components/Feedback/RatingComponent.tsx
7163
- var import_jsx_runtime214 = require("react/jsx-runtime");
7171
+ var import_jsx_runtime215 = require("react/jsx-runtime");
7164
7172
  var RatingComponent = ({
7165
7173
  layout,
7166
7174
  ratingLabel,
@@ -7170,7 +7178,7 @@ var RatingComponent = ({
7170
7178
  handleRatingChange
7171
7179
  }) => {
7172
7180
  const layoutCn = layout === "vertical" ? "column" : "row";
7173
- const button3 = (purpose, layout2) => /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(
7181
+ const button3 = (purpose, layout2) => /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(
7174
7182
  "button",
7175
7183
  {
7176
7184
  "aria-label": purpose === "up" ? thumbUpTooltip : thumbDownTooltip,
@@ -7181,7 +7189,7 @@ var RatingComponent = ({
7181
7189
  Feedback_default[`button--${layout2}`],
7182
7190
  focusable
7183
7191
  ),
7184
- children: /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(
7192
+ children: /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(
7185
7193
  Icon,
7186
7194
  {
7187
7195
  icon: purpose === "up" ? ThumbUpIcon : ThumbDownIcon,
@@ -7190,7 +7198,7 @@ var RatingComponent = ({
7190
7198
  )
7191
7199
  }
7192
7200
  );
7193
- return /* @__PURE__ */ (0, import_jsx_runtime214.jsxs)(
7201
+ return /* @__PURE__ */ (0, import_jsx_runtime215.jsxs)(
7194
7202
  "div",
7195
7203
  {
7196
7204
  className: cn(
@@ -7198,10 +7206,10 @@ var RatingComponent = ({
7198
7206
  Feedback_default[`rating-container--${layoutCn}`]
7199
7207
  ),
7200
7208
  children: [
7201
- /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(Label, { children: ratingLabel }),
7202
- loading ? /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(Spinner, { tooltip: "Laster opp tilbakemelding ..." }) : /* @__PURE__ */ (0, import_jsx_runtime214.jsxs)(HStack, { gap: "x1", children: [
7203
- /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(Tooltip, { text: thumbUpTooltip, children: button3("up", layout) }),
7204
- /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(Tooltip, { text: thumbDownTooltip, children: /* @__PURE__ */ (0, import_jsx_runtime214.jsx)("div", { children: button3("down", layout) }) })
7209
+ /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(Label, { children: ratingLabel }),
7210
+ loading ? /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(Spinner, { tooltip: "Laster opp tilbakemelding ..." }) : /* @__PURE__ */ (0, import_jsx_runtime215.jsxs)(HStack, { gap: "x1", children: [
7211
+ /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(Tooltip, { text: thumbUpTooltip, children: button3("up", layout) }),
7212
+ /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(Tooltip, { text: thumbDownTooltip, children: /* @__PURE__ */ (0, import_jsx_runtime215.jsx)("div", { children: button3("down", layout) }) })
7205
7213
  ] })
7206
7214
  ]
7207
7215
  }
@@ -7209,7 +7217,7 @@ var RatingComponent = ({
7209
7217
  };
7210
7218
 
7211
7219
  // src/components/Feedback/Feedback.tsx
7212
- var import_jsx_runtime215 = require("react/jsx-runtime");
7220
+ var import_jsx_runtime216 = require("react/jsx-runtime");
7213
7221
  var Feedback = ({
7214
7222
  layout = "vertical",
7215
7223
  ratingLabel = "Hva syns du om tjenesten?",
@@ -7255,7 +7263,7 @@ var Feedback = ({
7255
7263
  isSubmittedProp === void 0 && setIsFeedbackSubmitted(true);
7256
7264
  };
7257
7265
  if (rating === null && !isFeedbackSubmitted) {
7258
- return /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(
7266
+ return /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(
7259
7267
  RatingComponent,
7260
7268
  {
7261
7269
  layout,
@@ -7268,7 +7276,7 @@ var Feedback = ({
7268
7276
  );
7269
7277
  }
7270
7278
  if (!feedbackTextAreaExcluded && !isFeedbackSubmitted) {
7271
- return /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(
7279
+ return /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(
7272
7280
  CommentComponent,
7273
7281
  {
7274
7282
  rating,
@@ -7283,7 +7291,7 @@ var Feedback = ({
7283
7291
  }
7284
7292
  );
7285
7293
  }
7286
- return /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(Paragraph, { children: submittedTitle });
7294
+ return /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(Paragraph, { children: submittedTitle });
7287
7295
  };
7288
7296
 
7289
7297
  // src/components/Fieldset/Fieldset.tsx
@@ -7295,11 +7303,11 @@ var Fieldset_default = {
7295
7303
  };
7296
7304
 
7297
7305
  // src/components/Fieldset/Fieldset.tsx
7298
- var import_jsx_runtime216 = require("react/jsx-runtime");
7306
+ var import_jsx_runtime217 = require("react/jsx-runtime");
7299
7307
  var Fieldset = (0, import_react63.forwardRef)(
7300
7308
  (props, ref) => {
7301
7309
  const { id, className, htmlProps, ...rest } = props;
7302
- return /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(
7310
+ return /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(
7303
7311
  "fieldset",
7304
7312
  {
7305
7313
  ref,
@@ -7318,14 +7326,14 @@ var Fieldset = (0, import_react63.forwardRef)(
7318
7326
  var import_react65 = require("react");
7319
7327
 
7320
7328
  // src/components/FileUploader/ErrorList.tsx
7321
- var import_jsx_runtime217 = require("react/jsx-runtime");
7329
+ var import_jsx_runtime218 = require("react/jsx-runtime");
7322
7330
  var ErrorList = (props) => {
7323
7331
  const { errors } = props;
7324
7332
  if (errors.length < 1) {
7325
7333
  return null;
7326
7334
  }
7327
7335
  if (errors.length === 1) {
7328
- return /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(
7336
+ return /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(
7329
7337
  InputMessage,
7330
7338
  {
7331
7339
  id: errors[0].id,
@@ -7334,8 +7342,8 @@ var ErrorList = (props) => {
7334
7342
  }
7335
7343
  );
7336
7344
  }
7337
- return /* @__PURE__ */ (0, import_jsx_runtime217.jsx)("ul", { className: utilStyles_default["remove-list-styling"], children: errors.map(({ id, message }) => {
7338
- return /* @__PURE__ */ (0, import_jsx_runtime217.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(
7345
+ return /* @__PURE__ */ (0, import_jsx_runtime218.jsx)("ul", { className: utilStyles_default["remove-list-styling"], children: errors.map(({ id, message }) => {
7346
+ return /* @__PURE__ */ (0, import_jsx_runtime218.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(
7339
7347
  InputMessage,
7340
7348
  {
7341
7349
  id,
@@ -7362,30 +7370,30 @@ var FileUploader_default = {
7362
7370
  };
7363
7371
 
7364
7372
  // src/components/FileUploader/File.tsx
7365
- var import_jsx_runtime218 = require("react/jsx-runtime");
7373
+ var import_jsx_runtime219 = require("react/jsx-runtime");
7366
7374
  var File = (props) => {
7367
7375
  const { parentId, index, file: stateFile, removeFile, isValid } = props;
7368
7376
  const errorsList = stateFile.errors.map((e, errorIndex) => ({
7369
7377
  id: derivativeIdGenerator(parentId, `file-${index}-error-${errorIndex}`),
7370
7378
  message: e
7371
7379
  }));
7372
- return /* @__PURE__ */ (0, import_jsx_runtime218.jsxs)("li", { children: [
7373
- /* @__PURE__ */ (0, import_jsx_runtime218.jsxs)("div", { className: cn(FileUploader_default.file, !isValid && FileUploader_default["file--invalid"]), children: [
7374
- /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(
7380
+ return /* @__PURE__ */ (0, import_jsx_runtime219.jsxs)("li", { children: [
7381
+ /* @__PURE__ */ (0, import_jsx_runtime219.jsxs)("div", { className: cn(FileUploader_default.file, !isValid && FileUploader_default["file--invalid"]), children: [
7382
+ /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(
7375
7383
  "span",
7376
7384
  {
7377
7385
  className: cn(FileUploader_default.file__name, typographyStyles_default["body-sans-02"]),
7378
7386
  children: stateFile.file.name
7379
7387
  }
7380
7388
  ),
7381
- /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(
7389
+ /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(
7382
7390
  Icon,
7383
7391
  {
7384
7392
  icon: isValid ? CheckCircledIcon : ErrorIcon,
7385
7393
  className: FileUploader_default[`file__icon--${isValid ? "valid" : "invalid"}`]
7386
7394
  }
7387
7395
  ),
7388
- /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(
7396
+ /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(
7389
7397
  Button,
7390
7398
  {
7391
7399
  size: "small",
@@ -7404,7 +7412,7 @@ var File = (props) => {
7404
7412
  }
7405
7413
  )
7406
7414
  ] }),
7407
- /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(ErrorList, { errors: errorsList })
7415
+ /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(ErrorList, { errors: errorsList })
7408
7416
  ] });
7409
7417
  };
7410
7418
 
@@ -7694,19 +7702,19 @@ var useFileUploader = (props) => {
7694
7702
  };
7695
7703
 
7696
7704
  // src/components/VisuallyHidden/VisuallyHidden.tsx
7697
- var import_jsx_runtime219 = require("react/jsx-runtime");
7705
+ var import_jsx_runtime220 = require("react/jsx-runtime");
7698
7706
  var VisuallyHidden = (props) => {
7699
7707
  const { id, className, htmlProps, as, ...rest } = props;
7700
7708
  const cl = cn(className, utilStyles_default["visually-hidden"]);
7701
7709
  if (as === "div") {
7702
- return /* @__PURE__ */ (0, import_jsx_runtime219.jsx)("div", { ...getBaseHTMLProps(id, cl, htmlProps, rest) });
7710
+ return /* @__PURE__ */ (0, import_jsx_runtime220.jsx)("div", { ...getBaseHTMLProps(id, cl, htmlProps, rest) });
7703
7711
  }
7704
- return /* @__PURE__ */ (0, import_jsx_runtime219.jsx)("span", { ...getBaseHTMLProps(id, cl, htmlProps, rest) });
7712
+ return /* @__PURE__ */ (0, import_jsx_runtime220.jsx)("span", { ...getBaseHTMLProps(id, cl, htmlProps, rest) });
7705
7713
  };
7706
7714
  VisuallyHidden.displayName = "VisuallyHidden";
7707
7715
 
7708
7716
  // src/components/FileUploader/FileUploader.tsx
7709
- var import_jsx_runtime220 = require("react/jsx-runtime");
7717
+ var import_jsx_runtime221 = require("react/jsx-runtime");
7710
7718
  var FileUploader = (props) => {
7711
7719
  const {
7712
7720
  id,
@@ -7755,7 +7763,7 @@ var FileUploader = (props) => {
7755
7763
  const tipId = derivativeIdGenerator(uniqueId, "tip");
7756
7764
  const buttonId = derivativeIdGenerator(uniqueId, "button");
7757
7765
  const inputId = derivativeIdGenerator(uniqueId, "input");
7758
- const fileListElements = stateFiles.map((stateFile, index) => /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
7766
+ const fileListElements = stateFiles.map((stateFile, index) => /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
7759
7767
  File,
7760
7768
  {
7761
7769
  parentId: uniqueId,
@@ -7770,7 +7778,7 @@ var FileUploader = (props) => {
7770
7778
  id: derivativeIdGenerator(uniqueId, `error-${index}`),
7771
7779
  message: e
7772
7780
  }));
7773
- const button3 = /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
7781
+ const button3 = /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
7774
7782
  Button,
7775
7783
  {
7776
7784
  ...getButtonProps(),
@@ -7790,7 +7798,7 @@ var FileUploader = (props) => {
7790
7798
  children: btnLabel
7791
7799
  }
7792
7800
  );
7793
- return /* @__PURE__ */ (0, import_jsx_runtime220.jsxs)(
7801
+ return /* @__PURE__ */ (0, import_jsx_runtime221.jsxs)(
7794
7802
  "div",
7795
7803
  {
7796
7804
  id: uniqueId,
@@ -7802,9 +7810,9 @@ var FileUploader = (props) => {
7802
7810
  style: { ...style, width },
7803
7811
  ...rest,
7804
7812
  children: [
7805
- hasLabel && /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(Label, { id: labelId, showRequiredStyling: showRequiredMarker, children: label }),
7806
- hasTip && /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(InputMessage, { id: tipId, message: tip, messageType: "tip" }),
7807
- withDragAndDrop ? /* @__PURE__ */ (0, import_jsx_runtime220.jsxs)(
7813
+ hasLabel && /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(Label, { id: labelId, showRequiredStyling: showRequiredMarker, children: label }),
7814
+ hasTip && /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(InputMessage, { id: tipId, message: tip, messageType: "tip" }),
7815
+ withDragAndDrop ? /* @__PURE__ */ (0, import_jsx_runtime221.jsxs)(
7808
7816
  "div",
7809
7817
  {
7810
7818
  ...getRootProps(),
@@ -7814,7 +7822,7 @@ var FileUploader = (props) => {
7814
7822
  isDragActive && FileUploader_default["input-container--drag-active"]
7815
7823
  ),
7816
7824
  children: [
7817
- /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
7825
+ /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
7818
7826
  "input",
7819
7827
  {
7820
7828
  ...getInputProps(),
@@ -7823,16 +7831,16 @@ var FileUploader = (props) => {
7823
7831
  }
7824
7832
  ),
7825
7833
  dropAreaLabel,
7826
- /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(VisuallyHidden, { as: "span", children: "velg fil med p\xE5f\xF8lgende knapp" }),
7834
+ /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(VisuallyHidden, { as: "span", children: "velg fil med p\xE5f\xF8lgende knapp" }),
7827
7835
  button3
7828
7836
  ]
7829
7837
  }
7830
- ) : /* @__PURE__ */ (0, import_jsx_runtime220.jsxs)("div", { className: FileUploader_default["input-container--no-drag-zone"], children: [
7831
- /* @__PURE__ */ (0, import_jsx_runtime220.jsx)("input", { ...getInputProps(), id: inputId }),
7838
+ ) : /* @__PURE__ */ (0, import_jsx_runtime221.jsxs)("div", { className: FileUploader_default["input-container--no-drag-zone"], children: [
7839
+ /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("input", { ...getInputProps(), id: inputId }),
7832
7840
  button3
7833
7841
  ] }),
7834
- /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(ErrorList, { errors: rootErrorsList }),
7835
- !hideFileList && /* @__PURE__ */ (0, import_jsx_runtime220.jsx)("ul", { className: utilStyles_default["remove-list-styling"], children: fileListElements })
7842
+ /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(ErrorList, { errors: rootErrorsList }),
7843
+ !hideFileList && /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("ul", { className: utilStyles_default["remove-list-styling"], children: fileListElements })
7836
7844
  ]
7837
7845
  }
7838
7846
  );
@@ -7854,7 +7862,7 @@ var GlobalMessage_default = {
7854
7862
  };
7855
7863
 
7856
7864
  // src/components/GlobalMessage/GlobalMessage.tsx
7857
- var import_jsx_runtime221 = require("react/jsx-runtime");
7865
+ var import_jsx_runtime222 = require("react/jsx-runtime");
7858
7866
  var purposeVariants = {
7859
7867
  info: {
7860
7868
  icon: InfoIcon
@@ -7880,7 +7888,7 @@ var GlobalMessage = (0, import_react66.forwardRef)(
7880
7888
  ...rest
7881
7889
  } = props;
7882
7890
  const [isClosed, setClosed] = (0, import_react66.useState)(false);
7883
- return !isClosed ? /* @__PURE__ */ (0, import_jsx_runtime221.jsxs)(
7891
+ return !isClosed ? /* @__PURE__ */ (0, import_jsx_runtime222.jsxs)(
7884
7892
  "div",
7885
7893
  {
7886
7894
  ref,
@@ -7896,7 +7904,7 @@ var GlobalMessage = (0, import_react66.forwardRef)(
7896
7904
  rest
7897
7905
  ),
7898
7906
  children: [
7899
- /* @__PURE__ */ (0, import_jsx_runtime221.jsxs)(
7907
+ /* @__PURE__ */ (0, import_jsx_runtime222.jsxs)(
7900
7908
  "div",
7901
7909
  {
7902
7910
  className: cn(
@@ -7904,12 +7912,12 @@ var GlobalMessage = (0, import_react66.forwardRef)(
7904
7912
  closable && GlobalMessage_default["content--closable"]
7905
7913
  ),
7906
7914
  children: [
7907
- /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(Icon, { icon: purposeVariants[purpose].icon, className: GlobalMessage_default.icon }),
7908
- children != null ? children : /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("span", { children: message })
7915
+ /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(Icon, { icon: purposeVariants[purpose].icon, className: GlobalMessage_default.icon }),
7916
+ children != null ? children : /* @__PURE__ */ (0, import_jsx_runtime222.jsx)("span", { children: message })
7909
7917
  ]
7910
7918
  }
7911
7919
  ),
7912
- closable && /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
7920
+ closable && /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(
7913
7921
  Button,
7914
7922
  {
7915
7923
  icon: CloseIcon,
@@ -7940,7 +7948,7 @@ var Grid_default = {
7940
7948
  };
7941
7949
 
7942
7950
  // src/components/Grid/Grid.tsx
7943
- var import_jsx_runtime222 = require("react/jsx-runtime");
7951
+ var import_jsx_runtime223 = require("react/jsx-runtime");
7944
7952
  var Grid = (props) => {
7945
7953
  const { id, className, htmlProps, as, maxWidth, rowGap, style, ...rest } = props;
7946
7954
  const styleVariables = {
@@ -7965,13 +7973,13 @@ var Grid = (props) => {
7965
7973
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
7966
7974
  ["--dds-grid-xl-row-gap"]: (rowGap == null ? void 0 : rowGap.xl) ? rowGap.xl : "var(--dds-grid-xl-gutter-size)"
7967
7975
  };
7968
- return as === "div" ? /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(
7976
+ return as === "div" ? /* @__PURE__ */ (0, import_jsx_runtime223.jsx)(
7969
7977
  "div",
7970
7978
  {
7971
7979
  ...getBaseHTMLProps(id, cn(className, Grid_default.grid), htmlProps, rest),
7972
7980
  style: { ...htmlProps == null ? void 0 : htmlProps.style, ...styleVariables }
7973
7981
  }
7974
- ) : /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(
7982
+ ) : /* @__PURE__ */ (0, import_jsx_runtime223.jsx)(
7975
7983
  "form",
7976
7984
  {
7977
7985
  ...getBaseHTMLProps(id, cn(className, Grid_default.grid), htmlProps, rest),
@@ -7982,7 +7990,7 @@ var Grid = (props) => {
7982
7990
  Grid.displayName = "Grid";
7983
7991
 
7984
7992
  // src/components/Grid/GridChild.tsx
7985
- var import_jsx_runtime223 = require("react/jsx-runtime");
7993
+ var import_jsx_runtime224 = require("react/jsx-runtime");
7986
7994
  var isRelativeGridColumn = (type) => {
7987
7995
  return type === "all" || type === "firstHalf" || type === "secondHalf";
7988
7996
  };
@@ -8032,7 +8040,7 @@ var GridChild = (props) => {
8032
8040
  firstHalf: "first-half",
8033
8041
  secondHalf: "second-half"
8034
8042
  };
8035
- return /* @__PURE__ */ (0, import_jsx_runtime223.jsx)(
8043
+ return /* @__PURE__ */ (0, import_jsx_runtime224.jsx)(
8036
8044
  "div",
8037
8045
  {
8038
8046
  ...getBaseHTMLProps(
@@ -8061,11 +8069,11 @@ var InlineButton_default = {
8061
8069
  };
8062
8070
 
8063
8071
  // src/components/InlineButton/InlineButton.tsx
8064
- var import_jsx_runtime224 = require("react/jsx-runtime");
8072
+ var import_jsx_runtime225 = require("react/jsx-runtime");
8065
8073
  var InlineButton = (0, import_react67.forwardRef)(
8066
8074
  (props, ref) => {
8067
8075
  const { className, ...rest } = props;
8068
- return /* @__PURE__ */ (0, import_jsx_runtime224.jsx)(
8076
+ return /* @__PURE__ */ (0, import_jsx_runtime225.jsx)(
8069
8077
  "button",
8070
8078
  {
8071
8079
  ref,
@@ -8088,7 +8096,7 @@ var import_react70 = require("react");
8088
8096
 
8089
8097
  // src/components/InlineEdit/InlineEdit.tsx
8090
8098
  var import_react68 = require("react");
8091
- var import_jsx_runtime225 = require("react/jsx-runtime");
8099
+ var import_jsx_runtime226 = require("react/jsx-runtime");
8092
8100
  var InlineEdit = (props) => {
8093
8101
  const {
8094
8102
  emptiable,
@@ -8138,7 +8146,7 @@ var InlineEdit = (props) => {
8138
8146
  emptiable
8139
8147
  })
8140
8148
  );
8141
- return /* @__PURE__ */ (0, import_jsx_runtime225.jsx)(import_jsx_runtime225.Fragment, { children: inputChild });
8149
+ return /* @__PURE__ */ (0, import_jsx_runtime226.jsx)(import_jsx_runtime226.Fragment, { children: inputChild });
8142
8150
  };
8143
8151
  InlineEdit.displayName = "InlineEdit";
8144
8152
 
@@ -8156,15 +8164,15 @@ var InlineEdit_default = {
8156
8164
  };
8157
8165
 
8158
8166
  // src/components/InlineEdit/InlineEdit.utils.tsx
8159
- var import_jsx_runtime226 = require("react/jsx-runtime");
8160
- var inlineEditVisuallyHidden = (id, emptiable) => /* @__PURE__ */ (0, import_jsx_runtime226.jsxs)(VisuallyHidden, { id, as: "span", children: [
8167
+ var import_jsx_runtime227 = require("react/jsx-runtime");
8168
+ var inlineEditVisuallyHidden = (id, emptiable) => /* @__PURE__ */ (0, import_jsx_runtime227.jsxs)(VisuallyHidden, { id, as: "span", children: [
8161
8169
  "Escape, Enter eller Tab for \xE5 lagre.",
8162
8170
  " ",
8163
8171
  !emptiable && "Inputfeltet er ikke t\xF8mmbar."
8164
8172
  ] });
8165
8173
 
8166
8174
  // src/components/InlineEdit/InlineTextArea.tsx
8167
- var import_jsx_runtime227 = require("react/jsx-runtime");
8175
+ var import_jsx_runtime228 = require("react/jsx-runtime");
8168
8176
  var InlineTextArea = (0, import_react69.forwardRef)((props, ref) => {
8169
8177
  const {
8170
8178
  id,
@@ -8186,9 +8194,9 @@ var InlineTextArea = (0, import_react69.forwardRef)((props, ref) => {
8186
8194
  const descId = derivativeIdGenerator(uniqueId, "desc");
8187
8195
  const inputRef = (0, import_react69.useRef)(null);
8188
8196
  const combinedRef = useCombinedRef(ref, inputRef);
8189
- return /* @__PURE__ */ (0, import_jsx_runtime227.jsxs)("div", { className: InlineEdit_default.container, style: { width }, children: [
8190
- /* @__PURE__ */ (0, import_jsx_runtime227.jsxs)("div", { className: Input_default["input-group"], children: [
8191
- !isEditing && !hideIcon && /* @__PURE__ */ (0, import_jsx_runtime227.jsx)(
8197
+ return /* @__PURE__ */ (0, import_jsx_runtime228.jsxs)("div", { className: InlineEdit_default.container, style: { width }, children: [
8198
+ /* @__PURE__ */ (0, import_jsx_runtime228.jsxs)("div", { className: Input_default["input-group"], children: [
8199
+ !isEditing && !hideIcon && /* @__PURE__ */ (0, import_jsx_runtime228.jsx)(
8192
8200
  "span",
8193
8201
  {
8194
8202
  onClick: () => {
@@ -8196,10 +8204,10 @@ var InlineTextArea = (0, import_react69.forwardRef)((props, ref) => {
8196
8204
  (_a = inputRef.current) == null ? void 0 : _a.focus();
8197
8205
  },
8198
8206
  className: InlineEdit_default["icon-wrapper"],
8199
- children: /* @__PURE__ */ (0, import_jsx_runtime227.jsx)(Icon, { icon: EditIcon, iconSize: "small" })
8207
+ children: /* @__PURE__ */ (0, import_jsx_runtime228.jsx)(Icon, { icon: EditIcon, iconSize: "small" })
8200
8208
  }
8201
8209
  ),
8202
- /* @__PURE__ */ (0, import_jsx_runtime227.jsx)(
8210
+ /* @__PURE__ */ (0, import_jsx_runtime228.jsx)(
8203
8211
  "textarea",
8204
8212
  {
8205
8213
  ...rest,
@@ -8231,12 +8239,12 @@ var InlineTextArea = (0, import_react69.forwardRef)((props, ref) => {
8231
8239
  InlineTextArea.displayName = "InlineTextArea";
8232
8240
 
8233
8241
  // src/components/InlineEdit/InlineEditTextArea.tsx
8234
- var import_jsx_runtime228 = require("react/jsx-runtime");
8242
+ var import_jsx_runtime229 = require("react/jsx-runtime");
8235
8243
  var InlineEditTextArea = (0, import_react70.forwardRef)((props, ref) => {
8236
8244
  const { onSetValue, emptiable, value, onFocus, onChange, onBlur, ...rest } = props;
8237
8245
  const textareaRef = (0, import_react70.useRef)(null);
8238
8246
  const combinedRef = useCombinedRef(ref, textareaRef);
8239
- return /* @__PURE__ */ (0, import_jsx_runtime228.jsx)(
8247
+ return /* @__PURE__ */ (0, import_jsx_runtime229.jsx)(
8240
8248
  InlineEdit,
8241
8249
  {
8242
8250
  onSetValue,
@@ -8246,7 +8254,7 @@ var InlineEditTextArea = (0, import_react70.forwardRef)((props, ref) => {
8246
8254
  onFocus,
8247
8255
  onChange,
8248
8256
  onBlur,
8249
- children: /* @__PURE__ */ (0, import_jsx_runtime228.jsx)(InlineTextArea, { ref: combinedRef, ...rest })
8257
+ children: /* @__PURE__ */ (0, import_jsx_runtime229.jsx)(InlineTextArea, { ref: combinedRef, ...rest })
8250
8258
  }
8251
8259
  );
8252
8260
  });
@@ -8256,7 +8264,7 @@ var import_react72 = require("react");
8256
8264
 
8257
8265
  // src/components/InlineEdit/InlineInput.tsx
8258
8266
  var import_react71 = require("react");
8259
- var import_jsx_runtime229 = require("react/jsx-runtime");
8267
+ var import_jsx_runtime230 = require("react/jsx-runtime");
8260
8268
  var InlineInput = (0, import_react71.forwardRef)(
8261
8269
  (props, ref) => {
8262
8270
  const {
@@ -8279,9 +8287,9 @@ var InlineInput = (0, import_react71.forwardRef)(
8279
8287
  const descId = derivativeIdGenerator(uniqueId, "desc");
8280
8288
  const inputRef = (0, import_react71.useRef)(null);
8281
8289
  const combinedRef = useCombinedRef(ref, inputRef);
8282
- return /* @__PURE__ */ (0, import_jsx_runtime229.jsxs)("div", { className: InlineEdit_default.container, style: { width }, children: [
8283
- /* @__PURE__ */ (0, import_jsx_runtime229.jsxs)("div", { className: Input_default["input-group"], children: [
8284
- !isEditing && !hideIcon && /* @__PURE__ */ (0, import_jsx_runtime229.jsx)(
8290
+ return /* @__PURE__ */ (0, import_jsx_runtime230.jsxs)("div", { className: InlineEdit_default.container, style: { width }, children: [
8291
+ /* @__PURE__ */ (0, import_jsx_runtime230.jsxs)("div", { className: Input_default["input-group"], children: [
8292
+ !isEditing && !hideIcon && /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(
8285
8293
  "span",
8286
8294
  {
8287
8295
  onClick: () => {
@@ -8289,10 +8297,10 @@ var InlineInput = (0, import_react71.forwardRef)(
8289
8297
  (_a = inputRef.current) == null ? void 0 : _a.focus();
8290
8298
  },
8291
8299
  className: InlineEdit_default["icon-wrapper"],
8292
- children: /* @__PURE__ */ (0, import_jsx_runtime229.jsx)(Icon, { icon: EditIcon, iconSize: "small" })
8300
+ children: /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(Icon, { icon: EditIcon, iconSize: "small" })
8293
8301
  }
8294
8302
  ),
8295
- /* @__PURE__ */ (0, import_jsx_runtime229.jsx)(
8303
+ /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(
8296
8304
  "input",
8297
8305
  {
8298
8306
  ...rest,
@@ -8323,12 +8331,12 @@ var InlineInput = (0, import_react71.forwardRef)(
8323
8331
  InlineInput.displayName = "InlineInput";
8324
8332
 
8325
8333
  // src/components/InlineEdit/InlineEditInput.tsx
8326
- var import_jsx_runtime230 = require("react/jsx-runtime");
8334
+ var import_jsx_runtime231 = require("react/jsx-runtime");
8327
8335
  var InlineEditInput = (0, import_react72.forwardRef)((props, ref) => {
8328
8336
  const { onSetValue, emptiable, value, onFocus, onChange, onBlur, ...rest } = props;
8329
8337
  const inputRef = (0, import_react72.useRef)(null);
8330
8338
  const combinedRef = useCombinedRef(ref, inputRef);
8331
- return /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(
8339
+ return /* @__PURE__ */ (0, import_jsx_runtime231.jsx)(
8332
8340
  InlineEdit,
8333
8341
  {
8334
8342
  onSetValue,
@@ -8338,7 +8346,7 @@ var InlineEditInput = (0, import_react72.forwardRef)((props, ref) => {
8338
8346
  onFocus,
8339
8347
  onChange,
8340
8348
  onBlur,
8341
- children: /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(InlineInput, { ...rest, ref: combinedRef })
8349
+ children: /* @__PURE__ */ (0, import_jsx_runtime231.jsx)(InlineInput, { ...rest, ref: combinedRef })
8342
8350
  }
8343
8351
  );
8344
8352
  });
@@ -8363,9 +8371,9 @@ var InternalHeader_default = {
8363
8371
 
8364
8372
  // src/components/InternalHeader/NavigationItem.tsx
8365
8373
  var import_react73 = require("react");
8366
- var import_jsx_runtime231 = require("react/jsx-runtime");
8374
+ var import_jsx_runtime232 = require("react/jsx-runtime");
8367
8375
  var NavigationItem = (0, import_react73.forwardRef)(({ title, isCurrent, ...rest }, ref) => {
8368
- return /* @__PURE__ */ (0, import_jsx_runtime231.jsx)(
8376
+ return /* @__PURE__ */ (0, import_jsx_runtime232.jsx)(
8369
8377
  "a",
8370
8378
  {
8371
8379
  ...rest,
@@ -8383,7 +8391,7 @@ var NavigationItem = (0, import_react73.forwardRef)(({ title, isCurrent, ...rest
8383
8391
  });
8384
8392
 
8385
8393
  // src/components/InternalHeader/InternalHeader.tsx
8386
- var import_jsx_runtime232 = require("react/jsx-runtime");
8394
+ var import_jsx_runtime233 = require("react/jsx-runtime");
8387
8395
  var InternalHeader = (props) => {
8388
8396
  const {
8389
8397
  applicationDesc,
@@ -8416,7 +8424,7 @@ var InternalHeader = (props) => {
8416
8424
  const hasNavigationElements = !!navigationElements && navigationElements.length > 0;
8417
8425
  const hasContextMenuElements = !!contextMenuElements && contextMenuElements.length > 0;
8418
8426
  const hasNavInContextMenu = smallScreen && hasNavigationElements;
8419
- const navigation = hasNavigationElements && !smallScreen ? /* @__PURE__ */ (0, import_jsx_runtime232.jsx)("nav", { "aria-label": "sidenavigasjon", children: /* @__PURE__ */ (0, import_jsx_runtime232.jsx)(
8427
+ const navigation = hasNavigationElements && !smallScreen ? /* @__PURE__ */ (0, import_jsx_runtime233.jsx)("nav", { "aria-label": "sidenavigasjon", children: /* @__PURE__ */ (0, import_jsx_runtime233.jsx)(
8420
8428
  "ul",
8421
8429
  {
8422
8430
  className: cn(
@@ -8427,7 +8435,7 @@ var InternalHeader = (props) => {
8427
8435
  children: navigationElements.map((item, index) => {
8428
8436
  const { href, ...rest2 } = item;
8429
8437
  const isCurrent = href === currentPage;
8430
- return /* @__PURE__ */ (0, import_jsx_runtime232.jsx)("li", { className: InternalHeader_default["nav-list__item"], children: /* @__PURE__ */ (0, import_jsx_runtime232.jsx)(
8438
+ return /* @__PURE__ */ (0, import_jsx_runtime233.jsx)("li", { className: InternalHeader_default["nav-list__item"], children: /* @__PURE__ */ (0, import_jsx_runtime233.jsx)(
8431
8439
  NavigationItem,
8432
8440
  {
8433
8441
  href,
@@ -8440,7 +8448,7 @@ var InternalHeader = (props) => {
8440
8448
  }
8441
8449
  ) }) : null;
8442
8450
  const hasContextMenu = hasContextMenuElements || !!userProps || hasNavInContextMenu;
8443
- return /* @__PURE__ */ (0, import_jsx_runtime232.jsxs)(
8451
+ return /* @__PURE__ */ (0, import_jsx_runtime233.jsxs)(
8444
8452
  "div",
8445
8453
  {
8446
8454
  ...getBaseHTMLProps(
@@ -8455,7 +8463,7 @@ var InternalHeader = (props) => {
8455
8463
  rest
8456
8464
  ),
8457
8465
  children: [
8458
- /* @__PURE__ */ (0, import_jsx_runtime232.jsx)(Typography, { typographyType: "bodySans02", bold: true, as: "span", children: applicationHref ? /* @__PURE__ */ (0, import_jsx_runtime232.jsx)(
8466
+ /* @__PURE__ */ (0, import_jsx_runtime233.jsx)(Typography, { typographyType: "bodySans02", bold: true, as: "span", children: applicationHref ? /* @__PURE__ */ (0, import_jsx_runtime233.jsx)(
8459
8467
  "a",
8460
8468
  {
8461
8469
  href: applicationHref,
@@ -8464,11 +8472,11 @@ var InternalHeader = (props) => {
8464
8472
  children: applicationName
8465
8473
  }
8466
8474
  ) : applicationName }),
8467
- /* @__PURE__ */ (0, import_jsx_runtime232.jsx)(Typography, { typographyType: "bodySans02", as: "span", children: applicationDesc }),
8468
- (hasContextMenu || navigation !== null) && /* @__PURE__ */ (0, import_jsx_runtime232.jsx)("div", { className: InternalHeader_default["bar-separator"] }),
8475
+ /* @__PURE__ */ (0, import_jsx_runtime233.jsx)(Typography, { typographyType: "bodySans02", as: "span", children: applicationDesc }),
8476
+ (hasContextMenu || navigation !== null) && /* @__PURE__ */ (0, import_jsx_runtime233.jsx)("div", { className: InternalHeader_default["bar-separator"] }),
8469
8477
  navigation,
8470
- hasContextMenu && /* @__PURE__ */ (0, import_jsx_runtime232.jsxs)("div", { className: InternalHeader_default["context-menu-group"], children: [
8471
- /* @__PURE__ */ (0, import_jsx_runtime232.jsx)(
8478
+ hasContextMenu && /* @__PURE__ */ (0, import_jsx_runtime233.jsxs)("div", { className: InternalHeader_default["context-menu-group"], children: [
8479
+ /* @__PURE__ */ (0, import_jsx_runtime233.jsx)(
8472
8480
  Button,
8473
8481
  {
8474
8482
  ref: buttonRef,
@@ -8480,7 +8488,7 @@ var InternalHeader = (props) => {
8480
8488
  "aria-label": "\xE5pne meny"
8481
8489
  }
8482
8490
  ),
8483
- /* @__PURE__ */ (0, import_jsx_runtime232.jsx)(
8491
+ /* @__PURE__ */ (0, import_jsx_runtime233.jsx)(
8484
8492
  OverflowMenu,
8485
8493
  {
8486
8494
  isOpen: !contextMenuIsClosed,
@@ -8512,7 +8520,7 @@ var List_default = {
8512
8520
  };
8513
8521
 
8514
8522
  // src/components/List/List.tsx
8515
- var import_jsx_runtime233 = require("react/jsx-runtime");
8523
+ var import_jsx_runtime234 = require("react/jsx-runtime");
8516
8524
  var List = (0, import_react75.forwardRef)((props, ref) => {
8517
8525
  const {
8518
8526
  listType = "unordered",
@@ -8524,7 +8532,7 @@ var List = (0, import_react75.forwardRef)((props, ref) => {
8524
8532
  ...rest
8525
8533
  } = props;
8526
8534
  const List2 = listType === "ordered" ? "ol" : "ul";
8527
- return /* @__PURE__ */ (0, import_jsx_runtime233.jsx)(
8535
+ return /* @__PURE__ */ (0, import_jsx_runtime234.jsx)(
8528
8536
  List2,
8529
8537
  {
8530
8538
  ...getBaseHTMLProps(id, className, htmlProps, rest),
@@ -8542,10 +8550,10 @@ List.displayName = "List";
8542
8550
 
8543
8551
  // src/components/List/ListItem.tsx
8544
8552
  var import_react76 = require("react");
8545
- var import_jsx_runtime234 = require("react/jsx-runtime");
8553
+ var import_jsx_runtime235 = require("react/jsx-runtime");
8546
8554
  var ListItem = (0, import_react76.forwardRef)(
8547
8555
  ({ className, ...rest }, ref) => {
8548
- return /* @__PURE__ */ (0, import_jsx_runtime234.jsx)("li", { ref, ...rest, className: cn(className, List_default.li) });
8556
+ return /* @__PURE__ */ (0, import_jsx_runtime235.jsx)("li", { ref, ...rest, className: cn(className, List_default.li) });
8549
8557
  }
8550
8558
  );
8551
8559
  ListItem.displayName = "ListItem";
@@ -8572,7 +8580,7 @@ var LocalMessage_default = {
8572
8580
  };
8573
8581
 
8574
8582
  // src/components/LocalMessage/LocalMessage.tsx
8575
- var import_jsx_runtime235 = require("react/jsx-runtime");
8583
+ var import_jsx_runtime236 = require("react/jsx-runtime");
8576
8584
  var purposeVariants2 = {
8577
8585
  info: {
8578
8586
  icon: InfoIcon
@@ -8607,9 +8615,9 @@ var LocalMessage = (0, import_react77.forwardRef)(
8607
8615
  } = props;
8608
8616
  const [isClosed, setClosed] = (0, import_react77.useState)(false);
8609
8617
  if (isClosed) {
8610
- return /* @__PURE__ */ (0, import_jsx_runtime235.jsx)(import_jsx_runtime235.Fragment, {});
8618
+ return /* @__PURE__ */ (0, import_jsx_runtime236.jsx)(import_jsx_runtime236.Fragment, {});
8611
8619
  }
8612
- return /* @__PURE__ */ (0, import_jsx_runtime235.jsxs)(
8620
+ return /* @__PURE__ */ (0, import_jsx_runtime236.jsxs)(
8613
8621
  "div",
8614
8622
  {
8615
8623
  ref,
@@ -8628,15 +8636,15 @@ var LocalMessage = (0, import_react77.forwardRef)(
8628
8636
  ),
8629
8637
  style: { ...htmlProps == null ? void 0 : htmlProps.style, width },
8630
8638
  children: [
8631
- /* @__PURE__ */ (0, import_jsx_runtime235.jsx)(
8639
+ /* @__PURE__ */ (0, import_jsx_runtime236.jsx)(
8632
8640
  Icon,
8633
8641
  {
8634
8642
  icon: purposeVariants2[purpose].icon,
8635
8643
  className: cn(LocalMessage_default.icon, LocalMessage_default.container__icon)
8636
8644
  }
8637
8645
  ),
8638
- /* @__PURE__ */ (0, import_jsx_runtime235.jsx)("div", { className: LocalMessage_default.container__text, children: children != null ? children : /* @__PURE__ */ (0, import_jsx_runtime235.jsx)("span", { children: message }) }),
8639
- closable && /* @__PURE__ */ (0, import_jsx_runtime235.jsx)(
8646
+ /* @__PURE__ */ (0, import_jsx_runtime236.jsx)("div", { className: LocalMessage_default.container__text, children: children != null ? children : /* @__PURE__ */ (0, import_jsx_runtime236.jsx)("span", { children: message }) }),
8647
+ closable && /* @__PURE__ */ (0, import_jsx_runtime236.jsx)(
8640
8648
  Button,
8641
8649
  {
8642
8650
  icon: CloseIcon,
@@ -8696,7 +8704,7 @@ var Modal_default = {
8696
8704
  };
8697
8705
 
8698
8706
  // src/components/Modal/Modal.tsx
8699
- var import_jsx_runtime236 = require("react/jsx-runtime");
8707
+ var import_jsx_runtime237 = require("react/jsx-runtime");
8700
8708
  var Modal = (0, import_react78.forwardRef)((props, ref) => {
8701
8709
  const {
8702
8710
  isOpen = false,
@@ -8735,14 +8743,14 @@ var Modal = (0, import_react78.forwardRef)((props, ref) => {
8735
8743
  useOnKeyDown(["Escape", "Esc"], () => handleClose());
8736
8744
  const hasTransitionedIn = useMountTransition(isOpen, 200);
8737
8745
  return isOpen || hasTransitionedIn ? (0, import_react_dom3.createPortal)(
8738
- /* @__PURE__ */ (0, import_jsx_runtime236.jsx)(
8746
+ /* @__PURE__ */ (0, import_jsx_runtime237.jsx)(
8739
8747
  "div",
8740
8748
  {
8741
8749
  className: cn(
8742
8750
  Modal_default.backdrop,
8743
8751
  hasTransitionedIn && isOpen ? Modal_default["backdrop--visible"] : Modal_default["backdrop--hidden"]
8744
8752
  ),
8745
- children: /* @__PURE__ */ (0, import_jsx_runtime236.jsxs)(
8753
+ children: /* @__PURE__ */ (0, import_jsx_runtime237.jsxs)(
8746
8754
  Paper,
8747
8755
  {
8748
8756
  ...getBaseHTMLProps(
@@ -8760,11 +8768,11 @@ var Modal = (0, import_react78.forwardRef)((props, ref) => {
8760
8768
  id: modalId,
8761
8769
  elevation: 4,
8762
8770
  children: [
8763
- /* @__PURE__ */ (0, import_jsx_runtime236.jsxs)("div", { className: Modal_default.content, children: [
8764
- header && /* @__PURE__ */ (0, import_jsx_runtime236.jsx)("div", { id: headerId, className: Modal_default.header, children: typeof header === "string" ? /* @__PURE__ */ (0, import_jsx_runtime236.jsx)(Typography, { typographyType: "headingSans03", children: header }) : header }),
8771
+ /* @__PURE__ */ (0, import_jsx_runtime237.jsxs)("div", { className: Modal_default.content, children: [
8772
+ header && /* @__PURE__ */ (0, import_jsx_runtime237.jsx)("div", { id: headerId, className: Modal_default.header, children: typeof header === "string" ? /* @__PURE__ */ (0, import_jsx_runtime237.jsx)(Typography, { typographyType: "headingSans03", children: header }) : header }),
8765
8773
  children
8766
8774
  ] }),
8767
- onClose && /* @__PURE__ */ (0, import_jsx_runtime236.jsx)(
8775
+ onClose && /* @__PURE__ */ (0, import_jsx_runtime237.jsx)(
8768
8776
  Button,
8769
8777
  {
8770
8778
  size: "small",
@@ -8787,11 +8795,11 @@ Modal.displayName = "Modal";
8787
8795
 
8788
8796
  // src/components/Modal/ModalBody.tsx
8789
8797
  var import_react79 = require("react");
8790
- var import_jsx_runtime237 = require("react/jsx-runtime");
8798
+ var import_jsx_runtime238 = require("react/jsx-runtime");
8791
8799
  var ModalBody = (0, import_react79.forwardRef)(
8792
8800
  (props, ref) => {
8793
8801
  const { children, id, className, scrollable, htmlProps, height, ...rest } = props;
8794
- return /* @__PURE__ */ (0, import_jsx_runtime237.jsx)(
8802
+ return /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(
8795
8803
  "div",
8796
8804
  {
8797
8805
  ref,
@@ -8816,10 +8824,10 @@ ModalBody.displayName = "ModalBody";
8816
8824
 
8817
8825
  // src/components/Modal/ModalActions.tsx
8818
8826
  var import_react80 = require("react");
8819
- var import_jsx_runtime238 = require("react/jsx-runtime");
8827
+ var import_jsx_runtime239 = require("react/jsx-runtime");
8820
8828
  var ModalActions = (0, import_react80.forwardRef)(
8821
8829
  ({ className, ...rest }, ref) => {
8822
- return /* @__PURE__ */ (0, import_jsx_runtime238.jsx)("div", { ref, ...rest, className: cn(className, Modal_default.actions) });
8830
+ return /* @__PURE__ */ (0, import_jsx_runtime239.jsx)("div", { ref, ...rest, className: cn(className, Modal_default.actions) });
8823
8831
  }
8824
8832
  );
8825
8833
  ModalActions.displayName = "ModalActions";
@@ -9250,7 +9258,7 @@ var getCustomStyles = (size2, hasError, isReadOnly) => ({
9250
9258
 
9251
9259
  // src/components/Select/SelectComponents.tsx
9252
9260
  var import_react_select = require("react-select");
9253
- var import_jsx_runtime239 = require("react/jsx-runtime");
9261
+ var import_jsx_runtime240 = require("react/jsx-runtime");
9254
9262
  var {
9255
9263
  Option,
9256
9264
  NoOptionsMessage,
@@ -9261,27 +9269,27 @@ var {
9261
9269
  MultiValueRemove,
9262
9270
  Control
9263
9271
  } = import_react_select.components;
9264
- var DDSOption = (props, componentSize) => /* @__PURE__ */ (0, import_jsx_runtime239.jsxs)(Option, { ...props, children: [
9265
- props.isSelected && /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(Icon, { icon: CheckIcon, iconSize: getFormInputIconSize(componentSize) }),
9272
+ var DDSOption = (props, componentSize) => /* @__PURE__ */ (0, import_jsx_runtime240.jsxs)(Option, { ...props, children: [
9273
+ props.isSelected && /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(Icon, { icon: CheckIcon, iconSize: getFormInputIconSize(componentSize) }),
9266
9274
  props.children
9267
9275
  ] });
9268
- var CustomOption = (props, Element) => /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(Option, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(Element, { ...props }) });
9269
- var CustomSingleValue = (props, id, Element) => /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(SingleValue, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime239.jsx)("div", { id, className: Select_default["inner-single-value"], children: Element ? /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(Element, { ...props }) : props.children }) });
9270
- var DDSNoOptionsMessage = (props) => /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(NoOptionsMessage, { ...props, children: "Ingen treff" });
9271
- var DDSClearIndicator = (props, size2) => /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(ClearIndicator, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(Icon, { icon: CloseSmallIcon, iconSize: getFormInputIconSize(size2) }) });
9272
- var DDSMultiValueRemove = (props) => /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(MultiValueRemove, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(Icon, { icon: CloseSmallIcon, iconSize: "small" }) });
9276
+ var CustomOption = (props, Element) => /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(Option, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(Element, { ...props }) });
9277
+ var CustomSingleValue = (props, id, Element) => /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(SingleValue, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime240.jsx)("div", { id, className: Select_default["inner-single-value"], children: Element ? /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(Element, { ...props }) : props.children }) });
9278
+ var DDSNoOptionsMessage = (props) => /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(NoOptionsMessage, { ...props, children: "Ingen treff" });
9279
+ var DDSClearIndicator = (props, size2) => /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(ClearIndicator, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(Icon, { icon: CloseSmallIcon, iconSize: getFormInputIconSize(size2) }) });
9280
+ var DDSMultiValueRemove = (props) => /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(MultiValueRemove, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(Icon, { icon: CloseSmallIcon, iconSize: "small" }) });
9273
9281
  var DDSDropdownIndicator = (props, size2) => {
9274
9282
  const { className, ...rest } = props;
9275
- return /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(
9283
+ return /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(
9276
9284
  DropdownIndicator,
9277
9285
  {
9278
9286
  ...rest,
9279
9287
  className: cn(className, Select_default["dropdown-indicator"]),
9280
- children: /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(Icon, { icon: ChevronDownIcon, iconSize: getFormInputIconSize(size2) })
9288
+ children: /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(Icon, { icon: ChevronDownIcon, iconSize: getFormInputIconSize(size2) })
9281
9289
  }
9282
9290
  );
9283
9291
  };
9284
- var DDSInput = (props, ariaInvalid, ariaDescribedby) => /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(
9292
+ var DDSInput = (props, ariaInvalid, ariaDescribedby) => /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(
9285
9293
  Input2,
9286
9294
  {
9287
9295
  ...props,
@@ -9291,11 +9299,11 @@ var DDSInput = (props, ariaInvalid, ariaDescribedby) => /* @__PURE__ */ (0, impo
9291
9299
  );
9292
9300
  var DDSControl = (props, componentSize, readOnly, icon2, dataTestId) => {
9293
9301
  const { className, ...rest } = props;
9294
- return /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(
9302
+ return /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(
9295
9303
  "div",
9296
9304
  {
9297
9305
  "data-testid": dataTestId ? dataTestId + "-control" : void 0,
9298
- children: /* @__PURE__ */ (0, import_jsx_runtime239.jsxs)(
9306
+ children: /* @__PURE__ */ (0, import_jsx_runtime240.jsxs)(
9299
9307
  Control,
9300
9308
  {
9301
9309
  ...rest,
@@ -9306,7 +9314,7 @@ var DDSControl = (props, componentSize, readOnly, icon2, dataTestId) => {
9306
9314
  readOnly && Select_default["control--readonly"]
9307
9315
  ),
9308
9316
  children: [
9309
- icon2 && /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(
9317
+ icon2 && /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(
9310
9318
  Icon,
9311
9319
  {
9312
9320
  icon: icon2,
@@ -9323,7 +9331,7 @@ var DDSControl = (props, componentSize, readOnly, icon2, dataTestId) => {
9323
9331
  };
9324
9332
 
9325
9333
  // src/components/Select/Select.tsx
9326
- var import_jsx_runtime240 = require("react/jsx-runtime");
9334
+ var import_jsx_runtime241 = require("react/jsx-runtime");
9327
9335
  var getPlaceholder = (placeholder2, isMulti) => placeholder2 ? placeholder2 : isMulti ? "-- Velg en eller flere --" : "-- Velg fra listen --";
9328
9336
  function SelectInner(props, ref) {
9329
9337
  const {
@@ -9400,7 +9408,7 @@ function SelectInner(props, ref) {
9400
9408
  menuPortalTarget: document == null ? void 0 : document.body,
9401
9409
  ...rest
9402
9410
  };
9403
- return /* @__PURE__ */ (0, import_jsx_runtime240.jsxs)(
9411
+ return /* @__PURE__ */ (0, import_jsx_runtime241.jsxs)(
9404
9412
  "div",
9405
9413
  {
9406
9414
  className: cn(
@@ -9410,8 +9418,8 @@ function SelectInner(props, ref) {
9410
9418
  ),
9411
9419
  style: { ...style, width },
9412
9420
  children: [
9413
- hasLabel && /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(Label, { htmlFor: uniqueId, showRequiredStyling, children: label }),
9414
- /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(import_react_select2.default, { ...reactSelectProps, ref }),
9421
+ hasLabel && /* @__PURE__ */ (0, import_jsx_runtime241.jsx)(Label, { htmlFor: uniqueId, showRequiredStyling, children: label }),
9422
+ /* @__PURE__ */ (0, import_jsx_runtime241.jsx)(import_react_select2.default, { ...reactSelectProps, ref }),
9415
9423
  renderInputMessage(tip, tipId, errorMessage, errorMessageId)
9416
9424
  ]
9417
9425
  }
@@ -9424,7 +9432,7 @@ Select.displayName = "Select";
9424
9432
  var createSelectOptions = (...args) => args.map((v2) => ({ label: v2, value: v2 }));
9425
9433
 
9426
9434
  // src/components/Pagination/Pagination.tsx
9427
- var import_jsx_runtime241 = require("react/jsx-runtime");
9435
+ var import_jsx_runtime242 = require("react/jsx-runtime");
9428
9436
  var Pagination = (0, import_react82.forwardRef)(
9429
9437
  (props, ref) => {
9430
9438
  const {
@@ -9468,7 +9476,7 @@ var Pagination = (0, import_react82.forwardRef)(
9468
9476
  };
9469
9477
  const listItems = items.length > 0 ? items.map((item, i2) => {
9470
9478
  const isActive = item === activePage;
9471
- return /* @__PURE__ */ (0, import_jsx_runtime241.jsx)("li", { className: Pagination_default.list__item, children: item !== "truncator" ? /* @__PURE__ */ (0, import_jsx_runtime241.jsx)(
9479
+ return /* @__PURE__ */ (0, import_jsx_runtime242.jsx)("li", { className: Pagination_default.list__item, children: item !== "truncator" ? /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(
9472
9480
  Button,
9473
9481
  {
9474
9482
  purpose: isActive ? "primary" : "secondary",
@@ -9479,7 +9487,7 @@ var Pagination = (0, import_react82.forwardRef)(
9479
9487
  "aria-label": isActive ? `N\xE5v\xE6rende side (side ${item})` : `G\xE5 til side ${item}`,
9480
9488
  children: item
9481
9489
  }
9482
- ) : /* @__PURE__ */ (0, import_jsx_runtime241.jsx)(
9490
+ ) : /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(
9483
9491
  Icon,
9484
9492
  {
9485
9493
  icon: MoreHorizontalIcon,
@@ -9487,7 +9495,7 @@ var Pagination = (0, import_react82.forwardRef)(
9487
9495
  }
9488
9496
  ) }, `pagination-item-${i2}`);
9489
9497
  }) : void 0;
9490
- const previousPageButton = /* @__PURE__ */ (0, import_jsx_runtime241.jsx)(
9498
+ const previousPageButton = /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(
9491
9499
  Button,
9492
9500
  {
9493
9501
  purpose: "secondary",
@@ -9499,7 +9507,7 @@ var Pagination = (0, import_react82.forwardRef)(
9499
9507
  "aria-label": "G\xE5 til forrige siden"
9500
9508
  }
9501
9509
  );
9502
- const nextPageButton = /* @__PURE__ */ (0, import_jsx_runtime241.jsx)(
9510
+ const nextPageButton = /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(
9503
9511
  Button,
9504
9512
  {
9505
9513
  purpose: "secondary",
@@ -9516,8 +9524,8 @@ var Pagination = (0, import_react82.forwardRef)(
9516
9524
  } : { className: Pagination_default.nav };
9517
9525
  const isOnFirstPage = activePage === 1;
9518
9526
  const isOnLastPage = activePage === pagesLength;
9519
- const navigation = withPagination ? /* @__PURE__ */ (0, import_jsx_runtime241.jsx)("nav", { ref, "aria-label": "paginering", ...navProps, children: /* @__PURE__ */ (0, import_jsx_runtime241.jsxs)("ol", { className: Pagination_default.list, children: [
9520
- /* @__PURE__ */ (0, import_jsx_runtime241.jsx)(
9527
+ const navigation = withPagination ? /* @__PURE__ */ (0, import_jsx_runtime242.jsx)("nav", { ref, "aria-label": "paginering", ...navProps, children: /* @__PURE__ */ (0, import_jsx_runtime242.jsxs)("ol", { className: Pagination_default.list, children: [
9528
+ /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(
9521
9529
  "li",
9522
9530
  {
9523
9531
  className: cn(
@@ -9529,7 +9537,7 @@ var Pagination = (0, import_react82.forwardRef)(
9529
9537
  }
9530
9538
  ),
9531
9539
  listItems,
9532
- /* @__PURE__ */ (0, import_jsx_runtime241.jsx)(
9540
+ /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(
9533
9541
  "li",
9534
9542
  {
9535
9543
  className: cn(
@@ -9541,8 +9549,8 @@ var Pagination = (0, import_react82.forwardRef)(
9541
9549
  }
9542
9550
  )
9543
9551
  ] }) }) : null;
9544
- const smallScreenNavigation = withPagination ? /* @__PURE__ */ (0, import_jsx_runtime241.jsx)("nav", { ref, "aria-label": "paginering", ...navProps, children: /* @__PURE__ */ (0, import_jsx_runtime241.jsxs)("ol", { className: Pagination_default.list, children: [
9545
- /* @__PURE__ */ (0, import_jsx_runtime241.jsx)(
9552
+ const smallScreenNavigation = withPagination ? /* @__PURE__ */ (0, import_jsx_runtime242.jsx)("nav", { ref, "aria-label": "paginering", ...navProps, children: /* @__PURE__ */ (0, import_jsx_runtime242.jsxs)("ol", { className: Pagination_default.list, children: [
9553
+ /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(
9546
9554
  "li",
9547
9555
  {
9548
9556
  className: cn(
@@ -9550,7 +9558,7 @@ var Pagination = (0, import_react82.forwardRef)(
9550
9558
  isOnFirstPage && Pagination_default["list__item--hidden"]
9551
9559
  ),
9552
9560
  "aria-hidden": isOnFirstPage,
9553
- children: /* @__PURE__ */ (0, import_jsx_runtime241.jsx)(
9561
+ children: /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(
9554
9562
  Button,
9555
9563
  {
9556
9564
  purpose: "secondary",
@@ -9564,7 +9572,7 @@ var Pagination = (0, import_react82.forwardRef)(
9564
9572
  )
9565
9573
  }
9566
9574
  ),
9567
- /* @__PURE__ */ (0, import_jsx_runtime241.jsx)(
9575
+ /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(
9568
9576
  "li",
9569
9577
  {
9570
9578
  className: cn(
@@ -9575,7 +9583,7 @@ var Pagination = (0, import_react82.forwardRef)(
9575
9583
  children: previousPageButton
9576
9584
  }
9577
9585
  ),
9578
- /* @__PURE__ */ (0, import_jsx_runtime241.jsx)("li", { className: Pagination_default.list__item, children: /* @__PURE__ */ (0, import_jsx_runtime241.jsx)(
9586
+ /* @__PURE__ */ (0, import_jsx_runtime242.jsx)("li", { className: Pagination_default.list__item, children: /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(
9579
9587
  Button,
9580
9588
  {
9581
9589
  size: "small",
@@ -9585,7 +9593,7 @@ var Pagination = (0, import_react82.forwardRef)(
9585
9593
  children: activePage
9586
9594
  }
9587
9595
  ) }),
9588
- /* @__PURE__ */ (0, import_jsx_runtime241.jsx)(
9596
+ /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(
9589
9597
  "li",
9590
9598
  {
9591
9599
  className: cn(
@@ -9596,7 +9604,7 @@ var Pagination = (0, import_react82.forwardRef)(
9596
9604
  children: nextPageButton
9597
9605
  }
9598
9606
  ),
9599
- /* @__PURE__ */ (0, import_jsx_runtime241.jsx)(
9607
+ /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(
9600
9608
  "li",
9601
9609
  {
9602
9610
  className: cn(
@@ -9604,7 +9612,7 @@ var Pagination = (0, import_react82.forwardRef)(
9604
9612
  isOnLastPage && Pagination_default["list__item--hidden"]
9605
9613
  ),
9606
9614
  "aria-hidden": isOnLastPage,
9607
- children: /* @__PURE__ */ (0, import_jsx_runtime241.jsx)(
9615
+ children: /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(
9608
9616
  Button,
9609
9617
  {
9610
9618
  purpose: "secondary",
@@ -9622,7 +9630,7 @@ var Pagination = (0, import_react82.forwardRef)(
9622
9630
  const activePageFirstItem = activePage === 1 ? 1 : activePage * itemsPerPage - itemsPerPage + 1;
9623
9631
  const activePageLastItem = activePage === pagesLength ? itemsAmount : activePage * itemsPerPage;
9624
9632
  const navigationToBeRendered = smallScreen ? smallScreenNavigation : navigation;
9625
- return !withCounter && !withSelect ? navigationToBeRendered : /* @__PURE__ */ (0, import_jsx_runtime241.jsxs)(
9633
+ return !withCounter && !withSelect ? navigationToBeRendered : /* @__PURE__ */ (0, import_jsx_runtime242.jsxs)(
9626
9634
  "div",
9627
9635
  {
9628
9636
  ...getBaseHTMLProps(
@@ -9636,8 +9644,8 @@ var Pagination = (0, import_react82.forwardRef)(
9636
9644
  rest
9637
9645
  ),
9638
9646
  children: [
9639
- /* @__PURE__ */ (0, import_jsx_runtime241.jsxs)("div", { className: Pagination_default.indicators, children: [
9640
- withSelect && /* @__PURE__ */ (0, import_jsx_runtime241.jsx)(
9647
+ /* @__PURE__ */ (0, import_jsx_runtime242.jsxs)("div", { className: Pagination_default.indicators, children: [
9648
+ withSelect && /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(
9641
9649
  Select,
9642
9650
  {
9643
9651
  options: selectOptions,
@@ -9653,7 +9661,7 @@ var Pagination = (0, import_react82.forwardRef)(
9653
9661
  "aria-label": "Antall elementer per side"
9654
9662
  }
9655
9663
  ),
9656
- withCounter && /* @__PURE__ */ (0, import_jsx_runtime241.jsxs)(Typography, { typographyType: "supportingStyleLabel01", as: "p", children: [
9664
+ withCounter && /* @__PURE__ */ (0, import_jsx_runtime242.jsxs)(Typography, { typographyType: "supportingStyleLabel01", as: "p", children: [
9657
9665
  "Viser ",
9658
9666
  activePageFirstItem,
9659
9667
  "-",
@@ -9683,7 +9691,7 @@ var Popover_default = {
9683
9691
  };
9684
9692
 
9685
9693
  // src/components/Popover/Popover.tsx
9686
- var import_jsx_runtime242 = require("react/jsx-runtime");
9694
+ var import_jsx_runtime243 = require("react/jsx-runtime");
9687
9695
  var Popover = (0, import_react83.forwardRef)(
9688
9696
  (props, ref) => {
9689
9697
  const {
@@ -9724,7 +9732,7 @@ var Popover = (0, import_react83.forwardRef)(
9724
9732
  useOnClickOutside(elements, () => {
9725
9733
  if (isOpen) onClose && onClose();
9726
9734
  });
9727
- return isOpen || hasTransitionedIn ? /* @__PURE__ */ (0, import_jsx_runtime242.jsxs)(
9735
+ return isOpen || hasTransitionedIn ? /* @__PURE__ */ (0, import_jsx_runtime243.jsxs)(
9728
9736
  Paper,
9729
9737
  {
9730
9738
  ...getBaseHTMLProps(id, className, htmlProps, rest),
@@ -9741,15 +9749,15 @@ var Popover = (0, import_react83.forwardRef)(
9741
9749
  focus_default.focusable
9742
9750
  ),
9743
9751
  children: [
9744
- title && /* @__PURE__ */ (0, import_jsx_runtime242.jsx)("div", { className: Popover_default.title, children: typeof title === "string" ? /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(Typography, { typographyType: "headingSans02", children: title }) : title }),
9745
- /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(
9752
+ title && /* @__PURE__ */ (0, import_jsx_runtime243.jsx)("div", { className: Popover_default.title, children: typeof title === "string" ? /* @__PURE__ */ (0, import_jsx_runtime243.jsx)(Typography, { typographyType: "headingSans02", children: title }) : title }),
9753
+ /* @__PURE__ */ (0, import_jsx_runtime243.jsx)(
9746
9754
  "div",
9747
9755
  {
9748
9756
  className: !hasTitle && withCloseButton ? Popover_default["content--closable--no-title"] : "",
9749
9757
  children
9750
9758
  }
9751
9759
  ),
9752
- withCloseButton && /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(
9760
+ withCloseButton && /* @__PURE__ */ (0, import_jsx_runtime243.jsx)(
9753
9761
  Button,
9754
9762
  {
9755
9763
  icon: CloseIcon,
@@ -9769,7 +9777,7 @@ Popover.displayName = "Popover";
9769
9777
 
9770
9778
  // src/components/Popover/PopoverGroup.tsx
9771
9779
  var import_react84 = require("react");
9772
- var import_jsx_runtime243 = require("react/jsx-runtime");
9780
+ var import_jsx_runtime244 = require("react/jsx-runtime");
9773
9781
  var PopoverGroup = ({
9774
9782
  isOpen = false,
9775
9783
  onCloseButtonClick,
@@ -9815,7 +9823,7 @@ var PopoverGroup = ({
9815
9823
  onClose: handleClose
9816
9824
  }));
9817
9825
  });
9818
- return /* @__PURE__ */ (0, import_jsx_runtime243.jsx)(import_jsx_runtime243.Fragment, { children: Children8 });
9826
+ return /* @__PURE__ */ (0, import_jsx_runtime244.jsx)(import_jsx_runtime244.Fragment, { children: Children8 });
9819
9827
  };
9820
9828
  PopoverGroup.displayName = "PopoverGroup";
9821
9829
 
@@ -9854,7 +9862,7 @@ var ProgressTracker_default = {
9854
9862
 
9855
9863
  // src/components/ProgressTracker/ProgressTrackerItem.tsx
9856
9864
  var import_react86 = require("react");
9857
- var import_jsx_runtime244 = require("react/jsx-runtime");
9865
+ var import_jsx_runtime245 = require("react/jsx-runtime");
9858
9866
  var toItemState = (active, completed, disabled) => {
9859
9867
  if (disabled) {
9860
9868
  return "disabled";
@@ -9886,15 +9894,15 @@ var ProgressTrackerItem = (props) => {
9886
9894
  const itemState = toItemState(active, completed, disabled);
9887
9895
  const stepNumberContent = (0, import_react86.useMemo)(() => {
9888
9896
  if (completed) {
9889
- return /* @__PURE__ */ (0, import_jsx_runtime244.jsx)(Icon, { icon: CheckIcon, iconSize: "small" });
9897
+ return /* @__PURE__ */ (0, import_jsx_runtime245.jsx)(Icon, { icon: CheckIcon, iconSize: "small" });
9890
9898
  }
9891
9899
  if (icon2 !== void 0) {
9892
- return /* @__PURE__ */ (0, import_jsx_runtime244.jsx)(Icon, { icon: icon2, iconSize: "small" });
9900
+ return /* @__PURE__ */ (0, import_jsx_runtime245.jsx)(Icon, { icon: icon2, iconSize: "small" });
9893
9901
  }
9894
9902
  return index + 1;
9895
9903
  }, [completed, icon2, index]);
9896
- const stepContent = /* @__PURE__ */ (0, import_jsx_runtime244.jsxs)(import_jsx_runtime244.Fragment, { children: [
9897
- /* @__PURE__ */ (0, import_jsx_runtime244.jsx)(
9904
+ const stepContent = /* @__PURE__ */ (0, import_jsx_runtime245.jsxs)(import_jsx_runtime245.Fragment, { children: [
9905
+ /* @__PURE__ */ (0, import_jsx_runtime245.jsx)(
9898
9906
  "div",
9899
9907
  {
9900
9908
  "aria-hidden": true,
@@ -9906,7 +9914,7 @@ var ProgressTrackerItem = (props) => {
9906
9914
  children: stepNumberContent
9907
9915
  }
9908
9916
  ),
9909
- /* @__PURE__ */ (0, import_jsx_runtime244.jsxs)(
9917
+ /* @__PURE__ */ (0, import_jsx_runtime245.jsxs)(
9910
9918
  "div",
9911
9919
  {
9912
9920
  className: cn(
@@ -9915,13 +9923,13 @@ var ProgressTrackerItem = (props) => {
9915
9923
  typographyStyles_default["body-sans-03"]
9916
9924
  ),
9917
9925
  children: [
9918
- /* @__PURE__ */ (0, import_jsx_runtime244.jsx)(VisuallyHidden, { as: "span", children: getVisuallyHiddenText(active, completed, index) }),
9926
+ /* @__PURE__ */ (0, import_jsx_runtime245.jsx)(VisuallyHidden, { as: "span", children: getVisuallyHiddenText(active, completed, index) }),
9919
9927
  children
9920
9928
  ]
9921
9929
  }
9922
9930
  )
9923
9931
  ] });
9924
- return /* @__PURE__ */ (0, import_jsx_runtime244.jsx)("li", { "aria-current": active ? "step" : void 0, className: ProgressTracker_default.item, children: handleStepChange ? /* @__PURE__ */ (0, import_jsx_runtime244.jsx)(
9932
+ return /* @__PURE__ */ (0, import_jsx_runtime245.jsx)("li", { "aria-current": active ? "step" : void 0, className: ProgressTracker_default.item, children: handleStepChange ? /* @__PURE__ */ (0, import_jsx_runtime245.jsx)(
9925
9933
  "button",
9926
9934
  {
9927
9935
  onClick: !disabled && handleStepChange ? () => handleStepChange(index) : void 0,
@@ -9929,12 +9937,12 @@ var ProgressTrackerItem = (props) => {
9929
9937
  className: cn(ProgressTracker_default["item-button"], focusable),
9930
9938
  children: stepContent
9931
9939
  }
9932
- ) : /* @__PURE__ */ (0, import_jsx_runtime244.jsx)("div", { className: cn(ProgressTracker_default["item-button"], ProgressTracker_default["item-div"]), children: stepContent }) });
9940
+ ) : /* @__PURE__ */ (0, import_jsx_runtime245.jsx)("div", { className: cn(ProgressTracker_default["item-button"], ProgressTracker_default["item-div"]), children: stepContent }) });
9933
9941
  };
9934
9942
  ProgressTrackerItem.displayName = "ProgressTracker.Item";
9935
9943
 
9936
9944
  // src/components/ProgressTracker/ProgressTracker.tsx
9937
- var import_jsx_runtime245 = require("react/jsx-runtime");
9945
+ var import_jsx_runtime246 = require("react/jsx-runtime");
9938
9946
  var ProgressTracker = (() => {
9939
9947
  const Res = (0, import_react87.forwardRef)((props, ref) => {
9940
9948
  const {
@@ -9966,14 +9974,14 @@ var ProgressTracker = (() => {
9966
9974
  const itemsWithConnectorsBetween = intersperseItemsWithConnector(itemsWithIndex);
9967
9975
  return itemsWithConnectorsBetween;
9968
9976
  }, [children]);
9969
- return /* @__PURE__ */ (0, import_jsx_runtime245.jsx)(
9977
+ return /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(
9970
9978
  ProgressTrackerContext.Provider,
9971
9979
  {
9972
9980
  value: {
9973
9981
  activeStep: thisActiveStep,
9974
9982
  handleStepChange: handleChange
9975
9983
  },
9976
- children: /* @__PURE__ */ (0, import_jsx_runtime245.jsx)("div", { role: "group", "aria-label": "progress", ...containerProps, children: /* @__PURE__ */ (0, import_jsx_runtime245.jsx)("ol", { className: ProgressTracker_default.list, children: steps }) })
9984
+ children: /* @__PURE__ */ (0, import_jsx_runtime246.jsx)("div", { role: "group", "aria-label": "progress", ...containerProps, children: /* @__PURE__ */ (0, import_jsx_runtime246.jsx)("ol", { className: ProgressTracker_default.list, children: steps }) })
9977
9985
  }
9978
9986
  );
9979
9987
  });
@@ -9997,8 +10005,8 @@ var intersperseItemsWithConnector = (children) => import_react87.Children.map(ch
9997
10005
  if (index === 0) {
9998
10006
  return child;
9999
10007
  }
10000
- return /* @__PURE__ */ (0, import_jsx_runtime245.jsxs)(import_react87.Fragment, { children: [
10001
- /* @__PURE__ */ (0, import_jsx_runtime245.jsx)("div", { "aria-hidden": true, className: ProgressTracker_default.connector }),
10008
+ return /* @__PURE__ */ (0, import_jsx_runtime246.jsxs)(import_react87.Fragment, { children: [
10009
+ /* @__PURE__ */ (0, import_jsx_runtime246.jsx)("div", { "aria-hidden": true, className: ProgressTracker_default.connector }),
10002
10010
  child
10003
10011
  ] }, index);
10004
10012
  });
@@ -10061,7 +10069,7 @@ function createEmptyChangeEvent(inputElementId) {
10061
10069
 
10062
10070
  // src/components/Search/SearchSuggestions.tsx
10063
10071
  var import_react89 = require("react");
10064
- var import_jsx_runtime246 = require("react/jsx-runtime");
10072
+ var import_jsx_runtime247 = require("react/jsx-runtime");
10065
10073
  var SearchSuggestions = (0, import_react89.forwardRef)((props, ref) => {
10066
10074
  const {
10067
10075
  id,
@@ -10081,14 +10089,14 @@ var SearchSuggestions = (0, import_react89.forwardRef)((props, ref) => {
10081
10089
  );
10082
10090
  const [focus] = useRoveFocus(suggestions == null ? void 0 : suggestions.length, showSuggestions);
10083
10091
  const suggestionsToRender = maxSuggestions ? suggestions == null ? void 0 : suggestions.slice(maxSuggestions) : suggestions;
10084
- const renderedSuggestions = /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(
10092
+ const renderedSuggestions = /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(
10085
10093
  "ul",
10086
10094
  {
10087
10095
  role: "listbox",
10088
10096
  "aria-labelledby": suggestionsHeaderId,
10089
10097
  className: utilStyles_default["remove-list-styling"],
10090
10098
  children: suggestionsToRender.map((suggestion, index) => {
10091
- return /* @__PURE__ */ (0, import_jsx_runtime246.jsx)("li", { role: "option", children: /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(
10099
+ return /* @__PURE__ */ (0, import_jsx_runtime247.jsx)("li", { role: "option", children: /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(
10092
10100
  OverflowMenuItem,
10093
10101
  {
10094
10102
  index,
@@ -10104,7 +10112,7 @@ var SearchSuggestions = (0, import_react89.forwardRef)((props, ref) => {
10104
10112
  })
10105
10113
  }
10106
10114
  );
10107
- return /* @__PURE__ */ (0, import_jsx_runtime246.jsxs)(
10115
+ return /* @__PURE__ */ (0, import_jsx_runtime247.jsxs)(
10108
10116
  Paper,
10109
10117
  {
10110
10118
  ...getBaseHTMLProps(
@@ -10123,7 +10131,7 @@ var SearchSuggestions = (0, import_react89.forwardRef)((props, ref) => {
10123
10131
  "aria-hidden": !showSuggestions,
10124
10132
  border: "default",
10125
10133
  children: [
10126
- /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(
10134
+ /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(
10127
10135
  "span",
10128
10136
  {
10129
10137
  id: suggestionsHeaderId,
@@ -10142,7 +10150,7 @@ var SearchSuggestions = (0, import_react89.forwardRef)((props, ref) => {
10142
10150
  SearchSuggestions.displayName = "SearchSuggestions";
10143
10151
 
10144
10152
  // src/components/Search/Search.tsx
10145
- var import_jsx_runtime247 = require("react/jsx-runtime");
10153
+ var import_jsx_runtime248 = require("react/jsx-runtime");
10146
10154
  var getIconSize = (size2) => {
10147
10155
  switch (size2) {
10148
10156
  case "large":
@@ -10197,10 +10205,10 @@ var Search = (0, import_react90.forwardRef)(
10197
10205
  } = buttonProps != null ? buttonProps : {};
10198
10206
  const hasSuggestions = !!context.suggestions;
10199
10207
  const showSearchButton = !!buttonProps && !!onClick;
10200
- return /* @__PURE__ */ (0, import_jsx_runtime247.jsxs)("div", { className: Search_default.container, children: [
10201
- hasLabel && /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(Label, { htmlFor: uniqueId, children: label }),
10202
- /* @__PURE__ */ (0, import_jsx_runtime247.jsxs)("div", { children: [
10203
- /* @__PURE__ */ (0, import_jsx_runtime247.jsxs)(
10208
+ return /* @__PURE__ */ (0, import_jsx_runtime248.jsxs)("div", { className: Search_default.container, children: [
10209
+ hasLabel && /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(Label, { htmlFor: uniqueId, children: label }),
10210
+ /* @__PURE__ */ (0, import_jsx_runtime248.jsxs)("div", { children: [
10211
+ /* @__PURE__ */ (0, import_jsx_runtime248.jsxs)(
10204
10212
  "div",
10205
10213
  {
10206
10214
  className: cn(
@@ -10209,8 +10217,8 @@ var Search = (0, import_react90.forwardRef)(
10209
10217
  ),
10210
10218
  style,
10211
10219
  children: [
10212
- /* @__PURE__ */ (0, import_jsx_runtime247.jsxs)("div", { className: Search_default["input-group"], children: [
10213
- /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(
10220
+ /* @__PURE__ */ (0, import_jsx_runtime248.jsxs)("div", { className: Search_default["input-group"], children: [
10221
+ /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(
10214
10222
  Icon,
10215
10223
  {
10216
10224
  icon: SearchIcon,
@@ -10218,7 +10226,7 @@ var Search = (0, import_react90.forwardRef)(
10218
10226
  className: cn(Search_default["search-icon"])
10219
10227
  }
10220
10228
  ),
10221
- /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(
10229
+ /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(
10222
10230
  Input,
10223
10231
  {
10224
10232
  ...rest,
@@ -10246,8 +10254,8 @@ var Search = (0, import_react90.forwardRef)(
10246
10254
  )
10247
10255
  }
10248
10256
  ),
10249
- hasSuggestions && /* @__PURE__ */ (0, import_jsx_runtime247.jsxs)(import_jsx_runtime247.Fragment, { children: [
10250
- /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(
10257
+ hasSuggestions && /* @__PURE__ */ (0, import_jsx_runtime248.jsxs)(import_jsx_runtime248.Fragment, { children: [
10258
+ /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(
10251
10259
  SearchSuggestions,
10252
10260
  {
10253
10261
  id: suggestionsId,
@@ -10259,9 +10267,9 @@ var Search = (0, import_react90.forwardRef)(
10259
10267
  componentSize
10260
10268
  }
10261
10269
  ),
10262
- /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(VisuallyHidden, { id: suggestionsDescriptionId, as: "span", children: "Bla i s\xF8keforslag med piltaster n\xE5r listen er utvidet." })
10270
+ /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(VisuallyHidden, { id: suggestionsDescriptionId, as: "span", children: "Bla i s\xF8keforslag med piltaster n\xE5r listen er utvidet." })
10263
10271
  ] }),
10264
- hasValue && /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(
10272
+ hasValue && /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(
10265
10273
  Button,
10266
10274
  {
10267
10275
  icon: CloseSmallIcon,
@@ -10273,7 +10281,7 @@ var Search = (0, import_react90.forwardRef)(
10273
10281
  }
10274
10282
  )
10275
10283
  ] }),
10276
- showSearchButton && /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(
10284
+ showSearchButton && /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(
10277
10285
  Button,
10278
10286
  {
10279
10287
  size: componentSize,
@@ -10294,7 +10302,7 @@ Search.displayName = "Search";
10294
10302
 
10295
10303
  // src/components/Search/SearchAutocompleteWrapper.tsx
10296
10304
  var import_react91 = require("react");
10297
- var import_jsx_runtime248 = require("react/jsx-runtime");
10305
+ var import_jsx_runtime249 = require("react/jsx-runtime");
10298
10306
  var SearchAutocompleteWrapper = (props) => {
10299
10307
  const {
10300
10308
  value,
@@ -10370,7 +10378,7 @@ var SearchAutocompleteWrapper = (props) => {
10370
10378
  inputValue,
10371
10379
  onSugggestionClick: handleSuggestionClick
10372
10380
  };
10373
- return /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(AutocompleteSearchContext.Provider, { value: contextProps, children });
10381
+ return /* @__PURE__ */ (0, import_jsx_runtime249.jsx)(AutocompleteSearchContext.Provider, { value: contextProps, children });
10374
10382
  };
10375
10383
  SearchAutocompleteWrapper.displayName = "SearchAutocompleteWrapper";
10376
10384
 
@@ -10410,10 +10418,10 @@ var SelectionControl_default = {
10410
10418
  };
10411
10419
 
10412
10420
  // src/components/SelectionControl/SelectionControl.styles.tsx
10413
- var import_jsx_runtime249 = require("react/jsx-runtime");
10421
+ var import_jsx_runtime250 = require("react/jsx-runtime");
10414
10422
  var SelectionControl = (0, import_react93.forwardRef)((props, ref) => {
10415
10423
  const { controlType, className, ...rest } = props;
10416
- return /* @__PURE__ */ (0, import_jsx_runtime249.jsx)(
10424
+ return /* @__PURE__ */ (0, import_jsx_runtime250.jsx)(
10417
10425
  "span",
10418
10426
  {
10419
10427
  ref,
@@ -10437,7 +10445,7 @@ var Label2 = (0, import_react93.forwardRef)(
10437
10445
  className,
10438
10446
  ...rest
10439
10447
  } = props;
10440
- return /* @__PURE__ */ (0, import_jsx_runtime249.jsx)(
10448
+ return /* @__PURE__ */ (0, import_jsx_runtime250.jsx)(
10441
10449
  "label",
10442
10450
  {
10443
10451
  ref,
@@ -10468,7 +10476,7 @@ var selectionControlTypographyProps = {
10468
10476
  };
10469
10477
 
10470
10478
  // src/components/SelectionControl/Checkbox/Checkbox.tsx
10471
- var import_jsx_runtime250 = require("react/jsx-runtime");
10479
+ var import_jsx_runtime251 = require("react/jsx-runtime");
10472
10480
  var Checkbox = (0, import_react94.forwardRef)(
10473
10481
  (props, ref) => {
10474
10482
  const {
@@ -10493,7 +10501,7 @@ var Checkbox = (0, import_react94.forwardRef)(
10493
10501
  className: htmlPropsClassName,
10494
10502
  ...restHtmlProps
10495
10503
  } = htmlProps;
10496
- return /* @__PURE__ */ (0, import_jsx_runtime250.jsxs)(
10504
+ return /* @__PURE__ */ (0, import_jsx_runtime251.jsxs)(
10497
10505
  Label2,
10498
10506
  {
10499
10507
  hasError: error || (checkboxGroup == null ? void 0 : checkboxGroup.error),
@@ -10505,7 +10513,7 @@ var Checkbox = (0, import_react94.forwardRef)(
10505
10513
  className: cn(className, htmlPropsClassName),
10506
10514
  style,
10507
10515
  children: [
10508
- /* @__PURE__ */ (0, import_jsx_runtime250.jsx)(
10516
+ /* @__PURE__ */ (0, import_jsx_runtime251.jsx)(
10509
10517
  "input",
10510
10518
  {
10511
10519
  ...getBaseHTMLProps(uniqueId, restHtmlProps, rest),
@@ -10529,14 +10537,14 @@ var Checkbox = (0, import_react94.forwardRef)(
10529
10537
  )
10530
10538
  }
10531
10539
  ),
10532
- /* @__PURE__ */ (0, import_jsx_runtime250.jsx)(
10540
+ /* @__PURE__ */ (0, import_jsx_runtime251.jsx)(
10533
10541
  SelectionControl,
10534
10542
  {
10535
10543
  controlType: "checkbox",
10536
10544
  className: focus_default["focus-styled-sibling"]
10537
10545
  }
10538
10546
  ),
10539
- hasLabel && /* @__PURE__ */ (0, import_jsx_runtime250.jsx)(Typography, { ...selectionControlTypographyProps, children: label })
10547
+ hasLabel && /* @__PURE__ */ (0, import_jsx_runtime251.jsx)(Typography, { ...selectionControlTypographyProps, children: label })
10540
10548
  ]
10541
10549
  }
10542
10550
  );
@@ -10546,7 +10554,7 @@ Checkbox.displayName = "Checkbox";
10546
10554
 
10547
10555
  // src/components/SelectionControl/Checkbox/CheckboxGroup.tsx
10548
10556
  var import_react95 = require("react");
10549
- var import_jsx_runtime251 = require("react/jsx-runtime");
10557
+ var import_jsx_runtime252 = require("react/jsx-runtime");
10550
10558
  var CheckboxGroup = (props) => {
10551
10559
  const {
10552
10560
  label,
@@ -10578,7 +10586,7 @@ var CheckboxGroup = (props) => {
10578
10586
  disabled,
10579
10587
  readOnly
10580
10588
  };
10581
- return /* @__PURE__ */ (0, import_jsx_runtime251.jsxs)(
10589
+ return /* @__PURE__ */ (0, import_jsx_runtime252.jsxs)(
10582
10590
  "div",
10583
10591
  {
10584
10592
  ...getBaseHTMLProps(
@@ -10588,7 +10596,7 @@ var CheckboxGroup = (props) => {
10588
10596
  rest
10589
10597
  ),
10590
10598
  children: [
10591
- /* @__PURE__ */ (0, import_jsx_runtime251.jsxs)(
10599
+ /* @__PURE__ */ (0, import_jsx_runtime252.jsxs)(
10592
10600
  Typography,
10593
10601
  {
10594
10602
  as: "span",
@@ -10597,12 +10605,12 @@ var CheckboxGroup = (props) => {
10597
10605
  children: [
10598
10606
  label,
10599
10607
  " ",
10600
- showRequiredMarker && /* @__PURE__ */ (0, import_jsx_runtime251.jsx)(RequiredMarker, {})
10608
+ showRequiredMarker && /* @__PURE__ */ (0, import_jsx_runtime252.jsx)(RequiredMarker, {})
10601
10609
  ]
10602
10610
  }
10603
10611
  ),
10604
10612
  renderInputMessage(tip, tipId),
10605
- /* @__PURE__ */ (0, import_jsx_runtime251.jsx)(CheckboxGroupContext.Provider, { value: { ...contextProps }, children: /* @__PURE__ */ (0, import_jsx_runtime251.jsx)(
10613
+ /* @__PURE__ */ (0, import_jsx_runtime252.jsx)(CheckboxGroupContext.Provider, { value: { ...contextProps }, children: /* @__PURE__ */ (0, import_jsx_runtime252.jsx)(
10606
10614
  "div",
10607
10615
  {
10608
10616
  role: "group",
@@ -10630,7 +10638,7 @@ var useRadioButtonGroup = () => {
10630
10638
  };
10631
10639
 
10632
10640
  // src/components/SelectionControl/RadioButton/RadioButton.tsx
10633
- var import_jsx_runtime252 = require("react/jsx-runtime");
10641
+ var import_jsx_runtime253 = require("react/jsx-runtime");
10634
10642
  var isValueEqualToGroupValueOrFalsy = (value, group) => {
10635
10643
  if (typeof value !== "undefined" && value !== null && group) {
10636
10644
  if (typeof value === "number") {
@@ -10676,7 +10684,7 @@ var RadioButton = (0, import_react97.forwardRef)(
10676
10684
  if (radioButtonGroup == null ? void 0 : radioButtonGroup.errorMessageId)
10677
10685
  describedByIds.push(radioButtonGroup == null ? void 0 : radioButtonGroup.errorMessageId);
10678
10686
  if (ariaDescribedby) describedByIds.push(ariaDescribedby);
10679
- return /* @__PURE__ */ (0, import_jsx_runtime252.jsxs)(
10687
+ return /* @__PURE__ */ (0, import_jsx_runtime253.jsxs)(
10680
10688
  Label2,
10681
10689
  {
10682
10690
  hasError: error || (radioButtonGroup == null ? void 0 : radioButtonGroup.error),
@@ -10688,7 +10696,7 @@ var RadioButton = (0, import_react97.forwardRef)(
10688
10696
  htmlFor: uniqueId,
10689
10697
  controlType: "radio",
10690
10698
  children: [
10691
- /* @__PURE__ */ (0, import_jsx_runtime252.jsx)(
10699
+ /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(
10692
10700
  "input",
10693
10701
  {
10694
10702
  ...getBaseHTMLProps(uniqueId, restHtmlProps, rest),
@@ -10708,14 +10716,14 @@ var RadioButton = (0, import_react97.forwardRef)(
10708
10716
  ref
10709
10717
  }
10710
10718
  ),
10711
- /* @__PURE__ */ (0, import_jsx_runtime252.jsx)(
10719
+ /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(
10712
10720
  SelectionControl,
10713
10721
  {
10714
10722
  controlType: "radio",
10715
10723
  className: focus_default["focus-styled-sibling"]
10716
10724
  }
10717
10725
  ),
10718
- /* @__PURE__ */ (0, import_jsx_runtime252.jsx)(Typography, { ...selectionControlTypographyProps, children: children != null ? children : label })
10726
+ /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(Typography, { ...selectionControlTypographyProps, children: children != null ? children : label })
10719
10727
  ]
10720
10728
  }
10721
10729
  );
@@ -10725,7 +10733,7 @@ RadioButton.displayName = "RadioButton";
10725
10733
 
10726
10734
  // src/components/SelectionControl/RadioButton/RadioButtonGroup.tsx
10727
10735
  var import_react98 = require("react");
10728
- var import_jsx_runtime253 = require("react/jsx-runtime");
10736
+ var import_jsx_runtime254 = require("react/jsx-runtime");
10729
10737
  var RadioButtonGroupInner = (props, ref) => {
10730
10738
  const {
10731
10739
  name,
@@ -10767,7 +10775,7 @@ var RadioButtonGroupInner = (props, ref) => {
10767
10775
  value: groupValue,
10768
10776
  onChange: handleChange
10769
10777
  };
10770
- return /* @__PURE__ */ (0, import_jsx_runtime253.jsxs)(
10778
+ return /* @__PURE__ */ (0, import_jsx_runtime254.jsxs)(
10771
10779
  "div",
10772
10780
  {
10773
10781
  ...getBaseHTMLProps(
@@ -10778,7 +10786,7 @@ var RadioButtonGroupInner = (props, ref) => {
10778
10786
  ),
10779
10787
  ref,
10780
10788
  children: [
10781
- /* @__PURE__ */ (0, import_jsx_runtime253.jsxs)(
10789
+ /* @__PURE__ */ (0, import_jsx_runtime254.jsxs)(
10782
10790
  Typography,
10783
10791
  {
10784
10792
  as: "span",
@@ -10787,12 +10795,12 @@ var RadioButtonGroupInner = (props, ref) => {
10787
10795
  children: [
10788
10796
  label,
10789
10797
  " ",
10790
- showRequiredMarker && /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(RequiredMarker, {})
10798
+ showRequiredMarker && /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(RequiredMarker, {})
10791
10799
  ]
10792
10800
  }
10793
10801
  ),
10794
10802
  renderInputMessage(tip, tipId),
10795
- /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(RadioButtonGroupContext.Provider, { value: { ...contextProps }, children: /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(
10803
+ /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(RadioButtonGroupContext.Provider, { value: { ...contextProps }, children: /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(
10796
10804
  "div",
10797
10805
  {
10798
10806
  role: "radiogroup",
@@ -10821,7 +10829,7 @@ var SkipToContent_default = {
10821
10829
  };
10822
10830
 
10823
10831
  // src/components/SkipToContent/SkipToContent.tsx
10824
- var import_jsx_runtime254 = require("react/jsx-runtime");
10832
+ var import_jsx_runtime255 = require("react/jsx-runtime");
10825
10833
  var SkipToContent = (0, import_react99.forwardRef)(
10826
10834
  (props, ref) => {
10827
10835
  const {
@@ -10837,12 +10845,12 @@ var SkipToContent = (0, import_react99.forwardRef)(
10837
10845
  style,
10838
10846
  ...restHtmlProps
10839
10847
  } = htmlProps;
10840
- return /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(
10848
+ return /* @__PURE__ */ (0, import_jsx_runtime255.jsx)(
10841
10849
  "div",
10842
10850
  {
10843
10851
  className: cn(className, htmlPropsClassName, SkipToContent_default.wrapper),
10844
10852
  style: { ...style, top },
10845
- children: /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(
10853
+ children: /* @__PURE__ */ (0, import_jsx_runtime255.jsx)(
10846
10854
  Link,
10847
10855
  {
10848
10856
  ...getBaseHTMLProps(id, restHtmlProps, rest),
@@ -10870,7 +10878,7 @@ var SplitButton_default = {
10870
10878
  };
10871
10879
 
10872
10880
  // src/components/SplitButton/SplitButton.tsx
10873
- var import_jsx_runtime255 = require("react/jsx-runtime");
10881
+ var import_jsx_runtime256 = require("react/jsx-runtime");
10874
10882
  var SplitButton = (0, import_react100.forwardRef)(
10875
10883
  (props, ref) => {
10876
10884
  const {
@@ -10886,8 +10894,8 @@ var SplitButton = (0, import_react100.forwardRef)(
10886
10894
  purpose,
10887
10895
  size: size2
10888
10896
  };
10889
- return /* @__PURE__ */ (0, import_jsx_runtime255.jsxs)("div", { ref, className: cn(className, SplitButton_default.container), ...rest, children: [
10890
- /* @__PURE__ */ (0, import_jsx_runtime255.jsx)(
10897
+ return /* @__PURE__ */ (0, import_jsx_runtime256.jsxs)("div", { ref, className: cn(className, SplitButton_default.container), ...rest, children: [
10898
+ /* @__PURE__ */ (0, import_jsx_runtime256.jsx)(
10891
10899
  Button,
10892
10900
  {
10893
10901
  ...buttonStyleProps,
@@ -10896,8 +10904,8 @@ var SplitButton = (0, import_react100.forwardRef)(
10896
10904
  className: SplitButton_default.main
10897
10905
  }
10898
10906
  ),
10899
- /* @__PURE__ */ (0, import_jsx_runtime255.jsxs)(OverflowMenuGroup, { onToggle: () => setIsOpen(!isOpen), children: [
10900
- /* @__PURE__ */ (0, import_jsx_runtime255.jsx)(
10907
+ /* @__PURE__ */ (0, import_jsx_runtime256.jsxs)(OverflowMenuGroup, { onToggle: () => setIsOpen(!isOpen), children: [
10908
+ /* @__PURE__ */ (0, import_jsx_runtime256.jsx)(
10901
10909
  Button,
10902
10910
  {
10903
10911
  ...buttonStyleProps,
@@ -10910,7 +10918,7 @@ var SplitButton = (0, import_react100.forwardRef)(
10910
10918
  )
10911
10919
  }
10912
10920
  ),
10913
- /* @__PURE__ */ (0, import_jsx_runtime255.jsx)(OverflowMenu, { items: secondaryActions, placement: "bottom-end" })
10921
+ /* @__PURE__ */ (0, import_jsx_runtime256.jsx)(OverflowMenu, { items: secondaryActions, placement: "bottom-end" })
10914
10922
  ] })
10915
10923
  ] });
10916
10924
  }
@@ -10930,10 +10938,10 @@ var useCollapsibleTableContext = () => (0, import_react101.useContext)(Collapsib
10930
10938
 
10931
10939
  // src/components/Table/normal/Body.tsx
10932
10940
  var import_react102 = require("react");
10933
- var import_jsx_runtime256 = require("react/jsx-runtime");
10941
+ var import_jsx_runtime257 = require("react/jsx-runtime");
10934
10942
  var Body = (0, import_react102.forwardRef)(
10935
10943
  (props, ref) => {
10936
- return /* @__PURE__ */ (0, import_jsx_runtime256.jsx)("tbody", { ref, ...props });
10944
+ return /* @__PURE__ */ (0, import_jsx_runtime257.jsx)("tbody", { ref, ...props });
10937
10945
  }
10938
10946
  );
10939
10947
  Body.displayName = "Table.Body";
@@ -10943,10 +10951,10 @@ var import_react104 = require("react");
10943
10951
 
10944
10952
  // src/components/Table/normal/Head.tsx
10945
10953
  var import_react103 = require("react");
10946
- var import_jsx_runtime257 = require("react/jsx-runtime");
10954
+ var import_jsx_runtime258 = require("react/jsx-runtime");
10947
10955
  var Head = (0, import_react103.forwardRef)(
10948
10956
  ({ children, ...rest }, ref) => {
10949
- return /* @__PURE__ */ (0, import_jsx_runtime257.jsx)("thead", { ref, ...rest, children: /* @__PURE__ */ (0, import_jsx_runtime257.jsx)(HeadContext.Provider, { value: true, children }) });
10957
+ return /* @__PURE__ */ (0, import_jsx_runtime258.jsx)("thead", { ref, ...rest, children: /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(HeadContext.Provider, { value: true, children }) });
10950
10958
  }
10951
10959
  );
10952
10960
  Head.displayName = "Table.Head";
@@ -10982,7 +10990,7 @@ var Table_default = {
10982
10990
  };
10983
10991
 
10984
10992
  // src/components/Table/normal/Cell.tsx
10985
- var import_jsx_runtime258 = require("react/jsx-runtime");
10993
+ var import_jsx_runtime259 = require("react/jsx-runtime");
10986
10994
  var Cell = (0, import_react104.forwardRef)(
10987
10995
  ({
10988
10996
  children,
@@ -10996,7 +11004,7 @@ var Cell = (0, import_react104.forwardRef)(
10996
11004
  const type = _type != null ? _type : isInHead ? "head" : "data";
10997
11005
  const { isCollapsibleChild } = collapsibleProps != null ? collapsibleProps : {};
10998
11006
  const isComplexLayout = layout === "text and icon";
10999
- return isCollapsibleChild ? /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(DescriptionListDesc, { children }) : type === "head" ? /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(
11007
+ return isCollapsibleChild ? /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(DescriptionListDesc, { children }) : type === "head" ? /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(
11000
11008
  "th",
11001
11009
  {
11002
11010
  ref,
@@ -11006,15 +11014,15 @@ var Cell = (0, import_react104.forwardRef)(
11006
11014
  !isComplexLayout && Table_default[`cell--${layout}`],
11007
11015
  Table_default["cell--head"]
11008
11016
  ),
11009
- children: isComplexLayout ? /* @__PURE__ */ (0, import_jsx_runtime258.jsx)("div", { className: Table_default.cell__inner, children }) : children
11017
+ children: isComplexLayout ? /* @__PURE__ */ (0, import_jsx_runtime259.jsx)("div", { className: Table_default.cell__inner, children }) : children
11010
11018
  }
11011
- ) : /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(
11019
+ ) : /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(
11012
11020
  "td",
11013
11021
  {
11014
11022
  ref,
11015
11023
  ...rest,
11016
11024
  className: cn(className, !isComplexLayout && Table_default[`cell--${layout}`]),
11017
- children: isComplexLayout ? /* @__PURE__ */ (0, import_jsx_runtime258.jsx)("div", { className: Table_default.cell__inner, children }) : children
11025
+ children: isComplexLayout ? /* @__PURE__ */ (0, import_jsx_runtime259.jsx)("div", { className: Table_default.cell__inner, children }) : children
11018
11026
  }
11019
11027
  );
11020
11028
  }
@@ -11023,22 +11031,22 @@ Cell.displayName = "Table.Cell";
11023
11031
 
11024
11032
  // src/components/Table/normal/Foot.tsx
11025
11033
  var import_react105 = require("react");
11026
- var import_jsx_runtime259 = require("react/jsx-runtime");
11034
+ var import_jsx_runtime260 = require("react/jsx-runtime");
11027
11035
  var Foot = (0, import_react105.forwardRef)(
11028
11036
  (props, ref) => {
11029
- return /* @__PURE__ */ (0, import_jsx_runtime259.jsx)("tfoot", { ref, ...props });
11037
+ return /* @__PURE__ */ (0, import_jsx_runtime260.jsx)("tfoot", { ref, ...props });
11030
11038
  }
11031
11039
  );
11032
11040
  Foot.displayName = "Table.Foot";
11033
11041
 
11034
11042
  // src/components/Table/normal/Row.tsx
11035
11043
  var import_react106 = require("react");
11036
- var import_jsx_runtime260 = require("react/jsx-runtime");
11044
+ var import_jsx_runtime261 = require("react/jsx-runtime");
11037
11045
  var Row = (0, import_react106.forwardRef)(
11038
11046
  ({ type: _type, mode = "normal", hoverable, selected, className, ...rest }, ref) => {
11039
11047
  const isInHeader = useIsInTableHead();
11040
11048
  const type = _type != null ? _type : isInHeader ? "head" : "body";
11041
- return /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(
11049
+ return /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(
11042
11050
  "tr",
11043
11051
  {
11044
11052
  ref,
@@ -11062,22 +11070,22 @@ Row.displayName = "Table.Row";
11062
11070
 
11063
11071
  // src/components/Table/normal/SortCell.tsx
11064
11072
  var import_react107 = require("react");
11065
- var import_jsx_runtime261 = require("react/jsx-runtime");
11073
+ var import_jsx_runtime262 = require("react/jsx-runtime");
11066
11074
  var makeSortIcon = (isSorted, sortOrder) => {
11067
11075
  if (!isSorted || !sortOrder) {
11068
- return /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(Icon, { icon: UnfoldMoreIcon, iconSize: "inherit" });
11076
+ return /* @__PURE__ */ (0, import_jsx_runtime262.jsx)(Icon, { icon: UnfoldMoreIcon, iconSize: "inherit" });
11069
11077
  }
11070
- return sortOrder === "ascending" ? /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(Icon, { icon: ChevronDownIcon, iconSize: "inherit" }) : /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(Icon, { icon: ChevronUpIcon, iconSize: "inherit" });
11078
+ return sortOrder === "ascending" ? /* @__PURE__ */ (0, import_jsx_runtime262.jsx)(Icon, { icon: ChevronDownIcon, iconSize: "inherit" }) : /* @__PURE__ */ (0, import_jsx_runtime262.jsx)(Icon, { icon: ChevronUpIcon, iconSize: "inherit" });
11071
11079
  };
11072
11080
  var SortCell = (0, import_react107.forwardRef)(
11073
- ({ isSorted, sortOrder, onClick, children, ...rest }, ref) => /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(
11081
+ ({ isSorted, sortOrder, onClick, children, ...rest }, ref) => /* @__PURE__ */ (0, import_jsx_runtime262.jsx)(
11074
11082
  Cell,
11075
11083
  {
11076
11084
  ref,
11077
11085
  type: "head",
11078
11086
  "aria-sort": isSorted && sortOrder ? sortOrder : void 0,
11079
11087
  ...rest,
11080
- children: /* @__PURE__ */ (0, import_jsx_runtime261.jsxs)(
11088
+ children: /* @__PURE__ */ (0, import_jsx_runtime262.jsxs)(
11081
11089
  "button",
11082
11090
  {
11083
11091
  onClick,
@@ -11102,7 +11110,7 @@ SortCell.displayName = "Table.SortCell";
11102
11110
 
11103
11111
  // src/components/Table/normal/Table.tsx
11104
11112
  var import_react108 = require("react");
11105
- var import_jsx_runtime262 = require("react/jsx-runtime");
11113
+ var import_jsx_runtime263 = require("react/jsx-runtime");
11106
11114
  function getDensityCn(value) {
11107
11115
  switch (value) {
11108
11116
  case "normal":
@@ -11121,7 +11129,7 @@ var Table = (0, import_react108.forwardRef)(
11121
11129
  children,
11122
11130
  ...rest
11123
11131
  }, ref) => {
11124
- return /* @__PURE__ */ (0, import_jsx_runtime262.jsx)(
11132
+ return /* @__PURE__ */ (0, import_jsx_runtime263.jsx)(
11125
11133
  "table",
11126
11134
  {
11127
11135
  ref,
@@ -11143,7 +11151,7 @@ Table.displayName = "Table";
11143
11151
 
11144
11152
  // src/components/Table/normal/TableWrapper.tsx
11145
11153
  var import_react109 = require("react");
11146
- var import_jsx_runtime263 = require("react/jsx-runtime");
11154
+ var import_jsx_runtime264 = require("react/jsx-runtime");
11147
11155
  var TableWrapper = ({ className, ...rest }) => {
11148
11156
  const [overflowX, setOverflowX] = (0, import_react109.useState)(false);
11149
11157
  const [windowWidth, setWindowWidth] = (0, import_react109.useState)(window.innerWidth);
@@ -11165,7 +11173,7 @@ var TableWrapper = ({ className, ...rest }) => {
11165
11173
  window.addEventListener("resize", handleResize);
11166
11174
  return () => window.removeEventListener("resize", handleResize);
11167
11175
  });
11168
- return /* @__PURE__ */ (0, import_jsx_runtime263.jsx)(
11176
+ return /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(
11169
11177
  "div",
11170
11178
  {
11171
11179
  ref: wrapperRef,
@@ -11192,7 +11200,7 @@ Table2.Row = Row;
11192
11200
  Table2.Foot = Foot;
11193
11201
 
11194
11202
  // src/components/Table/collapsible/CollapsibleRow.tsx
11195
- var import_jsx_runtime264 = require("react/jsx-runtime");
11203
+ var import_jsx_runtime265 = require("react/jsx-runtime");
11196
11204
  var CollapsibleRow = (0, import_react110.forwardRef)(
11197
11205
  ({
11198
11206
  type: _type,
@@ -11234,33 +11242,33 @@ var CollapsibleRow = (0, import_react110.forwardRef)(
11234
11242
  const collapsedRenderedChildren = isCollapsed && collapsedHeaderValues.length > 0 ? collapsedChildren.map(function(child, index) {
11235
11243
  const id = derivativeIdGenerator(prefix3, index.toString());
11236
11244
  collapsibleIds.push(id);
11237
- return /* @__PURE__ */ (0, import_jsx_runtime264.jsxs)(import_react110.Fragment, { children: [
11238
- /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(DescriptionListTerm, { children: collapsedHeaderValues[index].content }),
11245
+ return /* @__PURE__ */ (0, import_jsx_runtime265.jsxs)(import_react110.Fragment, { children: [
11246
+ /* @__PURE__ */ (0, import_jsx_runtime265.jsx)(DescriptionListTerm, { children: collapsedHeaderValues[index].content }),
11239
11247
  (0, import_react110.isValidElement)(child) && (0, import_react110.cloneElement)(child, {
11240
11248
  collapsibleProps: { isCollapsibleChild: true }
11241
11249
  })
11242
11250
  ] }, `DL-${index}`);
11243
11251
  }) : null;
11244
- const collapsedRows = collapsedRenderedChildren && collapsedRenderedChildren.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(Row, { ...rowProps(), children: /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(Cell, { colSpan: definingColumnIndex.length + 1, children: /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(DescriptionList, { children: collapsedRenderedChildren }) }) }) : null;
11252
+ const collapsedRows = collapsedRenderedChildren && collapsedRenderedChildren.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime265.jsx)(Row, { ...rowProps(), children: /* @__PURE__ */ (0, import_jsx_runtime265.jsx)(Cell, { colSpan: definingColumnIndex.length + 1, children: /* @__PURE__ */ (0, import_jsx_runtime265.jsx)(DescriptionList, { children: collapsedRenderedChildren }) }) }) : null;
11245
11253
  const definingColumnCells = childrenArray.slice().filter((column2, index) => definingColumnIndex.indexOf(index) > -1).sort((a3, b) => {
11246
11254
  return definingColumnIndex.indexOf(childrenArray.indexOf(a3)) - definingColumnIndex.indexOf(childrenArray.indexOf(b));
11247
11255
  });
11248
11256
  const headerRow = () => {
11249
11257
  if (type !== "head" || !isCollapsed) return null;
11250
- return /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(Row, { ref, ...rowProps(), children: /* @__PURE__ */ (0, import_jsx_runtime264.jsxs)(import_jsx_runtime264.Fragment, { children: [
11258
+ return /* @__PURE__ */ (0, import_jsx_runtime265.jsx)(Row, { ref, ...rowProps(), children: /* @__PURE__ */ (0, import_jsx_runtime265.jsxs)(import_jsx_runtime265.Fragment, { children: [
11251
11259
  definingColumnCells,
11252
- /* @__PURE__ */ (0, import_jsx_runtime264.jsxs)(Table2.Cell, { type: "head", layout: "center", children: [
11260
+ /* @__PURE__ */ (0, import_jsx_runtime265.jsxs)(Table2.Cell, { type: "head", layout: "center", children: [
11253
11261
  "Utvid",
11254
- /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(VisuallyHidden, { as: "span", children: "raden" })
11262
+ /* @__PURE__ */ (0, import_jsx_runtime265.jsx)(VisuallyHidden, { as: "span", children: "raden" })
11255
11263
  ] })
11256
11264
  ] }) });
11257
11265
  };
11258
11266
  const idList = spaceSeparatedIdListGenerator(collapsibleIds);
11259
11267
  const rowWithChevron = () => {
11260
11268
  if (type !== "body" || !isCollapsed) return null;
11261
- return /* @__PURE__ */ (0, import_jsx_runtime264.jsxs)(Row, { ref, ...rowProps(!childrenCollapsed && true), children: [
11269
+ return /* @__PURE__ */ (0, import_jsx_runtime265.jsxs)(Row, { ref, ...rowProps(!childrenCollapsed && true), children: [
11262
11270
  definingColumnCells,
11263
- /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(Table2.Cell, { children: /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(
11271
+ /* @__PURE__ */ (0, import_jsx_runtime265.jsx)(Table2.Cell, { children: /* @__PURE__ */ (0, import_jsx_runtime265.jsx)(
11264
11272
  "button",
11265
11273
  {
11266
11274
  onClick: () => setChildrenCollapsed(!childrenCollapsed),
@@ -11272,7 +11280,7 @@ var CollapsibleRow = (0, import_react110.forwardRef)(
11272
11280
  utilStyles_default["remove-button-styling"],
11273
11281
  focusable
11274
11282
  ),
11275
- children: /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(
11283
+ children: /* @__PURE__ */ (0, import_jsx_runtime265.jsx)(
11276
11284
  AnimatedChevronUpDown,
11277
11285
  {
11278
11286
  isUp: childrenCollapsed ? false : true,
@@ -11284,20 +11292,20 @@ var CollapsibleRow = (0, import_react110.forwardRef)(
11284
11292
  ) })
11285
11293
  ] });
11286
11294
  };
11287
- return isCollapsed && collapsedRenderedChildren && collapsedRenderedChildren.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime264.jsxs)(import_jsx_runtime264.Fragment, { children: [
11295
+ return isCollapsed && collapsedRenderedChildren && collapsedRenderedChildren.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime265.jsxs)(import_jsx_runtime265.Fragment, { children: [
11288
11296
  headerRow(),
11289
- type === "body" && /* @__PURE__ */ (0, import_jsx_runtime264.jsxs)(import_jsx_runtime264.Fragment, { children: [
11297
+ type === "body" && /* @__PURE__ */ (0, import_jsx_runtime265.jsxs)(import_jsx_runtime265.Fragment, { children: [
11290
11298
  rowWithChevron(),
11291
11299
  childrenCollapsed ? null : collapsedRows
11292
11300
  ] })
11293
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(Row, { ref, ...rowProps(), children });
11301
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime265.jsx)(Row, { ref, ...rowProps(), children });
11294
11302
  }
11295
11303
  );
11296
11304
  CollapsibleRow.displayName = "CollapsibleTable.Row";
11297
11305
 
11298
11306
  // src/components/Table/collapsible/CollapsibleTable.tsx
11299
11307
  var import_react111 = require("react");
11300
- var import_jsx_runtime265 = require("react/jsx-runtime");
11308
+ var import_jsx_runtime266 = require("react/jsx-runtime");
11301
11309
  var CollapsibleTable = (0, import_react111.forwardRef)((props, ref) => {
11302
11310
  const {
11303
11311
  isCollapsed,
@@ -11305,7 +11313,7 @@ var CollapsibleTable = (0, import_react111.forwardRef)((props, ref) => {
11305
11313
  definingColumnIndex = [0],
11306
11314
  ...rest
11307
11315
  } = props;
11308
- return /* @__PURE__ */ (0, import_jsx_runtime265.jsx)(
11316
+ return /* @__PURE__ */ (0, import_jsx_runtime266.jsx)(
11309
11317
  CollapsibleTableContext.Provider,
11310
11318
  {
11311
11319
  value: {
@@ -11313,7 +11321,7 @@ var CollapsibleTable = (0, import_react111.forwardRef)((props, ref) => {
11313
11321
  headerValues,
11314
11322
  definingColumnIndex
11315
11323
  },
11316
- children: /* @__PURE__ */ (0, import_jsx_runtime265.jsx)(Table2, { ref, ...rest })
11324
+ children: /* @__PURE__ */ (0, import_jsx_runtime266.jsx)(Table2, { ref, ...rest })
11317
11325
  }
11318
11326
  );
11319
11327
  });
@@ -11355,7 +11363,7 @@ var Tabs_default = {
11355
11363
  };
11356
11364
 
11357
11365
  // src/components/Tabs/Tabs.tsx
11358
- var import_jsx_runtime266 = require("react/jsx-runtime");
11366
+ var import_jsx_runtime267 = require("react/jsx-runtime");
11359
11367
  var Tabs = (0, import_react113.forwardRef)((props, ref) => {
11360
11368
  const {
11361
11369
  id,
@@ -11387,7 +11395,7 @@ var Tabs = (0, import_react113.forwardRef)((props, ref) => {
11387
11395
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
11388
11396
  ["--dds-tabs-width"]: width
11389
11397
  };
11390
- return /* @__PURE__ */ (0, import_jsx_runtime266.jsx)(
11398
+ return /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(
11391
11399
  TabsContext.Provider,
11392
11400
  {
11393
11401
  value: {
@@ -11400,7 +11408,7 @@ var Tabs = (0, import_react113.forwardRef)((props, ref) => {
11400
11408
  setHasTabFocus,
11401
11409
  tabContentDirection
11402
11410
  },
11403
- children: /* @__PURE__ */ (0, import_jsx_runtime266.jsx)(
11411
+ children: /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(
11404
11412
  "div",
11405
11413
  {
11406
11414
  ref,
@@ -11424,13 +11432,13 @@ var import_react115 = require("react");
11424
11432
 
11425
11433
  // src/components/Tabs/TabWidthContext.tsx
11426
11434
  var import_react114 = require("react");
11427
- var import_jsx_runtime267 = require("react/jsx-runtime");
11435
+ var import_jsx_runtime268 = require("react/jsx-runtime");
11428
11436
  var TabContext = (0, import_react114.createContext)(null);
11429
11437
  function TabWidthContextProvider({
11430
11438
  children,
11431
11439
  onChangeWidths
11432
11440
  }) {
11433
- return /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(
11441
+ return /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(
11434
11442
  TabContext.Provider,
11435
11443
  {
11436
11444
  value: {
@@ -11462,7 +11470,7 @@ function useSetTabWidth(index, width) {
11462
11470
  }
11463
11471
 
11464
11472
  // src/components/Tabs/Tab.tsx
11465
- var import_jsx_runtime268 = require("react/jsx-runtime");
11473
+ var import_jsx_runtime269 = require("react/jsx-runtime");
11466
11474
  var Tab = (0, import_react115.forwardRef)((props, ref) => {
11467
11475
  const {
11468
11476
  active = false,
@@ -11502,7 +11510,7 @@ var Tab = (0, import_react115.forwardRef)((props, ref) => {
11502
11510
  handleSelect();
11503
11511
  onKeyDown && onKeyDown(e);
11504
11512
  };
11505
- return /* @__PURE__ */ (0, import_jsx_runtime268.jsxs)(
11513
+ return /* @__PURE__ */ (0, import_jsx_runtime269.jsxs)(
11506
11514
  "button",
11507
11515
  {
11508
11516
  ...getBaseHTMLProps(
@@ -11525,8 +11533,8 @@ var Tab = (0, import_react115.forwardRef)((props, ref) => {
11525
11533
  onKeyDown: handleOnKeyDown,
11526
11534
  tabIndex: focus ? 0 : -1,
11527
11535
  children: [
11528
- icon2 && /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(Icon, { icon: icon2, iconSize: "inherit" }),
11529
- /* @__PURE__ */ (0, import_jsx_runtime268.jsx)("span", { children })
11536
+ icon2 && /* @__PURE__ */ (0, import_jsx_runtime269.jsx)(Icon, { icon: icon2, iconSize: "inherit" }),
11537
+ /* @__PURE__ */ (0, import_jsx_runtime269.jsx)("span", { children })
11530
11538
  ]
11531
11539
  }
11532
11540
  );
@@ -11535,7 +11543,7 @@ Tab.displayName = "Tab";
11535
11543
 
11536
11544
  // src/components/Tabs/TabList.tsx
11537
11545
  var import_react116 = require("react");
11538
- var import_jsx_runtime269 = require("react/jsx-runtime");
11546
+ var import_jsx_runtime270 = require("react/jsx-runtime");
11539
11547
  var TabList = (0, import_react116.forwardRef)(
11540
11548
  ({ children, id, style, onFocus, ...rest }, ref) => {
11541
11549
  const {
@@ -11579,7 +11587,7 @@ var TabList = (0, import_react116.forwardRef)(
11579
11587
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
11580
11588
  ["--dds-tab-widths"]: widths.join(" ")
11581
11589
  };
11582
- return /* @__PURE__ */ (0, import_jsx_runtime269.jsx)(TabWidthContextProvider, { onChangeWidths: setWidths, children: /* @__PURE__ */ (0, import_jsx_runtime269.jsx)(
11590
+ return /* @__PURE__ */ (0, import_jsx_runtime270.jsx)(TabWidthContextProvider, { onChangeWidths: setWidths, children: /* @__PURE__ */ (0, import_jsx_runtime270.jsx)(
11583
11591
  "div",
11584
11592
  {
11585
11593
  ...rest,
@@ -11606,10 +11614,10 @@ TabList.displayName = "TabList";
11606
11614
 
11607
11615
  // src/components/Tabs/TabPanel.tsx
11608
11616
  var import_react117 = require("react");
11609
- var import_jsx_runtime270 = require("react/jsx-runtime");
11617
+ var import_jsx_runtime271 = require("react/jsx-runtime");
11610
11618
  var TabPanel = (0, import_react117.forwardRef)(
11611
11619
  ({ active = false, children, id, className, htmlProps, ...rest }, ref) => {
11612
- return /* @__PURE__ */ (0, import_jsx_runtime270.jsx)(
11620
+ return /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(
11613
11621
  "div",
11614
11622
  {
11615
11623
  ...getBaseHTMLProps(
@@ -11635,7 +11643,7 @@ TabPanel.displayName = "TabPanel";
11635
11643
 
11636
11644
  // src/components/Tabs/TabPanels.tsx
11637
11645
  var import_react118 = require("react");
11638
- var import_jsx_runtime271 = require("react/jsx-runtime");
11646
+ var import_jsx_runtime272 = require("react/jsx-runtime");
11639
11647
  var TabPanels = (0, import_react118.forwardRef)(
11640
11648
  ({ children, ...rest }, ref) => {
11641
11649
  const { activeTab, tabsId, tabPanelsRef } = useTabsContext();
@@ -11649,7 +11657,7 @@ var TabPanels = (0, import_react118.forwardRef)(
11649
11657
  "aria-expanded": active
11650
11658
  });
11651
11659
  });
11652
- return /* @__PURE__ */ (0, import_jsx_runtime271.jsx)("div", { ref: combinedRef, ...rest, children: panelChildren });
11660
+ return /* @__PURE__ */ (0, import_jsx_runtime272.jsx)("div", { ref: combinedRef, ...rest, children: panelChildren });
11653
11661
  }
11654
11662
  );
11655
11663
  TabPanels.displayName = "TabPanels";
@@ -11674,7 +11682,7 @@ var Tag_default = {
11674
11682
  };
11675
11683
 
11676
11684
  // src/components/Tag/Tag.tsx
11677
- var import_jsx_runtime272 = require("react/jsx-runtime");
11685
+ var import_jsx_runtime273 = require("react/jsx-runtime");
11678
11686
  var purposeVariants3 = {
11679
11687
  info: {
11680
11688
  icon: InfoIcon
@@ -11705,7 +11713,7 @@ var Tag = (0, import_react119.forwardRef)((props, ref) => {
11705
11713
  ...rest
11706
11714
  } = props;
11707
11715
  const icon2 = purposeVariants3[purpose].icon;
11708
- return /* @__PURE__ */ (0, import_jsx_runtime272.jsxs)(
11716
+ return /* @__PURE__ */ (0, import_jsx_runtime273.jsxs)(
11709
11717
  TextOverflowEllipsisWrapper,
11710
11718
  {
11711
11719
  ...getBaseHTMLProps(
@@ -11722,8 +11730,8 @@ var Tag = (0, import_react119.forwardRef)((props, ref) => {
11722
11730
  ),
11723
11731
  ref,
11724
11732
  children: [
11725
- withIcon && icon2 && /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(Icon, { icon: icon2, iconSize: "small" }),
11726
- /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(TextOverflowEllipsisInner, { children: children != null ? children : text })
11733
+ withIcon && icon2 && /* @__PURE__ */ (0, import_jsx_runtime273.jsx)(Icon, { icon: icon2, iconSize: "small" }),
11734
+ /* @__PURE__ */ (0, import_jsx_runtime273.jsx)(TextOverflowEllipsisInner, { children: children != null ? children : text })
11727
11735
  ]
11728
11736
  }
11729
11737
  );
@@ -11762,12 +11770,12 @@ var TextInput_default = {
11762
11770
  };
11763
11771
 
11764
11772
  // src/components/TextInput/CharCounter.tsx
11765
- var import_jsx_runtime273 = require("react/jsx-runtime");
11773
+ var import_jsx_runtime274 = require("react/jsx-runtime");
11766
11774
  function CharCounter(props) {
11767
11775
  const { current, max, id, className, htmlProps, ...rest } = props;
11768
11776
  const generatedId = (0, import_react120.useId)();
11769
11777
  const uniqueId = id != null ? id : `${generatedId}-characterCounter`;
11770
- return /* @__PURE__ */ (0, import_jsx_runtime273.jsxs)(
11778
+ return /* @__PURE__ */ (0, import_jsx_runtime274.jsxs)(
11771
11779
  Typography,
11772
11780
  {
11773
11781
  ...getBaseHTMLProps(
@@ -11790,7 +11798,7 @@ function CharCounter(props) {
11790
11798
  var CharCounter_default = CharCounter;
11791
11799
 
11792
11800
  // src/components/TextInput/TextInput.tsx
11793
- var import_jsx_runtime274 = require("react/jsx-runtime");
11801
+ var import_jsx_runtime275 = require("react/jsx-runtime");
11794
11802
  var TextInput = (0, import_react121.forwardRef)(
11795
11803
  ({
11796
11804
  label,
@@ -11883,13 +11891,13 @@ var TextInput = (0, import_react121.forwardRef)(
11883
11891
  const suffixPaddingInlineEnd = readOnly && suffixLength ? suffixLength + "px" : suffixLength ? import_dds_design_tokens17.ddsTokens.DdsSpacingX1NumberPx + suffixLength + "px" : void 0;
11884
11892
  let extendedInput = null;
11885
11893
  if (hasIcon) {
11886
- extendedInput = /* @__PURE__ */ (0, import_jsx_runtime274.jsxs)(
11894
+ extendedInput = /* @__PURE__ */ (0, import_jsx_runtime275.jsxs)(
11887
11895
  "div",
11888
11896
  {
11889
11897
  className: cn(TextInput_default["input-width"], Input_default["input-group"]),
11890
11898
  style: styleVariables,
11891
11899
  children: [
11892
- /* @__PURE__ */ (0, import_jsx_runtime274.jsx)(
11900
+ /* @__PURE__ */ (0, import_jsx_runtime275.jsx)(
11893
11901
  Icon,
11894
11902
  {
11895
11903
  icon: icon2,
@@ -11897,7 +11905,7 @@ var TextInput = (0, import_react121.forwardRef)(
11897
11905
  className: cn(TextInput_default.icon, TextInput_default[`icon--${componentSize}`])
11898
11906
  }
11899
11907
  ),
11900
- /* @__PURE__ */ (0, import_jsx_runtime274.jsx)(
11908
+ /* @__PURE__ */ (0, import_jsx_runtime275.jsx)(
11901
11909
  StatefulInput,
11902
11910
  {
11903
11911
  ref,
@@ -11912,13 +11920,13 @@ var TextInput = (0, import_react121.forwardRef)(
11912
11920
  }
11913
11921
  );
11914
11922
  } else if (hasAffix) {
11915
- extendedInput = /* @__PURE__ */ (0, import_jsx_runtime274.jsxs)(
11923
+ extendedInput = /* @__PURE__ */ (0, import_jsx_runtime275.jsxs)(
11916
11924
  "div",
11917
11925
  {
11918
11926
  className: cn(TextInput_default["affix-container"], TextInput_default["input-width"]),
11919
11927
  style: styleVariables,
11920
11928
  children: [
11921
- prefix3 && /* @__PURE__ */ (0, import_jsx_runtime274.jsx)(
11929
+ prefix3 && /* @__PURE__ */ (0, import_jsx_runtime275.jsx)(
11922
11930
  "span",
11923
11931
  {
11924
11932
  ref: prefixRef,
@@ -11931,7 +11939,7 @@ var TextInput = (0, import_react121.forwardRef)(
11931
11939
  children: prefix3
11932
11940
  }
11933
11941
  ),
11934
- /* @__PURE__ */ (0, import_jsx_runtime274.jsx)(
11942
+ /* @__PURE__ */ (0, import_jsx_runtime275.jsx)(
11935
11943
  StatefulInput,
11936
11944
  {
11937
11945
  ref,
@@ -11945,7 +11953,7 @@ var TextInput = (0, import_react121.forwardRef)(
11945
11953
  }
11946
11954
  }
11947
11955
  ),
11948
- suffix && /* @__PURE__ */ (0, import_jsx_runtime274.jsx)(
11956
+ suffix && /* @__PURE__ */ (0, import_jsx_runtime275.jsx)(
11949
11957
  "span",
11950
11958
  {
11951
11959
  ref: suffixRef,
@@ -11962,7 +11970,7 @@ var TextInput = (0, import_react121.forwardRef)(
11962
11970
  }
11963
11971
  );
11964
11972
  }
11965
- return /* @__PURE__ */ (0, import_jsx_runtime274.jsxs)(
11973
+ return /* @__PURE__ */ (0, import_jsx_runtime275.jsxs)(
11966
11974
  "div",
11967
11975
  {
11968
11976
  className: cn(
@@ -11972,7 +11980,7 @@ var TextInput = (0, import_react121.forwardRef)(
11972
11980
  ),
11973
11981
  style,
11974
11982
  children: [
11975
- hasLabel && /* @__PURE__ */ (0, import_jsx_runtime274.jsx)(
11983
+ hasLabel && /* @__PURE__ */ (0, import_jsx_runtime275.jsx)(
11976
11984
  Label,
11977
11985
  {
11978
11986
  htmlFor: uniqueId,
@@ -11981,7 +11989,7 @@ var TextInput = (0, import_react121.forwardRef)(
11981
11989
  children: label
11982
11990
  }
11983
11991
  ),
11984
- extendedInput ? extendedInput : /* @__PURE__ */ (0, import_jsx_runtime274.jsx)(
11992
+ extendedInput ? extendedInput : /* @__PURE__ */ (0, import_jsx_runtime275.jsx)(
11985
11993
  StatefulInput,
11986
11994
  {
11987
11995
  ref,
@@ -11993,9 +12001,9 @@ var TextInput = (0, import_react121.forwardRef)(
11993
12001
  className: TextInput_default["input-width"]
11994
12002
  }
11995
12003
  ),
11996
- hasMessage && /* @__PURE__ */ (0, import_jsx_runtime274.jsxs)("div", { className: TextInput_default["message-container"], children: [
12004
+ hasMessage && /* @__PURE__ */ (0, import_jsx_runtime275.jsxs)("div", { className: TextInput_default["message-container"], children: [
11997
12005
  renderInputMessage(tip, tipId, errorMessage, errorMessageId),
11998
- hasCharCounter && /* @__PURE__ */ (0, import_jsx_runtime274.jsx)(
12006
+ hasCharCounter && /* @__PURE__ */ (0, import_jsx_runtime275.jsx)(
11999
12007
  CharCounter_default,
12000
12008
  {
12001
12009
  id: characterCounterId,
@@ -12038,7 +12046,7 @@ var ToggleBar_default = {
12038
12046
  };
12039
12047
 
12040
12048
  // src/components/ToggleBar/ToggleBar.tsx
12041
- var import_jsx_runtime275 = require("react/jsx-runtime");
12049
+ var import_jsx_runtime276 = require("react/jsx-runtime");
12042
12050
  var ToggleBar = (props) => {
12043
12051
  const {
12044
12052
  children,
@@ -12061,7 +12069,7 @@ var ToggleBar = (props) => {
12061
12069
  (e) => onChange && onChange(e, e.target.value)
12062
12070
  );
12063
12071
  const labelId = label && `${uniqueId}-label`;
12064
- return /* @__PURE__ */ (0, import_jsx_runtime275.jsx)(
12072
+ return /* @__PURE__ */ (0, import_jsx_runtime276.jsx)(
12065
12073
  ToggleBarContext.Provider,
12066
12074
  {
12067
12075
  value: {
@@ -12070,7 +12078,7 @@ var ToggleBar = (props) => {
12070
12078
  name,
12071
12079
  value: groupValue
12072
12080
  },
12073
- children: /* @__PURE__ */ (0, import_jsx_runtime275.jsxs)(
12081
+ children: /* @__PURE__ */ (0, import_jsx_runtime276.jsxs)(
12074
12082
  "div",
12075
12083
  {
12076
12084
  ...getBaseHTMLProps(
@@ -12083,8 +12091,8 @@ var ToggleBar = (props) => {
12083
12091
  role: "radiogroup",
12084
12092
  "aria-labelledby": labelId != null ? labelId : htmlProps == null ? void 0 : htmlProps["aria-labelledby"],
12085
12093
  children: [
12086
- label && /* @__PURE__ */ (0, import_jsx_runtime275.jsx)(Label, { id: labelId, children: label }),
12087
- /* @__PURE__ */ (0, import_jsx_runtime275.jsx)("div", { className: ToggleBar_default.bar, children })
12094
+ label && /* @__PURE__ */ (0, import_jsx_runtime276.jsx)(Label, { id: labelId, children: label }),
12095
+ /* @__PURE__ */ (0, import_jsx_runtime276.jsx)("div", { className: ToggleBar_default.bar, children })
12088
12096
  ]
12089
12097
  }
12090
12098
  )
@@ -12095,7 +12103,7 @@ ToggleBar.displayName = "ToggleBar";
12095
12103
 
12096
12104
  // src/components/ToggleBar/ToggleRadio.tsx
12097
12105
  var import_react124 = require("react");
12098
- var import_jsx_runtime276 = require("react/jsx-runtime");
12106
+ var import_jsx_runtime277 = require("react/jsx-runtime");
12099
12107
  var typographyTypes5 = {
12100
12108
  large: "bodySans04",
12101
12109
  medium: "bodySans02",
@@ -12136,8 +12144,8 @@ var ToggleRadio = (0, import_react124.forwardRef)(
12136
12144
  (group == null ? void 0 : group.onChange) && group.onChange(event);
12137
12145
  };
12138
12146
  const contentTypeCn = label ? "with-text" : "just-icon";
12139
- return /* @__PURE__ */ (0, import_jsx_runtime276.jsxs)("label", { htmlFor: uniqueId, className: ToggleBar_default.label, children: [
12140
- /* @__PURE__ */ (0, import_jsx_runtime276.jsx)(
12147
+ return /* @__PURE__ */ (0, import_jsx_runtime277.jsxs)("label", { htmlFor: uniqueId, className: ToggleBar_default.label, children: [
12148
+ /* @__PURE__ */ (0, import_jsx_runtime277.jsx)(
12141
12149
  "input",
12142
12150
  {
12143
12151
  ...getBaseHTMLProps(
@@ -12160,7 +12168,7 @@ var ToggleRadio = (0, import_react124.forwardRef)(
12160
12168
  "aria-labelledby": ariaLabelledBy
12161
12169
  }
12162
12170
  ),
12163
- /* @__PURE__ */ (0, import_jsx_runtime276.jsxs)(
12171
+ /* @__PURE__ */ (0, import_jsx_runtime277.jsxs)(
12164
12172
  Typography,
12165
12173
  {
12166
12174
  as: "span",
@@ -12171,8 +12179,8 @@ var ToggleRadio = (0, import_react124.forwardRef)(
12171
12179
  focus_default["focus-styled-sibling"]
12172
12180
  ),
12173
12181
  children: [
12174
- icon2 && /* @__PURE__ */ (0, import_jsx_runtime276.jsx)(Icon, { icon: icon2, iconSize: "inherit" }),
12175
- label && /* @__PURE__ */ (0, import_jsx_runtime276.jsx)("span", { children: label })
12182
+ icon2 && /* @__PURE__ */ (0, import_jsx_runtime277.jsx)(Icon, { icon: icon2, iconSize: "inherit" }),
12183
+ label && /* @__PURE__ */ (0, import_jsx_runtime277.jsx)("span", { children: label })
12176
12184
  ]
12177
12185
  }
12178
12186
  )
@@ -12195,13 +12203,13 @@ var ToggleButton_default = {
12195
12203
  };
12196
12204
 
12197
12205
  // src/components/ToggleButton/ToggleButton.tsx
12198
- var import_jsx_runtime277 = require("react/jsx-runtime");
12206
+ var import_jsx_runtime278 = require("react/jsx-runtime");
12199
12207
  var ToggleButton = (0, import_react125.forwardRef)(
12200
12208
  ({ id, label, icon: icon2, className, htmlProps, ...rest }, ref) => {
12201
12209
  const generatedId = (0, import_react125.useId)();
12202
12210
  const uniqueId = id != null ? id : `${generatedId}-toggleButton`;
12203
- return /* @__PURE__ */ (0, import_jsx_runtime277.jsxs)("label", { htmlFor: uniqueId, className: ToggleButton_default.container, children: [
12204
- /* @__PURE__ */ (0, import_jsx_runtime277.jsx)(
12211
+ return /* @__PURE__ */ (0, import_jsx_runtime278.jsxs)("label", { htmlFor: uniqueId, className: ToggleButton_default.container, children: [
12212
+ /* @__PURE__ */ (0, import_jsx_runtime278.jsx)(
12205
12213
  "input",
12206
12214
  {
12207
12215
  ...getBaseHTMLProps(
@@ -12218,7 +12226,7 @@ var ToggleButton = (0, import_react125.forwardRef)(
12218
12226
  type: "checkbox"
12219
12227
  }
12220
12228
  ),
12221
- /* @__PURE__ */ (0, import_jsx_runtime277.jsxs)(
12229
+ /* @__PURE__ */ (0, import_jsx_runtime278.jsxs)(
12222
12230
  "span",
12223
12231
  {
12224
12232
  className: cn(
@@ -12227,7 +12235,7 @@ var ToggleButton = (0, import_react125.forwardRef)(
12227
12235
  focus_default["focus-styled-sibling"]
12228
12236
  ),
12229
12237
  children: [
12230
- icon2 && /* @__PURE__ */ (0, import_jsx_runtime277.jsx)(Icon, { icon: icon2, iconSize: "inherit" }),
12238
+ icon2 && /* @__PURE__ */ (0, import_jsx_runtime278.jsx)(Icon, { icon: icon2, iconSize: "inherit" }),
12231
12239
  " ",
12232
12240
  label
12233
12241
  ]
@@ -12240,7 +12248,7 @@ ToggleButton.displayName = "ToggleButton";
12240
12248
 
12241
12249
  // src/components/ToggleButton/ToggleButtonGroup.tsx
12242
12250
  var import_react126 = require("react");
12243
- var import_jsx_runtime278 = require("react/jsx-runtime");
12251
+ var import_jsx_runtime279 = require("react/jsx-runtime");
12244
12252
  var ToggleButtonGroup = (props) => {
12245
12253
  const {
12246
12254
  children,
@@ -12254,7 +12262,7 @@ var ToggleButtonGroup = (props) => {
12254
12262
  } = props;
12255
12263
  const generatedId = (0, import_react126.useId)();
12256
12264
  const uniqueLabelId = labelId != null ? labelId : `${generatedId}-ToggleButtonGroupLabel`;
12257
- return /* @__PURE__ */ (0, import_jsx_runtime278.jsxs)(
12265
+ return /* @__PURE__ */ (0, import_jsx_runtime279.jsxs)(
12258
12266
  "div",
12259
12267
  {
12260
12268
  ...getBaseHTMLProps(
@@ -12266,7 +12274,7 @@ var ToggleButtonGroup = (props) => {
12266
12274
  role: "group",
12267
12275
  "aria-labelledby": label ? uniqueLabelId : void 0,
12268
12276
  children: [
12269
- !!label && /* @__PURE__ */ (0, import_jsx_runtime278.jsx)(
12277
+ !!label && /* @__PURE__ */ (0, import_jsx_runtime279.jsx)(
12270
12278
  Typography,
12271
12279
  {
12272
12280
  as: "span",
@@ -12275,7 +12283,7 @@ var ToggleButtonGroup = (props) => {
12275
12283
  children: label
12276
12284
  }
12277
12285
  ),
12278
- /* @__PURE__ */ (0, import_jsx_runtime278.jsx)("div", { className: cn(ToggleButton_default.group, ToggleButton_default[`group--${direction}`]), children })
12286
+ /* @__PURE__ */ (0, import_jsx_runtime279.jsx)("div", { className: cn(ToggleButton_default.group, ToggleButton_default[`group--${direction}`]), children })
12279
12287
  ]
12280
12288
  }
12281
12289
  );
@@ -12540,6 +12548,7 @@ ToggleButtonGroup.displayName = "ToggleButtonGroup";
12540
12548
  VisibilityOnIcon,
12541
12549
  VisuallyHidden,
12542
12550
  WarningIcon,
12551
+ WebexIcon,
12543
12552
  XIcon,
12544
12553
  ZoomInIcon,
12545
12554
  ZoomOutIcon,