@janiscommerce/ui-web 0.6.1 → 0.7.0

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/index.umd.js CHANGED
@@ -19401,11 +19401,17 @@
19401
19401
  Chip: styled__default["default"].button.withConfig({
19402
19402
  displayName: "styles__Chip",
19403
19403
  componentId: "sc-1vnh4co-0"
19404
- })(["padding:", ";cursor:", ";font-size:13px;color:", ";height:32px;min-width:36px;max-width:150px;border-radius:50px;display:inline-flex;justify-content:center;align-items:center;pointer-events:", ";white-space:nowrap;.chip-icon{", ";}", " ", ";", " ", " ", " ", ""], function (props) {
19404
+ })(["padding:", ";cursor:", ";font-size:13px;color:", ";height:", ";width:", ";min-width:36px;max-width:150px;border-radius:", ";display:inline-flex;justify-content:center;align-items:center;pointer-events:", ";white-space:nowrap;.chip-icon{", ";}", " ", ";", " ", " ", " ", ""], function (props) {
19405
19405
  return !props.onlyIcon ? '0 12px' : '0';
19406
19406
  }, function (props) {
19407
19407
  return props.clickable ? 'pointer' : 'default';
19408
19408
  }, palette.black.main, function (props) {
19409
+ return !props.onlyIcon ? '32px' : '36px';
19410
+ }, function (props) {
19411
+ return props.onlyIcon && '36px';
19412
+ }, function (props) {
19413
+ return !props.onlyIcon ? '50px' : '50%';
19414
+ }, function (props) {
19409
19415
  return props.clickable || props.hasLink ? 'auto' : 'none';
19410
19416
  }, function (props) {
19411
19417
  return !props.onlyIcon && 'margin-right: 8px';