@smart-factor/gem-ui-components 0.0.44 → 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,27 +31297,17 @@ const mM = A(yr)`
|
|
|
31297
31297
|
)
|
|
31298
31298
|
}
|
|
31299
31299
|
), pI = ({
|
|
31300
|
-
|
|
31301
|
-
|
|
31302
|
-
|
|
31303
|
-
onChange: n,
|
|
31304
|
-
type: a,
|
|
31305
|
-
sx: i,
|
|
31306
|
-
errorMessage: l,
|
|
31307
|
-
disabled: s
|
|
31300
|
+
sx: e,
|
|
31301
|
+
errorMessage: t,
|
|
31302
|
+
...o
|
|
31308
31303
|
}) => /* @__PURE__ */ g(yr, { variant: "standard", children: /* @__PURE__ */ g(
|
|
31309
31304
|
jd,
|
|
31310
31305
|
{
|
|
31311
|
-
id: e,
|
|
31312
31306
|
variant: "standard",
|
|
31313
|
-
|
|
31314
|
-
|
|
31315
|
-
|
|
31316
|
-
|
|
31317
|
-
onChange: (c) => n(c.target.value),
|
|
31318
|
-
label: o,
|
|
31319
|
-
error: !!l,
|
|
31320
|
-
helperText: l
|
|
31307
|
+
sx: e,
|
|
31308
|
+
error: !!t,
|
|
31309
|
+
helperText: t,
|
|
31310
|
+
...o
|
|
31321
31311
|
}
|
|
31322
31312
|
) }), fI = ({
|
|
31323
31313
|
id: e,
|