Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[sitecore-jss-react] [Editing Integration] Add support for chrome hyd…
…ration for Placeholders (#1776) * conditinally emit edit chromes metadata for placeholders, rendering * refactor PlaceholderWithMetadata component * update tests * update changelog * remove extra lines * remove editMode mock data * update unit test, change code tag chrometype * remove only * refactor as per new requirements * Update packages/sitecore-jss/src/layout/models.ts Co-authored-by: Illia Kovalenko <[email protected]> * Update packages/sitecore-jss-react/src/components/PlaceholderMetadata.tsx Co-authored-by: Illia Kovalenko <[email protected]> * Update packages/sitecore-jss-react/src/components/PlaceholderMetadata.tsx Co-authored-by: Illia Kovalenko <[email protected]> * Update packages/sitecore-jss-react/src/components/PlaceholderMetadata.tsx Co-authored-by: Illia Kovalenko <[email protected]> * Update CHANGELOG.md Co-authored-by: Illia Kovalenko <[email protected]> * refactor unit test * change naming of props and types * add test for placeholder * update PlaceholderMetadata to render a component * add test for missing component * fix nextjs placeholder * remove context * reset nextjs placeholder * update changelog * update test data * change PlaceholderMetadata implmentation * Placeholder metadata refactor - wip * update tests, refactor Placeholder component * remove redundant data * update unit test - wip * move tests to placeholder, refactor placeholder * refactor tests * refactor placeholdermetadata component, update tests * refactor placeholder tests, update jsdoc * update nextjs types * remove keys from code * fix nextjs placeholder props * change deprecated statement * update deprecated 2 --------- Co-authored-by: Illia Kovalenko <[email protected]> Co-authored-by: yavorsk <[email protected]>
- Loading branch information