@vscode-elements/elements 2.0.0-pre.3 → 2.0.0

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 (162) hide show
  1. package/custom-elements.json +1038 -855
  2. package/dist/bundled.js +388 -292
  3. package/dist/includes/VscElement.d.ts.map +1 -1
  4. package/dist/includes/VscElement.js +2 -5
  5. package/dist/includes/VscElement.js.map +1 -1
  6. package/dist/includes/form-button-widget/base.styles.d.ts.map +1 -1
  7. package/dist/includes/form-button-widget/base.styles.js +8 -9
  8. package/dist/includes/form-button-widget/base.styles.js.map +1 -1
  9. package/dist/includes/test-helpers.d.ts +11 -0
  10. package/dist/includes/test-helpers.d.ts.map +1 -1
  11. package/dist/includes/test-helpers.js +36 -0
  12. package/dist/includes/test-helpers.js.map +1 -1
  13. package/dist/includes/vscode-select/styles.d.ts.map +1 -1
  14. package/dist/includes/vscode-select/styles.js +4 -3
  15. package/dist/includes/vscode-select/styles.js.map +1 -1
  16. package/dist/vscode-badge/vscode-badge.js +1 -1
  17. package/dist/vscode-badge/vscode-badge.js.map +1 -1
  18. package/dist/vscode-badge/vscode-badge.styles.d.ts.map +1 -1
  19. package/dist/vscode-badge/vscode-badge.styles.js +8 -4
  20. package/dist/vscode-badge/vscode-badge.styles.js.map +1 -1
  21. package/dist/vscode-button/vscode-button.d.ts +0 -2
  22. package/dist/vscode-button/vscode-button.d.ts.map +1 -1
  23. package/dist/vscode-button/vscode-button.js +10 -24
  24. package/dist/vscode-button/vscode-button.js.map +1 -1
  25. package/dist/vscode-button/vscode-button.styles.d.ts.map +1 -1
  26. package/dist/vscode-button/vscode-button.styles.js +31 -18
  27. package/dist/vscode-button/vscode-button.styles.js.map +1 -1
  28. package/dist/vscode-button-group/vscode-button-group.d.ts.map +1 -1
  29. package/dist/vscode-button-group/vscode-button-group.js +2 -3
  30. package/dist/vscode-button-group/vscode-button-group.js.map +1 -1
  31. package/dist/vscode-button-group/vscode-button-group.styles.d.ts.map +1 -1
  32. package/dist/vscode-button-group/vscode-button-group.styles.js +17 -13
  33. package/dist/vscode-button-group/vscode-button-group.styles.js.map +1 -1
  34. package/dist/vscode-checkbox/vscode-checkbox.d.ts.map +1 -1
  35. package/dist/vscode-checkbox/vscode-checkbox.js +0 -10
  36. package/dist/vscode-checkbox/vscode-checkbox.js.map +1 -1
  37. package/dist/vscode-collapsible/vscode-collapsible.d.ts +11 -2
  38. package/dist/vscode-collapsible/vscode-collapsible.d.ts.map +1 -1
  39. package/dist/vscode-collapsible/vscode-collapsible.js +16 -4
  40. package/dist/vscode-collapsible/vscode-collapsible.js.map +1 -1
  41. package/dist/vscode-context-menu/vscode-context-menu.d.ts +0 -1
  42. package/dist/vscode-context-menu/vscode-context-menu.d.ts.map +1 -1
  43. package/dist/vscode-context-menu/vscode-context-menu.js +0 -18
  44. package/dist/vscode-context-menu/vscode-context-menu.js.map +1 -1
  45. package/dist/vscode-context-menu/vscode-context-menu.styles.js +4 -4
  46. package/dist/vscode-context-menu/vscode-context-menu.styles.js.map +1 -1
  47. package/dist/vscode-context-menu-item/vscode-context-menu-item.styles.js +4 -4
  48. package/dist/vscode-context-menu-item/vscode-context-menu-item.styles.js.map +1 -1
  49. package/dist/vscode-divider/vscode-divider.js +1 -1
  50. package/dist/vscode-divider/vscode-divider.js.map +1 -1
  51. package/dist/vscode-divider/vscode-divider.styles.d.ts.map +1 -1
  52. package/dist/vscode-divider/vscode-divider.styles.js +5 -2
  53. package/dist/vscode-divider/vscode-divider.styles.js.map +1 -1
  54. package/dist/vscode-form-container/vscode-form-container.d.ts +0 -5
  55. package/dist/vscode-form-container/vscode-form-container.d.ts.map +1 -1
  56. package/dist/vscode-form-container/vscode-form-container.js +0 -63
  57. package/dist/vscode-form-container/vscode-form-container.js.map +1 -1
  58. package/dist/vscode-label/vscode-label.styles.js +6 -6
  59. package/dist/vscode-label/vscode-label.styles.js.map +1 -1
  60. package/dist/vscode-multi-select/vscode-multi-select.d.ts.map +1 -1
  61. package/dist/vscode-multi-select/vscode-multi-select.js +0 -7
  62. package/dist/vscode-multi-select/vscode-multi-select.js.map +1 -1
  63. package/dist/vscode-progress-ring/vscode-progress-ring.styles.d.ts.map +1 -1
  64. package/dist/vscode-progress-ring/vscode-progress-ring.styles.js +0 -1
  65. package/dist/vscode-progress-ring/vscode-progress-ring.styles.js.map +1 -1
  66. package/dist/vscode-radio/vscode-radio.d.ts +0 -1
  67. package/dist/vscode-radio/vscode-radio.d.ts.map +1 -1
  68. package/dist/vscode-radio/vscode-radio.js +0 -14
  69. package/dist/vscode-radio/vscode-radio.js.map +1 -1
  70. package/dist/vscode-scrollable/vscode-scrollable.d.ts +0 -1
  71. package/dist/vscode-scrollable/vscode-scrollable.d.ts.map +1 -1
  72. package/dist/vscode-scrollable/vscode-scrollable.js +7 -9
  73. package/dist/vscode-scrollable/vscode-scrollable.js.map +1 -1
  74. package/dist/vscode-single-select/vscode-single-select.d.ts +0 -1
  75. package/dist/vscode-single-select/vscode-single-select.d.ts.map +1 -1
  76. package/dist/vscode-single-select/vscode-single-select.js +0 -10
  77. package/dist/vscode-single-select/vscode-single-select.js.map +1 -1
  78. package/dist/vscode-tab-header/vscode-tab-header.d.ts +5 -6
  79. package/dist/vscode-tab-header/vscode-tab-header.d.ts.map +1 -1
  80. package/dist/vscode-tab-header/vscode-tab-header.js +5 -6
  81. package/dist/vscode-tab-header/vscode-tab-header.js.map +1 -1
  82. package/dist/vscode-tab-header/vscode-tab-header.styles.d.ts.map +1 -1
  83. package/dist/vscode-tab-header/vscode-tab-header.styles.js +19 -12
  84. package/dist/vscode-tab-header/vscode-tab-header.styles.js.map +1 -1
  85. package/dist/vscode-tab-panel/vscode-tab-panel.d.ts +2 -2
  86. package/dist/vscode-tab-panel/vscode-tab-panel.js +2 -2
  87. package/dist/vscode-tab-panel/vscode-tab-panel.js.map +1 -1
  88. package/dist/vscode-tab-panel/vscode-tab-panel.styles.js +2 -2
  89. package/dist/vscode-tab-panel/vscode-tab-panel.styles.js.map +1 -1
  90. package/dist/vscode-table/vscode-table.d.ts +3 -7
  91. package/dist/vscode-table/vscode-table.d.ts.map +1 -1
  92. package/dist/vscode-table/vscode-table.js +3 -7
  93. package/dist/vscode-table/vscode-table.js.map +1 -1
  94. package/dist/vscode-table/vscode-table.styles.d.ts.map +1 -1
  95. package/dist/vscode-table/vscode-table.styles.js +17 -5
  96. package/dist/vscode-table/vscode-table.styles.js.map +1 -1
  97. package/dist/vscode-table-body/vscode-table-body.d.ts +0 -2
  98. package/dist/vscode-table-body/vscode-table-body.d.ts.map +1 -1
  99. package/dist/vscode-table-body/vscode-table-body.js +0 -2
  100. package/dist/vscode-table-body/vscode-table-body.js.map +1 -1
  101. package/dist/vscode-table-cell/vscode-table-cell.d.ts +4 -4
  102. package/dist/vscode-table-cell/vscode-table-cell.js +4 -4
  103. package/dist/vscode-table-cell/vscode-table-cell.js.map +1 -1
  104. package/dist/vscode-table-cell/vscode-table-cell.styles.d.ts.map +1 -1
  105. package/dist/vscode-table-cell/vscode-table-cell.styles.js +7 -4
  106. package/dist/vscode-table-cell/vscode-table-cell.styles.js.map +1 -1
  107. package/dist/vscode-table-header/vscode-table-header.d.ts +1 -1
  108. package/dist/vscode-table-header/vscode-table-header.js +1 -1
  109. package/dist/vscode-table-header/vscode-table-header.js.map +1 -1
  110. package/dist/vscode-table-header/vscode-table-header.styles.d.ts.map +1 -1
  111. package/dist/vscode-table-header/vscode-table-header.styles.js +4 -1
  112. package/dist/vscode-table-header/vscode-table-header.styles.js.map +1 -1
  113. package/dist/vscode-table-header-cell/vscode-table-header-cell.d.ts +3 -3
  114. package/dist/vscode-table-header-cell/vscode-table-header-cell.js +3 -3
  115. package/dist/vscode-table-header-cell/vscode-table-header-cell.js.map +1 -1
  116. package/dist/vscode-table-header-cell/vscode-table-header-cell.styles.js +3 -3
  117. package/dist/vscode-table-header-cell/vscode-table-header-cell.styles.js.map +1 -1
  118. package/dist/vscode-table-row/vscode-table-row.d.ts +1 -1
  119. package/dist/vscode-table-row/vscode-table-row.js +1 -1
  120. package/dist/vscode-table-row/vscode-table-row.js.map +1 -1
  121. package/dist/vscode-table-row/vscode-table-row.styles.d.ts.map +1 -1
  122. package/dist/vscode-table-row/vscode-table-row.styles.js +4 -1
  123. package/dist/vscode-table-row/vscode-table-row.styles.js.map +1 -1
  124. package/dist/vscode-tabs/vscode-tabs.d.ts +5 -7
  125. package/dist/vscode-tabs/vscode-tabs.d.ts.map +1 -1
  126. package/dist/vscode-tabs/vscode-tabs.js +12 -18
  127. package/dist/vscode-tabs/vscode-tabs.js.map +1 -1
  128. package/dist/vscode-tabs/vscode-tabs.styles.d.ts.map +1 -1
  129. package/dist/vscode-tabs/vscode-tabs.styles.js +10 -5
  130. package/dist/vscode-tabs/vscode-tabs.styles.js.map +1 -1
  131. package/dist/vscode-textarea/vscode-textarea.d.ts.map +1 -1
  132. package/dist/vscode-textarea/vscode-textarea.js +2 -10
  133. package/dist/vscode-textarea/vscode-textarea.js.map +1 -1
  134. package/dist/vscode-textarea/vscode-textarea.styles.js +1 -1
  135. package/dist/vscode-textarea/vscode-textarea.styles.js.map +1 -1
  136. package/dist/vscode-textfield/vscode-textfield.d.ts.map +1 -1
  137. package/dist/vscode-textfield/vscode-textfield.js +31 -35
  138. package/dist/vscode-textfield/vscode-textfield.js.map +1 -1
  139. package/dist/vscode-textfield/vscode-textfield.styles.d.ts.map +1 -1
  140. package/dist/vscode-textfield/vscode-textfield.styles.js +8 -3
  141. package/dist/vscode-textfield/vscode-textfield.styles.js.map +1 -1
  142. package/dist/vscode-toolbar-container/vscode-toolbar-container.js +1 -1
  143. package/dist/vscode-toolbar-container/vscode-toolbar-container.js.map +1 -1
  144. package/dist/vscode-toolbar-container/vscode-toolbar-container.styles.d.ts.map +1 -1
  145. package/dist/vscode-toolbar-container/vscode-toolbar-container.styles.js +4 -0
  146. package/dist/vscode-toolbar-container/vscode-toolbar-container.styles.js.map +1 -1
  147. package/dist/vscode-tree/vscode-tree.d.ts +18 -17
  148. package/dist/vscode-tree/vscode-tree.d.ts.map +1 -1
  149. package/dist/vscode-tree/vscode-tree.js +32 -36
  150. package/dist/vscode-tree/vscode-tree.js.map +1 -1
  151. package/dist/vscode-tree/vscode-tree.styles.d.ts.map +1 -1
  152. package/dist/vscode-tree/vscode-tree.styles.js +13 -6
  153. package/dist/vscode-tree/vscode-tree.styles.js.map +1 -1
  154. package/dist/vscode-tree-item/vscode-tree-item.d.ts.map +1 -1
  155. package/dist/vscode-tree-item/vscode-tree-item.js +2 -2
  156. package/dist/vscode-tree-item/vscode-tree-item.js.map +1 -1
  157. package/dist/vscode-tree-item/vscode-tree-item.styles.d.ts.map +1 -1
  158. package/dist/vscode-tree-item/vscode-tree-item.styles.js +25 -10
  159. package/dist/vscode-tree-item/vscode-tree-item.styles.js.map +1 -1
  160. package/package.json +1 -1
  161. package/vscode.css-custom-data.json +35 -31
  162. package/vscode.html-custom-data.json +57 -68
@@ -261,6 +261,214 @@
261
261
  }
262
262
  ],
263
263
  "description": "A testing utility that drags an element with the mouse."
264
+ },
265
+ {
266
+ "kind": "function",
267
+ "name": "$",
268
+ "return": {
269
+ "type": {
270
+ "text": "TagNameToElement<K>"
271
+ }
272
+ },
273
+ "parameters": [
274
+ {
275
+ "name": "selector",
276
+ "type": {
277
+ "text": "K"
278
+ }
279
+ }
280
+ ]
281
+ },
282
+ {
283
+ "kind": "function",
284
+ "name": "$",
285
+ "return": {
286
+ "type": {
287
+ "text": "TagNameToElement<K>"
288
+ }
289
+ },
290
+ "parameters": [
291
+ {
292
+ "name": "root",
293
+ "type": {
294
+ "text": "Element"
295
+ }
296
+ },
297
+ {
298
+ "name": "selector",
299
+ "type": {
300
+ "text": "K"
301
+ }
302
+ }
303
+ ]
304
+ },
305
+ {
306
+ "kind": "function",
307
+ "name": "$",
308
+ "return": {
309
+ "type": {
310
+ "text": "T"
311
+ }
312
+ },
313
+ "parameters": [
314
+ {
315
+ "name": "selector",
316
+ "type": {
317
+ "text": "string"
318
+ }
319
+ }
320
+ ]
321
+ },
322
+ {
323
+ "kind": "function",
324
+ "name": "$",
325
+ "return": {
326
+ "type": {
327
+ "text": "T"
328
+ }
329
+ },
330
+ "parameters": [
331
+ {
332
+ "name": "root",
333
+ "type": {
334
+ "text": "Element"
335
+ }
336
+ },
337
+ {
338
+ "name": "selector",
339
+ "type": {
340
+ "text": "string"
341
+ }
342
+ }
343
+ ]
344
+ },
345
+ {
346
+ "kind": "function",
347
+ "name": "$",
348
+ "return": {
349
+ "type": {
350
+ "text": "T"
351
+ }
352
+ },
353
+ "parameters": [
354
+ {
355
+ "name": "arg1",
356
+ "type": {
357
+ "text": "string | Element"
358
+ }
359
+ },
360
+ {
361
+ "name": "arg2",
362
+ "optional": true,
363
+ "type": {
364
+ "text": "string"
365
+ }
366
+ }
367
+ ]
368
+ },
369
+ {
370
+ "kind": "function",
371
+ "name": "$$",
372
+ "return": {
373
+ "type": {
374
+ "text": "NodeListOf<TagNameToElement<K>>"
375
+ }
376
+ },
377
+ "parameters": [
378
+ {
379
+ "name": "selector",
380
+ "type": {
381
+ "text": "K"
382
+ }
383
+ }
384
+ ]
385
+ },
386
+ {
387
+ "kind": "function",
388
+ "name": "$$",
389
+ "return": {
390
+ "type": {
391
+ "text": "NodeListOf<TagNameToElement<K>>"
392
+ }
393
+ },
394
+ "parameters": [
395
+ {
396
+ "name": "root",
397
+ "type": {
398
+ "text": "Element"
399
+ }
400
+ },
401
+ {
402
+ "name": "selector",
403
+ "type": {
404
+ "text": "K"
405
+ }
406
+ }
407
+ ]
408
+ },
409
+ {
410
+ "kind": "function",
411
+ "name": "$$",
412
+ "return": {
413
+ "type": {
414
+ "text": "NodeListOf<T>"
415
+ }
416
+ },
417
+ "parameters": [
418
+ {
419
+ "name": "selector",
420
+ "type": {
421
+ "text": "string"
422
+ }
423
+ }
424
+ ]
425
+ },
426
+ {
427
+ "kind": "function",
428
+ "name": "$$",
429
+ "return": {
430
+ "type": {
431
+ "text": "NodeListOf<T>"
432
+ }
433
+ },
434
+ "parameters": [
435
+ {
436
+ "name": "root",
437
+ "type": {
438
+ "text": "Element"
439
+ }
440
+ },
441
+ {
442
+ "name": "selector",
443
+ "type": {
444
+ "text": "string"
445
+ }
446
+ }
447
+ ]
448
+ },
449
+ {
450
+ "kind": "function",
451
+ "name": "$$",
452
+ "return": {
453
+ "type": {
454
+ "text": "NodeListOf<T>"
455
+ }
456
+ },
457
+ "parameters": [
458
+ {
459
+ "name": "arg1",
460
+ "type": {
461
+ "text": "string | Element"
462
+ }
463
+ },
464
+ {
465
+ "name": "arg2",
466
+ "optional": true,
467
+ "type": {
468
+ "text": "string"
469
+ }
470
+ }
471
+ ]
264
472
  }
265
473
  ],
266
474
  "exports": [
@@ -287,6 +495,86 @@
287
495
  "name": "dragElement",
288
496
  "module": "src/includes/test-helpers.ts"
289
497
  }
498
+ },
499
+ {
500
+ "kind": "js",
501
+ "name": "$",
502
+ "declaration": {
503
+ "name": "$",
504
+ "module": "src/includes/test-helpers.ts"
505
+ }
506
+ },
507
+ {
508
+ "kind": "js",
509
+ "name": "$",
510
+ "declaration": {
511
+ "name": "$",
512
+ "module": "src/includes/test-helpers.ts"
513
+ }
514
+ },
515
+ {
516
+ "kind": "js",
517
+ "name": "$",
518
+ "declaration": {
519
+ "name": "$",
520
+ "module": "src/includes/test-helpers.ts"
521
+ }
522
+ },
523
+ {
524
+ "kind": "js",
525
+ "name": "$",
526
+ "declaration": {
527
+ "name": "$",
528
+ "module": "src/includes/test-helpers.ts"
529
+ }
530
+ },
531
+ {
532
+ "kind": "js",
533
+ "name": "$",
534
+ "declaration": {
535
+ "name": "$",
536
+ "module": "src/includes/test-helpers.ts"
537
+ }
538
+ },
539
+ {
540
+ "kind": "js",
541
+ "name": "$$",
542
+ "declaration": {
543
+ "name": "$$",
544
+ "module": "src/includes/test-helpers.ts"
545
+ }
546
+ },
547
+ {
548
+ "kind": "js",
549
+ "name": "$$",
550
+ "declaration": {
551
+ "name": "$$",
552
+ "module": "src/includes/test-helpers.ts"
553
+ }
554
+ },
555
+ {
556
+ "kind": "js",
557
+ "name": "$$",
558
+ "declaration": {
559
+ "name": "$$",
560
+ "module": "src/includes/test-helpers.ts"
561
+ }
562
+ },
563
+ {
564
+ "kind": "js",
565
+ "name": "$$",
566
+ "declaration": {
567
+ "name": "$$",
568
+ "module": "src/includes/test-helpers.ts"
569
+ }
570
+ },
571
+ {
572
+ "kind": "js",
573
+ "name": "$$",
574
+ "declaration": {
575
+ "name": "$$",
576
+ "module": "src/includes/test-helpers.ts"
577
+ }
290
578
  }
291
579
  ]
292
580
  },
@@ -326,7 +614,7 @@
326
614
  "type": {
327
615
  "text": "CSSResultGroup"
328
616
  },
329
- "default": "[ defaultStyles, css` :host { background-color: var(--vscode-badge-background, #616161); border: 1px solid var(--vscode-contrastBorder, transparent); border-radius: 2px; box-sizing: border-box; color: var(--vscode-badge-foreground, #f8f8f8); display: inline-block; font-family: var(--vscode-font-family, ${defaultFontStack}); font-size: 11px; font-weight: 400; line-height: 14px; min-width: 18px; padding: 2px 3px; text-align: center; white-space: nowrap; } :host([variant='counter']) { border-radius: 11px; line-height: 11px; min-height: 18px; min-width: 18px; padding: 3px 6px; } :host([variant='activity-bar-counter']) { background-color: var(--vscode-activityBarBadge-background, #0078d4); border-radius: 20px; color: var(--vscode-activityBarBadge-foreground, #ffffff); font-size: 9px; font-weight: 600; line-height: 16px; padding: 0 4px; } :host([variant='tab-header-counter']) { background-color: var(--vscode-activityBarBadge-background, #0078d4); border-radius: 10px; color: var(--vscode-activityBarBadge-foreground, #ffffff); line-height: 10px; min-height: 16px; min-width: 16px; padding: 3px 5px; } `, ]"
617
+ "default": "[ defaultStyles, css` :host { display: inline-block; } .root { background-color: var(--vscode-badge-background, #616161); border: 1px solid var(--vscode-contrastBorder, transparent); border-radius: 2px; box-sizing: border-box; color: var(--vscode-badge-foreground, #f8f8f8); display: block; font-family: var(--vscode-font-family, ${defaultFontStack}); font-size: 11px; font-weight: 400; line-height: 14px; min-width: 18px; padding: 2px 3px; text-align: center; white-space: nowrap; } :host([variant='counter']) .root { border-radius: 11px; line-height: 11px; min-height: 18px; min-width: 18px; padding: 3px 6px; } :host([variant='activity-bar-counter']) .root { background-color: var(--vscode-activityBarBadge-background, #0078d4); border-radius: 20px; color: var(--vscode-activityBarBadge-foreground, #ffffff); font-size: 9px; font-weight: 600; line-height: 16px; padding: 0 4px; } :host([variant='tab-header-counter']) .root { background-color: var(--vscode-activityBarBadge-background, #0078d4); border-radius: 10px; color: var(--vscode-activityBarBadge-foreground, #ffffff); line-height: 10px; min-height: 16px; min-width: 16px; padding: 3px 5px; } `, ]"
330
618
  }
331
619
  ],
332
620
  "exports": [
@@ -451,7 +739,7 @@
451
739
  "type": {
452
740
  "text": "CSSResultGroup"
453
741
  },
454
- "default": "[ defaultStyles, css` :host { background-color: var(--vscode-button-background, #0078d4); border-color: var(--vscode-button-border, transparent); border-style: solid; border-radius: 2px; border-width: 1px; color: var(--vscode-button-foreground, #ffffff); cursor: pointer; display: inline-flex; font-family: var(--vscode-font-family, ${defaultFontStack}); font-size: var(--vscode-font-size, 13px); font-weight: var(--vscode-font-weight, normal); line-height: 22px; overflow: hidden; padding: 0; user-select: none; white-space: nowrap; } :host([secondary]) { color: var(--vscode-button-secondaryForeground, #cccccc); background-color: var(--vscode-button-secondaryBackground, #313131); border-color: var( --vscode-button-border, var(--vscode-button-secondaryBackground, rgba(255, 255, 255, 0.07)) ); } :host([disabled]) { cursor: default; opacity: 0.4; pointer-events: none; } :host(:hover) { background-color: var(--vscode-button-hoverBackground, #026ec1); } :host([disabled]:hover) { background-color: var(--vscode-button-background, #0078d4); } :host([secondary]:hover) { background-color: var(--vscode-button-secondaryHoverBackground, #3c3c3c); } :host([secondary][disabled]:hover) { background-color: var(--vscode-button-secondaryBackground, #313131); } :host(:focus), :host(:active) { outline: none; } :host(:focus) { background-color: var(--vscode-button-hoverBackground, #026ec1); outline: 1px solid var(--vscode-focusBorder, #0078d4); outline-offset: 2px; } :host([disabled]:focus) { background-color: var(--vscode-button-background, #0078d4); outline: 0; } :host([secondary]:focus) { background-color: var(--vscode-button-secondaryHoverBackground, #3c3c3c); } :host([secondary][disabled]:focus) { background-color: var(--vscode-button-secondaryBackground, #313131); } ::slotted(*) { display: inline-block; margin-left: 4px; margin-right: 4px; } ::slotted(*:first-child) { margin-left: 0; } ::slotted(*:last-child) { margin-right: 0; } ::slotted(vscode-icon) { color: inherit; } .wrapper { align-items: center; box-sizing: border-box; display: flex; justify-content: center; position: relative; width: var(--wrapper-width, 100%); height: 100%; padding: 1px 13px; } :host(:empty) .wrapper, :host([icon-only]) .wrapper { min-height: 24px; min-width: 16px; padding: 1px 5px; } slot { align-items: center; display: flex; height: 100%; } .icon, .icon-after { color: inherit; display: block; } :host(:not(:empty)) .icon { margin-right: 3px; } :host(:not(:empty)) .icon-after, :host([icon]) .icon-after { margin-left: 3px; } .divider { display: var(--divider-display, none); background-color: transparent; padding: 4px 0; box-sizing: border-box; } :host(:hover) .divider, :host(:focus) .divider { background-color: var(--vscode-button-hoverBackground, #026ec1); } :host([secondary]) .divider { background-color: var(--vscode-button-secondaryBackground, #313131); } :host([secondary]:hover) .divider, :host([secondary]:focus) .divider { background-color: var(--vscode-button-secondaryHoverBackground, #3c3c3c); } .divider > div { background-color: var( --vscode-button-separator, rgba(255, 255, 255, 0.4) ); height: 100%; width: 1px; margin: 0; } :host([secondary]) .divider > div { background-color: var(--vscode-button-secondaryForeground, #cccccc); opacity: 0.4; } `, ]"
742
+ "default": "[ defaultStyles, css` :host { cursor: pointer; display: inline-block; width: auto; } .root { background-color: var(--vscode-button-background, #0078d4); border-bottom-left-radius: var(--vsc-border-left-radius, 2px); border-bottom-right-radius: var(--vsc-border-right-radius, 2px); border-bottom-width: 1px; border-color: var(--vscode-button-border, transparent); border-left-width: var(--vsc-border-left-width, 1px); border-right-width: var(--vsc-border-right-width, 1px); border-style: solid; border-top-left-radius: var(--vsc-border-left-radius, 2px); border-top-right-radius: var(--vsc-border-right-radius, 2px); border-top-width: 1px; box-sizing: border-box; color: var(--vscode-button-foreground, #ffffff); display: inline-flex; font-family: var(--vscode-font-family, ${defaultFontStack}); font-size: var(--vscode-font-size, 13px); font-weight: var(--vscode-font-weight, normal); line-height: 22px; overflow: hidden; padding: 0; user-select: none; white-space: nowrap; width: 100%; } :host([secondary]) .root { color: var(--vscode-button-secondaryForeground, #cccccc); background-color: var(--vscode-button-secondaryBackground, #313131); border-color: var( --vscode-button-border, var(--vscode-button-secondaryBackground, rgba(255, 255, 255, 0.07)) ); } :host([disabled]) { cursor: default; opacity: 0.4; pointer-events: none; } :host(:hover) .root { background-color: var(--vscode-button-hoverBackground, #026ec1); } :host([disabled]:hover) .root { background-color: var(--vscode-button-background, #0078d4); } :host([secondary]:hover) .root { background-color: var(--vscode-button-secondaryHoverBackground, #3c3c3c); } :host([secondary][disabled]:hover) .root { background-color: var(--vscode-button-secondaryBackground, #313131); } :host(:focus), :host(:active) { outline: none; } :host(:focus) .root { background-color: var(--vscode-button-hoverBackground, #026ec1); outline: 1px solid var(--vscode-focusBorder, #0078d4); outline-offset: 2px; } :host([disabled]:focus) .root { background-color: var(--vscode-button-background, #0078d4); outline: 0; } :host([secondary]:focus) .root { background-color: var(--vscode-button-secondaryHoverBackground, #3c3c3c); } :host([secondary][disabled]:focus) .root { background-color: var(--vscode-button-secondaryBackground, #313131); } ::slotted(*) { display: inline-block; margin-left: 4px; margin-right: 4px; } ::slotted(*:first-child) { margin-left: 0; } ::slotted(*:last-child) { margin-right: 0; } ::slotted(vscode-icon) { color: inherit; } .content { align-items: center; box-sizing: border-box; display: flex; justify-content: center; position: relative; width: 100%; height: 100%; padding: 1px 13px; } :host(:empty) .content, :host([icon-only]) .content { min-height: 24px; min-width: 16px; padding: 1px 4px; } slot { align-items: center; display: flex; height: 100%; } .icon, .icon-after { color: inherit; display: block; } :host(:not(:empty)) .icon { margin-right: 3px; } :host(:not(:empty)) .icon-after, :host([icon]) .icon-after { margin-left: 3px; } .divider { display: var(--vsc-divider-display, none); background-color: transparent; padding: 4px 0; box-sizing: border-box; } :host(:hover) .divider, :host(:focus) .divider { background-color: var(--vscode-button-hoverBackground, #026ec1); } :host([secondary]) .divider { background-color: var(--vscode-button-secondaryBackground, #313131); } :host([secondary]:hover) .divider, :host([secondary]:focus) .divider { background-color: var(--vscode-button-secondaryHoverBackground, #3c3c3c); } .divider > div { background-color: var( --vscode-button-separator, rgba(255, 255, 255, 0.4) ); height: 100%; width: 1px; margin: 0; } :host([secondary]) .divider > div { background-color: var(--vscode-button-secondaryForeground, #cccccc); opacity: 0.4; } `, ]"
455
743
  }
456
744
  ],
457
745
  "exports": [
@@ -743,16 +1031,6 @@
743
1031
  }
744
1032
  }
745
1033
  ],
746
- "events": [
747
- {
748
- "name": "vsc-click",
749
- "type": {
750
- "text": "CustomEvent"
751
- },
752
- "deprecated": "Please use the standard `click` event.",
753
- "description": "Dispatched only when button is not in disabled state."
754
- }
755
- ],
756
1034
  "attributes": [
757
1035
  {
758
1036
  "name": "autofocus",
@@ -909,7 +1187,7 @@
909
1187
  "type": {
910
1188
  "text": "CSSResultGroup"
911
1189
  },
912
- "default": "[ defaultStyles, css` :host { display: inline-flex; align-items: stretch; padding: 0; border: none; overflow: hidden; } ::slotted(vscode-button:not(:first-child)) { border-top-left-radius: 0; border-bottom-left-radius: 0; border-left-width: 0; } ::slotted(vscode-button:not(:last-child)) { --divider-display: block; --wrapper-width: calc(100% - 1px); border-top-right-radius: 0; border-bottom-right-radius: 0; border-right-width: 0; } ::slotted(vscode-button:focus) { z-index: 1; } `, ]"
1190
+ "default": "[ defaultStyles, css` :host { display: inline-block; } .root { align-items: stretch; display: flex; width: 100%; } ::slotted(vscode-button:not(:first-child)) { --vsc-border-left-width: 0; --vsc-border-left-radius: 0; --vsc-border-left-width: 0; } ::slotted(vscode-button:not(:last-child)) { --vsc-divider-display: block; --vsc-border-right-width: 0; --vsc-border-right-radius: 0; --vsc-border-right-width: 0; } ::slotted(vscode-button:focus) { z-index: 1; } ::slotted(vscode-button:not(:empty)) { width: 100%; } `, ]"
913
1191
  }
914
1192
  ],
915
1193
  "exports": [
@@ -1427,13 +1705,6 @@
1427
1705
  },
1428
1706
  "description": "Dispatched when checked state is changed. The event is bubbled, so it can be listened on a parent element like the `CheckboxGroup`."
1429
1707
  },
1430
- {
1431
- "name": "vsc-change",
1432
- "type": {
1433
- "text": "CustomEvent"
1434
- },
1435
- "deprecated": "true"
1436
- },
1437
1708
  {
1438
1709
  "type": {
1439
1710
  "text": "Event"
@@ -1759,8 +2030,19 @@
1759
2030
  },
1760
2031
  "default": "''",
1761
2032
  "description": "Component heading text",
2033
+ "deprecated": "The `title` is a global HTML attribute and will unintentionally trigger a native\ntooltip on the component. Use the `heading` property instead.",
1762
2034
  "attribute": "title"
1763
2035
  },
2036
+ {
2037
+ "kind": "field",
2038
+ "name": "heading",
2039
+ "type": {
2040
+ "text": "string"
2041
+ },
2042
+ "default": "''",
2043
+ "description": "Heading text.",
2044
+ "attribute": "heading"
2045
+ },
1764
2046
  {
1765
2047
  "kind": "field",
1766
2048
  "name": "description",
@@ -1768,7 +2050,7 @@
1768
2050
  "text": "string"
1769
2051
  },
1770
2052
  "default": "''",
1771
- "description": "Less prominent text than the title in the header",
2053
+ "description": "Less prominent text in the header.",
1772
2054
  "attribute": "description"
1773
2055
  },
1774
2056
  {
@@ -1835,15 +2117,25 @@
1835
2117
  },
1836
2118
  "default": "''",
1837
2119
  "description": "Component heading text",
2120
+ "deprecated": "The `title` is a global HTML attribute and will unintentionally trigger a native\ntooltip on the component. Use the `heading` property instead.",
1838
2121
  "fieldName": "title"
1839
2122
  },
2123
+ {
2124
+ "name": "heading",
2125
+ "type": {
2126
+ "text": "string"
2127
+ },
2128
+ "default": "''",
2129
+ "description": "Heading text.",
2130
+ "fieldName": "heading"
2131
+ },
1840
2132
  {
1841
2133
  "name": "description",
1842
2134
  "type": {
1843
2135
  "text": "string"
1844
2136
  },
1845
2137
  "default": "''",
1846
- "description": "Less prominent text than the title in the header",
2138
+ "description": "Less prominent text in the header.",
1847
2139
  "fieldName": "description"
1848
2140
  },
1849
2141
  {
@@ -1884,7 +2176,7 @@
1884
2176
  },
1885
2177
  {
1886
2178
  "kind": "javascript-module",
1887
- "path": "src/vscode-context-menu-item/vscode-context-menu-item.styles.ts",
2179
+ "path": "src/vscode-context-menu/vscode-context-menu.styles.ts",
1888
2180
  "declarations": [
1889
2181
  {
1890
2182
  "kind": "variable",
@@ -1892,7 +2184,7 @@
1892
2184
  "type": {
1893
2185
  "text": "CSSResultGroup"
1894
2186
  },
1895
- "default": "[ defaultStyles, css` :host { display: block; font-family: var(--vscode-font-family, sans-serif); font-size: var(--vscode-font-size, 13px); font-weight: var(--vscode-font-weight, normal); line-height: 1.4em; outline: none; position: relative; } .context-menu-item { background-color: var(--vscode-menu-background, #1f1f1f); color: var(--vscode-menu-foreground, #cccccc); display: flex; user-select: none; white-space: nowrap; } .ruler { border-bottom: 1px solid var(--vscode-menu-separatorBackground, #454545); display: block; margin: 0 0 4px; padding-top: 4px; width: 100%; } .context-menu-item a { align-items: center; border-color: transparent; border-radius: 3px; border-style: solid; border-width: 1px; box-sizing: border-box; color: var(--vscode-menu-foreground, #cccccc); cursor: pointer; display: flex; flex: 1 1 auto; height: 2em; margin-left: 4px; margin-right: 4px; outline: none; position: relative; text-decoration: inherit; } :host([selected]) .context-menu-item a { background-color: var(--vscode-menu-selectionBackground, #0078d4); border-color: var(--vscode-menu-selectionBorder, transparent); color: var(--vscode-menu-selectionForeground, #ffffff); } .label { background: none; display: flex; flex: 1 1 auto; font-size: 12px; line-height: 1; padding: 0 22px; text-decoration: none; } .keybinding { display: block; flex: 2 1 auto; line-height: 1; padding: 0 22px; text-align: right; } `, ]"
2187
+ "default": "[ defaultStyles, css` :host { display: block; position: relative; } .context-menu { background-color: var(--vscode-menu-background, #1f1f1f); border-color: var(--vscode-menu-border, #454545); border-radius: 5px; border-style: solid; border-width: 1px; box-shadow: 0 2px 8px var(--vscode-widget-shadow, rgba(0, 0, 0, 0.36)); color: var(--vscode-menu-foreground, #cccccc); font-family: var(--vscode-font-family, sans-serif); font-size: var(--vscode-font-size, 13px); font-weight: var(--vscode-font-weight, normal); line-height: 1.4em; padding: 4px 0; white-space: nowrap; } .context-menu:focus { outline: 0; } `, ]"
1896
2188
  }
1897
2189
  ],
1898
2190
  "exports": [
@@ -1901,224 +2193,19 @@
1901
2193
  "name": "default",
1902
2194
  "declaration": {
1903
2195
  "name": "styles",
1904
- "module": "src/vscode-context-menu-item/vscode-context-menu-item.styles.ts"
2196
+ "module": "src/vscode-context-menu/vscode-context-menu.styles.ts"
1905
2197
  }
1906
2198
  }
1907
2199
  ]
1908
2200
  },
1909
2201
  {
1910
2202
  "kind": "javascript-module",
1911
- "path": "src/vscode-context-menu-item/vscode-context-menu-item.ts",
2203
+ "path": "src/vscode-context-menu/vscode-context-menu.ts",
1912
2204
  "declarations": [
1913
2205
  {
1914
2206
  "kind": "class",
1915
2207
  "description": "",
1916
- "name": "VscodeContextMenuItem",
1917
- "cssProperties": [
1918
- {
1919
- "name": "--vscode-font-family",
1920
- "default": "sans-serif"
1921
- },
1922
- {
1923
- "name": "--vscode-font-size",
1924
- "default": "13px"
1925
- },
1926
- {
1927
- "name": "--vscode-font-weight",
1928
- "default": "normal"
1929
- },
1930
- {
1931
- "name": "--vscode-menu-background",
1932
- "default": "#1f1f1f"
1933
- },
1934
- {
1935
- "name": "--vscode-menu-selectionBorder",
1936
- "default": "transparent"
1937
- },
1938
- {
1939
- "name": "--vscode-menu-foreground",
1940
- "default": "#cccccc"
1941
- },
1942
- {
1943
- "name": "--vscode-menu-selectionBackground",
1944
- "default": "#0078d4"
1945
- },
1946
- {
1947
- "name": "--vscode-menu-selectionForeground",
1948
- "default": "#ffffff"
1949
- },
1950
- {
1951
- "name": "--vscode-menu-separatorBackground",
1952
- "default": "#454545"
1953
- }
1954
- ],
1955
- "members": [
1956
- {
1957
- "kind": "field",
1958
- "name": "label",
1959
- "type": {
1960
- "text": "string"
1961
- },
1962
- "default": "''",
1963
- "attribute": "label"
1964
- },
1965
- {
1966
- "kind": "field",
1967
- "name": "keybinding",
1968
- "type": {
1969
- "text": "string"
1970
- },
1971
- "default": "''",
1972
- "attribute": "keybinding"
1973
- },
1974
- {
1975
- "kind": "field",
1976
- "name": "value",
1977
- "type": {
1978
- "text": "string"
1979
- },
1980
- "default": "''",
1981
- "attribute": "value"
1982
- },
1983
- {
1984
- "kind": "field",
1985
- "name": "separator",
1986
- "type": {
1987
- "text": "boolean"
1988
- },
1989
- "default": "false",
1990
- "attribute": "separator",
1991
- "reflects": true
1992
- },
1993
- {
1994
- "kind": "field",
1995
- "name": "tabindex",
1996
- "type": {
1997
- "text": "number"
1998
- },
1999
- "default": "0",
2000
- "attribute": "tabindex"
2001
- },
2002
- {
2003
- "kind": "method",
2004
- "name": "onItemClick",
2005
- "privacy": "private"
2006
- },
2007
- {
2008
- "kind": "field",
2009
- "name": "version",
2010
- "type": {
2011
- "text": "string"
2012
- },
2013
- "description": "VSCode Elements version",
2014
- "readonly": true,
2015
- "inheritedFrom": {
2016
- "name": "VscElement",
2017
- "module": "src/includes/VscElement.ts"
2018
- }
2019
- }
2020
- ],
2021
- "attributes": [
2022
- {
2023
- "name": "label",
2024
- "type": {
2025
- "text": "string"
2026
- },
2027
- "default": "''",
2028
- "fieldName": "label"
2029
- },
2030
- {
2031
- "name": "keybinding",
2032
- "type": {
2033
- "text": "string"
2034
- },
2035
- "default": "''",
2036
- "fieldName": "keybinding"
2037
- },
2038
- {
2039
- "name": "value",
2040
- "type": {
2041
- "text": "string"
2042
- },
2043
- "default": "''",
2044
- "fieldName": "value"
2045
- },
2046
- {
2047
- "name": "separator",
2048
- "type": {
2049
- "text": "boolean"
2050
- },
2051
- "default": "false",
2052
- "fieldName": "separator"
2053
- },
2054
- {
2055
- "name": "tabindex",
2056
- "type": {
2057
- "text": "number"
2058
- },
2059
- "default": "0",
2060
- "fieldName": "tabindex"
2061
- }
2062
- ],
2063
- "superclass": {
2064
- "name": "VscElement",
2065
- "module": "/src/includes/VscElement.js"
2066
- },
2067
- "tagName": "vscode-context-menu-item",
2068
- "customElement": true
2069
- }
2070
- ],
2071
- "exports": [
2072
- {
2073
- "kind": "js",
2074
- "name": "VscodeContextMenuItem",
2075
- "declaration": {
2076
- "name": "VscodeContextMenuItem",
2077
- "module": "src/vscode-context-menu-item/vscode-context-menu-item.ts"
2078
- }
2079
- },
2080
- {
2081
- "kind": "custom-element-definition",
2082
- "name": "vscode-context-menu-item",
2083
- "declaration": {
2084
- "name": "VscodeContextMenuItem",
2085
- "module": "src/vscode-context-menu-item/vscode-context-menu-item.ts"
2086
- }
2087
- }
2088
- ]
2089
- },
2090
- {
2091
- "kind": "javascript-module",
2092
- "path": "src/vscode-context-menu/vscode-context-menu.styles.ts",
2093
- "declarations": [
2094
- {
2095
- "kind": "variable",
2096
- "name": "styles",
2097
- "type": {
2098
- "text": "CSSResultGroup"
2099
- },
2100
- "default": "[ defaultStyles, css` :host { display: block; font-family: var(--vscode-font-family, sans-serif); font-size: var(--vscode-font-size, 13px); font-weight: var(--vscode-font-weight, normal); line-height: 1.4em; position: relative; } .context-menu { background-color: var(--vscode-menu-background, #1f1f1f); border-color: var(--vscode-menu-border, #454545); border-radius: 5px; border-style: solid; border-width: 1px; box-shadow: 0 2px 8px var(--vscode-widget-shadow, rgba(0, 0, 0, 0.36)); color: var(--vscode-menu-foreground, #cccccc); padding: 4px 0; white-space: nowrap; } .context-menu:focus { outline: 0; } `, ]"
2101
- }
2102
- ],
2103
- "exports": [
2104
- {
2105
- "kind": "js",
2106
- "name": "default",
2107
- "declaration": {
2108
- "name": "styles",
2109
- "module": "src/vscode-context-menu/vscode-context-menu.styles.ts"
2110
- }
2111
- }
2112
- ]
2113
- },
2114
- {
2115
- "kind": "javascript-module",
2116
- "path": "src/vscode-context-menu/vscode-context-menu.ts",
2117
- "declarations": [
2118
- {
2119
- "kind": "class",
2120
- "description": "",
2121
- "name": "VscodeContextMenu",
2208
+ "name": "VscodeContextMenu",
2122
2209
  "cssProperties": [
2123
2210
  {
2124
2211
  "name": "--vscode-font-family",
@@ -2281,52 +2368,229 @@
2281
2368
  ]
2282
2369
  },
2283
2370
  {
2284
- "kind": "method",
2285
- "name": "_dispatchLegacySelectEvent",
2286
- "privacy": "private",
2287
- "parameters": [
2288
- {
2289
- "name": "selectedOption",
2290
- "type": {
2291
- "text": "VscodeContextMenuItem"
2292
- }
2293
- }
2294
- ]
2371
+ "kind": "method",
2372
+ "name": "_handleEnter",
2373
+ "privacy": "private"
2374
+ },
2375
+ {
2376
+ "kind": "method",
2377
+ "name": "_onItemClick",
2378
+ "privacy": "private",
2379
+ "parameters": [
2380
+ {
2381
+ "name": "event",
2382
+ "type": {
2383
+ "text": "CustomEvent"
2384
+ }
2385
+ }
2386
+ ]
2387
+ },
2388
+ {
2389
+ "kind": "method",
2390
+ "name": "_onItemMouseOver",
2391
+ "privacy": "private",
2392
+ "parameters": [
2393
+ {
2394
+ "name": "event",
2395
+ "type": {
2396
+ "text": "MouseEvent"
2397
+ }
2398
+ }
2399
+ ]
2400
+ },
2401
+ {
2402
+ "kind": "method",
2403
+ "name": "_onItemMouseOut",
2404
+ "privacy": "private"
2405
+ },
2406
+ {
2407
+ "kind": "field",
2408
+ "name": "version",
2409
+ "type": {
2410
+ "text": "string"
2411
+ },
2412
+ "description": "VSCode Elements version",
2413
+ "readonly": true,
2414
+ "inheritedFrom": {
2415
+ "name": "VscElement",
2416
+ "module": "src/includes/VscElement.ts"
2417
+ }
2418
+ }
2419
+ ],
2420
+ "events": [
2421
+ {
2422
+ "type": {
2423
+ "text": "VscMenuSelectEvent"
2424
+ },
2425
+ "description": "Emitted when a menu item is clicked",
2426
+ "name": "vsc-menu-select"
2427
+ }
2428
+ ],
2429
+ "attributes": [
2430
+ {
2431
+ "name": "prevent-close",
2432
+ "type": {
2433
+ "text": "boolean"
2434
+ },
2435
+ "default": "false",
2436
+ "description": "By default, the menu closes when an item is clicked. This attribute prevents the menu from closing.",
2437
+ "fieldName": "preventClose"
2438
+ },
2439
+ {
2440
+ "name": "show",
2441
+ "type": {
2442
+ "text": "boolean"
2443
+ },
2444
+ "fieldName": "show"
2445
+ }
2446
+ ],
2447
+ "superclass": {
2448
+ "name": "VscElement",
2449
+ "module": "/src/includes/VscElement.js"
2450
+ },
2451
+ "tagName": "vscode-context-menu",
2452
+ "customElement": true
2453
+ }
2454
+ ],
2455
+ "exports": [
2456
+ {
2457
+ "kind": "js",
2458
+ "name": "VscodeContextMenu",
2459
+ "declaration": {
2460
+ "name": "VscodeContextMenu",
2461
+ "module": "src/vscode-context-menu/vscode-context-menu.ts"
2462
+ }
2463
+ },
2464
+ {
2465
+ "kind": "custom-element-definition",
2466
+ "name": "vscode-context-menu",
2467
+ "declaration": {
2468
+ "name": "VscodeContextMenu",
2469
+ "module": "src/vscode-context-menu/vscode-context-menu.ts"
2470
+ }
2471
+ }
2472
+ ]
2473
+ },
2474
+ {
2475
+ "kind": "javascript-module",
2476
+ "path": "src/vscode-context-menu-item/vscode-context-menu-item.styles.ts",
2477
+ "declarations": [
2478
+ {
2479
+ "kind": "variable",
2480
+ "name": "styles",
2481
+ "type": {
2482
+ "text": "CSSResultGroup"
2483
+ },
2484
+ "default": "[ defaultStyles, css` :host { display: block; outline: none; position: relative; } .context-menu-item { background-color: var(--vscode-menu-background, #1f1f1f); color: var(--vscode-menu-foreground, #cccccc); display: flex; font-family: var(--vscode-font-family, sans-serif); font-size: var(--vscode-font-size, 13px); font-weight: var(--vscode-font-weight, normal); line-height: 1.4em; user-select: none; white-space: nowrap; } .ruler { border-bottom: 1px solid var(--vscode-menu-separatorBackground, #454545); display: block; margin: 0 0 4px; padding-top: 4px; width: 100%; } .context-menu-item a { align-items: center; border-color: transparent; border-radius: 3px; border-style: solid; border-width: 1px; box-sizing: border-box; color: var(--vscode-menu-foreground, #cccccc); cursor: pointer; display: flex; flex: 1 1 auto; height: 2em; margin-left: 4px; margin-right: 4px; outline: none; position: relative; text-decoration: inherit; } :host([selected]) .context-menu-item a { background-color: var(--vscode-menu-selectionBackground, #0078d4); border-color: var(--vscode-menu-selectionBorder, transparent); color: var(--vscode-menu-selectionForeground, #ffffff); } .label { background: none; display: flex; flex: 1 1 auto; font-size: 12px; line-height: 1; padding: 0 22px; text-decoration: none; } .keybinding { display: block; flex: 2 1 auto; line-height: 1; padding: 0 22px; text-align: right; } `, ]"
2485
+ }
2486
+ ],
2487
+ "exports": [
2488
+ {
2489
+ "kind": "js",
2490
+ "name": "default",
2491
+ "declaration": {
2492
+ "name": "styles",
2493
+ "module": "src/vscode-context-menu-item/vscode-context-menu-item.styles.ts"
2494
+ }
2495
+ }
2496
+ ]
2497
+ },
2498
+ {
2499
+ "kind": "javascript-module",
2500
+ "path": "src/vscode-context-menu-item/vscode-context-menu-item.ts",
2501
+ "declarations": [
2502
+ {
2503
+ "kind": "class",
2504
+ "description": "",
2505
+ "name": "VscodeContextMenuItem",
2506
+ "cssProperties": [
2507
+ {
2508
+ "name": "--vscode-font-family",
2509
+ "default": "sans-serif"
2510
+ },
2511
+ {
2512
+ "name": "--vscode-font-size",
2513
+ "default": "13px"
2514
+ },
2515
+ {
2516
+ "name": "--vscode-font-weight",
2517
+ "default": "normal"
2518
+ },
2519
+ {
2520
+ "name": "--vscode-menu-background",
2521
+ "default": "#1f1f1f"
2522
+ },
2523
+ {
2524
+ "name": "--vscode-menu-selectionBorder",
2525
+ "default": "transparent"
2526
+ },
2527
+ {
2528
+ "name": "--vscode-menu-foreground",
2529
+ "default": "#cccccc"
2530
+ },
2531
+ {
2532
+ "name": "--vscode-menu-selectionBackground",
2533
+ "default": "#0078d4"
2534
+ },
2535
+ {
2536
+ "name": "--vscode-menu-selectionForeground",
2537
+ "default": "#ffffff"
2538
+ },
2539
+ {
2540
+ "name": "--vscode-menu-separatorBackground",
2541
+ "default": "#454545"
2542
+ }
2543
+ ],
2544
+ "members": [
2545
+ {
2546
+ "kind": "field",
2547
+ "name": "label",
2548
+ "type": {
2549
+ "text": "string"
2550
+ },
2551
+ "default": "''",
2552
+ "attribute": "label"
2295
2553
  },
2296
2554
  {
2297
- "kind": "method",
2298
- "name": "_handleEnter",
2299
- "privacy": "private"
2555
+ "kind": "field",
2556
+ "name": "keybinding",
2557
+ "type": {
2558
+ "text": "string"
2559
+ },
2560
+ "default": "''",
2561
+ "attribute": "keybinding"
2300
2562
  },
2301
2563
  {
2302
- "kind": "method",
2303
- "name": "_onItemClick",
2304
- "privacy": "private",
2305
- "parameters": [
2306
- {
2307
- "name": "event",
2308
- "type": {
2309
- "text": "CustomEvent"
2310
- }
2311
- }
2312
- ]
2564
+ "kind": "field",
2565
+ "name": "value",
2566
+ "type": {
2567
+ "text": "string"
2568
+ },
2569
+ "default": "''",
2570
+ "attribute": "value"
2313
2571
  },
2314
2572
  {
2315
- "kind": "method",
2316
- "name": "_onItemMouseOver",
2317
- "privacy": "private",
2318
- "parameters": [
2319
- {
2320
- "name": "event",
2321
- "type": {
2322
- "text": "MouseEvent"
2323
- }
2324
- }
2325
- ]
2573
+ "kind": "field",
2574
+ "name": "separator",
2575
+ "type": {
2576
+ "text": "boolean"
2577
+ },
2578
+ "default": "false",
2579
+ "attribute": "separator",
2580
+ "reflects": true
2581
+ },
2582
+ {
2583
+ "kind": "field",
2584
+ "name": "tabindex",
2585
+ "type": {
2586
+ "text": "number"
2587
+ },
2588
+ "default": "0",
2589
+ "attribute": "tabindex"
2326
2590
  },
2327
2591
  {
2328
2592
  "kind": "method",
2329
- "name": "_onItemMouseOut",
2593
+ "name": "onItemClick",
2330
2594
  "privacy": "private"
2331
2595
  },
2332
2596
  {
@@ -2343,63 +2607,71 @@
2343
2607
  }
2344
2608
  }
2345
2609
  ],
2346
- "events": [
2610
+ "attributes": [
2347
2611
  {
2348
- "name": "vsc-select",
2612
+ "name": "label",
2349
2613
  "type": {
2350
- "text": "CustomEvent"
2614
+ "text": "string"
2351
2615
  },
2352
- "deprecated": "- Renamed to `vsc-context-menu-select`"
2616
+ "default": "''",
2617
+ "fieldName": "label"
2353
2618
  },
2354
2619
  {
2620
+ "name": "keybinding",
2355
2621
  "type": {
2356
- "text": "VscMenuSelectEvent"
2622
+ "text": "string"
2357
2623
  },
2358
- "description": "Emitted when a menu item is clicked",
2359
- "name": "vsc-menu-select"
2360
- }
2361
- ],
2362
- "attributes": [
2624
+ "default": "''",
2625
+ "fieldName": "keybinding"
2626
+ },
2363
2627
  {
2364
- "name": "prevent-close",
2628
+ "name": "value",
2629
+ "type": {
2630
+ "text": "string"
2631
+ },
2632
+ "default": "''",
2633
+ "fieldName": "value"
2634
+ },
2635
+ {
2636
+ "name": "separator",
2365
2637
  "type": {
2366
2638
  "text": "boolean"
2367
2639
  },
2368
2640
  "default": "false",
2369
- "description": "By default, the menu closes when an item is clicked. This attribute prevents the menu from closing.",
2370
- "fieldName": "preventClose"
2641
+ "fieldName": "separator"
2371
2642
  },
2372
2643
  {
2373
- "name": "show",
2644
+ "name": "tabindex",
2374
2645
  "type": {
2375
- "text": "boolean"
2646
+ "text": "number"
2376
2647
  },
2377
- "fieldName": "show"
2648
+ "default": "0",
2649
+ "fieldName": "tabindex"
2378
2650
  }
2379
2651
  ],
2380
2652
  "superclass": {
2381
2653
  "name": "VscElement",
2382
2654
  "module": "/src/includes/VscElement.js"
2383
2655
  },
2384
- "tagName": "vscode-context-menu",
2656
+ "tagName": "vscode-context-menu-item",
2385
2657
  "customElement": true
2386
2658
  }
2387
2659
  ],
2388
2660
  "exports": [
2389
2661
  {
2390
2662
  "kind": "js",
2391
- "name": "VscodeContextMenu",
2663
+ "name": "VscodeContextMenuItem",
2392
2664
  "declaration": {
2393
- "name": "VscodeContextMenu",
2394
- "module": "src/vscode-context-menu/vscode-context-menu.ts"
2665
+ "name": "VscodeContextMenuItem",
2666
+ "module": "src/vscode-context-menu-item/vscode-context-menu-item.ts"
2395
2667
  }
2396
2668
  },
2397
2669
  {
2398
2670
  "kind": "custom-element-definition",
2399
- "name": "vscode-context-menu",
2671
+ "name": "vscode-context-menu-item",
2400
2672
  "declaration": {
2401
- "name": "VscodeContextMenu",
2402
- "module": "src/vscode-context-menu/vscode-context-menu.ts"
2673
+ "name": "VscodeContextMenuItem",
2674
+ "module": "src/vscode-context-menu-item/vscode-context-menu-item.ts"
2403
2675
  }
2404
2676
  }
2405
2677
  ]
@@ -2414,7 +2686,7 @@
2414
2686
  "type": {
2415
2687
  "text": "CSSResultGroup"
2416
2688
  },
2417
- "default": "[ defaultStyles, css` :host { background-color: var(--vscode-foreground, #cccccc); display: block; height: 1px; margin-bottom: 10px; margin-top: 10px; opacity: 0.4; } `, ]"
2689
+ "default": "[ defaultStyles, css` :host { display: block; margin-bottom: 10px; margin-top: 10px; } div { background-color: var(--vscode-foreground, #cccccc); height: 1px; opacity: 0.4; } `, ]"
2418
2690
  }
2419
2691
  ],
2420
2692
  "exports": [
@@ -2555,16 +2827,6 @@
2555
2827
  "default": "490",
2556
2828
  "attribute": "breakpoint"
2557
2829
  },
2558
- {
2559
- "kind": "field",
2560
- "name": "data",
2561
- "type": {
2562
- "text": "{[key: string]: string | string[]}"
2563
- },
2564
- "deprecated": "- Use the native `<form>` element instead.",
2565
- "readonly": true,
2566
- "attribute": "data"
2567
- },
2568
2830
  {
2569
2831
  "kind": "field",
2570
2832
  "name": "_resizeObserver",
@@ -2615,11 +2877,6 @@
2615
2877
  },
2616
2878
  "privacy": "private"
2617
2879
  },
2618
- {
2619
- "kind": "method",
2620
- "name": "_collectFormData",
2621
- "privacy": "private"
2622
- },
2623
2880
  {
2624
2881
  "kind": "method",
2625
2882
  "name": "_toggleCompactLayout",
@@ -2690,15 +2947,6 @@
2690
2947
  },
2691
2948
  "default": "490",
2692
2949
  "fieldName": "breakpoint"
2693
- },
2694
- {
2695
- "name": "data",
2696
- "type": {
2697
- "text": "{[key: string]: string | string[]}"
2698
- },
2699
- "deprecated": "- Use the native `<form>` element instead.",
2700
- "readonly": true,
2701
- "fieldName": "data"
2702
2950
  }
2703
2951
  ],
2704
2952
  "superclass": {
@@ -2712,124 +2960,18 @@
2712
2960
  "exports": [
2713
2961
  {
2714
2962
  "kind": "js",
2715
- "name": "VscodeFormContainer",
2716
- "declaration": {
2717
- "name": "VscodeFormContainer",
2718
- "module": "src/vscode-form-container/vscode-form-container.ts"
2719
- }
2720
- },
2721
- {
2722
- "kind": "custom-element-definition",
2723
- "name": "vscode-form-container",
2724
- "declaration": {
2725
- "name": "VscodeFormContainer",
2726
- "module": "src/vscode-form-container/vscode-form-container.ts"
2727
- }
2728
- }
2729
- ]
2730
- },
2731
- {
2732
- "kind": "javascript-module",
2733
- "path": "src/vscode-form-group/vscode-form-group.styles.ts",
2734
- "declarations": [
2735
- {
2736
- "kind": "variable",
2737
- "name": "styles",
2738
- "type": {
2739
- "text": "CSSResultGroup"
2740
- },
2741
- "default": "[ defaultStyles, css` :host { --label-right-margin: 14px; --label-width: 150px; display: block; margin: 15px 0; } :host([variant='settings-group']) { margin: 0; padding: 12px 14px 18px; max-width: 727px; } .wrapper { display: flex; flex-wrap: wrap; } :host([variant='vertical']) .wrapper, :host([variant='settings-group']) .wrapper { display: block; } :host([variant='horizontal']) ::slotted(vscode-checkbox-group), :host([variant='horizontal']) ::slotted(vscode-radio-group) { width: calc(100% - calc(var(--label-width) + var(--label-right-margin))); } :host([variant='horizontal']) ::slotted(vscode-label) { margin-right: var(--label-right-margin); text-align: right; width: var(--label-width); } :host([variant='settings-group']) ::slotted(vscode-label) { height: 18px; line-height: 18px; margin-bottom: 4px; margin-right: 0; padding: 0; } ::slotted(vscode-form-helper) { margin-left: calc(var(--label-width) + var(--label-right-margin)); } :host([variant='vertical']) ::slotted(vscode-form-helper), :host([variant='settings-group']) ::slotted(vscode-form-helper) { display: block; margin-left: 0; } :host([variant='settings-group']) ::slotted(vscode-form-helper) { margin-bottom: 0; margin-top: 0; } :host([variant='vertical']) ::slotted(vscode-label), :host([variant='settings-group']) ::slotted(vscode-label) { display: block; margin-left: 0; text-align: left; } :host([variant='settings-group']) ::slotted(vscode-inputbox), :host([variant='settings-group']) ::slotted(vscode-textfield), :host([variant='settings-group']) ::slotted(vscode-textarea), :host([variant='settings-group']) ::slotted(vscode-single-select), :host([variant='settings-group']) ::slotted(vscode-multi-select) { margin-top: 9px; } ::slotted(vscode-button:first-child) { margin-left: calc(var(--label-width) + var(--label-right-margin)); } :host([variant='vertical']) ::slotted(vscode-button) { margin-left: 0; } ::slotted(vscode-button) { margin-right: 4px; } `, ]"
2742
- }
2743
- ],
2744
- "exports": [
2745
- {
2746
- "kind": "js",
2747
- "name": "default",
2748
- "declaration": {
2749
- "name": "styles",
2750
- "module": "src/vscode-form-group/vscode-form-group.styles.ts"
2751
- }
2752
- }
2753
- ]
2754
- },
2755
- {
2756
- "kind": "javascript-module",
2757
- "path": "src/vscode-form-group/vscode-form-group.ts",
2758
- "declarations": [
2759
- {
2760
- "kind": "class",
2761
- "description": "",
2762
- "name": "VscodeFormGroup",
2763
- "cssProperties": [
2764
- {
2765
- "description": "The width of the label in horizontal mode",
2766
- "name": "--label-width",
2767
- "default": "150px"
2768
- },
2769
- {
2770
- "description": "The right margin of the label in horizontal mode",
2771
- "name": "--label-right-margin",
2772
- "default": "14px"
2773
- }
2774
- ],
2775
- "members": [
2776
- {
2777
- "kind": "field",
2778
- "name": "variant",
2779
- "type": {
2780
- "text": "FormGroupVariant"
2781
- },
2782
- "default": "'horizontal'",
2783
- "attribute": "variant",
2784
- "reflects": true
2785
- },
2786
- {
2787
- "kind": "field",
2788
- "name": "version",
2789
- "type": {
2790
- "text": "string"
2791
- },
2792
- "description": "VSCode Elements version",
2793
- "readonly": true,
2794
- "inheritedFrom": {
2795
- "name": "VscElement",
2796
- "module": "src/includes/VscElement.ts"
2797
- }
2798
- }
2799
- ],
2800
- "attributes": [
2801
- {
2802
- "name": "variant",
2803
- "type": {
2804
- "text": "FormGroupVariant"
2805
- },
2806
- "default": "'horizontal'",
2807
- "fieldName": "variant"
2808
- }
2809
- ],
2810
- "superclass": {
2811
- "name": "VscElement",
2812
- "module": "/src/includes/VscElement.js"
2813
- },
2814
- "tagName": "vscode-form-group",
2815
- "customElement": true
2816
- }
2817
- ],
2818
- "exports": [
2819
- {
2820
- "kind": "js",
2821
- "name": "VscodeFormGroup",
2963
+ "name": "VscodeFormContainer",
2822
2964
  "declaration": {
2823
- "name": "VscodeFormGroup",
2824
- "module": "src/vscode-form-group/vscode-form-group.ts"
2965
+ "name": "VscodeFormContainer",
2966
+ "module": "src/vscode-form-container/vscode-form-container.ts"
2825
2967
  }
2826
2968
  },
2827
2969
  {
2828
2970
  "kind": "custom-element-definition",
2829
- "name": "vscode-form-group",
2971
+ "name": "vscode-form-container",
2830
2972
  "declaration": {
2831
- "name": "VscodeFormGroup",
2832
- "module": "src/vscode-form-group/vscode-form-group.ts"
2973
+ "name": "VscodeFormContainer",
2974
+ "module": "src/vscode-form-container/vscode-form-container.ts"
2833
2975
  }
2834
2976
  }
2835
2977
  ]
@@ -2921,7 +3063,7 @@
2921
3063
  },
2922
3064
  {
2923
3065
  "kind": "javascript-module",
2924
- "path": "src/vscode-label/vscode-label.styles.ts",
3066
+ "path": "src/vscode-icon/vscode-icon.styles.ts",
2925
3067
  "declarations": [
2926
3068
  {
2927
3069
  "kind": "variable",
@@ -2929,7 +3071,7 @@
2929
3071
  "type": {
2930
3072
  "text": "CSSResultGroup"
2931
3073
  },
2932
- "default": "[ defaultStyles, css` :host { color: var(--vscode-foreground, #cccccc); font-family: var(--vscode-font-family, sans-serif); font-size: var(--vscode-font-size, 13px); font-weight: 600; line-height: ${INPUT_LINE_HEIGHT_RATIO}; cursor: default; display: block; padding: 5px 0; } .wrapper { display: block; } .wrapper.required:after { content: ' *'; } ::slotted(.normal) { font-weight: normal; } ::slotted(.lightened) { color: var(--vscode-foreground, #cccccc); opacity: 0.9; } `, ]"
3074
+ "default": "[ defaultStyles, css` :host { color: var(--vscode-icon-foreground, #cccccc); display: inline-block; } .codicon[class*='codicon-'] { display: block; } .icon, .button { background-color: transparent; display: block; padding: 0; } .button { border-color: transparent; border-style: solid; border-width: 1px; border-radius: 5px; color: currentColor; cursor: pointer; padding: 2px; } .button:hover { background-color: var( --vscode-toolbar-hoverBackground, rgba(90, 93, 94, 0.31) ); } .button:active { background-color: var( --vscode-toolbar-activeBackground, rgba(99, 102, 103, 0.31) ); } .button:focus { outline: none; } .button:focus-visible { border-color: var(--vscode-focusBorder, #0078d4); } @keyframes icon-spin { 100% { transform: rotate(360deg); } } .spin { animation-name: icon-spin; animation-timing-function: linear; animation-iteration-count: infinite; } `, ]"
2933
3075
  }
2934
3076
  ],
2935
3077
  "exports": [
@@ -2938,101 +3080,136 @@
2938
3080
  "name": "default",
2939
3081
  "declaration": {
2940
3082
  "name": "styles",
2941
- "module": "src/vscode-label/vscode-label.styles.ts"
3083
+ "module": "src/vscode-icon/vscode-icon.styles.ts"
2942
3084
  }
2943
3085
  }
2944
3086
  ]
2945
3087
  },
2946
3088
  {
2947
3089
  "kind": "javascript-module",
2948
- "path": "src/vscode-label/vscode-label.ts",
3090
+ "path": "src/vscode-icon/vscode-icon.ts",
2949
3091
  "declarations": [
2950
3092
  {
2951
3093
  "kind": "class",
2952
- "description": "",
2953
- "name": "VscodeLabel",
3094
+ "description": "Display a [Codicon](https://microsoft.github.io/vscode-codicons/dist/codicon.html).\nIn \"action-icon\" mode it behaves like a button. In this case, it is\nrecommended that a meaningful label is specified with the `label` property.",
3095
+ "name": "VscodeIcon",
2954
3096
  "cssProperties": [
2955
3097
  {
2956
- "name": "--vscode-font-family",
2957
- "default": "sans-serif"
3098
+ "name": "--vscode-icon-foreground",
3099
+ "default": "#cccccc"
2958
3100
  },
2959
3101
  {
2960
- "name": "--vscode-font-size",
2961
- "default": "13px"
3102
+ "description": "Hover state background color in `active-icon` mode",
3103
+ "name": "--vscode-toolbar-hoverBackground",
3104
+ "default": "rgba(90, 93, 94, 0.31)"
2962
3105
  },
2963
3106
  {
2964
- "name": "--vscode-foreground",
2965
- "default": "#cccccc"
3107
+ "description": "Active state background color in `active-icon` mode",
3108
+ "name": "--vscode-toolbar-activeBackground",
3109
+ "default": "rgba(99, 102, 103, 0.31)"
3110
+ },
3111
+ {
3112
+ "name": "--vscode-focusBorder",
3113
+ "default": "#0078d4"
2966
3114
  }
2967
3115
  ],
2968
3116
  "members": [
2969
3117
  {
2970
3118
  "kind": "field",
2971
- "name": "htmlFor",
3119
+ "name": "label",
2972
3120
  "type": {
2973
3121
  "text": "string"
2974
3122
  },
2975
- "attribute": "for",
2976
- "reflects": true
3123
+ "default": "''",
3124
+ "description": "Set a meaningful label in `action-icon` mode for the screen readers",
3125
+ "attribute": "label"
2977
3126
  },
2978
3127
  {
2979
3128
  "kind": "field",
2980
- "name": "id",
3129
+ "name": "name",
2981
3130
  "type": {
2982
3131
  "text": "string"
2983
3132
  },
2984
- "attribute": "id"
3133
+ "default": "''",
3134
+ "description": "[Codicon](https://microsoft.github.io/vscode-codicons/dist/codicon.html) icon name.",
3135
+ "attribute": "name"
2985
3136
  },
2986
3137
  {
2987
3138
  "kind": "field",
2988
- "name": "required",
3139
+ "name": "size",
3140
+ "type": {
3141
+ "text": "number"
3142
+ },
3143
+ "default": "16",
3144
+ "description": "Icon size in pixels",
3145
+ "attribute": "size"
3146
+ },
3147
+ {
3148
+ "kind": "field",
3149
+ "name": "spin",
2989
3150
  "type": {
2990
3151
  "text": "boolean"
2991
3152
  },
2992
3153
  "default": "false",
2993
- "attribute": "required",
3154
+ "description": "Enable rotation animation",
3155
+ "attribute": "spin",
2994
3156
  "reflects": true
2995
3157
  },
2996
3158
  {
2997
3159
  "kind": "field",
2998
- "name": "_id",
3160
+ "name": "spinDuration",
2999
3161
  "type": {
3000
- "text": "string"
3162
+ "text": "number"
3001
3163
  },
3002
- "privacy": "private",
3003
- "default": "''"
3164
+ "default": "1.5",
3165
+ "description": "Animation duration in seconds",
3166
+ "attribute": "spin-duration"
3004
3167
  },
3005
3168
  {
3006
3169
  "kind": "field",
3007
- "name": "_htmlFor",
3170
+ "name": "actionIcon",
3008
3171
  "type": {
3009
- "text": "string"
3172
+ "text": "boolean"
3010
3173
  },
3011
- "privacy": "private",
3012
- "default": "''"
3174
+ "default": "false",
3175
+ "description": "Behaves like a button",
3176
+ "attribute": "action-icon",
3177
+ "reflects": true
3013
3178
  },
3014
3179
  {
3015
3180
  "kind": "field",
3016
- "name": "_connected",
3181
+ "name": "stylesheetHref",
3017
3182
  "type": {
3018
- "text": "boolean"
3183
+ "text": "string | undefined"
3019
3184
  },
3020
3185
  "privacy": "private",
3021
- "default": "false"
3186
+ "static": true,
3187
+ "default": "''"
3022
3188
  },
3023
3189
  {
3024
- "kind": "method",
3025
- "name": "_getTarget",
3026
- "privacy": "private"
3190
+ "kind": "field",
3191
+ "name": "nonce",
3192
+ "type": {
3193
+ "text": "string | undefined"
3194
+ },
3195
+ "privacy": "private",
3196
+ "static": true,
3197
+ "default": "''"
3027
3198
  },
3028
3199
  {
3029
3200
  "kind": "method",
3030
- "name": "_connectWithTarget",
3031
- "privacy": "private"
3201
+ "name": "_getStylesheetConfig",
3202
+ "privacy": "private",
3203
+ "return": {
3204
+ "type": {
3205
+ "text": "{\n href: string | undefined;\n nonce: string | undefined;\n }"
3206
+ }
3207
+ },
3208
+ "description": "For using web fonts in web components, the font stylesheet must be included\ntwice: on the page and in the web component. This function looks for the\nfont stylesheet on the page and returns the stylesheet URL and the nonce\nid."
3032
3209
  },
3033
3210
  {
3034
- "kind": "method",
3035
- "name": "_handleClick",
3211
+ "kind": "field",
3212
+ "name": "_onButtonClick",
3036
3213
  "privacy": "private"
3037
3214
  },
3038
3215
  {
@@ -3051,58 +3228,90 @@
3051
3228
  ],
3052
3229
  "attributes": [
3053
3230
  {
3054
- "name": "for",
3231
+ "name": "label",
3055
3232
  "type": {
3056
3233
  "text": "string"
3057
3234
  },
3058
- "fieldName": "htmlFor"
3235
+ "default": "''",
3236
+ "description": "Set a meaningful label in `action-icon` mode for the screen readers",
3237
+ "fieldName": "label"
3059
3238
  },
3060
3239
  {
3061
- "name": "id",
3240
+ "name": "name",
3062
3241
  "type": {
3063
3242
  "text": "string"
3064
3243
  },
3065
- "fieldName": "id"
3244
+ "default": "''",
3245
+ "description": "[Codicon](https://microsoft.github.io/vscode-codicons/dist/codicon.html) icon name.",
3246
+ "fieldName": "name"
3066
3247
  },
3067
3248
  {
3068
- "name": "required",
3249
+ "name": "size",
3250
+ "type": {
3251
+ "text": "number"
3252
+ },
3253
+ "default": "16",
3254
+ "description": "Icon size in pixels",
3255
+ "fieldName": "size"
3256
+ },
3257
+ {
3258
+ "name": "spin",
3069
3259
  "type": {
3070
3260
  "text": "boolean"
3071
3261
  },
3072
3262
  "default": "false",
3073
- "fieldName": "required"
3263
+ "description": "Enable rotation animation",
3264
+ "fieldName": "spin"
3265
+ },
3266
+ {
3267
+ "name": "spin-duration",
3268
+ "type": {
3269
+ "text": "number"
3270
+ },
3271
+ "default": "1.5",
3272
+ "description": "Animation duration in seconds",
3273
+ "fieldName": "spinDuration"
3274
+ },
3275
+ {
3276
+ "name": "action-icon",
3277
+ "type": {
3278
+ "text": "boolean"
3279
+ },
3280
+ "default": "false",
3281
+ "description": "Behaves like a button",
3282
+ "fieldName": "actionIcon"
3074
3283
  }
3075
3284
  ],
3076
3285
  "superclass": {
3077
3286
  "name": "VscElement",
3078
3287
  "module": "/src/includes/VscElement.js"
3079
3288
  },
3080
- "tagName": "vscode-label",
3289
+ "tagName": "vscode-icon",
3081
3290
  "customElement": true
3082
3291
  }
3083
3292
  ],
3084
3293
  "exports": [
3085
3294
  {
3086
3295
  "kind": "js",
3087
- "name": "VscodeLabel",
3296
+ "name": "VscodeIcon",
3088
3297
  "declaration": {
3089
- "name": "VscodeLabel",
3090
- "module": "src/vscode-label/vscode-label.ts"
3298
+ "name": "VscodeIcon",
3299
+ "module": "src/vscode-icon/vscode-icon.ts"
3091
3300
  }
3092
3301
  },
3093
3302
  {
3094
3303
  "kind": "custom-element-definition",
3095
- "name": "vscode-label",
3304
+ "name": "vscode-icon",
3096
3305
  "declaration": {
3097
- "name": "VscodeLabel",
3098
- "module": "src/vscode-label/vscode-label.ts"
3306
+ "name": "VscodeIcon",
3307
+ "module": "src/vscode-icon/vscode-icon.ts"
3099
3308
  }
3100
3309
  }
3101
3310
  ]
3102
3311
  },
3103
3312
  {
3104
3313
  "kind": "javascript-module",
3105
- "path": "src/vscode-icon/vscode-icon.styles.ts",
3314
+ "path": "src/vscode-label/vscode-label.styles.ts",
3106
3315
  "declarations": [
3107
3316
  {
3108
3317
  "kind": "variable",
@@ -3110,7 +3319,7 @@
3110
3319
  "type": {
3111
3320
  "text": "CSSResultGroup"
3112
3321
  },
3113
- "default": "[ defaultStyles, css` :host { color: var(--vscode-icon-foreground, #cccccc); display: inline-block; } .codicon[class*='codicon-'] { display: block; } .icon, .button { background-color: transparent; display: block; padding: 0; } .button { border-color: transparent; border-style: solid; border-width: 1px; border-radius: 5px; color: currentColor; cursor: pointer; padding: 2px; } .button:hover { background-color: var( --vscode-toolbar-hoverBackground, rgba(90, 93, 94, 0.31) ); } .button:active { background-color: var( --vscode-toolbar-activeBackground, rgba(99, 102, 103, 0.31) ); } .button:focus { outline: none; } .button:focus-visible { border-color: var(--vscode-focusBorder, #0078d4); } @keyframes icon-spin { 100% { transform: rotate(360deg); } } .spin { animation-name: icon-spin; animation-timing-function: linear; animation-iteration-count: infinite; } `, ]"
3322
+ "default": "[ defaultStyles, css` :host { display: block; } .wrapper { color: var(--vscode-foreground, #cccccc); cursor: default; display: block; font-family: var(--vscode-font-family, sans-serif); font-size: var(--vscode-font-size, 13px); font-weight: 600; line-height: ${INPUT_LINE_HEIGHT_RATIO}; padding: 5px 0; } .wrapper.required:after { content: ' *'; } ::slotted(.normal) { font-weight: normal; } ::slotted(.lightened) { color: var(--vscode-foreground, #cccccc); opacity: 0.9; } `, ]"
3114
3323
  }
3115
3324
  ],
3116
3325
  "exports": [
@@ -3119,136 +3328,101 @@
3119
3328
  "name": "default",
3120
3329
  "declaration": {
3121
3330
  "name": "styles",
3122
- "module": "src/vscode-icon/vscode-icon.styles.ts"
3331
+ "module": "src/vscode-label/vscode-label.styles.ts"
3123
3332
  }
3124
3333
  }
3125
3334
  ]
3126
3335
  },
3127
3336
  {
3128
3337
  "kind": "javascript-module",
3129
- "path": "src/vscode-icon/vscode-icon.ts",
3338
+ "path": "src/vscode-label/vscode-label.ts",
3130
3339
  "declarations": [
3131
3340
  {
3132
3341
  "kind": "class",
3133
- "description": "Display a [Codicon](https://microsoft.github.io/vscode-codicons/dist/codicon.html).\nIn \"action-icon\" mode it behaves like a button. In this case, it is\nrecommended that a meaningful label is specified with the `label` property.",
3134
- "name": "VscodeIcon",
3342
+ "description": "",
3343
+ "name": "VscodeLabel",
3135
3344
  "cssProperties": [
3136
3345
  {
3137
- "name": "--vscode-icon-foreground",
3138
- "default": "#cccccc"
3139
- },
3140
- {
3141
- "description": "Hover state background color in `active-icon` mode",
3142
- "name": "--vscode-toolbar-hoverBackground",
3143
- "default": "rgba(90, 93, 94, 0.31)"
3346
+ "name": "--vscode-font-family",
3347
+ "default": "sans-serif"
3144
3348
  },
3145
3349
  {
3146
- "description": "Active state background color in `active-icon` mode",
3147
- "name": "--vscode-toolbar-activeBackground",
3148
- "default": "rgba(99, 102, 103, 0.31)"
3350
+ "name": "--vscode-font-size",
3351
+ "default": "13px"
3149
3352
  },
3150
3353
  {
3151
- "name": "--vscode-focusBorder",
3152
- "default": "#0078d4"
3354
+ "name": "--vscode-foreground",
3355
+ "default": "#cccccc"
3153
3356
  }
3154
3357
  ],
3155
3358
  "members": [
3156
3359
  {
3157
3360
  "kind": "field",
3158
- "name": "label",
3361
+ "name": "htmlFor",
3159
3362
  "type": {
3160
3363
  "text": "string"
3161
3364
  },
3162
- "default": "''",
3163
- "description": "Set a meaningful label in `action-icon` mode for the screen readers",
3164
- "attribute": "label"
3365
+ "attribute": "for",
3366
+ "reflects": true
3165
3367
  },
3166
3368
  {
3167
3369
  "kind": "field",
3168
- "name": "name",
3370
+ "name": "id",
3169
3371
  "type": {
3170
3372
  "text": "string"
3171
3373
  },
3172
- "default": "''",
3173
- "description": "[Codicon](https://microsoft.github.io/vscode-codicons/dist/codicon.html) icon name.",
3174
- "attribute": "name"
3175
- },
3176
- {
3177
- "kind": "field",
3178
- "name": "size",
3179
- "type": {
3180
- "text": "number"
3181
- },
3182
- "default": "16",
3183
- "description": "Icon size in pixels",
3184
- "attribute": "size"
3374
+ "attribute": "id"
3185
3375
  },
3186
3376
  {
3187
3377
  "kind": "field",
3188
- "name": "spin",
3378
+ "name": "required",
3189
3379
  "type": {
3190
3380
  "text": "boolean"
3191
3381
  },
3192
3382
  "default": "false",
3193
- "description": "Enable rotation animation",
3194
- "attribute": "spin",
3383
+ "attribute": "required",
3195
3384
  "reflects": true
3196
3385
  },
3197
3386
  {
3198
3387
  "kind": "field",
3199
- "name": "spinDuration",
3200
- "type": {
3201
- "text": "number"
3202
- },
3203
- "default": "1.5",
3204
- "description": "Animation duration in seconds",
3205
- "attribute": "spin-duration"
3206
- },
3207
- {
3208
- "kind": "field",
3209
- "name": "actionIcon",
3388
+ "name": "_id",
3210
3389
  "type": {
3211
- "text": "boolean"
3390
+ "text": "string"
3212
3391
  },
3213
- "default": "false",
3214
- "description": "Behaves like a button",
3215
- "attribute": "action-icon",
3216
- "reflects": true
3392
+ "privacy": "private",
3393
+ "default": "''"
3217
3394
  },
3218
3395
  {
3219
3396
  "kind": "field",
3220
- "name": "stylesheetHref",
3397
+ "name": "_htmlFor",
3221
3398
  "type": {
3222
- "text": "string | undefined"
3399
+ "text": "string"
3223
3400
  },
3224
3401
  "privacy": "private",
3225
- "static": true,
3226
3402
  "default": "''"
3227
3403
  },
3228
3404
  {
3229
3405
  "kind": "field",
3230
- "name": "nonce",
3406
+ "name": "_connected",
3231
3407
  "type": {
3232
- "text": "string | undefined"
3408
+ "text": "boolean"
3233
3409
  },
3234
3410
  "privacy": "private",
3235
- "static": true,
3236
- "default": "''"
3411
+ "default": "false"
3237
3412
  },
3238
3413
  {
3239
3414
  "kind": "method",
3240
- "name": "_getStylesheetConfig",
3241
- "privacy": "private",
3242
- "return": {
3243
- "type": {
3244
- "text": "{\n href: string | undefined;\n nonce: string | undefined;\n }"
3245
- }
3246
- },
3247
- "description": "For using web fonts in web components, the font stylesheet must be included\ntwice: on the page and in the web component. This function looks for the\nfont stylesheet on the page and returns the stylesheet URL and the nonce\nid."
3415
+ "name": "_getTarget",
3416
+ "privacy": "private"
3248
3417
  },
3249
3418
  {
3250
- "kind": "field",
3251
- "name": "_onButtonClick",
3419
+ "kind": "method",
3420
+ "name": "_connectWithTarget",
3421
+ "privacy": "private"
3422
+ },
3423
+ {
3424
+ "kind": "method",
3425
+ "name": "_handleClick",
3252
3426
  "privacy": "private"
3253
3427
  },
3254
3428
  {
@@ -3267,83 +3441,157 @@
3267
3441
  ],
3268
3442
  "attributes": [
3269
3443
  {
3270
- "name": "label",
3444
+ "name": "for",
3271
3445
  "type": {
3272
3446
  "text": "string"
3273
3447
  },
3274
- "default": "''",
3275
- "description": "Set a meaningful label in `action-icon` mode for the screen readers",
3276
- "fieldName": "label"
3448
+ "fieldName": "htmlFor"
3277
3449
  },
3278
3450
  {
3279
- "name": "name",
3451
+ "name": "id",
3280
3452
  "type": {
3281
3453
  "text": "string"
3282
3454
  },
3283
- "default": "''",
3284
- "description": "[Codicon](https://microsoft.github.io/vscode-codicons/dist/codicon.html) icon name.",
3285
- "fieldName": "name"
3455
+ "fieldName": "id"
3286
3456
  },
3287
3457
  {
3288
- "name": "size",
3458
+ "name": "required",
3289
3459
  "type": {
3290
- "text": "number"
3460
+ "text": "boolean"
3291
3461
  },
3292
- "default": "16",
3293
- "description": "Icon size in pixels",
3294
- "fieldName": "size"
3462
+ "default": "false",
3463
+ "fieldName": "required"
3464
+ }
3465
+ ],
3466
+ "superclass": {
3467
+ "name": "VscElement",
3468
+ "module": "/src/includes/VscElement.js"
3469
+ },
3470
+ "tagName": "vscode-label",
3471
+ "customElement": true
3472
+ }
3473
+ ],
3474
+ "exports": [
3475
+ {
3476
+ "kind": "js",
3477
+ "name": "VscodeLabel",
3478
+ "declaration": {
3479
+ "name": "VscodeLabel",
3480
+ "module": "src/vscode-label/vscode-label.ts"
3481
+ }
3482
+ },
3483
+ {
3484
+ "kind": "custom-element-definition",
3485
+ "name": "vscode-label",
3486
+ "declaration": {
3487
+ "name": "VscodeLabel",
3488
+ "module": "src/vscode-label/vscode-label.ts"
3489
+ }
3490
+ }
3491
+ ]
3492
+ },
3493
+ {
3494
+ "kind": "javascript-module",
3495
+ "path": "src/vscode-form-group/vscode-form-group.styles.ts",
3496
+ "declarations": [
3497
+ {
3498
+ "kind": "variable",
3499
+ "name": "styles",
3500
+ "type": {
3501
+ "text": "CSSResultGroup"
3502
+ },
3503
+ "default": "[ defaultStyles, css` :host { --label-right-margin: 14px; --label-width: 150px; display: block; margin: 15px 0; } :host([variant='settings-group']) { margin: 0; padding: 12px 14px 18px; max-width: 727px; } .wrapper { display: flex; flex-wrap: wrap; } :host([variant='vertical']) .wrapper, :host([variant='settings-group']) .wrapper { display: block; } :host([variant='horizontal']) ::slotted(vscode-checkbox-group), :host([variant='horizontal']) ::slotted(vscode-radio-group) { width: calc(100% - calc(var(--label-width) + var(--label-right-margin))); } :host([variant='horizontal']) ::slotted(vscode-label) { margin-right: var(--label-right-margin); text-align: right; width: var(--label-width); } :host([variant='settings-group']) ::slotted(vscode-label) { height: 18px; line-height: 18px; margin-bottom: 4px; margin-right: 0; padding: 0; } ::slotted(vscode-form-helper) { margin-left: calc(var(--label-width) + var(--label-right-margin)); } :host([variant='vertical']) ::slotted(vscode-form-helper), :host([variant='settings-group']) ::slotted(vscode-form-helper) { display: block; margin-left: 0; } :host([variant='settings-group']) ::slotted(vscode-form-helper) { margin-bottom: 0; margin-top: 0; } :host([variant='vertical']) ::slotted(vscode-label), :host([variant='settings-group']) ::slotted(vscode-label) { display: block; margin-left: 0; text-align: left; } :host([variant='settings-group']) ::slotted(vscode-inputbox), :host([variant='settings-group']) ::slotted(vscode-textfield), :host([variant='settings-group']) ::slotted(vscode-textarea), :host([variant='settings-group']) ::slotted(vscode-single-select), :host([variant='settings-group']) ::slotted(vscode-multi-select) { margin-top: 9px; } ::slotted(vscode-button:first-child) { margin-left: calc(var(--label-width) + var(--label-right-margin)); } :host([variant='vertical']) ::slotted(vscode-button) { margin-left: 0; } ::slotted(vscode-button) { margin-right: 4px; } `, ]"
3504
+ }
3505
+ ],
3506
+ "exports": [
3507
+ {
3508
+ "kind": "js",
3509
+ "name": "default",
3510
+ "declaration": {
3511
+ "name": "styles",
3512
+ "module": "src/vscode-form-group/vscode-form-group.styles.ts"
3513
+ }
3514
+ }
3515
+ ]
3516
+ },
3517
+ {
3518
+ "kind": "javascript-module",
3519
+ "path": "src/vscode-form-group/vscode-form-group.ts",
3520
+ "declarations": [
3521
+ {
3522
+ "kind": "class",
3523
+ "description": "",
3524
+ "name": "VscodeFormGroup",
3525
+ "cssProperties": [
3526
+ {
3527
+ "description": "The width of the label in horizontal mode",
3528
+ "name": "--label-width",
3529
+ "default": "150px"
3295
3530
  },
3296
3531
  {
3297
- "name": "spin",
3532
+ "description": "The right margin of the label in horizontal mode",
3533
+ "name": "--label-right-margin",
3534
+ "default": "14px"
3535
+ }
3536
+ ],
3537
+ "members": [
3538
+ {
3539
+ "kind": "field",
3540
+ "name": "variant",
3298
3541
  "type": {
3299
- "text": "boolean"
3542
+ "text": "FormGroupVariant"
3300
3543
  },
3301
- "default": "false",
3302
- "description": "Enable rotation animation",
3303
- "fieldName": "spin"
3544
+ "default": "'horizontal'",
3545
+ "attribute": "variant",
3546
+ "reflects": true
3304
3547
  },
3305
3548
  {
3306
- "name": "spin-duration",
3549
+ "kind": "field",
3550
+ "name": "version",
3307
3551
  "type": {
3308
- "text": "number"
3552
+ "text": "string"
3309
3553
  },
3310
- "default": "1.5",
3311
- "description": "Animation duration in seconds",
3312
- "fieldName": "spinDuration"
3313
- },
3554
+ "description": "VSCode Elements version",
3555
+ "readonly": true,
3556
+ "inheritedFrom": {
3557
+ "name": "VscElement",
3558
+ "module": "src/includes/VscElement.ts"
3559
+ }
3560
+ }
3561
+ ],
3562
+ "attributes": [
3314
3563
  {
3315
- "name": "action-icon",
3564
+ "name": "variant",
3316
3565
  "type": {
3317
- "text": "boolean"
3566
+ "text": "FormGroupVariant"
3318
3567
  },
3319
- "default": "false",
3320
- "description": "Behaves like a button",
3321
- "fieldName": "actionIcon"
3568
+ "default": "'horizontal'",
3569
+ "fieldName": "variant"
3322
3570
  }
3323
3571
  ],
3324
3572
  "superclass": {
3325
3573
  "name": "VscElement",
3326
3574
  "module": "/src/includes/VscElement.js"
3327
3575
  },
3328
- "tagName": "vscode-icon",
3576
+ "tagName": "vscode-form-group",
3329
3577
  "customElement": true
3330
3578
  }
3331
3579
  ],
3332
3580
  "exports": [
3333
3581
  {
3334
3582
  "kind": "js",
3335
- "name": "VscodeIcon",
3583
+ "name": "VscodeFormGroup",
3336
3584
  "declaration": {
3337
- "name": "VscodeIcon",
3338
- "module": "src/vscode-icon/vscode-icon.ts"
3585
+ "name": "VscodeFormGroup",
3586
+ "module": "src/vscode-form-group/vscode-form-group.ts"
3339
3587
  }
3340
3588
  },
3341
3589
  {
3342
3590
  "kind": "custom-element-definition",
3343
- "name": "vscode-icon",
3591
+ "name": "vscode-form-group",
3344
3592
  "declaration": {
3345
- "name": "VscodeIcon",
3346
- "module": "src/vscode-icon/vscode-icon.ts"
3593
+ "name": "VscodeFormGroup",
3594
+ "module": "src/vscode-form-group/vscode-form-group.ts"
3347
3595
  }
3348
3596
  }
3349
3597
  ]
@@ -4572,35 +4820,6 @@
4572
4820
  }
4573
4821
  }
4574
4822
  ],
4575
- "events": [
4576
- {
4577
- "name": "vsc-change",
4578
- "type": {
4579
- "text": "CustomEvent"
4580
- },
4581
- "deprecated": "true"
4582
- },
4583
- {
4584
- "name": "change",
4585
- "type": {
4586
- "text": "Event"
4587
- },
4588
- "inheritedFrom": {
4589
- "name": "VscodeSelectBase",
4590
- "module": "src/includes/vscode-select/vscode-select-base.ts"
4591
- }
4592
- },
4593
- {
4594
- "name": "input",
4595
- "type": {
4596
- "text": "Event"
4597
- },
4598
- "inheritedFrom": {
4599
- "name": "VscodeSelectBase",
4600
- "module": "src/includes/vscode-select/vscode-select-base.ts"
4601
- }
4602
- }
4603
- ],
4604
4823
  "attributes": [
4605
4824
  {
4606
4825
  "name": "invalid",
@@ -4763,7 +4982,29 @@
4763
4982
  "module": "/src/includes/vscode-select/vscode-select-base.js"
4764
4983
  },
4765
4984
  "tagName": "vscode-multi-select",
4766
- "customElement": true
4985
+ "customElement": true,
4986
+ "events": [
4987
+ {
4988
+ "name": "change",
4989
+ "type": {
4990
+ "text": "Event"
4991
+ },
4992
+ "inheritedFrom": {
4993
+ "name": "VscodeSelectBase",
4994
+ "module": "src/includes/vscode-select/vscode-select-base.ts"
4995
+ }
4996
+ },
4997
+ {
4998
+ "name": "input",
4999
+ "type": {
5000
+ "text": "Event"
5001
+ },
5002
+ "inheritedFrom": {
5003
+ "name": "VscodeSelectBase",
5004
+ "module": "src/includes/vscode-select/vscode-select-base.ts"
5005
+ }
5006
+ }
5007
+ ]
4767
5008
  }
4768
5009
  ],
4769
5010
  "exports": [
@@ -4944,7 +5185,7 @@
4944
5185
  "type": {
4945
5186
  "text": "CSSResultGroup"
4946
5187
  },
4947
- "default": "[ defaultStyles, css` :host { align-items: center; display: block; height: 28px; margin: 0; outline: none; width: 28px; } .progress { height: 100%; width: 100%; } .background { fill: none; stroke: transparent; stroke-width: 2px; } .indeterminate-indicator-1 { fill: none; stroke: var(--vscode-progressBar-background, #0078d4); stroke-width: 2px; stroke-linecap: square; transform-origin: 50% 50%; transform: rotate(-90deg); transition: all 0.2s ease-in-out; animation: spin-infinite 2s linear infinite; } @keyframes spin-infinite { 0% { stroke-dasharray: 0.01px 43.97px; transform: rotate(0deg); } 50% { stroke-dasharray: 21.99px 21.99px; transform: rotate(450deg); } 100% { stroke-dasharray: 0.01px 43.97px; transform: rotate(1080deg); } } `, ]"
5188
+ "default": "[ defaultStyles, css` :host { display: block; height: 28px; margin: 0; outline: none; width: 28px; } .progress { height: 100%; width: 100%; } .background { fill: none; stroke: transparent; stroke-width: 2px; } .indeterminate-indicator-1 { fill: none; stroke: var(--vscode-progressBar-background, #0078d4); stroke-width: 2px; stroke-linecap: square; transform-origin: 50% 50%; transform: rotate(-90deg); transition: all 0.2s ease-in-out; animation: spin-infinite 2s linear infinite; } @keyframes spin-infinite { 0% { stroke-dasharray: 0.01px 43.97px; transform: rotate(0deg); } 50% { stroke-dasharray: 21.99px 21.99px; transform: rotate(450deg); } 100% { stroke-dasharray: 0.01px 43.97px; transform: rotate(1080deg); } } `, ]"
4948
5189
  }
4949
5190
  ],
4950
5191
  "exports": [
@@ -5300,11 +5541,6 @@
5300
5541
  }
5301
5542
  }
5302
5543
  },
5303
- {
5304
- "kind": "method",
5305
- "name": "_dispatchCustomEvent",
5306
- "privacy": "private"
5307
- },
5308
5544
  {
5309
5545
  "kind": "method",
5310
5546
  "name": "_getRadios",
@@ -5486,13 +5722,6 @@
5486
5722
  }
5487
5723
  ],
5488
5724
  "events": [
5489
- {
5490
- "name": "vsc-change",
5491
- "type": {
5492
- "text": "CustomEvent"
5493
- },
5494
- "deprecated": "- Use the native `change` event instead."
5495
- },
5496
5725
  {
5497
5726
  "type": {
5498
5727
  "text": "Event"
@@ -5873,11 +6102,6 @@
5873
6102
  "description": "",
5874
6103
  "name": "VscodeScrollable",
5875
6104
  "cssProperties": [
5876
- {
5877
- "description": "",
5878
- "name": "--min-thumb-height",
5879
- "deprecated": "This css property is deprecated. Use the `minThumbSize` property instead."
5880
- },
5881
6105
  {
5882
6106
  "name": "--vscode-scrollbar-shadow",
5883
6107
  "default": "#000000"
@@ -5984,8 +6208,7 @@
5984
6208
  "text": "number"
5985
6209
  },
5986
6210
  "description": "The maximum amount of the `scrollPos`.",
5987
- "readonly": true,
5988
- "attribute": "scroll-max"
6211
+ "readonly": true
5989
6212
  },
5990
6213
  {
5991
6214
  "kind": "field",
@@ -6326,15 +6549,6 @@
6326
6549
  "text": "number"
6327
6550
  },
6328
6551
  "fieldName": "scrollPos"
6329
- },
6330
- {
6331
- "name": "scroll-max",
6332
- "type": {
6333
- "text": "number"
6334
- },
6335
- "description": "The maximum amount of the `scrollPos`.",
6336
- "readonly": true,
6337
- "fieldName": "scrollMax"
6338
6552
  }
6339
6553
  ],
6340
6554
  "superclass": {
@@ -6601,29 +6815,15 @@
6601
6815
  "name": "_requestedValueToSetLater",
6602
6816
  "type": {
6603
6817
  "text": "string"
6604
- },
6605
- "privacy": "private",
6606
- "default": "''",
6607
- "description": "This variable was introduced for cases where the value is set before the corresponding option\nexists. This can happen while a framework like Vue or React is rendering the component."
6608
- },
6609
- {
6610
- "kind": "method",
6611
- "name": "_createAndSelectSuggestedOption",
6612
- "privacy": "protected",
6613
- "inheritedFrom": {
6614
- "name": "VscodeSelectBase",
6615
- "module": "src/includes/vscode-select/vscode-select-base.ts"
6616
- }
6818
+ },
6819
+ "privacy": "private",
6820
+ "default": "''",
6821
+ "description": "This variable was introduced for cases where the value is set before the corresponding option\nexists. This can happen while a framework like Vue or React is rendering the component."
6617
6822
  },
6618
6823
  {
6619
6824
  "kind": "method",
6620
- "name": "_dispatchChangeEvent",
6825
+ "name": "_createAndSelectSuggestedOption",
6621
6826
  "privacy": "protected",
6622
- "return": {
6623
- "type": {
6624
- "text": "void"
6625
- }
6626
- },
6627
6827
  "inheritedFrom": {
6628
6828
  "name": "VscodeSelectBase",
6629
6829
  "module": "src/includes/vscode-select/vscode-select-base.ts"
@@ -7113,6 +7313,20 @@
7113
7313
  "module": "src/includes/vscode-select/vscode-select-base.ts"
7114
7314
  }
7115
7315
  },
7316
+ {
7317
+ "kind": "method",
7318
+ "name": "_dispatchChangeEvent",
7319
+ "privacy": "protected",
7320
+ "return": {
7321
+ "type": {
7322
+ "text": "void"
7323
+ }
7324
+ },
7325
+ "inheritedFrom": {
7326
+ "name": "VscodeSelectBase",
7327
+ "module": "src/includes/vscode-select/vscode-select-base.ts"
7328
+ }
7329
+ },
7116
7330
  {
7117
7331
  "kind": "method",
7118
7332
  "name": "_toggleComboboxDropdown",
@@ -7536,35 +7750,6 @@
7536
7750
  }
7537
7751
  }
7538
7752
  ],
7539
- "events": [
7540
- {
7541
- "name": "vsc-change",
7542
- "type": {
7543
- "text": "CustomEvent"
7544
- },
7545
- "deprecated": "true"
7546
- },
7547
- {
7548
- "name": "change",
7549
- "type": {
7550
- "text": "Event"
7551
- },
7552
- "inheritedFrom": {
7553
- "name": "VscodeSelectBase",
7554
- "module": "src/includes/vscode-select/vscode-select-base.ts"
7555
- }
7556
- },
7557
- {
7558
- "name": "input",
7559
- "type": {
7560
- "text": "Event"
7561
- },
7562
- "inheritedFrom": {
7563
- "name": "VscodeSelectBase",
7564
- "module": "src/includes/vscode-select/vscode-select-base.ts"
7565
- }
7566
- }
7567
- ],
7568
7753
  "attributes": [
7569
7754
  {
7570
7755
  "name": "invalid",
@@ -7734,7 +7919,29 @@
7734
7919
  "module": "/src/includes/vscode-select/vscode-select-base.js"
7735
7920
  },
7736
7921
  "tagName": "vscode-single-select",
7737
- "customElement": true
7922
+ "customElement": true,
7923
+ "events": [
7924
+ {
7925
+ "name": "change",
7926
+ "type": {
7927
+ "text": "Event"
7928
+ },
7929
+ "inheritedFrom": {
7930
+ "name": "VscodeSelectBase",
7931
+ "module": "src/includes/vscode-select/vscode-select-base.ts"
7932
+ }
7933
+ },
7934
+ {
7935
+ "name": "input",
7936
+ "type": {
7937
+ "text": "Event"
7938
+ },
7939
+ "inheritedFrom": {
7940
+ "name": "VscodeSelectBase",
7941
+ "module": "src/includes/vscode-select/vscode-select-base.ts"
7942
+ }
7943
+ }
7944
+ ]
7738
7945
  }
7739
7946
  ],
7740
7947
  "exports": [
@@ -8279,7 +8486,7 @@
8279
8486
  "type": {
8280
8487
  "text": "CSSResultGroup"
8281
8488
  },
8282
- "default": "[ defaultStyles, css` :host { border-bottom: 1px solid transparent; cursor: pointer; display: block; margin-bottom: -1px; overflow: hidden; padding: 7px 8px; text-overflow: ellipsis; user-select: none; white-space: nowrap; } :host([active]) { border-bottom-color: var(--vscode-panelTitle-activeForeground); color: var(--vscode-panelTitle-activeForeground); } :host([panel]) { border-bottom: 0; margin-bottom: 0; padding: 0; } :host(:focus-visible) { outline: none; } .wrapper { align-items: center; color: var(--vscode-foreground); display: flex; min-height: 20px; overflow: inherit; text-overflow: inherit; position: relative; } .wrapper.panel { color: var(--vscode-panelTitle-inactiveForeground); } .wrapper.panel.active, .wrapper.panel:hover { color: var(--vscode-panelTitle-activeForeground); } :host([panel]) .wrapper { display: flex; font-size: 11px; height: 31px; padding: 2px 10px; text-transform: uppercase; } .main { overflow: inherit; text-overflow: inherit; } .active-indicator { display: none; } .active-indicator.panel.active { border-top: 1px solid var(--vscode-panelTitle-activeBorder); bottom: 4px; display: block; left: 8px; pointer-events: none; position: absolute; right: 8px; } :host(:focus-visible) .wrapper { outline-color: var(--vscode-focusBorder); outline-offset: 3px; outline-style: solid; outline-width: 1px; } :host(:focus-visible) .wrapper.panel { outline-offset: -2px; } slot[name='content-before']::slotted(vscode-badge) { margin-right: 8px; } slot[name='content-after']::slotted(vscode-badge) { margin-left: 8px; } `, ]"
8489
+ "default": "[ defaultStyles, css` :host { cursor: pointer; display: block; user-select: none; } .wrapper { align-items: center; border-bottom: 1px solid transparent; color: var(--vscode-foreground, #cccccc); display: flex; min-height: 20px; overflow: hidden; padding: 7px 8px; position: relative; text-overflow: ellipsis; white-space: nowrap; } :host([active]) .wrapper { border-bottom-color: var(--vscode-panelTitle-activeForeground, #cccccc); color: var(--vscode-panelTitle-activeForeground, #cccccc); } :host([panel]) .wrapper { border-bottom: 0; margin-bottom: 0; padding: 0; } :host(:focus-visible) { outline: none; } .wrapper { align-items: center; color: var(--vscode-foreground, #cccccc); display: flex; min-height: 20px; overflow: inherit; text-overflow: inherit; position: relative; } .wrapper.panel { color: var(--vscode-panelTitle-inactiveForeground, #9d9d9d); } .wrapper.panel.active, .wrapper.panel:hover { color: var(--vscode-panelTitle-activeForeground, #cccccc); } :host([panel]) .wrapper { display: flex; font-size: 11px; height: 31px; padding: 2px 10px; text-transform: uppercase; } .main { overflow: inherit; text-overflow: inherit; } .active-indicator { display: none; } .active-indicator.panel.active { border-top: 1px solid var(--vscode-panelTitle-activeBorder, #0078d4); bottom: 4px; display: block; left: 8px; pointer-events: none; position: absolute; right: 8px; } :host(:focus-visible) .wrapper { outline-color: var(--vscode-focusBorder, #0078d4); outline-offset: 3px; outline-style: solid; outline-width: 1px; } :host(:focus-visible) .wrapper.panel { outline-offset: -2px; } slot[name='content-before']::slotted(vscode-badge) { margin-right: 8px; } slot[name='content-after']::slotted(vscode-badge) { margin-left: 8px; } `, ]"
8283
8490
  }
8284
8491
  ],
8285
8492
  "exports": [
@@ -8303,22 +8510,24 @@
8303
8510
  "name": "VscodeTabHeader",
8304
8511
  "cssProperties": [
8305
8512
  {
8306
- "name": "--vscode-foreground"
8307
- },
8308
- {
8309
- "name": "--vscode-panelTitle-inactiveForeground"
8513
+ "name": "--vscode-focusBorder",
8514
+ "default": "#0078d4"
8310
8515
  },
8311
8516
  {
8312
- "name": "--vscode-panelTitle-activeForeground"
8517
+ "name": "--vscode-foreground",
8518
+ "default": "#cccccc"
8313
8519
  },
8314
8520
  {
8315
- "name": "--vscode-panelTitle-activeBorder"
8521
+ "name": "--vscode-panelTitle-activeBorder",
8522
+ "default": "#0078d4"
8316
8523
  },
8317
8524
  {
8318
- "name": "--vscode-focusBorder"
8525
+ "name": "--vscode-panelTitle-activeForeground",
8526
+ "default": "#cccccc"
8319
8527
  },
8320
8528
  {
8321
- "name": "--vscode-settings-headerForeground"
8529
+ "name": "--vscode-panelTitle-inactiveForeground",
8530
+ "default": "#9d9d9d"
8322
8531
  }
8323
8532
  ],
8324
8533
  "members": [
@@ -8413,7 +8622,7 @@
8413
8622
  "type": {
8414
8623
  "text": "CSSResultGroup"
8415
8624
  },
8416
- "default": "[ defaultStyles, css` :host { display: block; overflow: hidden; } :host(:focus-visible) { outline-color: var(--vscode-focusBorder); outline-offset: 3px; outline-style: solid; outline-width: 1px; } :host([panel]) { background-color: var(--vscode-panel-background); } `, ]"
8625
+ "default": "[ defaultStyles, css` :host { display: block; overflow: hidden; } :host(:focus-visible) { outline-color: var(--vscode-focusBorder, #0078d4); outline-offset: 3px; outline-style: solid; outline-width: 1px; } :host([panel]) { background-color: var(--vscode-panel-background, #181818); } `, ]"
8417
8626
  }
8418
8627
  ],
8419
8628
  "exports": [
@@ -8437,10 +8646,12 @@
8437
8646
  "name": "VscodeTabPanel",
8438
8647
  "cssProperties": [
8439
8648
  {
8440
- "name": "--vscode-panel--background"
8649
+ "name": "--vscode-focusBorder",
8650
+ "default": "#0078d4"
8441
8651
  },
8442
8652
  {
8443
- "name": "--vscode-focusBorder"
8653
+ "name": "--vscode-panel--background",
8654
+ "default": "#181818"
8444
8655
  }
8445
8656
  ],
8446
8657
  "members": [
@@ -8574,7 +8785,7 @@
8574
8785
  "type": {
8575
8786
  "text": "CSSResultGroup"
8576
8787
  },
8577
- "default": "[ baseStyles, css` :host { display: block; --vsc-row-even-background: transparent; --vsc-row-odd-background: transparent; --vsc-row-border-bottom-width: 0; --vsc-row-border-top-width: 0; --vsc-row-display: table-row; } :host([bordered]), :host([bordered-rows]) { --vsc-row-border-bottom-width: 1px; } :host([compact]) { --vsc-row-display: block; } :host([bordered][compact]), :host([bordered-rows][compact]) { --vsc-row-border-bottom-width: 0; --vsc-row-border-top-width: 1px; } :host([zebra]) { --vsc-row-even-background: var(--vscode-keybindingTable-rowsBackground); } :host([zebra-odd]) { --vsc-row-odd-background: var(--vscode-keybindingTable-rowsBackground); } ::slotted(vscode-table-row) { width: 100%; } .wrapper { height: 100%; max-width: 100%; overflow: hidden; position: relative; width: 100%; } .wrapper.select-disabled { user-select: none; } .wrapper.resize-cursor { cursor: ew-resize; } .wrapper.compact-view .header-slot-wrapper { height: 0; overflow: hidden; } .scrollable { height: 100%; } .scrollable:before { background-color: transparent; content: ''; display: block; height: 1px; position: absolute; width: 100%; } .wrapper:not(.compact-view) .scrollable:not([scrolled]):before { background-color: var(--vscode-editorGroup-border); } .sash { visibility: hidden; } :host([bordered-columns]) .sash, :host([bordered]) .sash { visibility: visible; } :host([resizable]) .wrapper:hover .sash { visibility: visible; } .sash { height: 100%; position: absolute; top: 0; width: 1px; } .wrapper.compact-view .sash { display: none; } .sash.resizable { cursor: ew-resize; } .sash-visible { background-color: var(--vscode-editorGroup-border); height: 100%; position: absolute; top: 30px; width: 1px; } .sash.hover .sash-visible { background-color: var(--vscode-sash-hoverBorder); transition: background-color 50ms linear 300ms; } .sash .sash-clickable { background-color: transparent; height: 100%; left: -2px; position: absolute; width: 5px; } `, ]"
8788
+ "default": "[ baseStyles, css` :host { display: block; --vsc-row-even-background: transparent; --vsc-row-odd-background: transparent; --vsc-row-border-bottom-width: 0; --vsc-row-border-top-width: 0; --vsc-row-display: table-row; } :host([bordered]), :host([bordered-rows]) { --vsc-row-border-bottom-width: 1px; } :host([compact]) { --vsc-row-display: block; } :host([bordered][compact]), :host([bordered-rows][compact]) { --vsc-row-border-bottom-width: 0; --vsc-row-border-top-width: 1px; } :host([zebra]) { --vsc-row-even-background: var( --vscode-keybindingTable-rowsBackground, rgba(204, 204, 204, 0.04) ); } :host([zebra-odd]) { --vsc-row-odd-background: var( --vscode-keybindingTable-rowsBackground, rgba(204, 204, 204, 0.04) ); } ::slotted(vscode-table-row) { width: 100%; } .wrapper { height: 100%; max-width: 100%; overflow: hidden; position: relative; width: 100%; } .wrapper.select-disabled { user-select: none; } .wrapper.resize-cursor { cursor: ew-resize; } .wrapper.compact-view .header-slot-wrapper { height: 0; overflow: hidden; } .scrollable { height: 100%; } .scrollable:before { background-color: transparent; content: ''; display: block; height: 1px; position: absolute; width: 100%; } .wrapper:not(.compact-view) .scrollable:not([scrolled]):before { background-color: var( --vscode-editorGroup-border, rgba(255, 255, 255, 0.09) ); } .sash { visibility: hidden; } :host([bordered-columns]) .sash, :host([bordered]) .sash { visibility: visible; } :host([resizable]) .wrapper:hover .sash { visibility: visible; } .sash { height: 100%; position: absolute; top: 0; width: 1px; } .wrapper.compact-view .sash { display: none; } .sash.resizable { cursor: ew-resize; } .sash-visible { background-color: var( --vscode-editorGroup-border, rgba(255, 255, 255, 0.09) ); height: 100%; position: absolute; top: 30px; width: 1px; } .sash.hover .sash-visible { background-color: var(--vscode-sash-hoverBorder, #0078d4); transition: background-color 50ms linear 300ms; } .sash .sash-clickable { background-color: transparent; height: 100%; left: -2px; position: absolute; width: 5px; } `, ]"
8578
8789
  }
8579
8790
  ],
8580
8791
  "exports": [
@@ -8598,32 +8809,16 @@
8598
8809
  "name": "VscodeTable",
8599
8810
  "cssProperties": [
8600
8811
  {
8601
- "name": "--border",
8602
- "default": "var(--vscode-editorGroup-border)"
8603
- },
8604
- {
8605
- "name": "--foreground",
8606
- "default": "var(--vscode-foreground)"
8607
- },
8608
- {
8609
- "name": "--resize-hover-border",
8610
- "default": "var(--vscode-sash-hoverBorder)"
8611
- },
8612
- {
8613
- "name": "--tinted-row-background",
8614
- "default": "var(--vscode-keybindingTable-rowsBackground)"
8615
- },
8616
- {
8617
- "name": "--header-background",
8618
- "default": "var(--vscode-keybindingTable-headerBackground)"
8812
+ "name": "--vscode-editorGroup-border",
8813
+ "default": "rgba(255, 255, 255, 0.09)"
8619
8814
  },
8620
8815
  {
8621
- "name": "--font-size",
8622
- "default": "var(--vscode-font-size)"
8816
+ "name": "--vscode-keybindingTable-rowsBackground",
8817
+ "default": "rgba(204, 204, 204, 0.04)"
8623
8818
  },
8624
8819
  {
8625
- "name": "--font-family",
8626
- "default": "var(--vscode-font-family)"
8820
+ "name": "--vscode-sash-hoverBorder",
8821
+ "default": "#0078d4"
8627
8822
  }
8628
8823
  ],
8629
8824
  "members": [
@@ -9376,11 +9571,6 @@
9376
9571
  "kind": "class",
9377
9572
  "description": "",
9378
9573
  "name": "VscodeTableBody",
9379
- "cssProperties": [
9380
- {
9381
- "name": "--vscode-keybindingTable-rowsBackground"
9382
- }
9383
- ],
9384
9574
  "members": [
9385
9575
  {
9386
9576
  "kind": "field",
@@ -9433,7 +9623,7 @@
9433
9623
  "type": {
9434
9624
  "text": "CSSResultGroup"
9435
9625
  },
9436
- "default": "[ defaultStyles, css` :host { border-bottom-color: var(--vscode-editorGroup-border); border-bottom-style: solid; border-bottom-width: var(--vsc-row-border-bottom-width); box-sizing: border-box; color: var(--vscode-foreground); display: table-cell; font-family: var(--vscode-font-family); font-size: var(--vscode-font-size); height: 24px; overflow: hidden; padding-left: 10px; text-overflow: ellipsis; vertical-align: middle; white-space: nowrap; } :host([compact]) { display: block; height: auto; padding-bottom: 5px; width: 100% !important; } :host([compact]:first-child) { padding-top: 10px; } :host([compact]:last-child) { padding-bottom: 10px; } .wrapper { overflow: inherit; text-overflow: inherit; white-space: inherit; width: 100%; } .column-label { font-weight: bold; } `, ]"
9626
+ "default": "[ defaultStyles, css` :host { border-bottom-color: var( --vscode-editorGroup-border, rgba(255, 255, 255, 0.09) ); border-bottom-style: solid; border-bottom-width: var(--vsc-row-border-bottom-width); box-sizing: border-box; color: var(--vscode-foreground, #cccccc); display: table-cell; font-family: var(--vscode-font-family, sans-serif); font-size: var(--vscode-font-size, 13px); height: 24px; overflow: hidden; padding-left: 10px; text-overflow: ellipsis; vertical-align: middle; white-space: nowrap; } :host([compact]) { display: block; height: auto; padding-bottom: 5px; width: 100% !important; } :host([compact]:first-child) { padding-top: 10px; } :host([compact]:last-child) { padding-bottom: 10px; } .wrapper { overflow: inherit; text-overflow: inherit; white-space: inherit; width: 100%; } .column-label { font-weight: bold; } `, ]"
9437
9627
  }
9438
9628
  ],
9439
9629
  "exports": [
@@ -9457,16 +9647,20 @@
9457
9647
  "name": "VscodeTableCell",
9458
9648
  "cssProperties": [
9459
9649
  {
9460
- "name": "--vscode-editorGroup-border"
9650
+ "name": "--vscode-editorGroup-border",
9651
+ "default": "rgba(255, 255, 255, 0.09)"
9461
9652
  },
9462
9653
  {
9463
- "name": "--vscode-foreground"
9654
+ "name": "--vscode-foreground",
9655
+ "default": "#cccccc"
9464
9656
  },
9465
9657
  {
9466
- "name": "--vscode-font-family"
9658
+ "name": "--vscode-font-family",
9659
+ "default": "sans-serif"
9467
9660
  },
9468
9661
  {
9469
- "name": "--vscode-font-size"
9662
+ "name": "--vscode-font-size",
9663
+ "default": "13px"
9470
9664
  }
9471
9665
  ],
9472
9666
  "members": [
@@ -9562,7 +9756,7 @@
9562
9756
  "type": {
9563
9757
  "text": "CSSResultGroup"
9564
9758
  },
9565
- "default": "[ defaultStyles, css` :host { background-color: var(--vscode-keybindingTable-headerBackground); display: table; table-layout: fixed; width: 100%; } `, ]"
9759
+ "default": "[ defaultStyles, css` :host { background-color: var( --vscode-keybindingTable-headerBackground, rgba(204, 204, 204, 0.04) ); display: table; table-layout: fixed; width: 100%; } `, ]"
9566
9760
  }
9567
9761
  ],
9568
9762
  "exports": [
@@ -9587,7 +9781,8 @@
9587
9781
  "cssProperties": [
9588
9782
  {
9589
9783
  "description": "Table header background",
9590
- "name": "--vscode-keybindingTable-headerBackground"
9784
+ "name": "--vscode-keybindingTable-headerBackground",
9785
+ "default": "rgba(204, 204, 204, 0.04)"
9591
9786
  }
9592
9787
  ],
9593
9788
  "members": [
@@ -9642,7 +9837,7 @@
9642
9837
  "type": {
9643
9838
  "text": "CSSResultGroup"
9644
9839
  },
9645
- "default": "[ defaultStyles, css` :host { box-sizing: border-box; color: var(--vscode-foreground); display: table-cell; font-family: var(--vscode-font-family); font-size: var(--vscode-font-size); font-weight: bold; line-height: 20px; overflow: hidden; padding-bottom: 5px; padding-left: 10px; padding-right: 0; padding-top: 5px; text-overflow: ellipsis; white-space: nowrap; } .wrapper { box-sizing: inherit; overflow: inherit; text-overflow: inherit; white-space: inherit; width: 100%; } `, ]"
9840
+ "default": "[ defaultStyles, css` :host { box-sizing: border-box; color: var(--vscode-foreground, #cccccc); display: table-cell; font-family: var(--vscode-font-family, sans-serif); font-size: var(--vscode-font-size, 13px); font-weight: bold; line-height: 20px; overflow: hidden; padding-bottom: 5px; padding-left: 10px; padding-right: 0; padding-top: 5px; text-overflow: ellipsis; white-space: nowrap; } .wrapper { box-sizing: inherit; overflow: inherit; text-overflow: inherit; white-space: inherit; width: 100%; } `, ]"
9646
9841
  }
9647
9842
  ],
9648
9843
  "exports": [
@@ -9666,13 +9861,16 @@
9666
9861
  "name": "VscodeTableHeaderCell",
9667
9862
  "cssProperties": [
9668
9863
  {
9669
- "name": "--vscode-foreground"
9864
+ "name": "--vscode-foreground",
9865
+ "default": "#cccccc"
9670
9866
  },
9671
9867
  {
9672
- "name": "--vscode-font-family"
9868
+ "name": "--vscode-font-family",
9869
+ "default": "sans-serif"
9673
9870
  },
9674
9871
  {
9675
- "name": "--vscode-font-size"
9872
+ "name": "--vscode-font-size",
9873
+ "default": "13px"
9676
9874
  }
9677
9875
  ],
9678
9876
  "members": [
@@ -9727,7 +9925,7 @@
9727
9925
  "type": {
9728
9926
  "text": "CSSResultGroup"
9729
9927
  },
9730
- "default": "[ defaultStyles, css` :host { border-top-color: var(--vscode-editorGroup-border); border-top-style: solid; border-top-width: var(--vsc-row-border-top-width); display: var(--vsc-row-display); width: 100%; } `, ]"
9928
+ "default": "[ defaultStyles, css` :host { border-top-color: var( --vscode-editorGroup-border, rgba(255, 255, 255, 0.09) ); border-top-style: solid; border-top-width: var(--vsc-row-border-top-width); display: var(--vsc-row-display); width: 100%; } `, ]"
9731
9929
  }
9732
9930
  ],
9733
9931
  "exports": [
@@ -9751,7 +9949,8 @@
9751
9949
  "name": "VscodeTableRow",
9752
9950
  "cssProperties": [
9753
9951
  {
9754
- "name": "--vscode-editorGroup-border"
9952
+ "name": "--vscode-editorGroup-border",
9953
+ "default": "rgba(255, 255, 255, 0.09)"
9755
9954
  }
9756
9955
  ],
9757
9956
  "members": [
@@ -9806,7 +10005,7 @@
9806
10005
  "type": {
9807
10006
  "text": "CSSResultGroup"
9808
10007
  },
9809
- "default": "[ defaultStyles, css` :host { display: block; } .header { align-items: center; display: flex; font-family: var(--vscode-font-family); font-size: var(--vscode-font-size); font-weight: var(--vscode-font-weight); width: 100%; } .header { border-bottom-color: var(--vscode-settings-headerBorder); border-bottom-style: solid; border-bottom-width: 1px; } .header.panel { background-color: var(--vscode-panel-background); border-bottom-width: 0; box-sizing: border-box; padding-left: 8px; padding-right: 8px; } slot[name='addons'] { display: block; margin-left: auto; } `, ]"
10008
+ "default": "[ defaultStyles, css` :host { display: block; } .header { align-items: center; display: flex; font-family: var(--vscode-font-family, sans-serif); font-size: var(--vscode-font-size, 13px); font-weight: var(--vscode-font-weight, normal); width: 100%; } .header { border-bottom-color: var(--vscode-settings-headerBorder, #2b2b2b); border-bottom-style: solid; border-bottom-width: 1px; } .header.panel { background-color: var(--vscode-panel-background, #181818); border-bottom-width: 0; box-sizing: border-box; padding-left: 8px; padding-right: 8px; } .tablist { display: flex; margin-bottom: -1px; } slot[name='addons'] { display: block; margin-left: auto; } `, ]"
9810
10009
  }
9811
10010
  ],
9812
10011
  "exports": [
@@ -9830,19 +10029,24 @@
9830
10029
  "name": "VscodeTabs",
9831
10030
  "cssProperties": [
9832
10031
  {
9833
- "name": "--vscode-font-family"
10032
+ "name": "--vscode-font-family",
10033
+ "default": "sans-serif"
9834
10034
  },
9835
10035
  {
9836
- "name": "--vscode-font-size"
10036
+ "name": "--vscode-font-size",
10037
+ "default": "13px"
9837
10038
  },
9838
10039
  {
9839
- "name": "--vscode-font-weight"
10040
+ "name": "--vscode-font-weight",
10041
+ "default": "normal"
9840
10042
  },
9841
10043
  {
9842
- "name": "--vscode-settings-headerBorder"
10044
+ "name": "--vscode-settings-headerBorder",
10045
+ "default": "#2b2b2b"
9843
10046
  },
9844
10047
  {
9845
- "name": "--vscode-panel-background"
10048
+ "name": "--vscode-panel-background",
10049
+ "default": "#181818"
9846
10050
  }
9847
10051
  ],
9848
10052
  "slots": [
@@ -10009,13 +10213,6 @@
10009
10213
  }
10010
10214
  ],
10011
10215
  "events": [
10012
- {
10013
- "name": "vsc-select",
10014
- "type": {
10015
- "text": "CustomEvent"
10016
- },
10017
- "deprecated": "true"
10018
- },
10019
10216
  {
10020
10217
  "type": {
10021
10218
  "text": "VscTabSelectEvent"
@@ -10080,7 +10277,7 @@
10080
10277
  "type": {
10081
10278
  "text": "CSSResultGroup"
10082
10279
  },
10083
- "default": "[ defaultStyles, css` :host { display: inline-block; height: 40px; position: relative; width: 320px; } :host([cols]) { width: auto; } :host([rows]) { height: auto; } .shadow { box-shadow: var(--vscode-scrollbar-shadow, #000000) 0 6px 6px -6px inset; display: none; inset: 0 0 auto 0; height: 6px; pointer-events: none; position: absolute; width: 100%; } .shadow.visible { display: block; } textarea { background-color: var(--vscode-settings-textInputBackground, #313131); border-color: var(--vscode-settings-textInputBorder, transparent); border-radius: 2px; border-style: solid; border-width: 1px; box-sizing: border-box; color: var(--vscode-settings-textInputForeground, #cccccc); display: block; font-family: var(--vscode-font-family, sans-serif); font-size: var(--vscode-font-size, 13px); font-weight: var(--vscode-font-weight, normal); height: 100%; width: 100%; } :host([cols]) textarea { width: auto; } :host([rows]) textarea { height: auto; } :host([invalid]) textarea, :host(:invalid) textarea { background-color: var(--vscode-inputValidation-errorBackground, #5a1d1d); border-color: var(--vscode-inputValidation-errorBorder, #be1100); } textarea.monospace { background-color: var(--vscode-editor-background, #1f1f1f); color: var(--vscode-editor-foreground, #cccccc); font-family: var(--vscode-editor-font-family, monospace); font-size: var(--vscode-editor-font-size, 14px); font-weight: var(--vscode-editor-font-weight, normal); } .textarea.monospace::placeholder { color: var( --vscode-editor-inlineValuesForeground, rgba(255, 255, 255, 0.5) ); } textarea.cursor-pointer { cursor: pointer; } textarea:focus { border-color: var(--vscode-focusBorder, #0078d4); outline: none; } textarea::placeholder { color: var(--vscode-input-placeholderForeground, #989898); opacity: 1; } textarea::-webkit-scrollbar-track { background-color: transparent; } textarea::-webkit-scrollbar { width: 14px; } textarea::-webkit-scrollbar-thumb { background-color: transparent; } textarea:hover::-webkit-scrollbar-thumb { background-color: var( --vscode-scrollbarSlider-background, rgba(121, 121, 121, 0.4) ); } textarea::-webkit-scrollbar-thumb:hover { background-color: var( --vscode-scrollbarSlider-hoverBackground, rgba(100, 100, 100, 0.7) ); } textarea::-webkit-scrollbar-thumb:active { background-color: var( --vscode-scrollbarSlider-activeBackground, rgba(191, 191, 191, 0.4) ); } textarea::-webkit-scrollbar-corner { background-color: transparent; } textarea::-webkit-resizer { background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAAXNSR0IB2cksfwAAAAlwSFlzAAALEwAACxMBAJqcGAAAACJJREFUeJxjYMAOZuIQZ5j5//9/rJJESczEKYGsG6cEXgAAsEEefMxkua4AAAAASUVORK5CYII='); background-repeat: no-repeat; background-position: right bottom; } `, ]"
10280
+ "default": "[ defaultStyles, css` :host { display: inline-block; height: auto; position: relative; width: 320px; } :host([cols]) { width: auto; } :host([rows]) { height: auto; } .shadow { box-shadow: var(--vscode-scrollbar-shadow, #000000) 0 6px 6px -6px inset; display: none; inset: 0 0 auto 0; height: 6px; pointer-events: none; position: absolute; width: 100%; } .shadow.visible { display: block; } textarea { background-color: var(--vscode-settings-textInputBackground, #313131); border-color: var(--vscode-settings-textInputBorder, transparent); border-radius: 2px; border-style: solid; border-width: 1px; box-sizing: border-box; color: var(--vscode-settings-textInputForeground, #cccccc); display: block; font-family: var(--vscode-font-family, sans-serif); font-size: var(--vscode-font-size, 13px); font-weight: var(--vscode-font-weight, normal); height: 100%; width: 100%; } :host([cols]) textarea { width: auto; } :host([rows]) textarea { height: auto; } :host([invalid]) textarea, :host(:invalid) textarea { background-color: var(--vscode-inputValidation-errorBackground, #5a1d1d); border-color: var(--vscode-inputValidation-errorBorder, #be1100); } textarea.monospace { background-color: var(--vscode-editor-background, #1f1f1f); color: var(--vscode-editor-foreground, #cccccc); font-family: var(--vscode-editor-font-family, monospace); font-size: var(--vscode-editor-font-size, 14px); font-weight: var(--vscode-editor-font-weight, normal); } .textarea.monospace::placeholder { color: var( --vscode-editor-inlineValuesForeground, rgba(255, 255, 255, 0.5) ); } textarea.cursor-pointer { cursor: pointer; } textarea:focus { border-color: var(--vscode-focusBorder, #0078d4); outline: none; } textarea::placeholder { color: var(--vscode-input-placeholderForeground, #989898); opacity: 1; } textarea::-webkit-scrollbar-track { background-color: transparent; } textarea::-webkit-scrollbar { width: 14px; } textarea::-webkit-scrollbar-thumb { background-color: transparent; } textarea:hover::-webkit-scrollbar-thumb { background-color: var( --vscode-scrollbarSlider-background, rgba(121, 121, 121, 0.4) ); } textarea::-webkit-scrollbar-thumb:hover { background-color: var( --vscode-scrollbarSlider-hoverBackground, rgba(100, 100, 100, 0.7) ); } textarea::-webkit-scrollbar-thumb:active { background-color: var( --vscode-scrollbarSlider-activeBackground, rgba(191, 191, 191, 0.4) ); } textarea::-webkit-scrollbar-corner { background-color: transparent; } textarea::-webkit-resizer { background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAAXNSR0IB2cksfwAAAAlwSFlzAAALEwAACxMBAJqcGAAAACJJREFUeJxjYMAOZuIQZ5j5//9/rJJESczEKYGsG6cEXgAAsEEefMxkua4AAAAASUVORK5CYII='); background-repeat: no-repeat; background-position: right bottom; } `, ]"
10084
10281
  }
10085
10282
  ],
10086
10283
  "exports": [
@@ -10469,28 +10666,12 @@
10469
10666
  {
10470
10667
  "kind": "method",
10471
10668
  "name": "_handleChange",
10472
- "privacy": "private",
10473
- "parameters": [
10474
- {
10475
- "name": "ev",
10476
- "type": {
10477
- "text": "Event"
10478
- }
10479
- }
10480
- ]
10669
+ "privacy": "private"
10481
10670
  },
10482
10671
  {
10483
10672
  "kind": "method",
10484
10673
  "name": "_handleInput",
10485
- "privacy": "private",
10486
- "parameters": [
10487
- {
10488
- "name": "ev",
10489
- "type": {
10490
- "text": "InputEvent"
10491
- }
10492
- }
10493
- ]
10674
+ "privacy": "private"
10494
10675
  },
10495
10676
  {
10496
10677
  "kind": "method",
@@ -10531,20 +10712,6 @@
10531
10712
  "text": "Event"
10532
10713
  }
10533
10714
  },
10534
- {
10535
- "name": "vsc-change",
10536
- "type": {
10537
- "text": "CustomEvent"
10538
- },
10539
- "deprecated": "true"
10540
- },
10541
- {
10542
- "name": "vsc-input",
10543
- "type": {
10544
- "text": "CustomEvent"
10545
- },
10546
- "deprecated": "true"
10547
- },
10548
10715
  {
10549
10716
  "type": {
10550
10717
  "text": "InputEvent"
@@ -10727,7 +10894,7 @@
10727
10894
  "type": {
10728
10895
  "text": "CSSResultGroup"
10729
10896
  },
10730
- "default": "[ defaultStyles, css` :host { align-items: center; background-color: var(--vscode-settings-textInputBackground, #313131); border-color: var( --vscode-settings-textInputBorder, var(--vscode-settings-textInputBackground, #3c3c3c) ); border-radius: 2px; border-style: solid; border-width: 1px; box-sizing: border-box; color: var(--vscode-settings-textInputForeground, #cccccc); display: inline-flex; max-width: 100%; position: relative; width: 320px; } :host([focused]) { border-color: var(--vscode-focusBorder, #0078d4); } :host([invalid]), :host(:invalid) { border-color: var(--vscode-inputValidation-errorBorder, #be1100); } :host([invalid]) input, :host(:invalid) input { background-color: var(--vscode-inputValidation-errorBackground, #5a1d1d); } ::slotted([slot='content-before']) { display: block; margin-left: 2px; } ::slotted([slot='content-after']) { display: block; margin-right: 2px; } slot[name='content-before'], slot[name='content-after'] { align-items: center; display: flex; } input { background-color: var(--vscode-settings-textInputBackground, #313131); border: 0; box-sizing: border-box; color: var(--vscode-settings-textInputForeground, #cccccc); display: block; font-family: var(--vscode-font-family, ${defaultFontStack}); font-size: var(--vscode-font-size, 13px); font-weight: var(--vscode-font-weight, 'normal'); line-height: 18px; outline: none; padding-bottom: 3px; padding-left: 4px; padding-right: 4px; padding-top: 3px; width: 100%; } input:read-only:not([type='file']) { cursor: not-allowed; } input::placeholder { color: var(--vscode-input-placeholderForeground, #989898); opacity: 1; } input[type='file'] { line-height: 24px; padding-bottom: 0; padding-left: 2px; padding-top: 0; } input[type='file']::file-selector-button { background-color: var(--vscode-button-background, #0078d4); border: 0; border-radius: 2px; color: var(--vscode-button-foreground, #ffffff); cursor: pointer; font-family: var(--vscode-font-family, ${defaultFontStack}); font-size: var(--vscode-font-size, 13px); font-weight: var(--vscode-font-weight, 'normal'); line-height: 20px; padding: 0 14px; } input[type='file']::file-selector-button:hover { background-color: var(--vscode-button-hoverBackground, #026ec1); } `, ]"
10897
+ "default": "[ defaultStyles, css` :host { display: inline-block; width: 320px; } .root { align-items: center; background-color: var(--vscode-settings-textInputBackground, #313131); border-color: var( --vscode-settings-textInputBorder, var(--vscode-settings-textInputBackground, #3c3c3c) ); border-radius: 2px; border-style: solid; border-width: 1px; box-sizing: border-box; color: var(--vscode-settings-textInputForeground, #cccccc); display: flex; max-width: 100%; position: relative; width: 100%; } :host([focused]) .root { border-color: var(--vscode-focusBorder, #0078d4); } :host([invalid]), :host(:invalid) { border-color: var(--vscode-inputValidation-errorBorder, #be1100); } :host([invalid]) input, :host(:invalid) input { background-color: var(--vscode-inputValidation-errorBackground, #5a1d1d); } ::slotted([slot='content-before']) { display: block; margin-left: 2px; } ::slotted([slot='content-after']) { display: block; margin-right: 2px; } slot[name='content-before'], slot[name='content-after'] { align-items: center; display: flex; } input { background-color: var(--vscode-settings-textInputBackground, #313131); border: 0; box-sizing: border-box; color: var(--vscode-settings-textInputForeground, #cccccc); display: block; font-family: var(--vscode-font-family, ${defaultFontStack}); font-size: var(--vscode-font-size, 13px); font-weight: var(--vscode-font-weight, 'normal'); line-height: 18px; outline: none; padding-bottom: 3px; padding-left: 4px; padding-right: 4px; padding-top: 3px; width: 100%; } input:read-only:not([type='file']) { cursor: not-allowed; } input::placeholder { color: var(--vscode-input-placeholderForeground, #989898); opacity: 1; } input[type='file'] { line-height: 24px; padding-bottom: 0; padding-left: 2px; padding-top: 0; } input[type='file']::file-selector-button { background-color: var(--vscode-button-background, #0078d4); border: 0; border-radius: 2px; color: var(--vscode-button-foreground, #ffffff); cursor: pointer; font-family: var(--vscode-font-family, ${defaultFontStack}); font-size: var(--vscode-font-size, 13px); font-weight: var(--vscode-font-weight, 'normal'); line-height: 20px; padding: 0 14px; } input[type='file']::file-selector-button:hover { background-color: var(--vscode-button-hoverBackground, #026ec1); } `, ]"
10731
10898
  }
10732
10899
  ],
10733
10900
  "exports": [
@@ -11111,28 +11278,12 @@
11111
11278
  {
11112
11279
  "kind": "method",
11113
11280
  "name": "_onInput",
11114
- "privacy": "private",
11115
- "parameters": [
11116
- {
11117
- "name": "ev",
11118
- "type": {
11119
- "text": "InputEvent"
11120
- }
11121
- }
11122
- ]
11281
+ "privacy": "private"
11123
11282
  },
11124
11283
  {
11125
11284
  "kind": "method",
11126
11285
  "name": "_onChange",
11127
- "privacy": "private",
11128
- "parameters": [
11129
- {
11130
- "name": "ev",
11131
- "type": {
11132
- "text": "Event"
11133
- }
11134
- }
11135
- ]
11286
+ "privacy": "private"
11136
11287
  },
11137
11288
  {
11138
11289
  "kind": "method",
@@ -11172,26 +11323,12 @@
11172
11323
  }
11173
11324
  ],
11174
11325
  "events": [
11175
- {
11176
- "name": "vsc-input",
11177
- "type": {
11178
- "text": "CustomEvent"
11179
- },
11180
- "deprecated": "true"
11181
- },
11182
11326
  {
11183
11327
  "name": "change",
11184
11328
  "type": {
11185
11329
  "text": "Event"
11186
11330
  }
11187
11331
  },
11188
- {
11189
- "name": "vsc-change",
11190
- "type": {
11191
- "text": "CustomEvent"
11192
- },
11193
- "deprecated": "true"
11194
- },
11195
11332
  {
11196
11333
  "type": {
11197
11334
  "text": "InputEvent"
@@ -11573,7 +11710,7 @@
11573
11710
  "type": {
11574
11711
  "text": "CSSResultGroup"
11575
11712
  },
11576
- "default": "[ defaultStyles, css` :host { gap: 4px; display: flex; align-items: center; } `, ]"
11713
+ "default": "[ defaultStyles, css` :host { display: block; } div { gap: 4px; display: flex; align-items: center; } `, ]"
11577
11714
  }
11578
11715
  ],
11579
11716
  "exports": [
@@ -11838,7 +11975,7 @@
11838
11975
  "type": {
11839
11976
  "text": "CSSResultGroup"
11840
11977
  },
11841
- "default": "[ defaultStyles, css` :host { --vsc-tree-item-arrow-display: flex; --internal-selectionBackground: var( --vscode-list-inactiveSelectionBackground ); --internal-selectionForeground: var(--vscode-foreground); --internal-selectionIconForeground: var(--vscode-icon-foreground); --internal-defaultIndentGuideDisplay: none; --internal-highlightedIndentGuideDisplay: block; display: block; } :host(:hover) { --internal-defaultIndentGuideDisplay: block; --internal-highlightedIndentGuideDisplay: block; } :host(:focus-within) { --internal-selectionBackground: var( --vscode-list-activeSelectionBackground ); --internal-selectionForeground: var( --vscode-list-activeSelectionForeground ); --internal-selectionIconForeground: var( --vscode-list-activeSelectionIconForeground ); } :host([hide-arrows]) { --vsc-tree-item-arrow-display: none; } :host([indent-guides='none']), :host([indent-guides='none']:hover) { --internal-defaultIndentGuideDisplay: none; --internal-highlightedIndentGuideDisplay: none; } :host([indent-guides='always']), :host([indent-guides='always']:hover) { --internal-defaultIndentGuideDisplay: block; --internal-highlightedIndentGuideDisplay: block; } `, ]"
11978
+ "default": "[ defaultStyles, css` :host { --vsc-tree-item-arrow-display: flex; --internal-selectionBackground: var( --vscode-list-inactiveSelectionBackground, #37373d ); --internal-selectionForeground: var(--vscode-foreground, #cccccc); --internal-selectionIconForeground: var( --vscode-icon-foreground, #cccccc ); --internal-defaultIndentGuideDisplay: none; --internal-highlightedIndentGuideDisplay: block; display: block; } :host(:hover) { --internal-defaultIndentGuideDisplay: block; --internal-highlightedIndentGuideDisplay: block; } :host(:focus-within) { --internal-selectionBackground: var( --vscode-list-activeSelectionBackground, #04395e ); --internal-selectionForeground: var( --vscode-list-activeSelectionForeground, #ffffff ); --internal-selectionIconForeground: var( --vscode-list-activeSelectionIconForeground, #ffffff ); } :host([hide-arrows]) { --vsc-tree-item-arrow-display: none; } :host([indent-guides='none']), :host([indent-guides='none']:hover) { --internal-defaultIndentGuideDisplay: none; --internal-highlightedIndentGuideDisplay: none; } :host([indent-guides='always']), :host([indent-guides='always']:hover) { --internal-defaultIndentGuideDisplay: block; --internal-highlightedIndentGuideDisplay: block; } `, ]"
11842
11979
  }
11843
11980
  ],
11844
11981
  "exports": [
@@ -11876,7 +12013,63 @@
11876
12013
  "kind": "class",
11877
12014
  "description": "",
11878
12015
  "name": "VscodeTree",
12016
+ "cssProperties": [
12017
+ {
12018
+ "name": "--vscode-font-family",
12019
+ "default": "sans-serif"
12020
+ },
12021
+ {
12022
+ "name": "--vscode-font-size",
12023
+ "default": "13px"
12024
+ },
12025
+ {
12026
+ "name": "--vscode-font-weight",
12027
+ "default": "normal"
12028
+ },
12029
+ {
12030
+ "name": "--vscode-foreground",
12031
+ "default": "#cccccc"
12032
+ },
12033
+ {
12034
+ "name": "--vscode-icon-foreground",
12035
+ "default": "#cccccc"
12036
+ },
12037
+ {
12038
+ "name": "--vscode-list-focusAndSelectionOutline",
12039
+ "default": "#0078d4"
12040
+ },
12041
+ {
12042
+ "name": "--vscode-list-focusOutline",
12043
+ "default": "#0078d4"
12044
+ },
12045
+ {
12046
+ "name": "--vscode-list-hoverBackground",
12047
+ "default": "#2a2d2e"
12048
+ },
12049
+ {
12050
+ "name": "--vscode-list-hoverForeground",
12051
+ "default": "#cccccc"
12052
+ },
12053
+ {
12054
+ "name": "--vscode-tree-inactiveIndentGuidesStroke",
12055
+ "default": "rgba(88, 88, 88, 0.4)"
12056
+ },
12057
+ {
12058
+ "name": "--vscode-tree-indentGuidesStroke",
12059
+ "default": "#585858"
12060
+ }
12061
+ ],
11879
12062
  "members": [
12063
+ {
12064
+ "kind": "field",
12065
+ "name": "expandMode",
12066
+ "type": {
12067
+ "text": "'singleClick' | 'doubleClick'"
12068
+ },
12069
+ "default": "'singleClick'",
12070
+ "description": "Controls how tree folders are expanded when clicked. This property is designed to use\nthe `workbench.tree.expandMode` setting.\n\nValid options are available as constants.\n\n```javascript\nimport {ExpandMode} from '@vscode-elements/elements/dist/vscode-tree/vscode-tree.js';\n\ndocument.querySelector('vscode-tree').expandMode = ExpandMode.singleClick;\n```",
12071
+ "attribute": "expand-mode"
12072
+ },
11880
12073
  {
11881
12074
  "kind": "field",
11882
12075
  "name": "hideArrows",
@@ -11888,16 +12081,6 @@
11888
12081
  "attribute": "hide-arrows",
11889
12082
  "reflects": true
11890
12083
  },
11891
- {
11892
- "kind": "field",
11893
- "name": "expandMode",
11894
- "type": {
11895
- "text": "'singleClick' | 'doubleClick'"
11896
- },
11897
- "default": "DEFAULT_EXPAND_MODE",
11898
- "description": "Controls how tree folders are expanded when clicked. This property is designed to use\nthe `workbench.tree.expandMode` setting.\n\nValid options are available as constants.\n\n```javascript\nimport {ExpandMode} from '@vscode-elements/elements/dist/vscode-tree/vscode-tree.js';\n\ndocument.querySelector('vscode-tree').expandMode = ExpandMode.singleClick;\n```",
11899
- "attribute": "expand-mode"
11900
- },
11901
12084
  {
11902
12085
  "kind": "field",
11903
12086
  "name": "indent",
@@ -11915,7 +12098,7 @@
11915
12098
  "type": {
11916
12099
  "text": "'none' | 'onHover' | 'always'"
11917
12100
  },
11918
- "default": "DEFAULT_INDENT_GUIDE_DISPLAY",
12101
+ "default": "'onHover'",
11919
12102
  "description": "Controls whether the tree should render indent guides. This property is\ndesigned to use the `workbench.tree.renderIndentGuides` setting.\n\nValid options are available as constants.\n\n```javascript\nimport {IndentGuides} from '@vscode-elements/elements/dist/vscode-tree/vscode-tree.js';\n\ndocument.querySelector('vscode-tree').expandMode = IndentGuides.onHover;\n```",
11920
12103
  "attribute": "indent-guides",
11921
12104
  "reflects": true
@@ -11947,7 +12130,7 @@
11947
12130
  "text": "ConfigContext"
11948
12131
  },
11949
12132
  "privacy": "private",
11950
- "default": "{ hideArrows: DEFAULT_HIDE_ARROWS, expandMode: DEFAULT_EXPAND_MODE, indent: DEFAULT_INDENT, indentGuides: DEFAULT_INDENT_GUIDE_DISPLAY, multiSelect: DEFAULT_MULTI_SELECT, }"
12133
+ "default": "{ hideArrows: this.hideArrows, expandMode: this.expandMode, indent: this.indent, indentGuides: this.indentGuides, multiSelect: this.multiSelect, }"
11951
12134
  },
11952
12135
  {
11953
12136
  "kind": "field",
@@ -12094,30 +12277,30 @@
12094
12277
  }
12095
12278
  ],
12096
12279
  "attributes": [
12097
- {
12098
- "name": "hide-arrows",
12099
- "type": {
12100
- "text": "boolean"
12101
- },
12102
- "default": "DEFAULT_HIDE_ARROWS",
12103
- "description": "Although arrows are always visible in the Tree component by default in VSCode, some icon sets\n(e.g., Material Icon Theme) allow disabling them in the file explorer view. This flag makes it\npossible to mimic that behavior.",
12104
- "fieldName": "hideArrows"
12105
- },
12106
12280
  {
12107
12281
  "name": "expand-mode",
12108
12282
  "type": {
12109
12283
  "text": "'singleClick' | 'doubleClick'"
12110
12284
  },
12111
- "default": "DEFAULT_EXPAND_MODE",
12285
+ "default": "'singleClick'",
12112
12286
  "description": "Controls how tree folders are expanded when clicked. This property is designed to use\nthe `workbench.tree.expandMode` setting.\n\nValid options are available as constants.\n\n```javascript\nimport {ExpandMode} from '@vscode-elements/elements/dist/vscode-tree/vscode-tree.js';\n\ndocument.querySelector('vscode-tree').expandMode = ExpandMode.singleClick;\n```",
12113
12287
  "fieldName": "expandMode"
12114
12288
  },
12289
+ {
12290
+ "name": "hide-arrows",
12291
+ "type": {
12292
+ "text": "boolean"
12293
+ },
12294
+ "default": "false",
12295
+ "description": "Although arrows are always visible in the Tree component by default in VSCode, some icon sets\n(e.g., Material Icon Theme) allow disabling them in the file explorer view. This flag makes it\npossible to mimic that behavior.",
12296
+ "fieldName": "hideArrows"
12297
+ },
12115
12298
  {
12116
12299
  "name": "indent",
12117
12300
  "type": {
12118
12301
  "text": "number"
12119
12302
  },
12120
- "default": "DEFAULT_INDENT",
12303
+ "default": "8",
12121
12304
  "description": "Controls the indentation in pixels. This property is designed to use the\n`workbench.tree.indent` setting.",
12122
12305
  "fieldName": "indent"
12123
12306
  },
@@ -12126,7 +12309,7 @@
12126
12309
  "type": {
12127
12310
  "text": "'none' | 'onHover' | 'always'"
12128
12311
  },
12129
- "default": "DEFAULT_INDENT_GUIDE_DISPLAY",
12312
+ "default": "'onHover'",
12130
12313
  "description": "Controls whether the tree should render indent guides. This property is\ndesigned to use the `workbench.tree.renderIndentGuides` setting.\n\nValid options are available as constants.\n\n```javascript\nimport {IndentGuides} from '@vscode-elements/elements/dist/vscode-tree/vscode-tree.js';\n\ndocument.querySelector('vscode-tree').expandMode = IndentGuides.onHover;\n```",
12131
12314
  "fieldName": "indentGuides"
12132
12315
  },
@@ -12135,7 +12318,7 @@
12135
12318
  "type": {
12136
12319
  "text": "boolean"
12137
12320
  },
12138
- "default": "DEFAULT_MULTI_SELECT",
12321
+ "default": "false",
12139
12322
  "description": "Allows selecting multiple items.",
12140
12323
  "fieldName": "multiSelect"
12141
12324
  }
@@ -12193,7 +12376,7 @@
12193
12376
  "type": {
12194
12377
  "text": "CSSResultGroup"
12195
12378
  },
12196
- "default": "[ defaultStyles, css` :host { --hover-outline-color: transparent; --hover-outline-style: solid; --hover-outline-width: 0; --selected-outline-color: transparent; --selected-outline-style: solid; --selected-outline-width: 0; cursor: pointer; display: block; user-select: none; } .root { display: block; } .wrapper { align-items: flex-start; display: flex; font-family: var(--vscode-font-family); font-size: var(--vscode-font-size); font-weight: var(--vscode-font-weight); outline-offset: -1px; padding-right: 12px; } .wrapper:hover { background-color: var(--vscode-list-hoverBackground); color: var(--vscode-list-hoverForeground); } :host([selected]) .wrapper { color: var(--internal-selectionForeground); background-color: var(--internal-selectionBackground); } :host([selected]) ::slotted(vscode-icon) { color: var(--internal-selectionForeground); } :host(:focus) { outline: none; } :host(:focus) .wrapper.active { outline-color: var( --vscode-list-focusAndSelectionOutline, var(--vscode-list-focusOutline) ); outline-style: solid; outline-width: 1px; } .arrow-container { align-items: center; display: var(--vsc-tree-item-arrow-display); height: 22px; justify-content: center; padding-left: 8px; padding-right: 6px; width: 16px; } .arrow-container svg { display: block; fill: var(--vscode-icon-foreground); } .arrow-container.icon-rotated svg { transform: rotate(90deg); } :host([selected]) .arrow-container svg { fill: var(--internal-selectionIconForeground); } .icon-container { align-items: center; display: flex; height: 22px; } .icon-container slot { display: block; } .icon-container.has-icon { margin-right: 6px; } .children { position: relative; } .children.guide:before { background-color: var(--vscode-tree-inactiveIndentGuidesStroke); content: ''; display: none; height: 100%; left: var(--indentation-guide-left); pointer-events: none; position: absolute; width: 1px; z-index: 1; } .children.guide.default-guide:before { display: var(--internal-defaultIndentGuideDisplay); } .children.guide.highlighted-guide:before { display: var(--internal-highlightedIndentGuideDisplay); background-color: var(--vscode-tree-indentGuidesStroke); } .content { line-height: 22px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } :host([branch]) ::slotted(vscode-tree-item) { display: none; } :host([branch][open]) ::slotted(vscode-tree-item) { display: block; } `, ]"
12379
+ "default": "[ defaultStyles, css` :host { --hover-outline-color: transparent; --hover-outline-style: solid; --hover-outline-width: 0; --selected-outline-color: transparent; --selected-outline-style: solid; --selected-outline-width: 0; cursor: pointer; display: block; user-select: none; } ::slotted(vscode-icon) { display: block; } .root { display: block; } .wrapper { align-items: flex-start; color: var(--vscode-foreground, #cccccc); display: flex; font-family: var(--vscode-font-family, sans-serif); font-size: var(--vscode-font-size, 13px); font-weight: var(--vscode-font-weight, normal); outline-offset: -1px; padding-right: 12px; } .wrapper:hover { background-color: var(--vscode-list-hoverBackground, #2a2d2e); color: var( --vscode-list-hoverForeground, var(--vscode-foreground, #cccccc) ); } :host([selected]) .wrapper { color: var(--internal-selectionForeground); background-color: var(--internal-selectionBackground); } :host([selected]) ::slotted(vscode-icon) { color: var(--internal-selectionForeground); } :host(:focus) { outline: none; } :host(:focus) .wrapper.active { outline-color: var( --vscode-list-focusAndSelectionOutline, var(--vscode-list-focusOutline, #0078d4) ); outline-style: solid; outline-width: 1px; } .arrow-container { align-items: center; display: var(--vsc-tree-item-arrow-display); height: 22px; justify-content: center; padding-left: 8px; padding-right: 6px; width: 16px; } .arrow-container svg { display: block; fill: var(--vscode-icon-foreground, #cccccc); } .arrow-container.icon-rotated svg { transform: rotate(90deg); } :host([selected]) .arrow-container svg { fill: var(--internal-selectionIconForeground); } .icon-container { align-items: center; display: flex; margin-bottom: 3px; margin-top: 3px; overflow: hidden; } .icon-container slot { display: block; } .icon-container.has-icon { height: 16px; margin-right: 6px; width: 16px; } .children { position: relative; } .children.guide:before { background-color: var( --vscode-tree-inactiveIndentGuidesStroke, rgba(88, 88, 88, 0.4) ); content: ''; display: none; height: 100%; left: var(--indentation-guide-left); pointer-events: none; position: absolute; width: 1px; z-index: 1; } .children.guide.default-guide:before { display: var(--internal-defaultIndentGuideDisplay); } .children.guide.highlighted-guide:before { display: var(--internal-highlightedIndentGuideDisplay); background-color: var(--vscode-tree-indentGuidesStroke, #585858); } .content { line-height: 22px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } :host([branch]) ::slotted(vscode-tree-item) { display: none; } :host([branch][open]) ::slotted(vscode-tree-item) { display: block; } `, ]"
12197
12380
  }
12198
12381
  ],
12199
12382
  "exports": [