@atlaskit/eslint-plugin-design-system 11.9.0 → 11.10.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.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/eslint-plugin-design-system
|
|
2
2
|
|
|
3
|
+
## 11.10.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#109060](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109060)
|
|
8
|
+
[`4660ec858a305`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4660ec858a305) -
|
|
9
|
+
Update `React` from v16 to v18
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#105414](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/105414)
|
|
14
|
+
[`6fe5695da9ee6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6fe5695da9ee6) -
|
|
15
|
+
`use-tokens-typography` bug fix for font size 0 and non-pixel values.
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 11.9.0
|
|
4
19
|
|
|
5
20
|
### Minor Changes
|
|
@@ -226,7 +226,7 @@ var StyleObject = exports.StyleObject = {
|
|
|
226
226
|
var fontSizeRaw = (0, _utils.getValueForPropertyNode)(fontSizeNode, context);
|
|
227
227
|
|
|
228
228
|
// Without a valid fontSize value we can't be certain what token should be used; exit
|
|
229
|
-
if (
|
|
229
|
+
if (fontSizeRaw === undefined || fontSizeRaw === null) {
|
|
230
230
|
return {
|
|
231
231
|
success: false
|
|
232
232
|
};
|
|
@@ -220,7 +220,7 @@ export const StyleObject = {
|
|
|
220
220
|
const fontSizeRaw = getValueForPropertyNode(fontSizeNode, context);
|
|
221
221
|
|
|
222
222
|
// Without a valid fontSize value we can't be certain what token should be used; exit
|
|
223
|
-
if (
|
|
223
|
+
if (fontSizeRaw === undefined || fontSizeRaw === null) {
|
|
224
224
|
return {
|
|
225
225
|
success: false
|
|
226
226
|
};
|
|
@@ -221,7 +221,7 @@ export var StyleObject = {
|
|
|
221
221
|
var fontSizeRaw = getValueForPropertyNode(fontSizeNode, context);
|
|
222
222
|
|
|
223
223
|
// Without a valid fontSize value we can't be certain what token should be used; exit
|
|
224
|
-
if (
|
|
224
|
+
if (fontSizeRaw === undefined || fontSizeRaw === null) {
|
|
225
225
|
return {
|
|
226
226
|
success: false
|
|
227
227
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/eslint-plugin-design-system",
|
|
3
3
|
"description": "The essential plugin for use with the Atlassian Design System.",
|
|
4
|
-
"version": "11.
|
|
4
|
+
"version": "11.10.0",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"publishConfig": {
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@atlaskit/eslint-utils": "^1.
|
|
47
|
-
"@atlaskit/icon": "^23.
|
|
48
|
-
"@atlaskit/icon-lab": "^2.
|
|
46
|
+
"@atlaskit/eslint-utils": "^1.9.0",
|
|
47
|
+
"@atlaskit/icon": "^23.5.0",
|
|
48
|
+
"@atlaskit/icon-lab": "^2.3.0",
|
|
49
49
|
"@atlaskit/tokens": "*",
|
|
50
50
|
"@babel/runtime": "^7.0.0",
|
|
51
51
|
"@typescript-eslint/utils": "^7.1.0",
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@af/formatting": "*",
|
|
61
|
-
"@atlaskit/ds-lib": "^3.
|
|
62
|
-
"@atlaskit/theme": "^14.
|
|
61
|
+
"@atlaskit/ds-lib": "^3.5.0",
|
|
62
|
+
"@atlaskit/theme": "^14.1.0",
|
|
63
63
|
"@atlassian/codegen": "*",
|
|
64
64
|
"@atlassian/eslint-utils": "^0.5.0",
|
|
65
65
|
"@atlassian/ts-loader": "*",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"eslint": "^8.57.0",
|
|
75
75
|
"jscodeshift": "^0.13.0",
|
|
76
76
|
"outdent": "^0.5.0",
|
|
77
|
-
"react": "^
|
|
77
|
+
"react": "^18.2.0",
|
|
78
78
|
"ts-jest": "^29.2.2",
|
|
79
79
|
"typescript": "~5.4.2"
|
|
80
80
|
},
|