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