@gnist/design-system 6.2.2 → 7.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/CHANGELOG.md +20 -0
  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
@@ -3,7 +3,7 @@ require("../../../_virtual/_rolldown/runtime.cjs");
3
3
  const require_inputFieldConstants_css = require("./inputFieldConstants.css.cjs");
4
4
  const require_inputField_css = require("./inputField.css.cjs");
5
5
  let _gnist_themes_atoms_css_js = require("@gnist/themes/atoms.css.js");
6
- let _vanilla_extract_recipes = require("@vanilla-extract/recipes");
6
+ let _gnist_themes_layers_css_js = require("@gnist/themes/layers.css.js");
7
7
  let _gnist_themes_tokens_css_js = require("@gnist/themes/tokens.css.js");
8
8
  let _vanilla_extract_css_utils = require("@vanilla-extract/css-utils");
9
9
  //#region src/components/inputs/shared-styles/labelStyles.css.ts
@@ -27,7 +27,7 @@ var elevatedLabelBackground = (backgroundColor) => ({
27
27
  top: "5px",
28
28
  height: _gnist_themes_tokens_css_js.tokens.stroke.medium
29
29
  });
30
- var labelStyle = (0, _vanilla_extract_recipes.recipe)({
30
+ var labelStyle = (0, _gnist_themes_layers_css_js.gnistRecipe)({
31
31
  base: {
32
32
  zIndex: 1,
33
33
  position: "relative",
@@ -2,7 +2,7 @@
2
2
  import { preInputWidth, transitionTime } from "./inputFieldConstants.css.js";
3
3
  import { inputFieldStyle } from "./inputField.css.js";
4
4
  import { atoms } from "@gnist/themes/atoms.css.js";
5
- import { recipe } from "@vanilla-extract/recipes";
5
+ import { gnistRecipe } from "@gnist/themes/layers.css.js";
6
6
  import { tokens } from "@gnist/themes/tokens.css.js";
7
7
  import { calc } from "@vanilla-extract/css-utils";
8
8
  //#region src/components/inputs/shared-styles/labelStyles.css.ts
@@ -26,7 +26,7 @@ var elevatedLabelBackground = (backgroundColor) => ({
26
26
  top: "5px",
27
27
  height: tokens.stroke.medium
28
28
  });
29
- var labelStyle = recipe({
29
+ var labelStyle = gnistRecipe({
30
30
  base: {
31
31
  zIndex: 1,
32
32
  position: "relative",
@@ -1,13 +1,13 @@
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_css = require("@vanilla-extract/css");
4
+ let _gnist_themes_layers_css_js = require("@gnist/themes/layers.css.js");
5
5
  //#region src/components/inputs/shared-styles/suffixPrefix.css.ts
6
- var prefixStyle = (0, _vanilla_extract_css.style)([(0, _gnist_themes_atoms_css_js.atoms)({
6
+ var prefixStyle = (0, _gnist_themes_layers_css_js.gnistStyle)([(0, _gnist_themes_atoms_css_js.atoms)({
7
7
  color: "text-variant",
8
8
  paddingRight: "xxs"
9
9
  })]);
10
- var suffixStyle = (0, _vanilla_extract_css.style)([(0, _gnist_themes_atoms_css_js.atoms)({
10
+ var suffixStyle = (0, _gnist_themes_layers_css_js.gnistStyle)([(0, _gnist_themes_atoms_css_js.atoms)({
11
11
  color: "text-variant",
12
12
  paddingLeft: "xxs"
13
13
  })]);
@@ -1,12 +1,12 @@
1
1
  "use client";
2
2
  import { atoms } from "@gnist/themes/atoms.css.js";
3
- import { style } from "@vanilla-extract/css";
3
+ import { gnistStyle } from "@gnist/themes/layers.css.js";
4
4
  //#region src/components/inputs/shared-styles/suffixPrefix.css.ts
5
- var prefixStyle = style([atoms({
5
+ var prefixStyle = gnistStyle([atoms({
6
6
  color: "text-variant",
7
7
  paddingRight: "xxs"
8
8
  })]);
9
- var suffixStyle = style([atoms({
9
+ var suffixStyle = gnistStyle([atoms({
10
10
  color: "text-variant",
11
11
  paddingLeft: "xxs"
12
12
  })]);
@@ -2,7 +2,7 @@
2
2
  require("../../../_virtual/_rolldown/runtime.cjs");
3
3
  let _gnist_themes_atoms_css_js = require("@gnist/themes/atoms.css.js");
4
4
  //#region src/components/inputs/textFields/textArea.css.ts
5
- var wordCounterStyle = (0, require("@vanilla-extract/recipes").recipe)({
5
+ var wordCounterStyle = (0, require("@gnist/themes/layers.css.js").gnistRecipe)({
6
6
  base: (0, _gnist_themes_atoms_css_js.atoms)({
7
7
  display: "flex",
8
8
  backgroundColor: "surface",
@@ -1,8 +1,8 @@
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
  //#region src/components/inputs/textFields/textArea.css.ts
5
- var wordCounterStyle = recipe({
5
+ var wordCounterStyle = gnistRecipe({
6
6
  base: atoms({
7
7
  display: "flex",
8
8
  backgroundColor: "surface",
@@ -1,6 +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 _gnist_themes_layers_css_js = require("@gnist/themes/layers.css.js");
4
5
  let _vanilla_extract_css = require("@vanilla-extract/css");
5
6
  //#region src/components/progress/spinner.css.ts
6
7
  var rotate360 = (0, _vanilla_extract_css.keyframes)({
@@ -11,7 +12,7 @@ var fadeIn = (0, _vanilla_extract_css.keyframes)({
11
12
  "0%": { opacity: 0 },
12
13
  "100%": { opacity: 1 }
13
14
  });
14
- var spinnerRecipe = (0, _vanilla_extract_css.style)([(0, _gnist_themes_atoms_css_js.atoms)({ borderWidth: "medium" }), {
15
+ var spinnerRecipe = (0, _gnist_themes_layers_css_js.gnistStyle)([(0, _gnist_themes_atoms_css_js.atoms)({ borderWidth: "medium" }), {
15
16
  position: "absolute",
16
17
  borderRadius: "50%",
17
18
  background: "transparent",
@@ -1 +1 @@
1
- {"version":3,"file":"spinner.css.d.ts","sourceRoot":"","sources":["../../../src/components/progress/spinner.css.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,aAAa,QAYxB,CAAC"}
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 { keyframes, style } from "@vanilla-extract/css";
3
+ import { gnistStyle } from "@gnist/themes/layers.css.js";
4
+ import { keyframes } from "@vanilla-extract/css";
4
5
  //#region src/components/progress/spinner.css.ts
5
6
  var rotate360 = keyframes({
6
7
  "0%": { transform: "rotate(0deg)" },
@@ -10,7 +11,7 @@ var fadeIn = keyframes({
10
11
  "0%": { opacity: 0 },
11
12
  "100%": { opacity: 1 }
12
13
  });
13
- var spinnerRecipe = style([atoms({ borderWidth: "medium" }), {
14
+ var spinnerRecipe = gnistStyle([atoms({ borderWidth: "medium" }), {
14
15
  position: "absolute",
15
16
  borderRadius: "50%",
16
17
  background: "transparent",
@@ -1,11 +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 _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 = require("@vanilla-extract/css");
7
7
  //#region src/components/surfaces/accordion/accordion.css.ts
8
- var accordionRecipe = (0, _vanilla_extract_recipes.recipe)({
8
+ var accordionRecipe = (0, _gnist_themes_layers_css_js.gnistRecipe)({
9
9
  base: [(0, _gnist_themes_atoms_css_js.atoms)({ color: "on-background" })],
10
10
  variants: {
11
11
  withDivider: { true: { borderBottom: `${_gnist_themes_tokens_css_js.tokens.stroke.small} solid ${_gnist_themes_tokens_css_js.tokens.color.outline}` } },
@@ -15,7 +15,7 @@ var accordionRecipe = (0, _vanilla_extract_recipes.recipe)({
15
15
  } }
16
16
  }
17
17
  });
18
- var head = (0, _vanilla_extract_css.style)([(0, _gnist_themes_atoms_css_js.atoms)({
18
+ var head = (0, _gnist_themes_layers_css_js.gnistStyle)([(0, _gnist_themes_atoms_css_js.atoms)({
19
19
  display: "flex",
20
20
  justifyContent: "space-between",
21
21
  alignItems: "center",
@@ -26,8 +26,8 @@ var head = (0, _vanilla_extract_css.style)([(0, _gnist_themes_atoms_css_js.atoms
26
26
  position: "relative",
27
27
  selectors: { "&:focus": { outline: `${_gnist_themes_tokens_css_js.tokens.stroke.medium} solid ${_gnist_themes_tokens_css_js.tokens.color.interactive}` } }
28
28
  }]);
29
- var heading = (0, _vanilla_extract_css.style)([(0, _gnist_themes_atoms_css_js.atoms)({ typography: "heading3-small" }), { fontSize: _gnist_themes_tokens_css_js.tokens.type.medium.body.fontSize }]);
30
- var headBackground = (0, _vanilla_extract_css.style)({
29
+ var heading = (0, _gnist_themes_layers_css_js.gnistStyle)([(0, _gnist_themes_atoms_css_js.atoms)({ typography: "heading3-small" }), { fontSize: _gnist_themes_tokens_css_js.tokens.type.medium.body.fontSize }]);
30
+ var headBackground = (0, _gnist_themes_layers_css_js.gnistStyle)({
31
31
  position: "absolute",
32
32
  width: "100%",
33
33
  height: "100%",
@@ -37,7 +37,7 @@ var headBackground = (0, _vanilla_extract_css.style)({
37
37
  opacity: _gnist_themes_tokens_css_js.tokens.opacity["on-hover"]
38
38
  } }
39
39
  });
40
- var body = (0, _vanilla_extract_css.style)({ padding: `${_gnist_themes_tokens_css_js.tokens.spacing.xxs} ${_gnist_themes_tokens_css_js.tokens.spacing.xxs} ${_gnist_themes_tokens_css_js.tokens.spacing.s}` });
40
+ var body = (0, _gnist_themes_layers_css_js.gnistStyle)({ padding: `${_gnist_themes_tokens_css_js.tokens.spacing.xxs} ${_gnist_themes_tokens_css_js.tokens.spacing.xxs} ${_gnist_themes_tokens_css_js.tokens.spacing.s}` });
41
41
  (0, _vanilla_extract_css.globalStyle)("summary::-webkit-details-marker", { display: "none" });
42
42
  (0, _vanilla_extract_css.globalStyle)(":not(details[open]) summary svg", {
43
43
  transform: "rotate(0deg)",
@@ -1,10 +1,10 @@
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
- import { globalStyle, style } from "@vanilla-extract/css";
5
+ import { globalStyle } from "@vanilla-extract/css";
6
6
  //#region src/components/surfaces/accordion/accordion.css.ts
7
- var accordionRecipe = recipe({
7
+ var accordionRecipe = gnistRecipe({
8
8
  base: [atoms({ color: "on-background" })],
9
9
  variants: {
10
10
  withDivider: { true: { borderBottom: `${tokens.stroke.small} solid ${tokens.color.outline}` } },
@@ -14,7 +14,7 @@ var accordionRecipe = recipe({
14
14
  } }
15
15
  }
16
16
  });
17
- var head = style([atoms({
17
+ var head = gnistStyle([atoms({
18
18
  display: "flex",
19
19
  justifyContent: "space-between",
20
20
  alignItems: "center",
@@ -25,8 +25,8 @@ var head = style([atoms({
25
25
  position: "relative",
26
26
  selectors: { "&:focus": { outline: `${tokens.stroke.medium} solid ${tokens.color.interactive}` } }
27
27
  }]);
28
- var heading = style([atoms({ typography: "heading3-small" }), { fontSize: tokens.type.medium.body.fontSize }]);
29
- var headBackground = style({
28
+ var heading = gnistStyle([atoms({ typography: "heading3-small" }), { fontSize: tokens.type.medium.body.fontSize }]);
29
+ var headBackground = gnistStyle({
30
30
  position: "absolute",
31
31
  width: "100%",
32
32
  height: "100%",
@@ -36,7 +36,7 @@ var headBackground = style({
36
36
  opacity: tokens.opacity["on-hover"]
37
37
  } }
38
38
  });
39
- var body = style({ padding: `${tokens.spacing.xxs} ${tokens.spacing.xxs} ${tokens.spacing.s}` });
39
+ var body = gnistStyle({ padding: `${tokens.spacing.xxs} ${tokens.spacing.xxs} ${tokens.spacing.s}` });
40
40
  globalStyle("summary::-webkit-details-marker", { display: "none" });
41
41
  globalStyle(":not(details[open]) summary svg", {
42
42
  transform: "rotate(0deg)",
@@ -3,13 +3,12 @@ require("../../../_virtual/_rolldown/runtime.cjs");
3
3
  const require_animations_css = require("../../../styles/animations.css.cjs");
4
4
  const require_states_css = require("../../../styles/states.css.cjs");
5
5
  let _gnist_themes_atoms_css_js = require("@gnist/themes/atoms.css.js");
6
- let _vanilla_extract_recipes = require("@vanilla-extract/recipes");
6
+ let _gnist_themes_layers_css_js = require("@gnist/themes/layers.css.js");
7
7
  let _gnist_themes_tokens_css_js = require("@gnist/themes/tokens.css.js");
8
- let _vanilla_extract_css = require("@vanilla-extract/css");
9
8
  let _gnist_themes_typography_css_js = require("@gnist/themes/typography.css.js");
10
9
  let _gnist_themes_colors_css_js = require("@gnist/themes/colors.css.js");
11
10
  //#region src/components/surfaces/cards/cards.css.ts
12
- var cardsBase = (0, _vanilla_extract_css.style)([
11
+ var cardsBase = (0, _gnist_themes_layers_css_js.gnistStyle)([
13
12
  (0, _gnist_themes_atoms_css_js.atoms)({
14
13
  display: "block",
15
14
  boxShadow: "low",
@@ -22,7 +21,7 @@ var cardsBase = (0, _vanilla_extract_css.style)([
22
21
  textDecoration: "none"
23
22
  }
24
23
  ]);
25
- var actionLayers = (0, _vanilla_extract_css.style)([
24
+ var actionLayers = (0, _gnist_themes_layers_css_js.gnistStyle)([
26
25
  require_animations_css.clickAnimation,
27
26
  require_states_css.focusStyle,
28
27
  require_states_css.stateLayers({
@@ -32,7 +31,7 @@ var actionLayers = (0, _vanilla_extract_css.style)([
32
31
  setFocusState: true
33
32
  })
34
33
  ]);
35
- var cardsRecipe = (0, _vanilla_extract_recipes.recipe)({
34
+ var cardsRecipe = (0, _gnist_themes_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":"AAqCA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiDtB,CAAC"}
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"}
@@ -2,13 +2,12 @@
2
2
  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
- import { recipe } from "@vanilla-extract/recipes";
5
+ import { gnistRecipe, gnistStyle } from "@gnist/themes/layers.css.js";
6
6
  import { tokens } from "@gnist/themes/tokens.css.js";
7
- import { style } from "@vanilla-extract/css";
8
7
  import { responsiveTypography } from "@gnist/themes/typography.css.js";
9
8
  import { boxColors } from "@gnist/themes/colors.css.js";
10
9
  //#region src/components/surfaces/cards/cards.css.ts
11
- var cardsBase = style([
10
+ var cardsBase = gnistStyle([
12
11
  atoms({
13
12
  display: "block",
14
13
  boxShadow: "low",
@@ -21,7 +20,7 @@ var cardsBase = style([
21
20
  textDecoration: "none"
22
21
  }
23
22
  ]);
24
- var actionLayers = style([
23
+ var actionLayers = gnistStyle([
25
24
  clickAnimation,
26
25
  focusStyle,
27
26
  stateLayers({
@@ -31,7 +30,7 @@ var actionLayers = style([
31
30
  setFocusState: true
32
31
  })
33
32
  ]);
34
- var cardsRecipe = recipe({
33
+ var cardsRecipe = gnistRecipe({
35
34
  base: [cardsBase],
36
35
  variants: {
37
36
  density: {
@@ -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/surfaces/cards/checkboxCard.css.ts
7
- var StyledCardRecipe = (0, _vanilla_extract_recipes.recipe)({
7
+ var StyledCardRecipe = (0, _gnist_themes_layers_css_js.gnistRecipe)({
8
8
  base: [(0, _gnist_themes_atoms_css_js.atoms)({
9
9
  display: "flex",
10
10
  flexDirection: "column"
@@ -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/surfaces/cards/checkboxCard.css.ts
6
- var StyledCardRecipe = recipe({
6
+ var StyledCardRecipe = gnistRecipe({
7
7
  base: [atoms({
8
8
  display: "flex",
9
9
  flexDirection: "column"
@@ -1,9 +1,9 @@
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
  //#region src/components/surfaces/cards/internal/SelectionCard.css.ts
6
- var cardDescription = (0, _vanilla_extract_recipes.recipe)({
6
+ var cardDescription = (0, _gnist_themes_layers_css_js.gnistRecipe)({
7
7
  base: [(0, _gnist_themes_atoms_css_js.atoms)({ display: "block" })],
8
8
  variants: { density: {
9
9
  default: (0, _gnist_themes_atoms_css_js.atoms)({
@@ -17,7 +17,7 @@ var cardDescription = (0, _vanilla_extract_recipes.recipe)({
17
17
  } },
18
18
  defaultVariants: { density: "default" }
19
19
  });
20
- var SelectionControlSkeletonRecipe = (0, _vanilla_extract_recipes.recipe)({
20
+ var SelectionControlSkeletonRecipe = (0, _gnist_themes_layers_css_js.gnistRecipe)({
21
21
  base: [(0, _gnist_themes_atoms_css_js.atoms)({
22
22
  height: "s",
23
23
  width: "s",
@@ -1,8 +1,8 @@
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
  //#region src/components/surfaces/cards/internal/SelectionCard.css.ts
5
- var cardDescription = recipe({
5
+ var cardDescription = gnistRecipe({
6
6
  base: [atoms({ display: "block" })],
7
7
  variants: { density: {
8
8
  default: atoms({
@@ -16,7 +16,7 @@ var cardDescription = recipe({
16
16
  } },
17
17
  defaultVariants: { density: "default" }
18
18
  });
19
- var SelectionControlSkeletonRecipe = recipe({
19
+ var SelectionControlSkeletonRecipe = gnistRecipe({
20
20
  base: [atoms({
21
21
  height: "s",
22
22
  width: "s",
@@ -1,12 +1,12 @@
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");
8
8
  //#region src/components/surfaces/modal/modal.css.ts
9
- var backdropStyle = (0, _vanilla_extract_css.style)({
9
+ var backdropStyle = (0, _gnist_themes_layers_css_js.gnistStyle)({
10
10
  zIndex: -1,
11
11
  position: "fixed",
12
12
  right: 0,
@@ -16,7 +16,7 @@ var backdropStyle = (0, _vanilla_extract_css.style)({
16
16
  backgroundColor: "rgba(0, 0, 0, 0.5)",
17
17
  WebkitTapHighlightColor: "transparent"
18
18
  });
19
- var modalStyle = (0, _vanilla_extract_css.style)({
19
+ var modalStyle = (0, _gnist_themes_layers_css_js.gnistStyle)({
20
20
  position: "fixed",
21
21
  zIndex: 1300,
22
22
  right: 0,
@@ -36,7 +36,7 @@ var modalStyle = (0, _vanilla_extract_css.style)({
36
36
  margin: 0,
37
37
  padding: 0
38
38
  });
39
- var modalHeadingStyle = (0, _vanilla_extract_css.style)({ fontWeight: _gnist_themes_tokens_css_js.tokens.typeface.weight.semibold });
39
+ var modalHeadingStyle = (0, _gnist_themes_layers_css_js.gnistStyle)({ fontWeight: _gnist_themes_tokens_css_js.tokens.typeface.weight.semibold });
40
40
  var dialogPadding = (size) => {
41
41
  switch (size) {
42
42
  case "fullscreen":
@@ -46,7 +46,7 @@ var dialogPadding = (size) => {
46
46
  case "small": return _gnist_themes_tokens_css_js.tokens.spacing.m;
47
47
  }
48
48
  };
49
- var dialogRecipe = (0, _vanilla_extract_recipes.recipe)({
49
+ var dialogRecipe = (0, _gnist_themes_layers_css_js.gnistRecipe)({
50
50
  base: [(0, _gnist_themes_atoms_css_js.atoms)({
51
51
  color: "on-surface",
52
52
  display: "flex",
@@ -93,12 +93,12 @@ var dialogRecipe = (0, _vanilla_extract_recipes.recipe)({
93
93
  } },
94
94
  defaultVariants: { size: "medium" }
95
95
  });
96
- var headerRowPaddingBySize = (size) => (0, _vanilla_extract_css.style)({
96
+ var headerRowPaddingBySize = (size) => (0, _gnist_themes_layers_css_js.gnistStyle)({
97
97
  paddingTop: dialogPadding(size),
98
98
  paddingRight: dialogPadding(size),
99
99
  paddingLeft: dialogPadding(size)
100
100
  });
101
- var headerRowRecipe = (0, _vanilla_extract_recipes.recipe)({
101
+ var headerRowRecipe = (0, _gnist_themes_layers_css_js.gnistRecipe)({
102
102
  base: [{
103
103
  position: "sticky",
104
104
  top: 0,
@@ -128,7 +128,7 @@ var headerRowRecipe = (0, _vanilla_extract_recipes.recipe)({
128
128
  style: { border: "none" }
129
129
  }]
130
130
  });
131
- var contentContainerRecipe = (0, _vanilla_extract_recipes.recipe)({
131
+ var contentContainerRecipe = (0, _gnist_themes_layers_css_js.gnistRecipe)({
132
132
  base: [(0, _gnist_themes_atoms_css_js.atoms)({
133
133
  display: "flex",
134
134
  flexDirection: "column"
@@ -184,12 +184,12 @@ var contentContainerRecipe = (0, _vanilla_extract_recipes.recipe)({
184
184
  }
185
185
  ]
186
186
  });
187
- var actionRowPaddingBySize = (size) => (0, _vanilla_extract_css.style)({
187
+ var actionRowPaddingBySize = (size) => (0, _gnist_themes_layers_css_js.gnistStyle)({
188
188
  paddingTop: dialogPadding(size),
189
189
  paddingRight: dialogPadding(size),
190
190
  paddingLeft: dialogPadding(size)
191
191
  });
192
- var actionRowRecipe = (0, _vanilla_extract_recipes.recipe)({
192
+ var actionRowRecipe = (0, _gnist_themes_layers_css_js.gnistRecipe)({
193
193
  base: [(0, _gnist_themes_atoms_css_js.atoms)({
194
194
  display: "flex",
195
195
  alignItems: "center",
@@ -1,11 +1,11 @@
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 { globalStyle, style } from "@vanilla-extract/css";
6
+ import { globalStyle } from "@vanilla-extract/css";
7
7
  //#region src/components/surfaces/modal/modal.css.ts
8
- var backdropStyle = style({
8
+ var backdropStyle = gnistStyle({
9
9
  zIndex: -1,
10
10
  position: "fixed",
11
11
  right: 0,
@@ -15,7 +15,7 @@ var backdropStyle = style({
15
15
  backgroundColor: "rgba(0, 0, 0, 0.5)",
16
16
  WebkitTapHighlightColor: "transparent"
17
17
  });
18
- var modalStyle = style({
18
+ var modalStyle = gnistStyle({
19
19
  position: "fixed",
20
20
  zIndex: 1300,
21
21
  right: 0,
@@ -35,7 +35,7 @@ var modalStyle = style({
35
35
  margin: 0,
36
36
  padding: 0
37
37
  });
38
- var modalHeadingStyle = style({ fontWeight: tokens.typeface.weight.semibold });
38
+ var modalHeadingStyle = gnistStyle({ fontWeight: tokens.typeface.weight.semibold });
39
39
  var dialogPadding = (size) => {
40
40
  switch (size) {
41
41
  case "fullscreen":
@@ -45,7 +45,7 @@ var dialogPadding = (size) => {
45
45
  case "small": return tokens.spacing.m;
46
46
  }
47
47
  };
48
- var dialogRecipe = recipe({
48
+ var dialogRecipe = gnistRecipe({
49
49
  base: [atoms({
50
50
  color: "on-surface",
51
51
  display: "flex",
@@ -92,12 +92,12 @@ var dialogRecipe = recipe({
92
92
  } },
93
93
  defaultVariants: { size: "medium" }
94
94
  });
95
- var headerRowPaddingBySize = (size) => style({
95
+ var headerRowPaddingBySize = (size) => gnistStyle({
96
96
  paddingTop: dialogPadding(size),
97
97
  paddingRight: dialogPadding(size),
98
98
  paddingLeft: dialogPadding(size)
99
99
  });
100
- var headerRowRecipe = recipe({
100
+ var headerRowRecipe = gnistRecipe({
101
101
  base: [{
102
102
  position: "sticky",
103
103
  top: 0,
@@ -127,7 +127,7 @@ var headerRowRecipe = recipe({
127
127
  style: { border: "none" }
128
128
  }]
129
129
  });
130
- var contentContainerRecipe = recipe({
130
+ var contentContainerRecipe = gnistRecipe({
131
131
  base: [atoms({
132
132
  display: "flex",
133
133
  flexDirection: "column"
@@ -183,12 +183,12 @@ var contentContainerRecipe = recipe({
183
183
  }
184
184
  ]
185
185
  });
186
- var actionRowPaddingBySize = (size) => style({
186
+ var actionRowPaddingBySize = (size) => gnistStyle({
187
187
  paddingTop: dialogPadding(size),
188
188
  paddingRight: dialogPadding(size),
189
189
  paddingLeft: dialogPadding(size)
190
190
  });
191
- var actionRowRecipe = recipe({
191
+ var actionRowRecipe = gnistRecipe({
192
192
  base: [atoms({
193
193
  display: "flex",
194
194
  alignItems: "center",
@@ -1,15 +1,16 @@
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 _vanilla_extract_css = require("@vanilla-extract/css");
5
6
  //#region src/foundation/iconography/Icon.css.ts
6
7
  var svgHeight = (0, _vanilla_extract_css.createVar)();
7
8
  var svgWidth = (0, _vanilla_extract_css.createVar)();
8
- var iconContainer = (0, _vanilla_extract_css.style)([{ display: "inline-flex" }, (0, _gnist_themes_atoms_css_js.atoms)({
9
+ var iconContainer = (0, _gnist_themes_layers_css_js.gnistStyle)([{ display: "inline-flex" }, (0, _gnist_themes_atoms_css_js.atoms)({
9
10
  justifyContent: "center",
10
11
  alignItems: "center"
11
12
  })]);
12
- var svg = (0, _vanilla_extract_css.style)({
13
+ var svg = (0, _gnist_themes_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":"AAGA,eAAO,MAAM,SAAS,oBAAc,CAAC;AACrC,eAAO,MAAM,QAAQ,oBAAc,CAAC;AAEpC,eAAO,MAAM,aAAa,QAGxB,CAAC;AAEH,eAAO,MAAM,GAAG,QAKd,CAAC"}
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,14 +1,15 @@
1
1
  "use client";
2
2
  import { atoms } from "@gnist/themes/atoms.css.js";
3
- import { createVar, style } from "@vanilla-extract/css";
3
+ import { gnistStyle } from "@gnist/themes/layers.css.js";
4
+ import { createVar } from "@vanilla-extract/css";
4
5
  //#region src/foundation/iconography/Icon.css.ts
5
6
  var svgHeight = createVar();
6
7
  var svgWidth = createVar();
7
- var iconContainer = style([{ display: "inline-flex" }, atoms({
8
+ var iconContainer = gnistStyle([{ display: "inline-flex" }, atoms({
8
9
  justifyContent: "center",
9
10
  alignItems: "center"
10
11
  })]);
11
- var svg = style({
12
+ var svg = gnistStyle({
12
13
  overflow: "visible",
13
14
  height: svgHeight,
14
15
  width: svgWidth,
@@ -1,14 +1,15 @@
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 _vanilla_extract_css = require("@vanilla-extract/css");
4
5
  let _gnist_themes_themes_brandlessTokens_js = require("@gnist/themes/themes/brandlessTokens.js");
5
6
  //#region src/foundation/logos/Logo.css.ts
6
- var base = (0, _vanilla_extract_css.style)({
7
+ var base = (0, _gnist_themes_layers_css_js.gnistStyle)({
7
8
  display: "inline-flex",
8
9
  justifyContent: "center",
9
10
  alignItems: "center"
10
11
  });
11
- var svg = (0, _vanilla_extract_css.style)({ overflow: "visible" });
12
+ var svg = (0, _gnist_themes_layers_css_js.gnistStyle)({ overflow: "visible" });
12
13
  var sizes = Object.keys(_gnist_themes_themes_brandlessTokens_js.brandlessTokens.size);
13
14
  var styles = (style) => sizes.reduce((acc, x) => {
14
15
  acc[x] = [style, { height: _gnist_themes_themes_brandlessTokens_js.brandlessTokens.size[x] }];
@@ -1 +1 @@
1
- {"version":3,"file":"Logo.css.d.ts","sourceRoot":"","sources":["../../../src/foundation/logos/Logo.css.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,GAAG,QAEd,CAAC;AAYH,eAAO,MAAM,WAAW,iCAA8B,CAAC;AACvD,eAAO,MAAM,UAAU,iCAA6B,CAAC"}
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,13 +1,14 @@
1
1
  "use client";
2
- import { style, styleVariants } from "@vanilla-extract/css";
2
+ import { gnistStyle } from "@gnist/themes/layers.css.js";
3
+ import { styleVariants } from "@vanilla-extract/css";
3
4
  import { brandlessTokens } from "@gnist/themes/themes/brandlessTokens.js";
4
5
  //#region src/foundation/logos/Logo.css.ts
5
- var base = style({
6
+ var base = gnistStyle({
6
7
  display: "inline-flex",
7
8
  justifyContent: "center",
8
9
  alignItems: "center"
9
10
  });
10
- var svg = style({ overflow: "visible" });
11
+ var svg = gnistStyle({ overflow: "visible" });
11
12
  var sizes = Object.keys(brandlessTokens.size);
12
13
  var styles = (style) => sizes.reduce((acc, x) => {
13
14
  acc[x] = [style, { height: brandlessTokens.size[x] }];
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  require("../../_virtual/_rolldown/runtime.cjs");
3
- let _vanilla_extract_css = require("@vanilla-extract/css");
3
+ let _gnist_themes_layers_css_js = require("@gnist/themes/layers.css.js");
4
4
  let _gnist_themes_typography_css_js = require("@gnist/themes/typography.css.js");
5
5
  //#region src/foundation/typography/typography.css.ts
6
6
  var displayText = _gnist_themes_typography_css_js.responsiveTypography["display"];
@@ -9,7 +9,7 @@ var heading2Text = _gnist_themes_typography_css_js.responsiveTypography["heading
9
9
  var heading3Text = _gnist_themes_typography_css_js.responsiveTypography["heading3"];
10
10
  var leadText = _gnist_themes_typography_css_js.responsiveTypography["lead"];
11
11
  var bodyText = _gnist_themes_typography_css_js.responsiveTypography["body"];
12
- var linkText = (0, _vanilla_extract_css.style)([{ selectors: { "&, &:visited, &:hover, &:active": { color: "currentColor" } } }, _gnist_themes_typography_css_js.responsiveTypography["link"]]);
12
+ var linkText = (0, _gnist_themes_layers_css_js.gnistStyle)([{ selectors: { "&, &:visited, &:hover, &:active": { color: "currentColor" } } }, _gnist_themes_typography_css_js.responsiveTypography["link"]]);
13
13
  var detailText = _gnist_themes_typography_css_js.responsiveTypography["detail"];
14
14
  //#endregion
15
15
  exports.bodyText = bodyText;