Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new experimental version of DropdownMenu #49473

Merged
merged 64 commits into from
May 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
9844c50
Add Radix deps
ciampo Mar 30, 2023
0e79741
Re-export radix dropdown with some custom styles
ciampo Mar 30, 2023
9b4c171
Add sample story
ciampo Mar 30, 2023
dc33f98
Start aggregating some components
ciampo Mar 31, 2023
786acc5
Improve storybook config
ciampo Mar 31, 2023
1ccabba
Use better colors
ciampo Apr 4, 2023
d29919a
Fix styles
ciampo Apr 4, 2023
37eb61f
Move types to external file
ciampo Apr 4, 2023
37582a2
Namespace all styled radix components under "DropdownMenuStyled" name…
ciampo Apr 4, 2023
ddda5c1
Use dot icon for radio items instead of check icon
ciampo Apr 4, 2023
4b446db
Pass portal props to portal
ciampo Apr 4, 2023
7a687ef
Add DropdownSubMenu component
ciampo Apr 4, 2023
377c61c
Improve stories to use high-level components
ciampo Apr 4, 2023
c3d36c7
Update notes
ciampo Apr 4, 2023
76ffab2
Comment out unused import
ciampo Apr 4, 2023
0a3acf8
Use menu groups
ciampo Apr 4, 2023
6665504
draft section in contributing guidelines
ciampo Apr 4, 2023
e93beff
Use wordpress icons instead of `@radix-ui/react-icons`
ciampo Apr 4, 2023
6437b35
Add custom `icon` prop to `DropdownMenuItem`
ciampo Apr 4, 2023
557b955
Add missing alignment property for sub trigger
ciampo Apr 4, 2023
76ffa6b
Extract animation variables
ciampo Apr 4, 2023
a1318bf
Align colors more closely to WordPress styles
ciampo Apr 4, 2023
4e32846
Add border to dropdown container
ciampo Apr 4, 2023
4d15f22
Increase spacing, use `space` util
ciampo Apr 4, 2023
76682ec
Use font utils
ciampo Apr 4, 2023
d637c50
Add focus-visible outline
ciampo Apr 4, 2023
7c4769a
Alternative styling for submenu triggers
ciampo Apr 4, 2023
ae83a5e
Pick only selected props for DropdownMenu
ciampo Apr 12, 2023
6dfa27d
Rewrite Storybook example to support controls
ciampo Apr 12, 2023
f376229
DropdownMenuItem: Pick only selected props, support prefix/suffix
ciampo Apr 12, 2023
8f666b1
Remove forwarded refs
ciampo Apr 12, 2023
1574406
Playing around with asChild and ref forwarding
ciampo Apr 12, 2023
b30c4c8
Updated remaining props
ciampo Apr 12, 2023
c41f58a
Add suffix to checkbox / radio items
ciampo Apr 12, 2023
77585cd
Tweak styles (remove arrow, box shadow, center Storybook example)
ciampo Apr 12, 2023
8dedbc1
Try separate submenu trigger component
mirka Apr 26, 2023
a8c66e1
Move layout wrapper to decorator
ciampo May 9, 2023
c6a1c40
Do not use `asChild` for indicator wrappers
ciampo May 9, 2023
d4b9add
Remove solved TODOs
ciampo May 9, 2023
a143f60
RTL support
ciampo May 9, 2023
a6bc304
Add support for reduced motion
ciampo May 9, 2023
a4b27b4
Expose component via lock APIs
ciampo May 9, 2023
d8518c0
Polish styles
ciampo May 10, 2023
c96e449
Generalize storybook
ciampo May 10, 2023
0c6bce7
Focus/hover styles
ciampo May 10, 2023
203b6a9
Refine styles
ciampo May 11, 2023
2bf3379
Tweak storybook example (move separators out of groups, better item t…
ciampo May 12, 2023
6a7ff14
Add unit tests
ciampo May 12, 2023
82b526a
Move legacy implementation to v1 subfolder, move new implementation t…
ciampo May 12, 2023
20552e7
READMEs
ciampo May 12, 2023
ce4d5c5
Tidy up types and JSDocs
ciampo May 12, 2023
f478db2
CHANGELOG
ciampo May 12, 2023
01224d2
Update Storybook example title
ciampo May 12, 2023
b2ffd25
Fix imports
ciampo May 12, 2023
1700cf3
Fix storybook path
ciampo May 12, 2023
1f0b1b8
Fix test import path
ciampo May 16, 2023
1233d26
Fix manifest.json
ciampo May 16, 2023
5768fe7
Move legacy files back to where they were, v2 to separate dropdown-me…
ciampo May 19, 2023
3c31da7
Update CHANGELOG and fix formatting
ciampo May 19, 2023
01e990c
Use WP Button instead of custom button
ciampo May 19, 2023
ce296c2
Remove unnecessary decorator with shared context, using private state…
ciampo May 19, 2023
c9a7826
Remove opinionated wrapper centering styles
ciampo May 19, 2023
ddc1aa8
Update READMEs: remove v1, add experimental callout
ciampo May 19, 2023
da89425
Fix OG DropdownMenu import syntax to be consistent with TypeScript im…
ciampo May 19, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/tool/manifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const componentPaths = glob( 'packages/components/src/*/**/README.md', {
'**/src/ui/**/README.md',
'packages/components/src/theme/README.md',
'packages/components/src/view/README.md',
'packages/components/src/dropdown-menu-v2/README.md',
],
} );
const packagePaths = glob( 'packages/*/package.json' )
Expand Down
333 changes: 333 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading