easy-email-extensions 4.3.2 → 4.3.5
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.
@@ -48,6 +48,7 @@ export declare const blocks: {
|
|
48
48
|
advanced_carousel: typeof Carousel;
|
49
49
|
advanced_navbar: typeof Navbar;
|
50
50
|
advanced_social: typeof Social;
|
51
|
+
advanced_hero: typeof Hero;
|
51
52
|
advanced_wrapper: typeof Wrapper;
|
52
53
|
advanced_section: typeof Section;
|
53
54
|
advanced_group: typeof Group;
|
@@ -4,7 +4,7 @@ declare type ObjectComponent = {
|
|
4
4
|
export declare class BlockAttributeConfigurationManager {
|
5
5
|
private static map;
|
6
6
|
static add(componentMap: ObjectComponent): void;
|
7
|
-
static get<T extends ObjectComponent>(name: keyof T):
|
7
|
+
static get<T extends ObjectComponent>(name: keyof T): () => JSX.Element | null;
|
8
8
|
static getMap(): ObjectComponent;
|
9
9
|
}
|
10
10
|
export {};
|
package/lib/index2.js
CHANGED
@@ -38417,10 +38417,24 @@ function Spacer() {
|
|
38417
38417
|
}
|
38418
38418
|
function Raw() {
|
38419
38419
|
const { focusIdx: focusIdx2 } = useFocusIdx();
|
38420
|
-
|
38421
|
-
|
38420
|
+
const [visible, setVisible] = useState(false);
|
38421
|
+
return /* @__PURE__ */ React__default.createElement(AttributesPanelWrapper, {
|
38422
|
+
style: { padding: 20 },
|
38423
|
+
extra: /* @__PURE__ */ React__default.createElement(Tooltip$1, {
|
38424
|
+
content: "Html mode"
|
38425
|
+
}, /* @__PURE__ */ React__default.createElement(Button$4, {
|
38426
|
+
onClick: () => setVisible(true),
|
38427
|
+
icon: /* @__PURE__ */ React__default.createElement(IconFont, {
|
38428
|
+
iconName: "icon-html"
|
38429
|
+
})
|
38430
|
+
}))
|
38431
|
+
}, /* @__PURE__ */ React__default.createElement(TextAreaField, {
|
38432
|
+
label: "",
|
38422
38433
|
name: `${focusIdx2}.data.value.content`,
|
38423
|
-
|
38434
|
+
rows: 5
|
38435
|
+
}), /* @__PURE__ */ React__default.createElement(HtmlEditor, {
|
38436
|
+
visible,
|
38437
|
+
setVisible
|
38424
38438
|
}));
|
38425
38439
|
}
|
38426
38440
|
const positionOptions = [
|
@@ -39133,6 +39147,7 @@ const blocks = {
|
|
39133
39147
|
[AdvancedType.CAROUSEL]: Carousel,
|
39134
39148
|
[AdvancedType.NAVBAR]: Navbar,
|
39135
39149
|
[AdvancedType.SOCIAL]: Social,
|
39150
|
+
[AdvancedType.HERO]: Hero,
|
39136
39151
|
[AdvancedType.WRAPPER]: Wrapper,
|
39137
39152
|
[AdvancedType.SECTION]: Section,
|
39138
39153
|
[AdvancedType.GROUP]: Group,
|
@@ -39232,6 +39247,7 @@ function MergeTags(props) {
|
|
39232
39247
|
position: "left",
|
39233
39248
|
popupVisible: visible,
|
39234
39249
|
onVisibleChange,
|
39250
|
+
style: { zIndex: 10 },
|
39235
39251
|
content: /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(MergeTags$1, {
|
39236
39252
|
value: "",
|
39237
39253
|
onChange
|