@atlaskit/eslint-plugin-design-system 9.6.0 → 10.0.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 (151) hide show
  1. package/CHANGELOG.md +1004 -411
  2. package/README.md +7 -5
  3. package/constellation/consistent-css-prop-usage/usage.mdx +44 -30
  4. package/constellation/ensure-design-token-usage/usage.mdx +12 -7
  5. package/constellation/ensure-design-token-usage-preview/usage.mdx +2 -1
  6. package/constellation/icon-label/usage.mdx +5 -3
  7. package/constellation/index/usage.mdx +5 -2
  8. package/constellation/no-banned-imports/usage.mdx +3 -1
  9. package/constellation/no-css-tagged-template-expression/usage.mdx +22 -17
  10. package/constellation/no-deprecated-apis/usage.mdx +33 -27
  11. package/constellation/no-deprecated-design-token-usage/usage.mdx +7 -4
  12. package/constellation/no-deprecated-imports/usage.mdx +31 -27
  13. package/constellation/no-direct-use-of-web-platform-drag-and-drop/usage.mdx +19 -10
  14. package/constellation/no-empty-styled-expression/usage.mdx +19 -14
  15. package/constellation/no-exported-css/usage.mdx +15 -10
  16. package/constellation/no-exported-keyframes/usage.mdx +15 -10
  17. package/constellation/no-html-anchor/usage.mdx +40 -0
  18. package/constellation/no-html-button/usage.mdx +52 -0
  19. package/constellation/no-invalid-css-map/usage.mdx +69 -58
  20. package/constellation/no-keyframes-tagged-template-expression/usage.mdx +24 -18
  21. package/constellation/no-margin/usage.mdx +3 -2
  22. package/constellation/no-nested-styles/usage.mdx +16 -16
  23. package/constellation/no-physical-properties/usage.mdx +13 -13
  24. package/constellation/no-styled-tagged-template-expression/usage.mdx +39 -34
  25. package/constellation/no-unsafe-design-token-usage/usage.mdx +8 -7
  26. package/constellation/no-unsafe-style-overrides/usage.mdx +10 -7
  27. package/constellation/no-unsupported-drag-and-drop-libraries/usage.mdx +8 -2
  28. package/constellation/prefer-primitives/usage.mdx +3 -2
  29. package/constellation/use-button-group-label/usage.mdx +4 -2
  30. package/constellation/use-drawer-label/usage.mdx +4 -2
  31. package/constellation/use-heading/usage.mdx +7 -4
  32. package/constellation/use-heading-level-in-spotlight-card/usage.mdx +3 -2
  33. package/constellation/use-href-in-link-item/usage.mdx +2 -1
  34. package/constellation/use-popup-label/usage.mdx +56 -0
  35. package/constellation/use-primitives/usage.mdx +40 -39
  36. package/constellation/use-primitives-text/usage.mdx +7 -3
  37. package/constellation/use-tokens-space/usage.mdx +7 -3
  38. package/constellation/use-tokens-typography/usage.mdx +15 -6
  39. package/constellation/use-visually-hidden/usage.mdx +2 -1
  40. package/dist/cjs/common/token-maps.partial.js +49 -0
  41. package/dist/cjs/index.codegen.js +1 -1
  42. package/dist/cjs/presets/all.codegen.js +4 -2
  43. package/dist/cjs/presets/recommended.codegen.js +2 -1
  44. package/dist/cjs/rules/index.codegen.js +7 -3
  45. package/dist/cjs/rules/no-html-anchor/index.js +39 -0
  46. package/dist/cjs/rules/no-html-anchor/node-types/index.js +19 -0
  47. package/dist/cjs/rules/no-html-anchor/node-types/jsx-element/index.js +28 -0
  48. package/dist/cjs/rules/no-html-anchor/node-types/styled-component/get-styled-component-call.js +47 -0
  49. package/dist/cjs/rules/no-html-anchor/node-types/styled-component/index.js +37 -0
  50. package/dist/cjs/rules/no-html-anchor/node-types/supported.js +66 -0
  51. package/dist/cjs/rules/no-html-anchor/utils/get-jsx-element-by-name.js +53 -0
  52. package/dist/cjs/rules/no-html-button/index.js +39 -0
  53. package/dist/cjs/rules/no-html-button/node-types/index.js +19 -0
  54. package/dist/cjs/rules/no-html-button/node-types/jsx-element/index.js +28 -0
  55. package/dist/cjs/rules/no-html-button/node-types/styled-component/get-styled-component-call.js +47 -0
  56. package/dist/cjs/rules/no-html-button/node-types/styled-component/index.js +37 -0
  57. package/dist/cjs/rules/no-html-button/node-types/supported.js +79 -0
  58. package/dist/cjs/rules/no-html-button/utils/get-jsx-element-by-name.js +53 -0
  59. package/dist/cjs/rules/use-popup-label/index.js +90 -0
  60. package/dist/es2019/common/token-maps.partial.js +42 -0
  61. package/dist/es2019/index.codegen.js +1 -1
  62. package/dist/es2019/presets/all.codegen.js +4 -2
  63. package/dist/es2019/presets/recommended.codegen.js +2 -1
  64. package/dist/es2019/rules/index.codegen.js +7 -3
  65. package/dist/es2019/rules/no-html-anchor/index.js +33 -0
  66. package/dist/es2019/rules/no-html-anchor/node-types/index.js +2 -0
  67. package/dist/es2019/rules/no-html-anchor/node-types/jsx-element/index.js +20 -0
  68. package/dist/es2019/rules/no-html-anchor/node-types/styled-component/get-styled-component-call.js +42 -0
  69. package/dist/es2019/rules/no-html-anchor/node-types/styled-component/index.js +32 -0
  70. package/dist/es2019/rules/no-html-anchor/node-types/supported.js +56 -0
  71. package/dist/es2019/rules/no-html-anchor/utils/get-jsx-element-by-name.js +39 -0
  72. package/dist/es2019/rules/no-html-button/index.js +33 -0
  73. package/dist/es2019/rules/no-html-button/node-types/index.js +2 -0
  74. package/dist/es2019/rules/no-html-button/node-types/jsx-element/index.js +20 -0
  75. package/dist/es2019/rules/no-html-button/node-types/styled-component/get-styled-component-call.js +42 -0
  76. package/dist/es2019/rules/no-html-button/node-types/styled-component/index.js +32 -0
  77. package/dist/es2019/rules/no-html-button/node-types/supported.js +69 -0
  78. package/dist/es2019/rules/no-html-button/utils/get-jsx-element-by-name.js +39 -0
  79. package/dist/es2019/rules/use-popup-label/index.js +80 -0
  80. package/dist/esm/common/token-maps.partial.js +42 -0
  81. package/dist/esm/index.codegen.js +1 -1
  82. package/dist/esm/presets/all.codegen.js +4 -2
  83. package/dist/esm/presets/recommended.codegen.js +2 -1
  84. package/dist/esm/rules/index.codegen.js +7 -3
  85. package/dist/esm/rules/no-html-anchor/index.js +33 -0
  86. package/dist/esm/rules/no-html-anchor/node-types/index.js +2 -0
  87. package/dist/esm/rules/no-html-anchor/node-types/jsx-element/index.js +19 -0
  88. package/dist/esm/rules/no-html-anchor/node-types/styled-component/get-styled-component-call.js +42 -0
  89. package/dist/esm/rules/no-html-anchor/node-types/styled-component/index.js +31 -0
  90. package/dist/esm/rules/no-html-anchor/node-types/supported.js +57 -0
  91. package/dist/esm/rules/no-html-anchor/utils/get-jsx-element-by-name.js +47 -0
  92. package/dist/esm/rules/no-html-button/index.js +33 -0
  93. package/dist/esm/rules/no-html-button/node-types/index.js +2 -0
  94. package/dist/esm/rules/no-html-button/node-types/jsx-element/index.js +19 -0
  95. package/dist/esm/rules/no-html-button/node-types/styled-component/get-styled-component-call.js +42 -0
  96. package/dist/esm/rules/no-html-button/node-types/styled-component/index.js +31 -0
  97. package/dist/esm/rules/no-html-button/node-types/supported.js +70 -0
  98. package/dist/esm/rules/no-html-button/utils/get-jsx-element-by-name.js +47 -0
  99. package/dist/esm/rules/use-popup-label/index.js +84 -0
  100. package/dist/types/common/token-maps.partial.d.ts +65 -0
  101. package/dist/types/index.codegen.d.ts +4 -1
  102. package/dist/types/presets/all.codegen.d.ts +4 -2
  103. package/dist/types/presets/recommended.codegen.d.ts +2 -1
  104. package/dist/types/rules/index.codegen.d.ts +3 -1
  105. package/dist/types/rules/no-html-anchor/index.d.ts +3 -0
  106. package/dist/types/rules/no-html-anchor/node-types/index.d.ts +2 -0
  107. package/dist/types/rules/no-html-anchor/node-types/jsx-element/index.d.ts +8 -0
  108. package/dist/types/rules/no-html-anchor/node-types/styled-component/get-styled-component-call.d.ts +6 -0
  109. package/dist/types/rules/no-html-anchor/node-types/styled-component/index.d.ts +8 -0
  110. package/dist/types/rules/no-html-anchor/node-types/supported.d.ts +7 -0
  111. package/dist/types/rules/no-html-anchor/utils/get-jsx-element-by-name.d.ts +6 -0
  112. package/dist/types/rules/no-html-button/index.d.ts +3 -0
  113. package/dist/types/rules/no-html-button/node-types/index.d.ts +2 -0
  114. package/dist/types/rules/no-html-button/node-types/jsx-element/index.d.ts +8 -0
  115. package/dist/types/rules/no-html-button/node-types/styled-component/get-styled-component-call.d.ts +6 -0
  116. package/dist/types/rules/no-html-button/node-types/styled-component/index.d.ts +8 -0
  117. package/dist/types/rules/no-html-button/node-types/supported.d.ts +7 -0
  118. package/dist/types/rules/no-html-button/utils/get-jsx-element-by-name.d.ts +6 -0
  119. package/dist/types/rules/use-popup-label/index.d.ts +3 -0
  120. package/dist/types/rules/use-tokens-typography/utils.d.ts +0 -33
  121. package/dist/types-ts4.5/common/token-maps.partial.d.ts +65 -0
  122. package/dist/types-ts4.5/index.codegen.d.ts +4 -1
  123. package/dist/types-ts4.5/presets/all.codegen.d.ts +4 -2
  124. package/dist/types-ts4.5/presets/recommended.codegen.d.ts +2 -1
  125. package/dist/types-ts4.5/rules/index.codegen.d.ts +3 -1
  126. package/dist/types-ts4.5/rules/no-html-anchor/node-types/index.d.ts +2 -0
  127. package/dist/types-ts4.5/rules/no-html-anchor/node-types/jsx-element/index.d.ts +8 -0
  128. package/dist/types-ts4.5/rules/no-html-anchor/node-types/styled-component/get-styled-component-call.d.ts +6 -0
  129. package/dist/types-ts4.5/rules/no-html-anchor/node-types/styled-component/index.d.ts +8 -0
  130. package/dist/types-ts4.5/rules/no-html-anchor/node-types/supported.d.ts +7 -0
  131. package/dist/types-ts4.5/rules/no-html-anchor/utils/get-jsx-element-by-name.d.ts +6 -0
  132. package/dist/types-ts4.5/rules/no-html-button/node-types/index.d.ts +2 -0
  133. package/dist/types-ts4.5/rules/no-html-button/node-types/jsx-element/index.d.ts +8 -0
  134. package/dist/types-ts4.5/rules/no-html-button/node-types/styled-component/get-styled-component-call.d.ts +6 -0
  135. package/dist/types-ts4.5/rules/no-html-button/node-types/styled-component/index.d.ts +8 -0
  136. package/dist/types-ts4.5/rules/no-html-button/node-types/supported.d.ts +7 -0
  137. package/dist/types-ts4.5/rules/no-html-button/utils/get-jsx-element-by-name.d.ts +6 -0
  138. package/dist/types-ts4.5/rules/use-popup-label/index.d.ts +3 -0
  139. package/dist/types-ts4.5/rules/use-tokens-typography/utils.d.ts +0 -33
  140. package/package.json +4 -3
  141. package/constellation/no-html-button-element/usage.mdx +0 -26
  142. package/dist/cjs/rules/no-html-button-element/index.js +0 -107
  143. package/dist/cjs/rules/no-html-button-element/utils.js +0 -18
  144. package/dist/es2019/rules/no-html-button-element/index.js +0 -101
  145. package/dist/es2019/rules/no-html-button-element/utils.js +0 -12
  146. package/dist/esm/rules/no-html-button-element/index.js +0 -101
  147. package/dist/esm/rules/no-html-button-element/utils.js +0 -12
  148. package/dist/types/rules/no-html-button-element/utils.d.ts +0 -2
  149. package/dist/types-ts4.5/rules/no-html-button-element/utils.d.ts +0 -2
  150. /package/dist/types-ts4.5/rules/{no-html-button-element → no-html-anchor}/index.d.ts +0 -0
  151. /package/dist/{types/rules/no-html-button-element → types-ts4.5/rules/no-html-button}/index.d.ts +0 -0
package/CHANGELOG.md CHANGED
@@ -1,720 +1,967 @@
1
1
  # @atlaskit/eslint-plugin-design-system
2
2
 
3
+ ## 10.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [#96329](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96329)
8
+ [`16e879f9ab10`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/16e879f9ab10) -
9
+ Renamed the `no-html-button-element` rule to `no-html-button`. This rule is not yet in use, so
10
+ it should not be a breaking change. The new name reflects the broadened scope of the rule to not
11
+ only include `<button>` elements, but other forms of HTML buttons such as
12
+ `<input type="button" />` and `role="button"`.
13
+
14
+ ### Minor Changes
15
+
16
+ - [#97630](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97630)
17
+ [`8cac5287d0c4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8cac5287d0c4) -
18
+ Adding new rule: `no-html-anchor`. This discourages usage of native HTML anchors and favors ADS
19
+ link components.
20
+
21
+ ## 9.7.0
22
+
23
+ ### Minor Changes
24
+
25
+ - [#91673](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91673)
26
+ [`e757c83a22ee`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e757c83a22ee) -
27
+ Introducing new rule to encourage adding/referencing accessible name to a Popup component.
28
+
3
29
  ## 9.6.0
4
30
 
5
31
  ### Minor Changes
6
32
 
7
- - [#94356](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94356) [`8c4f5854f3da`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8c4f5854f3da) - The `icon-label` rule now supports label being defined via spreading render props in the new buttons.
33
+ - [#94356](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94356)
34
+ [`8c4f5854f3da`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8c4f5854f3da) -
35
+ The `icon-label` rule now supports label being defined via spreading render props in the new
36
+ buttons.
8
37
 
9
38
  ## 9.5.2
10
39
 
11
40
  ### Patch Changes
12
41
 
13
- - [#92007](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92007) [`85525725cb0d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/85525725cb0d) - Migrated to the new button component
42
+ - [#92007](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92007)
43
+ [`85525725cb0d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/85525725cb0d) -
44
+ Migrated to the new button component
14
45
 
15
46
  ## 9.5.1
16
47
 
17
48
  ### Patch Changes
18
49
 
19
- - [#87213](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87213) [`c7caf85c839c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c7caf85c839c) - Internal refactoring to `no-invalid-css-map` to use new shared utilities from `@atlaskit/eslint-utils` for determining allowed functions calls.
20
- - Updated dependencies
50
+ - [#87213](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87213)
51
+ [`c7caf85c839c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c7caf85c839c) -
52
+ Internal refactoring to `no-invalid-css-map` to use new shared utilities from
53
+ `@atlaskit/eslint-utils` for determining allowed functions calls.
54
+ - Updated dependencies
21
55
 
22
56
  ## 9.5.0
23
57
 
24
58
  ### Minor Changes
25
59
 
26
- - [#91506](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91506) [`2724a3783955`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2724a3783955) - Add support for React 18.
60
+ - [#91506](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91506)
61
+ [`2724a3783955`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2724a3783955) -
62
+ Add support for React 18.
27
63
 
28
64
  ## 9.4.1
29
65
 
30
66
  ### Patch Changes
31
67
 
32
- - [#90125](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/90125) [`3ee5bf94b4fd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3ee5bf94b4fd) - Added the `shouldEnforceFallbacks` option to the `use-tokens-typography` rule which can be used to prevent token fallback values being added automatically.
68
+ - [#90125](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/90125)
69
+ [`3ee5bf94b4fd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3ee5bf94b4fd) -
70
+ Added the `shouldEnforceFallbacks` option to the `use-tokens-typography` rule which can be used
71
+ to prevent token fallback values being added automatically.
33
72
 
34
73
  ## 9.4.0
35
74
 
36
75
  ### Minor Changes
37
76
 
38
- - [#88717](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/88717) [`5332c5b63887`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5332c5b63887) - Adding new eslint rule `@atlaskit/design-system/no-direct-use-of-web-platform-drag-and-drop` to block using web platform drag and drop directly.
77
+ - [#88717](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/88717)
78
+ [`5332c5b63887`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5332c5b63887) -
79
+ Adding new eslint rule `@atlaskit/design-system/no-direct-use-of-web-platform-drag-and-drop` to
80
+ block using web platform drag and drop directly.
39
81
 
40
82
  ## 9.3.1
41
83
 
42
84
  ### Patch Changes
43
85
 
44
- - [#88012](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/88012) [`c478a4d80fc9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c478a4d80fc9) - The `no-*-tagged-template-expression` rules will no longer autofix usages with mixins in nested selectors. This is because they were producing an array syntax that is not valid in compiled or styled-components.
86
+ - [#88012](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/88012)
87
+ [`c478a4d80fc9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c478a4d80fc9) -
88
+ The `no-*-tagged-template-expression` rules will no longer autofix usages with mixins in nested
89
+ selectors. This is because they were producing an array syntax that is not valid in compiled or
90
+ styled-components.
45
91
 
46
92
  ## 9.3.0
47
93
 
48
94
  ### Minor Changes
49
95
 
50
- - [#87586](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87586) [`47d9f5fb1b11`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/47d9f5fb1b11) - Added use-heading rule
96
+ - [#87586](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87586)
97
+ [`47d9f5fb1b11`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/47d9f5fb1b11) -
98
+ Added use-heading rule
51
99
 
52
100
  ### Patch Changes
53
101
 
54
- - [#87476](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87476) [`af296d200ad2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/af296d200ad2) - Internal refactoring to use `getCreateLintRule` from `@atlaskit/eslint-utils`
55
- - Updated dependencies
102
+ - [#87476](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87476)
103
+ [`af296d200ad2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/af296d200ad2) -
104
+ Internal refactoring to use `getCreateLintRule` from `@atlaskit/eslint-utils`
105
+ - Updated dependencies
56
106
 
57
107
  ## 9.2.5
58
108
 
59
109
  ### Patch Changes
60
110
 
61
- - [#87434](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87434) [`dda5ca94da13`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/dda5ca94da13) - `use-primitives` - bail on dimension properties that have token call values.
111
+ - [#87434](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87434)
112
+ [`dda5ca94da13`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/dda5ca94da13) -
113
+ `use-primitives` - bail on dimension properties that have token call values.
62
114
 
63
115
  ## 9.2.4
64
116
 
65
117
  ### Patch Changes
66
118
 
67
- - [#86638](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86638) [`f003f07e88e1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f003f07e88e1) - Internal refactoring to use a shared `@atlaskit/eslint-utils` package
68
- - Updated dependencies
119
+ - [#86638](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86638)
120
+ [`f003f07e88e1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f003f07e88e1) -
121
+ Internal refactoring to use a shared `@atlaskit/eslint-utils` package
122
+ - Updated dependencies
69
123
 
70
124
  ## 9.2.3
71
125
 
72
126
  ### Patch Changes
73
127
 
74
- - [#86352](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86352) [`c32535ff8734`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c32535ff8734) - Fixed an issue where the `ensure-design-token-usage` rule (and by extension `ensure-design-token-usage/preview` rule) would report on color properties even if `"color"` was not provided in the domains config.
128
+ - [#86352](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86352)
129
+ [`c32535ff8734`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c32535ff8734) -
130
+ Fixed an issue where the `ensure-design-token-usage` rule (and by extension
131
+ `ensure-design-token-usage/preview` rule) would report on color properties even if `"color"` was
132
+ not provided in the domains config.
75
133
 
76
134
  ## 9.2.2
77
135
 
78
136
  ### Patch Changes
79
137
 
80
- - [#86321](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86321) [`b353b26e22b6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b353b26e22b6) - Improvements for `no-*-tagged-template-expression` rules:
138
+ - [#86321](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86321)
139
+ [`b353b26e22b6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b353b26e22b6) -
140
+ Improvements for `no-*-tagged-template-expression` rules:
81
141
 
82
- - Fixed a bug that could produce syntax errors when mixins were present in nested selectors.
83
- - Disabled autofixing styled components usages with mixins in nested selectors, as there is no general equivalent.
84
- - Disabled autofixing function interpolations with non-expression bodies.
142
+ - Fixed a bug that could produce syntax errors when mixins were present in nested selectors.
143
+ - Disabled autofixing styled components usages with mixins in nested selectors, as there is no
144
+ general equivalent.
145
+ - Disabled autofixing function interpolations with non-expression bodies.
85
146
 
86
147
  ## 9.2.1
87
148
 
88
149
  ### Patch Changes
89
150
 
90
- - [#85899](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/85899) [`4ee3baaad3b7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4ee3baaad3b7) - Loosen our final autofix check to just ignore all interpolated keys or properties in general for all `no-*-tagged-template-expression` rules as they may result in broken code in some edge-cases.
151
+ - [#85899](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/85899)
152
+ [`4ee3baaad3b7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4ee3baaad3b7) -
153
+ Loosen our final autofix check to just ignore all interpolated keys or properties in general for
154
+ all `no-*-tagged-template-expression` rules as they may result in broken code in some
155
+ edge-cases.
91
156
 
92
157
  ## 9.2.0
93
158
 
94
159
  ### Minor Changes
95
160
 
96
- - [#84330](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/84330) [`391be0d8e414`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/391be0d8e414) - - `prefer-primitives`: This rule is now deprecated. Please use `use-primitives` instead.
97
- - `ensure-design-token-usage/preview`: This rule is now deprecated. Please use `use-tokens-space` instead.
161
+ - [#84330](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/84330)
162
+ [`391be0d8e414`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/391be0d8e414) - -
163
+ `prefer-primitives`: This rule is now deprecated. Please use `use-primitives` instead.
164
+ - `ensure-design-token-usage/preview`: This rule is now deprecated. Please use
165
+ `use-tokens-space` instead.
98
166
 
99
167
  ## 9.1.0
100
168
 
101
169
  ### Minor Changes
102
170
 
103
- - [#84334](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/84334) [`b2134858ba58`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b2134858ba58) - The `use-tokens-typography` rule now applies token fallbacks that reference the constants exported via `@atlaskit/theme/typography`, rather than applying the fallback string inline.
171
+ - [#84334](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/84334)
172
+ [`b2134858ba58`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b2134858ba58) -
173
+ The `use-tokens-typography` rule now applies token fallbacks that reference the constants
174
+ exported via `@atlaskit/theme/typography`, rather than applying the fallback string inline.
104
175
 
105
176
  ## 9.0.0
106
177
 
107
178
  ### Major Changes
108
179
 
109
- - [#83454](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83454) [`be8b7ad6ff8e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/be8b7ad6ff8e) - Remove name autofixer from `consistent-css-prop-usage`. Variables for css / xcss / cssMap functions will no longer be required to end with "Styles".
180
+ - [#83454](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83454)
181
+ [`be8b7ad6ff8e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/be8b7ad6ff8e) -
182
+ Remove name autofixer from `consistent-css-prop-usage`. Variables for css / xcss / cssMap
183
+ functions will no longer be required to end with "Styles".
110
184
 
111
- [BREAKING] Some rule options have been changed:
185
+ [BREAKING] Some rule options have been changed:
112
186
 
113
- - `fixNamesOnly` and `autoFixNames` have been removed, as there is no longer an autofixer that enforces variable names.
114
- - If you use `fixNamesOnly: true`, we recommend switching to using `autoFix: false`.
115
- - Users of the `autoFixNames` option should remove this from their configuration.
116
- - `autoFix` option has been added. This controls whether the remaining autofixers should run or not (e.g. hoisting `css` function calls, wrapping objects in `css` function calls), and is `true` by default.
187
+ - `fixNamesOnly` and `autoFixNames` have been removed, as there is no longer an autofixer that
188
+ enforces variable names.
189
+ - If you use `fixNamesOnly: true`, we recommend switching to using `autoFix: false`.
190
+ - Users of the `autoFixNames` option should remove this from their configuration.
191
+ - `autoFix` option has been added. This controls whether the remaining autofixers should run
192
+ or not (e.g. hoisting `css` function calls, wrapping objects in `css` function calls), and
193
+ is `true` by default.
117
194
 
118
195
  ## 8.38.0
119
196
 
120
197
  ### Minor Changes
121
198
 
122
- - [#74844](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/74844) [`7c7b8a771792`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7c7b8a771792) - Created `use-tokens-space` lint rule to replace `ensure-design-token-usage` rule for space values.
199
+ - [#74844](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/74844)
200
+ [`7c7b8a771792`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7c7b8a771792) -
201
+ Created `use-tokens-space` lint rule to replace `ensure-design-token-usage` rule for space
202
+ values.
123
203
 
124
204
  ## 8.37.3
125
205
 
126
206
  ### Patch Changes
127
207
 
128
- - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116) [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) - Upgrade Typescript from `4.9.5` to `5.4.2`
208
+ - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
209
+ [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
210
+ Upgrade Typescript from `4.9.5` to `5.4.2`
129
211
 
130
212
  ## 8.37.2
131
213
 
132
214
  ### Patch Changes
133
215
 
134
- - [#80662](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80662) [`4833299b00d4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4833299b00d4) - For `no-css-tagged-template-expression` and `no-styled-tagged-template-expression`:
216
+ - [#80662](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80662)
217
+ [`4833299b00d4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4833299b00d4) -
218
+ For `no-css-tagged-template-expression` and `no-styled-tagged-template-expression`:
135
219
 
136
- - When importing from Emotion, stop applying autofixer when the styles contain `!important`.
137
- - When importing from any library, stop applying autofixer when a selector contains a tagged template interpolation (previously only styled-components).
220
+ - When importing from Emotion, stop applying autofixer when the styles contain `!important`.
221
+ - When importing from any library, stop applying autofixer when a selector contains a tagged
222
+ template interpolation (previously only styled-components).
138
223
 
139
- - [#81697](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81697) [`cf3483e7e87d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cf3483e7e87d) - Adding a missing `license` entry to the `package.json` for this package. This package was already licensed under `Apache-2.0` (see `LICENSE` file), so this change is not changing it's license.
224
+ - [#81697](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81697)
225
+ [`cf3483e7e87d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cf3483e7e87d) -
226
+ Adding a missing `license` entry to the `package.json` for this package. This package was
227
+ already licensed under `Apache-2.0` (see `LICENSE` file), so this change is not changing it's
228
+ license.
140
229
 
141
230
  ## 8.37.1
142
231
 
143
232
  ### Patch Changes
144
233
 
145
- - [#81307](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81307) [`6420f933c8ae`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6420f933c8ae) - Fix issue where `use-primitives` was incorrectly transforming styles with string properties.
234
+ - [#81307](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81307)
235
+ [`6420f933c8ae`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6420f933c8ae) -
236
+ Fix issue where `use-primitives` was incorrectly transforming styles with string properties.
146
237
 
147
238
  ## 8.37.0
148
239
 
149
240
  ### Minor Changes
150
241
 
151
- - [#81166](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81166) [`a249a1bd29a6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a249a1bd29a6) - Upgrade ESLint to version 8
242
+ - [#81166](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81166)
243
+ [`a249a1bd29a6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a249a1bd29a6) -
244
+ Upgrade ESLint to version 8
152
245
 
153
246
  ## 8.36.3
154
247
 
155
248
  ### Patch Changes
156
249
 
157
- - [#77172](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77172) [`0e9162a7371a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0e9162a7371a) - Fixes issues with CSS var and content string handling for the `no-*-tagged-template-expression` rules
250
+ - [#77172](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77172)
251
+ [`0e9162a7371a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0e9162a7371a) -
252
+ Fixes issues with CSS var and content string handling for the `no-*-tagged-template-expression`
253
+ rules
158
254
 
159
255
  ## 8.36.2
160
256
 
161
257
  ### Patch Changes
162
258
 
163
- - [#80471](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80471) [`bf21a3bfe85e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/bf21a3bfe85e) - Add `autoFixNames` option to `consistent-css-prop-usage`. When set to false, the autofix naming that enforces style variables ending in the word "Styles" will be turned off. True by default.
164
- - [#80469](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80469) [`0b4b7268ef16`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0b4b7268ef16) - Fixed an issue with `ensure-design-token-usage` where styles inside xcss could be incorrectly linted against.
165
- - [#80518](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80518) [`0f90b6e17490`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0f90b6e17490) - Ignore function-like interpolations in selectors for `no-css-tagged-template-expression`, `no-styled-…`, and `no-keyframes-…`
259
+ - [#80471](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80471)
260
+ [`bf21a3bfe85e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/bf21a3bfe85e) -
261
+ Add `autoFixNames` option to `consistent-css-prop-usage`. When set to false, the autofix naming
262
+ that enforces style variables ending in the word "Styles" will be turned off. True by default.
263
+ - [#80469](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80469)
264
+ [`0b4b7268ef16`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0b4b7268ef16) -
265
+ Fixed an issue with `ensure-design-token-usage` where styles inside xcss could be incorrectly
266
+ linted against.
267
+ - [#80518](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80518)
268
+ [`0f90b6e17490`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0f90b6e17490) -
269
+ Ignore function-like interpolations in selectors for `no-css-tagged-template-expression`,
270
+ `no-styled-…`, and `no-keyframes-…`
166
271
 
167
272
  ## 8.36.1
168
273
 
169
274
  ### Patch Changes
170
275
 
171
- - [#79810](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/79810) [`8c6e96aa3cf0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8c6e96aa3cf0) - Fixed an issue with `ensure-design-token-usage` where color props on primitive components could report an error.
276
+ - [#79810](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/79810)
277
+ [`8c6e96aa3cf0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8c6e96aa3cf0) -
278
+ Fixed an issue with `ensure-design-token-usage` where color props on primitive components could
279
+ report an error.
172
280
 
173
281
  ## 8.36.0
174
282
 
175
283
  ### Minor Changes
176
284
 
177
- - [#78346](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78346) [`d20b2626a3b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d20b2626a3b0) - Adds support for use-primitives linting rule matching JSX elements declared before styles.
285
+ - [#78346](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78346)
286
+ [`d20b2626a3b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d20b2626a3b0) -
287
+ Adds support for use-primitives linting rule matching JSX elements declared before styles.
178
288
 
179
289
  ## 8.35.1
180
290
 
181
291
  ### Patch Changes
182
292
 
183
- - [#78282](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78282) [`e19154833d5f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e19154833d5f) - Missing allowed props check for single paragraph elements
293
+ - [#78282](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78282)
294
+ [`e19154833d5f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e19154833d5f) -
295
+ Missing allowed props check for single paragraph elements
184
296
 
185
297
  ## 8.35.0
186
298
 
187
299
  ### Minor Changes
188
300
 
189
- - [#77589](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77589) [`744ea21e3367`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/744ea21e3367) - Update use-primitives-text rule for new defaults in Text primitive component
301
+ - [#77589](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77589)
302
+ [`744ea21e3367`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/744ea21e3367) -
303
+ Update use-primitives-text rule for new defaults in Text primitive component
190
304
 
191
305
  ### Patch Changes
192
306
 
193
- - Updated dependencies
307
+ - Updated dependencies
194
308
 
195
309
  ## 8.34.0
196
310
 
197
311
  ### Minor Changes
198
312
 
199
- - [#75311](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75311) [`96ca033f8748`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/96ca033f8748) - Added new `use-tokens-typography` rule that handles converting fontSize and similar font properties to tokens. Removed typography functionality from `ensure-design-token-usage` rule.
313
+ - [#75311](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75311)
314
+ [`96ca033f8748`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/96ca033f8748) -
315
+ Added new `use-tokens-typography` rule that handles converting fontSize and similar font
316
+ properties to tokens. Removed typography functionality from `ensure-design-token-usage` rule.
200
317
 
201
318
  ## 8.33.0
202
319
 
203
320
  ### Minor Changes
204
321
 
205
- - [#77488](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77488) [`babedf52898f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/babedf52898f) - Add support for inline `cx` func inside `xcss` prop for the `consistent-css-prop-usage` rule.
322
+ - [#77488](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77488)
323
+ [`babedf52898f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/babedf52898f) -
324
+ Add support for inline `cx` func inside `xcss` prop for the `consistent-css-prop-usage` rule.
206
325
 
207
326
  ## 8.32.2
208
327
 
209
328
  ### Patch Changes
210
329
 
211
- - [#77485](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77485) [`887b1a3193ce`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/887b1a3193ce) - For `no-styled-tagged-template-expression`, do not autofix component selectors for `styled-components` implementations
330
+ - [#77485](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77485)
331
+ [`887b1a3193ce`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/887b1a3193ce) -
332
+ For `no-styled-tagged-template-expression`, do not autofix component selectors for
333
+ `styled-components` implementations
212
334
 
213
335
  ## 8.32.1
214
336
 
215
337
  ### Patch Changes
216
338
 
217
- - [#77519](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77519) [`6507c28d3c88`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6507c28d3c88) - Refactor implementation of `no-css-tagged-template-expression`. No change to functionality expected.
339
+ - [#77519](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77519)
340
+ [`6507c28d3c88`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6507c28d3c88) -
341
+ Refactor implementation of `no-css-tagged-template-expression`. No change to functionality
342
+ expected.
218
343
 
219
344
  ## 8.32.0
220
345
 
221
346
  ### Minor Changes
222
347
 
223
- - [#58240](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58240) [`39f3c929f0c4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/39f3c929f0c4) - Add new rule `no-html-button-element` to enforce usage of Pressable and Button
348
+ - [#58240](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58240)
349
+ [`39f3c929f0c4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/39f3c929f0c4) -
350
+ Add new rule `no-html-button-element` to enforce usage of Pressable and Button
224
351
 
225
352
  ## 8.31.0
226
353
 
227
354
  ### Minor Changes
228
355
 
229
- - [#75600](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75600) [`6259d0d74690`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6259d0d74690) - Migrates the ESLint rule from `@atlaskit/design-system/local-cx-xcss` to `@atlaskit/ui-styling-standard/local-cx-xcss`—disruption is unexpected as this rule is not in use.
356
+ - [#75600](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75600)
357
+ [`6259d0d74690`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6259d0d74690) -
358
+ Migrates the ESLint rule from `@atlaskit/design-system/local-cx-xcss` to
359
+ `@atlaskit/ui-styling-standard/local-cx-xcss`—disruption is unexpected as this rule is not in
360
+ use.
230
361
 
231
362
  ## 8.30.0
232
363
 
233
364
  ### Minor Changes
234
365
 
235
- - [#75603](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75603) [`51cf4796aa02`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/51cf4796aa02) - Use primitives text component rule
366
+ - [#75603](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75603)
367
+ [`51cf4796aa02`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/51cf4796aa02) -
368
+ Use primitives text component rule
236
369
 
237
370
  ## 8.29.1
238
371
 
239
372
  ### Patch Changes
240
373
 
241
- - [#70616](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70616) [`e80736fccc77`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e80736fccc77) - Moving "no-unsupported-drag-and-drop-libraries" check to pdnd 1.0 API
242
- - [#75662](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75662) [`70585b558ebd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/70585b558ebd) - Adding "@formkit/drag-and-drop" to exclusion list for drag and drop library usage
374
+ - [#70616](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70616)
375
+ [`e80736fccc77`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e80736fccc77) -
376
+ Moving "no-unsupported-drag-and-drop-libraries" check to pdnd 1.0 API
377
+ - [#75662](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75662)
378
+ [`70585b558ebd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/70585b558ebd) -
379
+ Adding "@formkit/drag-and-drop" to exclusion list for drag and drop library usage
243
380
 
244
381
  ## 8.29.0
245
382
 
246
383
  ### Minor Changes
247
384
 
248
- - [#74069](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/74069) [`9bdcd6529453`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9bdcd6529453) - Allow use-primitives linting rule to lint style declarations with dimension properties.
385
+ - [#74069](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/74069)
386
+ [`9bdcd6529453`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9bdcd6529453) -
387
+ Allow use-primitives linting rule to lint style declarations with dimension properties.
249
388
 
250
389
  ## 8.28.0
251
390
 
252
391
  ### Minor Changes
253
392
 
254
- - [#72983](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72983) [`86e7b28c9c23`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/86e7b28c9c23) - Ported `no-keyframes-tagged-template-expression` and `no-styled-tagged-template-expression` rules from `@compiled/eslint-plugin`
393
+ - [#72983](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72983)
394
+ [`86e7b28c9c23`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/86e7b28c9c23) -
395
+ Ported `no-keyframes-tagged-template-expression` and `no-styled-tagged-template-expression`
396
+ rules from `@compiled/eslint-plugin`
255
397
 
256
398
  ## 8.27.0
257
399
 
258
400
  ### Minor Changes
259
401
 
260
- - [#72966](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72966) [`ec187f466e23`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ec187f466e23) - Update `consistent-css-prop-usage` to incorporate some updates previously made to the `@compiled/eslint-plugin` equivalent.
402
+ - [#72966](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72966)
403
+ [`ec187f466e23`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ec187f466e23) -
404
+ Update `consistent-css-prop-usage` to incorporate some updates previously made to the
405
+ `@compiled/eslint-plugin` equivalent.
261
406
 
262
- 1. Add autofixer to add the `css` function for the following scenario:
407
+ 1. Add autofixer to add the `css` function for the following scenario:
263
408
 
264
- ```
265
- const styles = { ... };
266
- <div css={styles} />
267
- ```
409
+ ```
410
+ const styles = { ... };
411
+ <div css={styles} />
412
+ ```
268
413
 
269
- Note that this autofixer will not run if local variables are used inside the style object (e.g. `{ height: makeTaller ? '5px' : '2px' }`), or if there are spread elements, template literals, and other tricky-to-parse code. These continue to require fixing manually.
414
+ Note that this autofixer will not run if local variables are used inside the style object (e.g.
415
+ `{ height: makeTaller ? '5px' : '2px' }`), or if there are spread elements, template literals,
416
+ and other tricky-to-parse code. These continue to require fixing manually.
270
417
 
271
- (This rule would previously only autofix if the file was originally `<div css={{ ... }} />`)
418
+ (This rule would previously only autofix if the file was originally `<div css={{ ... }} />`)
272
419
 
273
- 2. Add `import { css } from '@compiled/react'` (or `xcss`) automatically when fixing. The package from which to import the `css` function can be specified through the `importSource` option.
420
+ 2. Add `import { css } from '@compiled/react'` (or `xcss`) automatically when fixing. The
421
+ package from which to import the `css` function can be specified through the `importSource`
422
+ option.
274
423
 
275
- 3. Add `excludeReactComponents` to exclude linting React components (i.e. components that start with uppercase). Sometimes it may not be desirable to have this rule apply to React components (e.g. `@atlaskit/button`), which could either use the Emotion or Compiled APIs when they expose a `css` prop. Passing a function from the wrong library can result in the styling erroneously not being applied.
424
+ 3. Add `excludeReactComponents` to exclude linting React components (i.e. components that start
425
+ with uppercase). Sometimes it may not be desirable to have this rule apply to React
426
+ components (e.g. `@atlaskit/button`), which could either use the Emotion or Compiled APIs
427
+ when they expose a `css` prop. Passing a function from the wrong library can result in the
428
+ styling erroneously not being applied.
276
429
 
277
- 4. Treat `{ ... } as const` statements the same way as `{ ... }` objects.
430
+ 4. Treat `{ ... } as const` statements the same way as `{ ... }` objects.
278
431
 
279
- 5. Add `fixNamesOnly` to disable all autofixers _except_ the autofixer that adds `styles` to the end of existing style variables. For example, in `<div css={buttonComponent} />; const buttonComponent = css({ ... })`, `buttonComponent` will continue to be renamed to `buttonComponentStyles`. Autofixers that will be _disabled_ include hoisting the styles to the top-most scope, and adding the `css` function call around style objects.
432
+ 5. Add `fixNamesOnly` to disable all autofixers _except_ the autofixer that adds `styles` to the
433
+ end of existing style variables. For example, in
434
+ `<div css={buttonComponent} />; const buttonComponent = css({ ... })`, `buttonComponent` will
435
+ continue to be renamed to `buttonComponentStyles`. Autofixers that will be _disabled_ include
436
+ hoisting the styles to the top-most scope, and adding the `css` function call around style
437
+ objects.
280
438
 
281
439
  ## 8.26.0
282
440
 
283
441
  ### Minor Changes
284
442
 
285
- - [#71429](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/71429) [`457122c5d002`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/457122c5d002) - Add some ESLint rules from Compiled CSS-in-JS, and adapt them for the UI Styling Standard.
443
+ - [#71429](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/71429)
444
+ [`457122c5d002`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/457122c5d002) -
445
+ Add some ESLint rules from Compiled CSS-in-JS, and adapt them for the UI Styling Standard.
286
446
 
287
- Rules added:
447
+ Rules added:
288
448
 
289
- - `no-empty-styled-expression`: ban `styled({})` usages
290
- - `no-exported-css` and `no-exported-keyframes`: ban `css` and `keyframes` function calls that are exported
291
- - `no-invalid-css-map`: ban usages of the Compiled/`@atlaskit/css` `cssMap` function call that are not valid
449
+ - `no-empty-styled-expression`: ban `styled({})` usages
450
+ - `no-exported-css` and `no-exported-keyframes`: ban `css` and `keyframes` function calls that
451
+ are exported
452
+ - `no-invalid-css-map`: ban usages of the Compiled/`@atlaskit/css` `cssMap` function call that
453
+ are not valid
292
454
 
293
- Changes made:
455
+ Changes made:
294
456
 
295
- - Add them to monorepo, modify to use the existing utility functions
296
- - Add support for CSS-in-JS libraries other than Compiled (styled-components, Emotion, `@atlaskit/css`, etc.) and `xcss` where appropriate
457
+ - Add them to monorepo, modify to use the existing utility functions
458
+ - Add support for CSS-in-JS libraries other than Compiled (styled-components, Emotion,
459
+ `@atlaskit/css`, etc.) and `xcss` where appropriate
297
460
 
298
461
  ## 8.25.2
299
462
 
300
463
  ### Patch Changes
301
464
 
302
- - [#71361](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/71361) [`0f3be2c76337`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0f3be2c76337) - `use-primitives` no longer reports elements that have empty style objects.
465
+ - [#71361](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/71361)
466
+ [`0f3be2c76337`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0f3be2c76337) -
467
+ `use-primitives` no longer reports elements that have empty style objects.
303
468
 
304
469
  ## 8.25.1
305
470
 
306
471
  ### Patch Changes
307
472
 
308
- - [#67941](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67941) [`0b1def807516`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0b1def807516) - Now rule is aplicable only to ButtonGroup ImportSpecifiers
473
+ - [#67941](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67941)
474
+ [`0b1def807516`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0b1def807516) -
475
+ Now rule is aplicable only to ButtonGroup ImportSpecifiers
309
476
 
310
477
  ## 8.25.0
311
478
 
312
479
  ### Minor Changes
313
480
 
314
- - [#70369](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70369) [`611434ce1fe5`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/611434ce1fe5) - ensure-design-token-usage no longer errors on color properties defined in SVG JSX elements.
481
+ - [#70369](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70369)
482
+ [`611434ce1fe5`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/611434ce1fe5) -
483
+ ensure-design-token-usage no longer errors on color properties defined in SVG JSX elements.
315
484
 
316
485
  ## 8.24.0
317
486
 
318
487
  ### Minor Changes
319
488
 
320
- - [#70036](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70036) [`667c0a990b15`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/667c0a990b15) - Allow linting of multiple property style objects in use-primitives rule.
489
+ - [#70036](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70036)
490
+ [`667c0a990b15`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/667c0a990b15) -
491
+ Allow linting of multiple property style objects in use-primitives rule.
321
492
 
322
493
  ## 8.23.4
323
494
 
324
495
  ### Patch Changes
325
496
 
326
- - [#69370](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/69370) [`e14e79732cd4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e14e79732cd4) - Add local-cx-xcss rule, which ensures that the `cx()` function (if imported from `@compiled/react` or `@atlaskit/css`) is only used within the `xcss` prop.
497
+ - [#69370](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/69370)
498
+ [`e14e79732cd4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e14e79732cd4) -
499
+ Add local-cx-xcss rule, which ensures that the `cx()` function (if imported from
500
+ `@compiled/react` or `@atlaskit/css`) is only used within the `xcss` prop.
327
501
 
328
- Internal changes: Also refactored the utility functions used by `no-css-tagged-template-expression`.
502
+ Internal changes: Also refactored the utility functions used by
503
+ `no-css-tagged-template-expression`.
329
504
 
330
505
  ## 8.23.3
331
506
 
332
507
  ### Patch Changes
333
508
 
334
- - [#69222](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/69222) [`a1c52086fdb9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a1c52086fdb9) - Address issues in consistent-css-prop-usage hoisting and naming fixers
335
- - Updated dependencies
509
+ - [#69222](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/69222)
510
+ [`a1c52086fdb9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a1c52086fdb9) -
511
+ Address issues in consistent-css-prop-usage hoisting and naming fixers
512
+ - Updated dependencies
336
513
 
337
514
  ## 8.23.2
338
515
 
339
516
  ### Patch Changes
340
517
 
341
- - [#65758](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65758) [`16e6a0fbe125`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/16e6a0fbe125) - Internal refactor of `use-primitves` rule. There should be no change to consumers of the rule.
518
+ - [#65758](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65758)
519
+ [`16e6a0fbe125`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/16e6a0fbe125) -
520
+ Internal refactor of `use-primitves` rule. There should be no change to consumers of the rule.
342
521
 
343
522
  ## 8.23.1
344
523
 
345
524
  ### Patch Changes
346
525
 
347
- - [#68093](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68093) [`4c5371a76547`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4c5371a76547) - Wrap ensure-design-token-usage with an error boudary to stop it breaking issue-automat CI.
526
+ - [#68093](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68093)
527
+ [`4c5371a76547`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4c5371a76547) -
528
+ Wrap ensure-design-token-usage with an error boudary to stop it breaking issue-automat CI.
348
529
 
349
530
  ## 8.23.0
350
531
 
351
532
  ### Minor Changes
352
533
 
353
- - [#68090](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68090) [`251d7c1fca48`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/251d7c1fca48) - Modified fix naming convention for consistent-css-prop-usage rule to align with camelCase convention
534
+ - [#68090](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68090)
535
+ [`251d7c1fca48`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/251d7c1fca48) -
536
+ Modified fix naming convention for consistent-css-prop-usage rule to align with camelCase
537
+ convention
354
538
 
355
539
  ### Patch Changes
356
540
 
357
- - Updated dependencies
541
+ - Updated dependencies
358
542
 
359
543
  ## 8.22.0
360
544
 
361
545
  ### Minor Changes
362
546
 
363
- - [#63589](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63589) [`f59d997d1913`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f59d997d1913) - Implemented new fixers for cssOnTopOfModule and cssAtBottomOfModule violation cases
547
+ - [#63589](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63589)
548
+ [`f59d997d1913`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f59d997d1913) -
549
+ Implemented new fixers for cssOnTopOfModule and cssAtBottomOfModule violation cases
364
550
 
365
551
  ## 8.21.0
366
552
 
367
553
  ### Minor Changes
368
554
 
369
- - [#66250](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/66250) [`6ff74a16aee7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6ff74a16aee7) - Introducing new rule to encourage adding/referencing accessible name to a ButtonGroup component.
555
+ - [#66250](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/66250)
556
+ [`6ff74a16aee7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6ff74a16aee7) -
557
+ Introducing new rule to encourage adding/referencing accessible name to a ButtonGroup component.
370
558
 
371
559
  ## 8.20.0
372
560
 
373
561
  ### Minor Changes
374
562
 
375
- - [#66409](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/66409) [`f6c48f4a67c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f6c48f4a67c1) - Implemented functionality for the consistent-css-prop-usage rule to account for cssMap usages
563
+ - [#66409](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/66409)
564
+ [`f6c48f4a67c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f6c48f4a67c1) -
565
+ Implemented functionality for the consistent-css-prop-usage rule to account for cssMap usages
376
566
 
377
567
  ### Patch Changes
378
568
 
379
- - [#66604](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/66604) [`3205b1daf57f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3205b1daf57f) - Refactor internal logic of `use-primitives` to better handle cases it will not suggest transformations for, based on the value of CSS properties.
569
+ - [#66604](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/66604)
570
+ [`3205b1daf57f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3205b1daf57f) -
571
+ Refactor internal logic of `use-primitives` to better handle cases it will not suggest
572
+ transformations for, based on the value of CSS properties.
380
573
 
381
574
  ## 8.19.2
382
575
 
383
576
  ### Patch Changes
384
577
 
385
- - [#66118](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/66118) [`93988e6fd035`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/93988e6fd035) - `use-primitives` now handles tokenised padding/margin properties. This change is guarded by a config flag and not enabled by default.
578
+ - [#66118](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/66118)
579
+ [`93988e6fd035`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/93988e6fd035) -
580
+ `use-primitives` now handles tokenised padding/margin properties. This change is guarded by a
581
+ config flag and not enabled by default.
386
582
 
387
583
  ## 8.19.1
388
584
 
389
585
  ### Patch Changes
390
586
 
391
- - [#65221](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65221) [`a2ba22904ca0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a2ba22904ca0) - Allow for @atlaskit/design-system/use-primitives lint rule to take a configuration object.
587
+ - [#65221](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65221)
588
+ [`a2ba22904ca0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a2ba22904ca0) -
589
+ Allow for @atlaskit/design-system/use-primitives lint rule to take a configuration object.
392
590
 
393
591
  ## 8.19.0
394
592
 
395
593
  ### Minor Changes
396
594
 
397
- - [#64899](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/64899) [`442878c001f9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/442878c001f9) - Add `no-unsafe-style-overrides`. This rule marks any usage of unsafe style overrides as violations, such as usage of `css`, `theme`, and `cssFn` props.
595
+ - [#64899](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/64899)
596
+ [`442878c001f9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/442878c001f9) -
597
+ Add `no-unsafe-style-overrides`. This rule marks any usage of unsafe style overrides as
598
+ violations, such as usage of `css`, `theme`, and `cssFn` props.
398
599
 
399
600
  ## 8.18.1
400
601
 
401
602
  ### Patch Changes
402
603
 
403
- - [#64857](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/64857) [`1be24644c029`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1be24644c029) - `use-primitives` is now capable of converting styled components. This is guarded by a config flag so this release is only a patch.
604
+ - [#64857](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/64857)
605
+ [`1be24644c029`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1be24644c029) -
606
+ `use-primitives` is now capable of converting styled components. This is guarded by a config
607
+ flag so this release is only a patch.
404
608
 
405
609
  ## 8.18.0
406
610
 
407
611
  ### Minor Changes
408
612
 
409
- - [#65123](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65123) [`f3b62a2c6bdd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f3b62a2c6bdd) - Add new rule to warn of rollout of required `headingLevel` prop in the `SpotlightCard` component of the onboarding package.
613
+ - [#65123](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65123)
614
+ [`f3b62a2c6bdd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f3b62a2c6bdd) -
615
+ Add new rule to warn of rollout of required `headingLevel` prop in the `SpotlightCard` component
616
+ of the onboarding package.
410
617
 
411
618
  ## 8.17.0
412
619
 
413
620
  ### Minor Changes
414
621
 
415
- - [#64660](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/64660) [`52bbf4498c2a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/52bbf4498c2a) - Internal update to use the latest version of the `@atlaskit/tokens` package. The `no-unsafe-design-token-usage` rule should no longer error on typography tokens.
622
+ - [#64660](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/64660)
623
+ [`52bbf4498c2a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/52bbf4498c2a) -
624
+ Internal update to use the latest version of the `@atlaskit/tokens` package. The
625
+ `no-unsafe-design-token-usage` rule should no longer error on typography tokens.
416
626
 
417
627
  ## 8.16.0
418
628
 
419
629
  ### Minor Changes
420
630
 
421
- - [#58402](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58402) [`2b1a12e5936f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2b1a12e5936f) - Re-work `use-primitives` lint rule to only suggest `Box`, and only trigger a violation styles contain one style property and the style value can be mapped to a token.
631
+ - [#58402](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58402)
632
+ [`2b1a12e5936f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2b1a12e5936f) -
633
+ Re-work `use-primitives` lint rule to only suggest `Box`, and only trigger a violation styles
634
+ contain one style property and the style value can be mapped to a token.
422
635
 
423
636
  ## 8.15.5
424
637
 
425
638
  ### Patch Changes
426
639
 
427
- - [#63526](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63526) [`cae958047771`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cae958047771) - Internal change to how typography tokens are imported. There is no expected behaviour change.
428
- - Updated dependencies
640
+ - [#63526](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63526)
641
+ [`cae958047771`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cae958047771) -
642
+ Internal change to how typography tokens are imported. There is no expected behaviour change.
643
+ - Updated dependencies
429
644
 
430
645
  ## 8.15.4
431
646
 
432
647
  ### Patch Changes
433
648
 
434
- - [#63768](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63768) [`56342fba2b72`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/56342fba2b72) - Fixes an issue with the `use-drawer-label` rule where named imports such as type imports from `@atlaskit/drawer` could incorrectly report an error.
649
+ - [#63768](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63768)
650
+ [`56342fba2b72`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/56342fba2b72) -
651
+ Fixes an issue with the `use-drawer-label` rule where named imports such as type imports from
652
+ `@atlaskit/drawer` could incorrectly report an error.
435
653
 
436
654
  ## 8.15.3
437
655
 
438
656
  ### Patch Changes
439
657
 
440
- - [#59147](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59147) [`f12e489f23b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f12e489f23b0) - Re-build and deploy packages to NPM to resolve React/Compiled not found error (HOT-106483).
658
+ - [#59147](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59147)
659
+ [`f12e489f23b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f12e489f23b0) -
660
+ Re-build and deploy packages to NPM to resolve React/Compiled not found error (HOT-106483).
441
661
 
442
662
  ## 8.15.2
443
663
 
444
664
  ### Patch Changes
445
665
 
446
- - [#57118](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/57118) [`b9bd80957181`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b9bd80957181) - Upgrade Emotion v10 (@emotion/core) to Emotion v11 (@emotion/react). No behaviour change expected.
666
+ - [#57118](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/57118)
667
+ [`b9bd80957181`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b9bd80957181) -
668
+ Upgrade Emotion v10 (@emotion/core) to Emotion v11 (@emotion/react). No behaviour change
669
+ expected.
447
670
 
448
671
  ## 8.15.1
449
672
 
450
673
  ### Patch Changes
451
674
 
452
- - [#43718](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43718) [`8aebcad547a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8aebcad547a) - Deprecated tokens are now warned against even when a replacement token has not been specified
453
- - Updated dependencies
675
+ - [#43718](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43718)
676
+ [`8aebcad547a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8aebcad547a) -
677
+ Deprecated tokens are now warned against even when a replacement token has not been specified
678
+ - Updated dependencies
454
679
 
455
680
  ## 8.15.0
456
681
 
457
682
  ### Minor Changes
458
683
 
459
- - [#43258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43258) [`0004d49c240`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0004d49c240) - Adds a new argument `fallbackUsage` which replaces `shouldEnforceFallbacks`. This new argument is an enum which represents the three possible states this rule can be configured with.
684
+ - [#43258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43258)
685
+ [`0004d49c240`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0004d49c240) - Adds a
686
+ new argument `fallbackUsage` which replaces `shouldEnforceFallbacks`. This new argument is an
687
+ enum which represents the three possible states this rule can be configured with.
460
688
 
461
- - `forced`: Fallbacks must always been in use
462
- - `none`: Fallbacks must never been in use. (Fixer will remove any value provided )
463
- - `optional`: (new) Fallbacks are optional
689
+ - `forced`: Fallbacks must always been in use
690
+ - `none`: Fallbacks must never been in use. (Fixer will remove any value provided )
691
+ - `optional`: (new) Fallbacks are optional
464
692
 
465
693
  ## 8.14.1
466
694
 
467
695
  ### Patch Changes
468
696
 
469
- - [#42240](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42240) [`ec474733d38`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ec474733d38) - Handle destructured variables in link item rule.
697
+ - [#42240](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42240)
698
+ [`ec474733d38`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ec474733d38) - Handle
699
+ destructured variables in link item rule.
470
700
 
471
701
  ## 8.14.0
472
702
 
473
703
  ### Minor Changes
474
704
 
475
- - [#41884](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41884) [`862be3ee13b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/862be3ee13b) - Adds `no-css-tagged-template-expression` rule that disallows any `css` tagged template expressions that originate from `@emotion/react` and automatically converts them to the preferred call expression syntax.
705
+ - [#41884](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41884)
706
+ [`862be3ee13b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/862be3ee13b) - Adds
707
+ `no-css-tagged-template-expression` rule that disallows any `css` tagged template expressions
708
+ that originate from `@emotion/react` and automatically converts them to the preferred call
709
+ expression syntax.
476
710
 
477
711
  ## 8.13.1
478
712
 
479
713
  ### Patch Changes
480
714
 
481
- - [#42031](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42031) [`0b60a2a6318`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0b60a2a6318) - Add more test cases and handle undefined object property error.
715
+ - [#42031](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42031)
716
+ [`0b60a2a6318`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0b60a2a6318) - Add
717
+ more test cases and handle undefined object property error.
482
718
 
483
719
  ## 8.13.0
484
720
 
485
721
  ### Minor Changes
486
722
 
487
- - [#41825](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41825) [`f9641b28ed5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f9641b28ed5) - Introducing new rule to encourage adding/referencing accessible name to a Drawer component.
723
+ - [#41825](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41825)
724
+ [`f9641b28ed5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f9641b28ed5) -
725
+ Introducing new rule to encourage adding/referencing accessible name to a Drawer component.
488
726
 
489
727
  ## 8.12.1
490
728
 
491
729
  ### Patch Changes
492
730
 
493
- - [#41836](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41836) [`93427b209ad`](https://bitbucket.org/atlassian/atlassian-frontend/commits/93427b209ad) - Update all generated files for recent changes to link item rule.
731
+ - [#41836](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41836)
732
+ [`93427b209ad`](https://bitbucket.org/atlassian/atlassian-frontend/commits/93427b209ad) - Update
733
+ all generated files for recent changes to link item rule.
494
734
 
495
735
  ## 8.12.0
496
736
 
497
737
  ### Minor Changes
498
738
 
499
- - [#41346](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41346) [`b7e50f54fb3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b7e50f54fb3) - Changed the no-unsupported-drag-and-drop-libraries to 'problem' type with 'error' severity. Therefore an error will now be thrown when a drag and drop package that is not Pragmatic drag and drop is imported in packages that have the rule enabled.
739
+ - [#41346](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41346)
740
+ [`b7e50f54fb3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b7e50f54fb3) -
741
+ Changed the no-unsupported-drag-and-drop-libraries to 'problem' type with 'error' severity.
742
+ Therefore an error will now be thrown when a drag and drop package that is not Pragmatic drag
743
+ and drop is imported in packages that have the rule enabled.
500
744
 
501
745
  ## 8.11.0
502
746
 
503
747
  ### Minor Changes
504
748
 
505
- - [#41624](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41624) [`ee68a82c409`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ee68a82c409) - Add fixer to and handle another invalid `href` value for link item rule.
749
+ - [#41624](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41624)
750
+ [`ee68a82c409`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ee68a82c409) - Add
751
+ fixer to and handle another invalid `href` value for link item rule.
506
752
 
507
753
  ## 8.10.1
508
754
 
509
755
  ### Patch Changes
510
756
 
511
- - [#41402](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41402) [`25bf22e0ad8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/25bf22e0ad8) - Add better conditional checks in internal util.
757
+ - [#41402](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41402)
758
+ [`25bf22e0ad8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/25bf22e0ad8) - Add
759
+ better conditional checks in internal util.
512
760
 
513
761
  ## 8.10.0
514
762
 
515
763
  ### Minor Changes
516
764
 
517
- - [#40425](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40425) [`5d0222e1bd7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5d0222e1bd7) - Added new `no-unsupported-drag-and-drop-libraries` rule that detects imports of restricted drag and drop libraries, instead suggesting use of our library, Pragmatic drag and drop.
765
+ - [#40425](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40425)
766
+ [`5d0222e1bd7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5d0222e1bd7) - Added
767
+ new `no-unsupported-drag-and-drop-libraries` rule that detects imports of restricted drag and
768
+ drop libraries, instead suggesting use of our library, Pragmatic drag and drop.
518
769
 
519
770
  ## 8.9.0
520
771
 
521
772
  ### Minor Changes
522
773
 
523
- - [#40868](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40868) [`3f36676cbfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f36676cbfb) - Add `use-href-in-linkitem` rule.
774
+ - [#40868](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40868)
775
+ [`3f36676cbfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f36676cbfb) - Add
776
+ `use-href-in-linkitem` rule.
524
777
 
525
778
  ## 8.8.1
526
779
 
527
780
  ### Patch Changes
528
781
 
529
- - [#39407](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39407) [`c6db573350d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c6db573350d) - The themed() and AtlaskitThemeProvider legacy theming API's are now marked as deprecated and eslint rules have been modified to disallow new usage of them.
782
+ - [#39407](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39407)
783
+ [`c6db573350d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c6db573350d) - The
784
+ themed() and AtlaskitThemeProvider legacy theming API's are now marked as deprecated and eslint
785
+ rules have been modified to disallow new usage of them.
530
786
 
531
787
  ## 8.8.0
532
788
 
533
789
  ### Minor Changes
534
790
 
535
- - [#40241](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40241) [`6c149f3e71d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c149f3e71d) - The `ensure-design-token-usage` rules now report on use of the CSS `calc` function when used with padding, margin, and gap properties.
791
+ - [#40241](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40241)
792
+ [`6c149f3e71d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c149f3e71d) - The
793
+ `ensure-design-token-usage` rules now report on use of the CSS `calc` function when used with
794
+ padding, margin, and gap properties.
536
795
 
537
796
  ## 8.7.1
538
797
 
539
798
  ### Patch Changes
540
799
 
541
- - [#40106](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40106) [`d6845989896`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6845989896) - Configuration added to consistent-css-prop-usage where it is now possible to specify what function names the rule should lint against, and what position is recommended for styles (top or bottom).
800
+ - [#40106](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40106)
801
+ [`d6845989896`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6845989896) -
802
+ Configuration added to consistent-css-prop-usage where it is now possible to specify what
803
+ function names the rule should lint against, and what position is recommended for styles (top or
804
+ bottom).
542
805
 
543
806
  ## 8.7.0
544
807
 
545
808
  ### Minor Changes
546
809
 
547
- - [#40128](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40128) [`859ef96da96`](https://bitbucket.org/atlassian/atlassian-frontend/commits/859ef96da96) - Adds additional rule encouraging the use of CSS logical properties. This rule comes with a fix for code that uses object syntax (via css, styled or xcss) for styles.
810
+ - [#40128](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40128)
811
+ [`859ef96da96`](https://bitbucket.org/atlassian/atlassian-frontend/commits/859ef96da96) - Adds
812
+ additional rule encouraging the use of CSS logical properties. This rule comes with a fix for
813
+ code that uses object syntax (via css, styled or xcss) for styles.
548
814
 
549
815
  ## 8.6.0
550
816
 
551
817
  ### Minor Changes
552
818
 
553
- - [#39578](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39578) [`192ba90d75b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/192ba90d75b) - The `ensure-design-token-usage` rules now support auto-fixing negative values to negative space tokens.
819
+ - [#39578](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39578)
820
+ [`192ba90d75b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/192ba90d75b) - The
821
+ `ensure-design-token-usage` rules now support auto-fixing negative values to negative space
822
+ tokens.
554
823
 
555
824
  ### Patch Changes
556
825
 
557
- - Updated dependencies
826
+ - Updated dependencies
558
827
 
559
828
  ## 8.5.0
560
829
 
561
830
  ### Minor Changes
562
831
 
563
- - [#39701](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39701) [`4eab52ffd1c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4eab52ffd1c) - Add `@atlaskit/button/unsafe` to 'no-banned-imports' lint rule
832
+ - [#39701](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39701)
833
+ [`4eab52ffd1c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4eab52ffd1c) - Add
834
+ `@atlaskit/button/unsafe` to 'no-banned-imports' lint rule
564
835
 
565
836
  ## 8.4.5
566
837
 
567
838
  ### Patch Changes
568
839
 
569
- - [#39649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39649) [`d37dcab0fc4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d37dcab0fc4) - Stop `prefer-primitives` from reporting on React components.
840
+ - [#39649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39649)
841
+ [`d37dcab0fc4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d37dcab0fc4) - Stop
842
+ `prefer-primitives` from reporting on React components.
570
843
 
571
844
  ## 8.4.4
572
845
 
573
846
  ### Patch Changes
574
847
 
575
- - [#39213](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39213) [`f7a807adba2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f7a807adba2) - Update the `ensure-design-token-usage` rule to disallow setting the 'current surface' CSS variable (--ds-elevation-surface-current) to a hardcoded color.
576
- - Updated dependencies
848
+ - [#39213](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39213)
849
+ [`f7a807adba2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f7a807adba2) - Update
850
+ the `ensure-design-token-usage` rule to disallow setting the 'current surface' CSS variable
851
+ (--ds-elevation-surface-current) to a hardcoded color.
852
+ - Updated dependencies
577
853
 
578
854
  ## 8.4.3
579
855
 
580
856
  ### Patch Changes
581
857
 
582
- - [#39210](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39210) [`96e35ec4b9d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/96e35ec4b9d) - Tweak `use-primitives` and `prefer-primitives` logic to stop false positives for component names that contain HTML element names.
858
+ - [#39210](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39210)
859
+ [`96e35ec4b9d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/96e35ec4b9d) - Tweak
860
+ `use-primitives` and `prefer-primitives` logic to stop false positives for component names that
861
+ contain HTML element names.
583
862
 
584
863
  ## 8.4.2
585
864
 
586
865
  ### Patch Changes
587
866
 
588
- - [#38362](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38362) [`fb85e69cf5e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fb85e69cf5e) - Added this package into push model consumption.
867
+ - [#38362](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38362)
868
+ [`fb85e69cf5e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fb85e69cf5e) - Added
869
+ this package into push model consumption.
589
870
 
590
871
  ## 8.4.1
591
872
 
592
873
  ### Patch Changes
593
874
 
594
- - [#38433](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38433) [`b11339bc8a3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b11339bc8a3) - Internal updates for ADS Typography ADG3 theme.
595
- - Updated dependencies
875
+ - [#38433](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38433)
876
+ [`b11339bc8a3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b11339bc8a3) -
877
+ Internal updates for ADS Typography ADG3 theme.
878
+ - Updated dependencies
596
879
 
597
880
  ## 8.4.0
598
881
 
599
882
  ### Minor Changes
600
883
 
601
- - [#38670](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38670) [`0128df16060`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0128df16060) - Added new `prefer-primitives` rule that detects use of `<div>` and `<span>` either as HTML tags or via styled components (`styled.div`, `styled('div')`) and suggests using primitive components instead.
884
+ - [#38670](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38670)
885
+ [`0128df16060`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0128df16060) - Added
886
+ new `prefer-primitives` rule that detects use of `<div>` and `<span>` either as HTML tags or via
887
+ styled components (`styled.div`, `styled('div')`) and suggests using primitive components
888
+ instead.
602
889
 
603
890
  ## 8.3.0
604
891
 
605
892
  ### Minor Changes
606
893
 
607
- - [#38239](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38239) [`87feea3d8e0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87feea3d8e0) - Add banned import rule for `@atlaskit/primitives/pressable`
894
+ - [#38239](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38239)
895
+ [`87feea3d8e0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87feea3d8e0) - Add
896
+ banned import rule for `@atlaskit/primitives/pressable`
608
897
 
609
898
  ## 8.2.2
610
899
 
611
900
  ### Patch Changes
612
901
 
613
- - [#37947](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37947) [`1859bc0b8c7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1859bc0b8c7) - Update the casing on `xcss` to ensure consistency with the API and package consumption.
902
+ - [#37947](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37947)
903
+ [`1859bc0b8c7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1859bc0b8c7) - Update
904
+ the casing on `xcss` to ensure consistency with the API and package consumption.
614
905
 
615
906
  ## 8.2.1
616
907
 
617
908
  ### Patch Changes
618
909
 
619
- - [#37733](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37733) [`52b35a6b571`](https://bitbucket.org/atlassian/atlassian-frontend/commits/52b35a6b571) - - Fixed an issue where the `ensure-design-token-usage` rule may incorrectly report variables that reference tokens as an error.
620
- - Fixed an issue where the `ensure-design-token-usage` rule may handle expressions that span multiple lines in template literals incorrectly.
910
+ - [#37733](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37733)
911
+ [`52b35a6b571`](https://bitbucket.org/atlassian/atlassian-frontend/commits/52b35a6b571) - -
912
+ Fixed an issue where the `ensure-design-token-usage` rule may incorrectly report variables that
913
+ reference tokens as an error.
914
+ - Fixed an issue where the `ensure-design-token-usage` rule may handle expressions that span
915
+ multiple lines in template literals incorrectly.
621
916
 
622
917
  ## 8.2.0
623
918
 
624
919
  ### Minor Changes
625
920
 
626
- - [#37278](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37278) [`a5c9f63d2a8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a5c9f63d2a8) - Add improved behavior for suggestions for `use-primitives` rule.
921
+ - [#37278](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37278)
922
+ [`a5c9f63d2a8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a5c9f63d2a8) - Add
923
+ improved behavior for suggestions for `use-primitives` rule.
627
924
 
628
925
  ## 8.1.0
629
926
 
630
927
  ### Minor Changes
631
928
 
632
- - [#37066](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37066) [`4f9c29b2f9f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4f9c29b2f9f) - Added the `no-nested-styles` rule which disallows usage of nested styles. The `no-nested-styles` rule also disallows media queries that contain min-width or max-width. The Atlassian Design System `media` object should be used instead. Other forms of media queries are still allowed.
929
+ - [#37066](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37066)
930
+ [`4f9c29b2f9f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4f9c29b2f9f) - Added
931
+ the `no-nested-styles` rule which disallows usage of nested styles. The `no-nested-styles` rule
932
+ also disallows media queries that contain min-width or max-width. The Atlassian Design System
933
+ `media` object should be used instead. Other forms of media queries are still allowed.
633
934
 
634
935
  ## 8.0.2
635
936
 
636
937
  ### Patch Changes
637
938
 
638
- - [#37041](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37041) [`05a00999956`](https://bitbucket.org/atlassian/atlassian-frontend/commits/05a00999956) - `TODO` comments are no longer added when applying a spacing fix from `ensure-design-token-usage`.
939
+ - [#37041](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37041)
940
+ [`05a00999956`](https://bitbucket.org/atlassian/atlassian-frontend/commits/05a00999956) - `TODO`
941
+ comments are no longer added when applying a spacing fix from `ensure-design-token-usage`.
639
942
 
640
943
  ## 8.0.1
641
944
 
642
945
  ### Patch Changes
643
946
 
644
- - [#36624](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36624) [`278fb6833be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/278fb6833be) - The `ensure-design-token-usage` rule no longer lints against styles inside `xcss` as it already has type-safety built in for properties that accept tokens.
947
+ - [#36624](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36624)
948
+ [`278fb6833be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/278fb6833be) - The
949
+ `ensure-design-token-usage` rule no longer lints against styles inside `xcss` as it already has
950
+ type-safety built in for properties that accept tokens.
645
951
 
646
952
  ## 8.0.0
647
953
 
648
954
  ### Major Changes
649
955
 
650
- - [#36273](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36273) [`3919464ef44`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3919464ef44) - Removed `ensure-design-token-usage-spacing`. Use `ensure-design-token-usage` instead. See release notes for v7.0.0 for more info.
651
-
652
- `ensure-design-token-usage` now **errors** against spacing properties by default.
653
-
654
- If the `domains` option is provided it will override any defaults, for example the following will ignore defaults and only error for color:
655
-
656
- ```js
657
- rules: {
658
- '@atlaskit/design-system/ensure-design-token-usage': [
659
- 'error',
660
- {
661
- domains: ['color'],
662
- shouldEnforceFallbacks: false
663
- },
664
- ],
665
- },
666
- ```
667
-
668
- You can use `ensure-design-token-usage/preview` to **warn** about spacing properties until you are ready to set the main rule to error:
669
-
670
- ```js
671
- rules: {
672
- '@atlaskit/design-system/ensure-design-token-usage/preview': [
673
- 'warn',
674
- {
675
- domains: ['spacing'],
676
- shouldEnforceFallbacks: false
677
- },
678
- ],
679
- '@atlaskit/design-system/ensure-design-token-usage': [
680
- 'error',
681
- {
682
- domains: ['color'],
683
- shouldEnforceFallbacks: false
684
- },
685
- ],
686
- },
687
- ```
688
-
689
- In many cases `eslint --fix` will automatically apply migrations from hardcoded values and `gridSize` to space tokens.
956
+ - [#36273](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36273)
957
+ [`3919464ef44`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3919464ef44) -
958
+ Removed `ensure-design-token-usage-spacing`. Use `ensure-design-token-usage` instead. See
959
+ release notes for v7.0.0 for more info.
690
960
 
691
- ## 7.0.3
961
+ `ensure-design-token-usage` now **errors** against spacing properties by default.
692
962
 
693
- ### Patch Changes
694
-
695
- - [#35441](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35441) [`81c15e86b18`](https://bitbucket.org/atlassian/atlassian-frontend/commits/81c15e86b18) - Improved autofix for 50% border radius to shape token.
696
-
697
- ## 7.0.2
698
-
699
- ### Patch Changes
700
-
701
- - [#35950](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35950) [`50cf866a219`](https://bitbucket.org/atlassian/atlassian-frontend/commits/50cf866a219) - bump semver
702
-
703
- ## 7.0.1
704
-
705
- ### Patch Changes
706
-
707
- - [#36144](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36144) [`8c955333863`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8c955333863) - Fix ensure-design-token-usage to declare that is has suggestions, unblocking ESLint 7+ usage.
708
-
709
- ## 7.0.0
710
-
711
- ### Major Changes
712
-
713
- - [#35383](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35383) [`177c8c14160`](https://bitbucket.org/atlassian/atlassian-frontend/commits/177c8c14160) - Merged the `ensure-design-token-usage` and `ensure-design-token-usage-spacing` rules into a single rule: `ensure-design-token-usage`. This rule enforces color and space tokens and will be extended to enforce domains such as typography and shape in the future. The rule accepts a `domains` option which allows you to specify which domains to lint, currently defaulting to 'color' and 'space'. This rule defaults to `error`.
714
-
715
- To update to this version:
716
-
717
- - If you are using the `ensure-design-token-usage` rule, add the `domains` property with a value of `['color']`:
963
+ If the `domains` option is provided it will override any defaults, for example the following
964
+ will ignore defaults and only error for color:
718
965
 
719
966
  ```js
720
967
  rules: {
@@ -728,743 +975,1089 @@
728
975
  },
729
976
  ```
730
977
 
731
- - If you are using the `ensure-design-token-usage-spacing` rule, remove any references to it and add `'spacing'` to the domains array above.
978
+ You can use `ensure-design-token-usage/preview` to **warn** about spacing properties until you
979
+ are ready to set the main rule to error:
732
980
 
733
981
  ```js
734
982
  rules: {
983
+ '@atlaskit/design-system/ensure-design-token-usage/preview': [
984
+ 'warn',
985
+ {
986
+ domains: ['spacing'],
987
+ shouldEnforceFallbacks: false
988
+ },
989
+ ],
735
990
  '@atlaskit/design-system/ensure-design-token-usage': [
736
991
  'error',
737
992
  {
738
- domains: ['color', 'spacing'],
993
+ domains: ['color'],
739
994
  shouldEnforceFallbacks: false
740
995
  },
741
996
  ],
742
997
  },
743
998
  ```
744
999
 
745
- - If you are not using either of these rules, no changes are required.
1000
+ In many cases `eslint --fix` will automatically apply migrations from hardcoded values and
1001
+ `gridSize` to space tokens.
1002
+
1003
+ ## 7.0.3
1004
+
1005
+ ### Patch Changes
1006
+
1007
+ - [#35441](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35441)
1008
+ [`81c15e86b18`](https://bitbucket.org/atlassian/atlassian-frontend/commits/81c15e86b18) -
1009
+ Improved autofix for 50% border radius to shape token.
1010
+
1011
+ ## 7.0.2
1012
+
1013
+ ### Patch Changes
1014
+
1015
+ - [#35950](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35950)
1016
+ [`50cf866a219`](https://bitbucket.org/atlassian/atlassian-frontend/commits/50cf866a219) - bump
1017
+ semver
1018
+
1019
+ ## 7.0.1
1020
+
1021
+ ### Patch Changes
1022
+
1023
+ - [#36144](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36144)
1024
+ [`8c955333863`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8c955333863) - Fix
1025
+ ensure-design-token-usage to declare that is has suggestions, unblocking ESLint 7+ usage.
1026
+
1027
+ ## 7.0.0
1028
+
1029
+ ### Major Changes
1030
+
1031
+ - [#35383](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35383)
1032
+ [`177c8c14160`](https://bitbucket.org/atlassian/atlassian-frontend/commits/177c8c14160) - Merged
1033
+ the `ensure-design-token-usage` and `ensure-design-token-usage-spacing` rules into a single
1034
+ rule: `ensure-design-token-usage`. This rule enforces color and space tokens and will be
1035
+ extended to enforce domains such as typography and shape in the future. The rule accepts a
1036
+ `domains` option which allows you to specify which domains to lint, currently defaulting to
1037
+ 'color' and 'space'. This rule defaults to `error`.
1038
+
1039
+ To update to this version:
1040
+
1041
+ - If you are using the `ensure-design-token-usage` rule, add the `domains` property with a
1042
+ value of `['color']`:
1043
+
1044
+ ```js
1045
+ rules: {
1046
+ '@atlaskit/design-system/ensure-design-token-usage': [
1047
+ 'error',
1048
+ {
1049
+ domains: ['color'],
1050
+ shouldEnforceFallbacks: false
1051
+ },
1052
+ ],
1053
+ },
1054
+ ```
1055
+
1056
+ - If you are using the `ensure-design-token-usage-spacing` rule, remove any references to it
1057
+ and add `'spacing'` to the domains array above.
1058
+
1059
+ ```js
1060
+ rules: {
1061
+ '@atlaskit/design-system/ensure-design-token-usage': [
1062
+ 'error',
1063
+ {
1064
+ domains: ['color', 'spacing'],
1065
+ shouldEnforceFallbacks: false
1066
+ },
1067
+ ],
1068
+ },
1069
+ ```
1070
+
1071
+ - If you are not using either of these rules, no changes are required.
746
1072
 
747
- Added a new rule `ensure-design-token-usage/preview` which is a direct clone of `ensure-design-token-usage`, but defaults to `warn`. Through this rule you can specify domains to enforce tokens for, but with a warning rather than a blocking error. This is intended to ease the introduction of certain tokens into a codebase.
1073
+ Added a new rule `ensure-design-token-usage/preview` which is a direct clone of
1074
+ `ensure-design-token-usage`, but defaults to `warn`. Through this rule you can specify domains
1075
+ to enforce tokens for, but with a warning rather than a blocking error. This is intended to ease
1076
+ the introduction of certain tokens into a codebase.
748
1077
 
749
1078
  ## 6.2.1
750
1079
 
751
1080
  ### Patch Changes
752
1081
 
753
- - [#36054](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36054) [`0f48aae95e4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0f48aae95e4) - Patch for incorrect behavior in upstream library.
1082
+ - [#36054](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36054)
1083
+ [`0f48aae95e4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0f48aae95e4) - Patch
1084
+ for incorrect behavior in upstream library.
754
1085
 
755
1086
  ## 6.2.0
756
1087
 
757
1088
  ### Minor Changes
758
1089
 
759
- - [#34821](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34821) [`373b6b701ca`](https://bitbucket.org/atlassian/atlassian-frontend/commits/373b6b701ca) - Linters will now error when deprecated theme color mixins are imported
1090
+ - [#34821](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34821)
1091
+ [`373b6b701ca`](https://bitbucket.org/atlassian/atlassian-frontend/commits/373b6b701ca) -
1092
+ Linters will now error when deprecated theme color mixins are imported
760
1093
 
761
1094
  ## 6.1.0
762
1095
 
763
1096
  ### Minor Changes
764
1097
 
765
- - [#34833](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34833) [`99d5309f42b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/99d5309f42b) - The ensure-design-token-usage-spacing rule will now lint against inline style objects
1098
+ - [#34833](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34833)
1099
+ [`99d5309f42b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/99d5309f42b) - The
1100
+ ensure-design-token-usage-spacing rule will now lint against inline style objects
766
1101
 
767
1102
  ## 6.0.1
768
1103
 
769
1104
  ### Patch Changes
770
1105
 
771
- - [#35448](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35448) [`fa18829653d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fa18829653d) - Updated spacing rule to ignore gridSize functions that accept arguments as these are custom and not part of the Design System.
1106
+ - [#35448](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35448)
1107
+ [`fa18829653d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fa18829653d) -
1108
+ Updated spacing rule to ignore gridSize functions that accept arguments as these are custom and
1109
+ not part of the Design System.
772
1110
 
773
1111
  ## 6.0.0
774
1112
 
775
1113
  ### Major Changes
776
1114
 
777
- - [#34804](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34804) [`c8174712a85`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c8174712a85) - New rule consistent-css-prop-usage available as part of the recommended preset. For detailed docs please see: https://atlassian.design/components/eslint-plugin-design-system/usage#consistent-css-prop-usage
1115
+ - [#34804](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34804)
1116
+ [`c8174712a85`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c8174712a85) - New
1117
+ rule consistent-css-prop-usage available as part of the recommended preset. For detailed docs
1118
+ please see:
1119
+ https://atlassian.design/components/eslint-plugin-design-system/usage#consistent-css-prop-usage
778
1120
 
779
1121
  ## 5.5.0
780
1122
 
781
1123
  ### Minor Changes
782
1124
 
783
- - [#34739](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34739) [`35a57c481af`](https://bitbucket.org/atlassian/atlassian-frontend/commits/35a57c481af) - Improved import matching for no-deprecated-apis rule to match substrings of import paths.
1125
+ - [#34739](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34739)
1126
+ [`35a57c481af`](https://bitbucket.org/atlassian/atlassian-frontend/commits/35a57c481af) -
1127
+ Improved import matching for no-deprecated-apis rule to match substrings of import paths.
784
1128
 
785
1129
  ## 5.4.2
786
1130
 
787
1131
  ### Patch Changes
788
1132
 
789
- - [#34873](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34873) [`121f9ae5c38`](https://bitbucket.org/atlassian/atlassian-frontend/commits/121f9ae5c38) - Internal dependency bump.
1133
+ - [#34873](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34873)
1134
+ [`121f9ae5c38`](https://bitbucket.org/atlassian/atlassian-frontend/commits/121f9ae5c38) -
1135
+ Internal dependency bump.
790
1136
 
791
1137
  ## 5.4.1
792
1138
 
793
1139
  ### Patch Changes
794
1140
 
795
- - [#34778](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34778) [`432d4ce47ee`](https://bitbucket.org/atlassian/atlassian-frontend/commits/432d4ce47ee) - Account for additional border properties in spacing rule.
1141
+ - [#34778](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34778)
1142
+ [`432d4ce47ee`](https://bitbucket.org/atlassian/atlassian-frontend/commits/432d4ce47ee) -
1143
+ Account for additional border properties in spacing rule.
796
1144
 
797
1145
  ## 5.4.0
798
1146
 
799
1147
  ### Minor Changes
800
1148
 
801
- - [#33802](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33802) [`eb75c962cfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eb75c962cfb) - `gridSize` imports from `@atlaskit/theme` are now deprecated in favor of applying space tokens via `@atlaskit/tokens`.
1149
+ - [#33802](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33802)
1150
+ [`eb75c962cfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eb75c962cfb) -
1151
+ `gridSize` imports from `@atlaskit/theme` are now deprecated in favor of applying space tokens
1152
+ via `@atlaskit/tokens`.
802
1153
 
803
1154
  ### Patch Changes
804
1155
 
805
- - [#34217](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34217) [`019af32072d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/019af32072d) - Add shape token handling to the `ensure-design-token-usage-spacing` rule.
806
- - [`7b017c0be76`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7b017c0be76) - Internal tweaks to spacing rule fixers.
807
- - Updated dependencies
1156
+ - [#34217](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34217)
1157
+ [`019af32072d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/019af32072d) - Add
1158
+ shape token handling to the `ensure-design-token-usage-spacing` rule.
1159
+ - [`7b017c0be76`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7b017c0be76) -
1160
+ Internal tweaks to spacing rule fixers.
1161
+ - Updated dependencies
808
1162
 
809
1163
  ## 5.3.2
810
1164
 
811
1165
  ### Patch Changes
812
1166
 
813
- - [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793) [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
1167
+ - [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
1168
+ [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
1169
+ legacy types are published for TS 4.5-4.8
814
1170
 
815
1171
  ## 5.3.1
816
1172
 
817
1173
  ### Patch Changes
818
1174
 
819
- - [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649) [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
1175
+ - [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
1176
+ [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) -
1177
+ Upgrade Typescript from `4.5.5` to `4.9.5`
820
1178
 
821
1179
  ## 5.3.0
822
1180
 
823
1181
  ### Minor Changes
824
1182
 
825
- - [#33417](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33417) [`51a48a1bb1b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/51a48a1bb1b) - Update docs to accept a `severity` property so the purpose of `recommended` is no longer double. "all" preset now respects this preference - before it was always "error". This makes the presets more aligned with the underlying implementations."
1183
+ - [#33417](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33417)
1184
+ [`51a48a1bb1b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/51a48a1bb1b) - Update
1185
+ docs to accept a `severity` property so the purpose of `recommended` is no longer double. "all"
1186
+ preset now respects this preference - before it was always "error". This makes the presets more
1187
+ aligned with the underlying implementations."
826
1188
 
827
1189
  ## 5.2.0
828
1190
 
829
1191
  ### Minor Changes
830
1192
 
831
- - [#31565](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31565) [`11e5168f1c2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/11e5168f1c2) - Internal refactor of ensure-design-token-usage which also addresses some false positives
1193
+ - [#31565](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31565)
1194
+ [`11e5168f1c2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/11e5168f1c2) -
1195
+ Internal refactor of ensure-design-token-usage which also addresses some false positives
832
1196
 
833
1197
  ## 5.1.0
834
1198
 
835
1199
  ### Minor Changes
836
1200
 
837
- - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
1201
+ - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
1202
+ [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
1203
+ minor dependency bump
838
1204
 
839
1205
  ### Patch Changes
840
1206
 
841
- - Updated dependencies
1207
+ - Updated dependencies
842
1208
 
843
1209
  ## 5.0.3
844
1210
 
845
1211
  ### Patch Changes
846
1212
 
847
- - [#32916](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32916) [`7c55a69a5ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7c55a69a5ec) - Fix issue where 'auto' may still be reported as an error in object styles.
1213
+ - [#32916](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32916)
1214
+ [`7c55a69a5ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7c55a69a5ec) - Fix
1215
+ issue where 'auto' may still be reported as an error in object styles.
848
1216
 
849
1217
  ## 5.0.2
850
1218
 
851
1219
  ### Patch Changes
852
1220
 
853
- - [#32895](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32895) [`a5f1c4fa284`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a5f1c4fa284) - Update links in the `use-primitives` rule to point to the right docs URL.
1221
+ - [#32895](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32895)
1222
+ [`a5f1c4fa284`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a5f1c4fa284) - Update
1223
+ links in the `use-primitives` rule to point to the right docs URL.
854
1224
 
855
1225
  ## 5.0.1
856
1226
 
857
1227
  ### Patch Changes
858
1228
 
859
- - [#32846](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32846) [`31ebca384fa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/31ebca384fa) - Improved behaviour of `ensure-design-token-usage-spacing` rule to not report on or replace 0, auto, and calc within spacing properties.
1229
+ - [#32846](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32846)
1230
+ [`31ebca384fa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/31ebca384fa) -
1231
+ Improved behaviour of `ensure-design-token-usage-spacing` rule to not report on or replace 0,
1232
+ auto, and calc within spacing properties.
860
1233
 
861
1234
  ## 5.0.0
862
1235
 
863
1236
  ### Major Changes
864
1237
 
865
- - [#32576](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32576) [`b910bbe6130`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b910bbe6130) - The following rules are now included in the recommended preset as errors:
1238
+ - [#32576](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32576)
1239
+ [`b910bbe6130`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b910bbe6130) - The
1240
+ following rules are now included in the recommended preset as errors:
866
1241
 
867
- - ensure-design-token-usage
868
- - no-deprecated-apis
869
- - no-deprecated-imports
870
- - no-unsafe-design-token-usage
1242
+ - ensure-design-token-usage
1243
+ - no-deprecated-apis
1244
+ - no-deprecated-imports
1245
+ - no-unsafe-design-token-usage
871
1246
 
872
- The following rules are now included in the recommended preset as warnings:
1247
+ The following rules are now included in the recommended preset as warnings:
873
1248
 
874
- - no-deprecated-design-token-usage
1249
+ - no-deprecated-design-token-usage
875
1250
 
876
1251
  ### Minor Changes
877
1252
 
878
- - [`b689e24847d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b689e24847d) - All lint rule violations in IDEs now point to their corresponding documentation on https://atlassian.design.
1253
+ - [`b689e24847d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b689e24847d) - All
1254
+ lint rule violations in IDEs now point to their corresponding documentation on
1255
+ https://atlassian.design.
879
1256
 
880
1257
  ## 4.20.0
881
1258
 
882
1259
  ### Minor Changes
883
1260
 
884
- - [#32211](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32211) [`fa50be73bfe`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fa50be73bfe) - [ux] Spacing rule now also looks at and attempts to parse additional properties.
1261
+ - [#32211](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32211)
1262
+ [`fa50be73bfe`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fa50be73bfe) - [ux]
1263
+ Spacing rule now also looks at and attempts to parse additional properties.
885
1264
 
886
1265
  ## 4.19.1
887
1266
 
888
1267
  ### Patch Changes
889
1268
 
890
- - [#32367](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32367) [`0047d204889`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0047d204889) - Docs are now generated from source.
1269
+ - [#32367](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32367)
1270
+ [`0047d204889`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0047d204889) - Docs
1271
+ are now generated from source.
891
1272
 
892
1273
  ## 4.19.0
893
1274
 
894
1275
  ### Minor Changes
895
1276
 
896
- - [#32306](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32306) [`ecbb3354125`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ecbb3354125) - This package now uses codegen to generate the rules index and presets. There is no change to the public api with this release.
897
- - [`e00ab4b87d9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e00ab4b87d9) - The README and website documentation now contain a generated table with all available rules in the plugin.
1277
+ - [#32306](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32306)
1278
+ [`ecbb3354125`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ecbb3354125) - This
1279
+ package now uses codegen to generate the rules index and presets. There is no change to the
1280
+ public api with this release.
1281
+ - [`e00ab4b87d9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e00ab4b87d9) - The
1282
+ README and website documentation now contain a generated table with all available rules in the
1283
+ plugin.
898
1284
 
899
1285
  ## 4.18.0
900
1286
 
901
1287
  ### Minor Changes
902
1288
 
903
- - [#31044](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31044) [`c858ddc70ff`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c858ddc70ff) - Add deprecated-imports entries to config that the rule no-deprecated-imports can read from.
1289
+ - [#31044](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31044)
1290
+ [`c858ddc70ff`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c858ddc70ff) - Add
1291
+ deprecated-imports entries to config that the rule no-deprecated-imports can read from.
904
1292
 
905
1293
  ## 4.17.1
906
1294
 
907
1295
  ### Patch Changes
908
1296
 
909
- - [#31568](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31568) [`fd4bdeabac4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd4bdeabac4) - ensure-design-token-usage: Fixes various false positives including linting of variable declarations, type definitions, switch cases and if statements
1297
+ - [#31568](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31568)
1298
+ [`fd4bdeabac4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd4bdeabac4) -
1299
+ ensure-design-token-usage: Fixes various false positives including linting of variable
1300
+ declarations, type definitions, switch cases and if statements
910
1301
 
911
1302
  ## 4.17.0
912
1303
 
913
1304
  ### Minor Changes
914
1305
 
915
- - [#31131](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31131) [`c80505045f0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c80505045f0) - Added new rule to encourage use of @atlaskit/primitives components where relavant. Currently disabled by default, so there should be no expected change to consumers.
1306
+ - [#31131](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31131)
1307
+ [`c80505045f0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c80505045f0) - Added
1308
+ new rule to encourage use of @atlaskit/primitives components where relavant. Currently disabled
1309
+ by default, so there should be no expected change to consumers.
916
1310
 
917
1311
  ## 4.16.5
918
1312
 
919
1313
  ### Patch Changes
920
1314
 
921
- - [#30785](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30785) [`c82e6ef389c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c82e6ef389c) - Fix bug when replacing shorthand css property values with tokens, values without corresponding token won't be replaced. Also, allow styled2 alias to be matched in object styles for the spacing rule, given Jira frontend uses that alias extensively
1315
+ - [#30785](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30785)
1316
+ [`c82e6ef389c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c82e6ef389c) - Fix
1317
+ bug when replacing shorthand css property values with tokens, values without corresponding token
1318
+ won't be replaced. Also, allow styled2 alias to be matched in object styles for the spacing
1319
+ rule, given Jira frontend uses that alias extensively
922
1320
 
923
1321
  ## 4.16.4
924
1322
 
925
1323
  ### Patch Changes
926
1324
 
927
- - [#30707](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30707) [`358730833d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/358730833d8) - Add overrides in @atlaskit/drawer to deprecated config
1325
+ - [#30707](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30707)
1326
+ [`358730833d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/358730833d8) - Add
1327
+ overrides in @atlaskit/drawer to deprecated config
928
1328
 
929
1329
  ## 4.16.3
930
1330
 
931
1331
  ### Patch Changes
932
1332
 
933
- - [#30678](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30678) [`ed34264c827`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ed34264c827) - Fix errors on tagged template literals for eslint rule ensure-design-token-usage-spacing and handle edgecases ensuring seamless fallback on errors
1333
+ - [#30678](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30678)
1334
+ [`ed34264c827`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ed34264c827) - Fix
1335
+ errors on tagged template literals for eslint rule ensure-design-token-usage-spacing and handle
1336
+ edgecases ensuring seamless fallback on errors
934
1337
 
935
1338
  ## 4.16.2
936
1339
 
937
1340
  ### Patch Changes
938
1341
 
939
- - [#30658](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30658) [`3db6efeac0d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3db6efeac0d) - Improves internal configuration of spacing tokens rule.
1342
+ - [#30658](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30658)
1343
+ [`3db6efeac0d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3db6efeac0d) -
1344
+ Improves internal configuration of spacing tokens rule.
940
1345
 
941
1346
  ## 4.16.1
942
1347
 
943
1348
  ### Patch Changes
944
1349
 
945
- - [#30604](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30604) [`29648ace573`](https://bitbucket.org/atlassian/atlassian-frontend/commits/29648ace573) - Additional selector for ObjectExpression improves coverage of eslint rule.
1350
+ - [#30604](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30604)
1351
+ [`29648ace573`](https://bitbucket.org/atlassian/atlassian-frontend/commits/29648ace573) -
1352
+ Additional selector for ObjectExpression improves coverage of eslint rule.
946
1353
 
947
1354
  ## 4.16.0
948
1355
 
949
1356
  ### Minor Changes
950
1357
 
951
- - [#29960](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29960) [`efadee8e999`](https://bitbucket.org/atlassian/atlassian-frontend/commits/efadee8e999) - Update no-deprecated-apis ESlint rule to accept configurations
1358
+ - [#29960](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29960)
1359
+ [`efadee8e999`](https://bitbucket.org/atlassian/atlassian-frontend/commits/efadee8e999) - Update
1360
+ no-deprecated-apis ESlint rule to accept configurations
952
1361
 
953
1362
  ## 4.15.6
954
1363
 
955
1364
  ### Patch Changes
956
1365
 
957
- - [#30134](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30134) [`6a43a780a85`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6a43a780a85) - Enhance token replacement capabilities of ensure-design-tokens-usage-spacing rule in tagged template literal strings
1366
+ - [#30134](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30134)
1367
+ [`6a43a780a85`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6a43a780a85) -
1368
+ Enhance token replacement capabilities of ensure-design-tokens-usage-spacing rule in tagged
1369
+ template literal strings
958
1370
 
959
1371
  ## 4.15.5
960
1372
 
961
1373
  ### Patch Changes
962
1374
 
963
- - [#30141](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30141) [`dda18b361da`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dda18b361da) - Bump version of `eslint-codemod-utils`.
1375
+ - [#30141](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30141)
1376
+ [`dda18b361da`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dda18b361da) - Bump
1377
+ version of `eslint-codemod-utils`.
964
1378
 
965
1379
  ## 4.15.4
966
1380
 
967
1381
  ### Patch Changes
968
1382
 
969
- - [#27964](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27964) [`ada57c0423d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ada57c0423d) - Add lint rule to prevent use of `margin` CSS property.
1383
+ - [#27964](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27964)
1384
+ [`ada57c0423d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ada57c0423d) - Add
1385
+ lint rule to prevent use of `margin` CSS property.
970
1386
 
971
1387
  ## 4.15.3
972
1388
 
973
1389
  ### Patch Changes
974
1390
 
975
- - [#29613](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29613) [`965e9c7f5d7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/965e9c7f5d7) - Fix spacing token autofix in tagged template literal styles, enabling replacement of expression to equivalent spacing tokens
1391
+ - [#29613](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29613)
1392
+ [`965e9c7f5d7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/965e9c7f5d7) - Fix
1393
+ spacing token autofix in tagged template literal styles, enabling replacement of expression to
1394
+ equivalent spacing tokens
976
1395
 
977
1396
  ## 4.15.2
978
1397
 
979
1398
  ### Patch Changes
980
1399
 
981
- - [#27634](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27634) [`cf16d8f8bcc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cf16d8f8bcc) - Removes usage of tokens which have been removed from the codebase
982
- - Updated dependencies
1400
+ - [#27634](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27634)
1401
+ [`cf16d8f8bcc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cf16d8f8bcc) -
1402
+ Removes usage of tokens which have been removed from the codebase
1403
+ - Updated dependencies
983
1404
 
984
1405
  ## 4.15.1
985
1406
 
986
1407
  ### Patch Changes
987
1408
 
988
- - [#29390](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29390) [`18aeca8c199`](https://bitbucket.org/atlassian/atlassian-frontend/commits/18aeca8c199) - Internal change to update token references. There is no expected behaviour or visual change.
1409
+ - [#29390](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29390)
1410
+ [`18aeca8c199`](https://bitbucket.org/atlassian/atlassian-frontend/commits/18aeca8c199) -
1411
+ Internal change to update token references. There is no expected behaviour or visual change.
989
1412
 
990
1413
  ## 4.15.0
991
1414
 
992
1415
  ### Minor Changes
993
1416
 
994
- - [#29346](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29346) [`17b3c102180`](https://bitbucket.org/atlassian/atlassian-frontend/commits/17b3c102180) - ensure-design-token-usage-spacing only lints on spacing properties by default, with typography properties enabled via config
1417
+ - [#29346](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29346)
1418
+ [`17b3c102180`](https://bitbucket.org/atlassian/atlassian-frontend/commits/17b3c102180) -
1419
+ ensure-design-token-usage-spacing only lints on spacing properties by default, with typography
1420
+ properties enabled via config
995
1421
 
996
1422
  ## 4.14.1
997
1423
 
998
1424
  ### Patch Changes
999
1425
 
1000
- - [#28064](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28064) [`03697c65399`](https://bitbucket.org/atlassian/atlassian-frontend/commits/03697c65399) - Improved handling of font-family properties.
1426
+ - [#28064](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28064)
1427
+ [`03697c65399`](https://bitbucket.org/atlassian/atlassian-frontend/commits/03697c65399) -
1428
+ Improved handling of font-family properties.
1001
1429
 
1002
1430
  ## 4.14.0
1003
1431
 
1004
1432
  ### Minor Changes
1005
1433
 
1006
- - [#27730](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27730) [`be1ec01a101`](https://bitbucket.org/atlassian/atlassian-frontend/commits/be1ec01a101) - Added another valid callee `getTokenValue()` which is used for getting the current computed CSS value for the resulting CSS Custom Property, hard-coded colors that wrapped in `getTokenValue()` call won't fail.
1434
+ - [#27730](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27730)
1435
+ [`be1ec01a101`](https://bitbucket.org/atlassian/atlassian-frontend/commits/be1ec01a101) - Added
1436
+ another valid callee `getTokenValue()` which is used for getting the current computed CSS value
1437
+ for the resulting CSS Custom Property, hard-coded colors that wrapped in `getTokenValue()` call
1438
+ won't fail.
1007
1439
 
1008
1440
  ## 4.13.10
1009
1441
 
1010
1442
  ### Patch Changes
1011
1443
 
1012
- - [#28011](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28011) [`00c057bdd71`](https://bitbucket.org/atlassian/atlassian-frontend/commits/00c057bdd71) - Removes spacing-raw & typography-raw entrypoints in favor of tokens-raw
1013
- - Updated dependencies
1444
+ - [#28011](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28011)
1445
+ [`00c057bdd71`](https://bitbucket.org/atlassian/atlassian-frontend/commits/00c057bdd71) -
1446
+ Removes spacing-raw & typography-raw entrypoints in favor of tokens-raw
1447
+ - Updated dependencies
1014
1448
 
1015
1449
  ## 4.13.9
1016
1450
 
1017
1451
  ### Patch Changes
1018
1452
 
1019
- - Updated dependencies
1453
+ - Updated dependencies
1020
1454
 
1021
1455
  ## 4.13.8
1022
1456
 
1023
1457
  ### Patch Changes
1024
1458
 
1025
- - [#27783](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27783) [`f4c5d7db7aa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f4c5d7db7aa) - Updates fix for `ensure-design-token-usage-spacing` to ensure fixes are not applied erroneously.
1459
+ - [#27783](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27783)
1460
+ [`f4c5d7db7aa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f4c5d7db7aa) -
1461
+ Updates fix for `ensure-design-token-usage-spacing` to ensure fixes are not applied erroneously.
1026
1462
 
1027
1463
  ## 4.13.7
1028
1464
 
1029
1465
  ### Patch Changes
1030
1466
 
1031
- - [#27592](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27592) [`41ac6cadd32`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41ac6cadd32) - Adds support to the ensure-design-token-usage-spacing rule for replacing typography values with tokens
1467
+ - [#27592](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27592)
1468
+ [`41ac6cadd32`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41ac6cadd32) - Adds
1469
+ support to the ensure-design-token-usage-spacing rule for replacing typography values with
1470
+ tokens
1032
1471
 
1033
1472
  ## 4.13.6
1034
1473
 
1035
1474
  ### Patch Changes
1036
1475
 
1037
- - [#27482](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27482) [`0518a6ab41d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0518a6ab41d) - Changes behavior of `ensure-design-token-usage-spacing` to fallback to px instead of rems when a fix is applied.
1476
+ - [#27482](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27482)
1477
+ [`0518a6ab41d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0518a6ab41d) -
1478
+ Changes behavior of `ensure-design-token-usage-spacing` to fallback to px instead of rems when a
1479
+ fix is applied.
1038
1480
 
1039
1481
  ## 4.13.5
1040
1482
 
1041
1483
  ### Patch Changes
1042
1484
 
1043
- - [#27431](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27431) [`fd903efd5f8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd903efd5f8) - Dependency bump of `eslint-codemod-utils`.
1485
+ - [#27431](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27431)
1486
+ [`fd903efd5f8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd903efd5f8) -
1487
+ Dependency bump of `eslint-codemod-utils`.
1044
1488
 
1045
1489
  ## 4.13.4
1046
1490
 
1047
1491
  ### Patch Changes
1048
1492
 
1049
- - Updated dependencies
1493
+ - Updated dependencies
1050
1494
 
1051
1495
  ## 4.13.3
1052
1496
 
1053
1497
  ### Patch Changes
1054
1498
 
1055
- - [#26561](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26561) [`4793b01cfcc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4793b01cfcc) - Add an optional `customTokens` configuration option for no-unsafe-design-token-usage
1499
+ - [#26561](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26561)
1500
+ [`4793b01cfcc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4793b01cfcc) - Add an
1501
+ optional `customTokens` configuration option for no-unsafe-design-token-usage
1056
1502
 
1057
1503
  ## 4.13.2
1058
1504
 
1059
1505
  ### Patch Changes
1060
1506
 
1061
- - [#26623](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26623) [`1a7a2c87797`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1a7a2c87797) - @atlaskit/eslint-plugin-design-system now maps values to rem based tokens
1507
+ - [#26623](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26623)
1508
+ [`1a7a2c87797`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1a7a2c87797) -
1509
+ @atlaskit/eslint-plugin-design-system now maps values to rem based tokens
1062
1510
 
1063
1511
  ## 4.13.1
1064
1512
 
1065
1513
  ### Patch Changes
1066
1514
 
1067
- - [#26604](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26604) [`cc76eda3bc0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cc76eda3bc0) - Add support for template literals in ensure-design-token-usage-spacing
1515
+ - [#26604](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26604)
1516
+ [`cc76eda3bc0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cc76eda3bc0) - Add
1517
+ support for template literals in ensure-design-token-usage-spacing
1068
1518
 
1069
1519
  ## 4.13.0
1070
1520
 
1071
1521
  ### Minor Changes
1072
1522
 
1073
- - [#25860](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/25860) [`9693f6e7816`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9693f6e7816) - [ux] Adds a new case to the no-unsafe-design-token-usage rule to lint against uses of 'experimental' tokens and automatically replace them with their replacement (either a token or a fallback) via a fixer.
1523
+ - [#25860](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/25860)
1524
+ [`9693f6e7816`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9693f6e7816) - [ux]
1525
+ Adds a new case to the no-unsafe-design-token-usage rule to lint against uses of 'experimental'
1526
+ tokens and automatically replace them with their replacement (either a token or a fallback) via
1527
+ a fixer.
1074
1528
 
1075
1529
  ## 4.12.4
1076
1530
 
1077
1531
  ### Patch Changes
1078
1532
 
1079
- - [#26488](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26488) [`bc989043572`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc989043572) - Internal changes to apply spacing tokens. This should be a no-op change.
1533
+ - [#26488](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26488)
1534
+ [`bc989043572`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc989043572) -
1535
+ Internal changes to apply spacing tokens. This should be a no-op change.
1080
1536
 
1081
1537
  ## 4.12.3
1082
1538
 
1083
1539
  ### Patch Changes
1084
1540
 
1085
- - [#26408](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26408) [`9de88fa1e1e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9de88fa1e1e) - Internal changes to include spacing tokens in component implementations.
1541
+ - [#26408](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26408)
1542
+ [`9de88fa1e1e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9de88fa1e1e) -
1543
+ Internal changes to include spacing tokens in component implementations.
1086
1544
 
1087
1545
  ## 4.12.2
1088
1546
 
1089
1547
  ### Patch Changes
1090
1548
 
1091
- - [#26186](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26186) [`c6b748ff03a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c6b748ff03a) - Small tweak to the ensure-design-token-usage-spacing rule to ensure we aren't over-eager in auto-fixing code with highly experimental tokens.
1549
+ - [#26186](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26186)
1550
+ [`c6b748ff03a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c6b748ff03a) - Small
1551
+ tweak to the ensure-design-token-usage-spacing rule to ensure we aren't over-eager in
1552
+ auto-fixing code with highly experimental tokens.
1092
1553
 
1093
1554
  ## 4.12.1
1094
1555
 
1095
1556
  ### Patch Changes
1096
1557
 
1097
- - [#26165](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26165) [`e86c57a4a60`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e86c57a4a60) - Improves the `no-raw-spacing-values` rule to include an autofixer. Spacing values that can be resolved to a token will be.
1558
+ - [#26165](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26165)
1559
+ [`e86c57a4a60`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e86c57a4a60) -
1560
+ Improves the `no-raw-spacing-values` rule to include an autofixer. Spacing values that can be
1561
+ resolved to a token will be.
1098
1562
 
1099
1563
  ## 4.12.0
1100
1564
 
1101
1565
  ### Minor Changes
1102
1566
 
1103
- - [#26111](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26111) [`109c705cd9c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/109c705cd9c) - [ux] Adds a new case to the no-unsafe-design-token-usage rule to lint against uses of 'experimental' tokens and automatically replace them with their replacement (either a token or a fallback) via a fixer.
1567
+ - [#26111](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26111)
1568
+ [`109c705cd9c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/109c705cd9c) - [ux]
1569
+ Adds a new case to the no-unsafe-design-token-usage rule to lint against uses of 'experimental'
1570
+ tokens and automatically replace them with their replacement (either a token or a fallback) via
1571
+ a fixer.
1104
1572
 
1105
1573
  ## 4.11.2
1106
1574
 
1107
1575
  ### Patch Changes
1108
1576
 
1109
- - [#24710](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24710) [`3ee63238f49`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3ee63238f49) - Update internals of Box, Text, Inline and Stack to handle `children` more accurately.
1110
- Also update scope of `use-primitives` to suggest Box and Text more selectively.
1577
+ - [#24710](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24710)
1578
+ [`3ee63238f49`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3ee63238f49) - Update
1579
+ internals of Box, Text, Inline and Stack to handle `children` more accurately. Also update scope
1580
+ of `use-primitives` to suggest Box and Text more selectively.
1111
1581
 
1112
1582
  ## 4.11.1
1113
1583
 
1114
1584
  ### Patch Changes
1115
1585
 
1116
- - [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874) [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
1586
+ - [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
1587
+ [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) -
1588
+ Upgrade Typescript from `4.3.5` to `4.5.5`
1117
1589
 
1118
1590
  ## 4.11.0
1119
1591
 
1120
1592
  ### Minor Changes
1121
1593
 
1122
- - [#24934](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24934) [`268f92124e2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/268f92124e2) - Bolster isException logic to support descendants of excepted functions and to be case-agnostic
1594
+ - [#24934](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24934)
1595
+ [`268f92124e2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/268f92124e2) -
1596
+ Bolster isException logic to support descendants of excepted functions and to be case-agnostic
1123
1597
 
1124
1598
  ## 4.10.1
1125
1599
 
1126
1600
  ### Patch Changes
1127
1601
 
1128
- - [#24004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24004) [`d76851b2f42`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d76851b2f42) - Improved NaN handling and output
1129
- - [`0544fe823d1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0544fe823d1) - Updates to account for nested unary selectors.
1130
- - [`1ed3db0c9be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1ed3db0c9be) - Improvements to lint rule and accounting for edge cases
1602
+ - [#24004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24004)
1603
+ [`d76851b2f42`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d76851b2f42) -
1604
+ Improved NaN handling and output
1605
+ - [`0544fe823d1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0544fe823d1) -
1606
+ Updates to account for nested unary selectors.
1607
+ - [`1ed3db0c9be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1ed3db0c9be) -
1608
+ Improvements to lint rule and accounting for edge cases
1131
1609
 
1132
1610
  ## 4.10.0
1133
1611
 
1134
1612
  ### Minor Changes
1135
1613
 
1136
- - [#24591](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24591) [`bb808f9a186`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bb808f9a186) - Add exceptions option to ensure-design-token-usage rule
1614
+ - [#24591](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24591)
1615
+ [`bb808f9a186`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bb808f9a186) - Add
1616
+ exceptions option to ensure-design-token-usage rule
1137
1617
 
1138
1618
  ## 4.9.0
1139
1619
 
1140
1620
  ### Minor Changes
1141
1621
 
1142
- - [#24547](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24547) [`9701bf4a8b3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9701bf4a8b3) - Fix false positives for variable names and object property keys
1622
+ - [#24547](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24547)
1623
+ [`9701bf4a8b3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9701bf4a8b3) - Fix
1624
+ false positives for variable names and object property keys
1143
1625
 
1144
1626
  ## 4.8.2
1145
1627
 
1146
1628
  ### Patch Changes
1147
1629
 
1148
- - [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492) [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
1630
+ - [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
1631
+ [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) -
1632
+ Upgrade Typescript from `4.2.4` to `4.3.5`.
1149
1633
 
1150
1634
  ## 4.8.1
1151
1635
 
1152
1636
  ### Patch Changes
1153
1637
 
1154
- - [#24445](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24445) [`805d0fde0fa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/805d0fde0fa) - Bump eslint-codemod-utils to 1.4.0, no real changes as no new imports are exercised
1638
+ - [#24445](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24445)
1639
+ [`805d0fde0fa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/805d0fde0fa) - Bump
1640
+ eslint-codemod-utils to 1.4.0, no real changes as no new imports are exercised
1155
1641
 
1156
1642
  ## 4.8.0
1157
1643
 
1158
1644
  ### Minor Changes
1159
1645
 
1160
- - [#23610](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23610) [`725f5fde8d9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/725f5fde8d9) - Adds a rule to restrict usage of deprecated attribute `type` for inline-message
1646
+ - [#23610](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23610)
1647
+ [`725f5fde8d9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/725f5fde8d9) - Adds a
1648
+ rule to restrict usage of deprecated attribute `type` for inline-message
1161
1649
 
1162
1650
  ## 4.7.2
1163
1651
 
1164
1652
  ### Patch Changes
1165
1653
 
1166
- - [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381) [`9f64ab9d5ea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9f64ab9d5ea) - Improvements / added robustness to edge cases previously unhandled.
1167
- - [`8e848e3a4a6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8e848e3a4a6) - Internal updates to a number of rules. Introduced a custom formatter for the rule 'no-raw-spacing-values'.
1168
- - [`31494c13aaa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/31494c13aaa) - Type fixes to the internals of a number of rules.
1654
+ - [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381)
1655
+ [`9f64ab9d5ea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9f64ab9d5ea) -
1656
+ Improvements / added robustness to edge cases previously unhandled.
1657
+ - [`8e848e3a4a6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8e848e3a4a6) -
1658
+ Internal updates to a number of rules. Introduced a custom formatter for the rule
1659
+ 'no-raw-spacing-values'.
1660
+ - [`31494c13aaa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/31494c13aaa) - Type
1661
+ fixes to the internals of a number of rules.
1169
1662
 
1170
1663
  ## 4.7.1
1171
1664
 
1172
1665
  ### Patch Changes
1173
1666
 
1174
- - [#23674](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23674) [`37ac5652977`](https://bitbucket.org/atlassian/atlassian-frontend/commits/37ac5652977) - Mark `isOpen` and `innerRef` props on @atlaskit/banner as deprecated.
1667
+ - [#23674](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23674)
1668
+ [`37ac5652977`](https://bitbucket.org/atlassian/atlassian-frontend/commits/37ac5652977) - Mark
1669
+ `isOpen` and `innerRef` props on @atlaskit/banner as deprecated.
1175
1670
 
1176
1671
  ## 4.7.0
1177
1672
 
1178
1673
  ### Minor Changes
1179
1674
 
1180
- - [#22642](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22642) [`740057653f9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/740057653f9) - Adds additional rule to restrict usage of banned imports from the design system.
1675
+ - [#22642](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22642)
1676
+ [`740057653f9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/740057653f9) - Adds
1677
+ additional rule to restrict usage of banned imports from the design system.
1181
1678
 
1182
1679
  ## 4.6.0
1183
1680
 
1184
1681
  ### Minor Changes
1185
1682
 
1186
- - [#21819](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21819) [`f561f58bc7a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f561f58bc7a) - Introduces a new rule `icon-label` to validate accessible usage of the icon components label prop when used with other design system components.
1683
+ - [#21819](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21819)
1684
+ [`f561f58bc7a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f561f58bc7a) -
1685
+ Introduces a new rule `icon-label` to validate accessible usage of the icon components label
1686
+ prop when used with other design system components.
1187
1687
 
1188
1688
  ## 4.5.0
1189
1689
 
1190
1690
  ### Minor Changes
1191
1691
 
1192
- - [#21570](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21570) [`b7235858f48`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b7235858f48) - Add new paths to the no-deprecated-imports rule for deprecated @atlaskit/logo exports.
1692
+ - [#21570](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21570)
1693
+ [`b7235858f48`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b7235858f48) - Add
1694
+ new paths to the no-deprecated-imports rule for deprecated @atlaskit/logo exports.
1193
1695
 
1194
1696
  ## 4.4.6
1195
1697
 
1196
1698
  ### Patch Changes
1197
1699
 
1198
- - Updated dependencies
1700
+ - Updated dependencies
1199
1701
 
1200
1702
  ## 4.4.5
1201
1703
 
1202
1704
  ### Patch Changes
1203
1705
 
1204
- - [#20721](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20721) [`344784eec9e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/344784eec9e) - Fix linting error message for focusRing import
1706
+ - [#20721](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20721)
1707
+ [`344784eec9e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/344784eec9e) - Fix
1708
+ linting error message for focusRing import
1205
1709
 
1206
1710
  ## 4.4.4
1207
1711
 
1208
1712
  ### Patch Changes
1209
1713
 
1210
- - [#20860](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20860) [`55a212b8b01`](https://bitbucket.org/atlassian/atlassian-frontend/commits/55a212b8b01) - Adds an additional rule for DS users to opt into to using 'noop' as a common reference rather than rewriting anonymous functions.
1714
+ - [#20860](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20860)
1715
+ [`55a212b8b01`](https://bitbucket.org/atlassian/atlassian-frontend/commits/55a212b8b01) - Adds
1716
+ an additional rule for DS users to opt into to using 'noop' as a common reference rather than
1717
+ rewriting anonymous functions.
1211
1718
 
1212
1719
  ## 4.4.3
1213
1720
 
1214
1721
  ### Patch Changes
1215
1722
 
1216
- - [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650) [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
1723
+ - [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
1724
+ [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) -
1725
+ Upgrade to TypeScript 4.2.4
1217
1726
 
1218
1727
  ## 4.4.2
1219
1728
 
1220
1729
  ### Patch Changes
1221
1730
 
1222
- - [#20033](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20033) [`b3e5a62a9e3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b3e5a62a9e3) - Adds `static` techstack to package, enforcing stricter style linting. In this case the package already satisfied this requirement so there have been no changes to styles.
1223
- - Updated dependencies
1731
+ - [#20033](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20033)
1732
+ [`b3e5a62a9e3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b3e5a62a9e3) - Adds
1733
+ `static` techstack to package, enforcing stricter style linting. In this case the package
1734
+ already satisfied this requirement so there have been no changes to styles.
1735
+ - Updated dependencies
1224
1736
 
1225
1737
  ## 4.4.1
1226
1738
 
1227
1739
  ### Patch Changes
1228
1740
 
1229
- - [#20390](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20390) [`236e6040fb9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/236e6040fb9) - Fixes a bug in the rule `ensure-design-token-usage` where some color value types were not being detected as hardcoded color usage. This affected Styled Components and Emotion CSS prop syntaxes.
1741
+ - [#20390](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20390)
1742
+ [`236e6040fb9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/236e6040fb9) - Fixes
1743
+ a bug in the rule `ensure-design-token-usage` where some color value types were not being
1744
+ detected as hardcoded color usage. This affected Styled Components and Emotion CSS prop
1745
+ syntaxes.
1230
1746
 
1231
- These color types have been fixed:
1747
+ These color types have been fixed:
1232
1748
 
1233
- - rgb
1234
- - rgba
1235
- - hsl
1236
- - hsla
1237
- - lch
1238
- - lab
1239
- - color()
1749
+ - rgb
1750
+ - rgba
1751
+ - hsl
1752
+ - hsla
1753
+ - lch
1754
+ - lab
1755
+ - color()
1240
1756
 
1241
1757
  ## 4.4.0
1242
1758
 
1243
1759
  ### Minor Changes
1244
1760
 
1245
- - [#19618](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19618) [`1065b5b1bbb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1065b5b1bbb) - Fixed bug where deleted '[default]' tokens were not being detected by lint tooling
1761
+ - [#19618](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19618)
1762
+ [`1065b5b1bbb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1065b5b1bbb) - Fixed
1763
+ bug where deleted '[default]' tokens were not being detected by lint tooling
1246
1764
 
1247
1765
  ### Patch Changes
1248
1766
 
1249
- - Updated dependencies
1767
+ - Updated dependencies
1250
1768
 
1251
1769
  ## 4.3.0
1252
1770
 
1253
1771
  ### Minor Changes
1254
1772
 
1255
- - [#19019](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19019) [`2dbc546f748`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2dbc546f748) - Fixes a bug where token paths including [default] were not being detected by the linter
1773
+ - [#19019](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19019)
1774
+ [`2dbc546f748`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2dbc546f748) - Fixes
1775
+ a bug where token paths including [default] were not being detected by the linter
1256
1776
 
1257
1777
  ### Patch Changes
1258
1778
 
1259
- - Updated dependencies
1779
+ - Updated dependencies
1260
1780
 
1261
1781
  ## 4.2.1
1262
1782
 
1263
1783
  ### Patch Changes
1264
1784
 
1265
- - [#19453](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19453) [`63a22b17621`](https://bitbucket.org/atlassian/atlassian-frontend/commits/63a22b17621) - Fixes a bug where use of qualified type annotations would throw an error.
1785
+ - [#19453](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19453)
1786
+ [`63a22b17621`](https://bitbucket.org/atlassian/atlassian-frontend/commits/63a22b17621) - Fixes
1787
+ a bug where use of qualified type annotations would throw an error.
1266
1788
 
1267
1789
  ## 4.2.0
1268
1790
 
1269
1791
  ### Minor Changes
1270
1792
 
1271
- - [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752) [`afc248d2ded`](https://bitbucket.org/atlassian/atlassian-frontend/commits/afc248d2ded) - Adds a new rule, `use-visually-hidden` to complement the `@atlaskit/visually-hidden` component.
1272
- - [#18526](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18526) [`0c0a8b5dff4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0c0a8b5dff4) - Adds an additional rule 'no-deprecated-api-usage'. This rule targets APIs/props in the Design System that we intend to remove completely. This rule should be used by all product repos as it will provide an early warning of expected deprecations.
1273
- - [`93d6f8856f2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/93d6f8856f2) - @atlaskit/icon-priority has been deprecated due to low usage. It will be deleted after 21 April 2022. If you rely on these icons, @atlaskit/icon-priority will still be available as a deprecated package on NPM, but we recommend self-hosting and managing.
1793
+ - [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752)
1794
+ [`afc248d2ded`](https://bitbucket.org/atlassian/atlassian-frontend/commits/afc248d2ded) - Adds a
1795
+ new rule, `use-visually-hidden` to complement the `@atlaskit/visually-hidden` component.
1796
+ - [#18526](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18526)
1797
+ [`0c0a8b5dff4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0c0a8b5dff4) - Adds
1798
+ an additional rule 'no-deprecated-api-usage'. This rule targets APIs/props in the Design System
1799
+ that we intend to remove completely. This rule should be used by all product repos as it will
1800
+ provide an early warning of expected deprecations.
1801
+ - [`93d6f8856f2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/93d6f8856f2) -
1802
+ @atlaskit/icon-priority has been deprecated due to low usage. It will be deleted after 21
1803
+ April 2022. If you rely on these icons, @atlaskit/icon-priority will still be available as a
1804
+ deprecated package on NPM, but we recommend self-hosting and managing.
1274
1805
 
1275
1806
  ## 4.1.1
1276
1807
 
1277
1808
  ### Patch Changes
1278
1809
 
1279
- - [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - The no-unsafe-design-token-usage eslint rule now respects the new token naming conventions when auto-fixing by correctly formatting token ids.
1280
- - Updated dependencies
1810
+ - [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - The
1811
+ no-unsafe-design-token-usage eslint rule now respects the new token naming conventions when
1812
+ auto-fixing by correctly formatting token ids.
1813
+ - Updated dependencies
1281
1814
 
1282
1815
  ## 4.1.0
1283
1816
 
1284
1817
  ### Minor Changes
1285
1818
 
1286
- - [#18168](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18168) [`52fbe80eeb5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/52fbe80eeb5) - Moved logic for detecting deprecated tokens out of no-unsafe-design-token-usage and moves it into a new rule: no-deprecated-token-usage. This rule is solely reponsible for catching usage of deprecated tokens. In most cases this allows consumers to set this rule to "warn", allowing iterative migration to new token names rather than in a big bang.
1819
+ - [#18168](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18168)
1820
+ [`52fbe80eeb5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/52fbe80eeb5) - Moved
1821
+ logic for detecting deprecated tokens out of no-unsafe-design-token-usage and moves it into a
1822
+ new rule: no-deprecated-token-usage. This rule is solely reponsible for catching usage of
1823
+ deprecated tokens. In most cases this allows consumers to set this rule to "warn", allowing
1824
+ iterative migration to new token names rather than in a big bang.
1287
1825
 
1288
1826
  ### Patch Changes
1289
1827
 
1290
- - Updated dependencies
1828
+ - Updated dependencies
1291
1829
 
1292
1830
  ## 4.0.1
1293
1831
 
1294
1832
  ### Patch Changes
1295
1833
 
1296
- - [#17094](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/17094) [`7da1a30902a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7da1a30902a) - Adds missing meta to `ensure-design-token-usage` rule.
1834
+ - [#17094](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/17094)
1835
+ [`7da1a30902a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7da1a30902a) - Adds
1836
+ missing meta to `ensure-design-token-usage` rule.
1297
1837
 
1298
1838
  ## 4.0.0
1299
1839
 
1300
1840
  ### Major Changes
1301
1841
 
1302
- - [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998) [`a2f953f3814`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a2f953f3814) - Previously the `ensure-design-token-usage` eslint rule contained all checks relating to token use. This has now been split up into two separate rules:
1303
-
1304
- `ensure-design-token-usage` now covers:
1305
-
1306
- - `legacyElevation` — warns about old usages of the elevation mixins or styles, which instead should use the `card` or `overlay` tokens.
1307
- - `hardCodedColor` — warns about use of hard-coded colors such as `color: colors.B100`, which instead should be wrapped in a `token()` call. This covers the majority of cases in existing codebases when first adopting tokens.
1308
-
1309
- `no-unsafe-design-token-usage` (new) covers the remaining rules:
1310
-
1311
- - `directTokenUsage` — warns against using the CSS Custom Property name that is output in the browser by the `token()` call.
1312
- Eg. directly using `var(--ds-accent-subtleBlue)` is bad.
1313
- - `staticToken` warns when tokens aren't used inline. Inlining the token usages helps with static analysis, which unlocks future improvements.
1314
- Eg. pulling the token out into a const like `css={ color: token(primaryButtonText) }` is bad.
1315
- - `invalidToken` — warns when using a token that doesn't exist (not one that's been renamed, see the next point).
1316
- - `tokenRenamed` — warns when using a token that's been renamed in a subsequent release.
1317
- - `tokenFallbackEnforced` — warns if a fallback for the token call is not provided.
1318
- Eg. call with the fallback like this `token('color.background.disabled', N10)` instead of `token('color.background.disabled')`.
1319
- - `tokenFallbackRestricted` — the opposite of `tokenFallbackEnforced`.
1320
- Eg. do not pass in a fallback like this `token('color.background.disabled', N10)` and instead only include the token `token('color.background.disabled')`.
1321
-
1322
- Upgrading — some instances of `\\eslint-disable` may need to be changed to the new rule. If you have failing lint rules after only bumping this package then switch those ignores to use `no-unsafe-design-token-usage` instead.
1323
-
1324
- ### Patch Changes
1325
-
1326
- - [`f460cc7c411`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f460cc7c411) - Builds for this package now pass through a tokens babel plugin, removing runtime invocations of the tokens() function and improving bundle size.
1327
- - [`26719f5b7b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/26719f5b7b0) - Update @atlaskit tokens dependency from a devDependency to a regular dependency
1328
- - [`a66711cd58c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a66711cd58c) - Remove `@atlaskit/tokens` from peer dependency.
1329
- - Updated dependencies
1842
+ - [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998)
1843
+ [`a2f953f3814`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a2f953f3814) -
1844
+ Previously the `ensure-design-token-usage` eslint rule contained all checks relating to token
1845
+ use. This has now been split up into two separate rules:
1846
+
1847
+ `ensure-design-token-usage` now covers:
1848
+
1849
+ - `legacyElevation` warns about old usages of the elevation mixins or styles, which instead
1850
+ should use the `card` or `overlay` tokens.
1851
+ - `hardCodedColor` — warns about use of hard-coded colors such as `color: colors.B100`, which
1852
+ instead should be wrapped in a `token()` call. This covers the majority of cases in existing
1853
+ codebases when first adopting tokens.
1854
+
1855
+ `no-unsafe-design-token-usage` (new) covers the remaining rules:
1856
+
1857
+ - `directTokenUsage` — warns against using the CSS Custom Property name that is output in the
1858
+ browser by the `token()` call. Eg. directly using `var(--ds-accent-subtleBlue)` is bad.
1859
+ - `staticToken` — warns when tokens aren't used inline. Inlining the token usages helps with
1860
+ static analysis, which unlocks future improvements. Eg. pulling the token out into a const
1861
+ like `css={ color: token(primaryButtonText) }` is bad.
1862
+ - `invalidToken` warns when using a token that doesn't exist (not one that's been renamed,
1863
+ see the next point).
1864
+ - `tokenRenamed` warns when using a token that's been renamed in a subsequent release.
1865
+ - `tokenFallbackEnforced` — warns if a fallback for the token call is not provided. Eg. call
1866
+ with the fallback like this `token('color.background.disabled', N10)` instead of
1867
+ `token('color.background.disabled')`.
1868
+ - `tokenFallbackRestricted` the opposite of `tokenFallbackEnforced`. Eg. do not pass in a
1869
+ fallback like this `token('color.background.disabled', N10)` and instead only include the
1870
+ token `token('color.background.disabled')`.
1871
+
1872
+ Upgrading — some instances of `\\eslint-disable` may need to be changed to the new rule. If you
1873
+ have failing lint rules after only bumping this package then switch those ignores to use
1874
+ `no-unsafe-design-token-usage` instead.
1875
+
1876
+ ### Patch Changes
1877
+
1878
+ - [`f460cc7c411`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f460cc7c411) - Builds
1879
+ for this package now pass through a tokens babel plugin, removing runtime invocations of the
1880
+ tokens() function and improving bundle size.
1881
+ - [`26719f5b7b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/26719f5b7b0) - Update
1882
+ @atlaskit tokens dependency from a devDependency to a regular dependency
1883
+ - [`a66711cd58c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a66711cd58c) - Remove
1884
+ `@atlaskit/tokens` from peer dependency.
1885
+ - Updated dependencies
1330
1886
 
1331
1887
  ## 3.2.0
1332
1888
 
1333
1889
  ### Minor Changes
1334
1890
 
1335
- - [#16362](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16362) [`2af46de94ba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2af46de94ba) - Adds additional rule to design system eslint plugin; no-deprecated-imports.
1891
+ - [#16362](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16362)
1892
+ [`2af46de94ba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2af46de94ba) - Adds
1893
+ additional rule to design system eslint plugin; no-deprecated-imports.
1336
1894
 
1337
1895
  ## 3.1.0
1338
1896
 
1339
1897
  ### Minor Changes
1340
1898
 
1341
- - [#16088](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16088) [`784f2560e9b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/784f2560e9b) - Includes additional rule in the recommended ruleset to restrict imports on older deprecated components.
1899
+ - [#16088](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16088)
1900
+ [`784f2560e9b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/784f2560e9b) -
1901
+ Includes additional rule in the recommended ruleset to restrict imports on older deprecated
1902
+ components.
1342
1903
 
1343
1904
  ## 3.0.0
1344
1905
 
1345
1906
  ### Patch Changes
1346
1907
 
1347
- - Updated dependencies
1908
+ - Updated dependencies
1348
1909
 
1349
1910
  ## 2.0.1
1350
1911
 
1351
1912
  ### Patch Changes
1352
1913
 
1353
- - [#14319](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14319) [`b6a55ffa092`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b6a55ffa092) - Introduces fixes for various edge-cases and false positives:
1914
+ - [#14319](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14319)
1915
+ [`b6a55ffa092`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b6a55ffa092) -
1916
+ Introduces fixes for various edge-cases and false positives:
1354
1917
 
1355
- - Objects that are not considered "style blocks" are now ignored. Style blocks are considered as objects assigned to variables with names containing either "style", "css", or "theme" and type annotations including "CSSProperties" or "CSSObject".
1356
- - Hexadecimal colors using the `0x` notation are now ignored
1918
+ - Objects that are not considered "style blocks" are now ignored. Style blocks are considered
1919
+ as objects assigned to variables with names containing either "style", "css", or "theme" and
1920
+ type annotations including "CSSProperties" or "CSSObject".
1921
+ - Hexadecimal colors using the `0x` notation are now ignored
1357
1922
 
1358
- Increasing the linting surface-area:
1923
+ Increasing the linting surface-area:
1359
1924
 
1360
- - Colors used in shorthand css property values will now be linted against. (ie `border: solid 1px red`)
1361
- - Strings passed directly into JSX attributes (props) are now linted (ie `<Button color="red" />`)
1925
+ - Colors used in shorthand css property values will now be linted against. (ie
1926
+ `border: solid 1px red`)
1927
+ - Strings passed directly into JSX attributes (props) are now linted (ie
1928
+ `<Button color="red" />`)
1362
1929
 
1363
- General improvements:
1930
+ General improvements:
1364
1931
 
1365
- - Color names will now only match against "whole" words. Meaning strings that inadvertently include color names like the "tan" in "standard" will no longer fail.
1932
+ - Color names will now only match against "whole" words. Meaning strings that inadvertently
1933
+ include color names like the "tan" in "standard" will no longer fail.
1366
1934
 
1367
- - Template literal styles are now linted against property values only. Meaning css property names that include colors like `white-space: nowrap` used in template literals will no longer error
1935
+ - Template literal styles are now linted against property values only. Meaning css property
1936
+ names that include colors like `white-space: nowrap` used in template literals will no
1937
+ longer error
1368
1938
 
1369
- - Increased test coverage
1939
+ - Increased test coverage
1370
1940
 
1371
- - Updated dependencies
1941
+ - Updated dependencies
1372
1942
 
1373
1943
  ## 2.0.0
1374
1944
 
1375
1945
  ### Patch Changes
1376
1946
 
1377
- - Updated dependencies
1947
+ - Updated dependencies
1378
1948
 
1379
1949
  ## 1.1.0
1380
1950
 
1381
1951
  ### Minor Changes
1382
1952
 
1383
- - [#13864](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13864) [`ac7a0fd6558`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ac7a0fd6558) - You can now configure whether fallbacks are enforced or restricted when using tokens. Fallbacks are now restricted by default.
1953
+ - [#13864](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13864)
1954
+ [`ac7a0fd6558`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ac7a0fd6558) - You
1955
+ can now configure whether fallbacks are enforced or restricted when using tokens. Fallbacks are
1956
+ now restricted by default.
1384
1957
 
1385
1958
  ### Patch Changes
1386
1959
 
1387
- - Updated dependencies
1960
+ - Updated dependencies
1388
1961
 
1389
1962
  ## 1.0.0
1390
1963
 
1391
1964
  ### Minor Changes
1392
1965
 
1393
- - [#13302](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13302) [`6cc9dc02de1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6cc9dc02de1) - Adds token renaming rule (with autofix) to ensure-design-token-usage
1966
+ - [#13302](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13302)
1967
+ [`6cc9dc02de1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6cc9dc02de1) - Adds
1968
+ token renaming rule (with autofix) to ensure-design-token-usage
1394
1969
 
1395
1970
  ### Patch Changes
1396
1971
 
1397
- - Updated dependencies
1972
+ - Updated dependencies
1398
1973
 
1399
1974
  ## 0.0.6
1400
1975
 
1401
1976
  ### Patch Changes
1402
1977
 
1403
- - [#12837](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12837) [`297928490b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/297928490b8) - Fixes false negative reports for named legacy colors.
1404
- - [`c9d8cc07750`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c9d8cc07750) - Converts internal code to TypeScript.
1405
- - [`8eea79b8ebc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8eea79b8ebc) - Update the function of checking if a node is a legacy elevation.
1406
- - [`7da605ccafe`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7da605ccafe) - Adds suggestions for incorrect usages of color and tokens
1407
- - [`f875eb3f5cf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f875eb3f5cf) - Will only error against hardcoded colors (Identifiers) that are assigned to an object property
1408
- - Updated dependencies
1978
+ - [#12837](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12837)
1979
+ [`297928490b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/297928490b8) - Fixes
1980
+ false negative reports for named legacy colors.
1981
+ - [`c9d8cc07750`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c9d8cc07750) -
1982
+ Converts internal code to TypeScript.
1983
+ - [`8eea79b8ebc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8eea79b8ebc) - Update
1984
+ the function of checking if a node is a legacy elevation.
1985
+ - [`7da605ccafe`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7da605ccafe) - Adds
1986
+ suggestions for incorrect usages of color and tokens
1987
+ - [`f875eb3f5cf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f875eb3f5cf) - Will
1988
+ only error against hardcoded colors (Identifiers) that are assigned to an object property
1989
+ - Updated dependencies
1409
1990
 
1410
1991
  ## 0.0.5
1411
1992
 
1412
1993
  ### Patch Changes
1413
1994
 
1414
- - [#12592](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12592) [`e11b3e4e1ee`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e11b3e4e1ee) - Restructures tokens into the following format {group}{property}{variant}{state}
1415
- - Updated dependencies
1995
+ - [#12592](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12592)
1996
+ [`e11b3e4e1ee`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e11b3e4e1ee) -
1997
+ Restructures tokens into the following format {group}{property}{variant}{state}
1998
+ - Updated dependencies
1416
1999
 
1417
2000
  ## 0.0.4
1418
2001
 
1419
2002
  ### Patch Changes
1420
2003
 
1421
- - [#12528](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12528) [`1926dba3536`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1926dba3536) - Adds, removes & renames tokens
2004
+ - [#12528](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12528)
2005
+ [`1926dba3536`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1926dba3536) - Adds,
2006
+ removes & renames tokens
1422
2007
 
1423
- Adds:
2008
+ Adds:
1424
2009
 
1425
- - `color.backgroundSelect`
2010
+ - `color.backgroundSelect`
1426
2011
 
1427
- Renames:
2012
+ Renames:
1428
2013
 
1429
- - `color.borderTextHighlighted` to `color.bordertextSelected`
1430
- - `elevation.base` to `evelation.backgroundDefault`
1431
- - `elevation.flatSecondary` to `elevation.backgroundSunken`
1432
- - `elevation.backgroundCard` to `color.backgroundCard`
1433
- - `elevation.backgroundOverlay` to `color.backgroundOverlay`
1434
- - `elevation.borderOverlay` to `color.borderOverlay`
1435
- - `elevation.shadowCard` to `shadow.card`
1436
- - `elevation.shadowOverlay` to `shadow.overlay`
2014
+ - `color.borderTextHighlighted` to `color.bordertextSelected`
2015
+ - `elevation.base` to `evelation.backgroundDefault`
2016
+ - `elevation.flatSecondary` to `elevation.backgroundSunken`
2017
+ - `elevation.backgroundCard` to `color.backgroundCard`
2018
+ - `elevation.backgroundOverlay` to `color.backgroundOverlay`
2019
+ - `elevation.borderOverlay` to `color.borderOverlay`
2020
+ - `elevation.shadowCard` to `shadow.card`
2021
+ - `elevation.shadowOverlay` to `shadow.overlay`
1437
2022
 
1438
- Removes:
2023
+ Removes:
1439
2024
 
1440
- - `elevation.boarderFlatPrimary`
2025
+ - `elevation.boarderFlatPrimary`
1441
2026
 
1442
- Updates:
2027
+ Updates:
1443
2028
 
1444
- - `elevation.shadowOverlay` value to `DN100`
1445
- - `color.textWarning` in light mode to `O800`
1446
- - `color.iconBorderWarning` in light mode to `O600`
2029
+ - `elevation.shadowOverlay` value to `DN100`
2030
+ - `color.textWarning` in light mode to `O800`
2031
+ - `color.iconBorderWarning` in light mode to `O600`
1447
2032
 
1448
- - Updated dependencies
2033
+ - Updated dependencies
1449
2034
 
1450
2035
  ## 0.0.3
1451
2036
 
1452
2037
  ### Patch Changes
1453
2038
 
1454
- - [#12570](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12570) [`ade8d954aa5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ade8d954aa5) - Out of the box configs have been removed until stable release.
1455
- - [`f2a0a48903d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f2a0a48903d) - Errors no longer show up on import declarations.
1456
- - [`b71d3cd3d2f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b71d3cd3d2f) - Internal artefacts no longer make their way to npm.
2039
+ - [#12570](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12570)
2040
+ [`ade8d954aa5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ade8d954aa5) - Out of
2041
+ the box configs have been removed until stable release.
2042
+ - [`f2a0a48903d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f2a0a48903d) - Errors
2043
+ no longer show up on import declarations.
2044
+ - [`b71d3cd3d2f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b71d3cd3d2f) -
2045
+ Internal artefacts no longer make their way to npm.
1457
2046
 
1458
2047
  ## 0.0.2
1459
2048
 
1460
2049
  ### Patch Changes
1461
2050
 
1462
- - [#12444](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12444) [`769ea83469c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/769ea83469c) - Moves tokens and eslint-plugin-design-system to the public namespace.
1463
- - Updated dependencies
2051
+ - [#12444](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12444)
2052
+ [`769ea83469c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/769ea83469c) - Moves
2053
+ tokens and eslint-plugin-design-system to the public namespace.
2054
+ - Updated dependencies
1464
2055
 
1465
2056
  ## 0.0.1
1466
2057
 
1467
2058
  ### Patch Changes
1468
2059
 
1469
- - [#11993](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11993) [`c5ae5c84d47`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c5ae5c84d47) - Initial commit.
1470
- - Updated dependencies
2060
+ - [#11993](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11993)
2061
+ [`c5ae5c84d47`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c5ae5c84d47) -
2062
+ Initial commit.
2063
+ - Updated dependencies