@justeattakeaway/pie-switch 2.3.11 → 2.3.12
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 +1 -1
- package/dist/react.d.ts +1 -1
- package/package.json +2 -2
- package/src/react.ts +1 -1
package/dist/index.js
CHANGED
package/dist/react.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export declare const labelPlacements: readonly ["leading", "trailing"];
|
|
|
25
25
|
*/
|
|
26
26
|
export declare const ON_SWITCH_CHANGED_EVENT = "change";
|
|
27
27
|
|
|
28
|
-
export declare const PieSwitch: React_2.ForwardRefExoticComponent<React_2.PropsWithoutRef<SwitchProps
|
|
28
|
+
export declare const PieSwitch: React_2.ForwardRefExoticComponent<React_2.PropsWithChildren<Omit<React_2.PropsWithoutRef<SwitchProps>, "children">> & React_2.RefAttributes<PieSwitch_2> & PieSwitchEvents & ReactBaseType>;
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
31
|
* @tagname pie-switch
|
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": "2.3.
|
|
4
|
+
"version": "2.3.12",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/justeattakeaway/pie",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"cem-plugin-module-file-extensions": "0.0.5"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@justeattakeaway/pie-icons-webc": "1.
|
|
54
|
+
"@justeattakeaway/pie-icons-webc": "1.20.0",
|
|
55
55
|
"@justeattakeaway/pie-webc-core": "6.0.1",
|
|
56
56
|
"element-internals-polyfill": "1.3.11"
|
|
57
57
|
},
|
package/src/react.ts
CHANGED
|
@@ -23,5 +23,5 @@ type PieSwitchEvents = {
|
|
|
23
23
|
onChange?: (event: CustomEvent) => void;
|
|
24
24
|
};
|
|
25
25
|
|
|
26
|
-
export const PieSwitch = PieSwitchReact as React.ForwardRefExoticComponent<React.PropsWithoutRef<SwitchProps
|
|
26
|
+
export const PieSwitch = PieSwitchReact as React.ForwardRefExoticComponent<React.PropsWithChildren<Omit<React.PropsWithoutRef<SwitchProps>, 'children'>>
|
|
27
27
|
& React.RefAttributes<PieSwitchLit> & PieSwitchEvents & ReactBaseType>;
|