@primer/primitives 7.11.0-rc.ede9aeb → 7.11.0-rc.efbf6d5

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 (58) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/README.md +2 -2
  3. package/dist/color-contrast-check.json +1 -1
  4. package/dist/deprecated/colors.json +7 -1
  5. package/package.json +11 -11
  6. package/tokens-v2-private/css/tokens/base/size/size.css +1 -1
  7. package/tokens-v2-private/css/tokens/base/typography/typography.css +1 -1
  8. package/tokens-v2-private/css/tokens/functional/size/border.css +1 -1
  9. package/tokens-v2-private/css/tokens/functional/size/breakpoints.css +1 -1
  10. package/tokens-v2-private/css/tokens/functional/size/size-coarse.css +1 -1
  11. package/tokens-v2-private/css/tokens/functional/size/size-fine.css +1 -1
  12. package/tokens-v2-private/css/tokens/functional/size/size.css +1 -1
  13. package/tokens-v2-private/css/tokens/functional/typography/typography.css +1 -1
  14. package/tokens-v2-private/js/module/tokens/base/size/size.js +1 -1
  15. package/tokens-v2-private/js/module/tokens/base/typography/typography.js +1 -1
  16. package/tokens-v2-private/js/module/tokens/functional/size/border.js +1 -1
  17. package/tokens-v2-private/js/module/tokens/functional/size/breakpoints.js +1 -1
  18. package/tokens-v2-private/js/module/tokens/functional/size/size-coarse.js +1 -1
  19. package/tokens-v2-private/js/module/tokens/functional/size/size-fine.js +1 -1
  20. package/tokens-v2-private/js/module/tokens/functional/size/size.js +1 -1
  21. package/tokens-v2-private/js/module/tokens/functional/size/viewport.js +1 -1
  22. package/tokens-v2-private/js/module/tokens/functional/typography/typography.js +1 -1
  23. package/tokens-v2-private/js/tokens/base/size/size.js +1 -1
  24. package/tokens-v2-private/js/tokens/base/typography/typography.js +1 -1
  25. package/tokens-v2-private/js/tokens/functional/size/border.js +1 -1
  26. package/tokens-v2-private/js/tokens/functional/size/breakpoints.js +1 -1
  27. package/tokens-v2-private/js/tokens/functional/size/size-coarse.js +1 -1
  28. package/tokens-v2-private/js/tokens/functional/size/size-fine.js +1 -1
  29. package/tokens-v2-private/js/tokens/functional/size/size.js +1 -1
  30. package/tokens-v2-private/js/tokens/functional/size/viewport.js +1 -1
  31. package/tokens-v2-private/js/tokens/functional/typography/typography.js +1 -1
  32. package/tokens-v2-private/scss/tokens/base/size/size.scss +1 -1
  33. package/tokens-v2-private/scss/tokens/base/typography/typography.scss +1 -1
  34. package/tokens-v2-private/scss/tokens/functional/size/border.scss +1 -1
  35. package/tokens-v2-private/scss/tokens/functional/size/breakpoints.scss +1 -1
  36. package/tokens-v2-private/scss/tokens/functional/size/size-coarse.scss +1 -1
  37. package/tokens-v2-private/scss/tokens/functional/size/size-fine.scss +1 -1
  38. package/tokens-v2-private/scss/tokens/functional/size/size.scss +1 -1
  39. package/tokens-v2-private/scss/tokens/functional/size/viewport.scss +1 -1
  40. package/tokens-v2-private/scss/tokens/functional/typography/typography.scss +1 -1
  41. package/tokens-v2-private/ts/tokens/base/size/size.d.ts +1 -1
  42. package/tokens-v2-private/ts/tokens/base/size/size.js +1 -1
  43. package/tokens-v2-private/ts/tokens/base/typography/typography.d.ts +1 -1
  44. package/tokens-v2-private/ts/tokens/base/typography/typography.js +1 -1
  45. package/tokens-v2-private/ts/tokens/functional/size/border.d.ts +1 -1
  46. package/tokens-v2-private/ts/tokens/functional/size/border.js +1 -1
  47. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.d.ts +1 -1
  48. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.js +1 -1
  49. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.d.ts +1 -1
  50. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.js +1 -1
  51. package/tokens-v2-private/ts/tokens/functional/size/size-fine.d.ts +1 -1
  52. package/tokens-v2-private/ts/tokens/functional/size/size-fine.js +1 -1
  53. package/tokens-v2-private/ts/tokens/functional/size/size.d.ts +1 -1
  54. package/tokens-v2-private/ts/tokens/functional/size/size.js +1 -1
  55. package/tokens-v2-private/ts/tokens/functional/size/viewport.d.ts +1 -1
  56. package/tokens-v2-private/ts/tokens/functional/size/viewport.js +1 -1
  57. package/tokens-v2-private/ts/tokens/functional/typography/typography.d.ts +1 -1
  58. package/tokens-v2-private/ts/tokens/functional/typography/typography.js +1 -1
package/CHANGELOG.md CHANGED
@@ -4,6 +4,41 @@
4
4
 
5
5
  ### Minor Changes
6
6
 
7
+ - [#449](https://github.com/primer/primitives/pull/449) [`7130392`](https://github.com/primer/primitives/commit/7130392a2e152265f14020866c71a119cc888847) Thanks [@rezrah](https://github.com/rezrah)! - Deprecated marketing design tokens for Button components
8
+
9
+ Marketing tokens will be served from `@primer/brand-primitives` in future.
10
+
11
+ ```bash
12
+ npm install --save @primer/brand-primitives
13
+ ```
14
+
15
+ ```diff
16
+ - ---color-mktg-btn-bg
17
+ + --brand-Button-background-base
18
+ ```
19
+
20
+ ```diff
21
+ - --color-mktg-btn-shadow-outline
22
+ + --brand-Button-shadow-default
23
+ ```
24
+
25
+ ```diff
26
+ - --color-mktg-btn-shadow-focus
27
+ + --brand-Button-shadow-focus
28
+ ```
29
+
30
+ ```diff
31
+ - --color-mktg-btn-shadow-hover
32
+ + --brand-Button-shadow-primary-hover
33
+ ```
34
+
35
+ ```diff
36
+ - --color-mktg-btn-shadow-muted
37
+ + --color-mktg-btn-shadow-hover-muted
38
+ ```
39
+
40
+ :link: [See the `0.9.0` for all other tokens.](https://unpkg.com/browse/@primer/brand-primitives@0.9.0/lib/design-tokens/css/tokens/functional/components/button/colors-with-modes.css)
41
+
7
42
  - [#385](https://github.com/primer/primitives/pull/385) [`e03c7fd`](https://github.com/primer/primitives/commit/e03c7fd8a6d902e8d7784fd889acb3779236ba51) Thanks [@simurai](https://github.com/simurai)! - Add `Noto Sans` to the font stack
8
43
 
9
44
  - [#384](https://github.com/primer/primitives/pull/384) [`8b76794`](https://github.com/primer/primitives/commit/8b767947e35a79db17b9d7970836f03c904c8afe) Thanks [@langermank](https://github.com/langermank)! - - Remove deprecated focus color tokens in favor of "global" styles from Primer CSS
package/README.md CHANGED
@@ -63,7 +63,7 @@ When you're ready to remove a variable, first remove it's definitions:
63
63
 
64
64
  ```diff
65
65
  // data/colors/vars/global_light.ts
66
- import {get} from '../../../src/utils'
66
+ import {get} from '../../../src/utils-v1'
67
67
 
68
68
  export default {
69
69
  text: {
@@ -75,7 +75,7 @@ export default {
75
75
 
76
76
  ```diff
77
77
  // data/colors/vars/global_dark.ts
78
- import {get} from '../../../src/utils'
78
+ import {get} from '../../../src/utils-v1'
79
79
 
80
80
  export default {
81
81
  text: {