@nylas/web-elements 2.5.10 → 2.5.11
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 +11 -11
- package/dist/cdn/nylas-scheduling/nylas-scheduling.es.js +1 -1
- package/dist/cjs/calendar-agenda-fill-icon_39.cjs.entry.js +4 -1
- 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-BcrxszP8.js → version-DbvVCdbm.js} +3 -3
- package/dist/cjs/{version-BcrxszP8.js.map → version-DbvVCdbm.js.map} +1 -1
- package/dist/collection/components/scheduler-editor/nylas-page-styling/nylas-page-styling.js +4 -1
- 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-CqVcXov0.js → p-B05sg_l1.js} +6 -3
- package/dist/components/p-B05sg_l1.js.map +1 -0
- package/dist/components/{p-s6s0oE_l.js → p-Bgb7cz6Z.js} +4 -4
- package/dist/components/{p-s6s0oE_l.js.map → p-Bgb7cz6Z.js.map} +1 -1
- package/dist/components/{p-JpjuLIts.js → p-DP3OiAjS.js} +4 -4
- package/dist/components/{p-JpjuLIts.js.map → p-DP3OiAjS.js.map} +1 -1
- package/dist/components/{p-C-ErnYFi.js → p-DmOB6JTr.js} +3 -3
- package/dist/components/{p-C-ErnYFi.js.map → p-DmOB6JTr.js.map} +1 -1
- package/dist/esm/calendar-agenda-fill-icon_39.entry.js +4 -1
- 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-BAjkr1GB.js → version-BHcQFl5b.js} +3 -3
- package/dist/esm/{version-BAjkr1GB.js.map → version-BHcQFl5b.js.map} +1 -1
- package/dist/nylas-web-elements/nylas-web-elements.esm.js +1 -1
- package/dist/nylas-web-elements/{p-2242c1f5.entry.js → p-0a7c5cd7.entry.js} +3 -3
- package/dist/nylas-web-elements/{p-992af523.entry.js → p-620804db.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-0bf7dbfe.entry.js → p-8a1b1bb7.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-BAjkr1GB.js → p-BHcQFl5b.js} +2 -2
- package/dist/nylas-web-elements/{p-BAjkr1GB.js.map → p-BHcQFl5b.js.map} +1 -1
- package/dist/nylas-web-elements/{p-241183a9.entry.js → p-f1942b81.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-241183a9.entry.js.map → p-f1942b81.entry.js.map} +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +1 -1
- package/dist/components/p-CqVcXov0.js.map +0 -1
- /package/dist/nylas-web-elements/{p-2242c1f5.entry.js.map → p-0a7c5cd7.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-992af523.entry.js.map → p-620804db.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-0bf7dbfe.entry.js.map → p-8a1b1bb7.entry.js.map} +0 -0
|
@@ -7607,6 +7607,9 @@ const NylasPageStyling = class {
|
|
|
7607
7607
|
selectedConfigurationChangedHandler(newValue) {
|
|
7608
7608
|
debug('nylas-page-styling', 'selectedConfigurationChangedHandler', newValue);
|
|
7609
7609
|
this.currentAppearance = newValue?.appearance || {};
|
|
7610
|
+
if (typeof this.internals?.setFormValue === 'function') {
|
|
7611
|
+
this.internals.setFormValue(JSON.stringify(this.currentAppearance), this.name);
|
|
7612
|
+
}
|
|
7610
7613
|
const editor = document.querySelector('nylas-scheduler-editor');
|
|
7611
7614
|
const slotElement = editor?.shadowRoot?.querySelector('slot[name="custom-page-style-inputs"]');
|
|
7612
7615
|
if (!slotElement) {
|
|
@@ -7718,7 +7721,7 @@ const NylasPageStyling = class {
|
|
|
7718
7721
|
}
|
|
7719
7722
|
render() {
|
|
7720
7723
|
const showContent = this.customInputsSlot || (!this.hasCustomSlot && !!this.currentAppearance);
|
|
7721
|
-
return (h(Host, { key: '
|
|
7724
|
+
return (h(Host, { key: 'ce93f8a170b47e4025dc9b9f976d7478b19f829b' }, h("div", { key: '7349f7a686daf87ed6205203e11eb6070509f36e', part: "nps", class: { 'nylas-page-styling': true, 'no-border': !showContent } }, showContent ? (h("div", { class: "header", part: "nps__header" }, h("div", null, h("h3", null, instance.t('nylasPageStyling.headerTitle'))), h("div", { class: "drawer-toggle", part: "nps__drawer-toggle--container" }, h("span", { class: `chevron ${this.isOpen ? 'open' : 'closed'} `, onClick: () => this.toggleConfirmationEmail() }, h("chevron-icon", { width: "24", height: "24" }))))) : null, h("div", { key: '3143051673a60f6d8f599c489bbfdcfeb224079b', class: "hidden" }, h("input-color-picker", { key: 'b2810fd05ec4eaadc9b2a855db24c31ea8fe8aac', name: "color-picker" })), h("div", { key: '4f63127edb25f1cf26f81f3ce8392bdc35b9051f', id: "nylas-page-styling__body", class: "nylas-page-styling__body", part: "nps__body" }, h("div", { key: '15d7b4435632934794fb2db68243371915ecf901', class: { 'nylas-page-styling__section': true, 'no-padding': !showContent } }, h("div", { key: '6a38e8a555fb599d7ed5d693886094d2bec7117d', class: "nylas-page-styling__row" }, h("div", { key: 'a41daf424157f598f7c8418960cd439b3b102abb', class: { subsection: true, hide: !this.isOpen } }, !this.hasCustomSlot && this.currentAppearance ? this.renderDefaultInputs() : null)))))));
|
|
7722
7725
|
}
|
|
7723
7726
|
static get formAssociated() { return true; }
|
|
7724
7727
|
get host() { return getElement(this); }
|