diff --git a/public/themes/md-dark-deeppurple/theme.css b/public/themes/md-dark-deeppurple/theme.css
index 4987d563c..e576863a9 100644
--- a/public/themes/md-dark-deeppurple/theme.css
+++ b/public/themes/md-dark-deeppurple/theme.css
@@ -3936,8 +3936,8 @@
margin: 0.5rem 0 0 0;
}
.p-toast .p-toast-item-container .p-toast-icon-close {
- width: 2.5rem;
- height: 2.5rem;
+ width: 2rem;
+ height: 2rem;
border-radius: 50%;
background: transparent;
transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
diff --git a/public/themes/md-dark-indigo/theme.css b/public/themes/md-dark-indigo/theme.css
index d67eb3db0..5d4f1e7d2 100644
--- a/public/themes/md-dark-indigo/theme.css
+++ b/public/themes/md-dark-indigo/theme.css
@@ -3936,8 +3936,8 @@
margin: 0.5rem 0 0 0;
}
.p-toast .p-toast-item-container .p-toast-icon-close {
- width: 2.5rem;
- height: 2.5rem;
+ width: 2rem;
+ height: 2rem;
border-radius: 50%;
background: transparent;
transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
diff --git a/public/themes/md-light-deeppurple/theme.css b/public/themes/md-light-deeppurple/theme.css
index f76d9e9e4..7d375a0b3 100644
--- a/public/themes/md-light-deeppurple/theme.css
+++ b/public/themes/md-light-deeppurple/theme.css
@@ -3936,8 +3936,8 @@
margin: 0.5rem 0 0 0;
}
.p-toast .p-toast-item-container .p-toast-icon-close {
- width: 2.5rem;
- height: 2.5rem;
+ width: 2rem;
+ height: 2rem;
border-radius: 50%;
background: transparent;
transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
diff --git a/public/themes/md-light-indigo/theme.css b/public/themes/md-light-indigo/theme.css
index 1442264ca..29974f56b 100644
--- a/public/themes/md-light-indigo/theme.css
+++ b/public/themes/md-light-indigo/theme.css
@@ -3936,8 +3936,8 @@
margin: 0.5rem 0 0 0;
}
.p-toast .p-toast-item-container .p-toast-icon-close {
- width: 2.5rem;
- height: 2.5rem;
+ width: 2rem;
+ height: 2rem;
border-radius: 50%;
background: transparent;
transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
diff --git a/src/views/message/MessageDemo.vue b/src/views/message/MessageDemo.vue
index 830b3d8f4..e1567fcad 100755
--- a/src/views/message/MessageDemo.vue
+++ b/src/views/message/MessageDemo.vue
@@ -10,10 +10,10 @@
Severities
- Order Submitted
- PrimeVue Rocks
- There are unsaved changes
- Validation Failed
+ Success Message Content
+ Info Message Content
+ Warning Message Content
+ Error Message Content
Dynamic
diff --git a/src/views/message/MessageDoc.vue b/src/views/message/MessageDoc.vue
index 338d6cb16..f3e83eb87 100755
--- a/src/views/message/MessageDoc.vue
+++ b/src/views/message/MessageDoc.vue
@@ -231,24 +231,23 @@ import InlineMessage from 'primevue/inlinemessage';
-<h3>Severities</h3>
-<Message severity="success">Order Submitted</Message>
-<Message severity="info">PrimeVue Rocks</Message>
-<Message severity="warn">There are unsaved changes</Message>
-<Message severity="error">Validation Failed</Message>
+<h5>Severities</h5>
+<Message severity="success">Success Message Content</Message>
+<Message severity="info">Info Message Content</Message>
+<Message severity="warn">Warning Message Content</Message>
+<Message severity="error">Error Message Content</Message>
-<h3>Dynamic</h3>
+<h5>Dynamic</h5>
<Button label="Show" @click="addMessages()" />
<Button label="Clear" @click="removeMessages()" class="p-button-secondary"/>
-
<transition-group name="p-messages" tag="div">
<Message v-for="msg of messages" :severity="msg.severity" :key="msg.content">{{msg.content}}</Message>
</transition-group>
-<h3>Auto Dismiss</h3>
+<h5>Auto Dismiss</h5>
<Message severity="warn" :life="10000" :sticky="false">This message will hide in 10 seconds.</Message>
-<h3>Validation Message</h3>
+<h5>Validation Message</h5>
<div class="p-formgroup-inline" style="margin-bottom:.5rem">
<Label for="username" class="p-sr-only">Username</Label>
<InputText id="username" placeholder="Username" class="p-invalid" />
diff --git a/src/views/toast/ToastDemo.vue b/src/views/toast/ToastDemo.vue
index 021adf9e5..c6d2d2e50 100755
--- a/src/views/toast/ToastDemo.vue
+++ b/src/views/toast/ToastDemo.vue
@@ -44,33 +44,33 @@ export default {
},
methods: {
showSuccess() {
- this.$toast.add({severity:'success', summary: 'Success Message', detail:'Order submitted', life: 3000});
+ this.$toast.add({severity:'success', summary: 'Success Message', detail:'Message Content', life: 3000});
},
showInfo() {
- this.$toast.add({severity:'info', summary: 'Info Message', detail:'PrimeVue rocks', life: 3000});
+ this.$toast.add({severity:'info', summary: 'Info Message', detail:'Message Content', life: 3000});
},
showWarn() {
- this.$toast.add({severity:'warn', summary: 'Warn Message', detail:'There are unsaved changes', life: 3000});
+ this.$toast.add({severity:'warn', summary: 'Warn Message', detail:'Message Content', life: 3000});
},
showError() {
- this.$toast.add({severity:'error', summary: 'Error Message', detail:'Validation failed', life: 3000});
+ this.$toast.add({severity:'error', summary: 'Error Message', detail:'Message Content', life: 3000});
},
showTopLeft() {
- this.$toast.add({severity: 'info', summary: 'Info ', detail: 'You need to close Me', group: 'tl', life: 3000});
+ this.$toast.add({severity: 'info', summary: 'Info Message', detail: 'Message Content', group: 'tl', life: 3000});
},
showBottomLeft() {
- this.$toast.add({severity:'warn', summary: 'Warn Message', detail:'There are unsaved changes', group: 'bl', life: 3000});
+ this.$toast.add({severity:'warn', summary: 'Warn Message', detail:'Message Content', group: 'bl', life: 3000});
},
showBottomRight() {
- this.$toast.add({severity:'success', summary: 'Success Message', detail:'Order submitted', group: 'br', life: 3000});
+ this.$toast.add({severity:'success', summary: 'Success Message', detail:'Message Content', group: 'br', life: 3000});
},
showSticky() {
- this.$toast.add({severity: 'info', summary: 'Sticky Message', detail: 'You need to close Me'});
+ this.$toast.add({severity: 'info', summary: 'Sticky Message', detail: 'Message Content'});
},
showMultiple() {
- this.$toast.add({severity:'info', summary:'Message 1', detail:'PrimeVue rocks', life: 3000});
- this.$toast.add({severity:'info', summary:'Message 1', detail:'PrimeVue rocks', life: 3000});
- this.$toast.add({severity:'info', summary:'Message 1', detail:'PrimeVue rocks', life: 3000});
+ this.$toast.add({severity:'info', summary:'Message 1', detail:'Message 1 Content', life: 3000});
+ this.$toast.add({severity:'info', summary:'Message 2', detail:'Message 2 Content', life: 3000});
+ this.$toast.add({severity:'info', summary:'Message 3', detail:'Message 3 Content', life: 3000});
},
clear() {
this.$toast.removeAllGroups();
diff --git a/src/views/toast/ToastDoc.vue b/src/views/toast/ToastDoc.vue
index 28ece502d..8635d3e84 100755
--- a/src/views/toast/ToastDoc.vue
+++ b/src/views/toast/ToastDoc.vue
@@ -277,37 +277,37 @@ export default {
},
methods: {
showSuccess() {
- this.$toast.add({severity:'success', summary: 'Success Message', detail:'Order submitted', life: 3000});
- },
- showInfo() {
- this.$toast.add({severity:'info', summary: 'Info Message', detail:'PrimeVue rocks', life: 3000});
- },
- showWarn() {
- this.$toast.add({severity:'warn', summary: 'Warn Message', detail:'There are unsaved changes', life: 3000});
- },
- showError() {
- this.$toast.add({severity:'error', summary: 'Error Message', detail:'Validation failed', life: 3000});
- },
- showTopLeft() {
- this.$toast.add({severity: 'info', summary: 'Info ', detail: 'You need to close Me', group: 'tl', life: 3000});
- },
- showBottomLeft() {
- this.$toast.add({severity:'warn', summary: 'Warn Message', detail:'There are unsaved changes', group: 'bl', life: 3000});
- },
- showBottomRight() {
- this.$toast.add({severity:'success', summary: 'Success Message', detail:'Order submitted', group: 'br', life: 3000});
- },
- showSticky() {
- this.$toast.add({severity: 'info', summary: 'Sticky Message', detail: 'You need to close Me'});
- },
- showMultiple() {
- this.$toast.add({severity:'info', summary:'Message 1', detail:'PrimeVue rocks', life: 3000});
- this.$toast.add({severity:'info', summary:'Message 1', detail:'PrimeVue rocks', life: 3000});
- this.$toast.add({severity:'info', summary:'Message 1', detail:'PrimeVue rocks', life: 3000});
- },
- clear() {
- this.$toast.removeAllGroups();
- }
+ this.$toast.add({severity:'success', summary: 'Success Message', detail:'Message Content', life: 3000});
+ },
+ showInfo() {
+ this.$toast.add({severity:'info', summary: 'Info Message', detail:'Message Content', life: 3000});
+ },
+ showWarn() {
+ this.$toast.add({severity:'warn', summary: 'Warn Message', detail:'Message Content', life: 3000});
+ },
+ showError() {
+ this.$toast.add({severity:'error', summary: 'Error Message', detail:'Message Content', life: 3000});
+ },
+ showTopLeft() {
+ this.$toast.add({severity: 'info', summary: 'Info Message', detail: 'Message Content', group: 'tl', life: 3000});
+ },
+ showBottomLeft() {
+ this.$toast.add({severity:'warn', summary: 'Warn Message', detail:'Message Content', group: 'bl', life: 3000});
+ },
+ showBottomRight() {
+ this.$toast.add({severity:'success', summary: 'Success Message', detail:'Message Content', group: 'br', life: 3000});
+ },
+ showSticky() {
+ this.$toast.add({severity: 'info', summary: 'Sticky Message', detail: 'Message Content'});
+ },
+ showMultiple() {
+ this.$toast.add({severity:'info', summary:'Message 1', detail:'Message 1 Content', life: 3000});
+ this.$toast.add({severity:'info', summary:'Message 2', detail:'Message 2 Content', life: 3000});
+ this.$toast.add({severity:'info', summary:'Message 3', detail:'Message 3 Content', life: 3000});
+ },
+ clear() {
+ this.$toast.removeAllGroups();
+ }
}
}