@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
package/CHANGELOG.md CHANGED
@@ -3,6 +3,26 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [7.0.0-alpha.0](https://github.com/mollerdigital/design-system-design-system/compare/@gnist/design-system@6.3.0-alpha.0...@gnist/design-system@7.0.0-alpha.0) (2026-05-21)
7
+
8
+ ### ⚠ BREAKING CHANGES
9
+
10
+ * **design-system:** Bumping major version.
11
+
12
+ ### Features
13
+
14
+ * **design-system:** trigger major version bump ([bbec7c0](https://github.com/mollerdigital/design-system-design-system/commit/bbec7c025f9bbc73e66ac87a08b844a066abebb5))
15
+
16
+ ## [6.3.0-alpha.0](https://github.com/mollerdigital/design-system-design-system/compare/@gnist/design-system@6.2.2...@gnist/design-system@6.3.0-alpha.0) (2026-05-21)
17
+
18
+ ### Features
19
+
20
+ * Wrap gnist css in [@layer](https://github.com/layer) gnist { ... } ([c513601](https://github.com/mollerdigital/design-system-design-system/commit/c513601b4831e7d02f08028cdf1f0cd4c42f60bc))
21
+
22
+ ### Bug Fixes
23
+
24
+ * lint ([1c19f04](https://github.com/mollerdigital/design-system-design-system/commit/1c19f04a0aae90d887e3f26f4c31321bea84dced))
25
+
6
26
  ## [6.2.2](https://github.com/mollerdigital/design-system-design-system/compare/@gnist/design-system@6.2.1...@gnist/design-system@6.2.2) (2026-05-21)
7
27
 
8
28
  ### Bug Fixes
package/README.md CHANGED
@@ -1,5 +1,6 @@
1
1
  # Multi-brand React component library for Møller
2
2
 
3
+
3
4
  `@gnist/design-system` is a React component library containing reusable, multi-brand GUI building blocks for applications in the Møller ecosystem.
4
5
 
5
6
  For instructions on developing components, see the [Development docs](#development).
@@ -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/building-blocks/inputs/internal/textBelowInput.css.ts
5
- var textBelowInputRecipe = (0, require("@vanilla-extract/recipes").recipe)({
5
+ var textBelowInputRecipe = (0, require("@gnist/themes/layers.css.js").gnistRecipe)({
6
6
  base: [(0, _gnist_themes_atoms_css_js.atoms)({
7
7
  typography: "detail-small",
8
8
  paddingTop: "base",
@@ -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/building-blocks/inputs/internal/textBelowInput.css.ts
5
- var textBelowInputRecipe = recipe({
5
+ var textBelowInputRecipe = gnistRecipe({
6
6
  base: [atoms({
7
7
  typography: "detail-small",
8
8
  paddingTop: "base",
@@ -3,12 +3,11 @@ 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
8
  let _vanilla_extract_css_utils = require("@vanilla-extract/css-utils");
9
- let _vanilla_extract_css = require("@vanilla-extract/css");
10
9
  //#region src/components/actions/buttons/styles.css.ts
11
- var buttonBase = (0, _vanilla_extract_css.style)([
10
+ var buttonBase = (0, _gnist_themes_layers_css_js.gnistStyle)([
12
11
  require_states_css.focusStyle,
13
12
  require_animations_css.clickAnimation,
14
13
  (0, _gnist_themes_atoms_css_js.atoms)({
@@ -34,12 +33,12 @@ var getColors = (variant) => (0, _gnist_themes_atoms_css_js.atoms)({
34
33
  backgroundColor: variant,
35
34
  color: `on-${variant}`
36
35
  });
37
- var textAndIconButton = (0, _vanilla_extract_css.style)([(0, _gnist_themes_atoms_css_js.atoms)({ height: "l" }), {
36
+ var textAndIconButton = (0, _gnist_themes_layers_css_js.gnistStyle)([(0, _gnist_themes_atoms_css_js.atoms)({ height: "l" }), {
38
37
  color: "inherit",
39
38
  minWidth: 0,
40
39
  flexShrink: 0
41
40
  }]);
42
- var buttonRecipe = (0, _vanilla_extract_recipes.recipe)({
41
+ var buttonRecipe = (0, _gnist_themes_layers_css_js.gnistRecipe)({
43
42
  base: [buttonBase],
44
43
  variants: {
45
44
  isLoading: {
@@ -94,7 +93,7 @@ var buttonRecipe = (0, _vanilla_extract_recipes.recipe)({
94
93
  }],
95
94
  defaultVariants: { isLoading: false }
96
95
  });
97
- var boxedButton = (0, _vanilla_extract_recipes.recipe)({
96
+ var boxedButton = (0, _gnist_themes_layers_css_js.gnistRecipe)({
98
97
  base: (0, _gnist_themes_atoms_css_js.atoms)({ columnGap: "base" }),
99
98
  variants: { density: {
100
99
  default: (0, _gnist_themes_atoms_css_js.atoms)({
@@ -108,13 +107,13 @@ var boxedButton = (0, _vanilla_extract_recipes.recipe)({
108
107
  } },
109
108
  defaultVariants: { density: "default" }
110
109
  });
111
- var iconButton = (0, _vanilla_extract_recipes.recipe)({ variants: { showLabel: {
110
+ var iconButton = (0, _gnist_themes_layers_css_js.gnistRecipe)({ variants: { showLabel: {
112
111
  left: { paddingLeft: _gnist_themes_tokens_css_js.tokens.spacing.base },
113
112
  right: { paddingRight: _gnist_themes_tokens_css_js.tokens.spacing.base },
114
113
  none: ""
115
114
  } } });
116
- var actionText = (0, _vanilla_extract_css.style)({ fontWeight: _gnist_themes_tokens_css_js.tokens.typeface.weight.semibold });
117
- var textButtonText = (0, _vanilla_extract_recipes.recipe)({
115
+ var actionText = (0, _gnist_themes_layers_css_js.gnistStyle)({ fontWeight: _gnist_themes_tokens_css_js.tokens.typeface.weight.semibold });
116
+ var textButtonText = (0, _gnist_themes_layers_css_js.gnistRecipe)({
118
117
  base: {
119
118
  borderBottomStyle: "solid",
120
119
  borderBottomWidth: _gnist_themes_tokens_css_js.tokens.stroke.medium
@@ -1 +1 @@
1
- {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/buttons/styles.css.ts"],"names":[],"mappings":"AA8CA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0DvB,CAAC;AAEH,eAAO,MAAM,WAAW;;;;;EAStB,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;EAQrB,CAAC;AAEH,eAAO,MAAM,UAAU,QAErB,CAAC;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;EA0BzB,CAAC"}
1
+ {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/buttons/styles.css.ts"],"names":[],"mappings":"AA6CA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0DvB,CAAC;AAEH,eAAO,MAAM,WAAW;;;;;EAStB,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;EAQrB,CAAC;AAEH,eAAO,MAAM,UAAU,QAErB,CAAC;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;EA0BzB,CAAC"}
@@ -2,12 +2,11 @@
2
2
  import { clickAnimation } from "../../../styles/animations.css.js";
3
3
  import { focusStyle } 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
7
  import { calc } from "@vanilla-extract/css-utils";
8
- import { style } from "@vanilla-extract/css";
9
8
  //#region src/components/actions/buttons/styles.css.ts
10
- var buttonBase = style([
9
+ var buttonBase = gnistStyle([
11
10
  focusStyle,
12
11
  clickAnimation,
13
12
  atoms({
@@ -33,12 +32,12 @@ var getColors = (variant) => atoms({
33
32
  backgroundColor: variant,
34
33
  color: `on-${variant}`
35
34
  });
36
- var textAndIconButton = style([atoms({ height: "l" }), {
35
+ var textAndIconButton = gnistStyle([atoms({ height: "l" }), {
37
36
  color: "inherit",
38
37
  minWidth: 0,
39
38
  flexShrink: 0
40
39
  }]);
41
- var buttonRecipe = recipe({
40
+ var buttonRecipe = gnistRecipe({
42
41
  base: [buttonBase],
43
42
  variants: {
44
43
  isLoading: {
@@ -93,7 +92,7 @@ var buttonRecipe = recipe({
93
92
  }],
94
93
  defaultVariants: { isLoading: false }
95
94
  });
96
- var boxedButton = recipe({
95
+ var boxedButton = gnistRecipe({
97
96
  base: atoms({ columnGap: "base" }),
98
97
  variants: { density: {
99
98
  default: atoms({
@@ -107,13 +106,13 @@ var boxedButton = recipe({
107
106
  } },
108
107
  defaultVariants: { density: "default" }
109
108
  });
110
- var iconButton = recipe({ variants: { showLabel: {
109
+ var iconButton = gnistRecipe({ variants: { showLabel: {
111
110
  left: { paddingLeft: tokens.spacing.base },
112
111
  right: { paddingRight: tokens.spacing.base },
113
112
  none: ""
114
113
  } } });
115
- var actionText = style({ fontWeight: tokens.typeface.weight.semibold });
116
- var textButtonText = recipe({
114
+ var actionText = gnistStyle({ fontWeight: tokens.typeface.weight.semibold });
115
+ var textButtonText = gnistRecipe({
117
116
  base: {
118
117
  borderBottomStyle: "solid",
119
118
  borderBottomWidth: tokens.stroke.medium
@@ -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_utils = require("@vanilla-extract/css-utils");
7
7
  //#region src/components/actions/chips/styles.css.ts
8
- var chipBase = (0, require("@vanilla-extract/css").style)({
8
+ var chipBase = (0, _gnist_themes_layers_css_js.gnistStyle)({
9
9
  display: "flex",
10
10
  gap: _gnist_themes_tokens_css_js.tokens.spacing.base,
11
11
  textWrap: "nowrap",
@@ -19,7 +19,7 @@ var chipBase = (0, require("@vanilla-extract/css").style)({
19
19
  minHeight: _gnist_themes_tokens_css_js.tokens.size.xl,
20
20
  justifyContent: "center"
21
21
  });
22
- var chipRecipe = (0, _vanilla_extract_recipes.recipe)({
22
+ var chipRecipe = (0, _gnist_themes_layers_css_js.gnistRecipe)({
23
23
  base: chipBase,
24
24
  variants: {
25
25
  selected: {
@@ -1 +1 @@
1
- {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/chips/styles.css.ts"],"names":[],"mappings":"AAqBA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkDrB,CAAC"}
1
+ {"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/chips/styles.css.ts"],"names":[],"mappings":"AAoBA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkDrB,CAAC"}
@@ -1,11 +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
5
  import { calc } from "@vanilla-extract/css-utils";
6
- import { style } from "@vanilla-extract/css";
7
- var chipRecipe = recipe({
8
- base: style({
6
+ var chipRecipe = gnistRecipe({
7
+ base: gnistStyle({
9
8
  display: "flex",
10
9
  gap: tokens.spacing.base,
11
10
  textWrap: "nowrap",
@@ -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/actions/selectionControls/checkbox.css.ts
7
- var CheckboxRecipe = (0, _vanilla_extract_recipes.recipe)({
7
+ var CheckboxRecipe = (0, _gnist_themes_layers_css_js.gnistRecipe)({
8
8
  base: [{
9
9
  borderStyle: "solid",
10
10
  boxSizing: "border-box"
@@ -63,7 +63,7 @@ var CheckboxRecipe = (0, _vanilla_extract_recipes.recipe)({
63
63
  }
64
64
  ]
65
65
  });
66
- var checkbox = (0, _vanilla_extract_recipes.recipe)({
66
+ var checkbox = (0, _gnist_themes_layers_css_js.gnistRecipe)({
67
67
  base: [(0, _gnist_themes_atoms_css_js.atoms)({ color: "surface" }), {
68
68
  display: "flex",
69
69
  alignItems: "center"
@@ -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/actions/selectionControls/checkbox.css.ts
6
- var CheckboxRecipe = recipe({
6
+ var CheckboxRecipe = gnistRecipe({
7
7
  base: [{
8
8
  borderStyle: "solid",
9
9
  boxSizing: "border-box"
@@ -62,7 +62,7 @@ var CheckboxRecipe = recipe({
62
62
  }
63
63
  ]
64
64
  });
65
- var checkbox = recipe({
65
+ var checkbox = gnistRecipe({
66
66
  base: [atoms({ color: "surface" }), {
67
67
  display: "flex",
68
68
  alignItems: "center"
@@ -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/actions/selectionControls/radiobutton.css.ts
7
- var RadioButtonRecipe = (0, _vanilla_extract_recipes.recipe)({
7
+ var RadioButtonRecipe = (0, _gnist_themes_layers_css_js.gnistRecipe)({
8
8
  base: [(0, _gnist_themes_atoms_css_js.atoms)({
9
9
  height: "s",
10
10
  width: "s"
@@ -36,7 +36,7 @@ var RadioButtonRecipe = (0, _vanilla_extract_recipes.recipe)({
36
36
  }
37
37
  }
38
38
  });
39
- var CheckedCircleRecipe = (0, _vanilla_extract_recipes.recipe)({
39
+ var CheckedCircleRecipe = (0, _gnist_themes_layers_css_js.gnistRecipe)({
40
40
  base: [(0, _gnist_themes_atoms_css_js.atoms)({
41
41
  display: "inline",
42
42
  borderRadius: "full",
@@ -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/actions/selectionControls/radiobutton.css.ts
6
- var RadioButtonRecipe = recipe({
6
+ var RadioButtonRecipe = gnistRecipe({
7
7
  base: [atoms({
8
8
  height: "s",
9
9
  width: "s"
@@ -35,7 +35,7 @@ var RadioButtonRecipe = recipe({
35
35
  }
36
36
  }
37
37
  });
38
- var CheckedCircleRecipe = recipe({
38
+ var CheckedCircleRecipe = gnistRecipe({
39
39
  base: [atoms({
40
40
  display: "inline",
41
41
  borderRadius: "full",
@@ -1,16 +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 _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/actions/selectionControls/radiogroup.css.ts
6
- var fieldSetStyle = (0, require("@vanilla-extract/css").style)([{ border: "none" }, (0, _gnist_themes_atoms_css_js.atoms)({
6
+ var fieldSetStyle = (0, _gnist_themes_layers_css_js.gnistStyle)([{ border: "none" }, (0, _gnist_themes_atoms_css_js.atoms)({
7
7
  padding: "none",
8
8
  display: "flex",
9
9
  flexDirection: "column",
10
10
  gap: "base"
11
11
  })]);
12
12
  var legendStyle = (0, _gnist_themes_atoms_css_js.atoms)({ marginBottom: "base" });
13
- var radioContainerStyle = (0, _vanilla_extract_recipes.recipe)({
13
+ var radioContainerStyle = (0, _gnist_themes_layers_css_js.gnistRecipe)({
14
14
  base: [(0, _gnist_themes_atoms_css_js.atoms)({
15
15
  display: "flex",
16
16
  gap: "xs"
@@ -1 +1 @@
1
- {"version":3,"file":"radiogroup.css.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/selectionControls/radiogroup.css.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,aAAa,QAUxB,CAAC;AAEH,eAAO,MAAM,WAAW,QAEtB,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;EAsB9B,CAAC"}
1
+ {"version":3,"file":"radiogroup.css.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/selectionControls/radiogroup.css.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,QAUxB,CAAC;AAEH,eAAO,MAAM,WAAW,QAEtB,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;EAsB9B,CAAC"}
@@ -1,16 +1,15 @@
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/actions/selectionControls/radiogroup.css.ts
6
- var fieldSetStyle = style([{ border: "none" }, atoms({
5
+ var fieldSetStyle = gnistStyle([{ border: "none" }, atoms({
7
6
  padding: "none",
8
7
  display: "flex",
9
8
  flexDirection: "column",
10
9
  gap: "base"
11
10
  })]);
12
11
  var legendStyle = atoms({ marginBottom: "base" });
13
- var radioContainerStyle = recipe({
12
+ var radioContainerStyle = gnistRecipe({
14
13
  base: [atoms({
15
14
  display: "flex",
16
15
  gap: "xs"
@@ -2,19 +2,18 @@
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
- let _vanilla_extract_css = require("@vanilla-extract/css");
9
8
  //#region src/components/actions/selectionControls/shared.css.ts
10
- var InputWrapper = (0, _vanilla_extract_css.style)({
9
+ var InputWrapper = (0, _gnist_themes_layers_css_js.gnistStyle)({
11
10
  position: "relative",
12
11
  display: "flex",
13
12
  width: "fit-content",
14
13
  height: "fit-content"
15
14
  });
16
- var LabelStyle = (0, _vanilla_extract_css.style)([{ alignSelf: "center" }]);
17
- var LabelRecipe = (0, _vanilla_extract_recipes.recipe)({
15
+ var LabelStyle = (0, _gnist_themes_layers_css_js.gnistStyle)([{ alignSelf: "center" }]);
16
+ var LabelRecipe = (0, _gnist_themes_layers_css_js.gnistRecipe)({
18
17
  base: [
19
18
  {
20
19
  display: "flex",
@@ -30,7 +29,7 @@ var LabelRecipe = (0, _vanilla_extract_recipes.recipe)({
30
29
  ],
31
30
  variants: { disabled: { true: [(0, _gnist_themes_atoms_css_js.atoms)({ color: "on-disabled" }), { cursor: "not-allowed" }] } }
32
31
  });
33
- var InputStyleRecipe = (0, _vanilla_extract_recipes.recipe)({
32
+ var InputStyleRecipe = (0, _gnist_themes_layers_css_js.gnistRecipe)({
34
33
  base: [{
35
34
  position: "absolute",
36
35
  width: "100%",
@@ -45,7 +44,7 @@ var InputStyleRecipe = (0, _vanilla_extract_recipes.recipe)({
45
44
  }, require_states_css.focusStyle],
46
45
  variants: { disabled: { true: [{ cursor: "not-allowed" }] } }
47
46
  });
48
- var indentedDescriptionStyle = (0, _vanilla_extract_css.style)({ paddingLeft: _vanilla_extract_css_utils.calc.add(_gnist_themes_tokens_css_js.tokens.size.s, _vanilla_extract_css_utils.calc.multiply(_gnist_themes_tokens_css_js.tokens.spacing.base, 3)) });
47
+ var indentedDescriptionStyle = (0, _gnist_themes_layers_css_js.gnistStyle)({ paddingLeft: _vanilla_extract_css_utils.calc.add(_gnist_themes_tokens_css_js.tokens.size.s, _vanilla_extract_css_utils.calc.multiply(_gnist_themes_tokens_css_js.tokens.spacing.base, 3)) });
49
48
  //#endregion
50
49
  exports.InputStyleRecipe = InputStyleRecipe;
51
50
  exports.InputWrapper = InputWrapper;
@@ -1 +1 @@
1
- {"version":3,"file":"shared.css.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/selectionControls/shared.css.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,YAAY,QAKvB,CAAC;AAEH,eAAO,MAAM,UAAU,QAIrB,CAAC;AAEH,eAAO,MAAM,WAAW;;;;;;EA2BtB,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;EAyB3B,CAAC;AAEH,eAAO,MAAM,wBAAwB,QAEnC,CAAC"}
1
+ {"version":3,"file":"shared.css.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/selectionControls/shared.css.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,YAAY,QAKvB,CAAC;AAEH,eAAO,MAAM,UAAU,QAIrB,CAAC;AAEH,eAAO,MAAM,WAAW;;;;;;EA2BtB,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;EAyB3B,CAAC;AAEH,eAAO,MAAM,wBAAwB,QAEnC,CAAC"}
@@ -1,19 +1,18 @@
1
1
  "use client";
2
2
  import { focusStyle } 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 { style } from "@vanilla-extract/css";
8
7
  //#region src/components/actions/selectionControls/shared.css.ts
9
- var InputWrapper = style({
8
+ var InputWrapper = gnistStyle({
10
9
  position: "relative",
11
10
  display: "flex",
12
11
  width: "fit-content",
13
12
  height: "fit-content"
14
13
  });
15
- var LabelStyle = style([{ alignSelf: "center" }]);
16
- var LabelRecipe = recipe({
14
+ var LabelStyle = gnistStyle([{ alignSelf: "center" }]);
15
+ var LabelRecipe = gnistRecipe({
17
16
  base: [
18
17
  {
19
18
  display: "flex",
@@ -29,7 +28,7 @@ var LabelRecipe = recipe({
29
28
  ],
30
29
  variants: { disabled: { true: [atoms({ color: "on-disabled" }), { cursor: "not-allowed" }] } }
31
30
  });
32
- var InputStyleRecipe = recipe({
31
+ var InputStyleRecipe = gnistRecipe({
33
32
  base: [{
34
33
  position: "absolute",
35
34
  width: "100%",
@@ -44,6 +43,6 @@ var InputStyleRecipe = recipe({
44
43
  }, focusStyle],
45
44
  variants: { disabled: { true: [{ cursor: "not-allowed" }] } }
46
45
  });
47
- var indentedDescriptionStyle = style({ paddingLeft: calc.add(tokens.size.s, calc.multiply(tokens.spacing.base, 3)) });
46
+ var indentedDescriptionStyle = gnistStyle({ paddingLeft: calc.add(tokens.size.s, calc.multiply(tokens.spacing.base, 3)) });
48
47
  //#endregion
49
48
  export { InputStyleRecipe, InputWrapper, LabelRecipe, LabelStyle, indentedDescriptionStyle };
@@ -1,34 +1,33 @@
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
- let _vanilla_extract_css = require("@vanilla-extract/css");
8
7
  //#region src/components/actions/selectionControls/switch.css.ts
9
- var focusContainer = (0, _vanilla_extract_css.style)({
8
+ var focusContainer = (0, _gnist_themes_layers_css_js.gnistStyle)({
10
9
  display: "inline-flex",
11
10
  alignItems: "center",
12
11
  position: "relative",
13
12
  flexShrink: 0
14
13
  });
15
- var switchField = (0, _vanilla_extract_css.style)({
14
+ var switchField = (0, _gnist_themes_layers_css_js.gnistStyle)({
16
15
  display: "inline-flex",
17
16
  flexDirection: "column",
18
17
  gap: _gnist_themes_tokens_css_js.tokens.spacing.base
19
18
  });
20
- var switchRow = (0, _vanilla_extract_css.style)({
19
+ var switchRow = (0, _gnist_themes_layers_css_js.gnistStyle)({
21
20
  display: "inline-flex",
22
21
  alignItems: "center",
23
22
  gap: _gnist_themes_tokens_css_js.tokens.spacing.xxs
24
23
  });
25
- var switchLabelContent = (0, _vanilla_extract_css.style)({
24
+ var switchLabelContent = (0, _gnist_themes_layers_css_js.gnistStyle)({
26
25
  display: "inline-flex",
27
26
  flexDirection: "column",
28
27
  gap: _gnist_themes_tokens_css_js.tokens.spacing.base,
29
28
  minWidth: 0
30
29
  });
31
- var switchContainer = (0, _vanilla_extract_css.style)([{
30
+ var switchContainer = (0, _gnist_themes_layers_css_js.gnistStyle)([{
32
31
  position: "relative",
33
32
  display: "inline-flex",
34
33
  alignItems: "center",
@@ -41,7 +40,7 @@ var switchContainer = (0, _vanilla_extract_css.style)([{
41
40
  width: "xxl",
42
41
  height: "m"
43
42
  })]);
44
- var SwitchRecipe = (0, _vanilla_extract_recipes.recipe)({
43
+ var SwitchRecipe = (0, _gnist_themes_layers_css_js.gnistRecipe)({
45
44
  base: [switchContainer, {
46
45
  borderWidth: _gnist_themes_tokens_css_js.tokens.stroke.small,
47
46
  borderStyle: "solid",
@@ -82,7 +81,7 @@ var SwitchRecipe = (0, _vanilla_extract_recipes.recipe)({
82
81
  })]
83
82
  }]
84
83
  });
85
- var switchThumb = (0, _vanilla_extract_css.style)({
84
+ var switchThumb = (0, _gnist_themes_layers_css_js.gnistStyle)({
86
85
  position: "absolute",
87
86
  top: "50%",
88
87
  transform: "translateY(-50%)",
@@ -94,7 +93,7 @@ var switchThumb = (0, _vanilla_extract_css.style)({
94
93
  backgroundColor: _gnist_themes_tokens_css_js.tokens.color.surface,
95
94
  selectors: { [`${focusContainer}:has(input:not(:disabled):active) &`]: { transform: "translateY(-50%) scale(0.94)" } }
96
95
  });
97
- var SwitchThumbRecipe = (0, _vanilla_extract_recipes.recipe)({
96
+ var SwitchThumbRecipe = (0, _gnist_themes_layers_css_js.gnistRecipe)({
98
97
  base: [
99
98
  switchThumb,
100
99
  (0, _gnist_themes_atoms_css_js.atoms)({
@@ -128,26 +127,26 @@ var SwitchThumbRecipe = (0, _vanilla_extract_recipes.recipe)({
128
127
  style: [(0, _gnist_themes_atoms_css_js.atoms)({ borderColor: "surface" })]
129
128
  }]
130
129
  });
131
- var switchThumbIcon = (0, _vanilla_extract_css.style)([{
130
+ var switchThumbIcon = (0, _gnist_themes_layers_css_js.gnistStyle)([{
132
131
  display: "inline-flex",
133
132
  alignItems: "center",
134
133
  justifyContent: "center",
135
134
  lineHeight: 0,
136
135
  pointerEvents: "none"
137
136
  }, (0, _gnist_themes_atoms_css_js.atoms)({ color: "on-surface" })]);
138
- var switchLabel = (0, _vanilla_extract_css.style)([{
137
+ var switchLabel = (0, _gnist_themes_layers_css_js.gnistStyle)([{
139
138
  userSelect: "none",
140
139
  fontSize: _gnist_themes_tokens_css_js.tokens.type.small.body.fontSize,
141
140
  lineHeight: _gnist_themes_tokens_css_js.tokens.typeface.size.xl
142
141
  }, (0, _gnist_themes_atoms_css_js.atoms)({ color: "on-surface" })]);
143
- var SwitchLabelRecipe = (0, _vanilla_extract_recipes.recipe)({
142
+ var SwitchLabelRecipe = (0, _gnist_themes_layers_css_js.gnistRecipe)({
144
143
  base: [switchLabel],
145
144
  variants: { disabled: {
146
145
  true: [(0, _gnist_themes_atoms_css_js.atoms)({ color: "on-disabled" })],
147
146
  false: {}
148
147
  } }
149
148
  });
150
- var switchDescription = (0, _vanilla_extract_css.style)([(0, _gnist_themes_atoms_css_js.atoms)({ color: "text-variant" })]);
149
+ var switchDescription = (0, _gnist_themes_layers_css_js.gnistStyle)([(0, _gnist_themes_atoms_css_js.atoms)({ color: "text-variant" })]);
151
150
  //#endregion
152
151
  exports.SwitchLabelRecipe = SwitchLabelRecipe;
153
152
  exports.SwitchRecipe = SwitchRecipe;
@@ -1 +1 @@
1
- {"version":3,"file":"switch.css.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/selectionControls/switch.css.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,cAAc,QAKzB,CAAC;AAEH,eAAO,MAAM,WAAW,QAItB,CAAC;AAEH,eAAO,MAAM,SAAS,QAIpB,CAAC;AAEH,eAAO,MAAM,kBAAkB,QAK7B,CAAC;AAEH,eAAO,MAAM,eAAe,QAgB1B,CAAC;AAEH,eAAO,MAAM,YAAY;;;;;;;;;;;EA8DvB,CAAC;AAEH,eAAO,MAAM,WAAW,QAgBtB,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;EA0D5B,CAAC;AAEH,eAAO,MAAM,eAAe,QAW1B,CAAC;AAEH,eAAO,MAAM,WAAW,QAStB,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;EAY5B,CAAC;AAEH,eAAO,MAAM,iBAAiB,QAI5B,CAAC"}
1
+ {"version":3,"file":"switch.css.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/selectionControls/switch.css.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,cAAc,QAKzB,CAAC;AAEH,eAAO,MAAM,WAAW,QAItB,CAAC;AAEH,eAAO,MAAM,SAAS,QAIpB,CAAC;AAEH,eAAO,MAAM,kBAAkB,QAK7B,CAAC;AAEH,eAAO,MAAM,eAAe,QAgB1B,CAAC;AAEH,eAAO,MAAM,YAAY;;;;;;;;;;;EA8DvB,CAAC;AAEH,eAAO,MAAM,WAAW,QAgBtB,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;EA0D5B,CAAC;AAEH,eAAO,MAAM,eAAe,QAW1B,CAAC;AAEH,eAAO,MAAM,WAAW,QAStB,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;EAY5B,CAAC;AAEH,eAAO,MAAM,iBAAiB,QAI5B,CAAC"}
@@ -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 };