@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.
- package/CHANGELOG.md +10 -16
- package/README.md +11 -8
- package/dist/building-blocks/inputs/internal/textBelowInput.css.cjs +2 -2
- package/dist/building-blocks/inputs/internal/textBelowInput.css.js +2 -2
- package/dist/components/actions/buttons/styles.css.cjs +9 -8
- package/dist/components/actions/buttons/styles.css.d.ts.map +1 -1
- package/dist/components/actions/buttons/styles.css.js +9 -8
- package/dist/components/actions/chips/styles.css.cjs +4 -3
- package/dist/components/actions/chips/styles.css.d.ts.map +1 -1
- package/dist/components/actions/chips/styles.css.js +4 -3
- package/dist/components/actions/selectionControls/checkbox.css.cjs +3 -3
- package/dist/components/actions/selectionControls/checkbox.css.js +3 -3
- package/dist/components/actions/selectionControls/radiobutton.css.cjs +3 -3
- package/dist/components/actions/selectionControls/radiobutton.css.js +3 -3
- package/dist/components/actions/selectionControls/radiogroup.css.cjs +4 -3
- package/dist/components/actions/selectionControls/radiogroup.css.d.ts.map +1 -1
- package/dist/components/actions/selectionControls/radiogroup.css.js +4 -3
- package/dist/components/actions/selectionControls/shared.css.cjs +7 -6
- package/dist/components/actions/selectionControls/shared.css.d.ts.map +1 -1
- package/dist/components/actions/selectionControls/shared.css.js +7 -6
- package/dist/components/actions/selectionControls/switch.css.cjs +14 -13
- package/dist/components/actions/selectionControls/switch.css.d.ts.map +1 -1
- package/dist/components/actions/selectionControls/switch.css.js +14 -13
- package/dist/components/feedback/alerts/AlertBanner.css.cjs +8 -7
- package/dist/components/feedback/alerts/AlertBanner.css.d.ts.map +1 -1
- package/dist/components/feedback/alerts/AlertBanner.css.js +8 -7
- package/dist/components/feedback/loaders/loadingBar.css.cjs +2 -3
- package/dist/components/feedback/loaders/loadingBar.css.d.ts.map +1 -1
- package/dist/components/feedback/loaders/loadingBar.css.js +3 -4
- package/dist/components/feedback/loaders/loadingSpinner.css.cjs +1 -2
- package/dist/components/feedback/loaders/loadingSpinner.css.d.ts.map +1 -1
- package/dist/components/feedback/loaders/loadingSpinner.css.js +2 -3
- package/dist/components/feedback/notifications/lozenge.css.cjs +2 -2
- package/dist/components/feedback/notifications/lozenge.css.js +2 -2
- package/dist/components/feedback/progress/ProgressBar.css.cjs +3 -4
- package/dist/components/feedback/progress/ProgressBar.css.d.ts.map +1 -1
- package/dist/components/feedback/progress/ProgressBar.css.js +4 -5
- package/dist/components/inputs/dropdowns/select.css.cjs +7 -7
- package/dist/components/inputs/dropdowns/select.css.js +7 -7
- package/dist/components/inputs/pickers/Calendar.css.cjs +8 -8
- package/dist/components/inputs/pickers/Calendar.css.d.ts.map +1 -1
- package/dist/components/inputs/pickers/Calendar.css.js +9 -9
- package/dist/components/inputs/shared-styles/iconButtonOverlay.css.cjs +2 -2
- package/dist/components/inputs/shared-styles/iconButtonOverlay.css.js +2 -2
- package/dist/components/inputs/shared-styles/inputField.css.cjs +6 -5
- package/dist/components/inputs/shared-styles/inputField.css.d.ts.map +1 -1
- package/dist/components/inputs/shared-styles/inputField.css.js +6 -5
- package/dist/components/inputs/shared-styles/labelStyles.css.cjs +2 -2
- package/dist/components/inputs/shared-styles/labelStyles.css.js +2 -2
- package/dist/components/inputs/shared-styles/suffixPrefix.css.cjs +3 -3
- package/dist/components/inputs/shared-styles/suffixPrefix.css.js +3 -3
- package/dist/components/inputs/textFields/textArea.css.cjs +2 -2
- package/dist/components/inputs/textFields/textArea.css.js +2 -2
- package/dist/components/progress/spinner.css.cjs +1 -2
- package/dist/components/progress/spinner.css.d.ts.map +1 -1
- package/dist/components/progress/spinner.css.js +2 -3
- package/dist/components/surfaces/accordion/accordion.css.cjs +6 -6
- package/dist/components/surfaces/accordion/accordion.css.js +7 -7
- package/dist/components/surfaces/cards/cards.css.cjs +5 -4
- package/dist/components/surfaces/cards/cards.css.d.ts.map +1 -1
- package/dist/components/surfaces/cards/cards.css.js +5 -4
- package/dist/components/surfaces/cards/checkboxCard.css.cjs +2 -2
- package/dist/components/surfaces/cards/checkboxCard.css.js +2 -2
- package/dist/components/surfaces/cards/internal/SelectionCard.css.cjs +3 -3
- package/dist/components/surfaces/cards/internal/SelectionCard.css.js +3 -3
- package/dist/components/surfaces/modal/modal.css.cjs +10 -10
- package/dist/components/surfaces/modal/modal.css.js +11 -11
- package/dist/fonts/VW/VWHeadWeb-Bold.woff2.cjs +1 -1
- package/dist/fonts/VW/VWHeadWeb-Bold.woff2.js +1 -1
- package/dist/fonts/VW/VWHeadWeb-ExtraBold.woff2.cjs +1 -1
- package/dist/fonts/VW/VWHeadWeb-ExtraBold.woff2.js +1 -1
- package/dist/fonts/VW/VWHeadWeb-Regular.woff2.cjs +1 -1
- package/dist/fonts/VW/VWHeadWeb-Regular.woff2.js +1 -1
- package/dist/fonts/VW/VWTextWeb-Bold.woff2.cjs +1 -1
- package/dist/fonts/VW/VWTextWeb-Bold.woff2.js +1 -1
- package/dist/fonts/VW/VWTextWeb-Regular.woff2.cjs +1 -1
- package/dist/fonts/VW/VWTextWeb-Regular.woff2.js +1 -1
- package/dist/fonts/audi/AudiType-Bold_4.03.woff2.cjs +1 -1
- package/dist/fonts/audi/AudiType-Bold_4.03.woff2.js +1 -1
- package/dist/fonts/audi/AudiType-ExtendedBold_4.03.woff2.cjs +1 -1
- package/dist/fonts/audi/AudiType-ExtendedBold_4.03.woff2.js +1 -1
- package/dist/fonts/audi/AudiType-ExtendedNormal_4.03.woff2.cjs +1 -1
- package/dist/fonts/audi/AudiType-ExtendedNormal_4.03.woff2.js +1 -1
- package/dist/fonts/audi/AudiType-Normal_4.03.woff2.cjs +1 -1
- package/dist/fonts/audi/AudiType-Normal_4.03.woff2.js +1 -1
- package/dist/fonts/autoria/Texgyreheros-Bold.woff2.cjs +1 -1
- package/dist/fonts/autoria/Texgyreheros-Bold.woff2.js +1 -1
- package/dist/fonts/autoria/Texgyreheros-Regular.woff2.cjs +1 -1
- package/dist/fonts/autoria/Texgyreheros-Regular.woff2.js +1 -1
- package/dist/fonts/bilhold/GeistVariableVF.woff2.cjs +5 -0
- package/dist/fonts/bilhold/GeistVariableVF.woff2.js +5 -0
- package/dist/fonts/bilhold/index.cjs +0 -1
- package/dist/fonts/bilhold/index.d.ts +0 -1
- package/dist/fonts/bilhold/index.d.ts.map +1 -1
- package/dist/fonts/bilhold/index.js +0 -1
- package/dist/fonts/bilhold/regular.css.cjs +4 -3
- package/dist/fonts/bilhold/regular.css.js +4 -3
- package/dist/fonts/cupra/Cupra-Bold.woff2.cjs +1 -1
- package/dist/fonts/cupra/Cupra-Bold.woff2.js +1 -1
- package/dist/fonts/cupra/Cupra-Book.woff2.cjs +1 -1
- package/dist/fonts/cupra/Cupra-Book.woff2.js +1 -1
- package/dist/fonts/cupra/Cupra-Medium.woff2.cjs +1 -1
- package/dist/fonts/cupra/Cupra-Medium.woff2.js +1 -1
- package/dist/fonts/cupra/Cupra-Regular.woff2.cjs +1 -1
- package/dist/fonts/cupra/Cupra-Regular.woff2.js +1 -1
- package/dist/fonts/dahles/SourceSans3-Bold.woff2.cjs +1 -1
- package/dist/fonts/dahles/SourceSans3-Bold.woff2.js +1 -1
- package/dist/fonts/dahles/SourceSans3-Medium.woff2.cjs +1 -1
- package/dist/fonts/dahles/SourceSans3-Medium.woff2.js +1 -1
- package/dist/fonts/dahles/SourceSans3-Regular.woff2.cjs +1 -1
- package/dist/fonts/dahles/SourceSans3-Regular.woff2.js +1 -1
- package/dist/fonts/dahles/SourceSans3-SemiBold.woff2.cjs +1 -1
- package/dist/fonts/dahles/SourceSans3-SemiBold.woff2.js +1 -1
- package/dist/fonts/gumpen/ES-Build-Bold.woff2.cjs +1 -1
- package/dist/fonts/gumpen/ES-Build-Bold.woff2.js +1 -1
- package/dist/fonts/gumpen/ES-Build-Medium.woff2.cjs +1 -1
- package/dist/fonts/gumpen/ES-Build-Medium.woff2.js +1 -1
- package/dist/fonts/gumpen/ES-Build-Regular.woff2.cjs +1 -1
- package/dist/fonts/gumpen/ES-Build-Regular.woff2.js +1 -1
- package/dist/fonts/gumpen/ES-Build-SemiBold.woff2.cjs +1 -1
- package/dist/fonts/gumpen/ES-Build-SemiBold.woff2.js +1 -1
- package/dist/fonts/moller/Larken-Bold.woff2.cjs +1 -1
- package/dist/fonts/moller/Larken-Bold.woff2.js +1 -1
- package/dist/fonts/moller/moller-bold-webfont.woff2.cjs +1 -1
- package/dist/fonts/moller/moller-bold-webfont.woff2.js +1 -1
- package/dist/fonts/moller/moller-book-webfont.woff2.cjs +1 -1
- package/dist/fonts/moller/moller-book-webfont.woff2.js +1 -1
- package/dist/fonts/moller/moller-medium-webfont.woff2.cjs +1 -1
- package/dist/fonts/moller/moller-medium-webfont.woff2.js +1 -1
- package/dist/fonts/moller/moller-regular-webfont.woff2.cjs +1 -1
- package/dist/fonts/moller/moller-regular-webfont.woff2.js +1 -1
- package/dist/fonts/seat/SEATBCN-Bold.woff2.cjs +1 -1
- package/dist/fonts/seat/SEATBCN-Bold.woff2.js +1 -1
- package/dist/fonts/seat/SEATBCN-Light.woff2.cjs +1 -1
- package/dist/fonts/seat/SEATBCN-Light.woff2.js +1 -1
- package/dist/fonts/seat/SEATBCN-Medium.woff2.cjs +1 -1
- package/dist/fonts/seat/SEATBCN-Medium.woff2.js +1 -1
- package/dist/fonts/seat/SEATBCN-Regular.woff2.cjs +1 -1
- package/dist/fonts/seat/SEATBCN-Regular.woff2.js +1 -1
- package/dist/fonts/skoda/SKODANextW07-Bold.woff2.cjs +1 -1
- package/dist/fonts/skoda/SKODANextW07-Bold.woff2.js +1 -1
- package/dist/fonts/skoda/SKODANextW07-Thin.woff2.cjs +1 -1
- package/dist/fonts/skoda/SKODANextW07-Thin.woff2.js +1 -1
- package/dist/fonts/tools/GeistVariableVF.woff2.cjs +1 -1
- package/dist/fonts/tools/GeistVariableVF.woff2.js +1 -1
- package/dist/foundation/iconography/Icon.css.cjs +2 -3
- package/dist/foundation/iconography/Icon.css.d.ts.map +1 -1
- package/dist/foundation/iconography/Icon.css.js +3 -4
- package/dist/foundation/iconography/icons.d.ts +1 -1
- package/dist/foundation/iconography/icons.d.ts.map +1 -1
- package/dist/foundation/iconography/svg/action/index.cjs +0 -22
- package/dist/foundation/iconography/svg/action/index.d.ts +0 -52
- package/dist/foundation/iconography/svg/action/index.d.ts.map +1 -1
- package/dist/foundation/iconography/svg/action/index.js +0 -22
- package/dist/foundation/iconography/svg/action/tire-filled.svg.cjs +1 -1
- package/dist/foundation/iconography/svg/action/tire-filled.svg.js +1 -1
- package/dist/foundation/iconography/svg/action/tire-outlined.svg.cjs +1 -1
- package/dist/foundation/iconography/svg/action/tire-outlined.svg.js +1 -1
- package/dist/foundation/iconography/svg/action/tire-round.svg.cjs +1 -1
- package/dist/foundation/iconography/svg/action/tire-round.svg.js +1 -1
- package/dist/foundation/iconography/svg/action/tire-sharp.svg.cjs +1 -1
- package/dist/foundation/iconography/svg/action/tire-sharp.svg.js +1 -1
- package/dist/foundation/logos/Logo.css.cjs +4 -5
- package/dist/foundation/logos/Logo.css.d.ts.map +1 -1
- package/dist/foundation/logos/Logo.css.js +5 -6
- package/dist/foundation/typography/typography.css.cjs +2 -2
- package/dist/foundation/typography/typography.css.js +2 -2
- package/dist/styles/animations.css.cjs +2 -2
- package/dist/styles/animations.css.js +2 -2
- package/dist/styles/states.css.cjs +5 -4
- package/dist/styles/states.css.d.ts.map +1 -1
- package/dist/styles/states.css.js +5 -4
- package/dist/utilities/accessibility/visuallyHidden.css.cjs +2 -2
- package/dist/utilities/accessibility/visuallyHidden.css.js +2 -2
- package/dist/utilities/layout/styles.css.cjs +3 -3
- package/dist/utilities/layout/styles.css.js +3 -3
- package/package.json +3 -3
- package/dist/fonts/bilhold/Figtree-Bold.woff2.cjs +0 -5
- package/dist/fonts/bilhold/Figtree-Bold.woff2.js +0 -5
- package/dist/fonts/bilhold/Figtree-Medium.woff2.cjs +0 -5
- package/dist/fonts/bilhold/Figtree-Medium.woff2.js +0 -5
- package/dist/fonts/bilhold/Figtree-Regular.woff2.cjs +0 -5
- package/dist/fonts/bilhold/Figtree-Regular.woff2.js +0 -5
- package/dist/fonts/bilhold/Figtree-SemiBold.woff2.cjs +0 -5
- package/dist/fonts/bilhold/Figtree-SemiBold.woff2.js +0 -5
- package/dist/fonts/bilhold/bold.css.cjs +0 -10
- package/dist/fonts/bilhold/bold.css.d.ts +0 -2
- package/dist/fonts/bilhold/bold.css.d.ts.map +0 -1
- package/dist/fonts/bilhold/bold.css.js +0 -9
- package/dist/fonts/bilhold/medium.css.cjs +0 -10
- package/dist/fonts/bilhold/medium.css.d.ts +0 -2
- package/dist/fonts/bilhold/medium.css.d.ts.map +0 -1
- package/dist/fonts/bilhold/medium.css.js +0 -9
- package/dist/fonts/bilhold/semibold.css.cjs +0 -10
- package/dist/fonts/bilhold/semibold.css.d.ts +0 -2
- package/dist/fonts/bilhold/semibold.css.d.ts.map +0 -1
- package/dist/fonts/bilhold/semibold.css.js +0 -9
- package/dist/foundation/iconography/svg/action/automatic_gear-filled.svg.cjs +0 -28
- package/dist/foundation/iconography/svg/action/automatic_gear-filled.svg.js +0 -10
- package/dist/foundation/iconography/svg/action/automatic_gear-outlined.svg.cjs +0 -28
- package/dist/foundation/iconography/svg/action/automatic_gear-outlined.svg.js +0 -10
- package/dist/foundation/iconography/svg/action/automatic_gear-round.svg.cjs +0 -28
- package/dist/foundation/iconography/svg/action/automatic_gear-round.svg.js +0 -10
- package/dist/foundation/iconography/svg/action/automatic_gear-sharp.svg.cjs +0 -28
- package/dist/foundation/iconography/svg/action/automatic_gear-sharp.svg.js +0 -10
- package/dist/foundation/iconography/svg/action/binoculars-filled.svg.cjs +0 -28
- package/dist/foundation/iconography/svg/action/binoculars-filled.svg.js +0 -10
- package/dist/foundation/iconography/svg/action/binoculars-outlined.svg.cjs +0 -28
- package/dist/foundation/iconography/svg/action/binoculars-outlined.svg.js +0 -10
- package/dist/foundation/iconography/svg/action/binoculars-round.svg.cjs +0 -28
- package/dist/foundation/iconography/svg/action/binoculars-round.svg.js +0 -10
- package/dist/foundation/iconography/svg/action/binoculars-sharp.svg.cjs +0 -28
- 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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
*
|
|
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
|
-
|
|
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
|
-
|
|
19
|
+
### Features
|
|
23
20
|
|
|
24
|
-
|
|
21
|
+
* add support for baltic characters for all fonts ([bc30b85](https://github.com/mollerdigital/design-system-design-system/commit/bc30b8576b5e8caa901c14b404de145e6958ed22))
|
|
25
22
|
|
|
26
|
-
|
|
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
|
|
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/
|
|
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
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
plugins: [
|
|
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
|
|
6
|
-
const textBelowInputRecipe =
|
|
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 {
|
|
4
|
-
const textBelowInputRecipe =
|
|
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
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
122
|
+
const actionText = css.style({
|
|
122
123
|
fontWeight: tokens_css_js.tokens.typeface.weight.semibold
|
|
123
124
|
});
|
|
124
|
-
const textButtonText =
|
|
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":"
|
|
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
|
-
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
120
|
+
const actionText = style({
|
|
120
121
|
fontWeight: tokens.typeface.weight.semibold
|
|
121
122
|
});
|
|
122
|
-
const textButtonText =
|
|
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
|
|
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 =
|
|
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":"
|
|
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
|
-
|
|
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 =
|
|
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
|
|
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 =
|
|
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
|
-
|
|
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 =
|
|
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
|
|
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 =
|
|
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
|
-
|
|
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 =
|
|
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
|
|
6
|
-
const
|
|
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 =
|
|
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":"
|
|
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 {
|
|
4
|
-
|
|
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 =
|
|
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
|
|
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 =
|
|
16
|
+
const LabelStyle = css.style([
|
|
16
17
|
{
|
|
17
18
|
alignSelf: "center"
|
|
18
19
|
}
|
|
19
20
|
]);
|
|
20
|
-
const LabelRecipe =
|
|
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 =
|
|
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 =
|
|
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":"
|
|
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
|
-
|
|
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 =
|
|
14
|
+
const LabelStyle = style([
|
|
14
15
|
{
|
|
15
16
|
alignSelf: "center"
|
|
16
17
|
}
|
|
17
18
|
]);
|
|
18
|
-
const LabelRecipe =
|
|
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 =
|
|
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 =
|
|
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
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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":"
|
|
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"}
|