@theia/search-in-workspace 1.39.0-next.14 → 1.39.0-next.18

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 (47) hide show
  1. package/lib/browser/components/search-in-workspace-input.js +1 -1
  2. package/lib/browser/components/search-in-workspace-input.js.map +1 -1
  3. package/lib/browser/search-in-workspace-context-key-service.js +1 -1
  4. package/lib/browser/search-in-workspace-context-key-service.js.map +1 -1
  5. package/lib/browser/search-in-workspace-factory.js +1 -1
  6. package/lib/browser/search-in-workspace-factory.js.map +1 -1
  7. package/lib/browser/search-in-workspace-frontend-contribution.js +1 -1
  8. package/lib/browser/search-in-workspace-frontend-contribution.js.map +1 -1
  9. package/lib/browser/search-in-workspace-frontend-module.js +1 -1
  10. package/lib/browser/search-in-workspace-frontend-module.js.map +1 -1
  11. package/lib/browser/search-in-workspace-label-provider.js +1 -1
  12. package/lib/browser/search-in-workspace-label-provider.js.map +1 -1
  13. package/lib/browser/search-in-workspace-preferences.js +1 -1
  14. package/lib/browser/search-in-workspace-preferences.js.map +1 -1
  15. package/lib/browser/search-in-workspace-result-tree-widget.js +1 -1
  16. package/lib/browser/search-in-workspace-result-tree-widget.js.map +1 -1
  17. package/lib/browser/search-in-workspace-service.js +1 -1
  18. package/lib/browser/search-in-workspace-service.js.map +1 -1
  19. package/lib/browser/search-in-workspace-widget.js +1 -1
  20. package/lib/browser/search-in-workspace-widget.js.map +1 -1
  21. package/lib/browser/search-layout-migrations.js +1 -1
  22. package/lib/browser/search-layout-migrations.js.map +1 -1
  23. package/lib/common/search-in-workspace-interface.js +1 -1
  24. package/lib/common/search-in-workspace-interface.js.map +1 -1
  25. package/lib/node/ripgrep-search-in-workspace-server.js +1 -1
  26. package/lib/node/ripgrep-search-in-workspace-server.js.map +1 -1
  27. package/lib/node/ripgrep-search-in-workspace-server.slow-spec.js +1 -1
  28. package/lib/node/ripgrep-search-in-workspace-server.slow-spec.js.map +1 -1
  29. package/lib/node/search-in-workspace-backend-module.js +1 -1
  30. package/lib/node/search-in-workspace-backend-module.js.map +1 -1
  31. package/package.json +9 -9
  32. package/src/browser/components/search-in-workspace-input.tsx +1 -1
  33. package/src/browser/search-in-workspace-context-key-service.ts +1 -1
  34. package/src/browser/search-in-workspace-factory.ts +1 -1
  35. package/src/browser/search-in-workspace-frontend-contribution.ts +1 -1
  36. package/src/browser/search-in-workspace-frontend-module.ts +1 -1
  37. package/src/browser/search-in-workspace-label-provider.ts +1 -1
  38. package/src/browser/search-in-workspace-preferences.ts +1 -1
  39. package/src/browser/search-in-workspace-result-tree-widget.tsx +1 -1
  40. package/src/browser/search-in-workspace-service.ts +1 -1
  41. package/src/browser/search-in-workspace-widget.tsx +1 -1
  42. package/src/browser/search-layout-migrations.ts +1 -1
  43. package/src/browser/styles/index.css +177 -168
  44. package/src/common/search-in-workspace-interface.ts +1 -1
  45. package/src/node/ripgrep-search-in-workspace-server.slow-spec.ts +1 -1
  46. package/src/node/ripgrep-search-in-workspace-server.ts +1 -1
  47. package/src/node/search-in-workspace-backend-module.ts +1 -1
@@ -11,361 +11,370 @@
11
11
  * with the GNU Classpath Exception which is available at
12
12
  * https://www.gnu.org/software/classpath/license.html.
13
13
  *
14
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
14
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
15
15
  ********************************************************************************/
16
16
 
17
17
  #search-in-workspace {
18
- height: 100%;
18
+ height: 100%;
19
19
  }
20
20
 
21
21
  #search-in-workspace .theia-TreeContainer.empty {
22
- overflow: hidden;
22
+ overflow: hidden;
23
23
  }
24
24
 
25
25
  .t-siw-search-container {
26
- padding: 5px ;
27
- display: flex;
28
- flex-direction: column;
29
- height: 100%;
30
- box-sizing: border-box;
26
+ padding: 5px;
27
+ display: flex;
28
+ flex-direction: column;
29
+ height: 100%;
30
+ box-sizing: border-box;
31
31
  }
32
32
 
33
33
  .t-siw-search-container .theia-ExpansionToggle {
34
- padding-right: 4px;
35
- min-width: 6px;
34
+ padding-right: 4px;
35
+ min-width: 6px;
36
36
  }
37
37
 
38
38
  .t-siw-search-container .theia-input {
39
- flex: 1;
40
- line-height: var(--theia-content-line-height);
41
- padding: 3px 0 3px 4px;
39
+ flex: 1;
40
+ line-height: var(--theia-content-line-height);
41
+ padding: 3px 0 3px 4px;
42
42
  }
43
43
 
44
44
  .t-siw-search-container #search-input-field:focus {
45
- border: none;
46
- outline: none;
45
+ border: none;
46
+ outline: none;
47
47
  }
48
48
 
49
49
  .t-siw-search-container #search-input-field {
50
- background: none;
51
- border: none;
50
+ background: none;
51
+ border: none;
52
52
  }
53
53
 
54
54
  .t-siw-search-container .searchHeader {
55
- width: 100%;
56
- margin-bottom: 10px;
55
+ width: 100%;
56
+ margin-bottom: 10px;
57
57
  }
58
58
 
59
59
  .t-siw-search-container .searchHeader .controls.button-container {
60
- height: var(--theia-content-line-height);
61
- margin-bottom: 5px;
60
+ height: var(--theia-content-line-height);
61
+ margin-bottom: 5px;
62
62
  }
63
63
 
64
64
  .t-siw-search-container .searchHeader .search-field-container {
65
- background: var(--theia-input-background);
66
- border-style: solid;
67
- border-width: var(--theia-border-width);
68
- border-color: var(--theia-input-background);
65
+ background: var(--theia-input-background);
66
+ border-style: solid;
67
+ border-width: var(--theia-border-width);
68
+ border-color: var(--theia-input-background);
69
69
  }
70
70
 
71
71
  .t-siw-search-container .searchHeader .search-field-container.focused {
72
- border-color: var(--theia-focusBorder);
72
+ border-color: var(--theia-focusBorder);
73
73
  }
74
74
 
75
75
  .t-siw-search-container .searchHeader .search-field {
76
- display: flex;
77
- align-items: center;
76
+ display: flex;
77
+ align-items: center;
78
78
  }
79
79
 
80
80
  .t-siw-search-container .searchHeader .search-field:focus {
81
- border: none;
82
- outline: none;
81
+ border: none;
82
+ outline: none;
83
83
  }
84
84
 
85
85
  .t-siw-search-container .searchHeader .search-field .option {
86
- opacity: 0.7;
87
- cursor: pointer;
86
+ opacity: 0.7;
87
+ cursor: pointer;
88
88
  }
89
89
 
90
90
  .t-siw-search-container .searchHeader .search-field .option.enabled {
91
- border: var(--theia-border-width) var(--theia-inputOption-activeBorder) solid;
92
- background-color: var(--theia-inputOption-activeBackground);
91
+ border: var(--theia-border-width) var(--theia-inputOption-activeBorder) solid;
92
+ background-color: var(--theia-inputOption-activeBackground);
93
93
  }
94
94
 
95
95
  .t-siw-search-container .searchHeader .search-field .option:hover {
96
- opacity: 1;
96
+ opacity: 1;
97
97
  }
98
98
 
99
99
  .t-siw-search-container .searchHeader .search-field .option-buttons {
100
- height: 23px;
101
- display: flex;
102
- align-items: center;
103
- background-color: none;
100
+ height: 23px;
101
+ display: flex;
102
+ align-items: center;
103
+ background-color: none;
104
104
  }
105
105
 
106
106
  .t-siw-search-container .searchHeader .search-field-container.tooManyResults {
107
- border-style: solid;
108
- border-width: var(--theia-border-width);
109
- margin: -1px;
110
- border-color: var(--theia-inputValidation-warningBorder);
107
+ border-style: solid;
108
+ border-width: var(--theia-border-width);
109
+ margin: -1px;
110
+ border-color: var(--theia-inputValidation-warningBorder);
111
111
  }
112
112
 
113
- .t-siw-search-container .searchHeader .search-field-container .search-notification {
114
- height: 0;
115
- display: none;
116
- width: 100%;
117
- position: relative;
113
+ .t-siw-search-container
114
+ .searchHeader
115
+ .search-field-container
116
+ .search-notification {
117
+ height: 0;
118
+ display: none;
119
+ width: 100%;
120
+ position: relative;
118
121
  }
119
122
 
120
- .t-siw-search-container .searchHeader .search-field-container.focused .search-notification.show {
121
- display: block;
123
+ .t-siw-search-container
124
+ .searchHeader
125
+ .search-field-container.focused
126
+ .search-notification.show {
127
+ display: block;
122
128
  }
123
129
 
124
- .t-siw-search-container .searchHeader .search-notification div{
125
- background-color: var(--theia-inputValidation-warningBackground);
126
- width: calc(100% + 2px);
127
- margin-left: -1px;
128
- color: var(--theia-inputValidation-warningForeground);
129
- z-index: 1000;
130
- position: absolute;
131
- border: 1px solid var(--theia-inputValidation-warningBorder);
132
- box-sizing: border-box;
133
- padding: 3px;
130
+ .t-siw-search-container .searchHeader .search-notification div {
131
+ background-color: var(--theia-inputValidation-warningBackground);
132
+ width: calc(100% + 2px);
133
+ margin-left: -1px;
134
+ color: var(--theia-inputValidation-warningForeground);
135
+ z-index: 1000;
136
+ position: absolute;
137
+ border: 1px solid var(--theia-inputValidation-warningBorder);
138
+ box-sizing: border-box;
139
+ padding: 3px;
134
140
  }
135
141
 
136
142
  .t-siw-search-container .searchHeader .button-container {
137
- text-align: center;
138
- display: flex;
139
- justify-content: center;
143
+ text-align: center;
144
+ display: flex;
145
+ justify-content: center;
140
146
  }
141
147
 
142
148
  .t-siw-search-container .searchHeader .search-field .option,
143
149
  .t-siw-search-container .searchHeader .button-container .btn {
144
- width: 21px;
145
- height: 21px;
146
- margin: 0 1px;
147
- display: inline-block;
148
- box-sizing: border-box;
149
- align-items: center;
150
- user-select: none;
151
- background-repeat: no-repeat;
152
- background-position: center;
153
- border: var(--theia-border-width) solid transparent;
150
+ width: 21px;
151
+ height: 21px;
152
+ margin: 0 1px;
153
+ display: inline-block;
154
+ box-sizing: border-box;
155
+ align-items: center;
156
+ user-select: none;
157
+ background-repeat: no-repeat;
158
+ background-position: center;
159
+ border: var(--theia-border-width) solid transparent;
154
160
  }
155
161
 
156
162
  .t-siw-search-container .searchHeader .search-field .fa.option {
157
- display: flex;
158
- align-items: center;
159
- justify-content: center;
163
+ display: flex;
164
+ align-items: center;
165
+ justify-content: center;
160
166
  }
161
167
 
162
168
  .t-siw-search-container .searchHeader .search-details {
163
- position: relative;
164
- padding-top: 5px;
169
+ position: relative;
170
+ padding-top: 5px;
165
171
  }
166
172
 
167
173
  .t-siw-search-container .searchHeader .search-details .button-container {
168
- position: absolute;
169
- width: 25px;
170
- top:0;
171
- right:0;
172
- cursor: pointer;
174
+ position: absolute;
175
+ width: 25px;
176
+ top: 0;
177
+ right: 0;
178
+ cursor: pointer;
173
179
  }
174
180
 
175
181
  .t-siw-search-container .searchHeader .glob-field-container.hidden {
176
- display: none;
182
+ display: none;
177
183
  }
178
184
 
179
185
  .t-siw-search-container .searchHeader .glob-field-container .glob-field {
180
- margin-bottom: 8px;
181
- margin-left: 18px;
182
- display: flex;
183
- flex-direction: column;
186
+ margin-bottom: 8px;
187
+ margin-left: 18px;
188
+ display: flex;
189
+ flex-direction: column;
184
190
  }
185
191
 
186
192
  .t-siw-search-container .searchHeader .glob-field-container .glob-field .label {
187
- margin-bottom: 3px;
188
- user-select: none;
189
- font-size: var(--theia-ui-font-size0);
193
+ margin-bottom: 3px;
194
+ user-select: none;
195
+ font-size: var(--theia-ui-font-size0);
190
196
  }
191
197
 
192
- .t-siw-search-container .searchHeader .glob-field-container .glob-field .theia-input:not(:focus)::placeholder {
193
- color: transparent;
198
+ .t-siw-search-container
199
+ .searchHeader
200
+ .glob-field-container
201
+ .glob-field
202
+ .theia-input:not(:focus)::placeholder {
203
+ color: transparent;
194
204
  }
195
205
 
196
206
  .t-siw-search-container .resultContainer {
197
- height: 100%;
198
- margin-left: 13px;
207
+ height: 100%;
208
+ margin-left: 13px;
199
209
  }
200
210
 
201
211
  .t-siw-search-container .result {
202
- overflow: hidden;
203
- width: 100%;
204
- flex: 1;
212
+ overflow: hidden;
213
+ width: 100%;
214
+ flex: 1;
205
215
  }
206
216
 
207
217
  .t-siw-search-container .result .result-head {
208
- display:flex;
218
+ display: flex;
209
219
  }
210
220
 
211
221
  .t-siw-search-container .result .result-head .fa,
212
222
  .t-siw-search-container .result .result-head .theia-file-icons-js {
213
- margin: 0 3px;
223
+ margin: 0 3px;
214
224
  }
215
225
 
216
226
  .t-siw-search-container .result .result-head .file-name {
217
- margin-right: 5px;
227
+ margin-right: 5px;
218
228
  }
219
229
 
220
230
  .t-siw-search-container .result .result-head .file-path {
221
- font-size: var(--theia-ui-font-size0);
222
- margin-left: 3px;
231
+ font-size: var(--theia-ui-font-size0);
232
+ margin-left: 3px;
223
233
  }
224
234
 
225
235
  .t-siw-search-container .resultLine .match {
226
- line-height: normal;
227
- white-space: pre;
228
- background: var(--theia-editor-findMatchHighlightBackground);
229
- border: 1px solid var(--theia-editor-findMatchHighlightBorder);
236
+ line-height: normal;
237
+ white-space: pre;
238
+ background: var(--theia-editor-findMatchHighlightBackground);
239
+ border: 1px solid var(--theia-editor-findMatchHighlightBorder);
230
240
  }
231
241
  .theia-hc .t-siw-search-container .resultLine .match {
232
- border-style: dashed;
242
+ border-style: dashed;
233
243
  }
234
244
 
235
245
  .t-siw-search-container .resultLine .match.strike-through {
236
- text-decoration: line-through;
237
- background: var(--theia-diffEditor-removedTextBackground);
238
- border-color: var(--theia-diffEditor-removedTextBorder);
246
+ text-decoration: line-through;
247
+ background: var(--theia-diffEditor-removedTextBackground);
248
+ border-color: var(--theia-diffEditor-removedTextBorder);
239
249
  }
240
250
 
241
251
  .t-siw-search-container .resultLine .replace-term {
242
- background: var(--theia-diffEditor-insertedTextBackground);
243
- border: 1px solid var(--theia-diffEditor-insertedTextBorder);
252
+ background: var(--theia-diffEditor-insertedTextBackground);
253
+ border: 1px solid var(--theia-diffEditor-insertedTextBorder);
244
254
  }
245
- .theia-hc
246
- .t-siw-search-container .resultLine .replace-term {
247
- border-style: dashed;
255
+ .theia-hc .t-siw-search-container .resultLine .replace-term {
256
+ border-style: dashed;
248
257
  }
249
258
 
250
259
  .t-siw-search-container .noWrapInfo {
251
- width: 100%;
260
+ width: 100%;
252
261
  }
253
262
 
254
263
  .t-siw-search-container .result-head-info {
255
- display: inline-flex;
256
- align-items: center;
264
+ display: inline-flex;
265
+ align-items: center;
257
266
  }
258
267
 
259
268
  .search-in-workspace-editor-match {
260
- background: var(--theia-editor-findMatchHighlightBackground);
269
+ background: var(--theia-editor-findMatchHighlightBackground);
261
270
  }
262
271
 
263
272
  .current-search-in-workspace-editor-match {
264
- background: var(--theia-editor-findMatchBackground)
273
+ background: var(--theia-editor-findMatchBackground);
265
274
  }
266
275
 
267
276
  .current-match-range-highlight {
268
- background: var(--theia-editor-findRangeHighlightBackground);
277
+ background: var(--theia-editor-findRangeHighlightBackground);
269
278
  }
270
279
 
271
280
  .result-node-buttons {
272
- display: none;
281
+ display: none;
273
282
  }
274
283
 
275
284
  .theia-TreeNode:hover .result-node-buttons {
276
- display: flex;
277
- justify-content: flex-end;
278
- align-items: center;
279
- align-self: center;
285
+ display: flex;
286
+ justify-content: flex-end;
287
+ align-items: center;
288
+ align-self: center;
280
289
  }
281
290
 
282
291
  .theia-TreeNode:hover .result-head .notification-count-container {
283
- display: none;
292
+ display: none;
284
293
  }
285
294
 
286
295
  .result-node-buttons > span {
287
- width: 15px;
288
- height: 15px;
289
- margin-left: 2.5px;
290
- margin-right: 0.5px;
291
- background-repeat: no-repeat;
292
- background-position: center;
293
- background-size: contain;
296
+ width: 15px;
297
+ height: 15px;
298
+ margin-left: 2.5px;
299
+ margin-right: 0.5px;
300
+ background-repeat: no-repeat;
301
+ background-position: center;
302
+ background-size: contain;
294
303
  }
295
304
 
296
305
  .search-and-replace-container {
297
- display: flex;
306
+ display: flex;
298
307
  }
299
308
 
300
309
  .replace-toggle {
301
- display: flex;
302
- align-items: center;
303
- width: 16px;
304
- min-width: 16px;
305
- justify-content: center;
306
- margin-right: 2px;
307
- box-sizing: border-box;
310
+ display: flex;
311
+ align-items: center;
312
+ width: 16px;
313
+ min-width: 16px;
314
+ justify-content: center;
315
+ margin-right: 2px;
316
+ box-sizing: border-box;
308
317
  }
309
318
 
310
319
  .theia-side-panel .replace-toggle {
311
- width: 16px;
312
- min-width: 16px;
320
+ width: 16px;
321
+ min-width: 16px;
313
322
  }
314
323
 
315
324
  .theia-side-panel .replace-toggle .codicon {
316
- padding: 0px;
325
+ padding: 0px;
317
326
  }
318
327
 
319
328
  .replace-toggle:hover {
320
- background: rgba(50%, 50%, 50%, 0.2);
329
+ background: rgba(50%, 50%, 50%, 0.2);
321
330
  }
322
331
 
323
332
  .search-and-replace-fields {
324
- display: flex;
325
- flex-direction: column;
326
- flex: 1;
333
+ display: flex;
334
+ flex-direction: column;
335
+ flex: 1;
327
336
  }
328
337
 
329
338
  .replace-field {
330
- display: flex;
331
- margin-top: 5px;
339
+ display: flex;
340
+ margin-top: 5px;
332
341
  }
333
342
 
334
343
  .replace-field.hidden {
335
- display: none;
344
+ display: none;
336
345
  }
337
346
 
338
347
  .replace-all-button-container {
339
- width: 25px;
340
- display: flex;
341
- align-items: center;
342
- justify-content: center;
348
+ width: 25px;
349
+ display: flex;
350
+ align-items: center;
351
+ justify-content: center;
343
352
  }
344
353
 
345
354
  .result-node-buttons .replace-result {
346
- background-image: var(--theia-icon-replace);
355
+ background-image: var(--theia-icon-replace);
347
356
  }
348
357
  .result-node-buttons .replace-all-result {
349
- background-image: var(--theia-icon-replace-all);
358
+ background-image: var(--theia-icon-replace-all);
350
359
  }
351
360
 
352
361
  .replace-all-button-container .action-label.disabled {
353
- opacity: var(--theia-mod-disabled-opacity);
354
- background: transparent;
355
- cursor: default;
362
+ opacity: var(--theia-mod-disabled-opacity);
363
+ background: transparent;
364
+ cursor: default;
356
365
  }
357
366
 
358
367
  .highlighted-count-container {
359
- background-color: var(--theia-list-activeSelectionBackground);
360
- color: var(--theia-list-activeSelectionForeground);
368
+ background-color: var(--theia-list-activeSelectionBackground);
369
+ color: var(--theia-list-activeSelectionForeground);
361
370
  }
362
371
 
363
372
  .t-siw-search-container .searchHeader .search-info {
364
- color: var(--theia-descriptionForeground);
365
- margin-left: 17px;
373
+ color: var(--theia-descriptionForeground);
374
+ margin-left: 17px;
366
375
  }
367
376
 
368
377
  .theia-siw-lineNumber {
369
- opacity: .7;
370
- padding-right: 4px;
378
+ opacity: 0.7;
379
+ padding-right: 4px;
371
380
  }
@@ -11,7 +11,7 @@
11
11
  // with the GNU Classpath Exception which is available at
12
12
  // https://www.gnu.org/software/classpath/license.html.
13
13
  //
14
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
14
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
15
15
  // *****************************************************************************
16
16
 
17
17
  import { JsonRpcServer } from '@theia/core';
@@ -11,7 +11,7 @@
11
11
  // with the GNU Classpath Exception which is available at
12
12
  // https://www.gnu.org/software/classpath/license.html.
13
13
  //
14
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
14
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
15
15
  // *****************************************************************************
16
16
 
17
17
  import { Container } from '@theia/core/shared/inversify';
@@ -11,7 +11,7 @@
11
11
  // with the GNU Classpath Exception which is available at
12
12
  // https://www.gnu.org/software/classpath/license.html.
13
13
  //
14
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
14
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
15
15
  // *****************************************************************************
16
16
 
17
17
  import * as fs from '@theia/core/shared/fs-extra';
@@ -11,7 +11,7 @@
11
11
  // with the GNU Classpath Exception which is available at
12
12
  // https://www.gnu.org/software/classpath/license.html.
13
13
  //
14
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
14
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
15
15
  // *****************************************************************************
16
16
 
17
17
  import { ContainerModule } from '@theia/core/shared/inversify';