Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

fix alert dismissible class #520

Merged
merged 2 commits into from
Aug 30, 2019
Merged

fix alert dismissible class #520

merged 2 commits into from
Aug 30, 2019

Conversation

dandashino
Copy link
Contributor

updated alert component test snapshot

add notifications component and fdNotifications installation

updated documentation

Please provide a link to the associated issue.

Please provide a brief summary of this pull request.

Give consumers the ability to hide/show alerts in various positions on the screen.

If this is a new feature, have you updated the documentation?

Yes, new examples have been added in the alert component documentation

@netlify
Copy link

netlify bot commented Aug 29, 2019

Deploy preview for fundamental-vue ready!

Built with commit 750bf3a

https://deploy-preview-520--fundamental-vue.netlify.com

@dandashino dandashino force-pushed the feat/notifications branch 3 times, most recently from 306e242 to eecb7f8 Compare August 30, 2019 07:29
@@ -18,7 +18,7 @@ exports[`Alert renders correctly 1`] = `

exports[`Alert renders correctly 2`] = `
<div
class="fd-alert fd-alert--error fd-alert--dismissible"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what a nice bug. :D

timeout: 2000,
permanent: false,
dismissible: true,
content: "Watashi ga kita!",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I-SEE-WHAT-YOU-DID-THERE_HOLYSHIT

update alert component test snapshot

add notifications component and fdNotifications installation

update documentation

remove unnecessary checks

unsubscribe to events on beforeDestroy

updated documentation

fixed deleting by group

updated documentation and example

fix: group name with value '' was clearing all groups in hideAll

separated styles from sfc file

call onDismiss callback once notification is removed

update documentation: styles + onDismiss
@dandashino dandashino merged commit e73a4f4 into master Aug 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants