@deque/cauldron-react 5.7.1 → 5.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.
Files changed (142) hide show
  1. package/lib/add-user.js +23 -8
  2. package/lib/arrow-circle.js +23 -8
  3. package/lib/arrow.js +23 -8
  4. package/lib/arrows-alt.js +23 -8
  5. package/lib/bolt.js +23 -8
  6. package/lib/caution.js +23 -8
  7. package/lib/check-circle.js +23 -8
  8. package/lib/check-shield.js +23 -8
  9. package/lib/check-solid.js +23 -8
  10. package/lib/check.js +23 -8
  11. package/lib/checkbox-checked.js +23 -8
  12. package/lib/checkbox-unchecked.js +23 -8
  13. package/lib/chevron-double.js +23 -8
  14. package/lib/chevron.js +23 -8
  15. package/lib/clipboard.js +23 -8
  16. package/lib/clock.js +39 -0
  17. package/lib/close.js +23 -8
  18. package/lib/code.js +23 -8
  19. package/lib/components/Accordion/Accordion.d.ts +4 -4
  20. package/lib/components/Address/index.d.ts +5 -5
  21. package/lib/components/Alert/index.d.ts +3 -3
  22. package/lib/components/Breadcrumb/Breadcrumb.d.ts +1 -1
  23. package/lib/components/Breadcrumb/BreadcrumbItem.d.ts +1 -1
  24. package/lib/components/Card/Card.d.ts +1 -1
  25. package/lib/components/Card/CardContent.d.ts +2 -2
  26. package/lib/components/Card/CardFooter.d.ts +2 -2
  27. package/lib/components/Card/CardHeader.d.ts +2 -2
  28. package/lib/components/Code/index.d.ts +1 -1
  29. package/lib/components/DescriptionList/index.d.ts +8 -8
  30. package/lib/components/Dialog/index.d.ts +5 -5
  31. package/lib/components/ExpandCollapsePanel/ExpandCollapsePanel.d.ts +3 -3
  32. package/lib/components/ExpandCollapsePanel/PanelTrigger.d.ts +2 -2
  33. package/lib/components/Icon/types.d.ts +1 -1
  34. package/lib/components/IconButton/index.d.ts +1 -1
  35. package/lib/components/IssuePanel/index.d.ts +2 -2
  36. package/lib/components/Layout/index.d.ts +4 -4
  37. package/lib/components/Line/index.d.ts +1 -1
  38. package/lib/components/Link/index.d.ts +3 -3
  39. package/lib/components/LoaderOverlay/axe-loader.d.ts +2 -1
  40. package/lib/components/Main/index.d.ts +4 -4
  41. package/lib/components/MenuBar/index.d.ts +2 -2
  42. package/lib/components/MenuItem/index.d.ts +4 -4
  43. package/lib/components/Modal/index.d.ts +3 -3
  44. package/lib/components/NavBar/NavBar.d.ts +2 -2
  45. package/lib/components/NavBar/NavItem.d.ts +1 -1
  46. package/lib/components/Offscreen/index.d.ts +2 -2
  47. package/lib/components/OptionsMenu/OptionsMenu.d.ts +5 -5
  48. package/lib/components/OptionsMenu/OptionsMenuList.d.ts +4 -4
  49. package/lib/components/OptionsMenu/OptionsMenuWrapper.d.ts +2 -2
  50. package/lib/components/Pointout/index.d.ts +6 -6
  51. package/lib/components/ProgressBar/index.d.ts +1 -1
  52. package/lib/components/RadioCardGroup/index.d.ts +1 -1
  53. package/lib/components/Scrim/index.d.ts +1 -1
  54. package/lib/components/Select/index.d.ts +1 -1
  55. package/lib/components/SideBar/SideBar.d.ts +2 -2
  56. package/lib/components/SkipLink/index.d.ts +1 -1
  57. package/lib/components/Stepper/index.d.ts +4 -4
  58. package/lib/components/Table/Table.d.ts +3 -3
  59. package/lib/components/Table/TableBody.d.ts +3 -3
  60. package/lib/components/Table/TableCell.d.ts +3 -3
  61. package/lib/components/Table/TableFooter.d.ts +3 -3
  62. package/lib/components/Table/TableHead.d.ts +3 -3
  63. package/lib/components/Table/TableHeader.d.ts +4 -4
  64. package/lib/components/Table/TableRow.d.ts +3 -3
  65. package/lib/components/Tabs/Tabs.d.ts +2 -2
  66. package/lib/components/Tag/index.d.ts +4 -4
  67. package/lib/components/TextField/index.d.ts +4 -4
  68. package/lib/components/Toast/index.d.ts +4 -4
  69. package/lib/components/Tooltip/index.d.ts +3 -3
  70. package/lib/components/TooltipTabstop/index.d.ts +2 -2
  71. package/lib/components/TopBar/TopBar.d.ts +1 -1
  72. package/lib/components/TopBar/TopBarMenu.d.ts +2 -2
  73. package/lib/components/TwoColumnPanel/ColumnGroupHeader.d.ts +1 -1
  74. package/lib/components/TwoColumnPanel/ColumnHeader.d.ts +1 -1
  75. package/lib/components/TwoColumnPanel/ColumnLeft.d.ts +1 -1
  76. package/lib/components/TwoColumnPanel/ColumnList.d.ts +1 -1
  77. package/lib/components/TwoColumnPanel/ColumnRight.d.ts +1 -1
  78. package/lib/components/Workspace/index.d.ts +6 -6
  79. package/lib/contexts/theme.d.ts +2 -2
  80. package/lib/copy.js +23 -8
  81. package/lib/download.js +23 -8
  82. package/lib/dropper.js +23 -8
  83. package/lib/exchange.js +23 -8
  84. package/lib/export-solid.js +23 -8
  85. package/lib/external-link.js +23 -8
  86. package/lib/eye.js +23 -8
  87. package/lib/filter-solid.js +23 -8
  88. package/lib/filter.js +23 -8
  89. package/lib/flag.js +23 -8
  90. package/lib/gears.js +23 -7
  91. package/lib/github.js +23 -8
  92. package/lib/grid.js +23 -8
  93. package/lib/hamburger-menu.js +26 -11
  94. package/lib/hashtag.js +23 -8
  95. package/lib/highlight.js +23 -8
  96. package/lib/index.js +875 -6084
  97. package/lib/info-circle-alt.js +23 -8
  98. package/lib/info-circle.js +23 -8
  99. package/lib/info-square.js +23 -8
  100. package/lib/kabob.js +23 -8
  101. package/lib/link.js +23 -8
  102. package/lib/linkedin.js +23 -8
  103. package/lib/list.js +29 -14
  104. package/lib/lock.js +23 -8
  105. package/lib/magnifying-glass.js +23 -8
  106. package/lib/menu.js +23 -8
  107. package/lib/minus.js +23 -8
  108. package/lib/new-releases.js +24 -9
  109. package/lib/new.js +23 -8
  110. package/lib/no.js +23 -8
  111. package/lib/pencil.js +23 -8
  112. package/lib/person-running.js +23 -8
  113. package/lib/play.js +23 -8
  114. package/lib/plus.js +23 -8
  115. package/lib/propTypes.d.ts +1 -1
  116. package/lib/question-circle-alt.js +23 -8
  117. package/lib/question-circle.js +23 -8
  118. package/lib/radio-checked.js +23 -8
  119. package/lib/radio-unchecked.js +23 -8
  120. package/lib/recycle-square.js +23 -8
  121. package/lib/recycle.js +23 -8
  122. package/lib/resend.js +23 -8
  123. package/lib/robot.js +24 -9
  124. package/lib/run-again.js +23 -8
  125. package/lib/save.js +23 -8
  126. package/lib/share-nodes.js +23 -8
  127. package/lib/share.js +23 -8
  128. package/lib/sort-triangle.js +23 -8
  129. package/lib/sort.js +23 -8
  130. package/lib/star.js +23 -8
  131. package/lib/sun.js +23 -8
  132. package/lib/table-sort-ascending.js +24 -9
  133. package/lib/table-sort-descending.js +24 -9
  134. package/lib/tag.js +23 -8
  135. package/lib/target.js +25 -10
  136. package/lib/trash.js +23 -8
  137. package/lib/triangle.js +23 -8
  138. package/lib/twitter.js +23 -8
  139. package/lib/types.d.ts +1 -1
  140. package/lib/upload.js +23 -8
  141. package/lib/utils/polymorphic-type/index.d.ts +4 -4
  142. package/package.json +9 -12
package/lib/chevron.js CHANGED
@@ -1,24 +1,39 @@
1
1
  'use strict';
2
2
 
3
- function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
-
5
3
  var React = require('react');
6
- var React__default = _interopDefault(React);
7
4
 
8
- var _path;
5
+ function _interopNamespace(e) {
6
+ if (e && e.__esModule) return e;
7
+ var n = Object.create(null);
8
+ if (e) {
9
+ Object.keys(e).forEach(function (k) {
10
+ if (k !== 'default') {
11
+ var d = Object.getOwnPropertyDescriptor(e, k);
12
+ Object.defineProperty(n, k, d.get ? d : {
13
+ enumerable: true,
14
+ get: function () { return e[k]; }
15
+ });
16
+ }
17
+ });
18
+ }
19
+ n["default"] = e;
20
+ return Object.freeze(n);
21
+ }
9
22
 
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); }
23
+ var React__namespace = /*#__PURE__*/_interopNamespace(React);
11
24
 
12
- const SvgChevron = props => /*#__PURE__*/React.createElement("svg", _extends({
25
+ var _path;
26
+ 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); }
27
+ const SvgChevron = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
13
28
  overflow: "visible",
14
29
  preserveAspectRatio: "none",
15
30
  viewBox: "0 0 24 24",
16
31
  height: 24,
17
32
  width: 24
18
- }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
33
+ }, props), _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
19
34
  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
35
  fill: "currentColor",
21
36
  vectorEffect: "non-scaling-stroke"
22
37
  })));
23
38
 
24
- exports.default = SvgChevron;
39
+ exports["default"] = SvgChevron;
package/lib/clipboard.js CHANGED
@@ -1,24 +1,39 @@
1
1
  'use strict';
2
2
 
3
- function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
-
5
3
  var React = require('react');
6
- var React__default = _interopDefault(React);
7
4
 
8
- var _path;
5
+ function _interopNamespace(e) {
6
+ if (e && e.__esModule) return e;
7
+ var n = Object.create(null);
8
+ if (e) {
9
+ Object.keys(e).forEach(function (k) {
10
+ if (k !== 'default') {
11
+ var d = Object.getOwnPropertyDescriptor(e, k);
12
+ Object.defineProperty(n, k, d.get ? d : {
13
+ enumerable: true,
14
+ get: function () { return e[k]; }
15
+ });
16
+ }
17
+ });
18
+ }
19
+ n["default"] = e;
20
+ return Object.freeze(n);
21
+ }
9
22
 
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); }
23
+ var React__namespace = /*#__PURE__*/_interopNamespace(React);
11
24
 
12
- const SvgClipboard = props => /*#__PURE__*/React.createElement("svg", _extends({
25
+ var _path;
26
+ 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); }
27
+ const SvgClipboard = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
13
28
  overflow: "visible",
14
29
  preserveAspectRatio: "none",
15
30
  viewBox: "0 0 24 24",
16
31
  height: 24,
17
32
  width: 24
18
- }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
33
+ }, props), _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
19
34
  d: "M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 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-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm2 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z",
20
35
  fill: "currentColor",
21
36
  vectorEffect: "non-scaling-stroke"
22
37
  })));
23
38
 
24
- exports.default = SvgClipboard;
39
+ exports["default"] = SvgClipboard;
package/lib/clock.js ADDED
@@ -0,0 +1,39 @@
1
+ 'use strict';
2
+
3
+ var React = require('react');
4
+
5
+ function _interopNamespace(e) {
6
+ if (e && e.__esModule) return e;
7
+ var n = Object.create(null);
8
+ if (e) {
9
+ Object.keys(e).forEach(function (k) {
10
+ if (k !== 'default') {
11
+ var d = Object.getOwnPropertyDescriptor(e, k);
12
+ Object.defineProperty(n, k, d.get ? d : {
13
+ enumerable: true,
14
+ get: function () { return e[k]; }
15
+ });
16
+ }
17
+ });
18
+ }
19
+ n["default"] = e;
20
+ return Object.freeze(n);
21
+ }
22
+
23
+ var React__namespace = /*#__PURE__*/_interopNamespace(React);
24
+
25
+ var _path;
26
+ 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); }
27
+ const SvgClock = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
28
+ overflow: "visible",
29
+ preserveAspectRatio: "none",
30
+ viewBox: "0 0 72 72",
31
+ height: 24,
32
+ width: 24
33
+ }, props), _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
34
+ d: "M65.25 36c0 16.154-13.096 29.25-29.25 29.25S6.75 52.154 6.75 36 19.846 6.75 36 6.75 65.25 19.846 65.25 36zM0 36c0 19.882 16.118 36 36 36s36-16.118 36-36S55.882 0 36 0 0 16.118 0 36zm32.625-19.125V36a3.39 3.39 0 0 0 1.505 2.813l13.5 9a3.367 3.367 0 0 0 4.682-.943 3.364 3.364 0 0 0-.942-4.682L39.375 34.2V16.875A3.367 3.367 0 0 0 36 13.5a3.367 3.367 0 0 0-3.375 3.375z",
35
+ fill: "currentColor",
36
+ vectorEffect: "non-scaling-stroke"
37
+ })));
38
+
39
+ exports["default"] = SvgClock;
package/lib/close.js CHANGED
@@ -1,25 +1,40 @@
1
1
  'use strict';
2
2
 
3
- function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
-
5
3
  var React = require('react');
6
- var React__default = _interopDefault(React);
7
4
 
8
- var _path;
5
+ function _interopNamespace(e) {
6
+ if (e && e.__esModule) return e;
7
+ var n = Object.create(null);
8
+ if (e) {
9
+ Object.keys(e).forEach(function (k) {
10
+ if (k !== 'default') {
11
+ var d = Object.getOwnPropertyDescriptor(e, k);
12
+ Object.defineProperty(n, k, d.get ? d : {
13
+ enumerable: true,
14
+ get: function () { return e[k]; }
15
+ });
16
+ }
17
+ });
18
+ }
19
+ n["default"] = e;
20
+ return Object.freeze(n);
21
+ }
9
22
 
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); }
23
+ var React__namespace = /*#__PURE__*/_interopNamespace(React);
11
24
 
12
- const SvgClose = props => /*#__PURE__*/React.createElement("svg", _extends({
25
+ var _path;
26
+ 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); }
27
+ const SvgClose = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
13
28
  xmlns: "http://www.w3.org/2000/svg",
14
29
  overflow: "visible",
15
30
  preserveAspectRatio: "none",
16
31
  viewBox: "0 0 24 24",
17
32
  height: 24,
18
33
  width: 24
19
- }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
34
+ }, props), _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
20
35
  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",
21
36
  vectorEffect: "non-scaling-stroke",
22
37
  fill: "currentColor"
23
38
  })));
24
39
 
25
- exports.default = SvgClose;
40
+ exports["default"] = SvgClose;
package/lib/code.js CHANGED
@@ -1,25 +1,40 @@
1
1
  'use strict';
2
2
 
3
- function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
-
5
3
  var React = require('react');
6
- var React__default = _interopDefault(React);
7
4
 
8
- var _path;
5
+ function _interopNamespace(e) {
6
+ if (e && e.__esModule) return e;
7
+ var n = Object.create(null);
8
+ if (e) {
9
+ Object.keys(e).forEach(function (k) {
10
+ if (k !== 'default') {
11
+ var d = Object.getOwnPropertyDescriptor(e, k);
12
+ Object.defineProperty(n, k, d.get ? d : {
13
+ enumerable: true,
14
+ get: function () { return e[k]; }
15
+ });
16
+ }
17
+ });
18
+ }
19
+ n["default"] = e;
20
+ return Object.freeze(n);
21
+ }
9
22
 
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); }
23
+ var React__namespace = /*#__PURE__*/_interopNamespace(React);
11
24
 
12
- const SvgCode = props => /*#__PURE__*/React.createElement("svg", _extends({
25
+ var _path;
26
+ 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); }
27
+ const SvgCode = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
13
28
  xmlns: "http://www.w3.org/2000/svg",
14
29
  overflow: "visible",
15
30
  preserveAspectRatio: "none",
16
31
  viewBox: "0 0 24 24",
17
32
  height: 24,
18
33
  width: 24
19
- }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
34
+ }, props), _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
20
35
  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
36
  vectorEffect: "non-scaling-stroke",
22
37
  fill: "currentColor"
23
38
  })));
24
39
 
25
- exports.default = SvgCode;
40
+ exports["default"] = SvgCode;
@@ -8,7 +8,7 @@ export interface AccordionTriggerProps extends React.HTMLAttributes<HTMLButtonEl
8
8
  };
9
9
  }
10
10
  declare const AccordionTrigger: {
11
- ({ children, ...triggerProps }: AccordionTriggerProps): JSX.Element;
11
+ ({ children, ...triggerProps }: AccordionTriggerProps): React.JSX.Element;
12
12
  displayName: string;
13
13
  propTypes: {
14
14
  children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
@@ -22,10 +22,10 @@ interface AccordionContentProps extends React.HTMLAttributes<HTMLDivElement> {
22
22
  className?: string;
23
23
  }
24
24
  declare const AccordionContent: {
25
- ({ children, className, ...otherProps }: AccordionContentProps): JSX.Element;
25
+ ({ children, className, ...otherProps }: AccordionContentProps): React.JSX.Element;
26
26
  displayName: string;
27
27
  propTypes: {
28
- children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
28
+ children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
29
29
  className: PropTypes.Requireable<string>;
30
30
  };
31
31
  };
@@ -33,7 +33,7 @@ interface AccordionProps extends ExpandCollapsePanelProps {
33
33
  children: React.ReactNode;
34
34
  }
35
35
  declare const Accordion: {
36
- ({ children, open, onToggle, animationTiming, ...props }: AccordionProps): JSX.Element | null;
36
+ ({ children, open, onToggle, animationTiming, ...props }: AccordionProps): React.JSX.Element | null;
37
37
  displayName: string;
38
38
  propTypes: {
39
39
  children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
@@ -4,16 +4,16 @@ interface AddressProps extends React.HTMLAttributes<HTMLElement> {
4
4
  children: React.ReactNode;
5
5
  }
6
6
  export declare const Address: {
7
- ({ children, className, ...other }: AddressProps): JSX.Element;
7
+ ({ children, className, ...other }: AddressProps): React.JSX.Element;
8
8
  displayName: string;
9
9
  propTypes: {
10
- children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
10
+ children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
11
11
  className: PropTypes.Requireable<string>;
12
12
  };
13
13
  };
14
- declare type AddressLineProps = React.HTMLAttributes<HTMLElement>;
14
+ type AddressLineProps = React.HTMLAttributes<HTMLElement>;
15
15
  export declare const AddressLine: {
16
- ({ children, className, ...other }: AddressLineProps): JSX.Element | null;
16
+ ({ children, className, ...other }: AddressLineProps): React.JSX.Element | null;
17
17
  displayName: string;
18
18
  propTypes: {
19
19
  children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
@@ -26,7 +26,7 @@ interface AddressCityStateZipProps extends React.HTMLAttributes<HTMLElement> {
26
26
  zip: React.ReactNode;
27
27
  }
28
28
  export declare const AddressCityStateZip: {
29
- ({ city, state, zip, className, ...other }: AddressCityStateZipProps): JSX.Element | null;
29
+ ({ city, state, zip, className, ...other }: AddressCityStateZipProps): React.JSX.Element | null;
30
30
  displayName: string;
31
31
  propTypes: {
32
32
  city: PropTypes.Requireable<PropTypes.ReactNodeLike>;
@@ -3,9 +3,9 @@ import { DialogProps } from '../Dialog';
3
3
  interface AlertProps extends Omit<DialogProps, 'forceAction' | 'closeButtonText'> {
4
4
  variant?: 'default' | 'warning';
5
5
  }
6
- declare const Alert: ({ children, className, variant, heading, ...other }: AlertProps) => JSX.Element;
6
+ declare const Alert: ({ children, className, variant, heading, ...other }: AlertProps) => React.JSX.Element;
7
7
  declare const AlertContent: {
8
- ({ children, className, ...other }: React.HTMLAttributes<HTMLDivElement>): JSX.Element;
8
+ ({ children, className, ...other }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
9
9
  displayName: string;
10
10
  propTypes: {
11
11
  className: import("prop-types").Requireable<string>;
@@ -13,7 +13,7 @@ declare const AlertContent: {
13
13
  };
14
14
  };
15
15
  declare const AlertActions: {
16
- ({ children, className, ...other }: React.HTMLAttributes<HTMLDivElement>): JSX.Element;
16
+ ({ children, className, ...other }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
17
17
  displayName: string;
18
18
  propTypes: {
19
19
  className: import("prop-types").Requireable<string>;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { Cauldron } from '../../types';
3
- declare type BreadcrumbProps = {
3
+ type BreadcrumbProps = {
4
4
  separator?: React.ReactNode;
5
5
  } & React.HTMLAttributes<HTMLElement> & Cauldron.LabelProps;
6
6
  declare const Breadcrumb: React.ForwardRefExoticComponent<BreadcrumbProps & React.RefAttributes<HTMLElement>>;
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- declare type BreadcrumbItemProps = React.HTMLAttributes<HTMLSpanElement>;
2
+ type BreadcrumbItemProps = React.HTMLAttributes<HTMLSpanElement>;
3
3
  declare const BreadcrumbItem: React.ForwardRefExoticComponent<BreadcrumbItemProps & React.RefAttributes<HTMLElement>>;
4
4
  export default BreadcrumbItem;
@@ -4,7 +4,7 @@ export interface CardProps extends React.HTMLAttributes<HTMLDivElement> {
4
4
  variant?: 'simple';
5
5
  }
6
6
  declare const Card: {
7
- ({ className, variant, ...other }: CardProps): JSX.Element;
7
+ ({ className, variant, ...other }: CardProps): React.JSX.Element;
8
8
  displayName: string;
9
9
  propTypes: {
10
10
  className: PropTypes.Requireable<string>;
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
- export declare type CardContentProps = React.HTMLAttributes<HTMLDivElement>;
3
+ export type CardContentProps = React.HTMLAttributes<HTMLDivElement>;
4
4
  declare const CardContent: {
5
- ({ className, ...other }: CardContentProps): JSX.Element;
5
+ ({ className, ...other }: CardContentProps): React.JSX.Element;
6
6
  displayName: string;
7
7
  propTypes: {
8
8
  className: PropTypes.Requireable<string>;
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
- export declare type CardFooterProps = React.HTMLAttributes<HTMLDivElement>;
3
+ export type CardFooterProps = React.HTMLAttributes<HTMLDivElement>;
4
4
  declare const CardFooter: {
5
- ({ className, ...other }: CardFooterProps): JSX.Element;
5
+ ({ className, ...other }: CardFooterProps): React.JSX.Element;
6
6
  displayName: string;
7
7
  propTypes: {
8
8
  className: PropTypes.Requireable<string>;
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
- export declare type CardHeaderProps = React.HTMLAttributes<HTMLDivElement>;
3
+ export type CardHeaderProps = React.HTMLAttributes<HTMLDivElement>;
4
4
  declare const CardHeader: {
5
- ({ className, ...other }: CardHeaderProps): JSX.Element;
5
+ ({ className, ...other }: CardHeaderProps): React.JSX.Element;
6
6
  displayName: string;
7
7
  propTypes: {
8
8
  className: PropTypes.Requireable<string>;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { SyntaxHighlighterProps } from 'react-syntax-highlighter';
3
- declare type Props = {
3
+ type Props = {
4
4
  children: string;
5
5
  language?: 'javascript' | 'css' | 'html' | 'yaml';
6
6
  className?: string;
@@ -8,34 +8,34 @@ interface DescriptionListProps extends DescriptionProps {
8
8
  collapsed?: boolean;
9
9
  }
10
10
  export declare const DescriptionList: {
11
- ({ children, className, collapsed, ...other }: DescriptionListProps): JSX.Element;
11
+ ({ children, className, collapsed, ...other }: DescriptionListProps): React.JSX.Element;
12
12
  displayName: string;
13
13
  propTypes: {
14
- children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
14
+ children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
15
15
  className: PropTypes.Requireable<string>;
16
16
  };
17
17
  };
18
18
  export declare const DescriptionListItem: {
19
- ({ children, className, ...other }: DescriptionProps): JSX.Element;
19
+ ({ children, className, ...other }: DescriptionProps): React.JSX.Element;
20
20
  displayName: string;
21
21
  propTypes: {
22
- children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
22
+ children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
23
23
  className: PropTypes.Requireable<string>;
24
24
  };
25
25
  };
26
26
  export declare const DescriptionTerm: {
27
- ({ children, className, ...other }: DescriptionProps): JSX.Element;
27
+ ({ children, className, ...other }: DescriptionProps): React.JSX.Element;
28
28
  displayName: string;
29
29
  propTypes: {
30
- children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
30
+ children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
31
31
  className: PropTypes.Requireable<string>;
32
32
  };
33
33
  };
34
34
  export declare const DescriptionDetails: {
35
- ({ children, className, ...other }: DescriptionProps): JSX.Element;
35
+ ({ children, className, ...other }: DescriptionProps): React.JSX.Element;
36
36
  displayName: string;
37
37
  propTypes: {
38
- children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
38
+ children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
39
39
  className: PropTypes.Requireable<string>;
40
40
  };
41
41
  };
@@ -27,12 +27,12 @@ export default class Dialog extends React.Component<DialogProps, DialogState> {
27
27
  static propTypes: {
28
28
  className: PropTypes.Requireable<string>;
29
29
  show: PropTypes.Requireable<boolean>;
30
- dialogRef: PropTypes.Requireable<((...args: any[]) => any) | PropTypes.InferProps<{
30
+ dialogRef: PropTypes.Requireable<NonNullable<((...args: any[]) => any) | PropTypes.InferProps<{
31
31
  current: PropTypes.Requireable<any>;
32
- }>>;
32
+ }> | null | undefined>>;
33
33
  onClose: PropTypes.Requireable<(...args: any[]) => any>;
34
34
  forceAction: PropTypes.Requireable<boolean>;
35
- heading: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
35
+ heading: PropTypes.Validator<NonNullable<NonNullable<object | PropTypes.ReactNodeLike>>>;
36
36
  closeButtonText: PropTypes.Requireable<string>;
37
37
  portal: PropTypes.Requireable<any>;
38
38
  };
@@ -49,7 +49,7 @@ export default class Dialog extends React.Component<DialogProps, DialogState> {
49
49
  focusHeading(): void;
50
50
  }
51
51
  declare const DialogContent: {
52
- ({ children, className, ...other }: React.HTMLAttributes<HTMLDivElement>): JSX.Element;
52
+ ({ children, className, ...other }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
53
53
  displayName: string;
54
54
  propTypes: {
55
55
  className: PropTypes.Requireable<string>;
@@ -57,7 +57,7 @@ declare const DialogContent: {
57
57
  };
58
58
  };
59
59
  declare const DialogFooter: {
60
- ({ children, className, ...other }: React.HTMLAttributes<HTMLDivElement>): JSX.Element;
60
+ ({ children, className, ...other }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
61
61
  displayName: string;
62
62
  propTypes: {
63
63
  className: PropTypes.Requireable<string>;
@@ -19,9 +19,9 @@ export default class ExpandCollapsePanel extends React.Component<ExpandCollapseP
19
19
  };
20
20
  static propTypes: {
21
21
  open: PropTypes.Requireable<boolean>;
22
- children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
22
+ children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
23
23
  className: PropTypes.Requireable<string>;
24
- animationTiming: PropTypes.Requireable<number | boolean>;
24
+ animationTiming: PropTypes.Requireable<NonNullable<number | boolean | null | undefined>>;
25
25
  onToggle: PropTypes.Requireable<(...args: any[]) => any>;
26
26
  };
27
27
  readonly state: ExpandCollapsePanelState;
@@ -32,6 +32,6 @@ export default class ExpandCollapsePanel extends React.Component<ExpandCollapseP
32
32
  animateClose: () => void;
33
33
  componentWillUnmount(): void;
34
34
  componentDidUpdate(prevProps: ExpandCollapsePanelProps, prevState: ExpandCollapsePanelState): void;
35
- render(): JSX.Element;
35
+ render(): React.JSX.Element;
36
36
  }
37
37
  export {};
@@ -15,9 +15,9 @@ export interface PanelTriggerProps extends Omit<React.ButtonHTMLAttributes<HTMLB
15
15
  };
16
16
  }
17
17
  declare const _default: React.MemoExoticComponent<{
18
- ({ children, className, open, fullWidth, onClick, iconExpanded, iconCollapsed, heading, ...otherProps }: PanelTriggerProps): JSX.Element;
18
+ ({ children, className, open, fullWidth, onClick, iconExpanded, iconCollapsed, heading, ...otherProps }: PanelTriggerProps): React.JSX.Element;
19
19
  propTypes: {
20
- children: PropTypes.Requireable<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
20
+ children: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike | ((...args: any[]) => any)>>;
21
21
  open: PropTypes.Requireable<boolean>;
22
22
  iconExpanded: PropTypes.Requireable<string>;
23
23
  iconCollapsed: PropTypes.Requireable<string>;
@@ -2,6 +2,6 @@
2
2
  * GENERATED CODE. DO NOT EDIT DIRECTLY!
3
3
  */
4
4
  /** IconType represents each valid icon type. */
5
- export declare type IconType = 'add-user' | 'arrow-circle-up' | 'arrow-circle-down' | 'arrow-circle-left' | 'arrow-circle-right' | 'arrow-up' | 'arrow-down' | 'arrow-left' | 'arrow-right' | 'arrows-alt' | 'bolt' | 'caution' | 'check-circle' | 'check-shield' | 'check-solid' | 'check' | 'checkbox-checked' | 'checkbox-unchecked' | 'chevron-double-up' | 'chevron-double-down' | 'chevron-double-left' | 'chevron-double-right' | 'chevron-up' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'clipboard' | 'close' | 'code' | 'copy' | 'download' | 'dropper' | 'exchange' | 'export-solid' | 'external-link' | 'eye' | 'filter-solid' | 'filter' | 'flag' | 'gears' | 'github' | 'grid' | 'hamburger-menu' | 'hashtag' | 'highlight' | 'info-circle-alt' | 'info-circle' | 'info-square' | 'kabob' | 'link' | 'linkedin' | 'list' | 'lock' | 'magnifying-glass' | 'menu' | 'minus' | 'new-releases' | 'new' | 'no' | 'pencil' | 'person-running' | 'play' | 'plus' | 'question-circle-alt' | 'question-circle' | 'radio-checked' | 'radio-unchecked' | 'recycle-square' | 'recycle' | 'resend' | 'robot' | 'run-again' | 'save' | 'share-nodes' | 'share' | 'sort-triangle' | 'sort' | 'star' | 'sun' | 'table-sort-ascending' | 'table-sort-descending' | 'tag' | 'target' | 'trash' | 'triangle-up' | 'triangle-down' | 'triangle-left' | 'triangle-right' | 'twitter' | 'upload';
5
+ export type IconType = 'add-user' | 'arrow-circle-up' | 'arrow-circle-down' | 'arrow-circle-left' | 'arrow-circle-right' | 'arrow-up' | 'arrow-down' | 'arrow-left' | 'arrow-right' | 'arrows-alt' | 'bolt' | 'caution' | 'check-circle' | 'check-shield' | 'check-solid' | 'check' | 'checkbox-checked' | 'checkbox-unchecked' | 'chevron-double-up' | 'chevron-double-down' | 'chevron-double-left' | 'chevron-double-right' | 'chevron-up' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'clipboard' | 'clock' | 'close' | 'code' | 'copy' | 'download' | 'dropper' | 'exchange' | 'export-solid' | 'external-link' | 'eye' | 'filter-solid' | 'filter' | 'flag' | 'gears' | 'github' | 'grid' | 'hamburger-menu' | 'hashtag' | 'highlight' | 'info-circle-alt' | 'info-circle' | 'info-square' | 'kabob' | 'link' | 'linkedin' | 'list' | 'lock' | 'magnifying-glass' | 'menu' | 'minus' | 'new-releases' | 'new' | 'no' | 'pencil' | 'person-running' | 'play' | 'plus' | 'question-circle-alt' | 'question-circle' | 'radio-checked' | 'radio-unchecked' | 'recycle-square' | 'recycle' | 'resend' | 'robot' | 'run-again' | 'save' | 'share-nodes' | 'share' | 'sort-triangle' | 'sort' | 'star' | 'sun' | 'table-sort-ascending' | 'table-sort-descending' | 'tag' | 'target' | 'trash' | 'triangle-up' | 'triangle-down' | 'triangle-left' | 'triangle-right' | 'twitter' | 'upload';
6
6
  /** iconTypes holds each valid icon type. */
7
7
  export declare const iconTypes: string[];
@@ -16,7 +16,7 @@ export interface IconButtonOwnProps {
16
16
  tooltipPortal?: TooltipProps['portal'];
17
17
  variant?: 'primary' | 'secondary' | 'error';
18
18
  }
19
- declare type PolymorphicIconButton = Polymorphic.ForwardRefComponent<'button', IconButtonOwnProps>;
19
+ type PolymorphicIconButton = Polymorphic.ForwardRefComponent<'button', IconButtonOwnProps>;
20
20
  /**
21
21
  * Unfortunately, eslint does not recognize that this Polymorphic component has a displayName set
22
22
  *
@@ -7,10 +7,10 @@ declare const IssuePanel: {
7
7
  title?: string | undefined;
8
8
  actions?: import("../../utils/polymorphic-type").ForwardRefComponent<"button", import("../IconButton").IconButtonOwnProps>[] | undefined;
9
9
  children: React.ReactNode;
10
- }): JSX.Element;
10
+ }): React.JSX.Element;
11
11
  displayName: string;
12
12
  propTypes: {
13
- children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
13
+ children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
14
14
  className: PropTypes.Requireable<string>;
15
15
  };
16
16
  };
@@ -8,10 +8,10 @@ export default class Layout extends React.Component<LayoutProps> {
8
8
  layoutRef: () => void;
9
9
  };
10
10
  static propTypes: {
11
- children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
12
- layoutRef: PropTypes.Requireable<((...args: any[]) => any) | PropTypes.InferProps<{
11
+ children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
12
+ layoutRef: PropTypes.Requireable<NonNullable<((...args: any[]) => any) | PropTypes.InferProps<{
13
13
  current: PropTypes.Requireable<any>;
14
- }>>;
14
+ }> | null | undefined>>;
15
15
  };
16
- render(): JSX.Element;
16
+ render(): React.JSX.Element;
17
17
  }
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  declare const Line: {
4
- ({ className, ...other }: React.HTMLAttributes<HTMLHRElement>): JSX.Element;
4
+ ({ className, ...other }: React.HTMLAttributes<HTMLHRElement>): React.JSX.Element;
5
5
  propTypes: {
6
6
  className: PropTypes.Requireable<string>;
7
7
  };
@@ -6,15 +6,15 @@ export interface LinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement>
6
6
  thin?: boolean;
7
7
  }
8
8
  declare const Link: {
9
- ({ children, linkRef, className, variant, thin, ...other }: LinkProps): JSX.Element;
9
+ ({ children, linkRef, className, variant, thin, ...other }: LinkProps): React.JSX.Element;
10
10
  propTypes: {
11
11
  children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
12
12
  className: PropTypes.Requireable<string>;
13
13
  variant: PropTypes.Requireable<string>;
14
14
  thin: PropTypes.Requireable<boolean>;
15
- linkRef: PropTypes.Requireable<((...args: any[]) => any) | PropTypes.InferProps<{
15
+ linkRef: PropTypes.Requireable<NonNullable<((...args: any[]) => any) | PropTypes.InferProps<{
16
16
  current: PropTypes.Requireable<any>;
17
- }>>;
17
+ }> | null | undefined>>;
18
18
  };
19
19
  displayName: string;
20
20
  };
@@ -1 +1,2 @@
1
- export default function AxeLoader(): JSX.Element;
1
+ import React from 'react';
2
+ export default function AxeLoader(): React.JSX.Element;
@@ -8,10 +8,10 @@ export default class Main extends Component<MainProps> {
8
8
  mainRef: () => void;
9
9
  };
10
10
  static propTypes: {
11
- children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
12
- mainRef: PropTypes.Requireable<((...args: any[]) => any) | PropTypes.InferProps<{
11
+ children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
12
+ mainRef: PropTypes.Requireable<NonNullable<((...args: any[]) => any) | PropTypes.InferProps<{
13
13
  current: PropTypes.Requireable<any>;
14
- }>>;
14
+ }> | null | undefined>>;
15
15
  };
16
- render(): JSX.Element;
16
+ render(): React.JSX.Element;
17
17
  }
@@ -10,7 +10,7 @@ interface MenuBarState {
10
10
  }
11
11
  export default class TopBar extends React.Component<MenuBarProps, MenuBarState> {
12
12
  static propTypes: {
13
- children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
13
+ children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
14
14
  className: PropTypes.Requireable<string>;
15
15
  thin: PropTypes.Requireable<boolean>;
16
16
  hasTrigger: PropTypes.Requireable<boolean>;
@@ -28,6 +28,6 @@ export default class TopBar extends React.Component<MenuBarProps, MenuBarState>
28
28
  private handleThin;
29
29
  private renderChild;
30
30
  onKeyDown(e: React.KeyboardEvent<HTMLElement>): void;
31
- render(): JSX.Element;
31
+ render(): React.JSX.Element;
32
32
  }
33
33
  export {};