@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.
Files changed (47) hide show
  1. package/dist/cdn/nylas-scheduler-editor/nylas-scheduler-editor.es.js +11 -11
  2. package/dist/cdn/nylas-scheduling/nylas-scheduling.es.js +1 -1
  3. package/dist/cjs/calendar-agenda-fill-icon_39.cjs.entry.js +4 -1
  4. package/dist/cjs/calendar-agenda-fill-icon_39.cjs.entry.js.map +1 -1
  5. package/dist/cjs/google-logo-icon_6.cjs.entry.js +1 -1
  6. package/dist/cjs/nylas-scheduler-editor.cjs.entry.js +1 -1
  7. package/dist/cjs/nylas-scheduling.cjs.entry.js +1 -1
  8. package/dist/cjs/{version-BcrxszP8.js → version-DbvVCdbm.js} +3 -3
  9. package/dist/cjs/{version-BcrxszP8.js.map → version-DbvVCdbm.js.map} +1 -1
  10. package/dist/collection/components/scheduler-editor/nylas-page-styling/nylas-page-styling.js +4 -1
  11. package/dist/collection/components/scheduler-editor/nylas-page-styling/nylas-page-styling.js.map +1 -1
  12. package/dist/collection/version.js +1 -1
  13. package/dist/collection/version.js.map +1 -1
  14. package/dist/components/nylas-editor-tabs-group.js +1 -1
  15. package/dist/components/nylas-editor-tabs.js +1 -1
  16. package/dist/components/nylas-page-styling.js +1 -1
  17. package/dist/components/nylas-scheduler-editor.js +4 -4
  18. package/dist/components/nylas-scheduling.js +1 -1
  19. package/dist/components/{p-CqVcXov0.js → p-B05sg_l1.js} +6 -3
  20. package/dist/components/p-B05sg_l1.js.map +1 -0
  21. package/dist/components/{p-s6s0oE_l.js → p-Bgb7cz6Z.js} +4 -4
  22. package/dist/components/{p-s6s0oE_l.js.map → p-Bgb7cz6Z.js.map} +1 -1
  23. package/dist/components/{p-JpjuLIts.js → p-DP3OiAjS.js} +4 -4
  24. package/dist/components/{p-JpjuLIts.js.map → p-DP3OiAjS.js.map} +1 -1
  25. package/dist/components/{p-C-ErnYFi.js → p-DmOB6JTr.js} +3 -3
  26. package/dist/components/{p-C-ErnYFi.js.map → p-DmOB6JTr.js.map} +1 -1
  27. package/dist/esm/calendar-agenda-fill-icon_39.entry.js +4 -1
  28. package/dist/esm/calendar-agenda-fill-icon_39.entry.js.map +1 -1
  29. package/dist/esm/google-logo-icon_6.entry.js +1 -1
  30. package/dist/esm/nylas-scheduler-editor.entry.js +1 -1
  31. package/dist/esm/nylas-scheduling.entry.js +1 -1
  32. package/dist/esm/{version-BAjkr1GB.js → version-BHcQFl5b.js} +3 -3
  33. package/dist/esm/{version-BAjkr1GB.js.map → version-BHcQFl5b.js.map} +1 -1
  34. package/dist/nylas-web-elements/nylas-web-elements.esm.js +1 -1
  35. package/dist/nylas-web-elements/{p-2242c1f5.entry.js → p-0a7c5cd7.entry.js} +3 -3
  36. package/dist/nylas-web-elements/{p-992af523.entry.js → p-620804db.entry.js} +2 -2
  37. package/dist/nylas-web-elements/{p-0bf7dbfe.entry.js → p-8a1b1bb7.entry.js} +2 -2
  38. package/dist/nylas-web-elements/{p-BAjkr1GB.js → p-BHcQFl5b.js} +2 -2
  39. package/dist/nylas-web-elements/{p-BAjkr1GB.js.map → p-BHcQFl5b.js.map} +1 -1
  40. package/dist/nylas-web-elements/{p-241183a9.entry.js → p-f1942b81.entry.js} +2 -2
  41. package/dist/nylas-web-elements/{p-241183a9.entry.js.map → p-f1942b81.entry.js.map} +1 -1
  42. package/dist/types/version.d.ts +1 -1
  43. package/package.json +1 -1
  44. package/dist/components/p-CqVcXov0.js.map +0 -1
  45. /package/dist/nylas-web-elements/{p-2242c1f5.entry.js.map → p-0a7c5cd7.entry.js.map} +0 -0
  46. /package/dist/nylas-web-elements/{p-992af523.entry.js.map → p-620804db.entry.js.map} +0 -0
  47. /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: '51cb55b429a7c380a59cfdd3e7663e537d0336f2' }, h("div", { key: 'cec03b7514ea76f9eae208fe9ffb4a59ac2be7ca', 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: 'fae5f5589b104ec2efb3664bcf543d617bf60936', class: "hidden" }, h("input-color-picker", { key: '4d3fcbd0610d15b53864bce5d88573820d40ae7b', name: "color-picker" })), h("div", { key: '838f106c40aacc1d6f0735e7cee2f422314c3c01', id: "nylas-page-styling__body", class: "nylas-page-styling__body", part: "nps__body" }, h("div", { key: 'f545c3b058615419e1ac7c3e40bc27f8a5c3eef7', class: { 'nylas-page-styling__section': true, 'no-padding': !showContent } }, h("div", { key: 'fc4b41d07ccbae50dd8256e31fe2cbed36522118', class: "nylas-page-styling__row" }, h("div", { key: '4ed2cc417be995894580a9f6fe2e3ebee56bc932', class: { subsection: true, hide: !this.isOpen } }, !this.hasCustomSlot && this.currentAppearance ? this.renderDefaultInputs() : null)))))));
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); }