@the-smithy/create-hearth-site 0.18.0 → 0.19.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@the-smithy/create-hearth-site",
3
- "version": "0.18.0",
3
+ "version": "0.19.0",
4
4
  "description": "Start a new client website powered by Hearth: pnpm create @the-smithy/hearth-site",
5
5
  "type": "module",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -29,7 +29,7 @@
29
29
  ],
30
30
  "devDependencies": {
31
31
  "vitest": "^5.0.3",
32
- "@the-smithy/hearth-schema": "^0.18.0"
32
+ "@the-smithy/hearth-schema": "^0.19.0"
33
33
  },
34
34
  "scripts": {
35
35
  "test": "node --test \"test/**/*.test.js\" && vitest run test/blocks.test.ts"
@@ -90,6 +90,13 @@ export function DonateForm({
90
90
  <input type="checkbox" name="anonymous" className="size-5 accent-accent" />
91
91
  Don&apos;t show my name publicly
92
92
  </label>
93
+ {/* Opt-in only, unticked: the fundraiser's updates go to donors who ask (and give an email). */}
94
+ {fundraiser ? (
95
+ <label className="flex items-center gap-3">
96
+ <input type="checkbox" name="updates" className="size-5 accent-accent" />
97
+ Send me updates about this fundraiser
98
+ </label>
99
+ ) : null}
93
100
  <Submit label={submitLabel} />
94
101
  <p className="text-sm opacity-75">You&apos;ll finish on a secure payment page.</p>
95
102
  </form>