@worktile/theia 20.1.0-next.14 → 20.1.0-next.16

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/index.d.ts CHANGED
@@ -1635,7 +1635,6 @@ declare class TheTable extends TheBaseElement<TableElement, Editor> implements O
1635
1635
  tableWrapperLeft: number;
1636
1636
  isFreezeRow: boolean;
1637
1637
  isFreezeColumn: boolean;
1638
- private isMouseOverTable;
1639
1638
  get nativeElement(): HTMLElement;
1640
1639
  get tbodyNativeElement(): HTMLElement;
1641
1640
  tableWrapper: ElementRef<HTMLElement>;
@@ -1709,11 +1708,9 @@ declare class TheTable extends TheBaseElement<TableElement, Editor> implements O
1709
1708
  trackByFnColControls(index: number): number;
1710
1709
  ngOnDestroy(): void;
1711
1710
  private initHorizontalScrollbar;
1712
- private bindTableMouseEvents;
1713
1711
  private bindScrollbarEvents;
1714
1712
  private updateHorizontalScrollbar;
1715
- private syncMouseOverState;
1716
- private updateScrollbarVisibility;
1713
+ private setScrollbarWidth;
1717
1714
  private updateScrollbarFixedState;
1718
1715
  private getViewportHeight;
1719
1716
  private setScrollbarFixed;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@worktile/theia",
3
- "version": "20.1.0-next.14",
3
+ "version": "20.1.0-next.16",
4
4
  "description": "theia editor",
5
5
  "author": "YanDong <nanianqiumo@foxmail.com>",
6
6
  "homepage": "https://github.com/atinc/theia#readme",
@@ -36,7 +36,7 @@
36
36
  "peerDependencies": {
37
37
  "@angular/core": "^20.0.0",
38
38
  "date-fns": "^4.1.0",
39
- "slate-angular": "^20.2.0-next.21",
39
+ "slate-angular": "^20.2.0-next.26",
40
40
  "slate": "^0.117.2",
41
41
  "slate-dom": "^0.116.0",
42
42
  "ngx-tethys": "^20.0.0",
@@ -140,8 +140,11 @@ $top-cell-z-index: 13;
140
140
  position: relative;
141
141
  margin-top: -10px;
142
142
  padding-top: 10px;
143
- overflow-x: hidden;
143
+ overflow-x: auto;
144
144
  overflow-y: auto;
145
+ &::-webkit-scrollbar {
146
+ display: none;
147
+ }
145
148
  }
146
149
 
147
150
  .the-table-row-controls-wrapper {
@@ -154,20 +157,12 @@ $top-cell-z-index: 13;
154
157
  .the-table-horizontal-scrollbar-container {
155
158
  position: absolute;
156
159
  left: 0;
157
- bottom: -16px;
158
160
  height: 16px;
159
161
  width: 100%;
160
- background: variables.$gray-100;
161
- border-top: 1px solid variables.$gray-300;
162
- margin-top: 1px;
163
162
  overflow-x: auto;
164
163
  overflow-y: hidden;
165
164
  transition: opacity 0.3s ease;
166
- opacity: 0;
167
-
168
- &.visible {
169
- opacity: 1;
170
- }
165
+ background: transparent;
171
166
 
172
167
  &.fixed {
173
168
  position: fixed;