@worktile/theia 13.0.2 → 13.0.3
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/components/toolbar/toolbar.component.scss +0 -3
- package/components/toolbar-dropdown/toolbar-dropdown.component.scss +0 -2
- package/esm2020/components/color-select/color-select.component.mjs +4 -4
- package/esm2020/components/column-resize/column-resize-notifier.mjs +4 -4
- package/esm2020/components/column-resize/column-resize.directive.mjs +4 -4
- package/esm2020/components/column-resize/column-resize.module.mjs +9 -9
- package/esm2020/components/column-resize/event-dispatcher.mjs +4 -4
- package/esm2020/components/column-resize/overlay-handle.component.mjs +4 -4
- package/esm2020/components/column-resize/resizing.store.mjs +4 -4
- package/esm2020/components/contextmenu/contextmenu.component.mjs +4 -4
- package/esm2020/components/conversion-hint/conversion-hint.component.mjs +4 -4
- package/esm2020/components/element/element.component.mjs +4 -4
- package/esm2020/components/inline-toolbar/inline-toolbar.component.mjs +4 -4
- package/esm2020/components/table-select/table-select.component.mjs +4 -4
- package/esm2020/components/template/template.component.mjs +4 -4
- package/esm2020/components/text/text.component.mjs +4 -4
- package/esm2020/components/toolbar/toolbar.component.mjs +4 -5
- package/esm2020/components/toolbar-dropdown/toolbar-dropdown.component.mjs +4 -4
- package/esm2020/components/toolbar-group/toolbar-group.component.mjs +4 -4
- package/esm2020/components/toolbar-item/toolbar-item.component.mjs +4 -4
- package/esm2020/core/toolbar-item/base-toolbar-item.mjs +7 -7
- package/esm2020/editor.component.mjs +4 -4
- package/esm2020/editor.module.mjs +5 -5
- package/esm2020/interfaces/view-base.mjs +4 -4
- package/esm2020/pipes.mjs +7 -7
- package/esm2020/plugins/blockquote/blockquote.component.mjs +4 -4
- package/esm2020/plugins/code/code.component.mjs +5 -5
- package/esm2020/plugins/color/toolbar-item.component.mjs +4 -4
- package/esm2020/plugins/hr/hr.component.mjs +4 -4
- package/esm2020/plugins/image/image.component.mjs +4 -4
- package/esm2020/plugins/inline-code/inline-code.component.mjs +4 -4
- package/esm2020/plugins/link/edit/link-edit.component.mjs +4 -4
- package/esm2020/plugins/link/hover/link-hover.component.mjs +4 -4
- package/esm2020/plugins/link/link.component.mjs +7 -7
- package/esm2020/plugins/list/components/bulleted-list.component.mjs +4 -4
- package/esm2020/plugins/list/components/list-item.component.mjs +4 -4
- package/esm2020/plugins/list/components/numbered-list.component.mjs +4 -4
- package/esm2020/plugins/quick-insert/components/quick-insert.component.mjs +4 -4
- package/esm2020/plugins/quick-insert/components/quick-toolbar/quick-toolbar.component.mjs +5 -5
- package/esm2020/plugins/table/components/insert-mark/insert-mark.component.mjs +4 -4
- package/esm2020/plugins/table/components/row/row.component.mjs +4 -4
- package/esm2020/plugins/table/components/table.component.mjs +4 -4
- package/esm2020/plugins/table/components/td/td.component.mjs +4 -4
- package/esm2020/plugins/table/components/toolbar/table-options.component.mjs +4 -4
- package/esm2020/plugins/table/components/toolbar/table-toolbar.component.mjs +5 -5
- package/esm2020/plugins/table/table.service.mjs +4 -4
- package/esm2020/plugins/table/table.store.mjs +4 -4
- package/esm2020/plugins/table/toolbar-item.component.mjs +4 -4
- package/esm2020/plugins/todo-item/todo-item.component.mjs +4 -4
- package/esm2020/plugins/vertical-align/toolbar-item.component.mjs +4 -4
- package/esm2020/services/color-select.service.mjs +4 -4
- package/esm2020/services/context.service.mjs +4 -4
- package/esm2020/services/table-contextmenu.service.mjs +4 -4
- package/esm2020/services/toolbar.service.mjs +4 -4
- package/fesm2015/worktile-theia.mjs +174 -175
- package/fesm2015/worktile-theia.mjs.map +1 -1
- package/fesm2020/worktile-theia.mjs +174 -175
- package/fesm2020/worktile-theia.mjs.map +1 -1
- package/package.json +1 -1
- package/plugins/table/components/table.component.scss +5 -7
- package/styles/editor.scss +0 -25
- package/styles/mixins.scss +37 -30
- package/styles/typo.scss +2 -9
package/package.json
CHANGED
|
@@ -359,14 +359,12 @@ $control-corner-width: 12px;
|
|
|
359
359
|
}
|
|
360
360
|
|
|
361
361
|
.the-temp-table-toolbar-wrap {
|
|
362
|
-
@include mixins.the-toolbar-layout();
|
|
363
|
-
z-index: 10;
|
|
364
|
-
border-radius: 5px;
|
|
365
362
|
display: block;
|
|
363
|
+
border-radius: 5px;
|
|
364
|
+
z-index: 10;
|
|
366
365
|
|
|
367
|
-
.
|
|
368
|
-
|
|
369
|
-
}
|
|
366
|
+
@include mixins.the-toolbar-layout();
|
|
367
|
+
@include mixins.the-custom-action();
|
|
370
368
|
}
|
|
371
369
|
|
|
372
370
|
.the-temp-table-col-controls-wrapper {
|
|
@@ -384,7 +382,7 @@ $control-corner-width: 12px;
|
|
|
384
382
|
.table-options {
|
|
385
383
|
background: transparent;
|
|
386
384
|
margin-right: 5px;
|
|
387
|
-
color: variables.$gray-
|
|
385
|
+
color: variables.$gray-700;
|
|
388
386
|
&:hover {
|
|
389
387
|
background: rgba(variables.$primary, 0.1);
|
|
390
388
|
color: variables.$primary;
|
package/styles/editor.scss
CHANGED
|
@@ -227,28 +227,3 @@
|
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
229
|
|
|
230
|
-
.the-block-toolbar {
|
|
231
|
-
.thy-popover-container {
|
|
232
|
-
min-width: auto;
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
.the-block-toolbar-popover {
|
|
238
|
-
display: flex;
|
|
239
|
-
padding: 5px 10px;
|
|
240
|
-
background: variables.$white;
|
|
241
|
-
box-shadow: variables.$box-shadow;
|
|
242
|
-
|
|
243
|
-
.thy-action {
|
|
244
|
-
&:last-child {
|
|
245
|
-
margin-right: 0;
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
&.remove-link:hover {
|
|
249
|
-
@include mixins.remove-link-hover();
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
|
package/styles/mixins.scss
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
@use 'ngx-tethys/styles/variables.scss';
|
|
2
|
+
@use "ngx-tethys/styles/basic.scss" as thyBasic;
|
|
2
3
|
@use './variables.scss' as theVariables;
|
|
3
4
|
|
|
4
|
-
@mixin remove-link-hover {
|
|
5
|
-
color: variables.$danger;
|
|
6
|
-
background: hsla(0,100%,73%,.1);
|
|
7
|
-
}
|
|
8
|
-
|
|
9
5
|
@mixin controlSelected {
|
|
10
6
|
background-color: rgba($color: variables.$primary, $alpha: 0.6);
|
|
11
7
|
border-color: variables.$primary;
|
|
@@ -16,31 +12,6 @@
|
|
|
16
12
|
border-color: variables.$danger;
|
|
17
13
|
}
|
|
18
14
|
|
|
19
|
-
@mixin the-custom-action() {
|
|
20
|
-
.thy-action {
|
|
21
|
-
position: relative;
|
|
22
|
-
cursor: pointer;
|
|
23
|
-
|
|
24
|
-
&:not(:last-child) {
|
|
25
|
-
margin-right: theVariables.$thy-action-margin-right;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
@mixin the-action-disabled {
|
|
31
|
-
.thy-action {
|
|
32
|
-
&.disabled {
|
|
33
|
-
cursor: not-allowed;
|
|
34
|
-
color: variables.$gray-400;
|
|
35
|
-
|
|
36
|
-
&:hover {
|
|
37
|
-
background: transparent;
|
|
38
|
-
border-radius: unset;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
15
|
@mixin the-toolbar-disabled {
|
|
45
16
|
&.disabled {
|
|
46
17
|
cursor: not-allowed;
|
|
@@ -73,4 +44,40 @@
|
|
|
73
44
|
& + .thy-divider {
|
|
74
45
|
margin-left: #{theVariables.$thy-action-margin-right} !important;
|
|
75
46
|
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
@mixin the-custom-action() {
|
|
50
|
+
.thy-action {
|
|
51
|
+
position: relative;
|
|
52
|
+
color: variables.$gray-700;
|
|
53
|
+
cursor: pointer;
|
|
54
|
+
|
|
55
|
+
&.action-danger {
|
|
56
|
+
@include thyBasic.action-variant(variables.$action-color, variables.$danger, rgba(variables.$danger, 0.1));
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.thy-action,
|
|
61
|
+
.the-toolbar-item,
|
|
62
|
+
.the-toolbar-dropdown-container {
|
|
63
|
+
&:not(:last-child) {
|
|
64
|
+
margin-right: theVariables.$thy-action-margin-right;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
@include the-toolbar-divider-spacing();
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
@mixin the-action-disabled {
|
|
72
|
+
.thy-action {
|
|
73
|
+
&.disabled {
|
|
74
|
+
cursor: not-allowed;
|
|
75
|
+
color: variables.$gray-400;
|
|
76
|
+
|
|
77
|
+
&:hover {
|
|
78
|
+
background: transparent;
|
|
79
|
+
border-radius: unset;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
76
83
|
}
|
package/styles/typo.scss
CHANGED
|
@@ -143,15 +143,8 @@
|
|
|
143
143
|
::selection {
|
|
144
144
|
background: theVariables.$selection-background;
|
|
145
145
|
}
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
&:last-child {
|
|
149
|
-
margin-right: 0;
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
.remove-link.thy-action:hover {
|
|
153
|
-
@include mixins.remove-link-hover();
|
|
154
|
-
}
|
|
146
|
+
|
|
147
|
+
@include mixins.the-custom-action();
|
|
155
148
|
|
|
156
149
|
// 处理 block-card 图文混排
|
|
157
150
|
.slate-block,
|