@norges-domstoler/dds-components 17.5.4 → 17.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -4295,6 +4295,7 @@ var Accordion_default = {
4295
4295
  container: "Accordion_container",
4296
4296
  "header-button": "Accordion_header-button",
4297
4297
  "header-container": "Accordion_header-container",
4298
+ "header-container__chevron": "Accordion_header-container__chevron",
4298
4299
  body: "Accordion_body",
4299
4300
  body__content: "Accordion_body__content"
4300
4301
  };
@@ -4502,6 +4503,23 @@ var AccordionHeader = forwardRef14((props, ref) => {
4502
4503
  ...restHeaderProps,
4503
4504
  type: "button",
4504
4505
  children: [
4506
+ /* @__PURE__ */ jsx179(
4507
+ "span",
4508
+ {
4509
+ className: cn(
4510
+ AccordionBase_default.header__chevron,
4511
+ Accordion_default["header-container__chevron"]
4512
+ ),
4513
+ children: /* @__PURE__ */ jsx179(
4514
+ AnimatedChevronUpDown,
4515
+ {
4516
+ width: ddsTokens10.ddsIconSizeMedium,
4517
+ height: ddsTokens10.ddsSpacingX05,
4518
+ isUp: isExpanded
4519
+ }
4520
+ )
4521
+ }
4522
+ ),
4505
4523
  /* @__PURE__ */ jsx179(
4506
4524
  "div",
4507
4525
  {
@@ -4512,15 +4530,7 @@ var AccordionHeader = forwardRef14((props, ref) => {
4512
4530
  ),
4513
4531
  children
4514
4532
  }
4515
- ),
4516
- /* @__PURE__ */ jsx179("span", { className: AccordionBase_default.header__chevron, children: /* @__PURE__ */ jsx179(
4517
- AnimatedChevronUpDown,
4518
- {
4519
- width: ddsTokens10.ddsIconSizeMedium,
4520
- height: ddsTokens10.ddsSpacingX05,
4521
- isUp: isExpanded
4522
- }
4523
- ) })
4533
+ )
4524
4534
  ]
4525
4535
  }
4526
4536
  );
@@ -5439,6 +5449,7 @@ var CardAccordion_default = {
5439
5449
  container: "CardAccordion_container",
5440
5450
  "header-button": "CardAccordion_header-button",
5441
5451
  "header-container": "CardAccordion_header-container",
5452
+ "header-container__chevron": "CardAccordion_header-container__chevron",
5442
5453
  body: "CardAccordion_body",
5443
5454
  body__content: "CardAccordion_body__content"
5444
5455
  };
@@ -5542,14 +5553,23 @@ var CardAccordionHeader = forwardRef30((props, ref) => {
5542
5553
  ),
5543
5554
  children: [
5544
5555
  /* @__PURE__ */ jsx199("div", { className: AccordionBase_default.header__content, children }),
5545
- /* @__PURE__ */ jsx199("span", { className: AccordionBase_default.header__chevron, children: /* @__PURE__ */ jsx199(
5546
- AnimatedChevronUpDown,
5556
+ /* @__PURE__ */ jsx199(
5557
+ "span",
5547
5558
  {
5548
- width: ddsTokens14.ddsIconSizeMedium,
5549
- height: ddsTokens14.ddsSpacingX05,
5550
- isUp: isExpanded
5559
+ className: cn(
5560
+ AccordionBase_default.header__chevron,
5561
+ CardAccordion_default["header-container__chevron"]
5562
+ ),
5563
+ children: /* @__PURE__ */ jsx199(
5564
+ AnimatedChevronUpDown,
5565
+ {
5566
+ width: ddsTokens14.ddsIconSizeMedium,
5567
+ height: ddsTokens14.ddsSpacingX05,
5568
+ isUp: isExpanded
5569
+ }
5570
+ )
5551
5571
  }
5552
- ) })
5572
+ )
5553
5573
  ]
5554
5574
  }
5555
5575
  )
@@ -5712,7 +5732,7 @@ import {
5712
5732
  import { useLocale as useLocale2 } from "@react-aria/i18n";
5713
5733
  import { useCalendarState } from "@react-stately/calendar";
5714
5734
  import {
5715
- useContext as useContext5
5735
+ useContext as useContext6
5716
5736
  } from "react";
5717
5737
 
5718
5738
  // src/components/date-inputs/DatePicker/Calendar/CalendarGrid.tsx
@@ -5721,6 +5741,7 @@ import {
5721
5741
  useCalendarGrid
5722
5742
  } from "@react-aria/calendar";
5723
5743
  import { useLocale } from "@react-aria/i18n";
5744
+ import { useContext as useContext5 } from "react";
5724
5745
 
5725
5746
  // src/components/date-inputs/DatePicker/Calendar/CalendarCell.tsx
5726
5747
  import { isToday } from "@internationalized/date";
@@ -5772,16 +5793,17 @@ import { jsx as jsx204 } from "react/jsx-runtime";
5772
5793
  var CalendarPopoverContext = createContext3({
5773
5794
  anchorRef: null,
5774
5795
  isOpen: false,
5775
- onClose: () => null
5796
+ onClose: () => null,
5797
+ showWeekNumbers: true
5776
5798
  });
5777
5799
  var CalendarPopover = ({
5778
5800
  children,
5779
- isOpen,
5780
- onClose
5801
+ onClose,
5802
+ ...props
5781
5803
  }) => {
5782
5804
  const anchorRef = useRef9(null);
5783
5805
  useOnKeyDown("Escape", onClose);
5784
- return /* @__PURE__ */ jsx204(CalendarPopoverContext.Provider, { value: { anchorRef, isOpen, onClose }, children });
5806
+ return /* @__PURE__ */ jsx204(CalendarPopoverContext.Provider, { value: { anchorRef, onClose, ...props }, children });
5785
5807
  };
5786
5808
  var CalendarPopoverAnchor = ({
5787
5809
  children
@@ -5863,6 +5885,18 @@ function CalendarCell({ date, state }) {
5863
5885
  }
5864
5886
  CalendarCell.displayName = "CalendarCell";
5865
5887
 
5888
+ // src/components/VisuallyHidden/VisuallyHidden.tsx
5889
+ import { jsx as jsx206 } from "react/jsx-runtime";
5890
+ var VisuallyHidden = (props) => {
5891
+ const { id, className, htmlProps, as, ...rest } = props;
5892
+ const cl = cn(className, utilStyles_default["visually-hidden"]);
5893
+ if (as === "div") {
5894
+ return /* @__PURE__ */ jsx206("div", { ...getBaseHTMLProps(id, cl, htmlProps, rest) });
5895
+ }
5896
+ return /* @__PURE__ */ jsx206("span", { ...getBaseHTMLProps(id, cl, htmlProps, rest) });
5897
+ };
5898
+ VisuallyHidden.displayName = "VisuallyHidden";
5899
+
5866
5900
  // src/components/date-inputs/utils/getWeekNumber.ts
5867
5901
  import {
5868
5902
  endOfYear,
@@ -5903,7 +5937,7 @@ function isLeapYear(date) {
5903
5937
  }
5904
5938
 
5905
5939
  // src/components/date-inputs/DatePicker/Calendar/CalendarGrid.tsx
5906
- import { jsx as jsx206, jsxs as jsxs34 } from "react/jsx-runtime";
5940
+ import { jsx as jsx207, jsxs as jsxs34 } from "react/jsx-runtime";
5907
5941
  function CalendarGrid({ state, ...props }) {
5908
5942
  const { locale: locale2 } = useLocale();
5909
5943
  const {
@@ -5912,6 +5946,7 @@ function CalendarGrid({ state, ...props }) {
5912
5946
  } = useCalendarGrid(props, state);
5913
5947
  const weeksInMonth = getWeeksInMonth(state.visibleRange.start, locale2);
5914
5948
  const weekDays = ["Ma", "Ti", "On", "To", "Fr", "L\xF8", "S\xF8"];
5949
+ const { showWeekNumbers } = useContext5(CalendarPopoverContext);
5915
5950
  const typographyCn = [
5916
5951
  typographyStyles_default["supporting-style-tiny-02"],
5917
5952
  typographyStyles_default["text-color--subtle"]
@@ -5928,24 +5963,30 @@ function CalendarGrid({ state, ...props }) {
5928
5963
  },
5929
5964
  cellPadding: "0",
5930
5965
  children: [
5931
- /* @__PURE__ */ jsx206("thead", { ...headerProps, children: /* @__PURE__ */ jsxs34("tr", { children: [
5932
- /* @__PURE__ */ jsx206("th", { className: cn(...typographyCn), children: "#" }),
5933
- weekDays.map((day, index) => /* @__PURE__ */ jsx206("th", { className: cn(...typographyCn), children: day }, index))
5966
+ /* @__PURE__ */ jsx207("thead", { ...headerProps, children: /* @__PURE__ */ jsxs34("tr", { children: [
5967
+ showWeekNumbers && /* @__PURE__ */ jsxs34("th", { className: cn(...typographyCn), children: [
5968
+ "# ",
5969
+ /* @__PURE__ */ jsx207(VisuallyHidden, { as: "span", children: "Ukenummer" })
5970
+ ] }),
5971
+ weekDays.map((day, index) => /* @__PURE__ */ jsx207("th", { className: cn(...typographyCn), children: day }, index))
5934
5972
  ] }) }),
5935
- /* @__PURE__ */ jsx206("tbody", { children: [...new Array(weeksInMonth).keys()].map((weekIndex) => {
5973
+ /* @__PURE__ */ jsx207("tbody", { children: [...new Array(weeksInMonth).keys()].map((weekIndex) => {
5936
5974
  const datesInWeek = state.getDatesInWeek(weekIndex);
5937
5975
  const firstExistingDay = datesInWeek.find(Boolean);
5938
5976
  const weekNumber = firstExistingDay ? getWeekNumber(firstExistingDay) : "";
5939
5977
  return /* @__PURE__ */ jsxs34("tr", { children: [
5940
- /* @__PURE__ */ jsx206(
5978
+ showWeekNumbers && /* @__PURE__ */ jsx207(
5941
5979
  "td",
5942
5980
  {
5943
- className: cn(DateInput_default["calendar__week-number"], ...typographyCn),
5981
+ className: cn(
5982
+ DateInput_default["calendar__week-number"],
5983
+ ...typographyCn
5984
+ ),
5944
5985
  children: weekNumber
5945
5986
  }
5946
5987
  ),
5947
5988
  datesInWeek.map(
5948
- (date, i2) => date ? /* @__PURE__ */ jsx206(CalendarCell, { state, date }, i2) : /* @__PURE__ */ jsx206("td", {}, i2)
5989
+ (date, i2) => date ? /* @__PURE__ */ jsx207(CalendarCell, { state, date }, i2) : /* @__PURE__ */ jsx207("td", {}, i2)
5949
5990
  )
5950
5991
  ] }, weekIndex);
5951
5992
  }) })
@@ -5956,7 +5997,7 @@ function CalendarGrid({ state, ...props }) {
5956
5997
  CalendarGrid.displayName = "CalendarGrid";
5957
5998
 
5958
5999
  // src/components/date-inputs/DatePicker/Calendar/Calendar.tsx
5959
- import { jsx as jsx207, jsxs as jsxs35 } from "react/jsx-runtime";
6000
+ import { jsx as jsx208, jsxs as jsxs35 } from "react/jsx-runtime";
5960
6001
  function createCalendar(identifier2) {
5961
6002
  switch (identifier2) {
5962
6003
  case "gregory":
@@ -5978,7 +6019,7 @@ function Calendar(props) {
5978
6019
  nextButtonProps: { onPress: onNext, "aria-label": nextAriaLabel },
5979
6020
  title
5980
6021
  } = useCalendar(props, state);
5981
- const { onClose } = useContext5(CalendarPopoverContext);
6022
+ const { onClose } = useContext6(CalendarPopoverContext);
5982
6023
  const closeOnKeyboardBlurBack = (event) => {
5983
6024
  if (event.key === "Tab" && event.shiftKey === true) {
5984
6025
  onClose();
@@ -5986,7 +6027,7 @@ function Calendar(props) {
5986
6027
  };
5987
6028
  return /* @__PURE__ */ jsxs35("div", { ...calendarProps, className: DateInput_default.calendar, children: [
5988
6029
  /* @__PURE__ */ jsxs35("div", { className: DateInput_default.calendar__header, children: [
5989
- /* @__PURE__ */ jsx207(
6030
+ /* @__PURE__ */ jsx208(
5990
6031
  Button,
5991
6032
  {
5992
6033
  type: "button",
@@ -5999,7 +6040,7 @@ function Calendar(props) {
5999
6040
  className: DateInput_default["calendar__month-button"]
6000
6041
  }
6001
6042
  ),
6002
- /* @__PURE__ */ jsx207(
6043
+ /* @__PURE__ */ jsx208(
6003
6044
  Heading,
6004
6045
  {
6005
6046
  level: 2,
@@ -6008,7 +6049,7 @@ function Calendar(props) {
6008
6049
  children: title
6009
6050
  }
6010
6051
  ),
6011
- /* @__PURE__ */ jsx207(
6052
+ /* @__PURE__ */ jsx208(
6012
6053
  Button,
6013
6054
  {
6014
6055
  type: "button",
@@ -6021,7 +6062,7 @@ function Calendar(props) {
6021
6062
  }
6022
6063
  )
6023
6064
  ] }),
6024
- /* @__PURE__ */ jsx207(CalendarGrid, { state })
6065
+ /* @__PURE__ */ jsx208(CalendarGrid, { state })
6025
6066
  ] });
6026
6067
  }
6027
6068
  Calendar.displayName = "Calendar";
@@ -6049,7 +6090,7 @@ import {
6049
6090
  // src/components/date-inputs/DatePicker/DateField/CalendarButton.tsx
6050
6091
  import { useButton } from "@react-aria/button";
6051
6092
  import { useRef as useRef11 } from "react";
6052
- import { jsx as jsx208 } from "react/jsx-runtime";
6093
+ import { jsx as jsx209 } from "react/jsx-runtime";
6053
6094
  function CalendarButton({
6054
6095
  componentSize,
6055
6096
  isReadOnly,
@@ -6058,7 +6099,7 @@ function CalendarButton({
6058
6099
  const ref = useRef11(null);
6059
6100
  const { buttonProps } = useButton(props, ref);
6060
6101
  const size2 = componentSize === "tiny" ? "small" : "medium";
6061
- return /* @__PURE__ */ jsx208(
6102
+ return /* @__PURE__ */ jsx209(
6062
6103
  "button",
6063
6104
  {
6064
6105
  ...buttonProps,
@@ -6079,7 +6120,7 @@ function CalendarButton({
6079
6120
  !props.isDisabled && focusable,
6080
6121
  props.isDisabled && "disabled"
6081
6122
  ),
6082
- children: /* @__PURE__ */ jsx208(Icon, { icon: CalendarIcon, iconSize: size2 })
6123
+ children: /* @__PURE__ */ jsx209(Icon, { icon: CalendarIcon, iconSize: size2 })
6083
6124
  }
6084
6125
  );
6085
6126
  }
@@ -6087,7 +6128,7 @@ function CalendarButton({
6087
6128
  // src/components/date-inputs/DatePicker/DateField/DateSegment.tsx
6088
6129
  import { useDateSegment } from "@react-aria/datepicker";
6089
6130
  import { useRef as useRef12 } from "react";
6090
- import { jsx as jsx209, jsxs as jsxs36 } from "react/jsx-runtime";
6131
+ import { jsx as jsx210, jsxs as jsxs36 } from "react/jsx-runtime";
6091
6132
  var typographyTypes2 = {
6092
6133
  medium: "bodySans02",
6093
6134
  small: "bodySans01",
@@ -6121,7 +6162,7 @@ function DateSegment({
6121
6162
  minWidth: segment.maxValue != null ? String(segment.maxValue).length + "ch" : void 0
6122
6163
  },
6123
6164
  children: [
6124
- /* @__PURE__ */ jsx209(
6165
+ /* @__PURE__ */ jsx210(
6125
6166
  "span",
6126
6167
  {
6127
6168
  "aria-hidden": "true",
@@ -6143,7 +6184,7 @@ DateSegment.displayName = "DateSegment";
6143
6184
  // src/components/date-inputs/common/DateInput.tsx
6144
6185
  import {
6145
6186
  forwardRef as forwardRef36,
6146
- useContext as useContext6
6187
+ useContext as useContext7
6147
6188
  } from "react";
6148
6189
 
6149
6190
  // src/components/InputMessage/InputMessage.tsx
@@ -6157,7 +6198,7 @@ var InputMessage_default = {
6157
6198
  };
6158
6199
 
6159
6200
  // src/components/InputMessage/InputMessage.tsx
6160
- import { Fragment as Fragment4, jsx as jsx210, jsxs as jsxs37 } from "react/jsx-runtime";
6201
+ import { Fragment as Fragment4, jsx as jsx211, jsxs as jsxs37 } from "react/jsx-runtime";
6161
6202
  var InputMessage = forwardRef35(
6162
6203
  (props, ref) => {
6163
6204
  const { message, messageType, id, className, htmlProps, ...rest } = props;
@@ -6177,8 +6218,8 @@ var InputMessage = forwardRef35(
6177
6218
  ),
6178
6219
  ref,
6179
6220
  children: [
6180
- isError && /* @__PURE__ */ jsx210(Icon, { icon: ErrorIcon, iconSize: "small", className: InputMessage_default.icon }),
6181
- /* @__PURE__ */ jsx210(
6221
+ isError && /* @__PURE__ */ jsx211(Icon, { icon: ErrorIcon, iconSize: "small", className: InputMessage_default.icon }),
6222
+ /* @__PURE__ */ jsx211(
6182
6223
  Typography,
6183
6224
  {
6184
6225
  typographyType: isError ? "bodySans01" : "supportingStyleHelperText01",
@@ -6193,7 +6234,7 @@ var InputMessage = forwardRef35(
6193
6234
  );
6194
6235
  InputMessage.displayName = "InputMessage";
6195
6236
  var renderInputMessage = (tip, tipId, errorMessage, errorMessageId) => /* @__PURE__ */ jsxs37(Fragment4, { children: [
6196
- errorMessage && errorMessageId && /* @__PURE__ */ jsx210(
6237
+ errorMessage && errorMessageId && /* @__PURE__ */ jsx211(
6197
6238
  InputMessage,
6198
6239
  {
6199
6240
  message: errorMessage,
@@ -6201,11 +6242,11 @@ var renderInputMessage = (tip, tipId, errorMessage, errorMessageId) => /* @__PUR
6201
6242
  id: errorMessageId
6202
6243
  }
6203
6244
  ),
6204
- tip && tipId && !errorMessage && /* @__PURE__ */ jsx210(InputMessage, { message: tip, messageType: "tip", id: tipId })
6245
+ tip && tipId && !errorMessage && /* @__PURE__ */ jsx211(InputMessage, { message: tip, messageType: "tip", id: tipId })
6205
6246
  ] });
6206
6247
 
6207
6248
  // src/components/date-inputs/common/DateInput.tsx
6208
- import { jsx as jsx211, jsxs as jsxs38 } from "react/jsx-runtime";
6249
+ import { jsx as jsx212, jsxs as jsxs38 } from "react/jsx-runtime";
6209
6250
  function _DateInput({
6210
6251
  errorMessage,
6211
6252
  tip,
@@ -6230,7 +6271,7 @@ function _DateInput({
6230
6271
  const hasTip = !!tip;
6231
6272
  const hasLabel = props.label != null;
6232
6273
  const hasMessage = hasErrorMessage || hasTip;
6233
- const { isOpen } = useContext6(CalendarPopoverContext);
6274
+ const { isOpen } = useContext7(CalendarPopoverContext);
6234
6275
  const styleVariables = {
6235
6276
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
6236
6277
  ["--dds-date-input-width"]: width ? width : componentSize === "small" ? "148px" : componentSize === "tiny" ? "125px" : "160px"
@@ -6242,7 +6283,7 @@ function _DateInput({
6242
6283
  className: cn(className, Input_default.container),
6243
6284
  ref: forwardedRef,
6244
6285
  children: [
6245
- hasLabel && /* @__PURE__ */ jsx211(
6286
+ hasLabel && /* @__PURE__ */ jsx212(
6246
6287
  Label,
6247
6288
  {
6248
6289
  ...labelProps,
@@ -6276,11 +6317,11 @@ function _DateInput({
6276
6317
  ),
6277
6318
  children: [
6278
6319
  button,
6279
- /* @__PURE__ */ jsx211("div", { className: DateInput_default["date-segment-container"], children })
6320
+ /* @__PURE__ */ jsx212("div", { className: DateInput_default["date-segment-container"], children })
6280
6321
  ]
6281
6322
  }
6282
6323
  ),
6283
- hasMessage && /* @__PURE__ */ jsx211(
6324
+ hasMessage && /* @__PURE__ */ jsx212(
6284
6325
  InputMessage,
6285
6326
  {
6286
6327
  messageType: hasErrorMessage ? "error" : "tip",
@@ -6295,7 +6336,7 @@ var DateInput = forwardRef36(_DateInput);
6295
6336
  DateInput.displayName = "DateInput";
6296
6337
 
6297
6338
  // src/components/date-inputs/DatePicker/DateField/DateField.tsx
6298
- import { jsx as jsx212 } from "react/jsx-runtime";
6339
+ import { jsx as jsx213 } from "react/jsx-runtime";
6299
6340
  function _DateField({
6300
6341
  componentSize = "medium",
6301
6342
  buttonProps,
@@ -6311,7 +6352,7 @@ function _DateField({
6311
6352
  const ref = useRef13(null);
6312
6353
  const { labelProps, fieldProps } = useDateField(props, state, ref);
6313
6354
  const disabled = props.isDisabled || !!fieldProps["aria-disabled"];
6314
- return /* @__PURE__ */ jsx212(
6355
+ return /* @__PURE__ */ jsx213(
6315
6356
  DateInput,
6316
6357
  {
6317
6358
  ...props,
@@ -6323,7 +6364,7 @@ function _DateField({
6323
6364
  ref: forwardedRef,
6324
6365
  internalRef: ref,
6325
6366
  readOnly: props.isReadOnly,
6326
- prefix: /* @__PURE__ */ jsx212(
6367
+ prefix: /* @__PURE__ */ jsx213(
6327
6368
  CalendarButton,
6328
6369
  {
6329
6370
  componentSize,
@@ -6334,7 +6375,7 @@ function _DateField({
6334
6375
  ),
6335
6376
  labelProps,
6336
6377
  fieldProps,
6337
- children: state.segments.map((segment, i2) => /* @__PURE__ */ jsx212(
6378
+ children: state.segments.map((segment, i2) => /* @__PURE__ */ jsx213(
6338
6379
  DateSegment,
6339
6380
  {
6340
6381
  "aria-readonly": props.isReadOnly,
@@ -6372,11 +6413,19 @@ function createDOMRef(ref) {
6372
6413
  }
6373
6414
 
6374
6415
  // src/components/date-inputs/DatePicker/DatePicker.tsx
6375
- import { jsx as jsx213, jsxs as jsxs39 } from "react/jsx-runtime";
6416
+ import { jsx as jsx214, jsxs as jsxs39 } from "react/jsx-runtime";
6376
6417
  var refIsFocusable = (ref) => {
6377
6418
  return typeof ref === "object" && ref !== null && "focus" in ref;
6378
6419
  };
6379
- function _DatePicker({ errorMessage, componentSize, tip, style, width, ...props }, forwardedRef) {
6420
+ function _DatePicker({
6421
+ errorMessage,
6422
+ componentSize,
6423
+ tip,
6424
+ style,
6425
+ width,
6426
+ showWeekNumbers = true,
6427
+ ...props
6428
+ }, forwardedRef) {
6380
6429
  const state = useDatePickerState(props);
6381
6430
  const domRef = useFocusManagerRef(
6382
6431
  refIsFocusable(forwardRef38) ? forwardedRef : null
@@ -6388,25 +6437,33 @@ function _DatePicker({ errorMessage, componentSize, tip, style, width, ...props
6388
6437
  state,
6389
6438
  ref
6390
6439
  );
6391
- return /* @__PURE__ */ jsx213(I18nProvider, { locale, children: /* @__PURE__ */ jsxs39(CalendarPopover, { isOpen: state.isOpen, onClose: state.close, children: [
6392
- /* @__PURE__ */ jsx213(CalendarPopoverAnchor, { children: /* @__PURE__ */ jsx213(
6393
- DateField,
6394
- {
6395
- ...fieldProps,
6396
- groupProps,
6397
- ref: combinedRef,
6398
- componentSize,
6399
- tip,
6400
- label: props.label,
6401
- errorMessage,
6402
- buttonProps,
6403
- isOpen: state.isOpen,
6404
- style,
6405
- width
6406
- }
6407
- ) }),
6408
- /* @__PURE__ */ jsx213(CalendarPopoverContent, { children: /* @__PURE__ */ jsx213(Calendar, { ...calendarProps }) })
6409
- ] }) });
6440
+ return /* @__PURE__ */ jsx214(I18nProvider, { locale, children: /* @__PURE__ */ jsxs39(
6441
+ CalendarPopover,
6442
+ {
6443
+ isOpen: state.isOpen,
6444
+ onClose: state.close,
6445
+ showWeekNumbers,
6446
+ children: [
6447
+ /* @__PURE__ */ jsx214(CalendarPopoverAnchor, { children: /* @__PURE__ */ jsx214(
6448
+ DateField,
6449
+ {
6450
+ ...fieldProps,
6451
+ groupProps,
6452
+ ref: combinedRef,
6453
+ componentSize,
6454
+ tip,
6455
+ label: props.label,
6456
+ errorMessage,
6457
+ buttonProps,
6458
+ isOpen: state.isOpen,
6459
+ style,
6460
+ width
6461
+ }
6462
+ ) }),
6463
+ /* @__PURE__ */ jsx214(CalendarPopoverContent, { children: /* @__PURE__ */ jsx214(Calendar, { ...calendarProps }) })
6464
+ ]
6465
+ }
6466
+ ) });
6410
6467
  }
6411
6468
  var DatePicker = forwardRef38(_DatePicker);
6412
6469
  DatePicker.displayName = "DatePicker";
@@ -6415,7 +6472,7 @@ DatePicker.displayName = "DatePicker";
6415
6472
  import { useTimeField } from "@react-aria/datepicker";
6416
6473
  import { useTimeFieldState } from "@react-stately/datepicker";
6417
6474
  import { forwardRef as forwardRef39, useRef as useRef16 } from "react";
6418
- import { jsx as jsx214 } from "react/jsx-runtime";
6475
+ import { jsx as jsx215 } from "react/jsx-runtime";
6419
6476
  function _TimePicker({ componentSize = "medium", width, ...props }, forwardedRef) {
6420
6477
  const ref = useRef16(null);
6421
6478
  const state = useTimeFieldState({
@@ -6429,7 +6486,7 @@ function _TimePicker({ componentSize = "medium", width, ...props }, forwardedRef
6429
6486
  );
6430
6487
  const iconSize = componentSize === "tiny" ? "small" : "medium";
6431
6488
  const disabled = props.isDisabled || !!fieldProps["aria-disabled"];
6432
- return /* @__PURE__ */ jsx214(
6489
+ return /* @__PURE__ */ jsx215(
6433
6490
  DateInput,
6434
6491
  {
6435
6492
  ...props,
@@ -6442,7 +6499,7 @@ function _TimePicker({ componentSize = "medium", width, ...props }, forwardedRef
6442
6499
  readOnly: props.isReadOnly,
6443
6500
  labelProps,
6444
6501
  fieldProps,
6445
- prefix: /* @__PURE__ */ jsx214(
6502
+ prefix: /* @__PURE__ */ jsx215(
6446
6503
  "span",
6447
6504
  {
6448
6505
  className: cn(
@@ -6451,10 +6508,10 @@ function _TimePicker({ componentSize = "medium", width, ...props }, forwardedRef
6451
6508
  props.isReadOnly && DateInput_default["icon-wrapper--readonly"],
6452
6509
  DateInput_default[`icon-wrapper--${iconSize}`]
6453
6510
  ),
6454
- children: /* @__PURE__ */ jsx214(Icon, { icon: TimeIcon, iconSize })
6511
+ children: /* @__PURE__ */ jsx215(Icon, { icon: TimeIcon, iconSize })
6455
6512
  }
6456
6513
  ),
6457
- children: state.segments.map((segment, i2) => /* @__PURE__ */ jsx214(
6514
+ children: state.segments.map((segment, i2) => /* @__PURE__ */ jsx215(
6458
6515
  DateSegment,
6459
6516
  {
6460
6517
  componentSize,
@@ -6517,7 +6574,7 @@ var DescriptionList_default = {
6517
6574
  };
6518
6575
 
6519
6576
  // src/components/DescriptionList/DescriptionList.tsx
6520
- import { jsx as jsx215 } from "react/jsx-runtime";
6577
+ import { jsx as jsx216 } from "react/jsx-runtime";
6521
6578
  var DescriptionList = forwardRef40((props, ref) => {
6522
6579
  const {
6523
6580
  appearance = "default",
@@ -6528,7 +6585,7 @@ var DescriptionList = forwardRef40((props, ref) => {
6528
6585
  htmlProps,
6529
6586
  ...rest
6530
6587
  } = props;
6531
- return /* @__PURE__ */ jsx215(
6588
+ return /* @__PURE__ */ jsx216(
6532
6589
  "dl",
6533
6590
  {
6534
6591
  ref,
@@ -6551,15 +6608,15 @@ DescriptionList.displayName = "DescriptionList";
6551
6608
 
6552
6609
  // src/components/DescriptionList/DescriptionListTerm.tsx
6553
6610
  import { forwardRef as forwardRef41 } from "react";
6554
- import { jsx as jsx216 } from "react/jsx-runtime";
6611
+ import { jsx as jsx217 } from "react/jsx-runtime";
6555
6612
  var DescriptionListTerm = forwardRef41(({ ...rest }, ref) => {
6556
- return /* @__PURE__ */ jsx216("dt", { ref, ...rest });
6613
+ return /* @__PURE__ */ jsx217("dt", { ref, ...rest });
6557
6614
  });
6558
6615
  DescriptionListTerm.displayName = "DescriptionListTerm";
6559
6616
 
6560
6617
  // src/components/DescriptionList/DescriptionListDesc.tsx
6561
6618
  import { forwardRef as forwardRef42 } from "react";
6562
- import { jsx as jsx217, jsxs as jsxs40 } from "react/jsx-runtime";
6619
+ import { jsx as jsx218, jsxs as jsxs40 } from "react/jsx-runtime";
6563
6620
  var DescriptionListDesc = forwardRef42((props, ref) => {
6564
6621
  const { children, icon, id, className, htmlProps, ...rest } = props;
6565
6622
  return /* @__PURE__ */ jsxs40(
@@ -6568,7 +6625,7 @@ var DescriptionListDesc = forwardRef42((props, ref) => {
6568
6625
  ref,
6569
6626
  ...getBaseHTMLProps(id, cn(className, DescriptionList_default.desc), htmlProps, rest),
6570
6627
  children: [
6571
- icon && /* @__PURE__ */ jsx217(Icon, { icon }),
6628
+ icon && /* @__PURE__ */ jsx218(Icon, { icon }),
6572
6629
  " ",
6573
6630
  children
6574
6631
  ]
@@ -6579,7 +6636,7 @@ DescriptionListDesc.displayName = "DescriptionListDesc";
6579
6636
 
6580
6637
  // src/components/DescriptionList/DescriptionListGroup.tsx
6581
6638
  import { forwardRef as forwardRef43 } from "react";
6582
- import { jsx as jsx218 } from "react/jsx-runtime";
6639
+ import { jsx as jsx219 } from "react/jsx-runtime";
6583
6640
  var DescriptionListGroup = forwardRef43((props, ref) => {
6584
6641
  const {
6585
6642
  children,
@@ -6591,7 +6648,7 @@ var DescriptionListGroup = forwardRef43((props, ref) => {
6591
6648
  htmlProps,
6592
6649
  ...rest
6593
6650
  } = props;
6594
- return /* @__PURE__ */ jsx218(
6651
+ return /* @__PURE__ */ jsx219(
6595
6652
  "div",
6596
6653
  {
6597
6654
  ref,
@@ -6620,7 +6677,7 @@ var DetailList_default = {
6620
6677
  };
6621
6678
 
6622
6679
  // src/components/DetailList/DetailList.tsx
6623
- import { jsx as jsx219 } from "react/jsx-runtime";
6680
+ import { jsx as jsx220 } from "react/jsx-runtime";
6624
6681
  var DetailList = forwardRef44(
6625
6682
  (props, ref) => {
6626
6683
  const {
@@ -6632,7 +6689,7 @@ var DetailList = forwardRef44(
6632
6689
  density = "normal",
6633
6690
  ...rest
6634
6691
  } = props;
6635
- return /* @__PURE__ */ jsx219(
6692
+ return /* @__PURE__ */ jsx220(
6636
6693
  "dl",
6637
6694
  {
6638
6695
  ref,
@@ -6656,30 +6713,30 @@ DetailList.displayName = "DetailList";
6656
6713
 
6657
6714
  // src/components/DetailList/DetailListDesc.tsx
6658
6715
  import { forwardRef as forwardRef45 } from "react";
6659
- import { jsx as jsx220 } from "react/jsx-runtime";
6716
+ import { jsx as jsx221 } from "react/jsx-runtime";
6660
6717
  var DetailListDesc = forwardRef45(
6661
6718
  ({ className, ...rest }, ref) => {
6662
- return /* @__PURE__ */ jsx220("dd", { ref, className: cn(className, DetailList_default.cell), ...rest });
6719
+ return /* @__PURE__ */ jsx221("dd", { ref, className: cn(className, DetailList_default.cell), ...rest });
6663
6720
  }
6664
6721
  );
6665
6722
  DetailListDesc.displayName = "DetailListDesc";
6666
6723
 
6667
6724
  // src/components/DetailList/DetailListRow.tsx
6668
6725
  import { forwardRef as forwardRef46 } from "react";
6669
- import { jsx as jsx221 } from "react/jsx-runtime";
6726
+ import { jsx as jsx222 } from "react/jsx-runtime";
6670
6727
  var DetailListRow = forwardRef46(
6671
6728
  ({ className, ...rest }, ref) => {
6672
- return /* @__PURE__ */ jsx221("div", { ref, className: cn(className, DetailList_default.row), ...rest });
6729
+ return /* @__PURE__ */ jsx222("div", { ref, className: cn(className, DetailList_default.row), ...rest });
6673
6730
  }
6674
6731
  );
6675
6732
  DetailListRow.displayName = "DetailListRow";
6676
6733
 
6677
6734
  // src/components/DetailList/DetailListTerm.tsx
6678
6735
  import { forwardRef as forwardRef47 } from "react";
6679
- import { jsx as jsx222 } from "react/jsx-runtime";
6736
+ import { jsx as jsx223 } from "react/jsx-runtime";
6680
6737
  var DetailListTerm = forwardRef47(
6681
6738
  ({ className, ...rest }, ref) => {
6682
- return /* @__PURE__ */ jsx222(
6739
+ return /* @__PURE__ */ jsx223(
6683
6740
  "dt",
6684
6741
  {
6685
6742
  ref,
@@ -6717,7 +6774,7 @@ var Drawer_default = {
6717
6774
  };
6718
6775
 
6719
6776
  // src/components/Drawer/Drawer.tsx
6720
- import { jsx as jsx223, jsxs as jsxs41 } from "react/jsx-runtime";
6777
+ import { jsx as jsx224, jsxs as jsxs41 } from "react/jsx-runtime";
6721
6778
  var Drawer = forwardRef48((props, ref) => {
6722
6779
  const {
6723
6780
  children,
@@ -6808,12 +6865,12 @@ var Drawer = forwardRef48((props, ref) => {
6808
6865
  utilStyles_default["scrollable-y"]
6809
6866
  ),
6810
6867
  children: [
6811
- hasHeader && /* @__PURE__ */ jsx223("div", { id: headerId, children: typeof header === "string" ? /* @__PURE__ */ jsx223(Heading, { level: 2, typographyType: "headingSans03", children: header }) : header }),
6868
+ hasHeader && /* @__PURE__ */ jsx224("div", { id: headerId, children: typeof header === "string" ? /* @__PURE__ */ jsx224(Heading, { level: 2, typographyType: "headingSans03", children: header }) : header }),
6812
6869
  children
6813
6870
  ]
6814
6871
  }
6815
6872
  ),
6816
- /* @__PURE__ */ jsx223(
6873
+ /* @__PURE__ */ jsx224(
6817
6874
  Button,
6818
6875
  {
6819
6876
  className: cn(Drawer_default["button--close"]),
@@ -6828,7 +6885,7 @@ var Drawer = forwardRef48((props, ref) => {
6828
6885
  ]
6829
6886
  }
6830
6887
  );
6831
- const component = withBackdrop ? /* @__PURE__ */ jsx223(Backdrop, { isMounted, ref: backdropRef, onClick: onBackdropClick, children: drawer }) : drawer;
6888
+ const component = withBackdrop ? /* @__PURE__ */ jsx224(Backdrop, { isMounted, ref: backdropRef, onClick: onBackdropClick, children: drawer }) : drawer;
6832
6889
  return isOpen || hasTransitionedIn ? createPortal(component, parentElement) : null;
6833
6890
  });
6834
6891
  Drawer.displayName = "Drawer";
@@ -6893,7 +6950,7 @@ var EmptyContent_default = {
6893
6950
  };
6894
6951
 
6895
6952
  // src/components/EmptyContent/EmptyContent.tsx
6896
- import { jsx as jsx224, jsxs as jsxs43 } from "react/jsx-runtime";
6953
+ import { jsx as jsx225, jsxs as jsxs43 } from "react/jsx-runtime";
6897
6954
  function EmptyContent({
6898
6955
  title,
6899
6956
  message,
@@ -6901,9 +6958,9 @@ function EmptyContent({
6901
6958
  className,
6902
6959
  ...rest
6903
6960
  }) {
6904
- return /* @__PURE__ */ jsx224("div", { ...rest, className: cn(className, EmptyContent_default.containter), children: /* @__PURE__ */ jsxs43("div", { className: EmptyContent_default.text, children: [
6905
- title && /* @__PURE__ */ jsx224(Heading, { level: titleHeadingLevel, typographyType: "headingSans02", children: title }),
6906
- /* @__PURE__ */ jsx224(Paragraph, { className: EmptyContent_default.message, children: message })
6961
+ return /* @__PURE__ */ jsx225("div", { ...rest, className: cn(className, EmptyContent_default.containter), children: /* @__PURE__ */ jsxs43("div", { className: EmptyContent_default.text, children: [
6962
+ title && /* @__PURE__ */ jsx225(Heading, { level: titleHeadingLevel, typographyType: "headingSans02", children: title }),
6963
+ /* @__PURE__ */ jsx225(Paragraph, { className: EmptyContent_default.message, children: message })
6907
6964
  ] }) });
6908
6965
  }
6909
6966
  EmptyContent.displayName = "EmptyContent";
@@ -6958,7 +7015,7 @@ function useControllableState(props) {
6958
7015
  }
6959
7016
 
6960
7017
  // src/components/FavStar/FavStar.tsx
6961
- import { jsx as jsx225, jsxs as jsxs44 } from "react/jsx-runtime";
7018
+ import { jsx as jsx226, jsxs as jsxs44 } from "react/jsx-runtime";
6962
7019
  var FavStar = forwardRef49(
6963
7020
  ({
6964
7021
  id,
@@ -6995,7 +7052,7 @@ var FavStar = forwardRef49(
6995
7052
  style,
6996
7053
  htmlFor: id != null ? id : generatedId,
6997
7054
  children: [
6998
- /* @__PURE__ */ jsx225(
7055
+ /* @__PURE__ */ jsx226(
6999
7056
  "input",
7000
7057
  {
7001
7058
  ...props,
@@ -7008,8 +7065,8 @@ var FavStar = forwardRef49(
7008
7065
  className: utilStyles_default["hide-input"]
7009
7066
  }
7010
7067
  ),
7011
- /* @__PURE__ */ jsx225(Icon, { iconSize: size2, icon: StarIcon, className: FavStar_default.icon }),
7012
- /* @__PURE__ */ jsx225(
7068
+ /* @__PURE__ */ jsx226(Icon, { iconSize: size2, icon: StarIcon, className: FavStar_default.icon }),
7069
+ /* @__PURE__ */ jsx226(
7013
7070
  Icon,
7014
7071
  {
7015
7072
  iconSize: size2,
@@ -7030,8 +7087,8 @@ import { useEffect as useEffect20, useState as useState13 } from "react";
7030
7087
  // src/components/Feedback/Feedback.module.css
7031
7088
  var Feedback_default = {
7032
7089
  "rating-container": "Feedback_rating-container",
7033
- "rating-container--row": "Feedback_rating-container--row",
7034
- "rating-container--column": "Feedback_rating-container--column",
7090
+ "rating-container--horizontal": "Feedback_rating-container--horizontal",
7091
+ "rating-container--vertical": "Feedback_rating-container--vertical",
7035
7092
  "rating-submitted-title": "Feedback_rating-submitted-title",
7036
7093
  button: "Feedback_button",
7037
7094
  "button--horizontal": "Feedback_button--horizontal",
@@ -7075,7 +7132,7 @@ var Stack_default = {
7075
7132
  };
7076
7133
 
7077
7134
  // src/components/Stack/Stack.tsx
7078
- import { jsx as jsx226 } from "react/jsx-runtime";
7135
+ import { jsx as jsx227 } from "react/jsx-runtime";
7079
7136
  var HStack = forwardRef50(
7080
7137
  ({
7081
7138
  id,
@@ -7093,7 +7150,7 @@ var HStack = forwardRef50(
7093
7150
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
7094
7151
  ["--dds-stack-justify-content"]: justify
7095
7152
  };
7096
- return /* @__PURE__ */ jsx226(
7153
+ return /* @__PURE__ */ jsx227(
7097
7154
  "div",
7098
7155
  {
7099
7156
  ref,
@@ -7132,7 +7189,7 @@ var VStack = forwardRef50(
7132
7189
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
7133
7190
  ["--dds-stack-justify-content"]: justify
7134
7191
  };
7135
- return /* @__PURE__ */ jsx226(
7192
+ return /* @__PURE__ */ jsx227(
7136
7193
  "div",
7137
7194
  {
7138
7195
  ref,
@@ -7168,7 +7225,7 @@ var TextArea_default = {
7168
7225
  };
7169
7226
 
7170
7227
  // src/components/TextArea/TextArea.tsx
7171
- import { jsx as jsx227, jsxs as jsxs45 } from "react/jsx-runtime";
7228
+ import { jsx as jsx228, jsxs as jsxs45 } from "react/jsx-runtime";
7172
7229
  var TextArea = forwardRef51(
7173
7230
  (props, ref) => {
7174
7231
  const {
@@ -7227,7 +7284,7 @@ var TextArea = forwardRef51(
7227
7284
  className: cn(className, Input_default.container),
7228
7285
  style: { ...style },
7229
7286
  children: [
7230
- hasLabel && /* @__PURE__ */ jsx227(
7287
+ hasLabel && /* @__PURE__ */ jsx228(
7231
7288
  Label,
7232
7289
  {
7233
7290
  showRequiredStyling,
@@ -7237,7 +7294,7 @@ var TextArea = forwardRef51(
7237
7294
  children: label
7238
7295
  }
7239
7296
  ),
7240
- /* @__PURE__ */ jsx227(
7297
+ /* @__PURE__ */ jsx228(
7241
7298
  "textarea",
7242
7299
  {
7243
7300
  ref: multiRef,
@@ -7285,9 +7342,29 @@ var TextArea = forwardRef51(
7285
7342
  );
7286
7343
  TextArea.displayName = "TextArea";
7287
7344
 
7345
+ // src/components/Feedback/utils.tsx
7346
+ import { jsx as jsx229 } from "react/jsx-runtime";
7347
+ var getIconSize = (layout) => layout === "vertical" ? "large" : "medium";
7348
+ var ThumbIcon = ({ rating, layout, type }) => type === "comment" ? /* @__PURE__ */ jsx229(
7349
+ Icon,
7350
+ {
7351
+ icon: rating === "positive" ? ThumbUpFilledIcon : ThumbDownFilledIcon,
7352
+ color: "iconActionResting",
7353
+ iconSize: getIconSize(layout)
7354
+ }
7355
+ ) : /* @__PURE__ */ jsx229(
7356
+ Icon,
7357
+ {
7358
+ icon: rating === "positive" ? ThumbUpIcon : ThumbDownIcon,
7359
+ color: "iconMedium",
7360
+ iconSize: getIconSize(layout)
7361
+ }
7362
+ );
7363
+
7288
7364
  // src/components/Feedback/CommentComponent.tsx
7289
- import { jsx as jsx228, jsxs as jsxs46 } from "react/jsx-runtime";
7365
+ import { jsx as jsx230, jsxs as jsxs46 } from "react/jsx-runtime";
7290
7366
  var CommentComponent = ({
7367
+ layout,
7291
7368
  rating,
7292
7369
  feedbackText,
7293
7370
  positiveFeedbackLabel,
@@ -7300,19 +7377,13 @@ var CommentComponent = ({
7300
7377
  }) => {
7301
7378
  return /* @__PURE__ */ jsxs46(VStack, { gap: "x1", align: "flex-start", children: [
7302
7379
  /* @__PURE__ */ jsxs46("span", { className: Feedback_default["rating-submitted-title"], children: [
7303
- /* @__PURE__ */ jsx228(
7304
- Icon,
7305
- {
7306
- icon: rating === "positive" ? ThumbUpFilledIcon : ThumbDownFilledIcon,
7307
- color: "iconActionResting"
7308
- }
7309
- ),
7380
+ ThumbIcon({ rating, layout, type: "comment" }),
7310
7381
  /* @__PURE__ */ jsxs46(Paragraph, { children: [
7311
7382
  ratingSubmittedTitle,
7312
7383
  " "
7313
7384
  ] })
7314
7385
  ] }),
7315
- /* @__PURE__ */ jsx228(
7386
+ /* @__PURE__ */ jsx230(
7316
7387
  TextArea,
7317
7388
  {
7318
7389
  value: feedbackText,
@@ -7321,7 +7392,7 @@ var CommentComponent = ({
7321
7392
  tip: textAreaTip
7322
7393
  }
7323
7394
  ),
7324
- /* @__PURE__ */ jsx228(
7395
+ /* @__PURE__ */ jsx230(
7325
7396
  Button,
7326
7397
  {
7327
7398
  purpose: "secondary",
@@ -7355,7 +7426,7 @@ var Tooltip_default = {
7355
7426
  };
7356
7427
 
7357
7428
  // src/components/Tooltip/Tooltip.tsx
7358
- import { jsx as jsx229, jsxs as jsxs47 } from "react/jsx-runtime";
7429
+ import { jsx as jsx231, jsxs as jsxs47 } from "react/jsx-runtime";
7359
7430
  var Tooltip = forwardRef52(
7360
7431
  (props, ref) => {
7361
7432
  const {
@@ -7469,15 +7540,15 @@ var Tooltip = forwardRef52(
7469
7540
  ),
7470
7541
  children: [
7471
7542
  text,
7472
- /* @__PURE__ */ jsx229("div", { ref: setArrowElement, style: positionStyles.arrow, children: /* @__PURE__ */ jsxs47("svg", { width: "36", height: "9", children: [
7473
- /* @__PURE__ */ jsx229(
7543
+ /* @__PURE__ */ jsx231("div", { ref: setArrowElement, style: positionStyles.arrow, children: /* @__PURE__ */ jsxs47("svg", { width: "36", height: "9", children: [
7544
+ /* @__PURE__ */ jsx231(
7474
7545
  "path",
7475
7546
  {
7476
7547
  d: "M16.586 6.586L10 0h16.154a.373.373 0 00-.263.11l-6.477 6.476a2 2 0 01-2.828 0z",
7477
7548
  className: Tooltip_default["svg-arrow__background"]
7478
7549
  }
7479
7550
  ),
7480
- /* @__PURE__ */ jsx229(
7551
+ /* @__PURE__ */ jsx231(
7481
7552
  "path",
7482
7553
  {
7483
7554
  fillRule: "evenodd",
@@ -7496,7 +7567,7 @@ var Tooltip = forwardRef52(
7496
7567
  Tooltip.displayName = "Tooltip";
7497
7568
 
7498
7569
  // src/components/Feedback/RatingComponent.tsx
7499
- import { jsx as jsx230, jsxs as jsxs48 } from "react/jsx-runtime";
7570
+ import { jsx as jsx232, jsxs as jsxs48 } from "react/jsx-runtime";
7500
7571
  var RatingComponent = ({
7501
7572
  layout,
7502
7573
  ratingLabel,
@@ -7505,25 +7576,18 @@ var RatingComponent = ({
7505
7576
  thumbDownTooltip,
7506
7577
  handleRatingChange
7507
7578
  }) => {
7508
- const layoutCn = layout === "vertical" ? "column" : "row";
7509
- const button = (purpose, layout2) => /* @__PURE__ */ jsx230(
7579
+ const button = (rating, layout2, tooltip) => /* @__PURE__ */ jsx232(
7510
7580
  "button",
7511
7581
  {
7512
- "aria-label": purpose === "up" ? thumbUpTooltip : thumbDownTooltip,
7513
- onClick: () => handleRatingChange(purpose === "up" ? "positive" : "negative"),
7582
+ "aria-label": tooltip,
7583
+ onClick: () => handleRatingChange(rating),
7514
7584
  className: cn(
7515
7585
  utilStyles_default["remove-button-styling"],
7516
7586
  Feedback_default.button,
7517
7587
  Feedback_default[`button--${layout2}`],
7518
7588
  focusable
7519
7589
  ),
7520
- children: /* @__PURE__ */ jsx230(
7521
- Icon,
7522
- {
7523
- icon: purpose === "up" ? ThumbUpIcon : ThumbDownIcon,
7524
- iconSize: layout2 === "vertical" ? "large" : "medium"
7525
- }
7526
- )
7590
+ children: ThumbIcon({ rating, layout: layout2, type: "rating" })
7527
7591
  }
7528
7592
  );
7529
7593
  return /* @__PURE__ */ jsxs48(
@@ -7531,13 +7595,13 @@ var RatingComponent = ({
7531
7595
  {
7532
7596
  className: cn(
7533
7597
  Feedback_default["rating-container"],
7534
- Feedback_default[`rating-container--${layoutCn}`]
7598
+ Feedback_default[`rating-container--${layout}`]
7535
7599
  ),
7536
7600
  children: [
7537
- /* @__PURE__ */ jsx230(Label, { children: ratingLabel }),
7538
- loading ? /* @__PURE__ */ jsx230(Spinner, { tooltip: "Laster opp tilbakemelding ..." }) : /* @__PURE__ */ jsxs48(HStack, { gap: "x1", children: [
7539
- /* @__PURE__ */ jsx230(Tooltip, { text: thumbUpTooltip, children: button("up", layout) }),
7540
- /* @__PURE__ */ jsx230(Tooltip, { text: thumbDownTooltip, children: /* @__PURE__ */ jsx230("div", { children: button("down", layout) }) })
7601
+ /* @__PURE__ */ jsx232(Label, { children: ratingLabel }),
7602
+ loading ? /* @__PURE__ */ jsx232(Spinner, { tooltip: "Laster opp tilbakemelding ..." }) : /* @__PURE__ */ jsxs48(HStack, { gap: "x1", children: [
7603
+ /* @__PURE__ */ jsx232(Tooltip, { text: thumbUpTooltip, children: button("positive", layout, thumbUpTooltip) }),
7604
+ /* @__PURE__ */ jsx232(Tooltip, { text: thumbDownTooltip, children: /* @__PURE__ */ jsx232("div", { children: button("negative", layout, thumbDownTooltip) }) })
7541
7605
  ] })
7542
7606
  ]
7543
7607
  }
@@ -7545,7 +7609,7 @@ var RatingComponent = ({
7545
7609
  };
7546
7610
 
7547
7611
  // src/components/Feedback/Feedback.tsx
7548
- import { jsx as jsx231 } from "react/jsx-runtime";
7612
+ import { jsx as jsx233 } from "react/jsx-runtime";
7549
7613
  var Feedback = ({
7550
7614
  layout = "vertical",
7551
7615
  ratingLabel = "Hva syns du om tjenesten?",
@@ -7591,7 +7655,7 @@ var Feedback = ({
7591
7655
  isSubmittedProp === void 0 && setIsFeedbackSubmitted(true);
7592
7656
  };
7593
7657
  if (rating === null && !isFeedbackSubmitted) {
7594
- return /* @__PURE__ */ jsx231(
7658
+ return /* @__PURE__ */ jsx233(
7595
7659
  RatingComponent,
7596
7660
  {
7597
7661
  layout,
@@ -7604,9 +7668,10 @@ var Feedback = ({
7604
7668
  );
7605
7669
  }
7606
7670
  if (!feedbackTextAreaExcluded && !isFeedbackSubmitted) {
7607
- return /* @__PURE__ */ jsx231(
7671
+ return /* @__PURE__ */ jsx233(
7608
7672
  CommentComponent,
7609
7673
  {
7674
+ layout,
7610
7675
  rating,
7611
7676
  feedbackText,
7612
7677
  positiveFeedbackLabel,
@@ -7619,7 +7684,7 @@ var Feedback = ({
7619
7684
  }
7620
7685
  );
7621
7686
  }
7622
- return /* @__PURE__ */ jsx231(Paragraph, { children: submittedTitle });
7687
+ return /* @__PURE__ */ jsx233(Paragraph, { children: submittedTitle });
7623
7688
  };
7624
7689
 
7625
7690
  // src/components/Fieldset/Fieldset.tsx
@@ -7631,11 +7696,11 @@ var Fieldset_default = {
7631
7696
  };
7632
7697
 
7633
7698
  // src/components/Fieldset/Fieldset.tsx
7634
- import { jsx as jsx232 } from "react/jsx-runtime";
7699
+ import { jsx as jsx234 } from "react/jsx-runtime";
7635
7700
  var Fieldset = forwardRef53(
7636
7701
  (props, ref) => {
7637
7702
  const { id, className, htmlProps, ...rest } = props;
7638
- return /* @__PURE__ */ jsx232(
7703
+ return /* @__PURE__ */ jsx234(
7639
7704
  "fieldset",
7640
7705
  {
7641
7706
  ref,
@@ -7654,14 +7719,14 @@ var Fieldset = forwardRef53(
7654
7719
  import { useId as useId11 } from "react";
7655
7720
 
7656
7721
  // src/components/FileUploader/ErrorList.tsx
7657
- import { jsx as jsx233 } from "react/jsx-runtime";
7722
+ import { jsx as jsx235 } from "react/jsx-runtime";
7658
7723
  var ErrorList = (props) => {
7659
7724
  const { errors } = props;
7660
7725
  if (errors.length < 1) {
7661
7726
  return null;
7662
7727
  }
7663
7728
  if (errors.length === 1) {
7664
- return /* @__PURE__ */ jsx233(
7729
+ return /* @__PURE__ */ jsx235(
7665
7730
  InputMessage,
7666
7731
  {
7667
7732
  id: errors[0].id,
@@ -7670,8 +7735,8 @@ var ErrorList = (props) => {
7670
7735
  }
7671
7736
  );
7672
7737
  }
7673
- return /* @__PURE__ */ jsx233("ul", { className: utilStyles_default["remove-list-styling"], children: errors.map(({ id, message }) => {
7674
- return /* @__PURE__ */ jsx233("li", { children: /* @__PURE__ */ jsx233(
7738
+ return /* @__PURE__ */ jsx235("ul", { className: utilStyles_default["remove-list-styling"], children: errors.map(({ id, message }) => {
7739
+ return /* @__PURE__ */ jsx235("li", { children: /* @__PURE__ */ jsx235(
7675
7740
  InputMessage,
7676
7741
  {
7677
7742
  id,
@@ -7698,7 +7763,7 @@ var FileUploader_default = {
7698
7763
  };
7699
7764
 
7700
7765
  // src/components/FileUploader/File.tsx
7701
- import { jsx as jsx234, jsxs as jsxs49 } from "react/jsx-runtime";
7766
+ import { jsx as jsx236, jsxs as jsxs49 } from "react/jsx-runtime";
7702
7767
  var File = (props) => {
7703
7768
  const { parentId, index, file: stateFile, removeFile, isValid } = props;
7704
7769
  const errorsList = stateFile.errors.map((e, errorIndex) => ({
@@ -7707,21 +7772,21 @@ var File = (props) => {
7707
7772
  }));
7708
7773
  return /* @__PURE__ */ jsxs49("li", { children: [
7709
7774
  /* @__PURE__ */ jsxs49("div", { className: cn(FileUploader_default.file, !isValid && FileUploader_default["file--invalid"]), children: [
7710
- /* @__PURE__ */ jsx234(
7775
+ /* @__PURE__ */ jsx236(
7711
7776
  "span",
7712
7777
  {
7713
7778
  className: cn(FileUploader_default.file__name, typographyStyles_default["body-sans-02"]),
7714
7779
  children: stateFile.file.name
7715
7780
  }
7716
7781
  ),
7717
- /* @__PURE__ */ jsx234(
7782
+ /* @__PURE__ */ jsx236(
7718
7783
  Icon,
7719
7784
  {
7720
7785
  icon: isValid ? CheckCircledIcon : ErrorIcon,
7721
7786
  className: FileUploader_default[`file__icon--${isValid ? "valid" : "invalid"}`]
7722
7787
  }
7723
7788
  ),
7724
- /* @__PURE__ */ jsx234(
7789
+ /* @__PURE__ */ jsx236(
7725
7790
  Button,
7726
7791
  {
7727
7792
  size: "small",
@@ -7740,7 +7805,7 @@ var File = (props) => {
7740
7805
  }
7741
7806
  )
7742
7807
  ] }),
7743
- /* @__PURE__ */ jsx234(ErrorList, { errors: errorsList })
7808
+ /* @__PURE__ */ jsx236(ErrorList, { errors: errorsList })
7744
7809
  ] });
7745
7810
  };
7746
7811
 
@@ -8031,20 +8096,8 @@ var useFileUploader = (props) => {
8031
8096
  };
8032
8097
  };
8033
8098
 
8034
- // src/components/VisuallyHidden/VisuallyHidden.tsx
8035
- import { jsx as jsx235 } from "react/jsx-runtime";
8036
- var VisuallyHidden = (props) => {
8037
- const { id, className, htmlProps, as, ...rest } = props;
8038
- const cl = cn(className, utilStyles_default["visually-hidden"]);
8039
- if (as === "div") {
8040
- return /* @__PURE__ */ jsx235("div", { ...getBaseHTMLProps(id, cl, htmlProps, rest) });
8041
- }
8042
- return /* @__PURE__ */ jsx235("span", { ...getBaseHTMLProps(id, cl, htmlProps, rest) });
8043
- };
8044
- VisuallyHidden.displayName = "VisuallyHidden";
8045
-
8046
8099
  // src/components/FileUploader/FileUploader.tsx
8047
- import { jsx as jsx236, jsxs as jsxs50 } from "react/jsx-runtime";
8100
+ import { jsx as jsx237, jsxs as jsxs50 } from "react/jsx-runtime";
8048
8101
  var FileUploader = (props) => {
8049
8102
  const {
8050
8103
  id,
@@ -8093,7 +8146,7 @@ var FileUploader = (props) => {
8093
8146
  const tipId = derivativeIdGenerator(uniqueId, "tip");
8094
8147
  const buttonId = derivativeIdGenerator(uniqueId, "button");
8095
8148
  const inputId = derivativeIdGenerator(uniqueId, "input");
8096
- const fileListElements = stateFiles.map((stateFile, index) => /* @__PURE__ */ jsx236(
8149
+ const fileListElements = stateFiles.map((stateFile, index) => /* @__PURE__ */ jsx237(
8097
8150
  File,
8098
8151
  {
8099
8152
  parentId: uniqueId,
@@ -8108,7 +8161,7 @@ var FileUploader = (props) => {
8108
8161
  id: derivativeIdGenerator(uniqueId, `error-${index}`),
8109
8162
  message: e
8110
8163
  }));
8111
- const button = /* @__PURE__ */ jsx236(
8164
+ const button = /* @__PURE__ */ jsx237(
8112
8165
  Button,
8113
8166
  {
8114
8167
  ...getButtonProps(),
@@ -8140,8 +8193,8 @@ var FileUploader = (props) => {
8140
8193
  style: { ...style, width },
8141
8194
  ...rest,
8142
8195
  children: [
8143
- hasLabel && /* @__PURE__ */ jsx236(Label, { id: labelId, showRequiredStyling: showRequiredMarker, children: label }),
8144
- hasTip && /* @__PURE__ */ jsx236(InputMessage, { id: tipId, message: tip, messageType: "tip" }),
8196
+ hasLabel && /* @__PURE__ */ jsx237(Label, { id: labelId, showRequiredStyling: showRequiredMarker, children: label }),
8197
+ hasTip && /* @__PURE__ */ jsx237(InputMessage, { id: tipId, message: tip, messageType: "tip" }),
8145
8198
  withDragAndDrop ? /* @__PURE__ */ jsxs50(
8146
8199
  "div",
8147
8200
  {
@@ -8152,7 +8205,7 @@ var FileUploader = (props) => {
8152
8205
  isDragActive && FileUploader_default["input-container--drag-active"]
8153
8206
  ),
8154
8207
  children: [
8155
- /* @__PURE__ */ jsx236(
8208
+ /* @__PURE__ */ jsx237(
8156
8209
  "input",
8157
8210
  {
8158
8211
  ...getInputProps(),
@@ -8161,16 +8214,16 @@ var FileUploader = (props) => {
8161
8214
  }
8162
8215
  ),
8163
8216
  dropAreaLabel,
8164
- /* @__PURE__ */ jsx236(VisuallyHidden, { as: "span", children: "velg fil med p\xE5f\xF8lgende knapp" }),
8217
+ /* @__PURE__ */ jsx237(VisuallyHidden, { as: "span", children: "velg fil med p\xE5f\xF8lgende knapp" }),
8165
8218
  button
8166
8219
  ]
8167
8220
  }
8168
8221
  ) : /* @__PURE__ */ jsxs50("div", { className: FileUploader_default["input-container--no-drag-zone"], children: [
8169
- /* @__PURE__ */ jsx236("input", { ...getInputProps(), id: inputId }),
8222
+ /* @__PURE__ */ jsx237("input", { ...getInputProps(), id: inputId }),
8170
8223
  button
8171
8224
  ] }),
8172
- /* @__PURE__ */ jsx236(ErrorList, { errors: rootErrorsList }),
8173
- !hideFileList && /* @__PURE__ */ jsx236("ul", { className: utilStyles_default["remove-list-styling"], children: fileListElements })
8225
+ /* @__PURE__ */ jsx237(ErrorList, { errors: rootErrorsList }),
8226
+ !hideFileList && /* @__PURE__ */ jsx237("ul", { className: utilStyles_default["remove-list-styling"], children: fileListElements })
8174
8227
  ]
8175
8228
  }
8176
8229
  );
@@ -8194,10 +8247,10 @@ var Footer_default = {
8194
8247
  };
8195
8248
 
8196
8249
  // src/components/Footer/Footer.tsx
8197
- import { jsx as jsx237 } from "react/jsx-runtime";
8250
+ import { jsx as jsx238 } from "react/jsx-runtime";
8198
8251
  var Footer = forwardRef54((props, ref) => {
8199
8252
  const { className, ...rest } = props;
8200
- return /* @__PURE__ */ jsx237(
8253
+ return /* @__PURE__ */ jsx238(
8201
8254
  Contrast,
8202
8255
  {
8203
8256
  as: "footer",
@@ -8210,9 +8263,9 @@ var Footer = forwardRef54((props, ref) => {
8210
8263
 
8211
8264
  // src/components/Footer/FooterListHeader.tsx
8212
8265
  import { forwardRef as forwardRef55 } from "react";
8213
- import { jsx as jsx238 } from "react/jsx-runtime";
8266
+ import { jsx as jsx239 } from "react/jsx-runtime";
8214
8267
  var FooterListHeader = forwardRef55((props, ref) => {
8215
- return /* @__PURE__ */ jsx238(Heading, { level: 2, typographyType: "headingSans02", ref, ...props });
8268
+ return /* @__PURE__ */ jsx239(Heading, { level: 2, typographyType: "headingSans02", ref, ...props });
8216
8269
  });
8217
8270
 
8218
8271
  // src/components/Footer/FooterLogo.tsx
@@ -8222,11 +8275,11 @@ import { forwardRef as forwardRef56 } from "react";
8222
8275
  var norges_domstoler_logo_default = 'data:image/svg+xml,<svg width="151" height="80" viewBox="0 0 151 80" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g id="Logo" clip-path="url(%23clip0_18254_1882)">%0A<path id="Vector" d="M0 19.5721V0.38501H3.50998L9.51314 13.2128C10.169 14.6541 10.6734 16.1596 11.0182 17.7051H11.1848C10.9502 16.2655 10.8311 14.8093 10.8287 13.3507V0.38501H13.0174V19.5721H9.51314L3.50998 6.77306C2.84978 5.3389 2.34334 3.83883 1.99914 2.29798H1.83829C2.07013 3.73991 2.18921 5.19772 2.19446 6.65817V19.5721H0Z" fill="white"/>%0A<path id="Vector_2" d="M19.2848 17.4063C17.9942 15.7059 17.3489 13.2299 17.3489 9.97846C17.3489 6.72699 17.9942 4.25104 19.2848 2.55062C20.5716 0.850208 22.4118 0 24.8054 0C27.199 0 29.0488 0.844463 30.3548 2.53339C31.6416 4.25679 32.2907 6.70401 32.2907 10.0014C32.2907 13.2989 31.6416 15.7461 30.3548 17.4695C29.068 19.1929 27.2182 20.0029 24.8054 20.0029C22.3927 20.0029 20.5716 19.101 19.2848 17.4063ZM21.3357 4.05572C20.6003 5.31955 20.2308 7.29379 20.2269 9.97846C20.2231 12.6631 20.5927 14.6355 21.3357 15.8954C21.6776 16.4998 22.1813 16.9969 22.7902 17.3307C23.3991 17.6646 24.089 17.8221 24.7825 17.7854C25.4832 17.8288 26.182 17.6747 26.7994 17.3406C27.4169 17.0064 27.9282 16.5058 28.2752 15.8954C29.0143 14.6355 29.3858 12.6631 29.3897 9.97846C29.3935 7.29379 29.0297 5.31955 28.2982 4.05572C27.9502 3.44633 27.4387 2.9464 26.8215 2.61242C26.2042 2.27844 25.5059 2.12372 24.8054 2.16573C24.1083 2.12541 23.4138 2.28107 22.8006 2.6151C22.1874 2.94912 21.6799 3.44817 21.3357 4.05572Z" fill="white"/>%0A<path id="Vector_3" d="M48.594 15.5968C48.8111 16.9446 49.1318 18.2737 49.5534 19.5721H46.5317C46.4288 19.2619 46.3463 18.9453 46.2847 18.6243C46.21 18.2681 46.1238 17.7856 46.0376 17.1709C45.9515 16.5562 45.8825 16.1254 45.8423 15.8668C45.5513 13.9903 45.1415 12.7207 44.613 12.0581C44.0845 11.3956 43.2151 11.0681 42.0049 11.0758H39.1326V19.5721H36.4556V0.38501H43.0045C44.7968 0.38501 46.1813 0.815859 47.1693 1.6833C47.6677 2.13766 48.0592 2.69689 48.3154 3.32072C48.5717 3.94454 48.6865 4.61743 48.6515 5.29094C48.6898 5.93617 48.5867 6.58197 48.3496 7.18326C48.1125 7.78455 47.7469 8.32682 47.2785 8.7722C46.2192 9.64565 44.8691 10.0868 43.4985 10.0073H42.7287V10.1681L43.5272 10.1969C44.1017 10.2313 44.4866 10.2658 44.7566 10.2945C45.102 10.3329 45.4427 10.4061 45.7734 10.5128C46.1234 10.601 46.4442 10.7792 46.704 11.0298C46.968 11.3147 47.2064 11.6223 47.4164 11.949C47.7076 12.4082 47.9301 12.9075 48.077 13.4311C48.2551 14.0343 48.4332 14.7581 48.594 15.5968ZM39.167 9.09964H42.43C42.8862 9.13106 43.3441 9.06822 43.775 8.91503C44.2059 8.76184 44.6006 8.52159 44.9347 8.20922C45.241 7.86617 45.4755 7.4653 45.6245 7.03021C45.7734 6.59512 45.8338 6.13462 45.8021 5.67583C45.8021 3.48138 44.6781 2.38415 42.43 2.38415H39.167V9.09964Z" fill="white"/>%0A<path id="Vector_4" d="M63.8634 6.27892C63.8374 5.16647 63.448 4.0931 62.7547 3.22277C62.4351 2.8708 62.0419 2.59361 61.6031 2.41091C61.1642 2.22821 60.6904 2.14451 60.2155 2.16575C59.518 2.12433 58.8231 2.28288 58.2125 2.62276C57.6019 2.96264 57.1011 3.46974 56.7688 4.08447C56.0334 5.36744 55.6658 7.33211 55.6658 9.97848C55.6658 12.6248 56.0315 14.5933 56.763 15.884C57.0847 16.4915 57.5726 16.995 58.1697 17.3358C58.7668 17.6765 59.4484 17.8404 60.1351 17.8084C62.8581 17.8084 64.2196 15.974 64.2196 12.3051V11.6214H59.9168V9.64529H66.7415V19.572H64.5757V17.6246C64.5824 16.3521 64.6552 15.0808 64.794 13.8159H64.6274C64.4283 15.9338 63.9132 17.4867 63.0821 18.4748C62.2491 19.4629 61.0198 19.9512 59.3941 19.9512C58.4312 19.9882 57.4753 19.7741 56.6202 19.3299C55.7651 18.8857 55.0403 18.2268 54.5169 17.4178C53.3679 15.7289 52.7935 13.2759 52.7935 10.0589C52.7935 6.77296 53.4292 4.28361 54.7007 2.59086C55.9722 0.898101 57.8009 0.0344883 60.1868 2.04411e-05C61.7689 -0.0690547 63.3242 0.425623 64.5757 1.39597C65.1677 1.92295 65.6473 2.56392 65.9859 3.28052C66.3244 3.99712 66.515 4.77464 66.5461 5.56659L63.8634 6.27892Z" fill="white"/>%0A<path id="Vector_5" d="M74.824 17.5673H82.8034V19.5721H72.1125V0.38501H82.6368V2.38415H74.824V8.66305H82.0048V10.6622H74.824V17.5673Z" fill="white"/>%0A<path id="Vector_6" d="M93.0633 19.9512C90.9953 19.9512 89.3695 19.4342 88.1804 18.3887C87.5786 17.8382 87.1032 17.164 86.7869 16.4123C86.4705 15.6606 86.3207 14.8493 86.3478 14.0342L89.0421 13.2645C89.1876 16.3283 90.5491 17.8602 93.1265 17.8602C94.0518 17.9146 94.9669 17.6422 95.7116 17.0904C96.0388 16.8086 96.2951 16.4538 96.4598 16.0546C96.6245 15.6554 96.6929 15.2231 96.6595 14.7925C96.6595 13.3334 95.838 12.284 94.195 11.6445L91.0699 10.3806C88.4159 9.32362 87.0908 7.55236 87.0947 5.06684C87.054 4.35555 87.1815 3.64468 87.467 2.99192C87.7524 2.33915 88.1878 1.76287 88.7376 1.30984C90.0484 0.449859 91.5818 -0.00830078 93.1495 -0.00830078C94.7172 -0.00830078 96.2507 0.449859 97.5614 1.30984C98.139 1.77201 98.6034 2.36008 98.919 3.02914C99.2346 3.6982 99.3931 4.43055 99.3825 5.17024L96.7801 5.9113C96.6155 3.36451 95.4014 2.09302 93.138 2.09685C92.2848 2.02806 91.4347 2.26195 90.7368 2.75749C90.4435 3.00371 90.2126 3.31574 90.0629 3.66814C89.9131 4.02055 89.8488 4.40335 89.8751 4.78535C89.835 5.48253 90.0539 6.16994 90.4897 6.71555C91.0398 7.27423 91.7096 7.70051 92.4487 7.96214L95.3612 9.15703C98.042 10.2294 99.3825 12.0006 99.3825 14.4708C99.4281 15.2308 99.2996 15.9911 99.0069 16.694C98.7143 17.3968 98.2651 18.0236 97.6935 18.5266C96.602 19.4802 95.051 19.9512 93.0633 19.9512Z" fill="white"/>%0A<path id="Vector_7" d="M5.2104 35.4617C7.95251 35.4617 9.98037 36.308 11.294 38.0008C12.6076 39.6936 13.2644 42.045 13.2644 45.0552C13.2644 48.0884 12.6076 50.4456 11.294 52.1269C9.98037 53.8082 7.95251 54.6488 5.2104 54.6488H0V35.4617H5.2104ZM4.96338 52.6497C6.97401 52.6497 8.3757 52.0063 9.17995 50.7195C9.9842 49.4327 10.3863 47.5427 10.3863 45.0552C10.3863 42.5678 9.9842 40.6836 9.17995 39.3968C8.3757 38.11 6.97401 37.4666 4.96338 37.4666H2.71148V52.6497H4.96338Z" fill="white"/>%0A<path id="Vector_8" d="M18.5954 52.4831C17.3047 50.7903 16.6594 48.3144 16.6594 45.0552C16.6594 41.7961 17.3047 39.3202 18.5954 37.6274C19.8898 35.9308 21.732 35.0825 24.1217 35.0825C26.5115 35.0825 28.3613 35.927 29.6711 37.6159C30.954 39.3048 31.5955 41.7846 31.5955 45.0552C31.5955 48.3259 30.9521 50.8152 29.6653 52.5233C28.3823 54.1969 26.5364 55.0337 24.1275 55.0337C21.7185 55.0337 19.8745 54.1835 18.5954 52.4831ZM20.6807 39.1382C19.9147 40.3944 19.5317 42.3667 19.5317 45.0552C19.5317 47.7437 19.9147 49.718 20.6807 50.978C21.0254 51.5787 21.5302 52.0719 22.1388 52.4025C22.7474 52.7332 23.4359 52.8884 24.1275 52.8507C24.8279 52.8921 25.5259 52.7371 26.143 52.4031C26.7601 52.0692 27.2717 51.5697 27.6202 50.9607C28.3555 49.7084 28.7232 47.7399 28.7232 45.0552C28.7232 42.3706 28.3536 40.3982 27.6145 39.1382C27.2674 38.5293 26.7569 38.0296 26.1407 37.6956C25.5245 37.3616 24.8271 37.2067 24.1275 37.2483C23.434 37.2116 22.7441 37.3691 22.1352 37.703C21.5264 38.0368 21.0226 38.5339 20.6807 39.1382Z" fill="white"/>%0A<path id="Vector_9" d="M35.7661 54.6488V35.4617H39.7414L42.8148 46.1237C43.5024 48.2936 43.9079 50.5429 44.0212 52.8163H44.2337C44.2993 50.5424 44.6861 48.2893 45.3827 46.1237L48.5939 35.4617H52.2762V54.6488H49.6911V43.7684C49.6911 41.5223 49.7773 39.414 49.9382 37.4493H49.7486C49.4555 39.2625 49.0527 41.0562 48.5422 42.8206L45.0954 54.6603H42.6827L39.121 42.5965C38.6304 40.9144 38.2467 39.2029 37.9721 37.4723H37.7767C37.9261 39.2417 38.0008 41.2638 38.0008 43.5272V54.6488H35.7661Z" fill="white"/>%0A<path id="Vector_10" d="M63.2314 55.0338C61.171 55.0338 59.5452 54.513 58.3542 53.4713C57.7505 52.9221 57.2734 52.2482 56.9559 51.4963C56.6385 50.7444 56.4884 49.9325 56.5159 49.1168L59.1699 48.3471C59.3155 51.4109 60.6769 52.9428 63.2544 52.9428C64.1809 52.9928 65.0963 52.7208 65.8452 52.173C66.1703 51.8898 66.4248 51.5346 66.5883 51.1356C66.7519 50.7367 66.82 50.3051 66.7873 49.8751C66.7873 48.416 65.9659 47.3647 64.3229 46.7213L61.1978 45.4632C58.5476 44.3986 57.2225 42.6254 57.2225 40.1437C57.1827 39.4334 57.3107 38.7236 57.5962 38.0719C57.8816 37.4202 58.3164 36.8449 58.8655 36.3924C60.1497 35.4549 61.7185 34.9902 63.3061 35.0769C64.8757 35.0068 66.4227 35.4705 67.695 36.3924C68.2714 36.8566 68.7344 37.4461 69.0489 38.116C69.3635 38.7859 69.5213 39.5186 69.5103 40.2586L66.9022 40.9997C66.7414 38.4605 65.5273 37.1909 63.2601 37.1909C62.4071 37.1241 61.5576 37.3578 60.8589 37.8516C60.5656 38.0978 60.3347 38.4098 60.185 38.7622C60.0352 39.1146 59.9709 39.4974 59.9972 39.8794C59.9571 40.5766 60.176 41.264 60.6118 41.8096C61.1632 42.3762 61.8346 42.812 62.5765 43.085L65.535 44.2339C68.2158 45.3139 69.5563 47.0871 69.5563 49.5534C69.6008 50.3128 69.4725 51.0723 69.181 51.7748C68.8894 52.4773 68.4422 53.1045 67.8731 53.6092C66.7529 54.5743 65.2076 55.0338 63.2314 55.0338Z" fill="white"/>%0A<path id="Vector_11" d="M85.8997 35.4617V37.6274H80.6376V54.6488H77.9491V37.6274H72.687V35.4617H85.8997Z" fill="white"/>%0A<path id="Vector_12" d="M90.4092 52.4831C89.1148 50.7903 88.4675 48.3144 88.4675 45.0552C88.4675 41.7961 89.1128 39.3202 90.4035 37.6274C91.6903 35.9308 93.5305 35.0825 95.9241 35.0825C98.3177 35.0825 100.167 35.927 101.473 37.6159C102.76 39.3048 103.404 41.7942 103.404 45.084C103.404 48.3737 102.76 50.8631 101.473 52.552C100.19 54.2065 98.3445 55.0337 95.9356 55.0337C93.5267 55.0337 91.6845 54.1835 90.4092 52.4831ZM92.4888 39.1382C91.7228 40.3944 91.3399 42.3667 91.3399 45.0552C91.3399 47.7437 91.7228 49.718 92.4888 50.978C92.866 51.5576 93.382 52.034 93.9899 52.3637C94.5978 52.6934 95.2785 52.8661 95.97 52.8661C96.6616 52.8661 97.3423 52.6934 97.9502 52.3637C98.5581 52.034 99.0741 51.5576 99.4513 50.978C100.171 49.7141 100.531 47.7399 100.531 45.0552C100.531 42.3706 100.162 40.3982 99.4226 39.1382C99.0454 38.5586 98.5294 38.0823 97.9215 37.7525C97.3136 37.4228 96.6329 37.2501 95.9413 37.2501C95.2497 37.2501 94.5691 37.4228 93.9612 37.7525C93.3532 38.0823 92.8373 38.5586 92.4601 39.1382H92.4888Z" fill="white"/>%0A<path id="Vector_13" d="M107.58 35.4617H110.297V52.4831H117.915V54.6488H107.574L107.58 35.4617Z" fill="white"/>%0A<path id="Vector_14" d="M124.544 52.6497H132.518V54.6488H121.833V35.4617H132.357V37.4666H124.544V43.7397H131.725V45.7446H124.544V52.6497Z" fill="white"/>%0A<path id="Vector_15" d="M149.321 50.6735C149.534 52.022 149.855 53.3513 150.28 54.6488H147.264C147.163 54.3399 147.081 54.0253 147.017 53.7067C146.942 53.3505 146.862 52.8622 146.77 52.2533C146.678 51.6444 146.615 51.2078 146.581 50.9493C146.289 49.0688 145.878 47.7993 145.345 47.1405C144.817 46.4857 143.949 46.1525 142.743 46.1525H139.871V54.6488H137.154V35.4617H143.731C145.52 35.4617 146.908 35.8963 147.896 36.7657C148.392 37.2209 148.781 37.7807 149.034 38.4047C149.288 39.0286 149.399 39.701 149.361 40.3733C149.394 41.0129 149.289 41.6521 149.052 42.247C148.815 42.8419 148.452 43.3786 147.988 43.8201C146.93 44.6951 145.579 45.1365 144.208 45.0552H143.438V45.2218H144.231C144.805 45.2563 145.19 45.285 145.466 45.3137C145.811 45.3579 146.151 45.4309 146.483 45.532C146.833 45.6236 147.153 45.8036 147.413 46.0548C147.676 46.3411 147.914 46.6485 148.126 46.9739C148.422 47.451 148.645 47.97 148.786 48.5135C148.982 49.1167 149.154 49.8348 149.321 50.6735ZM139.894 44.1821H143.151C143.608 44.2136 144.067 44.1508 144.499 43.9976C144.931 43.8445 145.326 43.6042 145.661 43.2916C146.273 42.5923 146.583 41.6795 146.523 40.7525C146.523 38.5638 145.403 37.4666 143.151 37.4666H139.894V44.1821Z" fill="white"/>%0A<path id="Vector_16" d="M150.389 75.0137H0V80H150.389V75.0137Z" fill="white"/>%0A</g>%0A<defs>%0A<clipPath id="clip0_18254_1882">%0A<rect width="150.389" height="80" fill="white"/>%0A</clipPath>%0A</defs>%0A</svg>%0A';
8223
8276
 
8224
8277
  // src/components/Footer/FooterLogo.tsx
8225
- import { jsx as jsx239 } from "react/jsx-runtime";
8278
+ import { jsx as jsx240 } from "react/jsx-runtime";
8226
8279
  var FooterLogo = forwardRef56(
8227
8280
  (props, ref) => {
8228
8281
  const { className, hideBreakpoint, ...rest } = props;
8229
- return /* @__PURE__ */ jsx239(
8282
+ return /* @__PURE__ */ jsx240(
8230
8283
  "img",
8231
8284
  {
8232
8285
  ref,
@@ -8246,11 +8299,11 @@ var FooterLogo = forwardRef56(
8246
8299
 
8247
8300
  // src/components/Footer/FooterList.tsx
8248
8301
  import { forwardRef as forwardRef57 } from "react";
8249
- import { jsx as jsx240 } from "react/jsx-runtime";
8302
+ import { jsx as jsx241 } from "react/jsx-runtime";
8250
8303
  var FooterList = forwardRef57(
8251
8304
  (props, ref) => {
8252
8305
  const { className, ...rest } = props;
8253
- return /* @__PURE__ */ jsx240(
8306
+ return /* @__PURE__ */ jsx241(
8254
8307
  "ul",
8255
8308
  {
8256
8309
  ref,
@@ -8267,10 +8320,10 @@ var FooterList = forwardRef57(
8267
8320
 
8268
8321
  // src/components/Footer/FooterSocialsList.tsx
8269
8322
  import { forwardRef as forwardRef58 } from "react";
8270
- import { jsx as jsx241 } from "react/jsx-runtime";
8323
+ import { jsx as jsx242 } from "react/jsx-runtime";
8271
8324
  var FooterSocialsList = forwardRef58((props, ref) => {
8272
8325
  const { className, ...rest } = props;
8273
- return /* @__PURE__ */ jsx241(
8326
+ return /* @__PURE__ */ jsx242(
8274
8327
  "ul",
8275
8328
  {
8276
8329
  ref,
@@ -8286,10 +8339,10 @@ var FooterSocialsList = forwardRef58((props, ref) => {
8286
8339
 
8287
8340
  // src/components/Footer/FooterSocialsGroup.tsx
8288
8341
  import { forwardRef as forwardRef59 } from "react";
8289
- import { jsx as jsx242 } from "react/jsx-runtime";
8342
+ import { jsx as jsx243 } from "react/jsx-runtime";
8290
8343
  var FooterSocialsGroup = forwardRef59((props, ref) => {
8291
8344
  const { className, ...rest } = props;
8292
- return /* @__PURE__ */ jsx242(
8345
+ return /* @__PURE__ */ jsx243(
8293
8346
  "div",
8294
8347
  {
8295
8348
  ref,
@@ -8301,11 +8354,11 @@ var FooterSocialsGroup = forwardRef59((props, ref) => {
8301
8354
 
8302
8355
  // src/components/Footer/FooterListGroup.tsx
8303
8356
  import { forwardRef as forwardRef60 } from "react";
8304
- import { jsx as jsx243 } from "react/jsx-runtime";
8357
+ import { jsx as jsx244 } from "react/jsx-runtime";
8305
8358
  var FooterListGroup = forwardRef60(
8306
8359
  (props, ref) => {
8307
8360
  const { className, ...rest } = props;
8308
- return /* @__PURE__ */ jsx243(
8361
+ return /* @__PURE__ */ jsx244(
8309
8362
  "div",
8310
8363
  {
8311
8364
  ref,
@@ -8318,11 +8371,11 @@ var FooterListGroup = forwardRef60(
8318
8371
 
8319
8372
  // src/components/Footer/FooterLeft.tsx
8320
8373
  import { forwardRef as forwardRef61 } from "react";
8321
- import { jsx as jsx244 } from "react/jsx-runtime";
8374
+ import { jsx as jsx245 } from "react/jsx-runtime";
8322
8375
  var FooterLeft = forwardRef61(
8323
8376
  (props, ref) => {
8324
8377
  const { className, ...rest } = props;
8325
- return /* @__PURE__ */ jsx244("div", { ref, className: cn(className, Footer_default["left"]), ...rest });
8378
+ return /* @__PURE__ */ jsx245("div", { ref, className: cn(className, Footer_default["left"]), ...rest });
8326
8379
  }
8327
8380
  );
8328
8381
 
@@ -8341,7 +8394,7 @@ var GlobalMessage_default = {
8341
8394
  };
8342
8395
 
8343
8396
  // src/components/GlobalMessage/GlobalMessage.tsx
8344
- import { jsx as jsx245, jsxs as jsxs51 } from "react/jsx-runtime";
8397
+ import { jsx as jsx246, jsxs as jsxs51 } from "react/jsx-runtime";
8345
8398
  var icons = {
8346
8399
  info: InfoIcon,
8347
8400
  danger: ErrorIcon,
@@ -8385,12 +8438,12 @@ var GlobalMessage = forwardRef62(
8385
8438
  closable && GlobalMessage_default["content--closable"]
8386
8439
  ),
8387
8440
  children: [
8388
- /* @__PURE__ */ jsx245(Icon, { icon: icons[purpose], className: GlobalMessage_default.icon }),
8389
- children != null ? children : /* @__PURE__ */ jsx245("span", { children: message })
8441
+ /* @__PURE__ */ jsx246(Icon, { icon: icons[purpose], className: GlobalMessage_default.icon }),
8442
+ children != null ? children : /* @__PURE__ */ jsx246("span", { children: message })
8390
8443
  ]
8391
8444
  }
8392
8445
  ),
8393
- closable && /* @__PURE__ */ jsx245(
8446
+ closable && /* @__PURE__ */ jsx246(
8394
8447
  Button,
8395
8448
  {
8396
8449
  icon: CloseIcon,
@@ -8421,7 +8474,7 @@ var Grid_default = {
8421
8474
  };
8422
8475
 
8423
8476
  // src/components/Grid/Grid.tsx
8424
- import { jsx as jsx246 } from "react/jsx-runtime";
8477
+ import { jsx as jsx247 } from "react/jsx-runtime";
8425
8478
  var Grid = (props) => {
8426
8479
  const {
8427
8480
  id,
@@ -8466,13 +8519,13 @@ var Grid = (props) => {
8466
8519
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
8467
8520
  ["--dds-grid-xl-column-gap"]: (columnGap == null ? void 0 : columnGap.xl) ? columnGap.xl : "var(--dds-grid-xl-gutter-size)"
8468
8521
  };
8469
- return as === "div" ? /* @__PURE__ */ jsx246(
8522
+ return as === "div" ? /* @__PURE__ */ jsx247(
8470
8523
  "div",
8471
8524
  {
8472
8525
  ...getBaseHTMLProps(id, cn(className, Grid_default.grid), htmlProps, rest),
8473
8526
  style: { ...style, ...htmlProps == null ? void 0 : htmlProps.style, ...styleVariables }
8474
8527
  }
8475
- ) : /* @__PURE__ */ jsx246(
8528
+ ) : /* @__PURE__ */ jsx247(
8476
8529
  "form",
8477
8530
  {
8478
8531
  ...getBaseHTMLProps(id, cn(className, Grid_default.grid), htmlProps, rest),
@@ -8483,7 +8536,7 @@ var Grid = (props) => {
8483
8536
  Grid.displayName = "Grid";
8484
8537
 
8485
8538
  // src/components/Grid/GridChild.tsx
8486
- import { jsx as jsx247 } from "react/jsx-runtime";
8539
+ import { jsx as jsx248 } from "react/jsx-runtime";
8487
8540
  var isRelativeGridColumn = (type) => {
8488
8541
  return type === "all" || type === "firstHalf" || type === "secondHalf";
8489
8542
  };
@@ -8533,7 +8586,7 @@ var GridChild = (props) => {
8533
8586
  firstHalf: "first-half",
8534
8587
  secondHalf: "second-half"
8535
8588
  };
8536
- return /* @__PURE__ */ jsx247(
8589
+ return /* @__PURE__ */ jsx248(
8537
8590
  "div",
8538
8591
  {
8539
8592
  ...getBaseHTMLProps(
@@ -8562,11 +8615,11 @@ var InlineButton_default = {
8562
8615
  };
8563
8616
 
8564
8617
  // src/components/InlineButton/InlineButton.tsx
8565
- import { jsx as jsx248 } from "react/jsx-runtime";
8618
+ import { jsx as jsx249 } from "react/jsx-runtime";
8566
8619
  var InlineButton = forwardRef63(
8567
8620
  (props, ref) => {
8568
8621
  const { className, ...rest } = props;
8569
- return /* @__PURE__ */ jsx248(
8622
+ return /* @__PURE__ */ jsx249(
8570
8623
  "button",
8571
8624
  {
8572
8625
  ref,
@@ -8594,7 +8647,7 @@ import {
8594
8647
  isValidElement as isValidElement6,
8595
8648
  useState as useState15
8596
8649
  } from "react";
8597
- import { Fragment as Fragment6, jsx as jsx249 } from "react/jsx-runtime";
8650
+ import { Fragment as Fragment6, jsx as jsx250 } from "react/jsx-runtime";
8598
8651
  var InlineEdit = (props) => {
8599
8652
  const {
8600
8653
  emptiable,
@@ -8644,7 +8697,7 @@ var InlineEdit = (props) => {
8644
8697
  emptiable
8645
8698
  })
8646
8699
  );
8647
- return /* @__PURE__ */ jsx249(Fragment6, { children: inputChild });
8700
+ return /* @__PURE__ */ jsx250(Fragment6, { children: inputChild });
8648
8701
  };
8649
8702
  InlineEdit.displayName = "InlineEdit";
8650
8703
 
@@ -8670,7 +8723,7 @@ var inlineEditVisuallyHidden = (id, emptiable) => /* @__PURE__ */ jsxs52(Visuall
8670
8723
  ] });
8671
8724
 
8672
8725
  // src/components/InlineEdit/InlineTextArea.tsx
8673
- import { jsx as jsx250, jsxs as jsxs53 } from "react/jsx-runtime";
8726
+ import { jsx as jsx251, jsxs as jsxs53 } from "react/jsx-runtime";
8674
8727
  var InlineTextArea = forwardRef64((props, ref) => {
8675
8728
  const {
8676
8729
  id,
@@ -8694,7 +8747,7 @@ var InlineTextArea = forwardRef64((props, ref) => {
8694
8747
  const combinedRef = useCombinedRef(ref, inputRef);
8695
8748
  return /* @__PURE__ */ jsxs53("div", { className: InlineEdit_default.container, style: { width }, children: [
8696
8749
  /* @__PURE__ */ jsxs53("div", { className: Input_default["input-group"], children: [
8697
- !isEditing && !hideIcon && /* @__PURE__ */ jsx250(
8750
+ !isEditing && !hideIcon && /* @__PURE__ */ jsx251(
8698
8751
  "span",
8699
8752
  {
8700
8753
  onClick: () => {
@@ -8702,10 +8755,10 @@ var InlineTextArea = forwardRef64((props, ref) => {
8702
8755
  (_a = inputRef.current) == null ? void 0 : _a.focus();
8703
8756
  },
8704
8757
  className: InlineEdit_default["icon-wrapper"],
8705
- children: /* @__PURE__ */ jsx250(Icon, { icon: EditIcon, iconSize: "small" })
8758
+ children: /* @__PURE__ */ jsx251(Icon, { icon: EditIcon, iconSize: "small" })
8706
8759
  }
8707
8760
  ),
8708
- /* @__PURE__ */ jsx250(
8761
+ /* @__PURE__ */ jsx251(
8709
8762
  "textarea",
8710
8763
  {
8711
8764
  ...rest,
@@ -8737,12 +8790,12 @@ var InlineTextArea = forwardRef64((props, ref) => {
8737
8790
  InlineTextArea.displayName = "InlineTextArea";
8738
8791
 
8739
8792
  // src/components/InlineEdit/InlineEditTextArea.tsx
8740
- import { jsx as jsx251 } from "react/jsx-runtime";
8793
+ import { jsx as jsx252 } from "react/jsx-runtime";
8741
8794
  var InlineEditTextArea = forwardRef65((props, ref) => {
8742
8795
  const { onSetValue, emptiable, value, onFocus, onChange, onBlur, ...rest } = props;
8743
8796
  const textareaRef = useRef24(null);
8744
8797
  const combinedRef = useCombinedRef(ref, textareaRef);
8745
- return /* @__PURE__ */ jsx251(
8798
+ return /* @__PURE__ */ jsx252(
8746
8799
  InlineEdit,
8747
8800
  {
8748
8801
  onSetValue,
@@ -8752,7 +8805,7 @@ var InlineEditTextArea = forwardRef65((props, ref) => {
8752
8805
  onFocus,
8753
8806
  onChange,
8754
8807
  onBlur,
8755
- children: /* @__PURE__ */ jsx251(InlineTextArea, { ref: combinedRef, ...rest })
8808
+ children: /* @__PURE__ */ jsx252(InlineTextArea, { ref: combinedRef, ...rest })
8756
8809
  }
8757
8810
  );
8758
8811
  });
@@ -8762,7 +8815,7 @@ import { forwardRef as forwardRef67, useRef as useRef26 } from "react";
8762
8815
 
8763
8816
  // src/components/InlineEdit/InlineInput.tsx
8764
8817
  import { forwardRef as forwardRef66, useId as useId13, useRef as useRef25 } from "react";
8765
- import { jsx as jsx252, jsxs as jsxs54 } from "react/jsx-runtime";
8818
+ import { jsx as jsx253, jsxs as jsxs54 } from "react/jsx-runtime";
8766
8819
  var InlineInput = forwardRef66(
8767
8820
  (props, ref) => {
8768
8821
  const {
@@ -8787,7 +8840,7 @@ var InlineInput = forwardRef66(
8787
8840
  const combinedRef = useCombinedRef(ref, inputRef);
8788
8841
  return /* @__PURE__ */ jsxs54("div", { className: InlineEdit_default.container, style: { width }, children: [
8789
8842
  /* @__PURE__ */ jsxs54("div", { className: Input_default["input-group"], children: [
8790
- !isEditing && !hideIcon && /* @__PURE__ */ jsx252(
8843
+ !isEditing && !hideIcon && /* @__PURE__ */ jsx253(
8791
8844
  "span",
8792
8845
  {
8793
8846
  onClick: () => {
@@ -8795,10 +8848,10 @@ var InlineInput = forwardRef66(
8795
8848
  (_a = inputRef.current) == null ? void 0 : _a.focus();
8796
8849
  },
8797
8850
  className: InlineEdit_default["icon-wrapper"],
8798
- children: /* @__PURE__ */ jsx252(Icon, { icon: EditIcon, iconSize: "small" })
8851
+ children: /* @__PURE__ */ jsx253(Icon, { icon: EditIcon, iconSize: "small" })
8799
8852
  }
8800
8853
  ),
8801
- /* @__PURE__ */ jsx252(
8854
+ /* @__PURE__ */ jsx253(
8802
8855
  "input",
8803
8856
  {
8804
8857
  ...rest,
@@ -8829,12 +8882,12 @@ var InlineInput = forwardRef66(
8829
8882
  InlineInput.displayName = "InlineInput";
8830
8883
 
8831
8884
  // src/components/InlineEdit/InlineEditInput.tsx
8832
- import { jsx as jsx253 } from "react/jsx-runtime";
8885
+ import { jsx as jsx254 } from "react/jsx-runtime";
8833
8886
  var InlineEditInput = forwardRef67((props, ref) => {
8834
8887
  const { onSetValue, emptiable, value, onFocus, onChange, onBlur, ...rest } = props;
8835
8888
  const inputRef = useRef26(null);
8836
8889
  const combinedRef = useCombinedRef(ref, inputRef);
8837
- return /* @__PURE__ */ jsx253(
8890
+ return /* @__PURE__ */ jsx254(
8838
8891
  InlineEdit,
8839
8892
  {
8840
8893
  onSetValue,
@@ -8844,7 +8897,7 @@ var InlineEditInput = forwardRef67((props, ref) => {
8844
8897
  onFocus,
8845
8898
  onChange,
8846
8899
  onBlur,
8847
- children: /* @__PURE__ */ jsx253(InlineInput, { ...rest, ref: combinedRef })
8900
+ children: /* @__PURE__ */ jsx254(InlineInput, { ...rest, ref: combinedRef })
8848
8901
  }
8849
8902
  );
8850
8903
  });
@@ -8907,9 +8960,9 @@ var InternalHeader_default = {
8907
8960
 
8908
8961
  // src/components/InternalHeader/NavigationItem.tsx
8909
8962
  import { forwardRef as forwardRef68 } from "react";
8910
- import { jsx as jsx254 } from "react/jsx-runtime";
8963
+ import { jsx as jsx255 } from "react/jsx-runtime";
8911
8964
  var NavigationItem = forwardRef68(({ isCurrent, ...rest }, ref) => {
8912
- return /* @__PURE__ */ jsx254(
8965
+ return /* @__PURE__ */ jsx255(
8913
8966
  "a",
8914
8967
  {
8915
8968
  ...rest,
@@ -8926,7 +8979,7 @@ var NavigationItem = forwardRef68(({ isCurrent, ...rest }, ref) => {
8926
8979
  });
8927
8980
 
8928
8981
  // src/components/InternalHeader/InternalHeader.tsx
8929
- import { jsx as jsx255, jsxs as jsxs55 } from "react/jsx-runtime";
8982
+ import { jsx as jsx256, jsxs as jsxs55 } from "react/jsx-runtime";
8930
8983
  var InternalHeader = (props) => {
8931
8984
  const {
8932
8985
  applicationDesc,
@@ -8960,7 +9013,7 @@ var InternalHeader = (props) => {
8960
9013
  const hasContextMenuElements = !!contextMenuItems && contextMenuItems.length > 0;
8961
9014
  const hasSmallScreenBreakpoint = !!smallScreenBreakpoint;
8962
9015
  const hasNavInContextMenu = hasSmallScreenBreakpoint && hasNavigationElements;
8963
- const navigation = hasNavigationElements ? /* @__PURE__ */ jsx255("nav", { "aria-label": "sidenavigasjon", children: /* @__PURE__ */ jsx255(
9016
+ const navigation = hasNavigationElements ? /* @__PURE__ */ jsx256("nav", { "aria-label": "sidenavigasjon", children: /* @__PURE__ */ jsx256(
8964
9017
  "ul",
8965
9018
  {
8966
9019
  className: cn(
@@ -8971,7 +9024,7 @@ var InternalHeader = (props) => {
8971
9024
  children: navItems.map((item, index) => {
8972
9025
  const { href, ...rest2 } = item;
8973
9026
  const isCurrent = href === currentPage;
8974
- return /* @__PURE__ */ jsx255("li", { className: InternalHeader_default["nav-list__item"], children: /* @__PURE__ */ jsx255(
9027
+ return /* @__PURE__ */ jsx256("li", { className: InternalHeader_default["nav-list__item"], children: /* @__PURE__ */ jsx256(
8975
9028
  NavigationItem,
8976
9029
  {
8977
9030
  href,
@@ -9000,7 +9053,7 @@ var InternalHeader = (props) => {
9000
9053
  rest
9001
9054
  ),
9002
9055
  children: [
9003
- /* @__PURE__ */ jsx255(Typography, { typographyType: "bodySans02", bold: true, as: "span", children: applicationHref ? /* @__PURE__ */ jsx255(
9056
+ /* @__PURE__ */ jsx256(Typography, { typographyType: "bodySans02", bold: true, as: "span", children: applicationHref ? /* @__PURE__ */ jsx256(
9004
9057
  "a",
9005
9058
  {
9006
9059
  href: applicationHref,
@@ -9009,8 +9062,8 @@ var InternalHeader = (props) => {
9009
9062
  children: applicationName
9010
9063
  }
9011
9064
  ) : applicationName }),
9012
- /* @__PURE__ */ jsx255(Typography, { typographyType: "bodySans02", as: "span", children: applicationDesc }),
9013
- (hasContextMenu || navigation !== null) && /* @__PURE__ */ jsx255("div", { className: InternalHeader_default["bar-separator"] }),
9065
+ /* @__PURE__ */ jsx256(Typography, { typographyType: "bodySans02", as: "span", children: applicationDesc }),
9066
+ (hasContextMenu || navigation !== null) && /* @__PURE__ */ jsx256("div", { className: InternalHeader_default["bar-separator"] }),
9014
9067
  navigation,
9015
9068
  hasContextMenu && /* @__PURE__ */ jsxs55(
9016
9069
  "div",
@@ -9021,7 +9074,7 @@ var InternalHeader = (props) => {
9021
9074
  !hasContextMenuLargeScreen && hasSmallScreenBreakpoint && InternalHeader_default[`context-menu-group--small-screen-only-${smallScreenBreakpoint}`]
9022
9075
  ),
9023
9076
  children: [
9024
- /* @__PURE__ */ jsx255(
9077
+ /* @__PURE__ */ jsx256(
9025
9078
  Button,
9026
9079
  {
9027
9080
  ref: buttonRef,
@@ -9041,8 +9094,8 @@ var InternalHeader = (props) => {
9041
9094
  anchorRef: buttonRef,
9042
9095
  className: InternalHeader_default["context-menu"],
9043
9096
  children: [
9044
- user && /* @__PURE__ */ jsx255(OverflowMenuList, { children: user.href ? /* @__PURE__ */ jsx255(OverflowMenuLink, { icon: PersonIcon, ...user }) : /* @__PURE__ */ jsx255(OverflowMenuSpan, { icon: PersonIcon, ...user }) }),
9045
- hasNavInContextMenu && /* @__PURE__ */ jsx255(
9097
+ user && /* @__PURE__ */ jsx256(OverflowMenuList, { children: user.href ? /* @__PURE__ */ jsx256(OverflowMenuLink, { icon: PersonIcon, ...user }) : /* @__PURE__ */ jsx256(OverflowMenuSpan, { icon: PersonIcon, ...user }) }),
9098
+ hasNavInContextMenu && /* @__PURE__ */ jsx256(
9046
9099
  "nav",
9047
9100
  {
9048
9101
  "aria-label": "sidenavigasjon",
@@ -9050,10 +9103,10 @@ var InternalHeader = (props) => {
9050
9103
  InternalHeader_default["nav--in-menu--small-screen"],
9051
9104
  InternalHeader_default[`nav--in-menu--small-screen-${smallScreenBreakpoint}`]
9052
9105
  ),
9053
- children: /* @__PURE__ */ jsx255(OverflowMenuList, { children: navItems.map((item) => /* @__PURE__ */ jsx255(OverflowMenuLink, { ...item })) })
9106
+ children: /* @__PURE__ */ jsx256(OverflowMenuList, { children: navItems.map((item) => /* @__PURE__ */ jsx256(OverflowMenuLink, { ...item })) })
9054
9107
  }
9055
9108
  ),
9056
- hasNavInContextMenu && hasContextMenuElements && /* @__PURE__ */ jsx255(
9109
+ hasNavInContextMenu && hasContextMenuElements && /* @__PURE__ */ jsx256(
9057
9110
  OverflowMenuDivider,
9058
9111
  {
9059
9112
  className: cn(
@@ -9062,8 +9115,8 @@ var InternalHeader = (props) => {
9062
9115
  )
9063
9116
  }
9064
9117
  ),
9065
- hasContextMenuElements && /* @__PURE__ */ jsx255(OverflowMenuList, { children: contextMenuItems.map((item) => {
9066
- return item.href ? /* @__PURE__ */ jsx255(OverflowMenuLink, { ...item }) : /* @__PURE__ */ jsx255(
9118
+ hasContextMenuElements && /* @__PURE__ */ jsx256(OverflowMenuList, { children: contextMenuItems.map((item) => {
9119
+ return item.href ? /* @__PURE__ */ jsx256(OverflowMenuLink, { ...item }) : /* @__PURE__ */ jsx256(
9067
9120
  OverflowMenuButton,
9068
9121
  {
9069
9122
  ...item
@@ -9095,7 +9148,7 @@ var List_default = {
9095
9148
  };
9096
9149
 
9097
9150
  // src/components/List/List.tsx
9098
- import { jsx as jsx256 } from "react/jsx-runtime";
9151
+ import { jsx as jsx257 } from "react/jsx-runtime";
9099
9152
  var List = forwardRef69((props, ref) => {
9100
9153
  const {
9101
9154
  listType = "unordered",
@@ -9107,7 +9160,7 @@ var List = forwardRef69((props, ref) => {
9107
9160
  ...rest
9108
9161
  } = props;
9109
9162
  const List2 = listType === "ordered" ? "ol" : "ul";
9110
- return /* @__PURE__ */ jsx256(
9163
+ return /* @__PURE__ */ jsx257(
9111
9164
  List2,
9112
9165
  {
9113
9166
  ...getBaseHTMLProps(id, className, htmlProps, rest),
@@ -9125,10 +9178,10 @@ List.displayName = "List";
9125
9178
 
9126
9179
  // src/components/List/ListItem.tsx
9127
9180
  import { forwardRef as forwardRef70 } from "react";
9128
- import { jsx as jsx257 } from "react/jsx-runtime";
9181
+ import { jsx as jsx258 } from "react/jsx-runtime";
9129
9182
  var ListItem = forwardRef70(
9130
9183
  ({ className, ...rest }, ref) => {
9131
- return /* @__PURE__ */ jsx257("li", { ref, ...rest, className: cn(className, List_default.li) });
9184
+ return /* @__PURE__ */ jsx258("li", { ref, ...rest, className: cn(className, List_default.li) });
9132
9185
  }
9133
9186
  );
9134
9187
  ListItem.displayName = "ListItem";
@@ -9155,7 +9208,7 @@ var LocalMessage_default = {
9155
9208
  };
9156
9209
 
9157
9210
  // src/components/LocalMessage/LocalMessage.tsx
9158
- import { Fragment as Fragment7, jsx as jsx258, jsxs as jsxs56 } from "react/jsx-runtime";
9211
+ import { Fragment as Fragment7, jsx as jsx259, jsxs as jsxs56 } from "react/jsx-runtime";
9159
9212
  var icons2 = {
9160
9213
  info: InfoIcon,
9161
9214
  danger: ErrorIcon,
@@ -9180,7 +9233,7 @@ var LocalMessage = forwardRef71(
9180
9233
  } = props;
9181
9234
  const [isClosed, setClosed] = useState17(false);
9182
9235
  if (isClosed) {
9183
- return /* @__PURE__ */ jsx258(Fragment7, {});
9236
+ return /* @__PURE__ */ jsx259(Fragment7, {});
9184
9237
  }
9185
9238
  return /* @__PURE__ */ jsxs56(
9186
9239
  "div",
@@ -9201,15 +9254,15 @@ var LocalMessage = forwardRef71(
9201
9254
  ),
9202
9255
  style: { ...htmlProps == null ? void 0 : htmlProps.style, width },
9203
9256
  children: [
9204
- /* @__PURE__ */ jsx258(
9257
+ /* @__PURE__ */ jsx259(
9205
9258
  Icon,
9206
9259
  {
9207
9260
  icon: icons2[purpose],
9208
9261
  className: cn(LocalMessage_default.icon, LocalMessage_default.container__icon)
9209
9262
  }
9210
9263
  ),
9211
- /* @__PURE__ */ jsx258("div", { className: LocalMessage_default.container__text, children: children != null ? children : /* @__PURE__ */ jsx258("span", { children: message }) }),
9212
- closable && /* @__PURE__ */ jsx258(
9264
+ /* @__PURE__ */ jsx259("div", { className: LocalMessage_default.container__text, children: children != null ? children : /* @__PURE__ */ jsx259("span", { children: message }) }),
9265
+ closable && /* @__PURE__ */ jsx259(
9213
9266
  Button,
9214
9267
  {
9215
9268
  icon: CloseIcon,
@@ -9251,7 +9304,7 @@ var Modal_default = {
9251
9304
  };
9252
9305
 
9253
9306
  // src/components/Modal/Modal.tsx
9254
- import { jsx as jsx259, jsxs as jsxs57 } from "react/jsx-runtime";
9307
+ import { jsx as jsx260, jsxs as jsxs57 } from "react/jsx-runtime";
9255
9308
  var Modal = forwardRef72((props, ref) => {
9256
9309
  const {
9257
9310
  isOpen = false,
@@ -9296,7 +9349,7 @@ var Modal = forwardRef72((props, ref) => {
9296
9349
  useOnKeyDown(["Escape", "Esc"], () => handleClose());
9297
9350
  const hasTransitionedIn = useMountTransition(isOpen, 200);
9298
9351
  return isOpen || hasTransitionedIn ? createPortal2(
9299
- /* @__PURE__ */ jsx259(
9352
+ /* @__PURE__ */ jsx260(
9300
9353
  Backdrop,
9301
9354
  {
9302
9355
  isMounted: isOpen && hasTransitionedIn,
@@ -9326,7 +9379,7 @@ var Modal = forwardRef72((props, ref) => {
9326
9379
  id: modalId,
9327
9380
  elevation: 4,
9328
9381
  children: [
9329
- onClose && /* @__PURE__ */ jsx259(
9382
+ onClose && /* @__PURE__ */ jsx260(
9330
9383
  Button,
9331
9384
  {
9332
9385
  size: "small",
@@ -9339,7 +9392,7 @@ var Modal = forwardRef72((props, ref) => {
9339
9392
  }
9340
9393
  ),
9341
9394
  /* @__PURE__ */ jsxs57("div", { className: Modal_default.content, children: [
9342
- !!header && /* @__PURE__ */ jsx259("div", { id: headerId, className: Modal_default.header, children: typeof header === "string" ? /* @__PURE__ */ jsx259(Heading, { level: 2, typographyType: "headingSans03", children: header }) : header }),
9395
+ !!header && /* @__PURE__ */ jsx260("div", { id: headerId, className: Modal_default.header, children: typeof header === "string" ? /* @__PURE__ */ jsx260(Heading, { level: 2, typographyType: "headingSans03", children: header }) : header }),
9343
9396
  children
9344
9397
  ] })
9345
9398
  ]
@@ -9354,11 +9407,11 @@ Modal.displayName = "Modal";
9354
9407
 
9355
9408
  // src/components/Modal/ModalBody.tsx
9356
9409
  import { forwardRef as forwardRef73 } from "react";
9357
- import { jsx as jsx260 } from "react/jsx-runtime";
9410
+ import { jsx as jsx261 } from "react/jsx-runtime";
9358
9411
  var ModalBody = forwardRef73(
9359
9412
  (props, ref) => {
9360
9413
  const { children, id, className, scrollable, htmlProps, height, ...rest } = props;
9361
- return /* @__PURE__ */ jsx260(
9414
+ return /* @__PURE__ */ jsx261(
9362
9415
  "div",
9363
9416
  {
9364
9417
  ref,
@@ -9383,10 +9436,10 @@ ModalBody.displayName = "ModalBody";
9383
9436
 
9384
9437
  // src/components/Modal/ModalActions.tsx
9385
9438
  import { forwardRef as forwardRef74 } from "react";
9386
- import { jsx as jsx261 } from "react/jsx-runtime";
9439
+ import { jsx as jsx262 } from "react/jsx-runtime";
9387
9440
  var ModalActions = forwardRef74(
9388
9441
  ({ className, ...rest }, ref) => {
9389
- return /* @__PURE__ */ jsx261("div", { ref, ...rest, className: cn(className, Modal_default.actions) });
9442
+ return /* @__PURE__ */ jsx262("div", { ref, ...rest, className: cn(className, Modal_default.actions) });
9390
9443
  }
9391
9444
  );
9392
9445
  ModalActions.displayName = "ModalActions";
@@ -9754,7 +9807,7 @@ var getCustomStyles = (size2, hasError, hasIcon, isReadOnly) => ({
9754
9807
  import {
9755
9808
  components
9756
9809
  } from "react-select";
9757
- import { jsx as jsx262, jsxs as jsxs58 } from "react/jsx-runtime";
9810
+ import { jsx as jsx263, jsxs as jsxs58 } from "react/jsx-runtime";
9758
9811
  var {
9759
9812
  Option,
9760
9813
  NoOptionsMessage,
@@ -9776,26 +9829,26 @@ var getIndicatorIconSize = (componentSize) => {
9776
9829
  }
9777
9830
  };
9778
9831
  var DDSOption = (props, componentSize) => /* @__PURE__ */ jsxs58(Option, { ...props, children: [
9779
- props.isSelected && /* @__PURE__ */ jsx262(Icon, { icon: CheckIcon, iconSize: getFormInputIconSize(componentSize) }),
9832
+ props.isSelected && /* @__PURE__ */ jsx263(Icon, { icon: CheckIcon, iconSize: getFormInputIconSize(componentSize) }),
9780
9833
  props.children
9781
9834
  ] });
9782
- var CustomOption = (props, Element) => /* @__PURE__ */ jsx262(Option, { ...props, children: /* @__PURE__ */ jsx262(Element, { ...props }) });
9783
- var CustomSingleValue = (props, id, Element) => /* @__PURE__ */ jsx262(SingleValue, { ...props, children: /* @__PURE__ */ jsx262("div", { id, className: Select_default["inner-single-value"], children: Element ? /* @__PURE__ */ jsx262(Element, { ...props }) : props.children }) });
9784
- var DDSNoOptionsMessage = (props) => /* @__PURE__ */ jsx262(NoOptionsMessage, { ...props, children: "Ingen treff" });
9785
- var DDSClearIndicator = (props, size2) => /* @__PURE__ */ jsx262(ClearIndicator, { ...props, children: /* @__PURE__ */ jsx262(Icon, { icon: CloseSmallIcon, iconSize: getIndicatorIconSize(size2) }) });
9786
- var DDSMultiValueRemove = (props) => /* @__PURE__ */ jsx262(MultiValueRemove, { ...props, children: /* @__PURE__ */ jsx262(Icon, { icon: CloseSmallIcon, iconSize: "small" }) });
9835
+ var CustomOption = (props, Element) => /* @__PURE__ */ jsx263(Option, { ...props, children: /* @__PURE__ */ jsx263(Element, { ...props }) });
9836
+ var CustomSingleValue = (props, id, Element) => /* @__PURE__ */ jsx263(SingleValue, { ...props, children: /* @__PURE__ */ jsx263("div", { id, className: Select_default["inner-single-value"], children: Element ? /* @__PURE__ */ jsx263(Element, { ...props }) : props.children }) });
9837
+ var DDSNoOptionsMessage = (props) => /* @__PURE__ */ jsx263(NoOptionsMessage, { ...props, children: "Ingen treff" });
9838
+ var DDSClearIndicator = (props, size2) => /* @__PURE__ */ jsx263(ClearIndicator, { ...props, children: /* @__PURE__ */ jsx263(Icon, { icon: CloseSmallIcon, iconSize: getIndicatorIconSize(size2) }) });
9839
+ var DDSMultiValueRemove = (props) => /* @__PURE__ */ jsx263(MultiValueRemove, { ...props, children: /* @__PURE__ */ jsx263(Icon, { icon: CloseSmallIcon, iconSize: "small" }) });
9787
9840
  var DDSDropdownIndicator = (props, size2) => {
9788
9841
  const { className, ...rest } = props;
9789
- return /* @__PURE__ */ jsx262(
9842
+ return /* @__PURE__ */ jsx263(
9790
9843
  DropdownIndicator,
9791
9844
  {
9792
9845
  ...rest,
9793
9846
  className: cn(className, Select_default["dropdown-indicator"]),
9794
- children: /* @__PURE__ */ jsx262(Icon, { icon: ChevronDownIcon, iconSize: getIndicatorIconSize(size2) })
9847
+ children: /* @__PURE__ */ jsx263(Icon, { icon: ChevronDownIcon, iconSize: getIndicatorIconSize(size2) })
9795
9848
  }
9796
9849
  );
9797
9850
  };
9798
- var DDSInput = (props, ariaInvalid, ariaDescribedby) => /* @__PURE__ */ jsx262(
9851
+ var DDSInput = (props, ariaInvalid, ariaDescribedby) => /* @__PURE__ */ jsx263(
9799
9852
  Input2,
9800
9853
  {
9801
9854
  ...props,
@@ -9805,7 +9858,7 @@ var DDSInput = (props, ariaInvalid, ariaDescribedby) => /* @__PURE__ */ jsx262(
9805
9858
  );
9806
9859
  var DDSControl = (props, componentSize, readOnly, icon, dataTestId) => {
9807
9860
  const { className, ...rest } = props;
9808
- return /* @__PURE__ */ jsx262(
9861
+ return /* @__PURE__ */ jsx263(
9809
9862
  "div",
9810
9863
  {
9811
9864
  "data-testid": dataTestId ? dataTestId + "-control" : void 0,
@@ -9820,7 +9873,7 @@ var DDSControl = (props, componentSize, readOnly, icon, dataTestId) => {
9820
9873
  readOnly && Select_default["control--readonly"]
9821
9874
  ),
9822
9875
  children: [
9823
- icon && /* @__PURE__ */ jsx262(
9876
+ icon && /* @__PURE__ */ jsx263(
9824
9877
  Icon,
9825
9878
  {
9826
9879
  icon,
@@ -9840,7 +9893,7 @@ var DDSControl = (props, componentSize, readOnly, icon, dataTestId) => {
9840
9893
  };
9841
9894
 
9842
9895
  // src/components/Select/Select.tsx
9843
- import { jsx as jsx263, jsxs as jsxs59 } from "react/jsx-runtime";
9896
+ import { jsx as jsx264, jsxs as jsxs59 } from "react/jsx-runtime";
9844
9897
  var getPlaceholder = (placeholder, isMulti) => placeholder ? placeholder : isMulti ? "-- Velg en eller flere --" : "-- Velg fra listen --";
9845
9898
  function SelectInner(props, ref) {
9846
9899
  const {
@@ -9944,7 +9997,7 @@ function SelectInner(props, ref) {
9944
9997
  ),
9945
9998
  style: { ...style, ...styleVariables },
9946
9999
  children: [
9947
- hasLabel && /* @__PURE__ */ jsx263(
10000
+ hasLabel && /* @__PURE__ */ jsx264(
9948
10001
  Label,
9949
10002
  {
9950
10003
  htmlFor: uniqueId,
@@ -9954,7 +10007,7 @@ function SelectInner(props, ref) {
9954
10007
  children: label
9955
10008
  }
9956
10009
  ),
9957
- /* @__PURE__ */ jsx263(ReactSelect, { ...reactSelectProps, ref }),
10010
+ /* @__PURE__ */ jsx264(ReactSelect, { ...reactSelectProps, ref }),
9958
10011
  renderInputMessage(tip, tipId, errorMessage, errorMessageId)
9959
10012
  ]
9960
10013
  }
@@ -9979,7 +10032,7 @@ var NativeSelect_default = {
9979
10032
  };
9980
10033
 
9981
10034
  // src/components/Select/NativeSelect/NativeSelect.tsx
9982
- import { jsx as jsx264, jsxs as jsxs60 } from "react/jsx-runtime";
10035
+ import { jsx as jsx265, jsxs as jsxs60 } from "react/jsx-runtime";
9983
10036
  var NativeSelect = forwardRef76(
9984
10037
  (props, ref) => {
9985
10038
  const {
@@ -10012,7 +10065,7 @@ var NativeSelect = forwardRef76(
10012
10065
  ["--dds-native-select-width"]: width ? width : componentSize === "tiny" ? "210px" : "var(--dds-input-default-width)"
10013
10066
  };
10014
10067
  return /* @__PURE__ */ jsxs60("div", { children: [
10015
- hasLabel && /* @__PURE__ */ jsx264(
10068
+ hasLabel && /* @__PURE__ */ jsx265(
10016
10069
  Label,
10017
10070
  {
10018
10071
  className: Input_default.label,
@@ -10023,7 +10076,7 @@ var NativeSelect = forwardRef76(
10023
10076
  }
10024
10077
  ),
10025
10078
  /* @__PURE__ */ jsxs60("div", { className: NativeSelect_default.container, children: [
10026
- /* @__PURE__ */ jsx264(
10079
+ /* @__PURE__ */ jsx265(
10027
10080
  "select",
10028
10081
  {
10029
10082
  ref,
@@ -10061,7 +10114,7 @@ var NativeSelect = forwardRef76(
10061
10114
  children
10062
10115
  }
10063
10116
  ),
10064
- !multiple && /* @__PURE__ */ jsx264(
10117
+ !multiple && /* @__PURE__ */ jsx265(
10065
10118
  Icon,
10066
10119
  {
10067
10120
  icon: ChevronDownIcon,
@@ -10076,7 +10129,7 @@ var NativeSelect = forwardRef76(
10076
10129
  );
10077
10130
  var NativeSelectPlaceholder = forwardRef76((props, ref) => {
10078
10131
  const { children = "-- Velg fra listen --", value, ...rest } = props;
10079
- return /* @__PURE__ */ jsx264("option", { ref, value: value != null ? value : "", selected: true, ...rest, children });
10132
+ return /* @__PURE__ */ jsx265("option", { ref, value: value != null ? value : "", selected: true, ...rest, children });
10080
10133
  });
10081
10134
  NativeSelectPlaceholder.displayName = "NativeSelectPlaceholder";
10082
10135
 
@@ -10084,7 +10137,7 @@ NativeSelectPlaceholder.displayName = "NativeSelectPlaceholder";
10084
10137
  var createSelectOptions = (...args) => args.map((v2) => ({ label: v2, value: v2 }));
10085
10138
 
10086
10139
  // src/components/Pagination/Pagination.tsx
10087
- import { Fragment as Fragment8, jsx as jsx265, jsxs as jsxs61 } from "react/jsx-runtime";
10140
+ import { Fragment as Fragment8, jsx as jsx266, jsxs as jsxs61 } from "react/jsx-runtime";
10088
10141
  var Pagination = forwardRef77(
10089
10142
  (props, ref) => {
10090
10143
  const {
@@ -10128,7 +10181,7 @@ var Pagination = forwardRef77(
10128
10181
  };
10129
10182
  const listItems = items.length > 0 ? items.map((item, i2) => {
10130
10183
  const isActive = item === activePage;
10131
- return /* @__PURE__ */ jsx265("li", { className: Pagination_default.list__item, children: item !== "truncator" ? /* @__PURE__ */ jsx265(
10184
+ return /* @__PURE__ */ jsx266("li", { className: Pagination_default.list__item, children: item !== "truncator" ? /* @__PURE__ */ jsx266(
10132
10185
  Button,
10133
10186
  {
10134
10187
  purpose: isActive ? "primary" : "secondary",
@@ -10139,7 +10192,7 @@ var Pagination = forwardRef77(
10139
10192
  "aria-label": isActive ? `N\xE5v\xE6rende side (side ${item})` : `G\xE5 til side ${item}`,
10140
10193
  children: item
10141
10194
  }
10142
- ) : /* @__PURE__ */ jsx265(
10195
+ ) : /* @__PURE__ */ jsx266(
10143
10196
  Icon,
10144
10197
  {
10145
10198
  icon: MoreHorizontalIcon,
@@ -10147,7 +10200,7 @@ var Pagination = forwardRef77(
10147
10200
  }
10148
10201
  ) }, `pagination-item-${i2}`);
10149
10202
  }) : void 0;
10150
- const previousPageButton = /* @__PURE__ */ jsx265(
10203
+ const previousPageButton = /* @__PURE__ */ jsx266(
10151
10204
  Button,
10152
10205
  {
10153
10206
  purpose: "secondary",
@@ -10159,7 +10212,7 @@ var Pagination = forwardRef77(
10159
10212
  "aria-label": "G\xE5 til forrige siden"
10160
10213
  }
10161
10214
  );
10162
- const nextPageButton = /* @__PURE__ */ jsx265(
10215
+ const nextPageButton = /* @__PURE__ */ jsx266(
10163
10216
  Button,
10164
10217
  {
10165
10218
  purpose: "secondary",
@@ -10184,8 +10237,8 @@ var Pagination = forwardRef77(
10184
10237
  };
10185
10238
  const isOnFirstPage = activePage === 1;
10186
10239
  const isOnLastPage = activePage === pagesLength;
10187
- const largeScreenNavigation = withPagination ? /* @__PURE__ */ jsx265("nav", { ref, "aria-label": "paginering", ...navProps(), children: /* @__PURE__ */ jsxs61("ol", { className: Pagination_default.list, children: [
10188
- /* @__PURE__ */ jsx265(
10240
+ const largeScreenNavigation = withPagination ? /* @__PURE__ */ jsx266("nav", { ref, "aria-label": "paginering", ...navProps(), children: /* @__PURE__ */ jsxs61("ol", { className: Pagination_default.list, children: [
10241
+ /* @__PURE__ */ jsx266(
10189
10242
  "li",
10190
10243
  {
10191
10244
  className: cn(
@@ -10197,7 +10250,7 @@ var Pagination = forwardRef77(
10197
10250
  }
10198
10251
  ),
10199
10252
  listItems,
10200
- /* @__PURE__ */ jsx265(
10253
+ /* @__PURE__ */ jsx266(
10201
10254
  "li",
10202
10255
  {
10203
10256
  className: cn(
@@ -10209,8 +10262,8 @@ var Pagination = forwardRef77(
10209
10262
  }
10210
10263
  )
10211
10264
  ] }) }) : null;
10212
- const smallScreenNavigation = withPagination ? /* @__PURE__ */ jsx265("nav", { ref, "aria-label": "paginering", ...navProps(true), children: /* @__PURE__ */ jsxs61("ol", { className: Pagination_default.list, children: [
10213
- /* @__PURE__ */ jsx265(
10265
+ const smallScreenNavigation = withPagination ? /* @__PURE__ */ jsx266("nav", { ref, "aria-label": "paginering", ...navProps(true), children: /* @__PURE__ */ jsxs61("ol", { className: Pagination_default.list, children: [
10266
+ /* @__PURE__ */ jsx266(
10214
10267
  "li",
10215
10268
  {
10216
10269
  className: cn(
@@ -10218,7 +10271,7 @@ var Pagination = forwardRef77(
10218
10271
  isOnFirstPage && Pagination_default["list__item--hidden"]
10219
10272
  ),
10220
10273
  "aria-hidden": isOnFirstPage,
10221
- children: /* @__PURE__ */ jsx265(
10274
+ children: /* @__PURE__ */ jsx266(
10222
10275
  Button,
10223
10276
  {
10224
10277
  purpose: "secondary",
@@ -10232,7 +10285,7 @@ var Pagination = forwardRef77(
10232
10285
  )
10233
10286
  }
10234
10287
  ),
10235
- /* @__PURE__ */ jsx265(
10288
+ /* @__PURE__ */ jsx266(
10236
10289
  "li",
10237
10290
  {
10238
10291
  className: cn(
@@ -10243,7 +10296,7 @@ var Pagination = forwardRef77(
10243
10296
  children: previousPageButton
10244
10297
  }
10245
10298
  ),
10246
- /* @__PURE__ */ jsx265("li", { className: Pagination_default.list__item, children: /* @__PURE__ */ jsx265(
10299
+ /* @__PURE__ */ jsx266("li", { className: Pagination_default.list__item, children: /* @__PURE__ */ jsx266(
10247
10300
  Button,
10248
10301
  {
10249
10302
  size: "small",
@@ -10253,7 +10306,7 @@ var Pagination = forwardRef77(
10253
10306
  children: activePage
10254
10307
  }
10255
10308
  ) }),
10256
- /* @__PURE__ */ jsx265(
10309
+ /* @__PURE__ */ jsx266(
10257
10310
  "li",
10258
10311
  {
10259
10312
  className: cn(
@@ -10264,7 +10317,7 @@ var Pagination = forwardRef77(
10264
10317
  children: nextPageButton
10265
10318
  }
10266
10319
  ),
10267
- /* @__PURE__ */ jsx265(
10320
+ /* @__PURE__ */ jsx266(
10268
10321
  "li",
10269
10322
  {
10270
10323
  className: cn(
@@ -10272,7 +10325,7 @@ var Pagination = forwardRef77(
10272
10325
  isOnLastPage && Pagination_default["list__item--hidden"]
10273
10326
  ),
10274
10327
  "aria-hidden": isOnLastPage,
10275
- children: /* @__PURE__ */ jsx265(
10328
+ children: /* @__PURE__ */ jsx266(
10276
10329
  Button,
10277
10330
  {
10278
10331
  purpose: "secondary",
@@ -10307,7 +10360,7 @@ var Pagination = forwardRef77(
10307
10360
  ),
10308
10361
  children: [
10309
10362
  /* @__PURE__ */ jsxs61("div", { className: Pagination_default.indicators, children: [
10310
- withSelect && /* @__PURE__ */ jsx265(
10363
+ withSelect && /* @__PURE__ */ jsx266(
10311
10364
  Select,
10312
10365
  {
10313
10366
  options: selectOptions,
@@ -10751,7 +10804,7 @@ var PhoneInput_default = {
10751
10804
  };
10752
10805
 
10753
10806
  // src/components/PhoneInput/PhoneInput.tsx
10754
- import { jsx as jsx266, jsxs as jsxs62 } from "react/jsx-runtime";
10807
+ import { jsx as jsx267, jsxs as jsxs62 } from "react/jsx-runtime";
10755
10808
  var prioritizedCountries = [
10756
10809
  COUNTRIES.NO,
10757
10810
  COUNTRIES.SE,
@@ -10889,7 +10942,7 @@ var PhoneInput = forwardRef78(
10889
10942
  };
10890
10943
  const showRequiredStyling = !!(required || ariaRequired);
10891
10944
  return /* @__PURE__ */ jsxs62("div", { className: cn(className, Input_default.container), style, children: [
10892
- hasLabel && /* @__PURE__ */ jsx266(
10945
+ hasLabel && /* @__PURE__ */ jsx267(
10893
10946
  Label,
10894
10947
  {
10895
10948
  htmlFor: phoneNumberId,
@@ -10910,8 +10963,8 @@ var PhoneInput = forwardRef78(
10910
10963
  role: "group",
10911
10964
  "aria-label": groupLabel,
10912
10965
  children: [
10913
- /* @__PURE__ */ jsx266("label", { className: utilStyles_default["visually-hidden"], htmlFor: selectId, children: selectLabel }),
10914
- /* @__PURE__ */ jsx266(
10966
+ /* @__PURE__ */ jsx267("label", { className: utilStyles_default["visually-hidden"], htmlFor: selectId, children: selectLabel }),
10967
+ /* @__PURE__ */ jsx267(
10915
10968
  NativeSelect,
10916
10969
  {
10917
10970
  ...commonProps,
@@ -10930,11 +10983,11 @@ var PhoneInput = forwardRef78(
10930
10983
  hasTip ? tipId : void 0,
10931
10984
  ariaDescribedby
10932
10985
  ]),
10933
- children: countryOptions.map((item, index) => /* @__PURE__ */ jsx266("option", { value: item.countryCode, children: item.label }, index))
10986
+ children: countryOptions.map((item, index) => /* @__PURE__ */ jsx267("option", { value: item.countryCode, children: item.label }, index))
10934
10987
  }
10935
10988
  ),
10936
10989
  /* @__PURE__ */ jsxs62("div", { className: Input_default["input-group"], children: [
10937
- /* @__PURE__ */ jsx266(
10990
+ /* @__PURE__ */ jsx267(
10938
10991
  "span",
10939
10992
  {
10940
10993
  className: cn(
@@ -10946,7 +10999,7 @@ var PhoneInput = forwardRef78(
10946
10999
  children: callingCode
10947
11000
  }
10948
11001
  ),
10949
- /* @__PURE__ */ jsx266(
11002
+ /* @__PURE__ */ jsx267(
10950
11003
  StatefulInput,
10951
11004
  {
10952
11005
  ref,
@@ -10998,7 +11051,7 @@ var Popover_default = {
10998
11051
  };
10999
11052
 
11000
11053
  // src/components/Popover/Popover.tsx
11001
- import { jsx as jsx267, jsxs as jsxs63 } from "react/jsx-runtime";
11054
+ import { jsx as jsx268, jsxs as jsxs63 } from "react/jsx-runtime";
11002
11055
  var Popover = forwardRef79(
11003
11056
  (props, ref) => {
11004
11057
  const {
@@ -11061,15 +11114,15 @@ var Popover = forwardRef79(
11061
11114
  elevation: 3,
11062
11115
  border: "subtle",
11063
11116
  children: [
11064
- title && /* @__PURE__ */ jsx267("div", { className: Popover_default.title, children: typeof title === "string" ? /* @__PURE__ */ jsx267(Heading, { level: 2, typographyType: "headingSans02", children: title }) : title }),
11065
- /* @__PURE__ */ jsx267(
11117
+ title && /* @__PURE__ */ jsx268("div", { className: Popover_default.title, children: typeof title === "string" ? /* @__PURE__ */ jsx268(Heading, { level: 2, typographyType: "headingSans02", children: title }) : title }),
11118
+ /* @__PURE__ */ jsx268(
11066
11119
  "div",
11067
11120
  {
11068
11121
  className: !hasTitle && withCloseButton ? Popover_default["content--closable--no-title"] : "",
11069
11122
  children
11070
11123
  }
11071
11124
  ),
11072
- withCloseButton && /* @__PURE__ */ jsx267(
11125
+ withCloseButton && /* @__PURE__ */ jsx268(
11073
11126
  Button,
11074
11127
  {
11075
11128
  icon: CloseIcon,
@@ -11096,7 +11149,7 @@ import {
11096
11149
  useRef as useRef30,
11097
11150
  useState as useState20
11098
11151
  } from "react";
11099
- import { Fragment as Fragment9, jsx as jsx268 } from "react/jsx-runtime";
11152
+ import { Fragment as Fragment9, jsx as jsx269 } from "react/jsx-runtime";
11100
11153
  var PopoverGroup = ({
11101
11154
  isOpen = false,
11102
11155
  onCloseButtonClick,
@@ -11142,7 +11195,7 @@ var PopoverGroup = ({
11142
11195
  onClose: handleClose
11143
11196
  }));
11144
11197
  });
11145
- return /* @__PURE__ */ jsx268(Fragment9, { children: Children8 });
11198
+ return /* @__PURE__ */ jsx269(Fragment9, { children: Children8 });
11146
11199
  };
11147
11200
  PopoverGroup.displayName = "PopoverGroup";
11148
11201
 
@@ -11159,13 +11212,13 @@ import {
11159
11212
  } from "react";
11160
11213
 
11161
11214
  // src/components/ProgressTracker/ProgressTracker.context.tsx
11162
- import { createContext as createContext4, useContext as useContext7 } from "react";
11215
+ import { createContext as createContext4, useContext as useContext8 } from "react";
11163
11216
  var ProgressTrackerContext = createContext4(
11164
11217
  {
11165
11218
  activeStep: 0
11166
11219
  }
11167
11220
  );
11168
- var useProgressTrackerContext = () => useContext7(ProgressTrackerContext);
11221
+ var useProgressTrackerContext = () => useContext8(ProgressTrackerContext);
11169
11222
 
11170
11223
  // src/components/ProgressTracker/ProgressTracker.module.css
11171
11224
  var ProgressTracker_default = {
@@ -11190,7 +11243,7 @@ var ProgressTracker_default = {
11190
11243
 
11191
11244
  // src/components/ProgressTracker/ProgressTrackerItem.tsx
11192
11245
  import { useMemo as useMemo2 } from "react";
11193
- import { Fragment as Fragment10, jsx as jsx269, jsxs as jsxs64 } from "react/jsx-runtime";
11246
+ import { Fragment as Fragment10, jsx as jsx270, jsxs as jsxs64 } from "react/jsx-runtime";
11194
11247
  var toItemState = (active, completed, disabled) => {
11195
11248
  if (disabled) {
11196
11249
  return "disabled";
@@ -11233,15 +11286,15 @@ var ProgressTrackerItem = (props) => {
11233
11286
  };
11234
11287
  const stepNumberContent = useMemo2(() => {
11235
11288
  if (completed) {
11236
- return /* @__PURE__ */ jsx269(Icon, { icon: CheckIcon, iconSize: "small" });
11289
+ return /* @__PURE__ */ jsx270(Icon, { icon: CheckIcon, iconSize: "small" });
11237
11290
  }
11238
11291
  if (icon !== void 0) {
11239
- return /* @__PURE__ */ jsx269(Icon, { icon, iconSize: "small" });
11292
+ return /* @__PURE__ */ jsx270(Icon, { icon, iconSize: "small" });
11240
11293
  }
11241
11294
  return index + 1;
11242
11295
  }, [completed, icon, index]);
11243
11296
  const stepContent = /* @__PURE__ */ jsxs64(Fragment10, { children: [
11244
- /* @__PURE__ */ jsx269(
11297
+ /* @__PURE__ */ jsx270(
11245
11298
  "div",
11246
11299
  {
11247
11300
  "aria-hidden": true,
@@ -11262,13 +11315,13 @@ var ProgressTrackerItem = (props) => {
11262
11315
  typographyStyles_default["body-sans-03"]
11263
11316
  ),
11264
11317
  children: [
11265
- /* @__PURE__ */ jsx269(VisuallyHidden, { as: "span", children: getVisuallyHiddenText(active, completed, index) }),
11318
+ /* @__PURE__ */ jsx270(VisuallyHidden, { as: "span", children: getVisuallyHiddenText(active, completed, index) }),
11266
11319
  children
11267
11320
  ]
11268
11321
  }
11269
11322
  )
11270
11323
  ] });
11271
- return /* @__PURE__ */ jsx269("li", { "aria-current": active ? "step" : void 0, className: ProgressTracker_default.item, children: handleStepChange ? /* @__PURE__ */ jsx269(
11324
+ return /* @__PURE__ */ jsx270("li", { "aria-current": active ? "step" : void 0, className: ProgressTracker_default.item, children: handleStepChange ? /* @__PURE__ */ jsx270(
11272
11325
  "button",
11273
11326
  {
11274
11327
  ...getBaseHTMLProps(
@@ -11281,7 +11334,7 @@ var ProgressTrackerItem = (props) => {
11281
11334
  disabled,
11282
11335
  children: stepContent
11283
11336
  }
11284
- ) : /* @__PURE__ */ jsx269(
11337
+ ) : /* @__PURE__ */ jsx270(
11285
11338
  "div",
11286
11339
  {
11287
11340
  ...getBaseHTMLProps(
@@ -11297,7 +11350,7 @@ var ProgressTrackerItem = (props) => {
11297
11350
  ProgressTrackerItem.displayName = "ProgressTracker.Item";
11298
11351
 
11299
11352
  // src/components/ProgressTracker/ProgressTracker.tsx
11300
- import { jsx as jsx270, jsxs as jsxs65 } from "react/jsx-runtime";
11353
+ import { jsx as jsx271, jsxs as jsxs65 } from "react/jsx-runtime";
11301
11354
  var ProgressTracker = (() => {
11302
11355
  const Res = forwardRef80((props, ref) => {
11303
11356
  const {
@@ -11329,14 +11382,14 @@ var ProgressTracker = (() => {
11329
11382
  const itemsWithConnectorsBetween = intersperseItemsWithConnector(itemsWithIndex);
11330
11383
  return itemsWithConnectorsBetween;
11331
11384
  }, [children]);
11332
- return /* @__PURE__ */ jsx270(
11385
+ return /* @__PURE__ */ jsx271(
11333
11386
  ProgressTrackerContext.Provider,
11334
11387
  {
11335
11388
  value: {
11336
11389
  activeStep: thisActiveStep,
11337
11390
  handleStepChange: handleChange
11338
11391
  },
11339
- children: /* @__PURE__ */ jsx270("div", { role: "group", "aria-label": "progress", ...containerProps, children: /* @__PURE__ */ jsx270("ol", { className: ProgressTracker_default.list, children: steps }) })
11392
+ children: /* @__PURE__ */ jsx271("div", { role: "group", "aria-label": "progress", ...containerProps, children: /* @__PURE__ */ jsx271("ol", { className: ProgressTracker_default.list, children: steps }) })
11340
11393
  }
11341
11394
  );
11342
11395
  });
@@ -11361,7 +11414,7 @@ var intersperseItemsWithConnector = (children) => Children4.map(children, (child
11361
11414
  return child;
11362
11415
  }
11363
11416
  return /* @__PURE__ */ jsxs65(Fragment11, { children: [
11364
- /* @__PURE__ */ jsx270("div", { "aria-hidden": true, className: ProgressTracker_default.connector }),
11417
+ /* @__PURE__ */ jsx271("div", { "aria-hidden": true, className: ProgressTracker_default.connector }),
11365
11418
  child
11366
11419
  ] }, index);
11367
11420
  });
@@ -11383,7 +11436,7 @@ var ProgressBar_default = {
11383
11436
  };
11384
11437
 
11385
11438
  // src/components/ProgressBar/ProgressBar.tsx
11386
- import { jsx as jsx271, jsxs as jsxs66 } from "react/jsx-runtime";
11439
+ import { jsx as jsx272, jsxs as jsxs66 } from "react/jsx-runtime";
11387
11440
  var ProgressBar = forwardRef81(
11388
11441
  (props, ref) => {
11389
11442
  const {
@@ -11419,8 +11472,8 @@ var ProgressBar = forwardRef81(
11419
11472
  ["--dds-progressbar-fill-width"]: fillPrecentage != null ? fillPrecentage : 0
11420
11473
  };
11421
11474
  return /* @__PURE__ */ jsxs66("div", { className: cn(className, ProgressBar_default.container), style, children: [
11422
- hasLabel ? /* @__PURE__ */ jsx271(Label, { htmlFor: uniqueId, children: label }) : void 0,
11423
- /* @__PURE__ */ jsx271(
11475
+ hasLabel ? /* @__PURE__ */ jsx272(Label, { htmlFor: uniqueId, children: label }) : void 0,
11476
+ /* @__PURE__ */ jsx272(
11424
11477
  "progress",
11425
11478
  {
11426
11479
  ref,
@@ -11437,12 +11490,12 @@ var ProgressBar = forwardRef81(
11437
11490
  children: fillPrecentage
11438
11491
  }
11439
11492
  ),
11440
- /* @__PURE__ */ jsx271(
11493
+ /* @__PURE__ */ jsx272(
11441
11494
  "div",
11442
11495
  {
11443
11496
  style: progressStyleVariables,
11444
11497
  className: cn(ProgressBar_default.progress, ProgressBar_default[`progress--${size2}`]),
11445
- children: /* @__PURE__ */ jsx271(
11498
+ children: /* @__PURE__ */ jsx272(
11446
11499
  "div",
11447
11500
  {
11448
11501
  style: fillStyleVariables,
@@ -11472,11 +11525,11 @@ import {
11472
11525
  // src/components/Search/AutocompleteSearch.context.tsx
11473
11526
  import {
11474
11527
  createContext as createContext5,
11475
- useContext as useContext8
11528
+ useContext as useContext9
11476
11529
  } from "react";
11477
11530
  var AutocompleteSearchContext = createContext5({});
11478
11531
  var useAutocompleteSearch = () => {
11479
- return useContext8(AutocompleteSearchContext);
11532
+ return useContext9(AutocompleteSearchContext);
11480
11533
  };
11481
11534
 
11482
11535
  // src/components/Search/Search.module.css
@@ -11534,7 +11587,7 @@ import {
11534
11587
  useEffect as useEffect25,
11535
11588
  useRef as useRef31
11536
11589
  } from "react";
11537
- import { jsx as jsx272 } from "react/jsx-runtime";
11590
+ import { jsx as jsx273 } from "react/jsx-runtime";
11538
11591
  var SearchSuggestionItem = forwardRef82((props, ref) => {
11539
11592
  const { focus, className, ...rest } = props;
11540
11593
  const itemRef = useRef31(null);
@@ -11545,7 +11598,7 @@ var SearchSuggestionItem = forwardRef82((props, ref) => {
11545
11598
  (_a = itemRef.current) == null ? void 0 : _a.focus();
11546
11599
  }
11547
11600
  }, [focus]);
11548
- return /* @__PURE__ */ jsx272(
11601
+ return /* @__PURE__ */ jsx273(
11549
11602
  "button",
11550
11603
  {
11551
11604
  ref: combinedRef,
@@ -11564,7 +11617,7 @@ var SearchSuggestionItem = forwardRef82((props, ref) => {
11564
11617
  SearchSuggestionItem.displayName = "SearchSuggestionItem";
11565
11618
 
11566
11619
  // src/components/Search/SearchSuggestions.tsx
11567
- import { jsx as jsx273, jsxs as jsxs67 } from "react/jsx-runtime";
11620
+ import { jsx as jsx274, jsxs as jsxs67 } from "react/jsx-runtime";
11568
11621
  var SearchSuggestions = forwardRef83((props, ref) => {
11569
11622
  const {
11570
11623
  id,
@@ -11603,7 +11656,7 @@ var SearchSuggestions = forwardRef83((props, ref) => {
11603
11656
  "aria-hidden": !showSuggestions,
11604
11657
  border: "default",
11605
11658
  children: [
11606
- /* @__PURE__ */ jsx273(
11659
+ /* @__PURE__ */ jsx274(
11607
11660
  "span",
11608
11661
  {
11609
11662
  id: suggestionsHeaderId,
@@ -11614,14 +11667,14 @@ var SearchSuggestions = forwardRef83((props, ref) => {
11614
11667
  children: "S\xF8keforslag"
11615
11668
  }
11616
11669
  ),
11617
- /* @__PURE__ */ jsx273(
11670
+ /* @__PURE__ */ jsx274(
11618
11671
  "ul",
11619
11672
  {
11620
11673
  role: "listbox",
11621
11674
  "aria-labelledby": suggestionsHeaderId,
11622
11675
  className: utilStyles_default["remove-list-styling"],
11623
11676
  children: suggestionsToRender.map((suggestion, index) => {
11624
- return /* @__PURE__ */ jsx273("li", { role: "option", children: /* @__PURE__ */ jsx273(
11677
+ return /* @__PURE__ */ jsx274("li", { role: "option", children: /* @__PURE__ */ jsx274(
11625
11678
  SearchSuggestionItem,
11626
11679
  {
11627
11680
  index,
@@ -11644,8 +11697,8 @@ var SearchSuggestions = forwardRef83((props, ref) => {
11644
11697
  SearchSuggestions.displayName = "SearchSuggestions";
11645
11698
 
11646
11699
  // src/components/Search/Search.tsx
11647
- import { Fragment as Fragment12, jsx as jsx274, jsxs as jsxs68 } from "react/jsx-runtime";
11648
- var getIconSize = (size2) => {
11700
+ import { Fragment as Fragment12, jsx as jsx275, jsxs as jsxs68 } from "react/jsx-runtime";
11701
+ var getIconSize2 = (size2) => {
11649
11702
  switch (size2) {
11650
11703
  case "large":
11651
11704
  return "medium";
@@ -11700,7 +11753,7 @@ var Search = forwardRef84(
11700
11753
  const hasSuggestions = !!context.suggestions;
11701
11754
  const showSearchButton = !!buttonProps && !!onClick;
11702
11755
  return /* @__PURE__ */ jsxs68("div", { className: Search_default.container, children: [
11703
- hasLabel && /* @__PURE__ */ jsx274(Label, { htmlFor: uniqueId, children: label }),
11756
+ hasLabel && /* @__PURE__ */ jsx275(Label, { htmlFor: uniqueId, children: label }),
11704
11757
  /* @__PURE__ */ jsxs68("div", { children: [
11705
11758
  /* @__PURE__ */ jsxs68(
11706
11759
  "div",
@@ -11712,18 +11765,18 @@ var Search = forwardRef84(
11712
11765
  style,
11713
11766
  children: [
11714
11767
  /* @__PURE__ */ jsxs68("div", { className: Search_default["input-group"], children: [
11715
- /* @__PURE__ */ jsx274(
11768
+ /* @__PURE__ */ jsx275(
11716
11769
  Icon,
11717
11770
  {
11718
11771
  icon: SearchIcon,
11719
- iconSize: getIconSize(componentSize),
11772
+ iconSize: getIconSize2(componentSize),
11720
11773
  className: cn(
11721
11774
  Input_default["input-group__absolute-element"],
11722
11775
  Search_default["search-icon"]
11723
11776
  )
11724
11777
  }
11725
11778
  ),
11726
- /* @__PURE__ */ jsx274(
11779
+ /* @__PURE__ */ jsx275(
11727
11780
  Input,
11728
11781
  {
11729
11782
  ...rest,
@@ -11751,7 +11804,7 @@ var Search = forwardRef84(
11751
11804
  }
11752
11805
  ),
11753
11806
  hasSuggestions && /* @__PURE__ */ jsxs68(Fragment12, { children: [
11754
- /* @__PURE__ */ jsx274(
11807
+ /* @__PURE__ */ jsx275(
11755
11808
  SearchSuggestions,
11756
11809
  {
11757
11810
  id: suggestionsId,
@@ -11763,9 +11816,9 @@ var Search = forwardRef84(
11763
11816
  componentSize
11764
11817
  }
11765
11818
  ),
11766
- /* @__PURE__ */ jsx274(VisuallyHidden, { id: suggestionsDescriptionId, as: "span", children: "Bla i s\xF8keforslag med piltaster n\xE5r listen er utvidet." })
11819
+ /* @__PURE__ */ jsx275(VisuallyHidden, { id: suggestionsDescriptionId, as: "span", children: "Bla i s\xF8keforslag med piltaster n\xE5r listen er utvidet." })
11767
11820
  ] }),
11768
- hasValue && /* @__PURE__ */ jsx274(
11821
+ hasValue && /* @__PURE__ */ jsx275(
11769
11822
  Button,
11770
11823
  {
11771
11824
  icon: CloseSmallIcon,
@@ -11777,7 +11830,7 @@ var Search = forwardRef84(
11777
11830
  }
11778
11831
  )
11779
11832
  ] }),
11780
- showSearchButton && /* @__PURE__ */ jsx274(
11833
+ showSearchButton && /* @__PURE__ */ jsx275(
11781
11834
  Button,
11782
11835
  {
11783
11836
  size: componentSize,
@@ -11802,7 +11855,7 @@ import {
11802
11855
  useRef as useRef32,
11803
11856
  useState as useState23
11804
11857
  } from "react";
11805
- import { jsx as jsx275 } from "react/jsx-runtime";
11858
+ import { jsx as jsx276 } from "react/jsx-runtime";
11806
11859
  var SearchAutocompleteWrapper = (props) => {
11807
11860
  const {
11808
11861
  value,
@@ -11878,7 +11931,7 @@ var SearchAutocompleteWrapper = (props) => {
11878
11931
  inputValue,
11879
11932
  onSugggestionClick: handleSuggestionClick
11880
11933
  };
11881
- return /* @__PURE__ */ jsx275(AutocompleteSearchContext.Provider, { value: contextProps, children });
11934
+ return /* @__PURE__ */ jsx276(AutocompleteSearchContext.Provider, { value: contextProps, children });
11882
11935
  };
11883
11936
  SearchAutocompleteWrapper.displayName = "SearchAutocompleteWrapper";
11884
11937
 
@@ -11891,10 +11944,10 @@ Search2.Suggestions = SearchSuggestions;
11891
11944
  import { forwardRef as forwardRef86, useId as useId21 } from "react";
11892
11945
 
11893
11946
  // src/components/SelectionControl/Checkbox/CheckboxGroupContext.tsx
11894
- import { createContext as createContext6, useContext as useContext9 } from "react";
11947
+ import { createContext as createContext6, useContext as useContext10 } from "react";
11895
11948
  var CheckboxGroupContext = createContext6(null);
11896
11949
  var useCheckboxGroup = () => {
11897
- return useContext9(CheckboxGroupContext);
11950
+ return useContext10(CheckboxGroupContext);
11898
11951
  };
11899
11952
 
11900
11953
  // src/components/SelectionControl/SelectionControl.styles.tsx
@@ -11920,10 +11973,10 @@ var SelectionControl_default = {
11920
11973
  };
11921
11974
 
11922
11975
  // src/components/SelectionControl/SelectionControl.styles.tsx
11923
- import { jsx as jsx276 } from "react/jsx-runtime";
11976
+ import { jsx as jsx277 } from "react/jsx-runtime";
11924
11977
  var SelectionControl = forwardRef85((props, ref) => {
11925
11978
  const { controlType, className, ...rest } = props;
11926
- return /* @__PURE__ */ jsx276(
11979
+ return /* @__PURE__ */ jsx277(
11927
11980
  "span",
11928
11981
  {
11929
11982
  ref,
@@ -11947,7 +12000,7 @@ var Label2 = forwardRef85(
11947
12000
  className,
11948
12001
  ...rest
11949
12002
  } = props;
11950
- return /* @__PURE__ */ jsx276(
12003
+ return /* @__PURE__ */ jsx277(
11951
12004
  "label",
11952
12005
  {
11953
12006
  ref,
@@ -11978,7 +12031,7 @@ var selectionControlTypographyProps = {
11978
12031
  };
11979
12032
 
11980
12033
  // src/components/SelectionControl/Checkbox/Checkbox.tsx
11981
- import { jsx as jsx277, jsxs as jsxs69 } from "react/jsx-runtime";
12034
+ import { jsx as jsx278, jsxs as jsxs69 } from "react/jsx-runtime";
11982
12035
  var Checkbox = forwardRef86(
11983
12036
  (props, ref) => {
11984
12037
  const {
@@ -12018,7 +12071,7 @@ var Checkbox = forwardRef86(
12018
12071
  className: cn(className, htmlPropsClassName),
12019
12072
  style,
12020
12073
  children: [
12021
- /* @__PURE__ */ jsx277(
12074
+ /* @__PURE__ */ jsx278(
12022
12075
  "input",
12023
12076
  {
12024
12077
  ...getBaseHTMLProps(uniqueId, restHtmlProps, rest),
@@ -12048,14 +12101,14 @@ var Checkbox = forwardRef86(
12048
12101
  onClick: readOnlyClickHandler(isReadOnly, htmlProps.onClick)
12049
12102
  }
12050
12103
  ),
12051
- /* @__PURE__ */ jsx277(
12104
+ /* @__PURE__ */ jsx278(
12052
12105
  SelectionControl,
12053
12106
  {
12054
12107
  controlType: "checkbox",
12055
12108
  className: focus_default["focus-styled-sibling"]
12056
12109
  }
12057
12110
  ),
12058
- hasLabel && /* @__PURE__ */ jsx277(Typography, { ...selectionControlTypographyProps, children: label })
12111
+ hasLabel && /* @__PURE__ */ jsx278(Typography, { ...selectionControlTypographyProps, children: label })
12059
12112
  ]
12060
12113
  }
12061
12114
  );
@@ -12065,7 +12118,7 @@ Checkbox.displayName = "Checkbox";
12065
12118
 
12066
12119
  // src/components/SelectionControl/Checkbox/CheckboxGroup.tsx
12067
12120
  import { useId as useId22 } from "react";
12068
- import { jsx as jsx278, jsxs as jsxs70 } from "react/jsx-runtime";
12121
+ import { jsx as jsx279, jsxs as jsxs70 } from "react/jsx-runtime";
12069
12122
  var CheckboxGroup = (props) => {
12070
12123
  const {
12071
12124
  label,
@@ -12107,7 +12160,7 @@ var CheckboxGroup = (props) => {
12107
12160
  rest
12108
12161
  ),
12109
12162
  children: [
12110
- /* @__PURE__ */ jsxs70(
12163
+ label !== void 0 ? /* @__PURE__ */ jsxs70(
12111
12164
  Typography,
12112
12165
  {
12113
12166
  as: "span",
@@ -12115,15 +12168,15 @@ var CheckboxGroup = (props) => {
12115
12168
  id: uniqueGroupId,
12116
12169
  className: readOnly ? Label_default["read-only"] : void 0,
12117
12170
  children: [
12118
- readOnly && /* @__PURE__ */ jsx278(Icon, { icon: LockIcon, className: Label_default["read-only__icon"] }),
12171
+ readOnly && /* @__PURE__ */ jsx279(Icon, { icon: LockIcon, className: Label_default["read-only__icon"] }),
12119
12172
  label,
12120
12173
  " ",
12121
- showRequiredMarker && /* @__PURE__ */ jsx278(RequiredMarker, {})
12174
+ showRequiredMarker && /* @__PURE__ */ jsx279(RequiredMarker, {})
12122
12175
  ]
12123
12176
  }
12124
- ),
12177
+ ) : null,
12125
12178
  renderInputMessage(tip, tipId),
12126
- /* @__PURE__ */ jsx278(CheckboxGroupContext.Provider, { value: { ...contextProps }, children: /* @__PURE__ */ jsx278(
12179
+ /* @__PURE__ */ jsx279(CheckboxGroupContext.Provider, { value: { ...contextProps }, children: /* @__PURE__ */ jsx279(
12127
12180
  "div",
12128
12181
  {
12129
12182
  role: "group",
@@ -12144,14 +12197,14 @@ CheckboxGroup.displayName = "CheckboxGroup";
12144
12197
  import { forwardRef as forwardRef87, useId as useId23 } from "react";
12145
12198
 
12146
12199
  // src/components/SelectionControl/RadioButton/RadioButtonGroupContext.tsx
12147
- import { createContext as createContext7, useContext as useContext10 } from "react";
12200
+ import { createContext as createContext7, useContext as useContext11 } from "react";
12148
12201
  var RadioButtonGroupContext = createContext7(null);
12149
12202
  var useRadioButtonGroup = () => {
12150
- return useContext10(RadioButtonGroupContext);
12203
+ return useContext11(RadioButtonGroupContext);
12151
12204
  };
12152
12205
 
12153
12206
  // src/components/SelectionControl/RadioButton/RadioButton.tsx
12154
- import { jsx as jsx279, jsxs as jsxs71 } from "react/jsx-runtime";
12207
+ import { jsx as jsx280, jsxs as jsxs71 } from "react/jsx-runtime";
12155
12208
  var isValueEqualToGroupValueOrFalsy = (value, group) => {
12156
12209
  if (typeof value !== "undefined" && value !== null && group) {
12157
12210
  if (typeof value === "number") {
@@ -12212,7 +12265,7 @@ var RadioButton = forwardRef87(
12212
12265
  htmlFor: uniqueId,
12213
12266
  controlType: "radio",
12214
12267
  children: [
12215
- /* @__PURE__ */ jsx279(
12268
+ /* @__PURE__ */ jsx280(
12216
12269
  "input",
12217
12270
  {
12218
12271
  ...getBaseHTMLProps(uniqueId, restHtmlProps, rest),
@@ -12238,14 +12291,14 @@ var RadioButton = forwardRef87(
12238
12291
  onClick: readOnlyClickHandler(isReadOnly, htmlProps.onClick)
12239
12292
  }
12240
12293
  ),
12241
- /* @__PURE__ */ jsx279(
12294
+ /* @__PURE__ */ jsx280(
12242
12295
  SelectionControl,
12243
12296
  {
12244
12297
  controlType: "radio",
12245
12298
  className: focus_default["focus-styled-sibling"]
12246
12299
  }
12247
12300
  ),
12248
- /* @__PURE__ */ jsx279(Typography, { ...selectionControlTypographyProps, children: children != null ? children : label })
12301
+ /* @__PURE__ */ jsx280(Typography, { ...selectionControlTypographyProps, children: children != null ? children : label })
12249
12302
  ]
12250
12303
  }
12251
12304
  );
@@ -12259,7 +12312,7 @@ import {
12259
12312
  useId as useId24,
12260
12313
  useState as useState24
12261
12314
  } from "react";
12262
- import { jsx as jsx280, jsxs as jsxs72 } from "react/jsx-runtime";
12315
+ import { jsx as jsx281, jsxs as jsxs72 } from "react/jsx-runtime";
12263
12316
  var RadioButtonGroupInner = (props, ref) => {
12264
12317
  const {
12265
12318
  name,
@@ -12320,15 +12373,15 @@ var RadioButtonGroupInner = (props, ref) => {
12320
12373
  id: uniqueGroupId,
12321
12374
  className: readOnly ? Label_default["read-only"] : void 0,
12322
12375
  children: [
12323
- readOnly && /* @__PURE__ */ jsx280(Icon, { icon: LockIcon, className: Label_default["read-only__icon"] }),
12376
+ readOnly && /* @__PURE__ */ jsx281(Icon, { icon: LockIcon, className: Label_default["read-only__icon"] }),
12324
12377
  label,
12325
12378
  " ",
12326
- showRequiredMarker && /* @__PURE__ */ jsx280(RequiredMarker, {})
12379
+ showRequiredMarker && /* @__PURE__ */ jsx281(RequiredMarker, {})
12327
12380
  ]
12328
12381
  }
12329
12382
  ),
12330
12383
  renderInputMessage(tip, tipId),
12331
- /* @__PURE__ */ jsx280(RadioButtonGroupContext.Provider, { value: { ...contextProps }, children: /* @__PURE__ */ jsx280(
12384
+ /* @__PURE__ */ jsx281(RadioButtonGroupContext.Provider, { value: { ...contextProps }, children: /* @__PURE__ */ jsx281(
12332
12385
  "div",
12333
12386
  {
12334
12387
  role: "radiogroup",
@@ -12357,7 +12410,7 @@ var Skeleton_default = {
12357
12410
  };
12358
12411
 
12359
12412
  // src/components/Skeleton/Skeleton.tsx
12360
- import { jsx as jsx281 } from "react/jsx-runtime";
12413
+ import { jsx as jsx282 } from "react/jsx-runtime";
12361
12414
  var Skeleton = forwardRef89(
12362
12415
  (props, ref) => {
12363
12416
  const {
@@ -12368,7 +12421,7 @@ var Skeleton = forwardRef89(
12368
12421
  style,
12369
12422
  ...rest
12370
12423
  } = props;
12371
- return /* @__PURE__ */ jsx281(
12424
+ return /* @__PURE__ */ jsx282(
12372
12425
  "div",
12373
12426
  {
12374
12427
  ref,
@@ -12390,7 +12443,7 @@ var SkipToContent_default = {
12390
12443
  };
12391
12444
 
12392
12445
  // src/components/SkipToContent/SkipToContent.tsx
12393
- import { jsx as jsx282 } from "react/jsx-runtime";
12446
+ import { jsx as jsx283 } from "react/jsx-runtime";
12394
12447
  var SkipToContent = forwardRef90(
12395
12448
  (props, ref) => {
12396
12449
  const {
@@ -12406,12 +12459,12 @@ var SkipToContent = forwardRef90(
12406
12459
  style,
12407
12460
  ...restHtmlProps
12408
12461
  } = htmlProps;
12409
- return /* @__PURE__ */ jsx282(
12462
+ return /* @__PURE__ */ jsx283(
12410
12463
  Contrast,
12411
12464
  {
12412
12465
  className: cn(className, htmlPropsClassName, SkipToContent_default.wrapper),
12413
12466
  style: { ...style, top },
12414
- children: /* @__PURE__ */ jsx282(Link, { ...getBaseHTMLProps(id, restHtmlProps, rest), ref, children: text })
12467
+ children: /* @__PURE__ */ jsx283(Link, { ...getBaseHTMLProps(id, restHtmlProps, rest), ref, children: text })
12415
12468
  }
12416
12469
  );
12417
12470
  }
@@ -12430,7 +12483,7 @@ var SplitButton_default = {
12430
12483
  };
12431
12484
 
12432
12485
  // src/components/SplitButton/SplitButton.tsx
12433
- import { jsx as jsx283, jsxs as jsxs73 } from "react/jsx-runtime";
12486
+ import { jsx as jsx284, jsxs as jsxs73 } from "react/jsx-runtime";
12434
12487
  var SplitButton = forwardRef91(
12435
12488
  (props, ref) => {
12436
12489
  const {
@@ -12447,7 +12500,7 @@ var SplitButton = forwardRef91(
12447
12500
  size: size2
12448
12501
  };
12449
12502
  return /* @__PURE__ */ jsxs73("div", { ref, className: cn(className, SplitButton_default.container), ...rest, children: [
12450
- /* @__PURE__ */ jsx283(
12503
+ /* @__PURE__ */ jsx284(
12451
12504
  Button,
12452
12505
  {
12453
12506
  ...buttonStyleProps,
@@ -12457,7 +12510,7 @@ var SplitButton = forwardRef91(
12457
12510
  }
12458
12511
  ),
12459
12512
  /* @__PURE__ */ jsxs73(OverflowMenuGroup, { onToggle: () => setIsOpen(!isOpen), children: [
12460
- /* @__PURE__ */ jsx283(
12513
+ /* @__PURE__ */ jsx284(
12461
12514
  Button,
12462
12515
  {
12463
12516
  ...buttonStyleProps,
@@ -12470,7 +12523,7 @@ var SplitButton = forwardRef91(
12470
12523
  )
12471
12524
  }
12472
12525
  ),
12473
- /* @__PURE__ */ jsx283(OverflowMenu, { placement: "bottom-end", children: /* @__PURE__ */ jsx283(OverflowMenuList, { children: secondaryActions.map((item, index) => /* @__PURE__ */ jsx283(OverflowMenuButton, { ...item, children: item.children }, index)) }) })
12526
+ /* @__PURE__ */ jsx284(OverflowMenu, { placement: "bottom-end", children: /* @__PURE__ */ jsx284(OverflowMenuList, { children: secondaryActions.map((item, index) => /* @__PURE__ */ jsx284(OverflowMenuButton, { ...item, children: item.children }, index)) }) })
12474
12527
  ] })
12475
12528
  ] });
12476
12529
  }
@@ -12489,19 +12542,19 @@ import {
12489
12542
  } from "react";
12490
12543
 
12491
12544
  // src/components/Table/collapsible/Table.context.tsx
12492
- import { createContext as createContext8, useContext as useContext11 } from "react";
12545
+ import { createContext as createContext8, useContext as useContext12 } from "react";
12493
12546
  var CollapsibleTableContext = createContext8({
12494
12547
  headerValues: [],
12495
12548
  definingColumnIndex: [0]
12496
12549
  });
12497
- var useCollapsibleTableContext = () => useContext11(CollapsibleTableContext);
12550
+ var useCollapsibleTableContext = () => useContext12(CollapsibleTableContext);
12498
12551
 
12499
12552
  // src/components/Table/normal/Body.tsx
12500
12553
  import { forwardRef as forwardRef92 } from "react";
12501
- import { jsx as jsx284 } from "react/jsx-runtime";
12554
+ import { jsx as jsx285 } from "react/jsx-runtime";
12502
12555
  var Body = forwardRef92(
12503
12556
  (props, ref) => {
12504
- return /* @__PURE__ */ jsx284("tbody", { ref, ...props });
12557
+ return /* @__PURE__ */ jsx285("tbody", { ref, ...props });
12505
12558
  }
12506
12559
  );
12507
12560
  Body.displayName = "Table.Body";
@@ -12515,18 +12568,18 @@ import {
12515
12568
  import {
12516
12569
  createContext as createContext9,
12517
12570
  forwardRef as forwardRef93,
12518
- useContext as useContext12
12571
+ useContext as useContext13
12519
12572
  } from "react";
12520
- import { jsx as jsx285 } from "react/jsx-runtime";
12573
+ import { jsx as jsx286 } from "react/jsx-runtime";
12521
12574
  var Head = forwardRef93(
12522
12575
  ({ children, ...rest }, ref) => {
12523
- return /* @__PURE__ */ jsx285("thead", { ref, ...rest, children: /* @__PURE__ */ jsx285(HeadContext.Provider, { value: true, children }) });
12576
+ return /* @__PURE__ */ jsx286("thead", { ref, ...rest, children: /* @__PURE__ */ jsx286(HeadContext.Provider, { value: true, children }) });
12524
12577
  }
12525
12578
  );
12526
12579
  Head.displayName = "Table.Head";
12527
12580
  var HeadContext = createContext9(false);
12528
12581
  function useIsInTableHead() {
12529
- const isInTableHead = useContext12(HeadContext);
12582
+ const isInTableHead = useContext13(HeadContext);
12530
12583
  return isInTableHead;
12531
12584
  }
12532
12585
 
@@ -12556,7 +12609,7 @@ var Table_default = {
12556
12609
  };
12557
12610
 
12558
12611
  // src/components/Table/normal/Cell.tsx
12559
- import { jsx as jsx286 } from "react/jsx-runtime";
12612
+ import { jsx as jsx287 } from "react/jsx-runtime";
12560
12613
  var Cell = forwardRef94(
12561
12614
  ({
12562
12615
  children,
@@ -12570,7 +12623,7 @@ var Cell = forwardRef94(
12570
12623
  const type = _type != null ? _type : isInHead ? "head" : "data";
12571
12624
  const { isCollapsibleChild } = collapsibleProps != null ? collapsibleProps : {};
12572
12625
  const isComplexLayout = layout === "text and icon";
12573
- return isCollapsibleChild ? /* @__PURE__ */ jsx286(DescriptionListDesc, { children }) : type === "head" ? /* @__PURE__ */ jsx286(
12626
+ return isCollapsibleChild ? /* @__PURE__ */ jsx287(DescriptionListDesc, { children }) : type === "head" ? /* @__PURE__ */ jsx287(
12574
12627
  "th",
12575
12628
  {
12576
12629
  ref,
@@ -12580,15 +12633,15 @@ var Cell = forwardRef94(
12580
12633
  !isComplexLayout && Table_default[`cell--${layout}`],
12581
12634
  Table_default["cell--head"]
12582
12635
  ),
12583
- children: isComplexLayout ? /* @__PURE__ */ jsx286("div", { className: Table_default.cell__inner, children }) : children
12636
+ children: isComplexLayout ? /* @__PURE__ */ jsx287("div", { className: Table_default.cell__inner, children }) : children
12584
12637
  }
12585
- ) : /* @__PURE__ */ jsx286(
12638
+ ) : /* @__PURE__ */ jsx287(
12586
12639
  "td",
12587
12640
  {
12588
12641
  ref,
12589
12642
  ...rest,
12590
12643
  className: cn(className, !isComplexLayout && Table_default[`cell--${layout}`]),
12591
- children: isComplexLayout ? /* @__PURE__ */ jsx286("div", { className: Table_default.cell__inner, children }) : children
12644
+ children: isComplexLayout ? /* @__PURE__ */ jsx287("div", { className: Table_default.cell__inner, children }) : children
12592
12645
  }
12593
12646
  );
12594
12647
  }
@@ -12597,22 +12650,22 @@ Cell.displayName = "Table.Cell";
12597
12650
 
12598
12651
  // src/components/Table/normal/Foot.tsx
12599
12652
  import { forwardRef as forwardRef95 } from "react";
12600
- import { jsx as jsx287 } from "react/jsx-runtime";
12653
+ import { jsx as jsx288 } from "react/jsx-runtime";
12601
12654
  var Foot = forwardRef95(
12602
12655
  (props, ref) => {
12603
- return /* @__PURE__ */ jsx287("tfoot", { ref, ...props });
12656
+ return /* @__PURE__ */ jsx288("tfoot", { ref, ...props });
12604
12657
  }
12605
12658
  );
12606
12659
  Foot.displayName = "Table.Foot";
12607
12660
 
12608
12661
  // src/components/Table/normal/Row.tsx
12609
12662
  import { forwardRef as forwardRef96 } from "react";
12610
- import { jsx as jsx288 } from "react/jsx-runtime";
12663
+ import { jsx as jsx289 } from "react/jsx-runtime";
12611
12664
  var Row = forwardRef96(
12612
12665
  ({ type: _type, mode = "normal", hoverable, selected, className, ...rest }, ref) => {
12613
12666
  const isInHeader = useIsInTableHead();
12614
12667
  const type = _type != null ? _type : isInHeader ? "head" : "body";
12615
- return /* @__PURE__ */ jsx288(
12668
+ return /* @__PURE__ */ jsx289(
12616
12669
  "tr",
12617
12670
  {
12618
12671
  ref,
@@ -12636,15 +12689,15 @@ Row.displayName = "Table.Row";
12636
12689
 
12637
12690
  // src/components/Table/normal/SortCell.tsx
12638
12691
  import { forwardRef as forwardRef97 } from "react";
12639
- import { jsx as jsx289, jsxs as jsxs74 } from "react/jsx-runtime";
12692
+ import { jsx as jsx290, jsxs as jsxs74 } from "react/jsx-runtime";
12640
12693
  var makeSortIcon = (isSorted, sortOrder) => {
12641
12694
  if (!isSorted || !sortOrder) {
12642
- return /* @__PURE__ */ jsx289(Icon, { icon: UnfoldMoreIcon, iconSize: "inherit" });
12695
+ return /* @__PURE__ */ jsx290(Icon, { icon: UnfoldMoreIcon, iconSize: "inherit" });
12643
12696
  }
12644
- return sortOrder === "ascending" ? /* @__PURE__ */ jsx289(Icon, { icon: ChevronDownIcon, iconSize: "inherit" }) : /* @__PURE__ */ jsx289(Icon, { icon: ChevronUpIcon, iconSize: "inherit" });
12697
+ return sortOrder === "ascending" ? /* @__PURE__ */ jsx290(Icon, { icon: ChevronDownIcon, iconSize: "inherit" }) : /* @__PURE__ */ jsx290(Icon, { icon: ChevronUpIcon, iconSize: "inherit" });
12645
12698
  };
12646
12699
  var SortCell = forwardRef97(
12647
- ({ isSorted, sortOrder, onClick, children, ...rest }, ref) => /* @__PURE__ */ jsx289(
12700
+ ({ isSorted, sortOrder, onClick, children, ...rest }, ref) => /* @__PURE__ */ jsx290(
12648
12701
  Cell,
12649
12702
  {
12650
12703
  ref,
@@ -12676,7 +12729,7 @@ SortCell.displayName = "Table.SortCell";
12676
12729
 
12677
12730
  // src/components/Table/normal/Table.tsx
12678
12731
  import { forwardRef as forwardRef98 } from "react";
12679
- import { jsx as jsx290 } from "react/jsx-runtime";
12732
+ import { jsx as jsx291 } from "react/jsx-runtime";
12680
12733
  function getDensityCn2(value) {
12681
12734
  switch (value) {
12682
12735
  case "normal":
@@ -12695,7 +12748,7 @@ var Table = forwardRef98(
12695
12748
  children,
12696
12749
  ...rest
12697
12750
  }, ref) => {
12698
- return /* @__PURE__ */ jsx290(
12751
+ return /* @__PURE__ */ jsx291(
12699
12752
  "table",
12700
12753
  {
12701
12754
  ref,
@@ -12717,7 +12770,7 @@ Table.displayName = "Table";
12717
12770
 
12718
12771
  // src/components/Table/normal/TableWrapper.tsx
12719
12772
  import { useEffect as useEffect27, useRef as useRef33, useState as useState26 } from "react";
12720
- import { jsx as jsx291 } from "react/jsx-runtime";
12773
+ import { jsx as jsx292 } from "react/jsx-runtime";
12721
12774
  var TableWrapper = ({ className, ...rest }) => {
12722
12775
  const [overflowX, setOverflowX] = useState26(false);
12723
12776
  const [windowWidth, setWindowWidth] = useState26(window.innerWidth);
@@ -12739,7 +12792,7 @@ var TableWrapper = ({ className, ...rest }) => {
12739
12792
  window.addEventListener("resize", handleResize);
12740
12793
  return () => window.removeEventListener("resize", handleResize);
12741
12794
  });
12742
- return /* @__PURE__ */ jsx291(
12795
+ return /* @__PURE__ */ jsx292(
12743
12796
  "div",
12744
12797
  {
12745
12798
  ref: wrapperRef,
@@ -12766,7 +12819,7 @@ Table2.Row = Row;
12766
12819
  Table2.Foot = Foot;
12767
12820
 
12768
12821
  // src/components/Table/collapsible/CollapsibleRow.tsx
12769
- import { Fragment as Fragment14, jsx as jsx292, jsxs as jsxs75 } from "react/jsx-runtime";
12822
+ import { Fragment as Fragment14, jsx as jsx293, jsxs as jsxs75 } from "react/jsx-runtime";
12770
12823
  var CollapsibleRow = forwardRef99(
12771
12824
  ({
12772
12825
  type: _type,
@@ -12809,23 +12862,23 @@ var CollapsibleRow = forwardRef99(
12809
12862
  const id = derivativeIdGenerator(prefix3, index.toString());
12810
12863
  collapsibleIds.push(id);
12811
12864
  return /* @__PURE__ */ jsxs75(Fragment13, { children: [
12812
- /* @__PURE__ */ jsx292(DescriptionListTerm, { children: collapsedHeaderValues[index].content }),
12865
+ /* @__PURE__ */ jsx293(DescriptionListTerm, { children: collapsedHeaderValues[index].content }),
12813
12866
  isValidElement9(child) && cloneElement8(child, {
12814
12867
  collapsibleProps: { isCollapsibleChild: true }
12815
12868
  })
12816
12869
  ] }, `DL-${index}`);
12817
12870
  }) : null;
12818
- const collapsedRows = collapsedRenderedChildren && collapsedRenderedChildren.length > 0 ? /* @__PURE__ */ jsx292(Row, { ...rowProps(), children: /* @__PURE__ */ jsx292(Cell, { colSpan: definingColumnIndex.length + 1, children: /* @__PURE__ */ jsx292(DescriptionList, { children: collapsedRenderedChildren }) }) }) : null;
12871
+ const collapsedRows = collapsedRenderedChildren && collapsedRenderedChildren.length > 0 ? /* @__PURE__ */ jsx293(Row, { ...rowProps(), children: /* @__PURE__ */ jsx293(Cell, { colSpan: definingColumnIndex.length + 1, children: /* @__PURE__ */ jsx293(DescriptionList, { children: collapsedRenderedChildren }) }) }) : null;
12819
12872
  const definingColumnCells = childrenArray.slice().filter((column2, index) => definingColumnIndex.indexOf(index) > -1).sort((a2, b) => {
12820
12873
  return definingColumnIndex.indexOf(childrenArray.indexOf(a2)) - definingColumnIndex.indexOf(childrenArray.indexOf(b));
12821
12874
  });
12822
12875
  const headerRow = () => {
12823
12876
  if (type !== "head" || !isCollapsed) return null;
12824
- return /* @__PURE__ */ jsx292(Row, { ref, ...rowProps(), children: /* @__PURE__ */ jsxs75(Fragment14, { children: [
12877
+ return /* @__PURE__ */ jsx293(Row, { ref, ...rowProps(), children: /* @__PURE__ */ jsxs75(Fragment14, { children: [
12825
12878
  definingColumnCells,
12826
12879
  /* @__PURE__ */ jsxs75(Table2.Cell, { type: "head", layout: "center", children: [
12827
12880
  "Utvid",
12828
- /* @__PURE__ */ jsx292(VisuallyHidden, { as: "span", children: "raden" })
12881
+ /* @__PURE__ */ jsx293(VisuallyHidden, { as: "span", children: "raden" })
12829
12882
  ] })
12830
12883
  ] }) });
12831
12884
  };
@@ -12834,7 +12887,7 @@ var CollapsibleRow = forwardRef99(
12834
12887
  if (type !== "body" || !isCollapsed) return null;
12835
12888
  return /* @__PURE__ */ jsxs75(Row, { ref, ...rowProps(!childrenCollapsed && true), children: [
12836
12889
  definingColumnCells,
12837
- /* @__PURE__ */ jsx292(Table2.Cell, { children: /* @__PURE__ */ jsx292(
12890
+ /* @__PURE__ */ jsx293(Table2.Cell, { children: /* @__PURE__ */ jsx293(
12838
12891
  "button",
12839
12892
  {
12840
12893
  onClick: () => setChildrenCollapsed(!childrenCollapsed),
@@ -12846,7 +12899,7 @@ var CollapsibleRow = forwardRef99(
12846
12899
  utilStyles_default["remove-button-styling"],
12847
12900
  focusable
12848
12901
  ),
12849
- children: /* @__PURE__ */ jsx292(
12902
+ children: /* @__PURE__ */ jsx293(
12850
12903
  AnimatedChevronUpDown,
12851
12904
  {
12852
12905
  isUp: childrenCollapsed ? false : true,
@@ -12864,14 +12917,14 @@ var CollapsibleRow = forwardRef99(
12864
12917
  rowWithChevron(),
12865
12918
  childrenCollapsed ? null : collapsedRows
12866
12919
  ] })
12867
- ] }) : /* @__PURE__ */ jsx292(Row, { ref, ...rowProps(), children });
12920
+ ] }) : /* @__PURE__ */ jsx293(Row, { ref, ...rowProps(), children });
12868
12921
  }
12869
12922
  );
12870
12923
  CollapsibleRow.displayName = "CollapsibleTable.Row";
12871
12924
 
12872
12925
  // src/components/Table/collapsible/CollapsibleTable.tsx
12873
12926
  import { forwardRef as forwardRef100 } from "react";
12874
- import { jsx as jsx293 } from "react/jsx-runtime";
12927
+ import { jsx as jsx294 } from "react/jsx-runtime";
12875
12928
  var CollapsibleTable = forwardRef100((props, ref) => {
12876
12929
  const {
12877
12930
  isCollapsed,
@@ -12879,7 +12932,7 @@ var CollapsibleTable = forwardRef100((props, ref) => {
12879
12932
  definingColumnIndex = [0],
12880
12933
  ...rest
12881
12934
  } = props;
12882
- return /* @__PURE__ */ jsx293(
12935
+ return /* @__PURE__ */ jsx294(
12883
12936
  CollapsibleTableContext.Provider,
12884
12937
  {
12885
12938
  value: {
@@ -12887,7 +12940,7 @@ var CollapsibleTable = forwardRef100((props, ref) => {
12887
12940
  headerValues,
12888
12941
  definingColumnIndex
12889
12942
  },
12890
- children: /* @__PURE__ */ jsx293(Table2, { ref, ...rest })
12943
+ children: /* @__PURE__ */ jsx294(Table2, { ref, ...rest })
12891
12944
  }
12892
12945
  );
12893
12946
  });
@@ -12907,7 +12960,7 @@ import {
12907
12960
  } from "react";
12908
12961
 
12909
12962
  // src/components/Tabs/Tabs.context.tsx
12910
- import { createContext as createContext10, useContext as useContext13 } from "react";
12963
+ import { createContext as createContext10, useContext as useContext14 } from "react";
12911
12964
  var TabsContext = createContext10({
12912
12965
  activeTab: 0,
12913
12966
  tabsId: "",
@@ -12918,7 +12971,7 @@ var TabsContext = createContext10({
12918
12971
  setHasTabFocus: () => null,
12919
12972
  tabContentDirection: "row"
12920
12973
  });
12921
- var useTabsContext = () => useContext13(TabsContext);
12974
+ var useTabsContext = () => useContext14(TabsContext);
12922
12975
 
12923
12976
  // src/components/Tabs/Tabs.module.css
12924
12977
  var Tabs_default = {
@@ -12934,7 +12987,7 @@ var Tabs_default = {
12934
12987
  };
12935
12988
 
12936
12989
  // src/components/Tabs/Tabs.tsx
12937
- import { jsx as jsx294 } from "react/jsx-runtime";
12990
+ import { jsx as jsx295 } from "react/jsx-runtime";
12938
12991
  var Tabs = forwardRef101((props, ref) => {
12939
12992
  const {
12940
12993
  id,
@@ -12966,7 +13019,7 @@ var Tabs = forwardRef101((props, ref) => {
12966
13019
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
12967
13020
  ["--dds-tabs-width"]: width
12968
13021
  };
12969
- return /* @__PURE__ */ jsx294(
13022
+ return /* @__PURE__ */ jsx295(
12970
13023
  TabsContext.Provider,
12971
13024
  {
12972
13025
  value: {
@@ -12979,7 +13032,7 @@ var Tabs = forwardRef101((props, ref) => {
12979
13032
  setHasTabFocus,
12980
13033
  tabContentDirection
12981
13034
  },
12982
- children: /* @__PURE__ */ jsx294(
13035
+ children: /* @__PURE__ */ jsx295(
12983
13036
  "div",
12984
13037
  {
12985
13038
  ref,
@@ -13009,16 +13062,16 @@ import {
13009
13062
  // src/components/Tabs/TabWidthContext.tsx
13010
13063
  import {
13011
13064
  createContext as createContext11,
13012
- useContext as useContext14,
13065
+ useContext as useContext15,
13013
13066
  useLayoutEffect as useLayoutEffect3
13014
13067
  } from "react";
13015
- import { jsx as jsx295 } from "react/jsx-runtime";
13068
+ import { jsx as jsx296 } from "react/jsx-runtime";
13016
13069
  var TabContext = createContext11(null);
13017
13070
  function TabWidthContextProvider({
13018
13071
  children,
13019
13072
  onChangeWidths
13020
13073
  }) {
13021
- return /* @__PURE__ */ jsx295(
13074
+ return /* @__PURE__ */ jsx296(
13022
13075
  TabContext.Provider,
13023
13076
  {
13024
13077
  value: {
@@ -13042,7 +13095,7 @@ function TabWidthContextProvider({
13042
13095
  );
13043
13096
  }
13044
13097
  function useSetTabWidth(index, width) {
13045
- const context = useContext14(TabContext);
13098
+ const context = useContext15(TabContext);
13046
13099
  useLayoutEffect3(() => {
13047
13100
  context == null ? void 0 : context.updateWidth(index, width);
13048
13101
  return () => context == null ? void 0 : context.removeTab(index);
@@ -13050,7 +13103,7 @@ function useSetTabWidth(index, width) {
13050
13103
  }
13051
13104
 
13052
13105
  // src/components/Tabs/Tab.tsx
13053
- import { jsx as jsx296, jsxs as jsxs76 } from "react/jsx-runtime";
13106
+ import { jsx as jsx297, jsxs as jsxs76 } from "react/jsx-runtime";
13054
13107
  var Tab = forwardRef102((props, ref) => {
13055
13108
  const {
13056
13109
  active = false,
@@ -13113,8 +13166,8 @@ var Tab = forwardRef102((props, ref) => {
13113
13166
  onKeyDown: handleOnKeyDown,
13114
13167
  tabIndex: focus ? 0 : -1,
13115
13168
  children: [
13116
- icon && /* @__PURE__ */ jsx296(Icon, { icon, iconSize: "inherit" }),
13117
- /* @__PURE__ */ jsx296("span", { children })
13169
+ icon && /* @__PURE__ */ jsx297(Icon, { icon, iconSize: "inherit" }),
13170
+ /* @__PURE__ */ jsx297("span", { children })
13118
13171
  ]
13119
13172
  }
13120
13173
  );
@@ -13129,7 +13182,7 @@ import {
13129
13182
  isValidElement as isValidElement10,
13130
13183
  useState as useState29
13131
13184
  } from "react";
13132
- import { jsx as jsx297 } from "react/jsx-runtime";
13185
+ import { jsx as jsx298 } from "react/jsx-runtime";
13133
13186
  var TabList = forwardRef103(
13134
13187
  ({ children, id, style, onFocus, ...rest }, ref) => {
13135
13188
  const {
@@ -13173,7 +13226,7 @@ var TabList = forwardRef103(
13173
13226
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
13174
13227
  ["--dds-tab-widths"]: widths.join(" ")
13175
13228
  };
13176
- return /* @__PURE__ */ jsx297(TabWidthContextProvider, { onChangeWidths: setWidths, children: /* @__PURE__ */ jsx297(
13229
+ return /* @__PURE__ */ jsx298(TabWidthContextProvider, { onChangeWidths: setWidths, children: /* @__PURE__ */ jsx298(
13177
13230
  "div",
13178
13231
  {
13179
13232
  ...rest,
@@ -13200,10 +13253,10 @@ TabList.displayName = "TabList";
13200
13253
 
13201
13254
  // src/components/Tabs/TabPanel.tsx
13202
13255
  import { forwardRef as forwardRef104 } from "react";
13203
- import { jsx as jsx298 } from "react/jsx-runtime";
13256
+ import { jsx as jsx299 } from "react/jsx-runtime";
13204
13257
  var TabPanel = forwardRef104(
13205
13258
  ({ active = false, children, id, className, htmlProps, ...rest }, ref) => {
13206
- return /* @__PURE__ */ jsx298(
13259
+ return /* @__PURE__ */ jsx299(
13207
13260
  "div",
13208
13261
  {
13209
13262
  ...getBaseHTMLProps(
@@ -13230,7 +13283,7 @@ import {
13230
13283
  forwardRef as forwardRef105,
13231
13284
  isValidElement as isValidElement11
13232
13285
  } from "react";
13233
- import { jsx as jsx299 } from "react/jsx-runtime";
13286
+ import { jsx as jsx300 } from "react/jsx-runtime";
13234
13287
  var TabPanels = forwardRef105(
13235
13288
  ({ children, ...rest }, ref) => {
13236
13289
  const { activeTab, tabsId, tabPanelsRef } = useTabsContext();
@@ -13244,7 +13297,7 @@ var TabPanels = forwardRef105(
13244
13297
  "aria-expanded": active
13245
13298
  });
13246
13299
  });
13247
- return /* @__PURE__ */ jsx299("div", { ref: combinedRef, ...rest, children: panelChildren });
13300
+ return /* @__PURE__ */ jsx300("div", { ref: combinedRef, ...rest, children: panelChildren });
13248
13301
  }
13249
13302
  );
13250
13303
  TabPanels.displayName = "TabPanels";
@@ -13269,7 +13322,7 @@ var Tag_default = {
13269
13322
  };
13270
13323
 
13271
13324
  // src/components/Tag/Tag.tsx
13272
- import { jsx as jsx300, jsxs as jsxs77 } from "react/jsx-runtime";
13325
+ import { jsx as jsx301, jsxs as jsxs77 } from "react/jsx-runtime";
13273
13326
  var icons3 = {
13274
13327
  info: InfoIcon,
13275
13328
  danger: ErrorIcon,
@@ -13307,8 +13360,8 @@ var Tag = forwardRef106((props, ref) => {
13307
13360
  ),
13308
13361
  ref,
13309
13362
  children: [
13310
- withIcon && icon && /* @__PURE__ */ jsx300(Icon, { icon, iconSize: "small" }),
13311
- /* @__PURE__ */ jsx300(TextOverflowEllipsisInner, { children: children != null ? children : text })
13363
+ withIcon && icon && /* @__PURE__ */ jsx301(Icon, { icon, iconSize: "small" }),
13364
+ /* @__PURE__ */ jsx301(TextOverflowEllipsisInner, { children: children != null ? children : text })
13312
13365
  ]
13313
13366
  }
13314
13367
  );
@@ -13349,7 +13402,7 @@ var TextInput_default = {
13349
13402
  };
13350
13403
 
13351
13404
  // src/components/TextInput/TextInput.tsx
13352
- import { jsx as jsx301, jsxs as jsxs78 } from "react/jsx-runtime";
13405
+ import { jsx as jsx302, jsxs as jsxs78 } from "react/jsx-runtime";
13353
13406
  var TextInput = forwardRef107(
13354
13407
  ({
13355
13408
  label,
@@ -13445,7 +13498,7 @@ var TextInput = forwardRef107(
13445
13498
  className: cn(TextInput_default["input-width"], Input_default["input-group"]),
13446
13499
  style: styleVariables,
13447
13500
  children: [
13448
- /* @__PURE__ */ jsx301(
13501
+ /* @__PURE__ */ jsx302(
13449
13502
  Icon,
13450
13503
  {
13451
13504
  icon,
@@ -13456,7 +13509,7 @@ var TextInput = forwardRef107(
13456
13509
  )
13457
13510
  }
13458
13511
  ),
13459
- /* @__PURE__ */ jsx301(
13512
+ /* @__PURE__ */ jsx302(
13460
13513
  StatefulInput,
13461
13514
  {
13462
13515
  ref,
@@ -13481,7 +13534,7 @@ var TextInput = forwardRef107(
13481
13534
  className: cn(TextInput_default["affix-container"], TextInput_default["input-width"]),
13482
13535
  style: styleVariables,
13483
13536
  children: [
13484
- prefix3 && /* @__PURE__ */ jsx301(
13537
+ prefix3 && /* @__PURE__ */ jsx302(
13485
13538
  "span",
13486
13539
  {
13487
13540
  ref: prefixRef,
@@ -13494,7 +13547,7 @@ var TextInput = forwardRef107(
13494
13547
  children: prefix3
13495
13548
  }
13496
13549
  ),
13497
- /* @__PURE__ */ jsx301(
13550
+ /* @__PURE__ */ jsx302(
13498
13551
  StatefulInput,
13499
13552
  {
13500
13553
  ref,
@@ -13509,7 +13562,7 @@ var TextInput = forwardRef107(
13509
13562
  className: TextInput_default["input--extended"]
13510
13563
  }
13511
13564
  ),
13512
- suffix && /* @__PURE__ */ jsx301(
13565
+ suffix && /* @__PURE__ */ jsx302(
13513
13566
  "span",
13514
13567
  {
13515
13568
  ref: suffixRef,
@@ -13538,7 +13591,7 @@ var TextInput = forwardRef107(
13538
13591
  ),
13539
13592
  style,
13540
13593
  children: [
13541
- hasLabel && /* @__PURE__ */ jsx301(
13594
+ hasLabel && /* @__PURE__ */ jsx302(
13542
13595
  Label,
13543
13596
  {
13544
13597
  htmlFor: uniqueId,
@@ -13548,7 +13601,7 @@ var TextInput = forwardRef107(
13548
13601
  children: label
13549
13602
  }
13550
13603
  ),
13551
- extendedInput ? extendedInput : /* @__PURE__ */ jsx301(
13604
+ extendedInput ? extendedInput : /* @__PURE__ */ jsx302(
13552
13605
  StatefulInput,
13553
13606
  {
13554
13607
  ref,
@@ -13580,11 +13633,11 @@ TextInput.displayName = "TextInput";
13580
13633
  import { useId as useId27, useState as useState31 } from "react";
13581
13634
 
13582
13635
  // src/components/ToggleBar/ToggleBar.context.tsx
13583
- import { createContext as createContext12, useContext as useContext15 } from "react";
13636
+ import { createContext as createContext12, useContext as useContext16 } from "react";
13584
13637
  var ToggleBarContext = createContext12({
13585
13638
  size: "medium"
13586
13639
  });
13587
- var useToggleBarContext = () => useContext15(ToggleBarContext);
13640
+ var useToggleBarContext = () => useContext16(ToggleBarContext);
13588
13641
 
13589
13642
  // src/components/ToggleBar/ToggleBar.module.css
13590
13643
  var ToggleBar_default = {
@@ -13603,7 +13656,7 @@ var ToggleBar_default = {
13603
13656
  };
13604
13657
 
13605
13658
  // src/components/ToggleBar/ToggleBar.tsx
13606
- import { jsx as jsx302, jsxs as jsxs79 } from "react/jsx-runtime";
13659
+ import { jsx as jsx303, jsxs as jsxs79 } from "react/jsx-runtime";
13607
13660
  var ToggleBar = (props) => {
13608
13661
  const {
13609
13662
  children,
@@ -13626,7 +13679,7 @@ var ToggleBar = (props) => {
13626
13679
  (e) => onChange && onChange(e, e.target.value)
13627
13680
  );
13628
13681
  const labelId = label && `${uniqueId}-label`;
13629
- return /* @__PURE__ */ jsx302(
13682
+ return /* @__PURE__ */ jsx303(
13630
13683
  ToggleBarContext.Provider,
13631
13684
  {
13632
13685
  value: {
@@ -13648,8 +13701,8 @@ var ToggleBar = (props) => {
13648
13701
  role: "radiogroup",
13649
13702
  "aria-labelledby": labelId != null ? labelId : htmlProps == null ? void 0 : htmlProps["aria-labelledby"],
13650
13703
  children: [
13651
- label && /* @__PURE__ */ jsx302(Label, { id: labelId, children: label }),
13652
- /* @__PURE__ */ jsx302("div", { className: ToggleBar_default.bar, children })
13704
+ label && /* @__PURE__ */ jsx303(Label, { id: labelId, children: label }),
13705
+ /* @__PURE__ */ jsx303("div", { className: ToggleBar_default.bar, children })
13653
13706
  ]
13654
13707
  }
13655
13708
  )
@@ -13663,7 +13716,7 @@ import {
13663
13716
  forwardRef as forwardRef108,
13664
13717
  useId as useId28
13665
13718
  } from "react";
13666
- import { jsx as jsx303, jsxs as jsxs80 } from "react/jsx-runtime";
13719
+ import { jsx as jsx304, jsxs as jsxs80 } from "react/jsx-runtime";
13667
13720
  var typographyTypes4 = {
13668
13721
  large: "bodySans04",
13669
13722
  medium: "bodySans02",
@@ -13705,7 +13758,7 @@ var ToggleRadio = forwardRef108(
13705
13758
  };
13706
13759
  const contentTypeCn = label ? "with-text" : "just-icon";
13707
13760
  return /* @__PURE__ */ jsxs80("label", { htmlFor: uniqueId, className: ToggleBar_default.label, children: [
13708
- /* @__PURE__ */ jsx303(
13761
+ /* @__PURE__ */ jsx304(
13709
13762
  "input",
13710
13763
  {
13711
13764
  ...getBaseHTMLProps(
@@ -13739,8 +13792,8 @@ var ToggleRadio = forwardRef108(
13739
13792
  focus_default["focus-styled-sibling"]
13740
13793
  ),
13741
13794
  children: [
13742
- icon && /* @__PURE__ */ jsx303(Icon, { icon, iconSize: "inherit" }),
13743
- label && /* @__PURE__ */ jsx303("span", { children: label })
13795
+ icon && /* @__PURE__ */ jsx304(Icon, { icon, iconSize: "inherit" }),
13796
+ label && /* @__PURE__ */ jsx304("span", { children: label })
13744
13797
  ]
13745
13798
  }
13746
13799
  )
@@ -13764,14 +13817,14 @@ var ToggleButton_default = {
13764
13817
  };
13765
13818
 
13766
13819
  // src/components/ToggleButton/ToggleButton.tsx
13767
- import { jsx as jsx304, jsxs as jsxs81 } from "react/jsx-runtime";
13820
+ import { jsx as jsx305, jsxs as jsxs81 } from "react/jsx-runtime";
13768
13821
  var ToggleButton = forwardRef109(
13769
13822
  ({ id, label, icon, className, htmlProps, ...rest }, ref) => {
13770
13823
  const generatedId = useId29();
13771
13824
  const uniqueId = id != null ? id : `${generatedId}-toggleButton`;
13772
13825
  const hasIcon = !!icon;
13773
13826
  return /* @__PURE__ */ jsxs81("label", { htmlFor: uniqueId, className: ToggleButton_default.container, children: [
13774
- /* @__PURE__ */ jsx304(
13827
+ /* @__PURE__ */ jsx305(
13775
13828
  "input",
13776
13829
  {
13777
13830
  ...getBaseHTMLProps(
@@ -13798,7 +13851,7 @@ var ToggleButton = forwardRef109(
13798
13851
  focus_default["focus-styled-sibling"]
13799
13852
  ),
13800
13853
  children: [
13801
- hasIcon && /* @__PURE__ */ jsx304(Icon, { icon, iconSize: "inherit" }),
13854
+ hasIcon && /* @__PURE__ */ jsx305(Icon, { icon, iconSize: "inherit" }),
13802
13855
  " ",
13803
13856
  label
13804
13857
  ]
@@ -13811,7 +13864,7 @@ ToggleButton.displayName = "ToggleButton";
13811
13864
 
13812
13865
  // src/components/ToggleButton/ToggleButtonGroup.tsx
13813
13866
  import { useId as useId30 } from "react";
13814
- import { jsx as jsx305, jsxs as jsxs82 } from "react/jsx-runtime";
13867
+ import { jsx as jsx306, jsxs as jsxs82 } from "react/jsx-runtime";
13815
13868
  var ToggleButtonGroup = (props) => {
13816
13869
  const {
13817
13870
  children,
@@ -13837,7 +13890,7 @@ var ToggleButtonGroup = (props) => {
13837
13890
  role: "group",
13838
13891
  "aria-labelledby": label ? uniqueLabelId : void 0,
13839
13892
  children: [
13840
- !!label && /* @__PURE__ */ jsx305(
13893
+ !!label && /* @__PURE__ */ jsx306(
13841
13894
  Typography,
13842
13895
  {
13843
13896
  as: "span",
@@ -13846,7 +13899,7 @@ var ToggleButtonGroup = (props) => {
13846
13899
  children: label
13847
13900
  }
13848
13901
  ),
13849
- /* @__PURE__ */ jsx305("div", { className: cn(ToggleButton_default.group, ToggleButton_default[`group--${direction}`]), children })
13902
+ /* @__PURE__ */ jsx306("div", { className: cn(ToggleButton_default.group, ToggleButton_default[`group--${direction}`]), children })
13850
13903
  ]
13851
13904
  }
13852
13905
  );