@nylas/react 2.0.6 → 2.1.0
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/add-circle-icon_2.entry-8c3bb0bb.cjs +1 -0
- package/dist/{add-circle-icon_2.entry-f6f8b5e5.js → add-circle-icon_2.entry-a3daf6c4.js} +6 -4
- package/dist/archive-icon.entry-46ad0ff3.cjs +1 -0
- package/dist/{archive-icon.entry-b3a76711.js → archive-icon.entry-d5141486.js} +6 -4
- package/dist/{arrow-icon.entry-9b3441aa.js → arrow-icon.entry-1b89ce78.js} +6 -4
- package/dist/arrow-icon.entry-f696de4f.cjs +1 -0
- package/dist/bold-icon.entry-7827cd4e.cjs +1 -0
- package/dist/{bold-icon.entry-0749a116.js → bold-icon.entry-c117b4cf.js} +6 -4
- package/dist/button-component_2.entry-8cd4c5f3.cjs +1 -0
- package/dist/{button-component_2.entry-6eb55e97.js → button-component_2.entry-e68caa9b.js} +5 -3
- package/dist/{calendar-agenda-fill-icon_37.entry-4adf73a2.js → calendar-agenda-fill-icon_37.entry-52bdc8b3.js} +201 -198
- package/dist/calendar-agenda-fill-icon_37.entry-8c592cfa.cjs +6 -0
- package/dist/calendar-cancel-icon.entry-7facfa05.cjs +1 -0
- package/dist/{calendar-cancel-icon.entry-2a29cb3f.js → calendar-cancel-icon.entry-f5f1d499.js} +8 -6
- package/dist/{calendar-check-icon.entry-c12b63ea.js → calendar-check-icon.entry-55320137.js} +6 -4
- package/dist/calendar-check-icon.entry-72108702.cjs +1 -0
- package/dist/{calendar-icon.entry-e82a5169.js → calendar-icon.entry-afea361e.js} +9 -7
- package/dist/calendar-icon.entry-f5c6730f.cjs +1 -0
- package/dist/checkbox-component.entry-5722d263.cjs +1 -0
- package/dist/{checkbox-component.entry-59612a67.js → checkbox-component.entry-89fa6edd.js} +3 -1
- package/dist/checkbox-group_4.entry-30e8af17.cjs +28 -0
- package/dist/{checkbox-group_4.entry-7df47ad4.js → checkbox-group_4.entry-51f03009.js} +6 -3
- package/dist/checkmark-circle-icon.entry-ae11049d.cjs +1 -0
- package/dist/{checkmark-circle-icon.entry-677b0def.js → checkmark-circle-icon.entry-dfe67e22.js} +8 -6
- package/dist/{checkmark-icon_15.entry-9fd0ec58.js → checkmark-icon_15.entry-4c3979db.js} +21 -18
- package/dist/checkmark-icon_15.entry-e59c0f53.cjs +5 -0
- package/dist/{chevron-icon_3.entry-f0ad71d9.js → chevron-icon_3.entry-1f3c3ca6.js} +3 -1
- package/dist/chevron-icon_3.entry-ea791750.cjs +1 -0
- package/dist/clock-icon_4.entry-172fed74.cjs +1 -0
- package/dist/{clock-icon_4.entry-e7472d5f.js → clock-icon_4.entry-78878cb8.js} +3 -1
- package/dist/customParseFormat-b5d95b34-a6b6fcba.cjs +1 -0
- package/dist/{customParseFormat-eeec04f5-3ad26beb.js → customParseFormat-b5d95b34-ce80820c.js} +1 -1
- package/dist/delete-icon.entry-a8c0bf03.cjs +1 -0
- package/dist/{delete-icon.entry-813429d7.js → delete-icon.entry-cebdc90f.js} +7 -5
- package/dist/document-refresh-icon.entry-2d9a529d.cjs +1 -0
- package/dist/{document-refresh-icon.entry-c224c778.js → document-refresh-icon.entry-8780a2b8.js} +3 -1
- package/dist/{feedbackSync-0ebd0eda-e12b00d5.cjs → feedbackSync-92220b42-fbebe1f9.cjs} +1 -1
- package/dist/{feedbackSync-0ebd0eda-803c3ebe.js → feedbackSync-92220b42-fd5f5610.js} +1 -1
- package/dist/folder-icon.entry-3e61ccca.cjs +1 -0
- package/dist/{folder-icon.entry-9c1f7c41.js → folder-icon.entry-6ffd5191.js} +6 -4
- package/dist/forward-icon.entry-c7d88db8.cjs +1 -0
- package/dist/{forward-icon.entry-4ac22c16.js → forward-icon.entry-c9c4bf5b.js} +5 -3
- package/dist/globe-icon.entry-0b93cab8.cjs +1 -0
- package/dist/{globe-icon.entry-7798c93b.js → globe-icon.entry-7c0dca7b.js} +5 -3
- package/dist/{google-logo-icon_6.entry-b198c90a.js → google-logo-icon_6.entry-deef91ee.js} +177 -174
- package/dist/google-logo-icon_6.entry-e25ce3e7.cjs +2 -0
- package/dist/google-meet-icon_5.entry-214347f0.cjs +1 -0
- package/dist/{google-meet-icon_5.entry-fa6dc1dc.js → google-meet-icon_5.entry-f8b5a92a.js} +3 -1
- package/dist/{inbox-icon.entry-1b123e64.js → inbox-icon.entry-873062c3.js} +7 -5
- package/dist/inbox-icon.entry-f08f2fd5.cjs +1 -0
- package/dist/index-025be398.js +7187 -0
- package/dist/index-c510313d-1318f67a.js +289 -0
- package/dist/index-c510313d-b0508eee.cjs +1 -0
- package/dist/index-f42fe591.cjs +65 -0
- package/dist/{index.es-57d4a08f-b0a2ca19.cjs → index.es-488bc919-d02dd50a.cjs} +1 -1
- package/dist/{index.es-57d4a08f-184cbc01.js → index.es-488bc919-ea63a7e9.js} +1 -1
- package/dist/info-icon_2.entry-442b9097.cjs +1 -0
- package/dist/{info-icon_2.entry-f8b72d08.js → info-icon_2.entry-60fb8648.js} +3 -1
- package/dist/{input-component.entry-44607977.js → input-component.entry-5898a52e.js} +19 -16
- package/dist/input-component.entry-7274fd28.cjs +1 -0
- package/dist/{input-dropdown_2.entry-6898b420.js → input-dropdown_2.entry-4534436c.js} +4 -1
- package/dist/input-dropdown_2.entry-9b72f637.cjs +1 -0
- package/dist/{italic-icon.entry-16aa1ada.js → italic-icon.entry-62052cd8.js} +6 -4
- package/dist/italic-icon.entry-9bdbbd37.cjs +1 -0
- package/dist/lib/connect/index.d.ts +6 -0
- package/dist/lib/connect/types.d.ts +2 -0
- package/dist/lib/connect/useNylasConnect.d.ts +28 -0
- package/dist/lib/connect/useNylasConnect.test.d.ts +1 -0
- package/dist/lib/elements/index.d.ts +1 -1
- package/dist/lib/index.d.ts +1 -0
- package/dist/multi-select-dropdown.entry-77752d46.cjs +1 -0
- package/dist/{multi-select-dropdown.entry-50133d29.js → multi-select-dropdown.entry-9c9d05c1.js} +4 -1
- package/dist/{nylas-booked-event-card_11.entry-56768a09.js → nylas-booked-event-card_11.entry-32b2e9f1.js} +139 -136
- package/dist/nylas-booked-event-card_11.entry-4aba5146.cjs +1 -0
- package/dist/nylas-date-component_2.entry-6b058796.cjs +1 -0
- package/dist/{nylas-date-component_2.entry-df957150.js → nylas-date-component_2.entry-a869519f.js} +10 -7
- package/dist/{nylas-form-card.entry-7724e61f.js → nylas-form-card.entry-5390459f.js} +9 -6
- package/dist/nylas-form-card.entry-c2f34d73.cjs +1 -0
- package/dist/nylas-notification_2.entry-054392cf.cjs +1 -0
- package/dist/{nylas-notification_2.entry-af763b6c.js → nylas-notification_2.entry-f46e88e5.js} +4 -1
- package/dist/{nylas-scheduler-editor.entry-0e4ba46d.js → nylas-scheduler-editor.entry-40a48f47.js} +93 -35
- package/dist/nylas-scheduler-editor.entry-e29fdf07.cjs +2 -0
- package/dist/{nylas-scheduling.entry-1b207e91.js → nylas-scheduling.entry-115b1752.js} +17 -14
- package/dist/nylas-scheduling.entry-79cb1d9c.cjs +1 -0
- package/dist/person-icon.entry-2cae306c.cjs +1 -0
- package/dist/{person-icon.entry-f2979577.js → person-icon.entry-fd668b89.js} +6 -4
- package/dist/{play-icon.entry-d387df5d.js → play-icon.entry-7fc3c0fd.js} +5 -3
- package/dist/play-icon.entry-9989a520.cjs +1 -0
- package/dist/radio-button-group.entry-03385b5f.cjs +1 -0
- package/dist/{radio-button-group.entry-45dbd2df.js → radio-button-group.entry-9df82cd0.js} +7 -5
- package/dist/react.cjs +1 -1
- package/dist/react.js +142 -127
- package/dist/refresh-icon.entry-310954ba.cjs +1 -0
- package/dist/{refresh-icon.entry-777cff27.js → refresh-icon.entry-c56e5623.js} +8 -6
- package/dist/register-component-3acd57e7-5a79a90a.cjs +1 -0
- package/dist/{register-component-0aad9e3d-b395364a.js → register-component-3acd57e7-cb09c05e.js} +15 -14
- package/dist/{reply-all-icon.entry-e2dd6da9.js → reply-all-icon.entry-32e0e000.js} +7 -5
- package/dist/reply-all-icon.entry-68388f97.cjs +1 -0
- package/dist/{reply-icon.entry-00a97d9f.js → reply-icon.entry-3ac2e736.js} +6 -4
- package/dist/reply-icon.entry-e616a9a4.cjs +1 -0
- package/dist/{sent-icon.entry-949cf214.js → sent-icon.entry-0622ed04.js} +6 -4
- package/dist/sent-icon.entry-543eb3c4.cjs +1 -0
- package/dist/{spam-icon.entry-3baf9e79.js → spam-icon.entry-74bcfd4f.js} +3 -1
- package/dist/spam-icon.entry-e341ee3e.cjs +1 -0
- package/dist/{star-icon.entry-9fdb278b.js → star-icon.entry-864d2bf9.js} +5 -3
- package/dist/star-icon.entry-c90d40f6.cjs +1 -0
- package/dist/{stop-icon.entry-efa1ea66.js → stop-icon.entry-835908c5.js} +3 -1
- package/dist/stop-icon.entry-ffc46b42.cjs +1 -0
- package/dist/{textarea-component.entry-7c6fc4d8.js → textarea-component.entry-6adcf6a6.js} +12 -9
- package/dist/textarea-component.entry-dae8eb5c.cjs +1 -0
- package/dist/toggle-switch.entry-5ee29867.cjs +1 -0
- package/dist/{toggle-switch.entry-a0295d17.js → toggle-switch.entry-ff2ccb75.js} +7 -5
- package/dist/{translate-icon.entry-219cab17.js → translate-icon.entry-372dd808.js} +3 -1
- package/dist/translate-icon.entry-5606067d.cjs +1 -0
- package/dist/{trash-fill-icon.entry-03c90559.js → trash-fill-icon.entry-01b4379e.js} +3 -1
- package/dist/trash-fill-icon.entry-daed6c0a.cjs +1 -0
- package/dist/underline-icon.entry-2020ee64.cjs +1 -0
- package/dist/{underline-icon.entry-58fa18b5.js → underline-icon.entry-464b900d.js} +5 -3
- package/dist/utils-31933f5d-15041585.js +17878 -0
- package/dist/utils-31933f5d-1d4c81ab.cjs +54 -0
- package/package.json +4 -3
- package/dist/abstract-provider-45ada3b4-31e3ed72.cjs +0 -1
- package/dist/abstract-provider-45ada3b4-abd3105d.js +0 -187
- package/dist/add-circle-icon_2.entry-48953f9c.cjs +0 -1
- package/dist/archive-icon.entry-e2880dc7.cjs +0 -1
- package/dist/arrow-icon.entry-84d1e26c.cjs +0 -1
- package/dist/bold-icon.entry-e1d8ab5e.cjs +0 -1
- package/dist/button-component_2.entry-1a817230.cjs +0 -1
- package/dist/calendar-agenda-fill-icon_37.entry-0ca8b9f4.cjs +0 -6
- package/dist/calendar-cancel-icon.entry-e0dee585.cjs +0 -1
- package/dist/calendar-check-icon.entry-7f96d456.cjs +0 -1
- package/dist/calendar-icon.entry-a2d19ff2.cjs +0 -1
- package/dist/checkbox-component.entry-ddce70bc.cjs +0 -1
- package/dist/checkbox-group_4.entry-3311da64.cjs +0 -28
- package/dist/checkmark-circle-icon.entry-67df713b.cjs +0 -1
- package/dist/checkmark-icon_15.entry-2121e1b7.cjs +0 -5
- package/dist/chevron-icon_3.entry-1a42235c.cjs +0 -1
- package/dist/clock-icon_4.entry-88822a84.cjs +0 -1
- package/dist/customParseFormat-eeec04f5-d5957784.cjs +0 -1
- package/dist/delete-icon.entry-3cb58910.cjs +0 -1
- package/dist/document-refresh-icon.entry-ae361b0b.cjs +0 -1
- package/dist/folder-icon.entry-107841af.cjs +0 -1
- package/dist/forward-icon.entry-6cec1f94.cjs +0 -1
- package/dist/globe-icon.entry-909c1382.cjs +0 -1
- package/dist/google-logo-icon_6.entry-1f4ad364.cjs +0 -2
- package/dist/google-meet-icon_5.entry-82d87e77.cjs +0 -1
- package/dist/inbox-icon.entry-84f96d31.cjs +0 -1
- package/dist/index-140eb219.js +0 -24953
- package/dist/index-d8a42c15.cjs +0 -118
- package/dist/info-icon_2.entry-f09e7dae.cjs +0 -1
- package/dist/input-component.entry-fd38953d.cjs +0 -1
- package/dist/input-dropdown_2.entry-4c2e5e1a.cjs +0 -1
- package/dist/italic-icon.entry-beef2254.cjs +0 -1
- package/dist/multi-select-dropdown.entry-c82cd6d4.cjs +0 -1
- package/dist/nylas-booked-event-card_11.entry-eb4b3c5c.cjs +0 -1
- package/dist/nylas-date-component_2.entry-93f2f352.cjs +0 -1
- package/dist/nylas-form-card.entry-4d95a4ad.cjs +0 -1
- package/dist/nylas-notification_2.entry-448c2cb8.cjs +0 -1
- package/dist/nylas-scheduler-editor.entry-e36cdd9d.cjs +0 -2
- package/dist/nylas-scheduling.entry-904dd10e.cjs +0 -1
- package/dist/person-icon.entry-70d46ca6.cjs +0 -1
- package/dist/play-icon.entry-c2cf0b12.cjs +0 -1
- package/dist/radio-button-group.entry-94e06176.cjs +0 -1
- package/dist/refresh-icon.entry-5ab20f26.cjs +0 -1
- package/dist/register-component-0aad9e3d-d2f2e543.cjs +0 -1
- package/dist/reply-all-icon.entry-3c90510e.cjs +0 -1
- package/dist/reply-icon.entry-d96478be.cjs +0 -1
- package/dist/sent-icon.entry-2d16da4e.cjs +0 -1
- package/dist/spam-icon.entry-7ee61730.cjs +0 -1
- package/dist/star-icon.entry-dc702d73.cjs +0 -1
- package/dist/stop-icon.entry-b5ae7e55.cjs +0 -1
- package/dist/textarea-component.entry-247aca42.cjs +0 -1
- package/dist/toggle-switch.entry-d52b0338.cjs +0 -1
- package/dist/translate-icon.entry-985b3b29.cjs +0 -1
- package/dist/trash-fill-icon.entry-4dfd7d24.cjs +0 -1
- package/dist/underline-icon.entry-c60b77a6.cjs +0 -1
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
import { r as
|
|
1
|
+
import { r as s, h as c } from "./index-025be398.js";
|
|
2
|
+
import "@nylas/web-elements";
|
|
2
3
|
import "react";
|
|
4
|
+
import "@nylas/connect";
|
|
3
5
|
import "react/jsx-runtime";
|
|
4
6
|
import "react-dom";
|
|
5
|
-
const e = ".sc-refresh-icon-h{display:flex}", i = e,
|
|
6
|
-
constructor(
|
|
7
|
-
|
|
7
|
+
const e = ".sc-refresh-icon-h{display:flex}", i = e, r = class {
|
|
8
|
+
constructor(t) {
|
|
9
|
+
s(this, t), this.width = "15", this.height = "15";
|
|
8
10
|
}
|
|
9
11
|
render() {
|
|
10
12
|
return c("svg", { key: "a9dbb422768797850a82bc75293ccd95d12d2943", fill: "auto", width: this.width, height: this.height, viewBox: "0 0 32 32", version: "1.1", xmlns: "http://www.w3.org/2000/svg" }, c("path", { key: "ed3f88703da4059083cfd1c5c9aedfaedfdaca0d", d: "M15.544 28.080c-0.002-0.006-0.008-0.010-0.012-0.015l-2.873-4.489c-0.204-0.335-0.646-0.454-0.992-0.266l-0.256 0.157c-0.344 0.188-0.337 0.673-0.133 1.008l1.841 2.857c-0.157-0.035-0.316-0.063-0.471-0.103-3.224-0.843-5.953-3.026-7.485-5.988-1.448-2.797-1.72-5.99-0.766-8.992s3.118-5.452 5.915-6.899c0.476-0.247 0.662-0.832 0.416-1.308-0.246-0.477-0.832-0.663-1.308-0.416-3.258 1.686-5.763 4.54-6.874 8.036s-0.794 7.215 0.892 10.473c1.786 3.448 4.963 5.989 8.72 6.973 0.043 0.011 0.087 0.017 0.13 0.028l-2.541 1.288c-0.344 0.189-0.458 0.613-0.254 0.948l0.098 0.256c0.205 0.335 0.557 0.454 0.9 0.266l4.651-2.381c0.006-0.004 0.012-0.003 0.018-0.007l0.312-0.171c0.172-0.095 0.287-0.249 0.332-0.422 0.047-0.172 0.025-0.364-0.076-0.531zM28.559 10.025c-1.783-3.447-4.862-5.988-8.618-6.972-0.267-0.070-0.541-0.124-0.814-0.179l2.494-1.265c0.344-0.189 0.549-0.614 0.345-0.949l-0.099-0.255c-0.205-0.336-0.648-0.454-0.991-0.267l-4.651 2.381c-0.006 0.003-0.012 0.002-0.018 0.006l-0.312 0.171c-0.173 0.095-0.287 0.249-0.332 0.422-0.047 0.172-0.025 0.364 0.077 0.53l0.185 0.304c0.003 0.006 0.008 0.010 0.012 0.016l2.873 4.489c0.203 0.335 0.646 0.454 0.991 0.266l0.226-0.157c0.344-0.188 0.366-0.673 0.163-1.008l-1.85-2.87c0.407 0.063 0.811 0.138 1.207 0.242 3.226 0.845 5.856 3.027 7.387 5.986 1.448 2.797 1.72 5.99 0.765 8.991s-3.020 5.451-5.818 6.901c-0.476 0.247-0.662 0.831-0.415 1.308 0.172 0.332 0.511 0.524 0.863 0.524 0.15 0 0.302-0.035 0.446-0.109 3.259-1.686 5.664-4.54 6.776-8.035 1.111-3.497 0.794-7.217-0.893-10.473z" }));
|
|
11
13
|
}
|
|
12
14
|
};
|
|
13
|
-
|
|
15
|
+
r.style = i;
|
|
14
16
|
export {
|
|
15
|
-
|
|
17
|
+
r as refresh_icon
|
|
16
18
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const s=require("./utils-31933f5d-1d4c81ab.cjs"),m=require("./index-f42fe591.cjs");function P(e,o,i="registerComponent"){return new CustomEvent(i,{bubbles:!0,composed:!0,detail:o})}function b(e,o,i="unregisterComponent"){return new CustomEvent(i,{bubbles:!0,composed:!0,detail:o})}function T(e){return(o,i)=>{const r=e.name;s.debug(`[${r}] Registering component ${r} being called on ${i}`);const l=o.componentWillLoad;if(!l){s.error(`[${r}] componentWillLoad lifecycle method in ${r} missing. Required for RegisterComponent decorator.`);return}const p=o.connectedCallback;if(!p){s.error(`[${r}] connectedCallback lifecycle method in ${r} missing. Required for RegisterComponent decorator.`);return}const a=o.disconnectedCallback;if(!a){s.error(`[${r}] disconnectedCallback lifecycle method in ${r} missing. Required for RegisterComponent decorator.`);return}if(e.storeToProps&&e.stateToProps){const n=Array.from(e.storeToProps.values()),t=Array.from(e.stateToProps.values()),u=n.filter(c=>t.includes(c));if(u.length>0){s.error(`[${r}] Overlapping prop keys detected in ${r} for storeToProps and stateToProps. Make sure to only define them once. Overlapping keys: ${u.join(", ")}`);return}}const d=new Map;e.eventToProps&&Object.keys(e.eventToProps).forEach(n=>{var t;d.set(n,(t=e.eventToProps)==null?void 0:t[n])}),o.connectedCallback=function(){s.debug(`[~${r}] connectedCallback called`);const n=p==null?void 0:p.call(this),t=m.getElement(this);return t.dataset.nylasId||(Object.defineProperty(t,"registerNylasComponent",{get(){return!0},enumerable:!0}),Object.defineProperty(t,"stateToProps",{get(){return e.stateToProps},enumerable:!0}),Object.defineProperty(t,"getStoresToProp",{get(){return e.getStoresToProp},enumerable:!0}),Object.defineProperty(t,"storeToProps",{get(){return e.storeToProps},enumerable:!0}),Object.defineProperty(t,"eventToProps",{get(){return d},enumerable:!0}),Object.defineProperty(t,"authToProp",{get(){return e.authToProp},enumerable:!0}),Object.defineProperty(t,"connectorToProp",{get(){return e.connectorToProp},enumerable:!0}),Object.defineProperty(t,"localPropsToProp",{get(){return e.localPropsToProp},enumerable:!0})),n},e.fireRegisterEvent&&(o.componentWillLoad=function(){const n=l==null?void 0:l.call(this),t=m.getElement(this),u={element:t,...e,eventToProps:d},c=P(o,u,e.registrationEventName);return t.dispatchEvent(c)&&s.debug(`[${r}] Component ${r} successfully fired registration event`),n},o.disconnectedCallback=function(){const n=a==null?void 0:a.call(this),t=m.getElement(this),u={element:t,...e,eventToProps:d},c=b(o,u,e.unregistrationEventName);return t.dispatchEvent(c)&&s.debug(`[${r}] Component ${r} successfully fired unregistration event`),n})}}exports.RegisterComponent=T;
|
package/dist/{register-component-0aad9e3d-b395364a.js → register-component-3acd57e7-cb09c05e.js}
RENAMED
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
import { b as d,
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { b as d, N as m } from "./utils-31933f5d-15041585.js";
|
|
2
|
+
import { g as P } from "./index-025be398.js";
|
|
3
|
+
function b(e, o, i = "registerComponent") {
|
|
4
|
+
return new CustomEvent(i, {
|
|
4
5
|
bubbles: !0,
|
|
5
6
|
composed: !0,
|
|
6
7
|
detail: o
|
|
7
8
|
});
|
|
8
9
|
}
|
|
9
|
-
function T(e, o,
|
|
10
|
-
return new CustomEvent(
|
|
10
|
+
function T(e, o, i = "unregisterComponent") {
|
|
11
|
+
return new CustomEvent(i, {
|
|
11
12
|
bubbles: !0,
|
|
12
13
|
composed: !0,
|
|
13
14
|
detail: o
|
|
14
15
|
});
|
|
15
16
|
}
|
|
16
|
-
function
|
|
17
|
-
return (o,
|
|
17
|
+
function y(e) {
|
|
18
|
+
return (o, i) => {
|
|
18
19
|
const r = e.name;
|
|
19
|
-
d(`[${r}] Registering component ${r} being called on ${
|
|
20
|
+
d(`[${r}] Registering component ${r} being called on ${i}`);
|
|
20
21
|
const u = o.componentWillLoad;
|
|
21
22
|
if (!u) {
|
|
22
23
|
m(`[${r}] componentWillLoad lifecycle method in ${r} missing. Required for RegisterComponent decorator.`);
|
|
@@ -33,7 +34,7 @@ function v(e) {
|
|
|
33
34
|
return;
|
|
34
35
|
}
|
|
35
36
|
if (e.storeToProps && e.stateToProps) {
|
|
36
|
-
const n = Array.from(e.storeToProps.values()), t = Array.from(e.stateToProps.values()), s = n.filter((
|
|
37
|
+
const n = Array.from(e.storeToProps.values()), t = Array.from(e.stateToProps.values()), s = n.filter((c) => t.includes(c));
|
|
37
38
|
if (s.length > 0) {
|
|
38
39
|
m(`[${r}] Overlapping prop keys detected in ${r} for storeToProps and stateToProps. Make sure to only define them once. Overlapping keys: ${s.join(", ")}`);
|
|
39
40
|
return;
|
|
@@ -92,18 +93,18 @@ function v(e) {
|
|
|
92
93
|
element: t,
|
|
93
94
|
...e,
|
|
94
95
|
eventToProps: a
|
|
95
|
-
},
|
|
96
|
-
return t.dispatchEvent(
|
|
96
|
+
}, c = b(o, s, e.registrationEventName);
|
|
97
|
+
return t.dispatchEvent(c) && d(`[${r}] Component ${r} successfully fired registration event`), n;
|
|
97
98
|
}, o.disconnectedCallback = function() {
|
|
98
99
|
const n = l == null ? void 0 : l.call(this), t = P(this), s = {
|
|
99
100
|
element: t,
|
|
100
101
|
...e,
|
|
101
102
|
eventToProps: a
|
|
102
|
-
},
|
|
103
|
-
return t.dispatchEvent(
|
|
103
|
+
}, c = T(o, s, e.unregistrationEventName);
|
|
104
|
+
return t.dispatchEvent(c) && d(`[${r}] Component ${r} successfully fired unregistration event`), n;
|
|
104
105
|
});
|
|
105
106
|
};
|
|
106
107
|
}
|
|
107
108
|
export {
|
|
108
|
-
|
|
109
|
+
y as R
|
|
109
110
|
};
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
import { r as
|
|
1
|
+
import { r as i, h as t } from "./index-025be398.js";
|
|
2
|
+
import "@nylas/web-elements";
|
|
2
3
|
import "react";
|
|
4
|
+
import "@nylas/connect";
|
|
3
5
|
import "react/jsx-runtime";
|
|
4
6
|
import "react-dom";
|
|
5
|
-
const
|
|
7
|
+
const l = ".sc-reply-all-icon-h{display:flex}", s = l, o = class {
|
|
6
8
|
constructor(e) {
|
|
7
|
-
|
|
9
|
+
i(this, e), this.width = "15", this.height = "15";
|
|
8
10
|
}
|
|
9
11
|
render() {
|
|
10
12
|
return t("svg", { key: "82c4f58408a549b7eefe0bab7888526fb55bcf6d", fill: "auto", width: this.width, height: this.height, viewBox: "0 0 1920 1920", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "5281a79eaed7366b4415ce0bf2a250da9646b963", d: "m1030.975 188 81.249 81.249-429.228 429.228h300.747c516.223 0 936.257 420.034 936.257 936.257v98.028h-114.92v-98.028c0-452.901-368.436-821.337-821.337-821.337H682.996l429.228 429.229-81.25 81.248-567.936-567.937L1030.975 188Zm-463.038.011 81.249 81.25-486.688 486.688 486.688 486.688-81.249 81.249L0 755.949 567.937 188.01Z", "fill-rule": "evenodd" }));
|
|
11
13
|
}
|
|
12
14
|
};
|
|
13
|
-
|
|
15
|
+
o.style = s;
|
|
14
16
|
export {
|
|
15
|
-
|
|
17
|
+
o as reply_all_icon
|
|
16
18
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-f42fe591.cjs");require("@nylas/web-elements");require("react");require("@nylas/connect");require("react/jsx-runtime");require("react-dom");const r=".sc-reply-all-icon-h{display:flex}",l=r,t=class{constructor(i){e.registerInstance(this,i),this.width="15",this.height="15"}render(){return e.h("svg",{key:"82c4f58408a549b7eefe0bab7888526fb55bcf6d",fill:"auto",width:this.width,height:this.height,viewBox:"0 0 1920 1920",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"5281a79eaed7366b4415ce0bf2a250da9646b963",d:"m1030.975 188 81.249 81.249-429.228 429.228h300.747c516.223 0 936.257 420.034 936.257 936.257v98.028h-114.92v-98.028c0-452.901-368.436-821.337-821.337-821.337H682.996l429.228 429.229-81.25 81.248-567.936-567.937L1030.975 188Zm-463.038.011 81.249 81.25-486.688 486.688 486.688 486.688-81.249 81.249L0 755.949 567.937 188.01Z","fill-rule":"evenodd"}))}};t.style=l;exports.reply_all_icon=t;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { r as i, h as t } from "./index-
|
|
1
|
+
import { r as i, h as t } from "./index-025be398.js";
|
|
2
|
+
import "@nylas/web-elements";
|
|
2
3
|
import "react";
|
|
4
|
+
import "@nylas/connect";
|
|
3
5
|
import "react/jsx-runtime";
|
|
4
6
|
import "react-dom";
|
|
5
|
-
const s = ".sc-reply-icon-h{display:flex}",
|
|
7
|
+
const s = ".sc-reply-icon-h{display:flex}", o = s, c = class {
|
|
6
8
|
constructor(e) {
|
|
7
9
|
i(this, e), this.width = "15", this.height = "15";
|
|
8
10
|
}
|
|
@@ -10,7 +12,7 @@ const s = ".sc-reply-icon-h{display:flex}", c = s, h = class {
|
|
|
10
12
|
return t("svg", { key: "e059d502b1bd07278f3f60b1c4fe9c4b52bbcb61", fill: "auto", width: this.width, height: this.height, viewBox: "0 0 1920 1920", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "b6c07ce3e80475b42264491d4ce2856b45ad848b", d: "M835.942 632.563H244.966l478.08-478.08-90.496-90.496L-.026 696.563 632.55 1329.14l90.496-90.496-478.08-478.08h590.976c504.448 0 914.816 410.368 914.816 914.816v109.184h128V1675.38c0-574.976-467.84-1042.816-1042.816-1042.816", "fill-rule": "evenodd" }));
|
|
11
13
|
}
|
|
12
14
|
};
|
|
13
|
-
|
|
15
|
+
c.style = o;
|
|
14
16
|
export {
|
|
15
|
-
|
|
17
|
+
c as reply_icon
|
|
16
18
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-f42fe591.cjs");require("@nylas/web-elements");require("react");require("@nylas/connect");require("react/jsx-runtime");require("react-dom");const r=".sc-reply-icon-h{display:flex}",c=r,t=class{constructor(i){e.registerInstance(this,i),this.width="15",this.height="15"}render(){return e.h("svg",{key:"e059d502b1bd07278f3f60b1c4fe9c4b52bbcb61",fill:"auto",width:this.width,height:this.height,viewBox:"0 0 1920 1920",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"b6c07ce3e80475b42264491d4ce2856b45ad848b",d:"M835.942 632.563H244.966l478.08-478.08-90.496-90.496L-.026 696.563 632.55 1329.14l90.496-90.496-478.08-478.08h590.976c504.448 0 914.816 410.368 914.816 914.816v109.184h128V1675.38c0-574.976-467.84-1042.816-1042.816-1042.816","fill-rule":"evenodd"}))}};t.style=c;exports.reply_icon=t;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { r as s, h as t } from "./index-
|
|
1
|
+
import { r as s, h as t } from "./index-025be398.js";
|
|
2
|
+
import "@nylas/web-elements";
|
|
2
3
|
import "react";
|
|
4
|
+
import "@nylas/connect";
|
|
3
5
|
import "react/jsx-runtime";
|
|
4
6
|
import "react-dom";
|
|
5
|
-
const o = ".sc-sent-icon-h{display:flex}",
|
|
7
|
+
const o = ".sc-sent-icon-h{display:flex}", i = o, a = class {
|
|
6
8
|
constructor(e) {
|
|
7
9
|
s(this, e), this.width = "15", this.height = "15";
|
|
8
10
|
}
|
|
@@ -10,7 +12,7 @@ const o = ".sc-sent-icon-h{display:flex}", a = o, i = class {
|
|
|
10
12
|
return t("svg", { key: "af8457ffa4427dfe04e95d571db14f0256ae4e1f", width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "e72a685b39021ffc6ca8a30a69c123835b528f94", d: "M21.5 12L3.5 3.5L3.5 20.5L21.5 12Z", stroke: "auto", "stroke-width": "1.5" }), t("path", { key: "adf23567c6b6d85a9e162c39b58ca6f8ed5cbc91", d: "M3.5 3.5L12 10.5", stroke: "auto", "stroke-width": "1.5" }), t("path", { key: "10bd3d6f36c572ff8b8f8905bc923abac142f15a", d: "M3.5 20.5L12 13.5", stroke: "auto", "stroke-width": "1.5" }));
|
|
11
13
|
}
|
|
12
14
|
};
|
|
13
|
-
|
|
15
|
+
a.style = i;
|
|
14
16
|
export {
|
|
15
|
-
|
|
17
|
+
a as sent_icon
|
|
16
18
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-f42fe591.cjs");require("@nylas/web-elements");require("react");require("@nylas/connect");require("react/jsx-runtime");require("react-dom");const i=".sc-sent-icon-h{display:flex}",r=i,t=class{constructor(s){e.registerInstance(this,s),this.width="15",this.height="15"}render(){return e.h("svg",{key:"af8457ffa4427dfe04e95d571db14f0256ae4e1f",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"auto",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"e72a685b39021ffc6ca8a30a69c123835b528f94",d:"M21.5 12L3.5 3.5L3.5 20.5L21.5 12Z",stroke:"auto","stroke-width":"1.5"}),e.h("path",{key:"adf23567c6b6d85a9e162c39b58ca6f8ed5cbc91",d:"M3.5 3.5L12 10.5",stroke:"auto","stroke-width":"1.5"}),e.h("path",{key:"10bd3d6f36c572ff8b8f8905bc923abac142f15a",d:"M3.5 20.5L12 13.5",stroke:"auto","stroke-width":"1.5"}))}};t.style=r;exports.sent_icon=t;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { r as s, h as t } from "./index-
|
|
1
|
+
import { r as s, h as t } from "./index-025be398.js";
|
|
2
|
+
import "@nylas/web-elements";
|
|
2
3
|
import "react";
|
|
4
|
+
import "@nylas/connect";
|
|
3
5
|
import "react/jsx-runtime";
|
|
4
6
|
import "react-dom";
|
|
5
7
|
const o = ".sc-spam-icon-h{display:flex}", i = o, d = class {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-f42fe591.cjs");require("@nylas/web-elements");require("react");require("@nylas/connect");require("react/jsx-runtime");require("react-dom");const s=".sc-spam-icon-h{display:flex}",r=s,t=class{constructor(i){e.registerInstance(this,i),this.width="15",this.height="15"}render(){return e.h("svg",{key:"93ff5ee3d6d594e1e901e47de4d0766386efe76f",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"auto",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"2f333ba9e71dbfdd79d369cac07216361a39cdb6",d:"M20 3H4C2.89543 3 2 3.89543 2 5V19C2 20.1046 2.89543 21 4 21H20C21.1046 21 22 20.1046 22 19V5C22 3.89543 21.1046 3 20 3Z",stroke:"auto","stroke-width":"1.5"}),e.h("path",{key:"afd35317c261a436d8980687a22ed161bfde61ff",d:"M2 5L12 12.5L22 5",stroke:"auto","stroke-width":"1.5"}))}};t.style=r;exports.spam_icon=t;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { r as
|
|
1
|
+
import { r as i, h as t } from "./index-025be398.js";
|
|
2
|
+
import "@nylas/web-elements";
|
|
2
3
|
import "react";
|
|
4
|
+
import "@nylas/connect";
|
|
3
5
|
import "react/jsx-runtime";
|
|
4
6
|
import "react-dom";
|
|
5
|
-
const
|
|
7
|
+
const e = ".sc-star-icon-h{display:flex}", o = e, r = class {
|
|
6
8
|
constructor(s) {
|
|
7
|
-
|
|
9
|
+
i(this, s), this.width = "15", this.height = "15";
|
|
8
10
|
}
|
|
9
11
|
render() {
|
|
10
12
|
return t("svg", { key: "9d92e75a297c8e3be072fb593a7a85127e2e4f3f", width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "6f7b9c97f134a9b5671e9f0b4b232c6f45b981df", d: "M9.15316 5.40838C10.4198 3.13613 11.0531 2 12 2C12.9469 2 13.5802 3.13612 14.8468 5.40837L15.1745 5.99623C15.5345 6.64193 15.7144 6.96479 15.9951 7.17781C16.2757 7.39083 16.6251 7.4699 17.3241 7.62805L17.9605 7.77203C20.4201 8.32856 21.65 8.60682 21.9426 9.54773C22.2352 10.4886 21.3968 11.4691 19.7199 13.4299L19.2861 13.9372C18.8096 14.4944 18.5713 14.773 18.4641 15.1177C18.357 15.4624 18.393 15.8341 18.465 16.5776L18.5306 17.2544C18.7841 19.8706 18.9109 21.1787 18.1449 21.7602C17.3788 22.3417 16.2273 21.8115 13.9243 20.7512L13.3285 20.4768C12.6741 20.1755 12.3469 20.0248 12 20.0248C11.6531 20.0248 11.3259 20.1755 10.6715 20.4768L10.0757 20.7512C7.77268 21.8115 6.62118 22.3417 5.85515 21.7602C5.08912 21.1787 5.21588 19.8706 5.4694 17.2544L5.53498 16.5776C5.60703 15.8341 5.64305 15.4624 5.53586 15.1177C5.42868 14.773 5.19043 14.4944 4.71392 13.9372L4.2801 13.4299C2.60325 11.4691 1.76482 10.4886 2.05742 9.54773C2.35002 8.60682 3.57986 8.32856 6.03954 7.77203L6.67589 7.62805C7.37485 7.4699 7.72433 7.39083 8.00494 7.17781C8.28555 6.96479 8.46553 6.64194 8.82547 5.99623L9.15316 5.40838Z", stroke: "auto", "stroke-width": "1.5" }));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-f42fe591.cjs");require("@nylas/web-elements");require("react");require("@nylas/connect");require("react/jsx-runtime");require("react-dom");const i=".sc-star-icon-h{display:flex}",s=i,t=class{constructor(r){e.registerInstance(this,r),this.width="15",this.height="15"}render(){return e.h("svg",{key:"9d92e75a297c8e3be072fb593a7a85127e2e4f3f",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"auto",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"6f7b9c97f134a9b5671e9f0b4b232c6f45b981df",d:"M9.15316 5.40838C10.4198 3.13613 11.0531 2 12 2C12.9469 2 13.5802 3.13612 14.8468 5.40837L15.1745 5.99623C15.5345 6.64193 15.7144 6.96479 15.9951 7.17781C16.2757 7.39083 16.6251 7.4699 17.3241 7.62805L17.9605 7.77203C20.4201 8.32856 21.65 8.60682 21.9426 9.54773C22.2352 10.4886 21.3968 11.4691 19.7199 13.4299L19.2861 13.9372C18.8096 14.4944 18.5713 14.773 18.4641 15.1177C18.357 15.4624 18.393 15.8341 18.465 16.5776L18.5306 17.2544C18.7841 19.8706 18.9109 21.1787 18.1449 21.7602C17.3788 22.3417 16.2273 21.8115 13.9243 20.7512L13.3285 20.4768C12.6741 20.1755 12.3469 20.0248 12 20.0248C11.6531 20.0248 11.3259 20.1755 10.6715 20.4768L10.0757 20.7512C7.77268 21.8115 6.62118 22.3417 5.85515 21.7602C5.08912 21.1787 5.21588 19.8706 5.4694 17.2544L5.53498 16.5776C5.60703 15.8341 5.64305 15.4624 5.53586 15.1177C5.42868 14.773 5.19043 14.4944 4.71392 13.9372L4.2801 13.4299C2.60325 11.4691 1.76482 10.4886 2.05742 9.54773C2.35002 8.60682 3.57986 8.32856 6.03954 7.77203L6.67589 7.62805C7.37485 7.4699 7.72433 7.39083 8.00494 7.17781C8.28555 6.96479 8.46553 6.64194 8.82547 5.99623L9.15316 5.40838Z",stroke:"auto","stroke-width":"1.5"}))}};t.style=s;exports.star_icon=t;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { r as s, h as t } from "./index-
|
|
1
|
+
import { r as s, h as t } from "./index-025be398.js";
|
|
2
|
+
import "@nylas/web-elements";
|
|
2
3
|
import "react";
|
|
4
|
+
import "@nylas/connect";
|
|
3
5
|
import "react/jsx-runtime";
|
|
4
6
|
import "react-dom";
|
|
5
7
|
const e = ".sc-stop-icon-h{display:flex}", i = e, r = class {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-f42fe591.cjs");require("@nylas/web-elements");require("react");require("@nylas/connect");require("react/jsx-runtime");require("react-dom");const r=".sc-stop-icon-h{display:flex}",o=r,t=class{constructor(i){e.registerInstance(this,i),this.width="15",this.height="15"}render(){return e.h("svg",{key:"b1dcb0ee13d6725610e1980f223b3679b3336201",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"auto",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"48af200cfd31cd7acdbc1d7ade5c2bc6e5dfd3e3",d:"M4 4H20V20H4V4Z",stroke:"auto","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}))}};t.style=o;exports.stop_icon=t;
|
|
@@ -1,21 +1,24 @@
|
|
|
1
|
-
import { r as
|
|
1
|
+
import { r as s, c as t, h as r, g as n } from "./index-025be398.js";
|
|
2
|
+
import { q as l } from "./utils-31933f5d-15041585.js";
|
|
3
|
+
import "@nylas/web-elements";
|
|
2
4
|
import "react";
|
|
5
|
+
import "@nylas/connect";
|
|
3
6
|
import "react/jsx-runtime";
|
|
4
7
|
import "react-dom";
|
|
5
8
|
const i = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-50:#ffeae8;--nylas-error-100:#ffc5bf;--nylas-error-200:#fecaca;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-color-blue-100:#e0e6f9;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;--nylas-color-black:#000000;--nylas-color-grey-900:#2c2c2c;--nylas-color-grey-800:#4b4b4b;--nylas-color-grey-700:#6e6e6e;--nylas-color-grey-600:#8e8e8e;--nylas-color-grey-500:#b3b3b3;--nylas-color-grey-400:#cacaca;--nylas-color-grey-300:#e1e1e1;--nylas-color-grey-200:#eaeaea;--nylas-color-grey-100:#f5f5f5;--nylas-color-grey-50:#fbfcfe;--nylas-color-white:#ffffff;--nylas-color-red-900:#992222;--nylas-color-red-700:#cc4841;--nylas-color-red-500:#ff786a;--nylas-color-red-300:#ffa79e;--nylas-color-red-100:#ffc5bf;--nylas-color-red-50:#ffeae8;--nylas-color-blue-900:#213571;--nylas-color-blue-700:#314fa9;--nylas-color-blue-500:#4169e1;--nylas-color-blue-300:#bdccf9;--nylas-color-blue-100:#e0e6f9;--nylas-color-blue-50:#f6f8fd;--nylas-color-yellow-900:#7c6506;--nylas-color-yellow-700:#c29f09;--nylas-color-yellow-500:#f7c90b;--nylas-color-yellow-300:#f9de70;--nylas-color-yellow-100:#fceba9;--nylas-color-yellow-50:#fdf4ce;--nylas-color-green-900:#0e6b60;--nylas-color-green-700:#16a392;--nylas-color-green-500:#17c3b2;--nylas-color-green-300:#74dbd1;--nylas-color-green-100:#a2e7e0;--nylas-color-green-50:#d1f3f0;--nylas-color-purple-900:#643554;--nylas-color-purple-700:#954f7d;--nylas-color-purple-500:#c769a7;--nylas-color-purple-300:#dda5ca;--nylas-color-purple-100:#e0bdd6;--nylas-color-purple-50:#e9dde5;--nylas-color-sky-900:#20698f;--nylas-color-sky-700:#2b8fc2;--nylas-color-sky-500:#6dceff;--nylas-color-sky-300:#8fdaff;--nylas-color-sky-100:#b8e7ff;--nylas-color-sky-50:#d9f2ff;width:100%}label{display:flex;color:var(--nylas-base-800, #293056);font-size:14px;font-style:normal;font-weight:400;line-height:150%;flex-direction:column;gap:4px;font-family:var(--nylas-font-family);font-size:16px;color:var(--nylas-base-800)}label.error{color:var(--nylas-error)}label span.required{color:var(--nylas-error);padding:0 0.25rem}label p{margin:0;display:flex;gap:4px;align-items:center}label .error{color:var(--nylas-error)}textarea{display:flex;height:48px;padding-left:16px;align-items:center;gap:8px;align-self:stretch;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-300);background:var(--nylas-base-0);width:-webkit-fill-available;color:var(--nylas-base-900);font-size:16px;font-style:normal;font-weight:400;line-height:150%;padding:12px 16px;border-width:1;resize:vertical;border-radius:8px;font-family:var(--nylas-font-family);font-size:16px;line-height:24px}textarea:focus{outline-color:var(--nylas-primary)}textarea.error{border-radius:var(--nylas-border-radius-2x);font-weight:600;border-color:var(--nylas-error);border-width:2px}textarea.error::placeholder{font-weight:400}textarea::placeholder{color:var(--nylas-base-300)}textarea::-webkit-resizer{display:none}textarea:read-only{background-color:var(--nylas-base-100);cursor:not-allowed}', c = i, y = class {
|
|
6
9
|
constructor(e) {
|
|
7
|
-
|
|
10
|
+
s(this, e), this.nylasFormInputChanged = t(this, "nylasFormInputChanged", 7), this.name = "textarea", this.defaultValue = void 0, this.label = "", this.placeholder = "", this.required = !1, this.readOnly = !1, this.autoFocus = !1, this.maxLength = 255, this.type = "multi_line_text", this.tooltip = "", this.errorMessage = "", this.themeConfig = void 0, this.value = "", this.error = "";
|
|
8
11
|
}
|
|
9
12
|
componentDidLoad() {
|
|
10
13
|
this.value = l(this.defaultValue || ""), this.applyThemeConfig(this.themeConfig);
|
|
11
14
|
}
|
|
12
|
-
themeConfigChangedHandler(e,
|
|
13
|
-
e !==
|
|
15
|
+
themeConfigChangedHandler(e, a) {
|
|
16
|
+
e !== a && this.applyThemeConfig(e);
|
|
14
17
|
}
|
|
15
18
|
applyThemeConfig(e) {
|
|
16
19
|
if (e)
|
|
17
|
-
for (const [
|
|
18
|
-
this.el.style.setProperty(`${
|
|
20
|
+
for (const [a, o] of Object.entries(e))
|
|
21
|
+
this.el.style.setProperty(`${a}`, o);
|
|
19
22
|
}
|
|
20
23
|
handleBookingFormSubmitted(e) {
|
|
21
24
|
this.validate(this.value), this.error && e.preventDefault();
|
|
@@ -25,8 +28,8 @@ const i = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--n
|
|
|
25
28
|
}
|
|
26
29
|
handleInput(e) {
|
|
27
30
|
this.error = "";
|
|
28
|
-
const
|
|
29
|
-
this.value = l(
|
|
31
|
+
const a = e.target;
|
|
32
|
+
this.value = l(a.value), this.nylasFormInputChanged.emit({
|
|
30
33
|
value: this.value,
|
|
31
34
|
name: this.name,
|
|
32
35
|
error: this.error,
|
|
@@ -38,7 +41,7 @@ const i = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--n
|
|
|
38
41
|
this.required && !e ? this.error = this.errorMessage || `${this.label} is required.` : e.length > this.maxLength ? this.error = `${this.label} cannot exceed ${this.maxLength} characters.` : this.error = "";
|
|
39
42
|
}
|
|
40
43
|
render() {
|
|
41
|
-
return
|
|
44
|
+
return r("label", { key: "6838bd252440e3919d71357e490991acc6a32625", part: "tc__label", class: { error: !!this.error } }, r("p", { key: "c1b308e1cebcfd3ff26e74938cdb9be01591e2f9" }, r("span", { key: "1bd454c83edd1f239d3f54c450f5c5cc9273e9a0", class: "label" }, this.label), this.required && r("span", { class: "required" }, "*"), this.tooltip && r("tooltip-component", null, r("info-icon", { slot: "tooltip-icon" }), r("span", { slot: "tooltip-content" }, this.tooltip))), r("textarea", { key: "37b3f46f961c7fe8aa3bd640628a7f8c9596e388", name: this.name, title: this.readOnly ? "read-only field" : void 0, placeholder: this.placeholder, readOnly: this.readOnly, autoFocus: this.autoFocus, value: this.value, maxLength: this.maxLength, onInput: (e) => this.handleInput(e), class: { error: !!this.error }, part: "tc__textarea" }), this.error && r("span", { class: "error help-text" }, this.error));
|
|
42
45
|
}
|
|
43
46
|
get el() {
|
|
44
47
|
return n(this);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index-f42fe591.cjs"),l=require("./utils-31933f5d-1d4c81ab.cjs");require("@nylas/web-elements");require("react");require("@nylas/connect");require("react/jsx-runtime");require("react-dom");const t=':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-50:#ffeae8;--nylas-error-100:#ffc5bf;--nylas-error-200:#fecaca;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-color-blue-100:#e0e6f9;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;--nylas-color-black:#000000;--nylas-color-grey-900:#2c2c2c;--nylas-color-grey-800:#4b4b4b;--nylas-color-grey-700:#6e6e6e;--nylas-color-grey-600:#8e8e8e;--nylas-color-grey-500:#b3b3b3;--nylas-color-grey-400:#cacaca;--nylas-color-grey-300:#e1e1e1;--nylas-color-grey-200:#eaeaea;--nylas-color-grey-100:#f5f5f5;--nylas-color-grey-50:#fbfcfe;--nylas-color-white:#ffffff;--nylas-color-red-900:#992222;--nylas-color-red-700:#cc4841;--nylas-color-red-500:#ff786a;--nylas-color-red-300:#ffa79e;--nylas-color-red-100:#ffc5bf;--nylas-color-red-50:#ffeae8;--nylas-color-blue-900:#213571;--nylas-color-blue-700:#314fa9;--nylas-color-blue-500:#4169e1;--nylas-color-blue-300:#bdccf9;--nylas-color-blue-100:#e0e6f9;--nylas-color-blue-50:#f6f8fd;--nylas-color-yellow-900:#7c6506;--nylas-color-yellow-700:#c29f09;--nylas-color-yellow-500:#f7c90b;--nylas-color-yellow-300:#f9de70;--nylas-color-yellow-100:#fceba9;--nylas-color-yellow-50:#fdf4ce;--nylas-color-green-900:#0e6b60;--nylas-color-green-700:#16a392;--nylas-color-green-500:#17c3b2;--nylas-color-green-300:#74dbd1;--nylas-color-green-100:#a2e7e0;--nylas-color-green-50:#d1f3f0;--nylas-color-purple-900:#643554;--nylas-color-purple-700:#954f7d;--nylas-color-purple-500:#c769a7;--nylas-color-purple-300:#dda5ca;--nylas-color-purple-100:#e0bdd6;--nylas-color-purple-50:#e9dde5;--nylas-color-sky-900:#20698f;--nylas-color-sky-700:#2b8fc2;--nylas-color-sky-500:#6dceff;--nylas-color-sky-300:#8fdaff;--nylas-color-sky-100:#b8e7ff;--nylas-color-sky-50:#d9f2ff;width:100%}label{display:flex;color:var(--nylas-base-800, #293056);font-size:14px;font-style:normal;font-weight:400;line-height:150%;flex-direction:column;gap:4px;font-family:var(--nylas-font-family);font-size:16px;color:var(--nylas-base-800)}label.error{color:var(--nylas-error)}label span.required{color:var(--nylas-error);padding:0 0.25rem}label p{margin:0;display:flex;gap:4px;align-items:center}label .error{color:var(--nylas-error)}textarea{display:flex;height:48px;padding-left:16px;align-items:center;gap:8px;align-self:stretch;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-300);background:var(--nylas-base-0);width:-webkit-fill-available;color:var(--nylas-base-900);font-size:16px;font-style:normal;font-weight:400;line-height:150%;padding:12px 16px;border-width:1;resize:vertical;border-radius:8px;font-family:var(--nylas-font-family);font-size:16px;line-height:24px}textarea:focus{outline-color:var(--nylas-primary)}textarea.error{border-radius:var(--nylas-border-radius-2x);font-weight:600;border-color:var(--nylas-error);border-width:2px}textarea.error::placeholder{font-weight:400}textarea::placeholder{color:var(--nylas-base-300)}textarea::-webkit-resizer{display:none}textarea:read-only{background-color:var(--nylas-base-100);cursor:not-allowed}',n=t,s=class{constructor(e){r.registerInstance(this,e),this.nylasFormInputChanged=r.createEvent(this,"nylasFormInputChanged",7),this.name="textarea",this.defaultValue=void 0,this.label="",this.placeholder="",this.required=!1,this.readOnly=!1,this.autoFocus=!1,this.maxLength=255,this.type="multi_line_text",this.tooltip="",this.errorMessage="",this.themeConfig=void 0,this.value="",this.error=""}componentDidLoad(){this.value=l.sanitize(this.defaultValue||""),this.applyThemeConfig(this.themeConfig)}themeConfigChangedHandler(e,a){e!==a&&this.applyThemeConfig(e)}applyThemeConfig(e){if(e)for(const[a,o]of Object.entries(e))this.el.style.setProperty(`${a}`,o)}handleBookingFormSubmitted(e){this.validate(this.value),this.error&&e.preventDefault()}handletriggerValidation(e){this.validate(this.value),this.error&&e.preventDefault()}handleInput(e){this.error="";const a=e.target;this.value=l.sanitize(a.value),this.nylasFormInputChanged.emit({value:this.value,name:this.name,error:this.error,label:this.label,type:this.type})}validate(e){this.required&&!e?this.error=this.errorMessage||`${this.label} is required.`:e.length>this.maxLength?this.error=`${this.label} cannot exceed ${this.maxLength} characters.`:this.error=""}render(){return r.h("label",{key:"6838bd252440e3919d71357e490991acc6a32625",part:"tc__label",class:{error:!!this.error}},r.h("p",{key:"c1b308e1cebcfd3ff26e74938cdb9be01591e2f9"},r.h("span",{key:"1bd454c83edd1f239d3f54c450f5c5cc9273e9a0",class:"label"},this.label),this.required&&r.h("span",{class:"required"},"*"),this.tooltip&&r.h("tooltip-component",null,r.h("info-icon",{slot:"tooltip-icon"}),r.h("span",{slot:"tooltip-content"},this.tooltip))),r.h("textarea",{key:"37b3f46f961c7fe8aa3bd640628a7f8c9596e388",name:this.name,title:this.readOnly?"read-only field":void 0,placeholder:this.placeholder,readOnly:this.readOnly,autoFocus:this.autoFocus,value:this.value,maxLength:this.maxLength,onInput:e=>this.handleInput(e),class:{error:!!this.error},part:"tc__textarea"}),this.error&&r.h("span",{class:"error help-text"},this.error))}get el(){return r.getElement(this)}static get watchers(){return{themeConfig:["themeConfigChangedHandler"]}}};s.style=n;exports.textarea_component=s;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./index-f42fe591.cjs");require("@nylas/web-elements");require("react");require("@nylas/connect");require("react/jsx-runtime");require("react-dom");const a=':host{--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-50:#ffeae8;--nylas-error-100:#ffc5bf;--nylas-error-200:#fecaca;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-color-blue-100:#e0e6f9;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;--nylas-color-black:#000000;--nylas-color-grey-900:#2c2c2c;--nylas-color-grey-800:#4b4b4b;--nylas-color-grey-700:#6e6e6e;--nylas-color-grey-600:#8e8e8e;--nylas-color-grey-500:#b3b3b3;--nylas-color-grey-400:#cacaca;--nylas-color-grey-300:#e1e1e1;--nylas-color-grey-200:#eaeaea;--nylas-color-grey-100:#f5f5f5;--nylas-color-grey-50:#fbfcfe;--nylas-color-white:#ffffff;--nylas-color-red-900:#992222;--nylas-color-red-700:#cc4841;--nylas-color-red-500:#ff786a;--nylas-color-red-300:#ffa79e;--nylas-color-red-100:#ffc5bf;--nylas-color-red-50:#ffeae8;--nylas-color-blue-900:#213571;--nylas-color-blue-700:#314fa9;--nylas-color-blue-500:#4169e1;--nylas-color-blue-300:#bdccf9;--nylas-color-blue-100:#e0e6f9;--nylas-color-blue-50:#f6f8fd;--nylas-color-yellow-900:#7c6506;--nylas-color-yellow-700:#c29f09;--nylas-color-yellow-500:#f7c90b;--nylas-color-yellow-300:#f9de70;--nylas-color-yellow-100:#fceba9;--nylas-color-yellow-50:#fdf4ce;--nylas-color-green-900:#0e6b60;--nylas-color-green-700:#16a392;--nylas-color-green-500:#17c3b2;--nylas-color-green-300:#74dbd1;--nylas-color-green-100:#a2e7e0;--nylas-color-green-50:#d1f3f0;--nylas-color-purple-900:#643554;--nylas-color-purple-700:#954f7d;--nylas-color-purple-500:#c769a7;--nylas-color-purple-300:#dda5ca;--nylas-color-purple-100:#e0bdd6;--nylas-color-purple-50:#e9dde5;--nylas-color-sky-900:#20698f;--nylas-color-sky-700:#2b8fc2;--nylas-color-sky-500:#6dceff;--nylas-color-sky-300:#8fdaff;--nylas-color-sky-100:#b8e7ff;--nylas-color-sky-50:#d9f2ff}.switch{display:inline-block;height:34px;position:relative;width:60px}.switch input{display:none}.slider{background-color:var(--nylas-base-300);bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:0.4s}.slider:before{background-color:var(--nylas-base-50);bottom:4px;content:"";height:32px;left:4px;position:absolute;transition:0.4s;width:32px}input:checked+.slider{background-color:var(--nylas-success)}input:checked+.slider:before{transform:translateX(32px)}.slider.round{border-radius:35px;width:72px;height:40px}.slider.round:before{border-radius:50%}',c=a,o=class{constructor(e){l.registerInstance(this,e),this.nylasFormSwitchToggled=l.createEvent(this,"nylasFormSwitchToggled",7),this.name="toggle-switch",this.checked=!1,this.label="",this.themeConfig=void 0,this.isChecked=this.checked}checkedChanged(e){this.isChecked=e}themeConfigChangedHandler(e,s){e!==s&&this.applyThemeConfig(e)}applyThemeConfig(e){if(e)for(const[s,r]of Object.entries(e))this.el.style.setProperty(`${s}`,r)}componentWillLoad(){this.isChecked=this.checked,this.applyThemeConfig(this.themeConfig)}componentDidLoad(){this.applyThemeConfig(this.themeConfig)}toggleCheck(){this.isChecked=!this.isChecked,this.nylasFormSwitchToggled.emit({checked:this.isChecked,name:this.name,label:this.label})}render(){return l.h("label",{key:"352f5292473fb4037e68538367db0b471c5719ae",class:"switch",part:"ts_label"},l.h("input",{key:"ec6e64bdbc04b06f2342443d11bbc2c431481c7e",type:"checkbox",part:"ts_input",name:this.name,checked:this.isChecked,onChange:()=>this.toggleCheck()}),l.h("div",{key:"1dad5953e4cb9e1f2b1b835e1042737264ddcfef",class:"slider round",part:`ts_slider ${this.isChecked?"ts_slider_checked":""}`}))}get el(){return l.getElement(this)}static get watchers(){return{checked:["checkedChanged"],themeConfig:["themeConfigChangedHandler"]}}};o.style=c;exports.toggle_switch=o;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { r
|
|
1
|
+
import { r, c as a, h as s, g as c } from "./index-025be398.js";
|
|
2
|
+
import "@nylas/web-elements";
|
|
2
3
|
import "react";
|
|
4
|
+
import "@nylas/connect";
|
|
3
5
|
import "react/jsx-runtime";
|
|
4
6
|
import "react-dom";
|
|
5
|
-
const n = ':host{--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-50:#ffeae8;--nylas-error-100:#ffc5bf;--nylas-error-200:#fecaca;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-color-blue-100:#e0e6f9;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;--nylas-color-black:#000000;--nylas-color-grey-900:#2c2c2c;--nylas-color-grey-800:#4b4b4b;--nylas-color-grey-700:#6e6e6e;--nylas-color-grey-600:#8e8e8e;--nylas-color-grey-500:#b3b3b3;--nylas-color-grey-400:#cacaca;--nylas-color-grey-300:#e1e1e1;--nylas-color-grey-200:#eaeaea;--nylas-color-grey-100:#f5f5f5;--nylas-color-grey-50:#fbfcfe;--nylas-color-white:#ffffff;--nylas-color-red-900:#992222;--nylas-color-red-700:#cc4841;--nylas-color-red-500:#ff786a;--nylas-color-red-300:#ffa79e;--nylas-color-red-100:#ffc5bf;--nylas-color-red-50:#ffeae8;--nylas-color-blue-900:#213571;--nylas-color-blue-700:#314fa9;--nylas-color-blue-500:#4169e1;--nylas-color-blue-300:#bdccf9;--nylas-color-blue-100:#e0e6f9;--nylas-color-blue-50:#f6f8fd;--nylas-color-yellow-900:#7c6506;--nylas-color-yellow-700:#c29f09;--nylas-color-yellow-500:#f7c90b;--nylas-color-yellow-300:#f9de70;--nylas-color-yellow-100:#fceba9;--nylas-color-yellow-50:#fdf4ce;--nylas-color-green-900:#0e6b60;--nylas-color-green-700:#16a392;--nylas-color-green-500:#17c3b2;--nylas-color-green-300:#74dbd1;--nylas-color-green-100:#a2e7e0;--nylas-color-green-50:#d1f3f0;--nylas-color-purple-900:#643554;--nylas-color-purple-700:#954f7d;--nylas-color-purple-500:#c769a7;--nylas-color-purple-300:#dda5ca;--nylas-color-purple-100:#e0bdd6;--nylas-color-purple-50:#e9dde5;--nylas-color-sky-900:#20698f;--nylas-color-sky-700:#2b8fc2;--nylas-color-sky-500:#6dceff;--nylas-color-sky-300:#8fdaff;--nylas-color-sky-100:#b8e7ff;--nylas-color-sky-50:#d9f2ff}.switch{display:inline-block;height:34px;position:relative;width:60px}.switch input{display:none}.slider{background-color:var(--nylas-base-300);bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:0.4s}.slider:before{background-color:var(--nylas-base-50);bottom:4px;content:"";height:32px;left:4px;position:absolute;transition:0.4s;width:32px}input:checked+.slider{background-color:var(--nylas-success)}input:checked+.slider:before{transform:translateX(32px)}.slider.round{border-radius:35px;width:72px;height:40px}.slider.round:before{border-radius:50%}', t = n,
|
|
7
|
+
const n = ':host{--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-50:#ffeae8;--nylas-error-100:#ffc5bf;--nylas-error-200:#fecaca;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-color-blue-100:#e0e6f9;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;--nylas-color-black:#000000;--nylas-color-grey-900:#2c2c2c;--nylas-color-grey-800:#4b4b4b;--nylas-color-grey-700:#6e6e6e;--nylas-color-grey-600:#8e8e8e;--nylas-color-grey-500:#b3b3b3;--nylas-color-grey-400:#cacaca;--nylas-color-grey-300:#e1e1e1;--nylas-color-grey-200:#eaeaea;--nylas-color-grey-100:#f5f5f5;--nylas-color-grey-50:#fbfcfe;--nylas-color-white:#ffffff;--nylas-color-red-900:#992222;--nylas-color-red-700:#cc4841;--nylas-color-red-500:#ff786a;--nylas-color-red-300:#ffa79e;--nylas-color-red-100:#ffc5bf;--nylas-color-red-50:#ffeae8;--nylas-color-blue-900:#213571;--nylas-color-blue-700:#314fa9;--nylas-color-blue-500:#4169e1;--nylas-color-blue-300:#bdccf9;--nylas-color-blue-100:#e0e6f9;--nylas-color-blue-50:#f6f8fd;--nylas-color-yellow-900:#7c6506;--nylas-color-yellow-700:#c29f09;--nylas-color-yellow-500:#f7c90b;--nylas-color-yellow-300:#f9de70;--nylas-color-yellow-100:#fceba9;--nylas-color-yellow-50:#fdf4ce;--nylas-color-green-900:#0e6b60;--nylas-color-green-700:#16a392;--nylas-color-green-500:#17c3b2;--nylas-color-green-300:#74dbd1;--nylas-color-green-100:#a2e7e0;--nylas-color-green-50:#d1f3f0;--nylas-color-purple-900:#643554;--nylas-color-purple-700:#954f7d;--nylas-color-purple-500:#c769a7;--nylas-color-purple-300:#dda5ca;--nylas-color-purple-100:#e0bdd6;--nylas-color-purple-50:#e9dde5;--nylas-color-sky-900:#20698f;--nylas-color-sky-700:#2b8fc2;--nylas-color-sky-500:#6dceff;--nylas-color-sky-300:#8fdaff;--nylas-color-sky-100:#b8e7ff;--nylas-color-sky-50:#d9f2ff}.switch{display:inline-block;height:34px;position:relative;width:60px}.switch input{display:none}.slider{background-color:var(--nylas-base-300);bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:0.4s}.slider:before{background-color:var(--nylas-base-50);bottom:4px;content:"";height:32px;left:4px;position:absolute;transition:0.4s;width:32px}input:checked+.slider{background-color:var(--nylas-success)}input:checked+.slider:before{transform:translateX(32px)}.slider.round{border-radius:35px;width:72px;height:40px}.slider.round:before{border-radius:50%}', t = n, i = class {
|
|
6
8
|
constructor(e) {
|
|
7
|
-
|
|
9
|
+
r(this, e), this.nylasFormSwitchToggled = a(this, "nylasFormSwitchToggled", 7), this.name = "toggle-switch", this.checked = !1, this.label = "", this.themeConfig = void 0, this.isChecked = this.checked;
|
|
8
10
|
}
|
|
9
11
|
checkedChanged(e) {
|
|
10
12
|
this.isChecked = e;
|
|
@@ -43,7 +45,7 @@ const n = ':host{--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-50:
|
|
|
43
45
|
};
|
|
44
46
|
}
|
|
45
47
|
};
|
|
46
|
-
|
|
48
|
+
i.style = t;
|
|
47
49
|
export {
|
|
48
|
-
|
|
50
|
+
i as toggle_switch
|
|
49
51
|
};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { r as e, h as C } from "./index-
|
|
1
|
+
import { r as e, h as C } from "./index-025be398.js";
|
|
2
|
+
import "@nylas/web-elements";
|
|
2
3
|
import "react";
|
|
4
|
+
import "@nylas/connect";
|
|
3
5
|
import "react/jsx-runtime";
|
|
4
6
|
import "react-dom";
|
|
5
7
|
const s = ".sc-translate-icon-h{display:flex}", i = s, o = class {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("./index-f42fe591.cjs");require("@nylas/web-elements");require("react");require("@nylas/connect");require("react/jsx-runtime");require("react-dom");const r=".sc-translate-icon-h{display:flex}",i=r,e=class{constructor(t){C.registerInstance(this,t),this.width="16",this.height="16"}render(){return C.h("svg",{key:"a3a970b623885825526a8531efc2fa6b61f1e9e7",xmlns:"http://www.w3.org/2000/svg",width:this.width,height:this.height,viewBox:"0 0 20 20",fill:"none"},C.h("path",{key:"b6789bfce9afcaa691cb81a864a4596f9c8dc3c6",fill:"currentColor",d:"M14.1663 4.02867C14.4267 4.12081 14.563 4.40654 14.4709 4.66685C14.3501 5.00788 14.2182 5.4771 14.1178 5.86047C14.6877 5.77587 15.2665 5.65653 15.8867 5.51288C16.1557 5.45058 16.4243 5.61815 16.4866 5.88717C16.5489 6.15619 16.3814 6.42479 16.1123 6.4871C15.339 6.66621 14.6101 6.81289 13.8717 6.90283C13.7759 7.35654 13.7014 7.77084 13.6451 8.15021C14.1202 8.04599 14.5738 8.00553 14.9996 8.02075L14.9996 8C14.9996 7.72386 15.2235 7.5 15.4996 7.5C15.7758 7.5 15.9996 7.72386 15.9996 8C15.9996 8.05657 15.9991 8.11281 15.9979 8.16871C17.1392 8.47838 17.9781 9.23987 18.3435 10.2263C18.9579 11.8853 18.1287 13.8787 15.7027 14.9569C15.4504 15.069 15.1549 14.9554 15.0427 14.7031C14.9306 14.4507 15.0442 14.1552 15.2966 14.0431C17.3705 13.1213 17.7913 11.6147 17.4057 10.5737C17.1874 9.984 16.6776 9.44916 15.9129 9.18633C15.6829 10.7237 15.021 11.9466 14.229 12.7925C14.3126 12.9656 14.3958 13.1436 14.4641 13.3151C14.5662 13.5717 14.441 13.8625 14.1844 13.9646C13.9278 14.0667 13.637 13.9415 13.5349 13.6849C13.5066 13.6137 13.4777 13.5463 13.448 13.4802C13.028 13.7794 12.5905 13.9869 12.1705 14.0835C11.5942 14.2161 10.963 14.1517 10.534 13.6942C9.88917 13.0053 9.84361 11.8611 10.2855 10.8412C10.6652 9.96479 11.4186 9.11781 12.5848 8.54034C12.6387 8.07338 12.7199 7.55894 12.8332 6.98891C12.3926 7.00755 11.9403 7.00326 11.4659 6.97127C11.1904 6.95269 10.9821 6.71428 11.0007 6.43876C11.0192 6.16325 11.2577 5.95496 11.5332 5.97353C12.0633 6.00928 12.5641 6.00772 13.0566 5.97553C13.1605 5.55444 13.3512 4.8331 13.5282 4.33317C13.6203 4.07286 13.906 3.93653 14.1663 4.02867ZM12.501 9.74109C11.8436 10.1821 11.427 10.7219 11.2031 11.2387C10.8542 12.0439 10.9881 12.716 11.2638 13.0105C11.2637 13.0104 11.2639 13.0106 11.2638 13.0105C11.3573 13.11 11.5624 13.1973 11.9463 13.109C12.2578 13.0373 12.6311 12.8571 13.0121 12.5576C12.8658 12.22 12.7272 11.8324 12.6313 11.353C12.5405 10.8996 12.4899 10.3743 12.501 9.74109ZM13.7808 11.7797C14.316 11.0956 14.759 10.1665 14.9271 9.01632C14.539 9.00681 14.1111 9.05601 13.6457 9.17854C13.605 9.19274 13.5647 9.20726 13.525 9.22209C13.4663 10.0545 13.5146 10.671 13.6118 11.1568C13.6578 11.3868 13.7156 11.5913 13.7808 11.7797ZM6.92028 5.2159C5.77942 4.88398 4.78409 5.00841 4.07616 5.21575C3.72264 5.3193 3.439 5.44393 3.24121 5.5443C3.14215 5.59457 3.0641 5.63901 3.00903 5.67212C2.98147 5.68868 2.95962 5.70244 2.9437 5.71271L2.92429 5.72542L2.91797 5.72966L2.91566 5.73123L2.91393 5.73241C2.91384 5.73249 2.91436 5.73325 2.94925 5.78397C3.23698 6.20225 3.1703 6.10548 2.91393 5.73241C2.68634 5.88881 2.62863 6.20009 2.78502 6.42767C2.94134 6.65514 3.25207 6.71313 3.47963 6.55703L3.4788 6.5576L3.48576 6.55305C3.49318 6.54826 3.50608 6.5401 3.52423 6.52919C3.56057 6.50735 3.6177 6.47463 3.69373 6.43605C3.84612 6.35872 4.07228 6.2589 4.35724 6.17544C4.92619 6.0088 5.72242 5.90898 6.64043 6.17595C7.35305 6.38517 7.66747 6.76919 7.82692 7.16112C7.98173 7.54163 8.0026 7.95751 8.00531 8.33243C7.46199 8.18407 6.79336 8.03682 6.08385 8.00744C5.04808 7.96456 3.8874 8.17096 2.87738 9.01102C1.98877 9.75011 1.78345 10.8818 2.07014 11.853C2.35713 12.8252 3.14925 13.692 4.31803 13.9348C5.22351 14.123 6.18016 13.8639 6.9599 13.5212C7.3403 13.354 7.69572 13.1594 8.0057 12.9665V13.5C8.0057 13.7761 8.22956 14 8.5057 14C8.78184 14 9.0057 13.7754 9.0057 13.4993L9.0057 8.44586C9.0058 8.05404 9.00595 7.40554 8.7532 6.78428C8.48142 6.11625 7.93342 5.51313 6.92136 5.21622L6.92028 5.2159ZM6.04249 9.00659C6.76366 9.03645 7.44769 9.209 8.0057 9.37205V11.757C7.65814 12.0182 7.13927 12.35 6.55757 12.6057C5.85264 12.9155 5.12729 13.0816 4.52148 12.9557C3.75127 12.7957 3.22322 12.2271 3.02922 11.5699C2.83491 10.9116 2.98777 10.2199 3.51683 9.77985C4.27958 9.14545 5.16917 8.97043 6.04249 9.00659Z"}))}};e.style=i;exports.translate_icon=e;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { r as s, h as t } from "./index-
|
|
1
|
+
import { r as s, h as t } from "./index-025be398.js";
|
|
2
|
+
import "@nylas/web-elements";
|
|
2
3
|
import "react";
|
|
4
|
+
import "@nylas/connect";
|
|
3
5
|
import "react/jsx-runtime";
|
|
4
6
|
import "react-dom";
|
|
5
7
|
const a = ".sc-trash-fill-icon-h{display:flex}", d = a, o = class {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-f42fe591.cjs");require("@nylas/web-elements");require("react");require("@nylas/connect");require("react/jsx-runtime");require("react-dom");const r=".sc-trash-fill-icon-h{display:flex}",i=r,t=class{constructor(d){e.registerInstance(this,d),this.width="15",this.height="15"}render(){return e.h("svg",{key:"d91a0b4a4fe83f9e8eda0f0925ddfa4de2e0ba78",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"auto",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"6129e4dcceb4fba9571a9f499fdb0fd36b09a86e",d:"M3 6H5H21",stroke:"auto","stroke-width":"1.5"}),e.h("path",{key:"6d06dc26a0f98d8afde40f2c4de69ca8c8d9cc92",d:"M8 6V4C8 3.46957 8.21071 2.96086 8.58579 2.58579C8.96086 2.21071 9.46957 2 10 2H14C14.5304 2 15.0391 2.21071 15.4142 2.58579C15.7893 2.96086 16 3.46957 16 4V6M19 6V20C19 20.5304 18.7893 21.0391 18.4142 21.4142C18.0391 21.7893 17.5304 22 17 22H7C6.46957 22 5.96086 21.7893 5.58579 21.4142C5.21071 21.0391 5 20.5304 5 20V6H19Z",stroke:"auto","stroke-width":"1.5"}),e.h("path",{key:"e5bd2116bb19b79d84ab67139adfac56bd3f3740",d:"M10 11V17",stroke:"auto","stroke-width":"1.5"}),e.h("path",{key:"bc014f02ebd86b4fd85ae744bfc47fed60ab0fe6",d:"M14 11V17",stroke:"auto","stroke-width":"1.5"}))}};t.style=i;exports.trash_fill_icon=t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-f42fe591.cjs");require("@nylas/web-elements");require("react");require("@nylas/connect");require("react/jsx-runtime");require("react-dom");const i=".sc-underline-icon-h{display:flex}",n=i,r=class{constructor(t){e.registerInstance(this,t),this.width="15",this.height="15"}render(){return e.h("svg",{key:"96ed32bea9de1ea04ec4f8d5d8ccab5b01f65401",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"e37b2de78c212e7dd46583ad3fc6fc17c7a510a3",d:"M19 4V10C19 13.866 15.866 17 12 17C8.13401 17 5 13.866 5 10V4M8.5 4V10C8.5 13.2218 10.6766 15.9352 13.6395 16.7501M4 21H20M3 4L10.5 4M17 4L21 4",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}))}};r.style=n;exports.underline_icon=r;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { r as i, h as e } from "./index-
|
|
1
|
+
import { r as i, h as e } from "./index-025be398.js";
|
|
2
|
+
import "@nylas/web-elements";
|
|
2
3
|
import "react";
|
|
4
|
+
import "@nylas/connect";
|
|
3
5
|
import "react/jsx-runtime";
|
|
4
6
|
import "react-dom";
|
|
5
|
-
const
|
|
7
|
+
const r = ".sc-underline-icon-h{display:flex}", n = r, o = class {
|
|
6
8
|
constructor(t) {
|
|
7
9
|
i(this, t), this.width = "15", this.height = "15";
|
|
8
10
|
}
|
|
@@ -10,7 +12,7 @@ const n = ".sc-underline-icon-h{display:flex}", r = n, o = class {
|
|
|
10
12
|
return e("svg", { key: "96ed32bea9de1ea04ec4f8d5d8ccab5b01f65401", width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, e("path", { key: "e37b2de78c212e7dd46583ad3fc6fc17c7a510a3", d: "M19 4V10C19 13.866 15.866 17 12 17C8.13401 17 5 13.866 5 10V4M8.5 4V10C8.5 13.2218 10.6766 15.9352 13.6395 16.7501M4 21H20M3 4L10.5 4M17 4L21 4", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }));
|
|
11
13
|
}
|
|
12
14
|
};
|
|
13
|
-
o.style =
|
|
15
|
+
o.style = n;
|
|
14
16
|
export {
|
|
15
17
|
o as underline_icon
|
|
16
18
|
};
|