@justeattakeaway/pie-checkbox 0.15.3 → 0.15.5
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 +4 -4
- package/src/defs-react.ts +2 -1
- package/src/react.ts +1 -1
package/dist/index.js
CHANGED
package/dist/react.d.ts
CHANGED
|
@@ -117,7 +117,7 @@ declare type PieCheckboxEvents = {
|
|
|
117
117
|
onChange?: (event: CustomEvent) => void;
|
|
118
118
|
};
|
|
119
119
|
|
|
120
|
-
declare type ReactBaseType = React_2.InputHTMLAttributes<HTMLInputElement>;
|
|
120
|
+
declare type ReactBaseType = Omit<React_2.InputHTMLAttributes<HTMLInputElement>, 'onChange'>;
|
|
121
121
|
|
|
122
122
|
export declare const statusTypes: readonly ["default", "success", "error"];
|
|
123
123
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@justeattakeaway/pie-checkbox",
|
|
3
3
|
"description": "PIE Design System Checkbox built using Web Components",
|
|
4
|
-
"version": "0.15.
|
|
4
|
+
"version": "0.15.5",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/justeattakeaway/pie",
|
|
@@ -39,13 +39,13 @@
|
|
|
39
39
|
"license": "Apache-2.0",
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@custom-elements-manifest/analyzer": "0.9.0",
|
|
42
|
-
"@justeattakeaway/pie-components-config": "0.20.
|
|
42
|
+
"@justeattakeaway/pie-components-config": "0.20.1",
|
|
43
43
|
"@justeattakeaway/pie-css": "0.16.0",
|
|
44
|
-
"@justeattakeaway/pie-monorepo-utils": "0.5.
|
|
44
|
+
"@justeattakeaway/pie-monorepo-utils": "0.5.1",
|
|
45
45
|
"cem-plugin-module-file-extensions": "0.0.5"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@justeattakeaway/pie-assistive-text": "0.9.
|
|
48
|
+
"@justeattakeaway/pie-assistive-text": "0.9.3",
|
|
49
49
|
"@justeattakeaway/pie-webc-core": "0.25.1"
|
|
50
50
|
},
|
|
51
51
|
"volta": {
|
package/src/defs-react.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// Omit event types to avoid conflicting with PieCheckbox's type definition
|
|
4
|
+
export type ReactBaseType = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'onChange'>
|
package/src/react.ts
CHANGED
|
@@ -15,7 +15,7 @@ const PieCheckboxReact = createComponent({
|
|
|
15
15
|
},
|
|
16
16
|
});
|
|
17
17
|
|
|
18
|
-
type ReactBaseType = React.InputHTMLAttributes<HTMLInputElement>
|
|
18
|
+
type ReactBaseType = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'onChange'>
|
|
19
19
|
|
|
20
20
|
type PieCheckboxEvents = {
|
|
21
21
|
onChange?: (event: CustomEvent) => void;
|