@hexure/ui 1.3.5 → 1.3.6
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.map +1 -1
- package/dist/cjs/types/components/Input/Input.d.ts +1 -1
- package/dist/cjs/types/components/Modal/Modal.d.ts +6 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/Input/Input.d.ts +1 -1
- package/dist/esm/types/components/Modal/Modal.d.ts +6 -2
- package/dist/index.d.ts +7 -3
- package/package.json +1 -1
|
@@ -14,7 +14,7 @@ export interface InputProps extends AccessibleProps {
|
|
|
14
14
|
placeholder?: string;
|
|
15
15
|
readOnly?: boolean;
|
|
16
16
|
step?: number;
|
|
17
|
-
type?: 'email' | 'number' | 'password' | 'tel' | 'text' | 'url' | 'textarea';
|
|
17
|
+
type?: 'date' | 'email' | 'number' | 'password' | 'tel' | 'text' | 'url' | 'textarea';
|
|
18
18
|
value?: string;
|
|
19
19
|
}
|
|
20
20
|
declare const Input: FC<InputProps>;
|
|
@@ -8,10 +8,14 @@ interface ButtonProps {
|
|
|
8
8
|
tabIndex?: number;
|
|
9
9
|
}
|
|
10
10
|
export interface ModalProps extends AccessibleProps {
|
|
11
|
-
|
|
11
|
+
/** Defines a button to be displayed on the far right of the bottom button bar */
|
|
12
|
+
primaryButton?: ButtonProps;
|
|
13
|
+
/** Defines a button to be displayed to the left of the primary button. Should only be used if primary button is used */
|
|
12
14
|
secondaryButton?: ButtonProps;
|
|
15
|
+
/** Defines a button to be displayed on the far left of the bottom button bar */
|
|
13
16
|
tertiaryButton?: ButtonProps;
|
|
14
|
-
|
|
17
|
+
/** Overrides the default max width of the modal (90vw) */
|
|
18
|
+
maxWidth?: string;
|
|
15
19
|
/** It is used to pass child nodes, string values and number as child components. */
|
|
16
20
|
children: ReactNode;
|
|
17
21
|
/** It is used to give title. */
|