@crystal-ui/core 2.1.0 → 2.3.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 (38) hide show
  1. package/assets/crystal-theme.css +15 -0
  2. package/assets/crystal.css +652 -12
  3. package/assets/crystal.js +10 -0
  4. package/assets/motion.css +3 -3
  5. package/assets/motion.js +17 -2
  6. package/assets/tokens.js +1 -1
  7. package/docs/accessibility.md +19 -3
  8. package/docs/adoption.md +3 -1
  9. package/docs/catalogue.md +467 -53
  10. package/docs/components.md +36 -9
  11. package/docs/materials.md +12 -4
  12. package/docs/motion-components.md +11 -8
  13. package/docs/motion.md +10 -4
  14. package/docs/tokens.md +3 -2
  15. package/engines.js +13 -2
  16. package/exports/crystal-tokens.kt +2 -1
  17. package/exports/crystal-tokens.swift +2 -1
  18. package/exports/crystal-tokens.ts +2 -1
  19. package/package.json +2 -1
  20. package/tokens/catalogue/01-layout.json +45 -0
  21. package/tokens/catalogue/02-navigation.json +88 -6
  22. package/tokens/catalogue/03-actions.json +42 -2
  23. package/tokens/catalogue/04-inputs.json +359 -5
  24. package/tokens/catalogue/05-data-display.json +185 -21
  25. package/tokens/catalogue/06-feedback.json +75 -6
  26. package/tokens/catalogue/07-overlays.json +52 -5
  27. package/tokens/catalogue/08-typography.json +54 -0
  28. package/tokens/catalogue/09-utility.json +79 -0
  29. package/tokens/catalogue/10-charts.json +89 -1
  30. package/tokens/catalogue/11-media.json +33 -0
  31. package/tokens/catalogue/12-commerce.json +133 -1
  32. package/tokens/catalogue/13-screens.json +77 -0
  33. package/tokens/catalogue/14-blocks.json +101 -0
  34. package/tokens/catalogue.json +1656 -48
  35. package/tokens/crystal.json +3 -2
  36. package/tokens/crystal.tokens.json +7 -2
  37. package/tokens/motion-recipes.json +124 -96
  38. package/tokens/surfaces.json +177 -0
@@ -52,6 +52,11 @@
52
52
  --cr-content-own-fill: rgba(230, 219, 252, 0.8);
53
53
  --cr-content-feather: 1.95px;
54
54
  --cr-haze-inset: 8px;
55
+ --cr-action-disabled-opacity: 0.55;
56
+ --cr-choice-box-size: 26px;
57
+ --cr-choice-box-radius: 9px;
58
+ --cr-switch-track-width: 44px;
59
+ --cr-switch-track-height: 28px;
55
60
  --cr-chart-stroke: 2px;
56
61
  --cr-chart-hairline: 1px;
57
62
  --cr-chart-point-min: 6px;
@@ -231,6 +236,11 @@
231
236
  --cr-content-own-fill: rgba(230, 219, 252, 0.8);
232
237
  --cr-content-feather: 1.95px;
233
238
  --cr-haze-inset: 8px;
239
+ --cr-action-disabled-opacity: 0.55;
240
+ --cr-choice-box-size: 26px;
241
+ --cr-choice-box-radius: 9px;
242
+ --cr-switch-track-width: 44px;
243
+ --cr-switch-track-height: 28px;
234
244
  --cr-chart-stroke: 2px;
235
245
  --cr-chart-hairline: 1px;
236
246
  --cr-chart-point-min: 6px;
@@ -410,6 +420,11 @@
410
420
  --cr-content-own-fill: rgba(51, 30, 101, 0.8);
411
421
  --cr-content-feather: 1.95px;
412
422
  --cr-haze-inset: 8px;
423
+ --cr-action-disabled-opacity: 0.55;
424
+ --cr-choice-box-size: 26px;
425
+ --cr-choice-box-radius: 9px;
426
+ --cr-switch-track-width: 44px;
427
+ --cr-switch-track-height: 28px;
413
428
  --cr-chart-stroke: 2px;
414
429
  --cr-chart-hairline: 1px;
415
430
  --cr-chart-point-min: 6px;