@primer/primitives 10.3.0-rc.fcd52a27 → 10.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 (62) hide show
  1. package/dist/build/transformers/colorToHex.js +3 -3
  2. package/dist/build/transformers/colorToRgbAlpha.js +2 -2
  3. package/dist/build/transformers/shadowToCss.js +2 -2
  4. package/dist/build/transformers/utilities/alpha.d.ts +2 -2
  5. package/dist/build/transformers/utilities/alpha.js +3 -3
  6. package/dist/build/utilities/log.d.ts +6 -0
  7. package/dist/build/utilities/log.js +34 -0
  8. package/dist/docs/functional/themes/dark-colorblind.json +324 -26
  9. package/dist/docs/functional/themes/dark-dimmed.json +391 -27
  10. package/dist/docs/functional/themes/dark-high-contrast.json +377 -27
  11. package/dist/docs/functional/themes/dark-tritanopia.json +525 -37
  12. package/dist/docs/functional/themes/dark.json +324 -26
  13. package/dist/docs/functional/themes/light-colorblind.json +318 -22
  14. package/dist/docs/functional/themes/light-high-contrast.json +374 -24
  15. package/dist/docs/functional/themes/light-tritanopia.json +599 -29
  16. package/dist/docs/functional/themes/light.json +318 -22
  17. package/dist/figma/themes/dark-colorblind.json +255 -254
  18. package/dist/figma/themes/dark-dimmed.json +255 -173
  19. package/dist/figma/themes/dark-high-contrast.json +254 -187
  20. package/dist/figma/themes/dark-tritanopia.json +340 -257
  21. package/dist/figma/themes/dark.json +255 -254
  22. package/dist/figma/themes/light-colorblind.json +249 -249
  23. package/dist/figma/themes/light-high-contrast.json +238 -172
  24. package/dist/figma/themes/light-tritanopia.json +332 -252
  25. package/dist/figma/themes/light.json +273 -273
  26. package/dist/styleLint/functional/themes/dark-colorblind.json +324 -26
  27. package/dist/styleLint/functional/themes/dark-dimmed.json +391 -27
  28. package/dist/styleLint/functional/themes/dark-high-contrast.json +377 -27
  29. package/dist/styleLint/functional/themes/dark-tritanopia.json +525 -37
  30. package/dist/styleLint/functional/themes/dark.json +324 -26
  31. package/dist/styleLint/functional/themes/light-colorblind.json +318 -22
  32. package/dist/styleLint/functional/themes/light-high-contrast.json +374 -24
  33. package/dist/styleLint/functional/themes/light-tritanopia.json +599 -29
  34. package/dist/styleLint/functional/themes/light.json +318 -22
  35. package/package.json +1 -1
  36. package/src/tokens/component/diffBlob.json5 +19 -0
  37. package/src/tokens/component/header.json5 +65 -0
  38. package/src/tokens/component/headerSerach.json5 +32 -0
  39. package/src/tokens/component/overlay.json5 +68 -0
  40. package/src/tokens/component/page.json5 +20 -0
  41. package/src/tokens/component/reactionButton.json5 +78 -0
  42. package/src/tokens/component/skeletonLoader.json5 +29 -0
  43. package/src/tokens/component/timelineBadge.json5 +19 -0
  44. package/src/tokens/functional/color/dark/app-dark.json5 +0 -97
  45. package/src/tokens/functional/color/dark/overrides/dark.dimmed.json5 +0 -35
  46. package/src/tokens/functional/color/dark/overrides/dark.high-contrast.json5 +0 -32
  47. package/src/tokens/functional/color/dark/overrides/dark.tritanopia.json5 +0 -37
  48. package/src/tokens/functional/color/dark/patterns-dark.json5 +0 -194
  49. package/src/tokens/functional/color/light/app-light.json5 +0 -91
  50. package/src/tokens/functional/color/light/overrides/light.high-contrast.json5 +0 -31
  51. package/src/tokens/functional/color/light/overrides/light.tritanopia.json5 +0 -71
  52. package/src/tokens/functional/color/light/patterns-light.json5 +1 -192
  53. package/dist/figma/figma.json +0 -133
  54. package/dist/figma/shadows/dark-colorblind.json +0 -1152
  55. package/dist/figma/shadows/dark-dimmed.json +0 -1152
  56. package/dist/figma/shadows/dark-high-contrast.json +0 -1152
  57. package/dist/figma/shadows/dark-tritanopia.json +0 -1152
  58. package/dist/figma/shadows/dark.json +0 -1152
  59. package/dist/figma/shadows/light-colorblind.json +0 -1052
  60. package/dist/figma/shadows/light-high-contrast.json +0 -1052
  61. package/dist/figma/shadows/light-tritanopia.json +0 -1052
  62. package/dist/figma/shadows/light.json +0 -1052
@@ -1,133 +0,0 @@
1
- {
2
- "collections": {
3
- "base/size": {
4
- "modes": [
5
- "default"
6
- ],
7
- "groups": [
8
- "base/size"
9
- ]
10
- },
11
- "functional/size": {
12
- "modes": [
13
- "default"
14
- ],
15
- "groups": [
16
- "functional/size"
17
- ]
18
- },
19
- "pattern/size": {
20
- "modes": [
21
- "default"
22
- ],
23
- "groups": [
24
- "pattern/size",
25
- "component"
26
- ]
27
- },
28
- "base/color/dark-dimmed": {
29
- "modes": [
30
- "default"
31
- ],
32
- "groups": [
33
- "base/color/dark-dimmed"
34
- ]
35
- },
36
- "base/color/dark": {
37
- "modes": [
38
- "default"
39
- ],
40
- "groups": [
41
- "base/color/dark"
42
- ]
43
- },
44
- "base/color/dark-high-contrast": {
45
- "modes": [
46
- "default"
47
- ],
48
- "groups": [
49
- "base/color/dark-high-contrast"
50
- ]
51
- },
52
- "base/color/light-high-contrast": {
53
- "modes": [
54
- "default"
55
- ],
56
- "groups": [
57
- "base/color/light-high-contrast"
58
- ]
59
- },
60
- "base/color/light": {
61
- "modes": [
62
- "default"
63
- ],
64
- "groups": [
65
- "base/color/light"
66
- ]
67
- },
68
- "mode": {
69
- "modes": [
70
- "light",
71
- "dark",
72
- "dark dimmed",
73
- "light high contrast",
74
- "dark high contrast",
75
- "light protanopia deuteranopia",
76
- "dark protanopia deuteranopia",
77
- "light tritanopia",
78
- "dark tritanopia"
79
- ],
80
- "groups": [
81
- "component shadow",
82
- "shadow",
83
- "component (internal)",
84
- "component",
85
- "semantic",
86
- "syntax"
87
- ]
88
- },
89
- "base/typography": {
90
- "modes": [
91
- "default"
92
- ],
93
- "groups": [
94
- "base/typography"
95
- ]
96
- },
97
- "typography": {
98
- "modes": [
99
- "default"
100
- ],
101
- "groups": [
102
- "typography"
103
- ]
104
- }
105
- },
106
- "files": [
107
- "dist/figma/dimension/dimension.json",
108
- "dist/figma/scales/dark-dimmed.json",
109
- "dist/figma/scales/dark-high-constrast.json",
110
- "dist/figma/scales/dark.json",
111
- "dist/figma/scales/light-high-constrast.json",
112
- "dist/figma/scales/light.json",
113
- "dist/figma/shadows/dark-colorblind.json",
114
- "dist/figma/shadows/dark-dimmed.json",
115
- "dist/figma/shadows/dark-high-contrast.json",
116
- "dist/figma/shadows/dark-tritanopia.json",
117
- "dist/figma/shadows/dark.json",
118
- "dist/figma/shadows/light-colorblind.json",
119
- "dist/figma/shadows/light-high-contrast.json",
120
- "dist/figma/shadows/light-tritanopia.json",
121
- "dist/figma/shadows/light.json",
122
- "dist/figma/themes/dark-colorblind.json",
123
- "dist/figma/themes/dark-dimmed.json",
124
- "dist/figma/themes/dark-high-contrast.json",
125
- "dist/figma/themes/dark-tritanopia.json",
126
- "dist/figma/themes/dark.json",
127
- "dist/figma/themes/light-colorblind.json",
128
- "dist/figma/themes/light-high-contrast.json",
129
- "dist/figma/themes/light-tritanopia.json",
130
- "dist/figma/themes/light.json",
131
- "dist/figma/typography/typography.json"
132
- ]
133
- }