@vscode-elements/elements 1.6.0 → 1.6.2-pre.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.
@@ -24,7 +24,7 @@
24
24
  "text": "string"
25
25
  },
26
26
  "privacy": "private",
27
- "default": "'1.6.0'"
27
+ "default": "'1.6.2-pre.0'"
28
28
  },
29
29
  {
30
30
  "kind": "field",
@@ -293,7 +293,7 @@
293
293
  "text": "string"
294
294
  },
295
295
  "privacy": "private",
296
- "default": "'1.6.0'",
296
+ "default": "'1.6.2-pre.0'",
297
297
  "inheritedFrom": {
298
298
  "name": "VscElement",
299
299
  "module": "src/includes/VscElement.ts"
@@ -579,7 +579,7 @@
579
579
  "text": "string"
580
580
  },
581
581
  "privacy": "private",
582
- "default": "'1.6.0'",
582
+ "default": "'1.6.2-pre.0'",
583
583
  "inheritedFrom": {
584
584
  "name": "VscElement",
585
585
  "module": "src/includes/VscElement.ts"
@@ -1073,7 +1073,7 @@
1073
1073
  "text": "string"
1074
1074
  },
1075
1075
  "privacy": "private",
1076
- "default": "'1.6.0'",
1076
+ "default": "'1.6.2-pre.0'",
1077
1077
  "inheritedFrom": {
1078
1078
  "name": "VscElement",
1079
1079
  "module": "src/includes/VscElement.ts"
@@ -1291,7 +1291,7 @@
1291
1291
  "text": "string"
1292
1292
  },
1293
1293
  "privacy": "private",
1294
- "default": "'1.6.0'",
1294
+ "default": "'1.6.2-pre.0'",
1295
1295
  "inheritedFrom": {
1296
1296
  "name": "VscElement",
1297
1297
  "module": "src/includes/VscElement.ts"
@@ -1473,7 +1473,7 @@
1473
1473
  "text": "string"
1474
1474
  },
1475
1475
  "privacy": "private",
1476
- "default": "'1.6.0'",
1476
+ "default": "'1.6.2-pre.0'",
1477
1477
  "inheritedFrom": {
1478
1478
  "name": "VscElement",
1479
1479
  "module": "src/includes/VscElement.ts"
@@ -1776,7 +1776,7 @@
1776
1776
  "text": "string"
1777
1777
  },
1778
1778
  "privacy": "private",
1779
- "default": "'1.6.0'",
1779
+ "default": "'1.6.2-pre.0'",
1780
1780
  "inheritedFrom": {
1781
1781
  "name": "VscElement",
1782
1782
  "module": "src/includes/VscElement.ts"
@@ -1966,7 +1966,7 @@
1966
1966
  "text": "string"
1967
1967
  },
1968
1968
  "privacy": "private",
1969
- "default": "'1.6.0'",
1969
+ "default": "'1.6.2-pre.0'",
1970
1970
  "inheritedFrom": {
1971
1971
  "name": "VscElement",
1972
1972
  "module": "src/includes/VscElement.ts"
@@ -2102,7 +2102,7 @@
2102
2102
  "text": "string"
2103
2103
  },
2104
2104
  "privacy": "private",
2105
- "default": "'1.6.0'",
2105
+ "default": "'1.6.2-pre.0'",
2106
2106
  "inheritedFrom": {
2107
2107
  "name": "VscElement",
2108
2108
  "module": "src/includes/VscElement.ts"
@@ -2320,7 +2320,7 @@
2320
2320
  "text": "string"
2321
2321
  },
2322
2322
  "privacy": "private",
2323
- "default": "'1.6.0'",
2323
+ "default": "'1.6.2-pre.0'",
2324
2324
  "inheritedFrom": {
2325
2325
  "name": "VscElement",
2326
2326
  "module": "src/includes/VscElement.ts"
@@ -2452,7 +2452,7 @@
2452
2452
  "text": "string"
2453
2453
  },
2454
2454
  "privacy": "private",
2455
- "default": "'1.6.0'",
2455
+ "default": "'1.6.2-pre.0'",
2456
2456
  "inheritedFrom": {
2457
2457
  "name": "VscElement",
2458
2458
  "module": "src/includes/VscElement.ts"
@@ -2552,7 +2552,7 @@
2552
2552
  "text": "string"
2553
2553
  },
2554
2554
  "privacy": "private",
2555
- "default": "'1.6.0'",
2555
+ "default": "'1.6.2-pre.0'",
2556
2556
  "inheritedFrom": {
2557
2557
  "name": "VscElement",
2558
2558
  "module": "src/includes/VscElement.ts"
@@ -2750,7 +2750,7 @@
2750
2750
  "text": "string"
2751
2751
  },
2752
2752
  "privacy": "private",
2753
- "default": "'1.6.0'",
2753
+ "default": "'1.6.2-pre.0'",
2754
2754
  "inheritedFrom": {
2755
2755
  "name": "VscElement",
2756
2756
  "module": "src/includes/VscElement.ts"
@@ -2970,7 +2970,7 @@
2970
2970
  "text": "string"
2971
2971
  },
2972
2972
  "privacy": "private",
2973
- "default": "'1.6.0'",
2973
+ "default": "'1.6.2-pre.0'",
2974
2974
  "inheritedFrom": {
2975
2975
  "name": "VscElement",
2976
2976
  "module": "src/includes/VscElement.ts"
@@ -4058,7 +4058,7 @@
4058
4058
  "text": "string"
4059
4059
  },
4060
4060
  "privacy": "private",
4061
- "default": "'1.6.0'",
4061
+ "default": "'1.6.2-pre.0'",
4062
4062
  "inheritedFrom": {
4063
4063
  "name": "VscElement",
4064
4064
  "module": "src/includes/VscElement.ts"
@@ -4304,7 +4304,7 @@
4304
4304
  "text": "string"
4305
4305
  },
4306
4306
  "privacy": "private",
4307
- "default": "'1.6.0'",
4307
+ "default": "'1.6.2-pre.0'",
4308
4308
  "inheritedFrom": {
4309
4309
  "name": "VscElement",
4310
4310
  "module": "src/includes/VscElement.ts"
@@ -4452,7 +4452,7 @@
4452
4452
  "text": "string"
4453
4453
  },
4454
4454
  "privacy": "private",
4455
- "default": "'1.6.0'",
4455
+ "default": "'1.6.2-pre.0'",
4456
4456
  "inheritedFrom": {
4457
4457
  "name": "VscElement",
4458
4458
  "module": "src/includes/VscElement.ts"
@@ -4919,7 +4919,7 @@
4919
4919
  "text": "string"
4920
4920
  },
4921
4921
  "privacy": "private",
4922
- "default": "'1.6.0'",
4922
+ "default": "'1.6.2-pre.0'",
4923
4923
  "inheritedFrom": {
4924
4924
  "name": "VscElement",
4925
4925
  "module": "src/includes/VscElement.ts"
@@ -5231,7 +5231,7 @@
5231
5231
  "text": "string"
5232
5232
  },
5233
5233
  "privacy": "private",
5234
- "default": "'1.6.0'",
5234
+ "default": "'1.6.2-pre.0'",
5235
5235
  "inheritedFrom": {
5236
5236
  "name": "VscElement",
5237
5237
  "module": "src/includes/VscElement.ts"
@@ -5462,7 +5462,15 @@
5462
5462
  },
5463
5463
  {
5464
5464
  "kind": "field",
5465
- "name": "_resizeObserver",
5465
+ "name": "_hostResizeObserver",
5466
+ "type": {
5467
+ "text": "ResizeObserver"
5468
+ },
5469
+ "privacy": "private"
5470
+ },
5471
+ {
5472
+ "kind": "field",
5473
+ "name": "_contentResizeObserver",
5466
5474
  "type": {
5467
5475
  "text": "ResizeObserver"
5468
5476
  },
@@ -5504,14 +5512,9 @@
5504
5512
  "privacy": "private",
5505
5513
  "default": "0"
5506
5514
  },
5507
- {
5508
- "kind": "method",
5509
- "name": "_resizeObserverCallback",
5510
- "privacy": "private"
5511
- },
5512
5515
  {
5513
5516
  "kind": "field",
5514
- "name": "_resizeObserverCallbackBound",
5517
+ "name": "_resizeObserverCallback",
5515
5518
  "privacy": "private"
5516
5519
  },
5517
5520
  {
@@ -5610,7 +5613,7 @@
5610
5613
  "text": "string"
5611
5614
  },
5612
5615
  "privacy": "private",
5613
- "default": "'1.6.0'",
5616
+ "default": "'1.6.2-pre.0'",
5614
5617
  "inheritedFrom": {
5615
5618
  "name": "VscElement",
5616
5619
  "module": "src/includes/VscElement.ts"
@@ -6673,7 +6676,7 @@
6673
6676
  "text": "string"
6674
6677
  },
6675
6678
  "privacy": "private",
6676
- "default": "'1.6.0'",
6679
+ "default": "'1.6.2-pre.0'",
6677
6680
  "inheritedFrom": {
6678
6681
  "name": "VscElement",
6679
6682
  "module": "src/includes/VscElement.ts"
@@ -7115,7 +7118,7 @@
7115
7118
  "text": "string"
7116
7119
  },
7117
7120
  "privacy": "private",
7118
- "default": "'1.6.0'",
7121
+ "default": "'1.6.2-pre.0'",
7119
7122
  "inheritedFrom": {
7120
7123
  "name": "VscElement",
7121
7124
  "module": "src/includes/VscElement.ts"
@@ -7275,7 +7278,7 @@
7275
7278
  "text": "string"
7276
7279
  },
7277
7280
  "privacy": "private",
7278
- "default": "'1.6.0'",
7281
+ "default": "'1.6.2-pre.0'",
7279
7282
  "inheritedFrom": {
7280
7283
  "name": "VscElement",
7281
7284
  "module": "src/includes/VscElement.ts"
@@ -7407,7 +7410,7 @@
7407
7410
  "text": "string"
7408
7411
  },
7409
7412
  "privacy": "private",
7410
- "default": "'1.6.0'",
7413
+ "default": "'1.6.2-pre.0'",
7411
7414
  "inheritedFrom": {
7412
7415
  "name": "VscElement",
7413
7416
  "module": "src/includes/VscElement.ts"
@@ -7743,6 +7746,14 @@
7743
7746
  },
7744
7747
  "privacy": "private"
7745
7748
  },
7749
+ {
7750
+ "kind": "field",
7751
+ "name": "_bodyResizeObserver",
7752
+ "type": {
7753
+ "text": "ResizeObserver | undefined"
7754
+ },
7755
+ "privacy": "private"
7756
+ },
7746
7757
  {
7747
7758
  "kind": "field",
7748
7759
  "name": "_activeSashElementIndex",
@@ -7910,6 +7921,11 @@
7910
7921
  "name": "_headerResizeObserverCallback",
7911
7922
  "privacy": "private"
7912
7923
  },
7924
+ {
7925
+ "kind": "field",
7926
+ "name": "_bodyResizeObserverCallback",
7927
+ "privacy": "private"
7928
+ },
7913
7929
  {
7914
7930
  "kind": "method",
7915
7931
  "name": "_calcColWidthPercentages",
@@ -7966,7 +7982,7 @@
7966
7982
  },
7967
7983
  {
7968
7984
  "kind": "method",
7969
- "name": "_updateScrollpaneSize",
7985
+ "name": "_updateResizeHandlersSize",
7970
7986
  "privacy": "private"
7971
7987
  },
7972
7988
  {
@@ -8084,7 +8100,7 @@
8084
8100
  "text": "string"
8085
8101
  },
8086
8102
  "privacy": "private",
8087
- "default": "'1.6.0'",
8103
+ "default": "'1.6.2-pre.0'",
8088
8104
  "inheritedFrom": {
8089
8105
  "name": "VscElement",
8090
8106
  "module": "src/includes/VscElement.ts"
@@ -8268,7 +8284,7 @@
8268
8284
  "text": "string"
8269
8285
  },
8270
8286
  "privacy": "private",
8271
- "default": "'1.6.0'",
8287
+ "default": "'1.6.2-pre.0'",
8272
8288
  "inheritedFrom": {
8273
8289
  "name": "VscElement",
8274
8290
  "module": "src/includes/VscElement.ts"
@@ -8387,7 +8403,7 @@
8387
8403
  "text": "string"
8388
8404
  },
8389
8405
  "privacy": "private",
8390
- "default": "'1.6.0'",
8406
+ "default": "'1.6.2-pre.0'",
8391
8407
  "inheritedFrom": {
8392
8408
  "name": "VscElement",
8393
8409
  "module": "src/includes/VscElement.ts"
@@ -8497,7 +8513,7 @@
8497
8513
  "text": "string"
8498
8514
  },
8499
8515
  "privacy": "private",
8500
- "default": "'1.6.0'",
8516
+ "default": "'1.6.2-pre.0'",
8501
8517
  "inheritedFrom": {
8502
8518
  "name": "VscElement",
8503
8519
  "module": "src/includes/VscElement.ts"
@@ -8592,7 +8608,7 @@
8592
8608
  "text": "string"
8593
8609
  },
8594
8610
  "privacy": "private",
8595
- "default": "'1.6.0'",
8611
+ "default": "'1.6.2-pre.0'",
8596
8612
  "inheritedFrom": {
8597
8613
  "name": "VscElement",
8598
8614
  "module": "src/includes/VscElement.ts"
@@ -8681,7 +8697,7 @@
8681
8697
  "text": "string"
8682
8698
  },
8683
8699
  "privacy": "private",
8684
- "default": "'1.6.0'",
8700
+ "default": "'1.6.2-pre.0'",
8685
8701
  "inheritedFrom": {
8686
8702
  "name": "VscElement",
8687
8703
  "module": "src/includes/VscElement.ts"
@@ -8727,7 +8743,7 @@
8727
8743
  },
8728
8744
  {
8729
8745
  "kind": "javascript-module",
8730
- "path": "src/vscode-textarea/vscode-textarea.styles.ts",
8746
+ "path": "src/vscode-tabs/vscode-tabs.styles.ts",
8731
8747
  "declarations": [
8732
8748
  {
8733
8749
  "kind": "variable",
@@ -8735,7 +8751,7 @@
8735
8751
  "type": {
8736
8752
  "text": "CSSResultGroup"
8737
8753
  },
8738
- "default": "[\n defaultStyles,\n css`\n :host {\n display: inline-block;\n height: 40px;\n position: relative;\n width: 320px;\n }\n\n :host([cols]) {\n width: auto;\n }\n\n :host([rows]) {\n height: auto;\n }\n\n .shadow {\n box-shadow: var(--vscode-scrollbar-shadow) 0 6px 6px -6px inset;\n display: none;\n inset: 0 0 auto 0;\n height: 6px;\n pointer-events: none;\n position: absolute;\n width: 100%;\n }\n\n .shadow.visible {\n display: block;\n }\n\n textarea {\n background-color: var(--vscode-settings-textInputBackground);\n border-color: var(--vscode-settings-textInputBorder, var(--vscode-settings-textInputBackground));\n border-radius: 2px;\n border-style: solid;\n border-width: 1px;\n box-sizing: border-box;\n color: var(--vscode-settings-textInputForeground);\n display: block;\n font-family: var(--vscode-font-family);\n font-size: var(--vscode-font-size);\n font-weight: var(--vscode-font-weight);\n height: 100%;\n width: 100%;\n }\n\n :host([cols]) textarea {\n width: auto;\n }\n\n :host([rows]) textarea {\n height: auto;\n }\n\n :host([invalid]) textarea,\n :host(:invalid) textarea {\n background-color: var(--vscode-inputValidation-errorBackground);\n border-color: var(--vscode-inputValidation-errorBorder, #be1100);\n }\n\n textarea.monospace {\n background-color: var(--vscode-editor-background);\n color: var(--vscode-editor-foreground);\n font-family: var(--vscode-editor-font-family);\n font-size: var(--vscode-editor-font-size);\n font-weight: var(--vscode-editor-font-weight);\n }\n\n .textarea.monospace::placeholder {\n color: var(--vscode-editor-inlineValuesForeground);\n }\n\n textarea.cursor-pointer {\n cursor: pointer;\n }\n\n textarea:focus {\n border-color: var(--vscode-focusBorder);\n outline: none;\n }\n\n textarea::placeholder {\n color: var(--vscode-input-placeholderForeground);\n opacity: 1;\n }\n\n textarea::-webkit-scrollbar-track {\n background-color: transparent;\n }\n\n textarea::-webkit-scrollbar {\n width: 14px;\n }\n\n textarea::-webkit-scrollbar-thumb {\n background-color: transparent;\n }\n\n textarea:hover::-webkit-scrollbar-thumb {\n background-color: var(--vscode-scrollbarSlider-background);\n }\n\n textarea::-webkit-scrollbar-thumb:hover {\n background-color: var(--vscode-scrollbarSlider-hoverBackground);\n }\n\n textarea::-webkit-scrollbar-thumb:active {\n background-color: var(--vscode-scrollbarSlider-activeBackground);\n }\n\n textarea::-webkit-scrollbar-corner {\n background-color: transparent;\n }\n\n textarea::-webkit-resizer {\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAAXNSR0IB2cksfwAAAAlwSFlzAAALEwAACxMBAJqcGAAAACJJREFUeJxjYMAOZuIQZ5j5//9/rJJESczEKYGsG6cEXgAAsEEefMxkua4AAAAASUVORK5CYII=');\n background-repeat: no-repeat;\n background-position: right bottom;\n }\n `,\n]"
8754
+ "default": "[\n defaultStyles,\n css`\n :host {\n display: block;\n }\n\n .header {\n align-items: center;\n display: flex;\n font-family: var(--vscode-font-family);\n font-size: var(--vscode-font-size);\n font-weight: var(--vscode-font-weight);\n width: 100%;\n }\n\n .header {\n border-bottom-color: var(--vscode-settings-headerBorder);\n border-bottom-style: solid;\n border-bottom-width: 1px;\n }\n\n .header.panel {\n background-color: var(--vscode-panel-background);\n border-bottom-width: 0;\n box-sizing: border-box;\n padding-left: 8px;\n padding-right: 8px;\n }\n\n slot[name='addons'] {\n display: block;\n margin-left: auto;\n }\n `,\n]"
8739
8755
  }
8740
8756
  ],
8741
8757
  "exports": [
@@ -8744,35 +8760,20 @@
8744
8760
  "name": "default",
8745
8761
  "declaration": {
8746
8762
  "name": "styles",
8747
- "module": "src/vscode-textarea/vscode-textarea.styles.ts"
8763
+ "module": "src/vscode-tabs/vscode-tabs.styles.ts"
8748
8764
  }
8749
8765
  }
8750
8766
  ]
8751
8767
  },
8752
8768
  {
8753
8769
  "kind": "javascript-module",
8754
- "path": "src/vscode-textarea/vscode-textarea.ts",
8770
+ "path": "src/vscode-tabs/vscode-tabs.ts",
8755
8771
  "declarations": [
8756
8772
  {
8757
8773
  "kind": "class",
8758
- "description": "Multi-line text input.\n\nWhen participating in a form, it supports the `:invalid` pseudo class. Otherwise the error styles\ncan be applied through the `invalid` property.",
8759
- "name": "VscodeTextarea",
8774
+ "description": "",
8775
+ "name": "VscodeTabs",
8760
8776
  "cssProperties": [
8761
- {
8762
- "name": "--vscode-scrollbar-shadow"
8763
- },
8764
- {
8765
- "name": "--vscode-settings-textInputBackground"
8766
- },
8767
- {
8768
- "name": "--vscode-settings-textInputBorder"
8769
- },
8770
- {
8771
- "name": "--vscode-settings-textInputForeground"
8772
- },
8773
- {
8774
- "name": "--vscode-input-placeholderForeground"
8775
- },
8776
8777
  {
8777
8778
  "name": "--vscode-font-family"
8778
8779
  },
@@ -8783,370 +8784,161 @@
8783
8784
  "name": "--vscode-font-weight"
8784
8785
  },
8785
8786
  {
8786
- "name": "--vscode-editor-background"
8787
- },
8788
- {
8789
- "name": "--vscode-editor-foreground"
8790
- },
8791
- {
8792
- "name": "--vscode-editor-font-family"
8793
- },
8794
- {
8795
- "name": "--vscode-editor-font-size"
8796
- },
8797
- {
8798
- "name": "--vscode-editor-font-weight"
8799
- },
8800
- {
8801
- "name": "--vscode-editor-inlineValuesForeground"
8787
+ "name": "--vscode-settings-headerBorder"
8802
8788
  },
8803
8789
  {
8804
- "name": "--vscode-focusBorder"
8805
- },
8790
+ "name": "--vscode-panel-background"
8791
+ }
8792
+ ],
8793
+ "slots": [
8806
8794
  {
8807
- "name": "--vscode-scrollbarSlider-background"
8795
+ "description": "Default slot. It is used for tab panels.",
8796
+ "name": ""
8808
8797
  },
8809
8798
  {
8810
- "name": "--vscode-scrollbarSlider-hoverBackground"
8799
+ "description": "Slot for tab headers.",
8800
+ "name": "header"
8811
8801
  },
8812
8802
  {
8813
- "name": "--vscode-scrollbarSlider-activeBackground"
8803
+ "description": "Right aligned area in the header.",
8804
+ "name": "addons"
8814
8805
  }
8815
8806
  ],
8816
8807
  "members": [
8817
8808
  {
8818
8809
  "kind": "field",
8819
- "name": "autocomplete",
8820
- "type": {
8821
- "text": "'on' | 'off' | undefined"
8822
- },
8823
- "default": "undefined",
8824
- "attribute": "autocomplete"
8825
- },
8826
- {
8827
- "kind": "field",
8828
- "name": "autofocus",
8810
+ "name": "panel",
8829
8811
  "type": {
8830
8812
  "text": "boolean"
8831
8813
  },
8832
8814
  "default": "false",
8833
- "attribute": "autofocus",
8815
+ "description": "Panel-like look",
8816
+ "attribute": "panel",
8834
8817
  "reflects": true
8835
8818
  },
8836
8819
  {
8837
8820
  "kind": "field",
8838
- "name": "defaultValue",
8839
- "type": {
8840
- "text": "string"
8841
- },
8842
- "default": "''",
8843
- "attribute": "default-value"
8844
- },
8845
- {
8846
- "kind": "field",
8847
- "name": "disabled",
8821
+ "name": "selectedIndex",
8848
8822
  "type": {
8849
- "text": "boolean"
8823
+ "text": "number"
8850
8824
  },
8851
- "default": "false",
8852
- "attribute": "disabled",
8825
+ "default": "0",
8826
+ "attribute": "selected-index",
8853
8827
  "reflects": true
8854
8828
  },
8855
8829
  {
8856
8830
  "kind": "field",
8857
- "name": "invalid",
8831
+ "name": "_headerSlotElements",
8858
8832
  "type": {
8859
- "text": "boolean"
8833
+ "text": "Element[]"
8860
8834
  },
8861
- "default": "false",
8862
- "attribute": "invalid",
8863
- "reflects": true
8835
+ "privacy": "private"
8864
8836
  },
8865
8837
  {
8866
8838
  "kind": "field",
8867
- "name": "label",
8839
+ "name": "_mainSlotElements",
8868
8840
  "type": {
8869
- "text": "string"
8841
+ "text": "Element[]"
8870
8842
  },
8871
- "default": "''"
8843
+ "privacy": "private"
8872
8844
  },
8873
8845
  {
8874
8846
  "kind": "field",
8875
- "name": "maxLength",
8847
+ "name": "_tabHeaders",
8876
8848
  "type": {
8877
- "text": "number | undefined"
8849
+ "text": "VscodeTabHeader[]"
8878
8850
  },
8879
- "default": "undefined",
8880
- "attribute": "maxLength"
8851
+ "privacy": "private",
8852
+ "default": "[]"
8881
8853
  },
8882
8854
  {
8883
8855
  "kind": "field",
8884
- "name": "minLength",
8856
+ "name": "_tabPanels",
8885
8857
  "type": {
8886
- "text": "number | undefined"
8858
+ "text": "VscodeTabPanel[]"
8887
8859
  },
8888
- "default": "undefined",
8889
- "attribute": "minLength"
8860
+ "privacy": "private",
8861
+ "default": "[]"
8890
8862
  },
8891
8863
  {
8892
8864
  "kind": "field",
8893
- "name": "rows",
8865
+ "name": "_componentId",
8894
8866
  "type": {
8895
- "text": "number | undefined"
8867
+ "text": "string"
8896
8868
  },
8897
- "default": "undefined",
8898
- "attribute": "rows"
8869
+ "privacy": "private",
8870
+ "default": "''"
8899
8871
  },
8900
8872
  {
8901
8873
  "kind": "field",
8902
- "name": "cols",
8874
+ "name": "_tabFocus",
8903
8875
  "type": {
8904
- "text": "number | undefined"
8876
+ "text": "number"
8905
8877
  },
8906
- "default": "undefined",
8907
- "attribute": "cols"
8878
+ "privacy": "private",
8879
+ "default": "0"
8908
8880
  },
8909
8881
  {
8910
- "kind": "field",
8911
- "name": "name",
8912
- "type": {
8913
- "text": "string | undefined"
8914
- },
8915
- "default": "undefined",
8916
- "attribute": "name"
8882
+ "kind": "method",
8883
+ "name": "_dispatchSelectEvent",
8884
+ "privacy": "private"
8917
8885
  },
8918
8886
  {
8919
- "kind": "field",
8920
- "name": "placeholder",
8921
- "type": {
8922
- "text": "string | undefined"
8923
- },
8924
- "default": "undefined",
8925
- "attribute": "placeholder"
8887
+ "kind": "method",
8888
+ "name": "_setActiveTab",
8889
+ "privacy": "private"
8926
8890
  },
8927
8891
  {
8928
- "kind": "field",
8929
- "name": "readonly",
8930
- "type": {
8931
- "text": "boolean"
8932
- },
8933
- "default": "false",
8934
- "attribute": "readonly",
8935
- "reflects": true
8892
+ "kind": "method",
8893
+ "name": "_focusPrevTab",
8894
+ "privacy": "private"
8936
8895
  },
8937
8896
  {
8938
- "kind": "field",
8939
- "name": "resize",
8940
- "type": {
8941
- "text": "'both' | 'horizontal' | 'vertical' | 'none'"
8942
- },
8943
- "default": "'none'",
8944
- "attribute": "resize"
8897
+ "kind": "method",
8898
+ "name": "_focusNextTab",
8899
+ "privacy": "private"
8945
8900
  },
8946
8901
  {
8947
- "kind": "field",
8948
- "name": "required",
8949
- "type": {
8950
- "text": "boolean"
8951
- },
8952
- "default": "false",
8953
- "attribute": "required",
8954
- "reflects": true
8902
+ "kind": "method",
8903
+ "name": "_onHeaderKeyDown",
8904
+ "privacy": "private",
8905
+ "parameters": [
8906
+ {
8907
+ "name": "ev",
8908
+ "type": {
8909
+ "text": "KeyboardEvent"
8910
+ }
8911
+ }
8912
+ ]
8955
8913
  },
8956
8914
  {
8957
- "kind": "field",
8958
- "name": "spellcheck",
8959
- "type": {
8960
- "text": "boolean"
8961
- },
8962
- "default": "false",
8963
- "attribute": "spellcheck"
8915
+ "kind": "method",
8916
+ "name": "_moveHeadersToHeaderSlot",
8917
+ "privacy": "private"
8964
8918
  },
8965
8919
  {
8966
- "kind": "field",
8967
- "name": "monospace",
8968
- "type": {
8969
- "text": "boolean"
8970
- },
8971
- "default": "false",
8972
- "description": "Use monospace fonts. The font family, weight, size, and color will be the same as set in the\nVSCode code editor.",
8973
- "attribute": "monospace",
8974
- "reflects": true
8920
+ "kind": "method",
8921
+ "name": "_onMainSlotChange",
8922
+ "privacy": "private"
8975
8923
  },
8976
8924
  {
8977
- "kind": "field",
8978
- "name": "value",
8979
- "type": {
8980
- "text": "string"
8981
- },
8982
- "attribute": "value"
8983
- },
8984
- {
8985
- "kind": "field",
8986
- "name": "wrappedElement",
8987
- "type": {
8988
- "text": "HTMLTextAreaElement"
8989
- },
8990
- "description": "Getter for the inner textarea element if it needs to be accessed for some reason.",
8991
- "readonly": true
8992
- },
8993
- {
8994
- "kind": "field",
8995
- "name": "form",
8996
- "type": {
8997
- "text": "HTMLFormElement | null"
8998
- },
8999
- "readonly": true
9000
- },
9001
- {
9002
- "kind": "field",
9003
- "name": "validity",
9004
- "type": {
9005
- "text": "ValidityState"
9006
- },
9007
- "readonly": true
9008
- },
9009
- {
9010
- "kind": "field",
9011
- "name": "validationMessage",
9012
- "readonly": true
9013
- },
9014
- {
9015
- "kind": "field",
9016
- "name": "willValidate",
9017
- "readonly": true
9018
- },
9019
- {
9020
- "kind": "field",
9021
- "name": "minlength",
9022
- "description": "Lowercase alias to minLength",
9023
- "type": {
9024
- "text": "number | undefined"
9025
- }
9026
- },
9027
- {
9028
- "kind": "field",
9029
- "name": "maxlength",
9030
- "description": "Lowercase alias to maxLength",
9031
- "type": {
9032
- "text": "number | undefined"
9033
- }
9034
- },
9035
- {
9036
- "kind": "method",
9037
- "name": "checkValidity",
9038
- "return": {
9039
- "type": {
9040
- "text": "boolean"
9041
- }
9042
- }
9043
- },
9044
- {
9045
- "kind": "method",
9046
- "name": "reportValidity",
9047
- "return": {
9048
- "type": {
9049
- "text": "boolean"
9050
- }
9051
- }
9052
- },
9053
- {
9054
- "kind": "field",
9055
- "name": "_textareaEl",
9056
- "type": {
9057
- "text": "HTMLTextAreaElement"
9058
- },
9059
- "privacy": "private"
9060
- },
9061
- {
9062
- "kind": "field",
9063
- "name": "_value",
9064
- "type": {
9065
- "text": "string"
9066
- },
9067
- "privacy": "private",
9068
- "default": "''"
9069
- },
9070
- {
9071
- "kind": "field",
9072
- "name": "_textareaPointerCursor",
9073
- "type": {
9074
- "text": "boolean"
9075
- },
9076
- "privacy": "private",
9077
- "default": "false"
9078
- },
9079
- {
9080
- "kind": "field",
9081
- "name": "_shadow",
9082
- "type": {
9083
- "text": "boolean"
9084
- },
9085
- "privacy": "private",
9086
- "default": "false"
9087
- },
9088
- {
9089
- "kind": "field",
9090
- "name": "_internals",
9091
- "type": {
9092
- "text": "ElementInternals"
9093
- },
9094
- "privacy": "private"
9095
- },
9096
- {
9097
- "kind": "method",
9098
- "name": "_setValidityFromInput",
9099
- "privacy": "private"
9100
- },
9101
- {
9102
- "kind": "method",
9103
- "name": "_dataChanged",
9104
- "privacy": "private"
9105
- },
9106
- {
9107
- "kind": "method",
9108
- "name": "_handleChange",
9109
- "privacy": "private",
9110
- "parameters": [
9111
- {
9112
- "name": "ev",
9113
- "type": {
9114
- "text": "Event"
9115
- }
9116
- }
9117
- ]
9118
- },
9119
- {
9120
- "kind": "method",
9121
- "name": "_handleInput",
9122
- "privacy": "private",
9123
- "parameters": [
9124
- {
9125
- "name": "ev",
9126
- "type": {
9127
- "text": "InputEvent"
9128
- }
9129
- }
9130
- ]
8925
+ "kind": "method",
8926
+ "name": "_onHeaderSlotChange",
8927
+ "privacy": "private"
9131
8928
  },
9132
8929
  {
9133
8930
  "kind": "method",
9134
- "name": "_handleMouseMove",
8931
+ "name": "_onHeaderClick",
9135
8932
  "privacy": "private",
9136
8933
  "parameters": [
9137
8934
  {
9138
- "name": "ev",
8935
+ "name": "event",
9139
8936
  "type": {
9140
8937
  "text": "MouseEvent"
9141
8938
  }
9142
8939
  }
9143
8940
  ]
9144
8941
  },
9145
- {
9146
- "kind": "method",
9147
- "name": "_handleScroll",
9148
- "privacy": "private"
9149
- },
9150
8942
  {
9151
8943
  "kind": "field",
9152
8944
  "name": "_version",
@@ -9154,7 +8946,7 @@
9154
8946
  "text": "string"
9155
8947
  },
9156
8948
  "privacy": "private",
9157
- "default": "'1.6.0'",
8949
+ "default": "'1.6.2-pre.0'",
9158
8950
  "inheritedFrom": {
9159
8951
  "name": "VscElement",
9160
8952
  "module": "src/includes/VscElement.ts"
@@ -9173,20 +8965,7 @@
9173
8965
  ],
9174
8966
  "events": [
9175
8967
  {
9176
- "name": "change",
9177
- "type": {
9178
- "text": "Event"
9179
- }
9180
- },
9181
- {
9182
- "name": "vsc-change",
9183
- "type": {
9184
- "text": "CustomEvent"
9185
- },
9186
- "deprecated": "true"
9187
- },
9188
- {
9189
- "name": "vsc-input",
8968
+ "name": "vsc-select",
9190
8969
  "type": {
9191
8970
  "text": "CustomEvent"
9192
8971
  },
@@ -9194,200 +8973,61 @@
9194
8973
  },
9195
8974
  {
9196
8975
  "type": {
9197
- "text": "InputEvent"
8976
+ "text": "VscTabSelectEvent"
9198
8977
  },
9199
- "name": "input"
8978
+ "description": "Dispatched when the active tab is changed",
8979
+ "name": "vsc-tabs-select"
9200
8980
  }
9201
8981
  ],
9202
8982
  "attributes": [
9203
8983
  {
9204
- "name": "autocomplete",
9205
- "type": {
9206
- "text": "'on' | 'off' | undefined"
9207
- },
9208
- "default": "undefined",
9209
- "resolveInitializer": {
9210
- "module": "src/vscode-textarea/vscode-textarea.ts"
9211
- },
9212
- "fieldName": "autocomplete"
9213
- },
9214
- {
9215
- "name": "autofocus",
9216
- "type": {
9217
- "text": "boolean"
9218
- },
9219
- "default": "false",
9220
- "fieldName": "autofocus"
9221
- },
9222
- {
9223
- "name": "default-value",
9224
- "type": {
9225
- "text": "string"
9226
- },
9227
- "default": "''",
9228
- "fieldName": "defaultValue"
9229
- },
9230
- {
9231
- "name": "disabled",
9232
- "type": {
9233
- "text": "boolean"
9234
- },
9235
- "default": "false",
9236
- "fieldName": "disabled"
9237
- },
9238
- {
9239
- "name": "invalid",
8984
+ "name": "panel",
9240
8985
  "type": {
9241
8986
  "text": "boolean"
9242
8987
  },
9243
8988
  "default": "false",
9244
- "fieldName": "invalid"
9245
- },
9246
- {
9247
- "name": "maxLength",
9248
- "type": {
9249
- "text": "number | undefined"
9250
- },
9251
- "default": "undefined",
9252
- "resolveInitializer": {
9253
- "module": "src/vscode-textarea/vscode-textarea.ts"
9254
- },
9255
- "fieldName": "maxLength"
9256
- },
9257
- {
9258
- "name": "minLength",
9259
- "type": {
9260
- "text": "number | undefined"
9261
- },
9262
- "default": "undefined",
9263
- "resolveInitializer": {
9264
- "module": "src/vscode-textarea/vscode-textarea.ts"
9265
- },
9266
- "fieldName": "minLength"
9267
- },
9268
- {
9269
- "name": "rows",
9270
- "type": {
9271
- "text": "number | undefined"
9272
- },
9273
- "default": "undefined",
9274
- "resolveInitializer": {
9275
- "module": "src/vscode-textarea/vscode-textarea.ts"
9276
- },
9277
- "fieldName": "rows"
8989
+ "description": "Panel-like look",
8990
+ "fieldName": "panel"
9278
8991
  },
9279
8992
  {
9280
- "name": "cols",
8993
+ "name": "selected-index",
9281
8994
  "type": {
9282
- "text": "number | undefined"
9283
- },
9284
- "default": "undefined",
9285
- "resolveInitializer": {
9286
- "module": "src/vscode-textarea/vscode-textarea.ts"
8995
+ "text": "number"
9287
8996
  },
9288
- "fieldName": "cols"
9289
- },
9290
- {
9291
- "name": "name",
9292
- "type": {
9293
- "text": "string | undefined"
9294
- },
9295
- "default": "undefined",
9296
- "resolveInitializer": {
9297
- "module": "src/vscode-textarea/vscode-textarea.ts"
9298
- },
9299
- "fieldName": "name"
9300
- },
9301
- {
9302
- "name": "placeholder",
9303
- "type": {
9304
- "text": "string | undefined"
9305
- },
9306
- "default": "undefined",
9307
- "resolveInitializer": {
9308
- "module": "src/vscode-textarea/vscode-textarea.ts"
9309
- },
9310
- "fieldName": "placeholder"
9311
- },
9312
- {
9313
- "name": "readonly",
9314
- "type": {
9315
- "text": "boolean"
9316
- },
9317
- "default": "false",
9318
- "fieldName": "readonly"
9319
- },
9320
- {
9321
- "name": "resize",
9322
- "type": {
9323
- "text": "'both' | 'horizontal' | 'vertical' | 'none'"
9324
- },
9325
- "default": "'none'",
9326
- "fieldName": "resize"
9327
- },
9328
- {
9329
- "name": "required",
9330
- "type": {
9331
- "text": "boolean"
9332
- },
9333
- "default": "false",
9334
- "fieldName": "required"
9335
- },
9336
- {
9337
- "name": "spellcheck",
9338
- "type": {
9339
- "text": "boolean"
9340
- },
9341
- "default": "false",
9342
- "fieldName": "spellcheck"
9343
- },
9344
- {
9345
- "name": "monospace",
9346
- "type": {
9347
- "text": "boolean"
9348
- },
9349
- "default": "false",
9350
- "description": "Use monospace fonts. The font family, weight, size, and color will be the same as set in the\nVSCode code editor.",
9351
- "fieldName": "monospace"
9352
- },
9353
- {
9354
- "name": "value",
9355
- "type": {
9356
- "text": "string"
9357
- },
9358
- "fieldName": "value"
8997
+ "default": "0",
8998
+ "fieldName": "selectedIndex"
9359
8999
  }
9360
9000
  ],
9361
9001
  "superclass": {
9362
9002
  "name": "VscElement",
9363
9003
  "module": "/src/includes/VscElement.js"
9364
9004
  },
9365
- "tagName": "vscode-textarea",
9005
+ "tagName": "vscode-tabs",
9366
9006
  "customElement": true
9367
9007
  }
9368
9008
  ],
9369
9009
  "exports": [
9370
9010
  {
9371
9011
  "kind": "js",
9372
- "name": "VscodeTextarea",
9012
+ "name": "VscodeTabs",
9373
9013
  "declaration": {
9374
- "name": "VscodeTextarea",
9375
- "module": "src/vscode-textarea/vscode-textarea.ts"
9014
+ "name": "VscodeTabs",
9015
+ "module": "src/vscode-tabs/vscode-tabs.ts"
9376
9016
  }
9377
9017
  },
9378
9018
  {
9379
9019
  "kind": "custom-element-definition",
9380
- "name": "vscode-textarea",
9020
+ "name": "vscode-tabs",
9381
9021
  "declaration": {
9382
- "name": "VscodeTextarea",
9383
- "module": "src/vscode-textarea/vscode-textarea.ts"
9022
+ "name": "VscodeTabs",
9023
+ "module": "src/vscode-tabs/vscode-tabs.ts"
9384
9024
  }
9385
9025
  }
9386
9026
  ]
9387
9027
  },
9388
9028
  {
9389
9029
  "kind": "javascript-module",
9390
- "path": "src/vscode-tabs/vscode-tabs.styles.ts",
9030
+ "path": "src/vscode-textarea/vscode-textarea.styles.ts",
9391
9031
  "declarations": [
9392
9032
  {
9393
9033
  "kind": "variable",
@@ -9395,7 +9035,7 @@
9395
9035
  "type": {
9396
9036
  "text": "CSSResultGroup"
9397
9037
  },
9398
- "default": "[\n defaultStyles,\n css`\n :host {\n display: block;\n }\n\n .header {\n align-items: center;\n display: flex;\n font-family: var(--vscode-font-family);\n font-size: var(--vscode-font-size);\n font-weight: var(--vscode-font-weight);\n width: 100%;\n }\n\n .header {\n border-bottom-color: var(--vscode-settings-headerBorder);\n border-bottom-style: solid;\n border-bottom-width: 1px;\n }\n\n .header.panel {\n background-color: var(--vscode-panel-background);\n border-bottom-width: 0;\n box-sizing: border-box;\n padding-left: 8px;\n padding-right: 8px;\n }\n\n slot[name='addons'] {\n display: block;\n margin-left: auto;\n }\n `,\n]"
9038
+ "default": "[\n defaultStyles,\n css`\n :host {\n display: inline-block;\n height: 40px;\n position: relative;\n width: 320px;\n }\n\n :host([cols]) {\n width: auto;\n }\n\n :host([rows]) {\n height: auto;\n }\n\n .shadow {\n box-shadow: var(--vscode-scrollbar-shadow) 0 6px 6px -6px inset;\n display: none;\n inset: 0 0 auto 0;\n height: 6px;\n pointer-events: none;\n position: absolute;\n width: 100%;\n }\n\n .shadow.visible {\n display: block;\n }\n\n textarea {\n background-color: var(--vscode-settings-textInputBackground);\n border-color: var(--vscode-settings-textInputBorder, var(--vscode-settings-textInputBackground));\n border-radius: 2px;\n border-style: solid;\n border-width: 1px;\n box-sizing: border-box;\n color: var(--vscode-settings-textInputForeground);\n display: block;\n font-family: var(--vscode-font-family);\n font-size: var(--vscode-font-size);\n font-weight: var(--vscode-font-weight);\n height: 100%;\n width: 100%;\n }\n\n :host([cols]) textarea {\n width: auto;\n }\n\n :host([rows]) textarea {\n height: auto;\n }\n\n :host([invalid]) textarea,\n :host(:invalid) textarea {\n background-color: var(--vscode-inputValidation-errorBackground);\n border-color: var(--vscode-inputValidation-errorBorder, #be1100);\n }\n\n textarea.monospace {\n background-color: var(--vscode-editor-background);\n color: var(--vscode-editor-foreground);\n font-family: var(--vscode-editor-font-family);\n font-size: var(--vscode-editor-font-size);\n font-weight: var(--vscode-editor-font-weight);\n }\n\n .textarea.monospace::placeholder {\n color: var(--vscode-editor-inlineValuesForeground);\n }\n\n textarea.cursor-pointer {\n cursor: pointer;\n }\n\n textarea:focus {\n border-color: var(--vscode-focusBorder);\n outline: none;\n }\n\n textarea::placeholder {\n color: var(--vscode-input-placeholderForeground);\n opacity: 1;\n }\n\n textarea::-webkit-scrollbar-track {\n background-color: transparent;\n }\n\n textarea::-webkit-scrollbar {\n width: 14px;\n }\n\n textarea::-webkit-scrollbar-thumb {\n background-color: transparent;\n }\n\n textarea:hover::-webkit-scrollbar-thumb {\n background-color: var(--vscode-scrollbarSlider-background);\n }\n\n textarea::-webkit-scrollbar-thumb:hover {\n background-color: var(--vscode-scrollbarSlider-hoverBackground);\n }\n\n textarea::-webkit-scrollbar-thumb:active {\n background-color: var(--vscode-scrollbarSlider-activeBackground);\n }\n\n textarea::-webkit-scrollbar-corner {\n background-color: transparent;\n }\n\n textarea::-webkit-resizer {\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAAXNSR0IB2cksfwAAAAlwSFlzAAALEwAACxMBAJqcGAAAACJJREFUeJxjYMAOZuIQZ5j5//9/rJJESczEKYGsG6cEXgAAsEEefMxkua4AAAAASUVORK5CYII=');\n background-repeat: no-repeat;\n background-position: right bottom;\n }\n `,\n]"
9399
9039
  }
9400
9040
  ],
9401
9041
  "exports": [
@@ -9404,20 +9044,35 @@
9404
9044
  "name": "default",
9405
9045
  "declaration": {
9406
9046
  "name": "styles",
9407
- "module": "src/vscode-tabs/vscode-tabs.styles.ts"
9047
+ "module": "src/vscode-textarea/vscode-textarea.styles.ts"
9408
9048
  }
9409
9049
  }
9410
9050
  ]
9411
9051
  },
9412
9052
  {
9413
9053
  "kind": "javascript-module",
9414
- "path": "src/vscode-tabs/vscode-tabs.ts",
9054
+ "path": "src/vscode-textarea/vscode-textarea.ts",
9415
9055
  "declarations": [
9416
9056
  {
9417
9057
  "kind": "class",
9418
- "description": "",
9419
- "name": "VscodeTabs",
9058
+ "description": "Multi-line text input.\n\nWhen participating in a form, it supports the `:invalid` pseudo class. Otherwise the error styles\ncan be applied through the `invalid` property.",
9059
+ "name": "VscodeTextarea",
9420
9060
  "cssProperties": [
9061
+ {
9062
+ "name": "--vscode-scrollbar-shadow"
9063
+ },
9064
+ {
9065
+ "name": "--vscode-settings-textInputBackground"
9066
+ },
9067
+ {
9068
+ "name": "--vscode-settings-textInputBorder"
9069
+ },
9070
+ {
9071
+ "name": "--vscode-settings-textInputForeground"
9072
+ },
9073
+ {
9074
+ "name": "--vscode-input-placeholderForeground"
9075
+ },
9421
9076
  {
9422
9077
  "name": "--vscode-font-family"
9423
9078
  },
@@ -9428,161 +9083,370 @@
9428
9083
  "name": "--vscode-font-weight"
9429
9084
  },
9430
9085
  {
9431
- "name": "--vscode-settings-headerBorder"
9086
+ "name": "--vscode-editor-background"
9432
9087
  },
9433
9088
  {
9434
- "name": "--vscode-panel-background"
9435
- }
9436
- ],
9437
- "slots": [
9089
+ "name": "--vscode-editor-foreground"
9090
+ },
9438
9091
  {
9439
- "description": "Default slot. It is used for tab panels.",
9440
- "name": ""
9092
+ "name": "--vscode-editor-font-family"
9441
9093
  },
9442
9094
  {
9443
- "description": "Slot for tab headers.",
9444
- "name": "header"
9095
+ "name": "--vscode-editor-font-size"
9445
9096
  },
9446
9097
  {
9447
- "description": "Right aligned area in the header.",
9448
- "name": "addons"
9098
+ "name": "--vscode-editor-font-weight"
9099
+ },
9100
+ {
9101
+ "name": "--vscode-editor-inlineValuesForeground"
9102
+ },
9103
+ {
9104
+ "name": "--vscode-focusBorder"
9105
+ },
9106
+ {
9107
+ "name": "--vscode-scrollbarSlider-background"
9108
+ },
9109
+ {
9110
+ "name": "--vscode-scrollbarSlider-hoverBackground"
9111
+ },
9112
+ {
9113
+ "name": "--vscode-scrollbarSlider-activeBackground"
9449
9114
  }
9450
9115
  ],
9451
9116
  "members": [
9452
9117
  {
9453
9118
  "kind": "field",
9454
- "name": "panel",
9119
+ "name": "autocomplete",
9120
+ "type": {
9121
+ "text": "'on' | 'off' | undefined"
9122
+ },
9123
+ "default": "undefined",
9124
+ "attribute": "autocomplete"
9125
+ },
9126
+ {
9127
+ "kind": "field",
9128
+ "name": "autofocus",
9455
9129
  "type": {
9456
9130
  "text": "boolean"
9457
9131
  },
9458
9132
  "default": "false",
9459
- "description": "Panel-like look",
9460
- "attribute": "panel",
9133
+ "attribute": "autofocus",
9461
9134
  "reflects": true
9462
9135
  },
9463
9136
  {
9464
9137
  "kind": "field",
9465
- "name": "selectedIndex",
9138
+ "name": "defaultValue",
9466
9139
  "type": {
9467
- "text": "number"
9140
+ "text": "string"
9468
9141
  },
9469
- "default": "0",
9470
- "attribute": "selected-index",
9471
- "reflects": true
9142
+ "default": "''",
9143
+ "attribute": "default-value"
9472
9144
  },
9473
9145
  {
9474
9146
  "kind": "field",
9475
- "name": "_headerSlotElements",
9147
+ "name": "disabled",
9476
9148
  "type": {
9477
- "text": "Element[]"
9149
+ "text": "boolean"
9478
9150
  },
9479
- "privacy": "private"
9151
+ "default": "false",
9152
+ "attribute": "disabled",
9153
+ "reflects": true
9480
9154
  },
9481
9155
  {
9482
9156
  "kind": "field",
9483
- "name": "_mainSlotElements",
9157
+ "name": "invalid",
9484
9158
  "type": {
9485
- "text": "Element[]"
9159
+ "text": "boolean"
9486
9160
  },
9487
- "privacy": "private"
9161
+ "default": "false",
9162
+ "attribute": "invalid",
9163
+ "reflects": true
9488
9164
  },
9489
9165
  {
9490
9166
  "kind": "field",
9491
- "name": "_tabHeaders",
9167
+ "name": "label",
9492
9168
  "type": {
9493
- "text": "VscodeTabHeader[]"
9169
+ "text": "string"
9494
9170
  },
9495
- "privacy": "private",
9496
- "default": "[]"
9171
+ "default": "''"
9497
9172
  },
9498
9173
  {
9499
9174
  "kind": "field",
9500
- "name": "_tabPanels",
9175
+ "name": "maxLength",
9501
9176
  "type": {
9502
- "text": "VscodeTabPanel[]"
9177
+ "text": "number | undefined"
9503
9178
  },
9504
- "privacy": "private",
9505
- "default": "[]"
9179
+ "default": "undefined",
9180
+ "attribute": "maxLength"
9506
9181
  },
9507
9182
  {
9508
9183
  "kind": "field",
9509
- "name": "_componentId",
9184
+ "name": "minLength",
9510
9185
  "type": {
9511
- "text": "string"
9186
+ "text": "number | undefined"
9512
9187
  },
9513
- "privacy": "private",
9514
- "default": "''"
9188
+ "default": "undefined",
9189
+ "attribute": "minLength"
9515
9190
  },
9516
9191
  {
9517
9192
  "kind": "field",
9518
- "name": "_tabFocus",
9193
+ "name": "rows",
9519
9194
  "type": {
9520
- "text": "number"
9195
+ "text": "number | undefined"
9521
9196
  },
9522
- "privacy": "private",
9523
- "default": "0"
9197
+ "default": "undefined",
9198
+ "attribute": "rows"
9524
9199
  },
9525
9200
  {
9526
- "kind": "method",
9527
- "name": "_dispatchSelectEvent",
9528
- "privacy": "private"
9201
+ "kind": "field",
9202
+ "name": "cols",
9203
+ "type": {
9204
+ "text": "number | undefined"
9205
+ },
9206
+ "default": "undefined",
9207
+ "attribute": "cols"
9529
9208
  },
9530
9209
  {
9531
- "kind": "method",
9532
- "name": "_setActiveTab",
9533
- "privacy": "private"
9210
+ "kind": "field",
9211
+ "name": "name",
9212
+ "type": {
9213
+ "text": "string | undefined"
9214
+ },
9215
+ "default": "undefined",
9216
+ "attribute": "name"
9534
9217
  },
9535
9218
  {
9536
- "kind": "method",
9537
- "name": "_focusPrevTab",
9538
- "privacy": "private"
9219
+ "kind": "field",
9220
+ "name": "placeholder",
9221
+ "type": {
9222
+ "text": "string | undefined"
9223
+ },
9224
+ "default": "undefined",
9225
+ "attribute": "placeholder"
9539
9226
  },
9540
9227
  {
9541
- "kind": "method",
9542
- "name": "_focusNextTab",
9543
- "privacy": "private"
9228
+ "kind": "field",
9229
+ "name": "readonly",
9230
+ "type": {
9231
+ "text": "boolean"
9232
+ },
9233
+ "default": "false",
9234
+ "attribute": "readonly",
9235
+ "reflects": true
9544
9236
  },
9545
9237
  {
9546
- "kind": "method",
9547
- "name": "_onHeaderKeyDown",
9548
- "privacy": "private",
9549
- "parameters": [
9550
- {
9551
- "name": "ev",
9552
- "type": {
9553
- "text": "KeyboardEvent"
9554
- }
9238
+ "kind": "field",
9239
+ "name": "resize",
9240
+ "type": {
9241
+ "text": "'both' | 'horizontal' | 'vertical' | 'none'"
9242
+ },
9243
+ "default": "'none'",
9244
+ "attribute": "resize"
9245
+ },
9246
+ {
9247
+ "kind": "field",
9248
+ "name": "required",
9249
+ "type": {
9250
+ "text": "boolean"
9251
+ },
9252
+ "default": "false",
9253
+ "attribute": "required",
9254
+ "reflects": true
9255
+ },
9256
+ {
9257
+ "kind": "field",
9258
+ "name": "spellcheck",
9259
+ "type": {
9260
+ "text": "boolean"
9261
+ },
9262
+ "default": "false",
9263
+ "attribute": "spellcheck"
9264
+ },
9265
+ {
9266
+ "kind": "field",
9267
+ "name": "monospace",
9268
+ "type": {
9269
+ "text": "boolean"
9270
+ },
9271
+ "default": "false",
9272
+ "description": "Use monospace fonts. The font family, weight, size, and color will be the same as set in the\nVSCode code editor.",
9273
+ "attribute": "monospace",
9274
+ "reflects": true
9275
+ },
9276
+ {
9277
+ "kind": "field",
9278
+ "name": "value",
9279
+ "type": {
9280
+ "text": "string"
9281
+ },
9282
+ "attribute": "value"
9283
+ },
9284
+ {
9285
+ "kind": "field",
9286
+ "name": "wrappedElement",
9287
+ "type": {
9288
+ "text": "HTMLTextAreaElement"
9289
+ },
9290
+ "description": "Getter for the inner textarea element if it needs to be accessed for some reason.",
9291
+ "readonly": true
9292
+ },
9293
+ {
9294
+ "kind": "field",
9295
+ "name": "form",
9296
+ "type": {
9297
+ "text": "HTMLFormElement | null"
9298
+ },
9299
+ "readonly": true
9300
+ },
9301
+ {
9302
+ "kind": "field",
9303
+ "name": "validity",
9304
+ "type": {
9305
+ "text": "ValidityState"
9306
+ },
9307
+ "readonly": true
9308
+ },
9309
+ {
9310
+ "kind": "field",
9311
+ "name": "validationMessage",
9312
+ "readonly": true
9313
+ },
9314
+ {
9315
+ "kind": "field",
9316
+ "name": "willValidate",
9317
+ "readonly": true
9318
+ },
9319
+ {
9320
+ "kind": "field",
9321
+ "name": "minlength",
9322
+ "description": "Lowercase alias to minLength",
9323
+ "type": {
9324
+ "text": "number | undefined"
9325
+ }
9326
+ },
9327
+ {
9328
+ "kind": "field",
9329
+ "name": "maxlength",
9330
+ "description": "Lowercase alias to maxLength",
9331
+ "type": {
9332
+ "text": "number | undefined"
9333
+ }
9334
+ },
9335
+ {
9336
+ "kind": "method",
9337
+ "name": "checkValidity",
9338
+ "return": {
9339
+ "type": {
9340
+ "text": "boolean"
9555
9341
  }
9556
- ]
9342
+ }
9557
9343
  },
9558
9344
  {
9559
9345
  "kind": "method",
9560
- "name": "_moveHeadersToHeaderSlot",
9346
+ "name": "reportValidity",
9347
+ "return": {
9348
+ "type": {
9349
+ "text": "boolean"
9350
+ }
9351
+ }
9352
+ },
9353
+ {
9354
+ "kind": "field",
9355
+ "name": "_textareaEl",
9356
+ "type": {
9357
+ "text": "HTMLTextAreaElement"
9358
+ },
9359
+ "privacy": "private"
9360
+ },
9361
+ {
9362
+ "kind": "field",
9363
+ "name": "_value",
9364
+ "type": {
9365
+ "text": "string"
9366
+ },
9367
+ "privacy": "private",
9368
+ "default": "''"
9369
+ },
9370
+ {
9371
+ "kind": "field",
9372
+ "name": "_textareaPointerCursor",
9373
+ "type": {
9374
+ "text": "boolean"
9375
+ },
9376
+ "privacy": "private",
9377
+ "default": "false"
9378
+ },
9379
+ {
9380
+ "kind": "field",
9381
+ "name": "_shadow",
9382
+ "type": {
9383
+ "text": "boolean"
9384
+ },
9385
+ "privacy": "private",
9386
+ "default": "false"
9387
+ },
9388
+ {
9389
+ "kind": "field",
9390
+ "name": "_internals",
9391
+ "type": {
9392
+ "text": "ElementInternals"
9393
+ },
9561
9394
  "privacy": "private"
9562
9395
  },
9563
9396
  {
9564
9397
  "kind": "method",
9565
- "name": "_onMainSlotChange",
9398
+ "name": "_setValidityFromInput",
9566
9399
  "privacy": "private"
9567
9400
  },
9568
9401
  {
9569
9402
  "kind": "method",
9570
- "name": "_onHeaderSlotChange",
9403
+ "name": "_dataChanged",
9571
9404
  "privacy": "private"
9572
9405
  },
9573
9406
  {
9574
9407
  "kind": "method",
9575
- "name": "_onHeaderClick",
9408
+ "name": "_handleChange",
9576
9409
  "privacy": "private",
9577
9410
  "parameters": [
9578
9411
  {
9579
- "name": "event",
9412
+ "name": "ev",
9413
+ "type": {
9414
+ "text": "Event"
9415
+ }
9416
+ }
9417
+ ]
9418
+ },
9419
+ {
9420
+ "kind": "method",
9421
+ "name": "_handleInput",
9422
+ "privacy": "private",
9423
+ "parameters": [
9424
+ {
9425
+ "name": "ev",
9426
+ "type": {
9427
+ "text": "InputEvent"
9428
+ }
9429
+ }
9430
+ ]
9431
+ },
9432
+ {
9433
+ "kind": "method",
9434
+ "name": "_handleMouseMove",
9435
+ "privacy": "private",
9436
+ "parameters": [
9437
+ {
9438
+ "name": "ev",
9580
9439
  "type": {
9581
9440
  "text": "MouseEvent"
9582
9441
  }
9583
9442
  }
9584
9443
  ]
9585
9444
  },
9445
+ {
9446
+ "kind": "method",
9447
+ "name": "_handleScroll",
9448
+ "privacy": "private"
9449
+ },
9586
9450
  {
9587
9451
  "kind": "field",
9588
9452
  "name": "_version",
@@ -9590,7 +9454,7 @@
9590
9454
  "text": "string"
9591
9455
  },
9592
9456
  "privacy": "private",
9593
- "default": "'1.6.0'",
9457
+ "default": "'1.6.2-pre.0'",
9594
9458
  "inheritedFrom": {
9595
9459
  "name": "VscElement",
9596
9460
  "module": "src/includes/VscElement.ts"
@@ -9609,69 +9473,221 @@
9609
9473
  ],
9610
9474
  "events": [
9611
9475
  {
9612
- "name": "vsc-select",
9476
+ "name": "change",
9477
+ "type": {
9478
+ "text": "Event"
9479
+ }
9480
+ },
9481
+ {
9482
+ "name": "vsc-change",
9613
9483
  "type": {
9614
9484
  "text": "CustomEvent"
9615
9485
  },
9616
9486
  "deprecated": "true"
9617
9487
  },
9618
9488
  {
9489
+ "name": "vsc-input",
9619
9490
  "type": {
9620
- "text": "VscTabSelectEvent"
9491
+ "text": "CustomEvent"
9621
9492
  },
9622
- "description": "Dispatched when the active tab is changed",
9623
- "name": "vsc-tabs-select"
9493
+ "deprecated": "true"
9494
+ },
9495
+ {
9496
+ "type": {
9497
+ "text": "InputEvent"
9498
+ },
9499
+ "name": "input"
9624
9500
  }
9625
9501
  ],
9626
9502
  "attributes": [
9627
9503
  {
9628
- "name": "panel",
9504
+ "name": "autocomplete",
9505
+ "type": {
9506
+ "text": "'on' | 'off' | undefined"
9507
+ },
9508
+ "default": "undefined",
9509
+ "resolveInitializer": {
9510
+ "module": "src/vscode-textarea/vscode-textarea.ts"
9511
+ },
9512
+ "fieldName": "autocomplete"
9513
+ },
9514
+ {
9515
+ "name": "autofocus",
9629
9516
  "type": {
9630
9517
  "text": "boolean"
9631
9518
  },
9632
9519
  "default": "false",
9633
- "description": "Panel-like look",
9634
- "fieldName": "panel"
9520
+ "fieldName": "autofocus"
9635
9521
  },
9636
9522
  {
9637
- "name": "selected-index",
9523
+ "name": "default-value",
9638
9524
  "type": {
9639
- "text": "number"
9525
+ "text": "string"
9640
9526
  },
9641
- "default": "0",
9642
- "fieldName": "selectedIndex"
9643
- }
9644
- ],
9645
- "superclass": {
9646
- "name": "VscElement",
9647
- "module": "/src/includes/VscElement.js"
9648
- },
9649
- "tagName": "vscode-tabs",
9650
- "customElement": true
9651
- }
9652
- ],
9653
- "exports": [
9654
- {
9655
- "kind": "js",
9656
- "name": "VscodeTabs",
9527
+ "default": "''",
9528
+ "fieldName": "defaultValue"
9529
+ },
9530
+ {
9531
+ "name": "disabled",
9532
+ "type": {
9533
+ "text": "boolean"
9534
+ },
9535
+ "default": "false",
9536
+ "fieldName": "disabled"
9537
+ },
9538
+ {
9539
+ "name": "invalid",
9540
+ "type": {
9541
+ "text": "boolean"
9542
+ },
9543
+ "default": "false",
9544
+ "fieldName": "invalid"
9545
+ },
9546
+ {
9547
+ "name": "maxLength",
9548
+ "type": {
9549
+ "text": "number | undefined"
9550
+ },
9551
+ "default": "undefined",
9552
+ "resolveInitializer": {
9553
+ "module": "src/vscode-textarea/vscode-textarea.ts"
9554
+ },
9555
+ "fieldName": "maxLength"
9556
+ },
9557
+ {
9558
+ "name": "minLength",
9559
+ "type": {
9560
+ "text": "number | undefined"
9561
+ },
9562
+ "default": "undefined",
9563
+ "resolveInitializer": {
9564
+ "module": "src/vscode-textarea/vscode-textarea.ts"
9565
+ },
9566
+ "fieldName": "minLength"
9567
+ },
9568
+ {
9569
+ "name": "rows",
9570
+ "type": {
9571
+ "text": "number | undefined"
9572
+ },
9573
+ "default": "undefined",
9574
+ "resolveInitializer": {
9575
+ "module": "src/vscode-textarea/vscode-textarea.ts"
9576
+ },
9577
+ "fieldName": "rows"
9578
+ },
9579
+ {
9580
+ "name": "cols",
9581
+ "type": {
9582
+ "text": "number | undefined"
9583
+ },
9584
+ "default": "undefined",
9585
+ "resolveInitializer": {
9586
+ "module": "src/vscode-textarea/vscode-textarea.ts"
9587
+ },
9588
+ "fieldName": "cols"
9589
+ },
9590
+ {
9591
+ "name": "name",
9592
+ "type": {
9593
+ "text": "string | undefined"
9594
+ },
9595
+ "default": "undefined",
9596
+ "resolveInitializer": {
9597
+ "module": "src/vscode-textarea/vscode-textarea.ts"
9598
+ },
9599
+ "fieldName": "name"
9600
+ },
9601
+ {
9602
+ "name": "placeholder",
9603
+ "type": {
9604
+ "text": "string | undefined"
9605
+ },
9606
+ "default": "undefined",
9607
+ "resolveInitializer": {
9608
+ "module": "src/vscode-textarea/vscode-textarea.ts"
9609
+ },
9610
+ "fieldName": "placeholder"
9611
+ },
9612
+ {
9613
+ "name": "readonly",
9614
+ "type": {
9615
+ "text": "boolean"
9616
+ },
9617
+ "default": "false",
9618
+ "fieldName": "readonly"
9619
+ },
9620
+ {
9621
+ "name": "resize",
9622
+ "type": {
9623
+ "text": "'both' | 'horizontal' | 'vertical' | 'none'"
9624
+ },
9625
+ "default": "'none'",
9626
+ "fieldName": "resize"
9627
+ },
9628
+ {
9629
+ "name": "required",
9630
+ "type": {
9631
+ "text": "boolean"
9632
+ },
9633
+ "default": "false",
9634
+ "fieldName": "required"
9635
+ },
9636
+ {
9637
+ "name": "spellcheck",
9638
+ "type": {
9639
+ "text": "boolean"
9640
+ },
9641
+ "default": "false",
9642
+ "fieldName": "spellcheck"
9643
+ },
9644
+ {
9645
+ "name": "monospace",
9646
+ "type": {
9647
+ "text": "boolean"
9648
+ },
9649
+ "default": "false",
9650
+ "description": "Use monospace fonts. The font family, weight, size, and color will be the same as set in the\nVSCode code editor.",
9651
+ "fieldName": "monospace"
9652
+ },
9653
+ {
9654
+ "name": "value",
9655
+ "type": {
9656
+ "text": "string"
9657
+ },
9658
+ "fieldName": "value"
9659
+ }
9660
+ ],
9661
+ "superclass": {
9662
+ "name": "VscElement",
9663
+ "module": "/src/includes/VscElement.js"
9664
+ },
9665
+ "tagName": "vscode-textarea",
9666
+ "customElement": true
9667
+ }
9668
+ ],
9669
+ "exports": [
9670
+ {
9671
+ "kind": "js",
9672
+ "name": "VscodeTextarea",
9657
9673
  "declaration": {
9658
- "name": "VscodeTabs",
9659
- "module": "src/vscode-tabs/vscode-tabs.ts"
9674
+ "name": "VscodeTextarea",
9675
+ "module": "src/vscode-textarea/vscode-textarea.ts"
9660
9676
  }
9661
9677
  },
9662
9678
  {
9663
9679
  "kind": "custom-element-definition",
9664
- "name": "vscode-tabs",
9680
+ "name": "vscode-textarea",
9665
9681
  "declaration": {
9666
- "name": "VscodeTabs",
9667
- "module": "src/vscode-tabs/vscode-tabs.ts"
9682
+ "name": "VscodeTextarea",
9683
+ "module": "src/vscode-textarea/vscode-textarea.ts"
9668
9684
  }
9669
9685
  }
9670
9686
  ]
9671
9687
  },
9672
9688
  {
9673
9689
  "kind": "javascript-module",
9674
- "path": "src/vscode-tree/vscode-tree.styles.ts",
9690
+ "path": "src/vscode-textfield/vscode-textfield.styles.ts",
9675
9691
  "declarations": [
9676
9692
  {
9677
9693
  "kind": "variable",
@@ -9679,7 +9695,7 @@
9679
9695
  "type": {
9680
9696
  "text": "CSSResultGroup"
9681
9697
  },
9682
- "default": "[\n defaultStyles,\n css`\n :host {\n --hover-outline-color: transparent;\n --hover-outline-style: solid;\n --hover-outline-width: 0;\n --selected-outline-color: transparent;\n --selected-outline-style: solid;\n --selected-outline-width: 0;\n\n display: block;\n outline: none;\n user-select: none;\n }\n\n .wrapper {\n height: 100%;\n }\n\n li {\n list-style: none;\n }\n\n ul,\n li {\n margin: 0;\n padding: 0;\n }\n\n ul {\n position: relative;\n }\n\n :host([indent-guides]) ul ul:before {\n content: '';\n display: block;\n height: 100%;\n position: absolute;\n bottom: 0;\n left: var(--indent-guide-pos);\n top: 0;\n pointer-events: none;\n width: 1px;\n z-index: 1;\n }\n\n .contents {\n align-items: center;\n display: flex;\n font-family: var(--vscode-font-family);\n font-size: var(--vscode-font-size);\n font-weight: var(--vscode-font-weight);\n outline-offset: -1px;\n padding-right: 12px;\n }\n\n .multi .contents {\n align-items: flex-start;\n }\n\n .contents:hover {\n cursor: pointer;\n }\n\n .arrow-container {\n align-items: center;\n display: flex;\n height: 22px;\n justify-content: center;\n padding-left: 8px;\n padding-right: 6px;\n width: 16px;\n }\n\n .icon-arrow {\n color: currentColor;\n display: block;\n }\n\n .theme-icon {\n display: block;\n flex-shrink: 0;\n margin-right: 6px;\n }\n\n .image-icon {\n background-repeat: no-repeat;\n background-position: 0 center;\n background-size: 16px;\n display: block;\n flex-shrink: 0;\n margin-right: 6px;\n height: 22px;\n width: 16px;\n }\n\n .multi .contents .theme-icon {\n margin-top: 3px;\n }\n\n .text-content {\n display: flex;\n line-height: 22px;\n }\n\n .single .text-content {\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n width: 100%;\n }\n\n .description {\n font-size: 0.9em;\n line-height: 22px;\n margin-left: 0.5em;\n opacity: 0.95;\n white-space: pre;\n }\n\n .actions {\n display: none;\n }\n\n .contents.selected > .actions,\n .contents.focused > .actions,\n .contents:hover > .actions {\n display: flex;\n }\n\n .decorations {\n align-items: center;\n display: flex;\n height: 22px;\n margin-left: 5px;\n }\n\n .filled-circle {\n margin-right: 3px;\n opacity: 0.4;\n }\n\n .decoration-text {\n font-size: 90%;\n font-weight: 600;\n margin-right: 3px;\n opacity: 0.75;\n }\n\n .filled-circle,\n .decoration-text {\n color: var(--color, currentColor);\n }\n\n .contents:hover .filled-circle,\n .contents:hover .decoration-text {\n color: var(--hover-color, var(--color));\n }\n\n .contents.focused .filled-circle,\n .contents.focused .decoration-text {\n color: var(--focused-color, var(--color));\n }\n\n .contents.selected .filled-circle,\n .contents.selected .decoration-text {\n color: var(--selected-color, var(--color));\n }\n\n /* Theme colors */\n :host(:focus) .wrapper.has-not-focused-item {\n outline: 1px solid var(--vscode-focusBorder);\n }\n\n :host(:focus) .contents.selected,\n :host(:focus) .contents.focused.selected {\n color: var(--vscode-list-activeSelectionForeground);\n background-color: var(--vscode-list-activeSelectionBackground);\n }\n\n :host(:focus) .contents.selected .icon-arrow,\n :host(:focus) .contents.selected.focused .icon-arrow,\n :host(:focus) .contents.selected .theme-icon,\n :host(:focus) .contents.selected.focused .theme-icon,\n :host(:focus) .contents.selected .action-icon,\n :host(:focus) .contents.selected.focused .action-icon {\n color: var(--vscode-list-activeSelectionIconForeground);\n }\n\n :host(:focus) .contents.focused {\n color: var(--vscode-list-focusForeground);\n background-color: var(--vscode-list-focusBackground);\n }\n\n :host(:focus) .contents.selected.focused {\n outline-color: var(--vscode-list-focusAndSelectionOutline, var(--vscode-list-focusOutline));\n }\n\n .contents:hover {\n background-color: var(--vscode-list-hoverBackground);\n color: var(--vscode-list-hoverForeground);\n }\n\n .contents:hover,\n .contents.selected:hover {\n outline-color: var(--hover-outline-color);\n outline-style: var(--hover-outline-style);\n outline-width: var(--hover-outline-width);\n }\n\n .contents.selected,\n .contents.selected.focused {\n background-color: var(--vscode-list-inactiveSelectionBackground);\n color: var(--vscode-list-inactiveSelectionForeground);\n }\n\n .contents.selected,\n .contents.selected.focused {\n outline-color: var(--selected-outline-color);\n outline-style: var(--selected-outline-style);\n outline-width: var(--selected-outline-width);\n }\n\n .contents.selected .theme-icon {\n color: var(--vscode-list-inactiveSelectionIconForeground);\n }\n\n .contents.focused {\n background-color: var(--vscode-list-inactiveFocusBackground);\n outline: 1px dotted var(--vscode-list-inactiveFocusOutline);\n }\n\n :host(:focus) .contents.focused {\n outline: 1px solid var(--vscode-list-focusOutline);\n }\n\n :host([indent-guides]) ul ul:before {\n background-color: var(--vscode-tree-inactiveIndentGuidesStroke);\n }\n\n :host([indent-guides]) ul ul.has-active-item:before {\n background-color: var(--vscode-tree-indentGuidesStroke);\n }\n `,\n]"
9698
+ "default": "[\n defaultStyles,\n css`\n :host {\n align-items: center;\n background-color: var(--vscode-settings-textInputBackground);\n border-color: var(--vscode-settings-textInputBorder, var(--vscode-settings-textInputBackground));\n border-radius: 2px;\n border-style: solid;\n border-width: 1px;\n box-sizing: border-box;\n color: var(--vscode-settings-textInputForeground);\n display: inline-flex;\n max-width: 100%;\n position: relative;\n width: 320px;\n }\n\n :host([focused]) {\n border-color: var(--vscode-focusBorder);\n }\n\n :host([invalid]),\n :host(:invalid) {\n border-color: var(--vscode-inputValidation-errorBorder, #be1100);\n }\n\n :host([invalid]) input,\n :host(:invalid) input {\n background-color: var(--vscode-inputValidation-errorBackground);\n }\n\n ::slotted([slot='content-before']) {\n display: block;\n margin-left: 2px;\n }\n\n ::slotted([slot='content-after']) {\n display: block;\n margin-right: 2px;\n }\n\n slot[name='content-before'],\n slot[name='content-after'] {\n align-items: center;\n display: flex;\n }\n\n input {\n background-color: var(--vscode-settings-textInputBackground);\n border: 0;\n box-sizing: border-box;\n color: var(--vscode-settings-textInputForeground);\n display: block;\n font-family: var(--vscode-font-family);\n font-size: var(--vscode-font-size);\n font-weight: var(--vscode-font-weight);\n line-height: 18px;\n outline: none;\n padding-bottom: 3px;\n padding-left: 4px;\n padding-right: 4px;\n padding-top: 3px;\n width: 100%;\n }\n\n input:read-only:not([type=\"file\"]) {\n cursor: not-allowed;\n }\n\n input::placeholder {\n color: var(--vscode-input-placeholderForeground);\n opacity: 1;\n }\n\n input[type='file'] {\n line-height: 24px;\n padding-bottom: 0;\n padding-left: 2px;\n padding-top: 0;\n }\n\n input[type='file']::file-selector-button {\n background-color: var(--vscode-button-background);\n border: 0;\n border-radius: 2px;\n color: var(--vscode-button-foreground);\n cursor: pointer;\n font-family: var(--vscode-font-family);\n font-size: var(--vscode-font-size);\n font-weight: var(--vscode-font-weight);\n line-height: 20px;\n padding: 0 14px;\n }\n\n input[type='file']::file-selector-button:hover {\n background-color: var(--vscode-button-hoverBackground);\n }\n `,\n]"
9683
9699
  }
9684
9700
  ],
9685
9701
  "exports": [
@@ -9688,476 +9704,385 @@
9688
9704
  "name": "default",
9689
9705
  "declaration": {
9690
9706
  "name": "styles",
9691
- "module": "src/vscode-tree/vscode-tree.styles.ts"
9707
+ "module": "src/vscode-textfield/vscode-textfield.styles.ts"
9692
9708
  }
9693
9709
  }
9694
9710
  ]
9695
9711
  },
9696
9712
  {
9697
9713
  "kind": "javascript-module",
9698
- "path": "src/vscode-tree/vscode-tree.ts",
9714
+ "path": "src/vscode-textfield/vscode-textfield.ts",
9699
9715
  "declarations": [
9700
9716
  {
9701
9717
  "kind": "class",
9702
- "description": "",
9703
- "name": "VscodeTree",
9718
+ "description": "A simple inline textfield\n\nWhen participating in a form, it supports the `:invalid` pseudo class. Otherwise the error styles\ncan be applied through the `invalid` property.",
9719
+ "name": "VscodeTextfield",
9704
9720
  "cssProperties": [
9705
9721
  {
9706
- "name": "--vscode-focusBorder"
9707
- },
9708
- {
9709
- "name": "--vscode-font-family"
9710
- },
9711
- {
9712
- "name": "--vscode-font-size"
9713
- },
9714
- {
9715
- "name": "--vscode-font-weight"
9716
- },
9717
- {
9718
- "name": "--vscode-list-hoverForeground"
9719
- },
9720
- {
9721
- "name": "--vscode-list-hoverBackground"
9722
+ "name": "--vscode-settings-textInputBackground"
9722
9723
  },
9723
9724
  {
9724
- "name": "--vscode-list-inactiveSelectionBackground"
9725
+ "name": "--vscode-settings-textInputBorder"
9725
9726
  },
9726
9727
  {
9727
- "name": "--vscode-list-inactiveSelectionForeground"
9728
+ "name": "--vscode-settings-textInputForeground"
9728
9729
  },
9729
9730
  {
9730
- "name": "--vscode-list-activeSelectionBackground"
9731
+ "name": "--vscode-focusBorder"
9731
9732
  },
9732
9733
  {
9733
- "name": "--vscode-list-activeSelectionForeground"
9734
+ "name": "--vscode-font-family"
9734
9735
  },
9735
9736
  {
9736
- "name": "--vscode-list-inactiveSelectionIconForeground"
9737
+ "name": "--vscode-font-size"
9737
9738
  },
9738
9739
  {
9739
- "name": "--vscode-list-inactiveFocusBackground"
9740
+ "name": "--vscode-font-weight"
9740
9741
  },
9741
9742
  {
9742
- "name": "--vscode-list-inactiveFocusOutline"
9743
+ "name": "--vscode-input-placeholderForeground"
9743
9744
  },
9744
9745
  {
9745
- "name": "--vscode-list-focusOutline"
9746
+ "name": "--vscode-button-background"
9746
9747
  },
9747
9748
  {
9748
- "name": "--vscode-tree-inactiveIndentGuidesStroke"
9749
+ "name": "--vscode-button-foreground"
9749
9750
  },
9750
9751
  {
9751
- "name": "--vscode-tree-indentGuidesStroke"
9752
+ "name": "--vscode-button-hoverBackground"
9752
9753
  }
9753
9754
  ],
9754
- "cssParts": [
9755
- {
9756
- "name": "text-content"
9757
- },
9758
- {
9759
- "name": "description"
9760
- },
9761
- {
9762
- "name": "counter-badge-decoration"
9763
- },
9764
- {
9765
- "name": "filled-circle-decoration"
9766
- },
9755
+ "slots": [
9767
9756
  {
9768
- "name": "caption-decoration"
9757
+ "description": "A slot before the editable area but inside of the component. It is used to place icons.",
9758
+ "name": "content-before"
9769
9759
  },
9770
9760
  {
9771
- "description": "Container of decorations",
9772
- "name": "decorations"
9761
+ "description": "A slot after the editable area but inside of the component. It is used to place icons.",
9762
+ "name": "content-after"
9773
9763
  }
9774
9764
  ],
9775
9765
  "members": [
9776
9766
  {
9777
9767
  "kind": "field",
9778
- "name": "data",
9768
+ "name": "autocomplete",
9779
9769
  "type": {
9780
- "text": "TreeItem[]"
9770
+ "text": "'on' | 'off' | undefined"
9781
9771
  },
9782
- "attribute": "data"
9772
+ "default": "undefined",
9773
+ "attribute": "autocomplete"
9783
9774
  },
9784
9775
  {
9785
9776
  "kind": "field",
9786
- "name": "indent",
9777
+ "name": "autofocus",
9787
9778
  "type": {
9788
- "text": "number"
9779
+ "text": "boolean"
9789
9780
  },
9790
- "default": "8",
9791
- "attribute": "indent"
9781
+ "default": "false",
9782
+ "attribute": "autofocus",
9783
+ "reflects": true
9792
9784
  },
9793
9785
  {
9794
9786
  "kind": "field",
9795
- "name": "arrows",
9787
+ "name": "defaultValue",
9796
9788
  "type": {
9797
- "text": "boolean"
9789
+ "text": "string"
9798
9790
  },
9799
- "default": "false",
9800
- "attribute": "arrows",
9801
- "reflects": true
9791
+ "default": "''",
9792
+ "attribute": "default-value"
9802
9793
  },
9803
9794
  {
9804
9795
  "kind": "field",
9805
- "name": "multiline",
9796
+ "name": "disabled",
9806
9797
  "type": {
9807
9798
  "text": "boolean"
9808
9799
  },
9809
9800
  "default": "false",
9810
- "attribute": "multiline",
9801
+ "attribute": "disabled",
9811
9802
  "reflects": true
9812
9803
  },
9813
9804
  {
9814
9805
  "kind": "field",
9815
- "name": "tabindex",
9806
+ "name": "focused",
9816
9807
  "type": {
9817
- "text": "number"
9808
+ "text": "boolean"
9818
9809
  },
9819
- "default": "0",
9820
- "attribute": "tabindex",
9810
+ "default": "false",
9811
+ "attribute": "focused",
9821
9812
  "reflects": true
9822
9813
  },
9823
9814
  {
9824
9815
  "kind": "field",
9825
- "name": "indentGuides",
9816
+ "name": "invalid",
9826
9817
  "type": {
9827
9818
  "text": "boolean"
9828
9819
  },
9829
9820
  "default": "false",
9830
- "attribute": "indent-guides",
9821
+ "attribute": "invalid",
9831
9822
  "reflects": true
9832
9823
  },
9833
9824
  {
9834
9825
  "kind": "field",
9835
- "name": "_data",
9826
+ "name": "max",
9836
9827
  "type": {
9837
- "text": "TreeItem[]"
9828
+ "text": "number | undefined"
9838
9829
  },
9839
- "privacy": "private",
9840
- "default": "[]"
9830
+ "default": "undefined",
9831
+ "attribute": "max"
9841
9832
  },
9842
9833
  {
9843
9834
  "kind": "field",
9844
- "name": "_selectedItem",
9835
+ "name": "maxLength",
9845
9836
  "type": {
9846
- "text": "TreeItem | null"
9837
+ "text": "number | undefined"
9847
9838
  },
9848
- "privacy": "private",
9849
- "default": "null"
9839
+ "default": "undefined",
9840
+ "attribute": "maxLength"
9850
9841
  },
9851
9842
  {
9852
9843
  "kind": "field",
9853
- "name": "_focusedItem",
9844
+ "name": "min",
9854
9845
  "type": {
9855
- "text": "TreeItem | null"
9846
+ "text": "number | undefined"
9856
9847
  },
9857
- "privacy": "private",
9858
- "default": "null"
9848
+ "default": "undefined",
9849
+ "attribute": "min"
9859
9850
  },
9860
9851
  {
9861
9852
  "kind": "field",
9862
- "name": "_selectedBranch",
9853
+ "name": "minLength",
9863
9854
  "type": {
9864
- "text": "TreeItem | null"
9855
+ "text": "number | undefined"
9865
9856
  },
9866
- "privacy": "private",
9867
- "default": "null"
9857
+ "default": "undefined",
9858
+ "attribute": "minLength"
9868
9859
  },
9869
9860
  {
9870
9861
  "kind": "field",
9871
- "name": "_focusedBranch",
9862
+ "name": "multiple",
9872
9863
  "type": {
9873
- "text": "TreeItem | null"
9864
+ "text": "boolean"
9874
9865
  },
9875
- "privacy": "private",
9876
- "default": "null"
9866
+ "default": "false",
9867
+ "attribute": "multiple",
9868
+ "reflects": true
9877
9869
  },
9878
9870
  {
9879
- "kind": "method",
9880
- "name": "closeAll",
9881
- "privacy": "public",
9882
- "return": {
9883
- "type": {
9884
- "text": "void"
9885
- }
9871
+ "kind": "field",
9872
+ "name": "name",
9873
+ "type": {
9874
+ "text": "string | undefined"
9886
9875
  },
9887
- "description": "Closes all opened tree items recursively."
9876
+ "default": "undefined",
9877
+ "attribute": "name",
9878
+ "reflects": true
9888
9879
  },
9889
9880
  {
9890
- "kind": "method",
9891
- "name": "deselectAll",
9892
- "privacy": "public",
9893
- "description": "Deselects all selected items."
9881
+ "kind": "field",
9882
+ "name": "pattern",
9883
+ "type": {
9884
+ "text": "string | undefined"
9885
+ },
9886
+ "default": "undefined",
9887
+ "attribute": "pattern"
9894
9888
  },
9895
9889
  {
9896
- "kind": "method",
9897
- "name": "getItemByPath",
9898
- "privacy": "public",
9899
- "return": {
9900
- "type": {
9901
- "text": ""
9902
- }
9890
+ "kind": "field",
9891
+ "name": "placeholder",
9892
+ "type": {
9893
+ "text": "string | undefined"
9903
9894
  },
9904
- "parameters": [
9905
- {
9906
- "name": "path",
9907
- "type": {
9908
- "text": "number[]"
9909
- }
9910
- }
9911
- ],
9912
- "description": "Returns a reference to a TreeItem object by path."
9895
+ "default": "undefined",
9896
+ "attribute": "placeholder"
9913
9897
  },
9914
9898
  {
9915
- "kind": "method",
9916
- "name": "_getItemByPath",
9917
- "privacy": "private",
9918
- "return": {
9919
- "type": {
9920
- "text": "TreeItem | null"
9921
- }
9899
+ "kind": "field",
9900
+ "name": "readonly",
9901
+ "type": {
9902
+ "text": "boolean"
9922
9903
  },
9923
- "parameters": [
9924
- {
9925
- "name": "path",
9926
- "type": {
9927
- "text": "number[]"
9928
- }
9929
- }
9930
- ]
9904
+ "default": "false",
9905
+ "attribute": "readonly",
9906
+ "reflects": true
9931
9907
  },
9932
9908
  {
9933
- "kind": "method",
9934
- "name": "_handleActionClick",
9935
- "privacy": "private",
9936
- "parameters": [
9937
- {
9938
- "name": "ev",
9939
- "type": {
9940
- "text": "MouseEvent"
9941
- }
9942
- }
9943
- ]
9909
+ "kind": "field",
9910
+ "name": "required",
9911
+ "type": {
9912
+ "text": "boolean"
9913
+ },
9914
+ "default": "false",
9915
+ "attribute": "required",
9916
+ "reflects": true
9944
9917
  },
9945
9918
  {
9946
- "kind": "method",
9947
- "name": "_renderIconVariant",
9948
- "privacy": "private",
9949
- "parameters": [
9950
- {
9951
- "name": "variant",
9952
- "type": {
9953
- "text": "{value: string; type: IconType}"
9954
- }
9955
- }
9956
- ]
9919
+ "kind": "field",
9920
+ "name": "step",
9921
+ "type": {
9922
+ "text": "number | undefined"
9923
+ },
9924
+ "default": "undefined",
9925
+ "attribute": "step"
9957
9926
  },
9958
9927
  {
9959
- "kind": "method",
9960
- "name": "_renderIcon",
9961
- "privacy": "private",
9962
- "return": {
9963
- "type": {
9964
- "text": "TemplateResult"
9965
- }
9928
+ "kind": "field",
9929
+ "name": "type",
9930
+ "description": "Same as the `type` of the native `<input>` element but only a subset of types are supported.\nThe supported ones are: `color`,`date`,`datetime-local`,`email`,`file`,`month`,`number`,`password`,`search`,`tel`,`text`,`time`,`url`,`week`",
9931
+ "type": {
9932
+ "text": "InputType"
9966
9933
  },
9967
- "parameters": [
9968
- {
9969
- "name": "item",
9970
- "type": {
9971
- "text": "TreeItem"
9972
- }
9973
- }
9974
- ]
9934
+ "attribute": "type",
9935
+ "reflects": true
9975
9936
  },
9976
9937
  {
9977
- "kind": "method",
9978
- "name": "_renderArrow",
9979
- "privacy": "private",
9980
- "return": {
9981
- "type": {
9982
- "text": "TemplateResult"
9983
- }
9938
+ "kind": "field",
9939
+ "name": "value",
9940
+ "type": {
9941
+ "text": "string"
9984
9942
  },
9985
- "parameters": [
9986
- {
9987
- "name": "item",
9988
- "type": {
9989
- "text": "TreeItem"
9990
- }
9991
- }
9992
- ]
9943
+ "attribute": "value"
9993
9944
  },
9994
9945
  {
9995
- "kind": "method",
9996
- "name": "_renderActions",
9997
- "privacy": "private",
9998
- "return": {
9999
- "type": {
10000
- "text": "TemplateResult"
10001
- }
9946
+ "kind": "field",
9947
+ "name": "minlength",
9948
+ "description": "Lowercase alias to minLength",
9949
+ "type": {
9950
+ "text": "number | undefined"
9951
+ }
9952
+ },
9953
+ {
9954
+ "kind": "field",
9955
+ "name": "maxlength",
9956
+ "description": "Lowercase alias to maxLength",
9957
+ "type": {
9958
+ "text": "number | undefined"
9959
+ }
9960
+ },
9961
+ {
9962
+ "kind": "field",
9963
+ "name": "form",
9964
+ "type": {
9965
+ "text": "HTMLFormElement | null"
10002
9966
  },
10003
- "parameters": [
10004
- {
10005
- "name": "item",
10006
- "type": {
10007
- "text": "TreeItem"
10008
- }
10009
- }
10010
- ]
9967
+ "readonly": true
10011
9968
  },
10012
9969
  {
10013
- "kind": "method",
10014
- "name": "_renderDecorations",
10015
- "privacy": "private",
10016
- "parameters": [
10017
- {
10018
- "name": "item",
10019
- "type": {
10020
- "text": "TreeItem"
10021
- }
10022
- }
10023
- ]
9970
+ "kind": "field",
9971
+ "name": "validity",
9972
+ "type": {
9973
+ "text": "ValidityState"
9974
+ },
9975
+ "readonly": true
10024
9976
  },
10025
9977
  {
10026
- "kind": "method",
10027
- "name": "_renderTreeItem",
10028
- "privacy": "private",
10029
- "parameters": [
10030
- {
10031
- "name": "item",
10032
- "type": {
10033
- "text": "TreeItem"
10034
- }
10035
- },
10036
- {
10037
- "name": "additionalOptions",
10038
- "type": {
10039
- "text": "{\n path: number[];\n itemType: ItemType;\n hasFocusedItem: boolean;\n hasSelectedItem: boolean;\n }"
10040
- }
10041
- }
10042
- ]
9978
+ "kind": "field",
9979
+ "name": "validationMessage",
9980
+ "readonly": true
9981
+ },
9982
+ {
9983
+ "kind": "field",
9984
+ "name": "willValidate",
9985
+ "readonly": true
10043
9986
  },
10044
9987
  {
10045
9988
  "kind": "method",
10046
- "name": "_renderTree",
10047
- "privacy": "private",
10048
- "parameters": [
10049
- {
10050
- "name": "tree",
10051
- "type": {
10052
- "text": "TreeItem[]"
10053
- }
10054
- },
10055
- {
10056
- "name": "oldPath",
10057
- "default": "[]",
10058
- "type": {
10059
- "text": "number[]"
10060
- }
10061
- }
10062
- ]
9989
+ "name": "checkValidity"
10063
9990
  },
10064
9991
  {
10065
9992
  "kind": "method",
10066
- "name": "_selectItem",
9993
+ "name": "reportValidity"
9994
+ },
9995
+ {
9996
+ "kind": "field",
9997
+ "name": "wrappedElement",
9998
+ "type": {
9999
+ "text": "HTMLInputElement"
10000
+ },
10001
+ "readonly": true
10002
+ },
10003
+ {
10004
+ "kind": "field",
10005
+ "name": "_inputEl",
10006
+ "type": {
10007
+ "text": "HTMLInputElement"
10008
+ },
10009
+ "privacy": "private"
10010
+ },
10011
+ {
10012
+ "kind": "field",
10013
+ "name": "_value",
10014
+ "type": {
10015
+ "text": "string"
10016
+ },
10067
10017
  "privacy": "private",
10068
- "parameters": [
10069
- {
10070
- "name": "item",
10071
- "type": {
10072
- "text": "TreeItem"
10073
- }
10074
- }
10075
- ]
10018
+ "default": "''"
10076
10019
  },
10077
10020
  {
10078
- "kind": "method",
10079
- "name": "_focusItem",
10021
+ "kind": "field",
10022
+ "name": "_type",
10023
+ "type": {
10024
+ "text": "InputType"
10025
+ },
10080
10026
  "privacy": "private",
10081
- "parameters": [
10082
- {
10083
- "name": "item",
10084
- "type": {
10085
- "text": "TreeItem"
10086
- }
10087
- }
10088
- ]
10027
+ "default": "'text'"
10028
+ },
10029
+ {
10030
+ "kind": "field",
10031
+ "name": "_internals",
10032
+ "type": {
10033
+ "text": "ElementInternals"
10034
+ },
10035
+ "privacy": "private"
10089
10036
  },
10090
10037
  {
10091
10038
  "kind": "method",
10092
- "name": "_closeSubTreeRecursively",
10093
- "privacy": "private",
10094
- "parameters": [
10095
- {
10096
- "name": "tree",
10097
- "type": {
10098
- "text": "TreeItem[]"
10099
- }
10100
- }
10101
- ]
10039
+ "name": "_dataChanged",
10040
+ "privacy": "private"
10102
10041
  },
10103
10042
  {
10104
10043
  "kind": "method",
10105
- "name": "_deselectItemsRecursively",
10044
+ "name": "_setValidityFromInput",
10045
+ "privacy": "private"
10046
+ },
10047
+ {
10048
+ "kind": "method",
10049
+ "name": "_onInput",
10106
10050
  "privacy": "private",
10107
10051
  "parameters": [
10108
10052
  {
10109
- "name": "tree",
10053
+ "name": "ev",
10110
10054
  "type": {
10111
- "text": "TreeItem[]"
10055
+ "text": "InputEvent"
10112
10056
  }
10113
10057
  }
10114
10058
  ]
10115
10059
  },
10116
10060
  {
10117
10061
  "kind": "method",
10118
- "name": "_emitSelectEvent",
10062
+ "name": "_onChange",
10119
10063
  "privacy": "private",
10120
10064
  "parameters": [
10121
10065
  {
10122
- "name": "item",
10123
- "type": {
10124
- "text": "TreeItem"
10125
- }
10126
- },
10127
- {
10128
- "name": "path",
10066
+ "name": "ev",
10129
10067
  "type": {
10130
- "text": "string"
10068
+ "text": "Event"
10131
10069
  }
10132
10070
  }
10133
10071
  ]
10134
10072
  },
10135
10073
  {
10136
10074
  "kind": "method",
10137
- "name": "_focusPrevItem",
10075
+ "name": "_onFocus",
10138
10076
  "privacy": "private"
10139
10077
  },
10140
10078
  {
10141
10079
  "kind": "method",
10142
- "name": "_focusNextItem",
10080
+ "name": "_onBlur",
10143
10081
  "privacy": "private"
10144
10082
  },
10145
10083
  {
10146
10084
  "kind": "method",
10147
- "name": "_handleClick",
10148
- "privacy": "private",
10149
- "parameters": [
10150
- {
10151
- "name": "event",
10152
- "type": {
10153
- "text": "MouseEvent"
10154
- }
10155
- }
10156
- ]
10157
- },
10158
- {
10159
- "kind": "method",
10160
- "name": "_handleComponentKeyDown",
10085
+ "name": "_onKeyDown",
10161
10086
  "privacy": "private",
10162
10087
  "parameters": [
10163
10088
  {
@@ -10168,11 +10093,6 @@
10168
10093
  }
10169
10094
  ]
10170
10095
  },
10171
- {
10172
- "kind": "field",
10173
- "name": "_handleComponentKeyDownBound",
10174
- "privacy": "private"
10175
- },
10176
10096
  {
10177
10097
  "kind": "field",
10178
10098
  "name": "_version",
@@ -10180,7 +10100,7 @@
10180
10100
  "text": "string"
10181
10101
  },
10182
10102
  "privacy": "private",
10183
- "default": "'1.6.0'",
10103
+ "default": "'1.6.2-pre.0'",
10184
10104
  "inheritedFrom": {
10185
10105
  "name": "VscElement",
10186
10106
  "module": "src/includes/VscElement.ts"
@@ -10199,510 +10119,728 @@
10199
10119
  ],
10200
10120
  "events": [
10201
10121
  {
10202
- "name": "vsc-run-action",
10122
+ "name": "vsc-input",
10203
10123
  "type": {
10204
10124
  "text": "CustomEvent"
10205
10125
  },
10206
- "deprecated": "Renamed to `vsc-tree-action`",
10207
- "description": "Dispatched when an action icon is clicked."
10126
+ "deprecated": "true"
10208
10127
  },
10209
10128
  {
10210
- "name": "vsc-select",
10129
+ "name": "change",
10211
10130
  "type": {
10212
- "text": "CustomEvent"
10213
- },
10214
- "deprecated": "Renamed to `vsc-tree-select`",
10215
- "description": "Dispatched when an item is selected."
10131
+ "text": "Event"
10132
+ }
10216
10133
  },
10217
10134
  {
10135
+ "name": "vsc-change",
10218
10136
  "type": {
10219
10137
  "text": "CustomEvent"
10220
10138
  },
10221
- "description": "Dispatched when an item is selected.",
10222
- "name": "vsc-tree-select"
10139
+ "deprecated": "true"
10223
10140
  },
10224
10141
  {
10225
10142
  "type": {
10226
- "text": "VscTreeActionEvent"
10143
+ "text": "InputEvent"
10227
10144
  },
10228
- "description": "Dispatched when an action icon is clicked.",
10229
- "name": "vsc-tree-action"
10145
+ "name": "input"
10230
10146
  }
10231
10147
  ],
10232
10148
  "attributes": [
10233
10149
  {
10234
- "name": "data",
10150
+ "name": "autocomplete",
10235
10151
  "type": {
10236
- "text": "TreeItem[]"
10152
+ "text": "'on' | 'off' | undefined"
10237
10153
  },
10238
- "fieldName": "data"
10154
+ "default": "undefined",
10155
+ "resolveInitializer": {
10156
+ "module": "src/vscode-textfield/vscode-textfield.ts"
10157
+ },
10158
+ "fieldName": "autocomplete"
10239
10159
  },
10240
10160
  {
10241
- "name": "indent",
10161
+ "name": "autofocus",
10242
10162
  "type": {
10243
- "text": "number"
10163
+ "text": "boolean"
10244
10164
  },
10245
- "default": "8",
10246
- "fieldName": "indent"
10165
+ "default": "false",
10166
+ "fieldName": "autofocus"
10247
10167
  },
10248
10168
  {
10249
- "name": "arrows",
10169
+ "name": "default-value",
10250
10170
  "type": {
10251
- "text": "boolean"
10171
+ "text": "string"
10252
10172
  },
10253
- "default": "false",
10254
- "fieldName": "arrows"
10173
+ "default": "''",
10174
+ "fieldName": "defaultValue"
10255
10175
  },
10256
10176
  {
10257
- "name": "multiline",
10177
+ "name": "disabled",
10258
10178
  "type": {
10259
10179
  "text": "boolean"
10260
10180
  },
10261
10181
  "default": "false",
10262
- "fieldName": "multiline"
10182
+ "fieldName": "disabled"
10263
10183
  },
10264
10184
  {
10265
- "name": "tabindex",
10185
+ "name": "focused",
10266
10186
  "type": {
10267
- "text": "number"
10187
+ "text": "boolean"
10268
10188
  },
10269
- "default": "0",
10270
- "fieldName": "tabindex"
10189
+ "default": "false",
10190
+ "fieldName": "focused"
10271
10191
  },
10272
10192
  {
10273
- "name": "indent-guides",
10193
+ "name": "invalid",
10274
10194
  "type": {
10275
10195
  "text": "boolean"
10276
10196
  },
10277
10197
  "default": "false",
10278
- "fieldName": "indentGuides"
10279
- }
10280
- ],
10281
- "superclass": {
10282
- "name": "VscElement",
10283
- "module": "/src/includes/VscElement.js"
10284
- },
10285
- "tagName": "vscode-tree",
10286
- "customElement": true
10287
- }
10288
- ],
10289
- "exports": [
10290
- {
10291
- "kind": "js",
10292
- "name": "VscodeTree",
10293
- "declaration": {
10294
- "name": "VscodeTree",
10295
- "module": "src/vscode-tree/vscode-tree.ts"
10296
- }
10297
- },
10298
- {
10299
- "kind": "custom-element-definition",
10300
- "name": "vscode-tree",
10301
- "declaration": {
10302
- "name": "VscodeTree",
10303
- "module": "src/vscode-tree/vscode-tree.ts"
10304
- }
10305
- }
10306
- ]
10307
- },
10308
- {
10309
- "kind": "javascript-module",
10310
- "path": "src/vscode-textfield/vscode-textfield.styles.ts",
10311
- "declarations": [
10312
- {
10313
- "kind": "variable",
10314
- "name": "styles",
10315
- "type": {
10316
- "text": "CSSResultGroup"
10317
- },
10318
- "default": "[\n defaultStyles,\n css`\n :host {\n align-items: center;\n background-color: var(--vscode-settings-textInputBackground);\n border-color: var(--vscode-settings-textInputBorder, var(--vscode-settings-textInputBackground));\n border-radius: 2px;\n border-style: solid;\n border-width: 1px;\n box-sizing: border-box;\n color: var(--vscode-settings-textInputForeground);\n display: inline-flex;\n max-width: 100%;\n position: relative;\n width: 320px;\n }\n\n :host([focused]) {\n border-color: var(--vscode-focusBorder);\n }\n\n :host([invalid]),\n :host(:invalid) {\n border-color: var(--vscode-inputValidation-errorBorder, #be1100);\n }\n\n :host([invalid]) input,\n :host(:invalid) input {\n background-color: var(--vscode-inputValidation-errorBackground);\n }\n\n ::slotted([slot='content-before']) {\n display: block;\n margin-left: 2px;\n }\n\n ::slotted([slot='content-after']) {\n display: block;\n margin-right: 2px;\n }\n\n slot[name='content-before'],\n slot[name='content-after'] {\n align-items: center;\n display: flex;\n }\n\n input {\n background-color: var(--vscode-settings-textInputBackground);\n border: 0;\n box-sizing: border-box;\n color: var(--vscode-settings-textInputForeground);\n display: block;\n font-family: var(--vscode-font-family);\n font-size: var(--vscode-font-size);\n font-weight: var(--vscode-font-weight);\n line-height: 18px;\n outline: none;\n padding-bottom: 3px;\n padding-left: 4px;\n padding-right: 4px;\n padding-top: 3px;\n width: 100%;\n }\n\n input:read-only:not([type=\"file\"]) {\n cursor: not-allowed;\n }\n\n input::placeholder {\n color: var(--vscode-input-placeholderForeground);\n opacity: 1;\n }\n\n input[type='file'] {\n line-height: 24px;\n padding-bottom: 0;\n padding-left: 2px;\n padding-top: 0;\n }\n\n input[type='file']::file-selector-button {\n background-color: var(--vscode-button-background);\n border: 0;\n border-radius: 2px;\n color: var(--vscode-button-foreground);\n cursor: pointer;\n font-family: var(--vscode-font-family);\n font-size: var(--vscode-font-size);\n font-weight: var(--vscode-font-weight);\n line-height: 20px;\n padding: 0 14px;\n }\n\n input[type='file']::file-selector-button:hover {\n background-color: var(--vscode-button-hoverBackground);\n }\n `,\n]"
10319
- }
10320
- ],
10321
- "exports": [
10322
- {
10323
- "kind": "js",
10324
- "name": "default",
10325
- "declaration": {
10326
- "name": "styles",
10327
- "module": "src/vscode-textfield/vscode-textfield.styles.ts"
10328
- }
10329
- }
10330
- ]
10331
- },
10332
- {
10333
- "kind": "javascript-module",
10334
- "path": "src/vscode-textfield/vscode-textfield.ts",
10335
- "declarations": [
10336
- {
10337
- "kind": "class",
10338
- "description": "A simple inline textfield\n\nWhen participating in a form, it supports the `:invalid` pseudo class. Otherwise the error styles\ncan be applied through the `invalid` property.",
10339
- "name": "VscodeTextfield",
10340
- "cssProperties": [
10341
- {
10342
- "name": "--vscode-settings-textInputBackground"
10343
- },
10344
- {
10345
- "name": "--vscode-settings-textInputBorder"
10346
- },
10347
- {
10348
- "name": "--vscode-settings-textInputForeground"
10349
- },
10350
- {
10351
- "name": "--vscode-focusBorder"
10352
- },
10353
- {
10354
- "name": "--vscode-font-family"
10355
- },
10356
- {
10357
- "name": "--vscode-font-size"
10358
- },
10359
- {
10360
- "name": "--vscode-font-weight"
10361
- },
10362
- {
10363
- "name": "--vscode-input-placeholderForeground"
10364
- },
10365
- {
10366
- "name": "--vscode-button-background"
10367
- },
10368
- {
10369
- "name": "--vscode-button-foreground"
10370
- },
10371
- {
10372
- "name": "--vscode-button-hoverBackground"
10373
- }
10374
- ],
10375
- "slots": [
10376
- {
10377
- "description": "A slot before the editable area but inside of the component. It is used to place icons.",
10378
- "name": "content-before"
10379
- },
10380
- {
10381
- "description": "A slot after the editable area but inside of the component. It is used to place icons.",
10382
- "name": "content-after"
10383
- }
10384
- ],
10385
- "members": [
10386
- {
10387
- "kind": "field",
10388
- "name": "autocomplete",
10389
- "type": {
10390
- "text": "'on' | 'off' | undefined"
10391
- },
10392
- "default": "undefined",
10393
- "attribute": "autocomplete"
10394
- },
10395
- {
10396
- "kind": "field",
10397
- "name": "autofocus",
10398
- "type": {
10399
- "text": "boolean"
10400
- },
10401
- "default": "false",
10402
- "attribute": "autofocus",
10403
- "reflects": true
10404
- },
10405
- {
10406
- "kind": "field",
10407
- "name": "defaultValue",
10408
- "type": {
10409
- "text": "string"
10410
- },
10411
- "default": "''",
10412
- "attribute": "default-value"
10413
- },
10414
- {
10415
- "kind": "field",
10416
- "name": "disabled",
10417
- "type": {
10418
- "text": "boolean"
10419
- },
10420
- "default": "false",
10421
- "attribute": "disabled",
10422
- "reflects": true
10423
- },
10424
- {
10425
- "kind": "field",
10426
- "name": "focused",
10427
- "type": {
10428
- "text": "boolean"
10429
- },
10430
- "default": "false",
10431
- "attribute": "focused",
10432
- "reflects": true
10433
- },
10434
- {
10435
- "kind": "field",
10436
- "name": "invalid",
10437
- "type": {
10438
- "text": "boolean"
10439
- },
10440
- "default": "false",
10441
- "attribute": "invalid",
10442
- "reflects": true
10198
+ "fieldName": "invalid"
10443
10199
  },
10444
10200
  {
10445
- "kind": "field",
10446
10201
  "name": "max",
10447
10202
  "type": {
10448
10203
  "text": "number | undefined"
10449
10204
  },
10450
10205
  "default": "undefined",
10451
- "attribute": "max"
10206
+ "resolveInitializer": {
10207
+ "module": "src/vscode-textfield/vscode-textfield.ts"
10208
+ },
10209
+ "fieldName": "max"
10452
10210
  },
10453
10211
  {
10454
- "kind": "field",
10455
10212
  "name": "maxLength",
10456
10213
  "type": {
10457
10214
  "text": "number | undefined"
10458
10215
  },
10459
10216
  "default": "undefined",
10460
- "attribute": "maxLength"
10217
+ "resolveInitializer": {
10218
+ "module": "src/vscode-textfield/vscode-textfield.ts"
10219
+ },
10220
+ "fieldName": "maxLength"
10461
10221
  },
10462
10222
  {
10463
- "kind": "field",
10464
10223
  "name": "min",
10465
10224
  "type": {
10466
10225
  "text": "number | undefined"
10467
10226
  },
10468
10227
  "default": "undefined",
10469
- "attribute": "min"
10228
+ "resolveInitializer": {
10229
+ "module": "src/vscode-textfield/vscode-textfield.ts"
10230
+ },
10231
+ "fieldName": "min"
10470
10232
  },
10471
10233
  {
10472
- "kind": "field",
10473
10234
  "name": "minLength",
10474
10235
  "type": {
10475
10236
  "text": "number | undefined"
10476
10237
  },
10477
10238
  "default": "undefined",
10478
- "attribute": "minLength"
10239
+ "resolveInitializer": {
10240
+ "module": "src/vscode-textfield/vscode-textfield.ts"
10241
+ },
10242
+ "fieldName": "minLength"
10479
10243
  },
10480
10244
  {
10481
- "kind": "field",
10482
10245
  "name": "multiple",
10483
10246
  "type": {
10484
10247
  "text": "boolean"
10485
10248
  },
10486
10249
  "default": "false",
10487
- "attribute": "multiple",
10488
- "reflects": true
10250
+ "fieldName": "multiple"
10489
10251
  },
10490
10252
  {
10491
- "kind": "field",
10492
10253
  "name": "name",
10493
10254
  "type": {
10494
10255
  "text": "string | undefined"
10495
10256
  },
10496
10257
  "default": "undefined",
10497
- "attribute": "name",
10498
- "reflects": true
10258
+ "resolveInitializer": {
10259
+ "module": "src/vscode-textfield/vscode-textfield.ts"
10260
+ },
10261
+ "fieldName": "name"
10499
10262
  },
10500
10263
  {
10501
- "kind": "field",
10502
10264
  "name": "pattern",
10503
10265
  "type": {
10504
10266
  "text": "string | undefined"
10505
10267
  },
10506
10268
  "default": "undefined",
10507
- "attribute": "pattern"
10269
+ "resolveInitializer": {
10270
+ "module": "src/vscode-textfield/vscode-textfield.ts"
10271
+ },
10272
+ "fieldName": "pattern"
10508
10273
  },
10509
10274
  {
10510
- "kind": "field",
10511
10275
  "name": "placeholder",
10512
10276
  "type": {
10513
10277
  "text": "string | undefined"
10514
10278
  },
10515
10279
  "default": "undefined",
10516
- "attribute": "placeholder"
10280
+ "resolveInitializer": {
10281
+ "module": "src/vscode-textfield/vscode-textfield.ts"
10282
+ },
10283
+ "fieldName": "placeholder"
10517
10284
  },
10518
10285
  {
10519
- "kind": "field",
10520
10286
  "name": "readonly",
10521
10287
  "type": {
10522
10288
  "text": "boolean"
10523
10289
  },
10524
10290
  "default": "false",
10525
- "attribute": "readonly",
10526
- "reflects": true
10291
+ "fieldName": "readonly"
10527
10292
  },
10528
10293
  {
10529
- "kind": "field",
10530
10294
  "name": "required",
10531
10295
  "type": {
10532
10296
  "text": "boolean"
10533
10297
  },
10534
10298
  "default": "false",
10535
- "attribute": "required",
10536
- "reflects": true
10299
+ "fieldName": "required"
10537
10300
  },
10538
10301
  {
10539
- "kind": "field",
10540
10302
  "name": "step",
10541
10303
  "type": {
10542
10304
  "text": "number | undefined"
10543
10305
  },
10544
10306
  "default": "undefined",
10545
- "attribute": "step"
10307
+ "resolveInitializer": {
10308
+ "module": "src/vscode-textfield/vscode-textfield.ts"
10309
+ },
10310
+ "fieldName": "step"
10546
10311
  },
10547
10312
  {
10548
- "kind": "field",
10549
10313
  "name": "type",
10550
10314
  "description": "Same as the `type` of the native `<input>` element but only a subset of types are supported.\nThe supported ones are: `color`,`date`,`datetime-local`,`email`,`file`,`month`,`number`,`password`,`search`,`tel`,`text`,`time`,`url`,`week`",
10551
10315
  "type": {
10552
10316
  "text": "InputType"
10553
10317
  },
10554
- "attribute": "type",
10555
- "reflects": true
10318
+ "fieldName": "type"
10556
10319
  },
10557
10320
  {
10558
- "kind": "field",
10559
10321
  "name": "value",
10560
10322
  "type": {
10561
10323
  "text": "string"
10562
10324
  },
10563
- "attribute": "value"
10564
- },
10565
- {
10566
- "kind": "field",
10567
- "name": "minlength",
10568
- "description": "Lowercase alias to minLength",
10569
- "type": {
10570
- "text": "number | undefined"
10571
- }
10572
- },
10573
- {
10574
- "kind": "field",
10575
- "name": "maxlength",
10576
- "description": "Lowercase alias to maxLength",
10577
- "type": {
10578
- "text": "number | undefined"
10579
- }
10580
- },
10581
- {
10582
- "kind": "field",
10583
- "name": "form",
10584
- "type": {
10585
- "text": "HTMLFormElement | null"
10586
- },
10587
- "readonly": true
10588
- },
10589
- {
10590
- "kind": "field",
10591
- "name": "validity",
10592
- "type": {
10593
- "text": "ValidityState"
10594
- },
10595
- "readonly": true
10596
- },
10597
- {
10598
- "kind": "field",
10599
- "name": "validationMessage",
10600
- "readonly": true
10601
- },
10602
- {
10603
- "kind": "field",
10604
- "name": "willValidate",
10605
- "readonly": true
10606
- },
10607
- {
10608
- "kind": "method",
10609
- "name": "checkValidity"
10610
- },
10611
- {
10612
- "kind": "method",
10613
- "name": "reportValidity"
10614
- },
10615
- {
10616
- "kind": "field",
10617
- "name": "wrappedElement",
10618
- "type": {
10619
- "text": "HTMLInputElement"
10620
- },
10621
- "readonly": true
10325
+ "fieldName": "value"
10326
+ }
10327
+ ],
10328
+ "superclass": {
10329
+ "name": "VscElement",
10330
+ "module": "/src/includes/VscElement.js"
10331
+ },
10332
+ "tagName": "vscode-textfield",
10333
+ "customElement": true
10334
+ }
10335
+ ],
10336
+ "exports": [
10337
+ {
10338
+ "kind": "js",
10339
+ "name": "VscodeTextfield",
10340
+ "declaration": {
10341
+ "name": "VscodeTextfield",
10342
+ "module": "src/vscode-textfield/vscode-textfield.ts"
10343
+ }
10344
+ },
10345
+ {
10346
+ "kind": "custom-element-definition",
10347
+ "name": "vscode-textfield",
10348
+ "declaration": {
10349
+ "name": "VscodeTextfield",
10350
+ "module": "src/vscode-textfield/vscode-textfield.ts"
10351
+ }
10352
+ }
10353
+ ]
10354
+ },
10355
+ {
10356
+ "kind": "javascript-module",
10357
+ "path": "src/vscode-tree/vscode-tree.styles.ts",
10358
+ "declarations": [
10359
+ {
10360
+ "kind": "variable",
10361
+ "name": "styles",
10362
+ "type": {
10363
+ "text": "CSSResultGroup"
10364
+ },
10365
+ "default": "[\n defaultStyles,\n css`\n :host {\n --hover-outline-color: transparent;\n --hover-outline-style: solid;\n --hover-outline-width: 0;\n --selected-outline-color: transparent;\n --selected-outline-style: solid;\n --selected-outline-width: 0;\n\n display: block;\n outline: none;\n user-select: none;\n }\n\n .wrapper {\n height: 100%;\n }\n\n li {\n list-style: none;\n }\n\n ul,\n li {\n margin: 0;\n padding: 0;\n }\n\n ul {\n position: relative;\n }\n\n :host([indent-guides]) ul ul:before {\n content: '';\n display: block;\n height: 100%;\n position: absolute;\n bottom: 0;\n left: var(--indent-guide-pos);\n top: 0;\n pointer-events: none;\n width: 1px;\n z-index: 1;\n }\n\n .contents {\n align-items: center;\n display: flex;\n font-family: var(--vscode-font-family);\n font-size: var(--vscode-font-size);\n font-weight: var(--vscode-font-weight);\n outline-offset: -1px;\n padding-right: 12px;\n }\n\n .multi .contents {\n align-items: flex-start;\n }\n\n .contents:hover {\n cursor: pointer;\n }\n\n .arrow-container {\n align-items: center;\n display: flex;\n height: 22px;\n justify-content: center;\n padding-left: 8px;\n padding-right: 6px;\n width: 16px;\n }\n\n .icon-arrow {\n color: currentColor;\n display: block;\n }\n\n .theme-icon {\n display: block;\n flex-shrink: 0;\n margin-right: 6px;\n }\n\n .image-icon {\n background-repeat: no-repeat;\n background-position: 0 center;\n background-size: 16px;\n display: block;\n flex-shrink: 0;\n margin-right: 6px;\n height: 22px;\n width: 16px;\n }\n\n .multi .contents .theme-icon {\n margin-top: 3px;\n }\n\n .text-content {\n display: flex;\n line-height: 22px;\n }\n\n .single .text-content {\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n width: 100%;\n }\n\n .description {\n font-size: 0.9em;\n line-height: 22px;\n margin-left: 0.5em;\n opacity: 0.95;\n white-space: pre;\n }\n\n .actions {\n display: none;\n }\n\n .contents.selected > .actions,\n .contents.focused > .actions,\n .contents:hover > .actions {\n display: flex;\n }\n\n .decorations {\n align-items: center;\n display: flex;\n height: 22px;\n margin-left: 5px;\n }\n\n .filled-circle {\n margin-right: 3px;\n opacity: 0.4;\n }\n\n .decoration-text {\n font-size: 90%;\n font-weight: 600;\n margin-right: 3px;\n opacity: 0.75;\n }\n\n .filled-circle,\n .decoration-text {\n color: var(--color, currentColor);\n }\n\n .contents:hover .filled-circle,\n .contents:hover .decoration-text {\n color: var(--hover-color, var(--color));\n }\n\n .contents.focused .filled-circle,\n .contents.focused .decoration-text {\n color: var(--focused-color, var(--color));\n }\n\n .contents.selected .filled-circle,\n .contents.selected .decoration-text {\n color: var(--selected-color, var(--color));\n }\n\n /* Theme colors */\n :host(:focus) .wrapper.has-not-focused-item {\n outline: 1px solid var(--vscode-focusBorder);\n }\n\n :host(:focus) .contents.selected,\n :host(:focus) .contents.focused.selected {\n color: var(--vscode-list-activeSelectionForeground);\n background-color: var(--vscode-list-activeSelectionBackground);\n }\n\n :host(:focus) .contents.selected .icon-arrow,\n :host(:focus) .contents.selected.focused .icon-arrow,\n :host(:focus) .contents.selected .theme-icon,\n :host(:focus) .contents.selected.focused .theme-icon,\n :host(:focus) .contents.selected .action-icon,\n :host(:focus) .contents.selected.focused .action-icon {\n color: var(--vscode-list-activeSelectionIconForeground);\n }\n\n :host(:focus) .contents.focused {\n color: var(--vscode-list-focusForeground);\n background-color: var(--vscode-list-focusBackground);\n }\n\n :host(:focus) .contents.selected.focused {\n outline-color: var(--vscode-list-focusAndSelectionOutline, var(--vscode-list-focusOutline));\n }\n\n .contents:hover {\n background-color: var(--vscode-list-hoverBackground);\n color: var(--vscode-list-hoverForeground);\n }\n\n .contents:hover,\n .contents.selected:hover {\n outline-color: var(--hover-outline-color);\n outline-style: var(--hover-outline-style);\n outline-width: var(--hover-outline-width);\n }\n\n .contents.selected,\n .contents.selected.focused {\n background-color: var(--vscode-list-inactiveSelectionBackground);\n color: var(--vscode-list-inactiveSelectionForeground);\n }\n\n .contents.selected,\n .contents.selected.focused {\n outline-color: var(--selected-outline-color);\n outline-style: var(--selected-outline-style);\n outline-width: var(--selected-outline-width);\n }\n\n .contents.selected .theme-icon {\n color: var(--vscode-list-inactiveSelectionIconForeground);\n }\n\n .contents.focused {\n background-color: var(--vscode-list-inactiveFocusBackground);\n outline: 1px dotted var(--vscode-list-inactiveFocusOutline);\n }\n\n :host(:focus) .contents.focused {\n outline: 1px solid var(--vscode-list-focusOutline);\n }\n\n :host([indent-guides]) ul ul:before {\n background-color: var(--vscode-tree-inactiveIndentGuidesStroke);\n }\n\n :host([indent-guides]) ul ul.has-active-item:before {\n background-color: var(--vscode-tree-indentGuidesStroke);\n }\n `,\n]"
10366
+ }
10367
+ ],
10368
+ "exports": [
10369
+ {
10370
+ "kind": "js",
10371
+ "name": "default",
10372
+ "declaration": {
10373
+ "name": "styles",
10374
+ "module": "src/vscode-tree/vscode-tree.styles.ts"
10375
+ }
10376
+ }
10377
+ ]
10378
+ },
10379
+ {
10380
+ "kind": "javascript-module",
10381
+ "path": "src/vscode-tree/vscode-tree.ts",
10382
+ "declarations": [
10383
+ {
10384
+ "kind": "class",
10385
+ "description": "",
10386
+ "name": "VscodeTree",
10387
+ "cssProperties": [
10388
+ {
10389
+ "name": "--vscode-focusBorder"
10390
+ },
10391
+ {
10392
+ "name": "--vscode-font-family"
10393
+ },
10394
+ {
10395
+ "name": "--vscode-font-size"
10396
+ },
10397
+ {
10398
+ "name": "--vscode-font-weight"
10399
+ },
10400
+ {
10401
+ "name": "--vscode-list-hoverForeground"
10402
+ },
10403
+ {
10404
+ "name": "--vscode-list-hoverBackground"
10405
+ },
10406
+ {
10407
+ "name": "--vscode-list-inactiveSelectionBackground"
10408
+ },
10409
+ {
10410
+ "name": "--vscode-list-inactiveSelectionForeground"
10411
+ },
10412
+ {
10413
+ "name": "--vscode-list-activeSelectionBackground"
10414
+ },
10415
+ {
10416
+ "name": "--vscode-list-activeSelectionForeground"
10417
+ },
10418
+ {
10419
+ "name": "--vscode-list-inactiveSelectionIconForeground"
10420
+ },
10421
+ {
10422
+ "name": "--vscode-list-inactiveFocusBackground"
10423
+ },
10424
+ {
10425
+ "name": "--vscode-list-inactiveFocusOutline"
10426
+ },
10427
+ {
10428
+ "name": "--vscode-list-focusOutline"
10429
+ },
10430
+ {
10431
+ "name": "--vscode-tree-inactiveIndentGuidesStroke"
10432
+ },
10433
+ {
10434
+ "name": "--vscode-tree-indentGuidesStroke"
10435
+ }
10436
+ ],
10437
+ "cssParts": [
10438
+ {
10439
+ "name": "text-content"
10440
+ },
10441
+ {
10442
+ "name": "description"
10443
+ },
10444
+ {
10445
+ "name": "counter-badge-decoration"
10446
+ },
10447
+ {
10448
+ "name": "filled-circle-decoration"
10449
+ },
10450
+ {
10451
+ "name": "caption-decoration"
10622
10452
  },
10453
+ {
10454
+ "description": "Container of decorations",
10455
+ "name": "decorations"
10456
+ }
10457
+ ],
10458
+ "members": [
10623
10459
  {
10624
10460
  "kind": "field",
10625
- "name": "_inputEl",
10461
+ "name": "data",
10626
10462
  "type": {
10627
- "text": "HTMLInputElement"
10463
+ "text": "TreeItem[]"
10628
10464
  },
10629
- "privacy": "private"
10465
+ "attribute": "data"
10630
10466
  },
10631
10467
  {
10632
10468
  "kind": "field",
10633
- "name": "_value",
10469
+ "name": "indent",
10634
10470
  "type": {
10635
- "text": "string"
10471
+ "text": "number"
10472
+ },
10473
+ "default": "8",
10474
+ "attribute": "indent"
10475
+ },
10476
+ {
10477
+ "kind": "field",
10478
+ "name": "arrows",
10479
+ "type": {
10480
+ "text": "boolean"
10481
+ },
10482
+ "default": "false",
10483
+ "attribute": "arrows",
10484
+ "reflects": true
10485
+ },
10486
+ {
10487
+ "kind": "field",
10488
+ "name": "multiline",
10489
+ "type": {
10490
+ "text": "boolean"
10491
+ },
10492
+ "default": "false",
10493
+ "attribute": "multiline",
10494
+ "reflects": true
10495
+ },
10496
+ {
10497
+ "kind": "field",
10498
+ "name": "tabindex",
10499
+ "type": {
10500
+ "text": "number"
10501
+ },
10502
+ "default": "0",
10503
+ "attribute": "tabindex",
10504
+ "reflects": true
10505
+ },
10506
+ {
10507
+ "kind": "field",
10508
+ "name": "indentGuides",
10509
+ "type": {
10510
+ "text": "boolean"
10511
+ },
10512
+ "default": "false",
10513
+ "attribute": "indent-guides",
10514
+ "reflects": true
10515
+ },
10516
+ {
10517
+ "kind": "field",
10518
+ "name": "_data",
10519
+ "type": {
10520
+ "text": "TreeItem[]"
10636
10521
  },
10637
10522
  "privacy": "private",
10638
- "default": "''"
10523
+ "default": "[]"
10639
10524
  },
10640
10525
  {
10641
10526
  "kind": "field",
10642
- "name": "_type",
10527
+ "name": "_selectedItem",
10643
10528
  "type": {
10644
- "text": "InputType"
10529
+ "text": "TreeItem | null"
10645
10530
  },
10646
10531
  "privacy": "private",
10647
- "default": "'text'"
10532
+ "default": "null"
10648
10533
  },
10649
10534
  {
10650
10535
  "kind": "field",
10651
- "name": "_internals",
10536
+ "name": "_focusedItem",
10652
10537
  "type": {
10653
- "text": "ElementInternals"
10538
+ "text": "TreeItem | null"
10654
10539
  },
10655
- "privacy": "private"
10540
+ "privacy": "private",
10541
+ "default": "null"
10542
+ },
10543
+ {
10544
+ "kind": "field",
10545
+ "name": "_selectedBranch",
10546
+ "type": {
10547
+ "text": "TreeItem | null"
10548
+ },
10549
+ "privacy": "private",
10550
+ "default": "null"
10551
+ },
10552
+ {
10553
+ "kind": "field",
10554
+ "name": "_focusedBranch",
10555
+ "type": {
10556
+ "text": "TreeItem | null"
10557
+ },
10558
+ "privacy": "private",
10559
+ "default": "null"
10656
10560
  },
10657
10561
  {
10658
10562
  "kind": "method",
10659
- "name": "_dataChanged",
10660
- "privacy": "private"
10563
+ "name": "closeAll",
10564
+ "privacy": "public",
10565
+ "return": {
10566
+ "type": {
10567
+ "text": "void"
10568
+ }
10569
+ },
10570
+ "description": "Closes all opened tree items recursively."
10571
+ },
10572
+ {
10573
+ "kind": "method",
10574
+ "name": "deselectAll",
10575
+ "privacy": "public",
10576
+ "description": "Deselects all selected items."
10577
+ },
10578
+ {
10579
+ "kind": "method",
10580
+ "name": "getItemByPath",
10581
+ "privacy": "public",
10582
+ "return": {
10583
+ "type": {
10584
+ "text": ""
10585
+ }
10586
+ },
10587
+ "parameters": [
10588
+ {
10589
+ "name": "path",
10590
+ "type": {
10591
+ "text": "number[]"
10592
+ }
10593
+ }
10594
+ ],
10595
+ "description": "Returns a reference to a TreeItem object by path."
10596
+ },
10597
+ {
10598
+ "kind": "method",
10599
+ "name": "_getItemByPath",
10600
+ "privacy": "private",
10601
+ "return": {
10602
+ "type": {
10603
+ "text": "TreeItem | null"
10604
+ }
10605
+ },
10606
+ "parameters": [
10607
+ {
10608
+ "name": "path",
10609
+ "type": {
10610
+ "text": "number[]"
10611
+ }
10612
+ }
10613
+ ]
10614
+ },
10615
+ {
10616
+ "kind": "method",
10617
+ "name": "_handleActionClick",
10618
+ "privacy": "private",
10619
+ "parameters": [
10620
+ {
10621
+ "name": "ev",
10622
+ "type": {
10623
+ "text": "MouseEvent"
10624
+ }
10625
+ }
10626
+ ]
10627
+ },
10628
+ {
10629
+ "kind": "method",
10630
+ "name": "_renderIconVariant",
10631
+ "privacy": "private",
10632
+ "parameters": [
10633
+ {
10634
+ "name": "variant",
10635
+ "type": {
10636
+ "text": "{value: string; type: IconType}"
10637
+ }
10638
+ }
10639
+ ]
10640
+ },
10641
+ {
10642
+ "kind": "method",
10643
+ "name": "_renderIcon",
10644
+ "privacy": "private",
10645
+ "return": {
10646
+ "type": {
10647
+ "text": "TemplateResult"
10648
+ }
10649
+ },
10650
+ "parameters": [
10651
+ {
10652
+ "name": "item",
10653
+ "type": {
10654
+ "text": "TreeItem"
10655
+ }
10656
+ }
10657
+ ]
10658
+ },
10659
+ {
10660
+ "kind": "method",
10661
+ "name": "_renderArrow",
10662
+ "privacy": "private",
10663
+ "return": {
10664
+ "type": {
10665
+ "text": "TemplateResult"
10666
+ }
10667
+ },
10668
+ "parameters": [
10669
+ {
10670
+ "name": "item",
10671
+ "type": {
10672
+ "text": "TreeItem"
10673
+ }
10674
+ }
10675
+ ]
10676
+ },
10677
+ {
10678
+ "kind": "method",
10679
+ "name": "_renderActions",
10680
+ "privacy": "private",
10681
+ "return": {
10682
+ "type": {
10683
+ "text": "TemplateResult"
10684
+ }
10685
+ },
10686
+ "parameters": [
10687
+ {
10688
+ "name": "item",
10689
+ "type": {
10690
+ "text": "TreeItem"
10691
+ }
10692
+ }
10693
+ ]
10694
+ },
10695
+ {
10696
+ "kind": "method",
10697
+ "name": "_renderDecorations",
10698
+ "privacy": "private",
10699
+ "parameters": [
10700
+ {
10701
+ "name": "item",
10702
+ "type": {
10703
+ "text": "TreeItem"
10704
+ }
10705
+ }
10706
+ ]
10707
+ },
10708
+ {
10709
+ "kind": "method",
10710
+ "name": "_renderTreeItem",
10711
+ "privacy": "private",
10712
+ "parameters": [
10713
+ {
10714
+ "name": "item",
10715
+ "type": {
10716
+ "text": "TreeItem"
10717
+ }
10718
+ },
10719
+ {
10720
+ "name": "additionalOptions",
10721
+ "type": {
10722
+ "text": "{\n path: number[];\n itemType: ItemType;\n hasFocusedItem: boolean;\n hasSelectedItem: boolean;\n }"
10723
+ }
10724
+ }
10725
+ ]
10726
+ },
10727
+ {
10728
+ "kind": "method",
10729
+ "name": "_renderTree",
10730
+ "privacy": "private",
10731
+ "parameters": [
10732
+ {
10733
+ "name": "tree",
10734
+ "type": {
10735
+ "text": "TreeItem[]"
10736
+ }
10737
+ },
10738
+ {
10739
+ "name": "oldPath",
10740
+ "default": "[]",
10741
+ "type": {
10742
+ "text": "number[]"
10743
+ }
10744
+ }
10745
+ ]
10746
+ },
10747
+ {
10748
+ "kind": "method",
10749
+ "name": "_selectItem",
10750
+ "privacy": "private",
10751
+ "parameters": [
10752
+ {
10753
+ "name": "item",
10754
+ "type": {
10755
+ "text": "TreeItem"
10756
+ }
10757
+ }
10758
+ ]
10759
+ },
10760
+ {
10761
+ "kind": "method",
10762
+ "name": "_focusItem",
10763
+ "privacy": "private",
10764
+ "parameters": [
10765
+ {
10766
+ "name": "item",
10767
+ "type": {
10768
+ "text": "TreeItem"
10769
+ }
10770
+ }
10771
+ ]
10661
10772
  },
10662
10773
  {
10663
10774
  "kind": "method",
10664
- "name": "_setValidityFromInput",
10665
- "privacy": "private"
10775
+ "name": "_closeSubTreeRecursively",
10776
+ "privacy": "private",
10777
+ "parameters": [
10778
+ {
10779
+ "name": "tree",
10780
+ "type": {
10781
+ "text": "TreeItem[]"
10782
+ }
10783
+ }
10784
+ ]
10666
10785
  },
10667
10786
  {
10668
10787
  "kind": "method",
10669
- "name": "_onInput",
10788
+ "name": "_deselectItemsRecursively",
10670
10789
  "privacy": "private",
10671
10790
  "parameters": [
10672
10791
  {
10673
- "name": "ev",
10792
+ "name": "tree",
10674
10793
  "type": {
10675
- "text": "InputEvent"
10794
+ "text": "TreeItem[]"
10676
10795
  }
10677
10796
  }
10678
10797
  ]
10679
10798
  },
10680
10799
  {
10681
10800
  "kind": "method",
10682
- "name": "_onChange",
10801
+ "name": "_emitSelectEvent",
10683
10802
  "privacy": "private",
10684
10803
  "parameters": [
10685
10804
  {
10686
- "name": "ev",
10805
+ "name": "item",
10687
10806
  "type": {
10688
- "text": "Event"
10807
+ "text": "TreeItem"
10808
+ }
10809
+ },
10810
+ {
10811
+ "name": "path",
10812
+ "type": {
10813
+ "text": "string"
10689
10814
  }
10690
10815
  }
10691
10816
  ]
10692
10817
  },
10693
10818
  {
10694
10819
  "kind": "method",
10695
- "name": "_onFocus",
10820
+ "name": "_focusPrevItem",
10696
10821
  "privacy": "private"
10697
10822
  },
10698
10823
  {
10699
10824
  "kind": "method",
10700
- "name": "_onBlur",
10825
+ "name": "_focusNextItem",
10701
10826
  "privacy": "private"
10702
10827
  },
10703
10828
  {
10704
10829
  "kind": "method",
10705
- "name": "_onKeyDown",
10830
+ "name": "_handleClick",
10831
+ "privacy": "private",
10832
+ "parameters": [
10833
+ {
10834
+ "name": "event",
10835
+ "type": {
10836
+ "text": "MouseEvent"
10837
+ }
10838
+ }
10839
+ ]
10840
+ },
10841
+ {
10842
+ "kind": "method",
10843
+ "name": "_handleComponentKeyDown",
10706
10844
  "privacy": "private",
10707
10845
  "parameters": [
10708
10846
  {
@@ -10713,6 +10851,11 @@
10713
10851
  }
10714
10852
  ]
10715
10853
  },
10854
+ {
10855
+ "kind": "field",
10856
+ "name": "_handleComponentKeyDownBound",
10857
+ "privacy": "private"
10858
+ },
10716
10859
  {
10717
10860
  "kind": "field",
10718
10861
  "name": "_version",
@@ -10720,7 +10863,7 @@
10720
10863
  "text": "string"
10721
10864
  },
10722
10865
  "privacy": "private",
10723
- "default": "'1.6.0'",
10866
+ "default": "'1.6.2-pre.0'",
10724
10867
  "inheritedFrom": {
10725
10868
  "name": "VscElement",
10726
10869
  "module": "src/includes/VscElement.ts"
@@ -10739,235 +10882,108 @@
10739
10882
  ],
10740
10883
  "events": [
10741
10884
  {
10742
- "name": "vsc-input",
10885
+ "name": "vsc-run-action",
10743
10886
  "type": {
10744
10887
  "text": "CustomEvent"
10745
10888
  },
10746
- "deprecated": "true"
10889
+ "deprecated": "Renamed to `vsc-tree-action`",
10890
+ "description": "Dispatched when an action icon is clicked."
10747
10891
  },
10748
10892
  {
10749
- "name": "change",
10893
+ "name": "vsc-select",
10750
10894
  "type": {
10751
- "text": "Event"
10752
- }
10895
+ "text": "CustomEvent"
10896
+ },
10897
+ "deprecated": "Renamed to `vsc-tree-select`",
10898
+ "description": "Dispatched when an item is selected."
10753
10899
  },
10754
10900
  {
10755
- "name": "vsc-change",
10756
10901
  "type": {
10757
10902
  "text": "CustomEvent"
10758
10903
  },
10759
- "deprecated": "true"
10904
+ "description": "Dispatched when an item is selected.",
10905
+ "name": "vsc-tree-select"
10760
10906
  },
10761
10907
  {
10762
10908
  "type": {
10763
- "text": "InputEvent"
10909
+ "text": "VscTreeActionEvent"
10764
10910
  },
10765
- "name": "input"
10911
+ "description": "Dispatched when an action icon is clicked.",
10912
+ "name": "vsc-tree-action"
10766
10913
  }
10767
10914
  ],
10768
10915
  "attributes": [
10769
10916
  {
10770
- "name": "autocomplete",
10771
- "type": {
10772
- "text": "'on' | 'off' | undefined"
10773
- },
10774
- "default": "undefined",
10775
- "resolveInitializer": {
10776
- "module": "src/vscode-textfield/vscode-textfield.ts"
10777
- },
10778
- "fieldName": "autocomplete"
10779
- },
10780
- {
10781
- "name": "autofocus",
10782
- "type": {
10783
- "text": "boolean"
10784
- },
10785
- "default": "false",
10786
- "fieldName": "autofocus"
10787
- },
10788
- {
10789
- "name": "default-value",
10790
- "type": {
10791
- "text": "string"
10792
- },
10793
- "default": "''",
10794
- "fieldName": "defaultValue"
10795
- },
10796
- {
10797
- "name": "disabled",
10917
+ "name": "data",
10798
10918
  "type": {
10799
- "text": "boolean"
10919
+ "text": "TreeItem[]"
10800
10920
  },
10801
- "default": "false",
10802
- "fieldName": "disabled"
10921
+ "fieldName": "data"
10803
10922
  },
10804
10923
  {
10805
- "name": "focused",
10924
+ "name": "indent",
10806
10925
  "type": {
10807
- "text": "boolean"
10926
+ "text": "number"
10808
10927
  },
10809
- "default": "false",
10810
- "fieldName": "focused"
10928
+ "default": "8",
10929
+ "fieldName": "indent"
10811
10930
  },
10812
10931
  {
10813
- "name": "invalid",
10932
+ "name": "arrows",
10814
10933
  "type": {
10815
10934
  "text": "boolean"
10816
10935
  },
10817
10936
  "default": "false",
10818
- "fieldName": "invalid"
10819
- },
10820
- {
10821
- "name": "max",
10822
- "type": {
10823
- "text": "number | undefined"
10824
- },
10825
- "default": "undefined",
10826
- "resolveInitializer": {
10827
- "module": "src/vscode-textfield/vscode-textfield.ts"
10828
- },
10829
- "fieldName": "max"
10830
- },
10831
- {
10832
- "name": "maxLength",
10833
- "type": {
10834
- "text": "number | undefined"
10835
- },
10836
- "default": "undefined",
10837
- "resolveInitializer": {
10838
- "module": "src/vscode-textfield/vscode-textfield.ts"
10839
- },
10840
- "fieldName": "maxLength"
10841
- },
10842
- {
10843
- "name": "min",
10844
- "type": {
10845
- "text": "number | undefined"
10846
- },
10847
- "default": "undefined",
10848
- "resolveInitializer": {
10849
- "module": "src/vscode-textfield/vscode-textfield.ts"
10850
- },
10851
- "fieldName": "min"
10852
- },
10853
- {
10854
- "name": "minLength",
10855
- "type": {
10856
- "text": "number | undefined"
10857
- },
10858
- "default": "undefined",
10859
- "resolveInitializer": {
10860
- "module": "src/vscode-textfield/vscode-textfield.ts"
10861
- },
10862
- "fieldName": "minLength"
10937
+ "fieldName": "arrows"
10863
10938
  },
10864
10939
  {
10865
- "name": "multiple",
10940
+ "name": "multiline",
10866
10941
  "type": {
10867
10942
  "text": "boolean"
10868
10943
  },
10869
10944
  "default": "false",
10870
- "fieldName": "multiple"
10871
- },
10872
- {
10873
- "name": "name",
10874
- "type": {
10875
- "text": "string | undefined"
10876
- },
10877
- "default": "undefined",
10878
- "resolveInitializer": {
10879
- "module": "src/vscode-textfield/vscode-textfield.ts"
10880
- },
10881
- "fieldName": "name"
10882
- },
10883
- {
10884
- "name": "pattern",
10885
- "type": {
10886
- "text": "string | undefined"
10887
- },
10888
- "default": "undefined",
10889
- "resolveInitializer": {
10890
- "module": "src/vscode-textfield/vscode-textfield.ts"
10891
- },
10892
- "fieldName": "pattern"
10893
- },
10894
- {
10895
- "name": "placeholder",
10896
- "type": {
10897
- "text": "string | undefined"
10898
- },
10899
- "default": "undefined",
10900
- "resolveInitializer": {
10901
- "module": "src/vscode-textfield/vscode-textfield.ts"
10902
- },
10903
- "fieldName": "placeholder"
10945
+ "fieldName": "multiline"
10904
10946
  },
10905
10947
  {
10906
- "name": "readonly",
10948
+ "name": "tabindex",
10907
10949
  "type": {
10908
- "text": "boolean"
10950
+ "text": "number"
10909
10951
  },
10910
- "default": "false",
10911
- "fieldName": "readonly"
10952
+ "default": "0",
10953
+ "fieldName": "tabindex"
10912
10954
  },
10913
10955
  {
10914
- "name": "required",
10956
+ "name": "indent-guides",
10915
10957
  "type": {
10916
10958
  "text": "boolean"
10917
10959
  },
10918
10960
  "default": "false",
10919
- "fieldName": "required"
10920
- },
10921
- {
10922
- "name": "step",
10923
- "type": {
10924
- "text": "number | undefined"
10925
- },
10926
- "default": "undefined",
10927
- "resolveInitializer": {
10928
- "module": "src/vscode-textfield/vscode-textfield.ts"
10929
- },
10930
- "fieldName": "step"
10931
- },
10932
- {
10933
- "name": "type",
10934
- "description": "Same as the `type` of the native `<input>` element but only a subset of types are supported.\nThe supported ones are: `color`,`date`,`datetime-local`,`email`,`file`,`month`,`number`,`password`,`search`,`tel`,`text`,`time`,`url`,`week`",
10935
- "type": {
10936
- "text": "InputType"
10937
- },
10938
- "fieldName": "type"
10939
- },
10940
- {
10941
- "name": "value",
10942
- "type": {
10943
- "text": "string"
10944
- },
10945
- "fieldName": "value"
10961
+ "fieldName": "indentGuides"
10946
10962
  }
10947
10963
  ],
10948
10964
  "superclass": {
10949
10965
  "name": "VscElement",
10950
10966
  "module": "/src/includes/VscElement.js"
10951
10967
  },
10952
- "tagName": "vscode-textfield",
10968
+ "tagName": "vscode-tree",
10953
10969
  "customElement": true
10954
10970
  }
10955
10971
  ],
10956
10972
  "exports": [
10957
10973
  {
10958
10974
  "kind": "js",
10959
- "name": "VscodeTextfield",
10975
+ "name": "VscodeTree",
10960
10976
  "declaration": {
10961
- "name": "VscodeTextfield",
10962
- "module": "src/vscode-textfield/vscode-textfield.ts"
10977
+ "name": "VscodeTree",
10978
+ "module": "src/vscode-tree/vscode-tree.ts"
10963
10979
  }
10964
10980
  },
10965
10981
  {
10966
10982
  "kind": "custom-element-definition",
10967
- "name": "vscode-textfield",
10983
+ "name": "vscode-tree",
10968
10984
  "declaration": {
10969
- "name": "VscodeTextfield",
10970
- "module": "src/vscode-textfield/vscode-textfield.ts"
10985
+ "name": "VscodeTree",
10986
+ "module": "src/vscode-tree/vscode-tree.ts"
10971
10987
  }
10972
10988
  }
10973
10989
  ]
@@ -11017,7 +11033,7 @@
11017
11033
  "text": "string"
11018
11034
  },
11019
11035
  "privacy": "private",
11020
- "default": "'1.6.0'",
11036
+ "default": "'1.6.2-pre.0'",
11021
11037
  "inheritedFrom": {
11022
11038
  "name": "VscElement",
11023
11039
  "module": "src/includes/VscElement.ts"
@@ -11998,7 +12014,7 @@
11998
12014
  "text": "string"
11999
12015
  },
12000
12016
  "privacy": "private",
12001
- "default": "'1.6.0'",
12017
+ "default": "'1.6.2-pre.0'",
12002
12018
  "inheritedFrom": {
12003
12019
  "name": "VscElement",
12004
12020
  "module": "src/includes/VscElement.ts"