@cloudflare/component-icon 12.3.0 → 12.4.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/Icon.stories.d.ts +99 -0
- package/dist/reactsvgs/CloudInternet.d.ts +3 -0
- package/dist/reactsvgs/CloudMulti.d.ts +3 -0
- package/dist/reactsvgs/index.d.ts +2 -0
- package/es/Example.js +2 -1
- package/es/Icon.stories.js +32 -0
- package/es/reactsvgs/CloudInternet.js +20 -0
- package/es/reactsvgs/CloudMulti.js +20 -0
- package/es/reactsvgs/Spectrum.js +9 -9
- package/es/reactsvgs/index.js +4 -0
- package/lib/Example.js +2 -1
- package/lib/Icon.stories.js +61 -0
- package/lib/reactsvgs/CloudInternet.js +36 -0
- package/lib/reactsvgs/CloudMulti.js +36 -0
- package/lib/reactsvgs/Spectrum.js +9 -9
- 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" | "code" | "script" | "time" | "filter" | "image" | "right" | "none" | "download" | "list" | "version" | "key" | "left" | "revert" | "copy" | "help" | "add" | "subtract" | "pause" | "dlp" | "account-analytics-logo" | "add-member" | "api-security" | "api" | "applications" | "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" | "chart" | "clipboard" | "cloudflare-access" | "cloudflare-dex" | "cloudflare-magic-wan" | "cloudflare-security-application" | "cloudflare-security-network" | "cloudflare-zero-trust" | "credit-card" | "d1" | "ddos-attack" | "device-desktop" | "device-laptop" | "device-mobile" | "device-tablet" | "discord" | "discover" | "documentation" | "drive" | "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" | "info-sign" | "internet-browser" | "leaf" | "linkedin" | "lock" | "logs" | "magic-firewall" | "magic-transit-logo" | "mail" | "minus" | "more" | "network-analytics-logo" | "network-security" | "network" | "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" | "security-bots" | "security-waf" | "server-origin" | "shield" | "spectrum" | "speech" | "star-outline" | "star" | "stream" | "tail-worker" | "teams" | "terraform" | "timer" | "trace" | "traffic-attack-browser" | "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" | "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" | "pause" | "dlp" | "account-analytics-logo" | "add-member" | "api-security" | "api" | "applications" | "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" | "chart" | "clipboard" | "cloud-internet" | "cloud-multi" | "cloudflare-access" | "cloudflare-dex" | "cloudflare-magic-wan" | "cloudflare-security-application" | "cloudflare-security-network" | "cloudflare-zero-trust" | "credit-card" | "d1" | "ddos-attack" | "device-desktop" | "device-laptop" | "device-mobile" | "device-tablet" | "discord" | "discover" | "documentation" | "drive" | "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" | "info-sign" | "internet-browser" | "leaf" | "linkedin" | "lock" | "logs" | "magic-firewall" | "magic-transit-logo" | "mail" | "minus" | "more" | "network-analytics-logo" | "network-security" | "network" | "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" | "security-bots" | "security-waf" | "server-origin" | "shield" | "spectrum" | "speech" | "star-outline" | "star" | "stream" | "tail-worker" | "teams" | "terraform" | "timer" | "trace" | "traffic-attack-browser" | "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" | "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;
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ComponentMeta } from '@storybook/react';
|
|
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" | "pause" | "dlp" | "account-analytics-logo" | "add-member" | "api-security" | "api" | "applications" | "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" | "chart" | "clipboard" | "cloud-internet" | "cloud-multi" | "cloudflare-access" | "cloudflare-dex" | "cloudflare-magic-wan" | "cloudflare-security-application" | "cloudflare-security-network" | "cloudflare-zero-trust" | "credit-card" | "d1" | "ddos-attack" | "device-desktop" | "device-laptop" | "device-mobile" | "device-tablet" | "discord" | "discover" | "documentation" | "drive" | "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" | "info-sign" | "internet-browser" | "leaf" | "linkedin" | "lock" | "logs" | "magic-firewall" | "magic-transit-logo" | "mail" | "minus" | "more" | "network-analytics-logo" | "network-security" | "network" | "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" | "security-bots" | "security-waf" | "server-origin" | "shield" | "spectrum" | "speech" | "star-outline" | "star" | "stream" | "tail-worker" | "teams" | "terraform" | "timer" | "trace" | "traffic-attack-browser" | "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" | "zero-trust-risk-scoring" | "zerotrust-casb-logo" | "zerotrust-networks-logo";
|
|
5
|
+
className?: string | undefined;
|
|
6
|
+
ariaLabel?: string | undefined;
|
|
7
|
+
label?: string | boolean | undefined;
|
|
8
|
+
testId?: string | undefined;
|
|
9
|
+
p?: import("csstype").PaddingProperty<string | number> | [import("csstype").PaddingProperty<string | number> | undefined, import("csstype").PaddingProperty<string | number> | undefined] | [import("csstype").PaddingProperty<string | number> | undefined, import("csstype").PaddingProperty<string | number> | undefined, import("csstype").PaddingProperty<string | number> | undefined] | undefined;
|
|
10
|
+
color?: ((string | [string | undefined, string | undefined] | [string | undefined, string | undefined, string | undefined]) & string) | undefined;
|
|
11
|
+
borderColor?: string | [string | undefined, string | undefined] | [string | undefined, string | undefined, string | undefined] | undefined;
|
|
12
|
+
height?: import("csstype").HeightProperty<string | number> | [import("csstype").HeightProperty<string | number> | undefined, import("csstype").HeightProperty<string | number> | undefined] | [import("csstype").HeightProperty<string | number> | undefined, import("csstype").HeightProperty<string | number> | undefined, import("csstype").HeightProperty<string | number> | undefined] | undefined;
|
|
13
|
+
width?: import("csstype").WidthProperty<string | number> | [import("csstype").WidthProperty<string | number> | undefined, import("csstype").WidthProperty<string | number> | undefined] | [import("csstype").WidthProperty<string | number> | undefined, import("csstype").WidthProperty<string | number> | undefined, import("csstype").WidthProperty<string | number> | undefined] | undefined;
|
|
14
|
+
cursor?: string | [string | undefined, string | undefined] | [string | undefined, string | undefined, string | undefined] | undefined;
|
|
15
|
+
display?: string | [string | undefined, string | undefined] | [string | undefined, string | undefined, string | undefined] | undefined;
|
|
16
|
+
fontSize?: import("csstype").FontSizeProperty<string | number> | [import("csstype").FontSizeProperty<string | number> | undefined, import("csstype").FontSizeProperty<string | number> | undefined] | [import("csstype").FontSizeProperty<string | number> | undefined, import("csstype").FontSizeProperty<string | number> | undefined, import("csstype").FontSizeProperty<string | number> | undefined] | undefined;
|
|
17
|
+
fontWeight?: import("csstype").FontWeightProperty | [import("csstype").FontWeightProperty | undefined, import("csstype").FontWeightProperty | undefined] | [import("csstype").FontWeightProperty | undefined, import("csstype").FontWeightProperty | undefined, import("csstype").FontWeightProperty | undefined] | undefined;
|
|
18
|
+
textDecoration?: string | [string | undefined, string | undefined] | [string | undefined, string | undefined, string | undefined] | undefined;
|
|
19
|
+
margin?: import("csstype").MarginProperty<string | number> | [import("csstype").MarginProperty<string | number> | undefined, import("csstype").MarginProperty<string | number> | undefined] | [import("csstype").MarginProperty<string | number> | undefined, import("csstype").MarginProperty<string | number> | undefined, import("csstype").MarginProperty<string | number> | undefined] | undefined;
|
|
20
|
+
marginLeft?: import("csstype").MarginLeftProperty<string | number> | [import("csstype").MarginLeftProperty<string | number> | undefined, import("csstype").MarginLeftProperty<string | number> | undefined] | [import("csstype").MarginLeftProperty<string | number> | undefined, import("csstype").MarginLeftProperty<string | number> | undefined, import("csstype").MarginLeftProperty<string | number> | undefined] | undefined;
|
|
21
|
+
marginRight?: import("csstype").MarginRightProperty<string | number> | [import("csstype").MarginRightProperty<string | number> | undefined, import("csstype").MarginRightProperty<string | number> | undefined] | [import("csstype").MarginRightProperty<string | number> | undefined, import("csstype").MarginRightProperty<string | number> | undefined, import("csstype").MarginRightProperty<string | number> | undefined] | undefined;
|
|
22
|
+
marginTop?: import("csstype").MarginTopProperty<string | number> | [import("csstype").MarginTopProperty<string | number> | undefined, import("csstype").MarginTopProperty<string | number> | undefined] | [import("csstype").MarginTopProperty<string | number> | undefined, import("csstype").MarginTopProperty<string | number> | undefined, import("csstype").MarginTopProperty<string | number> | undefined] | undefined;
|
|
23
|
+
marginBottom?: import("csstype").MarginBottomProperty<string | number> | [import("csstype").MarginBottomProperty<string | number> | undefined, import("csstype").MarginBottomProperty<string | number> | undefined] | [import("csstype").MarginBottomProperty<string | number> | undefined, import("csstype").MarginBottomProperty<string | number> | undefined, import("csstype").MarginBottomProperty<string | number> | undefined] | undefined;
|
|
24
|
+
padding?: import("csstype").PaddingProperty<string | number> | [import("csstype").PaddingProperty<string | number> | undefined, import("csstype").PaddingProperty<string | number> | undefined] | [import("csstype").PaddingProperty<string | number> | undefined, import("csstype").PaddingProperty<string | number> | undefined, import("csstype").PaddingProperty<string | number> | undefined] | undefined;
|
|
25
|
+
paddingLeft?: import("csstype").PaddingLeftProperty<string | number> | [import("csstype").PaddingLeftProperty<string | number> | undefined, import("csstype").PaddingLeftProperty<string | number> | undefined] | [import("csstype").PaddingLeftProperty<string | number> | undefined, import("csstype").PaddingLeftProperty<string | number> | undefined, import("csstype").PaddingLeftProperty<string | number> | undefined] | undefined;
|
|
26
|
+
paddingRight?: import("csstype").PaddingRightProperty<string | number> | [import("csstype").PaddingRightProperty<string | number> | undefined, import("csstype").PaddingRightProperty<string | number> | undefined] | [import("csstype").PaddingRightProperty<string | number> | undefined, import("csstype").PaddingRightProperty<string | number> | undefined, import("csstype").PaddingRightProperty<string | number> | undefined] | undefined;
|
|
27
|
+
paddingTop?: import("csstype").PaddingTopProperty<string | number> | [import("csstype").PaddingTopProperty<string | number> | undefined, import("csstype").PaddingTopProperty<string | number> | undefined] | [import("csstype").PaddingTopProperty<string | number> | undefined, import("csstype").PaddingTopProperty<string | number> | undefined, import("csstype").PaddingTopProperty<string | number> | undefined] | undefined;
|
|
28
|
+
paddingBottom?: import("csstype").PaddingBottomProperty<string | number> | [import("csstype").PaddingBottomProperty<string | number> | undefined, import("csstype").PaddingBottomProperty<string | number> | undefined] | [import("csstype").PaddingBottomProperty<string | number> | undefined, import("csstype").PaddingBottomProperty<string | number> | undefined, import("csstype").PaddingBottomProperty<string | number> | undefined] | undefined;
|
|
29
|
+
gap?: import("csstype").GapProperty<string | number> | [import("csstype").GapProperty<string | number> | undefined, import("csstype").GapProperty<string | number> | undefined] | [import("csstype").GapProperty<string | number> | undefined, import("csstype").GapProperty<string | number> | undefined, import("csstype").GapProperty<string | number> | undefined] | undefined;
|
|
30
|
+
m?: import("csstype").MarginProperty<string | number> | [import("csstype").MarginProperty<string | number> | undefined, import("csstype").MarginProperty<string | number> | undefined] | [import("csstype").MarginProperty<string | number> | undefined, import("csstype").MarginProperty<string | number> | undefined, import("csstype").MarginProperty<string | number> | undefined] | undefined;
|
|
31
|
+
ml?: import("csstype").MarginLeftProperty<string | number> | [import("csstype").MarginLeftProperty<string | number> | undefined, import("csstype").MarginLeftProperty<string | number> | undefined] | [import("csstype").MarginLeftProperty<string | number> | undefined, import("csstype").MarginLeftProperty<string | number> | undefined, import("csstype").MarginLeftProperty<string | number> | undefined] | undefined;
|
|
32
|
+
mr?: import("csstype").MarginRightProperty<string | number> | [import("csstype").MarginRightProperty<string | number> | undefined, import("csstype").MarginRightProperty<string | number> | undefined] | [import("csstype").MarginRightProperty<string | number> | undefined, import("csstype").MarginRightProperty<string | number> | undefined, import("csstype").MarginRightProperty<string | number> | undefined] | undefined;
|
|
33
|
+
mt?: import("csstype").MarginTopProperty<string | number> | [import("csstype").MarginTopProperty<string | number> | undefined, import("csstype").MarginTopProperty<string | number> | undefined] | [import("csstype").MarginTopProperty<string | number> | undefined, import("csstype").MarginTopProperty<string | number> | undefined, import("csstype").MarginTopProperty<string | number> | undefined] | undefined;
|
|
34
|
+
mb?: import("csstype").MarginBottomProperty<string | number> | [import("csstype").MarginBottomProperty<string | number> | undefined, import("csstype").MarginBottomProperty<string | number> | undefined] | [import("csstype").MarginBottomProperty<string | number> | undefined, import("csstype").MarginBottomProperty<string | number> | undefined, import("csstype").MarginBottomProperty<string | number> | undefined] | undefined;
|
|
35
|
+
mx?: import("csstype").MarginLeftProperty<string | number> | [import("csstype").MarginLeftProperty<string | number> | undefined, import("csstype").MarginLeftProperty<string | number> | undefined] | [import("csstype").MarginLeftProperty<string | number> | undefined, import("csstype").MarginLeftProperty<string | number> | undefined, import("csstype").MarginLeftProperty<string | number> | undefined] | undefined;
|
|
36
|
+
my?: import("csstype").MarginTopProperty<string | number> | [import("csstype").MarginTopProperty<string | number> | undefined, import("csstype").MarginTopProperty<string | number> | undefined] | [import("csstype").MarginTopProperty<string | number> | undefined, import("csstype").MarginTopProperty<string | number> | undefined, import("csstype").MarginTopProperty<string | number> | undefined] | undefined;
|
|
37
|
+
pl?: import("csstype").PaddingLeftProperty<string | number> | [import("csstype").PaddingLeftProperty<string | number> | undefined, import("csstype").PaddingLeftProperty<string | number> | undefined] | [import("csstype").PaddingLeftProperty<string | number> | undefined, import("csstype").PaddingLeftProperty<string | number> | undefined, import("csstype").PaddingLeftProperty<string | number> | undefined] | undefined;
|
|
38
|
+
pr?: import("csstype").PaddingRightProperty<string | number> | [import("csstype").PaddingRightProperty<string | number> | undefined, import("csstype").PaddingRightProperty<string | number> | undefined] | [import("csstype").PaddingRightProperty<string | number> | undefined, import("csstype").PaddingRightProperty<string | number> | undefined, import("csstype").PaddingRightProperty<string | number> | undefined] | undefined;
|
|
39
|
+
pt?: import("csstype").PaddingTopProperty<string | number> | [import("csstype").PaddingTopProperty<string | number> | undefined, import("csstype").PaddingTopProperty<string | number> | undefined] | [import("csstype").PaddingTopProperty<string | number> | undefined, import("csstype").PaddingTopProperty<string | number> | undefined, import("csstype").PaddingTopProperty<string | number> | undefined] | undefined;
|
|
40
|
+
pb?: import("csstype").PaddingBottomProperty<string | number> | [import("csstype").PaddingBottomProperty<string | number> | undefined, import("csstype").PaddingBottomProperty<string | number> | undefined] | [import("csstype").PaddingBottomProperty<string | number> | undefined, import("csstype").PaddingBottomProperty<string | number> | undefined, import("csstype").PaddingBottomProperty<string | number> | undefined] | undefined;
|
|
41
|
+
px?: import("csstype").PaddingLeftProperty<string | number> | [import("csstype").PaddingLeftProperty<string | number> | undefined, import("csstype").PaddingLeftProperty<string | number> | undefined] | [import("csstype").PaddingLeftProperty<string | number> | undefined, import("csstype").PaddingLeftProperty<string | number> | undefined, import("csstype").PaddingLeftProperty<string | number> | undefined] | undefined;
|
|
42
|
+
py?: import("csstype").PaddingTopProperty<string | number> | [import("csstype").PaddingTopProperty<string | number> | undefined, import("csstype").PaddingTopProperty<string | number> | undefined] | [import("csstype").PaddingTopProperty<string | number> | undefined, import("csstype").PaddingTopProperty<string | number> | undefined, import("csstype").PaddingTopProperty<string | number> | undefined] | undefined;
|
|
43
|
+
minWidth?: import("csstype").MinWidthProperty<string | number> | [import("csstype").MinWidthProperty<string | number> | undefined, import("csstype").MinWidthProperty<string | number> | undefined] | [import("csstype").MinWidthProperty<string | number> | undefined, import("csstype").MinWidthProperty<string | number> | undefined, import("csstype").MinWidthProperty<string | number> | undefined] | undefined;
|
|
44
|
+
minHeight?: import("csstype").MinHeightProperty<string | number> | [import("csstype").MinHeightProperty<string | number> | undefined, import("csstype").MinHeightProperty<string | number> | undefined] | [import("csstype").MinHeightProperty<string | number> | undefined, import("csstype").MinHeightProperty<string | number> | undefined, import("csstype").MinHeightProperty<string | number> | undefined] | undefined;
|
|
45
|
+
maxWidth?: import("csstype").MaxWidthProperty<string | number> | [import("csstype").MaxWidthProperty<string | number> | undefined, import("csstype").MaxWidthProperty<string | number> | undefined] | [import("csstype").MaxWidthProperty<string | number> | undefined, import("csstype").MaxWidthProperty<string | number> | undefined, import("csstype").MaxWidthProperty<string | number> | undefined] | undefined;
|
|
46
|
+
maxHeight?: import("csstype").MaxHeightProperty<string | number> | [import("csstype").MaxHeightProperty<string | number> | undefined, import("csstype").MaxHeightProperty<string | number> | undefined] | [import("csstype").MaxHeightProperty<string | number> | undefined, import("csstype").MaxHeightProperty<string | number> | undefined, import("csstype").MaxHeightProperty<string | number> | undefined] | undefined;
|
|
47
|
+
backgroundColor?: string | [string | undefined, string | undefined] | [string | undefined, string | undefined, string | undefined] | undefined;
|
|
48
|
+
borderLeftColor?: string | [string | undefined, string | undefined] | [string | undefined, string | undefined, string | undefined] | undefined;
|
|
49
|
+
borderRightColor?: string | [string | undefined, string | undefined] | [string | undefined, string | undefined, string | undefined] | undefined;
|
|
50
|
+
borderTopColor?: string | [string | undefined, string | undefined] | [string | undefined, string | undefined, string | undefined] | undefined;
|
|
51
|
+
borderBottomColor?: string | [string | undefined, string | undefined] | [string | undefined, string | undefined, string | undefined] | undefined;
|
|
52
|
+
borderStyle?: string | [string | undefined, string | undefined] | [string | undefined, string | undefined, string | undefined] | undefined;
|
|
53
|
+
borderTopStyle?: import("csstype").BorderTopStyleProperty | [import("csstype").BorderTopStyleProperty | undefined, import("csstype").BorderTopStyleProperty | undefined] | [import("csstype").BorderTopStyleProperty | undefined, import("csstype").BorderTopStyleProperty | undefined, import("csstype").BorderTopStyleProperty | undefined] | undefined;
|
|
54
|
+
borderBottomStyle?: import("csstype").BorderBottomStyleProperty | [import("csstype").BorderBottomStyleProperty | undefined, import("csstype").BorderBottomStyleProperty | undefined] | [import("csstype").BorderBottomStyleProperty | undefined, import("csstype").BorderBottomStyleProperty | undefined, import("csstype").BorderBottomStyleProperty | undefined] | undefined;
|
|
55
|
+
borderLeftStyle?: import("csstype").BorderLeftStyleProperty | [import("csstype").BorderLeftStyleProperty | undefined, import("csstype").BorderLeftStyleProperty | undefined] | [import("csstype").BorderLeftStyleProperty | undefined, import("csstype").BorderLeftStyleProperty | undefined, import("csstype").BorderLeftStyleProperty | undefined] | undefined;
|
|
56
|
+
borderRightStyle?: import("csstype").BorderRightStyleProperty | [import("csstype").BorderRightStyleProperty | undefined, import("csstype").BorderRightStyleProperty | undefined] | [import("csstype").BorderRightStyleProperty | undefined, import("csstype").BorderRightStyleProperty | undefined, import("csstype").BorderRightStyleProperty | undefined] | undefined;
|
|
57
|
+
borderWidth?: import("csstype").BorderWidthProperty<string | number> | [import("csstype").BorderWidthProperty<string | number> | undefined, import("csstype").BorderWidthProperty<string | number> | undefined] | [import("csstype").BorderWidthProperty<string | number> | undefined, import("csstype").BorderWidthProperty<string | number> | undefined, import("csstype").BorderWidthProperty<string | number> | undefined] | undefined;
|
|
58
|
+
borderTopWidth?: import("csstype").BorderTopWidthProperty<string | number> | [import("csstype").BorderTopWidthProperty<string | number> | undefined, import("csstype").BorderTopWidthProperty<string | number> | undefined] | [import("csstype").BorderTopWidthProperty<string | number> | undefined, import("csstype").BorderTopWidthProperty<string | number> | undefined, import("csstype").BorderTopWidthProperty<string | number> | undefined] | undefined;
|
|
59
|
+
borderBottomWidth?: import("csstype").BorderBottomWidthProperty<string | number> | [import("csstype").BorderBottomWidthProperty<string | number> | undefined, import("csstype").BorderBottomWidthProperty<string | number> | undefined] | [import("csstype").BorderBottomWidthProperty<string | number> | undefined, import("csstype").BorderBottomWidthProperty<string | number> | undefined, import("csstype").BorderBottomWidthProperty<string | number> | undefined] | undefined;
|
|
60
|
+
borderLeftWidth?: import("csstype").BorderLeftWidthProperty<string | number> | [import("csstype").BorderLeftWidthProperty<string | number> | undefined, import("csstype").BorderLeftWidthProperty<string | number> | undefined] | [import("csstype").BorderLeftWidthProperty<string | number> | undefined, import("csstype").BorderLeftWidthProperty<string | number> | undefined, import("csstype").BorderLeftWidthProperty<string | number> | undefined] | undefined;
|
|
61
|
+
borderRightWidth?: import("csstype").BorderRightWidthProperty<string | number> | [import("csstype").BorderRightWidthProperty<string | number> | undefined, import("csstype").BorderRightWidthProperty<string | number> | undefined] | [import("csstype").BorderRightWidthProperty<string | number> | undefined, import("csstype").BorderRightWidthProperty<string | number> | undefined, import("csstype").BorderRightWidthProperty<string | number> | undefined] | undefined;
|
|
62
|
+
borderRadius?: import("csstype").BorderRadiusProperty<string | number> | [import("csstype").BorderRadiusProperty<string | number> | undefined, import("csstype").BorderRadiusProperty<string | number> | undefined] | [import("csstype").BorderRadiusProperty<string | number> | undefined, import("csstype").BorderRadiusProperty<string | number> | undefined, import("csstype").BorderRadiusProperty<string | number> | undefined] | undefined;
|
|
63
|
+
borderTopLeftRadius?: import("csstype").BorderTopLeftRadiusProperty<string | number> | [import("csstype").BorderTopLeftRadiusProperty<string | number> | undefined, import("csstype").BorderTopLeftRadiusProperty<string | number> | undefined] | [import("csstype").BorderTopLeftRadiusProperty<string | number> | undefined, import("csstype").BorderTopLeftRadiusProperty<string | number> | undefined, import("csstype").BorderTopLeftRadiusProperty<string | number> | undefined] | undefined;
|
|
64
|
+
borderTopRightRadius?: import("csstype").BorderTopRightRadiusProperty<string | number> | [import("csstype").BorderTopRightRadiusProperty<string | number> | undefined, import("csstype").BorderTopRightRadiusProperty<string | number> | undefined] | [import("csstype").BorderTopRightRadiusProperty<string | number> | undefined, import("csstype").BorderTopRightRadiusProperty<string | number> | undefined, import("csstype").BorderTopRightRadiusProperty<string | number> | undefined] | undefined;
|
|
65
|
+
borderBottomLeftRadius?: import("csstype").BorderBottomLeftRadiusProperty<string | number> | [import("csstype").BorderBottomLeftRadiusProperty<string | number> | undefined, import("csstype").BorderBottomLeftRadiusProperty<string | number> | undefined] | [import("csstype").BorderBottomLeftRadiusProperty<string | number> | undefined, import("csstype").BorderBottomLeftRadiusProperty<string | number> | undefined, import("csstype").BorderBottomLeftRadiusProperty<string | number> | undefined] | undefined;
|
|
66
|
+
borderbottomRightRadius?: ([never, never] | [never, never, never]) | undefined;
|
|
67
|
+
textAlign?: import("csstype").TextAlignProperty | [import("csstype").TextAlignProperty | undefined, import("csstype").TextAlignProperty | undefined] | [import("csstype").TextAlignProperty | undefined, import("csstype").TextAlignProperty | undefined, import("csstype").TextAlignProperty | undefined] | undefined;
|
|
68
|
+
verticalAlign?: import("csstype").VerticalAlignProperty<string | number> | [import("csstype").VerticalAlignProperty<string | number> | undefined, import("csstype").VerticalAlignProperty<string | number> | undefined] | [import("csstype").VerticalAlignProperty<string | number> | undefined, import("csstype").VerticalAlignProperty<string | number> | undefined, import("csstype").VerticalAlignProperty<string | number> | undefined] | undefined;
|
|
69
|
+
alignItems?: string | [string | undefined, string | undefined] | [string | undefined, string | undefined, string | undefined] | undefined;
|
|
70
|
+
alignSelf?: string | [string | undefined, string | undefined] | [string | undefined, string | undefined, string | undefined] | undefined;
|
|
71
|
+
justifyContent?: string | [string | undefined, string | undefined] | [string | undefined, string | undefined, string | undefined] | undefined;
|
|
72
|
+
textTransform?: import("csstype").TextTransformProperty | [import("csstype").TextTransformProperty | undefined, import("csstype").TextTransformProperty | undefined] | [import("csstype").TextTransformProperty | undefined, import("csstype").TextTransformProperty | undefined, import("csstype").TextTransformProperty | undefined] | undefined;
|
|
73
|
+
boxSizing?: import("csstype").BoxSizingProperty | [import("csstype").BoxSizingProperty | undefined, import("csstype").BoxSizingProperty | undefined] | [import("csstype").BoxSizingProperty | undefined, import("csstype").BoxSizingProperty | undefined, import("csstype").BoxSizingProperty | undefined] | undefined;
|
|
74
|
+
flexDirection?: import("csstype").FlexDirectionProperty | [import("csstype").FlexDirectionProperty | undefined, import("csstype").FlexDirectionProperty | undefined] | [import("csstype").FlexDirectionProperty | undefined, import("csstype").FlexDirectionProperty | undefined, import("csstype").FlexDirectionProperty | undefined] | undefined;
|
|
75
|
+
flexBasis?: import("csstype").FlexBasisProperty<string | number> | [import("csstype").FlexBasisProperty<string | number> | undefined, import("csstype").FlexBasisProperty<string | number> | undefined] | [import("csstype").FlexBasisProperty<string | number> | undefined, import("csstype").FlexBasisProperty<string | number> | undefined, import("csstype").FlexBasisProperty<string | number> | undefined] | undefined;
|
|
76
|
+
flexGrow?: import("csstype").GlobalsNumber | [import("csstype").GlobalsNumber | undefined, import("csstype").GlobalsNumber | undefined] | [import("csstype").GlobalsNumber | undefined, import("csstype").GlobalsNumber | undefined, import("csstype").GlobalsNumber | undefined] | undefined;
|
|
77
|
+
gridTemplateColumns?: import("csstype").GridTemplateColumnsProperty<string | number> | [import("csstype").GridTemplateColumnsProperty<string | number> | undefined, import("csstype").GridTemplateColumnsProperty<string | number> | undefined] | [import("csstype").GridTemplateColumnsProperty<string | number> | undefined, import("csstype").GridTemplateColumnsProperty<string | number> | undefined, import("csstype").GridTemplateColumnsProperty<string | number> | undefined] | undefined;
|
|
78
|
+
size?: number | undefined;
|
|
79
|
+
innerRef?: React.Ref<never> | undefined;
|
|
80
|
+
gridColumnSpan?: number | number[] | "end" | "all" | undefined;
|
|
81
|
+
gridColumnPad?: number | number[] | undefined;
|
|
82
|
+
gridRowSpan?: number | number[] | undefined;
|
|
83
|
+
gridRowPad?: number | number[] | undefined;
|
|
84
|
+
gridAlign?: ("start" | "end" | "center" | "stretch") | undefined;
|
|
85
|
+
gridJustify?: ("start" | "end" | "center" | "stretch") | undefined;
|
|
86
|
+
}>>;
|
|
87
|
+
export default _default;
|
|
88
|
+
export declare const CloudMulti: {
|
|
89
|
+
(): JSX.Element;
|
|
90
|
+
decorators: ((Story: any) => JSX.Element)[];
|
|
91
|
+
};
|
|
92
|
+
export declare const CloudInternet: {
|
|
93
|
+
(): JSX.Element;
|
|
94
|
+
decorators: ((Story: any) => JSX.Element)[];
|
|
95
|
+
};
|
|
96
|
+
export declare const Spectrum: {
|
|
97
|
+
(): JSX.Element;
|
|
98
|
+
decorators: ((Story: any) => JSX.Element)[];
|
|
99
|
+
};
|
|
@@ -23,6 +23,8 @@ declare const _default: {
|
|
|
23
23
|
'case-study': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
24
24
|
chart: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
25
25
|
clipboard: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
26
|
+
'cloud-internet': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
27
|
+
'cloud-multi': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
26
28
|
'cloudflare-access': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
27
29
|
'cloudflare-dex': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
28
30
|
'cloudflare-magic-wan': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
package/es/Example.js
CHANGED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { StyleProvider, createRenderer } from '@cloudflare/style-provider';
|
|
3
|
+
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
|
+
export default {
|
|
10
|
+
title: 'Example/Icon',
|
|
11
|
+
component: Icon
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
var withStyleProvider = Story => /*#__PURE__*/React.createElement(StyleProvider, {
|
|
15
|
+
renderer: renderer
|
|
16
|
+
}, /*#__PURE__*/React.createElement(Story, null));
|
|
17
|
+
|
|
18
|
+
export var CloudMulti = () => /*#__PURE__*/React.createElement(Icon, {
|
|
19
|
+
type: "cloud-multi",
|
|
20
|
+
size: 36
|
|
21
|
+
});
|
|
22
|
+
CloudMulti.decorators = [withStyleProvider];
|
|
23
|
+
export var CloudInternet = () => /*#__PURE__*/React.createElement(Icon, {
|
|
24
|
+
type: "cloud-internet",
|
|
25
|
+
size: 36
|
|
26
|
+
});
|
|
27
|
+
CloudInternet.decorators = [withStyleProvider];
|
|
28
|
+
export var Spectrum = () => /*#__PURE__*/React.createElement(Icon, {
|
|
29
|
+
type: "spectrum",
|
|
30
|
+
size: 36
|
|
31
|
+
});
|
|
32
|
+
Spectrum.decorators = [withStyleProvider];
|
|
@@ -0,0 +1,20 @@
|
|
|
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 SvgCloudInternet = 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("g", {
|
|
11
|
+
clipPath: "url(#cloud-internet_svg__a)"
|
|
12
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
13
|
+
d: "M13.015 12.825h-9.46A3.563 3.563 0 0 1 0 9.27a3.65 3.65 0 0 1 1.3-2.757 3.403 3.403 0 0 1 2.423-.797 4.822 4.822 0 0 1 9.244 1.147 2.903 2.903 0 0 1 2 .68 3.01 3.01 0 0 1-1.95 5.282h-.002ZM3.498 6.708c-.57-.002-1.121.2-1.555.57A2.64 2.64 0 0 0 1 9.27a2.559 2.559 0 0 0 2.547 2.555h9.468A1.988 1.988 0 0 0 15 9.84a2.029 2.029 0 0 0-.682-1.536 2.07 2.07 0 0 0-1.729-.404l-.563.09-.016-.57a3.822 3.822 0 0 0-7.47-1.015l-.13.422-.434-.077a2.764 2.764 0 0 0-.477-.042Z"
|
|
14
|
+
})), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
15
|
+
id: "cloud-internet_svg__a"
|
|
16
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
17
|
+
d: "M0 0h16v16H0z"
|
|
18
|
+
}))));
|
|
19
|
+
|
|
20
|
+
export default SvgCloudInternet;
|
|
@@ -0,0 +1,20 @@
|
|
|
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 SvgCloudMulti = 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("g", {
|
|
11
|
+
clipPath: "url(#cloud-multi_svg__a)"
|
|
12
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
13
|
+
d: "M15.13 6.94a2.468 2.468 0 0 0-1.597-.571 3.99 3.99 0 0 0-6.726-2.227c-.03 0-.057-.004-.086-.004a3.972 3.972 0 0 0-3.677 2.429 2.865 2.865 0 0 0-1.958.67A3.047 3.047 0 0 0 0 9.54a2.977 2.977 0 0 0 2.97 2.97h7.65a2.51 2.51 0 0 0 2.095-1.13h.775a2.531 2.531 0 0 0 1.64-4.44Zm-4.509 4.57H2.965A1.973 1.973 0 0 1 1 9.54a2.037 2.037 0 0 1 .729-1.537 1.84 1.84 0 0 1 1.196-.44c.123.001.246.012.368.034l.434.075.13-.422a2.995 2.995 0 0 1 5.857.796l.015.57.564-.09a1.582 1.582 0 0 1 1.32.305A1.544 1.544 0 0 1 12.132 10a1.512 1.512 0 0 1-1.51 1.51Zm2.868-1.13H13.1a2.532 2.532 0 0 0-.838-2.31 2.469 2.469 0 0 0-1.596-.572 3.965 3.965 0 0 0-2.54-3.109 2.995 2.995 0 0 1 4.455 2.528l.016.57.564-.09a1.584 1.584 0 0 1 1.32.305 1.546 1.546 0 0 1 .076 2.236 1.512 1.512 0 0 1-1.068.443Z"
|
|
14
|
+
})), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
15
|
+
id: "cloud-multi_svg__a"
|
|
16
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
17
|
+
d: "M0 0h16v16H0z"
|
|
18
|
+
}))));
|
|
19
|
+
|
|
20
|
+
export default SvgCloudMulti;
|
package/es/reactsvgs/Spectrum.js
CHANGED
|
@@ -8,23 +8,23 @@ var SvgSpectrum = props => /*#__PURE__*/React.createElement("svg", _extends({},
|
|
|
8
8
|
"aria-hidden": !props['aria-label'],
|
|
9
9
|
focusable: "false"
|
|
10
10
|
}), /*#__PURE__*/React.createElement("path", {
|
|
11
|
-
d: "M8.222 14.947h-.445l-.18-.09c-.197-.1-4.88-2.5-4.88-7.38V3.942l.43-.5L3.5 3.4a6.98 6.98 0
|
|
11
|
+
d: "M8.222 14.947h-.445l-.18-.09c-.197-.1-4.88-2.5-4.88-7.38V3.942l.43-.5L3.5 3.4a6.98 6.98 0 0 0 3.832-1.9l.295-.33h.75l.293.33a6.955 6.955 0 0 0 3.842 1.9l.34.047.43.5v3.53c0 4.886-4.682 7.273-4.88 7.38l-.18.09Zm-4.5-10.572v3.102c0 4.085 3.795 6.208 4.283 6.463.5-.25 4.282-2.377 4.282-6.463V4.375A8 8 0 0 1 8 2.25a8 8 0 0 1-4.283 2.125h.005Z"
|
|
12
12
|
}), /*#__PURE__*/React.createElement("path", {
|
|
13
|
-
d: "M8.5 4.755h-1V6.96h1V4.
|
|
13
|
+
d: "M8.5 4.755h-1V6.96h1V4.755Z"
|
|
14
14
|
}), /*#__PURE__*/React.createElement("path", {
|
|
15
|
-
d: "M9.94 5.
|
|
15
|
+
d: "M9.94 5.352 8.38 6.91l.708.707 1.559-1.56-.707-.706Z"
|
|
16
16
|
}), /*#__PURE__*/React.createElement("path", {
|
|
17
|
-
d: "M11.245 7.5H9.04v1h2.205v-
|
|
17
|
+
d: "M11.245 7.5H9.04v1h2.205v-1Z"
|
|
18
18
|
}), /*#__PURE__*/React.createElement("path", {
|
|
19
|
-
d: "
|
|
19
|
+
d: "m9.09 8.38-.707.706 1.56 1.56.706-.707-1.559-1.56Z"
|
|
20
20
|
}), /*#__PURE__*/React.createElement("path", {
|
|
21
|
-
d: "M8.5 9.04h-1v2.205h1V9.
|
|
21
|
+
d: "M8.5 9.04h-1v2.205h1V9.04Z"
|
|
22
22
|
}), /*#__PURE__*/React.createElement("path", {
|
|
23
|
-
d: "
|
|
23
|
+
d: "m6.912 8.382-1.559 1.56.707.706L7.62 9.09l-.708-.707Z"
|
|
24
24
|
}), /*#__PURE__*/React.createElement("path", {
|
|
25
|
-
d: "M6.96 7.5H4.755v1H6.96v-
|
|
25
|
+
d: "M6.96 7.5H4.755v1H6.96v-1Z"
|
|
26
26
|
}), /*#__PURE__*/React.createElement("path", {
|
|
27
|
-
d: "
|
|
27
|
+
d: "m6.058 5.352-.708.707 1.56 1.56.707-.708-1.56-1.56Z"
|
|
28
28
|
}));
|
|
29
29
|
|
|
30
30
|
export default SvgSpectrum;
|
package/es/reactsvgs/index.js
CHANGED
|
@@ -21,6 +21,8 @@ import CaretUp from './CaretUp';
|
|
|
21
21
|
import CaseStudy from './CaseStudy';
|
|
22
22
|
import Chart from './Chart';
|
|
23
23
|
import Clipboard from './Clipboard';
|
|
24
|
+
import CloudInternet from './CloudInternet';
|
|
25
|
+
import CloudMulti from './CloudMulti';
|
|
24
26
|
import CloudflareAccess from './CloudflareAccess';
|
|
25
27
|
import CloudflareDex from './CloudflareDex';
|
|
26
28
|
import CloudflareMagicWan from './CloudflareMagicWan';
|
|
@@ -181,6 +183,8 @@ export default {
|
|
|
181
183
|
'case-study': CaseStudy,
|
|
182
184
|
chart: Chart,
|
|
183
185
|
clipboard: Clipboard,
|
|
186
|
+
'cloud-internet': CloudInternet,
|
|
187
|
+
'cloud-multi': CloudMulti,
|
|
184
188
|
'cloudflare-access': CloudflareAccess,
|
|
185
189
|
'cloudflare-dex': CloudflareDex,
|
|
186
190
|
'cloudflare-magic-wan': CloudflareMagicWan,
|
package/lib/Example.js
CHANGED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports.Spectrum = exports.CloudMulti = exports.CloudInternet = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _styleProvider = require("@cloudflare/style-provider");
|
|
11
|
+
|
|
12
|
+
var _Icon = _interopRequireDefault(require("./Icon"));
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
+
|
|
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
|
+
var _default = {
|
|
22
|
+
title: 'Example/Icon',
|
|
23
|
+
component: _Icon.default
|
|
24
|
+
};
|
|
25
|
+
exports.default = _default;
|
|
26
|
+
|
|
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
|
+
var CloudMulti = function CloudMulti() {
|
|
34
|
+
return /*#__PURE__*/_react.default.createElement(_Icon.default, {
|
|
35
|
+
type: "cloud-multi",
|
|
36
|
+
size: 36
|
|
37
|
+
});
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
exports.CloudMulti = CloudMulti;
|
|
41
|
+
CloudMulti.decorators = [withStyleProvider];
|
|
42
|
+
|
|
43
|
+
var CloudInternet = function CloudInternet() {
|
|
44
|
+
return /*#__PURE__*/_react.default.createElement(_Icon.default, {
|
|
45
|
+
type: "cloud-internet",
|
|
46
|
+
size: 36
|
|
47
|
+
});
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
exports.CloudInternet = CloudInternet;
|
|
51
|
+
CloudInternet.decorators = [withStyleProvider];
|
|
52
|
+
|
|
53
|
+
var Spectrum = function Spectrum() {
|
|
54
|
+
return /*#__PURE__*/_react.default.createElement(_Icon.default, {
|
|
55
|
+
type: "spectrum",
|
|
56
|
+
size: 36
|
|
57
|
+
});
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
exports.Spectrum = Spectrum;
|
|
61
|
+
Spectrum.decorators = [withStyleProvider];
|
|
@@ -0,0 +1,36 @@
|
|
|
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 SvgCloudInternet = function SvgCloudInternet(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("g", {
|
|
25
|
+
clipPath: "url(#cloud-internet_svg__a)"
|
|
26
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
27
|
+
d: "M13.015 12.825h-9.46A3.563 3.563 0 0 1 0 9.27a3.65 3.65 0 0 1 1.3-2.757 3.403 3.403 0 0 1 2.423-.797 4.822 4.822 0 0 1 9.244 1.147 2.903 2.903 0 0 1 2 .68 3.01 3.01 0 0 1-1.95 5.282h-.002ZM3.498 6.708c-.57-.002-1.121.2-1.555.57A2.64 2.64 0 0 0 1 9.27a2.559 2.559 0 0 0 2.547 2.555h9.468A1.988 1.988 0 0 0 15 9.84a2.029 2.029 0 0 0-.682-1.536 2.07 2.07 0 0 0-1.729-.404l-.563.09-.016-.57a3.822 3.822 0 0 0-7.47-1.015l-.13.422-.434-.077a2.764 2.764 0 0 0-.477-.042Z"
|
|
28
|
+
})), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
29
|
+
id: "cloud-internet_svg__a"
|
|
30
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
31
|
+
d: "M0 0h16v16H0z"
|
|
32
|
+
}))));
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
var _default = SvgCloudInternet;
|
|
36
|
+
exports.default = _default;
|
|
@@ -0,0 +1,36 @@
|
|
|
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 SvgCloudMulti = function SvgCloudMulti(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("g", {
|
|
25
|
+
clipPath: "url(#cloud-multi_svg__a)"
|
|
26
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
27
|
+
d: "M15.13 6.94a2.468 2.468 0 0 0-1.597-.571 3.99 3.99 0 0 0-6.726-2.227c-.03 0-.057-.004-.086-.004a3.972 3.972 0 0 0-3.677 2.429 2.865 2.865 0 0 0-1.958.67A3.047 3.047 0 0 0 0 9.54a2.977 2.977 0 0 0 2.97 2.97h7.65a2.51 2.51 0 0 0 2.095-1.13h.775a2.531 2.531 0 0 0 1.64-4.44Zm-4.509 4.57H2.965A1.973 1.973 0 0 1 1 9.54a2.037 2.037 0 0 1 .729-1.537 1.84 1.84 0 0 1 1.196-.44c.123.001.246.012.368.034l.434.075.13-.422a2.995 2.995 0 0 1 5.857.796l.015.57.564-.09a1.582 1.582 0 0 1 1.32.305A1.544 1.544 0 0 1 12.132 10a1.512 1.512 0 0 1-1.51 1.51Zm2.868-1.13H13.1a2.532 2.532 0 0 0-.838-2.31 2.469 2.469 0 0 0-1.596-.572 3.965 3.965 0 0 0-2.54-3.109 2.995 2.995 0 0 1 4.455 2.528l.016.57.564-.09a1.584 1.584 0 0 1 1.32.305 1.546 1.546 0 0 1 .076 2.236 1.512 1.512 0 0 1-1.068.443Z"
|
|
28
|
+
})), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
29
|
+
id: "cloud-multi_svg__a"
|
|
30
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
31
|
+
d: "M0 0h16v16H0z"
|
|
32
|
+
}))));
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
var _default = SvgCloudMulti;
|
|
36
|
+
exports.default = _default;
|
|
@@ -22,23 +22,23 @@ var SvgSpectrum = function SvgSpectrum(props) {
|
|
|
22
22
|
"aria-hidden": !props['aria-label'],
|
|
23
23
|
focusable: "false"
|
|
24
24
|
}), /*#__PURE__*/React.createElement("path", {
|
|
25
|
-
d: "M8.222 14.947h-.445l-.18-.09c-.197-.1-4.88-2.5-4.88-7.38V3.942l.43-.5L3.5 3.4a6.98 6.98 0
|
|
25
|
+
d: "M8.222 14.947h-.445l-.18-.09c-.197-.1-4.88-2.5-4.88-7.38V3.942l.43-.5L3.5 3.4a6.98 6.98 0 0 0 3.832-1.9l.295-.33h.75l.293.33a6.955 6.955 0 0 0 3.842 1.9l.34.047.43.5v3.53c0 4.886-4.682 7.273-4.88 7.38l-.18.09Zm-4.5-10.572v3.102c0 4.085 3.795 6.208 4.283 6.463.5-.25 4.282-2.377 4.282-6.463V4.375A8 8 0 0 1 8 2.25a8 8 0 0 1-4.283 2.125h.005Z"
|
|
26
26
|
}), /*#__PURE__*/React.createElement("path", {
|
|
27
|
-
d: "M8.5 4.755h-1V6.96h1V4.
|
|
27
|
+
d: "M8.5 4.755h-1V6.96h1V4.755Z"
|
|
28
28
|
}), /*#__PURE__*/React.createElement("path", {
|
|
29
|
-
d: "M9.94 5.
|
|
29
|
+
d: "M9.94 5.352 8.38 6.91l.708.707 1.559-1.56-.707-.706Z"
|
|
30
30
|
}), /*#__PURE__*/React.createElement("path", {
|
|
31
|
-
d: "M11.245 7.5H9.04v1h2.205v-
|
|
31
|
+
d: "M11.245 7.5H9.04v1h2.205v-1Z"
|
|
32
32
|
}), /*#__PURE__*/React.createElement("path", {
|
|
33
|
-
d: "
|
|
33
|
+
d: "m9.09 8.38-.707.706 1.56 1.56.706-.707-1.559-1.56Z"
|
|
34
34
|
}), /*#__PURE__*/React.createElement("path", {
|
|
35
|
-
d: "M8.5 9.04h-1v2.205h1V9.
|
|
35
|
+
d: "M8.5 9.04h-1v2.205h1V9.04Z"
|
|
36
36
|
}), /*#__PURE__*/React.createElement("path", {
|
|
37
|
-
d: "
|
|
37
|
+
d: "m6.912 8.382-1.559 1.56.707.706L7.62 9.09l-.708-.707Z"
|
|
38
38
|
}), /*#__PURE__*/React.createElement("path", {
|
|
39
|
-
d: "M6.96 7.5H4.755v1H6.96v-
|
|
39
|
+
d: "M6.96 7.5H4.755v1H6.96v-1Z"
|
|
40
40
|
}), /*#__PURE__*/React.createElement("path", {
|
|
41
|
-
d: "
|
|
41
|
+
d: "m6.058 5.352-.708.707 1.56 1.56.707-.708-1.56-1.56Z"
|
|
42
42
|
}));
|
|
43
43
|
};
|
|
44
44
|
|
package/lib/reactsvgs/index.js
CHANGED
|
@@ -51,6 +51,10 @@ var _Chart = _interopRequireDefault(require("./Chart"));
|
|
|
51
51
|
|
|
52
52
|
var _Clipboard = _interopRequireDefault(require("./Clipboard"));
|
|
53
53
|
|
|
54
|
+
var _CloudInternet = _interopRequireDefault(require("./CloudInternet"));
|
|
55
|
+
|
|
56
|
+
var _CloudMulti = _interopRequireDefault(require("./CloudMulti"));
|
|
57
|
+
|
|
54
58
|
var _CloudflareAccess = _interopRequireDefault(require("./CloudflareAccess"));
|
|
55
59
|
|
|
56
60
|
var _CloudflareDex = _interopRequireDefault(require("./CloudflareDex"));
|
|
@@ -349,6 +353,8 @@ var _default = {
|
|
|
349
353
|
'case-study': _CaseStudy.default,
|
|
350
354
|
chart: _Chart.default,
|
|
351
355
|
clipboard: _Clipboard.default,
|
|
356
|
+
'cloud-internet': _CloudInternet.default,
|
|
357
|
+
'cloud-multi': _CloudMulti.default,
|
|
352
358
|
'cloudflare-access': _CloudflareAccess.default,
|
|
353
359
|
'cloudflare-dex': _CloudflareDex.default,
|
|
354
360
|
'cloudflare-magic-wan': _CloudflareMagicWan.default,
|
package/package.json
CHANGED