From 4a55ce0aad958fc319394fa24965cbb71dbb574a Mon Sep 17 00:00:00 2001 From: Valentin Nelu Ifrim Date: Tue, 27 Feb 2024 14:10:21 +0100 Subject: [PATCH] feat(Demo): Add alert for beta/progress components closes #531 --- demo/src/lib/layout/StatusAlert.svelte | 42 +++++++++++++++++++ .../[framework]/components/+layout.svelte | 4 ++ 2 files changed, 46 insertions(+) create mode 100644 demo/src/lib/layout/StatusAlert.svelte diff --git a/demo/src/lib/layout/StatusAlert.svelte b/demo/src/lib/layout/StatusAlert.svelte new file mode 100644 index 0000000000..6e0488c400 --- /dev/null +++ b/demo/src/lib/layout/StatusAlert.svelte @@ -0,0 +1,42 @@ + + + +
+
+ {@html typeIcon[type]} + Warning: component is {statusText}
+
+
+ {statusTextBody} +
+ If you want to contribute, please visit + the issues on GitHub. +
+
diff --git a/demo/src/routes/docs/[framework]/components/+layout.svelte b/demo/src/routes/docs/[framework]/components/+layout.svelte index f74ed146ba..25386f6256 100644 --- a/demo/src/routes/docs/[framework]/components/+layout.svelte +++ b/demo/src/routes/docs/[framework]/components/+layout.svelte @@ -1,5 +1,6 @@