@devexpress/design-tokens-internal 262.3.0 → 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 (45) hide show
  1. package/package.json +1 -1
  2. package/tokens/components/README.md +11 -9
  3. package/tokens/components/core/size/fluent_large.json +91 -93
  4. package/tokens/components/core/size/fluent_medium.json +91 -93
  5. package/tokens/components/core/size/fluent_small.json +91 -93
  6. package/tokens/components/core/size/material_medium.json +91 -93
  7. package/tokens/components/core/theme/fluent.json +35 -37
  8. package/tokens/components/core/theme/material.json +35 -37
  9. package/tokens/components/wpf/button-group/fluent.json +6 -6
  10. package/tokens/components/wpf/card-view/fluent.json +55 -55
  11. package/tokens/components/wpf/datapager/fluent.json +18 -18
  12. package/tokens/components/wpf/docking/fluent.json +1 -1
  13. package/tokens/components/wpf/grid/fluent.json +79 -79
  14. package/tokens/components/wpf/groupbox/fluent.json +52 -52
  15. package/tokens/components/wpf/listbox-edit/fluent.json +75 -75
  16. package/tokens/components/wpf/pagercontrol/fluent.json +44 -44
  17. package/tokens/components/wpf/progress-bar/fluent.json +47 -47
  18. package/tokens/components/wpf/size/fluent_medium.json +2962 -0
  19. package/tokens/components/wpf/size/fluent_small.json +2962 -0
  20. package/tokens/components/wpf/text-content/fluent.json +3 -1
  21. package/tokens/components/wpf/theme/fluent.json +2623 -0
  22. package/tokens/components/wpf/themed-window/fluent.json +60 -60
  23. package/tokens/components/wpf/treeview/fluent.json +23 -23
  24. package/tokens.flat.json +778 -660
  25. package/tokens/components/wpf/badge/fluent.json +0 -126
  26. package/tokens/components/wpf/bars/fluent.json +0 -2998
  27. package/tokens/components/wpf/button/fluent.json +0 -598
  28. package/tokens/components/wpf/button-edit/fluent.json +0 -625
  29. package/tokens/components/wpf/button-text/fluent.json +0 -188
  30. package/tokens/components/wpf/checkedit/fluent.json +0 -58
  31. package/tokens/components/wpf/compact-icon-button/fluent.json +0 -190
  32. package/tokens/components/wpf/popup/fluent.json +0 -209
  33. package/tokens/components/wpf/radio-button/fluent.json +0 -72
  34. package/tokens/components/wpf/scroll-bar/fluent.json +0 -224
  35. package/tokens/components/wpf/scroll-view/fluent.json +0 -129
  36. package/tokens/components/wpf/separator/fluent.json +0 -40
  37. package/tokens/components/wpf/split-button/fluent.json +0 -54
  38. package/tokens/components/wpf/standard-groupbox/fluent.json +0 -362
  39. package/tokens/components/wpf/text-edit/fluent.json +0 -337
  40. package/tokens/components/wpf/toggle-switch/fluent.json +0 -595
  41. package/tokens/components/wpf/wait-indicator/fluent.json +0 -243
  42. /package/tokens/base/colors/icons/{blazor-default → blazor_classic}/dark.json +0 -0
  43. /package/tokens/base/colors/icons/{blazor-default → blazor_classic}/light.json +0 -0
  44. /package/tokens/base/colors/icons/{dx-desktop → desktop_classic}/dark.json +0 -0
  45. /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.3.0",
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
 
@@ -1726,7 +1726,7 @@
1726
1726
  "size": {
1727
1727
  "$extensions": {
1728
1728
  "com.figma.scopes": [
1729
- "WIDTH_HEIGHT"
1729
+ "ALL_SCOPES"
1730
1730
  ],
1731
1731
  "com.figma.hiddenFromPublishing": false
1732
1732
  },
@@ -2097,7 +2097,7 @@
2097
2097
  "inline": {
2098
2098
  "$extensions": {
2099
2099
  "com.figma.scopes": [
2100
- "WIDTH_HEIGHT"
2100
+ "ALL_SCOPES"
2101
2101
  ],
2102
2102
  "com.figma.hiddenFromPublishing": false
2103
2103
  },
@@ -2107,7 +2107,7 @@
2107
2107
  "stacked": {
2108
2108
  "$extensions": {
2109
2109
  "com.figma.scopes": [
2110
- "WIDTH_HEIGHT"
2110
+ "ALL_SCOPES"
2111
2111
  ],
2112
2112
  "com.figma.hiddenFromPublishing": false
2113
2113
  },
@@ -2120,7 +2120,7 @@
2120
2120
  "size": {
2121
2121
  "$extensions": {
2122
2122
  "com.figma.scopes": [
2123
- "WIDTH_HEIGHT"
2123
+ "ALL_SCOPES"
2124
2124
  ],
2125
2125
  "com.figma.hiddenFromPublishing": false
2126
2126
  },
@@ -2307,7 +2307,7 @@
2307
2307
  "size": {
2308
2308
  "$extensions": {
2309
2309
  "com.figma.scopes": [
2310
- "WIDTH_HEIGHT"
2310
+ "ALL_SCOPES"
2311
2311
  ],
2312
2312
  "com.figma.hiddenFromPublishing": false
2313
2313
  },
@@ -2443,7 +2443,7 @@
2443
2443
  "size": {
2444
2444
  "$extensions": {
2445
2445
  "com.figma.scopes": [
2446
- "WIDTH_HEIGHT"
2446
+ "ALL_SCOPES"
2447
2447
  ],
2448
2448
  "com.figma.hiddenFromPublishing": false
2449
2449
  },
@@ -2585,7 +2585,7 @@
2585
2585
  "size": {
2586
2586
  "$extensions": {
2587
2587
  "com.figma.scopes": [
2588
- "WIDTH_HEIGHT"
2588
+ "ALL_SCOPES"
2589
2589
  ],
2590
2590
  "com.figma.hiddenFromPublishing": false
2591
2591
  },
@@ -4096,7 +4096,7 @@
4096
4096
  "size": {
4097
4097
  "$extensions": {
4098
4098
  "com.figma.scopes": [
4099
- "WIDTH_HEIGHT"
4099
+ "ALL_SCOPES"
4100
4100
  ],
4101
4101
  "com.figma.hiddenFromPublishing": false
4102
4102
  },
@@ -4955,7 +4955,7 @@
4955
4955
  "size": {
4956
4956
  "$extensions": {
4957
4957
  "com.figma.scopes": [
4958
- "WIDTH_HEIGHT"
4958
+ "ALL_SCOPES"
4959
4959
  ],
4960
4960
  "com.figma.hiddenFromPublishing": false
4961
4961
  },
@@ -8997,6 +8997,52 @@
8997
8997
  }
8998
8998
  }
8999
8999
  },
9000
+ "header-content": {
9001
+ "layout": {
9002
+ "min-height": {
9003
+ "$extensions": {
9004
+ "com.figma.scopes": [
9005
+ "WIDTH_HEIGHT"
9006
+ ],
9007
+ "com.figma.hiddenFromPublishing": false
9008
+ },
9009
+ "$type": "number",
9010
+ "$value": "{spacing.360}"
9011
+ },
9012
+ "horizontal": {
9013
+ "$extensions": {
9014
+ "com.figma.scopes": [
9015
+ "GAP"
9016
+ ],
9017
+ "com.figma.hiddenFromPublishing": false
9018
+ },
9019
+ "$type": "number",
9020
+ "$value": "{spacing.140}"
9021
+ },
9022
+ "gap": {
9023
+ "$extensions": {
9024
+ "com.figma.scopes": [
9025
+ "GAP"
9026
+ ],
9027
+ "com.figma.hiddenFromPublishing": false
9028
+ },
9029
+ "$type": "number",
9030
+ "$value": "{spacing.120}"
9031
+ },
9032
+ "text-content": {
9033
+ "vertical": {
9034
+ "$extensions": {
9035
+ "com.figma.scopes": [
9036
+ "GAP"
9037
+ ],
9038
+ "com.figma.hiddenFromPublishing": false
9039
+ },
9040
+ "$type": "number",
9041
+ "$value": "{spacing.50}"
9042
+ }
9043
+ }
9044
+ }
9045
+ },
9000
9046
  "tag-list": {
9001
9047
  "layout": {
9002
9048
  "item-gap": {
@@ -9227,6 +9273,42 @@
9227
9273
  }
9228
9274
  }
9229
9275
  }
9276
+ },
9277
+ "header-checkbox": {
9278
+ "layout": {
9279
+ "min-height": {
9280
+ "$extensions": {
9281
+ "com.figma.scopes": [
9282
+ "WIDTH_HEIGHT"
9283
+ ],
9284
+ "com.figma.hiddenFromPublishing": false
9285
+ },
9286
+ "$type": "number",
9287
+ "$value": "{spacing.360}"
9288
+ },
9289
+ "horizontal": {
9290
+ "$extensions": {
9291
+ "com.figma.scopes": [
9292
+ "GAP"
9293
+ ],
9294
+ "com.figma.hiddenFromPublishing": false
9295
+ },
9296
+ "$type": "number",
9297
+ "$value": "{spacing.120}"
9298
+ },
9299
+ "check-item": {
9300
+ "vertical": {
9301
+ "$extensions": {
9302
+ "com.figma.scopes": [
9303
+ "GAP"
9304
+ ],
9305
+ "com.figma.hiddenFromPublishing": false
9306
+ },
9307
+ "$type": "number",
9308
+ "$value": "{spacing.80}"
9309
+ }
9310
+ }
9311
+ }
9230
9312
  }
9231
9313
  },
9232
9314
  "cell": {
@@ -9355,90 +9437,6 @@
9355
9437
  }
9356
9438
  }
9357
9439
  },
9358
- "cell-header": {
9359
- "checkbox": {
9360
- "layout": {
9361
- "min-height": {
9362
- "$extensions": {
9363
- "com.figma.scopes": [
9364
- "WIDTH_HEIGHT"
9365
- ],
9366
- "com.figma.hiddenFromPublishing": false
9367
- },
9368
- "$type": "number",
9369
- "$value": "{spacing.360}"
9370
- },
9371
- "horizontal": {
9372
- "$extensions": {
9373
- "com.figma.scopes": [
9374
- "GAP"
9375
- ],
9376
- "com.figma.hiddenFromPublishing": false
9377
- },
9378
- "$type": "number",
9379
- "$value": "{spacing.120}"
9380
- },
9381
- "check-item": {
9382
- "vertical": {
9383
- "$extensions": {
9384
- "com.figma.scopes": [
9385
- "GAP"
9386
- ],
9387
- "com.figma.hiddenFromPublishing": false
9388
- },
9389
- "$type": "number",
9390
- "$value": "{spacing.80}"
9391
- }
9392
- }
9393
- }
9394
- },
9395
- "content": {
9396
- "layout": {
9397
- "min-height": {
9398
- "$extensions": {
9399
- "com.figma.scopes": [
9400
- "WIDTH_HEIGHT"
9401
- ],
9402
- "com.figma.hiddenFromPublishing": false
9403
- },
9404
- "$type": "number",
9405
- "$value": "{spacing.360}"
9406
- },
9407
- "horizontal": {
9408
- "$extensions": {
9409
- "com.figma.scopes": [
9410
- "GAP"
9411
- ],
9412
- "com.figma.hiddenFromPublishing": false
9413
- },
9414
- "$type": "number",
9415
- "$value": "{spacing.140}"
9416
- },
9417
- "gap": {
9418
- "$extensions": {
9419
- "com.figma.scopes": [
9420
- "GAP"
9421
- ],
9422
- "com.figma.hiddenFromPublishing": false
9423
- },
9424
- "$type": "number",
9425
- "$value": "{spacing.120}"
9426
- },
9427
- "text-content": {
9428
- "vertical": {
9429
- "$extensions": {
9430
- "com.figma.scopes": [
9431
- "GAP"
9432
- ],
9433
- "com.figma.hiddenFromPublishing": false
9434
- },
9435
- "$type": "number",
9436
- "$value": "{spacing.50}"
9437
- }
9438
- }
9439
- }
9440
- }
9441
- },
9442
9440
  "detail-row": {
9443
9441
  "layout": {
9444
9442
  "content-box": {
@@ -1726,7 +1726,7 @@
1726
1726
  "size": {
1727
1727
  "$extensions": {
1728
1728
  "com.figma.scopes": [
1729
- "WIDTH_HEIGHT"
1729
+ "ALL_SCOPES"
1730
1730
  ],
1731
1731
  "com.figma.hiddenFromPublishing": false
1732
1732
  },
@@ -2097,7 +2097,7 @@
2097
2097
  "inline": {
2098
2098
  "$extensions": {
2099
2099
  "com.figma.scopes": [
2100
- "WIDTH_HEIGHT"
2100
+ "ALL_SCOPES"
2101
2101
  ],
2102
2102
  "com.figma.hiddenFromPublishing": false
2103
2103
  },
@@ -2107,7 +2107,7 @@
2107
2107
  "stacked": {
2108
2108
  "$extensions": {
2109
2109
  "com.figma.scopes": [
2110
- "WIDTH_HEIGHT"
2110
+ "ALL_SCOPES"
2111
2111
  ],
2112
2112
  "com.figma.hiddenFromPublishing": false
2113
2113
  },
@@ -2120,7 +2120,7 @@
2120
2120
  "size": {
2121
2121
  "$extensions": {
2122
2122
  "com.figma.scopes": [
2123
- "WIDTH_HEIGHT"
2123
+ "ALL_SCOPES"
2124
2124
  ],
2125
2125
  "com.figma.hiddenFromPublishing": false
2126
2126
  },
@@ -2307,7 +2307,7 @@
2307
2307
  "size": {
2308
2308
  "$extensions": {
2309
2309
  "com.figma.scopes": [
2310
- "WIDTH_HEIGHT"
2310
+ "ALL_SCOPES"
2311
2311
  ],
2312
2312
  "com.figma.hiddenFromPublishing": false
2313
2313
  },
@@ -2443,7 +2443,7 @@
2443
2443
  "size": {
2444
2444
  "$extensions": {
2445
2445
  "com.figma.scopes": [
2446
- "WIDTH_HEIGHT"
2446
+ "ALL_SCOPES"
2447
2447
  ],
2448
2448
  "com.figma.hiddenFromPublishing": false
2449
2449
  },
@@ -2585,7 +2585,7 @@
2585
2585
  "size": {
2586
2586
  "$extensions": {
2587
2587
  "com.figma.scopes": [
2588
- "WIDTH_HEIGHT"
2588
+ "ALL_SCOPES"
2589
2589
  ],
2590
2590
  "com.figma.hiddenFromPublishing": false
2591
2591
  },
@@ -4096,7 +4096,7 @@
4096
4096
  "size": {
4097
4097
  "$extensions": {
4098
4098
  "com.figma.scopes": [
4099
- "WIDTH_HEIGHT"
4099
+ "ALL_SCOPES"
4100
4100
  ],
4101
4101
  "com.figma.hiddenFromPublishing": false
4102
4102
  },
@@ -4955,7 +4955,7 @@
4955
4955
  "size": {
4956
4956
  "$extensions": {
4957
4957
  "com.figma.scopes": [
4958
- "WIDTH_HEIGHT"
4958
+ "ALL_SCOPES"
4959
4959
  ],
4960
4960
  "com.figma.hiddenFromPublishing": false
4961
4961
  },
@@ -8997,6 +8997,52 @@
8997
8997
  }
8998
8998
  }
8999
8999
  },
9000
+ "header-content": {
9001
+ "layout": {
9002
+ "min-height": {
9003
+ "$extensions": {
9004
+ "com.figma.scopes": [
9005
+ "WIDTH_HEIGHT"
9006
+ ],
9007
+ "com.figma.hiddenFromPublishing": false
9008
+ },
9009
+ "$type": "number",
9010
+ "$value": "{spacing.280}"
9011
+ },
9012
+ "horizontal": {
9013
+ "$extensions": {
9014
+ "com.figma.scopes": [
9015
+ "GAP"
9016
+ ],
9017
+ "com.figma.hiddenFromPublishing": false
9018
+ },
9019
+ "$type": "number",
9020
+ "$value": "{spacing.100}"
9021
+ },
9022
+ "gap": {
9023
+ "$extensions": {
9024
+ "com.figma.scopes": [
9025
+ "GAP"
9026
+ ],
9027
+ "com.figma.hiddenFromPublishing": false
9028
+ },
9029
+ "$type": "number",
9030
+ "$value": "{spacing.80}"
9031
+ },
9032
+ "text-content": {
9033
+ "vertical": {
9034
+ "$extensions": {
9035
+ "com.figma.scopes": [
9036
+ "GAP"
9037
+ ],
9038
+ "com.figma.hiddenFromPublishing": false
9039
+ },
9040
+ "$type": "number",
9041
+ "$value": "{spacing.40}"
9042
+ }
9043
+ }
9044
+ }
9045
+ },
9000
9046
  "tag-list": {
9001
9047
  "layout": {
9002
9048
  "item-gap": {
@@ -9227,6 +9273,42 @@
9227
9273
  }
9228
9274
  }
9229
9275
  }
9276
+ },
9277
+ "header-checkbox": {
9278
+ "layout": {
9279
+ "min-height": {
9280
+ "$extensions": {
9281
+ "com.figma.scopes": [
9282
+ "WIDTH_HEIGHT"
9283
+ ],
9284
+ "com.figma.hiddenFromPublishing": false
9285
+ },
9286
+ "$type": "number",
9287
+ "$value": "{spacing.280}"
9288
+ },
9289
+ "horizontal": {
9290
+ "$extensions": {
9291
+ "com.figma.scopes": [
9292
+ "GAP"
9293
+ ],
9294
+ "com.figma.hiddenFromPublishing": false
9295
+ },
9296
+ "$type": "number",
9297
+ "$value": "{spacing.80}"
9298
+ },
9299
+ "check-item": {
9300
+ "vertical": {
9301
+ "$extensions": {
9302
+ "com.figma.scopes": [
9303
+ "GAP"
9304
+ ],
9305
+ "com.figma.hiddenFromPublishing": false
9306
+ },
9307
+ "$type": "number",
9308
+ "$value": "{spacing.60}"
9309
+ }
9310
+ }
9311
+ }
9230
9312
  }
9231
9313
  },
9232
9314
  "cell": {
@@ -9355,90 +9437,6 @@
9355
9437
  }
9356
9438
  }
9357
9439
  },
9358
- "cell-header": {
9359
- "checkbox": {
9360
- "layout": {
9361
- "min-height": {
9362
- "$extensions": {
9363
- "com.figma.scopes": [
9364
- "WIDTH_HEIGHT"
9365
- ],
9366
- "com.figma.hiddenFromPublishing": false
9367
- },
9368
- "$type": "number",
9369
- "$value": "{spacing.280}"
9370
- },
9371
- "horizontal": {
9372
- "$extensions": {
9373
- "com.figma.scopes": [
9374
- "GAP"
9375
- ],
9376
- "com.figma.hiddenFromPublishing": false
9377
- },
9378
- "$type": "number",
9379
- "$value": "{spacing.80}"
9380
- },
9381
- "check-item": {
9382
- "vertical": {
9383
- "$extensions": {
9384
- "com.figma.scopes": [
9385
- "GAP"
9386
- ],
9387
- "com.figma.hiddenFromPublishing": false
9388
- },
9389
- "$type": "number",
9390
- "$value": "{spacing.60}"
9391
- }
9392
- }
9393
- }
9394
- },
9395
- "content": {
9396
- "layout": {
9397
- "min-height": {
9398
- "$extensions": {
9399
- "com.figma.scopes": [
9400
- "WIDTH_HEIGHT"
9401
- ],
9402
- "com.figma.hiddenFromPublishing": false
9403
- },
9404
- "$type": "number",
9405
- "$value": "{spacing.280}"
9406
- },
9407
- "horizontal": {
9408
- "$extensions": {
9409
- "com.figma.scopes": [
9410
- "GAP"
9411
- ],
9412
- "com.figma.hiddenFromPublishing": false
9413
- },
9414
- "$type": "number",
9415
- "$value": "{spacing.100}"
9416
- },
9417
- "gap": {
9418
- "$extensions": {
9419
- "com.figma.scopes": [
9420
- "GAP"
9421
- ],
9422
- "com.figma.hiddenFromPublishing": false
9423
- },
9424
- "$type": "number",
9425
- "$value": "{spacing.80}"
9426
- },
9427
- "text-content": {
9428
- "vertical": {
9429
- "$extensions": {
9430
- "com.figma.scopes": [
9431
- "GAP"
9432
- ],
9433
- "com.figma.hiddenFromPublishing": false
9434
- },
9435
- "$type": "number",
9436
- "$value": "{spacing.40}"
9437
- }
9438
- }
9439
- }
9440
- }
9441
- },
9442
9440
  "detail-row": {
9443
9441
  "layout": {
9444
9442
  "content-box": {