@atlaskit/icon-lab 3.1.0 → 3.2.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 +15 -0
- package/core/if-else.d.ts +13 -0
- package/core/if-else.js +31 -0
- package/core/webhook.d.ts +13 -0
- package/core/webhook.js +31 -0
- package/dist/cjs/metadata-core.js +21 -1
- package/dist/es2019/metadata-core.js +21 -1
- package/dist/esm/metadata-core.js +21 -1
- package/dist/types/metadata-core.d.ts +1 -1
- package/dist/types-ts4.5/metadata-core.d.ts +1 -1
- package/package.json +4 -4
- package/svgs/core/if-else.svg +1 -0
- package/svgs/core/webhook.svg +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/icon-lab
|
|
2
2
|
|
|
3
|
+
## 3.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#118803](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/118803)
|
|
8
|
+
[`57557d8b393d1`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/57557d8b393d1) -
|
|
9
|
+
This release adds two new icons in `@atlaskit/icon-lab`.
|
|
10
|
+
|
|
11
|
+
### Added:
|
|
12
|
+
|
|
13
|
+
**`@atlaskit/icon-lab/core`**
|
|
14
|
+
|
|
15
|
+
- `if-else`
|
|
16
|
+
- `webhook`
|
|
17
|
+
|
|
3
18
|
## 3.1.0
|
|
4
19
|
|
|
5
20
|
### Minor Changes
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::c79b3beec69d5557a9809cc37f97c405>>
|
|
4
|
+
* @codegenCommand yarn build:icon-glyphs
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import type { NewCoreIconProps } from '@atlaskit/icon/base-new';
|
|
8
|
+
|
|
9
|
+
declare const IfElseIcon: {
|
|
10
|
+
(props: NewCoreIconProps): JSX.Element;
|
|
11
|
+
displayName: string;
|
|
12
|
+
};
|
|
13
|
+
export default IfElseIcon;
|
package/core/if-else.js
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::09cdf8cb97565bf7473a82eeba724eae>>
|
|
4
|
+
* @codegenCommand yarn build:icon-glyphs
|
|
5
|
+
*/
|
|
6
|
+
"use strict";
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "__esModule", {
|
|
9
|
+
value: true
|
|
10
|
+
});
|
|
11
|
+
exports.default = void 0;
|
|
12
|
+
var _react = _interopRequireDefault(require("react"));
|
|
13
|
+
var _baseNew = _interopRequireDefault(require("@atlaskit/icon/base-new"));
|
|
14
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
15
|
+
/**
|
|
16
|
+
* ⚠️ EXPERIMENTAL ⚠️ - New icons are in alpha - and subject to change or removal in future minor or patch releases.
|
|
17
|
+
* Please reach out in #icon-contributions before using these in production.
|
|
18
|
+
*
|
|
19
|
+
* Icon: "IfElse".
|
|
20
|
+
* Category: single-purpose
|
|
21
|
+
* Location: @atlaskit/icon-lab
|
|
22
|
+
* Usage guidance: Reserved for If Else conditions
|
|
23
|
+
* - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
|
|
24
|
+
* - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
|
|
25
|
+
*/
|
|
26
|
+
const IfElseIcon = props => /*#__PURE__*/_react.default.createElement(_baseNew.default, Object.assign({
|
|
27
|
+
dangerouslySetGlyph: `<path stroke="currentcolor" stroke-linejoin="round" stroke-width="1.5" d="M14 11.75H9.25c-.69 0-1.25-.56-1.25-1.25V4.375m3.75 9.875 2.5-2.5-2.5-2.5m2.25-5H8m-3.25 0a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0Zm0 0H9.5m2.25 2.5 2.5-2.5-2.5-2.5"/>`
|
|
28
|
+
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
29
|
+
}, props));
|
|
30
|
+
IfElseIcon.displayName = 'IfElseIcon';
|
|
31
|
+
var _default = exports.default = IfElseIcon;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::e74fb61766350c2cf3aa8dc50866113d>>
|
|
4
|
+
* @codegenCommand yarn build:icon-glyphs
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import type { NewCoreIconProps } from '@atlaskit/icon/base-new';
|
|
8
|
+
|
|
9
|
+
declare const WebhookIcon: {
|
|
10
|
+
(props: NewCoreIconProps): JSX.Element;
|
|
11
|
+
displayName: string;
|
|
12
|
+
};
|
|
13
|
+
export default WebhookIcon;
|
package/core/webhook.js
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::0c39e6c13a9f5a151bbccba9e7f332b5>>
|
|
4
|
+
* @codegenCommand yarn build:icon-glyphs
|
|
5
|
+
*/
|
|
6
|
+
"use strict";
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "__esModule", {
|
|
9
|
+
value: true
|
|
10
|
+
});
|
|
11
|
+
exports.default = void 0;
|
|
12
|
+
var _react = _interopRequireDefault(require("react"));
|
|
13
|
+
var _baseNew = _interopRequireDefault(require("@atlaskit/icon/base-new"));
|
|
14
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
15
|
+
/**
|
|
16
|
+
* ⚠️ EXPERIMENTAL ⚠️ - New icons are in alpha - and subject to change or removal in future minor or patch releases.
|
|
17
|
+
* Please reach out in #icon-contributions before using these in production.
|
|
18
|
+
*
|
|
19
|
+
* Icon: "Webhook".
|
|
20
|
+
* Category: single-purpose
|
|
21
|
+
* Location: @atlaskit/icon-lab
|
|
22
|
+
* Usage guidance: Reserved for using a webhook to send data between applications via HTTP
|
|
23
|
+
* - [Examples](https://atlaskit.atlassian.com/packages/design-system/icon)
|
|
24
|
+
* - [Code](https://atlaskit.atlassian.com/packages/design-system/icon/docs/custom-icons)
|
|
25
|
+
*/
|
|
26
|
+
const WebhookIcon = props => /*#__PURE__*/_react.default.createElement(_baseNew.default, Object.assign({
|
|
27
|
+
dangerouslySetGlyph: `<path stroke="currentcolor" stroke-linejoin="round" stroke-width="1.5" d="m8 3.75 1.443 2.63 1.364 2.49a3 3 0 1 1-.11 5.198M3.75 11.5l1.443-2.63 1.364-2.49A3 3 0 0 1 8 .75a3 3 0 0 1 3 3m1.25 7.75h-5.5a3 3 0 1 1-4.523-2.585"/>`
|
|
28
|
+
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
29
|
+
}, props));
|
|
30
|
+
WebhookIcon.displayName = 'WebhookIcon';
|
|
31
|
+
var _default = exports.default = WebhookIcon;
|
|
@@ -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::1d1ebec75ee9bc7e475dbb1677ad433e>>
|
|
13
13
|
* @codegenCommand yarn build:icon-glyphs
|
|
14
14
|
*/
|
|
15
15
|
|
|
@@ -280,6 +280,16 @@ var metadata = {
|
|
|
280
280
|
usage: 'Used for move/hand tool in Whiteboards',
|
|
281
281
|
team: 'Whiteboards'
|
|
282
282
|
},
|
|
283
|
+
'if-else': {
|
|
284
|
+
keywords: ['if-else', 'ifelse', 'icon', 'icon-lab', 'core', 'condition', 'statement', 'branch'],
|
|
285
|
+
componentName: 'IfElseIcon',
|
|
286
|
+
package: '@atlaskit/icon-lab/core/if-else',
|
|
287
|
+
type: 'core',
|
|
288
|
+
categorization: 'single-purpose',
|
|
289
|
+
usage: 'Reserved for If Else conditions',
|
|
290
|
+
team: 'Automation',
|
|
291
|
+
slackChannel: '#help-automation-design'
|
|
292
|
+
},
|
|
283
293
|
incognito: {
|
|
284
294
|
keywords: ['incognito', 'icon', 'icon-lab', 'core', 'Whiteboards', 'Private', 'Incognito'],
|
|
285
295
|
componentName: 'IncognitoIcon',
|
|
@@ -642,6 +652,16 @@ var metadata = {
|
|
|
642
652
|
usage: 'Multi purpose',
|
|
643
653
|
team: 'Design System Team'
|
|
644
654
|
},
|
|
655
|
+
webhook: {
|
|
656
|
+
keywords: ['webhook', 'icon', 'icon-lab', 'core', 'api', 'callback', 'payload'],
|
|
657
|
+
componentName: 'WebhookIcon',
|
|
658
|
+
package: '@atlaskit/icon-lab/core/webhook',
|
|
659
|
+
type: 'core',
|
|
660
|
+
categorization: 'single-purpose',
|
|
661
|
+
usage: 'Reserved for using a webhook to send data between applications via HTTP',
|
|
662
|
+
team: 'Automation',
|
|
663
|
+
slackChannel: '#help-automation-design'
|
|
664
|
+
},
|
|
645
665
|
'welcome-feed': {
|
|
646
666
|
keywords: ['welcome-feed', 'welcomefeed', 'icon', 'icon-lab', 'core', 'welcome', 'hello', 'blog', 'smile', 'intro'],
|
|
647
667
|
componentName: 'WelcomeFeedIcon',
|
|
@@ -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::1d1ebec75ee9bc7e475dbb1677ad433e>>
|
|
7
7
|
* @codegenCommand yarn build:icon-glyphs
|
|
8
8
|
*/
|
|
9
9
|
|
|
@@ -274,6 +274,16 @@ const metadata = {
|
|
|
274
274
|
usage: 'Used for move/hand tool in Whiteboards',
|
|
275
275
|
team: 'Whiteboards'
|
|
276
276
|
},
|
|
277
|
+
'if-else': {
|
|
278
|
+
keywords: ['if-else', 'ifelse', 'icon', 'icon-lab', 'core', 'condition', 'statement', 'branch'],
|
|
279
|
+
componentName: 'IfElseIcon',
|
|
280
|
+
package: '@atlaskit/icon-lab/core/if-else',
|
|
281
|
+
type: 'core',
|
|
282
|
+
categorization: 'single-purpose',
|
|
283
|
+
usage: 'Reserved for If Else conditions',
|
|
284
|
+
team: 'Automation',
|
|
285
|
+
slackChannel: '#help-automation-design'
|
|
286
|
+
},
|
|
277
287
|
incognito: {
|
|
278
288
|
keywords: ['incognito', 'icon', 'icon-lab', 'core', 'Whiteboards', 'Private', 'Incognito'],
|
|
279
289
|
componentName: 'IncognitoIcon',
|
|
@@ -636,6 +646,16 @@ const metadata = {
|
|
|
636
646
|
usage: 'Multi purpose',
|
|
637
647
|
team: 'Design System Team'
|
|
638
648
|
},
|
|
649
|
+
webhook: {
|
|
650
|
+
keywords: ['webhook', 'icon', 'icon-lab', 'core', 'api', 'callback', 'payload'],
|
|
651
|
+
componentName: 'WebhookIcon',
|
|
652
|
+
package: '@atlaskit/icon-lab/core/webhook',
|
|
653
|
+
type: 'core',
|
|
654
|
+
categorization: 'single-purpose',
|
|
655
|
+
usage: 'Reserved for using a webhook to send data between applications via HTTP',
|
|
656
|
+
team: 'Automation',
|
|
657
|
+
slackChannel: '#help-automation-design'
|
|
658
|
+
},
|
|
639
659
|
'welcome-feed': {
|
|
640
660
|
keywords: ['welcome-feed', 'welcomefeed', 'icon', 'icon-lab', 'core', 'welcome', 'hello', 'blog', 'smile', 'intro'],
|
|
641
661
|
componentName: 'WelcomeFeedIcon',
|
|
@@ -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::1d1ebec75ee9bc7e475dbb1677ad433e>>
|
|
7
7
|
* @codegenCommand yarn build:icon-glyphs
|
|
8
8
|
*/
|
|
9
9
|
|
|
@@ -274,6 +274,16 @@ var metadata = {
|
|
|
274
274
|
usage: 'Used for move/hand tool in Whiteboards',
|
|
275
275
|
team: 'Whiteboards'
|
|
276
276
|
},
|
|
277
|
+
'if-else': {
|
|
278
|
+
keywords: ['if-else', 'ifelse', 'icon', 'icon-lab', 'core', 'condition', 'statement', 'branch'],
|
|
279
|
+
componentName: 'IfElseIcon',
|
|
280
|
+
package: '@atlaskit/icon-lab/core/if-else',
|
|
281
|
+
type: 'core',
|
|
282
|
+
categorization: 'single-purpose',
|
|
283
|
+
usage: 'Reserved for If Else conditions',
|
|
284
|
+
team: 'Automation',
|
|
285
|
+
slackChannel: '#help-automation-design'
|
|
286
|
+
},
|
|
277
287
|
incognito: {
|
|
278
288
|
keywords: ['incognito', 'icon', 'icon-lab', 'core', 'Whiteboards', 'Private', 'Incognito'],
|
|
279
289
|
componentName: 'IncognitoIcon',
|
|
@@ -636,6 +646,16 @@ var metadata = {
|
|
|
636
646
|
usage: 'Multi purpose',
|
|
637
647
|
team: 'Design System Team'
|
|
638
648
|
},
|
|
649
|
+
webhook: {
|
|
650
|
+
keywords: ['webhook', 'icon', 'icon-lab', 'core', 'api', 'callback', 'payload'],
|
|
651
|
+
componentName: 'WebhookIcon',
|
|
652
|
+
package: '@atlaskit/icon-lab/core/webhook',
|
|
653
|
+
type: 'core',
|
|
654
|
+
categorization: 'single-purpose',
|
|
655
|
+
usage: 'Reserved for using a webhook to send data between applications via HTTP',
|
|
656
|
+
team: 'Automation',
|
|
657
|
+
slackChannel: '#help-automation-design'
|
|
658
|
+
},
|
|
639
659
|
'welcome-feed': {
|
|
640
660
|
keywords: ['welcome-feed', 'welcomefeed', 'icon', 'icon-lab', 'core', 'welcome', 'hello', 'blog', 'smile', 'intro'],
|
|
641
661
|
componentName: 'WelcomeFeedIcon',
|
|
@@ -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::1d1ebec75ee9bc7e475dbb1677ad433e>>
|
|
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 `createIconDocsNew` in icon-build-process/src/create-icon-docs.tsx.
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::1d1ebec75ee9bc7e475dbb1677ad433e>>
|
|
7
7
|
* @codegenCommand yarn build:icon-glyphs
|
|
8
8
|
*/
|
|
9
9
|
interface metadata {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/icon-lab",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "An icon package for public icon contributions",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -44,12 +44,12 @@
|
|
|
44
44
|
"@atlaskit/button": "^21.1.0",
|
|
45
45
|
"@atlaskit/code": "^16.0.0",
|
|
46
46
|
"@atlaskit/ds-lib": "^4.0.0",
|
|
47
|
-
"@atlaskit/heading": "^5.
|
|
47
|
+
"@atlaskit/heading": "^5.1.0",
|
|
48
48
|
"@atlaskit/modal-dialog": "^13.0.0",
|
|
49
|
-
"@atlaskit/primitives": "^14.
|
|
49
|
+
"@atlaskit/primitives": "^14.1.0",
|
|
50
50
|
"@atlaskit/ssr": "*",
|
|
51
51
|
"@atlaskit/textfield": "^8.0.0",
|
|
52
|
-
"@atlaskit/tokens": "^4.
|
|
52
|
+
"@atlaskit/tokens": "^4.2.0",
|
|
53
53
|
"@atlaskit/tooltip": "^20.0.0",
|
|
54
54
|
"@compiled/react": "^0.18.2",
|
|
55
55
|
"@testing-library/react": "^13.4.0",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="16" height="16" fill="none" viewBox="0 0 16 16"><path stroke="currentcolor" stroke-linejoin="round" stroke-width="1.5" d="M14 11.75H9.25c-.69 0-1.25-.56-1.25-1.25V4.375m3.75 9.875 2.5-2.5-2.5-2.5m2.25-5H8m-3.25 0a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0Zm0 0H9.5m2.25 2.5 2.5-2.5-2.5-2.5"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="16" height="16" fill="none" viewBox="0 0 16 16"><path stroke="currentcolor" stroke-linejoin="round" stroke-width="1.5" d="m8 3.75 1.443 2.63 1.364 2.49a3 3 0 1 1-.11 5.198M3.75 11.5l1.443-2.63 1.364-2.49A3 3 0 0 1 8 .75a3 3 0 0 1 3 3m1.25 7.75h-5.5a3 3 0 1 1-4.523-2.585"/></svg>
|