@norges-domstoler/dds-components 21.17.1 → 21.18.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.js CHANGED
@@ -160,6 +160,16 @@ __export(index_exports, {
160
160
  FooterLogo: () => FooterLogo,
161
161
  FooterSocialsGroup: () => FooterSocialsGroup,
162
162
  FooterSocialsList: () => FooterSocialsList,
163
+ FormSummary: () => FormSummary,
164
+ FormSummaryEditButton: () => FormSummaryEditButton,
165
+ FormSummaryEmptyValue: () => FormSummaryEmptyValue,
166
+ FormSummaryError: () => FormSummaryError,
167
+ FormSummaryField: () => FormSummaryField,
168
+ FormSummaryFields: () => FormSummaryFields,
169
+ FormSummaryHeader: () => FormSummaryHeader,
170
+ FormSummaryHeading: () => FormSummaryHeading,
171
+ FormSummaryLabel: () => FormSummaryLabel,
172
+ FormSummaryValue: () => FormSummaryValue,
163
173
  FullscreenExitIcon: () => FullscreenExitIcon,
164
174
  FullscreenIcon: () => FullscreenIcon,
165
175
  GavelIcon: () => GavelIcon,
@@ -619,7 +629,8 @@ var combineHandlers = (handler1, handler2) => {
619
629
 
620
630
  // src/utils/dom.ts
621
631
  function cn(...classNames) {
622
- return classNames.filter(Boolean).join(" ");
632
+ const filtered = classNames.filter(Boolean).join(" ");
633
+ return filtered || void 0;
623
634
  }
624
635
  function convertCamelToHyphen(value) {
625
636
  return value.replace(/([a-z])([A-Z])/g, "$1-$2").replace(/([a-z])([0-9])/g, "$1-$2").toLowerCase();
@@ -3275,8 +3286,8 @@ function useTranslation() {
3275
3286
  const t = (text) => text[lang];
3276
3287
  return { t, lang };
3277
3288
  }
3278
- function createTexts(texts27) {
3279
- return texts27;
3289
+ function createTexts(texts30) {
3290
+ return texts30;
3280
3291
  }
3281
3292
 
3282
3293
  // src/DdsProvider/DdsProvider.tsx
@@ -4056,7 +4067,8 @@ var texts = createTexts({
4056
4067
  nb: "G\xE5 tilbake",
4057
4068
  no: "G\xE5 tilbake",
4058
4069
  nn: "G\xE5 tilbake",
4059
- en: "Go back"
4070
+ en: "Go back",
4071
+ se: "Mana ruovttoluotta"
4060
4072
  }
4061
4073
  });
4062
4074
 
@@ -4127,25 +4139,29 @@ var commonTexts = createTexts({
4127
4139
  no: "T\xF8m nedtrekksliste",
4128
4140
  nb: "T\xF8m nedtrekksliste",
4129
4141
  nn: "T\xF8m nedtrekksliste",
4130
- en: "Clear selection"
4142
+ en: "Clear selection",
4143
+ se: "Gidde v\xE1lljemiid"
4131
4144
  },
4132
4145
  close: {
4133
4146
  nb: "Lukk",
4134
4147
  no: "Lukk",
4135
4148
  nn: "Lukk",
4136
- en: "Close"
4149
+ en: "Close",
4150
+ se: "Gidde"
4137
4151
  },
4138
4152
  closeMessage: {
4139
4153
  nb: "Lukk melding",
4140
4154
  no: "Lukk melding",
4141
4155
  nn: "Lukk melding",
4142
- en: "Close message"
4156
+ en: "Close message",
4157
+ se: "Gidde die\u0111u"
4143
4158
  },
4144
4159
  loading: {
4145
4160
  nb: "Innlastning p\xE5g\xE5r",
4146
4161
  no: "Innlastning p\xE5g\xE5r",
4147
4162
  nn: "Innlastning p\xE5g\xE5r",
4148
- en: "Loading"
4163
+ en: "Loading",
4164
+ se: "Vie\u017E\u017Eamin"
4149
4165
  }
4150
4166
  });
4151
4167
 
@@ -4231,8 +4247,8 @@ var Button = ({
4231
4247
  iconPosition = "left",
4232
4248
  href,
4233
4249
  target,
4234
- loading = false,
4235
- loadingTooltip = "Lagring p\xE5g\xE5r",
4250
+ loading,
4251
+ loadingTooltip,
4236
4252
  fullWidth = false,
4237
4253
  icon,
4238
4254
  onClick,
@@ -4245,6 +4261,8 @@ var Button = ({
4245
4261
  ...rest
4246
4262
  }) => {
4247
4263
  const { purpose: groupPurpose, size: groupSize } = useButtonGroupContext();
4264
+ const { t } = useTranslation();
4265
+ const spinnerTooltip = loadingTooltip != null ? loadingTooltip : t(texts2.saving);
4248
4266
  const hasLabel = !!children;
4249
4267
  const hasIcon = !!icon;
4250
4268
  const hasLabelAndIcon = hasIcon && hasLabel;
@@ -4285,7 +4303,7 @@ var Button = ({
4285
4303
  {
4286
4304
  size: "1em",
4287
4305
  color: purpose === "primary" || purpose === "danger" ? "iconOnAction" : "iconDefault",
4288
- tooltip: loadingTooltip,
4306
+ tooltip: spinnerTooltip,
4289
4307
  className: Button_default.icon
4290
4308
  }
4291
4309
  ) })
@@ -4329,6 +4347,15 @@ var Button = ({
4329
4347
  );
4330
4348
  };
4331
4349
  Button.displayName = "Button";
4350
+ var texts2 = createTexts({
4351
+ saving: {
4352
+ no: "Lagring p\xE5g\xE5r",
4353
+ nb: "Lagring p\xE5g\xE5r",
4354
+ nn: "Lagring p\xE5g\xE5r",
4355
+ en: "Saving",
4356
+ se: "Vurkemin"
4357
+ }
4358
+ });
4332
4359
 
4333
4360
  // src/components/OverflowMenu/OverflowMenu.tsx
4334
4361
  var import_react21 = require("react");
@@ -4796,7 +4823,7 @@ var Breadcrumbs = ({
4796
4823
  size: "xsmall",
4797
4824
  icon: MoreHorizontalIcon,
4798
4825
  purpose: "tertiary",
4799
- "aria-label": bChildrenTruncated.length > 1 ? t(texts2.showHiddenTo(bChildren.length - 1)) : t(texts2.showHidden)
4826
+ "aria-label": bChildrenTruncated.length > 1 ? t(texts3.showHiddenTo(bChildren.length - 1)) : t(texts3.showHidden)
4800
4827
  }
4801
4828
  ),
4802
4829
  /* @__PURE__ */ (0, import_jsx_runtime205.jsx)(OverflowMenu, { children: /* @__PURE__ */ (0, import_jsx_runtime205.jsx)(OverflowMenuList, { children: bChildrenTruncated }) })
@@ -4818,7 +4845,7 @@ var Breadcrumbs = ({
4818
4845
  "nav",
4819
4846
  {
4820
4847
  ...getBaseHTMLProps(id, className, htmlProps, rest),
4821
- "aria-label": t(texts2.breadcrumbs),
4848
+ "aria-label": t(texts3.breadcrumbs),
4822
4849
  children: [
4823
4850
  /* @__PURE__ */ (0, import_jsx_runtime205.jsx)(
4824
4851
  HStack,
@@ -4834,24 +4861,27 @@ var Breadcrumbs = ({
4834
4861
  );
4835
4862
  };
4836
4863
  Breadcrumbs.displayName = "Breadcrumbs";
4837
- var texts2 = createTexts({
4864
+ var texts3 = createTexts({
4838
4865
  breadcrumbs: {
4839
4866
  nb: "Br\xF8dsmulesti",
4840
4867
  no: "Br\xF8dsmulesti",
4841
4868
  nn: "Br\xF8dsmulesti",
4842
- en: "Breadcrumbs"
4869
+ en: "Breadcrumbs",
4870
+ se: "L\xE1ibemoallob\xE1lggis"
4843
4871
  },
4844
4872
  showHiddenTo: (to) => ({
4845
4873
  nb: `Vis br\xF8dsmule 2 til ${to}`,
4846
4874
  no: `Vis br\xF8dsmule 2 til ${to}`,
4847
4875
  nn: `Vis br\xF8dsmule 2 til ${to}`,
4848
- en: `Show breadcrumb 2 to ${to}`
4876
+ en: `Show breadcrumb 2 to ${to}`,
4877
+ se: `\u010C\xE1jet l\xE1ibemoalu 2 ${to}`
4849
4878
  }),
4850
4879
  showHidden: {
4851
4880
  nb: "Vis br\xF8dsmule 2",
4852
4881
  no: "Vis br\xF8dsmule 2",
4853
4882
  nn: "Vis br\xF8dsmule 2",
4854
- en: "Show breadcrumb 2"
4883
+ en: "Show breadcrumb 2",
4884
+ se: "\u010C\xE1jet l\xE1ibemoalu 2"
4855
4885
  }
4856
4886
  });
4857
4887
 
@@ -5326,6 +5356,7 @@ var InputMessage = ({
5326
5356
  id,
5327
5357
  className,
5328
5358
  htmlProps,
5359
+ children,
5329
5360
  ...rest
5330
5361
  }) => {
5331
5362
  const isError = messageType === "error";
@@ -5346,7 +5377,7 @@ var InputMessage = ({
5346
5377
  typographyType: isError ? "bodySmall" : "bodyXsmall",
5347
5378
  color: isError ? "textDefault" : "textSubtle",
5348
5379
  as: "span",
5349
- children: message
5380
+ children: message != null ? message : children
5350
5381
  }
5351
5382
  )
5352
5383
  ]
@@ -5817,7 +5848,7 @@ var Chip = ({
5817
5848
  icon: CloseSmallIcon,
5818
5849
  purpose: "tertiary",
5819
5850
  onClick,
5820
- "aria-label": ariaLabel != null ? ariaLabel : t(texts3.removeChip) + (text ? ` ${text}` : "")
5851
+ "aria-label": ariaLabel != null ? ariaLabel : t(texts4.removeChip) + (text ? ` ${text}` : "")
5821
5852
  }
5822
5853
  )
5823
5854
  ]
@@ -5825,12 +5856,13 @@ var Chip = ({
5825
5856
  ) : null;
5826
5857
  };
5827
5858
  Chip.displayName = "Chip";
5828
- var texts3 = createTexts({
5859
+ var texts4 = createTexts({
5829
5860
  removeChip: {
5830
5861
  nb: "Fjern merkelapp",
5831
5862
  no: "Fjern merkelapp",
5832
5863
  nn: "Fjern merkelapp",
5833
- en: "Remove chip"
5864
+ en: "Remove chip",
5865
+ se: "Sihku lihppu"
5834
5866
  }
5835
5867
  });
5836
5868
 
@@ -5952,7 +5984,7 @@ function CookieBanner({
5952
5984
  {
5953
5985
  as: Button,
5954
5986
  showBelow: collapsedBreakpoint,
5955
- "aria-label": t(texts4.expandConsent),
5987
+ "aria-label": t(texts5.expandConsent),
5956
5988
  purpose: "tertiary",
5957
5989
  icon: ExpandIcon,
5958
5990
  onClick: () => setIsCollapsedOnBreakpoint(false),
@@ -5986,26 +6018,27 @@ function CookieBanner({
5986
6018
  );
5987
6019
  }
5988
6020
  CookieBanner.displayName = "CookieBanner";
5989
- var texts4 = createTexts({
6021
+ var texts5 = createTexts({
5990
6022
  expandConsent: {
5991
6023
  nb: "Utvid samtykke for bruk av informasjonskapsler",
5992
6024
  no: "Utvid samtykke for bruk av informasjonskapsler",
5993
6025
  nn: "Utvid samtykke for bruk av informasjonskapslar",
5994
- en: "Expand consent for the use of cookies"
6026
+ en: "Expand consent for the use of cookies",
6027
+ se: "Viiddit mie\u0111\xE1husa diehto\u010Doahkuid geavaheapm\xE1i"
5995
6028
  }
5996
6029
  });
5997
6030
 
5998
6031
  // src/components/date-inputs/DatePicker/Calendar/Calendar.tsx
5999
6032
  var import_date4 = require("@internationalized/date");
6000
6033
  var import_calendar3 = require("@react-aria/calendar");
6001
- var import_i18n10 = require("@react-aria/i18n");
6034
+ var import_i18n11 = require("@react-aria/i18n");
6002
6035
  var import_calendar4 = require("@react-stately/calendar");
6003
6036
  var import_react41 = require("react");
6004
6037
 
6005
6038
  // src/components/date-inputs/DatePicker/Calendar/CalendarGrid.tsx
6006
6039
  var import_date3 = require("@internationalized/date");
6007
6040
  var import_calendar2 = require("@react-aria/calendar");
6008
- var import_i18n8 = require("@react-aria/i18n");
6041
+ var import_i18n9 = require("@react-aria/i18n");
6009
6042
  var import_react40 = require("react");
6010
6043
 
6011
6044
  // src/components/date-inputs/DatePicker/Calendar/CalendarCell.tsx
@@ -6050,7 +6083,8 @@ var LOCALE = {
6050
6083
  nb: "nb-NO",
6051
6084
  no: "no-NO",
6052
6085
  nn: "nn-NO",
6053
- en: "en-GB"
6086
+ en: "en-GB",
6087
+ se: "se-NO"
6054
6088
  };
6055
6089
  var timezone = "Europe/Oslo";
6056
6090
 
@@ -6286,20 +6320,20 @@ var CalendarPopoverContent = ({
6286
6320
  var import_jsx_runtime227 = require("react/jsx-runtime");
6287
6321
  function CalendarGrid({ state, ...props }) {
6288
6322
  const { t } = useTranslation();
6289
- const { locale } = (0, import_i18n8.useLocale)();
6323
+ const { locale } = (0, import_i18n9.useLocale)();
6290
6324
  const {
6291
6325
  gridProps: { onKeyDown, ...gridProps },
6292
6326
  headerProps
6293
6327
  } = (0, import_calendar2.useCalendarGrid)(props, state);
6294
6328
  const weeksInMonth = (0, import_date3.getWeeksInMonth)(state.visibleRange.start, locale);
6295
6329
  const weekDays = [
6296
- { short: t(texts5.mo), full: t(texts5.monday) },
6297
- { short: t(texts5.tu), full: t(texts5.tuesday) },
6298
- { short: t(texts5.we), full: t(texts5.wednesday) },
6299
- { short: t(texts5.th), full: t(texts5.thursday) },
6300
- { short: t(texts5.fr), full: t(texts5.friday) },
6301
- { short: t(texts5.sa), full: t(texts5.saturday) },
6302
- { short: t(texts5.su), full: t(texts5.sunday) }
6330
+ { short: t(texts6.mo), full: t(texts6.monday) },
6331
+ { short: t(texts6.tu), full: t(texts6.tuesday) },
6332
+ { short: t(texts6.we), full: t(texts6.wednesday) },
6333
+ { short: t(texts6.th), full: t(texts6.thursday) },
6334
+ { short: t(texts6.fr), full: t(texts6.friday) },
6335
+ { short: t(texts6.sa), full: t(texts6.saturday) },
6336
+ { short: t(texts6.su), full: t(texts6.sunday) }
6303
6337
  ];
6304
6338
  const { showWeekNumbers, onClose } = (0, import_react40.useContext)(CalendarPopoverContext);
6305
6339
  const typographyCn = [
@@ -6325,7 +6359,7 @@ function CalendarGrid({ state, ...props }) {
6325
6359
  className: cn(DateInput_default["calendar__grid-element"], ...typographyCn),
6326
6360
  children: [
6327
6361
  /* @__PURE__ */ (0, import_jsx_runtime227.jsx)("span", { "aria-hidden": true, children: "#" }),
6328
- /* @__PURE__ */ (0, import_jsx_runtime227.jsx)(VisuallyHidden, { children: t(texts5.weekNumber) })
6362
+ /* @__PURE__ */ (0, import_jsx_runtime227.jsx)(VisuallyHidden, { children: t(texts6.weekNumber) })
6329
6363
  ]
6330
6364
  }
6331
6365
  ),
@@ -6368,96 +6402,111 @@ function CalendarGrid({ state, ...props }) {
6368
6402
  );
6369
6403
  }
6370
6404
  CalendarGrid.displayName = "CalendarGrid";
6371
- var texts5 = createTexts({
6405
+ var texts6 = createTexts({
6372
6406
  weekNumber: {
6373
6407
  nb: "Ukenummer",
6374
6408
  no: "Ukenummer",
6375
6409
  nn: "Vekenummer",
6376
- en: "Week number"
6410
+ en: "Week number",
6411
+ se: "Vahkkonummir"
6377
6412
  },
6378
6413
  mo: {
6379
6414
  nb: "Ma",
6380
6415
  no: "Ma",
6381
6416
  nn: "M\xE5",
6382
- en: "Mo"
6417
+ en: "Mo",
6418
+ se: "Vuos"
6383
6419
  },
6384
6420
  tu: {
6385
6421
  nb: "Ti",
6386
6422
  no: "Ti",
6387
6423
  nn: "Ty",
6388
- en: "Tu"
6424
+ en: "Tu",
6425
+ se: "Ma\u014B"
6389
6426
  },
6390
6427
  we: {
6391
6428
  nb: "On",
6392
6429
  no: "On",
6393
6430
  nn: "On",
6394
- en: "We"
6431
+ en: "We",
6432
+ se: "Gask"
6395
6433
  },
6396
6434
  th: {
6397
6435
  nb: "To",
6398
6436
  no: "To",
6399
6437
  nn: "To",
6400
- en: "Th"
6438
+ en: "Th",
6439
+ se: "Duo"
6401
6440
  },
6402
6441
  fr: {
6403
6442
  nb: "Fr",
6404
6443
  no: "Fr",
6405
6444
  nn: "Fr",
6406
- en: "Fr"
6445
+ en: "Fr",
6446
+ se: "Bea"
6407
6447
  },
6408
6448
  sa: {
6409
6449
  nb: "L\xF8",
6410
6450
  no: "L\xF8",
6411
6451
  nn: "La",
6412
- en: "Sa"
6452
+ en: "Sa",
6453
+ se: "L\xE1v"
6413
6454
  },
6414
6455
  su: {
6415
6456
  nb: "S\xF8",
6416
6457
  no: "S\xF8",
6417
6458
  nn: "Su",
6418
- en: "Su"
6459
+ en: "Su",
6460
+ se: "Sotn"
6419
6461
  },
6420
6462
  monday: {
6421
6463
  nb: "Mandag",
6422
6464
  no: "Mandag",
6423
6465
  nn: "M\xE5ndag",
6424
- en: "Monday"
6466
+ en: "Monday",
6467
+ se: "Vuoss\xE1rga"
6425
6468
  },
6426
6469
  tuesday: {
6427
6470
  nb: "Tirsdag",
6428
6471
  no: "Tirsdag",
6429
6472
  nn: "Tysdag",
6430
- en: "Tuesday"
6473
+ en: "Tuesday",
6474
+ se: "Ma\u014B\u014Beb\xE1rga"
6431
6475
  },
6432
6476
  wednesday: {
6433
6477
  nb: "Onsdag",
6434
6478
  no: "Onsdag",
6435
6479
  nn: "Onsdag",
6436
- en: "Wednesday"
6480
+ en: "Wednesday",
6481
+ se: "Gaskavahkku"
6437
6482
  },
6438
6483
  thursday: {
6439
6484
  nb: "Torsdag",
6440
6485
  no: "Torsdag",
6441
6486
  nn: "Torsdag",
6442
- en: "Thursday"
6487
+ en: "Thursday",
6488
+ se: "Duorastat"
6443
6489
  },
6444
6490
  friday: {
6445
6491
  nb: "Fredag",
6446
6492
  no: "Fredag",
6447
6493
  nn: "Fredag",
6448
- en: "Friday"
6494
+ en: "Friday",
6495
+ se: "Bearjadat"
6449
6496
  },
6450
6497
  saturday: {
6451
6498
  nb: "L\xF8rdag",
6452
6499
  no: "L\xF8rdag",
6453
6500
  nn: "Laurdag",
6454
- en: "Saturday"
6501
+ en: "Saturday",
6502
+ se: "L\xE1vvardat"
6455
6503
  },
6456
6504
  sunday: {
6457
6505
  nb: "S\xF8ndag",
6458
6506
  no: "S\xF8ndag",
6459
6507
  nn: "Sundag",
6460
- en: "Sunday"
6508
+ en: "Sunday",
6509
+ se: "Sotnabeaivi"
6461
6510
  }
6462
6511
  });
6463
6512
 
@@ -6473,7 +6522,7 @@ function createCalendar(identifier) {
6473
6522
  }
6474
6523
  function Calendar(props) {
6475
6524
  const { t } = useTranslation();
6476
- const { locale } = (0, import_i18n10.useLocale)();
6525
+ const { locale } = (0, import_i18n11.useLocale)();
6477
6526
  const state = (0, import_calendar4.useCalendarState)({
6478
6527
  ...props,
6479
6528
  createCalendar,
@@ -6500,7 +6549,7 @@ function Calendar(props) {
6500
6549
  Button,
6501
6550
  {
6502
6551
  type: "button",
6503
- "aria-label": t(texts6.previousMonth),
6552
+ "aria-label": t(texts7.previousMonth),
6504
6553
  onClick: (e) => onPrev == null ? void 0 : onPrev(e),
6505
6554
  size: "small",
6506
6555
  purpose: "tertiary",
@@ -6522,7 +6571,7 @@ function Calendar(props) {
6522
6571
  Button,
6523
6572
  {
6524
6573
  type: "button",
6525
- "aria-label": t(texts6.nextMonth),
6574
+ "aria-label": t(texts7.nextMonth),
6526
6575
  onClick: (e) => onNext == null ? void 0 : onNext(e),
6527
6576
  size: "small",
6528
6577
  purpose: "tertiary",
@@ -6535,31 +6584,33 @@ function Calendar(props) {
6535
6584
  ] });
6536
6585
  }
6537
6586
  Calendar.displayName = "Calendar";
6538
- var texts6 = createTexts({
6587
+ var texts7 = createTexts({
6539
6588
  nextMonth: {
6540
6589
  nb: "Neste m\xE5ned",
6541
6590
  no: "Neste m\xE5ned",
6542
6591
  nn: "Neste m\xE5nad",
6543
- en: "Next month"
6592
+ en: "Next month",
6593
+ se: "Boahte m\xE1nu"
6544
6594
  },
6545
6595
  previousMonth: {
6546
6596
  nb: "Forrige m\xE5ned",
6547
6597
  no: "Forrige m\xE5ned",
6548
6598
  nn: "F\xF8rre m\xE5nad",
6549
- en: "Previous month"
6599
+ en: "Previous month",
6600
+ se: "Ovddit m\xE1nu"
6550
6601
  }
6551
6602
  });
6552
6603
 
6553
6604
  // src/components/date-inputs/DatePicker/DatePicker.tsx
6554
6605
  var import_datepicker4 = require("@react-aria/datepicker");
6555
- var import_i18n14 = require("@react-aria/i18n");
6606
+ var import_i18n17 = require("@react-aria/i18n");
6556
6607
  var import_datepicker5 = require("@react-stately/datepicker");
6557
6608
  var import_react47 = require("react");
6558
6609
 
6559
6610
  // src/components/date-inputs/DatePicker/DateField/DateField.tsx
6560
6611
  var import_date5 = require("@internationalized/date");
6561
6612
  var import_datepicker2 = require("@react-aria/datepicker");
6562
- var import_i18n12 = require("@react-aria/i18n");
6613
+ var import_i18n15 = require("@react-aria/i18n");
6563
6614
  var import_datepicker3 = require("@react-stately/datepicker");
6564
6615
  var import_react45 = require("react");
6565
6616
 
@@ -6619,6 +6670,7 @@ function CalendarButton({
6619
6670
 
6620
6671
  // src/components/date-inputs/DatePicker/DateField/DateField.utils.tsx
6621
6672
  function formatDateFieldSegments(segments) {
6673
+ const { t } = useTranslation();
6622
6674
  const daySegment = segments.find((segment) => segment.type === "day");
6623
6675
  const monthSegment = segments.find((segment) => segment.type === "month");
6624
6676
  const yearSegment = segments.find((segment) => segment.type === "year");
@@ -6629,16 +6681,16 @@ function formatDateFieldSegments(segments) {
6629
6681
  const formattedDaySegment = {
6630
6682
  ...daySegment,
6631
6683
  text: daySegment.text.padStart(2, "0"),
6632
- placeholder: "dd"
6684
+ placeholder: t(texts8.dayPlaceholder)
6633
6685
  };
6634
6686
  const formattedMonthSegment = {
6635
6687
  ...monthSegment,
6636
6688
  text: monthSegment.text.padStart(2, "0"),
6637
- placeholder: "mm"
6689
+ placeholder: t(texts8.monthPlaceholder)
6638
6690
  };
6639
6691
  const formattedYearSegment = {
6640
6692
  ...yearSegment,
6641
- placeholder: "\xE5\xE5\xE5\xE5"
6693
+ placeholder: t(texts8.yearPlaceholder)
6642
6694
  };
6643
6695
  const formattedSeparatorSegment = { ...separatorSegment, text: "." };
6644
6696
  return [
@@ -6649,6 +6701,29 @@ function formatDateFieldSegments(segments) {
6649
6701
  formattedYearSegment
6650
6702
  ];
6651
6703
  }
6704
+ var texts8 = createTexts({
6705
+ dayPlaceholder: {
6706
+ nb: "dd",
6707
+ no: "dd",
6708
+ nn: "dd",
6709
+ en: "dd",
6710
+ se: "jj"
6711
+ },
6712
+ monthPlaceholder: {
6713
+ nb: "mm",
6714
+ no: "mm",
6715
+ nn: "mm",
6716
+ en: "mm",
6717
+ se: "mm"
6718
+ },
6719
+ yearPlaceholder: {
6720
+ nb: "\xE5\xE5\xE5\xE5",
6721
+ no: "\xE5\xE5\xE5\xE5",
6722
+ nn: "\xE5\xE5\xE5\xE5",
6723
+ en: "yyyy",
6724
+ se: "jjjj"
6725
+ }
6726
+ });
6652
6727
 
6653
6728
  // src/components/date-inputs/DatePicker/DateField/DateSegment.tsx
6654
6729
  var import_datepicker = require("@react-aria/datepicker");
@@ -6900,7 +6975,7 @@ function DateField({
6900
6975
  clearable,
6901
6976
  ...props
6902
6977
  }) {
6903
- const { locale } = (0, import_i18n12.useLocale)();
6978
+ const { locale } = (0, import_i18n15.useLocale)();
6904
6979
  const { t } = useTranslation();
6905
6980
  const state = (0, import_datepicker3.useDateFieldState)({
6906
6981
  ...props,
@@ -6946,7 +7021,7 @@ function DateField({
6946
7021
  ClearButton,
6947
7022
  {
6948
7023
  absolute: false,
6949
- "aria-label": t(texts7.clearDate),
7024
+ "aria-label": t(texts9.clearDate),
6950
7025
  "aria-hidden": !hasValue,
6951
7026
  className: cn(
6952
7027
  DateInput_default["clear-button"],
@@ -6972,12 +7047,13 @@ function DateField({
6972
7047
  );
6973
7048
  }
6974
7049
  DateField.displayName = "DateField";
6975
- var texts7 = createTexts({
7050
+ var texts9 = createTexts({
6976
7051
  clearDate: {
6977
7052
  en: "Clear date",
6978
7053
  nb: "T\xF8m dato",
6979
7054
  no: "T\xF8m dato",
6980
- nn: "T\xF8m dato"
7055
+ nn: "T\xF8m dato",
7056
+ se: "Gurre d\xE1htona"
6981
7057
  }
6982
7058
  });
6983
7059
 
@@ -7032,7 +7108,7 @@ function DatePicker({
7032
7108
  state,
7033
7109
  internalRef
7034
7110
  );
7035
- return /* @__PURE__ */ (0, import_jsx_runtime237.jsx)(import_i18n14.I18nProvider, { locale: LOCALE[lang], children: /* @__PURE__ */ (0, import_jsx_runtime237.jsxs)(
7111
+ return /* @__PURE__ */ (0, import_jsx_runtime237.jsx)(import_i18n17.I18nProvider, { locale: LOCALE[lang], children: /* @__PURE__ */ (0, import_jsx_runtime237.jsxs)(
7036
7112
  CalendarPopover,
7037
7113
  {
7038
7114
  isOpen: state.isOpen,
@@ -7688,7 +7764,7 @@ var FavStar = ({
7688
7764
  checked,
7689
7765
  onChange: (e) => setChecked(e.target.checked),
7690
7766
  type: "checkbox",
7691
- "aria-label": (_a = props["aria-label"]) != null ? _a : t(texts8.favourite)
7767
+ "aria-label": (_a = props["aria-label"]) != null ? _a : t(texts10.favourite)
7692
7768
  }
7693
7769
  ),
7694
7770
  /* @__PURE__ */ (0, import_jsx_runtime250.jsx)(Icon, { iconSize: size2, icon: StarIcon, className: FavStar_default.icon }),
@@ -7705,12 +7781,13 @@ var FavStar = ({
7705
7781
  );
7706
7782
  };
7707
7783
  FavStar.displayName = "FavStar";
7708
- var texts8 = createTexts({
7784
+ var texts10 = createTexts({
7709
7785
  favourite: {
7710
- nb: "Favoriser",
7711
- no: "Favoriser",
7712
- nn: "Favorittmerk",
7713
- en: "Favorite"
7786
+ nb: "Stjernemarker",
7787
+ no: "Stjernemarker",
7788
+ nn: "Stjernemerk",
7789
+ en: "Mark as favourite",
7790
+ se: "Merke favorihta"
7714
7791
  }
7715
7792
  });
7716
7793
 
@@ -7765,7 +7842,7 @@ function CharCounter(props) {
7765
7842
  "/",
7766
7843
  max
7767
7844
  ] }),
7768
- /* @__PURE__ */ (0, import_jsx_runtime251.jsx)(VisuallyHidden, { children: t(texts9.charsWritten(current, max, max - current)) })
7845
+ /* @__PURE__ */ (0, import_jsx_runtime251.jsx)(VisuallyHidden, { children: t(texts11.charsWritten(current, max, max - current)) })
7769
7846
  ]
7770
7847
  }
7771
7848
  );
@@ -7774,12 +7851,13 @@ var renderCharCounter = (id, isShown, textLength, maxLength) => {
7774
7851
  if (!!maxLength && Number.isInteger(maxLength) && maxLength > 0 && isShown)
7775
7852
  return /* @__PURE__ */ (0, import_jsx_runtime251.jsx)(CharCounter, { id, max: maxLength, current: textLength });
7776
7853
  };
7777
- var texts9 = createTexts({
7854
+ var texts11 = createTexts({
7778
7855
  charsWritten: (current, max, remain) => ({
7779
7856
  nb: `${current} av ${max} tegn skrevet. ${remain} igjen.`,
7780
7857
  no: `${current} av ${max} tegn skrevet. ${remain} igjen.`,
7781
7858
  nn: `${current} av ${max} teikn skrivne. ${remain} att.`,
7782
- en: `${current} of ${max} characters used. ${remain} remaining.`
7859
+ en: `${current} of ${max} characters used. ${remain} remaining.`,
7860
+ se: `${current} ${max} mearkabust\xE1va leat ${max} \u010D\xE1llon ${remain}.`
7783
7861
  })
7784
7862
  });
7785
7863
 
@@ -7938,17 +8016,18 @@ var CommentComponent = ({
7938
8016
  size: "small",
7939
8017
  onClick: handleSubmit,
7940
8018
  loading,
7941
- children: t(texts10.send)
8019
+ children: t(texts12.send)
7942
8020
  }
7943
8021
  )
7944
8022
  ] });
7945
8023
  };
7946
- var texts10 = createTexts({
8024
+ var texts12 = createTexts({
7947
8025
  send: {
7948
8026
  nb: "Send inn",
7949
8027
  no: "Send inn",
7950
8028
  nn: "Send inn",
7951
- en: "Send"
8029
+ en: "Send",
8030
+ se: "S\xE1dde"
7952
8031
  }
7953
8032
  });
7954
8033
 
@@ -8144,7 +8223,7 @@ var RatingComponent = ({
8144
8223
  ),
8145
8224
  children: [
8146
8225
  /* @__PURE__ */ (0, import_jsx_runtime255.jsx)("h2", { className: typographyStyles_default["label-medium"], children: ratingLabel }),
8147
- loading ? /* @__PURE__ */ (0, import_jsx_runtime255.jsx)(Spinner, { tooltip: t(texts11.uploadingFeedback) }) : /* @__PURE__ */ (0, import_jsx_runtime255.jsxs)(HStack, { gap: "x1", children: [
8226
+ loading ? /* @__PURE__ */ (0, import_jsx_runtime255.jsx)(Spinner, { tooltip: t(texts13.uploadingFeedback) }) : /* @__PURE__ */ (0, import_jsx_runtime255.jsxs)(HStack, { gap: "x1", children: [
8148
8227
  /* @__PURE__ */ (0, import_jsx_runtime255.jsx)(Tooltip, { text: thumbUpTooltip, children: button("positive", layout, thumbUpTooltip) }),
8149
8228
  /* @__PURE__ */ (0, import_jsx_runtime255.jsx)(Tooltip, { text: thumbDownTooltip, children: /* @__PURE__ */ (0, import_jsx_runtime255.jsx)("div", { children: button("negative", layout, thumbDownTooltip) }) })
8150
8229
  ] })
@@ -8152,12 +8231,13 @@ var RatingComponent = ({
8152
8231
  }
8153
8232
  );
8154
8233
  };
8155
- var texts11 = createTexts({
8234
+ var texts13 = createTexts({
8156
8235
  uploadingFeedback: {
8157
8236
  nb: "Laster opp tilbakemelding...",
8158
8237
  no: "Laster opp tilbakemelding...",
8159
8238
  nn: "Lastar opp tilbakemelding...",
8160
- en: "Uploading feedback..."
8239
+ en: "Uploading feedback...",
8240
+ se: "Vie\u017E\u017Eamin ruovttoluottadie\u0111uid..."
8161
8241
  }
8162
8242
  });
8163
8243
 
@@ -8186,14 +8266,14 @@ var Feedback = ({
8186
8266
  const [rating, setRating] = (0, import_react57.useState)(null);
8187
8267
  const [feedbackText, setFeedbackText] = (0, import_react57.useState)();
8188
8268
  const [isFeedbackSubmitted, setIsFeedbackSubmitted] = (0, import_react57.useState)(false);
8189
- const tRatingLabel = ratingLabel != null ? ratingLabel : t(texts12.ratingQuestion);
8190
- const tPositiveFeedbackLabel = positiveFeedbackLabel != null ? positiveFeedbackLabel : t(texts12.improvalQuestion);
8191
- const tNegativeFeedbackLabel = negativeFeedbackLabel != null ? negativeFeedbackLabel : t(texts12.improvalQuestion);
8192
- const tRatingSubmittedTitle = ratingSubmittedTitle != null ? ratingSubmittedTitle : t(texts12.thanks);
8193
- const tSubmittedTitle = submittedTitle != null ? submittedTitle : t(texts12.thanks);
8194
- const tTextAreaTip = textAreaTip != null ? textAreaTip : t(texts12.sensitiveInfo);
8195
- const tThumbUpTooltip = thumbUpTooltip != null ? thumbUpTooltip : t(texts12.good);
8196
- const tThumbDownTooltip = thumbDownTooltip != null ? thumbDownTooltip : t(texts12.bad);
8269
+ const tRatingLabel = ratingLabel != null ? ratingLabel : t(texts14.ratingQuestion);
8270
+ const tPositiveFeedbackLabel = positiveFeedbackLabel != null ? positiveFeedbackLabel : t(texts14.improvalQuestion);
8271
+ const tNegativeFeedbackLabel = negativeFeedbackLabel != null ? negativeFeedbackLabel : t(texts14.improvalQuestion);
8272
+ const tRatingSubmittedTitle = ratingSubmittedTitle != null ? ratingSubmittedTitle : t(texts14.thanks);
8273
+ const tSubmittedTitle = submittedTitle != null ? submittedTitle : t(texts14.thanks);
8274
+ const tTextAreaTip = textAreaTip != null ? textAreaTip : t(texts14.sensitiveInfo);
8275
+ const tThumbUpTooltip = thumbUpTooltip != null ? thumbUpTooltip : t(texts14.good);
8276
+ const tThumbDownTooltip = thumbDownTooltip != null ? thumbDownTooltip : t(texts14.bad);
8197
8277
  (0, import_react57.useEffect)(() => {
8198
8278
  if (ratingProp !== void 0) setRating(ratingProp);
8199
8279
  }, [ratingProp]);
@@ -8248,42 +8328,48 @@ var Feedback = ({
8248
8328
  }
8249
8329
  return /* @__PURE__ */ (0, import_jsx_runtime256.jsx)(Paragraph, { children: tSubmittedTitle });
8250
8330
  };
8251
- var texts12 = createTexts({
8331
+ var texts14 = createTexts({
8252
8332
  ratingQuestion: {
8253
8333
  nb: "Hva syns du om tjenesten?",
8254
8334
  no: "Hva syns du om tjenesten?",
8255
8335
  nn: "Kva synest du om tenesta?",
8256
- en: "What do you think about the service?"
8336
+ en: "What do you think about the service?",
8337
+ se: "Maid oaivvildat b\xE1lvalusa birra?"
8257
8338
  },
8258
8339
  improvalQuestion: {
8259
8340
  nb: "Hva kan vi forbedre? (valgfritt)",
8260
8341
  no: "Hva kan vi forbedre? (valgfritt)",
8261
8342
  nn: "Kva kan vi forbetre? (valfritt)",
8262
- en: "What can we improve? (optional)"
8343
+ en: "What can we improve? (optional)",
8344
+ se: "Maid s\xE1httit buoridit? (eavttola\u0161)"
8263
8345
  },
8264
8346
  thanks: {
8265
8347
  nb: "Tusen takk! Tilbakemeldingen din hjelper oss \xE5 forbedre l\xF8sningen",
8266
8348
  no: "Tusen takk! Tilbakemeldingen din hjelper oss \xE5 forbedre l\xF8sningen",
8267
8349
  nn: "Tusen takk! Tilbakemeldinga di hjelper oss \xE5 forbetre l\xF8ysinga",
8268
- en: "Thank you! Your feedback helps us improve the service"
8350
+ en: "Thank you! Your feedback helps us improve the service",
8351
+ se: "Giitu! Du m\xE1hcahat veahkeha min buoridit \u010Dovdosa"
8269
8352
  },
8270
8353
  sensitiveInfo: {
8271
8354
  nb: "Ikke send inn personopplysninger eller annen sensitiv informasjon",
8272
8355
  no: "Ikke send inn personopplysninger eller annen sensitiv informasjon",
8273
8356
  nn: "Ikkje send inn personopplysningar eller annan sensitiv informasjon",
8274
- en: "Do not submit personal data or other sensitive information"
8357
+ en: "Do not submit personal data or other sensitive information",
8358
+ se: "Ale s\xE1dde persuvdnadie\u0111uid dahje ear\xE1 sensitiiva die\u0111uid"
8275
8359
  },
8276
8360
  good: {
8277
8361
  nb: "Bra",
8278
8362
  no: "Bra",
8279
8363
  nn: "Bra",
8280
- en: "Good"
8364
+ en: "Good",
8365
+ se: "Buorre"
8281
8366
  },
8282
8367
  bad: {
8283
8368
  nb: "D\xE5rlig",
8284
8369
  no: "D\xE5rlig",
8285
8370
  nn: "D\xE5rleg",
8286
- en: "Bad"
8371
+ en: "Bad",
8372
+ se: "Heajos"
8287
8373
  }
8288
8374
  });
8289
8375
 
@@ -8418,9 +8504,9 @@ var File = (props) => {
8418
8504
  onClick: removeFile,
8419
8505
  icon: CloseIcon,
8420
8506
  htmlProps: {
8421
- "aria-label": t(texts13.removeFile(stateFile.file.name)),
8507
+ "aria-label": t(texts15.removeFile(stateFile.file.name)),
8422
8508
  "aria-invalid": !isValid ? true : void 0,
8423
- "aria-errormessage": !isValid ? t(texts13.invalidFile) : void 0,
8509
+ "aria-errormessage": !isValid ? t(texts15.invalidFile) : void 0,
8424
8510
  "aria-describedby": spaceSeparatedIdListGenerator(
8425
8511
  errorsList.map((e) => e.id)
8426
8512
  )
@@ -8434,18 +8520,20 @@ var File = (props) => {
8434
8520
  /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(ErrorList, { errors: errorsList })
8435
8521
  ] });
8436
8522
  };
8437
- var texts13 = createTexts({
8523
+ var texts15 = createTexts({
8438
8524
  removeFile: (file) => ({
8439
8525
  nb: `Fjern fil ${file}`,
8440
8526
  no: `Fjern fil ${file}`,
8441
8527
  nn: `Fjern fil ${file}`,
8442
- en: `Remove file ${file}`
8528
+ en: `Remove file ${file}`,
8529
+ se: `Sihku filla ${file}`
8443
8530
  }),
8444
8531
  invalidFile: {
8445
8532
  nb: "Ugyldig fil",
8446
8533
  no: "Ugyldig fil",
8447
8534
  nn: "Ugyldig fil",
8448
- en: "Invalid file"
8535
+ en: "Invalid file",
8536
+ se: "F\xE1mohis fiila"
8449
8537
  }
8450
8538
  });
8451
8539
 
@@ -8568,7 +8656,7 @@ var useFileUploader = (props) => {
8568
8656
  isFileDialogActive: false,
8569
8657
  isDragActive: false,
8570
8658
  rootErrors: calcRootErrors(
8571
- t(texts14.invalidFileAmount),
8659
+ t(texts16.invalidFileAmount),
8572
8660
  initialFileUploaderFiles,
8573
8661
  maxFiles,
8574
8662
  errorMessage
@@ -8581,7 +8669,7 @@ var useFileUploader = (props) => {
8581
8669
  const accepted = isFileAccepted(file, accept);
8582
8670
  return {
8583
8671
  file,
8584
- errors: accepted ? [] : [t(texts14.invalidFileType)]
8672
+ errors: accepted ? [] : [t(texts16.invalidFileType)]
8585
8673
  };
8586
8674
  });
8587
8675
  dispatch({
@@ -8594,7 +8682,7 @@ var useFileUploader = (props) => {
8594
8682
  dispatch({
8595
8683
  type: "setRootErrors",
8596
8684
  payload: calcRootErrors(
8597
- t(texts14.invalidFileAmount),
8685
+ t(texts16.invalidFileAmount),
8598
8686
  stateFiles,
8599
8687
  maxFiles,
8600
8688
  errorMessage
@@ -8648,7 +8736,7 @@ var useFileUploader = (props) => {
8648
8736
  const accepted = isFileAccepted(file, accept);
8649
8737
  return {
8650
8738
  file,
8651
- errors: accepted ? [] : [t(texts14.invalidFileType)]
8739
+ errors: accepted ? [] : [t(texts16.invalidFileType)]
8652
8740
  };
8653
8741
  }).concat(stateFiles);
8654
8742
  onChange(newFiles.map((f) => f.file));
@@ -8740,18 +8828,20 @@ var useFileUploader = (props) => {
8740
8828
  removeFile
8741
8829
  };
8742
8830
  };
8743
- var texts14 = createTexts({
8831
+ var texts16 = createTexts({
8744
8832
  invalidFileType: {
8745
8833
  nb: "Ugyldig filtype",
8746
8834
  no: "Ugyldig filtype",
8747
8835
  nn: "Ugyldig filtype",
8748
- en: "Invalid file type"
8836
+ en: "Invalid file type",
8837
+ se: "F\xE1mohis fila\u0161ladja"
8749
8838
  },
8750
8839
  invalidFileAmount: {
8751
8840
  nb: "For mange filer. Maksimalt antall er ",
8752
8841
  no: "For mange filer. Maksimalt antall er ",
8753
8842
  nn: "For mange filer. Maksimalt antall er ",
8754
- en: "Too many files. The maximum allowed is "
8843
+ en: "Too many files. The maximum allowed is ",
8844
+ se: "Menddo ollu fiillat. Maksim\xE1la lohku lea "
8755
8845
  }
8756
8846
  });
8757
8847
 
@@ -8762,7 +8852,7 @@ var FileUploader = (props) => {
8762
8852
  id,
8763
8853
  label,
8764
8854
  dropAreaLabel,
8765
- btnLabel = "Velg fil",
8855
+ btnLabel,
8766
8856
  tip,
8767
8857
  required = false,
8768
8858
  withDragAndDrop = true,
@@ -8782,7 +8872,8 @@ var FileUploader = (props) => {
8782
8872
  ...rest
8783
8873
  } = props;
8784
8874
  const { t } = useTranslation();
8785
- const tDropAreaLabel = dropAreaLabel != null ? dropAreaLabel : t(texts15.dragAndDropOr);
8875
+ const tDropAreaLabel = dropAreaLabel != null ? dropAreaLabel : t(texts17.dragAndDropOr);
8876
+ const tBtnLabel = btnLabel != null ? btnLabel : t(texts17.selectFile);
8786
8877
  const generatedId = (0, import_react59.useId)();
8787
8878
  const uniqueId = id != null ? id : `${generatedId}-fileUploader`;
8788
8879
  const {
@@ -8847,7 +8938,7 @@ var FileUploader = (props) => {
8847
8938
  ...rootErrorsList.map((e) => e.id)
8848
8939
  ])
8849
8940
  },
8850
- children: btnLabel
8941
+ children: tBtnLabel
8851
8942
  }
8852
8943
  );
8853
8944
  const input = /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(
@@ -8891,7 +8982,7 @@ var FileUploader = (props) => {
8891
8982
  children: [
8892
8983
  input,
8893
8984
  tDropAreaLabel,
8894
- /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(VisuallyHidden, { children: t(texts15.uploadFileWithButton) }),
8985
+ /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(VisuallyHidden, { children: t(texts17.uploadFileWithButton) }),
8895
8986
  button
8896
8987
  ]
8897
8988
  }
@@ -8909,14 +9000,14 @@ var FileUploader = (props) => {
8909
9000
  readOnly && FileUploader_default["readonly--file-list"]
8910
9001
  ),
8911
9002
  children: [
8912
- /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(VisuallyHidden, { id: fileListNameId, children: t(texts15.uploadedFiles) }),
9003
+ /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(VisuallyHidden, { id: fileListNameId, children: t(texts17.uploadedFiles) }),
8913
9004
  inactive && fileListElements.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(
8914
9005
  Typography,
8915
9006
  {
8916
9007
  italic: true,
8917
9008
  as: "span",
8918
9009
  color: disabled ? "text-subtle" : "text-medium",
8919
- children: t(texts15.noFiles)
9010
+ children: t(texts17.noFiles)
8920
9011
  }
8921
9012
  ) : /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(StylelessList, { "aria-labelledby": fileListNameId, children: fileListElements })
8922
9013
  ]
@@ -8927,30 +9018,41 @@ var FileUploader = (props) => {
8927
9018
  );
8928
9019
  };
8929
9020
  FileUploader.displayName = "FileUploader";
8930
- var texts15 = createTexts({
9021
+ var texts17 = createTexts({
8931
9022
  dragAndDropOr: {
8932
9023
  nb: "Dra og slipp filer her eller",
8933
9024
  no: "Dra og slipp filer her eller",
8934
9025
  nn: "Dra og slepp filer her eller",
8935
- en: "Drag and drop files here or"
9026
+ en: "Drag and drop files here or",
9027
+ se: "Sirdde fiillaid d\xE1sa dahje"
9028
+ },
9029
+ selectFile: {
9030
+ nb: "Velg fil",
9031
+ no: "Velg fil",
9032
+ nn: "Velg fil",
9033
+ en: "Sekect file",
9034
+ se: "V\xE1llje fiilla"
8936
9035
  },
8937
9036
  uploadFileWithButton: {
8938
9037
  nb: "last opp en fil med den p\xE5f\xF8lgende knappen",
8939
9038
  no: "last opp en fil med den p\xE5f\xF8lgende knappen",
8940
9039
  nn: "last opp ei fil med den p\xE5f\xF8lgjande knappen",
8941
- en: "upload using the following button"
9040
+ en: "upload using the following button",
9041
+ se: "vie\u010D\u010Da fiilla \u010Duovvova\u0161 boaluin"
8942
9042
  },
8943
9043
  noFiles: {
8944
9044
  nb: "Ingen filer.",
8945
9045
  no: "Ingen filer.",
8946
9046
  nn: "Ingen filer.",
8947
- en: "No files."
9047
+ en: "No files.",
9048
+ se: "Eai leat fiillat."
8948
9049
  },
8949
9050
  uploadedFiles: {
8950
9051
  nb: "Opplastede filer",
8951
9052
  no: "Opplastede filer",
8952
9053
  nn: "Opplasta filer",
8953
- en: "Uploaded files"
9054
+ en: "Uploaded files",
9055
+ se: "Vi\u017E\u017Eon fiillat"
8954
9056
  }
8955
9057
  });
8956
9058
 
@@ -9026,6 +9128,91 @@ var FooterListGroup = ({
9026
9128
  var import_jsx_runtime269 = require("react/jsx-runtime");
9027
9129
  var FooterLeft = ({ className, ...rest }) => /* @__PURE__ */ (0, import_jsx_runtime269.jsx)("div", { className: cn(className, Footer_default["left"]), ...rest });
9028
9130
 
9131
+ // src/components/FormSummary/FormSummary.tsx
9132
+ var import_jsx_runtime270 = require("react/jsx-runtime");
9133
+ var FormSummary = (props) => {
9134
+ const { children } = props;
9135
+ return /* @__PURE__ */ (0, import_jsx_runtime270.jsx)(Paper, { border: "border-subtle", padding: "x0.5 x0.5 x1 x0.75", ...props, children });
9136
+ };
9137
+
9138
+ // src/components/FormSummary/FormSummary.module.css
9139
+ var FormSummary_default = {
9140
+ dd: "FormSummary_dd",
9141
+ field: "FormSummary_field"
9142
+ };
9143
+
9144
+ // src/components/FormSummary/FormSummary.components.tsx
9145
+ var import_jsx_runtime271 = require("react/jsx-runtime");
9146
+ function FormSummaryHeader({ ...props }) {
9147
+ return /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(
9148
+ HStack,
9149
+ {
9150
+ ...props,
9151
+ justifyContent: "space-between",
9152
+ flexWrap: "wrap",
9153
+ alignItems: "center",
9154
+ gap: "x0.75",
9155
+ marginBlock: "0 x0.75"
9156
+ }
9157
+ );
9158
+ }
9159
+ function FormSummaryHeading({
9160
+ level = 2,
9161
+ ...props
9162
+ }) {
9163
+ return /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(Heading, { level, ...props });
9164
+ }
9165
+ function FormSummaryEditButton({
9166
+ purpose = "secondary",
9167
+ ...props
9168
+ }) {
9169
+ return /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(Button, { icon: EditIcon, purpose, size: "xsmall", ...props });
9170
+ }
9171
+ function FormSummaryFields({ ...props }) {
9172
+ return /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(DescriptionList, { ...props });
9173
+ }
9174
+ function FormSummaryField({
9175
+ className,
9176
+ ...props
9177
+ }) {
9178
+ return /* @__PURE__ */ (0, import_jsx_runtime271.jsx)("div", { ...props, className: cn(FormSummary_default.field, className) });
9179
+ }
9180
+ function FormSummaryLabel(props) {
9181
+ return /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(DescriptionListTerm, { ...props });
9182
+ }
9183
+ function FormSummaryValue({
9184
+ className,
9185
+ isLoading,
9186
+ children,
9187
+ ...props
9188
+ }) {
9189
+ return /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(DescriptionListDesc, { ...props, className: cn(className, FormSummary_default.dd), children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(Spinner, { size: "1.5em" }) : children });
9190
+ }
9191
+ function FormSummaryEmptyValue() {
9192
+ const { t } = useTranslation();
9193
+ return /* @__PURE__ */ (0, import_jsx_runtime271.jsxs)("span", { children: [
9194
+ /* @__PURE__ */ (0, import_jsx_runtime271.jsx)("span", { "aria-hidden": true, children: "-" }),
9195
+ " ",
9196
+ /* @__PURE__ */ (0, import_jsx_runtime271.jsxs)(VisuallyHidden, { children: [
9197
+ " ",
9198
+ t(texts18.noValue),
9199
+ " "
9200
+ ] })
9201
+ ] });
9202
+ }
9203
+ function FormSummaryError({ ...props }) {
9204
+ return /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(Box, { marginBlock: "x0.25 0", children: /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(InputMessage, { ...props, messageType: "error" }) });
9205
+ }
9206
+ var texts18 = createTexts({
9207
+ noValue: {
9208
+ nb: "Ikke fylt ut",
9209
+ no: "Ikke fylt ut",
9210
+ nn: "Ikkje fylt ut",
9211
+ en: "Not filled out",
9212
+ se: "Ii leat bidjan"
9213
+ }
9214
+ });
9215
+
9029
9216
  // src/components/GlobalMessage/GlobalMessage.tsx
9030
9217
  var import_react60 = require("react");
9031
9218
 
@@ -9041,7 +9228,7 @@ var GlobalMessage_default = {
9041
9228
  };
9042
9229
 
9043
9230
  // src/components/GlobalMessage/GlobalMessage.tsx
9044
- var import_jsx_runtime270 = require("react/jsx-runtime");
9231
+ var import_jsx_runtime272 = require("react/jsx-runtime");
9045
9232
  var icons = {
9046
9233
  info: InfoIcon,
9047
9234
  danger: ErrorIcon,
@@ -9060,7 +9247,7 @@ var GlobalMessage = ({
9060
9247
  }) => {
9061
9248
  const { t } = useTranslation();
9062
9249
  const [isClosed, setClosed] = (0, import_react60.useState)(false);
9063
- return !isClosed ? /* @__PURE__ */ (0, import_jsx_runtime270.jsxs)(
9250
+ return !isClosed ? /* @__PURE__ */ (0, import_jsx_runtime272.jsxs)(
9064
9251
  "div",
9065
9252
  {
9066
9253
  ...getBaseHTMLProps(
@@ -9075,17 +9262,17 @@ var GlobalMessage = ({
9075
9262
  rest
9076
9263
  ),
9077
9264
  children: [
9078
- /* @__PURE__ */ (0, import_jsx_runtime270.jsxs)(
9265
+ /* @__PURE__ */ (0, import_jsx_runtime272.jsxs)(
9079
9266
  "div",
9080
9267
  {
9081
9268
  className: cn(GlobalMessage_default.content, closable && GlobalMessage_default["content--closable"]),
9082
9269
  children: [
9083
- /* @__PURE__ */ (0, import_jsx_runtime270.jsx)(Icon, { icon: icons[purpose], className: GlobalMessage_default.icon }),
9084
- children != null ? children : /* @__PURE__ */ (0, import_jsx_runtime270.jsx)("span", { children: message })
9270
+ /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(Icon, { icon: icons[purpose], className: GlobalMessage_default.icon }),
9271
+ children != null ? children : /* @__PURE__ */ (0, import_jsx_runtime272.jsx)("span", { children: message })
9085
9272
  ]
9086
9273
  }
9087
9274
  ),
9088
- closable && /* @__PURE__ */ (0, import_jsx_runtime270.jsx)(
9275
+ closable && /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(
9089
9276
  Button,
9090
9277
  {
9091
9278
  icon: CloseIcon,
@@ -9110,14 +9297,14 @@ var InlineButton_default = {
9110
9297
  };
9111
9298
 
9112
9299
  // src/components/InlineButton/InlineButton.tsx
9113
- var import_jsx_runtime271 = require("react/jsx-runtime");
9300
+ var import_jsx_runtime273 = require("react/jsx-runtime");
9114
9301
  var InlineButton = ({
9115
9302
  className,
9116
9303
  color,
9117
9304
  icon,
9118
9305
  children,
9119
9306
  ...rest
9120
- }) => /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(
9307
+ }) => /* @__PURE__ */ (0, import_jsx_runtime273.jsx)(
9121
9308
  StylelessButton,
9122
9309
  {
9123
9310
  className: cn(
@@ -9128,7 +9315,7 @@ var InlineButton = ({
9128
9315
  getColorCn(color)
9129
9316
  ),
9130
9317
  ...rest,
9131
- children: icon ? /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(Icon, { icon, iconSize: "inherit" }) : children
9318
+ children: icon ? /* @__PURE__ */ (0, import_jsx_runtime273.jsx)(Icon, { icon, iconSize: "inherit" }) : children
9132
9319
  }
9133
9320
  );
9134
9321
 
@@ -9137,7 +9324,7 @@ var import_react63 = require("react");
9137
9324
 
9138
9325
  // src/components/InlineEdit/InlineEdit.context.tsx
9139
9326
  var import_react61 = require("react");
9140
- var import_jsx_runtime272 = require("react/jsx-runtime");
9327
+ var import_jsx_runtime274 = require("react/jsx-runtime");
9141
9328
  var InlineEditContext = (0, import_react61.createContext)(
9142
9329
  {}
9143
9330
  );
@@ -9181,7 +9368,7 @@ var InlineEditContextProvider = (props) => {
9181
9368
  useOnKeyDown(["Enter"], () => onExitHandler());
9182
9369
  useOnKeyDown(["Escape"], () => onExitHandler());
9183
9370
  useOnClickOutside(inputRef == null ? void 0 : inputRef.current, () => onExitHandler());
9184
- return /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(
9371
+ return /* @__PURE__ */ (0, import_jsx_runtime274.jsx)(
9185
9372
  InlineEditContext,
9186
9373
  {
9187
9374
  value: {
@@ -9216,26 +9403,29 @@ var InlineEdit_default = {
9216
9403
  };
9217
9404
 
9218
9405
  // src/components/InlineEdit/InlineEdit.utils.tsx
9219
- var import_jsx_runtime273 = require("react/jsx-runtime");
9406
+ var import_jsx_runtime275 = require("react/jsx-runtime");
9220
9407
  var inlineEditVisuallyHidden = (id, clearable) => {
9221
9408
  const { t } = useTranslation();
9222
- return /* @__PURE__ */ (0, import_jsx_runtime273.jsxs)(VisuallyHidden, { id, children: [
9223
- t(texts16.inlineEditInfo),
9224
- !clearable && t(texts16.notClearable)
9409
+ return /* @__PURE__ */ (0, import_jsx_runtime275.jsxs)(VisuallyHidden, { id, children: [
9410
+ t(texts19.inlineEditInfo),
9411
+ " ",
9412
+ !clearable && t(texts19.notClearable)
9225
9413
  ] });
9226
9414
  };
9227
- var texts16 = createTexts({
9415
+ var texts19 = createTexts({
9228
9416
  inlineEditInfo: {
9229
9417
  nb: "Escape, Enter eller Tab for \xE5 lagre.",
9230
9418
  no: "Escape, Enter eller Tab for \xE5 lagre.",
9231
9419
  nn: "Escape, Enter eller Tab for \xE5 lagra.",
9232
- en: "Escape, Enter or Tab to save."
9420
+ en: "Escape, Enter or Tab to save.",
9421
+ se: "Escape, Enter dahje Tab go \xE1iggut vurket"
9233
9422
  },
9234
9423
  notClearable: {
9235
- nb: " Innskrivingsfeltet kan ikke t\xF8mmes.",
9236
- no: " Innskrivingsfeltet kan ikke t\xF8mmes.",
9237
- nn: " Innskrivingsfeltet kan ikkje t\xF8mmast.",
9238
- en: " Input field cannot be cleared."
9424
+ nb: "Innskrivingsfeltet kan ikke t\xF8mmes.",
9425
+ no: "Innskrivingsfeltet kan ikke t\xF8mmes.",
9426
+ nn: "Innskrivingsfeltet kan ikkje t\xF8mmast.",
9427
+ en: "Input field cannot be cleared.",
9428
+ se: "\u010C\xE1llinb\xE1ikki ii s\xE1hte sihkut"
9239
9429
  }
9240
9430
  });
9241
9431
  var inlineEditCns = (hasErrorState, showEditingIcon) => [
@@ -9285,7 +9475,7 @@ function createClearChangeEvent(elementId) {
9285
9475
  }
9286
9476
 
9287
9477
  // src/components/InlineEdit/InlineField.tsx
9288
- var import_jsx_runtime274 = require("react/jsx-runtime");
9478
+ var import_jsx_runtime276 = require("react/jsx-runtime");
9289
9479
  function InlineField(props) {
9290
9480
  const {
9291
9481
  elementType,
@@ -9331,7 +9521,7 @@ function InlineField(props) {
9331
9521
  const cnArgs = [hasErrorState, !isEditing && !hideIcon];
9332
9522
  const iconSize = "small";
9333
9523
  function makeIcon(icon, className2) {
9334
- return /* @__PURE__ */ (0, import_jsx_runtime274.jsx)(
9524
+ return /* @__PURE__ */ (0, import_jsx_runtime276.jsx)(
9335
9525
  Icon,
9336
9526
  {
9337
9527
  iconSize,
@@ -9346,7 +9536,7 @@ function InlineField(props) {
9346
9536
  const renderElement = () => {
9347
9537
  switch (elementType) {
9348
9538
  case "input":
9349
- return /* @__PURE__ */ (0, import_jsx_runtime274.jsx)(
9539
+ return /* @__PURE__ */ (0, import_jsx_runtime276.jsx)(
9350
9540
  "input",
9351
9541
  {
9352
9542
  ...rest,
@@ -9356,7 +9546,7 @@ function InlineField(props) {
9356
9546
  }
9357
9547
  );
9358
9548
  case "textarea":
9359
- return /* @__PURE__ */ (0, import_jsx_runtime274.jsx)(
9549
+ return /* @__PURE__ */ (0, import_jsx_runtime276.jsx)(
9360
9550
  "textarea",
9361
9551
  {
9362
9552
  ...rest,
@@ -9366,8 +9556,8 @@ function InlineField(props) {
9366
9556
  }
9367
9557
  );
9368
9558
  case "select":
9369
- return /* @__PURE__ */ (0, import_jsx_runtime274.jsxs)(import_jsx_runtime274.Fragment, { children: [
9370
- /* @__PURE__ */ (0, import_jsx_runtime274.jsx)(
9559
+ return /* @__PURE__ */ (0, import_jsx_runtime276.jsxs)(import_jsx_runtime276.Fragment, { children: [
9560
+ /* @__PURE__ */ (0, import_jsx_runtime276.jsx)(
9371
9561
  "select",
9372
9562
  {
9373
9563
  ...rest,
@@ -9376,7 +9566,7 @@ function InlineField(props) {
9376
9566
  className: cn(className, ...inlineSelectCns(...cnArgs, hasValue))
9377
9567
  }
9378
9568
  ),
9379
- hasValue && emptiable && /* @__PURE__ */ (0, import_jsx_runtime274.jsx)(
9569
+ hasValue && emptiable && /* @__PURE__ */ (0, import_jsx_runtime276.jsx)(
9380
9570
  ClearButton,
9381
9571
  {
9382
9572
  "aria-label": t(commonTexts.clearSelect),
@@ -9391,8 +9581,8 @@ function InlineField(props) {
9391
9581
  return null;
9392
9582
  }
9393
9583
  };
9394
- return /* @__PURE__ */ (0, import_jsx_runtime274.jsxs)(Box, { position: "relative", width, children: [
9395
- /* @__PURE__ */ (0, import_jsx_runtime274.jsxs)("div", { className: Input_default["input-group"], children: [
9584
+ return /* @__PURE__ */ (0, import_jsx_runtime276.jsxs)(Box, { position: "relative", width, children: [
9585
+ /* @__PURE__ */ (0, import_jsx_runtime276.jsxs)("div", { className: Input_default["input-group"], children: [
9396
9586
  !isEditing && !hideIcon && makeIcon(EditIcon, InlineEdit_default["edit-icon"]),
9397
9587
  renderElement()
9398
9588
  ] }),
@@ -9402,7 +9592,7 @@ function InlineField(props) {
9402
9592
  }
9403
9593
 
9404
9594
  // src/components/InlineEdit/InlineEditTextArea/InlineEditTextArea.tsx
9405
- var import_jsx_runtime275 = require("react/jsx-runtime");
9595
+ var import_jsx_runtime277 = require("react/jsx-runtime");
9406
9596
  var InlineEditTextArea = ({
9407
9597
  onSetValue,
9408
9598
  emptiable,
@@ -9415,7 +9605,7 @@ var InlineEditTextArea = ({
9415
9605
  }) => {
9416
9606
  const textareaRef = (0, import_react63.useRef)(null);
9417
9607
  const combinedRef = useCombinedRef(ref, textareaRef);
9418
- return /* @__PURE__ */ (0, import_jsx_runtime275.jsx)(
9608
+ return /* @__PURE__ */ (0, import_jsx_runtime277.jsx)(
9419
9609
  InlineEditContextProvider,
9420
9610
  {
9421
9611
  onSetValue,
@@ -9425,14 +9615,14 @@ var InlineEditTextArea = ({
9425
9615
  onFocus,
9426
9616
  onChange,
9427
9617
  onBlur,
9428
- children: /* @__PURE__ */ (0, import_jsx_runtime275.jsx)(InlineField, { elementType: "textarea", ...rest, ref: combinedRef })
9618
+ children: /* @__PURE__ */ (0, import_jsx_runtime277.jsx)(InlineField, { elementType: "textarea", ...rest, ref: combinedRef })
9429
9619
  }
9430
9620
  );
9431
9621
  };
9432
9622
 
9433
9623
  // src/components/InlineEdit/InlineEditInput/InlineEditInput.tsx
9434
9624
  var import_react64 = require("react");
9435
- var import_jsx_runtime276 = require("react/jsx-runtime");
9625
+ var import_jsx_runtime278 = require("react/jsx-runtime");
9436
9626
  var InlineEditInput = ({
9437
9627
  onSetValue,
9438
9628
  emptiable,
@@ -9445,7 +9635,7 @@ var InlineEditInput = ({
9445
9635
  }) => {
9446
9636
  const inputRef = (0, import_react64.useRef)(null);
9447
9637
  const combinedRef = useCombinedRef(ref, inputRef);
9448
- return /* @__PURE__ */ (0, import_jsx_runtime276.jsx)(
9638
+ return /* @__PURE__ */ (0, import_jsx_runtime278.jsx)(
9449
9639
  InlineEditContextProvider,
9450
9640
  {
9451
9641
  onSetValue,
@@ -9455,14 +9645,14 @@ var InlineEditInput = ({
9455
9645
  onFocus,
9456
9646
  onChange,
9457
9647
  onBlur,
9458
- children: /* @__PURE__ */ (0, import_jsx_runtime276.jsx)(InlineField, { elementType: "input", ...rest, ref: combinedRef })
9648
+ children: /* @__PURE__ */ (0, import_jsx_runtime278.jsx)(InlineField, { elementType: "input", ...rest, ref: combinedRef })
9459
9649
  }
9460
9650
  );
9461
9651
  };
9462
9652
 
9463
9653
  // src/components/InlineEdit/InlineEditSelect/InlineEditSelect.tsx
9464
9654
  var import_react65 = require("react");
9465
- var import_jsx_runtime277 = require("react/jsx-runtime");
9655
+ var import_jsx_runtime279 = require("react/jsx-runtime");
9466
9656
  var InlineEditSelect = ({
9467
9657
  onSetValue,
9468
9658
  emptiable,
@@ -9475,7 +9665,7 @@ var InlineEditSelect = ({
9475
9665
  }) => {
9476
9666
  const inputRef = (0, import_react65.useRef)(null);
9477
9667
  const combinedRef = useCombinedRef(ref, inputRef);
9478
- return /* @__PURE__ */ (0, import_jsx_runtime277.jsx)(
9668
+ return /* @__PURE__ */ (0, import_jsx_runtime279.jsx)(
9479
9669
  InlineEditContextProvider,
9480
9670
  {
9481
9671
  onSetValue,
@@ -9485,7 +9675,7 @@ var InlineEditSelect = ({
9485
9675
  onFocus,
9486
9676
  onChange,
9487
9677
  onBlur,
9488
- children: /* @__PURE__ */ (0, import_jsx_runtime277.jsx)(InlineField, { elementType: "select", ...rest, ref: combinedRef })
9678
+ children: /* @__PURE__ */ (0, import_jsx_runtime279.jsx)(InlineField, { elementType: "select", ...rest, ref: combinedRef })
9489
9679
  }
9490
9680
  );
9491
9681
  };
@@ -9507,8 +9697,8 @@ var InternalHeader_default = {
9507
9697
  };
9508
9698
 
9509
9699
  // src/components/InternalHeader/NavigationItem.tsx
9510
- var import_jsx_runtime278 = require("react/jsx-runtime");
9511
- var NavigationItem = ({ isCurrent, ...rest }) => /* @__PURE__ */ (0, import_jsx_runtime278.jsx)(
9700
+ var import_jsx_runtime280 = require("react/jsx-runtime");
9701
+ var NavigationItem = ({ isCurrent, ...rest }) => /* @__PURE__ */ (0, import_jsx_runtime280.jsx)(
9512
9702
  "a",
9513
9703
  {
9514
9704
  ...rest,
@@ -9523,7 +9713,7 @@ var NavigationItem = ({ isCurrent, ...rest }) => /* @__PURE__ */ (0, import_jsx_
9523
9713
  );
9524
9714
 
9525
9715
  // src/components/InternalHeader/InternalHeader.tsx
9526
- var import_jsx_runtime279 = require("react/jsx-runtime");
9716
+ var import_jsx_runtime281 = require("react/jsx-runtime");
9527
9717
  var import_react67 = require("react");
9528
9718
  var InternalHeader = (props) => {
9529
9719
  const {
@@ -9553,7 +9743,7 @@ var InternalHeader = (props) => {
9553
9743
  const hasContextMenuElements = !!contextMenuItems && contextMenuItems.length > 0;
9554
9744
  const hasSmallScreenBreakpoint = !!smallScreenBreakpoint;
9555
9745
  const hasNavInContextMenu = hasSmallScreenBreakpoint && hasNavigationElements;
9556
- const navigation = hasNavigationElements ? /* @__PURE__ */ (0, import_jsx_runtime279.jsx)("nav", { "aria-label": t(texts17.siteNavigation), children: /* @__PURE__ */ (0, import_jsx_runtime279.jsx)(
9746
+ const navigation = hasNavigationElements ? /* @__PURE__ */ (0, import_jsx_runtime281.jsx)("nav", { "aria-label": t(texts20.siteNavigation), children: /* @__PURE__ */ (0, import_jsx_runtime281.jsx)(
9557
9747
  ShowHide,
9558
9748
  {
9559
9749
  as: StylelessList,
@@ -9562,7 +9752,7 @@ var InternalHeader = (props) => {
9562
9752
  children: navItems.map((item, i) => {
9563
9753
  const { href, ...rest2 } = item;
9564
9754
  const isCurrent = href === currentPage;
9565
- return /* @__PURE__ */ (0, import_jsx_runtime279.jsx)("li", { className: InternalHeader_default["nav-list__item"], children: /* @__PURE__ */ (0, import_jsx_runtime279.jsx)(
9755
+ return /* @__PURE__ */ (0, import_jsx_runtime281.jsx)("li", { className: InternalHeader_default["nav-list__item"], children: /* @__PURE__ */ (0, import_jsx_runtime281.jsx)(
9566
9756
  NavigationItem,
9567
9757
  {
9568
9758
  href,
@@ -9576,7 +9766,7 @@ var InternalHeader = (props) => {
9576
9766
  ) }) : null;
9577
9767
  const hasContextMenu = hasContextMenuElements || !!user || hasNavInContextMenu;
9578
9768
  const hasContextMenuLargeScreen = hasContextMenuElements || !!user;
9579
- return /* @__PURE__ */ (0, import_jsx_runtime279.jsxs)(
9769
+ return /* @__PURE__ */ (0, import_jsx_runtime281.jsxs)(
9580
9770
  Box,
9581
9771
  {
9582
9772
  display: "flex",
@@ -9594,7 +9784,7 @@ var InternalHeader = (props) => {
9594
9784
  rest
9595
9785
  ),
9596
9786
  children: [
9597
- /* @__PURE__ */ (0, import_jsx_runtime279.jsx)(Typography, { typographyType: "headingSmall", bold: true, as: "span", children: applicationHref ? /* @__PURE__ */ (0, import_jsx_runtime279.jsx)(
9787
+ /* @__PURE__ */ (0, import_jsx_runtime281.jsx)(Typography, { typographyType: "headingSmall", bold: true, as: "span", children: applicationHref ? /* @__PURE__ */ (0, import_jsx_runtime281.jsx)(
9598
9788
  "a",
9599
9789
  {
9600
9790
  href: applicationHref,
@@ -9603,42 +9793,42 @@ var InternalHeader = (props) => {
9603
9793
  children: applicationName
9604
9794
  }
9605
9795
  ) : applicationName }),
9606
- /* @__PURE__ */ (0, import_jsx_runtime279.jsx)(Typography, { typographyType: "bodyMedium", as: "span", children: applicationDesc }),
9607
- (hasContextMenu || navigation !== null) && /* @__PURE__ */ (0, import_jsx_runtime279.jsx)("div", { className: InternalHeader_default["bar-separator"] }),
9796
+ /* @__PURE__ */ (0, import_jsx_runtime281.jsx)(Typography, { typographyType: "bodyMedium", as: "span", children: applicationDesc }),
9797
+ (hasContextMenu || navigation !== null) && /* @__PURE__ */ (0, import_jsx_runtime281.jsx)("div", { className: InternalHeader_default["bar-separator"] }),
9608
9798
  navigation,
9609
- hasContextMenu && /* @__PURE__ */ (0, import_jsx_runtime279.jsx)(
9799
+ hasContextMenu && /* @__PURE__ */ (0, import_jsx_runtime281.jsx)(
9610
9800
  ShowHide,
9611
9801
  {
9612
9802
  showBelow: !hasContextMenuLargeScreen && hasSmallScreenBreakpoint ? smallScreenBreakpoint : void 0,
9613
9803
  className: cn(InternalHeader_default["context-menu-group"]),
9614
- children: /* @__PURE__ */ (0, import_jsx_runtime279.jsxs)(OverflowMenuGroup, { children: [
9615
- /* @__PURE__ */ (0, import_jsx_runtime279.jsx)(
9804
+ children: /* @__PURE__ */ (0, import_jsx_runtime281.jsxs)(OverflowMenuGroup, { children: [
9805
+ /* @__PURE__ */ (0, import_jsx_runtime281.jsx)(
9616
9806
  Button,
9617
9807
  {
9618
9808
  icon: hasNavInContextMenu ? MenuIcon : MoreVerticalIcon,
9619
9809
  purpose: "tertiary",
9620
- "aria-label": t(texts17.openMenu)
9810
+ "aria-label": t(texts20.openMenu)
9621
9811
  }
9622
9812
  ),
9623
- /* @__PURE__ */ (0, import_jsx_runtime279.jsxs)(OverflowMenu, { className: InternalHeader_default["context-menu"], children: [
9624
- user && /* @__PURE__ */ (0, import_jsx_runtime279.jsx)(OverflowMenuList, { children: user.href ? /* @__PURE__ */ (0, import_jsx_runtime279.jsx)(OverflowMenuLink, { icon: PersonIcon, ...user }) : /* @__PURE__ */ (0, import_jsx_runtime279.jsx)(OverflowMenuSpan, { icon: PersonIcon, ...user }) }),
9625
- hasNavInContextMenu && /* @__PURE__ */ (0, import_jsx_runtime279.jsx)(
9813
+ /* @__PURE__ */ (0, import_jsx_runtime281.jsxs)(OverflowMenu, { className: InternalHeader_default["context-menu"], children: [
9814
+ user && /* @__PURE__ */ (0, import_jsx_runtime281.jsx)(OverflowMenuList, { children: user.href ? /* @__PURE__ */ (0, import_jsx_runtime281.jsx)(OverflowMenuLink, { icon: PersonIcon, ...user }) : /* @__PURE__ */ (0, import_jsx_runtime281.jsx)(OverflowMenuSpan, { icon: PersonIcon, ...user }) }),
9815
+ hasNavInContextMenu && /* @__PURE__ */ (0, import_jsx_runtime281.jsx)(
9626
9816
  ShowHide,
9627
9817
  {
9628
9818
  as: "nav",
9629
- "aria-label": t(texts17.siteNavigation),
9819
+ "aria-label": t(texts20.siteNavigation),
9630
9820
  showBelow: smallScreenBreakpoint,
9631
- children: /* @__PURE__ */ (0, import_jsx_runtime279.jsx)(OverflowMenuList, { children: navItems.map((item, i) => /* @__PURE__ */ (0, import_react67.createElement)(OverflowMenuLink, { ...item, key: `nav-${i}` })) })
9821
+ children: /* @__PURE__ */ (0, import_jsx_runtime281.jsx)(OverflowMenuList, { children: navItems.map((item, i) => /* @__PURE__ */ (0, import_react67.createElement)(OverflowMenuLink, { ...item, key: `nav-${i}` })) })
9632
9822
  }
9633
9823
  ),
9634
- hasNavInContextMenu && hasContextMenuElements && /* @__PURE__ */ (0, import_jsx_runtime279.jsx)(
9824
+ hasNavInContextMenu && hasContextMenuElements && /* @__PURE__ */ (0, import_jsx_runtime281.jsx)(
9635
9825
  ShowHide,
9636
9826
  {
9637
9827
  as: OverflowMenuDivider,
9638
9828
  showBelow: smallScreenBreakpoint
9639
9829
  }
9640
9830
  ),
9641
- hasContextMenuElements && /* @__PURE__ */ (0, import_jsx_runtime279.jsx)(OverflowMenuList, { children: contextMenuItems.map((item, i) => {
9831
+ hasContextMenuElements && /* @__PURE__ */ (0, import_jsx_runtime281.jsx)(OverflowMenuList, { children: contextMenuItems.map((item, i) => {
9642
9832
  return item.href ? /* @__PURE__ */ (0, import_react67.createElement)(
9643
9833
  OverflowMenuLink,
9644
9834
  {
@@ -9662,18 +9852,20 @@ var InternalHeader = (props) => {
9662
9852
  );
9663
9853
  };
9664
9854
  InternalHeader.displayName = "InternalHeader";
9665
- var texts17 = createTexts({
9855
+ var texts20 = createTexts({
9666
9856
  openMenu: {
9667
9857
  nb: "\xC5pne meny",
9668
9858
  no: "\xC5pne meny",
9669
9859
  nn: "Opna meny",
9670
- en: "Open menu"
9860
+ en: "Open menu",
9861
+ se: "Rabas f\xE1llu"
9671
9862
  },
9672
9863
  siteNavigation: {
9673
9864
  nb: "Sidenavigasjon",
9674
9865
  no: "Sidenavigasjon",
9675
9866
  nn: "Sidenavigasjon",
9676
- en: "Site navigation"
9867
+ en: "Site navigation",
9868
+ se: "Siidu navig\xE1\u0161uvdna"
9677
9869
  }
9678
9870
  });
9679
9871
 
@@ -9687,7 +9879,7 @@ var List_default = {
9687
9879
  };
9688
9880
 
9689
9881
  // src/components/List/List.tsx
9690
- var import_jsx_runtime280 = require("react/jsx-runtime");
9882
+ var import_jsx_runtime282 = require("react/jsx-runtime");
9691
9883
  var List = ({
9692
9884
  listType = "unordered",
9693
9885
  typographyType = "inherit",
@@ -9698,7 +9890,7 @@ var List = ({
9698
9890
  ...rest
9699
9891
  }) => {
9700
9892
  const List2 = listType === "ordered" ? "ol" : "ul";
9701
- return /* @__PURE__ */ (0, import_jsx_runtime280.jsx)(
9893
+ return /* @__PURE__ */ (0, import_jsx_runtime282.jsx)(
9702
9894
  List2,
9703
9895
  {
9704
9896
  ...getBaseHTMLProps(id, className, htmlProps, rest),
@@ -9714,8 +9906,8 @@ var List = ({
9714
9906
  List.displayName = "List";
9715
9907
 
9716
9908
  // src/components/List/ListItem.tsx
9717
- var import_jsx_runtime281 = require("react/jsx-runtime");
9718
- var ListItem = ({ className, ...rest }) => /* @__PURE__ */ (0, import_jsx_runtime281.jsx)("li", { ...rest, className: cn(className, List_default.li) });
9909
+ var import_jsx_runtime283 = require("react/jsx-runtime");
9910
+ var ListItem = ({ className, ...rest }) => /* @__PURE__ */ (0, import_jsx_runtime283.jsx)("li", { ...rest, className: cn(className, List_default.li) });
9719
9911
  ListItem.displayName = "ListItem";
9720
9912
 
9721
9913
  // src/components/LocalMessage/LocalMessage.tsx
@@ -9740,7 +9932,7 @@ var LocalMessage_default = {
9740
9932
  };
9741
9933
 
9742
9934
  // src/components/LocalMessage/LocalMessage.tsx
9743
- var import_jsx_runtime282 = require("react/jsx-runtime");
9935
+ var import_jsx_runtime284 = require("react/jsx-runtime");
9744
9936
  var icons2 = {
9745
9937
  info: InfoIcon,
9746
9938
  danger: ErrorIcon,
@@ -9764,9 +9956,9 @@ var LocalMessage = ({
9764
9956
  const { t } = useTranslation();
9765
9957
  const [isClosed, setClosed] = (0, import_react68.useState)(false);
9766
9958
  if (isClosed) {
9767
- return /* @__PURE__ */ (0, import_jsx_runtime282.jsx)(import_jsx_runtime282.Fragment, {});
9959
+ return /* @__PURE__ */ (0, import_jsx_runtime284.jsx)(import_jsx_runtime284.Fragment, {});
9768
9960
  }
9769
- return /* @__PURE__ */ (0, import_jsx_runtime282.jsxs)(
9961
+ return /* @__PURE__ */ (0, import_jsx_runtime284.jsxs)(
9770
9962
  Box,
9771
9963
  {
9772
9964
  ...getBaseHTMLProps(
@@ -9787,15 +9979,15 @@ var LocalMessage = ({
9787
9979
  padding: "x0.75 x0.75 x0.75 x0.5",
9788
9980
  gap: "x0.5",
9789
9981
  children: [
9790
- /* @__PURE__ */ (0, import_jsx_runtime282.jsx)(
9982
+ /* @__PURE__ */ (0, import_jsx_runtime284.jsx)(
9791
9983
  Icon,
9792
9984
  {
9793
9985
  icon: icons2[purpose],
9794
9986
  className: cn(LocalMessage_default.icon, LocalMessage_default.container__icon)
9795
9987
  }
9796
9988
  ),
9797
- /* @__PURE__ */ (0, import_jsx_runtime282.jsx)("div", { className: LocalMessage_default.container__text, children: children != null ? children : /* @__PURE__ */ (0, import_jsx_runtime282.jsx)("span", { children: message }) }),
9798
- closable && /* @__PURE__ */ (0, import_jsx_runtime282.jsx)(
9989
+ /* @__PURE__ */ (0, import_jsx_runtime284.jsx)("div", { className: LocalMessage_default.container__text, children: children != null ? children : /* @__PURE__ */ (0, import_jsx_runtime284.jsx)("span", { children: message }) }),
9990
+ closable && /* @__PURE__ */ (0, import_jsx_runtime284.jsx)(
9799
9991
  Button,
9800
9992
  {
9801
9993
  icon: CloseIcon,
@@ -9830,7 +10022,7 @@ var Modal_default = {
9830
10022
  };
9831
10023
 
9832
10024
  // src/components/Modal/Modal.tsx
9833
- var import_jsx_runtime283 = require("react/jsx-runtime");
10025
+ var import_jsx_runtime285 = require("react/jsx-runtime");
9834
10026
  var Modal = ({
9835
10027
  isOpen = false,
9836
10028
  parentElement,
@@ -9881,14 +10073,14 @@ var Modal = ({
9881
10073
  useOnKeyDown(["Escape", "Esc"], () => handleClose());
9882
10074
  const hasTransitionedIn = useMountTransition(isOpen, 200);
9883
10075
  return (isOpen || hasTransitionedIn) && portalTarget ? (0, import_react_dom4.createPortal)(
9884
- /* @__PURE__ */ (0, import_jsx_runtime283.jsx)(
10076
+ /* @__PURE__ */ (0, import_jsx_runtime285.jsx)(
9885
10077
  Backdrop,
9886
10078
  {
9887
10079
  zIndex: "modal",
9888
10080
  isMounted: isOpen && hasTransitionedIn,
9889
10081
  ref: backdropRef,
9890
10082
  onClick: onBackdropClick,
9891
- children: /* @__PURE__ */ (0, import_jsx_runtime283.jsxs)(
10083
+ children: /* @__PURE__ */ (0, import_jsx_runtime285.jsxs)(
9892
10084
  Paper,
9893
10085
  {
9894
10086
  display: "flex",
@@ -9915,7 +10107,7 @@ var Modal = ({
9915
10107
  id: modalId,
9916
10108
  elevation: 4,
9917
10109
  children: [
9918
- /* @__PURE__ */ (0, import_jsx_runtime283.jsxs)(
10110
+ /* @__PURE__ */ (0, import_jsx_runtime285.jsxs)(
9919
10111
  HStack,
9920
10112
  {
9921
10113
  paddingBlock: "0 x0.75",
@@ -9925,8 +10117,8 @@ var Modal = ({
9925
10117
  width: "100%",
9926
10118
  className: Modal_default["header-container"],
9927
10119
  children: [
9928
- !!header && /* @__PURE__ */ (0, import_jsx_runtime283.jsx)("div", { id: headerId, children: typeof header === "string" ? /* @__PURE__ */ (0, import_jsx_runtime283.jsx)(Heading, { level: 2, typographyType: "headingLarge", children: header }) : header }),
9929
- onClose && /* @__PURE__ */ (0, import_jsx_runtime283.jsx)(
10120
+ !!header && /* @__PURE__ */ (0, import_jsx_runtime285.jsx)("div", { id: headerId, children: typeof header === "string" ? /* @__PURE__ */ (0, import_jsx_runtime285.jsx)(Heading, { level: 2, typographyType: "headingLarge", children: header }) : header }),
10121
+ onClose && /* @__PURE__ */ (0, import_jsx_runtime285.jsx)(
9930
10122
  Button,
9931
10123
  {
9932
10124
  size: "small",
@@ -9940,7 +10132,7 @@ var Modal = ({
9940
10132
  ]
9941
10133
  }
9942
10134
  ),
9943
- /* @__PURE__ */ (0, import_jsx_runtime283.jsx)(Box, { display: "grid", gap: "x1", children })
10135
+ /* @__PURE__ */ (0, import_jsx_runtime285.jsx)(Box, { display: "grid", gap: "x1", children })
9944
10136
  ]
9945
10137
  }
9946
10138
  )
@@ -9952,7 +10144,7 @@ var Modal = ({
9952
10144
  Modal.displayName = "Modal";
9953
10145
 
9954
10146
  // src/components/Modal/ModalBody.tsx
9955
- var import_jsx_runtime284 = require("react/jsx-runtime");
10147
+ var import_jsx_runtime286 = require("react/jsx-runtime");
9956
10148
  var ModalBody = ({
9957
10149
  children,
9958
10150
  id,
@@ -9962,7 +10154,7 @@ var ModalBody = ({
9962
10154
  height,
9963
10155
  ...rest
9964
10156
  }) => {
9965
- return /* @__PURE__ */ (0, import_jsx_runtime284.jsx)(
10157
+ return /* @__PURE__ */ (0, import_jsx_runtime286.jsx)(
9966
10158
  "div",
9967
10159
  {
9968
10160
  ...getBaseHTMLProps(
@@ -9984,8 +10176,8 @@ var ModalBody = ({
9984
10176
  ModalBody.displayName = "ModalBody";
9985
10177
 
9986
10178
  // src/components/Modal/ModalActions.tsx
9987
- var import_jsx_runtime285 = require("react/jsx-runtime");
9988
- var ModalActions = (props) => /* @__PURE__ */ (0, import_jsx_runtime285.jsx)(Box, { display: "flex", flexWrap: "wrap", gap: "x1", ...props });
10179
+ var import_jsx_runtime287 = require("react/jsx-runtime");
10180
+ var ModalActions = (props) => /* @__PURE__ */ (0, import_jsx_runtime287.jsx)(Box, { display: "flex", flexWrap: "wrap", gap: "x1", ...props });
9989
10181
  ModalActions.displayName = "ModalActions";
9990
10182
 
9991
10183
  // src/components/Pagination/Pagination.tsx
@@ -10316,7 +10508,7 @@ var getCustomStyles = (size2, hasError, hasIcon, isReadOnly) => ({
10316
10508
  // src/components/Select/SelectComponents.tsx
10317
10509
  var import_react70 = __toESM(require("react"));
10318
10510
  var import_react_select = require("react-select");
10319
- var import_jsx_runtime286 = require("react/jsx-runtime");
10511
+ var import_jsx_runtime288 = require("react/jsx-runtime");
10320
10512
  var {
10321
10513
  Option,
10322
10514
  NoOptionsMessage,
@@ -10339,30 +10531,30 @@ var getIndicatorIconSize = (componentSize) => {
10339
10531
  };
10340
10532
  var DDSOption = ({
10341
10533
  ...props
10342
- }) => /* @__PURE__ */ (0, import_jsx_runtime286.jsxs)(Option, { ...props, children: [
10343
- props.isSelected && /* @__PURE__ */ (0, import_jsx_runtime286.jsx)(Icon, { icon: CheckIcon, iconSize: "small" }),
10534
+ }) => /* @__PURE__ */ (0, import_jsx_runtime288.jsxs)(Option, { ...props, children: [
10535
+ props.isSelected && /* @__PURE__ */ (0, import_jsx_runtime288.jsx)(Icon, { icon: CheckIcon, iconSize: "small" }),
10344
10536
  props.children
10345
10537
  ] });
10346
- var CustomOption = (props) => /* @__PURE__ */ (0, import_jsx_runtime286.jsx)(Option, { ...props, children: import_react70.default.createElement(props.customElement, props) });
10538
+ var CustomOption = (props) => /* @__PURE__ */ (0, import_jsx_runtime288.jsx)(Option, { ...props, children: import_react70.default.createElement(props.customElement, props) });
10347
10539
  var CustomSingleValue = ({
10348
10540
  id,
10349
10541
  Element,
10350
10542
  ...props
10351
- }) => /* @__PURE__ */ (0, import_jsx_runtime286.jsx)(SingleValue, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime286.jsx)("div", { id, className: Select_default["inner-single-value"], children: Element ? /* @__PURE__ */ (0, import_jsx_runtime286.jsx)(Element, { ...props }) : props.children }) });
10352
- var DDSNoOptionsMessage = (props) => /* @__PURE__ */ (0, import_jsx_runtime286.jsx)(NoOptionsMessage, { ...props, children: "Ingen treff" });
10543
+ }) => /* @__PURE__ */ (0, import_jsx_runtime288.jsx)(SingleValue, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime288.jsx)("div", { id, className: Select_default["inner-single-value"], children: Element ? /* @__PURE__ */ (0, import_jsx_runtime288.jsx)(Element, { ...props }) : props.children }) });
10544
+ var DDSNoOptionsMessage = (props) => /* @__PURE__ */ (0, import_jsx_runtime288.jsx)(NoOptionsMessage, { ...props, children: "Ingen treff" });
10353
10545
  var DDSClearIndicator = ({
10354
10546
  size: size2,
10355
10547
  ...props
10356
- }) => /* @__PURE__ */ (0, import_jsx_runtime286.jsx)(ClearIndicator, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime286.jsx)(Icon, { icon: CloseSmallIcon, iconSize: getIndicatorIconSize(size2) }) });
10357
- var DDSMultiValueRemove = (props) => /* @__PURE__ */ (0, import_jsx_runtime286.jsx)(MultiValueRemove, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime286.jsx)(Icon, { icon: CloseSmallIcon, iconSize: "small" }) });
10548
+ }) => /* @__PURE__ */ (0, import_jsx_runtime288.jsx)(ClearIndicator, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime288.jsx)(Icon, { icon: CloseSmallIcon, iconSize: getIndicatorIconSize(size2) }) });
10549
+ var DDSMultiValueRemove = (props) => /* @__PURE__ */ (0, import_jsx_runtime288.jsx)(MultiValueRemove, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime288.jsx)(Icon, { icon: CloseSmallIcon, iconSize: "small" }) });
10358
10550
  var DDSDropdownIndicator = (props) => {
10359
10551
  const { className, componentSize, ...rest } = props;
10360
- return /* @__PURE__ */ (0, import_jsx_runtime286.jsx)(
10552
+ return /* @__PURE__ */ (0, import_jsx_runtime288.jsx)(
10361
10553
  DropdownIndicator,
10362
10554
  {
10363
10555
  ...rest,
10364
10556
  className: cn(className, Select_default["dropdown-indicator"]),
10365
- children: /* @__PURE__ */ (0, import_jsx_runtime286.jsx)(
10557
+ children: /* @__PURE__ */ (0, import_jsx_runtime288.jsx)(
10366
10558
  Icon,
10367
10559
  {
10368
10560
  icon: ChevronDownIcon,
@@ -10376,7 +10568,7 @@ var DDSInput = ({
10376
10568
  ariaInvalid,
10377
10569
  ariaDescribedby,
10378
10570
  ...props
10379
- }) => /* @__PURE__ */ (0, import_jsx_runtime286.jsx)(
10571
+ }) => /* @__PURE__ */ (0, import_jsx_runtime288.jsx)(
10380
10572
  Input2,
10381
10573
  {
10382
10574
  ...props,
@@ -10395,7 +10587,7 @@ function DDSControl(props) {
10395
10587
  innerProps,
10396
10588
  ...rest
10397
10589
  } = props;
10398
- return /* @__PURE__ */ (0, import_jsx_runtime286.jsxs)(
10590
+ return /* @__PURE__ */ (0, import_jsx_runtime288.jsxs)(
10399
10591
  Control,
10400
10592
  {
10401
10593
  ...rest,
@@ -10410,7 +10602,7 @@ function DDSControl(props) {
10410
10602
  readOnly && Select_default["control--readonly"]
10411
10603
  ),
10412
10604
  children: [
10413
- icon && /* @__PURE__ */ (0, import_jsx_runtime286.jsx)(
10605
+ icon && /* @__PURE__ */ (0, import_jsx_runtime288.jsx)(
10414
10606
  Icon,
10415
10607
  {
10416
10608
  icon,
@@ -10428,7 +10620,7 @@ function DDSControl(props) {
10428
10620
  }
10429
10621
 
10430
10622
  // src/components/Select/Select.tsx
10431
- var import_jsx_runtime287 = require("react/jsx-runtime");
10623
+ var import_jsx_runtime289 = require("react/jsx-runtime");
10432
10624
  function Select({
10433
10625
  id,
10434
10626
  label,
@@ -10478,7 +10670,7 @@ function Select({
10478
10670
  componentSize === "xsmall" && "var(--dds-input-default-width-xsmall)"
10479
10671
  );
10480
10672
  const customInput = (0, import_react71.useCallback)(
10481
- (props) => /* @__PURE__ */ (0, import_jsx_runtime287.jsx)(
10673
+ (props) => /* @__PURE__ */ (0, import_jsx_runtime289.jsx)(
10482
10674
  DDSInput,
10483
10675
  {
10484
10676
  ...props,
@@ -10496,7 +10688,7 @@ function Select({
10496
10688
  []
10497
10689
  );
10498
10690
  const customSingleValue = (0, import_react71.useCallback)(
10499
- (props) => /* @__PURE__ */ (0, import_jsx_runtime287.jsx)(
10691
+ (props) => /* @__PURE__ */ (0, import_jsx_runtime289.jsx)(
10500
10692
  CustomSingleValue,
10501
10693
  {
10502
10694
  ...props,
@@ -10507,15 +10699,15 @@ function Select({
10507
10699
  []
10508
10700
  );
10509
10701
  const customClearIndicator = (0, import_react71.useCallback)(
10510
- (props) => /* @__PURE__ */ (0, import_jsx_runtime287.jsx)(DDSClearIndicator, { ...props, size: componentSize }),
10702
+ (props) => /* @__PURE__ */ (0, import_jsx_runtime289.jsx)(DDSClearIndicator, { ...props, size: componentSize }),
10511
10703
  [componentSize]
10512
10704
  );
10513
10705
  const customDropdownIndicator = (0, import_react71.useCallback)(
10514
- (props) => /* @__PURE__ */ (0, import_jsx_runtime287.jsx)(DDSDropdownIndicator, { ...props, componentSize }),
10706
+ (props) => /* @__PURE__ */ (0, import_jsx_runtime289.jsx)(DDSDropdownIndicator, { ...props, componentSize }),
10515
10707
  [componentSize]
10516
10708
  );
10517
10709
  const customControl = (0, import_react71.useCallback)(
10518
- (props) => /* @__PURE__ */ (0, import_jsx_runtime287.jsx)(
10710
+ (props) => /* @__PURE__ */ (0, import_jsx_runtime289.jsx)(
10519
10711
  DDSControl,
10520
10712
  {
10521
10713
  ...props,
@@ -10530,9 +10722,9 @@ function Select({
10530
10722
  const customOptionComponent = (0, import_react71.useCallback)(
10531
10723
  (props) => {
10532
10724
  if (customOptionElement) {
10533
- return /* @__PURE__ */ (0, import_jsx_runtime287.jsx)(CustomOption, { ...props, customElement: customOptionElement });
10725
+ return /* @__PURE__ */ (0, import_jsx_runtime289.jsx)(CustomOption, { ...props, customElement: customOptionElement });
10534
10726
  } else {
10535
- return /* @__PURE__ */ (0, import_jsx_runtime287.jsx)(DDSOption, { ...props });
10727
+ return /* @__PURE__ */ (0, import_jsx_runtime289.jsx)(DDSOption, { ...props });
10536
10728
  }
10537
10729
  },
10538
10730
  [customOptionElement, componentSize]
@@ -10576,7 +10768,7 @@ function Select({
10576
10768
  openMenuOnClick: readOnly ? false : openMenuOnClick ? openMenuOnClick : void 0,
10577
10769
  ...rest
10578
10770
  };
10579
- return /* @__PURE__ */ (0, import_jsx_runtime287.jsxs)(
10771
+ return /* @__PURE__ */ (0, import_jsx_runtime289.jsxs)(
10580
10772
  Box,
10581
10773
  {
10582
10774
  width: inputWidth,
@@ -10596,7 +10788,7 @@ function Select({
10596
10788
  readOnly,
10597
10789
  afterLabelContent
10598
10790
  }),
10599
- /* @__PURE__ */ (0, import_jsx_runtime287.jsx)(import_react_select2.default, { ...reactSelectProps, ref }),
10791
+ /* @__PURE__ */ (0, import_jsx_runtime289.jsx)(import_react_select2.default, { ...reactSelectProps, ref }),
10600
10792
  renderInputMessage(tip, tipId, errorMessage, errorMessageId)
10601
10793
  ]
10602
10794
  }
@@ -10623,7 +10815,7 @@ var NativeSelect_default = {
10623
10815
  };
10624
10816
 
10625
10817
  // src/components/Select/NativeSelect/NativeSelect.tsx
10626
- var import_jsx_runtime288 = require("react/jsx-runtime");
10818
+ var import_jsx_runtime290 = require("react/jsx-runtime");
10627
10819
  var NativeSelect = ({
10628
10820
  ref,
10629
10821
  id,
@@ -10690,7 +10882,7 @@ var NativeSelect = ({
10690
10882
  };
10691
10883
  const iconSize = componentSize === "medium" ? "medium" : "small";
10692
10884
  const showClearButton = clearable && hasValue && !readOnly && !rest.disabled;
10693
- return /* @__PURE__ */ (0, import_jsx_runtime288.jsxs)("div", { className, style, children: [
10885
+ return /* @__PURE__ */ (0, import_jsx_runtime290.jsxs)("div", { className, style, children: [
10694
10886
  renderLabel({
10695
10887
  label,
10696
10888
  htmlFor: uniqueId,
@@ -10698,8 +10890,8 @@ var NativeSelect = ({
10698
10890
  readOnly,
10699
10891
  afterLabelContent
10700
10892
  }),
10701
- /* @__PURE__ */ (0, import_jsx_runtime288.jsxs)(Box, { position: "relative", width: inputWidth, children: [
10702
- /* @__PURE__ */ (0, import_jsx_runtime288.jsx)(
10893
+ /* @__PURE__ */ (0, import_jsx_runtime290.jsxs)(Box, { position: "relative", width: inputWidth, children: [
10894
+ /* @__PURE__ */ (0, import_jsx_runtime290.jsx)(
10703
10895
  "select",
10704
10896
  {
10705
10897
  ref: useCombinedRef(ref, selectRef),
@@ -10733,7 +10925,7 @@ var NativeSelect = ({
10733
10925
  children
10734
10926
  }
10735
10927
  ),
10736
- showClearButton && /* @__PURE__ */ (0, import_jsx_runtime288.jsx)(
10928
+ showClearButton && /* @__PURE__ */ (0, import_jsx_runtime290.jsx)(
10737
10929
  ClearButton,
10738
10930
  {
10739
10931
  "aria-label": t(commonTexts.clearSelect),
@@ -10742,7 +10934,7 @@ var NativeSelect = ({
10742
10934
  className: NativeSelect_default[`clear-button--${iconSize}`]
10743
10935
  }
10744
10936
  ),
10745
- !multiple && /* @__PURE__ */ (0, import_jsx_runtime288.jsx)(
10937
+ !multiple && /* @__PURE__ */ (0, import_jsx_runtime290.jsx)(
10746
10938
  Icon,
10747
10939
  {
10748
10940
  icon: ChevronDownIcon,
@@ -10758,14 +10950,14 @@ var NativeSelectPlaceholder = ({
10758
10950
  children = "-- Velg fra listen --",
10759
10951
  value,
10760
10952
  ...rest
10761
- }) => /* @__PURE__ */ (0, import_jsx_runtime288.jsx)("option", { value: value != null ? value : "", selected: true, ...rest, children });
10953
+ }) => /* @__PURE__ */ (0, import_jsx_runtime290.jsx)("option", { value: value != null ? value : "", selected: true, ...rest, children });
10762
10954
  NativeSelectPlaceholder.displayName = "NativeSelectPlaceholder";
10763
10955
 
10764
10956
  // src/components/Select/utils.ts
10765
10957
  var createSelectOptions = (...args) => args.map((v) => ({ label: v, value: v }));
10766
10958
 
10767
10959
  // src/components/Pagination/Pagination.tsx
10768
- var import_jsx_runtime289 = require("react/jsx-runtime");
10960
+ var import_jsx_runtime291 = require("react/jsx-runtime");
10769
10961
  var Pagination = ({
10770
10962
  itemsAmount,
10771
10963
  defaultItemsPerPage = 10,
@@ -10774,12 +10966,7 @@ var Pagination = ({
10774
10966
  withPagination = true,
10775
10967
  withCounter,
10776
10968
  withSelect,
10777
- selectOptions = [
10778
- { label: "10", value: 10 },
10779
- { label: "25", value: 25 },
10780
- { label: "50", value: 50 },
10781
- { label: "Alle", value: itemsAmount }
10782
- ],
10969
+ selectOptions,
10783
10970
  smallScreenBreakpoint,
10784
10971
  onChange,
10785
10972
  onSelectOptionChange,
@@ -10790,7 +10977,13 @@ var Pagination = ({
10790
10977
  ...rest
10791
10978
  }) => {
10792
10979
  const { t } = useTranslation();
10793
- if (withSelect && !selectOptions.some((o) => o.value === defaultItemsPerPage)) {
10980
+ const tSelectOptions = selectOptions && selectOptions.length > 0 ? selectOptions : [
10981
+ { label: "10", value: 10 },
10982
+ { label: "25", value: 25 },
10983
+ { label: "50", value: 50 },
10984
+ { label: t(texts21.all), value: itemsAmount }
10985
+ ];
10986
+ if (withSelect && !tSelectOptions.some((o) => o.value === defaultItemsPerPage)) {
10794
10987
  console.warn(
10795
10988
  `[Pagination] defaultItemsPerPage prop value (${defaultItemsPerPage}) is not included in customOptions prop. Please add it to ensure it appears in the dropdown.`
10796
10989
  );
@@ -10818,7 +11011,7 @@ var Pagination = ({
10818
11011
  };
10819
11012
  const listItems = items.length > 0 ? items.map((item, i) => {
10820
11013
  const isActive = item === activePage;
10821
- return /* @__PURE__ */ (0, import_jsx_runtime289.jsx)("li", { className: Pagination_default.list__item, children: item !== "truncator" && typeof item === "number" ? /* @__PURE__ */ (0, import_jsx_runtime289.jsx)(
11014
+ return /* @__PURE__ */ (0, import_jsx_runtime291.jsx)("li", { className: Pagination_default.list__item, children: item !== "truncator" && typeof item === "number" ? /* @__PURE__ */ (0, import_jsx_runtime291.jsx)(
10822
11015
  Button,
10823
11016
  {
10824
11017
  purpose: isActive ? "primary" : "secondary",
@@ -10826,10 +11019,10 @@ var Pagination = ({
10826
11019
  onClick: (event) => {
10827
11020
  onPageChange(event, item);
10828
11021
  },
10829
- "aria-label": isActive ? t(texts18.currentPage(item)) : t(texts18.page(item)),
11022
+ "aria-label": isActive ? t(texts21.currentPage(item)) : t(texts21.page(item)),
10830
11023
  children: item
10831
11024
  }
10832
- ) : /* @__PURE__ */ (0, import_jsx_runtime289.jsx)(
11025
+ ) : /* @__PURE__ */ (0, import_jsx_runtime291.jsx)(
10833
11026
  Icon,
10834
11027
  {
10835
11028
  icon: MoreHorizontalIcon,
@@ -10837,7 +11030,7 @@ var Pagination = ({
10837
11030
  }
10838
11031
  ) }, `pagination-item-${i}`);
10839
11032
  }) : void 0;
10840
- const previousPageButton = /* @__PURE__ */ (0, import_jsx_runtime289.jsx)(
11033
+ const previousPageButton = /* @__PURE__ */ (0, import_jsx_runtime291.jsx)(
10841
11034
  Button,
10842
11035
  {
10843
11036
  purpose: "secondary",
@@ -10846,10 +11039,10 @@ var Pagination = ({
10846
11039
  onClick: (event) => {
10847
11040
  onPageChange(event, activePage - 1);
10848
11041
  },
10849
- "aria-label": t(texts18.previousPage)
11042
+ "aria-label": t(texts21.previousPage)
10850
11043
  }
10851
11044
  );
10852
- const nextPageButton = /* @__PURE__ */ (0, import_jsx_runtime289.jsx)(
11045
+ const nextPageButton = /* @__PURE__ */ (0, import_jsx_runtime291.jsx)(
10853
11046
  Button,
10854
11047
  {
10855
11048
  purpose: "secondary",
@@ -10858,31 +11051,31 @@ var Pagination = ({
10858
11051
  onClick: (event) => {
10859
11052
  onPageChange(event, activePage + 1);
10860
11053
  },
10861
- "aria-label": t(texts18.nextPage)
11054
+ "aria-label": t(texts21.nextPage)
10862
11055
  }
10863
11056
  );
10864
11057
  const isOnFirstPage = activePage === 1;
10865
11058
  const isOnLastPage = activePage === pagesLength;
10866
- const navigation = withPagination ? /* @__PURE__ */ (0, import_jsx_runtime289.jsxs)(
11059
+ const navigation = withPagination ? /* @__PURE__ */ (0, import_jsx_runtime291.jsxs)(
10867
11060
  Box,
10868
11061
  {
10869
11062
  as: "nav",
10870
11063
  ref,
10871
- "aria-label": t(texts18.pagination),
11064
+ "aria-label": t(texts21.pagination),
10872
11065
  display: "flex",
10873
11066
  alignItems: "center",
10874
11067
  ...!withSelect && !withCounter && {
10875
11068
  ...getBaseHTMLProps(id, className, htmlProps, rest)
10876
11069
  },
10877
11070
  children: [
10878
- /* @__PURE__ */ (0, import_jsx_runtime289.jsxs)(
11071
+ /* @__PURE__ */ (0, import_jsx_runtime291.jsxs)(
10879
11072
  ShowHide,
10880
11073
  {
10881
11074
  as: "ol",
10882
11075
  hideBelow: smallScreenBreakpoint,
10883
11076
  className: Pagination_default.list,
10884
11077
  children: [
10885
- /* @__PURE__ */ (0, import_jsx_runtime289.jsx)(
11078
+ /* @__PURE__ */ (0, import_jsx_runtime291.jsx)(
10886
11079
  "li",
10887
11080
  {
10888
11081
  className: cn(
@@ -10894,7 +11087,7 @@ var Pagination = ({
10894
11087
  }
10895
11088
  ),
10896
11089
  listItems,
10897
- /* @__PURE__ */ (0, import_jsx_runtime289.jsx)(
11090
+ /* @__PURE__ */ (0, import_jsx_runtime291.jsx)(
10898
11091
  "li",
10899
11092
  {
10900
11093
  className: cn(
@@ -10908,14 +11101,14 @@ var Pagination = ({
10908
11101
  ]
10909
11102
  }
10910
11103
  ),
10911
- !!smallScreenBreakpoint && /* @__PURE__ */ (0, import_jsx_runtime289.jsxs)(
11104
+ !!smallScreenBreakpoint && /* @__PURE__ */ (0, import_jsx_runtime291.jsxs)(
10912
11105
  ShowHide,
10913
11106
  {
10914
11107
  as: "ol",
10915
11108
  showBelow: smallScreenBreakpoint,
10916
11109
  className: Pagination_default.list,
10917
11110
  children: [
10918
- /* @__PURE__ */ (0, import_jsx_runtime289.jsx)(
11111
+ /* @__PURE__ */ (0, import_jsx_runtime291.jsx)(
10919
11112
  "li",
10920
11113
  {
10921
11114
  className: cn(
@@ -10923,7 +11116,7 @@ var Pagination = ({
10923
11116
  isOnFirstPage && Pagination_default["list__item--hidden"]
10924
11117
  ),
10925
11118
  "aria-hidden": isOnFirstPage,
10926
- children: /* @__PURE__ */ (0, import_jsx_runtime289.jsx)(
11119
+ children: /* @__PURE__ */ (0, import_jsx_runtime291.jsx)(
10927
11120
  Button,
10928
11121
  {
10929
11122
  purpose: "secondary",
@@ -10932,12 +11125,12 @@ var Pagination = ({
10932
11125
  onClick: (event) => {
10933
11126
  onPageChange(event, 1);
10934
11127
  },
10935
- "aria-label": t(texts18.firstPage)
11128
+ "aria-label": t(texts21.firstPage)
10936
11129
  }
10937
11130
  )
10938
11131
  }
10939
11132
  ),
10940
- /* @__PURE__ */ (0, import_jsx_runtime289.jsx)(
11133
+ /* @__PURE__ */ (0, import_jsx_runtime291.jsx)(
10941
11134
  "li",
10942
11135
  {
10943
11136
  className: cn(
@@ -10948,7 +11141,7 @@ var Pagination = ({
10948
11141
  children: previousPageButton
10949
11142
  }
10950
11143
  ),
10951
- /* @__PURE__ */ (0, import_jsx_runtime289.jsx)("li", { className: Pagination_default.list__item, children: /* @__PURE__ */ (0, import_jsx_runtime289.jsx)(
11144
+ /* @__PURE__ */ (0, import_jsx_runtime291.jsx)("li", { className: Pagination_default.list__item, children: /* @__PURE__ */ (0, import_jsx_runtime291.jsx)(
10952
11145
  Button,
10953
11146
  {
10954
11147
  size: "small",
@@ -10958,7 +11151,7 @@ var Pagination = ({
10958
11151
  children: activePage
10959
11152
  }
10960
11153
  ) }),
10961
- /* @__PURE__ */ (0, import_jsx_runtime289.jsx)(
11154
+ /* @__PURE__ */ (0, import_jsx_runtime291.jsx)(
10962
11155
  "li",
10963
11156
  {
10964
11157
  className: cn(
@@ -10969,7 +11162,7 @@ var Pagination = ({
10969
11162
  children: nextPageButton
10970
11163
  }
10971
11164
  ),
10972
- /* @__PURE__ */ (0, import_jsx_runtime289.jsx)(
11165
+ /* @__PURE__ */ (0, import_jsx_runtime291.jsx)(
10973
11166
  "li",
10974
11167
  {
10975
11168
  className: cn(
@@ -10977,7 +11170,7 @@ var Pagination = ({
10977
11170
  isOnLastPage && Pagination_default["list__item--hidden"]
10978
11171
  ),
10979
11172
  "aria-hidden": isOnLastPage,
10980
- children: /* @__PURE__ */ (0, import_jsx_runtime289.jsx)(
11173
+ children: /* @__PURE__ */ (0, import_jsx_runtime291.jsx)(
10981
11174
  Button,
10982
11175
  {
10983
11176
  purpose: "secondary",
@@ -10986,7 +11179,7 @@ var Pagination = ({
10986
11179
  onClick: (event) => {
10987
11180
  onPageChange(event, pagesLength);
10988
11181
  },
10989
- "aria-label": t(texts18.lastPage)
11182
+ "aria-label": t(texts21.lastPage)
10990
11183
  }
10991
11184
  )
10992
11185
  }
@@ -10999,7 +11192,7 @@ var Pagination = ({
10999
11192
  ) : null;
11000
11193
  const activePageFirstItem = activePage === 1 ? 1 : activePage * itemsPerPage - itemsPerPage + 1;
11001
11194
  const activePageLastItem = activePage === pagesLength ? itemsAmount : activePage * itemsPerPage;
11002
- return !withCounter && !withSelect ? navigation : /* @__PURE__ */ (0, import_jsx_runtime289.jsxs)(
11195
+ return !withCounter && !withSelect ? navigation : /* @__PURE__ */ (0, import_jsx_runtime291.jsxs)(
11003
11196
  Box,
11004
11197
  {
11005
11198
  display: "flex",
@@ -11010,11 +11203,11 @@ var Pagination = ({
11010
11203
  alignItems: styleUpToBreakpoint("center", smallScreenBreakpoint),
11011
11204
  ...getBaseHTMLProps(id, className, htmlProps, rest),
11012
11205
  children: [
11013
- /* @__PURE__ */ (0, import_jsx_runtime289.jsxs)("div", { className: Pagination_default.indicators, children: [
11014
- withSelect && /* @__PURE__ */ (0, import_jsx_runtime289.jsx)(
11206
+ /* @__PURE__ */ (0, import_jsx_runtime291.jsxs)("div", { className: Pagination_default.indicators, children: [
11207
+ withSelect && /* @__PURE__ */ (0, import_jsx_runtime291.jsx)(
11015
11208
  Select,
11016
11209
  {
11017
- options: selectOptions,
11210
+ options: tSelectOptions,
11018
11211
  isSearchable: false,
11019
11212
  width: "90px",
11020
11213
  defaultValue: {
@@ -11024,11 +11217,11 @@ var Pagination = ({
11024
11217
  isClearable: false,
11025
11218
  onChange: handleSelectChange,
11026
11219
  componentSize: "small",
11027
- "aria-label": t(texts18.itemsPerPage)
11220
+ "aria-label": t(texts21.itemsPerPage)
11028
11221
  }
11029
11222
  ),
11030
- withCounter && /* @__PURE__ */ (0, import_jsx_runtime289.jsx)(Paragraph, { children: t(
11031
- texts18.showsAmountOfTotalItems(
11223
+ withCounter && /* @__PURE__ */ (0, import_jsx_runtime291.jsx)(Paragraph, { children: t(
11224
+ texts21.showsAmountOfTotalItems(
11032
11225
  activePageFirstItem,
11033
11226
  activePageLastItem,
11034
11227
  itemsAmount
@@ -11041,61 +11234,77 @@ var Pagination = ({
11041
11234
  );
11042
11235
  };
11043
11236
  Pagination.displayName = "Pagination";
11044
- var texts18 = createTexts({
11237
+ var texts21 = createTexts({
11045
11238
  pagination: {
11046
11239
  nb: "Paginering",
11047
11240
  no: "Paginering",
11048
11241
  nn: "Paginering",
11049
- en: "Pagination"
11242
+ en: "Pagination",
11243
+ se: "Pagineren"
11050
11244
  },
11051
11245
  itemsPerPage: {
11052
11246
  nb: "Elementer per side",
11053
11247
  no: "Elementer per side",
11054
11248
  nn: "Element per side",
11055
- en: "Items per page"
11249
+ en: "Items per page",
11250
+ se: "Elementat juohki siidui"
11056
11251
  },
11057
11252
  nextPage: {
11058
11253
  nb: "Neste side",
11059
11254
  no: "Neste side",
11060
11255
  nn: "Neste side",
11061
- en: "Next page"
11256
+ en: "Next page",
11257
+ se: "Boahte siidu"
11062
11258
  },
11063
11259
  previousPage: {
11064
11260
  nb: "Forrige side",
11065
11261
  no: "Forrige side",
11066
11262
  nn: "F\xF8rre side",
11067
- en: "Previous page"
11263
+ en: "Previous page",
11264
+ se: "Ovddit siidu"
11068
11265
  },
11069
11266
  firstPage: {
11070
11267
  nb: "F\xF8rste side",
11071
11268
  no: "F\xF8rste side",
11072
11269
  nn: "Fyrste side",
11073
- en: "First page"
11270
+ en: "First page",
11271
+ se: "Vustta\u0161 siidu"
11074
11272
  },
11075
11273
  lastPage: {
11076
11274
  nb: "Siste side",
11077
11275
  no: "Siste side",
11078
11276
  nn: "Siste side",
11079
- en: "Last page"
11277
+ en: "Last page",
11278
+ se: "Ma\u014Bimu\u0161 siidu"
11080
11279
  },
11081
11280
  currentPage: (page) => ({
11082
11281
  nb: `N\xE5v\xE6rende side (${page})`,
11083
11282
  no: `N\xE5v\xE6rende side (${page})`,
11084
11283
  nn: `Noverande side (${page})`,
11085
- en: `Current page (${page})`
11284
+ en: `Current page (${page})`,
11285
+ se: `D\xE1la siidu (${page})`
11086
11286
  }),
11087
11287
  page: (page) => ({
11088
11288
  nb: `Side ${page}`,
11089
11289
  no: `Side ${page}`,
11090
11290
  nn: `Side ${page}`,
11091
- en: `Page ${page}`
11291
+ en: `Page ${page}`,
11292
+ se: `Siidu ${page}`
11092
11293
  }),
11093
11294
  showsAmountOfTotalItems: (first, last, total) => ({
11094
11295
  nb: `Viser ${first}-${last} av ${total}`,
11095
11296
  no: `Viser ${first}-${last} av ${total}`,
11096
11297
  nn: `Viser ${first}-${last} av ${total}`,
11097
- en: `Shows ${first}-${last} of ${total}`
11098
- })
11298
+ en: `Shows ${first}-${last} of ${total}`,
11299
+ se: `\u010C\xE1jeha ${first}-${last} ${total} gaskkas`
11300
+ }),
11301
+ all: {
11302
+ nb: "Alle",
11303
+ no: "Alle",
11304
+ nn: "Alle",
11305
+ en: "All",
11306
+ se: "Buot"
11307
+ }
11099
11308
  });
11100
11309
 
11101
11310
  // src/components/PhoneInput/PhoneInput.tsx
@@ -11499,7 +11708,7 @@ var PhoneInput_default = {
11499
11708
  };
11500
11709
 
11501
11710
  // src/components/PhoneInput/PhoneInput.tsx
11502
- var import_jsx_runtime290 = require("react/jsx-runtime");
11711
+ var import_jsx_runtime292 = require("react/jsx-runtime");
11503
11712
  var prioritizedCountries = [
11504
11713
  COUNTRIES.NO,
11505
11714
  COUNTRIES.SE,
@@ -11546,21 +11755,21 @@ var PhoneInput = ({
11546
11755
  className,
11547
11756
  style,
11548
11757
  value,
11549
- selectLabel = "Landskode",
11758
+ selectLabel,
11550
11759
  selectRef,
11551
11760
  onChange,
11552
11761
  defaultValue,
11553
11762
  "aria-required": ariaRequired,
11554
11763
  "aria-describedby": ariaDescribedby,
11555
- groupLabel = "Landskode og telefonnummer",
11764
+ groupLabel,
11556
11765
  afterLabelContent,
11557
11766
  ref,
11558
11767
  ...props
11559
11768
  }) => {
11560
11769
  var _a;
11561
11770
  const { t } = useTranslation();
11562
- const tGroupLabel = groupLabel != null ? groupLabel : t(texts19.countryCodeAndPhoneNumber);
11563
- const tSelectLabel = selectLabel != null ? selectLabel : t(texts19.countryCode);
11771
+ const tGroupLabel = groupLabel != null ? groupLabel : t(texts22.countryCodeAndPhoneNumber);
11772
+ const tSelectLabel = selectLabel != null ? selectLabel : t(texts22.countryCode);
11564
11773
  const generatedId = (0, import_react74.useId)();
11565
11774
  const uniqueId = (_a = props.id) != null ? _a : generatedId;
11566
11775
  const phoneInputId = `${uniqueId}-phone-input`;
@@ -11637,7 +11846,7 @@ var PhoneInput = ({
11637
11846
  const showRequiredStyling = !!(required || ariaRequired);
11638
11847
  const bp = props.smallScreenBreakpoint;
11639
11848
  const widthDefault = componentSize === "xsmall" && "var(--dds-input-default-width-xsmall)";
11640
- return /* @__PURE__ */ (0, import_jsx_runtime290.jsxs)("div", { className: cn(className, Input_default.container), style, children: [
11849
+ return /* @__PURE__ */ (0, import_jsx_runtime292.jsxs)("div", { className: cn(className, Input_default.container), style, children: [
11641
11850
  renderLabel({
11642
11851
  label,
11643
11852
  htmlFor: phoneNumberId,
@@ -11645,7 +11854,7 @@ var PhoneInput = ({
11645
11854
  readOnly,
11646
11855
  afterLabelContent
11647
11856
  }),
11648
- /* @__PURE__ */ (0, import_jsx_runtime290.jsxs)(
11857
+ /* @__PURE__ */ (0, import_jsx_runtime292.jsxs)(
11649
11858
  Box,
11650
11859
  {
11651
11860
  display: "flex",
@@ -11658,8 +11867,8 @@ var PhoneInput = ({
11658
11867
  role: "group",
11659
11868
  "aria-label": tGroupLabel,
11660
11869
  children: [
11661
- /* @__PURE__ */ (0, import_jsx_runtime290.jsx)("label", { className: utilStyles_default["visually-hidden"], htmlFor: selectId, children: tSelectLabel }),
11662
- /* @__PURE__ */ (0, import_jsx_runtime290.jsx)(
11870
+ /* @__PURE__ */ (0, import_jsx_runtime292.jsx)("label", { className: utilStyles_default["visually-hidden"], htmlFor: selectId, children: tSelectLabel }),
11871
+ /* @__PURE__ */ (0, import_jsx_runtime292.jsx)(
11663
11872
  NativeSelect,
11664
11873
  {
11665
11874
  width: styleUpToBreakpoint(
@@ -11680,11 +11889,11 @@ var PhoneInput = ({
11680
11889
  hasTip ? tipId : void 0,
11681
11890
  ariaDescribedby
11682
11891
  ]),
11683
- children: countryOptions.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime290.jsx)("option", { value: item.countryCode, children: item.label }, index))
11892
+ children: countryOptions.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime292.jsx)("option", { value: item.countryCode, children: item.label }, index))
11684
11893
  }
11685
11894
  ),
11686
- /* @__PURE__ */ (0, import_jsx_runtime290.jsxs)(Box, { width: "100%", className: Input_default["input-group"], children: [
11687
- /* @__PURE__ */ (0, import_jsx_runtime290.jsx)(
11895
+ /* @__PURE__ */ (0, import_jsx_runtime292.jsxs)(Box, { width: "100%", className: Input_default["input-group"], children: [
11896
+ /* @__PURE__ */ (0, import_jsx_runtime292.jsx)(
11688
11897
  "span",
11689
11898
  {
11690
11899
  className: cn(
@@ -11696,7 +11905,7 @@ var PhoneInput = ({
11696
11905
  children: callingCode
11697
11906
  }
11698
11907
  ),
11699
- /* @__PURE__ */ (0, import_jsx_runtime290.jsx)(
11908
+ /* @__PURE__ */ (0, import_jsx_runtime292.jsx)(
11700
11909
  Box,
11701
11910
  {
11702
11911
  as: StatefulInput,
@@ -11734,18 +11943,20 @@ var getCallingCode = (s) => {
11734
11943
  var _a;
11735
11944
  return (_a = s.substring(s.indexOf("+"), s.length)) != null ? _a : "";
11736
11945
  };
11737
- var texts19 = createTexts({
11946
+ var texts22 = createTexts({
11738
11947
  countryCode: {
11739
11948
  nb: "Landskode",
11740
11949
  no: "Landskode",
11741
11950
  nn: "Landskode",
11742
- en: "Country code"
11951
+ en: "Country code",
11952
+ se: "Riikkakoda"
11743
11953
  },
11744
11954
  countryCodeAndPhoneNumber: {
11745
11955
  nb: "Landskode og telefonnummer",
11746
11956
  no: "Landskode og telefonnummer",
11747
11957
  nn: "Landskode og telefonnummer",
11748
- en: "Country code and phone number"
11958
+ en: "Country code and phone number",
11959
+ se: "Riikkakoda ja telefovnndanummir"
11749
11960
  }
11750
11961
  });
11751
11962
 
@@ -11767,7 +11978,7 @@ var PopoverContext = (0, import_react75.createContext)({});
11767
11978
  var usePopoverContext = () => (0, import_react75.useContext)(PopoverContext);
11768
11979
 
11769
11980
  // src/components/Popover/Popover.tsx
11770
- var import_jsx_runtime291 = require("react/jsx-runtime");
11981
+ var import_jsx_runtime293 = require("react/jsx-runtime");
11771
11982
  var Popover = ({
11772
11983
  id,
11773
11984
  header,
@@ -11855,7 +12066,7 @@ var Popover = ({
11855
12066
  });
11856
12067
  const hasTitle = !!header;
11857
12068
  const openCn = hasTransitionedIn && isOpen ? "open" : "closed";
11858
- const popover = /* @__PURE__ */ (0, import_jsx_runtime291.jsxs)(
12069
+ const popover = /* @__PURE__ */ (0, import_jsx_runtime293.jsxs)(
11859
12070
  Paper,
11860
12071
  {
11861
12072
  ...getBaseHTMLProps(
@@ -11886,15 +12097,15 @@ var Popover = ({
11886
12097
  elevation: 3,
11887
12098
  border: "border-subtle",
11888
12099
  children: [
11889
- header && /* @__PURE__ */ (0, import_jsx_runtime291.jsx)("div", { className: Popover_default.header, children: typeof header === "string" ? /* @__PURE__ */ (0, import_jsx_runtime291.jsx)(Heading, { level: 2, typographyType: "headingMedium", children: header }) : header }),
11890
- /* @__PURE__ */ (0, import_jsx_runtime291.jsx)(
12100
+ header && /* @__PURE__ */ (0, import_jsx_runtime293.jsx)("div", { className: Popover_default.header, children: typeof header === "string" ? /* @__PURE__ */ (0, import_jsx_runtime293.jsx)(Heading, { level: 2, typographyType: "headingMedium", children: header }) : header }),
12101
+ /* @__PURE__ */ (0, import_jsx_runtime293.jsx)(
11891
12102
  "div",
11892
12103
  {
11893
12104
  className: !hasTitle && withCloseButton ? Popover_default["content--closable--no-header"] : "",
11894
12105
  children
11895
12106
  }
11896
12107
  ),
11897
- withCloseButton && /* @__PURE__ */ (0, import_jsx_runtime291.jsx)(
12108
+ withCloseButton && /* @__PURE__ */ (0, import_jsx_runtime293.jsx)(
11898
12109
  Button,
11899
12110
  {
11900
12111
  icon: CloseIcon,
@@ -11914,7 +12125,7 @@ Popover.displayName = "Popover";
11914
12125
 
11915
12126
  // src/components/Popover/PopoverGroup.tsx
11916
12127
  var import_react77 = require("react");
11917
- var import_jsx_runtime292 = require("react/jsx-runtime");
12128
+ var import_jsx_runtime294 = require("react/jsx-runtime");
11918
12129
  var PopoverGroup = ({
11919
12130
  isOpen: propIsOpen,
11920
12131
  setIsOpen: propSetIsOpen,
@@ -11975,7 +12186,7 @@ var PopoverGroup = ({
11975
12186
  ref: combinedAnchorRef
11976
12187
  }) : child);
11977
12188
  });
11978
- return /* @__PURE__ */ (0, import_jsx_runtime292.jsx)(
12189
+ return /* @__PURE__ */ (0, import_jsx_runtime294.jsx)(
11979
12190
  PopoverContext,
11980
12191
  {
11981
12192
  value: {
@@ -12026,7 +12237,7 @@ var ProgressTracker_default = {
12026
12237
 
12027
12238
  // src/components/ProgressTracker/ProgressTrackerItem.tsx
12028
12239
  var import_react79 = require("react");
12029
- var import_jsx_runtime293 = require("react/jsx-runtime");
12240
+ var import_jsx_runtime295 = require("react/jsx-runtime");
12030
12241
  var toItemState = (active, completed, disabled) => {
12031
12242
  if (disabled) {
12032
12243
  return "disabled";
@@ -12070,10 +12281,10 @@ var ProgressTrackerItem = (props) => {
12070
12281
  };
12071
12282
  const stepNumberContent = (0, import_react79.useMemo)(() => {
12072
12283
  if (completed) {
12073
- return /* @__PURE__ */ (0, import_jsx_runtime293.jsx)(Icon, { icon: CheckIcon, iconSize: "small" });
12284
+ return /* @__PURE__ */ (0, import_jsx_runtime295.jsx)(Icon, { icon: CheckIcon, iconSize: "small" });
12074
12285
  }
12075
12286
  if (icon !== void 0) {
12076
- return /* @__PURE__ */ (0, import_jsx_runtime293.jsx)(Icon, { icon, iconSize: "small" });
12287
+ return /* @__PURE__ */ (0, import_jsx_runtime295.jsx)(Icon, { icon, iconSize: "small" });
12077
12288
  }
12078
12289
  return stepNumber;
12079
12290
  }, [completed, icon, index]);
@@ -12082,8 +12293,8 @@ var ProgressTrackerItem = (props) => {
12082
12293
  if (active) return "text-action-resting";
12083
12294
  }
12084
12295
  const isInactiveLink = disabled || active;
12085
- const stepContent = /* @__PURE__ */ (0, import_jsx_runtime293.jsxs)(import_jsx_runtime293.Fragment, { children: [
12086
- /* @__PURE__ */ (0, import_jsx_runtime293.jsx)(
12296
+ const stepContent = /* @__PURE__ */ (0, import_jsx_runtime295.jsxs)(import_jsx_runtime295.Fragment, { children: [
12297
+ /* @__PURE__ */ (0, import_jsx_runtime295.jsx)(
12087
12298
  Box,
12088
12299
  {
12089
12300
  display: "flex",
@@ -12098,7 +12309,7 @@ var ProgressTrackerItem = (props) => {
12098
12309
  children: stepNumberContent
12099
12310
  }
12100
12311
  ),
12101
- /* @__PURE__ */ (0, import_jsx_runtime293.jsx)(
12312
+ /* @__PURE__ */ (0, import_jsx_runtime295.jsx)(
12102
12313
  Typography,
12103
12314
  {
12104
12315
  as: "div",
@@ -12112,15 +12323,15 @@ var ProgressTrackerItem = (props) => {
12112
12323
  }
12113
12324
  )
12114
12325
  ] });
12115
- const ariaLabel = props["aria-label"] ? props["aria-label"] : `${children}, ${stepNumber}. ${completed ? t(texts20.completed) : t(texts20.uncompleted)}`;
12116
- return /* @__PURE__ */ (0, import_jsx_runtime293.jsx)(
12326
+ const ariaLabel = props["aria-label"] ? props["aria-label"] : `${children}, ${stepNumber}. ${completed ? t(texts23.completed) : t(texts23.uncompleted)}`;
12327
+ return /* @__PURE__ */ (0, import_jsx_runtime295.jsx)(
12117
12328
  Box,
12118
12329
  {
12119
12330
  as: "li",
12120
12331
  display: direction === "row" ? "flex" : void 0,
12121
12332
  "aria-current": active ? "step" : void 0,
12122
12333
  className: cn(ProgressTracker_default["list-item"], ProgressTracker_default[`list-item--${direction}`]),
12123
- children: handleStepChange ? /* @__PURE__ */ (0, import_jsx_runtime293.jsx)(
12334
+ children: handleStepChange ? /* @__PURE__ */ (0, import_jsx_runtime295.jsx)(
12124
12335
  Box,
12125
12336
  {
12126
12337
  as: StylelessButton,
@@ -12144,7 +12355,7 @@ var ProgressTrackerItem = (props) => {
12144
12355
  disabled,
12145
12356
  children: stepContent
12146
12357
  }
12147
- ) : /* @__PURE__ */ (0, import_jsx_runtime293.jsx)(
12358
+ ) : /* @__PURE__ */ (0, import_jsx_runtime295.jsx)(
12148
12359
  "div",
12149
12360
  {
12150
12361
  ...getBaseHTMLProps(
@@ -12161,23 +12372,25 @@ var ProgressTrackerItem = (props) => {
12161
12372
  );
12162
12373
  };
12163
12374
  ProgressTrackerItem.displayName = "ProgressTracker.Item";
12164
- var texts20 = createTexts({
12375
+ var texts23 = createTexts({
12165
12376
  uncompleted: {
12166
12377
  nb: "trinn ikke ferdig",
12167
12378
  no: "trinn ikke ferdig",
12168
12379
  nn: "trinn ikkje ferdig",
12169
- en: "step uncompleted"
12380
+ en: "step uncompleted",
12381
+ se: "ceahkki ii g\xE1rvvis"
12170
12382
  },
12171
12383
  completed: {
12172
12384
  nb: "trinn ferdig",
12173
12385
  no: "trinn ferdig",
12174
12386
  nn: "trinn ferdig",
12175
- en: "step completed"
12387
+ en: "step completed",
12388
+ se: "ceahkki g\xE1rv\xE1"
12176
12389
  }
12177
12390
  });
12178
12391
 
12179
12392
  // src/components/ProgressTracker/ProgressTracker.tsx
12180
- var import_jsx_runtime294 = require("react/jsx-runtime");
12393
+ var import_jsx_runtime296 = require("react/jsx-runtime");
12181
12394
  var ProgressTracker = (() => {
12182
12395
  const Res = ({
12183
12396
  id,
@@ -12207,7 +12420,7 @@ var ProgressTracker = (() => {
12207
12420
  }, [children]);
12208
12421
  const isRow = direction === "row";
12209
12422
  const { "aria-label": ariaLabel } = htmlProps;
12210
- return /* @__PURE__ */ (0, import_jsx_runtime294.jsx)(
12423
+ return /* @__PURE__ */ (0, import_jsx_runtime296.jsx)(
12211
12424
  ProgressTrackerContext,
12212
12425
  {
12213
12426
  value: {
@@ -12215,12 +12428,12 @@ var ProgressTracker = (() => {
12215
12428
  handleStepChange: handleChange,
12216
12429
  direction
12217
12430
  },
12218
- children: /* @__PURE__ */ (0, import_jsx_runtime294.jsx)(
12431
+ children: /* @__PURE__ */ (0, import_jsx_runtime296.jsx)(
12219
12432
  "nav",
12220
12433
  {
12221
- "aria-label": ariaLabel != null ? ariaLabel : t(texts21.stepProgression),
12434
+ "aria-label": ariaLabel != null ? ariaLabel : t(texts24.stepProgression),
12222
12435
  ...getBaseHTMLProps(id, className, htmlProps, rest),
12223
- children: /* @__PURE__ */ (0, import_jsx_runtime294.jsx)(
12436
+ children: /* @__PURE__ */ (0, import_jsx_runtime296.jsx)(
12224
12437
  Box,
12225
12438
  {
12226
12439
  as: StylelessOList,
@@ -12256,12 +12469,13 @@ function passIndexPropToProgressTrackerItem(children) {
12256
12469
  })
12257
12470
  );
12258
12471
  }
12259
- var texts21 = createTexts({
12472
+ var texts24 = createTexts({
12260
12473
  stepProgression: {
12261
- nb: "Stegprogresjon",
12262
- no: "Stegprogresjon",
12263
- nn: "Stegprogresjon",
12264
- en: "Step progression"
12474
+ nb: "Trinnprogresjon",
12475
+ no: "Trinnprogresjon",
12476
+ nn: "Trinnprogresjon",
12477
+ en: "Step progression",
12478
+ se: "Ceahkkeprogre\u0161uvdna"
12265
12479
  }
12266
12480
  });
12267
12481
 
@@ -12279,7 +12493,7 @@ var ProgressBar_default = {
12279
12493
  };
12280
12494
 
12281
12495
  // src/components/ProgressBar/ProgressBar.tsx
12282
- var import_jsx_runtime295 = require("react/jsx-runtime");
12496
+ var import_jsx_runtime297 = require("react/jsx-runtime");
12283
12497
  var PROGRESS_BAR_SIZES = createSizes("small", "medium");
12284
12498
  var ProgressBar = ({
12285
12499
  label,
@@ -12305,9 +12519,9 @@ var ProgressBar = ({
12305
12519
  const errorMessageId = derivativeIdGenerator(uniqueId, "errorMessage");
12306
12520
  const fillPrecentage = hasValidValue && value / (max != null ? max : 1) * 100 + "%";
12307
12521
  const isIndeterminate = !hasValidValue && !hasErrorMessage;
12308
- return /* @__PURE__ */ (0, import_jsx_runtime295.jsxs)(Box, { width: "100%", className, style, children: [
12522
+ return /* @__PURE__ */ (0, import_jsx_runtime297.jsxs)(Box, { width: "100%", className, style, children: [
12309
12523
  renderLabel({ label, htmlFor: uniqueId }),
12310
- /* @__PURE__ */ (0, import_jsx_runtime295.jsx)(
12524
+ /* @__PURE__ */ (0, import_jsx_runtime297.jsx)(
12311
12525
  "progress",
12312
12526
  {
12313
12527
  id: uniqueId,
@@ -12323,13 +12537,13 @@ var ProgressBar = ({
12323
12537
  children: fillPrecentage
12324
12538
  }
12325
12539
  ),
12326
- /* @__PURE__ */ (0, import_jsx_runtime295.jsx)(
12540
+ /* @__PURE__ */ (0, import_jsx_runtime297.jsx)(
12327
12541
  Box,
12328
12542
  {
12329
12543
  width: getInputWidth(width),
12330
12544
  height: size2 === "small" ? "x0.75" : "x1.5",
12331
12545
  className: cn(ProgressBar_default.progress),
12332
- children: /* @__PURE__ */ (0, import_jsx_runtime295.jsx)(
12546
+ children: /* @__PURE__ */ (0, import_jsx_runtime297.jsx)(
12333
12547
  Box,
12334
12548
  {
12335
12549
  height: "100%",
@@ -12378,7 +12592,7 @@ var typographyTypes2 = {
12378
12592
 
12379
12593
  // src/components/Search/SearchSuggestionItem.tsx
12380
12594
  var import_react83 = require("react");
12381
- var import_jsx_runtime296 = require("react/jsx-runtime");
12595
+ var import_jsx_runtime298 = require("react/jsx-runtime");
12382
12596
  var SearchSuggestionItem = ({
12383
12597
  focus,
12384
12598
  className,
@@ -12393,7 +12607,7 @@ var SearchSuggestionItem = ({
12393
12607
  (_a = itemRef.current) == null ? void 0 : _a.focus();
12394
12608
  }
12395
12609
  }, [focus]);
12396
- return /* @__PURE__ */ (0, import_jsx_runtime296.jsx)(
12610
+ return /* @__PURE__ */ (0, import_jsx_runtime298.jsx)(
12397
12611
  StylelessButton,
12398
12612
  {
12399
12613
  ref: combinedRef,
@@ -12411,7 +12625,7 @@ var SearchSuggestionItem = ({
12411
12625
  SearchSuggestionItem.displayName = "SearchSuggestionItem";
12412
12626
 
12413
12627
  // src/components/Search/SearchSuggestions.tsx
12414
- var import_jsx_runtime297 = require("react/jsx-runtime");
12628
+ var import_jsx_runtime299 = require("react/jsx-runtime");
12415
12629
  var SearchSuggestions = ({
12416
12630
  id,
12417
12631
  searchId,
@@ -12431,7 +12645,7 @@ var SearchSuggestions = ({
12431
12645
  const { t } = useTranslation();
12432
12646
  const [focus] = useRoveFocus(suggestions == null ? void 0 : suggestions.length, showSuggestions);
12433
12647
  const suggestionsToRender = maxSuggestions ? suggestions == null ? void 0 : suggestions.slice(maxSuggestions) : suggestions;
12434
- return /* @__PURE__ */ (0, import_jsx_runtime297.jsxs)(
12648
+ return /* @__PURE__ */ (0, import_jsx_runtime299.jsxs)(
12435
12649
  Paper,
12436
12650
  {
12437
12651
  ...getBaseHTMLProps(
@@ -12455,23 +12669,23 @@ var SearchSuggestions = ({
12455
12669
  overflowY: "scroll",
12456
12670
  marginBlock: "x0.25 0",
12457
12671
  children: [
12458
- /* @__PURE__ */ (0, import_jsx_runtime297.jsx)(
12672
+ /* @__PURE__ */ (0, import_jsx_runtime299.jsx)(
12459
12673
  Box,
12460
12674
  {
12461
12675
  as: "h2",
12462
12676
  paddingInline: "0 x1",
12463
12677
  id: suggestionsHeaderId,
12464
12678
  className: typographyStyles_default["body-xsmall"],
12465
- children: "S\xF8keforslag"
12679
+ children: t(texts25.searchSuggestions)
12466
12680
  }
12467
12681
  ),
12468
- /* @__PURE__ */ (0, import_jsx_runtime297.jsx)(StylelessList, { role: "listbox", "aria-labelledby": suggestionsHeaderId, children: suggestionsToRender.map((suggestion, index) => {
12469
- return /* @__PURE__ */ (0, import_jsx_runtime297.jsx)("li", { role: "option", children: /* @__PURE__ */ (0, import_jsx_runtime297.jsx)(
12682
+ /* @__PURE__ */ (0, import_jsx_runtime299.jsx)(StylelessList, { role: "listbox", "aria-labelledby": suggestionsHeaderId, children: suggestionsToRender.map((suggestion, index) => {
12683
+ return /* @__PURE__ */ (0, import_jsx_runtime299.jsx)("li", { role: "option", children: /* @__PURE__ */ (0, import_jsx_runtime299.jsx)(
12470
12684
  SearchSuggestionItem,
12471
12685
  {
12472
12686
  index,
12473
12687
  focus: focus === index && showSuggestions,
12474
- "aria-label": t(texts22.search(suggestion)),
12688
+ "aria-label": t(texts25.search(suggestion)),
12475
12689
  onClick: onSuggestionClick,
12476
12690
  "aria-setsize": suggestionsToRender.length,
12477
12691
  "aria-posinset": index,
@@ -12485,17 +12699,25 @@ var SearchSuggestions = ({
12485
12699
  );
12486
12700
  };
12487
12701
  SearchSuggestions.displayName = "SearchSuggestions";
12488
- var texts22 = createTexts({
12702
+ var texts25 = createTexts({
12489
12703
  search: (suggestion) => ({
12490
12704
  no: `${suggestion} s\xF8k`,
12491
12705
  nb: `${suggestion} s\xF8k`,
12492
12706
  nn: `${suggestion} s\xF8k`,
12493
- en: `${suggestion} search`
12494
- })
12707
+ en: `${suggestion} search`,
12708
+ se: `${suggestion} ohcan`
12709
+ }),
12710
+ searchSuggestions: {
12711
+ no: "S\xF8keforslag",
12712
+ nb: "S\xF8keforslag",
12713
+ nn: "S\xF8keforslag",
12714
+ en: "Search suggestions",
12715
+ se: "Ozanf\xE1laldagat"
12716
+ }
12495
12717
  });
12496
12718
 
12497
12719
  // src/components/Search/Search.tsx
12498
- var import_jsx_runtime298 = require("react/jsx-runtime");
12720
+ var import_jsx_runtime300 = require("react/jsx-runtime");
12499
12721
  var getIconSize2 = (size2) => {
12500
12722
  switch (size2) {
12501
12723
  case "large":
@@ -12571,14 +12793,14 @@ var Search = ({
12571
12793
  } = buttonProps != null ? buttonProps : {};
12572
12794
  const hasSuggestions = !!context.suggestions;
12573
12795
  const showSearchButton = !!buttonProps && !!onClick;
12574
- const inputGroup = /* @__PURE__ */ (0, import_jsx_runtime298.jsxs)(
12796
+ const inputGroup = /* @__PURE__ */ (0, import_jsx_runtime300.jsxs)(
12575
12797
  HStack,
12576
12798
  {
12577
12799
  position: "relative",
12578
12800
  width: !showSearchButton ? width : void 0,
12579
12801
  className: !showSearchButton ? className : void 0,
12580
12802
  children: [
12581
- showIcon && /* @__PURE__ */ (0, import_jsx_runtime298.jsx)(
12803
+ showIcon && /* @__PURE__ */ (0, import_jsx_runtime300.jsx)(
12582
12804
  Icon,
12583
12805
  {
12584
12806
  icon: SearchIcon,
@@ -12589,7 +12811,7 @@ var Search = ({
12589
12811
  )
12590
12812
  }
12591
12813
  ),
12592
- /* @__PURE__ */ (0, import_jsx_runtime298.jsx)(
12814
+ /* @__PURE__ */ (0, import_jsx_runtime300.jsx)(
12593
12815
  Box,
12594
12816
  {
12595
12817
  as: Input,
@@ -12618,8 +12840,8 @@ var Search = ({
12618
12840
  )
12619
12841
  }
12620
12842
  ),
12621
- hasSuggestions && /* @__PURE__ */ (0, import_jsx_runtime298.jsxs)(import_jsx_runtime298.Fragment, { children: [
12622
- /* @__PURE__ */ (0, import_jsx_runtime298.jsx)(
12843
+ hasSuggestions && /* @__PURE__ */ (0, import_jsx_runtime300.jsxs)(import_jsx_runtime300.Fragment, { children: [
12844
+ /* @__PURE__ */ (0, import_jsx_runtime300.jsx)(
12623
12845
  SearchSuggestions,
12624
12846
  {
12625
12847
  id: suggestionsId,
@@ -12631,13 +12853,13 @@ var Search = ({
12631
12853
  componentSize
12632
12854
  }
12633
12855
  ),
12634
- /* @__PURE__ */ (0, import_jsx_runtime298.jsx)(VisuallyHidden, { id: suggestionsDescriptionId, children: t(texts23.useArrowKeys) })
12856
+ /* @__PURE__ */ (0, import_jsx_runtime300.jsx)(VisuallyHidden, { id: suggestionsDescriptionId, children: t(texts26.useArrowKeys) })
12635
12857
  ] }),
12636
- hasValue && /* @__PURE__ */ (0, import_jsx_runtime298.jsx)(
12858
+ hasValue && /* @__PURE__ */ (0, import_jsx_runtime300.jsx)(
12637
12859
  ClearButton,
12638
12860
  {
12639
12861
  size: getIconSize2(componentSize),
12640
- "aria-label": t(texts23.clearSearch),
12862
+ "aria-label": t(texts26.clearSearch),
12641
12863
  onClick: clearInput,
12642
12864
  className: Search_default["clear-button"]
12643
12865
  }
@@ -12645,10 +12867,10 @@ var Search = ({
12645
12867
  ]
12646
12868
  }
12647
12869
  );
12648
- return /* @__PURE__ */ (0, import_jsx_runtime298.jsxs)("div", { children: [
12870
+ return /* @__PURE__ */ (0, import_jsx_runtime300.jsxs)("div", { children: [
12649
12871
  renderLabel({ htmlFor: uniqueId, label }),
12650
- /* @__PURE__ */ (0, import_jsx_runtime298.jsxs)("div", { children: [
12651
- showSearchButton ? /* @__PURE__ */ (0, import_jsx_runtime298.jsxs)(
12872
+ /* @__PURE__ */ (0, import_jsx_runtime300.jsxs)("div", { children: [
12873
+ showSearchButton ? /* @__PURE__ */ (0, import_jsx_runtime300.jsxs)(
12652
12874
  Grid,
12653
12875
  {
12654
12876
  className,
@@ -12660,13 +12882,13 @@ var Search = ({
12660
12882
  style,
12661
12883
  children: [
12662
12884
  inputGroup,
12663
- /* @__PURE__ */ (0, import_jsx_runtime298.jsx)(
12885
+ /* @__PURE__ */ (0, import_jsx_runtime300.jsx)(
12664
12886
  Button,
12665
12887
  {
12666
12888
  size: componentSize,
12667
12889
  onClick,
12668
12890
  ...otherButtonProps,
12669
- children: buttonLabel != null ? buttonLabel : t(texts23.search)
12891
+ children: buttonLabel != null ? buttonLabel : t(texts26.search)
12670
12892
  }
12671
12893
  )
12672
12894
  ]
@@ -12677,30 +12899,33 @@ var Search = ({
12677
12899
  ] });
12678
12900
  };
12679
12901
  Search.displayName = "Search";
12680
- var texts23 = createTexts({
12902
+ var texts26 = createTexts({
12681
12903
  clearSearch: {
12682
12904
  nb: "T\xF8m s\xF8k",
12683
12905
  no: "T\xF8m s\xF8k",
12684
12906
  nn: "T\xF8m s\xF8k",
12685
- en: "Clear search"
12907
+ en: "Clear search",
12908
+ se: "Gurre ohcama"
12686
12909
  },
12687
12910
  search: {
12688
12911
  nb: "S\xF8k",
12689
12912
  no: "S\xF8k",
12690
12913
  nn: "S\xF8k",
12691
- en: "Search"
12914
+ en: "Search",
12915
+ se: "Ohcan"
12692
12916
  },
12693
12917
  useArrowKeys: {
12694
12918
  nb: "Bruk piltastene for \xE5 navigere i forslagene n\xE5r listen er utvidet",
12695
12919
  no: "Bruk piltastene for \xE5 navigere i forslagene n\xE5r listen er utvidet",
12696
12920
  nn: "Bruk piltastane for \xE5 navigere i forslaga n\xE5r lista er utvida",
12697
- en: "Use the arrow keys to navigate suggestions when the list is expanded"
12921
+ en: "Use the arrow keys to navigate suggestions when the list is expanded",
12922
+ se: "Deatte njuollaboalu ohccat \xE1rvalusaid listtus mii lea viiddiduvvon"
12698
12923
  }
12699
12924
  });
12700
12925
 
12701
12926
  // src/components/Search/SearchAutocompleteWrapper.tsx
12702
12927
  var import_react85 = require("react");
12703
- var import_jsx_runtime299 = require("react/jsx-runtime");
12928
+ var import_jsx_runtime301 = require("react/jsx-runtime");
12704
12929
  var SearchAutocompleteWrapper = (props) => {
12705
12930
  const {
12706
12931
  value,
@@ -12776,7 +13001,7 @@ var SearchAutocompleteWrapper = (props) => {
12776
13001
  inputValue,
12777
13002
  onSugggestionClick: handleSuggestionClick
12778
13003
  };
12779
- return /* @__PURE__ */ (0, import_jsx_runtime299.jsx)(AutocompleteSearchContext, { value: contextProps, children });
13004
+ return /* @__PURE__ */ (0, import_jsx_runtime301.jsx)(AutocompleteSearchContext, { value: contextProps, children });
12780
13005
  };
12781
13006
  SearchAutocompleteWrapper.displayName = "SearchAutocompleteWrapper";
12782
13007
 
@@ -12792,7 +13017,7 @@ var Skeleton_default = {
12792
13017
  };
12793
13018
 
12794
13019
  // src/components/Skeleton/Skeleton.tsx
12795
- var import_jsx_runtime300 = require("react/jsx-runtime");
13020
+ var import_jsx_runtime302 = require("react/jsx-runtime");
12796
13021
  var Skeleton = ({
12797
13022
  width,
12798
13023
  height,
@@ -12802,7 +13027,7 @@ var Skeleton = ({
12802
13027
  ref,
12803
13028
  ...rest
12804
13029
  }) => {
12805
- return /* @__PURE__ */ (0, import_jsx_runtime300.jsx)(
13030
+ return /* @__PURE__ */ (0, import_jsx_runtime302.jsx)(
12806
13031
  Box,
12807
13032
  {
12808
13033
  width,
@@ -12822,7 +13047,7 @@ var SkipToContent_default = {
12822
13047
  };
12823
13048
 
12824
13049
  // src/components/SkipToContent/SkipToContent.tsx
12825
- var import_jsx_runtime301 = require("react/jsx-runtime");
13050
+ var import_jsx_runtime303 = require("react/jsx-runtime");
12826
13051
  var SkipToContent = ({
12827
13052
  text = "Til hovedinnhold",
12828
13053
  top = 0,
@@ -12832,12 +13057,12 @@ var SkipToContent = ({
12832
13057
  ...rest
12833
13058
  }) => {
12834
13059
  const { className: htmlPropsClassName, style, ...restHtmlProps } = htmlProps;
12835
- return /* @__PURE__ */ (0, import_jsx_runtime301.jsx)(
13060
+ return /* @__PURE__ */ (0, import_jsx_runtime303.jsx)(
12836
13061
  Contrast,
12837
13062
  {
12838
13063
  className: cn(className, htmlPropsClassName, SkipToContent_default.wrapper),
12839
13064
  style: { ...style, top },
12840
- children: /* @__PURE__ */ (0, import_jsx_runtime301.jsx)(Link, { ...getBaseHTMLProps(id, restHtmlProps, rest), children: text })
13065
+ children: /* @__PURE__ */ (0, import_jsx_runtime303.jsx)(Link, { ...getBaseHTMLProps(id, restHtmlProps, rest), children: text })
12841
13066
  }
12842
13067
  );
12843
13068
  };
@@ -12855,7 +13080,7 @@ var SplitButton_default = {
12855
13080
  };
12856
13081
 
12857
13082
  // src/components/SplitButton/SplitButton.tsx
12858
- var import_jsx_runtime302 = require("react/jsx-runtime");
13083
+ var import_jsx_runtime304 = require("react/jsx-runtime");
12859
13084
  var SplitButton = ({
12860
13085
  size: size2,
12861
13086
  primaryAction,
@@ -12870,8 +13095,8 @@ var SplitButton = ({
12870
13095
  purpose,
12871
13096
  size: size2
12872
13097
  };
12873
- return /* @__PURE__ */ (0, import_jsx_runtime302.jsxs)("div", { className: cn(className, SplitButton_default.container), ...rest, children: [
12874
- /* @__PURE__ */ (0, import_jsx_runtime302.jsx)(
13098
+ return /* @__PURE__ */ (0, import_jsx_runtime304.jsxs)("div", { className: cn(className, SplitButton_default.container), ...rest, children: [
13099
+ /* @__PURE__ */ (0, import_jsx_runtime304.jsx)(
12875
13100
  Button,
12876
13101
  {
12877
13102
  ...buttonStyleProps,
@@ -12880,13 +13105,13 @@ var SplitButton = ({
12880
13105
  className: SplitButton_default.main
12881
13106
  }
12882
13107
  ),
12883
- /* @__PURE__ */ (0, import_jsx_runtime302.jsxs)(OverflowMenuGroup, { isOpen, setIsOpen, children: [
12884
- /* @__PURE__ */ (0, import_jsx_runtime302.jsx)(
13108
+ /* @__PURE__ */ (0, import_jsx_runtime304.jsxs)(OverflowMenuGroup, { isOpen, setIsOpen, children: [
13109
+ /* @__PURE__ */ (0, import_jsx_runtime304.jsx)(
12885
13110
  Button,
12886
13111
  {
12887
13112
  ...buttonStyleProps,
12888
13113
  icon: isOpen ? ChevronUpIcon : ChevronDownIcon,
12889
- "aria-label": t(texts24.moreActions),
13114
+ "aria-label": t(texts27.moreActions),
12890
13115
  purpose,
12891
13116
  className: cn(
12892
13117
  SplitButton_default.option,
@@ -12895,17 +13120,18 @@ var SplitButton = ({
12895
13120
  type: "button"
12896
13121
  }
12897
13122
  ),
12898
- /* @__PURE__ */ (0, import_jsx_runtime302.jsx)(OverflowMenu, { placement: "bottom-end", children: /* @__PURE__ */ (0, import_jsx_runtime302.jsx)(OverflowMenuList, { children: secondaryActions.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime302.jsx)(OverflowMenuButton, { ...item, children: item.children }, index)) }) })
13123
+ /* @__PURE__ */ (0, import_jsx_runtime304.jsx)(OverflowMenu, { placement: "bottom-end", children: /* @__PURE__ */ (0, import_jsx_runtime304.jsx)(OverflowMenuList, { children: secondaryActions.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime304.jsx)(OverflowMenuButton, { ...item, children: item.children }, index)) }) })
12899
13124
  ] })
12900
13125
  ] });
12901
13126
  };
12902
13127
  SplitButton.displayName = "SplitButton";
12903
- var texts24 = createTexts({
13128
+ var texts27 = createTexts({
12904
13129
  moreActions: {
12905
13130
  nb: "Flere handlinger",
12906
13131
  no: "Flere handlinger",
12907
13132
  nn: "Fleire handlingar",
12908
- en: "More actions"
13133
+ en: "More actions",
13134
+ se: "Eanet doaimmat"
12909
13135
  }
12910
13136
  });
12911
13137
 
@@ -12921,14 +13147,14 @@ var CollapsibleTableContext = (0, import_react87.createContext)({
12921
13147
  var useCollapsibleTableContext = () => (0, import_react87.useContext)(CollapsibleTableContext);
12922
13148
 
12923
13149
  // src/components/Table/normal/Body.tsx
12924
- var import_jsx_runtime303 = require("react/jsx-runtime");
12925
- var Body = (props) => /* @__PURE__ */ (0, import_jsx_runtime303.jsx)("tbody", { ...props });
13150
+ var import_jsx_runtime305 = require("react/jsx-runtime");
13151
+ var Body = (props) => /* @__PURE__ */ (0, import_jsx_runtime305.jsx)("tbody", { ...props });
12926
13152
  Body.displayName = "Table.Body";
12927
13153
 
12928
13154
  // src/components/Table/normal/Head.tsx
12929
13155
  var import_react88 = require("react");
12930
- var import_jsx_runtime304 = require("react/jsx-runtime");
12931
- var Head = ({ children, ...rest }) => /* @__PURE__ */ (0, import_jsx_runtime304.jsx)("thead", { ...rest, children: /* @__PURE__ */ (0, import_jsx_runtime304.jsx)(HeadContext, { value: true, children }) });
13156
+ var import_jsx_runtime306 = require("react/jsx-runtime");
13157
+ var Head = ({ children, ...rest }) => /* @__PURE__ */ (0, import_jsx_runtime306.jsx)("thead", { ...rest, children: /* @__PURE__ */ (0, import_jsx_runtime306.jsx)(HeadContext, { value: true, children }) });
12932
13158
  var HeadContext = (0, import_react88.createContext)(false);
12933
13159
  function useIsInTableHead() {
12934
13160
  const isInTableHead = (0, import_react88.useContext)(HeadContext);
@@ -12961,7 +13187,7 @@ var Table_default = {
12961
13187
  };
12962
13188
 
12963
13189
  // src/components/Table/normal/Cell.tsx
12964
- var import_jsx_runtime305 = require("react/jsx-runtime");
13190
+ var import_jsx_runtime307 = require("react/jsx-runtime");
12965
13191
  var Cell = ({
12966
13192
  children,
12967
13193
  type: _type,
@@ -12974,7 +13200,7 @@ var Cell = ({
12974
13200
  const type = _type != null ? _type : isInHead ? "head" : "data";
12975
13201
  const { isCollapsibleChild } = collapsibleProps != null ? collapsibleProps : {};
12976
13202
  const isComplexLayout = layout === "text and icon";
12977
- return isCollapsibleChild ? /* @__PURE__ */ (0, import_jsx_runtime305.jsx)(DescriptionListDesc, { children }) : type === "head" ? /* @__PURE__ */ (0, import_jsx_runtime305.jsx)(
13203
+ return isCollapsibleChild ? /* @__PURE__ */ (0, import_jsx_runtime307.jsx)(DescriptionListDesc, { children }) : type === "head" ? /* @__PURE__ */ (0, import_jsx_runtime307.jsx)(
12978
13204
  "th",
12979
13205
  {
12980
13206
  ...rest,
@@ -12983,26 +13209,26 @@ var Cell = ({
12983
13209
  !isComplexLayout && Table_default[`cell--${layout}`],
12984
13210
  Table_default["cell--head"]
12985
13211
  ),
12986
- children: isComplexLayout ? /* @__PURE__ */ (0, import_jsx_runtime305.jsx)("div", { className: Table_default.cell__inner, children }) : children
13212
+ children: isComplexLayout ? /* @__PURE__ */ (0, import_jsx_runtime307.jsx)("div", { className: Table_default.cell__inner, children }) : children
12987
13213
  }
12988
- ) : /* @__PURE__ */ (0, import_jsx_runtime305.jsx)(
13214
+ ) : /* @__PURE__ */ (0, import_jsx_runtime307.jsx)(
12989
13215
  "td",
12990
13216
  {
12991
13217
  ...rest,
12992
13218
  className: cn(className, !isComplexLayout && Table_default[`cell--${layout}`]),
12993
- children: isComplexLayout ? /* @__PURE__ */ (0, import_jsx_runtime305.jsx)("div", { className: Table_default.cell__inner, children }) : children
13219
+ children: isComplexLayout ? /* @__PURE__ */ (0, import_jsx_runtime307.jsx)("div", { className: Table_default.cell__inner, children }) : children
12994
13220
  }
12995
13221
  );
12996
13222
  };
12997
13223
  Cell.displayName = "Table.Cell";
12998
13224
 
12999
13225
  // src/components/Table/normal/Foot.tsx
13000
- var import_jsx_runtime306 = require("react/jsx-runtime");
13001
- var Foot = (props) => /* @__PURE__ */ (0, import_jsx_runtime306.jsx)("tfoot", { ...props });
13226
+ var import_jsx_runtime308 = require("react/jsx-runtime");
13227
+ var Foot = (props) => /* @__PURE__ */ (0, import_jsx_runtime308.jsx)("tfoot", { ...props });
13002
13228
  Foot.displayName = "Table.Foot";
13003
13229
 
13004
13230
  // src/components/Table/normal/Row.tsx
13005
- var import_jsx_runtime307 = require("react/jsx-runtime");
13231
+ var import_jsx_runtime309 = require("react/jsx-runtime");
13006
13232
  var Row = ({
13007
13233
  type: _type,
13008
13234
  mode = "normal",
@@ -13013,7 +13239,7 @@ var Row = ({
13013
13239
  }) => {
13014
13240
  const isInHeader = useIsInTableHead();
13015
13241
  const type = _type != null ? _type : isInHeader ? "head" : "body";
13016
- return /* @__PURE__ */ (0, import_jsx_runtime307.jsx)(
13242
+ return /* @__PURE__ */ (0, import_jsx_runtime309.jsx)(
13017
13243
  "tr",
13018
13244
  {
13019
13245
  className: cn(
@@ -13033,12 +13259,12 @@ var Row = ({
13033
13259
  Row.displayName = "Table.Row";
13034
13260
 
13035
13261
  // src/components/Table/normal/SortCell.tsx
13036
- var import_jsx_runtime308 = require("react/jsx-runtime");
13262
+ var import_jsx_runtime310 = require("react/jsx-runtime");
13037
13263
  var makeSortIcon = (isSorted, sortOrder) => {
13038
13264
  if (!isSorted || !sortOrder) {
13039
- return /* @__PURE__ */ (0, import_jsx_runtime308.jsx)(Icon, { icon: UnfoldMoreIcon, iconSize: "inherit" });
13265
+ return /* @__PURE__ */ (0, import_jsx_runtime310.jsx)(Icon, { icon: UnfoldMoreIcon, iconSize: "inherit" });
13040
13266
  }
13041
- return sortOrder === "ascending" ? /* @__PURE__ */ (0, import_jsx_runtime308.jsx)(Icon, { icon: ChevronDownIcon, iconSize: "inherit" }) : /* @__PURE__ */ (0, import_jsx_runtime308.jsx)(Icon, { icon: ChevronUpIcon, iconSize: "inherit" });
13267
+ return sortOrder === "ascending" ? /* @__PURE__ */ (0, import_jsx_runtime310.jsx)(Icon, { icon: ChevronDownIcon, iconSize: "inherit" }) : /* @__PURE__ */ (0, import_jsx_runtime310.jsx)(Icon, { icon: ChevronUpIcon, iconSize: "inherit" });
13042
13268
  };
13043
13269
  var SortCell = ({
13044
13270
  isSorted,
@@ -13048,17 +13274,17 @@ var SortCell = ({
13048
13274
  ...rest
13049
13275
  }) => {
13050
13276
  const { t } = useTranslation();
13051
- return /* @__PURE__ */ (0, import_jsx_runtime308.jsx)(
13277
+ return /* @__PURE__ */ (0, import_jsx_runtime310.jsx)(
13052
13278
  Cell,
13053
13279
  {
13054
13280
  type: "head",
13055
13281
  "aria-sort": isSorted && sortOrder ? sortOrder : void 0,
13056
13282
  ...rest,
13057
- children: /* @__PURE__ */ (0, import_jsx_runtime308.jsxs)(
13283
+ children: /* @__PURE__ */ (0, import_jsx_runtime310.jsxs)(
13058
13284
  StylelessButton,
13059
13285
  {
13060
13286
  onClick,
13061
- "aria-description": t(texts25.changeSort),
13287
+ "aria-description": t(texts28.changeSort),
13062
13288
  className: cn(Table_default["sort-button"], focusable),
13063
13289
  children: [
13064
13290
  children,
@@ -13071,17 +13297,18 @@ var SortCell = ({
13071
13297
  );
13072
13298
  };
13073
13299
  SortCell.displayName = "Table.SortCell";
13074
- var texts25 = createTexts({
13300
+ var texts28 = createTexts({
13075
13301
  changeSort: {
13076
13302
  nb: "Aktiver for \xE5 endre sorteringsrekkef\xF8lge",
13077
13303
  no: "Aktiver for \xE5 endre sorteringsrekkef\xF8lge",
13078
13304
  nn: "Aktiver for \xE5 endre sorteringsrekkjef\xF8lgje",
13079
- en: "Activate to change sort order"
13305
+ en: "Activate to change sort order",
13306
+ se: "Aktivere rievdadit sorterenortnega"
13080
13307
  }
13081
13308
  });
13082
13309
 
13083
13310
  // src/components/Table/normal/Table.tsx
13084
- var import_jsx_runtime309 = require("react/jsx-runtime");
13311
+ var import_jsx_runtime311 = require("react/jsx-runtime");
13085
13312
  var Table = ({
13086
13313
  size: size2 = "medium",
13087
13314
  stickyHeader,
@@ -13089,7 +13316,7 @@ var Table = ({
13089
13316
  className,
13090
13317
  children,
13091
13318
  ...rest
13092
- }) => /* @__PURE__ */ (0, import_jsx_runtime309.jsx)(
13319
+ }) => /* @__PURE__ */ (0, import_jsx_runtime311.jsx)(
13093
13320
  "table",
13094
13321
  {
13095
13322
  ...rest,
@@ -13108,7 +13335,7 @@ Table.displayName = "Table";
13108
13335
 
13109
13336
  // src/components/Table/normal/TableWrapper.tsx
13110
13337
  var import_react89 = require("react");
13111
- var import_jsx_runtime310 = require("react/jsx-runtime");
13338
+ var import_jsx_runtime312 = require("react/jsx-runtime");
13112
13339
  var TableWrapper = ({ className, ...rest }) => {
13113
13340
  const themeContext = (0, import_react89.useContext)(ThemeContext);
13114
13341
  const container2 = themeContext == null ? void 0 : themeContext.el;
@@ -13133,7 +13360,7 @@ var TableWrapper = ({ className, ...rest }) => {
13133
13360
  window.addEventListener("resize", handleResize);
13134
13361
  return () => window.removeEventListener("resize", handleResize);
13135
13362
  });
13136
- return /* @__PURE__ */ (0, import_jsx_runtime310.jsx)(
13363
+ return /* @__PURE__ */ (0, import_jsx_runtime312.jsx)(
13137
13364
  "div",
13138
13365
  {
13139
13366
  ref: wrapperRef,
@@ -13160,7 +13387,7 @@ Table2.Row = Row;
13160
13387
  Table2.Foot = Foot;
13161
13388
 
13162
13389
  // src/components/Table/collapsible/CollapsibleRow.tsx
13163
- var import_jsx_runtime311 = require("react/jsx-runtime");
13390
+ var import_jsx_runtime313 = require("react/jsx-runtime");
13164
13391
  var CollapsibleRow = ({
13165
13392
  type: _type,
13166
13393
  className,
@@ -13203,40 +13430,40 @@ var CollapsibleRow = ({
13203
13430
  const collapsedRenderedChildren = isCollapsed && collapsedHeaderValues.length > 0 ? collapsedChildren.map(function(child, index) {
13204
13431
  const id = derivativeIdGenerator(prefix2, index.toString());
13205
13432
  collapsibleIds.push(id);
13206
- return /* @__PURE__ */ (0, import_jsx_runtime311.jsxs)(import_react90.Fragment, { children: [
13207
- /* @__PURE__ */ (0, import_jsx_runtime311.jsx)(DescriptionListTerm, { children: collapsedHeaderValues[index].content }),
13433
+ return /* @__PURE__ */ (0, import_jsx_runtime313.jsxs)(import_react90.Fragment, { children: [
13434
+ /* @__PURE__ */ (0, import_jsx_runtime313.jsx)(DescriptionListTerm, { children: collapsedHeaderValues[index].content }),
13208
13435
  (0, import_react90.isValidElement)(child) && (0, import_react90.cloneElement)(child, {
13209
13436
  collapsibleProps: { isCollapsibleChild: true }
13210
13437
  })
13211
13438
  ] }, `DL-${index}`);
13212
13439
  }) : null;
13213
- const collapsedRows = collapsedRenderedChildren && collapsedRenderedChildren.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime311.jsx)(Row, { ...rowProps(), children: /* @__PURE__ */ (0, import_jsx_runtime311.jsx)(Cell, { colSpan: definingColumnIndex.length + 1, children: /* @__PURE__ */ (0, import_jsx_runtime311.jsx)(DescriptionList, { children: collapsedRenderedChildren }) }) }) : null;
13440
+ const collapsedRows = collapsedRenderedChildren && collapsedRenderedChildren.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime313.jsx)(Row, { ...rowProps(), children: /* @__PURE__ */ (0, import_jsx_runtime313.jsx)(Cell, { colSpan: definingColumnIndex.length + 1, children: /* @__PURE__ */ (0, import_jsx_runtime313.jsx)(DescriptionList, { children: collapsedRenderedChildren }) }) }) : null;
13214
13441
  const definingColumnCells = childrenArray.slice().filter((column, index) => definingColumnIndex.indexOf(index) > -1).sort((a, b) => {
13215
13442
  return definingColumnIndex.indexOf(childrenArray.indexOf(a)) - definingColumnIndex.indexOf(childrenArray.indexOf(b));
13216
13443
  });
13217
13444
  const headerRow = () => {
13218
13445
  if (type !== "head" || !isCollapsed) return null;
13219
- return /* @__PURE__ */ (0, import_jsx_runtime311.jsx)(Row, { ref, ...rowProps(), children: /* @__PURE__ */ (0, import_jsx_runtime311.jsxs)(import_jsx_runtime311.Fragment, { children: [
13446
+ return /* @__PURE__ */ (0, import_jsx_runtime313.jsx)(Row, { ref, ...rowProps(), children: /* @__PURE__ */ (0, import_jsx_runtime313.jsxs)(import_jsx_runtime313.Fragment, { children: [
13220
13447
  definingColumnCells,
13221
- /* @__PURE__ */ (0, import_jsx_runtime311.jsxs)(Table2.Cell, { type: "head", layout: "center", children: [
13222
- t(texts26.expand),
13223
- /* @__PURE__ */ (0, import_jsx_runtime311.jsx)(VisuallyHidden, { children: t(texts26.row) })
13448
+ /* @__PURE__ */ (0, import_jsx_runtime313.jsxs)(Table2.Cell, { type: "head", layout: "center", children: [
13449
+ t(texts29.expand),
13450
+ /* @__PURE__ */ (0, import_jsx_runtime313.jsx)(VisuallyHidden, { children: t(texts29.row) })
13224
13451
  ] })
13225
13452
  ] }) });
13226
13453
  };
13227
13454
  const idList = spaceSeparatedIdListGenerator(collapsibleIds);
13228
13455
  const rowWithChevron = () => {
13229
13456
  if (type !== "body" || !isCollapsed) return null;
13230
- return /* @__PURE__ */ (0, import_jsx_runtime311.jsxs)(Row, { ref, ...rowProps(!childrenCollapsed && true), children: [
13457
+ return /* @__PURE__ */ (0, import_jsx_runtime313.jsxs)(Row, { ref, ...rowProps(!childrenCollapsed && true), children: [
13231
13458
  definingColumnCells,
13232
- /* @__PURE__ */ (0, import_jsx_runtime311.jsx)(Table2.Cell, { children: /* @__PURE__ */ (0, import_jsx_runtime311.jsx)(
13459
+ /* @__PURE__ */ (0, import_jsx_runtime313.jsx)(Table2.Cell, { children: /* @__PURE__ */ (0, import_jsx_runtime313.jsx)(
13233
13460
  StylelessButton,
13234
13461
  {
13235
13462
  onClick: () => setChildrenCollapsed(!childrenCollapsed),
13236
13463
  "aria-expanded": !childrenCollapsed,
13237
13464
  "aria-controls": idList,
13238
13465
  className: cn(Table_default["collapse-button"], focusable),
13239
- children: /* @__PURE__ */ (0, import_jsx_runtime311.jsx)(
13466
+ children: /* @__PURE__ */ (0, import_jsx_runtime313.jsx)(
13240
13467
  AnimatedChevronUpDown,
13241
13468
  {
13242
13469
  isUp: childrenCollapsed ? false : true,
@@ -13248,39 +13475,41 @@ var CollapsibleRow = ({
13248
13475
  ) })
13249
13476
  ] });
13250
13477
  };
13251
- return isCollapsed && collapsedRenderedChildren && collapsedRenderedChildren.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime311.jsxs)(import_jsx_runtime311.Fragment, { children: [
13478
+ return isCollapsed && collapsedRenderedChildren && collapsedRenderedChildren.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime313.jsxs)(import_jsx_runtime313.Fragment, { children: [
13252
13479
  headerRow(),
13253
- type === "body" && /* @__PURE__ */ (0, import_jsx_runtime311.jsxs)(import_jsx_runtime311.Fragment, { children: [
13480
+ type === "body" && /* @__PURE__ */ (0, import_jsx_runtime313.jsxs)(import_jsx_runtime313.Fragment, { children: [
13254
13481
  rowWithChevron(),
13255
13482
  childrenCollapsed ? null : collapsedRows
13256
13483
  ] })
13257
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime311.jsx)(Row, { ref, ...rowProps(), children });
13484
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime313.jsx)(Row, { ref, ...rowProps(), children });
13258
13485
  };
13259
13486
  CollapsibleRow.displayName = "CollapsibleTable.Row";
13260
- var texts26 = createTexts({
13487
+ var texts29 = createTexts({
13261
13488
  expand: {
13262
13489
  nb: "Utvid",
13263
13490
  no: "Utvid",
13264
13491
  nn: "Utvid",
13265
- en: "Expand"
13492
+ en: "Expand",
13493
+ se: "Viiddit"
13266
13494
  },
13267
13495
  row: {
13268
13496
  nb: "raden",
13269
13497
  no: "raden",
13270
13498
  nn: "rada",
13271
- en: "row"
13499
+ en: "row",
13500
+ se: "gurgadus"
13272
13501
  }
13273
13502
  });
13274
13503
 
13275
13504
  // src/components/Table/collapsible/CollapsibleTable.tsx
13276
- var import_jsx_runtime312 = require("react/jsx-runtime");
13505
+ var import_jsx_runtime314 = require("react/jsx-runtime");
13277
13506
  var CollapsibleTable = ({
13278
13507
  isCollapsed,
13279
13508
  headerValues,
13280
13509
  definingColumnIndex = [0],
13281
13510
  ...rest
13282
13511
  }) => {
13283
- return /* @__PURE__ */ (0, import_jsx_runtime312.jsx)(
13512
+ return /* @__PURE__ */ (0, import_jsx_runtime314.jsx)(
13284
13513
  CollapsibleTableContext,
13285
13514
  {
13286
13515
  value: {
@@ -13288,7 +13517,7 @@ var CollapsibleTable = ({
13288
13517
  headerValues,
13289
13518
  definingColumnIndex
13290
13519
  },
13291
- children: /* @__PURE__ */ (0, import_jsx_runtime312.jsx)(Table2, { ...rest })
13520
+ children: /* @__PURE__ */ (0, import_jsx_runtime314.jsx)(Table2, { ...rest })
13292
13521
  }
13293
13522
  );
13294
13523
  };
@@ -13334,13 +13563,13 @@ var Tabs_default = {
13334
13563
 
13335
13564
  // src/components/Tabs/TabWidthContext.tsx
13336
13565
  var import_react92 = require("react");
13337
- var import_jsx_runtime313 = require("react/jsx-runtime");
13566
+ var import_jsx_runtime315 = require("react/jsx-runtime");
13338
13567
  var TabContext = (0, import_react92.createContext)(null);
13339
13568
  function TabWidthContextProvider({
13340
13569
  children,
13341
13570
  onChangeWidths
13342
13571
  }) {
13343
- return /* @__PURE__ */ (0, import_jsx_runtime313.jsx)(
13572
+ return /* @__PURE__ */ (0, import_jsx_runtime315.jsx)(
13344
13573
  TabContext,
13345
13574
  {
13346
13575
  value: {
@@ -13372,7 +13601,7 @@ function useSetTabWidth(index, width) {
13372
13601
  }
13373
13602
 
13374
13603
  // src/components/Tabs/AddTabButton.tsx
13375
- var import_jsx_runtime314 = require("react/jsx-runtime");
13604
+ var import_jsx_runtime316 = require("react/jsx-runtime");
13376
13605
  var AddTabButton = ({
13377
13606
  ref,
13378
13607
  children,
@@ -13385,7 +13614,7 @@ var AddTabButton = ({
13385
13614
  const buttonRef = (0, import_react93.useRef)(null);
13386
13615
  const combinedRef = useCombinedRef(ref, buttonRef);
13387
13616
  const { tabContentDirection, size: size2 } = useTabsContext();
13388
- return /* @__PURE__ */ (0, import_jsx_runtime314.jsxs)(
13617
+ return /* @__PURE__ */ (0, import_jsx_runtime316.jsxs)(
13389
13618
  "button",
13390
13619
  {
13391
13620
  ...rest,
@@ -13398,8 +13627,8 @@ var AddTabButton = ({
13398
13627
  focus_default["focusable--inset"]
13399
13628
  ),
13400
13629
  children: [
13401
- /* @__PURE__ */ (0, import_jsx_runtime314.jsx)(Icon, { icon: PlusIcon, iconSize: "inherit" }),
13402
- /* @__PURE__ */ (0, import_jsx_runtime314.jsx)("span", { children })
13630
+ /* @__PURE__ */ (0, import_jsx_runtime316.jsx)(Icon, { icon: PlusIcon, iconSize: "inherit" }),
13631
+ /* @__PURE__ */ (0, import_jsx_runtime316.jsx)("span", { children })
13403
13632
  ]
13404
13633
  }
13405
13634
  );
@@ -13408,7 +13637,7 @@ AddTabButton.displayName = "AddTabButton";
13408
13637
 
13409
13638
  // src/components/Tabs/Tabs.tsx
13410
13639
  var import_react94 = require("react");
13411
- var import_jsx_runtime315 = require("react/jsx-runtime");
13640
+ var import_jsx_runtime317 = require("react/jsx-runtime");
13412
13641
  var TABS_SIZES = createSizes("small", "medium");
13413
13642
  var Tabs = ({
13414
13643
  id,
@@ -13438,7 +13667,7 @@ var Tabs = ({
13438
13667
  setActiveTab(activeTab);
13439
13668
  }
13440
13669
  }, [activeTab, thisActiveTab]);
13441
- return /* @__PURE__ */ (0, import_jsx_runtime315.jsx)(
13670
+ return /* @__PURE__ */ (0, import_jsx_runtime317.jsx)(
13442
13671
  TabsContext,
13443
13672
  {
13444
13673
  value: {
@@ -13453,7 +13682,7 @@ var Tabs = ({
13453
13682
  tabContentDirection,
13454
13683
  addTabButtonProps
13455
13684
  },
13456
- children: /* @__PURE__ */ (0, import_jsx_runtime315.jsx)(
13685
+ children: /* @__PURE__ */ (0, import_jsx_runtime317.jsx)(
13457
13686
  Box,
13458
13687
  {
13459
13688
  ...getBaseHTMLProps(uniqueId, className, htmlProps, rest),
@@ -13468,7 +13697,7 @@ Tabs.displayName = "Tabs";
13468
13697
 
13469
13698
  // src/components/Tabs/Tab.tsx
13470
13699
  var import_react95 = require("react");
13471
- var import_jsx_runtime316 = require("react/jsx-runtime");
13700
+ var import_jsx_runtime318 = require("react/jsx-runtime");
13472
13701
  var Tab = ({
13473
13702
  active = false,
13474
13703
  icon,
@@ -13510,7 +13739,7 @@ var Tab = ({
13510
13739
  handleSelect();
13511
13740
  onKeyDown == null ? void 0 : onKeyDown(e);
13512
13741
  };
13513
- return /* @__PURE__ */ (0, import_jsx_runtime316.jsxs)(
13742
+ return /* @__PURE__ */ (0, import_jsx_runtime318.jsxs)(
13514
13743
  "button",
13515
13744
  {
13516
13745
  ...getBaseHTMLProps(
@@ -13534,8 +13763,8 @@ var Tab = ({
13534
13763
  onKeyDown: handleOnKeyDown,
13535
13764
  tabIndex: focus ? 0 : -1,
13536
13765
  children: [
13537
- icon && /* @__PURE__ */ (0, import_jsx_runtime316.jsx)(Icon, { icon, iconSize: "inherit" }),
13538
- /* @__PURE__ */ (0, import_jsx_runtime316.jsx)("span", { children })
13766
+ icon && /* @__PURE__ */ (0, import_jsx_runtime318.jsx)(Icon, { icon, iconSize: "inherit" }),
13767
+ /* @__PURE__ */ (0, import_jsx_runtime318.jsx)("span", { children })
13539
13768
  ]
13540
13769
  }
13541
13770
  );
@@ -13544,7 +13773,7 @@ Tab.displayName = "Tab";
13544
13773
 
13545
13774
  // src/components/Tabs/TabList.tsx
13546
13775
  var import_react96 = require("react");
13547
- var import_jsx_runtime317 = require("react/jsx-runtime");
13776
+ var import_jsx_runtime319 = require("react/jsx-runtime");
13548
13777
  var TabList = ({
13549
13778
  children,
13550
13779
  id,
@@ -13602,7 +13831,7 @@ var TabList = ({
13602
13831
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
13603
13832
  ["--dds-tab-widths"]: widths.join(" ")
13604
13833
  };
13605
- return /* @__PURE__ */ (0, import_jsx_runtime317.jsx)(TabWidthContextProvider, { onChangeWidths: setWidths, children: /* @__PURE__ */ (0, import_jsx_runtime317.jsxs)(
13834
+ return /* @__PURE__ */ (0, import_jsx_runtime319.jsx)(TabWidthContextProvider, { onChangeWidths: setWidths, children: /* @__PURE__ */ (0, import_jsx_runtime319.jsxs)(
13606
13835
  "div",
13607
13836
  {
13608
13837
  ...rest,
@@ -13622,7 +13851,7 @@ var TabList = ({
13622
13851
  style: { ...style, ...customWidths },
13623
13852
  children: [
13624
13853
  tabListChildren,
13625
- hasButton && /* @__PURE__ */ (0, import_jsx_runtime317.jsx)(
13854
+ hasButton && /* @__PURE__ */ (0, import_jsx_runtime319.jsx)(
13626
13855
  AddTabButton,
13627
13856
  {
13628
13857
  index: tabListChildren ? tabListChildren.length : 0,
@@ -13636,7 +13865,7 @@ var TabList = ({
13636
13865
  TabList.displayName = "TabList";
13637
13866
 
13638
13867
  // src/components/Tabs/TabPanel.tsx
13639
- var import_jsx_runtime318 = require("react/jsx-runtime");
13868
+ var import_jsx_runtime320 = require("react/jsx-runtime");
13640
13869
  var TabPanel = ({
13641
13870
  active = false,
13642
13871
  children,
@@ -13645,7 +13874,7 @@ var TabPanel = ({
13645
13874
  htmlProps,
13646
13875
  padding = "x0.25",
13647
13876
  ...rest
13648
- }) => /* @__PURE__ */ (0, import_jsx_runtime318.jsx)(
13877
+ }) => /* @__PURE__ */ (0, import_jsx_runtime320.jsx)(
13649
13878
  Box,
13650
13879
  {
13651
13880
  padding,
@@ -13660,7 +13889,7 @@ TabPanel.displayName = "TabPanel";
13660
13889
 
13661
13890
  // src/components/Tabs/TabPanels.tsx
13662
13891
  var import_react97 = require("react");
13663
- var import_jsx_runtime319 = require("react/jsx-runtime");
13892
+ var import_jsx_runtime321 = require("react/jsx-runtime");
13664
13893
  var TabPanels = ({ children, ref, ...rest }) => {
13665
13894
  const { activeTab, tabsId, tabPanelsRef } = useTabsContext();
13666
13895
  const combinedRef = useCombinedRef(ref, tabPanelsRef);
@@ -13675,7 +13904,7 @@ var TabPanels = ({ children, ref, ...rest }) => {
13675
13904
  }
13676
13905
  });
13677
13906
  });
13678
- return /* @__PURE__ */ (0, import_jsx_runtime319.jsx)(Box, { ref: combinedRef, ...rest, children: panelChildren });
13907
+ return /* @__PURE__ */ (0, import_jsx_runtime321.jsx)(Box, { ref: combinedRef, ...rest, children: panelChildren });
13679
13908
  };
13680
13909
  TabPanels.displayName = "TabPanels";
13681
13910
 
@@ -13696,7 +13925,7 @@ var Tag_default = {
13696
13925
  };
13697
13926
 
13698
13927
  // src/components/Tag/Tag.tsx
13699
- var import_jsx_runtime320 = require("react/jsx-runtime");
13928
+ var import_jsx_runtime322 = require("react/jsx-runtime");
13700
13929
  var icons3 = {
13701
13930
  info: InfoIcon,
13702
13931
  danger: ErrorIcon,
@@ -13716,7 +13945,7 @@ var Tag = ({
13716
13945
  ...rest
13717
13946
  }) => {
13718
13947
  const icon = icons3[purpose];
13719
- return /* @__PURE__ */ (0, import_jsx_runtime320.jsxs)(
13948
+ return /* @__PURE__ */ (0, import_jsx_runtime322.jsxs)(
13720
13949
  TextOverflowEllipsisWrapper,
13721
13950
  {
13722
13951
  ...getBaseHTMLProps(
@@ -13732,8 +13961,8 @@ var Tag = ({
13732
13961
  rest
13733
13962
  ),
13734
13963
  children: [
13735
- withIcon && icon && /* @__PURE__ */ (0, import_jsx_runtime320.jsx)(Icon, { icon, iconSize: "small" }),
13736
- /* @__PURE__ */ (0, import_jsx_runtime320.jsx)(TextOverflowEllipsisInner, { children: children != null ? children : text })
13964
+ withIcon && icon && /* @__PURE__ */ (0, import_jsx_runtime322.jsx)(Icon, { icon, iconSize: "small" }),
13965
+ /* @__PURE__ */ (0, import_jsx_runtime322.jsx)(TextOverflowEllipsisInner, { children: children != null ? children : text })
13737
13966
  ]
13738
13967
  }
13739
13968
  );
@@ -13763,7 +13992,7 @@ var TextInput_default = {
13763
13992
  };
13764
13993
 
13765
13994
  // src/components/TextInput/TextInput.tsx
13766
- var import_jsx_runtime321 = require("react/jsx-runtime");
13995
+ var import_jsx_runtime323 = require("react/jsx-runtime");
13767
13996
  var TextInput = ({
13768
13997
  label,
13769
13998
  afterLabelContent,
@@ -13858,8 +14087,8 @@ var TextInput = ({
13858
14087
  const suffixPaddingInlineEnd = suffixLength ? `calc(var(--dds-spacing-x1) + ${suffixLength}px)` : void 0;
13859
14088
  let extendedInput = null;
13860
14089
  if (hasIcon) {
13861
- extendedInput = /* @__PURE__ */ (0, import_jsx_runtime321.jsxs)(Box, { className: Input_default["input-group"], width: inputWidth, children: [
13862
- /* @__PURE__ */ (0, import_jsx_runtime321.jsx)(
14090
+ extendedInput = /* @__PURE__ */ (0, import_jsx_runtime323.jsxs)(Box, { className: Input_default["input-group"], width: inputWidth, children: [
14091
+ /* @__PURE__ */ (0, import_jsx_runtime323.jsx)(
13863
14092
  Icon,
13864
14093
  {
13865
14094
  icon,
@@ -13870,7 +14099,7 @@ var TextInput = ({
13870
14099
  )
13871
14100
  }
13872
14101
  ),
13873
- /* @__PURE__ */ (0, import_jsx_runtime321.jsx)(
14102
+ /* @__PURE__ */ (0, import_jsx_runtime323.jsx)(
13874
14103
  StatefulInput,
13875
14104
  {
13876
14105
  className: cn(
@@ -13883,7 +14112,7 @@ var TextInput = ({
13883
14112
  )
13884
14113
  ] });
13885
14114
  } else if (hasAffix) {
13886
- extendedInput = /* @__PURE__ */ (0, import_jsx_runtime321.jsxs)(
14115
+ extendedInput = /* @__PURE__ */ (0, import_jsx_runtime323.jsxs)(
13887
14116
  Box,
13888
14117
  {
13889
14118
  position: "relative",
@@ -13891,7 +14120,7 @@ var TextInput = ({
13891
14120
  alignItems: "center",
13892
14121
  width: inputWidth,
13893
14122
  children: [
13894
- prefix2 && /* @__PURE__ */ (0, import_jsx_runtime321.jsx)(
14123
+ prefix2 && /* @__PURE__ */ (0, import_jsx_runtime323.jsx)(
13895
14124
  "span",
13896
14125
  {
13897
14126
  ref: prefixRef,
@@ -13904,7 +14133,7 @@ var TextInput = ({
13904
14133
  children: prefix2
13905
14134
  }
13906
14135
  ),
13907
- /* @__PURE__ */ (0, import_jsx_runtime321.jsx)(
14136
+ /* @__PURE__ */ (0, import_jsx_runtime323.jsx)(
13908
14137
  StatefulInput,
13909
14138
  {
13910
14139
  style: {
@@ -13915,7 +14144,7 @@ var TextInput = ({
13915
14144
  ...generalInputProps
13916
14145
  }
13917
14146
  ),
13918
- suffix && /* @__PURE__ */ (0, import_jsx_runtime321.jsx)(
14147
+ suffix && /* @__PURE__ */ (0, import_jsx_runtime323.jsx)(
13919
14148
  "span",
13920
14149
  {
13921
14150
  ref: suffixRef,
@@ -13932,7 +14161,7 @@ var TextInput = ({
13932
14161
  }
13933
14162
  );
13934
14163
  }
13935
- return /* @__PURE__ */ (0, import_jsx_runtime321.jsxs)(
14164
+ return /* @__PURE__ */ (0, import_jsx_runtime323.jsxs)(
13936
14165
  "div",
13937
14166
  {
13938
14167
  className: cn(
@@ -13951,8 +14180,8 @@ var TextInput = ({
13951
14180
  readOnly,
13952
14181
  afterLabelContent
13953
14182
  }),
13954
- extendedInput ? extendedInput : /* @__PURE__ */ (0, import_jsx_runtime321.jsx)(Box, { as: StatefulInput, width: inputWidth, ...generalInputProps }),
13955
- hasBottomContainer && /* @__PURE__ */ (0, import_jsx_runtime321.jsxs)(
14183
+ extendedInput ? extendedInput : /* @__PURE__ */ (0, import_jsx_runtime323.jsx)(Box, { as: StatefulInput, width: inputWidth, ...generalInputProps }),
14184
+ hasBottomContainer && /* @__PURE__ */ (0, import_jsx_runtime323.jsxs)(
13956
14185
  Box,
13957
14186
  {
13958
14187
  display: "flex",
@@ -13995,7 +14224,7 @@ var Toggle_default = {
13995
14224
  };
13996
14225
 
13997
14226
  // src/components/Toggle/Toggle.tsx
13998
- var import_jsx_runtime322 = require("react/jsx-runtime");
14227
+ var import_jsx_runtime324 = require("react/jsx-runtime");
13999
14228
  var TOGGLE_SIZES = createSizes("medium", "large");
14000
14229
  var Toggle = ({
14001
14230
  id,
@@ -14020,7 +14249,7 @@ var Toggle = ({
14020
14249
  defaultValue: defaultChecked != null ? defaultChecked : false,
14021
14250
  onChange
14022
14251
  });
14023
- return /* @__PURE__ */ (0, import_jsx_runtime322.jsxs)(
14252
+ return /* @__PURE__ */ (0, import_jsx_runtime324.jsxs)(
14024
14253
  "label",
14025
14254
  {
14026
14255
  htmlFor: uniqueId,
@@ -14032,7 +14261,7 @@ var Toggle = ({
14032
14261
  readOnly && Toggle_default["label--read-only"]
14033
14262
  ),
14034
14263
  children: [
14035
- /* @__PURE__ */ (0, import_jsx_runtime322.jsx)(
14264
+ /* @__PURE__ */ (0, import_jsx_runtime324.jsx)(
14036
14265
  HiddenInput,
14037
14266
  {
14038
14267
  ...getBaseHTMLProps(
@@ -14054,7 +14283,7 @@ var Toggle = ({
14054
14283
  onClick: readOnlyClickHandler(readOnly || isLoading, htmlProps.onClick)
14055
14284
  }
14056
14285
  ),
14057
- /* @__PURE__ */ (0, import_jsx_runtime322.jsx)("span", { className: cn(Toggle_default.track, focus_default["focus-styled-sibling"]), children: /* @__PURE__ */ (0, import_jsx_runtime322.jsx)("span", { className: Toggle_default.thumb, children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime322.jsx)(Spinner, { size: `var(--dds-icon-size-${size2})` }) : /* @__PURE__ */ (0, import_jsx_runtime322.jsx)(
14286
+ /* @__PURE__ */ (0, import_jsx_runtime324.jsx)("span", { className: cn(Toggle_default.track, focus_default["focus-styled-sibling"]), children: /* @__PURE__ */ (0, import_jsx_runtime324.jsx)("span", { className: Toggle_default.thumb, children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime324.jsx)(Spinner, { size: `var(--dds-icon-size-${size2})` }) : /* @__PURE__ */ (0, import_jsx_runtime324.jsx)(
14058
14287
  Icon,
14059
14288
  {
14060
14289
  className: Toggle_default.checkmark,
@@ -14062,8 +14291,8 @@ var Toggle = ({
14062
14291
  iconSize
14063
14292
  }
14064
14293
  ) }) }),
14065
- /* @__PURE__ */ (0, import_jsx_runtime322.jsxs)("span", { className: cn(readOnly && Toggle_default["labeltext--readonly"]), children: [
14066
- readOnly && /* @__PURE__ */ (0, import_jsx_runtime322.jsx)(
14294
+ /* @__PURE__ */ (0, import_jsx_runtime324.jsxs)("span", { className: cn(readOnly && Toggle_default["labeltext--readonly"]), children: [
14295
+ readOnly && /* @__PURE__ */ (0, import_jsx_runtime324.jsx)(
14067
14296
  Icon,
14068
14297
  {
14069
14298
  icon: LockIcon,
@@ -14073,7 +14302,7 @@ var Toggle = ({
14073
14302
  ),
14074
14303
  children,
14075
14304
  " ",
14076
- isLoading && /* @__PURE__ */ (0, import_jsx_runtime322.jsx)(VisuallyHidden, { children: t(commonTexts.loading) })
14305
+ isLoading && /* @__PURE__ */ (0, import_jsx_runtime324.jsx)(VisuallyHidden, { children: t(commonTexts.loading) })
14077
14306
  ] })
14078
14307
  ]
14079
14308
  }
@@ -14107,7 +14336,7 @@ var ToggleBar_default = {
14107
14336
  };
14108
14337
 
14109
14338
  // src/components/ToggleBar/ToggleBar.tsx
14110
- var import_jsx_runtime323 = require("react/jsx-runtime");
14339
+ var import_jsx_runtime325 = require("react/jsx-runtime");
14111
14340
  var ToggleBar = (props) => {
14112
14341
  const {
14113
14342
  children,
@@ -14130,7 +14359,7 @@ var ToggleBar = (props) => {
14130
14359
  (e) => onChange && onChange(e, e.target.value)
14131
14360
  );
14132
14361
  const labelId = label && `${uniqueId}-label`;
14133
- return /* @__PURE__ */ (0, import_jsx_runtime323.jsx)(
14362
+ return /* @__PURE__ */ (0, import_jsx_runtime325.jsx)(
14134
14363
  ToggleBarContext,
14135
14364
  {
14136
14365
  value: {
@@ -14139,7 +14368,7 @@ var ToggleBar = (props) => {
14139
14368
  name,
14140
14369
  value: groupValue
14141
14370
  },
14142
- children: /* @__PURE__ */ (0, import_jsx_runtime323.jsxs)(
14371
+ children: /* @__PURE__ */ (0, import_jsx_runtime325.jsxs)(
14143
14372
  VStack,
14144
14373
  {
14145
14374
  ...getBaseHTMLProps(id, className, htmlProps, rest),
@@ -14148,8 +14377,8 @@ var ToggleBar = (props) => {
14148
14377
  role: "radiogroup",
14149
14378
  "aria-labelledby": labelId != null ? labelId : htmlProps == null ? void 0 : htmlProps["aria-labelledby"],
14150
14379
  children: [
14151
- label && /* @__PURE__ */ (0, import_jsx_runtime323.jsx)(Typography, { id: labelId, as: "span", typographyType: "labelMedium", children: label }),
14152
- /* @__PURE__ */ (0, import_jsx_runtime323.jsx)("div", { className: ToggleBar_default.bar, children })
14380
+ label && /* @__PURE__ */ (0, import_jsx_runtime325.jsx)(Typography, { id: labelId, as: "span", typographyType: "labelMedium", children: label }),
14381
+ /* @__PURE__ */ (0, import_jsx_runtime325.jsx)("div", { className: ToggleBar_default.bar, children })
14153
14382
  ]
14154
14383
  }
14155
14384
  )
@@ -14160,7 +14389,7 @@ ToggleBar.displayName = "ToggleBar";
14160
14389
 
14161
14390
  // src/components/ToggleBar/ToggleRadio.tsx
14162
14391
  var import_react102 = require("react");
14163
- var import_jsx_runtime324 = require("react/jsx-runtime");
14392
+ var import_jsx_runtime326 = require("react/jsx-runtime");
14164
14393
  var typographyTypes3 = {
14165
14394
  large: "bodyLarge",
14166
14395
  medium: "bodyMedium",
@@ -14200,8 +14429,8 @@ var ToggleRadio = ({
14200
14429
  (_a = group == null ? void 0 : group.onChange) == null ? void 0 : _a.call(group, event);
14201
14430
  };
14202
14431
  const contentTypeCn = label ? "with-text" : "just-icon";
14203
- return /* @__PURE__ */ (0, import_jsx_runtime324.jsxs)("label", { htmlFor: uniqueId, className: ToggleBar_default.label, children: [
14204
- /* @__PURE__ */ (0, import_jsx_runtime324.jsx)(
14432
+ return /* @__PURE__ */ (0, import_jsx_runtime326.jsxs)("label", { htmlFor: uniqueId, className: ToggleBar_default.label, children: [
14433
+ /* @__PURE__ */ (0, import_jsx_runtime326.jsx)(
14205
14434
  HiddenInput,
14206
14435
  {
14207
14436
  ...getBaseHTMLProps(
@@ -14219,7 +14448,7 @@ var ToggleRadio = ({
14219
14448
  "aria-labelledby": ariaLabelledBy
14220
14449
  }
14221
14450
  ),
14222
- /* @__PURE__ */ (0, import_jsx_runtime324.jsxs)(
14451
+ /* @__PURE__ */ (0, import_jsx_runtime326.jsxs)(
14223
14452
  Typography,
14224
14453
  {
14225
14454
  as: "span",
@@ -14230,8 +14459,8 @@ var ToggleRadio = ({
14230
14459
  focus_default["focus-styled-sibling"]
14231
14460
  ),
14232
14461
  children: [
14233
- icon && /* @__PURE__ */ (0, import_jsx_runtime324.jsx)(Icon, { icon, iconSize: "inherit" }),
14234
- label && /* @__PURE__ */ (0, import_jsx_runtime324.jsx)("span", { children: label })
14462
+ icon && /* @__PURE__ */ (0, import_jsx_runtime326.jsx)(Icon, { icon, iconSize: "inherit" }),
14463
+ label && /* @__PURE__ */ (0, import_jsx_runtime326.jsx)("span", { children: label })
14235
14464
  ]
14236
14465
  }
14237
14466
  )
@@ -14251,7 +14480,7 @@ var ToggleButton_default = {
14251
14480
  };
14252
14481
 
14253
14482
  // src/components/ToggleButton/ToggleButton.tsx
14254
- var import_jsx_runtime325 = require("react/jsx-runtime");
14483
+ var import_jsx_runtime327 = require("react/jsx-runtime");
14255
14484
  var ToggleButton = ({
14256
14485
  id,
14257
14486
  label,
@@ -14264,8 +14493,8 @@ var ToggleButton = ({
14264
14493
  const generatedId = (0, import_react103.useId)();
14265
14494
  const uniqueId = id != null ? id : `${generatedId}-toggleButton`;
14266
14495
  const hasIcon = !!icon;
14267
- return /* @__PURE__ */ (0, import_jsx_runtime325.jsxs)(Box, { as: "label", htmlFor: uniqueId, width: "fit-content", children: [
14268
- /* @__PURE__ */ (0, import_jsx_runtime325.jsx)(
14496
+ return /* @__PURE__ */ (0, import_jsx_runtime327.jsxs)(Box, { as: "label", htmlFor: uniqueId, width: "fit-content", children: [
14497
+ /* @__PURE__ */ (0, import_jsx_runtime327.jsx)(
14269
14498
  HiddenInput,
14270
14499
  {
14271
14500
  ...getBaseHTMLProps(
@@ -14277,7 +14506,7 @@ var ToggleButton = ({
14277
14506
  type: "checkbox"
14278
14507
  }
14279
14508
  ),
14280
- /* @__PURE__ */ (0, import_jsx_runtime325.jsxs)(
14509
+ /* @__PURE__ */ (0, import_jsx_runtime327.jsxs)(
14281
14510
  "span",
14282
14511
  {
14283
14512
  className: cn(
@@ -14288,7 +14517,7 @@ var ToggleButton = ({
14288
14517
  focus_default["focus-styled-sibling"]
14289
14518
  ),
14290
14519
  children: [
14291
- hasIcon && /* @__PURE__ */ (0, import_jsx_runtime325.jsx)(Icon, { icon, iconSize: "inherit" }),
14520
+ hasIcon && /* @__PURE__ */ (0, import_jsx_runtime327.jsx)(Icon, { icon, iconSize: "inherit" }),
14292
14521
  " ",
14293
14522
  label
14294
14523
  ]
@@ -14300,7 +14529,7 @@ ToggleButton.displayName = "ToggleButton";
14300
14529
 
14301
14530
  // src/components/ToggleButton/ToggleButtonGroup.tsx
14302
14531
  var import_react104 = require("react");
14303
- var import_jsx_runtime326 = require("react/jsx-runtime");
14532
+ var import_jsx_runtime328 = require("react/jsx-runtime");
14304
14533
  var ToggleButtonGroup = (props) => {
14305
14534
  const {
14306
14535
  children,
@@ -14314,7 +14543,7 @@ var ToggleButtonGroup = (props) => {
14314
14543
  } = props;
14315
14544
  const generatedId = (0, import_react104.useId)();
14316
14545
  const uniqueLabelId = labelId != null ? labelId : `${generatedId}-ToggleButtonGroupLabel`;
14317
- return /* @__PURE__ */ (0, import_jsx_runtime326.jsxs)(
14546
+ return /* @__PURE__ */ (0, import_jsx_runtime328.jsxs)(
14318
14547
  "div",
14319
14548
  {
14320
14549
  ...getBaseHTMLProps(id, className, htmlProps, rest),
@@ -14322,7 +14551,7 @@ var ToggleButtonGroup = (props) => {
14322
14551
  "aria-labelledby": label ? uniqueLabelId : void 0,
14323
14552
  children: [
14324
14553
  renderGroupLabel({ label, id: uniqueLabelId }),
14325
- /* @__PURE__ */ (0, import_jsx_runtime326.jsx)(Box, { display: "flex", flexWrap: "wrap", gap: "x0.75", flexDirection: direction, children })
14554
+ /* @__PURE__ */ (0, import_jsx_runtime328.jsx)(Box, { display: "flex", flexWrap: "wrap", gap: "x0.75", flexDirection: direction, children })
14326
14555
  ]
14327
14556
  }
14328
14557
  );
@@ -14459,6 +14688,16 @@ ToggleButtonGroup.displayName = "ToggleButtonGroup";
14459
14688
  FooterLogo,
14460
14689
  FooterSocialsGroup,
14461
14690
  FooterSocialsList,
14691
+ FormSummary,
14692
+ FormSummaryEditButton,
14693
+ FormSummaryEmptyValue,
14694
+ FormSummaryError,
14695
+ FormSummaryField,
14696
+ FormSummaryFields,
14697
+ FormSummaryHeader,
14698
+ FormSummaryHeading,
14699
+ FormSummaryLabel,
14700
+ FormSummaryValue,
14462
14701
  FullscreenExitIcon,
14463
14702
  FullscreenIcon,
14464
14703
  GavelIcon,