labsense-ui-kit 1.3.83 → 1.3.84
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.js +26 -13
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +26 -13
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9480,7 +9480,7 @@ var Label = styled__default.label(_templateObject$f || (_templateObject$f = _tag
|
|
|
9480
9480
|
return $titlecolor;
|
|
9481
9481
|
}
|
|
9482
9482
|
});
|
|
9483
|
-
var Input = styled__default.input(_templateObject2$c || (_templateObject2$c = _taggedTemplateLiteralLoose(["\n width: 100%;\n border: ", ";\n border-radius: 8px;\n cursor: ", ";\n background: ", ";\n transition: all 0.3s ease;\n color: ", ";\n\n ", "\n\n &:focus {\n border:
|
|
9483
|
+
var Input = styled__default.input(_templateObject2$c || (_templateObject2$c = _taggedTemplateLiteralLoose(["\n width: 100%;\n border: ", ";\n border-radius: 8px;\n cursor: ", ";\n background: ", ";\n transition: all 0.3s ease;\n color: ", ";\n\n ", "\n\n &:focus {\n border: ", ";\n }\n\n &::placeholder {\n color: ", ";\n font-style: italic;\n }\n"])), function (_ref4) {
|
|
9484
9484
|
var theme = _ref4.theme;
|
|
9485
9485
|
return "1px solid " + theme.vms.border.light;
|
|
9486
9486
|
}, function (_ref5) {
|
|
@@ -9509,27 +9509,39 @@ var Input = styled__default.input(_templateObject2$c || (_templateObject2$c = _t
|
|
|
9509
9509
|
}
|
|
9510
9510
|
}, function (_ref9) {
|
|
9511
9511
|
var $color = _ref9.$color,
|
|
9512
|
-
theme = _ref9.theme
|
|
9512
|
+
theme = _ref9.theme,
|
|
9513
|
+
disabled = _ref9.disabled;
|
|
9514
|
+
if (disabled) return '1px solid transparent';
|
|
9515
|
+
var color;
|
|
9513
9516
|
switch ($color) {
|
|
9514
9517
|
case 'dark':
|
|
9515
|
-
|
|
9518
|
+
color = theme.vms.text.dark;
|
|
9519
|
+
break;
|
|
9516
9520
|
case 'medium':
|
|
9517
|
-
|
|
9521
|
+
color = theme.vms.text.medium;
|
|
9522
|
+
break;
|
|
9518
9523
|
case 'light':
|
|
9519
|
-
|
|
9524
|
+
color = theme.vms.text.light;
|
|
9525
|
+
break;
|
|
9520
9526
|
case 'white':
|
|
9521
|
-
|
|
9527
|
+
color = theme.vms.text.white;
|
|
9528
|
+
break;
|
|
9522
9529
|
case 'warning':
|
|
9523
|
-
|
|
9530
|
+
color = theme.vms["default"].warning;
|
|
9531
|
+
break;
|
|
9524
9532
|
case 'info':
|
|
9525
|
-
|
|
9533
|
+
color = theme.vms["default"].info;
|
|
9534
|
+
break;
|
|
9526
9535
|
case 'success':
|
|
9527
|
-
|
|
9536
|
+
color = theme.vms["default"].success;
|
|
9537
|
+
break;
|
|
9528
9538
|
case 'error':
|
|
9529
|
-
|
|
9539
|
+
color = theme.vms["default"].error;
|
|
9540
|
+
break;
|
|
9530
9541
|
default:
|
|
9531
|
-
|
|
9542
|
+
color = $color;
|
|
9532
9543
|
}
|
|
9544
|
+
return "1px solid " + color;
|
|
9533
9545
|
}, function (_ref10) {
|
|
9534
9546
|
var theme = _ref10.theme;
|
|
9535
9547
|
return theme.vms.text.light;
|
|
@@ -9975,8 +9987,9 @@ var TextAreaComponent = styled__default.textarea(_templateObject3$9 || (_templat
|
|
|
9975
9987
|
}
|
|
9976
9988
|
}, function (_ref10) {
|
|
9977
9989
|
var $color = _ref10.$color,
|
|
9978
|
-
theme = _ref10.theme
|
|
9979
|
-
|
|
9990
|
+
theme = _ref10.theme,
|
|
9991
|
+
disabled = _ref10.disabled;
|
|
9992
|
+
return disabled ? undefined : $color || theme.vms.text.dark;
|
|
9980
9993
|
}, function (_ref11) {
|
|
9981
9994
|
var theme = _ref11.theme;
|
|
9982
9995
|
return theme.vms.text.light;
|