@spectrum-web-components/table 0.30.0 → 0.30.1-overlay.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.
Files changed (2) hide show
  1. package/package.json +6 -6
  2. package/custom-elements.json +0 -1111
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/table",
3
- "version": "0.30.0",
3
+ "version": "0.30.1-overlay.31+0d83bbe39",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -116,10 +116,10 @@
116
116
  ],
117
117
  "dependencies": {
118
118
  "@lit-labs/virtualizer": "^1.0.1",
119
- "@spectrum-web-components/base": "^0.30.0",
120
- "@spectrum-web-components/checkbox": "^0.30.0",
121
- "@spectrum-web-components/icon": "^0.30.0",
122
- "@spectrum-web-components/icons-ui": "^0.30.0"
119
+ "@spectrum-web-components/base": "^0.30.1-overlay.31+0d83bbe39",
120
+ "@spectrum-web-components/checkbox": "^0.30.1-overlay.31+0d83bbe39",
121
+ "@spectrum-web-components/icon": "^0.30.1-overlay.31+0d83bbe39",
122
+ "@spectrum-web-components/icons-ui": "^0.30.1-overlay.31+0d83bbe39"
123
123
  },
124
124
  "devDependencies": {
125
125
  "@spectrum-css/table": "^4.0.41"
@@ -131,5 +131,5 @@
131
131
  "./elements.js",
132
132
  "./**/*.dev.js"
133
133
  ],
134
- "gitHead": "e34a26bf2bbea5f60a5e415e0f12c97654f0e20d"
134
+ "gitHead": "0d83bbe39df1adf5e475c05e71ab221b66354a60"
135
135
  }
@@ -1,1111 +0,0 @@
1
- {
2
- "schemaVersion": "1.0.0",
3
- "readme": "",
4
- "modules": [
5
- {
6
- "kind": "javascript-module",
7
- "path": "sp-table-body.js",
8
- "declarations": [],
9
- "exports": []
10
- },
11
- {
12
- "kind": "javascript-module",
13
- "path": "sp-table-cell.js",
14
- "declarations": [],
15
- "exports": []
16
- },
17
- {
18
- "kind": "javascript-module",
19
- "path": "sp-table-checkbox-cell.js",
20
- "declarations": [],
21
- "exports": []
22
- },
23
- {
24
- "kind": "javascript-module",
25
- "path": "sp-table-head-cell.js",
26
- "declarations": [],
27
- "exports": []
28
- },
29
- {
30
- "kind": "javascript-module",
31
- "path": "sp-table-head.js",
32
- "declarations": [],
33
- "exports": []
34
- },
35
- {
36
- "kind": "javascript-module",
37
- "path": "sp-table-row.js",
38
- "declarations": [],
39
- "exports": []
40
- },
41
- {
42
- "kind": "javascript-module",
43
- "path": "sp-table.js",
44
- "declarations": [],
45
- "exports": []
46
- },
47
- {
48
- "kind": "javascript-module",
49
- "path": "src/Table.js",
50
- "declarations": [
51
- {
52
- "kind": "class",
53
- "description": "",
54
- "name": "RangeChangedEvent",
55
- "members": [
56
- {
57
- "kind": "field",
58
- "name": "eventName",
59
- "type": {
60
- "text": "string"
61
- },
62
- "static": true,
63
- "default": "'rangeChanged'"
64
- },
65
- {
66
- "kind": "field",
67
- "name": "first",
68
- "type": {
69
- "text": "number"
70
- }
71
- },
72
- {
73
- "kind": "field",
74
- "name": "last",
75
- "type": {
76
- "text": "number"
77
- }
78
- }
79
- ],
80
- "superclass": {
81
- "name": "Event",
82
- "module": "src/Table.ts"
83
- }
84
- },
85
- {
86
- "kind": "class",
87
- "description": "",
88
- "name": "Table",
89
- "members": [
90
- {
91
- "kind": "field",
92
- "name": "renderItem",
93
- "type": {
94
- "text": "(\n item: Record<string, unknown>,\n index: number\n ) => TemplateResult"
95
- }
96
- },
97
- {
98
- "kind": "field",
99
- "name": "_renderItem",
100
- "type": {
101
- "text": "(\n item: Record<string, unknown>,\n index: number\n ) => TemplateResult"
102
- },
103
- "privacy": "private"
104
- },
105
- {
106
- "kind": "field",
107
- "name": "role",
108
- "type": {
109
- "text": "string"
110
- },
111
- "privacy": "public",
112
- "default": "'grid'",
113
- "attribute": "role",
114
- "reflects": true
115
- },
116
- {
117
- "kind": "field",
118
- "name": "selects",
119
- "type": {
120
- "text": "undefined | 'single' | 'multiple'"
121
- },
122
- "privacy": "public",
123
- "description": "Whether the Table allows users to select a row or rows, and thus controls whether or not the Table also renders checkboxes.",
124
- "attribute": "selects",
125
- "reflects": true
126
- },
127
- {
128
- "kind": "field",
129
- "name": "selected",
130
- "type": {
131
- "text": "string[]"
132
- },
133
- "privacy": "public",
134
- "default": "[]",
135
- "description": "An array of <sp-row> values that have been selected.",
136
- "attribute": "selected"
137
- },
138
- {
139
- "kind": "field",
140
- "name": "selectedSet",
141
- "privacy": "private",
142
- "default": "new Set<string>()"
143
- },
144
- {
145
- "kind": "field",
146
- "name": "items",
147
- "type": {
148
- "text": "Record<string, unknown>[]"
149
- },
150
- "privacy": "public",
151
- "default": "[]",
152
- "description": "The content of the rows rendered by the virtualized table. The key is the value of the sp-table-row, and the value is the sp-table-row's content (not the row itself).",
153
- "attribute": "items"
154
- },
155
- {
156
- "kind": "field",
157
- "name": "itemValue",
158
- "privacy": "public",
159
- "description": "The value of an item. By default, it is set to the index of the sp-table-row.",
160
- "attribute": "itemValue"
161
- },
162
- {
163
- "kind": "field",
164
- "name": "scroller",
165
- "type": {
166
- "text": "boolean"
167
- },
168
- "privacy": "public",
169
- "default": "false",
170
- "description": "Whether or not the virtualized table has a scroll bar. If this is set to true, make sure to specify a height in the sp-table's inline styles.",
171
- "attribute": "scroller",
172
- "reflects": true
173
- },
174
- {
175
- "kind": "field",
176
- "name": "tableBody",
177
- "type": {
178
- "text": "TableBody | undefined"
179
- },
180
- "privacy": "private"
181
- },
182
- {
183
- "kind": "field",
184
- "name": "tableHeadCheckboxCell",
185
- "type": {
186
- "text": "TableCheckboxCell | undefined"
187
- },
188
- "privacy": "private"
189
- },
190
- {
191
- "kind": "field",
192
- "name": "tableHead",
193
- "type": {
194
- "text": "TableHead"
195
- },
196
- "privacy": "private"
197
- },
198
- {
199
- "kind": "field",
200
- "name": "tableRows",
201
- "type": {
202
- "text": "TableRow[]"
203
- },
204
- "privacy": "private"
205
- },
206
- {
207
- "kind": "field",
208
- "name": "isVirtualized",
209
- "type": {
210
- "text": "boolean"
211
- },
212
- "privacy": "private"
213
- },
214
- {
215
- "kind": "method",
216
- "name": "focus",
217
- "privacy": "public",
218
- "return": {
219
- "type": {
220
- "text": "void"
221
- }
222
- }
223
- },
224
- {
225
- "kind": "method",
226
- "name": "selectAllRows",
227
- "privacy": "private",
228
- "return": {
229
- "type": {
230
- "text": "void"
231
- }
232
- }
233
- },
234
- {
235
- "kind": "method",
236
- "name": "deselectAllRows",
237
- "privacy": "private",
238
- "return": {
239
- "type": {
240
- "text": "void"
241
- }
242
- }
243
- },
244
- {
245
- "kind": "method",
246
- "name": "manageSelects",
247
- "privacy": "protected",
248
- "return": {
249
- "type": {
250
- "text": "void"
251
- }
252
- }
253
- },
254
- {
255
- "kind": "method",
256
- "name": "validateSelected",
257
- "privacy": "protected",
258
- "return": {
259
- "type": {
260
- "text": "void"
261
- }
262
- }
263
- },
264
- {
265
- "kind": "method",
266
- "name": "manageSelected",
267
- "privacy": "protected",
268
- "return": {
269
- "type": {
270
- "text": "void"
271
- }
272
- }
273
- },
274
- {
275
- "kind": "method",
276
- "name": "manageCheckboxes",
277
- "privacy": "protected",
278
- "return": {
279
- "type": {
280
- "text": "void"
281
- }
282
- }
283
- },
284
- {
285
- "kind": "method",
286
- "name": "manageHeadCheckbox",
287
- "privacy": "protected",
288
- "return": {
289
- "type": {
290
- "text": "void"
291
- }
292
- },
293
- "parameters": [
294
- {
295
- "name": "allSelected",
296
- "type": {
297
- "text": "boolean"
298
- }
299
- }
300
- ]
301
- },
302
- {
303
- "kind": "method",
304
- "name": "handleChange",
305
- "privacy": "protected",
306
- "return": {
307
- "type": {
308
- "text": "void"
309
- }
310
- },
311
- "parameters": [
312
- {
313
- "name": "event",
314
- "type": {
315
- "text": "Event"
316
- }
317
- }
318
- ]
319
- },
320
- {
321
- "kind": "method",
322
- "name": "scrollToIndex",
323
- "privacy": "public",
324
- "return": {
325
- "type": {
326
- "text": "void"
327
- }
328
- },
329
- "parameters": [
330
- {
331
- "name": "index",
332
- "optional": true,
333
- "type": {
334
- "text": "number"
335
- }
336
- }
337
- ]
338
- },
339
- {
340
- "kind": "method",
341
- "name": "renderVirtualizedItems",
342
- "privacy": "protected",
343
- "return": {
344
- "type": {
345
- "text": "void"
346
- }
347
- }
348
- }
349
- ],
350
- "events": [
351
- {
352
- "name": "change",
353
- "type": {
354
- "text": "Event"
355
- },
356
- "description": "Announces a change in the `selected` property of a table row"
357
- },
358
- {
359
- "type": {
360
- "text": "RangeChangedEvent"
361
- }
362
- },
363
- {
364
- "description": "Announces a change in the range of visible cells on the table body",
365
- "name": "rangeChanged"
366
- }
367
- ],
368
- "attributes": [
369
- {
370
- "name": "role",
371
- "type": {
372
- "text": "string"
373
- },
374
- "default": "'grid'",
375
- "fieldName": "role"
376
- },
377
- {
378
- "name": "selects",
379
- "type": {
380
- "text": "undefined | 'single' | 'multiple'"
381
- },
382
- "description": "Whether the Table allows users to select a row or rows, and thus controls whether or not the Table also renders checkboxes.",
383
- "fieldName": "selects"
384
- },
385
- {
386
- "name": "selected",
387
- "type": {
388
- "text": "string[]"
389
- },
390
- "default": "[]",
391
- "description": "An array of <sp-row> values that have been selected.",
392
- "fieldName": "selected"
393
- },
394
- {
395
- "name": "items",
396
- "type": {
397
- "text": "Record<string, unknown>[]"
398
- },
399
- "default": "[]",
400
- "description": "The content of the rows rendered by the virtualized table. The key is the value of the sp-table-row, and the value is the sp-table-row's content (not the row itself).",
401
- "fieldName": "items"
402
- },
403
- {
404
- "name": "itemValue",
405
- "description": "The value of an item. By default, it is set to the index of the sp-table-row.",
406
- "fieldName": "itemValue"
407
- },
408
- {
409
- "name": "scroller",
410
- "type": {
411
- "text": "boolean"
412
- },
413
- "default": "false",
414
- "description": "Whether or not the virtualized table has a scroll bar. If this is set to true, make sure to specify a height in the sp-table's inline styles.",
415
- "fieldName": "scroller"
416
- }
417
- ],
418
- "mixins": [
419
- {
420
- "name": "SizedMixin",
421
- "package": "@spectrum-web-components/base"
422
- }
423
- ],
424
- "superclass": {
425
- "name": "SpectrumElement",
426
- "package": "@spectrum-web-components/base"
427
- },
428
- "tagName": "sp-table",
429
- "customElement": true
430
- }
431
- ],
432
- "exports": [
433
- {
434
- "kind": "js",
435
- "name": "RangeChangedEvent",
436
- "declaration": {
437
- "name": "RangeChangedEvent",
438
- "module": "src/Table.js"
439
- }
440
- },
441
- {
442
- "kind": "js",
443
- "name": "Table",
444
- "declaration": {
445
- "name": "Table",
446
- "module": "src/Table.js"
447
- }
448
- }
449
- ]
450
- },
451
- {
452
- "kind": "javascript-module",
453
- "path": "src/TableBody.js",
454
- "declarations": [
455
- {
456
- "kind": "class",
457
- "description": "",
458
- "name": "TableBody",
459
- "members": [
460
- {
461
- "kind": "method",
462
- "name": "shouldHaveTabIndex",
463
- "privacy": "protected",
464
- "return": {
465
- "type": {
466
- "text": "void"
467
- }
468
- }
469
- },
470
- {
471
- "kind": "field",
472
- "name": "role",
473
- "type": {
474
- "text": "string"
475
- },
476
- "privacy": "public",
477
- "default": "'rowgroup'",
478
- "attribute": "role",
479
- "reflects": true
480
- }
481
- ],
482
- "attributes": [
483
- {
484
- "name": "role",
485
- "type": {
486
- "text": "string"
487
- },
488
- "default": "'rowgroup'",
489
- "fieldName": "role"
490
- }
491
- ],
492
- "superclass": {
493
- "name": "SpectrumElement",
494
- "package": "@spectrum-web-components/base"
495
- },
496
- "tagName": "sp-table-body",
497
- "customElement": true
498
- }
499
- ],
500
- "exports": [
501
- {
502
- "kind": "js",
503
- "name": "TableBody",
504
- "declaration": {
505
- "name": "TableBody",
506
- "module": "src/TableBody.js"
507
- }
508
- }
509
- ]
510
- },
511
- {
512
- "kind": "javascript-module",
513
- "path": "src/TableCell.js",
514
- "declarations": [
515
- {
516
- "kind": "class",
517
- "description": "",
518
- "name": "TableCell",
519
- "members": [
520
- {
521
- "kind": "field",
522
- "name": "role",
523
- "type": {
524
- "text": "string"
525
- },
526
- "privacy": "public",
527
- "default": "'gridcell'",
528
- "attribute": "role",
529
- "reflects": true
530
- }
531
- ],
532
- "attributes": [
533
- {
534
- "name": "role",
535
- "type": {
536
- "text": "string"
537
- },
538
- "default": "'gridcell'",
539
- "fieldName": "role"
540
- }
541
- ],
542
- "superclass": {
543
- "name": "SpectrumElement",
544
- "package": "@spectrum-web-components/base"
545
- },
546
- "tagName": "sp-table-cell",
547
- "customElement": true
548
- }
549
- ],
550
- "exports": [
551
- {
552
- "kind": "js",
553
- "name": "TableCell",
554
- "declaration": {
555
- "name": "TableCell",
556
- "module": "src/TableCell.js"
557
- }
558
- }
559
- ]
560
- },
561
- {
562
- "kind": "javascript-module",
563
- "path": "src/TableCheckboxCell.js",
564
- "declarations": [
565
- {
566
- "kind": "class",
567
- "description": "",
568
- "name": "TableCheckboxCell",
569
- "members": [
570
- {
571
- "kind": "field",
572
- "name": "role",
573
- "type": {
574
- "text": "string"
575
- },
576
- "privacy": "public",
577
- "default": "'gridcell'",
578
- "attribute": "role",
579
- "reflects": true
580
- },
581
- {
582
- "kind": "field",
583
- "name": "checkbox",
584
- "type": {
585
- "text": "Checkbox"
586
- },
587
- "privacy": "public"
588
- },
589
- {
590
- "kind": "field",
591
- "name": "indeterminate",
592
- "type": {
593
- "text": "boolean"
594
- },
595
- "privacy": "public",
596
- "default": "false",
597
- "attribute": "indeterminate"
598
- },
599
- {
600
- "kind": "field",
601
- "name": "checked",
602
- "type": {
603
- "text": "boolean"
604
- },
605
- "privacy": "public",
606
- "default": "false",
607
- "attribute": "checked"
608
- },
609
- {
610
- "kind": "field",
611
- "name": "disabled",
612
- "type": {
613
- "text": "boolean"
614
- },
615
- "privacy": "public",
616
- "default": "false",
617
- "attribute": "disabled"
618
- },
619
- {
620
- "kind": "field",
621
- "name": "selectsSingle",
622
- "type": {
623
- "text": "boolean"
624
- },
625
- "privacy": "public",
626
- "default": "false",
627
- "attribute": "selects-single",
628
- "reflects": true
629
- },
630
- {
631
- "kind": "method",
632
- "name": "click",
633
- "privacy": "public",
634
- "return": {
635
- "type": {
636
- "text": "void"
637
- }
638
- }
639
- }
640
- ],
641
- "attributes": [
642
- {
643
- "name": "role",
644
- "type": {
645
- "text": "string"
646
- },
647
- "default": "'gridcell'",
648
- "fieldName": "role"
649
- },
650
- {
651
- "name": "indeterminate",
652
- "type": {
653
- "text": "boolean"
654
- },
655
- "default": "false",
656
- "fieldName": "indeterminate"
657
- },
658
- {
659
- "name": "checked",
660
- "type": {
661
- "text": "boolean"
662
- },
663
- "default": "false",
664
- "fieldName": "checked"
665
- },
666
- {
667
- "name": "disabled",
668
- "type": {
669
- "text": "boolean"
670
- },
671
- "default": "false",
672
- "fieldName": "disabled"
673
- },
674
- {
675
- "name": "selects-single",
676
- "type": {
677
- "text": "boolean"
678
- },
679
- "default": "false",
680
- "fieldName": "selectsSingle"
681
- }
682
- ],
683
- "superclass": {
684
- "name": "SpectrumElement",
685
- "package": "@spectrum-web-components/base"
686
- },
687
- "tagName": "sp-table-checkbox-cell",
688
- "customElement": true
689
- }
690
- ],
691
- "exports": [
692
- {
693
- "kind": "js",
694
- "name": "TableCheckboxCell",
695
- "declaration": {
696
- "name": "TableCheckboxCell",
697
- "module": "src/TableCheckboxCell.js"
698
- }
699
- }
700
- ]
701
- },
702
- {
703
- "kind": "javascript-module",
704
- "path": "src/TableHead.js",
705
- "declarations": [
706
- {
707
- "kind": "class",
708
- "description": "",
709
- "name": "TableHead",
710
- "members": [
711
- {
712
- "kind": "field",
713
- "name": "role",
714
- "type": {
715
- "text": "string"
716
- },
717
- "privacy": "public",
718
- "default": "'row'",
719
- "attribute": "role",
720
- "reflects": true
721
- },
722
- {
723
- "kind": "field",
724
- "name": "selected",
725
- "type": {
726
- "text": "boolean | undefined"
727
- },
728
- "privacy": "public",
729
- "attribute": "selected",
730
- "reflects": true
731
- },
732
- {
733
- "kind": "method",
734
- "name": "handleSorted",
735
- "privacy": "private",
736
- "return": {
737
- "type": {
738
- "text": "void"
739
- }
740
- },
741
- "parameters": [
742
- {
743
- "name": "{ target }",
744
- "type": {
745
- "text": "Event"
746
- }
747
- }
748
- ]
749
- },
750
- {
751
- "kind": "method",
752
- "name": "handleChange",
753
- "privacy": "protected",
754
- "return": {
755
- "type": {
756
- "text": "void"
757
- }
758
- },
759
- "parameters": [
760
- {
761
- "name": "{\n target: checkboxCell,\n }",
762
- "type": {
763
- "text": "Event & { target: TableCheckboxCell }"
764
- }
765
- }
766
- ]
767
- }
768
- ],
769
- "attributes": [
770
- {
771
- "name": "role",
772
- "type": {
773
- "text": "string"
774
- },
775
- "default": "'row'",
776
- "fieldName": "role"
777
- },
778
- {
779
- "name": "selected",
780
- "type": {
781
- "text": "boolean | undefined"
782
- },
783
- "fieldName": "selected"
784
- }
785
- ],
786
- "superclass": {
787
- "name": "SpectrumElement",
788
- "package": "@spectrum-web-components/base"
789
- },
790
- "tagName": "sp-table-head",
791
- "customElement": true
792
- }
793
- ],
794
- "exports": [
795
- {
796
- "kind": "js",
797
- "name": "TableHead",
798
- "declaration": {
799
- "name": "TableHead",
800
- "module": "src/TableHead.js"
801
- }
802
- }
803
- ]
804
- },
805
- {
806
- "kind": "javascript-module",
807
- "path": "src/TableHeadCell.js",
808
- "declarations": [
809
- {
810
- "kind": "class",
811
- "description": "",
812
- "name": "TableHeadCell",
813
- "members": [
814
- {
815
- "kind": "field",
816
- "name": "role",
817
- "type": {
818
- "text": "string"
819
- },
820
- "privacy": "public",
821
- "default": "'columnheader'",
822
- "attribute": "role",
823
- "reflects": true
824
- },
825
- {
826
- "kind": "field",
827
- "name": "sortable",
828
- "type": {
829
- "text": "boolean"
830
- },
831
- "privacy": "public",
832
- "default": "false",
833
- "attribute": "sortable",
834
- "reflects": true
835
- },
836
- {
837
- "kind": "field",
838
- "name": "sortDirection",
839
- "type": {
840
- "text": "'asc' | 'desc' | undefined"
841
- },
842
- "privacy": "public",
843
- "attribute": "sort-direction",
844
- "reflects": true
845
- },
846
- {
847
- "kind": "field",
848
- "name": "sortKey",
849
- "type": {
850
- "text": "string"
851
- },
852
- "privacy": "public",
853
- "default": "''",
854
- "attribute": "sort-key"
855
- },
856
- {
857
- "kind": "method",
858
- "name": "handleClick",
859
- "privacy": "protected",
860
- "return": {
861
- "type": {
862
- "text": "void"
863
- }
864
- }
865
- }
866
- ],
867
- "events": [
868
- {
869
- "name": "sorted",
870
- "type": {
871
- "text": "CustomEvent"
872
- },
873
- "description": "Announces that the table head has been sorted and handles the sorted event"
874
- }
875
- ],
876
- "attributes": [
877
- {
878
- "name": "role",
879
- "type": {
880
- "text": "string"
881
- },
882
- "default": "'columnheader'",
883
- "fieldName": "role"
884
- },
885
- {
886
- "name": "sortable",
887
- "type": {
888
- "text": "boolean"
889
- },
890
- "default": "false",
891
- "fieldName": "sortable"
892
- },
893
- {
894
- "name": "sort-direction",
895
- "type": {
896
- "text": "'asc' | 'desc' | undefined"
897
- },
898
- "fieldName": "sortDirection"
899
- },
900
- {
901
- "name": "sort-key",
902
- "type": {
903
- "text": "string"
904
- },
905
- "default": "''",
906
- "fieldName": "sortKey"
907
- }
908
- ],
909
- "superclass": {
910
- "name": "SpectrumElement",
911
- "package": "@spectrum-web-components/base"
912
- },
913
- "tagName": "sp-table-head-cell",
914
- "customElement": true
915
- }
916
- ],
917
- "exports": [
918
- {
919
- "kind": "js",
920
- "name": "TableHeadCell",
921
- "declaration": {
922
- "name": "TableHeadCell",
923
- "module": "src/TableHeadCell.js"
924
- }
925
- }
926
- ]
927
- },
928
- {
929
- "kind": "javascript-module",
930
- "path": "src/TableRow.js",
931
- "declarations": [
932
- {
933
- "kind": "class",
934
- "description": "",
935
- "name": "TableRow",
936
- "members": [
937
- {
938
- "kind": "field",
939
- "name": "checkboxCells",
940
- "type": {
941
- "text": "TableCheckboxCell[]"
942
- }
943
- },
944
- {
945
- "kind": "field",
946
- "name": "role",
947
- "type": {
948
- "text": "string"
949
- },
950
- "privacy": "public",
951
- "default": "'row'",
952
- "attribute": "role",
953
- "reflects": true
954
- },
955
- {
956
- "kind": "field",
957
- "name": "selectable",
958
- "type": {
959
- "text": "boolean"
960
- },
961
- "privacy": "public",
962
- "default": "false",
963
- "attribute": "selectable"
964
- },
965
- {
966
- "kind": "field",
967
- "name": "selected",
968
- "type": {
969
- "text": "boolean"
970
- },
971
- "privacy": "public",
972
- "default": "false",
973
- "attribute": "selected",
974
- "reflects": true
975
- },
976
- {
977
- "kind": "field",
978
- "name": "value",
979
- "type": {
980
- "text": "string"
981
- },
982
- "privacy": "public",
983
- "default": "''",
984
- "attribute": "value"
985
- },
986
- {
987
- "kind": "method",
988
- "name": "handleChange",
989
- "privacy": "protected",
990
- "return": {
991
- "type": {
992
- "text": "Promise<void>"
993
- }
994
- },
995
- "parameters": [
996
- {
997
- "name": "event",
998
- "type": {
999
- "text": "Event & { target: TableCheckboxCell }"
1000
- }
1001
- }
1002
- ]
1003
- },
1004
- {
1005
- "kind": "method",
1006
- "name": "handleSlotchange",
1007
- "privacy": "protected",
1008
- "return": {
1009
- "type": {
1010
- "text": "void"
1011
- }
1012
- },
1013
- "parameters": [
1014
- {
1015
- "name": "{\n target,\n }",
1016
- "type": {
1017
- "text": "Event & { target: HTMLSlotElement }"
1018
- }
1019
- }
1020
- ]
1021
- },
1022
- {
1023
- "kind": "method",
1024
- "name": "manageSelected",
1025
- "privacy": "protected",
1026
- "return": {
1027
- "type": {
1028
- "text": "Promise<void>"
1029
- }
1030
- }
1031
- },
1032
- {
1033
- "kind": "method",
1034
- "name": "handleClick",
1035
- "privacy": "protected",
1036
- "return": {
1037
- "type": {
1038
- "text": "void"
1039
- }
1040
- },
1041
- "parameters": [
1042
- {
1043
- "name": "event",
1044
- "type": {
1045
- "text": "Event"
1046
- }
1047
- }
1048
- ]
1049
- }
1050
- ],
1051
- "events": [
1052
- {
1053
- "description": "Announces that `selected` of the table row has changed",
1054
- "name": "sorted"
1055
- }
1056
- ],
1057
- "attributes": [
1058
- {
1059
- "name": "role",
1060
- "type": {
1061
- "text": "string"
1062
- },
1063
- "default": "'row'",
1064
- "fieldName": "role"
1065
- },
1066
- {
1067
- "name": "selectable",
1068
- "type": {
1069
- "text": "boolean"
1070
- },
1071
- "default": "false",
1072
- "fieldName": "selectable"
1073
- },
1074
- {
1075
- "name": "selected",
1076
- "type": {
1077
- "text": "boolean"
1078
- },
1079
- "default": "false",
1080
- "fieldName": "selected"
1081
- },
1082
- {
1083
- "name": "value",
1084
- "type": {
1085
- "text": "string"
1086
- },
1087
- "default": "''",
1088
- "fieldName": "value"
1089
- }
1090
- ],
1091
- "superclass": {
1092
- "name": "SpectrumElement",
1093
- "package": "@spectrum-web-components/base"
1094
- },
1095
- "tagName": "sp-table-row",
1096
- "customElement": true
1097
- }
1098
- ],
1099
- "exports": [
1100
- {
1101
- "kind": "js",
1102
- "name": "TableRow",
1103
- "declaration": {
1104
- "name": "TableRow",
1105
- "module": "src/TableRow.js"
1106
- }
1107
- }
1108
- ]
1109
- }
1110
- ]
1111
- }