@justeattakeaway/pie-modal 1.24.0 → 1.24.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
@@ -14,7 +14,7 @@ const S = class S extends T {
14
14
  this.getAttribute("v") || this.setAttribute("v", S.v);
15
15
  }
16
16
  };
17
- S.v = "1.24.0";
17
+ S.v = "1.24.1";
18
18
  let C = S;
19
19
  function j(a) {
20
20
  if (Array.isArray(a)) {
package/dist/react.d.ts CHANGED
@@ -160,7 +160,7 @@ export declare const ON_MODAL_OPEN_EVENT = "pie-modal-open";
160
160
  */
161
161
  export declare const ON_MODAL_SUPPORTING_ACTION_CLICK = "pie-modal-supporting-action-click";
162
162
 
163
- export declare const PieModal: React_2.ForwardRefExoticComponent<React_2.PropsWithoutRef<ModalProps> & React_2.RefAttributes<PieModal_2> & PieModalEvents & ReactBaseType>;
163
+ export declare const PieModal: React_2.ForwardRefExoticComponent<React_2.PropsWithChildren<Omit<React_2.PropsWithoutRef<ModalProps>, "children">> & React_2.RefAttributes<PieModal_2> & PieModalEvents & ReactBaseType>;
164
164
 
165
165
  /**
166
166
  * @tagname pie-modal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@justeattakeaway/pie-modal",
3
- "version": "1.24.0",
3
+ "version": "1.24.1",
4
4
  "description": "PIE design system modal built using web components",
5
5
  "repository": {
6
6
  "type": "git",
@@ -48,7 +48,7 @@
48
48
  "devDependencies": {
49
49
  "@custom-elements-manifest/analyzer": "0.9.0",
50
50
  "@justeat/pie-design-tokens": "7.10.2",
51
- "@justeattakeaway/pie-button": "1.11.0",
51
+ "@justeattakeaway/pie-button": "1.11.1",
52
52
  "@justeattakeaway/pie-components-config": "0.21.0",
53
53
  "@justeattakeaway/pie-css": "0.26.1",
54
54
  "@justeattakeaway/pie-monorepo-utils": "0.7.0",
@@ -61,10 +61,10 @@
61
61
  "extends": "../../../package.json"
62
62
  },
63
63
  "dependencies": {
64
- "@justeattakeaway/pie-button": "1.11.0",
65
- "@justeattakeaway/pie-icon-button": "2.5.1",
64
+ "@justeattakeaway/pie-button": "1.11.1",
65
+ "@justeattakeaway/pie-icon-button": "2.6.0",
66
66
  "@justeattakeaway/pie-icons-webc": "1.19.0",
67
- "@justeattakeaway/pie-spinner": "1.3.7",
67
+ "@justeattakeaway/pie-spinner": "1.4.0",
68
68
  "@justeattakeaway/pie-webc-core": "6.0.1",
69
69
  "body-scroll-lock": "3.1.5",
70
70
  "dialog-polyfill": "0.5.6"
package/src/react.ts CHANGED
@@ -29,5 +29,5 @@ type PieModalEvents = {
29
29
  onPieModalSupportingActionClick?: (event: CustomEvent) => void;
30
30
  };
31
31
 
32
- export const PieModal = PieModalReact as React.ForwardRefExoticComponent<React.PropsWithoutRef<ModalProps>
32
+ export const PieModal = PieModalReact as React.ForwardRefExoticComponent<React.PropsWithChildren<Omit<React.PropsWithoutRef<ModalProps>, 'children'>>
33
33
  & React.RefAttributes<PieModalLit> & PieModalEvents & ReactBaseType>;