@norges-domstoler/dds-components 0.0.0-dev-20240614081021 → 0.0.0-dev-20240618064403

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -413,7 +413,6 @@ var Input_default = {
413
413
  input: "Input_input",
414
414
  disabled: "Input_disabled",
415
415
  "read-only": "Input_read-only",
416
- active: "Input_active",
417
416
  "input--stateful": "Input_input--stateful",
418
417
  "input--hover": "Input_input--hover",
419
418
  "input--stateful-danger": "Input_input--stateful-danger",
@@ -5868,6 +5867,7 @@ function _DateInput({
5868
5867
  className: cn(
5869
5868
  Input_default.input,
5870
5869
  Input_default["input--stateful"],
5870
+ Input_default["input--hover"],
5871
5871
  Input_default[`input--${componentSize}`],
5872
5872
  hasErrorMessage && Input_default["input--stateful-danger"],
5873
5873
  DateInput_default["date-input"],
@@ -8659,7 +8659,7 @@ var ModalActions = forwardRef52(
8659
8659
  ModalActions.displayName = "ModalActions";
8660
8660
 
8661
8661
  // src/components/Pagination/Pagination.tsx
8662
- import { forwardRef as forwardRef54, useState as useState18 } from "react";
8662
+ import { forwardRef as forwardRef55, useState as useState18 } from "react";
8663
8663
 
8664
8664
  // src/components/Pagination/Pagination.module.css
8665
8665
  var Pagination_default = {
@@ -9248,7 +9248,15 @@ function SelectInner(props, ref) {
9248
9248
  ),
9249
9249
  style: { ...style, width },
9250
9250
  children: [
9251
- hasLabel && /* @__PURE__ */ jsx240(Label, { htmlFor: uniqueId, showRequiredStyling, children: label }),
9251
+ hasLabel && /* @__PURE__ */ jsx240(
9252
+ Label,
9253
+ {
9254
+ htmlFor: uniqueId,
9255
+ showRequiredStyling,
9256
+ className: Input_default.label,
9257
+ children: label
9258
+ }
9259
+ ),
9252
9260
  /* @__PURE__ */ jsx240(ReactSelect, { ...reactSelectProps, ref }),
9253
9261
  renderInputMessage(tip, tipId, errorMessage, errorMessageId)
9254
9262
  ]
@@ -9258,12 +9266,122 @@ function SelectInner(props, ref) {
9258
9266
  var Select = forwardRef53(SelectInner);
9259
9267
  Select.displayName = "Select";
9260
9268
 
9269
+ // src/components/Select/NativeSelect/NativeSelect.tsx
9270
+ import { forwardRef as forwardRef54, useId as useId16 } from "react";
9271
+
9272
+ // src/components/Select/NativeSelect/NativeSelect.module.css
9273
+ var NativeSelect_default = {
9274
+ container: "NativeSelect_container",
9275
+ select: "NativeSelect_select",
9276
+ "select--readonly": "NativeSelect_select--readonly",
9277
+ "select--medium": "NativeSelect_select--medium",
9278
+ "select--small": "NativeSelect_select--small",
9279
+ "select--tiny": "NativeSelect_select--tiny",
9280
+ icon: "NativeSelect_icon"
9281
+ };
9282
+
9283
+ // src/components/Select/NativeSelect/NativeSelect.tsx
9284
+ import { jsx as jsx241, jsxs as jsxs55 } from "react/jsx-runtime";
9285
+ var NativeSelect = forwardRef54(
9286
+ (props, ref) => {
9287
+ const {
9288
+ id,
9289
+ children,
9290
+ componentSize = "medium",
9291
+ label,
9292
+ multiple,
9293
+ readOnly,
9294
+ errorMessage,
9295
+ tip,
9296
+ required,
9297
+ "aria-required": ariaRequired,
9298
+ "aria-describedby": ariaDescribedby,
9299
+ width,
9300
+ className,
9301
+ style,
9302
+ ...rest
9303
+ } = props;
9304
+ const generatedId = useId16();
9305
+ const uniqueId = id != null ? id : `${generatedId}-native-select`;
9306
+ const hasErrorMessage = !!errorMessage;
9307
+ const hasTip = !!tip;
9308
+ const hasLabel = !!label;
9309
+ const tipId = derivativeIdGenerator(uniqueId, "tip");
9310
+ const errorMessageId = derivativeIdGenerator(uniqueId, "errorMessage");
9311
+ const showRequiredStyling = !!(required || ariaRequired);
9312
+ const styleVariables = {
9313
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
9314
+ ["--dds-native-select-width"]: width ? width : componentSize === "tiny" ? "210px" : "var(--dds-input-default-width)"
9315
+ };
9316
+ return /* @__PURE__ */ jsxs55("div", { children: [
9317
+ hasLabel && /* @__PURE__ */ jsx241(
9318
+ Label,
9319
+ {
9320
+ className: Input_default.label,
9321
+ htmlFor: uniqueId,
9322
+ showRequiredStyling,
9323
+ children: label
9324
+ }
9325
+ ),
9326
+ /* @__PURE__ */ jsxs55("div", { className: NativeSelect_default.container, children: [
9327
+ /* @__PURE__ */ jsx241(
9328
+ "select",
9329
+ {
9330
+ ref,
9331
+ id: uniqueId,
9332
+ multiple,
9333
+ className: cn(
9334
+ className,
9335
+ NativeSelect_default.select,
9336
+ readOnly && NativeSelect_default["select--readonly"],
9337
+ Input_default.input,
9338
+ Input_default[`input--${componentSize}`],
9339
+ NativeSelect_default[`select--${componentSize}`],
9340
+ scrollbar,
9341
+ focusable,
9342
+ typographyStyles_default[getTypographyCn(inputTypographyTypes[componentSize])],
9343
+ hasErrorMessage && Input_default["input--stateful-danger"]
9344
+ ),
9345
+ tabIndex: readOnly ? -1 : 0,
9346
+ style: { ...style, ...styleVariables },
9347
+ "aria-readonly": readOnly,
9348
+ "aria-invalid": hasErrorMessage,
9349
+ "aria-describedby": spaceSeparatedIdListGenerator([
9350
+ hasTip ? tipId : void 0,
9351
+ hasErrorMessage ? errorMessageId : void 0,
9352
+ ariaDescribedby
9353
+ ]),
9354
+ required,
9355
+ ...rest,
9356
+ children
9357
+ }
9358
+ ),
9359
+ !multiple && /* @__PURE__ */ jsx241(
9360
+ Icon,
9361
+ {
9362
+ icon: ChevronDownIcon,
9363
+ iconSize: componentSize === "tiny" ? "small" : "medium",
9364
+ className: NativeSelect_default.icon
9365
+ }
9366
+ )
9367
+ ] }),
9368
+ renderInputMessage(tip, tipId, errorMessage, errorMessageId)
9369
+ ] });
9370
+ }
9371
+ );
9372
+ NativeSelect.displayName = "NativeSelect";
9373
+ var NativeSelectPlaceholder = forwardRef54((props, ref) => {
9374
+ const { children = "-- Velg fra listen --", value, ...rest } = props;
9375
+ return /* @__PURE__ */ jsx241("option", { ref, value: value != null ? value : "", selected: true, ...rest, children });
9376
+ });
9377
+ NativeSelectPlaceholder.displayName = "NativeSelectPlaceholder";
9378
+
9261
9379
  // src/components/Select/utils.ts
9262
9380
  var createSelectOptions = (...args) => args.map((v2) => ({ label: v2, value: v2 }));
9263
9381
 
9264
9382
  // src/components/Pagination/Pagination.tsx
9265
- import { jsx as jsx241, jsxs as jsxs55 } from "react/jsx-runtime";
9266
- var Pagination = forwardRef54(
9383
+ import { jsx as jsx242, jsxs as jsxs56 } from "react/jsx-runtime";
9384
+ var Pagination = forwardRef55(
9267
9385
  (props, ref) => {
9268
9386
  const {
9269
9387
  itemsAmount,
@@ -9306,7 +9424,7 @@ var Pagination = forwardRef54(
9306
9424
  };
9307
9425
  const listItems = items.length > 0 ? items.map((item, i2) => {
9308
9426
  const isActive = item === activePage;
9309
- return /* @__PURE__ */ jsx241("li", { className: Pagination_default.list__item, children: item !== "truncator" ? /* @__PURE__ */ jsx241(
9427
+ return /* @__PURE__ */ jsx242("li", { className: Pagination_default.list__item, children: item !== "truncator" ? /* @__PURE__ */ jsx242(
9310
9428
  Button,
9311
9429
  {
9312
9430
  purpose: isActive ? "primary" : "secondary",
@@ -9317,7 +9435,7 @@ var Pagination = forwardRef54(
9317
9435
  "aria-label": isActive ? `N\xE5v\xE6rende side (side ${item})` : `G\xE5 til side ${item}`,
9318
9436
  children: item
9319
9437
  }
9320
- ) : /* @__PURE__ */ jsx241(
9438
+ ) : /* @__PURE__ */ jsx242(
9321
9439
  Icon,
9322
9440
  {
9323
9441
  icon: MoreHorizontalIcon,
@@ -9325,7 +9443,7 @@ var Pagination = forwardRef54(
9325
9443
  }
9326
9444
  ) }, `pagination-item-${i2}`);
9327
9445
  }) : void 0;
9328
- const previousPageButton = /* @__PURE__ */ jsx241(
9446
+ const previousPageButton = /* @__PURE__ */ jsx242(
9329
9447
  Button,
9330
9448
  {
9331
9449
  purpose: "secondary",
@@ -9337,7 +9455,7 @@ var Pagination = forwardRef54(
9337
9455
  "aria-label": "G\xE5 til forrige siden"
9338
9456
  }
9339
9457
  );
9340
- const nextPageButton = /* @__PURE__ */ jsx241(
9458
+ const nextPageButton = /* @__PURE__ */ jsx242(
9341
9459
  Button,
9342
9460
  {
9343
9461
  purpose: "secondary",
@@ -9354,8 +9472,8 @@ var Pagination = forwardRef54(
9354
9472
  } : { className: Pagination_default.nav };
9355
9473
  const isOnFirstPage = activePage === 1;
9356
9474
  const isOnLastPage = activePage === pagesLength;
9357
- const navigation = withPagination ? /* @__PURE__ */ jsx241("nav", { ref, "aria-label": "paginering", ...navProps, children: /* @__PURE__ */ jsxs55("ol", { className: Pagination_default.list, children: [
9358
- /* @__PURE__ */ jsx241(
9475
+ const navigation = withPagination ? /* @__PURE__ */ jsx242("nav", { ref, "aria-label": "paginering", ...navProps, children: /* @__PURE__ */ jsxs56("ol", { className: Pagination_default.list, children: [
9476
+ /* @__PURE__ */ jsx242(
9359
9477
  "li",
9360
9478
  {
9361
9479
  className: cn(
@@ -9367,7 +9485,7 @@ var Pagination = forwardRef54(
9367
9485
  }
9368
9486
  ),
9369
9487
  listItems,
9370
- /* @__PURE__ */ jsx241(
9488
+ /* @__PURE__ */ jsx242(
9371
9489
  "li",
9372
9490
  {
9373
9491
  className: cn(
@@ -9379,8 +9497,8 @@ var Pagination = forwardRef54(
9379
9497
  }
9380
9498
  )
9381
9499
  ] }) }) : null;
9382
- const smallScreenNavigation = withPagination ? /* @__PURE__ */ jsx241("nav", { ref, "aria-label": "paginering", ...navProps, children: /* @__PURE__ */ jsxs55("ol", { className: Pagination_default.list, children: [
9383
- /* @__PURE__ */ jsx241(
9500
+ const smallScreenNavigation = withPagination ? /* @__PURE__ */ jsx242("nav", { ref, "aria-label": "paginering", ...navProps, children: /* @__PURE__ */ jsxs56("ol", { className: Pagination_default.list, children: [
9501
+ /* @__PURE__ */ jsx242(
9384
9502
  "li",
9385
9503
  {
9386
9504
  className: cn(
@@ -9388,7 +9506,7 @@ var Pagination = forwardRef54(
9388
9506
  isOnFirstPage && Pagination_default["list__item--hidden"]
9389
9507
  ),
9390
9508
  "aria-hidden": isOnFirstPage,
9391
- children: /* @__PURE__ */ jsx241(
9509
+ children: /* @__PURE__ */ jsx242(
9392
9510
  Button,
9393
9511
  {
9394
9512
  purpose: "secondary",
@@ -9402,7 +9520,7 @@ var Pagination = forwardRef54(
9402
9520
  )
9403
9521
  }
9404
9522
  ),
9405
- /* @__PURE__ */ jsx241(
9523
+ /* @__PURE__ */ jsx242(
9406
9524
  "li",
9407
9525
  {
9408
9526
  className: cn(
@@ -9413,7 +9531,7 @@ var Pagination = forwardRef54(
9413
9531
  children: previousPageButton
9414
9532
  }
9415
9533
  ),
9416
- /* @__PURE__ */ jsx241("li", { className: Pagination_default.list__item, children: /* @__PURE__ */ jsx241(
9534
+ /* @__PURE__ */ jsx242("li", { className: Pagination_default.list__item, children: /* @__PURE__ */ jsx242(
9417
9535
  Button,
9418
9536
  {
9419
9537
  size: "small",
@@ -9423,7 +9541,7 @@ var Pagination = forwardRef54(
9423
9541
  children: activePage
9424
9542
  }
9425
9543
  ) }),
9426
- /* @__PURE__ */ jsx241(
9544
+ /* @__PURE__ */ jsx242(
9427
9545
  "li",
9428
9546
  {
9429
9547
  className: cn(
@@ -9434,7 +9552,7 @@ var Pagination = forwardRef54(
9434
9552
  children: nextPageButton
9435
9553
  }
9436
9554
  ),
9437
- /* @__PURE__ */ jsx241(
9555
+ /* @__PURE__ */ jsx242(
9438
9556
  "li",
9439
9557
  {
9440
9558
  className: cn(
@@ -9442,7 +9560,7 @@ var Pagination = forwardRef54(
9442
9560
  isOnLastPage && Pagination_default["list__item--hidden"]
9443
9561
  ),
9444
9562
  "aria-hidden": isOnLastPage,
9445
- children: /* @__PURE__ */ jsx241(
9563
+ children: /* @__PURE__ */ jsx242(
9446
9564
  Button,
9447
9565
  {
9448
9566
  purpose: "secondary",
@@ -9460,7 +9578,7 @@ var Pagination = forwardRef54(
9460
9578
  const activePageFirstItem = activePage === 1 ? 1 : activePage * itemsPerPage - itemsPerPage + 1;
9461
9579
  const activePageLastItem = activePage === pagesLength ? itemsAmount : activePage * itemsPerPage;
9462
9580
  const navigationToBeRendered = smallScreen ? smallScreenNavigation : navigation;
9463
- return !withCounter && !withSelect ? navigationToBeRendered : /* @__PURE__ */ jsxs55(
9581
+ return !withCounter && !withSelect ? navigationToBeRendered : /* @__PURE__ */ jsxs56(
9464
9582
  "div",
9465
9583
  {
9466
9584
  ...getBaseHTMLProps(
@@ -9474,8 +9592,8 @@ var Pagination = forwardRef54(
9474
9592
  rest
9475
9593
  ),
9476
9594
  children: [
9477
- /* @__PURE__ */ jsxs55("div", { className: Pagination_default.indicators, children: [
9478
- withSelect && /* @__PURE__ */ jsx241(
9595
+ /* @__PURE__ */ jsxs56("div", { className: Pagination_default.indicators, children: [
9596
+ withSelect && /* @__PURE__ */ jsx242(
9479
9597
  Select,
9480
9598
  {
9481
9599
  options: selectOptions,
@@ -9491,7 +9609,7 @@ var Pagination = forwardRef54(
9491
9609
  "aria-label": "Antall elementer per side"
9492
9610
  }
9493
9611
  ),
9494
- withCounter && /* @__PURE__ */ jsxs55(Typography, { typographyType: "supportingStyleLabel01", as: "p", children: [
9612
+ withCounter && /* @__PURE__ */ jsxs56(Typography, { typographyType: "supportingStyleLabel01", as: "p", children: [
9495
9613
  "Viser ",
9496
9614
  activePageFirstItem,
9497
9615
  "-",
@@ -9510,7 +9628,7 @@ Pagination.displayName = "Pagination";
9510
9628
 
9511
9629
  // src/components/Popover/Popover.tsx
9512
9630
  import { ddsTokens as ddsTokens15 } from "@norges-domstoler/dds-design-tokens";
9513
- import { forwardRef as forwardRef55 } from "react";
9631
+ import { forwardRef as forwardRef56 } from "react";
9514
9632
 
9515
9633
  // src/components/Popover/Popover.module.css
9516
9634
  var Popover_default = {
@@ -9521,8 +9639,8 @@ var Popover_default = {
9521
9639
  };
9522
9640
 
9523
9641
  // src/components/Popover/Popover.tsx
9524
- import { jsx as jsx242, jsxs as jsxs56 } from "react/jsx-runtime";
9525
- var Popover = forwardRef55(
9642
+ import { jsx as jsx243, jsxs as jsxs57 } from "react/jsx-runtime";
9643
+ var Popover = forwardRef56(
9526
9644
  (props, ref) => {
9527
9645
  const {
9528
9646
  title,
@@ -9562,7 +9680,7 @@ var Popover = forwardRef55(
9562
9680
  useOnClickOutside(elements, () => {
9563
9681
  if (isOpen) onClose && onClose();
9564
9682
  });
9565
- return isOpen || hasTransitionedIn ? /* @__PURE__ */ jsxs56(
9683
+ return isOpen || hasTransitionedIn ? /* @__PURE__ */ jsxs57(
9566
9684
  Paper,
9567
9685
  {
9568
9686
  ...getBaseHTMLProps(id, className, htmlProps, rest),
@@ -9579,15 +9697,15 @@ var Popover = forwardRef55(
9579
9697
  focus_default.focusable
9580
9698
  ),
9581
9699
  children: [
9582
- title && /* @__PURE__ */ jsx242("div", { className: Popover_default.title, children: typeof title === "string" ? /* @__PURE__ */ jsx242(Typography, { typographyType: "headingSans02", children: title }) : title }),
9583
- /* @__PURE__ */ jsx242(
9700
+ title && /* @__PURE__ */ jsx243("div", { className: Popover_default.title, children: typeof title === "string" ? /* @__PURE__ */ jsx243(Typography, { typographyType: "headingSans02", children: title }) : title }),
9701
+ /* @__PURE__ */ jsx243(
9584
9702
  "div",
9585
9703
  {
9586
9704
  className: !hasTitle && withCloseButton ? Popover_default["content--closable--no-title"] : "",
9587
9705
  children
9588
9706
  }
9589
9707
  ),
9590
- withCloseButton && /* @__PURE__ */ jsx242(
9708
+ withCloseButton && /* @__PURE__ */ jsx243(
9591
9709
  Button,
9592
9710
  {
9593
9711
  icon: CloseIcon,
@@ -9610,11 +9728,11 @@ import {
9610
9728
  Children as ReactChildren5,
9611
9729
  cloneElement as cloneElement6,
9612
9730
  isValidElement as isValidElement7,
9613
- useId as useId16,
9731
+ useId as useId17,
9614
9732
  useRef as useRef26,
9615
9733
  useState as useState19
9616
9734
  } from "react";
9617
- import { Fragment as Fragment9, jsx as jsx243 } from "react/jsx-runtime";
9735
+ import { Fragment as Fragment9, jsx as jsx244 } from "react/jsx-runtime";
9618
9736
  var PopoverGroup = ({
9619
9737
  isOpen = false,
9620
9738
  onCloseButtonClick,
@@ -9623,7 +9741,7 @@ var PopoverGroup = ({
9623
9741
  popoverId
9624
9742
  }) => {
9625
9743
  const [open, setOpen] = useState19(isOpen);
9626
- const generatedId = useId16();
9744
+ const generatedId = useId17();
9627
9745
  const uniquePopoverId = popoverId != null ? popoverId : `${generatedId}-popover`;
9628
9746
  const handleOnCloseButtonClick = () => {
9629
9747
  setOpen(false);
@@ -9660,7 +9778,7 @@ var PopoverGroup = ({
9660
9778
  onClose: handleClose
9661
9779
  }));
9662
9780
  });
9663
- return /* @__PURE__ */ jsx243(Fragment9, { children: Children8 });
9781
+ return /* @__PURE__ */ jsx244(Fragment9, { children: Children8 });
9664
9782
  };
9665
9783
  PopoverGroup.displayName = "PopoverGroup";
9666
9784
 
@@ -9669,7 +9787,7 @@ import {
9669
9787
  Children as Children4,
9670
9788
  Fragment as Fragment11,
9671
9789
  cloneElement as cloneElement7,
9672
- forwardRef as forwardRef56,
9790
+ forwardRef as forwardRef57,
9673
9791
  isValidElement as isValidElement8,
9674
9792
  useEffect as useEffect21,
9675
9793
  useMemo as useMemo3,
@@ -9708,7 +9826,7 @@ var ProgressTracker_default = {
9708
9826
 
9709
9827
  // src/components/ProgressTracker/ProgressTrackerItem.tsx
9710
9828
  import { useMemo as useMemo2 } from "react";
9711
- import { Fragment as Fragment10, jsx as jsx244, jsxs as jsxs57 } from "react/jsx-runtime";
9829
+ import { Fragment as Fragment10, jsx as jsx245, jsxs as jsxs58 } from "react/jsx-runtime";
9712
9830
  var toItemState = (active, completed, disabled) => {
9713
9831
  if (disabled) {
9714
9832
  return "disabled";
@@ -9740,15 +9858,15 @@ var ProgressTrackerItem = (props) => {
9740
9858
  const itemState = toItemState(active, completed, disabled);
9741
9859
  const stepNumberContent = useMemo2(() => {
9742
9860
  if (completed) {
9743
- return /* @__PURE__ */ jsx244(Icon, { icon: CheckIcon, iconSize: "small" });
9861
+ return /* @__PURE__ */ jsx245(Icon, { icon: CheckIcon, iconSize: "small" });
9744
9862
  }
9745
9863
  if (icon2 !== void 0) {
9746
- return /* @__PURE__ */ jsx244(Icon, { icon: icon2, iconSize: "small" });
9864
+ return /* @__PURE__ */ jsx245(Icon, { icon: icon2, iconSize: "small" });
9747
9865
  }
9748
9866
  return index + 1;
9749
9867
  }, [completed, icon2, index]);
9750
- const stepContent = /* @__PURE__ */ jsxs57(Fragment10, { children: [
9751
- /* @__PURE__ */ jsx244(
9868
+ const stepContent = /* @__PURE__ */ jsxs58(Fragment10, { children: [
9869
+ /* @__PURE__ */ jsx245(
9752
9870
  "div",
9753
9871
  {
9754
9872
  "aria-hidden": true,
@@ -9760,7 +9878,7 @@ var ProgressTrackerItem = (props) => {
9760
9878
  children: stepNumberContent
9761
9879
  }
9762
9880
  ),
9763
- /* @__PURE__ */ jsxs57(
9881
+ /* @__PURE__ */ jsxs58(
9764
9882
  "div",
9765
9883
  {
9766
9884
  className: cn(
@@ -9769,13 +9887,13 @@ var ProgressTrackerItem = (props) => {
9769
9887
  typographyStyles_default["body-sans-03"]
9770
9888
  ),
9771
9889
  children: [
9772
- /* @__PURE__ */ jsx244(VisuallyHidden, { as: "span", children: getVisuallyHiddenText(active, completed, index) }),
9890
+ /* @__PURE__ */ jsx245(VisuallyHidden, { as: "span", children: getVisuallyHiddenText(active, completed, index) }),
9773
9891
  children
9774
9892
  ]
9775
9893
  }
9776
9894
  )
9777
9895
  ] });
9778
- return /* @__PURE__ */ jsx244("li", { "aria-current": active ? "step" : void 0, className: ProgressTracker_default.item, children: handleStepChange ? /* @__PURE__ */ jsx244(
9896
+ return /* @__PURE__ */ jsx245("li", { "aria-current": active ? "step" : void 0, className: ProgressTracker_default.item, children: handleStepChange ? /* @__PURE__ */ jsx245(
9779
9897
  "button",
9780
9898
  {
9781
9899
  onClick: !disabled && handleStepChange ? () => handleStepChange(index) : void 0,
@@ -9783,14 +9901,14 @@ var ProgressTrackerItem = (props) => {
9783
9901
  className: cn(ProgressTracker_default["item-button"], focusable),
9784
9902
  children: stepContent
9785
9903
  }
9786
- ) : /* @__PURE__ */ jsx244("div", { className: cn(ProgressTracker_default["item-button"], ProgressTracker_default["item-div"]), children: stepContent }) });
9904
+ ) : /* @__PURE__ */ jsx245("div", { className: cn(ProgressTracker_default["item-button"], ProgressTracker_default["item-div"]), children: stepContent }) });
9787
9905
  };
9788
9906
  ProgressTrackerItem.displayName = "ProgressTracker.Item";
9789
9907
 
9790
9908
  // src/components/ProgressTracker/ProgressTracker.tsx
9791
- import { jsx as jsx245, jsxs as jsxs58 } from "react/jsx-runtime";
9909
+ import { jsx as jsx246, jsxs as jsxs59 } from "react/jsx-runtime";
9792
9910
  var ProgressTracker = (() => {
9793
- const Res = forwardRef56((props, ref) => {
9911
+ const Res = forwardRef57((props, ref) => {
9794
9912
  const {
9795
9913
  id,
9796
9914
  activeStep = 0,
@@ -9820,14 +9938,14 @@ var ProgressTracker = (() => {
9820
9938
  const itemsWithConnectorsBetween = intersperseItemsWithConnector(itemsWithIndex);
9821
9939
  return itemsWithConnectorsBetween;
9822
9940
  }, [children]);
9823
- return /* @__PURE__ */ jsx245(
9941
+ return /* @__PURE__ */ jsx246(
9824
9942
  ProgressTrackerContext.Provider,
9825
9943
  {
9826
9944
  value: {
9827
9945
  activeStep: thisActiveStep,
9828
9946
  handleStepChange: handleChange
9829
9947
  },
9830
- children: /* @__PURE__ */ jsx245("div", { role: "group", "aria-label": "progress", ...containerProps, children: /* @__PURE__ */ jsx245("ol", { className: ProgressTracker_default.list, children: steps }) })
9948
+ children: /* @__PURE__ */ jsx246("div", { role: "group", "aria-label": "progress", ...containerProps, children: /* @__PURE__ */ jsx246("ol", { className: ProgressTracker_default.list, children: steps }) })
9831
9949
  }
9832
9950
  );
9833
9951
  });
@@ -9851,16 +9969,16 @@ var intersperseItemsWithConnector = (children) => Children4.map(children, (child
9851
9969
  if (index === 0) {
9852
9970
  return child;
9853
9971
  }
9854
- return /* @__PURE__ */ jsxs58(Fragment11, { children: [
9855
- /* @__PURE__ */ jsx245("div", { "aria-hidden": true, className: ProgressTracker_default.connector }),
9972
+ return /* @__PURE__ */ jsxs59(Fragment11, { children: [
9973
+ /* @__PURE__ */ jsx246("div", { "aria-hidden": true, className: ProgressTracker_default.connector }),
9856
9974
  child
9857
9975
  ] }, index);
9858
9976
  });
9859
9977
 
9860
9978
  // src/components/Search/Search.tsx
9861
9979
  import {
9862
- forwardRef as forwardRef58,
9863
- useId as useId17,
9980
+ forwardRef as forwardRef59,
9981
+ useId as useId18,
9864
9982
  useState as useState21
9865
9983
  } from "react";
9866
9984
 
@@ -9921,9 +10039,9 @@ function createEmptyChangeEvent(inputElementId) {
9921
10039
  }
9922
10040
 
9923
10041
  // src/components/Search/SearchSuggestions.tsx
9924
- import { forwardRef as forwardRef57 } from "react";
9925
- import { jsx as jsx246, jsxs as jsxs59 } from "react/jsx-runtime";
9926
- var SearchSuggestions = forwardRef57((props, ref) => {
10042
+ import { forwardRef as forwardRef58 } from "react";
10043
+ import { jsx as jsx247, jsxs as jsxs60 } from "react/jsx-runtime";
10044
+ var SearchSuggestions = forwardRef58((props, ref) => {
9927
10045
  const {
9928
10046
  id,
9929
10047
  searchId,
@@ -9942,14 +10060,14 @@ var SearchSuggestions = forwardRef57((props, ref) => {
9942
10060
  );
9943
10061
  const [focus] = useRoveFocus(suggestions == null ? void 0 : suggestions.length, showSuggestions);
9944
10062
  const suggestionsToRender = maxSuggestions ? suggestions == null ? void 0 : suggestions.slice(maxSuggestions) : suggestions;
9945
- const renderedSuggestions = /* @__PURE__ */ jsx246(
10063
+ const renderedSuggestions = /* @__PURE__ */ jsx247(
9946
10064
  "ul",
9947
10065
  {
9948
10066
  role: "listbox",
9949
10067
  "aria-labelledby": suggestionsHeaderId,
9950
10068
  className: utilStyles_default["remove-list-styling"],
9951
10069
  children: suggestionsToRender.map((suggestion, index) => {
9952
- return /* @__PURE__ */ jsx246("li", { role: "option", children: /* @__PURE__ */ jsx246(
10070
+ return /* @__PURE__ */ jsx247("li", { role: "option", children: /* @__PURE__ */ jsx247(
9953
10071
  OverflowMenuItem,
9954
10072
  {
9955
10073
  index,
@@ -9965,7 +10083,7 @@ var SearchSuggestions = forwardRef57((props, ref) => {
9965
10083
  })
9966
10084
  }
9967
10085
  );
9968
- return /* @__PURE__ */ jsxs59(
10086
+ return /* @__PURE__ */ jsxs60(
9969
10087
  Paper,
9970
10088
  {
9971
10089
  ...getBaseHTMLProps(
@@ -9984,7 +10102,7 @@ var SearchSuggestions = forwardRef57((props, ref) => {
9984
10102
  "aria-hidden": !showSuggestions,
9985
10103
  border: "default",
9986
10104
  children: [
9987
- /* @__PURE__ */ jsx246(
10105
+ /* @__PURE__ */ jsx247(
9988
10106
  "span",
9989
10107
  {
9990
10108
  id: suggestionsHeaderId,
@@ -10003,7 +10121,7 @@ var SearchSuggestions = forwardRef57((props, ref) => {
10003
10121
  SearchSuggestions.displayName = "SearchSuggestions";
10004
10122
 
10005
10123
  // src/components/Search/Search.tsx
10006
- import { Fragment as Fragment12, jsx as jsx247, jsxs as jsxs60 } from "react/jsx-runtime";
10124
+ import { Fragment as Fragment12, jsx as jsx248, jsxs as jsxs61 } from "react/jsx-runtime";
10007
10125
  var getIconSize = (size2) => {
10008
10126
  switch (size2) {
10009
10127
  case "large":
@@ -10014,7 +10132,7 @@ var getIconSize = (size2) => {
10014
10132
  return "small";
10015
10133
  }
10016
10134
  };
10017
- var Search = forwardRef58(
10135
+ var Search = forwardRef59(
10018
10136
  ({
10019
10137
  componentSize = "medium",
10020
10138
  buttonProps,
@@ -10030,7 +10148,7 @@ var Search = forwardRef58(
10030
10148
  ...rest
10031
10149
  }, ref) => {
10032
10150
  var _a;
10033
- const generatedId = useId17();
10151
+ const generatedId = useId18();
10034
10152
  const uniqueId = id != null ? id : `${generatedId}-searchInput`;
10035
10153
  const hasLabel = !!label;
10036
10154
  const tipId = derivativeIdGenerator(uniqueId, "tip");
@@ -10058,10 +10176,10 @@ var Search = forwardRef58(
10058
10176
  } = buttonProps != null ? buttonProps : {};
10059
10177
  const hasSuggestions = !!context.suggestions;
10060
10178
  const showSearchButton = !!buttonProps && !!onClick;
10061
- return /* @__PURE__ */ jsxs60("div", { className: Search_default.container, children: [
10062
- hasLabel && /* @__PURE__ */ jsx247(Label, { htmlFor: uniqueId, children: label }),
10063
- /* @__PURE__ */ jsxs60("div", { children: [
10064
- /* @__PURE__ */ jsxs60(
10179
+ return /* @__PURE__ */ jsxs61("div", { className: Search_default.container, children: [
10180
+ hasLabel && /* @__PURE__ */ jsx248(Label, { htmlFor: uniqueId, children: label }),
10181
+ /* @__PURE__ */ jsxs61("div", { children: [
10182
+ /* @__PURE__ */ jsxs61(
10065
10183
  "div",
10066
10184
  {
10067
10185
  className: cn(
@@ -10070,8 +10188,8 @@ var Search = forwardRef58(
10070
10188
  ),
10071
10189
  style,
10072
10190
  children: [
10073
- /* @__PURE__ */ jsxs60("div", { className: Search_default["input-group"], children: [
10074
- /* @__PURE__ */ jsx247(
10191
+ /* @__PURE__ */ jsxs61("div", { className: Search_default["input-group"], children: [
10192
+ /* @__PURE__ */ jsx248(
10075
10193
  Icon,
10076
10194
  {
10077
10195
  icon: SearchIcon,
@@ -10079,7 +10197,7 @@ var Search = forwardRef58(
10079
10197
  className: cn(Search_default["search-icon"])
10080
10198
  }
10081
10199
  ),
10082
- /* @__PURE__ */ jsx247(
10200
+ /* @__PURE__ */ jsx248(
10083
10201
  Input,
10084
10202
  {
10085
10203
  ...rest,
@@ -10107,8 +10225,8 @@ var Search = forwardRef58(
10107
10225
  )
10108
10226
  }
10109
10227
  ),
10110
- hasSuggestions && /* @__PURE__ */ jsxs60(Fragment12, { children: [
10111
- /* @__PURE__ */ jsx247(
10228
+ hasSuggestions && /* @__PURE__ */ jsxs61(Fragment12, { children: [
10229
+ /* @__PURE__ */ jsx248(
10112
10230
  SearchSuggestions,
10113
10231
  {
10114
10232
  id: suggestionsId,
@@ -10120,9 +10238,9 @@ var Search = forwardRef58(
10120
10238
  componentSize
10121
10239
  }
10122
10240
  ),
10123
- /* @__PURE__ */ jsx247(VisuallyHidden, { id: suggestionsDescriptionId, as: "span", children: "Bla i s\xF8keforslag med piltaster n\xE5r listen er utvidet." })
10241
+ /* @__PURE__ */ jsx248(VisuallyHidden, { id: suggestionsDescriptionId, as: "span", children: "Bla i s\xF8keforslag med piltaster n\xE5r listen er utvidet." })
10124
10242
  ] }),
10125
- hasValue && /* @__PURE__ */ jsx247(
10243
+ hasValue && /* @__PURE__ */ jsx248(
10126
10244
  Button,
10127
10245
  {
10128
10246
  icon: CloseSmallIcon,
@@ -10134,7 +10252,7 @@ var Search = forwardRef58(
10134
10252
  }
10135
10253
  )
10136
10254
  ] }),
10137
- showSearchButton && /* @__PURE__ */ jsx247(
10255
+ showSearchButton && /* @__PURE__ */ jsx248(
10138
10256
  Button,
10139
10257
  {
10140
10258
  size: componentSize,
@@ -10159,7 +10277,7 @@ import {
10159
10277
  useRef as useRef27,
10160
10278
  useState as useState22
10161
10279
  } from "react";
10162
- import { jsx as jsx248 } from "react/jsx-runtime";
10280
+ import { jsx as jsx249 } from "react/jsx-runtime";
10163
10281
  var SearchAutocompleteWrapper = (props) => {
10164
10282
  const {
10165
10283
  value,
@@ -10235,7 +10353,7 @@ var SearchAutocompleteWrapper = (props) => {
10235
10353
  inputValue,
10236
10354
  onSugggestionClick: handleSuggestionClick
10237
10355
  };
10238
- return /* @__PURE__ */ jsx248(AutocompleteSearchContext.Provider, { value: contextProps, children });
10356
+ return /* @__PURE__ */ jsx249(AutocompleteSearchContext.Provider, { value: contextProps, children });
10239
10357
  };
10240
10358
  SearchAutocompleteWrapper.displayName = "SearchAutocompleteWrapper";
10241
10359
 
@@ -10245,7 +10363,7 @@ Search2.AutocompleteWrapper = SearchAutocompleteWrapper;
10245
10363
  Search2.Suggestions = SearchSuggestions;
10246
10364
 
10247
10365
  // src/components/SelectionControl/Checkbox/Checkbox.tsx
10248
- import { forwardRef as forwardRef60, useId as useId18 } from "react";
10366
+ import { forwardRef as forwardRef61, useId as useId19 } from "react";
10249
10367
 
10250
10368
  // src/components/SelectionControl/Checkbox/CheckboxGroupContext.tsx
10251
10369
  import { createContext as createContext5, useContext as useContext8 } from "react";
@@ -10256,7 +10374,7 @@ var useCheckboxGroup = () => {
10256
10374
 
10257
10375
  // src/components/SelectionControl/SelectionControl.styles.tsx
10258
10376
  import {
10259
- forwardRef as forwardRef59
10377
+ forwardRef as forwardRef60
10260
10378
  } from "react";
10261
10379
 
10262
10380
  // src/components/SelectionControl/SelectionControl.module.css
@@ -10277,10 +10395,10 @@ var SelectionControl_default = {
10277
10395
  };
10278
10396
 
10279
10397
  // src/components/SelectionControl/SelectionControl.styles.tsx
10280
- import { jsx as jsx249 } from "react/jsx-runtime";
10281
- var SelectionControl = forwardRef59((props, ref) => {
10398
+ import { jsx as jsx250 } from "react/jsx-runtime";
10399
+ var SelectionControl = forwardRef60((props, ref) => {
10282
10400
  const { controlType, className, ...rest } = props;
10283
- return /* @__PURE__ */ jsx249(
10401
+ return /* @__PURE__ */ jsx250(
10284
10402
  "span",
10285
10403
  {
10286
10404
  ref,
@@ -10293,7 +10411,7 @@ var SelectionControl = forwardRef59((props, ref) => {
10293
10411
  }
10294
10412
  );
10295
10413
  });
10296
- var Label2 = forwardRef59(
10414
+ var Label2 = forwardRef60(
10297
10415
  (props, ref) => {
10298
10416
  const {
10299
10417
  disabled,
@@ -10304,7 +10422,7 @@ var Label2 = forwardRef59(
10304
10422
  className,
10305
10423
  ...rest
10306
10424
  } = props;
10307
- return /* @__PURE__ */ jsx249(
10425
+ return /* @__PURE__ */ jsx250(
10308
10426
  "label",
10309
10427
  {
10310
10428
  ref,
@@ -10335,8 +10453,8 @@ var selectionControlTypographyProps = {
10335
10453
  };
10336
10454
 
10337
10455
  // src/components/SelectionControl/Checkbox/Checkbox.tsx
10338
- import { jsx as jsx250, jsxs as jsxs61 } from "react/jsx-runtime";
10339
- var Checkbox = forwardRef60(
10456
+ import { jsx as jsx251, jsxs as jsxs62 } from "react/jsx-runtime";
10457
+ var Checkbox = forwardRef61(
10340
10458
  (props, ref) => {
10341
10459
  const {
10342
10460
  id,
@@ -10351,7 +10469,7 @@ var Checkbox = forwardRef60(
10351
10469
  htmlProps = {},
10352
10470
  ...rest
10353
10471
  } = props;
10354
- const generatedId = useId18();
10472
+ const generatedId = useId19();
10355
10473
  const uniqueId = id != null ? id : `${generatedId}-checkbox`;
10356
10474
  const checkboxGroup = useCheckboxGroup();
10357
10475
  const hasLabel = !!label;
@@ -10360,7 +10478,7 @@ var Checkbox = forwardRef60(
10360
10478
  className: htmlPropsClassName,
10361
10479
  ...restHtmlProps
10362
10480
  } = htmlProps;
10363
- return /* @__PURE__ */ jsxs61(
10481
+ return /* @__PURE__ */ jsxs62(
10364
10482
  Label2,
10365
10483
  {
10366
10484
  hasError: error || (checkboxGroup == null ? void 0 : checkboxGroup.error),
@@ -10372,7 +10490,7 @@ var Checkbox = forwardRef60(
10372
10490
  className: cn(className, htmlPropsClassName),
10373
10491
  style,
10374
10492
  children: [
10375
- /* @__PURE__ */ jsx250(
10493
+ /* @__PURE__ */ jsx251(
10376
10494
  "input",
10377
10495
  {
10378
10496
  ...getBaseHTMLProps(uniqueId, restHtmlProps, rest),
@@ -10396,14 +10514,14 @@ var Checkbox = forwardRef60(
10396
10514
  )
10397
10515
  }
10398
10516
  ),
10399
- /* @__PURE__ */ jsx250(
10517
+ /* @__PURE__ */ jsx251(
10400
10518
  SelectionControl,
10401
10519
  {
10402
10520
  controlType: "checkbox",
10403
10521
  className: focus_default["focus-styled-sibling"]
10404
10522
  }
10405
10523
  ),
10406
- hasLabel && /* @__PURE__ */ jsx250(Typography, { ...selectionControlTypographyProps, children: label })
10524
+ hasLabel && /* @__PURE__ */ jsx251(Typography, { ...selectionControlTypographyProps, children: label })
10407
10525
  ]
10408
10526
  }
10409
10527
  );
@@ -10412,8 +10530,8 @@ var Checkbox = forwardRef60(
10412
10530
  Checkbox.displayName = "Checkbox";
10413
10531
 
10414
10532
  // src/components/SelectionControl/Checkbox/CheckboxGroup.tsx
10415
- import { useId as useId19 } from "react";
10416
- import { jsx as jsx251, jsxs as jsxs62 } from "react/jsx-runtime";
10533
+ import { useId as useId20 } from "react";
10534
+ import { jsx as jsx252, jsxs as jsxs63 } from "react/jsx-runtime";
10417
10535
  var CheckboxGroup = (props) => {
10418
10536
  const {
10419
10537
  label,
@@ -10431,7 +10549,7 @@ var CheckboxGroup = (props) => {
10431
10549
  ...rest
10432
10550
  } = props;
10433
10551
  const { "aria-required": ariaRequired } = htmlProps;
10434
- const generatedId = useId19();
10552
+ const generatedId = useId20();
10435
10553
  const uniqueGroupId = groupId != null ? groupId : `${generatedId}-checkboxGroup`;
10436
10554
  const hasErrorMessage = !!errorMessage;
10437
10555
  const showRequiredMarker = required || ariaRequired;
@@ -10445,7 +10563,7 @@ var CheckboxGroup = (props) => {
10445
10563
  disabled,
10446
10564
  readOnly
10447
10565
  };
10448
- return /* @__PURE__ */ jsxs62(
10566
+ return /* @__PURE__ */ jsxs63(
10449
10567
  "div",
10450
10568
  {
10451
10569
  ...getBaseHTMLProps(
@@ -10455,7 +10573,7 @@ var CheckboxGroup = (props) => {
10455
10573
  rest
10456
10574
  ),
10457
10575
  children: [
10458
- /* @__PURE__ */ jsxs62(
10576
+ /* @__PURE__ */ jsxs63(
10459
10577
  Typography,
10460
10578
  {
10461
10579
  as: "span",
@@ -10464,12 +10582,12 @@ var CheckboxGroup = (props) => {
10464
10582
  children: [
10465
10583
  label,
10466
10584
  " ",
10467
- showRequiredMarker && /* @__PURE__ */ jsx251(RequiredMarker, {})
10585
+ showRequiredMarker && /* @__PURE__ */ jsx252(RequiredMarker, {})
10468
10586
  ]
10469
10587
  }
10470
10588
  ),
10471
10589
  renderInputMessage(tip, tipId),
10472
- /* @__PURE__ */ jsx251(CheckboxGroupContext.Provider, { value: { ...contextProps }, children: /* @__PURE__ */ jsx251(
10590
+ /* @__PURE__ */ jsx252(CheckboxGroupContext.Provider, { value: { ...contextProps }, children: /* @__PURE__ */ jsx252(
10473
10591
  "div",
10474
10592
  {
10475
10593
  role: "group",
@@ -10487,7 +10605,7 @@ var CheckboxGroup = (props) => {
10487
10605
  CheckboxGroup.displayName = "CheckboxGroup";
10488
10606
 
10489
10607
  // src/components/SelectionControl/RadioButton/RadioButton.tsx
10490
- import { forwardRef as forwardRef61, useId as useId20 } from "react";
10608
+ import { forwardRef as forwardRef62, useId as useId21 } from "react";
10491
10609
 
10492
10610
  // src/components/SelectionControl/RadioButton/RadioButtonGroupContext.tsx
10493
10611
  import { createContext as createContext6, useContext as useContext9 } from "react";
@@ -10497,7 +10615,7 @@ var useRadioButtonGroup = () => {
10497
10615
  };
10498
10616
 
10499
10617
  // src/components/SelectionControl/RadioButton/RadioButton.tsx
10500
- import { jsx as jsx252, jsxs as jsxs63 } from "react/jsx-runtime";
10618
+ import { jsx as jsx253, jsxs as jsxs64 } from "react/jsx-runtime";
10501
10619
  var isValueEqualToGroupValueOrFalsy = (value, group) => {
10502
10620
  if (typeof value !== "undefined" && value !== null && group) {
10503
10621
  if (typeof value === "number") {
@@ -10507,7 +10625,7 @@ var isValueEqualToGroupValueOrFalsy = (value, group) => {
10507
10625
  }
10508
10626
  return !!value;
10509
10627
  };
10510
- var RadioButton = forwardRef61(
10628
+ var RadioButton = forwardRef62(
10511
10629
  (props, ref) => {
10512
10630
  const {
10513
10631
  id,
@@ -10531,7 +10649,7 @@ var RadioButton = forwardRef61(
10531
10649
  style,
10532
10650
  ...restHtmlProps
10533
10651
  } = htmlProps;
10534
- const generatedId = useId20();
10652
+ const generatedId = useId21();
10535
10653
  const uniqueId = id != null ? id : `${generatedId}-radioButton`;
10536
10654
  const hasLabel = !!label;
10537
10655
  const radioButtonGroup = useRadioButtonGroup();
@@ -10543,7 +10661,7 @@ var RadioButton = forwardRef61(
10543
10661
  if (radioButtonGroup == null ? void 0 : radioButtonGroup.errorMessageId)
10544
10662
  describedByIds.push(radioButtonGroup == null ? void 0 : radioButtonGroup.errorMessageId);
10545
10663
  if (ariaDescribedby) describedByIds.push(ariaDescribedby);
10546
- return /* @__PURE__ */ jsxs63(
10664
+ return /* @__PURE__ */ jsxs64(
10547
10665
  Label2,
10548
10666
  {
10549
10667
  hasError: error || (radioButtonGroup == null ? void 0 : radioButtonGroup.error),
@@ -10555,7 +10673,7 @@ var RadioButton = forwardRef61(
10555
10673
  htmlFor: uniqueId,
10556
10674
  controlType: "radio",
10557
10675
  children: [
10558
- /* @__PURE__ */ jsx252(
10676
+ /* @__PURE__ */ jsx253(
10559
10677
  "input",
10560
10678
  {
10561
10679
  ...getBaseHTMLProps(uniqueId, restHtmlProps, rest),
@@ -10575,14 +10693,14 @@ var RadioButton = forwardRef61(
10575
10693
  ref
10576
10694
  }
10577
10695
  ),
10578
- /* @__PURE__ */ jsx252(
10696
+ /* @__PURE__ */ jsx253(
10579
10697
  SelectionControl,
10580
10698
  {
10581
10699
  controlType: "radio",
10582
10700
  className: focus_default["focus-styled-sibling"]
10583
10701
  }
10584
10702
  ),
10585
- /* @__PURE__ */ jsx252(Typography, { ...selectionControlTypographyProps, children: children != null ? children : label })
10703
+ /* @__PURE__ */ jsx253(Typography, { ...selectionControlTypographyProps, children: children != null ? children : label })
10586
10704
  ]
10587
10705
  }
10588
10706
  );
@@ -10592,11 +10710,11 @@ RadioButton.displayName = "RadioButton";
10592
10710
 
10593
10711
  // src/components/SelectionControl/RadioButton/RadioButtonGroup.tsx
10594
10712
  import {
10595
- forwardRef as forwardRef62,
10596
- useId as useId21,
10713
+ forwardRef as forwardRef63,
10714
+ useId as useId22,
10597
10715
  useState as useState23
10598
10716
  } from "react";
10599
- import { jsx as jsx253, jsxs as jsxs64 } from "react/jsx-runtime";
10717
+ import { jsx as jsx254, jsxs as jsxs65 } from "react/jsx-runtime";
10600
10718
  var RadioButtonGroupInner = (props, ref) => {
10601
10719
  const {
10602
10720
  name,
@@ -10618,7 +10736,7 @@ var RadioButtonGroupInner = (props, ref) => {
10618
10736
  } = props;
10619
10737
  const { "aria-required": ariaRequired = false } = htmlProps;
10620
10738
  const [groupValue, setGroupValue] = useState23(value);
10621
- const generatedId = useId21();
10739
+ const generatedId = useId22();
10622
10740
  const uniqueGroupId = groupId != null ? groupId : `${generatedId}-radioButtonGroup`;
10623
10741
  const handleChange = combineHandlers(
10624
10742
  (e) => setGroupValue(e.target.value),
@@ -10638,7 +10756,7 @@ var RadioButtonGroupInner = (props, ref) => {
10638
10756
  value: groupValue,
10639
10757
  onChange: handleChange
10640
10758
  };
10641
- return /* @__PURE__ */ jsxs64(
10759
+ return /* @__PURE__ */ jsxs65(
10642
10760
  "div",
10643
10761
  {
10644
10762
  ...getBaseHTMLProps(
@@ -10649,7 +10767,7 @@ var RadioButtonGroupInner = (props, ref) => {
10649
10767
  ),
10650
10768
  ref,
10651
10769
  children: [
10652
- /* @__PURE__ */ jsxs64(
10770
+ /* @__PURE__ */ jsxs65(
10653
10771
  Typography,
10654
10772
  {
10655
10773
  as: "span",
@@ -10658,12 +10776,12 @@ var RadioButtonGroupInner = (props, ref) => {
10658
10776
  children: [
10659
10777
  label,
10660
10778
  " ",
10661
- showRequiredMarker && /* @__PURE__ */ jsx253(RequiredMarker, {})
10779
+ showRequiredMarker && /* @__PURE__ */ jsx254(RequiredMarker, {})
10662
10780
  ]
10663
10781
  }
10664
10782
  ),
10665
10783
  renderInputMessage(tip, tipId),
10666
- /* @__PURE__ */ jsx253(RadioButtonGroupContext.Provider, { value: { ...contextProps }, children: /* @__PURE__ */ jsx253(
10784
+ /* @__PURE__ */ jsx254(RadioButtonGroupContext.Provider, { value: { ...contextProps }, children: /* @__PURE__ */ jsx254(
10667
10785
  "div",
10668
10786
  {
10669
10787
  role: "radiogroup",
@@ -10679,11 +10797,11 @@ var RadioButtonGroupInner = (props, ref) => {
10679
10797
  }
10680
10798
  );
10681
10799
  };
10682
- var RadioButtonGroup = forwardRef62(RadioButtonGroupInner);
10800
+ var RadioButtonGroup = forwardRef63(RadioButtonGroupInner);
10683
10801
  RadioButtonGroup.displayName = "RadioButtonGroup";
10684
10802
 
10685
10803
  // src/components/SkipToContent/SkipToContent.tsx
10686
- import { forwardRef as forwardRef63 } from "react";
10804
+ import { forwardRef as forwardRef64 } from "react";
10687
10805
 
10688
10806
  // src/components/SkipToContent/SkipToContent.module.css
10689
10807
  var SkipToContent_default = {
@@ -10692,8 +10810,8 @@ var SkipToContent_default = {
10692
10810
  };
10693
10811
 
10694
10812
  // src/components/SkipToContent/SkipToContent.tsx
10695
- import { jsx as jsx254 } from "react/jsx-runtime";
10696
- var SkipToContent = forwardRef63(
10813
+ import { jsx as jsx255 } from "react/jsx-runtime";
10814
+ var SkipToContent = forwardRef64(
10697
10815
  (props, ref) => {
10698
10816
  const {
10699
10817
  text = "Til hovedinnhold",
@@ -10708,12 +10826,12 @@ var SkipToContent = forwardRef63(
10708
10826
  style,
10709
10827
  ...restHtmlProps
10710
10828
  } = htmlProps;
10711
- return /* @__PURE__ */ jsx254(
10829
+ return /* @__PURE__ */ jsx255(
10712
10830
  "div",
10713
10831
  {
10714
10832
  className: cn(className, htmlPropsClassName, SkipToContent_default.wrapper),
10715
10833
  style: { ...style, top },
10716
- children: /* @__PURE__ */ jsx254(
10834
+ children: /* @__PURE__ */ jsx255(
10717
10835
  Link,
10718
10836
  {
10719
10837
  ...getBaseHTMLProps(id, restHtmlProps, rest),
@@ -10730,7 +10848,7 @@ var SkipToContent = forwardRef63(
10730
10848
  SkipToContent.displayName = "SkipToContent";
10731
10849
 
10732
10850
  // src/components/SplitButton/SplitButton.tsx
10733
- import { forwardRef as forwardRef64, useState as useState24 } from "react";
10851
+ import { forwardRef as forwardRef65, useState as useState24 } from "react";
10734
10852
 
10735
10853
  // src/components/SplitButton/SplitButton.module.css
10736
10854
  var SplitButton_default = {
@@ -10741,8 +10859,8 @@ var SplitButton_default = {
10741
10859
  };
10742
10860
 
10743
10861
  // src/components/SplitButton/SplitButton.tsx
10744
- import { jsx as jsx255, jsxs as jsxs65 } from "react/jsx-runtime";
10745
- var SplitButton = forwardRef64(
10862
+ import { jsx as jsx256, jsxs as jsxs66 } from "react/jsx-runtime";
10863
+ var SplitButton = forwardRef65(
10746
10864
  (props, ref) => {
10747
10865
  const {
10748
10866
  size: size2,
@@ -10757,8 +10875,8 @@ var SplitButton = forwardRef64(
10757
10875
  purpose,
10758
10876
  size: size2
10759
10877
  };
10760
- return /* @__PURE__ */ jsxs65("div", { ref, className: cn(className, SplitButton_default.container), ...rest, children: [
10761
- /* @__PURE__ */ jsx255(
10878
+ return /* @__PURE__ */ jsxs66("div", { ref, className: cn(className, SplitButton_default.container), ...rest, children: [
10879
+ /* @__PURE__ */ jsx256(
10762
10880
  Button,
10763
10881
  {
10764
10882
  ...buttonStyleProps,
@@ -10767,8 +10885,8 @@ var SplitButton = forwardRef64(
10767
10885
  className: SplitButton_default.main
10768
10886
  }
10769
10887
  ),
10770
- /* @__PURE__ */ jsxs65(OverflowMenuGroup, { onToggle: () => setIsOpen(!isOpen), children: [
10771
- /* @__PURE__ */ jsx255(
10888
+ /* @__PURE__ */ jsxs66(OverflowMenuGroup, { onToggle: () => setIsOpen(!isOpen), children: [
10889
+ /* @__PURE__ */ jsx256(
10772
10890
  Button,
10773
10891
  {
10774
10892
  ...buttonStyleProps,
@@ -10781,7 +10899,7 @@ var SplitButton = forwardRef64(
10781
10899
  )
10782
10900
  }
10783
10901
  ),
10784
- /* @__PURE__ */ jsx255(OverflowMenu, { items: secondaryActions, placement: "bottom-end" })
10902
+ /* @__PURE__ */ jsx256(OverflowMenu, { items: secondaryActions, placement: "bottom-end" })
10785
10903
  ] })
10786
10904
  ] });
10787
10905
  }
@@ -10793,7 +10911,7 @@ import {
10793
10911
  Children as Children5,
10794
10912
  Fragment as Fragment13,
10795
10913
  cloneElement as cloneElement8,
10796
- forwardRef as forwardRef72,
10914
+ forwardRef as forwardRef73,
10797
10915
  isValidElement as isValidElement9,
10798
10916
  useEffect as useEffect24,
10799
10917
  useState as useState26
@@ -10808,30 +10926,30 @@ var CollapsibleTableContext = createContext7({
10808
10926
  var useCollapsibleTableContext = () => useContext10(CollapsibleTableContext);
10809
10927
 
10810
10928
  // src/components/Table/normal/Body.tsx
10811
- import { forwardRef as forwardRef65 } from "react";
10812
- import { jsx as jsx256 } from "react/jsx-runtime";
10813
- var Body = forwardRef65(
10929
+ import { forwardRef as forwardRef66 } from "react";
10930
+ import { jsx as jsx257 } from "react/jsx-runtime";
10931
+ var Body = forwardRef66(
10814
10932
  (props, ref) => {
10815
- return /* @__PURE__ */ jsx256("tbody", { ref, ...props });
10933
+ return /* @__PURE__ */ jsx257("tbody", { ref, ...props });
10816
10934
  }
10817
10935
  );
10818
10936
  Body.displayName = "Table.Body";
10819
10937
 
10820
10938
  // src/components/Table/normal/Cell.tsx
10821
10939
  import {
10822
- forwardRef as forwardRef67
10940
+ forwardRef as forwardRef68
10823
10941
  } from "react";
10824
10942
 
10825
10943
  // src/components/Table/normal/Head.tsx
10826
10944
  import {
10827
10945
  createContext as createContext8,
10828
- forwardRef as forwardRef66,
10946
+ forwardRef as forwardRef67,
10829
10947
  useContext as useContext11
10830
10948
  } from "react";
10831
- import { jsx as jsx257 } from "react/jsx-runtime";
10832
- var Head = forwardRef66(
10949
+ import { jsx as jsx258 } from "react/jsx-runtime";
10950
+ var Head = forwardRef67(
10833
10951
  ({ children, ...rest }, ref) => {
10834
- return /* @__PURE__ */ jsx257("thead", { ref, ...rest, children: /* @__PURE__ */ jsx257(HeadContext.Provider, { value: true, children }) });
10952
+ return /* @__PURE__ */ jsx258("thead", { ref, ...rest, children: /* @__PURE__ */ jsx258(HeadContext.Provider, { value: true, children }) });
10835
10953
  }
10836
10954
  );
10837
10955
  Head.displayName = "Table.Head";
@@ -10867,8 +10985,8 @@ var Table_default = {
10867
10985
  };
10868
10986
 
10869
10987
  // src/components/Table/normal/Cell.tsx
10870
- import { jsx as jsx258 } from "react/jsx-runtime";
10871
- var Cell = forwardRef67(
10988
+ import { jsx as jsx259 } from "react/jsx-runtime";
10989
+ var Cell = forwardRef68(
10872
10990
  ({
10873
10991
  children,
10874
10992
  type: _type,
@@ -10881,7 +10999,7 @@ var Cell = forwardRef67(
10881
10999
  const type = _type != null ? _type : isInHead ? "head" : "data";
10882
11000
  const { isCollapsibleChild } = collapsibleProps != null ? collapsibleProps : {};
10883
11001
  const isComplexLayout = layout === "text and icon";
10884
- return isCollapsibleChild ? /* @__PURE__ */ jsx258(DescriptionListDesc, { children }) : type === "head" ? /* @__PURE__ */ jsx258(
11002
+ return isCollapsibleChild ? /* @__PURE__ */ jsx259(DescriptionListDesc, { children }) : type === "head" ? /* @__PURE__ */ jsx259(
10885
11003
  "th",
10886
11004
  {
10887
11005
  ref,
@@ -10891,15 +11009,15 @@ var Cell = forwardRef67(
10891
11009
  !isComplexLayout && Table_default[`cell--${layout}`],
10892
11010
  Table_default["cell--head"]
10893
11011
  ),
10894
- children: isComplexLayout ? /* @__PURE__ */ jsx258("div", { className: Table_default.cell__inner, children }) : children
11012
+ children: isComplexLayout ? /* @__PURE__ */ jsx259("div", { className: Table_default.cell__inner, children }) : children
10895
11013
  }
10896
- ) : /* @__PURE__ */ jsx258(
11014
+ ) : /* @__PURE__ */ jsx259(
10897
11015
  "td",
10898
11016
  {
10899
11017
  ref,
10900
11018
  ...rest,
10901
11019
  className: cn(className, !isComplexLayout && Table_default[`cell--${layout}`]),
10902
- children: isComplexLayout ? /* @__PURE__ */ jsx258("div", { className: Table_default.cell__inner, children }) : children
11020
+ children: isComplexLayout ? /* @__PURE__ */ jsx259("div", { className: Table_default.cell__inner, children }) : children
10903
11021
  }
10904
11022
  );
10905
11023
  }
@@ -10907,23 +11025,23 @@ var Cell = forwardRef67(
10907
11025
  Cell.displayName = "Table.Cell";
10908
11026
 
10909
11027
  // src/components/Table/normal/Foot.tsx
10910
- import { forwardRef as forwardRef68 } from "react";
10911
- import { jsx as jsx259 } from "react/jsx-runtime";
10912
- var Foot = forwardRef68(
11028
+ import { forwardRef as forwardRef69 } from "react";
11029
+ import { jsx as jsx260 } from "react/jsx-runtime";
11030
+ var Foot = forwardRef69(
10913
11031
  (props, ref) => {
10914
- return /* @__PURE__ */ jsx259("tfoot", { ref, ...props });
11032
+ return /* @__PURE__ */ jsx260("tfoot", { ref, ...props });
10915
11033
  }
10916
11034
  );
10917
11035
  Foot.displayName = "Table.Foot";
10918
11036
 
10919
11037
  // src/components/Table/normal/Row.tsx
10920
- import { forwardRef as forwardRef69 } from "react";
10921
- import { jsx as jsx260 } from "react/jsx-runtime";
10922
- var Row = forwardRef69(
11038
+ import { forwardRef as forwardRef70 } from "react";
11039
+ import { jsx as jsx261 } from "react/jsx-runtime";
11040
+ var Row = forwardRef70(
10923
11041
  ({ type: _type, mode = "normal", hoverable, selected, className, ...rest }, ref) => {
10924
11042
  const isInHeader = useIsInTableHead();
10925
11043
  const type = _type != null ? _type : isInHeader ? "head" : "body";
10926
- return /* @__PURE__ */ jsx260(
11044
+ return /* @__PURE__ */ jsx261(
10927
11045
  "tr",
10928
11046
  {
10929
11047
  ref,
@@ -10946,23 +11064,23 @@ var Row = forwardRef69(
10946
11064
  Row.displayName = "Table.Row";
10947
11065
 
10948
11066
  // src/components/Table/normal/SortCell.tsx
10949
- import { forwardRef as forwardRef70 } from "react";
10950
- import { jsx as jsx261, jsxs as jsxs66 } from "react/jsx-runtime";
11067
+ import { forwardRef as forwardRef71 } from "react";
11068
+ import { jsx as jsx262, jsxs as jsxs67 } from "react/jsx-runtime";
10951
11069
  var makeSortIcon = (isSorted, sortOrder) => {
10952
11070
  if (!isSorted || !sortOrder) {
10953
- return /* @__PURE__ */ jsx261(Icon, { icon: UnfoldMoreIcon, iconSize: "inherit" });
11071
+ return /* @__PURE__ */ jsx262(Icon, { icon: UnfoldMoreIcon, iconSize: "inherit" });
10954
11072
  }
10955
- return sortOrder === "ascending" ? /* @__PURE__ */ jsx261(Icon, { icon: ChevronDownIcon, iconSize: "inherit" }) : /* @__PURE__ */ jsx261(Icon, { icon: ChevronUpIcon, iconSize: "inherit" });
11073
+ return sortOrder === "ascending" ? /* @__PURE__ */ jsx262(Icon, { icon: ChevronDownIcon, iconSize: "inherit" }) : /* @__PURE__ */ jsx262(Icon, { icon: ChevronUpIcon, iconSize: "inherit" });
10956
11074
  };
10957
- var SortCell = forwardRef70(
10958
- ({ isSorted, sortOrder, onClick, children, ...rest }, ref) => /* @__PURE__ */ jsx261(
11075
+ var SortCell = forwardRef71(
11076
+ ({ isSorted, sortOrder, onClick, children, ...rest }, ref) => /* @__PURE__ */ jsx262(
10959
11077
  Cell,
10960
11078
  {
10961
11079
  ref,
10962
11080
  type: "head",
10963
11081
  "aria-sort": isSorted && sortOrder ? sortOrder : void 0,
10964
11082
  ...rest,
10965
- children: /* @__PURE__ */ jsxs66(
11083
+ children: /* @__PURE__ */ jsxs67(
10966
11084
  "button",
10967
11085
  {
10968
11086
  onClick,
@@ -10986,8 +11104,8 @@ var SortCell = forwardRef70(
10986
11104
  SortCell.displayName = "Table.SortCell";
10987
11105
 
10988
11106
  // src/components/Table/normal/Table.tsx
10989
- import { forwardRef as forwardRef71 } from "react";
10990
- import { jsx as jsx262 } from "react/jsx-runtime";
11107
+ import { forwardRef as forwardRef72 } from "react";
11108
+ import { jsx as jsx263 } from "react/jsx-runtime";
10991
11109
  function getDensityCn(value) {
10992
11110
  switch (value) {
10993
11111
  case "normal":
@@ -10997,7 +11115,7 @@ function getDensityCn(value) {
10997
11115
  return "extra-compact";
10998
11116
  }
10999
11117
  }
11000
- var Table = forwardRef71(
11118
+ var Table = forwardRef72(
11001
11119
  ({
11002
11120
  density = "normal",
11003
11121
  stickyHeader,
@@ -11006,7 +11124,7 @@ var Table = forwardRef71(
11006
11124
  children,
11007
11125
  ...rest
11008
11126
  }, ref) => {
11009
- return /* @__PURE__ */ jsx262(
11127
+ return /* @__PURE__ */ jsx263(
11010
11128
  "table",
11011
11129
  {
11012
11130
  ref,
@@ -11028,7 +11146,7 @@ Table.displayName = "Table";
11028
11146
 
11029
11147
  // src/components/Table/normal/TableWrapper.tsx
11030
11148
  import { useEffect as useEffect23, useRef as useRef28, useState as useState25 } from "react";
11031
- import { jsx as jsx263 } from "react/jsx-runtime";
11149
+ import { jsx as jsx264 } from "react/jsx-runtime";
11032
11150
  var TableWrapper = ({ className, ...rest }) => {
11033
11151
  const [overflowX, setOverflowX] = useState25(false);
11034
11152
  const [windowWidth, setWindowWidth] = useState25(window.innerWidth);
@@ -11050,7 +11168,7 @@ var TableWrapper = ({ className, ...rest }) => {
11050
11168
  window.addEventListener("resize", handleResize);
11051
11169
  return () => window.removeEventListener("resize", handleResize);
11052
11170
  });
11053
- return /* @__PURE__ */ jsx263(
11171
+ return /* @__PURE__ */ jsx264(
11054
11172
  "div",
11055
11173
  {
11056
11174
  ref: wrapperRef,
@@ -11077,8 +11195,8 @@ Table2.Row = Row;
11077
11195
  Table2.Foot = Foot;
11078
11196
 
11079
11197
  // src/components/Table/collapsible/CollapsibleRow.tsx
11080
- import { Fragment as Fragment14, jsx as jsx264, jsxs as jsxs67 } from "react/jsx-runtime";
11081
- var CollapsibleRow = forwardRef72(
11198
+ import { Fragment as Fragment14, jsx as jsx265, jsxs as jsxs68 } from "react/jsx-runtime";
11199
+ var CollapsibleRow = forwardRef73(
11082
11200
  ({
11083
11201
  type: _type,
11084
11202
  className,
@@ -11119,33 +11237,33 @@ var CollapsibleRow = forwardRef72(
11119
11237
  const collapsedRenderedChildren = isCollapsed && collapsedHeaderValues.length > 0 ? collapsedChildren.map(function(child, index) {
11120
11238
  const id = derivativeIdGenerator(prefix3, index.toString());
11121
11239
  collapsibleIds.push(id);
11122
- return /* @__PURE__ */ jsxs67(Fragment13, { children: [
11123
- /* @__PURE__ */ jsx264(DescriptionListTerm, { children: collapsedHeaderValues[index].content }),
11240
+ return /* @__PURE__ */ jsxs68(Fragment13, { children: [
11241
+ /* @__PURE__ */ jsx265(DescriptionListTerm, { children: collapsedHeaderValues[index].content }),
11124
11242
  isValidElement9(child) && cloneElement8(child, {
11125
11243
  collapsibleProps: { isCollapsibleChild: true }
11126
11244
  })
11127
11245
  ] }, `DL-${index}`);
11128
11246
  }) : null;
11129
- const collapsedRows = collapsedRenderedChildren && collapsedRenderedChildren.length > 0 ? /* @__PURE__ */ jsx264(Row, { ...rowProps(), children: /* @__PURE__ */ jsx264(Cell, { colSpan: definingColumnIndex.length + 1, children: /* @__PURE__ */ jsx264(DescriptionList, { children: collapsedRenderedChildren }) }) }) : null;
11247
+ const collapsedRows = collapsedRenderedChildren && collapsedRenderedChildren.length > 0 ? /* @__PURE__ */ jsx265(Row, { ...rowProps(), children: /* @__PURE__ */ jsx265(Cell, { colSpan: definingColumnIndex.length + 1, children: /* @__PURE__ */ jsx265(DescriptionList, { children: collapsedRenderedChildren }) }) }) : null;
11130
11248
  const definingColumnCells = childrenArray.slice().filter((column2, index) => definingColumnIndex.indexOf(index) > -1).sort((a3, b) => {
11131
11249
  return definingColumnIndex.indexOf(childrenArray.indexOf(a3)) - definingColumnIndex.indexOf(childrenArray.indexOf(b));
11132
11250
  });
11133
11251
  const headerRow = () => {
11134
11252
  if (type !== "head" || !isCollapsed) return null;
11135
- return /* @__PURE__ */ jsx264(Row, { ref, ...rowProps(), children: /* @__PURE__ */ jsxs67(Fragment14, { children: [
11253
+ return /* @__PURE__ */ jsx265(Row, { ref, ...rowProps(), children: /* @__PURE__ */ jsxs68(Fragment14, { children: [
11136
11254
  definingColumnCells,
11137
- /* @__PURE__ */ jsxs67(Table2.Cell, { type: "head", layout: "center", children: [
11255
+ /* @__PURE__ */ jsxs68(Table2.Cell, { type: "head", layout: "center", children: [
11138
11256
  "Utvid",
11139
- /* @__PURE__ */ jsx264(VisuallyHidden, { as: "span", children: "raden" })
11257
+ /* @__PURE__ */ jsx265(VisuallyHidden, { as: "span", children: "raden" })
11140
11258
  ] })
11141
11259
  ] }) });
11142
11260
  };
11143
11261
  const idList = spaceSeparatedIdListGenerator(collapsibleIds);
11144
11262
  const rowWithChevron = () => {
11145
11263
  if (type !== "body" || !isCollapsed) return null;
11146
- return /* @__PURE__ */ jsxs67(Row, { ref, ...rowProps(!childrenCollapsed && true), children: [
11264
+ return /* @__PURE__ */ jsxs68(Row, { ref, ...rowProps(!childrenCollapsed && true), children: [
11147
11265
  definingColumnCells,
11148
- /* @__PURE__ */ jsx264(Table2.Cell, { children: /* @__PURE__ */ jsx264(
11266
+ /* @__PURE__ */ jsx265(Table2.Cell, { children: /* @__PURE__ */ jsx265(
11149
11267
  "button",
11150
11268
  {
11151
11269
  onClick: () => setChildrenCollapsed(!childrenCollapsed),
@@ -11157,7 +11275,7 @@ var CollapsibleRow = forwardRef72(
11157
11275
  utilStyles_default["remove-button-styling"],
11158
11276
  focusable
11159
11277
  ),
11160
- children: /* @__PURE__ */ jsx264(
11278
+ children: /* @__PURE__ */ jsx265(
11161
11279
  AnimatedChevronUpDown,
11162
11280
  {
11163
11281
  isUp: childrenCollapsed ? false : true,
@@ -11169,28 +11287,28 @@ var CollapsibleRow = forwardRef72(
11169
11287
  ) })
11170
11288
  ] });
11171
11289
  };
11172
- return isCollapsed && collapsedRenderedChildren && collapsedRenderedChildren.length > 0 ? /* @__PURE__ */ jsxs67(Fragment14, { children: [
11290
+ return isCollapsed && collapsedRenderedChildren && collapsedRenderedChildren.length > 0 ? /* @__PURE__ */ jsxs68(Fragment14, { children: [
11173
11291
  headerRow(),
11174
- type === "body" && /* @__PURE__ */ jsxs67(Fragment14, { children: [
11292
+ type === "body" && /* @__PURE__ */ jsxs68(Fragment14, { children: [
11175
11293
  rowWithChevron(),
11176
11294
  childrenCollapsed ? null : collapsedRows
11177
11295
  ] })
11178
- ] }) : /* @__PURE__ */ jsx264(Row, { ref, ...rowProps(), children });
11296
+ ] }) : /* @__PURE__ */ jsx265(Row, { ref, ...rowProps(), children });
11179
11297
  }
11180
11298
  );
11181
11299
  CollapsibleRow.displayName = "CollapsibleTable.Row";
11182
11300
 
11183
11301
  // src/components/Table/collapsible/CollapsibleTable.tsx
11184
- import { forwardRef as forwardRef73 } from "react";
11185
- import { jsx as jsx265 } from "react/jsx-runtime";
11186
- var CollapsibleTable = forwardRef73((props, ref) => {
11302
+ import { forwardRef as forwardRef74 } from "react";
11303
+ import { jsx as jsx266 } from "react/jsx-runtime";
11304
+ var CollapsibleTable = forwardRef74((props, ref) => {
11187
11305
  const {
11188
11306
  isCollapsed,
11189
11307
  headerValues,
11190
11308
  definingColumnIndex = [0],
11191
11309
  ...rest
11192
11310
  } = props;
11193
- return /* @__PURE__ */ jsx265(
11311
+ return /* @__PURE__ */ jsx266(
11194
11312
  CollapsibleTableContext.Provider,
11195
11313
  {
11196
11314
  value: {
@@ -11198,7 +11316,7 @@ var CollapsibleTable = forwardRef73((props, ref) => {
11198
11316
  headerValues,
11199
11317
  definingColumnIndex
11200
11318
  },
11201
- children: /* @__PURE__ */ jsx265(Table2, { ref, ...rest })
11319
+ children: /* @__PURE__ */ jsx266(Table2, { ref, ...rest })
11202
11320
  }
11203
11321
  );
11204
11322
  });
@@ -11210,9 +11328,9 @@ CollapsibleTable2.Row = CollapsibleRow;
11210
11328
 
11211
11329
  // src/components/Tabs/Tabs.tsx
11212
11330
  import {
11213
- forwardRef as forwardRef74,
11331
+ forwardRef as forwardRef75,
11214
11332
  useEffect as useEffect25,
11215
- useId as useId22,
11333
+ useId as useId23,
11216
11334
  useRef as useRef29,
11217
11335
  useState as useState27
11218
11336
  } from "react";
@@ -11246,8 +11364,8 @@ var Tabs_default = {
11246
11364
  };
11247
11365
 
11248
11366
  // src/components/Tabs/Tabs.tsx
11249
- import { jsx as jsx266 } from "react/jsx-runtime";
11250
- var Tabs = forwardRef74((props, ref) => {
11367
+ import { jsx as jsx267 } from "react/jsx-runtime";
11368
+ var Tabs = forwardRef75((props, ref) => {
11251
11369
  const {
11252
11370
  id,
11253
11371
  activeTab,
@@ -11259,7 +11377,7 @@ var Tabs = forwardRef74((props, ref) => {
11259
11377
  htmlProps,
11260
11378
  ...rest
11261
11379
  } = props;
11262
- const generatedId = useId22();
11380
+ const generatedId = useId23();
11263
11381
  const uniqueId = id != null ? id : `${generatedId}-tabs`;
11264
11382
  const [thisActiveTab, setActiveTab] = useState27(activeTab != null ? activeTab : 0);
11265
11383
  const [hasTabFocus, setHasTabFocus] = useState27(false);
@@ -11278,7 +11396,7 @@ var Tabs = forwardRef74((props, ref) => {
11278
11396
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
11279
11397
  ["--dds-tabs-width"]: width
11280
11398
  };
11281
- return /* @__PURE__ */ jsx266(
11399
+ return /* @__PURE__ */ jsx267(
11282
11400
  TabsContext.Provider,
11283
11401
  {
11284
11402
  value: {
@@ -11291,7 +11409,7 @@ var Tabs = forwardRef74((props, ref) => {
11291
11409
  setHasTabFocus,
11292
11410
  tabContentDirection
11293
11411
  },
11294
- children: /* @__PURE__ */ jsx266(
11412
+ children: /* @__PURE__ */ jsx267(
11295
11413
  "div",
11296
11414
  {
11297
11415
  ref,
@@ -11312,7 +11430,7 @@ Tabs.displayName = "Tabs";
11312
11430
 
11313
11431
  // src/components/Tabs/Tab.tsx
11314
11432
  import {
11315
- forwardRef as forwardRef75,
11433
+ forwardRef as forwardRef76,
11316
11434
  useCallback as useCallback7,
11317
11435
  useEffect as useEffect26,
11318
11436
  useRef as useRef30
@@ -11324,13 +11442,13 @@ import {
11324
11442
  useContext as useContext13,
11325
11443
  useLayoutEffect as useLayoutEffect2
11326
11444
  } from "react";
11327
- import { jsx as jsx267 } from "react/jsx-runtime";
11445
+ import { jsx as jsx268 } from "react/jsx-runtime";
11328
11446
  var TabContext = createContext10(null);
11329
11447
  function TabWidthContextProvider({
11330
11448
  children,
11331
11449
  onChangeWidths
11332
11450
  }) {
11333
- return /* @__PURE__ */ jsx267(
11451
+ return /* @__PURE__ */ jsx268(
11334
11452
  TabContext.Provider,
11335
11453
  {
11336
11454
  value: {
@@ -11362,8 +11480,8 @@ function useSetTabWidth(index, width) {
11362
11480
  }
11363
11481
 
11364
11482
  // src/components/Tabs/Tab.tsx
11365
- import { jsx as jsx268, jsxs as jsxs68 } from "react/jsx-runtime";
11366
- var Tab = forwardRef75((props, ref) => {
11483
+ import { jsx as jsx269, jsxs as jsxs69 } from "react/jsx-runtime";
11484
+ var Tab = forwardRef76((props, ref) => {
11367
11485
  const {
11368
11486
  active = false,
11369
11487
  icon: icon2,
@@ -11402,7 +11520,7 @@ var Tab = forwardRef75((props, ref) => {
11402
11520
  handleSelect();
11403
11521
  onKeyDown && onKeyDown(e);
11404
11522
  };
11405
- return /* @__PURE__ */ jsxs68(
11523
+ return /* @__PURE__ */ jsxs69(
11406
11524
  "button",
11407
11525
  {
11408
11526
  ...getBaseHTMLProps(
@@ -11425,8 +11543,8 @@ var Tab = forwardRef75((props, ref) => {
11425
11543
  onKeyDown: handleOnKeyDown,
11426
11544
  tabIndex: focus ? 0 : -1,
11427
11545
  children: [
11428
- icon2 && /* @__PURE__ */ jsx268(Icon, { icon: icon2, iconSize: "inherit" }),
11429
- /* @__PURE__ */ jsx268("span", { children })
11546
+ icon2 && /* @__PURE__ */ jsx269(Icon, { icon: icon2, iconSize: "inherit" }),
11547
+ /* @__PURE__ */ jsx269("span", { children })
11430
11548
  ]
11431
11549
  }
11432
11550
  );
@@ -11437,12 +11555,12 @@ Tab.displayName = "Tab";
11437
11555
  import {
11438
11556
  Children as Children6,
11439
11557
  cloneElement as cloneElement9,
11440
- forwardRef as forwardRef76,
11558
+ forwardRef as forwardRef77,
11441
11559
  isValidElement as isValidElement10,
11442
11560
  useState as useState28
11443
11561
  } from "react";
11444
- import { jsx as jsx269 } from "react/jsx-runtime";
11445
- var TabList = forwardRef76(
11562
+ import { jsx as jsx270 } from "react/jsx-runtime";
11563
+ var TabList = forwardRef77(
11446
11564
  ({ children, id, style, onFocus, ...rest }, ref) => {
11447
11565
  const {
11448
11566
  activeTab,
@@ -11485,7 +11603,7 @@ var TabList = forwardRef76(
11485
11603
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
11486
11604
  ["--dds-tab-widths"]: widths.join(" ")
11487
11605
  };
11488
- return /* @__PURE__ */ jsx269(TabWidthContextProvider, { onChangeWidths: setWidths, children: /* @__PURE__ */ jsx269(
11606
+ return /* @__PURE__ */ jsx270(TabWidthContextProvider, { onChangeWidths: setWidths, children: /* @__PURE__ */ jsx270(
11489
11607
  "div",
11490
11608
  {
11491
11609
  ...rest,
@@ -11511,11 +11629,11 @@ var TabList = forwardRef76(
11511
11629
  TabList.displayName = "TabList";
11512
11630
 
11513
11631
  // src/components/Tabs/TabPanel.tsx
11514
- import { forwardRef as forwardRef77 } from "react";
11515
- import { jsx as jsx270 } from "react/jsx-runtime";
11516
- var TabPanel = forwardRef77(
11632
+ import { forwardRef as forwardRef78 } from "react";
11633
+ import { jsx as jsx271 } from "react/jsx-runtime";
11634
+ var TabPanel = forwardRef78(
11517
11635
  ({ active = false, children, id, className, htmlProps, ...rest }, ref) => {
11518
- return /* @__PURE__ */ jsx270(
11636
+ return /* @__PURE__ */ jsx271(
11519
11637
  "div",
11520
11638
  {
11521
11639
  ...getBaseHTMLProps(
@@ -11543,11 +11661,11 @@ TabPanel.displayName = "TabPanel";
11543
11661
  import {
11544
11662
  Children as Children7,
11545
11663
  cloneElement as cloneElement10,
11546
- forwardRef as forwardRef78,
11664
+ forwardRef as forwardRef79,
11547
11665
  isValidElement as isValidElement11
11548
11666
  } from "react";
11549
- import { jsx as jsx271 } from "react/jsx-runtime";
11550
- var TabPanels = forwardRef78(
11667
+ import { jsx as jsx272 } from "react/jsx-runtime";
11668
+ var TabPanels = forwardRef79(
11551
11669
  ({ children, ...rest }, ref) => {
11552
11670
  const { activeTab, tabsId, tabPanelsRef } = useTabsContext();
11553
11671
  const combinedRef = useCombinedRef(ref, tabPanelsRef);
@@ -11560,13 +11678,13 @@ var TabPanels = forwardRef78(
11560
11678
  "aria-expanded": active
11561
11679
  });
11562
11680
  });
11563
- return /* @__PURE__ */ jsx271("div", { ref: combinedRef, ...rest, children: panelChildren });
11681
+ return /* @__PURE__ */ jsx272("div", { ref: combinedRef, ...rest, children: panelChildren });
11564
11682
  }
11565
11683
  );
11566
11684
  TabPanels.displayName = "TabPanels";
11567
11685
 
11568
11686
  // src/components/Tag/Tag.tsx
11569
- import { forwardRef as forwardRef79 } from "react";
11687
+ import { forwardRef as forwardRef80 } from "react";
11570
11688
 
11571
11689
  // src/components/Tag/Tag.module.css
11572
11690
  var Tag_default = {
@@ -11585,7 +11703,7 @@ var Tag_default = {
11585
11703
  };
11586
11704
 
11587
11705
  // src/components/Tag/Tag.tsx
11588
- import { jsx as jsx272, jsxs as jsxs69 } from "react/jsx-runtime";
11706
+ import { jsx as jsx273, jsxs as jsxs70 } from "react/jsx-runtime";
11589
11707
  var purposeVariants3 = {
11590
11708
  info: {
11591
11709
  icon: InfoIcon
@@ -11603,7 +11721,7 @@ var purposeVariants3 = {
11603
11721
  icon: void 0
11604
11722
  }
11605
11723
  };
11606
- var Tag = forwardRef79((props, ref) => {
11724
+ var Tag = forwardRef80((props, ref) => {
11607
11725
  const {
11608
11726
  text,
11609
11727
  purpose = "default",
@@ -11616,7 +11734,7 @@ var Tag = forwardRef79((props, ref) => {
11616
11734
  ...rest
11617
11735
  } = props;
11618
11736
  const icon2 = purposeVariants3[purpose].icon;
11619
- return /* @__PURE__ */ jsxs69(
11737
+ return /* @__PURE__ */ jsxs70(
11620
11738
  TextOverflowEllipsisWrapper,
11621
11739
  {
11622
11740
  ...getBaseHTMLProps(
@@ -11633,8 +11751,8 @@ var Tag = forwardRef79((props, ref) => {
11633
11751
  ),
11634
11752
  ref,
11635
11753
  children: [
11636
- withIcon && icon2 && /* @__PURE__ */ jsx272(Icon, { icon: icon2, iconSize: "small" }),
11637
- /* @__PURE__ */ jsx272(TextOverflowEllipsisInner, { children: children != null ? children : text })
11754
+ withIcon && icon2 && /* @__PURE__ */ jsx273(Icon, { icon: icon2, iconSize: "small" }),
11755
+ /* @__PURE__ */ jsx273(TextOverflowEllipsisInner, { children: children != null ? children : text })
11638
11756
  ]
11639
11757
  }
11640
11758
  );
@@ -11644,8 +11762,8 @@ Tag.displayName = "Tag";
11644
11762
  // src/components/TextInput/TextInput.tsx
11645
11763
  import { ddsTokens as ddsTokens16 } from "@norges-domstoler/dds-design-tokens";
11646
11764
  import {
11647
- forwardRef as forwardRef80,
11648
- useId as useId23,
11765
+ forwardRef as forwardRef81,
11766
+ useId as useId24,
11649
11767
  useLayoutEffect as useLayoutEffect3,
11650
11768
  useRef as useRef31,
11651
11769
  useState as useState29
@@ -11675,8 +11793,8 @@ var TextInput_default = {
11675
11793
  };
11676
11794
 
11677
11795
  // src/components/TextInput/TextInput.tsx
11678
- import { jsx as jsx273, jsxs as jsxs70 } from "react/jsx-runtime";
11679
- var TextInput = forwardRef80(
11796
+ import { jsx as jsx274, jsxs as jsxs71 } from "react/jsx-runtime";
11797
+ var TextInput = forwardRef81(
11680
11798
  ({
11681
11799
  label,
11682
11800
  disabled,
@@ -11723,7 +11841,7 @@ var TextInput = forwardRef80(
11723
11841
  onChange(event);
11724
11842
  }
11725
11843
  };
11726
- const generatedId = useId23();
11844
+ const generatedId = useId24();
11727
11845
  const uniqueId = id != null ? id : `${generatedId}-textInput`;
11728
11846
  const hasErrorMessage = !!errorMessage;
11729
11847
  const hasTip = !!tip;
@@ -11767,13 +11885,13 @@ var TextInput = forwardRef80(
11767
11885
  const suffixPaddingInlineEnd = readOnly && suffixLength ? suffixLength + "px" : suffixLength ? ddsTokens16.DdsSpacingX1NumberPx + suffixLength + "px" : void 0;
11768
11886
  let extendedInput = null;
11769
11887
  if (hasIcon) {
11770
- extendedInput = /* @__PURE__ */ jsxs70(
11888
+ extendedInput = /* @__PURE__ */ jsxs71(
11771
11889
  "div",
11772
11890
  {
11773
11891
  className: cn(TextInput_default["input-width"], Input_default["input-group"]),
11774
11892
  style: styleVariables,
11775
11893
  children: [
11776
- /* @__PURE__ */ jsx273(
11894
+ /* @__PURE__ */ jsx274(
11777
11895
  Icon,
11778
11896
  {
11779
11897
  icon: icon2,
@@ -11781,7 +11899,7 @@ var TextInput = forwardRef80(
11781
11899
  className: cn(TextInput_default.icon, TextInput_default[`icon--${componentSize}`])
11782
11900
  }
11783
11901
  ),
11784
- /* @__PURE__ */ jsx273(
11902
+ /* @__PURE__ */ jsx274(
11785
11903
  StatefulInput,
11786
11904
  {
11787
11905
  ref,
@@ -11796,13 +11914,13 @@ var TextInput = forwardRef80(
11796
11914
  }
11797
11915
  );
11798
11916
  } else if (hasAffix) {
11799
- extendedInput = /* @__PURE__ */ jsxs70(
11917
+ extendedInput = /* @__PURE__ */ jsxs71(
11800
11918
  "div",
11801
11919
  {
11802
11920
  className: cn(TextInput_default["affix-container"], TextInput_default["input-width"]),
11803
11921
  style: styleVariables,
11804
11922
  children: [
11805
- prefix3 && /* @__PURE__ */ jsx273(
11923
+ prefix3 && /* @__PURE__ */ jsx274(
11806
11924
  "span",
11807
11925
  {
11808
11926
  ref: prefixRef,
@@ -11815,7 +11933,7 @@ var TextInput = forwardRef80(
11815
11933
  children: prefix3
11816
11934
  }
11817
11935
  ),
11818
- /* @__PURE__ */ jsx273(
11936
+ /* @__PURE__ */ jsx274(
11819
11937
  StatefulInput,
11820
11938
  {
11821
11939
  ref,
@@ -11829,7 +11947,7 @@ var TextInput = forwardRef80(
11829
11947
  }
11830
11948
  }
11831
11949
  ),
11832
- suffix && /* @__PURE__ */ jsx273(
11950
+ suffix && /* @__PURE__ */ jsx274(
11833
11951
  "span",
11834
11952
  {
11835
11953
  ref: suffixRef,
@@ -11846,7 +11964,7 @@ var TextInput = forwardRef80(
11846
11964
  }
11847
11965
  );
11848
11966
  }
11849
- return /* @__PURE__ */ jsxs70(
11967
+ return /* @__PURE__ */ jsxs71(
11850
11968
  "div",
11851
11969
  {
11852
11970
  className: cn(
@@ -11856,7 +11974,7 @@ var TextInput = forwardRef80(
11856
11974
  ),
11857
11975
  style,
11858
11976
  children: [
11859
- hasLabel && /* @__PURE__ */ jsx273(
11977
+ hasLabel && /* @__PURE__ */ jsx274(
11860
11978
  Label,
11861
11979
  {
11862
11980
  htmlFor: uniqueId,
@@ -11865,7 +11983,7 @@ var TextInput = forwardRef80(
11865
11983
  children: label
11866
11984
  }
11867
11985
  ),
11868
- extendedInput ? extendedInput : /* @__PURE__ */ jsx273(
11986
+ extendedInput ? extendedInput : /* @__PURE__ */ jsx274(
11869
11987
  StatefulInput,
11870
11988
  {
11871
11989
  ref,
@@ -11877,7 +11995,7 @@ var TextInput = forwardRef80(
11877
11995
  className: TextInput_default["input-width"]
11878
11996
  }
11879
11997
  ),
11880
- hasMessage && /* @__PURE__ */ jsxs70("div", { className: TextInput_default["message-container"], children: [
11998
+ hasMessage && /* @__PURE__ */ jsxs71("div", { className: TextInput_default["message-container"], children: [
11881
11999
  renderInputMessage(tip, tipId, errorMessage, errorMessageId),
11882
12000
  renderCharCounter(
11883
12001
  characterCounterId,
@@ -11894,7 +12012,7 @@ var TextInput = forwardRef80(
11894
12012
  TextInput.displayName = "TextInput";
11895
12013
 
11896
12014
  // src/components/ToggleBar/ToggleBar.tsx
11897
- import { useId as useId24, useState as useState30 } from "react";
12015
+ import { useId as useId25, useState as useState30 } from "react";
11898
12016
 
11899
12017
  // src/components/ToggleBar/ToggleBar.context.tsx
11900
12018
  import { createContext as createContext11, useContext as useContext14 } from "react";
@@ -11920,7 +12038,7 @@ var ToggleBar_default = {
11920
12038
  };
11921
12039
 
11922
12040
  // src/components/ToggleBar/ToggleBar.tsx
11923
- import { jsx as jsx274, jsxs as jsxs71 } from "react/jsx-runtime";
12041
+ import { jsx as jsx275, jsxs as jsxs72 } from "react/jsx-runtime";
11924
12042
  var ToggleBar = (props) => {
11925
12043
  const {
11926
12044
  children,
@@ -11935,7 +12053,7 @@ var ToggleBar = (props) => {
11935
12053
  id,
11936
12054
  ...rest
11937
12055
  } = props;
11938
- const generatedId = useId24();
12056
+ const generatedId = useId25();
11939
12057
  const uniqueId = id != null ? id : `${generatedId}-ToggleBar`;
11940
12058
  const [groupValue, setGroupValue] = useState30(value);
11941
12059
  const handleChange = combineHandlers(
@@ -11943,7 +12061,7 @@ var ToggleBar = (props) => {
11943
12061
  (e) => onChange && onChange(e, e.target.value)
11944
12062
  );
11945
12063
  const labelId = label && `${uniqueId}-label`;
11946
- return /* @__PURE__ */ jsx274(
12064
+ return /* @__PURE__ */ jsx275(
11947
12065
  ToggleBarContext.Provider,
11948
12066
  {
11949
12067
  value: {
@@ -11952,7 +12070,7 @@ var ToggleBar = (props) => {
11952
12070
  name,
11953
12071
  value: groupValue
11954
12072
  },
11955
- children: /* @__PURE__ */ jsxs71(
12073
+ children: /* @__PURE__ */ jsxs72(
11956
12074
  "div",
11957
12075
  {
11958
12076
  ...getBaseHTMLProps(
@@ -11965,8 +12083,8 @@ var ToggleBar = (props) => {
11965
12083
  role: "radiogroup",
11966
12084
  "aria-labelledby": labelId != null ? labelId : htmlProps == null ? void 0 : htmlProps["aria-labelledby"],
11967
12085
  children: [
11968
- label && /* @__PURE__ */ jsx274(Label, { id: labelId, children: label }),
11969
- /* @__PURE__ */ jsx274("div", { className: ToggleBar_default.bar, children })
12086
+ label && /* @__PURE__ */ jsx275(Label, { id: labelId, children: label }),
12087
+ /* @__PURE__ */ jsx275("div", { className: ToggleBar_default.bar, children })
11970
12088
  ]
11971
12089
  }
11972
12090
  )
@@ -11977,10 +12095,10 @@ ToggleBar.displayName = "ToggleBar";
11977
12095
 
11978
12096
  // src/components/ToggleBar/ToggleRadio.tsx
11979
12097
  import {
11980
- forwardRef as forwardRef81,
11981
- useId as useId25
12098
+ forwardRef as forwardRef82,
12099
+ useId as useId26
11982
12100
  } from "react";
11983
- import { jsx as jsx275, jsxs as jsxs72 } from "react/jsx-runtime";
12101
+ import { jsx as jsx276, jsxs as jsxs73 } from "react/jsx-runtime";
11984
12102
  var typographyTypes5 = {
11985
12103
  large: "bodySans04",
11986
12104
  medium: "bodySans02",
@@ -11997,7 +12115,7 @@ var calculateChecked = (value, group, checked) => {
11997
12115
  }
11998
12116
  return !!value;
11999
12117
  };
12000
- var ToggleRadio = forwardRef81(
12118
+ var ToggleRadio = forwardRef82(
12001
12119
  (props, ref) => {
12002
12120
  const {
12003
12121
  value,
@@ -12013,7 +12131,7 @@ var ToggleRadio = forwardRef81(
12013
12131
  id,
12014
12132
  ...rest
12015
12133
  } = props;
12016
- const generatedId = useId25();
12134
+ const generatedId = useId26();
12017
12135
  const uniqueId = id != null ? id : `${generatedId}-ToggleRadio`;
12018
12136
  const group = useToggleBarContext();
12019
12137
  const handleChange = (event) => {
@@ -12021,8 +12139,8 @@ var ToggleRadio = forwardRef81(
12021
12139
  (group == null ? void 0 : group.onChange) && group.onChange(event);
12022
12140
  };
12023
12141
  const contentTypeCn = label ? "with-text" : "just-icon";
12024
- return /* @__PURE__ */ jsxs72("label", { htmlFor: uniqueId, className: ToggleBar_default.label, children: [
12025
- /* @__PURE__ */ jsx275(
12142
+ return /* @__PURE__ */ jsxs73("label", { htmlFor: uniqueId, className: ToggleBar_default.label, children: [
12143
+ /* @__PURE__ */ jsx276(
12026
12144
  "input",
12027
12145
  {
12028
12146
  ...getBaseHTMLProps(
@@ -12045,7 +12163,7 @@ var ToggleRadio = forwardRef81(
12045
12163
  "aria-labelledby": ariaLabelledBy
12046
12164
  }
12047
12165
  ),
12048
- /* @__PURE__ */ jsxs72(
12166
+ /* @__PURE__ */ jsxs73(
12049
12167
  Typography,
12050
12168
  {
12051
12169
  as: "span",
@@ -12056,8 +12174,8 @@ var ToggleRadio = forwardRef81(
12056
12174
  focus_default["focus-styled-sibling"]
12057
12175
  ),
12058
12176
  children: [
12059
- icon2 && /* @__PURE__ */ jsx275(Icon, { icon: icon2, iconSize: "inherit" }),
12060
- label && /* @__PURE__ */ jsx275("span", { children: label })
12177
+ icon2 && /* @__PURE__ */ jsx276(Icon, { icon: icon2, iconSize: "inherit" }),
12178
+ label && /* @__PURE__ */ jsx276("span", { children: label })
12061
12179
  ]
12062
12180
  }
12063
12181
  )
@@ -12067,7 +12185,7 @@ var ToggleRadio = forwardRef81(
12067
12185
  ToggleRadio.displayName = "ToggleRadio";
12068
12186
 
12069
12187
  // src/components/ToggleButton/ToggleButton.tsx
12070
- import { forwardRef as forwardRef82, useId as useId26 } from "react";
12188
+ import { forwardRef as forwardRef83, useId as useId27 } from "react";
12071
12189
 
12072
12190
  // src/components/ToggleButton/ToggleButton.module.css
12073
12191
  var ToggleButton_default = {
@@ -12080,13 +12198,13 @@ var ToggleButton_default = {
12080
12198
  };
12081
12199
 
12082
12200
  // src/components/ToggleButton/ToggleButton.tsx
12083
- import { jsx as jsx276, jsxs as jsxs73 } from "react/jsx-runtime";
12084
- var ToggleButton = forwardRef82(
12201
+ import { jsx as jsx277, jsxs as jsxs74 } from "react/jsx-runtime";
12202
+ var ToggleButton = forwardRef83(
12085
12203
  ({ id, label, icon: icon2, className, htmlProps, ...rest }, ref) => {
12086
- const generatedId = useId26();
12204
+ const generatedId = useId27();
12087
12205
  const uniqueId = id != null ? id : `${generatedId}-toggleButton`;
12088
- return /* @__PURE__ */ jsxs73("label", { htmlFor: uniqueId, className: ToggleButton_default.container, children: [
12089
- /* @__PURE__ */ jsx276(
12206
+ return /* @__PURE__ */ jsxs74("label", { htmlFor: uniqueId, className: ToggleButton_default.container, children: [
12207
+ /* @__PURE__ */ jsx277(
12090
12208
  "input",
12091
12209
  {
12092
12210
  ...getBaseHTMLProps(
@@ -12103,7 +12221,7 @@ var ToggleButton = forwardRef82(
12103
12221
  type: "checkbox"
12104
12222
  }
12105
12223
  ),
12106
- /* @__PURE__ */ jsxs73(
12224
+ /* @__PURE__ */ jsxs74(
12107
12225
  "span",
12108
12226
  {
12109
12227
  className: cn(
@@ -12112,7 +12230,7 @@ var ToggleButton = forwardRef82(
12112
12230
  focus_default["focus-styled-sibling"]
12113
12231
  ),
12114
12232
  children: [
12115
- icon2 && /* @__PURE__ */ jsx276(Icon, { icon: icon2, iconSize: "inherit" }),
12233
+ icon2 && /* @__PURE__ */ jsx277(Icon, { icon: icon2, iconSize: "inherit" }),
12116
12234
  " ",
12117
12235
  label
12118
12236
  ]
@@ -12124,8 +12242,8 @@ var ToggleButton = forwardRef82(
12124
12242
  ToggleButton.displayName = "ToggleButton";
12125
12243
 
12126
12244
  // src/components/ToggleButton/ToggleButtonGroup.tsx
12127
- import { useId as useId27 } from "react";
12128
- import { jsx as jsx277, jsxs as jsxs74 } from "react/jsx-runtime";
12245
+ import { useId as useId28 } from "react";
12246
+ import { jsx as jsx278, jsxs as jsxs75 } from "react/jsx-runtime";
12129
12247
  var ToggleButtonGroup = (props) => {
12130
12248
  const {
12131
12249
  children,
@@ -12137,9 +12255,9 @@ var ToggleButtonGroup = (props) => {
12137
12255
  htmlProps,
12138
12256
  ...rest
12139
12257
  } = props;
12140
- const generatedId = useId27();
12258
+ const generatedId = useId28();
12141
12259
  const uniqueLabelId = labelId != null ? labelId : `${generatedId}-ToggleButtonGroupLabel`;
12142
- return /* @__PURE__ */ jsxs74(
12260
+ return /* @__PURE__ */ jsxs75(
12143
12261
  "div",
12144
12262
  {
12145
12263
  ...getBaseHTMLProps(
@@ -12151,7 +12269,7 @@ var ToggleButtonGroup = (props) => {
12151
12269
  role: "group",
12152
12270
  "aria-labelledby": label ? uniqueLabelId : void 0,
12153
12271
  children: [
12154
- !!label && /* @__PURE__ */ jsx277(
12272
+ !!label && /* @__PURE__ */ jsx278(
12155
12273
  Typography,
12156
12274
  {
12157
12275
  as: "span",
@@ -12160,7 +12278,7 @@ var ToggleButtonGroup = (props) => {
12160
12278
  children: label
12161
12279
  }
12162
12280
  ),
12163
- /* @__PURE__ */ jsx277("div", { className: cn(ToggleButton_default.group, ToggleButton_default[`group--${direction}`]), children })
12281
+ /* @__PURE__ */ jsx278("div", { className: cn(ToggleButton_default.group, ToggleButton_default[`group--${direction}`]), children })
12164
12282
  ]
12165
12283
  }
12166
12284
  );
@@ -12330,6 +12448,8 @@ export {
12330
12448
  ModalBody,
12331
12449
  MoreHorizontalIcon,
12332
12450
  MoreVerticalIcon,
12451
+ NativeSelect,
12452
+ NativeSelectPlaceholder,
12333
12453
  NotarialIcon,
12334
12454
  NotificationsIcon,
12335
12455
  NotificationsOffIcon,