@vscode-elements/elements 1.13.2-pre.1 → 1.14.1-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.
Files changed (99) hide show
  1. package/custom-elements.json +999 -647
  2. package/dist/bundled.js +292 -187
  3. package/dist/includes/VscElement.d.ts.map +1 -1
  4. package/dist/includes/VscElement.js +1 -1
  5. package/dist/includes/VscElement.js.map +1 -1
  6. package/dist/includes/form-button-widget/LabelledCheckboxOrRadio.d.ts.map +1 -1
  7. package/dist/includes/uniqueId.d.ts.map +1 -1
  8. package/dist/includes/vscode-select/helpers.d.ts.map +1 -1
  9. package/dist/includes/vscode-select/styles.js +48 -48
  10. package/dist/includes/vscode-select/styles.js.map +1 -1
  11. package/dist/main.d.ts +2 -0
  12. package/dist/main.d.ts.map +1 -1
  13. package/dist/main.js +2 -0
  14. package/dist/main.js.map +1 -1
  15. package/dist/vscode-checkbox/vscode-checkbox.d.ts +0 -2
  16. package/dist/vscode-checkbox/vscode-checkbox.d.ts.map +1 -1
  17. package/dist/vscode-checkbox/vscode-checkbox.js +0 -5
  18. package/dist/vscode-checkbox/vscode-checkbox.js.map +1 -1
  19. package/dist/vscode-context-menu/vscode-context-menu.d.ts +7 -7
  20. package/dist/vscode-context-menu/vscode-context-menu.js +7 -7
  21. package/dist/vscode-context-menu/vscode-context-menu.js.map +1 -1
  22. package/dist/vscode-context-menu/vscode-context-menu.styles.js +7 -7
  23. package/dist/vscode-context-menu/vscode-context-menu.styles.js.map +1 -1
  24. package/dist/vscode-context-menu-item/vscode-context-menu-item.d.ts +9 -9
  25. package/dist/vscode-context-menu-item/vscode-context-menu-item.js +9 -9
  26. package/dist/vscode-context-menu-item/vscode-context-menu-item.js.map +1 -1
  27. package/dist/vscode-context-menu-item/vscode-context-menu-item.styles.d.ts.map +1 -1
  28. package/dist/vscode-context-menu-item/vscode-context-menu-item.styles.js +10 -13
  29. package/dist/vscode-context-menu-item/vscode-context-menu-item.styles.js.map +1 -1
  30. package/dist/vscode-divider/vscode-divider.d.ts +2 -0
  31. package/dist/vscode-divider/vscode-divider.d.ts.map +1 -1
  32. package/dist/vscode-divider/vscode-divider.js +2 -0
  33. package/dist/vscode-divider/vscode-divider.js.map +1 -1
  34. package/dist/vscode-divider/vscode-divider.styles.js +1 -1
  35. package/dist/vscode-divider/vscode-divider.styles.js.map +1 -1
  36. package/dist/vscode-icon/vscode-icon.d.ts +4 -4
  37. package/dist/vscode-icon/vscode-icon.js +4 -4
  38. package/dist/vscode-icon/vscode-icon.js.map +1 -1
  39. package/dist/vscode-icon/vscode-icon.styles.d.ts.map +1 -1
  40. package/dist/vscode-icon/vscode-icon.styles.js +10 -4
  41. package/dist/vscode-icon/vscode-icon.styles.js.map +1 -1
  42. package/dist/vscode-multi-select/vscode-multi-select.d.ts +21 -21
  43. package/dist/vscode-multi-select/vscode-multi-select.js +21 -21
  44. package/dist/vscode-multi-select/vscode-multi-select.js.map +1 -1
  45. package/dist/vscode-progress-ring/vscode-progress-ring.d.ts +2 -0
  46. package/dist/vscode-progress-ring/vscode-progress-ring.d.ts.map +1 -1
  47. package/dist/vscode-progress-ring/vscode-progress-ring.js +2 -0
  48. package/dist/vscode-progress-ring/vscode-progress-ring.js.map +1 -1
  49. package/dist/vscode-progress-ring/vscode-progress-ring.styles.js +1 -1
  50. package/dist/vscode-progress-ring/vscode-progress-ring.styles.js.map +1 -1
  51. package/dist/vscode-radio/vscode-radio.d.ts +9 -8
  52. package/dist/vscode-radio/vscode-radio.d.ts.map +1 -1
  53. package/dist/vscode-radio/vscode-radio.js +9 -8
  54. package/dist/vscode-radio/vscode-radio.js.map +1 -1
  55. package/dist/vscode-radio/vscode-radio.styles.js +2 -2
  56. package/dist/vscode-radio/vscode-radio.styles.js.map +1 -1
  57. package/dist/vscode-scrollable/vscode-scrollable.d.ts +4 -4
  58. package/dist/vscode-scrollable/vscode-scrollable.js +4 -4
  59. package/dist/vscode-scrollable/vscode-scrollable.js.map +1 -1
  60. package/dist/vscode-scrollable/vscode-scrollable.styles.d.ts.map +1 -1
  61. package/dist/vscode-scrollable/vscode-scrollable.styles.js +17 -5
  62. package/dist/vscode-scrollable/vscode-scrollable.styles.js.map +1 -1
  63. package/dist/vscode-single-select/vscode-single-select.d.ts +22 -20
  64. package/dist/vscode-single-select/vscode-single-select.d.ts.map +1 -1
  65. package/dist/vscode-single-select/vscode-single-select.js +22 -20
  66. package/dist/vscode-single-select/vscode-single-select.js.map +1 -1
  67. package/dist/vscode-split-layout/vscode-split-layout.d.ts.map +1 -1
  68. package/dist/vscode-table/helpers.d.ts.map +1 -1
  69. package/dist/vscode-table/vscode-table.d.ts +1 -0
  70. package/dist/vscode-table/vscode-table.d.ts.map +1 -1
  71. package/dist/vscode-table/vscode-table.js +18 -14
  72. package/dist/vscode-table/vscode-table.js.map +1 -1
  73. package/dist/vscode-toolbar-button/index.d.ts +2 -0
  74. package/dist/vscode-toolbar-button/index.d.ts.map +1 -0
  75. package/dist/vscode-toolbar-button/index.js +2 -0
  76. package/dist/vscode-toolbar-button/index.js.map +1 -0
  77. package/dist/vscode-toolbar-button/vscode-toolbar-button.d.ts +26 -0
  78. package/dist/vscode-toolbar-button/vscode-toolbar-button.d.ts.map +1 -0
  79. package/dist/vscode-toolbar-button/vscode-toolbar-button.js +83 -0
  80. package/dist/vscode-toolbar-button/vscode-toolbar-button.js.map +1 -0
  81. package/dist/vscode-toolbar-button/vscode-toolbar-button.styles.d.ts +4 -0
  82. package/dist/vscode-toolbar-button/vscode-toolbar-button.styles.d.ts.map +1 -0
  83. package/dist/vscode-toolbar-button/vscode-toolbar-button.styles.js +77 -0
  84. package/dist/vscode-toolbar-button/vscode-toolbar-button.styles.js.map +1 -0
  85. package/dist/vscode-toolbar-container/index.d.ts +2 -0
  86. package/dist/vscode-toolbar-container/index.d.ts.map +1 -0
  87. package/dist/vscode-toolbar-container/index.js +2 -0
  88. package/dist/vscode-toolbar-container/index.js.map +1 -0
  89. package/dist/vscode-toolbar-container/vscode-toolbar-container.d.ts +17 -0
  90. package/dist/vscode-toolbar-container/vscode-toolbar-container.d.ts.map +1 -0
  91. package/dist/vscode-toolbar-container/vscode-toolbar-container.js +25 -0
  92. package/dist/vscode-toolbar-container/vscode-toolbar-container.js.map +1 -0
  93. package/dist/vscode-toolbar-container/vscode-toolbar-container.styles.d.ts +4 -0
  94. package/dist/vscode-toolbar-container/vscode-toolbar-container.styles.d.ts.map +1 -0
  95. package/dist/vscode-toolbar-container/vscode-toolbar-container.styles.js +14 -0
  96. package/dist/vscode-toolbar-container/vscode-toolbar-container.styles.js.map +1 -0
  97. package/package.json +12 -18
  98. package/vscode.css-custom-data.json +11 -11
  99. package/vscode.html-custom-data.json +26 -9
@@ -4,19 +4,78 @@
4
4
  "modules": [
5
5
  {
6
6
  "kind": "javascript-module",
7
- "path": "src/includes/AssociatedFormControl.ts",
8
- "declarations": [],
9
- "exports": []
7
+ "path": "src/vscode-badge/vscode-badge.styles.ts",
8
+ "declarations": [
9
+ {
10
+ "kind": "variable",
11
+ "name": "styles",
12
+ "type": {
13
+ "text": "CSSResultGroup"
14
+ },
15
+ "default": "[ defaultStyles, css` :host { background-color: var(--vscode-badge-background, #616161); border: 1px solid var(--vscode-contrastBorder, transparent); border-radius: 2px; box-sizing: border-box; color: var(--vscode-badge-foreground, #f8f8f8); display: inline-block; font-family: var(--vscode-font-family, ${defaultFontStack}); font-size: 11px; font-weight: 400; line-height: 14px; min-width: 18px; padding: 2px 3px; text-align: center; white-space: nowrap; } :host([variant='counter']) { border-radius: 11px; line-height: 11px; min-height: 18px; min-width: 18px; padding: 3px 6px; } :host([variant='activity-bar-counter']) { background-color: var(--vscode-activityBarBadge-background, #0078d4); border-radius: 20px; color: var(--vscode-activityBarBadge-foreground, #ffffff); font-size: 9px; font-weight: 600; line-height: 16px; padding: 0 4px; } :host([variant='tab-header-counter']) { background-color: var(--vscode-activityBarBadge-background, #0078d4); border-radius: 10px; color: var(--vscode-activityBarBadge-foreground, #ffffff); line-height: 10px; min-height: 16px; min-width: 16px; padding: 3px 5px; } `, ]"
16
+ }
17
+ ],
18
+ "exports": [
19
+ {
20
+ "kind": "js",
21
+ "name": "default",
22
+ "declaration": {
23
+ "name": "styles",
24
+ "module": "src/vscode-badge/vscode-badge.styles.ts"
25
+ }
26
+ }
27
+ ]
10
28
  },
11
29
  {
12
30
  "kind": "javascript-module",
13
- "path": "src/includes/VscElement.ts",
31
+ "path": "src/vscode-badge/vscode-badge.ts",
14
32
  "declarations": [
15
33
  {
16
34
  "kind": "class",
17
- "description": "",
18
- "name": "VscElement",
35
+ "description": "Show counts or status information. Badges can also be used within [Textfield](https://vscode-elements.github.io/components/textfield) and [TabHeader](https://vscode-elements.github.io/components/tabs) components.",
36
+ "name": "VscodeBadge",
37
+ "cssProperties": [
38
+ {
39
+ "description": "A sans-serif font type depends on the host OS.",
40
+ "name": "--vscode-font-family",
41
+ "default": "sans-serif"
42
+ },
43
+ {
44
+ "name": "--vscode-contrastBorder",
45
+ "default": "transparent"
46
+ },
47
+ {
48
+ "description": "default and counter variant background color",
49
+ "name": "--vscode-badge-background",
50
+ "default": "#616161"
51
+ },
52
+ {
53
+ "description": "default and counter variant foreground color",
54
+ "name": "--vscode-badge-foreground",
55
+ "default": "#f8f8f8"
56
+ },
57
+ {
58
+ "description": "activity bar variant background color",
59
+ "name": "--vscode-activityBarBadge-background",
60
+ "default": "#0078d4"
61
+ },
62
+ {
63
+ "description": "activity bar variant foreground color",
64
+ "name": "--vscode-activityBarBadge-foreground",
65
+ "default": "#ffffff"
66
+ }
67
+ ],
19
68
  "members": [
69
+ {
70
+ "kind": "field",
71
+ "name": "variant",
72
+ "type": {
73
+ "text": "| 'default'\n | 'counter'\n | 'activity-bar-counter'\n | 'tab-header-counter'"
74
+ },
75
+ "default": "'default'",
76
+ "attribute": "variant",
77
+ "reflects": true
78
+ },
20
79
  {
21
80
  "kind": "field",
22
81
  "name": "version",
@@ -24,601 +83,228 @@
24
83
  "text": "string"
25
84
  },
26
85
  "description": "VSCode Elements version",
27
- "readonly": true
86
+ "readonly": true,
87
+ "inheritedFrom": {
88
+ "name": "VscElement",
89
+ "module": "src/includes/VscElement.ts"
90
+ }
28
91
  }
29
92
  ],
30
- "superclass": {
31
- "name": "LitElement",
32
- "package": "lit"
33
- },
34
- "customElement": true
35
- },
36
- {
37
- "kind": "function",
38
- "name": "customElement",
39
- "parameters": [
93
+ "attributes": [
40
94
  {
41
- "name": "tagName",
95
+ "name": "variant",
42
96
  "type": {
43
- "text": "string"
44
- }
97
+ "text": "| 'default'\n | 'counter'\n | 'activity-bar-counter'\n | 'tab-header-counter'"
98
+ },
99
+ "default": "'default'",
100
+ "fieldName": "variant"
45
101
  }
46
102
  ],
47
- "description": "Own implementation of Lit's customElement decorator."
103
+ "superclass": {
104
+ "name": "VscElement",
105
+ "module": "/src/includes/VscElement.js"
106
+ },
107
+ "tagName": "vscode-badge",
108
+ "customElement": true
48
109
  }
49
110
  ],
50
111
  "exports": [
51
112
  {
52
113
  "kind": "js",
53
- "name": "VscElement",
54
- "declaration": {
55
- "name": "VscElement",
56
- "module": "src/includes/VscElement.ts"
57
- }
58
- },
59
- {
60
- "kind": "js",
61
- "name": "customElement",
114
+ "name": "VscodeBadge",
62
115
  "declaration": {
63
- "name": "customElement",
64
- "module": "src/includes/VscElement.ts"
116
+ "name": "VscodeBadge",
117
+ "module": "src/vscode-badge/vscode-badge.ts"
65
118
  }
66
119
  },
67
120
  {
68
121
  "kind": "custom-element-definition",
69
- "name": "tagName",
70
- "declaration": {
71
- "name": "anonymous_0",
72
- "module": "src/includes/VscElement.ts"
73
- }
74
- }
75
- ]
76
- },
77
- {
78
- "kind": "javascript-module",
79
- "path": "src/includes/default.styles.ts",
80
- "declarations": [],
81
- "exports": [
82
- {
83
- "kind": "js",
84
- "name": "default",
122
+ "name": "vscode-badge",
85
123
  "declaration": {
86
- "module": "src/includes/default.styles.ts"
124
+ "name": "VscodeBadge",
125
+ "module": "src/vscode-badge/vscode-badge.ts"
87
126
  }
88
127
  }
89
128
  ]
90
129
  },
91
130
  {
92
131
  "kind": "javascript-module",
93
- "path": "src/includes/helpers.ts",
132
+ "path": "src/vscode-button/vscode-button.styles.ts",
94
133
  "declarations": [
95
134
  {
96
135
  "kind": "variable",
97
- "name": "INPUT_LINE_HEIGHT_RATIO"
98
- },
99
- {
100
- "kind": "variable",
101
- "name": "DEFUALT_INPUT_WIDGET_WIDTH",
136
+ "name": "styles",
102
137
  "type": {
103
- "text": "number"
138
+ "text": "CSSResultGroup"
104
139
  },
105
- "default": "320"
106
- },
107
- {
108
- "kind": "function",
109
- "name": "getDefaultFontStack"
110
- },
111
- {
112
- "kind": "function",
113
- "name": "getDefaultEditorFontStack"
114
- }
115
- ],
116
- "exports": [
117
- {
118
- "kind": "js",
119
- "name": "INPUT_LINE_HEIGHT_RATIO",
120
- "declaration": {
121
- "name": "INPUT_LINE_HEIGHT_RATIO",
122
- "module": "src/includes/helpers.ts"
123
- }
124
- },
125
- {
126
- "kind": "js",
127
- "name": "DEFUALT_INPUT_WIDGET_WIDTH",
128
- "declaration": {
129
- "name": "DEFUALT_INPUT_WIDGET_WIDTH",
130
- "module": "src/includes/helpers.ts"
131
- }
132
- },
133
- {
134
- "kind": "js",
135
- "name": "getDefaultFontStack",
136
- "declaration": {
137
- "name": "getDefaultFontStack",
138
- "module": "src/includes/helpers.ts"
139
- }
140
- },
141
- {
142
- "kind": "js",
143
- "name": "getDefaultEditorFontStack",
144
- "declaration": {
145
- "name": "getDefaultEditorFontStack",
146
- "module": "src/includes/helpers.ts"
147
- }
148
- }
149
- ]
150
- },
151
- {
152
- "kind": "javascript-module",
153
- "path": "src/includes/style-property-map.ts",
154
- "declarations": [
155
- {
156
- "kind": "variable",
157
- "name": "stylePropertyMap",
158
- "description": "Implement a Lit directive similar to styleMap, but instead of setting styles via the style\nattribute (which violates CSP), it should apply styles using the style property.\n\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy#unsafe-inline)"
140
+ "default": "[ defaultStyles, css` :host { background-color: var(--vscode-button-background, #0078d4); border-color: var(--vscode-button-border, transparent); border-style: solid; border-radius: 2px; border-width: 1px; color: var(--vscode-button-foreground, #ffffff); cursor: pointer; display: inline-block; font-family: var(--vscode-font-family, ${defaultFontStack}); font-size: var(--vscode-font-size, 13px); font-weight: var(--vscode-font-weight, normal); line-height: 22px; overflow: hidden; padding: 1px 13px; user-select: none; white-space: nowrap; } :host([secondary]) { color: var(--vscode-button-secondaryForeground, #cccccc); background-color: var(--vscode-button-secondaryBackground, #313131); border-color: var( --vscode-button-border, var(--vscode-button-secondaryBackground, rgba(255, 255, 255, 0.07)) ); } :host([disabled]) { cursor: default; opacity: 0.4; pointer-events: none; } :host(:hover) { background-color: var(--vscode-button-hoverBackground, #026ec1); } :host([disabled]:hover) { background-color: var(--vscode-button-background, #0078d4); } :host([secondary]:hover) { background-color: var(--vscode-button-secondaryHoverBackground, #3c3c3c); } :host([secondary][disabled]:hover) { background-color: var(--vscode-button-secondaryBackground, #313131); } :host(:focus), :host(:active) { outline: none; } :host(:focus) { background-color: var(--vscode-button-hoverBackground, #026ec1); outline: 1px solid var(--vscode-focusBorder, #0078d4); outline-offset: 2px; } :host([disabled]:focus) { background-color: var(--vscode-button-background, #0078d4); outline: 0; } :host([secondary]:focus) { background-color: var(--vscode-button-secondaryHoverBackground, #3c3c3c); } :host([secondary][disabled]:focus) { background-color: var(--vscode-button-secondaryBackground, #313131); } ::slotted(*) { display: inline-block; margin-left: 4px; margin-right: 4px; } ::slotted(*:first-child) { margin-left: 0; } ::slotted(vscode-icon) { color: inherit; } .wrapper { align-items: center; box-sizing: border-box; display: flex; justify-content: center; position: relative; width: 100%; } slot { align-items: center; display: flex; height: 100%; } .icon { color: inherit; display: block; margin-right: 3px; } .icon-after { color: inherit; display: block; margin-left: 3px; } `, ]"
159
141
  }
160
142
  ],
161
143
  "exports": [
162
144
  {
163
145
  "kind": "js",
164
- "name": "stylePropertyMap",
146
+ "name": "default",
165
147
  "declaration": {
166
- "name": "stylePropertyMap",
167
- "module": "src/includes/style-property-map.ts"
148
+ "name": "styles",
149
+ "module": "src/vscode-button/vscode-button.styles.ts"
168
150
  }
169
151
  }
170
152
  ]
171
153
  },
172
154
  {
173
155
  "kind": "javascript-module",
174
- "path": "src/includes/test-helpers.ts",
156
+ "path": "src/vscode-button/vscode-button.ts",
175
157
  "declarations": [
176
158
  {
177
- "kind": "function",
178
- "name": "clickOnElement",
179
- "parameters": [
159
+ "kind": "class",
160
+ "description": "Clickable element that are used to trigger actions.",
161
+ "name": "VscodeButton",
162
+ "cssProperties": [
180
163
  {
181
- "name": "el",
182
- "type": {
183
- "text": "Element"
184
- }
164
+ "name": "--vscode-button-background",
165
+ "default": "#0078d4"
185
166
  },
186
167
  {
187
- "name": "position",
188
- "default": "'center'",
189
- "type": {
190
- "text": "'top' | 'right' | 'bottom' | 'left' | 'center'"
191
- }
168
+ "name": "--vscode-button-foreground",
169
+ "default": "#ffffff"
192
170
  },
193
171
  {
194
- "name": "offsetX",
195
- "default": "0"
172
+ "name": "--vscode-button-border",
173
+ "default": "var(--vscode-button-background, rgba(255, 255, 255, 0.07))"
196
174
  },
197
175
  {
198
- "name": "offsetY",
199
- "default": "0"
200
- }
201
- ],
202
- "description": "A testing utility that measures an element's position and clicks on it."
203
- },
204
- {
205
- "kind": "function",
206
- "name": "moveMouseOnElement",
207
- "parameters": [
176
+ "name": "--vscode-button-hoverBackground",
177
+ "default": "#026ec1"
178
+ },
208
179
  {
209
- "name": "el",
210
- "type": {
211
- "text": "Element"
212
- }
180
+ "description": "A sans-serif font type depends on the host OS.",
181
+ "name": "--vscode-font-family",
182
+ "default": "sans-serif"
213
183
  },
214
184
  {
215
- "name": "position",
216
- "default": "'center'",
217
- "type": {
218
- "text": "'top' | 'right' | 'bottom' | 'left' | 'center'"
219
- }
185
+ "name": "--vscode-font-size",
186
+ "default": "13px"
220
187
  },
221
188
  {
222
- "name": "offsetX",
223
- "default": "0"
189
+ "name": "--vscode-font-weight",
190
+ "default": "normal"
224
191
  },
225
192
  {
226
- "name": "offsetY",
227
- "default": "0"
228
- }
229
- ],
230
- "description": "A testing utility that moves the mouse onto an element."
231
- },
232
- {
233
- "kind": "function",
234
- "name": "dragElement",
235
- "return": {
236
- "type": {
237
- "text": "Promise<void>"
238
- }
239
- },
240
- "parameters": [
241
- {
242
- "name": "el",
243
- "type": {
244
- "text": "Element"
245
- }
193
+ "name": "--vscode-button-secondaryForeground",
194
+ "default": "#cccccc"
246
195
  },
247
196
  {
248
- "name": "deltaX",
249
- "default": "0"
197
+ "name": "--vscode-button-secondaryBackground",
198
+ "default": "#313131"
250
199
  },
251
200
  {
252
- "name": "deltaY",
253
- "default": "0"
201
+ "name": "--vscode-button-secondaryHoverBackground",
202
+ "default": "#3c3c3c"
254
203
  },
255
204
  {
256
- "name": "callbacks",
257
- "default": "{}",
258
- "type": {
259
- "text": "{\n afterMouseDown?: () => void | Promise<void>;\n afterMouseMove?: () => void | Promise<void>;\n }"
260
- }
205
+ "name": "--vscode-focusBorder",
206
+ "default": "#0078d4"
261
207
  }
262
208
  ],
263
- "description": "A testing utility that drags an element with the mouse."
264
- }
265
- ],
266
- "exports": [
267
- {
268
- "kind": "js",
269
- "name": "clickOnElement",
270
- "declaration": {
271
- "name": "clickOnElement",
272
- "module": "src/includes/test-helpers.ts"
273
- }
274
- },
275
- {
276
- "kind": "js",
277
- "name": "moveMouseOnElement",
278
- "declaration": {
279
- "name": "moveMouseOnElement",
280
- "module": "src/includes/test-helpers.ts"
281
- }
282
- },
283
- {
284
- "kind": "js",
285
- "name": "dragElement",
286
- "declaration": {
287
- "name": "dragElement",
288
- "module": "src/includes/test-helpers.ts"
289
- }
290
- }
291
- ]
292
- },
293
- {
294
- "kind": "javascript-module",
295
- "path": "src/includes/uniqueId.ts",
296
- "declarations": [
297
- {
298
- "kind": "function",
299
- "name": "uniqueId",
300
- "parameters": [
209
+ "members": [
301
210
  {
302
- "name": "prefix",
303
- "default": "''"
304
- }
305
- ]
306
- }
307
- ],
308
- "exports": [
309
- {
310
- "kind": "js",
311
- "name": "default",
312
- "declaration": {
313
- "name": "uniqueId",
314
- "module": "src/includes/uniqueId.ts"
315
- }
316
- }
317
- ]
318
- },
319
- {
320
- "kind": "javascript-module",
321
- "path": "src/vscode-badge/vscode-badge.styles.ts",
322
- "declarations": [
323
- {
324
- "kind": "variable",
325
- "name": "styles",
326
- "type": {
327
- "text": "CSSResultGroup"
328
- },
329
- "default": "[ defaultStyles, css` :host { background-color: var(--vscode-badge-background, #616161); border: 1px solid var(--vscode-contrastBorder, transparent); border-radius: 2px; box-sizing: border-box; color: var(--vscode-badge-foreground, #f8f8f8); display: inline-block; font-family: var(--vscode-font-family, ${defaultFontStack}); font-size: 11px; font-weight: 400; line-height: 14px; min-width: 18px; padding: 2px 3px; text-align: center; white-space: nowrap; } :host([variant='counter']) { border-radius: 11px; line-height: 11px; min-height: 18px; min-width: 18px; padding: 3px 6px; } :host([variant='activity-bar-counter']) { background-color: var(--vscode-activityBarBadge-background, #0078d4); border-radius: 20px; color: var(--vscode-activityBarBadge-foreground, #ffffff); font-size: 9px; font-weight: 600; line-height: 16px; padding: 0 4px; } :host([variant='tab-header-counter']) { background-color: var(--vscode-activityBarBadge-background, #0078d4); border-radius: 10px; color: var(--vscode-activityBarBadge-foreground, #ffffff); line-height: 10px; min-height: 16px; min-width: 16px; padding: 3px 5px; } `, ]"
330
- }
331
- ],
332
- "exports": [
333
- {
334
- "kind": "js",
335
- "name": "default",
336
- "declaration": {
337
- "name": "styles",
338
- "module": "src/vscode-badge/vscode-badge.styles.ts"
339
- }
340
- }
341
- ]
342
- },
343
- {
344
- "kind": "javascript-module",
345
- "path": "src/vscode-badge/vscode-badge.ts",
346
- "declarations": [
347
- {
348
- "kind": "class",
349
- "description": "Show counts or status information. Badges can also be used within [Textfield](https://vscode-elements.github.io/components/textfield) and [TabHeader](https://vscode-elements.github.io/components/tabs) components.",
350
- "name": "VscodeBadge",
351
- "cssProperties": [
211
+ "kind": "field",
212
+ "name": "autofocus",
213
+ "type": {
214
+ "text": "boolean"
215
+ },
216
+ "default": "false",
217
+ "attribute": "autofocus",
218
+ "reflects": true
219
+ },
352
220
  {
353
- "description": "A sans-serif font type depends on the host OS.",
354
- "name": "--vscode-font-family",
355
- "default": "sans-serif"
221
+ "kind": "field",
222
+ "name": "secondary",
223
+ "type": {
224
+ "text": "boolean"
225
+ },
226
+ "default": "false",
227
+ "description": "Button has a less prominent style.",
228
+ "attribute": "secondary",
229
+ "reflects": true
356
230
  },
357
231
  {
358
- "name": "--vscode-contrastBorder",
359
- "default": "transparent"
232
+ "kind": "field",
233
+ "name": "disabled",
234
+ "type": {
235
+ "text": "boolean"
236
+ },
237
+ "default": "false",
238
+ "attribute": "disabled",
239
+ "reflects": true
360
240
  },
361
241
  {
362
- "description": "default and counter variant background color",
363
- "name": "--vscode-badge-background",
364
- "default": "#616161"
242
+ "kind": "field",
243
+ "name": "icon",
244
+ "type": {
245
+ "text": "string"
246
+ },
247
+ "default": "''",
248
+ "description": "A [Codicon](https://microsoft.github.io/vscode-codicons/dist/codicon.html) before the label",
249
+ "attribute": "icon"
365
250
  },
366
251
  {
367
- "description": "default and counter variant foreground color",
368
- "name": "--vscode-badge-foreground",
369
- "default": "#f8f8f8"
252
+ "kind": "field",
253
+ "name": "iconSpin",
254
+ "type": {
255
+ "text": "boolean"
256
+ },
257
+ "default": "false",
258
+ "description": "Spin property for the icon",
259
+ "attribute": "icon-spin",
260
+ "reflects": true
370
261
  },
371
262
  {
372
- "description": "activity bar variant background color",
373
- "name": "--vscode-activityBarBadge-background",
374
- "default": "#0078d4"
263
+ "kind": "field",
264
+ "name": "iconSpinDuration",
265
+ "type": {
266
+ "text": "number | undefined"
267
+ },
268
+ "description": "Duration property for the icon",
269
+ "attribute": "icon-spin-duration",
270
+ "reflects": true
375
271
  },
376
272
  {
377
- "description": "activity bar variant foreground color",
378
- "name": "--vscode-activityBarBadge-foreground",
379
- "default": "#ffffff"
380
- }
381
- ],
382
- "members": [
273
+ "kind": "field",
274
+ "name": "iconAfter",
275
+ "type": {
276
+ "text": "string"
277
+ },
278
+ "default": "''",
279
+ "description": "A [Codicon](https://microsoft.github.io/vscode-codicons/dist/codicon.html) after the label",
280
+ "attribute": "icon-after"
281
+ },
383
282
  {
384
283
  "kind": "field",
385
- "name": "variant",
284
+ "name": "iconAfterSpin",
386
285
  "type": {
387
- "text": "| 'default'\n | 'counter'\n | 'activity-bar-counter'\n | 'tab-header-counter'"
286
+ "text": "boolean"
388
287
  },
389
- "default": "'default'",
390
- "attribute": "variant",
288
+ "default": "false",
289
+ "description": "Spin property for the after icon",
290
+ "attribute": "icon-after-spin",
391
291
  "reflects": true
392
292
  },
393
293
  {
394
294
  "kind": "field",
395
- "name": "version",
295
+ "name": "iconAfterSpinDuration",
396
296
  "type": {
397
- "text": "string"
297
+ "text": "number | undefined"
398
298
  },
399
- "description": "VSCode Elements version",
400
- "readonly": true,
401
- "inheritedFrom": {
402
- "name": "VscElement",
403
- "module": "src/includes/VscElement.ts"
404
- }
405
- }
406
- ],
407
- "attributes": [
299
+ "description": "Duration property for the after icon",
300
+ "attribute": "icon-after-spin-duration",
301
+ "reflects": true
302
+ },
408
303
  {
409
- "name": "variant",
304
+ "kind": "field",
305
+ "name": "focused",
410
306
  "type": {
411
- "text": "| 'default'\n | 'counter'\n | 'activity-bar-counter'\n | 'tab-header-counter'"
412
- },
413
- "default": "'default'",
414
- "fieldName": "variant"
415
- }
416
- ],
417
- "superclass": {
418
- "name": "VscElement",
419
- "module": "/src/includes/VscElement.js"
420
- },
421
- "tagName": "vscode-badge",
422
- "customElement": true
423
- }
424
- ],
425
- "exports": [
426
- {
427
- "kind": "js",
428
- "name": "VscodeBadge",
429
- "declaration": {
430
- "name": "VscodeBadge",
431
- "module": "src/vscode-badge/vscode-badge.ts"
432
- }
433
- },
434
- {
435
- "kind": "custom-element-definition",
436
- "name": "vscode-badge",
437
- "declaration": {
438
- "name": "VscodeBadge",
439
- "module": "src/vscode-badge/vscode-badge.ts"
440
- }
441
- }
442
- ]
443
- },
444
- {
445
- "kind": "javascript-module",
446
- "path": "src/vscode-button/vscode-button.styles.ts",
447
- "declarations": [
448
- {
449
- "kind": "variable",
450
- "name": "styles",
451
- "type": {
452
- "text": "CSSResultGroup"
453
- },
454
- "default": "[ defaultStyles, css` :host { background-color: var(--vscode-button-background, #0078d4); border-color: var(--vscode-button-border, transparent); border-style: solid; border-radius: 2px; border-width: 1px; color: var(--vscode-button-foreground, #ffffff); cursor: pointer; display: inline-block; font-family: var(--vscode-font-family, ${defaultFontStack}); font-size: var(--vscode-font-size, 13px); font-weight: var(--vscode-font-weight, normal); line-height: 22px; overflow: hidden; padding: 1px 13px; user-select: none; white-space: nowrap; } :host([secondary]) { color: var(--vscode-button-secondaryForeground, #cccccc); background-color: var(--vscode-button-secondaryBackground, #313131); border-color: var( --vscode-button-border, var(--vscode-button-secondaryBackground, rgba(255, 255, 255, 0.07)) ); } :host([disabled]) { cursor: default; opacity: 0.4; pointer-events: none; } :host(:hover) { background-color: var(--vscode-button-hoverBackground, #026ec1); } :host([disabled]:hover) { background-color: var(--vscode-button-background, #0078d4); } :host([secondary]:hover) { background-color: var(--vscode-button-secondaryHoverBackground, #3c3c3c); } :host([secondary][disabled]:hover) { background-color: var(--vscode-button-secondaryBackground, #313131); } :host(:focus), :host(:active) { outline: none; } :host(:focus) { background-color: var(--vscode-button-hoverBackground, #026ec1); outline: 1px solid var(--vscode-focusBorder, #0078d4); outline-offset: 2px; } :host([disabled]:focus) { background-color: var(--vscode-button-background, #0078d4); outline: 0; } :host([secondary]:focus) { background-color: var(--vscode-button-secondaryHoverBackground, #3c3c3c); } :host([secondary][disabled]:focus) { background-color: var(--vscode-button-secondaryBackground, #313131); } ::slotted(*) { display: inline-block; margin-left: 4px; margin-right: 4px; } ::slotted(*:first-child) { margin-left: 0; } ::slotted(vscode-icon) { color: inherit; } .wrapper { align-items: center; box-sizing: border-box; display: flex; justify-content: center; position: relative; width: 100%; } slot { align-items: center; display: flex; height: 100%; } .icon { color: inherit; display: block; margin-right: 3px; } .icon-after { color: inherit; display: block; margin-left: 3px; } `, ]"
455
- }
456
- ],
457
- "exports": [
458
- {
459
- "kind": "js",
460
- "name": "default",
461
- "declaration": {
462
- "name": "styles",
463
- "module": "src/vscode-button/vscode-button.styles.ts"
464
- }
465
- }
466
- ]
467
- },
468
- {
469
- "kind": "javascript-module",
470
- "path": "src/vscode-button/vscode-button.ts",
471
- "declarations": [
472
- {
473
- "kind": "class",
474
- "description": "Clickable element that are used to trigger actions.",
475
- "name": "VscodeButton",
476
- "cssProperties": [
477
- {
478
- "name": "--vscode-button-background",
479
- "default": "#0078d4"
480
- },
481
- {
482
- "name": "--vscode-button-foreground",
483
- "default": "#ffffff"
484
- },
485
- {
486
- "name": "--vscode-button-border",
487
- "default": "var(--vscode-button-background, rgba(255, 255, 255, 0.07))"
488
- },
489
- {
490
- "name": "--vscode-button-hoverBackground",
491
- "default": "#026ec1"
492
- },
493
- {
494
- "description": "A sans-serif font type depends on the host OS.",
495
- "name": "--vscode-font-family",
496
- "default": "sans-serif"
497
- },
498
- {
499
- "name": "--vscode-font-size",
500
- "default": "13px"
501
- },
502
- {
503
- "name": "--vscode-font-weight",
504
- "default": "normal"
505
- },
506
- {
507
- "name": "--vscode-button-secondaryForeground",
508
- "default": "#cccccc"
509
- },
510
- {
511
- "name": "--vscode-button-secondaryBackground",
512
- "default": "#313131"
513
- },
514
- {
515
- "name": "--vscode-button-secondaryHoverBackground",
516
- "default": "#3c3c3c"
517
- },
518
- {
519
- "name": "--vscode-focusBorder",
520
- "default": "#0078d4"
521
- }
522
- ],
523
- "members": [
524
- {
525
- "kind": "field",
526
- "name": "autofocus",
527
- "type": {
528
- "text": "boolean"
529
- },
530
- "default": "false",
531
- "attribute": "autofocus",
532
- "reflects": true
533
- },
534
- {
535
- "kind": "field",
536
- "name": "secondary",
537
- "type": {
538
- "text": "boolean"
539
- },
540
- "default": "false",
541
- "description": "Button has a less prominent style.",
542
- "attribute": "secondary",
543
- "reflects": true
544
- },
545
- {
546
- "kind": "field",
547
- "name": "disabled",
548
- "type": {
549
- "text": "boolean"
550
- },
551
- "default": "false",
552
- "attribute": "disabled",
553
- "reflects": true
554
- },
555
- {
556
- "kind": "field",
557
- "name": "icon",
558
- "type": {
559
- "text": "string"
560
- },
561
- "default": "''",
562
- "description": "A [Codicon](https://microsoft.github.io/vscode-codicons/dist/codicon.html) before the label",
563
- "attribute": "icon"
564
- },
565
- {
566
- "kind": "field",
567
- "name": "iconSpin",
568
- "type": {
569
- "text": "boolean"
570
- },
571
- "default": "false",
572
- "description": "Spin property for the icon",
573
- "attribute": "icon-spin",
574
- "reflects": true
575
- },
576
- {
577
- "kind": "field",
578
- "name": "iconSpinDuration",
579
- "type": {
580
- "text": "number | undefined"
581
- },
582
- "description": "Duration property for the icon",
583
- "attribute": "icon-spin-duration",
584
- "reflects": true
585
- },
586
- {
587
- "kind": "field",
588
- "name": "iconAfter",
589
- "type": {
590
- "text": "string"
591
- },
592
- "default": "''",
593
- "description": "A [Codicon](https://microsoft.github.io/vscode-codicons/dist/codicon.html) after the label",
594
- "attribute": "icon-after"
595
- },
596
- {
597
- "kind": "field",
598
- "name": "iconAfterSpin",
599
- "type": {
600
- "text": "boolean"
601
- },
602
- "default": "false",
603
- "description": "Spin property for the after icon",
604
- "attribute": "icon-after-spin",
605
- "reflects": true
606
- },
607
- {
608
- "kind": "field",
609
- "name": "iconAfterSpinDuration",
610
- "type": {
611
- "text": "number | undefined"
612
- },
613
- "description": "Duration property for the after icon",
614
- "attribute": "icon-after-spin-duration",
615
- "reflects": true
616
- },
617
- {
618
- "kind": "field",
619
- "name": "focused",
620
- "type": {
621
- "text": "boolean"
307
+ "text": "boolean"
622
308
  },
623
309
  "default": "false",
624
310
  "attribute": "focused",
@@ -796,87 +482,401 @@
796
482
  "fieldName": "iconSpinDuration"
797
483
  },
798
484
  {
799
- "name": "icon-after",
485
+ "name": "icon-after",
486
+ "type": {
487
+ "text": "string"
488
+ },
489
+ "default": "''",
490
+ "description": "A [Codicon](https://microsoft.github.io/vscode-codicons/dist/codicon.html) after the label",
491
+ "fieldName": "iconAfter"
492
+ },
493
+ {
494
+ "name": "icon-after-spin",
495
+ "type": {
496
+ "text": "boolean"
497
+ },
498
+ "default": "false",
499
+ "description": "Spin property for the after icon",
500
+ "fieldName": "iconAfterSpin"
501
+ },
502
+ {
503
+ "name": "icon-after-spin-duration",
504
+ "type": {
505
+ "text": "number | undefined"
506
+ },
507
+ "description": "Duration property for the after icon",
508
+ "fieldName": "iconAfterSpinDuration"
509
+ },
510
+ {
511
+ "name": "focused",
512
+ "type": {
513
+ "text": "boolean"
514
+ },
515
+ "default": "false",
516
+ "fieldName": "focused"
517
+ },
518
+ {
519
+ "name": "name",
520
+ "type": {
521
+ "text": "string | undefined"
522
+ },
523
+ "default": "undefined",
524
+ "fieldName": "name"
525
+ },
526
+ {
527
+ "name": "type",
528
+ "type": {
529
+ "text": "'submit' | 'reset' | 'button'"
530
+ },
531
+ "default": "'button'",
532
+ "fieldName": "type"
533
+ },
534
+ {
535
+ "name": "value",
536
+ "type": {
537
+ "text": "string"
538
+ },
539
+ "default": "''",
540
+ "fieldName": "value"
541
+ }
542
+ ],
543
+ "superclass": {
544
+ "name": "VscElement",
545
+ "module": "/src/includes/VscElement.js"
546
+ },
547
+ "tagName": "vscode-button",
548
+ "customElement": true
549
+ }
550
+ ],
551
+ "exports": [
552
+ {
553
+ "kind": "js",
554
+ "name": "VscodeButton",
555
+ "declaration": {
556
+ "name": "VscodeButton",
557
+ "module": "src/vscode-button/vscode-button.ts"
558
+ }
559
+ },
560
+ {
561
+ "kind": "custom-element-definition",
562
+ "name": "vscode-button",
563
+ "declaration": {
564
+ "name": "VscodeButton",
565
+ "module": "src/vscode-button/vscode-button.ts"
566
+ }
567
+ }
568
+ ]
569
+ },
570
+ {
571
+ "kind": "javascript-module",
572
+ "path": "src/includes/AssociatedFormControl.ts",
573
+ "declarations": [],
574
+ "exports": []
575
+ },
576
+ {
577
+ "kind": "javascript-module",
578
+ "path": "src/includes/VscElement.ts",
579
+ "declarations": [
580
+ {
581
+ "kind": "class",
582
+ "description": "",
583
+ "name": "VscElement",
584
+ "members": [
585
+ {
586
+ "kind": "field",
587
+ "name": "version",
588
+ "type": {
589
+ "text": "string"
590
+ },
591
+ "description": "VSCode Elements version",
592
+ "readonly": true
593
+ }
594
+ ],
595
+ "superclass": {
596
+ "name": "LitElement",
597
+ "package": "lit"
598
+ },
599
+ "customElement": true
600
+ },
601
+ {
602
+ "kind": "function",
603
+ "name": "customElement",
604
+ "parameters": [
605
+ {
606
+ "name": "tagName",
607
+ "type": {
608
+ "text": "string"
609
+ }
610
+ }
611
+ ],
612
+ "description": "Own implementation of Lit's customElement decorator."
613
+ }
614
+ ],
615
+ "exports": [
616
+ {
617
+ "kind": "js",
618
+ "name": "VscElement",
619
+ "declaration": {
620
+ "name": "VscElement",
621
+ "module": "src/includes/VscElement.ts"
622
+ }
623
+ },
624
+ {
625
+ "kind": "js",
626
+ "name": "customElement",
627
+ "declaration": {
628
+ "name": "customElement",
629
+ "module": "src/includes/VscElement.ts"
630
+ }
631
+ },
632
+ {
633
+ "kind": "custom-element-definition",
634
+ "name": "tagName",
635
+ "declaration": {
636
+ "name": "anonymous_0",
637
+ "module": "src/includes/VscElement.ts"
638
+ }
639
+ }
640
+ ]
641
+ },
642
+ {
643
+ "kind": "javascript-module",
644
+ "path": "src/includes/default.styles.ts",
645
+ "declarations": [],
646
+ "exports": [
647
+ {
648
+ "kind": "js",
649
+ "name": "default",
650
+ "declaration": {
651
+ "module": "src/includes/default.styles.ts"
652
+ }
653
+ }
654
+ ]
655
+ },
656
+ {
657
+ "kind": "javascript-module",
658
+ "path": "src/includes/helpers.ts",
659
+ "declarations": [
660
+ {
661
+ "kind": "variable",
662
+ "name": "INPUT_LINE_HEIGHT_RATIO"
663
+ },
664
+ {
665
+ "kind": "variable",
666
+ "name": "DEFUALT_INPUT_WIDGET_WIDTH",
667
+ "type": {
668
+ "text": "number"
669
+ },
670
+ "default": "320"
671
+ },
672
+ {
673
+ "kind": "function",
674
+ "name": "getDefaultFontStack"
675
+ },
676
+ {
677
+ "kind": "function",
678
+ "name": "getDefaultEditorFontStack"
679
+ }
680
+ ],
681
+ "exports": [
682
+ {
683
+ "kind": "js",
684
+ "name": "INPUT_LINE_HEIGHT_RATIO",
685
+ "declaration": {
686
+ "name": "INPUT_LINE_HEIGHT_RATIO",
687
+ "module": "src/includes/helpers.ts"
688
+ }
689
+ },
690
+ {
691
+ "kind": "js",
692
+ "name": "DEFUALT_INPUT_WIDGET_WIDTH",
693
+ "declaration": {
694
+ "name": "DEFUALT_INPUT_WIDGET_WIDTH",
695
+ "module": "src/includes/helpers.ts"
696
+ }
697
+ },
698
+ {
699
+ "kind": "js",
700
+ "name": "getDefaultFontStack",
701
+ "declaration": {
702
+ "name": "getDefaultFontStack",
703
+ "module": "src/includes/helpers.ts"
704
+ }
705
+ },
706
+ {
707
+ "kind": "js",
708
+ "name": "getDefaultEditorFontStack",
709
+ "declaration": {
710
+ "name": "getDefaultEditorFontStack",
711
+ "module": "src/includes/helpers.ts"
712
+ }
713
+ }
714
+ ]
715
+ },
716
+ {
717
+ "kind": "javascript-module",
718
+ "path": "src/includes/style-property-map.ts",
719
+ "declarations": [
720
+ {
721
+ "kind": "variable",
722
+ "name": "stylePropertyMap",
723
+ "description": "Implement a Lit directive similar to styleMap, but instead of setting styles via the style\nattribute (which violates CSP), it should apply styles using the style property.\n\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy#unsafe-inline)"
724
+ }
725
+ ],
726
+ "exports": [
727
+ {
728
+ "kind": "js",
729
+ "name": "stylePropertyMap",
730
+ "declaration": {
731
+ "name": "stylePropertyMap",
732
+ "module": "src/includes/style-property-map.ts"
733
+ }
734
+ }
735
+ ]
736
+ },
737
+ {
738
+ "kind": "javascript-module",
739
+ "path": "src/includes/test-helpers.ts",
740
+ "declarations": [
741
+ {
742
+ "kind": "function",
743
+ "name": "clickOnElement",
744
+ "parameters": [
745
+ {
746
+ "name": "el",
747
+ "type": {
748
+ "text": "Element"
749
+ }
750
+ },
751
+ {
752
+ "name": "position",
753
+ "default": "'center'",
754
+ "type": {
755
+ "text": "'top' | 'right' | 'bottom' | 'left' | 'center'"
756
+ }
757
+ },
758
+ {
759
+ "name": "offsetX",
760
+ "default": "0"
761
+ },
762
+ {
763
+ "name": "offsetY",
764
+ "default": "0"
765
+ }
766
+ ],
767
+ "description": "A testing utility that measures an element's position and clicks on it."
768
+ },
769
+ {
770
+ "kind": "function",
771
+ "name": "moveMouseOnElement",
772
+ "parameters": [
773
+ {
774
+ "name": "el",
800
775
  "type": {
801
- "text": "string"
802
- },
803
- "default": "''",
804
- "description": "A [Codicon](https://microsoft.github.io/vscode-codicons/dist/codicon.html) after the label",
805
- "fieldName": "iconAfter"
776
+ "text": "Element"
777
+ }
806
778
  },
807
779
  {
808
- "name": "icon-after-spin",
780
+ "name": "position",
781
+ "default": "'center'",
809
782
  "type": {
810
- "text": "boolean"
811
- },
812
- "default": "false",
813
- "description": "Spin property for the after icon",
814
- "fieldName": "iconAfterSpin"
783
+ "text": "'top' | 'right' | 'bottom' | 'left' | 'center'"
784
+ }
815
785
  },
816
786
  {
817
- "name": "icon-after-spin-duration",
818
- "type": {
819
- "text": "number | undefined"
820
- },
821
- "description": "Duration property for the after icon",
822
- "fieldName": "iconAfterSpinDuration"
787
+ "name": "offsetX",
788
+ "default": "0"
823
789
  },
824
790
  {
825
- "name": "focused",
791
+ "name": "offsetY",
792
+ "default": "0"
793
+ }
794
+ ],
795
+ "description": "A testing utility that moves the mouse onto an element."
796
+ },
797
+ {
798
+ "kind": "function",
799
+ "name": "dragElement",
800
+ "return": {
801
+ "type": {
802
+ "text": "Promise<void>"
803
+ }
804
+ },
805
+ "parameters": [
806
+ {
807
+ "name": "el",
826
808
  "type": {
827
- "text": "boolean"
828
- },
829
- "default": "false",
830
- "fieldName": "focused"
809
+ "text": "Element"
810
+ }
831
811
  },
832
812
  {
833
- "name": "name",
834
- "type": {
835
- "text": "string | undefined"
836
- },
837
- "default": "undefined",
838
- "fieldName": "name"
813
+ "name": "deltaX",
814
+ "default": "0"
839
815
  },
840
816
  {
841
- "name": "type",
842
- "type": {
843
- "text": "'submit' | 'reset' | 'button'"
844
- },
845
- "default": "'button'",
846
- "fieldName": "type"
817
+ "name": "deltaY",
818
+ "default": "0"
847
819
  },
848
820
  {
849
- "name": "value",
821
+ "name": "callbacks",
822
+ "default": "{}",
850
823
  "type": {
851
- "text": "string"
852
- },
853
- "default": "''",
854
- "fieldName": "value"
824
+ "text": "{\n afterMouseDown?: () => void | Promise<void>;\n afterMouseMove?: () => void | Promise<void>;\n }"
825
+ }
855
826
  }
856
827
  ],
857
- "superclass": {
858
- "name": "VscElement",
859
- "module": "/src/includes/VscElement.js"
860
- },
861
- "tagName": "vscode-button",
862
- "customElement": true
828
+ "description": "A testing utility that drags an element with the mouse."
863
829
  }
864
830
  ],
865
831
  "exports": [
866
832
  {
867
833
  "kind": "js",
868
- "name": "VscodeButton",
834
+ "name": "clickOnElement",
869
835
  "declaration": {
870
- "name": "VscodeButton",
871
- "module": "src/vscode-button/vscode-button.ts"
836
+ "name": "clickOnElement",
837
+ "module": "src/includes/test-helpers.ts"
872
838
  }
873
839
  },
874
840
  {
875
- "kind": "custom-element-definition",
876
- "name": "vscode-button",
841
+ "kind": "js",
842
+ "name": "moveMouseOnElement",
877
843
  "declaration": {
878
- "name": "VscodeButton",
879
- "module": "src/vscode-button/vscode-button.ts"
844
+ "name": "moveMouseOnElement",
845
+ "module": "src/includes/test-helpers.ts"
846
+ }
847
+ },
848
+ {
849
+ "kind": "js",
850
+ "name": "dragElement",
851
+ "declaration": {
852
+ "name": "dragElement",
853
+ "module": "src/includes/test-helpers.ts"
854
+ }
855
+ }
856
+ ]
857
+ },
858
+ {
859
+ "kind": "javascript-module",
860
+ "path": "src/includes/uniqueId.ts",
861
+ "declarations": [
862
+ {
863
+ "kind": "function",
864
+ "name": "uniqueId",
865
+ "parameters": [
866
+ {
867
+ "name": "prefix",
868
+ "default": "''"
869
+ }
870
+ ]
871
+ }
872
+ ],
873
+ "exports": [
874
+ {
875
+ "kind": "js",
876
+ "name": "default",
877
+ "declaration": {
878
+ "name": "uniqueId",
879
+ "module": "src/includes/uniqueId.ts"
880
880
  }
881
881
  }
882
882
  ]
@@ -1753,7 +1753,7 @@
1753
1753
  "type": {
1754
1754
  "text": "CSSResultGroup"
1755
1755
  },
1756
- "default": "[ defaultStyles, css` :host { display: block; font-family: var(--vscode-font-family); font-size: var(--vscode-font-size); font-weight: var(--vscode-font-weight); line-height: 1.4em; position: relative; } .context-menu { background-color: var(--vscode-menu-background); border-color: var(--vscode-menu-border, var(--vscode-menu-background)); border-radius: 5px; border-style: solid; border-width: 1px; box-shadow: 0 2px 8px var(--vscode-widget-shadow); color: var(--vscode-menu-foreground); padding: 4px 0; white-space: nowrap; } .context-menu:focus { outline: 0; } `, ]"
1756
+ "default": "[ defaultStyles, css` :host { display: block; font-family: var(--vscode-font-family, sans-serif); font-size: var(--vscode-font-size, 13px); font-weight: var(--vscode-font-weight, normal); line-height: 1.4em; position: relative; } .context-menu { background-color: var(--vscode-menu-background, #1f1f1f); border-color: var(--vscode-menu-border, #454545); border-radius: 5px; border-style: solid; border-width: 1px; box-shadow: 0 2px 8px var(--vscode-widget-shadow, rgba(0, 0, 0, 0.36)); color: var(--vscode-menu-foreground, #cccccc); padding: 4px 0; white-space: nowrap; } .context-menu:focus { outline: 0; } `, ]"
1757
1757
  }
1758
1758
  ],
1759
1759
  "exports": [
@@ -1777,25 +1777,32 @@
1777
1777
  "name": "VscodeContextMenu",
1778
1778
  "cssProperties": [
1779
1779
  {
1780
- "name": "--vscode-font-family"
1780
+ "name": "--vscode-font-family",
1781
+ "default": "sans-serif"
1781
1782
  },
1782
1783
  {
1783
- "name": "--vscode-font-size"
1784
+ "name": "--vscode-font-size",
1785
+ "default": "13px"
1784
1786
  },
1785
1787
  {
1786
- "name": "--vscode-font-weight"
1788
+ "name": "--vscode-font-weight",
1789
+ "default": "normal"
1787
1790
  },
1788
1791
  {
1789
- "name": "--vscode-menu-background"
1792
+ "name": "--vscode-menu-background",
1793
+ "default": "#1f1f1f"
1790
1794
  },
1791
1795
  {
1792
- "name": "--vscode-menu-border"
1796
+ "name": "--vscode-menu-border",
1797
+ "default": "#454545"
1793
1798
  },
1794
1799
  {
1795
- "name": "--vscode-menu-foreground"
1800
+ "name": "--vscode-menu-foreground",
1801
+ "default": "#cccccc"
1796
1802
  },
1797
1803
  {
1798
- "name": "--vscode-widget-shadow"
1804
+ "name": "--vscode-widget-shadow",
1805
+ "default": "rgba(0, 0, 0, 0.36)"
1799
1806
  }
1800
1807
  ],
1801
1808
  "members": [
@@ -2063,7 +2070,7 @@
2063
2070
  "type": {
2064
2071
  "text": "CSSResultGroup"
2065
2072
  },
2066
- "default": "[ defaultStyles, css` :host { display: block; font-family: var(--vscode-font-family); font-size: var(--vscode-font-size); font-weight: var(--vscode-font-weight); line-height: 1.4em; outline: none; position: relative; } .context-menu-item { background-color: var(--vscode-menu-background); color: var(--vscode-menu-foreground); display: flex; user-select: none; white-space: nowrap; } .ruler { border-bottom: 1px solid var(--vscode-menu-separatorBackground); display: block; margin: 0 0 4px; padding-top: 4px; width: 100%; } .context-menu-item a { align-items: center; border-color: transparent; border-radius: 3px; border-style: solid; border-width: 1px; box-sizing: border-box; color: var(--vscode-menu-foreground); cursor: pointer; display: flex; flex: 1 1 auto; height: 2em; margin-left: 4px; margin-right: 4px; outline: none; position: relative; text-decoration: inherit; } :host([selected]) .context-menu-item a { background-color: var(--vscode-menu-selectionBackground); border-color: var( --vscode-menu-selectionBorder, var(--vscode-menu-selectionBackground) ); color: var(--vscode-menu-selectionForeground); } .label { background: none; display: flex; flex: 1 1 auto; font-size: 12px; line-height: 1; padding: 0 22px; text-decoration: none; } .keybinding { display: block; flex: 2 1 auto; line-height: 1; padding: 0 22px; text-align: right; } `, ]"
2073
+ "default": "[ defaultStyles, css` :host { display: block; font-family: var(--vscode-font-family, sans-serif); font-size: var(--vscode-font-size, 13px); font-weight: var(--vscode-font-weight, normal); line-height: 1.4em; outline: none; position: relative; } .context-menu-item { background-color: var(--vscode-menu-background, #1f1f1f); color: var(--vscode-menu-foreground, #cccccc); display: flex; user-select: none; white-space: nowrap; } .ruler { border-bottom: 1px solid var(--vscode-menu-separatorBackground, #454545); display: block; margin: 0 0 4px; padding-top: 4px; width: 100%; } .context-menu-item a { align-items: center; border-color: transparent; border-radius: 3px; border-style: solid; border-width: 1px; box-sizing: border-box; color: var(--vscode-menu-foreground, #cccccc); cursor: pointer; display: flex; flex: 1 1 auto; height: 2em; margin-left: 4px; margin-right: 4px; outline: none; position: relative; text-decoration: inherit; } :host([selected]) .context-menu-item a { background-color: var(--vscode-menu-selectionBackground, #0078d4); border-color: var(--vscode-menu-selectionBorder, transparent); color: var(--vscode-menu-selectionForeground, #ffffff); } .label { background: none; display: flex; flex: 1 1 auto; font-size: 12px; line-height: 1; padding: 0 22px; text-decoration: none; } .keybinding { display: block; flex: 2 1 auto; line-height: 1; padding: 0 22px; text-align: right; } `, ]"
2067
2074
  }
2068
2075
  ],
2069
2076
  "exports": [
@@ -2087,32 +2094,40 @@
2087
2094
  "name": "VscodeContextMenuItem",
2088
2095
  "cssProperties": [
2089
2096
  {
2090
- "name": "--vscode-font-family"
2097
+ "name": "--vscode-font-family",
2098
+ "default": "sans-serif"
2091
2099
  },
2092
2100
  {
2093
- "name": "--vscode-font-size"
2101
+ "name": "--vscode-font-size",
2102
+ "default": "13px"
2094
2103
  },
2095
2104
  {
2096
- "name": "--vscode-font-weight"
2105
+ "name": "--vscode-font-weight",
2106
+ "default": "normal"
2097
2107
  },
2098
2108
  {
2099
- "name": "--vscode-menu-background"
2109
+ "name": "--vscode-menu-background",
2110
+ "default": "#1f1f1f"
2100
2111
  },
2101
2112
  {
2102
2113
  "name": "--vscode-menu-selectionBorder",
2103
- "default": "var(--vscode-menu-selectionBackground)"
2114
+ "default": "transparent"
2104
2115
  },
2105
2116
  {
2106
- "name": "--vscode-menu-foreground"
2117
+ "name": "--vscode-menu-foreground",
2118
+ "default": "#cccccc"
2107
2119
  },
2108
2120
  {
2109
- "name": "--vscode-menu-selectionBackground"
2121
+ "name": "--vscode-menu-selectionBackground",
2122
+ "default": "#0078d4"
2110
2123
  },
2111
2124
  {
2112
- "name": "--vscode-menu-selectionForeground"
2125
+ "name": "--vscode-menu-selectionForeground",
2126
+ "default": "#ffffff"
2113
2127
  },
2114
2128
  {
2115
- "name": "--vscode-menu-separatorBackground"
2129
+ "name": "--vscode-menu-separatorBackground",
2130
+ "default": "#454545"
2116
2131
  }
2117
2132
  ],
2118
2133
  "members": [
@@ -2260,7 +2275,7 @@
2260
2275
  "type": {
2261
2276
  "text": "CSSResultGroup"
2262
2277
  },
2263
- "default": "[ defaultStyles, css` :host { background-color: var(--vscode-foreground); display: block; height: 1px; margin-bottom: 10px; margin-top: 10px; opacity: 0.4; } `, ]"
2278
+ "default": "[ defaultStyles, css` :host { background-color: var(--vscode-foreground, #cccccc); display: block; height: 1px; margin-bottom: 10px; margin-top: 10px; opacity: 0.4; } `, ]"
2264
2279
  }
2265
2280
  ],
2266
2281
  "exports": [
@@ -2282,6 +2297,12 @@
2282
2297
  "kind": "class",
2283
2298
  "description": "",
2284
2299
  "name": "VscodeDivider",
2300
+ "cssProperties": [
2301
+ {
2302
+ "name": "--vscode-foreground",
2303
+ "default": "#cccccc"
2304
+ }
2305
+ ],
2285
2306
  "members": [
2286
2307
  {
2287
2308
  "kind": "field",
@@ -2769,7 +2790,7 @@
2769
2790
  "type": {
2770
2791
  "text": "CSSResultGroup"
2771
2792
  },
2772
- "default": "[ defaultStyles, css` :host { color: var(--vscode-icon-foreground); display: inline-block; } .codicon[class*='codicon-'] { display: block; } .icon, .button { background-color: transparent; display: block; padding: 0; } .button { border-color: transparent; border-style: solid; border-width: 1px; border-radius: 5px; color: currentColor; cursor: pointer; padding: 2px; } .button:hover { background-color: var(--vscode-toolbar-hoverBackground); } .button:active { background-color: var(--vscode-toolbar-activeBackground); } .button:focus { outline: none; } .button:focus-visible { border-color: var(--vscode-focusBorder); } @keyframes icon-spin { 100% { transform: rotate(360deg); } } .spin { animation-name: icon-spin; animation-timing-function: linear; animation-iteration-count: infinite; } `, ]"
2793
+ "default": "[ defaultStyles, css` :host { color: var(--vscode-icon-foreground, #cccccc); display: inline-block; } .codicon[class*='codicon-'] { display: block; } .icon, .button { background-color: transparent; display: block; padding: 0; } .button { border-color: transparent; border-style: solid; border-width: 1px; border-radius: 5px; color: currentColor; cursor: pointer; padding: 2px; } .button:hover { background-color: var( --vscode-toolbar-hoverBackground, rgba(90, 93, 94, 0.31) ); } .button:active { background-color: var( --vscode-toolbar-activeBackground, rgba(99, 102, 103, 0.31) ); } .button:focus { outline: none; } .button:focus-visible { border-color: var(--vscode-focusBorder, #0078d4); } @keyframes icon-spin { 100% { transform: rotate(360deg); } } .spin { animation-name: icon-spin; animation-timing-function: linear; animation-iteration-count: infinite; } `, ]"
2773
2794
  }
2774
2795
  ],
2775
2796
  "exports": [
@@ -2793,18 +2814,22 @@
2793
2814
  "name": "VscodeIcon",
2794
2815
  "cssProperties": [
2795
2816
  {
2796
- "name": "--vscode-icon-foreground"
2817
+ "name": "--vscode-icon-foreground",
2818
+ "default": "#cccccc"
2797
2819
  },
2798
2820
  {
2799
2821
  "description": "Hover state background color in `active-icon` mode",
2800
- "name": "--vscode-toolbar-hoverBackground"
2822
+ "name": "--vscode-toolbar-hoverBackground",
2823
+ "default": "rgba(90, 93, 94, 0.31)"
2801
2824
  },
2802
2825
  {
2803
2826
  "description": "Active state background color in `active-icon` mode",
2804
- "name": "--vscode-toolbar-activeBackground"
2827
+ "name": "--vscode-toolbar-activeBackground",
2828
+ "default": "rgba(99, 102, 103, 0.31)"
2805
2829
  },
2806
2830
  {
2807
- "name": "--vscode-focusBorder"
2831
+ "name": "--vscode-focusBorder",
2832
+ "default": "#0078d4"
2808
2833
  }
2809
2834
  ],
2810
2835
  "members": [
@@ -3218,67 +3243,88 @@
3218
3243
  }
3219
3244
  },
3220
3245
  {
3221
- "name": "--vscode-badge-background"
3246
+ "name": "--vscode-badge-background",
3247
+ "default": "#616161"
3222
3248
  },
3223
3249
  {
3224
- "name": "--vscode-badge-foreground"
3250
+ "name": "--vscode-badge-foreground",
3251
+ "default": "#f8f8f8"
3225
3252
  },
3226
3253
  {
3227
- "name": "--vscode-settings-dropdownBorder"
3254
+ "name": "--vscode-settings-dropdownBorder",
3255
+ "default": "#3c3c3c"
3228
3256
  },
3229
3257
  {
3230
- "name": "--vscode-settings-checkboxBackground"
3258
+ "name": "--vscode-settings-checkboxBackground",
3259
+ "default": "#313131"
3231
3260
  },
3232
3261
  {
3233
- "name": "--vscode-settings-dropdownBackground"
3262
+ "name": "--vscode-settings-dropdownBackground",
3263
+ "default": "#313131"
3234
3264
  },
3235
3265
  {
3236
- "name": "--vscode-settings-dropdownListBorder"
3266
+ "name": "--vscode-settings-dropdownForeground",
3267
+ "default": "#cccccc"
3237
3268
  },
3238
3269
  {
3239
- "name": "--vscode-focusBorder"
3270
+ "name": "--vscode-settings-dropdownListBorder",
3271
+ "default": "#454545"
3240
3272
  },
3241
3273
  {
3242
- "name": "--vscode-foreground"
3274
+ "name": "--vscode-focusBorder",
3275
+ "default": "#0078d4"
3243
3276
  },
3244
3277
  {
3245
- "name": "--vscode-font-family"
3278
+ "name": "--vscode-foreground",
3279
+ "default": "#cccccc"
3246
3280
  },
3247
3281
  {
3248
- "name": "--vscode-font-size"
3282
+ "name": "--vscode-font-family",
3283
+ "default": "sans-serif"
3249
3284
  },
3250
3285
  {
3251
- "name": "--vscode-font-weight"
3286
+ "name": "--vscode-font-size",
3287
+ "default": "13px"
3252
3288
  },
3253
3289
  {
3254
- "name": "--vscode-list-activeSelectionBackground"
3290
+ "name": "--vscode-font-weight",
3291
+ "default": "normal"
3255
3292
  },
3256
3293
  {
3257
- "name": "--vscode-list-activeSelectionForeground"
3294
+ "name": "--vscode-inputValidation-errorBackground",
3295
+ "default": "#5a1d1d"
3258
3296
  },
3259
3297
  {
3260
- "name": "--vscode-list-focusOutline"
3298
+ "name": "--vscode-inputValidation-errorBorder",
3299
+ "default": "#be1100"
3261
3300
  },
3262
3301
  {
3263
- "name": "--vscode-list-focusHighlightForeground"
3302
+ "name": "--vscode-list-activeSelectionBackground",
3303
+ "default": "#04395e"
3264
3304
  },
3265
3305
  {
3266
- "name": "--vscode-list-highlightForeground"
3306
+ "name": "--vscode-list-activeSelectionForeground",
3307
+ "default": "#ffffff"
3267
3308
  },
3268
3309
  {
3269
- "name": "--vscode-list-hoverBackground"
3310
+ "name": "--vscode-list-focusOutline",
3311
+ "default": "#0078d4"
3270
3312
  },
3271
3313
  {
3272
- "name": "--vscode-list-hoverForeground"
3314
+ "name": "--vscode-list-focusHighlightForeground",
3315
+ "default": "#2aaaff"
3273
3316
  },
3274
3317
  {
3275
- "name": "--vscode-list-hoverBackground"
3318
+ "name": "--vscode-list-highlightForeground",
3319
+ "default": "#2aaaff"
3276
3320
  },
3277
3321
  {
3278
- "name": "--vscode-settings-textInputBackground"
3322
+ "name": "--vscode-list-hoverBackground",
3323
+ "default": "#2a2d2e"
3279
3324
  },
3280
3325
  {
3281
- "name": "--vscode-list-hoverBackground"
3326
+ "name": "--vscode-list-hoverForeground",
3327
+ "default": "#ffffff"
3282
3328
  }
3283
3329
  ],
3284
3330
  "members": [
@@ -4572,7 +4618,7 @@
4572
4618
  "type": {
4573
4619
  "text": "CSSResultGroup"
4574
4620
  },
4575
- "default": "[ defaultStyles, css` :host { align-items: center; display: block; height: 28px; margin: 0; outline: none; width: 28px; } .progress { height: 100%; width: 100%; } .background { fill: none; stroke: transparent; stroke-width: 2px; } .indeterminate-indicator-1 { fill: none; stroke: var(--vscode-progressBar-background); stroke-width: 2px; stroke-linecap: square; transform-origin: 50% 50%; transform: rotate(-90deg); transition: all 0.2s ease-in-out; animation: spin-infinite 2s linear infinite; } @keyframes spin-infinite { 0% { stroke-dasharray: 0.01px 43.97px; transform: rotate(0deg); } 50% { stroke-dasharray: 21.99px 21.99px; transform: rotate(450deg); } 100% { stroke-dasharray: 0.01px 43.97px; transform: rotate(1080deg); } } `, ]"
4621
+ "default": "[ defaultStyles, css` :host { align-items: center; display: block; height: 28px; margin: 0; outline: none; width: 28px; } .progress { height: 100%; width: 100%; } .background { fill: none; stroke: transparent; stroke-width: 2px; } .indeterminate-indicator-1 { fill: none; stroke: var(--vscode-progressBar-background, #0078d4); stroke-width: 2px; stroke-linecap: square; transform-origin: 50% 50%; transform: rotate(-90deg); transition: all 0.2s ease-in-out; animation: spin-infinite 2s linear infinite; } @keyframes spin-infinite { 0% { stroke-dasharray: 0.01px 43.97px; transform: rotate(0deg); } 50% { stroke-dasharray: 21.99px 21.99px; transform: rotate(450deg); } 100% { stroke-dasharray: 0.01px 43.97px; transform: rotate(1080deg); } } `, ]"
4576
4622
  }
4577
4623
  ],
4578
4624
  "exports": [
@@ -4594,6 +4640,12 @@
4594
4640
  "kind": "class",
4595
4641
  "description": "",
4596
4642
  "name": "VscodeProgressRing",
4643
+ "cssProperties": [
4644
+ {
4645
+ "name": "--vscode-progressBar-background",
4646
+ "default": "#0078d4"
4647
+ }
4648
+ ],
4597
4649
  "members": [
4598
4650
  {
4599
4651
  "kind": "field",
@@ -4702,7 +4754,7 @@
4702
4754
  "type": {
4703
4755
  "text": "CSSResultGroup"
4704
4756
  },
4705
- "default": "[ defaultStyles, baseStyles, css` :host(:invalid) .icon, :host([invalid]) .icon { background-color: var(--vscode-inputValidation-errorBackground); border-color: var(--vscode-inputValidation-errorBorder, #be1100); } .icon { border-radius: 9px; } .icon.checked:before { background-color: currentColor; border-radius: 4px; content: ''; height: 8px; left: 50%; margin: -4px 0 0 -4px; position: absolute; top: 50%; width: 8px; } :host(:focus):host(:not([disabled])) .icon { outline: 1px solid var(--vscode-focusBorder); outline-offset: -1px; } `, ]"
4757
+ "default": "[ defaultStyles, baseStyles, css` :host(:invalid) .icon, :host([invalid]) .icon { background-color: var(--vscode-inputValidation-errorBackground, #5a1d1d); border-color: var(--vscode-inputValidation-errorBorder, #be1100); } .icon { border-radius: 9px; } .icon.checked:before { background-color: currentColor; border-radius: 4px; content: ''; height: 8px; left: 50%; margin: -4px 0 0 -4px; position: absolute; top: 50%; width: 8px; } :host(:focus):host(:not([disabled])) .icon { outline: 1px solid var(--vscode-focusBorder, #0078d4); outline-offset: -1px; } `, ]"
4706
4758
  }
4707
4759
  ],
4708
4760
  "exports": [
@@ -4726,29 +4778,40 @@
4726
4778
  "name": "VscodeRadio",
4727
4779
  "cssProperties": [
4728
4780
  {
4729
- "name": "--vscode-font-family"
4781
+ "name": "--vscode-font-family",
4782
+ "default": "sans-serif"
4730
4783
  },
4731
4784
  {
4732
- "name": "--vscode-font-size"
4785
+ "name": "--vscode-font-size",
4786
+ "default": "13px"
4733
4787
  },
4734
4788
  {
4735
- "name": "--vscode-font-weight"
4789
+ "name": "--vscode-font-weight",
4790
+ "default": "normal"
4736
4791
  },
4737
4792
  {
4738
- "description": "Label font color. 90% transparency version of `--vscode-foreground` by default.",
4739
- "name": "--vsc-foreground-translucent"
4793
+ "name": "--vscode-settings-checkboxBackground",
4794
+ "default": "#313131"
4795
+ },
4796
+ {
4797
+ "name": "--vscode-settings-checkboxBorder",
4798
+ "default": "#3c3c3c"
4740
4799
  },
4741
4800
  {
4742
- "name": "--vscode-settings-checkboxBackground"
4801
+ "name": "--vscode-settings-checkboxForeground",
4802
+ "default": "#cccccc"
4743
4803
  },
4744
4804
  {
4745
- "name": "--vscode-settings-checkboxBorder"
4805
+ "name": "--vscode-focusBorder",
4806
+ "default": "#0078d4"
4746
4807
  },
4747
4808
  {
4748
- "name": "--vscode-settings-checkboxForeground"
4809
+ "name": "--vscode-inputValidation-errorBackground",
4810
+ "default": "#5a1d1d"
4749
4811
  },
4750
4812
  {
4751
- "name": "--vscode-focusBorder"
4813
+ "name": "--vscode-inputValidation-errorBorder",
4814
+ "default": "#be1100"
4752
4815
  }
4753
4816
  ],
4754
4817
  "members": [
@@ -5461,7 +5524,7 @@
5461
5524
  "type": {
5462
5525
  "text": "CSSResultGroup"
5463
5526
  },
5464
- "default": "[ defaultStyles, css` :host { display: block; position: relative; } .scrollable-container { height: 100%; overflow: auto; } .scrollable-container::-webkit-scrollbar { cursor: default; width: 0; } .scrollable-container { scrollbar-width: none; } .shadow { box-shadow: var(--vscode-scrollbar-shadow) 0 6px 6px -6px inset; display: none; height: 3px; left: 0; pointer-events: none; position: absolute; top: 0; z-index: 1; width: 100%; } .shadow.visible { display: block; } .scrollbar-track { height: 100%; position: absolute; right: 0; top: 0; width: 10px; z-index: 100; } .scrollbar-track.hidden { display: none; } .scrollbar-thumb { background-color: transparent; min-height: var(--min-thumb-height, 20px); opacity: 0; position: absolute; right: 0; width: 10px; } .scrollbar-thumb.visible { background-color: var(--vscode-scrollbarSlider-background); opacity: 1; transition: opacity 100ms; } .scrollbar-thumb.fade { background-color: var(--vscode-scrollbarSlider-background); opacity: 0; transition: opacity 800ms; } .scrollbar-thumb.visible:hover { background-color: var(--vscode-scrollbarSlider-hoverBackground); } .scrollbar-thumb.visible.active, .scrollbar-thumb.visible.active:hover { background-color: var(--vscode-scrollbarSlider-activeBackground); } .prevent-interaction { bottom: 0; left: 0; right: 0; top: 0; position: absolute; z-index: 99; } .content { overflow: hidden; } `, ]"
5527
+ "default": "[ defaultStyles, css` :host { display: block; position: relative; } .scrollable-container { height: 100%; overflow: auto; } .scrollable-container::-webkit-scrollbar { cursor: default; width: 0; } .scrollable-container { scrollbar-width: none; } .shadow { box-shadow: var(--vscode-scrollbar-shadow, #000000) 0 6px 6px -6px inset; display: none; height: 3px; left: 0; pointer-events: none; position: absolute; top: 0; z-index: 1; width: 100%; } .shadow.visible { display: block; } .scrollbar-track { height: 100%; position: absolute; right: 0; top: 0; width: 10px; z-index: 100; } .scrollbar-track.hidden { display: none; } .scrollbar-thumb { background-color: transparent; min-height: var(--min-thumb-height, 20px); opacity: 0; position: absolute; right: 0; width: 10px; } .scrollbar-thumb.visible { background-color: var( --vscode-scrollbarSlider-background, rgba(121, 121, 121, 0.4) ); opacity: 1; transition: opacity 100ms; } .scrollbar-thumb.fade { background-color: var( --vscode-scrollbarSlider-background, rgba(121, 121, 121, 0.4) ); opacity: 0; transition: opacity 800ms; } .scrollbar-thumb.visible:hover { background-color: var( --vscode-scrollbarSlider-hoverBackground, rgba(100, 100, 100, 0.7) ); } .scrollbar-thumb.visible.active, .scrollbar-thumb.visible.active:hover { background-color: var( --vscode-scrollbarSlider-activeBackground, rgba(191, 191, 191, 0.4) ); } .prevent-interaction { bottom: 0; left: 0; right: 0; top: 0; position: absolute; z-index: 99; } .content { overflow: hidden; } `, ]"
5465
5528
  }
5466
5529
  ],
5467
5530
  "exports": [
@@ -5490,16 +5553,20 @@
5490
5553
  "default": "20px"
5491
5554
  },
5492
5555
  {
5493
- "name": "--vscode-scrollbar-shadow"
5556
+ "name": "--vscode-scrollbar-shadow",
5557
+ "default": "#000000"
5494
5558
  },
5495
5559
  {
5496
- "name": "--vscode-scrollbarSlider-background"
5560
+ "name": "--vscode-scrollbarSlider-background",
5561
+ "default": "rgba(121, 121, 121, 0.4)"
5497
5562
  },
5498
5563
  {
5499
- "name": "--vscode-scrollbarSlider-hoverBackground"
5564
+ "name": "--vscode-scrollbarSlider-hoverBackground",
5565
+ "default": "rgba(100, 100, 100, 0.7)"
5500
5566
  },
5501
5567
  {
5502
- "name": "--vscode-scrollbarSlider-activeBackground"
5568
+ "name": "--vscode-scrollbarSlider-activeBackground",
5569
+ "default": "rgba(191, 191, 191, 0.4)"
5503
5570
  }
5504
5571
  ],
5505
5572
  "members": [
@@ -5880,64 +5947,88 @@
5880
5947
  }
5881
5948
  },
5882
5949
  {
5883
- "name": "--vscode-badge-background"
5950
+ "name": "--vscode-badge-background",
5951
+ "default": "#616161"
5952
+ },
5953
+ {
5954
+ "name": "--vscode-badge-foreground",
5955
+ "default": "#f8f8f8"
5884
5956
  },
5885
5957
  {
5886
- "name": "--vscode-badge-foreground"
5958
+ "name": "--vscode-settings-dropdownBorder",
5959
+ "default": "#3c3c3c"
5887
5960
  },
5888
5961
  {
5889
- "name": "--vscode-settings-dropdownBorder"
5962
+ "name": "--vscode-settings-checkboxBackground",
5963
+ "default": "#313131"
5890
5964
  },
5891
5965
  {
5892
- "name": "--vscode-settings-checkboxBackground"
5966
+ "name": "--vscode-settings-dropdownBackground",
5967
+ "default": "#313131"
5893
5968
  },
5894
5969
  {
5895
- "name": "--vscode-settings-dropdownBackground"
5970
+ "name": "--vscode-settings-dropdownForeground",
5971
+ "default": "#cccccc"
5896
5972
  },
5897
5973
  {
5898
- "name": "--vscode-settings-dropdownListBorder"
5974
+ "name": "--vscode-settings-dropdownListBorder",
5975
+ "default": "#454545"
5899
5976
  },
5900
5977
  {
5901
- "name": "--vscode-focusBorder"
5978
+ "name": "--vscode-focusBorder",
5979
+ "default": "#0078d4"
5902
5980
  },
5903
5981
  {
5904
- "name": "--vscode-foreground"
5982
+ "name": "--vscode-foreground",
5983
+ "default": "#cccccc"
5905
5984
  },
5906
5985
  {
5907
- "name": "--vscode-font-family"
5986
+ "name": "--vscode-font-family",
5987
+ "default": "sans-serif"
5908
5988
  },
5909
5989
  {
5910
- "name": "--vscode-font-size"
5990
+ "name": "--vscode-font-size",
5991
+ "default": "13px"
5911
5992
  },
5912
5993
  {
5913
- "name": "--vscode-font-weight"
5994
+ "name": "--vscode-font-weight",
5995
+ "default": "normal"
5914
5996
  },
5915
5997
  {
5916
- "name": "--vscode-list-activeSelectionBackground"
5998
+ "name": "--vscode-inputValidation-errorBackground",
5999
+ "default": "#5a1d1d"
5917
6000
  },
5918
6001
  {
5919
- "name": "--vscode-list-activeSelectionForeground"
6002
+ "name": "--vscode-inputValidation-errorBorder",
6003
+ "default": "#be1100"
5920
6004
  },
5921
6005
  {
5922
- "name": "--vscode-list-focusOutline"
6006
+ "name": "--vscode-list-activeSelectionBackground",
6007
+ "default": "#04395e"
5923
6008
  },
5924
6009
  {
5925
- "name": "--vscode-list-highlightForeground"
6010
+ "name": "--vscode-list-activeSelectionForeground",
6011
+ "default": "#ffffff"
5926
6012
  },
5927
6013
  {
5928
- "name": "--vscode-list-focusHighlightForeground"
6014
+ "name": "--vscode-list-focusOutline",
6015
+ "default": "#0078d4"
5929
6016
  },
5930
6017
  {
5931
- "name": "--vscode-list-hoverBackground"
6018
+ "name": "--vscode-list-focusHighlightForeground",
6019
+ "default": "#2aaaff"
5932
6020
  },
5933
6021
  {
5934
- "name": "--vscode-list-hoverForeground"
6022
+ "name": "--vscode-list-highlightForeground",
6023
+ "default": "#2aaaff"
5935
6024
  },
5936
6025
  {
5937
- "name": "--vscode-list-hoverBackground"
6026
+ "name": "--vscode-list-hoverBackground",
6027
+ "default": "#2a2d2e"
5938
6028
  },
5939
6029
  {
5940
- "name": "--vscode-settings-textInputBackground"
6030
+ "name": "--vscode-list-hoverForeground",
6031
+ "default": "#ffffff"
5941
6032
  }
5942
6033
  ],
5943
6034
  "members": [
@@ -8280,6 +8371,11 @@
8280
8371
  "privacy": "private",
8281
8372
  "description": "Get cached cells of first row"
8282
8373
  },
8374
+ {
8375
+ "kind": "method",
8376
+ "name": "_resizeTableBody",
8377
+ "privacy": "private"
8378
+ },
8283
8379
  {
8284
8380
  "kind": "method",
8285
8381
  "name": "_initResizeObserver",
@@ -10646,6 +10742,262 @@
10646
10742
  }
10647
10743
  ]
10648
10744
  },
10745
+ {
10746
+ "kind": "javascript-module",
10747
+ "path": "src/vscode-toolbar-button/vscode-toolbar-button.styles.ts",
10748
+ "declarations": [
10749
+ {
10750
+ "kind": "variable",
10751
+ "name": "styles",
10752
+ "type": {
10753
+ "text": "CSSResultGroup"
10754
+ },
10755
+ "default": "[ defaultStyles, css` :host { display: inline-flex; } button { align-items: center; background-color: transparent; border: 0; border-radius: 5px; color: var(--vscode-foreground, #cccccc); cursor: pointer; display: flex; outline-offset: -1px; outline-width: 1px; padding: 0; user-select: none; } button:focus-visible { outline-color: var(--vscode-focusBorder, #0078d4); outline-style: solid; } button:hover { background-color: var( --vscode-toolbar-hoverBackground, rgba(90, 93, 94, 0.31) ); outline-style: dashed; outline-color: var(--vscode-toolbar-hoverOutline, transparent); } button:active { background-color: var( --vscode-toolbar-activeBackground, rgba(99, 102, 103, 0.31) ); } button.checked { background-color: var( --vscode-inputOption-activeBackground, rgba(36, 137, 219, 0.51) ); outline-color: var(--vscode-inputOption-activeBorder, #2488db); outline-style: solid; color: var(--vscode-inputOption-activeForeground, #ffffff); } button.checked vscode-icon { color: var(--vscode-inputOption-activeForeground, #ffffff); } vscode-icon { display: block; padding: 3px; } slot:not(.empty) { align-items: center; display: flex; height: 22px; padding: 0 5px 0 2px; } slot.textOnly:not(.empty) { padding: 0 5px; } `, ]"
10756
+ }
10757
+ ],
10758
+ "exports": [
10759
+ {
10760
+ "kind": "js",
10761
+ "name": "default",
10762
+ "declaration": {
10763
+ "name": "styles",
10764
+ "module": "src/vscode-toolbar-button/vscode-toolbar-button.styles.ts"
10765
+ }
10766
+ }
10767
+ ]
10768
+ },
10769
+ {
10770
+ "kind": "javascript-module",
10771
+ "path": "src/vscode-toolbar-button/vscode-toolbar-button.ts",
10772
+ "declarations": [
10773
+ {
10774
+ "kind": "class",
10775
+ "description": "Toolbar button",
10776
+ "name": "VscodeToolbarButton",
10777
+ "members": [
10778
+ {
10779
+ "kind": "field",
10780
+ "name": "icon",
10781
+ "type": {
10782
+ "text": "string"
10783
+ },
10784
+ "default": "''",
10785
+ "attribute": "icon",
10786
+ "reflects": true
10787
+ },
10788
+ {
10789
+ "kind": "field",
10790
+ "name": "label",
10791
+ "type": {
10792
+ "text": "string | undefined"
10793
+ },
10794
+ "default": "undefined",
10795
+ "attribute": "label"
10796
+ },
10797
+ {
10798
+ "kind": "field",
10799
+ "name": "toggleable",
10800
+ "type": {
10801
+ "text": "boolean"
10802
+ },
10803
+ "default": "false",
10804
+ "attribute": "toggleable",
10805
+ "reflects": true
10806
+ },
10807
+ {
10808
+ "kind": "field",
10809
+ "name": "checked",
10810
+ "type": {
10811
+ "text": "boolean"
10812
+ },
10813
+ "default": "false",
10814
+ "attribute": "checked",
10815
+ "reflects": true
10816
+ },
10817
+ {
10818
+ "kind": "field",
10819
+ "name": "_isSlotEmpty",
10820
+ "type": {
10821
+ "text": "boolean"
10822
+ },
10823
+ "privacy": "private",
10824
+ "default": "true"
10825
+ },
10826
+ {
10827
+ "kind": "field",
10828
+ "name": "_assignedNodes",
10829
+ "type": {
10830
+ "text": "NodeList | null"
10831
+ },
10832
+ "privacy": "private"
10833
+ },
10834
+ {
10835
+ "kind": "method",
10836
+ "name": "_handleSlotChange",
10837
+ "privacy": "private"
10838
+ },
10839
+ {
10840
+ "kind": "method",
10841
+ "name": "_handleButtonClick",
10842
+ "privacy": "private"
10843
+ },
10844
+ {
10845
+ "kind": "field",
10846
+ "name": "version",
10847
+ "type": {
10848
+ "text": "string"
10849
+ },
10850
+ "description": "VSCode Elements version",
10851
+ "readonly": true,
10852
+ "inheritedFrom": {
10853
+ "name": "VscElement",
10854
+ "module": "src/includes/VscElement.ts"
10855
+ }
10856
+ }
10857
+ ],
10858
+ "events": [
10859
+ {
10860
+ "name": "change",
10861
+ "type": {
10862
+ "text": "Event"
10863
+ }
10864
+ }
10865
+ ],
10866
+ "attributes": [
10867
+ {
10868
+ "name": "icon",
10869
+ "type": {
10870
+ "text": "string"
10871
+ },
10872
+ "default": "''",
10873
+ "fieldName": "icon"
10874
+ },
10875
+ {
10876
+ "name": "label",
10877
+ "type": {
10878
+ "text": "string | undefined"
10879
+ },
10880
+ "default": "undefined",
10881
+ "fieldName": "label"
10882
+ },
10883
+ {
10884
+ "name": "toggleable",
10885
+ "type": {
10886
+ "text": "boolean"
10887
+ },
10888
+ "default": "false",
10889
+ "fieldName": "toggleable"
10890
+ },
10891
+ {
10892
+ "name": "checked",
10893
+ "type": {
10894
+ "text": "boolean"
10895
+ },
10896
+ "default": "false",
10897
+ "fieldName": "checked"
10898
+ }
10899
+ ],
10900
+ "superclass": {
10901
+ "name": "VscElement",
10902
+ "module": "/src/includes/VscElement.js"
10903
+ },
10904
+ "tagName": "vscode-toolbar-button",
10905
+ "customElement": true
10906
+ }
10907
+ ],
10908
+ "exports": [
10909
+ {
10910
+ "kind": "js",
10911
+ "name": "VscodeToolbarButton",
10912
+ "declaration": {
10913
+ "name": "VscodeToolbarButton",
10914
+ "module": "src/vscode-toolbar-button/vscode-toolbar-button.ts"
10915
+ }
10916
+ },
10917
+ {
10918
+ "kind": "custom-element-definition",
10919
+ "name": "vscode-toolbar-button",
10920
+ "declaration": {
10921
+ "name": "VscodeToolbarButton",
10922
+ "module": "src/vscode-toolbar-button/vscode-toolbar-button.ts"
10923
+ }
10924
+ }
10925
+ ]
10926
+ },
10927
+ {
10928
+ "kind": "javascript-module",
10929
+ "path": "src/vscode-toolbar-container/vscode-toolbar-container.styles.ts",
10930
+ "declarations": [
10931
+ {
10932
+ "kind": "variable",
10933
+ "name": "styles",
10934
+ "type": {
10935
+ "text": "CSSResultGroup"
10936
+ },
10937
+ "default": "[ defaultStyles, css` :host { gap: 4px; display: flex; align-items: center; } `, ]"
10938
+ }
10939
+ ],
10940
+ "exports": [
10941
+ {
10942
+ "kind": "js",
10943
+ "name": "default",
10944
+ "declaration": {
10945
+ "name": "styles",
10946
+ "module": "src/vscode-toolbar-container/vscode-toolbar-container.styles.ts"
10947
+ }
10948
+ }
10949
+ ]
10950
+ },
10951
+ {
10952
+ "kind": "javascript-module",
10953
+ "path": "src/vscode-toolbar-container/vscode-toolbar-container.ts",
10954
+ "declarations": [
10955
+ {
10956
+ "kind": "class",
10957
+ "description": "Toolbar container",
10958
+ "name": "VscodeToolbarContainer",
10959
+ "members": [
10960
+ {
10961
+ "kind": "field",
10962
+ "name": "version",
10963
+ "type": {
10964
+ "text": "string"
10965
+ },
10966
+ "description": "VSCode Elements version",
10967
+ "readonly": true,
10968
+ "inheritedFrom": {
10969
+ "name": "VscElement",
10970
+ "module": "src/includes/VscElement.ts"
10971
+ }
10972
+ }
10973
+ ],
10974
+ "superclass": {
10975
+ "name": "VscElement",
10976
+ "module": "/src/includes/VscElement.js"
10977
+ },
10978
+ "tagName": "vscode-toolbar-container",
10979
+ "customElement": true
10980
+ }
10981
+ ],
10982
+ "exports": [
10983
+ {
10984
+ "kind": "js",
10985
+ "name": "VscodeToolbarContainer",
10986
+ "declaration": {
10987
+ "name": "VscodeToolbarContainer",
10988
+ "module": "src/vscode-toolbar-container/vscode-toolbar-container.ts"
10989
+ }
10990
+ },
10991
+ {
10992
+ "kind": "custom-element-definition",
10993
+ "name": "vscode-toolbar-container",
10994
+ "declaration": {
10995
+ "name": "VscodeToolbarContainer",
10996
+ "module": "src/vscode-toolbar-container/vscode-toolbar-container.ts"
10997
+ }
10998
+ }
10999
+ ]
11000
+ },
10649
11001
  {
10650
11002
  "kind": "javascript-module",
10651
11003
  "path": "src/vscode-tree/vscode-tree.styles.ts",