@deque/cauldron-react 3.0.1-canary.43fb6953 → 3.0.1-canary.44fffaab

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 (79) 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/IssuePanel/index.d.ts +17 -0
  19. package/lib/components/Pagination/index.d.ts +20 -0
  20. package/lib/components/Panel/index.d.ts +12 -8
  21. package/lib/{copy-d2ade017.js → copy.js} +10 -12
  22. package/lib/{download-2790e982.js → download.js} +10 -12
  23. package/lib/exchange.js +24 -0
  24. package/lib/external-link.js +25 -0
  25. package/lib/{eye-a0d28243.js → eye.js} +10 -12
  26. package/lib/{filter-d2057f4c.js → filter.js} +10 -12
  27. package/lib/{flag-fb248a99.js → flag.js} +12 -13
  28. package/lib/gears.js +22 -0
  29. package/lib/{grid-ee446118.js → grid.js} +10 -12
  30. package/lib/{hamburger-menu-0fc0e266.js → hamburger-menu.js} +10 -11
  31. package/lib/highlight.js +24 -0
  32. package/lib/index.d.ts +2 -0
  33. package/lib/index.js +151 -81
  34. package/lib/{info-circle-alt-b1a696c7.js → info-circle-alt.js} +10 -12
  35. package/lib/{info-circle-b43f7a9b.js → info-circle.js} +11 -12
  36. package/lib/{info-square-f193e281.js → info-square.js} +10 -11
  37. package/lib/kabob.js +25 -0
  38. package/lib/{list-8fbd8209.js → list.js} +10 -11
  39. package/lib/{lock-bd0122db.js → lock.js} +12 -13
  40. package/lib/{magnifying-glass-2907fb77.js → magnifying-glass.js} +9 -11
  41. package/lib/{menu-2f2be7c2.js → menu.js} +11 -12
  42. package/lib/{new-releases-ac749bdd.js → new-releases.js} +13 -15
  43. package/lib/{new-6c3ac7d7.js → new.js} +11 -12
  44. package/lib/{no-bb3aa565.js → no.js} +12 -13
  45. package/lib/{pencil-4843058f.js → pencil.js} +11 -13
  46. package/lib/{plus-6589e613.js → plus.js} +11 -12
  47. package/lib/{question-circle-c3c634c4.js → question-circle.js} +11 -13
  48. package/lib/{radio-checked-006112fe.js → radio-checked.js} +11 -12
  49. package/lib/{radio-unchecked-a76e2d66.js → radio-unchecked.js} +11 -12
  50. package/lib/{recycle-0198fb67.js → recycle.js} +11 -12
  51. package/lib/robot.js +26 -0
  52. package/lib/run-again.js +23 -0
  53. package/lib/{save-edf5fc68.js → save.js} +12 -13
  54. package/lib/share.js +25 -0
  55. package/lib/{sort-49ec1442.js → sort.js} +11 -13
  56. package/lib/{star-a1af8d95.js → star.js} +11 -13
  57. package/lib/sun.js +24 -0
  58. package/lib/{tag-56c32f4f.js → tag.js} +11 -12
  59. package/lib/target.js +28 -0
  60. package/lib/trash.js +24 -0
  61. package/lib/{triangle-51d7723a.js → triangle.js} +14 -16
  62. package/lib/{upload-d71f0e44.js → upload.js} +10 -12
  63. package/package.json +3 -3
  64. package/lib/arrow-circle-7b95a2fd.js +0 -27
  65. package/lib/arrows-alt-b91e24b7.js +0 -26
  66. package/lib/chevron-064d5f96.js +0 -26
  67. package/lib/chevron-double-65975fca.js +0 -26
  68. package/lib/code-e3365341.js +0 -26
  69. package/lib/exchange-1d290efb.js +0 -26
  70. package/lib/external-link-ef122c95.js +0 -26
  71. package/lib/gears-b9ee1585.js +0 -23
  72. package/lib/highlight-81bfb759.js +0 -26
  73. package/lib/kabob-692fdc00.js +0 -26
  74. package/lib/robot-22863b2b.js +0 -29
  75. package/lib/run-again-c9777075.js +0 -25
  76. package/lib/share-70e94257.js +0 -26
  77. package/lib/sun-408aecdc.js +0 -26
  78. package/lib/target-50f179e0.js +0 -35
  79. package/lib/trash-896a3291.js +0 -26
@@ -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 SvgAddUser = 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", {
11
19
  d: "M15 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm-9-2V7H4v3H1v2h3v3h2v-3h3v-2H6zm9 4c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z",
12
20
  vectorEffect: "non-scaling-stroke",
13
21
  fill: "currentColor"
14
- });
15
-
16
- function SvgAddUser(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: 19
23
- }, props), _ref);
24
- }
22
+ })));
25
23
 
26
24
  exports.default = SvgAddUser;
@@ -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 SvgArrowCircle = 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.37 12c0 .18-.06.35-.19.47l-4.71 4.73c-.26.25-.68.25-.94 0l-4.71-4.72a.683.683 0 0 1 0-.94l.95-.95c.25-.26.66-.27.92-.02l.02.02 2 2V7.34c.01-.37.3-.66.67-.67h1.33c.37.01.66.3.67.67v5.23l2-2c.26-.25.68-.25.94 0l.95.95c.13.12.19.29.19.47l-.09.01zm1.55-4A8.016 8.016 0 0 0 16 5.08 7.798 7.798 0 0 0 12 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 0 0 4 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 0 0 20 12c.01-1.41-.37-2.79-1.08-4z",
20
+ fill: "currentColor",
21
+ vectorEffect: "non-scaling-stroke"
22
+ })));
23
+
24
+ exports.default = SvgArrowCircle;
@@ -5,23 +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
- 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: "M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z",
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 SvgArrow(props) {
17
- return /*#__PURE__*/React.createElement("svg", _extends({
18
- overflow: "visible",
19
- preserveAspectRatio: "none",
20
- viewBox: "0 0 24 24",
21
- width: 28,
22
- height: 28,
23
- transform: "rotate(180)"
24
- }, props), _ref);
25
- }
12
+ const SvgArrow = 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: "m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z",
20
+ fill: "currentColor",
21
+ vectorEffect: "non-scaling-stroke"
22
+ })));
26
23
 
27
24
  exports.default = SvgArrow;
@@ -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 SvgArrowsAlt = 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", {
19
+ d: "m352.201 425.775-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",
20
+ vectorEffect: "non-scaling-stroke",
21
+ fill: "currentColor"
22
+ })));
23
+
24
+ exports.default = SvgArrowsAlt;
@@ -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", {
12
+ const SvgBolt = 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", {
11
20
  d: "M7 2v11h3v9l7-12h-4l4-8z",
12
21
  vectorEffect: "non-scaling-stroke",
13
22
  fill: "currentColor"
14
- });
15
-
16
- function SvgBolt(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: 19
23
- }, props), _ref);
24
- }
23
+ })));
25
24
 
26
25
  exports.default = SvgBolt;
package/lib/cauldron.css CHANGED
@@ -48,19 +48,19 @@ a.Button--primary {
48
48
  display: block;
49
49
  }
50
50
 
51
- /* Icon--right is the default orientation */
51
+ /* Icon--down is the default orientation */
52
52
 
53
- .Icon__right {
54
- }
55
-
56
- .Icon__left {
57
- transform: scaleX(-1);
53
+ .Icon__down {
58
54
  }
59
55
 
60
56
  .Icon__up {
61
- transform: rotate(-90deg);
57
+ transform: scaleY(-1);
62
58
  }
63
59
 
64
- .Icon__down {
60
+ .Icon__left {
65
61
  transform: rotate(90deg);
66
62
  }
63
+
64
+ .Icon__right {
65
+ transform: rotate(-90deg);
66
+ }
@@ -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 SvgCaution = 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", {
11
19
  d: "M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z",
12
20
  vectorEffect: "non-scaling-stroke",
13
21
  fill: "currentColor"
14
- });
15
-
16
- function SvgCaution(props) {
17
- return /*#__PURE__*/React.createElement("svg", _extends({
18
- overflow: "visible",
19
- preserveAspectRatio: "none",
20
- viewBox: "0 0 24 24",
21
- width: 18,
22
- height: 18
23
- }, props), _ref);
24
- }
22
+ })));
25
23
 
26
24
  exports.default = SvgCaution;
@@ -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: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z",
12
+ const SvgCheckCircle = 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: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z",
12
21
  vectorEffect: "non-scaling-stroke",
13
22
  fill: "currentColor"
14
- });
15
-
16
- function SvgCheckCircle(props) {
17
- return /*#__PURE__*/React.createElement("svg", _extends({
18
- overflow: "visible",
19
- preserveAspectRatio: "none",
20
- viewBox: "0 0 24 24",
21
- width: 20,
22
- height: 20
23
- }, props), _ref);
24
- }
23
+ })));
25
24
 
26
25
  exports.default = SvgCheckCircle;
@@ -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 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm-2 16l-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9l-8 8z",
12
+ const SvgCheckShield = 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 1 3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm-2 16-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9l-8 8z",
12
20
  vectorEffect: "non-scaling-stroke",
13
21
  fill: "currentColor"
14
- });
15
-
16
- function SvgCheckShield(props) {
17
- return /*#__PURE__*/React.createElement("svg", _extends({
18
- overflow: "visible",
19
- preserveAspectRatio: "none",
20
- viewBox: "0 0 24 24",
21
- width: 15,
22
- height: 15
23
- }, props), _ref);
24
- }
22
+ })));
25
23
 
26
24
  exports.default = SvgCheckShield;
@@ -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: "M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z",
12
+ const SvgCheckSolid = props => /*#__PURE__*/React.createElement("svg", _extends({
13
+ xmlns: "http://www.w3.org/2000/svg",
14
+ overflow: "visible",
15
+ preserveAspectRatio: "none",
16
+ viewBox: "0 0 512 512",
17
+ height: 24,
18
+ width: 24
19
+ }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
20
+ d: "m173.898 439.404-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z",
12
21
  vectorEffect: "non-scaling-stroke",
13
22
  fill: "currentColor"
14
- });
15
-
16
- function SvgCheckSolid(props) {
17
- return /*#__PURE__*/React.createElement("svg", _extends({
18
- overflow: "visible",
19
- preserveAspectRatio: "none",
20
- viewBox: "0 0 512 512",
21
- width: 18,
22
- height: 18
23
- }, props), _ref);
24
- }
23
+ })));
25
24
 
26
25
  exports.default = SvgCheckSolid;
@@ -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: "M435.848 83.466L172.804 346.51l-96.652-96.652c-4.686-4.686-12.284-4.686-16.971 0l-28.284 28.284c-4.686 4.686-4.686 12.284 0 16.971l133.421 133.421c4.686 4.686 12.284 4.686 16.971 0l299.813-299.813c4.686-4.686 4.686-12.284 0-16.971l-28.284-28.284c-4.686-4.686-12.284-4.686-16.97 0z",
12
+ const SvgCheck = props => /*#__PURE__*/React.createElement("svg", _extends({
13
+ xmlns: "http://www.w3.org/2000/svg",
14
+ overflow: "visible",
15
+ preserveAspectRatio: "none",
16
+ viewBox: "0 0 512 512",
17
+ height: 24,
18
+ width: 24
19
+ }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
20
+ d: "M435.848 83.466 172.804 346.51l-96.652-96.652c-4.686-4.686-12.284-4.686-16.971 0l-28.284 28.284c-4.686 4.686-4.686 12.284 0 16.971l133.421 133.421c4.686 4.686 12.284 4.686 16.971 0l299.813-299.813c4.686-4.686 4.686-12.284 0-16.971l-28.284-28.284c-4.686-4.686-12.284-4.686-16.97 0z",
12
21
  vectorEffect: "non-scaling-stroke",
13
22
  fill: "currentColor"
14
- });
15
-
16
- function SvgCheck(props) {
17
- return /*#__PURE__*/React.createElement("svg", _extends({
18
- overflow: "visible",
19
- preserveAspectRatio: "none",
20
- viewBox: "0 0 512 512",
21
- width: 18,
22
- height: 18
23
- }, props), _ref);
24
- }
23
+ })));
25
24
 
26
25
  exports.default = SvgCheck;
@@ -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: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-9 14l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z",
12
+ const SvgCheckboxChecked = props => /*#__PURE__*/React.createElement("svg", _extends({
13
+ xmlns: "http://www.w3.org/2000/svg",
14
+ overflow: "visible",
15
+ preserveAspectRatio: "none",
16
+ viewBox: "1 1 22 22",
17
+ height: 24,
18
+ width: 24
19
+ }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
20
+ d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-9 14-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z",
12
21
  vectorEffect: "non-scaling-stroke",
13
22
  fill: "currentColor"
14
- });
15
-
16
- function SvgCheckboxChecked(props) {
17
- return /*#__PURE__*/React.createElement("svg", _extends({
18
- overflow: "visible",
19
- preserveAspectRatio: "none",
20
- viewBox: "1 1 22 22",
21
- width: 29,
22
- height: 29
23
- }, props), _ref);
24
- }
23
+ })));
25
24
 
26
25
  exports.default = SvgCheckboxChecked;
@@ -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", {
12
+ const SvgCheckboxUnchecked = props => /*#__PURE__*/React.createElement("svg", _extends({
13
+ xmlns: "http://www.w3.org/2000/svg",
14
+ overflow: "visible",
15
+ preserveAspectRatio: "none",
16
+ viewBox: "1 1 22 22",
17
+ height: 24,
18
+ width: 24
19
+ }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
11
20
  d: "M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z",
12
21
  vectorEffect: "non-scaling-stroke",
13
22
  fill: "currentColor"
14
- });
15
-
16
- function SvgCheckboxUnchecked(props) {
17
- return /*#__PURE__*/React.createElement("svg", _extends({
18
- overflow: "visible",
19
- preserveAspectRatio: "none",
20
- viewBox: "1 1 22 22",
21
- width: 29,
22
- height: 29
23
- }, props), _ref);
24
- }
23
+ })));
25
24
 
26
25
  exports.default = SvgCheckboxUnchecked;
@@ -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 SvgChevronDouble = 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.2 11.84a.35.35 0 0 0-.1-.24l-.52-.52a.332.332 0 0 0-.47-.01l-.01.01-4.1 4.1-4.09-4.1a.332.332 0 0 0-.47-.01l-.01.01-.52.52c-.13.13-.14.33-.01.47l.01.01 4.85 4.85c.13.13.33.14.47.01l.01-.01 4.85-4.85c.06-.06.1-.15.1-.24h.01zm0-4a.35.35 0 0 0-.1-.24l-.52-.52a.332.332 0 0 0-.47-.01l-.01.01-4.1 4.1-4.09-4.09a.333.333 0 0 0-.47-.02l-.01.01-.52.53a.32.32 0 0 0-.02.46l.01.01 4.85 4.85c.13.13.33.14.47.01l.01-.01 4.85-4.85c.06-.06.1-.15.1-.24h.02z",
20
+ fill: "currentColor",
21
+ vectorEffect: "non-scaling-stroke"
22
+ })));
23
+
24
+ exports.default = SvgChevronDouble;
package/lib/chevron.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 SvgChevron = 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.2 9.84a.35.35 0 0 0-.1-.24l-.52-.52a.332.332 0 0 0-.47-.01l-.01.01-4.1 4.1-4.09-4.1a.333.333 0 0 0-.47-.02l-.01.01-.52.53c-.13.13-.14.33-.01.47l.01.01 4.85 4.85c.13.13.33.14.47.01l.01-.01 4.85-4.85c.06-.06.1-.15.1-.24h.01z",
20
+ fill: "currentColor",
21
+ vectorEffect: "non-scaling-stroke"
22
+ })));
23
+
24
+ exports.default = SvgChevron;
@@ -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: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z",
12
+ const SvgClose = 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: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z",
12
21
  vectorEffect: "non-scaling-stroke",
13
22
  fill: "currentColor"
14
- });
15
-
16
- function SvgClose(props) {
17
- return /*#__PURE__*/React.createElement("svg", _extends({
18
- overflow: "visible",
19
- preserveAspectRatio: "none",
20
- viewBox: "0 0 24 24",
21
- width: 20,
22
- height: 20
23
- }, props), _ref);
24
- }
23
+ })));
25
24
 
26
25
  exports.default = SvgClose;
package/lib/code.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 SvgCode = 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: "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 0 0-.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 0 0-.23-.2l-.65-.18a.331.331 0 0 0-.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 0 0-.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",
21
+ vectorEffect: "non-scaling-stroke",
22
+ fill: "currentColor"
23
+ })));
24
+
25
+ exports.default = SvgCode;
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import PropTypes from 'prop-types';
3
+ import IconButton from '../IconButton';
4
+ declare const IssuePanel: {
5
+ ({ className, title, actions, children }: {
6
+ className?: string | undefined;
7
+ title?: string | undefined;
8
+ actions?: import("../../utils/polymorphic-type").ForwardRefComponent<"button", import("../IconButton").IconButtonOwnProps>[] | undefined;
9
+ children: React.ReactNode;
10
+ }): JSX.Element;
11
+ displayName: string;
12
+ propTypes: {
13
+ children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
14
+ className: PropTypes.Requireable<string>;
15
+ };
16
+ };
17
+ export default IssuePanel;
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ import { Placement } from '@popperjs/core';
3
+ interface Props extends React.HTMLAttributes<HTMLDivElement> {
4
+ totalItems: number;
5
+ itemsPerPage?: number;
6
+ currentPage?: number;
7
+ statusLabel?: React.ReactNode;
8
+ firstPageLabel?: string;
9
+ previousPageLabel?: string;
10
+ nextPageLabel?: string;
11
+ lastPageLabel?: string;
12
+ onNextPageClick?: () => void;
13
+ onPreviousPageClick?: () => void;
14
+ onFirstPageClick?: () => void;
15
+ onLastPageClick?: () => void;
16
+ tooltipPlacement?: Placement;
17
+ className?: string;
18
+ }
19
+ declare const Pagination: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>;
20
+ export default Pagination;
@@ -1,16 +1,20 @@
1
- import React from 'react';
1
+ import { HTMLAttributes, ReactElement, ReactNode } from 'react';
2
2
  import PropTypes from 'prop-types';
3
- import IconButton from '../IconButton';
3
+ interface PanelProps extends HTMLAttributes<HTMLElement> {
4
+ children: ReactNode;
5
+ heading: ReactElement<any> | {
6
+ id?: string;
7
+ text: ReactElement<any>;
8
+ level: number | undefined;
9
+ };
10
+ className?: string;
11
+ }
4
12
  declare const Panel: {
5
- ({ className, title, actions, children }: {
6
- className?: string | undefined;
7
- title?: string | undefined;
8
- actions?: import("../../utils/polymorphic-type").ForwardRefComponent<"button", import("../IconButton").IconButtonOwnProps>[] | undefined;
9
- children: React.ReactNode;
10
- }): JSX.Element;
13
+ ({ children, className, heading, ...other }: PanelProps): JSX.Element;
11
14
  displayName: string;
12
15
  propTypes: {
13
16
  children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
17
+ heading: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
14
18
  className: PropTypes.Requireable<string>;
15
19
  };
16
20
  };
@@ -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 SvgCopy = 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", {
11
19
  d: "M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z",
12
20
  vectorEffect: "non-scaling-stroke",
13
21
  fill: "currentColor"
14
- });
15
-
16
- function SvgCopy(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: 19
23
- }, props), _ref);
24
- }
22
+ })));
25
23
 
26
24
  exports.default = SvgCopy;