@gnist/design-system 5.5.0-alpha.1 → 5.5.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 (156) hide show
  1. package/CHANGELOG.md +19 -5
  2. package/dist/building-blocks/inputs/internal/textBelowInput.css.cjs +2 -2
  3. package/dist/building-blocks/inputs/internal/textBelowInput.css.js +2 -2
  4. package/dist/building-blocks/skeletons/CircularSkeleton.d.ts.map +1 -1
  5. package/dist/building-blocks/skeletons/RectangularSkeleton.d.ts.map +1 -1
  6. package/dist/building-blocks/skeletons/TextSkeleton.cjs +1 -3
  7. package/dist/building-blocks/skeletons/TextSkeleton.d.ts.map +1 -1
  8. package/dist/building-blocks/skeletons/TextSkeleton.js +1 -3
  9. package/dist/components/actions/buttons/createButtonVariant.d.ts.map +1 -1
  10. package/dist/components/actions/buttons/styles.css.cjs +9 -8
  11. package/dist/components/actions/buttons/styles.css.d.ts.map +1 -1
  12. package/dist/components/actions/buttons/styles.css.js +9 -8
  13. package/dist/components/actions/chips/styles.css.cjs +4 -3
  14. package/dist/components/actions/chips/styles.css.d.ts.map +1 -1
  15. package/dist/components/actions/chips/styles.css.js +4 -3
  16. package/dist/components/actions/selectionControls/checkbox.css.cjs +3 -3
  17. package/dist/components/actions/selectionControls/checkbox.css.js +3 -3
  18. package/dist/components/actions/selectionControls/radiobutton.css.cjs +3 -3
  19. package/dist/components/actions/selectionControls/radiobutton.css.js +3 -3
  20. package/dist/components/actions/selectionControls/radiogroup.css.cjs +4 -3
  21. package/dist/components/actions/selectionControls/radiogroup.css.d.ts.map +1 -1
  22. package/dist/components/actions/selectionControls/radiogroup.css.js +4 -3
  23. package/dist/components/actions/selectionControls/shared.css.cjs +7 -6
  24. package/dist/components/actions/selectionControls/shared.css.d.ts.map +1 -1
  25. package/dist/components/actions/selectionControls/shared.css.js +7 -6
  26. package/dist/components/actions/selectionControls/shared.d.ts.map +1 -1
  27. package/dist/components/actions/selectionControls/switch.css.cjs +11 -10
  28. package/dist/components/actions/selectionControls/switch.css.d.ts.map +1 -1
  29. package/dist/components/actions/selectionControls/switch.css.js +11 -10
  30. package/dist/components/feedback/alerts/AlertBanner.css.cjs +13 -12
  31. package/dist/components/feedback/alerts/AlertBanner.css.d.ts.map +1 -1
  32. package/dist/components/feedback/alerts/AlertBanner.css.js +13 -12
  33. package/dist/components/feedback/alerts/AlertBanner.d.ts.map +1 -1
  34. package/dist/components/feedback/loaders/LoadingSpinner.d.ts.map +1 -1
  35. package/dist/components/feedback/loaders/loadingBar.css.cjs +2 -3
  36. package/dist/components/feedback/loaders/loadingBar.css.d.ts.map +1 -1
  37. package/dist/components/feedback/loaders/loadingBar.css.js +3 -4
  38. package/dist/components/feedback/loaders/loadingSpinner.css.cjs +1 -2
  39. package/dist/components/feedback/loaders/loadingSpinner.css.d.ts.map +1 -1
  40. package/dist/components/feedback/loaders/loadingSpinner.css.js +2 -3
  41. package/dist/components/feedback/notifications/lozenge.css.cjs +2 -2
  42. package/dist/components/feedback/notifications/lozenge.css.js +2 -2
  43. package/dist/components/feedback/progress/ProgressBar.css.cjs +3 -4
  44. package/dist/components/feedback/progress/ProgressBar.css.d.ts.map +1 -1
  45. package/dist/components/feedback/progress/ProgressBar.css.js +4 -5
  46. package/dist/components/inputs/dropdowns/select.css.cjs +7 -7
  47. package/dist/components/inputs/dropdowns/select.css.js +7 -7
  48. package/dist/components/inputs/pickers/Calendar.css.cjs +8 -8
  49. package/dist/components/inputs/pickers/Calendar.css.d.ts.map +1 -1
  50. package/dist/components/inputs/pickers/Calendar.css.js +9 -9
  51. package/dist/components/inputs/shared-styles/iconButtonOverlay.css.cjs +2 -2
  52. package/dist/components/inputs/shared-styles/iconButtonOverlay.css.js +2 -2
  53. package/dist/components/inputs/shared-styles/inputField.css.cjs +6 -5
  54. package/dist/components/inputs/shared-styles/inputField.css.d.ts.map +1 -1
  55. package/dist/components/inputs/shared-styles/inputField.css.js +6 -5
  56. package/dist/components/inputs/shared-styles/labelStyles.css.cjs +2 -2
  57. package/dist/components/inputs/shared-styles/labelStyles.css.js +2 -2
  58. package/dist/components/inputs/shared-styles/suffixPrefix.css.cjs +3 -3
  59. package/dist/components/inputs/shared-styles/suffixPrefix.css.js +3 -3
  60. package/dist/components/inputs/textFields/TextArea.cjs +1 -1
  61. package/dist/components/inputs/textFields/TextArea.d.ts.map +1 -1
  62. package/dist/components/inputs/textFields/TextArea.js +1 -1
  63. package/dist/components/inputs/textFields/TextField.cjs +0 -1
  64. package/dist/components/inputs/textFields/TextField.js +0 -1
  65. package/dist/components/inputs/textFields/textArea.css.cjs +2 -2
  66. package/dist/components/inputs/textFields/textArea.css.js +2 -2
  67. package/dist/components/progress/spinner.css.cjs +1 -2
  68. package/dist/components/progress/spinner.css.d.ts.map +1 -1
  69. package/dist/components/progress/spinner.css.js +2 -3
  70. package/dist/components/surfaces/accordion/Accordion.d.ts +1 -1
  71. package/dist/components/surfaces/accordion/accordion.css.cjs +7 -7
  72. package/dist/components/surfaces/accordion/accordion.css.d.ts +1 -1
  73. package/dist/components/surfaces/accordion/accordion.css.js +8 -8
  74. package/dist/components/surfaces/cards/cards.css.cjs +6 -5
  75. package/dist/components/surfaces/cards/cards.css.d.ts +1 -1
  76. package/dist/components/surfaces/cards/cards.css.d.ts.map +1 -1
  77. package/dist/components/surfaces/cards/cards.css.js +6 -5
  78. package/dist/components/surfaces/cards/checkboxCard.css.cjs +2 -2
  79. package/dist/components/surfaces/cards/checkboxCard.css.js +2 -2
  80. package/dist/components/surfaces/cards/internal/SelectionCard.css.cjs +3 -3
  81. package/dist/components/surfaces/cards/internal/SelectionCard.css.js +3 -3
  82. package/dist/components/surfaces/cards/internal/SelectionCard.d.ts.map +1 -1
  83. package/dist/components/surfaces/modal/modal.css.cjs +10 -10
  84. package/dist/components/surfaces/modal/modal.css.js +11 -11
  85. package/dist/foundation/iconography/Icon.css.cjs +2 -3
  86. package/dist/foundation/iconography/Icon.css.d.ts.map +1 -1
  87. package/dist/foundation/iconography/Icon.css.js +3 -4
  88. package/dist/foundation/iconography/icons.d.ts +1 -1
  89. package/dist/foundation/iconography/icons.d.ts.map +1 -1
  90. package/dist/foundation/iconography/svg/file/archive-filled.svg.cjs +28 -0
  91. package/dist/foundation/iconography/svg/file/archive-filled.svg.js +10 -0
  92. package/dist/foundation/iconography/svg/file/archive-outlined.svg.cjs +28 -0
  93. package/dist/foundation/iconography/svg/file/archive-outlined.svg.js +10 -0
  94. package/dist/foundation/iconography/svg/file/archive-round.svg.cjs +28 -0
  95. package/dist/foundation/iconography/svg/file/archive-round.svg.js +10 -0
  96. package/dist/foundation/iconography/svg/file/archive-sharp.svg.cjs +28 -0
  97. package/dist/foundation/iconography/svg/file/archive-sharp.svg.js +10 -0
  98. package/dist/foundation/iconography/svg/file/file_copy-filled.svg.cjs +28 -0
  99. package/dist/foundation/iconography/svg/file/file_copy-filled.svg.js +10 -0
  100. package/dist/foundation/iconography/svg/file/file_copy-outlined.svg.cjs +28 -0
  101. package/dist/foundation/iconography/svg/file/file_copy-outlined.svg.js +10 -0
  102. package/dist/foundation/iconography/svg/file/file_copy-round.svg.cjs +28 -0
  103. package/dist/foundation/iconography/svg/file/file_copy-round.svg.js +10 -0
  104. package/dist/foundation/iconography/svg/file/file_copy-sharp.svg.cjs +28 -0
  105. package/dist/foundation/iconography/svg/file/file_copy-sharp.svg.js +10 -0
  106. package/dist/foundation/iconography/svg/file/index.cjs +33 -0
  107. package/dist/foundation/iconography/svg/file/index.d.ts +78 -0
  108. package/dist/foundation/iconography/svg/file/index.d.ts.map +1 -1
  109. package/dist/foundation/iconography/svg/file/index.js +34 -1
  110. package/dist/foundation/iconography/svg/file/unarchive-filled.svg.cjs +28 -0
  111. package/dist/foundation/iconography/svg/file/unarchive-filled.svg.js +10 -0
  112. package/dist/foundation/iconography/svg/file/unarchive-outlined.svg.cjs +28 -0
  113. package/dist/foundation/iconography/svg/file/unarchive-outlined.svg.js +10 -0
  114. package/dist/foundation/iconography/svg/file/unarchive-round.svg.cjs +28 -0
  115. package/dist/foundation/iconography/svg/file/unarchive-round.svg.js +10 -0
  116. package/dist/foundation/iconography/svg/file/unarchive-sharp.svg.cjs +28 -0
  117. package/dist/foundation/iconography/svg/file/unarchive-sharp.svg.js +10 -0
  118. package/dist/foundation/logos/Logo.css.cjs +4 -5
  119. package/dist/foundation/logos/Logo.css.d.ts.map +1 -1
  120. package/dist/foundation/logos/Logo.css.js +5 -6
  121. package/dist/foundation/logos/svg/autoria/autoria_symbol.svg.cjs +1 -1
  122. package/dist/foundation/logos/svg/autoria/autoria_symbol.svg.js +1 -1
  123. package/dist/foundation/logos/svg/autoria/autoria_wordmark.svg.cjs +1 -1
  124. package/dist/foundation/logos/svg/autoria/autoria_wordmark.svg.js +1 -1
  125. package/dist/foundation/logos/svg/skoda/skoda_symbol.svg.cjs +1 -1
  126. package/dist/foundation/logos/svg/skoda/skoda_symbol.svg.js +1 -1
  127. package/dist/foundation/logos/svg/skoda/skoda_wordmark.svg.cjs +1 -1
  128. package/dist/foundation/logos/svg/skoda/skoda_wordmark.svg.js +1 -1
  129. package/dist/foundation/logos/svg/vw/index.cjs +1 -1
  130. package/dist/foundation/logos/svg/vw/index.js +1 -1
  131. package/dist/foundation/logos/svg/vw/vwNytte_wordmark.svg.cjs +1 -1
  132. package/dist/foundation/logos/svg/vw/vwNytte_wordmark.svg.js +1 -1
  133. package/dist/foundation/logos/svg/vw/vw_symbol.svg.cjs +1 -1
  134. package/dist/foundation/logos/svg/vw/vw_symbol.svg.js +1 -1
  135. package/dist/foundation/logos/svg/vw/vw_wordmark.svg.cjs +1 -1
  136. package/dist/foundation/logos/svg/vw/vw_wordmark.svg.js +1 -1
  137. package/dist/foundation/typography/typography.css.cjs +2 -2
  138. package/dist/foundation/typography/typography.css.js +2 -2
  139. package/dist/styles/animations.css.cjs +2 -2
  140. package/dist/styles/animations.css.js +2 -2
  141. package/dist/styles/states.css.cjs +5 -4
  142. package/dist/styles/states.css.d.ts.map +1 -1
  143. package/dist/styles/states.css.js +5 -4
  144. package/dist/translations/index.d.ts.map +1 -1
  145. package/dist/utilities/accessibility/visuallyHidden.css.cjs +2 -2
  146. package/dist/utilities/accessibility/visuallyHidden.css.js +2 -2
  147. package/dist/utilities/forms/formHelpers.d.ts.map +1 -1
  148. package/dist/utilities/html/index.d.ts.map +1 -1
  149. package/dist/utilities/layout/styles.css.cjs +3 -3
  150. package/dist/utilities/layout/styles.css.js +3 -3
  151. package/dist/utilities/time/date.d.ts.map +1 -1
  152. package/dist/utilities/tokens/tokens.d.ts.map +1 -1
  153. package/dist/utilities/validation/validation.d.ts.map +1 -1
  154. package/dist/utilities/validation/validationSteps.d.ts.map +1 -1
  155. package/dist/utilities/validation/validators.d.ts.map +1 -1
  156. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -3,17 +3,31 @@
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
- ## [5.5.0-alpha.1](https://github.com/mollerdigital/design-system-design-system/compare/@gnist/design-system@5.4.1...@gnist/design-system@5.5.0-alpha.1) (2026-01-15)
6
+ ## [5.5.1](https://github.com/mollerdigital/design-system-design-system/compare/@gnist/design-system@5.5.0...@gnist/design-system@5.5.1) (2026-02-23)
7
+
8
+ **Note:** Version bump only for package @gnist/design-system
9
+
10
+ ## [5.5.0](https://github.com/mollerdigital/design-system-design-system/compare/@gnist/design-system@5.4.4...@gnist/design-system@5.5.0) (2026-02-19)
7
11
 
8
12
  ### Features
9
13
 
10
- * Wrap gnist css in [@layer](https://github.com/layer) gnist { ... } ([c513601](https://github.com/mollerdigital/design-system-design-system/commit/c513601b4831e7d02f08028cdf1f0cd4c42f60bc))
14
+ * add new icons archive, unarchive and file_copy ([7351b5a](https://github.com/mollerdigital/design-system-design-system/commit/7351b5aa4d60403c75d59a590c3df4aee6204fb0))
11
15
 
12
- ## [5.5.0-alpha.0](https://github.com/mollerdigital/design-system-design-system/compare/@gnist/design-system@5.4.1...@gnist/design-system@5.5.0-alpha.0) (2026-01-15)
16
+ ## [5.4.4](https://github.com/mollerdigital/design-system-design-system/compare/@gnist/design-system@5.4.3...@gnist/design-system@5.4.4) (2026-02-13)
13
17
 
14
- ### Features
18
+ ### Bug Fixes
19
+
20
+ * update react-content-loader to 7.1.2 with fix for hydration errors ([5dc1b4c](https://github.com/mollerdigital/design-system-design-system/commit/5dc1b4c3d6a8e39577c0228e03d0615500ee7194))
21
+
22
+ ## [5.4.3](https://github.com/mollerdigital/design-system-design-system/compare/@gnist/design-system@5.4.2...@gnist/design-system@5.4.3) (2026-02-06)
23
+
24
+ **Note:** Version bump only for package @gnist/design-system
25
+
26
+ ## [5.4.2](https://github.com/mollerdigital/design-system-design-system/compare/@gnist/design-system@5.4.1...@gnist/design-system@5.4.2) (2026-01-16)
27
+
28
+ ### Bug Fixes
15
29
 
16
- * Wrap gnist css in [@layer](https://github.com/layer) gnist { ... } ([c513601](https://github.com/mollerdigital/design-system-design-system/commit/c513601b4831e7d02f08028cdf1f0cd4c42f60bc))
30
+ * correct logo colors and add symbol for autoria ([1cfbeac](https://github.com/mollerdigital/design-system-design-system/commit/1cfbeac74c55e6dd52722e9775e043bdfe811a37))
17
31
 
18
32
  ## [5.4.1](https://github.com/mollerdigital/design-system-design-system/compare/@gnist/design-system@5.4.0...@gnist/design-system@5.4.1) (2026-01-09)
19
33
 
@@ -2,8 +2,8 @@
2
2
  "use strict";
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4
4
  const atoms_css_js = require("@gnist/themes/atoms.css.js");
5
- const layers_css_js = require("@gnist/themes/layers.css.js");
6
- const textBelowInputRecipe = layers_css_js.gnistRecipe({
5
+ const recipes = require("@vanilla-extract/recipes");
6
+ const textBelowInputRecipe = recipes.recipe({
7
7
  base: [
8
8
  atoms_css_js.atoms({
9
9
  typography: "detail-small",
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { atoms } from "@gnist/themes/atoms.css.js";
3
- import { gnistRecipe } from "@gnist/themes/layers.css.js";
4
- const textBelowInputRecipe = gnistRecipe({
3
+ import { recipe } from "@vanilla-extract/recipes";
4
+ const textBelowInputRecipe = recipe({
5
5
  base: [
6
6
  atoms({
7
7
  typography: "detail-small",
@@ -1 +1 @@
1
- {"version":3,"file":"CircularSkeleton.d.ts","sourceRoot":"","sources":["../../../src/building-blocks/skeletons/CircularSkeleton.tsx"],"names":[],"mappings":"AAiBA,MAAM,WAAW,qBAAqB;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,kCAI1B,qBAAqB,4CAoBvB,CAAC"}
1
+ {"version":3,"file":"CircularSkeleton.d.ts","sourceRoot":"","sources":["../../../src/building-blocks/skeletons/CircularSkeleton.tsx"],"names":[],"mappings":"AAiBA,MAAM,WAAW,qBAAqB;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,GAAI,+BAI9B,qBAAqB,4CAqBvB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"RectangularSkeleton.d.ts","sourceRoot":"","sources":["../../../src/building-blocks/skeletons/RectangularSkeleton.tsx"],"names":[],"mappings":"AAKA,UAAU,wBAAwB;IAC9B,uDAAuD;IACvD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,2CAK7B,wBAAwB,4CAmB1B,CAAC"}
1
+ {"version":3,"file":"RectangularSkeleton.d.ts","sourceRoot":"","sources":["../../../src/building-blocks/skeletons/RectangularSkeleton.tsx"],"names":[],"mappings":"AAKA,UAAU,wBAAwB;IAC9B,uDAAuD;IACvD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,GAAI,wCAKjC,wBAAwB,4CAmB1B,CAAC"}
@@ -5,15 +5,13 @@ const jsxRuntime = require("react/jsx-runtime");
5
5
  const Row = require("../../utilities/layout/Row.cjs");
6
6
  const tokens_css_js = require("@gnist/themes/tokens.css.js");
7
7
  const reactContentLoader = require("react-content-loader");
8
- const React = require("react");
9
8
  const _interopDefaultCompat = (e) => e && typeof e === "object" && "default" in e ? e : { default: e };
10
9
  const reactContentLoader__default = /* @__PURE__ */ _interopDefaultCompat(reactContentLoader);
11
10
  const ContentLoader = reactContentLoader__default.default;
12
11
  const TextSkeleton = ({ className, height = "1em", width = "100%" }) => {
13
- const uniqueKey = React.useId();
14
12
  return jsxRuntime.jsx(Row.Row, { className, style: {
15
13
  height: `calc(1em * ${tokens_css_js.tokens.typeface["line-height"]})`,
16
14
  width
17
- }, verticalAlign: "center", children: jsxRuntime.jsx(ContentLoader, { uniqueKey, height, width, title: "", backgroundColor: tokens_css_js.tokens.color.loader, foregroundColor: tokens_css_js.tokens.color["on-loader"], children: jsxRuntime.jsx("rect", { x: "0", y: "0", rx: "4", ry: "6.7", height, width }) }) });
15
+ }, verticalAlign: "center", children: jsxRuntime.jsx(ContentLoader, { height, width, title: "", backgroundColor: tokens_css_js.tokens.color.loader, foregroundColor: tokens_css_js.tokens.color["on-loader"], children: jsxRuntime.jsx("rect", { x: "0", y: "0", rx: "4", ry: "6.7", height, width }) }) });
18
16
  };
19
17
  exports.TextSkeleton = TextSkeleton;
@@ -1 +1 @@
1
- {"version":3,"file":"TextSkeleton.d.ts","sourceRoot":"","sources":["../../../src/building-blocks/skeletons/TextSkeleton.tsx"],"names":[],"mappings":"AAOA,MAAM,WAAW,iBAAiB;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;;;GAKG;AACH,eAAO,MAAM,YAAY,kCAItB,iBAAiB,4CAgCnB,CAAC"}
1
+ {"version":3,"file":"TextSkeleton.d.ts","sourceRoot":"","sources":["../../../src/building-blocks/skeletons/TextSkeleton.tsx"],"names":[],"mappings":"AAMA,MAAM,WAAW,iBAAiB;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;;;GAKG;AACH,eAAO,MAAM,YAAY,GAAI,+BAI1B,iBAAiB,4CA6BnB,CAAC"}
@@ -3,14 +3,12 @@ import { jsx } from "react/jsx-runtime";
3
3
  import { Row } from "../../utilities/layout/Row.js";
4
4
  import { tokens } from "@gnist/themes/tokens.css.js";
5
5
  import reactContentLoader from "react-content-loader";
6
- import { useId } from "react";
7
6
  const ContentLoader = reactContentLoader;
8
7
  const TextSkeleton = ({ className, height = "1em", width = "100%" }) => {
9
- const uniqueKey = useId();
10
8
  return jsx(Row, { className, style: {
11
9
  height: `calc(1em * ${tokens.typeface["line-height"]})`,
12
10
  width
13
- }, verticalAlign: "center", children: jsx(ContentLoader, { uniqueKey, height, width, title: "", backgroundColor: tokens.color.loader, foregroundColor: tokens.color["on-loader"], children: jsx("rect", { x: "0", y: "0", rx: "4", ry: "6.7", height, width }) }) });
11
+ }, verticalAlign: "center", children: jsx(ContentLoader, { height, width, title: "", backgroundColor: tokens.color.loader, foregroundColor: tokens.color["on-loader"], children: jsx("rect", { x: "0", y: "0", rx: "4", ry: "6.7", height, width }) }) });
14
12
  };
15
13
  export {
16
14
  TextSkeleton
@@ -1 +1 @@
1
- {"version":3,"file":"createButtonVariant.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/buttons/createButtonVariant.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAGnD,eAAO,MAAM,qBAAqB,GAAI,SAAS,SAAS,WAAW,SACxD,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,OAAO,GAAG,aAAa,gBACtD,gBAAgB,CAAC,SAAS,CAAC,KAC1C,gBAAgB,CAAC,SAAS,CAuB3B,CAAC"}
1
+ {"version":3,"file":"createButtonVariant.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/buttons/createButtonVariant.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAGnD,eAAO,MAAM,qBAAqB,GAAI,SAAS,SAAS,WAAW,EAC/D,OAAO,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,OAAO,GAAG,aAAa,EACpE,cAAc,gBAAgB,CAAC,SAAS,CAAC,KAC1C,gBAAgB,CAAC,SAAS,CAuB3B,CAAC"}
@@ -4,10 +4,11 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4
4
  const animations_css = require("../../../styles/animations.css.cjs");
5
5
  const states_css = require("../../../styles/states.css.cjs");
6
6
  const atoms_css_js = require("@gnist/themes/atoms.css.js");
7
- const layers_css_js = require("@gnist/themes/layers.css.js");
8
7
  const tokens_css_js = require("@gnist/themes/tokens.css.js");
8
+ const css = require("@vanilla-extract/css");
9
9
  const cssUtils = require("@vanilla-extract/css-utils");
10
- const buttonBase = layers_css_js.gnistStyle([
10
+ const recipes = require("@vanilla-extract/recipes");
11
+ const buttonBase = css.style([
11
12
  states_css.focusStyle,
12
13
  animations_css.clickAnimation,
13
14
  atoms_css_js.atoms({
@@ -32,7 +33,7 @@ const buttonBase = layers_css_js.gnistStyle([
32
33
  }
33
34
  ]);
34
35
  const getColors = (variant) => atoms_css_js.atoms({ backgroundColor: variant, color: `on-${variant}` });
35
- const textAndIconButton = layers_css_js.gnistStyle([
36
+ const textAndIconButton = css.style([
36
37
  atoms_css_js.atoms({ height: "l" }),
37
38
  {
38
39
  color: "inherit",
@@ -40,7 +41,7 @@ const textAndIconButton = layers_css_js.gnistStyle([
40
41
  flexShrink: 0
41
42
  }
42
43
  ]);
43
- const buttonRecipe = layers_css_js.gnistRecipe({
44
+ const buttonRecipe = recipes.recipe({
44
45
  base: [buttonBase],
45
46
  variants: {
46
47
  isLoading: {
@@ -99,7 +100,7 @@ const buttonRecipe = layers_css_js.gnistRecipe({
99
100
  isLoading: false
100
101
  }
101
102
  });
102
- const boxedButton = layers_css_js.gnistRecipe({
103
+ const boxedButton = recipes.recipe({
103
104
  base: atoms_css_js.atoms({ columnGap: "base" }),
104
105
  variants: {
105
106
  density: {
@@ -109,7 +110,7 @@ const boxedButton = layers_css_js.gnistRecipe({
109
110
  },
110
111
  defaultVariants: { density: "default" }
111
112
  });
112
- const iconButton = layers_css_js.gnistRecipe({
113
+ const iconButton = recipes.recipe({
113
114
  variants: {
114
115
  showLabel: {
115
116
  left: { paddingLeft: tokens_css_js.tokens.spacing.base },
@@ -118,10 +119,10 @@ const iconButton = layers_css_js.gnistRecipe({
118
119
  }
119
120
  }
120
121
  });
121
- const actionText = layers_css_js.gnistStyle({
122
+ const actionText = css.style({
122
123
  fontWeight: tokens_css_js.tokens.typeface.weight.semibold
123
124
  });
124
- const textButtonText = layers_css_js.gnistRecipe({
125
+ const textButtonText = recipes.recipe({
125
126
  base: {
126
127
  borderBottomStyle: "solid",
127
128
  borderBottomWidth: 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":"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"}
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"}
@@ -2,10 +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 { gnistStyle, gnistRecipe } from "@gnist/themes/layers.css.js";
6
5
  import { tokens } from "@gnist/themes/tokens.css.js";
6
+ import { style } from "@vanilla-extract/css";
7
7
  import { calc } from "@vanilla-extract/css-utils";
8
- const buttonBase = gnistStyle([
8
+ import { recipe } from "@vanilla-extract/recipes";
9
+ const buttonBase = style([
9
10
  focusStyle,
10
11
  clickAnimation,
11
12
  atoms({
@@ -30,7 +31,7 @@ const buttonBase = gnistStyle([
30
31
  }
31
32
  ]);
32
33
  const getColors = (variant) => atoms({ backgroundColor: variant, color: `on-${variant}` });
33
- const textAndIconButton = gnistStyle([
34
+ const textAndIconButton = style([
34
35
  atoms({ height: "l" }),
35
36
  {
36
37
  color: "inherit",
@@ -38,7 +39,7 @@ const textAndIconButton = gnistStyle([
38
39
  flexShrink: 0
39
40
  }
40
41
  ]);
41
- const buttonRecipe = gnistRecipe({
42
+ const buttonRecipe = recipe({
42
43
  base: [buttonBase],
43
44
  variants: {
44
45
  isLoading: {
@@ -97,7 +98,7 @@ const buttonRecipe = gnistRecipe({
97
98
  isLoading: false
98
99
  }
99
100
  });
100
- const boxedButton = gnistRecipe({
101
+ const boxedButton = recipe({
101
102
  base: atoms({ columnGap: "base" }),
102
103
  variants: {
103
104
  density: {
@@ -107,7 +108,7 @@ const boxedButton = gnistRecipe({
107
108
  },
108
109
  defaultVariants: { density: "default" }
109
110
  });
110
- const iconButton = gnistRecipe({
111
+ const iconButton = recipe({
111
112
  variants: {
112
113
  showLabel: {
113
114
  left: { paddingLeft: tokens.spacing.base },
@@ -116,10 +117,10 @@ const iconButton = gnistRecipe({
116
117
  }
117
118
  }
118
119
  });
119
- const actionText = gnistStyle({
120
+ const actionText = style({
120
121
  fontWeight: tokens.typeface.weight.semibold
121
122
  });
122
- const textButtonText = gnistRecipe({
123
+ const textButtonText = recipe({
123
124
  base: {
124
125
  borderBottomStyle: "solid",
125
126
  borderBottomWidth: tokens.stroke.medium
@@ -2,10 +2,11 @@
2
2
  "use strict";
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4
4
  const atoms_css_js = require("@gnist/themes/atoms.css.js");
5
- const layers_css_js = require("@gnist/themes/layers.css.js");
6
5
  const tokens_css_js = require("@gnist/themes/tokens.css.js");
6
+ const css = require("@vanilla-extract/css");
7
7
  const cssUtils = require("@vanilla-extract/css-utils");
8
- const chipBase = layers_css_js.gnistStyle({
8
+ const recipes = require("@vanilla-extract/recipes");
9
+ const chipBase = css.style({
9
10
  display: "flex",
10
11
  gap: tokens_css_js.tokens.spacing.base,
11
12
  textWrap: "nowrap",
@@ -19,7 +20,7 @@ const chipBase = layers_css_js.gnistStyle({
19
20
  minHeight: tokens_css_js.tokens.size.xl,
20
21
  justifyContent: "center"
21
22
  });
22
- const chipRecipe = layers_css_js.gnistRecipe({
23
+ const chipRecipe = recipes.recipe({
23
24
  base: chipBase,
24
25
  variants: {
25
26
  selected: {
@@ -1 +1 @@
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
+ {"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,9 +1,10 @@
1
1
  "use client";
2
2
  import { atoms } from "@gnist/themes/atoms.css.js";
3
- import { gnistStyle, gnistRecipe } from "@gnist/themes/layers.css.js";
4
3
  import { tokens } from "@gnist/themes/tokens.css.js";
4
+ import { style } from "@vanilla-extract/css";
5
5
  import { calc } from "@vanilla-extract/css-utils";
6
- const chipBase = gnistStyle({
6
+ import { recipe } from "@vanilla-extract/recipes";
7
+ const chipBase = style({
7
8
  display: "flex",
8
9
  gap: tokens.spacing.base,
9
10
  textWrap: "nowrap",
@@ -17,7 +18,7 @@ const chipBase = gnistStyle({
17
18
  minHeight: tokens.size.xl,
18
19
  justifyContent: "center"
19
20
  });
20
- const chipRecipe = gnistRecipe({
21
+ const chipRecipe = recipe({
21
22
  base: chipBase,
22
23
  variants: {
23
24
  selected: {
@@ -2,9 +2,9 @@
2
2
  "use strict";
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4
4
  const atoms_css_js = require("@gnist/themes/atoms.css.js");
5
- const layers_css_js = require("@gnist/themes/layers.css.js");
6
5
  const tokens_css_js = require("@gnist/themes/tokens.css.js");
7
- const CheckboxRecipe = layers_css_js.gnistRecipe({
6
+ const recipes = require("@vanilla-extract/recipes");
7
+ const CheckboxRecipe = recipes.recipe({
8
8
  base: [
9
9
  {
10
10
  borderStyle: "solid",
@@ -95,7 +95,7 @@ const CheckboxRecipe = layers_css_js.gnistRecipe({
95
95
  }
96
96
  ]
97
97
  });
98
- const checkbox = layers_css_js.gnistRecipe({
98
+ const checkbox = recipes.recipe({
99
99
  base: [
100
100
  atoms_css_js.atoms({
101
101
  color: "surface"
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { atoms } from "@gnist/themes/atoms.css.js";
3
- import { gnistRecipe } from "@gnist/themes/layers.css.js";
4
3
  import { tokens } from "@gnist/themes/tokens.css.js";
5
- const CheckboxRecipe = gnistRecipe({
4
+ import { recipe } from "@vanilla-extract/recipes";
5
+ const CheckboxRecipe = recipe({
6
6
  base: [
7
7
  {
8
8
  borderStyle: "solid",
@@ -93,7 +93,7 @@ const CheckboxRecipe = gnistRecipe({
93
93
  }
94
94
  ]
95
95
  });
96
- const checkbox = gnistRecipe({
96
+ const checkbox = recipe({
97
97
  base: [
98
98
  atoms({
99
99
  color: "surface"
@@ -2,9 +2,9 @@
2
2
  "use strict";
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4
4
  const atoms_css_js = require("@gnist/themes/atoms.css.js");
5
- const layers_css_js = require("@gnist/themes/layers.css.js");
6
5
  const tokens_css_js = require("@gnist/themes/tokens.css.js");
7
- const RadioButtonRecipe = layers_css_js.gnistRecipe({
6
+ const recipes = require("@vanilla-extract/recipes");
7
+ const RadioButtonRecipe = recipes.recipe({
8
8
  base: [
9
9
  atoms_css_js.atoms({
10
10
  height: "s",
@@ -45,7 +45,7 @@ const RadioButtonRecipe = layers_css_js.gnistRecipe({
45
45
  }
46
46
  }
47
47
  });
48
- const CheckedCircleRecipe = layers_css_js.gnistRecipe({
48
+ const CheckedCircleRecipe = recipes.recipe({
49
49
  base: [
50
50
  atoms_css_js.atoms({
51
51
  display: "inline",
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { atoms } from "@gnist/themes/atoms.css.js";
3
- import { gnistRecipe } from "@gnist/themes/layers.css.js";
4
3
  import { tokens } from "@gnist/themes/tokens.css.js";
5
- const RadioButtonRecipe = gnistRecipe({
4
+ import { recipe } from "@vanilla-extract/recipes";
5
+ const RadioButtonRecipe = recipe({
6
6
  base: [
7
7
  atoms({
8
8
  height: "s",
@@ -43,7 +43,7 @@ const RadioButtonRecipe = gnistRecipe({
43
43
  }
44
44
  }
45
45
  });
46
- const CheckedCircleRecipe = gnistRecipe({
46
+ const CheckedCircleRecipe = recipe({
47
47
  base: [
48
48
  atoms({
49
49
  display: "inline",
@@ -2,8 +2,9 @@
2
2
  "use strict";
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4
4
  const atoms_css_js = require("@gnist/themes/atoms.css.js");
5
- const layers_css_js = require("@gnist/themes/layers.css.js");
6
- const fieldSetStyle = layers_css_js.gnistStyle([
5
+ const css = require("@vanilla-extract/css");
6
+ const recipes = require("@vanilla-extract/recipes");
7
+ const fieldSetStyle = css.style([
7
8
  {
8
9
  border: "none"
9
10
  },
@@ -17,7 +18,7 @@ const fieldSetStyle = layers_css_js.gnistStyle([
17
18
  const legendStyle = atoms_css_js.atoms({
18
19
  marginBottom: "base"
19
20
  });
20
- const radioContainerStyle = layers_css_js.gnistRecipe({
21
+ const radioContainerStyle = recipes.recipe({
21
22
  base: [
22
23
  atoms_css_js.atoms({
23
24
  display: "flex",
@@ -1 +1 @@
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
+ {"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,7 +1,8 @@
1
1
  "use client";
2
2
  import { atoms } from "@gnist/themes/atoms.css.js";
3
- import { gnistStyle, gnistRecipe } from "@gnist/themes/layers.css.js";
4
- const fieldSetStyle = gnistStyle([
3
+ import { style } from "@vanilla-extract/css";
4
+ import { recipe } from "@vanilla-extract/recipes";
5
+ const fieldSetStyle = style([
5
6
  {
6
7
  border: "none"
7
8
  },
@@ -15,7 +16,7 @@ const fieldSetStyle = gnistStyle([
15
16
  const legendStyle = atoms({
16
17
  marginBottom: "base"
17
18
  });
18
- const radioContainerStyle = gnistRecipe({
19
+ const radioContainerStyle = recipe({
19
20
  base: [
20
21
  atoms({
21
22
  display: "flex",
@@ -3,21 +3,22 @@
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4
4
  const states_css = require("../../../styles/states.css.cjs");
5
5
  const atoms_css_js = require("@gnist/themes/atoms.css.js");
6
- const layers_css_js = require("@gnist/themes/layers.css.js");
7
6
  const tokens_css_js = require("@gnist/themes/tokens.css.js");
7
+ const css = require("@vanilla-extract/css");
8
8
  const cssUtils = require("@vanilla-extract/css-utils");
9
- const InputWrapper = layers_css_js.gnistStyle({
9
+ const recipes = require("@vanilla-extract/recipes");
10
+ const InputWrapper = css.style({
10
11
  position: "relative",
11
12
  display: "flex",
12
13
  width: "fit-content",
13
14
  height: "fit-content"
14
15
  });
15
- const LabelStyle = layers_css_js.gnistStyle([
16
+ const LabelStyle = css.style([
16
17
  {
17
18
  alignSelf: "center"
18
19
  }
19
20
  ]);
20
- const LabelRecipe = layers_css_js.gnistRecipe({
21
+ const LabelRecipe = recipes.recipe({
21
22
  base: [
22
23
  {
23
24
  display: "flex",
@@ -44,7 +45,7 @@ const LabelRecipe = layers_css_js.gnistRecipe({
44
45
  }
45
46
  }
46
47
  });
47
- const InputStyleRecipe = layers_css_js.gnistRecipe({
48
+ const InputStyleRecipe = recipes.recipe({
48
49
  base: [
49
50
  {
50
51
  position: "absolute",
@@ -70,7 +71,7 @@ const InputStyleRecipe = layers_css_js.gnistRecipe({
70
71
  }
71
72
  }
72
73
  });
73
- const indentedDescriptionStyle = layers_css_js.gnistStyle({
74
+ const indentedDescriptionStyle = css.style({
74
75
  paddingLeft: cssUtils.calc.add(tokens_css_js.tokens.size.s, cssUtils.calc.multiply(tokens_css_js.tokens.spacing.base, 3))
75
76
  });
76
77
  exports.InputStyleRecipe = InputStyleRecipe;
@@ -1 +1 @@
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
+ {"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,21 +1,22 @@
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 { gnistStyle, gnistRecipe } from "@gnist/themes/layers.css.js";
5
4
  import { tokens } from "@gnist/themes/tokens.css.js";
5
+ import { style } from "@vanilla-extract/css";
6
6
  import { calc } from "@vanilla-extract/css-utils";
7
- const InputWrapper = gnistStyle({
7
+ import { recipe } from "@vanilla-extract/recipes";
8
+ const InputWrapper = style({
8
9
  position: "relative",
9
10
  display: "flex",
10
11
  width: "fit-content",
11
12
  height: "fit-content"
12
13
  });
13
- const LabelStyle = gnistStyle([
14
+ const LabelStyle = style([
14
15
  {
15
16
  alignSelf: "center"
16
17
  }
17
18
  ]);
18
- const LabelRecipe = gnistRecipe({
19
+ const LabelRecipe = recipe({
19
20
  base: [
20
21
  {
21
22
  display: "flex",
@@ -42,7 +43,7 @@ const LabelRecipe = gnistRecipe({
42
43
  }
43
44
  }
44
45
  });
45
- const InputStyleRecipe = gnistRecipe({
46
+ const InputStyleRecipe = recipe({
46
47
  base: [
47
48
  {
48
49
  position: "absolute",
@@ -68,7 +69,7 @@ const InputStyleRecipe = gnistRecipe({
68
69
  }
69
70
  }
70
71
  });
71
- const indentedDescriptionStyle = gnistStyle({
72
+ const indentedDescriptionStyle = style({
72
73
  paddingLeft: calc.add(tokens.size.s, calc.multiply(tokens.spacing.base, 3))
73
74
  });
74
75
  export {
@@ -1 +1 @@
1
- {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/selectionControls/shared.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,mCAAmC,CAAC;AAK/E,MAAM,WAAW,qBAAqB,CAAC,MAAM,CACzC,SAAQ,IAAI,CACJ,mBAAmB,CAAC,gBAAgB,CAAC,EACrC,aAAa,GAAG,OAAO,GAAG,MAAM,GAAG,UAAU,GAAG,SAAS,GAAG,IAAI,CACnE,EACD,gBAAgB,CAAC,MAAM,CAAC,EACxB,QAAQ,CAAC;IAAE,gBAAgB,EAAE,KAAK,CAAA;CAAE,CAAC;IACzC;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,CAAC,OAAO,EAAE,WAAW,CAAC,EAAE,GAAG,CAAC,OAAO,KAAK,GAAG,CAAC,OAAO,CAAC;CAC3E;AAED,UAAU,sBAAuB,SAAQ,QAAQ,CAAC;IAAE,gBAAgB,EAAE,KAAK,CAAA;CAAE,CAAC;IAC1E,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAmB9D,CAAC;AAEF,eAAO,MAAM,oBAAoB,4BAG9B;IACC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB,4CAeA,CAAC"}
1
+ {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/selectionControls/shared.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,mCAAmC,CAAC;AAK/E,MAAM,WAAW,qBAAqB,CAAC,MAAM,CACzC,SAAQ,IAAI,CACJ,mBAAmB,CAAC,gBAAgB,CAAC,EACrC,aAAa,GAAG,OAAO,GAAG,MAAM,GAAG,UAAU,GAAG,SAAS,GAAG,IAAI,CACnE,EACD,gBAAgB,CAAC,MAAM,CAAC,EACxB,QAAQ,CAAC;IAAE,gBAAgB,EAAE,KAAK,CAAA;CAAE,CAAC;IACzC;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,CAAC,OAAO,EAAE,WAAW,CAAC,EAAE,GAAG,CAAC,OAAO,KAAK,GAAG,CAAC,OAAO,CAAC;CAC3E;AAED,UAAU,sBAAuB,SAAQ,QAAQ,CAAC;IAAE,gBAAgB,EAAE,KAAK,CAAA;CAAE,CAAC;IAC1E,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAmB9D,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,yBAGlC;IACC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB,4CAeA,CAAC"}
@@ -2,9 +2,10 @@
2
2
  "use strict";
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4
4
  const atoms_css_js = require("@gnist/themes/atoms.css.js");
5
- const layers_css_js = require("@gnist/themes/layers.css.js");
6
5
  const tokens_css_js = require("@gnist/themes/tokens.css.js");
7
- const focusContainer = layers_css_js.gnistStyle({
6
+ const recipes = require("@vanilla-extract/recipes");
7
+ const css = require("@vanilla-extract/css");
8
+ const focusContainer = css.style({
8
9
  display: "inline-flex",
9
10
  alignItems: "center",
10
11
  selectors: {
@@ -14,10 +15,10 @@ const focusContainer = layers_css_js.gnistStyle({
14
15
  }
15
16
  }
16
17
  });
17
- const switchContainerStyle = layers_css_js.gnistStyle({
18
+ const switchContainerStyle = css.style({
18
19
  display: "flex"
19
20
  });
20
- const switchContainer = layers_css_js.gnistStyle([
21
+ const switchContainer = css.style([
21
22
  {
22
23
  position: "relative",
23
24
  display: "inline-flex",
@@ -30,7 +31,7 @@ const switchContainer = layers_css_js.gnistStyle([
30
31
  height: "l"
31
32
  })
32
33
  ]);
33
- const SwitchRecipe = layers_css_js.gnistRecipe({
34
+ const SwitchRecipe = recipes.recipe({
34
35
  base: [
35
36
  switchContainer,
36
37
  atoms_css_js.atoms({
@@ -70,7 +71,7 @@ const SwitchRecipe = layers_css_js.gnistRecipe({
70
71
  }
71
72
  }
72
73
  });
73
- const switchThumb = layers_css_js.gnistStyle({
74
+ const switchThumb = css.style({
74
75
  position: "absolute",
75
76
  top: "50%",
76
77
  transform: "translateY(-50%)",
@@ -79,7 +80,7 @@ const switchThumb = layers_css_js.gnistStyle({
79
80
  backgroundColor: tokens_css_js.tokens.palette.white,
80
81
  boxShadow: "0 1px 3px rgba(0, 0, 0, 0.3)"
81
82
  });
82
- const SwitchThumbRecipe = layers_css_js.gnistRecipe({
83
+ const SwitchThumbRecipe = recipes.recipe({
83
84
  base: [
84
85
  switchThumb,
85
86
  atoms_css_js.atoms({
@@ -106,7 +107,7 @@ const SwitchThumbRecipe = layers_css_js.gnistRecipe({
106
107
  }
107
108
  }
108
109
  });
109
- const switchLabel = layers_css_js.gnistStyle([
110
+ const switchLabel = css.style([
110
111
  {
111
112
  userSelect: "none",
112
113
  fontSize: tokens_css_js.tokens.type.small.body.fontSize,
@@ -116,7 +117,7 @@ const switchLabel = layers_css_js.gnistStyle([
116
117
  color: "on-surface"
117
118
  })
118
119
  ]);
119
- const SwitchLabelRecipe = layers_css_js.gnistRecipe({
120
+ const SwitchLabelRecipe = recipes.recipe({
120
121
  base: [switchLabel],
121
122
  variants: {
122
123
  disabled: {
@@ -141,7 +142,7 @@ const SwitchLabelRecipe = layers_css_js.gnistRecipe({
141
142
  }
142
143
  }
143
144
  });
144
- const switchDescription = layers_css_js.gnistStyle([
145
+ const switchDescription = css.style([
145
146
  atoms_css_js.atoms({
146
147
  color: "text-variant"
147
148
  })
@@ -1 +1 @@
1
- {"version":3,"file":"switch.css.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/selectionControls/switch.css.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,cAAc,QASzB,CAAC;AAEH,eAAO,MAAM,oBAAoB,QAE/B,CAAC;AAEH,eAAO,MAAM,eAAe,QAY1B,CAAC;AAEH,eAAO,MAAM,YAAY;;;;;;;;;;;;EAuCvB,CAAC;AAEH,eAAO,MAAM,WAAW,QAQtB,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;EA0B5B,CAAC;AAEH,eAAO,MAAM,WAAW,QAStB,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;EAwB5B,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,QASzB,CAAC;AAEH,eAAO,MAAM,oBAAoB,QAE/B,CAAC;AAEH,eAAO,MAAM,eAAe,QAY1B,CAAC;AAEH,eAAO,MAAM,YAAY;;;;;;;;;;;;EAuCvB,CAAC;AAEH,eAAO,MAAM,WAAW,QAQtB,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;EA0B5B,CAAC;AAEH,eAAO,MAAM,WAAW,QAStB,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;EAwB5B,CAAC;AAEH,eAAO,MAAM,iBAAiB,QAI5B,CAAC"}