@vygruppen/spor-react 6.2.3 → 7.0.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 (44) hide show
  1. package/.turbo/turbo-build.log +10 -10
  2. package/CHANGELOG.md +14 -0
  3. package/dist/{CountryCodeSelect-QZYP3GSD.mjs → CountryCodeSelect-OK6RZ6AY.mjs} +1 -1
  4. package/dist/{chunk-YFZOYRGT.mjs → chunk-CYU6YFQK.mjs} +166 -641
  5. package/dist/index.d.mts +483 -497
  6. package/dist/index.d.ts +483 -497
  7. package/dist/index.js +195 -672
  8. package/dist/index.mjs +1 -1
  9. package/package.json +1 -1
  10. package/src/button/Button.tsx +4 -4
  11. package/src/input/NumericStepper.tsx +0 -4
  12. package/src/theme/components/accordion.ts +4 -15
  13. package/src/theme/components/breadcrumb.ts +2 -14
  14. package/src/theme/components/button.ts +5 -55
  15. package/src/theme/components/card-select.ts +11 -26
  16. package/src/theme/components/card.ts +2 -18
  17. package/src/theme/components/checkbox.ts +4 -12
  18. package/src/theme/components/choice-chip.ts +2 -11
  19. package/src/theme/components/close-button.ts +2 -14
  20. package/src/theme/components/code.ts +1 -1
  21. package/src/theme/components/datepicker.ts +14 -65
  22. package/src/theme/components/drawer.ts +7 -7
  23. package/src/theme/components/fab.ts +6 -63
  24. package/src/theme/components/form-label.ts +1 -1
  25. package/src/theme/components/form.ts +1 -1
  26. package/src/theme/components/info-select.ts +5 -35
  27. package/src/theme/components/info-tag.ts +1 -1
  28. package/src/theme/components/input.ts +9 -31
  29. package/src/theme/components/link.ts +5 -29
  30. package/src/theme/components/listbox.ts +3 -5
  31. package/src/theme/components/media-controller-button.ts +5 -46
  32. package/src/theme/components/modal.ts +7 -7
  33. package/src/theme/components/popover.ts +7 -15
  34. package/src/theme/components/progress-indicator.ts +1 -5
  35. package/src/theme/components/radio.ts +5 -11
  36. package/src/theme/components/select.ts +2 -2
  37. package/src/theme/components/stepper.ts +6 -6
  38. package/src/theme/components/switch.ts +5 -73
  39. package/src/theme/components/table.ts +18 -18
  40. package/src/theme/components/tabs.ts +11 -14
  41. package/src/theme/components/travel-tag.ts +2 -15
  42. package/src/theme/utils/focus-util.ts +10 -0
  43. package/tsconfig.json +2 -2
  44. package/src/theme/utils/focus-utils.ts +0 -16
@@ -1210,19 +1210,19 @@ var Button = forwardRef((props, ref) => {
1210
1210
  /* @__PURE__ */ React69__default.createElement(
1211
1211
  Flex,
1212
1212
  {
1213
- justifyContent: "space-between",
1213
+ gap: 1,
1214
1214
  flex: 1,
1215
1215
  alignItems: "center",
1216
- gap: 1,
1216
+ justifyContent: rightIcon ? "space-between" : "center",
1217
1217
  visibility: isLoading ? "hidden" : "visible",
1218
1218
  "aria-hidden": isLoading
1219
1219
  },
1220
- /* @__PURE__ */ React69__default.createElement(Flex, { justifyContent: "center", alignItems: "center", gap: 1 }, leftIcon, /* @__PURE__ */ React69__default.createElement(
1220
+ /* @__PURE__ */ React69__default.createElement(Flex, { gap: 1 }, leftIcon, /* @__PURE__ */ React69__default.createElement(
1221
1221
  Box,
1222
1222
  {
1223
1223
  visibility: isLoading ? "hidden" : "visible",
1224
1224
  whiteSpace: "normal",
1225
- textAlign: "left"
1225
+ textAlign: "center"
1226
1226
  },
1227
1227
  children
1228
1228
  )),
@@ -3218,9 +3218,6 @@ var VerySmallButton = (props) => {
3218
3218
  size: "xs",
3219
3219
  minWidth: "24px",
3220
3220
  minHeight: "24px",
3221
- _focusVisible: {
3222
- boxShadow: "inset 0 0 0 2px var(--spor-colors-pine), inset 0 0 0 3px white"
3223
- },
3224
3221
  ...props
3225
3222
  }
3226
3223
  );
@@ -3420,7 +3417,7 @@ var texts14 = createTexts({
3420
3417
  sv: "Telefonnummer"
3421
3418
  }
3422
3419
  });
3423
- var LazyCountryCodeSelect = React69__default.lazy(() => import('./CountryCodeSelect-QZYP3GSD.mjs'));
3420
+ var LazyCountryCodeSelect = React69__default.lazy(() => import('./CountryCodeSelect-OK6RZ6AY.mjs'));
3424
3421
  var Radio = forwardRef((props, ref) => {
3425
3422
  return /* @__PURE__ */ React69__default.createElement(Radio$1, { ...props, ref });
3426
3423
  });
@@ -9747,13 +9744,16 @@ var styles2 = {
9747
9744
  }
9748
9745
  })
9749
9746
  };
9750
-
9751
- // src/theme/utils/focus-utils.ts
9752
- var focusVisible = ({ notFocus, focus }) => ({
9753
- _focus: focus,
9754
- _focusVisible: focus,
9755
- "&[data-focus]:not([data-focus-visible])": notFocus
9747
+ var focusVisibleStyles = (props) => ({
9748
+ _focusVisible: {
9749
+ outlineWidth: "2px",
9750
+ outlineColor: mode("greenHaze", "azure")(props),
9751
+ outlineStyle: "solid",
9752
+ outlineOffset: "1px"
9753
+ }
9756
9754
  });
9755
+
9756
+ // src/theme/components/accordion.ts
9757
9757
  var helpers = createMultiStyleConfigHelpers(accordionAnatomy.keys);
9758
9758
  var config3 = helpers.defineMultiStyleConfig({
9759
9759
  baseStyle: (props) => ({
@@ -9766,25 +9766,14 @@ var config3 = helpers.defineMultiStyleConfig({
9766
9766
  transitionDuration: "normal",
9767
9767
  border: "none",
9768
9768
  borderRadius: "sm",
9769
+ borderColor: "osloGrey",
9769
9770
  display: "flex",
9770
9771
  justifyContent: "space-between",
9771
9772
  color: mode("darkGrey", "white")(props),
9772
9773
  textAlign: "left",
9773
9774
  fontFamily: "body",
9774
9775
  fontWeight: "bold",
9775
- ...focusVisible({
9776
- notFocus: {
9777
- boxShadow: getBoxShadowString({
9778
- borderColor: "osloGrey"
9779
- })
9780
- },
9781
- focus: {
9782
- boxShadow: getBoxShadowString({
9783
- borderColor: mode("greenHaze", "azure")(props),
9784
- borderWidth: 2
9785
- })
9786
- }
9787
- }),
9776
+ ...focusVisibleStyles(props),
9788
9777
  _disabled: {
9789
9778
  opacity: 0.4,
9790
9779
  cursor: "not-allowed"
@@ -10060,7 +10049,6 @@ var baseStyleLink2 = defineStyle((props) => ({
10060
10049
  transitionProperty: "common",
10061
10050
  transitionDuration: "fast",
10062
10051
  transitionTimingFunction: "ease-out",
10063
- outline: "none",
10064
10052
  color: "inherit",
10065
10053
  textDecoration: "none",
10066
10054
  textStyle: "xs",
@@ -10071,17 +10059,7 @@ var baseStyleLink2 = defineStyle((props) => ({
10071
10059
  _hover: {
10072
10060
  backgroundColor: mode("seaMist", "pine")(props)
10073
10061
  },
10074
- ...focusVisible({
10075
- focus: {
10076
- boxShadow: getBoxShadowString({
10077
- borderColor: mode("greenHaze", "azure")(props),
10078
- borderWidth: 2
10079
- })
10080
- },
10081
- notFocus: {
10082
- boxShadow: "none"
10083
- }
10084
- }),
10062
+ ...focusVisibleStyles(props),
10085
10063
  _active: {
10086
10064
  backgroundColor: mode("mint", "whiteAlpha.200")(props)
10087
10065
  }
@@ -10098,11 +10076,12 @@ var breadcrumb_default = defineMultiStyleConfig27({
10098
10076
  baseStyle: baseStyle43
10099
10077
  });
10100
10078
  var config6 = defineStyleConfig$1({
10101
- baseStyle: {
10079
+ baseStyle: (props) => ({
10102
10080
  border: 0,
10103
10081
  borderRadius: "xl",
10104
10082
  display: "flex",
10105
10083
  alignItems: "center",
10084
+ justifyContent: "center",
10106
10085
  transitionProperty: "common",
10107
10086
  transitionDuration: "normal",
10108
10087
  textWrap: "wrap",
@@ -10112,6 +10091,7 @@ var config6 = defineStyleConfig$1({
10112
10091
  boxShadow: 0,
10113
10092
  outline: 0
10114
10093
  },
10094
+ ...focusVisibleStyles(props),
10115
10095
  _disabled: {
10116
10096
  cursor: "not-allowed",
10117
10097
  boxShadow: "none",
@@ -10123,22 +10103,13 @@ var config6 = defineStyleConfig$1({
10123
10103
  background: "silver"
10124
10104
  }
10125
10105
  }
10126
- },
10106
+ }),
10127
10107
  variants: {
10128
10108
  primary: (props) => ({
10129
10109
  // FIXME: Update to use a global defined background color for darkMode whenever it is available.
10130
10110
  // hardcoded background color as alpha-"hack" below is not feasible for dark mode with solid background color
10131
10111
  backgroundColor: mode("pine", "coralGreen")(props),
10132
10112
  color: mode("white", "darkTeal")(props),
10133
- _focusVisible: {
10134
- boxShadow: `inset 0 0 0 2px ${mode(
10135
- colors.greenHaze,
10136
- colors.azure
10137
- )(props)}, inset 0 0 0 4px ${mode(
10138
- colors.white,
10139
- colors.darkGrey
10140
- )(props)}`
10141
- },
10142
10113
  _hover: {
10143
10114
  backgroundColor: mode("darkTeal", "blueGreen")(props)
10144
10115
  },
@@ -10154,24 +10125,6 @@ var config6 = defineStyleConfig$1({
10154
10125
  _hover: {
10155
10126
  backgroundColor: mode("coralGreen", "greenHaze")(props)
10156
10127
  },
10157
- _focusVisible: {
10158
- boxShadow: `inset 0 0 0 2px ${mode(
10159
- colors.greenHaze,
10160
- colors.primaryGreen
10161
- )(props)}, inset 0 0 0 4px ${mode(
10162
- colors.white,
10163
- colors.darkTeal
10164
- )(props)}`,
10165
- _hover: {
10166
- boxShadow: `inset 0 0 0 2px ${mode(
10167
- colors.greenHaze,
10168
- colors.azure
10169
- )(props)}, inset 0 0 0 4px ${mode(
10170
- colors.white,
10171
- colors.blackAlpha[500]
10172
- )(props)}`
10173
- }
10174
- },
10175
10128
  _active: {
10176
10129
  backgroundColor: mode("mint", "darkTeal")(props),
10177
10130
  boxShadow: `inset 0 0 0 2px ${mode(
@@ -10199,12 +10152,6 @@ var config6 = defineStyleConfig$1({
10199
10152
  colors.blackAlpha[400],
10200
10153
  colors.whiteAlpha[400]
10201
10154
  )(props)}`,
10202
- _focusVisible: {
10203
- boxShadow: getBoxShadowString({
10204
- borderWidth: 2,
10205
- borderColor: "azure"
10206
- })
10207
- },
10208
10155
  _hover: {
10209
10156
  boxShadow: `inset 0 0 0 2px currentColor`
10210
10157
  },
@@ -10219,12 +10166,6 @@ var config6 = defineStyleConfig$1({
10219
10166
  ghost: (props) => ({
10220
10167
  backgroundColor: "transparent",
10221
10168
  color: mode("darkGrey", "white")(props),
10222
- _focusVisible: {
10223
- boxShadow: getBoxShadowString({
10224
- borderColor: mode("greenHaze", "azure")(props),
10225
- borderWidth: 2
10226
- })
10227
- },
10228
10169
  _hover: {
10229
10170
  backgroundColor: mode("seaMist", "whiteAlpha.200")(props),
10230
10171
  _disabled: {
@@ -10251,20 +10192,6 @@ var config6 = defineStyleConfig$1({
10251
10192
  baseShadow: "md",
10252
10193
  borderWidth: 2
10253
10194
  })
10254
- },
10255
- _focusVisible: {
10256
- boxShadow: getBoxShadowString({
10257
- borderColor: mode("greenHaze", "azure")(props),
10258
- borderWidth: 2,
10259
- baseShadow: "sm"
10260
- }),
10261
- _hover: {
10262
- boxShadow: getBoxShadowString({
10263
- borderColor: mode("greenHaze", "azure")(props),
10264
- borderWidth: 2,
10265
- baseShadow: "md"
10266
- })
10267
- }
10268
10195
  }
10269
10196
  })
10270
10197
  },
@@ -10315,16 +10242,8 @@ var config7 = defineStyleConfig$1({
10315
10242
  "button&, a&, label&, &.is-clickable": {
10316
10243
  ...getColorSchemeClickableProps(props),
10317
10244
  _hover: getColorSchemeHoverProps(props),
10245
+ ...focusVisibleStyles(props),
10318
10246
  _active: getColorSchemeActiveProps(props),
10319
- _focusVisible: {
10320
- boxShadow: getBoxShadowString({
10321
- borderColor: mode("greenHaze", "azure")(props),
10322
- borderWidth: 2,
10323
- isInset: false
10324
- }),
10325
- outline: "none",
10326
- _active: getColorSchemeActiveProps(props)
10327
- },
10328
10247
  _disabled: {
10329
10248
  backgroundColor: "platinum",
10330
10249
  boxShadow: getBoxShadowString({
@@ -10380,16 +10299,14 @@ function getColorSchemeClickableProps({ colorScheme, size: size2 }) {
10380
10299
  return {
10381
10300
  boxShadow: getBoxShadowString({
10382
10301
  baseShadow,
10383
- borderColor: "silver",
10384
- isInset: false
10302
+ borderColor: "silver"
10385
10303
  })
10386
10304
  };
10387
10305
  case "grey":
10388
10306
  return {
10389
10307
  boxShadow: getBoxShadowString({
10390
10308
  baseShadow,
10391
- borderColor: "steel",
10392
- isInset: false
10309
+ borderColor: "steel"
10393
10310
  })
10394
10311
  };
10395
10312
  default:
@@ -10397,8 +10314,7 @@ function getColorSchemeClickableProps({ colorScheme, size: size2 }) {
10397
10314
  backgroundColor: ((_a6 = colors[colorScheme]) == null ? void 0 : _a6[100]) ?? "platinum",
10398
10315
  boxShadow: getBoxShadowString({
10399
10316
  baseShadow,
10400
- borderColor: ((_b5 = colors[colorScheme]) == null ? void 0 : _b5[200]) ?? "silver",
10401
- isInset: false
10317
+ borderColor: ((_b5 = colors[colorScheme]) == null ? void 0 : _b5[200]) ?? "silver"
10402
10318
  })
10403
10319
  };
10404
10320
  }
@@ -10413,16 +10329,14 @@ var getColorSchemeHoverProps = (props) => {
10413
10329
  backgroundColor: mode("white", "whiteAlpha.200")(props),
10414
10330
  boxShadow: getBoxShadowString({
10415
10331
  baseShadow,
10416
- borderColor: colors.steel,
10417
- isInset: false
10332
+ borderColor: colors.steel
10418
10333
  })
10419
10334
  };
10420
10335
  case "grey":
10421
10336
  return {
10422
10337
  boxShadow: getBoxShadowString({
10423
10338
  baseShadow,
10424
- borderColor: colors.osloGrey,
10425
- isInset: false
10339
+ borderColor: colors.osloGrey
10426
10340
  })
10427
10341
  };
10428
10342
  default:
@@ -10430,8 +10344,7 @@ var getColorSchemeHoverProps = (props) => {
10430
10344
  backgroundColor: ((_a6 = colors[colorScheme]) == null ? void 0 : _a6[200]) ?? "silver",
10431
10345
  boxShadow: getBoxShadowString({
10432
10346
  baseShadow,
10433
- borderColor: ((_b5 = colors[colorScheme]) == null ? void 0 : _b5[400]) ?? colors.silver,
10434
- isInset: false
10347
+ borderColor: ((_b5 = colors[colorScheme]) == null ? void 0 : _b5[400]) ?? colors.silver
10435
10348
  })
10436
10349
  };
10437
10350
  }
@@ -10446,8 +10359,7 @@ var getColorSchemeActiveProps = (props) => {
10446
10359
  backgroundColor: mode("mint", "teal")(props),
10447
10360
  boxShadow: getBoxShadowString({
10448
10361
  baseShadow,
10449
- borderColor: colors.silver,
10450
- isInset: false
10362
+ borderColor: colors.silver
10451
10363
  })
10452
10364
  };
10453
10365
  case "grey":
@@ -10455,8 +10367,7 @@ var getColorSchemeActiveProps = (props) => {
10455
10367
  backgroundColor: "white",
10456
10368
  boxShadow: getBoxShadowString({
10457
10369
  baseShadow,
10458
- borderColor: colors.steel,
10459
- isInset: false
10370
+ borderColor: colors.steel
10460
10371
  })
10461
10372
  };
10462
10373
  default:
@@ -10464,8 +10375,7 @@ var getColorSchemeActiveProps = (props) => {
10464
10375
  backgroundColor: ((_a6 = colors[colorScheme]) == null ? void 0 : _a6[50]) ?? "lightGrey",
10465
10376
  boxShadow: getBoxShadowString({
10466
10377
  baseShadow,
10467
- borderColor: ((_b5 = colors[colorScheme]) == null ? void 0 : _b5[100]) ?? colors.silver,
10468
- isInset: false
10378
+ borderColor: ((_b5 = colors[colorScheme]) == null ? void 0 : _b5[100]) ?? colors.silver
10469
10379
  })
10470
10380
  };
10471
10381
  }
@@ -10564,16 +10474,7 @@ var config8 = helpers3.defineMultiStyleConfig({
10564
10474
  appearance: "none",
10565
10475
  display: "flex",
10566
10476
  alignItems: "center",
10567
- ...focusVisible({
10568
- notFocus: {},
10569
- focus: {
10570
- boxShadow: getBoxShadowString({
10571
- borderColor: "greenHaze",
10572
- borderWidth: 3
10573
- }),
10574
- outline: "none"
10575
- }
10576
- })
10477
+ ...focusVisibleStyles(props)
10577
10478
  },
10578
10479
  card: {
10579
10480
  borderRadius: "sm",
@@ -10589,20 +10490,10 @@ var config8 = helpers3.defineMultiStyleConfig({
10589
10490
  boxShadow: getBoxShadowString({
10590
10491
  borderColor: mode("blackAlpha.400", "whiteAlpha.400")(props)
10591
10492
  }),
10592
- ...focusVisible({
10593
- notFocus: { boxShadow: "none" },
10594
- focus: {
10595
- boxShadow: getBoxShadowString({
10596
- borderColor: "greenHaze",
10597
- borderWidth: 3
10598
- }),
10599
- outline: "none"
10600
- }
10601
- }),
10602
10493
  _hover: {
10603
10494
  boxShadow: getBoxShadowString({
10604
10495
  borderColor: mode("darkGrey", "white")(props),
10605
- borderWidth: 3
10496
+ borderWidth: 2
10606
10497
  })
10607
10498
  },
10608
10499
  _active: {
@@ -10644,13 +10535,17 @@ var config8 = helpers3.defineMultiStyleConfig({
10644
10535
  floating: (props) => ({
10645
10536
  trigger: {
10646
10537
  ...floatingBackground("default", props),
10647
- boxShadow: "sm",
10538
+ boxShadow: getBoxShadowString({
10539
+ borderColor: mode("silver", "whiteAlpha.400")(props),
10540
+ borderWidth: 1,
10541
+ baseShadow: "sm"
10542
+ }),
10648
10543
  transition: "all .1s ease-out",
10649
10544
  _hover: {
10650
10545
  ...floatingBackground("hover", props),
10651
10546
  boxShadow: getBoxShadowString({
10652
10547
  borderColor: mode("silver", "whiteAlpha.400")(props),
10653
- borderWidth: 1,
10548
+ borderWidth: 2,
10654
10549
  baseShadow: "sm"
10655
10550
  })
10656
10551
  },
@@ -10711,7 +10606,7 @@ var config8 = helpers3.defineMultiStyleConfig({
10711
10606
  var card_select_default = config8;
10712
10607
  var helpers4 = createMultiStyleConfigHelpers$1(checkboxAnatomy.keys);
10713
10608
  var config9 = helpers4.defineMultiStyleConfig({
10714
- baseStyle: {
10609
+ baseStyle: (props) => ({
10715
10610
  container: {
10716
10611
  _hover: {
10717
10612
  "input:enabled:not([aria-invalid]) + .chakra-checkbox__control": {
@@ -10753,10 +10648,7 @@ var config9 = helpers4.defineMultiStyleConfig({
10753
10648
  backgroundColor: "primaryGreen",
10754
10649
  borderColor: "primaryGreen",
10755
10650
  color: "white",
10756
- _focus: {
10757
- backgroundColor: "primaryGreen",
10758
- borderColor: "azure"
10759
- },
10651
+ ...focusVisibleStyles(props),
10760
10652
  _disabled: {
10761
10653
  backgroundColor: "lightGrey",
10762
10654
  borderColor: "steel",
@@ -10771,10 +10663,6 @@ var config9 = helpers4.defineMultiStyleConfig({
10771
10663
  backgroundColor: "lightGrey",
10772
10664
  borderColor: "steel"
10773
10665
  },
10774
- _focus: {
10775
- backgroundColor: "white",
10776
- borderColor: "azure"
10777
- },
10778
10666
  _invalid: {
10779
10667
  backgroundColor: "white",
10780
10668
  borderColor: "brightRed"
@@ -10784,7 +10672,7 @@ var config9 = helpers4.defineMultiStyleConfig({
10784
10672
  userSelect: "none",
10785
10673
  _disabled: { opacity: 0.4 }
10786
10674
  }
10787
- }
10675
+ })
10788
10676
  });
10789
10677
  var checkbox_default = config9;
10790
10678
  var parts3 = anatomy$1("choice-chip").parts("container", "icon", "label");
@@ -10804,15 +10692,7 @@ var config10 = helpers5.defineMultiStyleConfig({
10804
10692
  background: "pine",
10805
10693
  boxShadow: getBoxShadowString({ borderColor: "celadon" })
10806
10694
  },
10807
- "input:focus-visible + &": {
10808
- boxShadow: `inset 0 0 0 2px ${mode(
10809
- colors.greenHaze,
10810
- colors.azure
10811
- )(props)}, inset 0 0 0 4px ${mode(
10812
- colors.white,
10813
- colors.darkGrey
10814
- )(props)}`
10815
- },
10695
+ "input:focus-visible + &": focusVisibleStyles(props)._focusVisible,
10816
10696
  "@media (hover:hover)": {
10817
10697
  _hover: {
10818
10698
  color: mode("darkTeal", "white")(props),
@@ -10881,18 +10761,7 @@ var config11 = defineStyleConfig$1({
10881
10761
  backgroundColor: "transparent",
10882
10762
  color: mode("darkGrey", "white")(props),
10883
10763
  fontWeight: "normal",
10884
- ...focusVisible({
10885
- focus: {
10886
- outline: "none",
10887
- boxShadow: getBoxShadowString({
10888
- borderColor: mode("greenHaze", "azure")(props)
10889
- }),
10890
- outlineOffset: "2px"
10891
- },
10892
- notFocus: {
10893
- boxShadow: "none"
10894
- }
10895
- }),
10764
+ ...focusVisibleStyles(props),
10896
10765
  _hover: {
10897
10766
  backgroundColor: mode("seaMist", "whiteAlpha.100")(props),
10898
10767
  _disabled: {
@@ -10928,7 +10797,7 @@ var config12 = defineStyleConfig$1({
10928
10797
  fontFamily: "monospace",
10929
10798
  fontSize: ["mobile.xs", "desktop.xs"],
10930
10799
  borderRadius: "xs",
10931
- px: 1
10800
+ paddingX: 1
10932
10801
  },
10933
10802
  variants: variants13,
10934
10803
  defaultProps: defaultProps2
@@ -10967,6 +10836,9 @@ var config13 = helpers6.defineMultiStyleConfig({
10967
10836
  },
10968
10837
  _disabled: {
10969
10838
  pointerEvents: "none"
10839
+ },
10840
+ _focusWithin: {
10841
+ ...focusVisibleStyles(props)._focusVisible
10970
10842
  }
10971
10843
  },
10972
10844
  inputLabel: {
@@ -10983,7 +10855,10 @@ var config13 = helpers6.defineMultiStyleConfig({
10983
10855
  },
10984
10856
  calendarTriggerButton: {
10985
10857
  backgroundColor: mode("white", "night")(props),
10986
- boxShadow: "none",
10858
+ boxShadow: getBoxShadowString({
10859
+ borderColor: mode("darkGrey", "white")(props),
10860
+ borderWidth: 1
10861
+ }),
10987
10862
  width: 8,
10988
10863
  display: "flex",
10989
10864
  alignItems: "center",
@@ -11003,21 +10878,7 @@ var config13 = helpers6.defineMultiStyleConfig({
11003
10878
  _active: {
11004
10879
  backgroundColor: mode("mint", "whiteAlpha.200")(props)
11005
10880
  },
11006
- ...focusVisible({
11007
- focus: {
11008
- outline: "none",
11009
- boxShadow: getBoxShadowString({
11010
- borderColor: mode("greenHaze", "azure")(props),
11011
- borderWidth: 2
11012
- })
11013
- },
11014
- notFocus: {
11015
- boxShadow: getBoxShadowString({
11016
- borderColor: mode("darkGrey", "white")(props),
11017
- borderWidth: 1
11018
- })
11019
- }
11020
- }),
10881
+ ...focusVisibleStyles(props),
11021
10882
  _invalid: {
11022
10883
  boxShadow: getBoxShadowString({
11023
10884
  borderColor: "brightRed",
@@ -11057,27 +10918,11 @@ var config13 = helpers6.defineMultiStyleConfig({
11057
10918
  _hover: {
11058
10919
  backgroundColor: mode("seaMist", "pine")(props)
11059
10920
  },
11060
- ...focusVisible({
11061
- focus: {
11062
- outline: "none",
11063
- boxShadow: getBoxShadowString({
11064
- borderWidth: 2,
11065
- borderColor: mode("greenHaze", "azure")(props)
11066
- })
11067
- },
11068
- notFocus: {
11069
- boxShadow: "none",
11070
- _hover: {
11071
- boxShadow: getBoxShadowString({
11072
- borderWidth: 2,
11073
- borderColor: "osloGrey"
11074
- })
11075
- },
11076
- _active: {
11077
- color: mode("darkGrey", "white")(props)
11078
- }
11079
- }
11080
- }),
10921
+ _focusVisible: {
10922
+ outlineColor: "greenHaze",
10923
+ outlineWidth: 2,
10924
+ outlineStyle: "solid"
10925
+ },
11081
10926
  _active: {
11082
10927
  backgroundColor: "seaMist",
11083
10928
  boxShadow: "none",
@@ -11101,14 +10946,7 @@ var config13 = helpers6.defineMultiStyleConfig({
11101
10946
  boxShadow: getBoxShadowString({
11102
10947
  borderWidth: 1,
11103
10948
  borderColor: mode("blackAlpha.400", "whiteAlpha.400")(props)
11104
- }),
11105
- _focus: {
11106
- outline: "none",
11107
- boxShadow: getBoxShadowString({
11108
- borderWidth: 2,
11109
- borderColor: mode("greenHaze", "azure")(props)
11110
- })
11111
- }
10949
+ })
11112
10950
  },
11113
10951
  "&[data-unavailable]": {
11114
10952
  pointerEvents: "none",
@@ -11128,12 +10966,6 @@ var config13 = helpers6.defineMultiStyleConfig({
11128
10966
  borderWidth: 2
11129
10967
  })
11130
10968
  },
11131
- _focusWithin: {
11132
- boxShadow: getBoxShadowString({
11133
- borderColor: mode("greenHaze", "azure")(props),
11134
- borderWidth: 2
11135
- })
11136
- },
11137
10969
  _invalid: {
11138
10970
  boxShadow: getBoxShadowString({
11139
10971
  borderColor: "brightRed",
@@ -11187,13 +11019,6 @@ var config13 = helpers6.defineMultiStyleConfig({
11187
11019
  baseShadow: "sm"
11188
11020
  })
11189
11021
  },
11190
- _focusWithin: {
11191
- boxShadow: getBoxShadowString({
11192
- borderColor: mode("greenHaze", "azure")(props),
11193
- borderWidth: 2,
11194
- baseShadow: "sm"
11195
- })
11196
- },
11197
11022
  _invalid: {
11198
11023
  boxShadow: getBoxShadowString({
11199
11024
  borderColor: "brightRed",
@@ -11240,12 +11065,6 @@ var config13 = helpers6.defineMultiStyleConfig({
11240
11065
  borderWidth: 2
11241
11066
  })
11242
11067
  },
11243
- _focusWithin: {
11244
- boxShadow: getBoxShadowString({
11245
- borderColor: mode("greenHaze", "azure")(props),
11246
- borderWidth: 2
11247
- })
11248
- },
11249
11068
  _invalid: {
11250
11069
  boxShadow: getBoxShadowString({
11251
11070
  borderColor: "brightRed",
@@ -11343,9 +11162,9 @@ var config14 = helpers7.defineMultiStyleConfig({
11343
11162
  boxShadow: "md"
11344
11163
  },
11345
11164
  header: {
11346
- px: 3,
11347
- pt: 6,
11348
- pb: 2,
11165
+ paddingX: 3,
11166
+ paddingTop: 6,
11167
+ paddingBottom: 2,
11349
11168
  fontWeight: "bold",
11350
11169
  fontFamily: "body"
11351
11170
  },
@@ -11356,14 +11175,14 @@ var config14 = helpers7.defineMultiStyleConfig({
11356
11175
  zIndex: "modal"
11357
11176
  },
11358
11177
  body: {
11359
- px: 3,
11360
- pb: 6,
11178
+ paddingX: 3,
11179
+ paddingBottom: 6,
11361
11180
  flex: 1,
11362
11181
  overflow: props.scrollBehavior === "inside" ? "auto" : void 0
11363
11182
  },
11364
11183
  footer: {
11365
- px: 3,
11366
- pb: 3
11184
+ paddingX: 3,
11185
+ paddingBottom: 3
11367
11186
  }
11368
11187
  }),
11369
11188
  sizes: {
@@ -11408,9 +11227,9 @@ var config15 = helpers8.defineMultiStyleConfig({
11408
11227
  container: {
11409
11228
  display: "flex",
11410
11229
  alignItems: "center",
11411
- py: 2,
11412
- pl: 2,
11413
- pr: props.isTextVisible ? 3 : 2,
11230
+ paddingY: 2,
11231
+ paddingLeft: 2,
11232
+ paddingRight: props.isTextVisible ? 3 : 2,
11414
11233
  cursor: "pointer",
11415
11234
  overflowX: "hidden",
11416
11235
  whiteSpace: "nowrap",
@@ -11424,25 +11243,14 @@ var config15 = helpers8.defineMultiStyleConfig({
11424
11243
  backgroundColor: "whiteAlpha.400",
11425
11244
  color: "white"
11426
11245
  },
11427
- ...focusVisible({
11428
- focus: {
11429
- boxShadow: getBoxShadowString({
11430
- borderColor: "greenHaze",
11431
- borderWidth: 2,
11432
- baseShadow: "md"
11433
- })
11434
- },
11435
- notFocus: {
11436
- boxShadow: "md"
11437
- }
11438
- }),
11246
+ ...focusVisibleStyles(props),
11439
11247
  _hover: {
11440
11248
  backgroundColor: "seaMist"
11441
11249
  },
11442
11250
  zIndex: "sticky"
11443
11251
  },
11444
11252
  icon: {
11445
- mr: props.isTextVisible ? 1 : 0
11253
+ marginRight: props.isTextVisible ? 1 : 0
11446
11254
  },
11447
11255
  text: {
11448
11256
  display: "flex",
@@ -11460,16 +11268,7 @@ var config15 = helpers8.defineMultiStyleConfig({
11460
11268
  _active: { backgroundColor: "pine" },
11461
11269
  _hover: {
11462
11270
  backgroundColor: "night"
11463
- },
11464
- ...focusVisible({
11465
- focus: {
11466
- boxShadow: `${props.theme.shadows.md}, inset 0 0 0 4px ${props.theme.colors.darkTeal}, inset 0 0 0 6px ${props.theme.colors.white}`,
11467
- outline: "none"
11468
- },
11469
- notFocus: {
11470
- boxShadow: "md"
11471
- }
11472
- })
11271
+ }
11473
11272
  }
11474
11273
  }),
11475
11274
  light: {
@@ -11493,19 +11292,7 @@ var config15 = helpers8.defineMultiStyleConfig({
11493
11292
  _active: { backgroundColor: mode("pine", "white")(props) },
11494
11293
  _hover: {
11495
11294
  backgroundColor: mode("night", "seaMist")(props)
11496
- },
11497
- ...focusVisible({
11498
- focus: {
11499
- boxShadow: mode(
11500
- `${props.theme.shadows.md}, inset 0 0 0 4px ${props.theme.colors.darkTeal}, inset 0 0 0 6px ${props.theme.colors.white}`,
11501
- `${props.theme.shadows.md}, inset 0 0 0 4px ${props.theme.colors.mint}, inset 0 0 0 6px ${props.theme.colors.darkTeal}`
11502
- )(props),
11503
- outline: "none"
11504
- },
11505
- notFocus: {
11506
- boxShadow: "md"
11507
- }
11508
- })
11295
+ }
11509
11296
  }
11510
11297
  }),
11511
11298
  base: (props) => ({
@@ -11523,19 +11310,7 @@ var config15 = helpers8.defineMultiStyleConfig({
11523
11310
  `inset 0 0 0 2px ${props.theme.colors.white}`
11524
11311
  )(props),
11525
11312
  color: mode("darkGrey", "white")(props)
11526
- },
11527
- ...focusVisible({
11528
- focus: {
11529
- boxShadow: mode(
11530
- `${props.theme.shadows.md}, inset 0 0 0 4px ${props.theme.colors.white}, inset 0 0 0 6px ${props.theme.colors.darkGrey}`,
11531
- `${props.theme.shadows.md}, inset 0 0 0 4px ${props.theme.colors.brightRed}, inset 0 0 0 6px ${props.theme.colors.white}`
11532
- )(props),
11533
- outline: "none"
11534
- },
11535
- notFocus: {
11536
- boxShadow: "md"
11537
- }
11538
- })
11313
+ }
11539
11314
  }
11540
11315
  }),
11541
11316
  accent: (props) => ({
@@ -11549,19 +11324,7 @@ var config15 = helpers8.defineMultiStyleConfig({
11549
11324
  _hover: {
11550
11325
  backgroundColor: mode("coralGreen", "whiteAlpha.200")(props),
11551
11326
  color: mode("darkTeal", "white")(props)
11552
- },
11553
- ...focusVisible({
11554
- focus: {
11555
- boxShadow: mode(
11556
- `${props.theme.shadows.md}, inset 0 0 0 4px ${props.theme.colors.mint}, inset 0 0 0 6px ${props.theme.colors.azure}`,
11557
- `${props.theme.shadows.md}, inset 0 0 0 4px ${props.theme.colors.pine}, inset 0 0 0 6px ${props.theme.colors.azure}`
11558
- )(props),
11559
- outline: "none"
11560
- },
11561
- notFocus: {
11562
- boxShadow: "md"
11563
- }
11564
- })
11327
+ }
11565
11328
  }
11566
11329
  })
11567
11330
  },
@@ -11596,7 +11359,7 @@ var config16 = helpers9.defineMultiStyleConfig({
11596
11359
  color: mode("brightRed", "lightRed")(props)
11597
11360
  },
11598
11361
  helperText: {
11599
- mt: 2,
11362
+ marginTop: 2,
11600
11363
  color: mode("dimGrey", "whiteAlpha.600")(props),
11601
11364
  lineHeight: "normal",
11602
11365
  fontSize: "sm"
@@ -11608,7 +11371,7 @@ var config17 = defineStyleConfig$1({
11608
11371
  baseStyle: {
11609
11372
  fontSize: "mobile.sm",
11610
11373
  marginEnd: 3,
11611
- mb: 2,
11374
+ marginBottom: 2,
11612
11375
  transitionProperty: "common",
11613
11376
  transitionDuration: "normal",
11614
11377
  opacity: 1,
@@ -11618,20 +11381,6 @@ var config17 = defineStyleConfig$1({
11618
11381
  }
11619
11382
  });
11620
11383
  var form_label_default = config17;
11621
-
11622
- // src/theme/utils/sr-utils.ts
11623
- var srOnly2 = {
11624
- border: "0 !important",
11625
- clip: "rect(1px, 1px, 1px, 1px) !important",
11626
- clipPath: "inset(50%) !important",
11627
- height: "1px !important",
11628
- margin: "-1px !important",
11629
- overflow: "hidden !important",
11630
- padding: "0 !important",
11631
- position: "absolute !important",
11632
- width: "1px !important",
11633
- whiteSpace: "nowrap !important"
11634
- };
11635
11384
  function baseBorder(state2, props) {
11636
11385
  switch (state2) {
11637
11386
  case "hover":
@@ -11706,6 +11455,20 @@ function floatingBorder(state2, props) {
11706
11455
  }
11707
11456
  }
11708
11457
 
11458
+ // src/theme/utils/sr-utils.ts
11459
+ var srOnly2 = {
11460
+ border: "0 !important",
11461
+ clip: "rect(1px, 1px, 1px, 1px) !important",
11462
+ clipPath: "inset(50%) !important",
11463
+ height: "1px !important",
11464
+ margin: "-1px !important",
11465
+ overflow: "hidden !important",
11466
+ padding: "0 !important",
11467
+ position: "absolute !important",
11468
+ width: "1px !important",
11469
+ whiteSpace: "nowrap !important"
11470
+ };
11471
+
11709
11472
  // src/theme/components/info-select.ts
11710
11473
  var parts6 = anatomy("InfoSelect").parts(
11711
11474
  "container",
@@ -11735,15 +11498,7 @@ var config18 = helpers10.defineMultiStyleConfig({
11735
11498
  _hover: {
11736
11499
  ...baseBorder("hover", props)
11737
11500
  },
11738
- ...focusVisible({
11739
- focus: {
11740
- ...baseBorder("focus", props),
11741
- outline: "none"
11742
- },
11743
- notFocus: {
11744
- ...baseBorder("default", props)
11745
- }
11746
- }),
11501
+ ...focusVisibleStyles(props),
11747
11502
  _disabled: {
11748
11503
  color: "whiteAlpha.400",
11749
11504
  ...baseBackground("disabled", props),
@@ -11751,31 +11506,19 @@ var config18 = helpers10.defineMultiStyleConfig({
11751
11506
  _focus: { ...baseBorder("disabled", props) }
11752
11507
  },
11753
11508
  _active: {
11754
- ...baseBackground("active", props),
11755
- ...baseBorder("focus", props)
11756
- },
11757
- _expanded: {
11758
- ...baseBorder("focus", props)
11509
+ ...baseBackground("active", props)
11759
11510
  },
11760
11511
  _invalid: {
11761
11512
  ...baseBorder("invalid", props),
11762
11513
  _hover: {
11763
11514
  ...baseBorder("hover", props)
11764
- },
11765
- ...focusVisible({
11766
- focus: {
11767
- ...baseBorder("focus", props)
11768
- },
11769
- notFocus: {
11770
- ...baseBorder("invalid", props)
11771
- }
11772
- })
11515
+ }
11773
11516
  }
11774
11517
  },
11775
11518
  arrowIcon: {}
11776
11519
  }),
11777
11520
  variants: {
11778
- base: (props) => ({}),
11521
+ base: () => ({}),
11779
11522
  floating: (props) => ({
11780
11523
  button: {
11781
11524
  ...floatingBackground("default", props),
@@ -11784,15 +11527,6 @@ var config18 = helpers10.defineMultiStyleConfig({
11784
11527
  ...floatingBorder("hover", props),
11785
11528
  ...floatingBackground("hover", props)
11786
11529
  },
11787
- ...focusVisible({
11788
- focus: {
11789
- ...floatingBorder("focus", props),
11790
- outline: "none"
11791
- },
11792
- notFocus: {
11793
- ...floatingBorder("default", props)
11794
- }
11795
- }),
11796
11530
  _active: {
11797
11531
  ...floatingBorder("active", props),
11798
11532
  ...floatingBackground("active", props)
@@ -11836,20 +11570,7 @@ var config19 = helpers11.defineMultiStyleConfig({
11836
11570
  baseShadow: "sm"
11837
11571
  })
11838
11572
  },
11839
- ...focusVisible({
11840
- focus: {
11841
- outline: "none",
11842
- borderColor: "transparent",
11843
- boxShadow: getBoxShadowString({
11844
- borderWidth: 2,
11845
- borderColor: "darkGrey"
11846
- })
11847
- },
11848
- notFocus: {
11849
- boxShadow: "none",
11850
- borderColor: getDeviationBorderColor(props)
11851
- }
11852
- }),
11573
+ ...focusVisibleStyles(props),
11853
11574
  _active: {
11854
11575
  opacity: 0.5,
11855
11576
  boxShadow: "none"
@@ -12137,7 +11858,7 @@ var config21 = helpers13.defineMultiStyleConfig({
12137
11858
  transitionProperty: "common",
12138
11859
  transitionDuration: "fast",
12139
11860
  position: "relative",
12140
- px: 3,
11861
+ paddingX: 3,
12141
11862
  height: "54px",
12142
11863
  fontSize: "mobile.md",
12143
11864
  boxShadow: getBoxShadowString({
@@ -12155,19 +11876,10 @@ var config21 = helpers13.defineMultiStyleConfig({
12155
11876
  borderWidth: 2
12156
11877
  })
12157
11878
  },
12158
- ...focusVisible({
12159
- focus: {
12160
- boxShadow: getBoxShadowString({
12161
- borderColor: mode("greenHaze", "azure")(props),
12162
- borderWidth: 2
12163
- })
12164
- },
12165
- notFocus: {
12166
- boxShadow: getBoxShadowString({
12167
- borderColor: mode("darkGrey", "white")(props)
12168
- })
12169
- }
12170
- }),
11879
+ _focusVisible: {
11880
+ ...focusVisibleStyles(props)._focusVisible,
11881
+ outlineOffset: -2
11882
+ },
12171
11883
  _disabled: {
12172
11884
  backgroundColor: mode("blackAlpha.100", "whiteAlpha.100")(props),
12173
11885
  boxShadow: getBoxShadowString({
@@ -12185,21 +11897,7 @@ var config21 = helpers13.defineMultiStyleConfig({
12185
11897
  borderColor: mode("darkGrey", "white")(props),
12186
11898
  borderWidth: 2
12187
11899
  })
12188
- },
12189
- ...focusVisible({
12190
- focus: {
12191
- boxShadow: getBoxShadowString({
12192
- borderColor: mode("greenHaze", "azure")(props),
12193
- borderWidth: 2
12194
- })
12195
- },
12196
- notFocus: {
12197
- boxShadow: getBoxShadowString({
12198
- borderColor: "brightRed",
12199
- borderWidth: 2
12200
- })
12201
- }
12202
- })
11900
+ }
12203
11901
  },
12204
11902
  " + label": {
12205
11903
  fontSize: ["mobile.sm", "desktop.sm"],
@@ -12207,13 +11905,13 @@ var config21 = helpers13.defineMultiStyleConfig({
12207
11905
  left: props.paddingLeft || props.pl || 3,
12208
11906
  zIndex: 2,
12209
11907
  position: "absolute",
12210
- my: 2,
11908
+ marginY: 2,
12211
11909
  transition: ".1s ease-out",
12212
11910
  transformOrigin: "top left",
12213
11911
  cursor: "text"
12214
11912
  },
12215
11913
  "&:not(:placeholder-shown)": {
12216
- pt: "16px",
11914
+ paddingTop: "16px",
12217
11915
  "& + label": {
12218
11916
  transform: "scale(0.825) translateY(-10px)"
12219
11917
  }
@@ -12351,7 +12049,7 @@ var config22 = helpers14.defineMultiStyleConfig({
12351
12049
  });
12352
12050
  var line_icon_default = config22;
12353
12051
  var config23 = defineStyleConfig$1({
12354
- baseStyle: {
12052
+ baseStyle: (props) => ({
12355
12053
  transitionProperty: "common",
12356
12054
  transitionDuration: "fast",
12357
12055
  transitionTimingFunction: "ease-out",
@@ -12372,6 +12070,7 @@ var config23 = defineStyleConfig$1({
12372
12070
  outline: "none",
12373
12071
  borderRadius: "xs"
12374
12072
  },
12073
+ ...focusVisibleStyles(props),
12375
12074
  svg: {
12376
12075
  display: "inline-block",
12377
12076
  width: "1.125em",
@@ -12379,25 +12078,10 @@ var config23 = defineStyleConfig$1({
12379
12078
  position: "relative",
12380
12079
  bottom: "-0.2em"
12381
12080
  }
12382
- },
12081
+ }),
12383
12082
  variants: {
12384
12083
  primary: (props) => ({
12385
12084
  color: mode("pine", "coralGreen")(props),
12386
- ...focusVisible({
12387
- focus: {
12388
- backgroundColor: mode("pine", "white")(props),
12389
- color: mode("white", "pine")(props),
12390
- boxShadow: getBoxShadowString({
12391
- borderWidth: 2,
12392
- isInset: false
12393
- })
12394
- },
12395
- notFocus: {
12396
- color: "pine",
12397
- backgroundColor: "transparent",
12398
- boxShadow: "none"
12399
- }
12400
- }),
12401
12085
  _hover: {
12402
12086
  color: mode("darkTeal", "white")(props),
12403
12087
  backgroundColor: mode("coralGreen", "whiteAlpha.200")(props)
@@ -12409,16 +12093,6 @@ var config23 = defineStyleConfig$1({
12409
12093
  }),
12410
12094
  secondary: (props) => ({
12411
12095
  color: mode("darkGrey", "white")(props),
12412
- ...focusVisible({
12413
- focus: {
12414
- backgroundColor: mode("darkGrey", "white")(props),
12415
- color: mode("white", "darkTeal")(props)
12416
- },
12417
- notFocus: {
12418
- boxShadow: "none",
12419
- backgroundColor: "transparent"
12420
- }
12421
- }),
12422
12096
  _hover: {
12423
12097
  backgroundColor: mode("blackAlpha.100", "whiteAlpha.200")(props),
12424
12098
  color: mode("darkGrey", "white")(props)
@@ -12487,12 +12161,10 @@ var config24 = helpers15.defineMultiStyleConfig({
12487
12161
  _active: {
12488
12162
  ...ghostBackground("active", props)
12489
12163
  },
12490
- _focus: {
12491
- ...ghostBackground("focus", props)
12492
- },
12493
12164
  _hover: {
12494
12165
  ...ghostBackground("hover", props)
12495
12166
  },
12167
+ ...focusVisibleStyles(props),
12496
12168
  _selected: {
12497
12169
  ...ghostBackground("selected", props)
12498
12170
  }
@@ -12511,7 +12183,7 @@ var listbox_default = config24;
12511
12183
  var parts11 = anatomy$1("media-controller-button").parts("container", "icon");
12512
12184
  var helpers16 = createMultiStyleConfigHelpers$1(parts11.keys);
12513
12185
  var config25 = helpers16.defineMultiStyleConfig({
12514
- baseStyle: {
12186
+ baseStyle: (props) => ({
12515
12187
  container: {
12516
12188
  fontSize: 30,
12517
12189
  transitionProperty: "common",
@@ -12524,7 +12196,8 @@ var config25 = helpers16.defineMultiStyleConfig({
12524
12196
  display: "flex",
12525
12197
  padding: 1,
12526
12198
  alignSelf: "center",
12527
- color: "primaryGreen"
12199
+ color: "primaryGreen",
12200
+ ...focusVisibleStyles(props)
12528
12201
  },
12529
12202
  icon: {
12530
12203
  flex: "0 0 auto",
@@ -12532,7 +12205,7 @@ var config25 = helpers16.defineMultiStyleConfig({
12532
12205
  width: "1em",
12533
12206
  height: "1em"
12534
12207
  }
12535
- },
12208
+ }),
12536
12209
  variants: {
12537
12210
  play: {
12538
12211
  container: {
@@ -12543,34 +12216,6 @@ var config25 = helpers16.defineMultiStyleConfig({
12543
12216
  _active: {
12544
12217
  color: "greenHaze"
12545
12218
  },
12546
- ...focusVisible({
12547
- focus: {
12548
- position: "relative",
12549
- outline: "none",
12550
- _after: {
12551
- content: '""',
12552
- display: "block",
12553
- zIndex: 2,
12554
- margin: 0.5,
12555
- borderRadius: "round",
12556
- borderWidth: 2,
12557
- borderColor: "white",
12558
- borderStyle: "solid",
12559
- pointerEvents: "none",
12560
- position: "absolute",
12561
- top: 0,
12562
- right: 0,
12563
- bottom: 0,
12564
- left: 0,
12565
- outline: "none"
12566
- }
12567
- },
12568
- notFocus: {
12569
- _after: {
12570
- display: "none"
12571
- }
12572
- }
12573
- }),
12574
12219
  _disabled: {
12575
12220
  color: "silver",
12576
12221
  _hover: {
@@ -12584,18 +12229,6 @@ var config25 = helpers16.defineMultiStyleConfig({
12584
12229
  },
12585
12230
  jumpSkip: {
12586
12231
  container: {
12587
- ...focusVisible({
12588
- focus: {
12589
- boxShadow: getBoxShadowString({
12590
- borderColor: "greenHaze",
12591
- borderWidth: 2
12592
- }),
12593
- outline: "none"
12594
- },
12595
- notFocus: {
12596
- boxShadow: "none"
12597
- }
12598
- }),
12599
12232
  _hover: {
12600
12233
  backgroundColor: "seaMist"
12601
12234
  },
@@ -12657,9 +12290,9 @@ var config26 = helpers17.defineMultiStyleConfig({
12657
12290
  boxShadow: "md"
12658
12291
  },
12659
12292
  header: {
12660
- px: 5,
12661
- pt: 6,
12662
- pb: 2,
12293
+ paddingX: 5,
12294
+ paddingTop: 6,
12295
+ paddingBottom: 2,
12663
12296
  fontWeight: "bold",
12664
12297
  fontFamily: "body"
12665
12298
  },
@@ -12670,14 +12303,14 @@ var config26 = helpers17.defineMultiStyleConfig({
12670
12303
  insetEnd: 3
12671
12304
  },
12672
12305
  body: {
12673
- px: 5,
12674
- pb: 6,
12306
+ paddingX: 5,
12307
+ paddingBottom: 6,
12675
12308
  flex: 1,
12676
12309
  overflow: props.scrollBehavior === "inside" ? "auto" : void 0
12677
12310
  },
12678
12311
  footer: {
12679
- px: 3,
12680
- pb: 3
12312
+ paddingX: 3,
12313
+ paddingBottom: 3
12681
12314
  }
12682
12315
  }),
12683
12316
  sizes: {
@@ -12731,7 +12364,7 @@ var config27 = helpers18.defineMultiStyleConfig({
12731
12364
  [$arrowShadowColor2.variable]: `colors.blackAlpha.300`,
12732
12365
  color: "white",
12733
12366
  borderRadius: "sm",
12734
- p: 1.5,
12367
+ padding: 1.5,
12735
12368
  zIndex: "inherit",
12736
12369
  maxWidth: "20em",
12737
12370
  _focus: {
@@ -12748,14 +12381,7 @@ var config27 = helpers18.defineMultiStyleConfig({
12748
12381
  position: "absolute",
12749
12382
  color: "white",
12750
12383
  hover: "whiteAlpha.100",
12751
- ...focusVisible({
12752
- focus: {
12753
- boxShadow: getBoxShadowString({ borderColor: "azure" })
12754
- },
12755
- notFocus: {
12756
- boxShadow: "none"
12757
- }
12758
- }),
12384
+ ...focusVisibleStyles(props),
12759
12385
  _active: {
12760
12386
  backgroundColor: "whiteAlpha.200"
12761
12387
  },
@@ -12770,14 +12396,14 @@ var config27 = helpers18.defineMultiStyleConfig({
12770
12396
  sizes: {
12771
12397
  sm: {
12772
12398
  content: {
12773
- px: 1.5,
12774
- py: 1
12399
+ paddingX: 1.5,
12400
+ paddingY: 1
12775
12401
  }
12776
12402
  },
12777
12403
  lg: {
12778
12404
  content: {
12779
- px: 3,
12780
- py: 2
12405
+ paddingX: 3,
12406
+ paddingY: 2
12781
12407
  }
12782
12408
  }
12783
12409
  }
@@ -12813,9 +12439,6 @@ var config28 = helpers19.defineMultiStyleConfig({
12813
12439
  }
12814
12440
  }
12815
12441
  }),
12816
- variants: {
12817
- base: (props) => ({})
12818
- },
12819
12442
  defaultProps: {
12820
12443
  variant: "base"
12821
12444
  }
@@ -12823,7 +12446,7 @@ var config28 = helpers19.defineMultiStyleConfig({
12823
12446
  var progress_indicator_default = config28;
12824
12447
  var helpers20 = createMultiStyleConfigHelpers$1(radioAnatomy.keys);
12825
12448
  var config29 = helpers20.defineMultiStyleConfig({
12826
- baseStyle: {
12449
+ baseStyle: (props) => ({
12827
12450
  container: {
12828
12451
  _hover: {
12829
12452
  "input:enabled + .chakra-radio__control": {
@@ -12846,10 +12469,7 @@ var config29 = helpers20.defineMultiStyleConfig({
12846
12469
  border: "2px solid",
12847
12470
  borderColor: "primaryGreen",
12848
12471
  borderRadius: "50%",
12849
- _focus: {
12850
- backgroundColor: "seaMist",
12851
- borderColor: "azure"
12852
- },
12472
+ ...focusVisibleStyles(props),
12853
12473
  _disabled: {
12854
12474
  backgroundColor: "lightGrey",
12855
12475
  borderColor: "steel"
@@ -12866,17 +12486,13 @@ var config29 = helpers20.defineMultiStyleConfig({
12866
12486
  borderRadius: "50%",
12867
12487
  background: "currentColor"
12868
12488
  },
12869
- _focus: {
12870
- backgroundColor: "white",
12871
- color: "azure"
12872
- },
12873
12489
  _disabled: {
12874
12490
  backgroundColor: "lightGrey",
12875
12491
  borderColor: "steel"
12876
12492
  }
12877
12493
  }
12878
12494
  }
12879
- }
12495
+ })
12880
12496
  });
12881
12497
  var radio_default = config29;
12882
12498
  var parts13 = selectAnatomy.extend("root");
@@ -12893,7 +12509,7 @@ var config30 = helpers21.defineMultiStyleConfig({
12893
12509
  left: 3,
12894
12510
  zIndex: 2,
12895
12511
  position: "absolute",
12896
- my: 2,
12512
+ marginY: 2,
12897
12513
  transformOrigin: "top left",
12898
12514
  transform: [
12899
12515
  "scale(0.825) translateY(-12px)",
@@ -12979,9 +12595,9 @@ var config32 = helpers22.defineMultiStyleConfig({
12979
12595
  width: "100%"
12980
12596
  },
12981
12597
  container: {
12982
- px: [2, 2, 0],
12598
+ paddingX: [2, 2, 0],
12983
12599
  maxWidth: "container.lg",
12984
- mx: "auto",
12600
+ marginX: "auto",
12985
12601
  width: "100%"
12986
12602
  },
12987
12603
  innerContainer: {
@@ -12992,7 +12608,7 @@ var config32 = helpers22.defineMultiStyleConfig({
12992
12608
  },
12993
12609
  backButton: {
12994
12610
  borderRadius: "xs",
12995
- px: 0,
12611
+ paddingX: 0,
12996
12612
  width: "auto",
12997
12613
  minWidth: "auto"
12998
12614
  },
@@ -13002,7 +12618,7 @@ var config32 = helpers22.defineMultiStyleConfig({
13002
12618
  WebkitLineClamp: 2,
13003
12619
  display: "-webkit-box",
13004
12620
  WebkitBoxOrient: "vertical",
13005
- ml: 2,
12621
+ marginLeft: 2,
13006
12622
  textAlign: "right"
13007
12623
  },
13008
12624
  stepContainer: {
@@ -13015,7 +12631,7 @@ var config32 = helpers22.defineMultiStyleConfig({
13015
12631
  }
13016
12632
  }),
13017
12633
  variants: {
13018
- base: (props) => ({
12634
+ base: () => ({
13019
12635
  root: {
13020
12636
  backgroundColor: "transparent"
13021
12637
  }
@@ -13076,37 +12692,7 @@ var config33 = helpers23.defineMultiStyleConfig({
13076
12692
  borderColor: colors.whiteAlpha[400]
13077
12693
  })
13078
12694
  )({ colorMode }),
13079
- ...focusVisible({
13080
- focus: {
13081
- boxShadow: mode(
13082
- getBoxShadowString([
13083
- {
13084
- borderColor: "white",
13085
- borderWidth: 2,
13086
- isInset: false
13087
- },
13088
- {
13089
- borderColor: "primaryGreen",
13090
- borderWidth: 4,
13091
- isInset: false
13092
- }
13093
- ]),
13094
- getBoxShadowString({
13095
- borderColor: "coralGreen",
13096
- borderWidth: 2,
13097
- isInset: false
13098
- })
13099
- )({ colorMode })
13100
- },
13101
- notFocus: {
13102
- boxShadow: mode(
13103
- "none",
13104
- getBoxShadowString({
13105
- borderColor: colors.whiteAlpha[400]
13106
- })
13107
- )({ colorMode })
13108
- }
13109
- }),
12695
+ ...focusVisibleStyles({ colorMode }),
13110
12696
  _hover: {
13111
12697
  backgroundColor: "steel",
13112
12698
  boxShadow: mode(
@@ -13116,35 +12702,6 @@ var config33 = helpers23.defineMultiStyleConfig({
13116
12702
  },
13117
12703
  _checked: {
13118
12704
  backgroundColor: mode("darkTeal", "celadon")({ colorMode }),
13119
- ...focusVisible({
13120
- focus: {
13121
- boxShadow: mode(
13122
- getBoxShadowString([
13123
- {
13124
- borderColor: "white",
13125
- borderWidth: 2,
13126
- isInset: false
13127
- },
13128
- {
13129
- borderColor: "primaryGreen",
13130
- borderWidth: 4,
13131
- isInset: false
13132
- }
13133
- ]),
13134
- getBoxShadowString({
13135
- borderWidth: 2,
13136
- borderColor: "coralGreen",
13137
- isInset: false
13138
- })
13139
- )({ colorMode })
13140
- },
13141
- notFocus: {
13142
- boxShadow: mode(
13143
- "none",
13144
- getBoxShadowString({ borderColor: colors.white })
13145
- )({ colorMode })
13146
- }
13147
- }),
13148
12705
  _hover: {
13149
12706
  backgroundColor: mode("pine", "river")({ colorMode }),
13150
12707
  boxShadow: mode(
@@ -13181,10 +12738,6 @@ var config33 = helpers23.defineMultiStyleConfig({
13181
12738
  boxShadow: getBoxShadowString({
13182
12739
  borderColor: colors.blackAlpha["400"]
13183
12740
  }),
13184
- _focus: {
13185
- backgroundColor: "platinum",
13186
- boxShadow: `0 0 0 2px ${colors.greenHaze}`
13187
- },
13188
12741
  _hover: {
13189
12742
  backgroundColor: "white"
13190
12743
  },
@@ -13192,10 +12745,6 @@ var config33 = helpers23.defineMultiStyleConfig({
13192
12745
  backgroundColor: "white",
13193
12746
  _hover: {
13194
12747
  backgroundColor: "mint"
13195
- },
13196
- _focus: {
13197
- backgroundColor: "white",
13198
- boxShadow: `0 0 0 4px ${colors.greenHaze}, 0 0 0 2px ${colors.white}`
13199
12748
  }
13200
12749
  }
13201
12750
  },
@@ -13215,7 +12764,7 @@ var config33 = helpers23.defineMultiStyleConfig({
13215
12764
  },
13216
12765
  track: {
13217
12766
  borderRadius: "24px",
13218
- p: "2px"
12767
+ padding: "2px"
13219
12768
  }
13220
12769
  },
13221
12770
  md: {
@@ -13225,7 +12774,7 @@ var config33 = helpers23.defineMultiStyleConfig({
13225
12774
  },
13226
12775
  track: {
13227
12776
  borderRadius: "30px",
13228
- p: "3px"
12777
+ padding: "3px"
13229
12778
  }
13230
12779
  },
13231
12780
  lg: {
@@ -13235,7 +12784,7 @@ var config33 = helpers23.defineMultiStyleConfig({
13235
12784
  },
13236
12785
  track: {
13237
12786
  borderRadius: "36px",
13238
- p: "3px"
12787
+ padding: "3px"
13239
12788
  }
13240
12789
  }
13241
12790
  },
@@ -13345,16 +12894,16 @@ var config34 = helpers24.defineMultiStyleConfig({
13345
12894
  fontSize: ["mobile.xs", "desktop.xs"]
13346
12895
  },
13347
12896
  th: {
13348
- px: 3,
13349
- py: 1.5
12897
+ paddingX: 3,
12898
+ paddingY: 1.5
13350
12899
  },
13351
12900
  td: {
13352
- px: 3,
13353
- py: 1.5
12901
+ paddingX: 3,
12902
+ paddingY: 1.5
13354
12903
  },
13355
12904
  caption: {
13356
- px: 3,
13357
- py: 1.5
12905
+ paddingX: 3,
12906
+ paddingY: 1.5
13358
12907
  }
13359
12908
  },
13360
12909
  md: {
@@ -13362,16 +12911,16 @@ var config34 = helpers24.defineMultiStyleConfig({
13362
12911
  fontSize: ["mobile.sm", "desktop.sm"]
13363
12912
  },
13364
12913
  th: {
13365
- px: 3,
13366
- py: 1.5
12914
+ paddingX: 3,
12915
+ paddingY: 1.5
13367
12916
  },
13368
12917
  td: {
13369
- px: 3,
13370
- py: 1.5
12918
+ paddingX: 3,
12919
+ paddingY: 1.5
13371
12920
  },
13372
12921
  caption: {
13373
- px: 3,
13374
- py: 1.5
12922
+ paddingX: 3,
12923
+ paddingY: 1.5
13375
12924
  }
13376
12925
  },
13377
12926
  lg: {
@@ -13379,16 +12928,16 @@ var config34 = helpers24.defineMultiStyleConfig({
13379
12928
  fontSize: ["mobile.sm", "desktop.sm"]
13380
12929
  },
13381
12930
  th: {
13382
- px: 3,
13383
- py: "15px"
12931
+ paddingX: 3,
12932
+ paddingY: "15px"
13384
12933
  },
13385
12934
  td: {
13386
- px: 3,
13387
- py: "15px"
12935
+ paddingX: 3,
12936
+ paddingY: "15px"
13388
12937
  },
13389
12938
  caption: {
13390
- px: 3,
13391
- py: "15px"
12939
+ paddingX: 3,
12940
+ paddingY: "15px"
13392
12941
  }
13393
12942
  }
13394
12943
  },
@@ -13428,11 +12977,7 @@ var config35 = helpers25.defineMultiStyleConfig({
13428
12977
  pointerEvents: "none",
13429
12978
  ...getTabColorSchemeSelectedProps(props)
13430
12979
  },
13431
- _focus: getTabColorSchemeFocusProps(props),
13432
- ":focus:not(:focus-visible)": {
13433
- boxShadow: "none"
13434
- },
13435
- _focusVisible: getTabColorSchemeFocusProps(props),
12980
+ ...focusVisibleStyles(props),
13436
12981
  _hover: getTabColorSchemeHoverProps(props),
13437
12982
  _active: getTabColorSchemeActiveProps(props),
13438
12983
  _disabled: getTabColorSchemeDisabledProps(props)
@@ -13461,40 +13006,40 @@ var config35 = helpers25.defineMultiStyleConfig({
13461
13006
  sm: {
13462
13007
  tablist: {
13463
13008
  height: "30px",
13464
- p: "2px"
13009
+ padding: "2px"
13465
13010
  },
13466
13011
  tab: {
13467
- px: 2,
13468
- py: 0
13012
+ paddingX: 2,
13013
+ paddingY: 0
13469
13014
  }
13470
13015
  },
13471
13016
  md: {
13472
13017
  tablist: {
13473
13018
  height: "36px",
13474
- p: 0.5
13019
+ padding: 0.5
13475
13020
  },
13476
13021
  tab: {
13477
- px: 2
13022
+ paddingX: 2
13478
13023
  }
13479
13024
  },
13480
13025
  lg: {
13481
13026
  tablist: {
13482
13027
  height: "42px",
13483
- p: 0.5
13028
+ padding: 0.5
13484
13029
  },
13485
13030
  tab: {
13486
13031
  fontWeight: "bold",
13487
- px: 2
13032
+ paddingX: 2
13488
13033
  }
13489
13034
  },
13490
13035
  xl: {
13491
13036
  tablist: {
13492
13037
  height: "54px",
13493
- p: "4px"
13038
+ padding: "4px"
13494
13039
  },
13495
13040
  tab: {
13496
13041
  fontWeight: "bold",
13497
- px: 3
13042
+ paddingX: 3
13498
13043
  }
13499
13044
  }
13500
13045
  },
@@ -13599,26 +13144,6 @@ var getTabColorSchemeSelectedProps = (props) => {
13599
13144
  };
13600
13145
  }
13601
13146
  };
13602
- var getTabColorSchemeFocusProps = (props) => {
13603
- switch (props.colorScheme) {
13604
- case "dark":
13605
- return {
13606
- boxShadow: `inset 0 0 0 2px ${props.theme.colors.white}`
13607
- };
13608
- case "base":
13609
- return {
13610
- boxShadow: `inset 0 0 0 2px ${props.theme.colors.azure}`
13611
- };
13612
- case "accent":
13613
- return {
13614
- boxShadow: `inset 0 0 0 2px ${props.theme.colors.azure}`
13615
- };
13616
- default:
13617
- return {
13618
- boxShadow: `inset 0 0 0 2px ${props.theme.colors.greenHaze}`
13619
- };
13620
- }
13621
- };
13622
13147
  var getTabColorSchemeHoverProps = (props) => {
13623
13148
  switch (props.colorScheme) {
13624
13149
  case "dark":