@cloudflare/component-icon 12.21.0 → 12.21.2
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/README.md +1 -1
- package/dist/Icon.d.ts +1 -1
- package/dist/Icon.stories.d.ts +1 -1
- package/dist/reactsvgs/index.d.ts +4 -0
- package/es/reactsvgs/index.js +8 -0
- package/lib/reactsvgs/index.js +12 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 12.21.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 09aaf5e7fb: Updates component-icon documentation
|
|
8
|
+
|
|
9
|
+
## 12.21.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 50387b3d0d: Fix caret-stroke icons not recognized in component-icon
|
|
14
|
+
|
|
3
15
|
## 12.21.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -128,7 +128,7 @@ export default IconComponent;
|
|
|
128
128
|
If you would like to add new icons to the component library/design system please follow the procedures below to help ensure the icons remain consistent.
|
|
129
129
|
|
|
130
130
|
### Repo: product-design
|
|
131
|
-
Follow the link to the `product-design` repository where you will find the original SVG's. Follow the [Icon Guidelines](https://wiki.cfops.it/x/QLcvCQ) for details on how to create, export, and add new icons to [product-design](https://
|
|
131
|
+
Follow the link to the `product-design` repository where you will find the original SVG's. Follow the [Icon Guidelines](https://wiki.cfops.it/x/QLcvCQ) for details on how to create, export, and add new icons to [product-design](https://gitlab.cfdata.org/cloudflare/design/product-design) and stratus repositories.
|
|
132
132
|
|
|
133
133
|
### Repo: component-library
|
|
134
134
|
Once your icon is added to the `product-design` repo under the `/icons/icons-exports/` folder and all instructions are followed it is ready to be converted to our React format in this `component-library` repo.
|
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" | "code" | "script" | "time" | "filter" | "image" | "right" | "none" | "download" | "list" | "version" | "key" | "left" | "revert" | "copy" | "help" | "add" | "subtract" | "warning" | "pause" | "dlp" | "timer" | "account-analytics-logo" | "add-member" | "ai-audit" | "analytics-data" | "api-security" | "api" | "applications" | "arrow-down" | "arrow-external-link" | "backward" | "bolt" | "byoip" | "calendar" | "calls" | "carbon" | "caret-double-left" | "caret-double-right" | "caret-down" | "caret-left" | "caret-right" | "caret-up" | "case-study" | "certificate" | "chart" | "clipboard" | "cloud-internet-solid" | "cloud-internet" | "cloud-multi" | "cloudflare-access" | "cloudflare-dex" | "cloudflare-email-security" | "cloudflare-magic-wan" | "cloudflare-security-application" | "cloudflare-security-network" | "cloudflare-zero-trust" | "code-edit" | "connector" | "credit-card" | "d1" | "ddos-attack" | "device-desktop" | "device-laptop" | "device-mobile" | "device-tablet" | "discord" | "discover" | "documentation" | "drive" | "edge-log-delivery" | "edgeworker" | "edit" | "email-forwarding" | "exclamation-sign" | "expand" | "external-link" | "eye" | "facebook" | "file" | "firewall-rules" | "flowchart" | "folder" | "forward" | "funnel" | "garbage" | "gateway" | "gear" | "git-branch" | "github" | "globe" | "hamburger" | "hide-eye" | "home" | "hyperdrive" | "inbox" | "info-sign" | "internet-browser" | "leaf" | "linkedin" | "lock" | "logs" | "magic-firewall" | "magic-transit-logo" | "mail" | "minus" | "more" | "network-analytics-logo" | "network-security" | "network" | "no-edit" | "notifications" | "office-branch" | "ok-sign" | "ok" | "optimization-scale" | "pages-logo" | "platform-apps" | "plus" | "printer" | "processing" | "product-security-center" | "pub-sub" | "pull-request" | "queues" | "r2" | "refresh" | "registrar-logo" | "reliability-dns" | "reliability-load-balancer" | "remove" | "reorder" | "resize-horizontal" | "retarget" | "router" | "security-bots" | "security-waf" | "server-origin" | "shield" | "spectrum" | "speech" | "star-outline" | "star" | "stream" | "tail-worker" | "teams" | "terraform" | "thumbs-down-outline" | "thumbs-down-solid" | "thumbs-up-outline" | "thumbs-up-solid" | "trace" | "traffic-attack-browser" | "turnstile" | "twitter" | "two-way" | "unlock-outline" | "upload" | "user-multi" | "user-outline" | "user" | "vectorize" | "waiting-room" | "warp" | "web-analytics-logo" | "web3" | "workers-bundled" | "workers-constellation" | "workers-durable-objects" | "workers-for-platforms" | "workers-kv" | "workers-pages" | "workers-unbound" | "wrangler" | "wrench" | "youtube" | "zaraz" | "zero-trust-risk-scoring" | "zerotrust-casb-logo" | "zerotrust-networks-logo";
|
|
5
|
+
type: "search" | "link" | "code" | "script" | "time" | "filter" | "image" | "right" | "none" | "download" | "list" | "version" | "key" | "left" | "revert" | "copy" | "help" | "add" | "subtract" | "warning" | "pause" | "dlp" | "timer" | "account-analytics-logo" | "add-member" | "ai-audit" | "analytics-data" | "api-security" | "api" | "applications" | "arrow-down" | "arrow-external-link" | "backward" | "bolt" | "byoip" | "calendar" | "calls" | "carbon" | "caret-double-left" | "caret-double-right" | "caret-down" | "caret-down-stroke" | "caret-left" | "caret-left-stroke" | "caret-right" | "caret-right-stroke" | "caret-up" | "caret-up-stroke" | "case-study" | "certificate" | "chart" | "clipboard" | "cloud-internet-solid" | "cloud-internet" | "cloud-multi" | "cloudflare-access" | "cloudflare-dex" | "cloudflare-email-security" | "cloudflare-magic-wan" | "cloudflare-security-application" | "cloudflare-security-network" | "cloudflare-zero-trust" | "code-edit" | "connector" | "credit-card" | "d1" | "ddos-attack" | "device-desktop" | "device-laptop" | "device-mobile" | "device-tablet" | "discord" | "discover" | "documentation" | "drive" | "edge-log-delivery" | "edgeworker" | "edit" | "email-forwarding" | "exclamation-sign" | "expand" | "external-link" | "eye" | "facebook" | "file" | "firewall-rules" | "flowchart" | "folder" | "forward" | "funnel" | "garbage" | "gateway" | "gear" | "git-branch" | "github" | "globe" | "hamburger" | "hide-eye" | "home" | "hyperdrive" | "inbox" | "info-sign" | "internet-browser" | "leaf" | "linkedin" | "lock" | "logs" | "magic-firewall" | "magic-transit-logo" | "mail" | "minus" | "more" | "network-analytics-logo" | "network-security" | "network" | "no-edit" | "notifications" | "office-branch" | "ok-sign" | "ok" | "optimization-scale" | "pages-logo" | "platform-apps" | "plus" | "printer" | "processing" | "product-security-center" | "pub-sub" | "pull-request" | "queues" | "r2" | "refresh" | "registrar-logo" | "reliability-dns" | "reliability-load-balancer" | "remove" | "reorder" | "resize-horizontal" | "retarget" | "router" | "security-bots" | "security-waf" | "server-origin" | "shield" | "spectrum" | "speech" | "star-outline" | "star" | "stream" | "tail-worker" | "teams" | "terraform" | "thumbs-down-outline" | "thumbs-down-solid" | "thumbs-up-outline" | "thumbs-up-solid" | "trace" | "traffic-attack-browser" | "turnstile" | "twitter" | "two-way" | "unlock-outline" | "upload" | "user-multi" | "user-outline" | "user" | "vectorize" | "waiting-room" | "warp" | "web-analytics-logo" | "web3" | "workers-bundled" | "workers-constellation" | "workers-durable-objects" | "workers-for-platforms" | "workers-kv" | "workers-pages" | "workers-unbound" | "wrangler" | "wrench" | "youtube" | "zaraz" | "zero-trust-risk-scoring" | "zerotrust-casb-logo" | "zerotrust-networks-logo";
|
|
6
6
|
className?: string | undefined;
|
|
7
7
|
ariaLabel?: string | undefined;
|
|
8
8
|
label?: string | boolean | undefined;
|
package/dist/Icon.stories.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ComponentMeta } from '@storybook/react';
|
|
3
3
|
declare const _default: ComponentMeta<React.ComponentType<{
|
|
4
|
-
type: "search" | "link" | "code" | "script" | "time" | "filter" | "image" | "right" | "none" | "download" | "list" | "version" | "key" | "left" | "revert" | "copy" | "help" | "add" | "subtract" | "warning" | "pause" | "dlp" | "timer" | "account-analytics-logo" | "add-member" | "ai-audit" | "analytics-data" | "api-security" | "api" | "applications" | "arrow-down" | "arrow-external-link" | "backward" | "bolt" | "byoip" | "calendar" | "calls" | "carbon" | "caret-double-left" | "caret-double-right" | "caret-down" | "caret-left" | "caret-right" | "caret-up" | "case-study" | "certificate" | "chart" | "clipboard" | "cloud-internet-solid" | "cloud-internet" | "cloud-multi" | "cloudflare-access" | "cloudflare-dex" | "cloudflare-email-security" | "cloudflare-magic-wan" | "cloudflare-security-application" | "cloudflare-security-network" | "cloudflare-zero-trust" | "code-edit" | "connector" | "credit-card" | "d1" | "ddos-attack" | "device-desktop" | "device-laptop" | "device-mobile" | "device-tablet" | "discord" | "discover" | "documentation" | "drive" | "edge-log-delivery" | "edgeworker" | "edit" | "email-forwarding" | "exclamation-sign" | "expand" | "external-link" | "eye" | "facebook" | "file" | "firewall-rules" | "flowchart" | "folder" | "forward" | "funnel" | "garbage" | "gateway" | "gear" | "git-branch" | "github" | "globe" | "hamburger" | "hide-eye" | "home" | "hyperdrive" | "inbox" | "info-sign" | "internet-browser" | "leaf" | "linkedin" | "lock" | "logs" | "magic-firewall" | "magic-transit-logo" | "mail" | "minus" | "more" | "network-analytics-logo" | "network-security" | "network" | "no-edit" | "notifications" | "office-branch" | "ok-sign" | "ok" | "optimization-scale" | "pages-logo" | "platform-apps" | "plus" | "printer" | "processing" | "product-security-center" | "pub-sub" | "pull-request" | "queues" | "r2" | "refresh" | "registrar-logo" | "reliability-dns" | "reliability-load-balancer" | "remove" | "reorder" | "resize-horizontal" | "retarget" | "router" | "security-bots" | "security-waf" | "server-origin" | "shield" | "spectrum" | "speech" | "star-outline" | "star" | "stream" | "tail-worker" | "teams" | "terraform" | "thumbs-down-outline" | "thumbs-down-solid" | "thumbs-up-outline" | "thumbs-up-solid" | "trace" | "traffic-attack-browser" | "turnstile" | "twitter" | "two-way" | "unlock-outline" | "upload" | "user-multi" | "user-outline" | "user" | "vectorize" | "waiting-room" | "warp" | "web-analytics-logo" | "web3" | "workers-bundled" | "workers-constellation" | "workers-durable-objects" | "workers-for-platforms" | "workers-kv" | "workers-pages" | "workers-unbound" | "wrangler" | "wrench" | "youtube" | "zaraz" | "zero-trust-risk-scoring" | "zerotrust-casb-logo" | "zerotrust-networks-logo";
|
|
4
|
+
type: "search" | "link" | "code" | "script" | "time" | "filter" | "image" | "right" | "none" | "download" | "list" | "version" | "key" | "left" | "revert" | "copy" | "help" | "add" | "subtract" | "warning" | "pause" | "dlp" | "timer" | "account-analytics-logo" | "add-member" | "ai-audit" | "analytics-data" | "api-security" | "api" | "applications" | "arrow-down" | "arrow-external-link" | "backward" | "bolt" | "byoip" | "calendar" | "calls" | "carbon" | "caret-double-left" | "caret-double-right" | "caret-down" | "caret-down-stroke" | "caret-left" | "caret-left-stroke" | "caret-right" | "caret-right-stroke" | "caret-up" | "caret-up-stroke" | "case-study" | "certificate" | "chart" | "clipboard" | "cloud-internet-solid" | "cloud-internet" | "cloud-multi" | "cloudflare-access" | "cloudflare-dex" | "cloudflare-email-security" | "cloudflare-magic-wan" | "cloudflare-security-application" | "cloudflare-security-network" | "cloudflare-zero-trust" | "code-edit" | "connector" | "credit-card" | "d1" | "ddos-attack" | "device-desktop" | "device-laptop" | "device-mobile" | "device-tablet" | "discord" | "discover" | "documentation" | "drive" | "edge-log-delivery" | "edgeworker" | "edit" | "email-forwarding" | "exclamation-sign" | "expand" | "external-link" | "eye" | "facebook" | "file" | "firewall-rules" | "flowchart" | "folder" | "forward" | "funnel" | "garbage" | "gateway" | "gear" | "git-branch" | "github" | "globe" | "hamburger" | "hide-eye" | "home" | "hyperdrive" | "inbox" | "info-sign" | "internet-browser" | "leaf" | "linkedin" | "lock" | "logs" | "magic-firewall" | "magic-transit-logo" | "mail" | "minus" | "more" | "network-analytics-logo" | "network-security" | "network" | "no-edit" | "notifications" | "office-branch" | "ok-sign" | "ok" | "optimization-scale" | "pages-logo" | "platform-apps" | "plus" | "printer" | "processing" | "product-security-center" | "pub-sub" | "pull-request" | "queues" | "r2" | "refresh" | "registrar-logo" | "reliability-dns" | "reliability-load-balancer" | "remove" | "reorder" | "resize-horizontal" | "retarget" | "router" | "security-bots" | "security-waf" | "server-origin" | "shield" | "spectrum" | "speech" | "star-outline" | "star" | "stream" | "tail-worker" | "teams" | "terraform" | "thumbs-down-outline" | "thumbs-down-solid" | "thumbs-up-outline" | "thumbs-up-solid" | "trace" | "traffic-attack-browser" | "turnstile" | "twitter" | "two-way" | "unlock-outline" | "upload" | "user-multi" | "user-outline" | "user" | "vectorize" | "waiting-room" | "warp" | "web-analytics-logo" | "web3" | "workers-bundled" | "workers-constellation" | "workers-durable-objects" | "workers-for-platforms" | "workers-kv" | "workers-pages" | "workers-unbound" | "wrangler" | "wrench" | "youtube" | "zaraz" | "zero-trust-risk-scoring" | "zerotrust-casb-logo" | "zerotrust-networks-logo";
|
|
5
5
|
className?: string | undefined;
|
|
6
6
|
ariaLabel?: string | undefined;
|
|
7
7
|
label?: string | boolean | undefined;
|
|
@@ -21,9 +21,13 @@ declare const _default: {
|
|
|
21
21
|
'caret-double-left': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
22
22
|
'caret-double-right': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
23
23
|
'caret-down': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
24
|
+
'caret-down-stroke': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
24
25
|
'caret-left': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
26
|
+
'caret-left-stroke': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
25
27
|
'caret-right': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
28
|
+
'caret-right-stroke': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
26
29
|
'caret-up': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
30
|
+
'caret-up-stroke': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
27
31
|
'case-study': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
28
32
|
certificate: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
29
33
|
chart: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
package/es/reactsvgs/index.js
CHANGED
|
@@ -179,6 +179,10 @@ import Zaraz from './Zaraz';
|
|
|
179
179
|
import ZeroTrustRiskScoring from './ZeroTrustRiskScoring';
|
|
180
180
|
import ZerotrustCasbLogo from './ZerotrustCasbLogo';
|
|
181
181
|
import ZerotrustNetworksLogo from './ZerotrustNetworksLogo';
|
|
182
|
+
import CaretUpStroke from './CaretUpStroke';
|
|
183
|
+
import CaretDownStroke from './CaretDownStroke';
|
|
184
|
+
import CaretRightStroke from './CaretRightStroke';
|
|
185
|
+
import CaretLeftStroke from './CaretLeftStroke';
|
|
182
186
|
export default {
|
|
183
187
|
dlp: Dlp,
|
|
184
188
|
timer: Timer,
|
|
@@ -201,9 +205,13 @@ export default {
|
|
|
201
205
|
'caret-double-left': CaretDoubleLeft,
|
|
202
206
|
'caret-double-right': CaretDoubleRight,
|
|
203
207
|
'caret-down': CaretDown,
|
|
208
|
+
'caret-down-stroke': CaretDownStroke,
|
|
204
209
|
'caret-left': CaretLeft,
|
|
210
|
+
'caret-left-stroke': CaretLeftStroke,
|
|
205
211
|
'caret-right': CaretRight,
|
|
212
|
+
'caret-right-stroke': CaretRightStroke,
|
|
206
213
|
'caret-up': CaretUp,
|
|
214
|
+
'caret-up-stroke': CaretUpStroke,
|
|
207
215
|
'case-study': CaseStudy,
|
|
208
216
|
certificate: Certificate,
|
|
209
217
|
chart: Chart,
|
package/lib/reactsvgs/index.js
CHANGED
|
@@ -367,6 +367,14 @@ var _ZerotrustCasbLogo = _interopRequireDefault(require("./ZerotrustCasbLogo"));
|
|
|
367
367
|
|
|
368
368
|
var _ZerotrustNetworksLogo = _interopRequireDefault(require("./ZerotrustNetworksLogo"));
|
|
369
369
|
|
|
370
|
+
var _CaretUpStroke = _interopRequireDefault(require("./CaretUpStroke"));
|
|
371
|
+
|
|
372
|
+
var _CaretDownStroke = _interopRequireDefault(require("./CaretDownStroke"));
|
|
373
|
+
|
|
374
|
+
var _CaretRightStroke = _interopRequireDefault(require("./CaretRightStroke"));
|
|
375
|
+
|
|
376
|
+
var _CaretLeftStroke = _interopRequireDefault(require("./CaretLeftStroke"));
|
|
377
|
+
|
|
370
378
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
371
379
|
|
|
372
380
|
var _default = {
|
|
@@ -391,9 +399,13 @@ var _default = {
|
|
|
391
399
|
'caret-double-left': _CaretDoubleLeft.default,
|
|
392
400
|
'caret-double-right': _CaretDoubleRight.default,
|
|
393
401
|
'caret-down': _CaretDown.default,
|
|
402
|
+
'caret-down-stroke': _CaretDownStroke.default,
|
|
394
403
|
'caret-left': _CaretLeft.default,
|
|
404
|
+
'caret-left-stroke': _CaretLeftStroke.default,
|
|
395
405
|
'caret-right': _CaretRight.default,
|
|
406
|
+
'caret-right-stroke': _CaretRightStroke.default,
|
|
396
407
|
'caret-up': _CaretUp.default,
|
|
408
|
+
'caret-up-stroke': _CaretUpStroke.default,
|
|
397
409
|
'case-study': _CaseStudy.default,
|
|
398
410
|
certificate: _Certificate.default,
|
|
399
411
|
chart: _Chart.default,
|
package/package.json
CHANGED