Added images and examples in Menu and Snackbar also made a Snackbar C… #855
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Title:
Add new Snackbar component, update snackbar documentation and update menu documentation with checkbox-type menus
Description:
This PR introduces the following changes:
Snackbar
component has been added to the/lib
directory, with multiple variants:Menu
component documentation to include a new Checkbox Menu type, showcasing how checkboxes can be used within a menu.Issue Addressed:
Addresses issue #261
Before/After Screenshots:
Basic Snackbar:
Snackbar with Action:
Focused Snackbar:
Changelog:
Snackbar
component with variants for simple snackbars, snackbars with actions, and focused snackbars.Menu
documentation to include a new Checkbox Menu type, illustrating how checkboxes can be integrated into a menu.Snackbar
(new component) (documentation update)Menu
(documentation update to include checkbox menu type)Steps to Test:
Snackbar
component in/lib
./docs/pages/snackbar.vue
to ensure the examples are working as expected.Menu
documentation at/docs/pages/menu.vue
to ensure that the Checkbox Menu examples are correct and showcase checkbox-based interactions properly.Optional Implementation Notes:
Snackbar
component was added to the/lib
directory with configurable props to control the type (simple, action-based, or focused).Menu
component has been updated to show an example of how a checkbox-style menu can be integrated. This provides users with guidance on using checkboxes within a menu structure.Snackbar
documentation includes new examples and configurations, making it easier for users to implement snackbars in different styles.Testing Checklist:
Reviewer Guidance:
Snackbar
component support all three variants (simple, with actions, focused)?Menu
documentation clear and functional for users who want to implement checkbox menus?Comments:
Final Note:
This PR enhances the design system by adding flexibility to the
Snackbar
component and improving theSnackbar
andMenu
documentation with examples for checkbox-based menus. These changes will help users better implement snackbars and menus with enhanced functionality and accessibility.