@janiscommerce/ui-web 0.35.0 → 0.37.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/dist/index.umd.js CHANGED
@@ -5651,9 +5651,9 @@
5651
5651
  Svg: styled__default["default"].svg.withConfig({
5652
5652
  displayName: "styles__Svg",
5653
5653
  componentId: "sc-jf3e5i-0"
5654
- })(["fill:", ";", " ", ";"], function (props) {
5654
+ })(["fill:", ";", " ", ";", ";"], function (props) {
5655
5655
  return getColor(props.color);
5656
- }, mediaBreaks.onlyPrint(_templateObject$4 || (_templateObject$4 = _taggedTemplateLiteral(["\n\t\t\tfill: ", ";\n\t\t"])), palette.darkGrey), function (props) {
5656
+ }, mediaBreaks.onlyPrint(_templateObject$4 || (_templateObject$4 = _taggedTemplateLiteral(["\n\t\t\tfill: ", ";\n\t\t"])), palette.darkGrey), mixins.transition('fill'), function (props) {
5657
5657
  return props.styles;
5658
5658
  }),
5659
5659
  Path: styled__default["default"].path.withConfig({
@@ -7179,19 +7179,17 @@
7179
7179
  }, function (props) {
7180
7180
  return props.textColor && "color: ".concat(getColor(props.textColor), ";");
7181
7181
  }, mediaBreaks.onlyPrint(_templateObject$3 || (_templateObject$3 = _taggedTemplateLiteral(["\n\t\t\tborder: 1px solid ", ";\n\t\t"])), palette.darkGrey)),
7182
- iconPathStyles: styled$g.css(["", ";"], mixins.transition('fill')),
7183
7182
  DeleteButton: styled__default["default"].button.withConfig({
7184
7183
  displayName: "styles__DeleteButton",
7185
7184
  componentId: "sc-1vnh4co-1"
7186
7185
  })(["width:16px;height:16px;margin-left:12px;"]),
7187
- deleteButtonPathStyles: styled$g.css(["", ";"], mixins.transition('fill')),
7188
7186
  Children: styled__default["default"].div.withConfig({
7189
7187
  displayName: "styles__Children",
7190
7188
  componentId: "sc-1vnh4co-2"
7191
7189
  })(["text-overflow:ellipsis;overflow:hidden;"])
7192
7190
  };
7193
7191
 
7194
- var _excluded$9 = ["backgroundColor", "borderColor", "children", "disabled", "icon", "iconColor", "onClick", "onDelete", "selected", "textColor", "variant", "hasLink"];
7192
+ var _excluded$9 = ["backgroundColor", "borderColor", "children", "disabled", "icon", "iconColor", "iconSize", "onClick", "onDelete", "selected", "textColor", "variant", "hasLink"];
7195
7193
 
7196
7194
  var Chip = function Chip(_ref) {
7197
7195
  var backgroundColor = _ref.backgroundColor,
@@ -7200,6 +7198,7 @@
7200
7198
  disabled = _ref.disabled,
7201
7199
  icon = _ref.icon,
7202
7200
  iconColor = _ref.iconColor,
7201
+ iconSize = _ref.iconSize,
7203
7202
  onClick = _ref.onClick,
7204
7203
  onDelete = _ref.onDelete,
7205
7204
  selected = _ref.selected,
@@ -7220,20 +7219,18 @@
7220
7219
  selected: selected,
7221
7220
  textColor: textColor,
7222
7221
  variant: variant,
7223
- iconColor: iconColor,
7224
7222
  hasLink: hasLink,
7225
7223
  onlyIcon: !children && icon
7226
7224
  }, props), icon && /*#__PURE__*/React__default["default"].createElement(Icon, {
7227
7225
  className: "chip-icon",
7228
7226
  name: icon,
7229
7227
  color: iconColor,
7230
- pathStyles: styled$d.iconPathStyles
7228
+ size: iconSize
7231
7229
  }), children && /*#__PURE__*/React__default["default"].createElement(styled$d.Children, null, children), onDelete && /*#__PURE__*/React__default["default"].createElement(styled$d.DeleteButton, {
7232
7230
  type: "button",
7233
7231
  onClick: onDelete
7234
7232
  }, /*#__PURE__*/React__default["default"].createElement(Icon, {
7235
7233
  color: "black",
7236
- pathStyles: styled$d.deleteButtonPathStyles,
7237
7234
  className: "delete-button",
7238
7235
  name: "cross_circle_flat",
7239
7236
  size: 16