@spectrum-web-components/checkbox 1.0.0 → 1.1.0-beta.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/checkbox",
3
- "version": "1.0.0",
3
+ "version": "1.1.0-beta.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -66,10 +66,10 @@
66
66
  "lit-html"
67
67
  ],
68
68
  "dependencies": {
69
- "@spectrum-web-components/base": "^1.0.0",
70
- "@spectrum-web-components/icon": "^1.0.0",
71
- "@spectrum-web-components/icons-ui": "^1.0.0",
72
- "@spectrum-web-components/shared": "^1.0.0"
69
+ "@spectrum-web-components/base": "^1.1.0-beta.1",
70
+ "@spectrum-web-components/icon": "^1.1.0-beta.1",
71
+ "@spectrum-web-components/icons-ui": "^1.1.0-beta.1",
72
+ "@spectrum-web-components/shared": "^1.1.0-beta.1"
73
73
  },
74
74
  "devDependencies": {
75
75
  "@spectrum-css/checkbox": "^10.0.0-s2-foundations.18"
@@ -80,5 +80,5 @@
80
80
  "./sp-*.js",
81
81
  "./**/*.dev.js"
82
82
  ],
83
- "gitHead": "5cf5d34645bf9494ebd20f64c42d1619523d2d84"
83
+ "gitHead": "3a50fd95f2aa2e05d05ae3e5307dfac05b19aba1"
84
84
  }
@@ -1,547 +0,0 @@
1
- {
2
- "schemaVersion": "1.0.0",
3
- "readme": "",
4
- "modules": [
5
- {
6
- "kind": "javascript-module",
7
- "path": "sp-checkbox.js",
8
- "declarations": [],
9
- "exports": [
10
- {
11
- "kind": "custom-element-definition",
12
- "name": "sp-checkbox",
13
- "declaration": {
14
- "name": "Checkbox",
15
- "module": "/src/Checkbox.js"
16
- }
17
- }
18
- ]
19
- },
20
- {
21
- "kind": "javascript-module",
22
- "path": "src/Checkbox.js",
23
- "declarations": [
24
- {
25
- "kind": "class",
26
- "description": "",
27
- "name": "Checkbox",
28
- "slots": [
29
- {
30
- "description": "content to display as the label for the Checkbox",
31
- "name": ""
32
- }
33
- ],
34
- "members": [
35
- {
36
- "kind": "field",
37
- "name": "shadowRootOptions",
38
- "type": {
39
- "text": "object"
40
- },
41
- "static": true,
42
- "default": "{\n ...SpectrumElement.shadowRootOptions,\n delegatesFocus: true,\n }"
43
- },
44
- {
45
- "kind": "field",
46
- "name": "disabled",
47
- "type": {
48
- "text": "boolean"
49
- },
50
- "privacy": "public",
51
- "default": "false",
52
- "description": "Disable this control. It will not receive focus or events",
53
- "attribute": "disabled",
54
- "reflects": true
55
- },
56
- {
57
- "kind": "field",
58
- "name": "indeterminate",
59
- "type": {
60
- "text": "boolean"
61
- },
62
- "privacy": "public",
63
- "default": "false",
64
- "attribute": "indeterminate",
65
- "reflects": true
66
- },
67
- {
68
- "kind": "field",
69
- "name": "invalid",
70
- "type": {
71
- "text": "boolean"
72
- },
73
- "privacy": "public",
74
- "default": "false",
75
- "attribute": "invalid",
76
- "reflects": true
77
- },
78
- {
79
- "kind": "field",
80
- "name": "emphasized",
81
- "type": {
82
- "text": "boolean"
83
- },
84
- "privacy": "public",
85
- "default": "false",
86
- "attribute": "emphasized",
87
- "reflects": true
88
- },
89
- {
90
- "kind": "field",
91
- "name": "tabIndex",
92
- "type": {
93
- "text": "number"
94
- },
95
- "privacy": "public",
96
- "default": "0",
97
- "attribute": "tabindex",
98
- "reflects": true
99
- },
100
- {
101
- "kind": "method",
102
- "name": "click",
103
- "privacy": "public",
104
- "return": {
105
- "type": {
106
- "text": "void"
107
- }
108
- }
109
- },
110
- {
111
- "kind": "method",
112
- "name": "handleChange",
113
- "privacy": "public",
114
- "return": {
115
- "type": {
116
- "text": "void"
117
- }
118
- },
119
- "inheritedFrom": {
120
- "name": "CheckboxMixin",
121
- "module": "src/CheckboxMixin.js"
122
- }
123
- },
124
- {
125
- "kind": "field",
126
- "name": "checked",
127
- "type": {
128
- "text": "boolean"
129
- },
130
- "privacy": "public",
131
- "default": "false",
132
- "attribute": "checked",
133
- "reflects": true,
134
- "inheritedFrom": {
135
- "name": "CheckboxMixin",
136
- "module": "src/CheckboxMixin.js"
137
- }
138
- },
139
- {
140
- "kind": "field",
141
- "name": "name",
142
- "type": {
143
- "text": "string | undefined"
144
- },
145
- "privacy": "public",
146
- "attribute": "name",
147
- "reflects": true,
148
- "inheritedFrom": {
149
- "name": "CheckboxMixin",
150
- "module": "src/CheckboxMixin.js"
151
- }
152
- },
153
- {
154
- "kind": "field",
155
- "name": "readonly",
156
- "type": {
157
- "text": "boolean"
158
- },
159
- "privacy": "public",
160
- "default": "false",
161
- "attribute": "readonly",
162
- "reflects": true,
163
- "inheritedFrom": {
164
- "name": "CheckboxMixin",
165
- "module": "src/CheckboxMixin.js"
166
- }
167
- },
168
- {
169
- "kind": "field",
170
- "name": "inputElement",
171
- "type": {
172
- "text": "HTMLInputElement"
173
- },
174
- "inheritedFrom": {
175
- "name": "CheckboxMixin",
176
- "module": "src/CheckboxMixin.js"
177
- }
178
- }
179
- ],
180
- "events": [
181
- {
182
- "description": "Announces a change in the `checked` property of a Checkbox",
183
- "name": "change"
184
- }
185
- ],
186
- "attributes": [
187
- {
188
- "name": "disabled",
189
- "type": {
190
- "text": "boolean"
191
- },
192
- "default": "false",
193
- "description": "Disable this control. It will not receive focus or events",
194
- "fieldName": "disabled"
195
- },
196
- {
197
- "name": "indeterminate",
198
- "type": {
199
- "text": "boolean"
200
- },
201
- "default": "false",
202
- "fieldName": "indeterminate"
203
- },
204
- {
205
- "name": "invalid",
206
- "type": {
207
- "text": "boolean"
208
- },
209
- "default": "false",
210
- "fieldName": "invalid"
211
- },
212
- {
213
- "name": "emphasized",
214
- "type": {
215
- "text": "boolean"
216
- },
217
- "default": "false",
218
- "fieldName": "emphasized"
219
- },
220
- {
221
- "name": "tabindex",
222
- "type": {
223
- "text": "number"
224
- },
225
- "default": "0",
226
- "fieldName": "tabIndex"
227
- },
228
- {
229
- "name": "checked",
230
- "type": {
231
- "text": "boolean"
232
- },
233
- "default": "false",
234
- "fieldName": "checked",
235
- "inheritedFrom": {
236
- "name": "CheckboxMixin",
237
- "module": "src/CheckboxMixin.ts"
238
- }
239
- },
240
- {
241
- "name": "name",
242
- "type": {
243
- "text": "string | undefined"
244
- },
245
- "fieldName": "name",
246
- "inheritedFrom": {
247
- "name": "CheckboxMixin",
248
- "module": "src/CheckboxMixin.ts"
249
- }
250
- },
251
- {
252
- "name": "readonly",
253
- "type": {
254
- "text": "boolean"
255
- },
256
- "default": "false",
257
- "fieldName": "readonly",
258
- "inheritedFrom": {
259
- "name": "CheckboxMixin",
260
- "module": "src/CheckboxMixin.ts"
261
- }
262
- }
263
- ],
264
- "mixins": [
265
- {
266
- "name": "SizedMixin",
267
- "package": "@spectrum-web-components/base"
268
- },
269
- {
270
- "name": "CheckboxMixin",
271
- "module": "/src/CheckboxMixin.js"
272
- }
273
- ],
274
- "superclass": {
275
- "name": "SpectrumElement",
276
- "package": "@spectrum-web-components/base"
277
- },
278
- "tagName": "sp-checkbox",
279
- "customElement": true
280
- }
281
- ],
282
- "exports": [
283
- {
284
- "kind": "js",
285
- "name": "Checkbox",
286
- "declaration": {
287
- "name": "Checkbox",
288
- "module": "src/Checkbox.js"
289
- }
290
- }
291
- ]
292
- },
293
- {
294
- "kind": "javascript-module",
295
- "path": "src/CheckboxBase.js",
296
- "declarations": [
297
- {
298
- "kind": "class",
299
- "description": "",
300
- "name": "CheckboxBase",
301
- "members": [
302
- {
303
- "kind": "field",
304
- "name": "focusElement",
305
- "type": {
306
- "text": "HTMLElement"
307
- },
308
- "privacy": "public",
309
- "readonly": true
310
- },
311
- {
312
- "kind": "field",
313
- "name": "checked",
314
- "type": {
315
- "text": "boolean"
316
- },
317
- "privacy": "public",
318
- "default": "false",
319
- "attribute": "checked",
320
- "reflects": true,
321
- "inheritedFrom": {
322
- "name": "CheckboxMixin",
323
- "module": "src/CheckboxMixin.js"
324
- }
325
- },
326
- {
327
- "kind": "field",
328
- "name": "name",
329
- "type": {
330
- "text": "string | undefined"
331
- },
332
- "privacy": "public",
333
- "attribute": "name",
334
- "reflects": true,
335
- "inheritedFrom": {
336
- "name": "CheckboxMixin",
337
- "module": "src/CheckboxMixin.js"
338
- }
339
- },
340
- {
341
- "kind": "field",
342
- "name": "readonly",
343
- "type": {
344
- "text": "boolean"
345
- },
346
- "privacy": "public",
347
- "default": "false",
348
- "attribute": "readonly",
349
- "reflects": true,
350
- "inheritedFrom": {
351
- "name": "CheckboxMixin",
352
- "module": "src/CheckboxMixin.js"
353
- }
354
- },
355
- {
356
- "kind": "field",
357
- "name": "inputElement",
358
- "type": {
359
- "text": "HTMLInputElement"
360
- },
361
- "inheritedFrom": {
362
- "name": "CheckboxMixin",
363
- "module": "src/CheckboxMixin.js"
364
- }
365
- },
366
- {
367
- "kind": "method",
368
- "name": "handleChange",
369
- "privacy": "public",
370
- "return": {
371
- "type": {
372
- "text": "void"
373
- }
374
- },
375
- "inheritedFrom": {
376
- "name": "CheckboxMixin",
377
- "module": "src/CheckboxMixin.js"
378
- }
379
- }
380
- ],
381
- "mixins": [
382
- {
383
- "name": "CheckboxMixin",
384
- "module": "/src/CheckboxMixin.js"
385
- }
386
- ],
387
- "superclass": {
388
- "name": "Focusable",
389
- "package": "@spectrum-web-components/shared/src/focusable.js"
390
- },
391
- "attributes": [
392
- {
393
- "name": "checked",
394
- "type": {
395
- "text": "boolean"
396
- },
397
- "default": "false",
398
- "fieldName": "checked",
399
- "inheritedFrom": {
400
- "name": "CheckboxMixin",
401
- "module": "src/CheckboxMixin.ts"
402
- }
403
- },
404
- {
405
- "name": "name",
406
- "type": {
407
- "text": "string | undefined"
408
- },
409
- "fieldName": "name",
410
- "inheritedFrom": {
411
- "name": "CheckboxMixin",
412
- "module": "src/CheckboxMixin.ts"
413
- }
414
- },
415
- {
416
- "name": "readonly",
417
- "type": {
418
- "text": "boolean"
419
- },
420
- "default": "false",
421
- "fieldName": "readonly",
422
- "inheritedFrom": {
423
- "name": "CheckboxMixin",
424
- "module": "src/CheckboxMixin.ts"
425
- }
426
- }
427
- ]
428
- }
429
- ],
430
- "exports": [
431
- {
432
- "kind": "js",
433
- "name": "CheckboxBase",
434
- "declaration": {
435
- "name": "CheckboxBase",
436
- "module": "src/CheckboxBase.js"
437
- }
438
- }
439
- ]
440
- },
441
- {
442
- "kind": "javascript-module",
443
- "path": "src/CheckboxMixin.js",
444
- "declarations": [
445
- {
446
- "kind": "mixin",
447
- "description": "",
448
- "name": "CheckboxMixin",
449
- "members": [
450
- {
451
- "kind": "field",
452
- "name": "checked",
453
- "type": {
454
- "text": "boolean"
455
- },
456
- "privacy": "public",
457
- "default": "false",
458
- "attribute": "checked",
459
- "reflects": true
460
- },
461
- {
462
- "kind": "field",
463
- "name": "name",
464
- "type": {
465
- "text": "string | undefined"
466
- },
467
- "privacy": "public",
468
- "attribute": "name",
469
- "reflects": true
470
- },
471
- {
472
- "kind": "field",
473
- "name": "readonly",
474
- "type": {
475
- "text": "boolean"
476
- },
477
- "privacy": "public",
478
- "default": "false",
479
- "attribute": "readonly",
480
- "reflects": true
481
- },
482
- {
483
- "kind": "field",
484
- "name": "inputElement",
485
- "type": {
486
- "text": "HTMLInputElement"
487
- }
488
- },
489
- {
490
- "kind": "method",
491
- "name": "handleChange",
492
- "privacy": "public",
493
- "return": {
494
- "type": {
495
- "text": "void"
496
- }
497
- }
498
- }
499
- ],
500
- "attributes": [
501
- {
502
- "name": "checked",
503
- "type": {
504
- "text": "boolean"
505
- },
506
- "default": "false",
507
- "fieldName": "checked"
508
- },
509
- {
510
- "name": "name",
511
- "type": {
512
- "text": "string | undefined"
513
- },
514
- "fieldName": "name"
515
- },
516
- {
517
- "name": "readonly",
518
- "type": {
519
- "text": "boolean"
520
- },
521
- "default": "false",
522
- "fieldName": "readonly"
523
- }
524
- ],
525
- "parameters": [
526
- {
527
- "name": "constructor",
528
- "type": {
529
- "text": "T"
530
- }
531
- }
532
- ]
533
- }
534
- ],
535
- "exports": [
536
- {
537
- "kind": "js",
538
- "name": "CheckboxMixin",
539
- "declaration": {
540
- "name": "CheckboxMixin",
541
- "module": "src/CheckboxMixin.js"
542
- }
543
- }
544
- ]
545
- }
546
- ]
547
- }