@cloudflare/component-icon 9.2.0 → 9.3.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 +6 -0
- package/dist/IconType.d.ts +1 -1
- package/es/iconTypes.js +1 -1
- package/es/reactsvgs/Turnstile.js +19 -0
- package/es/reactsvgs/index.js +2 -0
- package/lib/iconTypes.js +1 -1
- package/lib/reactsvgs/Turnstile.js +35 -0
- package/lib/reactsvgs/index.js +3 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/IconType.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare type IconType = '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' | 'folder' | 'forward' | 'gateway' | 'gear' | 'git-branch' | 'github' | 'globe' | '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' | 'pub-sub' | 'r2' | 'refresh' | 'registrar-logo' | 'reliability-dns' | 'reliability-load-balancer' | 'remove' | 'reorder' | 'resize-horizontal' | 'retarget' | 'revert' | 'right' | 'script' | 'search' | 'shield' | 'spectrum' | 'speech' | 'stream' | 'subtract' | 'teams' | 'time' | 'twitter' | 'two-way' | 'unlock-outline' | 'upload' | 'user-multi' | 'user-outline' | 'user' | 'version' | 'waiting-room' | 'web-analytics-logo' | 'web3' | 'workers-bundled' | 'workers-durable-objects' | 'workers-for-platforms' | 'workers-kv' | 'workers-unbound' | 'wrangler' | 'wrench' | 'youtube' | 'zaraz' | 'zerotrust-casb-logo';
|
|
1
|
+
export declare type IconType = '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' | 'folder' | 'forward' | 'gateway' | 'gear' | 'git-branch' | 'github' | 'globe' | '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' | 'pub-sub' | 'r2' | 'refresh' | 'registrar-logo' | 'reliability-dns' | 'reliability-load-balancer' | 'remove' | 'reorder' | 'resize-horizontal' | 'retarget' | 'revert' | 'right' | 'script' | 'search' | 'shield' | 'spectrum' | 'speech' | 'stream' | 'subtract' | 'teams' | 'time' | 'twitter' | 'two-way' | 'turnstile' | 'unlock-outline' | 'upload' | 'user-multi' | 'user-outline' | 'user' | 'version' | 'waiting-room' | 'web-analytics-logo' | 'web3' | 'workers-bundled' | 'workers-durable-objects' | 'workers-for-platforms' | 'workers-kv' | 'workers-unbound' | 'wrangler' | 'wrench' | 'youtube' | 'zaraz' | 'zerotrust-casb-logo';
|
package/es/iconTypes.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
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', 'folder', 'forward', 'gateway', 'gear', 'git-branch', 'github', 'globe', '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', 'pub-sub', 'r2', 'refresh', 'registrar-logo', 'reliability-dns', 'reliability-load-balancer', 'remove', 'reorder', 'resize-horizontal', 'retarget', 'revert', 'right', 'script', 'search', 'shield', 'spectrum', 'speech', 'stream', 'subtract', 'teams', 'time', 'twitter', 'two-way', 'unlock-outline', 'upload', 'user-multi', 'user-outline', 'user', 'version', 'waiting-room', 'web-analytics-logo', 'web3', 'workers-bundled', 'workers-durable-objects', 'workers-for-platforms', 'workers-kv', 'workers-unbound', 'wrangler', 'wrench', 'youtube', 'zaraz', 'zerotrust-casb-logo'];
|
|
1
|
+
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', 'folder', 'forward', 'gateway', 'gear', 'git-branch', 'github', 'globe', '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', 'pub-sub', 'r2', 'refresh', 'registrar-logo', 'reliability-dns', 'reliability-load-balancer', 'remove', 'reorder', 'resize-horizontal', 'retarget', 'revert', 'right', 'script', 'search', 'shield', 'spectrum', 'speech', 'stream', 'subtract', 'teams', 'time', 'twitter', 'two-way', 'turnstile', 'unlock-outline', 'upload', 'user-multi', 'user-outline', 'user', 'version', 'waiting-room', 'web-analytics-logo', 'web3', 'workers-bundled', 'workers-durable-objects', 'workers-for-platforms', 'workers-kv', 'workers-unbound', 'wrangler', 'wrench', 'youtube', 'zaraz', 'zerotrust-casb-logo'];
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
|
|
5
|
+
var SvgTurnstile = props => /*#__PURE__*/React.createElement("svg", _extends({}, props, {
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
viewBox: "0 0 20 20",
|
|
8
|
+
"aria-hidden": !props['aria-label'],
|
|
9
|
+
focusable: "false",
|
|
10
|
+
fill: "none"
|
|
11
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
12
|
+
d: "M10.2185 2.7165C8.35973 2.66085 6.55016 3.31899 5.16142 4.55577L5.62185 2.03315L4.42699 1.81539L3.61834 6.24341L8.04789 7.0518L8.26565 5.85695L5.99106 5.44186C7.08068 4.4863 8.47711 3.95362 9.92632 3.94072C11.3755 3.92783 12.7812 4.43557 13.8877 5.37159C14.9941 6.3076 15.7278 7.6097 15.9553 9.041C16.1828 10.4723 15.8889 11.9377 15.1272 13.1706C14.3654 14.4036 13.1864 15.3221 11.8046 15.7591C10.4228 16.1962 8.93003 16.1227 7.59784 15.552C6.26566 14.9813 5.18258 13.9514 4.54564 12.6496C3.9087 11.3478 3.76022 9.86062 4.12721 8.45859L2.95175 8.15029C2.56804 9.61236 2.64852 11.1576 3.18204 12.5719C3.71556 13.9862 4.67571 15.1996 5.92948 16.0439C7.18325 16.8883 8.66857 17.3218 10.1797 17.2845C11.6908 17.2472 13.1529 16.7409 14.3635 15.8357C15.5741 14.9305 16.4732 13.6712 16.9363 12.2323C17.3993 10.7934 17.4034 9.24606 16.9481 7.80471C16.4927 6.36335 15.6003 5.09929 14.3946 4.18764C13.1888 3.27599 11.7294 2.76187 10.2185 2.7165Z"
|
|
13
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
14
|
+
d: "M6.73389 10.4749L8.97852 12.7196L13.8419 7.8562",
|
|
15
|
+
stroke: "currentColor",
|
|
16
|
+
fill: "none"
|
|
17
|
+
}));
|
|
18
|
+
|
|
19
|
+
export default SvgTurnstile;
|
package/es/reactsvgs/index.js
CHANGED
|
@@ -94,6 +94,7 @@ import Teams from './Teams';
|
|
|
94
94
|
import Time from './Time';
|
|
95
95
|
import Twitter from './Twitter';
|
|
96
96
|
import TwoWay from './TwoWay';
|
|
97
|
+
import Turnstile from './Turnstile';
|
|
97
98
|
import UnlockOutline from './UnlockOutline';
|
|
98
99
|
import Upload from './Upload';
|
|
99
100
|
import UserMulti from './UserMulti';
|
|
@@ -210,6 +211,7 @@ export default {
|
|
|
210
211
|
time: Time,
|
|
211
212
|
twitter: Twitter,
|
|
212
213
|
'two-way': TwoWay,
|
|
214
|
+
turnstile: Turnstile,
|
|
213
215
|
'unlock-outline': UnlockOutline,
|
|
214
216
|
upload: Upload,
|
|
215
217
|
'user-multi': UserMulti,
|
package/lib/iconTypes.js
CHANGED
|
@@ -4,5 +4,5 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
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', 'folder', 'forward', 'gateway', 'gear', 'git-branch', 'github', 'globe', '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', 'pub-sub', 'r2', 'refresh', 'registrar-logo', 'reliability-dns', 'reliability-load-balancer', 'remove', 'reorder', 'resize-horizontal', 'retarget', 'revert', 'right', 'script', 'search', 'shield', 'spectrum', 'speech', 'stream', 'subtract', 'teams', 'time', 'twitter', 'two-way', 'unlock-outline', 'upload', 'user-multi', 'user-outline', 'user', 'version', 'waiting-room', 'web-analytics-logo', 'web3', 'workers-bundled', 'workers-durable-objects', 'workers-for-platforms', 'workers-kv', 'workers-unbound', 'wrangler', 'wrench', 'youtube', 'zaraz', 'zerotrust-casb-logo'];
|
|
7
|
+
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', 'folder', 'forward', 'gateway', 'gear', 'git-branch', 'github', 'globe', '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', 'pub-sub', 'r2', 'refresh', 'registrar-logo', 'reliability-dns', 'reliability-load-balancer', 'remove', 'reorder', 'resize-horizontal', 'retarget', 'revert', 'right', 'script', 'search', 'shield', 'spectrum', 'speech', 'stream', 'subtract', 'teams', 'time', 'twitter', 'two-way', 'turnstile', 'unlock-outline', 'upload', 'user-multi', 'user-outline', 'user', 'version', 'waiting-room', 'web-analytics-logo', 'web3', 'workers-bundled', 'workers-durable-objects', 'workers-for-platforms', 'workers-kv', 'workers-unbound', 'wrangler', 'wrench', 'youtube', 'zaraz', 'zerotrust-casb-logo'];
|
|
8
8
|
exports.default = _default;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.default = void 0;
|
|
9
|
+
|
|
10
|
+
var React = _interopRequireWildcard(require("react"));
|
|
11
|
+
|
|
12
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
13
|
+
|
|
14
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
15
|
+
|
|
16
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
17
|
+
|
|
18
|
+
var SvgTurnstile = function SvgTurnstile(props) {
|
|
19
|
+
return /*#__PURE__*/React.createElement("svg", _extends({}, props, {
|
|
20
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
21
|
+
viewBox: "0 0 20 20",
|
|
22
|
+
"aria-hidden": !props['aria-label'],
|
|
23
|
+
focusable: "false",
|
|
24
|
+
fill: "none"
|
|
25
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
26
|
+
d: "M10.2185 2.7165C8.35973 2.66085 6.55016 3.31899 5.16142 4.55577L5.62185 2.03315L4.42699 1.81539L3.61834 6.24341L8.04789 7.0518L8.26565 5.85695L5.99106 5.44186C7.08068 4.4863 8.47711 3.95362 9.92632 3.94072C11.3755 3.92783 12.7812 4.43557 13.8877 5.37159C14.9941 6.3076 15.7278 7.6097 15.9553 9.041C16.1828 10.4723 15.8889 11.9377 15.1272 13.1706C14.3654 14.4036 13.1864 15.3221 11.8046 15.7591C10.4228 16.1962 8.93003 16.1227 7.59784 15.552C6.26566 14.9813 5.18258 13.9514 4.54564 12.6496C3.9087 11.3478 3.76022 9.86062 4.12721 8.45859L2.95175 8.15029C2.56804 9.61236 2.64852 11.1576 3.18204 12.5719C3.71556 13.9862 4.67571 15.1996 5.92948 16.0439C7.18325 16.8883 8.66857 17.3218 10.1797 17.2845C11.6908 17.2472 13.1529 16.7409 14.3635 15.8357C15.5741 14.9305 16.4732 13.6712 16.9363 12.2323C17.3993 10.7934 17.4034 9.24606 16.9481 7.80471C16.4927 6.36335 15.6003 5.09929 14.3946 4.18764C13.1888 3.27599 11.7294 2.76187 10.2185 2.7165Z"
|
|
27
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
28
|
+
d: "M6.73389 10.4749L8.97852 12.7196L13.8419 7.8562",
|
|
29
|
+
stroke: "currentColor",
|
|
30
|
+
fill: "none"
|
|
31
|
+
}));
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
var _default = SvgTurnstile;
|
|
35
|
+
exports.default = _default;
|
package/lib/reactsvgs/index.js
CHANGED
|
@@ -197,6 +197,8 @@ var _Twitter = _interopRequireDefault(require("./Twitter"));
|
|
|
197
197
|
|
|
198
198
|
var _TwoWay = _interopRequireDefault(require("./TwoWay"));
|
|
199
199
|
|
|
200
|
+
var _Turnstile = _interopRequireDefault(require("./Turnstile"));
|
|
201
|
+
|
|
200
202
|
var _UnlockOutline = _interopRequireDefault(require("./UnlockOutline"));
|
|
201
203
|
|
|
202
204
|
var _Upload = _interopRequireDefault(require("./Upload"));
|
|
@@ -334,6 +336,7 @@ var _default = {
|
|
|
334
336
|
time: _Time.default,
|
|
335
337
|
twitter: _Twitter.default,
|
|
336
338
|
'two-way': _TwoWay.default,
|
|
339
|
+
turnstile: _Turnstile.default,
|
|
337
340
|
'unlock-outline': _UnlockOutline.default,
|
|
338
341
|
upload: _Upload.default,
|
|
339
342
|
'user-multi': _UserMulti.default,
|
package/package.json
CHANGED