-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9550763
commit 8563a32
Showing
10 changed files
with
554 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
<template> | ||
<DocSectionText v-bind="$attrs"> | ||
<p>Configure the <i>variant</i> value as <i>plain</i> for messages without borders and backgrounds.</p> | ||
</DocSectionText> | ||
<div class="card flex flex-wrap gap-4 justify-center"> | ||
<Message severity="success" variant="plain">Success Message</Message> | ||
<Message severity="info" variant="plain">Info Message</Message> | ||
<Message severity="warn" variant="plain">Warn Message</Message> | ||
<Message severity="error" variant="plain">Error Message</Message> | ||
<Message severity="secondary" variant="plain">Secondary Message</Message> | ||
<Message severity="contrast" variant="plain">Contrast Message</Message> | ||
</div> | ||
<DocSectionCode :code="code" /> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
data() { | ||
return { | ||
code: { | ||
basic: ` | ||
<Message severity="success" variant="plain">Success Message</Message> | ||
<Message severity="info" variant="plain">Info Message</Message> | ||
<Message severity="warn" variant="plain">Warn Message</Message> | ||
<Message severity="error" variant="plain">Error Message</Message> | ||
<Message severity="secondary" variant="plain">Secondary Message</Message> | ||
<Message severity="contrast" variant="plain">Contrast Message</Message> | ||
`, | ||
options: ` | ||
<template> | ||
<div class="card flex flex-wrap gap-4 justify-center"> | ||
<Message severity="success" variant="plain">Success Message</Message> | ||
<Message severity="info" variant="plain">Info Message</Message> | ||
<Message severity="warn" variant="plain">Warn Message</Message> | ||
<Message severity="error" variant="plain">Error Message</Message> | ||
<Message severity="secondary" variant="plain">Secondary Message</Message> | ||
<Message severity="contrast" variant="plain">Contrast Message</Message> | ||
</div> | ||
</template> | ||
<script> | ||
<\/script> | ||
`, | ||
composition: ` | ||
<template> | ||
<div class="card flex flex-wrap gap-4 justify-center"> | ||
<Message severity="success" variant="plain">Success Message</Message> | ||
<Message severity="info" variant="plain">Info Message</Message> | ||
<Message severity="warn" variant="plain">Warn Message</Message> | ||
<Message severity="error" variant="plain">Error Message</Message> | ||
<Message severity="secondary" variant="plain">Secondary Message</Message> | ||
<Message severity="contrast" variant="plain">Contrast Message</Message> | ||
</div> | ||
</template> | ||
<script setup> | ||
<\/script> | ||
` | ||
} | ||
}; | ||
} | ||
}; | ||
</script> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.