armtek-uikit-react 1.0.80 → 1.0.81
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/Button.scss
CHANGED
package/assets/TextField.scss
CHANGED
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"armtek-uikit-react","version":"1.0.
|
|
1
|
+
{"name":"armtek-uikit-react","version":"1.0.81","description":"Armtek UIKit for React","repository":{"type":"git","url":"ssh://git@gl.corp:10022/int/uikit/uikit_react.git"},"author":"","license":"ISC","dependencies":{"build":"^0.1.4","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":"*"},"scripts":{"pub":"npm version patch && npm publish"}}
|
package/ui/Button/Button.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ type OwnProps<T extends ElementType = BtnType> = {
|
|
|
11
11
|
radius?: boolean;
|
|
12
12
|
asIcon?: boolean;
|
|
13
13
|
theme?: ThemeType;
|
|
14
|
+
fullWidth?: boolean;
|
|
14
15
|
as?: T;
|
|
15
16
|
};
|
|
16
17
|
export type ButtonProps<T extends ElementType = BtnType> = OwnProps<T> & Omit<ComponentPropsWithoutRef<T>, keyof OwnProps<T>>;
|
package/ui/Button/Button.js
CHANGED
|
@@ -20,6 +20,7 @@ const Button = props => {
|
|
|
20
20
|
radius,
|
|
21
21
|
asIcon,
|
|
22
22
|
theme,
|
|
23
|
+
fullWidth,
|
|
23
24
|
as,
|
|
24
25
|
...restProps
|
|
25
26
|
} = props;
|
|
@@ -31,6 +32,7 @@ const Button = props => {
|
|
|
31
32
|
[css['button_grouped_' + group]]: group,
|
|
32
33
|
[css.button_radius_none]: radius === false,
|
|
33
34
|
[css.button_radius_full]: radius === true,
|
|
35
|
+
[css.button_fullWidth]: !!fullWidth,
|
|
34
36
|
[css['button_theme_' + theme]]: !!theme
|
|
35
37
|
}),
|
|
36
38
|
children: [startAdornment && /*#__PURE__*/_jsx("div", {
|
|
@@ -73,9 +73,9 @@ export const TextField = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
73
73
|
focused: realFocused,
|
|
74
74
|
error: error,
|
|
75
75
|
multiline: multiline,
|
|
76
|
+
...inputProps,
|
|
76
77
|
onFocus: handleFocus,
|
|
77
|
-
onBlur: handleBlur
|
|
78
|
-
...inputProps
|
|
78
|
+
onBlur: handleBlur
|
|
79
79
|
}), endContentExists && endContent]
|
|
80
80
|
}), helperText && /*#__PURE__*/_jsx(HelperText, {
|
|
81
81
|
className: css.textfield__helperText,
|