* Migrate category field to TreeSelect
* Rename and refactor some props due to changes in SelectTree that were introduced afterwards
* add Changelog
* Rename type to a better name
* Add tests to select-tree and remove tests from category-field
* Restore ts change that broke build
* Run linter
* Fix broken tests
* Update test
* Import from wordpress instead of react
* Add scrollIntoViewOnOpen and position props to menu
* Add ability to customize active item style
* Add menu toggle button
* Add changelog
* Fix changelog
* Rename toggle button classname
* Change default menu position
* Update toggle button story
* Add default value to getToggleButtonProps
* Create a new experimental component TreeSelect
Add functionality to TreeControl to support additional scenarios
* Fix a bug where the shouldNotRecursivelySelect was not passed to Trees inside Tree Items
* Do not collapse nodes inside useEffect if they are already expanded
* Add storybook example for SelectTreeControl
* Move component to its own directory
* Remove wrong comment
* Fix CSS import path
* Remove getFilteredItems from select-tree
* Stop using getFilteredItems inside select tree
Create new shouldShowCreateButton prop to allow receiving only filtered items inside component
Remove support to show custom getItemLabel and getItemValue
* Change interface
* Rename back Item type names
* Rename back value
* Fix lint error and remove passing ref to treeProps
* Make id mandatory in SelectTree
* Refactor
* Improve selector to focus on create button
* Add required dependencies
* Create the block editor component
* Create the header component
* Create the sidebar component
* Create the editor component
* Remove comments
* Export the block editor from its package
* Enqueue wp-edit-site
* Create the new block mode product page
* Register the new ProductPage component in /add-product route
* Add temporal layout styles
* Fix rebasing conflicts
* Fix linter errors
* Redirect to the new product-editor page when edit
* Add changelog files
* Fixing dependencies conflicts and ignoring some non running test
* Add comment suggestions
* Fix conflicts after rebasing
* Add comment suggestions
* Add tree-control expand/collapse on click the expander button or by a custom logic
* Upgrade WP components dependency to v19.8.5 to support indeterminate checkbox control
* Add styles to fit the disign
* Add tree-control expand/collapse on click the expander button or by a custom logic
* Add a11y landmarks
* Add keyboard interactions
* Add changelog file
* Fix linter errors
* Resolving rebase conflicts
* Add comment suggestions
* Add tree-control expand/collapse on click the expander button or by a custom logic
* Add stories
* Upgrade WP components dependency to v19.8.5 to support indeterminate checkbox control
* Add styles to fit the disign
* Add type definitions
* Add custom hook to manage highlight
* Add hightlighter to the tree control
* Add stories
* Add changelog file
* Fix rebase conflicts
* Add comment suggestions
* Create tree-control component
* Remove items from treeItemProps
* Add tree-control expand/collapse on click the expander button or by a custom logic
* Add stories
* Add the type definitions
* Add use selection hook
* Upgrade WP components dependency to v19.8.5 to support indeterminate checkbox control
* Add selection logic to the tree control
* Create stories
* Add changelog file
* Fix linter error
* Add styles to fit the disign
* Highlight selected item when it's a single selection tree
* Rebasing from trunk
* Add comment suggestions
* Fix unit test errors due to a new version of @wordpress/compose related to the ResizeObserve feat
* Add type definitions
* Add custom rendering logic to the item label
* Add stories
* Add changelog file
* Fix rebase merge issue
* Fix up stories after rebase
---------
Co-authored-by: Matt Sherman <matt@jam123.com>
* Add missing dev packages to product-editor package
* Create components folder for organization
* Move product field, section and tab slots over to product-editor package
* Move use of product slot fills to product-editor package
* Sync dependencies
* Add changelogs
* Update README's and add constant for default values
* Update README's in product-editor package
* pin eslint in .syncpackrc
run `pnpm run sync-dependencies` to ensure pinned version is used across projects, then run `pnpm install` to update `pnpm-lock.yaml`
* add changelog files
ran `pnpm run --no-bail --filter='[HEAD^1]' changelog add --significance=patch --type=dev --entry='Update eslint to 8.32.0 across the monorepo.'`
* re-run `pnpm install` to fix what broke while merging
* Adding contants, renaming files, wiring up shipping section with discrete slots for variants and non-variants
* Refactoring pricing section to give discrete slots for variant and non-variant forms
* Refactoring inventory fills to give discrete slots for variant and non-variant products
* Adding additional slot to pricing -> taxes -> advanced
* Renaming api fields component file
* Refactoring images, details and attributes to match others
* Ensure variant field IDs are distinct, organize all product field fill IDs
* Adding changelog
* Simplifying IDs used for slots
* Minor refactor of pricing taxes class field
* Give api fill exports their own registerPlugin scope
* Refactoring WooProductFieldItem to generate unique IDs
* Adding components changelog
* Add @wordpress/base-styles as dependency to @woocommerce/components
* Import experimental tree control styles
* Calc padding-left for tree item in CSS instead of JS
* Force resolution of 7.0.2 react and install base styles.
* Update lock file
Co-authored-by: Sam Seay <samueljseay@gmail.com>
* Working prototype of product details via slotfill
* Raising default order for product slot-fills
* Move logic to details field name component
* Adding order prop to all fills.
* Adding components changelog
* Adding changelog
* Deleting obsolete product details section files
* Reducing spacing between slot filled fields
* Add initial product fields registry store and helper functions
* Add changelog
* Change edit to render and address PR feedback
* Make use of memoize-one instead of rememo as memoize-one is already installed
* Update spelling of Cancelled to Canceled for US English.
This only updates output display text that uses US English. All code that uses
the form Cancelled is unchanged and is perfectly fine to stay as Cancelled.
(since it is behind the scenes and would require changes in other plugins)
For languages where Cancelled is preferred such as UK English the approprate
form can be applied in the translation files.
Fixes https://github.com/woocommerce/woocommerce/issues/25847
* add changelog file
* Update plugins/woocommerce/tests/api-core-tests/tests/settings/settings-crud.test.js
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>