@gnist/design-system 6.0.0-alpha.3 → 6.0.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 (213) hide show
  1. package/CHANGELOG.md +10 -16
  2. package/README.md +11 -8
  3. package/dist/building-blocks/inputs/internal/textBelowInput.css.cjs +2 -2
  4. package/dist/building-blocks/inputs/internal/textBelowInput.css.js +2 -2
  5. package/dist/components/actions/buttons/styles.css.cjs +9 -8
  6. package/dist/components/actions/buttons/styles.css.d.ts.map +1 -1
  7. package/dist/components/actions/buttons/styles.css.js +9 -8
  8. package/dist/components/actions/chips/styles.css.cjs +4 -3
  9. package/dist/components/actions/chips/styles.css.d.ts.map +1 -1
  10. package/dist/components/actions/chips/styles.css.js +4 -3
  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 +4 -3
  16. package/dist/components/actions/selectionControls/radiogroup.css.d.ts.map +1 -1
  17. package/dist/components/actions/selectionControls/radiogroup.css.js +4 -3
  18. package/dist/components/actions/selectionControls/shared.css.cjs +7 -6
  19. package/dist/components/actions/selectionControls/shared.css.d.ts.map +1 -1
  20. package/dist/components/actions/selectionControls/shared.css.js +7 -6
  21. package/dist/components/actions/selectionControls/switch.css.cjs +14 -13
  22. package/dist/components/actions/selectionControls/switch.css.d.ts.map +1 -1
  23. package/dist/components/actions/selectionControls/switch.css.js +14 -13
  24. package/dist/components/feedback/alerts/AlertBanner.css.cjs +8 -7
  25. package/dist/components/feedback/alerts/AlertBanner.css.d.ts.map +1 -1
  26. package/dist/components/feedback/alerts/AlertBanner.css.js +8 -7
  27. package/dist/components/feedback/loaders/loadingBar.css.cjs +2 -3
  28. package/dist/components/feedback/loaders/loadingBar.css.d.ts.map +1 -1
  29. package/dist/components/feedback/loaders/loadingBar.css.js +3 -4
  30. package/dist/components/feedback/loaders/loadingSpinner.css.cjs +1 -2
  31. package/dist/components/feedback/loaders/loadingSpinner.css.d.ts.map +1 -1
  32. package/dist/components/feedback/loaders/loadingSpinner.css.js +2 -3
  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 +3 -4
  36. package/dist/components/feedback/progress/ProgressBar.css.d.ts.map +1 -1
  37. package/dist/components/feedback/progress/ProgressBar.css.js +4 -5
  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 +6 -5
  46. package/dist/components/inputs/shared-styles/inputField.css.d.ts.map +1 -1
  47. package/dist/components/inputs/shared-styles/inputField.css.js +6 -5
  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 +2 -2
  53. package/dist/components/inputs/textFields/textArea.css.js +2 -2
  54. package/dist/components/progress/spinner.css.cjs +1 -2
  55. package/dist/components/progress/spinner.css.d.ts.map +1 -1
  56. package/dist/components/progress/spinner.css.js +2 -3
  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 +5 -4
  60. package/dist/components/surfaces/cards/cards.css.d.ts.map +1 -1
  61. package/dist/components/surfaces/cards/cards.css.js +5 -4
  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/fonts/VW/VWHeadWeb-Bold.woff2.cjs +1 -1
  69. package/dist/fonts/VW/VWHeadWeb-Bold.woff2.js +1 -1
  70. package/dist/fonts/VW/VWHeadWeb-ExtraBold.woff2.cjs +1 -1
  71. package/dist/fonts/VW/VWHeadWeb-ExtraBold.woff2.js +1 -1
  72. package/dist/fonts/VW/VWHeadWeb-Regular.woff2.cjs +1 -1
  73. package/dist/fonts/VW/VWHeadWeb-Regular.woff2.js +1 -1
  74. package/dist/fonts/VW/VWTextWeb-Bold.woff2.cjs +1 -1
  75. package/dist/fonts/VW/VWTextWeb-Bold.woff2.js +1 -1
  76. package/dist/fonts/VW/VWTextWeb-Regular.woff2.cjs +1 -1
  77. package/dist/fonts/VW/VWTextWeb-Regular.woff2.js +1 -1
  78. package/dist/fonts/audi/AudiType-Bold_4.03.woff2.cjs +1 -1
  79. package/dist/fonts/audi/AudiType-Bold_4.03.woff2.js +1 -1
  80. package/dist/fonts/audi/AudiType-ExtendedBold_4.03.woff2.cjs +1 -1
  81. package/dist/fonts/audi/AudiType-ExtendedBold_4.03.woff2.js +1 -1
  82. package/dist/fonts/audi/AudiType-ExtendedNormal_4.03.woff2.cjs +1 -1
  83. package/dist/fonts/audi/AudiType-ExtendedNormal_4.03.woff2.js +1 -1
  84. package/dist/fonts/audi/AudiType-Normal_4.03.woff2.cjs +1 -1
  85. package/dist/fonts/audi/AudiType-Normal_4.03.woff2.js +1 -1
  86. package/dist/fonts/autoria/Texgyreheros-Bold.woff2.cjs +1 -1
  87. package/dist/fonts/autoria/Texgyreheros-Bold.woff2.js +1 -1
  88. package/dist/fonts/autoria/Texgyreheros-Regular.woff2.cjs +1 -1
  89. package/dist/fonts/autoria/Texgyreheros-Regular.woff2.js +1 -1
  90. package/dist/fonts/bilhold/GeistVariableVF.woff2.cjs +5 -0
  91. package/dist/fonts/bilhold/GeistVariableVF.woff2.js +5 -0
  92. package/dist/fonts/bilhold/index.cjs +0 -1
  93. package/dist/fonts/bilhold/index.d.ts +0 -1
  94. package/dist/fonts/bilhold/index.d.ts.map +1 -1
  95. package/dist/fonts/bilhold/index.js +0 -1
  96. package/dist/fonts/bilhold/regular.css.cjs +4 -3
  97. package/dist/fonts/bilhold/regular.css.js +4 -3
  98. package/dist/fonts/cupra/Cupra-Bold.woff2.cjs +1 -1
  99. package/dist/fonts/cupra/Cupra-Bold.woff2.js +1 -1
  100. package/dist/fonts/cupra/Cupra-Book.woff2.cjs +1 -1
  101. package/dist/fonts/cupra/Cupra-Book.woff2.js +1 -1
  102. package/dist/fonts/cupra/Cupra-Medium.woff2.cjs +1 -1
  103. package/dist/fonts/cupra/Cupra-Medium.woff2.js +1 -1
  104. package/dist/fonts/cupra/Cupra-Regular.woff2.cjs +1 -1
  105. package/dist/fonts/cupra/Cupra-Regular.woff2.js +1 -1
  106. package/dist/fonts/dahles/SourceSans3-Bold.woff2.cjs +1 -1
  107. package/dist/fonts/dahles/SourceSans3-Bold.woff2.js +1 -1
  108. package/dist/fonts/dahles/SourceSans3-Medium.woff2.cjs +1 -1
  109. package/dist/fonts/dahles/SourceSans3-Medium.woff2.js +1 -1
  110. package/dist/fonts/dahles/SourceSans3-Regular.woff2.cjs +1 -1
  111. package/dist/fonts/dahles/SourceSans3-Regular.woff2.js +1 -1
  112. package/dist/fonts/dahles/SourceSans3-SemiBold.woff2.cjs +1 -1
  113. package/dist/fonts/dahles/SourceSans3-SemiBold.woff2.js +1 -1
  114. package/dist/fonts/gumpen/ES-Build-Bold.woff2.cjs +1 -1
  115. package/dist/fonts/gumpen/ES-Build-Bold.woff2.js +1 -1
  116. package/dist/fonts/gumpen/ES-Build-Medium.woff2.cjs +1 -1
  117. package/dist/fonts/gumpen/ES-Build-Medium.woff2.js +1 -1
  118. package/dist/fonts/gumpen/ES-Build-Regular.woff2.cjs +1 -1
  119. package/dist/fonts/gumpen/ES-Build-Regular.woff2.js +1 -1
  120. package/dist/fonts/gumpen/ES-Build-SemiBold.woff2.cjs +1 -1
  121. package/dist/fonts/gumpen/ES-Build-SemiBold.woff2.js +1 -1
  122. package/dist/fonts/moller/Larken-Bold.woff2.cjs +1 -1
  123. package/dist/fonts/moller/Larken-Bold.woff2.js +1 -1
  124. package/dist/fonts/moller/moller-bold-webfont.woff2.cjs +1 -1
  125. package/dist/fonts/moller/moller-bold-webfont.woff2.js +1 -1
  126. package/dist/fonts/moller/moller-book-webfont.woff2.cjs +1 -1
  127. package/dist/fonts/moller/moller-book-webfont.woff2.js +1 -1
  128. package/dist/fonts/moller/moller-medium-webfont.woff2.cjs +1 -1
  129. package/dist/fonts/moller/moller-medium-webfont.woff2.js +1 -1
  130. package/dist/fonts/moller/moller-regular-webfont.woff2.cjs +1 -1
  131. package/dist/fonts/moller/moller-regular-webfont.woff2.js +1 -1
  132. package/dist/fonts/seat/SEATBCN-Bold.woff2.cjs +1 -1
  133. package/dist/fonts/seat/SEATBCN-Bold.woff2.js +1 -1
  134. package/dist/fonts/seat/SEATBCN-Light.woff2.cjs +1 -1
  135. package/dist/fonts/seat/SEATBCN-Light.woff2.js +1 -1
  136. package/dist/fonts/seat/SEATBCN-Medium.woff2.cjs +1 -1
  137. package/dist/fonts/seat/SEATBCN-Medium.woff2.js +1 -1
  138. package/dist/fonts/seat/SEATBCN-Regular.woff2.cjs +1 -1
  139. package/dist/fonts/seat/SEATBCN-Regular.woff2.js +1 -1
  140. package/dist/fonts/skoda/SKODANextW07-Bold.woff2.cjs +1 -1
  141. package/dist/fonts/skoda/SKODANextW07-Bold.woff2.js +1 -1
  142. package/dist/fonts/skoda/SKODANextW07-Thin.woff2.cjs +1 -1
  143. package/dist/fonts/skoda/SKODANextW07-Thin.woff2.js +1 -1
  144. package/dist/fonts/tools/GeistVariableVF.woff2.cjs +1 -1
  145. package/dist/fonts/tools/GeistVariableVF.woff2.js +1 -1
  146. package/dist/foundation/iconography/Icon.css.cjs +2 -3
  147. package/dist/foundation/iconography/Icon.css.d.ts.map +1 -1
  148. package/dist/foundation/iconography/Icon.css.js +3 -4
  149. package/dist/foundation/iconography/icons.d.ts +1 -1
  150. package/dist/foundation/iconography/icons.d.ts.map +1 -1
  151. package/dist/foundation/iconography/svg/action/index.cjs +0 -22
  152. package/dist/foundation/iconography/svg/action/index.d.ts +0 -52
  153. package/dist/foundation/iconography/svg/action/index.d.ts.map +1 -1
  154. package/dist/foundation/iconography/svg/action/index.js +0 -22
  155. package/dist/foundation/iconography/svg/action/tire-filled.svg.cjs +1 -1
  156. package/dist/foundation/iconography/svg/action/tire-filled.svg.js +1 -1
  157. package/dist/foundation/iconography/svg/action/tire-outlined.svg.cjs +1 -1
  158. package/dist/foundation/iconography/svg/action/tire-outlined.svg.js +1 -1
  159. package/dist/foundation/iconography/svg/action/tire-round.svg.cjs +1 -1
  160. package/dist/foundation/iconography/svg/action/tire-round.svg.js +1 -1
  161. package/dist/foundation/iconography/svg/action/tire-sharp.svg.cjs +1 -1
  162. package/dist/foundation/iconography/svg/action/tire-sharp.svg.js +1 -1
  163. package/dist/foundation/logos/Logo.css.cjs +4 -5
  164. package/dist/foundation/logos/Logo.css.d.ts.map +1 -1
  165. package/dist/foundation/logos/Logo.css.js +5 -6
  166. package/dist/foundation/typography/typography.css.cjs +2 -2
  167. package/dist/foundation/typography/typography.css.js +2 -2
  168. package/dist/styles/animations.css.cjs +2 -2
  169. package/dist/styles/animations.css.js +2 -2
  170. package/dist/styles/states.css.cjs +5 -4
  171. package/dist/styles/states.css.d.ts.map +1 -1
  172. package/dist/styles/states.css.js +5 -4
  173. package/dist/utilities/accessibility/visuallyHidden.css.cjs +2 -2
  174. package/dist/utilities/accessibility/visuallyHidden.css.js +2 -2
  175. package/dist/utilities/layout/styles.css.cjs +3 -3
  176. package/dist/utilities/layout/styles.css.js +3 -3
  177. package/package.json +3 -3
  178. package/dist/fonts/bilhold/Figtree-Bold.woff2.cjs +0 -5
  179. package/dist/fonts/bilhold/Figtree-Bold.woff2.js +0 -5
  180. package/dist/fonts/bilhold/Figtree-Medium.woff2.cjs +0 -5
  181. package/dist/fonts/bilhold/Figtree-Medium.woff2.js +0 -5
  182. package/dist/fonts/bilhold/Figtree-Regular.woff2.cjs +0 -5
  183. package/dist/fonts/bilhold/Figtree-Regular.woff2.js +0 -5
  184. package/dist/fonts/bilhold/Figtree-SemiBold.woff2.cjs +0 -5
  185. package/dist/fonts/bilhold/Figtree-SemiBold.woff2.js +0 -5
  186. package/dist/fonts/bilhold/bold.css.cjs +0 -10
  187. package/dist/fonts/bilhold/bold.css.d.ts +0 -2
  188. package/dist/fonts/bilhold/bold.css.d.ts.map +0 -1
  189. package/dist/fonts/bilhold/bold.css.js +0 -9
  190. package/dist/fonts/bilhold/medium.css.cjs +0 -10
  191. package/dist/fonts/bilhold/medium.css.d.ts +0 -2
  192. package/dist/fonts/bilhold/medium.css.d.ts.map +0 -1
  193. package/dist/fonts/bilhold/medium.css.js +0 -9
  194. package/dist/fonts/bilhold/semibold.css.cjs +0 -10
  195. package/dist/fonts/bilhold/semibold.css.d.ts +0 -2
  196. package/dist/fonts/bilhold/semibold.css.d.ts.map +0 -1
  197. package/dist/fonts/bilhold/semibold.css.js +0 -9
  198. package/dist/foundation/iconography/svg/action/automatic_gear-filled.svg.cjs +0 -28
  199. package/dist/foundation/iconography/svg/action/automatic_gear-filled.svg.js +0 -10
  200. package/dist/foundation/iconography/svg/action/automatic_gear-outlined.svg.cjs +0 -28
  201. package/dist/foundation/iconography/svg/action/automatic_gear-outlined.svg.js +0 -10
  202. package/dist/foundation/iconography/svg/action/automatic_gear-round.svg.cjs +0 -28
  203. package/dist/foundation/iconography/svg/action/automatic_gear-round.svg.js +0 -10
  204. package/dist/foundation/iconography/svg/action/automatic_gear-sharp.svg.cjs +0 -28
  205. package/dist/foundation/iconography/svg/action/automatic_gear-sharp.svg.js +0 -10
  206. package/dist/foundation/iconography/svg/action/binoculars-filled.svg.cjs +0 -28
  207. package/dist/foundation/iconography/svg/action/binoculars-filled.svg.js +0 -10
  208. package/dist/foundation/iconography/svg/action/binoculars-outlined.svg.cjs +0 -28
  209. package/dist/foundation/iconography/svg/action/binoculars-outlined.svg.js +0 -10
  210. package/dist/foundation/iconography/svg/action/binoculars-round.svg.cjs +0 -28
  211. package/dist/foundation/iconography/svg/action/binoculars-round.svg.js +0 -10
  212. package/dist/foundation/iconography/svg/action/binoculars-sharp.svg.cjs +0 -28
  213. package/dist/foundation/iconography/svg/action/binoculars-sharp.svg.js +0 -10
package/CHANGELOG.md CHANGED
@@ -3,34 +3,28 @@
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
- ## [6.0.0-alpha.3](https://github.com/mollerdigital/design-system-design-system/compare/@gnist/design-system@6.0.0-alpha.2...@gnist/design-system@6.0.0-alpha.3) (2026-04-20)
6
+ ## [6.0.0](https://github.com/mollerdigital/design-system-design-system/compare/@gnist/design-system@5.8.0...@gnist/design-system@6.0.0) (2026-04-27)
7
7
 
8
- **Note:** Version bump only for package @gnist/design-system
9
-
10
- ## [6.0.0-alpha.2](https://github.com/mollerdigital/design-system-design-system/compare/@gnist/design-system@6.0.0-alpha.1...@gnist/design-system@6.0.0-alpha.2) (2026-04-20)
11
-
12
- **Note:** Version bump only for package @gnist/design-system
8
+ ### BREAKING CHANGES
13
9
 
14
- ## [6.0.0-alpha.1](https://github.com/mollerdigital/design-system-design-system/compare/@gnist/design-system@6.0.0-alpha.0...@gnist/design-system@6.0.0-alpha.1) (2026-04-20)
10
+ * Removed `favorite_border` and `star_outline` icons. Use `favorite` or `star` with the `variantOverride` prop to switch between filled and outlined variants. Also removed `binoculars` and `automatic_gear`.
11
+ * The default icon variant has been changed from `filled` to `outlined`.
15
12
 
16
13
  ### Features
17
14
 
18
- * Wrap gnist css in [@layer](https://github.com/layer) gnist { ... } ([c513601](https://github.com/mollerdigital/design-system-design-system/commit/c513601b4831e7d02f08028cdf1f0cd4c42f60bc))
15
+ * replace icons with Material Symbols and restructure icon build pipeline ([2b66494](https://github.com/mollerdigital/design-system-design-system/commit/2b66494aa98313cc9fbb600edfcd3e5a91c9953a))
19
16
 
20
- ### Bug Fixes
17
+ ## [5.8.0](https://github.com/mollerdigital/design-system-design-system/compare/@gnist/design-system@5.7.0...@gnist/design-system@5.8.0) (2026-04-24)
21
18
 
22
- * lint ([1c19f04](https://github.com/mollerdigital/design-system-design-system/commit/1c19f04a0aae90d887e3f26f4c31321bea84dced))
19
+ ### Features
23
20
 
24
- ## [6.0.0-alpha.0](https://github.com/mollerdigital/design-system-design-system/compare/@gnist/design-system@5.6.1...@gnist/design-system@6.0.0-alpha.0) (2026-04-17)
21
+ * add support for baltic characters for all fonts ([bc30b85](https://github.com/mollerdigital/design-system-design-system/commit/bc30b8576b5e8caa901c14b404de145e6958ed22))
25
22
 
26
- ### BREAKING CHANGES
27
-
28
- * Removed `favorite_border` and `star_outline` icons. Use `favorite` or `star` with the `variantOverride` prop to switch between filled and outlined variants.
29
- * The default icon variant has been changed from `filled` to `outlined`.
23
+ ## [5.7.0](https://github.com/mollerdigital/design-system-design-system/compare/@gnist/design-system@5.6.1...@gnist/design-system@5.7.0) (2026-04-21)
30
24
 
31
25
  ### Features
32
26
 
33
- * replace icons with Material Symbols and restructure icon build pipeline ([ede842a](https://github.com/mollerdigital/design-system-design-system/commit/ede842af1e6ab14a9f3dd7b843a00e3886240bcd))
27
+ * replace Figtree with Geist Variable font for bilhold theme ([a365dbc](https://github.com/mollerdigital/design-system-design-system/commit/a365dbc938fc50cd9871a506770e031dd447c14b))
34
28
 
35
29
  ## [5.6.1](https://github.com/mollerdigital/design-system-design-system/compare/@gnist/design-system@5.6.0...@gnist/design-system@5.6.1) (2026-04-17)
36
30
 
package/README.md CHANGED
@@ -22,10 +22,10 @@ To use the library, the vanilla-extract plugin needs to be used.
22
22
 
23
23
  ### Vite
24
24
 
25
- For Vite, you need
25
+ For Vite 8, you need
26
26
 
27
27
  ```
28
- npm install -D @vanilla-extract/vite-plugin @vanilla-extract/esbuild-plugin
28
+ npm install -D @vanilla-extract/vite-plugin @vanilla-extract/rollup-plugin
29
29
  ```
30
30
 
31
31
  Your `vite.config.ts` might look like this:
@@ -35,18 +35,21 @@ Your `vite.config.ts` might look like this:
35
35
 
36
36
  import { defineConfig } from "vite";
37
37
  import react from "@vitejs/plugin-react";
38
+ import { vanillaExtractPlugin as vanillaExtractRollupPlugin } from "@vanilla-extract/rollup-plugin";
38
39
  import { vanillaExtractPlugin } from "@vanilla-extract/vite-plugin";
39
- import { vanillaExtractPlugin as veEsbuildPlugin } from "@vanilla-extract/esbuild-plugin";
40
40
 
41
41
  // https://vitejs.dev/config/
42
42
  export default defineConfig({
43
43
  plugins: [react(), vanillaExtractPlugin()],
44
44
  optimizeDeps: {
45
- esbuildOptions: {
46
- // Handle vanilla-extract .css.js files during Vite dev mode optimization
47
- // This prevents error "Styles were unable to be assigned to a file." in dev mode
48
- // See https://github.com/vanilla-extract-css/vanilla-extract/discussions/1051
49
- plugins: [veEsbuildPlugin({ runtime: true })],
45
+ // Gnist publishes JS that imports vanilla-extract .css.js files,
46
+ // so force those packages through Vite 8 prebundling.
47
+ include: ["@gnist/design-system", "@gnist/design-system/**/*"],
48
+ rolldownOptions: {
49
+ plugins: [
50
+ // Handle vanilla-extract file scopes during dep optimization.
51
+ vanillaExtractRollupPlugin({ unstable_injectFilescopes: true }),
52
+ ],
50
53
  },
51
54
  },
52
55
  });
@@ -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",
@@ -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 {
@@ -2,32 +2,33 @@
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
6
  const cssUtils = require("@vanilla-extract/css-utils");
8
- const focusContainer = layers_css_js.gnistStyle({
7
+ const recipes = require("@vanilla-extract/recipes");
8
+ const css = require("@vanilla-extract/css");
9
+ const focusContainer = css.style({
9
10
  display: "inline-flex",
10
11
  alignItems: "center",
11
12
  position: "relative",
12
13
  flexShrink: 0
13
14
  });
14
- const switchField = layers_css_js.gnistStyle({
15
+ const switchField = css.style({
15
16
  display: "inline-flex",
16
17
  flexDirection: "column",
17
18
  gap: tokens_css_js.tokens.spacing.base
18
19
  });
19
- const switchRow = layers_css_js.gnistStyle({
20
+ const switchRow = css.style({
20
21
  display: "inline-flex",
21
22
  alignItems: "center",
22
23
  gap: tokens_css_js.tokens.spacing.xxs
23
24
  });
24
- const switchLabelContent = layers_css_js.gnistStyle({
25
+ const switchLabelContent = css.style({
25
26
  display: "inline-flex",
26
27
  flexDirection: "column",
27
28
  gap: tokens_css_js.tokens.spacing.base,
28
29
  minWidth: 0
29
30
  });
30
- const switchContainer = layers_css_js.gnistStyle([
31
+ const switchContainer = css.style([
31
32
  {
32
33
  position: "relative",
33
34
  display: "inline-flex",
@@ -43,7 +44,7 @@ const switchContainer = layers_css_js.gnistStyle([
43
44
  height: "m"
44
45
  })
45
46
  ]);
46
- const SwitchRecipe = layers_css_js.gnistRecipe({
47
+ const SwitchRecipe = recipes.recipe({
47
48
  base: [
48
49
  switchContainer,
49
50
  {
@@ -106,7 +107,7 @@ const SwitchRecipe = layers_css_js.gnistRecipe({
106
107
  }
107
108
  ]
108
109
  });
109
- const switchThumb = layers_css_js.gnistStyle({
110
+ const switchThumb = css.style({
110
111
  position: "absolute",
111
112
  top: "50%",
112
113
  transform: "translateY(-50%)",
@@ -122,7 +123,7 @@ const switchThumb = layers_css_js.gnistStyle({
122
123
  }
123
124
  }
124
125
  });
125
- const SwitchThumbRecipe = layers_css_js.gnistRecipe({
126
+ const SwitchThumbRecipe = recipes.recipe({
126
127
  base: [
127
128
  switchThumb,
128
129
  atoms_css_js.atoms({
@@ -178,7 +179,7 @@ const SwitchThumbRecipe = layers_css_js.gnistRecipe({
178
179
  }
179
180
  ]
180
181
  });
181
- const switchThumbIcon = layers_css_js.gnistStyle([
182
+ const switchThumbIcon = css.style([
182
183
  {
183
184
  display: "inline-flex",
184
185
  alignItems: "center",
@@ -190,7 +191,7 @@ const switchThumbIcon = layers_css_js.gnistStyle([
190
191
  color: "on-surface"
191
192
  })
192
193
  ]);
193
- const switchLabel = layers_css_js.gnistStyle([
194
+ const switchLabel = css.style([
194
195
  {
195
196
  userSelect: "none",
196
197
  fontSize: tokens_css_js.tokens.type.small.body.fontSize,
@@ -200,7 +201,7 @@ const switchLabel = layers_css_js.gnistStyle([
200
201
  color: "on-surface"
201
202
  })
202
203
  ]);
203
- const SwitchLabelRecipe = layers_css_js.gnistRecipe({
204
+ const SwitchLabelRecipe = recipes.recipe({
204
205
  base: [switchLabel],
205
206
  variants: {
206
207
  disabled: {
@@ -213,7 +214,7 @@ const SwitchLabelRecipe = layers_css_js.gnistRecipe({
213
214
  }
214
215
  }
215
216
  });
216
- const switchDescription = layers_css_js.gnistStyle([
217
+ const switchDescription = css.style([
217
218
  atoms_css_js.atoms({
218
219
  color: "text-variant"
219
220
  })
@@ -1 +1 @@
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
+ {"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"}