slate-angular 20.2.0-next.27 → 20.2.0-next.29

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
@@ -320,6 +320,7 @@ declare class ListRender {
320
320
 
321
321
  interface SlateVirtualScrollConfig {
322
322
  enabled?: boolean;
323
+ scrollContainer?: HTMLElement;
323
324
  scrollTop: number;
324
325
  viewportHeight: number;
325
326
  viewportBoundingTop: number;
@@ -404,7 +405,7 @@ declare class SlateEditable implements OnInit, OnChanges, OnDestroy, AfterViewCh
404
405
  writeValue(value: Element$1[]): void;
405
406
  initialize(): void;
406
407
  calculateVirtualScrollSelection(selection: Selection$1): slate.BaseRange;
407
- toNativeSelection(): void;
408
+ toNativeSelection(autoScroll?: boolean): void;
408
409
  onChange(): void;
409
410
  ngAfterViewChecked(): void;
410
411
  ngDoCheck(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "slate-angular",
3
- "version": "20.2.0-next.27",
3
+ "version": "20.2.0-next.29",
4
4
  "description": "Angular view layer for Slate",
5
5
  "author": "pubuzhixing <pubuzhixing@gmail.com>",
6
6
  "homepage": "https://github.com/worktile/slate-angular#readme",
package/styles/index.scss CHANGED
@@ -1,6 +1,7 @@
1
1
  @use '../components/block-card/block-card.component.scss';
2
2
  .slate-editable-container {
3
3
  display: block;
4
+ position: relative;
4
5
  outline: none;
5
6
  padding: 0 32px;
6
7
  white-space: break-spaces;