labsense-ui-kit 1.3.5 → 1.3.7
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.modern.js
CHANGED
|
@@ -8355,6 +8355,7 @@ var TextField = function TextField(_ref14) {
|
|
|
8355
8355
|
var _ref14$type = _ref14.type,
|
|
8356
8356
|
type = _ref14$type === void 0 ? 'text' : _ref14$type,
|
|
8357
8357
|
title = _ref14.title,
|
|
8358
|
+
name = _ref14.name,
|
|
8358
8359
|
titleWeight = _ref14.titleWeight,
|
|
8359
8360
|
placeholder = _ref14.placeholder,
|
|
8360
8361
|
_ref14$disabled = _ref14.disabled,
|
|
@@ -8412,8 +8413,8 @@ var TextField = function TextField(_ref14) {
|
|
|
8412
8413
|
}, title, required && React.createElement(Asterisk$1, null, "*")), titleRightNode === null || titleRightNode === void 0 ? void 0 : titleRightNode.node), React.createElement(InputWrapper$1, null, React.createElement(Input, {
|
|
8413
8414
|
type: inputType || 'text',
|
|
8414
8415
|
"$type": type,
|
|
8415
|
-
name: title,
|
|
8416
|
-
id: title,
|
|
8416
|
+
name: name || title,
|
|
8417
|
+
id: name || title,
|
|
8417
8418
|
value: inputValue,
|
|
8418
8419
|
placeholder: placeholder,
|
|
8419
8420
|
"$disabled": isDisabled,
|
|
@@ -8511,6 +8512,7 @@ var TextAreaComponent = styled.textarea(_templateObject3$9 || (_templateObject3$
|
|
|
8511
8512
|
});
|
|
8512
8513
|
var TextArea = function TextArea(_ref13) {
|
|
8513
8514
|
var title = _ref13.title,
|
|
8515
|
+
name = _ref13.name,
|
|
8514
8516
|
titleWeight = _ref13.titleWeight,
|
|
8515
8517
|
placeholder = _ref13.placeholder,
|
|
8516
8518
|
_ref13$disabled = _ref13.disabled,
|
|
@@ -8541,8 +8543,8 @@ var TextArea = function TextArea(_ref13) {
|
|
|
8541
8543
|
htmlFor: title,
|
|
8542
8544
|
"$titlecolor": titlecolor || themeColors.vms.text.dark
|
|
8543
8545
|
}, title, required && React.createElement(Asterisk$1, null, "*")), React.createElement(TextAreaComponent, {
|
|
8544
|
-
name: title,
|
|
8545
|
-
id: title,
|
|
8546
|
+
name: name || title,
|
|
8547
|
+
id: name || title,
|
|
8546
8548
|
value: inputValue,
|
|
8547
8549
|
placeholder: placeholder,
|
|
8548
8550
|
"$disabled": isDisabled,
|
|
@@ -9348,7 +9350,10 @@ var Sidebar = function Sidebar(_ref17) {
|
|
|
9348
9350
|
if (!container) {
|
|
9349
9351
|
container = document.createElement('div');
|
|
9350
9352
|
container.id = 'badge-portal-container';
|
|
9353
|
+
container.style.pointerEvents = 'none';
|
|
9351
9354
|
document.body.appendChild(container);
|
|
9355
|
+
} else {
|
|
9356
|
+
container.style.pointerEvents = 'none';
|
|
9352
9357
|
}
|
|
9353
9358
|
return container;
|
|
9354
9359
|
}),
|