@resq-systems/email-templates 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +236 -0
- package/lib/contract.d.ts +125 -0
- package/lib/contract.d.ts.map +1 -0
- package/lib/contract.js +29 -0
- package/lib/contract.js.map +1 -0
- package/lib/emails/incident-alert.d.ts +8 -0
- package/lib/emails/incident-alert.d.ts.map +1 -0
- package/lib/emails/incident-alert.js +44 -0
- package/lib/emails/incident-alert.js.map +1 -0
- package/lib/emails/index.d.ts +13 -0
- package/lib/emails/index.js +13 -0
- package/lib/emails/mission-approval.d.ts +8 -0
- package/lib/emails/mission-approval.d.ts.map +1 -0
- package/lib/emails/mission-approval.js +46 -0
- package/lib/emails/mission-approval.js.map +1 -0
- package/lib/emails/new-device-login.d.ts +8 -0
- package/lib/emails/new-device-login.d.ts.map +1 -0
- package/lib/emails/new-device-login.js +47 -0
- package/lib/emails/new-device-login.js.map +1 -0
- package/lib/emails/notification.d.ts +8 -0
- package/lib/emails/notification.d.ts.map +1 -0
- package/lib/emails/notification.js +33 -0
- package/lib/emails/notification.js.map +1 -0
- package/lib/emails/org-invitation.d.ts +8 -0
- package/lib/emails/org-invitation.d.ts.map +1 -0
- package/lib/emails/org-invitation.js +41 -0
- package/lib/emails/org-invitation.js.map +1 -0
- package/lib/emails/otp.d.ts +11 -0
- package/lib/emails/otp.d.ts.map +1 -0
- package/lib/emails/otp.js +37 -0
- package/lib/emails/otp.js.map +1 -0
- package/lib/emails/password-changed.d.ts +8 -0
- package/lib/emails/password-changed.d.ts.map +1 -0
- package/lib/emails/password-changed.js +36 -0
- package/lib/emails/password-changed.js.map +1 -0
- package/lib/emails/password-reset.d.ts +8 -0
- package/lib/emails/password-reset.d.ts.map +1 -0
- package/lib/emails/password-reset.js +37 -0
- package/lib/emails/password-reset.js.map +1 -0
- package/lib/emails/primitives.d.ts +94 -0
- package/lib/emails/primitives.d.ts.map +1 -0
- package/lib/emails/primitives.js +233 -0
- package/lib/emails/primitives.js.map +1 -0
- package/lib/emails/theme.d.ts +89 -0
- package/lib/emails/theme.d.ts.map +1 -0
- package/lib/emails/theme.js +93 -0
- package/lib/emails/theme.js.map +1 -0
- package/lib/emails/tokens.d.ts +65 -0
- package/lib/emails/tokens.d.ts.map +1 -0
- package/lib/emails/tokens.js +46 -0
- package/lib/emails/tokens.js.map +1 -0
- package/lib/emails/welcome.d.ts +8 -0
- package/lib/emails/welcome.d.ts.map +1 -0
- package/lib/emails/welcome.js +32 -0
- package/lib/emails/welcome.js.map +1 -0
- package/lib/index.d.ts +8 -0
- package/lib/index.js +8 -0
- package/lib/mailer.d.ts +89 -0
- package/lib/mailer.d.ts.map +1 -0
- package/lib/mailer.js +85 -0
- package/lib/mailer.js.map +1 -0
- package/lib/node_modules/@react-email/tailwind/dist/index.d.ts +9 -0
- package/lib/node_modules/@react-email/tailwind/dist/index.d.ts.map +1 -0
- package/lib/node_modules/tailwindcss/dist/colors.d.ts +349 -0
- package/lib/node_modules/tailwindcss/dist/colors.d.ts.map +1 -0
- package/lib/node_modules/tailwindcss/dist/lib.d.ts +6 -0
- package/lib/node_modules/tailwindcss/dist/lib.d.ts.map +1 -0
- package/lib/node_modules/tailwindcss/dist/resolve-config-QUZ9b-Gn.d.ts +29 -0
- package/lib/node_modules/tailwindcss/dist/resolve-config-QUZ9b-Gn.d.ts.map +1 -0
- package/lib/node_modules/tailwindcss/dist/types-DWdTiksJ.d.ts +126 -0
- package/lib/node_modules/tailwindcss/dist/types-DWdTiksJ.d.ts.map +1 -0
- package/lib/registry.d.ts +25 -0
- package/lib/registry.d.ts.map +1 -0
- package/lib/registry.js +26 -0
- package/lib/registry.js.map +1 -0
- package/lib/render.d.ts +13 -0
- package/lib/render.d.ts.map +1 -0
- package/lib/render.js +29 -0
- package/lib/render.js.map +1 -0
- package/lib/schemas.d.ts +86 -0
- package/lib/schemas.d.ts.map +1 -0
- package/lib/schemas.js +104 -0
- package/lib/schemas.js.map +1 -0
- package/lib/send/index.d.ts +4 -0
- package/lib/send/index.js +3 -0
- package/lib/send/resend-sender.d.ts +14 -0
- package/lib/send/resend-sender.d.ts.map +1 -0
- package/lib/send/resend-sender.js +76 -0
- package/lib/send/resend-sender.js.map +1 -0
- package/lib/send/send-email.d.ts +19 -0
- package/lib/send/send-email.d.ts.map +1 -0
- package/lib/send/send-email.js +67 -0
- package/lib/send/send-email.js.map +1 -0
- package/lib/send/sender.d.ts +58 -0
- package/lib/send/sender.d.ts.map +1 -0
- package/lib/send/sender.js +0 -0
- package/lib/suite.d.ts +130 -0
- package/lib/suite.d.ts.map +1 -0
- package/lib/suite.js +28 -0
- package/lib/suite.js.map +1 -0
- package/lib/templates.d.ts +131 -0
- package/lib/templates.d.ts.map +1 -0
- package/lib/templates.js +98 -0
- package/lib/templates.js.map +1 -0
- package/package.json +95 -0
|
@@ -0,0 +1,349 @@
|
|
|
1
|
+
//#region ../../node_modules/tailwindcss/dist/colors.d.mts
|
|
2
|
+
declare const _default: {
|
|
3
|
+
inherit: string;
|
|
4
|
+
current: string;
|
|
5
|
+
transparent: string;
|
|
6
|
+
black: string;
|
|
7
|
+
white: string;
|
|
8
|
+
slate: {
|
|
9
|
+
'50': string;
|
|
10
|
+
'100': string;
|
|
11
|
+
'200': string;
|
|
12
|
+
'300': string;
|
|
13
|
+
'400': string;
|
|
14
|
+
'500': string;
|
|
15
|
+
'600': string;
|
|
16
|
+
'700': string;
|
|
17
|
+
'800': string;
|
|
18
|
+
'900': string;
|
|
19
|
+
'950': string;
|
|
20
|
+
};
|
|
21
|
+
gray: {
|
|
22
|
+
'50': string;
|
|
23
|
+
'100': string;
|
|
24
|
+
'200': string;
|
|
25
|
+
'300': string;
|
|
26
|
+
'400': string;
|
|
27
|
+
'500': string;
|
|
28
|
+
'600': string;
|
|
29
|
+
'700': string;
|
|
30
|
+
'800': string;
|
|
31
|
+
'900': string;
|
|
32
|
+
'950': string;
|
|
33
|
+
};
|
|
34
|
+
zinc: {
|
|
35
|
+
'50': string;
|
|
36
|
+
'100': string;
|
|
37
|
+
'200': string;
|
|
38
|
+
'300': string;
|
|
39
|
+
'400': string;
|
|
40
|
+
'500': string;
|
|
41
|
+
'600': string;
|
|
42
|
+
'700': string;
|
|
43
|
+
'800': string;
|
|
44
|
+
'900': string;
|
|
45
|
+
'950': string;
|
|
46
|
+
};
|
|
47
|
+
neutral: {
|
|
48
|
+
'50': string;
|
|
49
|
+
'100': string;
|
|
50
|
+
'200': string;
|
|
51
|
+
'300': string;
|
|
52
|
+
'400': string;
|
|
53
|
+
'500': string;
|
|
54
|
+
'600': string;
|
|
55
|
+
'700': string;
|
|
56
|
+
'800': string;
|
|
57
|
+
'900': string;
|
|
58
|
+
'950': string;
|
|
59
|
+
};
|
|
60
|
+
stone: {
|
|
61
|
+
'50': string;
|
|
62
|
+
'100': string;
|
|
63
|
+
'200': string;
|
|
64
|
+
'300': string;
|
|
65
|
+
'400': string;
|
|
66
|
+
'500': string;
|
|
67
|
+
'600': string;
|
|
68
|
+
'700': string;
|
|
69
|
+
'800': string;
|
|
70
|
+
'900': string;
|
|
71
|
+
'950': string;
|
|
72
|
+
};
|
|
73
|
+
mauve: {
|
|
74
|
+
'50': string;
|
|
75
|
+
'100': string;
|
|
76
|
+
'200': string;
|
|
77
|
+
'300': string;
|
|
78
|
+
'400': string;
|
|
79
|
+
'500': string;
|
|
80
|
+
'600': string;
|
|
81
|
+
'700': string;
|
|
82
|
+
'800': string;
|
|
83
|
+
'900': string;
|
|
84
|
+
'950': string;
|
|
85
|
+
};
|
|
86
|
+
olive: {
|
|
87
|
+
'50': string;
|
|
88
|
+
'100': string;
|
|
89
|
+
'200': string;
|
|
90
|
+
'300': string;
|
|
91
|
+
'400': string;
|
|
92
|
+
'500': string;
|
|
93
|
+
'600': string;
|
|
94
|
+
'700': string;
|
|
95
|
+
'800': string;
|
|
96
|
+
'900': string;
|
|
97
|
+
'950': string;
|
|
98
|
+
};
|
|
99
|
+
mist: {
|
|
100
|
+
'50': string;
|
|
101
|
+
'100': string;
|
|
102
|
+
'200': string;
|
|
103
|
+
'300': string;
|
|
104
|
+
'400': string;
|
|
105
|
+
'500': string;
|
|
106
|
+
'600': string;
|
|
107
|
+
'700': string;
|
|
108
|
+
'800': string;
|
|
109
|
+
'900': string;
|
|
110
|
+
'950': string;
|
|
111
|
+
};
|
|
112
|
+
taupe: {
|
|
113
|
+
'50': string;
|
|
114
|
+
'100': string;
|
|
115
|
+
'200': string;
|
|
116
|
+
'300': string;
|
|
117
|
+
'400': string;
|
|
118
|
+
'500': string;
|
|
119
|
+
'600': string;
|
|
120
|
+
'700': string;
|
|
121
|
+
'800': string;
|
|
122
|
+
'900': string;
|
|
123
|
+
'950': string;
|
|
124
|
+
};
|
|
125
|
+
red: {
|
|
126
|
+
'50': string;
|
|
127
|
+
'100': string;
|
|
128
|
+
'200': string;
|
|
129
|
+
'300': string;
|
|
130
|
+
'400': string;
|
|
131
|
+
'500': string;
|
|
132
|
+
'600': string;
|
|
133
|
+
'700': string;
|
|
134
|
+
'800': string;
|
|
135
|
+
'900': string;
|
|
136
|
+
'950': string;
|
|
137
|
+
};
|
|
138
|
+
orange: {
|
|
139
|
+
'50': string;
|
|
140
|
+
'100': string;
|
|
141
|
+
'200': string;
|
|
142
|
+
'300': string;
|
|
143
|
+
'400': string;
|
|
144
|
+
'500': string;
|
|
145
|
+
'600': string;
|
|
146
|
+
'700': string;
|
|
147
|
+
'800': string;
|
|
148
|
+
'900': string;
|
|
149
|
+
'950': string;
|
|
150
|
+
};
|
|
151
|
+
amber: {
|
|
152
|
+
'50': string;
|
|
153
|
+
'100': string;
|
|
154
|
+
'200': string;
|
|
155
|
+
'300': string;
|
|
156
|
+
'400': string;
|
|
157
|
+
'500': string;
|
|
158
|
+
'600': string;
|
|
159
|
+
'700': string;
|
|
160
|
+
'800': string;
|
|
161
|
+
'900': string;
|
|
162
|
+
'950': string;
|
|
163
|
+
};
|
|
164
|
+
yellow: {
|
|
165
|
+
'50': string;
|
|
166
|
+
'100': string;
|
|
167
|
+
'200': string;
|
|
168
|
+
'300': string;
|
|
169
|
+
'400': string;
|
|
170
|
+
'500': string;
|
|
171
|
+
'600': string;
|
|
172
|
+
'700': string;
|
|
173
|
+
'800': string;
|
|
174
|
+
'900': string;
|
|
175
|
+
'950': string;
|
|
176
|
+
};
|
|
177
|
+
lime: {
|
|
178
|
+
'50': string;
|
|
179
|
+
'100': string;
|
|
180
|
+
'200': string;
|
|
181
|
+
'300': string;
|
|
182
|
+
'400': string;
|
|
183
|
+
'500': string;
|
|
184
|
+
'600': string;
|
|
185
|
+
'700': string;
|
|
186
|
+
'800': string;
|
|
187
|
+
'900': string;
|
|
188
|
+
'950': string;
|
|
189
|
+
};
|
|
190
|
+
green: {
|
|
191
|
+
'50': string;
|
|
192
|
+
'100': string;
|
|
193
|
+
'200': string;
|
|
194
|
+
'300': string;
|
|
195
|
+
'400': string;
|
|
196
|
+
'500': string;
|
|
197
|
+
'600': string;
|
|
198
|
+
'700': string;
|
|
199
|
+
'800': string;
|
|
200
|
+
'900': string;
|
|
201
|
+
'950': string;
|
|
202
|
+
};
|
|
203
|
+
emerald: {
|
|
204
|
+
'50': string;
|
|
205
|
+
'100': string;
|
|
206
|
+
'200': string;
|
|
207
|
+
'300': string;
|
|
208
|
+
'400': string;
|
|
209
|
+
'500': string;
|
|
210
|
+
'600': string;
|
|
211
|
+
'700': string;
|
|
212
|
+
'800': string;
|
|
213
|
+
'900': string;
|
|
214
|
+
'950': string;
|
|
215
|
+
};
|
|
216
|
+
teal: {
|
|
217
|
+
'50': string;
|
|
218
|
+
'100': string;
|
|
219
|
+
'200': string;
|
|
220
|
+
'300': string;
|
|
221
|
+
'400': string;
|
|
222
|
+
'500': string;
|
|
223
|
+
'600': string;
|
|
224
|
+
'700': string;
|
|
225
|
+
'800': string;
|
|
226
|
+
'900': string;
|
|
227
|
+
'950': string;
|
|
228
|
+
};
|
|
229
|
+
cyan: {
|
|
230
|
+
'50': string;
|
|
231
|
+
'100': string;
|
|
232
|
+
'200': string;
|
|
233
|
+
'300': string;
|
|
234
|
+
'400': string;
|
|
235
|
+
'500': string;
|
|
236
|
+
'600': string;
|
|
237
|
+
'700': string;
|
|
238
|
+
'800': string;
|
|
239
|
+
'900': string;
|
|
240
|
+
'950': string;
|
|
241
|
+
};
|
|
242
|
+
sky: {
|
|
243
|
+
'50': string;
|
|
244
|
+
'100': string;
|
|
245
|
+
'200': string;
|
|
246
|
+
'300': string;
|
|
247
|
+
'400': string;
|
|
248
|
+
'500': string;
|
|
249
|
+
'600': string;
|
|
250
|
+
'700': string;
|
|
251
|
+
'800': string;
|
|
252
|
+
'900': string;
|
|
253
|
+
'950': string;
|
|
254
|
+
};
|
|
255
|
+
blue: {
|
|
256
|
+
'50': string;
|
|
257
|
+
'100': string;
|
|
258
|
+
'200': string;
|
|
259
|
+
'300': string;
|
|
260
|
+
'400': string;
|
|
261
|
+
'500': string;
|
|
262
|
+
'600': string;
|
|
263
|
+
'700': string;
|
|
264
|
+
'800': string;
|
|
265
|
+
'900': string;
|
|
266
|
+
'950': string;
|
|
267
|
+
};
|
|
268
|
+
indigo: {
|
|
269
|
+
'50': string;
|
|
270
|
+
'100': string;
|
|
271
|
+
'200': string;
|
|
272
|
+
'300': string;
|
|
273
|
+
'400': string;
|
|
274
|
+
'500': string;
|
|
275
|
+
'600': string;
|
|
276
|
+
'700': string;
|
|
277
|
+
'800': string;
|
|
278
|
+
'900': string;
|
|
279
|
+
'950': string;
|
|
280
|
+
};
|
|
281
|
+
violet: {
|
|
282
|
+
'50': string;
|
|
283
|
+
'100': string;
|
|
284
|
+
'200': string;
|
|
285
|
+
'300': string;
|
|
286
|
+
'400': string;
|
|
287
|
+
'500': string;
|
|
288
|
+
'600': string;
|
|
289
|
+
'700': string;
|
|
290
|
+
'800': string;
|
|
291
|
+
'900': string;
|
|
292
|
+
'950': string;
|
|
293
|
+
};
|
|
294
|
+
purple: {
|
|
295
|
+
'50': string;
|
|
296
|
+
'100': string;
|
|
297
|
+
'200': string;
|
|
298
|
+
'300': string;
|
|
299
|
+
'400': string;
|
|
300
|
+
'500': string;
|
|
301
|
+
'600': string;
|
|
302
|
+
'700': string;
|
|
303
|
+
'800': string;
|
|
304
|
+
'900': string;
|
|
305
|
+
'950': string;
|
|
306
|
+
};
|
|
307
|
+
fuchsia: {
|
|
308
|
+
'50': string;
|
|
309
|
+
'100': string;
|
|
310
|
+
'200': string;
|
|
311
|
+
'300': string;
|
|
312
|
+
'400': string;
|
|
313
|
+
'500': string;
|
|
314
|
+
'600': string;
|
|
315
|
+
'700': string;
|
|
316
|
+
'800': string;
|
|
317
|
+
'900': string;
|
|
318
|
+
'950': string;
|
|
319
|
+
};
|
|
320
|
+
pink: {
|
|
321
|
+
'50': string;
|
|
322
|
+
'100': string;
|
|
323
|
+
'200': string;
|
|
324
|
+
'300': string;
|
|
325
|
+
'400': string;
|
|
326
|
+
'500': string;
|
|
327
|
+
'600': string;
|
|
328
|
+
'700': string;
|
|
329
|
+
'800': string;
|
|
330
|
+
'900': string;
|
|
331
|
+
'950': string;
|
|
332
|
+
};
|
|
333
|
+
rose: {
|
|
334
|
+
'50': string;
|
|
335
|
+
'100': string;
|
|
336
|
+
'200': string;
|
|
337
|
+
'300': string;
|
|
338
|
+
'400': string;
|
|
339
|
+
'500': string;
|
|
340
|
+
'600': string;
|
|
341
|
+
'700': string;
|
|
342
|
+
'800': string;
|
|
343
|
+
'900': string;
|
|
344
|
+
'950': string;
|
|
345
|
+
};
|
|
346
|
+
};
|
|
347
|
+
//#endregion
|
|
348
|
+
export { _default as default };
|
|
349
|
+
//# sourceMappingURL=colors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colors.d.ts","names":[],"sources":["../../../../../../node_modules/tailwindcss/dist/colors.d.mts"],"x_google_ignoreList":[0],"mappings":";cAAc;EACV;EACA;EACA;EACA;EACA;EACA;IACI;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEJ;IACI;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEJ;IACI;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEJ;IACI;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEJ;IACI;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEJ;IACI;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEJ;IACI;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEJ;IACI;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEJ;IACI;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEJ;IACI;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEJ;IACI;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEJ;IACI;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEJ;IACI;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEJ;IACI;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEJ;IACI;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEJ;IACI;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEJ;IACI;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEJ;IACI;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEJ;IACI;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEJ;IACI;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEJ;IACI;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEJ;IACI;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEJ;IACI;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEJ;IACI;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEJ;IACI;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEJ;IACI;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lib.d.ts","names":[],"sources":["../../../../../../node_modules/tailwindcss/dist/lib.d.mts"],"x_google_ignoreList":[0],"mappings":";;UA4TU,eAAe"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import _default from "./colors.js";
|
|
2
|
+
//#region ../../node_modules/tailwindcss/dist/resolve-config-QUZ9b-Gn.d.mts
|
|
3
|
+
type NamedUtilityValue = {
|
|
4
|
+
kind: 'named';
|
|
5
|
+
/**
|
|
6
|
+
* ```
|
|
7
|
+
* bg-red-500
|
|
8
|
+
* ^^^^^^^
|
|
9
|
+
*
|
|
10
|
+
* w-1/2
|
|
11
|
+
* ^
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
value: string;
|
|
15
|
+
/**
|
|
16
|
+
* ```
|
|
17
|
+
* w-1/2
|
|
18
|
+
* ^^^
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
fraction: string | null;
|
|
22
|
+
};
|
|
23
|
+
type PluginUtils = {
|
|
24
|
+
theme: (keypath: string, defaultValue?: any) => any;
|
|
25
|
+
colors: typeof _default;
|
|
26
|
+
};
|
|
27
|
+
//#endregion
|
|
28
|
+
export type { NamedUtilityValue as N, PluginUtils as P };
|
|
29
|
+
//# sourceMappingURL=resolve-config-QUZ9b-Gn.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolve-config-QUZ9b-Gn.d.ts","names":[],"sources":["../../../../../../node_modules/tailwindcss/dist/resolve-config-QUZ9b-Gn.d.mts"],"x_google_ignoreList":[0],"mappings":";;KA4BK;EACD;;;;;;;;;;EAUA;;;;;;;EAOA;;KA0IC;EACD,QAAQ,iBAAiB;EACzB,eAAe"}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { N as NamedUtilityValue, P as PluginUtils } from "./resolve-config-QUZ9b-Gn.js";
|
|
2
|
+
//#region ../../node_modules/tailwindcss/dist/types-DWdTiksJ.d.mts
|
|
3
|
+
/**
|
|
4
|
+
* The source code for one or more nodes in the AST
|
|
5
|
+
*
|
|
6
|
+
* This generally corresponds to a stylesheet
|
|
7
|
+
*/
|
|
8
|
+
interface Source {
|
|
9
|
+
/**
|
|
10
|
+
* The path to the file that contains the referenced source code
|
|
11
|
+
*
|
|
12
|
+
* If this references the *output* source code, this is `null`.
|
|
13
|
+
*/
|
|
14
|
+
file: string | null;
|
|
15
|
+
/**
|
|
16
|
+
* The referenced source code
|
|
17
|
+
*/
|
|
18
|
+
code: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* The file and offsets within it that this node covers
|
|
22
|
+
*
|
|
23
|
+
* This can represent either:
|
|
24
|
+
* - A location in the original CSS which caused this node to be created
|
|
25
|
+
* - A location in the output CSS where this node resides
|
|
26
|
+
*/
|
|
27
|
+
type SourceLocation = [source: Source, start: number, end: number];
|
|
28
|
+
type PluginFn = (api: PluginAPI) => void;
|
|
29
|
+
type PluginWithConfig = {
|
|
30
|
+
handler: PluginFn;
|
|
31
|
+
config?: UserConfig;
|
|
32
|
+
/** @internal */
|
|
33
|
+
reference?: boolean;
|
|
34
|
+
src?: SourceLocation | undefined;
|
|
35
|
+
};
|
|
36
|
+
type PluginWithOptions<T> = {
|
|
37
|
+
(options?: T): PluginWithConfig;
|
|
38
|
+
__isOptionsFunction: true;
|
|
39
|
+
};
|
|
40
|
+
type Plugin = PluginFn | PluginWithConfig | PluginWithOptions<any>;
|
|
41
|
+
type PluginAPI = {
|
|
42
|
+
addBase(base: CssInJs): void;
|
|
43
|
+
addVariant(name: string, variant: string | string[] | CssInJs): void;
|
|
44
|
+
matchVariant<T = string>(name: string, cb: (value: T | string, extra: {
|
|
45
|
+
modifier: string | null;
|
|
46
|
+
}) => string | string[], options?: {
|
|
47
|
+
values?: Record<string, T>;
|
|
48
|
+
sort?(a: {
|
|
49
|
+
value: T | string;
|
|
50
|
+
modifier: string | null;
|
|
51
|
+
}, b: {
|
|
52
|
+
value: T | string;
|
|
53
|
+
modifier: string | null;
|
|
54
|
+
}): number;
|
|
55
|
+
}): void;
|
|
56
|
+
addUtilities(utilities: Record<string, CssInJs | CssInJs[]> | Record<string, CssInJs | CssInJs[]>[], options?: {}): void;
|
|
57
|
+
matchUtilities(utilities: Record<string, (value: string, extra: {
|
|
58
|
+
modifier: string | null;
|
|
59
|
+
}) => CssInJs | CssInJs[]>, options?: Partial<{
|
|
60
|
+
type: string | string[];
|
|
61
|
+
supportsNegativeValues: boolean;
|
|
62
|
+
values: Record<string, string> & {
|
|
63
|
+
__BARE_VALUE__?: (value: NamedUtilityValue) => string | undefined;
|
|
64
|
+
};
|
|
65
|
+
modifiers: 'any' | Record<string, string>;
|
|
66
|
+
}>): void;
|
|
67
|
+
addComponents(utilities: Record<string, CssInJs> | Record<string, CssInJs>[], options?: {}): void;
|
|
68
|
+
matchComponents(utilities: Record<string, (value: string, extra: {
|
|
69
|
+
modifier: string | null;
|
|
70
|
+
}) => CssInJs>, options?: Partial<{
|
|
71
|
+
type: string | string[];
|
|
72
|
+
supportsNegativeValues: boolean;
|
|
73
|
+
values: Record<string, string> & {
|
|
74
|
+
__BARE_VALUE__?: (value: NamedUtilityValue) => string | undefined;
|
|
75
|
+
};
|
|
76
|
+
modifiers: 'any' | Record<string, string>;
|
|
77
|
+
}>): void;
|
|
78
|
+
theme(path: string, defaultValue?: any): any;
|
|
79
|
+
config(path?: string, defaultValue?: any): any;
|
|
80
|
+
prefix(className: string): string;
|
|
81
|
+
};
|
|
82
|
+
type CssInJs = {
|
|
83
|
+
[key: string]: string | string[] | CssInJs | CssInJs[];
|
|
84
|
+
};
|
|
85
|
+
type ResolvableTo<T> = T | ((utils: PluginUtils) => T);
|
|
86
|
+
type ThemeValue = ResolvableTo<Record<string, unknown>> | null | undefined;
|
|
87
|
+
type ThemeConfig = Record<string, ThemeValue> & {
|
|
88
|
+
extend?: Record<string, ThemeValue>;
|
|
89
|
+
};
|
|
90
|
+
type ContentFile = string | {
|
|
91
|
+
raw: string;
|
|
92
|
+
extension?: string;
|
|
93
|
+
};
|
|
94
|
+
type DarkModeStrategy = false | 'media' | 'class' | ['class', string] | 'selector' | ['selector', string] | ['variant', string | string[]];
|
|
95
|
+
interface UserConfig {
|
|
96
|
+
presets?: UserConfig[];
|
|
97
|
+
theme?: ThemeConfig;
|
|
98
|
+
plugins?: Plugin[];
|
|
99
|
+
}
|
|
100
|
+
interface UserConfig {
|
|
101
|
+
content?: ContentFile[] | {
|
|
102
|
+
relative?: boolean;
|
|
103
|
+
files: ContentFile[];
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
interface UserConfig {
|
|
107
|
+
darkMode?: DarkModeStrategy;
|
|
108
|
+
}
|
|
109
|
+
interface UserConfig {
|
|
110
|
+
prefix?: string;
|
|
111
|
+
}
|
|
112
|
+
interface UserConfig {
|
|
113
|
+
blocklist?: string[];
|
|
114
|
+
}
|
|
115
|
+
interface UserConfig {
|
|
116
|
+
important?: boolean | string;
|
|
117
|
+
}
|
|
118
|
+
interface UserConfig {
|
|
119
|
+
future?: 'all' | Record<string, boolean>;
|
|
120
|
+
}
|
|
121
|
+
interface UserConfig {
|
|
122
|
+
experimental?: 'all' | Record<string, boolean>;
|
|
123
|
+
}
|
|
124
|
+
//#endregion
|
|
125
|
+
export type { Plugin as P, SourceLocation as S, ThemeConfig as T, UserConfig as U, PluginAPI as a, PluginFn as b, PluginWithConfig as c, PluginWithOptions as d };
|
|
126
|
+
//# sourceMappingURL=types-DWdTiksJ.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types-DWdTiksJ.d.ts","names":[],"sources":["../../../../../../node_modules/tailwindcss/dist/types-DWdTiksJ.d.mts"],"x_google_ignoreList":[0],"mappings":";;;;;;;UAOU;;;;;;EAMN;;;;EAIA;;;;;;;;;KASC,kBAAkB,QAAQ,QAAQ,eAAe;KAGjD,YAAY,KAAK;KACjB;EACD,SAAS;EACT,SAAS;;EAET;EACA,MAAM;;KAEL,kBAAkB;GAClB,UAAU,IAAI;EACf;;KAEC,SAAS,WAAW,mBAAmB;KACvC;EACD,QAAQ,MAAM;EACd,WAAW,cAAc,6BAA6B;EACtD,aAAa,YAAY,cAAc,KAAK,OAAO,YAAY;IAC3D;2BACqB;IACrB,SAAS,eAAe;IACxB,MAAM;MACF,OAAO;MACP;OACD;MACC,OAAO;MACP;;;EAGR,aAAa,WAAW,eAAe,UAAU,aAAa,eAAe,UAAU,cAAc;EACrG,eAAe,WAAW,gBAAgB,eAAe;IACrD;QACE,UAAU,YAAY,UAAU;IAClC;IACA;IACA,QAAQ;MACJ,kBAAkB,OAAO;;IAE7B,mBAAmB;;EAEvB,cAAc,WAAW,eAAe,WAAW,eAAe,YAAY;EAC9E,gBAAgB,WAAW,gBAAgB,eAAe;IACtD;QACE,UAAU,UAAU;IACtB;IACA;IACA,QAAQ;MACJ,kBAAkB,OAAO;;IAE7B,mBAAmB;;EAEvB,MAAM,cAAc;EACpB,OAAO,eAAe;EACtB,OAAO;;KAEN;GACA,kCAAkC,UAAU;;KAG5C,aAAa,KAAK,MAAM,OAAO,gBAAgB;KAC/C,aAAa,aAAa;KAC1B,cAAc,eAAe;EAC9B,SAAS,eAAe;;KAEvB;EACD;EACA;;KAEC;UACK;EACN,UAAU;EACV,QAAQ;EACR,UAAU;;UAEJ;EACN,UAAU;IACN;IACA,OAAO;;;UAGL;EACN,WAAW;;UAEL;EACN;;UAEM;EACN;;UAEM;EACN;;UAEM;EACN,iBAAiB;;UAEX;EACN,uBAAuB"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { EmailRegistryEntry } from "./mailer.js";
|
|
2
|
+
//#region src/registry.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* Copyright 2026 ResQ Systems, Inc.
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
* Maps each built-in template `name` to its `{ subject, render }`. Derived from
|
|
20
|
+
* the default mailer, so it always matches the contract.
|
|
21
|
+
*/
|
|
22
|
+
declare const registry: Record<"incident-alert" | "mission-approval" | "new-device-login" | "notification" | "org-invitation" | "otp" | "password-changed" | "password-reset" | "welcome", EmailRegistryEntry>;
|
|
23
|
+
//#endregion
|
|
24
|
+
export { registry };
|
|
25
|
+
//# sourceMappingURL=registry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registry.d.ts","names":[],"sources":["../src/registry.tsx"],"mappings":";;;;;;;;;;;;;;;;;;;;;cAsBa,UAAQ,mKAAR"}
|
package/lib/registry.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { resqMailer } from "./suite.js";
|
|
2
|
+
//#region src/registry.tsx
|
|
3
|
+
/**
|
|
4
|
+
* Copyright 2026 ResQ Systems, Inc.
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
* Maps each built-in template `name` to its `{ subject, render }`. Derived from
|
|
20
|
+
* the default mailer, so it always matches the contract.
|
|
21
|
+
*/
|
|
22
|
+
const registry = resqMailer.registry;
|
|
23
|
+
//#endregion
|
|
24
|
+
export { registry };
|
|
25
|
+
|
|
26
|
+
//# sourceMappingURL=registry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registry.js","names":[],"sources":["../src/registry.tsx"],"sourcesContent":["/**\n * Copyright 2026 ResQ Systems, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { resqMailer } from \"./suite.js\";\n\n/**\n * Maps each built-in template `name` to its `{ subject, render }`. Derived from\n * the default mailer, so it always matches the contract.\n */\nexport const registry = resqMailer.registry;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAsBA,MAAa,WAAW,WAAW"}
|
package/lib/render.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { RenderEmailOptions, RenderedEmail } from "./mailer.js";
|
|
2
|
+
//#region src/render.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* Validate an untrusted payload and render it to `{ to, subject, html, text }`.
|
|
5
|
+
*
|
|
6
|
+
* Runs headlessly (no browser/DOM) via `@react-email/render`, so it is safe from
|
|
7
|
+
* queue workers, cron jobs, and other pipeline contexts. Pass `{ theme }` to
|
|
8
|
+
* rebrand a single render.
|
|
9
|
+
*/
|
|
10
|
+
declare const renderEmail: (input: unknown, options?: RenderEmailOptions) => Promise<RenderedEmail>;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { type RenderEmailOptions, type RenderedEmail, renderEmail };
|
|
13
|
+
//# sourceMappingURL=render.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"render.d.ts","names":[],"sources":["../src/render.ts"],"mappings":";;;;;;;;;cA2Ba,cAAW,gBAAA,UAAX,uBAAW,QAAA"}
|
package/lib/render.js
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { resqMailer } from "./suite.js";
|
|
2
|
+
//#region src/render.ts
|
|
3
|
+
/**
|
|
4
|
+
* Copyright 2026 ResQ Systems, Inc.
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
* Validate an untrusted payload and render it to `{ to, subject, html, text }`.
|
|
20
|
+
*
|
|
21
|
+
* Runs headlessly (no browser/DOM) via `@react-email/render`, so it is safe from
|
|
22
|
+
* queue workers, cron jobs, and other pipeline contexts. Pass `{ theme }` to
|
|
23
|
+
* rebrand a single render.
|
|
24
|
+
*/
|
|
25
|
+
const renderEmail = resqMailer.renderEmail;
|
|
26
|
+
//#endregion
|
|
27
|
+
export { renderEmail };
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=render.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"render.js","names":[],"sources":["../src/render.ts"],"sourcesContent":["/**\n * Copyright 2026 ResQ Systems, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { resqMailer } from \"./suite.js\";\n\nexport type { RenderEmailOptions, RenderedEmail } from \"./mailer.js\";\n\n/**\n * Validate an untrusted payload and render it to `{ to, subject, html, text }`.\n *\n * Runs headlessly (no browser/DOM) via `@react-email/render`, so it is safe from\n * queue workers, cron jobs, and other pipeline contexts. Pass `{ theme }` to\n * rebrand a single render.\n */\nexport const renderEmail = resqMailer.renderEmail;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AA2BA,MAAa,cAAc,WAAW"}
|