@deque/cauldron-react 3.0.1 → 4.0.0-canary.debe968f

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.
Files changed (98) hide show
  1. package/lib/{add-user-075c63a1.js → add-user.js} +10 -12
  2. package/lib/arrow-circle.js +24 -0
  3. package/lib/{arrow-97011665.js → arrow.js} +13 -16
  4. package/lib/arrows-alt.js +24 -0
  5. package/lib/{bolt-e44406fd.js → bolt.js} +11 -12
  6. package/lib/cauldron.css +8 -8
  7. package/lib/{caution-e048e1bf.js → caution.js} +10 -12
  8. package/lib/{check-circle-8b5069b4.js → check-circle.js} +12 -13
  9. package/lib/{check-shield-8fdb3641.js → check-shield.js} +11 -13
  10. package/lib/{check-solid-a0682f04.js → check-solid.js} +12 -13
  11. package/lib/{check-c2912d5e.js → check.js} +12 -13
  12. package/lib/{checkbox-checked-a262e99c.js → checkbox-checked.js} +12 -13
  13. package/lib/{checkbox-unchecked-2ad5b4ae.js → checkbox-unchecked.js} +11 -12
  14. package/lib/chevron-double.js +24 -0
  15. package/lib/chevron.js +24 -0
  16. package/lib/{close-31ce4dcf.js → close.js} +12 -13
  17. package/lib/code.js +25 -0
  18. package/lib/components/Address/index.d.ts +38 -0
  19. package/lib/components/Breadcrumb/Breadcrumb.d.ts +11 -0
  20. package/lib/components/Breadcrumb/BreadcrumbItem.d.ts +5 -0
  21. package/lib/components/Breadcrumb/BreadcrumbLink.d.ts +6 -0
  22. package/lib/components/Breadcrumb/index.d.ts +3 -0
  23. package/lib/components/FieldWrap/index.d.ts +7 -0
  24. package/lib/components/Icon/types.d.ts +1 -1
  25. package/lib/components/IconButton/index.d.ts +10 -3
  26. package/lib/components/IssuePanel/index.d.ts +17 -0
  27. package/lib/components/Loader/index.d.ts +3 -3
  28. package/lib/components/LoaderOverlay/axe-loader.d.ts +1 -0
  29. package/lib/components/LoaderOverlay/index.d.ts +5 -1
  30. package/lib/components/Pagination/index.d.ts +20 -0
  31. package/lib/components/Panel/index.d.ts +13 -8
  32. package/lib/components/SideBar/SideBar.d.ts +1 -0
  33. package/lib/components/Stepper/index.d.ts +2 -0
  34. package/lib/components/Table/TableCell.d.ts +2 -2
  35. package/lib/components/Table/TableHeader.d.ts +8 -3
  36. package/lib/components/Tabs/Tabs.d.ts +7 -1
  37. package/lib/components/Tooltip/index.d.ts +1 -1
  38. package/lib/{copy-d2ade017.js → copy.js} +10 -12
  39. package/lib/{download-2790e982.js → download.js} +10 -12
  40. package/lib/exchange.js +24 -0
  41. package/lib/external-link.js +25 -0
  42. package/lib/{eye-a0d28243.js → eye.js} +10 -12
  43. package/lib/{filter-d2057f4c.js → filter.js} +10 -12
  44. package/lib/{flag-fb248a99.js → flag.js} +12 -13
  45. package/lib/gears.js +22 -0
  46. package/lib/{grid-ee446118.js → grid.js} +10 -12
  47. package/lib/{hamburger-menu-0fc0e266.js → hamburger-menu.js} +10 -11
  48. package/lib/highlight.js +24 -0
  49. package/lib/index.d.ts +5 -0
  50. package/lib/index.js +421 -169
  51. package/lib/{info-circle-alt-b1a696c7.js → info-circle-alt.js} +10 -12
  52. package/lib/{info-circle-b43f7a9b.js → info-circle.js} +11 -12
  53. package/lib/{info-square-f193e281.js → info-square.js} +10 -11
  54. package/lib/kabob.js +25 -0
  55. package/lib/{list-8fbd8209.js → list.js} +10 -11
  56. package/lib/{lock-bd0122db.js → lock.js} +12 -13
  57. package/lib/magnifying-glass.js +21 -0
  58. package/lib/{menu-2f2be7c2.js → menu.js} +11 -12
  59. package/lib/{new-releases-ac749bdd.js → new-releases.js} +13 -15
  60. package/lib/{new-6c3ac7d7.js → new.js} +11 -12
  61. package/lib/{no-bb3aa565.js → no.js} +12 -13
  62. package/lib/{pencil-4843058f.js → pencil.js} +11 -13
  63. package/lib/{plus-6589e613.js → plus.js} +11 -12
  64. package/lib/{question-circle-c3c634c4.js → question-circle.js} +11 -13
  65. package/lib/{radio-checked-006112fe.js → radio-checked.js} +11 -12
  66. package/lib/{radio-unchecked-a76e2d66.js → radio-unchecked.js} +11 -12
  67. package/lib/{recycle-0198fb67.js → recycle.js} +11 -12
  68. package/lib/robot.js +26 -0
  69. package/lib/run-again.js +23 -0
  70. package/lib/{save-edf5fc68.js → save.js} +12 -13
  71. package/lib/share.js +25 -0
  72. package/lib/sort-triangle.js +24 -0
  73. package/lib/{sort-49ec1442.js → sort.js} +11 -13
  74. package/lib/{star-a1af8d95.js → star.js} +11 -13
  75. package/lib/sun.js +24 -0
  76. package/lib/{tag-56c32f4f.js → tag.js} +11 -12
  77. package/lib/target.js +28 -0
  78. package/lib/trash.js +24 -0
  79. package/lib/{triangle-51d7723a.js → triangle.js} +14 -16
  80. package/lib/{upload-d71f0e44.js → upload.js} +10 -12
  81. package/lib/utils/polymorphic-type/index.d.ts +40 -0
  82. package/package.json +4 -4
  83. package/lib/arrow-circle-7b95a2fd.js +0 -27
  84. package/lib/arrows-alt-b91e24b7.js +0 -26
  85. package/lib/chevron-064d5f96.js +0 -26
  86. package/lib/chevron-double-65975fca.js +0 -26
  87. package/lib/code-e3365341.js +0 -26
  88. package/lib/exchange-1d290efb.js +0 -26
  89. package/lib/external-link-ef122c95.js +0 -26
  90. package/lib/gears-b9ee1585.js +0 -23
  91. package/lib/highlight-81bfb759.js +0 -26
  92. package/lib/kabob-692fdc00.js +0 -26
  93. package/lib/robot-22863b2b.js +0 -29
  94. package/lib/run-again-c9777075.js +0 -25
  95. package/lib/share-70e94257.js +0 -26
  96. package/lib/sun-408aecdc.js +0 -26
  97. package/lib/target-50f179e0.js +0 -35
  98. package/lib/trash-896a3291.js +0 -26
@@ -5,22 +5,21 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'defau
5
5
  var React = require('react');
6
6
  var React__default = _interopDefault(React);
7
7
 
8
+ var _path;
9
+
8
10
  function _extends() { _extends = Object.assign || 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); }
9
11
 
10
- var _ref = /*#__PURE__*/React.createElement("path", {
11
- d: "M17 3H5a2 2 0 00-2 2v14a2 2 0 002 2h14c1.1 0 2-.9 2-2V7l-4-4zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3zm3-10H5V5h10v4z",
12
+ const SvgSave = props => /*#__PURE__*/React.createElement("svg", _extends({
13
+ xmlns: "http://www.w3.org/2000/svg",
14
+ overflow: "visible",
15
+ preserveAspectRatio: "none",
16
+ viewBox: "0 0 24 24",
17
+ height: 24,
18
+ width: 24
19
+ }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
20
+ d: "M17 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V7l-4-4zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3zm3-10H5V5h10v4z",
12
21
  vectorEffect: "non-scaling-stroke",
13
22
  fill: "currentColor"
14
- });
15
-
16
- function SvgSave(props) {
17
- return /*#__PURE__*/React.createElement("svg", _extends({
18
- overflow: "visible",
19
- preserveAspectRatio: "none",
20
- viewBox: "0 0 24 24",
21
- width: 21,
22
- height: 21
23
- }, props), _ref);
24
- }
23
+ })));
25
24
 
26
25
  exports.default = SvgSave;
package/lib/share.js ADDED
@@ -0,0 +1,25 @@
1
+ 'use strict';
2
+
3
+ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
+
5
+ var React = require('react');
6
+ var React__default = _interopDefault(React);
7
+
8
+ var _path;
9
+
10
+ function _extends() { _extends = Object.assign || 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); }
11
+
12
+ const SvgShare = props => /*#__PURE__*/React.createElement("svg", _extends({
13
+ xmlns: "http://www.w3.org/2000/svg",
14
+ overflow: "visible",
15
+ preserveAspectRatio: "none",
16
+ viewBox: "0 0 24 24",
17
+ height: 24,
18
+ width: 24
19
+ }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
20
+ d: "M21.33 9.66c0-.18-.07-.35-.2-.47L15.8 3.86a.677.677 0 0 0-.95.03c-.11.12-.18.28-.18.44v2.66h-2.34c-4.95 0-7.98 1.4-9.11 4.2-.4 1.11-.58 2.29-.55 3.47.13 1.64.59 3.23 1.33 4.69l.1.25.14.31c.04.08.08.16.14.23.06.1.17.17.29.18.09 0 .18-.03.24-.1.06-.06.09-.14.09-.23.01-.09.01-.19 0-.28v-.24c-.07-.49-.1-.93-.1-1.32a8.5 8.5 0 0 1 .18-1.88c.1-.5.27-.98.5-1.44.21-.4.49-.75.83-1.05.33-.29.7-.53 1.1-.72.44-.2.9-.35 1.38-.44.53-.11 1.06-.18 1.6-.22.54-.04 1.15-.06 1.83-.06h2.33v2.65c0 .36.29.66.65.67.18 0 .35-.07.48-.2l5.33-5.33c.13-.12.2-.29.2-.47h.02z",
21
+ vectorEffect: "non-scaling-stroke",
22
+ fill: "currentColor"
23
+ })));
24
+
25
+ exports.default = SvgShare;
@@ -0,0 +1,24 @@
1
+ 'use strict';
2
+
3
+ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
+
5
+ var React = require('react');
6
+ var React__default = _interopDefault(React);
7
+
8
+ var _path;
9
+
10
+ function _extends() { _extends = Object.assign || 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); }
11
+
12
+ const SvgSortTriangle = props => /*#__PURE__*/React.createElement("svg", _extends({
13
+ overflow: "visible",
14
+ preserveAspectRatio: "none",
15
+ viewBox: "0 0 24 24",
16
+ height: 24,
17
+ width: 24
18
+ }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
19
+ d: "M17.13 13.54a.634.634 0 0 0-.47-.2H7.34c-.36 0-.66.29-.67.65 0 .18.07.35.2.48l4.66 4.66c.25.26.66.27.92.02l.02-.02 4.66-4.66c.26-.25.28-.65.03-.91-.01-.02-.02-.02-.03-.02zm0-4-4.66-4.66a.649.649 0 0 0-.92-.02l-.02.02-4.66 4.66c-.25.27-.24.69.03.95.12.11.28.18.44.18h9.33c.36 0 .66-.3.66-.66a.72.72 0 0 0-.2-.47z",
20
+ fill: "currentColor",
21
+ vectorEffect: "non-scaling-stroke"
22
+ })));
23
+
24
+ exports.default = SvgSortTriangle;
@@ -5,21 +5,19 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'defau
5
5
  var React = require('react');
6
6
  var React__default = _interopDefault(React);
7
7
 
8
+ var _path;
9
+
8
10
  function _extends() { _extends = Object.assign || 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); }
9
11
 
10
- var _ref = /*#__PURE__*/React.createElement("path", {
11
- d: "M9 3L5 6.99h3V14h2V6.99h3L9 3zm7 14.01V10h-2v7.01h-3L15 21l4-3.99h-3z",
12
+ const SvgSort = props => /*#__PURE__*/React.createElement("svg", _extends({
13
+ overflow: "visible",
14
+ preserveAspectRatio: "none",
15
+ viewBox: "0 0 24 24",
16
+ height: 24,
17
+ width: 24
18
+ }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
19
+ d: "M9 3 5 6.99h3V14h2V6.99h3L9 3zm7 14.01V10h-2v7.01h-3L15 21l4-3.99h-3z",
12
20
  fill: "currentColor"
13
- });
14
-
15
- function SvgSort(props) {
16
- return /*#__PURE__*/React.createElement("svg", _extends({
17
- overflow: "visible",
18
- preserveAspectRatio: "none",
19
- viewBox: "0 0 24 24",
20
- width: 16,
21
- height: 16
22
- }, props), _ref);
23
- }
21
+ })));
24
22
 
25
23
  exports.default = SvgSort;
@@ -5,22 +5,20 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'defau
5
5
  var React = require('react');
6
6
  var React__default = _interopDefault(React);
7
7
 
8
+ var _path;
9
+
8
10
  function _extends() { _extends = Object.assign || 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); }
9
11
 
10
- var _ref = /*#__PURE__*/React.createElement("path", {
11
- d: "M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z",
12
+ const SvgStar = props => /*#__PURE__*/React.createElement("svg", _extends({
13
+ overflow: "visible",
14
+ preserveAspectRatio: "none",
15
+ viewBox: "0 0 24 24",
16
+ height: 24,
17
+ width: 24
18
+ }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
19
+ d: "M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z",
12
20
  vectorEffect: "non-scaling-stroke",
13
21
  fill: "currentColor"
14
- });
15
-
16
- function SvgStar(props) {
17
- return /*#__PURE__*/React.createElement("svg", _extends({
18
- overflow: "visible",
19
- preserveAspectRatio: "none",
20
- viewBox: "0 0 24 24",
21
- width: 19,
22
- height: 18
23
- }, props), _ref);
24
- }
22
+ })));
25
23
 
26
24
  exports.default = SvgStar;
package/lib/sun.js ADDED
@@ -0,0 +1,24 @@
1
+ 'use strict';
2
+
3
+ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
+
5
+ var React = require('react');
6
+ var React__default = _interopDefault(React);
7
+
8
+ var _path;
9
+
10
+ function _extends() { _extends = Object.assign || 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); }
11
+
12
+ const SvgSun = props => /*#__PURE__*/React.createElement("svg", _extends({
13
+ overflow: "visible",
14
+ preserveAspectRatio: "none",
15
+ viewBox: "0 0 24 24",
16
+ height: 24,
17
+ width: 24
18
+ }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
19
+ d: "M17.5 14.35c-.6 1.45-1.75 2.6-3.2 3.2-1.49.63-3.16.63-4.65 0-1.45-.6-2.6-1.75-3.2-3.2a5.956 5.956 0 0 1 0-4.65c.6-1.45 1.75-2.6 3.2-3.2 1.49-.63 3.16-.63 4.65 0 1.45.6 2.6 1.75 3.2 3.2.63 1.49.63 3.16 0 4.65zm3.35.56c.05-.09.05-.21 0-.3l-1.87-2.58 1.87-2.58c.05-.09.05-.21 0-.3a.316.316 0 0 0-.21-.21l-3-1V4.75c0-.11-.05-.21-.14-.27a.319.319 0 0 0-.3 0l-3 1-1.95-2.65a.363.363 0 0 0-.51-.03l-.03.03-1.87 2.58-3-1a.319.319 0 0 0-.3 0c-.09.06-.14.16-.14.27v3.25l-3 1c-.1.03-.18.11-.21.21-.05.09-.05.21 0 .3l1.79 2.59-1.83 2.58c-.05.09-.05.21 0 .3.03.1.11.18.21.21l3 1v3.19c0 .11.05.21.14.27.09.05.21.05.3 0l3-1 1.87 2.58c.11.15.33.18.48.06.02-.02.05-.04.06-.06l1.87-2.58 3 1c.09.05.21.05.3 0 .09-.06.14-.16.14-.27v-3.19l3-1c.1-.03.18-.11.21-.21h.12z",
20
+ vectorEffect: "non-scaling-stroke",
21
+ fill: "currentColor"
22
+ })));
23
+
24
+ exports.default = SvgSun;
@@ -5,21 +5,20 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'defau
5
5
  var React = require('react');
6
6
  var React__default = _interopDefault(React);
7
7
 
8
+ var _path;
9
+
8
10
  function _extends() { _extends = Object.assign || 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); }
9
11
 
10
- var _ref = /*#__PURE__*/React.createElement("path", {
11
- d: "M21.41 11.58l-9-9C12.05 2.22 11.55 2 11 2H4c-1.1 0-2 .9-2 2v7c0 .55.22 1.05.59 1.42l9 9c.36.36.86.58 1.41.58.55 0 1.05-.22 1.41-.59l7-7c.37-.36.59-.86.59-1.41 0-.55-.23-1.06-.59-1.42zM5.5 7C4.67 7 4 6.33 4 5.5S4.67 4 5.5 4 7 4.67 7 5.5 6.33 7 5.5 7z",
12
+ const SvgTag = props => /*#__PURE__*/React.createElement("svg", _extends({
13
+ overflow: "visible",
14
+ preserveAspectRatio: "none",
15
+ viewBox: "0 0 24 24",
16
+ height: 24,
17
+ width: 24
18
+ }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
19
+ d: "m21.41 11.58-9-9C12.05 2.22 11.55 2 11 2H4c-1.1 0-2 .9-2 2v7c0 .55.22 1.05.59 1.42l9 9c.36.36.86.58 1.41.58.55 0 1.05-.22 1.41-.59l7-7c.37-.36.59-.86.59-1.41 0-.55-.23-1.06-.59-1.42zM5.5 7C4.67 7 4 6.33 4 5.5S4.67 4 5.5 4 7 4.67 7 5.5 6.33 7 5.5 7z",
12
20
  fill: "currentColor",
13
21
  vectorEffect: "non-scaling-stroke"
14
- });
15
-
16
- function SvgTag(props) {
17
- return /*#__PURE__*/React.createElement("svg", _extends({
18
- overflow: "visible",
19
- preserveAspectRatio: "none",
20
- width: 24,
21
- height: 24
22
- }, props), _ref);
23
- }
22
+ })));
24
23
 
25
24
  exports.default = SvgTag;
package/lib/target.js ADDED
@@ -0,0 +1,28 @@
1
+ 'use strict';
2
+
3
+ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
+
5
+ var React = require('react');
6
+ var React__default = _interopDefault(React);
7
+
8
+ var _defs, _path, _path2, _path3;
9
+
10
+ function _extends() { _extends = Object.assign || 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); }
11
+
12
+ const SvgTarget = props => /*#__PURE__*/React.createElement("svg", _extends({
13
+ xmlns: "http://www.w3.org/2000/svg",
14
+ viewBox: "0 0 239.97 239.95",
15
+ height: 24,
16
+ width: 24
17
+ }, props), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("style", null, ".cls-1{fill:currentColor}"))), _path || (_path = /*#__PURE__*/React.createElement("path", {
18
+ className: "cls-1",
19
+ d: "M0 119.77A119.89 119.89 0 0 1 120.26 0C187.31.16 240.15 54.93 240 120.1a120 120 0 1 1-240-.33zm20 .14c.42 55.4 44.42 100 100.08 100a99.92 99.92 0 0 0-.14-199.84c-55.4.03-99.51 44.42-99.94 99.84z"
20
+ })), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
21
+ className: "cls-1",
22
+ d: "M119.89 200c-43.65.46-79.94-36.33-80-79.94s36.62-80.2 80.2-80.12c43.79.09 80.17 36.71 80 80.32-.22 43.82-36.65 80.22-80.2 79.74zm-1.26-20c32.82 1.19 60.48-25.85 61.42-58.46.95-32.87-26.24-60.74-58.33-61.63C88.8 59 60.74 86 59.89 118.29 59 151.15 86 179.77 118.63 180z"
23
+ })), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", {
24
+ className: "cls-1",
25
+ d: "M119.88 80A40 40 0 1 1 80 120a40 40 0 0 1 39.88-40z"
26
+ })));
27
+
28
+ exports.default = SvgTarget;
package/lib/trash.js ADDED
@@ -0,0 +1,24 @@
1
+ 'use strict';
2
+
3
+ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
+
5
+ var React = require('react');
6
+ var React__default = _interopDefault(React);
7
+
8
+ var _path;
9
+
10
+ function _extends() { _extends = Object.assign || 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); }
11
+
12
+ const SvgTrash = props => /*#__PURE__*/React.createElement("svg", _extends({
13
+ overflow: "visible",
14
+ preserveAspectRatio: "none",
15
+ viewBox: "0 0 24 24",
16
+ height: 24,
17
+ width: 24
18
+ }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
19
+ d: "M9.91 17.24a.34.34 0 0 1-.24.09H9c-.18.01-.32-.13-.33-.31V9.67c-.01-.18.12-.33.3-.34h.7c.18-.01.32.13.33.31V17c0 .09-.03.18-.09.24zm2.67 0a.34.34 0 0 1-.24.09h-.67a.317.317 0 0 1-.34-.3V9.67c-.01-.18.13-.32.31-.33h.69c.18-.01.32.13.33.31V17c0 .09-.03.18-.09.24h.01zm2.67 0a.34.34 0 0 1-.24.09h-.68c-.18.01-.32-.13-.33-.31V9.67c-.01-.18.13-.32.31-.33H15c.18-.01.32.13.33.31V17c0 .09-.03.18-.09.24h.01zM10.18 5.45c.04-.06.11-.1.18-.11h3.3c.07.01.14.05.18.11l.5 1.22H9.67l.51-1.22zM19.33 7c.01-.18-.13-.32-.31-.33h-3.24l-.73-1.74c-.11-.27-.31-.5-.56-.66-.24-.17-.53-.26-.82-.27h-3.34c-.29.01-.58.1-.82.27-.25.16-.45.39-.56.66l-.73 1.74H5c-.18-.01-.32.13-.33.31v.69c-.01.18.13.32.31.33H6v9.91c-.01.53.16 1.05.49 1.47.27.38.71.61 1.18.62h8.66c.47-.01.91-.24 1.18-.63.33-.43.5-.96.49-1.5V8h1c.18.01.32-.13.33-.31V7z",
20
+ vectorEffect: "non-scaling-stroke",
21
+ fill: "currentColor"
22
+ })));
23
+
24
+ exports.default = SvgTrash;
@@ -5,23 +5,21 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'defau
5
5
  var React = require('react');
6
6
  var React__default = _interopDefault(React);
7
7
 
8
- function _extends() { _extends = Object.assign || 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); }
8
+ var _path;
9
9
 
10
- var _ref = /*#__PURE__*/React.createElement("path", {
11
- d: "M7 10l5 5 5-5z",
12
- vectorEffect: "non-scaling-stroke",
13
- fill: "currentColor"
14
- });
10
+ function _extends() { _extends = Object.assign || 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); }
15
11
 
16
- function SvgTriangle(props) {
17
- return /*#__PURE__*/React.createElement("svg", _extends({
18
- overflow: "visible",
19
- preserveAspectRatio: "none",
20
- viewBox: "0 0 24 24",
21
- width: 32,
22
- height: 32,
23
- transform: "rotate(270)"
24
- }, props), _ref);
25
- }
12
+ const SvgTriangle = props => /*#__PURE__*/React.createElement("svg", _extends({
13
+ xmlns: "http://www.w3.org/2000/svg",
14
+ overflow: "visible",
15
+ preserveAspectRatio: "none",
16
+ viewBox: "0 0 24 24",
17
+ height: 24,
18
+ width: 24
19
+ }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
20
+ d: "m7 10 5 5 5-5z",
21
+ fill: "currentColor",
22
+ vectorEffect: "non-scaling-stroke"
23
+ })));
26
24
 
27
25
  exports.default = SvgTriangle;
@@ -5,22 +5,20 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'defau
5
5
  var React = require('react');
6
6
  var React__default = _interopDefault(React);
7
7
 
8
+ var _path;
9
+
8
10
  function _extends() { _extends = Object.assign || 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); }
9
11
 
10
- var _ref = /*#__PURE__*/React.createElement("path", {
12
+ const SvgUpload = props => /*#__PURE__*/React.createElement("svg", _extends({
13
+ overflow: "visible",
14
+ preserveAspectRatio: "none",
15
+ viewBox: "0 0 512 512",
16
+ height: 24,
17
+ width: 24
18
+ }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
11
19
  d: "M296 384h-80c-13.3 0-24-10.7-24-24V192h-87.7c-17.8 0-26.7-21.5-14.1-34.1L242.3 5.7c7.5-7.5 19.8-7.5 27.3 0l152.2 152.2c12.6 12.6 3.7 34.1-14.1 34.1H320v168c0 13.3-10.7 24-24 24zm216-8v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h136v8c0 30.9 25.1 56 56 56h80c30.9 0 56-25.1 56-56v-8h136c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z",
12
20
  vectorEffect: "non-scaling-stroke",
13
21
  fill: "currentColor"
14
- });
15
-
16
- function SvgUpload(props) {
17
- return /*#__PURE__*/React.createElement("svg", _extends({
18
- overflow: "visible",
19
- preserveAspectRatio: "none",
20
- viewBox: "0 0 512 512",
21
- width: 20,
22
- height: 20
23
- }, props), _ref);
24
- }
22
+ })));
25
23
 
26
24
  exports.default = SvgUpload;
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Based on @radix-ui/polymorphic:
3
+ * https://github.com/radix-ui/primitives/blob/main/packages/react/polymorphic/src/polymorphic.ts
4
+ */
5
+ import * as React from 'react';
6
+ declare type Merge<P1 = {}, P2 = {}> = Omit<P1, keyof P2> & P2;
7
+ /**
8
+ * Infers the OwnProps if E is a ForwardRefExoticComponentWithAs
9
+ */
10
+ declare type OwnProps<E> = E extends ForwardRefComponent<any, infer P> ? P : {};
11
+ /**
12
+ * Infers the JSX.IntrinsicElement if E is a ForwardRefExoticComponentWithAs
13
+ */
14
+ declare type IntrinsicElement<E> = E extends ForwardRefComponent<infer I, any> ? I : never;
15
+ declare type ForwardRefExoticComponent<E, OwnProps> = React.ForwardRefExoticComponent<Merge<E extends React.ElementType ? React.ComponentPropsWithRef<E> : never, OwnProps & {
16
+ as?: E;
17
+ }>>;
18
+ interface ForwardRefComponent<IntrinsicElementString, OwnProps = {}
19
+ /**
20
+ * Extends original type to ensure built in React types play nice
21
+ * with polymorphic components still e.g. `React.ElementRef` etc.
22
+ */
23
+ > extends ForwardRefExoticComponent<IntrinsicElementString, OwnProps> {
24
+ /**
25
+ * When `as` prop is passed, use this overload.
26
+ * Merges original own props (without DOM props) and the inferred props
27
+ * from `as` element with the own props taking precendence.
28
+ *
29
+ * We explicitly avoid `React.ElementType` and manually narrow the prop types
30
+ * so that events are typed when using JSX.IntrinsicElements.
31
+ */
32
+ <As = IntrinsicElementString>(props: As extends '' ? {
33
+ as: keyof JSX.IntrinsicElements;
34
+ } : As extends React.ComponentType<infer P> ? Merge<P, OwnProps & {
35
+ as: As;
36
+ }> : As extends keyof JSX.IntrinsicElements ? Merge<JSX.IntrinsicElements[As], OwnProps & {
37
+ as: As;
38
+ }> : never): React.ReactElement | null;
39
+ }
40
+ export { ForwardRefComponent, OwnProps, IntrinsicElement, Merge };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deque/cauldron-react",
3
- "version": "3.0.1",
3
+ "version": "4.0.0-canary.debe968f",
4
4
  "description": "Fully accessible react components library for Deque Cauldron",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -43,8 +43,9 @@
43
43
  "@babel/preset-typescript": "^7.9.0",
44
44
  "@babel/register": "^7.9.0",
45
45
  "@rollup/plugin-commonjs": "^14.0.0",
46
+ "@rollup/plugin-dynamic-import-vars": "^1.4.2",
46
47
  "@rollup/plugin-typescript": "^5.0.2",
47
- "@svgr/rollup": "^5.4.0",
48
+ "@svgr/rollup": "^6.1.2",
48
49
  "@types/classnames": "^2.2.10",
49
50
  "@types/prop-types": "^15.7.3",
50
51
  "@types/react": "^16.9.34",
@@ -77,7 +78,6 @@
77
78
  "react-helmet": "^6.0.0",
78
79
  "react-router-dom": "^5.1.2",
79
80
  "rollup": "^2.23.0",
80
- "rollup-plugin-dynamic-import-variables": "^1.1.0",
81
81
  "sinon": "^10.0.0",
82
82
  "ts-node": "^8.9.1",
83
83
  "typescript": "^3.9.7"
@@ -124,4 +124,4 @@
124
124
  "\\.svg$": "<rootDir>/__tests__/svgMock.js"
125
125
  }
126
126
  }
127
- }
127
+ }
@@ -1,27 +0,0 @@
1
- 'use strict';
2
-
3
- function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
-
5
- var React = require('react');
6
- var React__default = _interopDefault(React);
7
-
8
- function _extends() { _extends = Object.assign || 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); }
9
-
10
- var _ref = /*#__PURE__*/React.createElement("path", {
11
- d: "M17.33 12.67c-.01.37-.3.66-.67.67h-5.22l2 2c.25.26.25.68 0 .94l-.95.95c-.26.25-.68.25-.94 0L6.8 12.47a.683.683 0 010-.94l4.72-4.72c.26-.25.68-.25.94 0l.95.95c.26.25.27.66.02.92l-.02.02-2 2h5.23c.37.01.66.3.67.67v1.33l.02-.03zM18.92 8A8.016 8.016 0 0016 5.08 7.798 7.798 0 0012 4c-1.41-.01-2.79.37-4 1.08-1.21.7-2.22 1.71-2.92 2.92A7.798 7.798 0 004 12c-.01 1.41.36 2.79 1.07 4 .7 1.21 1.71 2.22 2.93 2.92 1.21.71 2.59 1.09 4 1.08 1.41.01 2.79-.36 4-1.07 1.21-.7 2.22-1.71 2.92-2.93A7.798 7.798 0 0020 12c.01-1.41-.37-2.79-1.08-4z",
12
- vectorEffect: "non-scaling-stroke",
13
- fill: "currentColor"
14
- });
15
-
16
- function SvgArrowCircle(props) {
17
- return /*#__PURE__*/React.createElement("svg", _extends({
18
- overflow: "visible",
19
- preserveAspectRatio: "none",
20
- viewBox: "0 0 24 24",
21
- width: 17,
22
- height: 17,
23
- transform: "rotate(180)"
24
- }, props), _ref);
25
- }
26
-
27
- exports.default = SvgArrowCircle;
@@ -1,26 +0,0 @@
1
- 'use strict';
2
-
3
- function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
-
5
- var React = require('react');
6
- var React__default = _interopDefault(React);
7
-
8
- function _extends() { _extends = Object.assign || 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); }
9
-
10
- var _ref = /*#__PURE__*/React.createElement("path", {
11
- d: "M352.201 425.775l-79.196 79.196c-9.373 9.373-24.568 9.373-33.941 0l-79.196-79.196c-15.119-15.119-4.411-40.971 16.971-40.97h51.162L228 284H127.196v51.162c0 21.382-25.851 32.09-40.971 16.971L7.029 272.937c-9.373-9.373-9.373-24.569 0-33.941L86.225 159.8c15.119-15.119 40.971-4.411 40.971 16.971V228H228V127.196h-51.23c-21.382 0-32.09-25.851-16.971-40.971l79.196-79.196c9.373-9.373 24.568-9.373 33.941 0l79.196 79.196c15.119 15.119 4.411 40.971-16.971 40.971h-51.162V228h100.804v-51.162c0-21.382 25.851-32.09 40.97-16.971l79.196 79.196c9.373 9.373 9.373 24.569 0 33.941L425.773 352.2c-15.119 15.119-40.971 4.411-40.97-16.971V284H284v100.804h51.23c21.382 0 32.09 25.851 16.971 40.971z",
12
- vectorEffect: "non-scaling-stroke",
13
- fill: "currentColor"
14
- });
15
-
16
- function SvgArrowsAlt(props) {
17
- return /*#__PURE__*/React.createElement("svg", _extends({
18
- overflow: "visible",
19
- preserveAspectRatio: "none",
20
- viewBox: "0 0 512 512",
21
- width: 28,
22
- height: 28
23
- }, props), _ref);
24
- }
25
-
26
- exports.default = SvgArrowsAlt;
@@ -1,26 +0,0 @@
1
- 'use strict';
2
-
3
- function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
-
5
- var React = require('react');
6
- var React__default = _interopDefault(React);
7
-
8
- function _extends() { _extends = Object.assign || 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); }
9
-
10
- var _ref = /*#__PURE__*/React.createElement("path", {
11
- d: "M15.02 12a.35.35 0 00-.1-.24l-4.83-4.85a.332.332 0 00-.47-.01l-.01.01-.52.52c-.14.13-.14.33-.02.47l.01.01 4.1 4.09-4.1 4.09c-.13.13-.14.33-.01.47l.01.01.52.52c.13.13.33.14.47.01l.01-.01 4.85-4.85c.06-.07.09-.15.09-.24z",
12
- vectorEffect: "non-scaling-stroke",
13
- fill: "currentColor"
14
- });
15
-
16
- function SvgChevron(props) {
17
- return /*#__PURE__*/React.createElement("svg", _extends({
18
- overflow: "visible",
19
- preserveAspectRatio: "none",
20
- viewBox: "0 0 24 24",
21
- width: 25,
22
- height: 25
23
- }, props), _ref);
24
- }
25
-
26
- exports.default = SvgChevron;
@@ -1,26 +0,0 @@
1
- 'use strict';
2
-
3
- function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
-
5
- var React = require('react');
6
- var React__default = _interopDefault(React);
7
-
8
- function _extends() { _extends = Object.assign || 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); }
9
-
10
- var _ref = /*#__PURE__*/React.createElement("path", {
11
- d: "M13.02 12a.35.35 0 00-.1-.24L8.09 6.91a.332.332 0 00-.47-.01l-.01.01-.52.52c-.14.13-.14.33-.02.47l.01.01 4.1 4.09-4.08 4.09c-.13.13-.14.33-.01.47l.01.01.52.52c.13.13.33.14.47.01l.01-.01 4.85-4.85c.05-.07.07-.15.07-.24zm4 0a.35.35 0 00-.1-.24l-4.83-4.85a.332.332 0 00-.47-.01l-.01.01-.52.52c-.13.13-.14.33-.01.47l.01.01 4.1 4.09-4.09 4.09c-.13.13-.14.33-.01.47l.01.01.52.52c.13.13.33.14.47.01l.01-.01 4.85-4.85c.05-.07.07-.15.07-.24z",
12
- vectorEffect: "non-scaling-stroke",
13
- fill: "currentColor"
14
- });
15
-
16
- function SvgChevronDouble(props) {
17
- return /*#__PURE__*/React.createElement("svg", _extends({
18
- overflow: "visible",
19
- preserveAspectRatio: "none",
20
- viewBox: "0 0 24 24",
21
- width: 25,
22
- height: 25
23
- }, props), _ref);
24
- }
25
-
26
- exports.default = SvgChevronDouble;
@@ -1,26 +0,0 @@
1
- 'use strict';
2
-
3
- function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
-
5
- var React = require('react');
6
- var React__default = _interopDefault(React);
7
-
8
- function _extends() { _extends = Object.assign || 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); }
9
-
10
- var _ref = /*#__PURE__*/React.createElement("path", {
11
- d: "M8.43 16.59c.13-.13.14-.33.01-.47l-.01-.01-4.09-4.09 4.09-4.09c.13-.13.14-.33.01-.47l-.01-.01-.52-.52a.332.332 0 00-.47-.01l-.01.01-4.85 4.85c-.13.13-.14.33-.01.47l.01.01 4.85 4.85c.13.13.33.14.47.01l.01-.01.52-.52zm6.15-11.11c.04-.08.04-.18 0-.26a.353.353 0 00-.23-.2l-.65-.18a.331.331 0 00-.24 0c-.08.04-.13.12-.16.2L9.42 18.56c-.04.08-.04.18 0 .26.04.08.12.13.2.16l.65.18c.08.03.16.03.24 0 .08-.04.13-.12.16-.2l3.91-13.48zm6.84 6.78c.13-.13.14-.33.01-.47l-.01-.01-4.85-4.85a.332.332 0 00-.47-.01l-.01.01-.52.52c-.13.13-.14.33-.01.47l.01.01 4.09 4.09-4.09 4.09c-.13.13-.14.33-.01.47l.01.01.52.52c.13.13.33.14.47.01l.01-.01 4.85-4.85z",
12
- vectorEffect: "non-scaling-stroke",
13
- fill: "currentColor"
14
- });
15
-
16
- function SvgCode(props) {
17
- return /*#__PURE__*/React.createElement("svg", _extends({
18
- overflow: "visible",
19
- preserveAspectRatio: "none",
20
- viewBox: "0 0 24 24",
21
- width: 12,
22
- height: 12
23
- }, props), _ref);
24
- }
25
-
26
- exports.default = SvgCode;
@@ -1,26 +0,0 @@
1
- 'use strict';
2
-
3
- function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
-
5
- var React = require('react');
6
- var React__default = _interopDefault(React);
7
-
8
- function _extends() { _extends = Object.assign || 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); }
9
-
10
- var _ref = /*#__PURE__*/React.createElement("path", {
11
- d: "M21.33 14.34a.347.347 0 00-.33-.33H6.67v-2a.347.347 0 00-.33-.33.34.34 0 00-.24.09L2.77 15.1a.34.34 0 00-.09.24c0 .09.03.17.09.23l3.32 3.33c.07.06.16.1.25.1.18-.01.32-.15.33-.33v-2H21c.18-.01.32-.15.33-.33v-2zm0-5.66a.34.34 0 00-.09-.24l-3.33-3.32a.407.407 0 00-.25-.11.314.314 0 00-.33.3v2.02H3c-.18.01-.33.16-.33.34v2c0 .18.15.33.33.34h14.33v2c.01.18.15.32.33.33.09 0 .18-.03.24-.09l3.33-3.33a.34.34 0 00.09-.24h.01z",
12
- fill: "currentColor",
13
- vectorEffect: "non-scaling-stroke"
14
- });
15
-
16
- function SvgExchange(props) {
17
- return /*#__PURE__*/React.createElement("svg", _extends({
18
- overflow: "visible",
19
- preserveAspectRatio: "none",
20
- viewBox: "0 0 24 24",
21
- width: 13,
22
- height: 13
23
- }, props), _ref);
24
- }
25
-
26
- exports.default = SvgExchange;
@@ -1,26 +0,0 @@
1
- 'use strict';
2
-
3
- function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
-
5
- var React = require('react');
6
- var React__default = _interopDefault(React);
7
-
8
- function _extends() { _extends = Object.assign || 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); }
9
-
10
- var _ref = /*#__PURE__*/React.createElement("path", {
11
- d: "M17.33 13.67a.317.317 0 00-.3-.34h-.7c-.18-.01-.32.13-.33.31V17c0 .92-.75 1.67-1.67 1.67H5.67C4.75 18.67 4 17.92 4 17V8.34c0-.92.75-1.67 1.67-1.67H13c.18.01.32-.13.33-.31v-.69c.01-.18-.13-.32-.31-.33H5.67a2.9 2.9 0 00-2.12.88 2.9 2.9 0 00-.88 2.12V17c-.01.8.31 1.57.88 2.12a2.9 2.9 0 002.12.88h8.66c1.66 0 3-1.34 3-3v-3.33zm4-9a.683.683 0 00-.67-.67h-5.33c-.36 0-.66.29-.67.65 0 .18.07.35.2.48L16.7 7l-6.79 6.76c-.13.13-.14.33-.01.47l.01.01 1.19 1.19c.13.13.33.14.47.01l.01-.01 6.79-6.79 1.83 1.83c.27.25.69.24.95-.03.11-.12.18-.28.18-.44V4.67z",
12
- vectorEffect: "non-scaling-stroke",
13
- fill: "currentColor"
14
- });
15
-
16
- function SvgExternalLink(props) {
17
- return /*#__PURE__*/React.createElement("svg", _extends({
18
- overflow: "visible",
19
- preserveAspectRatio: "none",
20
- viewBox: "0 0 24 24",
21
- width: 17,
22
- height: 17
23
- }, props), _ref);
24
- }
25
-
26
- exports.default = SvgExternalLink;
@@ -1,23 +0,0 @@
1
- 'use strict';
2
-
3
- function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
-
5
- var React = require('react');
6
- var React__default = _interopDefault(React);
7
-
8
- function _extends() { _extends = Object.assign || 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); }
9
-
10
- var _ref = /*#__PURE__*/React.createElement("path", {
11
- d: "M19.22 15.56a.38.38 0 00-.22-.16l-2.31-.35a6.79 6.79 0 00-.52-1.21l.68-.88c.3-.37.51-.65.64-.83a.51.51 0 00.1-.29.41.41 0 00-.09-.28 17.53 17.53 0 00-2.08-2.14.48.48 0 00-.31-.12.41.41 0 00-.3.11L13 10.7a9.28 9.28 0 00-1.13-.47l-.35-2.31a.37.37 0 00-.15-.26.39.39 0 00-.3-.12h-2.8a.41.41 0 00-.45.35 18.64 18.64 0 00-.36 2.34 7.33 7.33 0 00-1.15.48L4.57 9.36a.58.58 0 00-.33-.12 3.06 3.06 0 00-1.24.89 14.32 14.32 0 00-1.21 1.36.53.53 0 00-.1.29.42.42 0 00.12.3c.55.68 1 1.26 1.34 1.74A6.06 6.06 0 002.68 15l-2.34.35a.35.35 0 00-.24.17.46.46 0 00-.1.29v2.79a.51.51 0 00.1.29.42.42 0 00.26.16l2.31.33a5.66 5.66 0 00.52 1.21c-.16.21-.37.5-.68.88s-.5.66-.64.84a.48.48 0 00-.09.29.49.49 0 00.08.29A17.27 17.27 0 003.94 25a.41.41 0 00.31.14.52.52 0 00.32-.11l1.77-1.34a11.37 11.37 0 001.14.47l.35 2.32a.34.34 0 00.15.26.44.44 0 00.31.11h2.79a.43.43 0 00.45-.35 18.64 18.64 0 00.36-2.34A7.36 7.36 0 0013 23.7l1.74 1.36a.52.52 0 00.32.11 2.94 2.94 0 001.21-.9 11.9 11.9 0 001.21-1.35.46.46 0 00.11-.29.53.53 0 00-.12-.32c-.61-.73-1.05-1.31-1.34-1.74a7.68 7.68 0 00.49-1.14l2.38-.35a.43.43 0 00.34-.45v-2.79a.43.43 0 00-.12-.28zm-7.28 3.91a3.22 3.22 0 01-4.54 0 3.23 3.23 0 010-4.54 3.22 3.22 0 014.55 0 3.56 3.56 0 01-.01 4.54zM29.73 5.16a.28.28 0 00-.06-.16.27.27 0 00-.16-.1l-1.44-.21a3.85 3.85 0 00-.32-.75c.1-.13.23-.32.42-.55s.32-.41.4-.52a.28.28 0 00.06-.18.26.26 0 00-.05-.17 11.58 11.58 0 00-1.29-1.33.35.35 0 00-.2-.07.27.27 0 00-.19.06L25.81 2a6.29 6.29 0 00-.71-.3L24.89.24a.22.22 0 00-.09-.16.25.25 0 00-.19-.08h-1.74a.26.26 0 00-.28.22 12.1 12.1 0 00-.22 1.45 5.74 5.74 0 00-.72.3l-1.08-.84a.35.35 0 00-.2-.07 2 2 0 00-.75.55 8.49 8.49 0 00-.75.84.4.4 0 00-.07.18.27.27 0 00.08.19c.34.42.62.78.83 1.08a4.09 4.09 0 00-.31.75l-1.4.22a.23.23 0 00-.15.1.3.3 0 00-.06.18v1.74a.32.32 0 00.06.18.22.22 0 00.16.09l1.44.21a3.32 3.32 0 00.32.75l-.42.55c-.19.23-.32.41-.4.52a.28.28 0 00-.06.18.35.35 0 00.05.18 11.4 11.4 0 001.29 1.31.3.3 0 00.2.08.31.31 0 00.19-.06l1.06-.88a5.46 5.46 0 00.7.3l.22 1.44a.26.26 0 00.09.16.28.28 0 00.19.07h1.74a.25.25 0 00.27-.22 12.13 12.13 0 00.23-1.45 5 5 0 00.71-.3l1.08.84a.36.36 0 00.2.06 1.73 1.73 0 00.75-.55 7.49 7.49 0 00.75-.84.24.24 0 00.07-.18.35.35 0 00-.07-.2 12.91 12.91 0 01-.84-1.08 4.49 4.49 0 00.31-.71l1.45-.22a.25.25 0 00.16-.1.34.34 0 000-.17v-1.7zm-4.58 2.25a2 2 0 01-2.82 0 2 2 0 010-2.82 2 2 0 012.82 0 2.23 2.23 0 010 2.82z",
12
- fill: "currentColor"
13
- });
14
-
15
- function SvgGears(props) {
16
- return /*#__PURE__*/React.createElement("svg", _extends({
17
- viewBox: "0 0 29.74 26.88",
18
- height: 20,
19
- width: 20
20
- }, props), _ref);
21
- }
22
-
23
- exports.default = SvgGears;