@cloudflare/component-icon 6.6.20 → 6.6.23
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 +28 -0
- package/DOCUMENTATION.js +2 -6
- package/es/iconTypes.js +1 -1
- package/es/reactsvgs/CloudflareMagicWan.js +21 -0
- package/es/reactsvgs/index.js +2 -0
- package/index.d.ts +1 -0
- package/lib/iconTypes.js +1 -1
- package/lib/reactsvgs/CloudflareMagicWan.js +33 -0
- package/lib/reactsvgs/index.js +3 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,34 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [6.6.23](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-icon@6.6.22...@cloudflare/component-icon@6.6.23) (2022-03-08)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @cloudflare/component-icon
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [6.6.22](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-icon@6.6.21...@cloudflare/component-icon@6.6.22) (2022-03-08)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **component-icon:** UI-5120: fix component-lib docs for icon ([460c37c](http://stash.cfops.it:7999/fe/stratus/commits/460c37c))
|
|
20
|
+
* **component-icon:** UI-5120: run `yarn update-icons` from root ([fc8533a](http://stash.cfops.it:7999/fe/stratus/commits/fc8533a))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
## [6.6.21](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-icon@6.6.20...@cloudflare/component-icon@6.6.21) (2022-03-04)
|
|
27
|
+
|
|
28
|
+
**Note:** Version bump only for package @cloudflare/component-icon
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
6
34
|
## [6.6.20](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-icon@6.6.19...@cloudflare/component-icon@6.6.20) (2022-03-01)
|
|
7
35
|
|
|
8
36
|
**Note:** Version bump only for package @cloudflare/component-icon
|
package/DOCUMENTATION.js
CHANGED
|
@@ -327,7 +327,7 @@ export default ({
|
|
|
327
327
|
scope={{ ...snippetScope }}
|
|
328
328
|
split="horizontal"
|
|
329
329
|
code={`
|
|
330
|
-
<Icon type="
|
|
330
|
+
<Icon type="applications" color="gray.2" />
|
|
331
331
|
`}
|
|
332
332
|
/>
|
|
333
333
|
</Div>
|
|
@@ -364,11 +364,7 @@ export default ({
|
|
|
364
364
|
<Label htmlFor="color" ml="auto" mr={3} cursor="pointer">
|
|
365
365
|
Toggle Color
|
|
366
366
|
</Label>
|
|
367
|
-
<Toggle
|
|
368
|
-
id="color"
|
|
369
|
-
value={isOK}
|
|
370
|
-
onChange={e => toggleIsOk(e.target.checked)}
|
|
371
|
-
/>
|
|
367
|
+
<Toggle id="color" value={isOK} onChange={e => toggleIsOk(e)} />
|
|
372
368
|
</Div>
|
|
373
369
|
<ExamplePreview
|
|
374
370
|
scope={{ ...snippetScope }}
|
package/es/iconTypes.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. USE component-icon/src/svgtoreact.sh TO MODIFY
|
|
2
|
-
export default ['account-analytics-logo', 'add-member', 'add', 'api-security', 'applications', 'backward', 'bolt', 'byoip', 'calendar', 'carbon', 'caret-double-left', 'caret-double-right', 'caret-down', 'caret-left', 'caret-right', 'caret-up', 'chart', 'clipboard', 'cloudflare-access', 'cloudflare-zero-trust', 'copy', 'credit-card', 'discord', 'documentation', 'download', 'drive', 'edgeworker', 'edit', 'email-forwarding', 'exclamation-sign', 'external-link', 'eye', 'facebook', 'file', 'filter', 'firewall-rules', 'flowchart', 'forward', 'gateway', 'gear', 'git-branch', 'github', 'hamburger', 'help', 'image', 'info-sign', 'internet-browser', 'key', 'leaf', 'left', 'link', 'linkedin', 'list', 'lock', 'magic-transit-logo', 'mail', 'minus', 'more', 'network-analytics-logo', 'network', 'notifications', 'ok-sign', 'ok', 'optimization-scale', 'pages-logo', 'pause', 'platform-apps', 'plus', 'printer', 'product__security-center', 'refresh', 'registrar-logo', 'reliability-dns', 'reliability-load-balancer', 'remove', 'reorder', 'resize-horizontal', 'retarget', 'revert', 'right', 'script', 'search', 'shield', 'spectrum', 'speech', 'stream', 'teams', 'time', 'twitter', 'two-way', 'upload', 'user-multi', 'user-outline', 'user', 'version', 'waiting-room', 'web-analytics-logo', 'workers-bundled', 'workers-durable-objects', 'workers-kv', 'workers-unbound', 'wrench', 'youtube', 'zaraz'];
|
|
2
|
+
export default ['account-analytics-logo', 'add-member', 'add', 'api-security', 'applications', 'backward', 'bolt', 'byoip', 'calendar', 'carbon', 'caret-double-left', 'caret-double-right', 'caret-down', 'caret-left', 'caret-right', 'caret-up', 'chart', 'clipboard', 'cloudflare-access', 'cloudflare-magic-wan', 'cloudflare-zero-trust', 'copy', 'credit-card', 'discord', 'documentation', 'download', 'drive', 'edgeworker', 'edit', 'email-forwarding', 'exclamation-sign', 'external-link', 'eye', 'facebook', 'file', 'filter', 'firewall-rules', 'flowchart', 'forward', 'gateway', 'gear', 'git-branch', 'github', 'hamburger', 'help', 'image', 'info-sign', 'internet-browser', 'key', 'leaf', 'left', 'link', 'linkedin', 'list', 'lock', 'magic-transit-logo', 'mail', 'minus', 'more', 'network-analytics-logo', 'network', 'notifications', 'ok-sign', 'ok', 'optimization-scale', 'pages-logo', 'pause', 'platform-apps', 'plus', 'printer', 'product__security-center', 'refresh', 'registrar-logo', 'reliability-dns', 'reliability-load-balancer', 'remove', 'reorder', 'resize-horizontal', 'retarget', 'revert', 'right', 'script', 'search', 'shield', 'spectrum', 'speech', 'stream', 'teams', 'time', 'twitter', 'two-way', 'upload', 'user-multi', 'user-outline', 'user', 'version', 'waiting-room', 'web-analytics-logo', 'workers-bundled', 'workers-durable-objects', 'workers-kv', 'workers-unbound', 'wrench', 'youtube', 'zaraz'];
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. USE component-icon/src/svgtoreact.sh TO MODIFY
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import PropTypes from 'prop-types';
|
|
4
|
+
|
|
5
|
+
const CloudflareMagicWan = ({
|
|
6
|
+
className,
|
|
7
|
+
label
|
|
8
|
+
}) => /*#__PURE__*/React.createElement("svg", {
|
|
9
|
+
className: className,
|
|
10
|
+
"aria-label": label,
|
|
11
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
12
|
+
viewBox: "0 0 16 16"
|
|
13
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
14
|
+
d: "M15 7.473h-4.284l3.95-1.645-.412-.998-3.965 1.64 3.034-3.043-.762-.763L9.54 5.693l1.642-3.951-.996-.416-1.648 3.97V1H7.462v4.277L5.846 1.321l-.996.413 1.637 3.972-3.048-3.04-.762.761 3.021 3.029-3.944-1.642-.415.995 3.969 1.664H1v1.079h4.283l-3.95 1.618.413.998 3.966-1.64-3.035 3.04.762.763 3.021-3.026-1.642 3.95.996.416 1.648-3.962V15h1.076v-4.29l1.616 3.956.996-.41-1.623-3.965 3.034 3.04.762-.764-3.021-3.026 3.944 1.646.415-.998-3.969-1.637H15v-1.08zm-4.308 0v1.079l-.409.992-.756.758-.989.39H7.462l-.989-.409-.756-.758-.41-.992v-1.06l.41-.993.756-.758.989-.407h1.076l.989.41.756.758.41.99z"
|
|
15
|
+
}));
|
|
16
|
+
|
|
17
|
+
CloudflareMagicWan.propTypes = {
|
|
18
|
+
className: PropTypes.string.isRequired,
|
|
19
|
+
label: PropTypes.string.isRequired
|
|
20
|
+
};
|
|
21
|
+
export default CloudflareMagicWan;
|
package/es/reactsvgs/index.js
CHANGED
|
@@ -18,6 +18,7 @@ import CaretUp from './CaretUp';
|
|
|
18
18
|
import Chart from './Chart';
|
|
19
19
|
import Clipboard from './Clipboard';
|
|
20
20
|
import CloudflareAccess from './CloudflareAccess';
|
|
21
|
+
import CloudflareMagicWan from './CloudflareMagicWan';
|
|
21
22
|
import CloudflareZeroTrust from './CloudflareZeroTrust';
|
|
22
23
|
import Copy from './Copy';
|
|
23
24
|
import CreditCard from './CreditCard';
|
|
@@ -123,6 +124,7 @@ export default {
|
|
|
123
124
|
chart: Chart,
|
|
124
125
|
clipboard: Clipboard,
|
|
125
126
|
'cloudflare-access': CloudflareAccess,
|
|
127
|
+
'cloudflare-magic-wan': CloudflareMagicWan,
|
|
126
128
|
'cloudflare-zero-trust': CloudflareZeroTrust,
|
|
127
129
|
copy: Copy,
|
|
128
130
|
'credit-card': CreditCard,
|
package/index.d.ts
CHANGED
package/lib/iconTypes.js
CHANGED
|
@@ -5,5 +5,5 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. USE component-icon/src/svgtoreact.sh TO MODIFY
|
|
8
|
-
var _default = ['account-analytics-logo', 'add-member', 'add', 'api-security', 'applications', 'backward', 'bolt', 'byoip', 'calendar', 'carbon', 'caret-double-left', 'caret-double-right', 'caret-down', 'caret-left', 'caret-right', 'caret-up', 'chart', 'clipboard', 'cloudflare-access', 'cloudflare-zero-trust', 'copy', 'credit-card', 'discord', 'documentation', 'download', 'drive', 'edgeworker', 'edit', 'email-forwarding', 'exclamation-sign', 'external-link', 'eye', 'facebook', 'file', 'filter', 'firewall-rules', 'flowchart', 'forward', 'gateway', 'gear', 'git-branch', 'github', 'hamburger', 'help', 'image', 'info-sign', 'internet-browser', 'key', 'leaf', 'left', 'link', 'linkedin', 'list', 'lock', 'magic-transit-logo', 'mail', 'minus', 'more', 'network-analytics-logo', 'network', 'notifications', 'ok-sign', 'ok', 'optimization-scale', 'pages-logo', 'pause', 'platform-apps', 'plus', 'printer', 'product__security-center', 'refresh', 'registrar-logo', 'reliability-dns', 'reliability-load-balancer', 'remove', 'reorder', 'resize-horizontal', 'retarget', 'revert', 'right', 'script', 'search', 'shield', 'spectrum', 'speech', 'stream', 'teams', 'time', 'twitter', 'two-way', 'upload', 'user-multi', 'user-outline', 'user', 'version', 'waiting-room', 'web-analytics-logo', 'workers-bundled', 'workers-durable-objects', 'workers-kv', 'workers-unbound', 'wrench', 'youtube', 'zaraz'];
|
|
8
|
+
var _default = ['account-analytics-logo', 'add-member', 'add', 'api-security', 'applications', 'backward', 'bolt', 'byoip', 'calendar', 'carbon', 'caret-double-left', 'caret-double-right', 'caret-down', 'caret-left', 'caret-right', 'caret-up', 'chart', 'clipboard', 'cloudflare-access', 'cloudflare-magic-wan', 'cloudflare-zero-trust', 'copy', 'credit-card', 'discord', 'documentation', 'download', 'drive', 'edgeworker', 'edit', 'email-forwarding', 'exclamation-sign', 'external-link', 'eye', 'facebook', 'file', 'filter', 'firewall-rules', 'flowchart', 'forward', 'gateway', 'gear', 'git-branch', 'github', 'hamburger', 'help', 'image', 'info-sign', 'internet-browser', 'key', 'leaf', 'left', 'link', 'linkedin', 'list', 'lock', 'magic-transit-logo', 'mail', 'minus', 'more', 'network-analytics-logo', 'network', 'notifications', 'ok-sign', 'ok', 'optimization-scale', 'pages-logo', 'pause', 'platform-apps', 'plus', 'printer', 'product__security-center', 'refresh', 'registrar-logo', 'reliability-dns', 'reliability-load-balancer', 'remove', 'reorder', 'resize-horizontal', 'retarget', 'revert', 'right', 'script', 'search', 'shield', 'spectrum', 'speech', 'stream', 'teams', 'time', 'twitter', 'two-way', 'upload', 'user-multi', 'user-outline', 'user', 'version', 'waiting-room', 'web-analytics-logo', 'workers-bundled', 'workers-durable-objects', 'workers-kv', 'workers-unbound', 'wrench', 'youtube', 'zaraz'];
|
|
9
9
|
exports.default = _default;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
|
+
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
+
|
|
14
|
+
// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. USE component-icon/src/svgtoreact.sh TO MODIFY
|
|
15
|
+
var CloudflareMagicWan = function CloudflareMagicWan(_ref) {
|
|
16
|
+
var className = _ref.className,
|
|
17
|
+
label = _ref.label;
|
|
18
|
+
return /*#__PURE__*/_react.default.createElement("svg", {
|
|
19
|
+
className: className,
|
|
20
|
+
"aria-label": label,
|
|
21
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
22
|
+
viewBox: "0 0 16 16"
|
|
23
|
+
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
24
|
+
d: "M15 7.473h-4.284l3.95-1.645-.412-.998-3.965 1.64 3.034-3.043-.762-.763L9.54 5.693l1.642-3.951-.996-.416-1.648 3.97V1H7.462v4.277L5.846 1.321l-.996.413 1.637 3.972-3.048-3.04-.762.761 3.021 3.029-3.944-1.642-.415.995 3.969 1.664H1v1.079h4.283l-3.95 1.618.413.998 3.966-1.64-3.035 3.04.762.763 3.021-3.026-1.642 3.95.996.416 1.648-3.962V15h1.076v-4.29l1.616 3.956.996-.41-1.623-3.965 3.034 3.04.762-.764-3.021-3.026 3.944 1.646.415-.998-3.969-1.637H15v-1.08zm-4.308 0v1.079l-.409.992-.756.758-.989.39H7.462l-.989-.409-.756-.758-.41-.992v-1.06l.41-.993.756-.758.989-.407h1.076l.989.41.756.758.41.99z"
|
|
25
|
+
}));
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
CloudflareMagicWan.propTypes = {
|
|
29
|
+
className: _propTypes.default.string.isRequired,
|
|
30
|
+
label: _propTypes.default.string.isRequired
|
|
31
|
+
};
|
|
32
|
+
var _default = CloudflareMagicWan;
|
|
33
|
+
exports.default = _default;
|
package/lib/reactsvgs/index.js
CHANGED
|
@@ -43,6 +43,8 @@ var _Clipboard = _interopRequireDefault(require("./Clipboard"));
|
|
|
43
43
|
|
|
44
44
|
var _CloudflareAccess = _interopRequireDefault(require("./CloudflareAccess"));
|
|
45
45
|
|
|
46
|
+
var _CloudflareMagicWan = _interopRequireDefault(require("./CloudflareMagicWan"));
|
|
47
|
+
|
|
46
48
|
var _CloudflareZeroTrust = _interopRequireDefault(require("./CloudflareZeroTrust"));
|
|
47
49
|
|
|
48
50
|
var _Copy = _interopRequireDefault(require("./Copy"));
|
|
@@ -236,6 +238,7 @@ var _default = {
|
|
|
236
238
|
chart: _Chart.default,
|
|
237
239
|
clipboard: _Clipboard.default,
|
|
238
240
|
'cloudflare-access': _CloudflareAccess.default,
|
|
241
|
+
'cloudflare-magic-wan': _CloudflareMagicWan.default,
|
|
239
242
|
'cloudflare-zero-trust': _CloudflareZeroTrust.default,
|
|
240
243
|
copy: _Copy.default,
|
|
241
244
|
'credit-card': _CreditCard.default,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudflare/component-icon",
|
|
3
3
|
"description": "Cloudflare Icon Component",
|
|
4
|
-
"version": "6.6.
|
|
4
|
+
"version": "6.6.23",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
7
7
|
"author": "James Kyle <jkyle@cloudflare.com>",
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
"access": "public"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@cloudflare/style-container": "^7.
|
|
15
|
-
"@cloudflare/types": "^6.13.
|
|
14
|
+
"@cloudflare/style-container": "^7.7.1",
|
|
15
|
+
"@cloudflare/types": "^6.13.7",
|
|
16
16
|
"prop-types": "^15.6.0"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"test-coverage": "stratus test --coverage",
|
|
34
34
|
"test-watch": "stratus test --watch"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "5ba383d6a266b5f7f108c44d542704d98ff165eb"
|
|
37
37
|
}
|