easy-email-pro-editor 1.48.0 → 1.49.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.
@@ -77,7 +77,7 @@ export declare class HtmlBlockNode extends BaseElement<HtmlBlockNodeElement> {
77
77
  "aria-expanded"?: (boolean | "true" | "false") | undefined;
78
78
  "aria-flowto"?: string | undefined;
79
79
  "aria-grabbed"?: (boolean | "true" | "false") | undefined;
80
- "aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false" | undefined;
80
+ "aria-haspopup"?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
81
81
  "aria-hidden"?: (boolean | "true" | "false") | undefined;
82
82
  "aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
83
83
  "aria-keyshortcuts"?: string | undefined;
@@ -94,7 +94,7 @@ export declare class HtmlBlockNode extends BaseElement<HtmlBlockNodeElement> {
94
94
  "aria-posinset"?: number | undefined;
95
95
  "aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
96
96
  "aria-readonly"?: (boolean | "true" | "false") | undefined;
97
- "aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
97
+ "aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
98
98
  "aria-required"?: (boolean | "true" | "false") | undefined;
99
99
  "aria-roledescription"?: string | undefined;
100
100
  "aria-rowcount"?: number | undefined;
@@ -350,7 +350,7 @@ export declare class HtmlBlockNode extends BaseElement<HtmlBlockNodeElement> {
350
350
  "aria-expanded"?: (boolean | "true" | "false") | undefined;
351
351
  "aria-flowto"?: string | undefined;
352
352
  "aria-grabbed"?: (boolean | "true" | "false") | undefined;
353
- "aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false" | undefined;
353
+ "aria-haspopup"?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
354
354
  "aria-hidden"?: (boolean | "true" | "false") | undefined;
355
355
  "aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
356
356
  "aria-keyshortcuts"?: string | undefined;
@@ -367,7 +367,7 @@ export declare class HtmlBlockNode extends BaseElement<HtmlBlockNodeElement> {
367
367
  "aria-posinset"?: number | undefined;
368
368
  "aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
369
369
  "aria-readonly"?: (boolean | "true" | "false") | undefined;
370
- "aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
370
+ "aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
371
371
  "aria-required"?: (boolean | "true" | "false") | undefined;
372
372
  "aria-roledescription"?: string | undefined;
373
373
  "aria-rowcount"?: number | undefined;
@@ -77,7 +77,7 @@ export declare class HtmlNode extends BaseElement<HtmlNodeElement> {
77
77
  "aria-expanded"?: (boolean | "true" | "false") | undefined;
78
78
  "aria-flowto"?: string | undefined;
79
79
  "aria-grabbed"?: (boolean | "true" | "false") | undefined;
80
- "aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false" | undefined;
80
+ "aria-haspopup"?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
81
81
  "aria-hidden"?: (boolean | "true" | "false") | undefined;
82
82
  "aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
83
83
  "aria-keyshortcuts"?: string | undefined;
@@ -94,7 +94,7 @@ export declare class HtmlNode extends BaseElement<HtmlNodeElement> {
94
94
  "aria-posinset"?: number | undefined;
95
95
  "aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
96
96
  "aria-readonly"?: (boolean | "true" | "false") | undefined;
97
- "aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
97
+ "aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
98
98
  "aria-required"?: (boolean | "true" | "false") | undefined;
99
99
  "aria-roledescription"?: string | undefined;
100
100
  "aria-rowcount"?: number | undefined;
@@ -77,7 +77,7 @@ export declare class HTMLDomNode extends BaseElement<HTMLDomNodeElement> {
77
77
  "aria-expanded"?: (boolean | "true" | "false") | undefined;
78
78
  "aria-flowto"?: string | undefined;
79
79
  "aria-grabbed"?: (boolean | "true" | "false") | undefined;
80
- "aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false" | undefined;
80
+ "aria-haspopup"?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
81
81
  "aria-hidden"?: (boolean | "true" | "false") | undefined;
82
82
  "aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
83
83
  "aria-keyshortcuts"?: string | undefined;
@@ -94,7 +94,7 @@ export declare class HTMLDomNode extends BaseElement<HTMLDomNodeElement> {
94
94
  "aria-posinset"?: number | undefined;
95
95
  "aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
96
96
  "aria-readonly"?: (boolean | "true" | "false") | undefined;
97
- "aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
97
+ "aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
98
98
  "aria-required"?: (boolean | "true" | "false") | undefined;
99
99
  "aria-roledescription"?: string | undefined;
100
100
  "aria-rowcount"?: number | undefined;
@@ -1,6 +1,7 @@
1
1
  import { Element } from "easy-email-pro-core";
2
2
  import React from "react";
3
3
  import { Path } from "slate";
4
+ import { ButtonProps } from "@arco-design/web-react";
4
5
  export declare enum ActiveTabKeys {
5
6
  MOBILE = "MOBILE",
6
7
  DESKTOP = "DESKTOP"
@@ -9,6 +10,11 @@ export interface InteractContextProps {
9
10
  universalElementEditing: boolean;
10
11
  universalElementPath: Path | null | undefined;
11
12
  setUniversalElementPath: React.Dispatch<React.SetStateAction<Path | null | undefined>>;
13
+ standaloneElementEditing: boolean;
14
+ standaloneElementPath: Path | null | undefined;
15
+ standaloneElementSaveButton?: ButtonProps | null;
16
+ setStandaloneElementSaveButton: React.Dispatch<React.SetStateAction<ButtonProps | null>>;
17
+ setStandaloneElementPath: React.Dispatch<React.SetStateAction<Path | null | undefined>>;
12
18
  activeTab: ActiveTabKeys;
13
19
  setActiveTab: React.Dispatch<React.SetStateAction<ActiveTabKeys>>;
14
20
  selectedNodePath: Path | null;
@@ -22,6 +28,7 @@ export interface InteractContextProps {
22
28
  lock: boolean;
23
29
  setLock: React.Dispatch<React.SetStateAction<boolean>>;
24
30
  initialUniversalElement: Element | null;
31
+ initialStandaloneElement: Element | null;
25
32
  }
26
33
  export declare const InteractContext: React.Context<InteractContextProps>;
27
34
  export declare const InteractProvider: React.FC<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easy-email-pro-editor",
3
- "version": "1.48.0",
3
+ "version": "1.49.1",
4
4
  "description": "",
5
5
  "files": [
6
6
  "lib"