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

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 (97) 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 +2 -2
  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 +410 -167
  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-49ec1442.js → sort.js} +11 -13
  73. package/lib/{star-a1af8d95.js → star.js} +11 -13
  74. package/lib/sun.js +24 -0
  75. package/lib/{tag-56c32f4f.js → tag.js} +11 -12
  76. package/lib/target.js +28 -0
  77. package/lib/trash.js +24 -0
  78. package/lib/{triangle-51d7723a.js → triangle.js} +14 -16
  79. package/lib/{upload-d71f0e44.js → upload.js} +10 -12
  80. package/lib/utils/polymorphic-type/index.d.ts +40 -0
  81. package/package.json +4 -4
  82. package/lib/arrow-circle-7b95a2fd.js +0 -27
  83. package/lib/arrows-alt-b91e24b7.js +0 -26
  84. package/lib/chevron-064d5f96.js +0 -26
  85. package/lib/chevron-double-65975fca.js +0 -26
  86. package/lib/code-e3365341.js +0 -26
  87. package/lib/exchange-1d290efb.js +0 -26
  88. package/lib/external-link-ef122c95.js +0 -26
  89. package/lib/gears-b9ee1585.js +0 -23
  90. package/lib/highlight-81bfb759.js +0 -26
  91. package/lib/kabob-692fdc00.js +0 -26
  92. package/lib/robot-22863b2b.js +0 -29
  93. package/lib/run-again-c9777075.js +0 -25
  94. package/lib/share-70e94257.js +0 -26
  95. package/lib/sun-408aecdc.js +0 -26
  96. package/lib/target-50f179e0.js +0 -35
  97. package/lib/trash-896a3291.js +0 -26
@@ -1,7 +1,7 @@
1
- import React from 'react';
1
+ import * as Polymorphic from '../../utils/polymorphic-type';
2
2
  import { IconType } from '../Icon';
3
3
  import { TooltipProps } from '../Tooltip';
4
- export interface IconButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
4
+ export interface IconButtonOwnProps {
5
5
  icon: IconType;
6
6
  label: string;
7
7
  tooltipPlacement?: TooltipProps['placement'];
@@ -9,5 +9,12 @@ export interface IconButtonProps extends React.ButtonHTMLAttributes<HTMLButtonEl
9
9
  tooltipPortal?: TooltipProps['portal'];
10
10
  variant?: 'primary' | 'secondary' | 'error';
11
11
  }
12
- declare const IconButton: React.ForwardRefExoticComponent<IconButtonProps & React.RefAttributes<HTMLButtonElement>>;
12
+ declare type PolymorphicIconButton = Polymorphic.ForwardRefComponent<'button', IconButtonOwnProps>;
13
+ /**
14
+ * Unfortunately, eslint does not recognize that this Polymorphic component has a displayName set
15
+ *
16
+ * We might be able to remove this if we upgrade eslint and associated plugins
17
+ * See: https://github.com/dequelabs/cauldron/issues/451
18
+ */
19
+ declare const IconButton: PolymorphicIconButton;
13
20
  export default IconButton;
@@ -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;
@@ -1,12 +1,12 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  export interface LoaderProps extends React.HTMLAttributes<HTMLDivElement> {
4
- label: string;
4
+ label?: string;
5
+ variant?: 'large' | 'small';
5
6
  }
6
- declare function Loader({ label, className, ...other }: LoaderProps): JSX.Element;
7
+ declare function Loader({ className, variant, label, ...props }: LoaderProps): JSX.Element;
7
8
  declare namespace Loader {
8
9
  var propTypes: {
9
- label: PropTypes.Requireable<string>;
10
10
  className: PropTypes.Requireable<string>;
11
11
  };
12
12
  var displayName: string;
@@ -0,0 +1 @@
1
+ export default function AxeLoader(): JSX.Element;
@@ -1,3 +1,7 @@
1
1
  import React from 'react';
2
- declare const LoaderOverlay: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
2
+ interface LoaderOverlayProps extends React.HTMLAttributes<HTMLDivElement> {
3
+ variant?: 'large' | 'small';
4
+ label?: string;
5
+ }
6
+ declare const LoaderOverlay: React.ForwardRefExoticComponent<LoaderOverlayProps & React.RefAttributes<HTMLDivElement>>;
3
7
  export default LoaderOverlay;
@@ -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,21 @@
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
+ collapsed?: boolean;
11
+ className?: string;
12
+ }
4
13
  declare const Panel: {
5
- ({ className, title, actions, children }: {
6
- className?: string | undefined;
7
- title?: string | undefined;
8
- actions?: React.ForwardRefExoticComponent<import("../IconButton").IconButtonProps & React.RefAttributes<HTMLButtonElement>>[] | undefined;
9
- children: React.ReactNode;
10
- }): JSX.Element;
14
+ ({ children, collapsed, className, heading, ...other }: PanelProps): JSX.Element;
11
15
  displayName: string;
12
16
  propTypes: {
13
17
  children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
18
+ heading: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
14
19
  className: PropTypes.Requireable<string>;
15
20
  };
16
21
  };
@@ -5,6 +5,7 @@ export interface SideBarProps extends React.HTMLAttributes<HTMLUListElement> {
5
5
  onDismiss: () => void;
6
6
  className?: string;
7
7
  show: boolean;
8
+ navProps: React.HTMLAttributes<HTMLElement>;
8
9
  }
9
10
  interface SideBarState {
10
11
  wide: boolean;
@@ -9,6 +9,7 @@ interface StepWithChildren extends BaseStepProps {
9
9
  }
10
10
  interface StepWithTooltip extends BaseStepProps {
11
11
  tooltip: React.ReactNode;
12
+ tooltipText: string;
12
13
  }
13
14
  declare type StepProps = StepWithChildren | StepWithTooltip;
14
15
  export declare const Step: {
@@ -17,6 +18,7 @@ export declare const Step: {
17
18
  propTypes: {
18
19
  children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
19
20
  tooltip: PropTypes.Requireable<PropTypes.ReactNodeLike>;
21
+ tooltipText: PropTypes.Requireable<string>;
20
22
  className: PropTypes.Requireable<string>;
21
23
  };
22
24
  };
@@ -1,6 +1,6 @@
1
- import React from 'react';
1
+ import React, { TdHTMLAttributes } from 'react';
2
2
  import PropTypes from 'prop-types';
3
- interface TableCellProps {
3
+ interface TableCellProps extends TdHTMLAttributes<HTMLTableCellElement> {
4
4
  children: React.ReactNode;
5
5
  className?: string;
6
6
  }
@@ -1,6 +1,6 @@
1
- import React from 'react';
1
+ import React, { ThHTMLAttributes } from 'react';
2
2
  import PropTypes from 'prop-types';
3
- interface TableHeaderProps {
3
+ interface TableHeaderProps extends ThHTMLAttributes<HTMLTableCellElement> {
4
4
  children: React.ReactNode;
5
5
  className?: string;
6
6
  }
@@ -5,10 +5,15 @@ declare type TabsProps = {
5
5
  children: React.ReactNode;
6
6
  initialActiveIndex?: number;
7
7
  thin?: boolean;
8
+ orientation?: 'horizontal' | 'vertical';
8
9
  className?: string;
10
+ onChange?: ({ activeTabIndex, target }: {
11
+ activeTabIndex: number;
12
+ target: HTMLLIElement | null;
13
+ }) => void;
9
14
  } & Cauldron.LabelProps;
10
15
  declare const Tabs: {
11
- ({ children, thin, initialActiveIndex, className, ...labelProp }: TabsProps): JSX.Element;
16
+ ({ children, thin, orientation, initialActiveIndex, className, onChange, ...labelProp }: TabsProps): JSX.Element;
12
17
  displayName: string;
13
18
  propTypes: {
14
19
  children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
@@ -16,6 +21,7 @@ declare const Tabs: {
16
21
  'aria-labelledby': PropTypes.Requireable<string>;
17
22
  initialActiveIndex: PropTypes.Requireable<number>;
18
23
  thin: PropTypes.Requireable<boolean>;
24
+ orientation: PropTypes.Requireable<string>;
19
25
  className: PropTypes.Requireable<string>;
20
26
  };
21
27
  };
@@ -11,7 +11,7 @@ export interface TooltipProps extends React.HTMLAttributes<HTMLDivElement> {
11
11
  portal?: React.RefObject<HTMLElement> | HTMLElement;
12
12
  hideElementOnHidden?: boolean;
13
13
  }
14
- declare function Tooltip({ id: propId, placement: initialPlacement, children, portal, target, association, variant, show: showProp, hideElementOnHidden, ...props }: TooltipProps): React.ReactPortal | null;
14
+ declare function Tooltip({ id: propId, placement: initialPlacement, children, portal, target, association, variant, show: showProp, hideElementOnHidden, className, ...props }: TooltipProps): React.ReactPortal | null;
15
15
  declare namespace Tooltip {
16
16
  var displayName: string;
17
17
  var propTypes: {
@@ -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;
@@ -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 SvgDownload = 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: "M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z",
12
20
  vectorEffect: "non-scaling-stroke",
13
21
  fill: "currentColor"
14
- });
15
-
16
- function SvgDownload(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
- }
22
+ })));
25
23
 
26
24
  exports.default = SvgDownload;
@@ -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 SvgExchange = 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.33 14.34a.347.347 0 0 0-.33-.33H6.67v-2a.347.347 0 0 0-.33-.33.34.34 0 0 0-.24.09L2.77 15.1a.34.34 0 0 0-.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 0 0-.09-.24l-3.33-3.32a.407.407 0 0 0-.25-.11.314.314 0 0 0-.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 0 0 .09-.24h.01z",
20
+ fill: "currentColor",
21
+ vectorEffect: "non-scaling-stroke"
22
+ })));
23
+
24
+ exports.default = SvgExchange;
@@ -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 SvgExternalLink = 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.33 13.67a.317.317 0 0 0-.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 0 0-2.12.88 2.9 2.9 0 0 0-.88 2.12V17c-.01.8.31 1.57.88 2.12a2.9 2.9 0 0 0 2.12.88h8.66c1.66 0 3-1.34 3-3v-3.33zm4-9a.683.683 0 0 0-.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",
21
+ vectorEffect: "non-scaling-stroke",
22
+ fill: "currentColor"
23
+ })));
24
+
25
+ exports.default = SvgExternalLink;
@@ -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 SvgEye = 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: "M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z",
12
20
  vectorEffect: "non-scaling-stroke",
13
21
  fill: "currentColor"
14
- });
15
-
16
- function SvgEye(props) {
17
- return /*#__PURE__*/React.createElement("svg", _extends({
18
- overflow: "visible",
19
- preserveAspectRatio: "none",
20
- viewBox: "0 0 24 24",
21
- width: 16,
22
- height: 15
23
- }, props), _ref);
24
- }
22
+ })));
25
23
 
26
24
  exports.default = SvgEye;
@@ -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 SvgFilter = 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: "M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z",
12
20
  fill: "currentColor",
13
21
  vectorEffect: "non-scaling-stroke"
14
- });
15
-
16
- function SvgFilter(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
- }, props), _ref);
24
- }
22
+ })));
25
23
 
26
24
  exports.default = SvgFilter;
@@ -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: "M5.67 5.34c.01-.73-.59-1.33-1.32-1.34h-.01c-.73-.01-1.33.59-1.34 1.32v.02c-.01.48.25.93.67 1.15v13.17c0 .18.15.33.33.34h.67c.18-.01.33-.16.33-.34V6.48c.42-.22.68-.67.67-1.15v.01zM21 6a.683.683 0 00-.67-.67c-.2.04-.39.11-.57.22l-.91.45c-.37.2-.75.36-1.15.49-.39.14-.8.21-1.22.22-.32.01-.63-.06-.92-.2-.74-.36-1.5-.66-2.28-.92a6.98 6.98 0 00-2.08-.3 9.95 9.95 0 00-4.38 1.3c-.28.12-.55.26-.82.41a.73.73 0 00-.32.57v7.73c.01.37.3.66.67.67.12 0 .24-.03.34-.09 1.46-.89 3.12-1.41 4.83-1.52.5 0 1 .08 1.48.23.42.13.82.29 1.2.5.36.2.74.37 1.13.5.41.15.85.23 1.29.23 1.36-.09 2.68-.5 3.84-1.21.15-.07.29-.17.41-.29.09-.11.14-.25.13-.4V6z",
12
+ const SvgFlag = 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: "M5.67 5.34c.01-.73-.59-1.33-1.32-1.34h-.01c-.73-.01-1.33.59-1.34 1.32v.02c-.01.48.25.93.67 1.15v13.17c0 .18.15.33.33.34h.67c.18-.01.33-.16.33-.34V6.48c.42-.22.68-.67.67-1.15v.01zM21 6a.683.683 0 0 0-.67-.67c-.2.04-.39.11-.57.22l-.91.45c-.37.2-.75.36-1.15.49-.39.14-.8.21-1.22.22-.32.01-.63-.06-.92-.2-.74-.36-1.5-.66-2.28-.92a6.98 6.98 0 0 0-2.08-.3 9.95 9.95 0 0 0-4.38 1.3c-.28.12-.55.26-.82.41a.73.73 0 0 0-.32.57v7.73c.01.37.3.66.67.67.12 0 .24-.03.34-.09 1.46-.89 3.12-1.41 4.83-1.52.5 0 1 .08 1.48.23.42.13.82.29 1.2.5.36.2.74.37 1.13.5.41.15.85.23 1.29.23 1.36-.09 2.68-.5 3.84-1.21.15-.07.29-.17.41-.29.09-.11.14-.25.13-.4V6z",
12
21
  vectorEffect: "non-scaling-stroke",
13
22
  fill: "currentColor"
14
- });
15
-
16
- function SvgFlag(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 = SvgFlag;
package/lib/gears.js ADDED
@@ -0,0 +1,22 @@
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
+ const SvgGears = props => /*#__PURE__*/React.createElement("svg", _extends({
11
+ xmlns: "http://www.w3.org/2000/svg",
12
+ viewBox: "0 0 29.74 26.88",
13
+ height: 24,
14
+ width: 24
15
+ }, props), /*#__PURE__*/React.createElement("path", {
16
+ d: "M19.22 15.56a.38.38 0 0 0-.22-.16l-2.31-.35a6.79 6.79 0 0 0-.52-1.21l.68-.88c.3-.37.51-.65.64-.83a.51.51 0 0 0 .1-.29.41.41 0 0 0-.09-.28 17.53 17.53 0 0 0-2.08-2.14.48.48 0 0 0-.31-.12.41.41 0 0 0-.3.11L13 10.7a9.28 9.28 0 0 0-1.13-.47l-.35-2.31a.37.37 0 0 0-.15-.26.39.39 0 0 0-.3-.12h-2.8a.41.41 0 0 0-.45.35 18.64 18.64 0 0 0-.36 2.34 7.33 7.33 0 0 0-1.15.48L4.57 9.36a.58.58 0 0 0-.33-.12 3.06 3.06 0 0 0-1.24.89 14.32 14.32 0 0 0-1.21 1.36.53.53 0 0 0-.1.29.42.42 0 0 0 .12.3c.55.68 1 1.26 1.34 1.74A6.06 6.06 0 0 0 2.68 15l-2.34.35a.35.35 0 0 0-.24.17.46.46 0 0 0-.1.29v2.79a.51.51 0 0 0 .1.29.42.42 0 0 0 .26.16l2.31.33a5.66 5.66 0 0 0 .52 1.21c-.16.21-.37.5-.68.88s-.5.66-.64.84a.48.48 0 0 0-.09.29.49.49 0 0 0 .08.29A17.27 17.27 0 0 0 3.94 25a.41.41 0 0 0 .31.14.52.52 0 0 0 .32-.11l1.77-1.34a11.37 11.37 0 0 0 1.14.47l.35 2.32a.34.34 0 0 0 .15.26.44.44 0 0 0 .31.11h2.79a.43.43 0 0 0 .45-.35 18.64 18.64 0 0 0 .36-2.34A7.36 7.36 0 0 0 13 23.7l1.74 1.36a.52.52 0 0 0 .32.11 2.94 2.94 0 0 0 1.21-.9 11.9 11.9 0 0 0 1.21-1.35.46.46 0 0 0 .11-.29.53.53 0 0 0-.12-.32c-.61-.73-1.05-1.31-1.34-1.74a7.68 7.68 0 0 0 .49-1.14l2.38-.35a.43.43 0 0 0 .34-.45v-2.79a.43.43 0 0 0-.12-.28zm-7.28 3.91a3.22 3.22 0 0 1-4.54 0 3.23 3.23 0 0 1 0-4.54 3.22 3.22 0 0 1 4.55 0 3.56 3.56 0 0 1-.01 4.54zM29.73 5.16a.28.28 0 0 0-.06-.16.27.27 0 0 0-.16-.1l-1.44-.21a3.85 3.85 0 0 0-.32-.75c.1-.13.23-.32.42-.55s.32-.41.4-.52a.28.28 0 0 0 .06-.18.26.26 0 0 0-.05-.17 11.58 11.58 0 0 0-1.29-1.33.35.35 0 0 0-.2-.07.27.27 0 0 0-.19.06L25.81 2a6.29 6.29 0 0 0-.71-.3L24.89.24a.22.22 0 0 0-.09-.16.25.25 0 0 0-.19-.08h-1.74a.26.26 0 0 0-.28.22 12.1 12.1 0 0 0-.22 1.45 5.74 5.74 0 0 0-.72.3l-1.08-.84a.35.35 0 0 0-.2-.07 2 2 0 0 0-.75.55 8.49 8.49 0 0 0-.75.84.4.4 0 0 0-.07.18.27.27 0 0 0 .08.19c.34.42.62.78.83 1.08a4.09 4.09 0 0 0-.31.75l-1.4.22a.23.23 0 0 0-.15.1.3.3 0 0 0-.06.18v1.74a.32.32 0 0 0 .06.18.22.22 0 0 0 .16.09l1.44.21a3.32 3.32 0 0 0 .32.75l-.42.55c-.19.23-.32.41-.4.52a.28.28 0 0 0-.06.18.35.35 0 0 0 .05.18 11.4 11.4 0 0 0 1.29 1.31.3.3 0 0 0 .2.08.31.31 0 0 0 .19-.06l1.06-.88a5.46 5.46 0 0 0 .7.3l.22 1.44a.26.26 0 0 0 .09.16.28.28 0 0 0 .19.07h1.74a.25.25 0 0 0 .27-.22 12.13 12.13 0 0 0 .23-1.45 5 5 0 0 0 .71-.3l1.08.84a.36.36 0 0 0 .2.06 1.73 1.73 0 0 0 .75-.55 7.49 7.49 0 0 0 .75-.84.24.24 0 0 0 .07-.18.35.35 0 0 0-.07-.2 12.91 12.91 0 0 1-.84-1.08 4.49 4.49 0 0 0 .31-.71l1.45-.22a.25.25 0 0 0 .16-.1.34.34 0 0 0 0-.17v-1.7zm-4.58 2.25a2 2 0 0 1-2.82 0 2 2 0 0 1 0-2.82 2 2 0 0 1 2.82 0 2.23 2.23 0 0 1 0 2.82z",
17
+ style: {
18
+ fill: "currentColor"
19
+ }
20
+ }));
21
+
22
+ exports.default = SvgGears;
@@ -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", {
12
+ const SvgGrid = 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: "M4 8h4V4H4v4zm6 12h4v-4h-4v4zm-6 0h4v-4H4v4zm0-6h4v-4H4v4zm6 0h4v-4h-4v4zm6-10v4h4V4h-4zm-6 4h4V4h-4v4zm6 6h4v-4h-4v4zm0 6h4v-4h-4v4z",
12
20
  fill: "currentColor"
13
- });
14
-
15
- function SvgGrid(props) {
16
- return /*#__PURE__*/React.createElement("svg", _extends({
17
- overflow: "visible",
18
- preserveAspectRatio: "none",
19
- viewBox: "0 0 24 24",
20
- width: 19,
21
- height: 19
22
- }, props), _ref);
23
- }
21
+ })));
24
22
 
25
23
  exports.default = SvgGrid;
@@ -5,9 +5,17 @@ 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 _g;
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("g", {
12
+ const SvgHamburgerMenu = props => /*#__PURE__*/React.createElement("svg", _extends({
13
+ overflow: "visible",
14
+ preserveAspectRatio: "none",
15
+ viewBox: "0 0 20 20",
16
+ height: 24,
17
+ width: 24
18
+ }, props), _g || (_g = /*#__PURE__*/React.createElement("g", {
11
19
  fill: "currentColor"
12
20
  }, /*#__PURE__*/React.createElement("rect", {
13
21
  x: 1,
@@ -27,15 +35,6 @@ var _ref = /*#__PURE__*/React.createElement("g", {
27
35
  width: 18,
28
36
  height: 3,
29
37
  rx: 1
30
- }));
31
-
32
- function SvgHamburgerMenu(props) {
33
- return /*#__PURE__*/React.createElement("svg", _extends({
34
- overflow: "visible",
35
- preserveAspectRatio: "none",
36
- width: 20,
37
- height: 20
38
- }, props), _ref);
39
- }
38
+ }))));
40
39
 
41
40
  exports.default = SvgHamburgerMenu;
@@ -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 SvgHighlight = 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: "M15.3 15.3c-.56.56-1.24.96-2 1.17v-1.14a.683.683 0 0 0-.67-.67h-1.3c-.37.01-.66.3-.67.67v1.13a4.677 4.677 0 0 1-3.13-3.13h1.14c.37-.01.66-.3.67-.67v-1.33a.683.683 0 0 0-.67-.67H7.53c.45-1.5 1.63-2.68 3.13-3.13v1.14c.01.37.3.66.67.67h1.33c.37-.01.66-.3.67-.67V7.53c1.5.45 2.68 1.63 3.13 3.13h-1.13c-.37.01-.66.3-.67.67v1.33c.01.37.3.66.67.67h1.13c-.21.74-.61 1.42-1.16 1.97zm4.7-4a.683.683 0 0 0-.67-.67h-1.49c-.51-2.24-2.27-4-4.51-4.51V4.66a.688.688 0 0 0-.66-.67h-1.34a.69.69 0 0 0-.67.67v1.49c-2.24.51-4 2.27-4.51 4.51H4.67c-.37.01-.66.31-.67.68v1.33c.01.37.3.66.67.67h1.49c.51 2.24 2.27 4 4.51 4.51v1.49c.01.37.3.66.67.67h1.33c.37-.01.66-.3.67-.67v-1.5c2.24-.51 4-2.27 4.51-4.51h1.49c.36-.01.65-.3.66-.66V11.3z",
20
+ fill: "currentColor",
21
+ vectorEffect: "non-scaling-stroke"
22
+ })));
23
+
24
+ exports.default = SvgHighlight;
package/lib/index.d.ts CHANGED
@@ -42,7 +42,12 @@ export { default as Tabs, Tab, TabPanel } from './components/Tabs';
42
42
  export { DescriptionList, DescriptionListItem, DescriptionTerm, DescriptionDetails } from './components/DescriptionList';
43
43
  export { default as Stepper, Step } from './components/Stepper';
44
44
  export { default as Panel } from './components/Panel';
45
+ export { default as IssuePanel } from './components/IssuePanel';
45
46
  export { default as ProgressBar } from './components/ProgressBar';
47
+ export { Address, AddressLine, AddressCityStateZip } from './components/Address';
48
+ export { default as Pagination } from './components/Pagination';
49
+ export { default as FieldWrap } from './components/FieldWrap';
50
+ export { default as Breadcrumb, BreadcrumbItem, BreadcrumbLink } from './components/Breadcrumb';
46
51
  /**
47
52
  * Helpers / Utils
48
53
  */