@webiny/lexical-editor 5.38.0 → 5.38.1

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.
@@ -1,4 +1,3 @@
1
- /// <reference types="web" />
2
1
  import React from "react";
3
2
  import "./Toolbar.css";
4
3
  export interface ToolbarProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="web" />
2
1
  import { ReactNode } from "react";
3
2
  import { HistoryState } from "@lexical/history";
4
3
  declare type ContextShape = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webiny/lexical-editor",
3
- "version": "5.38.0",
3
+ "version": "5.38.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/webiny/webiny-js.git"
@@ -14,17 +14,17 @@
14
14
  "@lexical/rich-text": "0.12.2",
15
15
  "@lexical/selection": "0.12.2",
16
16
  "@lexical/utils": "0.12.2",
17
- "@webiny/lexical-nodes": "5.38.0",
18
- "@webiny/lexical-theme": "5.38.0",
19
- "@webiny/react-composition": "5.38.0",
20
- "@webiny/react-properties": "5.38.0",
17
+ "@webiny/lexical-nodes": "5.38.1",
18
+ "@webiny/lexical-theme": "5.38.1",
19
+ "@webiny/react-composition": "5.38.1",
20
+ "@webiny/react-properties": "5.38.1",
21
21
  "lexical": "0.12.2",
22
22
  "react": "17.0.2",
23
23
  "react-dom": "17.0.2"
24
24
  },
25
25
  "devDependencies": {
26
- "@webiny/cli": "5.38.0",
27
- "@webiny/project-utils": "5.38.0"
26
+ "@webiny/cli": "5.38.1",
27
+ "@webiny/project-utils": "5.38.1"
28
28
  },
29
29
  "publishConfig": {
30
30
  "access": "public",
@@ -34,5 +34,5 @@
34
34
  "build": "yarn webiny run build",
35
35
  "watch": "yarn webiny run watch"
36
36
  },
37
- "gitHead": "7ba2a740cd180b6225295630003d882f796bd4db"
37
+ "gitHead": "a22d4ab9fbb4ad35106687cbe17b51a84afd4976"
38
38
  }
@@ -1,6 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="web" />
3
- /// <reference types="react" />
4
2
  import "./FloatingLinkEditorPlugin.css";
5
3
  export declare function FloatingLinkEditorPlugin({ anchorElem }: {
6
4
  anchorElem?: HTMLElement;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="web" />
3
2
  import { ImagePayload } from "../../commands";
4
3
  export declare type InsertImagePayload = Readonly<ImagePayload>;
5
4
  export declare function ImagesPlugin({ captionsEnabled }: {
package/ui/DropDown.d.ts CHANGED
@@ -5,7 +5,6 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
- /// <reference types="web" />
9
8
  import { ReactNode } from "react";
10
9
  import * as React from "react";
11
10
  export declare function DropDownItem({ children, className, onClick, title }: {
@@ -6,8 +6,6 @@
6
6
  *
7
7
  */
8
8
  /// <reference types="react" />
9
- /// <reference types="web" />
10
- /// <reference types="react" />
11
9
  import type { LexicalEditor } from "lexical";
12
10
  export declare function ImageResizer({ onResizeStart, onResizeEnd, buttonRef, imageRef, maxWidth, editor, showCaption, setShowCaption, captionsEnabled }: {
13
11
  editor: LexicalEditor;
@@ -1,5 +1,3 @@
1
- /// <reference types="web" />
2
- /// <reference types="react" />
3
1
  /**
4
2
  * Copyright (c) Meta Platforms, Inc. and affiliates.
5
3
  *
@@ -1,5 +1,3 @@
1
- /// <reference types="react" />
2
- /// <reference types="web" />
3
1
  /**
4
2
  * Copyright (c) Meta Platforms, Inc. and affiliates.
5
3
  *
package/utils/rect.d.ts CHANGED
@@ -1,5 +1,3 @@
1
- /// <reference types="react" />
2
- /// <reference types="web" />
3
1
  /**
4
2
  * Copyright (c) Meta Platforms, Inc. and affiliates.
5
3
  *
@@ -1,3 +1 @@
1
- /// <reference types="web" />
2
- /// <reference types="react" />
3
1
  export declare function setFloatingElemPosition(targetRect: ClientRect | null, floatingElem: HTMLElement, anchorElem: HTMLElement, verticalGap?: number, horizontalOffset?: number): void;