@atlaskit/tokens 4.8.0 → 4.8.2
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,22 @@
|
|
|
1
1
|
# @atlaskit/tokens
|
|
2
2
|
|
|
3
|
+
## 4.8.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#150642](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/150642)
|
|
8
|
+
[`862ea073ae70a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/862ea073ae70a) -
|
|
9
|
+
Fix bug where token-descriptions.csv had broken formatting
|
|
10
|
+
|
|
11
|
+
## 4.8.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [#145286](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/145286)
|
|
16
|
+
[`1da0ecb159341`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1da0ecb159341) -
|
|
17
|
+
Tiny wording change on @atlaskit/tokens/babel-plugin to more clearly describe the error without
|
|
18
|
+
string literal argument(s)
|
|
19
|
+
|
|
3
20
|
## 4.8.0
|
|
4
21
|
|
|
5
22
|
### Minor Changes
|
|
@@ -99,7 +99,7 @@ function plugin() {
|
|
|
99
99
|
if (!path.node.arguments[0]) {
|
|
100
100
|
throw new Error("token() requires at least one argument");
|
|
101
101
|
} else if (!t.isStringLiteral(path.node.arguments[0])) {
|
|
102
|
-
throw new Error("token() must have a string as the first argument");
|
|
102
|
+
throw new Error("token() must have a string literal as the first argument");
|
|
103
103
|
} else if (path.node.arguments.length > 2) {
|
|
104
104
|
throw new Error("token() does not accept ".concat(path.node.arguments.length, " arguments"));
|
|
105
105
|
}
|
|
@@ -75,7 +75,7 @@ export default function plugin() {
|
|
|
75
75
|
if (!path.node.arguments[0]) {
|
|
76
76
|
throw new Error(`token() requires at least one argument`);
|
|
77
77
|
} else if (!t.isStringLiteral(path.node.arguments[0])) {
|
|
78
|
-
throw new Error(`token() must have a string as the first argument`);
|
|
78
|
+
throw new Error(`token() must have a string literal as the first argument`);
|
|
79
79
|
} else if (path.node.arguments.length > 2) {
|
|
80
80
|
throw new Error(`token() does not accept ${path.node.arguments.length} arguments`);
|
|
81
81
|
}
|
|
@@ -89,7 +89,7 @@ export default function plugin() {
|
|
|
89
89
|
if (!path.node.arguments[0]) {
|
|
90
90
|
throw new Error("token() requires at least one argument");
|
|
91
91
|
} else if (!t.isStringLiteral(path.node.arguments[0])) {
|
|
92
|
-
throw new Error("token() must have a string as the first argument");
|
|
92
|
+
throw new Error("token() must have a string literal as the first argument");
|
|
93
93
|
} else if (path.node.arguments.length > 2) {
|
|
94
94
|
throw new Error("token() does not accept ".concat(path.node.arguments.length, " arguments"));
|
|
95
95
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/tokens",
|
|
3
|
-
"version": "4.8.
|
|
3
|
+
"version": "4.8.2",
|
|
4
4
|
"description": "Design tokens are the single source of truth to name and store design decisions.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -42,28 +42,28 @@
|
|
|
42
42
|
"react": "^18.2.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@af/formatting": "
|
|
46
|
-
"@af/visual-regression": "
|
|
45
|
+
"@af/formatting": "workspace:^",
|
|
46
|
+
"@af/visual-regression": "workspace:^",
|
|
47
47
|
"@atlaskit/avatar": "^25.0.0",
|
|
48
48
|
"@atlaskit/button": "^23.0.0",
|
|
49
49
|
"@atlaskit/calendar": "^17.1.0",
|
|
50
|
-
"@atlaskit/checkbox": "^17.
|
|
51
|
-
"@atlaskit/code": "^17.
|
|
50
|
+
"@atlaskit/checkbox": "^17.1.0",
|
|
51
|
+
"@atlaskit/code": "^17.1.0",
|
|
52
52
|
"@atlaskit/docs": "^10.0.0",
|
|
53
|
-
"@atlaskit/dropdown-menu": "^14.
|
|
53
|
+
"@atlaskit/dropdown-menu": "^14.1.0",
|
|
54
54
|
"@atlaskit/dynamic-table": "^18.1.0",
|
|
55
55
|
"@atlaskit/form": "^12.0.0",
|
|
56
56
|
"@atlaskit/grid": "^0.18.0",
|
|
57
57
|
"@atlaskit/heading": "^5.2.0",
|
|
58
58
|
"@atlaskit/icon": "^25.6.0",
|
|
59
|
-
"@atlaskit/inline-message": "^
|
|
59
|
+
"@atlaskit/inline-message": "^15.0.0",
|
|
60
60
|
"@atlaskit/link": "^3.1.0",
|
|
61
61
|
"@atlaskit/lozenge": "^12.2.0",
|
|
62
|
-
"@atlaskit/popup": "^4.
|
|
63
|
-
"@atlaskit/primitives": "^14.
|
|
64
|
-
"@atlaskit/radio": "^8.
|
|
62
|
+
"@atlaskit/popup": "^4.1.0",
|
|
63
|
+
"@atlaskit/primitives": "^14.7.0",
|
|
64
|
+
"@atlaskit/radio": "^8.1.0",
|
|
65
65
|
"@atlaskit/section-message": "^8.2.0",
|
|
66
|
-
"@atlaskit/select": "^20.
|
|
66
|
+
"@atlaskit/select": "^20.4.0",
|
|
67
67
|
"@atlaskit/tag": "^14.0.0",
|
|
68
68
|
"@atlaskit/textarea": "^8.0.0",
|
|
69
69
|
"@atlaskit/textfield": "^8.0.0",
|