@justeattakeaway/pie-modal 0.36.0 → 0.36.2

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.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import type { CSSResult } from 'lit';
2
+ import type { GenericConstructor } from '@justeattakeaway/pie-webc-core';
2
3
  import type { LitElement } from 'lit';
3
4
  import type { PropertyValues } from 'lit';
4
5
  import type { TemplateResult } from 'lit';
@@ -251,9 +252,9 @@ export declare class PieModal extends PieModal_base implements ModalProps {
251
252
  private _dispatchModalCustomEvent;
252
253
  }
253
254
 
254
- declare const PieModal_base: (new (...args: any[]) => {
255
+ declare const PieModal_base: GenericConstructor<{
255
256
  isRTL: boolean;
256
- }) & typeof LitElement;
257
+ }> & typeof LitElement;
257
258
 
258
259
  export declare const positions: readonly ["top", "center"];
259
260
 
package/dist/react.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import type { CSSResult } from 'lit';
2
2
  import type { EventName } from '@lit/react';
3
+ import type { GenericConstructor } from '@justeattakeaway/pie-webc-core';
3
4
  import type { LitElement } from 'lit';
4
5
  import type { PropertyValues } from 'lit';
5
6
  import type { ReactWebComponent } from '@lit/react';
@@ -257,9 +258,9 @@ declare class PieModal_2 extends PieModal_base implements ModalProps {
257
258
  private _dispatchModalCustomEvent;
258
259
  }
259
260
 
260
- declare const PieModal_base: (new (...args: any[]) => {
261
+ declare const PieModal_base: GenericConstructor<{
261
262
  isRTL: boolean;
262
- }) & typeof LitElement;
263
+ }> & typeof LitElement;
263
264
 
264
265
  export declare const positions: readonly ["top", "center"];
265
266
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@justeattakeaway/pie-modal",
3
- "version": "0.36.0",
3
+ "version": "0.36.2",
4
4
  "description": "PIE design system modal built using web components",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -36,11 +36,11 @@
36
36
  "extends": "../../../package.json"
37
37
  },
38
38
  "dependencies": {
39
- "@justeattakeaway/pie-button": "0.42.0",
40
- "@justeattakeaway/pie-icon-button": "0.25.0",
41
- "@justeattakeaway/pie-icons-webc": "0.16.0",
42
- "@justeattakeaway/pie-spinner": "0.3.1",
43
- "@justeattakeaway/pie-webc-core": "0.13.0",
39
+ "@justeattakeaway/pie-button": "0.43.0",
40
+ "@justeattakeaway/pie-icon-button": "0.25.2",
41
+ "@justeattakeaway/pie-icons-webc": "0.16.2",
42
+ "@justeattakeaway/pie-spinner": "0.3.3",
43
+ "@justeattakeaway/pie-webc-core": "0.15.0",
44
44
  "body-scroll-lock": "3.1.5",
45
45
  "dialog-polyfill": "0.5.6"
46
46
  },