@4sh/ui-kit 0.6.1 → 0.8.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/README.fr.md +47 -22
- package/README.md +46 -23
- package/fesm2022/4sh-ui-kit-actions-ui-button-split.mjs +1 -1
- package/fesm2022/4sh-ui-kit-actions-ui-button-split.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-actions-ui-button.mjs +5 -3
- package/fesm2022/4sh-ui-kit-actions-ui-button.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-actions-ui-link.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-actions-ui-speed-dial.mjs +439 -0
- package/fesm2022/4sh-ui-kit-actions-ui-speed-dial.mjs.map +1 -0
- package/fesm2022/4sh-ui-kit-base-ui-icon.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-base-ui-image.mjs +111 -10
- package/fesm2022/4sh-ui-kit-base-ui-image.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs +14 -6
- package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-checkbox.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs +655 -92
- package/fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-editor.mjs +1107 -0
- package/fesm2022/4sh-ui-kit-forms-ui-editor.mjs.map +1 -0
- package/fesm2022/4sh-ui-kit-forms-ui-field.mjs +43 -3
- package/fesm2022/4sh-ui-kit-forms-ui-field.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-file-upload.mjs +5 -3
- package/fesm2022/4sh-ui-kit-forms-ui-file-upload.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-group.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-mask.mjs +8 -2
- package/fesm2022/4sh-ui-kit-forms-ui-input-mask.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs +15 -2
- package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-otp.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs +8 -4
- package/fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input.mjs +40 -4
- package/fesm2022/4sh-ui-kit-forms-ui-input.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-knob.mjs +282 -0
- package/fesm2022/4sh-ui-kit-forms-ui-knob.mjs.map +1 -0
- package/fesm2022/4sh-ui-kit-forms-ui-label.mjs +2 -2
- package/fesm2022/4sh-ui-kit-forms-ui-label.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-nudger.mjs +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-nudger.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-radio.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-rating.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-segment-control.mjs +6 -4
- package/fesm2022/4sh-ui-kit-forms-ui-segment-control.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-select.mjs +8 -3
- package/fesm2022/4sh-ui-kit-forms-ui-select.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-slider.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-swatch-picker.mjs +317 -0
- package/fesm2022/4sh-ui-kit-forms-ui-swatch-picker.mjs.map +1 -0
- package/fesm2022/4sh-ui-kit-forms-ui-textarea.mjs +8 -2
- package/fesm2022/4sh-ui-kit-forms-ui-textarea.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-toggle-button.mjs +374 -0
- package/fesm2022/4sh-ui-kit-forms-ui-toggle-button.mjs.map +1 -0
- package/fesm2022/4sh-ui-kit-forms-ui-toggle.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms.mjs +49 -14
- package/fesm2022/4sh-ui-kit-forms.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-accordion.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-alert.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-avatar-group.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-avatar.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-badge.mjs +2 -2
- package/fesm2022/4sh-ui-kit-informative-ui-badge.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-chip.mjs +2 -2
- package/fesm2022/4sh-ui-kit-informative-ui-chip.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-empty-state.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-helper.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-progress-bar.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-read-only.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-separator.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-skeleton.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-spinner.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-tag.mjs +2 -2
- package/fesm2022/4sh-ui-kit-informative-ui-tag.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-toast.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-tooltip.mjs +2 -2
- package/fesm2022/4sh-ui-kit-informative-ui-tooltip.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-layout-ui-card.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-layout-ui-drawer.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-layout-ui-modal.mjs +45 -4
- package/fesm2022/4sh-ui-kit-layout-ui-modal.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-layout-ui-popover.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-motion.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-bottom-tab-bar.mjs +370 -0
- package/fesm2022/4sh-ui-kit-navigation-ui-bottom-tab-bar.mjs.map +1 -0
- package/fesm2022/4sh-ui-kit-navigation-ui-breadcrumb.mjs +2 -2
- package/fesm2022/4sh-ui-kit-navigation-ui-breadcrumb.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-context-menu.mjs +5 -3
- package/fesm2022/4sh-ui-kit-navigation-ui-context-menu.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-menu.mjs +5 -3
- package/fesm2022/4sh-ui-kit-navigation-ui-menu.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-sidebar.mjs +5 -3
- package/fesm2022/4sh-ui-kit-navigation-ui-sidebar.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-stepper.mjs +22 -10
- package/fesm2022/4sh-ui-kit-navigation-ui-stepper.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-tabs.mjs +19 -4
- package/fesm2022/4sh-ui-kit-navigation-ui-tabs.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-overlay.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-ripple.mjs +298 -0
- package/fesm2022/4sh-ui-kit-ripple.mjs.map +1 -0
- package/fesm2022/4sh-ui-kit-table-ui-paginator.mjs +5 -3
- package/fesm2022/4sh-ui-kit-table-ui-paginator.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-table-ui-table.mjs +2 -2
- package/fesm2022/4sh-ui-kit-table-ui-table.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-theming.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit.mjs.map +1 -1
- package/mcp/data/text-search-docs.json +1083 -83
- package/mcp/data/ui-config.json +5592 -2586
- package/mcp/index.js +682 -410
- package/mcp/package.json +1 -1
- package/package.json +29 -1
- package/schematics/index.cjs +1 -1
- package/styles/base/_ripple.scss +53 -0
- package/styles/component-vars.scss +177 -2
- package/styles/generated/_tokens-breakpoint.scss +1 -1
- package/styles/generated/_tokens-metrics.scss +1 -1
- package/styles/generated/_tokens-primitives.scss +1 -1
- package/styles/generated/_tokens-responsive.scss +17 -17
- package/styles/generated/_tokens-semantics.scss +15 -15
- package/styles/generated/_tokens-styles.scss +1 -1
- package/styles/generated/_tokens-transitions.scss +1 -1
- package/styles/generated/_tokens-typography.scss +1 -1
- package/styles/generated/_tokens.scss +1 -1
- package/styles/index.scss +1 -0
- package/styles/settings/_ui-config.scss +9 -0
- package/styles/utils/_helpers.scss +15 -0
- package/styles/utils/_mixins.scss +17 -1
- package/styles.css +1 -1
- package/types/4sh-ui-kit-actions-ui-button.d.ts +3 -1
- package/types/4sh-ui-kit-actions-ui-speed-dial.d.ts +234 -0
- package/types/4sh-ui-kit-base-ui-image.d.ts +16 -3
- package/types/4sh-ui-kit-forms-ui-autocomplete.d.ts +7 -2
- package/types/4sh-ui-kit-forms-ui-datepicker.d.ts +242 -37
- package/types/4sh-ui-kit-forms-ui-editor.d.ts +481 -0
- package/types/4sh-ui-kit-forms-ui-field.d.ts +32 -2
- package/types/4sh-ui-kit-forms-ui-file-upload.d.ts +3 -1
- package/types/4sh-ui-kit-forms-ui-input-mask.d.ts +4 -0
- package/types/4sh-ui-kit-forms-ui-input-number.d.ts +9 -0
- package/types/4sh-ui-kit-forms-ui-input-tags.d.ts +4 -1
- package/types/4sh-ui-kit-forms-ui-input.d.ts +28 -2
- package/types/4sh-ui-kit-forms-ui-knob.d.ts +93 -0
- package/types/4sh-ui-kit-forms-ui-segment-control.d.ts +3 -1
- package/types/4sh-ui-kit-forms-ui-select.d.ts +5 -1
- package/types/4sh-ui-kit-forms-ui-swatch-picker.d.ts +126 -0
- package/types/4sh-ui-kit-forms-ui-textarea.d.ts +4 -0
- package/types/4sh-ui-kit-forms-ui-toggle-button.d.ts +222 -0
- package/types/4sh-ui-kit-forms.d.ts +38 -7
- package/types/4sh-ui-kit-layout-ui-modal.d.ts +7 -0
- package/types/4sh-ui-kit-navigation-ui-bottom-tab-bar.d.ts +201 -0
- package/types/4sh-ui-kit-navigation-ui-context-menu.d.ts +3 -1
- package/types/4sh-ui-kit-navigation-ui-menu.d.ts +3 -1
- package/types/4sh-ui-kit-navigation-ui-sidebar.d.ts +3 -1
- package/types/4sh-ui-kit-navigation-ui-stepper.d.ts +8 -3
- package/types/4sh-ui-kit-navigation-ui-tabs.d.ts +16 -3
- package/types/4sh-ui-kit-ripple.d.ts +156 -0
- package/types/4sh-ui-kit-table-ui-paginator.d.ts +3 -1
package/mcp/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@4sh/ui-kit-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "MCP server exposing the @4sh/ui-kit design system (components, props, tokens, doc) to AI coding agents. Not published on its own: bundled at build time into @4sh/ui-kit (library mode) and @4sh/ui-kit-schematics (starter mode) — see scripts/mcp-bundle.build.mjs.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@4sh/ui-kit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "Headless Angular components from the 4SH Design System: signals + Angular CDK, styled exclusively through design tokens. Ships a companion MCP server exposing the kit catalog and doc to AI coding agents.",
|
|
5
5
|
"homepage": "https://4sh.github.io/starter-angular/?path=/docs/introduction--docs",
|
|
6
6
|
"repository": {
|
|
@@ -69,6 +69,10 @@
|
|
|
69
69
|
"types": "./types/4sh-ui-kit-actions-ui-link.d.ts",
|
|
70
70
|
"default": "./fesm2022/4sh-ui-kit-actions-ui-link.mjs"
|
|
71
71
|
},
|
|
72
|
+
"./actions/ui-speed-dial": {
|
|
73
|
+
"types": "./types/4sh-ui-kit-actions-ui-speed-dial.d.ts",
|
|
74
|
+
"default": "./fesm2022/4sh-ui-kit-actions-ui-speed-dial.mjs"
|
|
75
|
+
},
|
|
72
76
|
"./base/ui-icon": {
|
|
73
77
|
"types": "./types/4sh-ui-kit-base-ui-icon.d.ts",
|
|
74
78
|
"default": "./fesm2022/4sh-ui-kit-base-ui-icon.mjs"
|
|
@@ -93,6 +97,10 @@
|
|
|
93
97
|
"types": "./types/4sh-ui-kit-forms-ui-datepicker.d.ts",
|
|
94
98
|
"default": "./fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs"
|
|
95
99
|
},
|
|
100
|
+
"./forms/ui-editor": {
|
|
101
|
+
"types": "./types/4sh-ui-kit-forms-ui-editor.d.ts",
|
|
102
|
+
"default": "./fesm2022/4sh-ui-kit-forms-ui-editor.mjs"
|
|
103
|
+
},
|
|
96
104
|
"./forms/ui-field": {
|
|
97
105
|
"types": "./types/4sh-ui-kit-forms-ui-field.d.ts",
|
|
98
106
|
"default": "./fesm2022/4sh-ui-kit-forms-ui-field.mjs"
|
|
@@ -125,6 +133,10 @@
|
|
|
125
133
|
"types": "./types/4sh-ui-kit-forms-ui-input-tags.d.ts",
|
|
126
134
|
"default": "./fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs"
|
|
127
135
|
},
|
|
136
|
+
"./forms/ui-knob": {
|
|
137
|
+
"types": "./types/4sh-ui-kit-forms-ui-knob.d.ts",
|
|
138
|
+
"default": "./fesm2022/4sh-ui-kit-forms-ui-knob.mjs"
|
|
139
|
+
},
|
|
128
140
|
"./forms/ui-label": {
|
|
129
141
|
"types": "./types/4sh-ui-kit-forms-ui-label.d.ts",
|
|
130
142
|
"default": "./fesm2022/4sh-ui-kit-forms-ui-label.mjs"
|
|
@@ -153,6 +165,10 @@
|
|
|
153
165
|
"types": "./types/4sh-ui-kit-forms-ui-slider.d.ts",
|
|
154
166
|
"default": "./fesm2022/4sh-ui-kit-forms-ui-slider.mjs"
|
|
155
167
|
},
|
|
168
|
+
"./forms/ui-swatch-picker": {
|
|
169
|
+
"types": "./types/4sh-ui-kit-forms-ui-swatch-picker.d.ts",
|
|
170
|
+
"default": "./fesm2022/4sh-ui-kit-forms-ui-swatch-picker.mjs"
|
|
171
|
+
},
|
|
156
172
|
"./forms/ui-textarea": {
|
|
157
173
|
"types": "./types/4sh-ui-kit-forms-ui-textarea.d.ts",
|
|
158
174
|
"default": "./fesm2022/4sh-ui-kit-forms-ui-textarea.mjs"
|
|
@@ -161,6 +177,10 @@
|
|
|
161
177
|
"types": "./types/4sh-ui-kit-forms-ui-toggle.d.ts",
|
|
162
178
|
"default": "./fesm2022/4sh-ui-kit-forms-ui-toggle.mjs"
|
|
163
179
|
},
|
|
180
|
+
"./forms/ui-toggle-button": {
|
|
181
|
+
"types": "./types/4sh-ui-kit-forms-ui-toggle-button.d.ts",
|
|
182
|
+
"default": "./fesm2022/4sh-ui-kit-forms-ui-toggle-button.mjs"
|
|
183
|
+
},
|
|
164
184
|
"./informative/ui-accordion": {
|
|
165
185
|
"types": "./types/4sh-ui-kit-informative-ui-accordion.d.ts",
|
|
166
186
|
"default": "./fesm2022/4sh-ui-kit-informative-ui-accordion.mjs"
|
|
@@ -245,6 +265,10 @@
|
|
|
245
265
|
"types": "./types/4sh-ui-kit-motion.d.ts",
|
|
246
266
|
"default": "./fesm2022/4sh-ui-kit-motion.mjs"
|
|
247
267
|
},
|
|
268
|
+
"./navigation/ui-bottom-tab-bar": {
|
|
269
|
+
"types": "./types/4sh-ui-kit-navigation-ui-bottom-tab-bar.d.ts",
|
|
270
|
+
"default": "./fesm2022/4sh-ui-kit-navigation-ui-bottom-tab-bar.mjs"
|
|
271
|
+
},
|
|
248
272
|
"./navigation/ui-breadcrumb": {
|
|
249
273
|
"types": "./types/4sh-ui-kit-navigation-ui-breadcrumb.d.ts",
|
|
250
274
|
"default": "./fesm2022/4sh-ui-kit-navigation-ui-breadcrumb.mjs"
|
|
@@ -273,6 +297,10 @@
|
|
|
273
297
|
"types": "./types/4sh-ui-kit-overlay.d.ts",
|
|
274
298
|
"default": "./fesm2022/4sh-ui-kit-overlay.mjs"
|
|
275
299
|
},
|
|
300
|
+
"./ripple": {
|
|
301
|
+
"types": "./types/4sh-ui-kit-ripple.d.ts",
|
|
302
|
+
"default": "./fesm2022/4sh-ui-kit-ripple.mjs"
|
|
303
|
+
},
|
|
276
304
|
"./table/ui-paginator": {
|
|
277
305
|
"types": "./types/4sh-ui-kit-table-ui-paginator.d.ts",
|
|
278
306
|
"default": "./fesm2022/4sh-ui-kit-table-ui-paginator.mjs"
|
package/schematics/index.cjs
CHANGED
|
@@ -51,7 +51,7 @@ function ngAdd() {
|
|
|
51
51
|
"@4sh/ui-kit vient d'être ajouté à votre package.json par la CLI avant ce",
|
|
52
52
|
'contrôle — retirez-le si vous vouliez le starter. Si vous vouliez vraiment',
|
|
53
53
|
'le mode librairie, gardez-le et suivez les étapes manuelles du README',
|
|
54
|
-
"(
|
|
54
|
+
"(installer la dépendance suffit, `ng add` n'était pas nécessaire).",
|
|
55
55
|
'',
|
|
56
56
|
].join('\n'),
|
|
57
57
|
);
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
// =====================================================================
|
|
2
|
+
// Ripple : global styles of the wave (`UiRipple` / `UiRippleScope`).
|
|
3
|
+
//
|
|
4
|
+
// The directives append a clipping layer, then one ink span per press. Both
|
|
5
|
+
// are created outside any component, so their rules live here rather than in
|
|
6
|
+
// a scoped `.scss`. Every value resolves from the `--ui-ripple-*` custom
|
|
7
|
+
// properties, which INHERIT : set them on `:root`, on a container or on the
|
|
8
|
+
// element itself to retune one wave, one screen or the whole application.
|
|
9
|
+
//
|
|
10
|
+
// Class contract :
|
|
11
|
+
// .ui-ripple-layer → clip box, follows the host's border-radius
|
|
12
|
+
// .ui-ripple-ink → one wave, removed on `animationend`
|
|
13
|
+
// =====================================================================
|
|
14
|
+
|
|
15
|
+
@use 'utils';
|
|
16
|
+
|
|
17
|
+
$_color: var(--ui-ripple-color, currentColor);
|
|
18
|
+
$_opacity: var(--ui-ripple-opacity, #{utils.$ripple-opacity});
|
|
19
|
+
$_duration: var(--ui-ripple-duration, #{utils.$ripple-duration});
|
|
20
|
+
$_easing: var(--ui-ripple-easing, #{utils.$ripple-easing});
|
|
21
|
+
$_scale: var(--ui-ripple-scale, #{utils.$ripple-scale});
|
|
22
|
+
|
|
23
|
+
.ui-ripple-layer {
|
|
24
|
+
position: absolute;
|
|
25
|
+
inset: 0;
|
|
26
|
+
overflow: hidden;
|
|
27
|
+
border-radius: inherit;
|
|
28
|
+
contain: layout paint;
|
|
29
|
+
pointer-events: none;
|
|
30
|
+
z-index: 1;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.ui-ripple-ink {
|
|
34
|
+
position: absolute;
|
|
35
|
+
border-radius: 50%;
|
|
36
|
+
background-color: $_color;
|
|
37
|
+
opacity: 0;
|
|
38
|
+
transform: scale(0);
|
|
39
|
+
animation: ui-ripple-wave $_duration $_easing;
|
|
40
|
+
// Compositor-only animation: no layout, no repaint of the host.
|
|
41
|
+
will-change: transform, opacity;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@keyframes ui-ripple-wave {
|
|
45
|
+
from {
|
|
46
|
+
opacity: $_opacity;
|
|
47
|
+
transform: scale(0);
|
|
48
|
+
}
|
|
49
|
+
to {
|
|
50
|
+
opacity: 0;
|
|
51
|
+
transform: scale($_scale);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
// For a value shared by the whole kit (spacing, radius, control size), retune the
|
|
11
11
|
// design token instead — it follows brand, light/dark and viewport.
|
|
12
12
|
//
|
|
13
|
-
// Generated by `
|
|
14
|
-
// edit here.
|
|
13
|
+
// Generated by `pnpm docs:config`, values read from the compiled CSS — do not
|
|
14
|
+
// edit here. 720 variables; 25 more exist whose value depends on the
|
|
15
15
|
// rendered variant, listed in each component’s “Theming” section in Storybook.
|
|
16
16
|
// =====================================================================
|
|
17
17
|
|
|
@@ -57,6 +57,18 @@
|
|
|
57
57
|
--ui-link-font-size: var(--size-typography-text-default);
|
|
58
58
|
--ui-link-font-size-small: var(--size-typography-text-md);
|
|
59
59
|
|
|
60
|
+
// ── ui-speed-dial ──
|
|
61
|
+
// Espacements
|
|
62
|
+
--ui-speed-dial-item-gap: var(--units-sm);
|
|
63
|
+
// Bordures & rayons
|
|
64
|
+
--ui-speed-dial-radius: calc(2 * var(--size-components-default));
|
|
65
|
+
// Couleurs
|
|
66
|
+
--ui-speed-dial-mask-background: var(--primitives-black-50);
|
|
67
|
+
// Motion
|
|
68
|
+
--ui-speed-dial-item-delay: var(--transition-fast);
|
|
69
|
+
// Divers
|
|
70
|
+
--ui-speed-dial-z-index: 10;
|
|
71
|
+
|
|
60
72
|
// ══════════════════════════════════════════════════════════════════
|
|
61
73
|
// Base
|
|
62
74
|
// ══════════════════════════════════════════════════════════════════
|
|
@@ -134,6 +146,7 @@
|
|
|
134
146
|
--ui-datepicker-cell-min-height: var(--size-components-sm);
|
|
135
147
|
--ui-datepicker-day-size: var(--size-components-default);
|
|
136
148
|
--ui-datepicker-nav-size: var(--size-components-default);
|
|
149
|
+
--ui-datepicker-panel-max-height: calc(100dvh - var(--units-3xl));
|
|
137
150
|
--ui-datepicker-panel-max-width: calc(100vw - var(--units-lg));
|
|
138
151
|
--ui-datepicker-panel-width: 22.5rem;
|
|
139
152
|
--ui-datepicker-time-btn-height: var(--size-components-2xs);
|
|
@@ -176,11 +189,67 @@
|
|
|
176
189
|
--ui-datepicker-time-font-size: var(--size-typography-title-md);
|
|
177
190
|
--ui-datepicker-title-font-size: var(--size-typography-title-md);
|
|
178
191
|
--ui-datepicker-weekday-font-size: var(--size-typography-text-md);
|
|
192
|
+
// Couleurs
|
|
193
|
+
--ui-datepicker-day-color-outside: var(--global-text-default);
|
|
194
|
+
--ui-datepicker-range-background: var(--informative-highlightlow-surface-hover);
|
|
195
|
+
--ui-datepicker-range-color: var(--informative-highlightlow-content-default);
|
|
179
196
|
// Divers
|
|
180
197
|
--ui-datepicker-day-opacity-disabled: 0.45;
|
|
181
198
|
--ui-datepicker-day-opacity-outside: 0.6;
|
|
182
199
|
--ui-datepicker-panel-shadow: var(--ui-overlay-panel-shadow, var(--shadow-default-md));
|
|
183
200
|
|
|
201
|
+
// ── ui-editor ──
|
|
202
|
+
// Dimensions
|
|
203
|
+
--ui-editor-max-height: none;
|
|
204
|
+
--ui-editor-select-width: 13ch;
|
|
205
|
+
--ui-editor-separator-height: var(--size-typography-text-default);
|
|
206
|
+
--ui-editor-separator-width: var(--stroke-sm);
|
|
207
|
+
--ui-editor-swatch-indicator-height: var(--stroke-lg);
|
|
208
|
+
// Espacements
|
|
209
|
+
--ui-editor-block-gap: var(--units-sm);
|
|
210
|
+
--ui-editor-code-padding-x: var(--units-md);
|
|
211
|
+
--ui-editor-code-padding-y: var(--units-sm);
|
|
212
|
+
--ui-editor-list-item-gap: var(--units-2xs);
|
|
213
|
+
--ui-editor-list-padding-inline-start: var(--units-xl);
|
|
214
|
+
--ui-editor-padding-x: var(--ui-form-field-padding-x, var(--units-md));
|
|
215
|
+
--ui-editor-padding-y: var(--ui-form-textarea-padding-y, var(--units-default));
|
|
216
|
+
--ui-editor-padding-y-small: var(--ui-form-textarea-padding-y-small, var(--units-md));
|
|
217
|
+
--ui-editor-swatch-indicator-offset-x: var(--units-2xs);
|
|
218
|
+
--ui-editor-toolbar-gap: var(--units-2xs);
|
|
219
|
+
--ui-editor-toolbar-padding-x: var(--units-xs);
|
|
220
|
+
--ui-editor-toolbar-padding-y: var(--units-2xs);
|
|
221
|
+
// Bordures & rayons
|
|
222
|
+
--ui-editor-code-radius: var(--radius-xs);
|
|
223
|
+
--ui-editor-radius: inherit;
|
|
224
|
+
--ui-editor-toolbar-stroke-width: var(--ui-control-stroke-width, var(--stroke-default));
|
|
225
|
+
// Typographie
|
|
226
|
+
--ui-editor-bold-weight: var(--weight-bold);
|
|
227
|
+
--ui-editor-code-font-size: var(--size-typography-text-md);
|
|
228
|
+
--ui-editor-count-font-size: var(--size-typography-text-md);
|
|
229
|
+
--ui-editor-count-font-size-small: var(--size-typography-text-sm);
|
|
230
|
+
--ui-editor-font-size: var(--size-typography-text-default);
|
|
231
|
+
--ui-editor-font-size-small: var(--size-typography-text-md);
|
|
232
|
+
--ui-editor-heading-1-font-size: var(--size-typography-title-lg);
|
|
233
|
+
--ui-editor-heading-2-font-size: var(--size-typography-title-md);
|
|
234
|
+
--ui-editor-heading-3-font-size: var(--size-typography-title-sm);
|
|
235
|
+
--ui-editor-heading-line-height: 1.25;
|
|
236
|
+
--ui-editor-heading-weight: var(--weight-bold);
|
|
237
|
+
--ui-editor-line-height: 1.5;
|
|
238
|
+
--ui-editor-size-default-font-size: var(--size-typography-text-default);
|
|
239
|
+
--ui-editor-size-lg-font-size: var(--size-typography-text-lg);
|
|
240
|
+
--ui-editor-size-sm-font-size: var(--size-typography-text-sm);
|
|
241
|
+
--ui-editor-size-xl-font-size: var(--size-typography-text-xl);
|
|
242
|
+
// Couleurs
|
|
243
|
+
--ui-editor-code-color: var(--global-text-default);
|
|
244
|
+
--ui-editor-code-surface: var(--global-background-muted);
|
|
245
|
+
--ui-editor-link-color: var(--global-text-brand);
|
|
246
|
+
--ui-editor-placeholder-color: var(--form-low-content-default);
|
|
247
|
+
--ui-editor-separator-color: var(--form-low-stroke-default);
|
|
248
|
+
--ui-editor-toolbar-stroke: var(--form-low-stroke-default);
|
|
249
|
+
--ui-editor-toolbar-surface: var(--global-background-muted);
|
|
250
|
+
// Divers
|
|
251
|
+
--ui-editor-link-text-decoration: underline;
|
|
252
|
+
|
|
184
253
|
// ── ui-field ──
|
|
185
254
|
// Dimensions
|
|
186
255
|
--ui-field-height: var(--ui-form-field-height, var(--size-components-default));
|
|
@@ -190,6 +259,11 @@
|
|
|
190
259
|
--ui-field-padding-y-auto-height: var(--units-xs);
|
|
191
260
|
// Espacements
|
|
192
261
|
--ui-field-box-gap: var(--ui-form-field-gap, var(--units-sm));
|
|
262
|
+
--ui-field-float-label-indent: calc(var(--ui-icon-size-md, var(--size-typography-icon-md)) + var(--ui-field-box-gap, var(--ui-form-field-gap, var(--units-sm))));
|
|
263
|
+
--ui-field-float-label-indent-small: calc(var(--ui-icon-size-sm, var(--size-typography-icon-sm)) + var(--ui-field-box-gap, var(--ui-form-field-gap, var(--units-sm))));
|
|
264
|
+
--ui-field-float-label-offset-x: var(--ui-form-field-padding-x, var(--units-md));
|
|
265
|
+
--ui-field-float-label-offset-y: var(--units-2xs);
|
|
266
|
+
--ui-field-float-label-padding-x: var(--units-2xs);
|
|
193
267
|
--ui-field-footer-gap: var(--units-sm);
|
|
194
268
|
--ui-field-gap: var(--units-xs);
|
|
195
269
|
--ui-field-gap-small: var(--units-xs);
|
|
@@ -197,6 +271,12 @@
|
|
|
197
271
|
--ui-field-focus-ring-width: var(--ui-focus-ring-width, var(--units-2xs));
|
|
198
272
|
--ui-field-radius: var(--ui-form-field-radius, var(--radius-sm));
|
|
199
273
|
--ui-field-stroke-width: var(--ui-control-stroke-width, var(--stroke-default));
|
|
274
|
+
// Typographie
|
|
275
|
+
--ui-field-float-label-font-size: var(--size-typography-text-sm);
|
|
276
|
+
--ui-field-float-label-line-height: 1.25;
|
|
277
|
+
// Motion
|
|
278
|
+
--ui-field-float-label-scale: 1.3333;
|
|
279
|
+
--ui-field-float-label-scale-small: 1.1667;
|
|
200
280
|
// Divers
|
|
201
281
|
--ui-field-box-cursor: text;
|
|
202
282
|
--ui-field-focus-ring-opacity: 50%;
|
|
@@ -347,6 +427,19 @@
|
|
|
347
427
|
--ui-input-tags-group-font-size: var(--size-typography-text-md);
|
|
348
428
|
--ui-input-tags-tag-font-size: var(--size-typography-text-md);
|
|
349
429
|
|
|
430
|
+
// ── ui-knob ──
|
|
431
|
+
// Dimensions
|
|
432
|
+
--ui-knob-size: 6.25rem;
|
|
433
|
+
--ui-knob-size-large: 8.75rem;
|
|
434
|
+
--ui-knob-size-small: 4.375rem;
|
|
435
|
+
// Bordures & rayons
|
|
436
|
+
--ui-knob-focus-ring-width: var(--ui-focus-ring-width, var(--units-2xs));
|
|
437
|
+
--ui-knob-radius: var(--radius-full);
|
|
438
|
+
// Typographie
|
|
439
|
+
--ui-knob-font-size: var(--size-typography-title-md);
|
|
440
|
+
--ui-knob-font-size-large: var(--size-typography-title-default);
|
|
441
|
+
--ui-knob-font-size-small: var(--size-typography-text-lg);
|
|
442
|
+
|
|
350
443
|
// ── ui-label ──
|
|
351
444
|
// Espacements
|
|
352
445
|
--ui-label-gap: var(--units-xs);
|
|
@@ -468,6 +561,20 @@
|
|
|
468
561
|
--ui-slider-mark-radius: var(--radius-full);
|
|
469
562
|
--ui-slider-track-radius: var(--radius-full);
|
|
470
563
|
|
|
564
|
+
// ── ui-swatch-picker ──
|
|
565
|
+
// Dimensions
|
|
566
|
+
--ui-swatch-picker-cell-size: 2rem;
|
|
567
|
+
--ui-swatch-picker-cell-size-small: 1.5rem;
|
|
568
|
+
--ui-swatch-picker-selected-ring-width: var(--stroke-lg);
|
|
569
|
+
// Espacements
|
|
570
|
+
--ui-swatch-picker-gap: var(--units-xs);
|
|
571
|
+
--ui-swatch-picker-gap-small: var(--units-2xs);
|
|
572
|
+
--ui-swatch-picker-panel-padding: var(--ui-overlay-panel-padding, var(--units-sm));
|
|
573
|
+
// Bordures & rayons
|
|
574
|
+
--ui-swatch-picker-focus-ring-width: var(--ui-focus-ring-width, var(--units-2xs));
|
|
575
|
+
--ui-swatch-picker-stroke-width: var(--ui-control-stroke-width, var(--stroke-default));
|
|
576
|
+
--ui-swatch-picker-swatch-radius: var(--radius-xs);
|
|
577
|
+
|
|
471
578
|
// ── ui-textarea ──
|
|
472
579
|
// Dimensions
|
|
473
580
|
--ui-textarea-min-height: var(--ui-form-textarea-min-height, var(--size-components-sm));
|
|
@@ -506,6 +613,27 @@
|
|
|
506
613
|
--ui-toggle-font-size: var(--size-typography-text-default);
|
|
507
614
|
--ui-toggle-font-size-small: var(--size-typography-text-md);
|
|
508
615
|
|
|
616
|
+
// ── ui-toggle-button ──
|
|
617
|
+
// Dimensions
|
|
618
|
+
--ui-toggle-button-height: var(--size-components-default);
|
|
619
|
+
--ui-toggle-button-height-large: var(--size-components-lg);
|
|
620
|
+
--ui-toggle-button-height-small: var(--size-components-sm);
|
|
621
|
+
// Espacements
|
|
622
|
+
--ui-toggle-button-gap: var(--units-sm);
|
|
623
|
+
--ui-toggle-button-group-gap: var(--units-sm);
|
|
624
|
+
--ui-toggle-button-padding-x: var(--units-default);
|
|
625
|
+
--ui-toggle-button-padding-x-large: var(--units-lg);
|
|
626
|
+
--ui-toggle-button-padding-x-small: var(--units-md);
|
|
627
|
+
// Bordures & rayons
|
|
628
|
+
--ui-toggle-button-focus-ring-width: var(--ui-focus-ring-width, var(--units-2xs));
|
|
629
|
+
--ui-toggle-button-radius: var(--radius-sm);
|
|
630
|
+
--ui-toggle-button-radius-rounded: var(--radius-full);
|
|
631
|
+
--ui-toggle-button-stroke-width: var(--ui-control-stroke-width, var(--stroke-default));
|
|
632
|
+
// Typographie
|
|
633
|
+
--ui-toggle-button-font-size: var(--size-typography-text-default);
|
|
634
|
+
--ui-toggle-button-font-size-large: var(--size-typography-text-lg);
|
|
635
|
+
--ui-toggle-button-font-size-small: var(--size-typography-text-md);
|
|
636
|
+
|
|
509
637
|
// ══════════════════════════════════════════════════════════════════
|
|
510
638
|
// Informatif
|
|
511
639
|
// ══════════════════════════════════════════════════════════════════
|
|
@@ -796,6 +924,51 @@
|
|
|
796
924
|
// Navigation
|
|
797
925
|
// ══════════════════════════════════════════════════════════════════
|
|
798
926
|
|
|
927
|
+
// ── ui-bottom-tab ──
|
|
928
|
+
// Dimensions
|
|
929
|
+
--ui-bottom-tab-bar-icon-size: var(--size-typography-icon-default);
|
|
930
|
+
--ui-bottom-tab-bar-item-min-height: 3.5rem;
|
|
931
|
+
// Espacements
|
|
932
|
+
--ui-bottom-tab-bar-adornment-offset: -0.375rem;
|
|
933
|
+
--ui-bottom-tab-bar-item-gap: var(--units-sm);
|
|
934
|
+
--ui-bottom-tab-bar-item-padding-x: var(--units-xs);
|
|
935
|
+
--ui-bottom-tab-bar-item-padding-y: var(--units-md);
|
|
936
|
+
// Bordures & rayons
|
|
937
|
+
--ui-bottom-tab-bar-item-focus-ring-width: var(--ui-focus-ring-width, var(--units-2xs));
|
|
938
|
+
--ui-bottom-tab-bar-item-radius: 0;
|
|
939
|
+
// Typographie
|
|
940
|
+
--ui-bottom-tab-bar-label-font-size: var(--size-typography-text-sm);
|
|
941
|
+
--ui-bottom-tab-bar-label-weight: var(--weight-regular);
|
|
942
|
+
|
|
943
|
+
// ── ui-bottom-tab-action ──
|
|
944
|
+
// Dimensions
|
|
945
|
+
--ui-bottom-tab-bar-action-icon-size: var(--size-typography-icon-xl);
|
|
946
|
+
--ui-bottom-tab-bar-action-size: 4rem;
|
|
947
|
+
// Espacements
|
|
948
|
+
--ui-bottom-tab-bar-action-gap: var(--units-2xs);
|
|
949
|
+
--ui-bottom-tab-bar-action-offset-y: 1.25rem;
|
|
950
|
+
// Bordures & rayons
|
|
951
|
+
--ui-bottom-tab-bar-action-focus-ring-width: var(--ui-focus-ring-width, var(--units-2xs));
|
|
952
|
+
--ui-bottom-tab-bar-action-radius: var(--radius-full);
|
|
953
|
+
// Divers
|
|
954
|
+
--ui-bottom-tab-bar-action-shadow: var(--shadow-default-md);
|
|
955
|
+
|
|
956
|
+
// ── ui-bottom-tab-bar ──
|
|
957
|
+
// Dimensions
|
|
958
|
+
--ui-bottom-tab-bar-min-height: 3.5rem;
|
|
959
|
+
// Espacements
|
|
960
|
+
--ui-bottom-tab-bar-gap: 0;
|
|
961
|
+
--ui-bottom-tab-bar-padding-x: 0;
|
|
962
|
+
--ui-bottom-tab-bar-safe-area-offset: env(safe-area-inset-bottom, 0px);
|
|
963
|
+
// Bordures & rayons
|
|
964
|
+
--ui-bottom-tab-bar-stroke-width: var(--stroke-sm);
|
|
965
|
+
// Couleurs
|
|
966
|
+
--ui-bottom-tab-bar-stroke: var(--global-border-default);
|
|
967
|
+
--ui-bottom-tab-bar-surface: var(--global-background-default);
|
|
968
|
+
// Divers
|
|
969
|
+
--ui-bottom-tab-bar-shadow: none;
|
|
970
|
+
--ui-bottom-tab-bar-z-index: 100;
|
|
971
|
+
|
|
799
972
|
// ── ui-breadcrumb ──
|
|
800
973
|
// Espacements
|
|
801
974
|
--ui-breadcrumb-content-gap: var(--units-sm);
|
|
@@ -907,6 +1080,8 @@
|
|
|
907
1080
|
--ui-form-control-gap: var(--units-sm);
|
|
908
1081
|
--ui-form-field-gap: var(--units-sm);
|
|
909
1082
|
--ui-form-field-padding-x: var(--units-md);
|
|
1083
|
+
--ui-form-textarea-padding-y: var(--units-default);
|
|
1084
|
+
--ui-form-textarea-padding-y-small: var(--units-md);
|
|
910
1085
|
--ui-overlay-panel-padding: var(--units-sm);
|
|
911
1086
|
// Bordures & rayons
|
|
912
1087
|
--ui-avatar-square-radius: var(--radius-md);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by Style Dictionary
|
|
1
|
+
/* Generated by Style Dictionary : do not edit (run the `tokens:build` script, config in tokens.config.json). */
|
|
2
2
|
|
|
3
3
|
$breakpoint-phone: 0;
|
|
4
4
|
$breakpoint-tabletPortrait: 600px;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by Style Dictionary
|
|
1
|
+
/* Generated by Style Dictionary : do not edit (run the `tokens:build` script, config in tokens.config.json). */
|
|
2
2
|
|
|
3
3
|
:root {
|
|
4
4
|
--primitives-switchbrand-name: Brand 1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by Style Dictionary
|
|
1
|
+
/* Generated by Style Dictionary : do not edit (run the `tokens:build` script, config in tokens.config.json). */
|
|
2
2
|
|
|
3
3
|
:root {
|
|
4
4
|
--screen-width: 402px;
|
|
@@ -31,16 +31,16 @@
|
|
|
31
31
|
--size-typography-icon-lg: 24px;
|
|
32
32
|
--size-typography-icon-xl: 32px;
|
|
33
33
|
}
|
|
34
|
-
@media (min-width:
|
|
34
|
+
@media (min-width: 1024px) {
|
|
35
35
|
:root {
|
|
36
|
-
--screen-width:
|
|
37
|
-
--screen-height:
|
|
38
|
-
--spacing-default: var(--units-
|
|
39
|
-
--grid-columns:
|
|
36
|
+
--screen-width: 1024px;
|
|
37
|
+
--screen-height: 1366px;
|
|
38
|
+
--spacing-default: var(--units-md);
|
|
39
|
+
--grid-columns: 8;
|
|
40
40
|
--size-components-2xs: 24px;
|
|
41
|
-
--size-components-xs:
|
|
42
|
-
--size-components-sm:
|
|
43
|
-
--size-components-default:
|
|
41
|
+
--size-components-xs: 30px;
|
|
42
|
+
--size-components-sm: 36px;
|
|
43
|
+
--size-components-default: 40px;
|
|
44
44
|
--size-components-lg: 44px;
|
|
45
45
|
--size-components-xl: 48px;
|
|
46
46
|
--size-typography-title-sm: 16px;
|
|
@@ -64,16 +64,16 @@
|
|
|
64
64
|
--size-typography-icon-xl: 32px;
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
|
-
@media (min-width:
|
|
67
|
+
@media (min-width: 1440px) {
|
|
68
68
|
:root {
|
|
69
|
-
--screen-width:
|
|
70
|
-
--screen-height:
|
|
71
|
-
--spacing-default: var(--units-
|
|
72
|
-
--grid-columns:
|
|
69
|
+
--screen-width: 1440px;
|
|
70
|
+
--screen-height: 1024px;
|
|
71
|
+
--spacing-default: var(--units-default);
|
|
72
|
+
--grid-columns: 12;
|
|
73
73
|
--size-components-2xs: 24px;
|
|
74
|
-
--size-components-xs:
|
|
75
|
-
--size-components-sm:
|
|
76
|
-
--size-components-default:
|
|
74
|
+
--size-components-xs: 28px;
|
|
75
|
+
--size-components-sm: 32px;
|
|
76
|
+
--size-components-default: 36px;
|
|
77
77
|
--size-components-lg: 44px;
|
|
78
78
|
--size-components-xl: 48px;
|
|
79
79
|
--size-typography-title-sm: 16px;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by Style Dictionary
|
|
1
|
+
/* Generated by Style Dictionary : do not edit (run the `tokens:build` script, config in tokens.config.json). */
|
|
2
2
|
|
|
3
3
|
:root, [data-theme='light'], .light {
|
|
4
4
|
--global-background-default: var(--primitives-grey-50);
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
--actions-highghost-stroke-focused: var(--primitives-primary-700);
|
|
61
61
|
--actions-highghost-stroke-pressed: var(--primitives-transparent-base);
|
|
62
62
|
--actions-highghost-stroke-disabled: var(--primitives-transparent-base);
|
|
63
|
-
--actions-low-content-default: var(--primitives-slate-
|
|
64
|
-
--actions-low-content-hover: var(--primitives-slate-
|
|
63
|
+
--actions-low-content-default: var(--primitives-slate-600);
|
|
64
|
+
--actions-low-content-hover: var(--primitives-slate-700);
|
|
65
65
|
--actions-low-content-focused: var(--primitives-slate-800);
|
|
66
66
|
--actions-low-content-pressed: var(--primitives-slate-800);
|
|
67
67
|
--actions-low-content-disabled: var(--primitives-slate-300);
|
|
@@ -110,8 +110,8 @@
|
|
|
110
110
|
--actions-success-content-focused: var(--primitives-white-base);
|
|
111
111
|
--actions-success-content-pressed: var(--primitives-white-base);
|
|
112
112
|
--actions-success-content-disabled: var(--primitives-white-base);
|
|
113
|
-
--actions-success-surface-default: var(--primitives-green-
|
|
114
|
-
--actions-success-surface-hover: var(--primitives-green-
|
|
113
|
+
--actions-success-surface-default: var(--primitives-green-700);
|
|
114
|
+
--actions-success-surface-hover: var(--primitives-green-800);
|
|
115
115
|
--actions-success-surface-focused: var(--primitives-green-800);
|
|
116
116
|
--actions-success-surface-pressed: var(--primitives-green-900);
|
|
117
117
|
--actions-success-surface-disabled: var(--primitives-green-200);
|
|
@@ -155,8 +155,8 @@
|
|
|
155
155
|
--actions-warning-content-focused: var(--primitives-white-base);
|
|
156
156
|
--actions-warning-content-pressed: var(--primitives-white-base);
|
|
157
157
|
--actions-warning-content-disabled: var(--primitives-white-base);
|
|
158
|
-
--actions-warning-surface-default: var(--primitives-orange-
|
|
159
|
-
--actions-warning-surface-hover: var(--primitives-orange-
|
|
158
|
+
--actions-warning-surface-default: var(--primitives-orange-700);
|
|
159
|
+
--actions-warning-surface-hover: var(--primitives-orange-800);
|
|
160
160
|
--actions-warning-surface-focused: var(--primitives-orange-800);
|
|
161
161
|
--actions-warning-surface-pressed: var(--primitives-orange-900);
|
|
162
162
|
--actions-warning-surface-disabled: var(--primitives-orange-200);
|
|
@@ -200,7 +200,7 @@
|
|
|
200
200
|
--actions-error-content-focused: var(--primitives-white-base);
|
|
201
201
|
--actions-error-content-pressed: var(--primitives-white-base);
|
|
202
202
|
--actions-error-content-disabled: var(--primitives-white-base);
|
|
203
|
-
--actions-error-surface-default: var(--primitives-red-
|
|
203
|
+
--actions-error-surface-default: var(--primitives-red-600);
|
|
204
204
|
--actions-error-surface-hover: var(--primitives-red-700);
|
|
205
205
|
--actions-error-surface-focused: var(--primitives-red-800);
|
|
206
206
|
--actions-error-surface-pressed: var(--primitives-red-900);
|
|
@@ -536,8 +536,8 @@
|
|
|
536
536
|
--informative-highlightlow-stroke-hover: var(--primitives-primary-700);
|
|
537
537
|
--informative-successhigh-content-default: var(--primitives-white-base);
|
|
538
538
|
--informative-successhigh-content-hover: var(--primitives-white-base);
|
|
539
|
-
--informative-successhigh-surface-default: var(--primitives-green-
|
|
540
|
-
--informative-successhigh-surface-hover: var(--primitives-green-
|
|
539
|
+
--informative-successhigh-surface-default: var(--primitives-green-700);
|
|
540
|
+
--informative-successhigh-surface-hover: var(--primitives-green-800);
|
|
541
541
|
--informative-successhigh-stroke-default: var(--primitives-green-500);
|
|
542
542
|
--informative-successhigh-stroke-hover: var(--primitives-green-700);
|
|
543
543
|
--informative-successlow-content-default: var(--primitives-green-700);
|
|
@@ -548,8 +548,8 @@
|
|
|
548
548
|
--informative-successlow-stroke-hover: var(--primitives-green-700);
|
|
549
549
|
--informative-warninghigh-content-default: var(--primitives-white-base);
|
|
550
550
|
--informative-warninghigh-content-hover: var(--primitives-white-base);
|
|
551
|
-
--informative-warninghigh-surface-default: var(--primitives-orange-
|
|
552
|
-
--informative-warninghigh-surface-hover: var(--primitives-orange-
|
|
551
|
+
--informative-warninghigh-surface-default: var(--primitives-orange-700);
|
|
552
|
+
--informative-warninghigh-surface-hover: var(--primitives-orange-800);
|
|
553
553
|
--informative-warninghigh-stroke-default: var(--primitives-orange-500);
|
|
554
554
|
--informative-warninghigh-stroke-hover: var(--primitives-orange-700);
|
|
555
555
|
--informative-warninglow-content-default: var(--primitives-orange-700);
|
|
@@ -560,7 +560,7 @@
|
|
|
560
560
|
--informative-warninglow-stroke-hover: var(--primitives-orange-700);
|
|
561
561
|
--informative-errorhigh-content-default: var(--primitives-white-base);
|
|
562
562
|
--informative-errorhigh-content-hover: var(--primitives-white-base);
|
|
563
|
-
--informative-errorhigh-surface-default: var(--primitives-red-
|
|
563
|
+
--informative-errorhigh-surface-default: var(--primitives-red-600);
|
|
564
564
|
--informative-errorhigh-surface-hover: var(--primitives-red-700);
|
|
565
565
|
--informative-errorhigh-stroke-default: var(--primitives-red-500);
|
|
566
566
|
--informative-errorhigh-stroke-hover: var(--primitives-red-600);
|
|
@@ -589,10 +589,10 @@
|
|
|
589
589
|
--navigation-high-stroke-active: var(--primitives-primary-500);
|
|
590
590
|
--navigation-high-stroke-disabled: var(--primitives-grey-500);
|
|
591
591
|
--navigation-highoutlined-content-default: var(--primitives-grey-900);
|
|
592
|
-
--navigation-highoutlined-content-hover: var(--primitives-primary-
|
|
592
|
+
--navigation-highoutlined-content-hover: var(--primitives-primary-600);
|
|
593
593
|
--navigation-highoutlined-content-focused: var(--primitives-primary-700);
|
|
594
594
|
--navigation-highoutlined-content-pressed: var(--primitives-primary-700);
|
|
595
|
-
--navigation-highoutlined-content-active: var(--primitives-primary-
|
|
595
|
+
--navigation-highoutlined-content-active: var(--primitives-primary-600);
|
|
596
596
|
--navigation-highoutlined-content-disabled: var(--primitives-grey-500);
|
|
597
597
|
--navigation-highoutlined-surface-default: var(--primitives-transparent-base);
|
|
598
598
|
--navigation-highoutlined-surface-hover: var(--primitives-primary-100);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by Style Dictionary
|
|
1
|
+
/* Generated by Style Dictionary : do not edit (run the `tokens:build` script, config in tokens.config.json). */
|
|
2
2
|
|
|
3
3
|
:root {
|
|
4
4
|
--shadow-default-sm: 0px 0px 2px 1px var(--effects-default);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by Style Dictionary
|
|
1
|
+
/* Generated by Style Dictionary : do not edit (run the `tokens:build` script, config in tokens.config.json). */
|
|
2
2
|
|
|
3
3
|
:root {
|
|
4
4
|
--fontfamily-title: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by Style Dictionary
|
|
1
|
+
/* Generated by Style Dictionary : do not edit (run the `tokens:build` script, config in tokens.config.json). */
|
|
2
2
|
|
|
3
3
|
@use './tokens-metrics';
|
|
4
4
|
@use './tokens-primitives';
|
package/styles/index.scss
CHANGED
|
@@ -32,6 +32,15 @@ $motion-easing-leave: var(--transition-easein); /// Courbe accélérée (d
|
|
|
32
32
|
$motion-distance: 0.5rem; /// Distance du glissement des presets `slide`.
|
|
33
33
|
$motion-scale: 0.96; /// Échelle de départ / d’arrivée des presets `zoom`.
|
|
34
34
|
|
|
35
|
+
// --- Global : ripple ---------------------------------------------------
|
|
36
|
+
// Appearance of the press wave (base/_ripple.scss). Not hooked here: the
|
|
37
|
+
// `--ui-ripple-*` custom properties already expose colour, opacity, duration,
|
|
38
|
+
// easing and scale per instance, and they inherit down the cascade.
|
|
39
|
+
$ripple-opacity: 0.34; /// Opacité de départ de l'onde.
|
|
40
|
+
$ripple-duration: var(--transition-slow); /// Durée d'expansion de l'onde.
|
|
41
|
+
$ripple-easing: var(--transition-easeout); /// Courbe de l'onde (décélérée).
|
|
42
|
+
$ripple-scale: 1; /// Échelle finale de l'onde (1 = couvre l'élément).
|
|
43
|
+
|
|
35
44
|
// --- Global : overlay panels ------------------------------------------
|
|
36
45
|
// `--ui-overlay-*` (utils/_overlay.scss) retunes ONE panel; these set the default
|
|
37
46
|
// for all of them.
|