@vygruppen/spor-react 3.2.0 → 3.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,15 +1,15 @@
1
1
  'use strict';
2
2
 
3
- var React49 = require('react');
4
3
  var react = require('@chakra-ui/react');
4
+ var React49 = require('react');
5
5
  var lottieReact = require('lottie-react');
6
6
  var sporLoader = require('@vygruppen/spor-loader');
7
7
  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');
@@ -67,6 +67,42 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
67
67
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
68
68
  mod
69
69
  ));
70
+ exports.Divider = void 0;
71
+ var init_Divider = __esm({
72
+ "src/layout/Divider.tsx"() {
73
+ exports.Divider = react.forwardRef((props, ref) => {
74
+ return /* @__PURE__ */ React49__namespace.default.createElement(
75
+ react.Box,
76
+ {
77
+ as: "hr",
78
+ height: "2px",
79
+ border: "0",
80
+ borderRadius: "1px",
81
+ backgroundColor: "blackAlpha.200",
82
+ width: "100%",
83
+ ...props,
84
+ ref
85
+ }
86
+ );
87
+ });
88
+ }
89
+ });
90
+ exports.Stack = void 0;
91
+ var init_Stack = __esm({
92
+ "src/layout/Stack.tsx"() {
93
+ exports.Stack = react.forwardRef(
94
+ ({ flexDirection, ...props }, ref) => {
95
+ return /* @__PURE__ */ React49__namespace.default.createElement(react.Stack, { ...props, direction: flexDirection, ref });
96
+ }
97
+ );
98
+ }
99
+ });
100
+ var init_layout = __esm({
101
+ "src/layout/index.tsx"() {
102
+ init_Divider();
103
+ init_Stack();
104
+ }
105
+ });
70
106
  var AccordionContext, AccordionProvider, useAccordionContext;
71
107
  var init_AccordionContext = __esm({
72
108
  "src/accordion/AccordionContext.tsx"() {
@@ -91,18 +127,22 @@ var init_AccordionContext = __esm({
91
127
  exports.Accordion = void 0;
92
128
  var init_Accordion = __esm({
93
129
  "src/accordion/Accordion.tsx"() {
130
+ init_layout();
94
131
  init_AccordionContext();
95
- exports.Accordion = react.forwardRef((props, ref) => {
96
- const defaultIndex = typeof props.defaultIndex === "number" && props.allowMultiple ? [props.defaultIndex] : props.defaultIndex;
97
- return /* @__PURE__ */ React49__namespace.default.createElement(AccordionProvider, { size: props.size }, /* @__PURE__ */ React49__namespace.default.createElement(
98
- react.Accordion,
99
- {
100
- ...props,
101
- ref,
102
- defaultIndex
103
- }
104
- ));
105
- });
132
+ exports.Accordion = react.forwardRef(
133
+ ({ children, spacing: spacing3 = 2, ...props }, ref) => {
134
+ const defaultIndex = typeof props.defaultIndex === "number" && props.allowMultiple ? [props.defaultIndex] : props.defaultIndex;
135
+ return /* @__PURE__ */ React49__namespace.default.createElement(AccordionProvider, { size: props.size }, /* @__PURE__ */ React49__namespace.default.createElement(
136
+ react.Accordion,
137
+ {
138
+ ...props,
139
+ ref,
140
+ defaultIndex
141
+ },
142
+ /* @__PURE__ */ React49__namespace.default.createElement(exports.Stack, { spacing: spacing3 }, children)
143
+ ));
144
+ }
145
+ );
106
146
  }
107
147
  });
108
148
  exports.Expandable = void 0; exports.ExpandableItem = void 0; var warnAboutMismatchingIcon;
@@ -137,7 +177,7 @@ var init_Expandable = __esm({
137
177
  }) => {
138
178
  const { size: size2 } = useAccordionContext();
139
179
  warnAboutMismatchingIcon({ icon: leftIcon, size: size2 });
140
- return /* @__PURE__ */ React49__namespace.default.createElement(react.AccordionItem, { ...rest }, /* @__PURE__ */ React49__namespace.default.createElement(react.Box, { as: headingLevel }, /* @__PURE__ */ React49__namespace.default.createElement(react.AccordionButton, null, /* @__PURE__ */ React49__namespace.default.createElement(react.Flex, { alignItems: "center" }, leftIcon && /* @__PURE__ */ React49__namespace.default.createElement(react.Box, { mr: 2 }, leftIcon), title), /* @__PURE__ */ React49__namespace.default.createElement(react.AccordionIcon, null))), /* @__PURE__ */ React49__namespace.default.createElement(react.AccordionPanel, null, children));
180
+ return /* @__PURE__ */ React49__namespace.default.createElement(react.AccordionItem, { ...rest }, /* @__PURE__ */ React49__namespace.default.createElement(react.Box, { as: headingLevel }, /* @__PURE__ */ React49__namespace.default.createElement(react.AccordionButton, null, /* @__PURE__ */ React49__namespace.default.createElement(react.Flex, { alignItems: "center" }, leftIcon && /* @__PURE__ */ React49__namespace.default.createElement(react.Box, { marginRight: 1 }, leftIcon), title), /* @__PURE__ */ React49__namespace.default.createElement(react.AccordionIcon, null))), /* @__PURE__ */ React49__namespace.default.createElement(react.AccordionPanel, null, children));
141
181
  };
142
182
  warnAboutMismatchingIcon = ({ icon, size: size2 }) => {
143
183
  var _a6, _b5;
@@ -204,8 +244,8 @@ function useTranslation() {
204
244
  };
205
245
  return { t: t2, language };
206
246
  }
207
- function createTexts(texts24) {
208
- return texts24;
247
+ function createTexts(texts25) {
248
+ return texts25;
209
249
  }
210
250
  exports.Language = void 0; var LanguageContext;
211
251
  var init_i18n = __esm({
@@ -1035,42 +1075,6 @@ var init_alert = __esm({
1035
1075
  init_StaticAlert();
1036
1076
  }
1037
1077
  });
1038
- exports.Divider = void 0;
1039
- var init_Divider = __esm({
1040
- "src/layout/Divider.tsx"() {
1041
- exports.Divider = react.forwardRef((props, ref) => {
1042
- return /* @__PURE__ */ React49__namespace.default.createElement(
1043
- react.Box,
1044
- {
1045
- as: "hr",
1046
- height: "2px",
1047
- border: "0",
1048
- borderRadius: "1px",
1049
- backgroundColor: "blackAlpha.200",
1050
- width: "100%",
1051
- ...props,
1052
- ref
1053
- }
1054
- );
1055
- });
1056
- }
1057
- });
1058
- exports.Stack = void 0;
1059
- var init_Stack = __esm({
1060
- "src/layout/Stack.tsx"() {
1061
- exports.Stack = react.forwardRef(
1062
- ({ flexDirection, ...props }, ref) => {
1063
- return /* @__PURE__ */ React49__namespace.default.createElement(react.Stack, { ...props, direction: flexDirection, ref });
1064
- }
1065
- );
1066
- }
1067
- });
1068
- var init_layout = __esm({
1069
- "src/layout/index.tsx"() {
1070
- init_Divider();
1071
- init_Stack();
1072
- }
1073
- });
1074
1078
  exports.Card = void 0;
1075
1079
  var init_Card = __esm({
1076
1080
  "src/card/Card.tsx"() {
@@ -2904,7 +2908,14 @@ var init_typography = __esm({
2904
2908
  });
2905
2909
  function CalendarCell({ state: state2, date: date$1, currentMonth }) {
2906
2910
  const ref = React49.useRef(null);
2907
- 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);
2908
2919
  const isOutsideMonth = !date.isSameMonth(currentMonth, date$1);
2909
2920
  const styles2 = react.useMultiStyleConfig("Datepicker", {});
2910
2921
  const stateProps = {};
@@ -2952,6 +2963,7 @@ function CalendarCell({ state: state2, date: date$1, currentMonth }) {
2952
2963
  ...stateProps,
2953
2964
  ref,
2954
2965
  sx: styles2.dateCell,
2966
+ hidden: isOutsideVisibleRange,
2955
2967
  width: "100%"
2956
2968
  },
2957
2969
  date$1.day
@@ -2970,15 +2982,15 @@ var init_utils = __esm({
2970
2982
  const { language } = useTranslation();
2971
2983
  switch (language) {
2972
2984
  case "nb":
2973
- return "no";
2985
+ return "nb-NO";
2974
2986
  case "nn":
2975
- return "no";
2987
+ return "nb-NO";
2976
2988
  case "sv":
2977
- return "sv";
2989
+ return "sv-SE";
2978
2990
  case "en":
2979
2991
  return "en-GB";
2980
2992
  default:
2981
- return "no";
2993
+ return "nb-NO";
2982
2994
  }
2983
2995
  };
2984
2996
  getCurrentTime = () => {
@@ -3184,6 +3196,7 @@ var init_CalendarHeader = __esm({
3184
3196
  }
3185
3197
  });
3186
3198
  function Calendar({ showYearNavigation, ...props }) {
3199
+ const { t: t2 } = useTranslation();
3187
3200
  const locale = useCurrentLocale();
3188
3201
  const state2 = $131cf43a05231e1e$export$6d095e787d2b5e1f({
3189
3202
  ...props,
@@ -3191,39 +3204,50 @@ function Calendar({ showYearNavigation, ...props }) {
3191
3204
  createCalendar: date.createCalendar
3192
3205
  });
3193
3206
  const { calendarProps } = reactAria.useCalendar(props, state2);
3194
- return /* @__PURE__ */ React49__namespace.default.createElement(react.Box, { ...calendarProps }, /* @__PURE__ */ React49__namespace.default.createElement(CalendarHeader, { state: state2, showYearNavigation }), /* @__PURE__ */ React49__namespace.default.createElement(CalendarGrid, { state: state2 }));
3207
+ const calendarAriaLabel = calendarProps["aria-label"];
3208
+ const ariaLabel = t2(texts8.calendar) + (calendarAriaLabel ? ` ${calendarAriaLabel}` : "");
3209
+ return /* @__PURE__ */ React49__namespace.default.createElement(react.Box, { ...calendarProps, "aria-label": ariaLabel }, /* @__PURE__ */ React49__namespace.default.createElement(CalendarHeader, { state: state2, showYearNavigation }), /* @__PURE__ */ React49__namespace.default.createElement(CalendarGrid, { state: state2 }));
3195
3210
  }
3211
+ var texts8;
3196
3212
  var init_Calendar = __esm({
3197
3213
  "src/datepicker/Calendar.tsx"() {
3198
3214
  init_import5();
3199
3215
  init_CalendarGrid();
3200
3216
  init_CalendarHeader();
3201
3217
  init_utils();
3218
+ init_i18n();
3219
+ texts8 = createTexts({
3220
+ calendar: {
3221
+ nb: "Kalender",
3222
+ nn: "Kalender",
3223
+ sv: "Kalender",
3224
+ en: "Calendar"
3225
+ }
3226
+ });
3202
3227
  }
3203
3228
  });
3204
- var CalendarTriggerButton, texts8;
3229
+ var CalendarTriggerButton, texts9;
3205
3230
  var init_CalendarTriggerButton = __esm({
3206
3231
  "src/datepicker/CalendarTriggerButton.tsx"() {
3207
3232
  init_src();
3208
- CalendarTriggerButton = (props) => {
3209
- const { t: t2 } = useTranslation();
3210
- const styles2 = react.useMultiStyleConfig("Datepicker", {});
3211
- const ref = React49.useRef(null);
3212
- const { buttonProps } = reactAria.useButton(props, ref);
3213
- return /* @__PURE__ */ React49__namespace.default.createElement(react.PopoverAnchor, null, /* @__PURE__ */ React49__namespace.default.createElement(
3214
- react.Box,
3215
- {
3216
- ref,
3217
- as: "button",
3218
- type: "button",
3219
- "aria-label": t2(texts8.openCalendar),
3220
- sx: styles2.calendarTriggerButton,
3221
- ...buttonProps
3222
- },
3223
- /* @__PURE__ */ React49__namespace.default.createElement(sporIconReact.CalendarOutline24Icon, null)
3224
- ));
3225
- };
3226
- texts8 = createTexts({
3233
+ CalendarTriggerButton = react.forwardRef(
3234
+ ({ ...buttonProps }, ref) => {
3235
+ const { t: t2 } = useTranslation();
3236
+ const styles2 = react.useMultiStyleConfig("Datepicker", {});
3237
+ return /* @__PURE__ */ React49__namespace.default.createElement(react.PopoverAnchor, null, /* @__PURE__ */ React49__namespace.default.createElement(
3238
+ react.Box,
3239
+ {
3240
+ ref,
3241
+ as: "button",
3242
+ "aria-label": t2(texts9.openCalendar),
3243
+ sx: styles2.calendarTriggerButton,
3244
+ ...buttonProps
3245
+ },
3246
+ /* @__PURE__ */ React49__namespace.default.createElement(sporIconReact.CalendarOutline24Icon, null)
3247
+ ));
3248
+ }
3249
+ );
3250
+ texts9 = createTexts({
3227
3251
  openCalendar: {
3228
3252
  nb: "\xC5pne kalender",
3229
3253
  nn: "\xC5pne kalendar",
@@ -3233,418 +3257,109 @@ var init_CalendarTriggerButton = __esm({
3233
3257
  });
3234
3258
  }
3235
3259
  });
3236
- var borders;
3237
- var init_borders = __esm({
3238
- "src/theme/foundations/borders.ts"() {
3239
- borders = {
3240
- none: "0",
3241
- sm: `${tokens10__namespace.default.size.stroke.sm} solid`,
3242
- "sm-dashed": `${tokens10__namespace.default.size.stroke.sm} dashed`,
3243
- md: `${tokens10__namespace.default.size.stroke.md} solid`,
3244
- "md-dashed": `${tokens10__namespace.default.size.stroke.md} dashed`,
3245
- lg: `${tokens10__namespace.default.size.stroke.lg} solid`,
3246
- "lg-dashed": `${tokens10__namespace.default.size.stroke.lg} dashed`
3247
- };
3260
+ var DateTimeSegment, isPaddable;
3261
+ var init_DateTimeSegment = __esm({
3262
+ "src/datepicker/DateTimeSegment.tsx"() {
3263
+ DateTimeSegment = React49.forwardRef(
3264
+ ({ segment, state: state2 }, externalRef) => {
3265
+ const internalRef = React49.useRef(null);
3266
+ const ref = externalRef ?? internalRef;
3267
+ const { segmentProps } = reactAria.useDateSegment(
3268
+ segment,
3269
+ state2,
3270
+ ref
3271
+ );
3272
+ const styles2 = react.useMultiStyleConfig("Datepicker", {
3273
+ isPlaceholder: segment.isPlaceholder,
3274
+ isEditable: segment.isEditable
3275
+ });
3276
+ return /* @__PURE__ */ React49__namespace.default.createElement(
3277
+ react.Box,
3278
+ {
3279
+ ...segmentProps,
3280
+ ref,
3281
+ style: {
3282
+ ...segmentProps.style,
3283
+ fontVariantNumeric: "tabular-nums",
3284
+ boxSizing: "content-box"
3285
+ },
3286
+ paddingX: "1px",
3287
+ textAlign: "end",
3288
+ outline: "none",
3289
+ borderRadius: "xs",
3290
+ fontSize: ["mobile.sm", "desktop.sm"],
3291
+ sx: styles2.dateTimeSegment,
3292
+ _focus: {
3293
+ backgroundColor: "darkTeal",
3294
+ color: "white"
3295
+ }
3296
+ },
3297
+ isPaddable(segment.type) ? segment.text.padStart(2, "0") : segment.text
3298
+ );
3299
+ }
3300
+ );
3301
+ isPaddable = (segmentType) => segmentType === "month" || segmentType === "day" || segmentType === "hour" || segmentType === "minute" || segmentType === "second";
3248
3302
  }
3249
3303
  });
3250
- var breakpoints;
3251
- var init_breakpoints = __esm({
3252
- "src/theme/foundations/breakpoints.ts"() {
3253
- breakpoints = {
3254
- sm: tokens10__namespace.default.size.breakpoint.sm,
3255
- md: tokens10__namespace.default.size.breakpoint.md,
3256
- lg: tokens10__namespace.default.size.breakpoint.lg,
3257
- xl: tokens10__namespace.default.size.breakpoint.lg,
3258
- "2xl": tokens10__namespace.default.size.breakpoint.lg
3259
- };
3304
+ function createCalendar2(identifier) {
3305
+ switch (identifier) {
3306
+ case "gregory":
3307
+ return new date.GregorianCalendar();
3308
+ default:
3309
+ throw new Error(`Unsupported calendar ${identifier}`);
3260
3310
  }
3261
- });
3262
- var colors;
3263
- var init_colors = __esm({
3264
- "src/theme/foundations/colors.ts"() {
3265
- colors = {
3266
- ...tokens10__namespace.default.color.alias,
3267
- ...tokens10__namespace.default.color.palette,
3268
- linjetag: tokens10__namespace.default.color.linjetag
3269
- };
3270
- }
3271
- });
3272
-
3273
- // src/theme/foundations/config.ts
3274
- var config;
3275
- var init_config = __esm({
3276
- "src/theme/foundations/config.ts"() {
3277
- config = {
3278
- cssVarPrefix: "spor",
3279
- initialColorMode: "light",
3280
- useSystemColorMode: false
3281
- };
3282
- }
3283
- });
3284
- var fonts;
3285
- var init_fonts = __esm({
3286
- "src/theme/foundations/fonts.ts"() {
3287
- fonts = {
3288
- body: tokens10__namespace.default.font.family.body,
3289
- heading: tokens10__namespace.default.font.family.heading,
3290
- mono: tokens10__namespace.default.font.family.monospace
3291
- };
3292
- }
3293
- });
3294
- var fontSizes;
3295
- var init_fontSizes = __esm({
3296
- "src/theme/foundations/fontSizes.ts"() {
3297
- fontSizes = {
3298
- "2xs": tokens10__namespace.default.size.font.xs.mobile,
3299
- xs: tokens10__namespace.default.size.font.sm.mobile,
3300
- sm: tokens10__namespace.default.size.font.md.mobile,
3301
- md: tokens10__namespace.default.size.font.lg.mobile,
3302
- lg: tokens10__namespace.default.size.font.xl.mobile,
3303
- xl: tokens10__namespace.default.size.font.xxl.mobile,
3304
- "2xl": tokens10__namespace.default.size.font.xl.desktop,
3305
- "3xl": tokens10__namespace.default.size.font.xxl.desktop,
3306
- mobile: {
3307
- xs: tokens10__namespace.default.size.font.xs.mobile,
3308
- sm: tokens10__namespace.default.size.font.sm.mobile,
3309
- md: tokens10__namespace.default.size.font.md.mobile,
3310
- lg: tokens10__namespace.default.size.font.lg.mobile,
3311
- xl: tokens10__namespace.default.size.font.xl.mobile,
3312
- xxl: tokens10__namespace.default.size.font.xxl.mobile
3313
- },
3314
- desktop: {
3315
- xs: tokens10__namespace.default.size.font.xs.desktop,
3316
- sm: tokens10__namespace.default.size.font.sm.desktop,
3317
- md: tokens10__namespace.default.size.font.md.desktop,
3318
- lg: tokens10__namespace.default.size.font.lg.desktop,
3319
- xl: tokens10__namespace.default.size.font.xl.desktop,
3320
- xxl: tokens10__namespace.default.size.font.xxl.desktop
3321
- }
3322
- };
3323
- }
3324
- });
3325
-
3326
- // src/theme/foundations/fontWeights.ts
3327
- var fontWeights;
3328
- var init_fontWeights = __esm({
3329
- "src/theme/foundations/fontWeights.ts"() {
3330
- fontWeights = {
3331
- light: 300,
3332
- medium: 400,
3333
- bold: 700
3334
- };
3335
- }
3336
- });
3337
- var lineHeights;
3338
- var init_lineHeights = __esm({
3339
- "src/theme/foundations/lineHeights.ts"() {
3340
- lineHeights = {
3341
- normal: tokens10__namespace.default.font.style.lg["line-height"]
3342
- };
3343
- }
3344
- });
3345
- var radii;
3346
- var init_radii = __esm({
3347
- "src/theme/foundations/radii.ts"() {
3348
- radii = {
3349
- none: tokens10__namespace.default.size["border-radius"].none,
3350
- xs: tokens10__namespace.default.size["border-radius"].xs,
3351
- sm: tokens10__namespace.default.size["border-radius"].sm,
3352
- md: tokens10__namespace.default.size["border-radius"].md,
3353
- lg: tokens10__namespace.default.size["border-radius"].lg,
3354
- xl: tokens10__namespace.default.size["border-radius"].xl,
3355
- "2xl": tokens10__namespace.default.size["border-radius"]["2xl"],
3356
- round: "50%"
3357
- };
3358
- }
3359
- });
3360
- var shadows;
3361
- var init_shadows = __esm({
3362
- "src/theme/foundations/shadows.ts"() {
3363
- shadows = {
3364
- none: "none",
3365
- sm: tokens10__namespace.default.depth.shadow.sm.value,
3366
- md: tokens10__namespace.default.depth.shadow.md.value,
3367
- lg: tokens10__namespace.default.depth.shadow.lg.value
3368
- };
3369
- }
3370
- });
3371
- var spacing, space;
3372
- var init_spacing = __esm({
3373
- "src/theme/foundations/spacing.ts"() {
3374
- spacing = Object.entries(tokens10__namespace.default.size.spacing).reduce(
3375
- (tokens14, [key, token]) => ({
3376
- ...tokens14,
3377
- [Number(key)]: token
3378
- }),
3379
- {}
3380
- );
3381
- space = spacing;
3382
- }
3383
- });
3384
-
3385
- // src/theme/foundations/sizes.ts
3386
- var largeSizes, container, sizes;
3387
- var init_sizes = __esm({
3388
- "src/theme/foundations/sizes.ts"() {
3389
- init_spacing();
3390
- largeSizes = {
3391
- max: "max-content",
3392
- min: "min-content",
3393
- full: "100%",
3394
- "3xs": "14rem",
3395
- "2xs": "16rem",
3396
- xs: "20rem",
3397
- sm: "24rem",
3398
- md: "28rem",
3399
- lg: "32rem",
3400
- xl: "36rem",
3401
- "2xl": "42rem",
3402
- "3xl": "48rem",
3403
- "4xl": "56rem",
3404
- "5xl": "64rem",
3405
- "6xl": "72rem",
3406
- "7xl": "80rem",
3407
- "8xl": "90rem"
3408
- };
3409
- container = {
3410
- sm: "640px",
3411
- md: "768px",
3412
- lg: "1024px",
3413
- xl: "1280px"
3414
- };
3415
- sizes = {
3416
- ...spacing,
3417
- ...largeSizes,
3418
- container
3419
- };
3420
- }
3421
- });
3422
- var textStyles;
3423
- var init_textStyles = __esm({
3424
- "src/theme/foundations/textStyles.ts"() {
3425
- textStyles = {
3426
- "2xl": {
3427
- fontSize: [
3428
- tokens10__namespace.default.font.style.xxl["font-size"].mobile,
3429
- tokens10__namespace.default.font.style.xxl["font-size"].desktop
3430
- ],
3431
- fontFamily: tokens10__namespace.default.font.style.xxl["font-family"],
3432
- lineHeight: tokens10__namespace.default.font.style.xxl["line-height"]
3433
- },
3434
- "xl-display": {
3435
- fontSize: [
3436
- tokens10__namespace.default.font.style["xl-display"]["font-size"].mobile,
3437
- tokens10__namespace.default.font.style["xl-display"]["font-size"].desktop
3438
- ],
3439
- fontFamily: tokens10__namespace.default.font.style["xl-display"]["font-family"],
3440
- lineHeight: tokens10__namespace.default.font.style["xl-display"]["line-height"]
3441
- },
3442
- "xl-sans": {
3443
- fontSize: [
3444
- tokens10__namespace.default.font.style["xl-sans"]["font-size"].mobile,
3445
- tokens10__namespace.default.font.style["xl-sans"]["font-size"].desktop
3446
- ],
3447
- fontFamily: tokens10__namespace.default.font.style["xl-sans"]["font-family"],
3448
- lineHeight: tokens10__namespace.default.font.style["xl-sans"]["line-height"]
3449
- },
3450
- lg: {
3451
- fontSize: [
3452
- tokens10__namespace.default.font.style.lg["font-size"].mobile,
3453
- tokens10__namespace.default.font.style.lg["font-size"].desktop
3454
- ],
3455
- fontFamily: tokens10__namespace.default.font.style.lg["font-family"],
3456
- lineHeight: tokens10__namespace.default.font.style.lg["line-height"]
3457
- },
3458
- md: {
3459
- fontSize: [
3460
- tokens10__namespace.default.font.style.md["font-size"].mobile,
3461
- tokens10__namespace.default.font.style.md["font-size"].desktop
3462
- ],
3463
- fontFamily: tokens10__namespace.default.font.style.md["font-family"],
3464
- lineHeight: tokens10__namespace.default.font.style.md["line-height"]
3465
- },
3466
- sm: {
3467
- fontSize: [
3468
- tokens10__namespace.default.font.style.sm["font-size"].mobile,
3469
- tokens10__namespace.default.font.style.sm["font-size"].desktop
3470
- ],
3471
- fontFamily: tokens10__namespace.default.font.style.sm["font-family"],
3472
- lineHeight: tokens10__namespace.default.font.style.sm["line-height"]
3473
- },
3474
- xs: {
3475
- fontSize: [
3476
- tokens10__namespace.default.font.style.xs["font-size"].mobile,
3477
- tokens10__namespace.default.font.style.xs["font-size"].desktop
3478
- ],
3479
- fontFamily: tokens10__namespace.default.font.style.xs["font-family"],
3480
- lineHeight: tokens10__namespace.default.font.style.xs["line-height"]
3481
- }
3482
- };
3483
- }
3484
- });
3485
- var zIndices;
3486
- var init_zIndices = __esm({
3487
- "src/theme/foundations/zIndices.ts"() {
3488
- zIndices = {
3489
- hide: tokens10__namespace.default.depth["z-index"].hide,
3490
- auto: "auto",
3491
- base: tokens10__namespace.default.depth["z-index"].base,
3492
- docked: tokens10__namespace.default.depth["z-index"].docked,
3493
- dropdown: tokens10__namespace.default.depth["z-index"].dropdown,
3494
- sticky: tokens10__namespace.default.depth["z-index"].sticky,
3495
- banner: tokens10__namespace.default.depth["z-index"].banner,
3496
- overlay: tokens10__namespace.default.depth["z-index"].overlay,
3497
- modal: tokens10__namespace.default.depth["z-index"].modal,
3498
- popover: tokens10__namespace.default.depth["z-index"].popover,
3499
- skipLink: tokens10__namespace.default.depth["z-index"].skipLink,
3500
- toast: tokens10__namespace.default.depth["z-index"].toast,
3501
- tooltip: tokens10__namespace.default.depth["z-index"].tooltip
3502
- };
3503
- }
3504
- });
3505
-
3506
- // src/theme/foundations/index.ts
3507
- var foundations_exports = {};
3508
- __export(foundations_exports, {
3509
- borders: () => borders,
3510
- breakpoints: () => breakpoints,
3511
- colors: () => colors,
3512
- config: () => config,
3513
- fontSizes: () => fontSizes,
3514
- fontWeights: () => fontWeights,
3515
- fonts: () => fonts,
3516
- lineHeights: () => lineHeights,
3517
- radii: () => radii,
3518
- shadows: () => shadows,
3519
- sizes: () => sizes,
3520
- space: () => space,
3521
- spacing: () => spacing,
3522
- textStyles: () => textStyles,
3523
- zIndices: () => zIndices
3524
- });
3525
- var init_foundations = __esm({
3526
- "src/theme/foundations/index.ts"() {
3527
- init_borders();
3528
- init_breakpoints();
3529
- init_colors();
3530
- init_config();
3531
- init_fonts();
3532
- init_fontSizes();
3533
- init_fontWeights();
3534
- init_lineHeights();
3535
- init_radii();
3536
- init_shadows();
3537
- init_sizes();
3538
- init_spacing();
3539
- init_textStyles();
3540
- init_zIndices();
3541
- }
3542
- });
3543
- var DateTimeSegment, isPaddable;
3544
- var init_DateTimeSegment = __esm({
3545
- "src/datepicker/DateTimeSegment.tsx"() {
3546
- init_foundations();
3547
- DateTimeSegment = React49.forwardRef(
3548
- ({ segment, state: state2 }, externalRef) => {
3549
- const internalRef = React49.useRef(null);
3550
- const ref = externalRef ?? internalRef;
3551
- const { segmentProps } = reactAria.useDateSegment(
3552
- segment,
3553
- state2,
3554
- ref
3555
- );
3556
- const styles2 = react.useMultiStyleConfig("Datepicker", {
3557
- isPlaceholder: segment.isPlaceholder,
3558
- isEditable: segment.isEditable
3559
- });
3560
- return /* @__PURE__ */ React49__namespace.default.createElement(
3561
- react.Box,
3562
- {
3563
- ...segmentProps,
3564
- ref,
3565
- style: {
3566
- ...segmentProps.style,
3567
- fontVariantNumeric: "tabular-nums",
3568
- boxSizing: "content-box",
3569
- color: colors.darkGrey
3570
- },
3571
- paddingX: "1px",
3572
- textAlign: "end",
3573
- outline: "none",
3574
- borderRadius: "xs",
3575
- fontSize: "mobile.md",
3576
- sx: styles2.dateTimeSegment,
3577
- _focus: {
3578
- backgroundColor: "darkTeal",
3579
- color: "white"
3580
- }
3581
- },
3582
- isPaddable(segment.type) ? segment.text.padStart(2, "0") : segment.text
3583
- );
3584
- }
3585
- );
3586
- isPaddable = (segmentType) => segmentType === "month" || segmentType === "day" || segmentType === "hour" || segmentType === "minute" || segmentType === "second";
3587
- }
3588
- });
3589
- function createCalendar2(identifier) {
3590
- switch (identifier) {
3591
- case "gregory":
3592
- return new date.GregorianCalendar();
3593
- default:
3594
- throw new Error(`Unsupported calendar ${identifier}`);
3595
- }
3596
- }
3597
- var DateField;
3598
- var init_DateField = __esm({
3599
- "src/datepicker/DateField.tsx"() {
3600
- init_import4();
3601
- init_DateTimeSegment();
3602
- init_utils();
3603
- DateField = React49.forwardRef(
3604
- (props, externalRef) => {
3605
- var _a6;
3606
- const locale = useCurrentLocale();
3607
- const styles2 = react.useMultiStyleConfig("Datepicker", {});
3608
- const state2 = $3c0fc76039f1c516$export$60e84778edff6d26({
3609
- ...props,
3610
- locale,
3611
- createCalendar: createCalendar2
3612
- });
3613
- const internalRef = React49.useRef(null);
3614
- const ref = externalRef ?? internalRef;
3615
- const { fieldProps, labelProps } = reactAria.useDateField(
3616
- props,
3617
- state2,
3618
- ref
3619
- );
3620
- return /* @__PURE__ */ React49__namespace.default.createElement(react.Box, { minWidth: "6rem", width: "100%" }, props.label && /* @__PURE__ */ React49__namespace.default.createElement(
3621
- react.FormLabel,
3622
- {
3623
- ...props.labelProps,
3624
- ...labelProps,
3625
- sx: styles2.inputLabel,
3626
- position: "absolute",
3627
- paddingTop: "2px"
3628
- },
3629
- props.label
3630
- ), /* @__PURE__ */ React49__namespace.default.createElement(react.Flex, { ...fieldProps, paddingTop: "3", paddingBottom: "0.5" }, state2.segments.map((segment, i) => /* @__PURE__ */ React49__namespace.default.createElement(
3631
- DateTimeSegment,
3632
- {
3633
- ref: i === 0 ? ref : void 0,
3634
- key: i,
3635
- segment,
3636
- state: state2
3637
- }
3638
- ))), /* @__PURE__ */ React49__namespace.default.createElement(
3639
- "input",
3640
- {
3641
- type: "hidden",
3642
- value: (_a6 = state2.value) == null ? void 0 : _a6.toString(),
3643
- name: props.name
3644
- }
3645
- ));
3646
- }
3647
- );
3311
+ }
3312
+ var DateField;
3313
+ var init_DateField = __esm({
3314
+ "src/datepicker/DateField.tsx"() {
3315
+ init_import4();
3316
+ init_DateTimeSegment();
3317
+ init_utils();
3318
+ DateField = React49.forwardRef(
3319
+ (props, externalRef) => {
3320
+ var _a6;
3321
+ const locale = useCurrentLocale();
3322
+ const styles2 = react.useMultiStyleConfig("Datepicker", {});
3323
+ const state2 = $3c0fc76039f1c516$export$60e84778edff6d26({
3324
+ ...props,
3325
+ locale,
3326
+ createCalendar: createCalendar2
3327
+ });
3328
+ const internalRef = React49.useRef(null);
3329
+ const ref = externalRef ?? internalRef;
3330
+ const { fieldProps, labelProps } = reactAria.useDateField(
3331
+ props,
3332
+ state2,
3333
+ ref
3334
+ );
3335
+ return /* @__PURE__ */ React49__namespace.default.createElement(react.Box, { minWidth: "6rem", width: "100%" }, props.label && /* @__PURE__ */ React49__namespace.default.createElement(
3336
+ react.FormLabel,
3337
+ {
3338
+ ...props.labelProps,
3339
+ ...labelProps,
3340
+ sx: styles2.inputLabel,
3341
+ position: "absolute",
3342
+ paddingTop: "2px"
3343
+ },
3344
+ props.label
3345
+ ), /* @__PURE__ */ React49__namespace.default.createElement(react.Flex, { ...fieldProps, paddingTop: "3", paddingBottom: "0.5" }, state2.segments.map((segment, i) => /* @__PURE__ */ React49__namespace.default.createElement(
3346
+ DateTimeSegment,
3347
+ {
3348
+ ref: i === 0 ? ref : void 0,
3349
+ key: i,
3350
+ segment,
3351
+ state: state2
3352
+ }
3353
+ ))), /* @__PURE__ */ React49__namespace.default.createElement(
3354
+ "input",
3355
+ {
3356
+ type: "hidden",
3357
+ value: (_a6 = state2.value) == null ? void 0 : _a6.toString(),
3358
+ name: props.name
3359
+ }
3360
+ ));
3361
+ }
3362
+ );
3648
3363
  }
3649
3364
  });
3650
3365
  var StyledField;
@@ -3686,6 +3401,7 @@ var init_DatePicker = __esm({
3686
3401
  errorMessage,
3687
3402
  minHeight,
3688
3403
  showYearNavigation,
3404
+ withPortal = true,
3689
3405
  width = "auto",
3690
3406
  ...props
3691
3407
  }, externalRef) => {
@@ -3712,21 +3428,22 @@ var init_DatePicker = __esm({
3712
3428
  state2,
3713
3429
  ref
3714
3430
  );
3715
- const responsiveVariant = react.useBreakpointValue(typeof variant === "string" ? [variant] : variant) ?? "simple";
3431
+ const styles2 = react.useMultiStyleConfig("Datepicker", {});
3716
3432
  const locale = useCurrentLocale();
3717
- const handleEnterClick = (e) => {
3718
- if (responsiveVariant === "simple" && e.key === "Enter" && !state2.isOpen) {
3719
- e.stopPropagation();
3720
- state2.setOpen(true);
3721
- }
3722
- };
3433
+ const responsiveVariant = react.useBreakpointValue(typeof variant === "string" ? [variant] : variant) ?? "simple";
3434
+ const hasTrigger = responsiveVariant === "with-trigger";
3723
3435
  const onFieldClick = () => {
3724
3436
  if (!hasTrigger) {
3725
3437
  state2.setOpen(true);
3726
3438
  }
3727
3439
  };
3728
- const hasTrigger = responsiveVariant === "with-trigger";
3729
- const styles2 = react.useMultiStyleConfig("Datepicker", {});
3440
+ const popoverContent = /* @__PURE__ */ React49__namespace.default.createElement(react.PopoverContent, { color: "darkGrey", boxShadow: "md", sx: styles2.calendar }, /* @__PURE__ */ React49__namespace.default.createElement(react.PopoverArrow, { sx: styles2.arrow }), /* @__PURE__ */ React49__namespace.default.createElement(react.PopoverBody, null, /* @__PURE__ */ React49__namespace.default.createElement(react.FocusLock, null, /* @__PURE__ */ React49__namespace.default.createElement(
3441
+ Calendar,
3442
+ {
3443
+ ...calendarProps,
3444
+ showYearNavigation
3445
+ }
3446
+ ))));
3730
3447
  return /* @__PURE__ */ React49__namespace.default.createElement(reactAria.I18nProvider, { locale }, /* @__PURE__ */ React49__namespace.default.createElement(
3731
3448
  react.Box,
3732
3449
  {
@@ -3740,18 +3457,14 @@ var init_DatePicker = __esm({
3740
3457
  {
3741
3458
  ...dialogProps,
3742
3459
  isOpen: state2.isOpen,
3743
- onClose: state2.close,
3744
3460
  onOpen: state2.open,
3745
- closeOnBlur: true,
3746
- closeOnEsc: true,
3747
- returnFocusOnClose: true
3461
+ onClose: state2.close
3748
3462
  },
3749
3463
  /* @__PURE__ */ React49__namespace.default.createElement(react.InputGroup, { ...groupProps, display: "inline-flex" }, /* @__PURE__ */ React49__namespace.default.createElement(react.PopoverAnchor, null, /* @__PURE__ */ React49__namespace.default.createElement(
3750
3464
  StyledField,
3751
3465
  {
3752
3466
  variant: responsiveVariant,
3753
3467
  onClick: onFieldClick,
3754
- onKeyPress: handleEnterClick,
3755
3468
  paddingX: 3,
3756
3469
  minHeight
3757
3470
  },
@@ -3762,28 +3475,14 @@ var init_DatePicker = __esm({
3762
3475
  label: props.label,
3763
3476
  labelProps,
3764
3477
  name: props.name,
3765
- ref,
3478
+ ref: hasTrigger ? void 0 : ref,
3766
3479
  ...fieldProps
3767
3480
  }
3768
3481
  )
3769
- )), hasTrigger && /* @__PURE__ */ React49__namespace.default.createElement(CalendarTriggerButton, { ...buttonProps })),
3482
+ )), hasTrigger && /* @__PURE__ */ React49__namespace.default.createElement(react.PopoverTrigger, null, /* @__PURE__ */ React49__namespace.default.createElement(CalendarTriggerButton, { ref, ...buttonProps }))),
3770
3483
  /* @__PURE__ */ React49__namespace.default.createElement(exports.FormErrorMessage, { ...errorMessageProps }, errorMessage),
3771
- state2.isOpen && !props.isDisabled && /* @__PURE__ */ React49__namespace.default.createElement(react.Portal, null, /* @__PURE__ */ React49__namespace.default.createElement(
3772
- react.PopoverContent,
3773
- {
3774
- color: "darkGrey",
3775
- boxShadow: "md",
3776
- sx: styles2.calendar
3777
- },
3778
- /* @__PURE__ */ React49__namespace.default.createElement(react.PopoverArrow, { sx: styles2.arrow }),
3779
- /* @__PURE__ */ React49__namespace.default.createElement(react.PopoverBody, null, /* @__PURE__ */ React49__namespace.default.createElement(
3780
- Calendar,
3781
- {
3782
- ...calendarProps,
3783
- showYearNavigation
3784
- }
3785
- ))
3786
- ))
3484
+ state2.isOpen && !props.isDisabled && withPortal && /* @__PURE__ */ React49__namespace.default.createElement(react.Portal, null, popoverContent),
3485
+ state2.isOpen && !props.isDisabled && !withPortal && popoverContent
3787
3486
  )
3788
3487
  ));
3789
3488
  }
@@ -3815,6 +3514,7 @@ function DateRangePicker({
3815
3514
  minHeight,
3816
3515
  startName,
3817
3516
  endName,
3517
+ withPortal = true,
3818
3518
  ...props
3819
3519
  }) {
3820
3520
  const formControlProps = react.useFormControlContext();
@@ -3851,67 +3551,49 @@ function DateRangePicker({
3851
3551
  }
3852
3552
  };
3853
3553
  const hasTrigger = responsiveVariant === "with-trigger";
3554
+ const popoverContent = /* @__PURE__ */ React49__namespace.default.createElement(react.PopoverContent, { sx: styles2.calendar, boxShadow: "md", maxWidth: "none" }, /* @__PURE__ */ React49__namespace.default.createElement(react.PopoverArrow, { sx: styles2.arrow }), /* @__PURE__ */ React49__namespace.default.createElement(react.PopoverBody, null, /* @__PURE__ */ React49__namespace.default.createElement(react.FocusLock, null, /* @__PURE__ */ React49__namespace.default.createElement(RangeCalendar, { ...calendarProps }))));
3854
3555
  return /* @__PURE__ */ React49__namespace.default.createElement(reactAria.I18nProvider, { locale }, /* @__PURE__ */ React49__namespace.default.createElement(react.Box, { position: "relative", display: "inline-flex", flexDirection: "column" }, props.label && /* @__PURE__ */ React49__namespace.default.createElement(react.FormLabel, { ...labelProps, sx: styles2.inputLabel }, props.label), /* @__PURE__ */ React49__namespace.default.createElement(
3855
3556
  react.Popover,
3856
3557
  {
3857
3558
  ...dialogProps,
3858
3559
  isOpen: state2.isOpen,
3859
- onClose: () => state2.setOpen(false),
3860
- closeOnBlur: true,
3861
- closeOnEsc: true,
3862
- returnFocusOnClose: true
3560
+ onOpen: state2.open,
3561
+ onClose: state2.close
3863
3562
  },
3864
- /* @__PURE__ */ React49__namespace.default.createElement(
3865
- react.InputGroup,
3563
+ /* @__PURE__ */ React49__namespace.default.createElement(react.InputGroup, { ...groupProps, width: "auto", display: "inline-flex" }, /* @__PURE__ */ React49__namespace.default.createElement(react.PopoverAnchor, null, /* @__PURE__ */ React49__namespace.default.createElement(
3564
+ StyledField,
3866
3565
  {
3867
- ...groupProps,
3868
- ref,
3869
- width: "auto",
3870
- display: "inline-flex"
3566
+ alignItems: "center",
3567
+ paddingX: 3,
3568
+ variant: responsiveVariant,
3569
+ onClick: onFieldClick,
3570
+ onKeyPress: handleEnterClick,
3571
+ minHeight
3871
3572
  },
3872
- /* @__PURE__ */ React49__namespace.default.createElement(react.PopoverAnchor, null, /* @__PURE__ */ React49__namespace.default.createElement(
3873
- StyledField,
3573
+ !hasTrigger && /* @__PURE__ */ React49__namespace.default.createElement(sporIconReact.CalendarOutline24Icon, { mr: 2, alignSelf: "center" }),
3574
+ /* @__PURE__ */ React49__namespace.default.createElement(
3575
+ DateField,
3874
3576
  {
3875
- alignItems: "center",
3876
- paddingX: 3,
3877
- variant: responsiveVariant,
3878
- onClick: onFieldClick,
3879
- onKeyPress: handleEnterClick,
3880
- minHeight
3881
- },
3882
- !hasTrigger && /* @__PURE__ */ React49__namespace.default.createElement(sporIconReact.CalendarOutline24Icon, { mr: 2, alignSelf: "center" }),
3883
- /* @__PURE__ */ React49__namespace.default.createElement(
3884
- DateField,
3885
- {
3886
- ...startFieldProps,
3887
- name: startName,
3888
- label: props.startLabel,
3889
- labelProps
3890
- }
3891
- ),
3892
- /* @__PURE__ */ React49__namespace.default.createElement(react.Box, { as: "span", "aria-hidden": "true", px: "2" }, "\u2013"),
3893
- /* @__PURE__ */ React49__namespace.default.createElement(
3894
- DateField,
3895
- {
3896
- ...endFieldProps,
3897
- name: endName,
3898
- label: props.endLabel,
3899
- labelProps
3900
- }
3901
- )
3902
- )),
3903
- hasTrigger && /* @__PURE__ */ React49__namespace.default.createElement(CalendarTriggerButton, { ...buttonProps })
3904
- ),
3905
- state2.isOpen && /* @__PURE__ */ React49__namespace.default.createElement(react.Portal, null, /* @__PURE__ */ React49__namespace.default.createElement(
3906
- react.PopoverContent,
3907
- {
3908
- sx: styles2.calendar,
3909
- boxShadow: "md",
3910
- maxWidth: "none"
3911
- },
3912
- /* @__PURE__ */ React49__namespace.default.createElement(react.PopoverArrow, { sx: styles2.arrow }),
3913
- /* @__PURE__ */ React49__namespace.default.createElement(react.PopoverBody, null, /* @__PURE__ */ React49__namespace.default.createElement(RangeCalendar, { ...calendarProps }))
3914
- ))
3577
+ ...startFieldProps,
3578
+ name: startName,
3579
+ label: props.startLabel,
3580
+ ref: hasTrigger ? void 0 : ref,
3581
+ labelProps
3582
+ }
3583
+ ),
3584
+ /* @__PURE__ */ React49__namespace.default.createElement(react.Box, { as: "span", "aria-hidden": "true", px: "2" }, "\u2013"),
3585
+ /* @__PURE__ */ React49__namespace.default.createElement(
3586
+ DateField,
3587
+ {
3588
+ ...endFieldProps,
3589
+ name: endName,
3590
+ label: props.endLabel,
3591
+ labelProps
3592
+ }
3593
+ )
3594
+ )), hasTrigger && /* @__PURE__ */ React49__namespace.default.createElement(react.PopoverTrigger, null, /* @__PURE__ */ React49__namespace.default.createElement(CalendarTriggerButton, { ref, ...buttonProps }))),
3595
+ state2.isOpen && withPortal && /* @__PURE__ */ React49__namespace.default.createElement(react.Portal, null, popoverContent),
3596
+ state2.isOpen && !withPortal && popoverContent
3915
3597
  )));
3916
3598
  }
3917
3599
  var init_DateRangePicker = __esm({
@@ -3956,7 +3638,7 @@ var init_TimeField = __esm({
3956
3638
  };
3957
3639
  }
3958
3640
  });
3959
- exports.TimePicker = void 0; var texts9;
3641
+ exports.TimePicker = void 0; var texts10;
3960
3642
  var init_TimePicker = __esm({
3961
3643
  "src/datepicker/TimePicker.tsx"() {
3962
3644
  init_src();
@@ -3978,7 +3660,7 @@ var init_TimePicker = __esm({
3978
3660
  const isDisabled = isDisabledExternally ?? isFormControlDisabled ?? false;
3979
3661
  const { t: t2 } = useTranslation();
3980
3662
  const locale = useCurrentLocale();
3981
- const label = externalLabel ?? t2(texts9.time);
3663
+ const label = externalLabel ?? t2(texts10.time);
3982
3664
  const state2 = reactStately.useTimeFieldState({
3983
3665
  value,
3984
3666
  defaultValue,
@@ -4011,15 +3693,15 @@ var init_TimePicker = __esm({
4011
3693
  })
4012
3694
  );
4013
3695
  };
4014
- const backwardsLabel = `${t2(texts9.backwards)} ${minuteInterval} ${t2(
4015
- texts9.minutes
3696
+ const backwardsLabel = `${t2(texts10.backwards)} ${minuteInterval} ${t2(
3697
+ texts10.minutes
4016
3698
  )}`;
4017
- const forwardsLabel = `${t2(texts9.forwards)} ${minuteInterval} ${t2(
4018
- texts9.minutes
3699
+ const forwardsLabel = `${t2(texts10.forwards)} ${minuteInterval} ${t2(
3700
+ texts10.minutes
4019
3701
  )}`;
4020
- const inputLabel = label ?? t2(texts9.time);
3702
+ const inputLabel = label ?? t2(texts10.time);
4021
3703
  const ariaLabel = `${inputLabel} \u2013 ${t2(
4022
- texts9.selectedTimeIs(`${(dateTime == null ? void 0 : dateTime.hour) ?? 0} ${(dateTime == null ? void 0 : dateTime.minute) ?? 0}`)
3704
+ texts10.selectedTimeIs(`${(dateTime == null ? void 0 : dateTime.hour) ?? 0} ${(dateTime == null ? void 0 : dateTime.minute) ?? 0}`)
4023
3705
  )}`;
4024
3706
  return /* @__PURE__ */ React49__namespace.default.createElement(
4025
3707
  StyledField,
@@ -4068,7 +3750,7 @@ var init_TimePicker = __esm({
4068
3750
  )
4069
3751
  );
4070
3752
  };
4071
- texts9 = createTexts({
3753
+ texts10 = createTexts({
4072
3754
  selectedTimeIs: (time) => ({
4073
3755
  nb: `Valgt tidspunkt er ${time}`,
4074
3756
  nn: `Valt tidspunkt er ${time}`,
@@ -5485,7 +5167,7 @@ function InfoSelect({
5485
5167
  "aria-invalid": formControl.isInvalid,
5486
5168
  "aria-describedby": formControl["aria-describedby"]
5487
5169
  },
5488
- /* @__PURE__ */ React49__namespace.default.createElement(react.Box, { ...valueProps }, state2.selectedItem ? state2.selectedItem.textValue ?? state2.selectedItem.rendered : placeholder ?? t2(texts10.selectAnOption)),
5170
+ /* @__PURE__ */ React49__namespace.default.createElement(react.Box, { ...valueProps }, state2.selectedItem ? state2.selectedItem.textValue ?? state2.selectedItem.rendered : placeholder ?? t2(texts11.selectAnOption)),
5489
5171
  /* @__PURE__ */ React49__namespace.default.createElement(react.Box, { sx: styles2.arrowIcon }, state2.isOpen ? /* @__PURE__ */ React49__namespace.default.createElement(sporIconReact.DropdownUpFill24Icon, null) : /* @__PURE__ */ React49__namespace.default.createElement(sporIconReact.DropdownDownFill24Icon, null))
5490
5172
  ), state2.isOpen && /* @__PURE__ */ React49__namespace.default.createElement(Popover3, { state: state2, triggerRef }, /* @__PURE__ */ React49__namespace.default.createElement(
5491
5173
  ListBox,
@@ -5498,13 +5180,13 @@ function InfoSelect({
5498
5180
  props.children
5499
5181
  )));
5500
5182
  }
5501
- var texts10;
5183
+ var texts11;
5502
5184
  var init_InfoSelect = __esm({
5503
5185
  "src/input/InfoSelect.tsx"() {
5504
5186
  init_src();
5505
5187
  init_ListBox();
5506
5188
  init_Popover();
5507
- texts10 = createTexts({
5189
+ texts11 = createTexts({
5508
5190
  selectAnOption: {
5509
5191
  nb: "Velg et alternativ",
5510
5192
  nn: "Velg eit alternativ",
@@ -5569,6 +5251,27 @@ var init_NativeSelect = __esm({
5569
5251
  );
5570
5252
  }
5571
5253
  });
5254
+ var colors;
5255
+ var init_colors = __esm({
5256
+ "src/theme/foundations/colors.ts"() {
5257
+ colors = {
5258
+ ...tokens10__namespace.default.color.alias,
5259
+ ...tokens10__namespace.default.color.palette,
5260
+ linjetag: tokens10__namespace.default.color.linjetag
5261
+ };
5262
+ }
5263
+ });
5264
+ var shadows;
5265
+ var init_shadows = __esm({
5266
+ "src/theme/foundations/shadows.ts"() {
5267
+ shadows = {
5268
+ none: "none",
5269
+ sm: tokens10__namespace.default.depth.shadow.sm.value,
5270
+ md: tokens10__namespace.default.depth.shadow.md.value,
5271
+ lg: tokens10__namespace.default.depth.shadow.lg.value
5272
+ };
5273
+ }
5274
+ });
5572
5275
 
5573
5276
  // src/theme/utils/box-shadow-utils.ts
5574
5277
  var getBoxShadowString;
@@ -5643,7 +5346,7 @@ function NumericStepper({
5643
5346
  VerySmallButton,
5644
5347
  {
5645
5348
  icon: /* @__PURE__ */ React49__namespace.default.createElement(SubtractIcon, { color: "white" }),
5646
- "aria-label": t2(texts11.decrementButtonAriaLabel),
5349
+ "aria-label": t2(texts12.decrementButtonAriaLabel),
5647
5350
  onClick: () => onChange(value - 1),
5648
5351
  visibility: value <= minValue ? "hidden" : "visible",
5649
5352
  isDisabled: formControlProps.disabled
@@ -5717,7 +5420,7 @@ function NumericStepper({
5717
5420
  VerySmallButton,
5718
5421
  {
5719
5422
  icon: /* @__PURE__ */ React49__namespace.default.createElement(AddIcon, { color: "white" }),
5720
- "aria-label": t2(texts11.incrementButtonAriaLabel),
5423
+ "aria-label": t2(texts12.incrementButtonAriaLabel),
5721
5424
  onClick: () => onChange(value + 1),
5722
5425
  visibility: value >= maxValue ? "hidden" : "visible",
5723
5426
  isDisabled: formControlProps.disabled,
@@ -5725,7 +5428,7 @@ function NumericStepper({
5725
5428
  }
5726
5429
  ));
5727
5430
  }
5728
- var VerySmallButton, SubtractIcon, AddIcon, texts11;
5431
+ var VerySmallButton, SubtractIcon, AddIcon, texts12;
5729
5432
  var init_NumericStepper = __esm({
5730
5433
  "src/input/NumericStepper.tsx"() {
5731
5434
  init_src();
@@ -5804,7 +5507,7 @@ var init_NumericStepper = __esm({
5804
5507
  }
5805
5508
  )
5806
5509
  );
5807
- texts11 = createTexts({
5510
+ texts12 = createTexts({
5808
5511
  decrementButtonAriaLabel: {
5809
5512
  nb: "Trekk fra 1",
5810
5513
  en: "Subtract 1",
@@ -5820,7 +5523,7 @@ var init_NumericStepper = __esm({
5820
5523
  });
5821
5524
  }
5822
5525
  });
5823
- exports.PasswordInput = void 0; var texts12;
5526
+ exports.PasswordInput = void 0; var texts13;
5824
5527
  var init_PasswordInput = __esm({
5825
5528
  "src/input/PasswordInput.tsx"() {
5826
5529
  init_input();
@@ -5853,11 +5556,11 @@ var init_PasswordInput = __esm({
5853
5556
  borderRadius: "sm",
5854
5557
  mr: 1
5855
5558
  },
5856
- isShowingPassword ? t2(texts12.hidePassword) : t2(texts12.showPassword)
5559
+ isShowingPassword ? t2(texts13.hidePassword) : t2(texts13.showPassword)
5857
5560
  )));
5858
5561
  }
5859
5562
  );
5860
- texts12 = createTexts({
5563
+ texts13 = createTexts({
5861
5564
  showPassword: {
5862
5565
  nb: "Vis",
5863
5566
  nn: "Vis",
@@ -12367,7 +12070,7 @@ __export(CountryCodeSelect_exports, {
12367
12070
  CountryCodeSelect: () => CountryCodeSelect,
12368
12071
  default: () => CountryCodeSelect_default
12369
12072
  });
12370
- var prioritizedCountryCodes, sortedCallingCodes, callingCodes, CountryCodeSelect, CountryCodeSelect_default, texts13;
12073
+ var prioritizedCountryCodes, sortedCallingCodes, callingCodes, CountryCodeSelect, CountryCodeSelect_default, texts14;
12371
12074
  var init_CountryCodeSelect = __esm({
12372
12075
  "src/input/CountryCodeSelect.tsx"() {
12373
12076
  init_src();
@@ -12389,7 +12092,7 @@ var init_CountryCodeSelect = __esm({
12389
12092
  return /* @__PURE__ */ React49__namespace.default.createElement(
12390
12093
  InfoSelect,
12391
12094
  {
12392
- label: t2(texts13.countryCode),
12095
+ label: t2(texts14.countryCode),
12393
12096
  isLabelSrOnly: true,
12394
12097
  items: callingCodes,
12395
12098
  ...props
@@ -12398,7 +12101,7 @@ var init_CountryCodeSelect = __esm({
12398
12101
  );
12399
12102
  };
12400
12103
  CountryCodeSelect_default = CountryCodeSelect;
12401
- texts13 = createTexts({
12104
+ texts14 = createTexts({
12402
12105
  countryCode: {
12403
12106
  nb: "Landkode",
12404
12107
  nn: "Landskode",
@@ -12408,7 +12111,7 @@ var init_CountryCodeSelect = __esm({
12408
12111
  });
12409
12112
  }
12410
12113
  });
12411
- exports.PhoneNumberInput = void 0; var texts14, LazyCountryCodeSelect;
12114
+ exports.PhoneNumberInput = void 0; var texts15, LazyCountryCodeSelect;
12412
12115
  var init_PhoneNumberInput = __esm({
12413
12116
  "src/input/PhoneNumberInput.tsx"() {
12414
12117
  init_src();
@@ -12457,7 +12160,7 @@ var init_PhoneNumberInput = __esm({
12457
12160
  {
12458
12161
  ref,
12459
12162
  type: "tel",
12460
- label: t2(texts14.phoneNumber),
12163
+ label: t2(texts15.phoneNumber),
12461
12164
  value: value.nationalNumber,
12462
12165
  name: name ? `${name}-phone-number` : "phone-number",
12463
12166
  onChange: (e) => {
@@ -12473,7 +12176,7 @@ var init_PhoneNumberInput = __esm({
12473
12176
  ));
12474
12177
  }
12475
12178
  );
12476
- texts14 = createTexts({
12179
+ texts15 = createTexts({
12477
12180
  phoneNumber: {
12478
12181
  nb: "Telefonnummer",
12479
12182
  nn: "Telefonnummer",
@@ -12502,7 +12205,7 @@ var init_RadioGroup = __esm({
12502
12205
  );
12503
12206
  }
12504
12207
  });
12505
- exports.SearchInput = void 0; var texts15;
12208
+ exports.SearchInput = void 0; var texts16;
12506
12209
  var init_SearchInput = __esm({
12507
12210
  "src/input/SearchInput.tsx"() {
12508
12211
  init_input();
@@ -12531,21 +12234,21 @@ var init_SearchInput = __esm({
12531
12234
  placeholder: " ",
12532
12235
  "data-attachable": true
12533
12236
  }
12534
- ), /* @__PURE__ */ React49__namespace.default.createElement(exports.FormLabel, { htmlFor: inputId, pointerEvents: "none" }, label ?? t2(texts15.label)), showClearButton && /* @__PURE__ */ React49__namespace.default.createElement(exports.InputRightElement, { width: "fit-content" }, /* @__PURE__ */ React49__namespace.default.createElement(
12237
+ ), /* @__PURE__ */ React49__namespace.default.createElement(exports.FormLabel, { htmlFor: inputId, pointerEvents: "none" }, label ?? t2(texts16.label)), showClearButton && /* @__PURE__ */ React49__namespace.default.createElement(exports.InputRightElement, { width: "fit-content" }, /* @__PURE__ */ React49__namespace.default.createElement(
12535
12238
  react.IconButton,
12536
12239
  {
12537
12240
  variant: "ghost",
12538
12241
  type: "button",
12539
12242
  size: "sm",
12540
12243
  mr: 1,
12541
- "aria-label": t2(texts15.reset),
12244
+ "aria-label": t2(texts16.reset),
12542
12245
  icon: /* @__PURE__ */ React49__namespace.default.createElement(sporIconReact.CloseOutline24Icon, null),
12543
12246
  onClick: onReset
12544
12247
  }
12545
12248
  )));
12546
12249
  }
12547
12250
  );
12548
- texts15 = createTexts({
12251
+ texts16 = createTexts({
12549
12252
  label: {
12550
12253
  nb: "S\xF8k",
12551
12254
  nn: "S\xF8k",
@@ -12805,7 +12508,7 @@ var init_linjetag = __esm({
12805
12508
  init_TravelTag();
12806
12509
  }
12807
12510
  });
12808
- exports.TextLink = void 0; var texts16;
12511
+ exports.TextLink = void 0; var texts17;
12809
12512
  var init_TextLink = __esm({
12810
12513
  "src/link/TextLink.tsx"() {
12811
12514
  init_src();
@@ -12818,12 +12521,12 @@ var init_TextLink = __esm({
12818
12521
  sporIconReact.LinkOutOutline24Icon,
12819
12522
  {
12820
12523
  marginLeft: 0.5,
12821
- "aria-label": t2(texts16.externalLink)
12524
+ "aria-label": t2(texts17.externalLink)
12822
12525
  }
12823
12526
  ));
12824
12527
  }
12825
12528
  );
12826
- texts16 = createTexts({
12529
+ texts17 = createTexts({
12827
12530
  externalLink: {
12828
12531
  nb: "Ekstern lenke",
12829
12532
  nn: "Ekstern lenke",
@@ -13033,7 +12736,7 @@ var init_icons2 = __esm({
13033
12736
  ));
13034
12737
  }
13035
12738
  });
13036
- exports.JumpButton = void 0; var texts17;
12739
+ exports.JumpButton = void 0; var texts18;
13037
12740
  var init_JumpButton = __esm({
13038
12741
  "src/media-controller/JumpButton.tsx"() {
13039
12742
  init_src();
@@ -13054,14 +12757,14 @@ var init_JumpButton = __esm({
13054
12757
  {
13055
12758
  as: "button",
13056
12759
  sx: styles2.container,
13057
- "aria-label": direction2 === "forward" ? t2(texts17.forward) : t2(texts17.backward),
12760
+ "aria-label": direction2 === "forward" ? t2(texts18.forward) : t2(texts18.backward),
13058
12761
  disabled: isDisabled,
13059
12762
  ...props
13060
12763
  },
13061
12764
  direction2 === "forward" ? /* @__PURE__ */ React49__namespace.default.createElement(JumpForwardIcon, { sx: styles2.icon }) : /* @__PURE__ */ React49__namespace.default.createElement(JumpBackwardIcon, { sx: styles2.icon })
13062
12765
  );
13063
12766
  };
13064
- texts17 = createTexts({
12767
+ texts18 = createTexts({
13065
12768
  forward: {
13066
12769
  nb: "15 sekunder frem",
13067
12770
  nn: "15 sekunder fram",
@@ -13077,7 +12780,7 @@ var init_JumpButton = __esm({
13077
12780
  });
13078
12781
  }
13079
12782
  });
13080
- exports.PlayPauseButton = void 0; var texts18;
12783
+ exports.PlayPauseButton = void 0; var texts19;
13081
12784
  var init_PlayPauseButton = __esm({
13082
12785
  "src/media-controller/PlayPauseButton.tsx"() {
13083
12786
  init_src();
@@ -13098,14 +12801,14 @@ var init_PlayPauseButton = __esm({
13098
12801
  {
13099
12802
  as: "button",
13100
12803
  sx: styles2.container,
13101
- "aria-label": isPlaying ? t2(texts18.pause) : t2(texts18.play),
12804
+ "aria-label": isPlaying ? t2(texts19.pause) : t2(texts19.play),
13102
12805
  disabled: isDisabled,
13103
12806
  ...props
13104
12807
  },
13105
12808
  isPlaying ? /* @__PURE__ */ React49__namespace.default.createElement(PauseIcon, { sx: styles2.icon }) : /* @__PURE__ */ React49__namespace.default.createElement(PlayIcon, { sx: styles2.icon })
13106
12809
  );
13107
12810
  };
13108
- texts18 = createTexts({
12811
+ texts19 = createTexts({
13109
12812
  pause: {
13110
12813
  nb: "Pause",
13111
12814
  nn: "Pause",
@@ -13121,7 +12824,7 @@ var init_PlayPauseButton = __esm({
13121
12824
  });
13122
12825
  }
13123
12826
  });
13124
- exports.SkipButton = void 0; var texts19;
12827
+ exports.SkipButton = void 0; var texts20;
13125
12828
  var init_SkipButton = __esm({
13126
12829
  "src/media-controller/SkipButton.tsx"() {
13127
12830
  init_src();
@@ -13142,14 +12845,14 @@ var init_SkipButton = __esm({
13142
12845
  {
13143
12846
  as: "button",
13144
12847
  sx: styles2.container,
13145
- "aria-label": direction2 === "forward" ? t2(texts19.next) : t2(texts19.previous),
12848
+ "aria-label": direction2 === "forward" ? t2(texts20.next) : t2(texts20.previous),
13146
12849
  disabled: isDisabled,
13147
12850
  ...props
13148
12851
  },
13149
12852
  direction2 === "forward" ? /* @__PURE__ */ React49__namespace.default.createElement(SkipNextIcon, { sx: styles2.icon }) : /* @__PURE__ */ React49__namespace.default.createElement(SkipPreviousIcon, { sx: styles2.icon })
13150
12853
  );
13151
12854
  };
13152
- texts19 = createTexts({
12855
+ texts20 = createTexts({
13153
12856
  next: {
13154
12857
  nb: "Neste",
13155
12858
  nn: "Neste",
@@ -13291,7 +12994,7 @@ var init_modal = __esm({
13291
12994
  init_SimpleDrawer();
13292
12995
  }
13293
12996
  });
13294
- exports.PopoverWizardBody = void 0; var StepIndicator, createRange, NextStepButton, texts20;
12997
+ exports.PopoverWizardBody = void 0; var StepIndicator, createRange, NextStepButton, texts21;
13295
12998
  var init_PopoverWizardBody = __esm({
13296
12999
  "src/popover/PopoverWizardBody.tsx"() {
13297
13000
  init_src();
@@ -13343,10 +13046,10 @@ var init_PopoverWizardBody = __esm({
13343
13046
  leftIcon: isLastStep ? void 0 : /* @__PURE__ */ React49__namespace.createElement(sporIconReact.ArrowRightFill18Icon, null),
13344
13047
  onClick: isLastStep ? onClose : onNext
13345
13048
  },
13346
- t2(isLastStep ? texts20.finish : texts20.nextStep)
13049
+ t2(isLastStep ? texts21.finish : texts21.nextStep)
13347
13050
  );
13348
13051
  };
13349
- texts20 = createTexts({
13052
+ texts21 = createTexts({
13350
13053
  nextStep: {
13351
13054
  nb: "Neste",
13352
13055
  nn: "Neste",
@@ -13475,7 +13178,7 @@ var init_StepperContext = __esm({
13475
13178
  };
13476
13179
  }
13477
13180
  });
13478
- exports.Stepper = void 0; var texts21;
13181
+ exports.Stepper = void 0; var texts22;
13479
13182
  var init_Stepper = __esm({
13480
13183
  "src/stepper/Stepper.tsx"() {
13481
13184
  init_stepper();
@@ -13504,7 +13207,7 @@ var init_Stepper = __esm({
13504
13207
  /* @__PURE__ */ React49__namespace.default.createElement(react.Box, { __css: style.container }, /* @__PURE__ */ React49__namespace.default.createElement(react.Box, { __css: style.innerContainer }, /* @__PURE__ */ React49__namespace.default.createElement(react.HStack, null, activeStep > 1 && /* @__PURE__ */ React49__namespace.default.createElement(
13505
13208
  exports.IconButton,
13506
13209
  {
13507
- "aria-label": t2(texts21.back),
13210
+ "aria-label": t2(texts22.back),
13508
13211
  icon: /* @__PURE__ */ React49__namespace.default.createElement(sporIconReact.DropdownLeftFill24Icon, null),
13509
13212
  variant: "ghost",
13510
13213
  size: "sm",
@@ -13514,14 +13217,14 @@ var init_Stepper = __esm({
13514
13217
  ), /* @__PURE__ */ React49__namespace.default.createElement(
13515
13218
  exports.SimplePopover,
13516
13219
  {
13517
- triggerElement: /* @__PURE__ */ React49__namespace.default.createElement(react.Box, { as: "button", __css: style.stepCounter }, t2(texts21.stepsOf(activeStep, numberOfSteps))),
13220
+ triggerElement: /* @__PURE__ */ React49__namespace.default.createElement(react.Box, { as: "button", __css: style.stepCounter }, t2(texts22.stepsOf(activeStep, numberOfSteps))),
13518
13221
  borderRadius: "xs"
13519
13222
  },
13520
13223
  steps.map((step, index2) => /* @__PURE__ */ React49__namespace.default.createElement(exports.StepperStep, { key: step, stepNumber: index2 + 1 }, step))
13521
13224
  )), title && /* @__PURE__ */ React49__namespace.default.createElement(react.Box, { as: "h3", __css: style.title }, title)), /* @__PURE__ */ React49__namespace.default.createElement(react.Flex, { justifyContent: "center", display: ["none", "flex"] }, steps.map((step, index2) => /* @__PURE__ */ React49__namespace.default.createElement(exports.StepperStep, { key: index2, stepNumber: index2 + 1 }, step))))
13522
13225
  ));
13523
13226
  };
13524
- texts21 = createTexts({
13227
+ texts22 = createTexts({
13525
13228
  stepsOf: (activeStep, numberOfSteps) => ({
13526
13229
  nb: `Steg ${activeStep} av ${numberOfSteps}`,
13527
13230
  nn: `Steg ${activeStep} av ${numberOfSteps}`,
@@ -13673,11 +13376,11 @@ var init_chunk_RXCYWA6Q = __esm({
13673
13376
  });
13674
13377
 
13675
13378
  // ../../node_modules/@chakra-ui/theme/dist/chunk-5QZEG2IM.mjs
13676
- var zIndices2, z_index_default;
13379
+ var zIndices, z_index_default;
13677
13380
  var init_chunk_5QZEG2IM = __esm({
13678
13381
  "../../node_modules/@chakra-ui/theme/dist/chunk-5QZEG2IM.mjs"() {
13679
13382
  "use client";
13680
- zIndices2 = {
13383
+ zIndices = {
13681
13384
  hide: -1,
13682
13385
  auto: "auto",
13683
13386
  base: 0,
@@ -13692,32 +13395,32 @@ var init_chunk_5QZEG2IM = __esm({
13692
13395
  toast: 1700,
13693
13396
  tooltip: 1800
13694
13397
  };
13695
- z_index_default = zIndices2;
13398
+ z_index_default = zIndices;
13696
13399
  }
13697
13400
  });
13698
13401
 
13699
13402
  // ../../node_modules/@chakra-ui/theme/dist/chunk-PE5G6LAZ.mjs
13700
- var borders2, borders_default;
13403
+ var borders, borders_default;
13701
13404
  var init_chunk_PE5G6LAZ = __esm({
13702
13405
  "../../node_modules/@chakra-ui/theme/dist/chunk-PE5G6LAZ.mjs"() {
13703
13406
  "use client";
13704
- borders2 = {
13407
+ borders = {
13705
13408
  none: 0,
13706
13409
  "1px": "1px solid",
13707
13410
  "2px": "2px solid",
13708
13411
  "4px": "4px solid",
13709
13412
  "8px": "8px solid"
13710
13413
  };
13711
- borders_default = borders2;
13414
+ borders_default = borders;
13712
13415
  }
13713
13416
  });
13714
13417
 
13715
13418
  // ../../node_modules/@chakra-ui/theme/dist/chunk-ZCARTYDH.mjs
13716
- var breakpoints2, breakpoints_default;
13419
+ var breakpoints, breakpoints_default;
13717
13420
  var init_chunk_ZCARTYDH = __esm({
13718
13421
  "../../node_modules/@chakra-ui/theme/dist/chunk-ZCARTYDH.mjs"() {
13719
13422
  "use client";
13720
- breakpoints2 = {
13423
+ breakpoints = {
13721
13424
  base: "0em",
13722
13425
  sm: "30em",
13723
13426
  md: "48em",
@@ -13725,7 +13428,7 @@ var init_chunk_ZCARTYDH = __esm({
13725
13428
  xl: "80em",
13726
13429
  "2xl": "96em"
13727
13430
  };
13728
- breakpoints_default = breakpoints2;
13431
+ breakpoints_default = breakpoints;
13729
13432
  }
13730
13433
  });
13731
13434
 
@@ -13961,11 +13664,11 @@ var init_chunk_OFZWI3IK = __esm({
13961
13664
  });
13962
13665
 
13963
13666
  // ../../node_modules/@chakra-ui/theme/dist/chunk-AMMMMB27.mjs
13964
- var radii2, radius_default;
13667
+ var radii, radius_default;
13965
13668
  var init_chunk_AMMMMB27 = __esm({
13966
13669
  "../../node_modules/@chakra-ui/theme/dist/chunk-AMMMMB27.mjs"() {
13967
13670
  "use client";
13968
- radii2 = {
13671
+ radii = {
13969
13672
  none: "0",
13970
13673
  sm: "0.125rem",
13971
13674
  base: "0.25rem",
@@ -13976,7 +13679,7 @@ var init_chunk_AMMMMB27 = __esm({
13976
13679
  "3xl": "1.5rem",
13977
13680
  full: "9999px"
13978
13681
  };
13979
- radius_default = radii2;
13682
+ radius_default = radii;
13980
13683
  }
13981
13684
  });
13982
13685
 
@@ -14091,11 +13794,11 @@ var init_chunk_VW4MZLZF = __esm({
14091
13794
  });
14092
13795
 
14093
13796
  // ../../node_modules/@chakra-ui/theme/dist/chunk-NIUVG5KM.mjs
14094
- var spacing2;
13797
+ var spacing;
14095
13798
  var init_chunk_NIUVG5KM = __esm({
14096
13799
  "../../node_modules/@chakra-ui/theme/dist/chunk-NIUVG5KM.mjs"() {
14097
13800
  "use client";
14098
- spacing2 = {
13801
+ spacing = {
14099
13802
  px: "1px",
14100
13803
  0.5: "0.125rem",
14101
13804
  1: "0.25rem",
@@ -14134,11 +13837,11 @@ var init_chunk_NIUVG5KM = __esm({
14134
13837
  });
14135
13838
 
14136
13839
  // ../../node_modules/@chakra-ui/theme/dist/chunk-QH74K4BV.mjs
14137
- var largeSizes2, container2, sizes2, sizes_default;
13840
+ var largeSizes, container, sizes, sizes_default;
14138
13841
  var init_chunk_QH74K4BV = __esm({
14139
13842
  "../../node_modules/@chakra-ui/theme/dist/chunk-QH74K4BV.mjs"() {
14140
13843
  init_chunk_NIUVG5KM();
14141
- largeSizes2 = {
13844
+ largeSizes = {
14142
13845
  max: "max-content",
14143
13846
  min: "min-content",
14144
13847
  full: "100%",
@@ -14158,18 +13861,18 @@ var init_chunk_QH74K4BV = __esm({
14158
13861
  "8xl": "90rem",
14159
13862
  prose: "60ch"
14160
13863
  };
14161
- container2 = {
13864
+ container = {
14162
13865
  sm: "640px",
14163
13866
  md: "768px",
14164
13867
  lg: "1024px",
14165
13868
  xl: "1280px"
14166
13869
  };
14167
- sizes2 = {
14168
- ...spacing2,
14169
- ...largeSizes2,
14170
- container: container2
13870
+ sizes = {
13871
+ ...spacing,
13872
+ ...largeSizes,
13873
+ container
14171
13874
  };
14172
- sizes_default = sizes2;
13875
+ sizes_default = sizes;
14173
13876
  }
14174
13877
  });
14175
13878
 
@@ -14197,7 +13900,7 @@ var init_chunk_5FMCT5RQ = __esm({
14197
13900
  ...typography_default,
14198
13901
  sizes: sizes_default,
14199
13902
  shadows: shadows_default,
14200
- space: spacing2,
13903
+ space: spacing,
14201
13904
  borders: borders_default,
14202
13905
  transition: transition_default
14203
13906
  };
@@ -14375,7 +14078,7 @@ function createMultiStyleConfigHelpers(parts14) {
14375
14078
  }
14376
14079
  };
14377
14080
  }
14378
- var import_lodash3, isImportant, withoutImportant, tokenToCSSVar, pipe, getRtl, transformTemplate, filterTemplate, backdropFilterTemplate, flexDirectionTemplate, directionMap, valueSet, globalSet, trimSpace, isCSSFunction, gradientTransform, analyzeCSSValue, wrap, transformFunctions, t, background, border, color, effect, filter, flexbox, grid, interactivity, layout, list, memoize, memoizedGet, srOnly, srFocusable, getWithPriority, others, position, ring, space2, textDecoration, transform, transition2, typography2, scroll, toExpression, add, subtract, multiply, divide, negate, calc, state, toGroup, toPeer, merge, pseudoSelectors, pseudoPropNames, systemProps;
14081
+ var import_lodash3, isImportant, withoutImportant, tokenToCSSVar, pipe, getRtl, transformTemplate, filterTemplate, backdropFilterTemplate, flexDirectionTemplate, directionMap, valueSet, globalSet, trimSpace, isCSSFunction, gradientTransform, analyzeCSSValue, wrap, transformFunctions, t, background, border, color, effect, filter, flexbox, grid, interactivity, layout, list, memoize, memoizedGet, srOnly, srFocusable, getWithPriority, others, position, ring, space, textDecoration, transform, transition2, typography2, scroll, toExpression, add, subtract, multiply, divide, negate, calc, state, toGroup, toPeer, merge, pseudoSelectors, pseudoPropNames, systemProps;
14379
14082
  var init_dist3 = __esm({
14380
14083
  "../../node_modules/@chakra-ui/styled-system/dist/index.mjs"() {
14381
14084
  init_dist2();
@@ -15015,7 +14718,7 @@ var init_dist3 = __esm({
15015
14718
  ringOffsetColor: t.colors("--chakra-ring-offset-color"),
15016
14719
  ringInset: t.prop("--chakra-ring-inset")
15017
14720
  };
15018
- space2 = {
14721
+ space = {
15019
14722
  margin: t.spaceT("margin"),
15020
14723
  marginTop: t.spaceT("marginTop"),
15021
14724
  marginBlockStart: t.spaceT("marginBlockStart"),
@@ -15043,29 +14746,29 @@ var init_dist3 = __esm({
15043
14746
  paddingY: t.space(["paddingTop", "paddingBottom"]),
15044
14747
  paddingBlock: t.space("paddingBlock")
15045
14748
  };
15046
- Object.assign(space2, {
15047
- m: space2.margin,
15048
- mt: space2.marginTop,
15049
- mr: space2.marginRight,
15050
- me: space2.marginInlineEnd,
15051
- marginEnd: space2.marginInlineEnd,
15052
- mb: space2.marginBottom,
15053
- ml: space2.marginLeft,
15054
- ms: space2.marginInlineStart,
15055
- marginStart: space2.marginInlineStart,
15056
- mx: space2.marginX,
15057
- my: space2.marginY,
15058
- p: space2.padding,
15059
- pt: space2.paddingTop,
15060
- py: space2.paddingY,
15061
- px: space2.paddingX,
15062
- pb: space2.paddingBottom,
15063
- pl: space2.paddingLeft,
15064
- ps: space2.paddingInlineStart,
15065
- paddingStart: space2.paddingInlineStart,
15066
- pr: space2.paddingRight,
15067
- pe: space2.paddingInlineEnd,
15068
- paddingEnd: space2.paddingInlineEnd
14749
+ Object.assign(space, {
14750
+ m: space.margin,
14751
+ mt: space.marginTop,
14752
+ mr: space.marginRight,
14753
+ me: space.marginInlineEnd,
14754
+ marginEnd: space.marginInlineEnd,
14755
+ mb: space.marginBottom,
14756
+ ml: space.marginLeft,
14757
+ ms: space.marginInlineStart,
14758
+ marginStart: space.marginInlineStart,
14759
+ mx: space.marginX,
14760
+ my: space.marginY,
14761
+ p: space.padding,
14762
+ pt: space.paddingTop,
14763
+ py: space.paddingY,
14764
+ px: space.paddingX,
14765
+ pb: space.paddingBottom,
14766
+ pl: space.paddingLeft,
14767
+ ps: space.paddingInlineStart,
14768
+ paddingStart: space.paddingInlineStart,
14769
+ pr: space.paddingRight,
14770
+ pe: space.paddingInlineEnd,
14771
+ paddingEnd: space.paddingInlineEnd
15069
14772
  });
15070
14773
  textDecoration = {
15071
14774
  textDecorationColor: t.colors("textDecorationColor"),
@@ -15284,7 +14987,7 @@ var init_dist3 = __esm({
15284
14987
  others,
15285
14988
  position,
15286
14989
  effect,
15287
- space2,
14990
+ space,
15288
14991
  scroll,
15289
14992
  typography2,
15290
14993
  textDecoration,
@@ -15292,7 +14995,7 @@ var init_dist3 = __esm({
15292
14995
  list,
15293
14996
  transition2
15294
14997
  );
15295
- Object.assign({}, space2, layout, flexbox, grid, position);
14998
+ Object.assign({}, space, layout, flexbox, grid, position);
15296
14999
  [...Object.keys(systemProps), ...pseudoPropNames];
15297
15000
  ({ ...systemProps, ...pseudoSelectors });
15298
15001
  }
@@ -15629,7 +15332,7 @@ var init_dist4 = __esm({
15629
15332
  init_chunk_7LPD4XZ3();
15630
15333
  }
15631
15334
  });
15632
- var defineMultiStyleConfig2, definePartsStyle2, $width, $height, $diff, diffValue, $translateX, $bg, baseStyleTrack, baseStyleThumb, baseStyle2, sizes3, switchTheme;
15335
+ var defineMultiStyleConfig2, definePartsStyle2, $width, $height, $diff, diffValue, $translateX, $bg, baseStyleTrack, baseStyleThumb, baseStyle2, sizes2, switchTheme;
15633
15336
  var init_chunk_XRIBTYHG = __esm({
15634
15337
  "../../node_modules/@chakra-ui/theme/dist/chunk-XRIBTYHG.mjs"() {
15635
15338
  init_dist4();
@@ -15692,7 +15395,7 @@ var init_chunk_XRIBTYHG = __esm({
15692
15395
  track: baseStyleTrack(props),
15693
15396
  thumb: baseStyleThumb
15694
15397
  }));
15695
- sizes3 = {
15398
+ sizes2 = {
15696
15399
  sm: definePartsStyle2({
15697
15400
  container: {
15698
15401
  [$width.variable]: "1.375rem",
@@ -15714,7 +15417,7 @@ var init_chunk_XRIBTYHG = __esm({
15714
15417
  };
15715
15418
  switchTheme = defineMultiStyleConfig2({
15716
15419
  baseStyle: baseStyle2,
15717
- sizes: sizes3,
15420
+ sizes: sizes2,
15718
15421
  defaultProps: {
15719
15422
  size: "md",
15720
15423
  colorScheme: "blue"
@@ -15722,7 +15425,7 @@ var init_chunk_XRIBTYHG = __esm({
15722
15425
  });
15723
15426
  }
15724
15427
  });
15725
- var defineMultiStyleConfig3, definePartsStyle3, baseStyle3, numericStyles, variantSimple, variantStripe, variants, sizes4, tableTheme;
15428
+ var defineMultiStyleConfig3, definePartsStyle3, baseStyle3, numericStyles, variantSimple, variantStripe, variants, sizes3, tableTheme;
15726
15429
  var init_chunk_FI633VWD = __esm({
15727
15430
  "../../node_modules/@chakra-ui/theme/dist/chunk-FI633VWD.mjs"() {
15728
15431
  init_dist4();
@@ -15826,7 +15529,7 @@ var init_chunk_FI633VWD = __esm({
15826
15529
  striped: variantStripe,
15827
15530
  unstyled: defineStyle({})
15828
15531
  };
15829
- sizes4 = {
15532
+ sizes3 = {
15830
15533
  sm: definePartsStyle3({
15831
15534
  th: {
15832
15535
  px: "4",
@@ -15886,7 +15589,7 @@ var init_chunk_FI633VWD = __esm({
15886
15589
  tableTheme = defineMultiStyleConfig3({
15887
15590
  baseStyle: baseStyle3,
15888
15591
  variants,
15889
- sizes: sizes4,
15592
+ sizes: sizes3,
15890
15593
  defaultProps: {
15891
15594
  variant: "simple",
15892
15595
  size: "md",
@@ -15895,7 +15598,7 @@ var init_chunk_FI633VWD = __esm({
15895
15598
  });
15896
15599
  }
15897
15600
  });
15898
- var $fg, $bg2, $border, defineMultiStyleConfig4, definePartsStyle4, baseStyleRoot, baseStyleTab, baseStyleTablist, baseStyleTabpanel, baseStyle4, sizes5, variantLine, variantEnclosed, variantEnclosedColored, variantSoftRounded, variantSolidRounded, variantUnstyled, variants2, tabsTheme;
15601
+ var $fg, $bg2, $border, defineMultiStyleConfig4, definePartsStyle4, baseStyleRoot, baseStyleTab, baseStyleTablist, baseStyleTabpanel, baseStyle4, sizes4, variantLine, variantEnclosed, variantEnclosedColored, variantSoftRounded, variantSolidRounded, variantUnstyled, variants2, tabsTheme;
15899
15602
  var init_chunk_T6EHV47V = __esm({
15900
15603
  "../../node_modules/@chakra-ui/theme/dist/chunk-T6EHV47V.mjs"() {
15901
15604
  init_dist4();
@@ -15947,7 +15650,7 @@ var init_chunk_T6EHV47V = __esm({
15947
15650
  tablist: baseStyleTablist(props),
15948
15651
  tabpanel: baseStyleTabpanel
15949
15652
  }));
15950
- sizes5 = {
15653
+ sizes4 = {
15951
15654
  sm: definePartsStyle4({
15952
15655
  tab: {
15953
15656
  py: 1,
@@ -16116,7 +15819,7 @@ var init_chunk_T6EHV47V = __esm({
16116
15819
  };
16117
15820
  tabsTheme = defineMultiStyleConfig4({
16118
15821
  baseStyle: baseStyle4,
16119
- sizes: sizes5,
15822
+ sizes: sizes4,
16120
15823
  variants: variants2,
16121
15824
  defaultProps: {
16122
15825
  size: "md",
@@ -16193,7 +15896,7 @@ var init_chunk_4FUZMKSO = __esm({
16193
15896
  });
16194
15897
 
16195
15898
  // ../../node_modules/@chakra-ui/theme/dist/chunk-VM3745AK.mjs
16196
- var defineMultiStyleConfig5, definePartsStyle5, $bg3, $color, $shadow, $minH, $minW, $fontSize, $paddingX, baseStyleContainer, baseStyleLabel, baseStyleCloseButton, baseStyle6, sizes6, variants4, tagTheme;
15899
+ var defineMultiStyleConfig5, definePartsStyle5, $bg3, $color, $shadow, $minH, $minW, $fontSize, $paddingX, baseStyleContainer, baseStyleLabel, baseStyleCloseButton, baseStyle6, sizes5, variants4, tagTheme;
16197
15900
  var init_chunk_VM3745AK = __esm({
16198
15901
  "../../node_modules/@chakra-ui/theme/dist/chunk-VM3745AK.mjs"() {
16199
15902
  init_chunk_4FUZMKSO();
@@ -16259,7 +15962,7 @@ var init_chunk_VM3745AK = __esm({
16259
15962
  label: baseStyleLabel,
16260
15963
  closeButton: baseStyleCloseButton
16261
15964
  });
16262
- sizes6 = {
15965
+ sizes5 = {
16263
15966
  sm: definePartsStyle5({
16264
15967
  container: {
16265
15968
  [$minH.variable]: "sizes.5",
@@ -16312,7 +16015,7 @@ var init_chunk_VM3745AK = __esm({
16312
16015
  tagTheme = defineMultiStyleConfig5({
16313
16016
  variants: variants4,
16314
16017
  baseStyle: baseStyle6,
16315
- sizes: sizes6,
16018
+ sizes: sizes5,
16316
16019
  defaultProps: {
16317
16020
  size: "md",
16318
16021
  variant: "subtle",
@@ -16328,7 +16031,7 @@ function getDefaults(props) {
16328
16031
  errorBorderColor: ec || themeTools.mode("red.500", "red.300")(props)
16329
16032
  };
16330
16033
  }
16331
- var definePartsStyle6, defineMultiStyleConfig6, $height2, $fontSize2, $padding, $borderRadius, baseStyle7, size, sizes7, variantOutline2, variantFilled, variantFlushed, variantUnstyled2, variants5, inputTheme;
16034
+ var definePartsStyle6, defineMultiStyleConfig6, $height2, $fontSize2, $padding, $borderRadius, baseStyle7, size, sizes6, variantOutline2, variantFilled, variantFlushed, variantUnstyled2, variants5, inputTheme;
16332
16035
  var init_chunk_FIZIJHUN = __esm({
16333
16036
  "../../node_modules/@chakra-ui/theme/dist/chunk-FIZIJHUN.mjs"() {
16334
16037
  init_dist4();
@@ -16389,7 +16092,7 @@ var init_chunk_FIZIJHUN = __esm({
16389
16092
  [$height2.variable]: "sizes.6"
16390
16093
  })
16391
16094
  };
16392
- sizes7 = {
16095
+ sizes6 = {
16393
16096
  lg: definePartsStyle6({
16394
16097
  field: size.lg,
16395
16098
  group: size.lg
@@ -16521,7 +16224,7 @@ var init_chunk_FIZIJHUN = __esm({
16521
16224
  };
16522
16225
  inputTheme = defineMultiStyleConfig6({
16523
16226
  baseStyle: baseStyle7,
16524
- sizes: sizes7,
16227
+ sizes: sizes6,
16525
16228
  variants: variants5,
16526
16229
  defaultProps: {
16527
16230
  size: "md",
@@ -16532,7 +16235,7 @@ var init_chunk_FIZIJHUN = __esm({
16532
16235
  });
16533
16236
 
16534
16237
  // ../../node_modules/@chakra-ui/theme/dist/chunk-TN6RO673.mjs
16535
- var _a, baseStyle8, _a2, _b, variants6, _a3, _b2, _c, _d, _e, _f, _g, _h, sizes8, textareaTheme;
16238
+ var _a, baseStyle8, _a2, _b, variants6, _a3, _b2, _c, _d, _e, _f, _g, _h, sizes7, textareaTheme;
16536
16239
  var init_chunk_TN6RO673 = __esm({
16537
16240
  "../../node_modules/@chakra-ui/theme/dist/chunk-TN6RO673.mjs"() {
16538
16241
  init_chunk_FIZIJHUN();
@@ -16565,7 +16268,7 @@ var init_chunk_TN6RO673 = __esm({
16565
16268
  ),
16566
16269
  unstyled: (_b = (_a2 = inputTheme.variants) == null ? void 0 : _a2.unstyled.field) != null ? _b : {}
16567
16270
  };
16568
- sizes8 = {
16271
+ sizes7 = {
16569
16272
  xs: (_b2 = (_a3 = inputTheme.sizes) == null ? void 0 : _a3.xs.field) != null ? _b2 : {},
16570
16273
  sm: (_d = (_c = inputTheme.sizes) == null ? void 0 : _c.sm.field) != null ? _d : {},
16571
16274
  md: (_f = (_e = inputTheme.sizes) == null ? void 0 : _e.md.field) != null ? _f : {},
@@ -16573,7 +16276,7 @@ var init_chunk_TN6RO673 = __esm({
16573
16276
  };
16574
16277
  textareaTheme = defineStyleConfig({
16575
16278
  baseStyle: baseStyle8,
16576
- sizes: sizes8,
16279
+ sizes: sizes7,
16577
16280
  variants: variants6,
16578
16281
  defaultProps: {
16579
16282
  size: "md",
@@ -16613,7 +16316,7 @@ var init_chunk_J54NBX2J = __esm({
16613
16316
  });
16614
16317
  }
16615
16318
  });
16616
- var defineMultiStyleConfig7, definePartsStyle7, filledStyle, baseStyleLabel2, baseStyleTrack2, baseStyleFilledTrack, baseStyle10, sizes9, progressTheme;
16319
+ var defineMultiStyleConfig7, definePartsStyle7, filledStyle, baseStyleLabel2, baseStyleTrack2, baseStyleFilledTrack, baseStyle10, sizes8, progressTheme;
16617
16320
  var init_chunk_BA7PF5LB = __esm({
16618
16321
  "../../node_modules/@chakra-ui/theme/dist/chunk-BA7PF5LB.mjs"() {
16619
16322
  init_dist4();
@@ -16661,7 +16364,7 @@ var init_chunk_BA7PF5LB = __esm({
16661
16364
  filledTrack: baseStyleFilledTrack(props),
16662
16365
  track: baseStyleTrack2(props)
16663
16366
  }));
16664
- sizes9 = {
16367
+ sizes8 = {
16665
16368
  xs: definePartsStyle7({
16666
16369
  track: { h: "1" }
16667
16370
  }),
@@ -16676,7 +16379,7 @@ var init_chunk_BA7PF5LB = __esm({
16676
16379
  })
16677
16380
  };
16678
16381
  progressTheme = defineMultiStyleConfig7({
16679
- sizes: sizes9,
16382
+ sizes: sizes8,
16680
16383
  baseStyle: baseStyle10,
16681
16384
  defaultProps: {
16682
16385
  size: "md",
@@ -16697,7 +16400,7 @@ var init_chunk_RQ25AHBB = __esm({
16697
16400
  isFunction = (value) => typeof value === "function";
16698
16401
  }
16699
16402
  });
16700
- var definePartsStyle8, defineMultiStyleConfig8, $size2, baseStyleControl, baseStyleContainer2, baseStyleLabel3, baseStyleIcon, baseStyle11, sizes10, checkboxTheme;
16403
+ var definePartsStyle8, defineMultiStyleConfig8, $size2, baseStyleControl, baseStyleContainer2, baseStyleLabel3, baseStyleIcon, baseStyle11, sizes9, checkboxTheme;
16701
16404
  var init_chunk_Y7UXPTSV = __esm({
16702
16405
  "../../node_modules/@chakra-ui/theme/dist/chunk-Y7UXPTSV.mjs"() {
16703
16406
  init_chunk_RQ25AHBB();
@@ -16764,7 +16467,7 @@ var init_chunk_Y7UXPTSV = __esm({
16764
16467
  control: runIfFn(baseStyleControl, props),
16765
16468
  label: baseStyleLabel3
16766
16469
  }));
16767
- sizes10 = {
16470
+ sizes9 = {
16768
16471
  sm: definePartsStyle8({
16769
16472
  control: { [$size2.variable]: "sizes.3" },
16770
16473
  label: { fontSize: "sm" },
@@ -16783,7 +16486,7 @@ var init_chunk_Y7UXPTSV = __esm({
16783
16486
  };
16784
16487
  checkboxTheme = defineMultiStyleConfig8({
16785
16488
  baseStyle: baseStyle11,
16786
- sizes: sizes10,
16489
+ sizes: sizes9,
16787
16490
  defaultProps: {
16788
16491
  size: "md",
16789
16492
  colorScheme: "blue"
@@ -16793,7 +16496,7 @@ var init_chunk_Y7UXPTSV = __esm({
16793
16496
  });
16794
16497
 
16795
16498
  // ../../node_modules/@chakra-ui/theme/dist/chunk-BJIKSU3K.mjs
16796
- var defineMultiStyleConfig9, definePartsStyle9, baseStyleControl2, baseStyle12, sizes11, radioTheme;
16499
+ var defineMultiStyleConfig9, definePartsStyle9, baseStyleControl2, baseStyle12, sizes10, radioTheme;
16797
16500
  var init_chunk_BJIKSU3K = __esm({
16798
16501
  "../../node_modules/@chakra-ui/theme/dist/chunk-BJIKSU3K.mjs"() {
16799
16502
  init_chunk_Y7UXPTSV();
@@ -16829,7 +16532,7 @@ var init_chunk_BJIKSU3K = __esm({
16829
16532
  control: baseStyleControl2(props)
16830
16533
  };
16831
16534
  });
16832
- sizes11 = {
16535
+ sizes10 = {
16833
16536
  md: definePartsStyle9({
16834
16537
  control: { w: "4", h: "4" },
16835
16538
  label: { fontSize: "md" }
@@ -16845,7 +16548,7 @@ var init_chunk_BJIKSU3K = __esm({
16845
16548
  };
16846
16549
  radioTheme = defineMultiStyleConfig9({
16847
16550
  baseStyle: baseStyle12,
16848
- sizes: sizes11,
16551
+ sizes: sizes10,
16849
16552
  defaultProps: {
16850
16553
  size: "md",
16851
16554
  colorScheme: "blue"
@@ -16855,7 +16558,7 @@ var init_chunk_BJIKSU3K = __esm({
16855
16558
  });
16856
16559
 
16857
16560
  // ../../node_modules/@chakra-ui/theme/dist/chunk-ILLVD2I4.mjs
16858
- var defineMultiStyleConfig10, definePartsStyle10, $bg5, _a4, baseStyleField, baseStyleIcon2, baseStyle13, iconSpacing, _a22, _b3, _c2, _d2, _e2, _f2, _g2, _h2, sizes12, selectTheme;
16561
+ var defineMultiStyleConfig10, definePartsStyle10, $bg5, _a4, baseStyleField, baseStyleIcon2, baseStyle13, iconSpacing, _a22, _b3, _c2, _d2, _e2, _f2, _g2, _h2, sizes11, selectTheme;
16859
16562
  var init_chunk_ILLVD2I4 = __esm({
16860
16563
  "../../node_modules/@chakra-ui/theme/dist/chunk-ILLVD2I4.mjs"() {
16861
16564
  init_chunk_FIZIJHUN();
@@ -16895,7 +16598,7 @@ var init_chunk_ILLVD2I4 = __esm({
16895
16598
  iconSpacing = defineStyle({
16896
16599
  paddingInlineEnd: "8"
16897
16600
  });
16898
- sizes12 = {
16601
+ sizes11 = {
16899
16602
  lg: {
16900
16603
  ...(_a22 = inputTheme.sizes) == null ? void 0 : _a22.lg,
16901
16604
  field: {
@@ -16930,7 +16633,7 @@ var init_chunk_ILLVD2I4 = __esm({
16930
16633
  };
16931
16634
  selectTheme = defineMultiStyleConfig10({
16932
16635
  baseStyle: baseStyle13,
16933
- sizes: sizes12,
16636
+ sizes: sizes11,
16934
16637
  variants: inputTheme.variants,
16935
16638
  defaultProps: inputTheme.defaultProps
16936
16639
  });
@@ -16989,7 +16692,7 @@ var init_chunk_URZN3QPP = __esm({
16989
16692
  });
16990
16693
  }
16991
16694
  });
16992
- var defineMultiStyleConfig11, definePartsStyle11, $thumbSize, $trackSize, $bg7, baseStyleContainer3, baseStyleTrack3, baseStyleThumb2, baseStyleFilledTrack2, baseStyle16, sizeLg, sizeMd, sizeSm, sizes13, sliderTheme;
16695
+ var defineMultiStyleConfig11, definePartsStyle11, $thumbSize, $trackSize, $bg7, baseStyleContainer3, baseStyleTrack3, baseStyleThumb2, baseStyleFilledTrack2, baseStyle16, sizeLg, sizeMd, sizeSm, sizes12, sliderTheme;
16993
16696
  var init_chunk_PUPKOASV = __esm({
16994
16697
  "../../node_modules/@chakra-ui/theme/dist/chunk-PUPKOASV.mjs"() {
16995
16698
  init_dist4();
@@ -17119,14 +16822,14 @@ var init_chunk_PUPKOASV = __esm({
17119
16822
  [$trackSize.variable]: `sizes.0.5`
17120
16823
  }
17121
16824
  });
17122
- sizes13 = {
16825
+ sizes12 = {
17123
16826
  lg: sizeLg,
17124
16827
  md: sizeMd,
17125
16828
  sm: sizeSm
17126
16829
  };
17127
16830
  sliderTheme = defineMultiStyleConfig11({
17128
16831
  baseStyle: baseStyle16,
17129
- sizes: sizes13,
16832
+ sizes: sizes12,
17130
16833
  defaultProps: {
17131
16834
  size: "md",
17132
16835
  colorScheme: "blue"
@@ -17134,7 +16837,7 @@ var init_chunk_PUPKOASV = __esm({
17134
16837
  });
17135
16838
  }
17136
16839
  });
17137
- var $size3, baseStyle17, sizes14, spinnerTheme;
16840
+ var $size3, baseStyle17, sizes13, spinnerTheme;
17138
16841
  var init_chunk_HOBQJOCR = __esm({
17139
16842
  "../../node_modules/@chakra-ui/theme/dist/chunk-HOBQJOCR.mjs"() {
17140
16843
  init_dist3();
@@ -17143,7 +16846,7 @@ var init_chunk_HOBQJOCR = __esm({
17143
16846
  width: [$size3.reference],
17144
16847
  height: [$size3.reference]
17145
16848
  });
17146
- sizes14 = {
16849
+ sizes13 = {
17147
16850
  xs: defineStyle({
17148
16851
  [$size3.variable]: "sizes.3"
17149
16852
  }),
@@ -17162,7 +16865,7 @@ var init_chunk_HOBQJOCR = __esm({
17162
16865
  };
17163
16866
  spinnerTheme = defineStyleConfig({
17164
16867
  baseStyle: baseStyle17,
17165
- sizes: sizes14,
16868
+ sizes: sizes13,
17166
16869
  defaultProps: {
17167
16870
  size: "md"
17168
16871
  }
@@ -17171,7 +16874,7 @@ var init_chunk_HOBQJOCR = __esm({
17171
16874
  });
17172
16875
 
17173
16876
  // ../../node_modules/@chakra-ui/theme/dist/chunk-66QM3UU6.mjs
17174
- var defineMultiStyleConfig12, definePartsStyle12, baseStyleLabel4, baseStyleHelpText, baseStyleNumber, baseStyleIcon3, baseStyle18, sizes15, statTheme;
16877
+ var defineMultiStyleConfig12, definePartsStyle12, baseStyleLabel4, baseStyleHelpText, baseStyleNumber, baseStyleIcon3, baseStyle18, sizes14, statTheme;
17175
16878
  var init_chunk_66QM3UU6 = __esm({
17176
16879
  "../../node_modules/@chakra-ui/theme/dist/chunk-66QM3UU6.mjs"() {
17177
16880
  init_dist4();
@@ -17201,7 +16904,7 @@ var init_chunk_66QM3UU6 = __esm({
17201
16904
  number: baseStyleNumber,
17202
16905
  icon: baseStyleIcon3
17203
16906
  });
17204
- sizes15 = {
16907
+ sizes14 = {
17205
16908
  md: definePartsStyle12({
17206
16909
  label: { fontSize: "sm" },
17207
16910
  helpText: { fontSize: "sm" },
@@ -17210,7 +16913,7 @@ var init_chunk_66QM3UU6 = __esm({
17210
16913
  };
17211
16914
  statTheme = defineMultiStyleConfig12({
17212
16915
  baseStyle: baseStyle18,
17213
- sizes: sizes15,
16916
+ sizes: sizes14,
17214
16917
  defaultProps: {
17215
16918
  size: "md"
17216
16919
  }
@@ -17404,7 +17107,7 @@ function getSize(value) {
17404
17107
  dialog: { maxW: value }
17405
17108
  });
17406
17109
  }
17407
- var defineMultiStyleConfig15, definePartsStyle15, $bg10, $shadow3, baseStyleOverlay, baseStyleDialogContainer, baseStyleDialog, baseStyleHeader, baseStyleCloseButton2, baseStyleBody, baseStyleFooter, baseStyle23, sizes16, modalTheme;
17110
+ var defineMultiStyleConfig15, definePartsStyle15, $bg10, $shadow3, baseStyleOverlay, baseStyleDialogContainer, baseStyleDialog, baseStyleHeader, baseStyleCloseButton2, baseStyleBody, baseStyleFooter, baseStyle23, sizes15, modalTheme;
17408
17111
  var init_chunk_JIVTZ35T = __esm({
17409
17112
  "../../node_modules/@chakra-ui/theme/dist/chunk-JIVTZ35T.mjs"() {
17410
17113
  init_chunk_RQ25AHBB();
@@ -17480,7 +17183,7 @@ var init_chunk_JIVTZ35T = __esm({
17480
17183
  body: runIfFn(baseStyleBody, props),
17481
17184
  footer: baseStyleFooter
17482
17185
  }));
17483
- sizes16 = {
17186
+ sizes15 = {
17484
17187
  xs: getSize("xs"),
17485
17188
  sm: getSize("sm"),
17486
17189
  md: getSize("md"),
@@ -17495,7 +17198,7 @@ var init_chunk_JIVTZ35T = __esm({
17495
17198
  };
17496
17199
  modalTheme = defineMultiStyleConfig15({
17497
17200
  baseStyle: baseStyle23,
17498
- sizes: sizes16,
17201
+ sizes: sizes15,
17499
17202
  defaultProps: { size: "md" }
17500
17203
  });
17501
17204
  }
@@ -17530,7 +17233,7 @@ function getSize2(size2) {
17530
17233
  }
17531
17234
  });
17532
17235
  }
17533
- var defineMultiStyleConfig16, definePartsStyle16, $stepperWidth, $inputPadding, inputPaddingValue, $bg11, $fg3, $border2, baseStyleRoot2, baseStyleField2, baseStyleStepperGroup, baseStyleStepper, baseStyle24, sizes17, numberInputTheme;
17236
+ var defineMultiStyleConfig16, definePartsStyle16, $stepperWidth, $inputPadding, inputPaddingValue, $bg11, $fg3, $border2, baseStyleRoot2, baseStyleField2, baseStyleStepperGroup, baseStyleStepper, baseStyle24, sizes16, numberInputTheme;
17534
17237
  var init_chunk_VEZNC4IQ = __esm({
17535
17238
  "../../node_modules/@chakra-ui/theme/dist/chunk-VEZNC4IQ.mjs"() {
17536
17239
  init_chunk_VW4MZLZF();
@@ -17589,7 +17292,7 @@ var init_chunk_VEZNC4IQ = __esm({
17589
17292
  stepper: baseStyleStepper
17590
17293
  };
17591
17294
  });
17592
- sizes17 = {
17295
+ sizes16 = {
17593
17296
  xs: getSize2("xs"),
17594
17297
  sm: getSize2("sm"),
17595
17298
  md: getSize2("md"),
@@ -17597,7 +17300,7 @@ var init_chunk_VEZNC4IQ = __esm({
17597
17300
  };
17598
17301
  numberInputTheme = defineMultiStyleConfig16({
17599
17302
  baseStyle: baseStyle24,
17600
- sizes: sizes17,
17303
+ sizes: sizes16,
17601
17304
  variants: inputTheme.variants,
17602
17305
  defaultProps: inputTheme.defaultProps
17603
17306
  });
@@ -17605,7 +17308,7 @@ var init_chunk_VEZNC4IQ = __esm({
17605
17308
  });
17606
17309
 
17607
17310
  // ../../node_modules/@chakra-ui/theme/dist/chunk-HFED6QOE.mjs
17608
- var _a5, baseStyle25, sizes18, _a23, _b4, variants7, pinInputTheme;
17311
+ var _a5, baseStyle25, sizes17, _a23, _b4, variants7, pinInputTheme;
17609
17312
  var init_chunk_HFED6QOE = __esm({
17610
17313
  "../../node_modules/@chakra-ui/theme/dist/chunk-HFED6QOE.mjs"() {
17611
17314
  init_chunk_FIZIJHUN();
@@ -17615,7 +17318,7 @@ var init_chunk_HFED6QOE = __esm({
17615
17318
  ...(_a5 = inputTheme.baseStyle) == null ? void 0 : _a5.field,
17616
17319
  textAlign: "center"
17617
17320
  });
17618
- sizes18 = {
17321
+ sizes17 = {
17619
17322
  lg: defineStyle({
17620
17323
  fontSize: "lg",
17621
17324
  w: 12,
@@ -17664,7 +17367,7 @@ var init_chunk_HFED6QOE = __esm({
17664
17367
  };
17665
17368
  pinInputTheme = defineStyleConfig({
17666
17369
  baseStyle: baseStyle25,
17667
- sizes: sizes18,
17370
+ sizes: sizes17,
17668
17371
  variants: variants7,
17669
17372
  defaultProps: inputTheme.defaultProps
17670
17373
  });
@@ -17746,7 +17449,7 @@ function getSize3(value) {
17746
17449
  dialog: { maxW: value }
17747
17450
  });
17748
17451
  }
17749
- var definePartsStyle18, defineMultiStyleConfig18, $bg12, $bs, baseStyleOverlay2, baseStyleDialogContainer2, baseStyleDialog2, baseStyleHeader3, baseStyleCloseButton4, baseStyleBody3, baseStyleFooter3, baseStyle27, sizes19, drawerTheme;
17452
+ var definePartsStyle18, defineMultiStyleConfig18, $bg12, $bs, baseStyleOverlay2, baseStyleDialogContainer2, baseStyleDialog2, baseStyleHeader3, baseStyleCloseButton4, baseStyleBody3, baseStyleFooter3, baseStyle27, sizes18, drawerTheme;
17750
17453
  var init_chunk_5FAATIOO = __esm({
17751
17454
  "../../node_modules/@chakra-ui/theme/dist/chunk-5FAATIOO.mjs"() {
17752
17455
  init_chunk_RQ25AHBB();
@@ -17811,7 +17514,7 @@ var init_chunk_5FAATIOO = __esm({
17811
17514
  body: baseStyleBody3,
17812
17515
  footer: baseStyleFooter3
17813
17516
  }));
17814
- sizes19 = {
17517
+ sizes18 = {
17815
17518
  xs: getSize3("xs"),
17816
17519
  sm: getSize3("md"),
17817
17520
  md: getSize3("lg"),
@@ -17821,7 +17524,7 @@ var init_chunk_5FAATIOO = __esm({
17821
17524
  };
17822
17525
  drawerTheme = defineMultiStyleConfig18({
17823
17526
  baseStyle: baseStyle27,
17824
- sizes: sizes19,
17527
+ sizes: sizes18,
17825
17528
  defaultProps: {
17826
17529
  size: "xs"
17827
17530
  }
@@ -17971,7 +17674,7 @@ var init_chunk_2RLCRBJQ = __esm({
17971
17674
  });
17972
17675
 
17973
17676
  // ../../node_modules/@chakra-ui/theme/dist/chunk-SZS2B4EE.mjs
17974
- var baseStyle32, sizes20, headingTheme;
17677
+ var baseStyle32, sizes19, headingTheme;
17975
17678
  var init_chunk_SZS2B4EE = __esm({
17976
17679
  "../../node_modules/@chakra-ui/theme/dist/chunk-SZS2B4EE.mjs"() {
17977
17680
  init_dist3();
@@ -17979,7 +17682,7 @@ var init_chunk_SZS2B4EE = __esm({
17979
17682
  fontFamily: "heading",
17980
17683
  fontWeight: "bold"
17981
17684
  });
17982
- sizes20 = {
17685
+ sizes19 = {
17983
17686
  "4xl": defineStyle({
17984
17687
  fontSize: ["6xl", null, "7xl"],
17985
17688
  lineHeight: 1
@@ -18015,7 +17718,7 @@ var init_chunk_SZS2B4EE = __esm({
18015
17718
  };
18016
17719
  headingTheme = defineStyleConfig({
18017
17720
  baseStyle: baseStyle32,
18018
- sizes: sizes20,
17721
+ sizes: sizes19,
18019
17722
  defaultProps: {
18020
17723
  size: "xl"
18021
17724
  }
@@ -18057,7 +17760,7 @@ var init_chunk_CHG7JP5U = __esm({
18057
17760
  });
18058
17761
  }
18059
17762
  });
18060
- var baseStyle34, variantGhost, variantOutline3, accessibleColorMap, variantSolid2, variantLink, variantUnstyled3, variants8, sizes21, buttonTheme;
17763
+ var baseStyle34, variantGhost, variantOutline3, accessibleColorMap, variantSolid2, variantLink, variantUnstyled3, variants8, sizes20, buttonTheme;
18061
17764
  var init_chunk_MMPN6JKT = __esm({
18062
17765
  "../../node_modules/@chakra-ui/theme/dist/chunk-MMPN6JKT.mjs"() {
18063
17766
  init_chunk_RQ25AHBB();
@@ -18201,7 +17904,7 @@ var init_chunk_MMPN6JKT = __esm({
18201
17904
  link: variantLink,
18202
17905
  unstyled: variantUnstyled3
18203
17906
  };
18204
- sizes21 = {
17907
+ sizes20 = {
18205
17908
  lg: defineStyle({
18206
17909
  h: "12",
18207
17910
  minW: "12",
@@ -18230,7 +17933,7 @@ var init_chunk_MMPN6JKT = __esm({
18230
17933
  buttonTheme = defineStyleConfig({
18231
17934
  baseStyle: baseStyle34,
18232
17935
  variants: variants8,
18233
- sizes: sizes21,
17936
+ sizes: sizes20,
18234
17937
  defaultProps: {
18235
17938
  variant: "solid",
18236
17939
  size: "md",
@@ -18241,7 +17944,7 @@ var init_chunk_MMPN6JKT = __esm({
18241
17944
  });
18242
17945
 
18243
17946
  // ../../node_modules/@chakra-ui/theme/dist/chunk-N5CTW2M4.mjs
18244
- var definePartsStyle23, defineMultiStyleConfig23, $bg13, $padding2, $shadow4, $radius, $border3, $borderColor, baseStyle35, sizes22, variants9, cardTheme;
17947
+ var definePartsStyle23, defineMultiStyleConfig23, $bg13, $padding2, $shadow4, $radius, $border3, $borderColor, baseStyle35, sizes21, variants9, cardTheme;
18245
17948
  var init_chunk_N5CTW2M4 = __esm({
18246
17949
  "../../node_modules/@chakra-ui/theme/dist/chunk-N5CTW2M4.mjs"() {
18247
17950
  init_dist4();
@@ -18274,7 +17977,7 @@ var init_chunk_N5CTW2M4 = __esm({
18274
17977
  padding: $padding2.reference
18275
17978
  }
18276
17979
  });
18277
- sizes22 = {
17980
+ sizes21 = {
18278
17981
  sm: definePartsStyle23({
18279
17982
  container: {
18280
17983
  [$radius.variable]: "radii.base",
@@ -18329,7 +18032,7 @@ var init_chunk_N5CTW2M4 = __esm({
18329
18032
  cardTheme = defineMultiStyleConfig23({
18330
18033
  baseStyle: baseStyle35,
18331
18034
  variants: variants9,
18332
- sizes: sizes22,
18035
+ sizes: sizes21,
18333
18036
  defaultProps: {
18334
18037
  variant: "elevated",
18335
18038
  size: "md"
@@ -18337,7 +18040,7 @@ var init_chunk_N5CTW2M4 = __esm({
18337
18040
  });
18338
18041
  }
18339
18042
  });
18340
- var $size4, $bg14, baseStyle36, sizes23, closeButtonTheme;
18043
+ var $size4, $bg14, baseStyle36, sizes22, closeButtonTheme;
18341
18044
  var init_chunk_FC2RT2FC = __esm({
18342
18045
  "../../node_modules/@chakra-ui/theme/dist/chunk-FC2RT2FC.mjs"() {
18343
18046
  init_dist3();
@@ -18371,7 +18074,7 @@ var init_chunk_FC2RT2FC = __esm({
18371
18074
  },
18372
18075
  bg: $bg14.reference
18373
18076
  });
18374
- sizes23 = {
18077
+ sizes22 = {
18375
18078
  lg: defineStyle({
18376
18079
  [$size4.variable]: "sizes.10",
18377
18080
  fontSize: "md"
@@ -18387,7 +18090,7 @@ var init_chunk_FC2RT2FC = __esm({
18387
18090
  };
18388
18091
  closeButtonTheme = defineStyleConfig({
18389
18092
  baseStyle: baseStyle36,
18390
- sizes: sizes23,
18093
+ sizes: sizes22,
18391
18094
  defaultProps: {
18392
18095
  size: "md"
18393
18096
  }
@@ -18649,7 +18352,7 @@ function getSize4(size2) {
18649
18352
  }
18650
18353
  });
18651
18354
  }
18652
- var definePartsStyle26, defineMultiStyleConfig26, $border4, $bg16, $fs, $size5, baseStyleBadge, baseStyleExcessLabel, baseStyleContainer5, baseStyleLabel5, baseStyle42, sizes24, avatarTheme;
18355
+ var definePartsStyle26, defineMultiStyleConfig26, $border4, $bg16, $fs, $size5, baseStyleBadge, baseStyleExcessLabel, baseStyleContainer5, baseStyleLabel5, baseStyle42, sizes23, avatarTheme;
18653
18356
  var init_chunk_EYWUA2TC = __esm({
18654
18357
  "../../node_modules/@chakra-ui/theme/dist/chunk-EYWUA2TC.mjs"() {
18655
18358
  init_chunk_QH74K4BV();
@@ -18715,7 +18418,7 @@ var init_chunk_EYWUA2TC = __esm({
18715
18418
  container: runIfFn(baseStyleContainer5, props),
18716
18419
  label: baseStyleLabel5
18717
18420
  }));
18718
- sizes24 = {
18421
+ sizes23 = {
18719
18422
  "2xs": getSize4(4),
18720
18423
  xs: getSize4(6),
18721
18424
  sm: getSize4(8),
@@ -18727,7 +18430,7 @@ var init_chunk_EYWUA2TC = __esm({
18727
18430
  };
18728
18431
  avatarTheme = defineMultiStyleConfig26({
18729
18432
  baseStyle: baseStyle42,
18730
- sizes: sizes24,
18433
+ sizes: sizes23,
18731
18434
  defaultProps: {
18732
18435
  size: "md"
18733
18436
  }
@@ -18828,81 +18531,367 @@ var init_chunk_BVEAU2MF = __esm({
18828
18531
  }
18829
18532
  });
18830
18533
 
18831
- // ../../node_modules/@chakra-ui/theme/dist/chunk-SKQLGI36.mjs
18832
- var semanticTokens;
18833
- var init_chunk_SKQLGI36 = __esm({
18834
- "../../node_modules/@chakra-ui/theme/dist/chunk-SKQLGI36.mjs"() {
18835
- "use client";
18836
- semanticTokens = {
18837
- colors: {
18838
- "chakra-body-text": { _light: "gray.800", _dark: "whiteAlpha.900" },
18839
- "chakra-body-bg": { _light: "white", _dark: "gray.800" },
18840
- "chakra-border-color": { _light: "gray.200", _dark: "whiteAlpha.300" },
18841
- "chakra-inverse-text": { _light: "white", _dark: "gray.800" },
18842
- "chakra-subtle-bg": { _light: "gray.100", _dark: "gray.700" },
18843
- "chakra-subtle-text": { _light: "gray.600", _dark: "gray.400" },
18844
- "chakra-placeholder-color": { _light: "gray.500", _dark: "whiteAlpha.400" }
18845
- }
18534
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-SKQLGI36.mjs
18535
+ var semanticTokens;
18536
+ var init_chunk_SKQLGI36 = __esm({
18537
+ "../../node_modules/@chakra-ui/theme/dist/chunk-SKQLGI36.mjs"() {
18538
+ "use client";
18539
+ semanticTokens = {
18540
+ colors: {
18541
+ "chakra-body-text": { _light: "gray.800", _dark: "whiteAlpha.900" },
18542
+ "chakra-body-bg": { _light: "white", _dark: "gray.800" },
18543
+ "chakra-border-color": { _light: "gray.200", _dark: "whiteAlpha.300" },
18544
+ "chakra-inverse-text": { _light: "white", _dark: "gray.800" },
18545
+ "chakra-subtle-bg": { _light: "gray.100", _dark: "gray.700" },
18546
+ "chakra-subtle-text": { _light: "gray.600", _dark: "gray.400" },
18547
+ "chakra-placeholder-color": { _light: "gray.500", _dark: "whiteAlpha.400" }
18548
+ }
18549
+ };
18550
+ }
18551
+ });
18552
+
18553
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-RID7N3YQ.mjs
18554
+ var styles;
18555
+ var init_chunk_RID7N3YQ = __esm({
18556
+ "../../node_modules/@chakra-ui/theme/dist/chunk-RID7N3YQ.mjs"() {
18557
+ "use client";
18558
+ styles = {
18559
+ global: {
18560
+ body: {
18561
+ fontFamily: "body",
18562
+ color: "chakra-body-text",
18563
+ bg: "chakra-body-bg",
18564
+ transitionProperty: "background-color",
18565
+ transitionDuration: "normal",
18566
+ lineHeight: "base"
18567
+ },
18568
+ "*::placeholder": {
18569
+ color: "chakra-placeholder-color"
18570
+ },
18571
+ "*, *::before, &::after": {
18572
+ borderColor: "chakra-border-color"
18573
+ }
18574
+ }
18575
+ };
18576
+ }
18577
+ });
18578
+
18579
+ // ../../node_modules/@chakra-ui/theme/dist/index.mjs
18580
+ var direction, config, theme2;
18581
+ var init_dist5 = __esm({
18582
+ "../../node_modules/@chakra-ui/theme/dist/index.mjs"() {
18583
+ init_chunk_5FMCT5RQ();
18584
+ init_chunk_BVEAU2MF();
18585
+ init_chunk_SKQLGI36();
18586
+ init_chunk_RID7N3YQ();
18587
+ direction = "ltr";
18588
+ config = {
18589
+ useSystemColorMode: false,
18590
+ initialColorMode: "light",
18591
+ cssVarPrefix: "chakra"
18592
+ };
18593
+ theme2 = {
18594
+ semanticTokens,
18595
+ direction,
18596
+ ...foundations,
18597
+ components,
18598
+ styles,
18599
+ config
18600
+ };
18601
+ ({
18602
+ semanticTokens,
18603
+ direction,
18604
+ components: {},
18605
+ ...foundations,
18606
+ styles,
18607
+ config
18608
+ });
18609
+ }
18610
+ });
18611
+ var borders2;
18612
+ var init_borders = __esm({
18613
+ "src/theme/foundations/borders.ts"() {
18614
+ borders2 = {
18615
+ none: "0",
18616
+ sm: `${tokens10__namespace.default.size.stroke.sm} solid`,
18617
+ "sm-dashed": `${tokens10__namespace.default.size.stroke.sm} dashed`,
18618
+ md: `${tokens10__namespace.default.size.stroke.md} solid`,
18619
+ "md-dashed": `${tokens10__namespace.default.size.stroke.md} dashed`,
18620
+ lg: `${tokens10__namespace.default.size.stroke.lg} solid`,
18621
+ "lg-dashed": `${tokens10__namespace.default.size.stroke.lg} dashed`
18622
+ };
18623
+ }
18624
+ });
18625
+ var breakpoints2;
18626
+ var init_breakpoints = __esm({
18627
+ "src/theme/foundations/breakpoints.ts"() {
18628
+ breakpoints2 = {
18629
+ sm: tokens10__namespace.default.size.breakpoint.sm,
18630
+ md: tokens10__namespace.default.size.breakpoint.md,
18631
+ lg: tokens10__namespace.default.size.breakpoint.lg,
18632
+ xl: tokens10__namespace.default.size.breakpoint.lg,
18633
+ "2xl": tokens10__namespace.default.size.breakpoint.lg
18634
+ };
18635
+ }
18636
+ });
18637
+
18638
+ // src/theme/foundations/config.ts
18639
+ var config2;
18640
+ var init_config = __esm({
18641
+ "src/theme/foundations/config.ts"() {
18642
+ config2 = {
18643
+ cssVarPrefix: "spor",
18644
+ initialColorMode: "light",
18645
+ useSystemColorMode: false
18646
+ };
18647
+ }
18648
+ });
18649
+ var fonts;
18650
+ var init_fonts = __esm({
18651
+ "src/theme/foundations/fonts.ts"() {
18652
+ fonts = {
18653
+ body: tokens10__namespace.default.font.family.body,
18654
+ heading: tokens10__namespace.default.font.family.heading,
18655
+ mono: tokens10__namespace.default.font.family.monospace
18656
+ };
18657
+ }
18658
+ });
18659
+ var fontSizes;
18660
+ var init_fontSizes = __esm({
18661
+ "src/theme/foundations/fontSizes.ts"() {
18662
+ fontSizes = {
18663
+ "2xs": tokens10__namespace.default.size.font.xs.mobile,
18664
+ xs: tokens10__namespace.default.size.font.sm.mobile,
18665
+ sm: tokens10__namespace.default.size.font.md.mobile,
18666
+ md: tokens10__namespace.default.size.font.lg.mobile,
18667
+ lg: tokens10__namespace.default.size.font.xl.mobile,
18668
+ xl: tokens10__namespace.default.size.font.xxl.mobile,
18669
+ "2xl": tokens10__namespace.default.size.font.xl.desktop,
18670
+ "3xl": tokens10__namespace.default.size.font.xxl.desktop,
18671
+ mobile: {
18672
+ xs: tokens10__namespace.default.size.font.xs.mobile,
18673
+ sm: tokens10__namespace.default.size.font.sm.mobile,
18674
+ md: tokens10__namespace.default.size.font.md.mobile,
18675
+ lg: tokens10__namespace.default.size.font.lg.mobile,
18676
+ xl: tokens10__namespace.default.size.font.xl.mobile,
18677
+ xxl: tokens10__namespace.default.size.font.xxl.mobile
18678
+ },
18679
+ desktop: {
18680
+ xs: tokens10__namespace.default.size.font.xs.desktop,
18681
+ sm: tokens10__namespace.default.size.font.sm.desktop,
18682
+ md: tokens10__namespace.default.size.font.md.desktop,
18683
+ lg: tokens10__namespace.default.size.font.lg.desktop,
18684
+ xl: tokens10__namespace.default.size.font.xl.desktop,
18685
+ xxl: tokens10__namespace.default.size.font.xxl.desktop
18686
+ }
18687
+ };
18688
+ }
18689
+ });
18690
+
18691
+ // src/theme/foundations/fontWeights.ts
18692
+ var fontWeights;
18693
+ var init_fontWeights = __esm({
18694
+ "src/theme/foundations/fontWeights.ts"() {
18695
+ fontWeights = {
18696
+ light: 300,
18697
+ medium: 400,
18698
+ bold: 700
18699
+ };
18700
+ }
18701
+ });
18702
+ var lineHeights;
18703
+ var init_lineHeights = __esm({
18704
+ "src/theme/foundations/lineHeights.ts"() {
18705
+ lineHeights = {
18706
+ normal: tokens10__namespace.default.font.style.lg["line-height"]
18707
+ };
18708
+ }
18709
+ });
18710
+ var radii2;
18711
+ var init_radii = __esm({
18712
+ "src/theme/foundations/radii.ts"() {
18713
+ radii2 = {
18714
+ none: tokens10__namespace.default.size["border-radius"].none,
18715
+ xs: tokens10__namespace.default.size["border-radius"].xs,
18716
+ sm: tokens10__namespace.default.size["border-radius"].sm,
18717
+ md: tokens10__namespace.default.size["border-radius"].md,
18718
+ lg: tokens10__namespace.default.size["border-radius"].lg,
18719
+ xl: tokens10__namespace.default.size["border-radius"].xl,
18720
+ "2xl": tokens10__namespace.default.size["border-radius"]["2xl"],
18721
+ round: "50%"
18722
+ };
18723
+ }
18724
+ });
18725
+ var spacing2, space2;
18726
+ var init_spacing = __esm({
18727
+ "src/theme/foundations/spacing.ts"() {
18728
+ spacing2 = Object.entries(tokens10__namespace.default.size.spacing).reduce(
18729
+ (tokens14, [key, token]) => ({
18730
+ ...tokens14,
18731
+ [Number(key)]: token
18732
+ }),
18733
+ {}
18734
+ );
18735
+ space2 = spacing2;
18736
+ }
18737
+ });
18738
+
18739
+ // src/theme/foundations/sizes.ts
18740
+ var largeSizes2, container2, sizes24;
18741
+ var init_sizes = __esm({
18742
+ "src/theme/foundations/sizes.ts"() {
18743
+ init_spacing();
18744
+ largeSizes2 = {
18745
+ max: "max-content",
18746
+ min: "min-content",
18747
+ full: "100%",
18748
+ "3xs": "14rem",
18749
+ "2xs": "16rem",
18750
+ xs: "20rem",
18751
+ sm: "24rem",
18752
+ md: "28rem",
18753
+ lg: "32rem",
18754
+ xl: "36rem",
18755
+ "2xl": "42rem",
18756
+ "3xl": "48rem",
18757
+ "4xl": "56rem",
18758
+ "5xl": "64rem",
18759
+ "6xl": "72rem",
18760
+ "7xl": "80rem",
18761
+ "8xl": "90rem"
18762
+ };
18763
+ container2 = {
18764
+ sm: "640px",
18765
+ md: "768px",
18766
+ lg: "1024px",
18767
+ xl: "1280px"
18768
+ };
18769
+ sizes24 = {
18770
+ ...spacing2,
18771
+ ...largeSizes2,
18772
+ container: container2
18846
18773
  };
18847
18774
  }
18848
18775
  });
18849
-
18850
- // ../../node_modules/@chakra-ui/theme/dist/chunk-RID7N3YQ.mjs
18851
- var styles;
18852
- var init_chunk_RID7N3YQ = __esm({
18853
- "../../node_modules/@chakra-ui/theme/dist/chunk-RID7N3YQ.mjs"() {
18854
- "use client";
18855
- styles = {
18856
- global: {
18857
- body: {
18858
- fontFamily: "body",
18859
- color: "chakra-body-text",
18860
- bg: "chakra-body-bg",
18861
- transitionProperty: "background-color",
18862
- transitionDuration: "normal",
18863
- lineHeight: "base"
18864
- },
18865
- "*::placeholder": {
18866
- color: "chakra-placeholder-color"
18867
- },
18868
- "*, *::before, &::after": {
18869
- borderColor: "chakra-border-color"
18870
- }
18776
+ var textStyles;
18777
+ var init_textStyles = __esm({
18778
+ "src/theme/foundations/textStyles.ts"() {
18779
+ textStyles = {
18780
+ "2xl": {
18781
+ fontSize: [
18782
+ tokens10__namespace.default.font.style.xxl["font-size"].mobile,
18783
+ tokens10__namespace.default.font.style.xxl["font-size"].desktop
18784
+ ],
18785
+ fontFamily: tokens10__namespace.default.font.style.xxl["font-family"],
18786
+ lineHeight: tokens10__namespace.default.font.style.xxl["line-height"]
18787
+ },
18788
+ "xl-display": {
18789
+ fontSize: [
18790
+ tokens10__namespace.default.font.style["xl-display"]["font-size"].mobile,
18791
+ tokens10__namespace.default.font.style["xl-display"]["font-size"].desktop
18792
+ ],
18793
+ fontFamily: tokens10__namespace.default.font.style["xl-display"]["font-family"],
18794
+ lineHeight: tokens10__namespace.default.font.style["xl-display"]["line-height"]
18795
+ },
18796
+ "xl-sans": {
18797
+ fontSize: [
18798
+ tokens10__namespace.default.font.style["xl-sans"]["font-size"].mobile,
18799
+ tokens10__namespace.default.font.style["xl-sans"]["font-size"].desktop
18800
+ ],
18801
+ fontFamily: tokens10__namespace.default.font.style["xl-sans"]["font-family"],
18802
+ lineHeight: tokens10__namespace.default.font.style["xl-sans"]["line-height"]
18803
+ },
18804
+ lg: {
18805
+ fontSize: [
18806
+ tokens10__namespace.default.font.style.lg["font-size"].mobile,
18807
+ tokens10__namespace.default.font.style.lg["font-size"].desktop
18808
+ ],
18809
+ fontFamily: tokens10__namespace.default.font.style.lg["font-family"],
18810
+ lineHeight: tokens10__namespace.default.font.style.lg["line-height"]
18811
+ },
18812
+ md: {
18813
+ fontSize: [
18814
+ tokens10__namespace.default.font.style.md["font-size"].mobile,
18815
+ tokens10__namespace.default.font.style.md["font-size"].desktop
18816
+ ],
18817
+ fontFamily: tokens10__namespace.default.font.style.md["font-family"],
18818
+ lineHeight: tokens10__namespace.default.font.style.md["line-height"]
18819
+ },
18820
+ sm: {
18821
+ fontSize: [
18822
+ tokens10__namespace.default.font.style.sm["font-size"].mobile,
18823
+ tokens10__namespace.default.font.style.sm["font-size"].desktop
18824
+ ],
18825
+ fontFamily: tokens10__namespace.default.font.style.sm["font-family"],
18826
+ lineHeight: tokens10__namespace.default.font.style.sm["line-height"]
18827
+ },
18828
+ xs: {
18829
+ fontSize: [
18830
+ tokens10__namespace.default.font.style.xs["font-size"].mobile,
18831
+ tokens10__namespace.default.font.style.xs["font-size"].desktop
18832
+ ],
18833
+ fontFamily: tokens10__namespace.default.font.style.xs["font-family"],
18834
+ lineHeight: tokens10__namespace.default.font.style.xs["line-height"]
18871
18835
  }
18872
18836
  };
18873
18837
  }
18874
18838
  });
18875
-
18876
- // ../../node_modules/@chakra-ui/theme/dist/index.mjs
18877
- var direction, config2, theme2;
18878
- var init_dist5 = __esm({
18879
- "../../node_modules/@chakra-ui/theme/dist/index.mjs"() {
18880
- init_chunk_5FMCT5RQ();
18881
- init_chunk_BVEAU2MF();
18882
- init_chunk_SKQLGI36();
18883
- init_chunk_RID7N3YQ();
18884
- direction = "ltr";
18885
- config2 = {
18886
- useSystemColorMode: false,
18887
- initialColorMode: "light",
18888
- cssVarPrefix: "chakra"
18889
- };
18890
- theme2 = {
18891
- semanticTokens,
18892
- direction,
18893
- ...foundations,
18894
- components,
18895
- styles,
18896
- config: config2
18839
+ var zIndices2;
18840
+ var init_zIndices = __esm({
18841
+ "src/theme/foundations/zIndices.ts"() {
18842
+ zIndices2 = {
18843
+ hide: tokens10__namespace.default.depth["z-index"].hide,
18844
+ auto: "auto",
18845
+ base: tokens10__namespace.default.depth["z-index"].base,
18846
+ docked: tokens10__namespace.default.depth["z-index"].docked,
18847
+ dropdown: tokens10__namespace.default.depth["z-index"].dropdown,
18848
+ sticky: tokens10__namespace.default.depth["z-index"].sticky,
18849
+ banner: tokens10__namespace.default.depth["z-index"].banner,
18850
+ overlay: tokens10__namespace.default.depth["z-index"].overlay,
18851
+ modal: tokens10__namespace.default.depth["z-index"].modal,
18852
+ popover: tokens10__namespace.default.depth["z-index"].popover,
18853
+ skipLink: tokens10__namespace.default.depth["z-index"].skipLink,
18854
+ toast: tokens10__namespace.default.depth["z-index"].toast,
18855
+ tooltip: tokens10__namespace.default.depth["z-index"].tooltip
18897
18856
  };
18898
- ({
18899
- semanticTokens,
18900
- direction,
18901
- components: {},
18902
- ...foundations,
18903
- styles,
18904
- config: config2
18905
- });
18857
+ }
18858
+ });
18859
+
18860
+ // src/theme/foundations/index.ts
18861
+ var foundations_exports = {};
18862
+ __export(foundations_exports, {
18863
+ borders: () => borders2,
18864
+ breakpoints: () => breakpoints2,
18865
+ colors: () => colors,
18866
+ config: () => config2,
18867
+ fontSizes: () => fontSizes,
18868
+ fontWeights: () => fontWeights,
18869
+ fonts: () => fonts,
18870
+ lineHeights: () => lineHeights,
18871
+ radii: () => radii2,
18872
+ shadows: () => shadows,
18873
+ sizes: () => sizes24,
18874
+ space: () => space2,
18875
+ spacing: () => spacing2,
18876
+ textStyles: () => textStyles,
18877
+ zIndices: () => zIndices2
18878
+ });
18879
+ var init_foundations = __esm({
18880
+ "src/theme/foundations/index.ts"() {
18881
+ init_borders();
18882
+ init_breakpoints();
18883
+ init_colors();
18884
+ init_config();
18885
+ init_fonts();
18886
+ init_fontSizes();
18887
+ init_fontWeights();
18888
+ init_lineHeights();
18889
+ init_radii();
18890
+ init_shadows();
18891
+ init_sizes();
18892
+ init_spacing();
18893
+ init_textStyles();
18894
+ init_zIndices();
18906
18895
  }
18907
18896
  });
18908
18897
 
@@ -18931,6 +18920,7 @@ var init_accordion2 = __esm({
18931
18920
  justifyContent: "space-between",
18932
18921
  color: "darkGrey",
18933
18922
  textAlign: "left",
18923
+ fontWeight: "bold",
18934
18924
  ...focusVisible({
18935
18925
  notFocus: {
18936
18926
  boxShadow: getBoxShadowString({
@@ -18950,8 +18940,7 @@ var init_accordion2 = __esm({
18950
18940
  }
18951
18941
  },
18952
18942
  panel: {
18953
- pt: 2,
18954
- pb: 5,
18943
+ paddingY: 2,
18955
18944
  borderBottomRadius: "sm"
18956
18945
  },
18957
18946
  icon: {
@@ -18966,8 +18955,7 @@ var init_accordion2 = __esm({
18966
18955
  backgroundColor: "seaMist"
18967
18956
  },
18968
18957
  _active: {
18969
- backgroundColor: "mint",
18970
- boxShadow: getBoxShadowString({ borderColor: "darkGrey" })
18958
+ backgroundColor: "mint"
18971
18959
  }
18972
18960
  }
18973
18961
  },
@@ -18997,7 +18985,10 @@ var init_accordion2 = __esm({
18997
18985
  },
18998
18986
  card: {
18999
18987
  container: {
19000
- boxShadow: "md"
18988
+ boxShadow: getBoxShadowString({
18989
+ baseShadow: "sm",
18990
+ borderColor: "silver"
18991
+ })
19001
18992
  },
19002
18993
  button: {
19003
18994
  _expanded: {
@@ -19016,31 +19007,34 @@ var init_accordion2 = __esm({
19016
19007
  sm: {
19017
19008
  button: {
19018
19009
  fontSize: "desktop.xs",
19019
- px: 2,
19020
- py: 1
19010
+ paddingX: 2,
19011
+ paddingY: 1
19021
19012
  },
19022
19013
  panel: {
19023
- px: 2
19014
+ fontSize: "desktop.xs",
19015
+ paddingX: 2
19024
19016
  }
19025
19017
  },
19026
19018
  md: {
19027
19019
  button: {
19028
19020
  fontSize: "desktop.sm",
19029
- px: 3,
19030
- py: 1
19021
+ paddingX: 3,
19022
+ paddingY: 1
19031
19023
  },
19032
19024
  panel: {
19033
- px: 3
19025
+ fontSize: "desktop.sm",
19026
+ paddingX: 3
19034
19027
  }
19035
19028
  },
19036
19029
  lg: {
19037
19030
  button: {
19038
19031
  fontSize: "desktop.sm",
19039
- px: 3,
19040
- py: 2
19032
+ paddingX: 3,
19033
+ paddingY: 2
19041
19034
  },
19042
19035
  panel: {
19043
- px: 3
19036
+ fontSize: "desktop.sm",
19037
+ paddingX: 3
19044
19038
  }
19045
19039
  }
19046
19040
  },
@@ -20017,7 +20011,7 @@ var init_datepicker2 = __esm({
20017
20011
  borderColor: themeTools.mode("darkGrey", "white")(props),
20018
20012
  borderWidth: 2
20019
20013
  }),
20020
- zIndex: zIndices.docked
20014
+ zIndex: zIndices2.docked
20021
20015
  },
20022
20016
  _focusWithin: {
20023
20017
  boxShadow: getBoxShadowString({
@@ -20053,7 +20047,7 @@ var init_datepicker2 = __esm({
20053
20047
  },
20054
20048
  dateTimeSegment: {
20055
20049
  color: themeTools.mode(
20056
- props.isEditable ? "darkGrey" : "dimGrey",
20050
+ "darkGrey",
20057
20051
  props.isPlaceholder ? "whiteAlpha.400" : "white"
20058
20052
  )(props)
20059
20053
  },
@@ -20175,7 +20169,14 @@ var init_datepicker2 = __esm({
20175
20169
  boxShadow: getBoxShadowString({
20176
20170
  borderWidth: 1,
20177
20171
  borderColor: themeTools.mode("osloGrey", "dimGrey")(props)
20178
- })
20172
+ }),
20173
+ _focus: {
20174
+ outline: "none",
20175
+ boxShadow: getBoxShadowString({
20176
+ borderWidth: 2,
20177
+ borderColor: themeTools.mode("greenHaze", "azure")(props)
20178
+ })
20179
+ }
20179
20180
  },
20180
20181
  "&[data-unavailable]": {
20181
20182
  pointerEvents: "none",
@@ -22840,7 +22841,7 @@ var init_theme = __esm({
22840
22841
  };
22841
22842
  }
22842
22843
  });
22843
- var BaseToast, ToastIcon, getIcon3, texts22;
22844
+ var BaseToast, ToastIcon, getIcon3, texts23;
22844
22845
  var init_BaseToast = __esm({
22845
22846
  "src/toast/BaseToast.tsx"() {
22846
22847
  init_src();
@@ -22855,7 +22856,7 @@ var init_BaseToast = __esm({
22855
22856
  Icon,
22856
22857
  {
22857
22858
  flexShrink: 0,
22858
- "aria-label": t2(texts22[variant]),
22859
+ "aria-label": t2(texts23[variant]),
22859
22860
  marginRight: 1,
22860
22861
  marginY: 1.5,
22861
22862
  color: "darkGrey"
@@ -22872,7 +22873,7 @@ var init_BaseToast = __esm({
22872
22873
  return sporIconReact.ErrorOutline24Icon;
22873
22874
  }
22874
22875
  };
22875
- texts22 = createTexts({
22876
+ texts23 = createTexts({
22876
22877
  info: {
22877
22878
  nb: "Informasjon",
22878
22879
  nn: "Informasjon",
@@ -22910,7 +22911,7 @@ var init_ActionToast = __esm({
22910
22911
  };
22911
22912
  }
22912
22913
  });
22913
- var ClosableToast, texts23;
22914
+ var ClosableToast, texts24;
22914
22915
  var init_ClosableToast = __esm({
22915
22916
  "src/toast/ClosableToast.tsx"() {
22916
22917
  init_src();
@@ -22928,13 +22929,13 @@ var init_ClosableToast = __esm({
22928
22929
  {
22929
22930
  sx: styles2.dismissButton,
22930
22931
  variant: "ghost",
22931
- "aria-label": t2(texts23.dismiss),
22932
+ "aria-label": t2(texts24.dismiss),
22932
22933
  icon: /* @__PURE__ */ React49__namespace.default.createElement(sporIconReact.CloseFill18Icon, null),
22933
22934
  onClick: onClose
22934
22935
  }
22935
22936
  ));
22936
22937
  };
22937
- texts23 = createTexts({
22938
+ texts24 = createTexts({
22938
22939
  dismiss: {
22939
22940
  nb: "Lukk",
22940
22941
  nn: "Lukk",
@@ -23335,7 +23336,6 @@ Object.defineProperty(exports, 'Time', {
23335
23336
  enumerable: true,
23336
23337
  get: function () { return date.Time; }
23337
23338
  });
23338
- exports.tokens = tokens10__namespace;
23339
23339
  Object.defineProperty(exports, 'Item', {
23340
23340
  enumerable: true,
23341
23341
  get: function () { return reactStately.Item; }
@@ -23344,6 +23344,7 @@ Object.defineProperty(exports, 'Section', {
23344
23344
  enumerable: true,
23345
23345
  get: function () { return reactStately.Section; }
23346
23346
  });
23347
+ exports.tokens = tokens10__namespace;
23347
23348
  exports.Combobox = Combobox;
23348
23349
  exports.DateRangePicker = DateRangePicker;
23349
23350
  exports.DrawerHeader = exports.ModalHeader;