-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Menu Component and ANIREF Preset Changes (#47)
* feat(menu): add menu component primitives * feat(menu): add base for custom menu slot recipe * feat(menu): add base for custom menu component * fix(menu): appropriately return menu component * chore(menu): add base for menu stories * chore(menu): allow for menu item groups in menu component * chore(menu): temporarily inject button component styles on menu trigger * feat(menu): update menu stories to use args instead of render function, add controls for trigger variant and size * feat(drawer): update drawer stories to use args * feat(modal): update modal stories to use args * test(menu): add basic unit test for menu component * chore: set up dark mode thematics * chore: update drawer and text responsive styles * chore(button): update base button text color * chore(card): update base card responsive styles * chore(text): update text story to use args, place text recipe in dedicated file * fix(tests): update button unit test to verify correct bg color class * fix(typescript): specify 'generated/panda' as type root path * fix(jest): add 'js'/'jsx' patterns to SWC transform * refactor(menu): update recipe styles * chore(menu): move menu component stories into appropriate location for storybook * fix(drawer): move close trigger styles to button * chore(preset): update semantic token colors, update token colors * chore(menu): update menu item and item group label styles * chore(menu): update menu item group label styles * feat(menu): add submenu support to menu component * chore(menu): remove unnecessary TODO statements * refactor(menu): update content styles to include border * ci(changesets): add changesets for Menu component and preset update * fix(menu): remove unnecessary TODO comment * fix(menu): fix SSR issues with Menu component by only rendering when mounted * chore(hooks): create custom hook directory in lib * refactor(preset): remove unnecessary gray palette tokens, update button styles * refactor(menu): add decorator to menu item * fix(menu): update props for menu items * chore(preset): update brand colors and semantic tokens accordingly * fix(deps): update lock file * build(panda): update config to include mdx files * build(deps): update dependencies * chore(button): use config recipe for button component * fix(button): remove default variants, move primary variant base styles to base * chore(drawer): update drawer to use config recipe * fix(button): remove unnecessary className prop extraction * chore(menu): update menu to use config recipe * chore(modal): update modal to use config recipe * chore(card): update card to use config recipe * chore(text): update text to use config recipe * chore: rename semantic tokens file * chore: rename zindex file * refactor(menu): remove unnecessary 'triggerClassNames' in menu * chore(changesets): update preset changeset description --------- Co-authored-by: Brian Cooper <brian@brian-cooper.com>
- Loading branch information
1 parent
4a0989b
commit 0fbee1c
Showing
36 changed files
with
2,140 additions
and
1,289 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@animareflection/ui": minor | ||
--- | ||
|
||
Add `Menu` component |
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,5 @@ | ||
--- | ||
"@animareflection/ui": patch | ||
--- | ||
|
||
Update ANIREF preset colors, recipes, semantic tokens |
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
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
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
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.
0fbee1c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coverage report
Test suite run success
9 tests passing in 7 suites.
Report generated by 🧪jest coverage report action from 0fbee1c