@norges-domstoler/dds-components 21.17.2 → 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.mjs CHANGED
@@ -224,7 +224,8 @@ var combineHandlers = (handler1, handler2) => {
224
224
 
225
225
  // src/utils/dom.ts
226
226
  function cn(...classNames) {
227
- return classNames.filter(Boolean).join(" ");
227
+ const filtered = classNames.filter(Boolean).join(" ");
228
+ return filtered || void 0;
228
229
  }
229
230
  function convertCamelToHyphen(value) {
230
231
  return value.replace(/([a-z])([A-Z])/g, "$1-$2").replace(/([a-z])([0-9])/g, "$1-$2").toLowerCase();
@@ -2899,8 +2900,8 @@ function useTranslation() {
2899
2900
  const t = (text) => text[lang];
2900
2901
  return { t, lang };
2901
2902
  }
2902
- function createTexts(texts28) {
2903
- return texts28;
2903
+ function createTexts(texts30) {
2904
+ return texts30;
2904
2905
  }
2905
2906
 
2906
2907
  // src/DdsProvider/DdsProvider.tsx
@@ -3690,7 +3691,8 @@ var texts = createTexts({
3690
3691
  nb: "G\xE5 tilbake",
3691
3692
  no: "G\xE5 tilbake",
3692
3693
  nn: "G\xE5 tilbake",
3693
- en: "Go back"
3694
+ en: "Go back",
3695
+ se: "Mana ruovttoluotta"
3694
3696
  }
3695
3697
  });
3696
3698
 
@@ -3761,25 +3763,29 @@ var commonTexts = createTexts({
3761
3763
  no: "T\xF8m nedtrekksliste",
3762
3764
  nb: "T\xF8m nedtrekksliste",
3763
3765
  nn: "T\xF8m nedtrekksliste",
3764
- en: "Clear selection"
3766
+ en: "Clear selection",
3767
+ se: "Gidde v\xE1lljemiid"
3765
3768
  },
3766
3769
  close: {
3767
3770
  nb: "Lukk",
3768
3771
  no: "Lukk",
3769
3772
  nn: "Lukk",
3770
- en: "Close"
3773
+ en: "Close",
3774
+ se: "Gidde"
3771
3775
  },
3772
3776
  closeMessage: {
3773
3777
  nb: "Lukk melding",
3774
3778
  no: "Lukk melding",
3775
3779
  nn: "Lukk melding",
3776
- en: "Close message"
3780
+ en: "Close message",
3781
+ se: "Gidde die\u0111u"
3777
3782
  },
3778
3783
  loading: {
3779
3784
  nb: "Innlastning p\xE5g\xE5r",
3780
3785
  no: "Innlastning p\xE5g\xE5r",
3781
3786
  nn: "Innlastning p\xE5g\xE5r",
3782
- en: "Loading"
3787
+ en: "Loading",
3788
+ se: "Vie\u017E\u017Eamin"
3783
3789
  }
3784
3790
  });
3785
3791
 
@@ -3865,8 +3871,8 @@ var Button = ({
3865
3871
  iconPosition = "left",
3866
3872
  href,
3867
3873
  target,
3868
- loading = false,
3869
- loadingTooltip = "Lagring p\xE5g\xE5r",
3874
+ loading,
3875
+ loadingTooltip,
3870
3876
  fullWidth = false,
3871
3877
  icon,
3872
3878
  onClick,
@@ -3970,7 +3976,8 @@ var texts2 = createTexts({
3970
3976
  no: "Lagring p\xE5g\xE5r",
3971
3977
  nb: "Lagring p\xE5g\xE5r",
3972
3978
  nn: "Lagring p\xE5g\xE5r",
3973
- en: "Saving"
3979
+ en: "Saving",
3980
+ se: "Vurkemin"
3974
3981
  }
3975
3982
  });
3976
3983
 
@@ -4495,19 +4502,22 @@ var texts3 = createTexts({
4495
4502
  nb: "Br\xF8dsmulesti",
4496
4503
  no: "Br\xF8dsmulesti",
4497
4504
  nn: "Br\xF8dsmulesti",
4498
- en: "Breadcrumbs"
4505
+ en: "Breadcrumbs",
4506
+ se: "L\xE1ibemoallob\xE1lggis"
4499
4507
  },
4500
4508
  showHiddenTo: (to) => ({
4501
4509
  nb: `Vis br\xF8dsmule 2 til ${to}`,
4502
4510
  no: `Vis br\xF8dsmule 2 til ${to}`,
4503
4511
  nn: `Vis br\xF8dsmule 2 til ${to}`,
4504
- en: `Show breadcrumb 2 to ${to}`
4512
+ en: `Show breadcrumb 2 to ${to}`,
4513
+ se: `\u010C\xE1jet l\xE1ibemoalu 2 ${to}`
4505
4514
  }),
4506
4515
  showHidden: {
4507
4516
  nb: "Vis br\xF8dsmule 2",
4508
4517
  no: "Vis br\xF8dsmule 2",
4509
4518
  nn: "Vis br\xF8dsmule 2",
4510
- en: "Show breadcrumb 2"
4519
+ en: "Show breadcrumb 2",
4520
+ se: "\u010C\xE1jet l\xE1ibemoalu 2"
4511
4521
  }
4512
4522
  });
4513
4523
 
@@ -4982,6 +4992,7 @@ var InputMessage = ({
4982
4992
  id,
4983
4993
  className,
4984
4994
  htmlProps,
4995
+ children,
4985
4996
  ...rest
4986
4997
  }) => {
4987
4998
  const isError = messageType === "error";
@@ -5002,7 +5013,7 @@ var InputMessage = ({
5002
5013
  typographyType: isError ? "bodySmall" : "bodyXsmall",
5003
5014
  color: isError ? "textDefault" : "textSubtle",
5004
5015
  as: "span",
5005
- children: message
5016
+ children: message != null ? message : children
5006
5017
  }
5007
5018
  )
5008
5019
  ]
@@ -5486,7 +5497,8 @@ var texts4 = createTexts({
5486
5497
  nb: "Fjern merkelapp",
5487
5498
  no: "Fjern merkelapp",
5488
5499
  nn: "Fjern merkelapp",
5489
- en: "Remove chip"
5500
+ en: "Remove chip",
5501
+ se: "Sihku lihppu"
5490
5502
  }
5491
5503
  });
5492
5504
 
@@ -5647,7 +5659,8 @@ var texts5 = createTexts({
5647
5659
  nb: "Utvid samtykke for bruk av informasjonskapsler",
5648
5660
  no: "Utvid samtykke for bruk av informasjonskapsler",
5649
5661
  nn: "Utvid samtykke for bruk av informasjonskapslar",
5650
- en: "Expand consent for the use of cookies"
5662
+ en: "Expand consent for the use of cookies",
5663
+ se: "Viiddit mie\u0111\xE1husa diehto\u010Doahkuid geavaheapm\xE1i"
5651
5664
  }
5652
5665
  });
5653
5666
 
@@ -5714,7 +5727,8 @@ var LOCALE = {
5714
5727
  nb: "nb-NO",
5715
5728
  no: "no-NO",
5716
5729
  nn: "nn-NO",
5717
- en: "en-GB"
5730
+ en: "en-GB",
5731
+ se: "se-NO"
5718
5732
  };
5719
5733
  var timezone = "Europe/Oslo";
5720
5734
 
@@ -6046,91 +6060,106 @@ var texts6 = createTexts({
6046
6060
  nb: "Ukenummer",
6047
6061
  no: "Ukenummer",
6048
6062
  nn: "Vekenummer",
6049
- en: "Week number"
6063
+ en: "Week number",
6064
+ se: "Vahkkonummir"
6050
6065
  },
6051
6066
  mo: {
6052
6067
  nb: "Ma",
6053
6068
  no: "Ma",
6054
6069
  nn: "M\xE5",
6055
- en: "Mo"
6070
+ en: "Mo",
6071
+ se: "Vuos"
6056
6072
  },
6057
6073
  tu: {
6058
6074
  nb: "Ti",
6059
6075
  no: "Ti",
6060
6076
  nn: "Ty",
6061
- en: "Tu"
6077
+ en: "Tu",
6078
+ se: "Ma\u014B"
6062
6079
  },
6063
6080
  we: {
6064
6081
  nb: "On",
6065
6082
  no: "On",
6066
6083
  nn: "On",
6067
- en: "We"
6084
+ en: "We",
6085
+ se: "Gask"
6068
6086
  },
6069
6087
  th: {
6070
6088
  nb: "To",
6071
6089
  no: "To",
6072
6090
  nn: "To",
6073
- en: "Th"
6091
+ en: "Th",
6092
+ se: "Duo"
6074
6093
  },
6075
6094
  fr: {
6076
6095
  nb: "Fr",
6077
6096
  no: "Fr",
6078
6097
  nn: "Fr",
6079
- en: "Fr"
6098
+ en: "Fr",
6099
+ se: "Bea"
6080
6100
  },
6081
6101
  sa: {
6082
6102
  nb: "L\xF8",
6083
6103
  no: "L\xF8",
6084
6104
  nn: "La",
6085
- en: "Sa"
6105
+ en: "Sa",
6106
+ se: "L\xE1v"
6086
6107
  },
6087
6108
  su: {
6088
6109
  nb: "S\xF8",
6089
6110
  no: "S\xF8",
6090
6111
  nn: "Su",
6091
- en: "Su"
6112
+ en: "Su",
6113
+ se: "Sotn"
6092
6114
  },
6093
6115
  monday: {
6094
6116
  nb: "Mandag",
6095
6117
  no: "Mandag",
6096
6118
  nn: "M\xE5ndag",
6097
- en: "Monday"
6119
+ en: "Monday",
6120
+ se: "Vuoss\xE1rga"
6098
6121
  },
6099
6122
  tuesday: {
6100
6123
  nb: "Tirsdag",
6101
6124
  no: "Tirsdag",
6102
6125
  nn: "Tysdag",
6103
- en: "Tuesday"
6126
+ en: "Tuesday",
6127
+ se: "Ma\u014B\u014Beb\xE1rga"
6104
6128
  },
6105
6129
  wednesday: {
6106
6130
  nb: "Onsdag",
6107
6131
  no: "Onsdag",
6108
6132
  nn: "Onsdag",
6109
- en: "Wednesday"
6133
+ en: "Wednesday",
6134
+ se: "Gaskavahkku"
6110
6135
  },
6111
6136
  thursday: {
6112
6137
  nb: "Torsdag",
6113
6138
  no: "Torsdag",
6114
6139
  nn: "Torsdag",
6115
- en: "Thursday"
6140
+ en: "Thursday",
6141
+ se: "Duorastat"
6116
6142
  },
6117
6143
  friday: {
6118
6144
  nb: "Fredag",
6119
6145
  no: "Fredag",
6120
6146
  nn: "Fredag",
6121
- en: "Friday"
6147
+ en: "Friday",
6148
+ se: "Bearjadat"
6122
6149
  },
6123
6150
  saturday: {
6124
6151
  nb: "L\xF8rdag",
6125
6152
  no: "L\xF8rdag",
6126
6153
  nn: "Laurdag",
6127
- en: "Saturday"
6154
+ en: "Saturday",
6155
+ se: "L\xE1vvardat"
6128
6156
  },
6129
6157
  sunday: {
6130
6158
  nb: "S\xF8ndag",
6131
6159
  no: "S\xF8ndag",
6132
6160
  nn: "Sundag",
6133
- en: "Sunday"
6161
+ en: "Sunday",
6162
+ se: "Sotnabeaivi"
6134
6163
  }
6135
6164
  });
6136
6165
 
@@ -6213,13 +6242,15 @@ var texts7 = createTexts({
6213
6242
  nb: "Neste m\xE5ned",
6214
6243
  no: "Neste m\xE5ned",
6215
6244
  nn: "Neste m\xE5nad",
6216
- en: "Next month"
6245
+ en: "Next month",
6246
+ se: "Boahte m\xE1nu"
6217
6247
  },
6218
6248
  previousMonth: {
6219
6249
  nb: "Forrige m\xE5ned",
6220
6250
  no: "Forrige m\xE5ned",
6221
6251
  nn: "F\xF8rre m\xE5nad",
6222
- en: "Previous month"
6252
+ en: "Previous month",
6253
+ se: "Ovddit m\xE1nu"
6223
6254
  }
6224
6255
  });
6225
6256
 
@@ -6296,6 +6327,7 @@ function CalendarButton({
6296
6327
 
6297
6328
  // src/components/date-inputs/DatePicker/DateField/DateField.utils.tsx
6298
6329
  function formatDateFieldSegments(segments) {
6330
+ const { t } = useTranslation();
6299
6331
  const daySegment = segments.find((segment) => segment.type === "day");
6300
6332
  const monthSegment = segments.find((segment) => segment.type === "month");
6301
6333
  const yearSegment = segments.find((segment) => segment.type === "year");
@@ -6306,16 +6338,16 @@ function formatDateFieldSegments(segments) {
6306
6338
  const formattedDaySegment = {
6307
6339
  ...daySegment,
6308
6340
  text: daySegment.text.padStart(2, "0"),
6309
- placeholder: "dd"
6341
+ placeholder: t(texts8.dayPlaceholder)
6310
6342
  };
6311
6343
  const formattedMonthSegment = {
6312
6344
  ...monthSegment,
6313
6345
  text: monthSegment.text.padStart(2, "0"),
6314
- placeholder: "mm"
6346
+ placeholder: t(texts8.monthPlaceholder)
6315
6347
  };
6316
6348
  const formattedYearSegment = {
6317
6349
  ...yearSegment,
6318
- placeholder: "\xE5\xE5\xE5\xE5"
6350
+ placeholder: t(texts8.yearPlaceholder)
6319
6351
  };
6320
6352
  const formattedSeparatorSegment = { ...separatorSegment, text: "." };
6321
6353
  return [
@@ -6326,6 +6358,29 @@ function formatDateFieldSegments(segments) {
6326
6358
  formattedYearSegment
6327
6359
  ];
6328
6360
  }
6361
+ var texts8 = createTexts({
6362
+ dayPlaceholder: {
6363
+ nb: "dd",
6364
+ no: "dd",
6365
+ nn: "dd",
6366
+ en: "dd",
6367
+ se: "jj"
6368
+ },
6369
+ monthPlaceholder: {
6370
+ nb: "mm",
6371
+ no: "mm",
6372
+ nn: "mm",
6373
+ en: "mm",
6374
+ se: "mm"
6375
+ },
6376
+ yearPlaceholder: {
6377
+ nb: "\xE5\xE5\xE5\xE5",
6378
+ no: "\xE5\xE5\xE5\xE5",
6379
+ nn: "\xE5\xE5\xE5\xE5",
6380
+ en: "yyyy",
6381
+ se: "jjjj"
6382
+ }
6383
+ });
6329
6384
 
6330
6385
  // src/components/date-inputs/DatePicker/DateField/DateSegment.tsx
6331
6386
  import { useDateSegment } from "@react-aria/datepicker";
@@ -6623,7 +6678,7 @@ function DateField({
6623
6678
  ClearButton,
6624
6679
  {
6625
6680
  absolute: false,
6626
- "aria-label": t(texts8.clearDate),
6681
+ "aria-label": t(texts9.clearDate),
6627
6682
  "aria-hidden": !hasValue,
6628
6683
  className: cn(
6629
6684
  DateInput_default["clear-button"],
@@ -6649,12 +6704,13 @@ function DateField({
6649
6704
  );
6650
6705
  }
6651
6706
  DateField.displayName = "DateField";
6652
- var texts8 = createTexts({
6707
+ var texts9 = createTexts({
6653
6708
  clearDate: {
6654
6709
  en: "Clear date",
6655
6710
  nb: "T\xF8m dato",
6656
6711
  no: "T\xF8m dato",
6657
- nn: "T\xF8m dato"
6712
+ nn: "T\xF8m dato",
6713
+ se: "Gurre d\xE1htona"
6658
6714
  }
6659
6715
  });
6660
6716
 
@@ -7380,7 +7436,7 @@ var FavStar = ({
7380
7436
  checked,
7381
7437
  onChange: (e) => setChecked(e.target.checked),
7382
7438
  type: "checkbox",
7383
- "aria-label": (_a = props["aria-label"]) != null ? _a : t(texts9.favourite)
7439
+ "aria-label": (_a = props["aria-label"]) != null ? _a : t(texts10.favourite)
7384
7440
  }
7385
7441
  ),
7386
7442
  /* @__PURE__ */ jsx250(Icon, { iconSize: size2, icon: StarIcon, className: FavStar_default.icon }),
@@ -7397,12 +7453,13 @@ var FavStar = ({
7397
7453
  );
7398
7454
  };
7399
7455
  FavStar.displayName = "FavStar";
7400
- var texts9 = createTexts({
7456
+ var texts10 = createTexts({
7401
7457
  favourite: {
7402
7458
  nb: "Stjernemarker",
7403
7459
  no: "Stjernemarker",
7404
7460
  nn: "Stjernemerk",
7405
- en: "Mark as favourite"
7461
+ en: "Mark as favourite",
7462
+ se: "Merke favorihta"
7406
7463
  }
7407
7464
  });
7408
7465
 
@@ -7462,7 +7519,7 @@ function CharCounter(props) {
7462
7519
  "/",
7463
7520
  max
7464
7521
  ] }),
7465
- /* @__PURE__ */ jsx251(VisuallyHidden, { children: t(texts10.charsWritten(current, max, max - current)) })
7522
+ /* @__PURE__ */ jsx251(VisuallyHidden, { children: t(texts11.charsWritten(current, max, max - current)) })
7466
7523
  ]
7467
7524
  }
7468
7525
  );
@@ -7471,12 +7528,13 @@ var renderCharCounter = (id, isShown, textLength, maxLength) => {
7471
7528
  if (!!maxLength && Number.isInteger(maxLength) && maxLength > 0 && isShown)
7472
7529
  return /* @__PURE__ */ jsx251(CharCounter, { id, max: maxLength, current: textLength });
7473
7530
  };
7474
- var texts10 = createTexts({
7531
+ var texts11 = createTexts({
7475
7532
  charsWritten: (current, max, remain) => ({
7476
7533
  nb: `${current} av ${max} tegn skrevet. ${remain} igjen.`,
7477
7534
  no: `${current} av ${max} tegn skrevet. ${remain} igjen.`,
7478
7535
  nn: `${current} av ${max} teikn skrivne. ${remain} att.`,
7479
- en: `${current} of ${max} characters used. ${remain} remaining.`
7536
+ en: `${current} of ${max} characters used. ${remain} remaining.`,
7537
+ se: `${current} ${max} mearkabust\xE1va leat ${max} \u010D\xE1llon ${remain}.`
7480
7538
  })
7481
7539
  });
7482
7540
 
@@ -7635,17 +7693,18 @@ var CommentComponent = ({
7635
7693
  size: "small",
7636
7694
  onClick: handleSubmit,
7637
7695
  loading,
7638
- children: t(texts11.send)
7696
+ children: t(texts12.send)
7639
7697
  }
7640
7698
  )
7641
7699
  ] });
7642
7700
  };
7643
- var texts11 = createTexts({
7701
+ var texts12 = createTexts({
7644
7702
  send: {
7645
7703
  nb: "Send inn",
7646
7704
  no: "Send inn",
7647
7705
  nn: "Send inn",
7648
- en: "Send"
7706
+ en: "Send",
7707
+ se: "S\xE1dde"
7649
7708
  }
7650
7709
  });
7651
7710
 
@@ -7848,7 +7907,7 @@ var RatingComponent = ({
7848
7907
  ),
7849
7908
  children: [
7850
7909
  /* @__PURE__ */ jsx255("h2", { className: typographyStyles_default["label-medium"], children: ratingLabel }),
7851
- loading ? /* @__PURE__ */ jsx255(Spinner, { tooltip: t(texts12.uploadingFeedback) }) : /* @__PURE__ */ jsxs57(HStack, { gap: "x1", children: [
7910
+ loading ? /* @__PURE__ */ jsx255(Spinner, { tooltip: t(texts13.uploadingFeedback) }) : /* @__PURE__ */ jsxs57(HStack, { gap: "x1", children: [
7852
7911
  /* @__PURE__ */ jsx255(Tooltip, { text: thumbUpTooltip, children: button("positive", layout, thumbUpTooltip) }),
7853
7912
  /* @__PURE__ */ jsx255(Tooltip, { text: thumbDownTooltip, children: /* @__PURE__ */ jsx255("div", { children: button("negative", layout, thumbDownTooltip) }) })
7854
7913
  ] })
@@ -7856,12 +7915,13 @@ var RatingComponent = ({
7856
7915
  }
7857
7916
  );
7858
7917
  };
7859
- var texts12 = createTexts({
7918
+ var texts13 = createTexts({
7860
7919
  uploadingFeedback: {
7861
7920
  nb: "Laster opp tilbakemelding...",
7862
7921
  no: "Laster opp tilbakemelding...",
7863
7922
  nn: "Lastar opp tilbakemelding...",
7864
- en: "Uploading feedback..."
7923
+ en: "Uploading feedback...",
7924
+ se: "Vie\u017E\u017Eamin ruovttoluottadie\u0111uid..."
7865
7925
  }
7866
7926
  });
7867
7927
 
@@ -7890,14 +7950,14 @@ var Feedback = ({
7890
7950
  const [rating, setRating] = useState16(null);
7891
7951
  const [feedbackText, setFeedbackText] = useState16();
7892
7952
  const [isFeedbackSubmitted, setIsFeedbackSubmitted] = useState16(false);
7893
- const tRatingLabel = ratingLabel != null ? ratingLabel : t(texts13.ratingQuestion);
7894
- const tPositiveFeedbackLabel = positiveFeedbackLabel != null ? positiveFeedbackLabel : t(texts13.improvalQuestion);
7895
- const tNegativeFeedbackLabel = negativeFeedbackLabel != null ? negativeFeedbackLabel : t(texts13.improvalQuestion);
7896
- const tRatingSubmittedTitle = ratingSubmittedTitle != null ? ratingSubmittedTitle : t(texts13.thanks);
7897
- const tSubmittedTitle = submittedTitle != null ? submittedTitle : t(texts13.thanks);
7898
- const tTextAreaTip = textAreaTip != null ? textAreaTip : t(texts13.sensitiveInfo);
7899
- const tThumbUpTooltip = thumbUpTooltip != null ? thumbUpTooltip : t(texts13.good);
7900
- const tThumbDownTooltip = thumbDownTooltip != null ? thumbDownTooltip : t(texts13.bad);
7953
+ const tRatingLabel = ratingLabel != null ? ratingLabel : t(texts14.ratingQuestion);
7954
+ const tPositiveFeedbackLabel = positiveFeedbackLabel != null ? positiveFeedbackLabel : t(texts14.improvalQuestion);
7955
+ const tNegativeFeedbackLabel = negativeFeedbackLabel != null ? negativeFeedbackLabel : t(texts14.improvalQuestion);
7956
+ const tRatingSubmittedTitle = ratingSubmittedTitle != null ? ratingSubmittedTitle : t(texts14.thanks);
7957
+ const tSubmittedTitle = submittedTitle != null ? submittedTitle : t(texts14.thanks);
7958
+ const tTextAreaTip = textAreaTip != null ? textAreaTip : t(texts14.sensitiveInfo);
7959
+ const tThumbUpTooltip = thumbUpTooltip != null ? thumbUpTooltip : t(texts14.good);
7960
+ const tThumbDownTooltip = thumbDownTooltip != null ? thumbDownTooltip : t(texts14.bad);
7901
7961
  useEffect22(() => {
7902
7962
  if (ratingProp !== void 0) setRating(ratingProp);
7903
7963
  }, [ratingProp]);
@@ -7952,42 +8012,48 @@ var Feedback = ({
7952
8012
  }
7953
8013
  return /* @__PURE__ */ jsx256(Paragraph, { children: tSubmittedTitle });
7954
8014
  };
7955
- var texts13 = createTexts({
8015
+ var texts14 = createTexts({
7956
8016
  ratingQuestion: {
7957
8017
  nb: "Hva syns du om tjenesten?",
7958
8018
  no: "Hva syns du om tjenesten?",
7959
8019
  nn: "Kva synest du om tenesta?",
7960
- en: "What do you think about the service?"
8020
+ en: "What do you think about the service?",
8021
+ se: "Maid oaivvildat b\xE1lvalusa birra?"
7961
8022
  },
7962
8023
  improvalQuestion: {
7963
8024
  nb: "Hva kan vi forbedre? (valgfritt)",
7964
8025
  no: "Hva kan vi forbedre? (valgfritt)",
7965
8026
  nn: "Kva kan vi forbetre? (valfritt)",
7966
- en: "What can we improve? (optional)"
8027
+ en: "What can we improve? (optional)",
8028
+ se: "Maid s\xE1httit buoridit? (eavttola\u0161)"
7967
8029
  },
7968
8030
  thanks: {
7969
8031
  nb: "Tusen takk! Tilbakemeldingen din hjelper oss \xE5 forbedre l\xF8sningen",
7970
8032
  no: "Tusen takk! Tilbakemeldingen din hjelper oss \xE5 forbedre l\xF8sningen",
7971
8033
  nn: "Tusen takk! Tilbakemeldinga di hjelper oss \xE5 forbetre l\xF8ysinga",
7972
- en: "Thank you! Your feedback helps us improve the service"
8034
+ en: "Thank you! Your feedback helps us improve the service",
8035
+ se: "Giitu! Du m\xE1hcahat veahkeha min buoridit \u010Dovdosa"
7973
8036
  },
7974
8037
  sensitiveInfo: {
7975
8038
  nb: "Ikke send inn personopplysninger eller annen sensitiv informasjon",
7976
8039
  no: "Ikke send inn personopplysninger eller annen sensitiv informasjon",
7977
8040
  nn: "Ikkje send inn personopplysningar eller annan sensitiv informasjon",
7978
- en: "Do not submit personal data or other sensitive information"
8041
+ en: "Do not submit personal data or other sensitive information",
8042
+ se: "Ale s\xE1dde persuvdnadie\u0111uid dahje ear\xE1 sensitiiva die\u0111uid"
7979
8043
  },
7980
8044
  good: {
7981
8045
  nb: "Bra",
7982
8046
  no: "Bra",
7983
8047
  nn: "Bra",
7984
- en: "Good"
8048
+ en: "Good",
8049
+ se: "Buorre"
7985
8050
  },
7986
8051
  bad: {
7987
8052
  nb: "D\xE5rlig",
7988
8053
  no: "D\xE5rlig",
7989
8054
  nn: "D\xE5rleg",
7990
- en: "Bad"
8055
+ en: "Bad",
8056
+ se: "Heajos"
7991
8057
  }
7992
8058
  });
7993
8059
 
@@ -8122,9 +8188,9 @@ var File = (props) => {
8122
8188
  onClick: removeFile,
8123
8189
  icon: CloseIcon,
8124
8190
  htmlProps: {
8125
- "aria-label": t(texts14.removeFile(stateFile.file.name)),
8191
+ "aria-label": t(texts15.removeFile(stateFile.file.name)),
8126
8192
  "aria-invalid": !isValid ? true : void 0,
8127
- "aria-errormessage": !isValid ? t(texts14.invalidFile) : void 0,
8193
+ "aria-errormessage": !isValid ? t(texts15.invalidFile) : void 0,
8128
8194
  "aria-describedby": spaceSeparatedIdListGenerator(
8129
8195
  errorsList.map((e) => e.id)
8130
8196
  )
@@ -8138,18 +8204,20 @@ var File = (props) => {
8138
8204
  /* @__PURE__ */ jsx260(ErrorList, { errors: errorsList })
8139
8205
  ] });
8140
8206
  };
8141
- var texts14 = createTexts({
8207
+ var texts15 = createTexts({
8142
8208
  removeFile: (file) => ({
8143
8209
  nb: `Fjern fil ${file}`,
8144
8210
  no: `Fjern fil ${file}`,
8145
8211
  nn: `Fjern fil ${file}`,
8146
- en: `Remove file ${file}`
8212
+ en: `Remove file ${file}`,
8213
+ se: `Sihku filla ${file}`
8147
8214
  }),
8148
8215
  invalidFile: {
8149
8216
  nb: "Ugyldig fil",
8150
8217
  no: "Ugyldig fil",
8151
8218
  nn: "Ugyldig fil",
8152
- en: "Invalid file"
8219
+ en: "Invalid file",
8220
+ se: "F\xE1mohis fiila"
8153
8221
  }
8154
8222
  });
8155
8223
 
@@ -8274,7 +8342,7 @@ var useFileUploader = (props) => {
8274
8342
  isFileDialogActive: false,
8275
8343
  isDragActive: false,
8276
8344
  rootErrors: calcRootErrors(
8277
- t(texts15.invalidFileAmount),
8345
+ t(texts16.invalidFileAmount),
8278
8346
  initialFileUploaderFiles,
8279
8347
  maxFiles,
8280
8348
  errorMessage
@@ -8287,7 +8355,7 @@ var useFileUploader = (props) => {
8287
8355
  const accepted = isFileAccepted(file, accept);
8288
8356
  return {
8289
8357
  file,
8290
- errors: accepted ? [] : [t(texts15.invalidFileType)]
8358
+ errors: accepted ? [] : [t(texts16.invalidFileType)]
8291
8359
  };
8292
8360
  });
8293
8361
  dispatch({
@@ -8300,7 +8368,7 @@ var useFileUploader = (props) => {
8300
8368
  dispatch({
8301
8369
  type: "setRootErrors",
8302
8370
  payload: calcRootErrors(
8303
- t(texts15.invalidFileAmount),
8371
+ t(texts16.invalidFileAmount),
8304
8372
  stateFiles,
8305
8373
  maxFiles,
8306
8374
  errorMessage
@@ -8354,7 +8422,7 @@ var useFileUploader = (props) => {
8354
8422
  const accepted = isFileAccepted(file, accept);
8355
8423
  return {
8356
8424
  file,
8357
- errors: accepted ? [] : [t(texts15.invalidFileType)]
8425
+ errors: accepted ? [] : [t(texts16.invalidFileType)]
8358
8426
  };
8359
8427
  }).concat(stateFiles);
8360
8428
  onChange(newFiles.map((f) => f.file));
@@ -8446,18 +8514,20 @@ var useFileUploader = (props) => {
8446
8514
  removeFile
8447
8515
  };
8448
8516
  };
8449
- var texts15 = createTexts({
8517
+ var texts16 = createTexts({
8450
8518
  invalidFileType: {
8451
8519
  nb: "Ugyldig filtype",
8452
8520
  no: "Ugyldig filtype",
8453
8521
  nn: "Ugyldig filtype",
8454
- en: "Invalid file type"
8522
+ en: "Invalid file type",
8523
+ se: "F\xE1mohis fila\u0161ladja"
8455
8524
  },
8456
8525
  invalidFileAmount: {
8457
8526
  nb: "For mange filer. Maksimalt antall er ",
8458
8527
  no: "For mange filer. Maksimalt antall er ",
8459
8528
  nn: "For mange filer. Maksimalt antall er ",
8460
- en: "Too many files. The maximum allowed is "
8529
+ en: "Too many files. The maximum allowed is ",
8530
+ se: "Menddo ollu fiillat. Maksim\xE1la lohku lea "
8461
8531
  }
8462
8532
  });
8463
8533
 
@@ -8468,7 +8538,7 @@ var FileUploader = (props) => {
8468
8538
  id,
8469
8539
  label,
8470
8540
  dropAreaLabel,
8471
- btnLabel = "Velg fil",
8541
+ btnLabel,
8472
8542
  tip,
8473
8543
  required = false,
8474
8544
  withDragAndDrop = true,
@@ -8488,7 +8558,8 @@ var FileUploader = (props) => {
8488
8558
  ...rest
8489
8559
  } = props;
8490
8560
  const { t } = useTranslation();
8491
- const tDropAreaLabel = dropAreaLabel != null ? dropAreaLabel : t(texts16.dragAndDropOr);
8561
+ const tDropAreaLabel = dropAreaLabel != null ? dropAreaLabel : t(texts17.dragAndDropOr);
8562
+ const tBtnLabel = btnLabel != null ? btnLabel : t(texts17.selectFile);
8492
8563
  const generatedId = useId15();
8493
8564
  const uniqueId = id != null ? id : `${generatedId}-fileUploader`;
8494
8565
  const {
@@ -8553,7 +8624,7 @@ var FileUploader = (props) => {
8553
8624
  ...rootErrorsList.map((e) => e.id)
8554
8625
  ])
8555
8626
  },
8556
- children: btnLabel
8627
+ children: tBtnLabel
8557
8628
  }
8558
8629
  );
8559
8630
  const input = /* @__PURE__ */ jsx261(
@@ -8597,7 +8668,7 @@ var FileUploader = (props) => {
8597
8668
  children: [
8598
8669
  input,
8599
8670
  tDropAreaLabel,
8600
- /* @__PURE__ */ jsx261(VisuallyHidden, { children: t(texts16.uploadFileWithButton) }),
8671
+ /* @__PURE__ */ jsx261(VisuallyHidden, { children: t(texts17.uploadFileWithButton) }),
8601
8672
  button
8602
8673
  ]
8603
8674
  }
@@ -8615,14 +8686,14 @@ var FileUploader = (props) => {
8615
8686
  readOnly && FileUploader_default["readonly--file-list"]
8616
8687
  ),
8617
8688
  children: [
8618
- /* @__PURE__ */ jsx261(VisuallyHidden, { id: fileListNameId, children: t(texts16.uploadedFiles) }),
8689
+ /* @__PURE__ */ jsx261(VisuallyHidden, { id: fileListNameId, children: t(texts17.uploadedFiles) }),
8619
8690
  inactive && fileListElements.length === 0 ? /* @__PURE__ */ jsx261(
8620
8691
  Typography,
8621
8692
  {
8622
8693
  italic: true,
8623
8694
  as: "span",
8624
8695
  color: disabled ? "text-subtle" : "text-medium",
8625
- children: t(texts16.noFiles)
8696
+ children: t(texts17.noFiles)
8626
8697
  }
8627
8698
  ) : /* @__PURE__ */ jsx261(StylelessList, { "aria-labelledby": fileListNameId, children: fileListElements })
8628
8699
  ]
@@ -8633,30 +8704,41 @@ var FileUploader = (props) => {
8633
8704
  );
8634
8705
  };
8635
8706
  FileUploader.displayName = "FileUploader";
8636
- var texts16 = createTexts({
8707
+ var texts17 = createTexts({
8637
8708
  dragAndDropOr: {
8638
8709
  nb: "Dra og slipp filer her eller",
8639
8710
  no: "Dra og slipp filer her eller",
8640
8711
  nn: "Dra og slepp filer her eller",
8641
- en: "Drag and drop files here or"
8712
+ en: "Drag and drop files here or",
8713
+ se: "Sirdde fiillaid d\xE1sa dahje"
8714
+ },
8715
+ selectFile: {
8716
+ nb: "Velg fil",
8717
+ no: "Velg fil",
8718
+ nn: "Velg fil",
8719
+ en: "Sekect file",
8720
+ se: "V\xE1llje fiilla"
8642
8721
  },
8643
8722
  uploadFileWithButton: {
8644
8723
  nb: "last opp en fil med den p\xE5f\xF8lgende knappen",
8645
8724
  no: "last opp en fil med den p\xE5f\xF8lgende knappen",
8646
8725
  nn: "last opp ei fil med den p\xE5f\xF8lgjande knappen",
8647
- en: "upload using the following button"
8726
+ en: "upload using the following button",
8727
+ se: "vie\u010D\u010Da fiilla \u010Duovvova\u0161 boaluin"
8648
8728
  },
8649
8729
  noFiles: {
8650
8730
  nb: "Ingen filer.",
8651
8731
  no: "Ingen filer.",
8652
8732
  nn: "Ingen filer.",
8653
- en: "No files."
8733
+ en: "No files.",
8734
+ se: "Eai leat fiillat."
8654
8735
  },
8655
8736
  uploadedFiles: {
8656
8737
  nb: "Opplastede filer",
8657
8738
  no: "Opplastede filer",
8658
8739
  nn: "Opplasta filer",
8659
- en: "Uploaded files"
8740
+ en: "Uploaded files",
8741
+ se: "Vi\u017E\u017Eon fiillat"
8660
8742
  }
8661
8743
  });
8662
8744
 
@@ -8732,6 +8814,91 @@ var FooterListGroup = ({
8732
8814
  import { jsx as jsx269 } from "react/jsx-runtime";
8733
8815
  var FooterLeft = ({ className, ...rest }) => /* @__PURE__ */ jsx269("div", { className: cn(className, Footer_default["left"]), ...rest });
8734
8816
 
8817
+ // src/components/FormSummary/FormSummary.tsx
8818
+ import { jsx as jsx270 } from "react/jsx-runtime";
8819
+ var FormSummary = (props) => {
8820
+ const { children } = props;
8821
+ return /* @__PURE__ */ jsx270(Paper, { border: "border-subtle", padding: "x0.5 x0.5 x1 x0.75", ...props, children });
8822
+ };
8823
+
8824
+ // src/components/FormSummary/FormSummary.module.css
8825
+ var FormSummary_default = {
8826
+ dd: "FormSummary_dd",
8827
+ field: "FormSummary_field"
8828
+ };
8829
+
8830
+ // src/components/FormSummary/FormSummary.components.tsx
8831
+ import { jsx as jsx271, jsxs as jsxs60 } from "react/jsx-runtime";
8832
+ function FormSummaryHeader({ ...props }) {
8833
+ return /* @__PURE__ */ jsx271(
8834
+ HStack,
8835
+ {
8836
+ ...props,
8837
+ justifyContent: "space-between",
8838
+ flexWrap: "wrap",
8839
+ alignItems: "center",
8840
+ gap: "x0.75",
8841
+ marginBlock: "0 x0.75"
8842
+ }
8843
+ );
8844
+ }
8845
+ function FormSummaryHeading({
8846
+ level = 2,
8847
+ ...props
8848
+ }) {
8849
+ return /* @__PURE__ */ jsx271(Heading, { level, ...props });
8850
+ }
8851
+ function FormSummaryEditButton({
8852
+ purpose = "secondary",
8853
+ ...props
8854
+ }) {
8855
+ return /* @__PURE__ */ jsx271(Button, { icon: EditIcon, purpose, size: "xsmall", ...props });
8856
+ }
8857
+ function FormSummaryFields({ ...props }) {
8858
+ return /* @__PURE__ */ jsx271(DescriptionList, { ...props });
8859
+ }
8860
+ function FormSummaryField({
8861
+ className,
8862
+ ...props
8863
+ }) {
8864
+ return /* @__PURE__ */ jsx271("div", { ...props, className: cn(FormSummary_default.field, className) });
8865
+ }
8866
+ function FormSummaryLabel(props) {
8867
+ return /* @__PURE__ */ jsx271(DescriptionListTerm, { ...props });
8868
+ }
8869
+ function FormSummaryValue({
8870
+ className,
8871
+ isLoading,
8872
+ children,
8873
+ ...props
8874
+ }) {
8875
+ return /* @__PURE__ */ jsx271(DescriptionListDesc, { ...props, className: cn(className, FormSummary_default.dd), children: isLoading ? /* @__PURE__ */ jsx271(Spinner, { size: "1.5em" }) : children });
8876
+ }
8877
+ function FormSummaryEmptyValue() {
8878
+ const { t } = useTranslation();
8879
+ return /* @__PURE__ */ jsxs60("span", { children: [
8880
+ /* @__PURE__ */ jsx271("span", { "aria-hidden": true, children: "-" }),
8881
+ " ",
8882
+ /* @__PURE__ */ jsxs60(VisuallyHidden, { children: [
8883
+ " ",
8884
+ t(texts18.noValue),
8885
+ " "
8886
+ ] })
8887
+ ] });
8888
+ }
8889
+ function FormSummaryError({ ...props }) {
8890
+ return /* @__PURE__ */ jsx271(Box, { marginBlock: "x0.25 0", children: /* @__PURE__ */ jsx271(InputMessage, { ...props, messageType: "error" }) });
8891
+ }
8892
+ var texts18 = createTexts({
8893
+ noValue: {
8894
+ nb: "Ikke fylt ut",
8895
+ no: "Ikke fylt ut",
8896
+ nn: "Ikkje fylt ut",
8897
+ en: "Not filled out",
8898
+ se: "Ii leat bidjan"
8899
+ }
8900
+ });
8901
+
8735
8902
  // src/components/GlobalMessage/GlobalMessage.tsx
8736
8903
  import { useState as useState17 } from "react";
8737
8904
 
@@ -8747,7 +8914,7 @@ var GlobalMessage_default = {
8747
8914
  };
8748
8915
 
8749
8916
  // src/components/GlobalMessage/GlobalMessage.tsx
8750
- import { jsx as jsx270, jsxs as jsxs60 } from "react/jsx-runtime";
8917
+ import { jsx as jsx272, jsxs as jsxs61 } from "react/jsx-runtime";
8751
8918
  var icons = {
8752
8919
  info: InfoIcon,
8753
8920
  danger: ErrorIcon,
@@ -8766,7 +8933,7 @@ var GlobalMessage = ({
8766
8933
  }) => {
8767
8934
  const { t } = useTranslation();
8768
8935
  const [isClosed, setClosed] = useState17(false);
8769
- return !isClosed ? /* @__PURE__ */ jsxs60(
8936
+ return !isClosed ? /* @__PURE__ */ jsxs61(
8770
8937
  "div",
8771
8938
  {
8772
8939
  ...getBaseHTMLProps(
@@ -8781,17 +8948,17 @@ var GlobalMessage = ({
8781
8948
  rest
8782
8949
  ),
8783
8950
  children: [
8784
- /* @__PURE__ */ jsxs60(
8951
+ /* @__PURE__ */ jsxs61(
8785
8952
  "div",
8786
8953
  {
8787
8954
  className: cn(GlobalMessage_default.content, closable && GlobalMessage_default["content--closable"]),
8788
8955
  children: [
8789
- /* @__PURE__ */ jsx270(Icon, { icon: icons[purpose], className: GlobalMessage_default.icon }),
8790
- children != null ? children : /* @__PURE__ */ jsx270("span", { children: message })
8956
+ /* @__PURE__ */ jsx272(Icon, { icon: icons[purpose], className: GlobalMessage_default.icon }),
8957
+ children != null ? children : /* @__PURE__ */ jsx272("span", { children: message })
8791
8958
  ]
8792
8959
  }
8793
8960
  ),
8794
- closable && /* @__PURE__ */ jsx270(
8961
+ closable && /* @__PURE__ */ jsx272(
8795
8962
  Button,
8796
8963
  {
8797
8964
  icon: CloseIcon,
@@ -8816,14 +8983,14 @@ var InlineButton_default = {
8816
8983
  };
8817
8984
 
8818
8985
  // src/components/InlineButton/InlineButton.tsx
8819
- import { jsx as jsx271 } from "react/jsx-runtime";
8986
+ import { jsx as jsx273 } from "react/jsx-runtime";
8820
8987
  var InlineButton = ({
8821
8988
  className,
8822
8989
  color,
8823
8990
  icon,
8824
8991
  children,
8825
8992
  ...rest
8826
- }) => /* @__PURE__ */ jsx271(
8993
+ }) => /* @__PURE__ */ jsx273(
8827
8994
  StylelessButton,
8828
8995
  {
8829
8996
  className: cn(
@@ -8834,7 +9001,7 @@ var InlineButton = ({
8834
9001
  getColorCn(color)
8835
9002
  ),
8836
9003
  ...rest,
8837
- children: icon ? /* @__PURE__ */ jsx271(Icon, { icon, iconSize: "inherit" }) : children
9004
+ children: icon ? /* @__PURE__ */ jsx273(Icon, { icon, iconSize: "inherit" }) : children
8838
9005
  }
8839
9006
  );
8840
9007
 
@@ -8847,7 +9014,7 @@ import {
8847
9014
  useContext as useContext16,
8848
9015
  useState as useState18
8849
9016
  } from "react";
8850
- import { jsx as jsx272 } from "react/jsx-runtime";
9017
+ import { jsx as jsx274 } from "react/jsx-runtime";
8851
9018
  var InlineEditContext = createContext12(
8852
9019
  {}
8853
9020
  );
@@ -8891,7 +9058,7 @@ var InlineEditContextProvider = (props) => {
8891
9058
  useOnKeyDown(["Enter"], () => onExitHandler());
8892
9059
  useOnKeyDown(["Escape"], () => onExitHandler());
8893
9060
  useOnClickOutside(inputRef == null ? void 0 : inputRef.current, () => onExitHandler());
8894
- return /* @__PURE__ */ jsx272(
9061
+ return /* @__PURE__ */ jsx274(
8895
9062
  InlineEditContext,
8896
9063
  {
8897
9064
  value: {
@@ -8926,26 +9093,29 @@ var InlineEdit_default = {
8926
9093
  };
8927
9094
 
8928
9095
  // src/components/InlineEdit/InlineEdit.utils.tsx
8929
- import { jsxs as jsxs61 } from "react/jsx-runtime";
9096
+ import { jsxs as jsxs62 } from "react/jsx-runtime";
8930
9097
  var inlineEditVisuallyHidden = (id, clearable) => {
8931
9098
  const { t } = useTranslation();
8932
- return /* @__PURE__ */ jsxs61(VisuallyHidden, { id, children: [
8933
- t(texts17.inlineEditInfo),
8934
- !clearable && t(texts17.notClearable)
9099
+ return /* @__PURE__ */ jsxs62(VisuallyHidden, { id, children: [
9100
+ t(texts19.inlineEditInfo),
9101
+ " ",
9102
+ !clearable && t(texts19.notClearable)
8935
9103
  ] });
8936
9104
  };
8937
- var texts17 = createTexts({
9105
+ var texts19 = createTexts({
8938
9106
  inlineEditInfo: {
8939
9107
  nb: "Escape, Enter eller Tab for \xE5 lagre.",
8940
9108
  no: "Escape, Enter eller Tab for \xE5 lagre.",
8941
9109
  nn: "Escape, Enter eller Tab for \xE5 lagra.",
8942
- en: "Escape, Enter or Tab to save."
9110
+ en: "Escape, Enter or Tab to save.",
9111
+ se: "Escape, Enter dahje Tab go \xE1iggut vurket"
8943
9112
  },
8944
9113
  notClearable: {
8945
- nb: " Innskrivingsfeltet kan ikke t\xF8mmes.",
8946
- no: " Innskrivingsfeltet kan ikke t\xF8mmes.",
8947
- nn: " Innskrivingsfeltet kan ikkje t\xF8mmast.",
8948
- en: " Input field cannot be cleared."
9114
+ nb: "Innskrivingsfeltet kan ikke t\xF8mmes.",
9115
+ no: "Innskrivingsfeltet kan ikke t\xF8mmes.",
9116
+ nn: "Innskrivingsfeltet kan ikkje t\xF8mmast.",
9117
+ en: "Input field cannot be cleared.",
9118
+ se: "\u010C\xE1llinb\xE1ikki ii s\xE1hte sihkut"
8949
9119
  }
8950
9120
  });
8951
9121
  var inlineEditCns = (hasErrorState, showEditingIcon) => [
@@ -8995,7 +9165,7 @@ function createClearChangeEvent(elementId) {
8995
9165
  }
8996
9166
 
8997
9167
  // src/components/InlineEdit/InlineField.tsx
8998
- import { Fragment as Fragment8, jsx as jsx273, jsxs as jsxs62 } from "react/jsx-runtime";
9168
+ import { Fragment as Fragment8, jsx as jsx275, jsxs as jsxs63 } from "react/jsx-runtime";
8999
9169
  function InlineField(props) {
9000
9170
  const {
9001
9171
  elementType,
@@ -9041,7 +9211,7 @@ function InlineField(props) {
9041
9211
  const cnArgs = [hasErrorState, !isEditing && !hideIcon];
9042
9212
  const iconSize = "small";
9043
9213
  function makeIcon(icon, className2) {
9044
- return /* @__PURE__ */ jsx273(
9214
+ return /* @__PURE__ */ jsx275(
9045
9215
  Icon,
9046
9216
  {
9047
9217
  iconSize,
@@ -9056,7 +9226,7 @@ function InlineField(props) {
9056
9226
  const renderElement = () => {
9057
9227
  switch (elementType) {
9058
9228
  case "input":
9059
- return /* @__PURE__ */ jsx273(
9229
+ return /* @__PURE__ */ jsx275(
9060
9230
  "input",
9061
9231
  {
9062
9232
  ...rest,
@@ -9066,7 +9236,7 @@ function InlineField(props) {
9066
9236
  }
9067
9237
  );
9068
9238
  case "textarea":
9069
- return /* @__PURE__ */ jsx273(
9239
+ return /* @__PURE__ */ jsx275(
9070
9240
  "textarea",
9071
9241
  {
9072
9242
  ...rest,
@@ -9076,8 +9246,8 @@ function InlineField(props) {
9076
9246
  }
9077
9247
  );
9078
9248
  case "select":
9079
- return /* @__PURE__ */ jsxs62(Fragment8, { children: [
9080
- /* @__PURE__ */ jsx273(
9249
+ return /* @__PURE__ */ jsxs63(Fragment8, { children: [
9250
+ /* @__PURE__ */ jsx275(
9081
9251
  "select",
9082
9252
  {
9083
9253
  ...rest,
@@ -9086,7 +9256,7 @@ function InlineField(props) {
9086
9256
  className: cn(className, ...inlineSelectCns(...cnArgs, hasValue))
9087
9257
  }
9088
9258
  ),
9089
- hasValue && emptiable && /* @__PURE__ */ jsx273(
9259
+ hasValue && emptiable && /* @__PURE__ */ jsx275(
9090
9260
  ClearButton,
9091
9261
  {
9092
9262
  "aria-label": t(commonTexts.clearSelect),
@@ -9101,8 +9271,8 @@ function InlineField(props) {
9101
9271
  return null;
9102
9272
  }
9103
9273
  };
9104
- return /* @__PURE__ */ jsxs62(Box, { position: "relative", width, children: [
9105
- /* @__PURE__ */ jsxs62("div", { className: Input_default["input-group"], children: [
9274
+ return /* @__PURE__ */ jsxs63(Box, { position: "relative", width, children: [
9275
+ /* @__PURE__ */ jsxs63("div", { className: Input_default["input-group"], children: [
9106
9276
  !isEditing && !hideIcon && makeIcon(EditIcon, InlineEdit_default["edit-icon"]),
9107
9277
  renderElement()
9108
9278
  ] }),
@@ -9112,7 +9282,7 @@ function InlineField(props) {
9112
9282
  }
9113
9283
 
9114
9284
  // src/components/InlineEdit/InlineEditTextArea/InlineEditTextArea.tsx
9115
- import { jsx as jsx274 } from "react/jsx-runtime";
9285
+ import { jsx as jsx276 } from "react/jsx-runtime";
9116
9286
  var InlineEditTextArea = ({
9117
9287
  onSetValue,
9118
9288
  emptiable,
@@ -9125,7 +9295,7 @@ var InlineEditTextArea = ({
9125
9295
  }) => {
9126
9296
  const textareaRef = useRef25(null);
9127
9297
  const combinedRef = useCombinedRef(ref, textareaRef);
9128
- return /* @__PURE__ */ jsx274(
9298
+ return /* @__PURE__ */ jsx276(
9129
9299
  InlineEditContextProvider,
9130
9300
  {
9131
9301
  onSetValue,
@@ -9135,14 +9305,14 @@ var InlineEditTextArea = ({
9135
9305
  onFocus,
9136
9306
  onChange,
9137
9307
  onBlur,
9138
- children: /* @__PURE__ */ jsx274(InlineField, { elementType: "textarea", ...rest, ref: combinedRef })
9308
+ children: /* @__PURE__ */ jsx276(InlineField, { elementType: "textarea", ...rest, ref: combinedRef })
9139
9309
  }
9140
9310
  );
9141
9311
  };
9142
9312
 
9143
9313
  // src/components/InlineEdit/InlineEditInput/InlineEditInput.tsx
9144
9314
  import { useRef as useRef26 } from "react";
9145
- import { jsx as jsx275 } from "react/jsx-runtime";
9315
+ import { jsx as jsx277 } from "react/jsx-runtime";
9146
9316
  var InlineEditInput = ({
9147
9317
  onSetValue,
9148
9318
  emptiable,
@@ -9155,7 +9325,7 @@ var InlineEditInput = ({
9155
9325
  }) => {
9156
9326
  const inputRef = useRef26(null);
9157
9327
  const combinedRef = useCombinedRef(ref, inputRef);
9158
- return /* @__PURE__ */ jsx275(
9328
+ return /* @__PURE__ */ jsx277(
9159
9329
  InlineEditContextProvider,
9160
9330
  {
9161
9331
  onSetValue,
@@ -9165,14 +9335,14 @@ var InlineEditInput = ({
9165
9335
  onFocus,
9166
9336
  onChange,
9167
9337
  onBlur,
9168
- children: /* @__PURE__ */ jsx275(InlineField, { elementType: "input", ...rest, ref: combinedRef })
9338
+ children: /* @__PURE__ */ jsx277(InlineField, { elementType: "input", ...rest, ref: combinedRef })
9169
9339
  }
9170
9340
  );
9171
9341
  };
9172
9342
 
9173
9343
  // src/components/InlineEdit/InlineEditSelect/InlineEditSelect.tsx
9174
9344
  import { useRef as useRef27 } from "react";
9175
- import { jsx as jsx276 } from "react/jsx-runtime";
9345
+ import { jsx as jsx278 } from "react/jsx-runtime";
9176
9346
  var InlineEditSelect = ({
9177
9347
  onSetValue,
9178
9348
  emptiable,
@@ -9185,7 +9355,7 @@ var InlineEditSelect = ({
9185
9355
  }) => {
9186
9356
  const inputRef = useRef27(null);
9187
9357
  const combinedRef = useCombinedRef(ref, inputRef);
9188
- return /* @__PURE__ */ jsx276(
9358
+ return /* @__PURE__ */ jsx278(
9189
9359
  InlineEditContextProvider,
9190
9360
  {
9191
9361
  onSetValue,
@@ -9195,7 +9365,7 @@ var InlineEditSelect = ({
9195
9365
  onFocus,
9196
9366
  onChange,
9197
9367
  onBlur,
9198
- children: /* @__PURE__ */ jsx276(InlineField, { elementType: "select", ...rest, ref: combinedRef })
9368
+ children: /* @__PURE__ */ jsx278(InlineField, { elementType: "select", ...rest, ref: combinedRef })
9199
9369
  }
9200
9370
  );
9201
9371
  };
@@ -9217,8 +9387,8 @@ var InternalHeader_default = {
9217
9387
  };
9218
9388
 
9219
9389
  // src/components/InternalHeader/NavigationItem.tsx
9220
- import { jsx as jsx277 } from "react/jsx-runtime";
9221
- var NavigationItem = ({ isCurrent, ...rest }) => /* @__PURE__ */ jsx277(
9390
+ import { jsx as jsx279 } from "react/jsx-runtime";
9391
+ var NavigationItem = ({ isCurrent, ...rest }) => /* @__PURE__ */ jsx279(
9222
9392
  "a",
9223
9393
  {
9224
9394
  ...rest,
@@ -9233,7 +9403,7 @@ var NavigationItem = ({ isCurrent, ...rest }) => /* @__PURE__ */ jsx277(
9233
9403
  );
9234
9404
 
9235
9405
  // src/components/InternalHeader/InternalHeader.tsx
9236
- import { jsx as jsx278, jsxs as jsxs63 } from "react/jsx-runtime";
9406
+ import { jsx as jsx280, jsxs as jsxs64 } from "react/jsx-runtime";
9237
9407
  import { createElement as createElement2 } from "react";
9238
9408
  var InternalHeader = (props) => {
9239
9409
  const {
@@ -9263,7 +9433,7 @@ var InternalHeader = (props) => {
9263
9433
  const hasContextMenuElements = !!contextMenuItems && contextMenuItems.length > 0;
9264
9434
  const hasSmallScreenBreakpoint = !!smallScreenBreakpoint;
9265
9435
  const hasNavInContextMenu = hasSmallScreenBreakpoint && hasNavigationElements;
9266
- const navigation = hasNavigationElements ? /* @__PURE__ */ jsx278("nav", { "aria-label": t(texts18.siteNavigation), children: /* @__PURE__ */ jsx278(
9436
+ const navigation = hasNavigationElements ? /* @__PURE__ */ jsx280("nav", { "aria-label": t(texts20.siteNavigation), children: /* @__PURE__ */ jsx280(
9267
9437
  ShowHide,
9268
9438
  {
9269
9439
  as: StylelessList,
@@ -9272,7 +9442,7 @@ var InternalHeader = (props) => {
9272
9442
  children: navItems.map((item, i) => {
9273
9443
  const { href, ...rest2 } = item;
9274
9444
  const isCurrent = href === currentPage;
9275
- return /* @__PURE__ */ jsx278("li", { className: InternalHeader_default["nav-list__item"], children: /* @__PURE__ */ jsx278(
9445
+ return /* @__PURE__ */ jsx280("li", { className: InternalHeader_default["nav-list__item"], children: /* @__PURE__ */ jsx280(
9276
9446
  NavigationItem,
9277
9447
  {
9278
9448
  href,
@@ -9286,7 +9456,7 @@ var InternalHeader = (props) => {
9286
9456
  ) }) : null;
9287
9457
  const hasContextMenu = hasContextMenuElements || !!user || hasNavInContextMenu;
9288
9458
  const hasContextMenuLargeScreen = hasContextMenuElements || !!user;
9289
- return /* @__PURE__ */ jsxs63(
9459
+ return /* @__PURE__ */ jsxs64(
9290
9460
  Box,
9291
9461
  {
9292
9462
  display: "flex",
@@ -9304,7 +9474,7 @@ var InternalHeader = (props) => {
9304
9474
  rest
9305
9475
  ),
9306
9476
  children: [
9307
- /* @__PURE__ */ jsx278(Typography, { typographyType: "headingSmall", bold: true, as: "span", children: applicationHref ? /* @__PURE__ */ jsx278(
9477
+ /* @__PURE__ */ jsx280(Typography, { typographyType: "headingSmall", bold: true, as: "span", children: applicationHref ? /* @__PURE__ */ jsx280(
9308
9478
  "a",
9309
9479
  {
9310
9480
  href: applicationHref,
@@ -9313,42 +9483,42 @@ var InternalHeader = (props) => {
9313
9483
  children: applicationName
9314
9484
  }
9315
9485
  ) : applicationName }),
9316
- /* @__PURE__ */ jsx278(Typography, { typographyType: "bodyMedium", as: "span", children: applicationDesc }),
9317
- (hasContextMenu || navigation !== null) && /* @__PURE__ */ jsx278("div", { className: InternalHeader_default["bar-separator"] }),
9486
+ /* @__PURE__ */ jsx280(Typography, { typographyType: "bodyMedium", as: "span", children: applicationDesc }),
9487
+ (hasContextMenu || navigation !== null) && /* @__PURE__ */ jsx280("div", { className: InternalHeader_default["bar-separator"] }),
9318
9488
  navigation,
9319
- hasContextMenu && /* @__PURE__ */ jsx278(
9489
+ hasContextMenu && /* @__PURE__ */ jsx280(
9320
9490
  ShowHide,
9321
9491
  {
9322
9492
  showBelow: !hasContextMenuLargeScreen && hasSmallScreenBreakpoint ? smallScreenBreakpoint : void 0,
9323
9493
  className: cn(InternalHeader_default["context-menu-group"]),
9324
- children: /* @__PURE__ */ jsxs63(OverflowMenuGroup, { children: [
9325
- /* @__PURE__ */ jsx278(
9494
+ children: /* @__PURE__ */ jsxs64(OverflowMenuGroup, { children: [
9495
+ /* @__PURE__ */ jsx280(
9326
9496
  Button,
9327
9497
  {
9328
9498
  icon: hasNavInContextMenu ? MenuIcon : MoreVerticalIcon,
9329
9499
  purpose: "tertiary",
9330
- "aria-label": t(texts18.openMenu)
9500
+ "aria-label": t(texts20.openMenu)
9331
9501
  }
9332
9502
  ),
9333
- /* @__PURE__ */ jsxs63(OverflowMenu, { className: InternalHeader_default["context-menu"], children: [
9334
- user && /* @__PURE__ */ jsx278(OverflowMenuList, { children: user.href ? /* @__PURE__ */ jsx278(OverflowMenuLink, { icon: PersonIcon, ...user }) : /* @__PURE__ */ jsx278(OverflowMenuSpan, { icon: PersonIcon, ...user }) }),
9335
- hasNavInContextMenu && /* @__PURE__ */ jsx278(
9503
+ /* @__PURE__ */ jsxs64(OverflowMenu, { className: InternalHeader_default["context-menu"], children: [
9504
+ user && /* @__PURE__ */ jsx280(OverflowMenuList, { children: user.href ? /* @__PURE__ */ jsx280(OverflowMenuLink, { icon: PersonIcon, ...user }) : /* @__PURE__ */ jsx280(OverflowMenuSpan, { icon: PersonIcon, ...user }) }),
9505
+ hasNavInContextMenu && /* @__PURE__ */ jsx280(
9336
9506
  ShowHide,
9337
9507
  {
9338
9508
  as: "nav",
9339
- "aria-label": t(texts18.siteNavigation),
9509
+ "aria-label": t(texts20.siteNavigation),
9340
9510
  showBelow: smallScreenBreakpoint,
9341
- children: /* @__PURE__ */ jsx278(OverflowMenuList, { children: navItems.map((item, i) => /* @__PURE__ */ createElement2(OverflowMenuLink, { ...item, key: `nav-${i}` })) })
9511
+ children: /* @__PURE__ */ jsx280(OverflowMenuList, { children: navItems.map((item, i) => /* @__PURE__ */ createElement2(OverflowMenuLink, { ...item, key: `nav-${i}` })) })
9342
9512
  }
9343
9513
  ),
9344
- hasNavInContextMenu && hasContextMenuElements && /* @__PURE__ */ jsx278(
9514
+ hasNavInContextMenu && hasContextMenuElements && /* @__PURE__ */ jsx280(
9345
9515
  ShowHide,
9346
9516
  {
9347
9517
  as: OverflowMenuDivider,
9348
9518
  showBelow: smallScreenBreakpoint
9349
9519
  }
9350
9520
  ),
9351
- hasContextMenuElements && /* @__PURE__ */ jsx278(OverflowMenuList, { children: contextMenuItems.map((item, i) => {
9521
+ hasContextMenuElements && /* @__PURE__ */ jsx280(OverflowMenuList, { children: contextMenuItems.map((item, i) => {
9352
9522
  return item.href ? /* @__PURE__ */ createElement2(
9353
9523
  OverflowMenuLink,
9354
9524
  {
@@ -9372,18 +9542,20 @@ var InternalHeader = (props) => {
9372
9542
  );
9373
9543
  };
9374
9544
  InternalHeader.displayName = "InternalHeader";
9375
- var texts18 = createTexts({
9545
+ var texts20 = createTexts({
9376
9546
  openMenu: {
9377
9547
  nb: "\xC5pne meny",
9378
9548
  no: "\xC5pne meny",
9379
9549
  nn: "Opna meny",
9380
- en: "Open menu"
9550
+ en: "Open menu",
9551
+ se: "Rabas f\xE1llu"
9381
9552
  },
9382
9553
  siteNavigation: {
9383
9554
  nb: "Sidenavigasjon",
9384
9555
  no: "Sidenavigasjon",
9385
9556
  nn: "Sidenavigasjon",
9386
- en: "Site navigation"
9557
+ en: "Site navigation",
9558
+ se: "Siidu navig\xE1\u0161uvdna"
9387
9559
  }
9388
9560
  });
9389
9561
 
@@ -9397,7 +9569,7 @@ var List_default = {
9397
9569
  };
9398
9570
 
9399
9571
  // src/components/List/List.tsx
9400
- import { jsx as jsx279 } from "react/jsx-runtime";
9572
+ import { jsx as jsx281 } from "react/jsx-runtime";
9401
9573
  var List = ({
9402
9574
  listType = "unordered",
9403
9575
  typographyType = "inherit",
@@ -9408,7 +9580,7 @@ var List = ({
9408
9580
  ...rest
9409
9581
  }) => {
9410
9582
  const List2 = listType === "ordered" ? "ol" : "ul";
9411
- return /* @__PURE__ */ jsx279(
9583
+ return /* @__PURE__ */ jsx281(
9412
9584
  List2,
9413
9585
  {
9414
9586
  ...getBaseHTMLProps(id, className, htmlProps, rest),
@@ -9424,8 +9596,8 @@ var List = ({
9424
9596
  List.displayName = "List";
9425
9597
 
9426
9598
  // src/components/List/ListItem.tsx
9427
- import { jsx as jsx280 } from "react/jsx-runtime";
9428
- var ListItem = ({ className, ...rest }) => /* @__PURE__ */ jsx280("li", { ...rest, className: cn(className, List_default.li) });
9599
+ import { jsx as jsx282 } from "react/jsx-runtime";
9600
+ var ListItem = ({ className, ...rest }) => /* @__PURE__ */ jsx282("li", { ...rest, className: cn(className, List_default.li) });
9429
9601
  ListItem.displayName = "ListItem";
9430
9602
 
9431
9603
  // src/components/LocalMessage/LocalMessage.tsx
@@ -9450,7 +9622,7 @@ var LocalMessage_default = {
9450
9622
  };
9451
9623
 
9452
9624
  // src/components/LocalMessage/LocalMessage.tsx
9453
- import { Fragment as Fragment9, jsx as jsx281, jsxs as jsxs64 } from "react/jsx-runtime";
9625
+ import { Fragment as Fragment9, jsx as jsx283, jsxs as jsxs65 } from "react/jsx-runtime";
9454
9626
  var icons2 = {
9455
9627
  info: InfoIcon,
9456
9628
  danger: ErrorIcon,
@@ -9474,9 +9646,9 @@ var LocalMessage = ({
9474
9646
  const { t } = useTranslation();
9475
9647
  const [isClosed, setClosed] = useState20(false);
9476
9648
  if (isClosed) {
9477
- return /* @__PURE__ */ jsx281(Fragment9, {});
9649
+ return /* @__PURE__ */ jsx283(Fragment9, {});
9478
9650
  }
9479
- return /* @__PURE__ */ jsxs64(
9651
+ return /* @__PURE__ */ jsxs65(
9480
9652
  Box,
9481
9653
  {
9482
9654
  ...getBaseHTMLProps(
@@ -9497,15 +9669,15 @@ var LocalMessage = ({
9497
9669
  padding: "x0.75 x0.75 x0.75 x0.5",
9498
9670
  gap: "x0.5",
9499
9671
  children: [
9500
- /* @__PURE__ */ jsx281(
9672
+ /* @__PURE__ */ jsx283(
9501
9673
  Icon,
9502
9674
  {
9503
9675
  icon: icons2[purpose],
9504
9676
  className: cn(LocalMessage_default.icon, LocalMessage_default.container__icon)
9505
9677
  }
9506
9678
  ),
9507
- /* @__PURE__ */ jsx281("div", { className: LocalMessage_default.container__text, children: children != null ? children : /* @__PURE__ */ jsx281("span", { children: message }) }),
9508
- closable && /* @__PURE__ */ jsx281(
9679
+ /* @__PURE__ */ jsx283("div", { className: LocalMessage_default.container__text, children: children != null ? children : /* @__PURE__ */ jsx283("span", { children: message }) }),
9680
+ closable && /* @__PURE__ */ jsx283(
9509
9681
  Button,
9510
9682
  {
9511
9683
  icon: CloseIcon,
@@ -9545,7 +9717,7 @@ var Modal_default = {
9545
9717
  };
9546
9718
 
9547
9719
  // src/components/Modal/Modal.tsx
9548
- import { jsx as jsx282, jsxs as jsxs65 } from "react/jsx-runtime";
9720
+ import { jsx as jsx284, jsxs as jsxs66 } from "react/jsx-runtime";
9549
9721
  var Modal = ({
9550
9722
  isOpen = false,
9551
9723
  parentElement,
@@ -9596,14 +9768,14 @@ var Modal = ({
9596
9768
  useOnKeyDown(["Escape", "Esc"], () => handleClose());
9597
9769
  const hasTransitionedIn = useMountTransition(isOpen, 200);
9598
9770
  return (isOpen || hasTransitionedIn) && portalTarget ? createPortal3(
9599
- /* @__PURE__ */ jsx282(
9771
+ /* @__PURE__ */ jsx284(
9600
9772
  Backdrop,
9601
9773
  {
9602
9774
  zIndex: "modal",
9603
9775
  isMounted: isOpen && hasTransitionedIn,
9604
9776
  ref: backdropRef,
9605
9777
  onClick: onBackdropClick,
9606
- children: /* @__PURE__ */ jsxs65(
9778
+ children: /* @__PURE__ */ jsxs66(
9607
9779
  Paper,
9608
9780
  {
9609
9781
  display: "flex",
@@ -9630,7 +9802,7 @@ var Modal = ({
9630
9802
  id: modalId,
9631
9803
  elevation: 4,
9632
9804
  children: [
9633
- /* @__PURE__ */ jsxs65(
9805
+ /* @__PURE__ */ jsxs66(
9634
9806
  HStack,
9635
9807
  {
9636
9808
  paddingBlock: "0 x0.75",
@@ -9640,8 +9812,8 @@ var Modal = ({
9640
9812
  width: "100%",
9641
9813
  className: Modal_default["header-container"],
9642
9814
  children: [
9643
- !!header && /* @__PURE__ */ jsx282("div", { id: headerId, children: typeof header === "string" ? /* @__PURE__ */ jsx282(Heading, { level: 2, typographyType: "headingLarge", children: header }) : header }),
9644
- onClose && /* @__PURE__ */ jsx282(
9815
+ !!header && /* @__PURE__ */ jsx284("div", { id: headerId, children: typeof header === "string" ? /* @__PURE__ */ jsx284(Heading, { level: 2, typographyType: "headingLarge", children: header }) : header }),
9816
+ onClose && /* @__PURE__ */ jsx284(
9645
9817
  Button,
9646
9818
  {
9647
9819
  size: "small",
@@ -9655,7 +9827,7 @@ var Modal = ({
9655
9827
  ]
9656
9828
  }
9657
9829
  ),
9658
- /* @__PURE__ */ jsx282(Box, { display: "grid", gap: "x1", children })
9830
+ /* @__PURE__ */ jsx284(Box, { display: "grid", gap: "x1", children })
9659
9831
  ]
9660
9832
  }
9661
9833
  )
@@ -9667,7 +9839,7 @@ var Modal = ({
9667
9839
  Modal.displayName = "Modal";
9668
9840
 
9669
9841
  // src/components/Modal/ModalBody.tsx
9670
- import { jsx as jsx283 } from "react/jsx-runtime";
9842
+ import { jsx as jsx285 } from "react/jsx-runtime";
9671
9843
  var ModalBody = ({
9672
9844
  children,
9673
9845
  id,
@@ -9677,7 +9849,7 @@ var ModalBody = ({
9677
9849
  height,
9678
9850
  ...rest
9679
9851
  }) => {
9680
- return /* @__PURE__ */ jsx283(
9852
+ return /* @__PURE__ */ jsx285(
9681
9853
  "div",
9682
9854
  {
9683
9855
  ...getBaseHTMLProps(
@@ -9699,8 +9871,8 @@ var ModalBody = ({
9699
9871
  ModalBody.displayName = "ModalBody";
9700
9872
 
9701
9873
  // src/components/Modal/ModalActions.tsx
9702
- import { jsx as jsx284 } from "react/jsx-runtime";
9703
- var ModalActions = (props) => /* @__PURE__ */ jsx284(Box, { display: "flex", flexWrap: "wrap", gap: "x1", ...props });
9874
+ import { jsx as jsx286 } from "react/jsx-runtime";
9875
+ var ModalActions = (props) => /* @__PURE__ */ jsx286(Box, { display: "flex", flexWrap: "wrap", gap: "x1", ...props });
9704
9876
  ModalActions.displayName = "ModalActions";
9705
9877
 
9706
9878
  // src/components/Pagination/Pagination.tsx
@@ -10039,7 +10211,7 @@ import React from "react";
10039
10211
  import {
10040
10212
  components
10041
10213
  } from "react-select";
10042
- import { jsx as jsx285, jsxs as jsxs66 } from "react/jsx-runtime";
10214
+ import { jsx as jsx287, jsxs as jsxs67 } from "react/jsx-runtime";
10043
10215
  var {
10044
10216
  Option,
10045
10217
  NoOptionsMessage,
@@ -10062,30 +10234,30 @@ var getIndicatorIconSize = (componentSize) => {
10062
10234
  };
10063
10235
  var DDSOption = ({
10064
10236
  ...props
10065
- }) => /* @__PURE__ */ jsxs66(Option, { ...props, children: [
10066
- props.isSelected && /* @__PURE__ */ jsx285(Icon, { icon: CheckIcon, iconSize: "small" }),
10237
+ }) => /* @__PURE__ */ jsxs67(Option, { ...props, children: [
10238
+ props.isSelected && /* @__PURE__ */ jsx287(Icon, { icon: CheckIcon, iconSize: "small" }),
10067
10239
  props.children
10068
10240
  ] });
10069
- var CustomOption = (props) => /* @__PURE__ */ jsx285(Option, { ...props, children: React.createElement(props.customElement, props) });
10241
+ var CustomOption = (props) => /* @__PURE__ */ jsx287(Option, { ...props, children: React.createElement(props.customElement, props) });
10070
10242
  var CustomSingleValue = ({
10071
10243
  id,
10072
10244
  Element,
10073
10245
  ...props
10074
- }) => /* @__PURE__ */ jsx285(SingleValue, { ...props, children: /* @__PURE__ */ jsx285("div", { id, className: Select_default["inner-single-value"], children: Element ? /* @__PURE__ */ jsx285(Element, { ...props }) : props.children }) });
10075
- var DDSNoOptionsMessage = (props) => /* @__PURE__ */ jsx285(NoOptionsMessage, { ...props, children: "Ingen treff" });
10246
+ }) => /* @__PURE__ */ jsx287(SingleValue, { ...props, children: /* @__PURE__ */ jsx287("div", { id, className: Select_default["inner-single-value"], children: Element ? /* @__PURE__ */ jsx287(Element, { ...props }) : props.children }) });
10247
+ var DDSNoOptionsMessage = (props) => /* @__PURE__ */ jsx287(NoOptionsMessage, { ...props, children: "Ingen treff" });
10076
10248
  var DDSClearIndicator = ({
10077
10249
  size: size2,
10078
10250
  ...props
10079
- }) => /* @__PURE__ */ jsx285(ClearIndicator, { ...props, children: /* @__PURE__ */ jsx285(Icon, { icon: CloseSmallIcon, iconSize: getIndicatorIconSize(size2) }) });
10080
- var DDSMultiValueRemove = (props) => /* @__PURE__ */ jsx285(MultiValueRemove, { ...props, children: /* @__PURE__ */ jsx285(Icon, { icon: CloseSmallIcon, iconSize: "small" }) });
10251
+ }) => /* @__PURE__ */ jsx287(ClearIndicator, { ...props, children: /* @__PURE__ */ jsx287(Icon, { icon: CloseSmallIcon, iconSize: getIndicatorIconSize(size2) }) });
10252
+ var DDSMultiValueRemove = (props) => /* @__PURE__ */ jsx287(MultiValueRemove, { ...props, children: /* @__PURE__ */ jsx287(Icon, { icon: CloseSmallIcon, iconSize: "small" }) });
10081
10253
  var DDSDropdownIndicator = (props) => {
10082
10254
  const { className, componentSize, ...rest } = props;
10083
- return /* @__PURE__ */ jsx285(
10255
+ return /* @__PURE__ */ jsx287(
10084
10256
  DropdownIndicator,
10085
10257
  {
10086
10258
  ...rest,
10087
10259
  className: cn(className, Select_default["dropdown-indicator"]),
10088
- children: /* @__PURE__ */ jsx285(
10260
+ children: /* @__PURE__ */ jsx287(
10089
10261
  Icon,
10090
10262
  {
10091
10263
  icon: ChevronDownIcon,
@@ -10099,7 +10271,7 @@ var DDSInput = ({
10099
10271
  ariaInvalid,
10100
10272
  ariaDescribedby,
10101
10273
  ...props
10102
- }) => /* @__PURE__ */ jsx285(
10274
+ }) => /* @__PURE__ */ jsx287(
10103
10275
  Input2,
10104
10276
  {
10105
10277
  ...props,
@@ -10118,7 +10290,7 @@ function DDSControl(props) {
10118
10290
  innerProps,
10119
10291
  ...rest
10120
10292
  } = props;
10121
- return /* @__PURE__ */ jsxs66(
10293
+ return /* @__PURE__ */ jsxs67(
10122
10294
  Control,
10123
10295
  {
10124
10296
  ...rest,
@@ -10133,7 +10305,7 @@ function DDSControl(props) {
10133
10305
  readOnly && Select_default["control--readonly"]
10134
10306
  ),
10135
10307
  children: [
10136
- icon && /* @__PURE__ */ jsx285(
10308
+ icon && /* @__PURE__ */ jsx287(
10137
10309
  Icon,
10138
10310
  {
10139
10311
  icon,
@@ -10151,7 +10323,7 @@ function DDSControl(props) {
10151
10323
  }
10152
10324
 
10153
10325
  // src/components/Select/Select.tsx
10154
- import { jsx as jsx286, jsxs as jsxs67 } from "react/jsx-runtime";
10326
+ import { jsx as jsx288, jsxs as jsxs68 } from "react/jsx-runtime";
10155
10327
  function Select({
10156
10328
  id,
10157
10329
  label,
@@ -10201,7 +10373,7 @@ function Select({
10201
10373
  componentSize === "xsmall" && "var(--dds-input-default-width-xsmall)"
10202
10374
  );
10203
10375
  const customInput = useCallback7(
10204
- (props) => /* @__PURE__ */ jsx286(
10376
+ (props) => /* @__PURE__ */ jsx288(
10205
10377
  DDSInput,
10206
10378
  {
10207
10379
  ...props,
@@ -10219,7 +10391,7 @@ function Select({
10219
10391
  []
10220
10392
  );
10221
10393
  const customSingleValue = useCallback7(
10222
- (props) => /* @__PURE__ */ jsx286(
10394
+ (props) => /* @__PURE__ */ jsx288(
10223
10395
  CustomSingleValue,
10224
10396
  {
10225
10397
  ...props,
@@ -10230,15 +10402,15 @@ function Select({
10230
10402
  []
10231
10403
  );
10232
10404
  const customClearIndicator = useCallback7(
10233
- (props) => /* @__PURE__ */ jsx286(DDSClearIndicator, { ...props, size: componentSize }),
10405
+ (props) => /* @__PURE__ */ jsx288(DDSClearIndicator, { ...props, size: componentSize }),
10234
10406
  [componentSize]
10235
10407
  );
10236
10408
  const customDropdownIndicator = useCallback7(
10237
- (props) => /* @__PURE__ */ jsx286(DDSDropdownIndicator, { ...props, componentSize }),
10409
+ (props) => /* @__PURE__ */ jsx288(DDSDropdownIndicator, { ...props, componentSize }),
10238
10410
  [componentSize]
10239
10411
  );
10240
10412
  const customControl = useCallback7(
10241
- (props) => /* @__PURE__ */ jsx286(
10413
+ (props) => /* @__PURE__ */ jsx288(
10242
10414
  DDSControl,
10243
10415
  {
10244
10416
  ...props,
@@ -10253,9 +10425,9 @@ function Select({
10253
10425
  const customOptionComponent = useCallback7(
10254
10426
  (props) => {
10255
10427
  if (customOptionElement) {
10256
- return /* @__PURE__ */ jsx286(CustomOption, { ...props, customElement: customOptionElement });
10428
+ return /* @__PURE__ */ jsx288(CustomOption, { ...props, customElement: customOptionElement });
10257
10429
  } else {
10258
- return /* @__PURE__ */ jsx286(DDSOption, { ...props });
10430
+ return /* @__PURE__ */ jsx288(DDSOption, { ...props });
10259
10431
  }
10260
10432
  },
10261
10433
  [customOptionElement, componentSize]
@@ -10299,7 +10471,7 @@ function Select({
10299
10471
  openMenuOnClick: readOnly ? false : openMenuOnClick ? openMenuOnClick : void 0,
10300
10472
  ...rest
10301
10473
  };
10302
- return /* @__PURE__ */ jsxs67(
10474
+ return /* @__PURE__ */ jsxs68(
10303
10475
  Box,
10304
10476
  {
10305
10477
  width: inputWidth,
@@ -10319,7 +10491,7 @@ function Select({
10319
10491
  readOnly,
10320
10492
  afterLabelContent
10321
10493
  }),
10322
- /* @__PURE__ */ jsx286(ReactSelect, { ...reactSelectProps, ref }),
10494
+ /* @__PURE__ */ jsx288(ReactSelect, { ...reactSelectProps, ref }),
10323
10495
  renderInputMessage(tip, tipId, errorMessage, errorMessageId)
10324
10496
  ]
10325
10497
  }
@@ -10346,7 +10518,7 @@ var NativeSelect_default = {
10346
10518
  };
10347
10519
 
10348
10520
  // src/components/Select/NativeSelect/NativeSelect.tsx
10349
- import { jsx as jsx287, jsxs as jsxs68 } from "react/jsx-runtime";
10521
+ import { jsx as jsx289, jsxs as jsxs69 } from "react/jsx-runtime";
10350
10522
  var NativeSelect = ({
10351
10523
  ref,
10352
10524
  id,
@@ -10413,7 +10585,7 @@ var NativeSelect = ({
10413
10585
  };
10414
10586
  const iconSize = componentSize === "medium" ? "medium" : "small";
10415
10587
  const showClearButton = clearable && hasValue && !readOnly && !rest.disabled;
10416
- return /* @__PURE__ */ jsxs68("div", { className, style, children: [
10588
+ return /* @__PURE__ */ jsxs69("div", { className, style, children: [
10417
10589
  renderLabel({
10418
10590
  label,
10419
10591
  htmlFor: uniqueId,
@@ -10421,8 +10593,8 @@ var NativeSelect = ({
10421
10593
  readOnly,
10422
10594
  afterLabelContent
10423
10595
  }),
10424
- /* @__PURE__ */ jsxs68(Box, { position: "relative", width: inputWidth, children: [
10425
- /* @__PURE__ */ jsx287(
10596
+ /* @__PURE__ */ jsxs69(Box, { position: "relative", width: inputWidth, children: [
10597
+ /* @__PURE__ */ jsx289(
10426
10598
  "select",
10427
10599
  {
10428
10600
  ref: useCombinedRef(ref, selectRef),
@@ -10456,7 +10628,7 @@ var NativeSelect = ({
10456
10628
  children
10457
10629
  }
10458
10630
  ),
10459
- showClearButton && /* @__PURE__ */ jsx287(
10631
+ showClearButton && /* @__PURE__ */ jsx289(
10460
10632
  ClearButton,
10461
10633
  {
10462
10634
  "aria-label": t(commonTexts.clearSelect),
@@ -10465,7 +10637,7 @@ var NativeSelect = ({
10465
10637
  className: NativeSelect_default[`clear-button--${iconSize}`]
10466
10638
  }
10467
10639
  ),
10468
- !multiple && /* @__PURE__ */ jsx287(
10640
+ !multiple && /* @__PURE__ */ jsx289(
10469
10641
  Icon,
10470
10642
  {
10471
10643
  icon: ChevronDownIcon,
@@ -10481,14 +10653,14 @@ var NativeSelectPlaceholder = ({
10481
10653
  children = "-- Velg fra listen --",
10482
10654
  value,
10483
10655
  ...rest
10484
- }) => /* @__PURE__ */ jsx287("option", { value: value != null ? value : "", selected: true, ...rest, children });
10656
+ }) => /* @__PURE__ */ jsx289("option", { value: value != null ? value : "", selected: true, ...rest, children });
10485
10657
  NativeSelectPlaceholder.displayName = "NativeSelectPlaceholder";
10486
10658
 
10487
10659
  // src/components/Select/utils.ts
10488
10660
  var createSelectOptions = (...args) => args.map((v) => ({ label: v, value: v }));
10489
10661
 
10490
10662
  // src/components/Pagination/Pagination.tsx
10491
- import { jsx as jsx288, jsxs as jsxs69 } from "react/jsx-runtime";
10663
+ import { jsx as jsx290, jsxs as jsxs70 } from "react/jsx-runtime";
10492
10664
  var Pagination = ({
10493
10665
  itemsAmount,
10494
10666
  defaultItemsPerPage = 10,
@@ -10497,12 +10669,7 @@ var Pagination = ({
10497
10669
  withPagination = true,
10498
10670
  withCounter,
10499
10671
  withSelect,
10500
- selectOptions = [
10501
- { label: "10", value: 10 },
10502
- { label: "25", value: 25 },
10503
- { label: "50", value: 50 },
10504
- { label: "Alle", value: itemsAmount }
10505
- ],
10672
+ selectOptions,
10506
10673
  smallScreenBreakpoint,
10507
10674
  onChange,
10508
10675
  onSelectOptionChange,
@@ -10513,7 +10680,13 @@ var Pagination = ({
10513
10680
  ...rest
10514
10681
  }) => {
10515
10682
  const { t } = useTranslation();
10516
- if (withSelect && !selectOptions.some((o) => o.value === defaultItemsPerPage)) {
10683
+ const tSelectOptions = selectOptions && selectOptions.length > 0 ? selectOptions : [
10684
+ { label: "10", value: 10 },
10685
+ { label: "25", value: 25 },
10686
+ { label: "50", value: 50 },
10687
+ { label: t(texts21.all), value: itemsAmount }
10688
+ ];
10689
+ if (withSelect && !tSelectOptions.some((o) => o.value === defaultItemsPerPage)) {
10517
10690
  console.warn(
10518
10691
  `[Pagination] defaultItemsPerPage prop value (${defaultItemsPerPage}) is not included in customOptions prop. Please add it to ensure it appears in the dropdown.`
10519
10692
  );
@@ -10541,7 +10714,7 @@ var Pagination = ({
10541
10714
  };
10542
10715
  const listItems = items.length > 0 ? items.map((item, i) => {
10543
10716
  const isActive = item === activePage;
10544
- return /* @__PURE__ */ jsx288("li", { className: Pagination_default.list__item, children: item !== "truncator" && typeof item === "number" ? /* @__PURE__ */ jsx288(
10717
+ return /* @__PURE__ */ jsx290("li", { className: Pagination_default.list__item, children: item !== "truncator" && typeof item === "number" ? /* @__PURE__ */ jsx290(
10545
10718
  Button,
10546
10719
  {
10547
10720
  purpose: isActive ? "primary" : "secondary",
@@ -10549,10 +10722,10 @@ var Pagination = ({
10549
10722
  onClick: (event) => {
10550
10723
  onPageChange(event, item);
10551
10724
  },
10552
- "aria-label": isActive ? t(texts19.currentPage(item)) : t(texts19.page(item)),
10725
+ "aria-label": isActive ? t(texts21.currentPage(item)) : t(texts21.page(item)),
10553
10726
  children: item
10554
10727
  }
10555
- ) : /* @__PURE__ */ jsx288(
10728
+ ) : /* @__PURE__ */ jsx290(
10556
10729
  Icon,
10557
10730
  {
10558
10731
  icon: MoreHorizontalIcon,
@@ -10560,7 +10733,7 @@ var Pagination = ({
10560
10733
  }
10561
10734
  ) }, `pagination-item-${i}`);
10562
10735
  }) : void 0;
10563
- const previousPageButton = /* @__PURE__ */ jsx288(
10736
+ const previousPageButton = /* @__PURE__ */ jsx290(
10564
10737
  Button,
10565
10738
  {
10566
10739
  purpose: "secondary",
@@ -10569,10 +10742,10 @@ var Pagination = ({
10569
10742
  onClick: (event) => {
10570
10743
  onPageChange(event, activePage - 1);
10571
10744
  },
10572
- "aria-label": t(texts19.previousPage)
10745
+ "aria-label": t(texts21.previousPage)
10573
10746
  }
10574
10747
  );
10575
- const nextPageButton = /* @__PURE__ */ jsx288(
10748
+ const nextPageButton = /* @__PURE__ */ jsx290(
10576
10749
  Button,
10577
10750
  {
10578
10751
  purpose: "secondary",
@@ -10581,31 +10754,31 @@ var Pagination = ({
10581
10754
  onClick: (event) => {
10582
10755
  onPageChange(event, activePage + 1);
10583
10756
  },
10584
- "aria-label": t(texts19.nextPage)
10757
+ "aria-label": t(texts21.nextPage)
10585
10758
  }
10586
10759
  );
10587
10760
  const isOnFirstPage = activePage === 1;
10588
10761
  const isOnLastPage = activePage === pagesLength;
10589
- const navigation = withPagination ? /* @__PURE__ */ jsxs69(
10762
+ const navigation = withPagination ? /* @__PURE__ */ jsxs70(
10590
10763
  Box,
10591
10764
  {
10592
10765
  as: "nav",
10593
10766
  ref,
10594
- "aria-label": t(texts19.pagination),
10767
+ "aria-label": t(texts21.pagination),
10595
10768
  display: "flex",
10596
10769
  alignItems: "center",
10597
10770
  ...!withSelect && !withCounter && {
10598
10771
  ...getBaseHTMLProps(id, className, htmlProps, rest)
10599
10772
  },
10600
10773
  children: [
10601
- /* @__PURE__ */ jsxs69(
10774
+ /* @__PURE__ */ jsxs70(
10602
10775
  ShowHide,
10603
10776
  {
10604
10777
  as: "ol",
10605
10778
  hideBelow: smallScreenBreakpoint,
10606
10779
  className: Pagination_default.list,
10607
10780
  children: [
10608
- /* @__PURE__ */ jsx288(
10781
+ /* @__PURE__ */ jsx290(
10609
10782
  "li",
10610
10783
  {
10611
10784
  className: cn(
@@ -10617,7 +10790,7 @@ var Pagination = ({
10617
10790
  }
10618
10791
  ),
10619
10792
  listItems,
10620
- /* @__PURE__ */ jsx288(
10793
+ /* @__PURE__ */ jsx290(
10621
10794
  "li",
10622
10795
  {
10623
10796
  className: cn(
@@ -10631,14 +10804,14 @@ var Pagination = ({
10631
10804
  ]
10632
10805
  }
10633
10806
  ),
10634
- !!smallScreenBreakpoint && /* @__PURE__ */ jsxs69(
10807
+ !!smallScreenBreakpoint && /* @__PURE__ */ jsxs70(
10635
10808
  ShowHide,
10636
10809
  {
10637
10810
  as: "ol",
10638
10811
  showBelow: smallScreenBreakpoint,
10639
10812
  className: Pagination_default.list,
10640
10813
  children: [
10641
- /* @__PURE__ */ jsx288(
10814
+ /* @__PURE__ */ jsx290(
10642
10815
  "li",
10643
10816
  {
10644
10817
  className: cn(
@@ -10646,7 +10819,7 @@ var Pagination = ({
10646
10819
  isOnFirstPage && Pagination_default["list__item--hidden"]
10647
10820
  ),
10648
10821
  "aria-hidden": isOnFirstPage,
10649
- children: /* @__PURE__ */ jsx288(
10822
+ children: /* @__PURE__ */ jsx290(
10650
10823
  Button,
10651
10824
  {
10652
10825
  purpose: "secondary",
@@ -10655,12 +10828,12 @@ var Pagination = ({
10655
10828
  onClick: (event) => {
10656
10829
  onPageChange(event, 1);
10657
10830
  },
10658
- "aria-label": t(texts19.firstPage)
10831
+ "aria-label": t(texts21.firstPage)
10659
10832
  }
10660
10833
  )
10661
10834
  }
10662
10835
  ),
10663
- /* @__PURE__ */ jsx288(
10836
+ /* @__PURE__ */ jsx290(
10664
10837
  "li",
10665
10838
  {
10666
10839
  className: cn(
@@ -10671,7 +10844,7 @@ var Pagination = ({
10671
10844
  children: previousPageButton
10672
10845
  }
10673
10846
  ),
10674
- /* @__PURE__ */ jsx288("li", { className: Pagination_default.list__item, children: /* @__PURE__ */ jsx288(
10847
+ /* @__PURE__ */ jsx290("li", { className: Pagination_default.list__item, children: /* @__PURE__ */ jsx290(
10675
10848
  Button,
10676
10849
  {
10677
10850
  size: "small",
@@ -10681,7 +10854,7 @@ var Pagination = ({
10681
10854
  children: activePage
10682
10855
  }
10683
10856
  ) }),
10684
- /* @__PURE__ */ jsx288(
10857
+ /* @__PURE__ */ jsx290(
10685
10858
  "li",
10686
10859
  {
10687
10860
  className: cn(
@@ -10692,7 +10865,7 @@ var Pagination = ({
10692
10865
  children: nextPageButton
10693
10866
  }
10694
10867
  ),
10695
- /* @__PURE__ */ jsx288(
10868
+ /* @__PURE__ */ jsx290(
10696
10869
  "li",
10697
10870
  {
10698
10871
  className: cn(
@@ -10700,7 +10873,7 @@ var Pagination = ({
10700
10873
  isOnLastPage && Pagination_default["list__item--hidden"]
10701
10874
  ),
10702
10875
  "aria-hidden": isOnLastPage,
10703
- children: /* @__PURE__ */ jsx288(
10876
+ children: /* @__PURE__ */ jsx290(
10704
10877
  Button,
10705
10878
  {
10706
10879
  purpose: "secondary",
@@ -10709,7 +10882,7 @@ var Pagination = ({
10709
10882
  onClick: (event) => {
10710
10883
  onPageChange(event, pagesLength);
10711
10884
  },
10712
- "aria-label": t(texts19.lastPage)
10885
+ "aria-label": t(texts21.lastPage)
10713
10886
  }
10714
10887
  )
10715
10888
  }
@@ -10722,7 +10895,7 @@ var Pagination = ({
10722
10895
  ) : null;
10723
10896
  const activePageFirstItem = activePage === 1 ? 1 : activePage * itemsPerPage - itemsPerPage + 1;
10724
10897
  const activePageLastItem = activePage === pagesLength ? itemsAmount : activePage * itemsPerPage;
10725
- return !withCounter && !withSelect ? navigation : /* @__PURE__ */ jsxs69(
10898
+ return !withCounter && !withSelect ? navigation : /* @__PURE__ */ jsxs70(
10726
10899
  Box,
10727
10900
  {
10728
10901
  display: "flex",
@@ -10733,11 +10906,11 @@ var Pagination = ({
10733
10906
  alignItems: styleUpToBreakpoint("center", smallScreenBreakpoint),
10734
10907
  ...getBaseHTMLProps(id, className, htmlProps, rest),
10735
10908
  children: [
10736
- /* @__PURE__ */ jsxs69("div", { className: Pagination_default.indicators, children: [
10737
- withSelect && /* @__PURE__ */ jsx288(
10909
+ /* @__PURE__ */ jsxs70("div", { className: Pagination_default.indicators, children: [
10910
+ withSelect && /* @__PURE__ */ jsx290(
10738
10911
  Select,
10739
10912
  {
10740
- options: selectOptions,
10913
+ options: tSelectOptions,
10741
10914
  isSearchable: false,
10742
10915
  width: "90px",
10743
10916
  defaultValue: {
@@ -10747,11 +10920,11 @@ var Pagination = ({
10747
10920
  isClearable: false,
10748
10921
  onChange: handleSelectChange,
10749
10922
  componentSize: "small",
10750
- "aria-label": t(texts19.itemsPerPage)
10923
+ "aria-label": t(texts21.itemsPerPage)
10751
10924
  }
10752
10925
  ),
10753
- withCounter && /* @__PURE__ */ jsx288(Paragraph, { children: t(
10754
- texts19.showsAmountOfTotalItems(
10926
+ withCounter && /* @__PURE__ */ jsx290(Paragraph, { children: t(
10927
+ texts21.showsAmountOfTotalItems(
10755
10928
  activePageFirstItem,
10756
10929
  activePageLastItem,
10757
10930
  itemsAmount
@@ -10764,61 +10937,77 @@ var Pagination = ({
10764
10937
  );
10765
10938
  };
10766
10939
  Pagination.displayName = "Pagination";
10767
- var texts19 = createTexts({
10940
+ var texts21 = createTexts({
10768
10941
  pagination: {
10769
10942
  nb: "Paginering",
10770
10943
  no: "Paginering",
10771
10944
  nn: "Paginering",
10772
- en: "Pagination"
10945
+ en: "Pagination",
10946
+ se: "Pagineren"
10773
10947
  },
10774
10948
  itemsPerPage: {
10775
10949
  nb: "Elementer per side",
10776
10950
  no: "Elementer per side",
10777
10951
  nn: "Element per side",
10778
- en: "Items per page"
10952
+ en: "Items per page",
10953
+ se: "Elementat juohki siidui"
10779
10954
  },
10780
10955
  nextPage: {
10781
10956
  nb: "Neste side",
10782
10957
  no: "Neste side",
10783
10958
  nn: "Neste side",
10784
- en: "Next page"
10959
+ en: "Next page",
10960
+ se: "Boahte siidu"
10785
10961
  },
10786
10962
  previousPage: {
10787
10963
  nb: "Forrige side",
10788
10964
  no: "Forrige side",
10789
10965
  nn: "F\xF8rre side",
10790
- en: "Previous page"
10966
+ en: "Previous page",
10967
+ se: "Ovddit siidu"
10791
10968
  },
10792
10969
  firstPage: {
10793
10970
  nb: "F\xF8rste side",
10794
10971
  no: "F\xF8rste side",
10795
10972
  nn: "Fyrste side",
10796
- en: "First page"
10973
+ en: "First page",
10974
+ se: "Vustta\u0161 siidu"
10797
10975
  },
10798
10976
  lastPage: {
10799
10977
  nb: "Siste side",
10800
10978
  no: "Siste side",
10801
10979
  nn: "Siste side",
10802
- en: "Last page"
10980
+ en: "Last page",
10981
+ se: "Ma\u014Bimu\u0161 siidu"
10803
10982
  },
10804
10983
  currentPage: (page) => ({
10805
10984
  nb: `N\xE5v\xE6rende side (${page})`,
10806
10985
  no: `N\xE5v\xE6rende side (${page})`,
10807
10986
  nn: `Noverande side (${page})`,
10808
- en: `Current page (${page})`
10987
+ en: `Current page (${page})`,
10988
+ se: `D\xE1la siidu (${page})`
10809
10989
  }),
10810
10990
  page: (page) => ({
10811
10991
  nb: `Side ${page}`,
10812
10992
  no: `Side ${page}`,
10813
10993
  nn: `Side ${page}`,
10814
- en: `Page ${page}`
10994
+ en: `Page ${page}`,
10995
+ se: `Siidu ${page}`
10815
10996
  }),
10816
10997
  showsAmountOfTotalItems: (first, last, total) => ({
10817
10998
  nb: `Viser ${first}-${last} av ${total}`,
10818
10999
  no: `Viser ${first}-${last} av ${total}`,
10819
11000
  nn: `Viser ${first}-${last} av ${total}`,
10820
- en: `Shows ${first}-${last} of ${total}`
10821
- })
11001
+ en: `Shows ${first}-${last} of ${total}`,
11002
+ se: `\u010C\xE1jeha ${first}-${last} ${total} gaskkas`
11003
+ }),
11004
+ all: {
11005
+ nb: "Alle",
11006
+ no: "Alle",
11007
+ nn: "Alle",
11008
+ en: "All",
11009
+ se: "Buot"
11010
+ }
10822
11011
  });
10823
11012
 
10824
11013
  // src/components/PhoneInput/PhoneInput.tsx
@@ -11228,7 +11417,7 @@ var PhoneInput_default = {
11228
11417
  };
11229
11418
 
11230
11419
  // src/components/PhoneInput/PhoneInput.tsx
11231
- import { jsx as jsx289, jsxs as jsxs70 } from "react/jsx-runtime";
11420
+ import { jsx as jsx291, jsxs as jsxs71 } from "react/jsx-runtime";
11232
11421
  var prioritizedCountries = [
11233
11422
  COUNTRIES.NO,
11234
11423
  COUNTRIES.SE,
@@ -11275,21 +11464,21 @@ var PhoneInput = ({
11275
11464
  className,
11276
11465
  style,
11277
11466
  value,
11278
- selectLabel = "Landskode",
11467
+ selectLabel,
11279
11468
  selectRef,
11280
11469
  onChange,
11281
11470
  defaultValue,
11282
11471
  "aria-required": ariaRequired,
11283
11472
  "aria-describedby": ariaDescribedby,
11284
- groupLabel = "Landskode og telefonnummer",
11473
+ groupLabel,
11285
11474
  afterLabelContent,
11286
11475
  ref,
11287
11476
  ...props
11288
11477
  }) => {
11289
11478
  var _a;
11290
11479
  const { t } = useTranslation();
11291
- const tGroupLabel = groupLabel != null ? groupLabel : t(texts20.countryCodeAndPhoneNumber);
11292
- const tSelectLabel = selectLabel != null ? selectLabel : t(texts20.countryCode);
11480
+ const tGroupLabel = groupLabel != null ? groupLabel : t(texts22.countryCodeAndPhoneNumber);
11481
+ const tSelectLabel = selectLabel != null ? selectLabel : t(texts22.countryCode);
11293
11482
  const generatedId = useId20();
11294
11483
  const uniqueId = (_a = props.id) != null ? _a : generatedId;
11295
11484
  const phoneInputId = `${uniqueId}-phone-input`;
@@ -11366,7 +11555,7 @@ var PhoneInput = ({
11366
11555
  const showRequiredStyling = !!(required || ariaRequired);
11367
11556
  const bp = props.smallScreenBreakpoint;
11368
11557
  const widthDefault = componentSize === "xsmall" && "var(--dds-input-default-width-xsmall)";
11369
- return /* @__PURE__ */ jsxs70("div", { className: cn(className, Input_default.container), style, children: [
11558
+ return /* @__PURE__ */ jsxs71("div", { className: cn(className, Input_default.container), style, children: [
11370
11559
  renderLabel({
11371
11560
  label,
11372
11561
  htmlFor: phoneNumberId,
@@ -11374,7 +11563,7 @@ var PhoneInput = ({
11374
11563
  readOnly,
11375
11564
  afterLabelContent
11376
11565
  }),
11377
- /* @__PURE__ */ jsxs70(
11566
+ /* @__PURE__ */ jsxs71(
11378
11567
  Box,
11379
11568
  {
11380
11569
  display: "flex",
@@ -11387,8 +11576,8 @@ var PhoneInput = ({
11387
11576
  role: "group",
11388
11577
  "aria-label": tGroupLabel,
11389
11578
  children: [
11390
- /* @__PURE__ */ jsx289("label", { className: utilStyles_default["visually-hidden"], htmlFor: selectId, children: tSelectLabel }),
11391
- /* @__PURE__ */ jsx289(
11579
+ /* @__PURE__ */ jsx291("label", { className: utilStyles_default["visually-hidden"], htmlFor: selectId, children: tSelectLabel }),
11580
+ /* @__PURE__ */ jsx291(
11392
11581
  NativeSelect,
11393
11582
  {
11394
11583
  width: styleUpToBreakpoint(
@@ -11409,11 +11598,11 @@ var PhoneInput = ({
11409
11598
  hasTip ? tipId : void 0,
11410
11599
  ariaDescribedby
11411
11600
  ]),
11412
- children: countryOptions.map((item, index) => /* @__PURE__ */ jsx289("option", { value: item.countryCode, children: item.label }, index))
11601
+ children: countryOptions.map((item, index) => /* @__PURE__ */ jsx291("option", { value: item.countryCode, children: item.label }, index))
11413
11602
  }
11414
11603
  ),
11415
- /* @__PURE__ */ jsxs70(Box, { width: "100%", className: Input_default["input-group"], children: [
11416
- /* @__PURE__ */ jsx289(
11604
+ /* @__PURE__ */ jsxs71(Box, { width: "100%", className: Input_default["input-group"], children: [
11605
+ /* @__PURE__ */ jsx291(
11417
11606
  "span",
11418
11607
  {
11419
11608
  className: cn(
@@ -11425,7 +11614,7 @@ var PhoneInput = ({
11425
11614
  children: callingCode
11426
11615
  }
11427
11616
  ),
11428
- /* @__PURE__ */ jsx289(
11617
+ /* @__PURE__ */ jsx291(
11429
11618
  Box,
11430
11619
  {
11431
11620
  as: StatefulInput,
@@ -11463,18 +11652,20 @@ var getCallingCode = (s) => {
11463
11652
  var _a;
11464
11653
  return (_a = s.substring(s.indexOf("+"), s.length)) != null ? _a : "";
11465
11654
  };
11466
- var texts20 = createTexts({
11655
+ var texts22 = createTexts({
11467
11656
  countryCode: {
11468
11657
  nb: "Landskode",
11469
11658
  no: "Landskode",
11470
11659
  nn: "Landskode",
11471
- en: "Country code"
11660
+ en: "Country code",
11661
+ se: "Riikkakoda"
11472
11662
  },
11473
11663
  countryCodeAndPhoneNumber: {
11474
11664
  nb: "Landskode og telefonnummer",
11475
11665
  no: "Landskode og telefonnummer",
11476
11666
  nn: "Landskode og telefonnummer",
11477
- en: "Country code and phone number"
11667
+ en: "Country code and phone number",
11668
+ se: "Riikkakoda ja telefovnndanummir"
11478
11669
  }
11479
11670
  });
11480
11671
 
@@ -11503,7 +11694,7 @@ var PopoverContext = createContext13({});
11503
11694
  var usePopoverContext = () => useContext19(PopoverContext);
11504
11695
 
11505
11696
  // src/components/Popover/Popover.tsx
11506
- import { jsx as jsx290, jsxs as jsxs71 } from "react/jsx-runtime";
11697
+ import { jsx as jsx292, jsxs as jsxs72 } from "react/jsx-runtime";
11507
11698
  var Popover = ({
11508
11699
  id,
11509
11700
  header,
@@ -11591,7 +11782,7 @@ var Popover = ({
11591
11782
  });
11592
11783
  const hasTitle = !!header;
11593
11784
  const openCn = hasTransitionedIn && isOpen ? "open" : "closed";
11594
- const popover = /* @__PURE__ */ jsxs71(
11785
+ const popover = /* @__PURE__ */ jsxs72(
11595
11786
  Paper,
11596
11787
  {
11597
11788
  ...getBaseHTMLProps(
@@ -11622,15 +11813,15 @@ var Popover = ({
11622
11813
  elevation: 3,
11623
11814
  border: "border-subtle",
11624
11815
  children: [
11625
- header && /* @__PURE__ */ jsx290("div", { className: Popover_default.header, children: typeof header === "string" ? /* @__PURE__ */ jsx290(Heading, { level: 2, typographyType: "headingMedium", children: header }) : header }),
11626
- /* @__PURE__ */ jsx290(
11816
+ header && /* @__PURE__ */ jsx292("div", { className: Popover_default.header, children: typeof header === "string" ? /* @__PURE__ */ jsx292(Heading, { level: 2, typographyType: "headingMedium", children: header }) : header }),
11817
+ /* @__PURE__ */ jsx292(
11627
11818
  "div",
11628
11819
  {
11629
11820
  className: !hasTitle && withCloseButton ? Popover_default["content--closable--no-header"] : "",
11630
11821
  children
11631
11822
  }
11632
11823
  ),
11633
- withCloseButton && /* @__PURE__ */ jsx290(
11824
+ withCloseButton && /* @__PURE__ */ jsx292(
11634
11825
  Button,
11635
11826
  {
11636
11827
  icon: CloseIcon,
@@ -11657,7 +11848,7 @@ import {
11657
11848
  useRef as useRef31,
11658
11849
  useState as useState24
11659
11850
  } from "react";
11660
- import { jsx as jsx291 } from "react/jsx-runtime";
11851
+ import { jsx as jsx293 } from "react/jsx-runtime";
11661
11852
  var PopoverGroup = ({
11662
11853
  isOpen: propIsOpen,
11663
11854
  setIsOpen: propSetIsOpen,
@@ -11718,7 +11909,7 @@ var PopoverGroup = ({
11718
11909
  ref: combinedAnchorRef
11719
11910
  }) : child);
11720
11911
  });
11721
- return /* @__PURE__ */ jsx291(
11912
+ return /* @__PURE__ */ jsx293(
11722
11913
  PopoverContext,
11723
11914
  {
11724
11915
  value: {
@@ -11776,7 +11967,7 @@ var ProgressTracker_default = {
11776
11967
 
11777
11968
  // src/components/ProgressTracker/ProgressTrackerItem.tsx
11778
11969
  import { useMemo as useMemo2 } from "react";
11779
- import { Fragment as Fragment10, jsx as jsx292, jsxs as jsxs72 } from "react/jsx-runtime";
11970
+ import { Fragment as Fragment10, jsx as jsx294, jsxs as jsxs73 } from "react/jsx-runtime";
11780
11971
  var toItemState = (active, completed, disabled) => {
11781
11972
  if (disabled) {
11782
11973
  return "disabled";
@@ -11820,10 +12011,10 @@ var ProgressTrackerItem = (props) => {
11820
12011
  };
11821
12012
  const stepNumberContent = useMemo2(() => {
11822
12013
  if (completed) {
11823
- return /* @__PURE__ */ jsx292(Icon, { icon: CheckIcon, iconSize: "small" });
12014
+ return /* @__PURE__ */ jsx294(Icon, { icon: CheckIcon, iconSize: "small" });
11824
12015
  }
11825
12016
  if (icon !== void 0) {
11826
- return /* @__PURE__ */ jsx292(Icon, { icon, iconSize: "small" });
12017
+ return /* @__PURE__ */ jsx294(Icon, { icon, iconSize: "small" });
11827
12018
  }
11828
12019
  return stepNumber;
11829
12020
  }, [completed, icon, index]);
@@ -11832,8 +12023,8 @@ var ProgressTrackerItem = (props) => {
11832
12023
  if (active) return "text-action-resting";
11833
12024
  }
11834
12025
  const isInactiveLink = disabled || active;
11835
- const stepContent = /* @__PURE__ */ jsxs72(Fragment10, { children: [
11836
- /* @__PURE__ */ jsx292(
12026
+ const stepContent = /* @__PURE__ */ jsxs73(Fragment10, { children: [
12027
+ /* @__PURE__ */ jsx294(
11837
12028
  Box,
11838
12029
  {
11839
12030
  display: "flex",
@@ -11848,7 +12039,7 @@ var ProgressTrackerItem = (props) => {
11848
12039
  children: stepNumberContent
11849
12040
  }
11850
12041
  ),
11851
- /* @__PURE__ */ jsx292(
12042
+ /* @__PURE__ */ jsx294(
11852
12043
  Typography,
11853
12044
  {
11854
12045
  as: "div",
@@ -11862,15 +12053,15 @@ var ProgressTrackerItem = (props) => {
11862
12053
  }
11863
12054
  )
11864
12055
  ] });
11865
- const ariaLabel = props["aria-label"] ? props["aria-label"] : `${children}, ${stepNumber}. ${completed ? t(texts21.completed) : t(texts21.uncompleted)}`;
11866
- return /* @__PURE__ */ jsx292(
12056
+ const ariaLabel = props["aria-label"] ? props["aria-label"] : `${children}, ${stepNumber}. ${completed ? t(texts23.completed) : t(texts23.uncompleted)}`;
12057
+ return /* @__PURE__ */ jsx294(
11867
12058
  Box,
11868
12059
  {
11869
12060
  as: "li",
11870
12061
  display: direction === "row" ? "flex" : void 0,
11871
12062
  "aria-current": active ? "step" : void 0,
11872
12063
  className: cn(ProgressTracker_default["list-item"], ProgressTracker_default[`list-item--${direction}`]),
11873
- children: handleStepChange ? /* @__PURE__ */ jsx292(
12064
+ children: handleStepChange ? /* @__PURE__ */ jsx294(
11874
12065
  Box,
11875
12066
  {
11876
12067
  as: StylelessButton,
@@ -11894,7 +12085,7 @@ var ProgressTrackerItem = (props) => {
11894
12085
  disabled,
11895
12086
  children: stepContent
11896
12087
  }
11897
- ) : /* @__PURE__ */ jsx292(
12088
+ ) : /* @__PURE__ */ jsx294(
11898
12089
  "div",
11899
12090
  {
11900
12091
  ...getBaseHTMLProps(
@@ -11911,23 +12102,25 @@ var ProgressTrackerItem = (props) => {
11911
12102
  );
11912
12103
  };
11913
12104
  ProgressTrackerItem.displayName = "ProgressTracker.Item";
11914
- var texts21 = createTexts({
12105
+ var texts23 = createTexts({
11915
12106
  uncompleted: {
11916
12107
  nb: "trinn ikke ferdig",
11917
12108
  no: "trinn ikke ferdig",
11918
12109
  nn: "trinn ikkje ferdig",
11919
- en: "step uncompleted"
12110
+ en: "step uncompleted",
12111
+ se: "ceahkki ii g\xE1rvvis"
11920
12112
  },
11921
12113
  completed: {
11922
12114
  nb: "trinn ferdig",
11923
12115
  no: "trinn ferdig",
11924
12116
  nn: "trinn ferdig",
11925
- en: "step completed"
12117
+ en: "step completed",
12118
+ se: "ceahkki g\xE1rv\xE1"
11926
12119
  }
11927
12120
  });
11928
12121
 
11929
12122
  // src/components/ProgressTracker/ProgressTracker.tsx
11930
- import { jsx as jsx293 } from "react/jsx-runtime";
12123
+ import { jsx as jsx295 } from "react/jsx-runtime";
11931
12124
  var ProgressTracker = (() => {
11932
12125
  const Res = ({
11933
12126
  id,
@@ -11957,7 +12150,7 @@ var ProgressTracker = (() => {
11957
12150
  }, [children]);
11958
12151
  const isRow = direction === "row";
11959
12152
  const { "aria-label": ariaLabel } = htmlProps;
11960
- return /* @__PURE__ */ jsx293(
12153
+ return /* @__PURE__ */ jsx295(
11961
12154
  ProgressTrackerContext,
11962
12155
  {
11963
12156
  value: {
@@ -11965,12 +12158,12 @@ var ProgressTracker = (() => {
11965
12158
  handleStepChange: handleChange,
11966
12159
  direction
11967
12160
  },
11968
- children: /* @__PURE__ */ jsx293(
12161
+ children: /* @__PURE__ */ jsx295(
11969
12162
  "nav",
11970
12163
  {
11971
- "aria-label": ariaLabel != null ? ariaLabel : t(texts22.stepProgression),
12164
+ "aria-label": ariaLabel != null ? ariaLabel : t(texts24.stepProgression),
11972
12165
  ...getBaseHTMLProps(id, className, htmlProps, rest),
11973
- children: /* @__PURE__ */ jsx293(
12166
+ children: /* @__PURE__ */ jsx295(
11974
12167
  Box,
11975
12168
  {
11976
12169
  as: StylelessOList,
@@ -12006,12 +12199,13 @@ function passIndexPropToProgressTrackerItem(children) {
12006
12199
  })
12007
12200
  );
12008
12201
  }
12009
- var texts22 = createTexts({
12202
+ var texts24 = createTexts({
12010
12203
  stepProgression: {
12011
12204
  nb: "Trinnprogresjon",
12012
12205
  no: "Trinnprogresjon",
12013
12206
  nn: "Trinnprogresjon",
12014
- en: "Step progression"
12207
+ en: "Step progression",
12208
+ se: "Ceahkkeprogre\u0161uvdna"
12015
12209
  }
12016
12210
  });
12017
12211
 
@@ -12029,7 +12223,7 @@ var ProgressBar_default = {
12029
12223
  };
12030
12224
 
12031
12225
  // src/components/ProgressBar/ProgressBar.tsx
12032
- import { jsx as jsx294, jsxs as jsxs73 } from "react/jsx-runtime";
12226
+ import { jsx as jsx296, jsxs as jsxs74 } from "react/jsx-runtime";
12033
12227
  var PROGRESS_BAR_SIZES = createSizes("small", "medium");
12034
12228
  var ProgressBar = ({
12035
12229
  label,
@@ -12055,9 +12249,9 @@ var ProgressBar = ({
12055
12249
  const errorMessageId = derivativeIdGenerator(uniqueId, "errorMessage");
12056
12250
  const fillPrecentage = hasValidValue && value / (max != null ? max : 1) * 100 + "%";
12057
12251
  const isIndeterminate = !hasValidValue && !hasErrorMessage;
12058
- return /* @__PURE__ */ jsxs73(Box, { width: "100%", className, style, children: [
12252
+ return /* @__PURE__ */ jsxs74(Box, { width: "100%", className, style, children: [
12059
12253
  renderLabel({ label, htmlFor: uniqueId }),
12060
- /* @__PURE__ */ jsx294(
12254
+ /* @__PURE__ */ jsx296(
12061
12255
  "progress",
12062
12256
  {
12063
12257
  id: uniqueId,
@@ -12073,13 +12267,13 @@ var ProgressBar = ({
12073
12267
  children: fillPrecentage
12074
12268
  }
12075
12269
  ),
12076
- /* @__PURE__ */ jsx294(
12270
+ /* @__PURE__ */ jsx296(
12077
12271
  Box,
12078
12272
  {
12079
12273
  width: getInputWidth(width),
12080
12274
  height: size2 === "small" ? "x0.75" : "x1.5",
12081
12275
  className: cn(ProgressBar_default.progress),
12082
- children: /* @__PURE__ */ jsx294(
12276
+ children: /* @__PURE__ */ jsx296(
12083
12277
  Box,
12084
12278
  {
12085
12279
  height: "100%",
@@ -12134,7 +12328,7 @@ var typographyTypes2 = {
12134
12328
 
12135
12329
  // src/components/Search/SearchSuggestionItem.tsx
12136
12330
  import { useEffect as useEffect29, useRef as useRef32 } from "react";
12137
- import { jsx as jsx295 } from "react/jsx-runtime";
12331
+ import { jsx as jsx297 } from "react/jsx-runtime";
12138
12332
  var SearchSuggestionItem = ({
12139
12333
  focus,
12140
12334
  className,
@@ -12149,7 +12343,7 @@ var SearchSuggestionItem = ({
12149
12343
  (_a = itemRef.current) == null ? void 0 : _a.focus();
12150
12344
  }
12151
12345
  }, [focus]);
12152
- return /* @__PURE__ */ jsx295(
12346
+ return /* @__PURE__ */ jsx297(
12153
12347
  StylelessButton,
12154
12348
  {
12155
12349
  ref: combinedRef,
@@ -12167,7 +12361,7 @@ var SearchSuggestionItem = ({
12167
12361
  SearchSuggestionItem.displayName = "SearchSuggestionItem";
12168
12362
 
12169
12363
  // src/components/Search/SearchSuggestions.tsx
12170
- import { jsx as jsx296, jsxs as jsxs74 } from "react/jsx-runtime";
12364
+ import { jsx as jsx298, jsxs as jsxs75 } from "react/jsx-runtime";
12171
12365
  var SearchSuggestions = ({
12172
12366
  id,
12173
12367
  searchId,
@@ -12187,7 +12381,7 @@ var SearchSuggestions = ({
12187
12381
  const { t } = useTranslation();
12188
12382
  const [focus] = useRoveFocus(suggestions == null ? void 0 : suggestions.length, showSuggestions);
12189
12383
  const suggestionsToRender = maxSuggestions ? suggestions == null ? void 0 : suggestions.slice(maxSuggestions) : suggestions;
12190
- return /* @__PURE__ */ jsxs74(
12384
+ return /* @__PURE__ */ jsxs75(
12191
12385
  Paper,
12192
12386
  {
12193
12387
  ...getBaseHTMLProps(
@@ -12211,23 +12405,23 @@ var SearchSuggestions = ({
12211
12405
  overflowY: "scroll",
12212
12406
  marginBlock: "x0.25 0",
12213
12407
  children: [
12214
- /* @__PURE__ */ jsx296(
12408
+ /* @__PURE__ */ jsx298(
12215
12409
  Box,
12216
12410
  {
12217
12411
  as: "h2",
12218
12412
  paddingInline: "0 x1",
12219
12413
  id: suggestionsHeaderId,
12220
12414
  className: typographyStyles_default["body-xsmall"],
12221
- children: "S\xF8keforslag"
12415
+ children: t(texts25.searchSuggestions)
12222
12416
  }
12223
12417
  ),
12224
- /* @__PURE__ */ jsx296(StylelessList, { role: "listbox", "aria-labelledby": suggestionsHeaderId, children: suggestionsToRender.map((suggestion, index) => {
12225
- return /* @__PURE__ */ jsx296("li", { role: "option", children: /* @__PURE__ */ jsx296(
12418
+ /* @__PURE__ */ jsx298(StylelessList, { role: "listbox", "aria-labelledby": suggestionsHeaderId, children: suggestionsToRender.map((suggestion, index) => {
12419
+ return /* @__PURE__ */ jsx298("li", { role: "option", children: /* @__PURE__ */ jsx298(
12226
12420
  SearchSuggestionItem,
12227
12421
  {
12228
12422
  index,
12229
12423
  focus: focus === index && showSuggestions,
12230
- "aria-label": t(texts23.search(suggestion)),
12424
+ "aria-label": t(texts25.search(suggestion)),
12231
12425
  onClick: onSuggestionClick,
12232
12426
  "aria-setsize": suggestionsToRender.length,
12233
12427
  "aria-posinset": index,
@@ -12241,17 +12435,25 @@ var SearchSuggestions = ({
12241
12435
  );
12242
12436
  };
12243
12437
  SearchSuggestions.displayName = "SearchSuggestions";
12244
- var texts23 = createTexts({
12438
+ var texts25 = createTexts({
12245
12439
  search: (suggestion) => ({
12246
12440
  no: `${suggestion} s\xF8k`,
12247
12441
  nb: `${suggestion} s\xF8k`,
12248
12442
  nn: `${suggestion} s\xF8k`,
12249
- en: `${suggestion} search`
12250
- })
12443
+ en: `${suggestion} search`,
12444
+ se: `${suggestion} ohcan`
12445
+ }),
12446
+ searchSuggestions: {
12447
+ no: "S\xF8keforslag",
12448
+ nb: "S\xF8keforslag",
12449
+ nn: "S\xF8keforslag",
12450
+ en: "Search suggestions",
12451
+ se: "Ozanf\xE1laldagat"
12452
+ }
12251
12453
  });
12252
12454
 
12253
12455
  // src/components/Search/Search.tsx
12254
- import { Fragment as Fragment11, jsx as jsx297, jsxs as jsxs75 } from "react/jsx-runtime";
12456
+ import { Fragment as Fragment11, jsx as jsx299, jsxs as jsxs76 } from "react/jsx-runtime";
12255
12457
  var getIconSize2 = (size2) => {
12256
12458
  switch (size2) {
12257
12459
  case "large":
@@ -12327,14 +12529,14 @@ var Search = ({
12327
12529
  } = buttonProps != null ? buttonProps : {};
12328
12530
  const hasSuggestions = !!context.suggestions;
12329
12531
  const showSearchButton = !!buttonProps && !!onClick;
12330
- const inputGroup = /* @__PURE__ */ jsxs75(
12532
+ const inputGroup = /* @__PURE__ */ jsxs76(
12331
12533
  HStack,
12332
12534
  {
12333
12535
  position: "relative",
12334
12536
  width: !showSearchButton ? width : void 0,
12335
12537
  className: !showSearchButton ? className : void 0,
12336
12538
  children: [
12337
- showIcon && /* @__PURE__ */ jsx297(
12539
+ showIcon && /* @__PURE__ */ jsx299(
12338
12540
  Icon,
12339
12541
  {
12340
12542
  icon: SearchIcon,
@@ -12345,7 +12547,7 @@ var Search = ({
12345
12547
  )
12346
12548
  }
12347
12549
  ),
12348
- /* @__PURE__ */ jsx297(
12550
+ /* @__PURE__ */ jsx299(
12349
12551
  Box,
12350
12552
  {
12351
12553
  as: Input,
@@ -12374,8 +12576,8 @@ var Search = ({
12374
12576
  )
12375
12577
  }
12376
12578
  ),
12377
- hasSuggestions && /* @__PURE__ */ jsxs75(Fragment11, { children: [
12378
- /* @__PURE__ */ jsx297(
12579
+ hasSuggestions && /* @__PURE__ */ jsxs76(Fragment11, { children: [
12580
+ /* @__PURE__ */ jsx299(
12379
12581
  SearchSuggestions,
12380
12582
  {
12381
12583
  id: suggestionsId,
@@ -12387,13 +12589,13 @@ var Search = ({
12387
12589
  componentSize
12388
12590
  }
12389
12591
  ),
12390
- /* @__PURE__ */ jsx297(VisuallyHidden, { id: suggestionsDescriptionId, children: t(texts24.useArrowKeys) })
12592
+ /* @__PURE__ */ jsx299(VisuallyHidden, { id: suggestionsDescriptionId, children: t(texts26.useArrowKeys) })
12391
12593
  ] }),
12392
- hasValue && /* @__PURE__ */ jsx297(
12594
+ hasValue && /* @__PURE__ */ jsx299(
12393
12595
  ClearButton,
12394
12596
  {
12395
12597
  size: getIconSize2(componentSize),
12396
- "aria-label": t(texts24.clearSearch),
12598
+ "aria-label": t(texts26.clearSearch),
12397
12599
  onClick: clearInput,
12398
12600
  className: Search_default["clear-button"]
12399
12601
  }
@@ -12401,10 +12603,10 @@ var Search = ({
12401
12603
  ]
12402
12604
  }
12403
12605
  );
12404
- return /* @__PURE__ */ jsxs75("div", { children: [
12606
+ return /* @__PURE__ */ jsxs76("div", { children: [
12405
12607
  renderLabel({ htmlFor: uniqueId, label }),
12406
- /* @__PURE__ */ jsxs75("div", { children: [
12407
- showSearchButton ? /* @__PURE__ */ jsxs75(
12608
+ /* @__PURE__ */ jsxs76("div", { children: [
12609
+ showSearchButton ? /* @__PURE__ */ jsxs76(
12408
12610
  Grid,
12409
12611
  {
12410
12612
  className,
@@ -12416,13 +12618,13 @@ var Search = ({
12416
12618
  style,
12417
12619
  children: [
12418
12620
  inputGroup,
12419
- /* @__PURE__ */ jsx297(
12621
+ /* @__PURE__ */ jsx299(
12420
12622
  Button,
12421
12623
  {
12422
12624
  size: componentSize,
12423
12625
  onClick,
12424
12626
  ...otherButtonProps,
12425
- children: buttonLabel != null ? buttonLabel : t(texts24.search)
12627
+ children: buttonLabel != null ? buttonLabel : t(texts26.search)
12426
12628
  }
12427
12629
  )
12428
12630
  ]
@@ -12433,24 +12635,27 @@ var Search = ({
12433
12635
  ] });
12434
12636
  };
12435
12637
  Search.displayName = "Search";
12436
- var texts24 = createTexts({
12638
+ var texts26 = createTexts({
12437
12639
  clearSearch: {
12438
12640
  nb: "T\xF8m s\xF8k",
12439
12641
  no: "T\xF8m s\xF8k",
12440
12642
  nn: "T\xF8m s\xF8k",
12441
- en: "Clear search"
12643
+ en: "Clear search",
12644
+ se: "Gurre ohcama"
12442
12645
  },
12443
12646
  search: {
12444
12647
  nb: "S\xF8k",
12445
12648
  no: "S\xF8k",
12446
12649
  nn: "S\xF8k",
12447
- en: "Search"
12650
+ en: "Search",
12651
+ se: "Ohcan"
12448
12652
  },
12449
12653
  useArrowKeys: {
12450
12654
  nb: "Bruk piltastene for \xE5 navigere i forslagene n\xE5r listen er utvidet",
12451
12655
  no: "Bruk piltastene for \xE5 navigere i forslagene n\xE5r listen er utvidet",
12452
12656
  nn: "Bruk piltastane for \xE5 navigere i forslaga n\xE5r lista er utvida",
12453
- en: "Use the arrow keys to navigate suggestions when the list is expanded"
12657
+ en: "Use the arrow keys to navigate suggestions when the list is expanded",
12658
+ se: "Deatte njuollaboalu ohccat \xE1rvalusaid listtus mii lea viiddiduvvon"
12454
12659
  }
12455
12660
  });
12456
12661
 
@@ -12460,7 +12665,7 @@ import {
12460
12665
  useRef as useRef33,
12461
12666
  useState as useState27
12462
12667
  } from "react";
12463
- import { jsx as jsx298 } from "react/jsx-runtime";
12668
+ import { jsx as jsx300 } from "react/jsx-runtime";
12464
12669
  var SearchAutocompleteWrapper = (props) => {
12465
12670
  const {
12466
12671
  value,
@@ -12536,7 +12741,7 @@ var SearchAutocompleteWrapper = (props) => {
12536
12741
  inputValue,
12537
12742
  onSugggestionClick: handleSuggestionClick
12538
12743
  };
12539
- return /* @__PURE__ */ jsx298(AutocompleteSearchContext, { value: contextProps, children });
12744
+ return /* @__PURE__ */ jsx300(AutocompleteSearchContext, { value: contextProps, children });
12540
12745
  };
12541
12746
  SearchAutocompleteWrapper.displayName = "SearchAutocompleteWrapper";
12542
12747
 
@@ -12552,7 +12757,7 @@ var Skeleton_default = {
12552
12757
  };
12553
12758
 
12554
12759
  // src/components/Skeleton/Skeleton.tsx
12555
- import { jsx as jsx299 } from "react/jsx-runtime";
12760
+ import { jsx as jsx301 } from "react/jsx-runtime";
12556
12761
  var Skeleton = ({
12557
12762
  width,
12558
12763
  height,
@@ -12562,7 +12767,7 @@ var Skeleton = ({
12562
12767
  ref,
12563
12768
  ...rest
12564
12769
  }) => {
12565
- return /* @__PURE__ */ jsx299(
12770
+ return /* @__PURE__ */ jsx301(
12566
12771
  Box,
12567
12772
  {
12568
12773
  width,
@@ -12582,7 +12787,7 @@ var SkipToContent_default = {
12582
12787
  };
12583
12788
 
12584
12789
  // src/components/SkipToContent/SkipToContent.tsx
12585
- import { jsx as jsx300 } from "react/jsx-runtime";
12790
+ import { jsx as jsx302 } from "react/jsx-runtime";
12586
12791
  var SkipToContent = ({
12587
12792
  text = "Til hovedinnhold",
12588
12793
  top = 0,
@@ -12592,12 +12797,12 @@ var SkipToContent = ({
12592
12797
  ...rest
12593
12798
  }) => {
12594
12799
  const { className: htmlPropsClassName, style, ...restHtmlProps } = htmlProps;
12595
- return /* @__PURE__ */ jsx300(
12800
+ return /* @__PURE__ */ jsx302(
12596
12801
  Contrast,
12597
12802
  {
12598
12803
  className: cn(className, htmlPropsClassName, SkipToContent_default.wrapper),
12599
12804
  style: { ...style, top },
12600
- children: /* @__PURE__ */ jsx300(Link, { ...getBaseHTMLProps(id, restHtmlProps, rest), children: text })
12805
+ children: /* @__PURE__ */ jsx302(Link, { ...getBaseHTMLProps(id, restHtmlProps, rest), children: text })
12601
12806
  }
12602
12807
  );
12603
12808
  };
@@ -12615,7 +12820,7 @@ var SplitButton_default = {
12615
12820
  };
12616
12821
 
12617
12822
  // src/components/SplitButton/SplitButton.tsx
12618
- import { jsx as jsx301, jsxs as jsxs76 } from "react/jsx-runtime";
12823
+ import { jsx as jsx303, jsxs as jsxs77 } from "react/jsx-runtime";
12619
12824
  var SplitButton = ({
12620
12825
  size: size2,
12621
12826
  primaryAction,
@@ -12630,8 +12835,8 @@ var SplitButton = ({
12630
12835
  purpose,
12631
12836
  size: size2
12632
12837
  };
12633
- return /* @__PURE__ */ jsxs76("div", { className: cn(className, SplitButton_default.container), ...rest, children: [
12634
- /* @__PURE__ */ jsx301(
12838
+ return /* @__PURE__ */ jsxs77("div", { className: cn(className, SplitButton_default.container), ...rest, children: [
12839
+ /* @__PURE__ */ jsx303(
12635
12840
  Button,
12636
12841
  {
12637
12842
  ...buttonStyleProps,
@@ -12640,13 +12845,13 @@ var SplitButton = ({
12640
12845
  className: SplitButton_default.main
12641
12846
  }
12642
12847
  ),
12643
- /* @__PURE__ */ jsxs76(OverflowMenuGroup, { isOpen, setIsOpen, children: [
12644
- /* @__PURE__ */ jsx301(
12848
+ /* @__PURE__ */ jsxs77(OverflowMenuGroup, { isOpen, setIsOpen, children: [
12849
+ /* @__PURE__ */ jsx303(
12645
12850
  Button,
12646
12851
  {
12647
12852
  ...buttonStyleProps,
12648
12853
  icon: isOpen ? ChevronUpIcon : ChevronDownIcon,
12649
- "aria-label": t(texts25.moreActions),
12854
+ "aria-label": t(texts27.moreActions),
12650
12855
  purpose,
12651
12856
  className: cn(
12652
12857
  SplitButton_default.option,
@@ -12655,17 +12860,18 @@ var SplitButton = ({
12655
12860
  type: "button"
12656
12861
  }
12657
12862
  ),
12658
- /* @__PURE__ */ jsx301(OverflowMenu, { placement: "bottom-end", children: /* @__PURE__ */ jsx301(OverflowMenuList, { children: secondaryActions.map((item, index) => /* @__PURE__ */ jsx301(OverflowMenuButton, { ...item, children: item.children }, index)) }) })
12863
+ /* @__PURE__ */ jsx303(OverflowMenu, { placement: "bottom-end", children: /* @__PURE__ */ jsx303(OverflowMenuList, { children: secondaryActions.map((item, index) => /* @__PURE__ */ jsx303(OverflowMenuButton, { ...item, children: item.children }, index)) }) })
12659
12864
  ] })
12660
12865
  ] });
12661
12866
  };
12662
12867
  SplitButton.displayName = "SplitButton";
12663
- var texts25 = createTexts({
12868
+ var texts27 = createTexts({
12664
12869
  moreActions: {
12665
12870
  nb: "Flere handlinger",
12666
12871
  no: "Flere handlinger",
12667
12872
  nn: "Fleire handlingar",
12668
- en: "More actions"
12873
+ en: "More actions",
12874
+ se: "Eanet doaimmat"
12669
12875
  }
12670
12876
  });
12671
12877
 
@@ -12688,14 +12894,14 @@ var CollapsibleTableContext = createContext16({
12688
12894
  var useCollapsibleTableContext = () => useContext23(CollapsibleTableContext);
12689
12895
 
12690
12896
  // src/components/Table/normal/Body.tsx
12691
- import { jsx as jsx302 } from "react/jsx-runtime";
12692
- var Body = (props) => /* @__PURE__ */ jsx302("tbody", { ...props });
12897
+ import { jsx as jsx304 } from "react/jsx-runtime";
12898
+ var Body = (props) => /* @__PURE__ */ jsx304("tbody", { ...props });
12693
12899
  Body.displayName = "Table.Body";
12694
12900
 
12695
12901
  // src/components/Table/normal/Head.tsx
12696
12902
  import { createContext as createContext17, useContext as useContext24 } from "react";
12697
- import { jsx as jsx303 } from "react/jsx-runtime";
12698
- var Head = ({ children, ...rest }) => /* @__PURE__ */ jsx303("thead", { ...rest, children: /* @__PURE__ */ jsx303(HeadContext, { value: true, children }) });
12903
+ import { jsx as jsx305 } from "react/jsx-runtime";
12904
+ var Head = ({ children, ...rest }) => /* @__PURE__ */ jsx305("thead", { ...rest, children: /* @__PURE__ */ jsx305(HeadContext, { value: true, children }) });
12699
12905
  var HeadContext = createContext17(false);
12700
12906
  function useIsInTableHead() {
12701
12907
  const isInTableHead = useContext24(HeadContext);
@@ -12728,7 +12934,7 @@ var Table_default = {
12728
12934
  };
12729
12935
 
12730
12936
  // src/components/Table/normal/Cell.tsx
12731
- import { jsx as jsx304 } from "react/jsx-runtime";
12937
+ import { jsx as jsx306 } from "react/jsx-runtime";
12732
12938
  var Cell = ({
12733
12939
  children,
12734
12940
  type: _type,
@@ -12741,7 +12947,7 @@ var Cell = ({
12741
12947
  const type = _type != null ? _type : isInHead ? "head" : "data";
12742
12948
  const { isCollapsibleChild } = collapsibleProps != null ? collapsibleProps : {};
12743
12949
  const isComplexLayout = layout === "text and icon";
12744
- return isCollapsibleChild ? /* @__PURE__ */ jsx304(DescriptionListDesc, { children }) : type === "head" ? /* @__PURE__ */ jsx304(
12950
+ return isCollapsibleChild ? /* @__PURE__ */ jsx306(DescriptionListDesc, { children }) : type === "head" ? /* @__PURE__ */ jsx306(
12745
12951
  "th",
12746
12952
  {
12747
12953
  ...rest,
@@ -12750,26 +12956,26 @@ var Cell = ({
12750
12956
  !isComplexLayout && Table_default[`cell--${layout}`],
12751
12957
  Table_default["cell--head"]
12752
12958
  ),
12753
- children: isComplexLayout ? /* @__PURE__ */ jsx304("div", { className: Table_default.cell__inner, children }) : children
12959
+ children: isComplexLayout ? /* @__PURE__ */ jsx306("div", { className: Table_default.cell__inner, children }) : children
12754
12960
  }
12755
- ) : /* @__PURE__ */ jsx304(
12961
+ ) : /* @__PURE__ */ jsx306(
12756
12962
  "td",
12757
12963
  {
12758
12964
  ...rest,
12759
12965
  className: cn(className, !isComplexLayout && Table_default[`cell--${layout}`]),
12760
- children: isComplexLayout ? /* @__PURE__ */ jsx304("div", { className: Table_default.cell__inner, children }) : children
12966
+ children: isComplexLayout ? /* @__PURE__ */ jsx306("div", { className: Table_default.cell__inner, children }) : children
12761
12967
  }
12762
12968
  );
12763
12969
  };
12764
12970
  Cell.displayName = "Table.Cell";
12765
12971
 
12766
12972
  // src/components/Table/normal/Foot.tsx
12767
- import { jsx as jsx305 } from "react/jsx-runtime";
12768
- var Foot = (props) => /* @__PURE__ */ jsx305("tfoot", { ...props });
12973
+ import { jsx as jsx307 } from "react/jsx-runtime";
12974
+ var Foot = (props) => /* @__PURE__ */ jsx307("tfoot", { ...props });
12769
12975
  Foot.displayName = "Table.Foot";
12770
12976
 
12771
12977
  // src/components/Table/normal/Row.tsx
12772
- import { jsx as jsx306 } from "react/jsx-runtime";
12978
+ import { jsx as jsx308 } from "react/jsx-runtime";
12773
12979
  var Row = ({
12774
12980
  type: _type,
12775
12981
  mode = "normal",
@@ -12780,7 +12986,7 @@ var Row = ({
12780
12986
  }) => {
12781
12987
  const isInHeader = useIsInTableHead();
12782
12988
  const type = _type != null ? _type : isInHeader ? "head" : "body";
12783
- return /* @__PURE__ */ jsx306(
12989
+ return /* @__PURE__ */ jsx308(
12784
12990
  "tr",
12785
12991
  {
12786
12992
  className: cn(
@@ -12800,12 +13006,12 @@ var Row = ({
12800
13006
  Row.displayName = "Table.Row";
12801
13007
 
12802
13008
  // src/components/Table/normal/SortCell.tsx
12803
- import { jsx as jsx307, jsxs as jsxs77 } from "react/jsx-runtime";
13009
+ import { jsx as jsx309, jsxs as jsxs78 } from "react/jsx-runtime";
12804
13010
  var makeSortIcon = (isSorted, sortOrder) => {
12805
13011
  if (!isSorted || !sortOrder) {
12806
- return /* @__PURE__ */ jsx307(Icon, { icon: UnfoldMoreIcon, iconSize: "inherit" });
13012
+ return /* @__PURE__ */ jsx309(Icon, { icon: UnfoldMoreIcon, iconSize: "inherit" });
12807
13013
  }
12808
- return sortOrder === "ascending" ? /* @__PURE__ */ jsx307(Icon, { icon: ChevronDownIcon, iconSize: "inherit" }) : /* @__PURE__ */ jsx307(Icon, { icon: ChevronUpIcon, iconSize: "inherit" });
13014
+ return sortOrder === "ascending" ? /* @__PURE__ */ jsx309(Icon, { icon: ChevronDownIcon, iconSize: "inherit" }) : /* @__PURE__ */ jsx309(Icon, { icon: ChevronUpIcon, iconSize: "inherit" });
12809
13015
  };
12810
13016
  var SortCell = ({
12811
13017
  isSorted,
@@ -12815,17 +13021,17 @@ var SortCell = ({
12815
13021
  ...rest
12816
13022
  }) => {
12817
13023
  const { t } = useTranslation();
12818
- return /* @__PURE__ */ jsx307(
13024
+ return /* @__PURE__ */ jsx309(
12819
13025
  Cell,
12820
13026
  {
12821
13027
  type: "head",
12822
13028
  "aria-sort": isSorted && sortOrder ? sortOrder : void 0,
12823
13029
  ...rest,
12824
- children: /* @__PURE__ */ jsxs77(
13030
+ children: /* @__PURE__ */ jsxs78(
12825
13031
  StylelessButton,
12826
13032
  {
12827
13033
  onClick,
12828
- "aria-description": t(texts26.changeSort),
13034
+ "aria-description": t(texts28.changeSort),
12829
13035
  className: cn(Table_default["sort-button"], focusable),
12830
13036
  children: [
12831
13037
  children,
@@ -12838,17 +13044,18 @@ var SortCell = ({
12838
13044
  );
12839
13045
  };
12840
13046
  SortCell.displayName = "Table.SortCell";
12841
- var texts26 = createTexts({
13047
+ var texts28 = createTexts({
12842
13048
  changeSort: {
12843
13049
  nb: "Aktiver for \xE5 endre sorteringsrekkef\xF8lge",
12844
13050
  no: "Aktiver for \xE5 endre sorteringsrekkef\xF8lge",
12845
13051
  nn: "Aktiver for \xE5 endre sorteringsrekkjef\xF8lgje",
12846
- en: "Activate to change sort order"
13052
+ en: "Activate to change sort order",
13053
+ se: "Aktivere rievdadit sorterenortnega"
12847
13054
  }
12848
13055
  });
12849
13056
 
12850
13057
  // src/components/Table/normal/Table.tsx
12851
- import { jsx as jsx308 } from "react/jsx-runtime";
13058
+ import { jsx as jsx310 } from "react/jsx-runtime";
12852
13059
  var Table = ({
12853
13060
  size: size2 = "medium",
12854
13061
  stickyHeader,
@@ -12856,7 +13063,7 @@ var Table = ({
12856
13063
  className,
12857
13064
  children,
12858
13065
  ...rest
12859
- }) => /* @__PURE__ */ jsx308(
13066
+ }) => /* @__PURE__ */ jsx310(
12860
13067
  "table",
12861
13068
  {
12862
13069
  ...rest,
@@ -12880,7 +13087,7 @@ import {
12880
13087
  useRef as useRef34,
12881
13088
  useState as useState29
12882
13089
  } from "react";
12883
- import { jsx as jsx309 } from "react/jsx-runtime";
13090
+ import { jsx as jsx311 } from "react/jsx-runtime";
12884
13091
  var TableWrapper = ({ className, ...rest }) => {
12885
13092
  const themeContext = useContext25(ThemeContext);
12886
13093
  const container2 = themeContext == null ? void 0 : themeContext.el;
@@ -12905,7 +13112,7 @@ var TableWrapper = ({ className, ...rest }) => {
12905
13112
  window.addEventListener("resize", handleResize);
12906
13113
  return () => window.removeEventListener("resize", handleResize);
12907
13114
  });
12908
- return /* @__PURE__ */ jsx309(
13115
+ return /* @__PURE__ */ jsx311(
12909
13116
  "div",
12910
13117
  {
12911
13118
  ref: wrapperRef,
@@ -12932,7 +13139,7 @@ Table2.Row = Row;
12932
13139
  Table2.Foot = Foot;
12933
13140
 
12934
13141
  // src/components/Table/collapsible/CollapsibleRow.tsx
12935
- import { Fragment as Fragment13, jsx as jsx310, jsxs as jsxs78 } from "react/jsx-runtime";
13142
+ import { Fragment as Fragment13, jsx as jsx312, jsxs as jsxs79 } from "react/jsx-runtime";
12936
13143
  var CollapsibleRow = ({
12937
13144
  type: _type,
12938
13145
  className,
@@ -12975,40 +13182,40 @@ var CollapsibleRow = ({
12975
13182
  const collapsedRenderedChildren = isCollapsed && collapsedHeaderValues.length > 0 ? collapsedChildren.map(function(child, index) {
12976
13183
  const id = derivativeIdGenerator(prefix2, index.toString());
12977
13184
  collapsibleIds.push(id);
12978
- return /* @__PURE__ */ jsxs78(Fragment12, { children: [
12979
- /* @__PURE__ */ jsx310(DescriptionListTerm, { children: collapsedHeaderValues[index].content }),
13185
+ return /* @__PURE__ */ jsxs79(Fragment12, { children: [
13186
+ /* @__PURE__ */ jsx312(DescriptionListTerm, { children: collapsedHeaderValues[index].content }),
12980
13187
  isValidElement6(child) && cloneElement6(child, {
12981
13188
  collapsibleProps: { isCollapsibleChild: true }
12982
13189
  })
12983
13190
  ] }, `DL-${index}`);
12984
13191
  }) : null;
12985
- const collapsedRows = collapsedRenderedChildren && collapsedRenderedChildren.length > 0 ? /* @__PURE__ */ jsx310(Row, { ...rowProps(), children: /* @__PURE__ */ jsx310(Cell, { colSpan: definingColumnIndex.length + 1, children: /* @__PURE__ */ jsx310(DescriptionList, { children: collapsedRenderedChildren }) }) }) : null;
13192
+ const collapsedRows = collapsedRenderedChildren && collapsedRenderedChildren.length > 0 ? /* @__PURE__ */ jsx312(Row, { ...rowProps(), children: /* @__PURE__ */ jsx312(Cell, { colSpan: definingColumnIndex.length + 1, children: /* @__PURE__ */ jsx312(DescriptionList, { children: collapsedRenderedChildren }) }) }) : null;
12986
13193
  const definingColumnCells = childrenArray.slice().filter((column, index) => definingColumnIndex.indexOf(index) > -1).sort((a, b) => {
12987
13194
  return definingColumnIndex.indexOf(childrenArray.indexOf(a)) - definingColumnIndex.indexOf(childrenArray.indexOf(b));
12988
13195
  });
12989
13196
  const headerRow = () => {
12990
13197
  if (type !== "head" || !isCollapsed) return null;
12991
- return /* @__PURE__ */ jsx310(Row, { ref, ...rowProps(), children: /* @__PURE__ */ jsxs78(Fragment13, { children: [
13198
+ return /* @__PURE__ */ jsx312(Row, { ref, ...rowProps(), children: /* @__PURE__ */ jsxs79(Fragment13, { children: [
12992
13199
  definingColumnCells,
12993
- /* @__PURE__ */ jsxs78(Table2.Cell, { type: "head", layout: "center", children: [
12994
- t(texts27.expand),
12995
- /* @__PURE__ */ jsx310(VisuallyHidden, { children: t(texts27.row) })
13200
+ /* @__PURE__ */ jsxs79(Table2.Cell, { type: "head", layout: "center", children: [
13201
+ t(texts29.expand),
13202
+ /* @__PURE__ */ jsx312(VisuallyHidden, { children: t(texts29.row) })
12996
13203
  ] })
12997
13204
  ] }) });
12998
13205
  };
12999
13206
  const idList = spaceSeparatedIdListGenerator(collapsibleIds);
13000
13207
  const rowWithChevron = () => {
13001
13208
  if (type !== "body" || !isCollapsed) return null;
13002
- return /* @__PURE__ */ jsxs78(Row, { ref, ...rowProps(!childrenCollapsed && true), children: [
13209
+ return /* @__PURE__ */ jsxs79(Row, { ref, ...rowProps(!childrenCollapsed && true), children: [
13003
13210
  definingColumnCells,
13004
- /* @__PURE__ */ jsx310(Table2.Cell, { children: /* @__PURE__ */ jsx310(
13211
+ /* @__PURE__ */ jsx312(Table2.Cell, { children: /* @__PURE__ */ jsx312(
13005
13212
  StylelessButton,
13006
13213
  {
13007
13214
  onClick: () => setChildrenCollapsed(!childrenCollapsed),
13008
13215
  "aria-expanded": !childrenCollapsed,
13009
13216
  "aria-controls": idList,
13010
13217
  className: cn(Table_default["collapse-button"], focusable),
13011
- children: /* @__PURE__ */ jsx310(
13218
+ children: /* @__PURE__ */ jsx312(
13012
13219
  AnimatedChevronUpDown,
13013
13220
  {
13014
13221
  isUp: childrenCollapsed ? false : true,
@@ -13020,39 +13227,41 @@ var CollapsibleRow = ({
13020
13227
  ) })
13021
13228
  ] });
13022
13229
  };
13023
- return isCollapsed && collapsedRenderedChildren && collapsedRenderedChildren.length > 0 ? /* @__PURE__ */ jsxs78(Fragment13, { children: [
13230
+ return isCollapsed && collapsedRenderedChildren && collapsedRenderedChildren.length > 0 ? /* @__PURE__ */ jsxs79(Fragment13, { children: [
13024
13231
  headerRow(),
13025
- type === "body" && /* @__PURE__ */ jsxs78(Fragment13, { children: [
13232
+ type === "body" && /* @__PURE__ */ jsxs79(Fragment13, { children: [
13026
13233
  rowWithChevron(),
13027
13234
  childrenCollapsed ? null : collapsedRows
13028
13235
  ] })
13029
- ] }) : /* @__PURE__ */ jsx310(Row, { ref, ...rowProps(), children });
13236
+ ] }) : /* @__PURE__ */ jsx312(Row, { ref, ...rowProps(), children });
13030
13237
  };
13031
13238
  CollapsibleRow.displayName = "CollapsibleTable.Row";
13032
- var texts27 = createTexts({
13239
+ var texts29 = createTexts({
13033
13240
  expand: {
13034
13241
  nb: "Utvid",
13035
13242
  no: "Utvid",
13036
13243
  nn: "Utvid",
13037
- en: "Expand"
13244
+ en: "Expand",
13245
+ se: "Viiddit"
13038
13246
  },
13039
13247
  row: {
13040
13248
  nb: "raden",
13041
13249
  no: "raden",
13042
13250
  nn: "rada",
13043
- en: "row"
13251
+ en: "row",
13252
+ se: "gurgadus"
13044
13253
  }
13045
13254
  });
13046
13255
 
13047
13256
  // src/components/Table/collapsible/CollapsibleTable.tsx
13048
- import { jsx as jsx311 } from "react/jsx-runtime";
13257
+ import { jsx as jsx313 } from "react/jsx-runtime";
13049
13258
  var CollapsibleTable = ({
13050
13259
  isCollapsed,
13051
13260
  headerValues,
13052
13261
  definingColumnIndex = [0],
13053
13262
  ...rest
13054
13263
  }) => {
13055
- return /* @__PURE__ */ jsx311(
13264
+ return /* @__PURE__ */ jsx313(
13056
13265
  CollapsibleTableContext,
13057
13266
  {
13058
13267
  value: {
@@ -13060,7 +13269,7 @@ var CollapsibleTable = ({
13060
13269
  headerValues,
13061
13270
  definingColumnIndex
13062
13271
  },
13063
- children: /* @__PURE__ */ jsx311(Table2, { ...rest })
13272
+ children: /* @__PURE__ */ jsx313(Table2, { ...rest })
13064
13273
  }
13065
13274
  );
13066
13275
  };
@@ -13110,13 +13319,13 @@ import {
13110
13319
  useContext as useContext27,
13111
13320
  useLayoutEffect as useLayoutEffect3
13112
13321
  } from "react";
13113
- import { jsx as jsx312 } from "react/jsx-runtime";
13322
+ import { jsx as jsx314 } from "react/jsx-runtime";
13114
13323
  var TabContext = createContext19(null);
13115
13324
  function TabWidthContextProvider({
13116
13325
  children,
13117
13326
  onChangeWidths
13118
13327
  }) {
13119
- return /* @__PURE__ */ jsx312(
13328
+ return /* @__PURE__ */ jsx314(
13120
13329
  TabContext,
13121
13330
  {
13122
13331
  value: {
@@ -13148,7 +13357,7 @@ function useSetTabWidth(index, width) {
13148
13357
  }
13149
13358
 
13150
13359
  // src/components/Tabs/AddTabButton.tsx
13151
- import { jsx as jsx313, jsxs as jsxs79 } from "react/jsx-runtime";
13360
+ import { jsx as jsx315, jsxs as jsxs80 } from "react/jsx-runtime";
13152
13361
  var AddTabButton = ({
13153
13362
  ref,
13154
13363
  children,
@@ -13161,7 +13370,7 @@ var AddTabButton = ({
13161
13370
  const buttonRef = useRef35(null);
13162
13371
  const combinedRef = useCombinedRef(ref, buttonRef);
13163
13372
  const { tabContentDirection, size: size2 } = useTabsContext();
13164
- return /* @__PURE__ */ jsxs79(
13373
+ return /* @__PURE__ */ jsxs80(
13165
13374
  "button",
13166
13375
  {
13167
13376
  ...rest,
@@ -13174,8 +13383,8 @@ var AddTabButton = ({
13174
13383
  focus_default["focusable--inset"]
13175
13384
  ),
13176
13385
  children: [
13177
- /* @__PURE__ */ jsx313(Icon, { icon: PlusIcon, iconSize: "inherit" }),
13178
- /* @__PURE__ */ jsx313("span", { children })
13386
+ /* @__PURE__ */ jsx315(Icon, { icon: PlusIcon, iconSize: "inherit" }),
13387
+ /* @__PURE__ */ jsx315("span", { children })
13179
13388
  ]
13180
13389
  }
13181
13390
  );
@@ -13184,7 +13393,7 @@ AddTabButton.displayName = "AddTabButton";
13184
13393
 
13185
13394
  // src/components/Tabs/Tabs.tsx
13186
13395
  import { useEffect as useEffect33, useId as useId25, useRef as useRef36, useState as useState31 } from "react";
13187
- import { jsx as jsx314 } from "react/jsx-runtime";
13396
+ import { jsx as jsx316 } from "react/jsx-runtime";
13188
13397
  var TABS_SIZES = createSizes("small", "medium");
13189
13398
  var Tabs = ({
13190
13399
  id,
@@ -13214,7 +13423,7 @@ var Tabs = ({
13214
13423
  setActiveTab(activeTab);
13215
13424
  }
13216
13425
  }, [activeTab, thisActiveTab]);
13217
- return /* @__PURE__ */ jsx314(
13426
+ return /* @__PURE__ */ jsx316(
13218
13427
  TabsContext,
13219
13428
  {
13220
13429
  value: {
@@ -13229,7 +13438,7 @@ var Tabs = ({
13229
13438
  tabContentDirection,
13230
13439
  addTabButtonProps
13231
13440
  },
13232
- children: /* @__PURE__ */ jsx314(
13441
+ children: /* @__PURE__ */ jsx316(
13233
13442
  Box,
13234
13443
  {
13235
13444
  ...getBaseHTMLProps(uniqueId, className, htmlProps, rest),
@@ -13248,7 +13457,7 @@ import {
13248
13457
  useEffect as useEffect34,
13249
13458
  useRef as useRef37
13250
13459
  } from "react";
13251
- import { jsx as jsx315, jsxs as jsxs80 } from "react/jsx-runtime";
13460
+ import { jsx as jsx317, jsxs as jsxs81 } from "react/jsx-runtime";
13252
13461
  var Tab = ({
13253
13462
  active = false,
13254
13463
  icon,
@@ -13290,7 +13499,7 @@ var Tab = ({
13290
13499
  handleSelect();
13291
13500
  onKeyDown == null ? void 0 : onKeyDown(e);
13292
13501
  };
13293
- return /* @__PURE__ */ jsxs80(
13502
+ return /* @__PURE__ */ jsxs81(
13294
13503
  "button",
13295
13504
  {
13296
13505
  ...getBaseHTMLProps(
@@ -13314,8 +13523,8 @@ var Tab = ({
13314
13523
  onKeyDown: handleOnKeyDown,
13315
13524
  tabIndex: focus ? 0 : -1,
13316
13525
  children: [
13317
- icon && /* @__PURE__ */ jsx315(Icon, { icon, iconSize: "inherit" }),
13318
- /* @__PURE__ */ jsx315("span", { children })
13526
+ icon && /* @__PURE__ */ jsx317(Icon, { icon, iconSize: "inherit" }),
13527
+ /* @__PURE__ */ jsx317("span", { children })
13319
13528
  ]
13320
13529
  }
13321
13530
  );
@@ -13329,7 +13538,7 @@ import {
13329
13538
  isValidElement as isValidElement7,
13330
13539
  useState as useState32
13331
13540
  } from "react";
13332
- import { jsx as jsx316, jsxs as jsxs81 } from "react/jsx-runtime";
13541
+ import { jsx as jsx318, jsxs as jsxs82 } from "react/jsx-runtime";
13333
13542
  var TabList = ({
13334
13543
  children,
13335
13544
  id,
@@ -13387,7 +13596,7 @@ var TabList = ({
13387
13596
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
13388
13597
  ["--dds-tab-widths"]: widths.join(" ")
13389
13598
  };
13390
- return /* @__PURE__ */ jsx316(TabWidthContextProvider, { onChangeWidths: setWidths, children: /* @__PURE__ */ jsxs81(
13599
+ return /* @__PURE__ */ jsx318(TabWidthContextProvider, { onChangeWidths: setWidths, children: /* @__PURE__ */ jsxs82(
13391
13600
  "div",
13392
13601
  {
13393
13602
  ...rest,
@@ -13407,7 +13616,7 @@ var TabList = ({
13407
13616
  style: { ...style, ...customWidths },
13408
13617
  children: [
13409
13618
  tabListChildren,
13410
- hasButton && /* @__PURE__ */ jsx316(
13619
+ hasButton && /* @__PURE__ */ jsx318(
13411
13620
  AddTabButton,
13412
13621
  {
13413
13622
  index: tabListChildren ? tabListChildren.length : 0,
@@ -13421,7 +13630,7 @@ var TabList = ({
13421
13630
  TabList.displayName = "TabList";
13422
13631
 
13423
13632
  // src/components/Tabs/TabPanel.tsx
13424
- import { jsx as jsx317 } from "react/jsx-runtime";
13633
+ import { jsx as jsx319 } from "react/jsx-runtime";
13425
13634
  var TabPanel = ({
13426
13635
  active = false,
13427
13636
  children,
@@ -13430,7 +13639,7 @@ var TabPanel = ({
13430
13639
  htmlProps,
13431
13640
  padding = "x0.25",
13432
13641
  ...rest
13433
- }) => /* @__PURE__ */ jsx317(
13642
+ }) => /* @__PURE__ */ jsx319(
13434
13643
  Box,
13435
13644
  {
13436
13645
  padding,
@@ -13449,7 +13658,7 @@ import {
13449
13658
  cloneElement as cloneElement8,
13450
13659
  isValidElement as isValidElement8
13451
13660
  } from "react";
13452
- import { jsx as jsx318 } from "react/jsx-runtime";
13661
+ import { jsx as jsx320 } from "react/jsx-runtime";
13453
13662
  var TabPanels = ({ children, ref, ...rest }) => {
13454
13663
  const { activeTab, tabsId, tabPanelsRef } = useTabsContext();
13455
13664
  const combinedRef = useCombinedRef(ref, tabPanelsRef);
@@ -13464,7 +13673,7 @@ var TabPanels = ({ children, ref, ...rest }) => {
13464
13673
  }
13465
13674
  });
13466
13675
  });
13467
- return /* @__PURE__ */ jsx318(Box, { ref: combinedRef, ...rest, children: panelChildren });
13676
+ return /* @__PURE__ */ jsx320(Box, { ref: combinedRef, ...rest, children: panelChildren });
13468
13677
  };
13469
13678
  TabPanels.displayName = "TabPanels";
13470
13679
 
@@ -13485,7 +13694,7 @@ var Tag_default = {
13485
13694
  };
13486
13695
 
13487
13696
  // src/components/Tag/Tag.tsx
13488
- import { jsx as jsx319, jsxs as jsxs82 } from "react/jsx-runtime";
13697
+ import { jsx as jsx321, jsxs as jsxs83 } from "react/jsx-runtime";
13489
13698
  var icons3 = {
13490
13699
  info: InfoIcon,
13491
13700
  danger: ErrorIcon,
@@ -13505,7 +13714,7 @@ var Tag = ({
13505
13714
  ...rest
13506
13715
  }) => {
13507
13716
  const icon = icons3[purpose];
13508
- return /* @__PURE__ */ jsxs82(
13717
+ return /* @__PURE__ */ jsxs83(
13509
13718
  TextOverflowEllipsisWrapper,
13510
13719
  {
13511
13720
  ...getBaseHTMLProps(
@@ -13521,8 +13730,8 @@ var Tag = ({
13521
13730
  rest
13522
13731
  ),
13523
13732
  children: [
13524
- withIcon && icon && /* @__PURE__ */ jsx319(Icon, { icon, iconSize: "small" }),
13525
- /* @__PURE__ */ jsx319(TextOverflowEllipsisInner, { children: children != null ? children : text })
13733
+ withIcon && icon && /* @__PURE__ */ jsx321(Icon, { icon, iconSize: "small" }),
13734
+ /* @__PURE__ */ jsx321(TextOverflowEllipsisInner, { children: children != null ? children : text })
13526
13735
  ]
13527
13736
  }
13528
13737
  );
@@ -13552,7 +13761,7 @@ var TextInput_default = {
13552
13761
  };
13553
13762
 
13554
13763
  // src/components/TextInput/TextInput.tsx
13555
- import { jsx as jsx320, jsxs as jsxs83 } from "react/jsx-runtime";
13764
+ import { jsx as jsx322, jsxs as jsxs84 } from "react/jsx-runtime";
13556
13765
  var TextInput = ({
13557
13766
  label,
13558
13767
  afterLabelContent,
@@ -13647,8 +13856,8 @@ var TextInput = ({
13647
13856
  const suffixPaddingInlineEnd = suffixLength ? `calc(var(--dds-spacing-x1) + ${suffixLength}px)` : void 0;
13648
13857
  let extendedInput = null;
13649
13858
  if (hasIcon) {
13650
- extendedInput = /* @__PURE__ */ jsxs83(Box, { className: Input_default["input-group"], width: inputWidth, children: [
13651
- /* @__PURE__ */ jsx320(
13859
+ extendedInput = /* @__PURE__ */ jsxs84(Box, { className: Input_default["input-group"], width: inputWidth, children: [
13860
+ /* @__PURE__ */ jsx322(
13652
13861
  Icon,
13653
13862
  {
13654
13863
  icon,
@@ -13659,7 +13868,7 @@ var TextInput = ({
13659
13868
  )
13660
13869
  }
13661
13870
  ),
13662
- /* @__PURE__ */ jsx320(
13871
+ /* @__PURE__ */ jsx322(
13663
13872
  StatefulInput,
13664
13873
  {
13665
13874
  className: cn(
@@ -13672,7 +13881,7 @@ var TextInput = ({
13672
13881
  )
13673
13882
  ] });
13674
13883
  } else if (hasAffix) {
13675
- extendedInput = /* @__PURE__ */ jsxs83(
13884
+ extendedInput = /* @__PURE__ */ jsxs84(
13676
13885
  Box,
13677
13886
  {
13678
13887
  position: "relative",
@@ -13680,7 +13889,7 @@ var TextInput = ({
13680
13889
  alignItems: "center",
13681
13890
  width: inputWidth,
13682
13891
  children: [
13683
- prefix2 && /* @__PURE__ */ jsx320(
13892
+ prefix2 && /* @__PURE__ */ jsx322(
13684
13893
  "span",
13685
13894
  {
13686
13895
  ref: prefixRef,
@@ -13693,7 +13902,7 @@ var TextInput = ({
13693
13902
  children: prefix2
13694
13903
  }
13695
13904
  ),
13696
- /* @__PURE__ */ jsx320(
13905
+ /* @__PURE__ */ jsx322(
13697
13906
  StatefulInput,
13698
13907
  {
13699
13908
  style: {
@@ -13704,7 +13913,7 @@ var TextInput = ({
13704
13913
  ...generalInputProps
13705
13914
  }
13706
13915
  ),
13707
- suffix && /* @__PURE__ */ jsx320(
13916
+ suffix && /* @__PURE__ */ jsx322(
13708
13917
  "span",
13709
13918
  {
13710
13919
  ref: suffixRef,
@@ -13721,7 +13930,7 @@ var TextInput = ({
13721
13930
  }
13722
13931
  );
13723
13932
  }
13724
- return /* @__PURE__ */ jsxs83(
13933
+ return /* @__PURE__ */ jsxs84(
13725
13934
  "div",
13726
13935
  {
13727
13936
  className: cn(
@@ -13740,8 +13949,8 @@ var TextInput = ({
13740
13949
  readOnly,
13741
13950
  afterLabelContent
13742
13951
  }),
13743
- extendedInput ? extendedInput : /* @__PURE__ */ jsx320(Box, { as: StatefulInput, width: inputWidth, ...generalInputProps }),
13744
- hasBottomContainer && /* @__PURE__ */ jsxs83(
13952
+ extendedInput ? extendedInput : /* @__PURE__ */ jsx322(Box, { as: StatefulInput, width: inputWidth, ...generalInputProps }),
13953
+ hasBottomContainer && /* @__PURE__ */ jsxs84(
13745
13954
  Box,
13746
13955
  {
13747
13956
  display: "flex",
@@ -13784,7 +13993,7 @@ var Toggle_default = {
13784
13993
  };
13785
13994
 
13786
13995
  // src/components/Toggle/Toggle.tsx
13787
- import { jsx as jsx321, jsxs as jsxs84 } from "react/jsx-runtime";
13996
+ import { jsx as jsx323, jsxs as jsxs85 } from "react/jsx-runtime";
13788
13997
  var TOGGLE_SIZES = createSizes("medium", "large");
13789
13998
  var Toggle = ({
13790
13999
  id,
@@ -13809,7 +14018,7 @@ var Toggle = ({
13809
14018
  defaultValue: defaultChecked != null ? defaultChecked : false,
13810
14019
  onChange
13811
14020
  });
13812
- return /* @__PURE__ */ jsxs84(
14021
+ return /* @__PURE__ */ jsxs85(
13813
14022
  "label",
13814
14023
  {
13815
14024
  htmlFor: uniqueId,
@@ -13821,7 +14030,7 @@ var Toggle = ({
13821
14030
  readOnly && Toggle_default["label--read-only"]
13822
14031
  ),
13823
14032
  children: [
13824
- /* @__PURE__ */ jsx321(
14033
+ /* @__PURE__ */ jsx323(
13825
14034
  HiddenInput,
13826
14035
  {
13827
14036
  ...getBaseHTMLProps(
@@ -13843,7 +14052,7 @@ var Toggle = ({
13843
14052
  onClick: readOnlyClickHandler(readOnly || isLoading, htmlProps.onClick)
13844
14053
  }
13845
14054
  ),
13846
- /* @__PURE__ */ jsx321("span", { className: cn(Toggle_default.track, focus_default["focus-styled-sibling"]), children: /* @__PURE__ */ jsx321("span", { className: Toggle_default.thumb, children: isLoading ? /* @__PURE__ */ jsx321(Spinner, { size: `var(--dds-icon-size-${size2})` }) : /* @__PURE__ */ jsx321(
14055
+ /* @__PURE__ */ jsx323("span", { className: cn(Toggle_default.track, focus_default["focus-styled-sibling"]), children: /* @__PURE__ */ jsx323("span", { className: Toggle_default.thumb, children: isLoading ? /* @__PURE__ */ jsx323(Spinner, { size: `var(--dds-icon-size-${size2})` }) : /* @__PURE__ */ jsx323(
13847
14056
  Icon,
13848
14057
  {
13849
14058
  className: Toggle_default.checkmark,
@@ -13851,8 +14060,8 @@ var Toggle = ({
13851
14060
  iconSize
13852
14061
  }
13853
14062
  ) }) }),
13854
- /* @__PURE__ */ jsxs84("span", { className: cn(readOnly && Toggle_default["labeltext--readonly"]), children: [
13855
- readOnly && /* @__PURE__ */ jsx321(
14063
+ /* @__PURE__ */ jsxs85("span", { className: cn(readOnly && Toggle_default["labeltext--readonly"]), children: [
14064
+ readOnly && /* @__PURE__ */ jsx323(
13856
14065
  Icon,
13857
14066
  {
13858
14067
  icon: LockIcon,
@@ -13862,7 +14071,7 @@ var Toggle = ({
13862
14071
  ),
13863
14072
  children,
13864
14073
  " ",
13865
- isLoading && /* @__PURE__ */ jsx321(VisuallyHidden, { children: t(commonTexts.loading) })
14074
+ isLoading && /* @__PURE__ */ jsx323(VisuallyHidden, { children: t(commonTexts.loading) })
13866
14075
  ] })
13867
14076
  ]
13868
14077
  }
@@ -13896,7 +14105,7 @@ var ToggleBar_default = {
13896
14105
  };
13897
14106
 
13898
14107
  // src/components/ToggleBar/ToggleBar.tsx
13899
- import { jsx as jsx322, jsxs as jsxs85 } from "react/jsx-runtime";
14108
+ import { jsx as jsx324, jsxs as jsxs86 } from "react/jsx-runtime";
13900
14109
  var ToggleBar = (props) => {
13901
14110
  const {
13902
14111
  children,
@@ -13919,7 +14128,7 @@ var ToggleBar = (props) => {
13919
14128
  (e) => onChange && onChange(e, e.target.value)
13920
14129
  );
13921
14130
  const labelId = label && `${uniqueId}-label`;
13922
- return /* @__PURE__ */ jsx322(
14131
+ return /* @__PURE__ */ jsx324(
13923
14132
  ToggleBarContext,
13924
14133
  {
13925
14134
  value: {
@@ -13928,7 +14137,7 @@ var ToggleBar = (props) => {
13928
14137
  name,
13929
14138
  value: groupValue
13930
14139
  },
13931
- children: /* @__PURE__ */ jsxs85(
14140
+ children: /* @__PURE__ */ jsxs86(
13932
14141
  VStack,
13933
14142
  {
13934
14143
  ...getBaseHTMLProps(id, className, htmlProps, rest),
@@ -13937,8 +14146,8 @@ var ToggleBar = (props) => {
13937
14146
  role: "radiogroup",
13938
14147
  "aria-labelledby": labelId != null ? labelId : htmlProps == null ? void 0 : htmlProps["aria-labelledby"],
13939
14148
  children: [
13940
- label && /* @__PURE__ */ jsx322(Typography, { id: labelId, as: "span", typographyType: "labelMedium", children: label }),
13941
- /* @__PURE__ */ jsx322("div", { className: ToggleBar_default.bar, children })
14149
+ label && /* @__PURE__ */ jsx324(Typography, { id: labelId, as: "span", typographyType: "labelMedium", children: label }),
14150
+ /* @__PURE__ */ jsx324("div", { className: ToggleBar_default.bar, children })
13942
14151
  ]
13943
14152
  }
13944
14153
  )
@@ -13949,7 +14158,7 @@ ToggleBar.displayName = "ToggleBar";
13949
14158
 
13950
14159
  // src/components/ToggleBar/ToggleRadio.tsx
13951
14160
  import { useId as useId29 } from "react";
13952
- import { jsx as jsx323, jsxs as jsxs86 } from "react/jsx-runtime";
14161
+ import { jsx as jsx325, jsxs as jsxs87 } from "react/jsx-runtime";
13953
14162
  var typographyTypes3 = {
13954
14163
  large: "bodyLarge",
13955
14164
  medium: "bodyMedium",
@@ -13989,8 +14198,8 @@ var ToggleRadio = ({
13989
14198
  (_a = group == null ? void 0 : group.onChange) == null ? void 0 : _a.call(group, event);
13990
14199
  };
13991
14200
  const contentTypeCn = label ? "with-text" : "just-icon";
13992
- return /* @__PURE__ */ jsxs86("label", { htmlFor: uniqueId, className: ToggleBar_default.label, children: [
13993
- /* @__PURE__ */ jsx323(
14201
+ return /* @__PURE__ */ jsxs87("label", { htmlFor: uniqueId, className: ToggleBar_default.label, children: [
14202
+ /* @__PURE__ */ jsx325(
13994
14203
  HiddenInput,
13995
14204
  {
13996
14205
  ...getBaseHTMLProps(
@@ -14008,7 +14217,7 @@ var ToggleRadio = ({
14008
14217
  "aria-labelledby": ariaLabelledBy
14009
14218
  }
14010
14219
  ),
14011
- /* @__PURE__ */ jsxs86(
14220
+ /* @__PURE__ */ jsxs87(
14012
14221
  Typography,
14013
14222
  {
14014
14223
  as: "span",
@@ -14019,8 +14228,8 @@ var ToggleRadio = ({
14019
14228
  focus_default["focus-styled-sibling"]
14020
14229
  ),
14021
14230
  children: [
14022
- icon && /* @__PURE__ */ jsx323(Icon, { icon, iconSize: "inherit" }),
14023
- label && /* @__PURE__ */ jsx323("span", { children: label })
14231
+ icon && /* @__PURE__ */ jsx325(Icon, { icon, iconSize: "inherit" }),
14232
+ label && /* @__PURE__ */ jsx325("span", { children: label })
14024
14233
  ]
14025
14234
  }
14026
14235
  )
@@ -14040,7 +14249,7 @@ var ToggleButton_default = {
14040
14249
  };
14041
14250
 
14042
14251
  // src/components/ToggleButton/ToggleButton.tsx
14043
- import { jsx as jsx324, jsxs as jsxs87 } from "react/jsx-runtime";
14252
+ import { jsx as jsx326, jsxs as jsxs88 } from "react/jsx-runtime";
14044
14253
  var ToggleButton = ({
14045
14254
  id,
14046
14255
  label,
@@ -14053,8 +14262,8 @@ var ToggleButton = ({
14053
14262
  const generatedId = useId30();
14054
14263
  const uniqueId = id != null ? id : `${generatedId}-toggleButton`;
14055
14264
  const hasIcon = !!icon;
14056
- return /* @__PURE__ */ jsxs87(Box, { as: "label", htmlFor: uniqueId, width: "fit-content", children: [
14057
- /* @__PURE__ */ jsx324(
14265
+ return /* @__PURE__ */ jsxs88(Box, { as: "label", htmlFor: uniqueId, width: "fit-content", children: [
14266
+ /* @__PURE__ */ jsx326(
14058
14267
  HiddenInput,
14059
14268
  {
14060
14269
  ...getBaseHTMLProps(
@@ -14066,7 +14275,7 @@ var ToggleButton = ({
14066
14275
  type: "checkbox"
14067
14276
  }
14068
14277
  ),
14069
- /* @__PURE__ */ jsxs87(
14278
+ /* @__PURE__ */ jsxs88(
14070
14279
  "span",
14071
14280
  {
14072
14281
  className: cn(
@@ -14077,7 +14286,7 @@ var ToggleButton = ({
14077
14286
  focus_default["focus-styled-sibling"]
14078
14287
  ),
14079
14288
  children: [
14080
- hasIcon && /* @__PURE__ */ jsx324(Icon, { icon, iconSize: "inherit" }),
14289
+ hasIcon && /* @__PURE__ */ jsx326(Icon, { icon, iconSize: "inherit" }),
14081
14290
  " ",
14082
14291
  label
14083
14292
  ]
@@ -14089,7 +14298,7 @@ ToggleButton.displayName = "ToggleButton";
14089
14298
 
14090
14299
  // src/components/ToggleButton/ToggleButtonGroup.tsx
14091
14300
  import { useId as useId31 } from "react";
14092
- import { jsx as jsx325, jsxs as jsxs88 } from "react/jsx-runtime";
14301
+ import { jsx as jsx327, jsxs as jsxs89 } from "react/jsx-runtime";
14093
14302
  var ToggleButtonGroup = (props) => {
14094
14303
  const {
14095
14304
  children,
@@ -14103,7 +14312,7 @@ var ToggleButtonGroup = (props) => {
14103
14312
  } = props;
14104
14313
  const generatedId = useId31();
14105
14314
  const uniqueLabelId = labelId != null ? labelId : `${generatedId}-ToggleButtonGroupLabel`;
14106
- return /* @__PURE__ */ jsxs88(
14315
+ return /* @__PURE__ */ jsxs89(
14107
14316
  "div",
14108
14317
  {
14109
14318
  ...getBaseHTMLProps(id, className, htmlProps, rest),
@@ -14111,7 +14320,7 @@ var ToggleButtonGroup = (props) => {
14111
14320
  "aria-labelledby": label ? uniqueLabelId : void 0,
14112
14321
  children: [
14113
14322
  renderGroupLabel({ label, id: uniqueLabelId }),
14114
- /* @__PURE__ */ jsx325(Box, { display: "flex", flexWrap: "wrap", gap: "x0.75", flexDirection: direction, children })
14323
+ /* @__PURE__ */ jsx327(Box, { display: "flex", flexWrap: "wrap", gap: "x0.75", flexDirection: direction, children })
14115
14324
  ]
14116
14325
  }
14117
14326
  );
@@ -14247,6 +14456,16 @@ export {
14247
14456
  FooterLogo,
14248
14457
  FooterSocialsGroup,
14249
14458
  FooterSocialsList,
14459
+ FormSummary,
14460
+ FormSummaryEditButton,
14461
+ FormSummaryEmptyValue,
14462
+ FormSummaryError,
14463
+ FormSummaryField,
14464
+ FormSummaryFields,
14465
+ FormSummaryHeader,
14466
+ FormSummaryHeading,
14467
+ FormSummaryLabel,
14468
+ FormSummaryValue,
14250
14469
  FullscreenExitIcon,
14251
14470
  FullscreenIcon,
14252
14471
  GavelIcon,