@atlaskit/css 0.17.0 → 0.17.1
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,13 @@
|
|
|
1
1
|
# @atlaskit/css
|
|
2
2
|
|
|
3
|
+
## 0.17.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`a60a82196851a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a60a82196851a) -
|
|
8
|
+
Internal refactors to remove unused variables. No functional or public changes.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 0.17.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
|
@@ -47,6 +47,7 @@ const styleMaps = {
|
|
|
47
47
|
...textWeightMap,
|
|
48
48
|
};
|
|
49
49
|
|
|
50
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
50
51
|
export default function transformer(fileInfo: FileInfo, { jscodeshift: j }: API, options: Options) {
|
|
51
52
|
const base = j(fileInfo.source);
|
|
52
53
|
|
|
@@ -259,7 +260,7 @@ function replaceXcssWithCssMap(
|
|
|
259
260
|
// Process inline xcss usages - create separate cssMap for each
|
|
260
261
|
const cssMapDeclarations: core.VariableDeclaration[] = [];
|
|
261
262
|
|
|
262
|
-
inlineXcssUsages.forEach(({ path, keyName, jsxAttribute,
|
|
263
|
+
inlineXcssUsages.forEach(({ path, keyName, jsxAttribute, variableName }) => {
|
|
263
264
|
const args = path.node.arguments;
|
|
264
265
|
if (args.length === 1 && args[0].type === 'ObjectExpression') {
|
|
265
266
|
// Create separate cssMap declaration for each inline xcss
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/css",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.1",
|
|
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": "^8.
|
|
47
|
+
"@atlaskit/tokens": "^8.4.0",
|
|
48
48
|
"@babel/runtime": "^7.0.0",
|
|
49
49
|
"@compiled/react": "^0.18.6"
|
|
50
50
|
},
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@af/visual-regression": "workspace:^",
|
|
56
56
|
"@atlaskit/button": "^23.6.0",
|
|
57
57
|
"@atlaskit/ds-lib": "^5.3.0",
|
|
58
|
-
"@atlaskit/primitives": "^16.
|
|
58
|
+
"@atlaskit/primitives": "^16.4.0",
|
|
59
59
|
"@emotion/react": "^11.7.1",
|
|
60
60
|
"@testing-library/react": "^13.4.0",
|
|
61
61
|
"@types/jscodeshift": "^0.11.0",
|