@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.
Files changed (52) hide show
  1. package/package.json +1 -1
  2. package/tokens/components/README.md +11 -9
  3. package/tokens/components/blazor/size/fluent_large.json +2 -2
  4. package/tokens/components/blazor/size/fluent_medium.json +2 -2
  5. package/tokens/components/blazor/size/fluent_small.json +2 -2
  6. package/tokens/components/core/size/fluent_large.json +397 -207
  7. package/tokens/components/core/size/fluent_medium.json +397 -207
  8. package/tokens/components/core/size/fluent_small.json +397 -207
  9. package/tokens/components/core/size/material_medium.json +397 -207
  10. package/tokens/components/core/theme/fluent.json +117 -64
  11. package/tokens/components/core/theme/material.json +117 -64
  12. package/tokens/components/wpf/accordion/fluent.json +32 -27
  13. package/tokens/components/wpf/button-group/fluent.json +6 -6
  14. package/tokens/components/wpf/card-view/fluent.json +77 -72
  15. package/tokens/components/wpf/datapager/fluent.json +18 -18
  16. package/tokens/components/wpf/docking/fluent.json +18 -22
  17. package/tokens/components/wpf/filter-edit/fluent.json +52 -36
  18. package/tokens/components/wpf/gallery/fluent.json +28 -33
  19. package/tokens/components/wpf/grid/fluent.json +93 -111
  20. package/tokens/components/wpf/groupbox/fluent.json +66 -62
  21. package/tokens/components/wpf/listbox-edit/fluent.json +87 -87
  22. package/tokens/components/wpf/pagercontrol/fluent.json +48 -47
  23. package/tokens/components/wpf/progress-bar/fluent.json +117 -94
  24. package/tokens/components/wpf/ribbon/fluent.json +30 -30
  25. package/tokens/components/wpf/size/fluent_medium.json +2962 -0
  26. package/tokens/components/wpf/size/fluent_small.json +2962 -0
  27. package/tokens/components/wpf/text-content/fluent.json +22 -0
  28. package/tokens/components/wpf/theme/fluent.json +2623 -0
  29. package/tokens/components/wpf/themed-window/fluent.json +81 -81
  30. package/tokens/components/wpf/treeview/fluent.json +31 -30
  31. package/tokens.flat.json +916 -723
  32. package/tokens/components/wpf/badge/fluent.json +0 -126
  33. package/tokens/components/wpf/bars/fluent.json +0 -3006
  34. package/tokens/components/wpf/button/fluent.json +0 -598
  35. package/tokens/components/wpf/button-edit/fluent.json +0 -612
  36. package/tokens/components/wpf/button-text/fluent.json +0 -188
  37. package/tokens/components/wpf/checkedit/fluent.json +0 -58
  38. package/tokens/components/wpf/compact-icon-button/fluent.json +0 -190
  39. package/tokens/components/wpf/popup/fluent.json +0 -208
  40. package/tokens/components/wpf/radio-button/fluent.json +0 -72
  41. package/tokens/components/wpf/scroll-bar/fluent.json +0 -224
  42. package/tokens/components/wpf/scroll-view/fluent.json +0 -129
  43. package/tokens/components/wpf/separator/fluent.json +0 -40
  44. package/tokens/components/wpf/split-button/fluent.json +0 -54
  45. package/tokens/components/wpf/standard-groupbox/fluent.json +0 -362
  46. package/tokens/components/wpf/text-edit/fluent.json +0 -338
  47. package/tokens/components/wpf/toggle-switch/fluent.json +0 -588
  48. package/tokens/components/wpf/wait-indicator/fluent.json +0 -243
  49. /package/tokens/base/colors/icons/{blazor-default → blazor_classic}/dark.json +0 -0
  50. /package/tokens/base/colors/icons/{blazor-default → blazor_classic}/light.json +0 -0
  51. /package/tokens/base/colors/icons/{dx-desktop → desktop_classic}/dark.json +0 -0
  52. /package/tokens/base/colors/icons/{dx-desktop → desktop_classic}/light.json +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devexpress/design-tokens-internal",
3
- "version": "262.2.1",
3
+ "version": "262.4.0",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "",
@@ -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
- │ └── <component>/
11
- │ └── fluent.json
12
- ├── blazor/ ← web-specific overrides and extensions
13
- │ └── <component>/
14
- │ └── fluent.json
15
- └── wpf/ ← desktop-specific overrides and extensions
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
- Each component folder contains one file per theme. Currently the only theme is **`fluent`**.
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. Each subfolder corresponds 1:1 to a Figma variable collection. 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.
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 pattern as `blazor/`.
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
- "outter-box": {
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
- "outter-box": {
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
- "outter-box": {
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
- "outter-box": {
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
- "outter-box": {
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
- "outter-box": {
888
+ "outer-box": {
889
889
  "horizontal": {
890
890
  "$extensions": {
891
891
  "com.figma.scopes": [