@atlaskit/icon-lab 2.2.0 → 2.3.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,17 @@
1
1
  # @atlaskit/icon-lab
2
2
 
3
+ ## 2.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#109060](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109060)
8
+ [`4660ec858a305`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4660ec858a305) -
9
+ Update `React` from v16 to v18
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 2.2.0
4
16
 
5
17
  ### Minor Changes
package/build/index.tsx CHANGED
@@ -7,6 +7,7 @@ import {
7
7
  buildNew as buildIcons,
8
8
  createDeprecatedIconDocs,
9
9
  createIconDocsNew,
10
+ createVRTest,
10
11
  type NewIconBuildConfig,
11
12
  } from '@af/icon-build-process';
12
13
 
@@ -58,4 +59,15 @@ buildIcons(config).then((icons) => {
58
59
  );
59
60
 
60
61
  fs.outputFile(path.resolve(root, 'src/deprecated-core.tsx'), deprecatedDocs);
62
+
63
+ // Generate VR tests
64
+ const [vrExampleCore, vrTestCore] = createVRTest(coreIconMetadata, '../../../..', 20, 'core');
65
+ fs.outputFile(
66
+ path.resolve(root, 'src/__tests__/vr-tests/examples/all-core-icons.tsx'),
67
+ vrExampleCore,
68
+ );
69
+ fs.outputFile(
70
+ path.resolve(root, 'src/__tests__/vr-tests/all-core-icons.test.vr.tsx'),
71
+ vrTestCore,
72
+ );
61
73
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/icon-lab",
3
- "version": "2.2.0",
3
+ "version": "2.3.0",
4
4
  "description": "An icon package for public icon contributions",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -32,7 +32,7 @@
32
32
  "build-glyphs": "ts-node --project ../../../tsconfig.node.json ./build/index.tsx"
33
33
  },
34
34
  "dependencies": {
35
- "@atlaskit/icon": "^23.4.0",
35
+ "@atlaskit/icon": "^23.5.0",
36
36
  "@babel/runtime": "^7.0.0"
37
37
  },
38
38
  "peerDependencies": {
@@ -42,12 +42,13 @@
42
42
  "@af/icon-build-process": "^2.4.0",
43
43
  "@af/integration-testing": "*",
44
44
  "@af/visual-regression": "*",
45
- "@atlaskit/ds-lib": "^3.3.0",
45
+ "@atlaskit/css": "^0.8.0",
46
+ "@atlaskit/ds-lib": "^3.5.0",
46
47
  "@atlaskit/ssr": "*",
47
- "@testing-library/react": "^12.1.5",
48
+ "@testing-library/react": "^13.4.0",
48
49
  "fs-extra": "^4.0.2",
49
50
  "pkg-dir": "^4.2.0",
50
- "react-dom": "^16.8.0",
51
+ "react-dom": "^18.2.0",
51
52
  "ts-node": "^10.9.1",
52
53
  "typescript": "~5.4.2"
53
54
  },