@justeattakeaway/pie-button 1.11.0 → 1.11.1

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.js CHANGED
@@ -478,7 +478,7 @@ const _ = class _ extends It {
478
478
  this.getAttribute("v") || this.setAttribute("v", _.v);
479
479
  }
480
480
  };
481
- _.v = "1.11.0";
481
+ _.v = "1.11.1";
482
482
  let j = _;
483
483
  const Pt = ["button", "a"], Ot = ["xsmall", "small-productive", "small-expressive", "medium", "large"], Qt = ["productive", "expressive"], _t = ["submit", "button", "reset"], $t = [
484
484
  "primary",
package/dist/react.d.ts CHANGED
@@ -123,7 +123,7 @@ export declare const formTargetTypes: readonly ["_self", "_blank", "_parent", "_
123
123
 
124
124
  export declare const iconPlacements: readonly ["leading", "trailing"];
125
125
 
126
- export declare const PieButton: React_2.ForwardRefExoticComponent<React_2.PropsWithoutRef<ButtonProps> & React_2.RefAttributes<PieButton_2> & ReactBaseType>;
126
+ export declare const PieButton: React_2.ForwardRefExoticComponent<React_2.PropsWithChildren<Omit<React_2.PropsWithoutRef<ButtonProps>, "children">> & React_2.RefAttributes<PieButton_2> & ReactBaseType>;
127
127
 
128
128
  /**
129
129
  * @tagname pie-button
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@justeattakeaway/pie-button",
3
- "version": "1.11.0",
3
+ "version": "1.11.1",
4
4
  "description": "PIE design system button built using web components",
5
5
  "repository": {
6
6
  "type": "git",
@@ -59,7 +59,7 @@
59
59
  "dist/*.js"
60
60
  ],
61
61
  "dependencies": {
62
- "@justeattakeaway/pie-spinner": "1.3.7",
62
+ "@justeattakeaway/pie-spinner": "1.4.0",
63
63
  "@justeattakeaway/pie-webc-core": "6.0.1",
64
64
  "element-internals-polyfill": "1.3.11"
65
65
  }
package/src/react.ts CHANGED
@@ -15,5 +15,5 @@ const PieButtonReact = createComponent({
15
15
 
16
16
  type ReactBaseType = React.ButtonHTMLAttributes<HTMLButtonElement>
17
17
 
18
- export const PieButton = PieButtonReact as React.ForwardRefExoticComponent<React.PropsWithoutRef<ButtonProps>
18
+ export const PieButton = PieButtonReact as React.ForwardRefExoticComponent<React.PropsWithChildren<Omit<React.PropsWithoutRef<ButtonProps>, 'children'>>
19
19
  & React.RefAttributes<PieButtonLit> & ReactBaseType>;