✨(Modal, Calendar): add variants and extract calendar#381
Merged
PanchoutNathan merged 7 commits intomainfrom Mar 30, 2026
Merged
✨(Modal, Calendar): add variants and extract calendar#381PanchoutNathan merged 7 commits intomainfrom
PanchoutNathan merged 7 commits intomainfrom
Conversation
NathanVss
approved these changes
Mar 27, 2026
ef8a0fb to
053c730
Compare
Refactor Modal to support two variants: default and tab. Extract layout components into separate files: - ModalDefaultLayout: title, subtitle, icon, compact mode - ModalTabLayout: sidebar navigation with tab selection - ModalFooter: left/right split actions - ChevronIcons and CloseIcon: SVG icon components Update helper modals to use new rightActions prop.
Add SCSS styles for default and tab modal variants: - Compact title mode with smaller font size - Subtitle support and title icon alignment - Tab sidebar with active/hover states - Responsive footer with left/right split Add component tokens for new variant properties. Add tests covering tab navigation and mobile view. Add stories for subtitle, title icon, compact mode and sticky footer.
Move Calendar, CalendarCell and CalendarGrid from Forms/DatePicker into a new top-level Calendar component directory. Export Calendar and CalendarRange from the library. Add dedicated SCSS styles, tokens, tests and stories. Update DatePicker imports to use new Calendar path.
Regenerate CSS, JS, SCSS and TS token files to reflect new Calendar component tokens, updated Modal tokens and form font-size changes.
053c730 to
031981c
Compare
This was referenced Mar 30, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
layout components, new styles, tokens, tests and stories
DatePicker, with dedicated styles, tokens, tests and stories