@vygruppen/spor-react 6.2.2 → 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 (45) hide show
  1. package/.turbo/turbo-build.log +10 -10
  2. package/CHANGELOG.md +20 -0
  3. package/dist/{CountryCodeSelect-FJ6OGX3Z.mjs → CountryCodeSelect-OK6RZ6AY.mjs} +1 -1
  4. package/dist/{chunk-2OBDF3T7.mjs → chunk-CYU6YFQK.mjs} +167 -642
  5. package/dist/index.d.mts +483 -497
  6. package/dist/index.d.ts +483 -497
  7. package/dist/index.js +196 -673
  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/font-faces.ts +1 -1
  43. package/src/theme/utils/focus-util.ts +10 -0
  44. package/tsconfig.json +2 -2
  45. package/src/theme/utils/focus-utils.ts +0 -16
package/dist/index.js CHANGED
@@ -710,19 +710,19 @@ var init_Button = __esm({
710
710
  /* @__PURE__ */ React69__namespace.default.createElement(
711
711
  react.Flex,
712
712
  {
713
- justifyContent: "space-between",
713
+ gap: 1,
714
714
  flex: 1,
715
715
  alignItems: "center",
716
- gap: 1,
716
+ justifyContent: rightIcon ? "space-between" : "center",
717
717
  visibility: isLoading ? "hidden" : "visible",
718
718
  "aria-hidden": isLoading
719
719
  },
720
- /* @__PURE__ */ React69__namespace.default.createElement(react.Flex, { justifyContent: "center", alignItems: "center", gap: 1 }, leftIcon, /* @__PURE__ */ React69__namespace.default.createElement(
720
+ /* @__PURE__ */ React69__namespace.default.createElement(react.Flex, { gap: 1 }, leftIcon, /* @__PURE__ */ React69__namespace.default.createElement(
721
721
  react.Box,
722
722
  {
723
723
  visibility: isLoading ? "hidden" : "visible",
724
724
  whiteSpace: "normal",
725
- textAlign: "left"
725
+ textAlign: "center"
726
726
  },
727
727
  children
728
728
  )),
@@ -3790,9 +3790,6 @@ var init_NumericStepper = __esm({
3790
3790
  size: "xs",
3791
3791
  minWidth: "24px",
3792
3792
  minHeight: "24px",
3793
- _focusVisible: {
3794
- boxShadow: "inset 0 0 0 2px var(--spor-colors-pine), inset 0 0 0 3px white"
3795
- },
3796
3793
  ...props
3797
3794
  }
3798
3795
  );
@@ -11149,15 +11146,16 @@ var init_foundations = __esm({
11149
11146
  init_styles();
11150
11147
  }
11151
11148
  });
11152
-
11153
- // src/theme/utils/focus-utils.ts
11154
- var focusVisible;
11155
- var init_focus_utils = __esm({
11156
- "src/theme/utils/focus-utils.ts"() {
11157
- focusVisible = ({ notFocus, focus }) => ({
11158
- _focus: focus,
11159
- _focusVisible: focus,
11160
- "&[data-focus]:not([data-focus-visible])": notFocus
11149
+ var focusVisibleStyles;
11150
+ var init_focus_util = __esm({
11151
+ "src/theme/utils/focus-util.ts"() {
11152
+ focusVisibleStyles = (props) => ({
11153
+ _focusVisible: {
11154
+ outlineWidth: "2px",
11155
+ outlineColor: themeTools.mode("greenHaze", "azure")(props),
11156
+ outlineStyle: "solid",
11157
+ outlineOffset: "1px"
11158
+ }
11161
11159
  });
11162
11160
  }
11163
11161
  });
@@ -11168,7 +11166,7 @@ var init_accordion2 = __esm({
11168
11166
  init_dist3();
11169
11167
  init_foundations();
11170
11168
  init_box_shadow_utils();
11171
- init_focus_utils();
11169
+ init_focus_util();
11172
11170
  helpers = createMultiStyleConfigHelpers(accordionAnatomy.keys);
11173
11171
  config3 = helpers.defineMultiStyleConfig({
11174
11172
  baseStyle: (props) => ({
@@ -11181,25 +11179,14 @@ var init_accordion2 = __esm({
11181
11179
  transitionDuration: "normal",
11182
11180
  border: "none",
11183
11181
  borderRadius: "sm",
11182
+ borderColor: "osloGrey",
11184
11183
  display: "flex",
11185
11184
  justifyContent: "space-between",
11186
11185
  color: themeTools.mode("darkGrey", "white")(props),
11187
11186
  textAlign: "left",
11188
11187
  fontFamily: "body",
11189
11188
  fontWeight: "bold",
11190
- ...focusVisible({
11191
- notFocus: {
11192
- boxShadow: getBoxShadowString({
11193
- borderColor: "osloGrey"
11194
- })
11195
- },
11196
- focus: {
11197
- boxShadow: getBoxShadowString({
11198
- borderColor: themeTools.mode("greenHaze", "azure")(props),
11199
- borderWidth: 2
11200
- })
11201
- }
11202
- }),
11189
+ ...focusVisibleStyles(props),
11203
11190
  _disabled: {
11204
11191
  opacity: 0.4,
11205
11192
  cursor: "not-allowed"
@@ -11489,14 +11476,12 @@ var init_breadcrumb2 = __esm({
11489
11476
  "src/theme/components/breadcrumb.ts"() {
11490
11477
  init_dist4();
11491
11478
  init_dist3();
11492
- init_box_shadow_utils();
11493
- init_focus_utils();
11479
+ init_focus_util();
11494
11480
  ({ defineMultiStyleConfig: defineMultiStyleConfig27, definePartsStyle: definePartsStyle27 } = createMultiStyleConfigHelpers(breadcrumbAnatomy.keys));
11495
11481
  baseStyleLink2 = defineStyle((props) => ({
11496
11482
  transitionProperty: "common",
11497
11483
  transitionDuration: "fast",
11498
11484
  transitionTimingFunction: "ease-out",
11499
- outline: "none",
11500
11485
  color: "inherit",
11501
11486
  textDecoration: "none",
11502
11487
  textStyle: "xs",
@@ -11507,17 +11492,7 @@ var init_breadcrumb2 = __esm({
11507
11492
  _hover: {
11508
11493
  backgroundColor: themeTools.mode("seaMist", "pine")(props)
11509
11494
  },
11510
- ...focusVisible({
11511
- focus: {
11512
- boxShadow: getBoxShadowString({
11513
- borderColor: themeTools.mode("greenHaze", "azure")(props),
11514
- borderWidth: 2
11515
- })
11516
- },
11517
- notFocus: {
11518
- boxShadow: "none"
11519
- }
11520
- }),
11495
+ ...focusVisibleStyles(props),
11521
11496
  _active: {
11522
11497
  backgroundColor: themeTools.mode("mint", "whiteAlpha.200")(props)
11523
11498
  }
@@ -11540,12 +11515,14 @@ var init_button2 = __esm({
11540
11515
  "src/theme/components/button.ts"() {
11541
11516
  init_foundations();
11542
11517
  init_box_shadow_utils();
11518
+ init_focus_util();
11543
11519
  config6 = react.defineStyleConfig({
11544
- baseStyle: {
11520
+ baseStyle: (props) => ({
11545
11521
  border: 0,
11546
11522
  borderRadius: "xl",
11547
11523
  display: "flex",
11548
11524
  alignItems: "center",
11525
+ justifyContent: "center",
11549
11526
  transitionProperty: "common",
11550
11527
  transitionDuration: "normal",
11551
11528
  textWrap: "wrap",
@@ -11555,6 +11532,7 @@ var init_button2 = __esm({
11555
11532
  boxShadow: 0,
11556
11533
  outline: 0
11557
11534
  },
11535
+ ...focusVisibleStyles(props),
11558
11536
  _disabled: {
11559
11537
  cursor: "not-allowed",
11560
11538
  boxShadow: "none",
@@ -11566,22 +11544,13 @@ var init_button2 = __esm({
11566
11544
  background: "silver"
11567
11545
  }
11568
11546
  }
11569
- },
11547
+ }),
11570
11548
  variants: {
11571
11549
  primary: (props) => ({
11572
11550
  // FIXME: Update to use a global defined background color for darkMode whenever it is available.
11573
11551
  // hardcoded background color as alpha-"hack" below is not feasible for dark mode with solid background color
11574
11552
  backgroundColor: themeTools.mode("pine", "coralGreen")(props),
11575
11553
  color: themeTools.mode("white", "darkTeal")(props),
11576
- _focusVisible: {
11577
- boxShadow: `inset 0 0 0 2px ${themeTools.mode(
11578
- colors.greenHaze,
11579
- colors.azure
11580
- )(props)}, inset 0 0 0 4px ${themeTools.mode(
11581
- colors.white,
11582
- colors.darkGrey
11583
- )(props)}`
11584
- },
11585
11554
  _hover: {
11586
11555
  backgroundColor: themeTools.mode("darkTeal", "blueGreen")(props)
11587
11556
  },
@@ -11597,24 +11566,6 @@ var init_button2 = __esm({
11597
11566
  _hover: {
11598
11567
  backgroundColor: themeTools.mode("coralGreen", "greenHaze")(props)
11599
11568
  },
11600
- _focusVisible: {
11601
- boxShadow: `inset 0 0 0 2px ${themeTools.mode(
11602
- colors.greenHaze,
11603
- colors.primaryGreen
11604
- )(props)}, inset 0 0 0 4px ${themeTools.mode(
11605
- colors.white,
11606
- colors.darkTeal
11607
- )(props)}`,
11608
- _hover: {
11609
- boxShadow: `inset 0 0 0 2px ${themeTools.mode(
11610
- colors.greenHaze,
11611
- colors.azure
11612
- )(props)}, inset 0 0 0 4px ${themeTools.mode(
11613
- colors.white,
11614
- colors.blackAlpha[500]
11615
- )(props)}`
11616
- }
11617
- },
11618
11569
  _active: {
11619
11570
  backgroundColor: themeTools.mode("mint", "darkTeal")(props),
11620
11571
  boxShadow: `inset 0 0 0 2px ${themeTools.mode(
@@ -11642,12 +11593,6 @@ var init_button2 = __esm({
11642
11593
  colors.blackAlpha[400],
11643
11594
  colors.whiteAlpha[400]
11644
11595
  )(props)}`,
11645
- _focusVisible: {
11646
- boxShadow: getBoxShadowString({
11647
- borderWidth: 2,
11648
- borderColor: "azure"
11649
- })
11650
- },
11651
11596
  _hover: {
11652
11597
  boxShadow: `inset 0 0 0 2px currentColor`
11653
11598
  },
@@ -11662,12 +11607,6 @@ var init_button2 = __esm({
11662
11607
  ghost: (props) => ({
11663
11608
  backgroundColor: "transparent",
11664
11609
  color: themeTools.mode("darkGrey", "white")(props),
11665
- _focusVisible: {
11666
- boxShadow: getBoxShadowString({
11667
- borderColor: themeTools.mode("greenHaze", "azure")(props),
11668
- borderWidth: 2
11669
- })
11670
- },
11671
11610
  _hover: {
11672
11611
  backgroundColor: themeTools.mode("seaMist", "whiteAlpha.200")(props),
11673
11612
  _disabled: {
@@ -11694,20 +11633,6 @@ var init_button2 = __esm({
11694
11633
  baseShadow: "md",
11695
11634
  borderWidth: 2
11696
11635
  })
11697
- },
11698
- _focusVisible: {
11699
- boxShadow: getBoxShadowString({
11700
- borderColor: themeTools.mode("greenHaze", "azure")(props),
11701
- borderWidth: 2,
11702
- baseShadow: "sm"
11703
- }),
11704
- _hover: {
11705
- boxShadow: getBoxShadowString({
11706
- borderColor: themeTools.mode("greenHaze", "azure")(props),
11707
- borderWidth: 2,
11708
- baseShadow: "md"
11709
- })
11710
- }
11711
11636
  }
11712
11637
  })
11713
11638
  },
@@ -11754,16 +11679,14 @@ function getColorSchemeClickableProps({ colorScheme, size: size2 }) {
11754
11679
  return {
11755
11680
  boxShadow: getBoxShadowString({
11756
11681
  baseShadow,
11757
- borderColor: "silver",
11758
- isInset: false
11682
+ borderColor: "silver"
11759
11683
  })
11760
11684
  };
11761
11685
  case "grey":
11762
11686
  return {
11763
11687
  boxShadow: getBoxShadowString({
11764
11688
  baseShadow,
11765
- borderColor: "steel",
11766
- isInset: false
11689
+ borderColor: "steel"
11767
11690
  })
11768
11691
  };
11769
11692
  default:
@@ -11771,8 +11694,7 @@ function getColorSchemeClickableProps({ colorScheme, size: size2 }) {
11771
11694
  backgroundColor: ((_a6 = colors[colorScheme]) == null ? void 0 : _a6[100]) ?? "platinum",
11772
11695
  boxShadow: getBoxShadowString({
11773
11696
  baseShadow,
11774
- borderColor: ((_b5 = colors[colorScheme]) == null ? void 0 : _b5[200]) ?? "silver",
11775
- isInset: false
11697
+ borderColor: ((_b5 = colors[colorScheme]) == null ? void 0 : _b5[200]) ?? "silver"
11776
11698
  })
11777
11699
  };
11778
11700
  }
@@ -11782,6 +11704,7 @@ var init_card2 = __esm({
11782
11704
  "src/theme/components/card.ts"() {
11783
11705
  init_foundations();
11784
11706
  init_box_shadow_utils();
11707
+ init_focus_util();
11785
11708
  config7 = react.defineStyleConfig({
11786
11709
  baseStyle: (props) => ({
11787
11710
  appearance: "none",
@@ -11796,16 +11719,8 @@ var init_card2 = __esm({
11796
11719
  "button&, a&, label&, &.is-clickable": {
11797
11720
  ...getColorSchemeClickableProps(props),
11798
11721
  _hover: getColorSchemeHoverProps(props),
11722
+ ...focusVisibleStyles(props),
11799
11723
  _active: getColorSchemeActiveProps(props),
11800
- _focusVisible: {
11801
- boxShadow: getBoxShadowString({
11802
- borderColor: themeTools.mode("greenHaze", "azure")(props),
11803
- borderWidth: 2,
11804
- isInset: false
11805
- }),
11806
- outline: "none",
11807
- _active: getColorSchemeActiveProps(props)
11808
- },
11809
11724
  _disabled: {
11810
11725
  backgroundColor: "platinum",
11811
11726
  boxShadow: getBoxShadowString({
@@ -11863,16 +11778,14 @@ var init_card2 = __esm({
11863
11778
  backgroundColor: themeTools.mode("white", "whiteAlpha.200")(props),
11864
11779
  boxShadow: getBoxShadowString({
11865
11780
  baseShadow,
11866
- borderColor: colors.steel,
11867
- isInset: false
11781
+ borderColor: colors.steel
11868
11782
  })
11869
11783
  };
11870
11784
  case "grey":
11871
11785
  return {
11872
11786
  boxShadow: getBoxShadowString({
11873
11787
  baseShadow,
11874
- borderColor: colors.osloGrey,
11875
- isInset: false
11788
+ borderColor: colors.osloGrey
11876
11789
  })
11877
11790
  };
11878
11791
  default:
@@ -11880,8 +11793,7 @@ var init_card2 = __esm({
11880
11793
  backgroundColor: ((_a6 = colors[colorScheme]) == null ? void 0 : _a6[200]) ?? "silver",
11881
11794
  boxShadow: getBoxShadowString({
11882
11795
  baseShadow,
11883
- borderColor: ((_b5 = colors[colorScheme]) == null ? void 0 : _b5[400]) ?? colors.silver,
11884
- isInset: false
11796
+ borderColor: ((_b5 = colors[colorScheme]) == null ? void 0 : _b5[400]) ?? colors.silver
11885
11797
  })
11886
11798
  };
11887
11799
  }
@@ -11896,8 +11808,7 @@ var init_card2 = __esm({
11896
11808
  backgroundColor: themeTools.mode("mint", "teal")(props),
11897
11809
  boxShadow: getBoxShadowString({
11898
11810
  baseShadow,
11899
- borderColor: colors.silver,
11900
- isInset: false
11811
+ borderColor: colors.silver
11901
11812
  })
11902
11813
  };
11903
11814
  case "grey":
@@ -11905,8 +11816,7 @@ var init_card2 = __esm({
11905
11816
  backgroundColor: "white",
11906
11817
  boxShadow: getBoxShadowString({
11907
11818
  baseShadow,
11908
- borderColor: colors.steel,
11909
- isInset: false
11819
+ borderColor: colors.steel
11910
11820
  })
11911
11821
  };
11912
11822
  default:
@@ -11914,8 +11824,7 @@ var init_card2 = __esm({
11914
11824
  backgroundColor: ((_a6 = colors[colorScheme]) == null ? void 0 : _a6[50]) ?? "lightGrey",
11915
11825
  boxShadow: getBoxShadowString({
11916
11826
  baseShadow,
11917
- borderColor: ((_b5 = colors[colorScheme]) == null ? void 0 : _b5[100]) ?? colors.silver,
11918
- isInset: false
11827
+ borderColor: ((_b5 = colors[colorScheme]) == null ? void 0 : _b5[100]) ?? colors.silver
11919
11828
  })
11920
11829
  };
11921
11830
  }
@@ -12016,9 +11925,9 @@ var init_card_select = __esm({
12016
11925
  "src/theme/components/card-select.ts"() {
12017
11926
  init_dist4();
12018
11927
  init_dist3();
12019
- init_box_shadow_utils();
12020
- init_focus_utils();
12021
11928
  init_background_utils();
11929
+ init_box_shadow_utils();
11930
+ init_focus_util();
12022
11931
  parts2 = anatomy("card-select").parts("trigger", "card");
12023
11932
  helpers3 = createMultiStyleConfigHelpers(parts2.keys);
12024
11933
  config8 = helpers3.defineMultiStyleConfig({
@@ -12027,16 +11936,7 @@ var init_card_select = __esm({
12027
11936
  appearance: "none",
12028
11937
  display: "flex",
12029
11938
  alignItems: "center",
12030
- ...focusVisible({
12031
- notFocus: {},
12032
- focus: {
12033
- boxShadow: getBoxShadowString({
12034
- borderColor: "greenHaze",
12035
- borderWidth: 3
12036
- }),
12037
- outline: "none"
12038
- }
12039
- })
11939
+ ...focusVisibleStyles(props)
12040
11940
  },
12041
11941
  card: {
12042
11942
  borderRadius: "sm",
@@ -12052,20 +11952,10 @@ var init_card_select = __esm({
12052
11952
  boxShadow: getBoxShadowString({
12053
11953
  borderColor: themeTools.mode("blackAlpha.400", "whiteAlpha.400")(props)
12054
11954
  }),
12055
- ...focusVisible({
12056
- notFocus: { boxShadow: "none" },
12057
- focus: {
12058
- boxShadow: getBoxShadowString({
12059
- borderColor: "greenHaze",
12060
- borderWidth: 3
12061
- }),
12062
- outline: "none"
12063
- }
12064
- }),
12065
11955
  _hover: {
12066
11956
  boxShadow: getBoxShadowString({
12067
11957
  borderColor: themeTools.mode("darkGrey", "white")(props),
12068
- borderWidth: 3
11958
+ borderWidth: 2
12069
11959
  })
12070
11960
  },
12071
11961
  _active: {
@@ -12107,13 +11997,17 @@ var init_card_select = __esm({
12107
11997
  floating: (props) => ({
12108
11998
  trigger: {
12109
11999
  ...floatingBackground("default", props),
12110
- boxShadow: "sm",
12000
+ boxShadow: getBoxShadowString({
12001
+ borderColor: themeTools.mode("silver", "whiteAlpha.400")(props),
12002
+ borderWidth: 1,
12003
+ baseShadow: "sm"
12004
+ }),
12111
12005
  transition: "all .1s ease-out",
12112
12006
  _hover: {
12113
12007
  ...floatingBackground("hover", props),
12114
12008
  boxShadow: getBoxShadowString({
12115
12009
  borderColor: themeTools.mode("silver", "whiteAlpha.400")(props),
12116
- borderWidth: 1,
12010
+ borderWidth: 2,
12117
12011
  baseShadow: "sm"
12118
12012
  })
12119
12013
  },
@@ -12178,9 +12072,10 @@ var helpers4, config9, checkbox_default;
12178
12072
  var init_checkbox = __esm({
12179
12073
  "src/theme/components/checkbox.ts"() {
12180
12074
  init_dist4();
12075
+ init_focus_util();
12181
12076
  helpers4 = react.createMultiStyleConfigHelpers(checkboxAnatomy.keys);
12182
12077
  config9 = helpers4.defineMultiStyleConfig({
12183
- baseStyle: {
12078
+ baseStyle: (props) => ({
12184
12079
  container: {
12185
12080
  _hover: {
12186
12081
  "input:enabled:not([aria-invalid]) + .chakra-checkbox__control": {
@@ -12222,10 +12117,7 @@ var init_checkbox = __esm({
12222
12117
  backgroundColor: "primaryGreen",
12223
12118
  borderColor: "primaryGreen",
12224
12119
  color: "white",
12225
- _focus: {
12226
- backgroundColor: "primaryGreen",
12227
- borderColor: "azure"
12228
- },
12120
+ ...focusVisibleStyles(props),
12229
12121
  _disabled: {
12230
12122
  backgroundColor: "lightGrey",
12231
12123
  borderColor: "steel",
@@ -12240,10 +12132,6 @@ var init_checkbox = __esm({
12240
12132
  backgroundColor: "lightGrey",
12241
12133
  borderColor: "steel"
12242
12134
  },
12243
- _focus: {
12244
- backgroundColor: "white",
12245
- borderColor: "azure"
12246
- },
12247
12135
  _invalid: {
12248
12136
  backgroundColor: "white",
12249
12137
  borderColor: "brightRed"
@@ -12253,7 +12141,7 @@ var init_checkbox = __esm({
12253
12141
  userSelect: "none",
12254
12142
  _disabled: { opacity: 0.4 }
12255
12143
  }
12256
- }
12144
+ })
12257
12145
  });
12258
12146
  checkbox_default = config9;
12259
12147
  }
@@ -12262,7 +12150,7 @@ var parts3, helpers5, config10, choice_chip_default;
12262
12150
  var init_choice_chip = __esm({
12263
12151
  "src/theme/components/choice-chip.ts"() {
12264
12152
  init_box_shadow_utils();
12265
- init_foundations();
12153
+ init_focus_util();
12266
12154
  parts3 = themeTools.anatomy("choice-chip").parts("container", "icon", "label");
12267
12155
  helpers5 = react.createMultiStyleConfigHelpers(parts3.keys);
12268
12156
  config10 = helpers5.defineMultiStyleConfig({
@@ -12280,15 +12168,7 @@ var init_choice_chip = __esm({
12280
12168
  background: "pine",
12281
12169
  boxShadow: getBoxShadowString({ borderColor: "celadon" })
12282
12170
  },
12283
- "input:focus-visible + &": {
12284
- boxShadow: `inset 0 0 0 2px ${themeTools.mode(
12285
- colors.greenHaze,
12286
- colors.azure
12287
- )(props)}, inset 0 0 0 4px ${themeTools.mode(
12288
- colors.white,
12289
- colors.darkGrey
12290
- )(props)}`
12291
- },
12171
+ "input:focus-visible + &": focusVisibleStyles(props)._focusVisible,
12292
12172
  "@media (hover:hover)": {
12293
12173
  _hover: {
12294
12174
  color: themeTools.mode("darkTeal", "white")(props),
@@ -12351,8 +12231,7 @@ var init_choice_chip = __esm({
12351
12231
  var $size6, config11, close_button_default;
12352
12232
  var init_close_button = __esm({
12353
12233
  "src/theme/components/close-button.ts"() {
12354
- init_box_shadow_utils();
12355
- init_focus_utils();
12234
+ init_focus_util();
12356
12235
  $size6 = themeTools.cssVar("close-button-size");
12357
12236
  config11 = react.defineStyleConfig({
12358
12237
  baseStyle: (props) => ({
@@ -12364,18 +12243,7 @@ var init_close_button = __esm({
12364
12243
  backgroundColor: "transparent",
12365
12244
  color: themeTools.mode("darkGrey", "white")(props),
12366
12245
  fontWeight: "normal",
12367
- ...focusVisible({
12368
- focus: {
12369
- outline: "none",
12370
- boxShadow: getBoxShadowString({
12371
- borderColor: themeTools.mode("greenHaze", "azure")(props)
12372
- }),
12373
- outlineOffset: "2px"
12374
- },
12375
- notFocus: {
12376
- boxShadow: "none"
12377
- }
12378
- }),
12246
+ ...focusVisibleStyles(props),
12379
12247
  _hover: {
12380
12248
  backgroundColor: themeTools.mode("seaMist", "whiteAlpha.100")(props),
12381
12249
  _disabled: {
@@ -12417,7 +12285,7 @@ var init_code = __esm({
12417
12285
  fontFamily: "monospace",
12418
12286
  fontSize: ["mobile.xs", "desktop.xs"],
12419
12287
  borderRadius: "xs",
12420
- px: 1
12288
+ paddingX: 1
12421
12289
  },
12422
12290
  variants: variants13,
12423
12291
  defaultProps: defaultProps2
@@ -12430,7 +12298,7 @@ var init_datepicker2 = __esm({
12430
12298
  "src/theme/components/datepicker.ts"() {
12431
12299
  init_foundations();
12432
12300
  init_box_shadow_utils();
12433
- init_focus_utils();
12301
+ init_focus_util();
12434
12302
  parts4 = themeTools.anatomy("datepicker").parts(
12435
12303
  "wrapper",
12436
12304
  "calendarTriggerButton",
@@ -12464,6 +12332,9 @@ var init_datepicker2 = __esm({
12464
12332
  },
12465
12333
  _disabled: {
12466
12334
  pointerEvents: "none"
12335
+ },
12336
+ _focusWithin: {
12337
+ ...focusVisibleStyles(props)._focusVisible
12467
12338
  }
12468
12339
  },
12469
12340
  inputLabel: {
@@ -12480,7 +12351,10 @@ var init_datepicker2 = __esm({
12480
12351
  },
12481
12352
  calendarTriggerButton: {
12482
12353
  backgroundColor: themeTools.mode("white", "night")(props),
12483
- boxShadow: "none",
12354
+ boxShadow: getBoxShadowString({
12355
+ borderColor: themeTools.mode("darkGrey", "white")(props),
12356
+ borderWidth: 1
12357
+ }),
12484
12358
  width: 8,
12485
12359
  display: "flex",
12486
12360
  alignItems: "center",
@@ -12500,21 +12374,7 @@ var init_datepicker2 = __esm({
12500
12374
  _active: {
12501
12375
  backgroundColor: themeTools.mode("mint", "whiteAlpha.200")(props)
12502
12376
  },
12503
- ...focusVisible({
12504
- focus: {
12505
- outline: "none",
12506
- boxShadow: getBoxShadowString({
12507
- borderColor: themeTools.mode("greenHaze", "azure")(props),
12508
- borderWidth: 2
12509
- })
12510
- },
12511
- notFocus: {
12512
- boxShadow: getBoxShadowString({
12513
- borderColor: themeTools.mode("darkGrey", "white")(props),
12514
- borderWidth: 1
12515
- })
12516
- }
12517
- }),
12377
+ ...focusVisibleStyles(props),
12518
12378
  _invalid: {
12519
12379
  boxShadow: getBoxShadowString({
12520
12380
  borderColor: "brightRed",
@@ -12554,27 +12414,11 @@ var init_datepicker2 = __esm({
12554
12414
  _hover: {
12555
12415
  backgroundColor: themeTools.mode("seaMist", "pine")(props)
12556
12416
  },
12557
- ...focusVisible({
12558
- focus: {
12559
- outline: "none",
12560
- boxShadow: getBoxShadowString({
12561
- borderWidth: 2,
12562
- borderColor: themeTools.mode("greenHaze", "azure")(props)
12563
- })
12564
- },
12565
- notFocus: {
12566
- boxShadow: "none",
12567
- _hover: {
12568
- boxShadow: getBoxShadowString({
12569
- borderWidth: 2,
12570
- borderColor: "osloGrey"
12571
- })
12572
- },
12573
- _active: {
12574
- color: themeTools.mode("darkGrey", "white")(props)
12575
- }
12576
- }
12577
- }),
12417
+ _focusVisible: {
12418
+ outlineColor: "greenHaze",
12419
+ outlineWidth: 2,
12420
+ outlineStyle: "solid"
12421
+ },
12578
12422
  _active: {
12579
12423
  backgroundColor: "seaMist",
12580
12424
  boxShadow: "none",
@@ -12598,14 +12442,7 @@ var init_datepicker2 = __esm({
12598
12442
  boxShadow: getBoxShadowString({
12599
12443
  borderWidth: 1,
12600
12444
  borderColor: themeTools.mode("blackAlpha.400", "whiteAlpha.400")(props)
12601
- }),
12602
- _focus: {
12603
- outline: "none",
12604
- boxShadow: getBoxShadowString({
12605
- borderWidth: 2,
12606
- borderColor: themeTools.mode("greenHaze", "azure")(props)
12607
- })
12608
- }
12445
+ })
12609
12446
  },
12610
12447
  "&[data-unavailable]": {
12611
12448
  pointerEvents: "none",
@@ -12625,12 +12462,6 @@ var init_datepicker2 = __esm({
12625
12462
  borderWidth: 2
12626
12463
  })
12627
12464
  },
12628
- _focusWithin: {
12629
- boxShadow: getBoxShadowString({
12630
- borderColor: themeTools.mode("greenHaze", "azure")(props),
12631
- borderWidth: 2
12632
- })
12633
- },
12634
12465
  _invalid: {
12635
12466
  boxShadow: getBoxShadowString({
12636
12467
  borderColor: "brightRed",
@@ -12684,13 +12515,6 @@ var init_datepicker2 = __esm({
12684
12515
  baseShadow: "sm"
12685
12516
  })
12686
12517
  },
12687
- _focusWithin: {
12688
- boxShadow: getBoxShadowString({
12689
- borderColor: themeTools.mode("greenHaze", "azure")(props),
12690
- borderWidth: 2,
12691
- baseShadow: "sm"
12692
- })
12693
- },
12694
12518
  _invalid: {
12695
12519
  boxShadow: getBoxShadowString({
12696
12520
  borderColor: "brightRed",
@@ -12737,12 +12561,6 @@ var init_datepicker2 = __esm({
12737
12561
  borderWidth: 2
12738
12562
  })
12739
12563
  },
12740
- _focusWithin: {
12741
- boxShadow: getBoxShadowString({
12742
- borderColor: themeTools.mode("greenHaze", "azure")(props),
12743
- borderWidth: 2
12744
- })
12745
- },
12746
12564
  _invalid: {
12747
12565
  boxShadow: getBoxShadowString({
12748
12566
  borderColor: "brightRed",
@@ -12869,9 +12687,9 @@ var init_drawer = __esm({
12869
12687
  boxShadow: "md"
12870
12688
  },
12871
12689
  header: {
12872
- px: 3,
12873
- pt: 6,
12874
- pb: 2,
12690
+ paddingX: 3,
12691
+ paddingTop: 6,
12692
+ paddingBottom: 2,
12875
12693
  fontWeight: "bold",
12876
12694
  fontFamily: "body"
12877
12695
  },
@@ -12882,14 +12700,14 @@ var init_drawer = __esm({
12882
12700
  zIndex: "modal"
12883
12701
  },
12884
12702
  body: {
12885
- px: 3,
12886
- pb: 6,
12703
+ paddingX: 3,
12704
+ paddingBottom: 6,
12887
12705
  flex: 1,
12888
12706
  overflow: props.scrollBehavior === "inside" ? "auto" : void 0
12889
12707
  },
12890
12708
  footer: {
12891
- px: 3,
12892
- pb: 3
12709
+ paddingX: 3,
12710
+ paddingBottom: 3
12893
12711
  }
12894
12712
  }),
12895
12713
  sizes: {
@@ -12915,8 +12733,7 @@ var init_drawer = __esm({
12915
12733
  var parts5, helpers8, config15, fab_default, getPositionProps;
12916
12734
  var init_fab = __esm({
12917
12735
  "src/theme/components/fab.ts"() {
12918
- init_box_shadow_utils();
12919
- init_focus_utils();
12736
+ init_focus_util();
12920
12737
  parts5 = themeTools.anatomy("fab").parts("container", "icon", "text");
12921
12738
  helpers8 = react.createMultiStyleConfigHelpers(parts5.keys);
12922
12739
  config15 = helpers8.defineMultiStyleConfig({
@@ -12924,9 +12741,9 @@ var init_fab = __esm({
12924
12741
  container: {
12925
12742
  display: "flex",
12926
12743
  alignItems: "center",
12927
- py: 2,
12928
- pl: 2,
12929
- pr: props.isTextVisible ? 3 : 2,
12744
+ paddingY: 2,
12745
+ paddingLeft: 2,
12746
+ paddingRight: props.isTextVisible ? 3 : 2,
12930
12747
  cursor: "pointer",
12931
12748
  overflowX: "hidden",
12932
12749
  whiteSpace: "nowrap",
@@ -12940,25 +12757,14 @@ var init_fab = __esm({
12940
12757
  backgroundColor: "whiteAlpha.400",
12941
12758
  color: "white"
12942
12759
  },
12943
- ...focusVisible({
12944
- focus: {
12945
- boxShadow: getBoxShadowString({
12946
- borderColor: "greenHaze",
12947
- borderWidth: 2,
12948
- baseShadow: "md"
12949
- })
12950
- },
12951
- notFocus: {
12952
- boxShadow: "md"
12953
- }
12954
- }),
12760
+ ...focusVisibleStyles(props),
12955
12761
  _hover: {
12956
12762
  backgroundColor: "seaMist"
12957
12763
  },
12958
12764
  zIndex: "sticky"
12959
12765
  },
12960
12766
  icon: {
12961
- mr: props.isTextVisible ? 1 : 0
12767
+ marginRight: props.isTextVisible ? 1 : 0
12962
12768
  },
12963
12769
  text: {
12964
12770
  display: "flex",
@@ -12976,16 +12782,7 @@ var init_fab = __esm({
12976
12782
  _active: { backgroundColor: "pine" },
12977
12783
  _hover: {
12978
12784
  backgroundColor: "night"
12979
- },
12980
- ...focusVisible({
12981
- focus: {
12982
- boxShadow: `${props.theme.shadows.md}, inset 0 0 0 4px ${props.theme.colors.darkTeal}, inset 0 0 0 6px ${props.theme.colors.white}`,
12983
- outline: "none"
12984
- },
12985
- notFocus: {
12986
- boxShadow: "md"
12987
- }
12988
- })
12785
+ }
12989
12786
  }
12990
12787
  }),
12991
12788
  light: {
@@ -13009,19 +12806,7 @@ var init_fab = __esm({
13009
12806
  _active: { backgroundColor: themeTools.mode("pine", "white")(props) },
13010
12807
  _hover: {
13011
12808
  backgroundColor: themeTools.mode("night", "seaMist")(props)
13012
- },
13013
- ...focusVisible({
13014
- focus: {
13015
- boxShadow: themeTools.mode(
13016
- `${props.theme.shadows.md}, inset 0 0 0 4px ${props.theme.colors.darkTeal}, inset 0 0 0 6px ${props.theme.colors.white}`,
13017
- `${props.theme.shadows.md}, inset 0 0 0 4px ${props.theme.colors.mint}, inset 0 0 0 6px ${props.theme.colors.darkTeal}`
13018
- )(props),
13019
- outline: "none"
13020
- },
13021
- notFocus: {
13022
- boxShadow: "md"
13023
- }
13024
- })
12809
+ }
13025
12810
  }
13026
12811
  }),
13027
12812
  base: (props) => ({
@@ -13039,19 +12824,7 @@ var init_fab = __esm({
13039
12824
  `inset 0 0 0 2px ${props.theme.colors.white}`
13040
12825
  )(props),
13041
12826
  color: themeTools.mode("darkGrey", "white")(props)
13042
- },
13043
- ...focusVisible({
13044
- focus: {
13045
- boxShadow: themeTools.mode(
13046
- `${props.theme.shadows.md}, inset 0 0 0 4px ${props.theme.colors.white}, inset 0 0 0 6px ${props.theme.colors.darkGrey}`,
13047
- `${props.theme.shadows.md}, inset 0 0 0 4px ${props.theme.colors.brightRed}, inset 0 0 0 6px ${props.theme.colors.white}`
13048
- )(props),
13049
- outline: "none"
13050
- },
13051
- notFocus: {
13052
- boxShadow: "md"
13053
- }
13054
- })
12827
+ }
13055
12828
  }
13056
12829
  }),
13057
12830
  accent: (props) => ({
@@ -13065,19 +12838,7 @@ var init_fab = __esm({
13065
12838
  _hover: {
13066
12839
  backgroundColor: themeTools.mode("coralGreen", "whiteAlpha.200")(props),
13067
12840
  color: themeTools.mode("darkTeal", "white")(props)
13068
- },
13069
- ...focusVisible({
13070
- focus: {
13071
- boxShadow: themeTools.mode(
13072
- `${props.theme.shadows.md}, inset 0 0 0 4px ${props.theme.colors.mint}, inset 0 0 0 6px ${props.theme.colors.azure}`,
13073
- `${props.theme.shadows.md}, inset 0 0 0 4px ${props.theme.colors.pine}, inset 0 0 0 6px ${props.theme.colors.azure}`
13074
- )(props),
13075
- outline: "none"
13076
- },
13077
- notFocus: {
13078
- boxShadow: "md"
13079
- }
13080
- })
12841
+ }
13081
12842
  }
13082
12843
  })
13083
12844
  },
@@ -13118,7 +12879,7 @@ var init_form = __esm({
13118
12879
  color: themeTools.mode("brightRed", "lightRed")(props)
13119
12880
  },
13120
12881
  helperText: {
13121
- mt: 2,
12882
+ marginTop: 2,
13122
12883
  color: themeTools.mode("dimGrey", "whiteAlpha.600")(props),
13123
12884
  lineHeight: "normal",
13124
12885
  fontSize: "sm"
@@ -13135,7 +12896,7 @@ var init_form_label = __esm({
13135
12896
  baseStyle: {
13136
12897
  fontSize: "mobile.sm",
13137
12898
  marginEnd: 3,
13138
- mb: 2,
12899
+ marginBottom: 2,
13139
12900
  transitionProperty: "common",
13140
12901
  transitionDuration: "normal",
13141
12902
  opacity: 1,
@@ -13147,25 +12908,6 @@ var init_form_label = __esm({
13147
12908
  form_label_default = config17;
13148
12909
  }
13149
12910
  });
13150
-
13151
- // src/theme/utils/sr-utils.ts
13152
- var srOnly2;
13153
- var init_sr_utils = __esm({
13154
- "src/theme/utils/sr-utils.ts"() {
13155
- srOnly2 = {
13156
- border: "0 !important",
13157
- clip: "rect(1px, 1px, 1px, 1px) !important",
13158
- clipPath: "inset(50%) !important",
13159
- height: "1px !important",
13160
- margin: "-1px !important",
13161
- overflow: "hidden !important",
13162
- padding: "0 !important",
13163
- position: "absolute !important",
13164
- width: "1px !important",
13165
- whiteSpace: "nowrap !important"
13166
- };
13167
- }
13168
- });
13169
12911
  function baseBorder(state2, props) {
13170
12912
  switch (state2) {
13171
12913
  case "hover":
@@ -13244,14 +12986,33 @@ var init_border_utils = __esm({
13244
12986
  init_box_shadow_utils();
13245
12987
  }
13246
12988
  });
12989
+
12990
+ // src/theme/utils/sr-utils.ts
12991
+ var srOnly2;
12992
+ var init_sr_utils = __esm({
12993
+ "src/theme/utils/sr-utils.ts"() {
12994
+ srOnly2 = {
12995
+ border: "0 !important",
12996
+ clip: "rect(1px, 1px, 1px, 1px) !important",
12997
+ clipPath: "inset(50%) !important",
12998
+ height: "1px !important",
12999
+ margin: "-1px !important",
13000
+ overflow: "hidden !important",
13001
+ padding: "0 !important",
13002
+ position: "absolute !important",
13003
+ width: "1px !important",
13004
+ whiteSpace: "nowrap !important"
13005
+ };
13006
+ }
13007
+ });
13247
13008
  var parts6, helpers10, config18, info_select_default;
13248
13009
  var init_info_select = __esm({
13249
13010
  "src/theme/components/info-select.ts"() {
13250
13011
  init_dist4();
13251
- init_focus_utils();
13252
- init_sr_utils();
13253
- init_border_utils();
13254
13012
  init_background_utils();
13013
+ init_border_utils();
13014
+ init_focus_util();
13015
+ init_sr_utils();
13255
13016
  parts6 = anatomy("InfoSelect").parts(
13256
13017
  "container",
13257
13018
  "label",
@@ -13280,15 +13041,7 @@ var init_info_select = __esm({
13280
13041
  _hover: {
13281
13042
  ...baseBorder("hover", props)
13282
13043
  },
13283
- ...focusVisible({
13284
- focus: {
13285
- ...baseBorder("focus", props),
13286
- outline: "none"
13287
- },
13288
- notFocus: {
13289
- ...baseBorder("default", props)
13290
- }
13291
- }),
13044
+ ...focusVisibleStyles(props),
13292
13045
  _disabled: {
13293
13046
  color: "whiteAlpha.400",
13294
13047
  ...baseBackground("disabled", props),
@@ -13296,31 +13049,19 @@ var init_info_select = __esm({
13296
13049
  _focus: { ...baseBorder("disabled", props) }
13297
13050
  },
13298
13051
  _active: {
13299
- ...baseBackground("active", props),
13300
- ...baseBorder("focus", props)
13301
- },
13302
- _expanded: {
13303
- ...baseBorder("focus", props)
13052
+ ...baseBackground("active", props)
13304
13053
  },
13305
13054
  _invalid: {
13306
13055
  ...baseBorder("invalid", props),
13307
13056
  _hover: {
13308
13057
  ...baseBorder("hover", props)
13309
- },
13310
- ...focusVisible({
13311
- focus: {
13312
- ...baseBorder("focus", props)
13313
- },
13314
- notFocus: {
13315
- ...baseBorder("invalid", props)
13316
- }
13317
- })
13058
+ }
13318
13059
  }
13319
13060
  },
13320
13061
  arrowIcon: {}
13321
13062
  }),
13322
13063
  variants: {
13323
- base: (props) => ({}),
13064
+ base: () => ({}),
13324
13065
  floating: (props) => ({
13325
13066
  button: {
13326
13067
  ...floatingBackground("default", props),
@@ -13329,15 +13070,6 @@ var init_info_select = __esm({
13329
13070
  ...floatingBorder("hover", props),
13330
13071
  ...floatingBackground("hover", props)
13331
13072
  },
13332
- ...focusVisible({
13333
- focus: {
13334
- ...floatingBorder("focus", props),
13335
- outline: "none"
13336
- },
13337
- notFocus: {
13338
- ...floatingBorder("default", props)
13339
- }
13340
- }),
13341
13073
  _active: {
13342
13074
  ...floatingBorder("active", props),
13343
13075
  ...floatingBackground("active", props)
@@ -13356,7 +13088,7 @@ var parts7, helpers11, config19, travel_tag_default, getDeviationContainerStyle,
13356
13088
  var init_travel_tag = __esm({
13357
13089
  "src/theme/components/travel-tag.ts"() {
13358
13090
  init_box_shadow_utils();
13359
- init_focus_utils();
13091
+ init_focus_util();
13360
13092
  parts7 = themeTools.anatomy("travel-tag").parts(
13361
13093
  "container",
13362
13094
  "iconContainer",
@@ -13388,20 +13120,7 @@ var init_travel_tag = __esm({
13388
13120
  baseShadow: "sm"
13389
13121
  })
13390
13122
  },
13391
- ...focusVisible({
13392
- focus: {
13393
- outline: "none",
13394
- borderColor: "transparent",
13395
- boxShadow: getBoxShadowString({
13396
- borderWidth: 2,
13397
- borderColor: "darkGrey"
13398
- })
13399
- },
13400
- notFocus: {
13401
- boxShadow: "none",
13402
- borderColor: getDeviationBorderColor(props)
13403
- }
13404
- }),
13123
+ ...focusVisibleStyles(props),
13405
13124
  _active: {
13406
13125
  opacity: 0.5,
13407
13126
  boxShadow: "none"
@@ -13687,7 +13406,7 @@ var init_input2 = __esm({
13687
13406
  "src/theme/components/input.ts"() {
13688
13407
  init_dist4();
13689
13408
  init_box_shadow_utils();
13690
- init_focus_utils();
13409
+ init_focus_util();
13691
13410
  helpers13 = react.createMultiStyleConfigHelpers(inputAnatomy.keys);
13692
13411
  config21 = helpers13.defineMultiStyleConfig({
13693
13412
  baseStyle: (props) => ({
@@ -13701,7 +13420,7 @@ var init_input2 = __esm({
13701
13420
  transitionProperty: "common",
13702
13421
  transitionDuration: "fast",
13703
13422
  position: "relative",
13704
- px: 3,
13423
+ paddingX: 3,
13705
13424
  height: "54px",
13706
13425
  fontSize: "mobile.md",
13707
13426
  boxShadow: getBoxShadowString({
@@ -13719,19 +13438,10 @@ var init_input2 = __esm({
13719
13438
  borderWidth: 2
13720
13439
  })
13721
13440
  },
13722
- ...focusVisible({
13723
- focus: {
13724
- boxShadow: getBoxShadowString({
13725
- borderColor: themeTools.mode("greenHaze", "azure")(props),
13726
- borderWidth: 2
13727
- })
13728
- },
13729
- notFocus: {
13730
- boxShadow: getBoxShadowString({
13731
- borderColor: themeTools.mode("darkGrey", "white")(props)
13732
- })
13733
- }
13734
- }),
13441
+ _focusVisible: {
13442
+ ...focusVisibleStyles(props)._focusVisible,
13443
+ outlineOffset: -2
13444
+ },
13735
13445
  _disabled: {
13736
13446
  backgroundColor: themeTools.mode("blackAlpha.100", "whiteAlpha.100")(props),
13737
13447
  boxShadow: getBoxShadowString({
@@ -13749,21 +13459,7 @@ var init_input2 = __esm({
13749
13459
  borderColor: themeTools.mode("darkGrey", "white")(props),
13750
13460
  borderWidth: 2
13751
13461
  })
13752
- },
13753
- ...focusVisible({
13754
- focus: {
13755
- boxShadow: getBoxShadowString({
13756
- borderColor: themeTools.mode("greenHaze", "azure")(props),
13757
- borderWidth: 2
13758
- })
13759
- },
13760
- notFocus: {
13761
- boxShadow: getBoxShadowString({
13762
- borderColor: "brightRed",
13763
- borderWidth: 2
13764
- })
13765
- }
13766
- })
13462
+ }
13767
13463
  },
13768
13464
  " + label": {
13769
13465
  fontSize: ["mobile.sm", "desktop.sm"],
@@ -13771,13 +13467,13 @@ var init_input2 = __esm({
13771
13467
  left: props.paddingLeft || props.pl || 3,
13772
13468
  zIndex: 2,
13773
13469
  position: "absolute",
13774
- my: 2,
13470
+ marginY: 2,
13775
13471
  transition: ".1s ease-out",
13776
13472
  transformOrigin: "top left",
13777
13473
  cursor: "text"
13778
13474
  },
13779
13475
  "&:not(:placeholder-shown)": {
13780
- pt: "16px",
13476
+ paddingTop: "16px",
13781
13477
  "& + label": {
13782
13478
  transform: "scale(0.825) translateY(-10px)"
13783
13479
  }
@@ -13924,10 +13620,9 @@ var init_line_icon = __esm({
13924
13620
  var config23, link_default;
13925
13621
  var init_link2 = __esm({
13926
13622
  "src/theme/components/link.ts"() {
13927
- init_box_shadow_utils();
13928
- init_focus_utils();
13623
+ init_focus_util();
13929
13624
  config23 = react.defineStyleConfig({
13930
- baseStyle: {
13625
+ baseStyle: (props) => ({
13931
13626
  transitionProperty: "common",
13932
13627
  transitionDuration: "fast",
13933
13628
  transitionTimingFunction: "ease-out",
@@ -13948,6 +13643,7 @@ var init_link2 = __esm({
13948
13643
  outline: "none",
13949
13644
  borderRadius: "xs"
13950
13645
  },
13646
+ ...focusVisibleStyles(props),
13951
13647
  svg: {
13952
13648
  display: "inline-block",
13953
13649
  width: "1.125em",
@@ -13955,25 +13651,10 @@ var init_link2 = __esm({
13955
13651
  position: "relative",
13956
13652
  bottom: "-0.2em"
13957
13653
  }
13958
- },
13654
+ }),
13959
13655
  variants: {
13960
13656
  primary: (props) => ({
13961
13657
  color: themeTools.mode("pine", "coralGreen")(props),
13962
- ...focusVisible({
13963
- focus: {
13964
- backgroundColor: themeTools.mode("pine", "white")(props),
13965
- color: themeTools.mode("white", "pine")(props),
13966
- boxShadow: getBoxShadowString({
13967
- borderWidth: 2,
13968
- isInset: false
13969
- })
13970
- },
13971
- notFocus: {
13972
- color: "pine",
13973
- backgroundColor: "transparent",
13974
- boxShadow: "none"
13975
- }
13976
- }),
13977
13658
  _hover: {
13978
13659
  color: themeTools.mode("darkTeal", "white")(props),
13979
13660
  backgroundColor: themeTools.mode("coralGreen", "whiteAlpha.200")(props)
@@ -13985,16 +13666,6 @@ var init_link2 = __esm({
13985
13666
  }),
13986
13667
  secondary: (props) => ({
13987
13668
  color: themeTools.mode("darkGrey", "white")(props),
13988
- ...focusVisible({
13989
- focus: {
13990
- backgroundColor: themeTools.mode("darkGrey", "white")(props),
13991
- color: themeTools.mode("white", "darkTeal")(props)
13992
- },
13993
- notFocus: {
13994
- boxShadow: "none",
13995
- backgroundColor: "transparent"
13996
- }
13997
- }),
13998
13669
  _hover: {
13999
13670
  backgroundColor: themeTools.mode("blackAlpha.100", "whiteAlpha.200")(props),
14000
13671
  color: themeTools.mode("darkGrey", "white")(props)
@@ -14044,6 +13715,7 @@ var init_listbox = __esm({
14044
13715
  init_dist4();
14045
13716
  init_foundations();
14046
13717
  init_background_utils();
13718
+ init_focus_util();
14047
13719
  parts10 = anatomy("ListBox").parts(
14048
13720
  "container",
14049
13721
  "item",
@@ -14078,12 +13750,10 @@ var init_listbox = __esm({
14078
13750
  _active: {
14079
13751
  ...ghostBackground("active", props)
14080
13752
  },
14081
- _focus: {
14082
- ...ghostBackground("focus", props)
14083
- },
14084
13753
  _hover: {
14085
13754
  ...ghostBackground("hover", props)
14086
13755
  },
13756
+ ...focusVisibleStyles(props),
14087
13757
  _selected: {
14088
13758
  ...ghostBackground("selected", props)
14089
13759
  }
@@ -14104,12 +13774,11 @@ var init_listbox = __esm({
14104
13774
  var parts11, helpers16, config25, media_controller_button_default;
14105
13775
  var init_media_controller_button = __esm({
14106
13776
  "src/theme/components/media-controller-button.ts"() {
14107
- init_box_shadow_utils();
14108
- init_focus_utils();
13777
+ init_focus_util();
14109
13778
  parts11 = themeTools.anatomy("media-controller-button").parts("container", "icon");
14110
13779
  helpers16 = react.createMultiStyleConfigHelpers(parts11.keys);
14111
13780
  config25 = helpers16.defineMultiStyleConfig({
14112
- baseStyle: {
13781
+ baseStyle: (props) => ({
14113
13782
  container: {
14114
13783
  fontSize: 30,
14115
13784
  transitionProperty: "common",
@@ -14122,7 +13791,8 @@ var init_media_controller_button = __esm({
14122
13791
  display: "flex",
14123
13792
  padding: 1,
14124
13793
  alignSelf: "center",
14125
- color: "primaryGreen"
13794
+ color: "primaryGreen",
13795
+ ...focusVisibleStyles(props)
14126
13796
  },
14127
13797
  icon: {
14128
13798
  flex: "0 0 auto",
@@ -14130,7 +13800,7 @@ var init_media_controller_button = __esm({
14130
13800
  width: "1em",
14131
13801
  height: "1em"
14132
13802
  }
14133
- },
13803
+ }),
14134
13804
  variants: {
14135
13805
  play: {
14136
13806
  container: {
@@ -14141,34 +13811,6 @@ var init_media_controller_button = __esm({
14141
13811
  _active: {
14142
13812
  color: "greenHaze"
14143
13813
  },
14144
- ...focusVisible({
14145
- focus: {
14146
- position: "relative",
14147
- outline: "none",
14148
- _after: {
14149
- content: '""',
14150
- display: "block",
14151
- zIndex: 2,
14152
- margin: 0.5,
14153
- borderRadius: "round",
14154
- borderWidth: 2,
14155
- borderColor: "white",
14156
- borderStyle: "solid",
14157
- pointerEvents: "none",
14158
- position: "absolute",
14159
- top: 0,
14160
- right: 0,
14161
- bottom: 0,
14162
- left: 0,
14163
- outline: "none"
14164
- }
14165
- },
14166
- notFocus: {
14167
- _after: {
14168
- display: "none"
14169
- }
14170
- }
14171
- }),
14172
13814
  _disabled: {
14173
13815
  color: "silver",
14174
13816
  _hover: {
@@ -14182,18 +13824,6 @@ var init_media_controller_button = __esm({
14182
13824
  },
14183
13825
  jumpSkip: {
14184
13826
  container: {
14185
- ...focusVisible({
14186
- focus: {
14187
- boxShadow: getBoxShadowString({
14188
- borderColor: "greenHaze",
14189
- borderWidth: 2
14190
- }),
14191
- outline: "none"
14192
- },
14193
- notFocus: {
14194
- boxShadow: "none"
14195
- }
14196
- }),
14197
13827
  _hover: {
14198
13828
  backgroundColor: "seaMist"
14199
13829
  },
@@ -14278,9 +13908,9 @@ var init_modal2 = __esm({
14278
13908
  boxShadow: "md"
14279
13909
  },
14280
13910
  header: {
14281
- px: 5,
14282
- pt: 6,
14283
- pb: 2,
13911
+ paddingX: 5,
13912
+ paddingTop: 6,
13913
+ paddingBottom: 2,
14284
13914
  fontWeight: "bold",
14285
13915
  fontFamily: "body"
14286
13916
  },
@@ -14291,14 +13921,14 @@ var init_modal2 = __esm({
14291
13921
  insetEnd: 3
14292
13922
  },
14293
13923
  body: {
14294
- px: 5,
14295
- pb: 6,
13924
+ paddingX: 5,
13925
+ paddingBottom: 6,
14296
13926
  flex: 1,
14297
13927
  overflow: props.scrollBehavior === "inside" ? "auto" : void 0
14298
13928
  },
14299
13929
  footer: {
14300
- px: 3,
14301
- pb: 3
13930
+ paddingX: 3,
13931
+ paddingBottom: 3
14302
13932
  }
14303
13933
  }),
14304
13934
  sizes: {
@@ -14325,8 +13955,7 @@ var $popperBg2, $arrowBg3, $arrowShadowColor2, helpers18, config27, popover_defa
14325
13955
  var init_popover2 = __esm({
14326
13956
  "src/theme/components/popover.ts"() {
14327
13957
  init_dist4();
14328
- init_box_shadow_utils();
14329
- init_focus_utils();
13958
+ init_focus_util();
14330
13959
  $popperBg2 = themeTools.cssVar("popper-bg");
14331
13960
  $arrowBg3 = themeTools.cssVar("popper-arrow-bg");
14332
13961
  $arrowShadowColor2 = themeTools.cssVar("popper-arrow-shadow-color");
@@ -14343,7 +13972,7 @@ var init_popover2 = __esm({
14343
13972
  [$arrowShadowColor2.variable]: `colors.blackAlpha.300`,
14344
13973
  color: "white",
14345
13974
  borderRadius: "sm",
14346
- p: 1.5,
13975
+ padding: 1.5,
14347
13976
  zIndex: "inherit",
14348
13977
  maxWidth: "20em",
14349
13978
  _focus: {
@@ -14360,14 +13989,7 @@ var init_popover2 = __esm({
14360
13989
  position: "absolute",
14361
13990
  color: "white",
14362
13991
  hover: "whiteAlpha.100",
14363
- ...focusVisible({
14364
- focus: {
14365
- boxShadow: getBoxShadowString({ borderColor: "azure" })
14366
- },
14367
- notFocus: {
14368
- boxShadow: "none"
14369
- }
14370
- }),
13992
+ ...focusVisibleStyles(props),
14371
13993
  _active: {
14372
13994
  backgroundColor: "whiteAlpha.200"
14373
13995
  },
@@ -14382,14 +14004,14 @@ var init_popover2 = __esm({
14382
14004
  sizes: {
14383
14005
  sm: {
14384
14006
  content: {
14385
- px: 1.5,
14386
- py: 1
14007
+ paddingX: 1.5,
14008
+ paddingY: 1
14387
14009
  }
14388
14010
  },
14389
14011
  lg: {
14390
14012
  content: {
14391
- px: 3,
14392
- py: 2
14013
+ paddingX: 3,
14014
+ paddingY: 2
14393
14015
  }
14394
14016
  }
14395
14017
  }
@@ -14430,9 +14052,6 @@ var init_progress_indicator2 = __esm({
14430
14052
  }
14431
14053
  }
14432
14054
  }),
14433
- variants: {
14434
- base: (props) => ({})
14435
- },
14436
14055
  defaultProps: {
14437
14056
  variant: "base"
14438
14057
  }
@@ -14444,9 +14063,10 @@ var helpers20, config29, radio_default;
14444
14063
  var init_radio = __esm({
14445
14064
  "src/theme/components/radio.ts"() {
14446
14065
  init_dist4();
14066
+ init_focus_util();
14447
14067
  helpers20 = react.createMultiStyleConfigHelpers(radioAnatomy.keys);
14448
14068
  config29 = helpers20.defineMultiStyleConfig({
14449
- baseStyle: {
14069
+ baseStyle: (props) => ({
14450
14070
  container: {
14451
14071
  _hover: {
14452
14072
  "input:enabled + .chakra-radio__control": {
@@ -14469,10 +14089,7 @@ var init_radio = __esm({
14469
14089
  border: "2px solid",
14470
14090
  borderColor: "primaryGreen",
14471
14091
  borderRadius: "50%",
14472
- _focus: {
14473
- backgroundColor: "seaMist",
14474
- borderColor: "azure"
14475
- },
14092
+ ...focusVisibleStyles(props),
14476
14093
  _disabled: {
14477
14094
  backgroundColor: "lightGrey",
14478
14095
  borderColor: "steel"
@@ -14489,17 +14106,13 @@ var init_radio = __esm({
14489
14106
  borderRadius: "50%",
14490
14107
  background: "currentColor"
14491
14108
  },
14492
- _focus: {
14493
- backgroundColor: "white",
14494
- color: "azure"
14495
- },
14496
14109
  _disabled: {
14497
14110
  backgroundColor: "lightGrey",
14498
14111
  borderColor: "steel"
14499
14112
  }
14500
14113
  }
14501
14114
  }
14502
- }
14115
+ })
14503
14116
  });
14504
14117
  radio_default = config29;
14505
14118
  }
@@ -14523,7 +14136,7 @@ var init_select = __esm({
14523
14136
  left: 3,
14524
14137
  zIndex: 2,
14525
14138
  position: "absolute",
14526
- my: 2,
14139
+ marginY: 2,
14527
14140
  transformOrigin: "top left",
14528
14141
  transform: [
14529
14142
  "scale(0.825) translateY(-12px)",
@@ -14633,9 +14246,9 @@ var init_stepper2 = __esm({
14633
14246
  width: "100%"
14634
14247
  },
14635
14248
  container: {
14636
- px: [2, 2, 0],
14249
+ paddingX: [2, 2, 0],
14637
14250
  maxWidth: "container.lg",
14638
- mx: "auto",
14251
+ marginX: "auto",
14639
14252
  width: "100%"
14640
14253
  },
14641
14254
  innerContainer: {
@@ -14646,7 +14259,7 @@ var init_stepper2 = __esm({
14646
14259
  },
14647
14260
  backButton: {
14648
14261
  borderRadius: "xs",
14649
- px: 0,
14262
+ paddingX: 0,
14650
14263
  width: "auto",
14651
14264
  minWidth: "auto"
14652
14265
  },
@@ -14656,7 +14269,7 @@ var init_stepper2 = __esm({
14656
14269
  WebkitLineClamp: 2,
14657
14270
  display: "-webkit-box",
14658
14271
  WebkitBoxOrient: "vertical",
14659
- ml: 2,
14272
+ marginLeft: 2,
14660
14273
  textAlign: "right"
14661
14274
  },
14662
14275
  stepContainer: {
@@ -14669,7 +14282,7 @@ var init_stepper2 = __esm({
14669
14282
  }
14670
14283
  }),
14671
14284
  variants: {
14672
- base: (props) => ({
14285
+ base: () => ({
14673
14286
  root: {
14674
14287
  backgroundColor: "transparent"
14675
14288
  }
@@ -14693,7 +14306,7 @@ var init_switch = __esm({
14693
14306
  init_dist4();
14694
14307
  init_foundations();
14695
14308
  init_box_shadow_utils();
14696
- init_focus_utils();
14309
+ init_focus_util();
14697
14310
  $width2 = themeTools.cssVar("switch-track-width");
14698
14311
  $height3 = themeTools.cssVar("switch-track-height");
14699
14312
  $diff2 = themeTools.cssVar("switch-track-diff");
@@ -14739,37 +14352,7 @@ var init_switch = __esm({
14739
14352
  borderColor: colors.whiteAlpha[400]
14740
14353
  })
14741
14354
  )({ colorMode }),
14742
- ...focusVisible({
14743
- focus: {
14744
- boxShadow: themeTools.mode(
14745
- getBoxShadowString([
14746
- {
14747
- borderColor: "white",
14748
- borderWidth: 2,
14749
- isInset: false
14750
- },
14751
- {
14752
- borderColor: "primaryGreen",
14753
- borderWidth: 4,
14754
- isInset: false
14755
- }
14756
- ]),
14757
- getBoxShadowString({
14758
- borderColor: "coralGreen",
14759
- borderWidth: 2,
14760
- isInset: false
14761
- })
14762
- )({ colorMode })
14763
- },
14764
- notFocus: {
14765
- boxShadow: themeTools.mode(
14766
- "none",
14767
- getBoxShadowString({
14768
- borderColor: colors.whiteAlpha[400]
14769
- })
14770
- )({ colorMode })
14771
- }
14772
- }),
14355
+ ...focusVisibleStyles({ colorMode }),
14773
14356
  _hover: {
14774
14357
  backgroundColor: "steel",
14775
14358
  boxShadow: themeTools.mode(
@@ -14779,35 +14362,6 @@ var init_switch = __esm({
14779
14362
  },
14780
14363
  _checked: {
14781
14364
  backgroundColor: themeTools.mode("darkTeal", "celadon")({ colorMode }),
14782
- ...focusVisible({
14783
- focus: {
14784
- boxShadow: themeTools.mode(
14785
- getBoxShadowString([
14786
- {
14787
- borderColor: "white",
14788
- borderWidth: 2,
14789
- isInset: false
14790
- },
14791
- {
14792
- borderColor: "primaryGreen",
14793
- borderWidth: 4,
14794
- isInset: false
14795
- }
14796
- ]),
14797
- getBoxShadowString({
14798
- borderWidth: 2,
14799
- borderColor: "coralGreen",
14800
- isInset: false
14801
- })
14802
- )({ colorMode })
14803
- },
14804
- notFocus: {
14805
- boxShadow: themeTools.mode(
14806
- "none",
14807
- getBoxShadowString({ borderColor: colors.white })
14808
- )({ colorMode })
14809
- }
14810
- }),
14811
14365
  _hover: {
14812
14366
  backgroundColor: themeTools.mode("pine", "river")({ colorMode }),
14813
14367
  boxShadow: themeTools.mode(
@@ -14844,10 +14398,6 @@ var init_switch = __esm({
14844
14398
  boxShadow: getBoxShadowString({
14845
14399
  borderColor: colors.blackAlpha["400"]
14846
14400
  }),
14847
- _focus: {
14848
- backgroundColor: "platinum",
14849
- boxShadow: `0 0 0 2px ${colors.greenHaze}`
14850
- },
14851
14401
  _hover: {
14852
14402
  backgroundColor: "white"
14853
14403
  },
@@ -14855,10 +14405,6 @@ var init_switch = __esm({
14855
14405
  backgroundColor: "white",
14856
14406
  _hover: {
14857
14407
  backgroundColor: "mint"
14858
- },
14859
- _focus: {
14860
- backgroundColor: "white",
14861
- boxShadow: `0 0 0 4px ${colors.greenHaze}, 0 0 0 2px ${colors.white}`
14862
14408
  }
14863
14409
  }
14864
14410
  },
@@ -14878,7 +14424,7 @@ var init_switch = __esm({
14878
14424
  },
14879
14425
  track: {
14880
14426
  borderRadius: "24px",
14881
- p: "2px"
14427
+ padding: "2px"
14882
14428
  }
14883
14429
  },
14884
14430
  md: {
@@ -14888,7 +14434,7 @@ var init_switch = __esm({
14888
14434
  },
14889
14435
  track: {
14890
14436
  borderRadius: "30px",
14891
- p: "3px"
14437
+ padding: "3px"
14892
14438
  }
14893
14439
  },
14894
14440
  lg: {
@@ -14898,7 +14444,7 @@ var init_switch = __esm({
14898
14444
  },
14899
14445
  track: {
14900
14446
  borderRadius: "36px",
14901
- p: "3px"
14447
+ padding: "3px"
14902
14448
  }
14903
14449
  }
14904
14450
  },
@@ -15015,16 +14561,16 @@ var init_table2 = __esm({
15015
14561
  fontSize: ["mobile.xs", "desktop.xs"]
15016
14562
  },
15017
14563
  th: {
15018
- px: 3,
15019
- py: 1.5
14564
+ paddingX: 3,
14565
+ paddingY: 1.5
15020
14566
  },
15021
14567
  td: {
15022
- px: 3,
15023
- py: 1.5
14568
+ paddingX: 3,
14569
+ paddingY: 1.5
15024
14570
  },
15025
14571
  caption: {
15026
- px: 3,
15027
- py: 1.5
14572
+ paddingX: 3,
14573
+ paddingY: 1.5
15028
14574
  }
15029
14575
  },
15030
14576
  md: {
@@ -15032,16 +14578,16 @@ var init_table2 = __esm({
15032
14578
  fontSize: ["mobile.sm", "desktop.sm"]
15033
14579
  },
15034
14580
  th: {
15035
- px: 3,
15036
- py: 1.5
14581
+ paddingX: 3,
14582
+ paddingY: 1.5
15037
14583
  },
15038
14584
  td: {
15039
- px: 3,
15040
- py: 1.5
14585
+ paddingX: 3,
14586
+ paddingY: 1.5
15041
14587
  },
15042
14588
  caption: {
15043
- px: 3,
15044
- py: 1.5
14589
+ paddingX: 3,
14590
+ paddingY: 1.5
15045
14591
  }
15046
14592
  },
15047
14593
  lg: {
@@ -15049,16 +14595,16 @@ var init_table2 = __esm({
15049
14595
  fontSize: ["mobile.sm", "desktop.sm"]
15050
14596
  },
15051
14597
  th: {
15052
- px: 3,
15053
- py: "15px"
14598
+ paddingX: 3,
14599
+ paddingY: "15px"
15054
14600
  },
15055
14601
  td: {
15056
- px: 3,
15057
- py: "15px"
14602
+ paddingX: 3,
14603
+ paddingY: "15px"
15058
14604
  },
15059
14605
  caption: {
15060
- px: 3,
15061
- py: "15px"
14606
+ paddingX: 3,
14607
+ paddingY: "15px"
15062
14608
  }
15063
14609
  }
15064
14610
  },
@@ -15071,10 +14617,11 @@ var init_table2 = __esm({
15071
14617
  table_default = config34;
15072
14618
  }
15073
14619
  });
15074
- var helpers25, config35, tabs_default, getTabColorSchemeProps, getTabColorSchemeSelectedProps, getTabColorSchemeFocusProps, getTabColorSchemeHoverProps, getTabColorSchemeActiveProps, getTabColorSchemeDisabledProps, getTablistColorSchemeProps;
14620
+ var helpers25, config35, tabs_default, getTabColorSchemeProps, getTabColorSchemeSelectedProps, getTabColorSchemeHoverProps, getTabColorSchemeActiveProps, getTabColorSchemeDisabledProps, getTablistColorSchemeProps;
15075
14621
  var init_tabs = __esm({
15076
14622
  "src/theme/components/tabs.ts"() {
15077
14623
  init_dist4();
14624
+ init_focus_util();
15078
14625
  helpers25 = react.createMultiStyleConfigHelpers(tabsAnatomy.keys);
15079
14626
  config35 = helpers25.defineMultiStyleConfig({
15080
14627
  baseStyle: (props) => ({
@@ -15104,11 +14651,7 @@ var init_tabs = __esm({
15104
14651
  pointerEvents: "none",
15105
14652
  ...getTabColorSchemeSelectedProps(props)
15106
14653
  },
15107
- _focus: getTabColorSchemeFocusProps(props),
15108
- ":focus:not(:focus-visible)": {
15109
- boxShadow: "none"
15110
- },
15111
- _focusVisible: getTabColorSchemeFocusProps(props),
14654
+ ...focusVisibleStyles(props),
15112
14655
  _hover: getTabColorSchemeHoverProps(props),
15113
14656
  _active: getTabColorSchemeActiveProps(props),
15114
14657
  _disabled: getTabColorSchemeDisabledProps(props)
@@ -15137,40 +14680,40 @@ var init_tabs = __esm({
15137
14680
  sm: {
15138
14681
  tablist: {
15139
14682
  height: "30px",
15140
- p: "2px"
14683
+ padding: "2px"
15141
14684
  },
15142
14685
  tab: {
15143
- px: 2,
15144
- py: 0
14686
+ paddingX: 2,
14687
+ paddingY: 0
15145
14688
  }
15146
14689
  },
15147
14690
  md: {
15148
14691
  tablist: {
15149
14692
  height: "36px",
15150
- p: 0.5
14693
+ padding: 0.5
15151
14694
  },
15152
14695
  tab: {
15153
- px: 2
14696
+ paddingX: 2
15154
14697
  }
15155
14698
  },
15156
14699
  lg: {
15157
14700
  tablist: {
15158
14701
  height: "42px",
15159
- p: 0.5
14702
+ padding: 0.5
15160
14703
  },
15161
14704
  tab: {
15162
14705
  fontWeight: "bold",
15163
- px: 2
14706
+ paddingX: 2
15164
14707
  }
15165
14708
  },
15166
14709
  xl: {
15167
14710
  tablist: {
15168
14711
  height: "54px",
15169
- p: "4px"
14712
+ padding: "4px"
15170
14713
  },
15171
14714
  tab: {
15172
14715
  fontWeight: "bold",
15173
- px: 3
14716
+ paddingX: 3
15174
14717
  }
15175
14718
  }
15176
14719
  },
@@ -15275,26 +14818,6 @@ var init_tabs = __esm({
15275
14818
  };
15276
14819
  }
15277
14820
  };
15278
- getTabColorSchemeFocusProps = (props) => {
15279
- switch (props.colorScheme) {
15280
- case "dark":
15281
- return {
15282
- boxShadow: `inset 0 0 0 2px ${props.theme.colors.white}`
15283
- };
15284
- case "base":
15285
- return {
15286
- boxShadow: `inset 0 0 0 2px ${props.theme.colors.azure}`
15287
- };
15288
- case "accent":
15289
- return {
15290
- boxShadow: `inset 0 0 0 2px ${props.theme.colors.azure}`
15291
- };
15292
- default:
15293
- return {
15294
- boxShadow: `inset 0 0 0 2px ${props.theme.colors.greenHaze}`
15295
- };
15296
- }
15297
- };
15298
14821
  getTabColorSchemeHoverProps = (props) => {
15299
14822
  switch (props.colorScheme) {
15300
14823
  case "dark":
@@ -15602,7 +15125,7 @@ var init_font_faces = __esm({
15602
15125
  font-display: swap
15603
15126
  }
15604
15127
  @font-face {
15605
- font-family: ${tokens10__namespace.default.asset.font["vy-sans"]["medium-italic"].name}
15128
+ font-family: ${tokens10__namespace.default.asset.font["vy-sans"]["medium-italic"].name};
15606
15129
  src: url("https://www.vy.no/styles/font/VySans-RegularItalic.woff2")
15607
15130
  format("woff2"),
15608
15131
  url("https://www.vy.no/styles/font/VySans-RegularItalic.woff")