@theia/scm 1.39.0-next.2 → 1.39.0-next.20

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 (95) hide show
  1. package/lib/browser/decorations/scm-decorations-service.js +1 -1
  2. package/lib/browser/decorations/scm-decorations-service.js.map +1 -1
  3. package/lib/browser/decorations/scm-navigator-decorator.js +1 -1
  4. package/lib/browser/decorations/scm-navigator-decorator.js.map +1 -1
  5. package/lib/browser/decorations/scm-tab-bar-decorator.js +1 -1
  6. package/lib/browser/decorations/scm-tab-bar-decorator.js.map +1 -1
  7. package/lib/browser/dirty-diff/content-lines.js +1 -1
  8. package/lib/browser/dirty-diff/content-lines.js.map +1 -1
  9. package/lib/browser/dirty-diff/content-lines.spec.js +1 -1
  10. package/lib/browser/dirty-diff/content-lines.spec.js.map +1 -1
  11. package/lib/browser/dirty-diff/diff-computer.js +1 -1
  12. package/lib/browser/dirty-diff/diff-computer.js.map +1 -1
  13. package/lib/browser/dirty-diff/diff-computer.spec.js +1 -1
  14. package/lib/browser/dirty-diff/diff-computer.spec.js.map +1 -1
  15. package/lib/browser/dirty-diff/dirty-diff-decorator.js +1 -1
  16. package/lib/browser/dirty-diff/dirty-diff-decorator.js.map +1 -1
  17. package/lib/browser/dirty-diff/dirty-diff-module.js +1 -1
  18. package/lib/browser/dirty-diff/dirty-diff-module.js.map +1 -1
  19. package/lib/browser/scm-amend-component.js +1 -1
  20. package/lib/browser/scm-amend-component.js.map +1 -1
  21. package/lib/browser/scm-amend-widget.js +1 -1
  22. package/lib/browser/scm-amend-widget.js.map +1 -1
  23. package/lib/browser/scm-avatar-service.js +1 -1
  24. package/lib/browser/scm-avatar-service.js.map +1 -1
  25. package/lib/browser/scm-commit-widget.js +1 -1
  26. package/lib/browser/scm-commit-widget.js.map +1 -1
  27. package/lib/browser/scm-context-key-service.js +1 -1
  28. package/lib/browser/scm-context-key-service.js.map +1 -1
  29. package/lib/browser/scm-contribution.js +1 -1
  30. package/lib/browser/scm-contribution.js.map +1 -1
  31. package/lib/browser/scm-frontend-module.js +1 -1
  32. package/lib/browser/scm-frontend-module.js.map +1 -1
  33. package/lib/browser/scm-groups-tree-model.js +1 -1
  34. package/lib/browser/scm-groups-tree-model.js.map +1 -1
  35. package/lib/browser/scm-input.js +1 -1
  36. package/lib/browser/scm-input.js.map +1 -1
  37. package/lib/browser/scm-layout-migrations.js +1 -1
  38. package/lib/browser/scm-layout-migrations.js.map +1 -1
  39. package/lib/browser/scm-no-repository-widget.js +1 -1
  40. package/lib/browser/scm-no-repository-widget.js.map +1 -1
  41. package/lib/browser/scm-preferences.js +1 -1
  42. package/lib/browser/scm-preferences.js.map +1 -1
  43. package/lib/browser/scm-provider.d.ts +2 -0
  44. package/lib/browser/scm-provider.d.ts.map +1 -1
  45. package/lib/browser/scm-provider.js +1 -1
  46. package/lib/browser/scm-provider.js.map +1 -1
  47. package/lib/browser/scm-quick-open-service.js +1 -1
  48. package/lib/browser/scm-quick-open-service.js.map +1 -1
  49. package/lib/browser/scm-repository.js +1 -1
  50. package/lib/browser/scm-repository.js.map +1 -1
  51. package/lib/browser/scm-service.js +1 -1
  52. package/lib/browser/scm-service.js.map +1 -1
  53. package/lib/browser/scm-tree-label-provider.js +1 -1
  54. package/lib/browser/scm-tree-label-provider.js.map +1 -1
  55. package/lib/browser/scm-tree-model.js +1 -1
  56. package/lib/browser/scm-tree-model.js.map +1 -1
  57. package/lib/browser/scm-tree-widget.d.ts +5 -0
  58. package/lib/browser/scm-tree-widget.d.ts.map +1 -1
  59. package/lib/browser/scm-tree-widget.js +28 -6
  60. package/lib/browser/scm-tree-widget.js.map +1 -1
  61. package/lib/browser/scm-widget.js +1 -1
  62. package/lib/browser/scm-widget.js.map +1 -1
  63. package/package.json +6 -6
  64. package/src/browser/decorations/scm-decorations-service.ts +1 -1
  65. package/src/browser/decorations/scm-navigator-decorator.ts +1 -1
  66. package/src/browser/decorations/scm-tab-bar-decorator.ts +1 -1
  67. package/src/browser/dirty-diff/content-lines.spec.ts +1 -1
  68. package/src/browser/dirty-diff/content-lines.ts +1 -1
  69. package/src/browser/dirty-diff/diff-computer.spec.ts +1 -1
  70. package/src/browser/dirty-diff/diff-computer.ts +1 -1
  71. package/src/browser/dirty-diff/dirty-diff-decorator.ts +1 -1
  72. package/src/browser/dirty-diff/dirty-diff-module.ts +1 -1
  73. package/src/browser/scm-amend-component.tsx +1 -1
  74. package/src/browser/scm-amend-widget.tsx +1 -1
  75. package/src/browser/scm-avatar-service.ts +1 -1
  76. package/src/browser/scm-commit-widget.tsx +1 -1
  77. package/src/browser/scm-context-key-service.ts +1 -1
  78. package/src/browser/scm-contribution.ts +1 -1
  79. package/src/browser/scm-frontend-module.ts +1 -1
  80. package/src/browser/scm-groups-tree-model.ts +1 -1
  81. package/src/browser/scm-input.ts +1 -1
  82. package/src/browser/scm-layout-migrations.ts +1 -1
  83. package/src/browser/scm-no-repository-widget.tsx +1 -1
  84. package/src/browser/scm-preferences.ts +1 -1
  85. package/src/browser/scm-provider.ts +3 -1
  86. package/src/browser/scm-quick-open-service.ts +1 -1
  87. package/src/browser/scm-repository.ts +1 -1
  88. package/src/browser/scm-service.ts +1 -1
  89. package/src/browser/scm-tree-label-provider.ts +1 -1
  90. package/src/browser/scm-tree-model.ts +1 -1
  91. package/src/browser/scm-tree-widget.tsx +26 -6
  92. package/src/browser/scm-widget.tsx +1 -1
  93. package/src/browser/style/dirty-diff.css +14 -14
  94. package/src/browser/style/index.css +119 -111
  95. package/src/browser/style/scm-amend-component.css +46 -46
@@ -11,257 +11,265 @@
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
  .theia-scm-commit {
18
- overflow: hidden;
19
- font-size: var(--theia-ui-font-size1);
20
- max-height: calc(100% - var(--theia-border-width));
21
- position: relative;
18
+ overflow: hidden;
19
+ font-size: var(--theia-ui-font-size1);
20
+ max-height: calc(100% - var(--theia-border-width));
21
+ position: relative;
22
22
  }
23
23
 
24
24
  .theia-scm {
25
- padding: 5px;
26
- box-sizing: border-box;
27
- height: 100%;
25
+ padding: 5px;
26
+ box-sizing: border-box;
27
+ height: 100%;
28
28
  }
29
29
 
30
30
  .theia-side-panel .theia-scm {
31
- padding-left: 19px;
31
+ padding-left: 19px;
32
32
  }
33
33
 
34
34
  .groups-outer-container:focus {
35
- outline: 0;
36
- box-shadow: none;
37
- border: none;
35
+ outline: 0;
36
+ box-shadow: none;
37
+ border: none;
38
38
  }
39
39
 
40
40
  .theia-scm .noWrapInfo {
41
- width: 100%;
42
- align-items: center;
41
+ width: 100%;
42
+ align-items: center;
43
43
  }
44
44
 
45
- .theia-scm:focus, .theia-scm :focus {
46
- outline: 0;
47
- box-shadow: none;
48
- border: none;
45
+ .theia-scm:focus,
46
+ .theia-scm :focus {
47
+ outline: 0;
48
+ box-shadow: none;
49
+ border: none;
49
50
  }
50
51
 
51
52
  .theia-scm .space-between {
52
- justify-content: space-between;
53
+ justify-content: space-between;
53
54
  }
54
55
 
55
56
  .theia-scm .changesHeader {
56
- font-weight: bold;
57
+ font-weight: bold;
57
58
  }
58
59
 
59
60
  .theia-scm .theia-scm-amend {
60
- margin: 5px 0;
61
+ margin: 5px 0;
61
62
  }
62
63
 
63
64
  .theia-scm #messageInputContainer {
64
- position: relative;
65
+ position: relative;
65
66
  }
66
67
 
67
68
  .theia-scm #repositoryListContainer {
68
- display: flex;
69
- margin-bottom: 5px;
70
- flex: 1;
69
+ display: flex;
70
+ margin-bottom: 5px;
71
+ flex: 1;
71
72
  }
72
73
 
73
74
  .theia-scm .groups-outer-container {
74
- overflow-y: auto;
75
- width: 100%;
76
- flex-grow: 1;
75
+ overflow-y: auto;
76
+ width: 100%;
77
+ flex-grow: 1;
77
78
  }
78
79
 
79
80
  .theia-scm .warn {
80
- background-color: var(--theia-inputValidation-warningBackground) !important;
81
+ background-color: var(--theia-inputValidation-warningBackground) !important;
81
82
  }
82
83
 
83
84
  .theia-scm-main-container {
84
- display: flex;
85
- flex-direction: column;
86
- height: 100%;
85
+ display: flex;
86
+ flex-direction: column;
87
+ height: 100%;
87
88
  }
88
89
 
89
90
  .theia-scm-input-message-container {
90
- display: flex;
91
- flex-direction: column;
92
- margin: 0px 0px 7px 0px;
93
- max-height: 400px;
91
+ display: flex;
92
+ flex-direction: column;
93
+ margin: 0px 0px 7px 0px;
94
+ max-height: 400px;
94
95
  }
95
96
 
96
97
  .theia-scm-input-message-container textarea {
97
- line-height: var(--theia-content-line-height);
98
- resize: none;
99
- box-sizing: border-box;
100
- min-height: 32px;
101
- padding: 4px;
102
- border: none;
98
+ line-height: var(--theia-content-line-height);
99
+ resize: none;
100
+ box-sizing: border-box;
101
+ min-height: 32px;
102
+ padding: 4px;
103
+ border: none;
103
104
  }
104
105
 
105
106
  .theia-scm-input-message-container textarea:placeholder-shown {
106
- overflow: hidden;
107
- text-overflow: ellipsis;
108
- white-space: nowrap;
107
+ overflow: hidden;
108
+ text-overflow: ellipsis;
109
+ white-space: nowrap;
109
110
  }
110
111
 
111
112
  .theia-scm-input-message-container textarea:focus {
112
- outline: var(--theia-border-width) solid var(--theia-focusBorder);
113
+ outline: var(--theia-border-width) solid var(--theia-focusBorder);
113
114
  }
114
115
 
115
116
  .theia-scm-input-message {
116
- width: 100%;
117
+ width: 100%;
117
118
  }
118
119
 
119
120
  .theia-scm-input-message-idle:not(:focus) {
120
- border-color: var(--theia-input-border);
121
+ border-color: var(--theia-input-border);
121
122
  }
122
123
 
123
124
  .theia-scm-input-message-info {
124
- border-color: var(--theia-inputValidation-infoBorder) !important;
125
+ border-color: var(--theia-inputValidation-infoBorder) !important;
125
126
  }
126
127
 
127
128
  .theia-scm-input-message-success {
128
- border-color: var(--theia-successBackground) !important;
129
+ border-color: var(--theia-successBackground) !important;
129
130
  }
130
131
 
131
132
  .theia-scm-input-message-warning {
132
- border-color: var(--theia-inputValidation-warningBorder) !important;
133
+ border-color: var(--theia-inputValidation-warningBorder) !important;
133
134
  }
134
135
 
135
136
  .theia-scm-input-message-error {
136
- border-color: var(--theia-inputValidation-errorBorder) !important;
137
+ border-color: var(--theia-inputValidation-errorBorder) !important;
137
138
  }
138
139
 
139
140
  .theia-scm-message,
140
141
  .theia-scm-input-validation-message {
141
- padding: 4px 4px 4px 4px;
142
+ padding: 4px 4px 4px 4px;
142
143
  }
143
144
 
144
145
  .theia-scm-validation-message-info {
145
- background-color: var(--theia-inputValidation-infoBackground) !important;
146
- color: var(--theia-inputValidation-infoForeground);
147
- border: var(--theia-border-width) solid var(--theia-inputValidation-infoBorder);
148
- border-top: none; /* remove top border since the input declares it already */
146
+ background-color: var(--theia-inputValidation-infoBackground) !important;
147
+ color: var(--theia-inputValidation-infoForeground);
148
+ border: var(--theia-border-width) solid
149
+ var(--theia-inputValidation-infoBorder);
150
+ border-top: none; /* remove top border since the input declares it already */
149
151
  }
150
152
 
151
153
  .theia-scm-validation-message-success {
152
- background-color: var(--theia-successBackground) !important;
153
- color: var(--theia-inputValidation-warningBackground);
154
+ background-color: var(--theia-successBackground) !important;
155
+ color: var(--theia-inputValidation-warningBackground);
154
156
  }
155
157
 
156
158
  .theia-scm-message-warning,
157
159
  .theia-scm-validation-message-warning {
158
- background-color: var(--theia-inputValidation-warningBackground) !important;
159
- color: var(--theia-inputValidation-warningForeground);
160
- border: var(--theia-border-width) solid var(--theia-inputValidation-warningBorder);
161
- border-top: none; /* remove top border since the input declares it already */
160
+ background-color: var(--theia-inputValidation-warningBackground) !important;
161
+ color: var(--theia-inputValidation-warningForeground);
162
+ border: var(--theia-border-width) solid
163
+ var(--theia-inputValidation-warningBorder);
164
+ border-top: none; /* remove top border since the input declares it already */
162
165
  }
163
166
 
164
167
  .theia-scm-validation-message-error {
165
- background-color: var(--theia-inputValidation-errorBackground) !important;
166
- color: var(--theia-inputValidation-errorForeground);
167
- border: var(--theia-border-width) solid var(--theia-inputValidation-errorBorder);
168
- border-top: none; /* remove top border since the input declares it already */
168
+ background-color: var(--theia-inputValidation-errorBackground) !important;
169
+ color: var(--theia-inputValidation-errorForeground);
170
+ border: var(--theia-border-width) solid
171
+ var(--theia-inputValidation-errorBorder);
172
+ border-top: none; /* remove top border since the input declares it already */
169
173
  }
170
174
 
171
175
  .no-select:focus {
172
- outline: none;
176
+ outline: none;
173
177
  }
174
178
 
175
179
  .theia-scm .scmItem {
176
- font-size: var(--theia-ui-font-size1);
177
- display: flex;
178
- align-items: center;
179
- justify-content: space-between;
180
- height: var(--theia-content-line-height);
181
- line-height: var(--theia-content-line-height);
182
- padding: 0px calc(var(--theia-ui-padding)/2);
180
+ font-size: var(--theia-ui-font-size1);
181
+ display: flex;
182
+ align-items: center;
183
+ justify-content: space-between;
184
+ height: var(--theia-content-line-height);
185
+ line-height: var(--theia-content-line-height);
186
+ padding: 0px calc(var(--theia-ui-padding) / 2);
183
187
  }
184
188
 
185
189
  .theia-scm .scmItem:hover {
186
- cursor: pointer;
190
+ cursor: pointer;
187
191
  }
188
192
 
189
193
  .theia-scm:focus-within .scmItem:focus {
190
- background: var(--theia-list-focusBackground);
191
- color: var(--theia-list-focusForeground);
194
+ background: var(--theia-list-focusBackground);
195
+ color: var(--theia-list-focusForeground);
192
196
  }
193
197
 
194
198
  .theia-scm:not(:focus-within) .scmItem:not(:focus) {
195
- background: var(--theia-list-inactiveFocusBackground);
199
+ background: var(--theia-list-inactiveFocusBackground);
196
200
  }
197
201
 
198
202
  .theia-scm:focus-within .scmItem.theia-mod-selected {
199
- background: var(--theia-list-activeSelectionBackground);
200
- color: var(--theia-list-activeSelectionForeground);
203
+ background: var(--theia-list-activeSelectionBackground);
204
+ color: var(--theia-list-activeSelectionForeground);
201
205
  }
202
206
 
203
207
  .theia-scm:not(:focus-within) .scmItem.theia-mod-selected {
204
- background: var(--theia-list-inactiveSelectionBackground);
205
- color: var(--theia-list-inactiveSelectionForeground);
208
+ background: var(--theia-list-inactiveSelectionBackground);
209
+ color: var(--theia-list-inactiveSelectionForeground);
206
210
  }
207
211
 
208
212
  .theia-scm .scmItem .path {
209
- font-size: var(--theia-ui-font-size0);
210
- margin-left: var(--theia-ui-padding);
211
- opacity: .7;
213
+ font-size: var(--theia-ui-font-size0);
214
+ margin-left: var(--theia-ui-padding);
215
+ opacity: 0.7;
212
216
  }
213
217
 
214
218
  .theia-scm .scmItem .status {
215
- width: 16px;
216
- text-align: center;
217
- padding-top: 2px;
218
- padding-bottom: 2px;
219
- font-size: var(--theia-ui-font-size0);
219
+ width: 16px;
220
+ text-align: center;
221
+ padding-top: 2px;
222
+ padding-bottom: 2px;
223
+ font-size: var(--theia-ui-font-size0);
224
+ }
225
+
226
+ .theia-scm .decoration-icon {
227
+ margin: 2px 0px;
220
228
  }
221
229
 
222
230
  .scm-change-count {
223
- float: right;
231
+ float: right;
224
232
  }
225
233
 
226
234
  .scm-theia-header {
227
- display: flex;
228
- align-items: center;
235
+ display: flex;
236
+ align-items: center;
229
237
  }
230
238
 
231
239
  .scm-theia-header:hover {
232
- cursor: pointer;
240
+ cursor: pointer;
233
241
  }
234
242
 
235
243
  .theia-scm-inline-actions-container {
236
- display: flex;
237
- justify-content: flex-end;
238
- margin-left: 3px;
239
- min-height: 16px;
244
+ display: flex;
245
+ justify-content: flex-end;
246
+ margin-left: 3px;
247
+ min-height: 16px;
240
248
  }
241
249
 
242
250
  .theia-scm-inline-actions {
243
- display: flex;
244
- margin: 0 3px;
251
+ display: flex;
252
+ margin: 0 3px;
245
253
  }
246
254
 
247
255
  .theia-scm-inline-actions a {
248
- color: var(--theia-icon-foreground);
256
+ color: var(--theia-icon-foreground);
249
257
  }
250
258
 
251
259
  .theia-scm-inline-action {
252
- font-size: var(--theia-ui-font-size1);
253
- margin: 0 2px;
254
- cursor: pointer;
255
- display: flex;
256
- align-items: center;
260
+ font-size: var(--theia-ui-font-size1);
261
+ margin: 0 2px;
262
+ cursor: pointer;
263
+ display: flex;
264
+ align-items: center;
257
265
  }
258
266
 
259
267
  .theia-scm-inline-action .open-file {
260
- height: var(--theia-icon-size);
261
- width: 12px;
262
- background: var(--theia-icon-open-file) no-repeat center center;
268
+ height: var(--theia-icon-size);
269
+ width: 12px;
270
+ background: var(--theia-icon-open-file) no-repeat center center;
263
271
  }
264
272
 
265
273
  .theia-scm-panel {
266
- overflow: visible;
274
+ overflow: visible;
267
275
  }
@@ -11,84 +11,84 @@
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
  .theia-scm-commit-container {
18
- display: flex;
19
- flex-direction: column;
20
- border-top: 1px solid var(--theia-sideBarSectionHeader-border);
21
- width: 100%;
22
- padding-top: 6px;
18
+ display: flex;
19
+ flex-direction: column;
20
+ border-top: 1px solid var(--theia-sideBarSectionHeader-border);
21
+ width: 100%;
22
+ padding-top: 6px;
23
23
  }
24
24
 
25
25
  .theia-scm-amend-outer-container {
26
- display: flex;
27
- flex-direction: column;
28
- width: 100%;
29
- overflow: auto;
26
+ display: flex;
27
+ flex-direction: column;
28
+ width: 100%;
29
+ overflow: auto;
30
30
  }
31
31
 
32
32
  .theia-scm-commit-and-button {
33
- display: flex;
34
- white-space: nowrap;
35
- overflow: hidden;
36
- width: 100%;
33
+ display: flex;
34
+ white-space: nowrap;
35
+ overflow: hidden;
36
+ width: 100%;
37
37
  }
38
38
 
39
39
  .theia-scm-commit-avatar-and-text {
40
- display: flex;
41
- white-space: nowrap;
42
- overflow: hidden;
43
- width: 100%;
44
- padding-top: 2px;
40
+ display: flex;
41
+ white-space: nowrap;
42
+ overflow: hidden;
43
+ width: 100%;
44
+ padding-top: 2px;
45
45
  }
46
46
 
47
47
  .theia-scm-commit-avatar-and-text img {
48
- width: 27px;
48
+ width: 27px;
49
49
  }
50
50
 
51
51
  .theia-scm-commit-details {
52
- display: flex;
53
- flex-direction: column;
54
- white-space: nowrap;
55
- overflow: hidden;
56
- text-overflow: ellipsis;
57
- width: 100%;
52
+ display: flex;
53
+ flex-direction: column;
54
+ white-space: nowrap;
55
+ overflow: hidden;
56
+ text-overflow: ellipsis;
57
+ width: 100%;
58
58
  }
59
59
 
60
60
  .theia-scm-commit-message-avatar {
61
- margin-right: 5px;
61
+ margin-right: 5px;
62
62
  }
63
63
 
64
64
  .theia-scm-commit-message-summary {
65
- white-space: nowrap;
66
- overflow: hidden;
67
- text-overflow: ellipsis;
65
+ white-space: nowrap;
66
+ overflow: hidden;
67
+ text-overflow: ellipsis;
68
68
  }
69
69
 
70
70
  .theia-scm-commit-message-time {
71
- white-space: nowrap;
72
- overflow: hidden;
73
- text-overflow: ellipsis;
74
- color: var(--theia-descriptionForeground);
75
- font-size: smaller;
71
+ white-space: nowrap;
72
+ overflow: hidden;
73
+ text-overflow: ellipsis;
74
+ color: var(--theia-descriptionForeground);
75
+ font-size: smaller;
76
76
  }
77
77
 
78
78
  .theia-scm-flex-container-center {
79
- display: flex;
80
- align-items: center;
79
+ display: flex;
80
+ align-items: center;
81
81
  }
82
82
 
83
83
  .theia-scm-scrolling-container {
84
- position: relative;
85
- width: 100%;
86
- overflow: hidden;
84
+ position: relative;
85
+ width: 100%;
86
+ overflow: hidden;
87
87
 
88
- margin-top: 0;
89
- margin-bottom: 0;
90
- padding-top: 0;
91
- padding-bottom: 0;
92
- border-top: 0;
93
- border-bottom: 0;
88
+ margin-top: 0;
89
+ margin-bottom: 0;
90
+ padding-top: 0;
91
+ padding-bottom: 0;
92
+ border-top: 0;
93
+ border-bottom: 0;
94
94
  }