@cloudflare/component-icon 12.28.0 → 12.29.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 +8 -0
- package/dist/Icon.d.ts +1 -1
- package/dist/Icon.stories.d.ts +10 -37
- package/dist/reactsvgs/CloudflarePipelines.d.ts +3 -0
- package/dist/reactsvgs/index.d.ts +2 -1
- package/es/Icon.stories.js +2 -22
- package/es/reactsvgs/CloudflarePipelines.js +24 -0
- package/es/reactsvgs/index.js +4 -2
- package/lib/Icon.stories.js +3 -25
- package/lib/reactsvgs/CloudflarePipelines.js +40 -0
- package/lib/reactsvgs/index.js +6 -3
- 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" | "code" | "script" | "time" | "filter" | "image" | "right" | "none" | "download" | "list" | "version" | "key" | "left" | "revert" | "copy" | "help" | "add" | "subtract" | "warning" | "pause" | "dlp" | "account-analytics-logo" | "add-member" | "ai-audit" | "analytics-data" | "analytics-search" | "api-security" | "api" | "applications" | "arrow-down" | "arrow-external-link" | "backward" | "bolt" | "byoip" | "calendar" | "calls" | "carbon" | "caret-double-left" | "caret-double-right" | "caret-down-stroke" | "caret-down" | "caret-left-stroke" | "caret-left" | "caret-reorder2" | "caret-right-stroke" | "caret-right" | "caret-up-stroke" | "caret-up" | "case-study" | "certificate" | "chart" | "clipboard" | "cloud-internet-solid" | "cloud-internet" | "cloud-multi" | "cloud-security" | "cloudflare-access" | "cloudflare-browser-outline" | "cloudflare-dex" | "cloudflare-email-security" | "cloudflare-magic-wan" | "cloudflare-ruleset-engine" | "cloudflare-security-application" | "cloudflare-security-network" | "cloudflare-zero-trust" | "code-api-outline" | "code-edit" | "connector" | "credit-card" | "d1" | "ddos-attack-outline" | "ddos-attack" | "device-desktop" | "device-laptop" | "device-mobile" | "device-tablet" | "discord" | "discover" | "documentation" | "drag-outline" | "drag-solid" | "drive" | "edge-log-delivery" | "edgeworker" | "edit" | "email-forwarding" | "exclamation-sign" | "expand" | "external-link" | "eye" | "facebook" | "file" | "filter-drawer-outline" | "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" | "machine-learning-contextual-outline" | "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" | "podcast-microphone-outline" | "podcast-microphone-solid" | "printer" | "processing" | "product-security-center" | "pub-sub" | "pull-request" | "queues" | "r2outline" | "r2" | "refresh" | "registrar-logo" | "reliability-dns" | "reliability-load-balancer" | "remove" | "reorder" | "resize-horizontal" | "retarget" | "router" | "security-bots" | "security-waf-solid" | "security-waf" | "server-origin" | "share-arrow-outline" | "shield" | "spectrum" | "speech" | "star-outline" | "star" | "stream" | "tail-worker" | "teams" | "terraform" | "thumbs-down-outline" | "thumbs-down-solid" | "thumbs-up-outline" | "thumbs-up-solid" | "
|
|
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" | "analytics-search" | "api-security" | "api" | "applications" | "arrow-down" | "arrow-external-link" | "backward" | "bolt" | "byoip" | "calendar" | "calls" | "carbon" | "caret-double-left" | "caret-double-right" | "caret-down-stroke" | "caret-down" | "caret-left-stroke" | "caret-left" | "caret-reorder2" | "caret-right-stroke" | "caret-right" | "caret-up-stroke" | "caret-up" | "case-study" | "certificate" | "chart" | "clipboard" | "cloud-internet-solid" | "cloud-internet" | "cloud-multi" | "cloud-security" | "cloudflare-access" | "cloudflare-browser-outline" | "cloudflare-dex" | "cloudflare-email-security" | "cloudflare-magic-wan" | "cloudflare-pipelines" | "cloudflare-ruleset-engine" | "cloudflare-security-application" | "cloudflare-security-network" | "cloudflare-zero-trust" | "code-api-outline" | "code-edit" | "connector" | "credit-card" | "d1" | "ddos-attack-outline" | "ddos-attack" | "device-desktop" | "device-laptop" | "device-mobile" | "device-tablet" | "discord" | "discover" | "documentation" | "drag-outline" | "drag-solid" | "drive" | "edge-log-delivery" | "edgeworker" | "edit" | "email-forwarding" | "exclamation-sign" | "expand" | "external-link" | "eye" | "facebook" | "file" | "filter-drawer-outline" | "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" | "machine-learning-contextual-outline" | "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" | "podcast-microphone-outline" | "podcast-microphone-solid" | "printer" | "processing" | "product-security-center" | "pub-sub" | "pull-request" | "queues" | "r2outline" | "r2" | "refresh" | "registrar-logo" | "reliability-dns" | "reliability-load-balancer" | "remove" | "reorder" | "resize-horizontal" | "retarget" | "router" | "security-bots" | "security-waf-solid" | "security-waf" | "server-origin" | "share-arrow-outline" | "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" | "account-analytics-logo" | "add-member" | "ai-audit" | "analytics-data" | "analytics-search" | "api-security" | "api" | "applications" | "arrow-down" | "arrow-external-link" | "backward" | "bolt" | "byoip" | "calendar" | "calls" | "carbon" | "caret-double-left" | "caret-double-right" | "caret-down-stroke" | "caret-down" | "caret-left-stroke" | "caret-left" | "caret-reorder2" | "caret-right-stroke" | "caret-right" | "caret-up-stroke" | "caret-up" | "case-study" | "certificate" | "chart" | "clipboard" | "cloud-internet-solid" | "cloud-internet" | "cloud-multi" | "cloud-security" | "cloudflare-access" | "cloudflare-browser-outline" | "cloudflare-dex" | "cloudflare-email-security" | "cloudflare-magic-wan" | "cloudflare-ruleset-engine" | "cloudflare-security-application" | "cloudflare-security-network" | "cloudflare-zero-trust" | "code-api-outline" | "code-edit" | "connector" | "credit-card" | "d1" | "ddos-attack-outline" | "ddos-attack" | "device-desktop" | "device-laptop" | "device-mobile" | "device-tablet" | "discord" | "discover" | "documentation" | "drag-outline" | "drag-solid" | "drive" | "edge-log-delivery" | "edgeworker" | "edit" | "email-forwarding" | "exclamation-sign" | "expand" | "external-link" | "eye" | "facebook" | "file" | "filter-drawer-outline" | "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" | "machine-learning-contextual-outline" | "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" | "podcast-microphone-outline" | "podcast-microphone-solid" | "printer" | "processing" | "product-security-center" | "pub-sub" | "pull-request" | "queues" | "r2outline" | "r2" | "refresh" | "registrar-logo" | "reliability-dns" | "reliability-load-balancer" | "remove" | "reorder" | "resize-horizontal" | "retarget" | "router" | "security-bots" | "security-waf-solid" | "security-waf" | "server-origin" | "share-arrow-outline" | "shield" | "spectrum" | "speech" | "star-outline" | "star" | "stream" | "tail-worker" | "teams" | "terraform" | "thumbs-down-outline" | "thumbs-down-solid" | "thumbs-up-outline" | "thumbs-up-solid" | "
|
|
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" | "analytics-search" | "api-security" | "api" | "applications" | "arrow-down" | "arrow-external-link" | "backward" | "bolt" | "byoip" | "calendar" | "calls" | "carbon" | "caret-double-left" | "caret-double-right" | "caret-down-stroke" | "caret-down" | "caret-left-stroke" | "caret-left" | "caret-reorder2" | "caret-right-stroke" | "caret-right" | "caret-up-stroke" | "caret-up" | "case-study" | "certificate" | "chart" | "clipboard" | "cloud-internet-solid" | "cloud-internet" | "cloud-multi" | "cloud-security" | "cloudflare-access" | "cloudflare-browser-outline" | "cloudflare-dex" | "cloudflare-email-security" | "cloudflare-magic-wan" | "cloudflare-pipelines" | "cloudflare-ruleset-engine" | "cloudflare-security-application" | "cloudflare-security-network" | "cloudflare-zero-trust" | "code-api-outline" | "code-edit" | "connector" | "credit-card" | "d1" | "ddos-attack-outline" | "ddos-attack" | "device-desktop" | "device-laptop" | "device-mobile" | "device-tablet" | "discord" | "discover" | "documentation" | "drag-outline" | "drag-solid" | "drive" | "edge-log-delivery" | "edgeworker" | "edit" | "email-forwarding" | "exclamation-sign" | "expand" | "external-link" | "eye" | "facebook" | "file" | "filter-drawer-outline" | "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" | "machine-learning-contextual-outline" | "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" | "podcast-microphone-outline" | "podcast-microphone-solid" | "printer" | "processing" | "product-security-center" | "pub-sub" | "pull-request" | "queues" | "r2outline" | "r2" | "refresh" | "registrar-logo" | "reliability-dns" | "reliability-load-balancer" | "remove" | "reorder" | "resize-horizontal" | "retarget" | "router" | "security-bots" | "security-waf-solid" | "security-waf" | "server-origin" | "share-arrow-outline" | "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;
|
|
@@ -85,39 +85,12 @@ declare const _default: ComponentMeta<React.ComponentType<{
|
|
|
85
85
|
gridJustify?: ("start" | "end" | "center" | "stretch") | undefined;
|
|
86
86
|
}>>;
|
|
87
87
|
export default _default;
|
|
88
|
-
export declare const AIAudit:
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
export declare const
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
export declare const
|
|
97
|
-
(): JSX.Element;
|
|
98
|
-
decorators: ((Story: any) => JSX.Element)[];
|
|
99
|
-
};
|
|
100
|
-
export declare const CloudInternet: {
|
|
101
|
-
(): JSX.Element;
|
|
102
|
-
decorators: ((Story: any) => JSX.Element)[];
|
|
103
|
-
};
|
|
104
|
-
export declare const Inbox: {
|
|
105
|
-
(): JSX.Element;
|
|
106
|
-
decorators: ((Story: any) => JSX.Element)[];
|
|
107
|
-
};
|
|
108
|
-
export declare const Spectrum: {
|
|
109
|
-
(): JSX.Element;
|
|
110
|
-
decorators: ((Story: any) => JSX.Element)[];
|
|
111
|
-
};
|
|
112
|
-
export declare const ThumbsUp: {
|
|
113
|
-
(): JSX.Element;
|
|
114
|
-
decorators: ((Story: any) => JSX.Element)[];
|
|
115
|
-
};
|
|
116
|
-
export declare const ThumbsDown: {
|
|
117
|
-
(): JSX.Element;
|
|
118
|
-
decorators: ((Story: any) => JSX.Element)[];
|
|
119
|
-
};
|
|
120
|
-
export declare const CaretReorder2: {
|
|
121
|
-
(): JSX.Element;
|
|
122
|
-
decorators: ((Story: any) => JSX.Element)[];
|
|
123
|
-
};
|
|
88
|
+
export declare const AIAudit: () => JSX.Element;
|
|
89
|
+
export declare const CloudflareEmailSecurity: () => JSX.Element;
|
|
90
|
+
export declare const CloudMulti: () => JSX.Element;
|
|
91
|
+
export declare const CloudInternet: () => JSX.Element;
|
|
92
|
+
export declare const Inbox: () => JSX.Element;
|
|
93
|
+
export declare const Spectrum: () => JSX.Element;
|
|
94
|
+
export declare const ThumbsUp: () => JSX.Element;
|
|
95
|
+
export declare const ThumbsDown: () => JSX.Element;
|
|
96
|
+
export declare const CaretReorder2: () => JSX.Element;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
declare const _default: {
|
|
3
3
|
dlp: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
4
|
+
timer: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
4
5
|
'account-analytics-logo': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
5
6
|
'add-member': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
6
7
|
add: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
@@ -42,6 +43,7 @@ declare const _default: {
|
|
|
42
43
|
'cloudflare-dex': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
43
44
|
'cloudflare-email-security': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
44
45
|
'cloudflare-magic-wan': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
46
|
+
'cloudflare-pipelines': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
45
47
|
'cloudflare-ruleset-engine': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
46
48
|
'cloudflare-security-application': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
47
49
|
'cloudflare-security-network': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
@@ -169,7 +171,6 @@ declare const _default: {
|
|
|
169
171
|
'thumbs-up-outline': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
170
172
|
'thumbs-up-solid': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
171
173
|
time: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
172
|
-
timer: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
173
174
|
trace: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
174
175
|
'traffic-attack-browser': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
175
176
|
turnstile: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
package/es/Icon.stories.js
CHANGED
|
@@ -1,50 +1,33 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { StyleProvider, createRenderer } from '@cloudflare/style-provider';
|
|
3
2
|
import Icon from './Icon';
|
|
4
|
-
var renderer = createRenderer({
|
|
5
|
-
dev: process.env.NODE_ENV === 'development',
|
|
6
|
-
selectorPrefix: 'c_'
|
|
7
|
-
}); // More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
|
|
8
|
-
|
|
9
3
|
export default {
|
|
10
4
|
title: 'Example/Icon',
|
|
11
5
|
component: Icon
|
|
12
6
|
};
|
|
13
|
-
|
|
14
|
-
var withStyleProvider = Story => /*#__PURE__*/React.createElement(StyleProvider, {
|
|
15
|
-
renderer: renderer
|
|
16
|
-
}, /*#__PURE__*/React.createElement(Story, null));
|
|
17
|
-
|
|
18
7
|
export var AIAudit = () => /*#__PURE__*/React.createElement(Icon, {
|
|
19
8
|
type: "ai-audit",
|
|
20
9
|
size: 36
|
|
21
10
|
});
|
|
22
|
-
AIAudit.decorators = [withStyleProvider];
|
|
23
11
|
export var CloudflareEmailSecurity = () => /*#__PURE__*/React.createElement(Icon, {
|
|
24
12
|
type: "cloudflare-email-security",
|
|
25
13
|
size: 36
|
|
26
14
|
});
|
|
27
|
-
CloudflareEmailSecurity.decorators = [withStyleProvider];
|
|
28
15
|
export var CloudMulti = () => /*#__PURE__*/React.createElement(Icon, {
|
|
29
16
|
type: "cloud-multi",
|
|
30
17
|
size: 36
|
|
31
18
|
});
|
|
32
|
-
CloudMulti.decorators = [withStyleProvider];
|
|
33
19
|
export var CloudInternet = () => /*#__PURE__*/React.createElement(Icon, {
|
|
34
20
|
type: "cloud-internet",
|
|
35
21
|
size: 36
|
|
36
22
|
});
|
|
37
|
-
CloudInternet.decorators = [withStyleProvider];
|
|
38
23
|
export var Inbox = () => /*#__PURE__*/React.createElement(Icon, {
|
|
39
24
|
type: "inbox",
|
|
40
25
|
size: 36
|
|
41
26
|
});
|
|
42
|
-
Inbox.decorators = [withStyleProvider];
|
|
43
27
|
export var Spectrum = () => /*#__PURE__*/React.createElement(Icon, {
|
|
44
28
|
type: "spectrum",
|
|
45
29
|
size: 36
|
|
46
30
|
});
|
|
47
|
-
Spectrum.decorators = [withStyleProvider];
|
|
48
31
|
export var ThumbsUp = () => /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Icon, {
|
|
49
32
|
type: "thumbs-up-solid",
|
|
50
33
|
size: 36
|
|
@@ -52,7 +35,6 @@ export var ThumbsUp = () => /*#__PURE__*/React.createElement(React.Fragment, nul
|
|
|
52
35
|
type: "thumbs-up-outline",
|
|
53
36
|
size: 36
|
|
54
37
|
}));
|
|
55
|
-
ThumbsUp.decorators = [withStyleProvider];
|
|
56
38
|
export var ThumbsDown = () => /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Icon, {
|
|
57
39
|
type: "thumbs-down-solid",
|
|
58
40
|
size: 36
|
|
@@ -60,9 +42,7 @@ export var ThumbsDown = () => /*#__PURE__*/React.createElement(React.Fragment, n
|
|
|
60
42
|
type: "thumbs-down-outline",
|
|
61
43
|
size: 36
|
|
62
44
|
}));
|
|
63
|
-
|
|
64
|
-
export var CaretReorder2 = () => /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Icon, {
|
|
45
|
+
export var CaretReorder2 = () => /*#__PURE__*/React.createElement(Icon, {
|
|
65
46
|
type: "caret-reorder2",
|
|
66
47
|
size: 36
|
|
67
|
-
})
|
|
68
|
-
CaretReorder2.decorators = [withStyleProvider];
|
|
48
|
+
});
|
|
@@ -0,0 +1,24 @@
|
|
|
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 SvgCloudflarePipelines = props => /*#__PURE__*/React.createElement("svg", _extends({}, props, {
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
viewBox: "0 0 16 17",
|
|
8
|
+
"aria-hidden": !props['aria-label'],
|
|
9
|
+
focusable: "false"
|
|
10
|
+
}), /*#__PURE__*/React.createElement("g", {
|
|
11
|
+
clipPath: "url(#cloudflare-pipelines_svg__a)"
|
|
12
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
13
|
+
d: "M3.303 4.966c-.232.608-.407 1.393-.494 2.284H1.805c.09-1.004.286-1.912.564-2.64.193-.509.436-.954.731-1.282.295-.327.683-.578 1.15-.578h6.25c.467 0 .855.25 1.15.578.295.328.538.773.732 1.282.277.728.473 1.636.563 2.64h-1.004c-.087-.89-.262-1.676-.494-2.284-.168-.442-.356-.765-.54-.969-.184-.204-.322-.247-.407-.247H5.714c.159.254.297.545.417.86.39 1.02.619 2.395.619 3.89s-.23 2.87-.619 3.89c-.12.315-.258.606-.417.86H10.5c.085 0 .223-.043.407-.247.184-.204.372-.527.54-.969.232-.608.407-1.393.494-2.284h1.004c-.09 1.004-.286 1.912-.563 2.64-.194.509-.437.954-.732 1.282-.295.327-.683.578-1.15.578H4.25c-.467 0-.855-.25-1.15-.578-.295-.328-.538-.773-.731-1.282-.278-.728-.474-1.636-.564-2.64h1.004c.087.89.262 1.676.494 2.284.168.442.357.765.54.969.184.204.322.247.407.247.085 0 .223-.043.407-.247.183-.204.372-.527.54-.969.335-.88.553-2.13.553-3.534 0-1.405-.218-2.654-.553-3.534-.168-.442-.357-.765-.54-.969-.184-.204-.322-.247-.407-.247-.085 0-.223.043-.407.247-.183.204-.372.527-.54.969ZM0 8.563a.563.563 0 1 0 1.125 0 .563.563 0 0 0-1.125 0Z"
|
|
14
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
15
|
+
d: "M1.75 8.563a.563.563 0 1 0 1.125 0 .563.563 0 0 0-1.125 0Zm1.75 0a.563.563 0 1 0 1.125 0 .563.563 0 0 0-1.125 0ZM15 9H8V8h7v1Z"
|
|
16
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
17
|
+
d: "m14.845 8.5-1.217-1.217.566-.566L15.976 8.5l-1.783 1.783-.565-.566L14.845 8.5Z"
|
|
18
|
+
})), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
19
|
+
id: "cloudflare-pipelines_svg__a"
|
|
20
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
21
|
+
d: "M0 .5h16v16H0z"
|
|
22
|
+
}))));
|
|
23
|
+
|
|
24
|
+
export default SvgCloudflarePipelines;
|
package/es/reactsvgs/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import Dlp from './Dlp';
|
|
2
|
+
import Timer from './Timer';
|
|
2
3
|
import AccountAnalyticsLogo from './AccountAnalyticsLogo';
|
|
3
4
|
import AddMember from './AddMember';
|
|
4
5
|
import Add from './Add';
|
|
@@ -40,6 +41,7 @@ import CloudflareBrowserOutline from './CloudflareBrowserOutline';
|
|
|
40
41
|
import CloudflareDex from './CloudflareDex';
|
|
41
42
|
import CloudflareEmailSecurity from './CloudflareEmailSecurity';
|
|
42
43
|
import CloudflareMagicWan from './CloudflareMagicWan';
|
|
44
|
+
import CloudflarePipelines from './CloudflarePipelines';
|
|
43
45
|
import CloudflareRulesetEngine from './CloudflareRulesetEngine';
|
|
44
46
|
import CloudflareSecurityApplication from './CloudflareSecurityApplication';
|
|
45
47
|
import CloudflareSecurityNetwork from './CloudflareSecurityNetwork';
|
|
@@ -167,7 +169,6 @@ import ThumbsDownSolid from './ThumbsDownSolid';
|
|
|
167
169
|
import ThumbsUpOutline from './ThumbsUpOutline';
|
|
168
170
|
import ThumbsUpSolid from './ThumbsUpSolid';
|
|
169
171
|
import Time from './Time';
|
|
170
|
-
import Timer from './Timer';
|
|
171
172
|
import Trace from './Trace';
|
|
172
173
|
import TrafficAttackBrowser from './TrafficAttackBrowser';
|
|
173
174
|
import Turnstile from './Turnstile';
|
|
@@ -201,6 +202,7 @@ import ZerotrustCasbLogo from './ZerotrustCasbLogo';
|
|
|
201
202
|
import ZerotrustNetworksLogo from './ZerotrustNetworksLogo';
|
|
202
203
|
export default {
|
|
203
204
|
dlp: Dlp,
|
|
205
|
+
timer: Timer,
|
|
204
206
|
'account-analytics-logo': AccountAnalyticsLogo,
|
|
205
207
|
'add-member': AddMember,
|
|
206
208
|
add: Add,
|
|
@@ -242,6 +244,7 @@ export default {
|
|
|
242
244
|
'cloudflare-dex': CloudflareDex,
|
|
243
245
|
'cloudflare-email-security': CloudflareEmailSecurity,
|
|
244
246
|
'cloudflare-magic-wan': CloudflareMagicWan,
|
|
247
|
+
'cloudflare-pipelines': CloudflarePipelines,
|
|
245
248
|
'cloudflare-ruleset-engine': CloudflareRulesetEngine,
|
|
246
249
|
'cloudflare-security-application': CloudflareSecurityApplication,
|
|
247
250
|
'cloudflare-security-network': CloudflareSecurityNetwork,
|
|
@@ -369,7 +372,6 @@ export default {
|
|
|
369
372
|
'thumbs-up-outline': ThumbsUpOutline,
|
|
370
373
|
'thumbs-up-solid': ThumbsUpSolid,
|
|
371
374
|
time: Time,
|
|
372
|
-
timer: Timer,
|
|
373
375
|
trace: Trace,
|
|
374
376
|
'traffic-attack-browser': TrafficAttackBrowser,
|
|
375
377
|
turnstile: Turnstile,
|
package/lib/Icon.stories.js
CHANGED
|
@@ -7,29 +7,16 @@ exports.default = exports.ThumbsUp = exports.ThumbsDown = exports.Spectrum = exp
|
|
|
7
7
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
|
|
10
|
-
var _styleProvider = require("@cloudflare/style-provider");
|
|
11
|
-
|
|
12
10
|
var _Icon = _interopRequireDefault(require("./Icon"));
|
|
13
11
|
|
|
14
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
13
|
|
|
16
|
-
var renderer = (0, _styleProvider.createRenderer)({
|
|
17
|
-
dev: process.env.NODE_ENV === 'development',
|
|
18
|
-
selectorPrefix: 'c_'
|
|
19
|
-
}); // More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
|
|
20
|
-
|
|
21
14
|
var _default = {
|
|
22
15
|
title: 'Example/Icon',
|
|
23
16
|
component: _Icon.default
|
|
24
17
|
};
|
|
25
18
|
exports.default = _default;
|
|
26
19
|
|
|
27
|
-
var withStyleProvider = function withStyleProvider(Story) {
|
|
28
|
-
return /*#__PURE__*/_react.default.createElement(_styleProvider.StyleProvider, {
|
|
29
|
-
renderer: renderer
|
|
30
|
-
}, /*#__PURE__*/_react.default.createElement(Story, null));
|
|
31
|
-
};
|
|
32
|
-
|
|
33
20
|
var AIAudit = function AIAudit() {
|
|
34
21
|
return /*#__PURE__*/_react.default.createElement(_Icon.default, {
|
|
35
22
|
type: "ai-audit",
|
|
@@ -38,7 +25,6 @@ var AIAudit = function AIAudit() {
|
|
|
38
25
|
};
|
|
39
26
|
|
|
40
27
|
exports.AIAudit = AIAudit;
|
|
41
|
-
AIAudit.decorators = [withStyleProvider];
|
|
42
28
|
|
|
43
29
|
var CloudflareEmailSecurity = function CloudflareEmailSecurity() {
|
|
44
30
|
return /*#__PURE__*/_react.default.createElement(_Icon.default, {
|
|
@@ -48,7 +34,6 @@ var CloudflareEmailSecurity = function CloudflareEmailSecurity() {
|
|
|
48
34
|
};
|
|
49
35
|
|
|
50
36
|
exports.CloudflareEmailSecurity = CloudflareEmailSecurity;
|
|
51
|
-
CloudflareEmailSecurity.decorators = [withStyleProvider];
|
|
52
37
|
|
|
53
38
|
var CloudMulti = function CloudMulti() {
|
|
54
39
|
return /*#__PURE__*/_react.default.createElement(_Icon.default, {
|
|
@@ -58,7 +43,6 @@ var CloudMulti = function CloudMulti() {
|
|
|
58
43
|
};
|
|
59
44
|
|
|
60
45
|
exports.CloudMulti = CloudMulti;
|
|
61
|
-
CloudMulti.decorators = [withStyleProvider];
|
|
62
46
|
|
|
63
47
|
var CloudInternet = function CloudInternet() {
|
|
64
48
|
return /*#__PURE__*/_react.default.createElement(_Icon.default, {
|
|
@@ -68,7 +52,6 @@ var CloudInternet = function CloudInternet() {
|
|
|
68
52
|
};
|
|
69
53
|
|
|
70
54
|
exports.CloudInternet = CloudInternet;
|
|
71
|
-
CloudInternet.decorators = [withStyleProvider];
|
|
72
55
|
|
|
73
56
|
var Inbox = function Inbox() {
|
|
74
57
|
return /*#__PURE__*/_react.default.createElement(_Icon.default, {
|
|
@@ -78,7 +61,6 @@ var Inbox = function Inbox() {
|
|
|
78
61
|
};
|
|
79
62
|
|
|
80
63
|
exports.Inbox = Inbox;
|
|
81
|
-
Inbox.decorators = [withStyleProvider];
|
|
82
64
|
|
|
83
65
|
var Spectrum = function Spectrum() {
|
|
84
66
|
return /*#__PURE__*/_react.default.createElement(_Icon.default, {
|
|
@@ -88,7 +70,6 @@ var Spectrum = function Spectrum() {
|
|
|
88
70
|
};
|
|
89
71
|
|
|
90
72
|
exports.Spectrum = Spectrum;
|
|
91
|
-
Spectrum.decorators = [withStyleProvider];
|
|
92
73
|
|
|
93
74
|
var ThumbsUp = function ThumbsUp() {
|
|
94
75
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_Icon.default, {
|
|
@@ -101,7 +82,6 @@ var ThumbsUp = function ThumbsUp() {
|
|
|
101
82
|
};
|
|
102
83
|
|
|
103
84
|
exports.ThumbsUp = ThumbsUp;
|
|
104
|
-
ThumbsUp.decorators = [withStyleProvider];
|
|
105
85
|
|
|
106
86
|
var ThumbsDown = function ThumbsDown() {
|
|
107
87
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_Icon.default, {
|
|
@@ -114,14 +94,12 @@ var ThumbsDown = function ThumbsDown() {
|
|
|
114
94
|
};
|
|
115
95
|
|
|
116
96
|
exports.ThumbsDown = ThumbsDown;
|
|
117
|
-
ThumbsDown.decorators = [withStyleProvider];
|
|
118
97
|
|
|
119
98
|
var CaretReorder2 = function CaretReorder2() {
|
|
120
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
99
|
+
return /*#__PURE__*/_react.default.createElement(_Icon.default, {
|
|
121
100
|
type: "caret-reorder2",
|
|
122
101
|
size: 36
|
|
123
|
-
})
|
|
102
|
+
});
|
|
124
103
|
};
|
|
125
104
|
|
|
126
|
-
exports.CaretReorder2 = CaretReorder2;
|
|
127
|
-
CaretReorder2.decorators = [withStyleProvider];
|
|
105
|
+
exports.CaretReorder2 = CaretReorder2;
|
|
@@ -0,0 +1,40 @@
|
|
|
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 SvgCloudflarePipelines = function SvgCloudflarePipelines(props) {
|
|
19
|
+
return /*#__PURE__*/React.createElement("svg", _extends({}, props, {
|
|
20
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
21
|
+
viewBox: "0 0 16 17",
|
|
22
|
+
"aria-hidden": !props['aria-label'],
|
|
23
|
+
focusable: "false"
|
|
24
|
+
}), /*#__PURE__*/React.createElement("g", {
|
|
25
|
+
clipPath: "url(#cloudflare-pipelines_svg__a)"
|
|
26
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
27
|
+
d: "M3.303 4.966c-.232.608-.407 1.393-.494 2.284H1.805c.09-1.004.286-1.912.564-2.64.193-.509.436-.954.731-1.282.295-.327.683-.578 1.15-.578h6.25c.467 0 .855.25 1.15.578.295.328.538.773.732 1.282.277.728.473 1.636.563 2.64h-1.004c-.087-.89-.262-1.676-.494-2.284-.168-.442-.356-.765-.54-.969-.184-.204-.322-.247-.407-.247H5.714c.159.254.297.545.417.86.39 1.02.619 2.395.619 3.89s-.23 2.87-.619 3.89c-.12.315-.258.606-.417.86H10.5c.085 0 .223-.043.407-.247.184-.204.372-.527.54-.969.232-.608.407-1.393.494-2.284h1.004c-.09 1.004-.286 1.912-.563 2.64-.194.509-.437.954-.732 1.282-.295.327-.683.578-1.15.578H4.25c-.467 0-.855-.25-1.15-.578-.295-.328-.538-.773-.731-1.282-.278-.728-.474-1.636-.564-2.64h1.004c.087.89.262 1.676.494 2.284.168.442.357.765.54.969.184.204.322.247.407.247.085 0 .223-.043.407-.247.183-.204.372-.527.54-.969.335-.88.553-2.13.553-3.534 0-1.405-.218-2.654-.553-3.534-.168-.442-.357-.765-.54-.969-.184-.204-.322-.247-.407-.247-.085 0-.223.043-.407.247-.183.204-.372.527-.54.969ZM0 8.563a.563.563 0 1 0 1.125 0 .563.563 0 0 0-1.125 0Z"
|
|
28
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
29
|
+
d: "M1.75 8.563a.563.563 0 1 0 1.125 0 .563.563 0 0 0-1.125 0Zm1.75 0a.563.563 0 1 0 1.125 0 .563.563 0 0 0-1.125 0ZM15 9H8V8h7v1Z"
|
|
30
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
31
|
+
d: "m14.845 8.5-1.217-1.217.566-.566L15.976 8.5l-1.783 1.783-.565-.566L14.845 8.5Z"
|
|
32
|
+
})), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
33
|
+
id: "cloudflare-pipelines_svg__a"
|
|
34
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
35
|
+
d: "M0 .5h16v16H0z"
|
|
36
|
+
}))));
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
var _default = SvgCloudflarePipelines;
|
|
40
|
+
exports.default = _default;
|
package/lib/reactsvgs/index.js
CHANGED
|
@@ -7,6 +7,8 @@ exports.default = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _Dlp = _interopRequireDefault(require("./Dlp"));
|
|
9
9
|
|
|
10
|
+
var _Timer = _interopRequireDefault(require("./Timer"));
|
|
11
|
+
|
|
10
12
|
var _AccountAnalyticsLogo = _interopRequireDefault(require("./AccountAnalyticsLogo"));
|
|
11
13
|
|
|
12
14
|
var _AddMember = _interopRequireDefault(require("./AddMember"));
|
|
@@ -89,6 +91,8 @@ var _CloudflareEmailSecurity = _interopRequireDefault(require("./CloudflareEmail
|
|
|
89
91
|
|
|
90
92
|
var _CloudflareMagicWan = _interopRequireDefault(require("./CloudflareMagicWan"));
|
|
91
93
|
|
|
94
|
+
var _CloudflarePipelines = _interopRequireDefault(require("./CloudflarePipelines"));
|
|
95
|
+
|
|
92
96
|
var _CloudflareRulesetEngine = _interopRequireDefault(require("./CloudflareRulesetEngine"));
|
|
93
97
|
|
|
94
98
|
var _CloudflareSecurityApplication = _interopRequireDefault(require("./CloudflareSecurityApplication"));
|
|
@@ -343,8 +347,6 @@ var _ThumbsUpSolid = _interopRequireDefault(require("./ThumbsUpSolid"));
|
|
|
343
347
|
|
|
344
348
|
var _Time = _interopRequireDefault(require("./Time"));
|
|
345
349
|
|
|
346
|
-
var _Timer = _interopRequireDefault(require("./Timer"));
|
|
347
|
-
|
|
348
350
|
var _Trace = _interopRequireDefault(require("./Trace"));
|
|
349
351
|
|
|
350
352
|
var _TrafficAttackBrowser = _interopRequireDefault(require("./TrafficAttackBrowser"));
|
|
@@ -411,6 +413,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
411
413
|
|
|
412
414
|
var _default = {
|
|
413
415
|
dlp: _Dlp.default,
|
|
416
|
+
timer: _Timer.default,
|
|
414
417
|
'account-analytics-logo': _AccountAnalyticsLogo.default,
|
|
415
418
|
'add-member': _AddMember.default,
|
|
416
419
|
add: _Add.default,
|
|
@@ -452,6 +455,7 @@ var _default = {
|
|
|
452
455
|
'cloudflare-dex': _CloudflareDex.default,
|
|
453
456
|
'cloudflare-email-security': _CloudflareEmailSecurity.default,
|
|
454
457
|
'cloudflare-magic-wan': _CloudflareMagicWan.default,
|
|
458
|
+
'cloudflare-pipelines': _CloudflarePipelines.default,
|
|
455
459
|
'cloudflare-ruleset-engine': _CloudflareRulesetEngine.default,
|
|
456
460
|
'cloudflare-security-application': _CloudflareSecurityApplication.default,
|
|
457
461
|
'cloudflare-security-network': _CloudflareSecurityNetwork.default,
|
|
@@ -579,7 +583,6 @@ var _default = {
|
|
|
579
583
|
'thumbs-up-outline': _ThumbsUpOutline.default,
|
|
580
584
|
'thumbs-up-solid': _ThumbsUpSolid.default,
|
|
581
585
|
time: _Time.default,
|
|
582
|
-
timer: _Timer.default,
|
|
583
586
|
trace: _Trace.default,
|
|
584
587
|
'traffic-attack-browser': _TrafficAttackBrowser.default,
|
|
585
588
|
turnstile: _Turnstile.default,
|
package/package.json
CHANGED