@gnist/design-system 6.0.0-alpha.0 → 6.0.0-alpha.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 +18 -0
- package/dist/building-blocks/inputs/internal/textBelowInput.css.cjs +2 -2
- package/dist/building-blocks/inputs/internal/textBelowInput.css.js +2 -2
- package/dist/components/actions/buttons/styles.css.cjs +8 -9
- package/dist/components/actions/buttons/styles.css.d.ts.map +1 -1
- package/dist/components/actions/buttons/styles.css.js +8 -9
- package/dist/components/actions/chips/styles.css.cjs +3 -4
- package/dist/components/actions/chips/styles.css.d.ts.map +1 -1
- package/dist/components/actions/chips/styles.css.js +3 -4
- package/dist/components/actions/selectionControls/checkbox.css.cjs +3 -3
- package/dist/components/actions/selectionControls/checkbox.css.js +3 -3
- package/dist/components/actions/selectionControls/radiobutton.css.cjs +3 -3
- package/dist/components/actions/selectionControls/radiobutton.css.js +3 -3
- package/dist/components/actions/selectionControls/radiogroup.css.cjs +3 -4
- package/dist/components/actions/selectionControls/radiogroup.css.d.ts.map +1 -1
- package/dist/components/actions/selectionControls/radiogroup.css.js +3 -4
- package/dist/components/actions/selectionControls/shared.css.cjs +6 -7
- package/dist/components/actions/selectionControls/shared.css.d.ts.map +1 -1
- package/dist/components/actions/selectionControls/shared.css.js +6 -7
- package/dist/components/actions/selectionControls/switch.css.cjs +13 -14
- package/dist/components/actions/selectionControls/switch.css.d.ts.map +1 -1
- package/dist/components/actions/selectionControls/switch.css.js +13 -14
- package/dist/components/feedback/alerts/AlertBanner.css.cjs +7 -8
- package/dist/components/feedback/alerts/AlertBanner.css.d.ts.map +1 -1
- package/dist/components/feedback/alerts/AlertBanner.css.js +7 -8
- package/dist/components/feedback/loaders/loadingBar.css.cjs +3 -2
- package/dist/components/feedback/loaders/loadingBar.css.d.ts.map +1 -1
- package/dist/components/feedback/loaders/loadingBar.css.js +4 -3
- package/dist/components/feedback/loaders/loadingSpinner.css.cjs +2 -1
- package/dist/components/feedback/loaders/loadingSpinner.css.d.ts.map +1 -1
- package/dist/components/feedback/loaders/loadingSpinner.css.js +3 -2
- package/dist/components/feedback/notifications/lozenge.css.cjs +2 -2
- package/dist/components/feedback/notifications/lozenge.css.js +2 -2
- package/dist/components/feedback/progress/ProgressBar.css.cjs +4 -3
- package/dist/components/feedback/progress/ProgressBar.css.d.ts.map +1 -1
- package/dist/components/feedback/progress/ProgressBar.css.js +5 -4
- package/dist/components/inputs/dropdowns/select.css.cjs +7 -7
- package/dist/components/inputs/dropdowns/select.css.js +7 -7
- package/dist/components/inputs/pickers/Calendar.css.cjs +8 -8
- package/dist/components/inputs/pickers/Calendar.css.d.ts.map +1 -1
- package/dist/components/inputs/pickers/Calendar.css.js +9 -9
- package/dist/components/inputs/shared-styles/iconButtonOverlay.css.cjs +2 -2
- package/dist/components/inputs/shared-styles/iconButtonOverlay.css.js +2 -2
- package/dist/components/inputs/shared-styles/inputField.css.cjs +5 -6
- package/dist/components/inputs/shared-styles/inputField.css.d.ts.map +1 -1
- package/dist/components/inputs/shared-styles/inputField.css.js +5 -6
- package/dist/components/inputs/shared-styles/labelStyles.css.cjs +2 -2
- package/dist/components/inputs/shared-styles/labelStyles.css.js +2 -2
- package/dist/components/inputs/shared-styles/suffixPrefix.css.cjs +3 -3
- package/dist/components/inputs/shared-styles/suffixPrefix.css.js +3 -3
- package/dist/components/inputs/textFields/textArea.css.cjs +2 -2
- package/dist/components/inputs/textFields/textArea.css.js +2 -2
- package/dist/components/progress/spinner.css.cjs +2 -1
- package/dist/components/progress/spinner.css.d.ts.map +1 -1
- package/dist/components/progress/spinner.css.js +3 -2
- package/dist/components/surfaces/accordion/accordion.css.cjs +6 -6
- package/dist/components/surfaces/accordion/accordion.css.js +7 -7
- package/dist/components/surfaces/cards/cards.css.cjs +4 -5
- package/dist/components/surfaces/cards/cards.css.d.ts.map +1 -1
- package/dist/components/surfaces/cards/cards.css.js +4 -5
- package/dist/components/surfaces/cards/checkboxCard.css.cjs +2 -2
- package/dist/components/surfaces/cards/checkboxCard.css.js +2 -2
- package/dist/components/surfaces/cards/internal/SelectionCard.css.cjs +3 -3
- package/dist/components/surfaces/cards/internal/SelectionCard.css.js +3 -3
- package/dist/components/surfaces/modal/modal.css.cjs +10 -10
- package/dist/components/surfaces/modal/modal.css.js +11 -11
- package/dist/foundation/iconography/Icon.css.cjs +3 -2
- package/dist/foundation/iconography/Icon.css.d.ts.map +1 -1
- package/dist/foundation/iconography/Icon.css.js +4 -3
- package/dist/foundation/logos/Logo.css.cjs +5 -4
- package/dist/foundation/logos/Logo.css.d.ts.map +1 -1
- package/dist/foundation/logos/Logo.css.js +6 -5
- package/dist/foundation/typography/typography.css.cjs +2 -2
- package/dist/foundation/typography/typography.css.js +2 -2
- package/dist/styles/animations.css.cjs +2 -2
- package/dist/styles/animations.css.js +2 -2
- package/dist/styles/states.css.cjs +4 -5
- package/dist/styles/states.css.d.ts.map +1 -1
- package/dist/styles/states.css.js +4 -5
- package/dist/utilities/accessibility/visuallyHidden.css.cjs +2 -2
- package/dist/utilities/accessibility/visuallyHidden.css.js +2 -2
- package/dist/utilities/layout/styles.css.cjs +3 -3
- package/dist/utilities/layout/styles.css.js +3 -3
- package/package.json +3 -3
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { atoms } from "@gnist/themes/atoms.css.js";
|
|
3
|
+
import { gnistRecipe } from "@gnist/themes/layers.css.js";
|
|
3
4
|
import { tokens } from "@gnist/themes/tokens.css.js";
|
|
4
5
|
import { calc } from "@vanilla-extract/css-utils";
|
|
5
|
-
import { recipe } from "@vanilla-extract/recipes";
|
|
6
6
|
import { inputFieldStyle } from "./inputField.css.js";
|
|
7
7
|
import { transitionTime, preInputWidth } from "./inputFieldConstants.css.js";
|
|
8
8
|
const elevatedLabel = (color) => ({
|
|
@@ -25,7 +25,7 @@ const elevatedLabelBackground = (backgroundColor) => ({
|
|
|
25
25
|
top: "5px",
|
|
26
26
|
height: tokens.stroke.medium
|
|
27
27
|
});
|
|
28
|
-
const labelStyle =
|
|
28
|
+
const labelStyle = gnistRecipe({
|
|
29
29
|
base: {
|
|
30
30
|
zIndex: 1,
|
|
31
31
|
position: "relative",
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
4
|
const atoms_css_js = require("@gnist/themes/atoms.css.js");
|
|
5
|
-
const
|
|
6
|
-
const prefixStyle =
|
|
5
|
+
const layers_css_js = require("@gnist/themes/layers.css.js");
|
|
6
|
+
const prefixStyle = layers_css_js.gnistStyle([
|
|
7
7
|
atoms_css_js.atoms({ color: "text-variant", paddingRight: "xxs" })
|
|
8
8
|
]);
|
|
9
|
-
const suffixStyle =
|
|
9
|
+
const suffixStyle = layers_css_js.gnistStyle([
|
|
10
10
|
atoms_css_js.atoms({ color: "text-variant", paddingLeft: "xxs" })
|
|
11
11
|
]);
|
|
12
12
|
exports.prefixStyle = prefixStyle;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { atoms } from "@gnist/themes/atoms.css.js";
|
|
3
|
-
import {
|
|
4
|
-
const prefixStyle =
|
|
3
|
+
import { gnistStyle } from "@gnist/themes/layers.css.js";
|
|
4
|
+
const prefixStyle = gnistStyle([
|
|
5
5
|
atoms({ color: "text-variant", paddingRight: "xxs" })
|
|
6
6
|
]);
|
|
7
|
-
const suffixStyle =
|
|
7
|
+
const suffixStyle = gnistStyle([
|
|
8
8
|
atoms({ color: "text-variant", paddingLeft: "xxs" })
|
|
9
9
|
]);
|
|
10
10
|
export {
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
4
|
const atoms_css_js = require("@gnist/themes/atoms.css.js");
|
|
5
|
-
const
|
|
6
|
-
const wordCounterStyle =
|
|
5
|
+
const layers_css_js = require("@gnist/themes/layers.css.js");
|
|
6
|
+
const wordCounterStyle = layers_css_js.gnistRecipe({
|
|
7
7
|
base: atoms_css_js.atoms({
|
|
8
8
|
display: "flex",
|
|
9
9
|
backgroundColor: "surface",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { atoms } from "@gnist/themes/atoms.css.js";
|
|
3
|
-
import {
|
|
4
|
-
const wordCounterStyle =
|
|
3
|
+
import { gnistRecipe } from "@gnist/themes/layers.css.js";
|
|
4
|
+
const wordCounterStyle = gnistRecipe({
|
|
5
5
|
base: atoms({
|
|
6
6
|
display: "flex",
|
|
7
7
|
backgroundColor: "surface",
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
4
|
const atoms_css_js = require("@gnist/themes/atoms.css.js");
|
|
5
|
+
const layers_css_js = require("@gnist/themes/layers.css.js");
|
|
5
6
|
const css = require("@vanilla-extract/css");
|
|
6
7
|
const rotate360 = css.keyframes({
|
|
7
8
|
"0%": { transform: "rotate(0deg)" },
|
|
@@ -11,7 +12,7 @@ const fadeIn = css.keyframes({
|
|
|
11
12
|
"0%": { opacity: 0 },
|
|
12
13
|
"100%": { opacity: 1 }
|
|
13
14
|
});
|
|
14
|
-
const spinnerRecipe =
|
|
15
|
+
const spinnerRecipe = layers_css_js.gnistStyle([
|
|
15
16
|
atoms_css_js.atoms({ borderWidth: "medium" }),
|
|
16
17
|
{
|
|
17
18
|
position: "absolute",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spinner.css.d.ts","sourceRoot":"","sources":["../../../src/components/progress/spinner.css.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"spinner.css.d.ts","sourceRoot":"","sources":["../../../src/components/progress/spinner.css.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,aAAa,QAYxB,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { atoms } from "@gnist/themes/atoms.css.js";
|
|
3
|
-
import {
|
|
3
|
+
import { gnistStyle } from "@gnist/themes/layers.css.js";
|
|
4
|
+
import { keyframes } from "@vanilla-extract/css";
|
|
4
5
|
const rotate360 = keyframes({
|
|
5
6
|
"0%": { transform: "rotate(0deg)" },
|
|
6
7
|
"100%": { transform: "rotate(360deg)" }
|
|
@@ -9,7 +10,7 @@ const fadeIn = keyframes({
|
|
|
9
10
|
"0%": { opacity: 0 },
|
|
10
11
|
"100%": { opacity: 1 }
|
|
11
12
|
});
|
|
12
|
-
const spinnerRecipe =
|
|
13
|
+
const spinnerRecipe = gnistStyle([
|
|
13
14
|
atoms({ borderWidth: "medium" }),
|
|
14
15
|
{
|
|
15
16
|
position: "absolute",
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
4
|
const atoms_css_js = require("@gnist/themes/atoms.css.js");
|
|
5
|
+
const layers_css_js = require("@gnist/themes/layers.css.js");
|
|
5
6
|
const tokens_css_js = require("@gnist/themes/tokens.css.js");
|
|
6
7
|
const css = require("@vanilla-extract/css");
|
|
7
|
-
const
|
|
8
|
-
const accordionRecipe = recipes.recipe({
|
|
8
|
+
const accordionRecipe = layers_css_js.gnistRecipe({
|
|
9
9
|
base: [
|
|
10
10
|
atoms_css_js.atoms({
|
|
11
11
|
color: "on-background"
|
|
@@ -25,7 +25,7 @@ const accordionRecipe = recipes.recipe({
|
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
});
|
|
28
|
-
const head =
|
|
28
|
+
const head = layers_css_js.gnistStyle([
|
|
29
29
|
atoms_css_js.atoms({
|
|
30
30
|
display: "flex",
|
|
31
31
|
justifyContent: "space-between",
|
|
@@ -43,13 +43,13 @@ const head = css.style([
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
]);
|
|
46
|
-
const heading =
|
|
46
|
+
const heading = layers_css_js.gnistStyle([
|
|
47
47
|
atoms_css_js.atoms({ typography: "heading3-small" }),
|
|
48
48
|
{
|
|
49
49
|
fontSize: tokens_css_js.tokens.type.medium.body.fontSize
|
|
50
50
|
}
|
|
51
51
|
]);
|
|
52
|
-
const headBackground =
|
|
52
|
+
const headBackground = layers_css_js.gnistStyle({
|
|
53
53
|
position: "absolute",
|
|
54
54
|
width: "100%",
|
|
55
55
|
height: "100%",
|
|
@@ -61,7 +61,7 @@ const headBackground = css.style({
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
});
|
|
64
|
-
const body =
|
|
64
|
+
const body = layers_css_js.gnistStyle({
|
|
65
65
|
padding: `${tokens_css_js.tokens.spacing.xxs} ${tokens_css_js.tokens.spacing.xxs} ${tokens_css_js.tokens.spacing.s}`
|
|
66
66
|
});
|
|
67
67
|
css.globalStyle("summary::-webkit-details-marker", {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { atoms } from "@gnist/themes/atoms.css.js";
|
|
3
|
+
import { gnistRecipe, gnistStyle } from "@gnist/themes/layers.css.js";
|
|
3
4
|
import { tokens } from "@gnist/themes/tokens.css.js";
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
const accordionRecipe = recipe({
|
|
5
|
+
import { globalStyle } from "@vanilla-extract/css";
|
|
6
|
+
const accordionRecipe = gnistRecipe({
|
|
7
7
|
base: [
|
|
8
8
|
atoms({
|
|
9
9
|
color: "on-background"
|
|
@@ -23,7 +23,7 @@ const accordionRecipe = recipe({
|
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
});
|
|
26
|
-
const head =
|
|
26
|
+
const head = gnistStyle([
|
|
27
27
|
atoms({
|
|
28
28
|
display: "flex",
|
|
29
29
|
justifyContent: "space-between",
|
|
@@ -41,13 +41,13 @@ const head = style([
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
]);
|
|
44
|
-
const heading =
|
|
44
|
+
const heading = gnistStyle([
|
|
45
45
|
atoms({ typography: "heading3-small" }),
|
|
46
46
|
{
|
|
47
47
|
fontSize: tokens.type.medium.body.fontSize
|
|
48
48
|
}
|
|
49
49
|
]);
|
|
50
|
-
const headBackground =
|
|
50
|
+
const headBackground = gnistStyle({
|
|
51
51
|
position: "absolute",
|
|
52
52
|
width: "100%",
|
|
53
53
|
height: "100%",
|
|
@@ -59,7 +59,7 @@ const headBackground = style({
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
});
|
|
62
|
-
const body =
|
|
62
|
+
const body = gnistStyle({
|
|
63
63
|
padding: `${tokens.spacing.xxs} ${tokens.spacing.xxs} ${tokens.spacing.s}`
|
|
64
64
|
});
|
|
65
65
|
globalStyle("summary::-webkit-details-marker", {
|
|
@@ -5,11 +5,10 @@ const animations_css = require("../../../styles/animations.css.cjs");
|
|
|
5
5
|
const states_css = require("../../../styles/states.css.cjs");
|
|
6
6
|
const atoms_css_js = require("@gnist/themes/atoms.css.js");
|
|
7
7
|
const colors_css_js = require("@gnist/themes/colors.css.js");
|
|
8
|
+
const layers_css_js = require("@gnist/themes/layers.css.js");
|
|
8
9
|
const tokens_css_js = require("@gnist/themes/tokens.css.js");
|
|
9
10
|
const typography_css_js = require("@gnist/themes/typography.css.js");
|
|
10
|
-
const
|
|
11
|
-
const recipes = require("@vanilla-extract/recipes");
|
|
12
|
-
const cardsBase = css.style([
|
|
11
|
+
const cardsBase = layers_css_js.gnistStyle([
|
|
13
12
|
atoms_css_js.atoms({
|
|
14
13
|
display: "block",
|
|
15
14
|
boxShadow: "low",
|
|
@@ -22,7 +21,7 @@ const cardsBase = css.style([
|
|
|
22
21
|
textDecoration: "none"
|
|
23
22
|
}
|
|
24
23
|
]);
|
|
25
|
-
const actionLayers =
|
|
24
|
+
const actionLayers = layers_css_js.gnistStyle([
|
|
26
25
|
animations_css.clickAnimation,
|
|
27
26
|
states_css.focusStyle,
|
|
28
27
|
states_css.stateLayers({
|
|
@@ -32,7 +31,7 @@ const actionLayers = css.style([
|
|
|
32
31
|
setFocusState: true
|
|
33
32
|
})
|
|
34
33
|
]);
|
|
35
|
-
const cardsRecipe =
|
|
34
|
+
const cardsRecipe = layers_css_js.gnistRecipe({
|
|
36
35
|
base: [cardsBase],
|
|
37
36
|
variants: {
|
|
38
37
|
density: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cards.css.d.ts","sourceRoot":"","sources":["../../../../src/components/surfaces/cards/cards.css.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cards.css.d.ts","sourceRoot":"","sources":["../../../../src/components/surfaces/cards/cards.css.ts"],"names":[],"mappings":"AAoCA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiDtB,CAAC"}
|
|
@@ -3,11 +3,10 @@ import { clickAnimation } from "../../../styles/animations.css.js";
|
|
|
3
3
|
import { focusStyle, stateLayers } from "../../../styles/states.css.js";
|
|
4
4
|
import { atoms } from "@gnist/themes/atoms.css.js";
|
|
5
5
|
import { boxColors } from "@gnist/themes/colors.css.js";
|
|
6
|
+
import { gnistStyle, gnistRecipe } from "@gnist/themes/layers.css.js";
|
|
6
7
|
import { tokens } from "@gnist/themes/tokens.css.js";
|
|
7
8
|
import { responsiveTypography } from "@gnist/themes/typography.css.js";
|
|
8
|
-
|
|
9
|
-
import { recipe } from "@vanilla-extract/recipes";
|
|
10
|
-
const cardsBase = style([
|
|
9
|
+
const cardsBase = gnistStyle([
|
|
11
10
|
atoms({
|
|
12
11
|
display: "block",
|
|
13
12
|
boxShadow: "low",
|
|
@@ -20,7 +19,7 @@ const cardsBase = style([
|
|
|
20
19
|
textDecoration: "none"
|
|
21
20
|
}
|
|
22
21
|
]);
|
|
23
|
-
const actionLayers =
|
|
22
|
+
const actionLayers = gnistStyle([
|
|
24
23
|
clickAnimation,
|
|
25
24
|
focusStyle,
|
|
26
25
|
stateLayers({
|
|
@@ -30,7 +29,7 @@ const actionLayers = style([
|
|
|
30
29
|
setFocusState: true
|
|
31
30
|
})
|
|
32
31
|
]);
|
|
33
|
-
const cardsRecipe =
|
|
32
|
+
const cardsRecipe = gnistRecipe({
|
|
34
33
|
base: [cardsBase],
|
|
35
34
|
variants: {
|
|
36
35
|
density: {
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
4
|
const atoms_css_js = require("@gnist/themes/atoms.css.js");
|
|
5
|
+
const layers_css_js = require("@gnist/themes/layers.css.js");
|
|
5
6
|
const tokens_css_js = require("@gnist/themes/tokens.css.js");
|
|
6
|
-
const
|
|
7
|
-
const StyledCardRecipe = recipes.recipe({
|
|
7
|
+
const StyledCardRecipe = layers_css_js.gnistRecipe({
|
|
8
8
|
base: [
|
|
9
9
|
atoms_css_js.atoms({
|
|
10
10
|
display: "flex",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { atoms } from "@gnist/themes/atoms.css.js";
|
|
3
|
+
import { gnistRecipe } from "@gnist/themes/layers.css.js";
|
|
3
4
|
import { tokens } from "@gnist/themes/tokens.css.js";
|
|
4
|
-
|
|
5
|
-
const StyledCardRecipe = recipe({
|
|
5
|
+
const StyledCardRecipe = gnistRecipe({
|
|
6
6
|
base: [
|
|
7
7
|
atoms({
|
|
8
8
|
display: "flex",
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
4
|
const atoms_css_js = require("@gnist/themes/atoms.css.js");
|
|
5
|
-
const
|
|
6
|
-
const cardDescription =
|
|
5
|
+
const layers_css_js = require("@gnist/themes/layers.css.js");
|
|
6
|
+
const cardDescription = layers_css_js.gnistRecipe({
|
|
7
7
|
base: [atoms_css_js.atoms({ display: "block" })],
|
|
8
8
|
variants: {
|
|
9
9
|
density: {
|
|
@@ -21,7 +21,7 @@ const cardDescription = recipes.recipe({
|
|
|
21
21
|
},
|
|
22
22
|
defaultVariants: { density: "default" }
|
|
23
23
|
});
|
|
24
|
-
const SelectionControlSkeletonRecipe =
|
|
24
|
+
const SelectionControlSkeletonRecipe = layers_css_js.gnistRecipe({
|
|
25
25
|
base: [
|
|
26
26
|
atoms_css_js.atoms({
|
|
27
27
|
height: "s",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { atoms } from "@gnist/themes/atoms.css.js";
|
|
3
|
-
import {
|
|
4
|
-
const cardDescription =
|
|
3
|
+
import { gnistRecipe } from "@gnist/themes/layers.css.js";
|
|
4
|
+
const cardDescription = gnistRecipe({
|
|
5
5
|
base: [atoms({ display: "block" })],
|
|
6
6
|
variants: {
|
|
7
7
|
density: {
|
|
@@ -19,7 +19,7 @@ const cardDescription = recipe({
|
|
|
19
19
|
},
|
|
20
20
|
defaultVariants: { density: "default" }
|
|
21
21
|
});
|
|
22
|
-
const SelectionControlSkeletonRecipe =
|
|
22
|
+
const SelectionControlSkeletonRecipe = gnistRecipe({
|
|
23
23
|
base: [
|
|
24
24
|
atoms({
|
|
25
25
|
height: "s",
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
4
|
const atoms_css_js = require("@gnist/themes/atoms.css.js");
|
|
5
|
+
const layers_css_js = require("@gnist/themes/layers.css.js");
|
|
5
6
|
const tokens_css_js = require("@gnist/themes/tokens.css.js");
|
|
6
7
|
const css = require("@vanilla-extract/css");
|
|
7
8
|
const cssUtils = require("@vanilla-extract/css-utils");
|
|
8
|
-
const
|
|
9
|
-
const backdropStyle = css.style({
|
|
9
|
+
const backdropStyle = layers_css_js.gnistStyle({
|
|
10
10
|
zIndex: -1,
|
|
11
11
|
position: "fixed",
|
|
12
12
|
right: 0,
|
|
@@ -16,7 +16,7 @@ const backdropStyle = css.style({
|
|
|
16
16
|
backgroundColor: "rgba(0, 0, 0, 0.5)",
|
|
17
17
|
WebkitTapHighlightColor: "transparent"
|
|
18
18
|
});
|
|
19
|
-
const modalStyle =
|
|
19
|
+
const modalStyle = layers_css_js.gnistStyle({
|
|
20
20
|
position: "fixed",
|
|
21
21
|
zIndex: 1300,
|
|
22
22
|
right: 0,
|
|
@@ -36,7 +36,7 @@ const modalStyle = css.style({
|
|
|
36
36
|
margin: 0,
|
|
37
37
|
padding: 0
|
|
38
38
|
});
|
|
39
|
-
const modalHeadingStyle =
|
|
39
|
+
const modalHeadingStyle = layers_css_js.gnistStyle({
|
|
40
40
|
fontWeight: tokens_css_js.tokens.typeface.weight.semibold
|
|
41
41
|
});
|
|
42
42
|
const dialogPadding = (size) => {
|
|
@@ -51,7 +51,7 @@ const dialogPadding = (size) => {
|
|
|
51
51
|
return tokens_css_js.tokens.spacing.m;
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
|
-
const dialogRecipe =
|
|
54
|
+
const dialogRecipe = layers_css_js.gnistRecipe({
|
|
55
55
|
base: [
|
|
56
56
|
atoms_css_js.atoms({
|
|
57
57
|
color: "on-surface",
|
|
@@ -104,12 +104,12 @@ const dialogRecipe = recipes.recipe({
|
|
|
104
104
|
size: "medium"
|
|
105
105
|
}
|
|
106
106
|
});
|
|
107
|
-
const headerRowPaddingBySize = (size) =>
|
|
107
|
+
const headerRowPaddingBySize = (size) => layers_css_js.gnistStyle({
|
|
108
108
|
paddingTop: dialogPadding(size),
|
|
109
109
|
paddingRight: dialogPadding(size),
|
|
110
110
|
paddingLeft: dialogPadding(size)
|
|
111
111
|
});
|
|
112
|
-
const headerRowRecipe =
|
|
112
|
+
const headerRowRecipe = layers_css_js.gnistRecipe({
|
|
113
113
|
base: [
|
|
114
114
|
{
|
|
115
115
|
position: "sticky",
|
|
@@ -144,7 +144,7 @@ const headerRowRecipe = recipes.recipe({
|
|
|
144
144
|
}
|
|
145
145
|
]
|
|
146
146
|
});
|
|
147
|
-
const contentContainerRecipe =
|
|
147
|
+
const contentContainerRecipe = layers_css_js.gnistRecipe({
|
|
148
148
|
base: [
|
|
149
149
|
atoms_css_js.atoms({
|
|
150
150
|
display: "flex",
|
|
@@ -210,12 +210,12 @@ const contentContainerRecipe = recipes.recipe({
|
|
|
210
210
|
}
|
|
211
211
|
]
|
|
212
212
|
});
|
|
213
|
-
const actionRowPaddingBySize = (size) =>
|
|
213
|
+
const actionRowPaddingBySize = (size) => layers_css_js.gnistStyle({
|
|
214
214
|
paddingTop: cssUtils.calc(dialogPadding(size)).add(tokens_css_js.tokens.spacing.xxs).toString(),
|
|
215
215
|
paddingRight: dialogPadding(size),
|
|
216
216
|
paddingLeft: dialogPadding(size)
|
|
217
217
|
});
|
|
218
|
-
const actionRowRecipe =
|
|
218
|
+
const actionRowRecipe = layers_css_js.gnistRecipe({
|
|
219
219
|
base: [
|
|
220
220
|
atoms_css_js.atoms({
|
|
221
221
|
display: "flex",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { atoms } from "@gnist/themes/atoms.css.js";
|
|
3
|
+
import { gnistStyle, gnistRecipe } from "@gnist/themes/layers.css.js";
|
|
3
4
|
import { tokens } from "@gnist/themes/tokens.css.js";
|
|
4
|
-
import {
|
|
5
|
+
import { globalStyle } from "@vanilla-extract/css";
|
|
5
6
|
import { calc } from "@vanilla-extract/css-utils";
|
|
6
|
-
|
|
7
|
-
const backdropStyle = style({
|
|
7
|
+
const backdropStyle = gnistStyle({
|
|
8
8
|
zIndex: -1,
|
|
9
9
|
position: "fixed",
|
|
10
10
|
right: 0,
|
|
@@ -14,7 +14,7 @@ const backdropStyle = style({
|
|
|
14
14
|
backgroundColor: "rgba(0, 0, 0, 0.5)",
|
|
15
15
|
WebkitTapHighlightColor: "transparent"
|
|
16
16
|
});
|
|
17
|
-
const modalStyle =
|
|
17
|
+
const modalStyle = gnistStyle({
|
|
18
18
|
position: "fixed",
|
|
19
19
|
zIndex: 1300,
|
|
20
20
|
right: 0,
|
|
@@ -34,7 +34,7 @@ const modalStyle = style({
|
|
|
34
34
|
margin: 0,
|
|
35
35
|
padding: 0
|
|
36
36
|
});
|
|
37
|
-
const modalHeadingStyle =
|
|
37
|
+
const modalHeadingStyle = gnistStyle({
|
|
38
38
|
fontWeight: tokens.typeface.weight.semibold
|
|
39
39
|
});
|
|
40
40
|
const dialogPadding = (size) => {
|
|
@@ -49,7 +49,7 @@ const dialogPadding = (size) => {
|
|
|
49
49
|
return tokens.spacing.m;
|
|
50
50
|
}
|
|
51
51
|
};
|
|
52
|
-
const dialogRecipe =
|
|
52
|
+
const dialogRecipe = gnistRecipe({
|
|
53
53
|
base: [
|
|
54
54
|
atoms({
|
|
55
55
|
color: "on-surface",
|
|
@@ -102,12 +102,12 @@ const dialogRecipe = recipe({
|
|
|
102
102
|
size: "medium"
|
|
103
103
|
}
|
|
104
104
|
});
|
|
105
|
-
const headerRowPaddingBySize = (size) =>
|
|
105
|
+
const headerRowPaddingBySize = (size) => gnistStyle({
|
|
106
106
|
paddingTop: dialogPadding(size),
|
|
107
107
|
paddingRight: dialogPadding(size),
|
|
108
108
|
paddingLeft: dialogPadding(size)
|
|
109
109
|
});
|
|
110
|
-
const headerRowRecipe =
|
|
110
|
+
const headerRowRecipe = gnistRecipe({
|
|
111
111
|
base: [
|
|
112
112
|
{
|
|
113
113
|
position: "sticky",
|
|
@@ -142,7 +142,7 @@ const headerRowRecipe = recipe({
|
|
|
142
142
|
}
|
|
143
143
|
]
|
|
144
144
|
});
|
|
145
|
-
const contentContainerRecipe =
|
|
145
|
+
const contentContainerRecipe = gnistRecipe({
|
|
146
146
|
base: [
|
|
147
147
|
atoms({
|
|
148
148
|
display: "flex",
|
|
@@ -208,12 +208,12 @@ const contentContainerRecipe = recipe({
|
|
|
208
208
|
}
|
|
209
209
|
]
|
|
210
210
|
});
|
|
211
|
-
const actionRowPaddingBySize = (size) =>
|
|
211
|
+
const actionRowPaddingBySize = (size) => gnistStyle({
|
|
212
212
|
paddingTop: calc(dialogPadding(size)).add(tokens.spacing.xxs).toString(),
|
|
213
213
|
paddingRight: dialogPadding(size),
|
|
214
214
|
paddingLeft: dialogPadding(size)
|
|
215
215
|
});
|
|
216
|
-
const actionRowRecipe =
|
|
216
|
+
const actionRowRecipe = gnistRecipe({
|
|
217
217
|
base: [
|
|
218
218
|
atoms({
|
|
219
219
|
display: "flex",
|
|
@@ -2,14 +2,15 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
4
|
const atoms_css_js = require("@gnist/themes/atoms.css.js");
|
|
5
|
+
const layers_css_js = require("@gnist/themes/layers.css.js");
|
|
5
6
|
const css = require("@vanilla-extract/css");
|
|
6
7
|
const svgHeight = css.createVar();
|
|
7
8
|
const svgWidth = css.createVar();
|
|
8
|
-
const iconContainer =
|
|
9
|
+
const iconContainer = layers_css_js.gnistStyle([
|
|
9
10
|
{ display: "inline-flex" },
|
|
10
11
|
atoms_css_js.atoms({ justifyContent: "center", alignItems: "center" })
|
|
11
12
|
]);
|
|
12
|
-
const svg =
|
|
13
|
+
const svg = layers_css_js.gnistStyle({
|
|
13
14
|
overflow: "visible",
|
|
14
15
|
height: svgHeight,
|
|
15
16
|
width: svgWidth,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.css.d.ts","sourceRoot":"","sources":["../../../src/foundation/iconography/Icon.css.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Icon.css.d.ts","sourceRoot":"","sources":["../../../src/foundation/iconography/Icon.css.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,SAAS,oBAAc,CAAC;AACrC,eAAO,MAAM,QAAQ,oBAAc,CAAC;AAEpC,eAAO,MAAM,aAAa,QAGxB,CAAC;AAEH,eAAO,MAAM,GAAG,QAKd,CAAC"}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { atoms } from "@gnist/themes/atoms.css.js";
|
|
3
|
-
import {
|
|
3
|
+
import { gnistStyle } from "@gnist/themes/layers.css.js";
|
|
4
|
+
import { createVar } from "@vanilla-extract/css";
|
|
4
5
|
const svgHeight = createVar();
|
|
5
6
|
const svgWidth = createVar();
|
|
6
|
-
const iconContainer =
|
|
7
|
+
const iconContainer = gnistStyle([
|
|
7
8
|
{ display: "inline-flex" },
|
|
8
9
|
atoms({ justifyContent: "center", alignItems: "center" })
|
|
9
10
|
]);
|
|
10
|
-
const svg =
|
|
11
|
+
const svg = gnistStyle({
|
|
11
12
|
overflow: "visible",
|
|
12
13
|
height: svgHeight,
|
|
13
14
|
width: svgWidth,
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
|
+
const layers_css_js = require("@gnist/themes/layers.css.js");
|
|
4
5
|
const brandlessTokens_js = require("@gnist/themes/themes/brandlessTokens.js");
|
|
5
6
|
const css = require("@vanilla-extract/css");
|
|
6
|
-
const base =
|
|
7
|
+
const base = layers_css_js.gnistStyle({
|
|
7
8
|
display: "inline-flex",
|
|
8
9
|
justifyContent: "center",
|
|
9
10
|
alignItems: "center"
|
|
10
11
|
});
|
|
11
|
-
const svg =
|
|
12
|
+
const svg = layers_css_js.gnistStyle({
|
|
12
13
|
overflow: "visible"
|
|
13
14
|
});
|
|
14
15
|
const sizes = Object.keys(brandlessTokens_js.brandlessTokens.size);
|
|
15
|
-
const styles = (
|
|
16
|
-
acc[x] = [
|
|
16
|
+
const styles = (style) => sizes.reduce((acc, x) => {
|
|
17
|
+
acc[x] = [style, { height: brandlessTokens_js.brandlessTokens.size[x] }];
|
|
17
18
|
return acc;
|
|
18
19
|
}, {});
|
|
19
20
|
const logoVariant = css.styleVariants(styles(base));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Logo.css.d.ts","sourceRoot":"","sources":["../../../src/foundation/logos/Logo.css.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Logo.css.d.ts","sourceRoot":"","sources":["../../../src/foundation/logos/Logo.css.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,GAAG,QAEd,CAAC;AAYH,eAAO,MAAM,WAAW,iCAA8B,CAAC;AACvD,eAAO,MAAM,UAAU,iCAA6B,CAAC"}
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { gnistStyle } from "@gnist/themes/layers.css.js";
|
|
2
3
|
import { brandlessTokens } from "@gnist/themes/themes/brandlessTokens.js";
|
|
3
|
-
import {
|
|
4
|
-
const base =
|
|
4
|
+
import { styleVariants } from "@vanilla-extract/css";
|
|
5
|
+
const base = gnistStyle({
|
|
5
6
|
display: "inline-flex",
|
|
6
7
|
justifyContent: "center",
|
|
7
8
|
alignItems: "center"
|
|
8
9
|
});
|
|
9
|
-
const svg =
|
|
10
|
+
const svg = gnistStyle({
|
|
10
11
|
overflow: "visible"
|
|
11
12
|
});
|
|
12
13
|
const sizes = Object.keys(brandlessTokens.size);
|
|
13
|
-
const styles = (
|
|
14
|
-
acc[x] = [
|
|
14
|
+
const styles = (style) => sizes.reduce((acc, x) => {
|
|
15
|
+
acc[x] = [style, { height: brandlessTokens.size[x] }];
|
|
15
16
|
return acc;
|
|
16
17
|
}, {});
|
|
17
18
|
const logoVariant = styleVariants(styles(base));
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
|
+
const layers_css_js = require("@gnist/themes/layers.css.js");
|
|
4
5
|
const typography_css_js = require("@gnist/themes/typography.css.js");
|
|
5
|
-
const css = require("@vanilla-extract/css");
|
|
6
6
|
const displayText = typography_css_js.responsiveTypography["display"];
|
|
7
7
|
const heading1Text = typography_css_js.responsiveTypography["heading1"];
|
|
8
8
|
const heading2Text = typography_css_js.responsiveTypography["heading2"];
|
|
9
9
|
const heading3Text = typography_css_js.responsiveTypography["heading3"];
|
|
10
10
|
const leadText = typography_css_js.responsiveTypography["lead"];
|
|
11
11
|
const bodyText = typography_css_js.responsiveTypography["body"];
|
|
12
|
-
const linkText =
|
|
12
|
+
const linkText = layers_css_js.gnistStyle([
|
|
13
13
|
{
|
|
14
14
|
selectors: {
|
|
15
15
|
"&, &:visited, &:hover, &:active": {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { gnistStyle } from "@gnist/themes/layers.css.js";
|
|
2
3
|
import { responsiveTypography } from "@gnist/themes/typography.css.js";
|
|
3
|
-
import { style } from "@vanilla-extract/css";
|
|
4
4
|
const displayText = responsiveTypography["display"];
|
|
5
5
|
const heading1Text = responsiveTypography["heading1"];
|
|
6
6
|
const heading2Text = responsiveTypography["heading2"];
|
|
7
7
|
const heading3Text = responsiveTypography["heading3"];
|
|
8
8
|
const leadText = responsiveTypography["lead"];
|
|
9
9
|
const bodyText = responsiveTypography["body"];
|
|
10
|
-
const linkText =
|
|
10
|
+
const linkText = gnistStyle([
|
|
11
11
|
{
|
|
12
12
|
selectors: {
|
|
13
13
|
"&, &:visited, &:hover, &:active": {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
|
-
const
|
|
5
|
-
const clickAnimation =
|
|
4
|
+
const layers_css_js = require("@gnist/themes/layers.css.js");
|
|
5
|
+
const clickAnimation = layers_css_js.gnistStyle({
|
|
6
6
|
transition: "transform ease-in 0.1s",
|
|
7
7
|
selectors: {
|
|
8
8
|
"&:active:not(:disabled)": {
|