@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.cjs.js CHANGED
@@ -6229,12 +6229,14 @@ var BoxWrapper = styled__default(function (_ref) {
6229
6229
  }).withConfig({
6230
6230
  displayName: "Boxstyled__BoxWrapper",
6231
6231
  componentId: "sc-1f9ij0d-0"
6232
- })(["position:relative;box-sizing:border-box;padding:", ";border:", ";box-shadow:", ";background-color:", ";min-height:", ";width:", " min-width:", ";max-width:", ";color:", ";border-radius:", ";border-width:", ";text-align:", ";&:hover{", "}&:focus{", "}&:active{", "}&:disabled{", "}& *{color:", ";}", " ", ""], function (_ref2) {
6232
+ })(["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) {
6233
6233
  var padding = _ref2.padding;
6234
6234
  return padding;
6235
6235
  }, function (_ref3) {
6236
- var border = _ref3.border;
6237
- return border;
6236
+ var border = _ref3.border,
6237
+ borderSize = _ref3.borderSize,
6238
+ borderColor = _ref3.borderColor;
6239
+ return border ? border : "".concat(borderSize, " solid ").concat(borderColor);
6238
6240
  }, function (_ref4) {
6239
6241
  var boxShadow = _ref4.boxShadow;
6240
6242
  return boxShadow;
@@ -6246,7 +6248,7 @@ var BoxWrapper = styled__default(function (_ref) {
6246
6248
  return minHeight ? minHeight : "auto";
6247
6249
  }, function (_ref7) {
6248
6250
  var width = _ref7.width;
6249
- return width;
6251
+ return width && "width: ".concat(width, ";");
6250
6252
  }, function (_ref8) {
6251
6253
  var minWidth = _ref8.minWidth;
6252
6254
  return minWidth ? minWidth : "auto";