@stacksjs/defaults 0.75.84 → 0.75.85
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/ide/vscode/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"publisher": "Stacks",
|
|
3
3
|
"name": "vscode-stacks",
|
|
4
4
|
"displayName": "Stacks",
|
|
5
|
-
"version": "0.75.
|
|
5
|
+
"version": "0.75.85",
|
|
6
6
|
"description": "Stacks, built into VS Code: stx templates, pickier linting and formatting, encrypted env files, the dev server preview and every buddy command. No other extensions required.",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"funding": "https://github.com/sponsors/chrisbbreuer",
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@stacksjs/defaults",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"sideEffects": false,
|
|
5
|
-
"version": "0.75.
|
|
5
|
+
"version": "0.75.85",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+https://github.com/stacksjs/stacks.git",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"@iconify-json/f7": "^1.2.2",
|
|
57
57
|
"@iconify-json/hugeicons": "^1.2.35",
|
|
58
|
-
"@stacksjs/mobile": "^0.75.
|
|
58
|
+
"@stacksjs/mobile": "^0.75.85",
|
|
59
59
|
"@stacksjs/sanitizer": "^0.2.378",
|
|
60
60
|
"@xterm/addon-fit": "^0.11.0",
|
|
61
61
|
"@xterm/xterm": "^6.0.0",
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
<script server>
|
|
2
|
+
// What notify() sends by email: the notification's subject as the heading,
|
|
3
|
+
// its plain-text body as paragraphs (blank lines between them, single line
|
|
4
|
+
// breaks kept, addresses as links) and, when the notification names one, a
|
|
5
|
+
// button to where it happened. Same <EmailLayout> as the other prebaked
|
|
6
|
+
// mailers (stacksjs/stacks#1901); an app's own resources/emails/notification
|
|
7
|
+
// wins over this one.
|
|
8
|
+
const appName = props.appName || 'Stacks'
|
|
9
|
+
const primaryColor = props.primaryColor || '#3451b2'
|
|
10
|
+
const subject = props.subject || appName
|
|
11
|
+
const paragraphs = Array.isArray(props.paragraphs) ? props.paragraphs : []
|
|
12
|
+
const actionUrl = props.actionUrl || ''
|
|
13
|
+
const actionLabel = props.actionLabel || 'Open'
|
|
14
|
+
const preheader = props.preheader || ''
|
|
15
|
+
const year = props.year || new Date().getFullYear()
|
|
16
|
+
</script>
|
|
17
|
+
|
|
18
|
+
<EmailLayout title="{{ subject }}" preheader="{{ preheader }}">
|
|
19
|
+
<template #header>
|
|
20
|
+
<tr>
|
|
21
|
+
<td style="background-color:{{ primaryColor }};padding:30px 40px;text-align:center;">
|
|
22
|
+
<h1 style="margin:0;color:#ffffff;font-size:24px;font-weight:600;">{{ appName }}</h1>
|
|
23
|
+
</td>
|
|
24
|
+
</tr>
|
|
25
|
+
</template>
|
|
26
|
+
|
|
27
|
+
<EmailText size="heading">{{ subject }}</EmailText>
|
|
28
|
+
@foreach(paragraphs as parts)
|
|
29
|
+
<EmailText>@foreach(parts as part)@if(part.br)<br>@elseif(part.url)<a href="{{ part.url }}" style="color:{{ primaryColor }};text-decoration:underline;word-break:break-all;">{{ part.url }}</a>@else{{ part.text }}@endif@endforeach</EmailText>
|
|
30
|
+
@endforeach
|
|
31
|
+
|
|
32
|
+
@if(actionUrl)
|
|
33
|
+
<EmailButton href="{{ actionUrl }}" bg="{{ primaryColor }}">{{ actionLabel }}</EmailButton>
|
|
34
|
+
@endif
|
|
35
|
+
|
|
36
|
+
<template #footer>
|
|
37
|
+
<tr>
|
|
38
|
+
<td style="padding:20px 40px;background-color:#f9fafb;border-top:1px solid #e5e7eb;">
|
|
39
|
+
<p style="margin:0;color:#6b7280;font-size:12px;text-align:center;">This is an automated message from {{ appName }}. Please do not reply to this email.</p>
|
|
40
|
+
<p style="margin:10px 0 0 0;color:#9ca3af;font-size:11px;text-align:center;">© {{ year }} {{ appName }}. All rights reserved.</p>
|
|
41
|
+
</td>
|
|
42
|
+
</tr>
|
|
43
|
+
</template>
|
|
44
|
+
</EmailLayout>
|