@me1a/ui 1.0.9 → 1.1.0
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/index.cjs.js +2031 -78299
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +3 -25
- package/dist/index.es.js +1335 -77601
- package/dist/index.es.js.map +1 -1
- package/package.json +6 -10
package/dist/index.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
5
5
|
import { SxProps, Theme } from '@mui/material/styles';
|
|
6
6
|
import { TextFieldProps } from '@mui/material/TextField';
|
|
7
7
|
import { FormControlLabelProps } from '@mui/material/FormControlLabel';
|
|
8
|
-
import { ReactQuillProps } from 'react-quill';
|
|
9
8
|
import { SliderProps } from '@mui/material/Slider';
|
|
10
9
|
import { RadioGroupProps } from '@mui/material/RadioGroup';
|
|
11
10
|
|
|
@@ -36,32 +35,11 @@ interface RHFMultiCheckboxProps extends Omit<FormControlLabelProps, "control" |
|
|
|
36
35
|
}
|
|
37
36
|
declare function RHFMultiCheckbox({ row, name, label, options, spacing, helperText, sx, ...other }: RHFMultiCheckboxProps): react_jsx_runtime.JSX.Element;
|
|
38
37
|
|
|
39
|
-
interface Props$
|
|
38
|
+
interface Props$4 extends Omit<FormControlLabelProps, "control"> {
|
|
40
39
|
name: string;
|
|
41
40
|
helperText?: React.ReactNode;
|
|
42
41
|
}
|
|
43
|
-
declare function RHFSwitch({ name, helperText, ...other }: Props$
|
|
44
|
-
|
|
45
|
-
interface EditorProps extends ReactQuillProps {
|
|
46
|
-
error?: boolean;
|
|
47
|
-
simple?: boolean;
|
|
48
|
-
helperText?: React.ReactNode;
|
|
49
|
-
sx?: SxProps<Theme>;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
declare global {
|
|
53
|
-
interface Window {
|
|
54
|
-
hljs: any;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
declare function Editor({ id, error, simple, helperText, sx, ...other }: EditorProps): react_jsx_runtime.JSX.Element;
|
|
59
|
-
|
|
60
|
-
interface Props$4 extends EditorProps {
|
|
61
|
-
name: string;
|
|
62
|
-
label?: string;
|
|
63
|
-
}
|
|
64
|
-
declare function RHFEditor({ name, label, helperText, ...other }: Props$4): react_jsx_runtime.JSX.Element;
|
|
42
|
+
declare function RHFSwitch({ name, helperText, ...other }: Props$4): react_jsx_runtime.JSX.Element;
|
|
65
43
|
|
|
66
44
|
type Props$3 = SliderProps & {
|
|
67
45
|
name: string;
|
|
@@ -93,4 +71,4 @@ type Props<T extends FieldValues> = {
|
|
|
93
71
|
};
|
|
94
72
|
declare function FormProvider<T extends FieldValues>({ children, onSubmit, methods, }: Props<T>): react_jsx_runtime.JSX.Element;
|
|
95
73
|
|
|
96
|
-
export {
|
|
74
|
+
export { FormProvider, RHFCheckbox, RHFMultiCheckbox, RHFRadioGroup, RHFSelect, RHFSlider, RHFSwitch, RHFTextField };
|