@hexure/ui 1.8.13 → 1.8.15

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.
@@ -0,0 +1,9 @@
1
+ import { FC } from 'react';
2
+ export interface FieldGroupProps {
3
+ /** The label to display above the field group */
4
+ label: string;
5
+ /** The content of the field group...usually a set of Field components */
6
+ children: any;
7
+ }
8
+ declare const FieldGroup: FC<FieldGroupProps>;
9
+ export default FieldGroup;
@@ -0,0 +1 @@
1
+ export { default } from './FieldGroup';
@@ -33,7 +33,7 @@ export interface InputProps extends AccessibleProps {
33
33
  /** Set the css of the wrapping div */
34
34
  style?: styleProps;
35
35
  /** Define the type of input to be displayed */
36
- type?: 'date' | 'email' | 'number' | 'password' | 'tel' | 'text' | 'url' | 'textarea' | 'search';
36
+ type?: 'date' | 'datetime-local' | 'email' | 'number' | 'password' | 'tel' | 'text' | 'url' | 'textarea' | 'search';
37
37
  /** Set the value of the input. This should be used by the parent component to control the input's value. */
38
38
  value?: string;
39
39
  }
@@ -1,5 +1,6 @@
1
1
  import { FC, ReactNode } from 'react';
2
2
  import { AccessibleProps } from '../../utils/Accessibility';
3
+ import { StepProps } from '../ProgressBar/ProgressBar';
3
4
  interface ButtonProps {
4
5
  disabled?: boolean;
5
6
  children: string;
@@ -8,11 +9,6 @@ interface ButtonProps {
8
9
  tabIndex?: number;
9
10
  loading?: boolean;
10
11
  }
11
- interface StepProps {
12
- label: string;
13
- complete?: boolean;
14
- active?: boolean;
15
- }
16
12
  export interface ModalProps extends AccessibleProps {
17
13
  /** Defines a button to be displayed on the far right of the bottom button bar */
18
14
  primaryButton?: ButtonProps;
@@ -0,0 +1,12 @@
1
+ import { FC } from 'react';
2
+ export interface StepProps {
3
+ label: string;
4
+ complete?: boolean;
5
+ active?: boolean;
6
+ }
7
+ export interface ProgressBarProps {
8
+ /** */
9
+ steps: StepProps[];
10
+ }
11
+ declare const ProgressBar: FC<ProgressBarProps>;
12
+ export default ProgressBar;
@@ -0,0 +1 @@
1
+ export { default } from './ProgressBar';
@@ -10,6 +10,7 @@ export { default as Copy } from './components/Copy';
10
10
  export { default as DatePicker } from './components/DatePicker';
11
11
  export { default as Drawer } from './components/Drawer';
12
12
  export { default as Field } from './components/Field';
13
+ export { default as FieldGroup } from './components/FieldGroup';
13
14
  export { default as FileUpload } from './components/FileUpload';
14
15
  export { default as Heading } from './components/Heading';
15
16
  export { default as Input } from './components/Input';
@@ -21,6 +22,7 @@ export { default as MoreMenu } from './components/MoreMenu';
21
22
  export { default as MultiSelect } from './components/MultiSelect';
22
23
  export { default as PageHeader } from './components/PageHeader';
23
24
  export { default as Pagination } from './components/Pagination';
25
+ export { default as ProgressBar } from './components/ProgressBar';
24
26
  export { default as Radio } from './components/Radio';
25
27
  export { default as RadioList } from './components/RadioList';
26
28
  export { default as Select } from './components/Select';
package/dist/esm/index.js CHANGED
@@ -2114,7 +2114,7 @@ const StyledButton = styled.button `
2114
2114
  opacity: ${props => (props.$disabled ? 0.6 : 1)};
2115
2115
  }
2116
2116
  `;
2117
- const Label$4 = styled.span `
2117
+ const Label$5 = styled.span `
2118
2118
  color: ${props => (props.$format ? button_type_mapping[props.$format].content_color : '#fff')};
2119
2119
  font-size: ${props => (props.$small ? FontSizes.SMALL : FontSizes.DEFAULT)};
2120
2120
  font-family: ${FontStyles.DEFAULT};
@@ -2149,7 +2149,7 @@ const Button = (_a) => {
2149
2149
  var { badge, children, disabled = false, icon, isForm = false, loading = false, margin = '', onClick, small = false, format = 'primary' } = _a, accessibleProps = __rest(_a, ["badge", "children", "disabled", "icon", "isForm", "loading", "margin", "onClick", "small", "format"]);
2150
2150
  const has_children = children && children.length > 0;
2151
2151
  return (React.createElement(StyledButton, Object.assign({ "$disabled": disabled || loading, "$format": format, "$hasChildren": !!has_children, "$margin": margin, "$small": small, onClick: disabled || loading ? undefined : onClick, type: isForm ? 'submit' : undefined }, accessibleProps),
2152
- children ? (React.createElement(Label$4, { "$format": format, "$small": small }, children)) : null,
2152
+ children ? (React.createElement(Label$5, { "$format": format, "$small": small }, children)) : null,
2153
2153
  icon && !badge ? (React.createElement(StyledIcon$3, { "$hasChildren": !!has_children },
2154
2154
  React.createElement(Icon, { color: format ? button_type_mapping[format].content_color : '#fff', path: loading ? mdiLoading : icon, size: small ? '20px' : '24px', spin: loading }))) : null,
2155
2155
  badge && !icon ? (React.createElement(Badge$1, { "$format": format, "$small": small }, badge)) : null));
@@ -2225,7 +2225,7 @@ Heading.defaultProps = {
2225
2225
  type: 'primary',
2226
2226
  };
2227
2227
 
2228
- const Wrapper$h = styled.div `
2228
+ const Wrapper$i = styled.div `
2229
2229
  position: fixed;
2230
2230
  top: 0;
2231
2231
  right: 0;
@@ -2261,7 +2261,7 @@ const Buttons = styled.div `
2261
2261
  `;
2262
2262
  const ActionDialog = (_a) => {
2263
2263
  var { description, title, primaryButton, secondaryButton, tertiaryButton } = _a, accessibleProps = __rest(_a, ["description", "title", "primaryButton", "secondaryButton", "tertiaryButton"]);
2264
- return (React.createElement(Wrapper$h, Object.assign({}, accessibleProps),
2264
+ return (React.createElement(Wrapper$i, Object.assign({}, accessibleProps),
2265
2265
  React.createElement(Container$3, { open: true },
2266
2266
  title ? (React.createElement(Heading, { margin: '0px 0px 20px 0px', type: 'secondary' }, title)) : null,
2267
2267
  description ? React.createElement(Copy, { align: 'center' }, description) : null,
@@ -2271,7 +2271,7 @@ const ActionDialog = (_a) => {
2271
2271
  primaryButton ? (React.createElement(Button, Object.assign({}, primaryButton, { format: primaryButton.format === 'red' ? 'red' : 'primary' }))) : null)) : null)));
2272
2272
  };
2273
2273
 
2274
- const Wrapper$g = styled.div `
2274
+ const Wrapper$h = styled.div `
2275
2275
  border: 1px solid #f1f1f1;
2276
2276
  border-radius: 4px;
2277
2277
  border-left-width: 4px;
@@ -2281,7 +2281,7 @@ const Wrapper$g = styled.div `
2281
2281
  padding: 20px;
2282
2282
  box-sizing: border-box;
2283
2283
  `;
2284
- const Content$3 = styled.div `
2284
+ const Content$4 = styled.div `
2285
2285
  margin-left: 20px;
2286
2286
  `;
2287
2287
  const Action$1 = styled.div `
@@ -2312,16 +2312,16 @@ const Alert = (_a) => {
2312
2312
  icon: mdiCheckboxMarkedCircleOutline,
2313
2313
  },
2314
2314
  };
2315
- return (React.createElement(Wrapper$g, Object.assign({}, accessibleProps, { style: { borderLeftColor: type_mapping[type].color } }),
2315
+ return (React.createElement(Wrapper$h, Object.assign({}, accessibleProps, { style: { borderLeftColor: type_mapping[type].color } }),
2316
2316
  React.createElement("div", { style: { flexShrink: 0 } },
2317
2317
  React.createElement(Icon, { color: type_mapping[type].color, path: type_mapping[type].icon, size: '30px' })),
2318
- React.createElement(Content$3, null,
2318
+ React.createElement(Content$4, null,
2319
2319
  title ? (React.createElement(Heading, { bold: true, margin: '2px 0 0 0', type: 'tertiary' }, title)) : null,
2320
2320
  description ? React.createElement(Copy, { margin: '6px 0 0 0 !important' }, description) : null,
2321
2321
  action ? React.createElement(Action$1, { onClick: action.onClick }, action.label) : null)));
2322
2322
  };
2323
2323
 
2324
- const Wrapper$f = styled.div `
2324
+ const Wrapper$g = styled.div `
2325
2325
  border: 1px solid ${Colors.PRIMARY.Hex};
2326
2326
  border-radius: 8px;
2327
2327
  box-sizing: border-box;
@@ -2389,7 +2389,7 @@ const ErrorMsg = styled.span `
2389
2389
  `;
2390
2390
  const BulkActionBar = (_a) => {
2391
2391
  var { actions = [], errorMsg, onClear, selectedCount = 0 } = _a, accessibleProps = __rest(_a, ["actions", "errorMsg", "onClear", "selectedCount"]);
2392
- return (React.createElement(Wrapper$f, Object.assign({}, accessibleProps),
2392
+ return (React.createElement(Wrapper$g, Object.assign({}, accessibleProps),
2393
2393
  React.createElement(Left, null,
2394
2394
  React.createElement(Info$1, null,
2395
2395
  React.createElement(Selected, null,
@@ -2402,7 +2402,7 @@ const BulkActionBar = (_a) => {
2402
2402
  React.createElement(ErrorMsg, null, errorMsg))) : null));
2403
2403
  };
2404
2404
 
2405
- const Wrapper$e = styled.div `
2405
+ const Wrapper$f = styled.div `
2406
2406
  background: #fff;
2407
2407
  border-radius: 8px;
2408
2408
  box-shadow: 0px 10px 30px -15px rgba(0, 0, 0, 0.2);
@@ -2442,14 +2442,14 @@ const Title$1 = styled.span `
2442
2442
  `;
2443
2443
  const MoreMenu = (_a) => {
2444
2444
  var { maxHeight, menuItems = [] } = _a, accessibleProps = __rest(_a, ["maxHeight", "menuItems"]);
2445
- return (React.createElement(Wrapper$e, Object.assign({ "$maxHeight": maxHeight }, accessibleProps), menuItems.map((item, i) => {
2445
+ return (React.createElement(Wrapper$f, Object.assign({ "$maxHeight": maxHeight }, accessibleProps), menuItems.map((item, i) => {
2446
2446
  return (React.createElement(MenuItem, { key: i, onClick: item.onClick },
2447
2447
  item.icon ? (React.createElement(Icon, { color: Colors.MEDIUM_GRAY.Hex, path: item.icon, size: '20px' })) : null,
2448
2448
  React.createElement(Title$1, null, item.label)));
2449
2449
  })));
2450
2450
  };
2451
2451
 
2452
- const Wrapper$d = styled.div `
2452
+ const Wrapper$e = styled.div `
2453
2453
  position: relative;
2454
2454
  display: inline-block;
2455
2455
  `;
@@ -2463,12 +2463,12 @@ const StyledMoreMenu = styled(MoreMenu) `
2463
2463
  `;
2464
2464
  const ButtonMenu = ({ disabled, label, maxHeight, menuItems, small, position = 'right', format = 'primary', menuWidth = '200px', }) => {
2465
2465
  const [show_menu, toggleMenu] = useState(false);
2466
- return (React.createElement(Wrapper$d, { onMouseEnter: disabled ? undefined : toggleMenu.bind(null, true), onMouseLeave: disabled ? undefined : toggleMenu.bind(null, false) },
2466
+ return (React.createElement(Wrapper$e, { onMouseEnter: disabled ? undefined : toggleMenu.bind(null, true), onMouseLeave: disabled ? undefined : toggleMenu.bind(null, false) },
2467
2467
  React.createElement(Button, { disabled: disabled, format: format, icon: mdiDotsHorizontal, small: small }, label),
2468
2468
  show_menu ? (React.createElement(StyledMoreMenu, { "$menuWidth": menuWidth, "$position": position, "$small": small, maxHeight: maxHeight, menuItems: menuItems })) : null));
2469
2469
  };
2470
2470
 
2471
- const Wrapper$c = styled.label `
2471
+ const Wrapper$d = styled.label `
2472
2472
  padding: 4px 0;
2473
2473
  cursor: ${props => (props.$disabled ? 'default' : 'pointer')};
2474
2474
  display: flex;
@@ -2483,7 +2483,7 @@ const Input$2 = styled.input `
2483
2483
  line-height: 1.1em;
2484
2484
  box-sizing: border-box;
2485
2485
  `;
2486
- const Label$3 = styled.span `
2486
+ const Label$4 = styled.span `
2487
2487
  font-family: ${FontStyles.DEFAULT};
2488
2488
  font-size: ${FontSizes.DEFAULT};
2489
2489
  font-weight: 400;
@@ -2494,9 +2494,9 @@ const Label$3 = styled.span `
2494
2494
  `;
2495
2495
  const Checkbox = (_a) => {
2496
2496
  var { children, disabled, checked, onChange } = _a, accessibleProps = __rest(_a, ["children", "disabled", "checked", "onChange"]);
2497
- return (React.createElement(Wrapper$c, Object.assign({}, accessibleProps),
2497
+ return (React.createElement(Wrapper$d, Object.assign({}, accessibleProps),
2498
2498
  React.createElement(Input$2, { checked: checked, disabled: disabled, name: accessibleProps.name, onChange: disabled ? undefined : onChange, type: 'checkbox' }),
2499
- children ? React.createElement(Label$3, null, children) : null));
2499
+ children ? React.createElement(Label$4, null, children) : null));
2500
2500
  };
2501
2501
 
2502
2502
  const SelectAll = styled.div `
@@ -2863,7 +2863,7 @@ var dayjs_min = {exports: {}};
2863
2863
  var dayjs_minExports = dayjs_min.exports;
2864
2864
  var dayjs = /*@__PURE__*/getDefaultExportFromCjs(dayjs_minExports);
2865
2865
 
2866
- const Wrapper$b = styled.div `
2866
+ const Wrapper$c = styled.div `
2867
2867
  border-radius: 4px;
2868
2868
  height: 40px;
2869
2869
  background-color: ${props => (props.$readOnly ? '#f5f5f5' : '#ffffff')};
@@ -2907,7 +2907,7 @@ const IconWrapper$2 = styled(Icon) `
2907
2907
  `;
2908
2908
  const Select = (_a) => {
2909
2909
  var { options, optionGroups, placeholder, readOnly, invalid, value, onChange, style } = _a, accessibleProps = __rest(_a, ["options", "optionGroups", "placeholder", "readOnly", "invalid", "value", "onChange", "style"]);
2910
- return (React.createElement(Wrapper$b, { "$invalid": invalid, "$readOnly": readOnly, "$style": style },
2910
+ return (React.createElement(Wrapper$c, { "$invalid": invalid, "$readOnly": readOnly, "$style": style },
2911
2911
  React.createElement(Trigger$1, Object.assign({ disabled: readOnly, onChange: onChange, placeholder: placeholder, value: value }, accessibleProps),
2912
2912
  placeholder ? (React.createElement("option", { disabled: true, value: '' }, placeholder)) : null,
2913
2913
  optionGroups &&
@@ -3077,7 +3077,7 @@ const Drawer = (_a) => {
3077
3077
  scrim ? React.createElement(Scrim$1, { "$position": position, "$scrim": scrim, onClick: onClose }) : null));
3078
3078
  };
3079
3079
 
3080
- const Wrapper$a = styled.div `
3080
+ const Wrapper$b = styled.div `
3081
3081
  display: inline-block;
3082
3082
  position: relative;
3083
3083
  height: 16px;
@@ -3117,15 +3117,15 @@ const positions = {
3117
3117
  transform: 'translateY(-50%)',
3118
3118
  },
3119
3119
  };
3120
- const Content$2 = styled.div(props => (Object.assign({ position: 'absolute', borderRadius: '4px', borderWidth: '1px', borderStyle: 'solid', borderColor: Colors.PRIMARY.Hex, background: '#ffffff', boxShadow: '0px 5px 30px -10px rgba(0, 0, 0, 0.5)', width: props.$width || '240px', padding: '10px 12px', zIndex: 10 }, positions[props.$position])));
3120
+ const Content$3 = styled.div(props => (Object.assign({ position: 'absolute', borderRadius: '4px', borderWidth: '1px', borderStyle: 'solid', borderColor: Colors.PRIMARY.Hex, background: '#ffffff', boxShadow: '0px 5px 30px -10px rgba(0, 0, 0, 0.5)', width: props.$width || '240px', padding: '10px 12px', zIndex: 10 }, positions[props.$position])));
3121
3121
  const Tooltip = ({ children, position = 'right-top', width = '240px', trigger, }) => {
3122
3122
  const [show_content, toggleContent] = useState(false);
3123
- return (React.createElement(Wrapper$a, { onMouseEnter: toggleContent.bind(null, true), onMouseLeave: toggleContent.bind(null, false) },
3123
+ return (React.createElement(Wrapper$b, { onMouseEnter: toggleContent.bind(null, true), onMouseLeave: toggleContent.bind(null, false) },
3124
3124
  trigger || React.createElement(StyledIcon$2, { path: mdiInformationOutline }),
3125
- show_content ? (React.createElement(Content$2, { "$position": position, "$width": width }, children && React.createElement(Copy, { type: 'small' }, children))) : null));
3125
+ show_content ? (React.createElement(Content$3, { "$position": position, "$width": width }, children && React.createElement(Copy, { type: 'small' }, children))) : null));
3126
3126
  };
3127
3127
 
3128
- const Wrapper$9 = styled.div(props => (Object.assign({ margin: '0px 0px 18px 0px' }, props.style)));
3128
+ const Wrapper$a = styled.div(props => (Object.assign({ margin: '0px 0px 18px 0px' }, props.style)));
3129
3129
  const LabelRow = styled.div `
3130
3130
  display: flex;
3131
3131
  align-items: center;
@@ -3133,7 +3133,7 @@ const LabelRow = styled.div `
3133
3133
  margin: 0 0 4px 0;
3134
3134
  box-sizing: border-box;
3135
3135
  `;
3136
- const Label$2 = styled.label `
3136
+ const Label$3 = styled.label `
3137
3137
  font-size: ${FontSizes.DEFAULT};
3138
3138
  font-weight: 500;
3139
3139
  line-height: 1em;
@@ -3174,9 +3174,9 @@ const Validation = styled.div `
3174
3174
  `;
3175
3175
  const Field = (_a) => {
3176
3176
  var { action, children, validationText, label, description, required, htmlFor, style, tooltip } = _a, accessibleProps = __rest(_a, ["action", "children", "validationText", "label", "description", "required", "htmlFor", "style", "tooltip"]);
3177
- return (React.createElement(Wrapper$9, Object.assign({ style: style }, accessibleProps),
3177
+ return (React.createElement(Wrapper$a, Object.assign({ style: style }, accessibleProps),
3178
3178
  React.createElement(LabelRow, null,
3179
- React.createElement(Label$2, { htmlFor: htmlFor },
3179
+ React.createElement(Label$3, { htmlFor: htmlFor },
3180
3180
  label,
3181
3181
  required ? React.createElement(Required, null, "*") : null,
3182
3182
  tooltip ? React.createElement(Tooltip, Object.assign({}, tooltip)) : null),
@@ -3186,6 +3186,41 @@ const Field = (_a) => {
3186
3186
  validationText ? React.createElement(Validation, null, validationText) : null));
3187
3187
  };
3188
3188
 
3189
+ const Wrapper$9 = styled.fieldset `
3190
+ margin-inline-start: 0px;
3191
+ margin-inline-end: 0px;
3192
+ padding-block-start: 0px;
3193
+ padding-inline-start: 0px;
3194
+ padding-inline-end: 0px;
3195
+ padding-block-end: 0px;
3196
+ min-inline-size: min-content;
3197
+ border-width: 0px;
3198
+ border-style: none;
3199
+ border-color: transparent;
3200
+ border-image: none;
3201
+ `;
3202
+ const Label$2 = styled.legend `
3203
+ padding-inline-start: 0px;
3204
+ padding-inline-end: 0px;
3205
+
3206
+ color: ${Colors.BLACK.Hex};
3207
+ font-family: ${FontStyles.DEFAULT};
3208
+ font-size: ${FontSizes.DEFAULT};
3209
+ font-weight: 500;
3210
+ line-height: 22px;
3211
+ margin-bottom: 6px;
3212
+ `;
3213
+ const Content$2 = styled.div `
3214
+ padding: 20px;
3215
+ border-radius: 8px;
3216
+ background: #fcfcfc;
3217
+ `;
3218
+ const FieldGroup = ({ children, label }) => {
3219
+ return (React.createElement(Wrapper$9, null,
3220
+ React.createElement(Label$2, null, label),
3221
+ React.createElement(Content$2, null, children)));
3222
+ };
3223
+
3189
3224
  const Dropzone = styled.div `
3190
3225
  border-radius: 8px;
3191
3226
  border-width: 1px;
@@ -3605,6 +3640,49 @@ const Logo = (_a) => {
3605
3640
  }
3606
3641
  };
3607
3642
 
3643
+ const Steps = styled.div `
3644
+ padding: 20px;
3645
+ border-bottom: 1px solid #e7e6e6;
3646
+ background: #f5f5f5;
3647
+ display: flex;
3648
+ gap: 30px;
3649
+ align-items: center;
3650
+ `;
3651
+ const Step = styled.div `
3652
+ display: flex;
3653
+ align-items: center;
3654
+ gap: 8px;
3655
+ `;
3656
+ const StepIndicator = styled.div `
3657
+ width: 30px;
3658
+ height: 30px;
3659
+ border-radius: 15px;
3660
+ background: ${props => (props.$active ? Colors.PRIMARY.Hex : Colors.LIGHT_GRAY.Hex)};
3661
+ color: ${props => (props.$active ? '#fff' : Colors.MEDIUM_GRAY.Hex)};
3662
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
3663
+ font-size: 14px;
3664
+ font-weight: 500;
3665
+ line-height: 1;
3666
+ display: flex;
3667
+ align-items: center;
3668
+ justify-content: center;
3669
+ flex-shrink: 0;
3670
+ `;
3671
+ const StepLabel = styled.div `
3672
+ color: #000;
3673
+ font-family: 'Roboto', Helvetica, Arial, sans-serif;
3674
+ font-size: 14px;
3675
+ font-weight: 500;
3676
+ line-height: 1;
3677
+ `;
3678
+ const ProgressBar = ({ steps }) => {
3679
+ return (React.createElement(Steps, null, steps.map((step, i) => {
3680
+ return (React.createElement(Step, { key: i },
3681
+ step.complete ? (React.createElement(Icon, { color: Colors.PRIMARY.Hex, path: mdiCheckboxMarkedCircleOutline, size: '32px' })) : (React.createElement(StepIndicator, { "$active": step.active }, i + 1)),
3682
+ React.createElement(StepLabel, null, step.label)));
3683
+ })));
3684
+ };
3685
+
3608
3686
  const Wrapper$7 = styled.div `
3609
3687
  position: fixed;
3610
3688
  top: 0;
@@ -3653,41 +3731,6 @@ const CloseMsg = styled.span `
3653
3731
  line-height: 1em;
3654
3732
  color: ${Colors.MEDIUM_GRAY.Hex};
3655
3733
  `;
3656
- const Steps = styled.div `
3657
- padding: 20px;
3658
- border-bottom: 1px solid #e7e6e6;
3659
- background: #f5f5f5;
3660
- display: flex;
3661
- gap: 30px;
3662
- align-items: center;
3663
- `;
3664
- const Step = styled.div `
3665
- display: flex;
3666
- align-items: center;
3667
- gap: 8px;
3668
- `;
3669
- const StepIndicator = styled.div `
3670
- width: 30px;
3671
- height: 30px;
3672
- border-radius: 15px;
3673
- background: ${props => (props.$active ? Colors.PRIMARY.Hex : Colors.LIGHT_GRAY.Hex)};
3674
- color: ${props => (props.$active ? '#fff' : Colors.MEDIUM_GRAY.Hex)};
3675
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
3676
- font-size: 14px;
3677
- font-weight: 500;
3678
- line-height: 1;
3679
- display: flex;
3680
- align-items: center;
3681
- justify-content: center;
3682
- flex-shrink: 0;
3683
- `;
3684
- const StepLabel = styled.div `
3685
- color: #000;
3686
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
3687
- font-size: 14px;
3688
- font-weight: 500;
3689
- line-height: 1;
3690
- `;
3691
3734
  const ContentWrapper = styled.div `
3692
3735
  overflow-x: hidden;
3693
3736
  overflow-y: auto;
@@ -3725,11 +3768,7 @@ const Modal = (_a) => {
3725
3768
  React.createElement(Close, { onClick: onClose },
3726
3769
  React.createElement(CloseMsg, null, "(Esc)"),
3727
3770
  React.createElement(Icon, { color: Colors.BLACK.Hex, path: mdiClose, size: '24px' }))),
3728
- steps ? (React.createElement(Steps, null, steps.map((step, i) => {
3729
- return (React.createElement(Step, { key: i },
3730
- step.complete ? (React.createElement(Icon, { color: Colors.PRIMARY.Hex, path: mdiCheckboxMarkedCircleOutline, size: '32px' })) : (React.createElement(StepIndicator, { "$active": step.active }, i + 1)),
3731
- React.createElement(StepLabel, null, step.label)));
3732
- }))) : null,
3771
+ steps ? React.createElement(ProgressBar, { steps: steps }) : null,
3733
3772
  React.createElement(ContentWrapper, null, children),
3734
3773
  primaryButton || secondaryButton || tertiaryButton ? (React.createElement(ButtonBar, null,
3735
3774
  tertiaryButton ? React.createElement(Button, Object.assign({}, tertiaryButton, { format: 'secondary' })) : null,
@@ -4176,5 +4215,5 @@ const ZeroState = (_a) => {
4176
4215
  action && (React.createElement(Button, { children: action === null || action === void 0 ? void 0 : action.children, icon: action === null || action === void 0 ? void 0 : action.icon, onClick: action === null || action === void 0 ? void 0 : action.onClick }))));
4177
4216
  };
4178
4217
 
4179
- export { Accordion, ActionDialog, Alert, BulkActionBar, Button, ButtonMenu, Checkbox, Checklist, Copy, DatePicker, Drawer, Field, FileUpload, Heading, Input$1 as Input, Link, Loader, Logo, Modal, MoreMenu, MultiSelect, PageHeader, Pagination, Radio, RadioList, Select, Table, Tabs, Tag, Toggle, Tooltip, ZeroState };
4218
+ export { Accordion, ActionDialog, Alert, BulkActionBar, Button, ButtonMenu, Checkbox, Checklist, Copy, DatePicker, Drawer, Field, FieldGroup, FileUpload, Heading, Input$1 as Input, Link, Loader, Logo, Modal, MoreMenu, MultiSelect, PageHeader, Pagination, ProgressBar, Radio, RadioList, Select, Table, Tabs, Tag, Toggle, Tooltip, ZeroState };
4180
4219
  //# sourceMappingURL=index.js.map