From 731ca046565893e07aea4516c1fdc1c004d1dcf6 Mon Sep 17 00:00:00 2001
From: John Tanz <82201261+moshetanzer@users.noreply.github.com>
Date: Mon, 13 May 2024 23:15:41 +0200
Subject: [PATCH 1/8] add actions slot
---
src/runtime/components/elements/Alert.vue | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/runtime/components/elements/Alert.vue b/src/runtime/components/elements/Alert.vue
index 2ba3b71c73..33b9897fb6 100644
--- a/src/runtime/components/elements/Alert.vue
+++ b/src/runtime/components/elements/Alert.vue
@@ -20,8 +20,10 @@
-
+
+
+
From d9652a22d531d52ed33a8f00fb3bf45b914d1c05 Mon Sep 17 00:00:00 2001
From: John Tanz <82201261+moshetanzer@users.noreply.github.com>
Date: Mon, 13 May 2024 23:21:10 +0200
Subject: [PATCH 2/8] Update alert.md
---
docs/content/2.components/alert.md | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/docs/content/2.components/alert.md b/docs/content/2.components/alert.md
index 3018831939..406ee11dca 100644
--- a/docs/content/2.components/alert.md
+++ b/docs/content/2.components/alert.md
@@ -175,6 +175,12 @@ Use the `#avatar` slot to customize the displayable avatar.
:component-example{component="alert-example-avatar"}
+### `actions` :u-badge{label="New" class="align-middle ml-2 !rounded-full" variant="subtle"}
+
+Use the `#actions` slot to add custom user interaction elements.
+
+:component-example{component="alert-example-actions"}
+
## Props
:component-props
From ebe45e9e466005d168880faa9d23213312062039 Mon Sep 17 00:00:00 2001
From: Moshe Tanzer
Date: Tue, 14 May 2024 14:36:57 +0200
Subject: [PATCH 3/8] fix lint
---
playground/app.vue | 16 +++++-----------
src/runtime/components/elements/Alert.vue | 4 ++--
2 files changed, 7 insertions(+), 13 deletions(-)
diff --git a/playground/app.vue b/playground/app.vue
index 5c8f5a2b52..14a7a73fbd 100644
--- a/playground/app.vue
+++ b/playground/app.vue
@@ -1,15 +1,9 @@
-
-
-
- Welcome to the playground!
-
-
-
- Try your components here!
-
-
-
+
+
+
+
+