@atlaskit/icon 27.7.0 → 27.8.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 +8 -0
- package/afm-cc/tsconfig.json +25 -25
- package/dist/cjs/components/icon.js +2 -0
- package/dist/cjs/components/svg.js +2 -0
- package/dist/es2019/components/icon.js +2 -0
- package/dist/es2019/components/svg.js +2 -0
- package/dist/esm/components/icon.js +2 -0
- package/dist/esm/components/svg.js +2 -0
- package/dist/types/components/icon.d.ts +2 -0
- package/dist/types/components/svg.d.ts +2 -0
- package/dist/types-ts4.5/components/icon.d.ts +2 -0
- package/dist/types-ts4.5/components/svg.d.ts +2 -0
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/icon
|
|
2
2
|
|
|
3
|
+
## 27.8.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#193177](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/193177)
|
|
8
|
+
[`5b373c4d14e0c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5b373c4d14e0c) -
|
|
9
|
+
Deprecated custom icon and custom SVG
|
|
10
|
+
|
|
3
11
|
## 27.7.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
package/afm-cc/tsconfig.json
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
2
|
+
"extends": "../../../../tsconfig.entry-points.confluence.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"declaration": true,
|
|
5
|
+
"target": "es5",
|
|
6
|
+
"composite": true,
|
|
7
|
+
"outDir": "../../../../../confluence/tsDist/@atlaskit__icon",
|
|
8
|
+
"rootDir": "../"
|
|
9
|
+
},
|
|
10
|
+
"include": [
|
|
11
|
+
"../src/**/*.ts",
|
|
12
|
+
"../src/**/*.tsx"
|
|
13
|
+
],
|
|
14
|
+
"exclude": [
|
|
15
|
+
"../src/**/__tests__/*",
|
|
16
|
+
"../src/**/*.test.*",
|
|
17
|
+
"../src/**/test.*"
|
|
18
|
+
],
|
|
19
|
+
"references": [
|
|
20
|
+
{
|
|
21
|
+
"path": "../../../platform/feature-flags/afm-cc/tsconfig.json"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"path": "../../tokens/afm-cc/tsconfig.json"
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
27
|
}
|
|
@@ -39,6 +39,8 @@ var secondaryTransparentHcmStyles = null;
|
|
|
39
39
|
/**
|
|
40
40
|
* __Icon__
|
|
41
41
|
*
|
|
42
|
+
* @deprecated Custom Icon is deprecated and will be removed from `atlaskit/icon` in an upcoming major release. Please use either an existing icon from @atlaskit/icon or @atlaskit/icon-lab, or contributing to @atlaskit/icon-lab directly. For third party logos, use an SVG element along with a label.
|
|
43
|
+
*
|
|
42
44
|
* An icon is used as a visual representation of common actions and commands to provide context.
|
|
43
45
|
*
|
|
44
46
|
* - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
|
|
@@ -22,6 +22,8 @@ var svgStyles = null;
|
|
|
22
22
|
/**
|
|
23
23
|
* __SVG__
|
|
24
24
|
*
|
|
25
|
+
* @deprecated Custom SVG is deprecated and will be removed from `atlaskit/icon` in an upcoming major release. Please use either an existing icon from @atlaskit/icon or @atlaskit/icon-lab, or contributing to @atlaskit/icon-lab directly. For third party logos, use an SVG element along with a label.
|
|
26
|
+
*
|
|
25
27
|
* An icon is used as a visual representation of common actions and commands to provide context.
|
|
26
28
|
*
|
|
27
29
|
* - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
|
|
@@ -28,6 +28,8 @@ const secondaryTransparentHcmStyles = null;
|
|
|
28
28
|
/**
|
|
29
29
|
* __Icon__
|
|
30
30
|
*
|
|
31
|
+
* @deprecated Custom Icon is deprecated and will be removed from `atlaskit/icon` in an upcoming major release. Please use either an existing icon from @atlaskit/icon or @atlaskit/icon-lab, or contributing to @atlaskit/icon-lab directly. For third party logos, use an SVG element along with a label.
|
|
32
|
+
*
|
|
31
33
|
* An icon is used as a visual representation of common actions and commands to provide context.
|
|
32
34
|
*
|
|
33
35
|
* - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
|
|
@@ -14,6 +14,8 @@ const svgStyles = null;
|
|
|
14
14
|
/**
|
|
15
15
|
* __SVG__
|
|
16
16
|
*
|
|
17
|
+
* @deprecated Custom SVG is deprecated and will be removed from `atlaskit/icon` in an upcoming major release. Please use either an existing icon from @atlaskit/icon or @atlaskit/icon-lab, or contributing to @atlaskit/icon-lab directly. For third party logos, use an SVG element along with a label.
|
|
18
|
+
*
|
|
17
19
|
* An icon is used as a visual representation of common actions and commands to provide context.
|
|
18
20
|
*
|
|
19
21
|
* - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
|
|
@@ -31,6 +31,8 @@ var secondaryTransparentHcmStyles = null;
|
|
|
31
31
|
/**
|
|
32
32
|
* __Icon__
|
|
33
33
|
*
|
|
34
|
+
* @deprecated Custom Icon is deprecated and will be removed from `atlaskit/icon` in an upcoming major release. Please use either an existing icon from @atlaskit/icon or @atlaskit/icon-lab, or contributing to @atlaskit/icon-lab directly. For third party logos, use an SVG element along with a label.
|
|
35
|
+
*
|
|
34
36
|
* An icon is used as a visual representation of common actions and commands to provide context.
|
|
35
37
|
*
|
|
36
38
|
* - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
|
|
@@ -14,6 +14,8 @@ var svgStyles = null;
|
|
|
14
14
|
/**
|
|
15
15
|
* __SVG__
|
|
16
16
|
*
|
|
17
|
+
* @deprecated Custom SVG is deprecated and will be removed from `atlaskit/icon` in an upcoming major release. Please use either an existing icon from @atlaskit/icon or @atlaskit/icon-lab, or contributing to @atlaskit/icon-lab directly. For third party logos, use an SVG element along with a label.
|
|
18
|
+
*
|
|
17
19
|
* An icon is used as a visual representation of common actions and commands to provide context.
|
|
18
20
|
*
|
|
19
21
|
* - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
|
|
@@ -3,6 +3,8 @@ import type { IconProps } from '../types';
|
|
|
3
3
|
/**
|
|
4
4
|
* __Icon__
|
|
5
5
|
*
|
|
6
|
+
* @deprecated Custom Icon is deprecated and will be removed from `atlaskit/icon` in an upcoming major release. Please use either an existing icon from @atlaskit/icon or @atlaskit/icon-lab, or contributing to @atlaskit/icon-lab directly. For third party logos, use an SVG element along with a label.
|
|
7
|
+
*
|
|
6
8
|
* An icon is used as a visual representation of common actions and commands to provide context.
|
|
7
9
|
*
|
|
8
10
|
* - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
|
|
@@ -3,6 +3,8 @@ import type { SVGProps } from '../types';
|
|
|
3
3
|
/**
|
|
4
4
|
* __SVG__
|
|
5
5
|
*
|
|
6
|
+
* @deprecated Custom SVG is deprecated and will be removed from `atlaskit/icon` in an upcoming major release. Please use either an existing icon from @atlaskit/icon or @atlaskit/icon-lab, or contributing to @atlaskit/icon-lab directly. For third party logos, use an SVG element along with a label.
|
|
7
|
+
*
|
|
6
8
|
* An icon is used as a visual representation of common actions and commands to provide context.
|
|
7
9
|
*
|
|
8
10
|
* - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
|
|
@@ -3,6 +3,8 @@ import type { IconProps } from '../types';
|
|
|
3
3
|
/**
|
|
4
4
|
* __Icon__
|
|
5
5
|
*
|
|
6
|
+
* @deprecated Custom Icon is deprecated and will be removed from `atlaskit/icon` in an upcoming major release. Please use either an existing icon from @atlaskit/icon or @atlaskit/icon-lab, or contributing to @atlaskit/icon-lab directly. For third party logos, use an SVG element along with a label.
|
|
7
|
+
*
|
|
6
8
|
* An icon is used as a visual representation of common actions and commands to provide context.
|
|
7
9
|
*
|
|
8
10
|
* - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
|
|
@@ -3,6 +3,8 @@ import type { SVGProps } from '../types';
|
|
|
3
3
|
/**
|
|
4
4
|
* __SVG__
|
|
5
5
|
*
|
|
6
|
+
* @deprecated Custom SVG is deprecated and will be removed from `atlaskit/icon` in an upcoming major release. Please use either an existing icon from @atlaskit/icon or @atlaskit/icon-lab, or contributing to @atlaskit/icon-lab directly. For third party logos, use an SVG element along with a label.
|
|
7
|
+
*
|
|
6
8
|
* An icon is used as a visual representation of common actions and commands to provide context.
|
|
7
9
|
*
|
|
8
10
|
* - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/icon",
|
|
3
|
-
"version": "27.
|
|
3
|
+
"version": "27.8.0",
|
|
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/"
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
"id": "custom-icon",
|
|
56
56
|
"sortKey": 3,
|
|
57
57
|
"status": {
|
|
58
|
-
"type": "
|
|
59
|
-
"description": "
|
|
58
|
+
"type": "deprecated",
|
|
59
|
+
"description": "Custom icon is deprecated. We recommend using either an existing icon from @atlaskit/icon or @atlaskit/icon-lab, or contributing to @atlaskit/icon-lab directly. For third party logos, use an SVG element along with a label.",
|
|
60
60
|
"actions": [
|
|
61
61
|
{
|
|
62
62
|
"text": "View available icons",
|
|
@@ -74,8 +74,8 @@
|
|
|
74
74
|
"id": "custom-svg",
|
|
75
75
|
"sortKey": 4,
|
|
76
76
|
"status": {
|
|
77
|
-
"type": "
|
|
78
|
-
"description": "
|
|
77
|
+
"type": "deprecated",
|
|
78
|
+
"description": "Custom SVG is deprecated. We recommend using either an existing icon from @atlaskit/icon or @atlaskit/icon-lab, or contributing to @atlaskit/icon-lab directly. For third party logos, use an SVG element along with a label.",
|
|
79
79
|
"actions": [
|
|
80
80
|
{
|
|
81
81
|
"text": "View available icons",
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
"@af/icon-build-process": "workspace:^",
|
|
110
110
|
"@af/integration-testing": "workspace:^",
|
|
111
111
|
"@af/visual-regression": "workspace:^",
|
|
112
|
-
"@atlaskit/button": "^23.
|
|
112
|
+
"@atlaskit/button": "^23.3.0",
|
|
113
113
|
"@atlaskit/code": "^17.2.0",
|
|
114
114
|
"@atlaskit/css": "^0.12.0",
|
|
115
115
|
"@atlaskit/docs": "^11.0.0",
|
|
@@ -119,15 +119,15 @@
|
|
|
119
119
|
"@atlaskit/icon-file-type": "^7.0.0",
|
|
120
120
|
"@atlaskit/icon-object": "^7.1.0",
|
|
121
121
|
"@atlaskit/link": "^3.2.0",
|
|
122
|
-
"@atlaskit/logo": "^19.
|
|
123
|
-
"@atlaskit/menu": "^8.
|
|
122
|
+
"@atlaskit/logo": "^19.6.0",
|
|
123
|
+
"@atlaskit/menu": "^8.1.0",
|
|
124
124
|
"@atlaskit/modal-dialog": "^14.3.0",
|
|
125
|
-
"@atlaskit/primitives": "^14.
|
|
126
|
-
"@atlaskit/section-message": "^8.
|
|
125
|
+
"@atlaskit/primitives": "^14.11.0",
|
|
126
|
+
"@atlaskit/section-message": "^8.5.0",
|
|
127
127
|
"@atlaskit/textfield": "^8.0.0",
|
|
128
128
|
"@atlaskit/theme": "^19.0.0",
|
|
129
|
-
"@atlaskit/toggle": "^15.
|
|
130
|
-
"@atlaskit/tooltip": "^20.
|
|
129
|
+
"@atlaskit/toggle": "^15.1.0",
|
|
130
|
+
"@atlaskit/tooltip": "^20.4.0",
|
|
131
131
|
"@atlaskit/visual-regression": "workspace:^",
|
|
132
132
|
"@atlassian/ssr-tests": "^0.2.0",
|
|
133
133
|
"@babel/core": "7.24.9",
|