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.modern.js
CHANGED
|
@@ -7768,7 +7768,8 @@ var SelectOption = function SelectOption(_ref36) {
|
|
|
7768
7768
|
icon: icon.name,
|
|
7769
7769
|
size: icon.size || 14,
|
|
7770
7770
|
weight: icon.weight || '1px',
|
|
7771
|
-
color: icon.color || themeColors.vms.text.medium
|
|
7771
|
+
color: icon.color || themeColors.vms.text.medium,
|
|
7772
|
+
cursor: 'pointer'
|
|
7772
7773
|
}), label ? React.createElement(LabelText$1, {
|
|
7773
7774
|
"$color": color,
|
|
7774
7775
|
"$disabled": disabled,
|
|
@@ -8244,7 +8245,7 @@ var Label$1 = styled.label(_templateObject2$d || (_templateObject2$d = _taggedTe
|
|
|
8244
8245
|
theme = _ref4.theme;
|
|
8245
8246
|
return $titlecolor || theme.vms.text.dark;
|
|
8246
8247
|
});
|
|
8247
|
-
var TextAreaComponent = styled.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) {
|
|
8248
|
+
var TextAreaComponent = styled.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) {
|
|
8248
8249
|
var theme = _ref5.theme;
|
|
8249
8250
|
return "1px solid " + theme.vms.border.light;
|
|
8250
8251
|
}, function (_ref6) {
|
|
@@ -8259,7 +8260,10 @@ var TextAreaComponent = styled.textarea(_templateObject3$9 || (_templateObject3$
|
|
|
8259
8260
|
var $color = _ref8.$color;
|
|
8260
8261
|
return $color;
|
|
8261
8262
|
}, function (_ref9) {
|
|
8262
|
-
var $
|
|
8263
|
+
var $disabled = _ref9.$disabled;
|
|
8264
|
+
return $disabled ? 'none' : 'auto';
|
|
8265
|
+
}, function (_ref10) {
|
|
8266
|
+
var $size = _ref10.$size;
|
|
8263
8267
|
switch ($size) {
|
|
8264
8268
|
case 'small':
|
|
8265
8269
|
return 'font-size: 12px; padding: 5px 10px;';
|
|
@@ -8270,31 +8274,31 @@ var TextAreaComponent = styled.textarea(_templateObject3$9 || (_templateObject3$
|
|
|
8270
8274
|
default:
|
|
8271
8275
|
return 'font-size: 14px; padding: 7px 12px;';
|
|
8272
8276
|
}
|
|
8273
|
-
}, function (_ref10) {
|
|
8274
|
-
var $color = _ref10.$color,
|
|
8275
|
-
theme = _ref10.theme;
|
|
8276
|
-
return $color || theme.vms.text.dark;
|
|
8277
8277
|
}, function (_ref11) {
|
|
8278
|
-
var
|
|
8278
|
+
var $color = _ref11.$color,
|
|
8279
|
+
theme = _ref11.theme;
|
|
8280
|
+
return $color || theme.vms.text.dark;
|
|
8281
|
+
}, function (_ref12) {
|
|
8282
|
+
var theme = _ref12.theme;
|
|
8279
8283
|
return theme.vms.text.light;
|
|
8280
8284
|
});
|
|
8281
|
-
var TextArea = function TextArea(
|
|
8282
|
-
var title =
|
|
8283
|
-
titleWeight =
|
|
8284
|
-
placeholder =
|
|
8285
|
-
|
|
8286
|
-
disabled =
|
|
8287
|
-
inputValue =
|
|
8288
|
-
onChange =
|
|
8289
|
-
|
|
8290
|
-
size =
|
|
8291
|
-
color =
|
|
8292
|
-
|
|
8293
|
-
padding =
|
|
8294
|
-
titlecolor =
|
|
8295
|
-
|
|
8296
|
-
required =
|
|
8297
|
-
background =
|
|
8285
|
+
var TextArea = function TextArea(_ref13) {
|
|
8286
|
+
var title = _ref13.title,
|
|
8287
|
+
titleWeight = _ref13.titleWeight,
|
|
8288
|
+
placeholder = _ref13.placeholder,
|
|
8289
|
+
_ref13$disabled = _ref13.disabled,
|
|
8290
|
+
disabled = _ref13$disabled === void 0 ? false : _ref13$disabled,
|
|
8291
|
+
inputValue = _ref13.inputValue,
|
|
8292
|
+
onChange = _ref13.onChange,
|
|
8293
|
+
_ref13$size = _ref13.size,
|
|
8294
|
+
size = _ref13$size === void 0 ? 'medium' : _ref13$size,
|
|
8295
|
+
color = _ref13.color,
|
|
8296
|
+
_ref13$padding = _ref13.padding,
|
|
8297
|
+
padding = _ref13$padding === void 0 ? '0px' : _ref13$padding,
|
|
8298
|
+
titlecolor = _ref13.titlecolor,
|
|
8299
|
+
_ref13$required = _ref13.required,
|
|
8300
|
+
required = _ref13$required === void 0 ? false : _ref13$required,
|
|
8301
|
+
background = _ref13.background;
|
|
8298
8302
|
var themeColors = useTheme();
|
|
8299
8303
|
var _useState = useState(disabled),
|
|
8300
8304
|
isDisabled = _useState[0],
|