braid-design-system 32.4.0 → 32.5.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 (39) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist/ToastContext.chunk.cjs +4 -2
  3. package/dist/ToastContext.chunk.mjs +4 -2
  4. package/dist/Toggle.chunk.cjs +31 -8
  5. package/dist/Toggle.chunk.mjs +35 -12
  6. package/dist/playroom/components.cjs +1 -0
  7. package/dist/playroom/components.mjs +1 -0
  8. package/dist/reset.d.ts +154 -2
  9. package/dist/side-effects/lib/themes/baseTokens/apac.cjs +42 -28
  10. package/dist/side-effects/lib/themes/baseTokens/apac.mjs +42 -28
  11. package/dist/side-effects/lib/themes/index.cjs +2 -0
  12. package/dist/side-effects/lib/themes/index.mjs +2 -0
  13. package/dist/side-effects/lib/themes/makeRuntimeTokens.cjs +8 -0
  14. package/dist/side-effects/lib/themes/makeRuntimeTokens.mjs +8 -0
  15. package/dist/side-effects/lib/themes/seekJobs/index.cjs +2 -0
  16. package/dist/side-effects/lib/themes/seekJobs/index.mjs +1 -0
  17. package/dist/styles/lib/components/TextLink/TextLink.css.cjs +1 -1
  18. package/dist/styles/lib/components/TextLink/TextLink.css.mjs +1 -1
  19. package/dist/styles/lib/components/Toggle/Toggle.css.cjs +6 -0
  20. package/dist/styles/lib/components/Toggle/Toggle.css.mjs +6 -0
  21. package/dist/styles/lib/components/private/Field/Field.css.cjs +7 -0
  22. package/dist/styles/lib/components/private/Field/Field.css.mjs +7 -0
  23. package/dist/styles/lib/components/private/InlineField/InlineField.css.cjs +15 -1
  24. package/dist/styles/lib/components/private/InlineField/InlineField.css.mjs +15 -1
  25. package/dist/styles/lib/themes/docs/tokens.cjs +1 -0
  26. package/dist/styles/lib/themes/docs/tokens.mjs +1 -0
  27. package/dist/styles/lib/themes/seekJobs/seekJobs.css.cjs +8 -0
  28. package/dist/styles/lib/themes/seekJobs/seekJobs.css.mjs +9 -0
  29. package/dist/styles/lib/themes/seekJobs/tokens.cjs +190 -0
  30. package/dist/styles/lib/themes/seekJobs/tokens.mjs +191 -0
  31. package/dist/styles/lib/themes/wireframe/tokens.cjs +1 -0
  32. package/dist/styles/lib/themes/wireframe/tokens.mjs +1 -0
  33. package/dist/themes/seekJobs.cjs +3 -0
  34. package/dist/themes/seekJobs.d.ts +1 -0
  35. package/dist/themes/seekJobs.mjs +4 -0
  36. package/dist/themes/wireframe.d.ts +1 -1
  37. package/package.json +8 -2
  38. package/themes/seekJobs/index.d.ts +2 -0
  39. package/themes/seekJobs/package.json +5 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,47 @@
1
1
  # braid-design-system
2
2
 
3
+ ## 32.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Hide field borders in dark containers ([#1294](https://github.com/seek-oss/braid-design-system/pull/1294))
8
+
9
+ Reduce visual noise when a form field is displayed in a dark container by hiding the default border.
10
+ As fields are light on light backgrounds, the border is used to delineate its bounds against the container, which is not relevant in a dark container.
11
+
12
+ - Add `seekJobs` theme ([#1281](https://github.com/seek-oss/braid-design-system/pull/1281))
13
+
14
+ The `seekJobs` theme encapsulates the system changes necessary to apply and deliver the updated visual design language for SEEK Jobs.
15
+ Through the development of this theme, we have been able improve the fidelity of the various scales in our tokens, while also ensuring that the tokens themselves are consumed and applied more consistently throughout the system itself.
16
+
17
+ **EXAMPLE USAGE:**
18
+
19
+ ```tsx
20
+ import seekJobs from 'braid-design-system/themes/seekJobs';
21
+
22
+ <BraidProvider theme={seekJobs}>...</BraidProvider>;
23
+ ```
24
+
25
+ **MIGRATION**
26
+
27
+ Consumers of the `apac` theme are not recommended to migrate independently. The `seekJobs` theme represents an uplifted visual identity that is part of a wider visual uplift.
28
+ Instead, we’ll be guiding the initial teams through a staged migration in coordination with the centralised team process.
29
+ There are some differences in how certain concepts are applied, whether it's the space scale, or `Card` usage, etc., and we will be documenting these in due course.
30
+
31
+ If you would like to talk about migrating, please reach out to us in our **#braid-support** channel on slack.
32
+
33
+ ## 32.4.1
34
+
35
+ ### Patch Changes
36
+
37
+ - **Text, Heading:** Only show truncate deprecation message when true ([#1289](https://github.com/seek-oss/braid-design-system/pull/1289))
38
+
39
+ Only show the truncate deprecation message when `truncate` is provided and set to `true`
40
+
41
+ - **TextLink, TextLinkButton:** Improve underline position for wrapping text ([#1290](https://github.com/seek-oss/braid-design-system/pull/1290))
42
+
43
+ Refine the underline position to be consistent across the whole typographic hierarchy, ensuring it does not interfere with wrapping lines of text.
44
+
3
45
  ## 32.4.0
4
46
 
5
47
  ### Minor Changes
@@ -675,7 +675,7 @@ const Typography = ({
675
675
  const lines = truncate ? 1 : maxLines;
676
676
  const contents = typeof lines === "number" ? /* @__PURE__ */ jsxRuntime.jsx(MaxLines, { lines, children }) : children;
677
677
  if (process.env.NODE_ENV !== "production") {
678
- if (typeof truncate !== "undefined") {
678
+ if (truncate) {
679
679
  console.warn(
680
680
  dedent__default.default`
681
681
  The "truncate" prop has been deprecated and will be removed in a future version. Use "maxLines" instead.
@@ -1491,10 +1491,12 @@ const ButtonText = ({
1491
1491
  }) => {
1492
1492
  const lightness = useBackgroundLightness();
1493
1493
  const actionsContext = React.useContext(ActionsContext);
1494
+ const isLegacyTheme = sideEffects_lib_components_BraidProvider_BraidProvider_cjs.useBraidTheme().legacy;
1494
1495
  const size = sizeProp ?? (actionsContext == null ? void 0 : actionsContext.size) ?? "standard";
1495
1496
  const stylesForVariant = variants[variant][tone ?? "default"];
1496
1497
  const shouldReducePaddingX = size === "small" || variant === "transparent";
1497
- const labelPaddingX = shouldReducePaddingX ? transparentPaddingX : "medium";
1498
+ const labelPaddingXForTheme = isLegacyTheme ? "medium" : "gutter";
1499
+ const labelPaddingX = shouldReducePaddingX ? transparentPaddingX : labelPaddingXForTheme;
1498
1500
  assert__default.default(
1499
1501
  !icon || icon.props.size === void 0 && icon.props.tone === void 0,
1500
1502
  "Icons cannot set the 'size' or 'tone' prop when passed to a Button component"
@@ -668,7 +668,7 @@ const Typography = ({
668
668
  const lines = truncate ? 1 : maxLines;
669
669
  const contents = typeof lines === "number" ? /* @__PURE__ */ jsx(MaxLines, { lines, children }) : children;
670
670
  if (process.env.NODE_ENV !== "production") {
671
- if (typeof truncate !== "undefined") {
671
+ if (truncate) {
672
672
  console.warn(
673
673
  dedent`
674
674
  The "truncate" prop has been deprecated and will be removed in a future version. Use "maxLines" instead.
@@ -1484,10 +1484,12 @@ const ButtonText = ({
1484
1484
  }) => {
1485
1485
  const lightness = useBackgroundLightness();
1486
1486
  const actionsContext = useContext(ActionsContext);
1487
+ const isLegacyTheme = useBraidTheme().legacy;
1487
1488
  const size2 = sizeProp ?? (actionsContext == null ? void 0 : actionsContext.size) ?? "standard";
1488
1489
  const stylesForVariant = variants[variant][tone2 ?? "default"];
1489
1490
  const shouldReducePaddingX = size2 === "small" || variant === "transparent";
1490
- const labelPaddingX = shouldReducePaddingX ? transparentPaddingX : "medium";
1491
+ const labelPaddingXForTheme = isLegacyTheme ? "medium" : "gutter";
1492
+ const labelPaddingX = shouldReducePaddingX ? transparentPaddingX : labelPaddingXForTheme;
1491
1493
  assert(
1492
1494
  !icon || icon.props.size === void 0 && icon.props.tone === void 0,
1493
1495
  "Icons cannot set the 'size' or 'tone' prop when passed to a Button component"
@@ -2263,6 +2263,7 @@ const Alert = ({
2263
2263
  onClose,
2264
2264
  ...restProps
2265
2265
  }) => {
2266
+ const isLegacyTheme = sideEffects_lib_components_BraidProvider_BraidProvider_cjs.useBraidTheme().legacy;
2266
2267
  const parentBackground = ToastContext.useBackground();
2267
2268
  const Icon = icons$1[tone];
2268
2269
  return /* @__PURE__ */ jsxRuntime.jsxs(
@@ -2338,7 +2339,7 @@ const Alert = ({
2338
2339
  }
2339
2340
  ) }) : null
2340
2341
  ] }),
2341
- parentBackground.lightMode !== "surface" && /* @__PURE__ */ jsxRuntime.jsx(
2342
+ isLegacyTheme && parentBackground.lightMode !== "surface" && /* @__PURE__ */ jsxRuntime.jsx(
2342
2343
  ToastContext.Overlay,
2343
2344
  {
2344
2345
  borderRadius: borderRadius$3,
@@ -2543,12 +2544,16 @@ const Field = ({
2543
2544
  const hasValue = typeof value === "string" ? value.length > 0 : value != null;
2544
2545
  const hasVisualLabelOrDescription = "label" in restProps || description;
2545
2546
  const showSecondaryIcon = alwaysShowSecondaryIcon || secondaryIcon && hasValue;
2547
+ const { lightMode } = ToastContext.useBackgroundLightness();
2546
2548
  const overlays = /* @__PURE__ */ jsxRuntime.jsxs(React.Fragment, { children: [
2547
2549
  /* @__PURE__ */ jsxRuntime.jsx(
2548
2550
  ToastContext.FieldOverlay,
2549
2551
  {
2550
2552
  variant: disabled ? "disabled" : "default",
2551
- visible: tone !== "critical" || disabled
2553
+ visible: tone !== "critical" || disabled,
2554
+ className: {
2555
+ [styles_lib_components_private_Field_Field_css_cjs.hideBorderOnDarkBackgroundInLightMode]: lightMode === "dark"
2556
+ }
2552
2557
  }
2553
2558
  ),
2554
2559
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -3803,6 +3808,7 @@ const Card = ({
3803
3808
  validCardComponents.includes(component),
3804
3809
  `Invalid Card component: '${component}'. Should be one of [${validCardComponents.map((c) => `'${c}'`).join(", ")}]`
3805
3810
  );
3811
+ const isLegacyTheme = sideEffects_lib_components_BraidProvider_BraidProvider_cjs.useBraidTheme().legacy;
3806
3812
  let resolvedRounding;
3807
3813
  if ("rounded" in restProps) {
3808
3814
  resolvedRounding = borderRadius$2;
@@ -3815,6 +3821,7 @@ const Card = ({
3815
3821
  roundedOnWide ? borderRadius$2 : "none"
3816
3822
  ]);
3817
3823
  }
3824
+ const roundingForTheme = !isLegacyTheme ? borderRadius$2 : resolvedRounding;
3818
3825
  return /* @__PURE__ */ jsxRuntime.jsxs(
3819
3826
  ToastContext.Box,
3820
3827
  {
@@ -3822,11 +3829,12 @@ const Card = ({
3822
3829
  position: "relative",
3823
3830
  background: "surface",
3824
3831
  padding: "gutter",
3825
- borderRadius: resolvedRounding,
3832
+ borderRadius: roundingForTheme,
3833
+ boxShadow: !isLegacyTheme ? "borderNeutralLight" : void 0,
3826
3834
  height: height === "full" ? height : void 0,
3827
3835
  ...ToastContext.buildDataAttributes({ data, validateRestProps: restProps }),
3828
3836
  children: [
3829
- tone ? /* @__PURE__ */ jsxRuntime.jsx(Keyline, { tone, borderRadius: resolvedRounding }) : null,
3837
+ tone ? /* @__PURE__ */ jsxRuntime.jsx(Keyline, { tone, borderRadius: roundingForTheme }) : null,
3830
3838
  children
3831
3839
  ]
3832
3840
  }
@@ -3927,6 +3935,7 @@ const StyledInput = React.forwardRef(
3927
3935
  indeterminateRef.current = isMixed;
3928
3936
  }
3929
3937
  }, [ref, isMixed, isCheckbox]);
3938
+ const { lightMode } = ToastContext.useBackgroundLightness();
3930
3939
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
3931
3940
  /* @__PURE__ */ jsxRuntime.jsx(
3932
3941
  ToastContext.Box,
@@ -3979,7 +3988,10 @@ const StyledInput = React.forwardRef(
3979
3988
  {
3980
3989
  variant: disabled ? "disabled" : defaultBorder,
3981
3990
  borderRadius: fieldBorderRadius,
3982
- visible: tone !== "critical" || disabled
3991
+ visible: tone !== "critical" || disabled,
3992
+ className: {
3993
+ [styles_lib_components_private_InlineField_InlineField_css_cjs.hideBorderOnDarkBackgroundInLightMode]: lightMode === "dark"
3994
+ }
3983
3995
  }
3984
3996
  ),
3985
3997
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -5931,6 +5943,7 @@ const PageNav = ({
5931
5943
  const tabletButtonSpacing = "xxsmall";
5932
5944
  const Page = ({ number, current }) => {
5933
5945
  const parentBackground = ToastContext.useBackground();
5946
+ const isLegacyTheme = sideEffects_lib_components_BraidProvider_BraidProvider_cjs.useBraidTheme().legacy;
5934
5947
  return /* @__PURE__ */ jsxRuntime.jsxs(
5935
5948
  ToastContext.Box,
5936
5949
  {
@@ -5960,8 +5973,8 @@ const Page = ({ number, current }) => {
5960
5973
  borderRadius,
5961
5974
  boxShadow: "borderFormAccent",
5962
5975
  className: {
5963
- [styles_lib_components_Pagination_Pagination_css_cjs.lightModeCurrentKeyline]: parentBackground.lightMode !== "surface" && current,
5964
- [styles_lib_components_Pagination_Pagination_css_cjs.darkModeCurrentKeyline]: parentBackground.darkMode !== "surface" && current
5976
+ [styles_lib_components_Pagination_Pagination_css_cjs.lightModeCurrentKeyline]: isLegacyTheme && parentBackground.lightMode !== "surface" && current,
5977
+ [styles_lib_components_Pagination_Pagination_css_cjs.darkModeCurrentKeyline]: current
5965
5978
  }
5966
5979
  }
5967
5980
  ),
@@ -8037,7 +8050,6 @@ const Toggle = React.forwardRef(
8037
8050
  {
8038
8051
  position: "absolute",
8039
8052
  background: "surface",
8040
- boxShadow: on ? "borderFormAccent" : "borderField",
8041
8053
  transition: "fast",
8042
8054
  display: "flex",
8043
8055
  alignItems: "center",
@@ -8045,6 +8057,17 @@ const Toggle = React.forwardRef(
8045
8057
  borderRadius: "full",
8046
8058
  className: styles_lib_components_Toggle_Toggle_css_cjs.slider[size],
8047
8059
  children: [
8060
+ /* @__PURE__ */ jsxRuntime.jsx(
8061
+ ToastContext.FieldOverlay,
8062
+ {
8063
+ variant: on ? "formAccent" : "default",
8064
+ borderRadius: "full",
8065
+ visible: true,
8066
+ className: {
8067
+ [styles_lib_components_Toggle_Toggle_css_cjs.hideBorderOnDarkBackgroundInLightMode]: lightness.lightMode === "dark"
8068
+ }
8069
+ }
8070
+ ),
8048
8071
  /* @__PURE__ */ jsxRuntime.jsx(ToastContext.FieldOverlay, { className: styles_lib_components_Toggle_Toggle_css_cjs.icon, children: /* @__PURE__ */ jsxRuntime.jsx(IconTick, { tone: "formAccent", size: "fill" }) }),
8049
8072
  /* @__PURE__ */ jsxRuntime.jsx(
8050
8073
  ToastContext.FieldOverlay,
@@ -1,4 +1,4 @@
1
- import { useThemeName, useResponsiveValue, Stack, Box, buildDataAttributes, Divider, useIcon, virtualTouchable, Columns, Column, Inline, Text, Overlay, ActionsContext, useBackground, iconContainerSize, IconClear, IconPositive, IconCritical, TextContext, HeadingContext, textStyles, FieldOverlay, ButtonIcon, Bleed, useColoredBoxClasses, BackgroundProvider, ButtonContainer, useButtonStyles, ButtonOverlays, ButtonText, useBackgroundLightness, resolveResponsiveRangeProps, optimizeResponsiveArray, Typography, BraidPortal, TextLinkButton, AvoidWidowIcon, useDefaultTextProps, flattenChildren, DefaultTextPropsProvider, iconSize, Hidden, useSpace, negativeMargin, resolveResponsiveProp } from "./ToastContext.chunk.mjs";
1
+ import { useThemeName, useResponsiveValue, Stack, Box, buildDataAttributes, Divider, useIcon, virtualTouchable, Columns, Column, Inline, Text, Overlay, ActionsContext, useBackground, iconContainerSize, IconClear, IconPositive, IconCritical, TextContext, HeadingContext, useBackgroundLightness, textStyles, FieldOverlay, ButtonIcon, Bleed, useColoredBoxClasses, BackgroundProvider, ButtonContainer, useButtonStyles, ButtonOverlays, ButtonText, resolveResponsiveRangeProps, optimizeResponsiveArray, Typography, BraidPortal, TextLinkButton, AvoidWidowIcon, useDefaultTextProps, flattenChildren, DefaultTextPropsProvider, iconSize, Hidden, useSpace, negativeMargin, resolveResponsiveProp } from "./ToastContext.chunk.mjs";
2
2
  import { useBraidTheme, useLinkComponent } from "./side-effects/lib/components/BraidProvider/BraidProvider.mjs";
3
3
  import { jsx, jsxs, Fragment as Fragment$1 } from "react/jsx-runtime";
4
4
  import assert from "assert";
@@ -35,7 +35,7 @@ import { isMobile } from "is-mobile";
35
35
  import { field as field$1 } from "./styles/lib/components/Dropdown/Dropdown.css.mjs";
36
36
  import { nativeInput } from "./styles/lib/components/MonthPicker/MonthPicker.css.mjs";
37
37
  import { hover, background, current, lightModeCurrentKeyline, darkModeCurrentKeyline } from "./styles/lib/components/Pagination/Pagination.css.mjs";
38
- import { realField, sizeVars, isMixed, fakeField, selected, focusOverlay as focusOverlay$1, hoverOverlay as hoverOverlay$1, checkboxIndicator, radioIndicator, labelOffset, children } from "./styles/lib/components/private/InlineField/InlineField.css.mjs";
38
+ import { realField, sizeVars, isMixed, fakeField, hideBorderOnDarkBackgroundInLightMode as hideBorderOnDarkBackgroundInLightMode$1, selected, focusOverlay as focusOverlay$1, hoverOverlay as hoverOverlay$1, checkboxIndicator, radioIndicator, labelOffset, children } from "./styles/lib/components/private/InlineField/InlineField.css.mjs";
39
39
  import { starSpacing, textSpacing, lightModeStarColor, darkModeStarColor } from "./styles/lib/components/Rating/Rating.css.mjs";
40
40
  import { step, tone as tone$2, progressTrack, progressTrackCentered, progressLine, progressUnfilled, indicatorContainer, focusOverlay as focusOverlay$2, indicator, highlight, complete, active, inner, tick, stretch, stretchLastAboveTablet } from "./styles/lib/components/Stepper/Stepper.css.mjs";
41
41
  import { tab, cropToIconX, hoveredTab, tabFocusRing, scroll as scroll$1, nowrap, mask, marginAuto, divider, tabUnderline, tabUnderlineActiveDarkMode, underlineLeft, underlineWidth, tabPanel, tabPanelFocusRing } from "./styles/lib/components/Tabs/Tabs.css.mjs";
@@ -45,9 +45,9 @@ import { root as root$4, caution, critical } from "./styles/lib/components/Texta
45
45
  import { highlights, field as field$2 } from "./styles/lib/components/Textarea/Textarea.css.mjs";
46
46
  import { select, focusOverlay as focusOverlay$3 } from "./styles/lib/components/TextDropdown/TextDropdown.css.mjs";
47
47
  import { root as root$1, up, left, right } from "./styles/lib/components/icons/IconChevron/IconChevron.css.mjs";
48
- import { secondaryIconSpace, field, placeholderColor, iconSpace, verticalDivider, focusOverlay, hoverOverlay } from "./styles/lib/components/private/Field/Field.css.mjs";
48
+ import { secondaryIconSpace, field, placeholderColor, iconSpace, verticalDivider, hideBorderOnDarkBackgroundInLightMode, focusOverlay, hoverOverlay } from "./styles/lib/components/private/Field/Field.css.mjs";
49
49
  import { columnsWide, columnsDesktop, columnsTablet, columnsMobile } from "./styles/lib/components/Tiles/Tiles.css.mjs";
50
- import { root as root$5, realField as realField$1, realFieldPosition, fieldSize, slideContainer, slideContainerSize, slideTrack, slideTrackMask, slideTrackBgLightMode, slideTrackBgDarkMode, slideTrackSelected, slider, icon as icon$1, focusOverlay as focusOverlay$4, hoverOverlay as hoverOverlay$2, label } from "./styles/lib/components/Toggle/Toggle.css.mjs";
50
+ import { root as root$5, realField as realField$1, realFieldPosition, fieldSize, slideContainer, slideContainerSize, slideTrack, slideTrackMask, slideTrackBgLightMode, slideTrackBgDarkMode, slideTrackSelected, slider, hideBorderOnDarkBackgroundInLightMode as hideBorderOnDarkBackgroundInLightMode$2, icon as icon$1, focusOverlay as focusOverlay$4, hoverOverlay as hoverOverlay$2, label } from "./styles/lib/components/Toggle/Toggle.css.mjs";
51
51
  const ThemeNameConsumer = ({ children: children2 }) => children2(useThemeName());
52
52
  const useColor = () => useBraidTheme().color;
53
53
  const useBreakpoint = () => {
@@ -2255,6 +2255,7 @@ const Alert = ({
2255
2255
  onClose,
2256
2256
  ...restProps
2257
2257
  }) => {
2258
+ const isLegacyTheme = useBraidTheme().legacy;
2258
2259
  const parentBackground = useBackground();
2259
2260
  const Icon = icons$1[tone2];
2260
2261
  return /* @__PURE__ */ jsxs(
@@ -2330,7 +2331,7 @@ const Alert = ({
2330
2331
  }
2331
2332
  ) }) : null
2332
2333
  ] }),
2333
- parentBackground.lightMode !== "surface" && /* @__PURE__ */ jsx(
2334
+ isLegacyTheme && parentBackground.lightMode !== "surface" && /* @__PURE__ */ jsx(
2334
2335
  Overlay,
2335
2336
  {
2336
2337
  borderRadius: borderRadius$3,
@@ -2535,12 +2536,16 @@ const Field = ({
2535
2536
  const hasValue = typeof value === "string" ? value.length > 0 : value != null;
2536
2537
  const hasVisualLabelOrDescription = "label" in restProps || description;
2537
2538
  const showSecondaryIcon = alwaysShowSecondaryIcon || secondaryIcon && hasValue;
2539
+ const { lightMode: lightMode2 } = useBackgroundLightness();
2538
2540
  const overlays = /* @__PURE__ */ jsxs(Fragment, { children: [
2539
2541
  /* @__PURE__ */ jsx(
2540
2542
  FieldOverlay,
2541
2543
  {
2542
2544
  variant: disabled ? "disabled" : "default",
2543
- visible: tone2 !== "critical" || disabled
2545
+ visible: tone2 !== "critical" || disabled,
2546
+ className: {
2547
+ [hideBorderOnDarkBackgroundInLightMode]: lightMode2 === "dark"
2548
+ }
2544
2549
  }
2545
2550
  ),
2546
2551
  /* @__PURE__ */ jsx(
@@ -3795,6 +3800,7 @@ const Card = ({
3795
3800
  validCardComponents.includes(component),
3796
3801
  `Invalid Card component: '${component}'. Should be one of [${validCardComponents.map((c) => `'${c}'`).join(", ")}]`
3797
3802
  );
3803
+ const isLegacyTheme = useBraidTheme().legacy;
3798
3804
  let resolvedRounding;
3799
3805
  if ("rounded" in restProps) {
3800
3806
  resolvedRounding = borderRadius$2;
@@ -3807,6 +3813,7 @@ const Card = ({
3807
3813
  roundedOnWide ? borderRadius$2 : "none"
3808
3814
  ]);
3809
3815
  }
3816
+ const roundingForTheme = !isLegacyTheme ? borderRadius$2 : resolvedRounding;
3810
3817
  return /* @__PURE__ */ jsxs(
3811
3818
  Box,
3812
3819
  {
@@ -3814,11 +3821,12 @@ const Card = ({
3814
3821
  position: "relative",
3815
3822
  background: "surface",
3816
3823
  padding: "gutter",
3817
- borderRadius: resolvedRounding,
3824
+ borderRadius: roundingForTheme,
3825
+ boxShadow: !isLegacyTheme ? "borderNeutralLight" : void 0,
3818
3826
  height: height === "full" ? height : void 0,
3819
3827
  ...buildDataAttributes({ data, validateRestProps: restProps }),
3820
3828
  children: [
3821
- tone2 ? /* @__PURE__ */ jsx(Keyline, { tone: tone2, borderRadius: resolvedRounding }) : null,
3829
+ tone2 ? /* @__PURE__ */ jsx(Keyline, { tone: tone2, borderRadius: roundingForTheme }) : null,
3822
3830
  children2
3823
3831
  ]
3824
3832
  }
@@ -3919,6 +3927,7 @@ const StyledInput = forwardRef(
3919
3927
  indeterminateRef.current = isMixed$1;
3920
3928
  }
3921
3929
  }, [ref, isMixed$1, isCheckbox]);
3930
+ const { lightMode: lightMode2 } = useBackgroundLightness();
3922
3931
  return /* @__PURE__ */ jsxs(Fragment$1, { children: [
3923
3932
  /* @__PURE__ */ jsx(
3924
3933
  Box,
@@ -3971,7 +3980,10 @@ const StyledInput = forwardRef(
3971
3980
  {
3972
3981
  variant: disabled ? "disabled" : defaultBorder,
3973
3982
  borderRadius: fieldBorderRadius,
3974
- visible: tone2 !== "critical" || disabled
3983
+ visible: tone2 !== "critical" || disabled,
3984
+ className: {
3985
+ [hideBorderOnDarkBackgroundInLightMode$1]: lightMode2 === "dark"
3986
+ }
3975
3987
  }
3976
3988
  ),
3977
3989
  /* @__PURE__ */ jsx(
@@ -5923,6 +5935,7 @@ const PageNav = ({
5923
5935
  const tabletButtonSpacing = "xxsmall";
5924
5936
  const Page = ({ number, current: current$1 }) => {
5925
5937
  const parentBackground = useBackground();
5938
+ const isLegacyTheme = useBraidTheme().legacy;
5926
5939
  return /* @__PURE__ */ jsxs(
5927
5940
  Box,
5928
5941
  {
@@ -5952,8 +5965,8 @@ const Page = ({ number, current: current$1 }) => {
5952
5965
  borderRadius,
5953
5966
  boxShadow: "borderFormAccent",
5954
5967
  className: {
5955
- [lightModeCurrentKeyline]: parentBackground.lightMode !== "surface" && current$1,
5956
- [darkModeCurrentKeyline]: parentBackground.darkMode !== "surface" && current$1
5968
+ [lightModeCurrentKeyline]: isLegacyTheme && parentBackground.lightMode !== "surface" && current$1,
5969
+ [darkModeCurrentKeyline]: current$1
5957
5970
  }
5958
5971
  }
5959
5972
  ),
@@ -8029,7 +8042,6 @@ const Toggle = forwardRef(
8029
8042
  {
8030
8043
  position: "absolute",
8031
8044
  background: "surface",
8032
- boxShadow: on ? "borderFormAccent" : "borderField",
8033
8045
  transition: "fast",
8034
8046
  display: "flex",
8035
8047
  alignItems: "center",
@@ -8037,6 +8049,17 @@ const Toggle = forwardRef(
8037
8049
  borderRadius: "full",
8038
8050
  className: slider[size2],
8039
8051
  children: [
8052
+ /* @__PURE__ */ jsx(
8053
+ FieldOverlay,
8054
+ {
8055
+ variant: on ? "formAccent" : "default",
8056
+ borderRadius: "full",
8057
+ visible: true,
8058
+ className: {
8059
+ [hideBorderOnDarkBackgroundInLightMode$2]: lightness.lightMode === "dark"
8060
+ }
8061
+ }
8062
+ ),
8040
8063
  /* @__PURE__ */ jsx(FieldOverlay, { className: icon$1, children: /* @__PURE__ */ jsx(IconTick, { tone: "formAccent", size: "fill" }) }),
8041
8064
  /* @__PURE__ */ jsx(
8042
8065
  FieldOverlay,
@@ -4,6 +4,7 @@ const dedent = require("dedent");
4
4
  const jsxRuntime = require("react/jsx-runtime");
5
5
  const styles_lib_css_atoms_sprinkles_css_cjs = require("../styles/lib/css/atoms/sprinkles.css.cjs");
6
6
  require("../styles/lib/themes/apac/apacTheme.css.cjs");
7
+ require("../styles/lib/themes/seekJobs/seekJobs.css.cjs");
7
8
  require("../styles/lib/themes/seekBusiness/seekBusinessTheme.css.cjs");
8
9
  const styles_lib_themes_wireframe_wireframeTheme_css_cjs = require("../styles/lib/themes/wireframe/wireframeTheme.css.cjs");
9
10
  require("../styles/lib/themes/docs/docsTheme.css.cjs");
@@ -2,6 +2,7 @@ import dedent from "dedent";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import { mapResponsiveValue, sprinkles } from "../styles/lib/css/atoms/sprinkles.css.mjs";
4
4
  import "../styles/lib/themes/apac/apacTheme.css.mjs";
5
+ import "../styles/lib/themes/seekJobs/seekJobs.css.mjs";
5
6
  import "../styles/lib/themes/seekBusiness/seekBusinessTheme.css.mjs";
6
7
  import { wireframe } from "../styles/lib/themes/wireframe/wireframeTheme.css.mjs";
7
8
  import "../styles/lib/themes/docs/docsTheme.css.mjs";
package/dist/reset.d.ts CHANGED
@@ -33,6 +33,14 @@ type FontWeight = 'regular' | 'medium' | 'strong';
33
33
  interface BraidTokens {
34
34
  name: string;
35
35
  displayName: string;
36
+ /**
37
+ * The boundary for making updated design decisions without disturbing
38
+ * existing consumers. Updated decisions can be assessed as part of
39
+ * migrating between themes.
40
+ *
41
+ * This token will be removed when the `apac` theme is retired.
42
+ */
43
+ legacy: boolean;
36
44
  typography: {
37
45
  fontFamily: string;
38
46
  webFont: string | null;
@@ -197,6 +205,7 @@ declare const makeBraidTheme: (tokens: BraidTokens) => {
197
205
  vanillaTheme: string;
198
206
  name: string;
199
207
  displayName: string;
208
+ legacy: boolean;
200
209
  background: {
201
210
  lightMode: string;
202
211
  darkMode: string;
@@ -4222,10 +4231,149 @@ declare const vars: {
4222
4231
  };
4223
4232
  declare function atoms(props: Omit<Atoms, 'background'>): string;
4224
4233
 
4234
+ declare const _default$6: {
4235
+ vanillaTheme: string;
4236
+ name: string;
4237
+ displayName: string;
4238
+ legacy: boolean;
4239
+ background: {
4240
+ lightMode: string;
4241
+ darkMode: string;
4242
+ };
4243
+ webFonts: {
4244
+ linkTag: string;
4245
+ }[];
4246
+ space: {
4247
+ grid: number;
4248
+ space: {
4249
+ gutter: number;
4250
+ xxsmall: number;
4251
+ xsmall: number;
4252
+ small: number;
4253
+ medium: number;
4254
+ large: number;
4255
+ xlarge: number;
4256
+ xxlarge: number;
4257
+ xxxlarge: number;
4258
+ };
4259
+ };
4260
+ color: {
4261
+ foreground: {
4262
+ brandAccentLight: string;
4263
+ brandAccent: string;
4264
+ cautionLight: string;
4265
+ caution: string;
4266
+ criticalLight: string;
4267
+ critical: string;
4268
+ formAccentLight: string;
4269
+ formAccent: string;
4270
+ infoLight: string;
4271
+ info: string;
4272
+ linkLight: string;
4273
+ link: string;
4274
+ linkHover: string;
4275
+ linkVisited: string;
4276
+ linkLightVisited: string;
4277
+ neutral: string;
4278
+ neutralInverted: string;
4279
+ positiveLight: string;
4280
+ positive: string;
4281
+ promoteLight: string;
4282
+ promote: string;
4283
+ rating: string;
4284
+ secondary: string;
4285
+ secondaryInverted: string;
4286
+ };
4287
+ background: {
4288
+ body: string;
4289
+ bodyDark: string;
4290
+ brand: string;
4291
+ brandAccent: string;
4292
+ brandAccentActive: string;
4293
+ brandAccentHover: string;
4294
+ brandAccentSoft: string;
4295
+ brandAccentSoftActive: string;
4296
+ brandAccentSoftHover: string;
4297
+ caution: string;
4298
+ cautionLight: string;
4299
+ critical: string;
4300
+ criticalActive: string;
4301
+ criticalHover: string;
4302
+ criticalLight: string;
4303
+ criticalSoft: string;
4304
+ criticalSoftActive: string;
4305
+ criticalSoftHover: string;
4306
+ formAccent: string;
4307
+ formAccentActive: string;
4308
+ formAccentHover: string;
4309
+ formAccentSoft: string;
4310
+ formAccentSoftActive: string;
4311
+ formAccentSoftHover: string;
4312
+ info: string;
4313
+ infoLight: string;
4314
+ neutral: string;
4315
+ neutralActive: string;
4316
+ neutralHover: string;
4317
+ neutralLight: string;
4318
+ neutralSoft: string;
4319
+ neutralSoftActive: string;
4320
+ neutralSoftHover: string;
4321
+ positive: string;
4322
+ positiveLight: string;
4323
+ promote: string;
4324
+ promoteLight: string;
4325
+ surface: string;
4326
+ surfaceDark: string;
4327
+ };
4328
+ };
4329
+ backgroundLightness: {
4330
+ body: "light" | "dark";
4331
+ bodyDark: "light" | "dark";
4332
+ brand: "light" | "dark";
4333
+ brandAccent: "light" | "dark";
4334
+ brandAccentActive: "light" | "dark";
4335
+ brandAccentHover: "light" | "dark";
4336
+ brandAccentSoft: "light" | "dark";
4337
+ brandAccentSoftActive: "light" | "dark";
4338
+ brandAccentSoftHover: "light" | "dark";
4339
+ caution: "light" | "dark";
4340
+ cautionLight: "light" | "dark";
4341
+ critical: "light" | "dark";
4342
+ criticalActive: "light" | "dark";
4343
+ criticalHover: "light" | "dark";
4344
+ criticalLight: "light" | "dark";
4345
+ criticalSoft: "light" | "dark";
4346
+ criticalSoftActive: "light" | "dark";
4347
+ criticalSoftHover: "light" | "dark";
4348
+ formAccent: "light" | "dark";
4349
+ formAccentActive: "light" | "dark";
4350
+ formAccentHover: "light" | "dark";
4351
+ formAccentSoft: "light" | "dark";
4352
+ formAccentSoftActive: "light" | "dark";
4353
+ formAccentSoftHover: "light" | "dark";
4354
+ info: "light" | "dark";
4355
+ infoLight: "light" | "dark";
4356
+ neutral: "light" | "dark";
4357
+ neutralActive: "light" | "dark";
4358
+ neutralHover: "light" | "dark";
4359
+ neutralLight: "light" | "dark";
4360
+ neutralSoft: "light" | "dark";
4361
+ neutralSoftActive: "light" | "dark";
4362
+ neutralSoftHover: "light" | "dark";
4363
+ positive: "light" | "dark";
4364
+ positiveLight: "light" | "dark";
4365
+ promote: "light" | "dark";
4366
+ promoteLight: "light" | "dark";
4367
+ surface: "light" | "dark";
4368
+ surfaceDark: "light" | "dark";
4369
+ };
4370
+ };
4371
+
4225
4372
  declare const _default$5: {
4226
4373
  vanillaTheme: string;
4227
4374
  name: string;
4228
4375
  displayName: string;
4376
+ legacy: boolean;
4229
4377
  background: {
4230
4378
  lightMode: string;
4231
4379
  darkMode: string;
@@ -4363,6 +4511,7 @@ declare const _default$4: {
4363
4511
  vanillaTheme: string;
4364
4512
  name: string;
4365
4513
  displayName: string;
4514
+ legacy: boolean;
4366
4515
  background: {
4367
4516
  lightMode: string;
4368
4517
  darkMode: string;
@@ -4500,6 +4649,7 @@ declare const _default$3: {
4500
4649
  vanillaTheme: string;
4501
4650
  name: string;
4502
4651
  displayName: string;
4652
+ legacy: boolean;
4503
4653
  background: {
4504
4654
  lightMode: string;
4505
4655
  darkMode: string;
@@ -4637,6 +4787,7 @@ declare const _default$2: {
4637
4787
  vanillaTheme: string;
4638
4788
  name: string;
4639
4789
  displayName: string;
4790
+ legacy: boolean;
4640
4791
  background: {
4641
4792
  lightMode: string;
4642
4793
  darkMode: string;
@@ -4772,9 +4923,10 @@ declare const _default$2: {
4772
4923
 
4773
4924
  declare namespace themes {
4774
4925
  export {
4775
- _default$5 as apac,
4926
+ _default$6 as apac,
4776
4927
  _default$2 as docs,
4777
4928
  _default$4 as seekBusiness,
4929
+ _default$5 as seekJobs,
4778
4930
  _default$3 as wireframe,
4779
4931
  };
4780
4932
  }
@@ -5094,4 +5246,4 @@ declare const _default: {
5094
5246
  code: string;
5095
5247
  }[];
5096
5248
 
5097
- export { Accordion$1 as Accordion, Accordion as Accordion$1, AccordionItem$1 as AccordionItem, AccordionItem as AccordionItem$1, Actions, Alert$1 as Alert, Alert as Alert$1, Autosuggest$1 as Autosuggest, Autosuggest as Autosuggest$1, Badge$1 as Badge, Badge as Badge$1, Bleed$1 as Bleed, Bleed as Bleed$1, Box, BoxRenderer, BraidPortal, BraidProvider, BraidTestProvider, Breakpoint, Button$1 as Button, Button as Button$1, ButtonIcon$1 as ButtonIcon, ButtonIcon as ButtonIcon$1, ButtonLink$1 as ButtonLink, ButtonLink as ButtonLink$1, Card$1 as Card, Card as Card$1, Checkbox$1 as Checkbox, Checkbox as Checkbox$1, CheckboxStandalone$1 as CheckboxStandalone, CheckboxStandalone as CheckboxStandalone$1, Column, Columns$1 as Columns, Columns as Columns$1, ContentBlock, Dialog$1 as Dialog, Dialog as Dialog$1, Disclosure$1 as Disclosure, Disclosure as Disclosure$1, Divider, Drawer$1 as Drawer, Drawer as Drawer$1, Dropdown$1 as Dropdown, Dropdown as Dropdown$1, FieldLabel$1 as FieldLabel, FieldLabel as FieldLabel$1, FieldMessage$1 as FieldMessage, FieldMessage as FieldMessage$1, Heading$1 as Heading, Heading as Heading$1, Hidden, HiddenVisually, IconAdd, IconArrow, IconBookmark, IconCaution, IconChevron, IconClear, IconCompany, IconCompose, IconCopy, IconCreditCard, IconCritical, IconDate, IconDelete, IconDesktop, IconDocument, IconDocumentBroken, IconDownload, IconEdit, IconEducation, IconFilter, IconFlag, IconGrid, IconHeart, IconHelp, IconHistory, IconHome, IconImage, IconInfo, IconInvoice, IconLanguage, IconLink, IconLinkBroken, IconList, IconLocation, IconMail, IconMinus, IconMobile, IconMoney, IconNewWindow, IconNote, IconNotification, IconOverflow, IconPeople, IconPersonAdd, IconPersonVerified, IconPhone, IconPlatformAndroid, IconPlatformApple, IconPositive, IconPrint, IconProfile, IconPromote, IconRecommended, IconRefresh, IconRenderer, IconResume, IconSearch, IconSecurity, IconSend, IconSent, IconSettings, IconShare, IconSocialFacebook, IconSocialGitHub, IconSocialInstagram, IconSocialLinkedIn, IconSocialMedium, IconSocialTwitter, IconSocialYouTube, IconStar, IconStatistics, IconSubCategory, IconTag, IconThumb, IconTick, IconTime, IconTip, IconUpload, IconVideo, IconVisibility, IconWorkExperience, IconZoomIn, IconZoomOut, Inline$1 as Inline, Inline as Inline$1, Link$1 as Link, Link as Link$1, LinkComponent, List$1 as List, List as List$1, Loader, MenuItem$1 as MenuItem, MenuItem as MenuItem$1, MenuItemCheckbox$1 as MenuItemCheckbox, MenuItemCheckbox as MenuItemCheckbox$1, MenuItemDivider, MenuItemLink$1 as MenuItemLink, MenuItemLink as MenuItemLink$1, MenuRenderer, MonthPicker$1 as MonthPicker, MonthPicker as MonthPicker$1, Notice$1 as Notice, Notice as Notice$1, OverflowMenu$1 as OverflowMenu, OverflowMenu as OverflowMenu$1, Pagination$1 as Pagination, Pagination as Pagination$1, PasswordField$1 as PasswordField, PasswordField as PasswordField$1, Placeholder, PublicBox, Radio$1 as Radio, Radio as Radio$1, RadioGroup$1 as RadioGroup, RadioGroup as RadioGroup$1, RadioItem, Rating$1 as Rating, Rating as Rating$1, Secondary, Stack$1 as Stack, Stack as Stack$1, Step$1 as Step, Stepper, Strong, Tab$1 as Tab, Tab as Tab$1, TabPanel, TabPanels, Tabs$1 as Tabs, Tabs as Tabs$1, TabsProvider$1 as TabsProvider, TabsProvider as TabsProvider$1, Tag$1 as Tag, Tag as Tag$1, Text, TextDropdown$1 as TextDropdown, TextDropdown as TextDropdown$1, TextField$1 as TextField, TextField as TextField$1, TextLink, TextLinkButton, Textarea$1 as Textarea, Textarea as Textarea$1, ThemeNameConsumer, Tiles$1 as Tiles, Tiles as Tiles$1, ToastProvider, Toggle$1 as Toggle, Toggle as Toggle$1, TooltipRenderer$1 as TooltipRenderer, TooltipRenderer as TooltipRenderer$1, _default$1 as _default, _default as _default$1, _default$5 as _default$2, _default$2 as _default$3, _default$4, _default$3 as _default$5, atoms, breakpoints, colorModeStyle, filterSuggestions, globalHeadingStyle, globalTextStyle, makeLinkComponent, responsiveStyle, useBreakpoint, useColor, useResponsiveValue, useScope, useSpace, useThemeName, useToast, vars };
5249
+ export { Accordion$1 as Accordion, Accordion as Accordion$1, AccordionItem$1 as AccordionItem, AccordionItem as AccordionItem$1, Actions, Alert$1 as Alert, Alert as Alert$1, Autosuggest$1 as Autosuggest, Autosuggest as Autosuggest$1, Badge$1 as Badge, Badge as Badge$1, Bleed$1 as Bleed, Bleed as Bleed$1, Box, BoxRenderer, BraidPortal, BraidProvider, BraidTestProvider, Breakpoint, Button$1 as Button, Button as Button$1, ButtonIcon$1 as ButtonIcon, ButtonIcon as ButtonIcon$1, ButtonLink$1 as ButtonLink, ButtonLink as ButtonLink$1, Card$1 as Card, Card as Card$1, Checkbox$1 as Checkbox, Checkbox as Checkbox$1, CheckboxStandalone$1 as CheckboxStandalone, CheckboxStandalone as CheckboxStandalone$1, Column, Columns$1 as Columns, Columns as Columns$1, ContentBlock, Dialog$1 as Dialog, Dialog as Dialog$1, Disclosure$1 as Disclosure, Disclosure as Disclosure$1, Divider, Drawer$1 as Drawer, Drawer as Drawer$1, Dropdown$1 as Dropdown, Dropdown as Dropdown$1, FieldLabel$1 as FieldLabel, FieldLabel as FieldLabel$1, FieldMessage$1 as FieldMessage, FieldMessage as FieldMessage$1, Heading$1 as Heading, Heading as Heading$1, Hidden, HiddenVisually, IconAdd, IconArrow, IconBookmark, IconCaution, IconChevron, IconClear, IconCompany, IconCompose, IconCopy, IconCreditCard, IconCritical, IconDate, IconDelete, IconDesktop, IconDocument, IconDocumentBroken, IconDownload, IconEdit, IconEducation, IconFilter, IconFlag, IconGrid, IconHeart, IconHelp, IconHistory, IconHome, IconImage, IconInfo, IconInvoice, IconLanguage, IconLink, IconLinkBroken, IconList, IconLocation, IconMail, IconMinus, IconMobile, IconMoney, IconNewWindow, IconNote, IconNotification, IconOverflow, IconPeople, IconPersonAdd, IconPersonVerified, IconPhone, IconPlatformAndroid, IconPlatformApple, IconPositive, IconPrint, IconProfile, IconPromote, IconRecommended, IconRefresh, IconRenderer, IconResume, IconSearch, IconSecurity, IconSend, IconSent, IconSettings, IconShare, IconSocialFacebook, IconSocialGitHub, IconSocialInstagram, IconSocialLinkedIn, IconSocialMedium, IconSocialTwitter, IconSocialYouTube, IconStar, IconStatistics, IconSubCategory, IconTag, IconThumb, IconTick, IconTime, IconTip, IconUpload, IconVideo, IconVisibility, IconWorkExperience, IconZoomIn, IconZoomOut, Inline$1 as Inline, Inline as Inline$1, Link$1 as Link, Link as Link$1, LinkComponent, List$1 as List, List as List$1, Loader, MenuItem$1 as MenuItem, MenuItem as MenuItem$1, MenuItemCheckbox$1 as MenuItemCheckbox, MenuItemCheckbox as MenuItemCheckbox$1, MenuItemDivider, MenuItemLink$1 as MenuItemLink, MenuItemLink as MenuItemLink$1, MenuRenderer, MonthPicker$1 as MonthPicker, MonthPicker as MonthPicker$1, Notice$1 as Notice, Notice as Notice$1, OverflowMenu$1 as OverflowMenu, OverflowMenu as OverflowMenu$1, Pagination$1 as Pagination, Pagination as Pagination$1, PasswordField$1 as PasswordField, PasswordField as PasswordField$1, Placeholder, PublicBox, Radio$1 as Radio, Radio as Radio$1, RadioGroup$1 as RadioGroup, RadioGroup as RadioGroup$1, RadioItem, Rating$1 as Rating, Rating as Rating$1, Secondary, Stack$1 as Stack, Stack as Stack$1, Step$1 as Step, Stepper, Strong, Tab$1 as Tab, Tab as Tab$1, TabPanel, TabPanels, Tabs$1 as Tabs, Tabs as Tabs$1, TabsProvider$1 as TabsProvider, TabsProvider as TabsProvider$1, Tag$1 as Tag, Tag as Tag$1, Text, TextDropdown$1 as TextDropdown, TextDropdown as TextDropdown$1, TextField$1 as TextField, TextField as TextField$1, TextLink, TextLinkButton, Textarea$1 as Textarea, Textarea as Textarea$1, ThemeNameConsumer, Tiles$1 as Tiles, Tiles as Tiles$1, ToastProvider, Toggle$1 as Toggle, Toggle as Toggle$1, TooltipRenderer$1 as TooltipRenderer, TooltipRenderer as TooltipRenderer$1, _default$1 as _default, _default as _default$1, _default$6 as _default$2, _default$2 as _default$3, _default$4, _default$5, _default$3 as _default$6, atoms, breakpoints, colorModeStyle, filterSuggestions, globalHeadingStyle, globalTextStyle, makeLinkComponent, responsiveStyle, useBreakpoint, useColor, useResponsiveValue, useScope, useSpace, useThemeName, useToast, vars };