@atlaskit/icon 28.5.3 → 28.5.4

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,11 @@
1
1
  # @atlaskit/icon
2
2
 
3
+ ## 28.5.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 28.5.3
4
10
 
5
11
  ### Patch Changes
@@ -1,9 +1,9 @@
1
1
  {
2
- "extends": "../../../../tsconfig.entry-points.adminhub.json",
2
+ "extends": "../../../../tsconfig.entry-points.products.json",
3
3
  "compilerOptions": {
4
4
  "declaration": true,
5
5
  "target": "es5",
6
- "outDir": "../../../../../adminhub/tsDist/@atlaskit__icon/app",
6
+ "outDir": "../../../../../tsDist/@atlaskit__icon/app",
7
7
  "rootDir": "../",
8
8
  "composite": true
9
9
  },
@@ -24,13 +24,13 @@
24
24
  ],
25
25
  "references": [
26
26
  {
27
- "path": "../../../platform/feature-flags/afm-adminhub/tsconfig.json"
27
+ "path": "../../../platform/feature-flags/afm-products/tsconfig.json"
28
28
  },
29
29
  {
30
- "path": "../../tile/afm-adminhub/tsconfig.json"
30
+ "path": "../../tile/afm-products/tsconfig.json"
31
31
  },
32
32
  {
33
- "path": "../../tokens/afm-adminhub/tsconfig.json"
33
+ "path": "../../tokens/afm-products/tsconfig.json"
34
34
  }
35
35
  ]
36
36
  }
package/build/index.tsx CHANGED
@@ -14,7 +14,6 @@ import buildIcons, {
14
14
  } from '@af/icon-build-process';
15
15
 
16
16
  import coreIconMetadata from '../icons_raw/metadata-core';
17
- import utilityIconMetadata from '../icons_raw/metadata-utility';
18
17
  import legacyMetadata from '../src/metadata';
19
18
  import migrationMap from '../src/migration-map';
20
19
  import { recommendedSmallIcons } from '../src/recommended-small';
@@ -63,7 +62,6 @@ async function main() {
63
62
  glob: '**/*.svg',
64
63
  packageName: '@atlaskit/icon',
65
64
  baseIconEntryPoint: '@atlaskit/icon/base-new',
66
- iconType: 'core',
67
65
  metadata: coreIconMetadata,
68
66
  legacyMetadata: legacyMetadata,
69
67
  migrationMap: migrationMap,
@@ -73,7 +71,6 @@ async function main() {
73
71
  const iconDocs = createIconDocsNew(
74
72
  icons,
75
73
  '@atlaskit/icon',
76
- 'core',
77
74
  synonyms,
78
75
  ['icon'],
79
76
  coreIconMetadata,
@@ -86,86 +83,22 @@ async function main() {
86
83
  const deprecatedDocs = createDeprecatedIconDocs(
87
84
  icons,
88
85
  '@atlaskit/icon',
89
- 'core',
90
86
  coreIconMetadata,
91
87
  migrationMap,
92
88
  );
93
89
 
94
90
  fs.outputFile(path.resolve(root, 'src/deprecated-core.tsx'), deprecatedDocs);
95
91
  });
96
-
97
- /**
98
- * The updated icon build process for the new icons under `@atlaskit/icon/utility/*`
99
- */
100
- const configUtility: NewIconBuildConfig = {
101
- srcDir: path.resolve(root, 'icons_raw/utility'),
102
- processedDir: path.resolve(root, 'svgs/utility'),
103
- destDir: path.resolve(root, 'utility'),
104
- maxWidth: 12,
105
- maxHeight: 12,
106
- glob: '**/*.svg',
107
- packageName: '@atlaskit/icon',
108
- baseIconEntryPoint: '@atlaskit/icon/base-new',
109
- iconType: 'utility',
110
- metadata: utilityIconMetadata,
111
- legacyMetadata: legacyMetadata,
112
- migrationMap: migrationMap,
113
- };
114
-
115
- await buildIconsNew(configUtility).then((icons) => {
116
- const iconDocs = createIconDocsNew(
117
- icons,
118
- '@atlaskit/icon',
119
- 'utility',
120
- synonyms,
121
- ['icon'],
122
- utilityIconMetadata,
123
- migrationMap,
124
- );
125
-
126
- fs.outputFile(path.resolve(root, 'src/metadata-utility.tsx'), iconDocs);
127
-
128
- const deprecatedDocs = createDeprecatedIconDocs(
129
- icons,
130
- '@atlaskit/icon',
131
- 'utility',
132
- utilityIconMetadata,
133
- migrationMap,
134
- );
135
-
136
- fs.outputFile(path.resolve(root, 'src/deprecated-utility.tsx'), deprecatedDocs);
137
-
138
- // Generate VR tests
139
- const [vrExampleCore, vrTestCore] = createVRTest(
140
- coreIconMetadata,
141
- '../../../../..',
142
- 50,
143
- 'core',
144
- );
145
- fs.outputFile(
146
- path.resolve(root, 'src/components/__tests__/vr-tests/examples/all-core-icons.tsx'),
147
- vrExampleCore,
148
- );
149
- fs.outputFile(
150
- path.resolve(root, 'src/components/__tests__/vr-tests/all-core-icons.test.vr.tsx'),
151
- vrTestCore,
152
- );
153
-
154
- const [vrExampleUtility, vrTestUtility] = createVRTest(
155
- utilityIconMetadata,
156
- '../../../../..',
157
- 50,
158
- 'utility',
159
- );
160
- fs.outputFile(
161
- path.resolve(root, 'src/components/__tests__/vr-tests/examples/all-utility-icons.tsx'),
162
- vrExampleUtility,
163
- );
164
- fs.outputFile(
165
- path.resolve(root, 'src/components/__tests__/vr-tests/all-utility-icons.test.vr.tsx'),
166
- vrTestUtility,
167
- );
168
- });
92
+ // Generate VR tests
93
+ const [vrExampleCore, vrTestCore] = createVRTest(coreIconMetadata, '../../../../..', 50);
94
+ fs.outputFile(
95
+ path.resolve(root, 'src/components/__tests__/vr-tests/examples/all-core-icons.tsx'),
96
+ vrExampleCore,
97
+ );
98
+ fs.outputFile(
99
+ path.resolve(root, 'src/components/__tests__/vr-tests/all-core-icons.test.vr.tsx'),
100
+ vrTestCore,
101
+ );
169
102
  }
170
103
 
171
104
  main().catch((error) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/icon",
3
- "version": "28.5.3",
3
+ "version": "28.5.4",
4
4
  "description": "An icon is a symbol representing a command, device, directory, or common action.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -93,7 +93,7 @@
93
93
  "dependencies": {
94
94
  "@atlaskit/platform-feature-flags": "^1.1.0",
95
95
  "@atlaskit/tile": "^1.0.0",
96
- "@atlaskit/tokens": "^7.0.0",
96
+ "@atlaskit/tokens": "^8.0.0",
97
97
  "@babel/register": "^7.25.9",
98
98
  "@babel/runtime": "^7.0.0",
99
99
  "@compiled/react": "^0.18.6"
@@ -106,11 +106,11 @@
106
106
  "@af/icon-build-process": "workspace:^",
107
107
  "@af/integration-testing": "workspace:^",
108
108
  "@af/visual-regression": "workspace:^",
109
- "@atlaskit/button": "^23.5.0",
110
- "@atlaskit/code": "^17.2.0",
109
+ "@atlaskit/button": "^23.6.0",
110
+ "@atlaskit/code": "^17.3.0",
111
111
  "@atlaskit/css": "^0.15.0",
112
112
  "@atlaskit/docs": "^11.2.0",
113
- "@atlaskit/ds-lib": "^5.1.0",
113
+ "@atlaskit/ds-lib": "^5.2.0",
114
114
  "@atlaskit/form": "^14.2.0",
115
115
  "@atlaskit/heading": "^5.2.0",
116
116
  "@atlaskit/icon-file-type": "^7.0.0",
@@ -118,15 +118,15 @@
118
118
  "@atlaskit/link": "^3.2.0",
119
119
  "@atlaskit/logo": "^19.9.0",
120
120
  "@atlaskit/menu": "^8.4.0",
121
- "@atlaskit/modal-dialog": "^14.5.0",
122
- "@atlaskit/primitives": "^16.0.0",
123
- "@atlaskit/section-message": "^8.7.0",
121
+ "@atlaskit/modal-dialog": "^14.6.0",
122
+ "@atlaskit/primitives": "^16.1.0",
123
+ "@atlaskit/section-message": "^8.9.0",
124
124
  "@atlaskit/textfield": "^8.0.0",
125
125
  "@atlaskit/theme": "^21.0.0",
126
126
  "@atlaskit/toggle": "^15.1.0",
127
- "@atlaskit/tooltip": "^20.6.0",
127
+ "@atlaskit/tooltip": "^20.8.0",
128
128
  "@atlassian/feature-flags-test-utils": "^1.0.0",
129
- "@atlassian/ssr-tests": "^0.3.0",
129
+ "@atlassian/ssr-tests": "workspace:^",
130
130
  "@babel/core": "7.24.9",
131
131
  "@codeshift/utils": "^0.2.4",
132
132
  "@testing-library/react": "^13.4.0",
@@ -1,36 +0,0 @@
1
- {
2
- "extends": "../../../../tsconfig.entry-points.dev-agents.json",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "outDir": "../../../../../dev-agents/tsDist/@atlaskit__icon/app",
7
- "rootDir": "../",
8
- "composite": true
9
- },
10
- "include": [
11
- "../src/**/*.ts",
12
- "../src/**/*.tsx"
13
- ],
14
- "exclude": [
15
- "../src/**/__tests__/*",
16
- "../src/**/*.test.*",
17
- "../src/**/test.*",
18
- "../src/**/examples.*",
19
- "../src/**/examples/*",
20
- "../src/**/examples/**/*",
21
- "../src/**/*.stories.*",
22
- "../src/**/stories/*",
23
- "../src/**/stories/**/*"
24
- ],
25
- "references": [
26
- {
27
- "path": "../../../platform/feature-flags/afm-dev-agents/tsconfig.json"
28
- },
29
- {
30
- "path": "../../tile/afm-dev-agents/tsconfig.json"
31
- },
32
- {
33
- "path": "../../tokens/afm-dev-agents/tsconfig.json"
34
- }
35
- ]
36
- }
@@ -1,36 +0,0 @@
1
- {
2
- "extends": "../../../../tsconfig.entry-points.kitsune.json",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "outDir": "../../../../../kitsune/tsDist/@atlaskit__icon/app",
7
- "rootDir": "../",
8
- "composite": true
9
- },
10
- "include": [
11
- "../src/**/*.ts",
12
- "../src/**/*.tsx"
13
- ],
14
- "exclude": [
15
- "../src/**/__tests__/*",
16
- "../src/**/*.test.*",
17
- "../src/**/test.*",
18
- "../src/**/examples.*",
19
- "../src/**/examples/*",
20
- "../src/**/examples/**/*",
21
- "../src/**/*.stories.*",
22
- "../src/**/stories/*",
23
- "../src/**/stories/**/*"
24
- ],
25
- "references": [
26
- {
27
- "path": "../../../platform/feature-flags/afm-kitsune/tsconfig.json"
28
- },
29
- {
30
- "path": "../../tile/afm-kitsune/tsconfig.json"
31
- },
32
- {
33
- "path": "../../tokens/afm-kitsune/tsconfig.json"
34
- }
35
- ]
36
- }
@@ -1,36 +0,0 @@
1
- {
2
- "extends": "../../../../tsconfig.entry-points.passionfruit.json",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "outDir": "../../../../../passionfruit/tsDist/@atlaskit__icon/app",
7
- "rootDir": "../",
8
- "composite": true
9
- },
10
- "include": [
11
- "../src/**/*.ts",
12
- "../src/**/*.tsx"
13
- ],
14
- "exclude": [
15
- "../src/**/__tests__/*",
16
- "../src/**/*.test.*",
17
- "../src/**/test.*",
18
- "../src/**/examples.*",
19
- "../src/**/examples/*",
20
- "../src/**/examples/**/*",
21
- "../src/**/*.stories.*",
22
- "../src/**/stories/*",
23
- "../src/**/stories/**/*"
24
- ],
25
- "references": [
26
- {
27
- "path": "../../../platform/feature-flags/afm-passionfruit/tsconfig.json"
28
- },
29
- {
30
- "path": "../../tile/afm-passionfruit/tsconfig.json"
31
- },
32
- {
33
- "path": "../../tokens/afm-passionfruit/tsconfig.json"
34
- }
35
- ]
36
- }
@@ -1,36 +0,0 @@
1
- {
2
- "extends": "../../../../tsconfig.entry-points.post-office.json",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "outDir": "../../../../../post-office/tsDist/@atlaskit__icon/app",
7
- "rootDir": "../",
8
- "composite": true
9
- },
10
- "include": [
11
- "../src/**/*.ts",
12
- "../src/**/*.tsx"
13
- ],
14
- "exclude": [
15
- "../src/**/__tests__/*",
16
- "../src/**/*.test.*",
17
- "../src/**/test.*",
18
- "../src/**/examples.*",
19
- "../src/**/examples/*",
20
- "../src/**/examples/**/*",
21
- "../src/**/*.stories.*",
22
- "../src/**/stories/*",
23
- "../src/**/stories/**/*"
24
- ],
25
- "references": [
26
- {
27
- "path": "../../../platform/feature-flags/afm-post-office/tsconfig.json"
28
- },
29
- {
30
- "path": "../../tile/afm-post-office/tsconfig.json"
31
- },
32
- {
33
- "path": "../../tokens/afm-post-office/tsconfig.json"
34
- }
35
- ]
36
- }
@@ -1,36 +0,0 @@
1
- {
2
- "extends": "../../../../tsconfig.entry-points.rovo-extension.json",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "outDir": "../../../../../rovo-extension/tsDist/@atlaskit__icon/app",
7
- "rootDir": "../",
8
- "composite": true
9
- },
10
- "include": [
11
- "../src/**/*.ts",
12
- "../src/**/*.tsx"
13
- ],
14
- "exclude": [
15
- "../src/**/__tests__/*",
16
- "../src/**/*.test.*",
17
- "../src/**/test.*",
18
- "../src/**/examples.*",
19
- "../src/**/examples/*",
20
- "../src/**/examples/**/*",
21
- "../src/**/*.stories.*",
22
- "../src/**/stories/*",
23
- "../src/**/stories/**/*"
24
- ],
25
- "references": [
26
- {
27
- "path": "../../../platform/feature-flags/afm-rovo-extension/tsconfig.json"
28
- },
29
- {
30
- "path": "../../tile/afm-rovo-extension/tsconfig.json"
31
- },
32
- {
33
- "path": "../../tokens/afm-rovo-extension/tsconfig.json"
34
- }
35
- ]
36
- }
@@ -1,36 +0,0 @@
1
- {
2
- "extends": "../../../../tsconfig.entry-points.townsquare.json",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "outDir": "../../../../../townsquare/tsDist/@atlaskit__icon/app",
7
- "rootDir": "../",
8
- "composite": true
9
- },
10
- "include": [
11
- "../src/**/*.ts",
12
- "../src/**/*.tsx"
13
- ],
14
- "exclude": [
15
- "../src/**/__tests__/*",
16
- "../src/**/*.test.*",
17
- "../src/**/test.*",
18
- "../src/**/examples.*",
19
- "../src/**/examples/*",
20
- "../src/**/examples/**/*",
21
- "../src/**/*.stories.*",
22
- "../src/**/stories/*",
23
- "../src/**/stories/**/*"
24
- ],
25
- "references": [
26
- {
27
- "path": "../../../platform/feature-flags/afm-townsquare/tsconfig.json"
28
- },
29
- {
30
- "path": "../../tile/afm-townsquare/tsconfig.json"
31
- },
32
- {
33
- "path": "../../tokens/afm-townsquare/tsconfig.json"
34
- }
35
- ]
36
- }
@@ -1,33 +0,0 @@
1
- {
2
- "extends": "../../../../tsconfig.entry-points.volt.json",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "outDir": "../../../../../volt/tsDist/@atlaskit__icon/app",
7
- "rootDir": "../",
8
- "composite": true
9
- },
10
- "include": [
11
- "../src/**/*.ts",
12
- "../src/**/*.tsx"
13
- ],
14
- "exclude": [
15
- "../src/**/__tests__/*",
16
- "../src/**/*.test.*",
17
- "../src/**/test.*",
18
- "../src/**/examples.*",
19
- "../src/**/examples/*",
20
- "../src/**/examples/**/*",
21
- "../src/**/*.stories.*",
22
- "../src/**/stories/*",
23
- "../src/**/stories/**/*"
24
- ],
25
- "references": [
26
- {
27
- "path": "../../../platform/feature-flags/afm-volt/tsconfig.json"
28
- },
29
- {
30
- "path": "../../tokens/afm-volt/tsconfig.json"
31
- }
32
- ]
33
- }