@devexpress/design-tokens-internal 262.2.1 → 262.4.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/package.json +1 -1
- package/tokens/components/README.md +11 -9
- package/tokens/components/blazor/size/fluent_large.json +2 -2
- package/tokens/components/blazor/size/fluent_medium.json +2 -2
- package/tokens/components/blazor/size/fluent_small.json +2 -2
- package/tokens/components/core/size/fluent_large.json +397 -207
- package/tokens/components/core/size/fluent_medium.json +397 -207
- package/tokens/components/core/size/fluent_small.json +397 -207
- package/tokens/components/core/size/material_medium.json +397 -207
- package/tokens/components/core/theme/fluent.json +117 -64
- package/tokens/components/core/theme/material.json +117 -64
- package/tokens/components/wpf/accordion/fluent.json +32 -27
- package/tokens/components/wpf/button-group/fluent.json +6 -6
- package/tokens/components/wpf/card-view/fluent.json +77 -72
- package/tokens/components/wpf/datapager/fluent.json +18 -18
- package/tokens/components/wpf/docking/fluent.json +18 -22
- package/tokens/components/wpf/filter-edit/fluent.json +52 -36
- package/tokens/components/wpf/gallery/fluent.json +28 -33
- package/tokens/components/wpf/grid/fluent.json +93 -111
- package/tokens/components/wpf/groupbox/fluent.json +66 -62
- package/tokens/components/wpf/listbox-edit/fluent.json +87 -87
- package/tokens/components/wpf/pagercontrol/fluent.json +48 -47
- package/tokens/components/wpf/progress-bar/fluent.json +117 -94
- package/tokens/components/wpf/ribbon/fluent.json +30 -30
- package/tokens/components/wpf/size/fluent_medium.json +2962 -0
- package/tokens/components/wpf/size/fluent_small.json +2962 -0
- package/tokens/components/wpf/text-content/fluent.json +22 -0
- package/tokens/components/wpf/theme/fluent.json +2623 -0
- package/tokens/components/wpf/themed-window/fluent.json +81 -81
- package/tokens/components/wpf/treeview/fluent.json +31 -30
- package/tokens.flat.json +916 -723
- package/tokens/components/wpf/badge/fluent.json +0 -126
- package/tokens/components/wpf/bars/fluent.json +0 -3006
- package/tokens/components/wpf/button/fluent.json +0 -598
- package/tokens/components/wpf/button-edit/fluent.json +0 -612
- package/tokens/components/wpf/button-text/fluent.json +0 -188
- package/tokens/components/wpf/checkedit/fluent.json +0 -58
- package/tokens/components/wpf/compact-icon-button/fluent.json +0 -190
- package/tokens/components/wpf/popup/fluent.json +0 -208
- package/tokens/components/wpf/radio-button/fluent.json +0 -72
- package/tokens/components/wpf/scroll-bar/fluent.json +0 -224
- package/tokens/components/wpf/scroll-view/fluent.json +0 -129
- package/tokens/components/wpf/separator/fluent.json +0 -40
- package/tokens/components/wpf/split-button/fluent.json +0 -54
- package/tokens/components/wpf/standard-groupbox/fluent.json +0 -362
- package/tokens/components/wpf/text-edit/fluent.json +0 -338
- package/tokens/components/wpf/toggle-switch/fluent.json +0 -588
- package/tokens/components/wpf/wait-indicator/fluent.json +0 -243
- /package/tokens/base/colors/icons/{blazor-default → blazor_classic}/dark.json +0 -0
- /package/tokens/base/colors/icons/{blazor-default → blazor_classic}/light.json +0 -0
- /package/tokens/base/colors/icons/{dx-desktop → desktop_classic}/dark.json +0 -0
- /package/tokens/base/colors/icons/{dx-desktop → desktop_classic}/light.json +0 -0
package/package.json
CHANGED
|
@@ -7,17 +7,19 @@ Design tokens for individual UI components, exported from Figma and stored in W3
|
|
|
7
7
|
```
|
|
8
8
|
tokens/components/
|
|
9
9
|
├── core/ ← platform-agnostic tokens (direct export from Figma)
|
|
10
|
-
│
|
|
11
|
-
│
|
|
12
|
-
|
|
13
|
-
│
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
│ ├── size/ ← size-mode-dependent tokens, one file per theme × size
|
|
11
|
+
│ │ └── fluent_small.json, fluent_medium.json, fluent_large.json, material_medium.json
|
|
12
|
+
│ └── theme/ ← size-independent tokens, one file per theme
|
|
13
|
+
│ └── fluent.json, material.json
|
|
14
|
+
├── blazor/ ← web-specific overrides and extensions (same size/ + theme/ structure)
|
|
15
|
+
│ ├── size/
|
|
16
|
+
│ └── theme/
|
|
17
|
+
└── wpf/ ← desktop-specific overrides (legacy per-component structure)
|
|
16
18
|
└── <component>/
|
|
17
19
|
└── fluent.json
|
|
18
20
|
```
|
|
19
21
|
|
|
20
|
-
|
|
22
|
+
`core/` and `blazor/` use the **`size/` + `theme/`** structure: `size/` holds tokens whose values depend on the size mode (`small` / `medium` / `large`), `theme/` holds everything else. Available themes are **`fluent`** and **`material`**. `wpf/` still uses the legacy per-component structure with one `fluent.json` per component, until the WPF team switches (see [stability zones](../../docs/stability.md)).
|
|
21
23
|
|
|
22
24
|
---
|
|
23
25
|
|
|
@@ -25,7 +27,7 @@ Each component folder contains one file per theme. Currently the only theme is *
|
|
|
25
27
|
|
|
26
28
|
### `core/` — Source of truth
|
|
27
29
|
|
|
28
|
-
Tokens exported directly from the Figma design file.
|
|
30
|
+
Tokens exported directly from the Figma design file. The `size/` and `theme/` subfolders correspond 1:1 to the shared Figma variable collections (Sizing and Theme). These tokens are **platform-agnostic** — they define the visual anatomy of a component (spacing, colors, border-radius, typography) using semantic token aliases. They do **not** contain raw values.
|
|
29
31
|
|
|
30
32
|
### `blazor/` — Blazor overrides
|
|
31
33
|
|
|
@@ -33,7 +35,7 @@ Additions or overrides specific to the web platform (React, Angular, Vue, Blazor
|
|
|
33
35
|
|
|
34
36
|
### `wpf/` — WPF overrides
|
|
35
37
|
|
|
36
|
-
Additions or overrides specific to desktop platforms (WinForms, WPF, Blazor Desktop). Same
|
|
38
|
+
Additions or overrides specific to desktop platforms (WinForms, WPF, Blazor Desktop). Same role as `blazor/`, but still organized per component (`<component>/fluent.json`) — this structure is consumed by the WPF XAML generator.
|
|
37
39
|
|
|
38
40
|
---
|
|
39
41
|
|
|
@@ -408,7 +408,7 @@
|
|
|
408
408
|
"$value": "{spacing.30}"
|
|
409
409
|
}
|
|
410
410
|
},
|
|
411
|
-
"
|
|
411
|
+
"outer-box": {
|
|
412
412
|
"gap": {
|
|
413
413
|
"vertical": {
|
|
414
414
|
"$extensions": {
|
|
@@ -885,7 +885,7 @@
|
|
|
885
885
|
"menu": {
|
|
886
886
|
"button": {
|
|
887
887
|
"layout": {
|
|
888
|
-
"
|
|
888
|
+
"outer-box": {
|
|
889
889
|
"horizontal": {
|
|
890
890
|
"$extensions": {
|
|
891
891
|
"com.figma.scopes": [
|
|
@@ -408,7 +408,7 @@
|
|
|
408
408
|
"$value": "{spacing.20}"
|
|
409
409
|
}
|
|
410
410
|
},
|
|
411
|
-
"
|
|
411
|
+
"outer-box": {
|
|
412
412
|
"gap": {
|
|
413
413
|
"vertical": {
|
|
414
414
|
"$extensions": {
|
|
@@ -885,7 +885,7 @@
|
|
|
885
885
|
"menu": {
|
|
886
886
|
"button": {
|
|
887
887
|
"layout": {
|
|
888
|
-
"
|
|
888
|
+
"outer-box": {
|
|
889
889
|
"horizontal": {
|
|
890
890
|
"$extensions": {
|
|
891
891
|
"com.figma.scopes": [
|
|
@@ -408,7 +408,7 @@
|
|
|
408
408
|
"$value": "{spacing.20}"
|
|
409
409
|
}
|
|
410
410
|
},
|
|
411
|
-
"
|
|
411
|
+
"outer-box": {
|
|
412
412
|
"gap": {
|
|
413
413
|
"vertical": {
|
|
414
414
|
"$extensions": {
|
|
@@ -885,7 +885,7 @@
|
|
|
885
885
|
"menu": {
|
|
886
886
|
"button": {
|
|
887
887
|
"layout": {
|
|
888
|
-
"
|
|
888
|
+
"outer-box": {
|
|
889
889
|
"horizontal": {
|
|
890
890
|
"$extensions": {
|
|
891
891
|
"com.figma.scopes": [
|