@justeattakeaway/pie-switch 0.30.0 → 0.30.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 +7 -7
- package/package.json +3 -3
package/custom-elements.json
CHANGED
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"type": {
|
|
36
36
|
"text": "DefaultProps"
|
|
37
37
|
},
|
|
38
|
-
"default": "{\
|
|
38
|
+
"default": "{\n checked: false,\n disabled: false,\n labelPlacement: 'leading',\n required: false,\n value: 'on',\n}"
|
|
39
39
|
}
|
|
40
40
|
],
|
|
41
41
|
"exports": [
|
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
"text": ""
|
|
186
186
|
}
|
|
187
187
|
},
|
|
188
|
-
"description": "Returns a boolean value which indicates validity of the value of the component. If the value is invalid, this method also fires the invalid event on the component.\
|
|
188
|
+
"description": "Returns a boolean value which indicates validity of the value of the component. If the value is invalid, this method also fires the invalid event on the component.\nhttps://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checkValidity"
|
|
189
189
|
},
|
|
190
190
|
{
|
|
191
191
|
"kind": "method",
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
"text": ""
|
|
197
197
|
}
|
|
198
198
|
},
|
|
199
|
-
"description": "If the value is invalid, this method also fires the invalid event on the element, and (if the event isn't canceled) reports the problem to the user.\
|
|
199
|
+
"description": "If the value is invalid, this method also fires the invalid event on the element, and (if the event isn't canceled) reports the problem to the user.\nhttps://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/reportValidity"
|
|
200
200
|
},
|
|
201
201
|
{
|
|
202
202
|
"kind": "method",
|
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
217
|
],
|
|
218
|
-
"description": "Allows a consumer to set a custom validation message on the switch. An empty string counts as valid.\
|
|
218
|
+
"description": "Allows a consumer to set a custom validation message on the switch. An empty string counts as valid.\nhttps://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setCustomValidity"
|
|
219
219
|
},
|
|
220
220
|
{
|
|
221
221
|
"kind": "field",
|
|
@@ -224,7 +224,7 @@
|
|
|
224
224
|
"text": "ValidityState"
|
|
225
225
|
},
|
|
226
226
|
"privacy": "public",
|
|
227
|
-
"description": "(Read-only) returns a ValidityState with the validity states that this element is in.\
|
|
227
|
+
"description": "(Read-only) returns a ValidityState with the validity states that this element is in.\nhttps://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/validity",
|
|
228
228
|
"readonly": true
|
|
229
229
|
},
|
|
230
230
|
{
|
|
@@ -234,7 +234,7 @@
|
|
|
234
234
|
"text": "string"
|
|
235
235
|
},
|
|
236
236
|
"privacy": "public",
|
|
237
|
-
"description": "(Read-only) Returns a string representing a localized message that describes the validation constraints that the control does not satisfy (if any).\
|
|
237
|
+
"description": "(Read-only) Returns a string representing a localized message that describes the validation constraints that the control does not satisfy (if any).\nThis string is empty if the component is valid.\nhttps://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/validationMessage",
|
|
238
238
|
"readonly": true
|
|
239
239
|
},
|
|
240
240
|
{
|
|
@@ -249,7 +249,7 @@
|
|
|
249
249
|
}
|
|
250
250
|
}
|
|
251
251
|
],
|
|
252
|
-
"description": "If a label is provided, renders it if `labelPlacement` matches the given position.\
|
|
252
|
+
"description": "If a label is provided, renders it if `labelPlacement` matches the given position.\nIf no label is provided, or `labelPlacement` does not match the given position, nothing is rendered."
|
|
253
253
|
},
|
|
254
254
|
{
|
|
255
255
|
"kind": "method",
|
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.30.
|
|
4
|
+
"version": "0.30.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -36,12 +36,12 @@
|
|
|
36
36
|
"license": "Apache-2.0",
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@custom-elements-manifest/analyzer": "0.9.0",
|
|
39
|
-
"@justeattakeaway/pie-components-config": "0.
|
|
39
|
+
"@justeattakeaway/pie-components-config": "0.18.0",
|
|
40
40
|
"@justeattakeaway/pie-css": "0.12.1",
|
|
41
41
|
"cem-plugin-module-file-extensions": "0.0.5"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@justeattakeaway/pie-icons-webc": "0.25.
|
|
44
|
+
"@justeattakeaway/pie-icons-webc": "0.25.1",
|
|
45
45
|
"@justeattakeaway/pie-webc-core": "0.24.0",
|
|
46
46
|
"@justeattakeaway/pie-wrapper-react": "0.14.1",
|
|
47
47
|
"element-internals-polyfill": "1.3.11"
|