@primer/primitives 8.2.4-rc.a3f65a09 → 8.2.4-rc.acc4193a

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 (32) hide show
  1. package/README.md +17 -18
  2. package/dist/css/functional/size/border.css +1 -0
  3. package/dist/css/functional/themes/dark-high-contrast.css +170 -170
  4. package/dist/css/functional/themes/light-high-contrast.css +114 -114
  5. package/dist/css/primitives.css +1 -0
  6. package/dist/docs/functional/size/border.json +31 -0
  7. package/dist/docs/functional/themes/dark-high-contrast.json +216 -216
  8. package/dist/docs/functional/themes/light-high-contrast.json +171 -171
  9. package/dist/fallbacks/functional/size/border.json +1 -0
  10. package/dist/figma/dimension/dimension.json +14 -0
  11. package/dist/figma/themes/dark-high-contrast.json +297 -297
  12. package/dist/figma/themes/light-high-contrast.json +218 -218
  13. package/dist/internalCss/dark-high-contrast.css +170 -170
  14. package/dist/internalCss/light-high-contrast.css +114 -114
  15. package/dist/styleLint/functional/size/border.json +31 -0
  16. package/dist/styleLint/functional/themes/dark-high-contrast.json +216 -216
  17. package/dist/styleLint/functional/themes/light-high-contrast.json +171 -171
  18. package/package.json +28 -28
  19. package/src/formats/cssAdvanced.ts +3 -3
  20. package/src/formats/cssCustomMedia.ts +2 -2
  21. package/src/formats/javascriptCommonJs.ts +2 -2
  22. package/src/formats/javascriptEsm.ts +2 -2
  23. package/src/formats/jsonFigma.ts +2 -2
  24. package/src/formats/jsonNestedPrefixed.ts +2 -2
  25. package/src/formats/jsonOneDimensional.ts +2 -2
  26. package/src/formats/jsonPostCssFallback.ts +2 -2
  27. package/src/formats/typescriptExportDefinition.ts +2 -2
  28. package/src/schemas/designToken.ts +1 -1
  29. package/src/schemas/validTokenType.ts +1 -1
  30. package/src/tokens/functional/color/dark/overrides/dark.high-contrast.json5 +383 -2
  31. package/src/tokens/functional/color/light/overrides/light.high-contrast.json5 +344 -0
  32. package/src/tokens/functional/size/border.json +13 -0
@@ -9,6 +9,7 @@
9
9
  "--borderRadius-medium": "0.375rem",
10
10
  "--borderRadius-large": "0.75rem",
11
11
  "--borderRadius-full": "624.9375rem",
12
+ "--borderRadius-default": "0.375rem",
12
13
  "--outline-focus-offset": "-0.125rem",
13
14
  "--outline-focus-width": "0.125rem"
14
15
  }
@@ -462,6 +462,20 @@
462
462
  "group": "base/size",
463
463
  "scopes": ["WIDTH_HEIGHT"]
464
464
  },
465
+ {
466
+ "name": "borderRadius/default",
467
+ "value": 6,
468
+ "type": "FLOAT",
469
+ "refId": "functional/size/borderRadius/default",
470
+ "reference": "functional/size/borderRadius/medium",
471
+ "collection": "functional/size",
472
+ "mode": "default",
473
+ "group": "functional/size",
474
+ "scopes": ["CORNER_RADIUS"],
475
+ "codeSyntax": {
476
+ "web": "var(--borderRadius-default) /* utility class: .rounded-2 */"
477
+ }
478
+ },
465
479
  {
466
480
  "name": "overlay/borderRadius",
467
481
  "value": 6,