@vygruppen/spor-react 3.3.0 → 3.3.2

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 = {};
@@ -2924,6 +2931,16 @@ function CalendarCell({ state: state2, date: date$1, currentMonth }) {
2924
2931
  if (isOutsideMonth) {
2925
2932
  stateProps["data-unavailable"] = true;
2926
2933
  }
2934
+ React49.useEffect(() => {
2935
+ var _a6;
2936
+ (_a6 = ref == null ? void 0 : ref.current) == null ? void 0 : _a6.addEventListener(
2937
+ "touchend",
2938
+ (event) => {
2939
+ event.preventDefault();
2940
+ },
2941
+ { passive: false, once: true }
2942
+ );
2943
+ }, []);
2927
2944
  return /* @__PURE__ */ React49__namespace.default.createElement(
2928
2945
  react.Box,
2929
2946
  {
@@ -2956,6 +2973,7 @@ function CalendarCell({ state: state2, date: date$1, currentMonth }) {
2956
2973
  ...stateProps,
2957
2974
  ref,
2958
2975
  sx: styles2.dateCell,
2976
+ hidden: isOutsideVisibleRange,
2959
2977
  width: "100%"
2960
2978
  },
2961
2979
  date$1.day
@@ -2974,15 +2992,15 @@ var init_utils = __esm({
2974
2992
  const { language } = useTranslation();
2975
2993
  switch (language) {
2976
2994
  case "nb":
2977
- return "no";
2995
+ return "nb-NO";
2978
2996
  case "nn":
2979
- return "no";
2997
+ return "nb-NO";
2980
2998
  case "sv":
2981
- return "sv";
2999
+ return "sv-SE";
2982
3000
  case "en":
2983
3001
  return "en-GB";
2984
3002
  default:
2985
- return "no";
3003
+ return "nb-NO";
2986
3004
  }
2987
3005
  };
2988
3006
  getCurrentTime = () => {
@@ -3188,6 +3206,7 @@ var init_CalendarHeader = __esm({
3188
3206
  }
3189
3207
  });
3190
3208
  function Calendar({ showYearNavigation, ...props }) {
3209
+ const { t: t2 } = useTranslation();
3191
3210
  const locale = useCurrentLocale();
3192
3211
  const state2 = $131cf43a05231e1e$export$6d095e787d2b5e1f({
3193
3212
  ...props,
@@ -3195,39 +3214,50 @@ function Calendar({ showYearNavigation, ...props }) {
3195
3214
  createCalendar: date.createCalendar
3196
3215
  });
3197
3216
  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 }));
3217
+ const calendarAriaLabel = calendarProps["aria-label"];
3218
+ const ariaLabel = t2(texts8.calendar) + (calendarAriaLabel ? ` ${calendarAriaLabel}` : "");
3219
+ 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
3220
  }
3221
+ var texts8;
3200
3222
  var init_Calendar = __esm({
3201
3223
  "src/datepicker/Calendar.tsx"() {
3202
3224
  init_import5();
3203
3225
  init_CalendarGrid();
3204
3226
  init_CalendarHeader();
3205
3227
  init_utils();
3228
+ init_i18n();
3229
+ texts8 = createTexts({
3230
+ calendar: {
3231
+ nb: "Kalender",
3232
+ nn: "Kalender",
3233
+ sv: "Kalender",
3234
+ en: "Calendar"
3235
+ }
3236
+ });
3206
3237
  }
3207
3238
  });
3208
- var CalendarTriggerButton, texts8;
3239
+ var CalendarTriggerButton, texts9;
3209
3240
  var init_CalendarTriggerButton = __esm({
3210
3241
  "src/datepicker/CalendarTriggerButton.tsx"() {
3211
3242
  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({
3243
+ CalendarTriggerButton = react.forwardRef(
3244
+ ({ ...buttonProps }, ref) => {
3245
+ const { t: t2 } = useTranslation();
3246
+ const styles2 = react.useMultiStyleConfig("Datepicker", {});
3247
+ return /* @__PURE__ */ React49__namespace.default.createElement(react.PopoverAnchor, null, /* @__PURE__ */ React49__namespace.default.createElement(
3248
+ react.Box,
3249
+ {
3250
+ ref,
3251
+ as: "button",
3252
+ "aria-label": t2(texts9.openCalendar),
3253
+ sx: styles2.calendarTriggerButton,
3254
+ ...buttonProps
3255
+ },
3256
+ /* @__PURE__ */ React49__namespace.default.createElement(sporIconReact.CalendarOutline24Icon, null)
3257
+ ));
3258
+ }
3259
+ );
3260
+ texts9 = createTexts({
3231
3261
  openCalendar: {
3232
3262
  nb: "\xC5pne kalender",
3233
3263
  nn: "\xC5pne kalendar",
@@ -3237,317 +3267,9 @@ var init_CalendarTriggerButton = __esm({
3237
3267
  });
3238
3268
  }
3239
3269
  });
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
3270
  var DateTimeSegment, isPaddable;
3548
3271
  var init_DateTimeSegment = __esm({
3549
3272
  "src/datepicker/DateTimeSegment.tsx"() {
3550
- init_foundations();
3551
3273
  DateTimeSegment = React49.forwardRef(
3552
3274
  ({ segment, state: state2 }, externalRef) => {
3553
3275
  const internalRef = React49.useRef(null);
@@ -3569,14 +3291,13 @@ var init_DateTimeSegment = __esm({
3569
3291
  style: {
3570
3292
  ...segmentProps.style,
3571
3293
  fontVariantNumeric: "tabular-nums",
3572
- boxSizing: "content-box",
3573
- color: colors.darkGrey
3294
+ boxSizing: "content-box"
3574
3295
  },
3575
3296
  paddingX: "1px",
3576
3297
  textAlign: "end",
3577
3298
  outline: "none",
3578
3299
  borderRadius: "xs",
3579
- fontSize: "mobile.md",
3300
+ fontSize: ["mobile.sm", "desktop.sm"],
3580
3301
  sx: styles2.dateTimeSegment,
3581
3302
  _focus: {
3582
3303
  backgroundColor: "darkTeal",
@@ -3690,6 +3411,7 @@ var init_DatePicker = __esm({
3690
3411
  errorMessage,
3691
3412
  minHeight,
3692
3413
  showYearNavigation,
3414
+ withPortal = true,
3693
3415
  width = "auto",
3694
3416
  ...props
3695
3417
  }, externalRef) => {
@@ -3716,21 +3438,22 @@ var init_DatePicker = __esm({
3716
3438
  state2,
3717
3439
  ref
3718
3440
  );
3719
- const responsiveVariant = react.useBreakpointValue(typeof variant === "string" ? [variant] : variant) ?? "simple";
3441
+ const styles2 = react.useMultiStyleConfig("Datepicker", {});
3720
3442
  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
- };
3443
+ const responsiveVariant = react.useBreakpointValue(typeof variant === "string" ? [variant] : variant) ?? "simple";
3444
+ const hasTrigger = responsiveVariant === "with-trigger";
3727
3445
  const onFieldClick = () => {
3728
3446
  if (!hasTrigger) {
3729
3447
  state2.setOpen(true);
3730
3448
  }
3731
3449
  };
3732
- const hasTrigger = responsiveVariant === "with-trigger";
3733
- const styles2 = react.useMultiStyleConfig("Datepicker", {});
3450
+ 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(
3451
+ Calendar,
3452
+ {
3453
+ ...calendarProps,
3454
+ showYearNavigation
3455
+ }
3456
+ ))));
3734
3457
  return /* @__PURE__ */ React49__namespace.default.createElement(reactAria.I18nProvider, { locale }, /* @__PURE__ */ React49__namespace.default.createElement(
3735
3458
  react.Box,
3736
3459
  {
@@ -3744,18 +3467,14 @@ var init_DatePicker = __esm({
3744
3467
  {
3745
3468
  ...dialogProps,
3746
3469
  isOpen: state2.isOpen,
3747
- onClose: state2.close,
3748
3470
  onOpen: state2.open,
3749
- closeOnBlur: true,
3750
- closeOnEsc: true,
3751
- returnFocusOnClose: true
3471
+ onClose: state2.close
3752
3472
  },
3753
3473
  /* @__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
3474
  StyledField,
3755
3475
  {
3756
3476
  variant: responsiveVariant,
3757
3477
  onClick: onFieldClick,
3758
- onKeyPress: handleEnterClick,
3759
3478
  paddingX: 3,
3760
3479
  minHeight
3761
3480
  },
@@ -3766,28 +3485,14 @@ var init_DatePicker = __esm({
3766
3485
  label: props.label,
3767
3486
  labelProps,
3768
3487
  name: props.name,
3769
- ref,
3488
+ ref: hasTrigger ? void 0 : ref,
3770
3489
  ...fieldProps
3771
3490
  }
3772
3491
  )
3773
- )), hasTrigger && /* @__PURE__ */ React49__namespace.default.createElement(CalendarTriggerButton, { ...buttonProps })),
3492
+ )), hasTrigger && /* @__PURE__ */ React49__namespace.default.createElement(react.PopoverTrigger, null, /* @__PURE__ */ React49__namespace.default.createElement(CalendarTriggerButton, { ref, ...buttonProps }))),
3774
3493
  /* @__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
- ))
3494
+ state2.isOpen && !props.isDisabled && withPortal && /* @__PURE__ */ React49__namespace.default.createElement(react.Portal, null, popoverContent),
3495
+ state2.isOpen && !props.isDisabled && !withPortal && popoverContent
3791
3496
  )
3792
3497
  ));
3793
3498
  }
@@ -3819,6 +3524,7 @@ function DateRangePicker({
3819
3524
  minHeight,
3820
3525
  startName,
3821
3526
  endName,
3527
+ withPortal = true,
3822
3528
  ...props
3823
3529
  }) {
3824
3530
  const formControlProps = react.useFormControlContext();
@@ -3855,67 +3561,49 @@ function DateRangePicker({
3855
3561
  }
3856
3562
  };
3857
3563
  const hasTrigger = responsiveVariant === "with-trigger";
3564
+ 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
3565
  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
3566
  react.Popover,
3860
3567
  {
3861
3568
  ...dialogProps,
3862
3569
  isOpen: state2.isOpen,
3863
- onClose: () => state2.setOpen(false),
3864
- closeOnBlur: true,
3865
- closeOnEsc: true,
3866
- returnFocusOnClose: true
3570
+ onOpen: state2.open,
3571
+ onClose: state2.close
3867
3572
  },
3868
- /* @__PURE__ */ React49__namespace.default.createElement(
3869
- react.InputGroup,
3573
+ /* @__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(
3574
+ StyledField,
3870
3575
  {
3871
- ...groupProps,
3872
- ref,
3873
- width: "auto",
3874
- display: "inline-flex"
3576
+ alignItems: "center",
3577
+ paddingX: 3,
3578
+ variant: responsiveVariant,
3579
+ onClick: onFieldClick,
3580
+ onKeyPress: handleEnterClick,
3581
+ minHeight
3875
3582
  },
3876
- /* @__PURE__ */ React49__namespace.default.createElement(react.PopoverAnchor, null, /* @__PURE__ */ React49__namespace.default.createElement(
3877
- StyledField,
3583
+ !hasTrigger && /* @__PURE__ */ React49__namespace.default.createElement(sporIconReact.CalendarOutline24Icon, { mr: 2, alignSelf: "center" }),
3584
+ /* @__PURE__ */ React49__namespace.default.createElement(
3585
+ DateField,
3878
3586
  {
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
- ))
3587
+ ...startFieldProps,
3588
+ name: startName,
3589
+ label: props.startLabel,
3590
+ ref: hasTrigger ? void 0 : ref,
3591
+ labelProps
3592
+ }
3593
+ ),
3594
+ /* @__PURE__ */ React49__namespace.default.createElement(react.Box, { as: "span", "aria-hidden": "true", px: "2" }, "\u2013"),
3595
+ /* @__PURE__ */ React49__namespace.default.createElement(
3596
+ DateField,
3597
+ {
3598
+ ...endFieldProps,
3599
+ name: endName,
3600
+ label: props.endLabel,
3601
+ labelProps
3602
+ }
3603
+ )
3604
+ )), hasTrigger && /* @__PURE__ */ React49__namespace.default.createElement(react.PopoverTrigger, null, /* @__PURE__ */ React49__namespace.default.createElement(CalendarTriggerButton, { ref, ...buttonProps }))),
3605
+ state2.isOpen && withPortal && /* @__PURE__ */ React49__namespace.default.createElement(react.Portal, null, popoverContent),
3606
+ state2.isOpen && !withPortal && popoverContent
3919
3607
  )));
3920
3608
  }
3921
3609
  var init_DateRangePicker = __esm({
@@ -3960,7 +3648,7 @@ var init_TimeField = __esm({
3960
3648
  };
3961
3649
  }
3962
3650
  });
3963
- exports.TimePicker = void 0; var texts9;
3651
+ exports.TimePicker = void 0; var texts10;
3964
3652
  var init_TimePicker = __esm({
3965
3653
  "src/datepicker/TimePicker.tsx"() {
3966
3654
  init_src();
@@ -3982,7 +3670,7 @@ var init_TimePicker = __esm({
3982
3670
  const isDisabled = isDisabledExternally ?? isFormControlDisabled ?? false;
3983
3671
  const { t: t2 } = useTranslation();
3984
3672
  const locale = useCurrentLocale();
3985
- const label = externalLabel ?? t2(texts9.time);
3673
+ const label = externalLabel ?? t2(texts10.time);
3986
3674
  const state2 = reactStately.useTimeFieldState({
3987
3675
  value,
3988
3676
  defaultValue,
@@ -4015,15 +3703,15 @@ var init_TimePicker = __esm({
4015
3703
  })
4016
3704
  );
4017
3705
  };
4018
- const backwardsLabel = `${t2(texts9.backwards)} ${minuteInterval} ${t2(
4019
- texts9.minutes
3706
+ const backwardsLabel = `${t2(texts10.backwards)} ${minuteInterval} ${t2(
3707
+ texts10.minutes
4020
3708
  )}`;
4021
- const forwardsLabel = `${t2(texts9.forwards)} ${minuteInterval} ${t2(
4022
- texts9.minutes
3709
+ const forwardsLabel = `${t2(texts10.forwards)} ${minuteInterval} ${t2(
3710
+ texts10.minutes
4023
3711
  )}`;
4024
- const inputLabel = label ?? t2(texts9.time);
3712
+ const inputLabel = label ?? t2(texts10.time);
4025
3713
  const ariaLabel = `${inputLabel} \u2013 ${t2(
4026
- texts9.selectedTimeIs(`${(dateTime == null ? void 0 : dateTime.hour) ?? 0} ${(dateTime == null ? void 0 : dateTime.minute) ?? 0}`)
3714
+ texts10.selectedTimeIs(`${(dateTime == null ? void 0 : dateTime.hour) ?? 0} ${(dateTime == null ? void 0 : dateTime.minute) ?? 0}`)
4027
3715
  )}`;
4028
3716
  return /* @__PURE__ */ React49__namespace.default.createElement(
4029
3717
  StyledField,
@@ -4072,7 +3760,7 @@ var init_TimePicker = __esm({
4072
3760
  )
4073
3761
  );
4074
3762
  };
4075
- texts9 = createTexts({
3763
+ texts10 = createTexts({
4076
3764
  selectedTimeIs: (time) => ({
4077
3765
  nb: `Valgt tidspunkt er ${time}`,
4078
3766
  nn: `Valt tidspunkt er ${time}`,
@@ -5399,6 +5087,16 @@ function Option({ item, state: state2 }) {
5399
5087
  if (isFocused) {
5400
5088
  dataFields["data-focus"] = true;
5401
5089
  }
5090
+ React49.useEffect(() => {
5091
+ var _a6;
5092
+ (_a6 = ref == null ? void 0 : ref.current) == null ? void 0 : _a6.addEventListener(
5093
+ "touchend",
5094
+ (event) => {
5095
+ event.preventDefault();
5096
+ },
5097
+ { passive: false, once: true }
5098
+ );
5099
+ }, []);
5402
5100
  return /* @__PURE__ */ React49__namespace.default.createElement(OptionContext.Provider, { value: { labelProps, descriptionProps } }, /* @__PURE__ */ React49__namespace.default.createElement(react.ListItem, { ...optionProps, ...dataFields, ref, sx: styles2.item }, item.rendered));
5403
5101
  }
5404
5102
  function ListBoxSection({ section, state: state2 }) {
@@ -5489,7 +5187,7 @@ function InfoSelect({
5489
5187
  "aria-invalid": formControl.isInvalid,
5490
5188
  "aria-describedby": formControl["aria-describedby"]
5491
5189
  },
5492
- /* @__PURE__ */ React49__namespace.default.createElement(react.Box, { ...valueProps }, state2.selectedItem ? state2.selectedItem.textValue ?? state2.selectedItem.rendered : placeholder ?? t2(texts10.selectAnOption)),
5190
+ /* @__PURE__ */ React49__namespace.default.createElement(react.Box, { ...valueProps }, state2.selectedItem ? state2.selectedItem.textValue ?? state2.selectedItem.rendered : placeholder ?? t2(texts11.selectAnOption)),
5493
5191
  /* @__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
5192
  ), state2.isOpen && /* @__PURE__ */ React49__namespace.default.createElement(Popover3, { state: state2, triggerRef }, /* @__PURE__ */ React49__namespace.default.createElement(
5495
5193
  ListBox,
@@ -5502,13 +5200,13 @@ function InfoSelect({
5502
5200
  props.children
5503
5201
  )));
5504
5202
  }
5505
- var texts10;
5203
+ var texts11;
5506
5204
  var init_InfoSelect = __esm({
5507
5205
  "src/input/InfoSelect.tsx"() {
5508
5206
  init_src();
5509
5207
  init_ListBox();
5510
5208
  init_Popover();
5511
- texts10 = createTexts({
5209
+ texts11 = createTexts({
5512
5210
  selectAnOption: {
5513
5211
  nb: "Velg et alternativ",
5514
5212
  nn: "Velg eit alternativ",
@@ -5573,6 +5271,27 @@ var init_NativeSelect = __esm({
5573
5271
  );
5574
5272
  }
5575
5273
  });
5274
+ var colors;
5275
+ var init_colors = __esm({
5276
+ "src/theme/foundations/colors.ts"() {
5277
+ colors = {
5278
+ ...tokens10__namespace.default.color.alias,
5279
+ ...tokens10__namespace.default.color.palette,
5280
+ linjetag: tokens10__namespace.default.color.linjetag
5281
+ };
5282
+ }
5283
+ });
5284
+ var shadows;
5285
+ var init_shadows = __esm({
5286
+ "src/theme/foundations/shadows.ts"() {
5287
+ shadows = {
5288
+ none: "none",
5289
+ sm: tokens10__namespace.default.depth.shadow.sm.value,
5290
+ md: tokens10__namespace.default.depth.shadow.md.value,
5291
+ lg: tokens10__namespace.default.depth.shadow.lg.value
5292
+ };
5293
+ }
5294
+ });
5576
5295
 
5577
5296
  // src/theme/utils/box-shadow-utils.ts
5578
5297
  var getBoxShadowString;
@@ -5647,7 +5366,7 @@ function NumericStepper({
5647
5366
  VerySmallButton,
5648
5367
  {
5649
5368
  icon: /* @__PURE__ */ React49__namespace.default.createElement(SubtractIcon, { color: "white" }),
5650
- "aria-label": t2(texts11.decrementButtonAriaLabel),
5369
+ "aria-label": t2(texts12.decrementButtonAriaLabel),
5651
5370
  onClick: () => onChange(value - 1),
5652
5371
  visibility: value <= minValue ? "hidden" : "visible",
5653
5372
  isDisabled: formControlProps.disabled
@@ -5707,7 +5426,7 @@ function NumericStepper({
5707
5426
  {
5708
5427
  fontSize: "sm",
5709
5428
  fontWeight: "bold",
5710
- width: "3ch",
5429
+ width: "4ch",
5711
5430
  marginX: 1,
5712
5431
  paddingX: 1,
5713
5432
  textAlign: "center",
@@ -5721,7 +5440,7 @@ function NumericStepper({
5721
5440
  VerySmallButton,
5722
5441
  {
5723
5442
  icon: /* @__PURE__ */ React49__namespace.default.createElement(AddIcon, { color: "white" }),
5724
- "aria-label": t2(texts11.incrementButtonAriaLabel),
5443
+ "aria-label": t2(texts12.incrementButtonAriaLabel),
5725
5444
  onClick: () => onChange(value + 1),
5726
5445
  visibility: value >= maxValue ? "hidden" : "visible",
5727
5446
  isDisabled: formControlProps.disabled,
@@ -5729,7 +5448,7 @@ function NumericStepper({
5729
5448
  }
5730
5449
  ));
5731
5450
  }
5732
- var VerySmallButton, SubtractIcon, AddIcon, texts11;
5451
+ var VerySmallButton, SubtractIcon, AddIcon, texts12;
5733
5452
  var init_NumericStepper = __esm({
5734
5453
  "src/input/NumericStepper.tsx"() {
5735
5454
  init_src();
@@ -5808,7 +5527,7 @@ var init_NumericStepper = __esm({
5808
5527
  }
5809
5528
  )
5810
5529
  );
5811
- texts11 = createTexts({
5530
+ texts12 = createTexts({
5812
5531
  decrementButtonAriaLabel: {
5813
5532
  nb: "Trekk fra 1",
5814
5533
  en: "Subtract 1",
@@ -5824,7 +5543,7 @@ var init_NumericStepper = __esm({
5824
5543
  });
5825
5544
  }
5826
5545
  });
5827
- exports.PasswordInput = void 0; var texts12;
5546
+ exports.PasswordInput = void 0; var texts13;
5828
5547
  var init_PasswordInput = __esm({
5829
5548
  "src/input/PasswordInput.tsx"() {
5830
5549
  init_input();
@@ -5857,11 +5576,11 @@ var init_PasswordInput = __esm({
5857
5576
  borderRadius: "sm",
5858
5577
  mr: 1
5859
5578
  },
5860
- isShowingPassword ? t2(texts12.hidePassword) : t2(texts12.showPassword)
5579
+ isShowingPassword ? t2(texts13.hidePassword) : t2(texts13.showPassword)
5861
5580
  )));
5862
5581
  }
5863
5582
  );
5864
- texts12 = createTexts({
5583
+ texts13 = createTexts({
5865
5584
  showPassword: {
5866
5585
  nb: "Vis",
5867
5586
  nn: "Vis",
@@ -12371,7 +12090,7 @@ __export(CountryCodeSelect_exports, {
12371
12090
  CountryCodeSelect: () => CountryCodeSelect,
12372
12091
  default: () => CountryCodeSelect_default
12373
12092
  });
12374
- var prioritizedCountryCodes, sortedCallingCodes, callingCodes, CountryCodeSelect, CountryCodeSelect_default, texts13;
12093
+ var prioritizedCountryCodes, sortedCallingCodes, callingCodes, CountryCodeSelect, CountryCodeSelect_default, texts14;
12375
12094
  var init_CountryCodeSelect = __esm({
12376
12095
  "src/input/CountryCodeSelect.tsx"() {
12377
12096
  init_src();
@@ -12393,7 +12112,7 @@ var init_CountryCodeSelect = __esm({
12393
12112
  return /* @__PURE__ */ React49__namespace.default.createElement(
12394
12113
  InfoSelect,
12395
12114
  {
12396
- label: t2(texts13.countryCode),
12115
+ label: t2(texts14.countryCode),
12397
12116
  isLabelSrOnly: true,
12398
12117
  items: callingCodes,
12399
12118
  ...props
@@ -12402,7 +12121,7 @@ var init_CountryCodeSelect = __esm({
12402
12121
  );
12403
12122
  };
12404
12123
  CountryCodeSelect_default = CountryCodeSelect;
12405
- texts13 = createTexts({
12124
+ texts14 = createTexts({
12406
12125
  countryCode: {
12407
12126
  nb: "Landkode",
12408
12127
  nn: "Landskode",
@@ -12412,7 +12131,7 @@ var init_CountryCodeSelect = __esm({
12412
12131
  });
12413
12132
  }
12414
12133
  });
12415
- exports.PhoneNumberInput = void 0; var texts14, LazyCountryCodeSelect;
12134
+ exports.PhoneNumberInput = void 0; var texts15, LazyCountryCodeSelect;
12416
12135
  var init_PhoneNumberInput = __esm({
12417
12136
  "src/input/PhoneNumberInput.tsx"() {
12418
12137
  init_src();
@@ -12461,7 +12180,7 @@ var init_PhoneNumberInput = __esm({
12461
12180
  {
12462
12181
  ref,
12463
12182
  type: "tel",
12464
- label: t2(texts14.phoneNumber),
12183
+ label: t2(texts15.phoneNumber),
12465
12184
  value: value.nationalNumber,
12466
12185
  name: name ? `${name}-phone-number` : "phone-number",
12467
12186
  onChange: (e) => {
@@ -12477,7 +12196,7 @@ var init_PhoneNumberInput = __esm({
12477
12196
  ));
12478
12197
  }
12479
12198
  );
12480
- texts14 = createTexts({
12199
+ texts15 = createTexts({
12481
12200
  phoneNumber: {
12482
12201
  nb: "Telefonnummer",
12483
12202
  nn: "Telefonnummer",
@@ -12506,7 +12225,7 @@ var init_RadioGroup = __esm({
12506
12225
  );
12507
12226
  }
12508
12227
  });
12509
- exports.SearchInput = void 0; var texts15;
12228
+ exports.SearchInput = void 0; var texts16;
12510
12229
  var init_SearchInput = __esm({
12511
12230
  "src/input/SearchInput.tsx"() {
12512
12231
  init_input();
@@ -12535,21 +12254,21 @@ var init_SearchInput = __esm({
12535
12254
  placeholder: " ",
12536
12255
  "data-attachable": true
12537
12256
  }
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(
12257
+ ), /* @__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
12258
  react.IconButton,
12540
12259
  {
12541
12260
  variant: "ghost",
12542
12261
  type: "button",
12543
12262
  size: "sm",
12544
12263
  mr: 1,
12545
- "aria-label": t2(texts15.reset),
12264
+ "aria-label": t2(texts16.reset),
12546
12265
  icon: /* @__PURE__ */ React49__namespace.default.createElement(sporIconReact.CloseOutline24Icon, null),
12547
12266
  onClick: onReset
12548
12267
  }
12549
12268
  )));
12550
12269
  }
12551
12270
  );
12552
- texts15 = createTexts({
12271
+ texts16 = createTexts({
12553
12272
  label: {
12554
12273
  nb: "S\xF8k",
12555
12274
  nn: "S\xF8k",
@@ -12809,7 +12528,7 @@ var init_linjetag = __esm({
12809
12528
  init_TravelTag();
12810
12529
  }
12811
12530
  });
12812
- exports.TextLink = void 0; var texts16;
12531
+ exports.TextLink = void 0; var texts17;
12813
12532
  var init_TextLink = __esm({
12814
12533
  "src/link/TextLink.tsx"() {
12815
12534
  init_src();
@@ -12822,12 +12541,12 @@ var init_TextLink = __esm({
12822
12541
  sporIconReact.LinkOutOutline24Icon,
12823
12542
  {
12824
12543
  marginLeft: 0.5,
12825
- "aria-label": t2(texts16.externalLink)
12544
+ "aria-label": t2(texts17.externalLink)
12826
12545
  }
12827
12546
  ));
12828
12547
  }
12829
12548
  );
12830
- texts16 = createTexts({
12549
+ texts17 = createTexts({
12831
12550
  externalLink: {
12832
12551
  nb: "Ekstern lenke",
12833
12552
  nn: "Ekstern lenke",
@@ -13037,7 +12756,7 @@ var init_icons2 = __esm({
13037
12756
  ));
13038
12757
  }
13039
12758
  });
13040
- exports.JumpButton = void 0; var texts17;
12759
+ exports.JumpButton = void 0; var texts18;
13041
12760
  var init_JumpButton = __esm({
13042
12761
  "src/media-controller/JumpButton.tsx"() {
13043
12762
  init_src();
@@ -13058,14 +12777,14 @@ var init_JumpButton = __esm({
13058
12777
  {
13059
12778
  as: "button",
13060
12779
  sx: styles2.container,
13061
- "aria-label": direction2 === "forward" ? t2(texts17.forward) : t2(texts17.backward),
12780
+ "aria-label": direction2 === "forward" ? t2(texts18.forward) : t2(texts18.backward),
13062
12781
  disabled: isDisabled,
13063
12782
  ...props
13064
12783
  },
13065
12784
  direction2 === "forward" ? /* @__PURE__ */ React49__namespace.default.createElement(JumpForwardIcon, { sx: styles2.icon }) : /* @__PURE__ */ React49__namespace.default.createElement(JumpBackwardIcon, { sx: styles2.icon })
13066
12785
  );
13067
12786
  };
13068
- texts17 = createTexts({
12787
+ texts18 = createTexts({
13069
12788
  forward: {
13070
12789
  nb: "15 sekunder frem",
13071
12790
  nn: "15 sekunder fram",
@@ -13081,7 +12800,7 @@ var init_JumpButton = __esm({
13081
12800
  });
13082
12801
  }
13083
12802
  });
13084
- exports.PlayPauseButton = void 0; var texts18;
12803
+ exports.PlayPauseButton = void 0; var texts19;
13085
12804
  var init_PlayPauseButton = __esm({
13086
12805
  "src/media-controller/PlayPauseButton.tsx"() {
13087
12806
  init_src();
@@ -13102,14 +12821,14 @@ var init_PlayPauseButton = __esm({
13102
12821
  {
13103
12822
  as: "button",
13104
12823
  sx: styles2.container,
13105
- "aria-label": isPlaying ? t2(texts18.pause) : t2(texts18.play),
12824
+ "aria-label": isPlaying ? t2(texts19.pause) : t2(texts19.play),
13106
12825
  disabled: isDisabled,
13107
12826
  ...props
13108
12827
  },
13109
12828
  isPlaying ? /* @__PURE__ */ React49__namespace.default.createElement(PauseIcon, { sx: styles2.icon }) : /* @__PURE__ */ React49__namespace.default.createElement(PlayIcon, { sx: styles2.icon })
13110
12829
  );
13111
12830
  };
13112
- texts18 = createTexts({
12831
+ texts19 = createTexts({
13113
12832
  pause: {
13114
12833
  nb: "Pause",
13115
12834
  nn: "Pause",
@@ -13125,7 +12844,7 @@ var init_PlayPauseButton = __esm({
13125
12844
  });
13126
12845
  }
13127
12846
  });
13128
- exports.SkipButton = void 0; var texts19;
12847
+ exports.SkipButton = void 0; var texts20;
13129
12848
  var init_SkipButton = __esm({
13130
12849
  "src/media-controller/SkipButton.tsx"() {
13131
12850
  init_src();
@@ -13146,14 +12865,14 @@ var init_SkipButton = __esm({
13146
12865
  {
13147
12866
  as: "button",
13148
12867
  sx: styles2.container,
13149
- "aria-label": direction2 === "forward" ? t2(texts19.next) : t2(texts19.previous),
12868
+ "aria-label": direction2 === "forward" ? t2(texts20.next) : t2(texts20.previous),
13150
12869
  disabled: isDisabled,
13151
12870
  ...props
13152
12871
  },
13153
12872
  direction2 === "forward" ? /* @__PURE__ */ React49__namespace.default.createElement(SkipNextIcon, { sx: styles2.icon }) : /* @__PURE__ */ React49__namespace.default.createElement(SkipPreviousIcon, { sx: styles2.icon })
13154
12873
  );
13155
12874
  };
13156
- texts19 = createTexts({
12875
+ texts20 = createTexts({
13157
12876
  next: {
13158
12877
  nb: "Neste",
13159
12878
  nn: "Neste",
@@ -13295,7 +13014,7 @@ var init_modal = __esm({
13295
13014
  init_SimpleDrawer();
13296
13015
  }
13297
13016
  });
13298
- exports.PopoverWizardBody = void 0; var StepIndicator, createRange, NextStepButton, texts20;
13017
+ exports.PopoverWizardBody = void 0; var StepIndicator, createRange, NextStepButton, texts21;
13299
13018
  var init_PopoverWizardBody = __esm({
13300
13019
  "src/popover/PopoverWizardBody.tsx"() {
13301
13020
  init_src();
@@ -13347,10 +13066,10 @@ var init_PopoverWizardBody = __esm({
13347
13066
  leftIcon: isLastStep ? void 0 : /* @__PURE__ */ React49__namespace.createElement(sporIconReact.ArrowRightFill18Icon, null),
13348
13067
  onClick: isLastStep ? onClose : onNext
13349
13068
  },
13350
- t2(isLastStep ? texts20.finish : texts20.nextStep)
13069
+ t2(isLastStep ? texts21.finish : texts21.nextStep)
13351
13070
  );
13352
13071
  };
13353
- texts20 = createTexts({
13072
+ texts21 = createTexts({
13354
13073
  nextStep: {
13355
13074
  nb: "Neste",
13356
13075
  nn: "Neste",
@@ -13479,7 +13198,7 @@ var init_StepperContext = __esm({
13479
13198
  };
13480
13199
  }
13481
13200
  });
13482
- exports.Stepper = void 0; var texts21;
13201
+ exports.Stepper = void 0; var texts22;
13483
13202
  var init_Stepper = __esm({
13484
13203
  "src/stepper/Stepper.tsx"() {
13485
13204
  init_stepper();
@@ -13508,7 +13227,7 @@ var init_Stepper = __esm({
13508
13227
  /* @__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
13228
  exports.IconButton,
13510
13229
  {
13511
- "aria-label": t2(texts21.back),
13230
+ "aria-label": t2(texts22.back),
13512
13231
  icon: /* @__PURE__ */ React49__namespace.default.createElement(sporIconReact.DropdownLeftFill24Icon, null),
13513
13232
  variant: "ghost",
13514
13233
  size: "sm",
@@ -13518,14 +13237,14 @@ var init_Stepper = __esm({
13518
13237
  ), /* @__PURE__ */ React49__namespace.default.createElement(
13519
13238
  exports.SimplePopover,
13520
13239
  {
13521
- triggerElement: /* @__PURE__ */ React49__namespace.default.createElement(react.Box, { as: "button", __css: style.stepCounter }, t2(texts21.stepsOf(activeStep, numberOfSteps))),
13240
+ triggerElement: /* @__PURE__ */ React49__namespace.default.createElement(react.Box, { as: "button", __css: style.stepCounter }, t2(texts22.stepsOf(activeStep, numberOfSteps))),
13522
13241
  borderRadius: "xs"
13523
13242
  },
13524
13243
  steps.map((step, index2) => /* @__PURE__ */ React49__namespace.default.createElement(exports.StepperStep, { key: step, stepNumber: index2 + 1 }, step))
13525
13244
  )), 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
13245
  ));
13527
13246
  };
13528
- texts21 = createTexts({
13247
+ texts22 = createTexts({
13529
13248
  stepsOf: (activeStep, numberOfSteps) => ({
13530
13249
  nb: `Steg ${activeStep} av ${numberOfSteps}`,
13531
13250
  nn: `Steg ${activeStep} av ${numberOfSteps}`,
@@ -13677,11 +13396,11 @@ var init_chunk_RXCYWA6Q = __esm({
13677
13396
  });
13678
13397
 
13679
13398
  // ../../node_modules/@chakra-ui/theme/dist/chunk-5QZEG2IM.mjs
13680
- var zIndices2, z_index_default;
13399
+ var zIndices, z_index_default;
13681
13400
  var init_chunk_5QZEG2IM = __esm({
13682
13401
  "../../node_modules/@chakra-ui/theme/dist/chunk-5QZEG2IM.mjs"() {
13683
13402
  "use client";
13684
- zIndices2 = {
13403
+ zIndices = {
13685
13404
  hide: -1,
13686
13405
  auto: "auto",
13687
13406
  base: 0,
@@ -13696,32 +13415,32 @@ var init_chunk_5QZEG2IM = __esm({
13696
13415
  toast: 1700,
13697
13416
  tooltip: 1800
13698
13417
  };
13699
- z_index_default = zIndices2;
13418
+ z_index_default = zIndices;
13700
13419
  }
13701
13420
  });
13702
13421
 
13703
13422
  // ../../node_modules/@chakra-ui/theme/dist/chunk-PE5G6LAZ.mjs
13704
- var borders2, borders_default;
13423
+ var borders, borders_default;
13705
13424
  var init_chunk_PE5G6LAZ = __esm({
13706
13425
  "../../node_modules/@chakra-ui/theme/dist/chunk-PE5G6LAZ.mjs"() {
13707
13426
  "use client";
13708
- borders2 = {
13427
+ borders = {
13709
13428
  none: 0,
13710
13429
  "1px": "1px solid",
13711
13430
  "2px": "2px solid",
13712
13431
  "4px": "4px solid",
13713
13432
  "8px": "8px solid"
13714
13433
  };
13715
- borders_default = borders2;
13434
+ borders_default = borders;
13716
13435
  }
13717
13436
  });
13718
13437
 
13719
13438
  // ../../node_modules/@chakra-ui/theme/dist/chunk-ZCARTYDH.mjs
13720
- var breakpoints2, breakpoints_default;
13439
+ var breakpoints, breakpoints_default;
13721
13440
  var init_chunk_ZCARTYDH = __esm({
13722
13441
  "../../node_modules/@chakra-ui/theme/dist/chunk-ZCARTYDH.mjs"() {
13723
13442
  "use client";
13724
- breakpoints2 = {
13443
+ breakpoints = {
13725
13444
  base: "0em",
13726
13445
  sm: "30em",
13727
13446
  md: "48em",
@@ -13729,7 +13448,7 @@ var init_chunk_ZCARTYDH = __esm({
13729
13448
  xl: "80em",
13730
13449
  "2xl": "96em"
13731
13450
  };
13732
- breakpoints_default = breakpoints2;
13451
+ breakpoints_default = breakpoints;
13733
13452
  }
13734
13453
  });
13735
13454
 
@@ -13965,11 +13684,11 @@ var init_chunk_OFZWI3IK = __esm({
13965
13684
  });
13966
13685
 
13967
13686
  // ../../node_modules/@chakra-ui/theme/dist/chunk-AMMMMB27.mjs
13968
- var radii2, radius_default;
13687
+ var radii, radius_default;
13969
13688
  var init_chunk_AMMMMB27 = __esm({
13970
13689
  "../../node_modules/@chakra-ui/theme/dist/chunk-AMMMMB27.mjs"() {
13971
13690
  "use client";
13972
- radii2 = {
13691
+ radii = {
13973
13692
  none: "0",
13974
13693
  sm: "0.125rem",
13975
13694
  base: "0.25rem",
@@ -13980,7 +13699,7 @@ var init_chunk_AMMMMB27 = __esm({
13980
13699
  "3xl": "1.5rem",
13981
13700
  full: "9999px"
13982
13701
  };
13983
- radius_default = radii2;
13702
+ radius_default = radii;
13984
13703
  }
13985
13704
  });
13986
13705
 
@@ -14095,11 +13814,11 @@ var init_chunk_VW4MZLZF = __esm({
14095
13814
  });
14096
13815
 
14097
13816
  // ../../node_modules/@chakra-ui/theme/dist/chunk-NIUVG5KM.mjs
14098
- var spacing2;
13817
+ var spacing;
14099
13818
  var init_chunk_NIUVG5KM = __esm({
14100
13819
  "../../node_modules/@chakra-ui/theme/dist/chunk-NIUVG5KM.mjs"() {
14101
13820
  "use client";
14102
- spacing2 = {
13821
+ spacing = {
14103
13822
  px: "1px",
14104
13823
  0.5: "0.125rem",
14105
13824
  1: "0.25rem",
@@ -14138,11 +13857,11 @@ var init_chunk_NIUVG5KM = __esm({
14138
13857
  });
14139
13858
 
14140
13859
  // ../../node_modules/@chakra-ui/theme/dist/chunk-QH74K4BV.mjs
14141
- var largeSizes2, container2, sizes2, sizes_default;
13860
+ var largeSizes, container, sizes, sizes_default;
14142
13861
  var init_chunk_QH74K4BV = __esm({
14143
13862
  "../../node_modules/@chakra-ui/theme/dist/chunk-QH74K4BV.mjs"() {
14144
13863
  init_chunk_NIUVG5KM();
14145
- largeSizes2 = {
13864
+ largeSizes = {
14146
13865
  max: "max-content",
14147
13866
  min: "min-content",
14148
13867
  full: "100%",
@@ -14162,18 +13881,18 @@ var init_chunk_QH74K4BV = __esm({
14162
13881
  "8xl": "90rem",
14163
13882
  prose: "60ch"
14164
13883
  };
14165
- container2 = {
13884
+ container = {
14166
13885
  sm: "640px",
14167
13886
  md: "768px",
14168
13887
  lg: "1024px",
14169
13888
  xl: "1280px"
14170
13889
  };
14171
- sizes2 = {
14172
- ...spacing2,
14173
- ...largeSizes2,
14174
- container: container2
13890
+ sizes = {
13891
+ ...spacing,
13892
+ ...largeSizes,
13893
+ container
14175
13894
  };
14176
- sizes_default = sizes2;
13895
+ sizes_default = sizes;
14177
13896
  }
14178
13897
  });
14179
13898
 
@@ -14201,7 +13920,7 @@ var init_chunk_5FMCT5RQ = __esm({
14201
13920
  ...typography_default,
14202
13921
  sizes: sizes_default,
14203
13922
  shadows: shadows_default,
14204
- space: spacing2,
13923
+ space: spacing,
14205
13924
  borders: borders_default,
14206
13925
  transition: transition_default
14207
13926
  };
@@ -14379,7 +14098,7 @@ function createMultiStyleConfigHelpers(parts14) {
14379
14098
  }
14380
14099
  };
14381
14100
  }
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;
14101
+ 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
14102
  var init_dist3 = __esm({
14384
14103
  "../../node_modules/@chakra-ui/styled-system/dist/index.mjs"() {
14385
14104
  init_dist2();
@@ -15019,7 +14738,7 @@ var init_dist3 = __esm({
15019
14738
  ringOffsetColor: t.colors("--chakra-ring-offset-color"),
15020
14739
  ringInset: t.prop("--chakra-ring-inset")
15021
14740
  };
15022
- space2 = {
14741
+ space = {
15023
14742
  margin: t.spaceT("margin"),
15024
14743
  marginTop: t.spaceT("marginTop"),
15025
14744
  marginBlockStart: t.spaceT("marginBlockStart"),
@@ -15047,29 +14766,29 @@ var init_dist3 = __esm({
15047
14766
  paddingY: t.space(["paddingTop", "paddingBottom"]),
15048
14767
  paddingBlock: t.space("paddingBlock")
15049
14768
  };
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
14769
+ Object.assign(space, {
14770
+ m: space.margin,
14771
+ mt: space.marginTop,
14772
+ mr: space.marginRight,
14773
+ me: space.marginInlineEnd,
14774
+ marginEnd: space.marginInlineEnd,
14775
+ mb: space.marginBottom,
14776
+ ml: space.marginLeft,
14777
+ ms: space.marginInlineStart,
14778
+ marginStart: space.marginInlineStart,
14779
+ mx: space.marginX,
14780
+ my: space.marginY,
14781
+ p: space.padding,
14782
+ pt: space.paddingTop,
14783
+ py: space.paddingY,
14784
+ px: space.paddingX,
14785
+ pb: space.paddingBottom,
14786
+ pl: space.paddingLeft,
14787
+ ps: space.paddingInlineStart,
14788
+ paddingStart: space.paddingInlineStart,
14789
+ pr: space.paddingRight,
14790
+ pe: space.paddingInlineEnd,
14791
+ paddingEnd: space.paddingInlineEnd
15073
14792
  });
15074
14793
  textDecoration = {
15075
14794
  textDecorationColor: t.colors("textDecorationColor"),
@@ -15288,7 +15007,7 @@ var init_dist3 = __esm({
15288
15007
  others,
15289
15008
  position,
15290
15009
  effect,
15291
- space2,
15010
+ space,
15292
15011
  scroll,
15293
15012
  typography2,
15294
15013
  textDecoration,
@@ -15296,7 +15015,7 @@ var init_dist3 = __esm({
15296
15015
  list,
15297
15016
  transition2
15298
15017
  );
15299
- Object.assign({}, space2, layout, flexbox, grid, position);
15018
+ Object.assign({}, space, layout, flexbox, grid, position);
15300
15019
  [...Object.keys(systemProps), ...pseudoPropNames];
15301
15020
  ({ ...systemProps, ...pseudoSelectors });
15302
15021
  }
@@ -15633,7 +15352,7 @@ var init_dist4 = __esm({
15633
15352
  init_chunk_7LPD4XZ3();
15634
15353
  }
15635
15354
  });
15636
- var defineMultiStyleConfig2, definePartsStyle2, $width, $height, $diff, diffValue, $translateX, $bg, baseStyleTrack, baseStyleThumb, baseStyle2, sizes3, switchTheme;
15355
+ var defineMultiStyleConfig2, definePartsStyle2, $width, $height, $diff, diffValue, $translateX, $bg, baseStyleTrack, baseStyleThumb, baseStyle2, sizes2, switchTheme;
15637
15356
  var init_chunk_XRIBTYHG = __esm({
15638
15357
  "../../node_modules/@chakra-ui/theme/dist/chunk-XRIBTYHG.mjs"() {
15639
15358
  init_dist4();
@@ -15696,7 +15415,7 @@ var init_chunk_XRIBTYHG = __esm({
15696
15415
  track: baseStyleTrack(props),
15697
15416
  thumb: baseStyleThumb
15698
15417
  }));
15699
- sizes3 = {
15418
+ sizes2 = {
15700
15419
  sm: definePartsStyle2({
15701
15420
  container: {
15702
15421
  [$width.variable]: "1.375rem",
@@ -15718,7 +15437,7 @@ var init_chunk_XRIBTYHG = __esm({
15718
15437
  };
15719
15438
  switchTheme = defineMultiStyleConfig2({
15720
15439
  baseStyle: baseStyle2,
15721
- sizes: sizes3,
15440
+ sizes: sizes2,
15722
15441
  defaultProps: {
15723
15442
  size: "md",
15724
15443
  colorScheme: "blue"
@@ -15726,7 +15445,7 @@ var init_chunk_XRIBTYHG = __esm({
15726
15445
  });
15727
15446
  }
15728
15447
  });
15729
- var defineMultiStyleConfig3, definePartsStyle3, baseStyle3, numericStyles, variantSimple, variantStripe, variants, sizes4, tableTheme;
15448
+ var defineMultiStyleConfig3, definePartsStyle3, baseStyle3, numericStyles, variantSimple, variantStripe, variants, sizes3, tableTheme;
15730
15449
  var init_chunk_FI633VWD = __esm({
15731
15450
  "../../node_modules/@chakra-ui/theme/dist/chunk-FI633VWD.mjs"() {
15732
15451
  init_dist4();
@@ -15830,7 +15549,7 @@ var init_chunk_FI633VWD = __esm({
15830
15549
  striped: variantStripe,
15831
15550
  unstyled: defineStyle({})
15832
15551
  };
15833
- sizes4 = {
15552
+ sizes3 = {
15834
15553
  sm: definePartsStyle3({
15835
15554
  th: {
15836
15555
  px: "4",
@@ -15890,7 +15609,7 @@ var init_chunk_FI633VWD = __esm({
15890
15609
  tableTheme = defineMultiStyleConfig3({
15891
15610
  baseStyle: baseStyle3,
15892
15611
  variants,
15893
- sizes: sizes4,
15612
+ sizes: sizes3,
15894
15613
  defaultProps: {
15895
15614
  variant: "simple",
15896
15615
  size: "md",
@@ -15899,7 +15618,7 @@ var init_chunk_FI633VWD = __esm({
15899
15618
  });
15900
15619
  }
15901
15620
  });
15902
- var $fg, $bg2, $border, defineMultiStyleConfig4, definePartsStyle4, baseStyleRoot, baseStyleTab, baseStyleTablist, baseStyleTabpanel, baseStyle4, sizes5, variantLine, variantEnclosed, variantEnclosedColored, variantSoftRounded, variantSolidRounded, variantUnstyled, variants2, tabsTheme;
15621
+ var $fg, $bg2, $border, defineMultiStyleConfig4, definePartsStyle4, baseStyleRoot, baseStyleTab, baseStyleTablist, baseStyleTabpanel, baseStyle4, sizes4, variantLine, variantEnclosed, variantEnclosedColored, variantSoftRounded, variantSolidRounded, variantUnstyled, variants2, tabsTheme;
15903
15622
  var init_chunk_T6EHV47V = __esm({
15904
15623
  "../../node_modules/@chakra-ui/theme/dist/chunk-T6EHV47V.mjs"() {
15905
15624
  init_dist4();
@@ -15951,7 +15670,7 @@ var init_chunk_T6EHV47V = __esm({
15951
15670
  tablist: baseStyleTablist(props),
15952
15671
  tabpanel: baseStyleTabpanel
15953
15672
  }));
15954
- sizes5 = {
15673
+ sizes4 = {
15955
15674
  sm: definePartsStyle4({
15956
15675
  tab: {
15957
15676
  py: 1,
@@ -16120,7 +15839,7 @@ var init_chunk_T6EHV47V = __esm({
16120
15839
  };
16121
15840
  tabsTheme = defineMultiStyleConfig4({
16122
15841
  baseStyle: baseStyle4,
16123
- sizes: sizes5,
15842
+ sizes: sizes4,
16124
15843
  variants: variants2,
16125
15844
  defaultProps: {
16126
15845
  size: "md",
@@ -16197,7 +15916,7 @@ var init_chunk_4FUZMKSO = __esm({
16197
15916
  });
16198
15917
 
16199
15918
  // ../../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;
15919
+ var defineMultiStyleConfig5, definePartsStyle5, $bg3, $color, $shadow, $minH, $minW, $fontSize, $paddingX, baseStyleContainer, baseStyleLabel, baseStyleCloseButton, baseStyle6, sizes5, variants4, tagTheme;
16201
15920
  var init_chunk_VM3745AK = __esm({
16202
15921
  "../../node_modules/@chakra-ui/theme/dist/chunk-VM3745AK.mjs"() {
16203
15922
  init_chunk_4FUZMKSO();
@@ -16263,7 +15982,7 @@ var init_chunk_VM3745AK = __esm({
16263
15982
  label: baseStyleLabel,
16264
15983
  closeButton: baseStyleCloseButton
16265
15984
  });
16266
- sizes6 = {
15985
+ sizes5 = {
16267
15986
  sm: definePartsStyle5({
16268
15987
  container: {
16269
15988
  [$minH.variable]: "sizes.5",
@@ -16316,7 +16035,7 @@ var init_chunk_VM3745AK = __esm({
16316
16035
  tagTheme = defineMultiStyleConfig5({
16317
16036
  variants: variants4,
16318
16037
  baseStyle: baseStyle6,
16319
- sizes: sizes6,
16038
+ sizes: sizes5,
16320
16039
  defaultProps: {
16321
16040
  size: "md",
16322
16041
  variant: "subtle",
@@ -16332,7 +16051,7 @@ function getDefaults(props) {
16332
16051
  errorBorderColor: ec || themeTools.mode("red.500", "red.300")(props)
16333
16052
  };
16334
16053
  }
16335
- var definePartsStyle6, defineMultiStyleConfig6, $height2, $fontSize2, $padding, $borderRadius, baseStyle7, size, sizes7, variantOutline2, variantFilled, variantFlushed, variantUnstyled2, variants5, inputTheme;
16054
+ var definePartsStyle6, defineMultiStyleConfig6, $height2, $fontSize2, $padding, $borderRadius, baseStyle7, size, sizes6, variantOutline2, variantFilled, variantFlushed, variantUnstyled2, variants5, inputTheme;
16336
16055
  var init_chunk_FIZIJHUN = __esm({
16337
16056
  "../../node_modules/@chakra-ui/theme/dist/chunk-FIZIJHUN.mjs"() {
16338
16057
  init_dist4();
@@ -16393,7 +16112,7 @@ var init_chunk_FIZIJHUN = __esm({
16393
16112
  [$height2.variable]: "sizes.6"
16394
16113
  })
16395
16114
  };
16396
- sizes7 = {
16115
+ sizes6 = {
16397
16116
  lg: definePartsStyle6({
16398
16117
  field: size.lg,
16399
16118
  group: size.lg
@@ -16525,7 +16244,7 @@ var init_chunk_FIZIJHUN = __esm({
16525
16244
  };
16526
16245
  inputTheme = defineMultiStyleConfig6({
16527
16246
  baseStyle: baseStyle7,
16528
- sizes: sizes7,
16247
+ sizes: sizes6,
16529
16248
  variants: variants5,
16530
16249
  defaultProps: {
16531
16250
  size: "md",
@@ -16536,7 +16255,7 @@ var init_chunk_FIZIJHUN = __esm({
16536
16255
  });
16537
16256
 
16538
16257
  // ../../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;
16258
+ var _a, baseStyle8, _a2, _b, variants6, _a3, _b2, _c, _d, _e, _f, _g, _h, sizes7, textareaTheme;
16540
16259
  var init_chunk_TN6RO673 = __esm({
16541
16260
  "../../node_modules/@chakra-ui/theme/dist/chunk-TN6RO673.mjs"() {
16542
16261
  init_chunk_FIZIJHUN();
@@ -16569,7 +16288,7 @@ var init_chunk_TN6RO673 = __esm({
16569
16288
  ),
16570
16289
  unstyled: (_b = (_a2 = inputTheme.variants) == null ? void 0 : _a2.unstyled.field) != null ? _b : {}
16571
16290
  };
16572
- sizes8 = {
16291
+ sizes7 = {
16573
16292
  xs: (_b2 = (_a3 = inputTheme.sizes) == null ? void 0 : _a3.xs.field) != null ? _b2 : {},
16574
16293
  sm: (_d = (_c = inputTheme.sizes) == null ? void 0 : _c.sm.field) != null ? _d : {},
16575
16294
  md: (_f = (_e = inputTheme.sizes) == null ? void 0 : _e.md.field) != null ? _f : {},
@@ -16577,7 +16296,7 @@ var init_chunk_TN6RO673 = __esm({
16577
16296
  };
16578
16297
  textareaTheme = defineStyleConfig({
16579
16298
  baseStyle: baseStyle8,
16580
- sizes: sizes8,
16299
+ sizes: sizes7,
16581
16300
  variants: variants6,
16582
16301
  defaultProps: {
16583
16302
  size: "md",
@@ -16617,7 +16336,7 @@ var init_chunk_J54NBX2J = __esm({
16617
16336
  });
16618
16337
  }
16619
16338
  });
16620
- var defineMultiStyleConfig7, definePartsStyle7, filledStyle, baseStyleLabel2, baseStyleTrack2, baseStyleFilledTrack, baseStyle10, sizes9, progressTheme;
16339
+ var defineMultiStyleConfig7, definePartsStyle7, filledStyle, baseStyleLabel2, baseStyleTrack2, baseStyleFilledTrack, baseStyle10, sizes8, progressTheme;
16621
16340
  var init_chunk_BA7PF5LB = __esm({
16622
16341
  "../../node_modules/@chakra-ui/theme/dist/chunk-BA7PF5LB.mjs"() {
16623
16342
  init_dist4();
@@ -16665,7 +16384,7 @@ var init_chunk_BA7PF5LB = __esm({
16665
16384
  filledTrack: baseStyleFilledTrack(props),
16666
16385
  track: baseStyleTrack2(props)
16667
16386
  }));
16668
- sizes9 = {
16387
+ sizes8 = {
16669
16388
  xs: definePartsStyle7({
16670
16389
  track: { h: "1" }
16671
16390
  }),
@@ -16680,7 +16399,7 @@ var init_chunk_BA7PF5LB = __esm({
16680
16399
  })
16681
16400
  };
16682
16401
  progressTheme = defineMultiStyleConfig7({
16683
- sizes: sizes9,
16402
+ sizes: sizes8,
16684
16403
  baseStyle: baseStyle10,
16685
16404
  defaultProps: {
16686
16405
  size: "md",
@@ -16701,7 +16420,7 @@ var init_chunk_RQ25AHBB = __esm({
16701
16420
  isFunction = (value) => typeof value === "function";
16702
16421
  }
16703
16422
  });
16704
- var definePartsStyle8, defineMultiStyleConfig8, $size2, baseStyleControl, baseStyleContainer2, baseStyleLabel3, baseStyleIcon, baseStyle11, sizes10, checkboxTheme;
16423
+ var definePartsStyle8, defineMultiStyleConfig8, $size2, baseStyleControl, baseStyleContainer2, baseStyleLabel3, baseStyleIcon, baseStyle11, sizes9, checkboxTheme;
16705
16424
  var init_chunk_Y7UXPTSV = __esm({
16706
16425
  "../../node_modules/@chakra-ui/theme/dist/chunk-Y7UXPTSV.mjs"() {
16707
16426
  init_chunk_RQ25AHBB();
@@ -16768,7 +16487,7 @@ var init_chunk_Y7UXPTSV = __esm({
16768
16487
  control: runIfFn(baseStyleControl, props),
16769
16488
  label: baseStyleLabel3
16770
16489
  }));
16771
- sizes10 = {
16490
+ sizes9 = {
16772
16491
  sm: definePartsStyle8({
16773
16492
  control: { [$size2.variable]: "sizes.3" },
16774
16493
  label: { fontSize: "sm" },
@@ -16787,7 +16506,7 @@ var init_chunk_Y7UXPTSV = __esm({
16787
16506
  };
16788
16507
  checkboxTheme = defineMultiStyleConfig8({
16789
16508
  baseStyle: baseStyle11,
16790
- sizes: sizes10,
16509
+ sizes: sizes9,
16791
16510
  defaultProps: {
16792
16511
  size: "md",
16793
16512
  colorScheme: "blue"
@@ -16797,7 +16516,7 @@ var init_chunk_Y7UXPTSV = __esm({
16797
16516
  });
16798
16517
 
16799
16518
  // ../../node_modules/@chakra-ui/theme/dist/chunk-BJIKSU3K.mjs
16800
- var defineMultiStyleConfig9, definePartsStyle9, baseStyleControl2, baseStyle12, sizes11, radioTheme;
16519
+ var defineMultiStyleConfig9, definePartsStyle9, baseStyleControl2, baseStyle12, sizes10, radioTheme;
16801
16520
  var init_chunk_BJIKSU3K = __esm({
16802
16521
  "../../node_modules/@chakra-ui/theme/dist/chunk-BJIKSU3K.mjs"() {
16803
16522
  init_chunk_Y7UXPTSV();
@@ -16833,7 +16552,7 @@ var init_chunk_BJIKSU3K = __esm({
16833
16552
  control: baseStyleControl2(props)
16834
16553
  };
16835
16554
  });
16836
- sizes11 = {
16555
+ sizes10 = {
16837
16556
  md: definePartsStyle9({
16838
16557
  control: { w: "4", h: "4" },
16839
16558
  label: { fontSize: "md" }
@@ -16849,7 +16568,7 @@ var init_chunk_BJIKSU3K = __esm({
16849
16568
  };
16850
16569
  radioTheme = defineMultiStyleConfig9({
16851
16570
  baseStyle: baseStyle12,
16852
- sizes: sizes11,
16571
+ sizes: sizes10,
16853
16572
  defaultProps: {
16854
16573
  size: "md",
16855
16574
  colorScheme: "blue"
@@ -16859,7 +16578,7 @@ var init_chunk_BJIKSU3K = __esm({
16859
16578
  });
16860
16579
 
16861
16580
  // ../../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;
16581
+ var defineMultiStyleConfig10, definePartsStyle10, $bg5, _a4, baseStyleField, baseStyleIcon2, baseStyle13, iconSpacing, _a22, _b3, _c2, _d2, _e2, _f2, _g2, _h2, sizes11, selectTheme;
16863
16582
  var init_chunk_ILLVD2I4 = __esm({
16864
16583
  "../../node_modules/@chakra-ui/theme/dist/chunk-ILLVD2I4.mjs"() {
16865
16584
  init_chunk_FIZIJHUN();
@@ -16899,7 +16618,7 @@ var init_chunk_ILLVD2I4 = __esm({
16899
16618
  iconSpacing = defineStyle({
16900
16619
  paddingInlineEnd: "8"
16901
16620
  });
16902
- sizes12 = {
16621
+ sizes11 = {
16903
16622
  lg: {
16904
16623
  ...(_a22 = inputTheme.sizes) == null ? void 0 : _a22.lg,
16905
16624
  field: {
@@ -16934,7 +16653,7 @@ var init_chunk_ILLVD2I4 = __esm({
16934
16653
  };
16935
16654
  selectTheme = defineMultiStyleConfig10({
16936
16655
  baseStyle: baseStyle13,
16937
- sizes: sizes12,
16656
+ sizes: sizes11,
16938
16657
  variants: inputTheme.variants,
16939
16658
  defaultProps: inputTheme.defaultProps
16940
16659
  });
@@ -16993,7 +16712,7 @@ var init_chunk_URZN3QPP = __esm({
16993
16712
  });
16994
16713
  }
16995
16714
  });
16996
- var defineMultiStyleConfig11, definePartsStyle11, $thumbSize, $trackSize, $bg7, baseStyleContainer3, baseStyleTrack3, baseStyleThumb2, baseStyleFilledTrack2, baseStyle16, sizeLg, sizeMd, sizeSm, sizes13, sliderTheme;
16715
+ var defineMultiStyleConfig11, definePartsStyle11, $thumbSize, $trackSize, $bg7, baseStyleContainer3, baseStyleTrack3, baseStyleThumb2, baseStyleFilledTrack2, baseStyle16, sizeLg, sizeMd, sizeSm, sizes12, sliderTheme;
16997
16716
  var init_chunk_PUPKOASV = __esm({
16998
16717
  "../../node_modules/@chakra-ui/theme/dist/chunk-PUPKOASV.mjs"() {
16999
16718
  init_dist4();
@@ -17123,14 +16842,14 @@ var init_chunk_PUPKOASV = __esm({
17123
16842
  [$trackSize.variable]: `sizes.0.5`
17124
16843
  }
17125
16844
  });
17126
- sizes13 = {
16845
+ sizes12 = {
17127
16846
  lg: sizeLg,
17128
16847
  md: sizeMd,
17129
16848
  sm: sizeSm
17130
16849
  };
17131
16850
  sliderTheme = defineMultiStyleConfig11({
17132
16851
  baseStyle: baseStyle16,
17133
- sizes: sizes13,
16852
+ sizes: sizes12,
17134
16853
  defaultProps: {
17135
16854
  size: "md",
17136
16855
  colorScheme: "blue"
@@ -17138,7 +16857,7 @@ var init_chunk_PUPKOASV = __esm({
17138
16857
  });
17139
16858
  }
17140
16859
  });
17141
- var $size3, baseStyle17, sizes14, spinnerTheme;
16860
+ var $size3, baseStyle17, sizes13, spinnerTheme;
17142
16861
  var init_chunk_HOBQJOCR = __esm({
17143
16862
  "../../node_modules/@chakra-ui/theme/dist/chunk-HOBQJOCR.mjs"() {
17144
16863
  init_dist3();
@@ -17147,7 +16866,7 @@ var init_chunk_HOBQJOCR = __esm({
17147
16866
  width: [$size3.reference],
17148
16867
  height: [$size3.reference]
17149
16868
  });
17150
- sizes14 = {
16869
+ sizes13 = {
17151
16870
  xs: defineStyle({
17152
16871
  [$size3.variable]: "sizes.3"
17153
16872
  }),
@@ -17166,7 +16885,7 @@ var init_chunk_HOBQJOCR = __esm({
17166
16885
  };
17167
16886
  spinnerTheme = defineStyleConfig({
17168
16887
  baseStyle: baseStyle17,
17169
- sizes: sizes14,
16888
+ sizes: sizes13,
17170
16889
  defaultProps: {
17171
16890
  size: "md"
17172
16891
  }
@@ -17175,7 +16894,7 @@ var init_chunk_HOBQJOCR = __esm({
17175
16894
  });
17176
16895
 
17177
16896
  // ../../node_modules/@chakra-ui/theme/dist/chunk-66QM3UU6.mjs
17178
- var defineMultiStyleConfig12, definePartsStyle12, baseStyleLabel4, baseStyleHelpText, baseStyleNumber, baseStyleIcon3, baseStyle18, sizes15, statTheme;
16897
+ var defineMultiStyleConfig12, definePartsStyle12, baseStyleLabel4, baseStyleHelpText, baseStyleNumber, baseStyleIcon3, baseStyle18, sizes14, statTheme;
17179
16898
  var init_chunk_66QM3UU6 = __esm({
17180
16899
  "../../node_modules/@chakra-ui/theme/dist/chunk-66QM3UU6.mjs"() {
17181
16900
  init_dist4();
@@ -17205,7 +16924,7 @@ var init_chunk_66QM3UU6 = __esm({
17205
16924
  number: baseStyleNumber,
17206
16925
  icon: baseStyleIcon3
17207
16926
  });
17208
- sizes15 = {
16927
+ sizes14 = {
17209
16928
  md: definePartsStyle12({
17210
16929
  label: { fontSize: "sm" },
17211
16930
  helpText: { fontSize: "sm" },
@@ -17214,7 +16933,7 @@ var init_chunk_66QM3UU6 = __esm({
17214
16933
  };
17215
16934
  statTheme = defineMultiStyleConfig12({
17216
16935
  baseStyle: baseStyle18,
17217
- sizes: sizes15,
16936
+ sizes: sizes14,
17218
16937
  defaultProps: {
17219
16938
  size: "md"
17220
16939
  }
@@ -17408,7 +17127,7 @@ function getSize(value) {
17408
17127
  dialog: { maxW: value }
17409
17128
  });
17410
17129
  }
17411
- var defineMultiStyleConfig15, definePartsStyle15, $bg10, $shadow3, baseStyleOverlay, baseStyleDialogContainer, baseStyleDialog, baseStyleHeader, baseStyleCloseButton2, baseStyleBody, baseStyleFooter, baseStyle23, sizes16, modalTheme;
17130
+ var defineMultiStyleConfig15, definePartsStyle15, $bg10, $shadow3, baseStyleOverlay, baseStyleDialogContainer, baseStyleDialog, baseStyleHeader, baseStyleCloseButton2, baseStyleBody, baseStyleFooter, baseStyle23, sizes15, modalTheme;
17412
17131
  var init_chunk_JIVTZ35T = __esm({
17413
17132
  "../../node_modules/@chakra-ui/theme/dist/chunk-JIVTZ35T.mjs"() {
17414
17133
  init_chunk_RQ25AHBB();
@@ -17484,7 +17203,7 @@ var init_chunk_JIVTZ35T = __esm({
17484
17203
  body: runIfFn(baseStyleBody, props),
17485
17204
  footer: baseStyleFooter
17486
17205
  }));
17487
- sizes16 = {
17206
+ sizes15 = {
17488
17207
  xs: getSize("xs"),
17489
17208
  sm: getSize("sm"),
17490
17209
  md: getSize("md"),
@@ -17499,7 +17218,7 @@ var init_chunk_JIVTZ35T = __esm({
17499
17218
  };
17500
17219
  modalTheme = defineMultiStyleConfig15({
17501
17220
  baseStyle: baseStyle23,
17502
- sizes: sizes16,
17221
+ sizes: sizes15,
17503
17222
  defaultProps: { size: "md" }
17504
17223
  });
17505
17224
  }
@@ -17534,7 +17253,7 @@ function getSize2(size2) {
17534
17253
  }
17535
17254
  });
17536
17255
  }
17537
- var defineMultiStyleConfig16, definePartsStyle16, $stepperWidth, $inputPadding, inputPaddingValue, $bg11, $fg3, $border2, baseStyleRoot2, baseStyleField2, baseStyleStepperGroup, baseStyleStepper, baseStyle24, sizes17, numberInputTheme;
17256
+ var defineMultiStyleConfig16, definePartsStyle16, $stepperWidth, $inputPadding, inputPaddingValue, $bg11, $fg3, $border2, baseStyleRoot2, baseStyleField2, baseStyleStepperGroup, baseStyleStepper, baseStyle24, sizes16, numberInputTheme;
17538
17257
  var init_chunk_VEZNC4IQ = __esm({
17539
17258
  "../../node_modules/@chakra-ui/theme/dist/chunk-VEZNC4IQ.mjs"() {
17540
17259
  init_chunk_VW4MZLZF();
@@ -17593,7 +17312,7 @@ var init_chunk_VEZNC4IQ = __esm({
17593
17312
  stepper: baseStyleStepper
17594
17313
  };
17595
17314
  });
17596
- sizes17 = {
17315
+ sizes16 = {
17597
17316
  xs: getSize2("xs"),
17598
17317
  sm: getSize2("sm"),
17599
17318
  md: getSize2("md"),
@@ -17601,7 +17320,7 @@ var init_chunk_VEZNC4IQ = __esm({
17601
17320
  };
17602
17321
  numberInputTheme = defineMultiStyleConfig16({
17603
17322
  baseStyle: baseStyle24,
17604
- sizes: sizes17,
17323
+ sizes: sizes16,
17605
17324
  variants: inputTheme.variants,
17606
17325
  defaultProps: inputTheme.defaultProps
17607
17326
  });
@@ -17609,7 +17328,7 @@ var init_chunk_VEZNC4IQ = __esm({
17609
17328
  });
17610
17329
 
17611
17330
  // ../../node_modules/@chakra-ui/theme/dist/chunk-HFED6QOE.mjs
17612
- var _a5, baseStyle25, sizes18, _a23, _b4, variants7, pinInputTheme;
17331
+ var _a5, baseStyle25, sizes17, _a23, _b4, variants7, pinInputTheme;
17613
17332
  var init_chunk_HFED6QOE = __esm({
17614
17333
  "../../node_modules/@chakra-ui/theme/dist/chunk-HFED6QOE.mjs"() {
17615
17334
  init_chunk_FIZIJHUN();
@@ -17619,7 +17338,7 @@ var init_chunk_HFED6QOE = __esm({
17619
17338
  ...(_a5 = inputTheme.baseStyle) == null ? void 0 : _a5.field,
17620
17339
  textAlign: "center"
17621
17340
  });
17622
- sizes18 = {
17341
+ sizes17 = {
17623
17342
  lg: defineStyle({
17624
17343
  fontSize: "lg",
17625
17344
  w: 12,
@@ -17668,7 +17387,7 @@ var init_chunk_HFED6QOE = __esm({
17668
17387
  };
17669
17388
  pinInputTheme = defineStyleConfig({
17670
17389
  baseStyle: baseStyle25,
17671
- sizes: sizes18,
17390
+ sizes: sizes17,
17672
17391
  variants: variants7,
17673
17392
  defaultProps: inputTheme.defaultProps
17674
17393
  });
@@ -17750,7 +17469,7 @@ function getSize3(value) {
17750
17469
  dialog: { maxW: value }
17751
17470
  });
17752
17471
  }
17753
- var definePartsStyle18, defineMultiStyleConfig18, $bg12, $bs, baseStyleOverlay2, baseStyleDialogContainer2, baseStyleDialog2, baseStyleHeader3, baseStyleCloseButton4, baseStyleBody3, baseStyleFooter3, baseStyle27, sizes19, drawerTheme;
17472
+ var definePartsStyle18, defineMultiStyleConfig18, $bg12, $bs, baseStyleOverlay2, baseStyleDialogContainer2, baseStyleDialog2, baseStyleHeader3, baseStyleCloseButton4, baseStyleBody3, baseStyleFooter3, baseStyle27, sizes18, drawerTheme;
17754
17473
  var init_chunk_5FAATIOO = __esm({
17755
17474
  "../../node_modules/@chakra-ui/theme/dist/chunk-5FAATIOO.mjs"() {
17756
17475
  init_chunk_RQ25AHBB();
@@ -17815,7 +17534,7 @@ var init_chunk_5FAATIOO = __esm({
17815
17534
  body: baseStyleBody3,
17816
17535
  footer: baseStyleFooter3
17817
17536
  }));
17818
- sizes19 = {
17537
+ sizes18 = {
17819
17538
  xs: getSize3("xs"),
17820
17539
  sm: getSize3("md"),
17821
17540
  md: getSize3("lg"),
@@ -17825,7 +17544,7 @@ var init_chunk_5FAATIOO = __esm({
17825
17544
  };
17826
17545
  drawerTheme = defineMultiStyleConfig18({
17827
17546
  baseStyle: baseStyle27,
17828
- sizes: sizes19,
17547
+ sizes: sizes18,
17829
17548
  defaultProps: {
17830
17549
  size: "xs"
17831
17550
  }
@@ -17975,7 +17694,7 @@ var init_chunk_2RLCRBJQ = __esm({
17975
17694
  });
17976
17695
 
17977
17696
  // ../../node_modules/@chakra-ui/theme/dist/chunk-SZS2B4EE.mjs
17978
- var baseStyle32, sizes20, headingTheme;
17697
+ var baseStyle32, sizes19, headingTheme;
17979
17698
  var init_chunk_SZS2B4EE = __esm({
17980
17699
  "../../node_modules/@chakra-ui/theme/dist/chunk-SZS2B4EE.mjs"() {
17981
17700
  init_dist3();
@@ -17983,7 +17702,7 @@ var init_chunk_SZS2B4EE = __esm({
17983
17702
  fontFamily: "heading",
17984
17703
  fontWeight: "bold"
17985
17704
  });
17986
- sizes20 = {
17705
+ sizes19 = {
17987
17706
  "4xl": defineStyle({
17988
17707
  fontSize: ["6xl", null, "7xl"],
17989
17708
  lineHeight: 1
@@ -18019,7 +17738,7 @@ var init_chunk_SZS2B4EE = __esm({
18019
17738
  };
18020
17739
  headingTheme = defineStyleConfig({
18021
17740
  baseStyle: baseStyle32,
18022
- sizes: sizes20,
17741
+ sizes: sizes19,
18023
17742
  defaultProps: {
18024
17743
  size: "xl"
18025
17744
  }
@@ -18061,7 +17780,7 @@ var init_chunk_CHG7JP5U = __esm({
18061
17780
  });
18062
17781
  }
18063
17782
  });
18064
- var baseStyle34, variantGhost, variantOutline3, accessibleColorMap, variantSolid2, variantLink, variantUnstyled3, variants8, sizes21, buttonTheme;
17783
+ var baseStyle34, variantGhost, variantOutline3, accessibleColorMap, variantSolid2, variantLink, variantUnstyled3, variants8, sizes20, buttonTheme;
18065
17784
  var init_chunk_MMPN6JKT = __esm({
18066
17785
  "../../node_modules/@chakra-ui/theme/dist/chunk-MMPN6JKT.mjs"() {
18067
17786
  init_chunk_RQ25AHBB();
@@ -18205,7 +17924,7 @@ var init_chunk_MMPN6JKT = __esm({
18205
17924
  link: variantLink,
18206
17925
  unstyled: variantUnstyled3
18207
17926
  };
18208
- sizes21 = {
17927
+ sizes20 = {
18209
17928
  lg: defineStyle({
18210
17929
  h: "12",
18211
17930
  minW: "12",
@@ -18234,7 +17953,7 @@ var init_chunk_MMPN6JKT = __esm({
18234
17953
  buttonTheme = defineStyleConfig({
18235
17954
  baseStyle: baseStyle34,
18236
17955
  variants: variants8,
18237
- sizes: sizes21,
17956
+ sizes: sizes20,
18238
17957
  defaultProps: {
18239
17958
  variant: "solid",
18240
17959
  size: "md",
@@ -18245,7 +17964,7 @@ var init_chunk_MMPN6JKT = __esm({
18245
17964
  });
18246
17965
 
18247
17966
  // ../../node_modules/@chakra-ui/theme/dist/chunk-N5CTW2M4.mjs
18248
- var definePartsStyle23, defineMultiStyleConfig23, $bg13, $padding2, $shadow4, $radius, $border3, $borderColor, baseStyle35, sizes22, variants9, cardTheme;
17967
+ var definePartsStyle23, defineMultiStyleConfig23, $bg13, $padding2, $shadow4, $radius, $border3, $borderColor, baseStyle35, sizes21, variants9, cardTheme;
18249
17968
  var init_chunk_N5CTW2M4 = __esm({
18250
17969
  "../../node_modules/@chakra-ui/theme/dist/chunk-N5CTW2M4.mjs"() {
18251
17970
  init_dist4();
@@ -18278,7 +17997,7 @@ var init_chunk_N5CTW2M4 = __esm({
18278
17997
  padding: $padding2.reference
18279
17998
  }
18280
17999
  });
18281
- sizes22 = {
18000
+ sizes21 = {
18282
18001
  sm: definePartsStyle23({
18283
18002
  container: {
18284
18003
  [$radius.variable]: "radii.base",
@@ -18333,7 +18052,7 @@ var init_chunk_N5CTW2M4 = __esm({
18333
18052
  cardTheme = defineMultiStyleConfig23({
18334
18053
  baseStyle: baseStyle35,
18335
18054
  variants: variants9,
18336
- sizes: sizes22,
18055
+ sizes: sizes21,
18337
18056
  defaultProps: {
18338
18057
  variant: "elevated",
18339
18058
  size: "md"
@@ -18341,7 +18060,7 @@ var init_chunk_N5CTW2M4 = __esm({
18341
18060
  });
18342
18061
  }
18343
18062
  });
18344
- var $size4, $bg14, baseStyle36, sizes23, closeButtonTheme;
18063
+ var $size4, $bg14, baseStyle36, sizes22, closeButtonTheme;
18345
18064
  var init_chunk_FC2RT2FC = __esm({
18346
18065
  "../../node_modules/@chakra-ui/theme/dist/chunk-FC2RT2FC.mjs"() {
18347
18066
  init_dist3();
@@ -18375,7 +18094,7 @@ var init_chunk_FC2RT2FC = __esm({
18375
18094
  },
18376
18095
  bg: $bg14.reference
18377
18096
  });
18378
- sizes23 = {
18097
+ sizes22 = {
18379
18098
  lg: defineStyle({
18380
18099
  [$size4.variable]: "sizes.10",
18381
18100
  fontSize: "md"
@@ -18391,7 +18110,7 @@ var init_chunk_FC2RT2FC = __esm({
18391
18110
  };
18392
18111
  closeButtonTheme = defineStyleConfig({
18393
18112
  baseStyle: baseStyle36,
18394
- sizes: sizes23,
18113
+ sizes: sizes22,
18395
18114
  defaultProps: {
18396
18115
  size: "md"
18397
18116
  }
@@ -18653,7 +18372,7 @@ function getSize4(size2) {
18653
18372
  }
18654
18373
  });
18655
18374
  }
18656
- var definePartsStyle26, defineMultiStyleConfig26, $border4, $bg16, $fs, $size5, baseStyleBadge, baseStyleExcessLabel, baseStyleContainer5, baseStyleLabel5, baseStyle42, sizes24, avatarTheme;
18375
+ var definePartsStyle26, defineMultiStyleConfig26, $border4, $bg16, $fs, $size5, baseStyleBadge, baseStyleExcessLabel, baseStyleContainer5, baseStyleLabel5, baseStyle42, sizes23, avatarTheme;
18657
18376
  var init_chunk_EYWUA2TC = __esm({
18658
18377
  "../../node_modules/@chakra-ui/theme/dist/chunk-EYWUA2TC.mjs"() {
18659
18378
  init_chunk_QH74K4BV();
@@ -18719,7 +18438,7 @@ var init_chunk_EYWUA2TC = __esm({
18719
18438
  container: runIfFn(baseStyleContainer5, props),
18720
18439
  label: baseStyleLabel5
18721
18440
  }));
18722
- sizes24 = {
18441
+ sizes23 = {
18723
18442
  "2xs": getSize4(4),
18724
18443
  xs: getSize4(6),
18725
18444
  sm: getSize4(8),
@@ -18731,7 +18450,7 @@ var init_chunk_EYWUA2TC = __esm({
18731
18450
  };
18732
18451
  avatarTheme = defineMultiStyleConfig26({
18733
18452
  baseStyle: baseStyle42,
18734
- sizes: sizes24,
18453
+ sizes: sizes23,
18735
18454
  defaultProps: {
18736
18455
  size: "md"
18737
18456
  }
@@ -18831,82 +18550,368 @@ var init_chunk_BVEAU2MF = __esm({
18831
18550
  };
18832
18551
  }
18833
18552
  });
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
- }
18553
+
18554
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-SKQLGI36.mjs
18555
+ var semanticTokens;
18556
+ var init_chunk_SKQLGI36 = __esm({
18557
+ "../../node_modules/@chakra-ui/theme/dist/chunk-SKQLGI36.mjs"() {
18558
+ "use client";
18559
+ semanticTokens = {
18560
+ colors: {
18561
+ "chakra-body-text": { _light: "gray.800", _dark: "whiteAlpha.900" },
18562
+ "chakra-body-bg": { _light: "white", _dark: "gray.800" },
18563
+ "chakra-border-color": { _light: "gray.200", _dark: "whiteAlpha.300" },
18564
+ "chakra-inverse-text": { _light: "white", _dark: "gray.800" },
18565
+ "chakra-subtle-bg": { _light: "gray.100", _dark: "gray.700" },
18566
+ "chakra-subtle-text": { _light: "gray.600", _dark: "gray.400" },
18567
+ "chakra-placeholder-color": { _light: "gray.500", _dark: "whiteAlpha.400" }
18568
+ }
18569
+ };
18570
+ }
18571
+ });
18572
+
18573
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-RID7N3YQ.mjs
18574
+ var styles;
18575
+ var init_chunk_RID7N3YQ = __esm({
18576
+ "../../node_modules/@chakra-ui/theme/dist/chunk-RID7N3YQ.mjs"() {
18577
+ "use client";
18578
+ styles = {
18579
+ global: {
18580
+ body: {
18581
+ fontFamily: "body",
18582
+ color: "chakra-body-text",
18583
+ bg: "chakra-body-bg",
18584
+ transitionProperty: "background-color",
18585
+ transitionDuration: "normal",
18586
+ lineHeight: "base"
18587
+ },
18588
+ "*::placeholder": {
18589
+ color: "chakra-placeholder-color"
18590
+ },
18591
+ "*, *::before, &::after": {
18592
+ borderColor: "chakra-border-color"
18593
+ }
18594
+ }
18595
+ };
18596
+ }
18597
+ });
18598
+
18599
+ // ../../node_modules/@chakra-ui/theme/dist/index.mjs
18600
+ var direction, config, theme2;
18601
+ var init_dist5 = __esm({
18602
+ "../../node_modules/@chakra-ui/theme/dist/index.mjs"() {
18603
+ init_chunk_5FMCT5RQ();
18604
+ init_chunk_BVEAU2MF();
18605
+ init_chunk_SKQLGI36();
18606
+ init_chunk_RID7N3YQ();
18607
+ direction = "ltr";
18608
+ config = {
18609
+ useSystemColorMode: false,
18610
+ initialColorMode: "light",
18611
+ cssVarPrefix: "chakra"
18612
+ };
18613
+ theme2 = {
18614
+ semanticTokens,
18615
+ direction,
18616
+ ...foundations,
18617
+ components,
18618
+ styles,
18619
+ config
18620
+ };
18621
+ ({
18622
+ semanticTokens,
18623
+ direction,
18624
+ components: {},
18625
+ ...foundations,
18626
+ styles,
18627
+ config
18628
+ });
18629
+ }
18630
+ });
18631
+ var borders2;
18632
+ var init_borders = __esm({
18633
+ "src/theme/foundations/borders.ts"() {
18634
+ borders2 = {
18635
+ none: "0",
18636
+ sm: `${tokens10__namespace.default.size.stroke.sm} solid`,
18637
+ "sm-dashed": `${tokens10__namespace.default.size.stroke.sm} dashed`,
18638
+ md: `${tokens10__namespace.default.size.stroke.md} solid`,
18639
+ "md-dashed": `${tokens10__namespace.default.size.stroke.md} dashed`,
18640
+ lg: `${tokens10__namespace.default.size.stroke.lg} solid`,
18641
+ "lg-dashed": `${tokens10__namespace.default.size.stroke.lg} dashed`
18642
+ };
18643
+ }
18644
+ });
18645
+ var breakpoints2;
18646
+ var init_breakpoints = __esm({
18647
+ "src/theme/foundations/breakpoints.ts"() {
18648
+ breakpoints2 = {
18649
+ sm: tokens10__namespace.default.size.breakpoint.sm,
18650
+ md: tokens10__namespace.default.size.breakpoint.md,
18651
+ lg: tokens10__namespace.default.size.breakpoint.lg,
18652
+ xl: tokens10__namespace.default.size.breakpoint.lg,
18653
+ "2xl": tokens10__namespace.default.size.breakpoint.lg
18654
+ };
18655
+ }
18656
+ });
18657
+
18658
+ // src/theme/foundations/config.ts
18659
+ var config2;
18660
+ var init_config = __esm({
18661
+ "src/theme/foundations/config.ts"() {
18662
+ config2 = {
18663
+ cssVarPrefix: "spor",
18664
+ initialColorMode: "light",
18665
+ useSystemColorMode: false
18666
+ };
18667
+ }
18668
+ });
18669
+ var fonts;
18670
+ var init_fonts = __esm({
18671
+ "src/theme/foundations/fonts.ts"() {
18672
+ fonts = {
18673
+ body: tokens10__namespace.default.font.family.body,
18674
+ heading: tokens10__namespace.default.font.family.heading,
18675
+ mono: tokens10__namespace.default.font.family.monospace
18676
+ };
18677
+ }
18678
+ });
18679
+ var fontSizes;
18680
+ var init_fontSizes = __esm({
18681
+ "src/theme/foundations/fontSizes.ts"() {
18682
+ fontSizes = {
18683
+ "2xs": tokens10__namespace.default.size.font.xs.mobile,
18684
+ xs: tokens10__namespace.default.size.font.sm.mobile,
18685
+ sm: tokens10__namespace.default.size.font.md.mobile,
18686
+ md: tokens10__namespace.default.size.font.lg.mobile,
18687
+ lg: tokens10__namespace.default.size.font.xl.mobile,
18688
+ xl: tokens10__namespace.default.size.font.xxl.mobile,
18689
+ "2xl": tokens10__namespace.default.size.font.xl.desktop,
18690
+ "3xl": tokens10__namespace.default.size.font.xxl.desktop,
18691
+ mobile: {
18692
+ xs: tokens10__namespace.default.size.font.xs.mobile,
18693
+ sm: tokens10__namespace.default.size.font.sm.mobile,
18694
+ md: tokens10__namespace.default.size.font.md.mobile,
18695
+ lg: tokens10__namespace.default.size.font.lg.mobile,
18696
+ xl: tokens10__namespace.default.size.font.xl.mobile,
18697
+ xxl: tokens10__namespace.default.size.font.xxl.mobile
18698
+ },
18699
+ desktop: {
18700
+ xs: tokens10__namespace.default.size.font.xs.desktop,
18701
+ sm: tokens10__namespace.default.size.font.sm.desktop,
18702
+ md: tokens10__namespace.default.size.font.md.desktop,
18703
+ lg: tokens10__namespace.default.size.font.lg.desktop,
18704
+ xl: tokens10__namespace.default.size.font.xl.desktop,
18705
+ xxl: tokens10__namespace.default.size.font.xxl.desktop
18706
+ }
18707
+ };
18708
+ }
18709
+ });
18710
+
18711
+ // src/theme/foundations/fontWeights.ts
18712
+ var fontWeights;
18713
+ var init_fontWeights = __esm({
18714
+ "src/theme/foundations/fontWeights.ts"() {
18715
+ fontWeights = {
18716
+ light: 300,
18717
+ medium: 400,
18718
+ bold: 700
18719
+ };
18720
+ }
18721
+ });
18722
+ var lineHeights;
18723
+ var init_lineHeights = __esm({
18724
+ "src/theme/foundations/lineHeights.ts"() {
18725
+ lineHeights = {
18726
+ normal: tokens10__namespace.default.font.style.lg["line-height"]
18850
18727
  };
18851
18728
  }
18852
18729
  });
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
- }
18730
+ var radii2;
18731
+ var init_radii = __esm({
18732
+ "src/theme/foundations/radii.ts"() {
18733
+ radii2 = {
18734
+ none: tokens10__namespace.default.size["border-radius"].none,
18735
+ xs: tokens10__namespace.default.size["border-radius"].xs,
18736
+ sm: tokens10__namespace.default.size["border-radius"].sm,
18737
+ md: tokens10__namespace.default.size["border-radius"].md,
18738
+ lg: tokens10__namespace.default.size["border-radius"].lg,
18739
+ xl: tokens10__namespace.default.size["border-radius"].xl,
18740
+ "2xl": tokens10__namespace.default.size["border-radius"]["2xl"],
18741
+ round: "50%"
18876
18742
  };
18877
18743
  }
18878
18744
  });
18745
+ var spacing2, space2;
18746
+ var init_spacing = __esm({
18747
+ "src/theme/foundations/spacing.ts"() {
18748
+ spacing2 = Object.entries(tokens10__namespace.default.size.spacing).reduce(
18749
+ (tokens14, [key, token]) => ({
18750
+ ...tokens14,
18751
+ [Number(key)]: token
18752
+ }),
18753
+ {}
18754
+ );
18755
+ space2 = spacing2;
18756
+ }
18757
+ });
18879
18758
 
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"
18759
+ // src/theme/foundations/sizes.ts
18760
+ var largeSizes2, container2, sizes24;
18761
+ var init_sizes = __esm({
18762
+ "src/theme/foundations/sizes.ts"() {
18763
+ init_spacing();
18764
+ largeSizes2 = {
18765
+ max: "max-content",
18766
+ min: "min-content",
18767
+ full: "100%",
18768
+ "3xs": "14rem",
18769
+ "2xs": "16rem",
18770
+ xs: "20rem",
18771
+ sm: "24rem",
18772
+ md: "28rem",
18773
+ lg: "32rem",
18774
+ xl: "36rem",
18775
+ "2xl": "42rem",
18776
+ "3xl": "48rem",
18777
+ "4xl": "56rem",
18778
+ "5xl": "64rem",
18779
+ "6xl": "72rem",
18780
+ "7xl": "80rem",
18781
+ "8xl": "90rem"
18893
18782
  };
18894
- theme2 = {
18895
- semanticTokens,
18896
- direction,
18897
- ...foundations,
18898
- components,
18899
- styles,
18900
- config: config2
18783
+ container2 = {
18784
+ sm: "640px",
18785
+ md: "768px",
18786
+ lg: "1024px",
18787
+ xl: "1280px"
18901
18788
  };
18902
- ({
18903
- semanticTokens,
18904
- direction,
18905
- components: {},
18906
- ...foundations,
18907
- styles,
18908
- config: config2
18909
- });
18789
+ sizes24 = {
18790
+ ...spacing2,
18791
+ ...largeSizes2,
18792
+ container: container2
18793
+ };
18794
+ }
18795
+ });
18796
+ var textStyles;
18797
+ var init_textStyles = __esm({
18798
+ "src/theme/foundations/textStyles.ts"() {
18799
+ textStyles = {
18800
+ "2xl": {
18801
+ fontSize: [
18802
+ tokens10__namespace.default.font.style.xxl["font-size"].mobile,
18803
+ tokens10__namespace.default.font.style.xxl["font-size"].desktop
18804
+ ],
18805
+ fontFamily: tokens10__namespace.default.font.style.xxl["font-family"],
18806
+ lineHeight: tokens10__namespace.default.font.style.xxl["line-height"]
18807
+ },
18808
+ "xl-display": {
18809
+ fontSize: [
18810
+ tokens10__namespace.default.font.style["xl-display"]["font-size"].mobile,
18811
+ tokens10__namespace.default.font.style["xl-display"]["font-size"].desktop
18812
+ ],
18813
+ fontFamily: tokens10__namespace.default.font.style["xl-display"]["font-family"],
18814
+ lineHeight: tokens10__namespace.default.font.style["xl-display"]["line-height"]
18815
+ },
18816
+ "xl-sans": {
18817
+ fontSize: [
18818
+ tokens10__namespace.default.font.style["xl-sans"]["font-size"].mobile,
18819
+ tokens10__namespace.default.font.style["xl-sans"]["font-size"].desktop
18820
+ ],
18821
+ fontFamily: tokens10__namespace.default.font.style["xl-sans"]["font-family"],
18822
+ lineHeight: tokens10__namespace.default.font.style["xl-sans"]["line-height"]
18823
+ },
18824
+ lg: {
18825
+ fontSize: [
18826
+ tokens10__namespace.default.font.style.lg["font-size"].mobile,
18827
+ tokens10__namespace.default.font.style.lg["font-size"].desktop
18828
+ ],
18829
+ fontFamily: tokens10__namespace.default.font.style.lg["font-family"],
18830
+ lineHeight: tokens10__namespace.default.font.style.lg["line-height"]
18831
+ },
18832
+ md: {
18833
+ fontSize: [
18834
+ tokens10__namespace.default.font.style.md["font-size"].mobile,
18835
+ tokens10__namespace.default.font.style.md["font-size"].desktop
18836
+ ],
18837
+ fontFamily: tokens10__namespace.default.font.style.md["font-family"],
18838
+ lineHeight: tokens10__namespace.default.font.style.md["line-height"]
18839
+ },
18840
+ sm: {
18841
+ fontSize: [
18842
+ tokens10__namespace.default.font.style.sm["font-size"].mobile,
18843
+ tokens10__namespace.default.font.style.sm["font-size"].desktop
18844
+ ],
18845
+ fontFamily: tokens10__namespace.default.font.style.sm["font-family"],
18846
+ lineHeight: tokens10__namespace.default.font.style.sm["line-height"]
18847
+ },
18848
+ xs: {
18849
+ fontSize: [
18850
+ tokens10__namespace.default.font.style.xs["font-size"].mobile,
18851
+ tokens10__namespace.default.font.style.xs["font-size"].desktop
18852
+ ],
18853
+ fontFamily: tokens10__namespace.default.font.style.xs["font-family"],
18854
+ lineHeight: tokens10__namespace.default.font.style.xs["line-height"]
18855
+ }
18856
+ };
18857
+ }
18858
+ });
18859
+ var zIndices2;
18860
+ var init_zIndices = __esm({
18861
+ "src/theme/foundations/zIndices.ts"() {
18862
+ zIndices2 = {
18863
+ hide: tokens10__namespace.default.depth["z-index"].hide,
18864
+ auto: "auto",
18865
+ base: tokens10__namespace.default.depth["z-index"].base,
18866
+ docked: tokens10__namespace.default.depth["z-index"].docked,
18867
+ dropdown: tokens10__namespace.default.depth["z-index"].dropdown,
18868
+ sticky: tokens10__namespace.default.depth["z-index"].sticky,
18869
+ banner: tokens10__namespace.default.depth["z-index"].banner,
18870
+ overlay: tokens10__namespace.default.depth["z-index"].overlay,
18871
+ modal: tokens10__namespace.default.depth["z-index"].modal,
18872
+ popover: tokens10__namespace.default.depth["z-index"].popover,
18873
+ skipLink: tokens10__namespace.default.depth["z-index"].skipLink,
18874
+ toast: tokens10__namespace.default.depth["z-index"].toast,
18875
+ tooltip: tokens10__namespace.default.depth["z-index"].tooltip
18876
+ };
18877
+ }
18878
+ });
18879
+
18880
+ // src/theme/foundations/index.ts
18881
+ var foundations_exports = {};
18882
+ __export(foundations_exports, {
18883
+ borders: () => borders2,
18884
+ breakpoints: () => breakpoints2,
18885
+ colors: () => colors,
18886
+ config: () => config2,
18887
+ fontSizes: () => fontSizes,
18888
+ fontWeights: () => fontWeights,
18889
+ fonts: () => fonts,
18890
+ lineHeights: () => lineHeights,
18891
+ radii: () => radii2,
18892
+ shadows: () => shadows,
18893
+ sizes: () => sizes24,
18894
+ space: () => space2,
18895
+ spacing: () => spacing2,
18896
+ textStyles: () => textStyles,
18897
+ zIndices: () => zIndices2
18898
+ });
18899
+ var init_foundations = __esm({
18900
+ "src/theme/foundations/index.ts"() {
18901
+ init_borders();
18902
+ init_breakpoints();
18903
+ init_colors();
18904
+ init_config();
18905
+ init_fonts();
18906
+ init_fontSizes();
18907
+ init_fontWeights();
18908
+ init_lineHeights();
18909
+ init_radii();
18910
+ init_shadows();
18911
+ init_sizes();
18912
+ init_spacing();
18913
+ init_textStyles();
18914
+ init_zIndices();
18910
18915
  }
18911
18916
  });
18912
18917
 
@@ -20026,7 +20031,7 @@ var init_datepicker2 = __esm({
20026
20031
  borderColor: themeTools.mode("darkGrey", "white")(props),
20027
20032
  borderWidth: 2
20028
20033
  }),
20029
- zIndex: zIndices.docked
20034
+ zIndex: zIndices2.docked
20030
20035
  },
20031
20036
  _focusWithin: {
20032
20037
  boxShadow: getBoxShadowString({
@@ -20062,7 +20067,7 @@ var init_datepicker2 = __esm({
20062
20067
  },
20063
20068
  dateTimeSegment: {
20064
20069
  color: themeTools.mode(
20065
- props.isEditable ? "darkGrey" : "dimGrey",
20070
+ "darkGrey",
20066
20071
  props.isPlaceholder ? "whiteAlpha.400" : "white"
20067
20072
  )(props)
20068
20073
  },
@@ -20184,7 +20189,14 @@ var init_datepicker2 = __esm({
20184
20189
  boxShadow: getBoxShadowString({
20185
20190
  borderWidth: 1,
20186
20191
  borderColor: themeTools.mode("osloGrey", "dimGrey")(props)
20187
- })
20192
+ }),
20193
+ _focus: {
20194
+ outline: "none",
20195
+ boxShadow: getBoxShadowString({
20196
+ borderWidth: 2,
20197
+ borderColor: themeTools.mode("greenHaze", "azure")(props)
20198
+ })
20199
+ }
20188
20200
  },
20189
20201
  "&[data-unavailable]": {
20190
20202
  pointerEvents: "none",
@@ -22849,7 +22861,7 @@ var init_theme = __esm({
22849
22861
  };
22850
22862
  }
22851
22863
  });
22852
- var BaseToast, ToastIcon, getIcon3, texts22;
22864
+ var BaseToast, ToastIcon, getIcon3, texts23;
22853
22865
  var init_BaseToast = __esm({
22854
22866
  "src/toast/BaseToast.tsx"() {
22855
22867
  init_src();
@@ -22864,7 +22876,7 @@ var init_BaseToast = __esm({
22864
22876
  Icon,
22865
22877
  {
22866
22878
  flexShrink: 0,
22867
- "aria-label": t2(texts22[variant]),
22879
+ "aria-label": t2(texts23[variant]),
22868
22880
  marginRight: 1,
22869
22881
  marginY: 1.5,
22870
22882
  color: "darkGrey"
@@ -22881,7 +22893,7 @@ var init_BaseToast = __esm({
22881
22893
  return sporIconReact.ErrorOutline24Icon;
22882
22894
  }
22883
22895
  };
22884
- texts22 = createTexts({
22896
+ texts23 = createTexts({
22885
22897
  info: {
22886
22898
  nb: "Informasjon",
22887
22899
  nn: "Informasjon",
@@ -22919,7 +22931,7 @@ var init_ActionToast = __esm({
22919
22931
  };
22920
22932
  }
22921
22933
  });
22922
- var ClosableToast, texts23;
22934
+ var ClosableToast, texts24;
22923
22935
  var init_ClosableToast = __esm({
22924
22936
  "src/toast/ClosableToast.tsx"() {
22925
22937
  init_src();
@@ -22937,13 +22949,13 @@ var init_ClosableToast = __esm({
22937
22949
  {
22938
22950
  sx: styles2.dismissButton,
22939
22951
  variant: "ghost",
22940
- "aria-label": t2(texts23.dismiss),
22952
+ "aria-label": t2(texts24.dismiss),
22941
22953
  icon: /* @__PURE__ */ React49__namespace.default.createElement(sporIconReact.CloseFill18Icon, null),
22942
22954
  onClick: onClose
22943
22955
  }
22944
22956
  ));
22945
22957
  };
22946
- texts23 = createTexts({
22958
+ texts24 = createTexts({
22947
22959
  dismiss: {
22948
22960
  nb: "Lukk",
22949
22961
  nn: "Lukk",
@@ -23344,7 +23356,6 @@ Object.defineProperty(exports, 'Time', {
23344
23356
  enumerable: true,
23345
23357
  get: function () { return date.Time; }
23346
23358
  });
23347
- exports.tokens = tokens10__namespace;
23348
23359
  Object.defineProperty(exports, 'Item', {
23349
23360
  enumerable: true,
23350
23361
  get: function () { return reactStately.Item; }
@@ -23353,6 +23364,7 @@ Object.defineProperty(exports, 'Section', {
23353
23364
  enumerable: true,
23354
23365
  get: function () { return reactStately.Section; }
23355
23366
  });
23367
+ exports.tokens = tokens10__namespace;
23356
23368
  exports.Combobox = Combobox;
23357
23369
  exports.DateRangePicker = DateRangePicker;
23358
23370
  exports.DrawerHeader = exports.ModalHeader;