react-magma-dom 4.0.0-next.0 → 4.0.0-next.2
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/components/Input/Input.stories.d.ts +1 -1
- package/dist/components/InputBase/index.d.ts +5 -0
- package/dist/components/PasswordInput/index.d.ts +5 -0
- package/dist/components/Table/TablePagination.d.ts +1 -0
- package/dist/esm/index.js +519 -503
- package/dist/esm/index.js.map +1 -1
- package/dist/properties.json +56 -16
- package/dist/react-magma-dom.cjs.development.js +519 -503
- package/dist/react-magma-dom.cjs.development.js.map +1 -1
- package/dist/react-magma-dom.cjs.production.min.js +1 -1
- package/dist/react-magma-dom.cjs.production.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -40,6 +40,7 @@ export declare const IconPositions: {
|
|
|
40
40
|
theme?: any;
|
|
41
41
|
type?: InputType;
|
|
42
42
|
isPasswordInput?: boolean;
|
|
43
|
+
width?: string;
|
|
43
44
|
accept?: string;
|
|
44
45
|
alt?: string;
|
|
45
46
|
autoComplete?: string;
|
|
@@ -68,7 +69,6 @@ export declare const IconPositions: {
|
|
|
68
69
|
src?: string;
|
|
69
70
|
step?: React.ReactText;
|
|
70
71
|
value?: string | number | readonly string[];
|
|
71
|
-
width?: React.ReactText;
|
|
72
72
|
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
73
73
|
defaultChecked?: boolean;
|
|
74
74
|
defaultValue?: string | number | readonly string[];
|
|
@@ -100,6 +100,11 @@ export interface InputBaseProps extends React.InputHTMLAttributes<HTMLInputEleme
|
|
|
100
100
|
* Boolean for whether this is a Password Input or not
|
|
101
101
|
*/
|
|
102
102
|
isPasswordInput?: boolean;
|
|
103
|
+
/**
|
|
104
|
+
* String to determine width of input, must be suffixed with "px", "rem", or "%""
|
|
105
|
+
* @default "auto"
|
|
106
|
+
*/
|
|
107
|
+
width?: string;
|
|
103
108
|
}
|
|
104
109
|
export interface InputWrapperStylesProps {
|
|
105
110
|
width?: string;
|
|
@@ -33,5 +33,10 @@ export interface PasswordInputProps extends Omit<FormFieldContainerBaseProps, 'f
|
|
|
33
33
|
* @internal
|
|
34
34
|
*/
|
|
35
35
|
testId?: string;
|
|
36
|
+
/**
|
|
37
|
+
* String to determine width of input, must be suffixed with "px", "rem", or "%""
|
|
38
|
+
* @default "auto"
|
|
39
|
+
*/
|
|
40
|
+
width?: string;
|
|
36
41
|
}
|
|
37
42
|
export declare const PasswordInput: React.ForwardRefExoticComponent<PasswordInputProps & React.RefAttributes<HTMLInputElement>>;
|