braid-design-system 32.16.2 → 32.16.3
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.
- package/CHANGELOG.md +12 -0
- package/dist/lib/components/Accordion/AccordionItem.css.cjs +3 -3
- package/dist/lib/components/Alert/Alert.css.cjs +3 -3
- package/dist/lib/components/Autosuggest/Autosuggest.css.cjs +3 -3
- package/dist/lib/components/Button/Button.css.cjs +3 -3
- package/dist/lib/components/ButtonIcon/ButtonIcon.css.cjs +3 -3
- package/dist/lib/components/Checkbox/resolveCheckedGroup.cjs +9 -1
- package/dist/lib/components/Checkbox/resolveCheckedGroup.mjs +9 -1
- package/dist/lib/components/Column/Column.css.cjs +3 -3
- package/dist/lib/components/ContentBlock/ContentBlock.css.cjs +3 -3
- package/dist/lib/components/Divider/Divider.css.cjs +3 -3
- package/dist/lib/components/Dropdown/Dropdown.css.cjs +3 -3
- package/dist/lib/components/Hidden/Hidden.css.cjs +3 -3
- package/dist/lib/components/HiddenVisually/HiddenVisually.css.cjs +3 -3
- package/dist/lib/components/List/List.css.cjs +3 -3
- package/dist/lib/components/Loader/Loader.css.cjs +3 -3
- package/dist/lib/components/MenuItem/useMenuItem.css.cjs +3 -3
- package/dist/lib/components/MenuItemCheckbox/MenuItemCheckbox.css.cjs +3 -3
- package/dist/lib/components/MenuRenderer/MenuRenderer.css.cjs +3 -3
- package/dist/lib/components/MonthPicker/MonthPicker.css.cjs +3 -3
- package/dist/lib/components/OverflowMenu/OverflowMenu.css.cjs +3 -3
- package/dist/lib/components/Page/Page.css.cjs +3 -3
- package/dist/lib/components/Pagination/Pagination.css.cjs +3 -3
- package/dist/lib/components/Rating/Rating.css.cjs +3 -3
- package/dist/lib/components/Stepper/Stepper.css.cjs +3 -3
- package/dist/lib/components/Tabs/Tabs.css.cjs +3 -3
- package/dist/lib/components/Tag/Tag.css.cjs +3 -3
- package/dist/lib/components/TextDropdown/TextDropdown.css.cjs +3 -3
- package/dist/lib/components/TextLink/TextLink.css.cjs +3 -3
- package/dist/lib/components/Textarea/Highlight/Highlight.css.cjs +3 -3
- package/dist/lib/components/Textarea/Textarea.css.cjs +3 -3
- package/dist/lib/components/Tiles/Tiles.css.cjs +3 -3
- package/dist/lib/components/Toggle/Toggle.css.cjs +3 -3
- package/dist/lib/components/TooltipRenderer/TooltipRenderer.css.cjs +3 -3
- package/dist/lib/components/icons/IconArrow/IconArrow.css.cjs +3 -3
- package/dist/lib/components/icons/IconChevron/IconChevron.css.cjs +3 -3
- package/dist/lib/components/icons/IconThumb/IconThumb.css.cjs +3 -3
- package/dist/lib/components/private/AvoidWidowIcon/AvoidWidowIcon.css.cjs +3 -3
- package/dist/lib/components/private/Field/Field.css.cjs +3 -3
- package/dist/lib/components/private/InlineField/InlineField.css.cjs +3 -3
- package/dist/lib/components/private/InlineField/StyledInput.cjs +18 -9
- package/dist/lib/components/private/InlineField/StyledInput.mjs +18 -9
- package/dist/lib/components/private/Keyline/Keyline.css.cjs +3 -3
- package/dist/lib/components/private/MaxLines/MaxLines.css.cjs +3 -3
- package/dist/lib/components/private/Modal/Modal.css.cjs +3 -3
- package/dist/lib/components/private/Placeholder/Placeholder.css.cjs +3 -3
- package/dist/lib/components/private/hideFocusRings/hideFocusRings.css.cjs +3 -3
- package/dist/lib/components/private/touchable/virtualTouchable.css.cjs +3 -3
- package/dist/lib/components/useToast/Toast.css.cjs +3 -3
- package/dist/lib/css/atoms/sprinkles.css.cjs +3 -3
- package/dist/lib/css/lineHeightContainer.css.cjs +3 -3
- package/dist/lib/css/negativeMargin/negativeMargin.css.cjs +3 -3
- package/dist/lib/css/reset/reset.css.cjs +3 -3
- package/dist/lib/css/textAlignedToIcon.css.cjs +3 -3
- package/dist/lib/css/typography.css.cjs +6 -6
- package/dist/lib/css/typography.css.mjs +1 -1
- package/dist/lib/hooks/useIcon/icon.css.cjs +3 -3
- package/dist/lib/themes/apac/apacTheme.css.cjs +3 -3
- package/dist/lib/themes/baseTokens/apac.cjs +1 -1
- package/dist/lib/themes/baseTokens/apac.mjs +1 -1
- package/dist/lib/themes/docs/docsTheme.css.cjs +3 -3
- package/dist/lib/themes/docs/tokens.cjs +1 -1
- package/dist/lib/themes/docs/tokens.mjs +1 -1
- package/dist/lib/themes/seekBusiness/seekBusinessTheme.css.cjs +3 -3
- package/dist/lib/themes/seekJobs/seekJobs.css.cjs +3 -3
- package/dist/lib/themes/vars.css.cjs +3 -3
- package/dist/lib/themes/wireframe/tokens.cjs +1 -1
- package/dist/lib/themes/wireframe/tokens.mjs +1 -1
- package/dist/lib/themes/wireframe/wireframeTheme.css.cjs +3 -3
- package/package.json +4 -4
- package/dist/lib/css/capsize.css.cjs +0 -79
- package/dist/lib/css/capsize.css.mjs +0 -62
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# braid-design-system
|
|
2
2
|
|
|
3
|
+
## 32.16.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Update Capsize dependencies ([#1456](https://github.com/seek-oss/braid-design-system/pull/1456))
|
|
8
|
+
|
|
9
|
+
- **Checkbox:** Improve tri-state handling ([#1458](https://github.com/seek-oss/braid-design-system/pull/1458))
|
|
10
|
+
|
|
11
|
+
Fixes a bug in [tri-state] `Checkbox` where transitioning from `mixed` to `checked` could result in the visual presentation being out of sync with the desired state.
|
|
12
|
+
|
|
13
|
+
[tri-state]: https://seek-oss.github.io/braid-design-system/components/Checkbox#tri-state-support
|
|
14
|
+
|
|
3
15
|
## 32.16.2
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const fileScope = require("@vanilla-extract/css/fileScope");
|
|
3
3
|
const css = require("@vanilla-extract/css");
|
|
4
4
|
const cssUtils = require("@vanilla-extract/css-utils");
|
|
5
5
|
const lib_themes_vars_css_cjs = require("../../themes/vars.css.cjs");
|
|
6
|
-
|
|
6
|
+
fileScope.setFileScope("src/lib/components/Accordion/AccordionItem.css.ts", "braid-design-system");
|
|
7
7
|
const button = css.style({}, "button");
|
|
8
8
|
const focusRing = css.style({
|
|
9
9
|
top: cssUtils.calc.negate(lib_themes_vars_css_cjs.vars.space.xsmall),
|
|
@@ -16,6 +16,6 @@ const focusRing = css.style({
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
}, "focusRing");
|
|
19
|
-
|
|
19
|
+
fileScope.endFileScope();
|
|
20
20
|
exports.button = button;
|
|
21
21
|
exports.focusRing = focusRing;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const fileScope = require("@vanilla-extract/css/fileScope");
|
|
3
3
|
const css = require("@vanilla-extract/css");
|
|
4
|
-
|
|
4
|
+
fileScope.setFileScope("src/lib/components/Alert/Alert.css.ts", "braid-design-system");
|
|
5
5
|
const closeButton = css.style({}, "closeButton");
|
|
6
6
|
const closeButtonFocus = css.style({
|
|
7
7
|
selectors: {
|
|
@@ -17,7 +17,7 @@ const closeButtonHover = css.style({
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
}, "closeButtonHover");
|
|
20
|
-
|
|
20
|
+
fileScope.endFileScope();
|
|
21
21
|
exports.closeButton = closeButton;
|
|
22
22
|
exports.closeButtonFocus = closeButtonFocus;
|
|
23
23
|
exports.closeButtonHover = closeButtonHover;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const fileScope = require("@vanilla-extract/css/fileScope");
|
|
3
3
|
const css = require("@vanilla-extract/css");
|
|
4
4
|
const cssUtils = require("@vanilla-extract/css-utils");
|
|
5
5
|
const lib_css_responsiveStyle_cjs = require("../../css/responsiveStyle.cjs");
|
|
6
6
|
const lib_themes_vars_css_cjs = require("../../themes/vars.css.cjs");
|
|
7
|
-
|
|
7
|
+
fileScope.setFileScope("src/lib/components/Autosuggest/Autosuggest.css.ts", "braid-design-system");
|
|
8
8
|
const backdrop = css.style({
|
|
9
9
|
width: "100vw",
|
|
10
10
|
height: "100vh",
|
|
@@ -26,7 +26,7 @@ const menu = css.style(lib_css_responsiveStyle_cjs.responsiveStyle({
|
|
|
26
26
|
const groupHeading = css.style({
|
|
27
27
|
textTransform: "uppercase"
|
|
28
28
|
}, "groupHeading");
|
|
29
|
-
|
|
29
|
+
fileScope.endFileScope();
|
|
30
30
|
exports.backdrop = backdrop;
|
|
31
31
|
exports.backdropVisible = backdropVisible;
|
|
32
32
|
exports.groupHeading = groupHeading;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const fileScope = require("@vanilla-extract/css/fileScope");
|
|
3
3
|
const css = require("@vanilla-extract/css");
|
|
4
4
|
const cssUtils = require("@vanilla-extract/css-utils");
|
|
5
5
|
const polished = require("polished");
|
|
6
6
|
const lib_css_colorModeStyle_cjs = require("../../css/colorModeStyle.cjs");
|
|
7
7
|
const lib_css_responsiveStyle_cjs = require("../../css/responsiveStyle.cjs");
|
|
8
8
|
const lib_themes_vars_css_cjs = require("../../themes/vars.css.cjs");
|
|
9
|
-
|
|
9
|
+
fileScope.setFileScope("src/lib/components/Button/Button.css.ts", "braid-design-system");
|
|
10
10
|
const root = css.style({
|
|
11
11
|
textDecoration: "none"
|
|
12
12
|
}, "root");
|
|
@@ -132,7 +132,7 @@ const invertedBackgroundsDarkMode = css.styleVariants({
|
|
|
132
132
|
}
|
|
133
133
|
})
|
|
134
134
|
}, "invertedBackgroundsDarkMode");
|
|
135
|
-
|
|
135
|
+
fileScope.endFileScope();
|
|
136
136
|
exports.activeOverlay = activeOverlay;
|
|
137
137
|
exports.bleedVerticallyToCapHeight = bleedVerticallyToCapHeight;
|
|
138
138
|
exports.focusOverlay = focusOverlay;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const fileScope = require("@vanilla-extract/css/fileScope");
|
|
3
3
|
const css = require("@vanilla-extract/css");
|
|
4
|
-
|
|
4
|
+
fileScope.setFileScope("src/lib/components/ButtonIcon/ButtonIcon.css.ts", "braid-design-system");
|
|
5
5
|
const button = css.style({
|
|
6
6
|
":hover": {
|
|
7
7
|
zIndex: 1
|
|
@@ -12,5 +12,5 @@ const button = css.style({
|
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
}, "button");
|
|
15
|
-
|
|
15
|
+
fileScope.endFileScope();
|
|
16
16
|
exports.button = button;
|
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const resolveCheckedGroup = (values) =>
|
|
2
|
+
const resolveCheckedGroup = (values) => {
|
|
3
|
+
const checkedCount = values.filter(Boolean).length;
|
|
4
|
+
const someChecked = checkedCount > 0;
|
|
5
|
+
const totalCount = values.length;
|
|
6
|
+
if (someChecked && checkedCount !== totalCount) {
|
|
7
|
+
return "mixed";
|
|
8
|
+
}
|
|
9
|
+
return someChecked;
|
|
10
|
+
};
|
|
3
11
|
exports.resolveCheckedGroup = resolveCheckedGroup;
|
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
const resolveCheckedGroup = (values) =>
|
|
1
|
+
const resolveCheckedGroup = (values) => {
|
|
2
|
+
const checkedCount = values.filter(Boolean).length;
|
|
3
|
+
const someChecked = checkedCount > 0;
|
|
4
|
+
const totalCount = values.length;
|
|
5
|
+
if (someChecked && checkedCount !== totalCount) {
|
|
6
|
+
return "mixed";
|
|
7
|
+
}
|
|
8
|
+
return someChecked;
|
|
9
|
+
};
|
|
2
10
|
export {
|
|
3
11
|
resolveCheckedGroup
|
|
4
12
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const fileScope = require("@vanilla-extract/css/fileScope");
|
|
3
3
|
const css = require("@vanilla-extract/css");
|
|
4
|
-
|
|
4
|
+
fileScope.setFileScope("src/lib/components/Column/Column.css.ts", "braid-design-system");
|
|
5
5
|
const column = css.style({}, "column");
|
|
6
6
|
const columnContent = css.style({
|
|
7
7
|
selectors: {
|
|
@@ -24,7 +24,7 @@ const width = css.styleVariants({
|
|
|
24
24
|
"3/5": getSizeStyle(3 / 5),
|
|
25
25
|
"4/5": getSizeStyle(4 / 5)
|
|
26
26
|
}, "width");
|
|
27
|
-
|
|
27
|
+
fileScope.endFileScope();
|
|
28
28
|
exports.column = column;
|
|
29
29
|
exports.columnContent = columnContent;
|
|
30
30
|
exports.width = width;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const fileScope = require("@vanilla-extract/css/fileScope");
|
|
3
3
|
const css = require("@vanilla-extract/css");
|
|
4
|
-
|
|
4
|
+
fileScope.setFileScope("src/lib/components/ContentBlock/ContentBlock.css.ts", "braid-design-system");
|
|
5
5
|
const marginAuto = css.style({
|
|
6
6
|
margin: "0 auto"
|
|
7
7
|
}, "marginAuto");
|
|
8
|
-
|
|
8
|
+
fileScope.endFileScope();
|
|
9
9
|
exports.marginAuto = marginAuto;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const fileScope = require("@vanilla-extract/css/fileScope");
|
|
3
3
|
const css = require("@vanilla-extract/css");
|
|
4
4
|
const lib_css_colorModeStyle_cjs = require("../../css/colorModeStyle.cjs");
|
|
5
5
|
const lib_themes_vars_css_cjs = require("../../themes/vars.css.cjs");
|
|
6
|
-
|
|
6
|
+
fileScope.setFileScope("src/lib/components/Divider/Divider.css.ts", "braid-design-system");
|
|
7
7
|
const base = css.style({
|
|
8
8
|
height: lib_themes_vars_css_cjs.vars.borderWidth.standard
|
|
9
9
|
}, "base");
|
|
@@ -45,7 +45,7 @@ const darkModeWeight = css.styleVariants({
|
|
|
45
45
|
darkMode: darkModeVars
|
|
46
46
|
})
|
|
47
47
|
}, "darkModeWeight");
|
|
48
|
-
|
|
48
|
+
fileScope.endFileScope();
|
|
49
49
|
exports.base = base;
|
|
50
50
|
exports.darkModeWeight = darkModeWeight;
|
|
51
51
|
exports.lightModeWeight = lightModeWeight;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const fileScope = require("@vanilla-extract/css/fileScope");
|
|
3
3
|
const css = require("@vanilla-extract/css");
|
|
4
4
|
const lib_themes_vars_css_cjs = require("../../themes/vars.css.cjs");
|
|
5
|
-
|
|
5
|
+
fileScope.setFileScope("src/lib/components/Dropdown/Dropdown.css.ts", "braid-design-system");
|
|
6
6
|
const field = css.style({
|
|
7
7
|
paddingRight: lib_themes_vars_css_cjs.vars.touchableSize
|
|
8
8
|
}, "field");
|
|
9
|
-
|
|
9
|
+
fileScope.endFileScope();
|
|
10
10
|
exports.field = field;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const fileScope = require("@vanilla-extract/css/fileScope");
|
|
3
3
|
const css = require("@vanilla-extract/css");
|
|
4
|
-
|
|
4
|
+
fileScope.setFileScope("src/lib/components/Hidden/Hidden.css.ts", "braid-design-system");
|
|
5
5
|
const hiddenOnPrint = css.style({
|
|
6
6
|
"@media": {
|
|
7
7
|
print: {
|
|
@@ -9,5 +9,5 @@ const hiddenOnPrint = css.style({
|
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
}, "hiddenOnPrint");
|
|
12
|
-
|
|
12
|
+
fileScope.endFileScope();
|
|
13
13
|
exports.hiddenOnPrint = hiddenOnPrint;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const fileScope = require("@vanilla-extract/css/fileScope");
|
|
3
3
|
const css = require("@vanilla-extract/css");
|
|
4
|
-
|
|
4
|
+
fileScope.setFileScope("src/lib/components/HiddenVisually/HiddenVisually.css.ts", "braid-design-system");
|
|
5
5
|
const root = css.style({
|
|
6
6
|
width: 1,
|
|
7
7
|
height: 1,
|
|
8
8
|
clip: "rect(1px, 1px, 1px, 1px)",
|
|
9
9
|
whiteSpace: "nowrap"
|
|
10
10
|
}, "root");
|
|
11
|
-
|
|
11
|
+
fileScope.endFileScope();
|
|
12
12
|
exports.root = root;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const fileScope = require("@vanilla-extract/css/fileScope");
|
|
3
3
|
const css = require("@vanilla-extract/css");
|
|
4
|
-
|
|
4
|
+
fileScope.setFileScope("src/lib/components/List/List.css.ts", "braid-design-system");
|
|
5
5
|
const currentColor = css.style({
|
|
6
6
|
background: "currentColor"
|
|
7
7
|
}, "currentColor");
|
|
@@ -32,7 +32,7 @@ const minCharacterWidth = [css.style({
|
|
|
32
32
|
const trimGutter = css.style({
|
|
33
33
|
marginRight: `${-dotWidth}ch`
|
|
34
34
|
}, "trimGutter");
|
|
35
|
-
|
|
35
|
+
fileScope.endFileScope();
|
|
36
36
|
exports.currentColor = currentColor;
|
|
37
37
|
exports.minCharacterWidth = minCharacterWidth;
|
|
38
38
|
exports.size = size;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const fileScope = require("@vanilla-extract/css/fileScope");
|
|
3
3
|
const css = require("@vanilla-extract/css");
|
|
4
4
|
const lib_css_responsiveStyle_cjs = require("../../css/responsiveStyle.cjs");
|
|
5
5
|
const lib_themes_vars_css_cjs = require("../../themes/vars.css.cjs");
|
|
6
|
-
|
|
6
|
+
fileScope.setFileScope("src/lib/components/Loader/Loader.css.ts", "braid-design-system");
|
|
7
7
|
const rootSize = css.styleVariants(lib_themes_vars_css_cjs.vars.textSize, ({
|
|
8
8
|
mobile,
|
|
9
9
|
tablet
|
|
@@ -74,7 +74,7 @@ const delay = css.style({
|
|
|
74
74
|
animationDuration: "0.25s",
|
|
75
75
|
animationDelay: `${animationDelayValueInMs}ms`
|
|
76
76
|
}, "delay");
|
|
77
|
-
|
|
77
|
+
fileScope.endFileScope();
|
|
78
78
|
exports.circle = circle;
|
|
79
79
|
exports.currentColor = currentColor;
|
|
80
80
|
exports.delay = delay;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const fileScope = require("@vanilla-extract/css/fileScope");
|
|
3
3
|
const css = require("@vanilla-extract/css");
|
|
4
|
-
|
|
4
|
+
fileScope.setFileScope("src/lib/components/MenuItem/useMenuItem.css.ts", "braid-design-system");
|
|
5
5
|
const menuItem = css.style({
|
|
6
6
|
selectors: {
|
|
7
7
|
[`&::-moz-focus-inner`]: {
|
|
@@ -9,5 +9,5 @@ const menuItem = css.style({
|
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
}, "menuItem");
|
|
12
|
-
|
|
12
|
+
fileScope.endFileScope();
|
|
13
13
|
exports.menuItem = menuItem;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const fileScope = require("@vanilla-extract/css/fileScope");
|
|
3
3
|
const css = require("@vanilla-extract/css");
|
|
4
4
|
const cssUtils = require("@vanilla-extract/css-utils");
|
|
5
5
|
const lib_css_responsiveStyle_cjs = require("../../css/responsiveStyle.cjs");
|
|
6
6
|
const lib_themes_vars_css_cjs = require("../../themes/vars.css.cjs");
|
|
7
|
-
|
|
7
|
+
fileScope.setFileScope("src/lib/components/MenuItemCheckbox/MenuItemCheckbox.css.ts", "braid-design-system");
|
|
8
8
|
const checkboxFieldSize = lib_themes_vars_css_cjs.vars.inlineFieldSize.small;
|
|
9
9
|
const menuItemCapHeight = css.createVar("menuItemCapHeight");
|
|
10
10
|
const crop = css.createVar("crop");
|
|
@@ -26,5 +26,5 @@ const checkboxSize = css.style([lib_css_responsiveStyle_cjs.responsiveStyle({
|
|
|
26
26
|
marginTop: crop,
|
|
27
27
|
marginBottom: crop
|
|
28
28
|
}], "checkboxSize");
|
|
29
|
-
|
|
29
|
+
fileScope.endFileScope();
|
|
30
30
|
exports.checkboxSize = checkboxSize;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const fileScope = require("@vanilla-extract/css/fileScope");
|
|
3
3
|
const css = require("@vanilla-extract/css");
|
|
4
4
|
const cssUtils = require("@vanilla-extract/css-utils");
|
|
5
5
|
const lib_themes_vars_css_cjs = require("../../themes/vars.css.cjs");
|
|
6
|
-
|
|
6
|
+
fileScope.setFileScope("src/lib/components/MenuRenderer/MenuRenderer.css.ts", "braid-design-system");
|
|
7
7
|
const backdrop = css.style({
|
|
8
8
|
width: "100vw",
|
|
9
9
|
height: "100vh"
|
|
@@ -33,7 +33,7 @@ const width = css.styleVariants({
|
|
|
33
33
|
const placementBottom = css.style({
|
|
34
34
|
bottom: "100%"
|
|
35
35
|
}, "placementBottom");
|
|
36
|
-
|
|
36
|
+
fileScope.endFileScope();
|
|
37
37
|
exports.backdrop = backdrop;
|
|
38
38
|
exports.menuIsClosed = menuIsClosed;
|
|
39
39
|
exports.placementBottom = placementBottom;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const fileScope = require("@vanilla-extract/css/fileScope");
|
|
3
3
|
const css = require("@vanilla-extract/css");
|
|
4
|
-
|
|
4
|
+
fileScope.setFileScope("src/lib/components/MonthPicker/MonthPicker.css.ts", "braid-design-system");
|
|
5
5
|
const nativeInput = css.style({
|
|
6
6
|
selectors: {
|
|
7
7
|
"&::-webkit-inner-spin-button, &::-webkit-calendar-picker-indicator, &::-webkit-clear-button": {
|
|
@@ -10,5 +10,5 @@ const nativeInput = css.style({
|
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
}, "nativeInput");
|
|
13
|
-
|
|
13
|
+
fileScope.endFileScope();
|
|
14
14
|
exports.nativeInput = nativeInput;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const fileScope = require("@vanilla-extract/css/fileScope");
|
|
3
3
|
const css = require("@vanilla-extract/css");
|
|
4
|
-
|
|
4
|
+
fileScope.setFileScope("src/lib/components/OverflowMenu/OverflowMenu.css.ts", "braid-design-system");
|
|
5
5
|
const triggerOffset = css.style({
|
|
6
6
|
margin: "-1px -6px"
|
|
7
7
|
}, "triggerOffset");
|
|
8
|
-
|
|
8
|
+
fileScope.endFileScope();
|
|
9
9
|
exports.triggerOffset = triggerOffset;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const fileScope = require("@vanilla-extract/css/fileScope");
|
|
3
3
|
const css = require("@vanilla-extract/css");
|
|
4
|
-
|
|
4
|
+
fileScope.setFileScope("src/lib/components/Page/Page.css.ts", "braid-design-system");
|
|
5
5
|
const heightLimit = css.createVar("heightLimit");
|
|
6
6
|
const fullHeight = css.style({
|
|
7
7
|
minHeight: css.fallbackVar(heightLimit, "100vh")
|
|
8
8
|
}, "fullHeight");
|
|
9
|
-
|
|
9
|
+
fileScope.endFileScope();
|
|
10
10
|
exports.fullHeight = fullHeight;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const fileScope = require("@vanilla-extract/css/fileScope");
|
|
3
3
|
const css = require("@vanilla-extract/css");
|
|
4
4
|
const lib_css_colorModeStyle_cjs = require("../../css/colorModeStyle.cjs");
|
|
5
|
-
|
|
5
|
+
fileScope.setFileScope("src/lib/components/Pagination/Pagination.css.ts", "braid-design-system");
|
|
6
6
|
const hover = css.style({}, "hover");
|
|
7
7
|
const lightModeCurrentKeyline = css.style(lib_css_colorModeStyle_cjs.colorModeStyle({
|
|
8
8
|
lightMode: {
|
|
@@ -24,7 +24,7 @@ const background = css.style({
|
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
}, "background");
|
|
27
|
-
|
|
27
|
+
fileScope.endFileScope();
|
|
28
28
|
exports.background = background;
|
|
29
29
|
exports.current = current;
|
|
30
30
|
exports.darkModeCurrentKeyline = darkModeCurrentKeyline;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const fileScope = require("@vanilla-extract/css/fileScope");
|
|
3
3
|
const css = require("@vanilla-extract/css");
|
|
4
4
|
const lib_css_colorModeStyle_cjs = require("../../css/colorModeStyle.cjs");
|
|
5
5
|
const lib_themes_vars_css_cjs = require("../../themes/vars.css.cjs");
|
|
6
|
-
|
|
6
|
+
fileScope.setFileScope("src/lib/components/Rating/Rating.css.ts", "braid-design-system");
|
|
7
7
|
const lightModeStarColor = css.style(lib_css_colorModeStyle_cjs.colorModeStyle({
|
|
8
8
|
lightMode: {
|
|
9
9
|
color: lib_themes_vars_css_cjs.vars.foregroundColor.rating
|
|
@@ -20,7 +20,7 @@ const starSpacing = css.style({
|
|
|
20
20
|
const textSpacing = css.style({
|
|
21
21
|
paddingLeft: "0.4em"
|
|
22
22
|
}, "textSpacing");
|
|
23
|
-
|
|
23
|
+
fileScope.endFileScope();
|
|
24
24
|
exports.darkModeStarColor = darkModeStarColor;
|
|
25
25
|
exports.lightModeStarColor = lightModeStarColor;
|
|
26
26
|
exports.starSpacing = starSpacing;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const fileScope = require("@vanilla-extract/css/fileScope");
|
|
3
3
|
const css = require("@vanilla-extract/css");
|
|
4
4
|
const cssUtils = require("@vanilla-extract/css-utils");
|
|
5
5
|
const lib_css_atoms_atoms_cjs = require("../../css/atoms/atoms.cjs");
|
|
@@ -7,7 +7,7 @@ const lib_css_colorModeStyle_cjs = require("../../css/colorModeStyle.cjs");
|
|
|
7
7
|
const lib_css_responsiveStyle_cjs = require("../../css/responsiveStyle.cjs");
|
|
8
8
|
const lib_themes_vars_css_cjs = require("../../themes/vars.css.cjs");
|
|
9
9
|
const lib_components_private_hideFocusRings_hideFocusRingsDataAttribute_cjs = require("../private/hideFocusRings/hideFocusRingsDataAttribute.cjs");
|
|
10
|
-
|
|
10
|
+
fileScope.setFileScope("src/lib/components/Stepper/Stepper.css.ts", "braid-design-system");
|
|
11
11
|
const baseColourVar = css.createVar("baseColourVar");
|
|
12
12
|
const highlightVar = css.createVar("highlightVar");
|
|
13
13
|
const stepIndicatorSize = lib_themes_vars_css_cjs.vars.inlineFieldSize.small;
|
|
@@ -149,7 +149,7 @@ const focusOverlay = css.style({
|
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
151
|
}, "focusOverlay");
|
|
152
|
-
|
|
152
|
+
fileScope.endFileScope();
|
|
153
153
|
exports.active = active;
|
|
154
154
|
exports.complete = complete;
|
|
155
155
|
exports.focusOverlay = focusOverlay;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const fileScope = require("@vanilla-extract/css/fileScope");
|
|
3
3
|
const css = require("@vanilla-extract/css");
|
|
4
4
|
const cssUtils = require("@vanilla-extract/css-utils");
|
|
5
5
|
const lib_css_colorModeStyle_cjs = require("../../css/colorModeStyle.cjs");
|
|
6
6
|
const lib_themes_vars_css_cjs = require("../../themes/vars.css.cjs");
|
|
7
|
-
|
|
7
|
+
fileScope.setFileScope("src/lib/components/Tabs/Tabs.css.ts", "braid-design-system");
|
|
8
8
|
const tab = css.style({
|
|
9
9
|
selectors: {
|
|
10
10
|
"&::-moz-focus-inner": {
|
|
@@ -76,7 +76,7 @@ const tabPanelFocusRing = css.style({
|
|
|
76
76
|
const divider = css.style({
|
|
77
77
|
height: lib_themes_vars_css_cjs.vars.borderWidth.standard
|
|
78
78
|
}, "divider");
|
|
79
|
-
|
|
79
|
+
fileScope.endFileScope();
|
|
80
80
|
exports.divider = divider;
|
|
81
81
|
exports.hoveredTab = hoveredTab;
|
|
82
82
|
exports.marginAuto = marginAuto;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const fileScope = require("@vanilla-extract/css/fileScope");
|
|
3
3
|
const css = require("@vanilla-extract/css");
|
|
4
|
-
|
|
4
|
+
fileScope.setFileScope("src/lib/components/Tag/Tag.css.ts", "braid-design-system");
|
|
5
5
|
const clearGutter = css.style({
|
|
6
6
|
paddingLeft: "1px"
|
|
7
7
|
}, "clearGutter");
|
|
8
|
-
|
|
8
|
+
fileScope.endFileScope();
|
|
9
9
|
exports.clearGutter = clearGutter;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const fileScope = require("@vanilla-extract/css/fileScope");
|
|
3
3
|
const css = require("@vanilla-extract/css");
|
|
4
4
|
const cssUtils = require("@vanilla-extract/css-utils");
|
|
5
5
|
const lib_themes_vars_css_cjs = require("../../themes/vars.css.cjs");
|
|
6
6
|
const lib_components_private_touchable_virtualTouchableRules_cjs = require("../private/touchable/virtualTouchableRules.cjs");
|
|
7
|
-
|
|
7
|
+
fileScope.setFileScope("src/lib/components/TextDropdown/TextDropdown.css.ts", "braid-design-system");
|
|
8
8
|
const select = css.style({
|
|
9
9
|
...lib_components_private_touchable_virtualTouchableRules_cjs.virtualTouchableRules
|
|
10
10
|
}, "select");
|
|
@@ -20,6 +20,6 @@ const focusOverlay = [css.style({
|
|
|
20
20
|
left: cssUtils.calc.negate(lib_themes_vars_css_cjs.vars.space.xxsmall),
|
|
21
21
|
right: cssUtils.calc.negate(lib_themes_vars_css_cjs.vars.space.xxsmall)
|
|
22
22
|
}, "focusOverlay")];
|
|
23
|
-
|
|
23
|
+
fileScope.endFileScope();
|
|
24
24
|
exports.focusOverlay = focusOverlay;
|
|
25
25
|
exports.select = select;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const fileScope = require("@vanilla-extract/css/fileScope");
|
|
3
3
|
const css = require("@vanilla-extract/css");
|
|
4
4
|
const lib_css_atoms_sprinkles_css_cjs = require("../../css/atoms/sprinkles.css.cjs");
|
|
5
5
|
const lib_themes_vars_css_cjs = require("../../themes/vars.css.cjs");
|
|
6
|
-
|
|
6
|
+
fileScope.setFileScope("src/lib/components/TextLink/TextLink.css.ts", "braid-design-system");
|
|
7
7
|
const textLinkVars = css.createThemeContract({
|
|
8
8
|
color: null,
|
|
9
9
|
colorHover: null
|
|
@@ -123,7 +123,7 @@ const visitedDarkMode = css.styleVariants({
|
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
125
|
}, "visitedDarkMode");
|
|
126
|
-
|
|
126
|
+
fileScope.endFileScope();
|
|
127
127
|
exports.base = base;
|
|
128
128
|
exports.regularLinkDarkMode = regularLinkDarkMode;
|
|
129
129
|
exports.regularLinkLightMode = regularLinkLightMode;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const fileScope = require("@vanilla-extract/css/fileScope");
|
|
3
3
|
const css = require("@vanilla-extract/css");
|
|
4
4
|
const lib_css_atoms_atoms_cjs = require("../../../css/atoms/atoms.cjs");
|
|
5
5
|
const lib_css_colorModeStyle_cjs = require("../../../css/colorModeStyle.cjs");
|
|
6
6
|
const lib_themes_vars_css_cjs = require("../../../themes/vars.css.cjs");
|
|
7
|
-
|
|
7
|
+
fileScope.setFileScope("src/lib/components/Textarea/Highlight/Highlight.css.ts", "braid-design-system");
|
|
8
8
|
const space = "2px";
|
|
9
9
|
const root = css.style([lib_css_atoms_atoms_cjs.atoms({
|
|
10
10
|
borderRadius: "small"
|
|
@@ -33,7 +33,7 @@ const caution = css.style([{
|
|
|
33
33
|
background: lib_themes_vars_css_cjs.vars.backgroundColor.cautionLight
|
|
34
34
|
}
|
|
35
35
|
})], "caution");
|
|
36
|
-
|
|
36
|
+
fileScope.endFileScope();
|
|
37
37
|
exports.caution = caution;
|
|
38
38
|
exports.critical = critical;
|
|
39
39
|
exports.root = root;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const fileScope = require("@vanilla-extract/css/fileScope");
|
|
3
3
|
const cssUtils = require("@vanilla-extract/css-utils");
|
|
4
4
|
const css = require("@vanilla-extract/css");
|
|
5
5
|
const lib_themes_vars_css_cjs = require("../../themes/vars.css.cjs");
|
|
6
|
-
|
|
6
|
+
fileScope.setFileScope("src/lib/components/Textarea/Textarea.css.ts", "braid-design-system");
|
|
7
7
|
const field = css.style({
|
|
8
8
|
resize: "vertical",
|
|
9
9
|
background: "transparent",
|
|
@@ -17,6 +17,6 @@ const highlights = css.style({
|
|
|
17
17
|
content: '"\\A"'
|
|
18
18
|
}
|
|
19
19
|
}, "highlights");
|
|
20
|
-
|
|
20
|
+
fileScope.endFileScope();
|
|
21
21
|
exports.field = field;
|
|
22
22
|
exports.highlights = highlights;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const fileScope = require("@vanilla-extract/css/fileScope");
|
|
3
3
|
const css = require("@vanilla-extract/css");
|
|
4
4
|
const lib_css_responsiveStyle_cjs = require("../../css/responsiveStyle.cjs");
|
|
5
|
-
|
|
5
|
+
fileScope.setFileScope("src/lib/components/Tiles/Tiles.css.ts", "braid-design-system");
|
|
6
6
|
const columnsWidths = {
|
|
7
7
|
1: "100%",
|
|
8
8
|
2: `${100 / 2}%`,
|
|
@@ -20,7 +20,7 @@ const columnsMobile = makeColumnsAtoms("mobile");
|
|
|
20
20
|
const columnsTablet = makeColumnsAtoms("tablet");
|
|
21
21
|
const columnsDesktop = makeColumnsAtoms("desktop");
|
|
22
22
|
const columnsWide = makeColumnsAtoms("wide");
|
|
23
|
-
|
|
23
|
+
fileScope.endFileScope();
|
|
24
24
|
exports.columnsDesktop = columnsDesktop;
|
|
25
25
|
exports.columnsMobile = columnsMobile;
|
|
26
26
|
exports.columnsTablet = columnsTablet;
|