armtek-uikit-react 1.0.55 → 1.0.56
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/ListItem.scss
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
outline: none;
|
|
5
5
|
padding: calc($size-step * 1.5) calc($size-step * 2);
|
|
6
6
|
color: $color-neutral;
|
|
7
|
-
background:
|
|
7
|
+
background: #fff;
|
|
8
8
|
@include transition(0.3s, background);
|
|
9
9
|
@include flex();
|
|
10
10
|
width: 100%;
|
|
@@ -19,8 +19,17 @@
|
|
|
19
19
|
background: rgba($color-primary, 0.1);
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
.listitem_startAdornment{
|
|
23
22
|
|
|
23
|
+
.listitem_disabled{
|
|
24
|
+
pointer-events: none;
|
|
25
|
+
background: #fff;
|
|
26
|
+
color: $color-gray-400;
|
|
27
|
+
user-select: none;
|
|
28
|
+
cursor: default;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.listitemText__adornment_left{
|
|
32
|
+
margin-left: calc($size-step * 2);
|
|
24
33
|
}
|
|
25
34
|
.listitem_endAdornment{
|
|
26
35
|
|
|
@@ -30,5 +39,5 @@
|
|
|
30
39
|
}
|
|
31
40
|
.listitemText{
|
|
32
41
|
display: block;
|
|
33
|
-
margin:
|
|
42
|
+
margin-right: calc($size-step * 2);
|
|
34
43
|
}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"armtek-uikit-react","version":"1.0.
|
|
1
|
+
{"name":"armtek-uikit-react","version":"1.0.56","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":"*"},"peerDependencies":{"react":"*","react-dom":"*"},"scripts":{"pub":"npm version patch && npm publish"}}
|
|
@@ -22,8 +22,10 @@ const DateInput = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
22
22
|
variant: 'transparent',
|
|
23
23
|
onClick: props.onClick,
|
|
24
24
|
color: 'neutral',
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
children: /*#__PURE__*/_jsx("span", {
|
|
26
|
+
className: 'material_icon',
|
|
27
|
+
children: inputIcon
|
|
28
|
+
})
|
|
27
29
|
})
|
|
28
30
|
});
|
|
29
31
|
});
|
|
@@ -32,8 +32,10 @@ export const Password = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
32
32
|
variant: 'transparent',
|
|
33
33
|
color: 'neutral',
|
|
34
34
|
onClick: handleClick,
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
children: /*#__PURE__*/_jsx("span", {
|
|
36
|
+
className: 'material_icon',
|
|
37
|
+
children: isPassword ? 'visibility_off' : 'visibility'
|
|
38
|
+
})
|
|
37
39
|
})
|
|
38
40
|
})
|
|
39
41
|
});
|
package/ui/Form/Select/Select.js
CHANGED
|
@@ -87,8 +87,10 @@ function Select(props) {
|
|
|
87
87
|
}), /*#__PURE__*/_jsx(ButtonIcon, {
|
|
88
88
|
size: 'small',
|
|
89
89
|
variant: 'transparent',
|
|
90
|
-
|
|
91
|
-
|
|
90
|
+
children: /*#__PURE__*/_jsx("span", {
|
|
91
|
+
className: 'material_icon',
|
|
92
|
+
children: "arrow_drop_down"
|
|
93
|
+
})
|
|
92
94
|
})]
|
|
93
95
|
});
|
|
94
96
|
let selectProps = {};
|
package/ui/List/ListItem.js
CHANGED
|
@@ -27,6 +27,7 @@ const ListItem = props => {
|
|
|
27
27
|
className: clsx(css.listitem, className, {
|
|
28
28
|
[css.listitem_active]: !!active || !!checked,
|
|
29
29
|
[css.listitem_divider]: !!divider,
|
|
30
|
+
[css.listitem_disabled]: !!restProps.disabled,
|
|
30
31
|
[css.listitem_endAdornment]: !!endAdornment,
|
|
31
32
|
[css.listitem_startAdornment]: withStartAdornment
|
|
32
33
|
}),
|
|
@@ -44,7 +45,9 @@ const ListItem = props => {
|
|
|
44
45
|
children: startAdornment
|
|
45
46
|
})]
|
|
46
47
|
}), /*#__PURE__*/_jsx("span", {
|
|
47
|
-
className: css.listitemText,
|
|
48
|
+
className: clsx(css.listitemText, {
|
|
49
|
+
[css.listitemText__adornment_left]: withStartAdornment
|
|
50
|
+
}),
|
|
48
51
|
children: children
|
|
49
52
|
}), !!endAdornment && /*#__PURE__*/_jsx(AdornmentContainer, {
|
|
50
53
|
position: 'end',
|
package/ui/Modal/BaseModal.js
CHANGED
|
@@ -47,6 +47,7 @@ export const BaseModal = props => {
|
|
|
47
47
|
}), showControls && /*#__PURE__*/_jsx("div", {
|
|
48
48
|
className: clsx('Arm-Modal__footer', classes == null ? void 0 : classes['Arm-Modal__footer'], css.Modal__footer),
|
|
49
49
|
children: /*#__PURE__*/_jsx(FormControls, {
|
|
50
|
+
className: classes == null ? void 0 : classes['Arm-FormControls'],
|
|
50
51
|
onSubmit: onSubmit,
|
|
51
52
|
onCancel: onCancel,
|
|
52
53
|
submitProps: submitProps,
|