@nylas/web-elements 2.5.11 → 2.5.12
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/cdn/nylas-scheduler-editor/nylas-scheduler-editor.es.js +6 -3
- package/dist/cdn/nylas-scheduling/nylas-scheduling.es.js +1 -1
- package/dist/cjs/calendar-agenda-fill-icon_39.cjs.entry.js +3 -3
- package/dist/cjs/calendar-agenda-fill-icon_39.cjs.entry.js.map +1 -1
- package/dist/cjs/google-logo-icon_6.cjs.entry.js +1 -1
- package/dist/cjs/nylas-scheduler-editor.cjs.entry.js +1 -1
- package/dist/cjs/nylas-scheduling.cjs.entry.js +1 -1
- package/dist/cjs/{version-DbvVCdbm.js → version-FXnnI00G.js} +3 -3
- package/dist/cjs/{version-DbvVCdbm.js.map → version-FXnnI00G.js.map} +1 -1
- package/dist/collection/components/scheduler-editor/nylas-page-styling/nylas-page-styling.js +3 -3
- package/dist/collection/components/scheduler-editor/nylas-page-styling/nylas-page-styling.js.map +1 -1
- package/dist/collection/version.js +1 -1
- package/dist/collection/version.js.map +1 -1
- package/dist/components/nylas-editor-tabs-group.js +1 -1
- package/dist/components/nylas-editor-tabs.js +1 -1
- package/dist/components/nylas-page-styling.js +1 -1
- package/dist/components/nylas-scheduler-editor.js +4 -4
- package/dist/components/nylas-scheduling.js +1 -1
- package/dist/components/{p-Bgb7cz6Z.js → p-77cQPnsG.js} +4 -4
- package/dist/components/{p-Bgb7cz6Z.js.map → p-77cQPnsG.js.map} +1 -1
- package/dist/components/{p-DmOB6JTr.js → p-Cl71OI5D.js} +3 -3
- package/dist/components/{p-DmOB6JTr.js.map → p-Cl71OI5D.js.map} +1 -1
- package/dist/components/{p-DP3OiAjS.js → p-Cm6e2qUq.js} +4 -4
- package/dist/components/{p-DP3OiAjS.js.map → p-Cm6e2qUq.js.map} +1 -1
- package/dist/components/{p-B05sg_l1.js → p-DvPuyp-I.js} +5 -5
- package/dist/components/p-DvPuyp-I.js.map +1 -0
- package/dist/esm/calendar-agenda-fill-icon_39.entry.js +3 -3
- package/dist/esm/calendar-agenda-fill-icon_39.entry.js.map +1 -1
- package/dist/esm/google-logo-icon_6.entry.js +1 -1
- package/dist/esm/nylas-scheduler-editor.entry.js +1 -1
- package/dist/esm/nylas-scheduling.entry.js +1 -1
- package/dist/esm/{version-BHcQFl5b.js → version-BEjJeakd.js} +3 -3
- package/dist/esm/{version-BHcQFl5b.js.map → version-BEjJeakd.js.map} +1 -1
- package/dist/nylas-web-elements/nylas-web-elements.esm.js +1 -1
- package/dist/nylas-web-elements/{p-0a7c5cd7.entry.js → p-32e39f3d.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-f1942b81.entry.js → p-7c1bc27a.entry.js} +3 -3
- package/dist/nylas-web-elements/p-7c1bc27a.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-BHcQFl5b.js → p-BEjJeakd.js} +2 -2
- package/dist/nylas-web-elements/{p-BHcQFl5b.js.map → p-BEjJeakd.js.map} +1 -1
- package/dist/nylas-web-elements/{p-620804db.entry.js → p-ad0e7f3b.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-8a1b1bb7.entry.js → p-fe855b8f.entry.js} +2 -2
- package/dist/types/version.d.ts +1 -1
- package/package.json +1 -1
- package/dist/components/p-B05sg_l1.js.map +0 -1
- package/dist/nylas-web-elements/p-f1942b81.entry.js.map +0 -1
- /package/dist/nylas-web-elements/{p-0a7c5cd7.entry.js.map → p-32e39f3d.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-620804db.entry.js.map → p-ad0e7f3b.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-8a1b1bb7.entry.js.map → p-fe855b8f.entry.js.map} +0 -0
|
@@ -26612,7 +26612,7 @@ const LQ = () => ({
|
|
|
26612
26612
|
lazyLoadIntegration: CX,
|
|
26613
26613
|
getModalIntegration: () => DQ,
|
|
26614
26614
|
getScreenshotIntegration: () => LQ
|
|
26615
|
-
}), Yr = "2.5.
|
|
26615
|
+
}), Yr = "2.5.12", $Q = ".sc-add-circle-icon-h{display:flex}", BQ = De(class extends Ae {
|
|
26616
26616
|
constructor() {
|
|
26617
26617
|
super(), this.__registerHost(), this.width = "24", this.height = "25";
|
|
26618
26618
|
}
|
|
@@ -36847,7 +36847,10 @@ const ZN = De(class extends Ae {
|
|
|
36847
36847
|
}
|
|
36848
36848
|
checkIfElementIsInSlot(e) {
|
|
36849
36849
|
var a;
|
|
36850
|
-
|
|
36850
|
+
if (document == null ? void 0 : document.querySelector(`[slot="custom-page-style-inputs"] [name="${e}"]`))
|
|
36851
|
+
return !0;
|
|
36852
|
+
const i = ((a = this.host.shadowRoot) == null ? void 0 : a.querySelectorAll("[data-page-styling]")) ?? [];
|
|
36853
|
+
return Array.from(i).some((r) => r.name === e || r.getAttribute("name") === e);
|
|
36851
36854
|
}
|
|
36852
36855
|
async nylasFormInputChangeHandler(e) {
|
|
36853
36856
|
var r;
|
|
@@ -36900,7 +36903,7 @@ const ZN = De(class extends Ae {
|
|
|
36900
36903
|
}
|
|
36901
36904
|
render() {
|
|
36902
36905
|
const e = this.customInputsSlot || !this.hasCustomSlot && !!this.currentAppearance;
|
|
36903
|
-
return c(Ke, { key: "
|
|
36906
|
+
return c(Ke, { key: "68ff4f23782f0d5fbfa30d006d804663cfd4c7a2" }, c("div", { key: "4db1b16c2a559b759666a18cfc5ce1df427e3120", part: "nps", class: { "nylas-page-styling": !0, "no-border": !e } }, e ? c("div", { class: "header", part: "nps__header" }, c("div", null, c("h3", null, w.t("nylasPageStyling.headerTitle"))), c("div", { class: "drawer-toggle", part: "nps__drawer-toggle--container" }, c("span", { class: `chevron ${this.isOpen ? "open" : "closed"} `, onClick: () => this.toggleConfirmationEmail() }, c("chevron-icon", { width: "24", height: "24" })))) : null, c("div", { key: "cbd697408c8794ed3da1a7240cde839c28bd8e71", class: "hidden" }, c("input-color-picker", { key: "b378ea6f4174ca07ad2f8c363f4dbfb108211a5d", name: "color-picker" })), c("div", { key: "6f210a564f347f40c18516bf4e39475cc48d9f57", id: "nylas-page-styling__body", class: "nylas-page-styling__body", part: "nps__body" }, c("div", { key: "793428c898c430412ebc3474aa01498c11a46842", class: { "nylas-page-styling__section": !0, "no-padding": !e } }, c("div", { key: "18d8e84857d9ca6cb82b055f4218577d9974d0bb", class: "nylas-page-styling__row" }, c("div", { key: "4c17031c6f90a042bfad62c202bc0e9f9704471c", class: { subsection: !0, hide: !this.isOpen } }, !this.hasCustomSlot && this.currentAppearance ? this.renderDefaultInputs() : null))))));
|
|
36904
36907
|
}
|
|
36905
36908
|
static get formAssociated() {
|
|
36906
36909
|
return !0;
|
|
@@ -26103,7 +26103,7 @@ const oF = () => ({
|
|
|
26103
26103
|
lazyLoadIntegration: VR,
|
|
26104
26104
|
getModalIntegration: () => eF,
|
|
26105
26105
|
getScreenshotIntegration: () => oF
|
|
26106
|
-
}), No = "2.5.
|
|
26106
|
+
}), No = "2.5.12", lF = (t, e, n) => {
|
|
26107
26107
|
const i = t.get(e);
|
|
26108
26108
|
i ? i.includes(n) || i.push(n) : t.set(e, [n]);
|
|
26109
26109
|
}, cF = (t, e) => {
|
|
@@ -7644,8 +7644,8 @@ const NylasPageStyling = class {
|
|
|
7644
7644
|
const findElement = document?.querySelector(`[slot="custom-page-style-inputs"] [name="${name}"]`);
|
|
7645
7645
|
if (findElement)
|
|
7646
7646
|
return true;
|
|
7647
|
-
const
|
|
7648
|
-
return
|
|
7647
|
+
const shadowInputs = this.host.shadowRoot?.querySelectorAll('[data-page-styling]') ?? [];
|
|
7648
|
+
return Array.from(shadowInputs).some(el => el.name === name || el.getAttribute('name') === name);
|
|
7649
7649
|
}
|
|
7650
7650
|
async nylasFormInputChangeHandler(event) {
|
|
7651
7651
|
const { name, value } = event.detail;
|
|
@@ -7723,7 +7723,7 @@ const NylasPageStyling = class {
|
|
|
7723
7723
|
}
|
|
7724
7724
|
render() {
|
|
7725
7725
|
const showContent = this.customInputsSlot || (!this.hasCustomSlot && !!this.currentAppearance);
|
|
7726
|
-
return (index$1.h(index$1.Host, { key: '
|
|
7726
|
+
return (index$1.h(index$1.Host, { key: '68ff4f23782f0d5fbfa30d006d804663cfd4c7a2' }, index$1.h("div", { key: '4db1b16c2a559b759666a18cfc5ce1df427e3120', part: "nps", class: { 'nylas-page-styling': true, 'no-border': !showContent } }, showContent ? (index$1.h("div", { class: "header", part: "nps__header" }, index$1.h("div", null, index$1.h("h3", null, utils.instance.t('nylasPageStyling.headerTitle'))), index$1.h("div", { class: "drawer-toggle", part: "nps__drawer-toggle--container" }, index$1.h("span", { class: `chevron ${this.isOpen ? 'open' : 'closed'} `, onClick: () => this.toggleConfirmationEmail() }, index$1.h("chevron-icon", { width: "24", height: "24" }))))) : null, index$1.h("div", { key: 'cbd697408c8794ed3da1a7240cde839c28bd8e71', class: "hidden" }, index$1.h("input-color-picker", { key: 'b378ea6f4174ca07ad2f8c363f4dbfb108211a5d', name: "color-picker" })), index$1.h("div", { key: '6f210a564f347f40c18516bf4e39475cc48d9f57', id: "nylas-page-styling__body", class: "nylas-page-styling__body", part: "nps__body" }, index$1.h("div", { key: '793428c898c430412ebc3474aa01498c11a46842', class: { 'nylas-page-styling__section': true, 'no-padding': !showContent } }, index$1.h("div", { key: '18d8e84857d9ca6cb82b055f4218577d9974d0bb', class: "nylas-page-styling__row" }, index$1.h("div", { key: '4c17031c6f90a042bfad62c202bc0e9f9704471c', class: { subsection: true, hide: !this.isOpen } }, !this.hasCustomSlot && this.currentAppearance ? this.renderDefaultInputs() : null)))))));
|
|
7727
7727
|
}
|
|
7728
7728
|
static get formAssociated() { return true; }
|
|
7729
7729
|
get host() { return index$1.getElement(this); }
|