armtek-uikit-react 1.0.183 → 1.0.185
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/assets/Accordion.scss +1 -1
- package/assets/Adornment.scss +3 -3
- package/assets/Avatar.scss +7 -8
- package/assets/AvatarGroup.scss +5 -3
- package/assets/Badge.scss +7 -5
- package/assets/Button.scss +7 -6
- package/assets/ButtonIcon.scss +7 -7
- package/assets/Checkbox.scss +4 -4
- package/assets/Chip.scss +4 -3
- package/assets/DatePicker.scss +1 -1
- package/assets/Icon.scss +1 -1
- package/assets/Interval.scss +4 -3
- package/assets/Link.scss +1 -1
- package/assets/ListItem.scss +10 -10
- package/assets/Loader.scss +1 -1
- package/assets/Logo.scss +4 -4
- package/assets/Modal.scss +6 -6
- package/assets/Paper.scss +1 -1
- package/assets/Rating.scss +2 -2
- package/assets/Select.scss +11 -11
- package/assets/Skeleton.scss +1 -1
- package/assets/Slider.scss +3 -3
- package/assets/Status.scss +8 -8
- package/assets/StepItem.scss +5 -4
- package/assets/StepItemIcon.scss +2 -1
- package/assets/Switch.scss +3 -3
- package/assets/Table.scss +5 -5
- package/assets/TextArea.scss +3 -3
- package/assets/TextField.scss +4 -4
- package/assets/Tooltip.scss +2 -2
- package/assets/global.scss +3 -0
- package/assets/styles.min.css +1 -1
- package/assets/styles.min.css.map +1 -1
- package/assets/styles.scss +46 -46
- package/assets/variables.scss +0 -62
- package/package.json +1 -1
- package/ui/Accordion/Accordion.classes.d.ts +4 -1
- package/ui/Button/Button.d.ts +13 -13
- package/ui/ButtonIcon/ButtonIcon.d.ts +13 -13
- package/ui/Chip/Chip.d.ts +1 -1
- package/ui/Form/Checkbox/Checkbox.js +2 -1
- package/ui/Form/Password/Password.d.ts +12 -12
- package/ui/Form/Period/Period.d.ts +4 -4
- package/ui/Form/TextArea/TextArea.d.ts +12 -12
- package/ui/Form/TextField/TextField.d.ts +19 -19
- package/ui/Form/TimeField/TimeField.d.ts +18 -18
- package/ui/Icon/Mis.d.ts +1 -1
- package/ui/Stepper/Stepper.d.ts +1 -1
- package/ui/Table/Table.d.ts +3 -3
package/assets/styles.scss
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
|
|
2
|
-
@
|
|
3
|
-
@
|
|
4
|
-
@
|
|
5
|
-
@
|
|
6
|
-
@
|
|
7
|
-
@
|
|
8
|
-
@
|
|
9
|
-
@
|
|
10
|
-
@
|
|
11
|
-
@
|
|
12
|
-
@
|
|
13
|
-
@
|
|
14
|
-
@
|
|
15
|
-
@
|
|
16
|
-
@
|
|
17
|
-
@
|
|
18
|
-
@
|
|
19
|
-
@
|
|
20
|
-
@
|
|
21
|
-
@
|
|
22
|
-
@
|
|
23
|
-
@
|
|
24
|
-
@
|
|
25
|
-
@
|
|
26
|
-
@
|
|
27
|
-
@
|
|
28
|
-
@
|
|
29
|
-
@
|
|
30
|
-
@
|
|
31
|
-
@
|
|
32
|
-
@
|
|
33
|
-
@
|
|
34
|
-
@
|
|
35
|
-
@
|
|
36
|
-
@
|
|
37
|
-
@
|
|
38
|
-
@
|
|
39
|
-
@
|
|
40
|
-
@
|
|
41
|
-
@
|
|
42
|
-
@
|
|
43
|
-
@
|
|
44
|
-
@
|
|
45
|
-
@
|
|
46
|
-
@
|
|
47
|
-
@
|
|
2
|
+
@use "global";
|
|
3
|
+
@use "variables";
|
|
4
|
+
@use "Accordion";
|
|
5
|
+
@use "Adornment";
|
|
6
|
+
@use "Avatar";
|
|
7
|
+
@use "AvatarGroup";
|
|
8
|
+
@use "BackDrop";
|
|
9
|
+
@use "Badge";
|
|
10
|
+
@use "Button";
|
|
11
|
+
@use "ButtonGroup";
|
|
12
|
+
@use "ButtonIcon";
|
|
13
|
+
@use "Alert";
|
|
14
|
+
@use "Card";
|
|
15
|
+
@use "Checkbox";
|
|
16
|
+
@use "Chip";
|
|
17
|
+
@use "DateField";
|
|
18
|
+
@use "DatePicker";
|
|
19
|
+
@use "Dropdown";
|
|
20
|
+
@use "FormControls";
|
|
21
|
+
@use "HelperText";
|
|
22
|
+
@use "Icon";
|
|
23
|
+
@use "Interval";
|
|
24
|
+
@use "Link";
|
|
25
|
+
@use "ListItem";
|
|
26
|
+
@use "Loader";
|
|
27
|
+
@use "Logo";
|
|
28
|
+
@use "Modal";
|
|
29
|
+
@use "Paper";
|
|
30
|
+
@use "Period";
|
|
31
|
+
@use "Rating";
|
|
32
|
+
@use "Select";
|
|
33
|
+
@use "Skeleton";
|
|
34
|
+
@use "Slider";
|
|
35
|
+
@use "Stack";
|
|
36
|
+
@use "Status";
|
|
37
|
+
@use "StepItem";
|
|
38
|
+
@use "StepItemIcon";
|
|
39
|
+
@use "Stepper";
|
|
40
|
+
@use "Switch";
|
|
41
|
+
@use "Table";
|
|
42
|
+
@use "TextField";
|
|
43
|
+
@use "TextArea";
|
|
44
|
+
@use "Tooltip";
|
|
45
|
+
@use "Pagination";
|
|
46
|
+
@use "Popper";
|
|
47
|
+
@use "classes";
|
package/assets/variables.scss
CHANGED
|
@@ -1,70 +1,8 @@
|
|
|
1
|
-
$font-family: 'Roboto';
|
|
2
|
-
$size-elarge: 56px;
|
|
3
|
-
$size-large: 42px;
|
|
4
|
-
$size-medium: 36px;
|
|
5
|
-
$size-small: 30px;
|
|
6
|
-
$size-step: 8px;
|
|
7
|
-
$radius: 4px;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
$color-primary: #0D46FF;
|
|
11
|
-
$color-primary-dark: #0B3CD9;
|
|
12
|
-
$color-primary-light: #0B3CD9;
|
|
13
|
-
$color-blue-A100: #D9E2FF;
|
|
14
|
-
$color-blue-50: #F2F5FF;
|
|
15
|
-
$color-blue-100: #DFF0FF;
|
|
16
|
-
$color-blue-400: #99C2FF;
|
|
17
|
-
$color-blue-800: #406DFF;
|
|
18
|
-
|
|
19
|
-
$color-info: #0D46FF;
|
|
20
|
-
$color-info-dark: #0b3cd9;
|
|
21
|
-
|
|
22
|
-
$color-secondary: #FF7F00;
|
|
23
|
-
$color-secondary-dark: #D96C00;
|
|
24
|
-
$color-secondary-light: #FFA140;
|
|
25
|
-
$color-orange-800: #FF9426;
|
|
26
|
-
$color-orange-400: #FFC68C;
|
|
27
|
-
$color-orange-300: #FFD3A6;
|
|
28
|
-
$color-orange-100: #FFE6CC;
|
|
29
|
-
$color-orange-50: #FFF8F0;
|
|
30
|
-
|
|
31
|
-
$color-neutral: #4D5359;
|
|
32
|
-
$color-neutral-dark: #40454A;
|
|
33
|
-
$color-neutral-light: #9AA4AE;
|
|
34
|
-
$color-gray-900: #212529;
|
|
35
|
-
$color-gray-800: #40454A;
|
|
36
|
-
$color-gray-700: #4D5359;
|
|
37
|
-
$color-gray-600: #6C757D;
|
|
38
|
-
$color-gray-500: #9AA4AE;
|
|
39
|
-
$color-gray-400: #B1BCC6;
|
|
40
|
-
$color-gray-300: #D3DAE1;
|
|
41
|
-
$color-gray-200: #DFE2E6;
|
|
42
|
-
$color-gray-100: #E9ECEF;
|
|
43
|
-
$color-gray-50: #F8F9FA;
|
|
44
|
-
|
|
45
|
-
$color-green-50: #F2FFFB;
|
|
46
|
-
$color-green-100: #DEFDEE;
|
|
47
|
-
$color-green-300: #ACF7D6;
|
|
48
|
-
|
|
49
|
-
$color-success: #0BD998;
|
|
50
|
-
$color-success-dark: #08996B;
|
|
51
|
-
$color-error: #FF3342;
|
|
52
|
-
$color-error-dark: #CC2935;
|
|
53
|
-
$color-warning: #FFC61A;
|
|
54
|
-
$color-warning-dark: #F7B519;
|
|
55
|
-
|
|
56
|
-
$color-red-50: #FFF0F1;
|
|
57
|
-
$color-red-100: #FCE1E1;
|
|
58
|
-
|
|
59
|
-
$box-shadow: 0px 8px 10px 0px rgba(0, 0, 0, 0.1);
|
|
60
|
-
|
|
61
|
-
|
|
62
1
|
|
|
63
2
|
.react-datepicker-popper{
|
|
64
3
|
z-index: 6;
|
|
65
4
|
}
|
|
66
5
|
|
|
67
|
-
|
|
68
6
|
@mixin transition($time: 0.5s, $target: all, $animation: ease) {
|
|
69
7
|
transition: $time $target $animation;
|
|
70
8
|
}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"armtek-uikit-react","version":"1.0.
|
|
1
|
+
{"name":"armtek-uikit-react","version":"1.0.185","description":"Armtek UIKit for React","main":"cjs/index.js","module":"esm/index.js","types":"esm/index.d.ts","repository":{"type":"git","url":"ssh://git@gl.corp:10022/int/uikit/uikit_react.git"},"author":"","license":"ISC","dependencies":{"clsx":"^2.0.0","rc-slider":"^10.2.1","react":"*","react-datepicker":"^4.16.0","react-dom":"*","react-transition-group":"^4.4.5"},"peerDependencies":{"react":"*","react-dom":"*"},"engines":{"node":">=14.0.0"},"scripts":{"pub":"npm version patch && npm publish"}}
|
package/ui/Button/Button.d.ts
CHANGED
|
@@ -20,20 +20,20 @@ type OwnProps<T extends ElementType = BtnType> = {
|
|
|
20
20
|
};
|
|
21
21
|
export type ButtonProps<T extends ElementType = BtnType> = OwnProps<T> & Omit<ComponentPropsWithoutRef<T>, keyof OwnProps<T>>;
|
|
22
22
|
declare const _default: <T extends ElementType = "button">(props: {
|
|
23
|
-
size?: SizeType
|
|
24
|
-
color?:
|
|
25
|
-
variant?: VariantType
|
|
26
|
-
startAdornment?: ReactNode;
|
|
27
|
-
endAdornment?: ReactNode;
|
|
28
|
-
group?: "
|
|
29
|
-
radius?: boolean
|
|
30
|
-
asIcon?: boolean
|
|
31
|
-
theme?: ThemeType
|
|
32
|
-
fullWidth?: boolean
|
|
33
|
-
disablestyles?: string
|
|
34
|
-
disabled?: boolean
|
|
23
|
+
size?: SizeType;
|
|
24
|
+
color?: ColorType | Exclude<ColorThemeType, "white"> | Exclude<ColorBaseType, "blue">;
|
|
25
|
+
variant?: VariantType;
|
|
26
|
+
startAdornment?: string | ReactNode;
|
|
27
|
+
endAdornment?: string | ReactNode;
|
|
28
|
+
group?: "inline" | "column";
|
|
29
|
+
radius?: boolean;
|
|
30
|
+
asIcon?: boolean;
|
|
31
|
+
theme?: ThemeType;
|
|
32
|
+
fullWidth?: boolean;
|
|
33
|
+
disablestyles?: string;
|
|
34
|
+
disabled?: boolean;
|
|
35
35
|
as?: T | undefined;
|
|
36
36
|
} & {
|
|
37
37
|
[dataAttibute: `data-${string}`]: string;
|
|
38
|
-
} & Omit<import("react").PropsWithoutRef<import("react").ComponentProps<T>>, "color" | "size" | "disabled" | "
|
|
38
|
+
} & Omit<import("react").PropsWithoutRef<import("react").ComponentProps<T>>, "color" | "size" | "disabled" | "radius" | "as" | "group" | `data-${string}` | "variant" | "startAdornment" | "endAdornment" | "asIcon" | "theme" | "fullWidth" | "disablestyles"> & import("react").RefAttributes<any>) => JSX.Element;
|
|
39
39
|
export default _default;
|
|
@@ -6,20 +6,20 @@ export type ButtonIconProps<T extends ElementType = 'button'> = {
|
|
|
6
6
|
iconProps?: Partial<IconProps>;
|
|
7
7
|
};
|
|
8
8
|
declare const _default: <T extends ElementType = "button">(props: ButtonIconProps<T> & {
|
|
9
|
-
size?: import("../../types/theme").SizeType
|
|
10
|
-
color?: "
|
|
11
|
-
variant?: import("../../types/theme").VariantType
|
|
12
|
-
startAdornment?: import("react").ReactNode;
|
|
13
|
-
endAdornment?: import("react").ReactNode;
|
|
14
|
-
group?: "
|
|
15
|
-
radius?: boolean
|
|
16
|
-
asIcon?: boolean
|
|
17
|
-
theme?: import("../../types/theme").ThemeType
|
|
18
|
-
fullWidth?: boolean
|
|
19
|
-
disablestyles?: string
|
|
20
|
-
disabled?: boolean
|
|
9
|
+
size?: import("../../types/theme").SizeType;
|
|
10
|
+
color?: import("../../types/theme").ColorType | Exclude<import("../../types/theme").ColorThemeType, "white"> | Exclude<import("../../types/theme").ColorBaseType, "blue">;
|
|
11
|
+
variant?: import("../../types/theme").VariantType;
|
|
12
|
+
startAdornment?: string | import("react").ReactNode;
|
|
13
|
+
endAdornment?: string | import("react").ReactNode;
|
|
14
|
+
group?: "inline" | "column";
|
|
15
|
+
radius?: boolean;
|
|
16
|
+
asIcon?: boolean;
|
|
17
|
+
theme?: import("../../types/theme").ThemeType;
|
|
18
|
+
fullWidth?: boolean;
|
|
19
|
+
disablestyles?: string;
|
|
20
|
+
disabled?: boolean;
|
|
21
21
|
as?: T | undefined;
|
|
22
22
|
} & {
|
|
23
23
|
[dataAttibute: `data-${string}`]: string;
|
|
24
|
-
} & Omit<import("react").PropsWithoutRef<import("react").ComponentProps<T>>, "color" | "size" | "disabled" | "
|
|
24
|
+
} & Omit<import("react").PropsWithoutRef<import("react").ComponentProps<T>>, "color" | "size" | "disabled" | "radius" | "as" | "group" | `data-${string}` | "variant" | "startAdornment" | "endAdornment" | "asIcon" | "theme" | "fullWidth" | "disablestyles"> & import("react").RefAttributes<T>) => JSX.Element;
|
|
25
25
|
export default _default;
|
package/ui/Chip/Chip.d.ts
CHANGED
|
@@ -12,5 +12,5 @@ type OwnProps<T extends ElementType = ElementType<HTMLAttributes<HTMLSpanElement
|
|
|
12
12
|
disabled?: boolean;
|
|
13
13
|
};
|
|
14
14
|
export type ChipProps<T extends ElementType = 'span'> = OwnProps<T> & Omit<ComponentPropsWithoutRef<T>, keyof OwnProps<T>>;
|
|
15
|
-
declare function Chip<T extends ElementType>(props: ChipProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
declare function Chip<T extends ElementType = 'span'>(props: ChipProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
export default Chip;
|
|
@@ -34,7 +34,8 @@ const Checkbox = props => {
|
|
|
34
34
|
className: (0, _clsx.default)('arm-checkbox__label', ['arm-checkbox_' + size], ['arm-checkbox_' + variant], ['arm-checkbox_' + color], {
|
|
35
35
|
'arm-checkbox__label_checked': inputProps.checked !== undefined ? inputProps.checked : checked,
|
|
36
36
|
'arm-checkbox__label_intermediate': !!intermediate,
|
|
37
|
-
'arm-checkbox__label_disabled': !!inputProps.disabled
|
|
37
|
+
'arm-checkbox__label_disabled': !!inputProps.disabled,
|
|
38
|
+
'arm-radio__label': props.type === 'radio'
|
|
38
39
|
}),
|
|
39
40
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("input", {
|
|
40
41
|
...inputProps,
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
export declare const Password: import("react").ForwardRefExoticComponent<{
|
|
2
|
-
label?: string
|
|
3
|
-
size?: "
|
|
4
|
-
variant?: import("../../../types/theme").VariantType
|
|
5
|
-
error?: boolean
|
|
6
|
-
success?: boolean
|
|
7
|
-
helperText?: import("react").ReactNode;
|
|
8
|
-
endAdornment?: import("react").ReactNode;
|
|
9
|
-
multiline?: boolean
|
|
10
|
-
focused?: boolean
|
|
11
|
-
editable?: boolean
|
|
2
|
+
label?: string;
|
|
3
|
+
size?: Exclude<import("../../../types/theme").SizeType, "extraLarge" | "medium">;
|
|
4
|
+
variant?: import("../../../types/theme").VariantType;
|
|
5
|
+
error?: boolean;
|
|
6
|
+
success?: boolean;
|
|
7
|
+
helperText?: string | import("react").ReactNode;
|
|
8
|
+
endAdornment?: string | import("react").ReactNode;
|
|
9
|
+
multiline?: boolean;
|
|
10
|
+
focused?: boolean;
|
|
11
|
+
editable?: boolean;
|
|
12
12
|
classes?: Partial<{
|
|
13
13
|
input: string;
|
|
14
14
|
root: string;
|
|
15
15
|
wrapper: string;
|
|
16
|
-
}
|
|
17
|
-
WrapperProps?:
|
|
16
|
+
}>;
|
|
17
|
+
WrapperProps?: import("react").ComponentPropsWithoutRef<"div">;
|
|
18
18
|
} & Omit<import("react").InputHTMLAttributes<any>, "size"> & import("react").RefAttributes<unknown>>;
|
|
19
19
|
export default Password;
|
|
@@ -6,8 +6,8 @@ export type PeriodChangeEvent = (Event & {
|
|
|
6
6
|
};
|
|
7
7
|
});
|
|
8
8
|
declare const Period: import("react").ForwardRefExoticComponent<{
|
|
9
|
-
format?: string
|
|
10
|
-
onChange?: (
|
|
11
|
-
value?: [Date | null, Date | null]
|
|
12
|
-
} & Omit<TextFieldProps, "
|
|
9
|
+
format?: string;
|
|
10
|
+
onChange?: (e: PeriodChangeEvent) => void;
|
|
11
|
+
value?: [Date | null, Date | null];
|
|
12
|
+
} & Omit<TextFieldProps, "onChange" | "value"> & import("react").RefAttributes<unknown>>;
|
|
13
13
|
export default Period;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { TextFieldProps } from '../TextField/TextField';
|
|
2
2
|
export type TextAreaProps = {} & TextFieldProps;
|
|
3
3
|
declare const TextArea: import("react").ForwardRefExoticComponent<{
|
|
4
|
-
label?: string
|
|
5
|
-
size?: "
|
|
6
|
-
variant?: import("../../../types/theme").VariantType
|
|
7
|
-
error?: boolean
|
|
8
|
-
success?: boolean
|
|
9
|
-
helperText?: import("react").ReactNode;
|
|
10
|
-
endAdornment?: import("react").ReactNode;
|
|
11
|
-
multiline?: boolean
|
|
12
|
-
focused?: boolean
|
|
13
|
-
editable?: boolean
|
|
4
|
+
label?: string;
|
|
5
|
+
size?: Exclude<import("../../../types/theme").SizeType, "extraLarge" | "medium">;
|
|
6
|
+
variant?: import("../../../types/theme").VariantType;
|
|
7
|
+
error?: boolean;
|
|
8
|
+
success?: boolean;
|
|
9
|
+
helperText?: string | import("react").ReactNode;
|
|
10
|
+
endAdornment?: string | import("react").ReactNode;
|
|
11
|
+
multiline?: boolean;
|
|
12
|
+
focused?: boolean;
|
|
13
|
+
editable?: boolean;
|
|
14
14
|
classes?: Partial<{
|
|
15
15
|
input: string;
|
|
16
16
|
root: string;
|
|
17
17
|
wrapper: string;
|
|
18
|
-
}
|
|
19
|
-
WrapperProps?:
|
|
18
|
+
}>;
|
|
19
|
+
WrapperProps?: import("react").ComponentPropsWithoutRef<"div">;
|
|
20
20
|
} & Omit<import("react").InputHTMLAttributes<any>, "size"> & import("react").RefAttributes<HTMLTextAreaElement>>;
|
|
21
21
|
export default TextArea;
|
|
@@ -16,18 +16,18 @@ export type TextFieldProps = {
|
|
|
16
16
|
WrapperProps?: ComponentPropsWithoutRef<'div'>;
|
|
17
17
|
} & Omit<InputHTMLAttributes<any>, 'size'>;
|
|
18
18
|
export declare const TextField: import("react").ForwardRefExoticComponent<{
|
|
19
|
-
label?: string
|
|
20
|
-
size?: "
|
|
21
|
-
variant?: VariantType
|
|
22
|
-
error?: boolean
|
|
23
|
-
success?: boolean
|
|
19
|
+
label?: string;
|
|
20
|
+
size?: Exclude<SizeType, "extraLarge" | "medium">;
|
|
21
|
+
variant?: VariantType;
|
|
22
|
+
error?: boolean;
|
|
23
|
+
success?: boolean;
|
|
24
24
|
helperText?: string | ReactNode;
|
|
25
25
|
endAdornment?: string | ReactNode;
|
|
26
|
-
multiline?: boolean
|
|
27
|
-
focused?: boolean
|
|
28
|
-
editable?: boolean
|
|
29
|
-
classes?: Partial<Classes
|
|
30
|
-
WrapperProps?:
|
|
26
|
+
multiline?: boolean;
|
|
27
|
+
focused?: boolean;
|
|
28
|
+
editable?: boolean;
|
|
29
|
+
classes?: Partial<Classes>;
|
|
30
|
+
WrapperProps?: ComponentPropsWithoutRef<"div">;
|
|
31
31
|
} & Omit<InputHTMLAttributes<any>, "size"> & import("react").RefAttributes<any>>;
|
|
32
32
|
type ContainerPropsType = {
|
|
33
33
|
focused?: boolean;
|
|
@@ -38,14 +38,14 @@ type ContainerPropsType = {
|
|
|
38
38
|
} & HTMLAttributes<HTMLDivElement>;
|
|
39
39
|
export declare const TextFieldContainer: (props: ContainerPropsType) => import("react/jsx-runtime").JSX.Element;
|
|
40
40
|
export declare const TextFieldInput: import("react").ForwardRefExoticComponent<{
|
|
41
|
-
Component?: ElementType
|
|
42
|
-
focused?: boolean
|
|
43
|
-
size?: TextFieldProps[
|
|
44
|
-
variant?: TextFieldProps[
|
|
45
|
-
multiline?: boolean
|
|
46
|
-
error?: boolean
|
|
47
|
-
label?: string
|
|
48
|
-
wrapperClass?: string
|
|
49
|
-
WrapperProps?:
|
|
41
|
+
Component?: ElementType;
|
|
42
|
+
focused?: boolean;
|
|
43
|
+
size?: TextFieldProps["size"];
|
|
44
|
+
variant?: TextFieldProps["variant"];
|
|
45
|
+
multiline?: boolean;
|
|
46
|
+
error?: boolean;
|
|
47
|
+
label?: string;
|
|
48
|
+
wrapperClass?: string;
|
|
49
|
+
WrapperProps?: ComponentPropsWithoutRef<"div">;
|
|
50
50
|
} & Omit<InputHTMLAttributes<any>, "size"> & import("react").RefAttributes<unknown>>;
|
|
51
51
|
export default TextField;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
declare const TimeField: import("react").ForwardRefExoticComponent<{
|
|
2
|
-
onClick?: (
|
|
3
|
-
format?: string
|
|
4
|
-
onInput?: (
|
|
5
|
-
onChange?: (
|
|
6
|
-
value?:
|
|
7
|
-
showTime?: boolean
|
|
8
|
-
showTimeOnly?: boolean
|
|
9
|
-
inputProps?:
|
|
2
|
+
onClick?: (e: import("react").MouseEvent) => void;
|
|
3
|
+
format?: string;
|
|
4
|
+
onInput?: (e: import("react").ChangeEvent<HTMLInputElement>) => void;
|
|
5
|
+
onChange?: (e: import("../DateField/DateField").DateFieldChangeEvent) => void;
|
|
6
|
+
value?: Date | string | null;
|
|
7
|
+
showTime?: boolean;
|
|
8
|
+
showTimeOnly?: boolean;
|
|
9
|
+
inputProps?: Omit<import("../TextField").TextFieldProps, "onChange" | "value"> & import("../../../types/theme").DataAttributes;
|
|
10
10
|
} & {
|
|
11
11
|
label?: string | undefined;
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
className?: string | undefined | undefined;
|
|
13
|
+
placeholder?: string | undefined | undefined;
|
|
14
14
|
error?: boolean | undefined;
|
|
15
15
|
helperText?: import("react").ReactNode;
|
|
16
16
|
} & Omit<import("../DatePicker").DatePickerProps, keyof {
|
|
17
|
-
onClick?: (
|
|
18
|
-
format?: string
|
|
19
|
-
onInput?: (
|
|
20
|
-
onChange?: (
|
|
21
|
-
value?:
|
|
22
|
-
showTime?: boolean
|
|
23
|
-
showTimeOnly?: boolean
|
|
24
|
-
inputProps?:
|
|
17
|
+
onClick?: (e: import("react").MouseEvent) => void;
|
|
18
|
+
format?: string;
|
|
19
|
+
onInput?: (e: import("react").ChangeEvent<HTMLInputElement>) => void;
|
|
20
|
+
onChange?: (e: import("../DateField/DateField").DateFieldChangeEvent) => void;
|
|
21
|
+
value?: Date | string | null;
|
|
22
|
+
showTime?: boolean;
|
|
23
|
+
showTimeOnly?: boolean;
|
|
24
|
+
inputProps?: Omit<import("../TextField").TextFieldProps, "onChange" | "value"> & import("../../../types/theme").DataAttributes;
|
|
25
25
|
}> & import("react").RefAttributes<HTMLInputElement>>;
|
|
26
26
|
export default TimeField;
|
package/ui/Icon/Mis.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { MiProps } from './Mi';
|
|
2
|
-
export declare const Mis: (props: Omit<MiProps,
|
|
2
|
+
export declare const Mis: (props: Omit<MiProps, "variant">) => import("react/jsx-runtime").JSX.Element;
|
package/ui/Stepper/Stepper.d.ts
CHANGED
|
@@ -8,5 +8,5 @@ export type StepperProps = {
|
|
|
8
8
|
orientation?: 'vertical' | 'horizontal';
|
|
9
9
|
size?: StepItemProps['size'];
|
|
10
10
|
};
|
|
11
|
-
declare const Stepper: (props: StepperProps & Omit<ComponentPropsWithoutRef<
|
|
11
|
+
declare const Stepper: (props: StepperProps & Omit<ComponentPropsWithoutRef<"div">, keyof StepperProps>) => import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
export default Stepper;
|
package/ui/Table/Table.d.ts
CHANGED
|
@@ -25,9 +25,9 @@ export type TableProps<T extends ItemType> = Omit<TableBaseProps, 'onClick'> & {
|
|
|
25
25
|
getRow?: (item: T, index: number) => ReactNode;
|
|
26
26
|
};
|
|
27
27
|
export declare const Table: <T extends ItemType>(props: Omit<Omit<import("react").DetailedHTMLProps<import("react").TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, "ref">, "onClick"> & {
|
|
28
|
-
size?: SizeType
|
|
29
|
-
variant?: VariantType
|
|
30
|
-
color?: ColorType
|
|
28
|
+
size?: SizeType;
|
|
29
|
+
variant?: VariantType;
|
|
30
|
+
color?: ColorType;
|
|
31
31
|
classes?: ClassesType<T> | undefined;
|
|
32
32
|
structure: TableColType<T>[];
|
|
33
33
|
items: T[];
|