From e7f942dd5b638a351cbff4ae4e4c35aef6aebcac Mon Sep 17 00:00:00 2001
From: Owen Jacobson <owen@grimoire.ca>
Date: Tue, 8 Jul 2025 19:35:26 -0400
Subject: Add a swatch for the `ChangePassword` component.

---
 .../(swatch)/.swatch/ChangePassword/+page.svelte   | 23 ++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 ui/routes/(swatch)/.swatch/ChangePassword/+page.svelte

(limited to 'ui/routes/(swatch)/.swatch/ChangePassword/+page.svelte')

diff --git a/ui/routes/(swatch)/.swatch/ChangePassword/+page.svelte b/ui/routes/(swatch)/.swatch/ChangePassword/+page.svelte
new file mode 100644
index 0000000..8ef6792
--- /dev/null
+++ b/ui/routes/(swatch)/.swatch/ChangePassword/+page.svelte
@@ -0,0 +1,23 @@
+<script>
+  import EventCapture from '$lib/swatch/event-capture.svelte.js';
+
+  import ChangePassword from '$lib/components/ChangePassword.svelte';
+  import EventLog from '$lib/components/swatch/EventLog.svelte';
+
+  let capture = $state(new EventCapture());
+  const changePassword = capture.on('changePassword');
+</script>
+
+<h1><code>ChangePassword</code></h1>
+
+<nav><p><a href=".">Back to swatches</a></p></nav>
+
+<h2>rendered</h2>
+
+<div class="component-preview">
+  <ChangePassword {changePassword} />
+</div>
+
+<h2>events</h2>
+
+<EventLog events={capture.events} clear={capture.clear.bind(capture)} />
-- 
cgit v1.2.3

