@justeattakeaway/pie-switch 0.23.0 → 0.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/custom-elements.json +6 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +534 -537
- package/dist/react.d.ts +11 -8
- package/dist/react.js +6 -6
- package/package.json +6 -6
- package/src/defs-react.ts +3 -0
- package/src/defs.ts +2 -2
- package/src/index.ts +3 -9
- package/src/react.ts +14 -4
package/custom-elements.json
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -100,7 +100,7 @@ export declare interface SwitchProps {
|
|
|
100
100
|
/**
|
|
101
101
|
* Same as the HTML required attribute - indicates whether the switch must be turned or not
|
|
102
102
|
*/
|
|
103
|
-
required
|
|
103
|
+
required?: boolean;
|
|
104
104
|
/**
|
|
105
105
|
* Same as the HTML disabled attribute - indicates whether the switch is disabled or not
|
|
106
106
|
*/
|
|
@@ -120,7 +120,7 @@ export declare interface SwitchProps {
|
|
|
120
120
|
/**
|
|
121
121
|
* Same as the HTML value attribute - indicates the value of the switch (for use with forms). Defaults to 'on'.
|
|
122
122
|
*/
|
|
123
|
-
value
|
|
123
|
+
value?: string;
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
export { }
|