@nylas/react 1.2.0 → 1.3.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.entry-0f0cd6d8.cjs +1 -0
- package/dist/add-circle-icon.entry-d2b7178c.js +15 -0
- package/dist/{archive-icon.entry-50c4b134.js → archive-icon.entry-602d3c58.js} +1 -1
- package/dist/{archive-icon.entry-718a1225.cjs → archive-icon.entry-ec25f93a.cjs} +1 -1
- package/dist/{arrow-icon.entry-ca9625d3.cjs → arrow-icon.entry-7bcb6442.cjs} +1 -1
- package/dist/{arrow-icon.entry-53337688.js → arrow-icon.entry-d4dd38b3.js} +1 -1
- package/dist/{bold-icon.entry-c6109b88.js → bold-icon.entry-5fc41386.js} +1 -1
- package/dist/{bold-icon.entry-36e679f1.cjs → bold-icon.entry-fc1d34a6.cjs} +1 -1
- package/dist/{button-component_2.entry-a1b8cd03.cjs → button-component_2.entry-d23be43d.cjs} +1 -1
- package/dist/{button-component_2.entry-0a06b0c4.js → button-component_2.entry-d62ae520.js} +1 -1
- package/dist/{calendar-agenda-fill-icon_54.entry-e4d8ab10.js → calendar-agenda-fill-icon_54.entry-1a42103a.js} +96 -98
- package/dist/{calendar-agenda-fill-icon_54.entry-5b185e75.cjs → calendar-agenda-fill-icon_54.entry-95ccb99e.cjs} +3 -3
- package/dist/{calendar-cancel-icon.entry-813a8330.js → calendar-cancel-icon.entry-1566c286.js} +1 -1
- package/dist/{calendar-cancel-icon.entry-22862d8c.cjs → calendar-cancel-icon.entry-bf9fc719.cjs} +1 -1
- package/dist/{calendar-check-icon_2.entry-2ca25094.cjs → calendar-check-icon_2.entry-4c3e78a6.cjs} +1 -1
- package/dist/{calendar-check-icon_2.entry-79d381ce.js → calendar-check-icon_2.entry-82407a92.js} +1 -1
- package/dist/{calendar-icon.entry-78bb4f9b.cjs → calendar-icon.entry-359c064c.cjs} +1 -1
- package/dist/{calendar-icon.entry-d52951b0.js → calendar-icon.entry-c3c23413.js} +1 -1
- package/dist/{checkbox-component_2.entry-1219f0cf.js → checkbox-component_2.entry-97e97789.js} +1 -1
- package/dist/{checkbox-component_2.entry-a6114846.cjs → checkbox-component_2.entry-f974e789.cjs} +1 -1
- package/dist/{chevron-icon_3.entry-d8f195dc.cjs → chevron-icon_3.entry-2453084c.cjs} +1 -1
- package/dist/{chevron-icon_3.entry-82878ccf.js → chevron-icon_3.entry-a6189c37.js} +1 -1
- package/dist/{clock-icon_4.entry-e081ccca.cjs → clock-icon_4.entry-5162dfec.cjs} +1 -1
- package/dist/{clock-icon_4.entry-9ab4bc41.js → clock-icon_4.entry-ad679142.js} +1 -1
- package/dist/close-icon.entry-2c6cdf35.js +15 -0
- package/dist/close-icon.entry-38dc2638.cjs +1 -0
- package/dist/{copy-icon.entry-9d6e0f48.js → copy-icon.entry-6630ce5a.js} +1 -1
- package/dist/{copy-icon.entry-9c6f38c2.cjs → copy-icon.entry-79df1d0e.cjs} +1 -1
- package/dist/{delete-icon.entry-fd8dc119.js → delete-icon.entry-716f906c.js} +1 -1
- package/dist/{delete-icon.entry-6ec9c80d.cjs → delete-icon.entry-f9a265b6.cjs} +1 -1
- package/dist/{document-refresh-icon.entry-bea78baf.cjs → document-refresh-icon.entry-bb91822a.cjs} +1 -1
- package/dist/{document-refresh-icon.entry-2b531e97.js → document-refresh-icon.entry-fa775295.js} +1 -1
- package/dist/{feedbackSync-b56b29ed-a7e9f258.js → feedbackSync-adc893c2-5965d5ba.js} +1 -1
- package/dist/{feedbackSync-b56b29ed-cdcec5be.cjs → feedbackSync-adc893c2-70d06afc.cjs} +1 -1
- package/dist/{folder-icon.entry-485465be.cjs → folder-icon.entry-82a02de7.cjs} +1 -1
- package/dist/{folder-icon.entry-6a43630e.js → folder-icon.entry-9cf7590f.js} +1 -1
- package/dist/{forward-icon.entry-a1af9122.cjs → forward-icon.entry-034ec3be.cjs} +1 -1
- package/dist/{forward-icon.entry-514ea4a8.js → forward-icon.entry-ebd5e108.js} +1 -1
- package/dist/{globe-icon.entry-adcff451.js → globe-icon.entry-48837e22.js} +1 -1
- package/dist/{globe-icon.entry-970082a4.cjs → globe-icon.entry-b67c68d5.cjs} +1 -1
- package/dist/{google-logo-icon_4.entry-2b68fe81.js → google-logo-icon_4.entry-819d7d0d.js} +142 -128
- package/dist/{google-logo-icon_4.entry-21cb4b95.cjs → google-logo-icon_4.entry-b637470a.cjs} +1 -1
- package/dist/{inbox-icon.entry-94507d27.cjs → inbox-icon.entry-7f91d971.cjs} +1 -1
- package/dist/{inbox-icon.entry-d3e42f82.js → inbox-icon.entry-c611c154.js} +1 -1
- package/dist/{index-9dc1bd32.js → index-72501df0.js} +2623 -2554
- package/dist/{index-bec58f1d.cjs → index-92ba1b80.cjs} +28 -28
- package/dist/{index.es-c7ca1bad-5652d50c.cjs → index.es-28b1b2ec-595c0513.cjs} +1 -1
- package/dist/{index.es-c7ca1bad-38475209.js → index.es-28b1b2ec-5a87db22.js} +1 -1
- package/dist/{info-icon_2.entry-3b5a2c7f.js → info-icon_2.entry-4ad69286.js} +1 -1
- package/dist/{info-icon_2.entry-e23f3ffd.cjs → info-icon_2.entry-4c70ab61.cjs} +1 -1
- package/dist/{input-color-picker.entry-b4ea90c5.cjs → input-color-picker.entry-46bf04e1.cjs} +1 -1
- package/dist/{input-color-picker.entry-9bc48bd3.js → input-color-picker.entry-4e5760ce.js} +1 -1
- package/dist/{input-component.entry-e567ec08.cjs → input-component.entry-1019ce99.cjs} +1 -1
- package/dist/{input-component.entry-ebae3a8a.js → input-component.entry-dca1013f.js} +1 -1
- package/dist/{input-dropdown.entry-597cd5a8.cjs → input-dropdown.entry-e535fb5e.cjs} +1 -1
- package/dist/{input-dropdown.entry-1f704009.js → input-dropdown.entry-f14c59e7.js} +1 -1
- package/dist/{italic-icon.entry-08593dd0.js → italic-icon.entry-2ab53839.js} +1 -1
- package/dist/{italic-icon.entry-8f614353.cjs → italic-icon.entry-726cc194.cjs} +1 -1
- package/dist/{multi-select-dropdown.entry-eb978e22.cjs → multi-select-dropdown.entry-6820d249.cjs} +1 -1
- package/dist/{multi-select-dropdown.entry-5f1c73f3.js → multi-select-dropdown.entry-a097d3cb.js} +1 -1
- package/dist/{nylas-booked-event-card_12.entry-73785c5c.cjs → nylas-booked-event-card_12.entry-c684905b.cjs} +1 -1
- package/dist/{nylas-booked-event-card_12.entry-c4043d8f.js → nylas-booked-event-card_12.entry-ccd85ff4.js} +49 -49
- package/dist/{nylas-form-card.entry-1540207c.cjs → nylas-form-card.entry-8eb47f3d.cjs} +1 -1
- package/dist/{nylas-form-card.entry-80688e35.js → nylas-form-card.entry-afdfee47.js} +2 -2
- package/dist/{nylas-if-state.entry-037d0454.js → nylas-if-state.entry-7caad39f.js} +2 -2
- package/dist/{nylas-if-state.entry-e5155b5b.cjs → nylas-if-state.entry-be7978de.cjs} +1 -1
- package/dist/{nylas-login.entry-b3d73ab9.cjs → nylas-login.entry-bce4f689.cjs} +1 -1
- package/dist/{nylas-login.entry-d157a6ed.js → nylas-login.entry-dcf85f93.js} +2 -2
- package/dist/{nylas-provider.entry-cf4b8b57.js → nylas-provider.entry-97882e4b.js} +4 -4
- package/dist/{nylas-provider.entry-884ba204.cjs → nylas-provider.entry-f02017da.cjs} +1 -1
- package/dist/{nylas-scheduler-editor.entry-6f76d0d5.cjs → nylas-scheduler-editor.entry-cc6f4060.cjs} +2 -2
- package/dist/{nylas-scheduler-editor.entry-e731ca4a.js → nylas-scheduler-editor.entry-dcfdd6bf.js} +3 -3
- package/dist/{nylas-scheduling.entry-86b18d85.js → nylas-scheduling.entry-2b842e93.js} +41 -40
- package/dist/nylas-scheduling.entry-e0e9c8e8.cjs +1 -0
- package/dist/{nylas-time-window-picker.entry-393e855b.js → nylas-time-window-picker.entry-96f5fe9a.js} +1 -1
- package/dist/{nylas-time-window-picker.entry-f9687046.cjs → nylas-time-window-picker.entry-a8780f2e.cjs} +1 -1
- package/dist/{person-icon.entry-1b5dcd2e.cjs → person-icon.entry-2f8e00fd.cjs} +1 -1
- package/dist/{person-icon.entry-b5ccb1f4.js → person-icon.entry-3ec67feb.js} +1 -1
- package/dist/{play-icon.entry-3f2e7e31.cjs → play-icon.entry-1abf79e9.cjs} +1 -1
- package/dist/{play-icon.entry-5e51d961.js → play-icon.entry-a840bdca.js} +1 -1
- package/dist/react.cjs +1 -1
- package/dist/react.js +1 -1
- package/dist/{refresh-icon.entry-9beaa8e1.js → refresh-icon.entry-11fcb673.js} +1 -1
- package/dist/{refresh-icon.entry-3d241ffd.cjs → refresh-icon.entry-af7f54b4.cjs} +1 -1
- package/dist/{register-component-3444af44-94783766.js → register-component-75f530bc-0e4e3d7a.js} +1 -1
- package/dist/{register-component-3444af44-890ac950.cjs → register-component-75f530bc-61b6f2dd.cjs} +1 -1
- package/dist/{reply-all-icon.entry-6b55d3b3.js → reply-all-icon.entry-5c8b3356.js} +1 -1
- package/dist/{reply-all-icon.entry-a0fcbf30.cjs → reply-all-icon.entry-cc2ad940.cjs} +1 -1
- package/dist/{reply-icon.entry-c7d0d967.cjs → reply-icon.entry-840acade.cjs} +1 -1
- package/dist/{reply-icon.entry-c709b46f.js → reply-icon.entry-d048736f.js} +1 -1
- package/dist/{scheduler-config-store-ed4a8dfd-ba68cc09.cjs → scheduler-config-store-ed4a8dfd-161a3efd.cjs} +1 -1
- package/dist/{scheduler-config-store-ed4a8dfd-13c1c187.js → scheduler-config-store-ed4a8dfd-f74e58ae.js} +1 -1
- package/dist/{scheduler-store-ecd15be2-d2ef4ac2.js → scheduler-store-d84b82a0-11faba86.js} +2 -2
- package/dist/{scheduler-store-ecd15be2-8f7d171f.cjs → scheduler-store-d84b82a0-7a7fe186.cjs} +1 -1
- package/dist/{sent-icon.entry-9083bca9.cjs → sent-icon.entry-987760ce.cjs} +1 -1
- package/dist/{sent-icon.entry-b65083f4.js → sent-icon.entry-fd3b9ad9.js} +1 -1
- package/dist/{spam-icon.entry-e6c1a82a.cjs → spam-icon.entry-3ce4f9fc.cjs} +1 -1
- package/dist/{spam-icon.entry-120eca46.js → spam-icon.entry-4665415c.js} +1 -1
- package/dist/{star-icon.entry-e3563c0b.js → star-icon.entry-0f446ac7.js} +1 -1
- package/dist/{star-icon.entry-efbc2679.cjs → star-icon.entry-a3ba4703.cjs} +1 -1
- package/dist/{stop-icon.entry-ab5cf663.js → stop-icon.entry-72c964b2.js} +1 -1
- package/dist/{stop-icon.entry-8d07d719.cjs → stop-icon.entry-9c13e00a.cjs} +1 -1
- package/dist/{textarea-component.entry-a0ef9f03.js → textarea-component.entry-d414e219.js} +1 -1
- package/dist/{textarea-component.entry-93be4a65.cjs → textarea-component.entry-ff04b5fa.cjs} +1 -1
- package/dist/{time-period-selector.entry-16f96af9.cjs → time-period-selector.entry-2ce3347a.cjs} +1 -1
- package/dist/{time-period-selector.entry-2a86f48f.js → time-period-selector.entry-53edc0ba.js} +1 -1
- package/dist/{translate-icon.entry-d632b37b.js → translate-icon.entry-84a78b9a.js} +1 -1
- package/dist/{translate-icon.entry-868948d3.cjs → translate-icon.entry-9bab13ad.cjs} +1 -1
- package/dist/{trash-fill-icon.entry-eeab235e.js → trash-fill-icon.entry-2881a44c.js} +1 -1
- package/dist/{trash-fill-icon.entry-88dfffbc.cjs → trash-fill-icon.entry-84f52290.cjs} +1 -1
- package/dist/{underline-icon.entry-65e42dcf.js → underline-icon.entry-23eca319.js} +1 -1
- package/dist/{underline-icon.entry-35430c19.cjs → underline-icon.entry-5a8410ef.cjs} +1 -1
- package/dist/{warning-icon.entry-e7714a43.cjs → warning-icon.entry-1966042d.cjs} +1 -1
- package/dist/{warning-icon.entry-bab6d190.js → warning-icon.entry-abf9e5dc.js} +1 -1
- package/package.json +3 -3
- package/dist/add-circle-icon_2.entry-52cc3933.cjs +0 -1
- package/dist/add-circle-icon_2.entry-5ea903bf.js +0 -25
- package/dist/nylas-scheduling.entry-c8ee9a2a.cjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-92ba1b80.cjs");require("react");require("react-dom");const c=".sc-add-circle-icon-h{display:flex}",r=c,t=class{constructor(i){e.registerInstance(this,i),this.width="24",this.height="25"}render(){return e.h("svg",{key:"9e690681d1b901e7e3d253077f78686f791649a5",width:this.width,height:this.height,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"790a61b553585cc1f31547f19adadc95a46c5166",d:"M12 2.5c5.523 0 10 4.477 10 10s-4.477 10-10 10-10-4.477-10-10 4.477-10 10-10ZM12 4a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17Zm0 3.5a.75.75 0 0 1 .75.75v3.5h3.5a.75.75 0 0 1 0 1.5h-3.5v3.5a.75.75 0 0 1-1.5 0v-3.5h-3.5a.75.75 0 0 1 0-1.5h3.5v-3.5A.75.75 0 0 1 12 7.5Z",fill:"currentColor"}))}};t.style=r;exports.add_circle_icon=t;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { r as i, h as t } from "./index-72501df0.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import "react-dom";
|
|
4
|
+
const e = ".sc-add-circle-icon-h{display:flex}", s = e, h = class {
|
|
5
|
+
constructor(c) {
|
|
6
|
+
i(this, c), this.width = "24", this.height = "25";
|
|
7
|
+
}
|
|
8
|
+
render() {
|
|
9
|
+
return t("svg", { key: "9e690681d1b901e7e3d253077f78686f791649a5", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "790a61b553585cc1f31547f19adadc95a46c5166", d: "M12 2.5c5.523 0 10 4.477 10 10s-4.477 10-10 10-10-4.477-10-10 4.477-10 10-10ZM12 4a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17Zm0 3.5a.75.75 0 0 1 .75.75v3.5h3.5a.75.75 0 0 1 0 1.5h-3.5v3.5a.75.75 0 0 1-1.5 0v-3.5h-3.5a.75.75 0 0 1 0-1.5h3.5v-3.5A.75.75 0 0 1 12 7.5Z", fill: "currentColor" }));
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
h.style = s;
|
|
13
|
+
export {
|
|
14
|
+
h as add_circle_icon
|
|
15
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-92ba1b80.cjs");require("react");require("react-dom");const h=".sc-archive-icon-h{display:flex}",i=h,t=class{constructor(c){e.registerInstance(this,c),this.width="15",this.height="15"}render(){return e.h("svg",{key:"b6c983d65d5b8c130eb663da0d2c5d4c8d05705f",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"auto",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"ebf109e702e128d1c7050b1415c7e766edc400ff",d:"M3 6H5H21",stroke:"auto","stroke-width":"1.5"}),e.h("path",{key:"2d997cc7c1df7439a56bbec8f212a844357dcc4c",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:"b3a2b61266d709cd8848f240f176b19b9ac6e875",d:"M10 11V17",stroke:"auto","stroke-width":"1.5"}),e.h("path",{key:"cab7b7f2be40602587d8a6c4d9fe6547c0e3683a",d:"M14 11V17",stroke:"auto","stroke-width":"1.5"}))}};t.style=i;exports.archive_icon=t;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-92ba1b80.cjs");require("react");require("react-dom");const o=".sc-arrow-icon-h{display:flex}",i=o,t=class{constructor(r){e.registerInstance(this,r),this.width="15",this.height="15"}render(){return e.h("svg",{key:"18db94095d5006dc71fcc94c6018da4af78c3639",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"0783bca41783d3e6d1df5a11319e5a44202e1faf",d:"M5 12H19M12 5L19 12L12 19",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}))}};t.style=i;exports.arrow_icon=t;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-92ba1b80.cjs");require("react");require("react-dom");const i=".sc-bold-icon-h{display:flex}",r=i,t=class{constructor(o){e.registerInstance(this,o),this.width="15",this.height="15"}render(){return e.h("svg",{key:"2196c72c0f5a848ae0cab3b8bdbbfd79f0d98635",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"024f33fa0213d77cd223b81ee6ecfe4f5f36ab18",d:"M6 4V20M9.5 4H15.5C17.7091 4 19.5 5.79086 19.5 8C19.5 10.2091 17.7091 12 15.5 12H9.5H16.5C18.7091 12 20.5 13.7909 20.5 16C20.5 18.2091 18.7091 20 16.5 20H9.5M9.5 4V20M9.5 4H4M9.5 20H4",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}))}};t.style=r;exports.bold_icon=t;
|
package/dist/{button-component_2.entry-a1b8cd03.cjs → button-component_2.entry-d23be43d.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-92ba1b80.cjs");require("react");require("react-dom");const r="button.sc-button-component{display:flex;align-items:center;justify-content:center;gap:0.75rem;height:48px;border:none;border-radius:var(--nylas-border-radius-2x);font-size:1rem;line-height:24px;padding:0 1rem;cursor:pointer;font-family:var(--nylas-font-family);font-weight:600;width:100%}@media screen and (max-width: 768px){button.sc-button-component{width:100%}}button.button-primary.sc-button-component{background:var(--nylas-primary);color:var(--nylas-base-0);height:48px;border:none;border-radius:var(--nylas-border-radius-2x);font-size:1rem;line-height:24px;padding:0 1rem;cursor:pointer}button.button-primary.sc-button-component:hover{background:var(--nylas-base-600)}button.button-primary.sc-button-component:active{background:var(--nylas-base-800)}button.button-primary.sc-button-component:disabled{background:var(--nylas-base-300);cursor:not-allowed}button.button-basic.sc-button-component{border:1px solid var(--nylas-base-300);color:var(--nylas-base-700);background:transparent}button.button-basic.sc-button-component:hover{background:transparent;border-color:var(--nylas-primary)}button.button-basic.sc-button-component:active{background:transparent;border-color:var(--nylas-base-600);border-width:2px}button.button-basic.sc-button-component:disabled{background:transparent;border-color:var(--nylas-base-300);color:var(--nylas-base-300);cursor:not-allowed}button.button-destructive.sc-button-component{border:1px solid var(--nylas-base-300);color:var(--nylas-error);background:transparent}button.button-destructive.sc-button-component:hover{background:transparent;border-color:var(--nylas-error)}button.button-destructive.sc-button-component:active{background:transparent;border-color:var(--nylas-error-pressed);border-width:2px;color:var(--nylas-error-pressed)}button.button-destructive.sc-button-component:disabled{background:transparent;border-color:var(--nylas-base-300);color:var(--nylas-base-300);cursor:not-allowed}button.button-invisible.sc-button-component{background:transparent;color:var(--nylas-base-800);border:none}button.button-invisible.sc-button-component:hover{background:var(--nylas-base-50);color:var(--nylas-primary)}button.button-invisible.sc-button-component:active{background:var(--nylas-base-50);color:var(--nylas-base-850)}button.button-invisible.sc-button-component:disabled{background:transparent;color:var(--nylas-base-300);cursor:not-allowed}",a=r,o=class{constructor(n){t.registerInstance(this,n),this.variant="primary",this.disabled=!1,this.type="button",this.tooltip="",this.isLoading=!1,this.clickHandler=void 0,this.mouseOverHandler=void 0,this.mouseOutHandler=void 0,this.focusHandler=void 0,this.blurHandler=void 0}render(){const n=`button-${this.variant}`+(this.disabled?" disabled":"");return t.h("button",{key:"2a4e992f2030ebb415320236ea0765802f589b6c",class:n,disabled:this.disabled,type:"type",title:this.tooltip,onClick:this.clickHandler,onMouseOver:this.mouseOverHandler,onMouseOut:this.mouseOutHandler,onFocus:this.focusHandler,onBlur:this.blurHandler},!!this.isLoading&&t.h("loading-icon",{slot:"icon"}),t.h("slot",{key:"c7a81cba389b6d0aa8974f7e599fdb84773deeb5"}))}};o.style=a;const s=".wave{display:flex;align-items:center;justify-content:center}.dot{width:4px;height:4px;background-color:var(--dot-color, white);border-radius:50%;margin:0 2px;animation:wave 1.5s infinite ease-in-out}.dot:nth-child(2){animation-delay:0.2s}.dot:nth-child(3){animation-delay:0.4s}@keyframes wave{0%,60%,100%{transform:translateY(0)}30%{transform:translateY(-4px)}}",i=s,e=class{constructor(n){t.registerInstance(this,n),this.width="15",this.height="15"}render(){return t.h("div",{key:"bdc7f9acf0664597d87c4a2cc8917783a13c142e",class:"wave"},t.h("div",{key:"15dcde4af03cb76dc4860c26742f97190f9e0cab",class:"dot"}),t.h("div",{key:"43bb08a9fbc89a1219f6f0b749413f6bca4bd253",class:"dot"}),t.h("div",{key:"16ca9fed347d7d67869ae4bfdbaecdd4c9bd33d9",class:"dot"}))}};e.style=i;exports.button_component=o;exports.loading_icon=e;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as o, h as t } from "./index-
|
|
1
|
+
import { r as o, h as t } from "./index-72501df0.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const r = "button.sc-button-component{display:flex;align-items:center;justify-content:center;gap:0.75rem;height:48px;border:none;border-radius:var(--nylas-border-radius-2x);font-size:1rem;line-height:24px;padding:0 1rem;cursor:pointer;font-family:var(--nylas-font-family);font-weight:600;width:100%}@media screen and (max-width: 768px){button.sc-button-component{width:100%}}button.button-primary.sc-button-component{background:var(--nylas-primary);color:var(--nylas-base-0);height:48px;border:none;border-radius:var(--nylas-border-radius-2x);font-size:1rem;line-height:24px;padding:0 1rem;cursor:pointer}button.button-primary.sc-button-component:hover{background:var(--nylas-base-600)}button.button-primary.sc-button-component:active{background:var(--nylas-base-800)}button.button-primary.sc-button-component:disabled{background:var(--nylas-base-300);cursor:not-allowed}button.button-basic.sc-button-component{border:1px solid var(--nylas-base-300);color:var(--nylas-base-700);background:transparent}button.button-basic.sc-button-component:hover{background:transparent;border-color:var(--nylas-primary)}button.button-basic.sc-button-component:active{background:transparent;border-color:var(--nylas-base-600);border-width:2px}button.button-basic.sc-button-component:disabled{background:transparent;border-color:var(--nylas-base-300);color:var(--nylas-base-300);cursor:not-allowed}button.button-destructive.sc-button-component{border:1px solid var(--nylas-base-300);color:var(--nylas-error);background:transparent}button.button-destructive.sc-button-component:hover{background:transparent;border-color:var(--nylas-error)}button.button-destructive.sc-button-component:active{background:transparent;border-color:var(--nylas-error-pressed);border-width:2px;color:var(--nylas-error-pressed)}button.button-destructive.sc-button-component:disabled{background:transparent;border-color:var(--nylas-base-300);color:var(--nylas-base-300);cursor:not-allowed}button.button-invisible.sc-button-component{background:transparent;color:var(--nylas-base-800);border:none}button.button-invisible.sc-button-component:hover{background:var(--nylas-base-50);color:var(--nylas-primary)}button.button-invisible.sc-button-component:active{background:var(--nylas-base-50);color:var(--nylas-base-850)}button.button-invisible.sc-button-component:disabled{background:transparent;color:var(--nylas-base-300);cursor:not-allowed}", a = r, e = class {
|