slate-react 0.100.0-2023920121024 → 0.100.0

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 (83) hide show
  1. package/dist/components/editable.d.ts +84 -83
  2. package/dist/components/editable.d.ts.map +1 -1
  3. package/dist/components/element.d.ts +28 -27
  4. package/dist/components/element.d.ts.map +1 -1
  5. package/dist/components/leaf.d.ts +14 -13
  6. package/dist/components/leaf.d.ts.map +1 -1
  7. package/dist/components/restore-dom/restore-dom-manager.d.ts +8 -8
  8. package/dist/components/restore-dom/restore-dom-manager.d.ts.map +1 -1
  9. package/dist/components/restore-dom/restore-dom.d.ts +8 -7
  10. package/dist/components/restore-dom/restore-dom.d.ts.map +1 -1
  11. package/dist/components/slate.d.ts +15 -15
  12. package/dist/components/slate.d.ts.map +1 -1
  13. package/dist/components/string.d.ts +20 -20
  14. package/dist/components/string.d.ts.map +1 -1
  15. package/dist/components/text.d.ts +12 -12
  16. package/dist/components/text.d.ts.map +1 -1
  17. package/dist/custom-types.d.ts +37 -15
  18. package/dist/custom-types.d.ts.map +1 -1
  19. package/dist/hooks/android-input-manager/android-input-manager.d.ts +29 -29
  20. package/dist/hooks/android-input-manager/android-input-manager.d.ts.map +1 -1
  21. package/dist/hooks/android-input-manager/use-android-input-manager.d.ts +7 -7
  22. package/dist/hooks/android-input-manager/use-android-input-manager.d.ts.map +1 -1
  23. package/dist/hooks/use-children.d.ts +15 -15
  24. package/dist/hooks/use-children.d.ts.map +1 -1
  25. package/dist/hooks/use-decorate.d.ts +10 -10
  26. package/dist/hooks/use-decorate.d.ts.map +1 -1
  27. package/dist/hooks/use-editor.d.ts +5 -5
  28. package/dist/hooks/use-editor.d.ts.map +1 -1
  29. package/dist/hooks/use-focused.d.ts +9 -9
  30. package/dist/hooks/use-focused.d.ts.map +1 -1
  31. package/dist/hooks/use-is-mounted.d.ts +1 -1
  32. package/dist/hooks/use-is-mounted.d.ts.map +1 -1
  33. package/dist/hooks/use-isomorphic-layout-effect.d.ts +5 -5
  34. package/dist/hooks/use-isomorphic-layout-effect.d.ts.map +1 -1
  35. package/dist/hooks/use-mutation-observer.d.ts +2 -2
  36. package/dist/hooks/use-mutation-observer.d.ts.map +1 -1
  37. package/dist/hooks/use-read-only.d.ts +9 -9
  38. package/dist/hooks/use-read-only.d.ts.map +1 -1
  39. package/dist/hooks/use-selected.d.ts +9 -9
  40. package/dist/hooks/use-selected.d.ts.map +1 -1
  41. package/dist/hooks/use-slate-selection.d.ts +6 -6
  42. package/dist/hooks/use-slate-selection.d.ts.map +1 -1
  43. package/dist/hooks/use-slate-selector.d.ts +31 -31
  44. package/dist/hooks/use-slate-selector.d.ts.map +1 -1
  45. package/dist/hooks/use-slate-static.d.ts +11 -11
  46. package/dist/hooks/use-slate-static.d.ts.map +1 -1
  47. package/dist/hooks/use-slate.d.ts +23 -23
  48. package/dist/hooks/use-slate.d.ts.map +1 -1
  49. package/dist/hooks/use-track-user-input.d.ts +5 -5
  50. package/dist/hooks/use-track-user-input.d.ts.map +1 -1
  51. package/dist/index.d.ts +14 -14
  52. package/dist/index.d.ts.map +1 -1
  53. package/dist/index.es.js +624 -1275
  54. package/dist/index.es.js.map +1 -1
  55. package/dist/index.js +943 -1734
  56. package/dist/index.js.map +1 -1
  57. package/dist/plugin/react-editor.d.ts +150 -150
  58. package/dist/plugin/react-editor.d.ts.map +1 -1
  59. package/dist/plugin/with-react.d.ts +11 -11
  60. package/dist/plugin/with-react.d.ts.map +1 -1
  61. package/dist/slate-react.js +20187 -17894
  62. package/dist/slate-react.min.js +1 -1
  63. package/dist/utils/constants.d.ts +1 -1
  64. package/dist/utils/constants.d.ts.map +1 -1
  65. package/dist/utils/diff-text.d.ts +44 -44
  66. package/dist/utils/diff-text.d.ts.map +1 -1
  67. package/dist/utils/dom.d.ts +83 -83
  68. package/dist/utils/dom.d.ts.map +1 -1
  69. package/dist/utils/environment.d.ts +15 -15
  70. package/dist/utils/environment.d.ts.map +1 -1
  71. package/dist/utils/hotkeys.d.ts +30 -30
  72. package/dist/utils/hotkeys.d.ts.map +1 -1
  73. package/dist/utils/key.d.ts +11 -11
  74. package/dist/utils/key.d.ts.map +1 -1
  75. package/dist/utils/lines.d.ts +14 -14
  76. package/dist/utils/lines.d.ts.map +1 -1
  77. package/dist/utils/range-list.d.ts +22 -18
  78. package/dist/utils/range-list.d.ts.map +1 -1
  79. package/dist/utils/types.d.ts +1 -1
  80. package/dist/utils/types.d.ts.map +1 -1
  81. package/dist/utils/weak-maps.d.ts +53 -77
  82. package/dist/utils/weak-maps.d.ts.map +1 -1
  83. package/package.json +24 -24
@@ -1,2 +1,2 @@
1
- export declare const TRIPLE_CLICK = 3;
1
+ export declare const TRIPLE_CLICK = 3;
2
2
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../packages/slate-react/src/utils/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,IAAI,CAAA"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../packages/slate-react/src/utils/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,IAAI,CAAA"}
@@ -1,45 +1,45 @@
1
- import { Editor, Operation, Path, Point, Range } from 'slate';
2
- export declare type StringDiff = {
3
- start: number;
4
- end: number;
5
- text: string;
6
- };
7
- export declare type TextDiff = {
8
- id: number;
9
- path: Path;
10
- diff: StringDiff;
11
- };
12
- /**
13
- * Check whether a text diff was applied in a way we can perform the pending action on /
14
- * recover the pending selection.
15
- */
16
- export declare function verifyDiffState(editor: Editor, textDiff: TextDiff): boolean;
17
- export declare function applyStringDiff(text: string, ...diffs: StringDiff[]): string;
18
- /**
19
- * Remove redundant changes from the diff so that it spans the minimal possible range
20
- */
21
- export declare function normalizeStringDiff(targetText: string, diff: StringDiff): StringDiff | null;
22
- /**
23
- * Return a string diff that is equivalent to applying b after a spanning the range of
24
- * both changes
25
- */
26
- export declare function mergeStringDiffs(targetText: string, a: StringDiff, b: StringDiff): StringDiff | null;
27
- /**
28
- * Get the slate range the text diff spans.
29
- */
30
- export declare function targetRange(textDiff: TextDiff): Range;
31
- /**
32
- * Normalize a 'pending point' a.k.a a point based on the dom state before applying
33
- * the pending diffs. Since the pending diffs might have been inserted with different
34
- * marks we have to 'walk' the offset from the starting position to ensure we still
35
- * have a valid point inside the document
36
- */
37
- export declare function normalizePoint(editor: Editor, point: Point): Point | null;
38
- /**
39
- * Normalize a 'pending selection' to ensure it's valid in the current document state.
40
- */
41
- export declare function normalizeRange(editor: Editor, range: Range): Range | null;
42
- export declare function transformPendingPoint(editor: Editor, point: Point, op: Operation): Point | null;
43
- export declare function transformPendingRange(editor: Editor, range: Range, op: Operation): Range | null;
44
- export declare function transformTextDiff(textDiff: TextDiff, op: Operation): TextDiff | null;
1
+ import { Editor, Operation, Path, Point, Range } from 'slate';
2
+ export type StringDiff = {
3
+ start: number;
4
+ end: number;
5
+ text: string;
6
+ };
7
+ export type TextDiff = {
8
+ id: number;
9
+ path: Path;
10
+ diff: StringDiff;
11
+ };
12
+ /**
13
+ * Check whether a text diff was applied in a way we can perform the pending action on /
14
+ * recover the pending selection.
15
+ */
16
+ export declare function verifyDiffState(editor: Editor, textDiff: TextDiff): boolean;
17
+ export declare function applyStringDiff(text: string, ...diffs: StringDiff[]): string;
18
+ /**
19
+ * Remove redundant changes from the diff so that it spans the minimal possible range
20
+ */
21
+ export declare function normalizeStringDiff(targetText: string, diff: StringDiff): StringDiff | null;
22
+ /**
23
+ * Return a string diff that is equivalent to applying b after a spanning the range of
24
+ * both changes
25
+ */
26
+ export declare function mergeStringDiffs(targetText: string, a: StringDiff, b: StringDiff): StringDiff | null;
27
+ /**
28
+ * Get the slate range the text diff spans.
29
+ */
30
+ export declare function targetRange(textDiff: TextDiff): Range;
31
+ /**
32
+ * Normalize a 'pending point' a.k.a a point based on the dom state before applying
33
+ * the pending diffs. Since the pending diffs might have been inserted with different
34
+ * marks we have to 'walk' the offset from the starting position to ensure we still
35
+ * have a valid point inside the document
36
+ */
37
+ export declare function normalizePoint(editor: Editor, point: Point): Point | null;
38
+ /**
39
+ * Normalize a 'pending selection' to ensure it's valid in the current document state.
40
+ */
41
+ export declare function normalizeRange(editor: Editor, range: Range): Range | null;
42
+ export declare function transformPendingPoint(editor: Editor, point: Point, op: Operation): Point | null;
43
+ export declare function transformPendingRange(editor: Editor, range: Range, op: Operation): Range | null;
44
+ export declare function transformTextDiff(textDiff: TextDiff, op: Operation): TextDiff | null;
45
45
  //# sourceMappingURL=diff-text.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"diff-text.d.ts","sourceRoot":"","sources":["../packages/slate-react/src/utils/diff-text.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EAEN,SAAS,EACT,IAAI,EACJ,KAAK,EACL,KAAK,EAGN,MAAM,OAAO,CAAA;AAGd,oBAAY,UAAU,GAAG;IACvB,KAAK,EAAE,MAAM,CAAA;IACb,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED,oBAAY,QAAQ,GAAG;IACrB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,IAAI,CAAA;IACV,IAAI,EAAE,UAAU,CAAA;CACjB,CAAA;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAwB3E;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,KAAK,EAAE,UAAU,EAAE,UAMnE;AAgCD;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,qBAsBvE;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAC9B,UAAU,EAAE,MAAM,EAClB,CAAC,EAAE,UAAU,EACb,CAAC,EAAE,UAAU,GACZ,UAAU,GAAG,IAAI,CAmBnB;AA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I,EAAE,MAAM,EAAE,GAAG,KAAK,EAAE,UAAU,EAAE,UAMnE;AAgCD;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,qBAsBvE;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAC9B,UAAU,EAAE,MAAM,EAClB,CAAC,EAAE,UAAU,EACb,CAAC,EAAE,UAAU,GACZ,UAAU,GAAG,IAAI,CAmBnB;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,QAAQ,EAAE,QAAQ,GAAG,KAAK,CAMrD;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,KAAK,GAAG,IAAI,CAgCzE;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,KAAK,GAAG,IAAI,CAgBzE;AAED,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,KAAK,EACZ,EAAE,EAAE,SAAS,GACZ,KAAK,GAAG,IAAI,CAsDd;AAED,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,KAAK,EACZ,EAAE,EAAE,SAAS,GACZ,KAAK,GAAG,IAAI,CAgBd;AAED,wBAAgB,iBAAiB,CAC/B,QAAQ,EAAE,QAAQ,EAClB,EAAE,EAAE,SAAS,GACZ,QAAQ,GAAG,IAAI,CAwHjB"}
@@ -1,84 +1,84 @@
1
- /**
2
- * Types.
3
- */
4
- import DOMNode = globalThis.Node;
5
- import DOMComment = globalThis.Comment;
6
- import DOMElement = globalThis.Element;
7
- import DOMText = globalThis.Text;
8
- import DOMRange = globalThis.Range;
9
- import DOMSelection = globalThis.Selection;
10
- import DOMStaticRange = globalThis.StaticRange;
11
- import { ReactEditor } from '../plugin/react-editor';
12
- export { DOMNode, DOMComment, DOMElement, DOMText, DOMRange, DOMSelection, DOMStaticRange, };
13
- declare global {
14
- interface Window {
15
- Selection: typeof Selection['constructor'];
16
- DataTransfer: typeof DataTransfer['constructor'];
17
- Node: typeof Node['constructor'];
18
- }
19
- }
20
- export declare type DOMPoint = [Node, number];
21
- /**
22
- * Returns the host window of a DOM node
23
- */
24
- export declare const getDefaultView: (value: any) => Window | null;
25
- /**
26
- * Check if a DOM node is a comment node.
27
- */
28
- export declare const isDOMComment: (value: any) => value is DOMComment;
29
- /**
30
- * Check if a DOM node is an element node.
31
- */
32
- export declare const isDOMElement: (value: any) => value is DOMElement;
33
- /**
34
- * Check if a value is a DOM node.
35
- */
36
- export declare const isDOMNode: (value: any) => value is DOMNode;
37
- /**
38
- * Check if a value is a DOM selection.
39
- */
40
- export declare const isDOMSelection: (value: any) => value is DOMSelection;
41
- /**
42
- * Check if a DOM node is an element node.
43
- */
44
- export declare const isDOMText: (value: any) => value is DOMText;
45
- /**
46
- * Checks whether a paste event is a plaintext-only event.
47
- */
48
- export declare const isPlainTextOnlyPaste: (event: ClipboardEvent) => boolean | null;
49
- /**
50
- * Normalize a DOM point so that it always refers to a text node.
51
- */
52
- export declare const normalizeDOMPoint: (domPoint: DOMPoint) => DOMPoint;
53
- /**
54
- * Determines whether the active element is nested within a shadowRoot
55
- */
56
- export declare const hasShadowRoot: (node: Node | null) => boolean;
57
- /**
58
- * Get the nearest editable child and index at `index` in a `parent`, preferring
59
- * `direction`.
60
- */
61
- export declare const getEditableChildAndIndex: (parent: DOMElement, index: number, direction: 'forward' | 'backward') => [DOMNode, number];
62
- /**
63
- * Get the nearest editable child at `index` in a `parent`, preferring
64
- * `direction`.
65
- */
66
- export declare const getEditableChild: (parent: DOMElement, index: number, direction: 'forward' | 'backward') => DOMNode;
67
- /**
68
- * Get a plaintext representation of the content of a node, accounting for block
69
- * elements which get a newline appended.
70
- *
71
- * The domNode must be attached to the DOM.
72
- */
73
- export declare const getPlainText: (domNode: DOMNode) => string;
74
- export declare const getSlateFragmentAttribute: (dataTransfer: DataTransfer) => string | void;
75
- /**
76
- * Get the x-slate-fragment attribute that exist in text/html data
77
- * and append it to the DataTransfer object
78
- */
79
- export declare const getClipboardData: (dataTransfer: DataTransfer, clipboardFormatKey?: string) => DataTransfer;
80
- /**
81
- * Check whether a mutation originates from a editable element inside the editor.
82
- */
83
- export declare const isTrackedMutation: (editor: ReactEditor, mutation: MutationRecord, batch: MutationRecord[]) => boolean;
1
+ /**
2
+ * Types.
3
+ */
4
+ import DOMNode = globalThis.Node;
5
+ import DOMComment = globalThis.Comment;
6
+ import DOMElement = globalThis.Element;
7
+ import DOMText = globalThis.Text;
8
+ import DOMRange = globalThis.Range;
9
+ import DOMSelection = globalThis.Selection;
10
+ import DOMStaticRange = globalThis.StaticRange;
11
+ import { ReactEditor } from '../plugin/react-editor';
12
+ export { DOMNode, DOMComment, DOMElement, DOMText, DOMRange, DOMSelection, DOMStaticRange, };
13
+ declare global {
14
+ interface Window {
15
+ Selection: (typeof Selection)['constructor'];
16
+ DataTransfer: (typeof DataTransfer)['constructor'];
17
+ Node: (typeof Node)['constructor'];
18
+ }
19
+ }
20
+ export type DOMPoint = [Node, number];
21
+ /**
22
+ * Returns the host window of a DOM node
23
+ */
24
+ export declare const getDefaultView: (value: any) => Window | null;
25
+ /**
26
+ * Check if a DOM node is a comment node.
27
+ */
28
+ export declare const isDOMComment: (value: any) => value is DOMComment;
29
+ /**
30
+ * Check if a DOM node is an element node.
31
+ */
32
+ export declare const isDOMElement: (value: any) => value is DOMElement;
33
+ /**
34
+ * Check if a value is a DOM node.
35
+ */
36
+ export declare const isDOMNode: (value: any) => value is DOMNode;
37
+ /**
38
+ * Check if a value is a DOM selection.
39
+ */
40
+ export declare const isDOMSelection: (value: any) => value is DOMSelection;
41
+ /**
42
+ * Check if a DOM node is an element node.
43
+ */
44
+ export declare const isDOMText: (value: any) => value is DOMText;
45
+ /**
46
+ * Checks whether a paste event is a plaintext-only event.
47
+ */
48
+ export declare const isPlainTextOnlyPaste: (event: ClipboardEvent) => boolean | null;
49
+ /**
50
+ * Normalize a DOM point so that it always refers to a text node.
51
+ */
52
+ export declare const normalizeDOMPoint: (domPoint: DOMPoint) => DOMPoint;
53
+ /**
54
+ * Determines whether the active element is nested within a shadowRoot
55
+ */
56
+ export declare const hasShadowRoot: (node: Node | null) => boolean;
57
+ /**
58
+ * Get the nearest editable child and index at `index` in a `parent`, preferring
59
+ * `direction`.
60
+ */
61
+ export declare const getEditableChildAndIndex: (parent: DOMElement, index: number, direction: 'forward' | 'backward') => [DOMNode, number];
62
+ /**
63
+ * Get the nearest editable child at `index` in a `parent`, preferring
64
+ * `direction`.
65
+ */
66
+ export declare const getEditableChild: (parent: DOMElement, index: number, direction: 'forward' | 'backward') => DOMNode;
67
+ /**
68
+ * Get a plaintext representation of the content of a node, accounting for block
69
+ * elements which get a newline appended.
70
+ *
71
+ * The domNode must be attached to the DOM.
72
+ */
73
+ export declare const getPlainText: (domNode: DOMNode) => string;
74
+ export declare const getSlateFragmentAttribute: (dataTransfer: DataTransfer) => string | void;
75
+ /**
76
+ * Get the x-slate-fragment attribute that exist in text/html data
77
+ * and append it to the DataTransfer object
78
+ */
79
+ export declare const getClipboardData: (dataTransfer: DataTransfer, clipboardFormatKey?: string) => DataTransfer;
80
+ /**
81
+ * Check whether a mutation originates from a editable element inside the editor.
82
+ */
83
+ export declare const isTrackedMutation: (editor: ReactEditor, mutation: MutationRecord, batch: MutationRecord[]) => boolean;
84
84
  //# sourceMappingURL=dom.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dom.d.ts","sourceRoot":"","sources":["../packages/slate-react/src/utils/dom.ts"],"names":[],"mappings":"AAAA;;GAEG;AAKH,OAAO,OAAO,GAAG,UAAU,CAAC,IAAI,CAAA;AAChC,OAAO,UAAU,GAAG,UAAU,CAAC,OAAO,CAAA;AACtC,OAAO,UAAU,GAAG,UAAU,CAAC,OAAO,CAAA;AACtC,OAAO,OAAO,GAAG,UAAU,CAAC,IAAI,CAAA;AA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ACT,cAAc,SACjB,cAAc,EAAE,KACtB,OA+BF,CAAA"}
@@ -1,16 +1,16 @@
1
- export declare const REACT_MAJOR_VERSION: number;
2
- export declare const IS_IOS: false;
3
- export declare const IS_APPLE: boolean;
4
- export declare const IS_ANDROID: boolean;
5
- export declare const IS_FIREFOX: boolean;
6
- export declare const IS_WEBKIT: boolean;
7
- export declare const IS_EDGE_LEGACY: boolean;
8
- export declare const IS_CHROME: boolean;
9
- export declare const IS_CHROME_LEGACY: boolean;
10
- export declare const IS_ANDROID_CHROME_LEGACY: boolean;
11
- export declare const IS_FIREFOX_LEGACY: boolean;
12
- export declare const IS_UC_MOBILE: boolean;
13
- export declare const IS_WECHATBROWSER: boolean;
14
- export declare const CAN_USE_DOM: boolean;
15
- export declare const HAS_BEFORE_INPUT_SUPPORT: boolean;
1
+ export declare const REACT_MAJOR_VERSION: number;
2
+ export declare const IS_IOS: boolean;
3
+ export declare const IS_APPLE: boolean;
4
+ export declare const IS_ANDROID: boolean;
5
+ export declare const IS_FIREFOX: boolean;
6
+ export declare const IS_WEBKIT: boolean;
7
+ export declare const IS_EDGE_LEGACY: boolean;
8
+ export declare const IS_CHROME: boolean;
9
+ export declare const IS_CHROME_LEGACY: boolean;
10
+ export declare const IS_ANDROID_CHROME_LEGACY: boolean;
11
+ export declare const IS_FIREFOX_LEGACY: boolean;
12
+ export declare const IS_UC_MOBILE: boolean;
13
+ export declare const IS_WECHATBROWSER: boolean;
14
+ export declare const CAN_USE_DOM: boolean;
15
+ export declare const HAS_BEFORE_INPUT_SUPPORT: boolean;
16
16
  //# sourceMappingURL=environment.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"environment.d.ts","sourceRoot":"","sources":["../packages/slate-react/src/utils/environment.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,mBAAmB,QAA4C,CAAA;AAE5E,eAAO,MAAM,MAAM,OAID,CAAA;AAElB,eAAO,MAAM,QAAQ,SACqD,CAAA;AAE1E,eAAO,MAAM,UAAU,SACkD,CAAA;AAEzE,eAAO,MAAM,UAAU,SAEuC,CAAA;AAE9D,eAAO,MAAM,SAAS,SAEgC,CAAA;AAGtD,eAAO,MAAM,cAAc,SAE0C,CAAA;AAErE,eAAO,MAAM,SAAS,SACmD,CAAA;AAIzE,eAAO,MAAM,gBAAgB,SAE0C,CAAA;AAEvE,eAAO,MAAM,wBAAwB,SAGqB,CAAA;AAG1D,eAAO,MAAM,iBAAiB,SAI3B,CAAA;AAGH,eAAO,MAAM,YAAY,SACoD,CAAA;AAG7E,eAAO,MAAM,gBAAgB,SAGa,CAAA;AAI1C,eAAO,MAAM,WAAW,SAIvB,CAAA;AAID,eAAO,MAAM,wBAAwB,SAOkC,CAAA"}
1
+ {"version":3,"file":"environment.d.ts","sourceRoot":"","sources":["../../../../packages/slate-react/src/utils/environment.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,mBAAmB,QAA4C,CAAA;AAE5E,eAAO,MAAM,MAAM,SAID,CAAA;AAElB,eAAO,MAAM,QAAQ,SACqD,CAAA;AAE1E,eAAO,MAAM,UAAU,SACkD,CAAA;AAEzE,eAAO,MAAM,UAAU,SAEuC,CAAA;AAE9D,eAAO,MAAM,SAAS,SAEgC,CAAA;AAGtD,eAAO,MAAM,cAAc,SAE0C,CAAA;AAErE,eAAO,MAAM,SAAS,SACmD,CAAA;AAIzE,eAAO,MAAM,gBAAgB,SAE0C,CAAA;AAEvE,eAAO,MAAM,wBAAwB,SAGqB,CAAA;AAG1D,eAAO,MAAM,iBAAiB,SAI3B,CAAA;AAGH,eAAO,MAAM,YAAY,SACoD,CAAA;AAG7E,eAAO,MAAM,gBAAgB,SAGa,CAAA;AAI1C,eAAO,MAAM,WAAW,SAIvB,CAAA;AAID,eAAO,MAAM,wBAAwB,SAOkC,CAAA"}
@@ -1,31 +1,31 @@
1
- declare const _default: {
2
- isBold: (event: KeyboardEvent) => boolean;
3
- isCompose: (event: KeyboardEvent) => boolean;
4
- isMoveBackward: (event: KeyboardEvent) => boolean;
5
- isMoveForward: (event: KeyboardEvent) => boolean;
6
- isDeleteBackward: (event: KeyboardEvent) => boolean;
7
- isDeleteForward: (event: KeyboardEvent) => boolean;
8
- isDeleteLineBackward: (event: KeyboardEvent) => boolean;
9
- isDeleteLineForward: (event: KeyboardEvent) => boolean;
10
- isDeleteWordBackward: (event: KeyboardEvent) => boolean;
11
- isDeleteWordForward: (event: KeyboardEvent) => boolean;
12
- isExtendBackward: (event: KeyboardEvent) => boolean;
13
- isExtendForward: (event: KeyboardEvent) => boolean;
14
- isExtendLineBackward: (event: KeyboardEvent) => boolean;
15
- isExtendLineForward: (event: KeyboardEvent) => boolean;
16
- isItalic: (event: KeyboardEvent) => boolean;
17
- isMoveLineBackward: (event: KeyboardEvent) => boolean;
18
- isMoveLineForward: (event: KeyboardEvent) => boolean;
19
- isMoveWordBackward: (event: KeyboardEvent) => boolean;
20
- isMoveWordForward: (event: KeyboardEvent) => boolean;
21
- isRedo: (event: KeyboardEvent) => boolean;
22
- isSoftBreak: (event: KeyboardEvent) => boolean;
23
- isSplitBlock: (event: KeyboardEvent) => boolean;
24
- isTransposeCharacter: (event: KeyboardEvent) => boolean;
25
- isUndo: (event: KeyboardEvent) => boolean;
26
- };
27
- /**
28
- * Hotkeys.
29
- */
30
- export default _default;
1
+ /**
2
+ * Hotkeys.
3
+ */
4
+ declare const _default: {
5
+ isBold: (event: KeyboardEvent) => boolean;
6
+ isCompose: (event: KeyboardEvent) => boolean;
7
+ isMoveBackward: (event: KeyboardEvent) => boolean;
8
+ isMoveForward: (event: KeyboardEvent) => boolean;
9
+ isDeleteBackward: (event: KeyboardEvent) => boolean;
10
+ isDeleteForward: (event: KeyboardEvent) => boolean;
11
+ isDeleteLineBackward: (event: KeyboardEvent) => boolean;
12
+ isDeleteLineForward: (event: KeyboardEvent) => boolean;
13
+ isDeleteWordBackward: (event: KeyboardEvent) => boolean;
14
+ isDeleteWordForward: (event: KeyboardEvent) => boolean;
15
+ isExtendBackward: (event: KeyboardEvent) => boolean;
16
+ isExtendForward: (event: KeyboardEvent) => boolean;
17
+ isExtendLineBackward: (event: KeyboardEvent) => boolean;
18
+ isExtendLineForward: (event: KeyboardEvent) => boolean;
19
+ isItalic: (event: KeyboardEvent) => boolean;
20
+ isMoveLineBackward: (event: KeyboardEvent) => boolean;
21
+ isMoveLineForward: (event: KeyboardEvent) => boolean;
22
+ isMoveWordBackward: (event: KeyboardEvent) => boolean;
23
+ isMoveWordForward: (event: KeyboardEvent) => boolean;
24
+ isRedo: (event: KeyboardEvent) => boolean;
25
+ isSoftBreak: (event: KeyboardEvent) => boolean;
26
+ isSplitBlock: (event: KeyboardEvent) => boolean;
27
+ isTransposeCharacter: (event: KeyboardEvent) => boolean;
28
+ isUndo: (event: KeyboardEvent) => boolean;
29
+ };
30
+ export default _default;
31
31
  //# sourceMappingURL=hotkeys.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"hotkeys.d.ts","sourceRoot":"","sources":["../packages/slate-react/src/utils/hotkeys.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAmEA;;GAEG;AAEH,wBAyBC"}
1
+ {"version":3,"file":"hotkeys.d.ts","sourceRoot":"","sources":["../../../../packages/slate-react/src/utils/hotkeys.ts"],"names":[],"mappings":"AAmEA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,wBAyBC"}
@@ -1,12 +1,12 @@
1
- /**
2
- * An auto-incrementing identifier for keys.
3
- */
4
- /**
5
- * A class that keeps track of a key string. We use a full class here because we
6
- * want to be able to use them as keys in `WeakMap` objects.
7
- */
8
- export declare class Key {
9
- id: string;
10
- constructor();
11
- }
1
+ /**
2
+ * An auto-incrementing identifier for keys.
3
+ */
4
+ /**
5
+ * A class that keeps track of a key string. We use a full class here because we
6
+ * want to be able to use them as keys in `WeakMap` objects.
7
+ */
8
+ export declare class Key {
9
+ id: string;
10
+ constructor();
11
+ }
12
12
  //# sourceMappingURL=key.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"key.d.ts","sourceRoot":"","sources":["../packages/slate-react/src/utils/key.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH;;;GAGG;AAEH,qBAAa,GAAG;IACd,EAAE,EAAE,MAAM,CAAA;;CAKX"}
1
+ {"version":3,"file":"key.d.ts","sourceRoot":"","sources":["../../../../packages/slate-react/src/utils/key.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH;;;GAGG;AAEH,qBAAa,GAAG;IACd,EAAE,EAAE,MAAM,CAAA;;CAKX"}
@@ -1,15 +1,15 @@
1
- /**
2
- * Utilities for single-line deletion
3
- */
4
- import { Range } from 'slate';
5
- import { ReactEditor } from '../plugin/react-editor';
6
- /**
7
- * A helper utility that returns the end portion of a `Range`
8
- * which is located on a single line.
9
- *
10
- * @param {Editor} editor The editor object to compare against
11
- * @param {Range} parentRange The parent range to compare against
12
- * @returns {Range} A valid portion of the parentRange which is one a single line
13
- */
14
- export declare const findCurrentLineRange: (editor: ReactEditor, parentRange: Range) => Range;
1
+ /**
2
+ * Utilities for single-line deletion
3
+ */
4
+ import { Range } from 'slate';
5
+ import { ReactEditor } from '../plugin/react-editor';
6
+ /**
7
+ * A helper utility that returns the end portion of a `Range`
8
+ * which is located on a single line.
9
+ *
10
+ * @param {Editor} editor The editor object to compare against
11
+ * @param {Range} parentRange The parent range to compare against
12
+ * @returns {Range} A valid portion of the parentRange which is one a single line
13
+ */
14
+ export declare const findCurrentLineRange: (editor: ReactEditor, parentRange: Range) => Range;
15
15
  //# sourceMappingURL=lines.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"lines.d.ts","sourceRoot":"","sources":["../packages/slate-react/src/utils/lines.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAU,KAAK,EAAE,MAAM,OAAO,CAAA;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AAmBpD;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,WACvB,WAAW,eACN,KAAK,KACjB,KA2CF,CAAA"}
1
+ {"version":3,"file":"lines.d.ts","sourceRoot":"","sources":["../../../../packages/slate-react/src/utils/lines.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAU,KAAK,EAAE,MAAM,OAAO,CAAA;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AAmBpD;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,WACvB,WAAW,eACN,KAAK,KACjB,KA2CF,CAAA"}
@@ -1,19 +1,23 @@
1
- import { Range } from 'slate';
2
- export declare const shallowCompare: (obj1: {}, obj2: {}) => boolean;
3
- /**
4
- * Check if a list of decorator ranges are equal to another.
5
- *
6
- * PERF: this requires the two lists to also have the ranges inside them in the
7
- * same order, but this is an okay constraint for us since decorations are
8
- * kept in order, and the odd case where they aren't is okay to re-render for.
9
- */
10
- export declare const isElementDecorationsEqual: (list: Range[], another: Range[]) => boolean;
11
- /**
12
- * Check if a list of decorator ranges are equal to another.
13
- *
14
- * PERF: this requires the two lists to also have the ranges inside them in the
15
- * same order, but this is an okay constraint for us since decorations are
16
- * kept in order, and the odd case where they aren't is okay to re-render for.
17
- */
18
- export declare const isTextDecorationsEqual: (list: Range[], another: Range[]) => boolean;
1
+ import { Range } from 'slate';
2
+ export declare const shallowCompare: (obj1: {
3
+ [key: string]: unknown;
4
+ }, obj2: {
5
+ [key: string]: unknown;
6
+ }) => boolean;
7
+ /**
8
+ * Check if a list of decorator ranges are equal to another.
9
+ *
10
+ * PERF: this requires the two lists to also have the ranges inside them in the
11
+ * same order, but this is an okay constraint for us since decorations are
12
+ * kept in order, and the odd case where they aren't is okay to re-render for.
13
+ */
14
+ export declare const isElementDecorationsEqual: (list: Range[], another: Range[]) => boolean;
15
+ /**
16
+ * Check if a list of decorator ranges are equal to another.
17
+ *
18
+ * PERF: this requires the two lists to also have the ranges inside them in the
19
+ * same order, but this is an okay constraint for us since decorations are
20
+ * kept in order, and the odd case where they aren't is okay to re-render for.
21
+ */
22
+ export declare const isTextDecorationsEqual: (list: Range[], another: Range[]) => boolean;
19
23
  //# sourceMappingURL=range-list.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"range-list.d.ts","sourceRoot":"","sources":["../packages/slate-react/src/utils/range-list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAG7B,eAAO,MAAM,cAAc,SAAU,EAAE,QAAQ,EAAE,YAI9C,CAAA;AAYH;;;;;;GAMG;AAEH,eAAO,MAAM,yBAAyB,SAC9B,KAAK,EAAE,WACJ,KAAK,EAAE,KACf,OAeF,CAAA;AAED;;;;;;GAMG;AAEH,eAAO,MAAM,sBAAsB,SAC3B,KAAK,EAAE,WACJ,KAAK,EAAE,KACf,OAoBF,CAAA"}
1
+ {"version":3,"file":"range-list.d.ts","sourceRoot":"","sources":["../../../../packages/slate-react/src/utils/range-list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAG7B,eAAO,MAAM,cAAc;;;;aAOxB,CAAA;AAYH;;;;;;GAMG;AAEH,eAAO,MAAM,yBAAyB,SAC9B,KAAK,EAAE,WACJ,KAAK,EAAE,KACf,OAeF,CAAA;AAED;;;;;;GAMG;AAEH,eAAO,MAAM,sBAAsB,SAC3B,KAAK,EAAE,WACJ,KAAK,EAAE,KACf,OAoBF,CAAA"}
@@ -1,2 +1,2 @@
1
- export declare type OmitFirstArg<F> = F extends (x: any, ...args: infer P) => infer R ? (...args: P) => R : never;
1
+ export type OmitFirstArg<F> = F extends (x: any, ...args: infer P) => infer R ? (...args: P) => R : never;
2
2
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../packages/slate-react/src/utils/types.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,EAAE,GAAG,EAAE,GAAG,IAAI,EAAE,MAAM,CAAC,KAAK,MAAM,CAAC,GACzE,CAAC,GAAG,IAAI,EAAE,CAAC,KAAK,CAAC,GACjB,KAAK,CAAA"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../packages/slate-react/src/utils/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,EAAE,GAAG,EAAE,GAAG,IAAI,EAAE,MAAM,CAAC,KAAK,MAAM,CAAC,GACzE,CAAC,GAAG,IAAI,EAAE,CAAC,KAAK,CAAC,GACjB,KAAK,CAAA"}