@hexure/ui 1.8.16 → 1.8.17

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.
@@ -7,7 +7,7 @@ export interface ActionProps extends AccessibleProps {
7
7
  export interface AlertProps extends AccessibleProps {
8
8
  type?: 'info' | 'error' | 'warning' | 'success';
9
9
  /** It is used to add title to alert. */
10
- title: string;
10
+ title?: string;
11
11
  /** It is used to add description to alert. */
12
12
  description: string;
13
13
  /** Display a link to display below the description */
@@ -3,7 +3,7 @@ import { AccessibleProps } from '../../utils/Accessibility';
3
3
  interface ButtonProps {
4
4
  children: string;
5
5
  onClick: (e?: any) => void;
6
- type?: 'primary' | 'secondary';
6
+ format?: 'primary' | 'secondary';
7
7
  icon?: string;
8
8
  }
9
9
  export interface BulkActionBarProps extends AccessibleProps {
@@ -9,9 +9,9 @@ export interface DateProps extends AccessibleProps {
9
9
  /** It is used to show error messages when it's value is false. */
10
10
  invalid?: boolean;
11
11
  /** Pass in the date in ISO 8601 string format (YYYY-MM-DD) */
12
- maxDate?: number;
12
+ maxDate?: string;
13
13
  /** Pass in the date in ISO 8601 string format (YYYY-MM-DD) */
14
- minDate?: number;
14
+ minDate?: string;
15
15
  /** Pass in the date in ISO 8601 string format (YYYY-MM-DD) */
16
16
  date?: string;
17
17
  /** It is used to get selected value */
@@ -6,6 +6,7 @@ export interface ButtonProps extends AccessibleProps {
6
6
  icon?: string;
7
7
  onClick: (e?: any) => void;
8
8
  tabIndex?: number;
9
+ loading?: boolean;
9
10
  }
10
11
  export interface DrawerProps extends AccessibleProps {
11
12
  primaryButton?: ButtonProps;
package/dist/esm/index.js CHANGED
@@ -2396,7 +2396,7 @@ const BulkActionBar = (_a) => {
2396
2396
  selectedCount,
2397
2397
  " Selected"),
2398
2398
  onClear ? React.createElement(Clear, { onClick: onClear }, "Clear") : null),
2399
- React.createElement(Actions$1, null, actions.map(action => (React.createElement(Button, Object.assign({}, action, { small: true })))))),
2399
+ React.createElement(Actions$1, null, actions.map((action, i) => (React.createElement(Button, Object.assign({}, action, { key: i, small: true })))))),
2400
2400
  errorMsg ? (React.createElement(Error$1, null,
2401
2401
  React.createElement(Icon, { color: Colors.RED.Hex, path: mdiInformationOutline, size: '20px' }),
2402
2402
  React.createElement(ErrorMsg, null, errorMsg))) : null));