woocommerce/packages/js/internal-js-tests/src
Maikel David Pérez Gómez 7d0669dcb1
Add selection to the tree control (#36435)
* 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
2023-02-28 15:10:12 -03:00
..
mocks Prefixed Private JS Packages (#33218) 2022-05-31 15:42:00 -07:00
util Prefixed Private JS Packages (#33218) 2022-05-31 15:42:00 -07:00
setup-globals.js Add selection to the tree control (#36435) 2023-02-28 15:10:12 -03:00
setup-react-testing-library.js Prefixed Private JS Packages (#33218) 2022-05-31 15:42:00 -07:00
setup-window-globals.js Prefixed Private JS Packages (#33218) 2022-05-31 15:42:00 -07:00