@cloudflare/component-icon 9.7.0 → 9.8.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
+ ## 9.8.0
4
+
5
+ ### Minor Changes
6
+
7
+ - aedcae7652: Pass props to queues icon
8
+
3
9
  ## 9.7.0
4
10
 
5
11
  ### Minor Changes
@@ -1,9 +1,13 @@
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
+
1
3
  import * as React from 'react';
2
4
 
3
- var SvgQueues = props => /*#__PURE__*/React.createElement("svg", {
5
+ var SvgQueues = props => /*#__PURE__*/React.createElement("svg", _extends({}, props, {
4
6
  viewBox: "0 0 16 16",
5
- xmlns: "http://www.w3.org/2000/svg"
6
- }, /*#__PURE__*/React.createElement("path", {
7
+ xmlns: "http://www.w3.org/2000/svg",
8
+ "aria-hidden": !props['aria-label'],
9
+ focusable: "false"
10
+ }), /*#__PURE__*/React.createElement("path", {
7
11
  d: "M4.37009 8.28924L1.98155 5.95722L1.32047 6.63432L2.40973 7.6978L0.591436 7.6978C0.264795 7.6978 -9.03979e-07 7.96259 -9.00084e-07 8.28923V8.28923C-8.96189e-07 8.61588 0.264795 8.88067 0.591437 8.88067L2.40973 8.88067L1.32071 9.94391L1.98179 10.621L4.37009 8.28924Z"
8
12
  }), /*#__PURE__*/React.createElement("path", {
9
13
  d: "M16 8.28924L13.6115 5.95722L12.9504 6.63432L14.0396 7.6978L12.2213 7.6978C11.8947 7.6978 11.6299 7.96259 11.6299 8.28923V8.28923C11.6299 8.61588 11.8947 8.88067 12.2213 8.88067L14.0396 8.88067L12.9506 9.94391L13.6117 10.621L16 8.28924Z"
@@ -13,11 +13,15 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
13
13
 
14
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
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
+
16
18
  var SvgQueues = function SvgQueues(props) {
17
- return /*#__PURE__*/React.createElement("svg", {
19
+ return /*#__PURE__*/React.createElement("svg", _extends({}, props, {
18
20
  viewBox: "0 0 16 16",
19
- xmlns: "http://www.w3.org/2000/svg"
20
- }, /*#__PURE__*/React.createElement("path", {
21
+ xmlns: "http://www.w3.org/2000/svg",
22
+ "aria-hidden": !props['aria-label'],
23
+ focusable: "false"
24
+ }), /*#__PURE__*/React.createElement("path", {
21
25
  d: "M4.37009 8.28924L1.98155 5.95722L1.32047 6.63432L2.40973 7.6978L0.591436 7.6978C0.264795 7.6978 -9.03979e-07 7.96259 -9.00084e-07 8.28923V8.28923C-8.96189e-07 8.61588 0.264795 8.88067 0.591437 8.88067L2.40973 8.88067L1.32071 9.94391L1.98179 10.621L4.37009 8.28924Z"
22
26
  }), /*#__PURE__*/React.createElement("path", {
23
27
  d: "M16 8.28924L13.6115 5.95722L12.9504 6.63432L14.0396 7.6978L12.2213 7.6978C11.8947 7.6978 11.6299 7.96259 11.6299 8.28923V8.28923C11.6299 8.61588 11.8947 8.88067 12.2213 8.88067L14.0396 8.88067L12.9506 9.94391L13.6117 10.621L16 8.28924Z"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudflare/component-icon",
3
3
  "description": "Cloudflare Icon Component",
4
- "version": "9.7.0",
4
+ "version": "9.8.0",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
7
7
  "author": "Frontend Team <frontend@cloudflare.com>",