@vygruppen/spor-react 3.7.6 → 3.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/.turbo/turbo-build.log +11 -11
  2. package/CHANGELOG.md +29 -0
  3. package/dist/{CountryCodeSelect-IV4VKD4A.mjs → CountryCodeSelect-BA3A7ODU.mjs} +1 -1
  4. package/dist/{chunk-LQEO65MM.mjs → chunk-HL3ESNVB.mjs} +654 -445
  5. package/dist/index.d.mts +237 -43
  6. package/dist/index.d.ts +237 -43
  7. package/dist/index.js +830 -621
  8. package/dist/index.mjs +1 -1
  9. package/package.json +2 -2
  10. package/src/button/Button.tsx +7 -1
  11. package/src/button/FloatingActionButton.tsx +10 -1
  12. package/src/datepicker/Calendar.tsx +8 -3
  13. package/src/datepicker/CalendarCell.tsx +8 -3
  14. package/src/datepicker/CalendarGrid.tsx +9 -3
  15. package/src/datepicker/CalendarTriggerButton.tsx +10 -3
  16. package/src/datepicker/DatePicker.tsx +15 -35
  17. package/src/datepicker/DateRangePicker.tsx +14 -25
  18. package/src/datepicker/DateTimeSegment.tsx +0 -2
  19. package/src/datepicker/RangeCalendar.tsx +8 -4
  20. package/src/datepicker/StyledField.tsx +6 -1
  21. package/src/datepicker/TimePicker.tsx +1 -1
  22. package/src/input/NumericStepper.tsx +91 -68
  23. package/src/tab/Tabs.tsx +11 -1
  24. package/src/theme/components/button.ts +18 -16
  25. package/src/theme/components/card.ts +18 -10
  26. package/src/theme/components/close-button.ts +9 -8
  27. package/src/theme/components/datepicker.ts +74 -23
  28. package/src/theme/components/fab.ts +76 -1
  29. package/src/theme/components/info-tag.ts +16 -1
  30. package/src/theme/components/line-icon.ts +5 -4
  31. package/src/theme/components/link.ts +14 -36
  32. package/src/theme/components/modal.ts +4 -3
  33. package/src/theme/components/tabs.ts +82 -1
  34. package/src/theme/components/travel-tag.ts +6 -4
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var react = require('@chakra-ui/react');
4
- var React50 = require('react');
4
+ var React69 = require('react');
5
5
  var lottieReact = require('lottie-react');
6
6
  var sporLoader = require('@vygruppen/spor-loader');
7
7
  var reactAria = require('react-aria');
@@ -33,7 +33,7 @@ function _interopNamespace(e) {
33
33
  return Object.freeze(n);
34
34
  }
35
35
 
36
- var React50__namespace = /*#__PURE__*/_interopNamespace(React50);
36
+ var React69__namespace = /*#__PURE__*/_interopNamespace(React69);
37
37
  var tokens10__namespace = /*#__PURE__*/_interopNamespace(tokens10);
38
38
 
39
39
  var __create = Object.create;
@@ -72,7 +72,7 @@ exports.Divider = void 0;
72
72
  var init_Divider = __esm({
73
73
  "src/layout/Divider.tsx"() {
74
74
  exports.Divider = react.forwardRef((props, ref) => {
75
- return /* @__PURE__ */ React50__namespace.default.createElement(react.Divider, { ...props, ref });
75
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.Divider, { ...props, ref });
76
76
  });
77
77
  }
78
78
  });
@@ -81,7 +81,7 @@ var init_Stack = __esm({
81
81
  "src/layout/Stack.tsx"() {
82
82
  exports.Stack = react.forwardRef(
83
83
  ({ flexDirection, ...props }, ref) => {
84
- return /* @__PURE__ */ React50__namespace.default.createElement(react.Stack, { ...props, direction: flexDirection, ref });
84
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.Stack, { ...props, direction: flexDirection, ref });
85
85
  }
86
86
  );
87
87
  }
@@ -95,15 +95,15 @@ var init_layout = __esm({
95
95
  var AccordionContext, AccordionProvider, useAccordionContext;
96
96
  var init_AccordionContext = __esm({
97
97
  "src/accordion/AccordionContext.tsx"() {
98
- AccordionContext = React50__namespace.default.createContext(null);
98
+ AccordionContext = React69__namespace.default.createContext(null);
99
99
  AccordionProvider = ({
100
100
  size: size2,
101
101
  ...props
102
102
  }) => {
103
- return /* @__PURE__ */ React50__namespace.default.createElement(AccordionContext.Provider, { value: { size: size2 }, ...props });
103
+ return /* @__PURE__ */ React69__namespace.default.createElement(AccordionContext.Provider, { value: { size: size2 }, ...props });
104
104
  };
105
105
  useAccordionContext = () => {
106
- const context = React50__namespace.default.useContext(AccordionContext);
106
+ const context = React69__namespace.default.useContext(AccordionContext);
107
107
  if (context === null) {
108
108
  throw new Error(
109
109
  "useAccordionContext must be used within AccordionProvider"
@@ -121,14 +121,14 @@ var init_Accordion = __esm({
121
121
  exports.Accordion = react.forwardRef(
122
122
  ({ children, spacing: spacing3 = 2, ...props }, ref) => {
123
123
  const defaultIndex = typeof props.defaultIndex === "number" && props.allowMultiple ? [props.defaultIndex] : props.defaultIndex;
124
- return /* @__PURE__ */ React50__namespace.default.createElement(AccordionProvider, { size: props.size }, /* @__PURE__ */ React50__namespace.default.createElement(
124
+ return /* @__PURE__ */ React69__namespace.default.createElement(AccordionProvider, { size: props.size }, /* @__PURE__ */ React69__namespace.default.createElement(
125
125
  react.Accordion,
126
126
  {
127
127
  ...props,
128
128
  ref,
129
129
  defaultIndex
130
130
  },
131
- /* @__PURE__ */ React50__namespace.default.createElement(exports.Stack, { spacing: spacing3 }, children)
131
+ /* @__PURE__ */ React69__namespace.default.createElement(exports.Stack, { spacing: spacing3 }, children)
132
132
  ));
133
133
  }
134
134
  );
@@ -147,7 +147,7 @@ var init_Expandable = __esm({
147
147
  size: size2 = "md",
148
148
  ...rest
149
149
  }) => {
150
- return /* @__PURE__ */ React50__namespace.default.createElement(exports.Accordion, { ...rest, size: size2 }, /* @__PURE__ */ React50__namespace.default.createElement(
150
+ return /* @__PURE__ */ React69__namespace.default.createElement(exports.Accordion, { ...rest, size: size2 }, /* @__PURE__ */ React69__namespace.default.createElement(
151
151
  exports.ExpandableItem,
152
152
  {
153
153
  headingLevel,
@@ -166,7 +166,7 @@ var init_Expandable = __esm({
166
166
  }) => {
167
167
  const { size: size2 } = useAccordionContext();
168
168
  warnAboutMismatchingIcon({ icon: leftIcon, size: size2 });
169
- return /* @__PURE__ */ React50__namespace.default.createElement(react.AccordionItem, { ...rest }, /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { as: headingLevel }, /* @__PURE__ */ React50__namespace.default.createElement(react.AccordionButton, null, /* @__PURE__ */ React50__namespace.default.createElement(react.Flex, { alignItems: "center" }, leftIcon && /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { marginRight: 1 }, leftIcon), title), /* @__PURE__ */ React50__namespace.default.createElement(react.AccordionIcon, null))), /* @__PURE__ */ React50__namespace.default.createElement(react.AccordionPanel, null, children));
169
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.AccordionItem, { ...rest }, /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { as: headingLevel }, /* @__PURE__ */ React69__namespace.default.createElement(react.AccordionButton, null, /* @__PURE__ */ React69__namespace.default.createElement(react.Flex, { alignItems: "center" }, leftIcon && /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { marginRight: 1 }, leftIcon), title), /* @__PURE__ */ React69__namespace.default.createElement(react.AccordionIcon, null))), /* @__PURE__ */ React69__namespace.default.createElement(react.AccordionPanel, null, children));
170
170
  };
171
171
  warnAboutMismatchingIcon = ({ icon, size: size2 }) => {
172
172
  var _a6, _b5;
@@ -217,10 +217,10 @@ function LanguageProvider({
217
217
  language,
218
218
  children
219
219
  }) {
220
- return /* @__PURE__ */ React50__namespace.default.createElement(LanguageContext.Provider, { value: language }, children);
220
+ return /* @__PURE__ */ React69__namespace.default.createElement(LanguageContext.Provider, { value: language }, children);
221
221
  }
222
222
  function useLanguage() {
223
- const language = React50.useContext(LanguageContext);
223
+ const language = React69.useContext(LanguageContext);
224
224
  if (!language) {
225
225
  throw new Error("Please wrap your application in a LanguageProvider");
226
226
  }
@@ -246,12 +246,12 @@ var init_i18n = __esm({
246
246
  Language3["English"] = "en";
247
247
  return Language3;
248
248
  })(exports.Language || {});
249
- LanguageContext = React50.createContext(void 0);
249
+ LanguageContext = React69.createContext(void 0);
250
250
  }
251
251
  });
252
252
  function useHydrated() {
253
- let [hydrated, setHydrated] = React50.useState(() => !hydrating);
254
- React50.useEffect(function hydrate() {
253
+ let [hydrated, setHydrated] = React69.useState(() => !hydrating);
254
+ React69.useEffect(function hydrate() {
255
255
  hydrating = false;
256
256
  setHydrated(true);
257
257
  }, []);
@@ -269,13 +269,13 @@ var init_ClientOnly = __esm({
269
269
  init_useHydrated();
270
270
  ClientOnly = ({ children, fallback = null }) => {
271
271
  const isHydrated = useHydrated();
272
- return /* @__PURE__ */ React50__namespace.default.createElement(React50__namespace.default.Fragment, null, isHydrated ? children() : fallback);
272
+ return /* @__PURE__ */ React69__namespace.default.createElement(React69__namespace.default.Fragment, null, isHydrated ? children() : fallback);
273
273
  };
274
274
  }
275
275
  });
276
276
  function Lottie({ animationData }) {
277
277
  const { View } = lottieReact.useLottie({ animationData, loop: true });
278
- return /* @__PURE__ */ React50__namespace.default.createElement(React50__namespace.default.Fragment, null, View);
278
+ return /* @__PURE__ */ React69__namespace.default.createElement(React69__namespace.default.Fragment, null, View);
279
279
  }
280
280
  var init_Lottie = __esm({
281
281
  "src/loader/Lottie.tsx"() {
@@ -291,7 +291,7 @@ var init_ColorInlineLoader = __esm({
291
291
  maxWidth,
292
292
  ...props
293
293
  }) => {
294
- return /* @__PURE__ */ React50__namespace.default.createElement(react.Center, { ...props }, /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { width, maxWidth }, /* @__PURE__ */ React50__namespace.default.createElement(ClientOnly, null, () => /* @__PURE__ */ React50__namespace.default.createElement(Lottie, { animationData: sporLoader.inlineLoaderColorData }))));
294
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.Center, { ...props }, /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { width, maxWidth }, /* @__PURE__ */ React69__namespace.default.createElement(ClientOnly, null, () => /* @__PURE__ */ React69__namespace.default.createElement(Lottie, { animationData: sporLoader.inlineLoaderColorData }))));
295
295
  };
296
296
  }
297
297
  });
@@ -306,7 +306,7 @@ var init_ColorSpinner = __esm({
306
306
  maxWidth,
307
307
  ...props
308
308
  }) => {
309
- return /* @__PURE__ */ React50__namespace.default.createElement(react.Center, { flexDirection: "column", ...props }, /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { width, maxWidth }, /* @__PURE__ */ React50__namespace.default.createElement(ClientOnly, null, () => /* @__PURE__ */ React50__namespace.default.createElement(Lottie, { animationData: sporLoader.spinnerColorData }))), children && /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { marginTop: 3, fontWeight: "bold" }, children));
309
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.Center, { flexDirection: "column", ...props }, /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { width, maxWidth }, /* @__PURE__ */ React69__namespace.default.createElement(ClientOnly, null, () => /* @__PURE__ */ React69__namespace.default.createElement(Lottie, { animationData: sporLoader.spinnerColorData }))), children && /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { marginTop: 3, fontWeight: "bold" }, children));
310
310
  };
311
311
  }
312
312
  });
@@ -316,7 +316,7 @@ var init_ContentLoader = __esm({
316
316
  init_ClientOnly();
317
317
  init_Lottie();
318
318
  exports.ContentLoader = ({ children, ...props }) => {
319
- return /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { ...props }, /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { maxWidth: "140px", marginX: "auto" }, /* @__PURE__ */ React50__namespace.default.createElement(ClientOnly, null, () => /* @__PURE__ */ React50__namespace.default.createElement(Lottie, { animationData: sporLoader.contentLoaderData }))), children && /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { textAlign: "center", fontWeight: "bold" }, children));
319
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { ...props }, /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { maxWidth: "140px", marginX: "auto" }, /* @__PURE__ */ React69__namespace.default.createElement(ClientOnly, null, () => /* @__PURE__ */ React69__namespace.default.createElement(Lottie, { animationData: sporLoader.contentLoaderData }))), children && /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { textAlign: "center", fontWeight: "bold" }, children));
320
320
  };
321
321
  }
322
322
  });
@@ -330,7 +330,7 @@ var init_DarkFullScreenLoader = __esm({
330
330
  maxWidth,
331
331
  ...props
332
332
  }) => {
333
- return /* @__PURE__ */ React50__namespace.default.createElement(react.Center, { height: "100%", background: "darkTeal", ...props }, /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { width, maxWidth }, /* @__PURE__ */ React50__namespace.default.createElement(ClientOnly, null, () => /* @__PURE__ */ React50__namespace.default.createElement(Lottie, { animationData: sporLoader.fullScreenLoaderWhiteData }))));
333
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.Center, { height: "100%", background: "darkTeal", ...props }, /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { width, maxWidth }, /* @__PURE__ */ React69__namespace.default.createElement(ClientOnly, null, () => /* @__PURE__ */ React69__namespace.default.createElement(Lottie, { animationData: sporLoader.fullScreenLoaderWhiteData }))));
334
334
  };
335
335
  }
336
336
  });
@@ -344,7 +344,7 @@ var init_DarkInlineLoader = __esm({
344
344
  maxWidth,
345
345
  ...props
346
346
  }) => {
347
- return /* @__PURE__ */ React50__namespace.default.createElement(react.Center, { ...props }, /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { width, maxWidth }, /* @__PURE__ */ React50__namespace.default.createElement(ClientOnly, null, () => /* @__PURE__ */ React50__namespace.default.createElement(Lottie, { animationData: sporLoader.inlineLoaderDarkData }))));
347
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.Center, { ...props }, /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { width, maxWidth }, /* @__PURE__ */ React69__namespace.default.createElement(ClientOnly, null, () => /* @__PURE__ */ React69__namespace.default.createElement(Lottie, { animationData: sporLoader.inlineLoaderDarkData }))));
348
348
  };
349
349
  }
350
350
  });
@@ -360,7 +360,7 @@ var init_DarkSpinner = __esm({
360
360
  maxWidth,
361
361
  ...props
362
362
  }) => {
363
- return /* @__PURE__ */ React50__namespace.default.createElement(react.Center, { flexDirection: "column", ...props }, /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { width, maxWidth }, /* @__PURE__ */ React50__namespace.default.createElement(ClientOnly, null, () => /* @__PURE__ */ React50__namespace.default.createElement(Lottie, { animationData: sporLoader.spinnerDarkData }))), children && /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { marginTop: 3, fontWeight: "bold" }, children));
363
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.Center, { flexDirection: "column", ...props }, /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { width, maxWidth }, /* @__PURE__ */ React69__namespace.default.createElement(ClientOnly, null, () => /* @__PURE__ */ React69__namespace.default.createElement(Lottie, { animationData: sporLoader.spinnerDarkData }))), children && /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { marginTop: 3, fontWeight: "bold" }, children));
364
364
  };
365
365
  }
366
366
  });
@@ -374,7 +374,7 @@ var init_LightFullScreenLoader = __esm({
374
374
  maxWidth,
375
375
  ...props
376
376
  }) => {
377
- return /* @__PURE__ */ React50__namespace.default.createElement(react.Center, { height: "100%", background: "white", ...props }, /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { width, maxWidth }, /* @__PURE__ */ React50__namespace.default.createElement(ClientOnly, null, () => /* @__PURE__ */ React50__namespace.default.createElement(Lottie, { animationData: sporLoader.fullScreenLoaderBlackData }))));
377
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.Center, { height: "100%", background: "white", ...props }, /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { width, maxWidth }, /* @__PURE__ */ React69__namespace.default.createElement(ClientOnly, null, () => /* @__PURE__ */ React69__namespace.default.createElement(Lottie, { animationData: sporLoader.fullScreenLoaderBlackData }))));
378
378
  };
379
379
  }
380
380
  });
@@ -388,7 +388,7 @@ var init_LightInlineLoader = __esm({
388
388
  maxWidth,
389
389
  ...props
390
390
  }) => {
391
- return /* @__PURE__ */ React50__namespace.default.createElement(react.Center, { ...props }, /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { width, maxWidth }, /* @__PURE__ */ React50__namespace.default.createElement(ClientOnly, null, () => /* @__PURE__ */ React50__namespace.default.createElement(Lottie, { animationData: sporLoader.inlineLoaderLightData }))));
391
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.Center, { ...props }, /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { width, maxWidth }, /* @__PURE__ */ React69__namespace.default.createElement(ClientOnly, null, () => /* @__PURE__ */ React69__namespace.default.createElement(Lottie, { animationData: sporLoader.inlineLoaderLightData }))));
392
392
  };
393
393
  }
394
394
  });
@@ -403,7 +403,7 @@ var init_LightSpinner = __esm({
403
403
  maxWidth,
404
404
  ...props
405
405
  }) => {
406
- return /* @__PURE__ */ React50__namespace.default.createElement(react.Center, { flexDirection: "column", ...props }, /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { width, maxWidth }, /* @__PURE__ */ React50__namespace.default.createElement(ClientOnly, null, () => /* @__PURE__ */ React50__namespace.default.createElement(Lottie, { animationData: sporLoader.spinnerLightData }))), children && /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { marginTop: 3, fontWeight: "bold" }, children));
406
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.Center, { flexDirection: "column", ...props }, /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { width, maxWidth }, /* @__PURE__ */ React69__namespace.default.createElement(ClientOnly, null, () => /* @__PURE__ */ React69__namespace.default.createElement(Lottie, { animationData: sporLoader.spinnerLightData }))), children && /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { marginTop: 3, fontWeight: "bold" }, children));
407
407
  };
408
408
  }
409
409
  });
@@ -411,11 +411,11 @@ var useRotatingLabel;
411
411
  var init_useRotatingLabel = __esm({
412
412
  "src/loader/useRotatingLabel.tsx"() {
413
413
  useRotatingLabel = ({ label, delay }) => {
414
- const loadingTextArray = React50.useMemo(
414
+ const loadingTextArray = React69.useMemo(
415
415
  () => Array.isArray(label) ? label : [label],
416
416
  [label]
417
417
  );
418
- const [currentLoadingTextIndex, setCurrentLoadingTextIndex] = React50.useState(0);
418
+ const [currentLoadingTextIndex, setCurrentLoadingTextIndex] = React69.useState(0);
419
419
  react.useInterval(() => {
420
420
  setCurrentLoadingTextIndex(
421
421
  (prevIndex) => (prevIndex + 1) % loadingTextArray.length
@@ -449,7 +449,7 @@ var init_ProgressBar = __esm({
449
449
  value,
450
450
  "aria-label": ariaLabel || t2(texts.label(value))
451
451
  });
452
- return /* @__PURE__ */ React50__namespace.default.createElement(React50__namespace.default.Fragment, null, /* @__PURE__ */ React50__namespace.default.createElement(
452
+ return /* @__PURE__ */ React69__namespace.default.createElement(React69__namespace.default.Fragment, null, /* @__PURE__ */ React69__namespace.default.createElement(
453
453
  react.Box,
454
454
  {
455
455
  ...progressBarProps,
@@ -457,7 +457,7 @@ var init_ProgressBar = __esm({
457
457
  minWidth: "100px",
458
458
  ...rest
459
459
  },
460
- /* @__PURE__ */ React50__namespace.default.createElement(
460
+ /* @__PURE__ */ React69__namespace.default.createElement(
461
461
  react.Flex,
462
462
  {
463
463
  backgroundColor: "coralGreen",
@@ -466,7 +466,7 @@ var init_ProgressBar = __esm({
466
466
  justifyContent: "flex-start",
467
467
  marginX: "auto"
468
468
  },
469
- /* @__PURE__ */ React50__namespace.default.createElement(
469
+ /* @__PURE__ */ React69__namespace.default.createElement(
470
470
  react.Box,
471
471
  {
472
472
  backgroundColor: "greenHaze",
@@ -478,7 +478,7 @@ var init_ProgressBar = __esm({
478
478
  }
479
479
  )
480
480
  ),
481
- currentLoadingText && /* @__PURE__ */ React50__namespace.default.createElement(
481
+ currentLoadingText && /* @__PURE__ */ React69__namespace.default.createElement(
482
482
  react.Text,
483
483
  {
484
484
  textAlign: "center",
@@ -524,11 +524,11 @@ var init_ProgressLoader = __esm({
524
524
  value,
525
525
  "aria-label": ariaLabel ?? t2(texts2.fallbackLabel(value ?? "?"))
526
526
  });
527
- const pathRef = React50.useRef(null);
527
+ const pathRef = React69.useRef(null);
528
528
  const progressPathLength = ((_a6 = pathRef.current) == null ? void 0 : _a6.getTotalLength()) ?? 0;
529
529
  const progress = (value - 100) / 100 * progressPathLength;
530
- const id = React50.useId();
531
- return /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { ...progressBarProps, minWidth: "100px", width, ...rest }, /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { as: "svg", viewBox: "0 0 246 78", fill: "none" }, /* @__PURE__ */ React50__namespace.default.createElement(
530
+ const id = React69.useId();
531
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { ...progressBarProps, minWidth: "100px", width, ...rest }, /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { as: "svg", viewBox: "0 0 246 78", fill: "none" }, /* @__PURE__ */ React69__namespace.default.createElement(
532
532
  react.Box,
533
533
  {
534
534
  as: "path",
@@ -536,7 +536,7 @@ var init_ProgressLoader = __esm({
536
536
  d: "M14.0479 44.8251C19.4332 44.8251 23.7988 40.5242 23.7988 35.2187C23.7988 29.9133 19.4332 25.6124 14.0479 25.6124C8.66254 25.6124 4.29688 29.9133 4.29688 35.2187C4.29688 40.5242 8.66254 44.8251 14.0479 44.8251Z",
537
537
  fill: "#FFB466"
538
538
  }
539
- ), /* @__PURE__ */ React50__namespace.default.createElement(
539
+ ), /* @__PURE__ */ React69__namespace.default.createElement(
540
540
  react.Box,
541
541
  {
542
542
  as: "path",
@@ -547,7 +547,7 @@ var init_ProgressLoader = __esm({
547
547
  strokeLinecap: "round",
548
548
  strokeLinejoin: "round"
549
549
  }
550
- ), /* @__PURE__ */ React50__namespace.default.createElement(
550
+ ), /* @__PURE__ */ React69__namespace.default.createElement(
551
551
  react.Box,
552
552
  {
553
553
  as: "path",
@@ -562,7 +562,7 @@ var init_ProgressLoader = __esm({
562
562
  transition: "stroke-dashoffset .2s ease-out",
563
563
  ref: pathRef
564
564
  }
565
- ), /* @__PURE__ */ React50__namespace.default.createElement(
565
+ ), /* @__PURE__ */ React69__namespace.default.createElement(
566
566
  react.Box,
567
567
  {
568
568
  as: "path",
@@ -570,7 +570,7 @@ var init_ProgressLoader = __esm({
570
570
  d: "M226.025 44.8251C231.411 44.8251 235.776 40.5242 235.776 35.2187C235.776 29.9133 231.411 25.6124 226.025 25.6124C220.64 25.6124 216.274 29.9133 216.274 35.2187C216.274 40.5242 220.64 44.8251 226.025 44.8251Z",
571
571
  fill: "#688CBA"
572
572
  }
573
- )), currentLoadingText && /* @__PURE__ */ React50__namespace.default.createElement(
573
+ )), currentLoadingText && /* @__PURE__ */ React69__namespace.default.createElement(
574
574
  react.Text,
575
575
  {
576
576
  textAlign: "center",
@@ -594,19 +594,19 @@ var init_ProgressLoader = __esm({
594
594
  exports.Skeleton = void 0;
595
595
  var init_Skeleton = __esm({
596
596
  "src/loader/Skeleton.tsx"() {
597
- exports.Skeleton = react.forwardRef((props, ref) => /* @__PURE__ */ React50__namespace.default.createElement(react.Skeleton, { ...props, ref }));
597
+ exports.Skeleton = react.forwardRef((props, ref) => /* @__PURE__ */ React69__namespace.default.createElement(react.Skeleton, { ...props, ref }));
598
598
  }
599
599
  });
600
600
  exports.SkeletonCircle = void 0;
601
601
  var init_SkeletonCircle = __esm({
602
602
  "src/loader/SkeletonCircle.tsx"() {
603
- exports.SkeletonCircle = (props) => /* @__PURE__ */ React50__namespace.default.createElement(react.SkeletonCircle, { boxSize: 6, borderRadius: "50%", ...props });
603
+ exports.SkeletonCircle = (props) => /* @__PURE__ */ React69__namespace.default.createElement(react.SkeletonCircle, { boxSize: 6, borderRadius: "50%", ...props });
604
604
  }
605
605
  });
606
606
  exports.SkeletonText = void 0;
607
607
  var init_SkeletonText = __esm({
608
608
  "src/loader/SkeletonText.tsx"() {
609
- exports.SkeletonText = (props) => /* @__PURE__ */ React50__namespace.default.createElement(react.SkeletonText, { boxSize: 6, ...props });
609
+ exports.SkeletonText = (props) => /* @__PURE__ */ React69__namespace.default.createElement(react.SkeletonText, { boxSize: 6, ...props });
610
610
  }
611
611
  });
612
612
 
@@ -668,7 +668,7 @@ var init_Button = __esm({
668
668
  const buttonGroup = react.useButtonGroup();
669
669
  const finalVariant = variant ?? (buttonGroup == null ? void 0 : buttonGroup.variant) ?? "primary";
670
670
  const finalSize = size2 ?? (buttonGroup == null ? void 0 : buttonGroup.size) ?? "md";
671
- return /* @__PURE__ */ React50__namespace.default.createElement(
671
+ return /* @__PURE__ */ React69__namespace.default.createElement(
672
672
  react.Button,
673
673
  {
674
674
  size: finalSize,
@@ -678,11 +678,11 @@ var init_Button = __esm({
678
678
  "aria-label": ariaLabel,
679
679
  "aria-busy": isLoading,
680
680
  isDisabled: isDisabled || isLoading,
681
- leftIcon: isLoading && leftIcon ? /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { visibility: isLoading ? "hidden" : "visible", "aria-hidden": "true" }, leftIcon) : leftIcon,
682
- rightIcon: isLoading && rightIcon ? /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { visibility: isLoading ? "hidden" : "visible", "aria-hidden": "true" }, rightIcon) : rightIcon,
681
+ leftIcon: isLoading && leftIcon ? /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { visibility: isLoading ? "hidden" : "visible", "aria-hidden": "true" }, leftIcon) : leftIcon,
682
+ rightIcon: isLoading && rightIcon ? /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { visibility: isLoading ? "hidden" : "visible", "aria-hidden": "true" }, rightIcon) : rightIcon,
683
683
  position: "relative"
684
684
  },
685
- isLoading && /* @__PURE__ */ React50__namespace.default.createElement(
685
+ isLoading && /* @__PURE__ */ React69__namespace.default.createElement(
686
686
  react.Center,
687
687
  {
688
688
  position: "absolute",
@@ -691,7 +691,7 @@ var init_Button = __esm({
691
691
  left: "0",
692
692
  paddingTop: 2
693
693
  },
694
- /* @__PURE__ */ React50__namespace.default.createElement(
694
+ /* @__PURE__ */ React69__namespace.default.createElement(
695
695
  exports.ColorInlineLoader,
696
696
  {
697
697
  maxWidth: getLoaderWidth(finalSize),
@@ -700,7 +700,15 @@ var init_Button = __esm({
700
700
  }
701
701
  )
702
702
  ),
703
- /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { visibility: isLoading ? "hidden" : "visible" }, children)
703
+ /* @__PURE__ */ React69__namespace.default.createElement(
704
+ react.Box,
705
+ {
706
+ visibility: isLoading ? "hidden" : "visible",
707
+ whiteSpace: "normal",
708
+ textAlign: "left"
709
+ },
710
+ children
711
+ )
704
712
  );
705
713
  });
706
714
  texts3 = createTexts({
@@ -716,7 +724,7 @@ var init_Button = __esm({
716
724
  exports.ButtonGroup = void 0;
717
725
  var init_ButtonGroup = __esm({
718
726
  "src/button/ButtonGroup.tsx"() {
719
- exports.ButtonGroup = react.forwardRef((props, ref) => /* @__PURE__ */ React50__namespace.default.createElement(react.ButtonGroup, { ...props, ref }));
727
+ exports.ButtonGroup = react.forwardRef((props, ref) => /* @__PURE__ */ React69__namespace.default.createElement(react.ButtonGroup, { ...props, ref }));
720
728
  }
721
729
  });
722
730
  exports.IconButton = void 0;
@@ -724,12 +732,12 @@ var init_IconButton = __esm({
724
732
  "src/button/IconButton.tsx"() {
725
733
  init_src();
726
734
  exports.IconButton = react.forwardRef(
727
- ({ ...props }, ref) => /* @__PURE__ */ React50__namespace.default.createElement(
735
+ ({ ...props }, ref) => /* @__PURE__ */ React69__namespace.default.createElement(
728
736
  react.IconButton,
729
737
  {
730
738
  title: props["aria-label"],
731
739
  ...props,
732
- spinner: /* @__PURE__ */ React50__namespace.default.createElement(exports.ColorSpinner, { margin: 1 }),
740
+ spinner: /* @__PURE__ */ React69__namespace.default.createElement(exports.ColorSpinner, { margin: 1 }),
733
741
  ref
734
742
  }
735
743
  )
@@ -744,7 +752,7 @@ var init_CloseButton = __esm({
744
752
  exports.CloseButton = react.forwardRef(
745
753
  ({ size: size2 = "sm", ...props }, ref) => {
746
754
  const { t: t2 } = useTranslation();
747
- return /* @__PURE__ */ React50__namespace.default.createElement(
755
+ return /* @__PURE__ */ React69__namespace.default.createElement(
748
756
  exports.IconButton,
749
757
  {
750
758
  ref,
@@ -761,11 +769,11 @@ var init_CloseButton = __esm({
761
769
  switch (size2) {
762
770
  case "xs":
763
771
  case "sm":
764
- return /* @__PURE__ */ React50__namespace.default.createElement(sporIconReact.CloseFill18Icon, null);
772
+ return /* @__PURE__ */ React69__namespace.default.createElement(sporIconReact.CloseFill18Icon, null);
765
773
  case "md":
766
- return /* @__PURE__ */ React50__namespace.default.createElement(sporIconReact.CloseFill24Icon, null);
774
+ return /* @__PURE__ */ React69__namespace.default.createElement(sporIconReact.CloseFill24Icon, null);
767
775
  case "lg":
768
- return /* @__PURE__ */ React50__namespace.default.createElement(sporIconReact.CloseFill30Icon, null);
776
+ return /* @__PURE__ */ React69__namespace.default.createElement(sporIconReact.CloseFill30Icon, null);
769
777
  }
770
778
  };
771
779
  texts4 = createTexts({
@@ -792,11 +800,11 @@ var init_FloatingActionButton = __esm({
792
800
  placement = "bottom right",
793
801
  ...props
794
802
  }, ref) => {
795
- const [isTextVisible, setIsTextVisible] = React50__namespace.default.useState(
803
+ const [isTextVisible, setIsTextVisible] = React69__namespace.default.useState(
796
804
  externalIsTextVisible !== void 0 ? externalIsTextVisible : false
797
805
  );
798
806
  const scrollDirection = useScrollDirection();
799
- React50.useEffect(() => {
807
+ React69.useEffect(() => {
800
808
  if (externalIsTextVisible !== void 0) {
801
809
  return;
802
810
  }
@@ -806,7 +814,7 @@ var init_FloatingActionButton = __esm({
806
814
  );
807
815
  return () => window.clearTimeout(id);
808
816
  }, [scrollDirection, externalIsTextVisible]);
809
- React50.useEffect(() => {
817
+ React69.useEffect(() => {
810
818
  setIsTextVisible(!!externalIsTextVisible);
811
819
  }, [externalIsTextVisible]);
812
820
  const style = react.useMultiStyleConfig("FloatingActionButton", {
@@ -814,7 +822,7 @@ var init_FloatingActionButton = __esm({
814
822
  isTextVisible,
815
823
  placement
816
824
  });
817
- return /* @__PURE__ */ React50__namespace.default.createElement(
825
+ return /* @__PURE__ */ React69__namespace.default.createElement(
818
826
  MotionBox,
819
827
  {
820
828
  __css: style.container,
@@ -822,8 +830,8 @@ var init_FloatingActionButton = __esm({
822
830
  ref,
823
831
  ...props
824
832
  },
825
- /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { __css: style.icon }, icon),
826
- /* @__PURE__ */ React50__namespace.default.createElement(
833
+ /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { __css: style.icon }, icon),
834
+ /* @__PURE__ */ React69__namespace.default.createElement(
827
835
  MotionBox,
828
836
  {
829
837
  animate: isTextVisible ? "show" : "hide",
@@ -848,11 +856,11 @@ var init_FloatingActionButton = __esm({
848
856
  }
849
857
  );
850
858
  useScrollDirection = () => {
851
- const [scrollDirection, setScrollDirection] = React50__namespace.default.useState(null);
852
- const lastScrollPosition = React50__namespace.default.useRef(
859
+ const [scrollDirection, setScrollDirection] = React69__namespace.default.useState(null);
860
+ const lastScrollPosition = React69__namespace.default.useRef(
853
861
  typeof window !== "undefined" ? window.scrollY : 0
854
862
  );
855
- React50__namespace.default.useEffect(() => {
863
+ React69__namespace.default.useEffect(() => {
856
864
  const onScroll = () => {
857
865
  const delta = window.scrollY - lastScrollPosition.current;
858
866
  if (delta === 0) {
@@ -888,7 +896,7 @@ var init_AlertIcon = __esm({
888
896
  AlertIcon = ({ variant }) => {
889
897
  const Icon = getIcon2(variant);
890
898
  const { t: t2 } = useTranslation();
891
- return /* @__PURE__ */ React50__namespace.default.createElement(
899
+ return /* @__PURE__ */ React69__namespace.default.createElement(
892
900
  Icon,
893
901
  {
894
902
  flexShrink: 0,
@@ -951,7 +959,7 @@ var init_BaseAlert = __esm({
951
959
  "src/alert/BaseAlert.tsx"() {
952
960
  BaseAlert = ({ variant, children, ...boxProps }) => {
953
961
  const styles3 = react.useMultiStyleConfig("Alert", { variant });
954
- return /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { __css: styles3.container, ...boxProps }, children);
962
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { __css: styles3.container, ...boxProps }, children);
955
963
  };
956
964
  }
957
965
  });
@@ -978,17 +986,17 @@ var init_ClosableAlert = __esm({
978
986
  externalOnClose();
979
987
  onClose();
980
988
  };
981
- return /* @__PURE__ */ React50__namespace.default.createElement(BaseAlert, { variant }, /* @__PURE__ */ React50__namespace.default.createElement(
989
+ return /* @__PURE__ */ React69__namespace.default.createElement(BaseAlert, { variant }, /* @__PURE__ */ React69__namespace.default.createElement(
982
990
  exports.IconButton,
983
991
  {
984
992
  variant: "ghost",
985
993
  size: "sm",
986
994
  onClick: handleClose,
987
- icon: /* @__PURE__ */ React50__namespace.default.createElement(sporIconReact.CloseFill18Icon, null),
995
+ icon: /* @__PURE__ */ React69__namespace.default.createElement(sporIconReact.CloseFill18Icon, null),
988
996
  "aria-label": t2(texts6.close),
989
997
  sx: styles3.closeButton
990
998
  }
991
- ), /* @__PURE__ */ React50__namespace.default.createElement(AlertIcon, { variant }), children);
999
+ ), /* @__PURE__ */ React69__namespace.default.createElement(AlertIcon, { variant }), children);
992
1000
  };
993
1001
  texts6 = createTexts({
994
1002
  close: {
@@ -1015,7 +1023,7 @@ var init_ExpandableAlert = __esm({
1015
1023
  },
1016
1024
  ...boxProps
1017
1025
  }) => {
1018
- return /* @__PURE__ */ React50__namespace.default.createElement(BaseAlert, { variant, ...boxProps, paddingX: 0, paddingY: 0 }, /* @__PURE__ */ React50__namespace.default.createElement(
1026
+ return /* @__PURE__ */ React69__namespace.default.createElement(BaseAlert, { variant, ...boxProps, paddingX: 0, paddingY: 0 }, /* @__PURE__ */ React69__namespace.default.createElement(
1019
1027
  react.Accordion,
1020
1028
  {
1021
1029
  onChange: (expandedIndex) => onToggle(expandedIndex === 0),
@@ -1023,14 +1031,14 @@ var init_ExpandableAlert = __esm({
1023
1031
  allowToggle: true,
1024
1032
  flexGrow: "1"
1025
1033
  },
1026
- /* @__PURE__ */ React50__namespace.default.createElement(react.AccordionItem, null, /* @__PURE__ */ React50__namespace.default.createElement(react.AccordionButton, { paddingX: 3, paddingY: 2, fontSize: "inherit" }, /* @__PURE__ */ React50__namespace.default.createElement(
1034
+ /* @__PURE__ */ React69__namespace.default.createElement(react.AccordionItem, null, /* @__PURE__ */ React69__namespace.default.createElement(react.AccordionButton, { paddingX: 3, paddingY: 2, fontSize: "inherit" }, /* @__PURE__ */ React69__namespace.default.createElement(
1027
1035
  react.Flex,
1028
1036
  {
1029
1037
  justifyContent: "space-between",
1030
1038
  alignItems: "center",
1031
1039
  flexGrow: "1"
1032
1040
  },
1033
- /* @__PURE__ */ React50__namespace.default.createElement(react.Flex, { as: headingLevel, alignItems: "center" }, /* @__PURE__ */ React50__namespace.default.createElement(AlertIcon, { variant }), /* @__PURE__ */ React50__namespace.default.createElement(
1041
+ /* @__PURE__ */ React69__namespace.default.createElement(react.Flex, { as: headingLevel, alignItems: "center" }, /* @__PURE__ */ React69__namespace.default.createElement(AlertIcon, { variant }), /* @__PURE__ */ React69__namespace.default.createElement(
1034
1042
  react.Box,
1035
1043
  {
1036
1044
  as: "span",
@@ -1044,8 +1052,8 @@ var init_ExpandableAlert = __esm({
1044
1052
  },
1045
1053
  title
1046
1054
  )),
1047
- /* @__PURE__ */ React50__namespace.default.createElement(react.AccordionIcon, null)
1048
- )), /* @__PURE__ */ React50__namespace.default.createElement(react.AccordionPanel, null, children))
1055
+ /* @__PURE__ */ React69__namespace.default.createElement(react.AccordionIcon, null)
1056
+ )), /* @__PURE__ */ React69__namespace.default.createElement(react.AccordionPanel, null, children))
1049
1057
  ));
1050
1058
  };
1051
1059
  }
@@ -1056,7 +1064,7 @@ var init_StaticAlert = __esm({
1056
1064
  init_AlertIcon();
1057
1065
  init_BaseAlert();
1058
1066
  exports.StaticAlert = ({ children, ...props }) => {
1059
- return /* @__PURE__ */ React50__namespace.default.createElement(BaseAlert, { ...props }, /* @__PURE__ */ React50__namespace.default.createElement(AlertIcon, { variant: props.variant }), children);
1067
+ return /* @__PURE__ */ React69__namespace.default.createElement(BaseAlert, { ...props }, /* @__PURE__ */ React69__namespace.default.createElement(AlertIcon, { variant: props.variant }), children);
1060
1068
  };
1061
1069
  }
1062
1070
  });
@@ -1073,10 +1081,10 @@ exports.Breadcrumb = void 0; exports.BreadcrumbItem = void 0; exports.Breadcrumb
1073
1081
  var init_Breadcrumb = __esm({
1074
1082
  "src/breadcrumb/Breadcrumb.tsx"() {
1075
1083
  exports.Breadcrumb = (props) => {
1076
- return /* @__PURE__ */ React50__namespace.default.createElement(
1084
+ return /* @__PURE__ */ React69__namespace.default.createElement(
1077
1085
  react.Breadcrumb,
1078
1086
  {
1079
- separator: /* @__PURE__ */ React50__namespace.default.createElement(sporIconReact.DropdownRightFill18Icon, { color: "blackAlpha.400" }),
1087
+ separator: /* @__PURE__ */ React69__namespace.default.createElement(sporIconReact.DropdownRightFill18Icon, { color: "blackAlpha.400" }),
1080
1088
  ...props
1081
1089
  }
1082
1090
  );
@@ -1102,7 +1110,7 @@ var init_Card = __esm({
1102
1110
  colorScheme,
1103
1111
  size: size2
1104
1112
  });
1105
- return /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { __css: styles3, ...props, ref }, children);
1113
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { __css: styles3, ...props, ref }, children);
1106
1114
  }
1107
1115
  );
1108
1116
  }
@@ -1115,10 +1123,10 @@ var init_card = __esm({
1115
1123
  }
1116
1124
  });
1117
1125
  function $458b0a5536c1a7cf$export$40bfa8c7b0832715(value, defaultValue, onChange) {
1118
- let [stateValue, setStateValue] = (React50.useState)(value || defaultValue);
1119
- let isControlledRef = (React50.useRef)(value !== void 0);
1126
+ let [stateValue, setStateValue] = (React69.useState)(value || defaultValue);
1127
+ let isControlledRef = (React69.useRef)(value !== void 0);
1120
1128
  let isControlled = value !== void 0;
1121
- (React50.useEffect)(() => {
1129
+ (React69.useEffect)(() => {
1122
1130
  let wasControlled = isControlledRef.current;
1123
1131
  if (wasControlled !== isControlled)
1124
1132
  console.warn(`WARN: A component changed from ${wasControlled ? "controlled" : "uncontrolled"} to ${isControlled ? "controlled" : "uncontrolled"}.`);
@@ -1127,7 +1135,7 @@ function $458b0a5536c1a7cf$export$40bfa8c7b0832715(value, defaultValue, onChange
1127
1135
  isControlled
1128
1136
  ]);
1129
1137
  let currentValue = isControlled ? value : stateValue;
1130
- let setValue = (React50.useCallback)((value2, ...args) => {
1138
+ let setValue = (React69.useCallback)((value2, ...args) => {
1131
1139
  let onChangeCaller = (value3, ...onChangeArgs) => {
1132
1140
  if (onChange) {
1133
1141
  if (!Object.is(currentValue, value3))
@@ -1167,17 +1175,17 @@ var init_import = __esm({
1167
1175
  });
1168
1176
  function $fc909762b330b746$export$61c6a8c84e605fb6(props) {
1169
1177
  let [isOpen, setOpen] = ($458b0a5536c1a7cf$export$40bfa8c7b0832715)(props.isOpen, props.defaultOpen || false, props.onOpenChange);
1170
- const open = (React50.useCallback)(() => {
1178
+ const open = (React69.useCallback)(() => {
1171
1179
  setOpen(true);
1172
1180
  }, [
1173
1181
  setOpen
1174
1182
  ]);
1175
- const close = (React50.useCallback)(() => {
1183
+ const close = (React69.useCallback)(() => {
1176
1184
  setOpen(false);
1177
1185
  }, [
1178
1186
  setOpen
1179
1187
  ]);
1180
- const toggle = (React50.useCallback)(() => {
1188
+ const toggle = (React69.useCallback)(() => {
1181
1189
  setOpen(!isOpen);
1182
1190
  }, [
1183
1191
  setOpen,
@@ -1306,7 +1314,7 @@ function $35a22f14a1f04b11$export$2440da353cedad43(v, granularity) {
1306
1314
  let defaultGranularity = v && "minute" in v ? "minute" : "day";
1307
1315
  if (v && granularity && !(granularity in v))
1308
1316
  throw new Error("Invalid granularity " + granularity + " for value " + v.toString());
1309
- let [lastValue, setLastValue] = (React50.useState)([
1317
+ let [lastValue, setLastValue] = (React69.useState)([
1310
1318
  defaultGranularity,
1311
1319
  defaultTimeZone
1312
1320
  ]);
@@ -1333,8 +1341,8 @@ function $ab5bf3f618090389$export$87194bb378cc3ac2(props) {
1333
1341
  let hasTime = granularity === "hour" || granularity === "minute" || granularity === "second";
1334
1342
  var _props_shouldCloseOnSelect;
1335
1343
  let shouldCloseOnSelect = (_props_shouldCloseOnSelect = props.shouldCloseOnSelect) !== null && _props_shouldCloseOnSelect !== void 0 ? _props_shouldCloseOnSelect : true;
1336
- let [selectedDate, setSelectedDate] = (React50.useState)(null);
1337
- let [selectedTime, setSelectedTime] = (React50.useState)(null);
1344
+ let [selectedDate, setSelectedDate] = (React69.useState)(null);
1345
+ let [selectedTime, setSelectedTime] = (React69.useState)(null);
1338
1346
  if (value) {
1339
1347
  selectedDate = value;
1340
1348
  if ("hour" in value)
@@ -1411,23 +1419,23 @@ function $3c0fc76039f1c516$export$60e84778edff6d26(props) {
1411
1419
  let timeZone = defaultTimeZone || "UTC";
1412
1420
  if (v && !(granularity in v))
1413
1421
  throw new Error("Invalid granularity " + granularity + " for value " + v.toString());
1414
- let defaultFormatter = (React50.useMemo)(() => new (date.DateFormatter)(locale), [
1422
+ let defaultFormatter = (React69.useMemo)(() => new (date.DateFormatter)(locale), [
1415
1423
  locale
1416
1424
  ]);
1417
- let calendar = (React50.useMemo)(() => createCalendar4(defaultFormatter.resolvedOptions().calendar), [
1425
+ let calendar = (React69.useMemo)(() => createCalendar4(defaultFormatter.resolvedOptions().calendar), [
1418
1426
  createCalendar4,
1419
1427
  defaultFormatter
1420
1428
  ]);
1421
1429
  let [value, setDate] = ($458b0a5536c1a7cf$export$40bfa8c7b0832715)(props.value, props.defaultValue, props.onChange);
1422
- let calendarValue = (React50.useMemo)(() => ($35a22f14a1f04b11$export$61a490a80c552550)(value, calendar), [
1430
+ let calendarValue = (React69.useMemo)(() => ($35a22f14a1f04b11$export$61a490a80c552550)(value, calendar), [
1423
1431
  value,
1424
1432
  calendar
1425
1433
  ]);
1426
- let [placeholderDate, setPlaceholderDate] = (React50.useState)(() => ($35a22f14a1f04b11$export$66aa2b09de4b1ea5)(props.placeholderValue, granularity, calendar, defaultTimeZone));
1434
+ let [placeholderDate, setPlaceholderDate] = (React69.useState)(() => ($35a22f14a1f04b11$export$66aa2b09de4b1ea5)(props.placeholderValue, granularity, calendar, defaultTimeZone));
1427
1435
  let val = calendarValue || placeholderDate;
1428
1436
  let showEra = calendar.identifier === "gregory" && val.era === "BC";
1429
1437
  var _props_maxGranularity;
1430
- let formatOpts = (React50.useMemo)(() => ({
1438
+ let formatOpts = (React69.useMemo)(() => ({
1431
1439
  granularity,
1432
1440
  maxGranularity: (_props_maxGranularity = props.maxGranularity) !== null && _props_maxGranularity !== void 0 ? _props_maxGranularity : "year",
1433
1441
  timeZone: defaultTimeZone,
@@ -1444,25 +1452,25 @@ function $3c0fc76039f1c516$export$60e84778edff6d26(props) {
1444
1452
  hideTimeZone,
1445
1453
  showEra
1446
1454
  ]);
1447
- let opts = (React50.useMemo)(() => ($35a22f14a1f04b11$export$7e319ea407e63bc0)({}, formatOpts), [
1455
+ let opts = (React69.useMemo)(() => ($35a22f14a1f04b11$export$7e319ea407e63bc0)({}, formatOpts), [
1448
1456
  formatOpts
1449
1457
  ]);
1450
- let dateFormatter = (React50.useMemo)(() => new (date.DateFormatter)(locale, opts), [
1458
+ let dateFormatter = (React69.useMemo)(() => new (date.DateFormatter)(locale, opts), [
1451
1459
  locale,
1452
1460
  opts
1453
1461
  ]);
1454
- let resolvedOptions = (React50.useMemo)(() => dateFormatter.resolvedOptions(), [
1462
+ let resolvedOptions = (React69.useMemo)(() => dateFormatter.resolvedOptions(), [
1455
1463
  dateFormatter
1456
1464
  ]);
1457
- let allSegments = (React50.useMemo)(() => dateFormatter.formatToParts(/* @__PURE__ */ new Date()).filter((seg) => $3c0fc76039f1c516$var$EDITABLE_SEGMENTS[seg.type]).reduce((p, seg) => (p[seg.type] = true, p), {}), [
1465
+ let allSegments = (React69.useMemo)(() => dateFormatter.formatToParts(/* @__PURE__ */ new Date()).filter((seg) => $3c0fc76039f1c516$var$EDITABLE_SEGMENTS[seg.type]).reduce((p, seg) => (p[seg.type] = true, p), {}), [
1458
1466
  dateFormatter
1459
1467
  ]);
1460
- let [validSegments, setValidSegments] = (React50.useState)(() => props.value || props.defaultValue ? {
1468
+ let [validSegments, setValidSegments] = (React69.useState)(() => props.value || props.defaultValue ? {
1461
1469
  ...allSegments
1462
1470
  } : {});
1463
- let clearedSegment = (React50.useRef)();
1464
- let lastCalendarIdentifier = (React50.useRef)(calendar.identifier);
1465
- (React50.useEffect)(() => {
1471
+ let clearedSegment = (React69.useRef)();
1472
+ let lastCalendarIdentifier = (React69.useRef)(calendar.identifier);
1473
+ (React69.useEffect)(() => {
1466
1474
  if (calendar.identifier !== lastCalendarIdentifier.current) {
1467
1475
  lastCalendarIdentifier.current = calendar.identifier;
1468
1476
  setPlaceholderDate((placeholder) => Object.keys(validSegments).length > 0 ? (date.toCalendar)(placeholder, calendar) : ($35a22f14a1f04b11$export$66aa2b09de4b1ea5)(props.placeholderValue, granularity, calendar, defaultTimeZone));
@@ -1502,11 +1510,11 @@ function $3c0fc76039f1c516$export$60e84778edff6d26(props) {
1502
1510
  setPlaceholderDate(newValue);
1503
1511
  clearedSegment.current = null;
1504
1512
  };
1505
- let dateValue = (React50.useMemo)(() => displayValue.toDate(timeZone), [
1513
+ let dateValue = (React69.useMemo)(() => displayValue.toDate(timeZone), [
1506
1514
  displayValue,
1507
1515
  timeZone
1508
1516
  ]);
1509
- let segments = (React50.useMemo)(() => dateFormatter.formatToParts(dateValue).map((segment) => {
1517
+ let segments = (React69.useMemo)(() => dateFormatter.formatToParts(dateValue).map((segment) => {
1510
1518
  let isEditable = $3c0fc76039f1c516$var$EDITABLE_SEGMENTS[segment.type];
1511
1519
  if (segment.type === "era" && calendar.getEras().length === 1)
1512
1520
  isEditable = false;
@@ -1773,7 +1781,7 @@ function $93c38a5e28be6249$export$e50a61c1de9f574(props) {
1773
1781
  var _props_isDateUnavailable, _props_isDateUnavailable1;
1774
1782
  let overlayState = ($fc909762b330b746$export$61c6a8c84e605fb6)(props);
1775
1783
  let [controlledValue, setControlledValue] = ($458b0a5536c1a7cf$export$40bfa8c7b0832715)(props.value, props.defaultValue || null, props.onChange);
1776
- let [placeholderValue, setPlaceholderValue] = (React50.useState)(() => controlledValue || {
1784
+ let [placeholderValue, setPlaceholderValue] = (React69.useState)(() => controlledValue || {
1777
1785
  start: null,
1778
1786
  end: null
1779
1787
  });
@@ -1797,8 +1805,8 @@ function $93c38a5e28be6249$export$e50a61c1de9f574(props) {
1797
1805
  let hasTime = granularity === "hour" || granularity === "minute" || granularity === "second";
1798
1806
  var _props_shouldCloseOnSelect;
1799
1807
  let shouldCloseOnSelect = (_props_shouldCloseOnSelect = props.shouldCloseOnSelect) !== null && _props_shouldCloseOnSelect !== void 0 ? _props_shouldCloseOnSelect : true;
1800
- let [dateRange, setSelectedDateRange] = (React50.useState)(null);
1801
- let [timeRange, setSelectedTimeRange] = (React50.useState)(null);
1808
+ let [dateRange, setSelectedDateRange] = (React69.useState)(null);
1809
+ let [timeRange, setSelectedTimeRange] = (React69.useState)(null);
1802
1810
  if (value && value.start && value.end) {
1803
1811
  dateRange = value;
1804
1812
  if ("hour" in value.start)
@@ -2418,35 +2426,35 @@ function $f62d864046160412$export$a1d3911297b952d7(date, minValue, isDateUnavail
2418
2426
  return date;
2419
2427
  }
2420
2428
  function $131cf43a05231e1e$export$6d095e787d2b5e1f(props) {
2421
- let defaultFormatter = (React50.useMemo)(() => new (date.DateFormatter)(props.locale), [
2429
+ let defaultFormatter = (React69.useMemo)(() => new (date.DateFormatter)(props.locale), [
2422
2430
  props.locale
2423
2431
  ]);
2424
- let resolvedOptions = (React50.useMemo)(() => defaultFormatter.resolvedOptions(), [
2432
+ let resolvedOptions = (React69.useMemo)(() => defaultFormatter.resolvedOptions(), [
2425
2433
  defaultFormatter
2426
2434
  ]);
2427
2435
  let { locale, createCalendar: createCalendar4, visibleDuration = {
2428
2436
  months: 1
2429
2437
  }, minValue, maxValue, selectionAlignment, isDateUnavailable, pageBehavior = "visible" } = props;
2430
- let calendar = (React50.useMemo)(() => createCalendar4(resolvedOptions.calendar), [
2438
+ let calendar = (React69.useMemo)(() => createCalendar4(resolvedOptions.calendar), [
2431
2439
  createCalendar4,
2432
2440
  resolvedOptions.calendar
2433
2441
  ]);
2434
2442
  let [value, setControlledValue] = ($458b0a5536c1a7cf$export$40bfa8c7b0832715)(props.value, props.defaultValue, props.onChange);
2435
- let calendarDateValue = (React50.useMemo)(() => value ? (date.toCalendar)((date.toCalendarDate)(value), calendar) : null, [
2443
+ let calendarDateValue = (React69.useMemo)(() => value ? (date.toCalendar)((date.toCalendarDate)(value), calendar) : null, [
2436
2444
  value,
2437
2445
  calendar
2438
2446
  ]);
2439
- let timeZone = (React50.useMemo)(() => value && "timeZone" in value ? value.timeZone : resolvedOptions.timeZone, [
2447
+ let timeZone = (React69.useMemo)(() => value && "timeZone" in value ? value.timeZone : resolvedOptions.timeZone, [
2440
2448
  value,
2441
2449
  resolvedOptions.timeZone
2442
2450
  ]);
2443
- let focusedCalendarDate = (React50.useMemo)(() => props.focusedValue ? ($f62d864046160412$export$4f5203c0d889109e)((date.toCalendar)((date.toCalendarDate)(props.focusedValue), calendar), minValue, maxValue) : void 0, [
2451
+ let focusedCalendarDate = (React69.useMemo)(() => props.focusedValue ? ($f62d864046160412$export$4f5203c0d889109e)((date.toCalendar)((date.toCalendarDate)(props.focusedValue), calendar), minValue, maxValue) : void 0, [
2444
2452
  props.focusedValue,
2445
2453
  calendar,
2446
2454
  minValue,
2447
2455
  maxValue
2448
2456
  ]);
2449
- let defaultFocusedCalendarDate = (React50.useMemo)(() => ($f62d864046160412$export$4f5203c0d889109e)(props.defaultFocusedValue ? (date.toCalendar)((date.toCalendarDate)(props.defaultFocusedValue), calendar) : calendarDateValue || (date.toCalendar)((date.today)(timeZone), calendar), minValue, maxValue), [
2457
+ let defaultFocusedCalendarDate = (React69.useMemo)(() => ($f62d864046160412$export$4f5203c0d889109e)(props.defaultFocusedValue ? (date.toCalendar)((date.toCalendarDate)(props.defaultFocusedValue), calendar) : calendarDateValue || (date.toCalendar)((date.today)(timeZone), calendar), minValue, maxValue), [
2450
2458
  props.defaultFocusedValue,
2451
2459
  calendarDateValue,
2452
2460
  timeZone,
@@ -2455,7 +2463,7 @@ function $131cf43a05231e1e$export$6d095e787d2b5e1f(props) {
2455
2463
  maxValue
2456
2464
  ]);
2457
2465
  let [focusedDate, setFocusedDate] = ($458b0a5536c1a7cf$export$40bfa8c7b0832715)(focusedCalendarDate, defaultFocusedCalendarDate, props.onFocusChange);
2458
- let [startDate, setStartDate] = (React50.useState)(() => {
2466
+ let [startDate, setStartDate] = (React69.useState)(() => {
2459
2467
  switch (selectionAlignment) {
2460
2468
  case "start":
2461
2469
  return ($f62d864046160412$export$144a00ba6044eb9)(focusedDate, visibleDuration, locale, minValue, maxValue);
@@ -2466,8 +2474,8 @@ function $131cf43a05231e1e$export$6d095e787d2b5e1f(props) {
2466
2474
  return ($f62d864046160412$export$f4a51ff076cc9a09)(focusedDate, visibleDuration, locale, minValue, maxValue);
2467
2475
  }
2468
2476
  });
2469
- let [isFocused, setFocused] = (React50.useState)(props.autoFocus || false);
2470
- let endDate = (React50.useMemo)(() => {
2477
+ let [isFocused, setFocused] = (React69.useState)(props.autoFocus || false);
2478
+ let endDate = (React69.useMemo)(() => {
2471
2479
  let duration = {
2472
2480
  ...visibleDuration
2473
2481
  };
@@ -2480,7 +2488,7 @@ function $131cf43a05231e1e$export$6d095e787d2b5e1f(props) {
2480
2488
  startDate,
2481
2489
  visibleDuration
2482
2490
  ]);
2483
- let [lastCalendarIdentifier, setLastCalendarIdentifier] = (React50.useState)(calendar.identifier);
2491
+ let [lastCalendarIdentifier, setLastCalendarIdentifier] = (React69.useState)(calendar.identifier);
2484
2492
  if (calendar.identifier !== lastCalendarIdentifier) {
2485
2493
  let newFocusedDate = (date.toCalendar)(focusedDate, calendar);
2486
2494
  setStartDate(($f62d864046160412$export$f4a51ff076cc9a09)(newFocusedDate, visibleDuration, locale, minValue, maxValue));
@@ -2510,7 +2518,7 @@ function $131cf43a05231e1e$export$6d095e787d2b5e1f(props) {
2510
2518
  setControlledValue(newValue);
2511
2519
  }
2512
2520
  }
2513
- let isUnavailable = (React50.useMemo)(() => {
2521
+ let isUnavailable = (React69.useMemo)(() => {
2514
2522
  if (!calendarDateValue)
2515
2523
  return false;
2516
2524
  if (isDateUnavailable && isDateUnavailable(calendarDateValue))
@@ -2523,7 +2531,7 @@ function $131cf43a05231e1e$export$6d095e787d2b5e1f(props) {
2523
2531
  maxValue
2524
2532
  ]);
2525
2533
  let validationState = props.validationState || (isUnavailable ? "invalid" : null);
2526
- let pageDuration = (React50.useMemo)(() => {
2534
+ let pageDuration = (React69.useMemo)(() => {
2527
2535
  if (pageBehavior === "visible")
2528
2536
  return visibleDuration;
2529
2537
  return $131cf43a05231e1e$var$unitDuration(visibleDuration);
@@ -2705,7 +2713,7 @@ function $9a36b6ba2fb1a7c5$export$9a987164d97ecc90(props) {
2705
2713
  months: 1
2706
2714
  }, minValue, maxValue, ...calendarProps } = props;
2707
2715
  let [value, setValue] = ($458b0a5536c1a7cf$export$40bfa8c7b0832715)(valueProp, defaultValue || null, onChange);
2708
- let [anchorDate, setAnchorDateState] = (React50.useState)(null);
2716
+ let [anchorDate, setAnchorDateState] = (React69.useState)(null);
2709
2717
  let alignment = "center";
2710
2718
  if (value && value.start && value.end) {
2711
2719
  let start = ($f62d864046160412$export$f4a51ff076cc9a09)((date.toCalendarDate)(value.start), visibleDuration, locale, minValue, maxValue);
@@ -2715,15 +2723,15 @@ function $9a36b6ba2fb1a7c5$export$9a987164d97ecc90(props) {
2715
2723
  if (value.end.compare(end) > 0)
2716
2724
  alignment = "start";
2717
2725
  }
2718
- let availableRangeRef = (React50.useRef)(null);
2719
- let [availableRange, setAvailableRange] = (React50.useState)(null);
2720
- let min = (React50.useMemo)(() => {
2726
+ let availableRangeRef = (React69.useRef)(null);
2727
+ let [availableRange, setAvailableRange] = (React69.useState)(null);
2728
+ let min = (React69.useMemo)(() => {
2721
2729
  return (date.maxDate)(minValue, availableRange === null || availableRange === void 0 ? void 0 : availableRange.start);
2722
2730
  }, [
2723
2731
  minValue,
2724
2732
  availableRange
2725
2733
  ]);
2726
- let max = (React50.useMemo)(() => {
2734
+ let max = (React69.useMemo)(() => {
2727
2735
  return (date.minDate)(maxValue, availableRange === null || availableRange === void 0 ? void 0 : availableRange.end);
2728
2736
  }, [
2729
2737
  maxValue,
@@ -2751,7 +2759,7 @@ function $9a36b6ba2fb1a7c5$export$9a987164d97ecc90(props) {
2751
2759
  setAvailableRange(null);
2752
2760
  }
2753
2761
  };
2754
- let [lastVisibleRange, setLastVisibleRange] = (React50.useState)(calendar.visibleRange);
2762
+ let [lastVisibleRange, setLastVisibleRange] = (React69.useState)(calendar.visibleRange);
2755
2763
  if (!(date.isEqualDay)(calendar.visibleRange.start, lastVisibleRange.start) || !(date.isEqualDay)(calendar.visibleRange.end, lastVisibleRange.end)) {
2756
2764
  updateAvailableRange(anchorDate);
2757
2765
  setLastVisibleRange(calendar.visibleRange);
@@ -2784,9 +2792,9 @@ function $9a36b6ba2fb1a7c5$export$9a987164d97ecc90(props) {
2784
2792
  setAnchorDate(null);
2785
2793
  }
2786
2794
  };
2787
- let [isDragging, setDragging] = (React50.useState)(false);
2795
+ let [isDragging, setDragging] = (React69.useState)(false);
2788
2796
  let { isDateUnavailable } = props;
2789
- let isInvalidSelection = (React50.useMemo)(() => {
2797
+ let isInvalidSelection = (React69.useMemo)(() => {
2790
2798
  if (!value || anchorDate)
2791
2799
  return false;
2792
2800
  if (isDateUnavailable && (isDateUnavailable(value.start) || isDateUnavailable(value.end)))
@@ -2870,7 +2878,7 @@ var init_Badge = __esm({
2870
2878
  "src/typography/Badge.tsx"() {
2871
2879
  exports.Badge = react.forwardRef(
2872
2880
  ({ icon, colorScheme = "grey", children, ...props }, ref) => {
2873
- return /* @__PURE__ */ React50__namespace.default.createElement(
2881
+ return /* @__PURE__ */ React69__namespace.default.createElement(
2874
2882
  react.Badge,
2875
2883
  {
2876
2884
  colorScheme,
@@ -2878,7 +2886,7 @@ var init_Badge = __esm({
2878
2886
  paddingLeft: icon ? 1 : void 0,
2879
2887
  ref
2880
2888
  },
2881
- icon && React50__namespace.default.cloneElement(icon, { marginRight: 1 }),
2889
+ icon && React69__namespace.default.cloneElement(icon, { marginRight: 1 }),
2882
2890
  children
2883
2891
  );
2884
2892
  }
@@ -2888,7 +2896,7 @@ var init_Badge = __esm({
2888
2896
  exports.Code = void 0;
2889
2897
  var init_Code = __esm({
2890
2898
  "src/typography/Code.tsx"() {
2891
- exports.Code = react.forwardRef((props, ref) => /* @__PURE__ */ React50__namespace.default.createElement(react.Code, { ...props, ref }));
2899
+ exports.Code = react.forwardRef((props, ref) => /* @__PURE__ */ React69__namespace.default.createElement(react.Code, { ...props, ref }));
2892
2900
  }
2893
2901
  });
2894
2902
  exports.Heading = void 0;
@@ -2899,7 +2907,7 @@ var init_Heading = __esm({
2899
2907
  variant = "xl-display",
2900
2908
  ...props
2901
2909
  }) => {
2902
- return /* @__PURE__ */ React50__namespace.default.createElement(react.Text, { as, textStyle: variant, ...props });
2910
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.Text, { as, textStyle: variant, ...props });
2903
2911
  };
2904
2912
  }
2905
2913
  });
@@ -2908,7 +2916,7 @@ var init_Text = __esm({
2908
2916
  "src/typography/Text.tsx"() {
2909
2917
  exports.Text = react.forwardRef(
2910
2918
  ({ variant = "sm", ...props }, ref) => {
2911
- return /* @__PURE__ */ React50__namespace.default.createElement(react.Text, { ...props, textStyle: variant, ref });
2919
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.Text, { ...props, textStyle: variant, ref });
2912
2920
  }
2913
2921
  );
2914
2922
  }
@@ -2923,8 +2931,8 @@ var init_typography = __esm({
2923
2931
  init_Text();
2924
2932
  }
2925
2933
  });
2926
- function CalendarCell({ state: state2, date: date$1, currentMonth }) {
2927
- const ref = React50.useRef(null);
2934
+ function CalendarCell({ state: state2, date: date$1, currentMonth, variant }) {
2935
+ const ref = React69.useRef(null);
2928
2936
  const {
2929
2937
  cellProps,
2930
2938
  buttonProps,
@@ -2934,7 +2942,7 @@ function CalendarCell({ state: state2, date: date$1, currentMonth }) {
2934
2942
  isOutsideVisibleRange
2935
2943
  } = reactAria.useCalendarCell({ date: date$1 }, state2, ref);
2936
2944
  const isOutsideMonth = !date.isSameMonth(currentMonth, date$1);
2937
- const styles3 = react.useMultiStyleConfig("Datepicker", {});
2945
+ const styles3 = react.useMultiStyleConfig("Datepicker", { variant });
2938
2946
  const stateProps = {};
2939
2947
  if (isSelected) {
2940
2948
  stateProps["data-selected"] = true;
@@ -2948,7 +2956,7 @@ function CalendarCell({ state: state2, date: date$1, currentMonth }) {
2948
2956
  if (isOutsideMonth) {
2949
2957
  stateProps["data-unavailable"] = true;
2950
2958
  }
2951
- React50.useEffect(() => {
2959
+ React69.useEffect(() => {
2952
2960
  var _a6;
2953
2961
  (_a6 = ref == null ? void 0 : ref.current) == null ? void 0 : _a6.addEventListener(
2954
2962
  "touchend",
@@ -2958,7 +2966,7 @@ function CalendarCell({ state: state2, date: date$1, currentMonth }) {
2958
2966
  { passive: false, once: true }
2959
2967
  );
2960
2968
  }, []);
2961
- return /* @__PURE__ */ React50__namespace.default.createElement(
2969
+ return /* @__PURE__ */ React69__namespace.default.createElement(
2962
2970
  react.Box,
2963
2971
  {
2964
2972
  as: "td",
@@ -2981,7 +2989,7 @@ function CalendarCell({ state: state2, date: date$1, currentMonth }) {
2981
2989
  }
2982
2990
  }
2983
2991
  },
2984
- /* @__PURE__ */ React50__namespace.default.createElement(
2992
+ /* @__PURE__ */ React69__namespace.default.createElement(
2985
2993
  react.Box,
2986
2994
  {
2987
2995
  as: "button",
@@ -3029,7 +3037,7 @@ var init_utils = __esm({
3029
3037
  };
3030
3038
  }
3031
3039
  });
3032
- function CalendarGrid({ state: state2, offset = {} }) {
3040
+ function CalendarGrid({ state: state2, variant, offset = {} }) {
3033
3041
  const { language } = useTranslation();
3034
3042
  const locale = useCurrentLocale();
3035
3043
  const startDate = state2.visibleRange.start.add(offset);
@@ -3043,9 +3051,9 @@ function CalendarGrid({ state: state2, offset = {} }) {
3043
3051
  );
3044
3052
  const weeksInMonth = date.getWeeksInMonth(state2.visibleRange.start, locale);
3045
3053
  const weeksInMonthRange = new Array(weeksInMonth).fill(0).map((_, i) => i);
3046
- const styles3 = react.useMultiStyleConfig("Datepicker", {});
3047
- return /* @__PURE__ */ React50__namespace.default.createElement("table", { ...gridProps }, /* @__PURE__ */ React50__namespace.default.createElement("thead", { ...headerProps }, /* @__PURE__ */ React50__namespace.default.createElement("tr", null, weekDays[language].map((day, index) => {
3048
- return /* @__PURE__ */ React50__namespace.default.createElement(
3054
+ const styles3 = react.useMultiStyleConfig("Datepicker", { variant });
3055
+ return /* @__PURE__ */ React69__namespace.default.createElement("table", { ...gridProps }, /* @__PURE__ */ React69__namespace.default.createElement("thead", { ...headerProps }, /* @__PURE__ */ React69__namespace.default.createElement("tr", null, weekDays[language].map((day, index) => {
3056
+ return /* @__PURE__ */ React69__namespace.default.createElement(
3049
3057
  exports.Text,
3050
3058
  {
3051
3059
  as: "th",
@@ -3055,16 +3063,17 @@ function CalendarGrid({ state: state2, offset = {} }) {
3055
3063
  },
3056
3064
  day
3057
3065
  );
3058
- }))), /* @__PURE__ */ React50__namespace.default.createElement("tbody", null, weeksInMonthRange.map((weekIndex) => /* @__PURE__ */ React50__namespace.default.createElement("tr", { key: weekIndex }, state2.getDatesInWeek(weekIndex, startDate).map(
3059
- (date, dayIndex) => date ? /* @__PURE__ */ React50__namespace.default.createElement(
3066
+ }))), /* @__PURE__ */ React69__namespace.default.createElement("tbody", null, weeksInMonthRange.map((weekIndex) => /* @__PURE__ */ React69__namespace.default.createElement("tr", { key: weekIndex }, state2.getDatesInWeek(weekIndex, startDate).map(
3067
+ (date, dayIndex) => date ? /* @__PURE__ */ React69__namespace.default.createElement(
3060
3068
  CalendarCell,
3061
3069
  {
3070
+ variant,
3062
3071
  key: dayIndex,
3063
3072
  state: state2,
3064
3073
  date,
3065
3074
  currentMonth: startDate
3066
3075
  }
3067
- ) : /* @__PURE__ */ React50__namespace.default.createElement("td", { key: dayIndex })
3076
+ ) : /* @__PURE__ */ React69__namespace.default.createElement("td", { key: dayIndex })
3068
3077
  )))));
3069
3078
  }
3070
3079
  var weekDays;
@@ -3087,9 +3096,9 @@ function CalendarNavigationButton({
3087
3096
  "aria-label": ariaLabel,
3088
3097
  ...rest
3089
3098
  }) {
3090
- const ref = React50.useRef(null);
3099
+ const ref = React69.useRef(null);
3091
3100
  const { buttonProps } = reactAria.useButton(rest, ref);
3092
- return /* @__PURE__ */ React50__namespace.default.createElement(
3101
+ return /* @__PURE__ */ React69__namespace.default.createElement(
3093
3102
  exports.IconButton,
3094
3103
  {
3095
3104
  ...buttonProps,
@@ -3126,7 +3135,7 @@ function CalendarHeader({
3126
3135
  );
3127
3136
  const areAllOtherYearsDisabled = isPreviousYearDisabled && isNextYearDisabled;
3128
3137
  const isYearPickerVisible = showYearNavigation && !areAllOtherYearsDisabled;
3129
- return /* @__PURE__ */ React50__namespace.default.createElement(react.Flex, { alignItems: "center", paddingBottom: "4", justifyContent: "space-between" }, /* @__PURE__ */ React50__namespace.default.createElement(
3138
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.Flex, { alignItems: "center", paddingBottom: "4", justifyContent: "space-between" }, /* @__PURE__ */ React69__namespace.default.createElement(
3130
3139
  CalendarNavigator,
3131
3140
  {
3132
3141
  title: title ? title : isYearPickerVisible ? monthTitle : monthAndYearTitle,
@@ -3136,7 +3145,7 @@ function CalendarHeader({
3136
3145
  isNextDisabled: !state2.isPreviousVisibleRangeInvalid,
3137
3146
  isPreviousDisabled: !state2.isNextVisibleRangeInvalid
3138
3147
  }
3139
- ), isYearPickerVisible && /* @__PURE__ */ React50__namespace.default.createElement(
3148
+ ), isYearPickerVisible && /* @__PURE__ */ React69__namespace.default.createElement(
3140
3149
  CalendarNavigator,
3141
3150
  {
3142
3151
  title: jsDate.getFullYear().toString(),
@@ -3165,15 +3174,15 @@ var init_CalendarHeader = __esm({
3165
3174
  isNextDisabled
3166
3175
  }) => {
3167
3176
  const { t: t2 } = useTranslation();
3168
- return /* @__PURE__ */ React50__namespace.default.createElement(react.Flex, { alignItems: "center", flexGrow: 1 }, /* @__PURE__ */ React50__namespace.default.createElement(
3177
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.Flex, { alignItems: "center", flexGrow: 1 }, /* @__PURE__ */ React69__namespace.default.createElement(
3169
3178
  CalendarNavigationButton,
3170
3179
  {
3171
3180
  onPress: onPrevious,
3172
3181
  isDisabled: isPreviousDisabled,
3173
- icon: /* @__PURE__ */ React50__namespace.default.createElement(sporIconReact.ArrowLeftOutline24Icon, null),
3182
+ icon: /* @__PURE__ */ React69__namespace.default.createElement(sporIconReact.ArrowLeftOutline24Icon, null),
3174
3183
  "aria-label": `${t2(texts7.previous)} ${t2(texts7[unit])}`
3175
3184
  }
3176
- ), /* @__PURE__ */ React50__namespace.default.createElement(
3185
+ ), /* @__PURE__ */ React69__namespace.default.createElement(
3177
3186
  exports.Heading,
3178
3187
  {
3179
3188
  as: "div",
@@ -3184,12 +3193,12 @@ var init_CalendarHeader = __esm({
3184
3193
  textAlign: "center"
3185
3194
  },
3186
3195
  capitalize(title)
3187
- ), /* @__PURE__ */ React50__namespace.default.createElement(
3196
+ ), /* @__PURE__ */ React69__namespace.default.createElement(
3188
3197
  CalendarNavigationButton,
3189
3198
  {
3190
3199
  onPress: onNext,
3191
3200
  isDisabled: isNextDisabled,
3192
- icon: /* @__PURE__ */ React50__namespace.default.createElement(sporIconReact.ArrowRightOutline24Icon, null),
3201
+ icon: /* @__PURE__ */ React69__namespace.default.createElement(sporIconReact.ArrowRightOutline24Icon, null),
3193
3202
  "aria-label": `${t2(texts7.next)} ${t2(texts7[unit])}`
3194
3203
  }
3195
3204
  ));
@@ -3222,7 +3231,7 @@ var init_CalendarHeader = __esm({
3222
3231
  });
3223
3232
  }
3224
3233
  });
3225
- function Calendar({ showYearNavigation, ...props }) {
3234
+ function Calendar({ showYearNavigation, variant, ...props }) {
3226
3235
  const { t: t2 } = useTranslation();
3227
3236
  const locale = useCurrentLocale();
3228
3237
  const state2 = $131cf43a05231e1e$export$6d095e787d2b5e1f({
@@ -3233,7 +3242,7 @@ function Calendar({ showYearNavigation, ...props }) {
3233
3242
  const { calendarProps } = reactAria.useCalendar(props, state2);
3234
3243
  const calendarAriaLabel = calendarProps["aria-label"];
3235
3244
  const ariaLabel = t2(texts8.calendar) + (calendarAriaLabel ? ` ${calendarAriaLabel}` : "");
3236
- return /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { ...calendarProps, "aria-label": ariaLabel }, /* @__PURE__ */ React50__namespace.default.createElement(CalendarHeader, { state: state2, showYearNavigation }), /* @__PURE__ */ React50__namespace.default.createElement(CalendarGrid, { state: state2 }));
3245
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { ...calendarProps, "aria-label": ariaLabel }, /* @__PURE__ */ React69__namespace.default.createElement(CalendarHeader, { state: state2, showYearNavigation }), /* @__PURE__ */ React69__namespace.default.createElement(CalendarGrid, { variant, state: state2 }));
3237
3246
  }
3238
3247
  var texts8;
3239
3248
  var init_Calendar = __esm({
@@ -3258,9 +3267,9 @@ var init_CalendarTriggerButton = __esm({
3258
3267
  "src/datepicker/CalendarTriggerButton.tsx"() {
3259
3268
  init_src();
3260
3269
  CalendarTriggerButton = react.forwardRef(
3261
- ({ ...buttonProps }, ref) => {
3270
+ ({ variant, ...buttonProps }, ref) => {
3262
3271
  const { t: t2 } = useTranslation();
3263
- const styles3 = react.useMultiStyleConfig("Datepicker", {});
3272
+ const styles3 = react.useMultiStyleConfig("Datepicker", { variant });
3264
3273
  const { onPress, ...filteredButtonProps } = buttonProps;
3265
3274
  const handleOnPress = (event) => {
3266
3275
  if (onPress) {
@@ -3268,7 +3277,7 @@ var init_CalendarTriggerButton = __esm({
3268
3277
  onPress(event);
3269
3278
  }
3270
3279
  };
3271
- return /* @__PURE__ */ React50__namespace.default.createElement(react.PopoverAnchor, null, /* @__PURE__ */ React50__namespace.default.createElement(
3280
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.PopoverAnchor, null, /* @__PURE__ */ React69__namespace.default.createElement(
3272
3281
  react.Box,
3273
3282
  {
3274
3283
  ref,
@@ -3279,7 +3288,7 @@ var init_CalendarTriggerButton = __esm({
3279
3288
  ...filteredButtonProps,
3280
3289
  onKeyUp: handleOnPress
3281
3290
  },
3282
- /* @__PURE__ */ React50__namespace.default.createElement(sporIconReact.CalendarOutline24Icon, null)
3291
+ /* @__PURE__ */ React69__namespace.default.createElement(sporIconReact.CalendarOutline24Icon, null)
3283
3292
  ));
3284
3293
  }
3285
3294
  );
@@ -3296,9 +3305,9 @@ var init_CalendarTriggerButton = __esm({
3296
3305
  var DateTimeSegment, isPaddable;
3297
3306
  var init_DateTimeSegment = __esm({
3298
3307
  "src/datepicker/DateTimeSegment.tsx"() {
3299
- DateTimeSegment = React50.forwardRef(
3308
+ DateTimeSegment = React69.forwardRef(
3300
3309
  ({ segment, state: state2 }, externalRef) => {
3301
- const internalRef = React50.useRef(null);
3310
+ const internalRef = React69.useRef(null);
3302
3311
  const ref = externalRef ?? internalRef;
3303
3312
  const { segmentProps } = reactAria.useDateSegment(
3304
3313
  segment,
@@ -3309,7 +3318,7 @@ var init_DateTimeSegment = __esm({
3309
3318
  isPlaceholder: segment.isPlaceholder,
3310
3319
  isEditable: segment.isEditable
3311
3320
  });
3312
- return /* @__PURE__ */ React50__namespace.default.createElement(
3321
+ return /* @__PURE__ */ React69__namespace.default.createElement(
3313
3322
  react.Box,
3314
3323
  {
3315
3324
  ...segmentProps,
@@ -3318,12 +3327,10 @@ var init_DateTimeSegment = __esm({
3318
3327
  ...segmentProps.style,
3319
3328
  boxSizing: "content-box"
3320
3329
  },
3321
- paddingX: "1px",
3322
3330
  textAlign: "center",
3323
3331
  outline: "none",
3324
3332
  borderRadius: "xs",
3325
3333
  fontSize: ["mobile.sm", "desktop.sm"],
3326
- minWidth: isPaddable(segment.type) ? "1.3em" : "auto",
3327
3334
  sx: styles3.dateTimeSegment,
3328
3335
  _focus: {
3329
3336
  backgroundColor: "darkTeal",
@@ -3351,7 +3358,7 @@ var init_DateField = __esm({
3351
3358
  init_import4();
3352
3359
  init_DateTimeSegment();
3353
3360
  init_utils();
3354
- DateField = React50.forwardRef(
3361
+ DateField = React69.forwardRef(
3355
3362
  (props, externalRef) => {
3356
3363
  var _a6;
3357
3364
  const locale = useCurrentLocale();
@@ -3361,14 +3368,14 @@ var init_DateField = __esm({
3361
3368
  locale,
3362
3369
  createCalendar: createCalendar2
3363
3370
  });
3364
- const internalRef = React50.useRef(null);
3371
+ const internalRef = React69.useRef(null);
3365
3372
  const ref = externalRef ?? internalRef;
3366
3373
  const { fieldProps, labelProps } = reactAria.useDateField(
3367
3374
  props,
3368
3375
  state2,
3369
3376
  ref
3370
3377
  );
3371
- return /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { minWidth: "6rem", width: "100%" }, props.label && /* @__PURE__ */ React50__namespace.default.createElement(
3378
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { minWidth: "6rem", width: "100%" }, props.label && /* @__PURE__ */ React69__namespace.default.createElement(
3372
3379
  react.FormLabel,
3373
3380
  {
3374
3381
  ...props.labelProps,
@@ -3378,7 +3385,7 @@ var init_DateField = __esm({
3378
3385
  paddingTop: "2px"
3379
3386
  },
3380
3387
  props.label
3381
- ), /* @__PURE__ */ React50__namespace.default.createElement(react.Flex, { ...fieldProps, paddingTop: "3", paddingBottom: "0.5" }, state2.segments.map((segment, i) => /* @__PURE__ */ React50__namespace.default.createElement(
3388
+ ), /* @__PURE__ */ React69__namespace.default.createElement(react.Flex, { ...fieldProps, paddingTop: "3", paddingBottom: "0.5" }, state2.segments.map((segment, i) => /* @__PURE__ */ React69__namespace.default.createElement(
3382
3389
  DateTimeSegment,
3383
3390
  {
3384
3391
  ref: i === 0 ? ref : void 0,
@@ -3386,7 +3393,7 @@ var init_DateField = __esm({
3386
3393
  segment,
3387
3394
  state: state2
3388
3395
  }
3389
- ))), /* @__PURE__ */ React50__namespace.default.createElement(
3396
+ ))), /* @__PURE__ */ React69__namespace.default.createElement(
3390
3397
  "input",
3391
3398
  {
3392
3399
  type: "hidden",
@@ -3407,7 +3414,7 @@ var init_StyledField = __esm({
3407
3414
  isInvalid: false
3408
3415
  };
3409
3416
  const styles3 = react.useMultiStyleConfig("Datepicker", { variant });
3410
- return /* @__PURE__ */ React50__namespace.default.createElement(
3417
+ return /* @__PURE__ */ React69__namespace.default.createElement(
3411
3418
  react.Box,
3412
3419
  {
3413
3420
  ...otherProps,
@@ -3431,7 +3438,7 @@ var init_DatePicker = __esm({
3431
3438
  init_DateField();
3432
3439
  init_StyledField();
3433
3440
  init_utils();
3434
- exports.DatePicker = React50.forwardRef(
3441
+ exports.DatePicker = React69.forwardRef(
3435
3442
  ({
3436
3443
  variant,
3437
3444
  errorMessage,
@@ -3449,7 +3456,7 @@ var init_DatePicker = __esm({
3449
3456
  isRequired: props.isRequired ?? (formControlProps == null ? void 0 : formControlProps.isRequired),
3450
3457
  validationState: (formControlProps == null ? void 0 : formControlProps.isInvalid) ? "invalid" : "valid"
3451
3458
  });
3452
- const internalRef = React50.useRef(null);
3459
+ const internalRef = React69.useRef(null);
3453
3460
  const ref = externalRef ?? internalRef;
3454
3461
  const {
3455
3462
  groupProps,
@@ -3464,63 +3471,50 @@ var init_DatePicker = __esm({
3464
3471
  state2,
3465
3472
  ref
3466
3473
  );
3467
- const styles3 = react.useMultiStyleConfig("Datepicker", {});
3474
+ const styles3 = react.useMultiStyleConfig("Datepicker", { variant });
3468
3475
  const locale = useCurrentLocale();
3469
- const responsiveVariant = react.useBreakpointValue(typeof variant === "string" ? [variant] : variant) ?? "simple";
3470
- const hasTrigger = responsiveVariant === "with-trigger";
3471
3476
  const onFieldClick = () => {
3472
- if (!hasTrigger) {
3473
- state2.setOpen(true);
3474
- }
3477
+ state2.setOpen(true);
3475
3478
  };
3476
- const popoverContent = /* @__PURE__ */ React50__namespace.default.createElement(react.PopoverContent, { color: "darkGrey", boxShadow: "md", sx: styles3.calendar }, /* @__PURE__ */ React50__namespace.default.createElement(react.PopoverArrow, { sx: styles3.arrow }), /* @__PURE__ */ React50__namespace.default.createElement(react.PopoverBody, null, /* @__PURE__ */ React50__namespace.default.createElement(react.FocusLock, null, /* @__PURE__ */ React50__namespace.default.createElement(
3479
+ const popoverContent = /* @__PURE__ */ React69__namespace.default.createElement(react.PopoverContent, { color: "darkGrey", boxShadow: "md", sx: styles3.calendar }, /* @__PURE__ */ React69__namespace.default.createElement(react.PopoverArrow, { sx: styles3.arrow }), /* @__PURE__ */ React69__namespace.default.createElement(react.PopoverBody, null, /* @__PURE__ */ React69__namespace.default.createElement(react.FocusLock, null, /* @__PURE__ */ React69__namespace.default.createElement(
3477
3480
  Calendar,
3478
3481
  {
3479
3482
  ...calendarProps,
3483
+ variant,
3480
3484
  showYearNavigation
3481
3485
  }
3482
3486
  ))));
3483
- return /* @__PURE__ */ React50__namespace.default.createElement(reactAria.I18nProvider, { locale }, /* @__PURE__ */ React50__namespace.default.createElement(
3484
- react.Box,
3487
+ return /* @__PURE__ */ React69__namespace.default.createElement(reactAria.I18nProvider, { locale }, /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { position: "relative", display: "inline-flex", flexDirection: "column", width }, /* @__PURE__ */ React69__namespace.default.createElement(
3488
+ react.Popover,
3485
3489
  {
3486
- position: "relative",
3487
- display: "inline-flex",
3488
- flexDirection: "column",
3489
- width
3490
+ ...dialogProps,
3491
+ isOpen: state2.isOpen,
3492
+ onOpen: state2.open,
3493
+ onClose: state2.close
3490
3494
  },
3491
- /* @__PURE__ */ React50__namespace.default.createElement(
3492
- react.Popover,
3495
+ /* @__PURE__ */ React69__namespace.default.createElement(react.InputGroup, { ...groupProps, display: "inline-flex" }, /* @__PURE__ */ React69__namespace.default.createElement(react.PopoverAnchor, null, /* @__PURE__ */ React69__namespace.default.createElement(
3496
+ StyledField,
3493
3497
  {
3494
- ...dialogProps,
3495
- isOpen: state2.isOpen,
3496
- onOpen: state2.open,
3497
- onClose: state2.close
3498
+ variant,
3499
+ onClick: onFieldClick,
3500
+ paddingX: 3,
3501
+ minHeight
3498
3502
  },
3499
- /* @__PURE__ */ React50__namespace.default.createElement(react.InputGroup, { ...groupProps, display: "inline-flex" }, /* @__PURE__ */ React50__namespace.default.createElement(react.PopoverAnchor, null, /* @__PURE__ */ React50__namespace.default.createElement(
3500
- StyledField,
3503
+ /* @__PURE__ */ React69__namespace.default.createElement(react.PopoverTrigger, null, /* @__PURE__ */ React69__namespace.default.createElement(CalendarTriggerButton, { variant, ref, ...buttonProps })),
3504
+ /* @__PURE__ */ React69__namespace.default.createElement(
3505
+ DateField,
3501
3506
  {
3502
- variant: responsiveVariant,
3503
- onClick: onFieldClick,
3504
- paddingX: 3,
3505
- minHeight
3506
- },
3507
- !hasTrigger && /* @__PURE__ */ React50__namespace.default.createElement(sporIconReact.CalendarOutline24Icon, { marginRight: 2, alignSelf: "center" }),
3508
- /* @__PURE__ */ React50__namespace.default.createElement(
3509
- DateField,
3510
- {
3511
- label: props.label,
3512
- labelProps,
3513
- name: props.name,
3514
- ref: hasTrigger ? void 0 : ref,
3515
- ...fieldProps
3516
- }
3517
- )
3518
- )), hasTrigger && /* @__PURE__ */ React50__namespace.default.createElement(react.PopoverTrigger, null, /* @__PURE__ */ React50__namespace.default.createElement(CalendarTriggerButton, { ref, ...buttonProps }))),
3519
- /* @__PURE__ */ React50__namespace.default.createElement(exports.FormErrorMessage, { ...errorMessageProps }, errorMessage),
3520
- state2.isOpen && !props.isDisabled && withPortal && /* @__PURE__ */ React50__namespace.default.createElement(react.Portal, null, popoverContent),
3521
- state2.isOpen && !props.isDisabled && !withPortal && popoverContent
3522
- )
3523
- ));
3507
+ label: props.label,
3508
+ labelProps,
3509
+ name: props.name,
3510
+ ...fieldProps
3511
+ }
3512
+ )
3513
+ ))),
3514
+ /* @__PURE__ */ React69__namespace.default.createElement(exports.FormErrorMessage, { ...errorMessageProps }, errorMessage),
3515
+ state2.isOpen && !props.isDisabled && withPortal && /* @__PURE__ */ React69__namespace.default.createElement(react.Portal, null, popoverContent),
3516
+ state2.isOpen && !props.isDisabled && !withPortal && popoverContent
3517
+ )));
3524
3518
  }
3525
3519
  );
3526
3520
  }
@@ -3533,9 +3527,9 @@ function RangeCalendar(props) {
3533
3527
  locale,
3534
3528
  createCalendar: date.createCalendar
3535
3529
  });
3536
- const ref = React50.useRef(null);
3530
+ const ref = React69.useRef(null);
3537
3531
  const { calendarProps, title } = reactAria.useRangeCalendar(props, state2, ref);
3538
- return /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { ...calendarProps, ref }, /* @__PURE__ */ React50__namespace.default.createElement(CalendarHeader, { state: state2, title }), /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { display: "flex", gap: "8" }, /* @__PURE__ */ React50__namespace.default.createElement(CalendarGrid, { state: state2 }), /* @__PURE__ */ React50__namespace.default.createElement(CalendarGrid, { state: state2, offset: { months: 1 } })));
3532
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { ...calendarProps, ref }, /* @__PURE__ */ React69__namespace.default.createElement(CalendarHeader, { state: state2, title }), /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { display: "flex", gap: "8" }, /* @__PURE__ */ React69__namespace.default.createElement(CalendarGrid, { variant: props.variant, state: state2 }), /* @__PURE__ */ React69__namespace.default.createElement(CalendarGrid, { variant: props.variant, state: state2, offset: { months: 1 } })));
3539
3533
  }
3540
3534
  var init_RangeCalendar = __esm({
3541
3535
  "src/datepicker/RangeCalendar.tsx"() {
@@ -3560,7 +3554,7 @@ function DateRangePicker({
3560
3554
  isRequired: props.isRequired ?? (formControlProps == null ? void 0 : formControlProps.isRequired),
3561
3555
  validationState: formControlProps.isInvalid ? "invalid" : "valid"
3562
3556
  });
3563
- const ref = React50.useRef(null);
3557
+ const ref = React69.useRef(null);
3564
3558
  const {
3565
3559
  groupProps,
3566
3560
  labelProps,
@@ -3570,25 +3564,19 @@ function DateRangePicker({
3570
3564
  dialogProps,
3571
3565
  calendarProps
3572
3566
  } = reactAria.useDateRangePicker(props, state2, ref);
3573
- const responsiveVariant = react.useBreakpointValue(typeof variant === "string" ? [variant] : variant) ?? "simple";
3574
- const styles3 = react.useMultiStyleConfig("Datepicker", {
3575
- variant: responsiveVariant
3576
- });
3567
+ const styles3 = react.useMultiStyleConfig("Datepicker", { variant });
3577
3568
  const locale = useCurrentLocale();
3578
3569
  const handleEnterClick = (e) => {
3579
- if (e.key === "Enter" && !state2.isOpen && responsiveVariant === "simple") {
3570
+ if (e.key === "Enter" && !state2.isOpen && variant === "base") {
3580
3571
  e.stopPropagation();
3581
3572
  state2.setOpen(true);
3582
3573
  }
3583
3574
  };
3584
3575
  const onFieldClick = () => {
3585
- if (!hasTrigger) {
3586
- state2.setOpen(true);
3587
- }
3576
+ state2.setOpen(true);
3588
3577
  };
3589
- const hasTrigger = responsiveVariant === "with-trigger";
3590
- const popoverContent = /* @__PURE__ */ React50__namespace.default.createElement(react.PopoverContent, { sx: styles3.calendar, boxShadow: "md", maxWidth: "none" }, /* @__PURE__ */ React50__namespace.default.createElement(react.PopoverArrow, { sx: styles3.arrow }), /* @__PURE__ */ React50__namespace.default.createElement(react.PopoverBody, null, /* @__PURE__ */ React50__namespace.default.createElement(react.FocusLock, null, /* @__PURE__ */ React50__namespace.default.createElement(RangeCalendar, { ...calendarProps }))));
3591
- return /* @__PURE__ */ React50__namespace.default.createElement(reactAria.I18nProvider, { locale }, /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { position: "relative", display: "inline-flex", flexDirection: "column" }, props.label && /* @__PURE__ */ React50__namespace.default.createElement(react.FormLabel, { ...labelProps, sx: styles3.inputLabel }, props.label), /* @__PURE__ */ React50__namespace.default.createElement(
3578
+ const popoverContent = /* @__PURE__ */ React69__namespace.default.createElement(react.PopoverContent, { sx: styles3.calendar, boxShadow: "md", maxWidth: "none" }, /* @__PURE__ */ React69__namespace.default.createElement(react.PopoverArrow, { sx: styles3.arrow }), /* @__PURE__ */ React69__namespace.default.createElement(react.PopoverBody, null, /* @__PURE__ */ React69__namespace.default.createElement(react.FocusLock, null, /* @__PURE__ */ React69__namespace.default.createElement(RangeCalendar, { variant: "base", ...calendarProps }))));
3579
+ return /* @__PURE__ */ React69__namespace.default.createElement(reactAria.I18nProvider, { locale }, /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { position: "relative", display: "inline-flex", flexDirection: "column" }, props.label && /* @__PURE__ */ React69__namespace.default.createElement(react.FormLabel, { ...labelProps, sx: styles3.inputLabel }, props.label), /* @__PURE__ */ React69__namespace.default.createElement(
3592
3580
  react.Popover,
3593
3581
  {
3594
3582
  ...dialogProps,
@@ -3596,29 +3584,28 @@ function DateRangePicker({
3596
3584
  onOpen: state2.open,
3597
3585
  onClose: state2.close
3598
3586
  },
3599
- /* @__PURE__ */ React50__namespace.default.createElement(react.InputGroup, { ...groupProps, width: "auto", display: "inline-flex" }, /* @__PURE__ */ React50__namespace.default.createElement(react.PopoverAnchor, null, /* @__PURE__ */ React50__namespace.default.createElement(
3587
+ /* @__PURE__ */ React69__namespace.default.createElement(react.InputGroup, { ...groupProps, width: "auto", display: "inline-flex" }, /* @__PURE__ */ React69__namespace.default.createElement(react.PopoverAnchor, null, /* @__PURE__ */ React69__namespace.default.createElement(
3600
3588
  StyledField,
3601
3589
  {
3602
3590
  alignItems: "center",
3603
3591
  paddingX: 3,
3604
- variant: responsiveVariant,
3592
+ variant,
3605
3593
  onClick: onFieldClick,
3606
3594
  onKeyPress: handleEnterClick,
3607
3595
  minHeight
3608
3596
  },
3609
- !hasTrigger && /* @__PURE__ */ React50__namespace.default.createElement(sporIconReact.CalendarOutline24Icon, { marginRight: 2, alignSelf: "center" }),
3610
- /* @__PURE__ */ React50__namespace.default.createElement(
3597
+ variant && /* @__PURE__ */ React69__namespace.default.createElement(react.PopoverTrigger, null, /* @__PURE__ */ React69__namespace.default.createElement(CalendarTriggerButton, { paddingLeft: 1, paddingRight: 1, variant, ref, ...buttonProps })),
3598
+ /* @__PURE__ */ React69__namespace.default.createElement(
3611
3599
  DateField,
3612
3600
  {
3613
3601
  ...startFieldProps,
3614
3602
  name: startName,
3615
3603
  label: props.startLabel,
3616
- ref: hasTrigger ? void 0 : ref,
3617
3604
  labelProps
3618
3605
  }
3619
3606
  ),
3620
- /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { as: "span", "aria-hidden": "true", paddingX: "2" }, "\u2013"),
3621
- /* @__PURE__ */ React50__namespace.default.createElement(
3607
+ /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { as: "span", "aria-hidden": "true", paddingRight: "2" }, "\u2013"),
3608
+ /* @__PURE__ */ React69__namespace.default.createElement(
3622
3609
  DateField,
3623
3610
  {
3624
3611
  ...endFieldProps,
@@ -3627,8 +3614,8 @@ function DateRangePicker({
3627
3614
  labelProps
3628
3615
  }
3629
3616
  )
3630
- )), hasTrigger && /* @__PURE__ */ React50__namespace.default.createElement(react.PopoverTrigger, null, /* @__PURE__ */ React50__namespace.default.createElement(CalendarTriggerButton, { ref, ...buttonProps }))),
3631
- state2.isOpen && withPortal && /* @__PURE__ */ React50__namespace.default.createElement(react.Portal, null, popoverContent),
3617
+ ))),
3618
+ state2.isOpen && withPortal && /* @__PURE__ */ React69__namespace.default.createElement(react.Portal, null, popoverContent),
3632
3619
  state2.isOpen && !withPortal && popoverContent
3633
3620
  )));
3634
3621
  }
@@ -3649,9 +3636,9 @@ var init_TimeField = __esm({
3649
3636
  init_DateTimeSegment();
3650
3637
  init_utils();
3651
3638
  TimeField = ({ state: state2, ...props }) => {
3652
- const ref = React50.useRef(null);
3639
+ const ref = React69.useRef(null);
3653
3640
  const { labelProps, fieldProps } = reactAria.useTimeField(props, state2, ref);
3654
- return /* @__PURE__ */ React50__namespace.default.createElement(react.Box, null, /* @__PURE__ */ React50__namespace.default.createElement(
3641
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.Box, null, /* @__PURE__ */ React69__namespace.default.createElement(
3655
3642
  exports.FormLabel,
3656
3643
  {
3657
3644
  ...labelProps,
@@ -3663,7 +3650,7 @@ var init_TimeField = __esm({
3663
3650
  paddingTop: "2px"
3664
3651
  },
3665
3652
  props.label
3666
- ), /* @__PURE__ */ React50__namespace.default.createElement(react.Flex, { ...fieldProps, ref, paddingTop: "3", paddingBottom: "0.5" }, state2.segments.map((segment) => /* @__PURE__ */ React50__namespace.default.createElement(DateTimeSegment, { key: segment.type, segment, state: state2 }))), /* @__PURE__ */ React50__namespace.default.createElement(
3653
+ ), /* @__PURE__ */ React69__namespace.default.createElement(react.Flex, { ...fieldProps, ref, paddingTop: "3", paddingBottom: "0.5" }, state2.segments.map((segment) => /* @__PURE__ */ React69__namespace.default.createElement(DateTimeSegment, { key: segment.type, segment, state: state2 }))), /* @__PURE__ */ React69__namespace.default.createElement(
3667
3654
  "input",
3668
3655
  {
3669
3656
  type: "hidden",
@@ -3739,10 +3726,10 @@ var init_TimePicker = __esm({
3739
3726
  const ariaLabel = `${inputLabel} \u2013 ${t2(
3740
3727
  texts10.selectedTimeIs(`${(dateTime == null ? void 0 : dateTime.hour) ?? 0} ${(dateTime == null ? void 0 : dateTime.minute) ?? 0}`)
3741
3728
  )}`;
3742
- return /* @__PURE__ */ React50__namespace.default.createElement(
3729
+ return /* @__PURE__ */ React69__namespace.default.createElement(
3743
3730
  StyledField,
3744
3731
  {
3745
- variant: "simple",
3732
+ variant: "base",
3746
3733
  width: "fit-content",
3747
3734
  paddingX: 2,
3748
3735
  alignItems: "center",
@@ -3755,7 +3742,7 @@ var init_TimePicker = __esm({
3755
3742
  "aria-label": ariaLabel,
3756
3743
  ...boxProps
3757
3744
  },
3758
- /* @__PURE__ */ React50__namespace.default.createElement(
3745
+ /* @__PURE__ */ React69__namespace.default.createElement(
3759
3746
  exports.IconButton,
3760
3747
  {
3761
3748
  variant: "ghost",
@@ -3763,14 +3750,14 @@ var init_TimePicker = __esm({
3763
3750
  borderRadius: "xs",
3764
3751
  "aria-label": backwardsLabel,
3765
3752
  title: backwardsLabel,
3766
- icon: /* @__PURE__ */ React50__namespace.default.createElement(sporIconReact.DropdownLeftFill18Icon, null),
3753
+ icon: /* @__PURE__ */ React69__namespace.default.createElement(sporIconReact.DropdownLeftFill18Icon, null),
3767
3754
  onClick: handleBackwardsClick,
3768
3755
  isDisabled,
3769
3756
  style: isDisabled ? { backgroundColor: "transparent" } : {}
3770
3757
  }
3771
3758
  ),
3772
- /* @__PURE__ */ React50__namespace.default.createElement(TimeField, { label, state: state2, name }),
3773
- /* @__PURE__ */ React50__namespace.default.createElement(
3759
+ /* @__PURE__ */ React69__namespace.default.createElement(TimeField, { label, state: state2, name }),
3760
+ /* @__PURE__ */ React69__namespace.default.createElement(
3774
3761
  exports.IconButton,
3775
3762
  {
3776
3763
  variant: "ghost",
@@ -3778,7 +3765,7 @@ var init_TimePicker = __esm({
3778
3765
  borderRadius: "xs",
3779
3766
  "aria-label": forwardsLabel,
3780
3767
  title: forwardsLabel,
3781
- icon: /* @__PURE__ */ React50__namespace.default.createElement(sporIconReact.DropdownRightFill18Icon, null),
3768
+ icon: /* @__PURE__ */ React69__namespace.default.createElement(sporIconReact.DropdownRightFill18Icon, null),
3782
3769
  onClick: handleForwardClick,
3783
3770
  isDisabled,
3784
3771
  style: isDisabled ? { backgroundColor: "transparent" } : {}
@@ -3864,7 +3851,7 @@ var init_AttachedInputs = __esm({
3864
3851
  }
3865
3852
  };
3866
3853
  const direction2 = flexDirection === "row" ? "horizontal" : "vertical";
3867
- return /* @__PURE__ */ React50__namespace.default.createElement(
3854
+ return /* @__PURE__ */ React69__namespace.default.createElement(
3868
3855
  react.Flex,
3869
3856
  {
3870
3857
  role: "group",
@@ -3881,16 +3868,16 @@ var Dialog;
3881
3868
  var init_Dialog = __esm({
3882
3869
  "src/input/Dialog.tsx"() {
3883
3870
  Dialog = ({ title, children, ...props }) => {
3884
- const ref = React50.useRef(null);
3871
+ const ref = React69.useRef(null);
3885
3872
  const { dialogProps, titleProps } = reactAria.useDialog(props, ref);
3886
- return /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { ...dialogProps, ref, outline: "none" }, title && /* @__PURE__ */ React50__namespace.default.createElement(react.Heading, { as: "h3", ...titleProps }, title), children);
3873
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { ...dialogProps, ref, outline: "none" }, title && /* @__PURE__ */ React69__namespace.default.createElement(react.Heading, { as: "h3", ...titleProps }, title), children);
3887
3874
  };
3888
3875
  }
3889
3876
  });
3890
3877
  var Popover3;
3891
3878
  var init_Popover = __esm({
3892
3879
  "src/input/Popover.tsx"() {
3893
- Popover3 = React50.forwardRef(
3880
+ Popover3 = React69.forwardRef(
3894
3881
  ({
3895
3882
  children,
3896
3883
  state: state2,
@@ -3904,7 +3891,7 @@ var init_Popover = __esm({
3904
3891
  containerPadding = 12
3905
3892
  }, ref) => {
3906
3893
  var _a6;
3907
- const internalRef = React50.useRef(null);
3894
+ const internalRef = React69.useRef(null);
3908
3895
  const popoverRef = ref ?? internalRef;
3909
3896
  const { popoverProps, underlayProps } = reactAria.usePopover(
3910
3897
  {
@@ -3919,28 +3906,28 @@ var init_Popover = __esm({
3919
3906
  },
3920
3907
  state2
3921
3908
  );
3922
- const popoverBox = /* @__PURE__ */ React50__namespace.default.createElement(
3909
+ const popoverBox = /* @__PURE__ */ React69__namespace.default.createElement(
3923
3910
  react.Box,
3924
3911
  {
3925
3912
  ...popoverProps,
3926
3913
  ref: popoverRef,
3927
3914
  minWidth: ((_a6 = triggerRef.current) == null ? void 0 : _a6.clientWidth) ?? "auto"
3928
3915
  },
3929
- /* @__PURE__ */ React50__namespace.default.createElement(reactAria.DismissButton, { onDismiss: state2.close }),
3916
+ /* @__PURE__ */ React69__namespace.default.createElement(reactAria.DismissButton, { onDismiss: state2.close }),
3930
3917
  children,
3931
- /* @__PURE__ */ React50__namespace.default.createElement(reactAria.DismissButton, { onDismiss: state2.close })
3918
+ /* @__PURE__ */ React69__namespace.default.createElement(reactAria.DismissButton, { onDismiss: state2.close })
3932
3919
  );
3933
3920
  if (isNonModal) {
3934
3921
  return popoverBox;
3935
3922
  }
3936
- return /* @__PURE__ */ React50__namespace.default.createElement(reactAria.Overlay, null, hasBackdrop && /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { ...underlayProps, position: "fixed", inset: "0" }), popoverBox);
3923
+ return /* @__PURE__ */ React69__namespace.default.createElement(reactAria.Overlay, null, hasBackdrop && /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { ...underlayProps, position: "fixed", inset: "0" }), popoverBox);
3937
3924
  }
3938
3925
  );
3939
3926
  }
3940
3927
  });
3941
3928
  function useForceRerender(shouldRerender) {
3942
- const [_, update] = React50.useState(false);
3943
- React50.useEffect(() => {
3929
+ const [_, update] = React69.useState(false);
3930
+ React69.useEffect(() => {
3944
3931
  if (shouldRerender) {
3945
3932
  update((x) => !x);
3946
3933
  }
@@ -3968,7 +3955,7 @@ var init_CardSelect = __esm({
3968
3955
  withChevron = true,
3969
3956
  ...props
3970
3957
  }, externalRef) => {
3971
- const internalRef = React50.useRef(null);
3958
+ const internalRef = React69.useRef(null);
3972
3959
  const triggerRef = externalRef ?? internalRef;
3973
3960
  const state2 = reactStately.useOverlayTriggerState({
3974
3961
  isOpen: externalIsOpen,
@@ -3984,7 +3971,7 @@ var init_CardSelect = __esm({
3984
3971
  const styles3 = react.useMultiStyleConfig("CardSelect", { variant, size: size2 });
3985
3972
  useForceRerender(state2.isOpen);
3986
3973
  const ChevronIcon = size2 === "sm" ? sporIconReact.DropdownDownFill18Icon : sporIconReact.DropdownDownFill24Icon;
3987
- return /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { ...props }, /* @__PURE__ */ React50__namespace.default.createElement(
3974
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { ...props }, /* @__PURE__ */ React69__namespace.default.createElement(
3988
3975
  react.chakra.button,
3989
3976
  {
3990
3977
  type: "button",
@@ -3994,13 +3981,13 @@ var init_CardSelect = __esm({
3994
3981
  width,
3995
3982
  "data-attachable": true
3996
3983
  },
3997
- /* @__PURE__ */ React50__namespace.default.createElement(react.Flex, { gap: 1.5, alignItems: "center" }, icon, /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { as: "span" }, label), withChevron ? /* @__PURE__ */ React50__namespace.default.createElement(
3984
+ /* @__PURE__ */ React69__namespace.default.createElement(react.Flex, { gap: 1.5, alignItems: "center" }, icon, /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { as: "span" }, label), withChevron ? /* @__PURE__ */ React69__namespace.default.createElement(
3998
3985
  ChevronIcon,
3999
3986
  {
4000
3987
  transform: state2.isOpen ? "rotate(180deg)" : "none"
4001
3988
  }
4002
3989
  ) : null)
4003
- ), state2.isOpen && /* @__PURE__ */ React50__namespace.default.createElement(
3990
+ ), state2.isOpen && /* @__PURE__ */ React69__namespace.default.createElement(
4004
3991
  Popover3,
4005
3992
  {
4006
3993
  state: state2,
@@ -4009,7 +3996,7 @@ var init_CardSelect = __esm({
4009
3996
  crossOffset,
4010
3997
  placement
4011
3998
  },
4012
- /* @__PURE__ */ React50__namespace.default.createElement(
3999
+ /* @__PURE__ */ React69__namespace.default.createElement(
4013
4000
  exports.Card,
4014
4001
  {
4015
4002
  colorScheme: "white",
@@ -4017,7 +4004,7 @@ var init_CardSelect = __esm({
4017
4004
  sx: styles3.card,
4018
4005
  ...overlayProps
4019
4006
  },
4020
- /* @__PURE__ */ React50__namespace.default.createElement(Dialog, { "aria-label": label }, children)
4007
+ /* @__PURE__ */ React69__namespace.default.createElement(Dialog, { "aria-label": label }, children)
4021
4008
  )
4022
4009
  ));
4023
4010
  }
@@ -4028,7 +4015,7 @@ exports.Checkbox = void 0;
4028
4015
  var init_Checkbox = __esm({
4029
4016
  "src/input/Checkbox.tsx"() {
4030
4017
  exports.Checkbox = react.forwardRef((props, ref) => {
4031
- return /* @__PURE__ */ React50__namespace.default.createElement(react.Checkbox, { ...props, ref });
4018
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.Checkbox, { ...props, ref });
4032
4019
  });
4033
4020
  }
4034
4021
  });
@@ -4040,7 +4027,7 @@ var init_CheckboxGroup = __esm({
4040
4027
  children,
4041
4028
  ...props
4042
4029
  }) => {
4043
- return /* @__PURE__ */ React50__namespace.default.createElement(react.CheckboxGroup, { ...props }, /* @__PURE__ */ React50__namespace.default.createElement(react.Stack, { direction: direction2 }, children));
4030
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.CheckboxGroup, { ...props }, /* @__PURE__ */ React69__namespace.default.createElement(react.Stack, { direction: direction2 }, children));
4044
4031
  };
4045
4032
  }
4046
4033
  });
@@ -4813,16 +4800,16 @@ var init_ChoiceChip = __esm({
4813
4800
  icon,
4814
4801
  hasLabel: Boolean(children)
4815
4802
  });
4816
- const id = `choice-chip-${React50.useId()}`;
4817
- return /* @__PURE__ */ React50__namespace.default.createElement(
4803
+ const id = `choice-chip-${React69.useId()}`;
4804
+ return /* @__PURE__ */ React69__namespace.default.createElement(
4818
4805
  react.chakra.label,
4819
4806
  {
4820
4807
  htmlFor: id,
4821
4808
  ...getRootProps(),
4822
4809
  "aria-label": String(children)
4823
4810
  },
4824
- /* @__PURE__ */ React50__namespace.default.createElement(react.chakra.input, { ...getInputProps({}, ref), id }),
4825
- /* @__PURE__ */ React50__namespace.default.createElement(
4811
+ /* @__PURE__ */ React69__namespace.default.createElement(react.chakra.input, { ...getInputProps({}, ref), id }),
4812
+ /* @__PURE__ */ React69__namespace.default.createElement(
4826
4813
  react.chakra.div,
4827
4814
  {
4828
4815
  ...getLabelProps(),
@@ -4833,9 +4820,9 @@ var init_ChoiceChip = __esm({
4833
4820
  "data-active": dataAttr(state2.isActive),
4834
4821
  "data-disabled": dataAttr(state2.isDisabled)
4835
4822
  },
4836
- icon && /* @__PURE__ */ React50__namespace.default.createElement(react.chakra.span, { __css: styles3.icon }, state2.isChecked ? icon.checked : icon.default),
4837
- /* @__PURE__ */ React50__namespace.default.createElement(react.chakra.span, { __css: styles3.label, ...getCheckboxProps() }, variant !== "icon" && children),
4838
- variant === "filter" && state2.isChecked && /* @__PURE__ */ React50__namespace.default.createElement(sporIconReact.CloseOutline24Icon, { marginLeft: 1.5 })
4823
+ icon && /* @__PURE__ */ React69__namespace.default.createElement(react.chakra.span, { __css: styles3.icon }, state2.isChecked ? icon.checked : icon.default),
4824
+ /* @__PURE__ */ React69__namespace.default.createElement(react.chakra.span, { __css: styles3.label, ...getCheckboxProps() }, variant !== "icon" && children),
4825
+ variant === "filter" && state2.isChecked && /* @__PURE__ */ React69__namespace.default.createElement(sporIconReact.CloseOutline24Icon, { marginLeft: 1.5 })
4839
4826
  )
4840
4827
  );
4841
4828
  });
@@ -4866,9 +4853,9 @@ function Combobox({
4866
4853
  ...rest
4867
4854
  }) {
4868
4855
  const { contains: contains2 } = reactAria.useFilter({ sensitivity: "base" });
4869
- const inputRef = React50.useRef(null);
4870
- const listBoxRef = React50.useRef(null);
4871
- const popoverRef = React50.useRef(null);
4856
+ const inputRef = React69.useRef(null);
4857
+ const listBoxRef = React69.useRef(null);
4858
+ const popoverRef = React69.useRef(null);
4872
4859
  const inputWidth = useInputWidth(inputRef);
4873
4860
  const state2 = reactStately.useComboBoxState({
4874
4861
  ...rest,
@@ -4889,7 +4876,7 @@ function Combobox({
4889
4876
  },
4890
4877
  state2
4891
4878
  );
4892
- return /* @__PURE__ */ React50__namespace.default.createElement(React50__namespace.default.Fragment, null, /* @__PURE__ */ React50__namespace.default.createElement(
4879
+ return /* @__PURE__ */ React69__namespace.default.createElement(React69__namespace.default.Fragment, null, /* @__PURE__ */ React69__namespace.default.createElement(
4893
4880
  exports.Input,
4894
4881
  {
4895
4882
  ...inputProps,
@@ -4913,7 +4900,7 @@ function Combobox({
4913
4900
  paddingX,
4914
4901
  paddingY,
4915
4902
  leftIcon,
4916
- rightIcon: isLoading ? /* @__PURE__ */ React50__namespace.default.createElement(
4903
+ rightIcon: isLoading ? /* @__PURE__ */ React69__namespace.default.createElement(
4917
4904
  exports.ColorSpinner,
4918
4905
  {
4919
4906
  width: "1.5rem",
@@ -4928,7 +4915,7 @@ function Combobox({
4928
4915
  }
4929
4916
  ) : rightIcon
4930
4917
  }
4931
- ), state2.isOpen && !isLoading && /* @__PURE__ */ React50__namespace.default.createElement(
4918
+ ), state2.isOpen && !isLoading && /* @__PURE__ */ React69__namespace.default.createElement(
4932
4919
  Popover3,
4933
4920
  {
4934
4921
  state: state2,
@@ -4940,7 +4927,7 @@ function Combobox({
4940
4927
  hasBackdrop: false,
4941
4928
  containerPadding: 0
4942
4929
  },
4943
- /* @__PURE__ */ React50__namespace.default.createElement(
4930
+ /* @__PURE__ */ React69__namespace.default.createElement(
4944
4931
  ListBox,
4945
4932
  {
4946
4933
  ...listBoxProps,
@@ -4959,8 +4946,8 @@ var init_Combobox = __esm({
4959
4946
  init_src();
4960
4947
  init_Popover();
4961
4948
  useInputWidth = (inputRef) => {
4962
- const [inputWidth, setInputWidth] = React50.useState("auto");
4963
- React50.useEffect(() => {
4949
+ const [inputWidth, setInputWidth] = React69.useState("auto");
4950
+ React69.useEffect(() => {
4964
4951
  const onResize = debounce(() => {
4965
4952
  if (inputRef.current) {
4966
4953
  setInputWidth(`${inputRef.current.offsetWidth}px`);
@@ -4987,7 +4974,7 @@ exports.FormControl = void 0;
4987
4974
  var init_FormControl = __esm({
4988
4975
  "src/input/FormControl.tsx"() {
4989
4976
  exports.FormControl = react.forwardRef((props, ref) => {
4990
- return /* @__PURE__ */ React50__namespace.default.createElement(react.FormControl, { ...props, ref });
4977
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.FormControl, { ...props, ref });
4991
4978
  });
4992
4979
  }
4993
4980
  });
@@ -5008,7 +4995,7 @@ var init_FormErrorMessage = __esm({
5008
4995
  return null;
5009
4996
  }
5010
4997
  const { ref, ...errorMessageProps } = formControlContext.getErrorMessageProps();
5011
- return /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { position: "relative", ref }, /* @__PURE__ */ React50__namespace.default.createElement(
4998
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { position: "relative", ref }, /* @__PURE__ */ React69__namespace.default.createElement(
5012
4999
  react.Box,
5013
5000
  {
5014
5001
  borderRadius: "xs",
@@ -5026,12 +5013,12 @@ var init_FormErrorMessage = __esm({
5026
5013
  ...errorMessageProps,
5027
5014
  ...boxProps
5028
5015
  },
5029
- /* @__PURE__ */ React50__namespace.default.createElement(Arrow, { position: "absolute", top: "-0.25em", left: "1em" }),
5016
+ /* @__PURE__ */ React69__namespace.default.createElement(Arrow, { position: "absolute", top: "-0.25em", left: "1em" }),
5030
5017
  children
5031
5018
  ));
5032
5019
  };
5033
5020
  Arrow = (props) => {
5034
- return /* @__PURE__ */ React50__namespace.default.createElement(
5021
+ return /* @__PURE__ */ React69__namespace.default.createElement(
5035
5022
  react.Box,
5036
5023
  {
5037
5024
  ...props,
@@ -5042,7 +5029,7 @@ var init_FormErrorMessage = __esm({
5042
5029
  fill: "none",
5043
5030
  transform: "rotate(45deg)"
5044
5031
  },
5045
- /* @__PURE__ */ React50__namespace.default.createElement(
5032
+ /* @__PURE__ */ React69__namespace.default.createElement(
5046
5033
  react.Box,
5047
5034
  {
5048
5035
  as: "path",
@@ -5058,7 +5045,7 @@ exports.FormLabel = void 0;
5058
5045
  var init_FormLabel = __esm({
5059
5046
  "src/input/FormLabel.tsx"() {
5060
5047
  exports.FormLabel = react.forwardRef((props, ref) => {
5061
- return /* @__PURE__ */ React50__namespace.default.createElement(react.FormLabel, { ...props, ref });
5048
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.FormLabel, { ...props, ref });
5062
5049
  });
5063
5050
  }
5064
5051
  });
@@ -5071,7 +5058,7 @@ function ListBox({
5071
5058
  }) {
5072
5059
  const { listBoxProps } = reactAria.useListBox(props, state2, listBoxRef);
5073
5060
  const styles3 = react.useMultiStyleConfig("ListBox", {});
5074
- return /* @__PURE__ */ React50__namespace.default.createElement(
5061
+ return /* @__PURE__ */ React69__namespace.default.createElement(
5075
5062
  react.List,
5076
5063
  {
5077
5064
  ...listBoxProps,
@@ -5082,22 +5069,22 @@ function ListBox({
5082
5069
  },
5083
5070
  state2.collection.size === 0 && props.emptyContent,
5084
5071
  Array.from(state2.collection).map(
5085
- (item) => item.type === "section" ? /* @__PURE__ */ React50__namespace.default.createElement(ListBoxSection, { key: item.key, section: item, state: state2 }) : /* @__PURE__ */ React50__namespace.default.createElement(Option, { key: item.key, item, state: state2 })
5072
+ (item) => item.type === "section" ? /* @__PURE__ */ React69__namespace.default.createElement(ListBoxSection, { key: item.key, section: item, state: state2 }) : /* @__PURE__ */ React69__namespace.default.createElement(Option, { key: item.key, item, state: state2 })
5086
5073
  )
5087
5074
  );
5088
5075
  }
5089
5076
  function ItemLabel({ children }) {
5090
5077
  let { labelProps } = useOptionContext();
5091
5078
  const styles3 = react.useMultiStyleConfig("ListBox", {});
5092
- return /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { ...labelProps, sx: styles3.label }, children);
5079
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { ...labelProps, sx: styles3.label }, children);
5093
5080
  }
5094
5081
  function ItemDescription({ children }) {
5095
5082
  let { descriptionProps } = useOptionContext();
5096
5083
  const styles3 = react.useMultiStyleConfig("ListBox", {});
5097
- return /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { ...descriptionProps, sx: styles3.description }, children);
5084
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { ...descriptionProps, sx: styles3.description }, children);
5098
5085
  }
5099
5086
  function Option({ item, state: state2 }) {
5100
- const ref = React50.useRef(null);
5087
+ const ref = React69.useRef(null);
5101
5088
  const {
5102
5089
  optionProps,
5103
5090
  isSelected,
@@ -5117,7 +5104,7 @@ function Option({ item, state: state2 }) {
5117
5104
  if (isFocused) {
5118
5105
  dataFields["data-focus"] = true;
5119
5106
  }
5120
- React50.useEffect(() => {
5107
+ React69.useEffect(() => {
5121
5108
  var _a6;
5122
5109
  (_a6 = ref == null ? void 0 : ref.current) == null ? void 0 : _a6.addEventListener(
5123
5110
  "touchend",
@@ -5127,7 +5114,7 @@ function Option({ item, state: state2 }) {
5127
5114
  { passive: false, once: true }
5128
5115
  );
5129
5116
  }, []);
5130
- return /* @__PURE__ */ React50__namespace.default.createElement(OptionContext.Provider, { value: { labelProps, descriptionProps } }, /* @__PURE__ */ React50__namespace.default.createElement(react.ListItem, { ...optionProps, ...dataFields, ref, sx: styles3.item }, item.rendered));
5117
+ return /* @__PURE__ */ React69__namespace.default.createElement(OptionContext.Provider, { value: { labelProps, descriptionProps } }, /* @__PURE__ */ React69__namespace.default.createElement(react.ListItem, { ...optionProps, ...dataFields, ref, sx: styles3.item }, item.rendered));
5131
5118
  }
5132
5119
  function ListBoxSection({ section, state: state2 }) {
5133
5120
  const { itemProps, headingProps, groupProps } = reactAria.useListBoxSection({
@@ -5136,7 +5123,7 @@ function ListBoxSection({ section, state: state2 }) {
5136
5123
  });
5137
5124
  const isFirstSection = section.key === state2.collection.getFirstKey();
5138
5125
  const titleColor = react.useColorModeValue("darkGrey", "white");
5139
- return /* @__PURE__ */ React50__namespace.default.createElement(react.ListItem, { ...itemProps }, section.rendered && /* @__PURE__ */ React50__namespace.default.createElement(
5126
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.ListItem, { ...itemProps }, section.rendered && /* @__PURE__ */ React69__namespace.default.createElement(
5140
5127
  react.Box,
5141
5128
  {
5142
5129
  fontSize: "mobile.xs",
@@ -5149,19 +5136,19 @@ function ListBoxSection({ section, state: state2 }) {
5149
5136
  ...headingProps
5150
5137
  },
5151
5138
  section.rendered
5152
- ), /* @__PURE__ */ React50__namespace.default.createElement(react.List, { ...groupProps, padding: 0, listStyleType: "none" }, Array.from(state2.collection.getChildren(section.key)).map(
5153
- (item) => /* @__PURE__ */ React50__namespace.default.createElement(Option, { key: item.key, item, state: state2 })
5139
+ ), /* @__PURE__ */ React69__namespace.default.createElement(react.List, { ...groupProps, padding: 0, listStyleType: "none" }, Array.from(state2.collection.getChildren(section.key)).map(
5140
+ (item) => /* @__PURE__ */ React69__namespace.default.createElement(Option, { key: item.key, item, state: state2 })
5154
5141
  )));
5155
5142
  }
5156
5143
  var OptionContext, useOptionContext;
5157
5144
  var init_ListBox = __esm({
5158
5145
  "src/input/ListBox.tsx"() {
5159
- OptionContext = React50__namespace.default.createContext({
5146
+ OptionContext = React69__namespace.default.createContext({
5160
5147
  labelProps: {},
5161
5148
  descriptionProps: {}
5162
5149
  });
5163
5150
  useOptionContext = () => {
5164
- return React50.useContext(OptionContext);
5151
+ return React69.useContext(OptionContext);
5165
5152
  };
5166
5153
  }
5167
5154
  });
@@ -5182,8 +5169,8 @@ function InfoSelect({
5182
5169
  ...props
5183
5170
  };
5184
5171
  const state2 = reactStately.useSelectState(renamedProps);
5185
- const triggerRef = React50.useRef(null);
5186
- const listboxRef = React50.useRef(null);
5172
+ const triggerRef = React69.useRef(null);
5173
+ const listboxRef = React69.useRef(null);
5187
5174
  const { labelProps, triggerProps, valueProps, menuProps } = reactAria.useSelect(
5188
5175
  renamedProps,
5189
5176
  state2,
@@ -5196,7 +5183,7 @@ function InfoSelect({
5196
5183
  const { buttonProps } = reactAria.useButton(triggerProps, triggerRef);
5197
5184
  const { t: t2 } = useTranslation();
5198
5185
  const formControl = react.useFormControlProps(props);
5199
- return /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { sx: styles3.container }, /* @__PURE__ */ React50__namespace.default.createElement(react.chakra.div, { ...labelProps, sx: styles3.label }, props.label), /* @__PURE__ */ React50__namespace.default.createElement(
5186
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { sx: styles3.container }, /* @__PURE__ */ React69__namespace.default.createElement(react.chakra.div, { ...labelProps, sx: styles3.label }, props.label), /* @__PURE__ */ React69__namespace.default.createElement(
5200
5187
  reactAria.HiddenSelect,
5201
5188
  {
5202
5189
  state: state2,
@@ -5204,7 +5191,7 @@ function InfoSelect({
5204
5191
  label: props.label,
5205
5192
  name: props.name
5206
5193
  }
5207
- ), /* @__PURE__ */ React50__namespace.default.createElement(
5194
+ ), /* @__PURE__ */ React69__namespace.default.createElement(
5208
5195
  react.chakra.button,
5209
5196
  {
5210
5197
  type: "button",
@@ -5217,16 +5204,16 @@ function InfoSelect({
5217
5204
  "aria-invalid": formControl.isInvalid,
5218
5205
  "aria-describedby": formControl["aria-describedby"]
5219
5206
  },
5220
- /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { ...valueProps }, state2.selectedItem ? state2.selectedItem.textValue ?? state2.selectedItem.rendered : placeholder ?? t2(texts11.selectAnOption)),
5221
- /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { sx: styles3.arrowIcon }, state2.isOpen ? /* @__PURE__ */ React50__namespace.default.createElement(sporIconReact.DropdownUpFill24Icon, null) : /* @__PURE__ */ React50__namespace.default.createElement(sporIconReact.DropdownDownFill24Icon, null))
5222
- ), state2.isOpen && /* @__PURE__ */ React50__namespace.default.createElement(
5207
+ /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { ...valueProps }, state2.selectedItem ? state2.selectedItem.textValue ?? state2.selectedItem.rendered : placeholder ?? t2(texts11.selectAnOption)),
5208
+ /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { sx: styles3.arrowIcon }, state2.isOpen ? /* @__PURE__ */ React69__namespace.default.createElement(sporIconReact.DropdownUpFill24Icon, null) : /* @__PURE__ */ React69__namespace.default.createElement(sporIconReact.DropdownDownFill24Icon, null))
5209
+ ), state2.isOpen && /* @__PURE__ */ React69__namespace.default.createElement(
5223
5210
  Popover3,
5224
5211
  {
5225
5212
  state: state2,
5226
5213
  triggerRef,
5227
5214
  containerPadding: 0
5228
5215
  },
5229
- /* @__PURE__ */ React50__namespace.default.createElement(
5216
+ /* @__PURE__ */ React69__namespace.default.createElement(
5230
5217
  ListBox,
5231
5218
  {
5232
5219
  ...menuProps,
@@ -5260,9 +5247,9 @@ var init_Input = __esm({
5260
5247
  exports.Input = react.forwardRef(
5261
5248
  ({ label, leftIcon, rightIcon, id, size: size2, ...props }, ref) => {
5262
5249
  const formControlProps = react.useFormControlContext();
5263
- const fallbackId = `input-${React50.useId()}`;
5250
+ const fallbackId = `input-${React69.useId()}`;
5264
5251
  const inputId = id ?? (formControlProps == null ? void 0 : formControlProps.id) ?? fallbackId;
5265
- return /* @__PURE__ */ React50__namespace.default.createElement(react.InputGroup, { position: "relative" }, leftIcon && /* @__PURE__ */ React50__namespace.default.createElement(react.InputLeftElement, { pointerEvents: "none" }, leftIcon), /* @__PURE__ */ React50__namespace.default.createElement(
5252
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.InputGroup, { position: "relative" }, leftIcon && /* @__PURE__ */ React69__namespace.default.createElement(react.InputLeftElement, { pointerEvents: "none" }, leftIcon), /* @__PURE__ */ React69__namespace.default.createElement(
5266
5253
  react.Input,
5267
5254
  {
5268
5255
  "data-attachable": true,
@@ -5273,7 +5260,7 @@ var init_Input = __esm({
5273
5260
  ref,
5274
5261
  placeholder: " "
5275
5262
  }
5276
- ), /* @__PURE__ */ React50__namespace.default.createElement(react.FormLabel, { htmlFor: inputId }, label), rightIcon && /* @__PURE__ */ React50__namespace.default.createElement(react.InputRightElement, { pointerEvents: "none" }, rightIcon));
5263
+ ), /* @__PURE__ */ React69__namespace.default.createElement(react.FormLabel, { htmlFor: inputId }, label), rightIcon && /* @__PURE__ */ React69__namespace.default.createElement(react.InputRightElement, { pointerEvents: "none" }, rightIcon));
5277
5264
  }
5278
5265
  );
5279
5266
  }
@@ -5282,10 +5269,10 @@ exports.InputLeftElement = void 0; exports.InputRightElement = void 0;
5282
5269
  var init_InputElement = __esm({
5283
5270
  "src/input/InputElement.tsx"() {
5284
5271
  exports.InputLeftElement = react.forwardRef(
5285
- (props, ref) => /* @__PURE__ */ React50__namespace.default.createElement(react.InputLeftElement, { ...props, ref })
5272
+ (props, ref) => /* @__PURE__ */ React69__namespace.default.createElement(react.InputLeftElement, { ...props, ref })
5286
5273
  );
5287
5274
  exports.InputRightElement = react.forwardRef(
5288
- (props, ref) => /* @__PURE__ */ React50__namespace.default.createElement(react.InputRightElement, { ...props, ref })
5275
+ (props, ref) => /* @__PURE__ */ React69__namespace.default.createElement(react.InputRightElement, { ...props, ref })
5289
5276
  );
5290
5277
  }
5291
5278
  });
@@ -5296,7 +5283,7 @@ var init_NativeSelect = __esm({
5296
5283
  exports.NativeSelect = react.forwardRef(
5297
5284
  ({ label, ...props }, ref) => {
5298
5285
  const styles3 = react.useMultiStyleConfig("Select", props);
5299
- return /* @__PURE__ */ React50__namespace.default.createElement(exports.FormControl, null, /* @__PURE__ */ React50__namespace.default.createElement(
5286
+ return /* @__PURE__ */ React69__namespace.default.createElement(exports.FormControl, null, /* @__PURE__ */ React69__namespace.default.createElement(
5300
5287
  react.Select,
5301
5288
  {
5302
5289
  "data-attachable": true,
@@ -5304,7 +5291,7 @@ var init_NativeSelect = __esm({
5304
5291
  rootProps: { __css: styles3.root },
5305
5292
  ref
5306
5293
  }
5307
- ), label && /* @__PURE__ */ React50__namespace.default.createElement(exports.FormLabel, null, label));
5294
+ ), label && /* @__PURE__ */ React69__namespace.default.createElement(exports.FormLabel, null, label));
5308
5295
  }
5309
5296
  );
5310
5297
  }
@@ -5388,6 +5375,8 @@ function NumericStepper({
5388
5375
  maxValue = 99,
5389
5376
  isDisabled,
5390
5377
  withInput = true,
5378
+ stepSize = 1,
5379
+ showZero = false,
5391
5380
  ...boxProps
5392
5381
  }) {
5393
5382
  const { t: t2 } = useTranslation();
@@ -5400,16 +5389,18 @@ function NumericStepper({
5400
5389
  const textColor = react.useColorModeValue("darkGrey", "white");
5401
5390
  const backgroundColor = react.useColorModeValue("white", "darkGrey");
5402
5391
  const focusColor = react.useColorModeValue("greenHaze", "azure");
5403
- return /* @__PURE__ */ React50__namespace.default.createElement(react.Flex, { alignItems: "center", ...boxProps }, /* @__PURE__ */ React50__namespace.default.createElement(
5392
+ const clampedStepSize = Math.max(Math.min(stepSize, 10), 1);
5393
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.Flex, { alignItems: "center", ...boxProps }, /* @__PURE__ */ React69__namespace.default.createElement(
5404
5394
  VerySmallButton,
5405
5395
  {
5406
- icon: /* @__PURE__ */ React50__namespace.default.createElement(SubtractIcon, { color: "white" }),
5407
- "aria-label": t2(texts12.decrementButtonAriaLabel),
5408
- onClick: () => onChange(value - 1),
5396
+ icon: /* @__PURE__ */ React69__namespace.default.createElement(SubtractIcon, { color: "white", stepLabel: clampedStepSize }),
5397
+ "aria-label": t2(texts12.decrementButtonAriaLabel(clampedStepSize)),
5398
+ onClick: () => onChange(Math.max(value - clampedStepSize, minValue)),
5409
5399
  visibility: value <= minValue ? "hidden" : "visible",
5410
- isDisabled: formControlProps.disabled
5400
+ isDisabled: formControlProps.disabled,
5401
+ id: value <= minValue ? void 0 : formControlProps.id
5411
5402
  }
5412
- ), withInput ? /* @__PURE__ */ React50__namespace.default.createElement(
5403
+ ), withInput ? /* @__PURE__ */ React69__namespace.default.createElement(
5413
5404
  react.chakra.input,
5414
5405
  {
5415
5406
  type: "number",
@@ -5418,10 +5409,10 @@ function NumericStepper({
5418
5409
  name: nameProp,
5419
5410
  value,
5420
5411
  ...formControlProps,
5421
- id: value !== 0 ? formControlProps.id : void 0,
5412
+ id: !showZero && value === 0 ? void 0 : formControlProps.id,
5422
5413
  fontSize: "sm",
5423
5414
  fontWeight: "bold",
5424
- width: "3ch",
5415
+ width: `${Math.max(value.toString().length + 1, 3)}ch`,
5425
5416
  marginX: 1,
5426
5417
  paddingX: 1,
5427
5418
  borderRadius: "xs",
@@ -5429,7 +5420,7 @@ function NumericStepper({
5429
5420
  backgroundColor,
5430
5421
  color: textColor,
5431
5422
  transition: "box-shadow .1s ease-out",
5432
- visibility: value === 0 ? "hidden" : "visible",
5423
+ visibility: !showZero && value === 0 ? "hidden" : "visible",
5433
5424
  "aria-live": "assertive",
5434
5425
  "aria-label": value.toString(),
5435
5426
  _hover: {
@@ -5456,10 +5447,10 @@ function NumericStepper({
5456
5447
  if (Number.isNaN(numericInput)) {
5457
5448
  return;
5458
5449
  }
5459
- onChange(numericInput);
5450
+ onChange(Math.max(Math.min(numericInput, maxValue), minValue));
5460
5451
  }
5461
5452
  }
5462
- ) : /* @__PURE__ */ React50__namespace.default.createElement(
5453
+ ) : /* @__PURE__ */ React69__namespace.default.createElement(
5463
5454
  react.chakra.text,
5464
5455
  {
5465
5456
  fontSize: "sm",
@@ -5470,19 +5461,19 @@ function NumericStepper({
5470
5461
  textAlign: "center",
5471
5462
  color: textColor,
5472
5463
  transition: "box-shadow .1s ease-out",
5473
- visibility: value === 0 ? "hidden" : "visible",
5464
+ visibility: !showZero && value === 0 ? "hidden" : "visible",
5474
5465
  "aria-label": value.toString()
5475
5466
  },
5476
5467
  value
5477
- ), /* @__PURE__ */ React50__namespace.default.createElement(
5468
+ ), /* @__PURE__ */ React69__namespace.default.createElement(
5478
5469
  VerySmallButton,
5479
5470
  {
5480
- icon: /* @__PURE__ */ React50__namespace.default.createElement(AddIcon, { color: "white" }),
5481
- "aria-label": t2(texts12.incrementButtonAriaLabel),
5482
- onClick: () => onChange(value + 1),
5471
+ icon: /* @__PURE__ */ React69__namespace.default.createElement(AddIcon, { color: "white", stepLabel: clampedStepSize }),
5472
+ "aria-label": t2(texts12.incrementButtonAriaLabel(clampedStepSize)),
5473
+ onClick: () => onChange(Math.min(value + clampedStepSize, maxValue)),
5483
5474
  visibility: value >= maxValue ? "hidden" : "visible",
5484
5475
  isDisabled: formControlProps.disabled,
5485
- id: value === 0 ? formControlProps.id : void 0
5476
+ id: value >= maxValue ? void 0 : formControlProps.id
5486
5477
  }
5487
5478
  ));
5488
5479
  }
@@ -5493,7 +5484,7 @@ var init_NumericStepper = __esm({
5493
5484
  init_box_shadow_utils();
5494
5485
  init_focus_utils();
5495
5486
  VerySmallButton = (props) => {
5496
- return /* @__PURE__ */ React50__namespace.default.createElement(
5487
+ return /* @__PURE__ */ React69__namespace.default.createElement(
5497
5488
  exports.IconButton,
5498
5489
  {
5499
5490
  variant: "primary",
@@ -5510,7 +5501,7 @@ var init_NumericStepper = __esm({
5510
5501
  }
5511
5502
  );
5512
5503
  };
5513
- SubtractIcon = (props) => /* @__PURE__ */ React50__namespace.default.createElement(
5504
+ SubtractIcon = (props) => /* @__PURE__ */ React69__namespace.default.createElement(React69__namespace.default.Fragment, null, /* @__PURE__ */ React69__namespace.default.createElement(
5514
5505
  react.Box,
5515
5506
  {
5516
5507
  as: "svg",
@@ -5520,7 +5511,7 @@ var init_NumericStepper = __esm({
5520
5511
  stroke: "currentColor",
5521
5512
  ...props
5522
5513
  },
5523
- /* @__PURE__ */ React50__namespace.default.createElement(
5514
+ /* @__PURE__ */ React69__namespace.default.createElement(
5524
5515
  "line",
5525
5516
  {
5526
5517
  x1: "9",
@@ -5531,8 +5522,8 @@ var init_NumericStepper = __esm({
5531
5522
  strokeLinecap: "round"
5532
5523
  }
5533
5524
  )
5534
- );
5535
- AddIcon = (props) => /* @__PURE__ */ React50__namespace.default.createElement(
5525
+ ), props.stepLabel > 1 && /* @__PURE__ */ React69__namespace.default.createElement(react.chakra.span, { paddingRight: "1" }, props.stepLabel.toString()));
5526
+ AddIcon = (props) => /* @__PURE__ */ React69__namespace.default.createElement(React69__namespace.default.Fragment, null, /* @__PURE__ */ React69__namespace.default.createElement(
5536
5527
  react.Box,
5537
5528
  {
5538
5529
  as: "svg",
@@ -5542,7 +5533,7 @@ var init_NumericStepper = __esm({
5542
5533
  stroke: "currentColor",
5543
5534
  ...props
5544
5535
  },
5545
- /* @__PURE__ */ React50__namespace.default.createElement(
5536
+ /* @__PURE__ */ React69__namespace.default.createElement(
5546
5537
  "line",
5547
5538
  {
5548
5539
  x1: "9",
@@ -5553,7 +5544,7 @@ var init_NumericStepper = __esm({
5553
5544
  strokeLinecap: "round"
5554
5545
  }
5555
5546
  ),
5556
- /* @__PURE__ */ React50__namespace.default.createElement(
5547
+ /* @__PURE__ */ React69__namespace.default.createElement(
5557
5548
  "line",
5558
5549
  {
5559
5550
  x1: "15",
@@ -5564,19 +5555,23 @@ var init_NumericStepper = __esm({
5564
5555
  strokeLinecap: "round"
5565
5556
  }
5566
5557
  )
5567
- );
5558
+ ), props.stepLabel > 1 && /* @__PURE__ */ React69__namespace.default.createElement(react.chakra.span, { paddingRight: "1" }, props.stepLabel.toString()));
5568
5559
  texts12 = createTexts({
5569
- decrementButtonAriaLabel: {
5570
- nb: "Trekk fra 1",
5571
- en: "Subtract 1",
5572
- nn: "Trekk fr\xE5 1",
5573
- sv: "Subtrahera 1"
5574
- },
5575
- incrementButtonAriaLabel: {
5576
- nb: "Legg til 1",
5577
- en: "Add 1",
5578
- nn: "Legg til 1",
5579
- sv: "L\xE4gg till 1"
5560
+ decrementButtonAriaLabel(stepSize) {
5561
+ return {
5562
+ nb: `Trekk fra ${stepSize}`,
5563
+ en: `Subtract ${stepSize}`,
5564
+ nn: `Trekk fr\xE5 ${stepSize}`,
5565
+ sv: `Subtrahera ${stepSize}`
5566
+ };
5567
+ },
5568
+ incrementButtonAriaLabel(stepSize) {
5569
+ return {
5570
+ nb: `Legg til ${stepSize}`,
5571
+ en: `Add ${stepSize}`,
5572
+ nn: `Legg til ${stepSize}`,
5573
+ sv: `L\xE4gg till ${stepSize}`
5574
+ };
5580
5575
  }
5581
5576
  });
5582
5577
  }
@@ -5591,9 +5586,9 @@ var init_PasswordInput = __esm({
5591
5586
  const { isOpen: isShowingPassword, onToggle } = react.useDisclosure();
5592
5587
  const { t: t2 } = useTranslation();
5593
5588
  const formControlProps = react.useFormControlContext();
5594
- const autoGeneratedId = `password-input-${React50.useId()}`;
5589
+ const autoGeneratedId = `password-input-${React69.useId()}`;
5595
5590
  const inputId = id ?? (formControlProps == null ? void 0 : formControlProps.id) ?? autoGeneratedId;
5596
- return /* @__PURE__ */ React50__namespace.default.createElement(react.InputGroup, { position: "relative" }, leftIcon && /* @__PURE__ */ React50__namespace.default.createElement(exports.InputLeftElement, null, leftIcon), /* @__PURE__ */ React50__namespace.default.createElement(
5591
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.InputGroup, { position: "relative" }, leftIcon && /* @__PURE__ */ React69__namespace.default.createElement(exports.InputLeftElement, null, leftIcon), /* @__PURE__ */ React69__namespace.default.createElement(
5597
5592
  react.Input,
5598
5593
  {
5599
5594
  ...props,
@@ -5605,7 +5600,7 @@ var init_PasswordInput = __esm({
5605
5600
  ref,
5606
5601
  "data-attachable": true
5607
5602
  }
5608
- ), /* @__PURE__ */ React50__namespace.default.createElement(exports.FormLabel, { htmlFor: inputId, pointerEvents: "none" }, label), /* @__PURE__ */ React50__namespace.default.createElement(exports.InputRightElement, { width: "fit-content" }, /* @__PURE__ */ React50__namespace.default.createElement(
5603
+ ), /* @__PURE__ */ React69__namespace.default.createElement(exports.FormLabel, { htmlFor: inputId, pointerEvents: "none" }, label), /* @__PURE__ */ React69__namespace.default.createElement(exports.InputRightElement, { width: "fit-content" }, /* @__PURE__ */ React69__namespace.default.createElement(
5609
5604
  react.Button,
5610
5605
  {
5611
5606
  variant: "ghost",
@@ -5659,7 +5654,7 @@ var init_CountryCodeSelect = __esm({
5659
5654
  callingCodes = [...prioritizedCountryCodes, ...sortedCallingCodes];
5660
5655
  CountryCodeSelect = (props) => {
5661
5656
  const { t: t2 } = useTranslation();
5662
- return /* @__PURE__ */ React50__namespace.default.createElement(
5657
+ return /* @__PURE__ */ React69__namespace.default.createElement(
5663
5658
  InfoSelect,
5664
5659
  {
5665
5660
  label: t2(texts14.countryCode),
@@ -5667,7 +5662,7 @@ var init_CountryCodeSelect = __esm({
5667
5662
  items: callingCodes,
5668
5663
  ...props
5669
5664
  },
5670
- (item) => /* @__PURE__ */ React50__namespace.default.createElement(reactStately.Item, { key: item.key }, item.key)
5665
+ (item) => /* @__PURE__ */ React69__namespace.default.createElement(reactStately.Item, { key: item.key }, item.key)
5671
5666
  );
5672
5667
  };
5673
5668
  CountryCodeSelect_default = CountryCodeSelect;
@@ -5697,10 +5692,10 @@ var init_PhoneNumberInput = __esm({
5697
5692
  nationalNumber: ""
5698
5693
  }
5699
5694
  });
5700
- return /* @__PURE__ */ React50__namespace.default.createElement(exports.AttachedInputs, { ...boxProps }, /* @__PURE__ */ React50__namespace.default.createElement(
5701
- React50.Suspense,
5695
+ return /* @__PURE__ */ React69__namespace.default.createElement(exports.AttachedInputs, { ...boxProps }, /* @__PURE__ */ React69__namespace.default.createElement(
5696
+ React69.Suspense,
5702
5697
  {
5703
- fallback: /* @__PURE__ */ React50__namespace.default.createElement(
5698
+ fallback: /* @__PURE__ */ React69__namespace.default.createElement(
5704
5699
  InfoSelect,
5705
5700
  {
5706
5701
  isLabelSrOnly: true,
@@ -5709,10 +5704,10 @@ var init_PhoneNumberInput = __esm({
5709
5704
  height: "100%",
5710
5705
  value: "+47"
5711
5706
  },
5712
- /* @__PURE__ */ React50__namespace.default.createElement(reactStately.Item, { key: "+47" }, "+47")
5707
+ /* @__PURE__ */ React69__namespace.default.createElement(reactStately.Item, { key: "+47" }, "+47")
5713
5708
  )
5714
5709
  },
5715
- /* @__PURE__ */ React50__namespace.default.createElement(
5710
+ /* @__PURE__ */ React69__namespace.default.createElement(
5716
5711
  LazyCountryCodeSelect,
5717
5712
  {
5718
5713
  value: value.countryCode,
@@ -5725,7 +5720,7 @@ var init_PhoneNumberInput = __esm({
5725
5720
  width: "6.25rem"
5726
5721
  }
5727
5722
  )
5728
- ), /* @__PURE__ */ React50__namespace.default.createElement(
5723
+ ), /* @__PURE__ */ React69__namespace.default.createElement(
5729
5724
  exports.Input,
5730
5725
  {
5731
5726
  ref,
@@ -5754,14 +5749,14 @@ var init_PhoneNumberInput = __esm({
5754
5749
  sv: "Telefonnummer"
5755
5750
  }
5756
5751
  });
5757
- LazyCountryCodeSelect = React50__namespace.default.lazy(() => Promise.resolve().then(() => (init_CountryCodeSelect(), CountryCodeSelect_exports)));
5752
+ LazyCountryCodeSelect = React69__namespace.default.lazy(() => Promise.resolve().then(() => (init_CountryCodeSelect(), CountryCodeSelect_exports)));
5758
5753
  }
5759
5754
  });
5760
5755
  exports.Radio = void 0;
5761
5756
  var init_Radio = __esm({
5762
5757
  "src/input/Radio.tsx"() {
5763
5758
  exports.Radio = react.forwardRef((props, ref) => {
5764
- return /* @__PURE__ */ React50__namespace.default.createElement(react.Radio, { ...props, ref });
5759
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.Radio, { ...props, ref });
5765
5760
  });
5766
5761
  }
5767
5762
  });
@@ -5770,7 +5765,7 @@ var init_RadioGroup = __esm({
5770
5765
  "src/input/RadioGroup.tsx"() {
5771
5766
  exports.RadioGroup = react.forwardRef(
5772
5767
  ({ children, direction: direction2 = "row", ...rest }, ref) => {
5773
- return /* @__PURE__ */ React50__namespace.default.createElement(react.RadioGroup, { ...rest, ref }, /* @__PURE__ */ React50__namespace.default.createElement(react.Stack, { direction: direction2 }, children));
5768
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.RadioGroup, { ...rest, ref }, /* @__PURE__ */ React69__namespace.default.createElement(react.Stack, { direction: direction2 }, children));
5774
5769
  }
5775
5770
  );
5776
5771
  }
@@ -5785,9 +5780,9 @@ var init_SearchInput = __esm({
5785
5780
  const { t: t2 } = useTranslation();
5786
5781
  const showClearButton = onReset && Boolean(props.value);
5787
5782
  const formControlProps = react.useFormControlContext();
5788
- const autoGeneratedId = React50.useId();
5783
+ const autoGeneratedId = React69.useId();
5789
5784
  const inputId = props.id ?? (formControlProps == null ? void 0 : formControlProps.id) ?? autoGeneratedId;
5790
- return /* @__PURE__ */ React50__namespace.default.createElement(react.InputGroup, { position: "relative" }, /* @__PURE__ */ React50__namespace.default.createElement(exports.InputLeftElement, null, /* @__PURE__ */ React50__namespace.default.createElement(sporIconReact.SearchOutline24Icon, null)), /* @__PURE__ */ React50__namespace.default.createElement(
5785
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.InputGroup, { position: "relative" }, /* @__PURE__ */ React69__namespace.default.createElement(exports.InputLeftElement, null, /* @__PURE__ */ React69__namespace.default.createElement(sporIconReact.SearchOutline24Icon, null)), /* @__PURE__ */ React69__namespace.default.createElement(
5791
5786
  react.Input,
5792
5787
  {
5793
5788
  paddingLeft: 7,
@@ -5804,7 +5799,7 @@ var init_SearchInput = __esm({
5804
5799
  placeholder: " ",
5805
5800
  "data-attachable": true
5806
5801
  }
5807
- ), /* @__PURE__ */ React50__namespace.default.createElement(exports.FormLabel, { htmlFor: inputId, pointerEvents: "none" }, label ?? t2(texts16.label)), showClearButton && /* @__PURE__ */ React50__namespace.default.createElement(exports.InputRightElement, { width: "fit-content" }, /* @__PURE__ */ React50__namespace.default.createElement(
5802
+ ), /* @__PURE__ */ React69__namespace.default.createElement(exports.FormLabel, { htmlFor: inputId, pointerEvents: "none" }, label ?? t2(texts16.label)), showClearButton && /* @__PURE__ */ React69__namespace.default.createElement(exports.InputRightElement, { width: "fit-content" }, /* @__PURE__ */ React69__namespace.default.createElement(
5808
5803
  react.IconButton,
5809
5804
  {
5810
5805
  variant: "ghost",
@@ -5812,7 +5807,7 @@ var init_SearchInput = __esm({
5812
5807
  size: "sm",
5813
5808
  marginRight: 1,
5814
5809
  "aria-label": t2(texts16.reset),
5815
- icon: /* @__PURE__ */ React50__namespace.default.createElement(sporIconReact.CloseOutline24Icon, null),
5810
+ icon: /* @__PURE__ */ React69__namespace.default.createElement(sporIconReact.CloseOutline24Icon, null),
5816
5811
  onClick: onReset
5817
5812
  }
5818
5813
  )));
@@ -5839,7 +5834,7 @@ var init_Switch = __esm({
5839
5834
  "src/input/Switch.tsx"() {
5840
5835
  exports.Switch = react.forwardRef(
5841
5836
  ({ size: size2 = "md", ...props }, ref) => {
5842
- return /* @__PURE__ */ React50__namespace.default.createElement(react.Switch, { variant: "solid", size: size2, ...props, ref });
5837
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.Switch, { variant: "solid", size: size2, ...props, ref });
5843
5838
  }
5844
5839
  );
5845
5840
  }
@@ -5911,9 +5906,9 @@ var init_Textarea = __esm({
5911
5906
  remainingProps: { label, ...rest }
5912
5907
  } = getSpacingProps(props);
5913
5908
  const formControlProps = react.useFormControlContext();
5914
- const fallbackId = `textarea-${React50.useId()}`;
5909
+ const fallbackId = `textarea-${React69.useId()}`;
5915
5910
  const inputId = props.id ?? (formControlProps == null ? void 0 : formControlProps.id) ?? fallbackId;
5916
- return /* @__PURE__ */ React50__namespace.default.createElement(react.InputGroup, { position: "relative", ...spacingProps }, /* @__PURE__ */ React50__namespace.default.createElement(react.Textarea, { ...rest, id: inputId, ref, placeholder: " " }), label && /* @__PURE__ */ React50__namespace.default.createElement(react.FormLabel, { htmlFor: inputId, id: `${inputId}-label` }, label));
5911
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.InputGroup, { position: "relative", ...spacingProps }, /* @__PURE__ */ React69__namespace.default.createElement(react.Textarea, { ...rest, id: inputId, ref, placeholder: " " }), label && /* @__PURE__ */ React69__namespace.default.createElement(react.FormLabel, { htmlFor: inputId, id: `${inputId}-label` }, label));
5917
5912
  });
5918
5913
  }
5919
5914
  });
@@ -6009,7 +6004,7 @@ var init_LineIcon = __esm({
6009
6004
  if (!Icon) {
6010
6005
  return null;
6011
6006
  }
6012
- return /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { sx: { ...styles3.iconContainer, ...sx }, ...rest }, /* @__PURE__ */ React50__namespace.default.createElement(Icon, { sx: styles3.icon }));
6007
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { sx: { ...styles3.iconContainer, ...sx }, ...rest }, /* @__PURE__ */ React69__namespace.default.createElement(Icon, { sx: styles3.icon }));
6013
6008
  };
6014
6009
  }
6015
6010
  });
@@ -6024,7 +6019,7 @@ var init_InfoTag = __esm({
6024
6019
  description
6025
6020
  }) => {
6026
6021
  const styles3 = react.useMultiStyleConfig("InfoTag", { variant, size: size2 });
6027
- return /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { sx: styles3.container }, /* @__PURE__ */ React50__namespace.default.createElement(exports.LineIcon, { variant, size: size2, sx: styles3.iconContainer }), /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { sx: styles3.textContainer }, title && /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { as: "span", sx: styles3.title }, title), title && description && " ", description && /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { as: "span", sx: styles3.description }, description)));
6022
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { sx: styles3.container }, /* @__PURE__ */ React69__namespace.default.createElement(exports.LineIcon, { variant, size: size2, sx: styles3.iconContainer }), /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { sx: styles3.textContainer }, title && /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { as: "span", sx: styles3.title }, title), title && description && " ", description && /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { as: "span", sx: styles3.description }, description)));
6028
6023
  };
6029
6024
  }
6030
6025
  });
@@ -6048,7 +6043,7 @@ var init_TravelTag = __esm({
6048
6043
  deviationLevel
6049
6044
  });
6050
6045
  const DeviationLevelIcon = getDeviationLevelIcon({ deviationLevel, size: size2 });
6051
- return /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { sx: styles3.container, "aria-disabled": isDisabled, ref, ...rest }, /* @__PURE__ */ React50__namespace.default.createElement(exports.LineIcon, { variant, size: size2, sx: styles3.iconContainer }), /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { sx: styles3.textContainer }, title && /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { as: "span", sx: styles3.title }, title), title && description && " ", description && /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { as: "span", sx: styles3.description }, description)), DeviationLevelIcon && /* @__PURE__ */ React50__namespace.default.createElement(DeviationLevelIcon, { sx: styles3.deviationIcon }));
6046
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { sx: styles3.container, "aria-disabled": isDisabled, ref, ...rest }, /* @__PURE__ */ React69__namespace.default.createElement(exports.LineIcon, { variant, size: size2, sx: styles3.iconContainer }), /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { sx: styles3.textContainer }, title && /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { as: "span", sx: styles3.title }, title), title && description && " ", description && /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { as: "span", sx: styles3.description }, description)), DeviationLevelIcon && /* @__PURE__ */ React69__namespace.default.createElement(DeviationLevelIcon, { sx: styles3.deviationIcon }));
6052
6047
  }
6053
6048
  );
6054
6049
  getDeviationLevelIcon = ({
@@ -6087,7 +6082,7 @@ var init_TextLink = __esm({
6087
6082
  var _a6;
6088
6083
  const { t: t2 } = useTranslation();
6089
6084
  const isExternal = props.isExternal !== void 0 ? props.isExternal : Boolean((_a6 = props.href) == null ? void 0 : _a6.match(/^https?:\/\//));
6090
- return /* @__PURE__ */ React50__namespace.default.createElement(react.Link, { ...props, ref, isExternal }, children, isExternal && /* @__PURE__ */ React50__namespace.default.createElement(
6085
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.Link, { ...props, ref, isExternal }, children, isExternal && /* @__PURE__ */ React69__namespace.default.createElement(
6091
6086
  sporIconReact.LinkOutOutline24Icon,
6092
6087
  {
6093
6088
  marginLeft: 0.5,
@@ -6123,8 +6118,8 @@ var init_VyLogo = __esm({
6123
6118
  exports.VyLogo = ({ colorScheme, ...boxProps }) => {
6124
6119
  const mainColor = colorScheme === "light" ? "#1d211c" : "#ffffff";
6125
6120
  const accentColor = colorScheme === "light" ? "#138c6e" : "#ffffff";
6126
- const id = React50.useId();
6127
- return /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { as: "svg", viewBox: "0 0 107 54", ...boxProps }, /* @__PURE__ */ React50__namespace.default.createElement("title", null, "Vy logo"), /* @__PURE__ */ React50__namespace.default.createElement(
6121
+ const id = React69.useId();
6122
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { as: "svg", viewBox: "0 0 107 54", ...boxProps }, /* @__PURE__ */ React69__namespace.default.createElement("title", null, "Vy logo"), /* @__PURE__ */ React69__namespace.default.createElement(
6128
6123
  "path",
6129
6124
  {
6130
6125
  fillRule: "evenodd",
@@ -6132,7 +6127,7 @@ var init_VyLogo = __esm({
6132
6127
  d: "M79.97 33.44a.04.04 0 0 0 0-.08 5.76 5.76 0 0 1-2.32-.85c-1.56-1-2.79-2.9-3.83-6.07L68.14 7.16c-1.18-4.04-3.42-5.85-5.48-6.6a8.36 8.36 0 0 0-2.88-.52h-1.44a.04.04 0 0 0 0 .08c.57.09 1.18.24 1.8.5 1.92.8 3.92 2.63 5.06 6.54l5.61 19.07c1.06 3.3 2.31 5.27 3.92 6.3 1.01.64 2.17.9 3.5.9h1.74Z",
6133
6128
  fill: mainColor
6134
6129
  }
6135
- ), /* @__PURE__ */ React50__namespace.default.createElement(
6130
+ ), /* @__PURE__ */ React69__namespace.default.createElement(
6136
6131
  "mask",
6137
6132
  {
6138
6133
  id: `${id}-a`,
@@ -6143,7 +6138,7 @@ var init_VyLogo = __esm({
6143
6138
  width: "94",
6144
6139
  height: "54"
6145
6140
  },
6146
- /* @__PURE__ */ React50__namespace.default.createElement(
6141
+ /* @__PURE__ */ React69__namespace.default.createElement(
6147
6142
  "path",
6148
6143
  {
6149
6144
  fillRule: "evenodd",
@@ -6152,7 +6147,7 @@ var init_VyLogo = __esm({
6152
6147
  fill: mainColor
6153
6148
  }
6154
6149
  )
6155
- ), /* @__PURE__ */ React50__namespace.default.createElement(
6150
+ ), /* @__PURE__ */ React69__namespace.default.createElement(
6156
6151
  "g",
6157
6152
  {
6158
6153
  mask: `url(#${id}-a)`,
@@ -6160,9 +6155,9 @@ var init_VyLogo = __esm({
6160
6155
  clipRule: "evenodd",
6161
6156
  fill: mainColor
6162
6157
  },
6163
- /* @__PURE__ */ React50__namespace.default.createElement("path", { d: "M84.57 33.44a.04.04 0 0 0 .01-.08c-2.34-.3-3.85-3.59-4.68-6.38-.88-2.93-4.04-13.63-5.92-19.82C72.08.94 66.2.05 63.54.04a.04.04 0 0 0-.01.08c2.49.34 6.02 1.85 7.55 7.04 1.34 4.55 5.6 19.03 5.76 19.51 1.02 3.03 2.22 4.85 3.73 5.83a6.3 6.3 0 0 0 3.54.94h.46ZM23.28 53.68h-.72c-2.12 0-4.68-1.08-6.09-6.04L3.8 4.37C3.04 1.77 1.93.47.03.15A.04.04 0 0 1 .04.07h1.9c2.54 0 3.92 1.27 4.8 4.3 0 0 11.72 39.78 12.79 43.54.78 2.78 1.7 4.67 3.13 5.43.23.13.42.2.62.26a.04.04 0 0 1 0 .08ZM18.99 5.99C17.77 1.79 15.87.04 12.37.04h-1.71a.04.04 0 0 0 0 .08c2.73.39 4.32 2.19 5.39 5.87 0 0 10.49 35.72 11.85 40.4l1.44-4.87L18.99 6Z" }),
6164
- /* @__PURE__ */ React50__namespace.default.createElement("path", { d: "M24.26 53.68h1.24c1.57 0 2.69-.41 3.52-1.1 1.37-1.1 1.99-2.93 2.56-4.86.09-.29 11.2-37.95 11.59-39.42 1.32-4.97 4.27-7.13 7.43-7.9a12.2 12.2 0 0 1 1.58-.28.04.04 0 0 0 0-.08h-1.4c-4.15 0-8.8 1.65-10.56 8.26-.63 2.38-11.5 39.13-11.58 39.42-.57 1.93-1.23 3.96-2.59 5.07-.56.45-1.06.7-1.8.81a.04.04 0 0 0 0 .08ZM81.3 27.76l6.53-21.78C88.89 2.3 90.49.5 93.23.11a.04.04 0 0 0-.01-.08H91.5c-3.5 0-5.4 1.76-6.62 5.95l-5.05 16.97s1.33 4.46 1.46 4.8Z" })
6165
- ), /* @__PURE__ */ React50__namespace.default.createElement(
6158
+ /* @__PURE__ */ React69__namespace.default.createElement("path", { d: "M84.57 33.44a.04.04 0 0 0 .01-.08c-2.34-.3-3.85-3.59-4.68-6.38-.88-2.93-4.04-13.63-5.92-19.82C72.08.94 66.2.05 63.54.04a.04.04 0 0 0-.01.08c2.49.34 6.02 1.85 7.55 7.04 1.34 4.55 5.6 19.03 5.76 19.51 1.02 3.03 2.22 4.85 3.73 5.83a6.3 6.3 0 0 0 3.54.94h.46ZM23.28 53.68h-.72c-2.12 0-4.68-1.08-6.09-6.04L3.8 4.37C3.04 1.77 1.93.47.03.15A.04.04 0 0 1 .04.07h1.9c2.54 0 3.92 1.27 4.8 4.3 0 0 11.72 39.78 12.79 43.54.78 2.78 1.7 4.67 3.13 5.43.23.13.42.2.62.26a.04.04 0 0 1 0 .08ZM18.99 5.99C17.77 1.79 15.87.04 12.37.04h-1.71a.04.04 0 0 0 0 .08c2.73.39 4.32 2.19 5.39 5.87 0 0 10.49 35.72 11.85 40.4l1.44-4.87L18.99 6Z" }),
6159
+ /* @__PURE__ */ React69__namespace.default.createElement("path", { d: "M24.26 53.68h1.24c1.57 0 2.69-.41 3.52-1.1 1.37-1.1 1.99-2.93 2.56-4.86.09-.29 11.2-37.95 11.59-39.42 1.32-4.97 4.27-7.13 7.43-7.9a12.2 12.2 0 0 1 1.58-.28.04.04 0 0 0 0-.08h-1.4c-4.15 0-8.8 1.65-10.56 8.26-.63 2.38-11.5 39.13-11.58 39.42-.57 1.93-1.23 3.96-2.59 5.07-.56.45-1.06.7-1.8.81a.04.04 0 0 0 0 .08ZM81.3 27.76l6.53-21.78C88.89 2.3 90.49.5 93.23.11a.04.04 0 0 0-.01-.08H91.5c-3.5 0-5.4 1.76-6.62 5.95l-5.05 16.97s1.33 4.46 1.46 4.8Z" })
6160
+ ), /* @__PURE__ */ React69__namespace.default.createElement(
6166
6161
  "path",
6167
6162
  {
6168
6163
  fillRule: "evenodd",
@@ -6170,7 +6165,7 @@ var init_VyLogo = __esm({
6170
6165
  d: "M98.49.07h-1.82c-2.98 0-4.6 1.49-5.63 5.06l-6.52 21.79a18.22 18.22 0 0 1-1.67 3.96c.57.78 1.17 1.26 1.76 1.38 1.13-.96 2.06-2.75 2.89-5.46l6.49-21.67c.9-3.1 2.23-4.63 4.5-4.98a.04.04 0 0 0 0-.08Z",
6171
6166
  fill: accentColor
6172
6167
  }
6173
- ), /* @__PURE__ */ React50__namespace.default.createElement(
6168
+ ), /* @__PURE__ */ React69__namespace.default.createElement(
6174
6169
  "path",
6175
6170
  {
6176
6171
  fillRule: "evenodd",
@@ -6178,7 +6173,7 @@ var init_VyLogo = __esm({
6178
6173
  d: "M85.25 34.53h-2.93L78.58 46.9c-1.82 6.1 1.05 6.73 2.15 6.73h2.31a.04.04 0 0 0 .01-.09c-1.25-.3-2.96-1.6-1.45-6.64l3.65-12.37ZM102.35.11c.02 0 .03-.02.03-.04a.04.04 0 0 0-.04-.04h-.4c-2.54 0-3.92 1.27-4.8 4.3 0 0-5 16.82-6.57 22.03-1.57 5.2-2.65 6.6-4.78 6.97l-.11.03a.04.04 0 0 0 0 .08h1.45c3.72 0 5.1-2.48 6.41-6.84l7.5-25.07c.19-.6.7-1.23 1.31-1.42Z",
6179
6174
  fill: mainColor
6180
6175
  }
6181
- ), /* @__PURE__ */ React50__namespace.default.createElement(
6176
+ ), /* @__PURE__ */ React69__namespace.default.createElement(
6182
6177
  "mask",
6183
6178
  {
6184
6179
  id: `${id}-b`,
@@ -6189,7 +6184,7 @@ var init_VyLogo = __esm({
6189
6184
  width: "78",
6190
6185
  height: "54"
6191
6186
  },
6192
- /* @__PURE__ */ React50__namespace.default.createElement(
6187
+ /* @__PURE__ */ React69__namespace.default.createElement(
6193
6188
  "path",
6194
6189
  {
6195
6190
  fillRule: "evenodd",
@@ -6198,25 +6193,25 @@ var init_VyLogo = __esm({
6198
6193
  fill: mainColor
6199
6194
  }
6200
6195
  )
6201
- ), /* @__PURE__ */ React50__namespace.default.createElement("g", { mask: `url(#${id}-b)`, fillRule: "evenodd", clipRule: "evenodd" }, /* @__PURE__ */ React50__namespace.default.createElement(
6196
+ ), /* @__PURE__ */ React69__namespace.default.createElement("g", { mask: `url(#${id}-b)`, fillRule: "evenodd", clipRule: "evenodd" }, /* @__PURE__ */ React69__namespace.default.createElement(
6202
6197
  "path",
6203
6198
  {
6204
6199
  d: "m88.2 34.45-3.96 13.46c-1.54 5.18.9 5.72 1.83 5.72h2.26a.04.04 0 0 0 0-.09c-1.05-.27-2.44-1.4-1.18-5.63l4.43-15.02c-.7.71-1.88 1.37-3.38 1.56ZM93.71 53.63c.02 0 .04-.02.04-.05a.04.04 0 0 0-.03-.04c-.9-.25-2.02-1.24-.96-4.77 0 0 12.4-42.2 13.08-44.6a3.1 3.1 0 0 0-2.47-4.1c-.02 0-.06-.02-.07.01-.01.04.03.06.04.06.3.16.63.52.45 1.14L89.84 48.77c-1.32 4.4.76 4.86 1.55 4.86h2.32ZM74.1 33.44a.04.04 0 0 0 0-.08 5.77 5.77 0 0 1-2.3-.83c-1.64-1.04-2.9-3.06-3.98-6.5-.1-.29-5.37-18.25-5.55-18.87-1.12-3.8-2.91-5.63-4.68-6.46a7.06 7.06 0 0 0-3.04-.66H53a.04.04 0 0 0-.02.08c.3.05 4.32.17 6.35 7.04 2.03 6.86 4.46 15.07 5.28 17.97 1.77 6.26 4.07 8.3 7.75 8.3h1.73Z",
6205
6200
  fill: mainColor
6206
6201
  }
6207
- ), /* @__PURE__ */ React50__namespace.default.createElement(
6202
+ ), /* @__PURE__ */ React69__namespace.default.createElement(
6208
6203
  "path",
6209
6204
  {
6210
6205
  d: "M55.43 2.4c-1.48 1.27-2.7 3.16-3.44 5.9-.07.29-11.08 37.74-11.32 38.55-.93 3.12-1.7 6.21-5.2 6.75a.04.04 0 0 0 0 .08h.7l.6-.01c3.56-.14 5.33-1.66 6.85-6.82L54.94 8.3c.44-1.44.96-3.08 1.7-4.52-.15-.25-.7-.96-1.2-1.38Z",
6211
6206
  fill: mainColor
6212
6207
  }
6213
- ), /* @__PURE__ */ React50__namespace.default.createElement(
6208
+ ), /* @__PURE__ */ React69__namespace.default.createElement(
6214
6209
  "path",
6215
6210
  {
6216
6211
  d: "M53.78 1.44a4.64 4.64 0 0 0-4.17.93A10.79 10.79 0 0 0 46.19 8L34.53 47.72c-.58 1.93-1.2 3.75-2.56 4.87-.62.5-1.4.86-2.39 1.01a.04.04 0 0 0 0 .08h1.8c1.57 0 2.69-.41 3.53-1.1 1.36-1.1 1.98-2.93 2.56-4.86L49.05 8.3c.73-2.74 1.95-4.63 3.43-5.9.43-.36.88-.68 1.35-.95l-.05-.01Z",
6217
6212
  fill: accentColor
6218
6213
  }
6219
- )), /* @__PURE__ */ React50__namespace.default.createElement(
6214
+ )), /* @__PURE__ */ React69__namespace.default.createElement(
6220
6215
  "path",
6221
6216
  {
6222
6217
  fillRule: "evenodd",
@@ -6238,7 +6233,7 @@ var init_logo = __esm({
6238
6233
  var JumpForwardIcon, JumpBackwardIcon, PlayIcon, PauseIcon, SkipNextIcon, SkipPreviousIcon;
6239
6234
  var init_icons2 = __esm({
6240
6235
  "src/media-controller/icons.tsx"() {
6241
- JumpForwardIcon = (props) => /* @__PURE__ */ React50__namespace.createElement(react.Box, { as: "svg", ...props, viewBox: "0 0 32 30", fill: "none" }, /* @__PURE__ */ React50__namespace.createElement(
6236
+ JumpForwardIcon = (props) => /* @__PURE__ */ React69__namespace.createElement(react.Box, { as: "svg", ...props, viewBox: "0 0 32 30", fill: "none" }, /* @__PURE__ */ React69__namespace.createElement(
6242
6237
  "path",
6243
6238
  {
6244
6239
  fillRule: "evenodd",
@@ -6246,7 +6241,7 @@ var init_icons2 = __esm({
6246
6241
  d: "M22.388 7.5C20.567 5.967 18.251 5 15.75 5 9.951 5 5.25 9.701 5.25 15.5S9.951 26 15.75 26s10.5-4.701 10.5-10.5a1 1 0 1 1 2 0c0 6.904-5.596 12.5-12.5 12.5s-12.5-5.596-12.5-12.5S8.846 3 15.75 3c3.206 0 6.11 1.31 8.304 3.3l.206-1.441a1 1 0 0 1 1.98.282L25.617 9.5H21.25a1 1 0 1 1 0-2h1.138Z",
6247
6242
  fill: "currentColor"
6248
6243
  }
6249
- ), /* @__PURE__ */ React50__namespace.createElement(
6244
+ ), /* @__PURE__ */ React69__namespace.createElement(
6250
6245
  "path",
6251
6246
  {
6252
6247
  fillRule: "evenodd",
@@ -6255,7 +6250,7 @@ var init_icons2 = __esm({
6255
6250
  fill: "currentColor"
6256
6251
  }
6257
6252
  ));
6258
- JumpBackwardIcon = (props) => /* @__PURE__ */ React50__namespace.createElement(react.Box, { as: "svg", ...props, viewBox: "0 0 32 30", fill: "none" }, /* @__PURE__ */ React50__namespace.createElement(
6253
+ JumpBackwardIcon = (props) => /* @__PURE__ */ React69__namespace.createElement(react.Box, { as: "svg", ...props, viewBox: "0 0 32 30", fill: "none" }, /* @__PURE__ */ React69__namespace.createElement(
6259
6254
  "path",
6260
6255
  {
6261
6256
  fillRule: "evenodd",
@@ -6263,7 +6258,7 @@ var init_icons2 = __esm({
6263
6258
  d: "M9.612 7.5C11.433 5.967 13.749 5 16.25 5c5.799 0 10.5 4.701 10.5 10.5S22.049 26 16.25 26s-10.5-4.701-10.5-10.5a1 1 0 1 0-2 0c0 6.904 5.596 12.5 12.5 12.5s12.5-5.596 12.5-12.5S23.154 3 16.25 3c-3.206 0-6.11 1.31-8.304 3.3L7.74 4.86a1 1 0 0 0-1.98.282L6.383 9.5h4.367a1 1 0 1 0 0-2H9.612Z",
6264
6259
  fill: "currentColor"
6265
6260
  }
6266
- ), /* @__PURE__ */ React50__namespace.createElement(
6261
+ ), /* @__PURE__ */ React69__namespace.createElement(
6267
6262
  "path",
6268
6263
  {
6269
6264
  fillRule: "evenodd",
@@ -6272,7 +6267,7 @@ var init_icons2 = __esm({
6272
6267
  fill: "currentColor"
6273
6268
  }
6274
6269
  ));
6275
- PlayIcon = (props) => /* @__PURE__ */ React50__namespace.createElement(react.Box, { as: "svg", ...props, fill: "none", viewBox: "0 0 60 60" }, /* @__PURE__ */ React50__namespace.createElement(
6270
+ PlayIcon = (props) => /* @__PURE__ */ React69__namespace.createElement(react.Box, { as: "svg", ...props, fill: "none", viewBox: "0 0 60 60" }, /* @__PURE__ */ React69__namespace.createElement(
6276
6271
  "path",
6277
6272
  {
6278
6273
  fillRule: "evenodd",
@@ -6281,7 +6276,7 @@ var init_icons2 = __esm({
6281
6276
  fill: "currentColor"
6282
6277
  }
6283
6278
  ));
6284
- PauseIcon = (props) => /* @__PURE__ */ React50__namespace.createElement(react.Box, { as: "svg", ...props, viewBox: "0 0 60 60", fill: "none" }, /* @__PURE__ */ React50__namespace.createElement(
6279
+ PauseIcon = (props) => /* @__PURE__ */ React69__namespace.createElement(react.Box, { as: "svg", ...props, viewBox: "0 0 60 60", fill: "none" }, /* @__PURE__ */ React69__namespace.createElement(
6285
6280
  "path",
6286
6281
  {
6287
6282
  fillRule: "evenodd",
@@ -6290,7 +6285,7 @@ var init_icons2 = __esm({
6290
6285
  fill: "currentColor"
6291
6286
  }
6292
6287
  ));
6293
- SkipNextIcon = (props) => /* @__PURE__ */ React50__namespace.createElement(react.Box, { as: "svg", ...props, viewBox: "0 0 30 30", fill: "none" }, /* @__PURE__ */ React50__namespace.createElement(
6288
+ SkipNextIcon = (props) => /* @__PURE__ */ React69__namespace.createElement(react.Box, { as: "svg", ...props, viewBox: "0 0 30 30", fill: "none" }, /* @__PURE__ */ React69__namespace.createElement(
6294
6289
  "path",
6295
6290
  {
6296
6291
  fillRule: "evenodd",
@@ -6299,7 +6294,7 @@ var init_icons2 = __esm({
6299
6294
  fill: "currentColor"
6300
6295
  }
6301
6296
  ));
6302
- SkipPreviousIcon = (props) => /* @__PURE__ */ React50__namespace.createElement(react.Box, { as: "svg", ...props, viewBox: "0 0 30 30", fill: "none" }, /* @__PURE__ */ React50__namespace.createElement(
6297
+ SkipPreviousIcon = (props) => /* @__PURE__ */ React69__namespace.createElement(react.Box, { as: "svg", ...props, viewBox: "0 0 30 30", fill: "none" }, /* @__PURE__ */ React69__namespace.createElement(
6303
6298
  "path",
6304
6299
  {
6305
6300
  fillRule: "evenodd",
@@ -6326,7 +6321,7 @@ var init_JumpButton = __esm({
6326
6321
  variant: "jumpSkip",
6327
6322
  size: size2
6328
6323
  });
6329
- return /* @__PURE__ */ React50__namespace.default.createElement(
6324
+ return /* @__PURE__ */ React69__namespace.default.createElement(
6330
6325
  react.Center,
6331
6326
  {
6332
6327
  as: "button",
@@ -6335,7 +6330,7 @@ var init_JumpButton = __esm({
6335
6330
  disabled: isDisabled,
6336
6331
  ...props
6337
6332
  },
6338
- direction2 === "forward" ? /* @__PURE__ */ React50__namespace.default.createElement(JumpForwardIcon, { sx: styles3.icon }) : /* @__PURE__ */ React50__namespace.default.createElement(JumpBackwardIcon, { sx: styles3.icon })
6333
+ direction2 === "forward" ? /* @__PURE__ */ React69__namespace.default.createElement(JumpForwardIcon, { sx: styles3.icon }) : /* @__PURE__ */ React69__namespace.default.createElement(JumpBackwardIcon, { sx: styles3.icon })
6339
6334
  );
6340
6335
  };
6341
6336
  texts18 = createTexts({
@@ -6370,7 +6365,7 @@ var init_PlayPauseButton = __esm({
6370
6365
  variant: "play",
6371
6366
  size: size2
6372
6367
  });
6373
- return /* @__PURE__ */ React50__namespace.default.createElement(
6368
+ return /* @__PURE__ */ React69__namespace.default.createElement(
6374
6369
  react.Center,
6375
6370
  {
6376
6371
  as: "button",
@@ -6379,7 +6374,7 @@ var init_PlayPauseButton = __esm({
6379
6374
  disabled: isDisabled,
6380
6375
  ...props
6381
6376
  },
6382
- isPlaying ? /* @__PURE__ */ React50__namespace.default.createElement(PauseIcon, { sx: styles3.icon }) : /* @__PURE__ */ React50__namespace.default.createElement(PlayIcon, { sx: styles3.icon })
6377
+ isPlaying ? /* @__PURE__ */ React69__namespace.default.createElement(PauseIcon, { sx: styles3.icon }) : /* @__PURE__ */ React69__namespace.default.createElement(PlayIcon, { sx: styles3.icon })
6383
6378
  );
6384
6379
  };
6385
6380
  texts19 = createTexts({
@@ -6414,7 +6409,7 @@ var init_SkipButton = __esm({
6414
6409
  variant: "jumpSkip",
6415
6410
  size: size2
6416
6411
  });
6417
- return /* @__PURE__ */ React50__namespace.default.createElement(
6412
+ return /* @__PURE__ */ React69__namespace.default.createElement(
6418
6413
  react.Center,
6419
6414
  {
6420
6415
  as: "button",
@@ -6423,7 +6418,7 @@ var init_SkipButton = __esm({
6423
6418
  disabled: isDisabled,
6424
6419
  ...props
6425
6420
  },
6426
- direction2 === "forward" ? /* @__PURE__ */ React50__namespace.default.createElement(SkipNextIcon, { sx: styles3.icon }) : /* @__PURE__ */ React50__namespace.default.createElement(SkipPreviousIcon, { sx: styles3.icon })
6421
+ direction2 === "forward" ? /* @__PURE__ */ React69__namespace.default.createElement(SkipNextIcon, { sx: styles3.icon }) : /* @__PURE__ */ React69__namespace.default.createElement(SkipPreviousIcon, { sx: styles3.icon })
6427
6422
  );
6428
6423
  };
6429
6424
  texts20 = createTexts({
@@ -6460,7 +6455,7 @@ var init_ModalHeader = __esm({
6460
6455
  fontSize: size2 === "lg" ? ["mobile.lg", "desktop.lg"] : ["mobile.md", "desktop.md"],
6461
6456
  textAlign: size2 === "lg" ? "center" : "left"
6462
6457
  };
6463
- return /* @__PURE__ */ React50__namespace.default.createElement(react.ModalHeader, { ...props, ref, ...styles3 });
6458
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.ModalHeader, { ...props, ref, ...styles3 });
6464
6459
  }
6465
6460
  );
6466
6461
  }
@@ -6470,7 +6465,7 @@ var init_Drawer = __esm({
6470
6465
  "src/modal/Drawer.tsx"() {
6471
6466
  init_ModalHeader();
6472
6467
  exports.Drawer = (props) => {
6473
- return /* @__PURE__ */ React50__namespace.default.createElement(DrawerProvider, { placement: props.placement }, /* @__PURE__ */ React50__namespace.default.createElement(react.Drawer, { ...props }));
6468
+ return /* @__PURE__ */ React69__namespace.default.createElement(DrawerProvider, { placement: props.placement }, /* @__PURE__ */ React69__namespace.default.createElement(react.Drawer, { ...props }));
6474
6469
  };
6475
6470
  exports.DrawerContent = react.forwardRef(
6476
6471
  ({ children, ...props }, ref) => {
@@ -6487,7 +6482,7 @@ var init_Drawer = __esm({
6487
6482
  });
6488
6483
  const isTopOrBottom = placement === "top" || placement === "bottom";
6489
6484
  const widthConstraits = isTopOrBottom ? { width: ["100%", "37.5rem"], mx: "auto" } : {};
6490
- return /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { ...handlers }, /* @__PURE__ */ React50__namespace.default.createElement(
6485
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { ...handlers }, /* @__PURE__ */ React69__namespace.default.createElement(
6491
6486
  react.DrawerContent,
6492
6487
  {
6493
6488
  ...widthConstraits,
@@ -6496,13 +6491,13 @@ var init_Drawer = __esm({
6496
6491
  ...props,
6497
6492
  ref
6498
6493
  },
6499
- /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { position: "relative" }, /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { maxHeight: "100vh", maxWidth: "100vw", overflow: "auto" }, isTopOrBottom && /* @__PURE__ */ React50__namespace.default.createElement(Notch, null), /* @__PURE__ */ React50__namespace.default.createElement(react.Box, null, children)))
6494
+ /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { position: "relative" }, /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { maxHeight: "100vh", maxWidth: "100vw", overflow: "auto" }, isTopOrBottom && /* @__PURE__ */ React69__namespace.default.createElement(Notch, null), /* @__PURE__ */ React69__namespace.default.createElement(react.Box, null, children)))
6500
6495
  ));
6501
6496
  }
6502
6497
  );
6503
6498
  Notch = react.forwardRef((props, ref) => {
6504
6499
  const placement = useDrawerContext();
6505
- return /* @__PURE__ */ React50__namespace.default.createElement(
6500
+ return /* @__PURE__ */ React69__namespace.default.createElement(
6506
6501
  react.Box,
6507
6502
  {
6508
6503
  position: "absolute",
@@ -6514,14 +6509,14 @@ var init_Drawer = __esm({
6514
6509
  ...props,
6515
6510
  ref
6516
6511
  },
6517
- /* @__PURE__ */ React50__namespace.default.createElement(
6512
+ /* @__PURE__ */ React69__namespace.default.createElement(
6518
6513
  react.Center,
6519
6514
  {
6520
6515
  background: `linear-gradient(to ${placement === "bottom" ? "bottom" : "top"}, white 0%, white 60%, transparent)`,
6521
6516
  padding: 2,
6522
6517
  borderRadius: "md"
6523
6518
  },
6524
- /* @__PURE__ */ React50__namespace.default.createElement(
6519
+ /* @__PURE__ */ React69__namespace.default.createElement(
6525
6520
  react.Box,
6526
6521
  {
6527
6522
  width: "2.265rem",
@@ -6533,10 +6528,10 @@ var init_Drawer = __esm({
6533
6528
  )
6534
6529
  );
6535
6530
  });
6536
- DrawerContext = React50__namespace.default.createContext(void 0);
6537
- DrawerProvider = (props) => /* @__PURE__ */ React50__namespace.default.createElement(DrawerContext.Provider, { value: props.placement }, props.children);
6531
+ DrawerContext = React69__namespace.default.createContext(void 0);
6532
+ DrawerProvider = (props) => /* @__PURE__ */ React69__namespace.default.createElement(DrawerContext.Provider, { value: props.placement }, props.children);
6538
6533
  useDrawerContext = () => {
6539
- return React50__namespace.default.useContext(DrawerContext);
6534
+ return React69__namespace.default.useContext(DrawerContext);
6540
6535
  };
6541
6536
  }
6542
6537
  });
@@ -6554,7 +6549,7 @@ var init_SimpleDrawer = __esm({
6554
6549
  title,
6555
6550
  ...props
6556
6551
  }) => {
6557
- return /* @__PURE__ */ React50__namespace.default.createElement(exports.Drawer, { placement, ...props }, /* @__PURE__ */ React50__namespace.default.createElement(react.DrawerOverlay, null), /* @__PURE__ */ React50__namespace.default.createElement(exports.DrawerContent, null, /* @__PURE__ */ React50__namespace.default.createElement(react.DrawerCloseButton, null), title && /* @__PURE__ */ React50__namespace.default.createElement(exports.ModalHeader, null, title), /* @__PURE__ */ React50__namespace.default.createElement(react.DrawerBody, null, children)));
6552
+ return /* @__PURE__ */ React69__namespace.default.createElement(exports.Drawer, { placement, ...props }, /* @__PURE__ */ React69__namespace.default.createElement(react.DrawerOverlay, null), /* @__PURE__ */ React69__namespace.default.createElement(exports.DrawerContent, null, /* @__PURE__ */ React69__namespace.default.createElement(react.DrawerCloseButton, null), title && /* @__PURE__ */ React69__namespace.default.createElement(exports.ModalHeader, null, title), /* @__PURE__ */ React69__namespace.default.createElement(react.DrawerBody, null, children)));
6558
6553
  };
6559
6554
  }
6560
6555
  });
@@ -6573,16 +6568,16 @@ var init_PopoverWizardBody = __esm({
6573
6568
  "src/popover/PopoverWizardBody.tsx"() {
6574
6569
  init_src();
6575
6570
  exports.PopoverWizardBody = ({ children }) => {
6576
- const [currentStep, setCurrentStep] = React50__namespace.useState(1);
6577
- const totalSteps = React50__namespace.Children.count(children);
6571
+ const [currentStep, setCurrentStep] = React69__namespace.useState(1);
6572
+ const totalSteps = React69__namespace.Children.count(children);
6578
6573
  const { isOpen } = react.usePopoverContext();
6579
- React50__namespace.useEffect(() => {
6574
+ React69__namespace.useEffect(() => {
6580
6575
  if (!isOpen && currentStep > 1) {
6581
6576
  const id = setTimeout(() => setCurrentStep(1), 500);
6582
6577
  return () => clearTimeout(id);
6583
6578
  }
6584
6579
  }, [isOpen, currentStep]);
6585
- return /* @__PURE__ */ React50__namespace.createElement(react.PopoverBody, null, /* @__PURE__ */ React50__namespace.createElement(exports.Stack, { spacing: 1.5 }, /* @__PURE__ */ React50__namespace.createElement(react.Box, null, React50__namespace.Children.toArray(children)[currentStep - 1]), /* @__PURE__ */ React50__namespace.createElement(react.Flex, { gap: 3 }, /* @__PURE__ */ React50__namespace.createElement(StepIndicator, { totalSteps, currentStep }), /* @__PURE__ */ React50__namespace.createElement(
6580
+ return /* @__PURE__ */ React69__namespace.createElement(react.PopoverBody, null, /* @__PURE__ */ React69__namespace.createElement(exports.Stack, { spacing: 1.5 }, /* @__PURE__ */ React69__namespace.createElement(react.Box, null, React69__namespace.Children.toArray(children)[currentStep - 1]), /* @__PURE__ */ React69__namespace.createElement(react.Flex, { gap: 3 }, /* @__PURE__ */ React69__namespace.createElement(StepIndicator, { totalSteps, currentStep }), /* @__PURE__ */ React69__namespace.createElement(
6586
6581
  NextStepButton,
6587
6582
  {
6588
6583
  isLastStep: totalSteps === currentStep,
@@ -6592,7 +6587,7 @@ var init_PopoverWizardBody = __esm({
6592
6587
  };
6593
6588
  StepIndicator = ({ totalSteps, currentStep }) => {
6594
6589
  const steps = createRange(1, totalSteps);
6595
- return /* @__PURE__ */ React50__namespace.createElement(react.Flex, { gap: 1, alignItems: "center" }, steps.map((step) => /* @__PURE__ */ React50__namespace.createElement(
6590
+ return /* @__PURE__ */ React69__namespace.createElement(react.Flex, { gap: 1, alignItems: "center" }, steps.map((step) => /* @__PURE__ */ React69__namespace.createElement(
6596
6591
  react.Box,
6597
6592
  {
6598
6593
  key: step,
@@ -6611,13 +6606,13 @@ var init_PopoverWizardBody = __esm({
6611
6606
  NextStepButton = ({ isLastStep, onNext }) => {
6612
6607
  const { onClose } = react.usePopoverContext();
6613
6608
  const { t: t2 } = useTranslation();
6614
- return /* @__PURE__ */ React50__namespace.createElement(
6609
+ return /* @__PURE__ */ React69__namespace.createElement(
6615
6610
  exports.Button,
6616
6611
  {
6617
6612
  variant: "additional",
6618
6613
  size: "sm",
6619
6614
  color: "white",
6620
- leftIcon: isLastStep ? void 0 : /* @__PURE__ */ React50__namespace.createElement(sporIconReact.ArrowRightFill18Icon, null),
6615
+ leftIcon: isLastStep ? void 0 : /* @__PURE__ */ React69__namespace.createElement(sporIconReact.ArrowRightFill18Icon, null),
6621
6616
  onClick: isLastStep ? onClose : onNext
6622
6617
  },
6623
6618
  t2(isLastStep ? texts21.finish : texts21.nextStep)
@@ -6654,7 +6649,7 @@ var init_SimplePopover = __esm({
6654
6649
  borderRadius,
6655
6650
  ...props
6656
6651
  }) => {
6657
- return /* @__PURE__ */ React50__namespace.default.createElement(react.DarkMode, null, /* @__PURE__ */ React50__namespace.default.createElement(
6652
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.DarkMode, null, /* @__PURE__ */ React69__namespace.default.createElement(
6658
6653
  react.Popover,
6659
6654
  {
6660
6655
  onClose,
@@ -6666,8 +6661,8 @@ var init_SimplePopover = __esm({
6666
6661
  arrowShadowColor: "none",
6667
6662
  ...props
6668
6663
  },
6669
- triggerElement && /* @__PURE__ */ React50__namespace.default.createElement(react.PopoverTrigger, null, triggerElement),
6670
- /* @__PURE__ */ React50__namespace.default.createElement(react.PopoverContent, { borderRadius }, /* @__PURE__ */ React50__namespace.default.createElement(react.PopoverArrow, null), withCloseButton && /* @__PURE__ */ React50__namespace.default.createElement(react.PopoverCloseButton, null), /* @__PURE__ */ React50__namespace.default.createElement(react.PopoverBody, null, children))
6664
+ triggerElement && /* @__PURE__ */ React69__namespace.default.createElement(react.PopoverTrigger, null, triggerElement),
6665
+ /* @__PURE__ */ React69__namespace.default.createElement(react.PopoverContent, { borderRadius }, /* @__PURE__ */ React69__namespace.default.createElement(react.PopoverArrow, null), withCloseButton && /* @__PURE__ */ React69__namespace.default.createElement(react.PopoverCloseButton, null), /* @__PURE__ */ React69__namespace.default.createElement(react.PopoverBody, null, children))
6671
6666
  ));
6672
6667
  };
6673
6668
  }
@@ -6681,7 +6676,7 @@ var init_WizardPopover = __esm({
6681
6676
  triggerElement,
6682
6677
  withCloseButton = false
6683
6678
  }) => {
6684
- return /* @__PURE__ */ React50__namespace.createElement(react.DarkMode, null, /* @__PURE__ */ React50__namespace.createElement(react.Popover, { size: "lg" }, /* @__PURE__ */ React50__namespace.createElement(react.PopoverTrigger, null, triggerElement), /* @__PURE__ */ React50__namespace.createElement(react.PopoverContent, null, /* @__PURE__ */ React50__namespace.createElement(react.PopoverArrow, null), withCloseButton && /* @__PURE__ */ React50__namespace.createElement(react.PopoverCloseButton, null), /* @__PURE__ */ React50__namespace.createElement(exports.PopoverWizardBody, null, children))));
6679
+ return /* @__PURE__ */ React69__namespace.createElement(react.DarkMode, null, /* @__PURE__ */ React69__namespace.createElement(react.Popover, { size: "lg" }, /* @__PURE__ */ React69__namespace.createElement(react.PopoverTrigger, null, triggerElement), /* @__PURE__ */ React69__namespace.createElement(react.PopoverContent, null, /* @__PURE__ */ React69__namespace.createElement(react.PopoverArrow, null), withCloseButton && /* @__PURE__ */ React69__namespace.createElement(react.PopoverCloseButton, null), /* @__PURE__ */ React69__namespace.createElement(exports.PopoverWizardBody, null, children))));
6685
6680
  };
6686
6681
  }
6687
6682
  });
@@ -6703,7 +6698,7 @@ var init_SporProvider = __esm({
6703
6698
  children,
6704
6699
  ...props
6705
6700
  }) => {
6706
- return /* @__PURE__ */ React50__namespace.default.createElement(LanguageProvider, { language }, /* @__PURE__ */ React50__namespace.default.createElement(react.ChakraProvider, { theme: theme3, ...props }, /* @__PURE__ */ React50__namespace.default.createElement(react$1.Global, { styles: exports.fontFaces }), children));
6701
+ return /* @__PURE__ */ React69__namespace.default.createElement(LanguageProvider, { language }, /* @__PURE__ */ React69__namespace.default.createElement(react.ChakraProvider, { theme: theme3, ...props }, /* @__PURE__ */ React69__namespace.default.createElement(react$1.Global, { styles: exports.fontFaces }), children));
6707
6702
  };
6708
6703
  }
6709
6704
  });
@@ -6717,7 +6712,7 @@ var init_provider = __esm({
6717
6712
  var StepperContext, StepperProvider, useStepper;
6718
6713
  var init_StepperContext = __esm({
6719
6714
  "src/stepper/StepperContext.tsx"() {
6720
- StepperContext = React50__namespace.default.createContext(null);
6715
+ StepperContext = React69__namespace.default.createContext(null);
6721
6716
  StepperProvider = ({
6722
6717
  activeStep,
6723
6718
  children,
@@ -6725,7 +6720,7 @@ var init_StepperContext = __esm({
6725
6720
  colorScheme,
6726
6721
  numberOfSteps
6727
6722
  }) => {
6728
- return /* @__PURE__ */ React50__namespace.default.createElement(
6723
+ return /* @__PURE__ */ React69__namespace.default.createElement(
6729
6724
  StepperContext.Provider,
6730
6725
  {
6731
6726
  value: { activeStep, onClick, colorScheme, numberOfSteps }
@@ -6734,7 +6729,7 @@ var init_StepperContext = __esm({
6734
6729
  );
6735
6730
  };
6736
6731
  useStepper = () => {
6737
- const context = React50__namespace.default.useContext(StepperContext);
6732
+ const context = React69__namespace.default.useContext(StepperContext);
6738
6733
  if (!context) {
6739
6734
  throw new Error(
6740
6735
  "useStepper must be used within a StepperProvider. Most likely, you forgot to wrap your StepperStep in a Stepper component"
@@ -6762,7 +6757,7 @@ var init_Stepper = __esm({
6762
6757
  const numberOfSteps = steps.length;
6763
6758
  const activeStep = Number(activeStepAsStringOrNumber);
6764
6759
  const { t: t2 } = useTranslation();
6765
- return /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { __css: style.root }, /* @__PURE__ */ React50__namespace.default.createElement(
6760
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { __css: style.root }, /* @__PURE__ */ React69__namespace.default.createElement(
6766
6761
  StepperProvider,
6767
6762
  {
6768
6763
  onClick,
@@ -6770,24 +6765,24 @@ var init_Stepper = __esm({
6770
6765
  colorScheme,
6771
6766
  numberOfSteps
6772
6767
  },
6773
- /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { __css: style.container }, /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { __css: style.innerContainer }, /* @__PURE__ */ React50__namespace.default.createElement(react.HStack, null, activeStep > 1 && /* @__PURE__ */ React50__namespace.default.createElement(
6768
+ /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { __css: style.container }, /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { __css: style.innerContainer }, /* @__PURE__ */ React69__namespace.default.createElement(react.HStack, null, activeStep > 1 && /* @__PURE__ */ React69__namespace.default.createElement(
6774
6769
  exports.IconButton,
6775
6770
  {
6776
6771
  "aria-label": t2(texts22.back),
6777
- icon: /* @__PURE__ */ React50__namespace.default.createElement(sporIconReact.DropdownLeftFill24Icon, null),
6772
+ icon: /* @__PURE__ */ React69__namespace.default.createElement(sporIconReact.DropdownLeftFill24Icon, null),
6778
6773
  variant: "ghost",
6779
6774
  size: "sm",
6780
6775
  onClick: () => onClick(activeStep - 1),
6781
6776
  __css: style.backButton
6782
6777
  }
6783
- ), /* @__PURE__ */ React50__namespace.default.createElement(
6778
+ ), /* @__PURE__ */ React69__namespace.default.createElement(
6784
6779
  exports.SimplePopover,
6785
6780
  {
6786
- triggerElement: /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { as: "button", __css: style.stepCounter }, t2(texts22.stepsOf(activeStep, numberOfSteps))),
6781
+ triggerElement: /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { as: "button", __css: style.stepCounter }, t2(texts22.stepsOf(activeStep, numberOfSteps))),
6787
6782
  borderRadius: "xs"
6788
6783
  },
6789
- steps.map((step, index) => /* @__PURE__ */ React50__namespace.default.createElement(exports.StepperStep, { key: step, stepNumber: index + 1 }, step))
6790
- )), title && /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { as: "h3", __css: style.title }, title)), /* @__PURE__ */ React50__namespace.default.createElement(react.Flex, { justifyContent: "center", display: ["none", "flex"] }, steps.map((step, index) => /* @__PURE__ */ React50__namespace.default.createElement(exports.StepperStep, { key: index, stepNumber: index + 1 }, step))))
6784
+ steps.map((step, index) => /* @__PURE__ */ React69__namespace.default.createElement(exports.StepperStep, { key: step, stepNumber: index + 1 }, step))
6785
+ )), title && /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { as: "h3", __css: style.title }, title)), /* @__PURE__ */ React69__namespace.default.createElement(react.Flex, { justifyContent: "center", display: ["none", "flex"] }, steps.map((step, index) => /* @__PURE__ */ React69__namespace.default.createElement(exports.StepperStep, { key: index, stepNumber: index + 1 }, step))))
6791
6786
  ));
6792
6787
  };
6793
6788
  texts22 = createTexts({
@@ -6818,7 +6813,7 @@ var init_StepperStep = __esm({
6818
6813
  variant,
6819
6814
  colorScheme
6820
6815
  });
6821
- return /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { __css: style.stepContainer }, stepNumber > 1 && /* @__PURE__ */ React50__namespace.default.createElement(sporIconReact.DropdownRightFill18Icon, { marginX: 5, display: ["none", "block"] }), /* @__PURE__ */ React50__namespace.default.createElement(
6816
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { __css: style.stepContainer }, stepNumber > 1 && /* @__PURE__ */ React69__namespace.default.createElement(sporIconReact.DropdownRightFill18Icon, { marginX: 5, display: ["none", "block"] }), /* @__PURE__ */ React69__namespace.default.createElement(
6822
6817
  react.Flex,
6823
6818
  {
6824
6819
  __css: style.stepButton,
@@ -6828,8 +6823,8 @@ var init_StepperStep = __esm({
6828
6823
  disabled: variant === "disabled" || variant === "active",
6829
6824
  onClick: () => onClick(stepNumber)
6830
6825
  },
6831
- /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { __css: style.stepNumber }, stepNumber),
6832
- /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { __css: style.stepTitle }, children)
6826
+ /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { __css: style.stepNumber }, stepNumber),
6827
+ /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { __css: style.stepTitle }, children)
6833
6828
  ));
6834
6829
  };
6835
6830
  getVariant = (stepNumber, activeStep) => {
@@ -6855,7 +6850,7 @@ exports.Tabs = void 0;
6855
6850
  var init_Tabs = __esm({
6856
6851
  "src/tab/Tabs.tsx"() {
6857
6852
  exports.Tabs = react.forwardRef((props, ref) => {
6858
- return /* @__PURE__ */ React50__namespace.createElement(react.Tabs, { ...props, ref });
6853
+ return /* @__PURE__ */ React69__namespace.createElement(react.Tabs, { ...props, ref });
6859
6854
  });
6860
6855
  }
6861
6856
  });
@@ -6877,7 +6872,7 @@ var init_Table = __esm({
6877
6872
  "src/table/Table.tsx"() {
6878
6873
  exports.Table = react.forwardRef((props, ref) => {
6879
6874
  const { variant, size: size2, colorScheme, children, ...rest } = props;
6880
- return /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { ...rest, ...getStyleProps(props) }, /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { overflowX: "auto" }, /* @__PURE__ */ React50__namespace.default.createElement(
6875
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { ...rest, ...getStyleProps(props) }, /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { overflowX: "auto" }, /* @__PURE__ */ React69__namespace.default.createElement(
6881
6876
  react.Table,
6882
6877
  {
6883
6878
  variant,
@@ -12928,7 +12923,9 @@ var init_button2 = __esm({
12928
12923
  fontWeight: "bold",
12929
12924
  transitionProperty: "common",
12930
12925
  transitionDuration: "normal",
12931
- px: 3,
12926
+ textWrap: "wrap",
12927
+ paddingX: 3,
12928
+ paddingY: 1,
12932
12929
  _focus: {
12933
12930
  boxShadow: 0,
12934
12931
  outline: 0
@@ -13177,7 +13174,7 @@ var init_button2 = __esm({
13177
13174
  minHeight: 5,
13178
13175
  minWidth: 5,
13179
13176
  fontSize: "16px",
13180
- px: 2
13177
+ paddingX: 2
13181
13178
  }
13182
13179
  },
13183
13180
  defaultProps: {
@@ -13188,28 +13185,6 @@ var init_button2 = __esm({
13188
13185
  button_default = config6;
13189
13186
  }
13190
13187
  });
13191
- function getColorSchemeBaseProps({ colorScheme }) {
13192
- var _a6;
13193
- switch (colorScheme) {
13194
- case "white":
13195
- return {
13196
- backgroundColor: "white"
13197
- };
13198
- case "grey":
13199
- return {
13200
- backgroundColor: "lightGrey"
13201
- };
13202
- case "green": {
13203
- return {
13204
- backgroundColor: "seaMist"
13205
- };
13206
- }
13207
- default:
13208
- return {
13209
- backgroundColor: ((_a6 = colors[colorScheme]) == null ? void 0 : _a6[100]) ?? "platinum"
13210
- };
13211
- }
13212
- }
13213
13188
  function getColorSchemeClickableProps({ colorScheme, size: size2 }) {
13214
13189
  var _a6, _b5;
13215
13190
  const baseShadow = size2 === "lg" ? "md" : "sm";
@@ -13241,71 +13216,7 @@ function getColorSchemeClickableProps({ colorScheme, size: size2 }) {
13241
13216
  };
13242
13217
  }
13243
13218
  }
13244
- function getColorSchemeHoverProps({ colorScheme, size: size2 }) {
13245
- var _a6, _b5;
13246
- const baseShadow = size2 === "lg" ? "lg" : "md";
13247
- switch (colorScheme) {
13248
- case "white":
13249
- return {
13250
- boxShadow: getBoxShadowString({
13251
- baseShadow,
13252
- borderColor: colors.steel,
13253
- isInset: false
13254
- })
13255
- };
13256
- case "grey":
13257
- return {
13258
- boxShadow: getBoxShadowString({
13259
- baseShadow,
13260
- borderColor: colors.osloGrey,
13261
- isInset: false
13262
- })
13263
- };
13264
- default:
13265
- return {
13266
- backgroundColor: ((_a6 = colors[colorScheme]) == null ? void 0 : _a6[200]) ?? "silver",
13267
- boxShadow: getBoxShadowString({
13268
- baseShadow,
13269
- borderColor: ((_b5 = colors[colorScheme]) == null ? void 0 : _b5[400]) ?? colors.silver,
13270
- isInset: false
13271
- })
13272
- };
13273
- }
13274
- }
13275
- function getColorSchemeActiveProps({ colorScheme, size: size2 }) {
13276
- var _a6, _b5;
13277
- const baseShadow = size2 === "lg" ? "sm" : "none";
13278
- switch (colorScheme) {
13279
- case "white":
13280
- return {
13281
- backgroundColor: "mint",
13282
- boxShadow: getBoxShadowString({
13283
- baseShadow,
13284
- borderColor: colors.silver,
13285
- isInset: false
13286
- })
13287
- };
13288
- case "grey":
13289
- return {
13290
- backgroundColor: "white",
13291
- boxShadow: getBoxShadowString({
13292
- baseShadow,
13293
- borderColor: colors.steel,
13294
- isInset: false
13295
- })
13296
- };
13297
- default:
13298
- return {
13299
- backgroundColor: ((_a6 = colors[colorScheme]) == null ? void 0 : _a6[50]) ?? "lightGrey",
13300
- boxShadow: getBoxShadowString({
13301
- baseShadow,
13302
- borderColor: ((_b5 = colors[colorScheme]) == null ? void 0 : _b5[100]) ?? colors.silver,
13303
- isInset: false
13304
- })
13305
- };
13306
- }
13307
- }
13308
- var config7, card_default;
13219
+ var config7, card_default, getColorSchemeBaseProps, getColorSchemeHoverProps, getColorSchemeActiveProps;
13309
13220
  var init_card2 = __esm({
13310
13221
  "src/theme/components/card.ts"() {
13311
13222
  init_foundations();
@@ -13329,7 +13240,7 @@ var init_card2 = __esm({
13329
13240
  ...focusVisible({
13330
13241
  focus: {
13331
13242
  boxShadow: getBoxShadowString({
13332
- borderColor: "greenHaze",
13243
+ borderColor: themeTools.mode("greenHaze", "azure")(props),
13333
13244
  borderWidth: 2,
13334
13245
  isInset: false
13335
13246
  }),
@@ -13354,6 +13265,102 @@ var init_card2 = __esm({
13354
13265
  })
13355
13266
  });
13356
13267
  card_default = config7;
13268
+ getColorSchemeBaseProps = (props) => {
13269
+ var _a6;
13270
+ const { colorScheme, size: size2 } = props;
13271
+ const baseShadow = size2 === "lg" ? "md" : "sm";
13272
+ switch (colorScheme) {
13273
+ case "white":
13274
+ return {
13275
+ backgroundColor: themeTools.mode("white", "whiteAlpha.100")(props),
13276
+ boxShadow: getBoxShadowString({
13277
+ baseShadow,
13278
+ borderColor: "silver",
13279
+ isInset: false
13280
+ })
13281
+ };
13282
+ case "grey":
13283
+ return {
13284
+ backgroundColor: "lightGrey"
13285
+ };
13286
+ case "green": {
13287
+ return {
13288
+ backgroundColor: "seaMist"
13289
+ };
13290
+ }
13291
+ default:
13292
+ return {
13293
+ backgroundColor: ((_a6 = colors[colorScheme]) == null ? void 0 : _a6[100]) ?? "platinum"
13294
+ };
13295
+ }
13296
+ };
13297
+ getColorSchemeHoverProps = (props) => {
13298
+ var _a6, _b5;
13299
+ const { colorScheme, size: size2 } = props;
13300
+ const baseShadow = size2 === "lg" ? "lg" : "md";
13301
+ switch (colorScheme) {
13302
+ case "white":
13303
+ return {
13304
+ backgroundColor: themeTools.mode("white", "whiteAlpha.200")(props),
13305
+ boxShadow: getBoxShadowString({
13306
+ baseShadow,
13307
+ borderColor: colors.steel,
13308
+ isInset: false
13309
+ })
13310
+ };
13311
+ case "grey":
13312
+ return {
13313
+ boxShadow: getBoxShadowString({
13314
+ baseShadow,
13315
+ borderColor: colors.osloGrey,
13316
+ isInset: false
13317
+ })
13318
+ };
13319
+ default:
13320
+ return {
13321
+ backgroundColor: ((_a6 = colors[colorScheme]) == null ? void 0 : _a6[200]) ?? "silver",
13322
+ boxShadow: getBoxShadowString({
13323
+ baseShadow,
13324
+ borderColor: ((_b5 = colors[colorScheme]) == null ? void 0 : _b5[400]) ?? colors.silver,
13325
+ isInset: false
13326
+ })
13327
+ };
13328
+ }
13329
+ };
13330
+ getColorSchemeActiveProps = (props) => {
13331
+ var _a6, _b5;
13332
+ const { colorScheme, size: size2 } = props;
13333
+ const baseShadow = size2 === "lg" ? "sm" : "none";
13334
+ switch (colorScheme) {
13335
+ case "white":
13336
+ return {
13337
+ backgroundColor: themeTools.mode("mint", "teal")(props),
13338
+ boxShadow: getBoxShadowString({
13339
+ baseShadow,
13340
+ borderColor: colors.silver,
13341
+ isInset: false
13342
+ })
13343
+ };
13344
+ case "grey":
13345
+ return {
13346
+ backgroundColor: "white",
13347
+ boxShadow: getBoxShadowString({
13348
+ baseShadow,
13349
+ borderColor: colors.steel,
13350
+ isInset: false
13351
+ })
13352
+ };
13353
+ default:
13354
+ return {
13355
+ backgroundColor: ((_a6 = colors[colorScheme]) == null ? void 0 : _a6[50]) ?? "lightGrey",
13356
+ boxShadow: getBoxShadowString({
13357
+ baseShadow,
13358
+ borderColor: ((_b5 = colors[colorScheme]) == null ? void 0 : _b5[100]) ?? colors.silver,
13359
+ isInset: false
13360
+ })
13361
+ };
13362
+ }
13363
+ };
13357
13364
  }
13358
13365
  });
13359
13366
  var parts2, helpers3, config8, card_select_default;
@@ -13695,34 +13702,35 @@ var init_close_button = __esm({
13695
13702
  init_focus_utils();
13696
13703
  $size6 = themeTools.cssVar("close-button-size");
13697
13704
  config11 = react.defineStyleConfig({
13698
- baseStyle: {
13705
+ baseStyle: (props) => ({
13699
13706
  w: [$size6.reference],
13700
13707
  h: [$size6.reference],
13701
13708
  transitionProperty: "common",
13702
13709
  transitionDuration: "normal",
13703
- borderRadius: "xs",
13710
+ borderRadius: "md",
13704
13711
  backgroundColor: "transparent",
13705
- color: "darkGrey",
13712
+ color: themeTools.mode("darkGrey", "white")(props),
13706
13713
  fontWeight: "normal",
13707
13714
  ...focusVisible({
13708
13715
  focus: {
13709
13716
  outline: "none",
13710
- boxShadow: getBoxShadowString({ borderColor: "greenHaze" })
13717
+ boxShadow: getBoxShadowString({ borderColor: themeTools.mode("greenHaze", "azure")(props) }),
13718
+ outlineOffset: "2px"
13711
13719
  },
13712
13720
  notFocus: {
13713
13721
  boxShadow: "none"
13714
13722
  }
13715
13723
  }),
13716
13724
  _hover: {
13717
- backgroundColor: "seaMist",
13725
+ backgroundColor: themeTools.mode("seaMist", "pine")(props),
13718
13726
  _disabled: {
13719
13727
  color: "dimGrey"
13720
13728
  }
13721
13729
  },
13722
13730
  _active: {
13723
- backgroundColor: "mint"
13731
+ backgroundColor: themeTools.mode("mint", "whiteAlpha.200")(props)
13724
13732
  }
13725
- },
13733
+ }),
13726
13734
  sizes: {
13727
13735
  lg: {
13728
13736
  [$size6.variable]: "40px",
@@ -13790,6 +13798,7 @@ var init_datepicker2 = __esm({
13790
13798
  }),
13791
13799
  transitionProperty: "box-shadow",
13792
13800
  transitionDuration: "fast",
13801
+ borderRadius: "sm",
13793
13802
  display: "flex",
13794
13803
  flex: 1,
13795
13804
  paddingY: 0.5,
@@ -13841,28 +13850,25 @@ var init_datepicker2 = __esm({
13841
13850
  },
13842
13851
  calendarTriggerButton: {
13843
13852
  backgroundColor: themeTools.mode("white", "night")(props),
13844
- boxShadow: `${getBoxShadowString({
13845
- borderColor: themeTools.mode("blackAlpha.400", "whiteAlpha.400")(props)
13846
- })}, inset 1px 0 0 1px ${themeTools.mode("white", colors.night)(props)}`,
13847
- // to make the shadow colors not multiply
13853
+ boxShadow: "none",
13848
13854
  width: 8,
13849
13855
  display: "flex",
13850
13856
  alignItems: "center",
13851
13857
  justifyContent: "center",
13852
- borderRightRadius: "sm",
13858
+ borderLeftRadius: "sm",
13853
13859
  transitionProperty: "box-shadow, background-color",
13854
13860
  transitionSpeed: "fast",
13855
13861
  position: "relative",
13856
- left: "-1px",
13857
- // To make the box-shadows overlap
13862
+ paddingTop: 1,
13863
+ paddingBottom: 1,
13864
+ borderRadius: "sm",
13865
+ right: "9px",
13858
13866
  _hover: {
13859
- boxShadow: `${getBoxShadowString({
13860
- borderColor: themeTools.mode("darkGrey", "white")(props),
13861
- borderWidth: 2
13862
- })}, inset 2px 0 0 2px ${themeTools.mode("white", colors.night)(props)}`
13867
+ boxShadow: "none",
13868
+ backgroundColor: themeTools.mode("seaMist", "pine")(props)
13863
13869
  },
13864
13870
  _active: {
13865
- backgroundColor: themeTools.mode("mint", "azure")(props)
13871
+ backgroundColor: themeTools.mode("mint", "whiteAlpha.200")(props)
13866
13872
  },
13867
13873
  ...focusVisible({
13868
13874
  focus: {
@@ -13891,13 +13897,17 @@ var init_datepicker2 = __esm({
13891
13897
  },
13892
13898
  calendar: {
13893
13899
  backgroundColor: themeTools.mode("white", "night")(props),
13894
- color: themeTools.mode("darkGrey", "white")(props)
13900
+ color: themeTools.mode("darkGrey", "white")(props),
13901
+ boxShadow: getBoxShadowString({
13902
+ borderWidth: 2,
13903
+ borderColor: themeTools.mode("blackAlpha.200", "whiteAlpha.200")(props)
13904
+ })
13895
13905
  },
13896
13906
  weekdays: {
13897
13907
  color: themeTools.mode("darkGrey", "white")(props)
13898
13908
  },
13899
13909
  weekend: {
13900
- color: themeTools.mode("greenHaze", "azure")(props)
13910
+ color: themeTools.mode("darkTeal", "seaMist")(props)
13901
13911
  },
13902
13912
  dateCell: {
13903
13913
  backgroundColor: themeTools.mode("white", "night")(props),
@@ -13956,7 +13966,7 @@ var init_datepicker2 = __esm({
13956
13966
  "&[data-today]": {
13957
13967
  boxShadow: getBoxShadowString({
13958
13968
  borderWidth: 1,
13959
- borderColor: themeTools.mode("osloGrey", "dimGrey")(props)
13969
+ borderColor: themeTools.mode("blackAlpha.400", "whiteAlpha.400")(props)
13960
13970
  }),
13961
13971
  _focus: {
13962
13972
  outline: "none",
@@ -13973,16 +13983,64 @@ var init_datepicker2 = __esm({
13973
13983
  }
13974
13984
  }),
13975
13985
  variants: {
13976
- simple: {
13977
- wrapper: {
13978
- borderRadius: "sm"
13986
+ base: (props) => ({
13987
+ calendar: {
13988
+ backgroundColor: themeTools.mode("white", "night")(props),
13989
+ color: themeTools.mode("darkGrey", "white")(props),
13990
+ boxShadow: getBoxShadowString({
13991
+ borderWidth: 2,
13992
+ borderColor: themeTools.mode("blackAlpha.200", "whiteAlpha.200")(props)
13993
+ })
13994
+ },
13995
+ dateCell: {
13996
+ color: themeTools.mode("darkGrey", "white")(props),
13997
+ _hover: {
13998
+ backgroundColor: themeTools.mode("seaMist", "pine")(props)
13999
+ },
14000
+ "&[data-today]": {
14001
+ boxShadow: getBoxShadowString({
14002
+ borderWidth: 1,
14003
+ borderColor: themeTools.mode("blackAlpha.400", "whiteAlpha.400")(props)
14004
+ })
14005
+ }
13979
14006
  }
13980
- },
13981
- "with-trigger": {
13982
- wrapper: {
13983
- borderLeftRadius: "sm"
14007
+ }),
14008
+ floating: (props) => ({
14009
+ calendar: {
14010
+ backgroundColor: themeTools.mode("white", "night")(props),
14011
+ color: themeTools.mode("darkGrey", "white")(props),
14012
+ boxShadow: getBoxShadowString({
14013
+ borderColor: themeTools.mode("grey.200", "whiteAlpha.400")(props),
14014
+ baseShadow: "sm"
14015
+ })
14016
+ },
14017
+ dateCell: {
14018
+ color: themeTools.mode("darkGrey", "white")(props),
14019
+ _hover: {
14020
+ backgroundColor: themeTools.mode("", "")(props)
14021
+ }
13984
14022
  }
13985
- }
14023
+ }),
14024
+ ghost: (props) => ({
14025
+ calendar: {
14026
+ backgroundColor: themeTools.mode("white", "night")(props),
14027
+ color: themeTools.mode("darkGrey", "white")(props),
14028
+ boxShadow: getBoxShadowString({
14029
+ borderWidth: 2,
14030
+ borderColor: themeTools.mode("", "")(props)
14031
+ })
14032
+ },
14033
+ dateCell: {
14034
+ color: themeTools.mode("darkGrey", "white")(props),
14035
+ _hover: {
14036
+ backgroundColor: themeTools.mode("seaMist", "pine")(props)
14037
+ },
14038
+ _selected: {
14039
+ backgroundColor: themeTools.mode("", "primaryGreen")(props),
14040
+ color: "darkGrey"
14041
+ }
14042
+ }
14043
+ })
13986
14044
  }
13987
14045
  });
13988
14046
  datepicker_default = config13;
@@ -14205,7 +14263,82 @@ var init_fab = __esm({
14205
14263
  color: "darkTeal",
14206
14264
  _active: { color: "darkTeal", backgroundColor: "lightGrey" }
14207
14265
  }
14208
- }
14266
+ },
14267
+ brand: (props) => ({
14268
+ container: {
14269
+ backgroundColor: themeTools.mode("darkTeal", "mint")(props),
14270
+ color: themeTools.mode("white", "darkTeal")(props),
14271
+ _active: { backgroundColor: themeTools.mode("pine", "white")(props) },
14272
+ _hover: {
14273
+ backgroundColor: themeTools.mode("night", "seaMist")(props)
14274
+ },
14275
+ ...focusVisible({
14276
+ focus: {
14277
+ boxShadow: themeTools.mode(
14278
+ `${props.theme.shadows.md}, inset 0 0 0 4px ${props.theme.colors.darkTeal}, inset 0 0 0 6px ${props.theme.colors.white}`,
14279
+ `${props.theme.shadows.md}, inset 0 0 0 4px ${props.theme.colors.mint}, inset 0 0 0 6px ${props.theme.colors.darkTeal}`
14280
+ )(props),
14281
+ outline: "none"
14282
+ },
14283
+ notFocus: {
14284
+ boxShadow: "md"
14285
+ }
14286
+ })
14287
+ }
14288
+ }),
14289
+ base: (props) => ({
14290
+ container: {
14291
+ backgroundColor: themeTools.mode("white", "whiteAlpha.100")(props),
14292
+ color: themeTools.mode("darkGrey", "white")(props),
14293
+ _active: {
14294
+ backgroundColor: themeTools.mode("mint", "whiteAlpha.100")(props),
14295
+ color: themeTools.mode("darkGrey", "white")(props)
14296
+ },
14297
+ _hover: {
14298
+ backgroundColor: themeTools.mode("white", "transparent")(props),
14299
+ boxShadow: themeTools.mode(`inset 0 0 0 2px ${props.theme.colors.darkGrey}`, `inset 0 0 0 2px ${props.theme.colors.white}`)(props),
14300
+ color: themeTools.mode("darkGrey", "white")(props)
14301
+ },
14302
+ ...focusVisible({
14303
+ focus: {
14304
+ boxShadow: themeTools.mode(
14305
+ `${props.theme.shadows.md}, inset 0 0 0 4px ${props.theme.colors.white}, inset 0 0 0 6px ${props.theme.colors.darkGrey}`,
14306
+ `${props.theme.shadows.md}, inset 0 0 0 4px ${props.theme.colors.brightRed}, inset 0 0 0 6px ${props.theme.colors.white}`
14307
+ )(props),
14308
+ outline: "none"
14309
+ },
14310
+ notFocus: {
14311
+ boxShadow: "md"
14312
+ }
14313
+ })
14314
+ }
14315
+ }),
14316
+ accent: (props) => ({
14317
+ container: {
14318
+ backgroundColor: themeTools.mode("mint", "pine")(props),
14319
+ color: themeTools.mode("darkTeal", "white")(props),
14320
+ _active: {
14321
+ backgroundColor: themeTools.mode("seaMist", "whiteAlpha.100")(props),
14322
+ color: themeTools.mode("darkTeal", "white")(props)
14323
+ },
14324
+ _hover: {
14325
+ backgroundColor: themeTools.mode("coralGreen", "whiteAlpha.200")(props),
14326
+ color: themeTools.mode("darkTeal", "white")(props)
14327
+ },
14328
+ ...focusVisible({
14329
+ focus: {
14330
+ boxShadow: themeTools.mode(
14331
+ `${props.theme.shadows.md}, inset 0 0 0 4px ${props.theme.colors.mint}, inset 0 0 0 6px ${props.theme.colors.azure}`,
14332
+ `${props.theme.shadows.md}, inset 0 0 0 4px ${props.theme.colors.pine}, inset 0 0 0 6px ${props.theme.colors.azure}`
14333
+ )(props),
14334
+ outline: "none"
14335
+ },
14336
+ notFocus: {
14337
+ boxShadow: "md"
14338
+ }
14339
+ })
14340
+ }
14341
+ })
14209
14342
  },
14210
14343
  defaultProps: {
14211
14344
  variant: "dark"
@@ -14521,9 +14654,9 @@ var init_travel_tag = __esm({
14521
14654
  backgroundColor: "linjetag.altTransportLight"
14522
14655
  }
14523
14656
  },
14524
- walk: {
14657
+ walk: (props) => ({
14525
14658
  container: {
14526
- backgroundColor: "white",
14659
+ backgroundColor: themeTools.mode("white", "transparent")(props),
14527
14660
  _disabled: {
14528
14661
  backgroundColor: "white"
14529
14662
  }
@@ -14532,6 +14665,7 @@ var init_travel_tag = __esm({
14532
14665
  border: "none",
14533
14666
  position: "relative",
14534
14667
  left: -1,
14668
+ backgroundColor: themeTools.mode("white", "transparent")(props),
14535
14669
  "[aria-disabled=true] &": {
14536
14670
  backgroundColor: "transparent",
14537
14671
  color: "osloGrey"
@@ -14547,12 +14681,13 @@ var init_travel_tag = __esm({
14547
14681
  },
14548
14682
  title: {
14549
14683
  fontSize: "mobile.xs",
14550
- fontWeight: "normal"
14684
+ fontWeight: "normal",
14685
+ color: themeTools.mode("black", "white")(props)
14551
14686
  },
14552
14687
  description: {
14553
14688
  display: "none"
14554
14689
  }
14555
- }
14690
+ })
14556
14691
  },
14557
14692
  sizes: {
14558
14693
  sm: {
@@ -14663,6 +14798,9 @@ var init_info_tag = __esm({
14663
14798
  iconContainer: {
14664
14799
  ...travel_tag_default.baseStyle(props).iconContainer,
14665
14800
  padding: 1
14801
+ },
14802
+ textContainer: {
14803
+ color: themeTools.mode("darkGrey", "white")(props)
14666
14804
  }
14667
14805
  }),
14668
14806
  sizes: {
@@ -14688,6 +14826,17 @@ var init_info_tag = __esm({
14688
14826
  },
14689
14827
  defaultProps: {
14690
14828
  size: "md"
14829
+ },
14830
+ variants: {
14831
+ "walk": (props) => ({
14832
+ iconContainer: {
14833
+ backgroundColor: themeTools.mode("white", "transparent")(props),
14834
+ boxShadow: themeTools.mode(
14835
+ `${props.theme.shadows.md}, inset 0 0 0 2px ${props.theme.colors.black[200]}`,
14836
+ `${props.theme.shadows.md}, inset 0 0 0 2px ${props.theme.colors.whiteAlpha[400]}`
14837
+ )(props)
14838
+ }
14839
+ })
14691
14840
  }
14692
14841
  });
14693
14842
  info_tag_default = config20;
@@ -14876,7 +15025,7 @@ var init_line_icon = __esm({
14876
15025
  }
14877
15026
  }
14878
15027
  },
14879
- walk: {
15028
+ walk: (props) => ({
14880
15029
  iconContainer: {
14881
15030
  backgroundColor: "white",
14882
15031
  borderWidth: 1,
@@ -14884,12 +15033,12 @@ var init_line_icon = __esm({
14884
15033
  borderColor: "blackAlpha.200"
14885
15034
  },
14886
15035
  icon: {
14887
- color: "darkGrey",
15036
+ color: themeTools.mode("darkGrey", "white")(props),
14888
15037
  "[aria-disabled=true] &": {
14889
15038
  color: "osloGrey"
14890
15039
  }
14891
15040
  }
14892
- }
15041
+ })
14893
15042
  },
14894
15043
  sizes: {
14895
15044
  sm: {
@@ -14934,7 +15083,7 @@ var init_link2 = __esm({
14934
15083
  backgroundPosition: "0 100%",
14935
15084
  backgroundRepeat: "no-repeat",
14936
15085
  borderRadius: "none",
14937
- pb: "2px",
15086
+ padding: "2px",
14938
15087
  color: "inherit",
14939
15088
  display: "inline",
14940
15089
  position: "relative",
@@ -14955,12 +15104,12 @@ var init_link2 = __esm({
14955
15104
  },
14956
15105
  variants: {
14957
15106
  primary: (props) => ({
14958
- color: themeTools.mode("pine", "seaMist")(props),
15107
+ color: themeTools.mode("pine", "coralGreen")(props),
14959
15108
  ...focusVisible({
14960
15109
  focus: {
14961
- backgroundColor: "transparent",
15110
+ backgroundColor: themeTools.mode("pine", "white")(props),
15111
+ color: themeTools.mode("white", "pine")(props),
14962
15112
  boxShadow: getBoxShadowString({
14963
- borderColor: "azure",
14964
15113
  borderWidth: 2,
14965
15114
  isInset: false
14966
15115
  })
@@ -14972,34 +15121,20 @@ var init_link2 = __esm({
14972
15121
  }
14973
15122
  }),
14974
15123
  _hover: {
14975
- color: "white",
14976
- backgroundColor: "pine",
14977
- boxShadow: getBoxShadowString({
14978
- borderColor: "pine",
14979
- borderWidth: 2,
14980
- isInset: false
14981
- })
15124
+ color: themeTools.mode("darkTeal", "white")(props),
15125
+ backgroundColor: themeTools.mode("coralGreen", "whiteAlpha.200")(props)
14982
15126
  },
14983
15127
  _active: {
14984
- color: "white",
14985
- backgroundColor: "azure",
14986
- boxShadow: getBoxShadowString({
14987
- borderColor: "azure",
14988
- borderWidth: 2,
14989
- isInset: false
14990
- })
15128
+ color: themeTools.mode("pine", "white")(props),
15129
+ backgroundColor: themeTools.mode("mint", "whiteAlpha.100")(props)
14991
15130
  }
14992
15131
  }),
14993
15132
  secondary: (props) => ({
14994
15133
  color: themeTools.mode("darkGrey", "white")(props),
14995
15134
  ...focusVisible({
14996
15135
  focus: {
14997
- backgroundColor: "transparent",
14998
- boxShadow: getBoxShadowString({
14999
- borderColor: "azure",
15000
- borderWidth: 2,
15001
- isInset: false
15002
- })
15136
+ backgroundColor: themeTools.mode("darkGrey", "white")(props),
15137
+ color: themeTools.mode("white", "darkTeal")(props)
15003
15138
  },
15004
15139
  notFocus: {
15005
15140
  boxShadow: "none",
@@ -15007,20 +15142,12 @@ var init_link2 = __esm({
15007
15142
  }
15008
15143
  }),
15009
15144
  _hover: {
15010
- backgroundColor: themeTools.mode("seaMist", "pine")(props),
15011
- boxShadow: getBoxShadowString({
15012
- borderColor: themeTools.mode("seaMist", "pine")(props),
15013
- borderWidth: 2,
15014
- isInset: false
15015
- })
15145
+ backgroundColor: themeTools.mode("blackAlpha.100", "whiteAlpha.200")(props),
15146
+ color: themeTools.mode("darkGrey", "white")(props)
15016
15147
  },
15017
15148
  _active: {
15018
- backgroundColor: themeTools.mode("mint", "whiteAlpha.200")(props),
15019
- boxShadow: getBoxShadowString({
15020
- borderColor: themeTools.mode("mint", "whiteAlpha.200")(props),
15021
- borderWidth: 2,
15022
- isInset: false
15023
- })
15149
+ backgroundColor: themeTools.mode("mint", "whiteAlpha.100")(props),
15150
+ color: themeTools.mode("darkGrey", "white")(props)
15024
15151
  }
15025
15152
  }),
15026
15153
  /**
@@ -15323,8 +15450,8 @@ var init_modal2 = __esm({
15323
15450
  },
15324
15451
  dialog: {
15325
15452
  borderRadius: "md",
15326
- background: "white",
15327
- color: "inherit",
15453
+ background: themeTools.mode("white", "night")(props),
15454
+ color: themeTools.mode("inherit", "white")(props),
15328
15455
  my: "3.75rem",
15329
15456
  zIndex: "modal",
15330
15457
  maxHeight: props.scrollBehavior === "inside" ? "calc(100% - 7.5rem)" : void 0,
@@ -15339,6 +15466,7 @@ var init_modal2 = __esm({
15339
15466
  },
15340
15467
  closeButton: {
15341
15468
  position: "absolute",
15469
+ color: "inherit",
15342
15470
  top: 3,
15343
15471
  insetEnd: 3
15344
15472
  },
@@ -16333,6 +16461,14 @@ var init_tabs = __esm({
16333
16461
  return {
16334
16462
  color: "darkGrey"
16335
16463
  };
16464
+ case "base":
16465
+ return {
16466
+ color: themeTools.mode("darkGrey", "white")(props)
16467
+ };
16468
+ case "accent":
16469
+ return {
16470
+ color: themeTools.mode("darkTeal", "white")(props)
16471
+ };
16336
16472
  default:
16337
16473
  return {};
16338
16474
  }
@@ -16361,6 +16497,32 @@ var init_tabs = __esm({
16361
16497
  color: "darkTeal"
16362
16498
  }
16363
16499
  };
16500
+ case "base":
16501
+ return {
16502
+ backgroundColor: "pine",
16503
+ color: "white",
16504
+ _hover: {
16505
+ backgroundColor: "darkTeal",
16506
+ color: "white"
16507
+ },
16508
+ _active: {
16509
+ backgroundColor: "darkTeal",
16510
+ color: "white"
16511
+ }
16512
+ };
16513
+ case "accent":
16514
+ return {
16515
+ backgroundColor: "pine",
16516
+ color: "white",
16517
+ _hover: {
16518
+ backgroundColor: "darkTeal",
16519
+ color: "white"
16520
+ },
16521
+ _active: {
16522
+ backgroundColor: "darkTeal",
16523
+ color: "white"
16524
+ }
16525
+ };
16364
16526
  default:
16365
16527
  return {
16366
16528
  backgroundColor: "darkTeal",
@@ -16382,6 +16544,14 @@ var init_tabs = __esm({
16382
16544
  return {
16383
16545
  boxShadow: `inset 0 0 0 2px ${props.theme.colors.white}`
16384
16546
  };
16547
+ case "base":
16548
+ return {
16549
+ boxShadow: `inset 0 0 0 2px ${props.theme.colors.azure}`
16550
+ };
16551
+ case "accent":
16552
+ return {
16553
+ boxShadow: `inset 0 0 0 2px ${props.theme.colors.azure}`
16554
+ };
16385
16555
  default:
16386
16556
  return {
16387
16557
  boxShadow: `inset 0 0 0 2px ${props.theme.colors.greenHaze}`
@@ -16406,6 +16576,16 @@ var init_tabs = __esm({
16406
16576
  return {
16407
16577
  backgroundColor: "silver"
16408
16578
  };
16579
+ case "base":
16580
+ return {
16581
+ boxShadow: themeTools.mode(`inset 0 0 0 2px ${props.theme.colors.darkGrey}`, `inset 0 0 0 2px ${props.theme.colors.white}`)(props),
16582
+ color: themeTools.mode("darkGrey", "white")(props)
16583
+ };
16584
+ case "accent":
16585
+ return {
16586
+ backgroundColor: themeTools.mode("seaMist", "whiteAlpha.200")(props),
16587
+ color: themeTools.mode("darkTeal", "white")(props)
16588
+ };
16409
16589
  default:
16410
16590
  return {};
16411
16591
  }
@@ -16432,6 +16612,16 @@ var init_tabs = __esm({
16432
16612
  backgroundColor: "lightGrey",
16433
16613
  color: "darkGrey"
16434
16614
  };
16615
+ case "base":
16616
+ return {
16617
+ backgroundColor: themeTools.mode("mint", "whiteAlpha.100")(props),
16618
+ color: themeTools.mode("darkGrey", "white")(props)
16619
+ };
16620
+ case "accent":
16621
+ return {
16622
+ backgroundColor: themeTools.mode("seaMist", "whiteAlpha.100")(props),
16623
+ color: themeTools.mode("darkTeal", "white")(props)
16624
+ };
16435
16625
  default:
16436
16626
  return {};
16437
16627
  }
@@ -16454,6 +16644,14 @@ var init_tabs = __esm({
16454
16644
  return {
16455
16645
  color: "steel"
16456
16646
  };
16647
+ case "base":
16648
+ return {
16649
+ color: themeTools.mode("blackAlpha.400", "whiteAlpha.400")(props)
16650
+ };
16651
+ case "accent":
16652
+ return {
16653
+ color: themeTools.mode("blackAlpha.400", "whiteAlpha.400")(props)
16654
+ };
16457
16655
  default:
16458
16656
  return {};
16459
16657
  }
@@ -16475,6 +16673,17 @@ var init_tabs = __esm({
16475
16673
  backgroundColor: "platinum",
16476
16674
  color: "darkGrey"
16477
16675
  };
16676
+ case "base":
16677
+ return {
16678
+ backgroundColor: themeTools.mode("white", "transparent")(props),
16679
+ color: "darkGrey",
16680
+ boxShadow: themeTools.mode(`inset 0 0 0 1px ${props.theme.colors.blackAlpha["400"]}`, `inset 0 0 0 1px ${props.theme.colors.whiteAlpha["400"]}`)(props)
16681
+ };
16682
+ case "accent":
16683
+ return {
16684
+ backgroundColor: themeTools.mode("mint", "whiteAlpha.100")(props),
16685
+ color: "darkTeal"
16686
+ };
16478
16687
  default:
16479
16688
  return {};
16480
16689
  }
@@ -16711,12 +16920,12 @@ var init_BaseToast = __esm({
16711
16920
  init_src();
16712
16921
  BaseToast = ({ children, variant, id }) => {
16713
16922
  const styles3 = react.useStyleConfig("Toast", { variant });
16714
- return /* @__PURE__ */ React50__namespace.default.createElement(react.Flex, { sx: styles3, id }, /* @__PURE__ */ React50__namespace.default.createElement(ToastIcon, { variant }), children);
16923
+ return /* @__PURE__ */ React69__namespace.default.createElement(react.Flex, { sx: styles3, id }, /* @__PURE__ */ React69__namespace.default.createElement(ToastIcon, { variant }), children);
16715
16924
  };
16716
16925
  ToastIcon = ({ variant }) => {
16717
16926
  const Icon = getIcon3(variant);
16718
16927
  const { t: t2 } = useTranslation();
16719
- return /* @__PURE__ */ React50__namespace.default.createElement(
16928
+ return /* @__PURE__ */ React69__namespace.default.createElement(
16720
16929
  Icon,
16721
16930
  {
16722
16931
  flexShrink: 0,
@@ -16771,7 +16980,7 @@ var init_ActionToast = __esm({
16771
16980
  buttonText,
16772
16981
  id
16773
16982
  }) => {
16774
- return /* @__PURE__ */ React50__namespace.default.createElement(BaseToast, { variant, id }, /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { marginRight: 2, flexGrow: "1" }, children), /* @__PURE__ */ React50__namespace.default.createElement(exports.Button, { variant: "additional", size: "sm", onClick }, buttonText));
16983
+ return /* @__PURE__ */ React69__namespace.default.createElement(BaseToast, { variant, id }, /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { marginRight: 2, flexGrow: "1" }, children), /* @__PURE__ */ React69__namespace.default.createElement(exports.Button, { variant: "additional", size: "sm", onClick }, buttonText));
16775
16984
  };
16776
16985
  }
16777
16986
  });
@@ -16788,13 +16997,13 @@ var init_ClosableToast = __esm({
16788
16997
  }) => {
16789
16998
  const styles3 = react.useMultiStyleConfig("Toast", { variant });
16790
16999
  const { t: t2 } = useTranslation();
16791
- return /* @__PURE__ */ React50__namespace.default.createElement(BaseToast, { variant, id }, /* @__PURE__ */ React50__namespace.default.createElement(react.Box, { flexGrow: "1" }, children), /* @__PURE__ */ React50__namespace.default.createElement(
17000
+ return /* @__PURE__ */ React69__namespace.default.createElement(BaseToast, { variant, id }, /* @__PURE__ */ React69__namespace.default.createElement(react.Box, { flexGrow: "1" }, children), /* @__PURE__ */ React69__namespace.default.createElement(
16792
17001
  exports.IconButton,
16793
17002
  {
16794
17003
  sx: styles3.dismissButton,
16795
17004
  variant: "ghost",
16796
17005
  "aria-label": t2(texts24.dismiss),
16797
- icon: /* @__PURE__ */ React50__namespace.default.createElement(sporIconReact.CloseFill18Icon, null),
17006
+ icon: /* @__PURE__ */ React69__namespace.default.createElement(sporIconReact.CloseFill18Icon, null),
16798
17007
  onClick: onClose
16799
17008
  }
16800
17009
  ));
@@ -16817,7 +17026,7 @@ var init_useToast = __esm({
16817
17026
  init_ClosableToast();
16818
17027
  exports.useToast = () => {
16819
17028
  const toast = react.useToast();
16820
- const wrappedToast = React50.useCallback((opts) => {
17029
+ const wrappedToast = React69.useCallback((opts) => {
16821
17030
  const Toast = getToastComponent(opts);
16822
17031
  toast({
16823
17032
  ...opts,
@@ -16828,7 +17037,7 @@ var init_useToast = __esm({
16828
17037
  };
16829
17038
  getToastComponent = (opts) => {
16830
17039
  if ("isClosable" in opts && opts.isClosable) {
16831
- return ({ onClose, id }) => /* @__PURE__ */ React50__namespace.default.createElement(
17040
+ return ({ onClose, id }) => /* @__PURE__ */ React69__namespace.default.createElement(
16832
17041
  ClosableToast,
16833
17042
  {
16834
17043
  id,
@@ -16844,7 +17053,7 @@ var init_useToast = __esm({
16844
17053
  );
16845
17054
  }
16846
17055
  if ("buttonText" in opts) {
16847
- return ({ id }) => /* @__PURE__ */ React50__namespace.default.createElement(
17056
+ return ({ id }) => /* @__PURE__ */ React69__namespace.default.createElement(
16848
17057
  ActionToast,
16849
17058
  {
16850
17059
  id,
@@ -16855,7 +17064,7 @@ var init_useToast = __esm({
16855
17064
  opts.text
16856
17065
  );
16857
17066
  }
16858
- return ({ id }) => /* @__PURE__ */ React50__namespace.default.createElement(BaseToast, { id, variant: opts.variant }, opts.text);
17067
+ return ({ id }) => /* @__PURE__ */ React69__namespace.default.createElement(BaseToast, { id, variant: opts.variant }, opts.text);
16859
17068
  };
16860
17069
  }
16861
17070
  });