@worktile/theia 15.0.6 → 15.0.8
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/esm2020/plugins/table/components/table.component.mjs +16 -16
- package/esm2020/services/context.service.mjs +9 -1
- package/fesm2015/worktile-theia.mjs +25 -17
- package/fesm2015/worktile-theia.mjs.map +1 -1
- package/fesm2020/worktile-theia.mjs +23 -15
- package/fesm2020/worktile-theia.mjs.map +1 -1
- package/package.json +1 -1
- package/plugins/table/components/table.component.scss +39 -15
- package/services/context.service.d.ts +3 -0
package/package.json
CHANGED
|
@@ -171,7 +171,7 @@ $top-cell-z-index: 13;
|
|
|
171
171
|
// border-bottom: $controls-border;
|
|
172
172
|
overflow-x: hidden;
|
|
173
173
|
background: variables.$white;
|
|
174
|
-
box-shadow: 0
|
|
174
|
+
box-shadow: 0 3px 4px 0px rgba(0, 0, 0, 0.1);
|
|
175
175
|
|
|
176
176
|
td.the-header-cell.selected-cell,
|
|
177
177
|
td.the-header-cell.focused-cell:not(.selected-cell):not(.dangerous-cell) {
|
|
@@ -227,27 +227,51 @@ $top-cell-z-index: 13;
|
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
229
|
|
|
230
|
-
|
|
230
|
+
.the-table-row-controls-inner {
|
|
231
|
+
.the-table-row-controls-button-wrap {
|
|
232
|
+
&:first-child {
|
|
233
|
+
position: fixed;
|
|
234
|
+
z-index: $top-cell-z-index;
|
|
235
|
+
margin-top: 8px;
|
|
236
|
+
box-shadow: 0px -8px var(--ds-surface, variables.$gray-80);
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
.the-sticky-corner-controls {
|
|
241
|
+
position: fixed;
|
|
242
|
+
z-index: 12;
|
|
243
|
+
width: 11px;
|
|
244
|
+
height: 11px;
|
|
245
|
+
.the-table-corner-button {
|
|
246
|
+
height: 11px;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
231
249
|
&.the-table-with-controls {
|
|
250
|
+
.the-table-row-controls-wrapper {
|
|
251
|
+
z-index: 4;
|
|
252
|
+
.the-table-corner-controls {
|
|
253
|
+
padding-left: 30px; // control width + insert-mask: 11px + 19px
|
|
254
|
+
margin-left: -19px; // insert-mask width: 19px
|
|
255
|
+
padding-bottom: 11px; // control height: 11px
|
|
256
|
+
.the-table-corner-button {
|
|
257
|
+
padding-left: 10px; // 10px + 1px border: 11
|
|
258
|
+
margin-left: -11px;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
}
|
|
232
262
|
.the-table-row-controls-inner {
|
|
263
|
+
z-index: 4;
|
|
233
264
|
.the-table-row-controls-button-wrap {
|
|
234
265
|
&:first-child {
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
266
|
+
padding-left: 19px; // insert-mask width: 19px
|
|
267
|
+
margin-left: -19px;
|
|
268
|
+
background: variables.$white;
|
|
269
|
+
.the-table-controls-insert-wrapper {
|
|
270
|
+
left: 0;
|
|
271
|
+
}
|
|
239
272
|
}
|
|
240
273
|
}
|
|
241
274
|
}
|
|
242
|
-
.the-sticky-corner-controls {
|
|
243
|
-
position: fixed;
|
|
244
|
-
z-index: 12;
|
|
245
|
-
width: 11px;
|
|
246
|
-
height: 11px;
|
|
247
|
-
.the-table-corner-button {
|
|
248
|
-
height: 11px;
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
275
|
}
|
|
252
276
|
}
|
|
253
277
|
|
|
@@ -30,9 +30,12 @@ export declare class TheContextService implements OnDestroy {
|
|
|
30
30
|
onMouseDown$: Observable<MouseEvent>;
|
|
31
31
|
containerScrolled$: Subject<Event>;
|
|
32
32
|
uploadingStatus$: Subject<boolean>;
|
|
33
|
+
containerResized$: Subject<unknown>;
|
|
34
|
+
private resizeObserver;
|
|
33
35
|
constructor(ngZone: NgZone);
|
|
34
36
|
initialize(options: TheContextOptions): void;
|
|
35
37
|
rebindContainerScroll(): void;
|
|
38
|
+
bindContainerResize(): void;
|
|
36
39
|
getOptions(): TheContextOptions;
|
|
37
40
|
getTheOptions(): TheOptions;
|
|
38
41
|
getDefaultFontSize(): FontSizes;
|