@nylas/react 1.0.0-prealpha1
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/LICENSE.md +22 -0
- package/README.md +3 -0
- package/dist/_commonjsHelpers-57e89916-4a3ae7d8.cjs +1 -0
- package/dist/_commonjsHelpers-57e89916-af061c86.js +19 -0
- package/dist/archive-icon_7.entry-53aede1b.js +75 -0
- package/dist/archive-icon_7.entry-8c90815a.cjs +1 -0
- package/dist/arrow-icon.entry-2867f4fb.js +15 -0
- package/dist/arrow-icon.entry-a2f53919.cjs +1 -0
- package/dist/bold-icon_3.entry-ad806730.js +35 -0
- package/dist/bold-icon_3.entry-e0bc6774.cjs +1 -0
- package/dist/calendar-cancel-icon.entry-546b7bd4.cjs +1 -0
- package/dist/calendar-cancel-icon.entry-74051835.js +15 -0
- package/dist/calendar-check-icon_3.entry-42bab0b4.js +35 -0
- package/dist/calendar-check-icon_3.entry-f5846fee.cjs +1 -0
- package/dist/calendar-icon.entry-25474b1e.cjs +1 -0
- package/dist/calendar-icon.entry-c751873f.js +15 -0
- package/dist/chevron-icon.entry-60842fb6.js +15 -0
- package/dist/chevron-icon.entry-97e4621e.cjs +1 -0
- package/dist/close-icon_2.entry-aa015993.cjs +1 -0
- package/dist/close-icon_2.entry-ef03bd27.js +25 -0
- package/dist/core-js-38e53e34.cjs +4 -0
- package/dist/core-js-a9d3b6e1.js +3297 -0
- package/dist/document-refresh-icon.entry-b27207eb.js +15 -0
- package/dist/document-refresh-icon.entry-ca2ef29e.cjs +1 -0
- package/dist/dom-68f08be9.cjs +15 -0
- package/dist/dom-86e17616.js +664 -0
- package/dist/duration-bddc4a13-05d3e3e2.cjs +1 -0
- package/dist/duration-bddc4a13-179ce826.js +41 -0
- package/dist/elements/index.d.ts +56 -0
- package/dist/elements/react-component-lib/createComponent.d.ts +10 -0
- package/dist/elements/react-component-lib/createOverlayComponent.d.ts +21 -0
- package/dist/elements/react-component-lib/index.d.ts +2 -0
- package/dist/elements/react-component-lib/interfaces.d.ts +29 -0
- package/dist/elements/react-component-lib/utils/attachProps.d.ts +9 -0
- package/dist/elements/react-component-lib/utils/case.d.ts +2 -0
- package/dist/elements/react-component-lib/utils/dev.d.ts +2 -0
- package/dist/elements/react-component-lib/utils/index.d.ts +10 -0
- package/dist/elements-60ebdb01-24595598.cjs +16494 -0
- package/dist/elements-60ebdb01-5d144002.js +27455 -0
- package/dist/flow-40ff9cea-6f8c30e2.cjs +9 -0
- package/dist/flow-40ff9cea-ee70fdf5.js +505 -0
- package/dist/focus-visible-e8093c16-28fc08a0.js +82 -0
- package/dist/focus-visible-e8093c16-f380b705.cjs +1 -0
- package/dist/forward-icon_6.entry-725d1be4.cjs +3 -0
- package/dist/forward-icon_6.entry-dc8f7235.js +955 -0
- package/dist/globe-icon.entry-796d3f48.js +15 -0
- package/dist/globe-icon.entry-918cfd35.cjs +1 -0
- package/dist/index-29d0e781.cjs +30 -0
- package/dist/index-2b85580a-bfc3ceac.cjs +7 -0
- package/dist/index-2b85580a-f9211f23.js +3238 -0
- package/dist/index-4f65b6f9.js +1489 -0
- package/dist/index.d.ts +4 -0
- package/dist/loading-icon.entry-8e49fab0.js +15 -0
- package/dist/loading-icon.entry-b2534e3e.cjs +1 -0
- package/dist/mailbox-store-0019772c-06d31a90.js +380 -0
- package/dist/mailbox-store-0019772c-d1254c5c.cjs +1 -0
- package/dist/nylas-booked-event-card_9.entry-d995d7cb.js +4567 -0
- package/dist/nylas-booked-event-card_9.entry-ea02f083.cjs +148 -0
- package/dist/nylas-if-state_3.entry-ce816adb.js +291 -0
- package/dist/nylas-if-state_3.entry-e8c831b7.cjs +1 -0
- package/dist/nylas-list-folders.entry-8134344b.js +121 -0
- package/dist/nylas-list-folders.entry-de8cca60.cjs +1 -0
- package/dist/nylas-list-threads.entry-1367fe30.js +71 -0
- package/dist/nylas-list-threads.entry-93b70a1a.cjs +1 -0
- package/dist/nylas-mailbox-pagination.entry-568ac217.js +102 -0
- package/dist/nylas-mailbox-pagination.entry-6bb0ee37.cjs +1 -0
- package/dist/nylas-mailbox-toolbar-button.entry-9214b283.js +83 -0
- package/dist/nylas-mailbox-toolbar-button.entry-d4ad5c15.cjs +1 -0
- package/dist/nylas-open-hours-picker.entry-109f13f5.js +186 -0
- package/dist/nylas-open-hours-picker.entry-2c19643f.cjs +1 -0
- package/dist/nylas-provider.entry-2cfe5f0e.js +134 -0
- package/dist/nylas-provider.entry-87fa9276.cjs +1 -0
- package/dist/nylas-scheduler.entry-6ec8e574.js +195 -0
- package/dist/nylas-scheduler.entry-b41cbf99.cjs +1 -0
- package/dist/nylas-threads-refresh.entry-6d61a689.cjs +1 -0
- package/dist/nylas-threads-refresh.entry-9111a403.js +75 -0
- package/dist/nylas-threads-search.entry-03073490.cjs +1 -0
- package/dist/nylas-threads-search.entry-2124f663.js +70 -0
- package/dist/nylas-view-thread.entry-4ecbcd78.cjs +1 -0
- package/dist/nylas-view-thread.entry-fe51c1f6.js +204 -0
- package/dist/play-icon_2.entry-8e156535.js +25 -0
- package/dist/play-icon_2.entry-cf1cbc8d.cjs +1 -0
- package/dist/property-0065dde7-83dc9cc4.cjs +23 -0
- package/dist/property-0065dde7-c57b8fa3.js +589 -0
- package/dist/react.cjs +1 -0
- package/dist/react.js +62 -0
- package/dist/refresh-icon.entry-4ddd53b0.js +15 -0
- package/dist/refresh-icon.entry-9f24e833.cjs +1 -0
- package/dist/register-component-55376f31-5eaf8954.js +105 -0
- package/dist/register-component-55376f31-8d6ddee4.cjs +1 -0
- package/dist/scheduler-store-5a39585a-117668e3.js +173 -0
- package/dist/scheduler-store-5a39585a-2c848bec.cjs +1 -0
- package/dist/translate-icon.entry-0cd24de4.cjs +1 -0
- package/dist/translate-icon.entry-db2cdf1d.js +15 -0
- package/dist/utils-5074a070-ce33ee6b.js +119 -0
- package/dist/utils-5074a070-d5ba6add.cjs +2 -0
- package/package.json +47 -0
|
@@ -0,0 +1,589 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2019 Google LLC
|
|
4
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
|
+
*/
|
|
6
|
+
const H = window, V = H.ShadowRoot && (H.ShadyCSS === void 0 || H.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, W = Symbol(), K = /* @__PURE__ */ new WeakMap();
|
|
7
|
+
class nt {
|
|
8
|
+
constructor(t, e, i) {
|
|
9
|
+
if (this._$cssResult$ = !0, i !== W)
|
|
10
|
+
throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
11
|
+
this.cssText = t, this.t = e;
|
|
12
|
+
}
|
|
13
|
+
get styleSheet() {
|
|
14
|
+
let t = this.o;
|
|
15
|
+
const e = this.t;
|
|
16
|
+
if (V && t === void 0) {
|
|
17
|
+
const i = e !== void 0 && e.length === 1;
|
|
18
|
+
i && (t = K.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && K.set(e, t));
|
|
19
|
+
}
|
|
20
|
+
return t;
|
|
21
|
+
}
|
|
22
|
+
toString() {
|
|
23
|
+
return this.cssText;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
const ft = (n) => new nt(typeof n == "string" ? n : n + "", void 0, W), wt = (n, ...t) => {
|
|
27
|
+
const e = n.length === 1 ? n[0] : t.reduce((i, s, r) => i + ((o) => {
|
|
28
|
+
if (o._$cssResult$ === !0)
|
|
29
|
+
return o.cssText;
|
|
30
|
+
if (typeof o == "number")
|
|
31
|
+
return o;
|
|
32
|
+
throw Error("Value passed to 'css' function must be a 'css' function result: " + o + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
33
|
+
})(s) + n[r + 1], n[0]);
|
|
34
|
+
return new nt(e, n, W);
|
|
35
|
+
}, yt = (n, t) => {
|
|
36
|
+
V ? n.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet) : t.forEach((e) => {
|
|
37
|
+
const i = document.createElement("style"), s = H.litNonce;
|
|
38
|
+
s !== void 0 && i.setAttribute("nonce", s), i.textContent = e.cssText, n.appendChild(i);
|
|
39
|
+
});
|
|
40
|
+
}, Z = V ? (n) => n : (n) => n instanceof CSSStyleSheet ? ((t) => {
|
|
41
|
+
let e = "";
|
|
42
|
+
for (const i of t.cssRules)
|
|
43
|
+
e += i.cssText;
|
|
44
|
+
return ft(e);
|
|
45
|
+
})(n) : n;
|
|
46
|
+
/**
|
|
47
|
+
* @license
|
|
48
|
+
* Copyright 2017 Google LLC
|
|
49
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
50
|
+
*/
|
|
51
|
+
var R;
|
|
52
|
+
const O = window, J = O.trustedTypes, gt = J ? J.emptyScript : "", F = O.reactiveElementPolyfillSupport, D = { toAttribute(n, t) {
|
|
53
|
+
switch (t) {
|
|
54
|
+
case Boolean:
|
|
55
|
+
n = n ? gt : null;
|
|
56
|
+
break;
|
|
57
|
+
case Object:
|
|
58
|
+
case Array:
|
|
59
|
+
n = n == null ? n : JSON.stringify(n);
|
|
60
|
+
}
|
|
61
|
+
return n;
|
|
62
|
+
}, fromAttribute(n, t) {
|
|
63
|
+
let e = n;
|
|
64
|
+
switch (t) {
|
|
65
|
+
case Boolean:
|
|
66
|
+
e = n !== null;
|
|
67
|
+
break;
|
|
68
|
+
case Number:
|
|
69
|
+
e = n === null ? null : Number(n);
|
|
70
|
+
break;
|
|
71
|
+
case Object:
|
|
72
|
+
case Array:
|
|
73
|
+
try {
|
|
74
|
+
e = JSON.parse(n);
|
|
75
|
+
} catch {
|
|
76
|
+
e = null;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
return e;
|
|
80
|
+
} }, ot = (n, t) => t !== n && (t == t || n == n), M = { attribute: !0, type: String, converter: D, reflect: !1, hasChanged: ot }, I = "finalized";
|
|
81
|
+
class g extends HTMLElement {
|
|
82
|
+
constructor() {
|
|
83
|
+
super(), this._$Ei = /* @__PURE__ */ new Map(), this.isUpdatePending = !1, this.hasUpdated = !1, this._$El = null, this._$Eu();
|
|
84
|
+
}
|
|
85
|
+
static addInitializer(t) {
|
|
86
|
+
var e;
|
|
87
|
+
this.finalize(), ((e = this.h) !== null && e !== void 0 ? e : this.h = []).push(t);
|
|
88
|
+
}
|
|
89
|
+
static get observedAttributes() {
|
|
90
|
+
this.finalize();
|
|
91
|
+
const t = [];
|
|
92
|
+
return this.elementProperties.forEach((e, i) => {
|
|
93
|
+
const s = this._$Ep(i, e);
|
|
94
|
+
s !== void 0 && (this._$Ev.set(s, i), t.push(s));
|
|
95
|
+
}), t;
|
|
96
|
+
}
|
|
97
|
+
static createProperty(t, e = M) {
|
|
98
|
+
if (e.state && (e.attribute = !1), this.finalize(), this.elementProperties.set(t, e), !e.noAccessor && !this.prototype.hasOwnProperty(t)) {
|
|
99
|
+
const i = typeof t == "symbol" ? Symbol() : "__" + t, s = this.getPropertyDescriptor(t, i, e);
|
|
100
|
+
s !== void 0 && Object.defineProperty(this.prototype, t, s);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
static getPropertyDescriptor(t, e, i) {
|
|
104
|
+
return { get() {
|
|
105
|
+
return this[e];
|
|
106
|
+
}, set(s) {
|
|
107
|
+
const r = this[t];
|
|
108
|
+
this[e] = s, this.requestUpdate(t, r, i);
|
|
109
|
+
}, configurable: !0, enumerable: !0 };
|
|
110
|
+
}
|
|
111
|
+
static getPropertyOptions(t) {
|
|
112
|
+
return this.elementProperties.get(t) || M;
|
|
113
|
+
}
|
|
114
|
+
static finalize() {
|
|
115
|
+
if (this.hasOwnProperty(I))
|
|
116
|
+
return !1;
|
|
117
|
+
this[I] = !0;
|
|
118
|
+
const t = Object.getPrototypeOf(this);
|
|
119
|
+
if (t.finalize(), t.h !== void 0 && (this.h = [...t.h]), this.elementProperties = new Map(t.elementProperties), this._$Ev = /* @__PURE__ */ new Map(), this.hasOwnProperty("properties")) {
|
|
120
|
+
const e = this.properties, i = [...Object.getOwnPropertyNames(e), ...Object.getOwnPropertySymbols(e)];
|
|
121
|
+
for (const s of i)
|
|
122
|
+
this.createProperty(s, e[s]);
|
|
123
|
+
}
|
|
124
|
+
return this.elementStyles = this.finalizeStyles(this.styles), !0;
|
|
125
|
+
}
|
|
126
|
+
static finalizeStyles(t) {
|
|
127
|
+
const e = [];
|
|
128
|
+
if (Array.isArray(t)) {
|
|
129
|
+
const i = new Set(t.flat(1 / 0).reverse());
|
|
130
|
+
for (const s of i)
|
|
131
|
+
e.unshift(Z(s));
|
|
132
|
+
} else
|
|
133
|
+
t !== void 0 && e.push(Z(t));
|
|
134
|
+
return e;
|
|
135
|
+
}
|
|
136
|
+
static _$Ep(t, e) {
|
|
137
|
+
const i = e.attribute;
|
|
138
|
+
return i === !1 ? void 0 : typeof i == "string" ? i : typeof t == "string" ? t.toLowerCase() : void 0;
|
|
139
|
+
}
|
|
140
|
+
_$Eu() {
|
|
141
|
+
var t;
|
|
142
|
+
this._$E_ = new Promise((e) => this.enableUpdating = e), this._$AL = /* @__PURE__ */ new Map(), this._$Eg(), this.requestUpdate(), (t = this.constructor.h) === null || t === void 0 || t.forEach((e) => e(this));
|
|
143
|
+
}
|
|
144
|
+
addController(t) {
|
|
145
|
+
var e, i;
|
|
146
|
+
((e = this._$ES) !== null && e !== void 0 ? e : this._$ES = []).push(t), this.renderRoot !== void 0 && this.isConnected && ((i = t.hostConnected) === null || i === void 0 || i.call(t));
|
|
147
|
+
}
|
|
148
|
+
removeController(t) {
|
|
149
|
+
var e;
|
|
150
|
+
(e = this._$ES) === null || e === void 0 || e.splice(this._$ES.indexOf(t) >>> 0, 1);
|
|
151
|
+
}
|
|
152
|
+
_$Eg() {
|
|
153
|
+
this.constructor.elementProperties.forEach((t, e) => {
|
|
154
|
+
this.hasOwnProperty(e) && (this._$Ei.set(e, this[e]), delete this[e]);
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
createRenderRoot() {
|
|
158
|
+
var t;
|
|
159
|
+
const e = (t = this.shadowRoot) !== null && t !== void 0 ? t : this.attachShadow(this.constructor.shadowRootOptions);
|
|
160
|
+
return yt(e, this.constructor.elementStyles), e;
|
|
161
|
+
}
|
|
162
|
+
connectedCallback() {
|
|
163
|
+
var t;
|
|
164
|
+
this.renderRoot === void 0 && (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (t = this._$ES) === null || t === void 0 || t.forEach((e) => {
|
|
165
|
+
var i;
|
|
166
|
+
return (i = e.hostConnected) === null || i === void 0 ? void 0 : i.call(e);
|
|
167
|
+
});
|
|
168
|
+
}
|
|
169
|
+
enableUpdating(t) {
|
|
170
|
+
}
|
|
171
|
+
disconnectedCallback() {
|
|
172
|
+
var t;
|
|
173
|
+
(t = this._$ES) === null || t === void 0 || t.forEach((e) => {
|
|
174
|
+
var i;
|
|
175
|
+
return (i = e.hostDisconnected) === null || i === void 0 ? void 0 : i.call(e);
|
|
176
|
+
});
|
|
177
|
+
}
|
|
178
|
+
attributeChangedCallback(t, e, i) {
|
|
179
|
+
this._$AK(t, i);
|
|
180
|
+
}
|
|
181
|
+
_$EO(t, e, i = M) {
|
|
182
|
+
var s;
|
|
183
|
+
const r = this.constructor._$Ep(t, i);
|
|
184
|
+
if (r !== void 0 && i.reflect === !0) {
|
|
185
|
+
const o = (((s = i.converter) === null || s === void 0 ? void 0 : s.toAttribute) !== void 0 ? i.converter : D).toAttribute(e, i.type);
|
|
186
|
+
this._$El = t, o == null ? this.removeAttribute(r) : this.setAttribute(r, o), this._$El = null;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
_$AK(t, e) {
|
|
190
|
+
var i;
|
|
191
|
+
const s = this.constructor, r = s._$Ev.get(t);
|
|
192
|
+
if (r !== void 0 && this._$El !== r) {
|
|
193
|
+
const o = s.getPropertyOptions(r), a = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((i = o.converter) === null || i === void 0 ? void 0 : i.fromAttribute) !== void 0 ? o.converter : D;
|
|
194
|
+
this._$El = r, this[r] = a.fromAttribute(e, o.type), this._$El = null;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
requestUpdate(t, e, i) {
|
|
198
|
+
let s = !0;
|
|
199
|
+
t !== void 0 && (((i = i || this.constructor.getPropertyOptions(t)).hasChanged || ot)(this[t], e) ? (this._$AL.has(t) || this._$AL.set(t, e), i.reflect === !0 && this._$El !== t && (this._$EC === void 0 && (this._$EC = /* @__PURE__ */ new Map()), this._$EC.set(t, i))) : s = !1), !this.isUpdatePending && s && (this._$E_ = this._$Ej());
|
|
200
|
+
}
|
|
201
|
+
async _$Ej() {
|
|
202
|
+
this.isUpdatePending = !0;
|
|
203
|
+
try {
|
|
204
|
+
await this._$E_;
|
|
205
|
+
} catch (e) {
|
|
206
|
+
Promise.reject(e);
|
|
207
|
+
}
|
|
208
|
+
const t = this.scheduleUpdate();
|
|
209
|
+
return t != null && await t, !this.isUpdatePending;
|
|
210
|
+
}
|
|
211
|
+
scheduleUpdate() {
|
|
212
|
+
return this.performUpdate();
|
|
213
|
+
}
|
|
214
|
+
performUpdate() {
|
|
215
|
+
var t;
|
|
216
|
+
if (!this.isUpdatePending)
|
|
217
|
+
return;
|
|
218
|
+
this._$Ei && (this._$Ei.forEach((s, r) => this[r] = s), this._$Ei = void 0);
|
|
219
|
+
let e = !1;
|
|
220
|
+
const i = this._$AL;
|
|
221
|
+
try {
|
|
222
|
+
e = this.shouldUpdate(i), e ? (this.willUpdate(i), (t = this._$ES) === null || t === void 0 || t.forEach((s) => {
|
|
223
|
+
var r;
|
|
224
|
+
return (r = s.hostUpdate) === null || r === void 0 ? void 0 : r.call(s);
|
|
225
|
+
}), this.update(i)) : this._$Ek();
|
|
226
|
+
} catch (s) {
|
|
227
|
+
throw e = !1, this._$Ek(), s;
|
|
228
|
+
}
|
|
229
|
+
e && this._$AE(i);
|
|
230
|
+
}
|
|
231
|
+
willUpdate(t) {
|
|
232
|
+
}
|
|
233
|
+
_$AE(t) {
|
|
234
|
+
var e;
|
|
235
|
+
(e = this._$ES) === null || e === void 0 || e.forEach((i) => {
|
|
236
|
+
var s;
|
|
237
|
+
return (s = i.hostUpdated) === null || s === void 0 ? void 0 : s.call(i);
|
|
238
|
+
}), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
|
|
239
|
+
}
|
|
240
|
+
_$Ek() {
|
|
241
|
+
this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
|
|
242
|
+
}
|
|
243
|
+
get updateComplete() {
|
|
244
|
+
return this.getUpdateComplete();
|
|
245
|
+
}
|
|
246
|
+
getUpdateComplete() {
|
|
247
|
+
return this._$E_;
|
|
248
|
+
}
|
|
249
|
+
shouldUpdate(t) {
|
|
250
|
+
return !0;
|
|
251
|
+
}
|
|
252
|
+
update(t) {
|
|
253
|
+
this._$EC !== void 0 && (this._$EC.forEach((e, i) => this._$EO(i, this[i], e)), this._$EC = void 0), this._$Ek();
|
|
254
|
+
}
|
|
255
|
+
updated(t) {
|
|
256
|
+
}
|
|
257
|
+
firstUpdated(t) {
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
g[I] = !0, g.elementProperties = /* @__PURE__ */ new Map(), g.elementStyles = [], g.shadowRootOptions = { mode: "open" }, F == null || F({ ReactiveElement: g }), ((R = O.reactiveElementVersions) !== null && R !== void 0 ? R : O.reactiveElementVersions = []).push("1.6.3");
|
|
261
|
+
/**
|
|
262
|
+
* @license
|
|
263
|
+
* Copyright 2017 Google LLC
|
|
264
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
265
|
+
*/
|
|
266
|
+
var L;
|
|
267
|
+
const T = window, m = T.trustedTypes, G = m ? m.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, k = "$lit$", v = `lit$${(Math.random() + "").slice(9)}$`, q = "?" + v, mt = `<${q}>`, f = document, C = () => f.createComment(""), w = (n) => n === null || typeof n != "object" && typeof n != "function", rt = Array.isArray, lt = (n) => rt(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", z = `[
|
|
268
|
+
\f\r]`, b = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Q = /-->/g, X = />/g, _ = RegExp(`>|${z}(?:([^\\s"'>=/]+)(${z}*=${z}*(?:[^
|
|
269
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Y = /'/g, tt = /"/g, ht = /^(?:script|style|textarea|title)$/i, at = (n) => (t, ...e) => ({ _$litType$: n, strings: t, values: e }), Pt = at(1), xt = at(2), E = Symbol.for("lit-noChange"), u = Symbol.for("lit-nothing"), et = /* @__PURE__ */ new WeakMap(), A = f.createTreeWalker(f, 129, null, !1);
|
|
270
|
+
function dt(n, t) {
|
|
271
|
+
if (!Array.isArray(n) || !n.hasOwnProperty("raw"))
|
|
272
|
+
throw Error("invalid template strings array");
|
|
273
|
+
return G !== void 0 ? G.createHTML(t) : t;
|
|
274
|
+
}
|
|
275
|
+
const ct = (n, t) => {
|
|
276
|
+
const e = n.length - 1, i = [];
|
|
277
|
+
let s, r = t === 2 ? "<svg>" : "", o = b;
|
|
278
|
+
for (let a = 0; a < e; a++) {
|
|
279
|
+
const l = n[a];
|
|
280
|
+
let h, d, c = -1, p = 0;
|
|
281
|
+
for (; p < l.length && (o.lastIndex = p, d = o.exec(l), d !== null); )
|
|
282
|
+
p = o.lastIndex, o === b ? d[1] === "!--" ? o = Q : d[1] !== void 0 ? o = X : d[2] !== void 0 ? (ht.test(d[2]) && (s = RegExp("</" + d[2], "g")), o = _) : d[3] !== void 0 && (o = _) : o === _ ? d[0] === ">" ? (o = s ?? b, c = -1) : d[1] === void 0 ? c = -2 : (c = o.lastIndex - d[2].length, h = d[1], o = d[3] === void 0 ? _ : d[3] === '"' ? tt : Y) : o === tt || o === Y ? o = _ : o === Q || o === X ? o = b : (o = _, s = void 0);
|
|
283
|
+
const $ = o === _ && n[a + 1].startsWith("/>") ? " " : "";
|
|
284
|
+
r += o === b ? l + mt : c >= 0 ? (i.push(h), l.slice(0, c) + k + l.slice(c) + v + $) : l + v + (c === -2 ? (i.push(void 0), a) : $);
|
|
285
|
+
}
|
|
286
|
+
return [dt(n, r + (n[e] || "<?>") + (t === 2 ? "</svg>" : "")), i];
|
|
287
|
+
};
|
|
288
|
+
class P {
|
|
289
|
+
constructor({ strings: t, _$litType$: e }, i) {
|
|
290
|
+
let s;
|
|
291
|
+
this.parts = [];
|
|
292
|
+
let r = 0, o = 0;
|
|
293
|
+
const a = t.length - 1, l = this.parts, [h, d] = ct(t, e);
|
|
294
|
+
if (this.el = P.createElement(h, i), A.currentNode = this.el.content, e === 2) {
|
|
295
|
+
const c = this.el.content, p = c.firstChild;
|
|
296
|
+
p.remove(), c.append(...p.childNodes);
|
|
297
|
+
}
|
|
298
|
+
for (; (s = A.nextNode()) !== null && l.length < a; ) {
|
|
299
|
+
if (s.nodeType === 1) {
|
|
300
|
+
if (s.hasAttributes()) {
|
|
301
|
+
const c = [];
|
|
302
|
+
for (const p of s.getAttributeNames())
|
|
303
|
+
if (p.endsWith(k) || p.startsWith(v)) {
|
|
304
|
+
const $ = d[o++];
|
|
305
|
+
if (c.push(p), $ !== void 0) {
|
|
306
|
+
const At = s.getAttribute($.toLowerCase() + k).split(v), U = /([.?@])?(.*)/.exec($);
|
|
307
|
+
l.push({ type: 1, index: r, name: U[2], strings: At, ctor: U[1] === "." ? pt : U[1] === "?" ? $t : U[1] === "@" ? vt : x });
|
|
308
|
+
} else
|
|
309
|
+
l.push({ type: 6, index: r });
|
|
310
|
+
}
|
|
311
|
+
for (const p of c)
|
|
312
|
+
s.removeAttribute(p);
|
|
313
|
+
}
|
|
314
|
+
if (ht.test(s.tagName)) {
|
|
315
|
+
const c = s.textContent.split(v), p = c.length - 1;
|
|
316
|
+
if (p > 0) {
|
|
317
|
+
s.textContent = m ? m.emptyScript : "";
|
|
318
|
+
for (let $ = 0; $ < p; $++)
|
|
319
|
+
s.append(c[$], C()), A.nextNode(), l.push({ type: 2, index: ++r });
|
|
320
|
+
s.append(c[p], C());
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
} else if (s.nodeType === 8)
|
|
324
|
+
if (s.data === q)
|
|
325
|
+
l.push({ type: 2, index: r });
|
|
326
|
+
else {
|
|
327
|
+
let c = -1;
|
|
328
|
+
for (; (c = s.data.indexOf(v, c + 1)) !== -1; )
|
|
329
|
+
l.push({ type: 7, index: r }), c += v.length - 1;
|
|
330
|
+
}
|
|
331
|
+
r++;
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
static createElement(t, e) {
|
|
335
|
+
const i = f.createElement("template");
|
|
336
|
+
return i.innerHTML = t, i;
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
function y(n, t, e = n, i) {
|
|
340
|
+
var s, r, o, a;
|
|
341
|
+
if (t === E)
|
|
342
|
+
return t;
|
|
343
|
+
let l = i !== void 0 ? (s = e._$Co) === null || s === void 0 ? void 0 : s[i] : e._$Cl;
|
|
344
|
+
const h = w(t) ? void 0 : t._$litDirective$;
|
|
345
|
+
return (l == null ? void 0 : l.constructor) !== h && ((r = l == null ? void 0 : l._$AO) === null || r === void 0 || r.call(l, !1), h === void 0 ? l = void 0 : (l = new h(n), l._$AT(n, e, i)), i !== void 0 ? ((o = (a = e)._$Co) !== null && o !== void 0 ? o : a._$Co = [])[i] = l : e._$Cl = l), l !== void 0 && (t = y(n, l._$AS(n, t.values), l, i)), t;
|
|
346
|
+
}
|
|
347
|
+
class ut {
|
|
348
|
+
constructor(t, e) {
|
|
349
|
+
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
|
350
|
+
}
|
|
351
|
+
get parentNode() {
|
|
352
|
+
return this._$AM.parentNode;
|
|
353
|
+
}
|
|
354
|
+
get _$AU() {
|
|
355
|
+
return this._$AM._$AU;
|
|
356
|
+
}
|
|
357
|
+
u(t) {
|
|
358
|
+
var e;
|
|
359
|
+
const { el: { content: i }, parts: s } = this._$AD, r = ((e = t == null ? void 0 : t.creationScope) !== null && e !== void 0 ? e : f).importNode(i, !0);
|
|
360
|
+
A.currentNode = r;
|
|
361
|
+
let o = A.nextNode(), a = 0, l = 0, h = s[0];
|
|
362
|
+
for (; h !== void 0; ) {
|
|
363
|
+
if (a === h.index) {
|
|
364
|
+
let d;
|
|
365
|
+
h.type === 2 ? d = new S(o, o.nextSibling, this, t) : h.type === 1 ? d = new h.ctor(o, h.name, h.strings, this, t) : h.type === 6 && (d = new _t(o, this, t)), this._$AV.push(d), h = s[++l];
|
|
366
|
+
}
|
|
367
|
+
a !== (h == null ? void 0 : h.index) && (o = A.nextNode(), a++);
|
|
368
|
+
}
|
|
369
|
+
return A.currentNode = f, r;
|
|
370
|
+
}
|
|
371
|
+
v(t) {
|
|
372
|
+
let e = 0;
|
|
373
|
+
for (const i of this._$AV)
|
|
374
|
+
i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, e), e += i.strings.length - 2) : i._$AI(t[e])), e++;
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
class S {
|
|
378
|
+
constructor(t, e, i, s) {
|
|
379
|
+
var r;
|
|
380
|
+
this.type = 2, this._$AH = u, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = i, this.options = s, this._$Cp = (r = s == null ? void 0 : s.isConnected) === null || r === void 0 || r;
|
|
381
|
+
}
|
|
382
|
+
get _$AU() {
|
|
383
|
+
var t, e;
|
|
384
|
+
return (e = (t = this._$AM) === null || t === void 0 ? void 0 : t._$AU) !== null && e !== void 0 ? e : this._$Cp;
|
|
385
|
+
}
|
|
386
|
+
get parentNode() {
|
|
387
|
+
let t = this._$AA.parentNode;
|
|
388
|
+
const e = this._$AM;
|
|
389
|
+
return e !== void 0 && (t == null ? void 0 : t.nodeType) === 11 && (t = e.parentNode), t;
|
|
390
|
+
}
|
|
391
|
+
get startNode() {
|
|
392
|
+
return this._$AA;
|
|
393
|
+
}
|
|
394
|
+
get endNode() {
|
|
395
|
+
return this._$AB;
|
|
396
|
+
}
|
|
397
|
+
_$AI(t, e = this) {
|
|
398
|
+
t = y(this, t, e), w(t) ? t === u || t == null || t === "" ? (this._$AH !== u && this._$AR(), this._$AH = u) : t !== this._$AH && t !== E && this._(t) : t._$litType$ !== void 0 ? this.g(t) : t.nodeType !== void 0 ? this.$(t) : lt(t) ? this.T(t) : this._(t);
|
|
399
|
+
}
|
|
400
|
+
k(t) {
|
|
401
|
+
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
402
|
+
}
|
|
403
|
+
$(t) {
|
|
404
|
+
this._$AH !== t && (this._$AR(), this._$AH = this.k(t));
|
|
405
|
+
}
|
|
406
|
+
_(t) {
|
|
407
|
+
this._$AH !== u && w(this._$AH) ? this._$AA.nextSibling.data = t : this.$(f.createTextNode(t)), this._$AH = t;
|
|
408
|
+
}
|
|
409
|
+
g(t) {
|
|
410
|
+
var e;
|
|
411
|
+
const { values: i, _$litType$: s } = t, r = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = P.createElement(dt(s.h, s.h[0]), this.options)), s);
|
|
412
|
+
if (((e = this._$AH) === null || e === void 0 ? void 0 : e._$AD) === r)
|
|
413
|
+
this._$AH.v(i);
|
|
414
|
+
else {
|
|
415
|
+
const o = new ut(r, this), a = o.u(this.options);
|
|
416
|
+
o.v(i), this.$(a), this._$AH = o;
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
_$AC(t) {
|
|
420
|
+
let e = et.get(t.strings);
|
|
421
|
+
return e === void 0 && et.set(t.strings, e = new P(t)), e;
|
|
422
|
+
}
|
|
423
|
+
T(t) {
|
|
424
|
+
rt(this._$AH) || (this._$AH = [], this._$AR());
|
|
425
|
+
const e = this._$AH;
|
|
426
|
+
let i, s = 0;
|
|
427
|
+
for (const r of t)
|
|
428
|
+
s === e.length ? e.push(i = new S(this.k(C()), this.k(C()), this, this.options)) : i = e[s], i._$AI(r), s++;
|
|
429
|
+
s < e.length && (this._$AR(i && i._$AB.nextSibling, s), e.length = s);
|
|
430
|
+
}
|
|
431
|
+
_$AR(t = this._$AA.nextSibling, e) {
|
|
432
|
+
var i;
|
|
433
|
+
for ((i = this._$AP) === null || i === void 0 || i.call(this, !1, !0, e); t && t !== this._$AB; ) {
|
|
434
|
+
const s = t.nextSibling;
|
|
435
|
+
t.remove(), t = s;
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
setConnected(t) {
|
|
439
|
+
var e;
|
|
440
|
+
this._$AM === void 0 && (this._$Cp = t, (e = this._$AP) === null || e === void 0 || e.call(this, t));
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
class x {
|
|
444
|
+
constructor(t, e, i, s, r) {
|
|
445
|
+
this.type = 1, this._$AH = u, this._$AN = void 0, this.element = t, this.name = e, this._$AM = s, this.options = r, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = u;
|
|
446
|
+
}
|
|
447
|
+
get tagName() {
|
|
448
|
+
return this.element.tagName;
|
|
449
|
+
}
|
|
450
|
+
get _$AU() {
|
|
451
|
+
return this._$AM._$AU;
|
|
452
|
+
}
|
|
453
|
+
_$AI(t, e = this, i, s) {
|
|
454
|
+
const r = this.strings;
|
|
455
|
+
let o = !1;
|
|
456
|
+
if (r === void 0)
|
|
457
|
+
t = y(this, t, e, 0), o = !w(t) || t !== this._$AH && t !== E, o && (this._$AH = t);
|
|
458
|
+
else {
|
|
459
|
+
const a = t;
|
|
460
|
+
let l, h;
|
|
461
|
+
for (t = r[0], l = 0; l < r.length - 1; l++)
|
|
462
|
+
h = y(this, a[i + l], e, l), h === E && (h = this._$AH[l]), o || (o = !w(h) || h !== this._$AH[l]), h === u ? t = u : t !== u && (t += (h ?? "") + r[l + 1]), this._$AH[l] = h;
|
|
463
|
+
}
|
|
464
|
+
o && !s && this.j(t);
|
|
465
|
+
}
|
|
466
|
+
j(t) {
|
|
467
|
+
t === u ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
class pt extends x {
|
|
471
|
+
constructor() {
|
|
472
|
+
super(...arguments), this.type = 3;
|
|
473
|
+
}
|
|
474
|
+
j(t) {
|
|
475
|
+
this.element[this.name] = t === u ? void 0 : t;
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
const Et = m ? m.emptyScript : "";
|
|
479
|
+
class $t extends x {
|
|
480
|
+
constructor() {
|
|
481
|
+
super(...arguments), this.type = 4;
|
|
482
|
+
}
|
|
483
|
+
j(t) {
|
|
484
|
+
t && t !== u ? this.element.setAttribute(this.name, Et) : this.element.removeAttribute(this.name);
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
class vt extends x {
|
|
488
|
+
constructor(t, e, i, s, r) {
|
|
489
|
+
super(t, e, i, s, r), this.type = 5;
|
|
490
|
+
}
|
|
491
|
+
_$AI(t, e = this) {
|
|
492
|
+
var i;
|
|
493
|
+
if ((t = (i = y(this, t, e, 0)) !== null && i !== void 0 ? i : u) === E)
|
|
494
|
+
return;
|
|
495
|
+
const s = this._$AH, r = t === u && s !== u || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, o = t !== u && (s === u || r);
|
|
496
|
+
r && this.element.removeEventListener(this.name, this, s), o && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
497
|
+
}
|
|
498
|
+
handleEvent(t) {
|
|
499
|
+
var e, i;
|
|
500
|
+
typeof this._$AH == "function" ? this._$AH.call((i = (e = this.options) === null || e === void 0 ? void 0 : e.host) !== null && i !== void 0 ? i : this.element, t) : this._$AH.handleEvent(t);
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
class _t {
|
|
504
|
+
constructor(t, e, i) {
|
|
505
|
+
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
|
|
506
|
+
}
|
|
507
|
+
get _$AU() {
|
|
508
|
+
return this._$AM._$AU;
|
|
509
|
+
}
|
|
510
|
+
_$AI(t) {
|
|
511
|
+
y(this, t);
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
const Ut = { O: k, P: v, A: q, C: 1, M: ct, L: ut, R: lt, D: y, I: S, V: x, H: $t, N: vt, U: pt, F: _t }, it = T.litHtmlPolyfillSupport;
|
|
515
|
+
it == null || it(P, S), ((L = T.litHtmlVersions) !== null && L !== void 0 ? L : T.litHtmlVersions = []).push("2.8.0");
|
|
516
|
+
const St = (n, t, e) => {
|
|
517
|
+
var i, s;
|
|
518
|
+
const r = (i = e == null ? void 0 : e.renderBefore) !== null && i !== void 0 ? i : t;
|
|
519
|
+
let o = r._$litPart$;
|
|
520
|
+
if (o === void 0) {
|
|
521
|
+
const a = (s = e == null ? void 0 : e.renderBefore) !== null && s !== void 0 ? s : null;
|
|
522
|
+
r._$litPart$ = o = new S(t.insertBefore(C(), a), a, void 0, e ?? {});
|
|
523
|
+
}
|
|
524
|
+
return o._$AI(n), o;
|
|
525
|
+
};
|
|
526
|
+
/**
|
|
527
|
+
* @license
|
|
528
|
+
* Copyright 2017 Google LLC
|
|
529
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
530
|
+
*/
|
|
531
|
+
var j, B;
|
|
532
|
+
class N extends g {
|
|
533
|
+
constructor() {
|
|
534
|
+
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
535
|
+
}
|
|
536
|
+
createRenderRoot() {
|
|
537
|
+
var t, e;
|
|
538
|
+
const i = super.createRenderRoot();
|
|
539
|
+
return (t = (e = this.renderOptions).renderBefore) !== null && t !== void 0 || (e.renderBefore = i.firstChild), i;
|
|
540
|
+
}
|
|
541
|
+
update(t) {
|
|
542
|
+
const e = this.render();
|
|
543
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = St(e, this.renderRoot, this.renderOptions);
|
|
544
|
+
}
|
|
545
|
+
connectedCallback() {
|
|
546
|
+
var t;
|
|
547
|
+
super.connectedCallback(), (t = this._$Do) === null || t === void 0 || t.setConnected(!0);
|
|
548
|
+
}
|
|
549
|
+
disconnectedCallback() {
|
|
550
|
+
var t;
|
|
551
|
+
super.disconnectedCallback(), (t = this._$Do) === null || t === void 0 || t.setConnected(!1);
|
|
552
|
+
}
|
|
553
|
+
render() {
|
|
554
|
+
return E;
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
N.finalized = !0, N._$litElement$ = !0, (j = globalThis.litElementHydrateSupport) === null || j === void 0 || j.call(globalThis, { LitElement: N });
|
|
558
|
+
const st = globalThis.litElementPolyfillSupport;
|
|
559
|
+
st == null || st({ LitElement: N });
|
|
560
|
+
((B = globalThis.litElementVersions) !== null && B !== void 0 ? B : globalThis.litElementVersions = []).push("3.3.3");
|
|
561
|
+
/**
|
|
562
|
+
* @license
|
|
563
|
+
* Copyright 2017 Google LLC
|
|
564
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
565
|
+
*/
|
|
566
|
+
const bt = (n, t) => t.kind === "method" && t.descriptor && !("value" in t.descriptor) ? { ...t, finisher(e) {
|
|
567
|
+
e.createProperty(t.key, n);
|
|
568
|
+
} } : { kind: "field", key: Symbol(), placement: "own", descriptor: {}, originalKey: t.key, initializer() {
|
|
569
|
+
typeof t.initializer == "function" && (this[t.key] = t.initializer.call(this));
|
|
570
|
+
}, finisher(e) {
|
|
571
|
+
e.createProperty(t.key, n);
|
|
572
|
+
} }, Ct = (n, t, e) => {
|
|
573
|
+
t.constructor.createProperty(e, n);
|
|
574
|
+
};
|
|
575
|
+
function Ht(n) {
|
|
576
|
+
return (t, e) => e !== void 0 ? Ct(n, t, e) : bt(n, t);
|
|
577
|
+
}
|
|
578
|
+
export {
|
|
579
|
+
u as A,
|
|
580
|
+
St as D,
|
|
581
|
+
E as T,
|
|
582
|
+
xt as b,
|
|
583
|
+
V as e,
|
|
584
|
+
wt as i,
|
|
585
|
+
Ut as j,
|
|
586
|
+
Ht as n,
|
|
587
|
+
N as s,
|
|
588
|
+
Pt as x
|
|
589
|
+
};
|
package/dist/react.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("react");const e=require("./index-29d0e781.cjs");require("react-dom");exports.ArchiveIcon=e.ArchiveIcon;exports.ArrowIcon=e.ArrowIcon;exports.BoldIcon=e.BoldIcon;exports.CalendarCancelIcon=e.CalendarCancelIcon;exports.CalendarCheckIcon=e.CalendarCheckIcon;exports.CalendarIcon=e.CalendarIcon;exports.CheckmarkCircleIcon=e.CheckmarkCircleIcon;exports.ChevronIcon=e.ChevronIcon;exports.CloseIcon=e.CloseIcon;exports.DocumentRefreshIcon=e.DocumentRefreshIcon;exports.FolderIcon=e.FolderIcon;exports.ForwardIcon=e.ForwardIcon;exports.GlobeIcon=e.GlobeIcon;exports.InboxIcon=e.InboxIcon;exports.ItalicIcon=e.ItalicIcon;exports.LoadingIcon=e.LoadingIcon;exports.NylasBookedEventCard=e.NylasBookedEventCard;exports.NylasBookingForm=e.NylasBookingForm;exports.NylasCancelledEventCard=e.NylasCancelledEventCard;exports.NylasComposer=e.NylasComposer;exports.NylasDatePicker=e.NylasDatePicker;exports.NylasIfState=e.NylasIfState;exports.NylasListFolders=e.NylasListFolders;exports.NylasListThreads=e.NylasListThreads;exports.NylasLocaleSwitch=e.NylasLocaleSwitch;exports.NylasLogin=e.NylasLogin;exports.NylasLogo=e.NylasLogo;exports.NylasMailbox=e.NylasMailbox;exports.NylasMailboxPagination=e.NylasMailboxPagination;exports.NylasMailboxToolbarButton=e.NylasMailboxToolbarButton;exports.NylasNotification=e.NylasNotification;exports.NylasOpenHoursPicker=e.NylasOpenHoursPicker;exports.NylasProvider=e.NylasProvider;exports.NylasScheduler=e.NylasScheduler;exports.NylasSelectedEventCard=e.NylasSelectedEventCard;exports.NylasSummarizeMessageButton=e.NylasSummarizeMessageButton;exports.NylasThreadsRefresh=e.NylasThreadsRefresh;exports.NylasThreadsSearch=e.NylasThreadsSearch;exports.NylasTimeslotPicker=e.NylasTimeslotPicker;exports.NylasViewEmail=e.NylasViewEmail;exports.NylasViewThread=e.NylasViewThread;exports.PeopleIcon=e.PeopleIcon;exports.PlayIcon=e.PlayIcon;exports.RefreshIcon=e.RefreshIcon;exports.ReplyAllIcon=e.ReplyAllIcon;exports.ReplyIcon=e.ReplyIcon;exports.SentIcon=e.SentIcon;exports.SpamIcon=e.SpamIcon;exports.StarIcon=e.StarIcon;exports.StopIcon=e.StopIcon;exports.TranslateIcon=e.TranslateIcon;exports.TrashIcon=e.TrashIcon;exports.UnderlineIcon=e.UnderlineIcon;exports.WarningIcon=e.WarningIcon;exports.applyPolyfills=e.applyPolyfills;exports.defineCustomElements=e.defineCustomElements;exports.useNylasMailboxElement=e.useNylasMailboxElement;
|
package/dist/react.js
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import "react";
|
|
2
|
+
import { A as l, e as n, B as c, C as r, i, j as I, k as y, l as t, m as N, D as d, n as m, o as C, G as h, I as p, p as S, L as k, N as u, q as P, s as T, t as b, v as f, w as g, x as v, y as x, z as E, E as L, J as w, K as B, M, O as R, P as A, Q as F, R as D, S as V, T as z, U as G, V as O, W as U, X as W, Y as j, Z as q, _ as H, $ as J, a0 as K, a1 as Q, a2 as X, a3 as Y, a4 as Z, a5 as _, a6 as $, a7 as aa, a8 as sa, a9 as oa, aa as ea, b as la, d as na, u as ca } from "./index-4f65b6f9.js";
|
|
3
|
+
import "react-dom";
|
|
4
|
+
export {
|
|
5
|
+
l as ArchiveIcon,
|
|
6
|
+
n as ArrowIcon,
|
|
7
|
+
c as BoldIcon,
|
|
8
|
+
r as CalendarCancelIcon,
|
|
9
|
+
i as CalendarCheckIcon,
|
|
10
|
+
I as CalendarIcon,
|
|
11
|
+
y as CheckmarkCircleIcon,
|
|
12
|
+
t as ChevronIcon,
|
|
13
|
+
N as CloseIcon,
|
|
14
|
+
d as DocumentRefreshIcon,
|
|
15
|
+
m as FolderIcon,
|
|
16
|
+
C as ForwardIcon,
|
|
17
|
+
h as GlobeIcon,
|
|
18
|
+
p as InboxIcon,
|
|
19
|
+
S as ItalicIcon,
|
|
20
|
+
k as LoadingIcon,
|
|
21
|
+
u as NylasBookedEventCard,
|
|
22
|
+
P as NylasBookingForm,
|
|
23
|
+
T as NylasCancelledEventCard,
|
|
24
|
+
b as NylasComposer,
|
|
25
|
+
f as NylasDatePicker,
|
|
26
|
+
g as NylasIfState,
|
|
27
|
+
v as NylasListFolders,
|
|
28
|
+
x as NylasListThreads,
|
|
29
|
+
E as NylasLocaleSwitch,
|
|
30
|
+
L as NylasLogin,
|
|
31
|
+
w as NylasLogo,
|
|
32
|
+
B as NylasMailbox,
|
|
33
|
+
M as NylasMailboxPagination,
|
|
34
|
+
R as NylasMailboxToolbarButton,
|
|
35
|
+
A as NylasNotification,
|
|
36
|
+
F as NylasOpenHoursPicker,
|
|
37
|
+
D as NylasProvider,
|
|
38
|
+
V as NylasScheduler,
|
|
39
|
+
z as NylasSelectedEventCard,
|
|
40
|
+
G as NylasSummarizeMessageButton,
|
|
41
|
+
O as NylasThreadsRefresh,
|
|
42
|
+
U as NylasThreadsSearch,
|
|
43
|
+
W as NylasTimeslotPicker,
|
|
44
|
+
j as NylasViewEmail,
|
|
45
|
+
q as NylasViewThread,
|
|
46
|
+
H as PeopleIcon,
|
|
47
|
+
J as PlayIcon,
|
|
48
|
+
K as RefreshIcon,
|
|
49
|
+
Q as ReplyAllIcon,
|
|
50
|
+
X as ReplyIcon,
|
|
51
|
+
Y as SentIcon,
|
|
52
|
+
Z as SpamIcon,
|
|
53
|
+
_ as StarIcon,
|
|
54
|
+
$ as StopIcon,
|
|
55
|
+
aa as TranslateIcon,
|
|
56
|
+
sa as TrashIcon,
|
|
57
|
+
oa as UnderlineIcon,
|
|
58
|
+
ea as WarningIcon,
|
|
59
|
+
la as applyPolyfills,
|
|
60
|
+
na as defineCustomElements,
|
|
61
|
+
ca as useNylasMailboxElement
|
|
62
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { r as e, h as c } from "./index-4f65b6f9.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import "react-dom";
|
|
4
|
+
const t = ".sc-refresh-icon-h{display:flex}", l = t, h = class {
|
|
5
|
+
constructor(s) {
|
|
6
|
+
e(this, s), this.width = "15", this.height = "15";
|
|
7
|
+
}
|
|
8
|
+
render() {
|
|
9
|
+
return c("svg", { key: "ca078c7b5d03fdf36c79f63da707997d185a6fdf", fill: "auto", width: this.width, height: this.height, viewBox: "0 0 32 32", version: "1.1", xmlns: "http://www.w3.org/2000/svg" }, c("path", { key: "2ad6d8ea518cf1dca9b97aeffc85e3c4f436ea54", 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" }));
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
h.style = l;
|
|
13
|
+
export {
|
|
14
|
+
h as refresh_icon
|
|
15
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index-29d0e781.cjs");require("react");require("react-dom");const t=".sc-refresh-icon-h{display:flex}",i=t,e=class{constructor(s){c.registerInstance(this,s),this.width="15",this.height="15"}render(){return c.h("svg",{key:"ca078c7b5d03fdf36c79f63da707997d185a6fdf",fill:"auto",width:this.width,height:this.height,viewBox:"0 0 32 32",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},c.h("path",{key:"2ad6d8ea518cf1dca9b97aeffc85e3c4f436ea54",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"}))}};e.style=i;exports.refresh_icon=e;
|