@cloudflare/component-icon 12.11.0 → 12.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Change Log
2
2
 
3
+ ## 12.12.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 739944c589: Adds thumbs up/down svgs to the Icon component.
8
+
3
9
  ## 12.11.0
4
10
 
5
11
  ### 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" | "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-down" | "arrow-external-link" | "backward" | "bolt" | "byoip" | "calendar" | "calls" | "carbon" | "caret-double-left" | "caret-double-right" | "caret-down" | "caret-left" | "caret-right" | "caret-up" | "case-study" | "certificate" | "chart" | "clipboard" | "cloud-internet" | "cloud-multi" | "cloudflare-access" | "cloudflare-dex" | "cloudflare-email-security" | "cloudflare-magic-wan" | "cloudflare-security-application" | "cloudflare-security-network" | "cloudflare-zero-trust" | "code-edit" | "connector" | "credit-card" | "d1" | "ddos-attack" | "device-desktop" | "device-laptop" | "device-mobile" | "device-tablet" | "discord" | "discover" | "documentation" | "drive" | "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" | "inbox" | "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" | "router" | "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" | "vectorize" | "waiting-room" | "warp" | "web-analytics-logo" | "web3" | "workers-bundled" | "workers-constellation" | "workers-durable-objects" | "workers-for-platforms" | "workers-kv" | "workers-pages" | "workers-unbound" | "wrangler" | "wrench" | "youtube" | "zaraz" | "zero-trust-risk-scoring" | "zerotrust-casb-logo" | "zerotrust-networks-logo";
5
+ type: "search" | "link" | "code" | "script" | "time" | "filter" | "image" | "right" | "none" | "download" | "list" | "version" | "key" | "left" | "revert" | "copy" | "help" | "add" | "subtract" | "pause" | "dlp" | "timer" | "account-analytics-logo" | "add-member" | "api-security" | "api" | "applications" | "arrow-down" | "arrow-external-link" | "backward" | "bolt" | "byoip" | "calendar" | "calls" | "carbon" | "caret-double-left" | "caret-double-right" | "caret-down" | "caret-left" | "caret-right" | "caret-up" | "case-study" | "certificate" | "chart" | "clipboard" | "cloud-internet" | "cloud-multi" | "cloudflare-access" | "cloudflare-dex" | "cloudflare-email-security" | "cloudflare-magic-wan" | "cloudflare-security-application" | "cloudflare-security-network" | "cloudflare-zero-trust" | "code-edit" | "connector" | "credit-card" | "d1" | "ddos-attack" | "device-desktop" | "device-laptop" | "device-mobile" | "device-tablet" | "discord" | "discover" | "documentation" | "drive" | "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" | "inbox" | "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" | "router" | "security-bots" | "security-waf" | "server-origin" | "shield" | "spectrum" | "speech" | "star-outline" | "star" | "stream" | "tail-worker" | "teams" | "terraform" | "thumbs-down-outline" | "thumbs-down-solid" | "thumbs-up-outline" | "thumbs-up-solid" | "trace" | "traffic-attack-browser" | "turnstile" | "twitter" | "two-way" | "unlock-outline" | "upload" | "user-multi" | "user-outline" | "user" | "vectorize" | "waiting-room" | "warp" | "web-analytics-logo" | "web3" | "workers-bundled" | "workers-constellation" | "workers-durable-objects" | "workers-for-platforms" | "workers-kv" | "workers-pages" | "workers-unbound" | "wrangler" | "wrench" | "youtube" | "zaraz" | "zero-trust-risk-scoring" | "zerotrust-casb-logo" | "zerotrust-networks-logo";
6
6
  className?: string | undefined;
7
7
  ariaLabel?: string | undefined;
8
8
  label?: string | boolean | undefined;
@@ -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" | "pause" | "dlp" | "account-analytics-logo" | "add-member" | "api-security" | "api" | "applications" | "arrow-down" | "arrow-external-link" | "backward" | "bolt" | "byoip" | "calendar" | "calls" | "carbon" | "caret-double-left" | "caret-double-right" | "caret-down" | "caret-left" | "caret-right" | "caret-up" | "case-study" | "certificate" | "chart" | "clipboard" | "cloud-internet" | "cloud-multi" | "cloudflare-access" | "cloudflare-dex" | "cloudflare-email-security" | "cloudflare-magic-wan" | "cloudflare-security-application" | "cloudflare-security-network" | "cloudflare-zero-trust" | "code-edit" | "connector" | "credit-card" | "d1" | "ddos-attack" | "device-desktop" | "device-laptop" | "device-mobile" | "device-tablet" | "discord" | "discover" | "documentation" | "drive" | "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" | "inbox" | "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" | "router" | "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" | "vectorize" | "waiting-room" | "warp" | "web-analytics-logo" | "web3" | "workers-bundled" | "workers-constellation" | "workers-durable-objects" | "workers-for-platforms" | "workers-kv" | "workers-pages" | "workers-unbound" | "wrangler" | "wrench" | "youtube" | "zaraz" | "zero-trust-risk-scoring" | "zerotrust-casb-logo" | "zerotrust-networks-logo";
4
+ type: "search" | "link" | "code" | "script" | "time" | "filter" | "image" | "right" | "none" | "download" | "list" | "version" | "key" | "left" | "revert" | "copy" | "help" | "add" | "subtract" | "pause" | "dlp" | "timer" | "account-analytics-logo" | "add-member" | "api-security" | "api" | "applications" | "arrow-down" | "arrow-external-link" | "backward" | "bolt" | "byoip" | "calendar" | "calls" | "carbon" | "caret-double-left" | "caret-double-right" | "caret-down" | "caret-left" | "caret-right" | "caret-up" | "case-study" | "certificate" | "chart" | "clipboard" | "cloud-internet" | "cloud-multi" | "cloudflare-access" | "cloudflare-dex" | "cloudflare-email-security" | "cloudflare-magic-wan" | "cloudflare-security-application" | "cloudflare-security-network" | "cloudflare-zero-trust" | "code-edit" | "connector" | "credit-card" | "d1" | "ddos-attack" | "device-desktop" | "device-laptop" | "device-mobile" | "device-tablet" | "discord" | "discover" | "documentation" | "drive" | "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" | "inbox" | "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" | "router" | "security-bots" | "security-waf" | "server-origin" | "shield" | "spectrum" | "speech" | "star-outline" | "star" | "stream" | "tail-worker" | "teams" | "terraform" | "thumbs-down-outline" | "thumbs-down-solid" | "thumbs-up-outline" | "thumbs-up-solid" | "trace" | "traffic-attack-browser" | "turnstile" | "twitter" | "two-way" | "unlock-outline" | "upload" | "user-multi" | "user-outline" | "user" | "vectorize" | "waiting-room" | "warp" | "web-analytics-logo" | "web3" | "workers-bundled" | "workers-constellation" | "workers-durable-objects" | "workers-for-platforms" | "workers-kv" | "workers-pages" | "workers-unbound" | "wrangler" | "wrench" | "youtube" | "zaraz" | "zero-trust-risk-scoring" | "zerotrust-casb-logo" | "zerotrust-networks-logo";
5
5
  className?: string | undefined;
6
6
  ariaLabel?: string | undefined;
7
7
  label?: string | boolean | undefined;
@@ -105,3 +105,11 @@ export declare const Spectrum: {
105
105
  (): JSX.Element;
106
106
  decorators: ((Story: any) => JSX.Element)[];
107
107
  };
108
+ export declare const ThumbsUp: {
109
+ (): JSX.Element;
110
+ decorators: ((Story: any) => JSX.Element)[];
111
+ };
112
+ export declare const ThumbsDown: {
113
+ (): JSX.Element;
114
+ decorators: ((Story: any) => JSX.Element)[];
115
+ };
@@ -0,0 +1,3 @@
1
+ import { SVGProps } from 'react';
2
+ declare const SvgThumbsDownOutline: (props: SVGProps<SVGSVGElement>) => JSX.Element;
3
+ export default SvgThumbsDownOutline;
@@ -0,0 +1,3 @@
1
+ import { SVGProps } from 'react';
2
+ declare const SvgThumbsDownSolid: (props: SVGProps<SVGSVGElement>) => JSX.Element;
3
+ export default SvgThumbsDownSolid;
@@ -0,0 +1,3 @@
1
+ import { SVGProps } from 'react';
2
+ declare const SvgThumbsUpOutline: (props: SVGProps<SVGSVGElement>) => JSX.Element;
3
+ export default SvgThumbsUpOutline;
@@ -0,0 +1,3 @@
1
+ import { SVGProps } from 'react';
2
+ declare const SvgThumbsUpSolid: (props: SVGProps<SVGSVGElement>) => JSX.Element;
3
+ export default SvgThumbsUpSolid;
@@ -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;
@@ -138,8 +139,11 @@ declare const _default: {
138
139
  'tail-worker': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
139
140
  teams: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
140
141
  terraform: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
142
+ 'thumbs-down-outline': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
143
+ 'thumbs-down-solid': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
144
+ 'thumbs-up-outline': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
145
+ 'thumbs-up-solid': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
141
146
  time: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
142
- timer: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
143
147
  trace: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
144
148
  'traffic-attack-browser': (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
145
149
  turnstile: (props: import("react").SVGProps<SVGSVGElement>) => JSX.Element;
@@ -39,4 +39,20 @@ export var Spectrum = () => /*#__PURE__*/React.createElement(Icon, {
39
39
  type: "spectrum",
40
40
  size: 36
41
41
  });
42
- Spectrum.decorators = [withStyleProvider];
42
+ Spectrum.decorators = [withStyleProvider];
43
+ export var ThumbsUp = () => /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Icon, {
44
+ type: "thumbs-up-solid",
45
+ size: 36
46
+ }), /*#__PURE__*/React.createElement(Icon, {
47
+ type: "thumbs-up-outline",
48
+ size: 36
49
+ }));
50
+ ThumbsUp.decorators = [withStyleProvider];
51
+ export var ThumbsDown = () => /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Icon, {
52
+ type: "thumbs-down-solid",
53
+ size: 36
54
+ }), /*#__PURE__*/React.createElement(Icon, {
55
+ type: "thumbs-down-outline",
56
+ size: 36
57
+ }));
58
+ ThumbsDown.decorators = [withStyleProvider];
@@ -0,0 +1,15 @@
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 SvgThumbsDownOutline = props => /*#__PURE__*/React.createElement("svg", _extends({}, props, {
6
+ xmlns: "http://www.w3.org/2000/svg",
7
+ viewBox: "0 0 16 16",
8
+ "aria-hidden": !props['aria-label'],
9
+ focusable: "false"
10
+ }), /*#__PURE__*/React.createElement("path", {
11
+ fillRule: "evenodd",
12
+ d: "M8.75 15h1c1.14 0 2.088-1.103 1.735-2.261L10.8 10.5h2.7a1.5 1.5 0 0 0 1.05-2.571c.127-.196.2-.429.2-.679v-.125c0-.39-.162-.741-.422-.991.11-.186.172-.403.172-.634v-.125c0-.485-.252-.912-.631-1.157A1.36 1.36 0 0 0 14 3.625a1.31 1.31 0 0 0-.474-1.03A1.601 1.601 0 0 0 12.5 2.25H8.425l-2.675.823V2.25h-4v9h4v-.648c.234.095.473.252.716.472.416.376.798.893 1.127 1.435a13.077 13.077 0 0 1 1.023 2.115l.012.034.003.008v.002l.12.332Zm.696-1a14.58 14.58 0 0 0-.998-2.01c-.354-.582-.794-1.19-1.311-1.658-.394-.356-.86-.655-1.387-.775V4.119l2.825-.869H12.5a.61.61 0 0 1 .388.116c.066.054.112.13.112.259a.312.312 0 0 1-.112.26A.61.61 0 0 1 12.5 4H12v1h1.125c.207 0 .375.168.375.375V5.5a.25.25 0 0 1-.25.25H12v1h1.375c.207 0 .375.168.375.375v.125a.25.25 0 0 1-.25.25H12v1h1.5a.5.5 0 0 1 0 1H9v1h.755l.773 2.53c.137.45-.238.97-.778.97h-.304ZM4.75 3.25v7h-2v-7h2Z"
13
+ }));
14
+
15
+ export default SvgThumbsDownOutline;
@@ -0,0 +1,14 @@
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 SvgThumbsDownSolid = props => /*#__PURE__*/React.createElement("svg", _extends({}, props, {
6
+ xmlns: "http://www.w3.org/2000/svg",
7
+ viewBox: "0 0 16 16",
8
+ "aria-hidden": !props['aria-label'],
9
+ focusable: "false"
10
+ }), /*#__PURE__*/React.createElement("path", {
11
+ d: "m9.15 14.678.027.072h.573c.99 0 1.795-.958 1.495-1.938l-.782-2.562H13.5a1.25 1.25 0 0 0 .7-2.286.997.997 0 0 0 .3-.714v-.125c0-.397-.206-.746-.516-.946a.997.997 0 0 0 .266-.679v-.125c0-.486-.308-.9-.74-1.057.152-.184.24-.42.24-.693 0-.35-.145-.64-.383-.837A1.352 1.352 0 0 0 12.5 2.5H8.462l-2.712.835v6.937c.389.067.769.287 1.134.617.441.399.838.939 1.172 1.49a13.333 13.333 0 0 1 .99 2.019c.018.043.07.189.104.28ZM4.75 11H2V2.5h2.75V11Z"
12
+ }));
13
+
14
+ export default SvgThumbsDownSolid;
@@ -0,0 +1,15 @@
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 SvgThumbsUpOutline = props => /*#__PURE__*/React.createElement("svg", _extends({}, props, {
6
+ xmlns: "http://www.w3.org/2000/svg",
7
+ viewBox: "0 0 16 16",
8
+ "aria-hidden": !props['aria-label'],
9
+ focusable: "false"
10
+ }), /*#__PURE__*/React.createElement("path", {
11
+ fillRule: "evenodd",
12
+ d: "M8.75 1h1c1.14 0 2.088 1.103 1.735 2.261L10.8 5.5h2.7a1.5 1.5 0 0 1 1.05 2.571c.127.196.2.429.2.679v.125c0 .39-.162.741-.422.991.11.186.172.403.172.634v.125c0 .485-.252.912-.631 1.157.085.176.131.376.131.593 0 .424-.178.784-.474 1.03a1.601 1.601 0 0 1-1.026.345H8.425l-2.675-.823v.823h-4v-9h4v.647c.234-.093.473-.251.716-.471.416-.376.798-.893 1.127-1.435a13.081 13.081 0 0 0 1.035-2.15l.003-.007v-.002L8.752 1Zm.696 1a14.697 14.697 0 0 1-.998 2.01c-.354.582-.794 1.19-1.311 1.658-.394.356-.86.655-1.387.775v5.438l2.825.869H12.5a.61.61 0 0 0 .388-.116c.066-.054.112-.13.112-.259a.312.312 0 0 0-.112-.26A.61.61 0 0 0 12.5 12H12v-1h1.125a.375.375 0 0 0 .375-.375V10.5a.25.25 0 0 0-.25-.25H12v-1h1.375a.375.375 0 0 0 .375-.375V8.75a.25.25 0 0 0-.25-.25H12v-1h1.5a.5.5 0 0 0 0-1H9v-1h.755l.773-2.53c.137-.45-.238-.97-.778-.97h-.304ZM4.75 12.75v-7h-2v7h2Z"
13
+ }));
14
+
15
+ export default SvgThumbsUpOutline;
@@ -0,0 +1,14 @@
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 SvgThumbsUpSolid = props => /*#__PURE__*/React.createElement("svg", _extends({}, props, {
6
+ xmlns: "http://www.w3.org/2000/svg",
7
+ viewBox: "0 0 16 16",
8
+ "aria-hidden": !props['aria-label'],
9
+ focusable: "false"
10
+ }), /*#__PURE__*/React.createElement("path", {
11
+ d: "m9.15 1.323.027-.073h.573c.99 0 1.795.958 1.495 1.938l-.782 2.562H13.5a1.25 1.25 0 0 1 .7 2.286c.185.181.3.434.3.714v.125c0 .397-.206.746-.516.946a.997.997 0 0 1 .266.679v.125c0 .486-.308.9-.74 1.057.152.184.24.42.24.693 0 .35-.145.64-.383.837a1.352 1.352 0 0 1-.867.288H8.462l-2.712-.835V5.728c.389-.067.769-.287 1.134-.617.441-.399.838-.938 1.172-1.49a13.331 13.331 0 0 0 .99-2.019c.018-.043.07-.189.104-.28ZM4.75 5H2v8.5h2.75V5Z"
12
+ }));
13
+
14
+ export default SvgThumbsUpSolid;
@@ -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';
@@ -136,8 +137,11 @@ import Subtract from './Subtract';
136
137
  import TailWorker from './TailWorker';
137
138
  import Teams from './Teams';
138
139
  import Terraform from './Terraform';
140
+ import ThumbsDownOutline from './ThumbsDownOutline';
141
+ import ThumbsDownSolid from './ThumbsDownSolid';
142
+ import ThumbsUpOutline from './ThumbsUpOutline';
143
+ import ThumbsUpSolid from './ThumbsUpSolid';
139
144
  import Time from './Time';
140
- import Timer from './Timer';
141
145
  import Trace from './Trace';
142
146
  import TrafficAttackBrowser from './TrafficAttackBrowser';
143
147
  import Turnstile from './Turnstile';
@@ -170,6 +174,7 @@ import ZerotrustCasbLogo from './ZerotrustCasbLogo';
170
174
  import ZerotrustNetworksLogo from './ZerotrustNetworksLogo';
171
175
  export default {
172
176
  dlp: Dlp,
177
+ timer: Timer,
173
178
  'account-analytics-logo': AccountAnalyticsLogo,
174
179
  'add-member': AddMember,
175
180
  add: Add,
@@ -307,8 +312,11 @@ export default {
307
312
  'tail-worker': TailWorker,
308
313
  teams: Teams,
309
314
  terraform: Terraform,
315
+ 'thumbs-down-outline': ThumbsDownOutline,
316
+ 'thumbs-down-solid': ThumbsDownSolid,
317
+ 'thumbs-up-outline': ThumbsUpOutline,
318
+ 'thumbs-up-solid': ThumbsUpSolid,
310
319
  time: Time,
311
- timer: Timer,
312
320
  trace: Trace,
313
321
  'traffic-attack-browser': TrafficAttackBrowser,
314
322
  turnstile: Turnstile,
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.default = exports.Spectrum = exports.Inbox = exports.CloudflareEmailSecurity = exports.CloudMulti = exports.CloudInternet = void 0;
6
+ exports.default = exports.ThumbsUp = exports.ThumbsDown = exports.Spectrum = exports.Inbox = exports.CloudflareEmailSecurity = exports.CloudMulti = exports.CloudInternet = void 0;
7
7
 
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
 
@@ -78,4 +78,30 @@ var Spectrum = function Spectrum() {
78
78
  };
79
79
 
80
80
  exports.Spectrum = Spectrum;
81
- Spectrum.decorators = [withStyleProvider];
81
+ Spectrum.decorators = [withStyleProvider];
82
+
83
+ var ThumbsUp = function ThumbsUp() {
84
+ return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_Icon.default, {
85
+ type: "thumbs-up-solid",
86
+ size: 36
87
+ }), /*#__PURE__*/_react.default.createElement(_Icon.default, {
88
+ type: "thumbs-up-outline",
89
+ size: 36
90
+ }));
91
+ };
92
+
93
+ exports.ThumbsUp = ThumbsUp;
94
+ ThumbsUp.decorators = [withStyleProvider];
95
+
96
+ var ThumbsDown = function ThumbsDown() {
97
+ return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_Icon.default, {
98
+ type: "thumbs-down-solid",
99
+ size: 36
100
+ }), /*#__PURE__*/_react.default.createElement(_Icon.default, {
101
+ type: "thumbs-down-outline",
102
+ size: 36
103
+ }));
104
+ };
105
+
106
+ exports.ThumbsDown = ThumbsDown;
107
+ ThumbsDown.decorators = [withStyleProvider];
@@ -0,0 +1,31 @@
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 SvgThumbsDownOutline = function SvgThumbsDownOutline(props) {
19
+ return /*#__PURE__*/React.createElement("svg", _extends({}, props, {
20
+ xmlns: "http://www.w3.org/2000/svg",
21
+ viewBox: "0 0 16 16",
22
+ "aria-hidden": !props['aria-label'],
23
+ focusable: "false"
24
+ }), /*#__PURE__*/React.createElement("path", {
25
+ fillRule: "evenodd",
26
+ d: "M8.75 15h1c1.14 0 2.088-1.103 1.735-2.261L10.8 10.5h2.7a1.5 1.5 0 0 0 1.05-2.571c.127-.196.2-.429.2-.679v-.125c0-.39-.162-.741-.422-.991.11-.186.172-.403.172-.634v-.125c0-.485-.252-.912-.631-1.157A1.36 1.36 0 0 0 14 3.625a1.31 1.31 0 0 0-.474-1.03A1.601 1.601 0 0 0 12.5 2.25H8.425l-2.675.823V2.25h-4v9h4v-.648c.234.095.473.252.716.472.416.376.798.893 1.127 1.435a13.077 13.077 0 0 1 1.023 2.115l.012.034.003.008v.002l.12.332Zm.696-1a14.58 14.58 0 0 0-.998-2.01c-.354-.582-.794-1.19-1.311-1.658-.394-.356-.86-.655-1.387-.775V4.119l2.825-.869H12.5a.61.61 0 0 1 .388.116c.066.054.112.13.112.259a.312.312 0 0 1-.112.26A.61.61 0 0 1 12.5 4H12v1h1.125c.207 0 .375.168.375.375V5.5a.25.25 0 0 1-.25.25H12v1h1.375c.207 0 .375.168.375.375v.125a.25.25 0 0 1-.25.25H12v1h1.5a.5.5 0 0 1 0 1H9v1h.755l.773 2.53c.137.45-.238.97-.778.97h-.304ZM4.75 3.25v7h-2v-7h2Z"
27
+ }));
28
+ };
29
+
30
+ var _default = SvgThumbsDownOutline;
31
+ exports.default = _default;
@@ -0,0 +1,30 @@
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 SvgThumbsDownSolid = function SvgThumbsDownSolid(props) {
19
+ return /*#__PURE__*/React.createElement("svg", _extends({}, props, {
20
+ xmlns: "http://www.w3.org/2000/svg",
21
+ viewBox: "0 0 16 16",
22
+ "aria-hidden": !props['aria-label'],
23
+ focusable: "false"
24
+ }), /*#__PURE__*/React.createElement("path", {
25
+ d: "m9.15 14.678.027.072h.573c.99 0 1.795-.958 1.495-1.938l-.782-2.562H13.5a1.25 1.25 0 0 0 .7-2.286.997.997 0 0 0 .3-.714v-.125c0-.397-.206-.746-.516-.946a.997.997 0 0 0 .266-.679v-.125c0-.486-.308-.9-.74-1.057.152-.184.24-.42.24-.693 0-.35-.145-.64-.383-.837A1.352 1.352 0 0 0 12.5 2.5H8.462l-2.712.835v6.937c.389.067.769.287 1.134.617.441.399.838.939 1.172 1.49a13.333 13.333 0 0 1 .99 2.019c.018.043.07.189.104.28ZM4.75 11H2V2.5h2.75V11Z"
26
+ }));
27
+ };
28
+
29
+ var _default = SvgThumbsDownSolid;
30
+ exports.default = _default;
@@ -0,0 +1,31 @@
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 SvgThumbsUpOutline = function SvgThumbsUpOutline(props) {
19
+ return /*#__PURE__*/React.createElement("svg", _extends({}, props, {
20
+ xmlns: "http://www.w3.org/2000/svg",
21
+ viewBox: "0 0 16 16",
22
+ "aria-hidden": !props['aria-label'],
23
+ focusable: "false"
24
+ }), /*#__PURE__*/React.createElement("path", {
25
+ fillRule: "evenodd",
26
+ d: "M8.75 1h1c1.14 0 2.088 1.103 1.735 2.261L10.8 5.5h2.7a1.5 1.5 0 0 1 1.05 2.571c.127.196.2.429.2.679v.125c0 .39-.162.741-.422.991.11.186.172.403.172.634v.125c0 .485-.252.912-.631 1.157.085.176.131.376.131.593 0 .424-.178.784-.474 1.03a1.601 1.601 0 0 1-1.026.345H8.425l-2.675-.823v.823h-4v-9h4v.647c.234-.093.473-.251.716-.471.416-.376.798-.893 1.127-1.435a13.081 13.081 0 0 0 1.035-2.15l.003-.007v-.002L8.752 1Zm.696 1a14.697 14.697 0 0 1-.998 2.01c-.354.582-.794 1.19-1.311 1.658-.394.356-.86.655-1.387.775v5.438l2.825.869H12.5a.61.61 0 0 0 .388-.116c.066-.054.112-.13.112-.259a.312.312 0 0 0-.112-.26A.61.61 0 0 0 12.5 12H12v-1h1.125a.375.375 0 0 0 .375-.375V10.5a.25.25 0 0 0-.25-.25H12v-1h1.375a.375.375 0 0 0 .375-.375V8.75a.25.25 0 0 0-.25-.25H12v-1h1.5a.5.5 0 0 0 0-1H9v-1h.755l.773-2.53c.137-.45-.238-.97-.778-.97h-.304ZM4.75 12.75v-7h-2v7h2Z"
27
+ }));
28
+ };
29
+
30
+ var _default = SvgThumbsUpOutline;
31
+ exports.default = _default;
@@ -0,0 +1,30 @@
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 SvgThumbsUpSolid = function SvgThumbsUpSolid(props) {
19
+ return /*#__PURE__*/React.createElement("svg", _extends({}, props, {
20
+ xmlns: "http://www.w3.org/2000/svg",
21
+ viewBox: "0 0 16 16",
22
+ "aria-hidden": !props['aria-label'],
23
+ focusable: "false"
24
+ }), /*#__PURE__*/React.createElement("path", {
25
+ d: "m9.15 1.323.027-.073h.573c.99 0 1.795.958 1.495 1.938l-.782 2.562H13.5a1.25 1.25 0 0 1 .7 2.286c.185.181.3.434.3.714v.125c0 .397-.206.746-.516.946a.997.997 0 0 1 .266.679v.125c0 .486-.308.9-.74 1.057.152.184.24.42.24.693 0 .35-.145.64-.383.837a1.352 1.352 0 0 1-.867.288H8.462l-2.712-.835V5.728c.389-.067.769-.287 1.134-.617.441-.399.838-.938 1.172-1.49a13.331 13.331 0 0 0 .99-2.019c.018-.043.07-.189.104-.28ZM4.75 5H2v8.5h2.75V5Z"
26
+ }));
27
+ };
28
+
29
+ var _default = SvgThumbsUpSolid;
30
+ exports.default = _default;
@@ -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"));
@@ -281,9 +283,15 @@ var _Teams = _interopRequireDefault(require("./Teams"));
281
283
 
282
284
  var _Terraform = _interopRequireDefault(require("./Terraform"));
283
285
 
284
- var _Time = _interopRequireDefault(require("./Time"));
286
+ var _ThumbsDownOutline = _interopRequireDefault(require("./ThumbsDownOutline"));
285
287
 
286
- var _Timer = _interopRequireDefault(require("./Timer"));
288
+ var _ThumbsDownSolid = _interopRequireDefault(require("./ThumbsDownSolid"));
289
+
290
+ var _ThumbsUpOutline = _interopRequireDefault(require("./ThumbsUpOutline"));
291
+
292
+ var _ThumbsUpSolid = _interopRequireDefault(require("./ThumbsUpSolid"));
293
+
294
+ var _Time = _interopRequireDefault(require("./Time"));
287
295
 
288
296
  var _Trace = _interopRequireDefault(require("./Trace"));
289
297
 
@@ -349,6 +357,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
349
357
 
350
358
  var _default = {
351
359
  dlp: _Dlp.default,
360
+ timer: _Timer.default,
352
361
  'account-analytics-logo': _AccountAnalyticsLogo.default,
353
362
  'add-member': _AddMember.default,
354
363
  add: _Add.default,
@@ -486,8 +495,11 @@ var _default = {
486
495
  'tail-worker': _TailWorker.default,
487
496
  teams: _Teams.default,
488
497
  terraform: _Terraform.default,
498
+ 'thumbs-down-outline': _ThumbsDownOutline.default,
499
+ 'thumbs-down-solid': _ThumbsDownSolid.default,
500
+ 'thumbs-up-outline': _ThumbsUpOutline.default,
501
+ 'thumbs-up-solid': _ThumbsUpSolid.default,
489
502
  time: _Time.default,
490
- timer: _Timer.default,
491
503
  trace: _Trace.default,
492
504
  'traffic-attack-browser': _TrafficAttackBrowser.default,
493
505
  turnstile: _Turnstile.default,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudflare/component-icon",
3
3
  "description": "Cloudflare Icon Component",
4
- "version": "12.11.0",
4
+ "version": "12.12.0",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
7
7
  "author": "Frontend Team <frontend@cloudflare.com>",