@limetech/lime-elements 37.48.0 → 37.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.
- package/CHANGELOG.md +16 -0
- package/dist/cjs/limel-icon_2.cjs.entry.js.map +1 -1
- package/dist/cjs/limel-prosemirror-adapter.cjs.entry.js +7 -2
- package/dist/cjs/limel-prosemirror-adapter.cjs.entry.js.map +1 -1
- package/dist/collection/components/portal/portal.js +23 -8
- package/dist/collection/components/portal/portal.js.map +1 -1
- package/dist/collection/components/text-editor/prosemirror-adapter/prosemirror-adapter.js +7 -2
- package/dist/collection/components/text-editor/prosemirror-adapter/prosemirror-adapter.js.map +1 -1
- package/dist/esm/limel-icon_2.entry.js.map +1 -1
- package/dist/esm/limel-prosemirror-adapter.entry.js +7 -2
- package/dist/esm/limel-prosemirror-adapter.entry.js.map +1 -1
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/{p-94598713.entry.js → p-8053312b.entry.js} +2 -2
- package/dist/lime-elements/p-8053312b.entry.js.map +1 -0
- package/dist/lime-elements/p-d4d2593b.entry.js.map +1 -1
- package/dist/types/components/portal/portal.d.ts +30 -8
- package/dist/types/components/text-editor/prosemirror-adapter/prosemirror-adapter.d.ts +2 -0
- package/dist/types/components.d.ts +78 -30
- package/package.json +1 -1
- package/dist/lime-elements/p-94598713.entry.js.map +0 -1
|
@@ -26062,6 +26062,11 @@ const ProsemirrorAdapter = class {
|
|
|
26062
26062
|
setTimeout(() => {
|
|
26063
26063
|
this.initializeTextEditor();
|
|
26064
26064
|
}, 0);
|
|
26065
|
+
}
|
|
26066
|
+
connectedCallback() {
|
|
26067
|
+
if (this.view) {
|
|
26068
|
+
this.initializeTextEditor();
|
|
26069
|
+
}
|
|
26065
26070
|
this.host.addEventListener('open-editor-link-menu', this.handleOpenLinkMenu);
|
|
26066
26071
|
}
|
|
26067
26072
|
disconnectedCallback() {
|
|
@@ -26071,8 +26076,8 @@ const ProsemirrorAdapter = class {
|
|
|
26071
26076
|
render() {
|
|
26072
26077
|
return [
|
|
26073
26078
|
h("div", { id: "editor" }),
|
|
26074
|
-
h("limel-action-bar", {
|
|
26075
|
-
h("limel-portal", { containerId: this.portalId, visible: this.isLinkMenuOpen, openDirection: "top", inheritParentWidth: true, containerStyle: { 'z-index': 1 } }, h("limel-menu-surface", { open: this.isLinkMenuOpen, onDismiss: this.handleCancelLinkMenu, style: {
|
|
26079
|
+
h("limel-action-bar", { ref: (el) => (this.actionBarElement = el), accessibleLabel: "Toolbar", actions: this.actionBarItems, onItemSelected: this.handleActionBarItem }),
|
|
26080
|
+
h("limel-portal", { containerId: this.portalId, visible: this.isLinkMenuOpen, openDirection: "top", inheritParentWidth: true, anchor: this.actionBarElement, containerStyle: { 'z-index': 1 } }, h("limel-menu-surface", { open: this.isLinkMenuOpen, onDismiss: this.handleCancelLinkMenu, style: {
|
|
26076
26081
|
'--mdc-menu-min-width': '100%',
|
|
26077
26082
|
'max-height': 'inherit',
|
|
26078
26083
|
} }, h("limel-text-editor-link-menu", { link: this.link, isOpen: this.isLinkMenuOpen, onLinkChange: this.handleLinkChange, onCancel: this.handleCancelLinkMenu, onSave: this.handleSaveLinkMenu }))),
|