@hexure/ui 1.8.2 → 1.8.3

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.
@@ -1,14 +1,14 @@
1
1
  import { FC, ReactNode } from 'react';
2
2
  import { AccessibleProps } from '../../utils/Accessibility';
3
3
  interface ButtonProps extends AccessibleProps {
4
- disabled: boolean;
4
+ disabled?: boolean;
5
5
  children: string;
6
6
  icon?: string;
7
7
  onClick: (e?: any) => void;
8
8
  tabIndex?: number;
9
9
  }
10
10
  export interface DrawerProps extends AccessibleProps {
11
- primaryButton: ButtonProps;
11
+ primaryButton?: ButtonProps;
12
12
  secondaryButton?: ButtonProps;
13
13
  tertiaryButton?: ButtonProps;
14
14
  /** It is used to pass child nodes, string values and number as child components. */
@@ -1,14 +1,14 @@
1
1
  import { FC, ReactNode } from 'react';
2
2
  import { AccessibleProps } from '../../utils/Accessibility';
3
3
  interface ButtonProps extends AccessibleProps {
4
- disabled: boolean;
4
+ disabled?: boolean;
5
5
  children: string;
6
6
  icon?: string;
7
7
  onClick: (e?: any) => void;
8
8
  tabIndex?: number;
9
9
  }
10
10
  export interface DrawerProps extends AccessibleProps {
11
- primaryButton: ButtonProps;
11
+ primaryButton?: ButtonProps;
12
12
  secondaryButton?: ButtonProps;
13
13
  tertiaryButton?: ButtonProps;
14
14
  /** It is used to pass child nodes, string values and number as child components. */
package/dist/index.d.ts CHANGED
@@ -184,14 +184,14 @@ interface DateProps extends AccessibleProps {
184
184
  declare const DatePicker: FC<DateProps>;
185
185
 
186
186
  interface ButtonProps$1 extends AccessibleProps {
187
- disabled: boolean;
187
+ disabled?: boolean;
188
188
  children: string;
189
189
  icon?: string;
190
190
  onClick: (e?: any) => void;
191
191
  tabIndex?: number;
192
192
  }
193
193
  interface DrawerProps extends AccessibleProps {
194
- primaryButton: ButtonProps$1;
194
+ primaryButton?: ButtonProps$1;
195
195
  secondaryButton?: ButtonProps$1;
196
196
  tertiaryButton?: ButtonProps$1;
197
197
  /** It is used to pass child nodes, string values and number as child components. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hexure/ui",
3
- "version": "1.8.2",
3
+ "version": "1.8.3",
4
4
  "description": "A library of shared UI components used within Hexure products.",
5
5
  "scripts": {
6
6
  "rollup": "rollup -c rollup.config.mjs",