@justeattakeaway/pie-switch 0.22.0 → 0.22.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';
@@ -86,9 +87,9 @@ export declare class PieSwitch extends PieSwitch_base implements SwitchProps {
86
87
  render(): TemplateResult<1>;
87
88
  }
88
89
 
89
- declare const PieSwitch_base: (new (...args: any[]) => {
90
+ declare const PieSwitch_base: GenericConstructor<{
90
91
  isRTL: boolean;
91
- }) & typeof LitElement;
92
+ }> & typeof LitElement;
92
93
 
93
94
  export declare interface SwitchProps {
94
95
  /**
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';
@@ -93,9 +94,9 @@ declare class PieSwitch_2 extends PieSwitch_base implements SwitchProps {
93
94
  render(): TemplateResult<1>;
94
95
  }
95
96
 
96
- declare const PieSwitch_base: (new (...args: any[]) => {
97
+ declare const PieSwitch_base: GenericConstructor<{
97
98
  isRTL: boolean;
98
- }) & typeof LitElement;
99
+ }> & typeof LitElement;
99
100
 
100
101
  export declare interface SwitchProps {
101
102
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@justeattakeaway/pie-switch",
3
3
  "description": "PIE Design System Switch built using Web Components",
4
- "version": "0.22.0",
4
+ "version": "0.22.2",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -31,8 +31,8 @@
31
31
  "@justeattakeaway/pie-components-config": "0.7.0"
32
32
  },
33
33
  "dependencies": {
34
- "@justeattakeaway/pie-icons-webc": "0.16.0",
35
- "@justeattakeaway/pie-webc-core": "0.13.0",
34
+ "@justeattakeaway/pie-icons-webc": "0.16.2",
35
+ "@justeattakeaway/pie-webc-core": "0.15.0",
36
36
  "element-internals-polyfill": "1.3.9"
37
37
  },
38
38
  "volta": {