@atlaskit/tokens 5.6.1 → 5.6.3
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 +16 -0
- package/dist/cjs/theme-config.js +3 -3
- package/dist/es2019/theme-config.js +3 -3
- package/dist/esm/theme-config.js +3 -3
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/tokens
|
|
2
2
|
|
|
3
|
+
## 5.6.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#193214](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/193214)
|
|
8
|
+
[`c661806a65543`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c661806a65543) -
|
|
9
|
+
Internal changes to how border radius and border width values are applied. No visual change.
|
|
10
|
+
|
|
11
|
+
## 5.6.2
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [#191847](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/191847)
|
|
16
|
+
[`b3cf5dce34f70`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b3cf5dce34f70) -
|
|
17
|
+
Internal change to default typography theme configuration.
|
|
18
|
+
|
|
3
19
|
## 5.6.1
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/dist/cjs/theme-config.js
CHANGED
|
@@ -241,12 +241,12 @@ var themeStateDefaults = exports.themeStateDefaults = {
|
|
|
241
241
|
shape: undefined,
|
|
242
242
|
spacing: 'spacing',
|
|
243
243
|
typography: function typography() {
|
|
244
|
+
if ((0, _platformFeatureFlags.fg)('platform-disable-default-typography')) {
|
|
245
|
+
return undefined;
|
|
246
|
+
}
|
|
244
247
|
if ((0, _platformFeatureFlags.fg)('platform-default-typography-refreshed')) {
|
|
245
248
|
return 'typography';
|
|
246
249
|
}
|
|
247
|
-
if ((0, _platformFeatureFlags.fg)('platform-default-typography-modernized')) {
|
|
248
|
-
return 'typography-modernized';
|
|
249
|
-
}
|
|
250
250
|
return undefined;
|
|
251
251
|
},
|
|
252
252
|
UNSAFE_themeOptions: undefined
|
|
@@ -236,12 +236,12 @@ export const themeStateDefaults = {
|
|
|
236
236
|
shape: undefined,
|
|
237
237
|
spacing: 'spacing',
|
|
238
238
|
typography: () => {
|
|
239
|
+
if (fg('platform-disable-default-typography')) {
|
|
240
|
+
return undefined;
|
|
241
|
+
}
|
|
239
242
|
if (fg('platform-default-typography-refreshed')) {
|
|
240
243
|
return 'typography';
|
|
241
244
|
}
|
|
242
|
-
if (fg('platform-default-typography-modernized')) {
|
|
243
|
-
return 'typography-modernized';
|
|
244
|
-
}
|
|
245
245
|
return undefined;
|
|
246
246
|
},
|
|
247
247
|
UNSAFE_themeOptions: undefined
|
package/dist/esm/theme-config.js
CHANGED
|
@@ -236,12 +236,12 @@ export var themeStateDefaults = {
|
|
|
236
236
|
shape: undefined,
|
|
237
237
|
spacing: 'spacing',
|
|
238
238
|
typography: function typography() {
|
|
239
|
+
if (fg('platform-disable-default-typography')) {
|
|
240
|
+
return undefined;
|
|
241
|
+
}
|
|
239
242
|
if (fg('platform-default-typography-refreshed')) {
|
|
240
243
|
return 'typography';
|
|
241
244
|
}
|
|
242
|
-
if (fg('platform-default-typography-modernized')) {
|
|
243
|
-
return 'typography-modernized';
|
|
244
|
-
}
|
|
245
245
|
return undefined;
|
|
246
246
|
},
|
|
247
247
|
UNSAFE_themeOptions: undefined
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/tokens",
|
|
3
|
-
"version": "5.6.
|
|
3
|
+
"version": "5.6.3",
|
|
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/"
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@af/formatting": "workspace:^",
|
|
45
45
|
"@af/visual-regression": "workspace:^",
|
|
46
46
|
"@atlaskit/avatar": "^25.1.0",
|
|
47
|
-
"@atlaskit/button": "^23.
|
|
47
|
+
"@atlaskit/button": "^23.3.0",
|
|
48
48
|
"@atlaskit/calendar": "^17.1.0",
|
|
49
49
|
"@atlaskit/checkbox": "^17.1.0",
|
|
50
50
|
"@atlaskit/code": "^17.2.0",
|
|
@@ -55,20 +55,20 @@
|
|
|
55
55
|
"@atlaskit/form": "^12.0.0",
|
|
56
56
|
"@atlaskit/grid": "^0.18.0",
|
|
57
57
|
"@atlaskit/heading": "^5.2.0",
|
|
58
|
-
"@atlaskit/icon": "^27.
|
|
58
|
+
"@atlaskit/icon": "^27.8.0",
|
|
59
59
|
"@atlaskit/inline-message": "^15.3.0",
|
|
60
60
|
"@atlaskit/link": "^3.2.0",
|
|
61
61
|
"@atlaskit/lozenge": "^13.0.0",
|
|
62
62
|
"@atlaskit/popup": "^4.3.0",
|
|
63
|
-
"@atlaskit/primitives": "^14.
|
|
63
|
+
"@atlaskit/primitives": "^14.11.0",
|
|
64
64
|
"@atlaskit/radio": "^8.1.0",
|
|
65
|
-
"@atlaskit/section-message": "^8.
|
|
65
|
+
"@atlaskit/section-message": "^8.5.0",
|
|
66
66
|
"@atlaskit/select": "^21.2.0",
|
|
67
|
-
"@atlaskit/tag": "^14.
|
|
67
|
+
"@atlaskit/tag": "^14.1.0",
|
|
68
68
|
"@atlaskit/textarea": "^8.0.0",
|
|
69
69
|
"@atlaskit/textfield": "^8.0.0",
|
|
70
70
|
"@atlaskit/theme": "^19.0.0",
|
|
71
|
-
"@atlaskit/tooltip": "^20.
|
|
71
|
+
"@atlaskit/tooltip": "^20.4.0",
|
|
72
72
|
"@atlassian/codegen": "^0.1.0",
|
|
73
73
|
"@atlassian/feature-flags-test-utils": "^0.3.0",
|
|
74
74
|
"@atlassian/ts-loader": "^0.1.0",
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
"platform-default-typography-refreshed": {
|
|
146
146
|
"type": "boolean"
|
|
147
147
|
},
|
|
148
|
-
"platform-default-typography
|
|
148
|
+
"platform-disable-default-typography": {
|
|
149
149
|
"type": "boolean"
|
|
150
150
|
},
|
|
151
151
|
"should-render-to-parent-should-be-true-design-syst": {
|