@gnist/design-system 6.3.1 → 7.0.0-alpha.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.
Files changed (86) hide show
  1. package/CHANGELOG.md +34 -6
  2. package/README.md +1 -0
  3. package/dist/building-blocks/inputs/internal/textBelowInput.css.cjs +1 -1
  4. package/dist/building-blocks/inputs/internal/textBelowInput.css.js +2 -2
  5. package/dist/components/actions/buttons/styles.css.cjs +8 -9
  6. package/dist/components/actions/buttons/styles.css.d.ts.map +1 -1
  7. package/dist/components/actions/buttons/styles.css.js +8 -9
  8. package/dist/components/actions/chips/styles.css.cjs +3 -3
  9. package/dist/components/actions/chips/styles.css.d.ts.map +1 -1
  10. package/dist/components/actions/chips/styles.css.js +3 -4
  11. package/dist/components/actions/selectionControls/checkbox.css.cjs +3 -3
  12. package/dist/components/actions/selectionControls/checkbox.css.js +3 -3
  13. package/dist/components/actions/selectionControls/radiobutton.css.cjs +3 -3
  14. package/dist/components/actions/selectionControls/radiobutton.css.js +3 -3
  15. package/dist/components/actions/selectionControls/radiogroup.css.cjs +3 -3
  16. package/dist/components/actions/selectionControls/radiogroup.css.d.ts.map +1 -1
  17. package/dist/components/actions/selectionControls/radiogroup.css.js +3 -4
  18. package/dist/components/actions/selectionControls/shared.css.cjs +6 -7
  19. package/dist/components/actions/selectionControls/shared.css.d.ts.map +1 -1
  20. package/dist/components/actions/selectionControls/shared.css.js +6 -7
  21. package/dist/components/actions/selectionControls/switch.css.cjs +13 -14
  22. package/dist/components/actions/selectionControls/switch.css.d.ts.map +1 -1
  23. package/dist/components/actions/selectionControls/switch.css.js +13 -14
  24. package/dist/components/feedback/alerts/AlertBanner.css.cjs +7 -8
  25. package/dist/components/feedback/alerts/AlertBanner.css.d.ts.map +1 -1
  26. package/dist/components/feedback/alerts/AlertBanner.css.js +7 -8
  27. package/dist/components/feedback/loaders/loadingBar.css.cjs +3 -2
  28. package/dist/components/feedback/loaders/loadingBar.css.d.ts.map +1 -1
  29. package/dist/components/feedback/loaders/loadingBar.css.js +4 -3
  30. package/dist/components/feedback/loaders/loadingSpinner.css.cjs +3 -3
  31. package/dist/components/feedback/loaders/loadingSpinner.css.d.ts.map +1 -1
  32. package/dist/components/feedback/loaders/loadingSpinner.css.js +3 -2
  33. package/dist/components/feedback/notifications/lozenge.css.cjs +2 -2
  34. package/dist/components/feedback/notifications/lozenge.css.js +2 -2
  35. package/dist/components/feedback/progress/ProgressBar.css.cjs +4 -3
  36. package/dist/components/feedback/progress/ProgressBar.css.d.ts.map +1 -1
  37. package/dist/components/feedback/progress/ProgressBar.css.js +5 -4
  38. package/dist/components/inputs/dropdowns/select.css.cjs +7 -7
  39. package/dist/components/inputs/dropdowns/select.css.js +7 -7
  40. package/dist/components/inputs/pickers/Calendar.css.cjs +8 -8
  41. package/dist/components/inputs/pickers/Calendar.css.d.ts.map +1 -1
  42. package/dist/components/inputs/pickers/Calendar.css.js +9 -9
  43. package/dist/components/inputs/shared-styles/iconButtonOverlay.css.cjs +2 -2
  44. package/dist/components/inputs/shared-styles/iconButtonOverlay.css.js +2 -2
  45. package/dist/components/inputs/shared-styles/inputField.css.cjs +5 -6
  46. package/dist/components/inputs/shared-styles/inputField.css.d.ts.map +1 -1
  47. package/dist/components/inputs/shared-styles/inputField.css.js +5 -6
  48. package/dist/components/inputs/shared-styles/labelStyles.css.cjs +2 -2
  49. package/dist/components/inputs/shared-styles/labelStyles.css.js +2 -2
  50. package/dist/components/inputs/shared-styles/suffixPrefix.css.cjs +3 -3
  51. package/dist/components/inputs/shared-styles/suffixPrefix.css.js +3 -3
  52. package/dist/components/inputs/textFields/textArea.css.cjs +1 -1
  53. package/dist/components/inputs/textFields/textArea.css.js +2 -2
  54. package/dist/components/progress/spinner.css.cjs +2 -1
  55. package/dist/components/progress/spinner.css.d.ts.map +1 -1
  56. package/dist/components/progress/spinner.css.js +3 -2
  57. package/dist/components/surfaces/accordion/accordion.css.cjs +6 -6
  58. package/dist/components/surfaces/accordion/accordion.css.js +7 -7
  59. package/dist/components/surfaces/cards/cards.css.cjs +4 -5
  60. package/dist/components/surfaces/cards/cards.css.d.ts.map +1 -1
  61. package/dist/components/surfaces/cards/cards.css.js +4 -5
  62. package/dist/components/surfaces/cards/checkboxCard.css.cjs +2 -2
  63. package/dist/components/surfaces/cards/checkboxCard.css.js +2 -2
  64. package/dist/components/surfaces/cards/internal/SelectionCard.css.cjs +3 -3
  65. package/dist/components/surfaces/cards/internal/SelectionCard.css.js +3 -3
  66. package/dist/components/surfaces/modal/modal.css.cjs +10 -10
  67. package/dist/components/surfaces/modal/modal.css.js +11 -11
  68. package/dist/foundation/iconography/Icon.css.cjs +3 -2
  69. package/dist/foundation/iconography/Icon.css.d.ts.map +1 -1
  70. package/dist/foundation/iconography/Icon.css.js +4 -3
  71. package/dist/foundation/logos/Logo.css.cjs +3 -2
  72. package/dist/foundation/logos/Logo.css.d.ts.map +1 -1
  73. package/dist/foundation/logos/Logo.css.js +4 -3
  74. package/dist/foundation/typography/typography.css.cjs +2 -2
  75. package/dist/foundation/typography/typography.css.js +2 -2
  76. package/dist/styles/animations.css.cjs +1 -1
  77. package/dist/styles/animations.css.js +2 -2
  78. package/dist/styles/states.css.cjs +4 -5
  79. package/dist/styles/states.css.d.ts +1 -1
  80. package/dist/styles/states.css.d.ts.map +1 -1
  81. package/dist/styles/states.css.js +4 -5
  82. package/dist/utilities/accessibility/visuallyHidden.css.cjs +1 -1
  83. package/dist/utilities/accessibility/visuallyHidden.css.js +2 -2
  84. package/dist/utilities/layout/styles.css.cjs +3 -3
  85. package/dist/utilities/layout/styles.css.js +3 -3
  86. package/package.json +5 -5
@@ -1,34 +1,33 @@
1
1
  "use client";
2
2
  import { atoms } from "@gnist/themes/atoms.css.js";
3
- import { recipe } from "@vanilla-extract/recipes";
3
+ import { gnistRecipe, gnistStyle } from "@gnist/themes/layers.css.js";
4
4
  import { tokens } from "@gnist/themes/tokens.css.js";
5
5
  import { calc } from "@vanilla-extract/css-utils";
6
- import { style } from "@vanilla-extract/css";
7
6
  //#region src/components/actions/selectionControls/switch.css.ts
8
- var focusContainer = style({
7
+ var focusContainer = gnistStyle({
9
8
  display: "inline-flex",
10
9
  alignItems: "center",
11
10
  position: "relative",
12
11
  flexShrink: 0
13
12
  });
14
- var switchField = style({
13
+ var switchField = gnistStyle({
15
14
  display: "inline-flex",
16
15
  flexDirection: "column",
17
16
  gap: tokens.spacing.base
18
17
  });
19
- var switchRow = style({
18
+ var switchRow = gnistStyle({
20
19
  display: "inline-flex",
21
20
  alignItems: "center",
22
21
  gap: tokens.spacing.xxs
23
22
  });
24
- var switchLabelContent = style({
23
+ var switchLabelContent = gnistStyle({
25
24
  display: "inline-flex",
26
25
  flexDirection: "column",
27
26
  gap: tokens.spacing.base,
28
27
  minWidth: 0
29
28
  });
30
- var SwitchRecipe = recipe({
31
- base: [style([{
29
+ var SwitchRecipe = gnistRecipe({
30
+ base: [gnistStyle([{
32
31
  position: "relative",
33
32
  display: "inline-flex",
34
33
  alignItems: "center",
@@ -80,9 +79,9 @@ var SwitchRecipe = recipe({
80
79
  })]
81
80
  }]
82
81
  });
83
- var SwitchThumbRecipe = recipe({
82
+ var SwitchThumbRecipe = gnistRecipe({
84
83
  base: [
85
- style({
84
+ gnistStyle({
86
85
  position: "absolute",
87
86
  top: "50%",
88
87
  transform: "translateY(-50%)",
@@ -125,15 +124,15 @@ var SwitchThumbRecipe = recipe({
125
124
  style: [atoms({ borderColor: "surface" })]
126
125
  }]
127
126
  });
128
- var switchThumbIcon = style([{
127
+ var switchThumbIcon = gnistStyle([{
129
128
  display: "inline-flex",
130
129
  alignItems: "center",
131
130
  justifyContent: "center",
132
131
  lineHeight: 0,
133
132
  pointerEvents: "none"
134
133
  }, atoms({ color: "on-surface" })]);
135
- var SwitchLabelRecipe = recipe({
136
- base: [style([{
134
+ var SwitchLabelRecipe = gnistRecipe({
135
+ base: [gnistStyle([{
137
136
  userSelect: "none",
138
137
  fontSize: tokens.type.small.body.fontSize,
139
138
  lineHeight: tokens.typeface.size.xl
@@ -143,6 +142,6 @@ var SwitchLabelRecipe = recipe({
143
142
  false: {}
144
143
  } }
145
144
  });
146
- var switchDescription = style([atoms({ color: "text-variant" })]);
145
+ var switchDescription = gnistStyle([atoms({ color: "text-variant" })]);
147
146
  //#endregion
148
147
  export { SwitchLabelRecipe, SwitchRecipe, SwitchThumbRecipe, focusContainer, switchDescription, switchField, switchLabelContent, switchRow, switchThumbIcon };
@@ -1,15 +1,14 @@
1
1
  "use client";
2
2
  require("../../../_virtual/_rolldown/runtime.cjs");
3
3
  let _gnist_themes_atoms_css_js = require("@gnist/themes/atoms.css.js");
4
- let _vanilla_extract_recipes = require("@vanilla-extract/recipes");
5
- let _vanilla_extract_css = require("@vanilla-extract/css");
4
+ let _gnist_themes_layers_css_js = require("@gnist/themes/layers.css.js");
6
5
  //#region src/components/feedback/alerts/AlertBanner.css.ts
7
6
  var boxColors = (colorName) => (0, _gnist_themes_atoms_css_js.atoms)({
8
7
  backgroundColor: `${colorName}-container`,
9
8
  color: `on-${colorName}-container`,
10
9
  borderColor: `on-${colorName}-container`
11
10
  });
12
- var banner = (0, _vanilla_extract_recipes.recipe)({
11
+ var banner = (0, _gnist_themes_layers_css_js.gnistRecipe)({
13
12
  base: [{ borderStyle: "solid" }, (0, _gnist_themes_atoms_css_js.atoms)({
14
13
  display: "flex",
15
14
  borderWidth: "small",
@@ -28,25 +27,25 @@ var banner = (0, _vanilla_extract_recipes.recipe)({
28
27
  }
29
28
  }
30
29
  });
31
- var icon = (0, _vanilla_extract_recipes.recipe)({ variants: { type: {
30
+ var icon = (0, _gnist_themes_layers_css_js.gnistRecipe)({ variants: { type: {
32
31
  success: (0, _gnist_themes_atoms_css_js.atoms)({ color: "on-success-container" }),
33
32
  warning: (0, _gnist_themes_atoms_css_js.atoms)({ color: "on-warning-container" }),
34
33
  error: (0, _gnist_themes_atoms_css_js.atoms)({ color: "on-error-container" }),
35
34
  info: (0, _gnist_themes_atoms_css_js.atoms)({ color: "on-info-container" })
36
35
  } } });
37
- var mainContentContainer = (0, _vanilla_extract_recipes.recipe)({
36
+ var mainContentContainer = (0, _gnist_themes_layers_css_js.gnistRecipe)({
38
37
  base: [{ flex: 1 }],
39
38
  variants: { density: {
40
39
  default: (0, _gnist_themes_atoms_css_js.atoms)({ marginLeft: "xs" }),
41
40
  compact: (0, _gnist_themes_atoms_css_js.atoms)({ marginLeft: "xxs" })
42
41
  } }
43
42
  });
44
- var bannerHeading = (0, _vanilla_extract_css.style)([{ float: "left" }, (0, _gnist_themes_atoms_css_js.atoms)({
43
+ var bannerHeading = (0, _gnist_themes_layers_css_js.gnistStyle)([{ float: "left" }, (0, _gnist_themes_atoms_css_js.atoms)({
45
44
  margin: "none",
46
45
  typography: "heading3-small"
47
46
  })]);
48
- var closeButton = (0, _vanilla_extract_css.style)({ float: "right" });
49
- var messageContainer = (0, _vanilla_extract_css.style)({ clear: "left" });
47
+ var closeButton = (0, _gnist_themes_layers_css_js.gnistStyle)({ float: "right" });
48
+ var messageContainer = (0, _gnist_themes_layers_css_js.gnistStyle)({ clear: "left" });
50
49
  var actionButton = (0, _gnist_themes_atoms_css_js.atoms)({ marginTop: "xs" });
51
50
  //#endregion
52
51
  exports.actionButton = actionButton;
@@ -1 +1 @@
1
- {"version":3,"file":"AlertBanner.css.d.ts","sourceRoot":"","sources":["../../../../src/components/feedback/alerts/AlertBanner.css.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,MAAM;;;;;;;;;;;EAuBjB,CAAC;AAEH,eAAO,MAAM,IAAI;;;;;;;EASf,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;EAY/B,CAAC;AAEH,eAAO,MAAM,aAAa,QAGxB,CAAC;AAEH,eAAO,MAAM,WAAW,QAA4B,CAAC;AAErD,eAAO,MAAM,gBAAgB,QAA2B,CAAC;AAEzD,eAAO,MAAM,YAAY,QAA6B,CAAC"}
1
+ {"version":3,"file":"AlertBanner.css.d.ts","sourceRoot":"","sources":["../../../../src/components/feedback/alerts/AlertBanner.css.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,MAAM;;;;;;;;;;;EAuBjB,CAAC;AAEH,eAAO,MAAM,IAAI;;;;;;;EASf,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;EAY/B,CAAC;AAEH,eAAO,MAAM,aAAa,QAGxB,CAAC;AAEH,eAAO,MAAM,WAAW,QAAiC,CAAC;AAE1D,eAAO,MAAM,gBAAgB,QAAgC,CAAC;AAE9D,eAAO,MAAM,YAAY,QAA6B,CAAC"}
@@ -1,14 +1,13 @@
1
1
  "use client";
2
2
  import { atoms } from "@gnist/themes/atoms.css.js";
3
- import { recipe } from "@vanilla-extract/recipes";
4
- import { style } from "@vanilla-extract/css";
3
+ import { gnistRecipe, gnistStyle } from "@gnist/themes/layers.css.js";
5
4
  //#region src/components/feedback/alerts/AlertBanner.css.ts
6
5
  var boxColors = (colorName) => atoms({
7
6
  backgroundColor: `${colorName}-container`,
8
7
  color: `on-${colorName}-container`,
9
8
  borderColor: `on-${colorName}-container`
10
9
  });
11
- var banner = recipe({
10
+ var banner = gnistRecipe({
12
11
  base: [{ borderStyle: "solid" }, atoms({
13
12
  display: "flex",
14
13
  borderWidth: "small",
@@ -27,25 +26,25 @@ var banner = recipe({
27
26
  }
28
27
  }
29
28
  });
30
- var icon = recipe({ variants: { type: {
29
+ var icon = gnistRecipe({ variants: { type: {
31
30
  success: atoms({ color: "on-success-container" }),
32
31
  warning: atoms({ color: "on-warning-container" }),
33
32
  error: atoms({ color: "on-error-container" }),
34
33
  info: atoms({ color: "on-info-container" })
35
34
  } } });
36
- var mainContentContainer = recipe({
35
+ var mainContentContainer = gnistRecipe({
37
36
  base: [{ flex: 1 }],
38
37
  variants: { density: {
39
38
  default: atoms({ marginLeft: "xs" }),
40
39
  compact: atoms({ marginLeft: "xxs" })
41
40
  } }
42
41
  });
43
- var bannerHeading = style([{ float: "left" }, atoms({
42
+ var bannerHeading = gnistStyle([{ float: "left" }, atoms({
44
43
  margin: "none",
45
44
  typography: "heading3-small"
46
45
  })]);
47
- var closeButton = style({ float: "right" });
48
- var messageContainer = style({ clear: "left" });
46
+ var closeButton = gnistStyle({ float: "right" });
47
+ var messageContainer = gnistStyle({ clear: "left" });
49
48
  var actionButton = atoms({ marginTop: "xs" });
50
49
  //#endregion
51
50
  export { actionButton, banner, bannerHeading, closeButton, icon, mainContentContainer, messageContainer };
@@ -1,10 +1,11 @@
1
1
  "use client";
2
2
  require("../../../_virtual/_rolldown/runtime.cjs");
3
3
  let _gnist_themes_atoms_css_js = require("@gnist/themes/atoms.css.js");
4
+ let _gnist_themes_layers_css_js = require("@gnist/themes/layers.css.js");
4
5
  let _gnist_themes_tokens_css_js = require("@gnist/themes/tokens.css.js");
5
6
  let _vanilla_extract_css = require("@vanilla-extract/css");
6
7
  //#region src/components/feedback/loaders/loadingBar.css.ts
7
- var loadingBarStyles = (0, _vanilla_extract_css.style)([{
8
+ var loadingBarStyles = (0, _gnist_themes_layers_css_js.gnistStyle)([{
8
9
  overflow: "hidden",
9
10
  display: "flex",
10
11
  backgroundColor: _gnist_themes_tokens_css_js.tokens.palette.neutral[20],
@@ -14,7 +15,7 @@ var loadingAnimation = (0, _vanilla_extract_css.keyframes)({
14
15
  "0%": { width: "0%" },
15
16
  "100%": { width: "100%" }
16
17
  });
17
- var loadingBar = (0, _vanilla_extract_css.style)([{
18
+ var loadingBar = (0, _gnist_themes_layers_css_js.gnistStyle)([{
18
19
  backgroundColor: _gnist_themes_tokens_css_js.tokens.palette.tertiary[40],
19
20
  animation: `${loadingAnimation} 20s cubic-bezier(0.17, 0.68, 0.36, 0.91) forwards`
20
21
  }, (0, _gnist_themes_atoms_css_js.atoms)({ borderRadius: "medium" })]);
@@ -1 +1 @@
1
- {"version":3,"file":"loadingBar.css.d.ts","sourceRoot":"","sources":["../../../../src/components/feedback/loaders/loadingBar.css.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB,QAU3B,CAAC;AAWH,eAAO,MAAM,UAAU,QAQrB,CAAC"}
1
+ {"version":3,"file":"loadingBar.css.d.ts","sourceRoot":"","sources":["../../../../src/components/feedback/loaders/loadingBar.css.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,gBAAgB,QAU3B,CAAC;AAWH,eAAO,MAAM,UAAU,QAQrB,CAAC"}
@@ -1,9 +1,10 @@
1
1
  "use client";
2
2
  import { atoms } from "@gnist/themes/atoms.css.js";
3
+ import { gnistStyle } from "@gnist/themes/layers.css.js";
3
4
  import { tokens } from "@gnist/themes/tokens.css.js";
4
- import { keyframes, style } from "@vanilla-extract/css";
5
+ import { keyframes } from "@vanilla-extract/css";
5
6
  //#region src/components/feedback/loaders/loadingBar.css.ts
6
- var loadingBarStyles = style([{
7
+ var loadingBarStyles = gnistStyle([{
7
8
  overflow: "hidden",
8
9
  display: "flex",
9
10
  backgroundColor: tokens.palette.neutral[20],
@@ -13,7 +14,7 @@ var loadingAnimation = keyframes({
13
14
  "0%": { width: "0%" },
14
15
  "100%": { width: "100%" }
15
16
  });
16
- var loadingBar = style([{
17
+ var loadingBar = gnistStyle([{
17
18
  backgroundColor: tokens.palette.tertiary[40],
18
19
  animation: `${loadingAnimation} 20s cubic-bezier(0.17, 0.68, 0.36, 0.91) forwards`
19
20
  }, atoms({ borderRadius: "medium" })]);
@@ -1,14 +1,14 @@
1
1
  "use client";
2
2
  require("../../../_virtual/_rolldown/runtime.cjs");
3
3
  let _gnist_themes_atoms_css_js = require("@gnist/themes/atoms.css.js");
4
+ let _gnist_themes_layers_css_js = require("@gnist/themes/layers.css.js");
4
5
  let _gnist_themes_tokens_css_js = require("@gnist/themes/tokens.css.js");
5
- let _vanilla_extract_css = require("@vanilla-extract/css");
6
6
  //#region src/components/feedback/loaders/loadingSpinner.css.ts
7
- var rotate360 = (0, _vanilla_extract_css.keyframes)({
7
+ var rotate360 = (0, require("@vanilla-extract/css").keyframes)({
8
8
  "0%": { transform: "rotate(0deg)" },
9
9
  "100%": { transform: "rotate(360deg)" }
10
10
  });
11
- var loadingSpinnerStyle = (0, _vanilla_extract_css.style)([(0, _gnist_themes_atoms_css_js.atoms)({
11
+ var loadingSpinnerStyle = (0, _gnist_themes_layers_css_js.gnistStyle)([(0, _gnist_themes_atoms_css_js.atoms)({
12
12
  borderRadius: "full",
13
13
  width: "xxl",
14
14
  height: "xxl"
@@ -1 +1 @@
1
- {"version":3,"file":"loadingSpinner.css.d.ts","sourceRoot":"","sources":["../../../../src/components/feedback/loaders/loadingSpinner.css.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,mBAAmB,QAW9B,CAAC"}
1
+ {"version":3,"file":"loadingSpinner.css.d.ts","sourceRoot":"","sources":["../../../../src/components/feedback/loaders/loadingSpinner.css.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,mBAAmB,QAW9B,CAAC"}
@@ -1,13 +1,14 @@
1
1
  "use client";
2
2
  import { atoms } from "@gnist/themes/atoms.css.js";
3
+ import { gnistStyle } from "@gnist/themes/layers.css.js";
3
4
  import { tokens } from "@gnist/themes/tokens.css.js";
4
- import { keyframes, style } from "@vanilla-extract/css";
5
+ import { keyframes } from "@vanilla-extract/css";
5
6
  //#region src/components/feedback/loaders/loadingSpinner.css.ts
6
7
  var rotate360 = keyframes({
7
8
  "0%": { transform: "rotate(0deg)" },
8
9
  "100%": { transform: "rotate(360deg)" }
9
10
  });
10
- var loadingSpinnerStyle = style([atoms({
11
+ var loadingSpinnerStyle = gnistStyle([atoms({
11
12
  borderRadius: "full",
12
13
  width: "xxl",
13
14
  height: "xxl"
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  require("../../../_virtual/_rolldown/runtime.cjs");
3
3
  let _gnist_themes_atoms_css_js = require("@gnist/themes/atoms.css.js");
4
- let _vanilla_extract_recipes = require("@vanilla-extract/recipes");
4
+ let _gnist_themes_layers_css_js = require("@gnist/themes/layers.css.js");
5
5
  let _gnist_themes_tokens_css_js = require("@gnist/themes/tokens.css.js");
6
6
  let _vanilla_extract_css_utils = require("@vanilla-extract/css-utils");
7
7
  let _vanilla_extract_css = require("@vanilla-extract/css");
@@ -19,7 +19,7 @@ var getColors = (variant) => {
19
19
  });
20
20
  };
21
21
  var largeBody = _gnist_themes_tokens_css_js.tokens.type.large.body;
22
- var lozengeRecipe = (0, _vanilla_extract_recipes.recipe)({
22
+ var lozengeRecipe = (0, _gnist_themes_layers_css_js.gnistRecipe)({
23
23
  base: [(0, _gnist_themes_atoms_css_js.atoms)({
24
24
  display: "inline-flex",
25
25
  alignItems: "center",
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { atoms } from "@gnist/themes/atoms.css.js";
3
- import { recipe } from "@vanilla-extract/recipes";
3
+ import { gnistRecipe } from "@gnist/themes/layers.css.js";
4
4
  import { tokens } from "@gnist/themes/tokens.css.js";
5
5
  import { calc } from "@vanilla-extract/css-utils";
6
6
  import { globalStyle } from "@vanilla-extract/css";
@@ -18,7 +18,7 @@ var getColors = (variant) => {
18
18
  });
19
19
  };
20
20
  var largeBody = tokens.type.large.body;
21
- var lozengeRecipe = recipe({
21
+ var lozengeRecipe = gnistRecipe({
22
22
  base: [atoms({
23
23
  display: "inline-flex",
24
24
  alignItems: "center",
@@ -1,21 +1,22 @@
1
1
  "use client";
2
2
  require("../../../_virtual/_rolldown/runtime.cjs");
3
+ let _gnist_themes_layers_css_js = require("@gnist/themes/layers.css.js");
3
4
  let _gnist_themes_tokens_css_js = require("@gnist/themes/tokens.css.js");
4
5
  let _vanilla_extract_css = require("@vanilla-extract/css");
5
6
  //#region src/components/feedback/progress/ProgressBar.css.ts
6
- var progressBarStyles = (0, _vanilla_extract_css.style)({
7
+ var progressBarStyles = (0, _gnist_themes_layers_css_js.gnistStyle)({
7
8
  overflow: "hidden",
8
9
  display: "flex",
9
10
  backgroundColor: _gnist_themes_tokens_css_js.tokens.color.outline,
10
11
  width: "100%"
11
12
  });
12
- var progressBar = (0, _vanilla_extract_css.style)({ transition: "width 0.5s ease-in-out" });
13
+ var progressBar = (0, _gnist_themes_layers_css_js.gnistStyle)({ transition: "width 0.5s ease-in-out" });
13
14
  var progressPercentage = (0, _vanilla_extract_css.createVar)();
14
15
  var progress = (0, _vanilla_extract_css.keyframes)({
15
16
  from: { width: "0%" },
16
17
  to: { width: progressPercentage }
17
18
  });
18
- var progressAnimation = (0, _vanilla_extract_css.style)({
19
+ var progressAnimation = (0, _gnist_themes_layers_css_js.gnistStyle)({
19
20
  animationName: progress,
20
21
  animationDuration: "1s",
21
22
  animationTimingFunction: "ease-in-out",
@@ -1 +1 @@
1
- {"version":3,"file":"ProgressBar.css.d.ts","sourceRoot":"","sources":["../../../../src/components/feedback/progress/ProgressBar.css.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,iBAAiB,QAK5B,CAAC;AAEH,eAAO,MAAM,WAAW,QAEtB,CAAC;AAEH,eAAO,MAAM,kBAAkB,oBAAc,CAAC;AAO9C,eAAO,MAAM,iBAAiB,QAK5B,CAAC"}
1
+ {"version":3,"file":"ProgressBar.css.d.ts","sourceRoot":"","sources":["../../../../src/components/feedback/progress/ProgressBar.css.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB,QAK5B,CAAC;AAEH,eAAO,MAAM,WAAW,QAEtB,CAAC;AAEH,eAAO,MAAM,kBAAkB,oBAAc,CAAC;AAO9C,eAAO,MAAM,iBAAiB,QAK5B,CAAC"}
@@ -1,16 +1,17 @@
1
1
  "use client";
2
+ import { gnistStyle } from "@gnist/themes/layers.css.js";
2
3
  import { tokens } from "@gnist/themes/tokens.css.js";
3
- import { createVar, keyframes, style } from "@vanilla-extract/css";
4
+ import { createVar, keyframes } from "@vanilla-extract/css";
4
5
  //#region src/components/feedback/progress/ProgressBar.css.ts
5
- var progressBarStyles = style({
6
+ var progressBarStyles = gnistStyle({
6
7
  overflow: "hidden",
7
8
  display: "flex",
8
9
  backgroundColor: tokens.color.outline,
9
10
  width: "100%"
10
11
  });
11
- var progressBar = style({ transition: "width 0.5s ease-in-out" });
12
+ var progressBar = gnistStyle({ transition: "width 0.5s ease-in-out" });
12
13
  var progressPercentage = createVar();
13
- var progressAnimation = style({
14
+ var progressAnimation = gnistStyle({
14
15
  animationName: keyframes({
15
16
  from: { width: "0%" },
16
17
  to: { width: progressPercentage }
@@ -2,10 +2,10 @@
2
2
  require("../../../_virtual/_rolldown/runtime.cjs");
3
3
  const require_inputField_css = require("../shared-styles/inputField.css.cjs");
4
4
  let _gnist_themes_atoms_css_js = require("@gnist/themes/atoms.css.js");
5
+ let _gnist_themes_layers_css_js = require("@gnist/themes/layers.css.js");
5
6
  let _gnist_themes_tokens_css_js = require("@gnist/themes/tokens.css.js");
6
- let _vanilla_extract_css = require("@vanilla-extract/css");
7
7
  //#region src/components/inputs/dropdowns/select.css.ts
8
- var listBoxStyle = (0, _vanilla_extract_css.style)([(0, _gnist_themes_atoms_css_js.atoms)({
8
+ var listBoxStyle = (0, _gnist_themes_layers_css_js.gnistStyle)([(0, _gnist_themes_atoms_css_js.atoms)({
9
9
  marginTop: "xxs",
10
10
  display: "flex",
11
11
  flexDirection: "column",
@@ -21,12 +21,12 @@ var listBoxStyle = (0, _vanilla_extract_css.style)([(0, _gnist_themes_atoms_css_
21
21
  height: "fit-content",
22
22
  overflow: "auto"
23
23
  }]);
24
- var popUpStyle = (0, _vanilla_extract_css.style)({
24
+ var popUpStyle = (0, _gnist_themes_layers_css_js.gnistStyle)({
25
25
  zIndex: 1400,
26
26
  minWidth: "280px",
27
27
  maxWidth: "100%"
28
28
  });
29
- var selectStyle = (0, _vanilla_extract_css.style)([require_inputField_css.inputFieldStyle, {
29
+ var selectStyle = (0, _gnist_themes_layers_css_js.gnistStyle)([require_inputField_css.inputFieldStyle, {
30
30
  overflow: "hidden",
31
31
  textOverflow: "ellipsis",
32
32
  whiteSpace: "nowrap",
@@ -37,7 +37,7 @@ var selectStyle = (0, _vanilla_extract_css.style)([require_inputField_css.inputF
37
37
  paddingBottom: "inherit",
38
38
  boxSizing: "border-box"
39
39
  }]);
40
- var optionStyle = (0, _vanilla_extract_css.style)([(0, _gnist_themes_atoms_css_js.atoms)({
40
+ var optionStyle = (0, _gnist_themes_layers_css_js.gnistStyle)([(0, _gnist_themes_atoms_css_js.atoms)({
41
41
  display: "flex",
42
42
  position: "relative",
43
43
  height: "xl",
@@ -49,12 +49,12 @@ var optionStyle = (0, _vanilla_extract_css.style)([(0, _gnist_themes_atoms_css_j
49
49
  outline: "none",
50
50
  selectors: { "&:focus,&:focus-visible": { outline: `${_gnist_themes_tokens_css_js.tokens.stroke.medium} solid ${_gnist_themes_tokens_css_js.tokens.color.interactive}` } }
51
51
  }]);
52
- var singleOptionStyle = (0, _vanilla_extract_css.style)([(0, _gnist_themes_atoms_css_js.atoms)({
52
+ var singleOptionStyle = (0, _gnist_themes_layers_css_js.gnistStyle)([(0, _gnist_themes_atoms_css_js.atoms)({
53
53
  display: "flex",
54
54
  alignItems: "center",
55
55
  justifyContent: "space-between"
56
56
  }), { width: "100%" }]);
57
- var optionBackground = (0, _vanilla_extract_css.style)([(0, _gnist_themes_atoms_css_js.atoms)({
57
+ var optionBackground = (0, _gnist_themes_layers_css_js.gnistStyle)([(0, _gnist_themes_atoms_css_js.atoms)({
58
58
  display: "flex",
59
59
  position: "absolute",
60
60
  backgroundColor: "on-surface",
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import { inputFieldStyle } from "../shared-styles/inputField.css.js";
3
3
  import { atoms } from "@gnist/themes/atoms.css.js";
4
+ import { gnistStyle } from "@gnist/themes/layers.css.js";
4
5
  import { tokens } from "@gnist/themes/tokens.css.js";
5
- import { style } from "@vanilla-extract/css";
6
6
  //#region src/components/inputs/dropdowns/select.css.ts
7
- var listBoxStyle = style([atoms({
7
+ var listBoxStyle = gnistStyle([atoms({
8
8
  marginTop: "xxs",
9
9
  display: "flex",
10
10
  flexDirection: "column",
@@ -20,12 +20,12 @@ var listBoxStyle = style([atoms({
20
20
  height: "fit-content",
21
21
  overflow: "auto"
22
22
  }]);
23
- var popUpStyle = style({
23
+ var popUpStyle = gnistStyle({
24
24
  zIndex: 1400,
25
25
  minWidth: "280px",
26
26
  maxWidth: "100%"
27
27
  });
28
- var selectStyle = style([inputFieldStyle, {
28
+ var selectStyle = gnistStyle([inputFieldStyle, {
29
29
  overflow: "hidden",
30
30
  textOverflow: "ellipsis",
31
31
  whiteSpace: "nowrap",
@@ -36,7 +36,7 @@ var selectStyle = style([inputFieldStyle, {
36
36
  paddingBottom: "inherit",
37
37
  boxSizing: "border-box"
38
38
  }]);
39
- var optionStyle = style([atoms({
39
+ var optionStyle = gnistStyle([atoms({
40
40
  display: "flex",
41
41
  position: "relative",
42
42
  height: "xl",
@@ -48,12 +48,12 @@ var optionStyle = style([atoms({
48
48
  outline: "none",
49
49
  selectors: { "&:focus,&:focus-visible": { outline: `${tokens.stroke.medium} solid ${tokens.color.interactive}` } }
50
50
  }]);
51
- var singleOptionStyle = style([atoms({
51
+ var singleOptionStyle = gnistStyle([atoms({
52
52
  display: "flex",
53
53
  alignItems: "center",
54
54
  justifyContent: "space-between"
55
55
  }), { width: "100%" }]);
56
- var optionBackground = style([atoms({
56
+ var optionBackground = gnistStyle([atoms({
57
57
  display: "flex",
58
58
  position: "absolute",
59
59
  backgroundColor: "on-surface",
@@ -2,12 +2,12 @@
2
2
  require("../../../_virtual/_rolldown/runtime.cjs");
3
3
  const require_states_css = require("../../../styles/states.css.cjs");
4
4
  let _gnist_themes_atoms_css_js = require("@gnist/themes/atoms.css.js");
5
- let _vanilla_extract_recipes = require("@vanilla-extract/recipes");
5
+ let _gnist_themes_layers_css_js = require("@gnist/themes/layers.css.js");
6
6
  let _gnist_themes_tokens_css_js = require("@gnist/themes/tokens.css.js");
7
7
  let _vanilla_extract_css_utils = require("@vanilla-extract/css-utils");
8
8
  let _vanilla_extract_css = require("@vanilla-extract/css");
9
9
  //#region src/components/inputs/pickers/Calendar.css.ts
10
- var containerStyle = (0, _vanilla_extract_css.style)([(0, _gnist_themes_atoms_css_js.atoms)({
10
+ var containerStyle = (0, _gnist_themes_layers_css_js.gnistStyle)([(0, _gnist_themes_atoms_css_js.atoms)({
11
11
  display: "flex",
12
12
  flexDirection: "column",
13
13
  padding: "s",
@@ -16,12 +16,12 @@ var containerStyle = (0, _vanilla_extract_css.style)([(0, _gnist_themes_atoms_cs
16
16
  boxShadow: "low",
17
17
  backgroundColor: "surface"
18
18
  }), { width: "fit-content" }]);
19
- var gridStyle = (0, _vanilla_extract_css.style)([(0, _gnist_themes_atoms_css_js.atoms)({
19
+ var gridStyle = (0, _gnist_themes_layers_css_js.gnistStyle)([(0, _gnist_themes_atoms_css_js.atoms)({
20
20
  display: "flex",
21
21
  flexDirection: "column",
22
22
  gap: "xs"
23
23
  }), { width: "fit-content" }]);
24
- var rowStyle = (0, _vanilla_extract_css.style)([(0, _gnist_themes_atoms_css_js.atoms)({
24
+ var rowStyle = (0, _gnist_themes_layers_css_js.gnistStyle)([(0, _gnist_themes_atoms_css_js.atoms)({
25
25
  gap: "base",
26
26
  height: "xl"
27
27
  }), {
@@ -35,8 +35,8 @@ var selectMonthRow = (0, _gnist_themes_atoms_css_js.atoms)({
35
35
  justifyContent: "space-between",
36
36
  typography: "body-medium"
37
37
  });
38
- var headerCell = (0, _vanilla_extract_css.style)([{ textAlign: "center" }, (0, _gnist_themes_atoms_css_js.atoms)({ typography: "detail-large" })]);
39
- var cellRecipe = (0, _vanilla_extract_recipes.recipe)({
38
+ var headerCell = (0, _gnist_themes_layers_css_js.gnistStyle)([{ textAlign: "center" }, (0, _gnist_themes_atoms_css_js.atoms)({ typography: "detail-large" })]);
39
+ var cellRecipe = (0, _gnist_themes_layers_css_js.gnistRecipe)({
40
40
  base: [
41
41
  (0, _gnist_themes_atoms_css_js.atoms)({
42
42
  typography: "body-large",
@@ -96,8 +96,8 @@ var buttonRow = (0, _gnist_themes_atoms_css_js.atoms)({
96
96
  display: "flex",
97
97
  gap: "base"
98
98
  });
99
- var arrowButton = (0, _vanilla_extract_css.style)([(0, _gnist_themes_atoms_css_js.atoms)({ color: "on-background" })]);
100
- var cellSkeletonStyle = (0, _vanilla_extract_css.style)([(0, _gnist_themes_atoms_css_js.atoms)({
99
+ var arrowButton = (0, _gnist_themes_layers_css_js.gnistStyle)([(0, _gnist_themes_atoms_css_js.atoms)({ color: "on-background" })]);
100
+ var cellSkeletonStyle = (0, _gnist_themes_layers_css_js.gnistStyle)([(0, _gnist_themes_atoms_css_js.atoms)({
101
101
  padding: "base",
102
102
  borderRadius: "picker"
103
103
  }), { boxSizing: "border-box" }]);
@@ -1 +1 @@
1
- {"version":3,"file":"Calendar.css.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/pickers/Calendar.css.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,cAAc,QAazB,CAAC;AAEH,eAAO,MAAM,SAAS,QASpB,CAAC;AAEH,eAAO,MAAM,QAAQ,QASnB,CAAC;AAEH,eAAO,MAAM,QAAQ,oBAAc,CAAC;AAMpC,eAAO,MAAM,cAAc,QAIzB,CAAC;AAEH,eAAO,MAAM,UAAU,QAGrB,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuErB,CAAC;AAEH,eAAO,MAAM,SAAS,QAGpB,CAAC;AAEH,eAAO,MAAM,WAAW,QAA6C,CAAC;AAEtE,eAAO,MAAM,iBAAiB,QAQ5B,CAAC"}
1
+ {"version":3,"file":"Calendar.css.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/pickers/Calendar.css.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,cAAc,QAazB,CAAC;AAEH,eAAO,MAAM,SAAS,QASpB,CAAC;AAEH,eAAO,MAAM,QAAQ,QASnB,CAAC;AAEH,eAAO,MAAM,QAAQ,oBAAc,CAAC;AAMpC,eAAO,MAAM,cAAc,QAIzB,CAAC;AAEH,eAAO,MAAM,UAAU,QAGrB,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuErB,CAAC;AAEH,eAAO,MAAM,SAAS,QAGpB,CAAC;AAEH,eAAO,MAAM,WAAW,QAAkD,CAAC;AAE3E,eAAO,MAAM,iBAAiB,QAQ5B,CAAC"}
@@ -1,12 +1,12 @@
1
1
  "use client";
2
2
  import { focusStyle, stateLayers } from "../../../styles/states.css.js";
3
3
  import { atoms } from "@gnist/themes/atoms.css.js";
4
- import { recipe } from "@vanilla-extract/recipes";
4
+ import { gnistRecipe, gnistStyle } from "@gnist/themes/layers.css.js";
5
5
  import { tokens } from "@gnist/themes/tokens.css.js";
6
6
  import { calc } from "@vanilla-extract/css-utils";
7
- import { createVar, globalStyle, style } from "@vanilla-extract/css";
7
+ import { createVar, globalStyle } from "@vanilla-extract/css";
8
8
  //#region src/components/inputs/pickers/Calendar.css.ts
9
- var containerStyle = style([atoms({
9
+ var containerStyle = gnistStyle([atoms({
10
10
  display: "flex",
11
11
  flexDirection: "column",
12
12
  padding: "s",
@@ -15,12 +15,12 @@ var containerStyle = style([atoms({
15
15
  boxShadow: "low",
16
16
  backgroundColor: "surface"
17
17
  }), { width: "fit-content" }]);
18
- var gridStyle = style([atoms({
18
+ var gridStyle = gnistStyle([atoms({
19
19
  display: "flex",
20
20
  flexDirection: "column",
21
21
  gap: "xs"
22
22
  }), { width: "fit-content" }]);
23
- var rowStyle = style([atoms({
23
+ var rowStyle = gnistStyle([atoms({
24
24
  gap: "base",
25
25
  height: "xl"
26
26
  }), {
@@ -34,8 +34,8 @@ var selectMonthRow = atoms({
34
34
  justifyContent: "space-between",
35
35
  typography: "body-medium"
36
36
  });
37
- var headerCell = style([{ textAlign: "center" }, atoms({ typography: "detail-large" })]);
38
- var cellRecipe = recipe({
37
+ var headerCell = gnistStyle([{ textAlign: "center" }, atoms({ typography: "detail-large" })]);
38
+ var cellRecipe = gnistRecipe({
39
39
  base: [
40
40
  atoms({
41
41
  typography: "body-large",
@@ -95,8 +95,8 @@ var buttonRow = atoms({
95
95
  display: "flex",
96
96
  gap: "base"
97
97
  });
98
- var arrowButton = style([atoms({ color: "on-background" })]);
99
- var cellSkeletonStyle = style([atoms({
98
+ var arrowButton = gnistStyle([atoms({ color: "on-background" })]);
99
+ var cellSkeletonStyle = gnistStyle([atoms({
100
100
  padding: "base",
101
101
  borderRadius: "picker"
102
102
  }), { boxSizing: "border-box" }]);
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  require("../../../_virtual/_rolldown/runtime.cjs");
3
3
  let _gnist_themes_atoms_css_js = require("@gnist/themes/atoms.css.js");
4
- let _vanilla_extract_recipes = require("@vanilla-extract/recipes");
4
+ let _gnist_themes_layers_css_js = require("@gnist/themes/layers.css.js");
5
5
  let _gnist_themes_tokens_css_js = require("@gnist/themes/tokens.css.js");
6
6
  //#region src/components/inputs/shared-styles/iconButtonOverlay.css.ts
7
- var iconButtonOverlayRecipe = (0, _vanilla_extract_recipes.recipe)({
7
+ var iconButtonOverlayRecipe = (0, _gnist_themes_layers_css_js.gnistRecipe)({
8
8
  base: [(0, _gnist_themes_atoms_css_js.atoms)({
9
9
  width: "l",
10
10
  height: "l"
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import { atoms } from "@gnist/themes/atoms.css.js";
3
- import { recipe } from "@vanilla-extract/recipes";
3
+ import { gnistRecipe } from "@gnist/themes/layers.css.js";
4
4
  import { tokens } from "@gnist/themes/tokens.css.js";
5
5
  //#region src/components/inputs/shared-styles/iconButtonOverlay.css.ts
6
- var iconButtonOverlayRecipe = recipe({
6
+ var iconButtonOverlayRecipe = gnistRecipe({
7
7
  base: [atoms({
8
8
  width: "l",
9
9
  height: "l"