labsense-ui-kit 1.2.59 → 1.2.61
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 +29 -25
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +29 -25
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7772,7 +7772,8 @@ var SelectOption = function SelectOption(_ref36) {
|
|
|
7772
7772
|
icon: icon.name,
|
|
7773
7773
|
size: icon.size || 14,
|
|
7774
7774
|
weight: icon.weight || '1px',
|
|
7775
|
-
color: icon.color || themeColors.vms.text.medium
|
|
7775
|
+
color: icon.color || themeColors.vms.text.medium,
|
|
7776
|
+
cursor: 'pointer'
|
|
7776
7777
|
}), label ? React__default.createElement(LabelText$1, {
|
|
7777
7778
|
"$color": color,
|
|
7778
7779
|
"$disabled": disabled,
|
|
@@ -8248,7 +8249,7 @@ var Label$1 = styled__default.label(_templateObject2$d || (_templateObject2$d =
|
|
|
8248
8249
|
theme = _ref4.theme;
|
|
8249
8250
|
return $titlecolor || theme.vms.text.dark;
|
|
8250
8251
|
});
|
|
8251
|
-
var TextAreaComponent = styled__default.textarea(_templateObject3$9 || (_templateObject3$9 = _taggedTemplateLiteralLoose(["\n width: 100%;\n border: ", ";\n border-radius: 8px;\n cursor: ", ";\n background: ", ";\n transition: all 0.3s ease;\n color: ", ";\n resize: none;\n height: 100%;\n \n ", "\n\n &:focus {\n border-color: ", ";\n }\n\n &::placeholder {\n color: ", ";\n font-style: italic;\n }\n"])), function (_ref5) {
|
|
8252
|
+
var TextAreaComponent = styled__default.textarea(_templateObject3$9 || (_templateObject3$9 = _taggedTemplateLiteralLoose(["\n width: 100%;\n border: ", ";\n border-radius: 8px;\n cursor: ", ";\n background: ", ";\n transition: all 0.3s ease;\n color: ", ";\n resize: none;\n height: 100%;\n pointer-events: ", ";\n \n ", "\n\n &:focus {\n border-color: ", ";\n }\n\n &::placeholder {\n color: ", ";\n font-style: italic;\n }\n"])), function (_ref5) {
|
|
8252
8253
|
var theme = _ref5.theme;
|
|
8253
8254
|
return "1px solid " + theme.vms.border.light;
|
|
8254
8255
|
}, function (_ref6) {
|
|
@@ -8263,7 +8264,10 @@ var TextAreaComponent = styled__default.textarea(_templateObject3$9 || (_templat
|
|
|
8263
8264
|
var $color = _ref8.$color;
|
|
8264
8265
|
return $color;
|
|
8265
8266
|
}, function (_ref9) {
|
|
8266
|
-
var $
|
|
8267
|
+
var $disabled = _ref9.$disabled;
|
|
8268
|
+
return $disabled ? 'none' : 'auto';
|
|
8269
|
+
}, function (_ref10) {
|
|
8270
|
+
var $size = _ref10.$size;
|
|
8267
8271
|
switch ($size) {
|
|
8268
8272
|
case 'small':
|
|
8269
8273
|
return 'font-size: 12px; padding: 5px 10px;';
|
|
@@ -8274,31 +8278,31 @@ var TextAreaComponent = styled__default.textarea(_templateObject3$9 || (_templat
|
|
|
8274
8278
|
default:
|
|
8275
8279
|
return 'font-size: 14px; padding: 7px 12px;';
|
|
8276
8280
|
}
|
|
8277
|
-
}, function (_ref10) {
|
|
8278
|
-
var $color = _ref10.$color,
|
|
8279
|
-
theme = _ref10.theme;
|
|
8280
|
-
return $color || theme.vms.text.dark;
|
|
8281
8281
|
}, function (_ref11) {
|
|
8282
|
-
var
|
|
8282
|
+
var $color = _ref11.$color,
|
|
8283
|
+
theme = _ref11.theme;
|
|
8284
|
+
return $color || theme.vms.text.dark;
|
|
8285
|
+
}, function (_ref12) {
|
|
8286
|
+
var theme = _ref12.theme;
|
|
8283
8287
|
return theme.vms.text.light;
|
|
8284
8288
|
});
|
|
8285
|
-
var TextArea = function TextArea(
|
|
8286
|
-
var title =
|
|
8287
|
-
titleWeight =
|
|
8288
|
-
placeholder =
|
|
8289
|
-
|
|
8290
|
-
disabled =
|
|
8291
|
-
inputValue =
|
|
8292
|
-
onChange =
|
|
8293
|
-
|
|
8294
|
-
size =
|
|
8295
|
-
color =
|
|
8296
|
-
|
|
8297
|
-
padding =
|
|
8298
|
-
titlecolor =
|
|
8299
|
-
|
|
8300
|
-
required =
|
|
8301
|
-
background =
|
|
8289
|
+
var TextArea = function TextArea(_ref13) {
|
|
8290
|
+
var title = _ref13.title,
|
|
8291
|
+
titleWeight = _ref13.titleWeight,
|
|
8292
|
+
placeholder = _ref13.placeholder,
|
|
8293
|
+
_ref13$disabled = _ref13.disabled,
|
|
8294
|
+
disabled = _ref13$disabled === void 0 ? false : _ref13$disabled,
|
|
8295
|
+
inputValue = _ref13.inputValue,
|
|
8296
|
+
onChange = _ref13.onChange,
|
|
8297
|
+
_ref13$size = _ref13.size,
|
|
8298
|
+
size = _ref13$size === void 0 ? 'medium' : _ref13$size,
|
|
8299
|
+
color = _ref13.color,
|
|
8300
|
+
_ref13$padding = _ref13.padding,
|
|
8301
|
+
padding = _ref13$padding === void 0 ? '0px' : _ref13$padding,
|
|
8302
|
+
titlecolor = _ref13.titlecolor,
|
|
8303
|
+
_ref13$required = _ref13.required,
|
|
8304
|
+
required = _ref13$required === void 0 ? false : _ref13$required,
|
|
8305
|
+
background = _ref13.background;
|
|
8302
8306
|
var themeColors = useTheme();
|
|
8303
8307
|
var _useState = React.useState(disabled),
|
|
8304
8308
|
isDisabled = _useState[0],
|