@asantemedia-org/leybold-design-system 1.0.5 → 1.0.7

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
@@ -11,7 +11,7 @@ function _extends() {
11
11
  }, _extends.apply(null, arguments);
12
12
  }
13
13
 
14
- var styles$f = {"button":"Button-module__button___18Bed","button--primary":"Button-module__button--primary___VuF-P","button--disabled":"Button-module__button--disabled___IuOY8","button--secondary":"Button-module__button--secondary___lD5E3","button--outline":"Button-module__button--outline___wB6-g","button--text":"Button-module__button--text___iZIMo","button--small":"Button-module__button--small___ADJQe","button--medium":"Button-module__button--medium___ZuR4Z","button--large":"Button-module__button--large___-FaV5"};
14
+ var styles$f = {"button":"Button-module__button___18Bed","button--primary":"Button-module__button--primary___VuF-P","button--disabled":"Button-module__button--disabled___IuOY8","button--secondary":"Button-module__button--secondary___lD5E3","button--outline":"Button-module__button--outline___wB6-g","button--text":"Button-module__button--text___iZIMo","button--extra-small":"Button-module__button--extra-small___R0QTM","button--small":"Button-module__button--small___ADJQe","button--medium":"Button-module__button--medium___ZuR4Z","button--large":"Button-module__button--large___-FaV5"};
15
15
 
16
16
  function getDefaultExportFromCjs (x) {
17
17
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
@@ -93,16 +93,16 @@ var classNames = /*@__PURE__*/getDefaultExportFromCjs(classnamesExports);
93
93
  */
94
94
  const Button = ({
95
95
  children,
96
- variant = 'primary',
97
- size = 'medium',
96
+ variant = "primary",
97
+ size = "medium",
98
98
  disabled = false,
99
99
  onClick,
100
- type = 'button',
100
+ type = "button",
101
101
  className,
102
102
  ...props
103
103
  }) => {
104
104
  const buttonClasses = classNames(styles$f.button, styles$f[`button--${variant}`], styles$f[`button--${size}`], {
105
- [styles$f['button--disabled']]: disabled
105
+ [styles$f["button--disabled"]]: disabled
106
106
  }, className);
107
107
  return /*#__PURE__*/React.createElement("button", _extends({
108
108
  type: type,
@@ -482,7 +482,7 @@ const ProductCardHorizontal = ({
482
482
  }, price || " "), button && /*#__PURE__*/React.createElement(Button, {
483
483
  className: styles$d.productButton,
484
484
  onClick: button.onClick,
485
- size: "small"
485
+ size: "extra-small"
486
486
  }, button.label))));
487
487
  };
488
488
 
@@ -648,7 +648,8 @@ const QrFormButtonAdapter = ({
648
648
  }
649
649
  }, /*#__PURE__*/React.createElement(Button, {
650
650
  variant: variant,
651
- type: type
651
+ type: type,
652
+ size: "small"
652
653
  }, label));
653
654
  }
654
655
 
@@ -658,7 +659,8 @@ const QrFormButtonAdapter = ({
658
659
  type: type,
659
660
  onClick: onClick ? e => onClick(e) : undefined,
660
661
  className: className,
661
- "data-page_target": pageTarget
662
+ "data-page_target": pageTarget,
663
+ size: "small"
662
664
  }, label);
663
665
  };
664
666
  const QrFormLeybold = props => {