@primer/primitives 7.17.0-rc.39874fc0 → 7.17.0-rc.3aa69fdf

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 (134) hide show
  1. package/dist/docs/functional/typography/typography.json +39 -3
  2. package/dist/figma/figma.json +10 -1
  3. package/dist/figma/typography/typography.json +32 -0
  4. package/dist/styleLint/functional/typography/typography.json +39 -3
  5. package/package.json +2 -2
  6. package/src/PrimerStyleDictionary.ts +6 -0
  7. package/src/platforms/figma.ts +6 -0
  8. package/src/tokens/functional/typography/typography.json +21 -3
  9. package/src/transformers/fontFamilyToCss.ts +3 -4
  10. package/src/transformers/fontFamilyToFigma.ts +47 -0
  11. package/src/transformers/index.ts +1 -0
  12. package/src/transformers/utilities/hasSpaceInString.ts +6 -0
  13. package/tokens-v2-private/css/tokens/base/size/size.css +1 -1
  14. package/tokens-v2-private/css/tokens/base/typography/typography.css +1 -1
  15. package/tokens-v2-private/css/tokens/functional/size/border.css +1 -1
  16. package/tokens-v2-private/css/tokens/functional/size/breakpoints.css +1 -1
  17. package/tokens-v2-private/css/tokens/functional/size/size-coarse.css +1 -1
  18. package/tokens-v2-private/css/tokens/functional/size/size-fine.css +1 -1
  19. package/tokens-v2-private/css/tokens/functional/size/size.css +1 -1
  20. package/tokens-v2-private/css/tokens/functional/typography/typography.css +1 -1
  21. package/tokens-v2-private/js/module/tokens/base/size/size.js +1 -1
  22. package/tokens-v2-private/js/module/tokens/base/typography/typography.js +1 -1
  23. package/tokens-v2-private/js/module/tokens/functional/size/border.js +1 -1
  24. package/tokens-v2-private/js/module/tokens/functional/size/breakpoints.js +1 -1
  25. package/tokens-v2-private/js/module/tokens/functional/size/size-coarse.js +1 -1
  26. package/tokens-v2-private/js/module/tokens/functional/size/size-fine.js +1 -1
  27. package/tokens-v2-private/js/module/tokens/functional/size/size.js +1 -1
  28. package/tokens-v2-private/js/module/tokens/functional/size/viewport.js +1 -1
  29. package/tokens-v2-private/js/module/tokens/functional/typography/typography.js +1 -1
  30. package/tokens-v2-private/js/tokens/base/size/size.js +1 -1
  31. package/tokens-v2-private/js/tokens/base/typography/typography.js +1 -1
  32. package/tokens-v2-private/js/tokens/functional/size/border.js +1 -1
  33. package/tokens-v2-private/js/tokens/functional/size/breakpoints.js +1 -1
  34. package/tokens-v2-private/js/tokens/functional/size/size-coarse.js +1 -1
  35. package/tokens-v2-private/js/tokens/functional/size/size-fine.js +1 -1
  36. package/tokens-v2-private/js/tokens/functional/size/size.js +1 -1
  37. package/tokens-v2-private/js/tokens/functional/size/viewport.js +1 -1
  38. package/tokens-v2-private/js/tokens/functional/typography/typography.js +1 -1
  39. package/tokens-v2-private/scss/tokens/base/size/size.scss +1 -1
  40. package/tokens-v2-private/scss/tokens/base/typography/typography.scss +1 -1
  41. package/tokens-v2-private/scss/tokens/functional/size/border.scss +1 -1
  42. package/tokens-v2-private/scss/tokens/functional/size/breakpoints.scss +1 -1
  43. package/tokens-v2-private/scss/tokens/functional/size/size-coarse.scss +1 -1
  44. package/tokens-v2-private/scss/tokens/functional/size/size-fine.scss +1 -1
  45. package/tokens-v2-private/scss/tokens/functional/size/size.scss +1 -1
  46. package/tokens-v2-private/scss/tokens/functional/size/viewport.scss +1 -1
  47. package/tokens-v2-private/scss/tokens/functional/typography/typography.scss +1 -1
  48. package/tokens-v2-private/ts/tokens/base/size/size.d.ts +1 -1
  49. package/tokens-v2-private/ts/tokens/base/size/size.js +1 -1
  50. package/tokens-v2-private/ts/tokens/base/typography/typography.d.ts +1 -1
  51. package/tokens-v2-private/ts/tokens/base/typography/typography.js +1 -1
  52. package/tokens-v2-private/ts/tokens/functional/size/border.d.ts +1 -1
  53. package/tokens-v2-private/ts/tokens/functional/size/border.js +1 -1
  54. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.d.ts +1 -1
  55. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.js +1 -1
  56. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.d.ts +1 -1
  57. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.js +1 -1
  58. package/tokens-v2-private/ts/tokens/functional/size/size-fine.d.ts +1 -1
  59. package/tokens-v2-private/ts/tokens/functional/size/size-fine.js +1 -1
  60. package/tokens-v2-private/ts/tokens/functional/size/size.d.ts +1 -1
  61. package/tokens-v2-private/ts/tokens/functional/size/size.js +1 -1
  62. package/tokens-v2-private/ts/tokens/functional/size/viewport.d.ts +1 -1
  63. package/tokens-v2-private/ts/tokens/functional/size/viewport.js +1 -1
  64. package/tokens-v2-private/ts/tokens/functional/typography/typography.d.ts +1 -1
  65. package/tokens-v2-private/ts/tokens/functional/typography/typography.js +1 -1
  66. package/dist/deprecated/colors.json +0 -7
  67. package/dist/js/colors/dark.d.ts +0 -516
  68. package/dist/js/colors/dark.js +0 -616
  69. package/dist/js/colors/dark_colorblind.d.ts +0 -516
  70. package/dist/js/colors/dark_colorblind.js +0 -616
  71. package/dist/js/colors/dark_dimmed.d.ts +0 -516
  72. package/dist/js/colors/dark_dimmed.js +0 -616
  73. package/dist/js/colors/dark_high_contrast.d.ts +0 -516
  74. package/dist/js/colors/dark_high_contrast.js +0 -616
  75. package/dist/js/colors/dark_tritanopia.d.ts +0 -516
  76. package/dist/js/colors/dark_tritanopia.js +0 -616
  77. package/dist/js/colors/index.d.ts +0 -4638
  78. package/dist/js/colors/index.js +0 -15
  79. package/dist/js/colors/light.d.ts +0 -516
  80. package/dist/js/colors/light.js +0 -616
  81. package/dist/js/colors/light_colorblind.d.ts +0 -516
  82. package/dist/js/colors/light_colorblind.js +0 -616
  83. package/dist/js/colors/light_high_contrast.d.ts +0 -516
  84. package/dist/js/colors/light_high_contrast.js +0 -616
  85. package/dist/js/colors/light_tritanopia.d.ts +0 -516
  86. package/dist/js/colors/light_tritanopia.js +0 -616
  87. package/dist/js/index.d.ts +0 -4655
  88. package/dist/js/index.js +0 -9
  89. package/dist/js/spacing/index.d.ts +0 -6
  90. package/dist/js/spacing/index.js +0 -7
  91. package/dist/js/spacing/normal.d.ts +0 -4
  92. package/dist/js/spacing/normal.js +0 -13
  93. package/dist/js/typography/index.d.ts +0 -11
  94. package/dist/js/typography/index.js +0 -7
  95. package/dist/js/typography/normal.d.ts +0 -9
  96. package/dist/js/typography/normal.js +0 -19
  97. package/dist/json/colors/dark.json +0 -614
  98. package/dist/json/colors/dark_colorblind.json +0 -614
  99. package/dist/json/colors/dark_dimmed.json +0 -614
  100. package/dist/json/colors/dark_high_contrast.json +0 -614
  101. package/dist/json/colors/dark_tritanopia.json +0 -614
  102. package/dist/json/colors/light.json +0 -614
  103. package/dist/json/colors/light_colorblind.json +0 -614
  104. package/dist/json/colors/light_high_contrast.json +0 -614
  105. package/dist/json/colors/light_tritanopia.json +0 -614
  106. package/dist/json/spacing/normal.json +0 -11
  107. package/dist/json/typography/normal.json +0 -17
  108. package/dist/removed/colors.json +0 -432
  109. package/dist/scss/colors/_dark.scss +0 -452
  110. package/dist/scss/colors/_dark_colorblind.scss +0 -452
  111. package/dist/scss/colors/_dark_dimmed.scss +0 -452
  112. package/dist/scss/colors/_dark_high_contrast.scss +0 -452
  113. package/dist/scss/colors/_dark_tritanopia.scss +0 -452
  114. package/dist/scss/colors/_light.scss +0 -452
  115. package/dist/scss/colors/_light_colorblind.scss +0 -452
  116. package/dist/scss/colors/_light_high_contrast.scss +0 -452
  117. package/dist/scss/colors/_light_tritanopia.scss +0 -452
  118. package/dist/scss/spacing/_normal.scss +0 -11
  119. package/dist/scss/typography/_normal.scss +0 -15
  120. package/dist/ts/colors/dark.ts +0 -614
  121. package/dist/ts/colors/dark_colorblind.ts +0 -614
  122. package/dist/ts/colors/dark_dimmed.ts +0 -614
  123. package/dist/ts/colors/dark_high_contrast.ts +0 -614
  124. package/dist/ts/colors/dark_tritanopia.ts +0 -614
  125. package/dist/ts/colors/index.ts +0 -10
  126. package/dist/ts/colors/light.ts +0 -614
  127. package/dist/ts/colors/light_colorblind.ts +0 -614
  128. package/dist/ts/colors/light_high_contrast.ts +0 -614
  129. package/dist/ts/colors/light_tritanopia.ts +0 -614
  130. package/dist/ts/index.ts +0 -4
  131. package/dist/ts/spacing/index.ts +0 -2
  132. package/dist/ts/spacing/normal.ts +0 -11
  133. package/dist/ts/typography/index.ts +0 -2
  134. package/dist/ts/typography/normal.ts +0 -17
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Thu, 18 Apr 2024 06:46:04 GMT
3
+ // Generated on Thu, 18 Apr 2024 12:05:02 GMT
4
4
 
5
5
  $primer-borderRadius-full: 100vh;
6
6
  $primer-borderRadius-large: 0.75rem;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Thu, 18 Apr 2024 06:46:04 GMT
3
+ // Generated on Thu, 18 Apr 2024 12:05:02 GMT
4
4
 
5
5
  $primer-breakpoint-xxlarge: 90rem;
6
6
  $primer-breakpoint-xlarge: 80rem;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Thu, 18 Apr 2024 06:46:04 GMT
3
+ // Generated on Thu, 18 Apr 2024 12:05:02 GMT
4
4
 
5
5
  $primer-controlStack-medium-gap-auto: $base-size-12;
6
6
  $primer-controlStack-small-gap-auto: $base-size-16;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Thu, 18 Apr 2024 06:46:04 GMT
3
+ // Generated on Thu, 18 Apr 2024 12:05:02 GMT
4
4
 
5
5
  $primer-controlStack-medium-gap-auto: $base-size-8;
6
6
  $primer-controlStack-small-gap-auto: $base-size-8;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Thu, 18 Apr 2024 06:46:04 GMT
3
+ // Generated on Thu, 18 Apr 2024 12:05:02 GMT
4
4
 
5
5
  $primer-controlStack-large-gap-spacious: $base-size-12;
6
6
  $primer-controlStack-large-gap-condensed: $base-size-8;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Thu, 18 Apr 2024 06:46:04 GMT
3
+ // Generated on Thu, 18 Apr 2024 12:05:02 GMT
4
4
 
5
5
  $primer-viewportRange-landscape: (orientation: landscape);
6
6
  $primer-viewportRange-portrait: (orientation: portrait);
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Thu, 18 Apr 2024 06:46:04 GMT
3
+ // Generated on Thu, 18 Apr 2024 12:05:02 GMT
4
4
 
5
5
  $primer-text-codeInline-size: 0.9285em;
6
6
  $primer-text-codeBlock-lineHeight: calc(20/13);
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 18 Apr 2024 06:46:04 GMT
3
+ * Generated on Thu, 18 Apr 2024 12:05:02 GMT
4
4
  */
5
5
 
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 18 Apr 2024 06:46:04 GMT
3
+ * Generated on Thu, 18 Apr 2024 12:05:02 GMT
4
4
  */
5
5
 
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 18 Apr 2024 06:46:04 GMT
3
+ * Generated on Thu, 18 Apr 2024 12:05:02 GMT
4
4
  */
5
5
 
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 18 Apr 2024 06:46:04 GMT
3
+ * Generated on Thu, 18 Apr 2024 12:05:02 GMT
4
4
  */
5
5
 
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 18 Apr 2024 06:46:04 GMT
3
+ * Generated on Thu, 18 Apr 2024 12:05:02 GMT
4
4
  */
5
5
 
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 18 Apr 2024 06:46:04 GMT
3
+ * Generated on Thu, 18 Apr 2024 12:05:02 GMT
4
4
  */
5
5
 
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 18 Apr 2024 06:46:04 GMT
3
+ * Generated on Thu, 18 Apr 2024 12:05:02 GMT
4
4
  */
5
5
 
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 18 Apr 2024 06:46:04 GMT
3
+ * Generated on Thu, 18 Apr 2024 12:05:02 GMT
4
4
  */
5
5
 
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 18 Apr 2024 06:46:04 GMT
3
+ * Generated on Thu, 18 Apr 2024 12:05:02 GMT
4
4
  */
5
5
 
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 18 Apr 2024 06:46:04 GMT
3
+ * Generated on Thu, 18 Apr 2024 12:05:02 GMT
4
4
  */
5
5
 
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 18 Apr 2024 06:46:04 GMT
3
+ * Generated on Thu, 18 Apr 2024 12:05:02 GMT
4
4
  */
5
5
 
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 18 Apr 2024 06:46:04 GMT
3
+ * Generated on Thu, 18 Apr 2024 12:05:02 GMT
4
4
  */
5
5
 
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 18 Apr 2024 06:46:04 GMT
3
+ * Generated on Thu, 18 Apr 2024 12:05:02 GMT
4
4
  */
5
5
 
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 18 Apr 2024 06:46:04 GMT
3
+ * Generated on Thu, 18 Apr 2024 12:05:02 GMT
4
4
  */
5
5
 
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 18 Apr 2024 06:46:04 GMT
3
+ * Generated on Thu, 18 Apr 2024 12:05:02 GMT
4
4
  */
5
5
 
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 18 Apr 2024 06:46:04 GMT
3
+ * Generated on Thu, 18 Apr 2024 12:05:02 GMT
4
4
  */
5
5
 
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 18 Apr 2024 06:46:04 GMT
3
+ * Generated on Thu, 18 Apr 2024 12:05:02 GMT
4
4
  */
5
5
 
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 18 Apr 2024 06:46:04 GMT
3
+ * Generated on Thu, 18 Apr 2024 12:05:02 GMT
4
4
  */
5
5
 
6
6
 
@@ -1,7 +0,0 @@
1
- {
2
- "mktg.btn.bg": null,
3
- "mktg.btn.shadow.outline": null,
4
- "mktg.btn.shadow.focus": null,
5
- "mktg.btn.shadow.hover": null,
6
- "mktg.btn.shadow.hoverMuted": null
7
- }