@atlaskit/icon-lab 6.14.0 → 7.0.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 +26 -0
- package/deprecated-map/package.json +1 -8
- package/metadata/package.json +1 -8
- package/package.json +10 -18
- package/dist/types-ts4.5/deprecated-core.d.ts +0 -13
- package/dist/types-ts4.5/deprecated-utility.d.ts +0 -13
- package/dist/types-ts4.5/entry-points/deprecated-map.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/metadata.d.ts +0 -1
- package/dist/types-ts4.5/index.d.ts +0 -1
- package/dist/types-ts4.5/metadata-core.d.ts +0 -57
- package/dist/types-ts4.5/metadata-utility.d.ts +0 -63
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @atlaskit/icon-lab
|
|
2
2
|
|
|
3
|
+
## 7.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [`f2dc9097319f0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f2dc9097319f0) - ###
|
|
8
|
+
Dropped support for _legacy_ Typescript 4 types. **Typescript 5 is now the new minimum**.
|
|
9
|
+
|
|
10
|
+
Removes the `typesVersions` property and `dist/types-ts4.5` directory from the dist.
|
|
11
|
+
|
|
12
|
+
Types are now exclusively via the `"types": "dist/types/index.d.ts"` property.
|
|
13
|
+
|
|
14
|
+
```diff
|
|
15
|
+
- "typesVersions": {
|
|
16
|
+
- ">=4.5 <4.9": {
|
|
17
|
+
- "*": [
|
|
18
|
+
- "dist/types-ts4.5/*",
|
|
19
|
+
- "dist/types-ts4.5/index.d.ts"
|
|
20
|
+
- ]
|
|
21
|
+
- }
|
|
22
|
+
- },
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- Updated dependencies
|
|
28
|
+
|
|
3
29
|
## 6.14.0
|
|
4
30
|
|
|
5
31
|
### Minor Changes
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"**/*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/entry-points/deprecated-map.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/entry-points/deprecated-map.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/entry-points/deprecated-map.d.ts"
|
|
17
10
|
}
|
package/metadata/package.json
CHANGED
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"**/*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/entry-points/metadata.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/entry-points/metadata.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/entry-points/metadata.d.ts"
|
|
17
10
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/icon-lab",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"description": "An icon package for public icon contributions",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"build-glyphs": "ts-node --project ../../../tsconfig.node.json ./build/index.tsx"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@atlaskit/icon": "^
|
|
41
|
+
"@atlaskit/icon": "^36.0.0",
|
|
42
42
|
"@babel/runtime": "^7.0.0"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
@@ -47,14 +47,14 @@
|
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@af/icon-build-process": "workspace:^",
|
|
49
49
|
"@af/visual-regression": "workspace:^",
|
|
50
|
-
"@atlaskit/button": "^
|
|
51
|
-
"@atlaskit/code": "^
|
|
52
|
-
"@atlaskit/heading": "^
|
|
53
|
-
"@atlaskit/modal-dialog": "^
|
|
54
|
-
"@atlaskit/primitives": "^
|
|
55
|
-
"@atlaskit/textfield": "^
|
|
56
|
-
"@atlaskit/tokens": "^
|
|
57
|
-
"@atlaskit/tooltip": "^
|
|
50
|
+
"@atlaskit/button": "^24.0.0",
|
|
51
|
+
"@atlaskit/code": "^18.0.0",
|
|
52
|
+
"@atlaskit/heading": "^6.0.0",
|
|
53
|
+
"@atlaskit/modal-dialog": "^16.0.0",
|
|
54
|
+
"@atlaskit/primitives": "^20.0.0",
|
|
55
|
+
"@atlaskit/textfield": "^9.0.0",
|
|
56
|
+
"@atlaskit/tokens": "^14.0.0",
|
|
57
|
+
"@atlaskit/tooltip": "^23.0.0",
|
|
58
58
|
"@atlassian/react-compiler-gating": "workspace:^",
|
|
59
59
|
"@atlassian/ssr-tests": "workspace:^",
|
|
60
60
|
"@compiled/react": "^0.20.0",
|
|
@@ -86,13 +86,5 @@
|
|
|
86
86
|
"deprecation": "no-deprecated-imports"
|
|
87
87
|
}
|
|
88
88
|
},
|
|
89
|
-
"typesVersions": {
|
|
90
|
-
">=4.5 <5.4": {
|
|
91
|
-
"*": [
|
|
92
|
-
"dist/types-ts4.5/*",
|
|
93
|
-
"dist/types-ts4.5/index.d.ts"
|
|
94
|
-
]
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
89
|
"homepage": "https://atlaskit.atlassian.com/packages/design-system/icon-lab"
|
|
98
90
|
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
*
|
|
4
|
-
* To change the format of this file, modify `createDeprecatedIconDocs` in icon-build-process/src/create-deprecated-icon-docs.tsx.
|
|
5
|
-
*
|
|
6
|
-
* @codegen <<SignedSource::76fab6ad916e9e2ad7e252306192ad79>>
|
|
7
|
-
* @codegenCommand yarn build:icon-glyphs
|
|
8
|
-
*/
|
|
9
|
-
declare const deprecatedIcons: Record<string, {
|
|
10
|
-
message: string;
|
|
11
|
-
unfixable?: boolean;
|
|
12
|
-
}>;
|
|
13
|
-
export default deprecatedIcons;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
*
|
|
4
|
-
* To change the format of this file, modify `createDeprecatedIconDocs` in icon-build-process/src/create-deprecated-icon-docs.tsx.
|
|
5
|
-
*
|
|
6
|
-
* @codegen <<SignedSource::8445ed95dffea52ddea417fc5752ff90>>
|
|
7
|
-
* @codegenCommand yarn build:icon-glyphs
|
|
8
|
-
*/
|
|
9
|
-
declare const deprecatedIcons: Record<string, {
|
|
10
|
-
message: string;
|
|
11
|
-
unfixable?: boolean;
|
|
12
|
-
}>;
|
|
13
|
-
export default deprecatedIcons;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from '../metadata-core';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as metadata } from './entry-points/metadata';
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
*
|
|
4
|
-
* To change the format of this file, modify `createIconDocsNew` in icon-build-process/src/create-icon-docs.tsx.
|
|
5
|
-
*
|
|
6
|
-
* @codegen <<SignedSource::008bc20aa9b7cbdbfc570d8ba3f1af54>>
|
|
7
|
-
* @codegenCommand yarn build:icon-glyphs
|
|
8
|
-
*/
|
|
9
|
-
interface metadata {
|
|
10
|
-
/**
|
|
11
|
-
* Default component name for the icon
|
|
12
|
-
*/
|
|
13
|
-
componentName: string;
|
|
14
|
-
/**
|
|
15
|
-
* Package path to the icon component
|
|
16
|
-
*/
|
|
17
|
-
package: string;
|
|
18
|
-
/**
|
|
19
|
-
* The category of the icon:
|
|
20
|
-
* - 'single-purpose' icons should only be used for the purposes listed in the 'usage' field
|
|
21
|
-
* - 'multi-purpose' icons are designed for various use cases and don't have the same usage restrictions
|
|
22
|
-
*/
|
|
23
|
-
categorization: 'single-purpose' | 'multi-purpose';
|
|
24
|
-
/**
|
|
25
|
-
* Usage guidelines for the icon. For single-purpose icons,
|
|
26
|
-
*/
|
|
27
|
-
usage?: string;
|
|
28
|
-
/**
|
|
29
|
-
* Additional keywords used to assist in search/lookup of an icon
|
|
30
|
-
*/
|
|
31
|
-
keywords: string[];
|
|
32
|
-
/**
|
|
33
|
-
* The name of the team owning the icon
|
|
34
|
-
*/
|
|
35
|
-
team: string;
|
|
36
|
-
/**
|
|
37
|
-
* The status of the icon
|
|
38
|
-
*/
|
|
39
|
-
status?: 'draft' | 'ready-to-publish' | 'published' | 'modified' | 'deprecated';
|
|
40
|
-
/**
|
|
41
|
-
* Contact slack channel for the team owning the icon
|
|
42
|
-
*/
|
|
43
|
-
slackChannel?: string;
|
|
44
|
-
/**
|
|
45
|
-
* A replacement icon if this icon has been deprecated
|
|
46
|
-
*/
|
|
47
|
-
replacement?: {
|
|
48
|
-
name: string;
|
|
49
|
-
location: '@atlaskit/icon' | '@atlaskit/icon-lab' | '@atlassian/icon-private';
|
|
50
|
-
};
|
|
51
|
-
/**
|
|
52
|
-
* Whether the icon should be recommended as a small icon
|
|
53
|
-
*/
|
|
54
|
-
shouldRecommendSmallIcon?: boolean;
|
|
55
|
-
}
|
|
56
|
-
declare const metadata: Record<string, metadata>;
|
|
57
|
-
export default metadata;
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
*
|
|
4
|
-
* To change the format of this file, modify `createIconDocsNew` in icon-build-process/src/create-icon-docs.tsx.
|
|
5
|
-
*
|
|
6
|
-
* @codegen <<SignedSource::04af6dfad1ade5135739e980e9e566f4>>
|
|
7
|
-
* @codegenCommand yarn build:icon-glyphs
|
|
8
|
-
*/
|
|
9
|
-
interface metadata {
|
|
10
|
-
/**
|
|
11
|
-
* Default component name for the icon
|
|
12
|
-
*/
|
|
13
|
-
componentName: string;
|
|
14
|
-
/**
|
|
15
|
-
* Package path to the icon component
|
|
16
|
-
*/
|
|
17
|
-
package: string;
|
|
18
|
-
/**
|
|
19
|
-
* The category of the icon:
|
|
20
|
-
* - 'single-purpose' icons should only be used for the purposes listed in the 'usage' field
|
|
21
|
-
* - 'multi-purpose' icons are designed for various use cases and don't have the same usage restrictions
|
|
22
|
-
* - 'utility' icons are used for utility purposes
|
|
23
|
-
*/
|
|
24
|
-
categorization: 'single-purpose' | 'multi-purpose' | 'utility';
|
|
25
|
-
/**
|
|
26
|
-
* The type of the icon - either a 16px 'core' icon, or a 12px 'utility' icon
|
|
27
|
-
*/
|
|
28
|
-
type: 'core' | 'utility';
|
|
29
|
-
/**
|
|
30
|
-
* Usage guidelines for the icon. For single-purpose icons,
|
|
31
|
-
*/
|
|
32
|
-
usage?: string;
|
|
33
|
-
/**
|
|
34
|
-
* Additional keywords used to assist in search/lookup of an icon
|
|
35
|
-
*/
|
|
36
|
-
keywords: string[];
|
|
37
|
-
/**
|
|
38
|
-
* The name of the team owning the icon
|
|
39
|
-
*/
|
|
40
|
-
team: string;
|
|
41
|
-
/**
|
|
42
|
-
* The status of the icon
|
|
43
|
-
*/
|
|
44
|
-
status?: 'draft' | 'ready-to-publish' | 'published' | 'modified' | 'deprecated';
|
|
45
|
-
/**
|
|
46
|
-
* Contact slack channel for the team owning the icon
|
|
47
|
-
*/
|
|
48
|
-
slackChannel?: string;
|
|
49
|
-
/**
|
|
50
|
-
* A replacement icon if this icon has been deprecated
|
|
51
|
-
*/
|
|
52
|
-
replacement?: {
|
|
53
|
-
name: string;
|
|
54
|
-
type: 'core' | 'utility';
|
|
55
|
-
location: '@atlaskit/icon' | '@atlaskit/icon-lab' | '@atlassian/icon-private';
|
|
56
|
-
};
|
|
57
|
-
/**
|
|
58
|
-
* Whether the icon should be recommended as a small icon
|
|
59
|
-
*/
|
|
60
|
-
shouldRecommendSmallIcon?: boolean;
|
|
61
|
-
}
|
|
62
|
-
declare const metadata: Record<string, metadata>;
|
|
63
|
-
export default metadata;
|