@vscode-elements/elements 1.7.1 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/custom-elements.json +386 -79
  2. package/dist/bundled.js +102 -84
  3. package/dist/includes/VscElement.js +1 -1
  4. package/dist/includes/VscElement.js.map +1 -1
  5. package/dist/includes/test-helpers.d.ts +32 -0
  6. package/dist/includes/test-helpers.d.ts.map +1 -0
  7. package/dist/includes/test-helpers.js +76 -0
  8. package/dist/includes/test-helpers.js.map +1 -0
  9. package/dist/includes/vscode-select/styles.d.ts.map +1 -1
  10. package/dist/includes/vscode-select/styles.js +7 -9
  11. package/dist/includes/vscode-select/styles.js.map +1 -1
  12. package/dist/includes/vscode-select/vscode-select-base.d.ts +2 -2
  13. package/dist/includes/vscode-select/vscode-select-base.d.ts.map +1 -1
  14. package/dist/includes/vscode-select/vscode-select-base.js +2 -2
  15. package/dist/includes/vscode-select/vscode-select-base.js.map +1 -1
  16. package/dist/vscode-context-menu/vscode-context-menu.d.ts +1 -1
  17. package/dist/vscode-context-menu/vscode-context-menu.d.ts.map +1 -1
  18. package/dist/vscode-context-menu/vscode-context-menu.js +1 -1
  19. package/dist/vscode-context-menu/vscode-context-menu.js.map +1 -1
  20. package/dist/vscode-divider/vscode-divider.d.ts +1 -1
  21. package/dist/vscode-divider/vscode-divider.d.ts.map +1 -1
  22. package/dist/vscode-divider/vscode-divider.js +2 -2
  23. package/dist/vscode-divider/vscode-divider.js.map +1 -1
  24. package/dist/vscode-multi-select/vscode-multi-select.js +1 -1
  25. package/dist/vscode-multi-select/vscode-multi-select.js.map +1 -1
  26. package/dist/vscode-progress-ring/vscode-progress-ring.d.ts +1 -1
  27. package/dist/vscode-progress-ring/vscode-progress-ring.d.ts.map +1 -1
  28. package/dist/vscode-progress-ring/vscode-progress-ring.js +2 -2
  29. package/dist/vscode-progress-ring/vscode-progress-ring.js.map +1 -1
  30. package/dist/vscode-single-select/vscode-single-select.d.ts +0 -1
  31. package/dist/vscode-single-select/vscode-single-select.d.ts.map +1 -1
  32. package/dist/vscode-single-select/vscode-single-select.js +1 -5
  33. package/dist/vscode-single-select/vscode-single-select.js.map +1 -1
  34. package/dist/vscode-split-layout/vscode-split-layout.d.ts +64 -10
  35. package/dist/vscode-split-layout/vscode-split-layout.d.ts.map +1 -1
  36. package/dist/vscode-split-layout/vscode-split-layout.js +237 -107
  37. package/dist/vscode-split-layout/vscode-split-layout.js.map +1 -1
  38. package/dist/vscode-split-layout/vscode-split-layout.styles.d.ts.map +1 -1
  39. package/dist/vscode-split-layout/vscode-split-layout.styles.js +29 -11
  40. package/dist/vscode-split-layout/vscode-split-layout.styles.js.map +1 -1
  41. package/dist/vscode-tab-header/vscode-tab-header.styles.js +1 -1
  42. package/dist/vscode-tab-header/vscode-tab-header.styles.js.map +1 -1
  43. package/dist/vscode-table/vscode-table.d.ts +1 -1
  44. package/dist/vscode-table/vscode-table.d.ts.map +1 -1
  45. package/dist/vscode-table/vscode-table.js +1 -1
  46. package/dist/vscode-table/vscode-table.js.map +1 -1
  47. package/dist/vscode-textfield/vscode-textfield.d.ts +15 -0
  48. package/dist/vscode-textfield/vscode-textfield.d.ts.map +1 -1
  49. package/dist/vscode-textfield/vscode-textfield.js +15 -0
  50. package/dist/vscode-textfield/vscode-textfield.js.map +1 -1
  51. package/package.json +1 -1
  52. package/vscode.html-custom-data.json +35 -8
@@ -24,7 +24,7 @@
24
24
  "text": "string"
25
25
  },
26
26
  "privacy": "private",
27
- "default": "'1.7.1'"
27
+ "default": "'1.8.0'"
28
28
  },
29
29
  {
30
30
  "kind": "field",
@@ -115,6 +115,127 @@
115
115
  }
116
116
  ]
117
117
  },
118
+ {
119
+ "kind": "javascript-module",
120
+ "path": "src/includes/test-helpers.ts",
121
+ "declarations": [
122
+ {
123
+ "kind": "function",
124
+ "name": "clickOnElement",
125
+ "parameters": [
126
+ {
127
+ "name": "el",
128
+ "type": {
129
+ "text": "Element"
130
+ }
131
+ },
132
+ {
133
+ "name": "position",
134
+ "default": "'center'",
135
+ "type": {
136
+ "text": "'top' | 'right' | 'bottom' | 'left' | 'center'"
137
+ }
138
+ },
139
+ {
140
+ "name": "offsetX",
141
+ "default": "0"
142
+ },
143
+ {
144
+ "name": "offsetY",
145
+ "default": "0"
146
+ }
147
+ ],
148
+ "description": "A testing utility that measures an element's position and clicks on it."
149
+ },
150
+ {
151
+ "kind": "function",
152
+ "name": "moveMouseOnElement",
153
+ "parameters": [
154
+ {
155
+ "name": "el",
156
+ "type": {
157
+ "text": "Element"
158
+ }
159
+ },
160
+ {
161
+ "name": "position",
162
+ "default": "'center'",
163
+ "type": {
164
+ "text": "'top' | 'right' | 'bottom' | 'left' | 'center'"
165
+ }
166
+ },
167
+ {
168
+ "name": "offsetX",
169
+ "default": "0"
170
+ },
171
+ {
172
+ "name": "offsetY",
173
+ "default": "0"
174
+ }
175
+ ],
176
+ "description": "A testing utility that moves the mouse onto an element."
177
+ },
178
+ {
179
+ "kind": "function",
180
+ "name": "dragElement",
181
+ "return": {
182
+ "type": {
183
+ "text": "Promise<void>"
184
+ }
185
+ },
186
+ "parameters": [
187
+ {
188
+ "name": "el",
189
+ "type": {
190
+ "text": "Element"
191
+ }
192
+ },
193
+ {
194
+ "name": "deltaX",
195
+ "default": "0"
196
+ },
197
+ {
198
+ "name": "deltaY",
199
+ "default": "0"
200
+ },
201
+ {
202
+ "name": "callbacks",
203
+ "default": "{}",
204
+ "type": {
205
+ "text": "{\n afterMouseDown?: () => void | Promise<void>;\n afterMouseMove?: () => void | Promise<void>;\n }"
206
+ }
207
+ }
208
+ ],
209
+ "description": "A testing utility that drags an element with the mouse."
210
+ }
211
+ ],
212
+ "exports": [
213
+ {
214
+ "kind": "js",
215
+ "name": "clickOnElement",
216
+ "declaration": {
217
+ "name": "clickOnElement",
218
+ "module": "src/includes/test-helpers.ts"
219
+ }
220
+ },
221
+ {
222
+ "kind": "js",
223
+ "name": "moveMouseOnElement",
224
+ "declaration": {
225
+ "name": "moveMouseOnElement",
226
+ "module": "src/includes/test-helpers.ts"
227
+ }
228
+ },
229
+ {
230
+ "kind": "js",
231
+ "name": "dragElement",
232
+ "declaration": {
233
+ "name": "dragElement",
234
+ "module": "src/includes/test-helpers.ts"
235
+ }
236
+ }
237
+ ]
238
+ },
118
239
  {
119
240
  "kind": "javascript-module",
120
241
  "path": "src/includes/themeHelpers.ts",
@@ -294,7 +415,7 @@
294
415
  "text": "string"
295
416
  },
296
417
  "privacy": "private",
297
- "default": "'1.7.1'",
418
+ "default": "'1.8.0'",
298
419
  "inheritedFrom": {
299
420
  "name": "VscElement",
300
421
  "module": "src/includes/VscElement.ts"
@@ -622,7 +743,7 @@
622
743
  "text": "string"
623
744
  },
624
745
  "privacy": "private",
625
- "default": "'1.7.1'",
746
+ "default": "'1.8.0'",
626
747
  "inheritedFrom": {
627
748
  "name": "VscElement",
628
749
  "module": "src/includes/VscElement.ts"
@@ -1160,7 +1281,7 @@
1160
1281
  "text": "string"
1161
1282
  },
1162
1283
  "privacy": "private",
1163
- "default": "'1.7.1'",
1284
+ "default": "'1.8.0'",
1164
1285
  "inheritedFrom": {
1165
1286
  "name": "VscElement",
1166
1287
  "module": "src/includes/VscElement.ts"
@@ -1378,7 +1499,7 @@
1378
1499
  "text": "string"
1379
1500
  },
1380
1501
  "privacy": "private",
1381
- "default": "'1.7.1'",
1502
+ "default": "'1.8.0'",
1382
1503
  "inheritedFrom": {
1383
1504
  "name": "VscElement",
1384
1505
  "module": "src/includes/VscElement.ts"
@@ -1571,7 +1692,7 @@
1571
1692
  "text": "string"
1572
1693
  },
1573
1694
  "privacy": "private",
1574
- "default": "'1.7.1'",
1695
+ "default": "'1.8.0'",
1575
1696
  "inheritedFrom": {
1576
1697
  "name": "VscElement",
1577
1698
  "module": "src/includes/VscElement.ts"
@@ -1883,7 +2004,7 @@
1883
2004
  "text": "string"
1884
2005
  },
1885
2006
  "privacy": "private",
1886
- "default": "'1.7.1'",
2007
+ "default": "'1.8.0'",
1887
2008
  "inheritedFrom": {
1888
2009
  "name": "VscElement",
1889
2010
  "module": "src/includes/VscElement.ts"
@@ -2073,7 +2194,7 @@
2073
2194
  "text": "string"
2074
2195
  },
2075
2196
  "privacy": "private",
2076
- "default": "'1.7.1'",
2197
+ "default": "'1.8.0'",
2077
2198
  "inheritedFrom": {
2078
2199
  "name": "VscElement",
2079
2200
  "module": "src/includes/VscElement.ts"
@@ -2209,7 +2330,7 @@
2209
2330
  "text": "string"
2210
2331
  },
2211
2332
  "privacy": "private",
2212
- "default": "'1.7.1'",
2333
+ "default": "'1.8.0'",
2213
2334
  "inheritedFrom": {
2214
2335
  "name": "VscElement",
2215
2336
  "module": "src/includes/VscElement.ts"
@@ -2238,7 +2359,7 @@
2238
2359
  ],
2239
2360
  "superclass": {
2240
2361
  "name": "VscElement",
2241
- "module": "/src/includes/VscElement"
2362
+ "module": "/src/includes/VscElement.js"
2242
2363
  },
2243
2364
  "tagName": "vscode-divider",
2244
2365
  "customElement": true
@@ -2427,7 +2548,7 @@
2427
2548
  "text": "string"
2428
2549
  },
2429
2550
  "privacy": "private",
2430
- "default": "'1.7.1'",
2551
+ "default": "'1.8.0'",
2431
2552
  "inheritedFrom": {
2432
2553
  "name": "VscElement",
2433
2554
  "module": "src/includes/VscElement.ts"
@@ -2559,7 +2680,7 @@
2559
2680
  "text": "string"
2560
2681
  },
2561
2682
  "privacy": "private",
2562
- "default": "'1.7.1'",
2683
+ "default": "'1.8.0'",
2563
2684
  "inheritedFrom": {
2564
2685
  "name": "VscElement",
2565
2686
  "module": "src/includes/VscElement.ts"
@@ -2659,7 +2780,7 @@
2659
2780
  "text": "string"
2660
2781
  },
2661
2782
  "privacy": "private",
2662
- "default": "'1.7.1'",
2783
+ "default": "'1.8.0'",
2663
2784
  "inheritedFrom": {
2664
2785
  "name": "VscElement",
2665
2786
  "module": "src/includes/VscElement.ts"
@@ -2857,7 +2978,7 @@
2857
2978
  "text": "string"
2858
2979
  },
2859
2980
  "privacy": "private",
2860
- "default": "'1.7.1'",
2981
+ "default": "'1.8.0'",
2861
2982
  "inheritedFrom": {
2862
2983
  "name": "VscElement",
2863
2984
  "module": "src/includes/VscElement.ts"
@@ -3077,7 +3198,7 @@
3077
3198
  "text": "string"
3078
3199
  },
3079
3200
  "privacy": "private",
3080
- "default": "'1.7.1'",
3201
+ "default": "'1.8.0'",
3081
3202
  "inheritedFrom": {
3082
3203
  "name": "VscElement",
3083
3204
  "module": "src/includes/VscElement.ts"
@@ -4162,7 +4283,7 @@
4162
4283
  "text": "string"
4163
4284
  },
4164
4285
  "privacy": "private",
4165
- "default": "'1.7.1'",
4286
+ "default": "'1.8.0'",
4166
4287
  "inheritedFrom": {
4167
4288
  "name": "VscElement",
4168
4289
  "module": "src/includes/VscElement.ts"
@@ -4418,7 +4539,7 @@
4418
4539
  "text": "string"
4419
4540
  },
4420
4541
  "privacy": "private",
4421
- "default": "'1.7.1'",
4542
+ "default": "'1.8.0'",
4422
4543
  "inheritedFrom": {
4423
4544
  "name": "VscElement",
4424
4545
  "module": "src/includes/VscElement.ts"
@@ -4566,7 +4687,7 @@
4566
4687
  "text": "string"
4567
4688
  },
4568
4689
  "privacy": "private",
4569
- "default": "'1.7.1'",
4690
+ "default": "'1.8.0'",
4570
4691
  "inheritedFrom": {
4571
4692
  "name": "VscElement",
4572
4693
  "module": "src/includes/VscElement.ts"
@@ -4611,7 +4732,7 @@
4611
4732
  ],
4612
4733
  "superclass": {
4613
4734
  "name": "VscElement",
4614
- "module": "/src/includes/VscElement"
4735
+ "module": "/src/includes/VscElement.js"
4615
4736
  },
4616
4737
  "tagName": "vscode-progress-ring",
4617
4738
  "customElement": true
@@ -5033,7 +5154,7 @@
5033
5154
  "text": "string"
5034
5155
  },
5035
5156
  "privacy": "private",
5036
- "default": "'1.7.1'",
5157
+ "default": "'1.8.0'",
5037
5158
  "inheritedFrom": {
5038
5159
  "name": "VscElement",
5039
5160
  "module": "src/includes/VscElement.ts"
@@ -5352,7 +5473,7 @@
5352
5473
  "text": "string"
5353
5474
  },
5354
5475
  "privacy": "private",
5355
- "default": "'1.7.1'",
5476
+ "default": "'1.8.0'",
5356
5477
  "inheritedFrom": {
5357
5478
  "name": "VscElement",
5358
5479
  "module": "src/includes/VscElement.ts"
@@ -5743,7 +5864,7 @@
5743
5864
  "text": "string"
5744
5865
  },
5745
5866
  "privacy": "private",
5746
- "default": "'1.7.1'",
5867
+ "default": "'1.8.0'",
5747
5868
  "inheritedFrom": {
5748
5869
  "name": "VscElement",
5749
5870
  "module": "src/includes/VscElement.ts"
@@ -6111,11 +6232,6 @@
6111
6232
  "name": "_manageRequired",
6112
6233
  "privacy": "private"
6113
6234
  },
6114
- {
6115
- "kind": "method",
6116
- "name": "_renderLabel",
6117
- "privacy": "private"
6118
- },
6119
6235
  {
6120
6236
  "kind": "method",
6121
6237
  "name": "_renderSelectFace",
@@ -6803,7 +6919,7 @@
6803
6919
  "text": "string"
6804
6920
  },
6805
6921
  "privacy": "private",
6806
- "default": "'1.7.1'",
6922
+ "default": "'1.8.0'",
6807
6923
  "inheritedFrom": {
6808
6924
  "name": "VscElement",
6809
6925
  "module": "src/includes/VscElement.ts"
@@ -7007,7 +7123,7 @@
7007
7123
  "type": {
7008
7124
  "text": "CSSResultGroup"
7009
7125
  },
7010
- "default": "[ defaultStyles, css` :host { --separator-border: var(--vscode-editorWidget-border, transparent); border: 1px solid var(--vscode-editorWidget-border); display: block; overflow: hidden; position: relative; } ::slotted(*) { height: 100%; width: 100%; } ::slotted(vscode-split-layout) { border: 0; } .start { box-sizing: border-box; left: 0; top: 0; overflow: hidden; position: absolute; } :host([split='vertical']) .start { border-right: 1px solid var(--separator-border); } :host([split='horizontal']) .start { border-bottom: 1px solid var(--separator-border); } .end { bottom: 0; box-sizing: border-box; overflow: hidden; position: absolute; right: 0; } .handle-overlay { display: none; height: 100%; left: 0; position: absolute; top: 0; width: 100%; z-index: 1; } .handle-overlay.active { display: block; } .handle-overlay.split-vertical { cursor: ew-resize; } .handle-overlay.split-horizontal { cursor: ns-resize; } .handle { position: absolute; z-index: 2; } .handle.hover { background-color: var(--vscode-sash-hoverBorder); transition: background-color 100ms linear 300ms; } .handle.hide { background-color: transparent; transition: background-color 100ms linear; } .handle.split-vertical { cursor: ew-resize; height: 100%; } .handle.split-horizontal { cursor: ns-resize; width: 100%; } `, ]"
7126
+ "default": "[ defaultStyles, css` :host { --separator-border: var(--vscode-editorWidget-border, transparent); border: 1px solid var(--vscode-editorWidget-border); display: block; overflow: hidden; position: relative; } ::slotted(*) { height: 100%; width: 100%; } ::slotted(vscode-split-layout) { border: 0; } .wrapper { display: flex; height: 100%; width: 100%; } .wrapper.horizontal { flex-direction: column; } .start { box-sizing: border-box; flex: 1; min-height: 0; min-width: 0; } :host([split='vertical']) .start { border-right: 1px solid var(--separator-border); } :host([split='horizontal']) .start { border-bottom: 1px solid var(--separator-border); } .end { flex: 1; min-height: 0; min-width: 0; } :host([split='vertical']) .start, :host([split='vertical']) .end { height: 100%; } :host([split='horizontal']) .start, :host([split='horizontal']) .end { width: 100%; } .handle-overlay { display: none; height: 100%; left: 0; position: absolute; top: 0; width: 100%; z-index: 1; } .handle-overlay.active { display: block; } .handle-overlay.split-vertical { cursor: ew-resize; } .handle-overlay.split-horizontal { cursor: ns-resize; } .handle { background-color: transparent; position: absolute; z-index: 2; } .handle.hover { transition: background-color 0.1s ease-out 0.3s; background-color: var(--vscode-sash-hoverBorder); } .handle.hide { background-color: transparent; transition: background-color 0.1s ease-out; } .handle.split-vertical { cursor: ew-resize; height: 100%; } .handle.split-horizontal { cursor: ns-resize; width: 100%; } `, ]"
7011
7127
  }
7012
7128
  ],
7013
7129
  "exports": [
@@ -7025,6 +7141,59 @@
7025
7141
  "kind": "javascript-module",
7026
7142
  "path": "src/vscode-split-layout/vscode-split-layout.ts",
7027
7143
  "declarations": [
7144
+ {
7145
+ "kind": "function",
7146
+ "name": "parseValue",
7147
+ "return": {
7148
+ "type": {
7149
+ "text": "{value: number; unit: PositionUnit}"
7150
+ }
7151
+ },
7152
+ "parameters": [
7153
+ {
7154
+ "name": "raw",
7155
+ "type": {
7156
+ "text": "string"
7157
+ }
7158
+ }
7159
+ ]
7160
+ },
7161
+ {
7162
+ "kind": "function",
7163
+ "name": "pxToPercent",
7164
+ "parameters": [
7165
+ {
7166
+ "name": "current",
7167
+ "type": {
7168
+ "text": "number"
7169
+ }
7170
+ },
7171
+ {
7172
+ "name": "max",
7173
+ "type": {
7174
+ "text": "number"
7175
+ }
7176
+ }
7177
+ ]
7178
+ },
7179
+ {
7180
+ "kind": "function",
7181
+ "name": "percentToPx",
7182
+ "parameters": [
7183
+ {
7184
+ "name": "current",
7185
+ "type": {
7186
+ "text": "number"
7187
+ }
7188
+ },
7189
+ {
7190
+ "name": "max",
7191
+ "type": {
7192
+ "text": "number"
7193
+ }
7194
+ }
7195
+ ]
7196
+ },
7028
7197
  {
7029
7198
  "kind": "class",
7030
7199
  "description": "",
@@ -7039,13 +7208,22 @@
7039
7208
  {
7040
7209
  "kind": "field",
7041
7210
  "name": "split",
7211
+ "description": "Direction of the divider.",
7042
7212
  "type": {
7043
- "text": "'horizontal' | 'vertical'"
7213
+ "text": "Orientation"
7044
7214
  },
7045
- "default": "'vertical'",
7046
7215
  "attribute": "split",
7047
7216
  "reflects": true
7048
7217
  },
7218
+ {
7219
+ "kind": "field",
7220
+ "name": "_split",
7221
+ "type": {
7222
+ "text": "Orientation"
7223
+ },
7224
+ "privacy": "private",
7225
+ "default": "'vertical'"
7226
+ },
7049
7227
  {
7050
7228
  "kind": "field",
7051
7229
  "name": "resetOnDblClick",
@@ -7053,6 +7231,7 @@
7053
7231
  "text": "boolean"
7054
7232
  },
7055
7233
  "default": "false",
7234
+ "description": "Controls whether the handle position should reset to the value set in the\n`initialHandlePosition` when it is double-clicked.",
7056
7235
  "attribute": "reset-on-dbl-click",
7057
7236
  "reflects": true
7058
7237
  },
@@ -7063,7 +7242,7 @@
7063
7242
  "text": "number"
7064
7243
  },
7065
7244
  "default": "4",
7066
- "description": "Controls the draggable area size in pixels. it is recommended to use the value of `workbench.sash.size`.",
7245
+ "description": "Controls the draggable area size in pixels. it is intended to use the value\nof `workbench.sash.size`.",
7067
7246
  "attribute": "handle-size",
7068
7247
  "reflects": true
7069
7248
  },
@@ -7074,57 +7253,48 @@
7074
7253
  "text": "string"
7075
7254
  },
7076
7255
  "default": "'50%'",
7256
+ "description": "The handler position will reset to this position when it is double-clicked,\nor the `resetHandlePosition()` is called.",
7077
7257
  "attribute": "initial-handle-position",
7078
7258
  "reflects": true
7079
7259
  },
7080
7260
  {
7081
7261
  "kind": "field",
7082
- "name": "_startPaneRight",
7083
- "type": {
7084
- "text": "number"
7085
- },
7086
- "privacy": "private",
7087
- "default": "0"
7088
- },
7089
- {
7090
- "kind": "field",
7091
- "name": "_startPaneBottom",
7262
+ "name": "handlePosition",
7263
+ "description": "Set the handle position programmatically. The value must include a unit,\neither `%` or `px`. If no unit is specified, the value is interpreted as\n`px`.",
7092
7264
  "type": {
7093
- "text": "number"
7265
+ "text": "string | undefined"
7094
7266
  },
7095
- "privacy": "private",
7096
- "default": "0"
7267
+ "attribute": "handle-position"
7097
7268
  },
7098
7269
  {
7099
7270
  "kind": "field",
7100
- "name": "_endPaneTop",
7271
+ "name": "_rawHandlePosition",
7101
7272
  "type": {
7102
- "text": "number"
7273
+ "text": "string | undefined"
7103
7274
  },
7104
- "privacy": "private",
7105
- "default": "0"
7275
+ "privacy": "private"
7106
7276
  },
7107
7277
  {
7108
7278
  "kind": "field",
7109
- "name": "_endPaneLeft",
7279
+ "name": "fixedPane",
7280
+ "description": "The size of the fixed pane will not change when the component is resized.",
7110
7281
  "type": {
7111
- "text": "number"
7282
+ "text": "FixedPaneType"
7112
7283
  },
7113
- "privacy": "private",
7114
- "default": "0"
7284
+ "attribute": "fixed-pane"
7115
7285
  },
7116
7286
  {
7117
7287
  "kind": "field",
7118
- "name": "_handleLeft",
7288
+ "name": "_fixedPane",
7119
7289
  "type": {
7120
- "text": "number"
7290
+ "text": "FixedPaneType"
7121
7291
  },
7122
7292
  "privacy": "private",
7123
- "default": "0"
7293
+ "default": "'none'"
7124
7294
  },
7125
7295
  {
7126
7296
  "kind": "field",
7127
- "name": "_handleTop",
7297
+ "name": "_handlePosition",
7128
7298
  "type": {
7129
7299
  "text": "number"
7130
7300
  },
@@ -7158,6 +7328,22 @@
7158
7328
  "privacy": "private",
7159
7329
  "default": "false"
7160
7330
  },
7331
+ {
7332
+ "kind": "field",
7333
+ "name": "_wrapperEl",
7334
+ "type": {
7335
+ "text": "HTMLDivElement"
7336
+ },
7337
+ "privacy": "private"
7338
+ },
7339
+ {
7340
+ "kind": "field",
7341
+ "name": "_handleEl",
7342
+ "type": {
7343
+ "text": "HTMLDivElement"
7344
+ },
7345
+ "privacy": "private"
7346
+ },
7161
7347
  {
7162
7348
  "kind": "field",
7163
7349
  "name": "_nestedLayoutsAtStart",
@@ -7192,11 +7378,80 @@
7192
7378
  "privacy": "private",
7193
7379
  "default": "0"
7194
7380
  },
7381
+ {
7382
+ "kind": "field",
7383
+ "name": "_resizeObserver",
7384
+ "type": {
7385
+ "text": "ResizeObserver"
7386
+ },
7387
+ "privacy": "private",
7388
+ "default": "new ResizeObserver(this._handleResize)"
7389
+ },
7390
+ {
7391
+ "kind": "field",
7392
+ "name": "_wrapperObserved",
7393
+ "type": {
7394
+ "text": "boolean"
7395
+ },
7396
+ "privacy": "private",
7397
+ "default": "false"
7398
+ },
7399
+ {
7400
+ "kind": "field",
7401
+ "name": "_fixedPaneSize",
7402
+ "type": {
7403
+ "text": "number"
7404
+ },
7405
+ "privacy": "private",
7406
+ "default": "0"
7407
+ },
7408
+ {
7409
+ "kind": "method",
7410
+ "name": "resetHandlePosition",
7411
+ "description": "Sets the handle position to the value specified in the `initialHandlePosition` property."
7412
+ },
7195
7413
  {
7196
7414
  "kind": "method",
7197
- "name": "_initPosition",
7415
+ "name": "_handlePositionPropChanged",
7198
7416
  "privacy": "private"
7199
7417
  },
7418
+ {
7419
+ "kind": "method",
7420
+ "name": "_fixedPanePropChanged",
7421
+ "privacy": "private",
7422
+ "parameters": [
7423
+ {
7424
+ "name": "newVal",
7425
+ "type": {
7426
+ "text": "FixedPaneType"
7427
+ }
7428
+ }
7429
+ ]
7430
+ },
7431
+ {
7432
+ "kind": "field",
7433
+ "name": "_handleResize",
7434
+ "privacy": "private"
7435
+ },
7436
+ {
7437
+ "kind": "method",
7438
+ "name": "_setPosition",
7439
+ "privacy": "private",
7440
+ "parameters": [
7441
+ {
7442
+ "name": "value",
7443
+ "type": {
7444
+ "text": "number"
7445
+ }
7446
+ },
7447
+ {
7448
+ "name": "unit",
7449
+ "type": {
7450
+ "text": "PositionUnit"
7451
+ }
7452
+ }
7453
+ ]
7454
+ },
7200
7455
  {
7201
7456
  "kind": "method",
7202
7457
  "name": "_handleMouseOver",
@@ -7255,7 +7510,7 @@
7255
7510
  "text": "string"
7256
7511
  },
7257
7512
  "privacy": "private",
7258
- "default": "'1.7.1'",
7513
+ "default": "'1.8.0'",
7259
7514
  "inheritedFrom": {
7260
7515
  "name": "VscElement",
7261
7516
  "module": "src/includes/VscElement.ts"
@@ -7275,10 +7530,10 @@
7275
7530
  "attributes": [
7276
7531
  {
7277
7532
  "name": "split",
7533
+ "description": "Direction of the divider.",
7278
7534
  "type": {
7279
- "text": "'horizontal' | 'vertical'"
7535
+ "text": "Orientation"
7280
7536
  },
7281
- "default": "'vertical'",
7282
7537
  "fieldName": "split"
7283
7538
  },
7284
7539
  {
@@ -7287,6 +7542,7 @@
7287
7542
  "text": "boolean"
7288
7543
  },
7289
7544
  "default": "false",
7545
+ "description": "Controls whether the handle position should reset to the value set in the\n`initialHandlePosition` when it is double-clicked.",
7290
7546
  "fieldName": "resetOnDblClick"
7291
7547
  },
7292
7548
  {
@@ -7295,7 +7551,7 @@
7295
7551
  "text": "number"
7296
7552
  },
7297
7553
  "default": "4",
7298
- "description": "Controls the draggable area size in pixels. it is recommended to use the value of `workbench.sash.size`.",
7554
+ "description": "Controls the draggable area size in pixels. it is intended to use the value\nof `workbench.sash.size`.",
7299
7555
  "fieldName": "handleSize"
7300
7556
  },
7301
7557
  {
@@ -7303,8 +7559,25 @@
7303
7559
  "type": {
7304
7560
  "text": "string"
7305
7561
  },
7306
- "default": "'50%'",
7562
+ "default": "DEFAULT_INITIAL_POSITION",
7563
+ "description": "The handler position will reset to this position when it is double-clicked,\nor the `resetHandlePosition()` is called.",
7307
7564
  "fieldName": "initialHandlePosition"
7565
+ },
7566
+ {
7567
+ "name": "handle-position",
7568
+ "description": "Set the handle position programmatically. The value must include a unit,\neither `%` or `px`. If no unit is specified, the value is interpreted as\n`px`.",
7569
+ "type": {
7570
+ "text": "string | undefined"
7571
+ },
7572
+ "fieldName": "handlePosition"
7573
+ },
7574
+ {
7575
+ "name": "fixed-pane",
7576
+ "description": "The size of the fixed pane will not change when the component is resized.",
7577
+ "type": {
7578
+ "text": "FixedPaneType"
7579
+ },
7580
+ "fieldName": "fixedPane"
7308
7581
  }
7309
7582
  ],
7310
7583
  "superclass": {
@@ -7316,6 +7589,30 @@
7316
7589
  }
7317
7590
  ],
7318
7591
  "exports": [
7592
+ {
7593
+ "kind": "js",
7594
+ "name": "parseValue",
7595
+ "declaration": {
7596
+ "name": "parseValue",
7597
+ "module": "src/vscode-split-layout/vscode-split-layout.ts"
7598
+ }
7599
+ },
7600
+ {
7601
+ "kind": "js",
7602
+ "name": "pxToPercent",
7603
+ "declaration": {
7604
+ "name": "pxToPercent",
7605
+ "module": "src/vscode-split-layout/vscode-split-layout.ts"
7606
+ }
7607
+ },
7608
+ {
7609
+ "kind": "js",
7610
+ "name": "percentToPx",
7611
+ "declaration": {
7612
+ "name": "percentToPx",
7613
+ "module": "src/vscode-split-layout/vscode-split-layout.ts"
7614
+ }
7615
+ },
7319
7616
  {
7320
7617
  "kind": "js",
7321
7618
  "name": "VscodeSplitLayout",
@@ -7344,7 +7641,7 @@
7344
7641
  "type": {
7345
7642
  "text": "CSSResultGroup"
7346
7643
  },
7347
- "default": "[ defaultStyles, css` :host { border-bottom: 1px solid transparent; cursor: pointer; display: block; margin-bottom: -1px; overflow: hidden; padding: 7px 8px; text-overflow: ellipsis; user-select: none; white-space: nowrap; } :host([active]) { border-bottom-color: var(--vscode-panelTitle-activeForeground); color: var(--vscode-panelTitle-activeForeground); } :host([panel]) { border-bottom: 0; margin-bottom: 0; padding: 0; } :host(:focus-visible) { outline: none; } .wrapper { align-items: center; color: var(--vscode-foreground); display: flex; min-height: 20px; overflow: inherit; text-overflow: inherit; position: relative; } .wrapper.panel { color: var(--vscode-panelTitle-inactiveForeground); } .wrapper.panel.active, .wrapper.panel:hover { color: var(--vscode-panelTitle-inactiveForeground); } :host([panel]) .wrapper { display: flex; font-size: 11px; height: 31px; padding: 2px 10px; text-transform: uppercase; } .main { overflow: inherit; text-overflow: inherit; } .active-indicator { display: none; } .active-indicator.panel.active { border-top: 1px solid var(--vscode-panelTitle-activeBorder); bottom: 4px; display: block; left: 8px; pointer-events: none; position: absolute; right: 8px; } :host(:focus-visible) .wrapper { outline-color: var(--vscode-focusBorder); outline-offset: 3px; outline-style: solid; outline-width: 1px; } :host(:focus-visible) .wrapper.panel { outline-offset: -2px; } slot[name='content-before']::slotted(vscode-badge) { margin-right: 8px; } slot[name='content-after']::slotted(vscode-badge) { margin-left: 8px; } `, ]"
7644
+ "default": "[ defaultStyles, css` :host { border-bottom: 1px solid transparent; cursor: pointer; display: block; margin-bottom: -1px; overflow: hidden; padding: 7px 8px; text-overflow: ellipsis; user-select: none; white-space: nowrap; } :host([active]) { border-bottom-color: var(--vscode-panelTitle-activeForeground); color: var(--vscode-panelTitle-activeForeground); } :host([panel]) { border-bottom: 0; margin-bottom: 0; padding: 0; } :host(:focus-visible) { outline: none; } .wrapper { align-items: center; color: var(--vscode-foreground); display: flex; min-height: 20px; overflow: inherit; text-overflow: inherit; position: relative; } .wrapper.panel { color: var(--vscode-panelTitle-inactiveForeground); } .wrapper.panel.active, .wrapper.panel:hover { color: var(--vscode-panelTitle-activeForeground); } :host([panel]) .wrapper { display: flex; font-size: 11px; height: 31px; padding: 2px 10px; text-transform: uppercase; } .main { overflow: inherit; text-overflow: inherit; } .active-indicator { display: none; } .active-indicator.panel.active { border-top: 1px solid var(--vscode-panelTitle-activeBorder); bottom: 4px; display: block; left: 8px; pointer-events: none; position: absolute; right: 8px; } :host(:focus-visible) .wrapper { outline-color: var(--vscode-focusBorder); outline-offset: 3px; outline-style: solid; outline-width: 1px; } :host(:focus-visible) .wrapper.panel { outline-offset: -2px; } slot[name='content-before']::slotted(vscode-badge) { margin-right: 8px; } slot[name='content-after']::slotted(vscode-badge) { margin-left: 8px; } `, ]"
7348
7645
  }
7349
7646
  ],
7350
7647
  "exports": [
@@ -7415,7 +7712,7 @@
7415
7712
  "text": "string"
7416
7713
  },
7417
7714
  "privacy": "private",
7418
- "default": "'1.7.1'",
7715
+ "default": "'1.8.0'",
7419
7716
  "inheritedFrom": {
7420
7717
  "name": "VscElement",
7421
7718
  "module": "src/includes/VscElement.ts"
@@ -7547,7 +7844,7 @@
7547
7844
  "text": "string"
7548
7845
  },
7549
7846
  "privacy": "private",
7550
- "default": "'1.7.1'",
7847
+ "default": "'1.8.0'",
7551
7848
  "inheritedFrom": {
7552
7849
  "name": "VscElement",
7553
7850
  "module": "src/includes/VscElement.ts"
@@ -8237,7 +8534,7 @@
8237
8534
  "text": "string"
8238
8535
  },
8239
8536
  "privacy": "private",
8240
- "default": "'1.7.1'",
8537
+ "default": "'1.8.0'",
8241
8538
  "inheritedFrom": {
8242
8539
  "name": "VscElement",
8243
8540
  "module": "src/includes/VscElement.ts"
@@ -8421,7 +8718,7 @@
8421
8718
  "text": "string"
8422
8719
  },
8423
8720
  "privacy": "private",
8424
- "default": "'1.7.1'",
8721
+ "default": "'1.8.0'",
8425
8722
  "inheritedFrom": {
8426
8723
  "name": "VscElement",
8427
8724
  "module": "src/includes/VscElement.ts"
@@ -8540,7 +8837,7 @@
8540
8837
  "text": "string"
8541
8838
  },
8542
8839
  "privacy": "private",
8543
- "default": "'1.7.1'",
8840
+ "default": "'1.8.0'",
8544
8841
  "inheritedFrom": {
8545
8842
  "name": "VscElement",
8546
8843
  "module": "src/includes/VscElement.ts"
@@ -8650,7 +8947,7 @@
8650
8947
  "text": "string"
8651
8948
  },
8652
8949
  "privacy": "private",
8653
- "default": "'1.7.1'",
8950
+ "default": "'1.8.0'",
8654
8951
  "inheritedFrom": {
8655
8952
  "name": "VscElement",
8656
8953
  "module": "src/includes/VscElement.ts"
@@ -8745,7 +9042,7 @@
8745
9042
  "text": "string"
8746
9043
  },
8747
9044
  "privacy": "private",
8748
- "default": "'1.7.1'",
9045
+ "default": "'1.8.0'",
8749
9046
  "inheritedFrom": {
8750
9047
  "name": "VscElement",
8751
9048
  "module": "src/includes/VscElement.ts"
@@ -8834,7 +9131,7 @@
8834
9131
  "text": "string"
8835
9132
  },
8836
9133
  "privacy": "private",
8837
- "default": "'1.7.1'",
9134
+ "default": "'1.8.0'",
8838
9135
  "inheritedFrom": {
8839
9136
  "name": "VscElement",
8840
9137
  "module": "src/includes/VscElement.ts"
@@ -9083,7 +9380,7 @@
9083
9380
  "text": "string"
9084
9381
  },
9085
9382
  "privacy": "private",
9086
- "default": "'1.7.1'",
9383
+ "default": "'1.8.0'",
9087
9384
  "inheritedFrom": {
9088
9385
  "name": "VscElement",
9089
9386
  "module": "src/includes/VscElement.ts"
@@ -9591,7 +9888,7 @@
9591
9888
  "text": "string"
9592
9889
  },
9593
9890
  "privacy": "private",
9594
- "default": "'1.7.1'",
9891
+ "default": "'1.8.0'",
9595
9892
  "inheritedFrom": {
9596
9893
  "name": "VscElement",
9597
9894
  "module": "src/includes/VscElement.ts"
@@ -9934,6 +10231,7 @@
9934
10231
  "text": "boolean"
9935
10232
  },
9936
10233
  "default": "false",
10234
+ "description": "Set error styles on the component. This is only intended to apply styles when custom error\nvalidation is implemented. To check whether the component is valid, use the checkValidity method.",
9937
10235
  "attribute": "invalid",
9938
10236
  "reflects": true
9939
10237
  },
@@ -10000,6 +10298,7 @@
10000
10298
  "text": "string | undefined"
10001
10299
  },
10002
10300
  "default": "undefined",
10301
+ "description": "Specifies a regular expression the form control's value should match.\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/pattern)",
10003
10302
  "attribute": "pattern"
10004
10303
  },
10005
10304
  {
@@ -10102,7 +10401,13 @@
10102
10401
  },
10103
10402
  {
10104
10403
  "kind": "method",
10105
- "name": "checkValidity"
10404
+ "name": "checkValidity",
10405
+ "return": {
10406
+ "type": {
10407
+ "text": "boolean"
10408
+ }
10409
+ },
10410
+ "description": "Check the component's validity state when built-in validation is used.\nBuilt-in validation is triggered when any validation-related attribute is set. Validation-related\nattributes are: `max, maxlength, min, minlength, pattern, required, step`.\nSee this [the MDN reference](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checkValidity) for more details."
10106
10411
  },
10107
10412
  {
10108
10413
  "kind": "method",
@@ -10216,7 +10521,7 @@
10216
10521
  "text": "string"
10217
10522
  },
10218
10523
  "privacy": "private",
10219
- "default": "'1.7.1'",
10524
+ "default": "'1.8.0'",
10220
10525
  "inheritedFrom": {
10221
10526
  "name": "VscElement",
10222
10527
  "module": "src/includes/VscElement.ts"
@@ -10308,6 +10613,7 @@
10308
10613
  "text": "boolean"
10309
10614
  },
10310
10615
  "default": "false",
10616
+ "description": "Set error styles on the component. This is only intended to apply styles when custom error\nvalidation is implemented. To check whether the component is valid, use the checkValidity method.",
10311
10617
  "fieldName": "invalid"
10312
10618
  },
10313
10619
  {
@@ -10364,6 +10670,7 @@
10364
10670
  "text": "string | undefined"
10365
10671
  },
10366
10672
  "default": "undefined",
10673
+ "description": "Specifies a regular expression the form control's value should match.\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/pattern)",
10367
10674
  "fieldName": "pattern"
10368
10675
  },
10369
10676
  {
@@ -10952,7 +11259,7 @@
10952
11259
  "text": "string"
10953
11260
  },
10954
11261
  "privacy": "private",
10955
- "default": "'1.7.1'",
11262
+ "default": "'1.8.0'",
10956
11263
  "inheritedFrom": {
10957
11264
  "name": "VscElement",
10958
11265
  "module": "src/includes/VscElement.ts"
@@ -11122,7 +11429,7 @@
11122
11429
  "text": "string"
11123
11430
  },
11124
11431
  "privacy": "private",
11125
- "default": "'1.7.1'",
11432
+ "default": "'1.8.0'",
11126
11433
  "inheritedFrom": {
11127
11434
  "name": "VscElement",
11128
11435
  "module": "src/includes/VscElement.ts"
@@ -12091,7 +12398,7 @@
12091
12398
  "text": "string"
12092
12399
  },
12093
12400
  "privacy": "private",
12094
- "default": "'1.7.1'",
12401
+ "default": "'1.8.0'",
12095
12402
  "inheritedFrom": {
12096
12403
  "name": "VscElement",
12097
12404
  "module": "src/includes/VscElement.ts"