@cloudflare/component-icon 11.0.0 → 11.1.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # Change Log
2
2
 
3
+ ## 11.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 2912e1c24b: Added discover and network-security Icon types
8
+
3
9
  ## 11.0.0
4
10
 
5
11
  ### Major Changes
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" | "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-magic-wan" | "cloudflare-security-application" | "cloudflare-security-network" | "cloudflare-zero-trust" | "credit-card" | "discord" | "documentation" | "drive" | "edgeworker" | "edit" | "email-forwarding" | "exclamation-sign" | "external-link" | "eye" | "facebook" | "file" | "firewall-rules" | "flowchart" | "folder" | "forward" | "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" | "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" | "teams" | "terraform" | "twitter" | "two-way" | "unlock-outline" | "upload" | "user-multi" | "user-outline" | "user" | "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";
5
+ type: "search" | "link" | "right" | "script" | "time" | "filter" | "image" | "download" | "list" | "version" | "key" | "left" | "revert" | "copy" | "help" | "add" | "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-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" | "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" | "network-security" | "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" | "teams" | "terraform" | "twitter" | "two-way" | "unlock-outline" | "upload" | "user-multi" | "user-outline" | "user" | "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";
6
6
  className?: string | undefined;
7
7
  ariaLabel?: string | undefined;
8
8
  testId?: string | undefined;
@@ -0,0 +1,3 @@
1
+ import { SVGProps } from 'react';
2
+ declare const SvgDiscover: (props: SVGProps<SVGSVGElement>) => JSX.Element;
3
+ export default SvgDiscover;
@@ -0,0 +1,3 @@
1
+ import { SVGProps } from 'react';
2
+ declare const SvgNetworkSecurity: (props: SVGProps<SVGSVGElement>) => JSX.Element;
3
+ export default SvgNetworkSecurity;
@@ -27,6 +27,7 @@ declare const _default: {
27
27
  copy: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
28
28
  'credit-card': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
29
29
  discord: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
30
+ discover: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
30
31
  documentation: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
31
32
  download: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
32
33
  drive: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
@@ -68,6 +69,7 @@ declare const _default: {
68
69
  more: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
69
70
  'network-analytics-logo': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
70
71
  network: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
72
+ 'network-security': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
71
73
  notifications: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
72
74
  'ok-sign': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
73
75
  ok: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
@@ -0,0 +1,16 @@
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 SvgDiscover = 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: "M10.005 15.005h-4.01v.982h4.01v-.982ZM8.47 0h-.982v2.12h.981V0Zm4.491 2.026-1.498 1.499.694.694 1.498-1.499-.694-.694ZM15.528 7.2H13.41v.981h2.12V7.2ZM2.59 7.243H.473v.981H2.59v-.981Zm.418-5.186-.693.694 1.498 1.498.694-.694-1.499-1.498Z"
12
+ }), /*#__PURE__*/React.createElement("path", {
13
+ d: "M8 3.055a4.657 4.657 0 0 0-2.49 8.593v1.847l.49.493h4l.49-.493v-1.847A4.657 4.657 0 0 0 8 3.055Zm1.765 7.883-.255.14v1.927H6.49v-1.928l-.255-.14a3.677 3.677 0 1 1 3.53 0Z"
14
+ }));
15
+
16
+ export default SvgDiscover;
@@ -0,0 +1,16 @@
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 SvgNetworkSecurity = 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: "M8.373 1.11h-.745l-.287.32a6.896 6.896 0 0 1-3.853 1.911l-.343.05-.428.495v3.535c0 2.463 1.191 4.292 2.376 5.498 1.18 1.204 2.386 1.822 2.506 1.882l.178.09h.447l.179-.09c.12-.06 1.324-.677 2.506-1.882 1.184-1.206 2.375-3.035 2.375-5.498V3.887l-.428-.495-.342-.05A6.896 6.896 0 0 1 8.66 1.431l-.288-.322ZM3.718 4.317A7.896 7.896 0 0 0 8 2.184a7.897 7.897 0 0 0 4.283 2.135v3.102c0 2.116-1.017 3.706-2.089 4.798A9.441 9.441 0 0 1 8 13.884a9.441 9.441 0 0 1-2.195-1.665c-1.071-1.091-2.089-2.682-2.089-4.798V4.318Zm6.797 4.058a2.598 2.598 0 0 1-1.47 1.884c.226-.499.38-1.153.428-1.884h1.042Zm.029-.75a2.596 2.596 0 0 0-1.5-2.084c.247.544.409 1.273.439 2.084h1.06Zm-1.812 0c-.03-.724-.175-1.345-.373-1.778-.195-.429-.356-.518-.395-.536-.038.018-.2.107-.395.536-.197.433-.343 1.054-.373 1.778h1.536Zm-1.524.75c.046.638.183 1.186.361 1.578.196.429.357.518.395.536.039-.018.2-.107.395-.536.18-.392.316-.94.362-1.578H7.208Zm-.752 0c.047.73.202 1.385.428 1.884a2.598 2.598 0 0 1-1.47-1.884h1.042Zm-.01-.75c.03-.811.192-1.54.438-2.084a2.596 2.596 0 0 0-1.499 2.084h1.06Zm4.862.275a3.344 3.344 0 1 1-6.687 0 3.344 3.344 0 0 1 6.687 0Z",
13
+ clipRule: "evenodd"
14
+ }));
15
+
16
+ export default SvgNetworkSecurity;
@@ -119,6 +119,8 @@ import Wrench from './Wrench';
119
119
  import Youtube from './Youtube';
120
120
  import Zaraz from './Zaraz';
121
121
  import ZerotrustCasbLogo from './ZerotrustCasbLogo';
122
+ import Discover from './Discover';
123
+ import NetworkSecurity from './NetworkSecurity';
122
124
  export default {
123
125
  dlp: Dlp,
124
126
  'account-analytics-logo': AccountAnalyticsLogo,
@@ -147,6 +149,7 @@ export default {
147
149
  copy: Copy,
148
150
  'credit-card': CreditCard,
149
151
  discord: Discord,
152
+ discover: Discover,
150
153
  documentation: Documentation,
151
154
  download: Download,
152
155
  drive: Drive,
@@ -188,6 +191,7 @@ export default {
188
191
  more: More,
189
192
  'network-analytics-logo': NetworkAnalyticsLogo,
190
193
  network: Network,
194
+ 'network-security': NetworkSecurity,
191
195
  notifications: Notifications,
192
196
  'ok-sign': OkSign,
193
197
  ok: Ok,
@@ -0,0 +1,32 @@
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 SvgDiscover = function SvgDiscover(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: "M10.005 15.005h-4.01v.982h4.01v-.982ZM8.47 0h-.982v2.12h.981V0Zm4.491 2.026-1.498 1.499.694.694 1.498-1.499-.694-.694ZM15.528 7.2H13.41v.981h2.12V7.2ZM2.59 7.243H.473v.981H2.59v-.981Zm.418-5.186-.693.694 1.498 1.498.694-.694-1.499-1.498Z"
26
+ }), /*#__PURE__*/React.createElement("path", {
27
+ d: "M8 3.055a4.657 4.657 0 0 0-2.49 8.593v1.847l.49.493h4l.49-.493v-1.847A4.657 4.657 0 0 0 8 3.055Zm1.765 7.883-.255.14v1.927H6.49v-1.928l-.255-.14a3.677 3.677 0 1 1 3.53 0Z"
28
+ }));
29
+ };
30
+
31
+ var _default = SvgDiscover;
32
+ exports.default = _default;
@@ -0,0 +1,32 @@
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 SvgNetworkSecurity = function SvgNetworkSecurity(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: "M8.373 1.11h-.745l-.287.32a6.896 6.896 0 0 1-3.853 1.911l-.343.05-.428.495v3.535c0 2.463 1.191 4.292 2.376 5.498 1.18 1.204 2.386 1.822 2.506 1.882l.178.09h.447l.179-.09c.12-.06 1.324-.677 2.506-1.882 1.184-1.206 2.375-3.035 2.375-5.498V3.887l-.428-.495-.342-.05A6.896 6.896 0 0 1 8.66 1.431l-.288-.322ZM3.718 4.317A7.896 7.896 0 0 0 8 2.184a7.897 7.897 0 0 0 4.283 2.135v3.102c0 2.116-1.017 3.706-2.089 4.798A9.441 9.441 0 0 1 8 13.884a9.441 9.441 0 0 1-2.195-1.665c-1.071-1.091-2.089-2.682-2.089-4.798V4.318Zm6.797 4.058a2.598 2.598 0 0 1-1.47 1.884c.226-.499.38-1.153.428-1.884h1.042Zm.029-.75a2.596 2.596 0 0 0-1.5-2.084c.247.544.409 1.273.439 2.084h1.06Zm-1.812 0c-.03-.724-.175-1.345-.373-1.778-.195-.429-.356-.518-.395-.536-.038.018-.2.107-.395.536-.197.433-.343 1.054-.373 1.778h1.536Zm-1.524.75c.046.638.183 1.186.361 1.578.196.429.357.518.395.536.039-.018.2-.107.395-.536.18-.392.316-.94.362-1.578H7.208Zm-.752 0c.047.73.202 1.385.428 1.884a2.598 2.598 0 0 1-1.47-1.884h1.042Zm-.01-.75c.03-.811.192-1.54.438-2.084a2.596 2.596 0 0 0-1.499 2.084h1.06Zm4.862.275a3.344 3.344 0 1 1-6.687 0 3.344 3.344 0 0 1 6.687 0Z",
27
+ clipRule: "evenodd"
28
+ }));
29
+ };
30
+
31
+ var _default = SvgNetworkSecurity;
32
+ exports.default = _default;
@@ -247,6 +247,10 @@ var _Zaraz = _interopRequireDefault(require("./Zaraz"));
247
247
 
248
248
  var _ZerotrustCasbLogo = _interopRequireDefault(require("./ZerotrustCasbLogo"));
249
249
 
250
+ var _Discover = _interopRequireDefault(require("./Discover"));
251
+
252
+ var _NetworkSecurity = _interopRequireDefault(require("./NetworkSecurity"));
253
+
250
254
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
251
255
 
252
256
  var _default = {
@@ -277,6 +281,7 @@ var _default = {
277
281
  copy: _Copy.default,
278
282
  'credit-card': _CreditCard.default,
279
283
  discord: _Discord.default,
284
+ discover: _Discover.default,
280
285
  documentation: _Documentation.default,
281
286
  download: _Download.default,
282
287
  drive: _Drive.default,
@@ -318,6 +323,7 @@ var _default = {
318
323
  more: _More.default,
319
324
  'network-analytics-logo': _NetworkAnalyticsLogo.default,
320
325
  network: _Network.default,
326
+ 'network-security': _NetworkSecurity.default,
321
327
  notifications: _Notifications.default,
322
328
  'ok-sign': _OkSign.default,
323
329
  ok: _Ok.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": "11.0.0",
4
+ "version": "11.1.0",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
7
7
  "author": "Frontend Team <frontend@cloudflare.com>",