@cloudflare/component-icon 13.14.0 → 13.15.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 +1 -1
- package/dist/reactsvgs/Collapse.d.ts +3 -0
- package/dist/reactsvgs/index.d.ts +1 -0
- package/es/reactsvgs/Collapse.js +20 -0
- package/es/reactsvgs/index.js +2 -0
- package/lib/reactsvgs/Collapse.js +36 -0
- package/lib/reactsvgs/index.js +3 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 13.15.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 625b95cb19: Add data-source-file attributes to JSX elements for a11y debugging (non-production only)
|
|
8
|
+
|
|
9
|
+
## 13.15.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- d6beb3b20e: Add the collapse icon
|
|
14
|
+
|
|
3
15
|
## 13.14.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/dist/Icon.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import IconComponents from './reactsvgs';
|
|
3
3
|
export declare type IconType = keyof typeof IconComponents;
|
|
4
4
|
declare const _default: React.ComponentType<{
|
|
5
|
-
type: "search" | "link" | "code" | "script" | "table" | "time" | "filter" | "image" | "right" | "none" | "download" | "target" | "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" | "apple-outline" | "applications" | "arrow-down" | "arrow-external-link" | "attention-outline" | "attention-solid" | "auto-rag-outline" | "backward" | "bolt-solid" | "bolt" | "bookmark-outline" | "bookmark-solid" | "byoip" | "calendar" | "calls" | "captcha-outline" | "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" | "change-outline" | "chart" | "clipboard" | "cloud-internet-solid" | "cloud-internet" | "cloud-multi" | "cloud-security" | "cloudflare-access" | "cloudflare-argo-smart-routing-outline" | "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" | "corner-down-right" | "credit-card" | "customer-service-outline" | "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-outline" | "garbage" | "gateway" | "gear" | "git-branch" | "github" | "globe" | "graduation-outline" | "hamburger" | "hide-eye" | "home" | "hyperdrive" | "inbox" | "info-sign" | "innovation-thinking-outline" | "innovation-thinking-solid" | "internet-browser" | "leaf" | "lighthouse-outline" | "linkedin" | "lock" | "logs" | "machine-learning-contextual-outline" | "magic-firewall" | "magic-network-monitoring" | "magic-transit-logo" | "mail" | "mcp-server-outline" | "media-play" | "minus" | "more" | "network-analytics-logo" | "network-security" | "network" | "no-edit" | "notifications" | "office-branch" | "ok-sign" | "ok" | "open-sidepanel-right" | "optimization-scale" | "organization-outline" | "overflow2solid" | "overflow-solid" | "pages-logo" | "performance-arrow-up" | "performance-cloud-speed-outline" | "phishing-outline" | "pin-outline" | "pin-solid" | "platform-apps" | "plus" | "podcast-microphone-outline" | "podcast-microphone-solid" | "preemptive-outline" | "price-outline" | "price-solid" | "printer" | "processing" | "product-security-center" | "pub-sub" | "pull-request" | "queues" | "r2outline" | "r2" | "refactor-outline" | "refresh" | "registrar-logo" | "reliability-dns" | "reliability-load-balancer" | "reliability-timer-outline" | "reliability-timer-solid" | "remove" | "reorder" | "replatform-outline" | "resize-horizontal" | "retarget" | "reusable-components" | "router" | "security-bots" | "security-fingerprint" | "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" | "timer" | "trace" | "traffic-attack-browser" | "turnstile" | "twitter" | "two-way" | "unlock-outline" | "upload" | "user-multi" | "user-outline" | "user" | "vectorize" | "virtual-machine-outline" | "waiting-room" | "warning-outline" | "warning-solid" | "warp" | "web-analytics-logo" | "web3" | "workers-bundled" | "workers-constellation" | "workers-durable-objects" | "workers-for-platforms" | "workers-kv" | "workers-pages" | "workers-unbound" | "wrangler" | "wrench" | "yes-check-outline" | "yes-check-solid" | "youtube" | "zaraz" | "zero-trust-risk-scoring" | "zerotrust-casb-logo" | "zerotrust-networks-logo";
|
|
5
|
+
type: "search" | "link" | "code" | "script" | "table" | "time" | "filter" | "image" | "right" | "none" | "download" | "target" | "list" | "version" | "key" | "left" | "revert" | "collapse" | "copy" | "help" | "add" | "subtract" | "warning" | "pause" | "dlp" | "account-analytics-logo" | "add-member" | "ai-audit" | "analytics-data" | "analytics-search" | "api-security" | "api" | "apple-outline" | "applications" | "arrow-down" | "arrow-external-link" | "attention-outline" | "attention-solid" | "auto-rag-outline" | "backward" | "bolt-solid" | "bolt" | "bookmark-outline" | "bookmark-solid" | "byoip" | "calendar" | "calls" | "captcha-outline" | "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" | "change-outline" | "chart" | "clipboard" | "cloud-internet-solid" | "cloud-internet" | "cloud-multi" | "cloud-security" | "cloudflare-access" | "cloudflare-argo-smart-routing-outline" | "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" | "corner-down-right" | "credit-card" | "customer-service-outline" | "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-outline" | "garbage" | "gateway" | "gear" | "git-branch" | "github" | "globe" | "graduation-outline" | "hamburger" | "hide-eye" | "home" | "hyperdrive" | "inbox" | "info-sign" | "innovation-thinking-outline" | "innovation-thinking-solid" | "internet-browser" | "leaf" | "lighthouse-outline" | "linkedin" | "lock" | "logs" | "machine-learning-contextual-outline" | "magic-firewall" | "magic-network-monitoring" | "magic-transit-logo" | "mail" | "mcp-server-outline" | "media-play" | "minus" | "more" | "network-analytics-logo" | "network-security" | "network" | "no-edit" | "notifications" | "office-branch" | "ok-sign" | "ok" | "open-sidepanel-right" | "optimization-scale" | "organization-outline" | "overflow2solid" | "overflow-solid" | "pages-logo" | "performance-arrow-up" | "performance-cloud-speed-outline" | "phishing-outline" | "pin-outline" | "pin-solid" | "platform-apps" | "plus" | "podcast-microphone-outline" | "podcast-microphone-solid" | "preemptive-outline" | "price-outline" | "price-solid" | "printer" | "processing" | "product-security-center" | "pub-sub" | "pull-request" | "queues" | "r2outline" | "r2" | "refactor-outline" | "refresh" | "registrar-logo" | "reliability-dns" | "reliability-load-balancer" | "reliability-timer-outline" | "reliability-timer-solid" | "remove" | "reorder" | "replatform-outline" | "resize-horizontal" | "retarget" | "reusable-components" | "router" | "security-bots" | "security-fingerprint" | "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" | "timer" | "trace" | "traffic-attack-browser" | "turnstile" | "twitter" | "two-way" | "unlock-outline" | "upload" | "user-multi" | "user-outline" | "user" | "vectorize" | "virtual-machine-outline" | "waiting-room" | "warning-outline" | "warning-solid" | "warp" | "web-analytics-logo" | "web3" | "workers-bundled" | "workers-constellation" | "workers-durable-objects" | "workers-for-platforms" | "workers-kv" | "workers-pages" | "workers-unbound" | "wrangler" | "wrench" | "yes-check-outline" | "yes-check-solid" | "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" | "table" | "time" | "filter" | "image" | "right" | "none" | "download" | "target" | "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" | "apple-outline" | "applications" | "arrow-down" | "arrow-external-link" | "attention-outline" | "attention-solid" | "auto-rag-outline" | "backward" | "bolt-solid" | "bolt" | "bookmark-outline" | "bookmark-solid" | "byoip" | "calendar" | "calls" | "captcha-outline" | "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" | "change-outline" | "chart" | "clipboard" | "cloud-internet-solid" | "cloud-internet" | "cloud-multi" | "cloud-security" | "cloudflare-access" | "cloudflare-argo-smart-routing-outline" | "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" | "corner-down-right" | "credit-card" | "customer-service-outline" | "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-outline" | "garbage" | "gateway" | "gear" | "git-branch" | "github" | "globe" | "graduation-outline" | "hamburger" | "hide-eye" | "home" | "hyperdrive" | "inbox" | "info-sign" | "innovation-thinking-outline" | "innovation-thinking-solid" | "internet-browser" | "leaf" | "lighthouse-outline" | "linkedin" | "lock" | "logs" | "machine-learning-contextual-outline" | "magic-firewall" | "magic-network-monitoring" | "magic-transit-logo" | "mail" | "mcp-server-outline" | "media-play" | "minus" | "more" | "network-analytics-logo" | "network-security" | "network" | "no-edit" | "notifications" | "office-branch" | "ok-sign" | "ok" | "open-sidepanel-right" | "optimization-scale" | "organization-outline" | "overflow2solid" | "overflow-solid" | "pages-logo" | "performance-arrow-up" | "performance-cloud-speed-outline" | "phishing-outline" | "pin-outline" | "pin-solid" | "platform-apps" | "plus" | "podcast-microphone-outline" | "podcast-microphone-solid" | "preemptive-outline" | "price-outline" | "price-solid" | "printer" | "processing" | "product-security-center" | "pub-sub" | "pull-request" | "queues" | "r2outline" | "r2" | "refactor-outline" | "refresh" | "registrar-logo" | "reliability-dns" | "reliability-load-balancer" | "reliability-timer-outline" | "reliability-timer-solid" | "remove" | "reorder" | "replatform-outline" | "resize-horizontal" | "retarget" | "reusable-components" | "router" | "security-bots" | "security-fingerprint" | "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" | "timer" | "trace" | "traffic-attack-browser" | "turnstile" | "twitter" | "two-way" | "unlock-outline" | "upload" | "user-multi" | "user-outline" | "user" | "vectorize" | "virtual-machine-outline" | "waiting-room" | "warning-outline" | "warning-solid" | "warp" | "web-analytics-logo" | "web3" | "workers-bundled" | "workers-constellation" | "workers-durable-objects" | "workers-for-platforms" | "workers-kv" | "workers-pages" | "workers-unbound" | "wrangler" | "wrench" | "yes-check-outline" | "yes-check-solid" | "youtube" | "zaraz" | "zero-trust-risk-scoring" | "zerotrust-casb-logo" | "zerotrust-networks-logo";
|
|
4
|
+
type: "search" | "link" | "code" | "script" | "table" | "time" | "filter" | "image" | "right" | "none" | "download" | "target" | "list" | "version" | "key" | "left" | "revert" | "collapse" | "copy" | "help" | "add" | "subtract" | "warning" | "pause" | "dlp" | "account-analytics-logo" | "add-member" | "ai-audit" | "analytics-data" | "analytics-search" | "api-security" | "api" | "apple-outline" | "applications" | "arrow-down" | "arrow-external-link" | "attention-outline" | "attention-solid" | "auto-rag-outline" | "backward" | "bolt-solid" | "bolt" | "bookmark-outline" | "bookmark-solid" | "byoip" | "calendar" | "calls" | "captcha-outline" | "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" | "change-outline" | "chart" | "clipboard" | "cloud-internet-solid" | "cloud-internet" | "cloud-multi" | "cloud-security" | "cloudflare-access" | "cloudflare-argo-smart-routing-outline" | "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" | "corner-down-right" | "credit-card" | "customer-service-outline" | "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-outline" | "garbage" | "gateway" | "gear" | "git-branch" | "github" | "globe" | "graduation-outline" | "hamburger" | "hide-eye" | "home" | "hyperdrive" | "inbox" | "info-sign" | "innovation-thinking-outline" | "innovation-thinking-solid" | "internet-browser" | "leaf" | "lighthouse-outline" | "linkedin" | "lock" | "logs" | "machine-learning-contextual-outline" | "magic-firewall" | "magic-network-monitoring" | "magic-transit-logo" | "mail" | "mcp-server-outline" | "media-play" | "minus" | "more" | "network-analytics-logo" | "network-security" | "network" | "no-edit" | "notifications" | "office-branch" | "ok-sign" | "ok" | "open-sidepanel-right" | "optimization-scale" | "organization-outline" | "overflow2solid" | "overflow-solid" | "pages-logo" | "performance-arrow-up" | "performance-cloud-speed-outline" | "phishing-outline" | "pin-outline" | "pin-solid" | "platform-apps" | "plus" | "podcast-microphone-outline" | "podcast-microphone-solid" | "preemptive-outline" | "price-outline" | "price-solid" | "printer" | "processing" | "product-security-center" | "pub-sub" | "pull-request" | "queues" | "r2outline" | "r2" | "refactor-outline" | "refresh" | "registrar-logo" | "reliability-dns" | "reliability-load-balancer" | "reliability-timer-outline" | "reliability-timer-solid" | "remove" | "reorder" | "replatform-outline" | "resize-horizontal" | "retarget" | "reusable-components" | "router" | "security-bots" | "security-fingerprint" | "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" | "timer" | "trace" | "traffic-attack-browser" | "turnstile" | "twitter" | "two-way" | "unlock-outline" | "upload" | "user-multi" | "user-outline" | "user" | "vectorize" | "virtual-machine-outline" | "waiting-room" | "warning-outline" | "warning-solid" | "warp" | "web-analytics-logo" | "web3" | "workers-bundled" | "workers-constellation" | "workers-durable-objects" | "workers-for-platforms" | "workers-kv" | "workers-pages" | "workers-unbound" | "wrangler" | "wrench" | "yes-check-outline" | "yes-check-solid" | "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;
|
|
@@ -60,6 +60,7 @@ declare const _default: {
|
|
|
60
60
|
'code-api-outline': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
61
61
|
'code-edit': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
62
62
|
code: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
63
|
+
collapse: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
63
64
|
connector: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
64
65
|
copy: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
65
66
|
'corner-down-right': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
|
|
@@ -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 SvgCollapse = props => /*#__PURE__*/React.createElement("svg", _extends({}, props, {
|
|
6
|
+
viewBox: "0 0 16 16",
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
"aria-hidden": !props['aria-label'],
|
|
9
|
+
focusable: "false"
|
|
10
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
11
|
+
d: "M6 5.293L2.207 1.5L1.5 2.207L5.293 6H3V7H7V3H6V5.293Z"
|
|
12
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
13
|
+
d: "M13 6H10.707L14.5 2.207L13.793 1.5L10 5.293V3H9V7H13V6Z"
|
|
14
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
15
|
+
d: "M13 10V9H9V13H10V10.707L13.793 14.5L14.5 13.793L10.707 10H13Z"
|
|
16
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
17
|
+
d: "M3 10H5.293L1.5 13.793L2.207 14.5L6 10.707V13H7V9H3V10Z"
|
|
18
|
+
}));
|
|
19
|
+
|
|
20
|
+
export default SvgCollapse;
|
package/es/reactsvgs/index.js
CHANGED
|
@@ -58,6 +58,7 @@ import CloudflareZeroTrust from './CloudflareZeroTrust';
|
|
|
58
58
|
import CodeApiOutline from './CodeApiOutline';
|
|
59
59
|
import CodeEdit from './CodeEdit';
|
|
60
60
|
import Code from './Code';
|
|
61
|
+
import Collapse from './Collapse';
|
|
61
62
|
import Connector from './Connector';
|
|
62
63
|
import Copy from './Copy';
|
|
63
64
|
import CornerDownRight from './CornerDownRight';
|
|
@@ -306,6 +307,7 @@ export default {
|
|
|
306
307
|
'code-api-outline': CodeApiOutline,
|
|
307
308
|
'code-edit': CodeEdit,
|
|
308
309
|
code: Code,
|
|
310
|
+
collapse: Collapse,
|
|
309
311
|
connector: Connector,
|
|
310
312
|
copy: Copy,
|
|
311
313
|
'corner-down-right': CornerDownRight,
|
|
@@ -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 SvgCollapse = function SvgCollapse(props) {
|
|
19
|
+
return /*#__PURE__*/React.createElement("svg", _extends({}, props, {
|
|
20
|
+
viewBox: "0 0 16 16",
|
|
21
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
22
|
+
"aria-hidden": !props['aria-label'],
|
|
23
|
+
focusable: "false"
|
|
24
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
25
|
+
d: "M6 5.293L2.207 1.5L1.5 2.207L5.293 6H3V7H7V3H6V5.293Z"
|
|
26
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
27
|
+
d: "M13 6H10.707L14.5 2.207L13.793 1.5L10 5.293V3H9V7H13V6Z"
|
|
28
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
29
|
+
d: "M13 10V9H9V13H10V10.707L13.793 14.5L14.5 13.793L10.707 10H13Z"
|
|
30
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
31
|
+
d: "M3 10H5.293L1.5 13.793L2.207 14.5L6 10.707V13H7V9H3V10Z"
|
|
32
|
+
}));
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
var _default = SvgCollapse;
|
|
36
|
+
exports.default = _default;
|
package/lib/reactsvgs/index.js
CHANGED
|
@@ -125,6 +125,8 @@ var _CodeEdit = _interopRequireDefault(require("./CodeEdit"));
|
|
|
125
125
|
|
|
126
126
|
var _Code = _interopRequireDefault(require("./Code"));
|
|
127
127
|
|
|
128
|
+
var _Collapse = _interopRequireDefault(require("./Collapse"));
|
|
129
|
+
|
|
128
130
|
var _Connector = _interopRequireDefault(require("./Connector"));
|
|
129
131
|
|
|
130
132
|
var _Copy = _interopRequireDefault(require("./Copy"));
|
|
@@ -562,6 +564,7 @@ var _default = {
|
|
|
562
564
|
'code-api-outline': _CodeApiOutline.default,
|
|
563
565
|
'code-edit': _CodeEdit.default,
|
|
564
566
|
code: _Code.default,
|
|
567
|
+
collapse: _Collapse.default,
|
|
565
568
|
connector: _Connector.default,
|
|
566
569
|
copy: _Copy.default,
|
|
567
570
|
'corner-down-right': _CornerDownRight.default,
|
package/package.json
CHANGED