@atlaskit/icon-lab 4.18.0 → 4.19.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 +23 -0
- package/core/hand.d.ts +4 -1
- package/core/hand.js +2 -2
- package/core/milestone-complete.js +2 -2
- package/core/space.js +2 -2
- package/dist/cjs/deprecated-core.js +4 -1
- package/dist/cjs/metadata-core.js +9 -4
- package/dist/es2019/deprecated-core.js +4 -1
- package/dist/es2019/metadata-core.js +9 -4
- package/dist/esm/deprecated-core.js +4 -1
- package/dist/esm/metadata-core.js +9 -4
- package/dist/types/deprecated-core.d.ts +1 -1
- package/dist/types/metadata-core.d.ts +1 -1
- package/dist/types-ts4.5/deprecated-core.d.ts +1 -1
- package/dist/types-ts4.5/metadata-core.d.ts +1 -1
- package/package.json +1 -1
- package/svgs/core/milestone-complete.svg +1 -1
- package/svgs/core/space.svg +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# @atlaskit/icon-lab
|
|
2
2
|
|
|
3
|
+
## 4.19.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#169883](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/169883)
|
|
8
|
+
[`e287517926b5e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e287517926b5e) -
|
|
9
|
+
This release updates and deprecates icons in `@atlaskit/icon-lab`.
|
|
10
|
+
|
|
11
|
+
### Updated:
|
|
12
|
+
|
|
13
|
+
**`@atlaskit/icon-lab/core`**
|
|
14
|
+
|
|
15
|
+
- `incognito`
|
|
16
|
+
- `milestone-complete`
|
|
17
|
+
- `shape-triangle-inverted`
|
|
18
|
+
- `space`
|
|
19
|
+
|
|
20
|
+
### Deprecated:
|
|
21
|
+
|
|
22
|
+
**`@atlaskit/icon-lab/core`**
|
|
23
|
+
|
|
24
|
+
- `hand`
|
|
25
|
+
|
|
3
26
|
## 4.18.0
|
|
4
27
|
|
|
5
28
|
### Minor Changes
|
package/core/hand.d.ts
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::4366a9c9c2a0470e0f1ee77131c9f9fb>>
|
|
4
4
|
* @codegenCommand yarn build:icon-glyphs
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
import type { NewCoreIconProps } from '@atlaskit/icon/base-new';
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated The icon "hand" is deprecated in favour of "hand-raised" from “@atlaskit/icon-lab/core”
|
|
11
|
+
*/
|
|
9
12
|
declare const HandIcon: {
|
|
10
13
|
(props: NewCoreIconProps): JSX.Element;
|
|
11
14
|
displayName: string;
|
package/core/hand.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::f2d54c89ecdccbc3b56d013f2c8c47c9>>
|
|
4
4
|
* @codegenCommand yarn build:icon-glyphs
|
|
5
5
|
*/
|
|
6
6
|
"use strict";
|
|
@@ -16,7 +16,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
|
|
|
16
16
|
* Icon: "Hand".
|
|
17
17
|
* Category: multi-purpose
|
|
18
18
|
* Location: @atlaskit/icon-lab
|
|
19
|
-
* Usage guidance: Used for
|
|
19
|
+
* Usage guidance: Used for farewell feed in Atlassian Home.
|
|
20
20
|
* - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
|
|
21
21
|
* - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
|
|
22
22
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::0ce74417a4ac044bbdf4b0cc18fc64bc>>
|
|
4
4
|
* @codegenCommand yarn build:icon-glyphs
|
|
5
5
|
*/
|
|
6
6
|
"use strict";
|
|
@@ -21,7 +21,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
|
|
|
21
21
|
* - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
|
|
22
22
|
*/
|
|
23
23
|
const MilestoneCompleteIcon = props => /*#__PURE__*/_react.default.createElement(_baseNew.default, Object.assign({
|
|
24
|
-
dangerouslySetGlyph: `<path fill="currentcolor" d="M6.737 2.466a2 2 0 0 1 2.677.138l2.335 2.336L8 8.69 6.03 6.72 4.97 7.78l2.5 2.5.057.
|
|
24
|
+
dangerouslySetGlyph: `<path fill="currentcolor" d="M6.737 2.466a2 2 0 0 1 2.677.138l2.335 2.336L8 8.69 6.03 6.72 4.97 7.78l2.5 2.5.057.052c.294.24.73.223 1.004-.051L12.81 6l.585.585.138.152a2 2 0 0 1-.138 2.676l-3.982 3.983a2 2 0 0 1-2.829 0L2.603 9.414a2 2 0 0 1 0-2.828l3.982-3.982zm8.169 1.44L12.81 6l-1.06-1.06 2.095-2.095z"/>`
|
|
25
25
|
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
26
26
|
}, props));
|
|
27
27
|
MilestoneCompleteIcon.displayName = 'MilestoneCompleteIcon';
|
package/core/space.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::4ac9290784d2a58aa5091acba5eeec04>>
|
|
4
4
|
* @codegenCommand yarn build:icon-glyphs
|
|
5
5
|
*/
|
|
6
6
|
"use strict";
|
|
@@ -23,7 +23,7 @@ More context: Later, it will eventually replace the Confluence Spaces icon later
|
|
|
23
23
|
* - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
|
|
24
24
|
*/
|
|
25
25
|
const SpaceIcon = props => /*#__PURE__*/_react.default.createElement(_baseNew.default, Object.assign({
|
|
26
|
-
dangerouslySetGlyph: `<path fill="currentcolor" d="m10.213 11.918.037-.02.037-.
|
|
26
|
+
dangerouslySetGlyph: `<path fill="currentcolor" d="m10.213 11.918.037-.02.037-.022a29 29 0 0 0 3.523-2.38 5.98 5.98 0 0 1-2.81 3.7 5.98 5.98 0 0 1-4.61.584 29.4 29.4 0 0 0 3.823-1.862"/><path fill="currentcolor" fill-rule="evenodd" d="M.206 12.5c-.21-.365-.222-.762-.149-1.11.072-.343.232-.681.432-1.002.35-.559.883-1.162 1.541-1.774a6 6 0 0 1 9.487-5.477c.858-.264 1.648-.425 2.307-.447.377-.013.75.017 1.083.126.338.111.677.32.887.684.186.322.219.664.17.988a2.7 2.7 0 0 1-.276.812c-.276.539-.738 1.113-1.308 1.689-1.148 1.158-2.866 2.446-4.88 3.609s-3.988 2.006-5.566 2.422c-.783.206-1.511.318-2.116.288C1.253 13.28.56 13.113.206 12.5m3.36-3.725a4.502 4.502 0 0 1 8.778-1.954c-.962.808-2.191 1.668-3.594 2.478s-2.762 1.444-3.943 1.873a4.5 4.5 0 0 1-.704-.922 4.5 4.5 0 0 1-.537-1.475M2.804 11q.197.342.431.648c-.563.129-1.015.178-1.344.162-.22-.01-.327-.046-.373-.068l.007-.045c.023-.108.09-.28.237-.514q.243-.392.697-.88.147.355.345.697m10.392-6a6 6 0 0 0-.431-.648 6 6 0 0 1 1.11-.163c.277-.01.459.018.564.052l.043.016c-.005.052-.028.162-.128.358-.15.292-.419.659-.813 1.082A6 6 0 0 0 13.196 5" clip-rule="evenodd"/>`
|
|
27
27
|
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
28
28
|
}, props));
|
|
29
29
|
SpaceIcon.displayName = 'SpaceIcon';
|
|
@@ -9,10 +9,13 @@ exports.default = void 0;
|
|
|
9
9
|
*
|
|
10
10
|
* To change the format of this file, modify `createDeprecatedIconDocs` in icon-build-process/src/create-deprecated-icon-docs.tsx.
|
|
11
11
|
*
|
|
12
|
-
* @codegen <<SignedSource::
|
|
12
|
+
* @codegen <<SignedSource::44a445bb9c0e68f40b044595df543c89>>
|
|
13
13
|
* @codegenCommand yarn build:icon-glyphs
|
|
14
14
|
*/
|
|
15
15
|
var deprecatedIcons = {
|
|
16
|
+
'@atlaskit/icon-lab/core/hand': {
|
|
17
|
+
message: 'The icon "hand" is deprecated in favour of "hand-raised" from “@atlaskit/icon-lab/core”'
|
|
18
|
+
},
|
|
16
19
|
'@atlaskit/icon-lab/core/hand-clenched': {
|
|
17
20
|
message: 'The icon "hand-clenched" is deprecated in favour of "hand-closed" from “@atlaskit/icon-lab/core”'
|
|
18
21
|
},
|
|
@@ -9,7 +9,7 @@ exports.default = void 0;
|
|
|
9
9
|
*
|
|
10
10
|
* To change the format of this file, modify `createIconDocsNew` in icon-build-process/src/create-icon-docs.tsx.
|
|
11
11
|
*
|
|
12
|
-
* @codegen <<SignedSource::
|
|
12
|
+
* @codegen <<SignedSource::271b1f4b4831f5e12477bee6e36a90f8>>
|
|
13
13
|
* @codegenCommand yarn build:icon-glyphs
|
|
14
14
|
*/
|
|
15
15
|
|
|
@@ -884,14 +884,19 @@ var metadata = {
|
|
|
884
884
|
status: 'published'
|
|
885
885
|
},
|
|
886
886
|
hand: {
|
|
887
|
-
keywords: ['hand', 'icon', 'icon-lab', 'core', 'hand', '
|
|
887
|
+
keywords: ['hand', 'icon', 'icon-lab', 'core', 'hand', 'farewell', 'wave'],
|
|
888
888
|
componentName: 'HandIcon',
|
|
889
889
|
package: '@atlaskit/icon-lab/core/hand',
|
|
890
890
|
type: 'core',
|
|
891
|
+
replacement: {
|
|
892
|
+
name: 'hand-raised',
|
|
893
|
+
type: 'core',
|
|
894
|
+
location: '@atlaskit/icon-lab'
|
|
895
|
+
},
|
|
891
896
|
categorization: 'multi-purpose',
|
|
892
|
-
usage: 'Used for
|
|
897
|
+
usage: 'Used for farewell feed in Atlassian Home.',
|
|
893
898
|
team: 'Whiteboards',
|
|
894
|
-
status: '
|
|
899
|
+
status: 'deprecated'
|
|
895
900
|
},
|
|
896
901
|
'hand-clenched': {
|
|
897
902
|
keywords: ['hand-clenched', 'handclenched', 'icon', 'icon-lab', 'core', 'whiteboards', 'grab'],
|
|
@@ -3,10 +3,13 @@
|
|
|
3
3
|
*
|
|
4
4
|
* To change the format of this file, modify `createDeprecatedIconDocs` in icon-build-process/src/create-deprecated-icon-docs.tsx.
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::44a445bb9c0e68f40b044595df543c89>>
|
|
7
7
|
* @codegenCommand yarn build:icon-glyphs
|
|
8
8
|
*/
|
|
9
9
|
const deprecatedIcons = {
|
|
10
|
+
'@atlaskit/icon-lab/core/hand': {
|
|
11
|
+
message: 'The icon "hand" is deprecated in favour of "hand-raised" from “@atlaskit/icon-lab/core”'
|
|
12
|
+
},
|
|
10
13
|
'@atlaskit/icon-lab/core/hand-clenched': {
|
|
11
14
|
message: 'The icon "hand-clenched" is deprecated in favour of "hand-closed" from “@atlaskit/icon-lab/core”'
|
|
12
15
|
},
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* To change the format of this file, modify `createIconDocsNew` in icon-build-process/src/create-icon-docs.tsx.
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::271b1f4b4831f5e12477bee6e36a90f8>>
|
|
7
7
|
* @codegenCommand yarn build:icon-glyphs
|
|
8
8
|
*/
|
|
9
9
|
|
|
@@ -878,14 +878,19 @@ const metadata = {
|
|
|
878
878
|
status: 'published'
|
|
879
879
|
},
|
|
880
880
|
hand: {
|
|
881
|
-
keywords: ['hand', 'icon', 'icon-lab', 'core', 'hand', '
|
|
881
|
+
keywords: ['hand', 'icon', 'icon-lab', 'core', 'hand', 'farewell', 'wave'],
|
|
882
882
|
componentName: 'HandIcon',
|
|
883
883
|
package: '@atlaskit/icon-lab/core/hand',
|
|
884
884
|
type: 'core',
|
|
885
|
+
replacement: {
|
|
886
|
+
name: 'hand-raised',
|
|
887
|
+
type: 'core',
|
|
888
|
+
location: '@atlaskit/icon-lab'
|
|
889
|
+
},
|
|
885
890
|
categorization: 'multi-purpose',
|
|
886
|
-
usage: 'Used for
|
|
891
|
+
usage: 'Used for farewell feed in Atlassian Home.',
|
|
887
892
|
team: 'Whiteboards',
|
|
888
|
-
status: '
|
|
893
|
+
status: 'deprecated'
|
|
889
894
|
},
|
|
890
895
|
'hand-clenched': {
|
|
891
896
|
keywords: ['hand-clenched', 'handclenched', 'icon', 'icon-lab', 'core', 'whiteboards', 'grab'],
|
|
@@ -3,10 +3,13 @@
|
|
|
3
3
|
*
|
|
4
4
|
* To change the format of this file, modify `createDeprecatedIconDocs` in icon-build-process/src/create-deprecated-icon-docs.tsx.
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::44a445bb9c0e68f40b044595df543c89>>
|
|
7
7
|
* @codegenCommand yarn build:icon-glyphs
|
|
8
8
|
*/
|
|
9
9
|
var deprecatedIcons = {
|
|
10
|
+
'@atlaskit/icon-lab/core/hand': {
|
|
11
|
+
message: 'The icon "hand" is deprecated in favour of "hand-raised" from “@atlaskit/icon-lab/core”'
|
|
12
|
+
},
|
|
10
13
|
'@atlaskit/icon-lab/core/hand-clenched': {
|
|
11
14
|
message: 'The icon "hand-clenched" is deprecated in favour of "hand-closed" from “@atlaskit/icon-lab/core”'
|
|
12
15
|
},
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* To change the format of this file, modify `createIconDocsNew` in icon-build-process/src/create-icon-docs.tsx.
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::271b1f4b4831f5e12477bee6e36a90f8>>
|
|
7
7
|
* @codegenCommand yarn build:icon-glyphs
|
|
8
8
|
*/
|
|
9
9
|
|
|
@@ -878,14 +878,19 @@ var metadata = {
|
|
|
878
878
|
status: 'published'
|
|
879
879
|
},
|
|
880
880
|
hand: {
|
|
881
|
-
keywords: ['hand', 'icon', 'icon-lab', 'core', 'hand', '
|
|
881
|
+
keywords: ['hand', 'icon', 'icon-lab', 'core', 'hand', 'farewell', 'wave'],
|
|
882
882
|
componentName: 'HandIcon',
|
|
883
883
|
package: '@atlaskit/icon-lab/core/hand',
|
|
884
884
|
type: 'core',
|
|
885
|
+
replacement: {
|
|
886
|
+
name: 'hand-raised',
|
|
887
|
+
type: 'core',
|
|
888
|
+
location: '@atlaskit/icon-lab'
|
|
889
|
+
},
|
|
885
890
|
categorization: 'multi-purpose',
|
|
886
|
-
usage: 'Used for
|
|
891
|
+
usage: 'Used for farewell feed in Atlassian Home.',
|
|
887
892
|
team: 'Whiteboards',
|
|
888
|
-
status: '
|
|
893
|
+
status: 'deprecated'
|
|
889
894
|
},
|
|
890
895
|
'hand-clenched': {
|
|
891
896
|
keywords: ['hand-clenched', 'handclenched', 'icon', 'icon-lab', 'core', 'whiteboards', 'grab'],
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* To change the format of this file, modify `createDeprecatedIconDocs` in icon-build-process/src/create-deprecated-icon-docs.tsx.
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::44a445bb9c0e68f40b044595df543c89>>
|
|
7
7
|
* @codegenCommand yarn build:icon-glyphs
|
|
8
8
|
*/
|
|
9
9
|
declare const deprecatedIcons: Record<string, {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* To change the format of this file, modify `createIconDocsNew` in icon-build-process/src/create-icon-docs.tsx.
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::271b1f4b4831f5e12477bee6e36a90f8>>
|
|
7
7
|
* @codegenCommand yarn build:icon-glyphs
|
|
8
8
|
*/
|
|
9
9
|
interface metadata {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* To change the format of this file, modify `createDeprecatedIconDocs` in icon-build-process/src/create-deprecated-icon-docs.tsx.
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::44a445bb9c0e68f40b044595df543c89>>
|
|
7
7
|
* @codegenCommand yarn build:icon-glyphs
|
|
8
8
|
*/
|
|
9
9
|
declare const deprecatedIcons: Record<string, {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* To change the format of this file, modify `createIconDocsNew` in icon-build-process/src/create-icon-docs.tsx.
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::271b1f4b4831f5e12477bee6e36a90f8>>
|
|
7
7
|
* @codegenCommand yarn build:icon-glyphs
|
|
8
8
|
*/
|
|
9
9
|
interface metadata {
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentcolor" d="M6.737 2.466a2 2 0 0 1 2.677.138l2.335 2.336L8 8.69 6.03 6.72 4.97 7.78l2.5 2.5.057.
|
|
1
|
+
<svg width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentcolor" d="M6.737 2.466a2 2 0 0 1 2.677.138l2.335 2.336L8 8.69 6.03 6.72 4.97 7.78l2.5 2.5.057.052c.294.24.73.223 1.004-.051L12.81 6l.585.585.138.152a2 2 0 0 1-.138 2.676l-3.982 3.983a2 2 0 0 1-2.829 0L2.603 9.414a2 2 0 0 1 0-2.828l3.982-3.982zm8.169 1.44L12.81 6l-1.06-1.06 2.095-2.095z"/></svg>
|
package/svgs/core/space.svg
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentcolor" d="m10.213 11.918.037-.02.037-.
|
|
1
|
+
<svg width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentcolor" d="m10.213 11.918.037-.02.037-.022a29 29 0 0 0 3.523-2.38 5.98 5.98 0 0 1-2.81 3.7 5.98 5.98 0 0 1-4.61.584 29.4 29.4 0 0 0 3.823-1.862"/><path fill="currentcolor" fill-rule="evenodd" d="M.206 12.5c-.21-.365-.222-.762-.149-1.11.072-.343.232-.681.432-1.002.35-.559.883-1.162 1.541-1.774a6 6 0 0 1 9.487-5.477c.858-.264 1.648-.425 2.307-.447.377-.013.75.017 1.083.126.338.111.677.32.887.684.186.322.219.664.17.988a2.7 2.7 0 0 1-.276.812c-.276.539-.738 1.113-1.308 1.689-1.148 1.158-2.866 2.446-4.88 3.609s-3.988 2.006-5.566 2.422c-.783.206-1.511.318-2.116.288C1.253 13.28.56 13.113.206 12.5m3.36-3.725a4.502 4.502 0 0 1 8.778-1.954c-.962.808-2.191 1.668-3.594 2.478s-2.762 1.444-3.943 1.873a4.5 4.5 0 0 1-.704-.922 4.5 4.5 0 0 1-.537-1.475M2.804 11q.197.342.431.648c-.563.129-1.015.178-1.344.162-.22-.01-.327-.046-.373-.068l.007-.045c.023-.108.09-.28.237-.514q.243-.392.697-.88.147.355.345.697m10.392-6a6 6 0 0 0-.431-.648 6 6 0 0 1 1.11-.163c.277-.01.459.018.564.052l.043.016c-.005.052-.028.162-.128.358-.15.292-.419.659-.813 1.082A6 6 0 0 0 13.196 5" clip-rule="evenodd"/></svg>
|