@nylas/react 1.0.2-prealpha1 → 1.1.0-canary.4
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_22.entry-077661c3.cjs +1 -0
- package/dist/add-circle-icon_22.entry-f699d91e.js +1733 -0
- package/dist/{archive-icon_7.entry-91aaa1aa.js → archive-icon_7.entry-40b7ef3b.js} +20 -20
- package/dist/{archive-icon_7.entry-84d70dbf.cjs → archive-icon_7.entry-e8630de9.cjs} +1 -1
- package/dist/arrow-icon.entry-58246303.js +15 -0
- package/dist/{arrow-icon.entry-400a08fa.cjs → arrow-icon.entry-ffa53114.cjs} +1 -1
- package/dist/{bold-icon_3.entry-9ad35153.cjs → bold-icon_3.entry-106a4e77.cjs} +1 -1
- package/dist/{bold-icon_3.entry-4b2798a8.js → bold-icon_3.entry-f5f1643d.js} +4 -4
- package/dist/{calendar-cancel-icon.entry-fcb66929.cjs → calendar-cancel-icon.entry-6ae0fd0f.cjs} +1 -1
- package/dist/{calendar-cancel-icon.entry-83ba884a.js → calendar-cancel-icon.entry-75b15b19.js} +4 -4
- package/dist/calendar-check-icon_2.entry-57339318.js +25 -0
- package/dist/calendar-check-icon_2.entry-c57f83f3.cjs +1 -0
- package/dist/{calendar-icon.entry-8f38af4a.js → calendar-icon.entry-2069fec6.js} +2 -2
- package/dist/{calendar-icon.entry-7bae38d7.cjs → calendar-icon.entry-492c2630.cjs} +1 -1
- package/dist/chevron-icon_3.entry-83df50c3.js +117 -0
- package/dist/chevron-icon_3.entry-878ff6df.cjs +1 -0
- package/dist/close-icon.entry-480c199d.js +15 -0
- package/dist/close-icon.entry-8015ca05.cjs +1 -0
- package/dist/{nylas-booked-event-card_10.entry-7e66a648.js → constants-6ee60d6d-4cd16450.js} +1656 -2374
- package/dist/{nylas-booked-event-card_10.entry-ed515326.cjs → constants-6ee60d6d-6c0540db.cjs} +6 -6
- package/dist/document-refresh-icon.entry-06f7972b.cjs +1 -0
- package/dist/document-refresh-icon.entry-09870b14.js +15 -0
- package/dist/elements/index.d.ts +31 -2
- package/dist/{forward-icon_6.entry-b60fcb35.js → forward-icon_6.entry-8bb201eb.js} +127 -127
- package/dist/{forward-icon_6.entry-3345af84.cjs → forward-icon_6.entry-eeecf2a2.cjs} +3 -3
- package/dist/{globe-icon.entry-8325e73e.cjs → globe-icon.entry-a690028c.cjs} +1 -1
- package/dist/{globe-icon.entry-e3fd373f.js → globe-icon.entry-d515cbfa.js} +4 -4
- package/dist/google-logo-icon_3.entry-2164cec1.js +258 -0
- package/dist/google-logo-icon_3.entry-b2b85284.cjs +1 -0
- package/dist/index-2b8437d6.cjs +30 -0
- package/dist/index-db0c5017.js +1824 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.es-2578c6a5-098d48d0.cjs +7 -0
- package/dist/{index-b30d446a-a90f84b2.js → index.es-2578c6a5-71441142.js} +833 -933
- package/dist/info-icon_2.entry-300ef196.js +34 -0
- package/dist/info-icon_2.entry-e286aaa5.cjs +1 -0
- package/dist/{loading-icon.entry-27410cf8.js → loading-icon.entry-6d8adaa4.js} +4 -4
- package/dist/{loading-icon.entry-b2096d2b.cjs → loading-icon.entry-dc40e97d.cjs} +1 -1
- package/dist/{mailbox-store-19f0c6c9-e3e8b4e5.js → mailbox-store-bb21512c-649a374c.js} +17 -16
- package/dist/mailbox-store-bb21512c-fc3c8c03.cjs +1 -0
- package/dist/nylas-additional-participants.entry-4afba192.js +83 -0
- package/dist/nylas-additional-participants.entry-db05e510.cjs +1 -0
- package/dist/nylas-booked-event-card_10.entry-1ebbe0c0.js +784 -0
- package/dist/nylas-booked-event-card_10.entry-6b6fdfae.cjs +1 -0
- package/dist/nylas-form-card.entry-70b20571.cjs +1 -0
- package/dist/nylas-form-card.entry-7bc23695.js +56 -0
- package/dist/nylas-if-state.entry-3829cb3d.js +96 -0
- package/dist/nylas-if-state.entry-ebeffe22.cjs +1 -0
- package/dist/nylas-list-folders.entry-191688f2.cjs +1 -0
- package/dist/{nylas-list-folders.entry-a5437201.js → nylas-list-folders.entry-7347e78d.js} +9 -8
- package/dist/{nylas-list-threads.entry-fd6cda61.js → nylas-list-threads.entry-432a8d8c.js} +5 -4
- package/dist/nylas-list-threads.entry-44658578.cjs +1 -0
- package/dist/nylas-login.entry-5311f0a7.js +75 -0
- package/dist/nylas-login.entry-db17a3d2.cjs +1 -0
- package/dist/{nylas-mailbox-pagination.entry-988214bc.js → nylas-mailbox-pagination.entry-20150fb2.js} +4 -3
- package/dist/nylas-mailbox-pagination.entry-9d3f5baa.cjs +1 -0
- package/dist/nylas-mailbox-toolbar-button.entry-6c0f7299.cjs +1 -0
- package/dist/{nylas-mailbox-toolbar-button.entry-c720e22a.js → nylas-mailbox-toolbar-button.entry-eec426d5.js} +11 -10
- package/dist/nylas-mailbox.entry-b6c758b9.js +136 -0
- package/dist/nylas-mailbox.entry-d41401e0.cjs +1 -0
- package/dist/{nylas-provider.entry-70721009.js → nylas-provider.entry-271cafd2.js} +46 -33
- package/dist/nylas-provider.entry-6173b721.cjs +1 -0
- package/dist/nylas-scheduler-editor.entry-0c75d39e.cjs +7 -0
- package/dist/nylas-scheduler-editor.entry-b51ad4b1.js +2192 -0
- package/dist/nylas-scheduling.entry-081c8825.cjs +1 -0
- package/dist/nylas-scheduling.entry-0a8d1da8.js +237 -0
- package/dist/{nylas-threads-refresh.entry-b7f9e93f.js → nylas-threads-refresh.entry-72dd854e.js} +6 -5
- package/dist/nylas-threads-refresh.entry-c3509e6a.cjs +1 -0
- package/dist/nylas-threads-search.entry-16a59ef6.cjs +1 -0
- package/dist/{nylas-threads-search.entry-95afea9c.js → nylas-threads-search.entry-4750a187.js} +15 -14
- package/dist/nylas-view-thread.entry-27df3349.cjs +1 -0
- package/dist/{nylas-view-thread.entry-165173b1.js → nylas-view-thread.entry-c6adce43.js} +5 -4
- package/dist/people-icon.entry-342be0c8.js +15 -0
- package/dist/people-icon.entry-35252ca9.cjs +1 -0
- package/dist/play-icon_2.entry-0787352c.js +25 -0
- package/dist/play-icon_2.entry-f83fa92a.cjs +1 -0
- package/dist/react.cjs +1 -1
- package/dist/react.js +92 -61
- package/dist/{refresh-icon.entry-e48a338f.js → refresh-icon.entry-8fbabfe7.js} +2 -2
- package/dist/{refresh-icon.entry-601cac89.cjs → refresh-icon.entry-ddbc5446.cjs} +1 -1
- package/dist/{register-component-152c6ad2-a06f58c2.js → register-component-dc659dc3-e43e8fae.js} +2 -2
- package/dist/{register-component-152c6ad2-0df7215b.cjs → register-component-dc659dc3-fb85ee68.cjs} +1 -1
- package/dist/scheduler-config-store-51ee4f42-66f8c2ac.js +14 -0
- package/dist/scheduler-config-store-51ee4f42-d7d9c25d.cjs +1 -0
- package/dist/scheduler-store-72116723-ce4c7a69.cjs +1 -0
- package/dist/{scheduler-store-7d48e682-0c0c3991.js → scheduler-store-72116723-e5f87122.js} +100 -95
- package/dist/time-period-selector.entry-333942a8.js +78 -0
- package/dist/time-period-selector.entry-78d5b3c2.cjs +1 -0
- package/dist/translate-icon.entry-87a62108.js +15 -0
- package/dist/translate-icon.entry-cb19864c.cjs +1 -0
- package/dist/utils-c00bdc3c-89ab163d.js +2111 -0
- package/dist/utils-c00bdc3c-94b9c3b6.cjs +8 -0
- package/dist/warning-icon.entry-50755d91.cjs +1 -0
- package/dist/warning-icon.entry-7a72e24a.js +15 -0
- package/package.json +7 -4
- package/dist/add-circle-icon.entry-2ccb238b.cjs +0 -1
- package/dist/add-circle-icon.entry-35d6aa07.js +0 -15
- package/dist/arrow-icon.entry-8b2e96a6.js +0 -15
- package/dist/calendar-check-icon_3.entry-903e2d82.js +0 -35
- package/dist/calendar-check-icon_3.entry-a16ce05e.cjs +0 -1
- package/dist/chevron-icon.entry-58366662.cjs +0 -1
- package/dist/chevron-icon.entry-5e11cef5.js +0 -15
- package/dist/close-icon_2.entry-011d9cf4.js +0 -25
- package/dist/close-icon_2.entry-83088b9a.cjs +0 -1
- package/dist/document-refresh-icon.entry-071ffd66.cjs +0 -1
- package/dist/document-refresh-icon.entry-9083a2e9.js +0 -15
- package/dist/duration-bddc4a13-05d3e3e2.cjs +0 -1
- package/dist/duration-bddc4a13-179ce826.js +0 -41
- package/dist/index-3b6f5cd5.cjs +0 -30
- package/dist/index-630f4e87.js +0 -1498
- package/dist/index-b30d446a-cbbef925.cjs +0 -7
- package/dist/mailbox-store-19f0c6c9-a0cbfa97.cjs +0 -1
- package/dist/nylas-if-state_3.entry-504be976.cjs +0 -1
- package/dist/nylas-if-state_3.entry-e96d01f1.js +0 -291
- package/dist/nylas-list-folders.entry-866361cc.cjs +0 -1
- package/dist/nylas-list-threads.entry-04989295.cjs +0 -1
- package/dist/nylas-mailbox-pagination.entry-e0bd4aef.cjs +0 -1
- package/dist/nylas-mailbox-toolbar-button.entry-3d772b26.cjs +0 -1
- package/dist/nylas-open-hours-picker.entry-6bdc7c73.js +0 -186
- package/dist/nylas-open-hours-picker.entry-881b6db7.cjs +0 -1
- package/dist/nylas-provider.entry-8d9a844b.cjs +0 -1
- package/dist/nylas-scheduler.entry-7321e18f.js +0 -230
- package/dist/nylas-scheduler.entry-e82977fb.cjs +0 -1
- package/dist/nylas-threads-refresh.entry-477e68e4.cjs +0 -1
- package/dist/nylas-threads-search.entry-c5854641.cjs +0 -1
- package/dist/nylas-view-thread.entry-8b72cbdb.cjs +0 -1
- package/dist/play-icon_2.entry-ed5877e3.js +0 -25
- package/dist/play-icon_2.entry-f23ed6c1.cjs +0 -1
- package/dist/scheduler-store-7d48e682-674705ef.cjs +0 -1
- package/dist/search-icon_3.entry-292138c3.js +0 -101
- package/dist/search-icon_3.entry-8e555357.cjs +0 -1
- package/dist/utils-5074a070-ce33ee6b.js +0 -119
- package/dist/utils-5074a070-d5ba6add.cjs +0 -2
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import { r as s, h as t } from "./index-
|
|
1
|
+
import { r as s, h as t } from "./index-db0c5017.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
|
-
const o = ".sc-archive-icon-h{display:flex}",
|
|
4
|
+
const o = ".sc-archive-icon-h{display:flex}", h = o, a = class {
|
|
5
5
|
constructor(e) {
|
|
6
6
|
s(this, e), this.width = "15", this.height = "15";
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return t("svg", { key: "
|
|
9
|
+
return t("svg", { key: "1b52f19fba89ca7184790e5beb6e0f8b006b2531", width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "d9aad4815f9faabb40b6fe68827bdd483794e0c3", d: "M3 6H5H21", stroke: "auto", "stroke-width": "1.5" }), t("path", { key: "aab9d09e0a7f7ad6ca549d92989b9288865e07d7", 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" }), t("path", { key: "c15b61e469283716f2127e9d0bec9cf5be9c67c1", d: "M10 11V17", stroke: "auto", "stroke-width": "1.5" }), t("path", { key: "a0ce485fc995006baa138da928b84538d65730f6", d: "M14 11V17", stroke: "auto", "stroke-width": "1.5" }));
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
|
-
|
|
13
|
-
const
|
|
12
|
+
a.style = h;
|
|
13
|
+
const c = ".sc-folder-icon-h{display:flex}", i = c, d = class {
|
|
14
14
|
constructor(e) {
|
|
15
15
|
s(this, e), this.width = "15", this.height = "15";
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return t("svg", { key: "
|
|
18
|
+
return t("svg", { key: "23af14d9c2696d6efca8e69a3a3a0166dc701ec7", width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "c425010a33227de1f2a966acc6b96c256c4eadcb", d: "M3 8.2C3 7.07989 3 6.51984 3.21799 6.09202C3.40973 5.71569 3.71569 5.40973 4.09202 5.21799C4.51984 5 5.0799 5 6.2 5H9.67452C10.1637 5 10.4083 5 10.6385 5.05526C10.8425 5.10425 11.0376 5.18506 11.2166 5.29472C11.4184 5.4184 11.5914 5.59135 11.9373 5.93726L12.0627 6.06274C12.4086 6.40865 12.5816 6.5816 12.7834 6.70528C12.9624 6.81494 13.1575 6.89575 13.3615 6.94474C13.5917 7 13.8363 7 14.3255 7H17.8C18.9201 7 19.4802 7 19.908 7.21799C20.2843 7.40973 20.5903 7.71569 20.782 8.09202C21 8.51984 21 9.0799 21 10.2V15.8C21 16.9201 21 17.4802 20.782 17.908C20.5903 18.2843 20.2843 18.5903 19.908 18.782C19.4802 19 18.9201 19 17.8 19H6.2C5.07989 19 4.51984 19 4.09202 18.782C3.71569 18.5903 3.40973 18.2843 3.21799 17.908C3 17.4802 3 16.9201 3 15.8V8.2Z", stroke: "auto", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }));
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
|
-
d.style =
|
|
22
|
-
const r = ".sc-inbox-icon-h{display:flex}", n = r,
|
|
21
|
+
d.style = i;
|
|
22
|
+
const r = ".sc-inbox-icon-h{display:flex}", n = r, w = class {
|
|
23
23
|
constructor(e) {
|
|
24
24
|
s(this, e), this.width = "15", this.height = "15";
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
|
-
return t("svg", { key: "
|
|
27
|
+
return t("svg", { key: "e153fa9b609a6dd4f0ad200a3492beeddb7f8132", width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "05b5b75c74881772330feeb0d1d1213522813905", 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" }), t("path", { key: "d845bf5e1ccbe3e328be20e995c3c7713ff2b0f8", d: "M2 5L12 12.5L22 5", stroke: "auto", "stroke-width": "1.5" }));
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
|
-
|
|
31
|
-
const
|
|
30
|
+
w.style = n;
|
|
31
|
+
const f = ".sc-sent-icon-h{display:flex}", C = f, l = class {
|
|
32
32
|
constructor(e) {
|
|
33
33
|
s(this, e), this.width = "15", this.height = "15";
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
|
-
return t("svg", { key: "
|
|
36
|
+
return t("svg", { key: "b3c088995658cd0e496bbb5add5a4f937b96837d", width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "314fb0dd64e67ad973dac494453e2c1bbbdc9f3d", d: "M21.5 12L3.5 3.5L3.5 20.5L21.5 12Z", stroke: "auto", "stroke-width": "1.5" }), t("path", { key: "f24cbf7ceadf6efa9676bb277fc96ac254d9c668", d: "M3.5 3.5L12 10.5", stroke: "auto", "stroke-width": "1.5" }), t("path", { key: "491979a302745c0ecbce438405cbc392593d47dd", d: "M3.5 20.5L12 13.5", stroke: "auto", "stroke-width": "1.5" }));
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
|
-
|
|
40
|
-
const
|
|
39
|
+
l.style = C;
|
|
40
|
+
const b = ".sc-spam-icon-h{display:flex}", k = b, y = class {
|
|
41
41
|
constructor(e) {
|
|
42
42
|
s(this, e), this.width = "15", this.height = "15";
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
|
-
return t("svg", { key: "
|
|
45
|
+
return t("svg", { key: "a1faf60f8ef46ef4f770dda1da7d3040836faac9", width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "a8a11efc172095bd69c052641ac25a2deeba649d", 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" }), t("path", { key: "2601512a6e12ac6f51145a3907d8d672f71e8cb4", d: "M2 5L12 12.5L22 5", stroke: "auto", "stroke-width": "1.5" }));
|
|
46
46
|
}
|
|
47
47
|
};
|
|
48
48
|
y.style = k;
|
|
@@ -51,7 +51,7 @@ const g = ".sc-star-icon-h{display:flex}", p = g, u = class {
|
|
|
51
51
|
s(this, e), this.width = "15", this.height = "15";
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
|
-
return t("svg", { key: "
|
|
54
|
+
return t("svg", { key: "cde183d1ecede967504e09a1163d49440cb90202", width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "2e6a40a4ac879c3f7cb5fb932c54a65e86aafcf8", 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" }));
|
|
55
55
|
}
|
|
56
56
|
};
|
|
57
57
|
u.style = p;
|
|
@@ -60,15 +60,15 @@ const x = ".sc-trash-icon-h{display:flex}", v = x, L = class {
|
|
|
60
60
|
s(this, e), this.width = "15", this.height = "15";
|
|
61
61
|
}
|
|
62
62
|
render() {
|
|
63
|
-
return t("svg", { key: "
|
|
63
|
+
return t("svg", { key: "112a0f662aa55e21f66fea349837214b84582a4d", width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "8405d564e9ae68e68a8462b7870ca35637512051", d: "M3 6H5H21", stroke: "auto", "stroke-width": "1.5" }), t("path", { key: "a002ff92613dc9fb30232a5588d04a52517461c0", 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" }), t("path", { key: "63a384b8ae5234d01b263a7bc76313f9f95ec794", d: "M10 11V17", stroke: "auto", "stroke-width": "1.5" }), t("path", { key: "58f9193d0888f843aeaa2c9ee9149e2c205f94ba", d: "M14 11V17", stroke: "auto", "stroke-width": "1.5" }));
|
|
64
64
|
}
|
|
65
65
|
};
|
|
66
66
|
L.style = v;
|
|
67
67
|
export {
|
|
68
|
-
|
|
68
|
+
a as archive_icon,
|
|
69
69
|
d as folder_icon,
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
w as inbox_icon,
|
|
71
|
+
l as sent_icon,
|
|
72
72
|
y as spam_icon,
|
|
73
73
|
u as star_icon,
|
|
74
74
|
L as trash_icon
|
|
@@ -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-2b8437d6.cjs");require("react");require("react-dom");const r=".sc-archive-icon-h{display:flex}",n=r,s=class{constructor(e){t.registerInstance(this,e),this.width="15",this.height="15"}render(){return t.h("svg",{key:"1b52f19fba89ca7184790e5beb6e0f8b006b2531",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"auto",xmlns:"http://www.w3.org/2000/svg"},t.h("path",{key:"d9aad4815f9faabb40b6fe68827bdd483794e0c3",d:"M3 6H5H21",stroke:"auto","stroke-width":"1.5"}),t.h("path",{key:"aab9d09e0a7f7ad6ca549d92989b9288865e07d7",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"}),t.h("path",{key:"c15b61e469283716f2127e9d0bec9cf5be9c67c1",d:"M10 11V17",stroke:"auto","stroke-width":"1.5"}),t.h("path",{key:"a0ce485fc995006baa138da928b84538d65730f6",d:"M14 11V17",stroke:"auto","stroke-width":"1.5"}))}};s.style=n;const w=".sc-folder-icon-h{display:flex}",f=w,h=class{constructor(e){t.registerInstance(this,e),this.width="15",this.height="15"}render(){return t.h("svg",{key:"23af14d9c2696d6efca8e69a3a3a0166dc701ec7",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"auto",xmlns:"http://www.w3.org/2000/svg"},t.h("path",{key:"c425010a33227de1f2a966acc6b96c256c4eadcb",d:"M3 8.2C3 7.07989 3 6.51984 3.21799 6.09202C3.40973 5.71569 3.71569 5.40973 4.09202 5.21799C4.51984 5 5.0799 5 6.2 5H9.67452C10.1637 5 10.4083 5 10.6385 5.05526C10.8425 5.10425 11.0376 5.18506 11.2166 5.29472C11.4184 5.4184 11.5914 5.59135 11.9373 5.93726L12.0627 6.06274C12.4086 6.40865 12.5816 6.5816 12.7834 6.70528C12.9624 6.81494 13.1575 6.89575 13.3615 6.94474C13.5917 7 13.8363 7 14.3255 7H17.8C18.9201 7 19.4802 7 19.908 7.21799C20.2843 7.40973 20.5903 7.71569 20.782 8.09202C21 8.51984 21 9.0799 21 10.2V15.8C21 16.9201 21 17.4802 20.782 17.908C20.5903 18.2843 20.2843 18.5903 19.908 18.782C19.4802 19 18.9201 19 17.8 19H6.2C5.07989 19 4.51984 19 4.09202 18.782C3.71569 18.5903 3.40973 18.2843 3.21799 17.908C3 17.4802 3 16.9201 3 15.8V8.2Z",stroke:"auto","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}))}};h.style=f;const C=".sc-inbox-icon-h{display:flex}",l=C,c=class{constructor(e){t.registerInstance(this,e),this.width="15",this.height="15"}render(){return t.h("svg",{key:"e153fa9b609a6dd4f0ad200a3492beeddb7f8132",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"auto",xmlns:"http://www.w3.org/2000/svg"},t.h("path",{key:"05b5b75c74881772330feeb0d1d1213522813905",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"}),t.h("path",{key:"d845bf5e1ccbe3e328be20e995c3c7713ff2b0f8",d:"M2 5L12 12.5L22 5",stroke:"auto","stroke-width":"1.5"}))}};c.style=l;const b=".sc-sent-icon-h{display:flex}",k=b,o=class{constructor(e){t.registerInstance(this,e),this.width="15",this.height="15"}render(){return t.h("svg",{key:"b3c088995658cd0e496bbb5add5a4f937b96837d",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"auto",xmlns:"http://www.w3.org/2000/svg"},t.h("path",{key:"314fb0dd64e67ad973dac494453e2c1bbbdc9f3d",d:"M21.5 12L3.5 3.5L3.5 20.5L21.5 12Z",stroke:"auto","stroke-width":"1.5"}),t.h("path",{key:"f24cbf7ceadf6efa9676bb277fc96ac254d9c668",d:"M3.5 3.5L12 10.5",stroke:"auto","stroke-width":"1.5"}),t.h("path",{key:"491979a302745c0ecbce438405cbc392593d47dd",d:"M3.5 20.5L12 13.5",stroke:"auto","stroke-width":"1.5"}))}};o.style=k;const g=".sc-spam-icon-h{display:flex}",y=g,i=class{constructor(e){t.registerInstance(this,e),this.width="15",this.height="15"}render(){return t.h("svg",{key:"a1faf60f8ef46ef4f770dda1da7d3040836faac9",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"auto",xmlns:"http://www.w3.org/2000/svg"},t.h("path",{key:"a8a11efc172095bd69c052641ac25a2deeba649d",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"}),t.h("path",{key:"2601512a6e12ac6f51145a3907d8d672f71e8cb4",d:"M2 5L12 12.5L22 5",stroke:"auto","stroke-width":"1.5"}))}};i.style=y;const u=".sc-star-icon-h{display:flex}",p=u,a=class{constructor(e){t.registerInstance(this,e),this.width="15",this.height="15"}render(){return t.h("svg",{key:"cde183d1ecede967504e09a1163d49440cb90202",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"auto",xmlns:"http://www.w3.org/2000/svg"},t.h("path",{key:"2e6a40a4ac879c3f7cb5fb932c54a65e86aafcf8",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"}))}};a.style=p;const v=".sc-trash-icon-h{display:flex}",x=v,d=class{constructor(e){t.registerInstance(this,e),this.width="15",this.height="15"}render(){return t.h("svg",{key:"112a0f662aa55e21f66fea349837214b84582a4d",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"auto",xmlns:"http://www.w3.org/2000/svg"},t.h("path",{key:"8405d564e9ae68e68a8462b7870ca35637512051",d:"M3 6H5H21",stroke:"auto","stroke-width":"1.5"}),t.h("path",{key:"a002ff92613dc9fb30232a5588d04a52517461c0",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"}),t.h("path",{key:"63a384b8ae5234d01b263a7bc76313f9f95ec794",d:"M10 11V17",stroke:"auto","stroke-width":"1.5"}),t.h("path",{key:"58f9193d0888f843aeaa2c9ee9149e2c205f94ba",d:"M14 11V17",stroke:"auto","stroke-width":"1.5"}))}};d.style=x;exports.archive_icon=s;exports.folder_icon=h;exports.inbox_icon=c;exports.sent_icon=o;exports.spam_icon=i;exports.star_icon=a;exports.trash_icon=d;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { r as o, h as t } from "./index-db0c5017.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import "react-dom";
|
|
4
|
+
const s = ".sc-arrow-icon-h{display:flex}", e = s, i = class {
|
|
5
|
+
constructor(r) {
|
|
6
|
+
o(this, r), this.width = "15", this.height = "15";
|
|
7
|
+
}
|
|
8
|
+
render() {
|
|
9
|
+
return t("svg", { key: "db4337c46d0f73cb863335d2b838806c9a35370a", width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "658c3e161f9aa5a495402b7809d4d606056ea3d1", d: "M5 12H19M12 5L19 12L12 19", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }));
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
i.style = e;
|
|
13
|
+
export {
|
|
14
|
+
i as arrow_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-2b8437d6.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:"db4337c46d0f73cb863335d2b838806c9a35370a",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"658c3e161f9aa5a495402b7809d4d606056ea3d1",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-2b8437d6.cjs");require("react");require("react-dom");const o=".sc-bold-icon-h{display:flex}",r=o,i=class{constructor(t){e.registerInstance(this,t),this.width="15",this.height="15"}render(){return e.h("svg",{key:"9514a0bbbaf18a7dc73b2bd789efcfc09f6017f6",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"d9997f022df2cdcd7128866d61872717073e8adf",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"}))}};i.style=r;const c=".sc-italic-icon-h{display:flex}",h=c,n=class{constructor(t){e.registerInstance(this,t),this.width="15",this.height="15"}render(){return e.h("svg",{key:"bf8f15ab9e1facc02a4357479916a55e95be4043",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"7363a3d092b14ed99ba96510eae0e77b0718ca52",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m10 20 4-16m2 0h-4m0 16H8"}))}};n.style=h;const d=".sc-underline-icon-h{display:flex}",l=d,s=class{constructor(t){e.registerInstance(this,t),this.width="15",this.height="15"}render(){return e.h("svg",{key:"5e0070c733a6b740a5d0dc27e52bb12a2526479d",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"ed960c7122816d4c3eed1f7d1955c797e31c7531",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"}))}};s.style=l;exports.bold_icon=i;exports.italic_icon=n;exports.underline_icon=s;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as i, h as t } from "./index-
|
|
1
|
+
import { r as i, h as t } from "./index-db0c5017.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const o = ".sc-bold-icon-h{display:flex}", s = o, n = class {
|
|
@@ -6,7 +6,7 @@ const o = ".sc-bold-icon-h{display:flex}", s = o, n = class {
|
|
|
6
6
|
i(this, e), this.width = "15", this.height = "15";
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return t("svg", { key: "
|
|
9
|
+
return t("svg", { key: "9514a0bbbaf18a7dc73b2bd789efcfc09f6017f6", width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "d9997f022df2cdcd7128866d61872717073e8adf", 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" }));
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
n.style = s;
|
|
@@ -15,7 +15,7 @@ const c = ".sc-italic-icon-h{display:flex}", r = c, h = class {
|
|
|
15
15
|
i(this, e), this.width = "15", this.height = "15";
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return t("svg", { key: "
|
|
18
|
+
return t("svg", { key: "bf8f15ab9e1facc02a4357479916a55e95be4043", width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "7363a3d092b14ed99ba96510eae0e77b0718ca52", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "2", d: "m10 20 4-16m2 0h-4m0 16H8" }));
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
21
|
h.style = r;
|
|
@@ -24,7 +24,7 @@ const d = ".sc-underline-icon-h{display:flex}", l = d, a = class {
|
|
|
24
24
|
i(this, e), this.width = "15", this.height = "15";
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
|
-
return t("svg", { key: "
|
|
27
|
+
return t("svg", { key: "5e0070c733a6b740a5d0dc27e52bb12a2526479d", width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "ed960c7122816d4c3eed1f7d1955c797e31c7531", 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" }));
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
30
|
a.style = l;
|
package/dist/{calendar-cancel-icon.entry-fcb66929.cjs → calendar-cancel-icon.entry-6ae0fd0f.cjs}
RENAMED
|
@@ -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-2b8437d6.cjs");require("react");require("react-dom");const n=".sc-calendar-cancel-icon-h{display:flex}",a=n,t=class{constructor(c){e.registerInstance(this,c),this.width="20",this.height="20"}render(){return e.h("svg",{key:"b5b6e78e8ee55d0df5fbfdd66102385e7440f824",width:this.width,height:this.height,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"7d33712b9282fffbc652c0984048fbfa12f2b3cd",d:"M14.5 9a5.5 5.5 0 1 1 0 11 5.5 5.5 0 0 1 0-11Zm-2.476 3.024a.5.5 0 0 0 0 .707l1.769 1.77-1.767 1.766a.5.5 0 1 0 .707.708l1.767-1.767 1.77 1.769a.5.5 0 1 0 .707-.707L15.208 14.5l1.771-1.77a.5.5 0 0 0-.707-.707l-1.771 1.77-1.77-1.77a.5.5 0 0 0-.707 0ZM14.75 0A3.25 3.25 0 0 1 18 3.25l.001 5.773a6.47 6.47 0 0 0-1.5-.71L16.5 5.5h-15v9.25c0 .966.784 1.75 1.75 1.75h5.064a6.47 6.47 0 0 0 .709 1.501L3.25 18A3.25 3.25 0 0 1 0 14.75V3.25A3.25 3.25 0 0 1 3.25 0h11.5Zm0 1.5H3.25A1.75 1.75 0 0 0 1.5 3.25V4h15v-.75a1.75 1.75 0 0 0-1.75-1.75Z",fill:"currentColor"}))}};t.style=a;exports.calendar_cancel_icon=t;
|
package/dist/{calendar-cancel-icon.entry-83ba884a.js → calendar-cancel-icon.entry-75b15b19.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { r as
|
|
1
|
+
import { r as a, h as e } from "./index-db0c5017.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
|
-
const
|
|
4
|
+
const c = ".sc-calendar-cancel-icon-h{display:flex}", n = c, l = class {
|
|
5
5
|
constructor(t) {
|
|
6
|
-
|
|
6
|
+
a(this, t), this.width = "20", this.height = "20";
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return
|
|
9
|
+
return e("svg", { key: "b5b6e78e8ee55d0df5fbfdd66102385e7440f824", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, e("path", { key: "7d33712b9282fffbc652c0984048fbfa12f2b3cd", d: "M14.5 9a5.5 5.5 0 1 1 0 11 5.5 5.5 0 0 1 0-11Zm-2.476 3.024a.5.5 0 0 0 0 .707l1.769 1.77-1.767 1.766a.5.5 0 1 0 .707.708l1.767-1.767 1.77 1.769a.5.5 0 1 0 .707-.707L15.208 14.5l1.771-1.77a.5.5 0 0 0-.707-.707l-1.771 1.77-1.77-1.77a.5.5 0 0 0-.707 0ZM14.75 0A3.25 3.25 0 0 1 18 3.25l.001 5.773a6.47 6.47 0 0 0-1.5-.71L16.5 5.5h-15v9.25c0 .966.784 1.75 1.75 1.75h5.064a6.47 6.47 0 0 0 .709 1.501L3.25 18A3.25 3.25 0 0 1 0 14.75V3.25A3.25 3.25 0 0 1 3.25 0h11.5Zm0 1.5H3.25A1.75 1.75 0 0 0 1.5 3.25V4h15v-.75a1.75 1.75 0 0 0-1.75-1.75Z", fill: "currentColor" }));
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
l.style = n;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { r as t, h as c } from "./index-db0c5017.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import "react-dom";
|
|
4
|
+
const h = ".sc-calendar-check-icon-h{display:flex}", i = h, s = class {
|
|
5
|
+
constructor(e) {
|
|
6
|
+
t(this, e), this.width = "20", this.height = "20";
|
|
7
|
+
}
|
|
8
|
+
render() {
|
|
9
|
+
return c("svg", { key: "c9750be151b809d7b877176d75205b21964b261f", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, c("path", { key: "9cecc1eb1fcc8d81e120f34cab1faa643015beec", fill: "currentColor", d: "M14.75 0C16.5449 0 18 1.45507 18 3.25V9.02182C17.5368 8.72526 17.0335 8.48584 16.5 8.3135V5.5H1.5V14.75C1.5 15.7165 2.2835 16.5 3.25 16.5H8.3135C8.48584 17.0335 8.72526 17.5368 9.02182 18H3.25C1.45507 18 0 16.5449 0 14.75V3.25C0 1.45507 1.45507 0 3.25 0H14.75ZM14.75 1.5H3.25C2.2835 1.5 1.5 2.2835 1.5 3.25V4H16.5V3.25C16.5 2.2835 15.7165 1.5 14.75 1.5ZM20 14.5C20 17.5376 17.5376 20 14.5 20C11.4624 20 9 17.5376 9 14.5C9 11.4624 11.4624 9 14.5 9C17.5376 9 20 11.4624 20 14.5ZM17.8536 12.1464C17.6583 11.9512 17.3417 11.9512 17.1464 12.1464L13.5 15.7929L11.8536 14.1464C11.6583 13.9512 11.3417 13.9512 11.1464 14.1464C10.9512 14.3417 10.9512 14.6583 11.1464 14.8536L13.1464 16.8536C13.3417 17.0488 13.6583 17.0488 13.8536 16.8536L17.8536 12.8536C18.0488 12.6583 18.0488 12.3417 17.8536 12.1464Z" }));
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
s.style = i;
|
|
13
|
+
const r = ".sc-checkmark-circle-icon-h{display:flex}", n = r, a = class {
|
|
14
|
+
constructor(e) {
|
|
15
|
+
t(this, e), this.width = "20", this.height = "20";
|
|
16
|
+
}
|
|
17
|
+
render() {
|
|
18
|
+
return c("svg", { key: "b2c5f3370d39786234f688d7d3af490815609c35", xmlns: "http://www.w3.org/2000/svg", width: this.width, height: this.height, fill: "none", viewBox: "0 0 20 20" }, c("path", { key: "29a8890351fa202ef7e6f02e895a35867906c14e", fill: "currentColor", d: "M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm0 1a7 7 0 1 0 0 14 7 7 0 0 0 0-14Zm3.358 4.646a.5.5 0 0 1 .058.638l-.058.07-4.004 4.004a.5.5 0 0 1-.638.058l-.07-.058-2-2a.5.5 0 0 1 .638-.765l.07.058L9 11.298l3.651-3.652a.5.5 0 0 1 .707 0Z" }));
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
a.style = n;
|
|
22
|
+
export {
|
|
23
|
+
s as calendar_check_icon,
|
|
24
|
+
a as checkmark_circle_icon
|
|
25
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-2b8437d6.cjs");require("react");require("react-dom");const h=".sc-calendar-check-icon-h{display:flex}",r=h,t=class{constructor(c){e.registerInstance(this,c),this.width="20",this.height="20"}render(){return e.h("svg",{key:"c9750be151b809d7b877176d75205b21964b261f",width:this.width,height:this.height,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"9cecc1eb1fcc8d81e120f34cab1faa643015beec",fill:"currentColor",d:"M14.75 0C16.5449 0 18 1.45507 18 3.25V9.02182C17.5368 8.72526 17.0335 8.48584 16.5 8.3135V5.5H1.5V14.75C1.5 15.7165 2.2835 16.5 3.25 16.5H8.3135C8.48584 17.0335 8.72526 17.5368 9.02182 18H3.25C1.45507 18 0 16.5449 0 14.75V3.25C0 1.45507 1.45507 0 3.25 0H14.75ZM14.75 1.5H3.25C2.2835 1.5 1.5 2.2835 1.5 3.25V4H16.5V3.25C16.5 2.2835 15.7165 1.5 14.75 1.5ZM20 14.5C20 17.5376 17.5376 20 14.5 20C11.4624 20 9 17.5376 9 14.5C9 11.4624 11.4624 9 14.5 9C17.5376 9 20 11.4624 20 14.5ZM17.8536 12.1464C17.6583 11.9512 17.3417 11.9512 17.1464 12.1464L13.5 15.7929L11.8536 14.1464C11.6583 13.9512 11.3417 13.9512 11.1464 14.1464C10.9512 14.3417 10.9512 14.6583 11.1464 14.8536L13.1464 16.8536C13.3417 17.0488 13.6583 17.0488 13.8536 16.8536L17.8536 12.8536C18.0488 12.6583 18.0488 12.3417 17.8536 12.1464Z"}))}};t.style=r;const s=".sc-checkmark-circle-icon-h{display:flex}",n=s,i=class{constructor(c){e.registerInstance(this,c),this.width="20",this.height="20"}render(){return e.h("svg",{key:"b2c5f3370d39786234f688d7d3af490815609c35",xmlns:"http://www.w3.org/2000/svg",width:this.width,height:this.height,fill:"none",viewBox:"0 0 20 20"},e.h("path",{key:"29a8890351fa202ef7e6f02e895a35867906c14e",fill:"currentColor",d:"M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm0 1a7 7 0 1 0 0 14 7 7 0 0 0 0-14Zm3.358 4.646a.5.5 0 0 1 .058.638l-.058.07-4.004 4.004a.5.5 0 0 1-.638.058l-.07-.058-2-2a.5.5 0 0 1 .638-.765l.07.058L9 11.298l3.651-3.652a.5.5 0 0 1 .707 0Z"}))}};i.style=n;exports.calendar_check_icon=t;exports.checkmark_circle_icon=i;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as e, h as C } from "./index-
|
|
1
|
+
import { r as e, h as C } from "./index-db0c5017.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const s = ".sc-calendar-icon-h{display:flex}", i = s, r = class {
|
|
@@ -6,7 +6,7 @@ const s = ".sc-calendar-icon-h{display:flex}", i = s, r = class {
|
|
|
6
6
|
e(this, t), this.width = "15", this.height = "15";
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return C("svg", { key: "
|
|
9
|
+
return C("svg", { key: "d545aeb0d6c264d77b9c092cc09b1597b0e537c9", width: this.width, height: this.height, fill: "none", viewBox: "0 0 18 18", xmlns: "http://www.w3.org/2000/svg" }, C("path", { key: "a6ef13af57deb94b25748f5bf8bda6b45bfe18d7", fill: "currentColor", d: "M14.3073 0.692383C15.9641 0.692383 17.3073 2.03553 17.3073 3.69238V14.3078C17.3073 15.9646 15.9641 17.3078 14.3073 17.3078H3.6919C2.03504 17.3078 0.691895 15.9646 0.691895 14.3078V3.69238C0.691895 2.03553 2.03504 0.692383 3.6919 0.692383H14.3073ZM15.9227 5.76931H2.07651V14.3078C2.07651 15.1999 2.79974 15.9232 3.6919 15.9232H14.3073C15.1994 15.9232 15.9227 15.1999 15.9227 14.3078V5.76931ZM5.07651 11.3078C5.71376 11.3078 6.23036 11.8244 6.23036 12.4616C6.23036 13.0989 5.71376 13.6155 5.07651 13.6155C4.43926 13.6155 3.92266 13.0989 3.92266 12.4616C3.92266 11.8244 4.43926 11.3078 5.07651 11.3078ZM8.99959 11.3078C9.63684 11.3078 10.1534 11.8244 10.1534 12.4616C10.1534 13.0989 9.63684 13.6155 8.99959 13.6155C8.36234 13.6155 7.84574 13.0989 7.84574 12.4616C7.84574 11.8244 8.36234 11.3078 8.99959 11.3078ZM5.07651 7.61546C5.71376 7.61546 6.23036 8.13206 6.23036 8.76931C6.23036 9.40656 5.71376 9.92315 5.07651 9.92315C4.43926 9.92315 3.92266 9.40656 3.92266 8.76931C3.92266 8.13206 4.43926 7.61546 5.07651 7.61546ZM8.99959 7.61546C9.63684 7.61546 10.1534 8.13206 10.1534 8.76931C10.1534 9.40656 9.63684 9.92315 8.99959 9.92315C8.36234 9.92315 7.84574 9.40656 7.84574 8.76931C7.84574 8.13206 8.36234 7.61546 8.99959 7.61546ZM12.9227 7.61546C13.5599 7.61546 14.0765 8.13206 14.0765 8.76931C14.0765 9.40656 13.5599 9.92315 12.9227 9.92315C12.2854 9.92315 11.7688 9.40656 11.7688 8.76931C11.7688 8.13206 12.2854 7.61546 12.9227 7.61546ZM14.3073 2.077H3.6919C2.79974 2.077 2.07651 2.80023 2.07651 3.69238V4.38469H15.9227V3.69238C15.9227 2.80023 15.1994 2.077 14.3073 2.077Z" }));
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
r.style = i;
|
|
@@ -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-2b8437d6.cjs");require("react");require("react-dom");const i=".sc-calendar-icon-h{display:flex}",r=i,t=class{constructor(C){e.registerInstance(this,C),this.width="15",this.height="15"}render(){return e.h("svg",{key:"d545aeb0d6c264d77b9c092cc09b1597b0e537c9",width:this.width,height:this.height,fill:"none",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"a6ef13af57deb94b25748f5bf8bda6b45bfe18d7",fill:"currentColor",d:"M14.3073 0.692383C15.9641 0.692383 17.3073 2.03553 17.3073 3.69238V14.3078C17.3073 15.9646 15.9641 17.3078 14.3073 17.3078H3.6919C2.03504 17.3078 0.691895 15.9646 0.691895 14.3078V3.69238C0.691895 2.03553 2.03504 0.692383 3.6919 0.692383H14.3073ZM15.9227 5.76931H2.07651V14.3078C2.07651 15.1999 2.79974 15.9232 3.6919 15.9232H14.3073C15.1994 15.9232 15.9227 15.1999 15.9227 14.3078V5.76931ZM5.07651 11.3078C5.71376 11.3078 6.23036 11.8244 6.23036 12.4616C6.23036 13.0989 5.71376 13.6155 5.07651 13.6155C4.43926 13.6155 3.92266 13.0989 3.92266 12.4616C3.92266 11.8244 4.43926 11.3078 5.07651 11.3078ZM8.99959 11.3078C9.63684 11.3078 10.1534 11.8244 10.1534 12.4616C10.1534 13.0989 9.63684 13.6155 8.99959 13.6155C8.36234 13.6155 7.84574 13.0989 7.84574 12.4616C7.84574 11.8244 8.36234 11.3078 8.99959 11.3078ZM5.07651 7.61546C5.71376 7.61546 6.23036 8.13206 6.23036 8.76931C6.23036 9.40656 5.71376 9.92315 5.07651 9.92315C4.43926 9.92315 3.92266 9.40656 3.92266 8.76931C3.92266 8.13206 4.43926 7.61546 5.07651 7.61546ZM8.99959 7.61546C9.63684 7.61546 10.1534 8.13206 10.1534 8.76931C10.1534 9.40656 9.63684 9.92315 8.99959 9.92315C8.36234 9.92315 7.84574 9.40656 7.84574 8.76931C7.84574 8.13206 8.36234 7.61546 8.99959 7.61546ZM12.9227 7.61546C13.5599 7.61546 14.0765 8.13206 14.0765 8.76931C14.0765 9.40656 13.5599 9.92315 12.9227 9.92315C12.2854 9.92315 11.7688 9.40656 11.7688 8.76931C11.7688 8.13206 12.2854 7.61546 12.9227 7.61546ZM14.3073 2.077H3.6919C2.79974 2.077 2.07651 2.80023 2.07651 3.69238V4.38469H15.9227V3.69238C15.9227 2.80023 15.1994 2.077 14.3073 2.077Z"}))}};t.style=r;exports.calendar_icon=t;
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { r as l, h as i, c as r, g as d } from "./index-db0c5017.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import "react-dom";
|
|
4
|
+
const c = ".sc-chevron-icon-h{display:flex}", p = c, h = class {
|
|
5
|
+
constructor(e) {
|
|
6
|
+
l(this, e), this.width = "24", this.height = "24";
|
|
7
|
+
}
|
|
8
|
+
render() {
|
|
9
|
+
return i("svg", { key: "562280b53f626f3b197f6948393b2391042f5e5c", xmlns: "http://www.w3.org/2000/svg", width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "none" }, i("path", { key: "9836a2e7c9db3e83d7012fa553eae9552a11678a", fill: "currentColor", d: "M15.53 4.22a.75.75 0 0 1 0 1.06L8.81 12l6.72 6.72a.75.75 0 1 1-1.06 1.06l-7.25-7.25a.75.75 0 0 1 0-1.06l7.25-7.25a.75.75 0 0 1 1.06 0Z" }));
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
h.style = p;
|
|
13
|
+
const f = ".sc-search-icon-h{display:flex}", b = f, u = class {
|
|
14
|
+
constructor(e) {
|
|
15
|
+
l(this, e), this.width = "15", this.height = "15";
|
|
16
|
+
}
|
|
17
|
+
render() {
|
|
18
|
+
return i("svg", { key: "40a81a00f79c85303a904e3ef66e7833a240fff2", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, i("path", { key: "dd4c72fa1db6849fd72bfcb3fbde40f115caac11", fill: "currentColor", d: "M5.5 0C8.53757 0 11 2.46243 11 5.5C11 6.83879 10.5217 8.06586 9.72656 9.01962L13.8536 13.1464C14.0488 13.3417 14.0488 13.6583 13.8536 13.8536C13.68 14.0271 13.4106 14.0464 13.2157 13.9114L13.1464 13.8536L9.01962 9.72656C8.06586 10.5217 6.83879 11 5.5 11C2.46243 11 0 8.53757 0 5.5C0 2.46243 2.46243 0 5.5 0ZM5.5 1C3.01472 1 1 3.01472 1 5.5C1 7.98528 3.01472 10 5.5 10C7.98528 10 10 7.98528 10 5.5C10 3.01472 7.98528 1 5.5 1Z" }));
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
u.style = b;
|
|
22
|
+
const y = ':host{display:block;position:relative;--nylas-primary:#2563eb;--nylas-error:#cc4841;--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-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif}@media screen and (max-width: 768px){:host{position:unset}}.dropdown{display:inline-block}.dropbtn{color:var(--nylas-base-800);padding:10px;font-size:1rem;font-family:var(--nylas-font-family);cursor:pointer;display:flex;gap:0.5rem;background:transparent;border:none;border-radius:var(--nylas-border-radius-2x)}.dropbtn.focus{background:transparent}.dropbtn:hover,.dropbtn:active{outline:1px solid var(--nylas-primary)}.dropbtn:active{outline:2px solid var(--nylas-primary)}.dropbtn span.chevron{display:flex;align-self:center}.dropbtn span.open{transform:rotate(90deg)}.dropbtn span.closed{transform:rotate(270deg)}.dropbtn span.selected-option{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:144px;font-size:14px;line-height:20px}@media screen and (max-width: 768px){.dropbtn span.selected-option{max-width:124px;font-size:16px}}.dropdown-content{display:block;margin-top:0.5rem;background-color:var(--nylas-base-0);max-width:306px;width:max-content;max-height:336px;overflow:auto;z-index:1;border-radius:4px;position:absolute;box-shadow:0px 4px 6px -2px rgba(0, 0, 0, 0.05);box-shadow:0px 10px 15px -3px rgba(0, 0, 0, 0.1)}@media screen and (max-width: 768px){.dropdown-content{right:0;width:325px;max-width:unset}}.search-box{border-bottom:1px solid var(--nylas-base-200);padding:10px;position:sticky;top:0;background:var(--nylas-base-0)}.search-box .icon{position:absolute;top:1.25rem;left:1.25rem;color:var(--nylas-base-300)}.dropdown-content ul{padding:0;list-style-type:none;color:var(--nylas-base-900);max-height:336px}.dropdown-content ul li{padding:16px, 12px, 16px, 12px;color:black;padding:12px 16px;text-decoration:none;display:block;font-family:inherit;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px;text-align:left;cursor:pointer}.dropdown-content ul li:hover,.dropdown-content ul li:focus{background-color:var(--nylas-base-100)}.dropdown-content .selected{background-color:#e7e7e7}input[type=text]{width:-webkit-fill-available;padding:inherit;border:1px solid #ccc;border-radius:4px;position:sticky;background:no-repeat scroll 7px 7px;padding-left:30px;background-size:16px 16px}', x = y, w = class {
|
|
23
|
+
constructor(e) {
|
|
24
|
+
l(this, e), this.selectedOptionChanged = r(this, "selectedOptionChanged", 7), this.name = void 0, this.options = [], this.defaultSelectedOption = void 0, this.withSearch = !0, this.pluralizedLabel = "", this.selectedOption = this.defaultSelectedOption || null, this.isOpen = !1, this.searchValue = "", this.filteredOptions = [...this.options], this.ariaActivedescendant = "";
|
|
25
|
+
}
|
|
26
|
+
optionsChangedHandler(e, s) {
|
|
27
|
+
e !== s && (this.filteredOptions = e);
|
|
28
|
+
}
|
|
29
|
+
defaultSelectedOptionChangedHandler(e, s) {
|
|
30
|
+
e.label !== s.label && (this.selectedOption = e);
|
|
31
|
+
}
|
|
32
|
+
componentWillLoad() {
|
|
33
|
+
this.filteredOptions = this.options, !this.selectedOption && this.defaultSelectedOption && (this.selectedOption = this.defaultSelectedOption), !this.selectedOption && this.options.length > 0 && (this.selectedOption = this.options[0]);
|
|
34
|
+
}
|
|
35
|
+
toggleDropdown() {
|
|
36
|
+
this.isOpen = !this.isOpen;
|
|
37
|
+
}
|
|
38
|
+
filterOptions(e) {
|
|
39
|
+
const s = e.target.value;
|
|
40
|
+
this.searchValue = s, this.filteredOptions = this.options.filter((t) => t.label.toLowerCase().includes(s.toLowerCase()));
|
|
41
|
+
}
|
|
42
|
+
selectOption(e) {
|
|
43
|
+
this.selectedOption = e, this.toggleDropdown(), this.selectedOptionChanged.emit({
|
|
44
|
+
value: e.value,
|
|
45
|
+
name: this.name
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
handleSelectButtonKeyDown(e) {
|
|
49
|
+
var s;
|
|
50
|
+
switch (e.key) {
|
|
51
|
+
case "ArrowDown":
|
|
52
|
+
case "Enter":
|
|
53
|
+
e.preventDefault(), this.isOpen || this.toggleDropdown(), (s = this.inputRef) == null || s.focus();
|
|
54
|
+
break;
|
|
55
|
+
case "Escape":
|
|
56
|
+
this.isOpen = !1;
|
|
57
|
+
break;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
handleListboxKeydown(e) {
|
|
61
|
+
var a, o;
|
|
62
|
+
const s = this.filteredOptions, t = s.findIndex((n) => n.value === this.ariaActivedescendant);
|
|
63
|
+
if (e.key === "ArrowDown" || e.key === "Tab" && !e.shiftKey) {
|
|
64
|
+
if (e.preventDefault(), t === s.length - 1) {
|
|
65
|
+
this.ariaActivedescendant = "", (a = this.inputRef) == null || a.focus();
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
68
|
+
const n = t + 1 < s.length ? t + 1 : 0;
|
|
69
|
+
this.ariaActivedescendant = s[n].value, this.focusOption(n);
|
|
70
|
+
} else if (e.key === "ArrowUp" || e.key === "Tab" && e.shiftKey) {
|
|
71
|
+
if (e.preventDefault(), t === 0) {
|
|
72
|
+
this.ariaActivedescendant = "", (o = this.inputRef) == null || o.focus();
|
|
73
|
+
return;
|
|
74
|
+
}
|
|
75
|
+
const n = t - 1 >= 0 ? t - 1 : s.length - 1;
|
|
76
|
+
this.ariaActivedescendant = s[n].value, this.focusOption(n);
|
|
77
|
+
} else
|
|
78
|
+
e.key === "Enter" ? (e.preventDefault(), this.ariaActivedescendant && this.selectOption(s[t])) : e.key === "Escape" && (this.isOpen = !1);
|
|
79
|
+
}
|
|
80
|
+
focusOption(e) {
|
|
81
|
+
var o;
|
|
82
|
+
const s = this.filteredOptions[e];
|
|
83
|
+
if (!s)
|
|
84
|
+
return;
|
|
85
|
+
const t = s.value, a = (o = this.el.shadowRoot) == null ? void 0 : o.getElementById(t);
|
|
86
|
+
a && (a.focus(), a.scrollIntoView({ behavior: "smooth", block: "nearest" }));
|
|
87
|
+
}
|
|
88
|
+
handleComboboxKeyDown(e) {
|
|
89
|
+
e.key === "ArrowDown" || e.key == "Tab" && !e.shiftKey ? (e.preventDefault(), this.ariaActivedescendant = this.filteredOptions[0].value, this.focusOption(0)) : e.key === "ArrowUp" || e.key === "Tab" && e.shiftKey ? (e.preventDefault(), this.ariaActivedescendant = this.filteredOptions[this.filteredOptions.length - 1].value, this.focusOption(this.filteredOptions.length - 1)) : e.key === "Escape" && (this.isOpen = !1);
|
|
90
|
+
}
|
|
91
|
+
handleOutsideClick(e) {
|
|
92
|
+
!e.composedPath().includes(this.el) && this.isOpen && (this.isOpen = !1);
|
|
93
|
+
}
|
|
94
|
+
render() {
|
|
95
|
+
var e, s;
|
|
96
|
+
return i("div", { key: "1dd936b2226461f88f99a0a60011fd1ad3fd0632", class: "dropdown", part: "sd_dropdown" }, i("button", { key: "c0dca685b2ecc5aac29f4921c011db384bb3c7e2", part: "sd_dropdown-button", class: { dropbtn: !0, open: this.isOpen }, onClick: () => this.toggleDropdown(), "aria-haspopup": "listbox", "aria-expanded": this.isOpen ? "true" : "false", "aria-label": this.name, onKeyDown: (t) => this.handleSelectButtonKeyDown(t) }, i("slot", { key: "caac266cfa1215b30faefee3c080a183d7ab1cc5", name: "select-icon", "aria-hidden": "true" }), i("span", { key: "657aec56728e36d5ef45d1a699ec3d035a54199b", class: "selected-option", part: "sd_dropdown-button-selected-label" }, (e = this.selectedOption) != null && e.label ? `${((s = this.selectedOption) == null ? void 0 : s.label) + this.pluralizedLabel}` : ""), i("span", { key: "19adb72063e9fd6c5e65bd83ea5d2dbcd6bf41f6", class: {
|
|
97
|
+
open: this.isOpen,
|
|
98
|
+
closed: !this.isOpen,
|
|
99
|
+
chevron: !0
|
|
100
|
+
}, "aria-hidden": "true" }, i("chevron-icon", { key: "ffffbdcb0d967e597fc609c5e3470f843594d81e", width: "16", height: "16" }))), this.isOpen ? i("div", { class: "dropdown-content", part: "sd_dropdown-content" }, this.withSearch && i("div", { class: { "search-box": !0, open: this.isOpen } }, i("search-icon", { width: "15", height: "15", class: "icon" }), i("input", { type: "text", role: "combobox", placeholder: "Search", value: this.searchValue, ref: (t) => this.inputRef = t, onInput: (t) => this.filterOptions(t), onKeyDown: (t) => this.handleComboboxKeyDown(t) })), i("ul", { tabindex: "-1", role: "listbox", "aria-label": this.name, "aria-activedescendant": this.ariaActivedescendant, onKeyDown: (t) => this.handleListboxKeydown(t) }, this.filteredOptions.map((t) => i("li", { tabindex: "0", key: t.value, id: t.value, onClick: () => this.selectOption(t), role: "option" }, t.labelHTML ? t.labelHTML : t.label)))) : null);
|
|
101
|
+
}
|
|
102
|
+
get el() {
|
|
103
|
+
return d(this);
|
|
104
|
+
}
|
|
105
|
+
static get watchers() {
|
|
106
|
+
return {
|
|
107
|
+
options: ["optionsChangedHandler"],
|
|
108
|
+
defaultSelectedOption: ["defaultSelectedOptionChangedHandler"]
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
};
|
|
112
|
+
w.style = x;
|
|
113
|
+
export {
|
|
114
|
+
h as chevron_icon,
|
|
115
|
+
u as search_icon,
|
|
116
|
+
w as select_dropdown
|
|
117
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index-2b8437d6.cjs");require("react");require("react-dom");const c=".sc-chevron-icon-h{display:flex}",h=c,r=class{constructor(e){n.registerInstance(this,e),this.width="24",this.height="24"}render(){return n.h("svg",{key:"562280b53f626f3b197f6948393b2391042f5e5c",xmlns:"http://www.w3.org/2000/svg",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"none"},n.h("path",{key:"9836a2e7c9db3e83d7012fa553eae9552a11678a",fill:"currentColor",d:"M15.53 4.22a.75.75 0 0 1 0 1.06L8.81 12l6.72 6.72a.75.75 0 1 1-1.06 1.06l-7.25-7.25a.75.75 0 0 1 0-1.06l7.25-7.25a.75.75 0 0 1 1.06 0Z"}))}};r.style=h;const p=".sc-search-icon-h{display:flex}",f=p,l=class{constructor(e){n.registerInstance(this,e),this.width="15",this.height="15"}render(){return n.h("svg",{key:"40a81a00f79c85303a904e3ef66e7833a240fff2",width:this.width,height:this.height,fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.h("path",{key:"dd4c72fa1db6849fd72bfcb3fbde40f115caac11",fill:"currentColor",d:"M5.5 0C8.53757 0 11 2.46243 11 5.5C11 6.83879 10.5217 8.06586 9.72656 9.01962L13.8536 13.1464C14.0488 13.3417 14.0488 13.6583 13.8536 13.8536C13.68 14.0271 13.4106 14.0464 13.2157 13.9114L13.1464 13.8536L9.01962 9.72656C8.06586 10.5217 6.83879 11 5.5 11C2.46243 11 0 8.53757 0 5.5C0 2.46243 2.46243 0 5.5 0ZM5.5 1C3.01472 1 1 3.01472 1 5.5C1 7.98528 3.01472 10 5.5 10C7.98528 10 10 7.98528 10 5.5C10 3.01472 7.98528 1 5.5 1Z"}))}};l.style=f;const b=':host{display:block;position:relative;--nylas-primary:#2563eb;--nylas-error:#cc4841;--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-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif}@media screen and (max-width: 768px){:host{position:unset}}.dropdown{display:inline-block}.dropbtn{color:var(--nylas-base-800);padding:10px;font-size:1rem;font-family:var(--nylas-font-family);cursor:pointer;display:flex;gap:0.5rem;background:transparent;border:none;border-radius:var(--nylas-border-radius-2x)}.dropbtn.focus{background:transparent}.dropbtn:hover,.dropbtn:active{outline:1px solid var(--nylas-primary)}.dropbtn:active{outline:2px solid var(--nylas-primary)}.dropbtn span.chevron{display:flex;align-self:center}.dropbtn span.open{transform:rotate(90deg)}.dropbtn span.closed{transform:rotate(270deg)}.dropbtn span.selected-option{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:144px;font-size:14px;line-height:20px}@media screen and (max-width: 768px){.dropbtn span.selected-option{max-width:124px;font-size:16px}}.dropdown-content{display:block;margin-top:0.5rem;background-color:var(--nylas-base-0);max-width:306px;width:max-content;max-height:336px;overflow:auto;z-index:1;border-radius:4px;position:absolute;box-shadow:0px 4px 6px -2px rgba(0, 0, 0, 0.05);box-shadow:0px 10px 15px -3px rgba(0, 0, 0, 0.1)}@media screen and (max-width: 768px){.dropdown-content{right:0;width:325px;max-width:unset}}.search-box{border-bottom:1px solid var(--nylas-base-200);padding:10px;position:sticky;top:0;background:var(--nylas-base-0)}.search-box .icon{position:absolute;top:1.25rem;left:1.25rem;color:var(--nylas-base-300)}.dropdown-content ul{padding:0;list-style-type:none;color:var(--nylas-base-900);max-height:336px}.dropdown-content ul li{padding:16px, 12px, 16px, 12px;color:black;padding:12px 16px;text-decoration:none;display:block;font-family:inherit;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px;text-align:left;cursor:pointer}.dropdown-content ul li:hover,.dropdown-content ul li:focus{background-color:var(--nylas-base-100)}.dropdown-content .selected{background-color:#e7e7e7}input[type=text]{width:-webkit-fill-available;padding:inherit;border:1px solid #ccc;border-radius:4px;position:sticky;background:no-repeat scroll 7px 7px;padding-left:30px;background-size:16px 16px}',u=b,d=class{constructor(e){n.registerInstance(this,e),this.selectedOptionChanged=n.createEvent(this,"selectedOptionChanged",7),this.name=void 0,this.options=[],this.defaultSelectedOption=void 0,this.withSearch=!0,this.pluralizedLabel="",this.selectedOption=this.defaultSelectedOption||null,this.isOpen=!1,this.searchValue="",this.filteredOptions=[...this.options],this.ariaActivedescendant=""}optionsChangedHandler(e,s){e!==s&&(this.filteredOptions=e)}defaultSelectedOptionChangedHandler(e,s){e.label!==s.label&&(this.selectedOption=e)}componentWillLoad(){this.filteredOptions=this.options,!this.selectedOption&&this.defaultSelectedOption&&(this.selectedOption=this.defaultSelectedOption),!this.selectedOption&&this.options.length>0&&(this.selectedOption=this.options[0])}toggleDropdown(){this.isOpen=!this.isOpen}filterOptions(e){const s=e.target.value;this.searchValue=s,this.filteredOptions=this.options.filter(t=>t.label.toLowerCase().includes(s.toLowerCase()))}selectOption(e){this.selectedOption=e,this.toggleDropdown(),this.selectedOptionChanged.emit({value:e.value,name:this.name})}handleSelectButtonKeyDown(e){var s;switch(e.key){case"ArrowDown":case"Enter":e.preventDefault(),this.isOpen||this.toggleDropdown(),(s=this.inputRef)==null||s.focus();break;case"Escape":this.isOpen=!1;break}}handleListboxKeydown(e){var a,o;const s=this.filteredOptions,t=s.findIndex(i=>i.value===this.ariaActivedescendant);if(e.key==="ArrowDown"||e.key==="Tab"&&!e.shiftKey){if(e.preventDefault(),t===s.length-1){this.ariaActivedescendant="",(a=this.inputRef)==null||a.focus();return}const i=t+1<s.length?t+1:0;this.ariaActivedescendant=s[i].value,this.focusOption(i)}else if(e.key==="ArrowUp"||e.key==="Tab"&&e.shiftKey){if(e.preventDefault(),t===0){this.ariaActivedescendant="",(o=this.inputRef)==null||o.focus();return}const i=t-1>=0?t-1:s.length-1;this.ariaActivedescendant=s[i].value,this.focusOption(i)}else e.key==="Enter"?(e.preventDefault(),this.ariaActivedescendant&&this.selectOption(s[t])):e.key==="Escape"&&(this.isOpen=!1)}focusOption(e){var o;const s=this.filteredOptions[e];if(!s)return;const t=s.value,a=(o=this.el.shadowRoot)==null?void 0:o.getElementById(t);a&&(a.focus(),a.scrollIntoView({behavior:"smooth",block:"nearest"}))}handleComboboxKeyDown(e){e.key==="ArrowDown"||e.key=="Tab"&&!e.shiftKey?(e.preventDefault(),this.ariaActivedescendant=this.filteredOptions[0].value,this.focusOption(0)):e.key==="ArrowUp"||e.key==="Tab"&&e.shiftKey?(e.preventDefault(),this.ariaActivedescendant=this.filteredOptions[this.filteredOptions.length-1].value,this.focusOption(this.filteredOptions.length-1)):e.key==="Escape"&&(this.isOpen=!1)}handleOutsideClick(e){!e.composedPath().includes(this.el)&&this.isOpen&&(this.isOpen=!1)}render(){var e,s;return n.h("div",{key:"1dd936b2226461f88f99a0a60011fd1ad3fd0632",class:"dropdown",part:"sd_dropdown"},n.h("button",{key:"c0dca685b2ecc5aac29f4921c011db384bb3c7e2",part:"sd_dropdown-button",class:{dropbtn:!0,open:this.isOpen},onClick:()=>this.toggleDropdown(),"aria-haspopup":"listbox","aria-expanded":this.isOpen?"true":"false","aria-label":this.name,onKeyDown:t=>this.handleSelectButtonKeyDown(t)},n.h("slot",{key:"caac266cfa1215b30faefee3c080a183d7ab1cc5",name:"select-icon","aria-hidden":"true"}),n.h("span",{key:"657aec56728e36d5ef45d1a699ec3d035a54199b",class:"selected-option",part:"sd_dropdown-button-selected-label"},(e=this.selectedOption)!=null&&e.label?`${((s=this.selectedOption)==null?void 0:s.label)+this.pluralizedLabel}`:""),n.h("span",{key:"19adb72063e9fd6c5e65bd83ea5d2dbcd6bf41f6",class:{open:this.isOpen,closed:!this.isOpen,chevron:!0},"aria-hidden":"true"},n.h("chevron-icon",{key:"ffffbdcb0d967e597fc609c5e3470f843594d81e",width:"16",height:"16"}))),this.isOpen?n.h("div",{class:"dropdown-content",part:"sd_dropdown-content"},this.withSearch&&n.h("div",{class:{"search-box":!0,open:this.isOpen}},n.h("search-icon",{width:"15",height:"15",class:"icon"}),n.h("input",{type:"text",role:"combobox",placeholder:"Search",value:this.searchValue,ref:t=>this.inputRef=t,onInput:t=>this.filterOptions(t),onKeyDown:t=>this.handleComboboxKeyDown(t)})),n.h("ul",{tabindex:"-1",role:"listbox","aria-label":this.name,"aria-activedescendant":this.ariaActivedescendant,onKeyDown:t=>this.handleListboxKeydown(t)},this.filteredOptions.map(t=>n.h("li",{tabindex:"0",key:t.value,id:t.value,onClick:()=>this.selectOption(t),role:"option"},t.labelHTML?t.labelHTML:t.label)))):null)}get el(){return n.getElement(this)}static get watchers(){return{options:["optionsChangedHandler"],defaultSelectedOption:["defaultSelectedOptionChangedHandler"]}}};d.style=u;exports.chevron_icon=r;exports.search_icon=l;exports.select_dropdown=d;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { r as a, h as e } from "./index-db0c5017.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import "react-dom";
|
|
4
|
+
const t = ".sc-close-icon-h{display:flex}", s = t, f = class {
|
|
5
|
+
constructor(c) {
|
|
6
|
+
a(this, c), this.width = "16", this.height = "16";
|
|
7
|
+
}
|
|
8
|
+
render() {
|
|
9
|
+
return e("svg", { key: "fc5bac9399bb646bdd95f084a7ba6475b2d1a69f", width: "21", height: "21", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, e("g", { key: "9b5ac5fac2583beb647755639af45fbe87921913", "clip-path": "url(#a)" }, e("path", { key: "96b4b222f11978135af32b3198d96e0cba77bfcd", d: "M5.73 4.574a.75.75 0 1 0-1.061 1.06l4.419 4.42-4.42 4.42a.75.75 0 1 0 1.061 1.06l4.42-4.42 4.419 4.42a.75.75 0 0 0 1.06-1.06l-4.419-4.42 4.42-4.42a.75.75 0 1 0-1.061-1.06l-4.42 4.42-4.419-4.42Z", fill: "currentColor" })), e("defs", { key: "85becca58c32c86afb041ec461e73c59945d3e14" }, e("clipPath", { key: "c0e241158efdf7d70b42c1318c99ce4a2e019aff", id: "a" }, e("path", { key: "35e32ec342dcc97c22016b9feeac37209f2ce683", fill: "#fff", transform: "translate(.148 .054)", d: "M0 0h20v20H0z" }))));
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
f.style = s;
|
|
13
|
+
export {
|
|
14
|
+
f as close_icon
|
|
15
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-2b8437d6.cjs");require("react");require("react-dom");const a=".sc-close-icon-h{display:flex}",s=a,c=class{constructor(t){e.registerInstance(this,t),this.width="16",this.height="16"}render(){return e.h("svg",{key:"fc5bac9399bb646bdd95f084a7ba6475b2d1a69f",width:"21",height:"21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.h("g",{key:"9b5ac5fac2583beb647755639af45fbe87921913","clip-path":"url(#a)"},e.h("path",{key:"96b4b222f11978135af32b3198d96e0cba77bfcd",d:"M5.73 4.574a.75.75 0 1 0-1.061 1.06l4.419 4.42-4.42 4.42a.75.75 0 1 0 1.061 1.06l4.42-4.42 4.419 4.42a.75.75 0 0 0 1.06-1.06l-4.419-4.42 4.42-4.42a.75.75 0 1 0-1.061-1.06l-4.42 4.42-4.419-4.42Z",fill:"currentColor"})),e.h("defs",{key:"85becca58c32c86afb041ec461e73c59945d3e14"},e.h("clipPath",{key:"c0e241158efdf7d70b42c1318c99ce4a2e019aff",id:"a"},e.h("path",{key:"35e32ec342dcc97c22016b9feeac37209f2ce683",fill:"#fff",transform:"translate(.148 .054)",d:"M0 0h20v20H0z"}))))}};c.style=s;exports.close_icon=c;
|