@atlaskit/css 0.15.1 → 0.16.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,22 @@
|
|
|
1
1
|
# @atlaskit/css
|
|
2
2
|
|
|
3
|
+
## 0.16.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`d50ecf8e02d28`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d50ecf8e02d28) -
|
|
8
|
+
Added `radius.xxlarge` token available for borderRadius in `cssMap`.
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
14
|
+
## 0.15.2
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
3
20
|
## 0.15.1
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -124,10 +124,10 @@ export type AllSpace = keyof typeof allSpaceMap;
|
|
|
124
124
|
|
|
125
125
|
/**
|
|
126
126
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
127
|
-
* @codegen <<SignedSource::
|
|
127
|
+
* @codegen <<SignedSource::391876b08f98d21b153df0b42a122d9a>>
|
|
128
128
|
* @codegenId inverse-colors
|
|
129
129
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
130
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
130
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::b763fb6c355b33e6fbf23afb996f817f>>
|
|
131
131
|
*/
|
|
132
132
|
export const inverseColorMap: {
|
|
133
133
|
'color.background.neutral.bold': 'color.text.inverse';
|
|
@@ -193,11 +193,11 @@ export const inverseColorMap: {
|
|
|
193
193
|
|
|
194
194
|
/**
|
|
195
195
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
196
|
-
* @codegen <<SignedSource::
|
|
196
|
+
* @codegen <<SignedSource::4407d5eb027cc933eed726fed33ad1ad>>
|
|
197
197
|
* @codegenId elevation
|
|
198
198
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
199
199
|
* @codegenParams ["opacity", "shadow", "surface"]
|
|
200
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
200
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::b763fb6c355b33e6fbf23afb996f817f>>
|
|
201
201
|
*/
|
|
202
202
|
export const opacityMap: {
|
|
203
203
|
'opacity.disabled': 'var(--ds-opacity-disabled)';
|
|
@@ -266,11 +266,11 @@ export type SurfaceColor = keyof typeof surfaceColorMap;
|
|
|
266
266
|
|
|
267
267
|
/**
|
|
268
268
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
269
|
-
* @codegen <<SignedSource::
|
|
269
|
+
* @codegen <<SignedSource::81e488bd12e67b8ac3ac65c71e50e967>>
|
|
270
270
|
* @codegenId colors
|
|
271
271
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
272
272
|
* @codegenParams ["border", "background", "text", "fill"]
|
|
273
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::
|
|
273
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::b763fb6c355b33e6fbf23afb996f817f>>
|
|
274
274
|
*/
|
|
275
275
|
export const borderColorMap: {
|
|
276
276
|
'color.border': 'var(--ds-border)';
|
|
@@ -1256,11 +1256,11 @@ export type Layer = keyof typeof layerMap;
|
|
|
1256
1256
|
|
|
1257
1257
|
/**
|
|
1258
1258
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
1259
|
-
* @codegen <<SignedSource::
|
|
1259
|
+
* @codegen <<SignedSource::042e960cffbaf7b7d1022ee02c3c6cbb>>
|
|
1260
1260
|
* @codegenId border
|
|
1261
1261
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
1262
1262
|
* @codegenParams ["width", "radius"]
|
|
1263
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::
|
|
1263
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::a98e95106b856526c36bec8851e84348>>
|
|
1264
1264
|
*/
|
|
1265
1265
|
export const borderWidthMap: {
|
|
1266
1266
|
'border.width': 'var(--ds-border-width)';
|
|
@@ -1280,6 +1280,7 @@ export const borderRadiusMap: {
|
|
|
1280
1280
|
'radius.medium': 'var(--ds-radius-medium)';
|
|
1281
1281
|
'radius.large': 'var(--ds-radius-large)';
|
|
1282
1282
|
'radius.xlarge': 'var(--ds-radius-xlarge)';
|
|
1283
|
+
'radius.xxlarge': 'var(--ds-radius-xxlarge)';
|
|
1283
1284
|
'radius.full': 'var(--ds-radius-full)';
|
|
1284
1285
|
'radius.tile': 'var(--ds-radius-tile)';
|
|
1285
1286
|
} = {
|
|
@@ -1288,6 +1289,7 @@ export const borderRadiusMap: {
|
|
|
1288
1289
|
'radius.medium': token('radius.medium', '6px'),
|
|
1289
1290
|
'radius.large': token('radius.large', '8px'),
|
|
1290
1291
|
'radius.xlarge': token('radius.xlarge', '12px'),
|
|
1292
|
+
'radius.xxlarge': token('radius.xxlarge', '16px'),
|
|
1291
1293
|
'radius.full': token('radius.full', '9999px'),
|
|
1292
1294
|
'radius.tile': token('radius.tile', '25%'),
|
|
1293
1295
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/css",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"description": "Style components backed by Atlassian Design System design tokens powered by Compiled CSS-in-JS.",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
],
|
|
45
45
|
"atlaskit:src": "src/index.tsx",
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@atlaskit/tokens": "^
|
|
47
|
+
"@atlaskit/tokens": "^8.1.0",
|
|
48
48
|
"@babel/runtime": "^7.0.0",
|
|
49
49
|
"@compiled/react": "^0.18.6"
|
|
50
50
|
},
|
|
@@ -53,9 +53,9 @@
|
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@af/visual-regression": "workspace:^",
|
|
56
|
-
"@atlaskit/button": "^23.
|
|
57
|
-
"@atlaskit/ds-lib": "^5.
|
|
58
|
-
"@atlaskit/primitives": "^
|
|
56
|
+
"@atlaskit/button": "^23.6.0",
|
|
57
|
+
"@atlaskit/ds-lib": "^5.2.0",
|
|
58
|
+
"@atlaskit/primitives": "^16.2.0",
|
|
59
59
|
"@emotion/react": "^11.7.1",
|
|
60
60
|
"@testing-library/react": "^13.4.0",
|
|
61
61
|
"@types/jscodeshift": "^0.11.0",
|