@nylas/react 1.3.1 → 1.3.3
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-606d3096.cjs → add-circle-icon.entry-89060fe6.cjs} +1 -1
- package/dist/{add-circle-icon.entry-d8358e3f.js → add-circle-icon.entry-8b883ae4.js} +1 -1
- package/dist/{archive-icon.entry-8c6d31f2.js → archive-icon.entry-62c7e06e.js} +1 -1
- package/dist/{archive-icon.entry-e8ce8c7d.cjs → archive-icon.entry-e9038aeb.cjs} +1 -1
- package/dist/{arrow-icon.entry-d950ddce.js → arrow-icon.entry-7c38f4ad.js} +1 -1
- package/dist/{arrow-icon.entry-13d23d01.cjs → arrow-icon.entry-e8dbe365.cjs} +1 -1
- package/dist/{bold-icon.entry-5382fea2.js → bold-icon.entry-4ce7cfee.js} +1 -1
- package/dist/{bold-icon.entry-12072568.cjs → bold-icon.entry-665901ce.cjs} +1 -1
- package/dist/{button-component_2.entry-4aa63891.js → button-component_2.entry-89ea010b.js} +1 -1
- package/dist/{button-component_2.entry-d34ed360.cjs → button-component_2.entry-ca263036.cjs} +1 -1
- package/dist/{calendar-agenda-fill-icon_54.entry-50c9ed7b.js → calendar-agenda-fill-icon_53.entry-347662f3.js} +745 -740
- package/dist/calendar-agenda-fill-icon_53.entry-da0fac2a.cjs +9 -0
- package/dist/{calendar-cancel-icon.entry-b13aa245.cjs → calendar-cancel-icon.entry-6b7836c9.cjs} +1 -1
- package/dist/{calendar-cancel-icon.entry-64ea7038.js → calendar-cancel-icon.entry-c1d33f90.js} +1 -1
- package/dist/{calendar-check-icon_2.entry-935310fc.js → calendar-check-icon_2.entry-222e3c0b.js} +1 -1
- package/dist/{calendar-check-icon_2.entry-9cbe60a8.cjs → calendar-check-icon_2.entry-67024cd6.cjs} +1 -1
- package/dist/{calendar-icon.entry-0c560a35.cjs → calendar-icon.entry-380048b0.cjs} +1 -1
- package/dist/{calendar-icon.entry-2448eea2.js → calendar-icon.entry-c08a8f21.js} +1 -1
- package/dist/checkbox-component_3.entry-52b27cb9.cjs +1 -0
- package/dist/checkbox-component_3.entry-dab3c3c8.js +153 -0
- package/dist/{chevron-icon_3.entry-da1751d2.cjs → chevron-icon_3.entry-17bb7d23.cjs} +1 -1
- package/dist/{chevron-icon_3.entry-1f72ef71.js → chevron-icon_3.entry-7be40d99.js} +11 -11
- package/dist/{clock-icon_4.entry-b87aaaa9.cjs → clock-icon_4.entry-875db481.cjs} +1 -1
- package/dist/{clock-icon_4.entry-4502c9f0.js → clock-icon_4.entry-89e0dd55.js} +1 -1
- package/dist/{close-icon.entry-e96749ed.js → close-icon.entry-4b2a2974.js} +1 -1
- package/dist/{close-icon.entry-92e93293.cjs → close-icon.entry-e52d8440.cjs} +1 -1
- package/dist/{constants-24eca8c9-922dc05c.js → constants-54af2051-767e8462.js} +12 -0
- package/dist/{constants-24eca8c9-d0d9f3ec.cjs → constants-54af2051-a3596673.cjs} +1 -1
- package/dist/{copy-icon.entry-7c958d7c.js → copy-icon.entry-eecc7301.js} +1 -1
- package/dist/{copy-icon.entry-19bb7d2f.cjs → copy-icon.entry-f3370220.cjs} +1 -1
- package/dist/{delete-icon.entry-41c7d463.cjs → delete-icon.entry-1e6c99ee.cjs} +1 -1
- package/dist/{delete-icon.entry-59c9ca04.js → delete-icon.entry-4b341b41.js} +1 -1
- package/dist/{document-refresh-icon.entry-afc75ddb.cjs → document-refresh-icon.entry-612c5d4f.cjs} +1 -1
- package/dist/{document-refresh-icon.entry-c32cda4f.js → document-refresh-icon.entry-653dc173.js} +1 -1
- package/dist/elements/index.d.ts +1 -0
- package/dist/{feedbackSync-b4015b72-d343d411.cjs → feedbackSync-e5cb0245-013ce5ec.cjs} +1 -1
- package/dist/{feedbackSync-b4015b72-0785986b.js → feedbackSync-e5cb0245-f8e4575c.js} +1 -1
- package/dist/{folder-icon.entry-61ccaddd.cjs → folder-icon.entry-5bc752d4.cjs} +1 -1
- package/dist/{folder-icon.entry-5dcf707b.js → folder-icon.entry-8d91bc75.js} +1 -1
- package/dist/{forward-icon.entry-5a156d37.js → forward-icon.entry-1d14a631.js} +1 -1
- package/dist/{forward-icon.entry-3d598cb4.cjs → forward-icon.entry-fe0f2a3a.cjs} +1 -1
- package/dist/{globe-icon.entry-a88502ce.cjs → globe-icon.entry-13f5dd98.cjs} +1 -1
- package/dist/{globe-icon.entry-99e8bebf.js → globe-icon.entry-c2ddabb6.js} +1 -1
- package/dist/google-logo-icon_4.entry-59423b91.cjs +1 -0
- package/dist/{google-logo-icon_4.entry-531021bd.js → google-logo-icon_4.entry-b58af39b.js} +176 -168
- package/dist/{inbox-icon.entry-6eadce9b.cjs → inbox-icon.entry-2e8c1cf5.cjs} +1 -1
- package/dist/{inbox-icon.entry-b2a2f48e.js → inbox-icon.entry-5a452db1.js} +1 -1
- package/dist/{index-7dbf0ae7.cjs → index-5611d3d5.cjs} +23 -23
- package/dist/{index-13a43508.js → index-589f8eee.js} +650 -645
- package/dist/{index.es-aa323594-17c2a3f6.js → index.es-e9d66a9b-a07a895d.js} +214 -211
- package/dist/{index.es-aa323594-84331fa3.cjs → index.es-e9d66a9b-fa36c085.cjs} +5 -5
- package/dist/{info-icon_2.entry-c6e650c4.js → info-icon_2.entry-14cad09c.js} +5 -5
- package/dist/{info-icon_2.entry-f53d81e5.cjs → info-icon_2.entry-fce3a1ce.cjs} +1 -1
- package/dist/{input-color-picker.entry-cd398537.js → input-color-picker.entry-2079f40e.js} +1 -1
- package/dist/{input-color-picker.entry-16fa8456.cjs → input-color-picker.entry-785e80b1.cjs} +1 -1
- package/dist/{input-component.entry-74b63249.cjs → input-component.entry-0edf62cf.cjs} +1 -1
- package/dist/{input-component.entry-b471f023.js → input-component.entry-cee3fa04.js} +1 -1
- package/dist/{input-dropdown.entry-32b4b8be.cjs → input-dropdown.entry-63cf88c1.cjs} +1 -1
- package/dist/{input-dropdown.entry-14e1f6cb.js → input-dropdown.entry-a1bac5bf.js} +1 -1
- package/dist/{italic-icon.entry-8a1a7568.js → italic-icon.entry-85a90ace.js} +1 -1
- package/dist/{italic-icon.entry-c9ae0186.cjs → italic-icon.entry-9ced8045.cjs} +1 -1
- package/dist/{multi-select-dropdown.entry-bc4901aa.js → multi-select-dropdown.entry-dd699cdf.js} +36 -19
- package/dist/multi-select-dropdown.entry-f6ac5ae9.cjs +1 -0
- package/dist/{nylas-booked-event-card_12.entry-fbdb2f3d.js → nylas-booked-event-card_12.entry-56068565.js} +270 -265
- package/dist/nylas-booked-event-card_12.entry-89bcf205.cjs +1 -0
- package/dist/{nylas-form-card.entry-7e9a0cf1.cjs → nylas-form-card.entry-77485e1d.cjs} +1 -1
- package/dist/{nylas-form-card.entry-aa1d5aca.js → nylas-form-card.entry-df1c70ff.js} +11 -11
- package/dist/{nylas-if-state.entry-96914d61.cjs → nylas-if-state.entry-0271bf92.cjs} +1 -1
- package/dist/{nylas-if-state.entry-5e30f6b3.js → nylas-if-state.entry-74c342ef.js} +2 -2
- package/dist/{nylas-login.entry-e26689b0.cjs → nylas-login.entry-2483aa51.cjs} +1 -1
- package/dist/{nylas-login.entry-e52648da.js → nylas-login.entry-6a308ac9.js} +3 -3
- package/dist/{nylas-provider.entry-ac669351.js → nylas-provider.entry-5cbbd312.js} +5 -5
- package/dist/{nylas-provider.entry-9d43f4f0.cjs → nylas-provider.entry-df790de3.cjs} +1 -1
- package/dist/{nylas-scheduler-editor.entry-9655ce2e.js → nylas-scheduler-editor.entry-b6793c45.js} +3 -3
- package/dist/{nylas-scheduler-editor.entry-0f1370d9.cjs → nylas-scheduler-editor.entry-c23fd4d8.cjs} +2 -2
- package/dist/{nylas-scheduling.entry-ab10f8a4.cjs → nylas-scheduling.entry-2a9aed18.cjs} +1 -1
- package/dist/{nylas-scheduling.entry-14d4cd69.js → nylas-scheduling.entry-fea8dca0.js} +8 -8
- package/dist/nylas-time-window-picker_2.entry-32f657a2.cjs +1 -0
- package/dist/nylas-time-window-picker_2.entry-fc5aa4be.js +336 -0
- package/dist/{person-icon.entry-a45918af.cjs → person-icon.entry-c853f6b5.cjs} +1 -1
- package/dist/{person-icon.entry-40b5a8c5.js → person-icon.entry-fae1d972.js} +1 -1
- package/dist/{play-icon.entry-b2315f8c.js → play-icon.entry-6ccd7cb6.js} +1 -1
- package/dist/{play-icon.entry-c5757946.cjs → play-icon.entry-b07a4311.cjs} +1 -1
- package/dist/react.cjs +1 -1
- package/dist/react.js +73 -72
- package/dist/{refresh-icon.entry-b9afd192.cjs → refresh-icon.entry-a218275f.cjs} +1 -1
- package/dist/{refresh-icon.entry-37d038f8.js → refresh-icon.entry-b717e4fe.js} +1 -1
- package/dist/{register-component-555477e7-42247763.js → register-component-5d7bcc15-43981253.js} +12 -12
- package/dist/{register-component-555477e7-ecafba1c.cjs → register-component-5d7bcc15-bb9405d1.cjs} +1 -1
- package/dist/{reply-all-icon.entry-07a6783a.cjs → reply-all-icon.entry-cd2bafd1.cjs} +1 -1
- package/dist/{reply-all-icon.entry-89fd0e10.js → reply-all-icon.entry-f20c4a10.js} +1 -1
- package/dist/{reply-icon.entry-8cddb112.cjs → reply-icon.entry-30b5222b.cjs} +1 -1
- package/dist/{reply-icon.entry-a53a6fc4.js → reply-icon.entry-abfbde42.js} +1 -1
- package/dist/{scheduler-config-store-ed4a8dfd-656579e3.js → scheduler-config-store-ed4a8dfd-2619e757.js} +1 -1
- package/dist/{scheduler-config-store-ed4a8dfd-733c6442.cjs → scheduler-config-store-ed4a8dfd-96520080.cjs} +1 -1
- package/dist/{scheduler-store-c37aa5ca-0484b074.cjs → scheduler-store-3acf4d70-53282ac4.cjs} +1 -1
- package/dist/{scheduler-store-c37aa5ca-c9752707.js → scheduler-store-3acf4d70-68aacbea.js} +2 -2
- package/dist/{sent-icon.entry-b740a32d.cjs → sent-icon.entry-2b183210.cjs} +1 -1
- package/dist/{sent-icon.entry-6ac749b3.js → sent-icon.entry-77bb678e.js} +1 -1
- package/dist/{spam-icon.entry-872ff1e4.js → spam-icon.entry-42f9c9e7.js} +1 -1
- package/dist/{spam-icon.entry-78cec025.cjs → spam-icon.entry-cbeaca0c.cjs} +1 -1
- package/dist/{star-icon.entry-57246dc1.js → star-icon.entry-6fc95071.js} +1 -1
- package/dist/{star-icon.entry-ab9ad7df.cjs → star-icon.entry-a6e85c82.cjs} +1 -1
- package/dist/{stop-icon.entry-5054fa33.js → stop-icon.entry-8b041eda.js} +1 -1
- package/dist/{stop-icon.entry-f79dce49.cjs → stop-icon.entry-eee61c96.cjs} +1 -1
- package/dist/{textarea-component.entry-2967dd82.cjs → textarea-component.entry-cbe424d4.cjs} +1 -1
- package/dist/{textarea-component.entry-15c9a676.js → textarea-component.entry-dc92a53f.js} +2 -2
- package/dist/{time-period-selector.entry-9226fd08.js → time-period-selector.entry-45ca7b1a.js} +56 -37
- package/dist/time-period-selector.entry-60718809.cjs +1 -0
- package/dist/{translate-icon.entry-52939fa4.js → translate-icon.entry-447f1502.js} +1 -1
- package/dist/{translate-icon.entry-f4dcc479.cjs → translate-icon.entry-7307d3f1.cjs} +1 -1
- package/dist/{trash-fill-icon.entry-7f4ddaf5.cjs → trash-fill-icon.entry-1138f73e.cjs} +1 -1
- package/dist/{trash-fill-icon.entry-b9ab3cfc.js → trash-fill-icon.entry-7d11144b.js} +1 -1
- package/dist/{underline-icon.entry-c8142970.js → underline-icon.entry-6acfca57.js} +1 -1
- package/dist/{underline-icon.entry-e9959c5c.cjs → underline-icon.entry-c636ca0e.cjs} +1 -1
- package/dist/{warning-icon.entry-98c0d003.cjs → warning-icon.entry-03615141.cjs} +1 -1
- package/dist/{warning-icon.entry-00426457.js → warning-icon.entry-290eb052.js} +1 -1
- package/package.json +3 -3
- package/dist/calendar-agenda-fill-icon_54.entry-33d08f1a.cjs +0 -9
- package/dist/checkbox-component_2.entry-1e3afb3a.cjs +0 -1
- package/dist/checkbox-component_2.entry-ec5e75fb.js +0 -79
- package/dist/google-logo-icon_4.entry-9a7790d2.cjs +0 -1
- package/dist/multi-select-dropdown.entry-58b860a0.cjs +0 -1
- package/dist/nylas-booked-event-card_12.entry-f64eecaa.cjs +0 -1
- package/dist/nylas-time-window-picker.entry-a2f71121.js +0 -316
- package/dist/nylas-time-window-picker.entry-dfbd975e.cjs +0 -1
- package/dist/time-period-selector.entry-a53c94c2.cjs +0 -1
|
@@ -0,0 +1,336 @@
|
|
|
1
|
+
import { b as oe, Q as Y, r as q, c as U, R as Z, S as B, T as G, U as Q, h as f, H as le, g as he } from "./index-589f8eee.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import "react-dom";
|
|
4
|
+
var J = { exports: {} };
|
|
5
|
+
(function(e, t) {
|
|
6
|
+
(function(n, i) {
|
|
7
|
+
e.exports = i();
|
|
8
|
+
})(oe, function() {
|
|
9
|
+
var n = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, i = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, a = /\d\d/, o = /\d\d?/, x = /\d*[^-_:/,()\s\d]+/, v = {}, V = function(s) {
|
|
10
|
+
return (s = +s) + (s > 68 ? 1900 : 2e3);
|
|
11
|
+
}, d = function(s) {
|
|
12
|
+
return function(r) {
|
|
13
|
+
this[s] = +r;
|
|
14
|
+
};
|
|
15
|
+
}, X = [/[+-]\d\d:?(\d\d)?|Z/, function(s) {
|
|
16
|
+
(this.zone || (this.zone = {})).offset = function(r) {
|
|
17
|
+
if (!r || r === "Z")
|
|
18
|
+
return 0;
|
|
19
|
+
var l = r.match(/([+-]|\d\d)/g), h = 60 * l[1] + (+l[2] || 0);
|
|
20
|
+
return h === 0 ? 0 : l[0] === "+" ? -h : h;
|
|
21
|
+
}(s);
|
|
22
|
+
}], F = function(s) {
|
|
23
|
+
var r = v[s];
|
|
24
|
+
return r && (r.indexOf ? r : r.s.concat(r.f));
|
|
25
|
+
}, j = function(s, r) {
|
|
26
|
+
var l, h = v.meridiem;
|
|
27
|
+
if (h) {
|
|
28
|
+
for (var p = 1; p <= 24; p += 1)
|
|
29
|
+
if (s.indexOf(h(p, 0, r)) > -1) {
|
|
30
|
+
l = p > 12;
|
|
31
|
+
break;
|
|
32
|
+
}
|
|
33
|
+
} else
|
|
34
|
+
l = s === (r ? "pm" : "PM");
|
|
35
|
+
return l;
|
|
36
|
+
}, ee = { A: [x, function(s) {
|
|
37
|
+
this.afternoon = j(s, !1);
|
|
38
|
+
}], a: [x, function(s) {
|
|
39
|
+
this.afternoon = j(s, !0);
|
|
40
|
+
}], S: [/\d/, function(s) {
|
|
41
|
+
this.milliseconds = 100 * +s;
|
|
42
|
+
}], SS: [a, function(s) {
|
|
43
|
+
this.milliseconds = 10 * +s;
|
|
44
|
+
}], SSS: [/\d{3}/, function(s) {
|
|
45
|
+
this.milliseconds = +s;
|
|
46
|
+
}], s: [o, d("seconds")], ss: [o, d("seconds")], m: [o, d("minutes")], mm: [o, d("minutes")], H: [o, d("hours")], h: [o, d("hours")], HH: [o, d("hours")], hh: [o, d("hours")], D: [o, d("day")], DD: [a, d("day")], Do: [x, function(s) {
|
|
47
|
+
var r = v.ordinal, l = s.match(/\d+/);
|
|
48
|
+
if (this.day = l[0], r)
|
|
49
|
+
for (var h = 1; h <= 31; h += 1)
|
|
50
|
+
r(h).replace(/\[|\]/g, "") === s && (this.day = h);
|
|
51
|
+
}], M: [o, d("month")], MM: [a, d("month")], MMM: [x, function(s) {
|
|
52
|
+
var r = F("months"), l = (F("monthsShort") || r.map(function(h) {
|
|
53
|
+
return h.slice(0, 3);
|
|
54
|
+
})).indexOf(s) + 1;
|
|
55
|
+
if (l < 1)
|
|
56
|
+
throw new Error();
|
|
57
|
+
this.month = l % 12 || l;
|
|
58
|
+
}], MMMM: [x, function(s) {
|
|
59
|
+
var r = F("months").indexOf(s) + 1;
|
|
60
|
+
if (r < 1)
|
|
61
|
+
throw new Error();
|
|
62
|
+
this.month = r % 12 || r;
|
|
63
|
+
}], Y: [/[+-]?\d+/, d("year")], YY: [a, function(s) {
|
|
64
|
+
this.year = V(s);
|
|
65
|
+
}], YYYY: [/\d{4}/, d("year")], Z: X, ZZ: X };
|
|
66
|
+
function te(s) {
|
|
67
|
+
var r, l;
|
|
68
|
+
r = s, l = v && v.formats;
|
|
69
|
+
for (var h = (s = r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(I, w, u) {
|
|
70
|
+
var c = u && u.toUpperCase();
|
|
71
|
+
return w || l[u] || n[u] || l[c].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(k, T, C) {
|
|
72
|
+
return T || C.slice(1);
|
|
73
|
+
});
|
|
74
|
+
})).match(i), p = h.length, b = 0; b < p; b += 1) {
|
|
75
|
+
var L = h[b], S = ee[L], y = S && S[0], g = S && S[1];
|
|
76
|
+
h[b] = g ? { regex: y, parser: g } : L.replace(/^\[|\]$/g, "");
|
|
77
|
+
}
|
|
78
|
+
return function(I) {
|
|
79
|
+
for (var w = {}, u = 0, c = 0; u < p; u += 1) {
|
|
80
|
+
var k = h[u];
|
|
81
|
+
if (typeof k == "string")
|
|
82
|
+
c += k.length;
|
|
83
|
+
else {
|
|
84
|
+
var T = k.regex, C = k.parser, E = I.slice(c), M = T.exec(E)[0];
|
|
85
|
+
C.call(w, M), I = I.replace(M, "");
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
return function(D) {
|
|
89
|
+
var m = D.afternoon;
|
|
90
|
+
if (m !== void 0) {
|
|
91
|
+
var A = D.hours;
|
|
92
|
+
m ? A < 12 && (D.hours += 12) : A === 12 && (D.hours = 0), delete D.afternoon;
|
|
93
|
+
}
|
|
94
|
+
}(w), w;
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
return function(s, r, l) {
|
|
98
|
+
l.p.customParseFormat = !0, s && s.parseTwoDigitYear && (V = s.parseTwoDigitYear);
|
|
99
|
+
var h = r.prototype, p = h.parse;
|
|
100
|
+
h.parse = function(b) {
|
|
101
|
+
var L = b.date, S = b.utc, y = b.args;
|
|
102
|
+
this.$u = S;
|
|
103
|
+
var g = y[1];
|
|
104
|
+
if (typeof g == "string") {
|
|
105
|
+
var I = y[2] === !0, w = y[3] === !0, u = I || w, c = y[2];
|
|
106
|
+
w && (c = y[2]), v = this.$locale(), !I && c && (v = l.Ls[c]), this.$d = function(E, M, D) {
|
|
107
|
+
try {
|
|
108
|
+
if (["x", "X"].indexOf(M) > -1)
|
|
109
|
+
return new Date((M === "X" ? 1e3 : 1) * E);
|
|
110
|
+
var m = te(M)(E), A = m.year, O = m.month, ie = m.day, se = m.hours, ne = m.minutes, ae = m.seconds, re = m.milliseconds, N = m.zone, P = /* @__PURE__ */ new Date(), _ = ie || (A || O ? 1 : P.getDate()), z = A || P.getFullYear(), $ = 0;
|
|
111
|
+
A && !O || ($ = O > 0 ? O - 1 : P.getMonth());
|
|
112
|
+
var H = se || 0, K = ne || 0, R = ae || 0, W = re || 0;
|
|
113
|
+
return N ? new Date(Date.UTC(z, $, _, H, K, R, W + 60 * N.offset * 1e3)) : D ? new Date(Date.UTC(z, $, _, H, K, R, W)) : new Date(z, $, _, H, K, R, W);
|
|
114
|
+
} catch {
|
|
115
|
+
return /* @__PURE__ */ new Date("");
|
|
116
|
+
}
|
|
117
|
+
}(L, g, S), this.init(), c && c !== !0 && (this.$L = this.locale(c).$L), u && L != this.format(g) && (this.$d = /* @__PURE__ */ new Date("")), v = {};
|
|
118
|
+
} else if (g instanceof Array)
|
|
119
|
+
for (var k = g.length, T = 1; T <= k; T += 1) {
|
|
120
|
+
y[1] = g[T - 1];
|
|
121
|
+
var C = l.apply(this, y);
|
|
122
|
+
if (C.isValid()) {
|
|
123
|
+
this.$d = C.$d, this.$L = C.$L, this.init();
|
|
124
|
+
break;
|
|
125
|
+
}
|
|
126
|
+
T === k && (this.$d = /* @__PURE__ */ new Date(""));
|
|
127
|
+
}
|
|
128
|
+
else
|
|
129
|
+
p.call(this, b);
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
});
|
|
133
|
+
})(J);
|
|
134
|
+
const de = J.exports, ce = ':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}.time-picker{display:inline-block;width:150px;font-family:var(--nylas-font-family);position:relative}@media screen and (max-width: 768px){.time-picker{width:auto}}.time-picker input{width:150px;height:48px;text-align:center;font-size:16px;font-family:inherit;cursor:pointer;background:transparent;border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x)}@media screen and (max-width: 768px){.time-picker input{width:88px}}@media screen and (max-width: 504px){.time-picker input{width:68px;font-size:15px}}.time-picker input.focus{background:transparent}.time-picker input:hover,.time-picker input:active{border:1px solid var(--nylas-primary)}.time-picker input:active{outline:2px solid var(--nylas-primary)}.time-picker input span.open{transform:rotate(90deg)}.time-picker input span.closed{transform:rotate(270deg)}.time-picker input.error{border:1px solid var(--nylas-error)}.time-picker p.error{color:var(--nylas-error);font-size:0.875rem;margin:0}.times{display:block;margin-top:0.5rem;background-color:var(--nylas-base-0);width:100%;max-height:336px;overflow:auto;border:1px solid #ddd;z-index:1;border-radius:4px;position:absolute;box-shadow:0px 4px 6px -2px rgba(0, 0, 0, 0.0509803922);box-shadow:0px 10px 15px -3px rgba(0, 0, 0, 0.1019607843)}.times ul{padding:0;list-style-type:none;color:var(--nylas-base-900);max-height:336px}.times 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:center;cursor:pointer}.times ul li.focused{background-color:var(--nylas-base-100)}.times ul li:hover,.times ul li:focus{background-color:var(--nylas-base-100)}.times ul li label{display:flex;align-items:center;gap:0.5rem}.times ul li label input{margin:0}', me = ce;
|
|
135
|
+
Y.extend(de);
|
|
136
|
+
const fe = class {
|
|
137
|
+
constructor(e) {
|
|
138
|
+
q(this, e), this.timeChange = U(this, "timeChange", 7), this.formError = U(this, "formError", 7), this.time = void 0, this.minimumStartTime = null, this.placeholder = "hh:mmam/pm", this.name = void 0, this.hasError = !1, this.err = "", this.showTimes = !1, this.ariaActivedescendant = "", this.times = this.generateTimes(), this.shouldAutoScroll = !1;
|
|
139
|
+
}
|
|
140
|
+
handleOutsideClick(e) {
|
|
141
|
+
!e.composedPath().includes(this.el) && this.showTimes && (this.showTimes = !1);
|
|
142
|
+
}
|
|
143
|
+
minimumStartTimeChangedHandler() {
|
|
144
|
+
if (this.minimumStartTime) {
|
|
145
|
+
let e = Y().hour(parseInt(this.minimumStartTime)).minute(parseInt(this.minimumStartTime.slice(-4, -2)));
|
|
146
|
+
this.minimumStartTime.slice(-2).toLowerCase() === "pm" && parseInt(this.minimumStartTime) !== 12 ? e = e.add(12, "hour") : this.minimumStartTime.slice(-2).toLowerCase() === "am" && parseInt(this.minimumStartTime) === 12 && (e = e.subtract(12, "hour")), this.times = this.generateTimes();
|
|
147
|
+
const t = Y(this.times[0].value, "hh:mma");
|
|
148
|
+
Y(this.time, "hh:mma").isBefore(t) && (this.err = "Invalid", this.formError.emit({
|
|
149
|
+
key: this.el.id,
|
|
150
|
+
message: "Invalid"
|
|
151
|
+
}));
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
componentDidRender() {
|
|
155
|
+
if (this.showTimes && this.shouldAutoScroll) {
|
|
156
|
+
const e = Z(this.time), t = this.times.findIndex((n) => n.value === e);
|
|
157
|
+
t > -1 && (this.shouldAutoScroll = !1, this.scrollToViewWithinParent(t));
|
|
158
|
+
return;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
handleTimeChange(e, t) {
|
|
162
|
+
const n = t.split(":");
|
|
163
|
+
n[0] === "00" && n[1].slice(-2) == "pm" && (this.err = "Invalid", this.formError.emit({
|
|
164
|
+
key: this.el.id,
|
|
165
|
+
message: "Invalid"
|
|
166
|
+
})), B(t) ? (this.err = "", this.formError.emit({
|
|
167
|
+
key: this.el.id,
|
|
168
|
+
message: ""
|
|
169
|
+
})) : (this.err = "Invalid", this.formError.emit({
|
|
170
|
+
key: this.el.id,
|
|
171
|
+
message: "Invalid"
|
|
172
|
+
})), this.timeChange.emit({
|
|
173
|
+
key: this.el.id,
|
|
174
|
+
value: t
|
|
175
|
+
});
|
|
176
|
+
}
|
|
177
|
+
handleTimeAutocomplete(e) {
|
|
178
|
+
var n;
|
|
179
|
+
const t = (n = e.target) == null ? void 0 : n.value;
|
|
180
|
+
if (!B(t)) {
|
|
181
|
+
this.err = "Invalid", this.formError.emit({
|
|
182
|
+
key: this.el.id,
|
|
183
|
+
message: "Invalid"
|
|
184
|
+
});
|
|
185
|
+
return;
|
|
186
|
+
}
|
|
187
|
+
if (t === "") {
|
|
188
|
+
const i = G().format("hh:mma");
|
|
189
|
+
this.timeChange.emit({
|
|
190
|
+
key: this.el.id,
|
|
191
|
+
value: i
|
|
192
|
+
});
|
|
193
|
+
return;
|
|
194
|
+
}
|
|
195
|
+
if (!Q(t)) {
|
|
196
|
+
const i = Z(t);
|
|
197
|
+
this.timeChange.emit({
|
|
198
|
+
key: this.el.id,
|
|
199
|
+
value: i
|
|
200
|
+
});
|
|
201
|
+
return;
|
|
202
|
+
}
|
|
203
|
+
this.timeChange.emit({
|
|
204
|
+
key: this.el.id,
|
|
205
|
+
value: t
|
|
206
|
+
});
|
|
207
|
+
}
|
|
208
|
+
handleOnInput(e) {
|
|
209
|
+
var n;
|
|
210
|
+
const t = (n = e.target) == null ? void 0 : n.value;
|
|
211
|
+
if (B(t)) {
|
|
212
|
+
if (t === "") {
|
|
213
|
+
const i = G().format("hh:mma"), a = this.times.findIndex((o) => o.value === i);
|
|
214
|
+
a > -1 && this.scrollToViewWithinParent(a);
|
|
215
|
+
return;
|
|
216
|
+
}
|
|
217
|
+
if (!Q(t)) {
|
|
218
|
+
const i = Z(t), a = this.times.findIndex((o) => o.value === i);
|
|
219
|
+
a > -1 && this.scrollToViewWithinParent(a);
|
|
220
|
+
return;
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
generateTimes() {
|
|
225
|
+
const e = [];
|
|
226
|
+
let t = Y().set("hour", 0).set("minute", 0).set("second", 0);
|
|
227
|
+
this.minimumStartTime && (t = Y(this.minimumStartTime, "hh:mma"));
|
|
228
|
+
const n = t.endOf("day").diff(t, "minutes"), i = Math.round(n / 15);
|
|
229
|
+
for (let a = 0; a < i + 1; a++) {
|
|
230
|
+
const o = t.add(a * 15, "minute");
|
|
231
|
+
if (a == i && o.format("hh:mma").includes("am"))
|
|
232
|
+
break;
|
|
233
|
+
e.push({ id: a, value: o.format("hh:mma") });
|
|
234
|
+
}
|
|
235
|
+
return e;
|
|
236
|
+
}
|
|
237
|
+
handleComboboxKeyDown(e) {
|
|
238
|
+
if (e.key === "ArrowDown") {
|
|
239
|
+
if (e.preventDefault(), !this.showTimes) {
|
|
240
|
+
this.showTimes = !0, this.shouldAutoScroll = !0;
|
|
241
|
+
return;
|
|
242
|
+
}
|
|
243
|
+
if (this.ariaActivedescendant === "")
|
|
244
|
+
this.ariaActivedescendant = this.times[0].id.toString(), this.focusOption(0);
|
|
245
|
+
else {
|
|
246
|
+
const t = this.times.findIndex((i) => i.id.toString() === this.ariaActivedescendant), n = t + 1 < this.times.length ? t + 1 : 0;
|
|
247
|
+
this.ariaActivedescendant = this.times[n].id.toString(), this.focusOption(n);
|
|
248
|
+
}
|
|
249
|
+
} else if (e.key === "ArrowUp")
|
|
250
|
+
if (e.preventDefault(), this.ariaActivedescendant === "")
|
|
251
|
+
this.ariaActivedescendant = this.times[this.times.length - 1].id.toString(), this.focusOption(this.times.length - 1);
|
|
252
|
+
else {
|
|
253
|
+
const t = this.times.findIndex((i) => i.id.toString() === this.ariaActivedescendant), n = t - 1 >= 0 ? t - 1 : this.times.length - 1;
|
|
254
|
+
this.ariaActivedescendant = this.times[n].id.toString(), this.focusOption(n);
|
|
255
|
+
}
|
|
256
|
+
else
|
|
257
|
+
e.key === "Escape" && (this.showTimes = !1, this.timeInput.focus());
|
|
258
|
+
}
|
|
259
|
+
handleListboxKeydown(e) {
|
|
260
|
+
const t = this.times, n = t.findIndex((i) => i.id.toString() === this.ariaActivedescendant);
|
|
261
|
+
if (e.key === "ArrowDown" || e.key === "Tab" && !e.shiftKey) {
|
|
262
|
+
e.preventDefault();
|
|
263
|
+
const i = n + 1 < t.length ? n + 1 : 0;
|
|
264
|
+
this.ariaActivedescendant = t[i].id.toString(), this.focusOption(i);
|
|
265
|
+
} else if (e.key === "ArrowUp" || e.key === "Tab" && e.shiftKey) {
|
|
266
|
+
e.preventDefault();
|
|
267
|
+
const i = n - 1 >= 0 ? n - 1 : t.length - 1;
|
|
268
|
+
this.ariaActivedescendant = t[i].id.toString(), this.focusOption(i);
|
|
269
|
+
} else if (e.key === "Enter") {
|
|
270
|
+
if (e.preventDefault(), this.ariaActivedescendant) {
|
|
271
|
+
const i = t[n];
|
|
272
|
+
this.handleTimeChange(e, i.value), this.showTimes = !1, this.ariaActivedescendant = "", this.timeInput.focus();
|
|
273
|
+
}
|
|
274
|
+
} else
|
|
275
|
+
e.key === "Escape" && (this.showTimes = !1, this.timeInput.focus());
|
|
276
|
+
}
|
|
277
|
+
scrollToViewWithinParent(e) {
|
|
278
|
+
var x;
|
|
279
|
+
const t = this.times[e], n = (x = this.el.shadowRoot) == null ? void 0 : x.getElementById(t.id.toString()), i = this.timeMenu;
|
|
280
|
+
this.ariaActivedescendant = t.id.toString();
|
|
281
|
+
const a = n.getBoundingClientRect(), o = i.getBoundingClientRect();
|
|
282
|
+
a.top < o.top ? i.scrollTop -= o.top - a.top : a.bottom > o.bottom && (i.scrollTop += a.bottom - o.bottom), a.left < o.left ? i.scrollLeft -= o.left - a.left : a.right > o.right && (i.scrollLeft += a.right - o.right);
|
|
283
|
+
}
|
|
284
|
+
focusOption(e) {
|
|
285
|
+
var a;
|
|
286
|
+
const t = this.times[e];
|
|
287
|
+
if (!t)
|
|
288
|
+
return;
|
|
289
|
+
const n = t.id.toString(), i = (a = this.el.shadowRoot) == null ? void 0 : a.getElementById(n);
|
|
290
|
+
i && (i.focus(), i.scrollIntoView({ behavior: "smooth", block: "nearest" }));
|
|
291
|
+
}
|
|
292
|
+
render() {
|
|
293
|
+
return f(le, { key: "c0d6314d7f4b6c2fea1697756554364145440dd2" }, f("div", { key: "d6d729bdab1bdafaced55b31dfdfdefbbe77b698", class: "time-picker", part: "time-picker" }, f("input", { key: "6923f9f6948a59e94ea202bb5bcefb8b1cbba9f6", type: "text", name: this.name, id: this.name, part: "time-input", class: {
|
|
294
|
+
"time-input": !0,
|
|
295
|
+
error: !!this.err || this.hasError
|
|
296
|
+
}, ref: (e) => this.timeInput = e, value: this.time, onClick: () => {
|
|
297
|
+
this.showTimes = !this.showTimes, this.shouldAutoScroll = !0;
|
|
298
|
+
}, "aria-haspopup": "listbox", "aria-label": this.name, "aria-expanded": this.showTimes ? "true" : "false", placeholder: this.placeholder, onKeyDown: (e) => this.handleComboboxKeyDown(e), onInput: (e) => this.handleOnInput(e), onBlur: (e) => this.handleTimeAutocomplete(e) }), this.err && f("div", { class: "invalid-time-icon" }), this.showTimes && f("div", { class: "times", part: "times", ref: (e) => this.timeMenu = e }, f("ul", { tabindex: "-1", role: "listbox", "aria-label": this.name, "aria-activedescendant": this.ariaActivedescendant, onKeyDown: (e) => this.handleListboxKeydown(e) }, this.times.map((e) => f("li", { tabindex: "0", key: e.id, id: e.id.toString(), class: {
|
|
299
|
+
focused: this.ariaActivedescendant === e.id.toString()
|
|
300
|
+
}, onClick: (t) => {
|
|
301
|
+
this.handleTimeChange(t, e.value), this.showTimes = !1, this.timeInput.focus();
|
|
302
|
+
}, role: "option" }, `${e.value}`)))), !this.showTimes && this.err && f("p", { class: "error", id: "email-error" }, this.err)));
|
|
303
|
+
}
|
|
304
|
+
get el() {
|
|
305
|
+
return he(this);
|
|
306
|
+
}
|
|
307
|
+
static get watchers() {
|
|
308
|
+
return {
|
|
309
|
+
minimumStartTime: ["minimumStartTimeChangedHandler"]
|
|
310
|
+
};
|
|
311
|
+
}
|
|
312
|
+
};
|
|
313
|
+
fe.style = me;
|
|
314
|
+
const ue = '.switch{--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;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-0);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%}', pe = ue, be = class {
|
|
315
|
+
constructor(e) {
|
|
316
|
+
q(this, e), this.nylasFormSwitchToggled = U(this, "nylasFormSwitchToggled", 7), this.name = "toggle-switch", this.checked = !1, this.label = "", this.isChecked = this.checked;
|
|
317
|
+
}
|
|
318
|
+
componentWillLoad() {
|
|
319
|
+
this.isChecked = this.checked;
|
|
320
|
+
}
|
|
321
|
+
toggleCheck() {
|
|
322
|
+
this.isChecked = !this.isChecked, this.nylasFormSwitchToggled.emit({
|
|
323
|
+
checked: this.isChecked,
|
|
324
|
+
name: this.name,
|
|
325
|
+
label: this.label
|
|
326
|
+
});
|
|
327
|
+
}
|
|
328
|
+
render() {
|
|
329
|
+
return f("label", { key: "58015f47a5e227e8d9274761d317eaa7e95a9e1c", class: "switch", part: "ts_label" }, f("input", { key: "db6158a12d8fee36fcbbf3ee356768f9995971ed", type: "checkbox", part: "ts_input", name: this.name, checked: this.isChecked, onChange: () => this.toggleCheck() }), f("div", { key: "8e8b0eb635db66afb7e41b1ef312c3769edbf8b7", class: "slider round", part: "ts_slider" }));
|
|
330
|
+
}
|
|
331
|
+
};
|
|
332
|
+
be.style = pe;
|
|
333
|
+
export {
|
|
334
|
+
fe as nylas_time_window_picker,
|
|
335
|
+
be as toggle_switch
|
|
336
|
+
};
|
|
@@ -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-5611d3d5.cjs");require("react");require("react-dom");const r=".sc-person-icon-h{display:flex}",i=r,t=class{constructor(s){e.registerInstance(this,s),this.width="14",this.height="16"}render(){return e.h("svg",{key:"bf77344f510a860cf3b05daea1254dbe06465bcf",width:this.width,height:this.height,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"6704d143c071b2de1ce05a823bb98ba59fbffba7",d:"M7 0C4.79086 0 3 1.79086 3 4C3 6.20914 4.79086 8 7 8C9.20914 8 11 6.20914 11 4C11 1.79086 9.20914 0 7 0ZM4 4C4 2.34315 5.34315 1 7 1C8.65685 1 10 2.34315 10 4C10 5.65685 8.65685 7 7 7C5.34315 7 4 5.65685 4 4ZM2.00873 9C0.903151 9 0 9.88687 0 11C0 12.6912 0.83281 13.9663 2.13499 14.7966C3.41697 15.614 5.14526 16 7 16C8.85474 16 10.583 15.614 11.865 14.7966C13.1672 13.9663 14 12.6912 14 11C14 9.89557 13.1045 9.00001 12 9.00001L2.00873 9ZM1 11C1 10.4467 1.44786 10 2.00873 10L12 10C12.5522 10 13 10.4478 13 11C13 12.3088 12.3777 13.2837 11.3274 13.9534C10.2568 14.636 8.73511 15 7 15C5.26489 15 3.74318 14.636 2.67262 13.9534C1.62226 13.2837 1 12.3088 1 11Z",fill:"currentColor"}))}};t.style=i;exports.person_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-5611d3d5.cjs");require("react");require("react-dom");const s=".sc-play-icon-h{display:flex}",o=s,t=class{constructor(i){e.registerInstance(this,i),this.width="15",this.height="15"}render(){return e.h("svg",{key:"09672d0e495dea5c057e0459bbaf09e05c5f6d92",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"auto",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"f2d1b1e318670f9dac0c53f4e6bfe209fb6bb073",d:"M21 12L3 21V3L21 12Z",stroke:"auto","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}))}};t.style=o;exports.play_icon=t;
|
package/dist/react.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index-5611d3d5.cjs");require("react");require("react-dom");exports.AddCircleIcon=o.AddCircleIcon;exports.ArchiveIcon=o.ArchiveIcon;exports.ArrowIcon=o.ArrowIcon;exports.BoldIcon=o.BoldIcon;exports.ButtonComponent=o.ButtonComponent;exports.CalendarAgendaFillIcon=o.CalendarAgendaFillIcon;exports.CalendarAgendaIcon=o.CalendarAgendaIcon;exports.CalendarCancelIcon=o.CalendarCancelIcon;exports.CalendarCheckIcon=o.CalendarCheckIcon;exports.CalendarIcon=o.CalendarIcon;exports.CalendarInfoIcon=o.CalendarInfoIcon;exports.CalendarPatternsIcon=o.CalendarPatternsIcon;exports.CheckboxComponent=o.CheckboxComponent;exports.CheckmarkCircleIcon=o.CheckmarkCircleIcon;exports.CheckmarkIcon=o.CheckmarkIcon;exports.ChevronIcon=o.ChevronIcon;exports.ClockIcon=o.ClockIcon;exports.CloseIcon=o.CloseIcon;exports.CopyIcon=o.CopyIcon;exports.DeleteIcon=o.DeleteIcon;exports.DocumentRefreshIcon=o.DocumentRefreshIcon;exports.DragableIcon=o.DragableIcon;exports.EditIcon=o.EditIcon;exports.EnvelopeFillIcon=o.EnvelopeFillIcon;exports.EnvelopeIcon=o.EnvelopeIcon;exports.EyeIcon=o.EyeIcon;exports.FeedbackIcon=o.FeedbackIcon;exports.FlowIcon=o.FlowIcon;exports.FolderIcon=o.FolderIcon;exports.ForwardIcon=o.ForwardIcon;exports.GlobeIcon=o.GlobeIcon;exports.GoogleLogoIcon=o.GoogleLogoIcon;exports.GoogleMeetIcon=o.GoogleMeetIcon;exports.InboxIcon=o.InboxIcon;exports.InfoIcon=o.InfoIcon;exports.InputColorPicker=o.InputColorPicker;exports.InputComponent=o.InputComponent;exports.InputDropdown=o.InputDropdown;exports.InputImageUrl=o.InputImageUrl;exports.ItalicIcon=o.ItalicIcon;exports.LoadingIcon=o.LoadingIcon;exports.LocationIcon=o.LocationIcon;exports.LocationOffIcon=o.LocationOffIcon;exports.MicrosoftLogoIcon=o.MicrosoftLogoIcon;exports.MicrosoftTeamsIcon=o.MicrosoftTeamsIcon;exports.MultiSelectDropdown=o.MultiSelectDropdown;exports.NylasAdditionalParticipants=o.NylasAdditionalParticipants;exports.NylasAvailabilityPicker=o.NylasAvailabilityPicker;exports.NylasBookedEventCard=o.NylasBookedEventCard;exports.NylasBookingCalendarPicker=o.NylasBookingCalendarPicker;exports.NylasBookingConfirmationRedirect=o.NylasBookingConfirmationRedirect;exports.NylasBookingConfirmationType=o.NylasBookingConfirmationType;exports.NylasBookingForm=o.NylasBookingForm;exports.NylasBookingFormConfig=o.NylasBookingFormConfig;exports.NylasBufferTime=o.NylasBufferTime;exports.NylasCalendarPicker=o.NylasCalendarPicker;exports.NylasCancelBookingForm=o.NylasCancelBookingForm;exports.NylasCancellationPolicy=o.NylasCancellationPolicy;exports.NylasCancelledEventCard=o.NylasCancelledEventCard;exports.NylasConfirmationEmail=o.NylasConfirmationEmail;exports.NylasConfirmedEventCard=o.NylasConfirmedEventCard;exports.NylasConnectedCalendars=o.NylasConnectedCalendars;exports.NylasCustomBookingFlow=o.NylasCustomBookingFlow;exports.NylasCustomEventSlug=o.NylasCustomEventSlug;exports.NylasCustomizeBookingSettings=o.NylasCustomizeBookingSettings;exports.NylasDateComponent=o.NylasDateComponent;exports.NylasDatePicker=o.NylasDatePicker;exports.NylasEditorTabs=o.NylasEditorTabs;exports.NylasEventDescription=o.NylasEventDescription;exports.NylasEventDuration=o.NylasEventDuration;exports.NylasEventInfo=o.NylasEventInfo;exports.NylasEventLimits=o.NylasEventLimits;exports.NylasEventLocation=o.NylasEventLocation;exports.NylasEventTitle=o.NylasEventTitle;exports.NylasFeedbackForm=o.NylasFeedbackForm;exports.NylasFormCard=o.NylasFormCard;exports.NylasIdentityRequestWrapper=o.NylasIdentityRequestWrapper;exports.NylasIfState=o.NylasIfState;exports.NylasLimitFutureBookings=o.NylasLimitFutureBookings;exports.NylasListConfigurations=o.NylasListConfigurations;exports.NylasLocaleSwitch=o.NylasLocaleSwitch;exports.NylasLogin=o.NylasLogin;exports.NylasLogo=o.NylasLogo;exports.NylasMinBookingNotice=o.NylasMinBookingNotice;exports.NylasMinCancellationNotice=o.NylasMinCancellationNotice;exports.NylasNotification=o.NylasNotification;exports.NylasOrganizerConfirmationCard=o.NylasOrganizerConfirmationCard;exports.NylasPageName=o.NylasPageName;exports.NylasPageStyling=o.NylasPageStyling;exports.NylasParticipantBookingCalendars=o.NylasParticipantBookingCalendars;exports.NylasParticipantsCustomAvailability=o.NylasParticipantsCustomAvailability;exports.NylasProvider=o.NylasProvider;exports.NylasReminderEmails=o.NylasReminderEmails;exports.NylasReminderTime=o.NylasReminderTime;exports.NylasSchedulerEditor=o.NylasSchedulerEditor;exports.NylasScheduling=o.NylasScheduling;exports.NylasSchedulingMethod=o.NylasSchedulingMethod;exports.NylasSelectedEventCard=o.NylasSelectedEventCard;exports.NylasTimeWindowPicker=o.NylasTimeWindowPicker;exports.NylasTimeslotInterval=o.NylasTimeslotInterval;exports.NylasTimeslotPicker=o.NylasTimeslotPicker;exports.PaintbrushFillIcon=o.PaintbrushFillIcon;exports.PaintbrushIcon=o.PaintbrushIcon;exports.PeopleIcon=o.PeopleIcon;exports.PersonClipboardIcon=o.PersonClipboardIcon;exports.PersonIcon=o.PersonIcon;exports.PlayIcon=o.PlayIcon;exports.PlusIcon=o.PlusIcon;exports.RadioButtonGroup=o.RadioButtonGroup;exports.RefreshIcon=o.RefreshIcon;exports.ReplyAllIcon=o.ReplyAllIcon;exports.ReplyIcon=o.ReplyIcon;exports.SearchIcon=o.SearchIcon;exports.SelectDropdown=o.SelectDropdown;exports.SentIcon=o.SentIcon;exports.SpamIcon=o.SpamIcon;exports.StarIcon=o.StarIcon;exports.StopIcon=o.StopIcon;exports.TextareaComponent=o.TextareaComponent;exports.TimePeriodSelector=o.TimePeriodSelector;exports.ToggleSwitch=o.ToggleSwitch;exports.TooltipComponent=o.TooltipComponent;exports.TranslateIcon=o.TranslateIcon;exports.TrashFillIcon=o.TrashFillIcon;exports.TrashIcon=o.TrashIcon;exports.UnderlineIcon=o.UnderlineIcon;exports.WarningIcon=o.WarningIcon;exports.ZoomIcon=o.ZoomIcon;exports.applyPolyfills=o.applyPolyfills;exports.defineCustomElements=o.defineCustomElements;exports.setNonce=o.setNonce;exports.useNylasMailboxElement=o.useNylasMailboxElement;
|
package/dist/react.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Z as e, _ as l, $ as i, a0 as c, a1 as t, a2 as r, a3 as
|
|
1
|
+
import { Z as e, _ as l, $ as i, a0 as c, a1 as t, a2 as r, a3 as b, a4 as I, a5 as y, a6 as N, a7 as d, a8 as C, a9 as m, aa as p, ab as g, ac as k, ad as u, ae as P, af as f, ag as E, ah as h, ai as v, aj as S, ak as B, al as F, am as T, an as L, ao as w, ap as D, aq as A, ar as R, as as M, at as x, au as G, av as W, aw as z, ax as O, ay as U, az as q, aA as V, aB as X, aC as Z, aD as j, aE as H, aF as J, aG as K, aH as Q, aI as Y, aJ as _, aK as $, aL as aa, aM as sa, aN as oa, aO as na, aP as ea, aQ as la, aR as ia, aS as ca, aT as ta, aU as ra, aV as ba, aW as Ia, aX as ya, aY as Na, aZ as da, a_ as Ca, a$ as ma, b0 as pa, b1 as ga, b2 as ka, b3 as ua, b4 as Pa, b5 as fa, b6 as Ea, b7 as ha, b8 as va, N as Sa, b9 as Ba, ba as Fa, bb as Ta, bc as La, bd as wa, be as Da, bf as Aa, bg as Ra, bh as Ma, bi as xa, bj as Ga, bk as Wa, bl as za, bm as Oa, bn as Ua, bo as qa, bp as Va, bq as Xa, br as Za, bs as ja, bt as Ha, bu as Ja, bv as Ka, bw as Qa, bx as Ya, by as _a, bz as $a, bA as as, bB as ss, bC as os, bD as ns, bE as es, bF as ls, bG as is, bH as cs, bI as ts, bJ as rs, bK as bs, bL as Is, bM as ys, bN as Ns, bO as ds, bP as Cs, bQ as ms, bR as ps, bS as gs, bT as ks, bU as us, bV as Ps, bW as fs, bX as Es, W as hs, X as vs, Y as Ss, V as Bs } from "./index-589f8eee.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
export {
|
|
@@ -8,15 +8,15 @@ export {
|
|
|
8
8
|
c as BoldIcon,
|
|
9
9
|
t as ButtonComponent,
|
|
10
10
|
r as CalendarAgendaFillIcon,
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
b as CalendarAgendaIcon,
|
|
12
|
+
I as CalendarCancelIcon,
|
|
13
13
|
y as CalendarCheckIcon,
|
|
14
14
|
N as CalendarIcon,
|
|
15
15
|
d as CalendarInfoIcon,
|
|
16
16
|
C as CalendarPatternsIcon,
|
|
17
17
|
m as CheckboxComponent,
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
p as CheckmarkCircleIcon,
|
|
19
|
+
g as CheckmarkIcon,
|
|
20
20
|
k as ChevronIcon,
|
|
21
21
|
u as ClockIcon,
|
|
22
22
|
P as CloseIcon,
|
|
@@ -30,8 +30,8 @@ export {
|
|
|
30
30
|
T as EyeIcon,
|
|
31
31
|
L as FeedbackIcon,
|
|
32
32
|
w as FlowIcon,
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
D as FolderIcon,
|
|
34
|
+
A as ForwardIcon,
|
|
35
35
|
R as GlobeIcon,
|
|
36
36
|
M as GoogleLogoIcon,
|
|
37
37
|
x as GoogleMeetIcon,
|
|
@@ -42,13 +42,13 @@ export {
|
|
|
42
42
|
U as InputDropdown,
|
|
43
43
|
q as InputImageUrl,
|
|
44
44
|
V as ItalicIcon,
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
45
|
+
X as LoadingIcon,
|
|
46
|
+
Z as LocationIcon,
|
|
47
|
+
j as LocationOffIcon,
|
|
48
|
+
H as MicrosoftLogoIcon,
|
|
49
|
+
J as MicrosoftTeamsIcon,
|
|
50
|
+
K as MultiSelectDropdown,
|
|
51
|
+
Q as NylasAdditionalParticipants,
|
|
52
52
|
Y as NylasAvailabilityPicker,
|
|
53
53
|
_ as NylasBookedEventCard,
|
|
54
54
|
$ as NylasBookingCalendarPicker,
|
|
@@ -62,75 +62,76 @@ export {
|
|
|
62
62
|
ca as NylasCancellationPolicy,
|
|
63
63
|
ta as NylasCancelledEventCard,
|
|
64
64
|
ra as NylasConfirmationEmail,
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
ba as NylasConfirmedEventCard,
|
|
66
|
+
Ia as NylasConnectedCalendars,
|
|
67
67
|
ya as NylasCustomBookingFlow,
|
|
68
68
|
Na as NylasCustomEventSlug,
|
|
69
69
|
da as NylasCustomizeBookingSettings,
|
|
70
|
-
Ca as
|
|
71
|
-
ma as
|
|
70
|
+
Ca as NylasDateComponent,
|
|
71
|
+
ma as NylasDatePicker,
|
|
72
|
+
pa as NylasEditorTabs,
|
|
72
73
|
ga as NylasEventDescription,
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
74
|
+
ka as NylasEventDuration,
|
|
75
|
+
ua as NylasEventInfo,
|
|
76
|
+
Pa as NylasEventLimits,
|
|
77
|
+
fa as NylasEventLocation,
|
|
78
|
+
Ea as NylasEventTitle,
|
|
79
|
+
ha as NylasFeedbackForm,
|
|
80
|
+
va as NylasFormCard,
|
|
81
|
+
Sa as NylasIdentityRequestWrapper,
|
|
82
|
+
Ba as NylasIfState,
|
|
83
|
+
Fa as NylasLimitFutureBookings,
|
|
84
|
+
Ta as NylasListConfigurations,
|
|
85
|
+
La as NylasLocaleSwitch,
|
|
86
|
+
wa as NylasLogin,
|
|
87
|
+
Da as NylasLogo,
|
|
87
88
|
Aa as NylasMinBookingNotice,
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
89
|
+
Ra as NylasMinCancellationNotice,
|
|
90
|
+
Ma as NylasNotification,
|
|
91
|
+
xa as NylasOrganizerConfirmationCard,
|
|
92
|
+
Ga as NylasPageName,
|
|
93
|
+
Wa as NylasPageStyling,
|
|
94
|
+
za as NylasParticipantBookingCalendars,
|
|
95
|
+
Oa as NylasParticipantsCustomAvailability,
|
|
96
|
+
Ua as NylasProvider,
|
|
97
|
+
qa as NylasReminderEmails,
|
|
98
|
+
Va as NylasReminderTime,
|
|
99
|
+
Xa as NylasSchedulerEditor,
|
|
99
100
|
Za as NylasScheduling,
|
|
100
101
|
ja as NylasSchedulingMethod,
|
|
101
102
|
Ha as NylasSelectedEventCard,
|
|
102
103
|
Ja as NylasTimeWindowPicker,
|
|
103
104
|
Ka as NylasTimeslotInterval,
|
|
104
105
|
Qa as NylasTimeslotPicker,
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
106
|
+
Ya as PaintbrushFillIcon,
|
|
107
|
+
_a as PaintbrushIcon,
|
|
108
|
+
$a as PeopleIcon,
|
|
109
|
+
as as PersonClipboardIcon,
|
|
110
|
+
ss as PersonIcon,
|
|
111
|
+
os as PlayIcon,
|
|
112
|
+
ns as PlusIcon,
|
|
113
|
+
es as RadioButtonGroup,
|
|
114
|
+
ls as RefreshIcon,
|
|
115
|
+
is as ReplyAllIcon,
|
|
116
|
+
cs as ReplyIcon,
|
|
117
|
+
ts as SearchIcon,
|
|
118
|
+
rs as SelectDropdown,
|
|
119
|
+
bs as SentIcon,
|
|
119
120
|
Is as SpamIcon,
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
121
|
+
ys as StarIcon,
|
|
122
|
+
Ns as StopIcon,
|
|
123
|
+
ds as TextareaComponent,
|
|
124
|
+
Cs as TimePeriodSelector,
|
|
125
|
+
ms as ToggleSwitch,
|
|
126
|
+
ps as TooltipComponent,
|
|
126
127
|
gs as TranslateIcon,
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
128
|
+
ks as TrashFillIcon,
|
|
129
|
+
us as TrashIcon,
|
|
130
|
+
Ps as UnderlineIcon,
|
|
131
|
+
fs as WarningIcon,
|
|
132
|
+
Es as ZoomIcon,
|
|
133
|
+
hs as applyPolyfills,
|
|
134
|
+
vs as defineCustomElements,
|
|
135
|
+
Ss as setNonce,
|
|
136
|
+
Bs as useNylasMailboxElement
|
|
136
137
|
};
|
|
@@ -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-5611d3d5.cjs");require("react");require("react-dom");const t=".sc-refresh-icon-h{display:flex}",i=t,c=class{constructor(s){e.registerInstance(this,s),this.width="15",this.height="15"}render(){return e.h("svg",{key:"2e53f7097cb59c8a341225fdde738395247fe681",fill:"auto",width:this.width,height:this.height,viewBox:"0 0 32 32",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"6e99de42fd10abc8e6c9f705ea770431ac131d66",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"}))}};c.style=i;exports.refresh_icon=c;
|