@theia/scm 1.53.0-next.4 → 1.53.0-next.55

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 (41) hide show
  1. package/README.md +31 -31
  2. package/lib/browser/scm-commit-widget.js +1 -1
  3. package/lib/browser/scm-contribution.js +5 -5
  4. package/package.json +7 -7
  5. package/src/browser/decorations/scm-decorations-service.ts +102 -102
  6. package/src/browser/decorations/scm-navigator-decorator.ts +121 -121
  7. package/src/browser/decorations/scm-tab-bar-decorator.ts +83 -83
  8. package/src/browser/dirty-diff/content-lines.spec.ts +42 -42
  9. package/src/browser/dirty-diff/content-lines.ts +121 -121
  10. package/src/browser/dirty-diff/diff-computer.spec.ts +455 -455
  11. package/src/browser/dirty-diff/diff-computer.ts +177 -177
  12. package/src/browser/dirty-diff/dirty-diff-decorator.ts +114 -114
  13. package/src/browser/dirty-diff/dirty-diff-module.ts +33 -33
  14. package/src/browser/dirty-diff/dirty-diff-navigator.ts +288 -288
  15. package/src/browser/dirty-diff/dirty-diff-widget.ts +364 -364
  16. package/src/browser/scm-amend-component.tsx +600 -600
  17. package/src/browser/scm-amend-widget.tsx +77 -77
  18. package/src/browser/scm-avatar-service.ts +27 -27
  19. package/src/browser/scm-colors.ts +21 -21
  20. package/src/browser/scm-commit-widget.tsx +215 -215
  21. package/src/browser/scm-context-key-service.ts +46 -46
  22. package/src/browser/scm-contribution.ts +452 -452
  23. package/src/browser/scm-frontend-module.ts +149 -149
  24. package/src/browser/scm-groups-tree-model.ts +78 -78
  25. package/src/browser/scm-input.ts +164 -164
  26. package/src/browser/scm-layout-migrations.ts +64 -64
  27. package/src/browser/scm-no-repository-widget.tsx +41 -41
  28. package/src/browser/scm-preferences.ts +63 -63
  29. package/src/browser/scm-provider.ts +91 -91
  30. package/src/browser/scm-quick-open-service.ts +48 -48
  31. package/src/browser/scm-repository.ts +52 -52
  32. package/src/browser/scm-service.ts +108 -108
  33. package/src/browser/scm-tree-label-provider.ts +44 -44
  34. package/src/browser/scm-tree-model.ts +405 -405
  35. package/src/browser/scm-tree-widget.tsx +838 -838
  36. package/src/browser/scm-widget.tsx +204 -204
  37. package/src/browser/style/dirty-diff-decorator.css +53 -53
  38. package/src/browser/style/dirty-diff.css +50 -50
  39. package/src/browser/style/index.css +271 -271
  40. package/src/browser/style/scm-amend-component.css +94 -94
  41. package/src/browser/style/scm.svg +4 -4
@@ -1,94 +1,94 @@
1
- /********************************************************************************
2
- * Copyright (C) 2018 TypeFox and others.
3
- *
4
- * This program and the accompanying materials are made available under the
5
- * terms of the Eclipse Public License v. 2.0 which is available at
6
- * http://www.eclipse.org/legal/epl-2.0.
7
- *
8
- * This Source Code may also be made available under the following Secondary
9
- * Licenses when the conditions for such availability set forth in the Eclipse
10
- * Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
- * with the GNU Classpath Exception which is available at
12
- * https://www.gnu.org/software/classpath/license.html.
13
- *
14
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
15
- ********************************************************************************/
16
-
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;
23
- }
24
-
25
- .theia-scm-amend-outer-container {
26
- display: flex;
27
- flex-direction: column;
28
- width: 100%;
29
- overflow: auto;
30
- }
31
-
32
- .theia-scm-commit-and-button {
33
- display: flex;
34
- white-space: nowrap;
35
- overflow: hidden;
36
- width: 100%;
37
- }
38
-
39
- .theia-scm-commit-avatar-and-text {
40
- display: flex;
41
- white-space: nowrap;
42
- overflow: hidden;
43
- width: 100%;
44
- padding-top: 2px;
45
- }
46
-
47
- .theia-scm-commit-avatar-and-text img {
48
- width: 27px;
49
- }
50
-
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%;
58
- }
59
-
60
- .theia-scm-commit-message-avatar {
61
- margin-right: 5px;
62
- }
63
-
64
- .theia-scm-commit-message-summary {
65
- white-space: nowrap;
66
- overflow: hidden;
67
- text-overflow: ellipsis;
68
- }
69
-
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;
76
- }
77
-
78
- .theia-scm-flex-container-center {
79
- display: flex;
80
- align-items: center;
81
- }
82
-
83
- .theia-scm-scrolling-container {
84
- position: relative;
85
- width: 100%;
86
- overflow: hidden;
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;
94
- }
1
+ /********************************************************************************
2
+ * Copyright (C) 2018 TypeFox and others.
3
+ *
4
+ * This program and the accompanying materials are made available under the
5
+ * terms of the Eclipse Public License v. 2.0 which is available at
6
+ * http://www.eclipse.org/legal/epl-2.0.
7
+ *
8
+ * This Source Code may also be made available under the following Secondary
9
+ * Licenses when the conditions for such availability set forth in the Eclipse
10
+ * Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
+ * with the GNU Classpath Exception which is available at
12
+ * https://www.gnu.org/software/classpath/license.html.
13
+ *
14
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
15
+ ********************************************************************************/
16
+
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;
23
+ }
24
+
25
+ .theia-scm-amend-outer-container {
26
+ display: flex;
27
+ flex-direction: column;
28
+ width: 100%;
29
+ overflow: auto;
30
+ }
31
+
32
+ .theia-scm-commit-and-button {
33
+ display: flex;
34
+ white-space: nowrap;
35
+ overflow: hidden;
36
+ width: 100%;
37
+ }
38
+
39
+ .theia-scm-commit-avatar-and-text {
40
+ display: flex;
41
+ white-space: nowrap;
42
+ overflow: hidden;
43
+ width: 100%;
44
+ padding-top: 2px;
45
+ }
46
+
47
+ .theia-scm-commit-avatar-and-text img {
48
+ width: 27px;
49
+ }
50
+
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%;
58
+ }
59
+
60
+ .theia-scm-commit-message-avatar {
61
+ margin-right: 5px;
62
+ }
63
+
64
+ .theia-scm-commit-message-summary {
65
+ white-space: nowrap;
66
+ overflow: hidden;
67
+ text-overflow: ellipsis;
68
+ }
69
+
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;
76
+ }
77
+
78
+ .theia-scm-flex-container-center {
79
+ display: flex;
80
+ align-items: center;
81
+ }
82
+
83
+ .theia-scm-scrolling-container {
84
+ position: relative;
85
+ width: 100%;
86
+ overflow: hidden;
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;
94
+ }
@@ -1,4 +1,4 @@
1
- <!--Copyright (c) Microsoft Corporation. All rights reserved.-->
2
- <!--Copyright (C) 2019 TypeFox and others.-->
3
- <!--Licensed under the MIT License. See License.txt in the project root for license information.-->
4
- <svg fill="#F6F6F6" height="28" viewBox="0 0 28 28" width="28" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="m20 0c-2.22 0-4 1.78-4 4 0 1.46.82 2.76 2 3.44v2.56l-4 4-4-4v-2.56c1.18-.68 2-1.96 2-3.44 0-2.22-1.78-4-4-4s-4 1.78-4 4c0 1.46.82 2.76 2 3.44v3.56l6 6v3.56c-1.18.68-2 1.96-2 3.44 0 2.22 1.78 4 4 4s4-1.78 4-4c0-1.46-.82-2.76-2-3.44v-3.56l6-6v-3.56c1.18-.68 2-1.96 2-3.44 0-2.22-1.78-4-4-4zm-12 6.4c-1.32 0-2.4-1.1-2.4-2.4s1.1-2.4 2.4-2.4 2.4 1.1 2.4 2.4-1.1 2.4-2.4 2.4zm6 20c-1.32 0-2.4-1.1-2.4-2.4s1.1-2.4 2.4-2.4 2.4 1.1 2.4 2.4-1.1 2.4-2.4 2.4zm6-20c-1.32 0-2.4-1.1-2.4-2.4s1.1-2.4 2.4-2.4 2.4 1.1 2.4 2.4-1.1 2.4-2.4 2.4z" fill="#F6F6F6" fill-rule="evenodd"/></svg>
1
+ <!--Copyright (c) Microsoft Corporation. All rights reserved.-->
2
+ <!--Copyright (C) 2019 TypeFox and others.-->
3
+ <!--Licensed under the MIT License. See License.txt in the project root for license information.-->
4
+ <svg fill="#F6F6F6" height="28" viewBox="0 0 28 28" width="28" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="m20 0c-2.22 0-4 1.78-4 4 0 1.46.82 2.76 2 3.44v2.56l-4 4-4-4v-2.56c1.18-.68 2-1.96 2-3.44 0-2.22-1.78-4-4-4s-4 1.78-4 4c0 1.46.82 2.76 2 3.44v3.56l6 6v3.56c-1.18.68-2 1.96-2 3.44 0 2.22 1.78 4 4 4s4-1.78 4-4c0-1.46-.82-2.76-2-3.44v-3.56l6-6v-3.56c1.18-.68 2-1.96 2-3.44 0-2.22-1.78-4-4-4zm-12 6.4c-1.32 0-2.4-1.1-2.4-2.4s1.1-2.4 2.4-2.4 2.4 1.1 2.4 2.4-1.1 2.4-2.4 2.4zm6 20c-1.32 0-2.4-1.1-2.4-2.4s1.1-2.4 2.4-2.4 2.4 1.1 2.4 2.4-1.1 2.4-2.4 2.4zm6-20c-1.32 0-2.4-1.1-2.4-2.4s1.1-2.4 2.4-2.4 2.4 1.1 2.4 2.4-1.1 2.4-2.4 2.4z" fill="#F6F6F6" fill-rule="evenodd"/></svg>