@thecb/components 5.8.2-beta.8 → 5.8.2-beta.9
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.esm.js
CHANGED
|
@@ -6221,12 +6221,14 @@ var BoxWrapper = styled(function (_ref) {
|
|
|
6221
6221
|
}).withConfig({
|
|
6222
6222
|
displayName: "Boxstyled__BoxWrapper",
|
|
6223
6223
|
componentId: "sc-1f9ij0d-0"
|
|
6224
|
-
})(["position:relative;box-sizing:border-box;padding:", ";border:", ";box-shadow:", ";background-color:", ";min-height:", ";
|
|
6224
|
+
})(["position:relative;box-sizing:border-box;padding:", ";border:", ";box-shadow:", ";background-color:", ";min-height:", ";", " min-width:", ";max-width:", ";color:", ";border-radius:", ";border-width:", ";text-align:", ";&:hover{", "}&:focus{", "}&:active{", "}&:disabled{", "}& *{color:", ";}", " ", ""], function (_ref2) {
|
|
6225
6225
|
var padding = _ref2.padding;
|
|
6226
6226
|
return padding;
|
|
6227
6227
|
}, function (_ref3) {
|
|
6228
|
-
var border = _ref3.border
|
|
6229
|
-
|
|
6228
|
+
var border = _ref3.border,
|
|
6229
|
+
borderSize = _ref3.borderSize,
|
|
6230
|
+
borderColor = _ref3.borderColor;
|
|
6231
|
+
return border ? border : "".concat(borderSize, " solid ").concat(borderColor);
|
|
6230
6232
|
}, function (_ref4) {
|
|
6231
6233
|
var boxShadow = _ref4.boxShadow;
|
|
6232
6234
|
return boxShadow;
|
|
@@ -6238,7 +6240,7 @@ var BoxWrapper = styled(function (_ref) {
|
|
|
6238
6240
|
return minHeight ? minHeight : "auto";
|
|
6239
6241
|
}, function (_ref7) {
|
|
6240
6242
|
var width = _ref7.width;
|
|
6241
|
-
return width;
|
|
6243
|
+
return width && "width: ".concat(width, ";");
|
|
6242
6244
|
}, function (_ref8) {
|
|
6243
6245
|
var minWidth = _ref8.minWidth;
|
|
6244
6246
|
return minWidth ? minWidth : "auto";
|