@vygruppen/spor-react 13.4.2 → 13.4.3

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
@@ -208,8 +208,8 @@ function useTranslation() {
208
208
  };
209
209
  return { t, language };
210
210
  }
211
- function createTexts(texts28) {
212
- return texts28;
211
+ function createTexts(texts29) {
212
+ return texts29;
213
213
  }
214
214
  function Lottie({ animationData }) {
215
215
  const { View } = useLottie({ animationData });
@@ -2466,7 +2466,7 @@ var DateTimeSegment = ({
2466
2466
  segment,
2467
2467
  state,
2468
2468
  ariaLabel,
2469
- ariaDescription,
2469
+ ariaLabelledby,
2470
2470
  variant
2471
2471
  }) => {
2472
2472
  const internalRef = useRef(null);
@@ -2496,8 +2496,8 @@ var DateTimeSegment = ({
2496
2496
  borderRadius: "xs",
2497
2497
  fontSize: ["mobile.sm", "desktop.sm"],
2498
2498
  css: styles.dateTimeSegment,
2499
- "aria-label": ariaDescription,
2500
- "aria-labelledby": ariaLabel,
2499
+ "aria-label": ariaLabel,
2500
+ "aria-labelledby": ariaLabelledby,
2501
2501
  children: isPaddable(segment.type) ? segment.text.padStart(2, "0") : segment.text
2502
2502
  }
2503
2503
  );
@@ -2546,7 +2546,7 @@ var DateField = ({
2546
2546
  DateTimeSegment,
2547
2547
  {
2548
2548
  segment,
2549
- ariaDescription: t(getAriaLabel(segment.type)),
2549
+ ariaLabel: t(getAriaLabel(segment.type)),
2550
2550
  state
2551
2551
  },
2552
2552
  index
@@ -2673,7 +2673,7 @@ var DatePicker = ({
2673
2673
  }
2674
2674
  (_a6 = props.onClick) == null ? void 0 : _a6.call(props);
2675
2675
  };
2676
- const popoverContent = /* @__PURE__ */ jsx(Popover$1.Positioner, { children: /* @__PURE__ */ jsx(Popover$1.Content, { css: styles.calendarPopover, children: /* @__PURE__ */ jsx(Popover$1.Body, { minWidth: "20rem", children: /* @__PURE__ */ jsx(
2676
+ const popoverContent = /* @__PURE__ */ jsx(Popover$1.Positioner, { children: /* @__PURE__ */ jsx(Popover$1.Content, { css: styles.calendarPopover, children: /* @__PURE__ */ jsx(Popover$1.Body, { minWidth: "18rem", children: /* @__PURE__ */ jsx(
2677
2677
  Calendar2,
2678
2678
  {
2679
2679
  ...calendarProps,
@@ -2882,8 +2882,9 @@ function DateRangePicker({
2882
2882
  var TimeField = ({ state, ...props }) => {
2883
2883
  const ref = useRef(null);
2884
2884
  const { labelProps, fieldProps } = useTimeField(props, state, ref);
2885
+ const { t } = useTranslation();
2885
2886
  return /* @__PURE__ */ jsxs(Box, { children: [
2886
- /* @__PURE__ */ jsx(
2887
+ /* @__PURE__ */ jsxs(
2887
2888
  chakra.label,
2888
2889
  {
2889
2890
  ...labelProps,
@@ -2900,10 +2901,21 @@ var TimeField = ({ state, ...props }) => {
2900
2901
  overflow: "hidden",
2901
2902
  textOverflow: "ellipsis",
2902
2903
  maxWidth: "80%",
2903
- children: props.label
2904
+ children: [
2905
+ props.label,
2906
+ /* @__PURE__ */ jsx(Field.RequiredIndicator, {})
2907
+ ]
2904
2908
  }
2905
2909
  ),
2906
- /* @__PURE__ */ jsx(Flex, { ...fieldProps, ref, paddingTop: "3", paddingBottom: "0.5", children: state.segments.map((segment, index) => /* @__PURE__ */ jsx(DateTimeSegment, { segment, state }, index)) }),
2910
+ /* @__PURE__ */ jsx(Flex, { ...fieldProps, ref, paddingTop: "3", paddingBottom: "0.5", children: state.segments.map((segment, index) => /* @__PURE__ */ jsx(
2911
+ DateTimeSegment,
2912
+ {
2913
+ segment,
2914
+ state,
2915
+ ariaLabel: t(getAriaLabel2(segment.type))
2916
+ },
2917
+ index
2918
+ )) }),
2907
2919
  /* @__PURE__ */ jsx(
2908
2920
  "input",
2909
2921
  {
@@ -2914,6 +2926,48 @@ var TimeField = ({ state, ...props }) => {
2914
2926
  )
2915
2927
  ] });
2916
2928
  };
2929
+ var getAriaLabel2 = (segmentType) => {
2930
+ switch (segmentType) {
2931
+ case "hour": {
2932
+ return texts12.hour;
2933
+ }
2934
+ case "minute": {
2935
+ return texts12.minute;
2936
+ }
2937
+ case "second": {
2938
+ return texts12.second;
2939
+ }
2940
+ default: {
2941
+ return texts12.default;
2942
+ }
2943
+ }
2944
+ };
2945
+ var texts12 = createTexts({
2946
+ hour: {
2947
+ nb: "Velg time",
2948
+ nn: "Vel time",
2949
+ sv: "V\xE4lj timme",
2950
+ en: "Choose hour"
2951
+ },
2952
+ minute: {
2953
+ nb: "Velg minutt",
2954
+ nn: "Vel minutt",
2955
+ sv: "V\xE4lj minut",
2956
+ en: "Choose minute"
2957
+ },
2958
+ second: {
2959
+ nb: "Velg sekund",
2960
+ nn: "Vel sekund",
2961
+ sv: "V\xE4lj sekund",
2962
+ en: "Choose second"
2963
+ },
2964
+ default: {
2965
+ nb: "Velg tid",
2966
+ nn: "Vel tid",
2967
+ sv: "V\xE4lj tid",
2968
+ en: "Choose time"
2969
+ }
2970
+ });
2917
2971
  var TimePicker = ({
2918
2972
  label: externalLabel,
2919
2973
  value,
@@ -2929,7 +2983,7 @@ var TimePicker = ({
2929
2983
  const isDisabled = isDisabledExternally ?? fieldDisabled ?? false;
2930
2984
  const { t } = useTranslation();
2931
2985
  const locale = useCurrentLocale();
2932
- const label = externalLabel ?? t(texts12.time);
2986
+ const label = externalLabel ?? t(texts13.time);
2933
2987
  const state = useTimeFieldState({
2934
2988
  value,
2935
2989
  defaultValue,
@@ -2962,15 +3016,15 @@ var TimePicker = ({
2962
3016
  })
2963
3017
  );
2964
3018
  };
2965
- const backwardsLabel = `${t(texts12.backwards)} ${minuteInterval} ${t(
2966
- texts12.minutes
3019
+ const backwardsLabel = `${t(texts13.backwards)} ${minuteInterval} ${t(
3020
+ texts13.minutes
2967
3021
  )}`;
2968
- const forwardsLabel = `${t(texts12.forwards)} ${minuteInterval} ${t(
2969
- texts12.minutes
3022
+ const forwardsLabel = `${t(texts13.forwards)} ${minuteInterval} ${t(
3023
+ texts13.minutes
2970
3024
  )}`;
2971
- const inputLabel = label ?? t(texts12.time);
3025
+ const inputLabel = label ?? t(texts13.time);
2972
3026
  const ariaLabel = `${inputLabel} \u2013 ${t(
2973
- texts12.selectedTimeIs(`${(dateTime == null ? void 0 : dateTime.hour) ?? 0} ${(dateTime == null ? void 0 : dateTime.minute) ?? 0}`)
3027
+ texts13.selectedTimeIs(`${(dateTime == null ? void 0 : dateTime.hour) ?? 0} ${(dateTime == null ? void 0 : dateTime.minute) ?? 0}`)
2974
3028
  )}`;
2975
3029
  return /* @__PURE__ */ jsx(Field3, { as: "time", ...boxProps, children: /* @__PURE__ */ jsxs(
2976
3030
  StyledField,
@@ -2983,7 +3037,6 @@ var TimePicker = ({
2983
3037
  opacity: isDisabled ? 0.5 : 1,
2984
3038
  pointerEvents: isDisabled ? "none" : "auto",
2985
3039
  "aria-disabled": isDisabled,
2986
- "aria-live": "assertive",
2987
3040
  "aria-label": ariaLabel,
2988
3041
  position: "relative",
2989
3042
  ...boxProps,
@@ -3023,7 +3076,7 @@ var TimePicker = ({
3023
3076
  }
3024
3077
  ) });
3025
3078
  };
3026
- var texts12 = createTexts({
3079
+ var texts13 = createTexts({
3027
3080
  selectedTimeIs: (time) => ({
3028
3081
  nb: `Valgt tidspunkt er ${time}`,
3029
3082
  nn: `Valt tidspunkt er ${time}`,
@@ -3165,7 +3218,7 @@ var DrawerCloseTrigger = function DrawerCloseTrigger2({
3165
3218
  {
3166
3219
  variant: "ghost",
3167
3220
  icon: /* @__PURE__ */ jsx(CloseFill24Icon, {}),
3168
- label: t(texts13.close)
3221
+ label: t(texts14.close)
3169
3222
  }
3170
3223
  ) : /* @__PURE__ */ jsx(CloseButton, { size: "md" }) });
3171
3224
  };
@@ -3179,7 +3232,7 @@ var DrawerBackTrigger = ({
3179
3232
  {
3180
3233
  variant: "ghost",
3181
3234
  icon: /* @__PURE__ */ jsx(ArrowLeftFill24Icon, {}),
3182
- label: t(texts13.back)
3235
+ label: t(texts14.back)
3183
3236
  }
3184
3237
  ) });
3185
3238
  };
@@ -3211,7 +3264,7 @@ var DrawerBackdrop = Drawer$1.Backdrop;
3211
3264
  var DrawerTitle = Drawer$1.Title;
3212
3265
  var DrawerActionTrigger = Drawer$1.ActionTrigger;
3213
3266
  var DrawerHeader = Drawer$1.Header;
3214
- var texts13 = createTexts({
3267
+ var texts14 = createTexts({
3215
3268
  back: {
3216
3269
  en: "Back",
3217
3270
  nb: "Tilbake",
@@ -3241,7 +3294,7 @@ var TextLink = ({
3241
3294
  }) => {
3242
3295
  const { t } = useTranslation();
3243
3296
  const isExternal = external ?? Boolean((href == null ? void 0 : href.startsWith("http://")) || (href == null ? void 0 : href.startsWith("https://")));
3244
- const externalLabel = t ? t(texts14.externalLink) : texts14.externalLink.en;
3297
+ const externalLabel = t ? t(texts15.externalLink) : texts15.externalLink.en;
3245
3298
  if (props.asChild && isValidElement(children)) {
3246
3299
  return /* @__PURE__ */ jsx(
3247
3300
  Link,
@@ -3280,7 +3333,7 @@ var TextLink = ({
3280
3333
  }
3281
3334
  );
3282
3335
  };
3283
- var texts14 = createTexts({
3336
+ var texts15 = createTexts({
3284
3337
  externalLink: {
3285
3338
  nb: "Ekstern lenke",
3286
3339
  nn: "Ekstern lenke",
@@ -3666,10 +3719,10 @@ function Autocomplete({
3666
3719
  }
3667
3720
  }
3668
3721
  ) }),
3669
- /* @__PURE__ */ jsx(Combobox.IndicatorGroup, { children: /* @__PURE__ */ jsx(Combobox.ClearTrigger, { asChild: true, "aria-label": t(texts15.clearValue), children: /* @__PURE__ */ jsx(CloseButton, { size: "xs", tabIndex: 0 }) }) })
3722
+ /* @__PURE__ */ jsx(Combobox.IndicatorGroup, { children: /* @__PURE__ */ jsx(Combobox.ClearTrigger, { asChild: true, "aria-label": t(texts16.clearValue), children: /* @__PURE__ */ jsx(CloseButton, { size: "xs", tabIndex: 0 }) }) })
3670
3723
  ] }),
3671
3724
  /* @__PURE__ */ jsx(Combobox.Positioner, { children: /* @__PURE__ */ jsxs(Combobox.Content, { children: [
3672
- !loading && /* @__PURE__ */ jsx(Combobox.Empty, { children: emptyLabel ?? t(texts15.noItemsFound) }),
3725
+ !loading && /* @__PURE__ */ jsx(Combobox.Empty, { children: emptyLabel ?? t(texts16.noItemsFound) }),
3673
3726
  loading ? /* @__PURE__ */ jsx(ColorSpinner, { width: "1.5rem", p: "2" }) : filteredChildren
3674
3727
  ] }) })
3675
3728
  ] });
@@ -3728,7 +3781,7 @@ var extractItemsFromChildren = (children) => {
3728
3781
  });
3729
3782
  return items;
3730
3783
  };
3731
- var texts15 = createTexts({
3784
+ var texts16 = createTexts({
3732
3785
  noItemsFound: {
3733
3786
  nb: "Ingen resultater",
3734
3787
  nn: "Ingen resultat",
@@ -4545,7 +4598,7 @@ var NumericStepper = ({
4545
4598
  {
4546
4599
  icon: /* @__PURE__ */ jsx(SubtractIcon, { stepLabel: clampedStepSize }),
4547
4600
  "aria-label": t(
4548
- texts16.decrementButtonAriaLabel(
4601
+ texts17.decrementButtonAriaLabel(
4549
4602
  clampedStepSize,
4550
4603
  stepSize === 1 ? ariaLabelContext.singular : ariaLabelContext.plural
4551
4604
  )
@@ -4572,7 +4625,7 @@ var NumericStepper = ({
4572
4625
  css: styles.input,
4573
4626
  width: `${Math.max(value.toString().length + 1, 3)}ch`,
4574
4627
  "aria-live": "assertive",
4575
- "aria-label": ariaLabelContext.plural === "" ? "" : t(texts16.currentNumberAriaLabel(ariaLabelContext.plural)),
4628
+ "aria-label": ariaLabelContext.plural === "" ? "" : t(texts17.currentNumberAriaLabel(ariaLabelContext.plural)),
4576
4629
  onChange: (event) => {
4577
4630
  const numericInput = Number(event.target.value);
4578
4631
  if (Number.isNaN(numericInput)) {
@@ -4593,7 +4646,7 @@ var NumericStepper = ({
4593
4646
  paddingX: 0.5,
4594
4647
  padding: 0,
4595
4648
  textAlign: "center",
4596
- "aria-label": ariaLabelContext.plural === "" ? "" : t(texts16.currentNumberAriaLabel(ariaLabelContext.plural)),
4649
+ "aria-label": ariaLabelContext.plural === "" ? "" : t(texts17.currentNumberAriaLabel(ariaLabelContext.plural)),
4597
4650
  children: value
4598
4651
  }
4599
4652
  ),
@@ -4603,7 +4656,7 @@ var NumericStepper = ({
4603
4656
  ref: addButtonRef,
4604
4657
  icon: /* @__PURE__ */ jsx(AddIcon, { stepLabel: clampedStepSize }),
4605
4658
  "aria-label": t(
4606
- texts16.incrementButtonAriaLabel(
4659
+ texts17.incrementButtonAriaLabel(
4607
4660
  clampedStepSize,
4608
4661
  stepSize === 1 ? ariaLabelContext.singular : ariaLabelContext.plural
4609
4662
  )
@@ -4677,7 +4730,7 @@ var AddIcon = ({ stepLabel }) => /* @__PURE__ */ jsxs(Fragment, { children: [
4677
4730
  ] }),
4678
4731
  stepLabel > 1 && /* @__PURE__ */ jsx(chakra.span, { paddingRight: "1", children: stepLabel.toString() })
4679
4732
  ] });
4680
- var texts16 = createTexts({
4733
+ var texts17 = createTexts({
4681
4734
  currentNumberAriaLabel(ariaContext) {
4682
4735
  return {
4683
4736
  nb: `Valgt antall ${ariaContext}`,
@@ -4743,7 +4796,7 @@ var PasswordInput = ({
4743
4796
  setVisible(!visible);
4744
4797
  },
4745
4798
  size,
4746
- children: visible ? t(texts17.hidePassword) : t(texts17.showPassword)
4799
+ children: visible ? t(texts18.hidePassword) : t(texts18.showPassword)
4747
4800
  }
4748
4801
  ),
4749
4802
  size,
@@ -4768,7 +4821,7 @@ var VisibilityTrigger = ({
4768
4821
  }
4769
4822
  );
4770
4823
  };
4771
- var texts17 = createTexts({
4824
+ var texts18 = createTexts({
4772
4825
  showPassword: {
4773
4826
  nb: "Vis",
4774
4827
  nn: "Vis",
@@ -4820,7 +4873,7 @@ var CountryCodeSelect = ({
4820
4873
  positioning: { placement: "bottom", flip: false },
4821
4874
  collection: filteredCallingCodes,
4822
4875
  lazyMount: true,
4823
- "aria-label": t(texts18.countryCode),
4876
+ "aria-label": t(texts19.countryCode),
4824
4877
  sideRadiusVariant: "rightSideSquare",
4825
4878
  size: props.size,
4826
4879
  role: "combobox",
@@ -4828,7 +4881,7 @@ var CountryCodeSelect = ({
4828
4881
  }
4829
4882
  );
4830
4883
  };
4831
- var texts18 = createTexts({
4884
+ var texts19 = createTexts({
4832
4885
  countryCode: {
4833
4886
  nb: "Landkode",
4834
4887
  nn: "Landskode",
@@ -4852,7 +4905,7 @@ var PhoneNumberInput = ({
4852
4905
  size = "md"
4853
4906
  } = props;
4854
4907
  const { t } = useTranslation();
4855
- const label = externalLabel ?? (optional ? t(texts19.phoneNumberOptional) : t(texts19.phoneNumber));
4908
+ const label = externalLabel ?? (optional ? t(texts20.phoneNumberOptional) : t(texts20.phoneNumber));
4856
4909
  const [value, onChange] = useControllableState({
4857
4910
  value: externalValue,
4858
4911
  onChange: externalOnChange,
@@ -4908,7 +4961,7 @@ var PhoneNumberInput = ({
4908
4961
  )
4909
4962
  ] });
4910
4963
  };
4911
- var texts19 = createTexts({
4964
+ var texts20 = createTexts({
4912
4965
  phoneNumber: {
4913
4966
  nb: "Telefonnummer",
4914
4967
  nn: "Telefonnummer",
@@ -4961,16 +5014,16 @@ var SearchInput = ({
4961
5014
  variant: "ghost",
4962
5015
  type: "button",
4963
5016
  size: "sm",
4964
- "aria-label": t(texts20.reset),
5017
+ "aria-label": t(texts21.reset),
4965
5018
  icon: size == "md" ? /* @__PURE__ */ jsx(CloseOutline24Icon, {}) : /* @__PURE__ */ jsx(CloseOutline18Icon, {}),
4966
5019
  onClick: onReset
4967
5020
  }
4968
5021
  ),
4969
- label: label ?? t(texts20.label)
5022
+ label: label ?? t(texts21.label)
4970
5023
  }
4971
5024
  );
4972
5025
  };
4973
- var texts20 = createTexts({
5026
+ var texts21 = createTexts({
4974
5027
  label: {
4975
5028
  nb: "S\xF8k",
4976
5029
  nn: "S\xF8k",
@@ -6024,14 +6077,14 @@ var JumpButton = ({
6024
6077
  as: "button",
6025
6078
  ref,
6026
6079
  css: styles.root,
6027
- "aria-label": direction === "forward" ? t(texts21.forward) : t(texts21.backward),
6080
+ "aria-label": direction === "forward" ? t(texts22.forward) : t(texts22.backward),
6028
6081
  disabled,
6029
6082
  ...props,
6030
6083
  children: direction === "forward" ? /* @__PURE__ */ jsx(Forward15MediaControllerFill30Icon, { css: styles.icon }) : /* @__PURE__ */ jsx(Backward15MediaControllerFill30Icon, { css: styles.icon })
6031
6084
  }
6032
6085
  );
6033
6086
  };
6034
- var texts21 = createTexts({
6087
+ var texts22 = createTexts({
6035
6088
  forward: {
6036
6089
  nb: "15 sekunder frem",
6037
6090
  nn: "15 sekunder fram",
@@ -6059,14 +6112,14 @@ var PlayPauseButton = ({
6059
6112
  ref,
6060
6113
  as: "button",
6061
6114
  css: styles.root,
6062
- "aria-label": playing ? t(texts22.pause) : t(texts22.play),
6115
+ "aria-label": playing ? t(texts23.pause) : t(texts23.play),
6063
6116
  disabled,
6064
6117
  ...props,
6065
6118
  children: playing ? /* @__PURE__ */ jsx(PauseMediaControllerFill24Icon, { css: styles.icon }) : /* @__PURE__ */ jsx(PlayMediaControllerFill24Icon, { css: styles.icon })
6066
6119
  }
6067
6120
  );
6068
6121
  };
6069
- var texts22 = createTexts({
6122
+ var texts23 = createTexts({
6070
6123
  pause: {
6071
6124
  nb: "Pause",
6072
6125
  nn: "Pause",
@@ -6094,14 +6147,14 @@ var SkipButton = ({
6094
6147
  ref,
6095
6148
  as: "button",
6096
6149
  css: styles.root,
6097
- "aria-label": direction === "forward" ? t(texts23.next) : t(texts23.previous),
6150
+ "aria-label": direction === "forward" ? t(texts24.next) : t(texts24.previous),
6098
6151
  disabled,
6099
6152
  ...props,
6100
6153
  children: direction === "forward" ? /* @__PURE__ */ jsx(NextMediaControllerFill30Icon, { css: styles.icon }) : /* @__PURE__ */ jsx(PreviousMediaControllerFill30Icon, { css: styles.icon })
6101
6154
  }
6102
6155
  );
6103
6156
  };
6104
- var texts23 = createTexts({
6157
+ var texts24 = createTexts({
6105
6158
  next: {
6106
6159
  nb: "Neste",
6107
6160
  nn: "Neste",
@@ -6216,7 +6269,7 @@ var NudgeActions = ({ ...props }) => {
6216
6269
  var NextButton = ({ isLastStep, onNext }) => {
6217
6270
  const { t } = useTranslation();
6218
6271
  if (isLastStep)
6219
- return /* @__PURE__ */ jsx(PopoverCloseTrigger, { children: /* @__PURE__ */ jsx(Button, { variant: "tertiary", size: "xs", children: t(texts24.close) }) });
6272
+ return /* @__PURE__ */ jsx(PopoverCloseTrigger, { children: /* @__PURE__ */ jsx(Button, { variant: "tertiary", size: "xs", children: t(texts25.close) }) });
6220
6273
  return /* @__PURE__ */ jsx(
6221
6274
  Button,
6222
6275
  {
@@ -6224,11 +6277,11 @@ var NextButton = ({ isLastStep, onNext }) => {
6224
6277
  size: "xs",
6225
6278
  rightIcon: /* @__PURE__ */ jsx(ArrowRightFill18Icon, {}),
6226
6279
  onClick: onNext,
6227
- children: t(texts24.nextStep)
6280
+ children: t(texts25.nextStep)
6228
6281
  }
6229
6282
  );
6230
6283
  };
6231
- var texts24 = createTexts({
6284
+ var texts25 = createTexts({
6232
6285
  nextStep: {
6233
6286
  nb: "Neste",
6234
6287
  nn: "Neste",
@@ -6304,7 +6357,7 @@ var PaginationItem = ({
6304
6357
  to: rootProps.getHref(props.value)
6305
6358
  },
6306
6359
  ref,
6307
- "aria-label": t(texts25.pageOf(props.value, totalPages)),
6360
+ "aria-label": t(texts26.pageOf(props.value, totalPages)),
6308
6361
  ...props,
6309
6362
  children: props.value
6310
6363
  }
@@ -6315,7 +6368,7 @@ var PaginationItem = ({
6315
6368
  {
6316
6369
  as: props.as ?? "button",
6317
6370
  ref,
6318
- "aria-label": t(texts25.pageOf(props.value, totalPages)),
6371
+ "aria-label": t(texts26.pageOf(props.value, totalPages)),
6319
6372
  "aria-current": page === props.value,
6320
6373
  ...props,
6321
6374
  children: props.value
@@ -6345,7 +6398,7 @@ var PaginationPrevTrigger = ({
6345
6398
  },
6346
6399
  ref,
6347
6400
  css: styles.item,
6348
- "aria-label": t(texts25.previousPage),
6401
+ "aria-label": t(texts26.previousPage),
6349
6402
  ...props,
6350
6403
  children: /* @__PURE__ */ jsx(DropdownLeftOutline18Icon, {})
6351
6404
  }
@@ -6356,7 +6409,7 @@ var PaginationPrevTrigger = ({
6356
6409
  {
6357
6410
  ref,
6358
6411
  asChild: true,
6359
- "aria-label": t(texts25.previousPage),
6412
+ "aria-label": t(texts26.previousPage),
6360
6413
  as: props.as || "button",
6361
6414
  css: styles.item,
6362
6415
  ...props,
@@ -6385,7 +6438,7 @@ var PaginationNextTrigger = ({
6385
6438
  to: rootProps.getHref(props.value)
6386
6439
  },
6387
6440
  css: styles.item,
6388
- "aria-label": t(texts25.nextPage),
6441
+ "aria-label": t(texts26.nextPage),
6389
6442
  ...props,
6390
6443
  children: /* @__PURE__ */ jsx(DropdownRightOutline18Icon, {})
6391
6444
  }
@@ -6396,7 +6449,7 @@ var PaginationNextTrigger = ({
6396
6449
  {
6397
6450
  ref,
6398
6451
  css: styles.item,
6399
- "aria-label": t(texts25.nextPage),
6452
+ "aria-label": t(texts26.nextPage),
6400
6453
  as: props.as || "button",
6401
6454
  ...props,
6402
6455
  children: /* @__PURE__ */ jsx(DropdownRightOutline18Icon, {})
@@ -6423,7 +6476,7 @@ var PaginationItems = (props) => {
6423
6476
  );
6424
6477
  }) });
6425
6478
  };
6426
- var texts25 = createTexts({
6479
+ var texts26 = createTexts({
6427
6480
  previousPage: {
6428
6481
  nb: "Forrige side",
6429
6482
  nn: "F\xF8rre side",
@@ -6523,7 +6576,7 @@ var ProgressIndicator = ({
6523
6576
  "aria-valuemin": 1,
6524
6577
  "aria-valuemax": numberOfSteps,
6525
6578
  "aria-valuenow": activeStep,
6526
- "aria-valuetext": t(texts26.stepsOf(activeStep, numberOfSteps)),
6579
+ "aria-valuetext": t(texts27.stepsOf(activeStep, numberOfSteps)),
6527
6580
  ref,
6528
6581
  children: /* @__PURE__ */ jsx(Box, { css: { ...styles.container, ...css }, children: Array.from({ length: numberOfSteps }, (_, index) => /* @__PURE__ */ jsx(
6529
6582
  Box,
@@ -6542,7 +6595,7 @@ var ProgressIndicator = ({
6542
6595
  }
6543
6596
  );
6544
6597
  };
6545
- var texts26 = createTexts({
6598
+ var texts27 = createTexts({
6546
6599
  stepsOf: (activeStep, numberOfSteps) => ({
6547
6600
  nb: `Steg ${activeStep} av ${numberOfSteps}`,
6548
6601
  nn: `Steg ${activeStep} av ${numberOfSteps}`,
@@ -6738,7 +6791,7 @@ var Stepper = function Stepper2({
6738
6791
  /* @__PURE__ */ jsx(
6739
6792
  IconButton,
6740
6793
  {
6741
- "aria-label": t(texts27.back),
6794
+ "aria-label": t(texts28.back),
6742
6795
  icon: /* @__PURE__ */ jsx(ArrowLeftFill24Icon, {}),
6743
6796
  variant: "ghost",
6744
6797
  size: "sm",
@@ -6762,7 +6815,7 @@ var Stepper = function Stepper2({
6762
6815
  children: heading
6763
6816
  }
6764
6817
  ),
6765
- /* @__PURE__ */ jsx(Box, { css: style.stepCounter, "data-part": "step-counter", children: t(texts27.stepsOf(activeStep, numberOfSteps)) })
6818
+ /* @__PURE__ */ jsx(Box, { css: style.stepCounter, "data-part": "step-counter", children: t(texts28.stepsOf(activeStep, numberOfSteps)) })
6766
6819
  ]
6767
6820
  }
6768
6821
  ) }),
@@ -6781,7 +6834,7 @@ var Stepper = function Stepper2({
6781
6834
  }
6782
6835
  ) });
6783
6836
  };
6784
- var texts27 = createTexts({
6837
+ var texts28 = createTexts({
6785
6838
  stepsOf: (activeStep, numberOfSteps) => ({
6786
6839
  nb: `Steg ${activeStep}/${numberOfSteps}`,
6787
6840
  nn: `Steg ${activeStep}/${numberOfSteps}`,
@@ -7668,7 +7721,9 @@ var textareaRecipe = defineRecipe({
7668
7721
  borderTop: "0.8rem solid transparent",
7669
7722
  "&:focus-visible, &:not(:placeholder-shown)": {
7670
7723
  borderTop: "var(--label-height) solid transparent"
7671
- }
7724
+ },
7725
+ fontSize: "mobile.md",
7726
+ paddingLeft: 3
7672
7727
  },
7673
7728
  variants: {
7674
7729
  variant: {
@@ -8991,7 +9046,8 @@ var datePickerSlotRecipe = defineSlotRecipe({
8991
9046
  outlineColor: "outline.floating",
8992
9047
  boxShadow: "md",
8993
9048
  backgroundColor: "surface.floating",
8994
- minHeight: "min-content"
9049
+ minHeight: "min-content",
9050
+ maxWidth: "100vw"
8995
9051
  },
8996
9052
  rangeCalendarPopover: {
8997
9053
  width: "43rem",