@elementor/editor-editing-panel 4.3.0-1047 → 4.3.0-1049
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/dist/index.d.mts +12 -103
- package/dist/index.d.ts +12 -103
- package/dist/index.js +627 -289
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +546 -201
- package/dist/index.mjs.map +1 -1
- package/package.json +24 -24
- package/src/controls-registry/controls-registry.tsx +2 -2
- package/src/controls-registry/element-controls/accordion-items-control/accordion-items-control.tsx +141 -0
- package/src/controls-registry/element-controls/accordion-items-control/use-actions.ts +235 -0
- package/src/controls-registry/element-controls/accordion-items-control/use-show-icon-write-through.ts +135 -0
- package/src/controls-registry/element-controls/registry.ts +2 -0
package/dist/index.d.mts
CHANGED
|
@@ -1762,118 +1762,27 @@ declare const controlTypes: {
|
|
|
1762
1762
|
}) => react.JSX.Element>;
|
|
1763
1763
|
readonly layout: "full";
|
|
1764
1764
|
readonly propTypeUtil: {
|
|
1765
|
-
extract: (prop: unknown) =>
|
|
1766
|
-
|
|
1767
|
-
$$type: "string";
|
|
1768
|
-
value: string | null;
|
|
1769
|
-
disabled?: boolean | undefined;
|
|
1770
|
-
} | null;
|
|
1771
|
-
children: unknown[];
|
|
1772
|
-
} | null;
|
|
1773
|
-
isValid: (prop: unknown) => prop is _elementor_editor_props.TransformablePropValue<"html-v3", {
|
|
1774
|
-
content: {
|
|
1775
|
-
$$type: "string";
|
|
1776
|
-
value: string | null;
|
|
1777
|
-
disabled?: boolean | undefined;
|
|
1778
|
-
} | null;
|
|
1779
|
-
children: unknown[];
|
|
1780
|
-
}>;
|
|
1765
|
+
extract: (prop: unknown) => string | null;
|
|
1766
|
+
isValid: (prop: unknown) => prop is _elementor_editor_props.TransformablePropValue<"escaped-html", string | null>;
|
|
1781
1767
|
create: {
|
|
1782
|
-
(value:
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
value: string | null;
|
|
1786
|
-
disabled?: boolean | undefined;
|
|
1787
|
-
} | null;
|
|
1788
|
-
children: unknown[];
|
|
1789
|
-
}): _elementor_editor_props.TransformablePropValue<"html-v3", {
|
|
1790
|
-
content: {
|
|
1791
|
-
$$type: "string";
|
|
1792
|
-
value: string | null;
|
|
1793
|
-
disabled?: boolean | undefined;
|
|
1794
|
-
} | null;
|
|
1795
|
-
children: unknown[];
|
|
1796
|
-
}>;
|
|
1797
|
-
(value: {
|
|
1798
|
-
content: {
|
|
1799
|
-
$$type: "string";
|
|
1800
|
-
value: string | null;
|
|
1801
|
-
disabled?: boolean | undefined;
|
|
1802
|
-
} | null;
|
|
1803
|
-
children: unknown[];
|
|
1804
|
-
}, createOptions?: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<"html-v3", {
|
|
1805
|
-
content: {
|
|
1806
|
-
$$type: "string";
|
|
1807
|
-
value: string | null;
|
|
1808
|
-
disabled?: boolean | undefined;
|
|
1809
|
-
} | null;
|
|
1810
|
-
children: unknown[];
|
|
1811
|
-
}>;
|
|
1812
|
-
(value: (prev?: {
|
|
1813
|
-
content: {
|
|
1814
|
-
$$type: "string";
|
|
1815
|
-
value: string | null;
|
|
1816
|
-
disabled?: boolean | undefined;
|
|
1817
|
-
} | null;
|
|
1818
|
-
children: unknown[];
|
|
1819
|
-
} | undefined) => {
|
|
1820
|
-
content: {
|
|
1821
|
-
$$type: "string";
|
|
1822
|
-
value: string | null;
|
|
1823
|
-
disabled?: boolean | undefined;
|
|
1824
|
-
} | null;
|
|
1825
|
-
children: unknown[];
|
|
1826
|
-
}, createOptions: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<"html-v3", {
|
|
1827
|
-
content: {
|
|
1828
|
-
$$type: "string";
|
|
1829
|
-
value: string | null;
|
|
1830
|
-
disabled?: boolean | undefined;
|
|
1831
|
-
} | null;
|
|
1832
|
-
children: unknown[];
|
|
1833
|
-
}>;
|
|
1768
|
+
(value: string | null): _elementor_editor_props.TransformablePropValue<"escaped-html", string | null>;
|
|
1769
|
+
(value: string | null, createOptions?: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<"escaped-html", string | null>;
|
|
1770
|
+
(value: (prev?: string | null | undefined) => string | null, createOptions: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<"escaped-html", string | null>;
|
|
1834
1771
|
};
|
|
1835
1772
|
schema: zod.ZodObject<{
|
|
1836
|
-
$$type: zod.ZodLiteral<"html
|
|
1837
|
-
value: zod.ZodType<
|
|
1838
|
-
content: {
|
|
1839
|
-
$$type: "string";
|
|
1840
|
-
value: string | null;
|
|
1841
|
-
disabled?: boolean | undefined;
|
|
1842
|
-
} | null;
|
|
1843
|
-
children: unknown[];
|
|
1844
|
-
}, zod.ZodTypeDef, {
|
|
1845
|
-
content: {
|
|
1846
|
-
$$type: "string";
|
|
1847
|
-
value: string | null;
|
|
1848
|
-
disabled?: boolean | undefined;
|
|
1849
|
-
} | null;
|
|
1850
|
-
children: unknown[];
|
|
1851
|
-
}>;
|
|
1773
|
+
$$type: zod.ZodLiteral<"escaped-html">;
|
|
1774
|
+
value: zod.ZodType<string | null, zod.ZodTypeDef, string | null>;
|
|
1852
1775
|
disabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
1853
1776
|
}, "strict", zod.ZodTypeAny, {
|
|
1854
|
-
$$type: "html
|
|
1855
|
-
value:
|
|
1856
|
-
content: {
|
|
1857
|
-
$$type: "string";
|
|
1858
|
-
value: string | null;
|
|
1859
|
-
disabled?: boolean | undefined;
|
|
1860
|
-
} | null;
|
|
1861
|
-
children: unknown[];
|
|
1862
|
-
};
|
|
1777
|
+
$$type: "escaped-html";
|
|
1778
|
+
value: string | null;
|
|
1863
1779
|
disabled?: boolean | undefined;
|
|
1864
1780
|
}, {
|
|
1865
|
-
$$type: "html
|
|
1866
|
-
value:
|
|
1867
|
-
content: {
|
|
1868
|
-
$$type: "string";
|
|
1869
|
-
value: string | null;
|
|
1870
|
-
disabled?: boolean | undefined;
|
|
1871
|
-
} | null;
|
|
1872
|
-
children: unknown[];
|
|
1873
|
-
};
|
|
1781
|
+
$$type: "escaped-html";
|
|
1782
|
+
value: string | null;
|
|
1874
1783
|
disabled?: boolean | undefined;
|
|
1875
1784
|
}>;
|
|
1876
|
-
key: "html
|
|
1785
|
+
key: "escaped-html";
|
|
1877
1786
|
};
|
|
1878
1787
|
};
|
|
1879
1788
|
readonly email: {
|
package/dist/index.d.ts
CHANGED
|
@@ -1762,118 +1762,27 @@ declare const controlTypes: {
|
|
|
1762
1762
|
}) => react.JSX.Element>;
|
|
1763
1763
|
readonly layout: "full";
|
|
1764
1764
|
readonly propTypeUtil: {
|
|
1765
|
-
extract: (prop: unknown) =>
|
|
1766
|
-
|
|
1767
|
-
$$type: "string";
|
|
1768
|
-
value: string | null;
|
|
1769
|
-
disabled?: boolean | undefined;
|
|
1770
|
-
} | null;
|
|
1771
|
-
children: unknown[];
|
|
1772
|
-
} | null;
|
|
1773
|
-
isValid: (prop: unknown) => prop is _elementor_editor_props.TransformablePropValue<"html-v3", {
|
|
1774
|
-
content: {
|
|
1775
|
-
$$type: "string";
|
|
1776
|
-
value: string | null;
|
|
1777
|
-
disabled?: boolean | undefined;
|
|
1778
|
-
} | null;
|
|
1779
|
-
children: unknown[];
|
|
1780
|
-
}>;
|
|
1765
|
+
extract: (prop: unknown) => string | null;
|
|
1766
|
+
isValid: (prop: unknown) => prop is _elementor_editor_props.TransformablePropValue<"escaped-html", string | null>;
|
|
1781
1767
|
create: {
|
|
1782
|
-
(value:
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
value: string | null;
|
|
1786
|
-
disabled?: boolean | undefined;
|
|
1787
|
-
} | null;
|
|
1788
|
-
children: unknown[];
|
|
1789
|
-
}): _elementor_editor_props.TransformablePropValue<"html-v3", {
|
|
1790
|
-
content: {
|
|
1791
|
-
$$type: "string";
|
|
1792
|
-
value: string | null;
|
|
1793
|
-
disabled?: boolean | undefined;
|
|
1794
|
-
} | null;
|
|
1795
|
-
children: unknown[];
|
|
1796
|
-
}>;
|
|
1797
|
-
(value: {
|
|
1798
|
-
content: {
|
|
1799
|
-
$$type: "string";
|
|
1800
|
-
value: string | null;
|
|
1801
|
-
disabled?: boolean | undefined;
|
|
1802
|
-
} | null;
|
|
1803
|
-
children: unknown[];
|
|
1804
|
-
}, createOptions?: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<"html-v3", {
|
|
1805
|
-
content: {
|
|
1806
|
-
$$type: "string";
|
|
1807
|
-
value: string | null;
|
|
1808
|
-
disabled?: boolean | undefined;
|
|
1809
|
-
} | null;
|
|
1810
|
-
children: unknown[];
|
|
1811
|
-
}>;
|
|
1812
|
-
(value: (prev?: {
|
|
1813
|
-
content: {
|
|
1814
|
-
$$type: "string";
|
|
1815
|
-
value: string | null;
|
|
1816
|
-
disabled?: boolean | undefined;
|
|
1817
|
-
} | null;
|
|
1818
|
-
children: unknown[];
|
|
1819
|
-
} | undefined) => {
|
|
1820
|
-
content: {
|
|
1821
|
-
$$type: "string";
|
|
1822
|
-
value: string | null;
|
|
1823
|
-
disabled?: boolean | undefined;
|
|
1824
|
-
} | null;
|
|
1825
|
-
children: unknown[];
|
|
1826
|
-
}, createOptions: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<"html-v3", {
|
|
1827
|
-
content: {
|
|
1828
|
-
$$type: "string";
|
|
1829
|
-
value: string | null;
|
|
1830
|
-
disabled?: boolean | undefined;
|
|
1831
|
-
} | null;
|
|
1832
|
-
children: unknown[];
|
|
1833
|
-
}>;
|
|
1768
|
+
(value: string | null): _elementor_editor_props.TransformablePropValue<"escaped-html", string | null>;
|
|
1769
|
+
(value: string | null, createOptions?: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<"escaped-html", string | null>;
|
|
1770
|
+
(value: (prev?: string | null | undefined) => string | null, createOptions: _elementor_editor_props.CreateOptions): _elementor_editor_props.TransformablePropValue<"escaped-html", string | null>;
|
|
1834
1771
|
};
|
|
1835
1772
|
schema: zod.ZodObject<{
|
|
1836
|
-
$$type: zod.ZodLiteral<"html
|
|
1837
|
-
value: zod.ZodType<
|
|
1838
|
-
content: {
|
|
1839
|
-
$$type: "string";
|
|
1840
|
-
value: string | null;
|
|
1841
|
-
disabled?: boolean | undefined;
|
|
1842
|
-
} | null;
|
|
1843
|
-
children: unknown[];
|
|
1844
|
-
}, zod.ZodTypeDef, {
|
|
1845
|
-
content: {
|
|
1846
|
-
$$type: "string";
|
|
1847
|
-
value: string | null;
|
|
1848
|
-
disabled?: boolean | undefined;
|
|
1849
|
-
} | null;
|
|
1850
|
-
children: unknown[];
|
|
1851
|
-
}>;
|
|
1773
|
+
$$type: zod.ZodLiteral<"escaped-html">;
|
|
1774
|
+
value: zod.ZodType<string | null, zod.ZodTypeDef, string | null>;
|
|
1852
1775
|
disabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
1853
1776
|
}, "strict", zod.ZodTypeAny, {
|
|
1854
|
-
$$type: "html
|
|
1855
|
-
value:
|
|
1856
|
-
content: {
|
|
1857
|
-
$$type: "string";
|
|
1858
|
-
value: string | null;
|
|
1859
|
-
disabled?: boolean | undefined;
|
|
1860
|
-
} | null;
|
|
1861
|
-
children: unknown[];
|
|
1862
|
-
};
|
|
1777
|
+
$$type: "escaped-html";
|
|
1778
|
+
value: string | null;
|
|
1863
1779
|
disabled?: boolean | undefined;
|
|
1864
1780
|
}, {
|
|
1865
|
-
$$type: "html
|
|
1866
|
-
value:
|
|
1867
|
-
content: {
|
|
1868
|
-
$$type: "string";
|
|
1869
|
-
value: string | null;
|
|
1870
|
-
disabled?: boolean | undefined;
|
|
1871
|
-
} | null;
|
|
1872
|
-
children: unknown[];
|
|
1873
|
-
};
|
|
1781
|
+
$$type: "escaped-html";
|
|
1782
|
+
value: string | null;
|
|
1874
1783
|
disabled?: boolean | undefined;
|
|
1875
1784
|
}>;
|
|
1876
|
-
key: "html
|
|
1785
|
+
key: "escaped-html";
|
|
1877
1786
|
};
|
|
1878
1787
|
};
|
|
1879
1788
|
readonly email: {
|