mayak-common-library 0.0.7 → 0.0.9
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.d.mts +8 -9
- package/dist/index.d.ts +8 -9
- package/dist/index.js +171 -193
- package/dist/index.mjs +165 -184
- package/package.json +7 -3
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import react__default, { FC, PropsWithChildren, ReactElement } from 'react';
|
|
2
3
|
import { ButtonProps } from '@mui/material/Button';
|
|
3
|
-
import * as React$1 from 'react';
|
|
4
|
-
import React__default, { FC, PropsWithChildren, ReactElement } from 'react';
|
|
5
4
|
import { IconButtonProps } from '@mui/material/IconButton/IconButton';
|
|
6
5
|
import { SelectProps } from '@mui/material/Select/Select';
|
|
7
6
|
import { ChipProps } from '@mui/material';
|
|
@@ -19,7 +18,7 @@ import { PatternFormatProps } from 'react-number-format/types/types';
|
|
|
19
18
|
|
|
20
19
|
declare function Greet(props: {
|
|
21
20
|
name: string;
|
|
22
|
-
}):
|
|
21
|
+
}): react.JSX.Element;
|
|
23
22
|
|
|
24
23
|
interface CustomButtonProps extends ButtonProps, PropsWithChildren {
|
|
25
24
|
bolt?: boolean;
|
|
@@ -52,9 +51,9 @@ interface CustomChipProps {
|
|
|
52
51
|
}
|
|
53
52
|
declare const CustomChip: FC<ChipProps & CustomChipProps>;
|
|
54
53
|
|
|
55
|
-
declare const CustomBadge: (props: BadgeProps) =>
|
|
54
|
+
declare const CustomBadge: (props: BadgeProps) => react.JSX.Element;
|
|
56
55
|
|
|
57
|
-
declare const CustomAvatar: (props: AvatarProps) =>
|
|
56
|
+
declare const CustomAvatar: (props: AvatarProps) => react.JSX.Element;
|
|
58
57
|
|
|
59
58
|
declare const Text: FC<TypographyOwnProps & PropsWithChildren>;
|
|
60
59
|
|
|
@@ -64,9 +63,9 @@ interface CustomRadioProps {
|
|
|
64
63
|
label?: string;
|
|
65
64
|
value?: string;
|
|
66
65
|
}
|
|
67
|
-
declare const CustomRadio:
|
|
66
|
+
declare const CustomRadio: react__default.FC<CustomRadioProps>;
|
|
68
67
|
|
|
69
|
-
declare const CustomRadioGroup:
|
|
68
|
+
declare const CustomRadioGroup: react__default.FC<RadioGroupProps & PropsWithChildren>;
|
|
70
69
|
|
|
71
70
|
interface CustomSwitchProps {
|
|
72
71
|
beforeText?: string;
|
|
@@ -93,7 +92,7 @@ interface PhoneInputProps {
|
|
|
93
92
|
}) => void;
|
|
94
93
|
name: string;
|
|
95
94
|
}
|
|
96
|
-
declare const PhoneInput:
|
|
95
|
+
declare const PhoneInput: react.ForwardRefExoticComponent<PhoneInputProps & react.RefAttributes<PatternFormatProps>>;
|
|
97
96
|
|
|
98
97
|
interface FromToInputProps {
|
|
99
98
|
label?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import react__default, { FC, PropsWithChildren, ReactElement } from 'react';
|
|
2
3
|
import { ButtonProps } from '@mui/material/Button';
|
|
3
|
-
import * as React$1 from 'react';
|
|
4
|
-
import React__default, { FC, PropsWithChildren, ReactElement } from 'react';
|
|
5
4
|
import { IconButtonProps } from '@mui/material/IconButton/IconButton';
|
|
6
5
|
import { SelectProps } from '@mui/material/Select/Select';
|
|
7
6
|
import { ChipProps } from '@mui/material';
|
|
@@ -19,7 +18,7 @@ import { PatternFormatProps } from 'react-number-format/types/types';
|
|
|
19
18
|
|
|
20
19
|
declare function Greet(props: {
|
|
21
20
|
name: string;
|
|
22
|
-
}):
|
|
21
|
+
}): react.JSX.Element;
|
|
23
22
|
|
|
24
23
|
interface CustomButtonProps extends ButtonProps, PropsWithChildren {
|
|
25
24
|
bolt?: boolean;
|
|
@@ -52,9 +51,9 @@ interface CustomChipProps {
|
|
|
52
51
|
}
|
|
53
52
|
declare const CustomChip: FC<ChipProps & CustomChipProps>;
|
|
54
53
|
|
|
55
|
-
declare const CustomBadge: (props: BadgeProps) =>
|
|
54
|
+
declare const CustomBadge: (props: BadgeProps) => react.JSX.Element;
|
|
56
55
|
|
|
57
|
-
declare const CustomAvatar: (props: AvatarProps) =>
|
|
56
|
+
declare const CustomAvatar: (props: AvatarProps) => react.JSX.Element;
|
|
58
57
|
|
|
59
58
|
declare const Text: FC<TypographyOwnProps & PropsWithChildren>;
|
|
60
59
|
|
|
@@ -64,9 +63,9 @@ interface CustomRadioProps {
|
|
|
64
63
|
label?: string;
|
|
65
64
|
value?: string;
|
|
66
65
|
}
|
|
67
|
-
declare const CustomRadio:
|
|
66
|
+
declare const CustomRadio: react__default.FC<CustomRadioProps>;
|
|
68
67
|
|
|
69
|
-
declare const CustomRadioGroup:
|
|
68
|
+
declare const CustomRadioGroup: react__default.FC<RadioGroupProps & PropsWithChildren>;
|
|
70
69
|
|
|
71
70
|
interface CustomSwitchProps {
|
|
72
71
|
beforeText?: string;
|
|
@@ -93,7 +92,7 @@ interface PhoneInputProps {
|
|
|
93
92
|
}) => void;
|
|
94
93
|
name: string;
|
|
95
94
|
}
|
|
96
|
-
declare const PhoneInput:
|
|
95
|
+
declare const PhoneInput: react.ForwardRefExoticComponent<PhoneInputProps & react.RefAttributes<PatternFormatProps>>;
|
|
97
96
|
|
|
98
97
|
interface FromToInputProps {
|
|
99
98
|
label?: string;
|