@vygruppen/spor-react 3.5.0 → 3.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,21 +1,22 @@
1
1
 
2
- > @vygruppen/spor-react@3.5.0 build
2
+ > @vygruppen/spor-react@3.5.2 build
3
3
  > tsup src/index.tsx --dts --treeshake --format cjs,esm
4
4
 
5
5
  CLI Building entry: src/index.tsx
6
6
  CLI Using tsconfig: tsconfig.json
7
- CLI tsup v6.7.0
8
- CLI Target: node14
7
+ CLI tsup v7.2.0
8
+ CLI Target: node16
9
9
  CJS Build start
10
10
  ESM Build start
11
11
  DTS Build start
12
- "toZoned" and "toTime" are imported from external module "@internationalized/date" but never used in "dist/chunk-ELSHBTSG.mjs".
13
12
  "toZoned" and "toTime" are imported from external module "@internationalized/date" but never used in "dist/index.js".
13
+ "toZoned" and "toTime" are imported from external module "@internationalized/date" but never used in "dist/chunk-HDXTKAGQ.mjs".
14
+ CJS dist/index.js 531.70 KB
15
+ CJS ⚡️ Build success in 4431ms
14
16
  ESM dist/index.mjs 2.06 KB
15
- ESM dist/CountryCodeSelect-46KAQXG4.mjs 350.82 KB
16
- ESM dist/chunk-ELSHBTSG.mjs 422.41 KB
17
- ESM ⚡️ Build success in 5355ms
18
- CJS dist/index.js 905.94 KB
19
- CJS ⚡️ Build success in 5356ms
20
- DTS ⚡️ Build success in 19029ms
21
- DTS dist/index.d.ts 253.58 KB
17
+ ESM dist/CountryCodeSelect-IVEQVV6R.mjs 1.19 KB
18
+ ESM dist/chunk-HDXTKAGQ.mjs 425.41 KB
19
+ ESM ⚡️ Build success in 4432ms
20
+ DTS ⚡️ Build success in 21404ms
21
+ DTS dist/index.d.ts 253.62 KB
22
+ DTS dist/index.d.mts 253.62 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # @vygruppen/spor-react
2
2
 
3
+ ## 3.5.2
4
+
5
+ ### Patch Changes
6
+
7
+ - cfa3ebb1: ExpandableAlert: Fix double padding bug
8
+ Other:
9
+
10
+ - Set the document-level line height to a valid value
11
+ - Fix a bug with icon generation
12
+
13
+ - Updated dependencies [cfa3ebb1]
14
+ - @vygruppen/spor-icon-react@3.2.2
15
+
16
+ ## 3.5.1
17
+
18
+ ### Patch Changes
19
+
20
+ - 6ca2f865: Update internal dependencies"
21
+ - 01f4a68c: FloatingActionButton: Enable server rendering
22
+ - Updated dependencies [6ca2f865]
23
+ - @vygruppen/spor-icon-react@3.2.1
24
+ - @vygruppen/spor-loader@0.3.2
25
+
3
26
  ## 3.5.0
4
27
 
5
28
  ### Minor Changes
@@ -0,0 +1,40 @@
1
+ import { createTexts, useTranslation, InfoSelect, Item } from './chunk-HDXTKAGQ.mjs';
2
+ import React from 'react';
3
+ import { getSupportedCallingCodes } from 'awesome-phonenumber';
4
+
5
+ var prioritizedCountryCodes = [
6
+ { key: "+47", value: "+47" },
7
+ { key: "+46", value: "+46" },
8
+ { key: "+45", value: "+45" }
9
+ ];
10
+ var sortedCallingCodes = getSupportedCallingCodes().sort((a, b) => Number(a) - Number(b)).map((code) => ({
11
+ key: `+${code}`,
12
+ value: `+${code}`
13
+ })).filter(
14
+ (code) => !prioritizedCountryCodes.some((pCode) => pCode.key === code.key)
15
+ );
16
+ var callingCodes = [...prioritizedCountryCodes, ...sortedCallingCodes];
17
+ var CountryCodeSelect = (props) => {
18
+ const { t } = useTranslation();
19
+ return /* @__PURE__ */ React.createElement(
20
+ InfoSelect,
21
+ {
22
+ label: t(texts.countryCode),
23
+ isLabelSrOnly: true,
24
+ items: callingCodes,
25
+ ...props
26
+ },
27
+ (item) => /* @__PURE__ */ React.createElement(Item, { key: item.key }, item.key)
28
+ );
29
+ };
30
+ var CountryCodeSelect_default = CountryCodeSelect;
31
+ var texts = createTexts({
32
+ countryCode: {
33
+ nb: "Landkode",
34
+ nn: "Landskode",
35
+ en: "Country code",
36
+ sv: "Landskod"
37
+ }
38
+ });
39
+
40
+ export { CountryCodeSelect, CountryCodeSelect_default as default };
@@ -948,10 +948,10 @@ var ColorSpinner = ({
948
948
  maxWidth,
949
949
  ...props
950
950
  }) => {
951
- return /* @__PURE__ */ React50__default.createElement(Center, { flexDirection: "column", ...props }, /* @__PURE__ */ React50__default.createElement(Box, { width, maxWidth }, /* @__PURE__ */ React50__default.createElement(ClientOnly, null, () => /* @__PURE__ */ React50__default.createElement(Lottie, { animationData: spinnerColorData }))), children && /* @__PURE__ */ React50__default.createElement(Box, { mt: 3, fontWeight: "bold" }, children));
951
+ return /* @__PURE__ */ React50__default.createElement(Center, { flexDirection: "column", ...props }, /* @__PURE__ */ React50__default.createElement(Box, { width, maxWidth }, /* @__PURE__ */ React50__default.createElement(ClientOnly, null, () => /* @__PURE__ */ React50__default.createElement(Lottie, { animationData: spinnerColorData }))), children && /* @__PURE__ */ React50__default.createElement(Box, { marginTop: 3, fontWeight: "bold" }, children));
952
952
  };
953
953
  var ContentLoader = ({ children, ...props }) => {
954
- return /* @__PURE__ */ React50__default.createElement(Box, { ...props }, /* @__PURE__ */ React50__default.createElement(Box, { maxWidth: "140px", mx: "auto" }, /* @__PURE__ */ React50__default.createElement(ClientOnly, null, () => /* @__PURE__ */ React50__default.createElement(Lottie, { animationData: contentLoaderData }))), children && /* @__PURE__ */ React50__default.createElement(Box, { textAlign: "center", fontWeight: "bold" }, children));
954
+ return /* @__PURE__ */ React50__default.createElement(Box, { ...props }, /* @__PURE__ */ React50__default.createElement(Box, { maxWidth: "140px", marginX: "auto" }, /* @__PURE__ */ React50__default.createElement(ClientOnly, null, () => /* @__PURE__ */ React50__default.createElement(Lottie, { animationData: contentLoaderData }))), children && /* @__PURE__ */ React50__default.createElement(Box, { textAlign: "center", fontWeight: "bold" }, children));
955
955
  };
956
956
  var DarkFullScreenLoader = ({
957
957
  width,
@@ -995,7 +995,7 @@ var LightSpinner = ({
995
995
  maxWidth,
996
996
  ...props
997
997
  }) => {
998
- return /* @__PURE__ */ React50__default.createElement(Center, { flexDirection: "column", ...props }, /* @__PURE__ */ React50__default.createElement(Box, { width, maxWidth }, /* @__PURE__ */ React50__default.createElement(ClientOnly, null, () => /* @__PURE__ */ React50__default.createElement(Lottie, { animationData: spinnerLightData }))), children && /* @__PURE__ */ React50__default.createElement(Box, { mt: 3, fontWeight: "bold" }, children));
998
+ return /* @__PURE__ */ React50__default.createElement(Center, { flexDirection: "column", ...props }, /* @__PURE__ */ React50__default.createElement(Box, { width, maxWidth }, /* @__PURE__ */ React50__default.createElement(ClientOnly, null, () => /* @__PURE__ */ React50__default.createElement(Lottie, { animationData: spinnerLightData }))), children && /* @__PURE__ */ React50__default.createElement(Box, { marginTop: 3, fontWeight: "bold" }, children));
999
999
  };
1000
1000
  var useRotatingLabel = ({ label, delay }) => {
1001
1001
  const loadingTextArray = useMemo(
@@ -1211,7 +1211,7 @@ var Button = forwardRef((props, ref) => {
1211
1211
  {
1212
1212
  maxWidth: getLoaderWidth(finalSize),
1213
1213
  width: "100%",
1214
- mx: 2
1214
+ marginX: 2
1215
1215
  }
1216
1216
  )
1217
1217
  ),
@@ -1253,7 +1253,7 @@ var IconButton = forwardRef(
1253
1253
  {
1254
1254
  title: props["aria-label"],
1255
1255
  ...props,
1256
- spinner: /* @__PURE__ */ React50__default.createElement(ColorSpinner, { m: 1 }),
1256
+ spinner: /* @__PURE__ */ React50__default.createElement(ColorSpinner, { margin: 1 }),
1257
1257
  ref
1258
1258
  }
1259
1259
  )
@@ -1360,7 +1360,7 @@ var FloatingActionButton = ({
1360
1360
  };
1361
1361
  var useScrollDirection = () => {
1362
1362
  const [scrollDirection, setScrollDirection] = React50__default.useState(null);
1363
- const lastScrollPosition = React50__default.useRef(window.scrollY);
1363
+ const lastScrollPosition = React50__default.useRef(typeof window !== "undefined" ? window.scrollY : 0);
1364
1364
  React50__default.useEffect(() => {
1365
1365
  const onScroll = () => {
1366
1366
  const delta = window.scrollY - lastScrollPosition.current;
@@ -1438,7 +1438,7 @@ var texts5 = createTexts({
1438
1438
  });
1439
1439
  var BaseAlert = ({ variant, children, ...boxProps }) => {
1440
1440
  const styles2 = useMultiStyleConfig("Alert", { variant });
1441
- return /* @__PURE__ */ React50__default.createElement(Box, { sx: styles2.container, ...boxProps }, children);
1441
+ return /* @__PURE__ */ React50__default.createElement(Box, { __css: styles2.container, ...boxProps }, children);
1442
1442
  };
1443
1443
 
1444
1444
  // src/alert/ClosableAlert.tsx
@@ -1488,7 +1488,7 @@ var ExpandableAlert = ({
1488
1488
  },
1489
1489
  ...boxProps
1490
1490
  }) => {
1491
- return /* @__PURE__ */ React50__default.createElement(BaseAlert, { variant, paddingX: 0, paddingY: 0, padding: 0, ...boxProps }, /* @__PURE__ */ React50__default.createElement(
1491
+ return /* @__PURE__ */ React50__default.createElement(BaseAlert, { variant, ...boxProps, paddingX: 0, paddingY: 0 }, /* @__PURE__ */ React50__default.createElement(
1492
1492
  Accordion$1,
1493
1493
  {
1494
1494
  onChange: (expandedIndex) => onToggle(expandedIndex === 0),
@@ -1503,7 +1503,7 @@ var ExpandableAlert = ({
1503
1503
  alignItems: "center",
1504
1504
  flexGrow: "1"
1505
1505
  },
1506
- /* @__PURE__ */ React50__default.createElement(Flex, { as: headingLevel }, /* @__PURE__ */ React50__default.createElement(AlertIcon, { variant }), /* @__PURE__ */ React50__default.createElement(
1506
+ /* @__PURE__ */ React50__default.createElement(Flex, { as: headingLevel, alignItems: "center" }, /* @__PURE__ */ React50__default.createElement(AlertIcon, { variant }), /* @__PURE__ */ React50__default.createElement(
1507
1507
  Box,
1508
1508
  {
1509
1509
  as: "span",
@@ -3906,7 +3906,7 @@ function DateRangePicker({
3906
3906
  onKeyPress: handleEnterClick,
3907
3907
  minHeight
3908
3908
  },
3909
- !hasTrigger && /* @__PURE__ */ React50__default.createElement(CalendarOutline24Icon, { mr: 2, alignSelf: "center" }),
3909
+ !hasTrigger && /* @__PURE__ */ React50__default.createElement(CalendarOutline24Icon, { marginRight: 2, alignSelf: "center" }),
3910
3910
  /* @__PURE__ */ React50__default.createElement(
3911
3911
  DateField,
3912
3912
  {
@@ -3917,7 +3917,7 @@ function DateRangePicker({
3917
3917
  labelProps
3918
3918
  }
3919
3919
  ),
3920
- /* @__PURE__ */ React50__default.createElement(Box, { as: "span", "aria-hidden": "true", px: "2" }, "\u2013"),
3920
+ /* @__PURE__ */ React50__default.createElement(Box, { as: "span", "aria-hidden": "true", paddingX: "2" }, "\u2013"),
3921
3921
  /* @__PURE__ */ React50__default.createElement(
3922
3922
  DateField,
3923
3923
  {
@@ -4314,7 +4314,7 @@ var ChoiceChip = forwardRef((props, ref) => {
4314
4314
  },
4315
4315
  icon && /* @__PURE__ */ React50__default.createElement(chakra.span, { __css: styles2.icon }, state2.isChecked ? icon.checked : icon.default),
4316
4316
  /* @__PURE__ */ React50__default.createElement(chakra.span, { __css: styles2.label, ...getCheckboxProps() }, variant !== "icon" && children),
4317
- variant === "filter" && state2.isChecked && /* @__PURE__ */ React50__default.createElement(CloseOutline24Icon, { ml: 1.5 })
4317
+ variant === "filter" && state2.isChecked && /* @__PURE__ */ React50__default.createElement(CloseOutline24Icon, { marginLeft: 1.5 })
4318
4318
  )
4319
4319
  );
4320
4320
  });
@@ -5007,7 +5007,7 @@ var PasswordInput = forwardRef(
5007
5007
  type: "button",
5008
5008
  onClick: onToggle,
5009
5009
  borderRadius: "sm",
5010
- mr: 1
5010
+ marginRight: 1
5011
5011
  },
5012
5012
  isShowingPassword ? t2(texts13.hidePassword) : t2(texts13.showPassword)
5013
5013
  )));
@@ -5095,7 +5095,7 @@ var texts14 = createTexts({
5095
5095
  sv: "Telefonnummer"
5096
5096
  }
5097
5097
  });
5098
- var LazyCountryCodeSelect = React50__default.lazy(() => import('./CountryCodeSelect-46KAQXG4.mjs'));
5098
+ var LazyCountryCodeSelect = React50__default.lazy(() => import('./CountryCodeSelect-IVEQVV6R.mjs'));
5099
5099
  var Radio = forwardRef((props, ref) => {
5100
5100
  return /* @__PURE__ */ React50__default.createElement(Radio$1, { ...props, ref });
5101
5101
  });
@@ -5114,8 +5114,8 @@ var SearchInput = forwardRef(
5114
5114
  return /* @__PURE__ */ React50__default.createElement(InputGroup, { position: "relative" }, /* @__PURE__ */ React50__default.createElement(InputLeftElement2, null, /* @__PURE__ */ React50__default.createElement(SearchOutline24Icon, null)), /* @__PURE__ */ React50__default.createElement(
5115
5115
  Input$1,
5116
5116
  {
5117
- pl: 7,
5118
- pr: 7,
5117
+ paddingLeft: 7,
5118
+ paddingRight: 7,
5119
5119
  ...props,
5120
5120
  id: inputId,
5121
5121
  type: "search",
@@ -5134,7 +5134,7 @@ var SearchInput = forwardRef(
5134
5134
  variant: "ghost",
5135
5135
  type: "button",
5136
5136
  size: "sm",
5137
- mr: 1,
5137
+ marginRight: 1,
5138
5138
  "aria-label": t2(texts15.reset),
5139
5139
  icon: /* @__PURE__ */ React50__default.createElement(CloseOutline24Icon, null),
5140
5140
  onClick: onReset
@@ -5939,7 +5939,7 @@ var StepperStep = ({ children, stepNumber }) => {
5939
5939
  variant,
5940
5940
  colorScheme
5941
5941
  });
5942
- return /* @__PURE__ */ React50__default.createElement(Box, { __css: style.stepContainer }, stepNumber > 1 && /* @__PURE__ */ React50__default.createElement(DropdownRightFill18Icon, { mx: 5, display: ["none", "block"] }), /* @__PURE__ */ React50__default.createElement(
5942
+ return /* @__PURE__ */ React50__default.createElement(Box, { __css: style.stepContainer }, stepNumber > 1 && /* @__PURE__ */ React50__default.createElement(DropdownRightFill18Icon, { marginX: 5, display: ["none", "block"] }), /* @__PURE__ */ React50__default.createElement(
5943
5943
  Flex,
5944
5944
  {
5945
5945
  __css: style.stepButton,
@@ -5992,6 +5992,8 @@ function isObject(value) {
5992
5992
  const type = typeof value;
5993
5993
  return value != null && (type === "object" || type === "function") && !Array.isArray(value);
5994
5994
  }
5995
+
5996
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-RXCYWA6Q.mjs
5995
5997
  var transitionProperty = {
5996
5998
  common: "background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",
5997
5999
  colors: "background-color, border-color, color, fill, stroke",
@@ -6019,6 +6021,8 @@ var transition = {
6019
6021
  duration: transitionDuration
6020
6022
  };
6021
6023
  var transition_default = transition;
6024
+
6025
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-5QZEG2IM.mjs
6022
6026
  var zIndices = {
6023
6027
  hide: -1,
6024
6028
  auto: "auto",
@@ -6035,6 +6039,8 @@ var zIndices = {
6035
6039
  tooltip: 1800
6036
6040
  };
6037
6041
  var z_index_default = zIndices;
6042
+
6043
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-PE5G6LAZ.mjs
6038
6044
  var borders = {
6039
6045
  none: 0,
6040
6046
  "1px": "1px solid",
@@ -6043,6 +6049,8 @@ var borders = {
6043
6049
  "8px": "8px solid"
6044
6050
  };
6045
6051
  var borders_default = borders;
6052
+
6053
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-ZCARTYDH.mjs
6046
6054
  var breakpoints = {
6047
6055
  base: "0em",
6048
6056
  sm: "30em",
@@ -6052,6 +6060,8 @@ var breakpoints = {
6052
6060
  "2xl": "96em"
6053
6061
  };
6054
6062
  var breakpoints_default = breakpoints;
6063
+
6064
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-OFZWI3IK.mjs
6055
6065
  var colors2 = {
6056
6066
  transparent: "transparent",
6057
6067
  current: "currentColor",
@@ -6275,6 +6285,8 @@ var colors2 = {
6275
6285
  }
6276
6286
  };
6277
6287
  var colors_default = colors2;
6288
+
6289
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-AMMMMB27.mjs
6278
6290
  var radii = {
6279
6291
  none: "0",
6280
6292
  sm: "0.125rem",
@@ -6287,6 +6299,8 @@ var radii = {
6287
6299
  full: "9999px"
6288
6300
  };
6289
6301
  var radius_default = radii;
6302
+
6303
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-A3OO4VZD.mjs
6290
6304
  var shadows2 = {
6291
6305
  xs: "0 0 0 1px rgba(0, 0, 0, 0.05)",
6292
6306
  sm: "0 1px 2px 0 rgba(0, 0, 0, 0.05)",
@@ -6301,6 +6315,8 @@ var shadows2 = {
6301
6315
  "dark-lg": "rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"
6302
6316
  };
6303
6317
  var shadows_default = shadows2;
6318
+
6319
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-EXHLCVSK.mjs
6304
6320
  var blur = {
6305
6321
  none: 0,
6306
6322
  sm: "4px",
@@ -6312,6 +6328,8 @@ var blur = {
6312
6328
  "3xl": "64px"
6313
6329
  };
6314
6330
  var blur_default = blur;
6331
+
6332
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-VW4MZLZF.mjs
6315
6333
  var typography = {
6316
6334
  letterSpacings: {
6317
6335
  tighter: "-0.05em",
@@ -6373,6 +6391,8 @@ var typography = {
6373
6391
  }
6374
6392
  };
6375
6393
  var typography_default = typography;
6394
+
6395
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-NIUVG5KM.mjs
6376
6396
  var spacing = {
6377
6397
  px: "1px",
6378
6398
  0.5: "0.125rem",
@@ -6408,6 +6428,8 @@ var spacing = {
6408
6428
  80: "20rem",
6409
6429
  96: "24rem"
6410
6430
  };
6431
+
6432
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-QH74K4BV.mjs
6411
6433
  var largeSizes = {
6412
6434
  max: "max-content",
6413
6435
  min: "min-content",
@@ -6440,6 +6462,8 @@ var sizes = {
6440
6462
  container
6441
6463
  };
6442
6464
  var sizes_default = sizes;
6465
+
6466
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-5FMCT5RQ.mjs
6443
6467
  var foundations = {
6444
6468
  breakpoints: breakpoints_default,
6445
6469
  zIndices: z_index_default,
@@ -7540,6 +7564,8 @@ function createMultiStyleConfigHelpers(parts14) {
7540
7564
  }
7541
7565
  };
7542
7566
  }
7567
+
7568
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-QHVXS45H.mjs
7543
7569
  var { defineMultiStyleConfig, definePartsStyle } = createMultiStyleConfigHelpers([
7544
7570
  "stepper",
7545
7571
  "step",
@@ -7684,6 +7710,8 @@ var stepperTheme = defineMultiStyleConfig({
7684
7710
  colorScheme: "blue"
7685
7711
  }
7686
7712
  });
7713
+
7714
+ // ../../node_modules/@chakra-ui/anatomy/dist/chunk-7LPD4XZ3.mjs
7687
7715
  function anatomy(name, map = {}) {
7688
7716
  let called = false;
7689
7717
  function assert() {
@@ -7746,6 +7774,8 @@ function anatomy(name, map = {}) {
7746
7774
  __type
7747
7775
  };
7748
7776
  }
7777
+
7778
+ // ../../node_modules/@chakra-ui/anatomy/dist/chunk-Z4JVF5YI.mjs
7749
7779
  var accordionAnatomy = anatomy("accordion").parts("root", "container", "button", "panel").extend("icon");
7750
7780
  var alertAnatomy = anatomy("alert").parts("title", "description", "container").extend("icon", "spinner");
7751
7781
  var avatarAnatomy = anatomy("avatar").parts("label", "badge", "container").extend("excessLabel", "group");
@@ -8376,6 +8406,8 @@ var badgeTheme = defineStyleConfig({
8376
8406
  colorScheme: "gray"
8377
8407
  }
8378
8408
  });
8409
+
8410
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-VM3745AK.mjs
8379
8411
  var { defineMultiStyleConfig: defineMultiStyleConfig5, definePartsStyle: definePartsStyle5 } = createMultiStyleConfigHelpers(tagAnatomy.keys);
8380
8412
  var $bg3 = cssVar("tag-bg");
8381
8413
  var $color = cssVar("tag-color");
@@ -8698,6 +8730,8 @@ var inputTheme = defineMultiStyleConfig6({
8698
8730
  variant: "outline"
8699
8731
  }
8700
8732
  });
8733
+
8734
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-TN6RO673.mjs
8701
8735
  var _a;
8702
8736
  var baseStyle8 = defineStyle({
8703
8737
  ...(_a = inputTheme.baseStyle) == null ? void 0 : _a.field,
@@ -8842,6 +8876,8 @@ var progressTheme = defineMultiStyleConfig7({
8842
8876
  colorScheme: "blue"
8843
8877
  }
8844
8878
  });
8879
+
8880
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-RQ25AHBB.mjs
8845
8881
  var isFunction = (value) => typeof value === "function";
8846
8882
  function runIfFn(valueOrFn, ...args) {
8847
8883
  return isFunction(valueOrFn) ? valueOrFn(...args) : valueOrFn;
@@ -8932,6 +8968,8 @@ var checkboxTheme = defineMultiStyleConfig8({
8932
8968
  colorScheme: "blue"
8933
8969
  }
8934
8970
  });
8971
+
8972
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-BJIKSU3K.mjs
8935
8973
  var { defineMultiStyleConfig: defineMultiStyleConfig9, definePartsStyle: definePartsStyle9 } = createMultiStyleConfigHelpers(radioAnatomy.keys);
8936
8974
  var baseStyleControl2 = defineStyle((props) => {
8937
8975
  var _a6;
@@ -8983,6 +9021,8 @@ var radioTheme = defineMultiStyleConfig9({
8983
9021
  colorScheme: "blue"
8984
9022
  }
8985
9023
  });
9024
+
9025
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-ILLVD2I4.mjs
8986
9026
  var { defineMultiStyleConfig: defineMultiStyleConfig10, definePartsStyle: definePartsStyle10 } = createMultiStyleConfigHelpers(selectAnatomy.keys);
8987
9027
  var $bg5 = cssVar("select-bg");
8988
9028
  var _a4;
@@ -9065,6 +9105,8 @@ var selectTheme = defineMultiStyleConfig10({
9065
9105
  variants: inputTheme.variants,
9066
9106
  defaultProps: inputTheme.defaultProps
9067
9107
  });
9108
+
9109
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-T6E7UBRI.mjs
9068
9110
  var $startColor = cssVar("skeleton-start-color");
9069
9111
  var $endColor = cssVar("skeleton-end-color");
9070
9112
  var baseStyle14 = defineStyle({
@@ -9082,6 +9124,8 @@ var baseStyle14 = defineStyle({
9082
9124
  var skeletonTheme = defineStyleConfig({
9083
9125
  baseStyle: baseStyle14
9084
9126
  });
9127
+
9128
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-URZN3QPP.mjs
9085
9129
  var $bg6 = cssVar("skip-link-bg");
9086
9130
  var baseStyle15 = defineStyle({
9087
9131
  borderRadius: "md",
@@ -9269,6 +9313,8 @@ var spinnerTheme = defineStyleConfig({
9269
9313
  size: "md"
9270
9314
  }
9271
9315
  });
9316
+
9317
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-66QM3UU6.mjs
9272
9318
  var { defineMultiStyleConfig: defineMultiStyleConfig12, definePartsStyle: definePartsStyle12 } = createMultiStyleConfigHelpers(statAnatomy.keys);
9273
9319
  var baseStyleLabel4 = defineStyle({
9274
9320
  fontWeight: "medium"
@@ -9308,6 +9354,8 @@ var statTheme = defineMultiStyleConfig12({
9308
9354
  size: "md"
9309
9355
  }
9310
9356
  });
9357
+
9358
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-73PQYQVW.mjs
9311
9359
  var $bg8 = cssVar("kbd-bg");
9312
9360
  var baseStyle19 = defineStyle({
9313
9361
  [$bg8.variable]: "colors.gray.100",
@@ -9327,6 +9375,8 @@ var baseStyle19 = defineStyle({
9327
9375
  var kbdTheme = defineStyleConfig({
9328
9376
  baseStyle: baseStyle19
9329
9377
  });
9378
+
9379
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-NTN663XT.mjs
9330
9380
  var baseStyle20 = defineStyle({
9331
9381
  transitionProperty: "common",
9332
9382
  transitionDuration: "fast",
@@ -9345,6 +9395,8 @@ var baseStyle20 = defineStyle({
9345
9395
  var linkTheme = defineStyleConfig({
9346
9396
  baseStyle: baseStyle20
9347
9397
  });
9398
+
9399
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-RRJIKBCH.mjs
9348
9400
  var { defineMultiStyleConfig: defineMultiStyleConfig13, definePartsStyle: definePartsStyle13 } = createMultiStyleConfigHelpers(listAnatomy.keys);
9349
9401
  var baseStyleIcon4 = defineStyle({
9350
9402
  marginEnd: "2",
@@ -9357,6 +9409,8 @@ var baseStyle21 = definePartsStyle13({
9357
9409
  var listTheme = defineMultiStyleConfig13({
9358
9410
  baseStyle: baseStyle21
9359
9411
  });
9412
+
9413
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-3XV5CZGX.mjs
9360
9414
  var { defineMultiStyleConfig: defineMultiStyleConfig14, definePartsStyle: definePartsStyle14 } = createMultiStyleConfigHelpers(menuAnatomy.keys);
9361
9415
  var $bg9 = cssVar("menu-bg");
9362
9416
  var $shadow2 = cssVar("menu-shadow");
@@ -9444,6 +9498,8 @@ var baseStyle22 = definePartsStyle14({
9444
9498
  var menuTheme = defineMultiStyleConfig14({
9445
9499
  baseStyle: baseStyle22
9446
9500
  });
9501
+
9502
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-JIVTZ35T.mjs
9447
9503
  var { defineMultiStyleConfig: defineMultiStyleConfig15, definePartsStyle: definePartsStyle15 } = createMultiStyleConfigHelpers(modalAnatomy.keys);
9448
9504
  var $bg10 = cssVar("modal-bg");
9449
9505
  var $shadow3 = cssVar("modal-shadow");
@@ -9640,6 +9696,8 @@ var numberInputTheme = defineMultiStyleConfig16({
9640
9696
  variants: inputTheme.variants,
9641
9697
  defaultProps: inputTheme.defaultProps
9642
9698
  });
9699
+
9700
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-HFED6QOE.mjs
9643
9701
  var _a5;
9644
9702
  var baseStyle25 = defineStyle({
9645
9703
  ...(_a5 = inputTheme.baseStyle) == null ? void 0 : _a5.field,
@@ -9757,6 +9815,8 @@ var baseStyle26 = definePartsStyle17({
9757
9815
  var popoverTheme = defineMultiStyleConfig17({
9758
9816
  baseStyle: baseStyle26
9759
9817
  });
9818
+
9819
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-5FAATIOO.mjs
9760
9820
  var { definePartsStyle: definePartsStyle18, defineMultiStyleConfig: defineMultiStyleConfig18 } = createMultiStyleConfigHelpers(drawerAnatomy.keys);
9761
9821
  var $bg12 = cssVar("drawer-bg");
9762
9822
  var $bs = cssVar("drawer-box-shadow");
@@ -9841,6 +9901,8 @@ var drawerTheme = defineMultiStyleConfig18({
9841
9901
  size: "xs"
9842
9902
  }
9843
9903
  });
9904
+
9905
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-VJU277AG.mjs
9844
9906
  var { definePartsStyle: definePartsStyle19, defineMultiStyleConfig: defineMultiStyleConfig19 } = createMultiStyleConfigHelpers(editableAnatomy.keys);
9845
9907
  var baseStylePreview = defineStyle({
9846
9908
  borderRadius: "md",
@@ -9874,6 +9936,8 @@ var baseStyle28 = definePartsStyle19({
9874
9936
  var editableTheme = defineMultiStyleConfig19({
9875
9937
  baseStyle: baseStyle28
9876
9938
  });
9939
+
9940
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-OQ4UESHD.mjs
9877
9941
  var { definePartsStyle: definePartsStyle20, defineMultiStyleConfig: defineMultiStyleConfig20 } = createMultiStyleConfigHelpers(formAnatomy.keys);
9878
9942
  var $fg4 = cssVar("form-control-color");
9879
9943
  var baseStyleRequiredIndicator = defineStyle({
@@ -9905,6 +9969,8 @@ var baseStyle29 = definePartsStyle20({
9905
9969
  var formTheme = defineMultiStyleConfig20({
9906
9970
  baseStyle: baseStyle29
9907
9971
  });
9972
+
9973
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-66WVPDP6.mjs
9908
9974
  var { definePartsStyle: definePartsStyle21, defineMultiStyleConfig: defineMultiStyleConfig21 } = createMultiStyleConfigHelpers(formErrorAnatomy.keys);
9909
9975
  var $fg5 = cssVar("form-error-color");
9910
9976
  var baseStyleText = defineStyle({
@@ -9932,6 +9998,8 @@ var baseStyle30 = definePartsStyle21({
9932
9998
  var formErrorTheme = defineMultiStyleConfig21({
9933
9999
  baseStyle: baseStyle30
9934
10000
  });
10001
+
10002
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-2RLCRBJQ.mjs
9935
10003
  var baseStyle31 = defineStyle({
9936
10004
  fontSize: "md",
9937
10005
  marginEnd: "3",
@@ -9947,6 +10015,8 @@ var baseStyle31 = defineStyle({
9947
10015
  var formLabelTheme = defineStyleConfig({
9948
10016
  baseStyle: baseStyle31
9949
10017
  });
10018
+
10019
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-SZS2B4EE.mjs
9950
10020
  var baseStyle32 = defineStyle({
9951
10021
  fontFamily: "heading",
9952
10022
  fontWeight: "bold"
@@ -9992,6 +10062,8 @@ var headingTheme = defineStyleConfig({
9992
10062
  size: "xl"
9993
10063
  }
9994
10064
  });
10065
+
10066
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-CHG7JP5U.mjs
9995
10067
  var { defineMultiStyleConfig: defineMultiStyleConfig22, definePartsStyle: definePartsStyle22 } = createMultiStyleConfigHelpers(breadcrumbAnatomy.keys);
9996
10068
  var $decor = cssVar("breadcrumb-link-decor");
9997
10069
  var baseStyleLink = defineStyle({
@@ -10193,6 +10265,8 @@ var buttonTheme = defineStyleConfig({
10193
10265
  colorScheme: "gray"
10194
10266
  }
10195
10267
  });
10268
+
10269
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-N5CTW2M4.mjs
10196
10270
  var { definePartsStyle: definePartsStyle23, defineMultiStyleConfig: defineMultiStyleConfig23 } = createMultiStyleConfigHelpers(cardAnatomy.keys);
10197
10271
  var $bg13 = cssVar("card-bg");
10198
10272
  var $padding2 = cssVar("card-padding");
@@ -10333,6 +10407,8 @@ var closeButtonTheme = defineStyleConfig({
10333
10407
  size: "md"
10334
10408
  }
10335
10409
  });
10410
+
10411
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-I7MXUFNA.mjs
10336
10412
  var { variants: variants10, defaultProps } = badgeTheme;
10337
10413
  var baseStyle37 = defineStyle({
10338
10414
  fontFamily: "mono",
@@ -10348,6 +10424,8 @@ var codeTheme = defineStyleConfig({
10348
10424
  variants: variants10,
10349
10425
  defaultProps
10350
10426
  });
10427
+
10428
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-R5JELUQ3.mjs
10351
10429
  var baseStyle38 = defineStyle({
10352
10430
  w: "100%",
10353
10431
  mx: "auto",
@@ -10357,6 +10435,8 @@ var baseStyle38 = defineStyle({
10357
10435
  var containerTheme = defineStyleConfig({
10358
10436
  baseStyle: baseStyle38
10359
10437
  });
10438
+
10439
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-6PVQMBW4.mjs
10360
10440
  var baseStyle39 = defineStyle({
10361
10441
  opacity: 0.6,
10362
10442
  borderColor: "inherit"
@@ -10378,6 +10458,8 @@ var dividerTheme = defineStyleConfig({
10378
10458
  variant: "solid"
10379
10459
  }
10380
10460
  });
10461
+
10462
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-MTSOOEOV.mjs
10381
10463
  var { definePartsStyle: definePartsStyle24, defineMultiStyleConfig: defineMultiStyleConfig24 } = createMultiStyleConfigHelpers(accordionAnatomy.keys);
10382
10464
  var baseStyleContainer4 = defineStyle({
10383
10465
  borderTopWidth: "1px",
@@ -10623,6 +10705,8 @@ var avatarTheme = defineMultiStyleConfig26({
10623
10705
  size: "md"
10624
10706
  }
10625
10707
  });
10708
+
10709
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-BVEAU2MF.mjs
10626
10710
  var components = {
10627
10711
  Accordion: accordionTheme,
10628
10712
  Alert: alertTheme,
@@ -10667,6 +10751,8 @@ var components = {
10667
10751
  Card: cardTheme,
10668
10752
  Stepper: stepperTheme
10669
10753
  };
10754
+
10755
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-SKQLGI36.mjs
10670
10756
  var semanticTokens = {
10671
10757
  colors: {
10672
10758
  "chakra-body-text": { _light: "gray.800", _dark: "whiteAlpha.900" },
@@ -10678,6 +10764,8 @@ var semanticTokens = {
10678
10764
  "chakra-placeholder-color": { _light: "gray.500", _dark: "whiteAlpha.400" }
10679
10765
  }
10680
10766
  };
10767
+
10768
+ // ../../node_modules/@chakra-ui/theme/dist/chunk-RID7N3YQ.mjs
10681
10769
  var styles = {
10682
10770
  global: {
10683
10771
  body: {
@@ -10696,6 +10784,8 @@ var styles = {
10696
10784
  }
10697
10785
  }
10698
10786
  };
10787
+
10788
+ // ../../node_modules/@chakra-ui/theme/dist/index.mjs
10699
10789
  var direction = "ltr";
10700
10790
  var config = {
10701
10791
  useSystemColorMode: false,
@@ -10833,6 +10923,7 @@ var fontWeights = {
10833
10923
  bold: 700
10834
10924
  };
10835
10925
  var lineHeights = {
10926
+ base: tokens10__default.font.style.lg["line-height"],
10836
10927
  normal: tokens10__default.font.style.lg["line-height"]
10837
10928
  };
10838
10929
  var radii2 = {