braid-design-system 32.1.0 → 32.2.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 (148) hide show
  1. package/CHANGELOG.md +133 -0
  2. package/codemod/dist/wrapper.js +181 -183
  3. package/color-mode/query-param/index.d.ts +1 -0
  4. package/color-mode/query-param/package.json +1 -1
  5. package/css/index.d.ts +1 -0
  6. package/css/package.json +1 -1
  7. package/dist/ToastContext.chunk.cjs +21 -21
  8. package/dist/ToastContext.chunk.mjs +120 -120
  9. package/dist/Toggle.chunk.cjs +22 -32
  10. package/dist/Toggle.chunk.mjs +199 -209
  11. package/dist/color-mode/query-param.mjs +1 -1
  12. package/dist/css.d.ts +1 -667
  13. package/dist/css.mjs +7 -7
  14. package/dist/index.d.ts +1 -3952
  15. package/dist/index.mjs +164 -164
  16. package/dist/playroom/FrameComponent.d.ts +1 -323
  17. package/dist/playroom/FrameComponent.mjs +4 -4
  18. package/dist/playroom/components.d.ts +1 -4027
  19. package/dist/playroom/components.mjs +124 -124
  20. package/dist/playroom/scope.d.ts +1 -385
  21. package/dist/playroom/scope.mjs +4 -4
  22. package/dist/playroom/snippets.d.ts +1 -7
  23. package/dist/playroomState.chunk.cjs +1 -1
  24. package/dist/playroomState.chunk.mjs +3 -3
  25. package/dist/reset.d.ts +5075 -1
  26. package/dist/side-effects/lib/components/BraidProvider/BraidProvider.mjs +12 -12
  27. package/dist/side-effects/lib/css/reset/index.mjs +1 -1
  28. package/dist/side-effects/lib/css/reset/resetTracker.mjs +2 -2
  29. package/dist/side-effects/lib/themes/baseTokens/apac.cjs +8 -9
  30. package/dist/side-effects/lib/themes/baseTokens/apac.mjs +8 -10
  31. package/dist/side-effects/lib/themes/index.mjs +5 -5
  32. package/dist/side-effects/lib/themes/makeRuntimeTokens.cjs +4 -10
  33. package/dist/side-effects/lib/themes/makeRuntimeTokens.mjs +5 -10
  34. package/dist/side-effects/lib/themes/tokenType.cjs +15 -0
  35. package/dist/side-effects/lib/themes/tokenType.mjs +16 -0
  36. package/dist/styles/lib/components/Accordion/AccordionItem.css.mjs +3 -3
  37. package/dist/styles/lib/components/Alert/Alert.css.mjs +3 -3
  38. package/dist/styles/lib/components/Autosuggest/Autosuggest.css.mjs +6 -6
  39. package/dist/styles/lib/components/Button/Button.css.cjs +24 -23
  40. package/dist/styles/lib/components/Button/Button.css.mjs +39 -38
  41. package/dist/styles/lib/components/ButtonIcon/ButtonIcon.css.mjs +1 -1
  42. package/dist/styles/lib/components/Column/Column.css.mjs +3 -3
  43. package/dist/styles/lib/components/ContentBlock/ContentBlock.css.mjs +1 -1
  44. package/dist/styles/lib/components/Divider/Divider.css.mjs +7 -7
  45. package/dist/styles/lib/components/Dropdown/Dropdown.css.mjs +2 -2
  46. package/dist/styles/lib/components/Hidden/Hidden.css.mjs +1 -1
  47. package/dist/styles/lib/components/HiddenVisually/HiddenVisually.css.mjs +1 -1
  48. package/dist/styles/lib/components/List/List.css.mjs +4 -4
  49. package/dist/styles/lib/components/Loader/Loader.css.mjs +7 -7
  50. package/dist/styles/lib/components/MenuItem/useMenuItem.css.mjs +1 -1
  51. package/dist/styles/lib/components/MenuRenderer/MenuRenderer.css.mjs +5 -5
  52. package/dist/styles/lib/components/MonthPicker/MonthPicker.css.mjs +1 -1
  53. package/dist/styles/lib/components/OverflowMenu/OverflowMenu.css.mjs +1 -1
  54. package/dist/styles/lib/components/Pagination/Pagination.css.mjs +6 -6
  55. package/dist/styles/lib/components/Rating/Rating.css.mjs +6 -6
  56. package/dist/styles/lib/components/Stepper/Stepper.css.mjs +21 -21
  57. package/dist/styles/lib/components/Tabs/Tabs.css.mjs +17 -17
  58. package/dist/styles/lib/components/Tag/Tag.css.mjs +1 -1
  59. package/dist/styles/lib/components/TextDropdown/TextDropdown.css.mjs +4 -4
  60. package/dist/styles/lib/components/TextLink/TextLink.css.mjs +8 -8
  61. package/dist/styles/lib/components/Textarea/Highlight/Highlight.css.mjs +1 -1
  62. package/dist/styles/lib/components/Textarea/Textarea.css.mjs +3 -3
  63. package/dist/styles/lib/components/Tiles/Tiles.css.mjs +5 -5
  64. package/dist/styles/lib/components/Toggle/Toggle.css.mjs +20 -20
  65. package/dist/styles/lib/components/TooltipRenderer/TooltipRenderer.css.cjs +1 -5
  66. package/dist/styles/lib/components/TooltipRenderer/TooltipRenderer.css.mjs +7 -11
  67. package/dist/styles/lib/components/icons/IconArrow/IconArrow.css.mjs +4 -4
  68. package/dist/styles/lib/components/icons/IconChevron/IconChevron.css.mjs +4 -4
  69. package/dist/styles/lib/components/icons/IconThumb/IconThumb.css.mjs +2 -2
  70. package/dist/styles/lib/components/private/AvoidWidowIcon/AvoidWidowIcon.css.mjs +1 -1
  71. package/dist/styles/lib/components/private/Field/Field.css.mjs +8 -8
  72. package/dist/styles/lib/components/private/InlineField/InlineField.css.mjs +17 -17
  73. package/dist/styles/lib/components/private/Keyline/Keyline.css.cjs +4 -0
  74. package/dist/styles/lib/components/private/Keyline/Keyline.css.mjs +11 -7
  75. package/dist/styles/lib/components/private/Modal/Modal.css.mjs +16 -16
  76. package/dist/styles/lib/components/private/Modal/ModalExternalGutter.mjs +1 -1
  77. package/dist/styles/lib/components/private/Placeholder/Placeholder.css.mjs +6 -6
  78. package/dist/styles/lib/components/private/Truncate/Truncate.css.mjs +1 -1
  79. package/dist/styles/lib/components/private/hideFocusRings/hideFocusRings.css.mjs +2 -2
  80. package/dist/styles/lib/components/private/hideFocusRings/hideFocusRingsDataAttribute.mjs +1 -1
  81. package/dist/styles/lib/components/private/touchable/debugTouchable.mjs +1 -1
  82. package/dist/styles/lib/components/private/touchable/hitArea.mjs +1 -1
  83. package/dist/styles/lib/components/private/touchable/virtualTouchable.css.mjs +4 -4
  84. package/dist/styles/lib/components/private/touchable/virtualTouchableRules.mjs +2 -2
  85. package/dist/styles/lib/components/useToast/Toast.css.mjs +1 -1
  86. package/dist/styles/lib/css/atoms/atomicProperties.mjs +6 -6
  87. package/dist/styles/lib/css/atoms/atoms.mjs +3 -3
  88. package/dist/styles/lib/css/atoms/sprinkles.css.mjs +8 -8
  89. package/dist/styles/lib/css/breakpoints.mjs +2 -2
  90. package/dist/styles/lib/css/colorModeStyle.mjs +2 -2
  91. package/dist/styles/lib/css/lineHeightContainer.css.mjs +3 -3
  92. package/dist/styles/lib/css/negativeMargin/negativeMargin.css.cjs +4 -9
  93. package/dist/styles/lib/css/negativeMargin/negativeMargin.css.mjs +3 -8
  94. package/dist/styles/lib/css/reset/reset.css.mjs +3 -3
  95. package/dist/styles/lib/css/responsiveStyle.cjs +2 -2
  96. package/dist/styles/lib/css/responsiveStyle.mjs +3 -3
  97. package/dist/styles/lib/css/textAlignedToIcon.css.mjs +3 -3
  98. package/dist/styles/lib/css/typography.css.cjs +1 -16
  99. package/dist/styles/lib/css/typography.css.mjs +5 -20
  100. package/dist/styles/lib/hooks/useIcon/icon.css.mjs +8 -8
  101. package/dist/styles/lib/themes/apac/apacTheme.css.mjs +3 -3
  102. package/dist/styles/lib/themes/apac/tokens.mjs +2 -2
  103. package/dist/styles/lib/themes/docs/docsTheme.css.mjs +3 -3
  104. package/dist/styles/lib/themes/docs/tokens.cjs +8 -8
  105. package/dist/styles/lib/themes/docs/tokens.mjs +8 -10
  106. package/dist/styles/lib/themes/makeBraidTheme.mjs +4 -4
  107. package/dist/styles/lib/themes/makeVanillaTheme.cjs +23 -10
  108. package/dist/styles/lib/themes/makeVanillaTheme.mjs +23 -10
  109. package/dist/styles/lib/themes/seekBusiness/seekBusinessTheme.css.mjs +3 -3
  110. package/dist/styles/lib/themes/seekBusiness/tokens.mjs +2 -2
  111. package/dist/styles/lib/themes/vars.css.mjs +3 -3
  112. package/dist/styles/lib/themes/wireframe/tokens.cjs +25 -29
  113. package/dist/styles/lib/themes/wireframe/tokens.mjs +25 -31
  114. package/dist/styles/lib/themes/wireframe/wireframeTheme.css.mjs +3 -3
  115. package/dist/styles/lib/utils/index.mjs +6 -6
  116. package/dist/test.d.ts +1 -890
  117. package/dist/test.mjs +2 -2
  118. package/dist/themes/apac.d.ts +1 -137
  119. package/dist/themes/apac.mjs +2 -2
  120. package/dist/themes/docs.d.ts +1 -137
  121. package/dist/themes/docs.mjs +2 -2
  122. package/dist/themes/seekBusiness.d.ts +1 -137
  123. package/dist/themes/seekBusiness.mjs +2 -2
  124. package/dist/themes/wireframe.d.ts +1 -137
  125. package/dist/themes/wireframe.mjs +2 -2
  126. package/package.json +4 -3
  127. package/playroom/FrameComponent/index.d.ts +2 -0
  128. package/playroom/FrameComponent/package.json +1 -1
  129. package/playroom/components/index.d.ts +1 -0
  130. package/playroom/components/package.json +1 -1
  131. package/playroom/scope/index.d.ts +2 -0
  132. package/playroom/scope/package.json +1 -1
  133. package/playroom/snippets/index.d.ts +2 -0
  134. package/playroom/snippets/package.json +1 -1
  135. package/reset/index.d.ts +1 -0
  136. package/reset/package.json +1 -1
  137. package/test/index.d.ts +1 -0
  138. package/test/package.json +1 -1
  139. package/themes/apac/index.d.ts +2 -0
  140. package/themes/apac/package.json +1 -1
  141. package/themes/docs/index.d.ts +2 -0
  142. package/themes/docs/package.json +1 -1
  143. package/themes/seekBusiness/index.d.ts +2 -0
  144. package/themes/seekBusiness/package.json +1 -1
  145. package/themes/wireframe/index.d.ts +2 -0
  146. package/themes/wireframe/package.json +1 -1
  147. package/dist/styles/lib/components/Badge/Badge.css.cjs +0 -27
  148. package/dist/styles/lib/components/Badge/Badge.css.mjs +0 -28
@@ -1,52 +1,51 @@
1
- import { u as useThemeName, b as useResponsiveValue, S as Stack, q as Box, r as buildDataAttributes, D as Divider, s as useIcon, v as virtualTouchable, f as Columns, C as Column, h as Inline, T as Text, O as Overlay, A as ActionsContext, t as useBackground, w as iconContainerSize, n as IconClear, K as Keyline, p as IconPositive, o as IconCritical, x as TextContext, y as HeadingContext, z as textStyles, F as FieldOverlay, e as ButtonIcon, E as useColoredBoxClasses, G as BackgroundProvider, J as ButtonContainer, L as useButtonStyles, M as ButtonOverlays, N as ButtonText, Q as resolveResponsiveRangeProps, R as optimizeResponsiveArray, U as Typography, c as Bleed, B as BraidPortal, j as TextLinkButton, V as AvoidWidowIcon, W as useDefaultTextProps, X as flattenChildren, Y as DefaultTextPropsProvider, Z as iconSize, H as Hidden, a as useSpace, _ as negativeMargin, $ as resolveResponsiveProp, a0 as useBackgroundLightness } from "./ToastContext.chunk.mjs";
2
- import { u as useBraidTheme, a as useLinkComponent } from "./side-effects/lib/components/BraidProvider/BraidProvider.mjs";
1
+ import { useThemeName, useResponsiveValue, Stack, Box, buildDataAttributes, Divider, useIcon, virtualTouchable, Columns, Column, Inline, Text, Overlay, ActionsContext, useBackground, iconContainerSize, IconClear, Keyline, IconPositive, IconCritical, TextContext, HeadingContext, textStyles, FieldOverlay, ButtonIcon, Bleed, useColoredBoxClasses, BackgroundProvider, ButtonContainer, useButtonStyles, ButtonOverlays, ButtonText, resolveResponsiveRangeProps, optimizeResponsiveArray, Typography, BraidPortal, TextLinkButton, AvoidWidowIcon, useDefaultTextProps, flattenChildren, DefaultTextPropsProvider, iconSize, Hidden, useSpace, negativeMargin, resolveResponsiveProp, useBackgroundLightness } from "./ToastContext.chunk.mjs";
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";
5
5
  import { createContext, useMemo, useState, useContext, cloneElement, useEffect, Fragment, forwardRef, useCallback, useRef, useReducer, Children, createRef } from "react";
6
- import { n as normalizeResponsiveValue, a as mapResponsiveValue } from "./styles/lib/css/atoms/sprinkles.css.mjs";
7
- import { r as root, a as rotate, f as flip, m as mirror } from "./styles/lib/components/icons/IconArrow/IconArrow.css.mjs";
8
- import { r as root$2, d as down } from "./styles/lib/components/icons/IconThumb/IconThumb.css.mjs";
9
- import { b as button, f as focusRing } from "./styles/lib/components/Accordion/AccordionItem.css.mjs";
10
- import { h as hideFocusRingsClassName } from "./styles/lib/components/private/hideFocusRings/hideFocusRings.css.mjs";
11
- import { t as textAlignedToIcon } from "./styles/lib/css/textAlignedToIcon.css.mjs";
12
- import { c as closeButton, a as closeButtonFocus, b as closeButtonHover } from "./styles/lib/components/Alert/Alert.css.mjs";
6
+ import { normalizeResponsiveValue, mapResponsiveValue } from "./styles/lib/css/atoms/sprinkles.css.mjs";
7
+ import { root, rotate, flip, mirror } from "./styles/lib/components/icons/IconArrow/IconArrow.css.mjs";
8
+ import { root as root$2, down } from "./styles/lib/components/icons/IconThumb/IconThumb.css.mjs";
9
+ import { button, focusRing } from "./styles/lib/components/Accordion/AccordionItem.css.mjs";
10
+ import { hideFocusRingsClassName } from "./styles/lib/components/private/hideFocusRings/hideFocusRings.css.mjs";
11
+ import { textAlignedToIcon } from "./styles/lib/css/textAlignedToIcon.css.mjs";
12
+ import { closeButton, closeButtonFocus, closeButtonHover } from "./styles/lib/components/Alert/Alert.css.mjs";
13
13
  import dedent from "dedent";
14
14
  import parseHighlights from "autosuggest-highlight/parse/index.js";
15
- import { r as root$3 } from "./styles/lib/components/HiddenVisually/HiddenVisually.css.mjs";
15
+ import { root as root$3 } from "./styles/lib/components/HiddenVisually/HiddenVisually.css.mjs";
16
16
  import { createPortal } from "react-dom";
17
- import { a as atoms } from "./styles/lib/css/atoms/atoms.mjs";
18
- import { c as fontWeight, t as tone, g as touchableText, f as fontFamily, h as headingWeight, i as heading } from "./styles/lib/css/typography.css.mjs";
17
+ import { atoms } from "./styles/lib/css/atoms/atoms.mjs";
18
+ import { fontWeight, tone, touchableText, fontFamily, headingWeight, heading } from "./styles/lib/css/typography.css.mjs";
19
19
  import { RemoveScroll } from "react-remove-scroll";
20
- import { b as backdrop, a as backdropVisible, m as menu, g as groupHeading } from "./styles/lib/components/Autosuggest/Autosuggest.css.mjs";
20
+ import { backdrop, backdropVisible, menu, groupHeading } from "./styles/lib/components/Autosuggest/Autosuggest.css.mjs";
21
21
  import matchHighlights from "autosuggest-highlight/match/index.js";
22
- import { l as lineHeightContainer } from "./styles/lib/css/lineHeightContainer.css.mjs";
23
- import { c as constants, b as bleedY } from "./styles/lib/components/Badge/Badge.css.mjs";
24
22
  import clsx from "clsx";
25
23
  import FocusLock from "react-focus-lock";
26
- import { e as externalGutter } from "./styles/lib/components/private/Modal/ModalExternalGutter.mjs";
27
- import { h as headingRoot, a as headingFocus, p as pointerEventsAll, m as maxSize, c as closeIconOffset, r as resetStackingContext, b as backdrop$1, d as horiztontalTransition, e as modalContainer, f as entrance, g as exit, i as fixedStackingContext } from "./styles/lib/components/private/Modal/Modal.css.mjs";
28
- import { c as currentColor, s as size, m as minCharacterWidth, t as trimGutter } from "./styles/lib/components/List/List.css.mjs";
29
- import { r as rootSize, d as delay, s as size$1, c as currentColor$1, a as circle } from "./styles/lib/components/Loader/Loader.css.mjs";
30
- import { m as menuItem } from "./styles/lib/components/MenuItem/useMenuItem.css.mjs";
31
- import { b as backdrop$2, m as menuIsClosed, w as width, p as placementBottom } from "./styles/lib/components/MenuRenderer/MenuRenderer.css.mjs";
32
- import { t as triggerOffset } from "./styles/lib/components/OverflowMenu/OverflowMenu.css.mjs";
24
+ import { externalGutter } from "./styles/lib/components/private/Modal/ModalExternalGutter.mjs";
25
+ import { headingRoot, headingFocus, pointerEventsAll, maxSize, closeIconOffset, resetStackingContext, backdrop as backdrop$1, horiztontalTransition, modalContainer, entrance, exit, fixedStackingContext } from "./styles/lib/components/private/Modal/Modal.css.mjs";
26
+ import { lineHeightContainer } from "./styles/lib/css/lineHeightContainer.css.mjs";
27
+ import { currentColor, size, minCharacterWidth, trimGutter } from "./styles/lib/components/List/List.css.mjs";
28
+ import { rootSize, delay, size as size$1, currentColor as currentColor$1, circle } from "./styles/lib/components/Loader/Loader.css.mjs";
29
+ import { menuItem } from "./styles/lib/components/MenuItem/useMenuItem.css.mjs";
30
+ import { backdrop as backdrop$2, menuIsClosed, width, placementBottom } from "./styles/lib/components/MenuRenderer/MenuRenderer.css.mjs";
31
+ import { triggerOffset } from "./styles/lib/components/OverflowMenu/OverflowMenu.css.mjs";
33
32
  import { isMobile } from "is-mobile";
34
- import { f as field$1 } from "./styles/lib/components/Dropdown/Dropdown.css.mjs";
35
- import { n as nativeInput } from "./styles/lib/components/MonthPicker/MonthPicker.css.mjs";
36
- import { h as hover, b as background, c as current, l as lightModeCurrentKeyline, d as darkModeCurrentKeyline } from "./styles/lib/components/Pagination/Pagination.css.mjs";
37
- import { r as realField, a as realFieldPosition, i as isMixed, f as fakeField, b as fakeFieldSize, s as selected, c as focusOverlay$1, h as hoverOverlay$1, d as checkboxIndicator, e as radioIndicator, g as root$4, l as labelOffset, j as badgeOffset, k as children } from "./styles/lib/components/private/InlineField/InlineField.css.mjs";
38
- import { s as starSpacing, t as textSpacing, l as lightModeStarColor, d as darkModeStarColor } from "./styles/lib/components/Rating/Rating.css.mjs";
39
- import { s as step, t as tone$1, p as progressTrack, a as progressTrackCentered, b as progressLine, c as progressUnfilled, i as indicatorContainer, f as focusOverlay$2, d as indicator, h as highlight, e as complete, g as active, j as inner, k as tick, l as stretch, m as stretchLastAboveTablet } from "./styles/lib/components/Stepper/Stepper.css.mjs";
40
- import { t as tab, c as cropToIconX, h as hoveredTab, a as tabFocusRing, s as scroll$1, n as nowrap, m as mask, b as marginAuto, d as divider, e as tabUnderline, f as tabUnderlineActiveDarkMode, u as underlineLeft, g as underlineWidth, i as tabPanel, j as tabPanelFocusRing } from "./styles/lib/components/Tabs/Tabs.css.mjs";
33
+ import { field as field$1 } from "./styles/lib/components/Dropdown/Dropdown.css.mjs";
34
+ import { nativeInput } from "./styles/lib/components/MonthPicker/MonthPicker.css.mjs";
35
+ import { hover, background, current, lightModeCurrentKeyline, darkModeCurrentKeyline } from "./styles/lib/components/Pagination/Pagination.css.mjs";
36
+ import { realField, realFieldPosition, isMixed, fakeField, fakeFieldSize, selected, focusOverlay as focusOverlay$1, hoverOverlay as hoverOverlay$1, checkboxIndicator, radioIndicator, root as root$4, labelOffset, badgeOffset, children } from "./styles/lib/components/private/InlineField/InlineField.css.mjs";
37
+ import { starSpacing, textSpacing, lightModeStarColor, darkModeStarColor } from "./styles/lib/components/Rating/Rating.css.mjs";
38
+ import { step, tone as tone$1, 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";
39
+ 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";
41
40
  import { assignInlineVars } from "@vanilla-extract/dynamic";
42
- import { c as clearGutter } from "./styles/lib/components/Tag/Tag.css.mjs";
43
- import { r as root$5 } from "./styles/lib/components/Textarea/Highlight/Highlight.css.mjs";
44
- import { h as highlights, f as field$2 } from "./styles/lib/components/Textarea/Textarea.css.mjs";
45
- import { s as select, f as focusOverlay$3 } from "./styles/lib/components/TextDropdown/TextDropdown.css.mjs";
46
- import { r as root$1, u as up, l as left, a as right } from "./styles/lib/components/icons/IconChevron/IconChevron.css.mjs";
47
- import { s as secondaryIconSpace, f as field, p as placeholderColor, i as iconSpace, v as verticalDivider, a as focusOverlay, h as hoverOverlay } from "./styles/lib/components/private/Field/Field.css.mjs";
48
- import { c as columnsWide, a as columnsDesktop, b as columnsTablet, d as columnsMobile } from "./styles/lib/components/Tiles/Tiles.css.mjs";
49
- import { r as root$6, a as realField$1, b as realFieldPosition$1, f as fieldSize, s as slideContainer, c as slideContainerSize, d as slideTrack, e as slideTrackMask, g as slideTrackBgLightMode, h as slideTrackBgDarkMode, i as slideTrackSelected, j as slider, k as icon$1, l as focusOverlay$4, m as hoverOverlay$2, n as label } from "./styles/lib/components/Toggle/Toggle.css.mjs";
41
+ import { clearGutter } from "./styles/lib/components/Tag/Tag.css.mjs";
42
+ import { root as root$5 } from "./styles/lib/components/Textarea/Highlight/Highlight.css.mjs";
43
+ import { highlights, field as field$2 } from "./styles/lib/components/Textarea/Textarea.css.mjs";
44
+ import { select, focusOverlay as focusOverlay$3 } from "./styles/lib/components/TextDropdown/TextDropdown.css.mjs";
45
+ import { root as root$1, up, left, right } from "./styles/lib/components/icons/IconChevron/IconChevron.css.mjs";
46
+ import { secondaryIconSpace, field, placeholderColor, iconSpace, verticalDivider, focusOverlay, hoverOverlay } from "./styles/lib/components/private/Field/Field.css.mjs";
47
+ import { columnsWide, columnsDesktop, columnsTablet, columnsMobile } from "./styles/lib/components/Tiles/Tiles.css.mjs";
48
+ import { root as root$6, realField as realField$1, realFieldPosition as realFieldPosition$1, 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
49
  const ThemeNameConsumer = ({ children: children2 }) => children2(useThemeName());
51
50
  const useColor = () => useBraidTheme().color;
52
51
  const useBreakpoint = () => {
@@ -2549,7 +2548,7 @@ const Field = ({
2549
2548
  }
2550
2549
  ),
2551
2550
  /* @__PURE__ */ jsx(FieldOverlay, { variant: "focus", className: focusOverlay }),
2552
- /* @__PURE__ */ jsx(FieldOverlay, { variant: "hover", className: hoverOverlay })
2551
+ /* @__PURE__ */ jsx(FieldOverlay, { variant: "formAccent", className: hoverOverlay })
2553
2552
  ] });
2554
2553
  const fieldPadding = "small";
2555
2554
  return /* @__PURE__ */ jsxs(Stack, { space: "xsmall", children: [
@@ -3026,7 +3025,6 @@ function GroupHeading({ children: children2 }) {
3026
3025
  Box,
3027
3026
  {
3028
3027
  paddingX: "small",
3029
- borderRadius: "standard",
3030
3028
  className: [
3031
3029
  groupHeading,
3032
3030
  touchableText.xsmall,
@@ -3590,11 +3588,12 @@ const lightModeBackgroundForTone = {
3590
3588
  neutral: "neutralLight",
3591
3589
  caution: "cautionLight"
3592
3590
  };
3591
+ const verticalPadding = "xxsmall";
3593
3592
  const Badge = forwardRef(
3594
3593
  ({
3595
3594
  tone: tone2 = "info",
3596
3595
  weight = "regular",
3597
- bleedY: bleedY$1 = false,
3596
+ bleedY = false,
3598
3597
  title,
3599
3598
  children: children2,
3600
3599
  id,
@@ -3613,16 +3612,12 @@ const Badge = forwardRef(
3613
3612
  ),
3614
3613
  "Badge may only contain strings or numbers"
3615
3614
  );
3616
- return /* @__PURE__ */ jsx(
3615
+ const content = /* @__PURE__ */ jsx(
3617
3616
  Box,
3618
3617
  {
3619
3618
  component: "span",
3620
3619
  display: "flex",
3621
3620
  cursor: "default",
3622
- className: [
3623
- lineHeightContainer[constants.textSize],
3624
- bleedY$1 ? bleedY : null
3625
- ],
3626
3621
  ...buildDataAttributes({ data, validateRestProps: restProps }),
3627
3622
  children: /* @__PURE__ */ jsx(
3628
3623
  Box,
@@ -3634,23 +3629,16 @@ const Badge = forwardRef(
3634
3629
  "aria-describedby": ariaDescribedBy,
3635
3630
  title: title ?? (!ariaDescribedBy ? children2 : void 0),
3636
3631
  background: weight === "strong" ? tone2 : lightModeBackgroundForTone[tone2],
3632
+ paddingY: verticalPadding,
3637
3633
  paddingX: "xsmall",
3638
- borderRadius: "large",
3634
+ borderRadius: "standard",
3639
3635
  overflow: "hidden",
3640
- children: /* @__PURE__ */ jsx(
3641
- Text,
3642
- {
3643
- size: constants.textSize,
3644
- weight: "medium",
3645
- truncate: true,
3646
- baseline: false,
3647
- children: children2
3648
- }
3649
- )
3636
+ children: /* @__PURE__ */ jsx(Text, { size: "xsmall", weight: "medium", truncate: true, children: children2 })
3650
3637
  }
3651
3638
  )
3652
3639
  }
3653
3640
  );
3641
+ return bleedY ? /* @__PURE__ */ jsx(Bleed, { component: "span", vertical: verticalPadding, children: content }) : content;
3654
3642
  }
3655
3643
  );
3656
3644
  Badge.displayName = "Badge";
@@ -3693,7 +3681,7 @@ const ButtonLink = forwardRef(
3693
3681
  size: size2,
3694
3682
  tone: tone2,
3695
3683
  variant,
3696
- bleedY: bleedY2,
3684
+ bleedY,
3697
3685
  bleed,
3698
3686
  icon: icon2,
3699
3687
  iconPosition,
@@ -3703,7 +3691,7 @@ const ButtonLink = forwardRef(
3703
3691
  }, ref) => {
3704
3692
  const LinkComponent = useLinkComponent(ref);
3705
3693
  if (process.env.NODE_ENV !== "production") {
3706
- if (typeof bleedY2 !== "undefined") {
3694
+ if (typeof bleedY !== "undefined") {
3707
3695
  console.warn(
3708
3696
  dedent`
3709
3697
  The "bleedY" prop has been deprecated and will be removed in a future version. Use "bleed" instead.
@@ -3729,7 +3717,7 @@ const ButtonLink = forwardRef(
3729
3717
  variant,
3730
3718
  tone: tone2,
3731
3719
  size: size2,
3732
- bleed: bleed || bleedY2,
3720
+ bleed: bleed || bleedY,
3733
3721
  loading
3734
3722
  }),
3735
3723
  children: [
@@ -3761,7 +3749,7 @@ const validCardComponents = [
3761
3749
  "main",
3762
3750
  "section"
3763
3751
  ];
3764
- const borderRadius$2 = "xlarge";
3752
+ const borderRadius$2 = "large";
3765
3753
  const Card = ({
3766
3754
  children: children2,
3767
3755
  component = "div",
@@ -3889,6 +3877,7 @@ const StyledInput = forwardRef(
3889
3877
  const accentBackground = disabled ? "neutralLight" : "formAccent";
3890
3878
  const isMixed$1 = isCheckbox && checked === "mixed";
3891
3879
  const fieldBackground = disabled ? { lightMode: "neutralSoft", darkMode: "neutral" } : { lightMode: "surface" };
3880
+ const defaultBorder = checked ? "formAccent" : "default";
3892
3881
  useEffect(() => {
3893
3882
  if (ref && typeof ref === "object" && ref.current && isCheckbox) {
3894
3883
  ref.current.indeterminate = isMixed$1;
@@ -3945,7 +3934,7 @@ const StyledInput = forwardRef(
3945
3934
  /* @__PURE__ */ jsx(
3946
3935
  FieldOverlay,
3947
3936
  {
3948
- variant: disabled ? "disabled" : "default",
3937
+ variant: disabled ? "disabled" : defaultBorder,
3949
3938
  borderRadius: fieldBorderRadius,
3950
3939
  visible: tone2 !== "critical" || disabled
3951
3940
  }
@@ -3979,7 +3968,7 @@ const StyledInput = forwardRef(
3979
3968
  /* @__PURE__ */ jsx(
3980
3969
  FieldOverlay,
3981
3970
  {
3982
- variant: "hover",
3971
+ variant: "formAccent",
3983
3972
  borderRadius: fieldBorderRadius,
3984
3973
  className: hoverOverlay$1,
3985
3974
  children: /* @__PURE__ */ jsx(Indicator, { type, hover: true, checked: true })
@@ -4220,7 +4209,7 @@ const Heading = ({
4220
4209
  ) });
4221
4210
  const modalPadding = ["gutter", "large"];
4222
4211
  const ModalContentHeader = forwardRef(
4223
- ({ title, headingLevel, description, descriptionId, center }, ref) => /* @__PURE__ */ jsxs(Stack, { space: "medium", children: [
4212
+ ({ title, headingLevel, description, descriptionId, center }, ref) => /* @__PURE__ */ jsxs(Stack, { space: "small", children: [
4224
4213
  /* @__PURE__ */ jsx(Heading, { level: headingLevel, align: center ? "center" : void 0, children: /* @__PURE__ */ jsxs(
4225
4214
  Box,
4226
4215
  {
@@ -5208,6 +5197,7 @@ function Menu({
5208
5197
  transition: "fast",
5209
5198
  right: align === "right" ? 0 : void 0,
5210
5199
  opacity: !open ? 0 : void 0,
5200
+ overflow: "hidden",
5211
5201
  className: [
5212
5202
  !open && menuIsClosed,
5213
5203
  width$1 !== "content" && width[width$1],
@@ -5656,7 +5646,7 @@ const getYears = (min, max, ascending) => [...new Array(max - min + 1)].map((_v,
5656
5646
  const yearStr = String(ascending ? i + min : max - i);
5657
5647
  return /* @__PURE__ */ jsx("option", { value: yearStr, children: yearStr }, yearStr);
5658
5648
  });
5659
- const currYear = new Date().getFullYear();
5649
+ const currYear = (/* @__PURE__ */ new Date()).getFullYear();
5660
5650
  const renderNativeInput = isMobile({ tablet: true });
5661
5651
  const customValueToString = ({ month, year }) => month && year ? `${year}-${month < 10 ? "0" : ""}${month}` : void 0;
5662
5652
  const stringToCustomValue = (value) => {
@@ -5840,7 +5830,7 @@ const paginate = ({
5840
5830
  }
5841
5831
  return Array.from(Array(pageCount).keys()).map((p) => p + minPage);
5842
5832
  };
5843
- const borderRadius = "large";
5833
+ const borderRadius = "standard";
5844
5834
  const PageNav = ({
5845
5835
  label: label2,
5846
5836
  direction
@@ -7514,7 +7504,7 @@ const Highlight = ({ children: children2 }) => /* @__PURE__ */ jsx(
7514
7504
  Box,
7515
7505
  {
7516
7506
  component: "mark",
7517
- borderRadius: "standard",
7507
+ borderRadius: "small",
7518
7508
  background: { lightMode: "criticalLight", darkMode: "critical" },
7519
7509
  className: root$5,
7520
7510
  children: children2
@@ -7997,7 +7987,7 @@ const Toggle = forwardRef(
7997
7987
  {
7998
7988
  position: "absolute",
7999
7989
  background: "surface",
8000
- boxShadow: "borderField",
7990
+ boxShadow: on ? "borderFormAccent" : "borderField",
8001
7991
  transition: "fast",
8002
7992
  display: "flex",
8003
7993
  alignItems: "center",
@@ -8017,9 +8007,9 @@ const Toggle = forwardRef(
8017
8007
  /* @__PURE__ */ jsx(
8018
8008
  FieldOverlay,
8019
8009
  {
8020
- variant: "hover",
8010
+ variant: "formAccent",
8021
8011
  borderRadius: "full",
8022
- className: hoverOverlay$2
8012
+ className: !on ? hoverOverlay$2 : void 0
8023
8013
  }
8024
8014
  )
8025
8015
  ]
@@ -8048,144 +8038,144 @@ const Toggle = forwardRef(
8048
8038
  }
8049
8039
  );
8050
8040
  export {
8051
- Tiles as $,
8052
- Accordion as A,
8053
- Badge as B,
8054
- Card as C,
8055
- Dialog as D,
8056
- Rating as E,
8057
- FieldLabel as F,
8058
- Step as G,
8059
- Heading as H,
8060
- Stepper as I,
8061
- Strong as J,
8062
- Tab as K,
8063
- Link as L,
8064
- MenuRenderer as M,
8065
- Notice as N,
8066
- OverflowMenu as O,
8067
- Pagination as P,
8068
- TabsProvider as Q,
8069
- Radio as R,
8070
- Secondary as S,
8071
- ThemeNameConsumer as T,
8072
- Tabs as U,
8073
- TabPanels as V,
8074
- TabPanel as W,
8075
- Tag as X,
8076
- Textarea as Y,
8077
- TextDropdown as Z,
8078
- TextField as _,
8079
- useBreakpoint as a,
8080
- IconSocialMedium as a$,
8081
- Toggle as a0,
8082
- IconAdd as a1,
8083
- IconArrow as a2,
8084
- IconBookmark as a3,
8085
- IconCaution as a4,
8086
- IconChevron as a5,
8087
- IconCompany as a6,
8088
- IconCompose as a7,
8089
- IconCopy as a8,
8090
- IconCreditCard as a9,
8091
- IconMoney as aA,
8092
- IconNewWindow as aB,
8093
- IconNote as aC,
8094
- IconNotification as aD,
8095
- IconOverflow as aE,
8096
- IconPeople as aF,
8097
- IconPersonAdd as aG,
8098
- IconPersonVerified as aH,
8099
- IconPhone as aI,
8100
- IconPlatformAndroid as aJ,
8101
- IconPlatformApple as aK,
8102
- IconPrint as aL,
8103
- IconProfile as aM,
8104
- IconPromote as aN,
8105
- IconRecommended as aO,
8106
- IconRefresh as aP,
8107
- IconResume as aQ,
8108
- IconSearch as aR,
8109
- IconSecurity as aS,
8110
- IconSend as aT,
8111
- IconSent as aU,
8112
- IconSettings as aV,
8113
- IconShare as aW,
8114
- IconSocialFacebook as aX,
8115
- IconSocialGitHub as aY,
8116
- IconSocialInstagram as aZ,
8117
- IconSocialLinkedIn as a_,
8118
- IconDate as aa,
8119
- IconDelete as ab,
8120
- IconDesktop as ac,
8121
- IconDocument as ad,
8122
- IconDocumentBroken as ae,
8123
- IconDownload as af,
8124
- IconEdit as ag,
8125
- IconEducation as ah,
8126
- IconFilter as ai,
8127
- IconFlag as aj,
8128
- IconGrid as ak,
8129
- IconHeart as al,
8130
- IconHelp as am,
8131
- IconHistory as an,
8132
- IconHome as ao,
8133
- IconImage as ap,
8134
- IconInfo as aq,
8135
- IconInvoice as ar,
8136
- IconLanguage as as,
8137
- IconLink as at,
8138
- IconLinkBroken as au,
8139
- IconList as av,
8140
- IconLocation as aw,
8141
- IconMail as ax,
8142
- IconMinus as ay,
8143
- IconMobile as az,
8144
- AccordionItem as b,
8145
- IconSocialTwitter as b0,
8146
- IconSocialYouTube as b1,
8147
- IconStar as b2,
8148
- IconStatistics as b3,
8149
- IconSubCategory as b4,
8150
- IconTag as b5,
8151
- IconThumb as b6,
8152
- IconTick as b7,
8153
- IconTime as b8,
8154
- IconTip as b9,
8155
- IconUpload as ba,
8156
- IconVideo as bb,
8157
- IconVisibility as bc,
8158
- IconWorkExperience as bd,
8159
- IconZoomIn as be,
8160
- IconZoomOut as bf,
8161
- validSpaceValues as bg,
8162
- validCardComponents as bh,
8163
- AllowCloseContext as bi,
8164
- tones$1 as bj,
8165
- defaultPageLimit as bk,
8166
- parseSimpleToComplexOption as bl,
8167
- Actions as c,
8168
- Alert as d,
8169
- Autosuggest as e,
8170
- filterSuggestions as f,
8171
- BoxRenderer as g,
8172
- ButtonLink as h,
8173
- Checkbox as i,
8174
- CheckboxStandalone as j,
8175
- Disclosure as k,
8176
- Drawer as l,
8177
- Dropdown as m,
8178
- FieldMessage as n,
8179
- HiddenVisually as o,
8180
- List as p,
8181
- Loader as q,
8182
- MenuItem as r,
8183
- MenuItemCheckbox as s,
8184
- MenuItemDivider as t,
8185
- useColor as u,
8186
- MenuItemLink as v,
8187
- MonthPicker as w,
8188
- PasswordField as x,
8189
- RadioGroup as y,
8190
- RadioItem as z
8041
+ Accordion,
8042
+ AccordionItem,
8043
+ Actions,
8044
+ Alert,
8045
+ AllowCloseContext,
8046
+ Autosuggest,
8047
+ Badge,
8048
+ BoxRenderer,
8049
+ ButtonLink,
8050
+ Card,
8051
+ Checkbox,
8052
+ CheckboxStandalone,
8053
+ Dialog,
8054
+ Disclosure,
8055
+ Drawer,
8056
+ Dropdown,
8057
+ FieldLabel,
8058
+ FieldMessage,
8059
+ Heading,
8060
+ HiddenVisually,
8061
+ IconAdd,
8062
+ IconArrow,
8063
+ IconBookmark,
8064
+ IconCaution,
8065
+ IconChevron,
8066
+ IconCompany,
8067
+ IconCompose,
8068
+ IconCopy,
8069
+ IconCreditCard,
8070
+ IconDate,
8071
+ IconDelete,
8072
+ IconDesktop,
8073
+ IconDocument,
8074
+ IconDocumentBroken,
8075
+ IconDownload,
8076
+ IconEdit,
8077
+ IconEducation,
8078
+ IconFilter,
8079
+ IconFlag,
8080
+ IconGrid,
8081
+ IconHeart,
8082
+ IconHelp,
8083
+ IconHistory,
8084
+ IconHome,
8085
+ IconImage,
8086
+ IconInfo,
8087
+ IconInvoice,
8088
+ IconLanguage,
8089
+ IconLink,
8090
+ IconLinkBroken,
8091
+ IconList,
8092
+ IconLocation,
8093
+ IconMail,
8094
+ IconMinus,
8095
+ IconMobile,
8096
+ IconMoney,
8097
+ IconNewWindow,
8098
+ IconNote,
8099
+ IconNotification,
8100
+ IconOverflow,
8101
+ IconPeople,
8102
+ IconPersonAdd,
8103
+ IconPersonVerified,
8104
+ IconPhone,
8105
+ IconPlatformAndroid,
8106
+ IconPlatformApple,
8107
+ IconPrint,
8108
+ IconProfile,
8109
+ IconPromote,
8110
+ IconRecommended,
8111
+ IconRefresh,
8112
+ IconResume,
8113
+ IconSearch,
8114
+ IconSecurity,
8115
+ IconSend,
8116
+ IconSent,
8117
+ IconSettings,
8118
+ IconShare,
8119
+ IconSocialFacebook,
8120
+ IconSocialGitHub,
8121
+ IconSocialInstagram,
8122
+ IconSocialLinkedIn,
8123
+ IconSocialMedium,
8124
+ IconSocialTwitter,
8125
+ IconSocialYouTube,
8126
+ IconStar,
8127
+ IconStatistics,
8128
+ IconSubCategory,
8129
+ IconTag,
8130
+ IconThumb,
8131
+ IconTick,
8132
+ IconTime,
8133
+ IconTip,
8134
+ IconUpload,
8135
+ IconVideo,
8136
+ IconVisibility,
8137
+ IconWorkExperience,
8138
+ IconZoomIn,
8139
+ IconZoomOut,
8140
+ Link,
8141
+ List,
8142
+ Loader,
8143
+ MenuItem,
8144
+ MenuItemCheckbox,
8145
+ MenuItemDivider,
8146
+ MenuItemLink,
8147
+ MenuRenderer,
8148
+ MonthPicker,
8149
+ Notice,
8150
+ OverflowMenu,
8151
+ Pagination,
8152
+ PasswordField,
8153
+ Radio,
8154
+ RadioGroup,
8155
+ RadioItem,
8156
+ Rating,
8157
+ Secondary,
8158
+ Step,
8159
+ Stepper,
8160
+ Strong,
8161
+ Tab,
8162
+ TabPanel,
8163
+ TabPanels,
8164
+ Tabs,
8165
+ TabsProvider,
8166
+ Tag,
8167
+ TextDropdown,
8168
+ TextField,
8169
+ Textarea,
8170
+ ThemeNameConsumer,
8171
+ Tiles,
8172
+ Toggle,
8173
+ defaultPageLimit,
8174
+ filterSuggestions,
8175
+ parseSimpleToComplexOption,
8176
+ tones$1 as tones,
8177
+ useBreakpoint,
8178
+ useColor,
8179
+ validCardComponents,
8180
+ validSpaceValues
8191
8181
  };
@@ -1,4 +1,4 @@
1
- import { d as darkMode } from "../styles/lib/css/atoms/sprinkles.css.mjs";
1
+ import { darkMode } from "../styles/lib/css/atoms/sprinkles.css.mjs";
2
2
  const flag = "_bdsdm";
3
3
  const colorModeQueryParamCheck = [
4
4
  "<script>",