easy-email-extensions 4.9.0 → 4.11.0
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/index2.js +14 -0
- package/lib/index2.js.map +1 -1
- package/package.json +2 -2
package/lib/index2.js
CHANGED
@@ -35163,6 +35163,16 @@ function Text() {
|
|
35163
35163
|
setVisible
|
35164
35164
|
}));
|
35165
35165
|
}
|
35166
|
+
const fullWidthOnMobileAdapter = {
|
35167
|
+
format(obj) {
|
35168
|
+
return Boolean(obj);
|
35169
|
+
},
|
35170
|
+
parse(val) {
|
35171
|
+
if (!val)
|
35172
|
+
return void 0;
|
35173
|
+
return "true";
|
35174
|
+
}
|
35175
|
+
};
|
35166
35176
|
function Image$1() {
|
35167
35177
|
const { focusIdx: focusIdx2 } = useFocusIdx();
|
35168
35178
|
const { onUploadImage } = useEditorProps();
|
@@ -35186,6 +35196,10 @@ function Image$1() {
|
|
35186
35196
|
label: t("Background color"),
|
35187
35197
|
name: `${focusIdx2}.attributes.container-background-color`,
|
35188
35198
|
inline: true
|
35199
|
+
}), /* @__PURE__ */ React__default.createElement(SwitchField, {
|
35200
|
+
label: t("Full width on mobile"),
|
35201
|
+
name: `${focusIdx2}.attributes.fluid-on-mobile `,
|
35202
|
+
config: fullWidthOnMobileAdapter
|
35189
35203
|
}))), /* @__PURE__ */ React__default.createElement(Collapse$1.Item, {
|
35190
35204
|
name: "0",
|
35191
35205
|
header: t("Dimension")
|