@atlaskit/css 0.17.0 → 0.18.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.18.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`762b79e21f96a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/762b79e21f96a) -
8
+ Migrated and cleaned up legacy iconography usage.
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
14
+ ## 0.17.1
15
+
16
+ ### Patch Changes
17
+
18
+ - [`a60a82196851a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a60a82196851a) -
19
+ Internal refactors to remove unused variables. No functional or public changes.
20
+ - Updated dependencies
21
+
3
22
  ## 0.17.0
4
23
 
5
24
  ### 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, componentName, variableName }) => {
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.0",
3
+ "version": "0.18.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": "^8.3.0",
47
+ "@atlaskit/tokens": "^8.6.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.6.0",
56
+ "@atlaskit/button": "^23.8.0",
57
57
  "@atlaskit/ds-lib": "^5.3.0",
58
- "@atlaskit/primitives": "^16.3.0",
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",