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.modern.js
CHANGED
|
@@ -9476,7 +9476,7 @@ var Label = styled.label(_templateObject$f || (_templateObject$f = _taggedTempla
|
|
|
9476
9476
|
return $titlecolor;
|
|
9477
9477
|
}
|
|
9478
9478
|
});
|
|
9479
|
-
var Input = styled.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:
|
|
9479
|
+
var Input = styled.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) {
|
|
9480
9480
|
var theme = _ref4.theme;
|
|
9481
9481
|
return "1px solid " + theme.vms.border.light;
|
|
9482
9482
|
}, function (_ref5) {
|
|
@@ -9505,27 +9505,39 @@ var Input = styled.input(_templateObject2$c || (_templateObject2$c = _taggedTemp
|
|
|
9505
9505
|
}
|
|
9506
9506
|
}, function (_ref9) {
|
|
9507
9507
|
var $color = _ref9.$color,
|
|
9508
|
-
theme = _ref9.theme
|
|
9508
|
+
theme = _ref9.theme,
|
|
9509
|
+
disabled = _ref9.disabled;
|
|
9510
|
+
if (disabled) return '1px solid transparent';
|
|
9511
|
+
var color;
|
|
9509
9512
|
switch ($color) {
|
|
9510
9513
|
case 'dark':
|
|
9511
|
-
|
|
9514
|
+
color = theme.vms.text.dark;
|
|
9515
|
+
break;
|
|
9512
9516
|
case 'medium':
|
|
9513
|
-
|
|
9517
|
+
color = theme.vms.text.medium;
|
|
9518
|
+
break;
|
|
9514
9519
|
case 'light':
|
|
9515
|
-
|
|
9520
|
+
color = theme.vms.text.light;
|
|
9521
|
+
break;
|
|
9516
9522
|
case 'white':
|
|
9517
|
-
|
|
9523
|
+
color = theme.vms.text.white;
|
|
9524
|
+
break;
|
|
9518
9525
|
case 'warning':
|
|
9519
|
-
|
|
9526
|
+
color = theme.vms["default"].warning;
|
|
9527
|
+
break;
|
|
9520
9528
|
case 'info':
|
|
9521
|
-
|
|
9529
|
+
color = theme.vms["default"].info;
|
|
9530
|
+
break;
|
|
9522
9531
|
case 'success':
|
|
9523
|
-
|
|
9532
|
+
color = theme.vms["default"].success;
|
|
9533
|
+
break;
|
|
9524
9534
|
case 'error':
|
|
9525
|
-
|
|
9535
|
+
color = theme.vms["default"].error;
|
|
9536
|
+
break;
|
|
9526
9537
|
default:
|
|
9527
|
-
|
|
9538
|
+
color = $color;
|
|
9528
9539
|
}
|
|
9540
|
+
return "1px solid " + color;
|
|
9529
9541
|
}, function (_ref10) {
|
|
9530
9542
|
var theme = _ref10.theme;
|
|
9531
9543
|
return theme.vms.text.light;
|
|
@@ -9971,8 +9983,9 @@ var TextAreaComponent = styled.textarea(_templateObject3$9 || (_templateObject3$
|
|
|
9971
9983
|
}
|
|
9972
9984
|
}, function (_ref10) {
|
|
9973
9985
|
var $color = _ref10.$color,
|
|
9974
|
-
theme = _ref10.theme
|
|
9975
|
-
|
|
9986
|
+
theme = _ref10.theme,
|
|
9987
|
+
disabled = _ref10.disabled;
|
|
9988
|
+
return disabled ? undefined : $color || theme.vms.text.dark;
|
|
9976
9989
|
}, function (_ref11) {
|
|
9977
9990
|
var theme = _ref11.theme;
|
|
9978
9991
|
return theme.vms.text.light;
|