colibri-ui 0.7.31 → 0.7.33

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/Button/index.js CHANGED
@@ -11,15 +11,17 @@ var Button = /*#__PURE__*/React.forwardRef(function (_a, ref) {
11
11
  var className = _a.className,
12
12
  _b = _a.fullWidth,
13
13
  fullWidth = _b === void 0 ? false : _b,
14
- _c = _a.variant,
15
- variant = _c === void 0 ? "primary" : _c,
14
+ _c = _a.scale,
15
+ scale = _c === void 0 ? false : _c,
16
+ _d = _a.variant,
17
+ variant = _d === void 0 ? "primary" : _d,
16
18
  iconStart = _a.iconStart,
17
19
  iconEnd = _a.iconEnd,
18
20
  icon = _a.icon,
19
21
  size = _a.size,
20
22
  children = _a.children,
21
23
  onClick = _a.onClick,
22
- props = tslib.__rest(_a, ["className", "fullWidth", "variant", "iconStart", "iconEnd", "icon", "size", "children", "onClick"]);
24
+ props = tslib.__rest(_a, ["className", "fullWidth", "scale", "variant", "iconStart", "iconEnd", "icon", "size", "children", "onClick"]);
23
25
  return jsxRuntime.jsxs(styles.StyledButton, tslib.__assign({
24
26
  onClick: onClick,
25
27
  ref: ref,
@@ -28,6 +30,7 @@ var Button = /*#__PURE__*/React.forwardRef(function (_a, ref) {
28
30
  variant: variant,
29
31
  icon: icon,
30
32
  fullWidth: fullWidth,
33
+ scale: scale,
31
34
  "data-cy": "button"
32
35
  }, props, {
33
36
  children: [icon && jsxRuntime.jsx(styles.StyledIcon, {
@@ -38,5 +38,6 @@ export interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
38
38
  iconStart?: ReactNode;
39
39
  iconEnd?: ReactNode;
40
40
  size?: ButtonSize;
41
+ scale?: boolean;
41
42
  }
42
43
  export {};
@@ -5,6 +5,7 @@ export declare const StyledButton: import("@emotion/styled").StyledComponent<{
5
5
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
6
6
  } & {
7
7
  fullWidth?: boolean | undefined;
8
+ scale?: boolean | undefined;
8
9
  variant: keyof ButtonVariant;
9
10
  icon?: ReactNode;
10
11
  size?: ButtonSize | undefined;