@smart-factor/gem-ui-components 0.0.45 → 0.0.46
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,9 +1,6 @@
|
|
|
1
1
|
import { TextFieldProps } from '@mui/material';
|
|
2
|
-
import { SelectInputProps } from '@mui/material/Select/SelectInput';
|
|
3
2
|
|
|
4
|
-
export type SimpleInputProps
|
|
5
|
-
value: T;
|
|
6
|
-
onChange(newValue: T): void;
|
|
3
|
+
export type SimpleInputProps = {
|
|
7
4
|
errorMessage?: string | null;
|
|
8
5
|
} & TextFieldProps;
|
|
9
|
-
export declare const SimpleInput:
|
|
6
|
+
export declare const SimpleInput: ({ sx, errorMessage, ...props }: SimpleInputProps) => import("react/jsx-runtime").JSX.Element;
|
package/dist/main.js
CHANGED
|
@@ -31297,19 +31297,17 @@ const mM = A(yr)`
|
|
|
31297
31297
|
)
|
|
31298
31298
|
}
|
|
31299
31299
|
), pI = ({
|
|
31300
|
-
|
|
31301
|
-
|
|
31302
|
-
|
|
31303
|
-
...n
|
|
31300
|
+
sx: e,
|
|
31301
|
+
errorMessage: t,
|
|
31302
|
+
...o
|
|
31304
31303
|
}) => /* @__PURE__ */ g(yr, { variant: "standard", children: /* @__PURE__ */ g(
|
|
31305
31304
|
jd,
|
|
31306
31305
|
{
|
|
31307
31306
|
variant: "standard",
|
|
31308
|
-
sx:
|
|
31309
|
-
|
|
31310
|
-
|
|
31311
|
-
|
|
31312
|
-
...n
|
|
31307
|
+
sx: e,
|
|
31308
|
+
error: !!t,
|
|
31309
|
+
helperText: t,
|
|
31310
|
+
...o
|
|
31313
31311
|
}
|
|
31314
31312
|
) }), fI = ({
|
|
31315
31313
|
id: e,
|