@hexure/ui 1.13.33 → 1.13.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/index.js CHANGED
@@ -1,13 +1,13 @@
1
- 'use strict';
2
-
3
- var React = require('react');
4
- var styled = require('styled-components');
5
- var Icon = require('@mdi/react');
6
- var js = require('@mdi/js');
7
- var dayjs = require('dayjs');
8
- var Numeral = require('numeral');
9
- var Moment = require('moment');
10
-
1
+ 'use strict';
2
+
3
+ var React = require('react');
4
+ var styled = require('styled-components');
5
+ var Icon = require('@mdi/react');
6
+ var js = require('@mdi/js');
7
+ var dayjs = require('dayjs');
8
+ var Numeral = require('numeral');
9
+ var Moment = require('moment');
10
+
11
11
  /******************************************************************************
12
12
  Copyright (c) Microsoft Corporation.
13
13
 
@@ -21,22 +21,22 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
21
21
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
22
22
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
23
23
  PERFORMANCE OF THIS SOFTWARE.
24
- ***************************************************************************** */
25
- /* global Reflect, Promise, SuppressedError, Symbol */
26
-
27
- function __rest(s, e) {
28
- var t = {};
29
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
30
- if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
31
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
32
- }
33
- return t;
34
- }
35
- typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
36
- var e = new Error(message);
37
- return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
38
- };
39
-
24
+ ***************************************************************************** */
25
+ /* global Reflect, Promise, SuppressedError, Symbol */
26
+
27
+ function __rest(s, e) {
28
+ var t = {};
29
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
30
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
31
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
32
+ }
33
+ return t;
34
+ }
35
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
36
+ var e = new Error(message);
37
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
38
+ };
39
+
40
40
  const Colors = {
41
41
  PRIMARY: {
42
42
  Hex: '#0193D7',
@@ -85,8 +85,8 @@ const FontSizes = {
85
85
  };
86
86
  const EditableTheme = {
87
87
  PRIMARY_COLOR: Colors.PRIMARY,
88
- };
89
-
88
+ };
89
+
90
90
  //function to generate unique ids
91
91
  const generateUniqueId = (() => {
92
92
  let counter = 0;
@@ -94,8 +94,8 @@ const generateUniqueId = (() => {
94
94
  counter += 1;
95
95
  return `${prefix}-${counter}`;
96
96
  };
97
- })();
98
-
97
+ })();
98
+
99
99
  const Header$3 = styled.div `
100
100
  display: flex;
101
101
  align-items: center;
@@ -123,8 +123,8 @@ const Accordion = (_a) => {
123
123
  React.createElement(Title$2, { id: `${id}-title` }, title),
124
124
  React.createElement(Icon, { color: Colors.BLACK.Hex, id: `${id}-icon`, path: open ? js.mdiChevronUp : js.mdiChevronDown, size: '24px' })),
125
125
  open ? React.createElement("div", { id: `${id}-content` }, children) : null));
126
- };
127
-
126
+ };
127
+
128
128
  const StyledComponent = styled.p `
129
129
  color: ${props => Colors[props.$color || 'BLACK'].Hex};
130
130
  font-size: ${props => (props.$type === 'small' ? FontSizes.SMALL : FontSizes.DEFAULT)};
@@ -146,8 +146,8 @@ const Copy = (_a) => {
146
146
  };
147
147
  Copy.defaultProps = {
148
148
  type: 'default',
149
- };
150
-
149
+ };
150
+
151
151
  const Wrapper$h = styled.div `
152
152
  display: inline-block;
153
153
  position: relative;
@@ -197,8 +197,8 @@ const Tooltip = ({ children, position = 'right-top', width = '240px', trigger, }
197
197
  return (React.createElement(Wrapper$h, { id: `${id}-wrapper`, onMouseEnter: toggleContent.bind(null, true), onMouseLeave: toggleContent.bind(null, false) },
198
198
  trigger || React.createElement(StyledIcon$6, { id: `${id}-icon`, path: js.mdiInformationOutline }),
199
199
  show_content ? (React.createElement(Content$3, { "$position": position, "$width": width, id: `${id}-content` }, children && (React.createElement(Copy, { id: `${id}-copy`, type: 'small' }, children)))) : null));
200
- };
201
-
200
+ };
201
+
202
202
  const StyledButton = styled.button `
203
203
  height: ${props => (props.$small ? '30px' : '40px')};
204
204
  line-height: 1em;
@@ -320,8 +320,8 @@ const Button = (_a) => {
320
320
  return (React.createElement(Tooltip, Object.assign({}, toolTip, { trigger: (toolTip === null || toolTip === void 0 ? void 0 : toolTip.trigger) || button_view }), toolTip === null || toolTip === void 0 ? void 0 : toolTip.children));
321
321
  }
322
322
  return button_view;
323
- };
324
-
323
+ };
324
+
325
325
  const H1 = styled.h1 `
326
326
  color: ${Colors.BLACK.Hex};
327
327
  font-size: 30px;
@@ -370,8 +370,8 @@ const Heading = (_a) => {
370
370
  Heading.defaultProps = {
371
371
  bold: false,
372
372
  type: 'primary',
373
- };
374
-
373
+ };
374
+
375
375
  const Wrapper$g = styled.div `
376
376
  position: fixed;
377
377
  top: 0;
@@ -405,8 +405,8 @@ const ActionDialog = (_a) => {
405
405
  tertiaryButton ? (React.createElement(Button, Object.assign({}, tertiaryButton, { format: tertiaryButton.format || 'secondary', id: `${id}-tertiary-button` }))) : null,
406
406
  secondaryButton ? (React.createElement(Button, Object.assign({}, secondaryButton, { format: secondaryButton.format || 'secondary', id: `${id}-secondary-button` }))) : null,
407
407
  primaryButton ? (React.createElement(Button, Object.assign({}, primaryButton, { format: primaryButton.format || 'primary', id: `${id}-primary-button` }))) : null)) : null)));
408
- };
409
-
408
+ };
409
+
410
410
  const Wrapper$f = styled.div `
411
411
  border: 1px solid #f1f1f1;
412
412
  border-radius: 4px;
@@ -458,8 +458,8 @@ const Alert = (_a) => {
458
458
  title && !small ? (React.createElement(Heading, { bold: true, id: `${id}-title`, margin: '2px 0 0 0', type: 'tertiary' }, title)) : null,
459
459
  description ? (React.createElement(Copy, { id: `${id}-description`, margin: small ? '' : '6px 0 0 0 !important' }, description)) : null,
460
460
  action && !small ? (React.createElement(Action$1, { id: `${id}-action`, onClick: action.onClick }, action.label)) : null)));
461
- };
462
-
461
+ };
462
+
463
463
  const colorMapping = {
464
464
  black: {
465
465
  fill_1: '#000000',
@@ -501,8 +501,8 @@ const Logo = (_a) => {
501
501
  React.createElement("path", { d: 'M67.8498 45.479C67.5109 44.893 66.7322 43.5486 66.2043 42.6319H55.1965C52.3299 42.6319 49.8532 41.6095 47.8364 39.5923C45.819 37.5755 44.7966 35.0985 44.7966 32.2321C44.7966 29.3656 45.819 26.8886 47.8364 24.8718C49.8388 22.8332 52.316 21.7975 55.1965 21.7975C58.0632 21.7975 60.5398 22.8199 62.5565 24.8374C63.6038 25.8847 64.3824 27.093 64.9357 28.5312L65.2435 29.3327H53.8141C53.231 30.2171 52.5673 31.6476 52.303 32.2354L53.912 35.0969H67.474L71.0059 28.6192C70.2872 25.5702 68.8261 22.9293 66.6625 20.7657C63.5219 17.6257 59.6649 16.0333 55.1965 16.0333C50.7283 16.0333 46.8708 17.6257 43.7303 20.7657C40.546 23.9501 38.9979 27.7011 38.9979 32.2321C38.9979 36.7001 40.5903 40.5577 43.7303 43.6981C46.8708 46.8384 50.7283 48.4308 55.1965 48.4308H66.0873C66.9322 47.0737 67.5668 45.977 67.8498 45.479', fill: colorMapping[type_parts[1]].fill_1, id: `${id}-path-7` }),
502
502
  React.createElement("path", { d: 'M27.6655 20.7443C26.9235 20.002 26.2307 19.4097 25.608 18.9831C22.7338 17.0113 19.5684 16.0117 16.1992 16.0117C13.6229 16.0117 11.1676 16.5943 8.9002 17.7442C8.1016 18.1264 7.38657 18.6118 6.73074 19.0799L5.88805 19.6819C5.85364 19.711 5.81716 19.7449 5.78223 19.7749L5.77618 17.9067C5.78246 17.9022 5.7892 17.8965 5.79554 17.8921L5.72168 1.52402L2.84058 1.54784e-05L0 1.6145V24.9966V30.8918C0.0184614 30.8508 0.0393993 30.8108 0.0580857 30.7698C0.0216133 31.2417 0 31.7206 0 32.2105V47.6757L2.84688 49.2499C4.7412 48.3293 5.4988 47.9164 5.79866 47.7385V32.2105C5.79866 29.3439 6.82128 26.8672 8.83853 24.8504C10.8415 22.8118 13.319 21.7759 16.1992 21.7759C19.0796 21.7759 21.557 22.8118 23.5635 24.8538C25.3441 26.6351 26.3374 28.7976 26.5963 31.4625C26.6263 31.6669 26.6339 40.3058 26.6339 47.6694C27.2825 48.0147 28.6127 48.8167 29.5141 49.3059C29.9448 49.0814 32.0589 47.8425 32.3979 47.6669V32.2105C32.3979 27.6795 30.8499 23.9285 27.6655 20.7443Z', fill: colorMapping[type_parts[1]].fill_1, id: `${id}-path-8` })));
503
503
  }
504
- };
505
-
504
+ };
505
+
506
506
  const Container$3 = styled.header `
507
507
  width: 100%;
508
508
  display: flex;
@@ -531,8 +531,8 @@ const AppHeader = ({ logoUrl, buttons = [] }) => {
531
531
  return (React.createElement(Container$3, { id: `${id}-container` },
532
532
  React.createElement(LogoWrapper, { id: `${id}-logo-wrapper` }, logoUrl ? (React.createElement(Image, { id: `${id}-logo`, src: logoUrl })) : (React.createElement(Logo, { height: '30px', id: `${id}-default-logo` }))),
533
533
  React.createElement(Buttons, { id: `${id}-buttons` }, buttons.map((b, i) => (React.createElement(Button, Object.assign({ key: i }, b, { id: `${id}-button-${i}` })))))));
534
- };
535
-
534
+ };
535
+
536
536
  const Wrapper$e = styled.div `
537
537
  display: inline-block;
538
538
  border-radius: 4px;
@@ -566,8 +566,8 @@ const Tag = (_a) => {
566
566
  React.createElement(Label$4, { "$color": color, id: `${id}-label` }, children),
567
567
  removable ? (React.createElement(Remove$1, { id: `${id}-remove` },
568
568
  React.createElement(Icon, { color: color === 'SUBTLE_GRAY' ? '#000000' : '#ffffff', id: `${id}-icon`, path: js.mdiClose, size: '15px' }))) : null)));
569
- };
570
-
569
+ };
570
+
571
571
  const SidebarContainer = styled.div `
572
572
  border-right: 1px solid ${Colors.LIGHT_GRAY.Hex};
573
573
  display: flex;
@@ -682,8 +682,8 @@ const AppMenu = ({ menu, isCollapsed, footerTag, defaultWidth = '280px' }) => {
682
682
  e.preventDefault();
683
683
  toggleCollapse(!collapsed);
684
684
  }, small: true }))));
685
- };
686
-
685
+ };
686
+
687
687
  const Wrapper$d = styled.div `
688
688
  border: 1px solid ${props => props.theme.PRIMARY_COLOR.Hex};
689
689
  border-radius: 8px;
@@ -766,8 +766,8 @@ const BulkActionBar = (_a) => {
766
766
  errorMsg ? (React.createElement(Error$1, { id: `${id}-error` },
767
767
  React.createElement(Icon, { color: Colors.RED.Hex, id: `${id}-error-icon`, path: js.mdiInformationOutline, size: '20px' }),
768
768
  React.createElement(ErrorMsg, { id: `${id}-error-msg` }, errorMsg))) : null));
769
- };
770
-
769
+ };
770
+
771
771
  const Wrapper$c = styled.div `
772
772
  background: #fff;
773
773
  border-radius: 8px;
@@ -822,8 +822,8 @@ const MoreMenu = (_a) => {
822
822
  item.icon ? (React.createElement(Icon, { color: item.disabled ? Colors.LIGHT_GRAY.Hex : Colors.MEDIUM_GRAY.Hex, id: `${itemId}-icon`, path: item.icon, size: '20px' })) : null,
823
823
  React.createElement(Title$1, { disabled: (_a = item.disabled) !== null && _a !== void 0 ? _a : false, id: `${itemId}-title` }, item.label)));
824
824
  })));
825
- };
826
-
825
+ };
826
+
827
827
  const MenuWrapper = styled.div `
828
828
  position: relative;
829
829
  display: inline-block;
@@ -909,8 +909,8 @@ const ButtonMenu = ({ disabled, label, maxHeight, menuItems, small, position = '
909
909
  return (React.createElement(MenuWrapper, { id: `${id}-menu-wrapper`, onClick: handleClick, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ref: menuWrapperRef },
910
910
  React.createElement(Button, { disabled: disabled, format: format, icon: js.mdiDotsHorizontal, id: `${id}-button`, small: small }, label),
911
911
  showMenu && (React.createElement(StyledMoreMenu, { "$left": menuPosition.left, "$menuWidth": menuWidth, "$top": menuPosition.top, id: `${id}-more-menu`, maxHeight: maxHeight, menuItems: menuItems }))));
912
- };
913
-
912
+ };
913
+
914
914
  const Wrapper$b = styled.label `
915
915
  border-radius: 4px;
916
916
  padding: 4px 0px 4px 6px;
@@ -998,8 +998,8 @@ const Checkbox = (_a) => {
998
998
  children ? (React.createElement(Label$3, { color: color, id: `${id}-label` },
999
999
  children,
1000
1000
  tooltip ? React.createElement(Tooltip, Object.assign({}, tooltip)) : null)) : null));
1001
- };
1002
-
1001
+ };
1002
+
1003
1003
  const SelectAll = styled.div `
1004
1004
  padding: 8px 12px;
1005
1005
  border-bottom: 1px solid ${Colors.LIGHT_GRAY.Hex};
@@ -1046,8 +1046,8 @@ const Checklist = (_a) => {
1046
1046
  const optionId = generateUniqueId('option');
1047
1047
  return (React.createElement(Checkbox, Object.assign({ id: `${optionId}-checkbox`, key: i }, accessibleProps, { checked: checked, color: option.color, disabled: disabled, onChange: handleChange.bind(null, option) }), label));
1048
1048
  }))));
1049
- };
1050
-
1049
+ };
1050
+
1051
1051
  const Wrapper$a = styled.div `
1052
1052
  border-radius: 4px;
1053
1053
  height: 40px;
@@ -1144,8 +1144,8 @@ const Select = (_a) => {
1144
1144
  filteredOptions &&
1145
1145
  filteredOptions.map((option, i) => (React.createElement("option", { id: `${id}-option-${i}`, key: i, style: { color: option.color }, value: option.value }, option.label || option.value)))),
1146
1146
  React.createElement(IconWrapper$2, { color: Colors.BLACK.Hex, id: `${id}-icon`, path: js.mdiChevronDown, size: '22px' })));
1147
- };
1148
-
1147
+ };
1148
+
1149
1149
  const DatePickerWrapper = styled.div `
1150
1150
  display: flex;
1151
1151
  width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
@@ -1234,8 +1234,8 @@ onChange = () => { }, style, }) => {
1234
1234
  React.createElement(Middle, { id: `${id}-middle` },
1235
1235
  React.createElement(Select, { id: `${id}-day-select`, invalid: invalid, onChange: handleDayChange, options: dayOptions, placeholder: 'Select Day', readOnly: readOnly, style: { borderRadius: '0px' }, value: selectedDay })),
1236
1236
  React.createElement(Select, { id: `${id}-year-select`, invalid: invalid, onChange: handleYearChange, options: years, placeholder: 'Select Year', readOnly: readOnly, style: { borderRadius: '0px 4px 4px 0px', flexGrow: 2 }, value: selectedYear }))));
1237
- };
1238
-
1237
+ };
1238
+
1239
1239
  const Scrim$1 = styled.div `
1240
1240
  position: ${({ $position }) => $position};
1241
1241
  top: 0;
@@ -1322,8 +1322,8 @@ const Drawer = (_a) => {
1322
1322
  secondaryButton ? (React.createElement(Button, Object.assign({}, secondaryButton, { format: secondaryButton.format || 'secondary', id: `${id}-secondary-button` }))) : null,
1323
1323
  primaryButton ? (React.createElement(Button, Object.assign({}, primaryButton, { format: primaryButton.format || 'primary', id: `${id}-primary-button` }))) : null)) : null),
1324
1324
  scrim ? (React.createElement(Scrim$1, { "$position": position, "$scrim": scrim, id: `${id}-scrim`, onClick: onClose })) : null));
1325
- };
1326
-
1325
+ };
1326
+
1327
1327
  const Wrapper$9 = styled.div(props => (Object.assign({ margin: '0px 0px 18px 0px' }, props.$customStyle)));
1328
1328
  const LabelRow = styled.div `
1329
1329
  display: flex;
@@ -1377,16 +1377,16 @@ const Field = (_a) => {
1377
1377
  const id = generateUniqueId('field');
1378
1378
  return (React.createElement(Wrapper$9, Object.assign({ "$customStyle": style }, accessibleProps, { id: `${id}-wrapper` }),
1379
1379
  React.createElement(LabelRow, { id: `${id}-label-row` },
1380
- React.createElement(Label$2, { htmlFor: htmlFor, id: `${id}-label` },
1380
+ label || required || tooltip ? (React.createElement(Label$2, { htmlFor: htmlFor, id: `${id}-label` },
1381
1381
  label,
1382
1382
  required ? React.createElement(Required, { id: `${id}-required` }, "*") : null,
1383
- tooltip ? React.createElement(Tooltip, Object.assign({}, tooltip)) : null),
1383
+ tooltip ? React.createElement(Tooltip, Object.assign({}, tooltip)) : null)) : null,
1384
1384
  action ? (React.createElement(Action, { id: action.id || `${id}-action`, onClick: action.onClick }, action.label)) : null),
1385
1385
  description ? React.createElement(Description, { id: `${id}-description` }, description) : null,
1386
1386
  React.createElement("div", { id: `${id}-children` }, children),
1387
1387
  validationText ? React.createElement(Validation, { id: `${id}-validation` }, validationText) : null));
1388
- };
1389
-
1388
+ };
1389
+
1390
1390
  const Wrapper$8 = styled.fieldset `
1391
1391
  margin-inline-start: 0px;
1392
1392
  margin-inline-end: 0px;
@@ -1421,8 +1421,8 @@ const FieldGroup = ({ children, label }) => {
1421
1421
  return (React.createElement(Wrapper$8, { id: `${id}-wrapper` },
1422
1422
  React.createElement(Label$1, { id: `${id}-label` }, label),
1423
1423
  React.createElement(Content$1, { id: `${id}-content` }, children)));
1424
- };
1425
-
1424
+ };
1425
+
1426
1426
  const Dropzone = styled.div `
1427
1427
  border-radius: 8px;
1428
1428
  border-width: 1px;
@@ -1612,8 +1612,8 @@ const FileUpload = ({ accept, onChange, onError, maxFiles = 10, maxSize = 2, val
1612
1612
  React.createElement(Copy, { align: 'center', color: 'GRAY', id: `${id}-message` }, message),
1613
1613
  tooltipInfo && (React.createElement("span", { id: `${id}-tooltip` },
1614
1614
  React.createElement(Tooltip, { children: tooltipInfo, position: 'left-center' }))))) : null))) : null)));
1615
- };
1616
-
1615
+ };
1616
+
1617
1617
  const getAgesFromDob = (dob) => {
1618
1618
  let calculated_current_age = null;
1619
1619
  let calculated_nearest_age = null;
@@ -1686,8 +1686,8 @@ const formatAsSsn = (number) => {
1686
1686
  formatted_value = `${formatted_value.substring(0, 3)}-${formatted_value.substring(3, 5)}-${formatted_value.substring(5, 9)}`;
1687
1687
  }
1688
1688
  return formatted_value;
1689
- };
1690
-
1689
+ };
1690
+
1691
1691
  const StyledInput = styled.input `
1692
1692
  border: none !important;
1693
1693
  background: none !important;
@@ -1928,7 +1928,7 @@ const Input$1 = (_a) => {
1928
1928
  onBlur(e);
1929
1929
  setTimeout(() => {
1930
1930
  setShowOptions(false);
1931
- }, 200);
1931
+ }, 500);
1932
1932
  }, onChange: readOnly ? e => e.preventDefault() : handleInputChange, onFocus: readOnly
1933
1933
  ? e => e.preventDefault()
1934
1934
  : e => {
@@ -1953,8 +1953,8 @@ const Input$1 = (_a) => {
1953
1953
  onSuggestedSelect();
1954
1954
  setShowOptions(false);
1955
1955
  } }, suggestedValue))))) : null));
1956
- };
1957
-
1956
+ };
1957
+
1958
1958
  const Wrapper$7 = styled.a `
1959
1959
  color: ${props => props.theme.PRIMARY_COLOR.Hex};
1960
1960
  font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
@@ -1974,8 +1974,8 @@ const Link = (_a) => {
1974
1974
  var { children, onClick, small } = _a, accessibleProps = __rest(_a, ["children", "onClick", "small"]);
1975
1975
  const id = generateUniqueId('link');
1976
1976
  return (React.createElement(Wrapper$7, Object.assign({ "$small": small, onClick: onClick }, accessibleProps, { id: `${id}-wrapper` }), children));
1977
- };
1978
-
1977
+ };
1978
+
1979
1979
  const dash = styled.keyframes `
1980
1980
  0% {
1981
1981
  stroke-dasharray: 1, 160;
@@ -2010,8 +2010,8 @@ const Loader = () => {
2010
2010
  const id = generateUniqueId('loader');
2011
2011
  return (React.createElement(Spinner, { id: `${id}-spinner`, viewBox: '0 0 16 18' },
2012
2012
  React.createElement(Path, { d: 'M7.21487 1.2868C7.88431 0.9044 8.73031 0.9044 9.39974 1.2868L9.40283 1.28856L14.4613 4.20761C15.1684 4.598 15.5746 5.33558 15.5746 6.11465V8.99996V11.8853C15.5746 12.6507 15.1632 13.3848 14.4617 13.7721L9.37973 16.7132C8.71029 17.0956 7.86428 17.0956 7.19485 16.7132L7.19088 16.7109L2.11279 13.772C1.40602 13.3816 1 12.6441 1 11.8653V8.98995V6.11465C1 5.31458 1.44381 4.59039 2.10827 4.21051L7.21487 1.2868Z', fill: 'none', id: `${id}-path`, strokeWidth: '2' })));
2013
- };
2014
-
2013
+ };
2014
+
2015
2015
  const Steps = styled.div `
2016
2016
  padding: 20px;
2017
2017
  border-bottom: 1px solid #e7e6e6;
@@ -2070,8 +2070,8 @@ const ProgressBar = ({ steps, showStepLine = false }) => {
2070
2070
  step.complete ? (React.createElement(StyledIcon$2, { id: `${stepId}-icon`, path: js.mdiCheckboxMarkedCircleOutline, size: '32px' })) : (React.createElement(StepIndicator, { "$active": step.active, id: `${stepId}-indicator` }, i + 1)),
2071
2071
  React.createElement(StepLabel, { id: `${stepId}-label` }, step.label))));
2072
2072
  })));
2073
- };
2074
-
2073
+ };
2074
+
2075
2075
  const Wrapper$6 = styled.div `
2076
2076
  position: fixed;
2077
2077
  top: 0;
@@ -2184,8 +2184,8 @@ const Modal = (_a) => {
2184
2184
  secondaryButton ? (React.createElement(ButtonContainer, { id: `${id}-secondary-button-container` },
2185
2185
  React.createElement(Button, Object.assign({}, secondaryButton, { format: secondaryButton.format || 'secondary', id: `${id}-secondary-button` })))) : null,
2186
2186
  primaryButton ? (React.createElement(Button, Object.assign({}, primaryButton, { format: primaryButton.format || 'primary', id: `${id}-primary-button` }))) : null)) : null)) : null)));
2187
- };
2188
-
2187
+ };
2188
+
2189
2189
  const Wrapper$5 = styled.div `
2190
2190
  position: relative;
2191
2191
  width: ${({ $style }) => ($style === null || $style === void 0 ? void 0 : $style.width) || 'auto'};
@@ -2289,8 +2289,8 @@ const MultiSelect = (_a) => {
2289
2289
  showOptions ? (React.createElement(Options, { id: `${id}-options` },
2290
2290
  React.createElement(Checklist, { id: `${id}-checklist`, onChange: onChange, options: filteredOptions, selected: selected, showSelectAll: showSelectAll }))) : null,
2291
2291
  showOptions ? (React.createElement(Scrim, { id: `${id}-scrim`, onClick: setShowOptions.bind(null, !showOptions) })) : null));
2292
- };
2293
-
2292
+ };
2293
+
2294
2294
  const Wrapper$4 = styled.div `
2295
2295
  display: flex;
2296
2296
  padding: 16px 30px;
@@ -2342,8 +2342,8 @@ const PageHeader = ({ title = '', breadcrumbs, actions, buttonMenu, tag }) => {
2342
2342
  return (React.createElement(Button, Object.assign({}, buttonProps, { id: `${actionId}-button`, key: i, small: true }), label));
2343
2343
  }),
2344
2344
  menuItems.length ? (React.createElement(ButtonMenu, { enableClick: enableClick, enableHover: enableHover, format: format, label: label, menuItems: menuItems, show: show, small: true })) : null)) : null));
2345
- };
2346
-
2345
+ };
2346
+
2347
2347
  const Wrapper$3 = styled.nav `
2348
2348
  box-sizing: border-box;
2349
2349
  display: flex;
@@ -2378,8 +2378,8 @@ const Pagination = (_a) => {
2378
2378
  value: `${p}`,
2379
2379
  })), value: `${currentPage}` }),
2380
2380
  React.createElement(Button, { disabled: is_last_page, icon: js.mdiChevronRight, id: `${id}-next-button`, onClick: handleNextClick, small: true })));
2381
- };
2382
-
2381
+ };
2382
+
2383
2383
  const Wrapper$2 = styled.label `
2384
2384
  border-radius: 4px;
2385
2385
  padding: 4px 0px 4px 6px;
@@ -2464,16 +2464,16 @@ const Radio = (_a) => {
2464
2464
  React.createElement(Label, { id: `${id}-label` },
2465
2465
  children,
2466
2466
  tooltip ? React.createElement(Tooltip, Object.assign({}, tooltip)) : null)));
2467
- };
2468
-
2467
+ };
2468
+
2469
2469
  const RadioList = (_a) => {
2470
2470
  var { disabled, onChange, options, value } = _a, accessibleProps = __rest(_a, ["disabled", "onChange", "options", "value"]);
2471
2471
  return (React.createElement(React.Fragment, null, options.map((option) => {
2472
2472
  const label = option.label || option.value;
2473
2473
  return (React.createElement(Radio, Object.assign({ checked: value === option.value, disabled: disabled, onChange: onChange, value: option.value }, accessibleProps), label));
2474
2474
  })));
2475
- };
2476
-
2475
+ };
2476
+
2477
2477
  const StyledTable = styled.table `
2478
2478
  width: 100%;
2479
2479
  margin-top: 1px;
@@ -2556,8 +2556,8 @@ const Table = (_a) => {
2556
2556
  return (React.createElement(Column, { "$align": columns[j].align, "$width": columns[j].width, id: `${columnId}-column`, key: j }, column.render ? column.render(row) : row[column.id] || 'N/A'));
2557
2557
  })));
2558
2558
  }))) : null));
2559
- };
2560
-
2559
+ };
2560
+
2561
2561
  const Wrapper$1 = styled.div `
2562
2562
  display: flex;
2563
2563
  box-sizing: border-box;
@@ -2618,8 +2618,8 @@ const Tabs = (_a) => {
2618
2618
  label));
2619
2619
  })));
2620
2620
  };
2621
- Tabs.defaultProps = {};
2622
-
2621
+ Tabs.defaultProps = {};
2622
+
2623
2623
  const Track = styled.div `
2624
2624
  height: 24px;
2625
2625
  border-radius: 12px;
@@ -2650,8 +2650,8 @@ const Toggle = (_a) => {
2650
2650
  React.createElement(Handle, { "$on": on, id: `${id}-handle` },
2651
2651
  React.createElement(Icon, { color: on ? Colors.GREEN.Hex : Colors.BLACK.Hex, id: `${id}-icon`, path: on ? js.mdiCheck : js.mdiClose, size: '16px' }))));
2652
2652
  };
2653
- Toggle.defaultProps = {};
2654
-
2653
+ Toggle.defaultProps = {};
2654
+
2655
2655
  const Container = styled.div `
2656
2656
  width: 100%;
2657
2657
  padding: 40px auto;
@@ -2687,53 +2687,53 @@ const ZeroState = (_a) => {
2687
2687
  React.createElement(Heading, { children: title, id: `${id}-heading`, type: 'tertiary' }),
2688
2688
  description && (React.createElement(Copy, { align: 'center', children: description, color: 'GRAY', id: `${id}-description`, type: 'default' }))),
2689
2689
  action && (React.createElement(Button, { children: action.children, disabled: action.disabled, format: action.format, icon: action.icon, id: `${id}-button`, onClick: action.onClick }))));
2690
- };
2691
-
2692
- exports.Accordion = Accordion;
2693
- exports.ActionDialog = ActionDialog;
2694
- exports.Alert = Alert;
2695
- exports.AppHeader = AppHeader;
2696
- exports.AppMenu = AppMenu;
2697
- exports.BulkActionBar = BulkActionBar;
2698
- exports.Button = Button;
2699
- exports.ButtonMenu = ButtonMenu;
2700
- exports.Checkbox = Checkbox;
2701
- exports.Checklist = Checklist;
2702
- exports.Colors = Colors;
2703
- exports.Copy = Copy;
2704
- exports.DatePicker = DatePicker;
2705
- exports.Drawer = Drawer;
2706
- exports.EditableTheme = EditableTheme;
2707
- exports.Field = Field;
2708
- exports.FieldGroup = FieldGroup;
2709
- exports.FileUpload = FileUpload;
2710
- exports.FontSizes = FontSizes;
2711
- exports.FontStyles = FontStyles;
2712
- exports.Heading = Heading;
2713
- exports.Input = Input$1;
2714
- exports.Link = Link;
2715
- exports.Loader = Loader;
2716
- exports.Logo = Logo;
2717
- exports.Modal = Modal;
2718
- exports.MoreMenu = MoreMenu;
2719
- exports.MultiSelect = MultiSelect;
2720
- exports.PageHeader = PageHeader;
2721
- exports.Pagination = Pagination;
2722
- exports.ProgressBar = ProgressBar;
2723
- exports.Radio = Radio;
2724
- exports.RadioList = RadioList;
2725
- exports.Select = Select;
2726
- exports.Table = Table;
2727
- exports.Tabs = Tabs;
2728
- exports.Tag = Tag;
2729
- exports.Toggle = Toggle;
2730
- exports.Tooltip = Tooltip;
2731
- exports.ZeroState = ZeroState;
2732
- exports.formatAsPhone = formatAsPhone;
2733
- exports.formatAsSsn = formatAsSsn;
2734
- exports.getAgesFromDob = getAgesFromDob;
2735
- exports.getDaysForMonth = getDaysForMonth;
2736
- exports.getYears = getYears;
2737
- exports.validateEmail = validateEmail;
2738
- exports.validatePhone = validatePhone;
2739
- //# sourceMappingURL=index.js.map
2690
+ };
2691
+
2692
+ exports.Accordion = Accordion;
2693
+ exports.ActionDialog = ActionDialog;
2694
+ exports.Alert = Alert;
2695
+ exports.AppHeader = AppHeader;
2696
+ exports.AppMenu = AppMenu;
2697
+ exports.BulkActionBar = BulkActionBar;
2698
+ exports.Button = Button;
2699
+ exports.ButtonMenu = ButtonMenu;
2700
+ exports.Checkbox = Checkbox;
2701
+ exports.Checklist = Checklist;
2702
+ exports.Colors = Colors;
2703
+ exports.Copy = Copy;
2704
+ exports.DatePicker = DatePicker;
2705
+ exports.Drawer = Drawer;
2706
+ exports.EditableTheme = EditableTheme;
2707
+ exports.Field = Field;
2708
+ exports.FieldGroup = FieldGroup;
2709
+ exports.FileUpload = FileUpload;
2710
+ exports.FontSizes = FontSizes;
2711
+ exports.FontStyles = FontStyles;
2712
+ exports.Heading = Heading;
2713
+ exports.Input = Input$1;
2714
+ exports.Link = Link;
2715
+ exports.Loader = Loader;
2716
+ exports.Logo = Logo;
2717
+ exports.Modal = Modal;
2718
+ exports.MoreMenu = MoreMenu;
2719
+ exports.MultiSelect = MultiSelect;
2720
+ exports.PageHeader = PageHeader;
2721
+ exports.Pagination = Pagination;
2722
+ exports.ProgressBar = ProgressBar;
2723
+ exports.Radio = Radio;
2724
+ exports.RadioList = RadioList;
2725
+ exports.Select = Select;
2726
+ exports.Table = Table;
2727
+ exports.Tabs = Tabs;
2728
+ exports.Tag = Tag;
2729
+ exports.Toggle = Toggle;
2730
+ exports.Tooltip = Tooltip;
2731
+ exports.ZeroState = ZeroState;
2732
+ exports.formatAsPhone = formatAsPhone;
2733
+ exports.formatAsSsn = formatAsSsn;
2734
+ exports.getAgesFromDob = getAgesFromDob;
2735
+ exports.getDaysForMonth = getDaysForMonth;
2736
+ exports.getYears = getYears;
2737
+ exports.validateEmail = validateEmail;
2738
+ exports.validatePhone = validatePhone;
2739
+ //# sourceMappingURL=index.js.map