braid-design-system 32.2.0 → 32.3.1

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.
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ const fileScope = require("@vanilla-extract/css/fileScope");
3
+ const css = require("@vanilla-extract/css");
4
+ const cssUtils = require("@vanilla-extract/css-utils");
5
+ const styles_lib_css_responsiveStyle_cjs = require("../../css/responsiveStyle.cjs");
6
+ const styles_lib_themes_vars_css_cjs = require("../../themes/vars.css.cjs");
7
+ fileScope.setFileScope("src/lib/components/MenuItemCheckbox/MenuItemCheckbox.css.ts?used", "braid-design-system");
8
+ const checkboxFieldSize = styles_lib_themes_vars_css_cjs.vars.inlineFieldSize.small;
9
+ const menuItemCapHeight = css.createVar("menuItemCapHeight");
10
+ const crop = css.createVar("crop");
11
+ const checkboxSize = css.style([styles_lib_css_responsiveStyle_cjs.responsiveStyle({
12
+ mobile: {
13
+ vars: {
14
+ [menuItemCapHeight]: styles_lib_themes_vars_css_cjs.vars.textSize.standard.mobile.capHeight,
15
+ [crop]: cssUtils.calc(checkboxFieldSize).subtract(menuItemCapHeight).divide(2).negate().toString()
16
+ }
17
+ },
18
+ tablet: {
19
+ vars: {
20
+ [menuItemCapHeight]: styles_lib_themes_vars_css_cjs.vars.textSize.standard.tablet.capHeight
21
+ }
22
+ }
23
+ }), {
24
+ height: checkboxFieldSize,
25
+ width: checkboxFieldSize,
26
+ marginTop: crop,
27
+ marginBottom: crop
28
+ }], "checkboxSize");
29
+ fileScope.endFileScope();
30
+ exports.checkboxSize = checkboxSize;
@@ -0,0 +1,31 @@
1
+ import { setFileScope, endFileScope } from "@vanilla-extract/css/fileScope";
2
+ import { createVar, style } from "@vanilla-extract/css";
3
+ import { calc } from "@vanilla-extract/css-utils";
4
+ import { responsiveStyle } from "../../css/responsiveStyle.mjs";
5
+ import { vars } from "../../themes/vars.css.mjs";
6
+ setFileScope("src/lib/components/MenuItemCheckbox/MenuItemCheckbox.css.ts?used", "braid-design-system");
7
+ const checkboxFieldSize = vars.inlineFieldSize.small;
8
+ const menuItemCapHeight = createVar("menuItemCapHeight");
9
+ const crop = createVar("crop");
10
+ const checkboxSize = style([responsiveStyle({
11
+ mobile: {
12
+ vars: {
13
+ [menuItemCapHeight]: vars.textSize.standard.mobile.capHeight,
14
+ [crop]: calc(checkboxFieldSize).subtract(menuItemCapHeight).divide(2).negate().toString()
15
+ }
16
+ },
17
+ tablet: {
18
+ vars: {
19
+ [menuItemCapHeight]: vars.textSize.standard.tablet.capHeight
20
+ }
21
+ }
22
+ }), {
23
+ height: checkboxFieldSize,
24
+ width: checkboxFieldSize,
25
+ marginTop: crop,
26
+ marginBottom: crop
27
+ }], "checkboxSize");
28
+ endFileScope();
29
+ export {
30
+ checkboxSize
31
+ };
@@ -10,6 +10,7 @@ const styles_lib_components_private_hideFocusRings_hideFocusRingsDataAttribute_c
10
10
  fileScope.setFileScope("src/lib/components/Stepper/Stepper.css.ts?used", "braid-design-system");
11
11
  const baseColourVar = css.createVar("baseColourVar");
12
12
  const highlightVar = css.createVar("highlightVar");
13
+ const stepIndicatorSize = styles_lib_themes_vars_css_cjs.vars.inlineFieldSize.small;
13
14
  const tone = {
14
15
  formAccent: css.style(styles_lib_css_colorModeStyle_cjs.colorModeStyle({
15
16
  lightMode: {
@@ -54,8 +55,8 @@ const step = css.style({
54
55
  const indicator = css.style([styles_lib_css_atoms_atoms_cjs.atoms({
55
56
  display: "block"
56
57
  }), {
57
- height: styles_lib_themes_vars_css_cjs.vars.inlineFieldSize.standard,
58
- width: styles_lib_themes_vars_css_cjs.vars.inlineFieldSize.standard,
58
+ height: stepIndicatorSize,
59
+ width: stepIndicatorSize,
59
60
  color: baseColourVar
60
61
  }], "indicator");
61
62
  const stretch = css.style({
@@ -114,13 +115,13 @@ const dotSize = 2;
114
115
  const progressTrack = css.style({
115
116
  background: `repeating-linear-gradient(90deg, ${baseColourVar}, ${baseColourVar} ${dotSize}px, transparent ${dotSize}px, transparent ${dotSize * 2}px)`,
116
117
  height: styles_lib_themes_vars_css_cjs.vars.borderWidth.large,
117
- width: `${cssUtils.calc("100%").subtract(styles_lib_themes_vars_css_cjs.vars.inlineFieldSize.standard).subtract(cssUtils.calc(styles_lib_themes_vars_css_cjs.vars.space[progressBarGap]).multiply(2))}`,
118
- top: `${cssUtils.calc(styles_lib_themes_vars_css_cjs.vars.inlineFieldSize.standard).subtract(styles_lib_themes_vars_css_cjs.vars.borderWidth.large).divide(2)}`,
119
- left: `${cssUtils.calc(styles_lib_themes_vars_css_cjs.vars.inlineFieldSize.standard).add(styles_lib_themes_vars_css_cjs.vars.space[progressBarGap])}`
118
+ width: `${cssUtils.calc("100%").subtract(stepIndicatorSize).subtract(cssUtils.calc(styles_lib_themes_vars_css_cjs.vars.space[progressBarGap]).multiply(2))}`,
119
+ top: `${cssUtils.calc(stepIndicatorSize).subtract(styles_lib_themes_vars_css_cjs.vars.borderWidth.large).divide(2)}`,
120
+ left: `${cssUtils.calc(stepIndicatorSize).add(styles_lib_themes_vars_css_cjs.vars.space[progressBarGap])}`
120
121
  }, "progressTrack");
121
122
  const progressTrackCentered = css.style(styles_lib_css_responsiveStyle_cjs.responsiveStyle({
122
123
  tablet: {
123
- left: `${cssUtils.calc("50%").add(cssUtils.calc(styles_lib_themes_vars_css_cjs.vars.inlineFieldSize.standard).divide(2)).add(styles_lib_themes_vars_css_cjs.vars.space[progressBarGap])}`
124
+ left: `${cssUtils.calc("50%").add(cssUtils.calc(stepIndicatorSize).divide(2)).add(styles_lib_themes_vars_css_cjs.vars.space[progressBarGap])}`
124
125
  }
125
126
  }), "progressTrackCentered");
126
127
  const progressLine = css.style({
@@ -131,7 +132,7 @@ const progressUnfilled = css.style({
131
132
  transform: "translateX(-101%)"
132
133
  }, "progressUnfilled");
133
134
  const indicatorContainer = css.style({
134
- width: styles_lib_themes_vars_css_cjs.vars.inlineFieldSize.standard,
135
+ width: stepIndicatorSize,
135
136
  selectors: {
136
137
  [`${step}:active &`]: {
137
138
  transform: styles_lib_themes_vars_css_cjs.vars.transform.touchable
@@ -9,6 +9,7 @@ import { hideFocusRingsDataAttribute } from "../private/hideFocusRings/hideFocus
9
9
  setFileScope("src/lib/components/Stepper/Stepper.css.ts?used", "braid-design-system");
10
10
  const baseColourVar = createVar("baseColourVar");
11
11
  const highlightVar = createVar("highlightVar");
12
+ const stepIndicatorSize = vars.inlineFieldSize.small;
12
13
  const tone = {
13
14
  formAccent: style(colorModeStyle({
14
15
  lightMode: {
@@ -53,8 +54,8 @@ const step = style({
53
54
  const indicator = style([atoms({
54
55
  display: "block"
55
56
  }), {
56
- height: vars.inlineFieldSize.standard,
57
- width: vars.inlineFieldSize.standard,
57
+ height: stepIndicatorSize,
58
+ width: stepIndicatorSize,
58
59
  color: baseColourVar
59
60
  }], "indicator");
60
61
  const stretch = style({
@@ -113,13 +114,13 @@ const dotSize = 2;
113
114
  const progressTrack = style({
114
115
  background: `repeating-linear-gradient(90deg, ${baseColourVar}, ${baseColourVar} ${dotSize}px, transparent ${dotSize}px, transparent ${dotSize * 2}px)`,
115
116
  height: vars.borderWidth.large,
116
- width: `${calc("100%").subtract(vars.inlineFieldSize.standard).subtract(calc(vars.space[progressBarGap]).multiply(2))}`,
117
- top: `${calc(vars.inlineFieldSize.standard).subtract(vars.borderWidth.large).divide(2)}`,
118
- left: `${calc(vars.inlineFieldSize.standard).add(vars.space[progressBarGap])}`
117
+ width: `${calc("100%").subtract(stepIndicatorSize).subtract(calc(vars.space[progressBarGap]).multiply(2))}`,
118
+ top: `${calc(stepIndicatorSize).subtract(vars.borderWidth.large).divide(2)}`,
119
+ left: `${calc(stepIndicatorSize).add(vars.space[progressBarGap])}`
119
120
  }, "progressTrack");
120
121
  const progressTrackCentered = style(responsiveStyle({
121
122
  tablet: {
122
- left: `${calc("50%").add(calc(vars.inlineFieldSize.standard).divide(2)).add(vars.space[progressBarGap])}`
123
+ left: `${calc("50%").add(calc(stepIndicatorSize).divide(2)).add(vars.space[progressBarGap])}`
123
124
  }
124
125
  }), "progressTrackCentered");
125
126
  const progressLine = style({
@@ -130,7 +131,7 @@ const progressUnfilled = style({
130
131
  transform: "translateX(-101%)"
131
132
  }, "progressUnfilled");
132
133
  const indicatorContainer = style({
133
- width: vars.inlineFieldSize.standard,
134
+ width: stepIndicatorSize,
134
135
  selectors: {
135
136
  [`${step}:active &`]: {
136
137
  transform: vars.transform.touchable
@@ -1,11 +1,39 @@
1
1
  "use strict";
2
2
  const fileScope = require("@vanilla-extract/css/fileScope");
3
3
  const css = require("@vanilla-extract/css");
4
+ const styles_lib_css_atoms_atoms_cjs = require("../../../css/atoms/atoms.cjs");
5
+ const styles_lib_css_colorModeStyle_cjs = require("../../../css/colorModeStyle.cjs");
6
+ const styles_lib_themes_vars_css_cjs = require("../../../themes/vars.css.cjs");
4
7
  fileScope.setFileScope("src/lib/components/Textarea/Highlight/Highlight.css.ts?used", "braid-design-system");
5
- const space = 2;
6
- const root = css.style({
7
- padding: space,
8
- margin: -space
9
- }, "root");
8
+ const space = "2px";
9
+ const root = css.style([styles_lib_css_atoms_atoms_cjs.atoms({
10
+ borderRadius: "small"
11
+ }), {
12
+ padding: `0 ${space}`,
13
+ margin: `0 -${space}`,
14
+ textDecoration: "underline",
15
+ textDecorationStyle: "wavy",
16
+ textDecorationSkipInk: "none",
17
+ textDecorationThickness: 2,
18
+ textUnderlineOffset: 2
19
+ }], "root");
20
+ const critical = css.style(styles_lib_css_colorModeStyle_cjs.colorModeStyle({
21
+ lightMode: {
22
+ textDecorationColor: styles_lib_themes_vars_css_cjs.vars.borderColor.critical,
23
+ background: styles_lib_themes_vars_css_cjs.vars.backgroundColor.criticalLight
24
+ },
25
+ darkMode: {
26
+ textDecorationColor: styles_lib_themes_vars_css_cjs.vars.borderColor.criticalLight
27
+ }
28
+ }), "critical");
29
+ const caution = css.style([{
30
+ textDecorationColor: styles_lib_themes_vars_css_cjs.vars.borderColor.caution
31
+ }, styles_lib_css_colorModeStyle_cjs.colorModeStyle({
32
+ lightMode: {
33
+ background: styles_lib_themes_vars_css_cjs.vars.backgroundColor.cautionLight
34
+ }
35
+ })], "caution");
10
36
  fileScope.endFileScope();
37
+ exports.caution = caution;
38
+ exports.critical = critical;
11
39
  exports.root = root;
@@ -1,12 +1,40 @@
1
1
  import { setFileScope, endFileScope } from "@vanilla-extract/css/fileScope";
2
2
  import { style } from "@vanilla-extract/css";
3
+ import { atoms } from "../../../css/atoms/atoms.mjs";
4
+ import { colorModeStyle } from "../../../css/colorModeStyle.mjs";
5
+ import { vars } from "../../../themes/vars.css.mjs";
3
6
  setFileScope("src/lib/components/Textarea/Highlight/Highlight.css.ts?used", "braid-design-system");
4
- const space = 2;
5
- const root = style({
6
- padding: space,
7
- margin: -space
8
- }, "root");
7
+ const space = "2px";
8
+ const root = style([atoms({
9
+ borderRadius: "small"
10
+ }), {
11
+ padding: `0 ${space}`,
12
+ margin: `0 -${space}`,
13
+ textDecoration: "underline",
14
+ textDecorationStyle: "wavy",
15
+ textDecorationSkipInk: "none",
16
+ textDecorationThickness: 2,
17
+ textUnderlineOffset: 2
18
+ }], "root");
19
+ const critical = style(colorModeStyle({
20
+ lightMode: {
21
+ textDecorationColor: vars.borderColor.critical,
22
+ background: vars.backgroundColor.criticalLight
23
+ },
24
+ darkMode: {
25
+ textDecorationColor: vars.borderColor.criticalLight
26
+ }
27
+ }), "critical");
28
+ const caution = style([{
29
+ textDecorationColor: vars.borderColor.caution
30
+ }, colorModeStyle({
31
+ lightMode: {
32
+ background: vars.backgroundColor.cautionLight
33
+ }
34
+ })], "caution");
9
35
  endFileScope();
10
36
  export {
37
+ caution,
38
+ critical,
11
39
  root
12
40
  };
@@ -8,9 +8,6 @@ const constants = {
8
8
  maxWidth: "260px",
9
9
  arrowSize: "12px"
10
10
  };
11
- const background = css.style({
12
- background: styles_lib_themes_vars_css_cjs.vars.foregroundColor.neutral
13
- }, "background");
14
11
  const maxWidth = css.style({
15
12
  maxWidth: constants.maxWidth
16
13
  }, "maxWidth");
@@ -58,7 +55,6 @@ const arrow = css.style({
58
55
  }, "arrow");
59
56
  fileScope.endFileScope();
60
57
  exports.arrow = arrow;
61
- exports.background = background;
62
58
  exports.maxWidth = maxWidth;
63
59
  exports.translateZ0 = translateZ0;
64
60
  exports.verticalOffsetBeforeEntrance = verticalOffsetBeforeEntrance;
@@ -7,9 +7,6 @@ const constants = {
7
7
  maxWidth: "260px",
8
8
  arrowSize: "12px"
9
9
  };
10
- const background = style({
11
- background: vars.foregroundColor.neutral
12
- }, "background");
13
10
  const maxWidth = style({
14
11
  maxWidth: constants.maxWidth
15
12
  }, "maxWidth");
@@ -58,7 +55,6 @@ const arrow = style({
58
55
  endFileScope();
59
56
  export {
60
57
  arrow,
61
- background,
62
58
  maxWidth,
63
59
  translateZ0,
64
60
  verticalOffsetBeforeEntrance
@@ -5,48 +5,48 @@ const cssUtils = require("@vanilla-extract/css-utils");
5
5
  const styles_lib_themes_vars_css_cjs = require("../../../themes/vars.css.cjs");
6
6
  const styles_lib_components_private_touchable_hitArea_cjs = require("../touchable/hitArea.cjs");
7
7
  const styles_lib_components_private_touchable_debugTouchable_cjs = require("../touchable/debugTouchable.cjs");
8
+ const styles_lib_css_responsiveStyle_cjs = require("../../../css/responsiveStyle.cjs");
8
9
  fileScope.setFileScope("src/lib/components/private/InlineField/InlineField.css.ts?used", "braid-design-system");
9
10
  const sizes = {
10
11
  standard: "standard",
11
12
  small: "small"
12
13
  };
13
- const root = css.style({
14
- ":hover": {
15
- zIndex: 1
14
+ const fieldSize = css.createVar("fieldSize");
15
+ const labelCapHeight = css.createVar("labelCapHeight");
16
+ const sizeVars = css.styleVariants(sizes, (size) => styles_lib_css_responsiveStyle_cjs.responsiveStyle({
17
+ mobile: {
18
+ vars: {
19
+ [fieldSize]: styles_lib_themes_vars_css_cjs.vars.inlineFieldSize[size],
20
+ [labelCapHeight]: styles_lib_themes_vars_css_cjs.vars.textSize[size].mobile.capHeight
21
+ }
22
+ },
23
+ tablet: {
24
+ vars: {
25
+ [labelCapHeight]: styles_lib_themes_vars_css_cjs.vars.textSize[size].tablet.capHeight
26
+ }
16
27
  }
17
- }, "root");
28
+ }), "sizeVars");
29
+ const hitAreaOffset = cssUtils.calc(styles_lib_components_private_touchable_hitArea_cjs.hitArea).subtract(fieldSize).divide(2).negate().toString();
18
30
  const realField = css.style([{
19
31
  width: styles_lib_components_private_touchable_hitArea_cjs.hitArea,
20
- height: styles_lib_components_private_touchable_hitArea_cjs.hitArea
32
+ height: styles_lib_components_private_touchable_hitArea_cjs.hitArea,
33
+ top: hitAreaOffset,
34
+ left: hitAreaOffset
21
35
  }, styles_lib_components_private_touchable_debugTouchable_cjs.debugTouchable()], "realField");
22
- const realFieldPosition = css.styleVariants(sizes, (size) => {
23
- const offset = cssUtils.calc(styles_lib_components_private_touchable_hitArea_cjs.hitArea).subtract(styles_lib_themes_vars_css_cjs.vars.inlineFieldSize[size]).divide(2).negate().toString();
24
- return {
25
- top: offset,
26
- left: offset
27
- };
28
- }, "realFieldPosition");
29
- const fakeField = css.style({}, "fakeField");
30
- const fakeFieldSize = css.styleVariants(sizes, (size) => ({
31
- height: styles_lib_themes_vars_css_cjs.vars.inlineFieldSize[size],
32
- width: styles_lib_themes_vars_css_cjs.vars.inlineFieldSize[size]
33
- }), "fakeFieldSize");
34
- const badgeOffset = css.styleVariants(sizes, (size) => {
35
- const offset = cssUtils.calc(styles_lib_themes_vars_css_cjs.vars.inlineFieldSize[size]).subtract(styles_lib_themes_vars_css_cjs.vars.textSize.xsmall.mobile.lineHeight).divide(2).toString();
36
- return {
37
- paddingTop: offset,
38
- paddingBottom: offset
39
- };
40
- }, "badgeOffset");
41
- const labelOffset = css.styleVariants(sizes, (size) => ({
42
- paddingTop: cssUtils.calc(styles_lib_themes_vars_css_cjs.vars.inlineFieldSize[size]).subtract(styles_lib_themes_vars_css_cjs.vars.textSize[size].mobile.capHeight).divide(2).toString()
43
- }), "labelOffset");
36
+ const fakeField = css.style({
37
+ height: fieldSize,
38
+ width: fieldSize
39
+ }, "fakeField");
40
+ const labelOffset = css.style({
41
+ paddingTop: cssUtils.calc(fieldSize).subtract(labelCapHeight).divide(2).toString()
42
+ }, "labelOffset");
44
43
  const isMixed = css.style({}, "isMixed");
45
44
  const children = css.style({
46
45
  selectors: {
47
46
  [`${realField}:checked ~ * &,
48
47
  ${realField}${isMixed} ~ * &`]: {
49
- display: "block"
48
+ display: "block",
49
+ zIndex: 1
50
50
  }
51
51
  }
52
52
  }, "children");
@@ -99,17 +99,14 @@ const radioScale = css.style({
99
99
  }, "radioScale");
100
100
  const radioIndicator = [indicator, radioScale];
101
101
  fileScope.endFileScope();
102
- exports.badgeOffset = badgeOffset;
103
102
  exports.checkboxIndicator = checkboxIndicator;
104
103
  exports.children = children;
105
104
  exports.fakeField = fakeField;
106
- exports.fakeFieldSize = fakeFieldSize;
107
105
  exports.focusOverlay = focusOverlay;
108
106
  exports.hoverOverlay = hoverOverlay;
109
107
  exports.isMixed = isMixed;
110
108
  exports.labelOffset = labelOffset;
111
109
  exports.radioIndicator = radioIndicator;
112
110
  exports.realField = realField;
113
- exports.realFieldPosition = realFieldPosition;
114
- exports.root = root;
115
111
  exports.selected = selected;
112
+ exports.sizeVars = sizeVars;
@@ -1,51 +1,51 @@
1
1
  import { setFileScope, endFileScope } from "@vanilla-extract/css/fileScope";
2
- import { style, styleVariants } from "@vanilla-extract/css";
2
+ import { createVar, styleVariants, style } from "@vanilla-extract/css";
3
3
  import { calc } from "@vanilla-extract/css-utils";
4
4
  import { vars } from "../../../themes/vars.css.mjs";
5
5
  import { hitArea } from "../touchable/hitArea.mjs";
6
6
  import { debugTouchable } from "../touchable/debugTouchable.mjs";
7
+ import { responsiveStyle } from "../../../css/responsiveStyle.mjs";
7
8
  setFileScope("src/lib/components/private/InlineField/InlineField.css.ts?used", "braid-design-system");
8
9
  const sizes = {
9
10
  standard: "standard",
10
11
  small: "small"
11
12
  };
12
- const root = style({
13
- ":hover": {
14
- zIndex: 1
13
+ const fieldSize = createVar("fieldSize");
14
+ const labelCapHeight = createVar("labelCapHeight");
15
+ const sizeVars = styleVariants(sizes, (size) => responsiveStyle({
16
+ mobile: {
17
+ vars: {
18
+ [fieldSize]: vars.inlineFieldSize[size],
19
+ [labelCapHeight]: vars.textSize[size].mobile.capHeight
20
+ }
21
+ },
22
+ tablet: {
23
+ vars: {
24
+ [labelCapHeight]: vars.textSize[size].tablet.capHeight
25
+ }
15
26
  }
16
- }, "root");
27
+ }), "sizeVars");
28
+ const hitAreaOffset = calc(hitArea).subtract(fieldSize).divide(2).negate().toString();
17
29
  const realField = style([{
18
30
  width: hitArea,
19
- height: hitArea
31
+ height: hitArea,
32
+ top: hitAreaOffset,
33
+ left: hitAreaOffset
20
34
  }, debugTouchable()], "realField");
21
- const realFieldPosition = styleVariants(sizes, (size) => {
22
- const offset = calc(hitArea).subtract(vars.inlineFieldSize[size]).divide(2).negate().toString();
23
- return {
24
- top: offset,
25
- left: offset
26
- };
27
- }, "realFieldPosition");
28
- const fakeField = style({}, "fakeField");
29
- const fakeFieldSize = styleVariants(sizes, (size) => ({
30
- height: vars.inlineFieldSize[size],
31
- width: vars.inlineFieldSize[size]
32
- }), "fakeFieldSize");
33
- const badgeOffset = styleVariants(sizes, (size) => {
34
- const offset = calc(vars.inlineFieldSize[size]).subtract(vars.textSize.xsmall.mobile.lineHeight).divide(2).toString();
35
- return {
36
- paddingTop: offset,
37
- paddingBottom: offset
38
- };
39
- }, "badgeOffset");
40
- const labelOffset = styleVariants(sizes, (size) => ({
41
- paddingTop: calc(vars.inlineFieldSize[size]).subtract(vars.textSize[size].mobile.capHeight).divide(2).toString()
42
- }), "labelOffset");
35
+ const fakeField = style({
36
+ height: fieldSize,
37
+ width: fieldSize
38
+ }, "fakeField");
39
+ const labelOffset = style({
40
+ paddingTop: calc(fieldSize).subtract(labelCapHeight).divide(2).toString()
41
+ }, "labelOffset");
43
42
  const isMixed = style({}, "isMixed");
44
43
  const children = style({
45
44
  selectors: {
46
45
  [`${realField}:checked ~ * &,
47
46
  ${realField}${isMixed} ~ * &`]: {
48
- display: "block"
47
+ display: "block",
48
+ zIndex: 1
49
49
  }
50
50
  }
51
51
  }, "children");
@@ -99,18 +99,15 @@ const radioScale = style({
99
99
  const radioIndicator = [indicator, radioScale];
100
100
  endFileScope();
101
101
  export {
102
- badgeOffset,
103
102
  checkboxIndicator,
104
103
  children,
105
104
  fakeField,
106
- fakeFieldSize,
107
105
  focusOverlay,
108
106
  hoverOverlay,
109
107
  isMixed,
110
108
  labelOffset,
111
109
  radioIndicator,
112
110
  realField,
113
- realFieldPosition,
114
- root,
115
- selected
111
+ selected,
112
+ sizeVars
116
113
  };
@@ -10,6 +10,8 @@ const space = {
10
10
  };
11
11
  const boxShadow = {
12
12
  ...styles_lib_themes_vars_css_cjs.vars.shadow,
13
+ borderBrandAccent: `inset 0 0 0 ${styles_lib_themes_vars_css_cjs.vars.borderWidth.standard} ${styles_lib_themes_vars_css_cjs.vars.borderColor.brandAccent}`,
14
+ borderBrandAccentLight: `inset 0 0 0 ${styles_lib_themes_vars_css_cjs.vars.borderWidth.standard} ${styles_lib_themes_vars_css_cjs.vars.borderColor.brandAccentLight}`,
13
15
  borderBrandAccentLarge: `inset 0 0 0 ${styles_lib_themes_vars_css_cjs.vars.borderWidth.large} ${styles_lib_themes_vars_css_cjs.vars.borderColor.brandAccent}`,
14
16
  borderBrandAccentLightLarge: `inset 0 0 0 ${styles_lib_themes_vars_css_cjs.vars.borderWidth.large} ${styles_lib_themes_vars_css_cjs.vars.borderColor.brandAccentLight}`,
15
17
  borderCaution: `inset 0 0 0 ${styles_lib_themes_vars_css_cjs.vars.borderWidth.standard} ${styles_lib_themes_vars_css_cjs.vars.borderColor.caution}`,
@@ -9,6 +9,8 @@ const space = {
9
9
  };
10
10
  const boxShadow = {
11
11
  ...vars.shadow,
12
+ borderBrandAccent: `inset 0 0 0 ${vars.borderWidth.standard} ${vars.borderColor.brandAccent}`,
13
+ borderBrandAccentLight: `inset 0 0 0 ${vars.borderWidth.standard} ${vars.borderColor.brandAccentLight}`,
12
14
  borderBrandAccentLarge: `inset 0 0 0 ${vars.borderWidth.large} ${vars.borderColor.brandAccent}`,
13
15
  borderBrandAccentLightLarge: `inset 0 0 0 ${vars.borderWidth.large} ${vars.borderColor.brandAccentLight}`,
14
16
  borderCaution: `inset 0 0 0 ${vars.borderWidth.standard} ${vars.borderColor.caution}`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "braid-design-system",
3
- "version": "32.2.0",
3
+ "version": "32.3.1",
4
4
  "description": "Themeable design system for the SEEK Group",
5
5
  "homepage": "https://seek-oss.github.io/braid-design-system/",
6
6
  "bugs": {
@@ -183,7 +183,7 @@
183
183
  "react-dom": "^18.2.0",
184
184
  "react-router-dom": "^6.3.0",
185
185
  "sanitize-html": "^2.7.0",
186
- "sku": "11.7.2",
186
+ "sku": "11.8.1",
187
187
  "svgo": "^2.8.0",
188
188
  "title-case": "^3.0.3"
189
189
  },