-
Notifications
You must be signed in to change notification settings - Fork 219
Move SortSelect
to components package
#11411
Conversation
The release ZIP for this PR is accessible via:
Script Dependencies ReportThe
This comment was automatically generated by the TypeScript Errors Report
🎉 🎉 This PR does not introduce new TS errors. |
SortSelect
to components package
9b8848a
to
ca186b6
Compare
Size Change: -1.39 kB (0%) Total Size: 1.53 MB
ℹ️ View Unchanged
|
assets/js/base/components/index.ts
Outdated
export * from './formatted-monetary-amount'; | ||
export * from './label'; |
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.
I think these were missed during a rebase of the other PRs, so including them here.
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.
Thank you, @opr, for working on this PR! Everything looks good! There are only some conflicts in this branch that must be resolved!
ca186b6
to
ec277c9
Compare
What
Move
SortSelect
component to components package and update the places it is imported:ProductSortSelect
ReviewSortSelectProps
Why
As more developers integrate their extensions with WooCommerce Blocks, the case for reusing components grows. This starts the ball rolling by creating a new package. Rather than recreating components developers can access
wc.blocksComponents
and get the ones we need.Testing Instructions
Please consider any edge cases this change may have, and also other areas of the product this may impact.
WooCommerce Visibility
Required:
Checklist
Required:
[type]
label or a[skip-changelog]
label.Conditional:
[skip-changelog]
label is not present).Changelog