@vygruppen/spor-react 3.3.0 → 3.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -8,8 +8,8 @@ var reactAria = require('react-aria');
8
8
  var sporIconReact = require('@vygruppen/spor-icon-react');
9
9
  var framerMotion = require('framer-motion');
10
10
  var date = require('@internationalized/date');
11
- var tokens10 = require('@vygruppen/spor-design-tokens');
12
11
  var reactStately = require('react-stately');
12
+ var tokens10 = require('@vygruppen/spor-design-tokens');
13
13
  var reactSwipeable = require('react-swipeable');
14
14
  var react$1 = require('@emotion/react');
15
15
  var themeTools = require('@chakra-ui/theme-tools');
@@ -244,8 +244,8 @@ function useTranslation() {
244
244
  };
245
245
  return { t: t2, language };
246
246
  }
247
- function createTexts(texts24) {
248
- return texts24;
247
+ function createTexts(texts25) {
248
+ return texts25;
249
249
  }
250
250
  exports.Language = void 0; var LanguageContext;
251
251
  var init_i18n = __esm({
@@ -2908,7 +2908,14 @@ var init_typography = __esm({
2908
2908
  });
2909
2909
  function CalendarCell({ state: state2, date: date$1, currentMonth }) {
2910
2910
  const ref = React49.useRef(null);
2911
- const { cellProps, buttonProps, isSelected, isDisabled, isUnavailable } = reactAria.useCalendarCell({ date: date$1 }, state2, ref);
2911
+ const {
2912
+ cellProps,
2913
+ buttonProps,
2914
+ isSelected,
2915
+ isDisabled,
2916
+ isUnavailable,
2917
+ isOutsideVisibleRange
2918
+ } = reactAria.useCalendarCell({ date: date$1 }, state2, ref);
2912
2919
  const isOutsideMonth = !date.isSameMonth(currentMonth, date$1);
2913
2920
  const styles2 = react.useMultiStyleConfig("Datepicker", {});
2914
2921
  const stateProps = {};
@@ -2956,6 +2963,7 @@ function CalendarCell({ state: state2, date: date$1, currentMonth }) {
2956
2963
  ...stateProps,
2957
2964
  ref,
2958
2965
  sx: styles2.dateCell,
2966
+ hidden: isOutsideVisibleRange,
2959
2967
  width: "100%"
2960
2968
  },
2961
2969
  date$1.day
@@ -2974,15 +2982,15 @@ var init_utils = __esm({
2974
2982
  const { language } = useTranslation();
2975
2983
  switch (language) {
2976
2984
  case "nb":
2977
- return "no";
2985
+ return "nb-NO";
2978
2986
  case "nn":
2979
- return "no";
2987
+ return "nb-NO";
2980
2988
  case "sv":
2981
- return "sv";
2989
+ return "sv-SE";
2982
2990
  case "en":
2983
2991
  return "en-GB";
2984
2992
  default:
2985
- return "no";
2993
+ return "nb-NO";
2986
2994
  }
2987
2995
  };
2988
2996
  getCurrentTime = () => {
@@ -3188,6 +3196,7 @@ var init_CalendarHeader = __esm({
3188
3196
  }
3189
3197
  });
3190
3198
  function Calendar({ showYearNavigation, ...props }) {
3199
+ const { t: t2 } = useTranslation();
3191
3200
  const locale = useCurrentLocale();
3192
3201
  const state2 = $131cf43a05231e1e$export$6d095e787d2b5e1f({
3193
3202
  ...props,
@@ -3195,39 +3204,50 @@ function Calendar({ showYearNavigation, ...props }) {
3195
3204
  createCalendar: date.createCalendar
3196
3205
  });
3197
3206
  const { calendarProps } = reactAria.useCalendar(props, state2);
3198
- return /* @__PURE__ */ React49__namespace.default.createElement(react.Box, { ...calendarProps }, /* @__PURE__ */ React49__namespace.default.createElement(CalendarHeader, { state: state2, showYearNavigation }), /* @__PURE__ */ React49__namespace.default.createElement(CalendarGrid, { state: state2 }));
3207
+ const calendarAriaLabel = calendarProps["aria-label"];
3208
+ const ariaLabel = t2(texts8.calendar) + (calendarAriaLabel ? ` ${calendarAriaLabel}` : "");
3209
+ return /* @__PURE__ */ React49__namespace.default.createElement(react.Box, { ...calendarProps, "aria-label": ariaLabel }, /* @__PURE__ */ React49__namespace.default.createElement(CalendarHeader, { state: state2, showYearNavigation }), /* @__PURE__ */ React49__namespace.default.createElement(CalendarGrid, { state: state2 }));
3199
3210
  }
3211
+ var texts8;
3200
3212
  var init_Calendar = __esm({
3201
3213
  "src/datepicker/Calendar.tsx"() {
3202
3214
  init_import5();
3203
3215
  init_CalendarGrid();
3204
3216
  init_CalendarHeader();
3205
3217
  init_utils();
3218
+ init_i18n();
3219
+ texts8 = createTexts({
3220
+ calendar: {
3221
+ nb: "Kalender",
3222
+ nn: "Kalender",
3223
+ sv: "Kalender",
3224
+ en: "Calendar"
3225
+ }
3226
+ });
3206
3227
  }
3207
3228
  });
3208
- var CalendarTriggerButton, texts8;
3229
+ var CalendarTriggerButton, texts9;
3209
3230
  var init_CalendarTriggerButton = __esm({
3210
3231
  "src/datepicker/CalendarTriggerButton.tsx"() {
3211
3232
  init_src();
3212
- CalendarTriggerButton = (props) => {
3213
- const { t: t2 } = useTranslation();
3214
- const styles2 = react.useMultiStyleConfig("Datepicker", {});
3215
- const ref = React49.useRef(null);
3216
- const { buttonProps } = reactAria.useButton(props, ref);
3217
- return /* @__PURE__ */ React49__namespace.default.createElement(react.PopoverAnchor, null, /* @__PURE__ */ React49__namespace.default.createElement(
3218
- react.Box,
3219
- {
3220
- ref,
3221
- as: "button",
3222
- type: "button",
3223
- "aria-label": t2(texts8.openCalendar),
3224
- sx: styles2.calendarTriggerButton,
3225
- ...buttonProps
3226
- },
3227
- /* @__PURE__ */ React49__namespace.default.createElement(sporIconReact.CalendarOutline24Icon, null)
3228
- ));
3229
- };
3230
- texts8 = createTexts({
3233
+ CalendarTriggerButton = react.forwardRef(
3234
+ ({ ...buttonProps }, ref) => {
3235
+ const { t: t2 } = useTranslation();
3236
+ const styles2 = react.useMultiStyleConfig("Datepicker", {});
3237
+ return /* @__PURE__ */ React49__namespace.default.createElement(react.PopoverAnchor, null, /* @__PURE__ */ React49__namespace.default.createElement(
3238
+ react.Box,
3239
+ {
3240
+ ref,
3241
+ as: "button",
3242
+ "aria-label": t2(texts9.openCalendar),
3243
+ sx: styles2.calendarTriggerButton,
3244
+ ...buttonProps
3245
+ },
3246
+ /* @__PURE__ */ React49__namespace.default.createElement(sporIconReact.CalendarOutline24Icon, null)
3247
+ ));
3248
+ }
3249
+ );
3250
+ texts9 = createTexts({
3231
3251
  openCalendar: {
3232
3252
  nb: "\xC5pne kalender",
3233
3253
  nn: "\xC5pne kalendar",
@@ -3237,317 +3257,9 @@ var init_CalendarTriggerButton = __esm({
3237
3257
  });
3238
3258
  }
3239
3259
  });
3240
- var borders;
3241
- var init_borders = __esm({
3242
- "src/theme/foundations/borders.ts"() {
3243
- borders = {
3244
- none: "0",
3245
- sm: `${tokens10__namespace.default.size.stroke.sm} solid`,
3246
- "sm-dashed": `${tokens10__namespace.default.size.stroke.sm} dashed`,
3247
- md: `${tokens10__namespace.default.size.stroke.md} solid`,
3248
- "md-dashed": `${tokens10__namespace.default.size.stroke.md} dashed`,
3249
- lg: `${tokens10__namespace.default.size.stroke.lg} solid`,
3250
- "lg-dashed": `${tokens10__namespace.default.size.stroke.lg} dashed`
3251
- };
3252
- }
3253
- });
3254
- var breakpoints;
3255
- var init_breakpoints = __esm({
3256
- "src/theme/foundations/breakpoints.ts"() {
3257
- breakpoints = {
3258
- sm: tokens10__namespace.default.size.breakpoint.sm,
3259
- md: tokens10__namespace.default.size.breakpoint.md,
3260
- lg: tokens10__namespace.default.size.breakpoint.lg,
3261
- xl: tokens10__namespace.default.size.breakpoint.lg,
3262
- "2xl": tokens10__namespace.default.size.breakpoint.lg
3263
- };
3264
- }
3265
- });
3266
- var colors;
3267
- var init_colors = __esm({
3268
- "src/theme/foundations/colors.ts"() {
3269
- colors = {
3270
- ...tokens10__namespace.default.color.alias,
3271
- ...tokens10__namespace.default.color.palette,
3272
- linjetag: tokens10__namespace.default.color.linjetag
3273
- };
3274
- }
3275
- });
3276
-
3277
- // src/theme/foundations/config.ts
3278
- var config;
3279
- var init_config = __esm({
3280
- "src/theme/foundations/config.ts"() {
3281
- config = {
3282
- cssVarPrefix: "spor",
3283
- initialColorMode: "light",
3284
- useSystemColorMode: false
3285
- };
3286
- }
3287
- });
3288
- var fonts;
3289
- var init_fonts = __esm({
3290
- "src/theme/foundations/fonts.ts"() {
3291
- fonts = {
3292
- body: tokens10__namespace.default.font.family.body,
3293
- heading: tokens10__namespace.default.font.family.heading,
3294
- mono: tokens10__namespace.default.font.family.monospace
3295
- };
3296
- }
3297
- });
3298
- var fontSizes;
3299
- var init_fontSizes = __esm({
3300
- "src/theme/foundations/fontSizes.ts"() {
3301
- fontSizes = {
3302
- "2xs": tokens10__namespace.default.size.font.xs.mobile,
3303
- xs: tokens10__namespace.default.size.font.sm.mobile,
3304
- sm: tokens10__namespace.default.size.font.md.mobile,
3305
- md: tokens10__namespace.default.size.font.lg.mobile,
3306
- lg: tokens10__namespace.default.size.font.xl.mobile,
3307
- xl: tokens10__namespace.default.size.font.xxl.mobile,
3308
- "2xl": tokens10__namespace.default.size.font.xl.desktop,
3309
- "3xl": tokens10__namespace.default.size.font.xxl.desktop,
3310
- mobile: {
3311
- xs: tokens10__namespace.default.size.font.xs.mobile,
3312
- sm: tokens10__namespace.default.size.font.sm.mobile,
3313
- md: tokens10__namespace.default.size.font.md.mobile,
3314
- lg: tokens10__namespace.default.size.font.lg.mobile,
3315
- xl: tokens10__namespace.default.size.font.xl.mobile,
3316
- xxl: tokens10__namespace.default.size.font.xxl.mobile
3317
- },
3318
- desktop: {
3319
- xs: tokens10__namespace.default.size.font.xs.desktop,
3320
- sm: tokens10__namespace.default.size.font.sm.desktop,
3321
- md: tokens10__namespace.default.size.font.md.desktop,
3322
- lg: tokens10__namespace.default.size.font.lg.desktop,
3323
- xl: tokens10__namespace.default.size.font.xl.desktop,
3324
- xxl: tokens10__namespace.default.size.font.xxl.desktop
3325
- }
3326
- };
3327
- }
3328
- });
3329
-
3330
- // src/theme/foundations/fontWeights.ts
3331
- var fontWeights;
3332
- var init_fontWeights = __esm({
3333
- "src/theme/foundations/fontWeights.ts"() {
3334
- fontWeights = {
3335
- light: 300,
3336
- medium: 400,
3337
- bold: 700
3338
- };
3339
- }
3340
- });
3341
- var lineHeights;
3342
- var init_lineHeights = __esm({
3343
- "src/theme/foundations/lineHeights.ts"() {
3344
- lineHeights = {
3345
- normal: tokens10__namespace.default.font.style.lg["line-height"]
3346
- };
3347
- }
3348
- });
3349
- var radii;
3350
- var init_radii = __esm({
3351
- "src/theme/foundations/radii.ts"() {
3352
- radii = {
3353
- none: tokens10__namespace.default.size["border-radius"].none,
3354
- xs: tokens10__namespace.default.size["border-radius"].xs,
3355
- sm: tokens10__namespace.default.size["border-radius"].sm,
3356
- md: tokens10__namespace.default.size["border-radius"].md,
3357
- lg: tokens10__namespace.default.size["border-radius"].lg,
3358
- xl: tokens10__namespace.default.size["border-radius"].xl,
3359
- "2xl": tokens10__namespace.default.size["border-radius"]["2xl"],
3360
- round: "50%"
3361
- };
3362
- }
3363
- });
3364
- var shadows;
3365
- var init_shadows = __esm({
3366
- "src/theme/foundations/shadows.ts"() {
3367
- shadows = {
3368
- none: "none",
3369
- sm: tokens10__namespace.default.depth.shadow.sm.value,
3370
- md: tokens10__namespace.default.depth.shadow.md.value,
3371
- lg: tokens10__namespace.default.depth.shadow.lg.value
3372
- };
3373
- }
3374
- });
3375
- var spacing, space;
3376
- var init_spacing = __esm({
3377
- "src/theme/foundations/spacing.ts"() {
3378
- spacing = Object.entries(tokens10__namespace.default.size.spacing).reduce(
3379
- (tokens14, [key, token]) => ({
3380
- ...tokens14,
3381
- [Number(key)]: token
3382
- }),
3383
- {}
3384
- );
3385
- space = spacing;
3386
- }
3387
- });
3388
-
3389
- // src/theme/foundations/sizes.ts
3390
- var largeSizes, container, sizes;
3391
- var init_sizes = __esm({
3392
- "src/theme/foundations/sizes.ts"() {
3393
- init_spacing();
3394
- largeSizes = {
3395
- max: "max-content",
3396
- min: "min-content",
3397
- full: "100%",
3398
- "3xs": "14rem",
3399
- "2xs": "16rem",
3400
- xs: "20rem",
3401
- sm: "24rem",
3402
- md: "28rem",
3403
- lg: "32rem",
3404
- xl: "36rem",
3405
- "2xl": "42rem",
3406
- "3xl": "48rem",
3407
- "4xl": "56rem",
3408
- "5xl": "64rem",
3409
- "6xl": "72rem",
3410
- "7xl": "80rem",
3411
- "8xl": "90rem"
3412
- };
3413
- container = {
3414
- sm: "640px",
3415
- md: "768px",
3416
- lg: "1024px",
3417
- xl: "1280px"
3418
- };
3419
- sizes = {
3420
- ...spacing,
3421
- ...largeSizes,
3422
- container
3423
- };
3424
- }
3425
- });
3426
- var textStyles;
3427
- var init_textStyles = __esm({
3428
- "src/theme/foundations/textStyles.ts"() {
3429
- textStyles = {
3430
- "2xl": {
3431
- fontSize: [
3432
- tokens10__namespace.default.font.style.xxl["font-size"].mobile,
3433
- tokens10__namespace.default.font.style.xxl["font-size"].desktop
3434
- ],
3435
- fontFamily: tokens10__namespace.default.font.style.xxl["font-family"],
3436
- lineHeight: tokens10__namespace.default.font.style.xxl["line-height"]
3437
- },
3438
- "xl-display": {
3439
- fontSize: [
3440
- tokens10__namespace.default.font.style["xl-display"]["font-size"].mobile,
3441
- tokens10__namespace.default.font.style["xl-display"]["font-size"].desktop
3442
- ],
3443
- fontFamily: tokens10__namespace.default.font.style["xl-display"]["font-family"],
3444
- lineHeight: tokens10__namespace.default.font.style["xl-display"]["line-height"]
3445
- },
3446
- "xl-sans": {
3447
- fontSize: [
3448
- tokens10__namespace.default.font.style["xl-sans"]["font-size"].mobile,
3449
- tokens10__namespace.default.font.style["xl-sans"]["font-size"].desktop
3450
- ],
3451
- fontFamily: tokens10__namespace.default.font.style["xl-sans"]["font-family"],
3452
- lineHeight: tokens10__namespace.default.font.style["xl-sans"]["line-height"]
3453
- },
3454
- lg: {
3455
- fontSize: [
3456
- tokens10__namespace.default.font.style.lg["font-size"].mobile,
3457
- tokens10__namespace.default.font.style.lg["font-size"].desktop
3458
- ],
3459
- fontFamily: tokens10__namespace.default.font.style.lg["font-family"],
3460
- lineHeight: tokens10__namespace.default.font.style.lg["line-height"]
3461
- },
3462
- md: {
3463
- fontSize: [
3464
- tokens10__namespace.default.font.style.md["font-size"].mobile,
3465
- tokens10__namespace.default.font.style.md["font-size"].desktop
3466
- ],
3467
- fontFamily: tokens10__namespace.default.font.style.md["font-family"],
3468
- lineHeight: tokens10__namespace.default.font.style.md["line-height"]
3469
- },
3470
- sm: {
3471
- fontSize: [
3472
- tokens10__namespace.default.font.style.sm["font-size"].mobile,
3473
- tokens10__namespace.default.font.style.sm["font-size"].desktop
3474
- ],
3475
- fontFamily: tokens10__namespace.default.font.style.sm["font-family"],
3476
- lineHeight: tokens10__namespace.default.font.style.sm["line-height"]
3477
- },
3478
- xs: {
3479
- fontSize: [
3480
- tokens10__namespace.default.font.style.xs["font-size"].mobile,
3481
- tokens10__namespace.default.font.style.xs["font-size"].desktop
3482
- ],
3483
- fontFamily: tokens10__namespace.default.font.style.xs["font-family"],
3484
- lineHeight: tokens10__namespace.default.font.style.xs["line-height"]
3485
- }
3486
- };
3487
- }
3488
- });
3489
- var zIndices;
3490
- var init_zIndices = __esm({
3491
- "src/theme/foundations/zIndices.ts"() {
3492
- zIndices = {
3493
- hide: tokens10__namespace.default.depth["z-index"].hide,
3494
- auto: "auto",
3495
- base: tokens10__namespace.default.depth["z-index"].base,
3496
- docked: tokens10__namespace.default.depth["z-index"].docked,
3497
- dropdown: tokens10__namespace.default.depth["z-index"].dropdown,
3498
- sticky: tokens10__namespace.default.depth["z-index"].sticky,
3499
- banner: tokens10__namespace.default.depth["z-index"].banner,
3500
- overlay: tokens10__namespace.default.depth["z-index"].overlay,
3501
- modal: tokens10__namespace.default.depth["z-index"].modal,
3502
- popover: tokens10__namespace.default.depth["z-index"].popover,
3503
- skipLink: tokens10__namespace.default.depth["z-index"].skipLink,
3504
- toast: tokens10__namespace.default.depth["z-index"].toast,
3505
- tooltip: tokens10__namespace.default.depth["z-index"].tooltip
3506
- };
3507
- }
3508
- });
3509
-
3510
- // src/theme/foundations/index.ts
3511
- var foundations_exports = {};
3512
- __export(foundations_exports, {
3513
- borders: () => borders,
3514
- breakpoints: () => breakpoints,
3515
- colors: () => colors,
3516
- config: () => config,
3517
- fontSizes: () => fontSizes,
3518
- fontWeights: () => fontWeights,
3519
- fonts: () => fonts,
3520
- lineHeights: () => lineHeights,
3521
- radii: () => radii,
3522
- shadows: () => shadows,
3523
- sizes: () => sizes,
3524
- space: () => space,
3525
- spacing: () => spacing,
3526
- textStyles: () => textStyles,
3527
- zIndices: () => zIndices
3528
- });
3529
- var init_foundations = __esm({
3530
- "src/theme/foundations/index.ts"() {
3531
- init_borders();
3532
- init_breakpoints();
3533
- init_colors();
3534
- init_config();
3535
- init_fonts();
3536
- init_fontSizes();
3537
- init_fontWeights();
3538
- init_lineHeights();
3539
- init_radii();
3540
- init_shadows();
3541
- init_sizes();
3542
- init_spacing();
3543
- init_textStyles();
3544
- init_zIndices();
3545
- }
3546
- });
3547
3260
  var DateTimeSegment, isPaddable;
3548
3261
  var init_DateTimeSegment = __esm({
3549
3262
  "src/datepicker/DateTimeSegment.tsx"() {
3550
- init_foundations();
3551
3263
  DateTimeSegment = React49.forwardRef(
3552
3264
  ({ segment, state: state2 }, externalRef) => {
3553
3265
  const internalRef = React49.useRef(null);
@@ -3569,14 +3281,13 @@ var init_DateTimeSegment = __esm({
3569
3281
  style: {
3570
3282
  ...segmentProps.style,
3571
3283
  fontVariantNumeric: "tabular-nums",
3572
- boxSizing: "content-box",
3573
- color: colors.darkGrey
3284
+ boxSizing: "content-box"
3574
3285
  },
3575
3286
  paddingX: "1px",
3576
3287
  textAlign: "end",
3577
3288
  outline: "none",
3578
3289
  borderRadius: "xs",
3579
- fontSize: "mobile.md",
3290
+ fontSize: ["mobile.sm", "desktop.sm"],
3580
3291
  sx: styles2.dateTimeSegment,
3581
3292
  _focus: {
3582
3293
  backgroundColor: "darkTeal",
@@ -3690,6 +3401,7 @@ var init_DatePicker = __esm({
3690
3401
  errorMessage,
3691
3402
  minHeight,
3692
3403
  showYearNavigation,
3404
+ withPortal = true,
3693
3405
  width = "auto",
3694
3406
  ...props
3695
3407
  }, externalRef) => {
@@ -3716,21 +3428,22 @@ var init_DatePicker = __esm({
3716
3428
  state2,
3717
3429
  ref
3718
3430
  );
3719
- const responsiveVariant = react.useBreakpointValue(typeof variant === "string" ? [variant] : variant) ?? "simple";
3431
+ const styles2 = react.useMultiStyleConfig("Datepicker", {});
3720
3432
  const locale = useCurrentLocale();
3721
- const handleEnterClick = (e) => {
3722
- if (responsiveVariant === "simple" && e.key === "Enter" && !state2.isOpen) {
3723
- e.stopPropagation();
3724
- state2.setOpen(true);
3725
- }
3726
- };
3433
+ const responsiveVariant = react.useBreakpointValue(typeof variant === "string" ? [variant] : variant) ?? "simple";
3434
+ const hasTrigger = responsiveVariant === "with-trigger";
3727
3435
  const onFieldClick = () => {
3728
3436
  if (!hasTrigger) {
3729
3437
  state2.setOpen(true);
3730
3438
  }
3731
3439
  };
3732
- const hasTrigger = responsiveVariant === "with-trigger";
3733
- const styles2 = react.useMultiStyleConfig("Datepicker", {});
3440
+ const popoverContent = /* @__PURE__ */ React49__namespace.default.createElement(react.PopoverContent, { color: "darkGrey", boxShadow: "md", sx: styles2.calendar }, /* @__PURE__ */ React49__namespace.default.createElement(react.PopoverArrow, { sx: styles2.arrow }), /* @__PURE__ */ React49__namespace.default.createElement(react.PopoverBody, null, /* @__PURE__ */ React49__namespace.default.createElement(react.FocusLock, null, /* @__PURE__ */ React49__namespace.default.createElement(
3441
+ Calendar,
3442
+ {
3443
+ ...calendarProps,
3444
+ showYearNavigation
3445
+ }
3446
+ ))));
3734
3447
  return /* @__PURE__ */ React49__namespace.default.createElement(reactAria.I18nProvider, { locale }, /* @__PURE__ */ React49__namespace.default.createElement(
3735
3448
  react.Box,
3736
3449
  {
@@ -3744,18 +3457,14 @@ var init_DatePicker = __esm({
3744
3457
  {
3745
3458
  ...dialogProps,
3746
3459
  isOpen: state2.isOpen,
3747
- onClose: state2.close,
3748
3460
  onOpen: state2.open,
3749
- closeOnBlur: true,
3750
- closeOnEsc: true,
3751
- returnFocusOnClose: true
3461
+ onClose: state2.close
3752
3462
  },
3753
3463
  /* @__PURE__ */ React49__namespace.default.createElement(react.InputGroup, { ...groupProps, display: "inline-flex" }, /* @__PURE__ */ React49__namespace.default.createElement(react.PopoverAnchor, null, /* @__PURE__ */ React49__namespace.default.createElement(
3754
3464
  StyledField,
3755
3465
  {
3756
3466
  variant: responsiveVariant,
3757
3467
  onClick: onFieldClick,
3758
- onKeyPress: handleEnterClick,
3759
3468
  paddingX: 3,
3760
3469
  minHeight
3761
3470
  },
@@ -3766,28 +3475,14 @@ var init_DatePicker = __esm({
3766
3475
  label: props.label,
3767
3476
  labelProps,
3768
3477
  name: props.name,
3769
- ref,
3478
+ ref: hasTrigger ? void 0 : ref,
3770
3479
  ...fieldProps
3771
3480
  }
3772
3481
  )
3773
- )), hasTrigger && /* @__PURE__ */ React49__namespace.default.createElement(CalendarTriggerButton, { ...buttonProps })),
3482
+ )), hasTrigger && /* @__PURE__ */ React49__namespace.default.createElement(react.PopoverTrigger, null, /* @__PURE__ */ React49__namespace.default.createElement(CalendarTriggerButton, { ref, ...buttonProps }))),
3774
3483
  /* @__PURE__ */ React49__namespace.default.createElement(exports.FormErrorMessage, { ...errorMessageProps }, errorMessage),
3775
- state2.isOpen && !props.isDisabled && /* @__PURE__ */ React49__namespace.default.createElement(react.Portal, null, /* @__PURE__ */ React49__namespace.default.createElement(
3776
- react.PopoverContent,
3777
- {
3778
- color: "darkGrey",
3779
- boxShadow: "md",
3780
- sx: styles2.calendar
3781
- },
3782
- /* @__PURE__ */ React49__namespace.default.createElement(react.PopoverArrow, { sx: styles2.arrow }),
3783
- /* @__PURE__ */ React49__namespace.default.createElement(react.PopoverBody, null, /* @__PURE__ */ React49__namespace.default.createElement(
3784
- Calendar,
3785
- {
3786
- ...calendarProps,
3787
- showYearNavigation
3788
- }
3789
- ))
3790
- ))
3484
+ state2.isOpen && !props.isDisabled && withPortal && /* @__PURE__ */ React49__namespace.default.createElement(react.Portal, null, popoverContent),
3485
+ state2.isOpen && !props.isDisabled && !withPortal && popoverContent
3791
3486
  )
3792
3487
  ));
3793
3488
  }
@@ -3819,6 +3514,7 @@ function DateRangePicker({
3819
3514
  minHeight,
3820
3515
  startName,
3821
3516
  endName,
3517
+ withPortal = true,
3822
3518
  ...props
3823
3519
  }) {
3824
3520
  const formControlProps = react.useFormControlContext();
@@ -3855,67 +3551,49 @@ function DateRangePicker({
3855
3551
  }
3856
3552
  };
3857
3553
  const hasTrigger = responsiveVariant === "with-trigger";
3554
+ const popoverContent = /* @__PURE__ */ React49__namespace.default.createElement(react.PopoverContent, { sx: styles2.calendar, boxShadow: "md", maxWidth: "none" }, /* @__PURE__ */ React49__namespace.default.createElement(react.PopoverArrow, { sx: styles2.arrow }), /* @__PURE__ */ React49__namespace.default.createElement(react.PopoverBody, null, /* @__PURE__ */ React49__namespace.default.createElement(react.FocusLock, null, /* @__PURE__ */ React49__namespace.default.createElement(RangeCalendar, { ...calendarProps }))));
3858
3555
  return /* @__PURE__ */ React49__namespace.default.createElement(reactAria.I18nProvider, { locale }, /* @__PURE__ */ React49__namespace.default.createElement(react.Box, { position: "relative", display: "inline-flex", flexDirection: "column" }, props.label && /* @__PURE__ */ React49__namespace.default.createElement(react.FormLabel, { ...labelProps, sx: styles2.inputLabel }, props.label), /* @__PURE__ */ React49__namespace.default.createElement(
3859
3556
  react.Popover,
3860
3557
  {
3861
3558
  ...dialogProps,
3862
3559
  isOpen: state2.isOpen,
3863
- onClose: () => state2.setOpen(false),
3864
- closeOnBlur: true,
3865
- closeOnEsc: true,
3866
- returnFocusOnClose: true
3560
+ onOpen: state2.open,
3561
+ onClose: state2.close
3867
3562
  },
3868
- /* @__PURE__ */ React49__namespace.default.createElement(
3869
- react.InputGroup,
3563
+ /* @__PURE__ */ React49__namespace.default.createElement(react.InputGroup, { ...groupProps, width: "auto", display: "inline-flex" }, /* @__PURE__ */ React49__namespace.default.createElement(react.PopoverAnchor, null, /* @__PURE__ */ React49__namespace.default.createElement(
3564
+ StyledField,
3870
3565
  {
3871
- ...groupProps,
3872
- ref,
3873
- width: "auto",
3874
- display: "inline-flex"
3566
+ alignItems: "center",
3567
+ paddingX: 3,
3568
+ variant: responsiveVariant,
3569
+ onClick: onFieldClick,
3570
+ onKeyPress: handleEnterClick,
3571
+ minHeight
3875
3572
  },
3876
- /* @__PURE__ */ React49__namespace.default.createElement(react.PopoverAnchor, null, /* @__PURE__ */ React49__namespace.default.createElement(
3877
- StyledField,
3573
+ !hasTrigger && /* @__PURE__ */ React49__namespace.default.createElement(sporIconReact.CalendarOutline24Icon, { mr: 2, alignSelf: "center" }),
3574
+ /* @__PURE__ */ React49__namespace.default.createElement(
3575
+ DateField,
3878
3576
  {
3879
- alignItems: "center",
3880
- paddingX: 3,
3881
- variant: responsiveVariant,
3882
- onClick: onFieldClick,
3883
- onKeyPress: handleEnterClick,
3884
- minHeight
3885
- },
3886
- !hasTrigger && /* @__PURE__ */ React49__namespace.default.createElement(sporIconReact.CalendarOutline24Icon, { mr: 2, alignSelf: "center" }),
3887
- /* @__PURE__ */ React49__namespace.default.createElement(
3888
- DateField,
3889
- {
3890
- ...startFieldProps,
3891
- name: startName,
3892
- label: props.startLabel,
3893
- labelProps
3894
- }
3895
- ),
3896
- /* @__PURE__ */ React49__namespace.default.createElement(react.Box, { as: "span", "aria-hidden": "true", px: "2" }, "\u2013"),
3897
- /* @__PURE__ */ React49__namespace.default.createElement(
3898
- DateField,
3899
- {
3900
- ...endFieldProps,
3901
- name: endName,
3902
- label: props.endLabel,
3903
- labelProps
3904
- }
3905
- )
3906
- )),
3907
- hasTrigger && /* @__PURE__ */ React49__namespace.default.createElement(CalendarTriggerButton, { ...buttonProps })
3908
- ),
3909
- state2.isOpen && /* @__PURE__ */ React49__namespace.default.createElement(react.Portal, null, /* @__PURE__ */ React49__namespace.default.createElement(
3910
- react.PopoverContent,
3911
- {
3912
- sx: styles2.calendar,
3913
- boxShadow: "md",
3914
- maxWidth: "none"
3915
- },
3916
- /* @__PURE__ */ React49__namespace.default.createElement(react.PopoverArrow, { sx: styles2.arrow }),
3917
- /* @__PURE__ */ React49__namespace.default.createElement(react.PopoverBody, null, /* @__PURE__ */ React49__namespace.default.createElement(RangeCalendar, { ...calendarProps }))
3918
- ))
3577
+ ...startFieldProps,
3578
+ name: startName,
3579
+ label: props.startLabel,
3580
+ ref: hasTrigger ? void 0 : ref,
3581
+ labelProps
3582
+ }
3583
+ ),
3584
+ /* @__PURE__ */ React49__namespace.default.createElement(react.Box, { as: "span", "aria-hidden": "true", px: "2" }, "\u2013"),
3585
+ /* @__PURE__ */ React49__namespace.default.createElement(
3586
+ DateField,
3587
+ {
3588
+ ...endFieldProps,
3589
+ name: endName,
3590
+ label: props.endLabel,
3591
+ labelProps
3592
+ }
3593
+ )
3594
+ )), hasTrigger && /* @__PURE__ */ React49__namespace.default.createElement(react.PopoverTrigger, null, /* @__PURE__ */ React49__namespace.default.createElement(CalendarTriggerButton, { ref, ...buttonProps }))),
3595
+ state2.isOpen && withPortal && /* @__PURE__ */ React49__namespace.default.createElement(react.Portal, null, popoverContent),
3596
+ state2.isOpen && !withPortal && popoverContent
3919
3597
  )));
3920
3598
  }
3921
3599
  var init_DateRangePicker = __esm({
@@ -3960,7 +3638,7 @@ var init_TimeField = __esm({
3960
3638
  };
3961
3639
  }
3962
3640
  });
3963
- exports.TimePicker = void 0; var texts9;
3641
+ exports.TimePicker = void 0; var texts10;
3964
3642
  var init_TimePicker = __esm({
3965
3643
  "src/datepicker/TimePicker.tsx"() {
3966
3644
  init_src();
@@ -3982,7 +3660,7 @@ var init_TimePicker = __esm({
3982
3660
  const isDisabled = isDisabledExternally ?? isFormControlDisabled ?? false;
3983
3661
  const { t: t2 } = useTranslation();
3984
3662
  const locale = useCurrentLocale();
3985
- const label = externalLabel ?? t2(texts9.time);
3663
+ const label = externalLabel ?? t2(texts10.time);
3986
3664
  const state2 = reactStately.useTimeFieldState({
3987
3665
  value,
3988
3666
  defaultValue,
@@ -4015,15 +3693,15 @@ var init_TimePicker = __esm({
4015
3693
  })
4016
3694
  );
4017
3695
  };
4018
- const backwardsLabel = `${t2(texts9.backwards)} ${minuteInterval} ${t2(
4019
- texts9.minutes
3696
+ const backwardsLabel = `${t2(texts10.backwards)} ${minuteInterval} ${t2(
3697
+ texts10.minutes
4020
3698
  )}`;
4021
- const forwardsLabel = `${t2(texts9.forwards)} ${minuteInterval} ${t2(
4022
- texts9.minutes
3699
+ const forwardsLabel = `${t2(texts10.forwards)} ${minuteInterval} ${t2(
3700
+ texts10.minutes
4023
3701
  )}`;
4024
- const inputLabel = label ?? t2(texts9.time);
3702
+ const inputLabel = label ?? t2(texts10.time);
4025
3703
  const ariaLabel = `${inputLabel} \u2013 ${t2(
4026
- texts9.selectedTimeIs(`${(dateTime == null ? void 0 : dateTime.hour) ?? 0} ${(dateTime == null ? void 0 : dateTime.minute) ?? 0}`)
3704
+ texts10.selectedTimeIs(`${(dateTime == null ? void 0 : dateTime.hour) ?? 0} ${(dateTime == null ? void 0 : dateTime.minute) ?? 0}`)
4027
3705
  )}`;
4028
3706
  return /* @__PURE__ */ React49__namespace.default.createElement(
4029
3707
  StyledField,
@@ -4072,7 +3750,7 @@ var init_TimePicker = __esm({
4072
3750
  )
4073
3751
  );
4074
3752
  };
4075
- texts9 = createTexts({
3753
+ texts10 = createTexts({
4076
3754
  selectedTimeIs: (time) => ({
4077
3755
  nb: `Valgt tidspunkt er ${time}`,
4078
3756
  nn: `Valt tidspunkt er ${time}`,
@@ -5489,7 +5167,7 @@ function InfoSelect({
5489
5167
  "aria-invalid": formControl.isInvalid,
5490
5168
  "aria-describedby": formControl["aria-describedby"]
5491
5169
  },
5492
- /* @__PURE__ */ React49__namespace.default.createElement(react.Box, { ...valueProps }, state2.selectedItem ? state2.selectedItem.textValue ?? state2.selectedItem.rendered : placeholder ?? t2(texts10.selectAnOption)),
5170
+ /* @__PURE__ */ React49__namespace.default.createElement(react.Box, { ...valueProps }, state2.selectedItem ? state2.selectedItem.textValue ?? state2.selectedItem.rendered : placeholder ?? t2(texts11.selectAnOption)),
5493
5171
  /* @__PURE__ */ React49__namespace.default.createElement(react.Box, { sx: styles2.arrowIcon }, state2.isOpen ? /* @__PURE__ */ React49__namespace.default.createElement(sporIconReact.DropdownUpFill24Icon, null) : /* @__PURE__ */ React49__namespace.default.createElement(sporIconReact.DropdownDownFill24Icon, null))
5494
5172
  ), state2.isOpen && /* @__PURE__ */ React49__namespace.default.createElement(Popover3, { state: state2, triggerRef }, /* @__PURE__ */ React49__namespace.default.createElement(
5495
5173
  ListBox,
@@ -5502,13 +5180,13 @@ function InfoSelect({
5502
5180
  props.children
5503
5181
  )));
5504
5182
  }
5505
- var texts10;
5183
+ var texts11;
5506
5184
  var init_InfoSelect = __esm({
5507
5185
  "src/input/InfoSelect.tsx"() {
5508
5186
  init_src();
5509
5187
  init_ListBox();
5510
5188
  init_Popover();
5511
- texts10 = createTexts({
5189
+ texts11 = createTexts({
5512
5190
  selectAnOption: {
5513
5191
  nb: "Velg et alternativ",
5514
5192
  nn: "Velg eit alternativ",
@@ -5573,6 +5251,27 @@ var init_NativeSelect = __esm({
5573
5251
  );
5574
5252
  }
5575
5253
  });
5254
+ var colors;
5255
+ var init_colors = __esm({
5256
+ "src/theme/foundations/colors.ts"() {
5257
+ colors = {
5258
+ ...tokens10__namespace.default.color.alias,
5259
+ ...tokens10__namespace.default.color.palette,
5260
+ linjetag: tokens10__namespace.default.color.linjetag
5261
+ };
5262
+ }
5263
+ });
5264
+ var shadows;
5265
+ var init_shadows = __esm({
5266
+ "src/theme/foundations/shadows.ts"() {
5267
+ shadows = {
5268
+ none: "none",
5269
+ sm: tokens10__namespace.default.depth.shadow.sm.value,
5270
+ md: tokens10__namespace.default.depth.shadow.md.value,
5271
+ lg: tokens10__namespace.default.depth.shadow.lg.value
5272
+ };
5273
+ }
5274
+ });
5576
5275
 
5577
5276
  // src/theme/utils/box-shadow-utils.ts
5578
5277
  var getBoxShadowString;
@@ -5647,7 +5346,7 @@ function NumericStepper({
5647
5346
  VerySmallButton,
5648
5347
  {
5649
5348
  icon: /* @__PURE__ */ React49__namespace.default.createElement(SubtractIcon, { color: "white" }),
5650
- "aria-label": t2(texts11.decrementButtonAriaLabel),
5349
+ "aria-label": t2(texts12.decrementButtonAriaLabel),
5651
5350
  onClick: () => onChange(value - 1),
5652
5351
  visibility: value <= minValue ? "hidden" : "visible",
5653
5352
  isDisabled: formControlProps.disabled
@@ -5721,7 +5420,7 @@ function NumericStepper({
5721
5420
  VerySmallButton,
5722
5421
  {
5723
5422
  icon: /* @__PURE__ */ React49__namespace.default.createElement(AddIcon, { color: "white" }),
5724
- "aria-label": t2(texts11.incrementButtonAriaLabel),
5423
+ "aria-label": t2(texts12.incrementButtonAriaLabel),
5725
5424
  onClick: () => onChange(value + 1),
5726
5425
  visibility: value >= maxValue ? "hidden" : "visible",
5727
5426
  isDisabled: formControlProps.disabled,
@@ -5729,7 +5428,7 @@ function NumericStepper({
5729
5428
  }
5730
5429
  ));
5731
5430
  }
5732
- var VerySmallButton, SubtractIcon, AddIcon, texts11;
5431
+ var VerySmallButton, SubtractIcon, AddIcon, texts12;
5733
5432
  var init_NumericStepper = __esm({
5734
5433
  "src/input/NumericStepper.tsx"() {
5735
5434
  init_src();
@@ -5808,7 +5507,7 @@ var init_NumericStepper = __esm({
5808
5507
  }
5809
5508
  )
5810
5509
  );
5811
- texts11 = createTexts({
5510
+ texts12 = createTexts({
5812
5511
  decrementButtonAriaLabel: {
5813
5512
  nb: "Trekk fra 1",
5814
5513
  en: "Subtract 1",
@@ -5824,7 +5523,7 @@ var init_NumericStepper = __esm({
5824
5523
  });
5825
5524
  }
5826
5525
  });
5827
- exports.PasswordInput = void 0; var texts12;
5526
+ exports.PasswordInput = void 0; var texts13;
5828
5527
  var init_PasswordInput = __esm({
5829
5528
  "src/input/PasswordInput.tsx"() {
5830
5529
  init_input();
@@ -5857,11 +5556,11 @@ var init_PasswordInput = __esm({
5857
5556
  borderRadius: "sm",
5858
5557
  mr: 1
5859
5558
  },
5860
- isShowingPassword ? t2(texts12.hidePassword) : t2(texts12.showPassword)
5559
+ isShowingPassword ? t2(texts13.hidePassword) : t2(texts13.showPassword)
5861
5560
  )));
5862
5561
  }
5863
5562
  );
5864
- texts12 = createTexts({
5563
+ texts13 = createTexts({
5865
5564
  showPassword: {
5866
5565
  nb: "Vis",
5867
5566
  nn: "Vis",
@@ -12371,7 +12070,7 @@ __export(CountryCodeSelect_exports, {
12371
12070
  CountryCodeSelect: () => CountryCodeSelect,
12372
12071
  default: () => CountryCodeSelect_default
12373
12072
  });
12374
- var prioritizedCountryCodes, sortedCallingCodes, callingCodes, CountryCodeSelect, CountryCodeSelect_default, texts13;
12073
+ var prioritizedCountryCodes, sortedCallingCodes, callingCodes, CountryCodeSelect, CountryCodeSelect_default, texts14;
12375
12074
  var init_CountryCodeSelect = __esm({
12376
12075
  "src/input/CountryCodeSelect.tsx"() {
12377
12076
  init_src();
@@ -12393,7 +12092,7 @@ var init_CountryCodeSelect = __esm({
12393
12092
  return /* @__PURE__ */ React49__namespace.default.createElement(
12394
12093
  InfoSelect,
12395
12094
  {
12396
- label: t2(texts13.countryCode),
12095
+ label: t2(texts14.countryCode),
12397
12096
  isLabelSrOnly: true,
12398
12097
  items: callingCodes,
12399
12098
  ...props
@@ -12402,7 +12101,7 @@ var init_CountryCodeSelect = __esm({
12402
12101
  );
12403
12102
  };
12404
12103
  CountryCodeSelect_default = CountryCodeSelect;
12405
- texts13 = createTexts({
12104
+ texts14 = createTexts({
12406
12105
  countryCode: {
12407
12106
  nb: "Landkode",
12408
12107
  nn: "Landskode",
@@ -12412,7 +12111,7 @@ var init_CountryCodeSelect = __esm({
12412
12111
  });
12413
12112
  }
12414
12113
  });
12415
- exports.PhoneNumberInput = void 0; var texts14, LazyCountryCodeSelect;
12114
+ exports.PhoneNumberInput = void 0; var texts15, LazyCountryCodeSelect;
12416
12115
  var init_PhoneNumberInput = __esm({
12417
12116
  "src/input/PhoneNumberInput.tsx"() {
12418
12117
  init_src();
@@ -12461,7 +12160,7 @@ var init_PhoneNumberInput = __esm({
12461
12160
  {
12462
12161
  ref,
12463
12162
  type: "tel",
12464
- label: t2(texts14.phoneNumber),
12163
+ label: t2(texts15.phoneNumber),
12465
12164
  value: value.nationalNumber,
12466
12165
  name: name ? `${name}-phone-number` : "phone-number",
12467
12166
  onChange: (e) => {
@@ -12477,7 +12176,7 @@ var init_PhoneNumberInput = __esm({
12477
12176
  ));
12478
12177
  }
12479
12178
  );
12480
- texts14 = createTexts({
12179
+ texts15 = createTexts({
12481
12180
  phoneNumber: {
12482
12181
  nb: "Telefonnummer",
12483
12182
  nn: "Telefonnummer",
@@ -12506,7 +12205,7 @@ var init_RadioGroup = __esm({
12506
12205
  );
12507
12206
  }
12508
12207
  });
12509
- exports.SearchInput = void 0; var texts15;
12208
+ exports.SearchInput = void 0; var texts16;
12510
12209
  var init_SearchInput = __esm({
12511
12210
  "src/input/SearchInput.tsx"() {
12512
12211
  init_input();
@@ -12535,21 +12234,21 @@ var init_SearchInput = __esm({
12535
12234
  placeholder: " ",
12536
12235
  "data-attachable": true
12537
12236
  }
12538
- ), /* @__PURE__ */ React49__namespace.default.createElement(exports.FormLabel, { htmlFor: inputId, pointerEvents: "none" }, label ?? t2(texts15.label)), showClearButton && /* @__PURE__ */ React49__namespace.default.createElement(exports.InputRightElement, { width: "fit-content" }, /* @__PURE__ */ React49__namespace.default.createElement(
12237
+ ), /* @__PURE__ */ React49__namespace.default.createElement(exports.FormLabel, { htmlFor: inputId, pointerEvents: "none" }, label ?? t2(texts16.label)), showClearButton && /* @__PURE__ */ React49__namespace.default.createElement(exports.InputRightElement, { width: "fit-content" }, /* @__PURE__ */ React49__namespace.default.createElement(
12539
12238
  react.IconButton,
12540
12239
  {
12541
12240
  variant: "ghost",
12542
12241
  type: "button",
12543
12242
  size: "sm",
12544
12243
  mr: 1,
12545
- "aria-label": t2(texts15.reset),
12244
+ "aria-label": t2(texts16.reset),
12546
12245
  icon: /* @__PURE__ */ React49__namespace.default.createElement(sporIconReact.CloseOutline24Icon, null),
12547
12246
  onClick: onReset
12548
12247
  }
12549
12248
  )));
12550
12249
  }
12551
12250
  );
12552
- texts15 = createTexts({
12251
+ texts16 = createTexts({
12553
12252
  label: {
12554
12253
  nb: "S\xF8k",
12555
12254
  nn: "S\xF8k",
@@ -12809,7 +12508,7 @@ var init_linjetag = __esm({
12809
12508
  init_TravelTag();
12810
12509
  }
12811
12510
  });
12812
- exports.TextLink = void 0; var texts16;
12511
+ exports.TextLink = void 0; var texts17;
12813
12512
  var init_TextLink = __esm({
12814
12513
  "src/link/TextLink.tsx"() {
12815
12514
  init_src();
@@ -12822,12 +12521,12 @@ var init_TextLink = __esm({
12822
12521
  sporIconReact.LinkOutOutline24Icon,
12823
12522
  {
12824
12523
  marginLeft: 0.5,
12825
- "aria-label": t2(texts16.externalLink)
12524
+ "aria-label": t2(texts17.externalLink)
12826
12525
  }
12827
12526
  ));
12828
12527
  }
12829
12528
  );
12830
- texts16 = createTexts({
12529
+ texts17 = createTexts({
12831
12530
  externalLink: {
12832
12531
  nb: "Ekstern lenke",
12833
12532
  nn: "Ekstern lenke",
@@ -13037,7 +12736,7 @@ var init_icons2 = __esm({
13037
12736
  ));
13038
12737
  }
13039
12738
  });
13040
- exports.JumpButton = void 0; var texts17;
12739
+ exports.JumpButton = void 0; var texts18;
13041
12740
  var init_JumpButton = __esm({
13042
12741
  "src/media-controller/JumpButton.tsx"() {
13043
12742
  init_src();
@@ -13058,14 +12757,14 @@ var init_JumpButton = __esm({
13058
12757
  {
13059
12758
  as: "button",
13060
12759
  sx: styles2.container,
13061
- "aria-label": direction2 === "forward" ? t2(texts17.forward) : t2(texts17.backward),
12760
+ "aria-label": direction2 === "forward" ? t2(texts18.forward) : t2(texts18.backward),
13062
12761
  disabled: isDisabled,
13063
12762
  ...props
13064
12763
  },
13065
12764
  direction2 === "forward" ? /* @__PURE__ */ React49__namespace.default.createElement(JumpForwardIcon, { sx: styles2.icon }) : /* @__PURE__ */ React49__namespace.default.createElement(JumpBackwardIcon, { sx: styles2.icon })
13066
12765
  );
13067
12766
  };
13068
- texts17 = createTexts({
12767
+ texts18 = createTexts({
13069
12768
  forward: {
13070
12769
  nb: "15 sekunder frem",
13071
12770
  nn: "15 sekunder fram",
@@ -13081,7 +12780,7 @@ var init_JumpButton = __esm({
13081
12780
  });
13082
12781
  }
13083
12782
  });
13084
- exports.PlayPauseButton = void 0; var texts18;
12783
+ exports.PlayPauseButton = void 0; var texts19;
13085
12784
  var init_PlayPauseButton = __esm({
13086
12785
  "src/media-controller/PlayPauseButton.tsx"() {
13087
12786
  init_src();
@@ -13102,14 +12801,14 @@ var init_PlayPauseButton = __esm({
13102
12801
  {
13103
12802
  as: "button",
13104
12803
  sx: styles2.container,
13105
- "aria-label": isPlaying ? t2(texts18.pause) : t2(texts18.play),
12804
+ "aria-label": isPlaying ? t2(texts19.pause) : t2(texts19.play),
13106
12805
  disabled: isDisabled,
13107
12806
  ...props
13108
12807
  },
13109
12808
  isPlaying ? /* @__PURE__ */ React49__namespace.default.createElement(PauseIcon, { sx: styles2.icon }) : /* @__PURE__ */ React49__namespace.default.createElement(PlayIcon, { sx: styles2.icon })
13110
12809
  );
13111
12810
  };
13112
- texts18 = createTexts({
12811
+ texts19 = createTexts({
13113
12812
  pause: {
13114
12813
  nb: "Pause",
13115
12814
  nn: "Pause",
@@ -13125,7 +12824,7 @@ var init_PlayPauseButton = __esm({
13125
12824
  });
13126
12825
  }
13127
12826
  });
13128
- exports.SkipButton = void 0; var texts19;
12827
+ exports.SkipButton = void 0; var texts20;
13129
12828
  var init_SkipButton = __esm({
13130
12829
  "src/media-controller/SkipButton.tsx"() {
13131
12830
  init_src();
@@ -13146,14 +12845,14 @@ var init_SkipButton = __esm({
13146
12845
  {
13147
12846
  as: "button",
13148
12847
  sx: styles2.container,
13149
- "aria-label": direction2 === "forward" ? t2(texts19.next) : t2(texts19.previous),
12848
+ "aria-label": direction2 === "forward" ? t2(texts20.next) : t2(texts20.previous),
13150
12849
  disabled: isDisabled,
13151
12850
  ...props
13152
12851
  },
13153
12852
  direction2 === "forward" ? /* @__PURE__ */ React49__namespace.default.createElement(SkipNextIcon, { sx: styles2.icon }) : /* @__PURE__ */ React49__namespace.default.createElement(SkipPreviousIcon, { sx: styles2.icon })
13154
12853
  );
13155
12854
  };
13156
- texts19 = createTexts({
12855
+ texts20 = createTexts({
13157
12856
  next: {
13158
12857
  nb: "Neste",
13159
12858
  nn: "Neste",
@@ -13295,7 +12994,7 @@ var init_modal = __esm({
13295
12994
  init_SimpleDrawer();
13296
12995
  }
13297
12996
  });
13298
- exports.PopoverWizardBody = void 0; var StepIndicator, createRange, NextStepButton, texts20;
12997
+ exports.PopoverWizardBody = void 0; var StepIndicator, createRange, NextStepButton, texts21;
13299
12998
  var init_PopoverWizardBody = __esm({
13300
12999
  "src/popover/PopoverWizardBody.tsx"() {
13301
13000
  init_src();
@@ -13347,10 +13046,10 @@ var init_PopoverWizardBody = __esm({
13347
13046
  leftIcon: isLastStep ? void 0 : /* @__PURE__ */ React49__namespace.createElement(sporIconReact.ArrowRightFill18Icon, null),
13348
13047
  onClick: isLastStep ? onClose : onNext
13349
13048
  },
13350
- t2(isLastStep ? texts20.finish : texts20.nextStep)
13049
+ t2(isLastStep ? texts21.finish : texts21.nextStep)
13351
13050
  );
13352
13051
  };
13353
- texts20 = createTexts({
13052
+ texts21 = createTexts({
13354
13053
  nextStep: {
13355
13054
  nb: "Neste",
13356
13055
  nn: "Neste",
@@ -13479,7 +13178,7 @@ var init_StepperContext = __esm({
13479
13178
  };
13480
13179
  }
13481
13180
  });
13482
- exports.Stepper = void 0; var texts21;
13181
+ exports.Stepper = void 0; var texts22;
13483
13182
  var init_Stepper = __esm({
13484
13183
  "src/stepper/Stepper.tsx"() {
13485
13184
  init_stepper();
@@ -13508,7 +13207,7 @@ var init_Stepper = __esm({
13508
13207
  /* @__PURE__ */ React49__namespace.default.createElement(react.Box, { __css: style.container }, /* @__PURE__ */ React49__namespace.default.createElement(react.Box, { __css: style.innerContainer }, /* @__PURE__ */ React49__namespace.default.createElement(react.HStack, null, activeStep > 1 && /* @__PURE__ */ React49__namespace.default.createElement(
13509
13208
  exports.IconButton,
13510
13209
  {
13511
- "aria-label": t2(texts21.back),
13210
+ "aria-label": t2(texts22.back),
13512
13211
  icon: /* @__PURE__ */ React49__namespace.default.createElement(sporIconReact.DropdownLeftFill24Icon, null),
13513
13212
  variant: "ghost",
13514
13213
  size: "sm",
@@ -13518,14 +13217,14 @@ var init_Stepper = __esm({
13518
13217
  ), /* @__PURE__ */ React49__namespace.default.createElement(
13519
13218
  exports.SimplePopover,
13520
13219
  {
13521
- triggerElement: /* @__PURE__ */ React49__namespace.default.createElement(react.Box, { as: "button", __css: style.stepCounter }, t2(texts21.stepsOf(activeStep, numberOfSteps))),
13220
+ triggerElement: /* @__PURE__ */ React49__namespace.default.createElement(react.Box, { as: "button", __css: style.stepCounter }, t2(texts22.stepsOf(activeStep, numberOfSteps))),
13522
13221
  borderRadius: "xs"
13523
13222
  },
13524
13223
  steps.map((step, index2) => /* @__PURE__ */ React49__namespace.default.createElement(exports.StepperStep, { key: step, stepNumber: index2 + 1 }, step))
13525
13224
  )), title && /* @__PURE__ */ React49__namespace.default.createElement(react.Box, { as: "h3", __css: style.title }, title)), /* @__PURE__ */ React49__namespace.default.createElement(react.Flex, { justifyContent: "center", display: ["none", "flex"] }, steps.map((step, index2) => /* @__PURE__ */ React49__namespace.default.createElement(exports.StepperStep, { key: index2, stepNumber: index2 + 1 }, step))))
13526
13225
  ));
13527
13226
  };
13528
- texts21 = createTexts({
13227
+ texts22 = createTexts({
13529
13228
  stepsOf: (activeStep, numberOfSteps) => ({
13530
13229
  nb: `Steg ${activeStep} av ${numberOfSteps}`,
13531
13230
  nn: `Steg ${activeStep} av ${numberOfSteps}`,
@@ -13677,11 +13376,11 @@ var init_chunk_RXCYWA6Q = __esm({
13677
13376
  });
13678
13377
 
13679
13378
  // ../../node_modules/@chakra-ui/theme/dist/chunk-5QZEG2IM.mjs
13680
- var zIndices2, z_index_default;
13379
+ var zIndices, z_index_default;
13681
13380
  var init_chunk_5QZEG2IM = __esm({
13682
13381
  "../../node_modules/@chakra-ui/theme/dist/chunk-5QZEG2IM.mjs"() {
13683
13382
  "use client";
13684
- zIndices2 = {
13383
+ zIndices = {
13685
13384
  hide: -1,
13686
13385
  auto: "auto",
13687
13386
  base: 0,
@@ -13696,32 +13395,32 @@ var init_chunk_5QZEG2IM = __esm({
13696
13395
  toast: 1700,
13697
13396
  tooltip: 1800
13698
13397
  };
13699
- z_index_default = zIndices2;
13398
+ z_index_default = zIndices;
13700
13399
  }
13701
13400
  });
13702
13401
 
13703
13402
  // ../../node_modules/@chakra-ui/theme/dist/chunk-PE5G6LAZ.mjs
13704
- var borders2, borders_default;
13403
+ var borders, borders_default;
13705
13404
  var init_chunk_PE5G6LAZ = __esm({
13706
13405
  "../../node_modules/@chakra-ui/theme/dist/chunk-PE5G6LAZ.mjs"() {
13707
13406
  "use client";
13708
- borders2 = {
13407
+ borders = {
13709
13408
  none: 0,
13710
13409
  "1px": "1px solid",
13711
13410
  "2px": "2px solid",
13712
13411
  "4px": "4px solid",
13713
13412
  "8px": "8px solid"
13714
13413
  };
13715
- borders_default = borders2;
13414
+ borders_default = borders;
13716
13415
  }
13717
13416
  });
13718
13417
 
13719
13418
  // ../../node_modules/@chakra-ui/theme/dist/chunk-ZCARTYDH.mjs
13720
- var breakpoints2, breakpoints_default;
13419
+ var breakpoints, breakpoints_default;
13721
13420
  var init_chunk_ZCARTYDH = __esm({
13722
13421
  "../../node_modules/@chakra-ui/theme/dist/chunk-ZCARTYDH.mjs"() {
13723
13422
  "use client";
13724
- breakpoints2 = {
13423
+ breakpoints = {
13725
13424
  base: "0em",
13726
13425
  sm: "30em",
13727
13426
  md: "48em",
@@ -13729,7 +13428,7 @@ var init_chunk_ZCARTYDH = __esm({
13729
13428
  xl: "80em",
13730
13429
  "2xl": "96em"
13731
13430
  };
13732
- breakpoints_default = breakpoints2;
13431
+ breakpoints_default = breakpoints;
13733
13432
  }
13734
13433
  });
13735
13434
 
@@ -13965,11 +13664,11 @@ var init_chunk_OFZWI3IK = __esm({
13965
13664
  });
13966
13665
 
13967
13666
  // ../../node_modules/@chakra-ui/theme/dist/chunk-AMMMMB27.mjs
13968
- var radii2, radius_default;
13667
+ var radii, radius_default;
13969
13668
  var init_chunk_AMMMMB27 = __esm({
13970
13669
  "../../node_modules/@chakra-ui/theme/dist/chunk-AMMMMB27.mjs"() {
13971
13670
  "use client";
13972
- radii2 = {
13671
+ radii = {
13973
13672
  none: "0",
13974
13673
  sm: "0.125rem",
13975
13674
  base: "0.25rem",
@@ -13980,7 +13679,7 @@ var init_chunk_AMMMMB27 = __esm({
13980
13679
  "3xl": "1.5rem",
13981
13680
  full: "9999px"
13982
13681
  };
13983
- radius_default = radii2;
13682
+ radius_default = radii;
13984
13683
  }
13985
13684
  });
13986
13685
 
@@ -14095,11 +13794,11 @@ var init_chunk_VW4MZLZF = __esm({
14095
13794
  });
14096
13795
 
14097
13796
  // ../../node_modules/@chakra-ui/theme/dist/chunk-NIUVG5KM.mjs
14098
- var spacing2;
13797
+ var spacing;
14099
13798
  var init_chunk_NIUVG5KM = __esm({
14100
13799
  "../../node_modules/@chakra-ui/theme/dist/chunk-NIUVG5KM.mjs"() {
14101
13800
  "use client";
14102
- spacing2 = {
13801
+ spacing = {
14103
13802
  px: "1px",
14104
13803
  0.5: "0.125rem",
14105
13804
  1: "0.25rem",
@@ -14138,11 +13837,11 @@ var init_chunk_NIUVG5KM = __esm({
14138
13837
  });
14139
13838
 
14140
13839
  // ../../node_modules/@chakra-ui/theme/dist/chunk-QH74K4BV.mjs
14141
- var largeSizes2, container2, sizes2, sizes_default;
13840
+ var largeSizes, container, sizes, sizes_default;
14142
13841
  var init_chunk_QH74K4BV = __esm({
14143
13842
  "../../node_modules/@chakra-ui/theme/dist/chunk-QH74K4BV.mjs"() {
14144
13843
  init_chunk_NIUVG5KM();
14145
- largeSizes2 = {
13844
+ largeSizes = {
14146
13845
  max: "max-content",
14147
13846
  min: "min-content",
14148
13847
  full: "100%",
@@ -14162,18 +13861,18 @@ var init_chunk_QH74K4BV = __esm({
14162
13861
  "8xl": "90rem",
14163
13862
  prose: "60ch"
14164
13863
  };
14165
- container2 = {
13864
+ container = {
14166
13865
  sm: "640px",
14167
13866
  md: "768px",
14168
13867
  lg: "1024px",
14169
13868
  xl: "1280px"
14170
13869
  };
14171
- sizes2 = {
14172
- ...spacing2,
14173
- ...largeSizes2,
14174
- container: container2
13870
+ sizes = {
13871
+ ...spacing,
13872
+ ...largeSizes,
13873
+ container
14175
13874
  };
14176
- sizes_default = sizes2;
13875
+ sizes_default = sizes;
14177
13876
  }
14178
13877
  });
14179
13878
 
@@ -14201,7 +13900,7 @@ var init_chunk_5FMCT5RQ = __esm({
14201
13900
  ...typography_default,
14202
13901
  sizes: sizes_default,
14203
13902
  shadows: shadows_default,
14204
- space: spacing2,
13903
+ space: spacing,
14205
13904
  borders: borders_default,
14206
13905
  transition: transition_default
14207
13906
  };
@@ -14379,7 +14078,7 @@ function createMultiStyleConfigHelpers(parts14) {
14379
14078
  }
14380
14079
  };
14381
14080
  }
14382
- var import_lodash3, isImportant, withoutImportant, tokenToCSSVar, pipe, getRtl, transformTemplate, filterTemplate, backdropFilterTemplate, flexDirectionTemplate, directionMap, valueSet, globalSet, trimSpace, isCSSFunction, gradientTransform, analyzeCSSValue, wrap, transformFunctions, t, background, border, color, effect, filter, flexbox, grid, interactivity, layout, list, memoize, memoizedGet, srOnly, srFocusable, getWithPriority, others, position, ring, space2, textDecoration, transform, transition2, typography2, scroll, toExpression, add, subtract, multiply, divide, negate, calc, state, toGroup, toPeer, merge, pseudoSelectors, pseudoPropNames, systemProps;
14081
+ var import_lodash3, isImportant, withoutImportant, tokenToCSSVar, pipe, getRtl, transformTemplate, filterTemplate, backdropFilterTemplate, flexDirectionTemplate, directionMap, valueSet, globalSet, trimSpace, isCSSFunction, gradientTransform, analyzeCSSValue, wrap, transformFunctions, t, background, border, color, effect, filter, flexbox, grid, interactivity, layout, list, memoize, memoizedGet, srOnly, srFocusable, getWithPriority, others, position, ring, space, textDecoration, transform, transition2, typography2, scroll, toExpression, add, subtract, multiply, divide, negate, calc, state, toGroup, toPeer, merge, pseudoSelectors, pseudoPropNames, systemProps;
14383
14082
  var init_dist3 = __esm({
14384
14083
  "../../node_modules/@chakra-ui/styled-system/dist/index.mjs"() {
14385
14084
  init_dist2();
@@ -15019,7 +14718,7 @@ var init_dist3 = __esm({
15019
14718
  ringOffsetColor: t.colors("--chakra-ring-offset-color"),
15020
14719
  ringInset: t.prop("--chakra-ring-inset")
15021
14720
  };
15022
- space2 = {
14721
+ space = {
15023
14722
  margin: t.spaceT("margin"),
15024
14723
  marginTop: t.spaceT("marginTop"),
15025
14724
  marginBlockStart: t.spaceT("marginBlockStart"),
@@ -15047,29 +14746,29 @@ var init_dist3 = __esm({
15047
14746
  paddingY: t.space(["paddingTop", "paddingBottom"]),
15048
14747
  paddingBlock: t.space("paddingBlock")
15049
14748
  };
15050
- Object.assign(space2, {
15051
- m: space2.margin,
15052
- mt: space2.marginTop,
15053
- mr: space2.marginRight,
15054
- me: space2.marginInlineEnd,
15055
- marginEnd: space2.marginInlineEnd,
15056
- mb: space2.marginBottom,
15057
- ml: space2.marginLeft,
15058
- ms: space2.marginInlineStart,
15059
- marginStart: space2.marginInlineStart,
15060
- mx: space2.marginX,
15061
- my: space2.marginY,
15062
- p: space2.padding,
15063
- pt: space2.paddingTop,
15064
- py: space2.paddingY,
15065
- px: space2.paddingX,
15066
- pb: space2.paddingBottom,
15067
- pl: space2.paddingLeft,
15068
- ps: space2.paddingInlineStart,
15069
- paddingStart: space2.paddingInlineStart,
15070
- pr: space2.paddingRight,
15071
- pe: space2.paddingInlineEnd,
15072
- paddingEnd: space2.paddingInlineEnd
14749
+ Object.assign(space, {
14750
+ m: space.margin,
14751
+ mt: space.marginTop,
14752
+ mr: space.marginRight,
14753
+ me: space.marginInlineEnd,
14754
+ marginEnd: space.marginInlineEnd,
14755
+ mb: space.marginBottom,
14756
+ ml: space.marginLeft,
14757
+ ms: space.marginInlineStart,
14758
+ marginStart: space.marginInlineStart,
14759
+ mx: space.marginX,
14760
+ my: space.marginY,
14761
+ p: space.padding,
14762
+ pt: space.paddingTop,
14763
+ py: space.paddingY,
14764
+ px: space.paddingX,
14765
+ pb: space.paddingBottom,
14766
+ pl: space.paddingLeft,
14767
+ ps: space.paddingInlineStart,
14768
+ paddingStart: space.paddingInlineStart,
14769
+ pr: space.paddingRight,
14770
+ pe: space.paddingInlineEnd,
14771
+ paddingEnd: space.paddingInlineEnd
15073
14772
  });
15074
14773
  textDecoration = {
15075
14774
  textDecorationColor: t.colors("textDecorationColor"),
@@ -15288,7 +14987,7 @@ var init_dist3 = __esm({
15288
14987
  others,
15289
14988
  position,
15290
14989
  effect,
15291
- space2,
14990
+ space,
15292
14991
  scroll,
15293
14992
  typography2,
15294
14993
  textDecoration,
@@ -15296,7 +14995,7 @@ var init_dist3 = __esm({
15296
14995
  list,
15297
14996
  transition2
15298
14997
  );
15299
- Object.assign({}, space2, layout, flexbox, grid, position);
14998
+ Object.assign({}, space, layout, flexbox, grid, position);
15300
14999
  [...Object.keys(systemProps), ...pseudoPropNames];
15301
15000
  ({ ...systemProps, ...pseudoSelectors });
15302
15001
  }
@@ -15633,7 +15332,7 @@ var init_dist4 = __esm({
15633
15332
  init_chunk_7LPD4XZ3();
15634
15333
  }
15635
15334
  });
15636
- var defineMultiStyleConfig2, definePartsStyle2, $width, $height, $diff, diffValue, $translateX, $bg, baseStyleTrack, baseStyleThumb, baseStyle2, sizes3, switchTheme;
15335
+ var defineMultiStyleConfig2, definePartsStyle2, $width, $height, $diff, diffValue, $translateX, $bg, baseStyleTrack, baseStyleThumb, baseStyle2, sizes2, switchTheme;
15637
15336
  var init_chunk_XRIBTYHG = __esm({
15638
15337
  "../../node_modules/@chakra-ui/theme/dist/chunk-XRIBTYHG.mjs"() {
15639
15338
  init_dist4();
@@ -15696,7 +15395,7 @@ var init_chunk_XRIBTYHG = __esm({
15696
15395
  track: baseStyleTrack(props),
15697
15396
  thumb: baseStyleThumb
15698
15397
  }));
15699
- sizes3 = {
15398
+ sizes2 = {
15700
15399
  sm: definePartsStyle2({
15701
15400
  container: {
15702
15401
  [$width.variable]: "1.375rem",
@@ -15718,7 +15417,7 @@ var init_chunk_XRIBTYHG = __esm({
15718
15417
  };
15719
15418
  switchTheme = defineMultiStyleConfig2({
15720
15419
  baseStyle: baseStyle2,
15721
- sizes: sizes3,
15420
+ sizes: sizes2,
15722
15421
  defaultProps: {
15723
15422
  size: "md",
15724
15423
  colorScheme: "blue"
@@ -15726,7 +15425,7 @@ var init_chunk_XRIBTYHG = __esm({
15726
15425
  });
15727
15426
  }
15728
15427
  });
15729
- var defineMultiStyleConfig3, definePartsStyle3, baseStyle3, numericStyles, variantSimple, variantStripe, variants, sizes4, tableTheme;
15428
+ var defineMultiStyleConfig3, definePartsStyle3, baseStyle3, numericStyles, variantSimple, variantStripe, variants, sizes3, tableTheme;
15730
15429
  var init_chunk_FI633VWD = __esm({
15731
15430
  "../../node_modules/@chakra-ui/theme/dist/chunk-FI633VWD.mjs"() {
15732
15431
  init_dist4();
@@ -15830,7 +15529,7 @@ var init_chunk_FI633VWD = __esm({
15830
15529
  striped: variantStripe,
15831
15530
  unstyled: defineStyle({})
15832
15531
  };
15833
- sizes4 = {
15532
+ sizes3 = {
15834
15533
  sm: definePartsStyle3({
15835
15534
  th: {
15836
15535
  px: "4",
@@ -15890,7 +15589,7 @@ var init_chunk_FI633VWD = __esm({
15890
15589
  tableTheme = defineMultiStyleConfig3({
15891
15590
  baseStyle: baseStyle3,
15892
15591
  variants,
15893
- sizes: sizes4,
15592
+ sizes: sizes3,
15894
15593
  defaultProps: {
15895
15594
  variant: "simple",
15896
15595
  size: "md",
@@ -15899,7 +15598,7 @@ var init_chunk_FI633VWD = __esm({
15899
15598
  });
15900
15599
  }
15901
15600
  });
15902
- var $fg, $bg2, $border, defineMultiStyleConfig4, definePartsStyle4, baseStyleRoot, baseStyleTab, baseStyleTablist, baseStyleTabpanel, baseStyle4, sizes5, variantLine, variantEnclosed, variantEnclosedColored, variantSoftRounded, variantSolidRounded, variantUnstyled, variants2, tabsTheme;
15601
+ var $fg, $bg2, $border, defineMultiStyleConfig4, definePartsStyle4, baseStyleRoot, baseStyleTab, baseStyleTablist, baseStyleTabpanel, baseStyle4, sizes4, variantLine, variantEnclosed, variantEnclosedColored, variantSoftRounded, variantSolidRounded, variantUnstyled, variants2, tabsTheme;
15903
15602
  var init_chunk_T6EHV47V = __esm({
15904
15603
  "../../node_modules/@chakra-ui/theme/dist/chunk-T6EHV47V.mjs"() {
15905
15604
  init_dist4();
@@ -15951,7 +15650,7 @@ var init_chunk_T6EHV47V = __esm({
15951
15650
  tablist: baseStyleTablist(props),
15952
15651
  tabpanel: baseStyleTabpanel
15953
15652
  }));
15954
- sizes5 = {
15653
+ sizes4 = {
15955
15654
  sm: definePartsStyle4({
15956
15655
  tab: {
15957
15656
  py: 1,
@@ -16120,7 +15819,7 @@ var init_chunk_T6EHV47V = __esm({
16120
15819
  };
16121
15820
  tabsTheme = defineMultiStyleConfig4({
16122
15821
  baseStyle: baseStyle4,
16123
- sizes: sizes5,
15822
+ sizes: sizes4,
16124
15823
  variants: variants2,
16125
15824
  defaultProps: {
16126
15825
  size: "md",
@@ -16197,7 +15896,7 @@ var init_chunk_4FUZMKSO = __esm({
16197
15896
  });
16198
15897
 
16199
15898
  // ../../node_modules/@chakra-ui/theme/dist/chunk-VM3745AK.mjs
16200
- var defineMultiStyleConfig5, definePartsStyle5, $bg3, $color, $shadow, $minH, $minW, $fontSize, $paddingX, baseStyleContainer, baseStyleLabel, baseStyleCloseButton, baseStyle6, sizes6, variants4, tagTheme;
15899
+ var defineMultiStyleConfig5, definePartsStyle5, $bg3, $color, $shadow, $minH, $minW, $fontSize, $paddingX, baseStyleContainer, baseStyleLabel, baseStyleCloseButton, baseStyle6, sizes5, variants4, tagTheme;
16201
15900
  var init_chunk_VM3745AK = __esm({
16202
15901
  "../../node_modules/@chakra-ui/theme/dist/chunk-VM3745AK.mjs"() {
16203
15902
  init_chunk_4FUZMKSO();
@@ -16263,7 +15962,7 @@ var init_chunk_VM3745AK = __esm({
16263
15962
  label: baseStyleLabel,
16264
15963
  closeButton: baseStyleCloseButton
16265
15964
  });
16266
- sizes6 = {
15965
+ sizes5 = {
16267
15966
  sm: definePartsStyle5({
16268
15967
  container: {
16269
15968
  [$minH.variable]: "sizes.5",
@@ -16316,7 +16015,7 @@ var init_chunk_VM3745AK = __esm({
16316
16015
  tagTheme = defineMultiStyleConfig5({
16317
16016
  variants: variants4,
16318
16017
  baseStyle: baseStyle6,
16319
- sizes: sizes6,
16018
+ sizes: sizes5,
16320
16019
  defaultProps: {
16321
16020
  size: "md",
16322
16021
  variant: "subtle",
@@ -16332,7 +16031,7 @@ function getDefaults(props) {
16332
16031
  errorBorderColor: ec || themeTools.mode("red.500", "red.300")(props)
16333
16032
  };
16334
16033
  }
16335
- var definePartsStyle6, defineMultiStyleConfig6, $height2, $fontSize2, $padding, $borderRadius, baseStyle7, size, sizes7, variantOutline2, variantFilled, variantFlushed, variantUnstyled2, variants5, inputTheme;
16034
+ var definePartsStyle6, defineMultiStyleConfig6, $height2, $fontSize2, $padding, $borderRadius, baseStyle7, size, sizes6, variantOutline2, variantFilled, variantFlushed, variantUnstyled2, variants5, inputTheme;
16336
16035
  var init_chunk_FIZIJHUN = __esm({
16337
16036
  "../../node_modules/@chakra-ui/theme/dist/chunk-FIZIJHUN.mjs"() {
16338
16037
  init_dist4();
@@ -16393,7 +16092,7 @@ var init_chunk_FIZIJHUN = __esm({
16393
16092
  [$height2.variable]: "sizes.6"
16394
16093
  })
16395
16094
  };
16396
- sizes7 = {
16095
+ sizes6 = {
16397
16096
  lg: definePartsStyle6({
16398
16097
  field: size.lg,
16399
16098
  group: size.lg
@@ -16525,7 +16224,7 @@ var init_chunk_FIZIJHUN = __esm({
16525
16224
  };
16526
16225
  inputTheme = defineMultiStyleConfig6({
16527
16226
  baseStyle: baseStyle7,
16528
- sizes: sizes7,
16227
+ sizes: sizes6,
16529
16228
  variants: variants5,
16530
16229
  defaultProps: {
16531
16230
  size: "md",
@@ -16536,7 +16235,7 @@ var init_chunk_FIZIJHUN = __esm({
16536
16235
  });
16537
16236
 
16538
16237
  // ../../node_modules/@chakra-ui/theme/dist/chunk-TN6RO673.mjs
16539
- var _a, baseStyle8, _a2, _b, variants6, _a3, _b2, _c, _d, _e, _f, _g, _h, sizes8, textareaTheme;
16238
+ var _a, baseStyle8, _a2, _b, variants6, _a3, _b2, _c, _d, _e, _f, _g, _h, sizes7, textareaTheme;
16540
16239
  var init_chunk_TN6RO673 = __esm({
16541
16240
  "../../node_modules/@chakra-ui/theme/dist/chunk-TN6RO673.mjs"() {
16542
16241
  init_chunk_FIZIJHUN();
@@ -16569,7 +16268,7 @@ var init_chunk_TN6RO673 = __esm({
16569
16268
  ),
16570
16269
  unstyled: (_b = (_a2 = inputTheme.variants) == null ? void 0 : _a2.unstyled.field) != null ? _b : {}
16571
16270
  };
16572
- sizes8 = {
16271
+ sizes7 = {
16573
16272
  xs: (_b2 = (_a3 = inputTheme.sizes) == null ? void 0 : _a3.xs.field) != null ? _b2 : {},
16574
16273
  sm: (_d = (_c = inputTheme.sizes) == null ? void 0 : _c.sm.field) != null ? _d : {},
16575
16274
  md: (_f = (_e = inputTheme.sizes) == null ? void 0 : _e.md.field) != null ? _f : {},
@@ -16577,7 +16276,7 @@ var init_chunk_TN6RO673 = __esm({
16577
16276
  };
16578
16277
  textareaTheme = defineStyleConfig({
16579
16278
  baseStyle: baseStyle8,
16580
- sizes: sizes8,
16279
+ sizes: sizes7,
16581
16280
  variants: variants6,
16582
16281
  defaultProps: {
16583
16282
  size: "md",
@@ -16617,7 +16316,7 @@ var init_chunk_J54NBX2J = __esm({
16617
16316
  });
16618
16317
  }
16619
16318
  });
16620
- var defineMultiStyleConfig7, definePartsStyle7, filledStyle, baseStyleLabel2, baseStyleTrack2, baseStyleFilledTrack, baseStyle10, sizes9, progressTheme;
16319
+ var defineMultiStyleConfig7, definePartsStyle7, filledStyle, baseStyleLabel2, baseStyleTrack2, baseStyleFilledTrack, baseStyle10, sizes8, progressTheme;
16621
16320
  var init_chunk_BA7PF5LB = __esm({
16622
16321
  "../../node_modules/@chakra-ui/theme/dist/chunk-BA7PF5LB.mjs"() {
16623
16322
  init_dist4();
@@ -16665,7 +16364,7 @@ var init_chunk_BA7PF5LB = __esm({
16665
16364
  filledTrack: baseStyleFilledTrack(props),
16666
16365
  track: baseStyleTrack2(props)
16667
16366
  }));
16668
- sizes9 = {
16367
+ sizes8 = {
16669
16368
  xs: definePartsStyle7({
16670
16369
  track: { h: "1" }
16671
16370
  }),
@@ -16680,7 +16379,7 @@ var init_chunk_BA7PF5LB = __esm({
16680
16379
  })
16681
16380
  };
16682
16381
  progressTheme = defineMultiStyleConfig7({
16683
- sizes: sizes9,
16382
+ sizes: sizes8,
16684
16383
  baseStyle: baseStyle10,
16685
16384
  defaultProps: {
16686
16385
  size: "md",
@@ -16701,7 +16400,7 @@ var init_chunk_RQ25AHBB = __esm({
16701
16400
  isFunction = (value) => typeof value === "function";
16702
16401
  }
16703
16402
  });
16704
- var definePartsStyle8, defineMultiStyleConfig8, $size2, baseStyleControl, baseStyleContainer2, baseStyleLabel3, baseStyleIcon, baseStyle11, sizes10, checkboxTheme;
16403
+ var definePartsStyle8, defineMultiStyleConfig8, $size2, baseStyleControl, baseStyleContainer2, baseStyleLabel3, baseStyleIcon, baseStyle11, sizes9, checkboxTheme;
16705
16404
  var init_chunk_Y7UXPTSV = __esm({
16706
16405
  "../../node_modules/@chakra-ui/theme/dist/chunk-Y7UXPTSV.mjs"() {
16707
16406
  init_chunk_RQ25AHBB();
@@ -16768,7 +16467,7 @@ var init_chunk_Y7UXPTSV = __esm({
16768
16467
  control: runIfFn(baseStyleControl, props),
16769
16468
  label: baseStyleLabel3
16770
16469
  }));
16771
- sizes10 = {
16470
+ sizes9 = {
16772
16471
  sm: definePartsStyle8({
16773
16472
  control: { [$size2.variable]: "sizes.3" },
16774
16473
  label: { fontSize: "sm" },
@@ -16787,7 +16486,7 @@ var init_chunk_Y7UXPTSV = __esm({
16787
16486
  };
16788
16487
  checkboxTheme = defineMultiStyleConfig8({
16789
16488
  baseStyle: baseStyle11,
16790
- sizes: sizes10,
16489
+ sizes: sizes9,
16791
16490
  defaultProps: {
16792
16491
  size: "md",
16793
16492
  colorScheme: "blue"
@@ -16797,7 +16496,7 @@ var init_chunk_Y7UXPTSV = __esm({
16797
16496
  });
16798
16497
 
16799
16498
  // ../../node_modules/@chakra-ui/theme/dist/chunk-BJIKSU3K.mjs
16800
- var defineMultiStyleConfig9, definePartsStyle9, baseStyleControl2, baseStyle12, sizes11, radioTheme;
16499
+ var defineMultiStyleConfig9, definePartsStyle9, baseStyleControl2, baseStyle12, sizes10, radioTheme;
16801
16500
  var init_chunk_BJIKSU3K = __esm({
16802
16501
  "../../node_modules/@chakra-ui/theme/dist/chunk-BJIKSU3K.mjs"() {
16803
16502
  init_chunk_Y7UXPTSV();
@@ -16833,7 +16532,7 @@ var init_chunk_BJIKSU3K = __esm({
16833
16532
  control: baseStyleControl2(props)
16834
16533
  };
16835
16534
  });
16836
- sizes11 = {
16535
+ sizes10 = {
16837
16536
  md: definePartsStyle9({
16838
16537
  control: { w: "4", h: "4" },
16839
16538
  label: { fontSize: "md" }
@@ -16849,7 +16548,7 @@ var init_chunk_BJIKSU3K = __esm({
16849
16548
  };
16850
16549
  radioTheme = defineMultiStyleConfig9({
16851
16550
  baseStyle: baseStyle12,
16852
- sizes: sizes11,
16551
+ sizes: sizes10,
16853
16552
  defaultProps: {
16854
16553
  size: "md",
16855
16554
  colorScheme: "blue"
@@ -16859,7 +16558,7 @@ var init_chunk_BJIKSU3K = __esm({
16859
16558
  });
16860
16559
 
16861
16560
  // ../../node_modules/@chakra-ui/theme/dist/chunk-ILLVD2I4.mjs
16862
- var defineMultiStyleConfig10, definePartsStyle10, $bg5, _a4, baseStyleField, baseStyleIcon2, baseStyle13, iconSpacing, _a22, _b3, _c2, _d2, _e2, _f2, _g2, _h2, sizes12, selectTheme;
16561
+ var defineMultiStyleConfig10, definePartsStyle10, $bg5, _a4, baseStyleField, baseStyleIcon2, baseStyle13, iconSpacing, _a22, _b3, _c2, _d2, _e2, _f2, _g2, _h2, sizes11, selectTheme;
16863
16562
  var init_chunk_ILLVD2I4 = __esm({
16864
16563
  "../../node_modules/@chakra-ui/theme/dist/chunk-ILLVD2I4.mjs"() {
16865
16564
  init_chunk_FIZIJHUN();
@@ -16899,7 +16598,7 @@ var init_chunk_ILLVD2I4 = __esm({
16899
16598
  iconSpacing = defineStyle({
16900
16599
  paddingInlineEnd: "8"
16901
16600
  });
16902
- sizes12 = {
16601
+ sizes11 = {
16903
16602
  lg: {
16904
16603
  ...(_a22 = inputTheme.sizes) == null ? void 0 : _a22.lg,
16905
16604
  field: {
@@ -16934,7 +16633,7 @@ var init_chunk_ILLVD2I4 = __esm({
16934
16633
  };
16935
16634
  selectTheme = defineMultiStyleConfig10({
16936
16635
  baseStyle: baseStyle13,
16937
- sizes: sizes12,
16636
+ sizes: sizes11,
16938
16637
  variants: inputTheme.variants,
16939
16638
  defaultProps: inputTheme.defaultProps
16940
16639
  });
@@ -16993,7 +16692,7 @@ var init_chunk_URZN3QPP = __esm({
16993
16692
  });
16994
16693
  }
16995
16694
  });
16996
- var defineMultiStyleConfig11, definePartsStyle11, $thumbSize, $trackSize, $bg7, baseStyleContainer3, baseStyleTrack3, baseStyleThumb2, baseStyleFilledTrack2, baseStyle16, sizeLg, sizeMd, sizeSm, sizes13, sliderTheme;
16695
+ var defineMultiStyleConfig11, definePartsStyle11, $thumbSize, $trackSize, $bg7, baseStyleContainer3, baseStyleTrack3, baseStyleThumb2, baseStyleFilledTrack2, baseStyle16, sizeLg, sizeMd, sizeSm, sizes12, sliderTheme;
16997
16696
  var init_chunk_PUPKOASV = __esm({
16998
16697
  "../../node_modules/@chakra-ui/theme/dist/chunk-PUPKOASV.mjs"() {
16999
16698
  init_dist4();
@@ -17123,14 +16822,14 @@ var init_chunk_PUPKOASV = __esm({
17123
16822
  [$trackSize.variable]: `sizes.0.5`
17124
16823
  }
17125
16824
  });
17126
- sizes13 = {
16825
+ sizes12 = {
17127
16826
  lg: sizeLg,
17128
16827
  md: sizeMd,
17129
16828
  sm: sizeSm
17130
16829
  };
17131
16830
  sliderTheme = defineMultiStyleConfig11({
17132
16831
  baseStyle: baseStyle16,
17133
- sizes: sizes13,
16832
+ sizes: sizes12,
17134
16833
  defaultProps: {
17135
16834
  size: "md",
17136
16835
  colorScheme: "blue"
@@ -17138,7 +16837,7 @@ var init_chunk_PUPKOASV = __esm({
17138
16837
  });
17139
16838
  }
17140
16839
  });
17141
- var $size3, baseStyle17, sizes14, spinnerTheme;
16840
+ var $size3, baseStyle17, sizes13, spinnerTheme;
17142
16841
  var init_chunk_HOBQJOCR = __esm({
17143
16842
  "../../node_modules/@chakra-ui/theme/dist/chunk-HOBQJOCR.mjs"() {
17144
16843
  init_dist3();
@@ -17147,7 +16846,7 @@ var init_chunk_HOBQJOCR = __esm({
17147
16846
  width: [$size3.reference],
17148
16847
  height: [$size3.reference]
17149
16848
  });
17150
- sizes14 = {
16849
+ sizes13 = {
17151
16850
  xs: defineStyle({
17152
16851
  [$size3.variable]: "sizes.3"
17153
16852
  }),
@@ -17166,7 +16865,7 @@ var init_chunk_HOBQJOCR = __esm({
17166
16865
  };
17167
16866
  spinnerTheme = defineStyleConfig({
17168
16867
  baseStyle: baseStyle17,
17169
- sizes: sizes14,
16868
+ sizes: sizes13,
17170
16869
  defaultProps: {
17171
16870
  size: "md"
17172
16871
  }
@@ -17175,7 +16874,7 @@ var init_chunk_HOBQJOCR = __esm({
17175
16874
  });
17176
16875
 
17177
16876
  // ../../node_modules/@chakra-ui/theme/dist/chunk-66QM3UU6.mjs
17178
- var defineMultiStyleConfig12, definePartsStyle12, baseStyleLabel4, baseStyleHelpText, baseStyleNumber, baseStyleIcon3, baseStyle18, sizes15, statTheme;
16877
+ var defineMultiStyleConfig12, definePartsStyle12, baseStyleLabel4, baseStyleHelpText, baseStyleNumber, baseStyleIcon3, baseStyle18, sizes14, statTheme;
17179
16878
  var init_chunk_66QM3UU6 = __esm({
17180
16879
  "../../node_modules/@chakra-ui/theme/dist/chunk-66QM3UU6.mjs"() {
17181
16880
  init_dist4();
@@ -17205,7 +16904,7 @@ var init_chunk_66QM3UU6 = __esm({
17205
16904
  number: baseStyleNumber,
17206
16905
  icon: baseStyleIcon3
17207
16906
  });
17208
- sizes15 = {
16907
+ sizes14 = {
17209
16908
  md: definePartsStyle12({
17210
16909
  label: { fontSize: "sm" },
17211
16910
  helpText: { fontSize: "sm" },
@@ -17214,7 +16913,7 @@ var init_chunk_66QM3UU6 = __esm({
17214
16913
  };
17215
16914
  statTheme = defineMultiStyleConfig12({
17216
16915
  baseStyle: baseStyle18,
17217
- sizes: sizes15,
16916
+ sizes: sizes14,
17218
16917
  defaultProps: {
17219
16918
  size: "md"
17220
16919
  }
@@ -17408,7 +17107,7 @@ function getSize(value) {
17408
17107
  dialog: { maxW: value }
17409
17108
  });
17410
17109
  }
17411
- var defineMultiStyleConfig15, definePartsStyle15, $bg10, $shadow3, baseStyleOverlay, baseStyleDialogContainer, baseStyleDialog, baseStyleHeader, baseStyleCloseButton2, baseStyleBody, baseStyleFooter, baseStyle23, sizes16, modalTheme;
17110
+ var defineMultiStyleConfig15, definePartsStyle15, $bg10, $shadow3, baseStyleOverlay, baseStyleDialogContainer, baseStyleDialog, baseStyleHeader, baseStyleCloseButton2, baseStyleBody, baseStyleFooter, baseStyle23, sizes15, modalTheme;
17412
17111
  var init_chunk_JIVTZ35T = __esm({
17413
17112
  "../../node_modules/@chakra-ui/theme/dist/chunk-JIVTZ35T.mjs"() {
17414
17113
  init_chunk_RQ25AHBB();
@@ -17484,7 +17183,7 @@ var init_chunk_JIVTZ35T = __esm({
17484
17183
  body: runIfFn(baseStyleBody, props),
17485
17184
  footer: baseStyleFooter
17486
17185
  }));
17487
- sizes16 = {
17186
+ sizes15 = {
17488
17187
  xs: getSize("xs"),
17489
17188
  sm: getSize("sm"),
17490
17189
  md: getSize("md"),
@@ -17499,7 +17198,7 @@ var init_chunk_JIVTZ35T = __esm({
17499
17198
  };
17500
17199
  modalTheme = defineMultiStyleConfig15({
17501
17200
  baseStyle: baseStyle23,
17502
- sizes: sizes16,
17201
+ sizes: sizes15,
17503
17202
  defaultProps: { size: "md" }
17504
17203
  });
17505
17204
  }
@@ -17534,7 +17233,7 @@ function getSize2(size2) {
17534
17233
  }
17535
17234
  });
17536
17235
  }
17537
- var defineMultiStyleConfig16, definePartsStyle16, $stepperWidth, $inputPadding, inputPaddingValue, $bg11, $fg3, $border2, baseStyleRoot2, baseStyleField2, baseStyleStepperGroup, baseStyleStepper, baseStyle24, sizes17, numberInputTheme;
17236
+ var defineMultiStyleConfig16, definePartsStyle16, $stepperWidth, $inputPadding, inputPaddingValue, $bg11, $fg3, $border2, baseStyleRoot2, baseStyleField2, baseStyleStepperGroup, baseStyleStepper, baseStyle24, sizes16, numberInputTheme;
17538
17237
  var init_chunk_VEZNC4IQ = __esm({
17539
17238
  "../../node_modules/@chakra-ui/theme/dist/chunk-VEZNC4IQ.mjs"() {
17540
17239
  init_chunk_VW4MZLZF();
@@ -17593,7 +17292,7 @@ var init_chunk_VEZNC4IQ = __esm({
17593
17292
  stepper: baseStyleStepper
17594
17293
  };
17595
17294
  });
17596
- sizes17 = {
17295
+ sizes16 = {
17597
17296
  xs: getSize2("xs"),
17598
17297
  sm: getSize2("sm"),
17599
17298
  md: getSize2("md"),
@@ -17601,7 +17300,7 @@ var init_chunk_VEZNC4IQ = __esm({
17601
17300
  };
17602
17301
  numberInputTheme = defineMultiStyleConfig16({
17603
17302
  baseStyle: baseStyle24,
17604
- sizes: sizes17,
17303
+ sizes: sizes16,
17605
17304
  variants: inputTheme.variants,
17606
17305
  defaultProps: inputTheme.defaultProps
17607
17306
  });
@@ -17609,7 +17308,7 @@ var init_chunk_VEZNC4IQ = __esm({
17609
17308
  });
17610
17309
 
17611
17310
  // ../../node_modules/@chakra-ui/theme/dist/chunk-HFED6QOE.mjs
17612
- var _a5, baseStyle25, sizes18, _a23, _b4, variants7, pinInputTheme;
17311
+ var _a5, baseStyle25, sizes17, _a23, _b4, variants7, pinInputTheme;
17613
17312
  var init_chunk_HFED6QOE = __esm({
17614
17313
  "../../node_modules/@chakra-ui/theme/dist/chunk-HFED6QOE.mjs"() {
17615
17314
  init_chunk_FIZIJHUN();
@@ -17619,7 +17318,7 @@ var init_chunk_HFED6QOE = __esm({
17619
17318
  ...(_a5 = inputTheme.baseStyle) == null ? void 0 : _a5.field,
17620
17319
  textAlign: "center"
17621
17320
  });
17622
- sizes18 = {
17321
+ sizes17 = {
17623
17322
  lg: defineStyle({
17624
17323
  fontSize: "lg",
17625
17324
  w: 12,
@@ -17668,7 +17367,7 @@ var init_chunk_HFED6QOE = __esm({
17668
17367
  };
17669
17368
  pinInputTheme = defineStyleConfig({
17670
17369
  baseStyle: baseStyle25,
17671
- sizes: sizes18,
17370
+ sizes: sizes17,
17672
17371
  variants: variants7,
17673
17372
  defaultProps: inputTheme.defaultProps
17674
17373
  });
@@ -17750,7 +17449,7 @@ function getSize3(value) {
17750
17449
  dialog: { maxW: value }
17751
17450
  });
17752
17451
  }
17753
- var definePartsStyle18, defineMultiStyleConfig18, $bg12, $bs, baseStyleOverlay2, baseStyleDialogContainer2, baseStyleDialog2, baseStyleHeader3, baseStyleCloseButton4, baseStyleBody3, baseStyleFooter3, baseStyle27, sizes19, drawerTheme;
17452
+ var definePartsStyle18, defineMultiStyleConfig18, $bg12, $bs, baseStyleOverlay2, baseStyleDialogContainer2, baseStyleDialog2, baseStyleHeader3, baseStyleCloseButton4, baseStyleBody3, baseStyleFooter3, baseStyle27, sizes18, drawerTheme;
17754
17453
  var init_chunk_5FAATIOO = __esm({
17755
17454
  "../../node_modules/@chakra-ui/theme/dist/chunk-5FAATIOO.mjs"() {
17756
17455
  init_chunk_RQ25AHBB();
@@ -17815,7 +17514,7 @@ var init_chunk_5FAATIOO = __esm({
17815
17514
  body: baseStyleBody3,
17816
17515
  footer: baseStyleFooter3
17817
17516
  }));
17818
- sizes19 = {
17517
+ sizes18 = {
17819
17518
  xs: getSize3("xs"),
17820
17519
  sm: getSize3("md"),
17821
17520
  md: getSize3("lg"),
@@ -17825,7 +17524,7 @@ var init_chunk_5FAATIOO = __esm({
17825
17524
  };
17826
17525
  drawerTheme = defineMultiStyleConfig18({
17827
17526
  baseStyle: baseStyle27,
17828
- sizes: sizes19,
17527
+ sizes: sizes18,
17829
17528
  defaultProps: {
17830
17529
  size: "xs"
17831
17530
  }
@@ -17975,7 +17674,7 @@ var init_chunk_2RLCRBJQ = __esm({
17975
17674
  });
17976
17675
 
17977
17676
  // ../../node_modules/@chakra-ui/theme/dist/chunk-SZS2B4EE.mjs
17978
- var baseStyle32, sizes20, headingTheme;
17677
+ var baseStyle32, sizes19, headingTheme;
17979
17678
  var init_chunk_SZS2B4EE = __esm({
17980
17679
  "../../node_modules/@chakra-ui/theme/dist/chunk-SZS2B4EE.mjs"() {
17981
17680
  init_dist3();
@@ -17983,7 +17682,7 @@ var init_chunk_SZS2B4EE = __esm({
17983
17682
  fontFamily: "heading",
17984
17683
  fontWeight: "bold"
17985
17684
  });
17986
- sizes20 = {
17685
+ sizes19 = {
17987
17686
  "4xl": defineStyle({
17988
17687
  fontSize: ["6xl", null, "7xl"],
17989
17688
  lineHeight: 1
@@ -18019,7 +17718,7 @@ var init_chunk_SZS2B4EE = __esm({
18019
17718
  };
18020
17719
  headingTheme = defineStyleConfig({
18021
17720
  baseStyle: baseStyle32,
18022
- sizes: sizes20,
17721
+ sizes: sizes19,
18023
17722
  defaultProps: {
18024
17723
  size: "xl"
18025
17724
  }
@@ -18061,7 +17760,7 @@ var init_chunk_CHG7JP5U = __esm({
18061
17760
  });
18062
17761
  }
18063
17762
  });
18064
- var baseStyle34, variantGhost, variantOutline3, accessibleColorMap, variantSolid2, variantLink, variantUnstyled3, variants8, sizes21, buttonTheme;
17763
+ var baseStyle34, variantGhost, variantOutline3, accessibleColorMap, variantSolid2, variantLink, variantUnstyled3, variants8, sizes20, buttonTheme;
18065
17764
  var init_chunk_MMPN6JKT = __esm({
18066
17765
  "../../node_modules/@chakra-ui/theme/dist/chunk-MMPN6JKT.mjs"() {
18067
17766
  init_chunk_RQ25AHBB();
@@ -18205,7 +17904,7 @@ var init_chunk_MMPN6JKT = __esm({
18205
17904
  link: variantLink,
18206
17905
  unstyled: variantUnstyled3
18207
17906
  };
18208
- sizes21 = {
17907
+ sizes20 = {
18209
17908
  lg: defineStyle({
18210
17909
  h: "12",
18211
17910
  minW: "12",
@@ -18234,7 +17933,7 @@ var init_chunk_MMPN6JKT = __esm({
18234
17933
  buttonTheme = defineStyleConfig({
18235
17934
  baseStyle: baseStyle34,
18236
17935
  variants: variants8,
18237
- sizes: sizes21,
17936
+ sizes: sizes20,
18238
17937
  defaultProps: {
18239
17938
  variant: "solid",
18240
17939
  size: "md",
@@ -18245,7 +17944,7 @@ var init_chunk_MMPN6JKT = __esm({
18245
17944
  });
18246
17945
 
18247
17946
  // ../../node_modules/@chakra-ui/theme/dist/chunk-N5CTW2M4.mjs
18248
- var definePartsStyle23, defineMultiStyleConfig23, $bg13, $padding2, $shadow4, $radius, $border3, $borderColor, baseStyle35, sizes22, variants9, cardTheme;
17947
+ var definePartsStyle23, defineMultiStyleConfig23, $bg13, $padding2, $shadow4, $radius, $border3, $borderColor, baseStyle35, sizes21, variants9, cardTheme;
18249
17948
  var init_chunk_N5CTW2M4 = __esm({
18250
17949
  "../../node_modules/@chakra-ui/theme/dist/chunk-N5CTW2M4.mjs"() {
18251
17950
  init_dist4();
@@ -18278,7 +17977,7 @@ var init_chunk_N5CTW2M4 = __esm({
18278
17977
  padding: $padding2.reference
18279
17978
  }
18280
17979
  });
18281
- sizes22 = {
17980
+ sizes21 = {
18282
17981
  sm: definePartsStyle23({
18283
17982
  container: {
18284
17983
  [$radius.variable]: "radii.base",
@@ -18333,7 +18032,7 @@ var init_chunk_N5CTW2M4 = __esm({
18333
18032
  cardTheme = defineMultiStyleConfig23({
18334
18033
  baseStyle: baseStyle35,
18335
18034
  variants: variants9,
18336
- sizes: sizes22,
18035
+ sizes: sizes21,
18337
18036
  defaultProps: {
18338
18037
  variant: "elevated",
18339
18038
  size: "md"
@@ -18341,7 +18040,7 @@ var init_chunk_N5CTW2M4 = __esm({
18341
18040
  });
18342
18041
  }
18343
18042
  });
18344
- var $size4, $bg14, baseStyle36, sizes23, closeButtonTheme;
18043
+ var $size4, $bg14, baseStyle36, sizes22, closeButtonTheme;
18345
18044
  var init_chunk_FC2RT2FC = __esm({
18346
18045
  "../../node_modules/@chakra-ui/theme/dist/chunk-FC2RT2FC.mjs"() {
18347
18046
  init_dist3();
@@ -18375,7 +18074,7 @@ var init_chunk_FC2RT2FC = __esm({
18375
18074
  },
18376
18075
  bg: $bg14.reference
18377
18076
  });
18378
- sizes23 = {
18077
+ sizes22 = {
18379
18078
  lg: defineStyle({
18380
18079
  [$size4.variable]: "sizes.10",
18381
18080
  fontSize: "md"
@@ -18391,7 +18090,7 @@ var init_chunk_FC2RT2FC = __esm({
18391
18090
  };
18392
18091
  closeButtonTheme = defineStyleConfig({
18393
18092
  baseStyle: baseStyle36,
18394
- sizes: sizes23,
18093
+ sizes: sizes22,
18395
18094
  defaultProps: {
18396
18095
  size: "md"
18397
18096
  }
@@ -18653,7 +18352,7 @@ function getSize4(size2) {
18653
18352
  }
18654
18353
  });
18655
18354
  }
18656
- var definePartsStyle26, defineMultiStyleConfig26, $border4, $bg16, $fs, $size5, baseStyleBadge, baseStyleExcessLabel, baseStyleContainer5, baseStyleLabel5, baseStyle42, sizes24, avatarTheme;
18355
+ var definePartsStyle26, defineMultiStyleConfig26, $border4, $bg16, $fs, $size5, baseStyleBadge, baseStyleExcessLabel, baseStyleContainer5, baseStyleLabel5, baseStyle42, sizes23, avatarTheme;
18657
18356
  var init_chunk_EYWUA2TC = __esm({
18658
18357
  "../../node_modules/@chakra-ui/theme/dist/chunk-EYWUA2TC.mjs"() {
18659
18358
  init_chunk_QH74K4BV();
@@ -18719,7 +18418,7 @@ var init_chunk_EYWUA2TC = __esm({
18719
18418
  container: runIfFn(baseStyleContainer5, props),
18720
18419
  label: baseStyleLabel5
18721
18420
  }));
18722
- sizes24 = {
18421
+ sizes23 = {
18723
18422
  "2xs": getSize4(4),
18724
18423
  xs: getSize4(6),
18725
18424
  sm: getSize4(8),
@@ -18731,7 +18430,7 @@ var init_chunk_EYWUA2TC = __esm({
18731
18430
  };
18732
18431
  avatarTheme = defineMultiStyleConfig26({
18733
18432
  baseStyle: baseStyle42,
18734
- sizes: sizes24,
18433
+ sizes: sizes23,
18735
18434
  defaultProps: {
18736
18435
  size: "md"
18737
18436
  }
@@ -18831,82 +18530,368 @@ var init_chunk_BVEAU2MF = __esm({
18831
18530
  };
18832
18531
  }
18833
18532
  });
18834
-
18835
- // ../../node_modules/@chakra-ui/theme/dist/chunk-SKQLGI36.mjs
18836
- var semanticTokens;
18837
- var init_chunk_SKQLGI36 = __esm({
18838
- "../../node_modules/@chakra-ui/theme/dist/chunk-SKQLGI36.mjs"() {
18839
- "use client";
18840
- semanticTokens = {
18841
- colors: {
18842
- "chakra-body-text": { _light: "gray.800", _dark: "whiteAlpha.900" },
18843
- "chakra-body-bg": { _light: "white", _dark: "gray.800" },
18844
- "chakra-border-color": { _light: "gray.200", _dark: "whiteAlpha.300" },
18845
- "chakra-inverse-text": { _light: "white", _dark: "gray.800" },
18846
- "chakra-subtle-bg": { _light: "gray.100", _dark: "gray.700" },
18847
- "chakra-subtle-text": { _light: "gray.600", _dark: "gray.400" },
18848
- "chakra-placeholder-color": { _light: "gray.500", _dark: "whiteAlpha.400" }
18849
- }
18533
+
18534
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-SKQLGI36.mjs
18535
+ var semanticTokens;
18536
+ var init_chunk_SKQLGI36 = __esm({
18537
+ "../../node_modules/@chakra-ui/theme/dist/chunk-SKQLGI36.mjs"() {
18538
+ "use client";
18539
+ semanticTokens = {
18540
+ colors: {
18541
+ "chakra-body-text": { _light: "gray.800", _dark: "whiteAlpha.900" },
18542
+ "chakra-body-bg": { _light: "white", _dark: "gray.800" },
18543
+ "chakra-border-color": { _light: "gray.200", _dark: "whiteAlpha.300" },
18544
+ "chakra-inverse-text": { _light: "white", _dark: "gray.800" },
18545
+ "chakra-subtle-bg": { _light: "gray.100", _dark: "gray.700" },
18546
+ "chakra-subtle-text": { _light: "gray.600", _dark: "gray.400" },
18547
+ "chakra-placeholder-color": { _light: "gray.500", _dark: "whiteAlpha.400" }
18548
+ }
18549
+ };
18550
+ }
18551
+ });
18552
+
18553
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-RID7N3YQ.mjs
18554
+ var styles;
18555
+ var init_chunk_RID7N3YQ = __esm({
18556
+ "../../node_modules/@chakra-ui/theme/dist/chunk-RID7N3YQ.mjs"() {
18557
+ "use client";
18558
+ styles = {
18559
+ global: {
18560
+ body: {
18561
+ fontFamily: "body",
18562
+ color: "chakra-body-text",
18563
+ bg: "chakra-body-bg",
18564
+ transitionProperty: "background-color",
18565
+ transitionDuration: "normal",
18566
+ lineHeight: "base"
18567
+ },
18568
+ "*::placeholder": {
18569
+ color: "chakra-placeholder-color"
18570
+ },
18571
+ "*, *::before, &::after": {
18572
+ borderColor: "chakra-border-color"
18573
+ }
18574
+ }
18575
+ };
18576
+ }
18577
+ });
18578
+
18579
+ // ../../node_modules/@chakra-ui/theme/dist/index.mjs
18580
+ var direction, config, theme2;
18581
+ var init_dist5 = __esm({
18582
+ "../../node_modules/@chakra-ui/theme/dist/index.mjs"() {
18583
+ init_chunk_5FMCT5RQ();
18584
+ init_chunk_BVEAU2MF();
18585
+ init_chunk_SKQLGI36();
18586
+ init_chunk_RID7N3YQ();
18587
+ direction = "ltr";
18588
+ config = {
18589
+ useSystemColorMode: false,
18590
+ initialColorMode: "light",
18591
+ cssVarPrefix: "chakra"
18592
+ };
18593
+ theme2 = {
18594
+ semanticTokens,
18595
+ direction,
18596
+ ...foundations,
18597
+ components,
18598
+ styles,
18599
+ config
18600
+ };
18601
+ ({
18602
+ semanticTokens,
18603
+ direction,
18604
+ components: {},
18605
+ ...foundations,
18606
+ styles,
18607
+ config
18608
+ });
18609
+ }
18610
+ });
18611
+ var borders2;
18612
+ var init_borders = __esm({
18613
+ "src/theme/foundations/borders.ts"() {
18614
+ borders2 = {
18615
+ none: "0",
18616
+ sm: `${tokens10__namespace.default.size.stroke.sm} solid`,
18617
+ "sm-dashed": `${tokens10__namespace.default.size.stroke.sm} dashed`,
18618
+ md: `${tokens10__namespace.default.size.stroke.md} solid`,
18619
+ "md-dashed": `${tokens10__namespace.default.size.stroke.md} dashed`,
18620
+ lg: `${tokens10__namespace.default.size.stroke.lg} solid`,
18621
+ "lg-dashed": `${tokens10__namespace.default.size.stroke.lg} dashed`
18622
+ };
18623
+ }
18624
+ });
18625
+ var breakpoints2;
18626
+ var init_breakpoints = __esm({
18627
+ "src/theme/foundations/breakpoints.ts"() {
18628
+ breakpoints2 = {
18629
+ sm: tokens10__namespace.default.size.breakpoint.sm,
18630
+ md: tokens10__namespace.default.size.breakpoint.md,
18631
+ lg: tokens10__namespace.default.size.breakpoint.lg,
18632
+ xl: tokens10__namespace.default.size.breakpoint.lg,
18633
+ "2xl": tokens10__namespace.default.size.breakpoint.lg
18634
+ };
18635
+ }
18636
+ });
18637
+
18638
+ // src/theme/foundations/config.ts
18639
+ var config2;
18640
+ var init_config = __esm({
18641
+ "src/theme/foundations/config.ts"() {
18642
+ config2 = {
18643
+ cssVarPrefix: "spor",
18644
+ initialColorMode: "light",
18645
+ useSystemColorMode: false
18646
+ };
18647
+ }
18648
+ });
18649
+ var fonts;
18650
+ var init_fonts = __esm({
18651
+ "src/theme/foundations/fonts.ts"() {
18652
+ fonts = {
18653
+ body: tokens10__namespace.default.font.family.body,
18654
+ heading: tokens10__namespace.default.font.family.heading,
18655
+ mono: tokens10__namespace.default.font.family.monospace
18656
+ };
18657
+ }
18658
+ });
18659
+ var fontSizes;
18660
+ var init_fontSizes = __esm({
18661
+ "src/theme/foundations/fontSizes.ts"() {
18662
+ fontSizes = {
18663
+ "2xs": tokens10__namespace.default.size.font.xs.mobile,
18664
+ xs: tokens10__namespace.default.size.font.sm.mobile,
18665
+ sm: tokens10__namespace.default.size.font.md.mobile,
18666
+ md: tokens10__namespace.default.size.font.lg.mobile,
18667
+ lg: tokens10__namespace.default.size.font.xl.mobile,
18668
+ xl: tokens10__namespace.default.size.font.xxl.mobile,
18669
+ "2xl": tokens10__namespace.default.size.font.xl.desktop,
18670
+ "3xl": tokens10__namespace.default.size.font.xxl.desktop,
18671
+ mobile: {
18672
+ xs: tokens10__namespace.default.size.font.xs.mobile,
18673
+ sm: tokens10__namespace.default.size.font.sm.mobile,
18674
+ md: tokens10__namespace.default.size.font.md.mobile,
18675
+ lg: tokens10__namespace.default.size.font.lg.mobile,
18676
+ xl: tokens10__namespace.default.size.font.xl.mobile,
18677
+ xxl: tokens10__namespace.default.size.font.xxl.mobile
18678
+ },
18679
+ desktop: {
18680
+ xs: tokens10__namespace.default.size.font.xs.desktop,
18681
+ sm: tokens10__namespace.default.size.font.sm.desktop,
18682
+ md: tokens10__namespace.default.size.font.md.desktop,
18683
+ lg: tokens10__namespace.default.size.font.lg.desktop,
18684
+ xl: tokens10__namespace.default.size.font.xl.desktop,
18685
+ xxl: tokens10__namespace.default.size.font.xxl.desktop
18686
+ }
18687
+ };
18688
+ }
18689
+ });
18690
+
18691
+ // src/theme/foundations/fontWeights.ts
18692
+ var fontWeights;
18693
+ var init_fontWeights = __esm({
18694
+ "src/theme/foundations/fontWeights.ts"() {
18695
+ fontWeights = {
18696
+ light: 300,
18697
+ medium: 400,
18698
+ bold: 700
18699
+ };
18700
+ }
18701
+ });
18702
+ var lineHeights;
18703
+ var init_lineHeights = __esm({
18704
+ "src/theme/foundations/lineHeights.ts"() {
18705
+ lineHeights = {
18706
+ normal: tokens10__namespace.default.font.style.lg["line-height"]
18850
18707
  };
18851
18708
  }
18852
18709
  });
18853
-
18854
- // ../../node_modules/@chakra-ui/theme/dist/chunk-RID7N3YQ.mjs
18855
- var styles;
18856
- var init_chunk_RID7N3YQ = __esm({
18857
- "../../node_modules/@chakra-ui/theme/dist/chunk-RID7N3YQ.mjs"() {
18858
- "use client";
18859
- styles = {
18860
- global: {
18861
- body: {
18862
- fontFamily: "body",
18863
- color: "chakra-body-text",
18864
- bg: "chakra-body-bg",
18865
- transitionProperty: "background-color",
18866
- transitionDuration: "normal",
18867
- lineHeight: "base"
18868
- },
18869
- "*::placeholder": {
18870
- color: "chakra-placeholder-color"
18871
- },
18872
- "*, *::before, &::after": {
18873
- borderColor: "chakra-border-color"
18874
- }
18875
- }
18710
+ var radii2;
18711
+ var init_radii = __esm({
18712
+ "src/theme/foundations/radii.ts"() {
18713
+ radii2 = {
18714
+ none: tokens10__namespace.default.size["border-radius"].none,
18715
+ xs: tokens10__namespace.default.size["border-radius"].xs,
18716
+ sm: tokens10__namespace.default.size["border-radius"].sm,
18717
+ md: tokens10__namespace.default.size["border-radius"].md,
18718
+ lg: tokens10__namespace.default.size["border-radius"].lg,
18719
+ xl: tokens10__namespace.default.size["border-radius"].xl,
18720
+ "2xl": tokens10__namespace.default.size["border-radius"]["2xl"],
18721
+ round: "50%"
18876
18722
  };
18877
18723
  }
18878
18724
  });
18725
+ var spacing2, space2;
18726
+ var init_spacing = __esm({
18727
+ "src/theme/foundations/spacing.ts"() {
18728
+ spacing2 = Object.entries(tokens10__namespace.default.size.spacing).reduce(
18729
+ (tokens14, [key, token]) => ({
18730
+ ...tokens14,
18731
+ [Number(key)]: token
18732
+ }),
18733
+ {}
18734
+ );
18735
+ space2 = spacing2;
18736
+ }
18737
+ });
18879
18738
 
18880
- // ../../node_modules/@chakra-ui/theme/dist/index.mjs
18881
- var direction, config2, theme2;
18882
- var init_dist5 = __esm({
18883
- "../../node_modules/@chakra-ui/theme/dist/index.mjs"() {
18884
- init_chunk_5FMCT5RQ();
18885
- init_chunk_BVEAU2MF();
18886
- init_chunk_SKQLGI36();
18887
- init_chunk_RID7N3YQ();
18888
- direction = "ltr";
18889
- config2 = {
18890
- useSystemColorMode: false,
18891
- initialColorMode: "light",
18892
- cssVarPrefix: "chakra"
18739
+ // src/theme/foundations/sizes.ts
18740
+ var largeSizes2, container2, sizes24;
18741
+ var init_sizes = __esm({
18742
+ "src/theme/foundations/sizes.ts"() {
18743
+ init_spacing();
18744
+ largeSizes2 = {
18745
+ max: "max-content",
18746
+ min: "min-content",
18747
+ full: "100%",
18748
+ "3xs": "14rem",
18749
+ "2xs": "16rem",
18750
+ xs: "20rem",
18751
+ sm: "24rem",
18752
+ md: "28rem",
18753
+ lg: "32rem",
18754
+ xl: "36rem",
18755
+ "2xl": "42rem",
18756
+ "3xl": "48rem",
18757
+ "4xl": "56rem",
18758
+ "5xl": "64rem",
18759
+ "6xl": "72rem",
18760
+ "7xl": "80rem",
18761
+ "8xl": "90rem"
18893
18762
  };
18894
- theme2 = {
18895
- semanticTokens,
18896
- direction,
18897
- ...foundations,
18898
- components,
18899
- styles,
18900
- config: config2
18763
+ container2 = {
18764
+ sm: "640px",
18765
+ md: "768px",
18766
+ lg: "1024px",
18767
+ xl: "1280px"
18901
18768
  };
18902
- ({
18903
- semanticTokens,
18904
- direction,
18905
- components: {},
18906
- ...foundations,
18907
- styles,
18908
- config: config2
18909
- });
18769
+ sizes24 = {
18770
+ ...spacing2,
18771
+ ...largeSizes2,
18772
+ container: container2
18773
+ };
18774
+ }
18775
+ });
18776
+ var textStyles;
18777
+ var init_textStyles = __esm({
18778
+ "src/theme/foundations/textStyles.ts"() {
18779
+ textStyles = {
18780
+ "2xl": {
18781
+ fontSize: [
18782
+ tokens10__namespace.default.font.style.xxl["font-size"].mobile,
18783
+ tokens10__namespace.default.font.style.xxl["font-size"].desktop
18784
+ ],
18785
+ fontFamily: tokens10__namespace.default.font.style.xxl["font-family"],
18786
+ lineHeight: tokens10__namespace.default.font.style.xxl["line-height"]
18787
+ },
18788
+ "xl-display": {
18789
+ fontSize: [
18790
+ tokens10__namespace.default.font.style["xl-display"]["font-size"].mobile,
18791
+ tokens10__namespace.default.font.style["xl-display"]["font-size"].desktop
18792
+ ],
18793
+ fontFamily: tokens10__namespace.default.font.style["xl-display"]["font-family"],
18794
+ lineHeight: tokens10__namespace.default.font.style["xl-display"]["line-height"]
18795
+ },
18796
+ "xl-sans": {
18797
+ fontSize: [
18798
+ tokens10__namespace.default.font.style["xl-sans"]["font-size"].mobile,
18799
+ tokens10__namespace.default.font.style["xl-sans"]["font-size"].desktop
18800
+ ],
18801
+ fontFamily: tokens10__namespace.default.font.style["xl-sans"]["font-family"],
18802
+ lineHeight: tokens10__namespace.default.font.style["xl-sans"]["line-height"]
18803
+ },
18804
+ lg: {
18805
+ fontSize: [
18806
+ tokens10__namespace.default.font.style.lg["font-size"].mobile,
18807
+ tokens10__namespace.default.font.style.lg["font-size"].desktop
18808
+ ],
18809
+ fontFamily: tokens10__namespace.default.font.style.lg["font-family"],
18810
+ lineHeight: tokens10__namespace.default.font.style.lg["line-height"]
18811
+ },
18812
+ md: {
18813
+ fontSize: [
18814
+ tokens10__namespace.default.font.style.md["font-size"].mobile,
18815
+ tokens10__namespace.default.font.style.md["font-size"].desktop
18816
+ ],
18817
+ fontFamily: tokens10__namespace.default.font.style.md["font-family"],
18818
+ lineHeight: tokens10__namespace.default.font.style.md["line-height"]
18819
+ },
18820
+ sm: {
18821
+ fontSize: [
18822
+ tokens10__namespace.default.font.style.sm["font-size"].mobile,
18823
+ tokens10__namespace.default.font.style.sm["font-size"].desktop
18824
+ ],
18825
+ fontFamily: tokens10__namespace.default.font.style.sm["font-family"],
18826
+ lineHeight: tokens10__namespace.default.font.style.sm["line-height"]
18827
+ },
18828
+ xs: {
18829
+ fontSize: [
18830
+ tokens10__namespace.default.font.style.xs["font-size"].mobile,
18831
+ tokens10__namespace.default.font.style.xs["font-size"].desktop
18832
+ ],
18833
+ fontFamily: tokens10__namespace.default.font.style.xs["font-family"],
18834
+ lineHeight: tokens10__namespace.default.font.style.xs["line-height"]
18835
+ }
18836
+ };
18837
+ }
18838
+ });
18839
+ var zIndices2;
18840
+ var init_zIndices = __esm({
18841
+ "src/theme/foundations/zIndices.ts"() {
18842
+ zIndices2 = {
18843
+ hide: tokens10__namespace.default.depth["z-index"].hide,
18844
+ auto: "auto",
18845
+ base: tokens10__namespace.default.depth["z-index"].base,
18846
+ docked: tokens10__namespace.default.depth["z-index"].docked,
18847
+ dropdown: tokens10__namespace.default.depth["z-index"].dropdown,
18848
+ sticky: tokens10__namespace.default.depth["z-index"].sticky,
18849
+ banner: tokens10__namespace.default.depth["z-index"].banner,
18850
+ overlay: tokens10__namespace.default.depth["z-index"].overlay,
18851
+ modal: tokens10__namespace.default.depth["z-index"].modal,
18852
+ popover: tokens10__namespace.default.depth["z-index"].popover,
18853
+ skipLink: tokens10__namespace.default.depth["z-index"].skipLink,
18854
+ toast: tokens10__namespace.default.depth["z-index"].toast,
18855
+ tooltip: tokens10__namespace.default.depth["z-index"].tooltip
18856
+ };
18857
+ }
18858
+ });
18859
+
18860
+ // src/theme/foundations/index.ts
18861
+ var foundations_exports = {};
18862
+ __export(foundations_exports, {
18863
+ borders: () => borders2,
18864
+ breakpoints: () => breakpoints2,
18865
+ colors: () => colors,
18866
+ config: () => config2,
18867
+ fontSizes: () => fontSizes,
18868
+ fontWeights: () => fontWeights,
18869
+ fonts: () => fonts,
18870
+ lineHeights: () => lineHeights,
18871
+ radii: () => radii2,
18872
+ shadows: () => shadows,
18873
+ sizes: () => sizes24,
18874
+ space: () => space2,
18875
+ spacing: () => spacing2,
18876
+ textStyles: () => textStyles,
18877
+ zIndices: () => zIndices2
18878
+ });
18879
+ var init_foundations = __esm({
18880
+ "src/theme/foundations/index.ts"() {
18881
+ init_borders();
18882
+ init_breakpoints();
18883
+ init_colors();
18884
+ init_config();
18885
+ init_fonts();
18886
+ init_fontSizes();
18887
+ init_fontWeights();
18888
+ init_lineHeights();
18889
+ init_radii();
18890
+ init_shadows();
18891
+ init_sizes();
18892
+ init_spacing();
18893
+ init_textStyles();
18894
+ init_zIndices();
18910
18895
  }
18911
18896
  });
18912
18897
 
@@ -20026,7 +20011,7 @@ var init_datepicker2 = __esm({
20026
20011
  borderColor: themeTools.mode("darkGrey", "white")(props),
20027
20012
  borderWidth: 2
20028
20013
  }),
20029
- zIndex: zIndices.docked
20014
+ zIndex: zIndices2.docked
20030
20015
  },
20031
20016
  _focusWithin: {
20032
20017
  boxShadow: getBoxShadowString({
@@ -20062,7 +20047,7 @@ var init_datepicker2 = __esm({
20062
20047
  },
20063
20048
  dateTimeSegment: {
20064
20049
  color: themeTools.mode(
20065
- props.isEditable ? "darkGrey" : "dimGrey",
20050
+ "darkGrey",
20066
20051
  props.isPlaceholder ? "whiteAlpha.400" : "white"
20067
20052
  )(props)
20068
20053
  },
@@ -20184,7 +20169,14 @@ var init_datepicker2 = __esm({
20184
20169
  boxShadow: getBoxShadowString({
20185
20170
  borderWidth: 1,
20186
20171
  borderColor: themeTools.mode("osloGrey", "dimGrey")(props)
20187
- })
20172
+ }),
20173
+ _focus: {
20174
+ outline: "none",
20175
+ boxShadow: getBoxShadowString({
20176
+ borderWidth: 2,
20177
+ borderColor: themeTools.mode("greenHaze", "azure")(props)
20178
+ })
20179
+ }
20188
20180
  },
20189
20181
  "&[data-unavailable]": {
20190
20182
  pointerEvents: "none",
@@ -22849,7 +22841,7 @@ var init_theme = __esm({
22849
22841
  };
22850
22842
  }
22851
22843
  });
22852
- var BaseToast, ToastIcon, getIcon3, texts22;
22844
+ var BaseToast, ToastIcon, getIcon3, texts23;
22853
22845
  var init_BaseToast = __esm({
22854
22846
  "src/toast/BaseToast.tsx"() {
22855
22847
  init_src();
@@ -22864,7 +22856,7 @@ var init_BaseToast = __esm({
22864
22856
  Icon,
22865
22857
  {
22866
22858
  flexShrink: 0,
22867
- "aria-label": t2(texts22[variant]),
22859
+ "aria-label": t2(texts23[variant]),
22868
22860
  marginRight: 1,
22869
22861
  marginY: 1.5,
22870
22862
  color: "darkGrey"
@@ -22881,7 +22873,7 @@ var init_BaseToast = __esm({
22881
22873
  return sporIconReact.ErrorOutline24Icon;
22882
22874
  }
22883
22875
  };
22884
- texts22 = createTexts({
22876
+ texts23 = createTexts({
22885
22877
  info: {
22886
22878
  nb: "Informasjon",
22887
22879
  nn: "Informasjon",
@@ -22919,7 +22911,7 @@ var init_ActionToast = __esm({
22919
22911
  };
22920
22912
  }
22921
22913
  });
22922
- var ClosableToast, texts23;
22914
+ var ClosableToast, texts24;
22923
22915
  var init_ClosableToast = __esm({
22924
22916
  "src/toast/ClosableToast.tsx"() {
22925
22917
  init_src();
@@ -22937,13 +22929,13 @@ var init_ClosableToast = __esm({
22937
22929
  {
22938
22930
  sx: styles2.dismissButton,
22939
22931
  variant: "ghost",
22940
- "aria-label": t2(texts23.dismiss),
22932
+ "aria-label": t2(texts24.dismiss),
22941
22933
  icon: /* @__PURE__ */ React49__namespace.default.createElement(sporIconReact.CloseFill18Icon, null),
22942
22934
  onClick: onClose
22943
22935
  }
22944
22936
  ));
22945
22937
  };
22946
- texts23 = createTexts({
22938
+ texts24 = createTexts({
22947
22939
  dismiss: {
22948
22940
  nb: "Lukk",
22949
22941
  nn: "Lukk",
@@ -23344,7 +23336,6 @@ Object.defineProperty(exports, 'Time', {
23344
23336
  enumerable: true,
23345
23337
  get: function () { return date.Time; }
23346
23338
  });
23347
- exports.tokens = tokens10__namespace;
23348
23339
  Object.defineProperty(exports, 'Item', {
23349
23340
  enumerable: true,
23350
23341
  get: function () { return reactStately.Item; }
@@ -23353,6 +23344,7 @@ Object.defineProperty(exports, 'Section', {
23353
23344
  enumerable: true,
23354
23345
  get: function () { return reactStately.Section; }
23355
23346
  });
23347
+ exports.tokens = tokens10__namespace;
23356
23348
  exports.Combobox = Combobox;
23357
23349
  exports.DateRangePicker = DateRangePicker;
23358
23350
  exports.DrawerHeader = exports.ModalHeader;