@isopodlabs/vscode_utils 0.2.5 → 0.3.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.
- package/LICENSE.txt +21 -0
- package/README.md +12 -7
- package/assets/shared.css +252 -243
- package/assets/tree.css +24 -24
- package/dist/codicon.d.ts +16 -0
- package/dist/codicon.js +490 -0
- package/dist/debug.d.ts +76 -76
- package/dist/debug.js +18 -18
- package/dist/fs.d.ts +40 -41
- package/dist/fs.js +38 -39
- package/dist/icon-theme.js +10 -10
- package/dist/jsx-runtime.d.ts +43 -29
- package/dist/jsx-runtime.js +51 -528
- package/dist/webview/shared.d.ts +394 -2
- package/dist/webview/shared.js +64 -28
- package/dist/webview/table.d.ts +6 -0
- package/dist/webview/table.js +27 -0
- package/dist/webview/tree.d.ts +2 -0
- package/dist/webview/tree.js +14 -1
- package/package.json +38 -36
- package/assets/shared.js +0 -336
- package/assets/tree.js +0 -81
- package/dist/webview/tsconfig.tsbuildinfo +0 -1
package/LICENSE.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Adrian Stephens
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
|
-
# @isopodlabs/vscode_utils
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
# @isopodlabs/vscode_utils
|
|
2
|
+
[](https://www.npmjs.com/package/@isopodlabs/vscode_utils)
|
|
3
|
+
[](https://github.com/adrianstephens/vscode-utils)
|
|
4
|
+
[](LICENSE.txt)
|
|
5
|
+
|
|
6
|
+
This package provides a set of utilities for vscode.
|
|
7
|
+
|
|
8
|
+
## ☕ Support My Work
|
|
9
|
+
If you use this package, consider [buying me a tea](https://coff.ee/adrianstephens) to support future updates!
|
|
10
|
+
|
|
11
|
+
## License
|
|
12
|
+
|
|
8
13
|
This project is licensed under the MIT License.
|
package/assets/shared.css
CHANGED
|
@@ -1,244 +1,253 @@
|
|
|
1
|
-
@font-face {
|
|
2
|
-
font-family: "codicon";
|
|
3
|
-
src: url("./codicon.ttf?9642aa1d48ab4e55aa1bf3f0b8678aa1") format("truetype");
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
html {
|
|
7
|
-
scrollbar-width: none;
|
|
8
|
-
/*user-select: none;*/
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
body {
|
|
12
|
-
font-family: var(--vscode-font-family);
|
|
13
|
-
font-size: var(--vscode-font-size);
|
|
14
|
-
font-weight: var(--vscode-font-weight);
|
|
15
|
-
color: var(--vscode-foreground);
|
|
16
|
-
--icon-color: var(--vscode-foreground);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.loading-container {
|
|
20
|
-
position: fixed;
|
|
21
|
-
top: 0;
|
|
22
|
-
left: 0;
|
|
23
|
-
width: 100%;
|
|
24
|
-
height: 100%;
|
|
25
|
-
display: flex;
|
|
26
|
-
flex-direction: column;
|
|
27
|
-
align-items: center;
|
|
28
|
-
justify-content: center;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.spinner {
|
|
32
|
-
width: 40px;
|
|
33
|
-
height: 40px;
|
|
34
|
-
margin-bottom: 16px;
|
|
35
|
-
border: 4px solid var(--vscode-button-background);
|
|
36
|
-
border-top: 4px solid transparent;
|
|
37
|
-
border-radius: 50%;
|
|
38
|
-
animation: spin 1s linear infinite;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.loading-text {
|
|
42
|
-
font-family: var(--vscode-font-family);
|
|
43
|
-
font-size: 14px;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
@keyframes spin {
|
|
47
|
-
0% { transform: rotate(0deg); }
|
|
48
|
-
100% { transform: rotate(360deg); }
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
/* For font icons (character in icon attribute)*/
|
|
52
|
-
[icon]::before {
|
|
53
|
-
content: attr(icon);
|
|
54
|
-
font: normal normal normal 16px/1 codicon;
|
|
55
|
-
display: inline-block;
|
|
56
|
-
color: var(--icon-color);
|
|
57
|
-
text-decoration: none;
|
|
58
|
-
text-rendering: auto;
|
|
59
|
-
text-align: center;
|
|
60
|
-
vertical-align: text-top;
|
|
61
|
-
-webkit-font-smoothing: antialiased;
|
|
62
|
-
-moz-osx-font-smoothing: grayscale;
|
|
63
|
-
user-select: none;
|
|
64
|
-
-webkit-user-select: none;
|
|
65
|
-
-ms-user-select: none;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
.
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
button
|
|
118
|
-
border:
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
opacity:
|
|
243
|
-
transition: opacity 0.
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: "codicon";
|
|
3
|
+
src: url("./codicon.ttf?9642aa1d48ab4e55aa1bf3f0b8678aa1") format("truetype");
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
html {
|
|
7
|
+
scrollbar-width: none;
|
|
8
|
+
/*user-select: none;*/
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
body {
|
|
12
|
+
font-family: var(--vscode-font-family);
|
|
13
|
+
font-size: var(--vscode-font-size);
|
|
14
|
+
font-weight: var(--vscode-font-weight);
|
|
15
|
+
color: var(--vscode-foreground);
|
|
16
|
+
--icon-color: var(--vscode-foreground);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.loading-container {
|
|
20
|
+
position: fixed;
|
|
21
|
+
top: 0;
|
|
22
|
+
left: 0;
|
|
23
|
+
width: 100%;
|
|
24
|
+
height: 100%;
|
|
25
|
+
display: flex;
|
|
26
|
+
flex-direction: column;
|
|
27
|
+
align-items: center;
|
|
28
|
+
justify-content: center;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.spinner {
|
|
32
|
+
width: 40px;
|
|
33
|
+
height: 40px;
|
|
34
|
+
margin-bottom: 16px;
|
|
35
|
+
border: 4px solid var(--vscode-button-background);
|
|
36
|
+
border-top: 4px solid transparent;
|
|
37
|
+
border-radius: 50%;
|
|
38
|
+
animation: spin 1s linear infinite;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.loading-text {
|
|
42
|
+
font-family: var(--vscode-font-family);
|
|
43
|
+
font-size: 14px;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@keyframes spin {
|
|
47
|
+
0% { transform: rotate(0deg); }
|
|
48
|
+
100% { transform: rotate(360deg); }
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/* For font icons (character in icon attribute)*/
|
|
52
|
+
[icon]::before {
|
|
53
|
+
content: attr(icon);
|
|
54
|
+
font: normal normal normal 16px/1 codicon;
|
|
55
|
+
display: inline-block;
|
|
56
|
+
color: var(--icon-color);
|
|
57
|
+
text-decoration: none;
|
|
58
|
+
text-rendering: auto;
|
|
59
|
+
text-align: center;
|
|
60
|
+
vertical-align: text-top;
|
|
61
|
+
-webkit-font-smoothing: antialiased;
|
|
62
|
+
-moz-osx-font-smoothing: grayscale;
|
|
63
|
+
user-select: none;
|
|
64
|
+
-webkit-user-select: none;
|
|
65
|
+
-ms-user-select: none;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
[icon*="\00eb19 "]::before {
|
|
69
|
+
animation: codicon-spin 1.5s linear infinite;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
@keyframes codicon-spin {
|
|
73
|
+
to { transform: rotate(360deg); }
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
/* For img icons (img in --icon)*/
|
|
78
|
+
.icon::before {
|
|
79
|
+
content: '';
|
|
80
|
+
display: inline-block;
|
|
81
|
+
text-decoration: none;
|
|
82
|
+
width: 16px;
|
|
83
|
+
height: 16px;
|
|
84
|
+
background-image: var(--icon);
|
|
85
|
+
margin-right: 5px;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.codicon {
|
|
89
|
+
font: normal normal normal 16px/1 codicon;
|
|
90
|
+
display: inline-block;
|
|
91
|
+
text-decoration: none;
|
|
92
|
+
text-rendering: auto;
|
|
93
|
+
text-align: center;
|
|
94
|
+
vertical-align: text-top;
|
|
95
|
+
-webkit-font-smoothing: antialiased;
|
|
96
|
+
-moz-osx-font-smoothing: grayscale;
|
|
97
|
+
user-select: none;
|
|
98
|
+
-webkit-user-select: none;
|
|
99
|
+
-ms-user-select: none;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
button[icon] {
|
|
103
|
+
border: none;
|
|
104
|
+
background-color: transparent;
|
|
105
|
+
padding: 0;
|
|
106
|
+
cursor: pointer;
|
|
107
|
+
color: var(--vscode-icon-foreground);
|
|
108
|
+
|
|
109
|
+
&:hover {
|
|
110
|
+
background-color: var(--vscode-list-hoverBackground);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
button {
|
|
115
|
+
color: var(--vscode-button-foreground);
|
|
116
|
+
background-color: var(--vscode-button-background);
|
|
117
|
+
border: 1px solid var(--vscode-button-border, transparent);
|
|
118
|
+
border-radius: 2px;
|
|
119
|
+
padding: 4px 8px;
|
|
120
|
+
cursor: pointer;
|
|
121
|
+
&:hover {
|
|
122
|
+
background-color: var(--vscode-button-hoverBackground);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
button.codicon {
|
|
127
|
+
border: none;
|
|
128
|
+
background-color: transparent;
|
|
129
|
+
padding: 0;
|
|
130
|
+
cursor: pointer;
|
|
131
|
+
color: var(--vscode-icon-foreground);
|
|
132
|
+
&:hover {
|
|
133
|
+
opacity: 0.8;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.select {
|
|
138
|
+
cursor: pointer;
|
|
139
|
+
width: fit-content;
|
|
140
|
+
&:hover {
|
|
141
|
+
text-decoration: underline;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.selected {
|
|
146
|
+
background-color: var(--vscode-editor-selectionBackground);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/* Splitter */
|
|
150
|
+
|
|
151
|
+
.splitter {
|
|
152
|
+
position: relative;
|
|
153
|
+
width: 5px;
|
|
154
|
+
flex: none;
|
|
155
|
+
cursor:ew-resize;
|
|
156
|
+
|
|
157
|
+
&::before {
|
|
158
|
+
content: '';
|
|
159
|
+
position: absolute;
|
|
160
|
+
top: 0;
|
|
161
|
+
bottom: 0;
|
|
162
|
+
left: 2px;
|
|
163
|
+
width: 1px;
|
|
164
|
+
height: 100%;
|
|
165
|
+
background-color: var(--vscode-editorGroup-border);
|
|
166
|
+
transition: background-color 0.3s;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
&:hover::before {
|
|
170
|
+
left: 0;
|
|
171
|
+
width: 100%;
|
|
172
|
+
background-color: var(--vscode-sash-hoverBorder);
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
/* Scrollbar */
|
|
177
|
+
|
|
178
|
+
.vscrollbar, .hscrollbar {
|
|
179
|
+
position: fixed;
|
|
180
|
+
z-index: 20;
|
|
181
|
+
background: var(--vscode-scrollbarSlider-background);
|
|
182
|
+
|
|
183
|
+
opacity: 0;
|
|
184
|
+
transition: opacity .8s linear;
|
|
185
|
+
|
|
186
|
+
html:hover &, .resizing & {
|
|
187
|
+
opacity: 1;
|
|
188
|
+
transition: opacity .1s linear;
|
|
189
|
+
|
|
190
|
+
&:hover {
|
|
191
|
+
background: var(--vscode-scrollbarSlider-hoverBackground);
|
|
192
|
+
}
|
|
193
|
+
&.active {
|
|
194
|
+
background: var(--vscode-scrollbarSlider-activeBackground)
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
&.invisible {
|
|
198
|
+
opacity: 0;
|
|
199
|
+
transition: opacity .8s linear;
|
|
200
|
+
pointer-events: none;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.vscrollbar {
|
|
206
|
+
right: 0;
|
|
207
|
+
width: 14px;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.hscrollbar {
|
|
211
|
+
bottom: 0;
|
|
212
|
+
height: 14px;
|
|
213
|
+
}
|
|
214
|
+
/*
|
|
215
|
+
.tooltip {
|
|
216
|
+
position: absolute;
|
|
217
|
+
display: none;
|
|
218
|
+
padding: .5em;
|
|
219
|
+
z-index: 1000;
|
|
220
|
+
overflow: hidden;
|
|
221
|
+
background: var(--vscode-editorHoverWidget-background);
|
|
222
|
+
color: var(--vscode-editorHoverWidget-foreground);
|
|
223
|
+
border: 1px solid var(--vscode-editorHoverWidget-border);
|
|
224
|
+
border-radius: 3px;
|
|
225
|
+
box-shadow: 0 2px 8px var(--vscode-widget-shadow);
|
|
226
|
+
white-space: pre-wrap;
|
|
227
|
+
pointer-events: none;
|
|
228
|
+
}
|
|
229
|
+
*/
|
|
230
|
+
.tooltip {
|
|
231
|
+
position: fixed;
|
|
232
|
+
z-index: 1000;
|
|
233
|
+
pointer-events: none;
|
|
234
|
+
background: var(--vscode-editorHoverWidget-background);
|
|
235
|
+
color: var(--vscode-editorHoverWidget-foreground);
|
|
236
|
+
border: 1px solid var(--vscode-editorHoverWidget-border);
|
|
237
|
+
border-radius: 4px;
|
|
238
|
+
padding: 6px 12px;
|
|
239
|
+
font-size: 13px;
|
|
240
|
+
font-family: var(--vscode-font-family, sans-serif);
|
|
241
|
+
box-shadow: 0 2px 8px var(--vscode-widget-shadow);
|
|
242
|
+
opacity: 0;
|
|
243
|
+
transition: opacity 0.15s;
|
|
244
|
+
pointer-events: none;
|
|
245
|
+
white-space: pre;
|
|
246
|
+
max-width: 320px;
|
|
247
|
+
word-break: break-word;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.tooltip.visible {
|
|
251
|
+
opacity: 1;
|
|
252
|
+
transition: opacity 0.1s;
|
|
244
253
|
}
|
package/assets/tree.css
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
.caret {
|
|
2
|
-
&::before {
|
|
3
|
-
font-family: 'codicon';
|
|
4
|
-
content: '\eab6';
|
|
5
|
-
margin-right: 6px;
|
|
6
|
-
pointer-events: auto;
|
|
7
|
-
cursor: pointer;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
&.caret-down::before {
|
|
11
|
-
content: '\eab4';
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
&:has(> span:first-child > .codicon) > .children {
|
|
15
|
-
padding-left: 32px;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
&:not(.caret-down) div {
|
|
19
|
-
display: none;
|
|
20
|
-
}
|
|
21
|
-
&:not(.caret-down) ul {
|
|
22
|
-
display: none;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
1
|
+
.caret {
|
|
2
|
+
&::before {
|
|
3
|
+
font-family: 'codicon';
|
|
4
|
+
content: '\eab6';
|
|
5
|
+
margin-right: 6px;
|
|
6
|
+
pointer-events: auto;
|
|
7
|
+
cursor: pointer;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
&.caret-down::before {
|
|
11
|
+
content: '\eab4';
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&:has(> span:first-child > .codicon) > .children {
|
|
15
|
+
padding-left: 32px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&:not(.caret-down) div {
|
|
19
|
+
display: none;
|
|
20
|
+
}
|
|
21
|
+
&:not(.caret-down) ul {
|
|
22
|
+
display: none;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Uri, ThemeIcon } from 'vscode';
|
|
2
|
+
export declare const codicons: Record<string, string>;
|
|
3
|
+
type IconType0 = string | Uri;
|
|
4
|
+
export type IconType = IconType0 | ThemeIcon | {
|
|
5
|
+
light: IconType0;
|
|
6
|
+
dark: IconType0;
|
|
7
|
+
};
|
|
8
|
+
export declare function iconAttribute(icon: IconType0): string;
|
|
9
|
+
export declare function iconAttributes(icon?: IconType): {
|
|
10
|
+
icon: string;
|
|
11
|
+
color?: undefined;
|
|
12
|
+
} | {
|
|
13
|
+
icon: string;
|
|
14
|
+
color: string;
|
|
15
|
+
} | undefined;
|
|
16
|
+
export {};
|