@cloudflare/component-icon 11.4.0 → 11.5.1
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 +12 -0
- package/dist/Icon.d.ts +1 -1
- package/dist/reactsvgs/Star.d.ts +3 -0
- package/dist/reactsvgs/StarOutline.d.ts +3 -0
- package/dist/reactsvgs/index.d.ts +2 -0
- package/es/reactsvgs/Star.js +17 -0
- package/es/reactsvgs/StarOutline.js +15 -0
- package/es/reactsvgs/TailWorker.js +1 -4
- package/es/reactsvgs/index.js +4 -0
- package/lib/reactsvgs/Star.js +33 -0
- package/lib/reactsvgs/StarOutline.js +31 -0
- package/lib/reactsvgs/TailWorker.js +1 -4
- package/lib/reactsvgs/index.js +6 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/Icon.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import IconComponents from './reactsvgs';
|
|
3
3
|
export declare type IconType = keyof typeof IconComponents;
|
|
4
4
|
declare const _default: React.ComponentType<{
|
|
5
|
-
type: "search" | "link" | "right" | "script" | "time" | "filter" | "image" | "download" | "list" | "version" | "key" | "left" | "revert" | "copy" | "help" | "add" | "subtract" | "dlp" | "account-analytics-logo" | "add-member" | "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-dex" | "cloudflare-magic-wan" | "cloudflare-security-application" | "cloudflare-security-network" | "cloudflare-zero-trust" | "credit-card" | "discord" | "discover" | "documentation" | "drive" | "edgeworker" | "edit" | "email-forwarding" | "exclamation-sign" | "external-link" | "eye" | "facebook" | "file" | "firewall-rules" | "flowchart" | "folder" | "forward" | "funnel" | "gateway" | "gear" | "git-branch" | "github" | "globe" | "hamburger" | "info-sign" | "internet-browser" | "leaf" | "linkedin" | "lock" | "logs" | "magic-firewall" | "magic-transit-logo" | "mail" | "minus" | "more" | "network-analytics-logo" | "network-security" | "network" | "notifications" | "ok-sign" | "ok" | "optimization-scale" | "pages-logo" | "pause" | "platform-apps" | "plus" | "printer" | "product-security-center" | "pub-sub" | "queues" | "r2" | "refresh" | "registrar-logo" | "reliability-dns" | "reliability-load-balancer" | "remove" | "reorder" | "resize-horizontal" | "retarget" | "shield" | "spectrum" | "speech" | "stream" | "tail-worker" | "teams" | "terraform" | "turnstile" | "twitter" | "two-way" | "unlock-outline" | "upload" | "user-multi" | "user-outline" | "user" | "waiting-room" | "web-analytics-logo" | "web3" | "workers-bundled" | "workers-constellation" | "workers-durable-objects" | "workers-for-platforms" | "workers-kv" | "workers-pages" | "workers-unbound" | "wrangler" | "wrench" | "youtube" | "zaraz" | "zerotrust-casb-logo";
|
|
5
|
+
type: "search" | "link" | "right" | "script" | "time" | "filter" | "image" | "download" | "list" | "version" | "key" | "left" | "revert" | "copy" | "help" | "add" | "subtract" | "dlp" | "account-analytics-logo" | "add-member" | "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-dex" | "cloudflare-magic-wan" | "cloudflare-security-application" | "cloudflare-security-network" | "cloudflare-zero-trust" | "credit-card" | "discord" | "discover" | "documentation" | "drive" | "edgeworker" | "edit" | "email-forwarding" | "exclamation-sign" | "external-link" | "eye" | "facebook" | "file" | "firewall-rules" | "flowchart" | "folder" | "forward" | "funnel" | "gateway" | "gear" | "git-branch" | "github" | "globe" | "hamburger" | "info-sign" | "internet-browser" | "leaf" | "linkedin" | "lock" | "logs" | "magic-firewall" | "magic-transit-logo" | "mail" | "minus" | "more" | "network-analytics-logo" | "network-security" | "network" | "notifications" | "ok-sign" | "ok" | "optimization-scale" | "pages-logo" | "pause" | "platform-apps" | "plus" | "printer" | "product-security-center" | "pub-sub" | "queues" | "r2" | "refresh" | "registrar-logo" | "reliability-dns" | "reliability-load-balancer" | "remove" | "reorder" | "resize-horizontal" | "retarget" | "shield" | "spectrum" | "speech" | "star-outline" | "star" | "stream" | "tail-worker" | "teams" | "terraform" | "turnstile" | "twitter" | "two-way" | "unlock-outline" | "upload" | "user-multi" | "user-outline" | "user" | "waiting-room" | "web-analytics-logo" | "web3" | "workers-bundled" | "workers-constellation" | "workers-durable-objects" | "workers-for-platforms" | "workers-kv" | "workers-pages" | "workers-unbound" | "wrangler" | "wrench" | "youtube" | "zaraz" | "zerotrust-casb-logo";
|
|
6
6
|
className?: string | undefined;
|
|
7
7
|
ariaLabel?: string | undefined;
|
|
8
8
|
label?: string | boolean | undefined;
|
|
@@ -100,6 +100,8 @@ declare const _default: {
|
|
|
100
100
|
shield: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
101
101
|
spectrum: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
102
102
|
speech: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
103
|
+
'star-outline': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
104
|
+
star: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
103
105
|
stream: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
104
106
|
subtract: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
105
107
|
'tail-worker': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
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 SvgStar = props => /*#__PURE__*/React.createElement("svg", _extends({}, props, {
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
viewBox: "0 0 16 16",
|
|
8
|
+
"aria-hidden": !props['aria-label'],
|
|
9
|
+
focusable: "false"
|
|
10
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
11
|
+
d: "m7.875 1.645 1.53 4.757h4.95l-4.005 2.94 1.53 4.756-4.005-2.94-4.005 2.94L5.4 9.342l-4.006-2.94h4.951l1.53-4.757Z"
|
|
12
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
13
|
+
fillRule: "evenodd",
|
|
14
|
+
d: "M7.875 3.279 6.71 6.902H2.92l3.066 2.25-1.168 3.63 3.057-2.244 3.057 2.244-1.168-3.63 3.065-2.25H9.04L7.875 3.28ZM5.981 5.902l1.418-4.41h.952l1.418 4.41h4.587l.295.903-3.714 2.727 1.42 4.413-.773.556-3.709-2.722-3.71 2.723-.771-.557 1.42-4.413-3.715-2.727.295-.903h4.587Z"
|
|
15
|
+
}));
|
|
16
|
+
|
|
17
|
+
export default SvgStar;
|
|
@@ -0,0 +1,15 @@
|
|
|
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 SvgStarOutline = props => /*#__PURE__*/React.createElement("svg", _extends({}, props, {
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
viewBox: "0 0 16 16",
|
|
8
|
+
"aria-hidden": !props['aria-label'],
|
|
9
|
+
focusable: "false"
|
|
10
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
11
|
+
fillRule: "evenodd",
|
|
12
|
+
d: "M7.875 3.279 6.71 6.902H2.92l3.066 2.25-1.168 3.63 3.057-2.244 3.056 2.244-1.167-3.63 3.065-2.25H9.04L7.875 3.28ZM5.98 5.902l1.418-4.41h.952l1.418 4.41h4.586l.296.903-3.714 2.727 1.42 4.413-.773.556-3.71-2.722-3.708 2.723-.772-.557 1.42-4.413-3.715-2.727.295-.903H5.98Z"
|
|
13
|
+
}));
|
|
14
|
+
|
|
15
|
+
export default SvgStarOutline;
|
|
@@ -12,10 +12,7 @@ var SvgTailWorker = props => /*#__PURE__*/React.createElement("svg", _extends({}
|
|
|
12
12
|
}), /*#__PURE__*/React.createElement("path", {
|
|
13
13
|
d: "M7.337 2h-1.23l4.439 6.1L6.21 14h1.238l4.333-5.898L7.337 2Z"
|
|
14
14
|
}), /*#__PURE__*/React.createElement("path", {
|
|
15
|
-
d: "M9.717 2H8.471l4.51 6.027L8.47 14h1.25L14 8.33v-.603L9.717
|
|
16
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
17
|
-
stroke: "#000",
|
|
18
|
-
d: "M5.5 8.51v1.256m1.255-2.511v2.511M8.01 6v3.766"
|
|
15
|
+
d: "M9.717 2H8.471l4.51 6.027L8.47 14h1.25L14 8.33v-.603L9.717 2ZM7.4 6h1v3.5h-1zM6.2 7h1v2.5h-1zM5 8h1v1.5H5z"
|
|
19
16
|
}));
|
|
20
17
|
|
|
21
18
|
export default SvgTailWorker;
|
package/es/reactsvgs/index.js
CHANGED
|
@@ -98,6 +98,8 @@ import Search from './Search';
|
|
|
98
98
|
import Shield from './Shield';
|
|
99
99
|
import Spectrum from './Spectrum';
|
|
100
100
|
import Speech from './Speech';
|
|
101
|
+
import StarOutline from './StarOutline';
|
|
102
|
+
import Star from './Star';
|
|
101
103
|
import Stream from './Stream';
|
|
102
104
|
import Subtract from './Subtract';
|
|
103
105
|
import TailWorker from './TailWorker';
|
|
@@ -229,6 +231,8 @@ export default {
|
|
|
229
231
|
shield: Shield,
|
|
230
232
|
spectrum: Spectrum,
|
|
231
233
|
speech: Speech,
|
|
234
|
+
'star-outline': StarOutline,
|
|
235
|
+
star: Star,
|
|
232
236
|
stream: Stream,
|
|
233
237
|
subtract: Subtract,
|
|
234
238
|
'tail-worker': TailWorker,
|
|
@@ -0,0 +1,33 @@
|
|
|
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 SvgStar = function SvgStar(props) {
|
|
19
|
+
return /*#__PURE__*/React.createElement("svg", _extends({}, props, {
|
|
20
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
21
|
+
viewBox: "0 0 16 16",
|
|
22
|
+
"aria-hidden": !props['aria-label'],
|
|
23
|
+
focusable: "false"
|
|
24
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
25
|
+
d: "m7.875 1.645 1.53 4.757h4.95l-4.005 2.94 1.53 4.756-4.005-2.94-4.005 2.94L5.4 9.342l-4.006-2.94h4.951l1.53-4.757Z"
|
|
26
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
27
|
+
fillRule: "evenodd",
|
|
28
|
+
d: "M7.875 3.279 6.71 6.902H2.92l3.066 2.25-1.168 3.63 3.057-2.244 3.057 2.244-1.168-3.63 3.065-2.25H9.04L7.875 3.28ZM5.981 5.902l1.418-4.41h.952l1.418 4.41h4.587l.295.903-3.714 2.727 1.42 4.413-.773.556-3.709-2.722-3.71 2.723-.771-.557 1.42-4.413-3.715-2.727.295-.903h4.587Z"
|
|
29
|
+
}));
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
var _default = SvgStar;
|
|
33
|
+
exports.default = _default;
|
|
@@ -0,0 +1,31 @@
|
|
|
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 SvgStarOutline = function SvgStarOutline(props) {
|
|
19
|
+
return /*#__PURE__*/React.createElement("svg", _extends({}, props, {
|
|
20
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
21
|
+
viewBox: "0 0 16 16",
|
|
22
|
+
"aria-hidden": !props['aria-label'],
|
|
23
|
+
focusable: "false"
|
|
24
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
25
|
+
fillRule: "evenodd",
|
|
26
|
+
d: "M7.875 3.279 6.71 6.902H2.92l3.066 2.25-1.168 3.63 3.057-2.244 3.056 2.244-1.167-3.63 3.065-2.25H9.04L7.875 3.28ZM5.98 5.902l1.418-4.41h.952l1.418 4.41h4.586l.296.903-3.714 2.727 1.42 4.413-.773.556-3.71-2.722-3.708 2.723-.772-.557 1.42-4.413-3.715-2.727.295-.903H5.98Z"
|
|
27
|
+
}));
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
var _default = SvgStarOutline;
|
|
31
|
+
exports.default = _default;
|
|
@@ -26,10 +26,7 @@ var SvgTailWorker = function SvgTailWorker(props) {
|
|
|
26
26
|
}), /*#__PURE__*/React.createElement("path", {
|
|
27
27
|
d: "M7.337 2h-1.23l4.439 6.1L6.21 14h1.238l4.333-5.898L7.337 2Z"
|
|
28
28
|
}), /*#__PURE__*/React.createElement("path", {
|
|
29
|
-
d: "M9.717 2H8.471l4.51 6.027L8.47 14h1.25L14 8.33v-.603L9.717
|
|
30
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
31
|
-
stroke: "#000",
|
|
32
|
-
d: "M5.5 8.51v1.256m1.255-2.511v2.511M8.01 6v3.766"
|
|
29
|
+
d: "M9.717 2H8.471l4.51 6.027L8.47 14h1.25L14 8.33v-.603L9.717 2ZM7.4 6h1v3.5h-1zM6.2 7h1v2.5h-1zM5 8h1v1.5H5z"
|
|
33
30
|
}));
|
|
34
31
|
};
|
|
35
32
|
|
package/lib/reactsvgs/index.js
CHANGED
|
@@ -205,6 +205,10 @@ var _Spectrum = _interopRequireDefault(require("./Spectrum"));
|
|
|
205
205
|
|
|
206
206
|
var _Speech = _interopRequireDefault(require("./Speech"));
|
|
207
207
|
|
|
208
|
+
var _StarOutline = _interopRequireDefault(require("./StarOutline"));
|
|
209
|
+
|
|
210
|
+
var _Star = _interopRequireDefault(require("./Star"));
|
|
211
|
+
|
|
208
212
|
var _Stream = _interopRequireDefault(require("./Stream"));
|
|
209
213
|
|
|
210
214
|
var _Subtract = _interopRequireDefault(require("./Subtract"));
|
|
@@ -368,6 +372,8 @@ var _default = {
|
|
|
368
372
|
shield: _Shield.default,
|
|
369
373
|
spectrum: _Spectrum.default,
|
|
370
374
|
speech: _Speech.default,
|
|
375
|
+
'star-outline': _StarOutline.default,
|
|
376
|
+
star: _Star.default,
|
|
371
377
|
stream: _Stream.default,
|
|
372
378
|
subtract: _Subtract.default,
|
|
373
379
|
'tail-worker': _TailWorker.default,
|
package/package.json
CHANGED