@justeattakeaway/pie-switch 2.3.29 → 2.3.31
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 +65 -10
- package/dist/index.js +1 -1
- package/package.json +3 -3
- package/src/react.ts +0 -0
package/custom-elements.json
CHANGED
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"type": {
|
|
36
36
|
"text": "DefaultProps"
|
|
37
37
|
},
|
|
38
|
-
"default": "{
|
|
38
|
+
"default": "{ checked: false, disabled: false, labelPlacement: 'leading', required: false, value: 'on', }"
|
|
39
39
|
}
|
|
40
40
|
],
|
|
41
41
|
"exports": [
|
|
@@ -80,12 +80,14 @@
|
|
|
80
80
|
"type": {
|
|
81
81
|
"text": "SwitchProps['label']"
|
|
82
82
|
},
|
|
83
|
-
"privacy": "public"
|
|
83
|
+
"privacy": "public",
|
|
84
|
+
"attribute": "label"
|
|
84
85
|
},
|
|
85
86
|
{
|
|
86
87
|
"kind": "field",
|
|
87
88
|
"name": "labelPlacement",
|
|
88
|
-
"privacy": "public"
|
|
89
|
+
"privacy": "public",
|
|
90
|
+
"attribute": "labelPlacement"
|
|
89
91
|
},
|
|
90
92
|
{
|
|
91
93
|
"kind": "field",
|
|
@@ -93,22 +95,28 @@
|
|
|
93
95
|
"type": {
|
|
94
96
|
"text": "SwitchProps['aria']"
|
|
95
97
|
},
|
|
96
|
-
"privacy": "public"
|
|
98
|
+
"privacy": "public",
|
|
99
|
+
"attribute": "aria"
|
|
97
100
|
},
|
|
98
101
|
{
|
|
99
102
|
"kind": "field",
|
|
100
103
|
"name": "checked",
|
|
101
|
-
"privacy": "public"
|
|
104
|
+
"privacy": "public",
|
|
105
|
+
"attribute": "checked",
|
|
106
|
+
"reflects": true
|
|
102
107
|
},
|
|
103
108
|
{
|
|
104
109
|
"kind": "field",
|
|
105
110
|
"name": "required",
|
|
106
|
-
"privacy": "public"
|
|
111
|
+
"privacy": "public",
|
|
112
|
+
"attribute": "required",
|
|
113
|
+
"reflects": true
|
|
107
114
|
},
|
|
108
115
|
{
|
|
109
116
|
"kind": "field",
|
|
110
117
|
"name": "value",
|
|
111
|
-
"privacy": "public"
|
|
118
|
+
"privacy": "public",
|
|
119
|
+
"attribute": "value"
|
|
112
120
|
},
|
|
113
121
|
{
|
|
114
122
|
"kind": "field",
|
|
@@ -116,12 +124,16 @@
|
|
|
116
124
|
"type": {
|
|
117
125
|
"text": "SwitchProps['name']"
|
|
118
126
|
},
|
|
119
|
-
"privacy": "public"
|
|
127
|
+
"privacy": "public",
|
|
128
|
+
"attribute": "name",
|
|
129
|
+
"reflects": true
|
|
120
130
|
},
|
|
121
131
|
{
|
|
122
132
|
"kind": "field",
|
|
123
133
|
"name": "disabled",
|
|
124
|
-
"privacy": "public"
|
|
134
|
+
"privacy": "public",
|
|
135
|
+
"attribute": "disabled",
|
|
136
|
+
"reflects": true
|
|
125
137
|
},
|
|
126
138
|
{
|
|
127
139
|
"kind": "field",
|
|
@@ -270,6 +282,49 @@
|
|
|
270
282
|
"name": "change"
|
|
271
283
|
}
|
|
272
284
|
],
|
|
285
|
+
"attributes": [
|
|
286
|
+
{
|
|
287
|
+
"name": "label",
|
|
288
|
+
"type": {
|
|
289
|
+
"text": "SwitchProps['label']"
|
|
290
|
+
},
|
|
291
|
+
"fieldName": "label"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"name": "labelPlacement",
|
|
295
|
+
"fieldName": "labelPlacement"
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"name": "aria",
|
|
299
|
+
"type": {
|
|
300
|
+
"text": "SwitchProps['aria']"
|
|
301
|
+
},
|
|
302
|
+
"fieldName": "aria"
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"name": "checked",
|
|
306
|
+
"fieldName": "checked"
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"name": "required",
|
|
310
|
+
"fieldName": "required"
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"name": "value",
|
|
314
|
+
"fieldName": "value"
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"name": "name",
|
|
318
|
+
"type": {
|
|
319
|
+
"text": "SwitchProps['name']"
|
|
320
|
+
},
|
|
321
|
+
"fieldName": "name"
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"name": "disabled",
|
|
325
|
+
"fieldName": "disabled"
|
|
326
|
+
}
|
|
327
|
+
],
|
|
273
328
|
"mixins": [
|
|
274
329
|
{
|
|
275
330
|
"name": "FormControlMixin",
|
|
@@ -294,7 +349,7 @@
|
|
|
294
349
|
"name": "*",
|
|
295
350
|
"declaration": {
|
|
296
351
|
"name": "*",
|
|
297
|
-
"
|
|
352
|
+
"module": "src/defs"
|
|
298
353
|
}
|
|
299
354
|
},
|
|
300
355
|
{
|
package/dist/index.js
CHANGED
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.31",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/justeattakeaway/pie",
|
|
@@ -43,13 +43,13 @@
|
|
|
43
43
|
"author": "Just Eat Takeaway.com - Design System Team",
|
|
44
44
|
"license": "Apache-2.0",
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@justeattakeaway/pie-components-config": "0.21.
|
|
46
|
+
"@justeattakeaway/pie-components-config": "0.21.2",
|
|
47
47
|
"@justeattakeaway/pie-css": "1.1.1",
|
|
48
48
|
"@justeattakeaway/pie-monorepo-utils": "0.9.1",
|
|
49
49
|
"@justeattakeaway/pie-wrapper-react": "0.14.4"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@justeattakeaway/pie-icons-webc": "1.
|
|
52
|
+
"@justeattakeaway/pie-icons-webc": "1.24.0",
|
|
53
53
|
"@justeattakeaway/pie-webc-core": "14.0.1",
|
|
54
54
|
"element-internals-polyfill": "1.3.11"
|
|
55
55
|
},
|
package/src/react.ts
CHANGED
|
File without changes
|