pebble-web 2.12.0 → 2.14.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.
@@ -12,7 +12,7 @@ export interface ButtonProps {
12
12
  className?: string;
13
13
  showRipple?: boolean;
14
14
  loading?: boolean;
15
- filled?: boolean;
15
+ outline?: boolean;
16
16
  buttonProps?: React.ButtonHTMLAttributes<HTMLButtonElement>;
17
17
  }
18
18
  export interface DropDownButtonProps extends ButtonProps {
@@ -488,13 +488,13 @@ var Button = function Button(_ref) {
488
488
  _ref$showRipple = _ref.showRipple,
489
489
  showRipple = _ref$showRipple === void 0 ? true : _ref$showRipple,
490
490
  loading = _ref.loading,
491
- filled = _ref.filled,
491
+ outline = _ref.outline,
492
492
  _ref$size = _ref.size,
493
493
  size = _ref$size === void 0 ? "small" : _ref$size,
494
494
  buttonProps = _ref.buttonProps;
495
495
  var disableAction = disabled || loading;
496
- var _filled = size !== "x-small" && filled !== false;
497
- var _className = emotion.cx(getButtonStyle(size, type, !!showShadow, _filled), className);
496
+ var _outline = size === "x-small" || !!outline;
497
+ var _className = emotion.cx(getButtonStyle(size, type, !!showShadow, !_outline), className);
498
498
  return /*#__PURE__*/React.createElement("button", Object.assign({
499
499
  className: _className,
500
500
  onClick: !disableAction ? onClick : undefined,