tabler-react-2 0.1.107 → 0.1.109
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/input/dropdown.js
CHANGED
|
@@ -160,10 +160,8 @@ var DropdownInput = exports.DropdownInput = function DropdownInput(_ref) {
|
|
|
160
160
|
|
|
161
161
|
// If a label is provided, wrap the dropdown with the label inside a container.
|
|
162
162
|
return label && showLabel ? /*#__PURE__*/_react["default"].createElement(_index.Util.Col, null, /*#__PURE__*/_react["default"].createElement("label", {
|
|
163
|
-
className: "form-label"
|
|
164
|
-
}, label,
|
|
165
|
-
className: "form-label-required"
|
|
166
|
-
}, "*")), dropdownContent) : dropdownContent;
|
|
163
|
+
className: "form-label ".concat(required ? "required" : "")
|
|
164
|
+
}, label), dropdownContent) : dropdownContent;
|
|
167
165
|
};
|
|
168
166
|
DropdownInput.propTypes = {
|
|
169
167
|
prompt: _propTypes["default"].string.isRequired,
|
package/dist/offcanvas/index.js
CHANGED
|
@@ -48,7 +48,7 @@ var Offcanvas = exports.Offcanvas = /*#__PURE__*/_react["default"].memo(function
|
|
|
48
48
|
var base = {
|
|
49
49
|
position: "fixed",
|
|
50
50
|
backgroundColor: "#fff",
|
|
51
|
-
boxShadow: "0 0.5rem 1rem rgba(0,0,0,0.15)",
|
|
51
|
+
boxShadow: show ? "0 0.5rem 1rem rgba(0,0,0,0.15)" : "none",
|
|
52
52
|
transition: "transform 0.3s ease-out",
|
|
53
53
|
zIndex: 1000,
|
|
54
54
|
padding: 20,
|