@daisychainapp/maily-to-core 0.0.23 → 0.0.25
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.js +11 -63
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +59 -111
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3649,20 +3649,7 @@ function ImageBubbleMenu(props) {
|
|
|
3649
3649
|
}
|
|
3650
3650
|
)
|
|
3651
3651
|
] })
|
|
3652
|
-
] })
|
|
3653
|
-
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Divider, {}),
|
|
3654
|
-
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
3655
|
-
ShowPopover,
|
|
3656
|
-
{
|
|
3657
|
-
showIfKey: state.currentShowIfKey,
|
|
3658
|
-
onShowIfKeyValueChange: (value) => {
|
|
3659
|
-
editor == null ? void 0 : editor.chain().updateAttributes(state.isLogoActive ? "logo" : "image", {
|
|
3660
|
-
showIfKey: value
|
|
3661
|
-
}).run();
|
|
3662
|
-
},
|
|
3663
|
-
editor
|
|
3664
|
-
}
|
|
3665
|
-
)
|
|
3652
|
+
] })
|
|
3666
3653
|
] })
|
|
3667
3654
|
})
|
|
3668
3655
|
);
|
|
@@ -4111,19 +4098,6 @@ function SectionBubbleMenu(props) {
|
|
|
4111
4098
|
}
|
|
4112
4099
|
}
|
|
4113
4100
|
),
|
|
4114
|
-
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Divider, {}),
|
|
4115
|
-
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
4116
|
-
ShowPopover,
|
|
4117
|
-
{
|
|
4118
|
-
showIfKey: state.currentShowIfKey,
|
|
4119
|
-
onShowIfKeyValueChange: (value) => {
|
|
4120
|
-
editor.commands.updateSection({
|
|
4121
|
-
showIfKey: value
|
|
4122
|
-
});
|
|
4123
|
-
},
|
|
4124
|
-
editor
|
|
4125
|
-
}
|
|
4126
|
-
),
|
|
4127
4101
|
state.isColumnsActive && /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(import_jsx_runtime35.Fragment, { children: [
|
|
4128
4102
|
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Divider, {}),
|
|
4129
4103
|
/* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(Popover, { children: [
|
|
@@ -4287,28 +4261,15 @@ function SpacerBubbleMenu(props) {
|
|
|
4287
4261
|
import_react35.BubbleMenu,
|
|
4288
4262
|
__spreadProps(__spreadValues({}, bubbleMenuProps), {
|
|
4289
4263
|
className: "mly-flex mly-gap-0.5 mly-rounded-lg mly-border mly-border-slate-200 mly-bg-white mly-p-0.5 mly-shadow-md",
|
|
4290
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime36.
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
)),
|
|
4300
|
-
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Divider, {}),
|
|
4301
|
-
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
4302
|
-
ShowPopover,
|
|
4303
|
-
{
|
|
4304
|
-
showIfKey: state.currentShowIfKey,
|
|
4305
|
-
onShowIfKeyValueChange: (value) => {
|
|
4306
|
-
editor.commands.setSpacerShowIfKey(value);
|
|
4307
|
-
},
|
|
4308
|
-
editor
|
|
4309
|
-
}
|
|
4310
|
-
)
|
|
4311
|
-
] })
|
|
4264
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(TooltipProvider, { children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
4265
|
+
BubbleMenuButton,
|
|
4266
|
+
__spreadValues({
|
|
4267
|
+
className: "!mly-h-7 mly-w-7 mly-shrink-0 mly-p-0",
|
|
4268
|
+
iconClassName: "mly-w-3 mly-h-3",
|
|
4269
|
+
nameClassName: "mly-text-xs"
|
|
4270
|
+
}, item),
|
|
4271
|
+
index
|
|
4272
|
+
)) })
|
|
4312
4273
|
})
|
|
4313
4274
|
);
|
|
4314
4275
|
}
|
|
@@ -4927,20 +4888,7 @@ function ButtonView(props) {
|
|
|
4927
4888
|
}
|
|
4928
4889
|
}
|
|
4929
4890
|
)
|
|
4930
|
-
] })
|
|
4931
|
-
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Divider, {}),
|
|
4932
|
-
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
4933
|
-
ShowPopover,
|
|
4934
|
-
{
|
|
4935
|
-
showIfKey,
|
|
4936
|
-
onShowIfKeyValueChange: (value) => {
|
|
4937
|
-
updateAttributes2({
|
|
4938
|
-
showIfKey: value
|
|
4939
|
-
});
|
|
4940
|
-
},
|
|
4941
|
-
editor
|
|
4942
|
-
}
|
|
4943
|
-
)
|
|
4891
|
+
] })
|
|
4944
4892
|
] }) })
|
|
4945
4893
|
}
|
|
4946
4894
|
)
|