@atlaskit/css 0.12.4 → 0.13.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,24 @@
|
|
|
1
1
|
# @atlaskit/css
|
|
2
2
|
|
|
3
|
+
## 0.13.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`b2cbc15f17d6a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b2cbc15f17d6a) -
|
|
8
|
+
Added `radius.tile` token to be used exclusively for creating tiles.
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
14
|
+
## 0.12.5
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- [`23bcc5bbc9cee`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/23bcc5bbc9cee) -
|
|
19
|
+
Internal changes to how border radius is applied.
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
|
|
3
22
|
## 0.12.4
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
|
@@ -875,11 +875,11 @@ export type Layer = keyof typeof layerMap;
|
|
|
875
875
|
|
|
876
876
|
/**
|
|
877
877
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
878
|
-
* @codegen <<SignedSource::
|
|
878
|
+
* @codegen <<SignedSource::e122fbf803621e31525c85a829b8755c>>
|
|
879
879
|
* @codegenId border
|
|
880
880
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
881
881
|
* @codegenParams ["width", "radius"]
|
|
882
|
-
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::
|
|
882
|
+
* @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-shape.tsx <<SignedSource::4713f1e2c0d199b832b10fd3c9dd214b>>
|
|
883
883
|
*/
|
|
884
884
|
export const borderWidthMap = {
|
|
885
885
|
'border.width': token('border.width', '1px'),
|
|
@@ -902,6 +902,7 @@ export const borderRadiusMap = {
|
|
|
902
902
|
'radius.large': token('radius.large', '8px'),
|
|
903
903
|
'radius.xlarge': token('radius.xlarge', '12px'),
|
|
904
904
|
'radius.full': token('radius.full', '9999px'),
|
|
905
|
+
'radius.tile': token('radius.tile', '25%'),
|
|
905
906
|
// @deprecated
|
|
906
907
|
'border.radius': token('border.radius', '3px'),
|
|
907
908
|
// @deprecated
|
|
@@ -132,7 +132,7 @@ import { cssMap, jsx, type StrictXCSSProp } from '@atlaskit/css';
|
|
|
132
132
|
import { token } from '@atlaskit/tokens';
|
|
133
133
|
|
|
134
134
|
const styles = cssMap({
|
|
135
|
-
button: { padding: token('space.100'), borderRadius: token('
|
|
135
|
+
button: { padding: token('space.100'), borderRadius: token('radius.small') },
|
|
136
136
|
dense: { padding: token('space.050'), borderRadius: token('border.radius.050') },
|
|
137
137
|
});
|
|
138
138
|
|
|
@@ -198,7 +198,7 @@ import { cssMap, jsx, type StrictXCSSProp } from '@atlaskit/css';
|
|
|
198
198
|
import { token } from '@atlaskit/tokens';
|
|
199
199
|
|
|
200
200
|
const styles = cssMap({
|
|
201
|
-
button: { padding: token('space.100'), borderRadius: token('
|
|
201
|
+
button: { padding: token('space.100'), borderRadius: token('radius.small') },
|
|
202
202
|
dense: { padding: token('space.050'), borderRadius: token('border.radius.050') },
|
|
203
203
|
});
|
|
204
204
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/css",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.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",
|
|
@@ -43,12 +43,8 @@
|
|
|
43
43
|
"dist/esm/test-utils/index.js"
|
|
44
44
|
],
|
|
45
45
|
"atlaskit:src": "src/index.tsx",
|
|
46
|
-
"af:exports": {
|
|
47
|
-
".": "./src/index.tsx",
|
|
48
|
-
"./test-utils": "./src/test-utils/index.tsx"
|
|
49
|
-
},
|
|
50
46
|
"dependencies": {
|
|
51
|
-
"@atlaskit/tokens": "^6.
|
|
47
|
+
"@atlaskit/tokens": "^6.2.0",
|
|
52
48
|
"@babel/runtime": "^7.0.0",
|
|
53
49
|
"@compiled/react": "^0.18.3"
|
|
54
50
|
},
|
|
@@ -59,7 +55,7 @@
|
|
|
59
55
|
"@af/visual-regression": "workspace:^",
|
|
60
56
|
"@atlaskit/button": "^23.4.0",
|
|
61
57
|
"@atlaskit/ds-lib": "^5.0.0",
|
|
62
|
-
"@atlaskit/primitives": "^14.
|
|
58
|
+
"@atlaskit/primitives": "^14.13.0",
|
|
63
59
|
"@emotion/react": "^11.7.1",
|
|
64
60
|
"@testing-library/react": "^13.4.0",
|
|
65
61
|
"@types/jscodeshift": "^0.11.0",
|