{"_id":"@constellation4sitecore/foundation-enhancers","_rev":"44-d3e2f72c799af531dde807154c08f144","name":"@constellation4sitecore/foundation-enhancers","dist-tags":{"beta":"1.0.4-beta.19","latest":"1.0.3"},"versions":{"0.1.1-beta.11":{"name":"@constellation4sitecore/foundation-enhancers","version":"0.1.1-beta.11","description":"A collection of XM Cloud compatible libraries for SXA Sitecore Development.","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-esm.json && npm run copy-dts","copy-dts":"copyfiles -u 1 \"src/**/*.d.ts\" types","clean":"del-cli dist types","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=12","npm":">=6"},"author":{"name":"Richard J. Cabral, Roberto Armas"},"license":"MIT","bugs":{"url":"https://github.com/constellation4sitecore/xmcloud-constellation/issues"},"devDependencies":{"@types/react":"^18.0.27","@types/react-dom":"^18.0.10","copyfiles":"^2.4.1","del-cli":"^5.0.0","eslint":"^8.32.0","eslint-plugin-react":"^7.32.1","jsdom":"^21.1.0","next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0","ts-node":"^10.9.1","typescript":"~4.9.4"},"peerDependencies":{"next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"@sitecore-jss/sitecore-jss-nextjs":"^21.1.0"},"types":"types/index.d.ts","gitHead":"53c816a68eae284d8091e3078cb5f85c1a9caf29","_id":"@constellation4sitecore/foundation-enhancers@0.1.1-beta.11","_nodeVersion":"16.15.1","_npmVersion":"lerna/6.6.2/node@v16.15.1+x64 (win32)","dist":{"integrity":"sha512-uASCsX8cyzt5akBCs6YsLZWtRnPOXaVOulPd8ZkswM64hoTPWXOx6rZbdRzzUgPAx6gf5LPdqxEsh5uq6eRidQ==","shasum":"0cec2e9af8c2ef38531bb5aab10a27d593d5fa82","tarball":"https://registry.npmjs.org/@constellation4sitecore/foundation-enhancers/-/foundation-enhancers-0.1.1-beta.11.tgz","fileCount":18,"unpackedSize":12207,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC17UGsJXOnzBGpTjTk3hJGneNb5jEH6fTnvDIOLoDWkQIgb2CIWRMUM2va/YF7qpzXWr9etZq3ac/OH5swxeV0mjc="}]},"_npmUser":{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},"directories":{},"maintainers":[{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},{"name":"sgtsitecore","email":"sitecorerick@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/foundation-enhancers_0.1.1-beta.11_1684808514702_0.5573138345954107"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.1-beta.12":{"name":"@constellation4sitecore/foundation-enhancers","version":"0.1.1-beta.12","description":"A collection of XM Cloud compatible libraries for SXA Sitecore Development.","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-esm.json && npm run copy-dts","copy-dts":"copyfiles -u 1 \"src/**/*.d.ts\" types","clean":"del-cli dist types","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=12","npm":">=6"},"author":{"name":"Richard J. Cabral, Roberto Armas"},"license":"MIT","bugs":{"url":"https://github.com/constellation4sitecore/xmcloud-constellation/issues"},"devDependencies":{"@types/react":"^18.0.27","@types/react-dom":"^18.0.10","copyfiles":"^2.4.1","del-cli":"^5.0.0","eslint":"^8.32.0","eslint-plugin-react":"^7.32.1","jsdom":"^21.1.0","next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0","ts-node":"^10.9.1","typescript":"~4.9.4"},"peerDependencies":{"next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"@sitecore-jss/sitecore-jss-nextjs":"^21.1.0"},"types":"types/index.d.ts","gitHead":"85985f693f6ffcb394121434320c15bc41605402","readme":"# Constellation Foundation Mapper\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @constellation4sitecore/foundation-enhancers --save\r\n```\r\n\r\n## Usage\r\n\r\n### With DatasourceRendering\r\n\r\nSimilarly to `withDatasourceCheck` that comes OOTB to enforce a component to have a Datasource, we created a new High-Order component called `withDatasourceRendering` that is meant to help developers code faster by automatically checking for a Datasource if available, if not the datasource will fallback to the context item.\r\n\r\n```tsx\r\nimport { withDatasourceRendering } from '@constellation4sitecore/foundation-enhancers';\r\n\r\nexport default withDatasourceRendering()<HomepageMastheadProps>(HomepageMasthead);\r\n```\r\n\r\nThis pattern takes the Component and validates if the rendering has any datasource to return fields as normal call otherwise fields will be populated with `useSitecoreContext`\r\n\r\n### Get Rendering Index\r\n\r\nThis helper function allows you to get index of the rendering.\r\n\r\n```ts\r\nconst placeholders = layoutData.sitecore?.route?.placeholders;\r\nconst result = getRenderingIndex(placeholders, rendering.uid as string, 'TabbedContentRowTab');\r\n```\r\n\r\nInputs:\r\n\r\n- placeholders: all layout placeholders\r\n- UID: Rendering UID\r\n- Component Name: Name of the child component.\r\n\r\n### Filter Placeholders\r\n\r\nFor example if you want to build a Tab Content Row component, you will facing an issue, if you don't filter placeholders in experience editor it will trought an error to avoid this filterPlaceholders will filter just components that name are not equal to \"code\".\r\n\r\n```ts\r\nexport const getStaticProps = async (rendering: ComponentRendering) => {\r\n  const newTabs = [] as TabViewModel[];\r\n  const tabContentRows = filterPlaceholders(\r\n    (rendering.placeholders as unknown as TabbedPlaceholders).TabbedContentRowTabs\r\n  );\r\n  for (const tabContentRow of tabContentRows) {\r\n  }\r\n};\r\n```\r\n","readmeFilename":"README.md","_id":"@constellation4sitecore/foundation-enhancers@0.1.1-beta.12","_nodeVersion":"16.15.1","_npmVersion":"lerna/6.6.2/node@v16.15.1+x64 (win32)","dist":{"integrity":"sha512-Z6530z9IHLpcwuLvpSm4waHdnAx+g/KdmrrDutCWSJ950IvvpIVJPTHTeoZD49tD+XFcGLmfdkspXRBl5we4Ew==","shasum":"5d93c388e56ede9c65b34b83bbf779d278e80c16","tarball":"https://registry.npmjs.org/@constellation4sitecore/foundation-enhancers/-/foundation-enhancers-0.1.1-beta.12.tgz","fileCount":18,"unpackedSize":12207,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCUjHuWkpeP013beoyDasdZEJpQFizqsmhX692zG3fUvQIgS7jaDS33q75TYr3UMR9Qvek/7OzJ+pXJbXAZbRZEsNw="}]},"_npmUser":{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},"directories":{},"maintainers":[{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},{"name":"sgtsitecore","email":"sitecorerick@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/foundation-enhancers_0.1.1-beta.12_1684810039647_0.6652258405126099"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.1-beta.13":{"name":"@constellation4sitecore/foundation-enhancers","version":"0.1.1-beta.13","description":"A collection of XM Cloud compatible libraries for SXA Sitecore Development.","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-esm.json && npm run copy-dts","copy-dts":"copyfiles -u 1 \"src/**/*.d.ts\" types","clean":"del-cli dist types","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=12","npm":">=6"},"author":{"name":"Richard J. Cabral, Roberto Armas"},"license":"MIT","bugs":{"url":"https://github.com/constellation4sitecore/xmcloud-constellation/issues"},"devDependencies":{"@types/react":"^18.0.27","@types/react-dom":"^18.0.10","copyfiles":"^2.4.1","del-cli":"^5.0.0","eslint":"^8.32.0","eslint-plugin-react":"^7.32.1","jsdom":"^21.1.0","next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0","ts-node":"^10.9.1","typescript":"~4.9.4"},"peerDependencies":{"next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"@sitecore-jss/sitecore-jss-nextjs":"^21.1.0"},"types":"types/index.d.ts","gitHead":"32d2c47c317f6c856b119fafaa00554c157a5fa5","readme":"# Constellation Foundation Mapper\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @constellation4sitecore/foundation-enhancers --save\r\n```\r\n\r\n## Usage\r\n\r\n### With DatasourceRendering\r\n\r\nSimilarly to `withDatasourceCheck` that comes OOTB to enforce a component to have a Datasource, we created a new High-Order component called `withDatasourceRendering` that is meant to help developers code faster by automatically checking for a Datasource if available, if not the datasource will fallback to the context item.\r\n\r\n```tsx\r\nimport { withDatasourceRendering } from '@constellation4sitecore/foundation-enhancers';\r\n\r\nexport default withDatasourceRendering()<HomepageMastheadProps>(HomepageMasthead);\r\n```\r\n\r\nThis pattern takes the Component and validates if the rendering has any datasource to return fields as normal call otherwise fields will be populated with `useSitecoreContext`\r\n\r\n### Get Rendering Index\r\n\r\nThis helper function allows you to get index of the rendering.\r\n\r\n```ts\r\nconst placeholders = layoutData.sitecore?.route?.placeholders;\r\nconst result = getRenderingIndex(placeholders, rendering.uid as string, 'TabbedContentRowTab');\r\n```\r\n\r\nInputs:\r\n\r\n- placeholders: all layout placeholders\r\n- UID: Rendering UID\r\n- Component Name: Name of the child component.\r\n\r\n### Filter Placeholders\r\n\r\nFor example if you want to build a Tab Content Row component, you will facing an issue, if you don't filter placeholders in experience editor it will trought an error to avoid this filterPlaceholders will filter just components that name are not equal to \"code\".\r\n\r\n```ts\r\nexport const getStaticProps = async (rendering: ComponentRendering) => {\r\n  const newTabs = [] as TabViewModel[];\r\n  const tabContentRows = filterPlaceholders(\r\n    (rendering.placeholders as unknown as TabbedPlaceholders).TabbedContentRowTabs\r\n  );\r\n  for (const tabContentRow of tabContentRows) {\r\n  }\r\n};\r\n```\r\n","readmeFilename":"README.md","_id":"@constellation4sitecore/foundation-enhancers@0.1.1-beta.13","_nodeVersion":"16.15.1","_npmVersion":"lerna/6.6.2/node@v16.15.1+x64 (win32)","dist":{"integrity":"sha512-vuUin3DDOp4Oi4WECH5hpxYRQerma5zwFybsINfJN9IwdN6JsOUeX9VlTcF0qsTdXFl7hY2lxXWJhAZrvmMQJg==","shasum":"6e5242a1fc5c498f7dbfe5df5953b033dddaa86f","tarball":"https://registry.npmjs.org/@constellation4sitecore/foundation-enhancers/-/foundation-enhancers-0.1.1-beta.13.tgz","fileCount":18,"unpackedSize":12207,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHzD1F+s6fzwg0Yas9uaFD4aIUcHozLmCWfXSnWYg92NAiEAjW5QAUTxwJ2dlaEpouh9u0klLMKzU1d+q8KpRlLnJgE="}]},"_npmUser":{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},"directories":{},"maintainers":[{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},{"name":"sgtsitecore","email":"sitecorerick@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/foundation-enhancers_0.1.1-beta.13_1684812556512_0.15926883297119998"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.1-beta.14":{"name":"@constellation4sitecore/foundation-enhancers","version":"0.1.1-beta.14","description":"A collection of XM Cloud compatible libraries for SXA Sitecore Development.","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-esm.json && npm run copy-dts","copy-dts":"copyfiles -u 1 \"src/**/*.d.ts\" types","clean":"del-cli dist types","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=12","npm":">=6"},"author":{"name":"Richard J. Cabral, Roberto Armas"},"license":"MIT","bugs":{"url":"https://github.com/constellation4sitecore/xmcloud-constellation/issues"},"devDependencies":{"@types/react":"^18.0.27","@types/react-dom":"^18.0.10","copyfiles":"^2.4.1","del-cli":"^5.0.0","eslint":"^8.32.0","eslint-plugin-react":"^7.32.1","jsdom":"^21.1.0","next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0","ts-node":"^10.9.1","typescript":"~4.9.4"},"peerDependencies":{"next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"@sitecore-jss/sitecore-jss-nextjs":"^21.1.0"},"types":"types/index.d.ts","gitHead":"0b3da44f5aae62d0c11d53b57d74dadc00c1903f","readme":"# Constellation Foundation Mapper\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @constellation4sitecore/foundation-enhancers --save\r\n```\r\n\r\n## Usage\r\n\r\n### With DatasourceRendering\r\n\r\nSimilarly to `withDatasourceCheck` that comes OOTB to enforce a component to have a Datasource, we created a new High-Order component called `withDatasourceRendering` that is meant to help developers code faster by automatically checking for a Datasource if available, if not the datasource will fallback to the context item.\r\n\r\n```tsx\r\nimport { withDatasourceRendering } from '@constellation4sitecore/foundation-enhancers';\r\n\r\nexport default withDatasourceRendering()<HomepageMastheadProps>(HomepageMasthead);\r\n```\r\n\r\nThis pattern takes the Component and validates if the rendering has any datasource to return fields as normal call otherwise fields will be populated with `useSitecoreContext`\r\n\r\n### Get Rendering Index\r\n\r\nThis helper function allows you to get index of the rendering.\r\n\r\n```ts\r\nconst placeholders = layoutData.sitecore?.route?.placeholders;\r\nconst result = getRenderingIndex(placeholders, rendering.uid as string, 'TabbedContentRowTab');\r\n```\r\n\r\nInputs:\r\n\r\n- placeholders: all layout placeholders\r\n- UID: Rendering UID\r\n- Component Name: Name of the child component.\r\n\r\n### Filter Placeholders\r\n\r\nFor example if you want to build a Tab Content Row component, you will facing an issue, if you don't filter placeholders in experience editor it will trought an error to avoid this filterPlaceholders will filter just components that name are not equal to \"code\".\r\n\r\n```ts\r\nexport const getStaticProps = async (rendering: ComponentRendering) => {\r\n  const newTabs = [] as TabViewModel[];\r\n  const tabContentRows = filterPlaceholders(\r\n    (rendering.placeholders as unknown as TabbedPlaceholders).TabbedContentRowTabs\r\n  );\r\n  for (const tabContentRow of tabContentRows) {\r\n  }\r\n};\r\n```\r\n","readmeFilename":"README.md","_id":"@constellation4sitecore/foundation-enhancers@0.1.1-beta.14","_nodeVersion":"16.15.1","_npmVersion":"lerna/6.6.2/node@v16.15.1+x64 (win32)","dist":{"integrity":"sha512-RYVstRwIHAoDD+n7qc/mvy0WOWjcjRkfTsb45YwcuzI9dnQoLgrH6LlXDuXXny54Gze1Ize62WOmd1V6DhURFw==","shasum":"72dd48923c7c62ac04cde88fb549d4f9d598e02f","tarball":"https://registry.npmjs.org/@constellation4sitecore/foundation-enhancers/-/foundation-enhancers-0.1.1-beta.14.tgz","fileCount":18,"unpackedSize":12207,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCae8Ai++aFk9RQ1nFK+YqzMYXrvILefxLOSQD6/e0xggIgRujs52FmxQE0Cxh1KgDOkBC6M8PkRShKhNyZtcSlRk4="}]},"_npmUser":{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},"directories":{},"maintainers":[{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},{"name":"sgtsitecore","email":"sitecorerick@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/foundation-enhancers_0.1.1-beta.14_1684813429351_0.6345528561759994"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.1-beta.16":{"name":"@constellation4sitecore/foundation-enhancers","version":"0.1.1-beta.16","description":"A collection of XM Cloud compatible libraries for SXA Sitecore Development.","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-esm.json && npm run copy-dts","copy-dts":"copyfiles -u 1 \"src/**/*.d.ts\" types","clean":"del-cli dist types","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=12","npm":">=6"},"author":{"name":"Richard J. Cabral, Roberto Armas"},"license":"MIT","bugs":{"url":"https://github.com/constellation4sitecore/xmcloud-constellation/issues"},"devDependencies":{"@types/react":"^18.0.27","@types/react-dom":"^18.0.10","copyfiles":"^2.4.1","del-cli":"^5.0.0","eslint":"^8.32.0","eslint-plugin-react":"^7.32.1","jsdom":"^21.1.0","next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0","ts-node":"^10.9.1","typescript":"~4.9.4"},"peerDependencies":{"next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"@sitecore-jss/sitecore-jss-nextjs":"^21.1.0"},"types":"types/index.d.ts","gitHead":"d50770922d1a3e657b8acc0816bac5f9d2d1dd61","readme":"# Constellation Foundation Mapper\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @constellation4sitecore/foundation-enhancers --save\r\n```\r\n\r\n## Usage\r\n\r\n### With DatasourceRendering\r\n\r\nSimilarly to `withDatasourceCheck` that comes OOTB to enforce a component to have a Datasource, we created a new High-Order component called `withDatasourceRendering` that is meant to help developers code faster by automatically checking for a Datasource if available, if not the datasource will fallback to the context item.\r\n\r\n```tsx\r\nimport { withDatasourceRendering } from '@constellation4sitecore/foundation-enhancers';\r\n\r\nexport default withDatasourceRendering()<HomepageMastheadProps>(HomepageMasthead);\r\n```\r\n\r\nThis pattern takes the Component and validates if the rendering has any datasource to return fields as normal call otherwise fields will be populated with `useSitecoreContext`\r\n\r\n### Get Rendering Index\r\n\r\nThis helper function allows you to get index of the rendering.\r\n\r\n```ts\r\nconst placeholders = layoutData.sitecore?.route?.placeholders;\r\nconst result = getRenderingIndex(placeholders, rendering.uid as string, 'TabbedContentRowTab');\r\n```\r\n\r\nInputs:\r\n\r\n- placeholders: all layout placeholders\r\n- UID: Rendering UID\r\n- Component Name: Name of the child component.\r\n\r\n### Filter Placeholders\r\n\r\nFor example if you want to build a Tab Content Row component, you will facing an issue, if you don't filter placeholders in experience editor it will trought an error to avoid this filterPlaceholders will filter just components that name are not equal to \"code\".\r\n\r\n```ts\r\nexport const getStaticProps = async (rendering: ComponentRendering) => {\r\n  const newTabs = [] as TabViewModel[];\r\n  const tabContentRows = filterPlaceholders(\r\n    (rendering.placeholders as unknown as TabbedPlaceholders).TabbedContentRowTabs\r\n  );\r\n  for (const tabContentRow of tabContentRows) {\r\n  }\r\n};\r\n```\r\n","readmeFilename":"README.md","_id":"@constellation4sitecore/foundation-enhancers@0.1.1-beta.16","_nodeVersion":"16.15.1","_npmVersion":"lerna/6.6.2/node@v16.15.1+x64 (win32)","dist":{"integrity":"sha512-Ito0b40g7mUONNaEfjdcIrrwsm+ewBtPVNAvpNJe3JmSJ3jshZfFLVbf3uOQ07dAhEQRM+yS7knh3KFrOanlOg==","shasum":"aa3f64750541729ef6ee67007be01abdbff7d7a2","tarball":"https://registry.npmjs.org/@constellation4sitecore/foundation-enhancers/-/foundation-enhancers-0.1.1-beta.16.tgz","fileCount":18,"unpackedSize":12207,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGV56snzIew0IkLOykWXaccviMu6MxONAOt835cLXtf6AiEAoS/5LSCDHBlT4y76PKskPXUDy+1EqHLq1JTcboztQx0="}]},"_npmUser":{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},"directories":{},"maintainers":[{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},{"name":"sgtsitecore","email":"sitecorerick@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/foundation-enhancers_0.1.1-beta.16_1684818652610_0.5819117401899541"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.1-beta.17":{"name":"@constellation4sitecore/foundation-enhancers","version":"0.1.1-beta.17","description":"A collection of XM Cloud compatible libraries for SXA Sitecore Development.","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-esm.json && npm run copy-dts","copy-dts":"copyfiles -u 1 \"src/**/*.d.ts\" types","clean":"del-cli dist types","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=12","npm":">=6"},"author":{"name":"Richard J. Cabral, Roberto Armas"},"license":"MIT","bugs":{"url":"https://github.com/constellation4sitecore/xmcloud-constellation/issues"},"devDependencies":{"@types/react":"^18.0.27","@types/react-dom":"^18.0.10","copyfiles":"^2.4.1","del-cli":"^5.0.0","eslint":"^8.32.0","eslint-plugin-react":"^7.32.1","jsdom":"^21.1.0","next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0","ts-node":"^10.9.1","typescript":"~4.9.4"},"peerDependencies":{"next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"@sitecore-jss/sitecore-jss-nextjs":"^21.1.0"},"types":"types/index.d.ts","gitHead":"455c52734c2c9e698daa31735778c1eb8cbf8acd","readme":"# Constellation Foundation Mapper\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @constellation4sitecore/foundation-enhancers --save\r\n```\r\n\r\n## Usage\r\n\r\n### With DatasourceRendering\r\n\r\nSimilarly to `withDatasourceCheck` that comes OOTB to enforce a component to have a Datasource, we created a new High-Order component called `withDatasourceRendering` that is meant to help developers code faster by automatically checking for a Datasource if available, if not the datasource will fallback to the context item.\r\n\r\n```tsx\r\nimport { withDatasourceRendering } from '@constellation4sitecore/foundation-enhancers';\r\n\r\nexport default withDatasourceRendering()<HomepageMastheadProps>(HomepageMasthead);\r\n```\r\n\r\nThis pattern takes the Component and validates if the rendering has any datasource to return fields as normal call otherwise fields will be populated with `useSitecoreContext`\r\n\r\n### Get Rendering Index\r\n\r\nThis helper function allows you to get index of the rendering.\r\n\r\n```ts\r\nconst placeholders = layoutData.sitecore?.route?.placeholders;\r\nconst result = getRenderingIndex(placeholders, rendering.uid as string, 'TabbedContentRowTab');\r\n```\r\n\r\nInputs:\r\n\r\n- placeholders: all layout placeholders\r\n- UID: Rendering UID\r\n- Component Name: Name of the child component.\r\n\r\n### Filter Placeholders\r\n\r\nFor example if you want to build a Tab Content Row component, you will facing an issue, if you don't filter placeholders in experience editor it will trought an error to avoid this filterPlaceholders will filter just components that name are not equal to \"code\".\r\n\r\n```ts\r\nexport const getStaticProps = async (rendering: ComponentRendering) => {\r\n  const newTabs = [] as TabViewModel[];\r\n  const tabContentRows = filterPlaceholders(\r\n    (rendering.placeholders as unknown as TabbedPlaceholders).TabbedContentRowTabs\r\n  );\r\n  for (const tabContentRow of tabContentRows) {\r\n  }\r\n};\r\n```\r\n","readmeFilename":"README.md","_id":"@constellation4sitecore/foundation-enhancers@0.1.1-beta.17","_nodeVersion":"16.15.1","_npmVersion":"lerna/6.6.2/node@v16.15.1+x64 (win32)","dist":{"integrity":"sha512-m9AS++sGMZcypgV7UR/ccrgxfd2BDmcA0FWzLxROOeCYWncoOltk8uENOTmrSfoikaUvz+Rmb5X1GLrTW6eLXg==","shasum":"3c630ecd68a3bb377ca243ffa66ee94d755e2807","tarball":"https://registry.npmjs.org/@constellation4sitecore/foundation-enhancers/-/foundation-enhancers-0.1.1-beta.17.tgz","fileCount":18,"unpackedSize":12207,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICo3uk3aGiOFu1RVY7GZCbwvUUK+SU/6LG6ZUSJaYWf2AiBa4Y1OjHHzSAfenLOVAUB/ONkSfAoJMh5NcxRppUYRLA=="}]},"_npmUser":{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},"directories":{},"maintainers":[{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},{"name":"sgtsitecore","email":"sitecorerick@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/foundation-enhancers_0.1.1-beta.17_1684820447138_0.9913184443188214"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.2-beta.19":{"name":"@constellation4sitecore/foundation-enhancers","version":"0.1.2-beta.19","description":"A collection of XM Cloud compatible libraries for SXA Sitecore Development.","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-esm.json && npm run copy-dts","copy-dts":"copyfiles -u 1 \"src/**/*.d.ts\" types","clean":"del-cli dist types","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=12","npm":">=6"},"author":{"name":"Richard J. Cabral, Roberto Armas"},"license":"MIT","bugs":{"url":"https://github.com/constellation4sitecore/xmcloud-constellation/issues"},"devDependencies":{"@types/react":"^18.0.27","@types/react-dom":"^18.0.10","copyfiles":"^2.4.1","del-cli":"^5.0.0","eslint":"^8.32.0","eslint-plugin-react":"^7.32.1","jsdom":"^21.1.0","next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0","ts-node":"^10.9.1","typescript":"~4.9.4"},"peerDependencies":{"next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"@sitecore-jss/sitecore-jss-nextjs":"^21.1.0"},"types":"types/index.d.ts","gitHead":"88d9ad0f94841287ce1c5fddf1fa483328f03f1a","readme":"# Constellation Foundation Mapper\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @constellation4sitecore/foundation-enhancers --save\r\n```\r\n\r\n## Usage\r\n\r\n### With DatasourceRendering\r\n\r\nSimilarly to `withDatasourceCheck` that comes OOTB to enforce a component to have a Datasource, we created a new High-Order component called `withDatasourceRendering` that is meant to help developers code faster by automatically checking for a Datasource if available, if not the datasource will fallback to the context item.\r\n\r\n```tsx\r\nimport { withDatasourceRendering } from '@constellation4sitecore/foundation-enhancers';\r\n\r\nexport default withDatasourceRendering()<HomepageMastheadProps>(HomepageMasthead);\r\n```\r\n\r\nThis pattern takes the Component and validates if the rendering has any datasource to return fields as normal call otherwise fields will be populated with `useSitecoreContext`\r\n\r\n### Get Rendering Index\r\n\r\nThis helper function allows you to get index of the rendering.\r\n\r\n```ts\r\nconst placeholders = layoutData.sitecore?.route?.placeholders;\r\nconst result = getRenderingIndex(placeholders, rendering.uid as string, 'TabbedContentRowTab');\r\n```\r\n\r\nInputs:\r\n\r\n- placeholders: all layout placeholders\r\n- UID: Rendering UID\r\n- Component Name: Name of the child component.\r\n\r\n### Filter Placeholders\r\n\r\nFor example if you want to build a Tab Content Row component, you will facing an issue, if you don't filter placeholders in experience editor it will trought an error to avoid this filterPlaceholders will filter just components that name are not equal to \"code\".\r\n\r\n```ts\r\nexport const getStaticProps = async (rendering: ComponentRendering) => {\r\n  const newTabs = [] as TabViewModel[];\r\n  const tabContentRows = filterPlaceholders(\r\n    (rendering.placeholders as unknown as TabbedPlaceholders).TabbedContentRowTabs\r\n  );\r\n  for (const tabContentRow of tabContentRows) {\r\n  }\r\n};\r\n```\r\n","readmeFilename":"README.md","_id":"@constellation4sitecore/foundation-enhancers@0.1.2-beta.19","_nodeVersion":"16.15.1","_npmVersion":"lerna/6.6.2/node@v16.15.1+x64 (win32)","dist":{"integrity":"sha512-l98ixMZc7CVA4hDAtV7/rRxOKLbX6+j1ymkOQ+m7GwKJw8DqxHtDFAFwEffXsBZ7wpLgxLj9p6eT0QwWlxImWQ==","shasum":"590ac76a5ba742623075d5b6ee58eb079acb26b1","tarball":"https://registry.npmjs.org/@constellation4sitecore/foundation-enhancers/-/foundation-enhancers-0.1.2-beta.19.tgz","fileCount":18,"unpackedSize":12207,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5YWPncTlg7T3KBIu9jieLyDjYwuSc3o8V4KSEcfsgGgIgQec00dI8yRObM/72oJhI+fU+Bvqo5BHp9AGDAwjE5bU="}]},"_npmUser":{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},"directories":{},"maintainers":[{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},{"name":"sgtsitecore","email":"sitecorerick@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/foundation-enhancers_0.1.2-beta.19_1686955041483_0.32229589539650183"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.2-beta.20":{"name":"@constellation4sitecore/foundation-enhancers","version":"0.1.2-beta.20","description":"A collection of XM Cloud compatible libraries for SXA Sitecore Development.","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-esm.json && npm run copy-dts","copy-dts":"copyfiles -u 1 \"src/**/*.d.ts\" types","clean":"del-cli dist types","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=12","npm":">=6"},"author":{"name":"Richard J. Cabral, Roberto Armas"},"license":"MIT","bugs":{"url":"https://github.com/constellation4sitecore/xmcloud-constellation/issues"},"devDependencies":{"@types/react":"^18.0.27","@types/react-dom":"^18.0.10","copyfiles":"^2.4.1","del-cli":"^5.0.0","eslint":"^8.32.0","eslint-plugin-react":"^7.32.1","jsdom":"^21.1.0","next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0","ts-node":"^10.9.1","typescript":"~4.9.4"},"peerDependencies":{"next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"@sitecore-jss/sitecore-jss-nextjs":"^21.1.0"},"types":"types/index.d.ts","gitHead":"0a7403f8c280d6cec990316aa67b76ad9324c3aa","readme":"# Constellation Foundation Mapper\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @constellation4sitecore/foundation-enhancers --save\r\n```\r\n\r\n## Usage\r\n\r\n### With DatasourceRendering\r\n\r\nSimilarly to `withDatasourceCheck` that comes OOTB to enforce a component to have a Datasource, we created a new High-Order component called `withDatasourceRendering` that is meant to help developers code faster by automatically checking for a Datasource if available, if not the datasource will fallback to the context item.\r\n\r\n```tsx\r\nimport { withDatasourceRendering } from '@constellation4sitecore/foundation-enhancers';\r\n\r\nexport default withDatasourceRendering()<HomepageMastheadProps>(HomepageMasthead);\r\n```\r\n\r\nThis pattern takes the Component and validates if the rendering has any datasource to return fields as normal call otherwise fields will be populated with `useSitecoreContext`\r\n\r\n### Get Rendering Index\r\n\r\nThis helper function allows you to get index of the rendering.\r\n\r\n```ts\r\nconst placeholders = layoutData.sitecore?.route?.placeholders;\r\nconst result = getRenderingIndex(placeholders, rendering.uid as string, 'TabbedContentRowTab');\r\n```\r\n\r\nInputs:\r\n\r\n- placeholders: all layout placeholders\r\n- UID: Rendering UID\r\n- Component Name: Name of the child component.\r\n\r\n### Filter Placeholders\r\n\r\nFor example if you want to build a Tab Content Row component, you will facing an issue, if you don't filter placeholders in experience editor it will trought an error to avoid this filterPlaceholders will filter just components that name are not equal to \"code\".\r\n\r\n```ts\r\nexport const getStaticProps = async (rendering: ComponentRendering) => {\r\n  const newTabs = [] as TabViewModel[];\r\n  const tabContentRows = filterPlaceholders(\r\n    (rendering.placeholders as unknown as TabbedPlaceholders).TabbedContentRowTabs\r\n  );\r\n  for (const tabContentRow of tabContentRows) {\r\n  }\r\n};\r\n```\r\n","readmeFilename":"README.md","_id":"@constellation4sitecore/foundation-enhancers@0.1.2-beta.20","_nodeVersion":"16.15.1","_npmVersion":"lerna/6.6.2/node@v16.15.1+x64 (win32)","dist":{"integrity":"sha512-1ugCS2nV5cQnf54eCMjLrVXbPW3ocDj+PUMlEK1UjAMhxCsaycwPdTaV5D9fzaLWJu2E2weXsntyLxybnFmVug==","shasum":"b7340c62de6ecbd03c0b0d8987009d19a957b130","tarball":"https://registry.npmjs.org/@constellation4sitecore/foundation-enhancers/-/foundation-enhancers-0.1.2-beta.20.tgz","fileCount":18,"unpackedSize":12207,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCuM9d9tdsJqndUP/4eP2B44Xige1gmvh2WDrtVI3+sxAIhAMYKqRBtt60SFLmnXu1CI7TUyJ3bjgocCdUIRFBoB94k"}]},"_npmUser":{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},"directories":{},"maintainers":[{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},{"name":"sgtsitecore","email":"sitecorerick@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/foundation-enhancers_0.1.2-beta.20_1686956228989_0.07228594025103874"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.2-beta.21":{"name":"@constellation4sitecore/foundation-enhancers","version":"0.1.2-beta.21","description":"A collection of XM Cloud compatible libraries for SXA Sitecore Development.","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-esm.json && npm run copy-dts","copy-dts":"copyfiles -u 1 \"src/**/*.d.ts\" types","clean":"del-cli dist types","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=12","npm":">=6"},"author":{"name":"Richard J. Cabral, Roberto Armas"},"license":"MIT","bugs":{"url":"https://github.com/constellation4sitecore/xmcloud-constellation/issues"},"devDependencies":{"@types/react":"^18.0.27","@types/react-dom":"^18.0.10","copyfiles":"^2.4.1","del-cli":"^5.0.0","eslint":"^8.32.0","eslint-plugin-react":"^7.32.1","jsdom":"^21.1.0","next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0","ts-node":"^10.9.1","typescript":"~4.9.4"},"peerDependencies":{"next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"@sitecore-jss/sitecore-jss-nextjs":"^21.1.0"},"types":"types/index.d.ts","gitHead":"693d1d7c4d6d4b7cb5b5335a74b4ae5b080cd163","readme":"# Constellation Foundation Mapper\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @constellation4sitecore/foundation-enhancers --save\r\n```\r\n\r\n## Usage\r\n\r\n### With DatasourceRendering\r\n\r\nSimilarly to `withDatasourceCheck` that comes OOTB to enforce a component to have a Datasource, we created a new High-Order component called `withDatasourceRendering` that is meant to help developers code faster by automatically checking for a Datasource if available, if not the datasource will fallback to the context item.\r\n\r\n```tsx\r\nimport { withDatasourceRendering } from '@constellation4sitecore/foundation-enhancers';\r\n\r\nexport default withDatasourceRendering()<HomepageMastheadProps>(HomepageMasthead);\r\n```\r\n\r\nThis pattern takes the Component and validates if the rendering has any datasource to return fields as normal call otherwise fields will be populated with `useSitecoreContext`\r\n\r\n### Get Rendering Index\r\n\r\nThis helper function allows you to get index of the rendering.\r\n\r\n```ts\r\nconst placeholders = layoutData.sitecore?.route?.placeholders;\r\nconst result = getRenderingIndex(placeholders, rendering.uid as string, 'TabbedContentRowTab');\r\n```\r\n\r\nInputs:\r\n\r\n- placeholders: all layout placeholders\r\n- UID: Rendering UID\r\n- Component Name: Name of the child component.\r\n\r\n### Filter Placeholders\r\n\r\nFor example if you want to build a Tab Content Row component, you will facing an issue, if you don't filter placeholders in experience editor it will trought an error to avoid this filterPlaceholders will filter just components that name are not equal to \"code\".\r\n\r\n```ts\r\nexport const getStaticProps = async (rendering: ComponentRendering) => {\r\n  const newTabs = [] as TabViewModel[];\r\n  const tabContentRows = filterPlaceholders(\r\n    (rendering.placeholders as unknown as TabbedPlaceholders).TabbedContentRowTabs\r\n  );\r\n  for (const tabContentRow of tabContentRows) {\r\n  }\r\n};\r\n```\r\n","readmeFilename":"README.md","_id":"@constellation4sitecore/foundation-enhancers@0.1.2-beta.21","_nodeVersion":"16.15.1","_npmVersion":"lerna/6.6.2/node@v16.15.1+x64 (win32)","dist":{"integrity":"sha512-qXu29o8QKmSaIkc9HhsSyKP4QYItr6E2AGncpskUNHDXqQ0vmTE5sxGKK/9mqfP14IKQNcy08ilZBJBLc+2Q6g==","shasum":"40cabb8e6b6801778d348c9a7865a0b8720413af","tarball":"https://registry.npmjs.org/@constellation4sitecore/foundation-enhancers/-/foundation-enhancers-0.1.2-beta.21.tgz","fileCount":18,"unpackedSize":12207,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC9hc3VU/GoXrt3uLrltBcouX1BMmjoXvMGVYS/hoc1EgIgYEK/SKBoUkqoKZXYlWAU0svb453EEDj5W2K+3WxDFrg="}]},"_npmUser":{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},"directories":{},"maintainers":[{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},{"name":"sgtsitecore","email":"sitecorerick@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/foundation-enhancers_0.1.2-beta.21_1686957519128_0.7234323385501706"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.2-beta.22":{"name":"@constellation4sitecore/foundation-enhancers","version":"0.1.2-beta.22","description":"A collection of XM Cloud compatible libraries for SXA Sitecore Development.","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-esm.json && npm run copy-dts","copy-dts":"copyfiles -u 1 \"src/**/*.d.ts\" types","clean":"del-cli dist types","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=12","npm":">=6"},"author":{"name":"Richard J. Cabral, Roberto Armas"},"license":"MIT","bugs":{"url":"https://github.com/constellation4sitecore/xmcloud-constellation/issues"},"devDependencies":{"@types/react":"^18.0.27","@types/react-dom":"^18.0.10","copyfiles":"^2.4.1","del-cli":"^5.0.0","eslint":"^8.32.0","eslint-plugin-react":"^7.32.1","jsdom":"^21.1.0","next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0","ts-node":"^10.9.1","typescript":"~4.9.4"},"peerDependencies":{"next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"@sitecore-jss/sitecore-jss-nextjs":"^21.1.0"},"types":"types/index.d.ts","gitHead":"6c1dd960074d1a65d396f77db5e404508bc40482","readme":"# Constellation Foundation Mapper\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @constellation4sitecore/foundation-enhancers --save\r\n```\r\n\r\n## Usage\r\n\r\n### With DatasourceRendering\r\n\r\nSimilarly to `withDatasourceCheck` that comes OOTB to enforce a component to have a Datasource, we created a new High-Order component called `withDatasourceRendering` that is meant to help developers code faster by automatically checking for a Datasource if available, if not the datasource will fallback to the context item.\r\n\r\n```tsx\r\nimport { withDatasourceRendering } from '@constellation4sitecore/foundation-enhancers';\r\n\r\nexport default withDatasourceRendering()<HomepageMastheadProps>(HomepageMasthead);\r\n```\r\n\r\nThis pattern takes the Component and validates if the rendering has any datasource to return fields as normal call otherwise fields will be populated with `useSitecoreContext`\r\n\r\n### Get Rendering Index\r\n\r\nThis helper function allows you to get index of the rendering.\r\n\r\n```ts\r\nconst placeholders = layoutData.sitecore?.route?.placeholders;\r\nconst result = getRenderingIndex(placeholders, rendering.uid as string, 'TabbedContentRowTab');\r\n```\r\n\r\nInputs:\r\n\r\n- placeholders: all layout placeholders\r\n- UID: Rendering UID\r\n- Component Name: Name of the child component.\r\n\r\n### Filter Placeholders\r\n\r\nFor example if you want to build a Tab Content Row component, you will facing an issue, if you don't filter placeholders in experience editor it will trought an error to avoid this filterPlaceholders will filter just components that name are not equal to \"code\".\r\n\r\n```ts\r\nexport const getStaticProps = async (rendering: ComponentRendering) => {\r\n  const newTabs = [] as TabViewModel[];\r\n  const tabContentRows = filterPlaceholders(\r\n    (rendering.placeholders as unknown as TabbedPlaceholders).TabbedContentRowTabs\r\n  );\r\n  for (const tabContentRow of tabContentRows) {\r\n  }\r\n};\r\n```\r\n","readmeFilename":"README.md","_id":"@constellation4sitecore/foundation-enhancers@0.1.2-beta.22","_nodeVersion":"16.15.1","_npmVersion":"lerna/6.6.2/node@v16.15.1+x64 (win32)","dist":{"integrity":"sha512-01IcKyXdaKpOtMR9m2BJt92DagK1DCqrgvYbpXJbUS3qPoYQPFSpXKCY8veUUbWtPpbYEbcDCZ6p6ulp6LIu/Q==","shasum":"c9610f86fcb8cd70b9011889f71a7357effa44f6","tarball":"https://registry.npmjs.org/@constellation4sitecore/foundation-enhancers/-/foundation-enhancers-0.1.2-beta.22.tgz","fileCount":18,"unpackedSize":12207,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDfPd2r0KmVtjwFVlA/hdx3jIwhOosVAAiHDtnNjDfRBAiEA0SrMnVwThjEBtNJPv5ZyYimTltayygVVIz/f4CDmTNU="}]},"_npmUser":{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},"directories":{},"maintainers":[{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},{"name":"sgtsitecore","email":"sitecorerick@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/foundation-enhancers_0.1.2-beta.22_1686972354929_0.9593843488471556"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.2-beta.23":{"name":"@constellation4sitecore/foundation-enhancers","version":"0.1.2-beta.23","description":"A collection of XM Cloud compatible libraries for SXA Sitecore Development.","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-esm.json && npm run copy-dts","copy-dts":"copyfiles -u 1 \"src/**/*.d.ts\" types","clean":"del-cli dist types","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=12","npm":">=6"},"author":{"name":"Richard J. Cabral, Roberto Armas"},"license":"MIT","bugs":{"url":"https://github.com/constellation4sitecore/xmcloud-constellation/issues"},"devDependencies":{"@types/react":"^18.0.27","@types/react-dom":"^18.0.10","copyfiles":"^2.4.1","del-cli":"^5.0.0","eslint":"^8.32.0","eslint-plugin-react":"^7.32.1","jsdom":"^21.1.0","next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0","ts-node":"^10.9.1","typescript":"~4.9.4"},"peerDependencies":{"next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"@sitecore-jss/sitecore-jss-nextjs":"^21.1.0"},"types":"types/index.d.ts","gitHead":"c87ece14f2243f8b5c0edfe1d694d804f0ffc010","readme":"# Constellation Foundation Mapper\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @constellation4sitecore/foundation-enhancers --save\r\n```\r\n\r\n## Usage\r\n\r\n### With DatasourceRendering\r\n\r\nSimilarly to `withDatasourceCheck` that comes OOTB to enforce a component to have a Datasource, we created a new High-Order component called `withDatasourceRendering` that is meant to help developers code faster by automatically checking for a Datasource if available, if not the datasource will fallback to the context item.\r\n\r\n```tsx\r\nimport { withDatasourceRendering } from '@constellation4sitecore/foundation-enhancers';\r\n\r\nexport default withDatasourceRendering()<HomepageMastheadProps>(HomepageMasthead);\r\n```\r\n\r\nThis pattern takes the Component and validates if the rendering has any datasource to return fields as normal call otherwise fields will be populated with `useSitecoreContext`\r\n\r\n### Get Rendering Index\r\n\r\nThis helper function allows you to get index of the rendering.\r\n\r\n```ts\r\nconst placeholders = layoutData.sitecore?.route?.placeholders;\r\nconst result = getRenderingIndex(placeholders, rendering.uid as string, 'TabbedContentRowTab');\r\n```\r\n\r\nInputs:\r\n\r\n- placeholders: all layout placeholders\r\n- UID: Rendering UID\r\n- Component Name: Name of the child component.\r\n\r\n### Filter Placeholders\r\n\r\nFor example if you want to build a Tab Content Row component, you will facing an issue, if you don't filter placeholders in experience editor it will trought an error to avoid this filterPlaceholders will filter just components that name are not equal to \"code\".\r\n\r\n```ts\r\nexport const getStaticProps = async (rendering: ComponentRendering) => {\r\n  const newTabs = [] as TabViewModel[];\r\n  const tabContentRows = filterPlaceholders(\r\n    (rendering.placeholders as unknown as TabbedPlaceholders).TabbedContentRowTabs\r\n  );\r\n  for (const tabContentRow of tabContentRows) {\r\n  }\r\n};\r\n```\r\n","readmeFilename":"README.md","_id":"@constellation4sitecore/foundation-enhancers@0.1.2-beta.23","_nodeVersion":"16.15.1","_npmVersion":"lerna/6.6.2/node@v16.15.1+x64 (win32)","dist":{"integrity":"sha512-yEWGwPv6JvIq0gLGbb+oGDFMmQhKXd798TmP1B5fL/xVD7JV5xSAyvIWpuiNSCYm2icO+V/yn8xjcXziVEguSQ==","shasum":"af5baf1a7c47cfdf3c101678dd0123e417e20d5b","tarball":"https://registry.npmjs.org/@constellation4sitecore/foundation-enhancers/-/foundation-enhancers-0.1.2-beta.23.tgz","fileCount":18,"unpackedSize":12207,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDmx+1J/hgicxNMJ0UYAqiA3fcDBMT5QTQuQnnrEnBu/wIhAL+g2NzvV5C9o5QPTuCOQLsnvT/T50B6+4ZetHoy9GrM"}]},"_npmUser":{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},"directories":{},"maintainers":[{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},{"name":"sgtsitecore","email":"sitecorerick@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/foundation-enhancers_0.1.2-beta.23_1686972830641_0.4108374704077691"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.2-beta.24":{"name":"@constellation4sitecore/foundation-enhancers","version":"0.1.2-beta.24","description":"A collection of XM Cloud compatible libraries for SXA Sitecore Development.","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-esm.json && npm run copy-dts","copy-dts":"copyfiles -u 1 \"src/**/*.d.ts\" types","clean":"del-cli dist types","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=12","npm":">=6"},"author":{"name":"Richard J. Cabral, Roberto Armas"},"license":"MIT","bugs":{"url":"https://github.com/constellation4sitecore/xmcloud-constellation/issues"},"devDependencies":{"@types/react":"^18.0.27","@types/react-dom":"^18.0.10","copyfiles":"^2.4.1","del-cli":"^5.0.0","eslint":"^8.32.0","eslint-plugin-react":"^7.32.1","jsdom":"^21.1.0","next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0","ts-node":"^10.9.1","typescript":"~4.9.4"},"peerDependencies":{"next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"@sitecore-jss/sitecore-jss-nextjs":"^21.1.0"},"types":"types/index.d.ts","gitHead":"505f5f3701a7a6f1af8c2d7486905b12d1370ad4","readme":"# Constellation Foundation Mapper\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @constellation4sitecore/foundation-enhancers --save\r\n```\r\n\r\n## Usage\r\n\r\n### With DatasourceRendering\r\n\r\nSimilarly to `withDatasourceCheck` that comes OOTB to enforce a component to have a Datasource, we created a new High-Order component called `withDatasourceRendering` that is meant to help developers code faster by automatically checking for a Datasource if available, if not the datasource will fallback to the context item.\r\n\r\n```tsx\r\nimport { withDatasourceRendering } from '@constellation4sitecore/foundation-enhancers';\r\n\r\nexport default withDatasourceRendering()<HomepageMastheadProps>(HomepageMasthead);\r\n```\r\n\r\nThis pattern takes the Component and validates if the rendering has any datasource to return fields as normal call otherwise fields will be populated with `useSitecoreContext`\r\n\r\n### Get Rendering Index\r\n\r\nThis helper function allows you to get index of the rendering.\r\n\r\n```ts\r\nconst placeholders = layoutData.sitecore?.route?.placeholders;\r\nconst result = getRenderingIndex(placeholders, rendering.uid as string, 'TabbedContentRowTab');\r\n```\r\n\r\nInputs:\r\n\r\n- placeholders: all layout placeholders\r\n- UID: Rendering UID\r\n- Component Name: Name of the child component.\r\n\r\n### Filter Placeholders\r\n\r\nFor example if you want to build a Tab Content Row component, you will facing an issue, if you don't filter placeholders in experience editor it will trought an error to avoid this filterPlaceholders will filter just components that name are not equal to \"code\".\r\n\r\n```ts\r\nexport const getStaticProps = async (rendering: ComponentRendering) => {\r\n  const newTabs = [] as TabViewModel[];\r\n  const tabContentRows = filterPlaceholders(\r\n    (rendering.placeholders as unknown as TabbedPlaceholders).TabbedContentRowTabs\r\n  );\r\n  for (const tabContentRow of tabContentRows) {\r\n  }\r\n};\r\n```\r\n","readmeFilename":"README.md","_id":"@constellation4sitecore/foundation-enhancers@0.1.2-beta.24","_nodeVersion":"16.15.1","_npmVersion":"lerna/6.6.2/node@v16.15.1+x64 (win32)","dist":{"integrity":"sha512-rSmJORGerp4SAYNYvUEzmefxl+xd7t/6GpXp9aFjzGkjRNzxGpB7NDmdLmgWKHImL+aJ9A1v9f90H0AdtMKAXQ==","shasum":"6fd71892ef38684cedbc16a920cfc69443e415ef","tarball":"https://registry.npmjs.org/@constellation4sitecore/foundation-enhancers/-/foundation-enhancers-0.1.2-beta.24.tgz","fileCount":18,"unpackedSize":12207,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHt1kpkcWUdg4a6sq2uO8yrQt3CtguPMnC06cciDcuaxAiEA/AR83/kYKh8LRHF/m0MRxIPXdXcjbOw6PnHT2TsgvVQ="}]},"_npmUser":{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},"directories":{},"maintainers":[{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},{"name":"sgtsitecore","email":"sitecorerick@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/foundation-enhancers_0.1.2-beta.24_1686973750298_0.09077056516484916"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.2-beta.25":{"name":"@constellation4sitecore/foundation-enhancers","version":"0.1.2-beta.25","description":"A collection of XM Cloud compatible libraries for SXA Sitecore Development.","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-esm.json && npm run copy-dts","copy-dts":"copyfiles -u 1 \"src/**/*.d.ts\" types","clean":"del-cli dist types","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=12","npm":">=6"},"author":{"name":"Richard J. Cabral, Roberto Armas"},"license":"MIT","bugs":{"url":"https://github.com/constellation4sitecore/xmcloud-constellation/issues"},"devDependencies":{"@types/react":"^18.0.27","@types/react-dom":"^18.0.10","copyfiles":"^2.4.1","del-cli":"^5.0.0","eslint":"^8.32.0","eslint-plugin-react":"^7.32.1","jsdom":"^21.1.0","next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0","ts-node":"^10.9.1","typescript":"~4.9.4"},"peerDependencies":{"next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"@sitecore-jss/sitecore-jss-nextjs":"^21.1.0"},"types":"types/index.d.ts","gitHead":"47bd7eb6751329e71220e3a55b2011df545641d4","readme":"# Constellation Foundation Mapper\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @constellation4sitecore/foundation-enhancers --save\r\n```\r\n\r\n## Usage\r\n\r\n### With DatasourceRendering\r\n\r\nSimilarly to `withDatasourceCheck` that comes OOTB to enforce a component to have a Datasource, we created a new High-Order component called `withDatasourceRendering` that is meant to help developers code faster by automatically checking for a Datasource if available, if not the datasource will fallback to the context item.\r\n\r\n```tsx\r\nimport { withDatasourceRendering } from '@constellation4sitecore/foundation-enhancers';\r\n\r\nexport default withDatasourceRendering()<HomepageMastheadProps>(HomepageMasthead);\r\n```\r\n\r\nThis pattern takes the Component and validates if the rendering has any datasource to return fields as normal call otherwise fields will be populated with `useSitecoreContext`\r\n\r\n### Get Rendering Index\r\n\r\nThis helper function allows you to get index of the rendering.\r\n\r\n```ts\r\nconst placeholders = layoutData.sitecore?.route?.placeholders;\r\nconst result = getRenderingIndex(placeholders, rendering.uid as string, 'TabbedContentRowTab');\r\n```\r\n\r\nInputs:\r\n\r\n- placeholders: all layout placeholders\r\n- UID: Rendering UID\r\n- Component Name: Name of the child component.\r\n\r\n### Filter Placeholders\r\n\r\nFor example if you want to build a Tab Content Row component, you will facing an issue, if you don't filter placeholders in experience editor it will trought an error to avoid this filterPlaceholders will filter just components that name are not equal to \"code\".\r\n\r\n```ts\r\nexport const getStaticProps = async (rendering: ComponentRendering) => {\r\n  const newTabs = [] as TabViewModel[];\r\n  const tabContentRows = filterPlaceholders(\r\n    (rendering.placeholders as unknown as TabbedPlaceholders).TabbedContentRowTabs\r\n  );\r\n  for (const tabContentRow of tabContentRows) {\r\n  }\r\n};\r\n```\r\n","readmeFilename":"README.md","_id":"@constellation4sitecore/foundation-enhancers@0.1.2-beta.25","_nodeVersion":"16.15.1","_npmVersion":"lerna/6.6.2/node@v16.15.1+x64 (win32)","dist":{"integrity":"sha512-OpG1pGPLQd09O3+ToFC7zV6Sc2UVWnwhhn22hSeN9TBiCkvAaAXDw0md+PVWf2cqL2toyobcT5Fa0694XUVulQ==","shasum":"804d3e5841b640f41db0a092c64e82cfe22da99b","tarball":"https://registry.npmjs.org/@constellation4sitecore/foundation-enhancers/-/foundation-enhancers-0.1.2-beta.25.tgz","fileCount":18,"unpackedSize":12207,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDCxzDsLZSxyaEEZiyXWb4/Jie3jOB2lPvj2Bk9Yzk+oAIhANTlvhMiR0yy1WEEPh87GsEUo4+o8+ysLr3aIg42bD/c"}]},"_npmUser":{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},"directories":{},"maintainers":[{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},{"name":"sgtsitecore","email":"sitecorerick@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/foundation-enhancers_0.1.2-beta.25_1686974542633_0.5818902831197512"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.2-beta.27":{"name":"@constellation4sitecore/foundation-enhancers","version":"0.1.2-beta.27","description":"A collection of XM Cloud compatible libraries for SXA Sitecore Development.","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-esm.json && npm run copy-dts","copy-dts":"copyfiles -u 1 \"src/**/*.d.ts\" types","clean":"del-cli dist types","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=12","npm":">=6"},"author":{"name":"Richard J. Cabral, Roberto Armas"},"license":"MIT","bugs":{"url":"https://github.com/constellation4sitecore/xmcloud-constellation/issues"},"devDependencies":{"@types/react":"^18.0.27","@types/react-dom":"^18.0.10","copyfiles":"^2.4.1","del-cli":"^5.0.0","eslint":"^8.32.0","eslint-plugin-react":"^7.32.1","jsdom":"^21.1.0","next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0","ts-node":"^10.9.1","typescript":"~4.9.4"},"peerDependencies":{"next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"@sitecore-jss/sitecore-jss-nextjs":"^21.1.0"},"types":"types/index.d.ts","gitHead":"fe11920af2746e53b5f783f7c79643f0ca97faf1","readme":"# Constellation Foundation Mapper\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @constellation4sitecore/foundation-enhancers --save\r\n```\r\n\r\n## Usage\r\n\r\n### With DatasourceRendering\r\n\r\nSimilarly to `withDatasourceCheck` that comes OOTB to enforce a component to have a Datasource, we created a new High-Order component called `withDatasourceRendering` that is meant to help developers code faster by automatically checking for a Datasource if available, if not the datasource will fallback to the context item.\r\n\r\n```tsx\r\nimport { withDatasourceRendering } from '@constellation4sitecore/foundation-enhancers';\r\n\r\nexport default withDatasourceRendering()<HomepageMastheadProps>(HomepageMasthead);\r\n```\r\n\r\nThis pattern takes the Component and validates if the rendering has any datasource to return fields as normal call otherwise fields will be populated with `useSitecoreContext`\r\n\r\n### Get Rendering Index\r\n\r\nThis helper function allows you to get index of the rendering.\r\n\r\n```ts\r\nconst placeholders = layoutData.sitecore?.route?.placeholders;\r\nconst result = getRenderingIndex(placeholders, rendering.uid as string, 'TabbedContentRowTab');\r\n```\r\n\r\nInputs:\r\n\r\n- placeholders: all layout placeholders\r\n- UID: Rendering UID\r\n- Component Name: Name of the child component.\r\n\r\n### Filter Placeholders\r\n\r\nFor example if you want to build a Tab Content Row component, you will facing an issue, if you don't filter placeholders in experience editor it will trought an error to avoid this filterPlaceholders will filter just components that name are not equal to \"code\".\r\n\r\n```ts\r\nexport const getStaticProps = async (rendering: ComponentRendering) => {\r\n  const newTabs = [] as TabViewModel[];\r\n  const tabContentRows = filterPlaceholders(\r\n    (rendering.placeholders as unknown as TabbedPlaceholders).TabbedContentRowTabs\r\n  );\r\n  for (const tabContentRow of tabContentRows) {\r\n  }\r\n};\r\n```\r\n","readmeFilename":"README.md","_id":"@constellation4sitecore/foundation-enhancers@0.1.2-beta.27","_nodeVersion":"16.15.1","_npmVersion":"lerna/6.6.2/node@v16.15.1+x64 (win32)","dist":{"integrity":"sha512-XIEXxfrQ94bzUZEQBcrtqEQus3BJzpRKfHlxNYpWmgQTwfhMQZF/6G24sgqDnvnnyF3EEb39m3iZmUJno/hm1Q==","shasum":"ef546beab7ca45e56924a87e833947a131a58f61","tarball":"https://registry.npmjs.org/@constellation4sitecore/foundation-enhancers/-/foundation-enhancers-0.1.2-beta.27.tgz","fileCount":18,"unpackedSize":12207,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD/POKJ+dLz3SsDHzxtJx9Bqmciw4uSk75S4nPPiYp75AIgWpbhLlZXpTDhv/W9EKjrdD0i8Cko6YdzGnakroihlRE="}]},"_npmUser":{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},"directories":{},"maintainers":[{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},{"name":"sgtsitecore","email":"sitecorerick@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/foundation-enhancers_0.1.2-beta.27_1686975376443_0.36154730728631157"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.2-beta.28":{"name":"@constellation4sitecore/foundation-enhancers","version":"0.1.2-beta.28","description":"A collection of XM Cloud compatible libraries for SXA Sitecore Development.","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-esm.json && npm run copy-dts","copy-dts":"copyfiles -u 1 \"src/**/*.d.ts\" types","clean":"del-cli dist types","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=12","npm":">=6"},"author":{"name":"Richard J. Cabral, Roberto Armas"},"license":"MIT","bugs":{"url":"https://github.com/constellation4sitecore/xmcloud-constellation/issues"},"devDependencies":{"@types/react":"^18.0.27","@types/react-dom":"^18.0.10","copyfiles":"^2.4.1","del-cli":"^5.0.0","eslint":"^8.32.0","eslint-plugin-react":"^7.32.1","jsdom":"^21.1.0","next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0","ts-node":"^10.9.1","typescript":"~4.9.4"},"peerDependencies":{"next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"@sitecore-jss/sitecore-jss-nextjs":"^21.1.0"},"types":"types/index.d.ts","gitHead":"b288fdc7974a3d130862955a0f750ace0c664fa5","readme":"# Constellation Foundation Mapper\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @constellation4sitecore/foundation-enhancers --save\r\n```\r\n\r\n## Usage\r\n\r\n### With DatasourceRendering\r\n\r\nSimilarly to `withDatasourceCheck` that comes OOTB to enforce a component to have a Datasource, we created a new High-Order component called `withDatasourceRendering` that is meant to help developers code faster by automatically checking for a Datasource if available, if not the datasource will fallback to the context item.\r\n\r\n```tsx\r\nimport { withDatasourceRendering } from '@constellation4sitecore/foundation-enhancers';\r\n\r\nexport default withDatasourceRendering()<HomepageMastheadProps>(HomepageMasthead);\r\n```\r\n\r\nThis pattern takes the Component and validates if the rendering has any datasource to return fields as normal call otherwise fields will be populated with `useSitecoreContext`\r\n\r\n### Get Rendering Index\r\n\r\nThis helper function allows you to get index of the rendering.\r\n\r\n```ts\r\nconst placeholders = layoutData.sitecore?.route?.placeholders;\r\nconst result = getRenderingIndex(placeholders, rendering.uid as string, 'TabbedContentRowTab');\r\n```\r\n\r\nInputs:\r\n\r\n- placeholders: all layout placeholders\r\n- UID: Rendering UID\r\n- Component Name: Name of the child component.\r\n\r\n### Filter Placeholders\r\n\r\nFor example if you want to build a Tab Content Row component, you will facing an issue, if you don't filter placeholders in experience editor it will trought an error to avoid this filterPlaceholders will filter just components that name are not equal to \"code\".\r\n\r\n```ts\r\nexport const getStaticProps = async (rendering: ComponentRendering) => {\r\n  const newTabs = [] as TabViewModel[];\r\n  const tabContentRows = filterPlaceholders(\r\n    (rendering.placeholders as unknown as TabbedPlaceholders).TabbedContentRowTabs\r\n  );\r\n  for (const tabContentRow of tabContentRows) {\r\n  }\r\n};\r\n```\r\n","readmeFilename":"README.md","_id":"@constellation4sitecore/foundation-enhancers@0.1.2-beta.28","_nodeVersion":"16.15.1","_npmVersion":"lerna/6.6.2/node@v16.15.1+x64 (win32)","dist":{"integrity":"sha512-Es/OdEMpinHNTqEKI/MrPLgLym2zzq9ffXwnAH7AgQ1XoSclj8HG6gyHVN6rYOS/F/WFlg4NhHI7po/uNrx91g==","shasum":"ec841234b49da0ed3fa3b32af6a9e1c48452dab2","tarball":"https://registry.npmjs.org/@constellation4sitecore/foundation-enhancers/-/foundation-enhancers-0.1.2-beta.28.tgz","fileCount":18,"unpackedSize":12207,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDa3X+4FajgUHjPcnZ0Y6umAlYl4LhpIz0HCZ/fu5oPfgIhANvbScvcohuOxVHluWw7smc5WaAaCBRvqX0dkYcrB4wG"}]},"_npmUser":{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},"directories":{},"maintainers":[{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},{"name":"sgtsitecore","email":"sitecorerick@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/foundation-enhancers_0.1.2-beta.28_1686976575797_0.2770149325645208"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.2-beta.29":{"name":"@constellation4sitecore/foundation-enhancers","version":"0.1.2-beta.29","description":"A collection of XM Cloud compatible libraries for SXA Sitecore Development.","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-esm.json && npm run copy-dts","copy-dts":"copyfiles -u 1 \"src/**/*.d.ts\" types","clean":"del-cli dist types","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=12","npm":">=6"},"author":{"name":"Richard J. Cabral, Roberto Armas"},"license":"MIT","bugs":{"url":"https://github.com/constellation4sitecore/xmcloud-constellation/issues"},"devDependencies":{"@types/react":"^18.0.27","@types/react-dom":"^18.0.10","copyfiles":"^2.4.1","del-cli":"^5.0.0","eslint":"^8.32.0","eslint-plugin-react":"^7.32.1","jsdom":"^21.1.0","next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0","ts-node":"^10.9.1","typescript":"~4.9.4"},"peerDependencies":{"next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"@sitecore-jss/sitecore-jss-nextjs":"^21.1.0"},"types":"types/index.d.ts","gitHead":"092db7c841fd3b4de89de42daeac7f5a1a5efa49","readme":"# Constellation Foundation Mapper\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @constellation4sitecore/foundation-enhancers --save\r\n```\r\n\r\n## Usage\r\n\r\n### With DatasourceRendering\r\n\r\nSimilarly to `withDatasourceCheck` that comes OOTB to enforce a component to have a Datasource, we created a new High-Order component called `withDatasourceRendering` that is meant to help developers code faster by automatically checking for a Datasource if available, if not the datasource will fallback to the context item.\r\n\r\n```tsx\r\nimport { withDatasourceRendering } from '@constellation4sitecore/foundation-enhancers';\r\n\r\nexport default withDatasourceRendering()<HomepageMastheadProps>(HomepageMasthead);\r\n```\r\n\r\nThis pattern takes the Component and validates if the rendering has any datasource to return fields as normal call otherwise fields will be populated with `useSitecoreContext`\r\n\r\n### Get Rendering Index\r\n\r\nThis helper function allows you to get index of the rendering.\r\n\r\n```ts\r\nconst placeholders = layoutData.sitecore?.route?.placeholders;\r\nconst result = getRenderingIndex(placeholders, rendering.uid as string, 'TabbedContentRowTab');\r\n```\r\n\r\nInputs:\r\n\r\n- placeholders: all layout placeholders\r\n- UID: Rendering UID\r\n- Component Name: Name of the child component.\r\n\r\n### Filter Placeholders\r\n\r\nFor example if you want to build a Tab Content Row component, you will facing an issue, if you don't filter placeholders in experience editor it will trought an error to avoid this filterPlaceholders will filter just components that name are not equal to \"code\".\r\n\r\n```ts\r\nexport const getStaticProps = async (rendering: ComponentRendering) => {\r\n  const newTabs = [] as TabViewModel[];\r\n  const tabContentRows = filterPlaceholders(\r\n    (rendering.placeholders as unknown as TabbedPlaceholders).TabbedContentRowTabs\r\n  );\r\n  for (const tabContentRow of tabContentRows) {\r\n  }\r\n};\r\n```\r\n","readmeFilename":"README.md","_id":"@constellation4sitecore/foundation-enhancers@0.1.2-beta.29","_nodeVersion":"16.15.1","_npmVersion":"lerna/6.6.2/node@v16.15.1+x64 (win32)","dist":{"integrity":"sha512-Z+9CG9Wn0xdvl0ridmrInLIo4dz/M7kRTvycy7rUSiTQ8Fj16Tz75QQDSUAoPIEM2PFylqLAMKiTlQ2oaqDxdw==","shasum":"529a5f319ef392e9e8b260b6d540eef87773fe64","tarball":"https://registry.npmjs.org/@constellation4sitecore/foundation-enhancers/-/foundation-enhancers-0.1.2-beta.29.tgz","fileCount":18,"unpackedSize":12207,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCf4qfKOvxDde7XJyxxNCiFac545mPrRQ9752brx/CQTAIhANjj/m1uh0v8zdHxxigKc2A/aCrMxp19w/ItXGTU/U9Q"}]},"_npmUser":{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},"directories":{},"maintainers":[{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},{"name":"sgtsitecore","email":"sitecorerick@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/foundation-enhancers_0.1.2-beta.29_1687382296573_0.3430262619432074"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.2-beta.31":{"name":"@constellation4sitecore/foundation-enhancers","version":"0.1.2-beta.31","description":"A collection of XM Cloud compatible libraries for SXA Sitecore Development.","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-esm.json && npm run copy-dts","copy-dts":"copyfiles -u 1 \"src/**/*.d.ts\" types","clean":"del-cli dist types","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=12","npm":">=6"},"author":{"name":"Richard J. Cabral, Roberto Armas"},"license":"MIT","bugs":{"url":"https://github.com/constellation4sitecore/xmcloud-constellation/issues"},"devDependencies":{"@types/react":"^18.0.27","@types/react-dom":"^18.0.10","copyfiles":"^2.4.1","del-cli":"^5.0.0","eslint":"^8.32.0","eslint-plugin-react":"^7.32.1","jsdom":"^21.1.0","next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0","ts-node":"^10.9.1","typescript":"~4.9.4"},"peerDependencies":{"next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"@sitecore-jss/sitecore-jss-nextjs":"^21.1.0"},"types":"types/index.d.ts","gitHead":"a5a03cf01995c0380311102a6cca259aa813d7e1","readme":"# Constellation Foundation Mapper\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @constellation4sitecore/foundation-enhancers --save\r\n```\r\n\r\n## Usage\r\n\r\n### With DatasourceRendering\r\n\r\nSimilarly to `withDatasourceCheck` that comes OOTB to enforce a component to have a Datasource, we created a new High-Order component called `withDatasourceRendering` that is meant to help developers code faster by automatically checking for a Datasource if available, if not the datasource will fallback to the context item.\r\n\r\n```tsx\r\nimport { withDatasourceRendering } from '@constellation4sitecore/foundation-enhancers';\r\n\r\nexport default withDatasourceRendering()<HomepageMastheadProps>(HomepageMasthead);\r\n```\r\n\r\nThis pattern takes the Component and validates if the rendering has any datasource to return fields as normal call otherwise fields will be populated with `useSitecoreContext`\r\n\r\n### Get Rendering Index\r\n\r\nThis helper function allows you to get index of the rendering.\r\n\r\n```ts\r\nconst placeholders = layoutData.sitecore?.route?.placeholders;\r\nconst result = getRenderingIndex(placeholders, rendering.uid as string, 'TabbedContentRowTab');\r\n```\r\n\r\nInputs:\r\n\r\n- placeholders: all layout placeholders\r\n- UID: Rendering UID\r\n- Component Name: Name of the child component.\r\n\r\n### Filter Placeholders\r\n\r\nFor example if you want to build a Tab Content Row component, you will facing an issue, if you don't filter placeholders in experience editor it will trought an error to avoid this filterPlaceholders will filter just components that name are not equal to \"code\".\r\n\r\n```ts\r\nexport const getStaticProps = async (rendering: ComponentRendering) => {\r\n  const newTabs = [] as TabViewModel[];\r\n  const tabContentRows = filterPlaceholders(\r\n    (rendering.placeholders as unknown as TabbedPlaceholders).TabbedContentRowTabs\r\n  );\r\n  for (const tabContentRow of tabContentRows) {\r\n  }\r\n};\r\n```\r\n","readmeFilename":"README.md","_id":"@constellation4sitecore/foundation-enhancers@0.1.2-beta.31","_nodeVersion":"16.15.1","_npmVersion":"lerna/6.6.2/node@v16.15.1+x64 (win32)","dist":{"integrity":"sha512-ifpt9xcXcEO2bhCLGdt6ei3ubXmi4t9SJvlI6OI1P6b1O6GJsX6Zi9D1snx6BpiHXPJke/6MHfgtomOOK331Tw==","shasum":"36a365a4175ee2d195bbfb8b06a7153952ac8085","tarball":"https://registry.npmjs.org/@constellation4sitecore/foundation-enhancers/-/foundation-enhancers-0.1.2-beta.31.tgz","fileCount":18,"unpackedSize":12207,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCnwZyE8VjxzJoSOME7lCkVFb4ZvdatOuaGZpyEvA98aQIhAM2O8eIjV2sFdRmYXp/YXsocvu/1Tg8LSDf4rjnIg20v"}]},"_npmUser":{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},"directories":{},"maintainers":[{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},{"name":"sgtsitecore","email":"sitecorerick@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/foundation-enhancers_0.1.2-beta.31_1688492751221_0.10929168817783919"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.2-beta.32":{"name":"@constellation4sitecore/foundation-enhancers","version":"0.1.2-beta.32","description":"A collection of XM Cloud compatible libraries for SXA Sitecore Development.","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-esm.json && npm run copy-dts","copy-dts":"copyfiles -u 1 \"src/**/*.d.ts\" types","clean":"del-cli dist types","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=12","npm":">=6"},"author":{"name":"Richard J. Cabral, Roberto Armas"},"license":"MIT","bugs":{"url":"https://github.com/constellation4sitecore/xmcloud-constellation/issues"},"devDependencies":{"@types/react":"^18.0.27","@types/react-dom":"^18.0.10","copyfiles":"^2.4.1","del-cli":"^5.0.0","eslint":"^8.32.0","eslint-plugin-react":"^7.32.1","jsdom":"^21.1.0","next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0","ts-node":"^10.9.1","typescript":"~4.9.4"},"peerDependencies":{"next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"@sitecore-jss/sitecore-jss-nextjs":"^21.1.0"},"types":"types/index.d.ts","gitHead":"2ee8efcf7718d901cade6759c57940920ce9dc9e","readme":"# Constellation Foundation Mapper\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @constellation4sitecore/foundation-enhancers --save\r\n```\r\n\r\n## Usage\r\n\r\n### With DatasourceRendering\r\n\r\nSimilarly to `withDatasourceCheck` that comes OOTB to enforce a component to have a Datasource, we created a new High-Order component called `withDatasourceRendering` that is meant to help developers code faster by automatically checking for a Datasource if available, if not the datasource will fallback to the context item.\r\n\r\n```tsx\r\nimport { withDatasourceRendering } from '@constellation4sitecore/foundation-enhancers';\r\n\r\nexport default withDatasourceRendering()<HomepageMastheadProps>(HomepageMasthead);\r\n```\r\n\r\nThis pattern takes the Component and validates if the rendering has any datasource to return fields as normal call otherwise fields will be populated with `useSitecoreContext`\r\n\r\n### Get Rendering Index\r\n\r\nThis helper function allows you to get index of the rendering.\r\n\r\n```ts\r\nconst placeholders = layoutData.sitecore?.route?.placeholders;\r\nconst result = getRenderingIndex(placeholders, rendering.uid as string, 'TabbedContentRowTab');\r\n```\r\n\r\nInputs:\r\n\r\n- placeholders: all layout placeholders\r\n- UID: Rendering UID\r\n- Component Name: Name of the child component.\r\n\r\n### Filter Placeholders\r\n\r\nFor example if you want to build a Tab Content Row component, you will facing an issue, if you don't filter placeholders in experience editor it will trought an error to avoid this filterPlaceholders will filter just components that name are not equal to \"code\".\r\n\r\n```ts\r\nexport const getStaticProps = async (rendering: ComponentRendering) => {\r\n  const newTabs = [] as TabViewModel[];\r\n  const tabContentRows = filterPlaceholders(\r\n    (rendering.placeholders as unknown as TabbedPlaceholders).TabbedContentRowTabs\r\n  );\r\n  for (const tabContentRow of tabContentRows) {\r\n  }\r\n};\r\n```\r\n","readmeFilename":"README.md","_id":"@constellation4sitecore/foundation-enhancers@0.1.2-beta.32","_nodeVersion":"16.15.1","_npmVersion":"lerna/6.6.2/node@v16.15.1+x64 (win32)","dist":{"integrity":"sha512-O138AR3OrDaOBhR/LwbVHoWOhoKX2fSrBhe4Notlq376L1acwjiTQytQrzV00G+KohHcLdnY9yZgRqnnuV8ZUQ==","shasum":"a5d9a8af10126d22f6a6d30dc2c66a2372d4d439","tarball":"https://registry.npmjs.org/@constellation4sitecore/foundation-enhancers/-/foundation-enhancers-0.1.2-beta.32.tgz","fileCount":18,"unpackedSize":12207,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJNTNnNrFOpM+EWl3JnLZwrvS8LSzTqYueZiwJdd7fzgIhAPzhggwHevvmNk+mfMGyEMw2V1DHpPpdXYdf7GY+fq6s"}]},"_npmUser":{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},"directories":{},"maintainers":[{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},{"name":"sgtsitecore","email":"sitecorerick@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/foundation-enhancers_0.1.2-beta.32_1689025558686_0.8478313314925872"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.2-beta.33":{"name":"@constellation4sitecore/foundation-enhancers","version":"0.1.2-beta.33","description":"A collection of XM Cloud compatible libraries for SXA Sitecore Development.","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-esm.json && npm run copy-dts","copy-dts":"copyfiles -u 1 \"src/**/*.d.ts\" types","clean":"del-cli dist types","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=12","npm":">=6"},"author":{"name":"Richard J. Cabral, Roberto Armas"},"license":"MIT","bugs":{"url":"https://github.com/constellation4sitecore/xmcloud-constellation/issues"},"devDependencies":{"@types/react":"^18.0.27","@types/react-dom":"^18.0.10","copyfiles":"^2.4.1","del-cli":"^5.0.0","eslint":"^8.32.0","eslint-plugin-react":"^7.32.1","jsdom":"^21.1.0","next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0","ts-node":"^10.9.1","typescript":"~4.9.4"},"peerDependencies":{"next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"@sitecore-jss/sitecore-jss-nextjs":"^21.1.0"},"types":"types/index.d.ts","gitHead":"4724f2214e80450076a12e36844e89d6b81229c4","readme":"# Constellation Foundation Mapper\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @constellation4sitecore/foundation-enhancers --save\r\n```\r\n\r\n## Usage\r\n\r\n### With DatasourceRendering\r\n\r\nSimilarly to `withDatasourceCheck` that comes OOTB to enforce a component to have a Datasource, we created a new High-Order component called `withDatasourceRendering` that is meant to help developers code faster by automatically checking for a Datasource if available, if not the datasource will fallback to the context item.\r\n\r\n```tsx\r\nimport { withDatasourceRendering } from '@constellation4sitecore/foundation-enhancers';\r\n\r\nexport default withDatasourceRendering()<HomepageMastheadProps>(HomepageMasthead);\r\n```\r\n\r\nThis pattern takes the Component and validates if the rendering has any datasource to return fields as normal call otherwise fields will be populated with `useSitecoreContext`\r\n\r\n### Get Rendering Index\r\n\r\nThis helper function allows you to get index of the rendering.\r\n\r\n```ts\r\nconst placeholders = layoutData.sitecore?.route?.placeholders;\r\nconst result = getRenderingIndex(placeholders, rendering.uid as string, 'TabbedContentRowTab');\r\n```\r\n\r\nInputs:\r\n\r\n- placeholders: all layout placeholders\r\n- UID: Rendering UID\r\n- Component Name: Name of the child component.\r\n\r\n### Filter Placeholders\r\n\r\nFor example if you want to build a Tab Content Row component, you will facing an issue, if you don't filter placeholders in experience editor it will trought an error to avoid this filterPlaceholders will filter just components that name are not equal to \"code\".\r\n\r\n```ts\r\nexport const getStaticProps = async (rendering: ComponentRendering) => {\r\n  const newTabs = [] as TabViewModel[];\r\n  const tabContentRows = filterPlaceholders(\r\n    (rendering.placeholders as unknown as TabbedPlaceholders).TabbedContentRowTabs\r\n  );\r\n  for (const tabContentRow of tabContentRows) {\r\n  }\r\n};\r\n```\r\n","readmeFilename":"README.md","_id":"@constellation4sitecore/foundation-enhancers@0.1.2-beta.33","_nodeVersion":"16.15.1","_npmVersion":"lerna/6.6.2/node@v16.15.1+x64 (win32)","dist":{"integrity":"sha512-O+5oaqhZ8PDd0kUOO9gldJHZv9GOZkTS0JmZ9S80grIm0Ff/wulotrMe00pDY3j7Hn+2Tlq3pTc3HuS3PpIW7g==","shasum":"c75989f069615410d06d3f2782f5495ce327b812","tarball":"https://registry.npmjs.org/@constellation4sitecore/foundation-enhancers/-/foundation-enhancers-0.1.2-beta.33.tgz","fileCount":18,"unpackedSize":12207,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCAwTydGDijv2k8i8oFDIIva6yO4+njjK9YWj25TOAePAIgVi7qR8LXPBXuIaOn9n+In3MK3xlXVXilTl2xC0bMzsw="}]},"_npmUser":{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},"directories":{},"maintainers":[{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},{"name":"sgtsitecore","email":"sitecorerick@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/foundation-enhancers_0.1.2-beta.33_1689887697887_0.5128836108494277"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.0":{"name":"@constellation4sitecore/foundation-enhancers","version":"1.0.0","description":"A collection of XM Cloud compatible libraries for SXA Sitecore Development.","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-esm.json && npm run copy-dts","copy-dts":"copyfiles -u 1 \"src/**/*.d.ts\" types","clean":"del-cli dist types","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=12","npm":">=6"},"author":{"name":"Richard J. Cabral, Roberto Armas"},"license":"MIT","bugs":{"url":"https://github.com/constellation4sitecore/xmcloud-constellation/issues"},"devDependencies":{"@types/react":"^18.0.27","@types/react-dom":"^18.0.10","copyfiles":"^2.4.1","del-cli":"^5.0.0","eslint":"^8.32.0","eslint-plugin-react":"^7.32.1","jsdom":"^21.1.0","next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0","ts-node":"^10.9.1","typescript":"~4.9.4"},"peerDependencies":{"next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"@sitecore-jss/sitecore-jss-nextjs":"^21.1.0"},"types":"types/index.d.ts","gitHead":"6ca8455a807d6649f622252030b09c710be633f1","_id":"@constellation4sitecore/foundation-enhancers@1.0.0","_nodeVersion":"16.15.1","_npmVersion":"lerna/6.6.2/node@v16.15.1+x64 (win32)","dist":{"integrity":"sha512-jFegqK2rE4Y8D9uMcZ4PfDdPq7OjQtsC296RM/p74ttE5IudzA3X2LCz7H1Oid1EnULp8MUOmibUVlT9H7pwHw==","shasum":"749ded571af9775a0ae510068afb8bf15c58a8ef","tarball":"https://registry.npmjs.org/@constellation4sitecore/foundation-enhancers/-/foundation-enhancers-1.0.0.tgz","fileCount":18,"unpackedSize":12199,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFG2/j7KtANX5AorJldoMxU/ZCc1D8wBbx25ZXWQzM6SAiAuP1OO7EBnrBJe+GPdMOGpW5s9fZq9uQYb0uU20H1z9Q=="}]},"_npmUser":{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},"directories":{},"maintainers":[{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},{"name":"sgtsitecore","email":"sitecorerick@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/foundation-enhancers_1.0.0_1694372601914_0.6585684900644178"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.1-beta.0":{"name":"@constellation4sitecore/foundation-enhancers","version":"1.0.1-beta.0","description":"A collection of XM Cloud compatible libraries for SXA Sitecore Development.","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-esm.json && npm run copy-dts","copy-dts":"copyfiles -u 1 \"src/**/*.d.ts\" types","clean":"del-cli dist types","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=12","npm":">=6"},"author":{"name":"Richard J. Cabral, Roberto Armas"},"license":"MIT","bugs":{"url":"https://github.com/constellation4sitecore/xmcloud-constellation/issues"},"devDependencies":{"@types/react":"^18.0.27","@types/react-dom":"^18.0.10","copyfiles":"^2.4.1","del-cli":"^5.0.0","eslint":"^8.32.0","eslint-plugin-react":"^7.32.1","jsdom":"^21.1.0","next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0","ts-node":"^10.9.1","typescript":"~4.9.4"},"peerDependencies":{"next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"@sitecore-jss/sitecore-jss-nextjs":"^21.1.0"},"types":"types/index.d.ts","gitHead":"a49e0b83653386512f5b083b89770aaecfffb5fd","readme":"# Constellation Foundation Mapper\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @constellation4sitecore/foundation-enhancers --save\r\n```\r\n\r\n## Usage\r\n\r\n### With DatasourceRendering\r\n\r\nSimilarly to `withDatasourceCheck` that comes OOTB to enforce a component to have a Datasource, we created a new High-Order component called `withDatasourceRendering` that is meant to help developers code faster by automatically checking for a Datasource if available, if not the datasource will fallback to the context item.\r\n\r\n```tsx\r\nimport { withDatasourceRendering } from '@constellation4sitecore/foundation-enhancers';\r\n\r\nexport default withDatasourceRendering()<HomepageMastheadProps>(HomepageMasthead);\r\n```\r\n\r\nThis pattern takes the Component and validates if the rendering has any datasource to return fields as normal call otherwise fields will be populated with `useSitecoreContext`\r\n\r\n### Get Rendering Index\r\n\r\nThis helper function allows you to get index of the rendering.\r\n\r\n```ts\r\nconst placeholders = layoutData.sitecore?.route?.placeholders;\r\nconst result = getRenderingIndex(placeholders, rendering.uid as string, 'TabbedContentRowTab');\r\n```\r\n\r\nInputs:\r\n\r\n- placeholders: all layout placeholders\r\n- UID: Rendering UID\r\n- Component Name: Name of the child component.\r\n\r\n### Filter Placeholders\r\n\r\nFor example if you want to build a Tab Content Row component, you will facing an issue, if you don't filter placeholders in experience editor it will trought an error to avoid this filterPlaceholders will filter just components that name are not equal to \"code\".\r\n\r\n```ts\r\nexport const getStaticProps = async (rendering: ComponentRendering) => {\r\n  const newTabs = [] as TabViewModel[];\r\n  const tabContentRows = filterPlaceholders(\r\n    (rendering.placeholders as unknown as TabbedPlaceholders).TabbedContentRowTabs\r\n  );\r\n  for (const tabContentRow of tabContentRows) {\r\n  }\r\n};\r\n```\r\n","readmeFilename":"README.md","_id":"@constellation4sitecore/foundation-enhancers@1.0.1-beta.0","_nodeVersion":"16.15.1","_npmVersion":"lerna/6.6.2/node@v16.15.1+x64 (win32)","dist":{"integrity":"sha512-A86zp3t/Imd1HoEZRFe6cHbwCnpnxnp8rGSo7QQNBqy94O9luvGt7ZZqtdw82F8QyjTbRrmlRtqgqLo3MTW2cg==","shasum":"e693b77631d9193930e665cbdd6d8959d6e33d1d","tarball":"https://registry.npmjs.org/@constellation4sitecore/foundation-enhancers/-/foundation-enhancers-1.0.1-beta.0.tgz","fileCount":18,"unpackedSize":12206,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAD0ixpq94fLXoeZJaguYG57nlWgnwyApcJwxD+lv/9tAiBMOFs+897PwRqzSQ2Cg5MbcLVkAcilXI3rVfZhY4XEJQ=="}]},"_npmUser":{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},"directories":{},"maintainers":[{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},{"name":"sgtsitecore","email":"sitecorerick@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/foundation-enhancers_1.0.1-beta.0_1694373031241_0.6843032135575129"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.1-beta.1":{"name":"@constellation4sitecore/foundation-enhancers","version":"1.0.1-beta.1","description":"A collection of XM Cloud compatible libraries for SXA Sitecore Development.","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-esm.json && npm run copy-dts","copy-dts":"copyfiles -u 1 \"src/**/*.d.ts\" types","clean":"del-cli dist types","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=12","npm":">=6"},"author":{"name":"Richard J. Cabral, Roberto Armas"},"license":"MIT","bugs":{"url":"https://github.com/constellation4sitecore/xmcloud-constellation/issues"},"devDependencies":{"@types/react":"^18.0.27","@types/react-dom":"^18.0.10","copyfiles":"^2.4.1","del-cli":"^5.0.0","eslint":"^8.32.0","eslint-plugin-react":"^7.32.1","jsdom":"^21.1.0","next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0","ts-node":"^10.9.1","typescript":"~4.9.4"},"peerDependencies":{"next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"@sitecore-jss/sitecore-jss-nextjs":"^21.1.0"},"types":"types/index.d.ts","gitHead":"6ae1752100541fb136fa79b3292d413458082998","readme":"# Constellation Foundation Mapper\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @constellation4sitecore/foundation-enhancers --save\r\n```\r\n\r\n## Usage\r\n\r\n### With DatasourceRendering\r\n\r\nSimilarly to `withDatasourceCheck` that comes OOTB to enforce a component to have a Datasource, we created a new High-Order component called `withDatasourceRendering` that is meant to help developers code faster by automatically checking for a Datasource if available, if not the datasource will fallback to the context item.\r\n\r\n```tsx\r\nimport { withDatasourceRendering } from '@constellation4sitecore/foundation-enhancers';\r\n\r\nexport default withDatasourceRendering()<HomepageMastheadProps>(HomepageMasthead);\r\n```\r\n\r\nThis pattern takes the Component and validates if the rendering has any datasource to return fields as normal call otherwise fields will be populated with `useSitecoreContext`\r\n\r\n### Get Rendering Index\r\n\r\nThis helper function allows you to get index of the rendering.\r\n\r\n```ts\r\nconst placeholders = layoutData.sitecore?.route?.placeholders;\r\nconst result = getRenderingIndex(placeholders, rendering.uid as string, 'TabbedContentRowTab');\r\n```\r\n\r\nInputs:\r\n\r\n- placeholders: all layout placeholders\r\n- UID: Rendering UID\r\n- Component Name: Name of the child component.\r\n\r\n### Filter Placeholders\r\n\r\nFor example if you want to build a Tab Content Row component, you will facing an issue, if you don't filter placeholders in experience editor it will trought an error to avoid this filterPlaceholders will filter just components that name are not equal to \"code\".\r\n\r\n```ts\r\nexport const getStaticProps = async (rendering: ComponentRendering) => {\r\n  const newTabs = [] as TabViewModel[];\r\n  const tabContentRows = filterPlaceholders(\r\n    (rendering.placeholders as unknown as TabbedPlaceholders).TabbedContentRowTabs\r\n  );\r\n  for (const tabContentRow of tabContentRows) {\r\n  }\r\n};\r\n```\r\n","readmeFilename":"README.md","_id":"@constellation4sitecore/foundation-enhancers@1.0.1-beta.1","_nodeVersion":"16.15.1","_npmVersion":"lerna/6.6.2/node@v16.15.1+x64 (win32)","dist":{"integrity":"sha512-llXUtokpFZOBFBhM13DiH6c5c4JbJQdyW9tqCLF5icC4Euhc5PqAPwvDCTrp9IhQIBSKDerhOHZ/Yb9+5V1GFg==","shasum":"887e9a884f86a9e70c9ba900ce14c64cd2a1d86e","tarball":"https://registry.npmjs.org/@constellation4sitecore/foundation-enhancers/-/foundation-enhancers-1.0.1-beta.1.tgz","fileCount":18,"unpackedSize":13184,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5MQ8ZBUMfefMWojMQEVUhS6L5LhL1s0nJ1QOfBGwOAAIhAIEIvmYeyONVt4YlAHJwCpgAMBw/YjB5Ts7KlJTtj4nG"}]},"_npmUser":{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},"directories":{},"maintainers":[{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},{"name":"sgtsitecore","email":"sitecorerick@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/foundation-enhancers_1.0.1-beta.1_1694565351244_0.07143113505563647"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.1-beta.2":{"name":"@constellation4sitecore/foundation-enhancers","version":"1.0.1-beta.2","description":"A collection of XM Cloud compatible libraries for SXA Sitecore Development.","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-esm.json && npm run copy-dts","copy-dts":"copyfiles -u 1 \"src/**/*.d.ts\" types","clean":"del-cli dist types","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=12","npm":">=6"},"author":{"name":"Richard J. Cabral, Roberto Armas"},"license":"MIT","bugs":{"url":"https://github.com/constellation4sitecore/xmcloud-constellation/issues"},"devDependencies":{"@types/react":"^18.0.27","@types/react-dom":"^18.0.10","copyfiles":"^2.4.1","del-cli":"^5.0.0","eslint":"^8.32.0","eslint-plugin-react":"^7.32.1","jsdom":"^21.1.0","next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0","ts-node":"^10.9.1","typescript":"~4.9.4"},"peerDependencies":{"next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"@sitecore-jss/sitecore-jss-nextjs":"^21.1.0"},"types":"types/index.d.ts","gitHead":"ba0827c1f3ab9dd453e8136342b3ae87af220e3a","readme":"# Constellation Foundation Mapper\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @constellation4sitecore/foundation-enhancers --save\r\n```\r\n\r\n## Usage\r\n\r\n### With DatasourceRendering\r\n\r\nSimilarly to `withDatasourceCheck` that comes OOTB to enforce a component to have a Datasource, we created a new High-Order component called `withDatasourceRendering` that is meant to help developers code faster by automatically checking for a Datasource if available, if not the datasource will fallback to the context item.\r\n\r\n```tsx\r\nimport { withDatasourceRendering } from '@constellation4sitecore/foundation-enhancers';\r\n\r\nexport default withDatasourceRendering()<HomepageMastheadProps>(HomepageMasthead);\r\n```\r\n\r\nThis pattern takes the Component and validates if the rendering has any datasource to return fields as normal call otherwise fields will be populated with `useSitecoreContext`\r\n\r\n### Get Rendering Index\r\n\r\nThis helper function allows you to get index of the rendering.\r\n\r\n```ts\r\nconst placeholders = layoutData.sitecore?.route?.placeholders;\r\nconst result = getRenderingIndex(placeholders, rendering.uid as string, 'TabbedContentRowTab');\r\n```\r\n\r\nInputs:\r\n\r\n- placeholders: all layout placeholders\r\n- UID: Rendering UID\r\n- Component Name: Name of the child component.\r\n\r\n### Filter Placeholders\r\n\r\nFor example if you want to build a Tab Content Row component, you will facing an issue, if you don't filter placeholders in experience editor it will trought an error to avoid this filterPlaceholders will filter just components that name are not equal to \"code\".\r\n\r\n```ts\r\nexport const getStaticProps = async (rendering: ComponentRendering) => {\r\n  const newTabs = [] as TabViewModel[];\r\n  const tabContentRows = filterPlaceholders(\r\n    (rendering.placeholders as unknown as TabbedPlaceholders).TabbedContentRowTabs\r\n  );\r\n  for (const tabContentRow of tabContentRows) {\r\n  }\r\n};\r\n```\r\n","readmeFilename":"README.md","_id":"@constellation4sitecore/foundation-enhancers@1.0.1-beta.2","_nodeVersion":"16.15.1","_npmVersion":"lerna/6.6.2/node@v16.15.1+x64 (win32)","dist":{"integrity":"sha512-He75xsw25NLVMLYbYFkMApTExzo0EA2siLHdr28gq9bwzDGXFffRVgi8gb7d83jtvIPzAp8E9meVBYSij+1Okw==","shasum":"42c2ca89f021c7a927614f6286043bffcaf67ae3","tarball":"https://registry.npmjs.org/@constellation4sitecore/foundation-enhancers/-/foundation-enhancers-1.0.1-beta.2.tgz","fileCount":18,"unpackedSize":13161,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICVWdxNgT3fpskNPwW9RQwZTC850/3SjmMhbUiuewppkAiEAs7Mix1G25uHbisMEyXnPFy/vAGlL3e7e4awhoimMrb4="}]},"_npmUser":{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},"directories":{},"maintainers":[{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},{"name":"sgtsitecore","email":"sitecorerick@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/foundation-enhancers_1.0.1-beta.2_1694566034766_0.5645253580395209"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.1-beta.3":{"name":"@constellation4sitecore/foundation-enhancers","version":"1.0.1-beta.3","description":"A collection of XM Cloud compatible libraries for SXA Sitecore Development.","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-esm.json && npm run copy-dts","copy-dts":"copyfiles -u 1 \"src/**/*.d.ts\" types","clean":"del-cli dist types","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=12","npm":">=6"},"author":{"name":"Richard J. Cabral, Roberto Armas"},"license":"MIT","bugs":{"url":"https://github.com/constellation4sitecore/xmcloud-constellation/issues"},"devDependencies":{"@types/react":"^18.0.27","@types/react-dom":"^18.0.10","copyfiles":"^2.4.1","del-cli":"^5.0.0","eslint":"^8.32.0","eslint-plugin-react":"^7.32.1","jsdom":"^21.1.0","next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0","ts-node":"^10.9.1","typescript":"~4.9.4"},"peerDependencies":{"next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"@sitecore-jss/sitecore-jss-nextjs":"^21.1.0"},"types":"types/index.d.ts","gitHead":"c15c9ab6f42ef68dc6ac2c4f34a66fd4c2e41d37","readme":"# Constellation Foundation Mapper\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @constellation4sitecore/foundation-enhancers --save\r\n```\r\n\r\n## Usage\r\n\r\n### With DatasourceRendering\r\n\r\nSimilarly to `withDatasourceCheck` that comes OOTB to enforce a component to have a Datasource, we created a new High-Order component called `withDatasourceRendering` that is meant to help developers code faster by automatically checking for a Datasource if available, if not the datasource will fallback to the context item.\r\n\r\n```tsx\r\nimport { withDatasourceRendering } from '@constellation4sitecore/foundation-enhancers';\r\n\r\nexport default withDatasourceRendering()<HomepageMastheadProps>(HomepageMasthead);\r\n```\r\n\r\nThis pattern takes the Component and validates if the rendering has any datasource to return fields as normal call otherwise fields will be populated with `useSitecoreContext`\r\n\r\n### Get Rendering Index\r\n\r\nThis helper function allows you to get index of the rendering.\r\n\r\n```ts\r\nconst placeholders = layoutData.sitecore?.route?.placeholders;\r\nconst result = getRenderingIndex(placeholders, rendering.uid as string, 'TabbedContentRowTab');\r\n```\r\n\r\nInputs:\r\n\r\n- placeholders: all layout placeholders\r\n- UID: Rendering UID\r\n- Component Name: Name of the child component.\r\n\r\n### Filter Placeholders\r\n\r\nFor example if you want to build a Tab Content Row component, you will facing an issue, if you don't filter placeholders in experience editor it will trought an error to avoid this filterPlaceholders will filter just components that name are not equal to \"code\".\r\n\r\n```ts\r\nexport const getStaticProps = async (rendering: ComponentRendering) => {\r\n  const newTabs = [] as TabViewModel[];\r\n  const tabContentRows = filterPlaceholders(\r\n    (rendering.placeholders as unknown as TabbedPlaceholders).TabbedContentRowTabs\r\n  );\r\n  for (const tabContentRow of tabContentRows) {\r\n  }\r\n};\r\n```\r\n","readmeFilename":"README.md","_id":"@constellation4sitecore/foundation-enhancers@1.0.1-beta.3","_nodeVersion":"16.15.1","_npmVersion":"lerna/6.6.2/node@v16.15.1+x64 (win32)","dist":{"integrity":"sha512-MfRD9rFK/Ef4d6pQaXeoG8JvlIte1R4k9ZiKe8ba2ZDFrfWYTb2MGSoFyKx7bUmPm7WWsqKArUAcbfhV1qaSUA==","shasum":"e76a1df8d3f5018277873e8a6b050fa2c75a10fa","tarball":"https://registry.npmjs.org/@constellation4sitecore/foundation-enhancers/-/foundation-enhancers-1.0.1-beta.3.tgz","fileCount":18,"unpackedSize":13239,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDHeBGNESvp5vsdU6rt6u/NYa7AsLMSTtxympMXDGZZrQIgDBpsg18xiZyhlM/IVzEhRB+AZGiCT3CzfAmqEvPPPtU="}]},"_npmUser":{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},"directories":{},"maintainers":[{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},{"name":"sgtsitecore","email":"sitecorerick@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/foundation-enhancers_1.0.1-beta.3_1694568503489_0.6133081733525945"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.1-beta.4":{"name":"@constellation4sitecore/foundation-enhancers","version":"1.0.1-beta.4","description":"A collection of XM Cloud compatible libraries for SXA Sitecore Development.","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-esm.json && npm run copy-dts","copy-dts":"copyfiles -u 1 \"src/**/*.d.ts\" types","clean":"del-cli dist types","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=12","npm":">=6"},"author":{"name":"Richard J. Cabral, Roberto Armas"},"license":"MIT","bugs":{"url":"https://github.com/constellation4sitecore/xmcloud-constellation/issues"},"devDependencies":{"@types/react":"^18.0.27","@types/react-dom":"^18.0.10","copyfiles":"^2.4.1","del-cli":"^5.0.0","eslint":"^8.32.0","eslint-plugin-react":"^7.32.1","jsdom":"^21.1.0","next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0","ts-node":"^10.9.1","typescript":"~4.9.4"},"peerDependencies":{"next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"@sitecore-jss/sitecore-jss-nextjs":"^21.1.0"},"types":"types/index.d.ts","gitHead":"e86a72c426622a321e45bcfa971fa74ede4b4b08","readme":"# Constellation Foundation Mapper\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @constellation4sitecore/foundation-enhancers --save\r\n```\r\n\r\n## Usage\r\n\r\n### With DatasourceRendering\r\n\r\nSimilarly to `withDatasourceCheck` that comes OOTB to enforce a component to have a Datasource, we created a new High-Order component called `withDatasourceRendering` that is meant to help developers code faster by automatically checking for a Datasource if available, if not the datasource will fallback to the context item.\r\n\r\n```tsx\r\nimport { withDatasourceRendering } from '@constellation4sitecore/foundation-enhancers';\r\n\r\nexport default withDatasourceRendering()<HomepageMastheadProps>(HomepageMasthead);\r\n```\r\n\r\nThis pattern takes the Component and validates if the rendering has any datasource to return fields as normal call otherwise fields will be populated with `useSitecoreContext`\r\n\r\n### Get Rendering Index\r\n\r\nThis helper function allows you to get index of the rendering.\r\n\r\n```ts\r\nconst placeholders = layoutData.sitecore?.route?.placeholders;\r\nconst result = getRenderingIndex(placeholders, rendering.uid as string, 'TabbedContentRowTab');\r\n```\r\n\r\nInputs:\r\n\r\n- placeholders: all layout placeholders\r\n- UID: Rendering UID\r\n- Component Name: Name of the child component.\r\n\r\n### Filter Placeholders\r\n\r\nFor example if you want to build a Tab Content Row component, you will facing an issue, if you don't filter placeholders in experience editor it will trought an error to avoid this filterPlaceholders will filter just components that name are not equal to \"code\".\r\n\r\n```ts\r\nexport const getStaticProps = async (rendering: ComponentRendering) => {\r\n  const newTabs = [] as TabViewModel[];\r\n  const tabContentRows = filterPlaceholders(\r\n    (rendering.placeholders as unknown as TabbedPlaceholders).TabbedContentRowTabs\r\n  );\r\n  for (const tabContentRow of tabContentRows) {\r\n  }\r\n};\r\n```\r\n","readmeFilename":"README.md","_id":"@constellation4sitecore/foundation-enhancers@1.0.1-beta.4","_nodeVersion":"16.15.1","_npmVersion":"lerna/6.6.2/node@v16.15.1+x64 (win32)","dist":{"integrity":"sha512-9X0hr+nW2qZUaVcFuZ2pu7RuRVMh0Q4u5YVRAty0WG5a61RB3giEjJ/xbwOhSGxGVPVJMzFClbo5Kgh1LMv1mg==","shasum":"afa7baa45e9e6bb23c258102663e6d8af6d34324","tarball":"https://registry.npmjs.org/@constellation4sitecore/foundation-enhancers/-/foundation-enhancers-1.0.1-beta.4.tgz","fileCount":18,"unpackedSize":13239,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAOGHSU3rlUurIlelTKrQ/Av6Z5gRep1YI/DcztaJkx9AiEAkK216WOBXGAebFuYmAFDKAZh/a475kCN0awVJ2mCC0o="}]},"_npmUser":{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},"directories":{},"maintainers":[{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},{"name":"sgtsitecore","email":"sitecorerick@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/foundation-enhancers_1.0.1-beta.4_1694613126527_0.7773393656013856"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.1":{"name":"@constellation4sitecore/foundation-enhancers","version":"1.0.1","description":"A collection of XM Cloud compatible libraries for SXA Sitecore Development.","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-esm.json && npm run copy-dts","copy-dts":"copyfiles -u 1 \"src/**/*.d.ts\" types","clean":"del-cli dist types","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=12","npm":">=6"},"author":{"name":"Richard J. Cabral, Roberto Armas"},"license":"MIT","bugs":{"url":"https://github.com/constellation4sitecore/xmcloud-constellation/issues"},"devDependencies":{"@types/react":"^18.0.27","@types/react-dom":"^18.0.10","copyfiles":"^2.4.1","del-cli":"^5.0.0","eslint":"^8.32.0","eslint-plugin-react":"^7.32.1","jsdom":"^21.1.0","next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0","ts-node":"^10.9.1","typescript":"~4.9.4"},"peerDependencies":{"next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"@sitecore-jss/sitecore-jss-nextjs":"^21.1.0"},"types":"types/index.d.ts","gitHead":"7fde63a46eed57c3839fdd1461fc25f71d1f95a3","_id":"@constellation4sitecore/foundation-enhancers@1.0.1","_nodeVersion":"16.15.1","_npmVersion":"lerna/6.6.2/node@v16.15.1+x64 (win32)","dist":{"integrity":"sha512-XJ5ivPdnakPzqvfMUfObNPB6ty6tACE6YFCyagRJ2fPO1mDYv0h8fpg35uDRGnBb65O7hTQ6mX6e1ohRqMjwnA==","shasum":"7624c6f5e672e9ea7d7824090a6704cc36228341","tarball":"https://registry.npmjs.org/@constellation4sitecore/foundation-enhancers/-/foundation-enhancers-1.0.1.tgz","fileCount":18,"unpackedSize":14159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDnVUmYffpCJq80EG0wqzFPyKBp+GfrsRGKnNOW9tSdpQIgbOP2bmWOoF4otZMaln8jQCPegfzMQvS6gCOD9naD49g="}]},"_npmUser":{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},"directories":{},"maintainers":[{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},{"name":"sgtsitecore","email":"sitecorerick@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/foundation-enhancers_1.0.1_1700773686658_0.7889520790246551"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.2":{"name":"@constellation4sitecore/foundation-enhancers","version":"1.0.2","description":"A collection of XM Cloud compatible libraries for SXA Sitecore Development.","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-esm.json && npm run copy-dts","copy-dts":"copyfiles -u 1 \"src/**/*.d.ts\" types","clean":"del-cli dist types","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=12","npm":">=6"},"author":{"name":"Richard J. Cabral, Roberto Armas"},"license":"MIT","bugs":{"url":"https://github.com/constellation4sitecore/xmcloud-constellation/issues"},"devDependencies":{"@types/react":"^18.0.27","@types/react-dom":"^18.0.10","copyfiles":"^2.4.1","del-cli":"^5.0.0","eslint":"^8.32.0","eslint-plugin-react":"^7.32.1","jsdom":"^21.1.0","next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0","ts-node":"^10.9.1","typescript":"~4.9.4"},"peerDependencies":{"next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"@sitecore-jss/sitecore-jss-nextjs":"^21.1.0"},"types":"types/index.d.ts","gitHead":"981f44e03397578021f4bc81901dfb71f0da7ab7","_id":"@constellation4sitecore/foundation-enhancers@1.0.2","_nodeVersion":"20.10.0","_npmVersion":"lerna/6.6.2/node@v20.10.0+x64 (win32)","dist":{"integrity":"sha512-Hc7X707g9wSIQNrDn94ZfqI4JaRFdwPZkmytmeGjYbgBut7TVgSKFXU77fgjbb27sABf4fiR4rCpvs0jxqpE9A==","shasum":"e83a51ec3b1e824c42da14bdf13c738d5134704d","tarball":"https://registry.npmjs.org/@constellation4sitecore/foundation-enhancers/-/foundation-enhancers-1.0.2.tgz","fileCount":18,"unpackedSize":14159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA0EAj+tI+pK/O5ivfJlbpvYXhaPJPxAEMDVp948zxLRAiEAiJ7laR2SX28bWEzbW7Lc1fG2qfu5mO5FAAxDAqOuAS0="}]},"_npmUser":{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},"directories":{},"maintainers":[{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},{"name":"sgtsitecore","email":"sitecorerick@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/foundation-enhancers_1.0.2_1706416518822_0.4283877062907333"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.3":{"name":"@constellation4sitecore/foundation-enhancers","version":"1.0.3","description":"A collection of XM Cloud compatible libraries for SXA Sitecore Development.","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-esm.json && npm run copy-dts","copy-dts":"copyfiles -u 1 \"src/**/*.d.ts\" types","clean":"del-cli dist types","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=12","npm":">=6"},"author":{"name":"Richard J. Cabral, Roberto Armas"},"license":"MIT","bugs":{"url":"https://github.com/constellation4sitecore/xmcloud-constellation/issues"},"devDependencies":{"@types/react":"^18.0.27","@types/react-dom":"^18.0.10","copyfiles":"^2.4.1","del-cli":"^5.0.0","eslint":"^8.32.0","eslint-plugin-react":"^7.32.1","jsdom":"^21.1.0","next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0","ts-node":"^10.9.1","typescript":"~4.9.4"},"peerDependencies":{"next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"@sitecore-jss/sitecore-jss-nextjs":"^21.1.0"},"types":"types/index.d.ts","gitHead":"8f9e18d6bc0b158f623ebe3c918cdf54c543e6dd","_id":"@constellation4sitecore/foundation-enhancers@1.0.3","_nodeVersion":"20.10.0","_npmVersion":"lerna/6.6.2/node@v20.10.0+x64 (win32)","dist":{"integrity":"sha512-fMvFkakOrHJkKMsvDXrbS90TV7sOPThF4AtIbuxHxoRxGXwZ0niEA2EjGofcIIysQAOrolVkL1/XApLIJYF5HQ==","shasum":"cb850c1ab6da983a077ee5244338bb98ded88c60","tarball":"https://registry.npmjs.org/@constellation4sitecore/foundation-enhancers/-/foundation-enhancers-1.0.3.tgz","fileCount":18,"unpackedSize":14159,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYUDsw6Q7GP3pTP/HUug3oodv/BrVu3gFfsB2jDFvSAwIgRozlvqJ4YxV/Zkevn/mIRmKnbw3LB2X1fbcN9VRF6iE="}]},"_npmUser":{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},"directories":{},"maintainers":[{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},{"name":"sgtsitecore","email":"sitecorerick@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/foundation-enhancers_1.0.3_1706417805672_0.5183446984733919"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.4-beta.2":{"name":"@constellation4sitecore/foundation-enhancers","version":"1.0.4-beta.2","description":"A collection of XM Cloud compatible libraries for SXA Sitecore Development.","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-esm.json && npm run copy-dts","copy-dts":"copyfiles -u 1 \"src/**/*.d.ts\" types","clean":"del-cli dist types","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=12","npm":">=6"},"author":{"name":"Richard J. Cabral, Roberto Armas"},"license":"MIT","bugs":{"url":"https://github.com/constellation4sitecore/xmcloud-constellation/issues"},"devDependencies":{"@types/react":"^18.0.27","@types/react-dom":"^18.0.10","copyfiles":"^2.4.1","del-cli":"^5.0.0","eslint":"^8.32.0","eslint-plugin-react":"^7.32.1","jsdom":"^21.1.0","next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0","ts-node":"^10.9.1","typescript":"~4.9.4"},"peerDependencies":{"next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"@sitecore-jss/sitecore-jss-nextjs":"^21.1.0"},"types":"types/index.d.ts","gitHead":"e6b9881273b81c3f1a9ec6a888bf19a6458dc200","readme":"# Constellation Foundation Mapper\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @constellation4sitecore/foundation-enhancers --save\r\n```\r\n\r\n## Usage\r\n\r\n### With DatasourceRendering\r\n\r\nSimilarly to `withDatasourceCheck` that comes OOTB to enforce a component to have a Datasource, we created a new High-Order component called `withDatasourceRendering` that is meant to help developers code faster by automatically checking for a Datasource if available, if not the datasource will fallback to the context item.\r\n\r\n```tsx\r\nimport { withDatasourceRendering } from '@constellation4sitecore/foundation-enhancers';\r\n\r\nexport default withDatasourceRendering()<HomepageMastheadProps>(HomepageMasthead);\r\n```\r\n\r\nThis pattern takes the Component and validates if the rendering has any datasource to return fields as normal call otherwise fields will be populated with `useSitecoreContext`\r\n\r\n### Get Rendering Index\r\n\r\nThis helper function allows you to get index of the rendering.\r\n\r\n```ts\r\nconst placeholders = layoutData.sitecore?.route?.placeholders;\r\nconst result = getRenderingIndex(placeholders, rendering.uid as string, 'TabbedContentRowTab');\r\n```\r\n\r\nInputs:\r\n\r\n- placeholders: all layout placeholders\r\n- UID: Rendering UID\r\n- Component Name: Name of the child component.\r\n\r\n### Filter Placeholders\r\n\r\nFor example if you want to build a Tab Content Row component, you will facing an issue, if you don't filter placeholders in experience editor it will trought an error to avoid this filterPlaceholders will filter just components that name are not equal to \"code\".\r\n\r\n```ts\r\nexport const getStaticProps = async (rendering: ComponentRendering) => {\r\n  const newTabs = [] as TabViewModel[];\r\n  const tabContentRows = filterPlaceholders(\r\n    (rendering.placeholders as unknown as TabbedPlaceholders).TabbedContentRowTabs\r\n  );\r\n  for (const tabContentRow of tabContentRows) {\r\n  }\r\n};\r\n```\r\n","readmeFilename":"README.md","_id":"@constellation4sitecore/foundation-enhancers@1.0.4-beta.2","_nodeVersion":"20.10.0","_npmVersion":"lerna/6.6.2/node@v20.10.0+x64 (win32)","dist":{"integrity":"sha512-nAscxZT7B8jaGlGK4XvqzH/R4z3ZGotztXnmF/vwINcSV1u8BwboQd1TyseCNy7eLF+ChUHN4JXKpmAApnSSpw==","shasum":"428fba8ac662b1339e1c6263d1a37fb6d3276ef7","tarball":"https://registry.npmjs.org/@constellation4sitecore/foundation-enhancers/-/foundation-enhancers-1.0.4-beta.2.tgz","fileCount":18,"unpackedSize":14166,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC07Ti/6NWLTcQSqrIzan557K0hzJLGAhURHohdcNbUhgIhAMe51+l9IzIFQiDiTxYL4pU9L5dnnu1CaP2gW9MbiV66"}]},"_npmUser":{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},"directories":{},"maintainers":[{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},{"name":"sgtsitecore","email":"sitecorerick@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/foundation-enhancers_1.0.4-beta.2_1706727280014_0.9219617066107633"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.4-beta.3":{"name":"@constellation4sitecore/foundation-enhancers","version":"1.0.4-beta.3","description":"A collection of XM Cloud compatible libraries for SXA Sitecore Development.","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-esm.json && npm run copy-dts","copy-dts":"copyfiles -u 1 \"src/**/*.d.ts\" types","clean":"del-cli dist types","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=12","npm":">=6"},"author":{"name":"Richard J. Cabral, Roberto Armas"},"license":"MIT","bugs":{"url":"https://github.com/constellation4sitecore/xmcloud-constellation/issues"},"devDependencies":{"@types/react":"^18.0.27","@types/react-dom":"^18.0.10","copyfiles":"^2.4.1","del-cli":"^5.0.0","eslint":"^8.32.0","eslint-plugin-react":"^7.32.1","jsdom":"^21.1.0","next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0","ts-node":"^10.9.1","typescript":"~4.9.4"},"peerDependencies":{"next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"@sitecore-jss/sitecore-jss-nextjs":"^21.1.0"},"types":"types/index.d.ts","gitHead":"365e24708dce395cb7156d78a21397aa093a8957","readme":"# Constellation Foundation Mapper\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @constellation4sitecore/foundation-enhancers --save\r\n```\r\n\r\n## Usage\r\n\r\n### With DatasourceRendering\r\n\r\nSimilarly to `withDatasourceCheck` that comes OOTB to enforce a component to have a Datasource, we created a new High-Order component called `withDatasourceRendering` that is meant to help developers code faster by automatically checking for a Datasource if available, if not the datasource will fallback to the context item.\r\n\r\n```tsx\r\nimport { withDatasourceRendering } from '@constellation4sitecore/foundation-enhancers';\r\n\r\nexport default withDatasourceRendering()<HomepageMastheadProps>(HomepageMasthead);\r\n```\r\n\r\nThis pattern takes the Component and validates if the rendering has any datasource to return fields as normal call otherwise fields will be populated with `useSitecoreContext`\r\n\r\n### Get Rendering Index\r\n\r\nThis helper function allows you to get index of the rendering.\r\n\r\n```ts\r\nconst placeholders = layoutData.sitecore?.route?.placeholders;\r\nconst result = getRenderingIndex(placeholders, rendering.uid as string, 'TabbedContentRowTab');\r\n```\r\n\r\nInputs:\r\n\r\n- placeholders: all layout placeholders\r\n- UID: Rendering UID\r\n- Component Name: Name of the child component.\r\n\r\n### Filter Placeholders\r\n\r\nFor example if you want to build a Tab Content Row component, you will facing an issue, if you don't filter placeholders in experience editor it will trought an error to avoid this filterPlaceholders will filter just components that name are not equal to \"code\".\r\n\r\n```ts\r\nexport const getStaticProps = async (rendering: ComponentRendering) => {\r\n  const newTabs = [] as TabViewModel[];\r\n  const tabContentRows = filterPlaceholders(\r\n    (rendering.placeholders as unknown as TabbedPlaceholders).TabbedContentRowTabs\r\n  );\r\n  for (const tabContentRow of tabContentRows) {\r\n  }\r\n};\r\n```\r\n","readmeFilename":"README.md","_id":"@constellation4sitecore/foundation-enhancers@1.0.4-beta.3","_nodeVersion":"20.10.0","_npmVersion":"lerna/6.6.2/node@v20.10.0+x64 (win32)","dist":{"integrity":"sha512-d9AGPHELQrUwBxT/P7KPlkvHW0+xF6PQ7ywysuqgQvDdjNDldfHolgyX2uLkzFh1DqlLhPYTbk+h5jWSo92ZfA==","shasum":"266bfac04c26c37d8028f79c36f5338446ada907","tarball":"https://registry.npmjs.org/@constellation4sitecore/foundation-enhancers/-/foundation-enhancers-1.0.4-beta.3.tgz","fileCount":18,"unpackedSize":14166,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGkxNinLswrFOEVwBe5rC3rF3D8ewSJOeEupef7T4t7wAiAuE00anMXVpEsroea0ISnBp2BOUAYdOkAIzseCWPxfRQ=="}]},"_npmUser":{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},"directories":{},"maintainers":[{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},{"name":"sgtsitecore","email":"sitecorerick@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/foundation-enhancers_1.0.4-beta.3_1706727867493_0.6614600237743926"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.4-beta.4":{"name":"@constellation4sitecore/foundation-enhancers","version":"1.0.4-beta.4","description":"A collection of XM Cloud compatible libraries for SXA Sitecore Development.","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-esm.json && npm run copy-dts","copy-dts":"copyfiles -u 1 \"src/**/*.d.ts\" types","clean":"del-cli dist types","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=12","npm":">=6"},"author":{"name":"Richard J. Cabral, Roberto Armas"},"license":"MIT","bugs":{"url":"https://github.com/constellation4sitecore/xmcloud-constellation/issues"},"devDependencies":{"@types/react":"^18.0.27","@types/react-dom":"^18.0.10","copyfiles":"^2.4.1","del-cli":"^5.0.0","eslint":"^8.32.0","eslint-plugin-react":"^7.32.1","jsdom":"^21.1.0","next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0","ts-node":"^10.9.1","typescript":"~4.9.4"},"peerDependencies":{"next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"@sitecore-jss/sitecore-jss-nextjs":"^21.1.0"},"types":"types/index.d.ts","gitHead":"98dc0fef6492730c3da0f9cab96da209a57f905d","readme":"# Constellation Foundation Mapper\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @constellation4sitecore/foundation-enhancers --save\r\n```\r\n\r\n## Usage\r\n\r\n### With DatasourceRendering\r\n\r\nSimilarly to `withDatasourceCheck` that comes OOTB to enforce a component to have a Datasource, we created a new High-Order component called `withDatasourceRendering` that is meant to help developers code faster by automatically checking for a Datasource if available, if not the datasource will fallback to the context item.\r\n\r\n```tsx\r\nimport { withDatasourceRendering } from '@constellation4sitecore/foundation-enhancers';\r\n\r\nexport default withDatasourceRendering()<HomepageMastheadProps>(HomepageMasthead);\r\n```\r\n\r\nThis pattern takes the Component and validates if the rendering has any datasource to return fields as normal call otherwise fields will be populated with `useSitecoreContext`\r\n\r\n### Get Rendering Index\r\n\r\nThis helper function allows you to get index of the rendering.\r\n\r\n```ts\r\nconst placeholders = layoutData.sitecore?.route?.placeholders;\r\nconst result = getRenderingIndex(placeholders, rendering.uid as string, 'TabbedContentRowTab');\r\n```\r\n\r\nInputs:\r\n\r\n- placeholders: all layout placeholders\r\n- UID: Rendering UID\r\n- Component Name: Name of the child component.\r\n\r\n### Filter Placeholders\r\n\r\nFor example if you want to build a Tab Content Row component, you will facing an issue, if you don't filter placeholders in experience editor it will trought an error to avoid this filterPlaceholders will filter just components that name are not equal to \"code\".\r\n\r\n```ts\r\nexport const getStaticProps = async (rendering: ComponentRendering) => {\r\n  const newTabs = [] as TabViewModel[];\r\n  const tabContentRows = filterPlaceholders(\r\n    (rendering.placeholders as unknown as TabbedPlaceholders).TabbedContentRowTabs\r\n  );\r\n  for (const tabContentRow of tabContentRows) {\r\n  }\r\n};\r\n```\r\n","readmeFilename":"README.md","_id":"@constellation4sitecore/foundation-enhancers@1.0.4-beta.4","_nodeVersion":"20.10.0","_npmVersion":"lerna/6.6.2/node@v20.10.0+x64 (win32)","dist":{"integrity":"sha512-4xNfqsFrf9Tq9aQi7vnRqta+01IVTZzSsOhZU1vSm+29mNVxA8NkZUz2nJ6F7B/rFMWXKpLgiBtIn0nMlI0iEQ==","shasum":"abd873fbe52b9a176b8b64fe7f0784dd8d4b8dee","tarball":"https://registry.npmjs.org/@constellation4sitecore/foundation-enhancers/-/foundation-enhancers-1.0.4-beta.4.tgz","fileCount":18,"unpackedSize":14166,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICJXHRAm6oQ7xjefPRTa9N+S2QcdAqQWUI52n1kK5UhoAiEAqCS3HnsNpQZOREaQsN0XsCN1gu0QvLfe6rz6FdvMiWU="}]},"_npmUser":{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},"directories":{},"maintainers":[{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},{"name":"sgtsitecore","email":"sitecorerick@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/foundation-enhancers_1.0.4-beta.4_1706728326921_0.8008955640950968"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.4-beta.5":{"name":"@constellation4sitecore/foundation-enhancers","version":"1.0.4-beta.5","description":"A collection of XM Cloud compatible libraries for SXA Sitecore Development.","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-esm.json && npm run copy-dts","copy-dts":"copyfiles -u 1 \"src/**/*.d.ts\" types","clean":"del-cli dist types","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=12","npm":">=6"},"author":{"name":"Richard J. Cabral, Roberto Armas"},"license":"MIT","bugs":{"url":"https://github.com/constellation4sitecore/xmcloud-constellation/issues"},"devDependencies":{"@types/react":"^18.0.27","@types/react-dom":"^18.0.10","copyfiles":"^2.4.1","del-cli":"^5.0.0","eslint":"^8.32.0","eslint-plugin-react":"^7.32.1","jsdom":"^21.1.0","next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0","ts-node":"^10.9.1","typescript":"~4.9.4"},"peerDependencies":{"next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"@sitecore-jss/sitecore-jss-nextjs":"^21.1.0"},"types":"types/index.d.ts","gitHead":"d0fe2d75c5f4950f49d067959ebc974a46e99572","readme":"# Constellation Foundation Mapper\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @constellation4sitecore/foundation-enhancers --save\r\n```\r\n\r\n## Usage\r\n\r\n### With DatasourceRendering\r\n\r\nSimilarly to `withDatasourceCheck` that comes OOTB to enforce a component to have a Datasource, we created a new High-Order component called `withDatasourceRendering` that is meant to help developers code faster by automatically checking for a Datasource if available, if not the datasource will fallback to the context item.\r\n\r\n```tsx\r\nimport { withDatasourceRendering } from '@constellation4sitecore/foundation-enhancers';\r\n\r\nexport default withDatasourceRendering()<HomepageMastheadProps>(HomepageMasthead);\r\n```\r\n\r\nThis pattern takes the Component and validates if the rendering has any datasource to return fields as normal call otherwise fields will be populated with `useSitecoreContext`\r\n\r\n### Get Rendering Index\r\n\r\nThis helper function allows you to get index of the rendering.\r\n\r\n```ts\r\nconst placeholders = layoutData.sitecore?.route?.placeholders;\r\nconst result = getRenderingIndex(placeholders, rendering.uid as string, 'TabbedContentRowTab');\r\n```\r\n\r\nInputs:\r\n\r\n- placeholders: all layout placeholders\r\n- UID: Rendering UID\r\n- Component Name: Name of the child component.\r\n\r\n### Filter Placeholders\r\n\r\nFor example if you want to build a Tab Content Row component, you will facing an issue, if you don't filter placeholders in experience editor it will trought an error to avoid this filterPlaceholders will filter just components that name are not equal to \"code\".\r\n\r\n```ts\r\nexport const getStaticProps = async (rendering: ComponentRendering) => {\r\n  const newTabs = [] as TabViewModel[];\r\n  const tabContentRows = filterPlaceholders(\r\n    (rendering.placeholders as unknown as TabbedPlaceholders).TabbedContentRowTabs\r\n  );\r\n  for (const tabContentRow of tabContentRows) {\r\n  }\r\n};\r\n```\r\n","readmeFilename":"README.md","_id":"@constellation4sitecore/foundation-enhancers@1.0.4-beta.5","_nodeVersion":"20.10.0","_npmVersion":"lerna/6.6.2/node@v20.10.0+x64 (win32)","dist":{"integrity":"sha512-8gbT2p3wJed1RQuDfpsJMxlJ3q9bjzHw9ks6VKJJrfr92HjuSuc63eG9KHbxGy1jJgP8a2FvT0xOfRr0Sii8JA==","shasum":"d7badd4dda051fe3baab57944faa63d85c8c9d30","tarball":"https://registry.npmjs.org/@constellation4sitecore/foundation-enhancers/-/foundation-enhancers-1.0.4-beta.5.tgz","fileCount":18,"unpackedSize":14166,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDLVsiyVaex/o1Pg0mzWujEG6OCQHTokUEafvOvpwLExwIgP1/WLZgzadYtoZv+h4SL8q/lwsD4poI1Re4hoJB1y1M="}]},"_npmUser":{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},"directories":{},"maintainers":[{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},{"name":"sgtsitecore","email":"sitecorerick@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/foundation-enhancers_1.0.4-beta.5_1706729966528_0.534460064421078"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.4-beta.6":{"name":"@constellation4sitecore/foundation-enhancers","version":"1.0.4-beta.6","description":"A collection of XM Cloud compatible libraries for SXA Sitecore Development.","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-esm.json && npm run copy-dts","copy-dts":"copyfiles -u 1 \"src/**/*.d.ts\" types","clean":"del-cli dist types","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=12","npm":">=6"},"author":{"name":"Richard J. Cabral, Roberto Armas"},"license":"MIT","bugs":{"url":"https://github.com/constellation4sitecore/xmcloud-constellation/issues"},"devDependencies":{"@types/react":"^18.0.27","@types/react-dom":"^18.0.10","copyfiles":"^2.4.1","del-cli":"^5.0.0","eslint":"^8.32.0","eslint-plugin-react":"^7.32.1","jsdom":"^21.1.0","next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0","ts-node":"^10.9.1","typescript":"~4.9.4"},"peerDependencies":{"next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"@sitecore-jss/sitecore-jss-nextjs":"^21.1.0"},"types":"types/index.d.ts","gitHead":"24793812e233bf6b46a413b9145e37d911a13140","readme":"# Constellation Foundation Mapper\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @constellation4sitecore/foundation-enhancers --save\r\n```\r\n\r\n## Usage\r\n\r\n### With DatasourceRendering\r\n\r\nSimilarly to `withDatasourceCheck` that comes OOTB to enforce a component to have a Datasource, we created a new High-Order component called `withDatasourceRendering` that is meant to help developers code faster by automatically checking for a Datasource if available, if not the datasource will fallback to the context item.\r\n\r\n```tsx\r\nimport { withDatasourceRendering } from '@constellation4sitecore/foundation-enhancers';\r\n\r\nexport default withDatasourceRendering()<HomepageMastheadProps>(HomepageMasthead);\r\n```\r\n\r\nThis pattern takes the Component and validates if the rendering has any datasource to return fields as normal call otherwise fields will be populated with `useSitecoreContext`\r\n\r\n### Get Rendering Index\r\n\r\nThis helper function allows you to get index of the rendering.\r\n\r\n```ts\r\nconst placeholders = layoutData.sitecore?.route?.placeholders;\r\nconst result = getRenderingIndex(placeholders, rendering.uid as string, 'TabbedContentRowTab');\r\n```\r\n\r\nInputs:\r\n\r\n- placeholders: all layout placeholders\r\n- UID: Rendering UID\r\n- Component Name: Name of the child component.\r\n\r\n### Filter Placeholders\r\n\r\nFor example if you want to build a Tab Content Row component, you will facing an issue, if you don't filter placeholders in experience editor it will trought an error to avoid this filterPlaceholders will filter just components that name are not equal to \"code\".\r\n\r\n```ts\r\nexport const getStaticProps = async (rendering: ComponentRendering) => {\r\n  const newTabs = [] as TabViewModel[];\r\n  const tabContentRows = filterPlaceholders(\r\n    (rendering.placeholders as unknown as TabbedPlaceholders).TabbedContentRowTabs\r\n  );\r\n  for (const tabContentRow of tabContentRows) {\r\n  }\r\n};\r\n```\r\n","readmeFilename":"README.md","_id":"@constellation4sitecore/foundation-enhancers@1.0.4-beta.6","_nodeVersion":"20.10.0","_npmVersion":"lerna/6.6.2/node@v20.10.0+x64 (win32)","dist":{"integrity":"sha512-Qf0uDMw9qtJzfJQCp8BQgdSm/vHQtjKGBZwwioWMvRq/swNY0/P8YVJSmEJjFtb61N9P0gl8EXcto6eg56K0fg==","shasum":"ad685dd6fdf412961a54b0ce93d3f83c500fa99c","tarball":"https://registry.npmjs.org/@constellation4sitecore/foundation-enhancers/-/foundation-enhancers-1.0.4-beta.6.tgz","fileCount":18,"unpackedSize":14166,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEi+jLQYm5KMUt/oI0IiGqJEgsVYD5BmGvXETtSkhW2RAiBkFZlo2nzLxlz7fpsmmCtdi9KSDicaJXzWhHzAxwP9/Q=="}]},"_npmUser":{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},"directories":{},"maintainers":[{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},{"name":"sgtsitecore","email":"sitecorerick@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/foundation-enhancers_1.0.4-beta.6_1706734801029_0.15139691968255464"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.4-beta.7":{"name":"@constellation4sitecore/foundation-enhancers","version":"1.0.4-beta.7","description":"A collection of XM Cloud compatible libraries for SXA Sitecore Development.","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-esm.json && npm run copy-dts","copy-dts":"copyfiles -u 1 \"src/**/*.d.ts\" types","clean":"del-cli dist types","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=12","npm":">=6"},"author":{"name":"Richard J. Cabral, Roberto Armas"},"license":"MIT","bugs":{"url":"https://github.com/constellation4sitecore/xmcloud-constellation/issues"},"devDependencies":{"@types/react":"^18.0.27","@types/react-dom":"^18.0.10","copyfiles":"^2.4.1","del-cli":"^5.0.0","eslint":"^8.32.0","eslint-plugin-react":"^7.32.1","jsdom":"^21.1.0","next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0","ts-node":"^10.9.1","typescript":"~4.9.4"},"peerDependencies":{"next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"@sitecore-jss/sitecore-jss-nextjs":"^21.1.0"},"types":"types/index.d.ts","gitHead":"a6466335f92e921a7caf7c00f9d5bee806b41ec3","readme":"# Constellation Foundation Mapper\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @constellation4sitecore/foundation-enhancers --save\r\n```\r\n\r\n## Usage\r\n\r\n### With DatasourceRendering\r\n\r\nSimilarly to `withDatasourceCheck` that comes OOTB to enforce a component to have a Datasource, we created a new High-Order component called `withDatasourceRendering` that is meant to help developers code faster by automatically checking for a Datasource if available, if not the datasource will fallback to the context item.\r\n\r\n```tsx\r\nimport { withDatasourceRendering } from '@constellation4sitecore/foundation-enhancers';\r\n\r\nexport default withDatasourceRendering()<HomepageMastheadProps>(HomepageMasthead);\r\n```\r\n\r\nThis pattern takes the Component and validates if the rendering has any datasource to return fields as normal call otherwise fields will be populated with `useSitecoreContext`\r\n\r\n### Get Rendering Index\r\n\r\nThis helper function allows you to get index of the rendering.\r\n\r\n```ts\r\nconst placeholders = layoutData.sitecore?.route?.placeholders;\r\nconst result = getRenderingIndex(placeholders, rendering.uid as string, 'TabbedContentRowTab');\r\n```\r\n\r\nInputs:\r\n\r\n- placeholders: all layout placeholders\r\n- UID: Rendering UID\r\n- Component Name: Name of the child component.\r\n\r\n### Filter Placeholders\r\n\r\nFor example if you want to build a Tab Content Row component, you will facing an issue, if you don't filter placeholders in experience editor it will trought an error to avoid this filterPlaceholders will filter just components that name are not equal to \"code\".\r\n\r\n```ts\r\nexport const getStaticProps = async (rendering: ComponentRendering) => {\r\n  const newTabs = [] as TabViewModel[];\r\n  const tabContentRows = filterPlaceholders(\r\n    (rendering.placeholders as unknown as TabbedPlaceholders).TabbedContentRowTabs\r\n  );\r\n  for (const tabContentRow of tabContentRows) {\r\n  }\r\n};\r\n```\r\n","readmeFilename":"README.md","_id":"@constellation4sitecore/foundation-enhancers@1.0.4-beta.7","_nodeVersion":"20.10.0","_npmVersion":"lerna/6.6.2/node@v20.10.0+x64 (win32)","dist":{"integrity":"sha512-TZ6vsBc31IKDXV/UR/MlH8cPaOo1rc+rnI87VAJQF0E+TN+kCL65m26Y3NqCQIAZxozcN+oABIQmtbL1FwTalw==","shasum":"de1290c003ac953aa519f4b568f800e03e7bcee1","tarball":"https://registry.npmjs.org/@constellation4sitecore/foundation-enhancers/-/foundation-enhancers-1.0.4-beta.7.tgz","fileCount":18,"unpackedSize":14166,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD9myi1pTnBcZKmzGolaJ4mUNel00ezvyRn7h+WFXaX2QIhANGrTvl8tf3iRsNK5qD5QNrttzdDuA/r4AMCEGzA5GfT"}]},"_npmUser":{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},"directories":{},"maintainers":[{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},{"name":"sgtsitecore","email":"sitecorerick@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/foundation-enhancers_1.0.4-beta.7_1707194707564_0.3358025851021036"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.4-beta.8":{"name":"@constellation4sitecore/foundation-enhancers","version":"1.0.4-beta.8","description":"A collection of XM Cloud compatible libraries for SXA Sitecore Development.","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-esm.json && npm run copy-dts","copy-dts":"copyfiles -u 1 \"src/**/*.d.ts\" types","clean":"del-cli dist types","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=12","npm":">=6"},"author":{"name":"Richard J. Cabral, Roberto Armas"},"license":"MIT","bugs":{"url":"https://github.com/constellation4sitecore/xmcloud-constellation/issues"},"devDependencies":{"@types/react":"^18.0.27","@types/react-dom":"^18.0.10","copyfiles":"^2.4.1","del-cli":"^5.0.0","eslint":"^8.32.0","eslint-plugin-react":"^7.32.1","jsdom":"^21.1.0","next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0","ts-node":"^10.9.1","typescript":"~4.9.4"},"peerDependencies":{"next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"@sitecore-jss/sitecore-jss-nextjs":"^21.1.0"},"types":"types/index.d.ts","gitHead":"eb8a0872a4f074e7dfa9f4130a0a2c79986a422b","readme":"# Constellation Foundation Mapper\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @constellation4sitecore/foundation-enhancers --save\r\n```\r\n\r\n## Usage\r\n\r\n### With DatasourceRendering\r\n\r\nSimilarly to `withDatasourceCheck` that comes OOTB to enforce a component to have a Datasource, we created a new High-Order component called `withDatasourceRendering` that is meant to help developers code faster by automatically checking for a Datasource if available, if not the datasource will fallback to the context item.\r\n\r\n```tsx\r\nimport { withDatasourceRendering } from '@constellation4sitecore/foundation-enhancers';\r\n\r\nexport default withDatasourceRendering()<HomepageMastheadProps>(HomepageMasthead);\r\n```\r\n\r\nThis pattern takes the Component and validates if the rendering has any datasource to return fields as normal call otherwise fields will be populated with `useSitecoreContext`\r\n\r\n### Get Rendering Index\r\n\r\nThis helper function allows you to get index of the rendering.\r\n\r\n```ts\r\nconst placeholders = layoutData.sitecore?.route?.placeholders;\r\nconst result = getRenderingIndex(placeholders, rendering.uid as string, 'TabbedContentRowTab');\r\n```\r\n\r\nInputs:\r\n\r\n- placeholders: all layout placeholders\r\n- UID: Rendering UID\r\n- Component Name: Name of the child component.\r\n\r\n### Filter Placeholders\r\n\r\nFor example if you want to build a Tab Content Row component, you will facing an issue, if you don't filter placeholders in experience editor it will trought an error to avoid this filterPlaceholders will filter just components that name are not equal to \"code\".\r\n\r\n```ts\r\nexport const getStaticProps = async (rendering: ComponentRendering) => {\r\n  const newTabs = [] as TabViewModel[];\r\n  const tabContentRows = filterPlaceholders(\r\n    (rendering.placeholders as unknown as TabbedPlaceholders).TabbedContentRowTabs\r\n  );\r\n  for (const tabContentRow of tabContentRows) {\r\n  }\r\n};\r\n```\r\n","readmeFilename":"README.md","_id":"@constellation4sitecore/foundation-enhancers@1.0.4-beta.8","_nodeVersion":"20.10.0","_npmVersion":"lerna/6.6.2/node@v20.10.0+x64 (win32)","dist":{"integrity":"sha512-dfFeM5PngZ2rUz5f7w4g9BuySjsVCRAWvxeAuXVitALiRti7G0byevk4d9q5TZogJBkAU9sutgjOYE232qOPjw==","shasum":"e2eb211bb91627a773de4fad0837bd64407259e8","tarball":"https://registry.npmjs.org/@constellation4sitecore/foundation-enhancers/-/foundation-enhancers-1.0.4-beta.8.tgz","fileCount":18,"unpackedSize":14166,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDKcTDV7WgrcwM6QqM79ZhK0vyTD3ywAKzx+7h/stdP4gIgU9DKvi4Au+/Lb8RS9hpu2eYGWeXs6orCSO6J768iGNE="}]},"_npmUser":{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},"directories":{},"maintainers":[{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},{"name":"sgtsitecore","email":"sitecorerick@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/foundation-enhancers_1.0.4-beta.8_1707195077322_0.943409154769834"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.4-beta.9":{"name":"@constellation4sitecore/foundation-enhancers","version":"1.0.4-beta.9","description":"A collection of XM Cloud compatible libraries for SXA Sitecore Development.","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-esm.json && npm run copy-dts","copy-dts":"copyfiles -u 1 \"src/**/*.d.ts\" types","clean":"del-cli dist types","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=12","npm":">=6"},"author":{"name":"Richard J. Cabral, Roberto Armas"},"license":"MIT","bugs":{"url":"https://github.com/constellation4sitecore/xmcloud-constellation/issues"},"devDependencies":{"@types/react":"^18.0.27","@types/react-dom":"^18.0.10","copyfiles":"^2.4.1","del-cli":"^5.0.0","eslint":"^8.32.0","eslint-plugin-react":"^7.32.1","jsdom":"^21.1.0","next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0","ts-node":"^10.9.1","typescript":"~4.9.4"},"peerDependencies":{"next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"@sitecore-jss/sitecore-jss-nextjs":"^21.1.0"},"types":"types/index.d.ts","gitHead":"ad3dc84c46c6ad6055a26605b3ef20adfdb8aa35","readme":"# Constellation Foundation Mapper\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @constellation4sitecore/foundation-enhancers --save\r\n```\r\n\r\n## Usage\r\n\r\n### With DatasourceRendering\r\n\r\nSimilarly to `withDatasourceCheck` that comes OOTB to enforce a component to have a Datasource, we created a new High-Order component called `withDatasourceRendering` that is meant to help developers code faster by automatically checking for a Datasource if available, if not the datasource will fallback to the context item.\r\n\r\n```tsx\r\nimport { withDatasourceRendering } from '@constellation4sitecore/foundation-enhancers';\r\n\r\nexport default withDatasourceRendering()<HomepageMastheadProps>(HomepageMasthead);\r\n```\r\n\r\nThis pattern takes the Component and validates if the rendering has any datasource to return fields as normal call otherwise fields will be populated with `useSitecoreContext`\r\n\r\n### Get Rendering Index\r\n\r\nThis helper function allows you to get index of the rendering.\r\n\r\n```ts\r\nconst placeholders = layoutData.sitecore?.route?.placeholders;\r\nconst result = getRenderingIndex(placeholders, rendering.uid as string, 'TabbedContentRowTab');\r\n```\r\n\r\nInputs:\r\n\r\n- placeholders: all layout placeholders\r\n- UID: Rendering UID\r\n- Component Name: Name of the child component.\r\n\r\n### Filter Placeholders\r\n\r\nFor example if you want to build a Tab Content Row component, you will facing an issue, if you don't filter placeholders in experience editor it will trought an error to avoid this filterPlaceholders will filter just components that name are not equal to \"code\".\r\n\r\n```ts\r\nexport const getStaticProps = async (rendering: ComponentRendering) => {\r\n  const newTabs = [] as TabViewModel[];\r\n  const tabContentRows = filterPlaceholders(\r\n    (rendering.placeholders as unknown as TabbedPlaceholders).TabbedContentRowTabs\r\n  );\r\n  for (const tabContentRow of tabContentRows) {\r\n  }\r\n};\r\n```\r\n","readmeFilename":"README.md","_id":"@constellation4sitecore/foundation-enhancers@1.0.4-beta.9","_nodeVersion":"20.10.0","_npmVersion":"lerna/6.6.2/node@v20.10.0+x64 (win32)","dist":{"integrity":"sha512-c0qiInZ1sYbyvL2N6W2Es6FEpngZoqFbNYvifm8bBIUnDWQsZOYr1BdgTTEn6rgUcXERQOLJc/RMaTQ1lm//zQ==","shasum":"b852bd11cc9acca5f1d46e1e398a8907b1b03542","tarball":"https://registry.npmjs.org/@constellation4sitecore/foundation-enhancers/-/foundation-enhancers-1.0.4-beta.9.tgz","fileCount":18,"unpackedSize":14166,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFvRM0eNawb2nSwIRfnDDEXiUjv02simFtUGCwAr/TQNAiEAvRSd+bJuAK8nL5OHU10mTIBbbXw22Km5hVkK0qdBk68="}]},"_npmUser":{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},"directories":{},"maintainers":[{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},{"name":"sgtsitecore","email":"sitecorerick@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/foundation-enhancers_1.0.4-beta.9_1708021113038_0.5698829325376151"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.4-beta.10":{"name":"@constellation4sitecore/foundation-enhancers","version":"1.0.4-beta.10","description":"A collection of XM Cloud compatible libraries for SXA Sitecore Development.","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-esm.json && npm run copy-dts","copy-dts":"copyfiles -u 1 \"src/**/*.d.ts\" types","clean":"del-cli dist types","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=12","npm":">=6"},"author":{"name":"Richard J. Cabral, Roberto Armas"},"license":"MIT","bugs":{"url":"https://github.com/constellation4sitecore/xmcloud-constellation/issues"},"devDependencies":{"@types/react":"^18.0.27","@types/react-dom":"^18.0.10","copyfiles":"^2.4.1","del-cli":"^5.0.0","eslint":"^8.32.0","eslint-plugin-react":"^7.32.1","jsdom":"^21.1.0","next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0","ts-node":"^10.9.1","typescript":"~4.9.4"},"peerDependencies":{"next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"@sitecore-jss/sitecore-jss-nextjs":"^21.1.0"},"types":"types/index.d.ts","gitHead":"0f0ab68f54eae0ae427f6b1877bc2eceeb18f998","readme":"# Constellation Foundation Mapper\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @constellation4sitecore/foundation-enhancers --save\r\n```\r\n\r\n## Usage\r\n\r\n### With DatasourceRendering\r\n\r\nSimilarly to `withDatasourceCheck` that comes OOTB to enforce a component to have a Datasource, we created a new High-Order component called `withDatasourceRendering` that is meant to help developers code faster by automatically checking for a Datasource if available, if not the datasource will fallback to the context item.\r\n\r\n```tsx\r\nimport { withDatasourceRendering } from '@constellation4sitecore/foundation-enhancers';\r\n\r\nexport default withDatasourceRendering()<HomepageMastheadProps>(HomepageMasthead);\r\n```\r\n\r\nThis pattern takes the Component and validates if the rendering has any datasource to return fields as normal call otherwise fields will be populated with `useSitecoreContext`\r\n\r\n### Get Rendering Index\r\n\r\nThis helper function allows you to get index of the rendering.\r\n\r\n```ts\r\nconst placeholders = layoutData.sitecore?.route?.placeholders;\r\nconst result = getRenderingIndex(placeholders, rendering.uid as string, 'TabbedContentRowTab');\r\n```\r\n\r\nInputs:\r\n\r\n- placeholders: all layout placeholders\r\n- UID: Rendering UID\r\n- Component Name: Name of the child component.\r\n\r\n### Filter Placeholders\r\n\r\nFor example if you want to build a Tab Content Row component, you will facing an issue, if you don't filter placeholders in experience editor it will trought an error to avoid this filterPlaceholders will filter just components that name are not equal to \"code\".\r\n\r\n```ts\r\nexport const getStaticProps = async (rendering: ComponentRendering) => {\r\n  const newTabs = [] as TabViewModel[];\r\n  const tabContentRows = filterPlaceholders(\r\n    (rendering.placeholders as unknown as TabbedPlaceholders).TabbedContentRowTabs\r\n  );\r\n  for (const tabContentRow of tabContentRows) {\r\n  }\r\n};\r\n```\r\n","readmeFilename":"README.md","_id":"@constellation4sitecore/foundation-enhancers@1.0.4-beta.10","_nodeVersion":"20.10.0","_npmVersion":"lerna/6.6.2/node@v20.10.0+x64 (win32)","dist":{"integrity":"sha512-L1LSQsUnhFJxJLJg364L3PDduIv98FaW+NxP0C7m1S+ntKiWiDoVpQIIp3HZHQUGNzxayDmGUjmRwYbfCE0i2w==","shasum":"471ba241c1e4b1eedcf1a4941397ada0d70e2188","tarball":"https://registry.npmjs.org/@constellation4sitecore/foundation-enhancers/-/foundation-enhancers-1.0.4-beta.10.tgz","fileCount":18,"unpackedSize":14167,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC0XO2NVc7KMX879GZtFPZok9rIS9JB/y+5eJHZjeHvYQIgEOTJeLXAj3fRBVpc7iPiL56YET5o/sb8TaJHN2HLQM4="}]},"_npmUser":{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},"directories":{},"maintainers":[{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},{"name":"sgtsitecore","email":"sitecorerick@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/foundation-enhancers_1.0.4-beta.10_1709944587772_0.8650649505218173"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.4-beta.12":{"name":"@constellation4sitecore/foundation-enhancers","version":"1.0.4-beta.12","description":"A collection of XM Cloud compatible libraries for SXA Sitecore Development.","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-esm.json && npm run copy-dts","copy-dts":"copyfiles -u 1 \"src/**/*.d.ts\" types","clean":"del-cli dist types","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=12","npm":">=6"},"author":{"name":"Richard J. Cabral, Roberto Armas"},"license":"MIT","bugs":{"url":"https://github.com/constellation4sitecore/xmcloud-constellation/issues"},"devDependencies":{"@types/react":"^18.0.27","@types/react-dom":"^18.0.10","copyfiles":"^2.4.1","del-cli":"^5.0.0","eslint":"^8.32.0","eslint-plugin-react":"^7.32.1","jsdom":"^21.1.0","next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0","ts-node":"^10.9.1","typescript":"~4.9.4"},"peerDependencies":{"next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"@sitecore-jss/sitecore-jss-nextjs":"^21.1.0"},"types":"types/index.d.ts","gitHead":"76231a94f0231a40255ed4db11b5fbbcb842f1f7","readme":"# Constellation Foundation Mapper\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @constellation4sitecore/foundation-enhancers --save\r\n```\r\n\r\n## Usage\r\n\r\n### With DatasourceRendering\r\n\r\nSimilarly to `withDatasourceCheck` that comes OOTB to enforce a component to have a Datasource, we created a new High-Order component called `withDatasourceRendering` that is meant to help developers code faster by automatically checking for a Datasource if available, if not the datasource will fallback to the context item.\r\n\r\n```tsx\r\nimport { withDatasourceRendering } from '@constellation4sitecore/foundation-enhancers';\r\n\r\nexport default withDatasourceRendering()<HomepageMastheadProps>(HomepageMasthead);\r\n```\r\n\r\nThis pattern takes the Component and validates if the rendering has any datasource to return fields as normal call otherwise fields will be populated with `useSitecoreContext`\r\n\r\n### Get Rendering Index\r\n\r\nThis helper function allows you to get index of the rendering.\r\n\r\n```ts\r\nconst placeholders = layoutData.sitecore?.route?.placeholders;\r\nconst result = getRenderingIndex(placeholders, rendering.uid as string, 'TabbedContentRowTab');\r\n```\r\n\r\nInputs:\r\n\r\n- placeholders: all layout placeholders\r\n- UID: Rendering UID\r\n- Component Name: Name of the child component.\r\n\r\n### Filter Placeholders\r\n\r\nFor example if you want to build a Tab Content Row component, you will facing an issue, if you don't filter placeholders in experience editor it will trought an error to avoid this filterPlaceholders will filter just components that name are not equal to \"code\".\r\n\r\n```ts\r\nexport const getStaticProps = async (rendering: ComponentRendering) => {\r\n  const newTabs = [] as TabViewModel[];\r\n  const tabContentRows = filterPlaceholders(\r\n    (rendering.placeholders as unknown as TabbedPlaceholders).TabbedContentRowTabs\r\n  );\r\n  for (const tabContentRow of tabContentRows) {\r\n  }\r\n};\r\n```\r\n","readmeFilename":"README.md","_id":"@constellation4sitecore/foundation-enhancers@1.0.4-beta.12","_nodeVersion":"20.10.0","_npmVersion":"lerna/6.6.2/node@v20.10.0+x64 (win32)","dist":{"integrity":"sha512-eJBK9/BsAMYxcBRU7WbtoGL6opdbugiyqAiMKYu1Dwv/9oL5Zz873zeZsv5on2UxODYN0CSKH9iWpkqVa4tpkQ==","shasum":"e0cff4a1353be9fcefa1ec83c0c7336fdcb0aea4","tarball":"https://registry.npmjs.org/@constellation4sitecore/foundation-enhancers/-/foundation-enhancers-1.0.4-beta.12.tgz","fileCount":18,"unpackedSize":14167,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGs8QBBjbh7L+ofTyBgi219FCVcbYb2Z8awgiimzlr4zAiBocByR6VW1S7r7gfM1y/PHHV6uIj3nwzkrmdQF1PPAqQ=="}]},"_npmUser":{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},"directories":{},"maintainers":[{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},{"name":"sgtsitecore","email":"sitecorerick@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/foundation-enhancers_1.0.4-beta.12_1709950701152_0.6637851576848339"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.4-beta.13":{"name":"@constellation4sitecore/foundation-enhancers","version":"1.0.4-beta.13","description":"A collection of XM Cloud compatible libraries for SXA Sitecore Development.","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-esm.json && npm run copy-dts","copy-dts":"copyfiles -u 1 \"src/**/*.d.ts\" types","clean":"del-cli dist types","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=12","npm":">=6"},"author":{"name":"Richard J. Cabral, Roberto Armas"},"license":"MIT","bugs":{"url":"https://github.com/constellation4sitecore/xmcloud-constellation/issues"},"devDependencies":{"@types/react":"^18.0.27","@types/react-dom":"^18.0.10","copyfiles":"^2.4.1","del-cli":"^5.0.0","eslint":"^8.32.0","eslint-plugin-react":"^7.32.1","jsdom":"^21.1.0","next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0","ts-node":"^10.9.1","typescript":"~4.9.4"},"peerDependencies":{"next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"@sitecore-jss/sitecore-jss-nextjs":"^21.1.0"},"types":"types/index.d.ts","gitHead":"d790692980d853948286f1d7a8c3c1940645d644","readme":"# Constellation Foundation Mapper\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @constellation4sitecore/foundation-enhancers --save\r\n```\r\n\r\n## Usage\r\n\r\n### With DatasourceRendering\r\n\r\nSimilarly to `withDatasourceCheck` that comes OOTB to enforce a component to have a Datasource, we created a new High-Order component called `withDatasourceRendering` that is meant to help developers code faster by automatically checking for a Datasource if available, if not the datasource will fallback to the context item.\r\n\r\n```tsx\r\nimport { withDatasourceRendering } from '@constellation4sitecore/foundation-enhancers';\r\n\r\nexport default withDatasourceRendering()<HomepageMastheadProps>(HomepageMasthead);\r\n```\r\n\r\nThis pattern takes the Component and validates if the rendering has any datasource to return fields as normal call otherwise fields will be populated with `useSitecoreContext`\r\n\r\n### Get Rendering Index\r\n\r\nThis helper function allows you to get index of the rendering.\r\n\r\n```ts\r\nconst placeholders = layoutData.sitecore?.route?.placeholders;\r\nconst result = getRenderingIndex(placeholders, rendering.uid as string, 'TabbedContentRowTab');\r\n```\r\n\r\nInputs:\r\n\r\n- placeholders: all layout placeholders\r\n- UID: Rendering UID\r\n- Component Name: Name of the child component.\r\n\r\n### Filter Placeholders\r\n\r\nFor example if you want to build a Tab Content Row component, you will facing an issue, if you don't filter placeholders in experience editor it will trought an error to avoid this filterPlaceholders will filter just components that name are not equal to \"code\".\r\n\r\n```ts\r\nexport const getStaticProps = async (rendering: ComponentRendering) => {\r\n  const newTabs = [] as TabViewModel[];\r\n  const tabContentRows = filterPlaceholders(\r\n    (rendering.placeholders as unknown as TabbedPlaceholders).TabbedContentRowTabs\r\n  );\r\n  for (const tabContentRow of tabContentRows) {\r\n  }\r\n};\r\n```\r\n","readmeFilename":"README.md","_id":"@constellation4sitecore/foundation-enhancers@1.0.4-beta.13","_nodeVersion":"20.10.0","_npmVersion":"lerna/6.6.2/node@v20.10.0+x64 (win32)","dist":{"integrity":"sha512-SH9Ibr830Mgc3EWkYBoCylCM9iGK0kMbAbUZH7jeUUahWpJwwwfYz5ZRnL0g9b/Xl/CEzGqkCoBDF4kupU/U4A==","shasum":"6e6f6883f9d0a69271c2720d16c45ced8348a88b","tarball":"https://registry.npmjs.org/@constellation4sitecore/foundation-enhancers/-/foundation-enhancers-1.0.4-beta.13.tgz","fileCount":18,"unpackedSize":14167,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBNJUdgkgRvgya40fBUCBEIuPcF+Yl1PNAbPy9DcpJMQAiA8UfuOAjJTJY5ww34jlvG5bgY4XDTkmdqDemK6z44cUg=="}]},"_npmUser":{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},"directories":{},"maintainers":[{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},{"name":"sgtsitecore","email":"sitecorerick@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/foundation-enhancers_1.0.4-beta.13_1709960538946_0.12400176265128704"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.4-beta.15":{"name":"@constellation4sitecore/foundation-enhancers","version":"1.0.4-beta.15","description":"A collection of XM Cloud compatible libraries for SXA Sitecore Development.","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-esm.json && npm run copy-dts","copy-dts":"copyfiles -u 1 \"src/**/*.d.ts\" types","clean":"del-cli dist types","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=12","npm":">=6"},"author":{"name":"Richard J. Cabral, Roberto Armas"},"license":"MIT","bugs":{"url":"https://github.com/constellation4sitecore/xmcloud-constellation/issues"},"devDependencies":{"@types/react":"^18.0.27","@types/react-dom":"^18.0.10","copyfiles":"^2.4.1","del-cli":"^5.0.0","eslint":"^8.32.0","eslint-plugin-react":"^7.32.1","jsdom":"^21.1.0","next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0","ts-node":"^10.9.1","typescript":"~4.9.4"},"peerDependencies":{"next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"@sitecore-jss/sitecore-jss-nextjs":"^21.1.0"},"types":"types/index.d.ts","gitHead":"884d2dcd043447a6882e7e50de0e0924bee20220","readme":"# Constellation Foundation Mapper\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @constellation4sitecore/foundation-enhancers --save\r\n```\r\n\r\n## Usage\r\n\r\n### With DatasourceRendering\r\n\r\nSimilarly to `withDatasourceCheck` that comes OOTB to enforce a component to have a Datasource, we created a new High-Order component called `withDatasourceRendering` that is meant to help developers code faster by automatically checking for a Datasource if available, if not the datasource will fallback to the context item.\r\n\r\n```tsx\r\nimport { withDatasourceRendering } from '@constellation4sitecore/foundation-enhancers';\r\n\r\nexport default withDatasourceRendering()<HomepageMastheadProps>(HomepageMasthead);\r\n```\r\n\r\nThis pattern takes the Component and validates if the rendering has any datasource to return fields as normal call otherwise fields will be populated with `useSitecoreContext`\r\n\r\n### Get Rendering Index\r\n\r\nThis helper function allows you to get index of the rendering.\r\n\r\n```ts\r\nconst placeholders = layoutData.sitecore?.route?.placeholders;\r\nconst result = getRenderingIndex(placeholders, rendering.uid as string, 'TabbedContentRowTab');\r\n```\r\n\r\nInputs:\r\n\r\n- placeholders: all layout placeholders\r\n- UID: Rendering UID\r\n- Component Name: Name of the child component.\r\n\r\n### Filter Placeholders\r\n\r\nFor example if you want to build a Tab Content Row component, you will facing an issue, if you don't filter placeholders in experience editor it will trought an error to avoid this filterPlaceholders will filter just components that name are not equal to \"code\".\r\n\r\n```ts\r\nexport const getStaticProps = async (rendering: ComponentRendering) => {\r\n  const newTabs = [] as TabViewModel[];\r\n  const tabContentRows = filterPlaceholders(\r\n    (rendering.placeholders as unknown as TabbedPlaceholders).TabbedContentRowTabs\r\n  );\r\n  for (const tabContentRow of tabContentRows) {\r\n  }\r\n};\r\n```\r\n","readmeFilename":"README.md","_id":"@constellation4sitecore/foundation-enhancers@1.0.4-beta.15","_nodeVersion":"20.10.0","_npmVersion":"lerna/6.6.2/node@v20.10.0+x64 (win32)","dist":{"integrity":"sha512-2+1IepMLFu8LCQZYufv84sHuLpo+hvv8CsW4sNjVxC9vZemRHzWxyMkDyU5fmynMWpLCQQov//C37w8AKSXDmw==","shasum":"8337881ea558388556bfaa9e6f2e3a21eecfae20","tarball":"https://registry.npmjs.org/@constellation4sitecore/foundation-enhancers/-/foundation-enhancers-1.0.4-beta.15.tgz","fileCount":18,"unpackedSize":14167,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHu/I6UHYjU68J3T/bThc58cwPwYlTGpqA9h6U2HY9QgAiEAuMsHnfaOK8zuglF6cAP/h2vDrywJnBHOQBJvDCMPz9s="}]},"_npmUser":{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},"directories":{},"maintainers":[{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},{"name":"sgtsitecore","email":"sitecorerick@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/foundation-enhancers_1.0.4-beta.15_1709964781913_0.01605260479964077"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.4-beta.16":{"name":"@constellation4sitecore/foundation-enhancers","version":"1.0.4-beta.16","description":"A collection of XM Cloud compatible libraries for SXA Sitecore Development.","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-esm.json && npm run copy-dts","copy-dts":"copyfiles -u 1 \"src/**/*.d.ts\" types","clean":"del-cli dist types","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=12","npm":">=6"},"author":{"name":"Richard J. Cabral, Roberto Armas"},"license":"MIT","bugs":{"url":"https://github.com/constellation4sitecore/xmcloud-constellation/issues"},"devDependencies":{"@types/react":"^18.0.27","@types/react-dom":"^18.0.10","copyfiles":"^2.4.1","del-cli":"^5.0.0","eslint":"^8.32.0","eslint-plugin-react":"^7.32.1","jsdom":"^21.1.0","next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0","ts-node":"^10.9.1","typescript":"~4.9.4"},"peerDependencies":{"next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"@sitecore-jss/sitecore-jss-nextjs":"^21.1.0"},"types":"types/index.d.ts","gitHead":"db61f8ac1cde635208bcd99b9e0915d01a8e2526","readme":"# Constellation Foundation Mapper\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @constellation4sitecore/foundation-enhancers --save\r\n```\r\n\r\n## Usage\r\n\r\n### With DatasourceRendering\r\n\r\nSimilarly to `withDatasourceCheck` that comes OOTB to enforce a component to have a Datasource, we created a new High-Order component called `withDatasourceRendering` that is meant to help developers code faster by automatically checking for a Datasource if available, if not the datasource will fallback to the context item.\r\n\r\n```tsx\r\nimport { withDatasourceRendering } from '@constellation4sitecore/foundation-enhancers';\r\n\r\nexport default withDatasourceRendering()<HomepageMastheadProps>(HomepageMasthead);\r\n```\r\n\r\nThis pattern takes the Component and validates if the rendering has any datasource to return fields as normal call otherwise fields will be populated with `useSitecoreContext`\r\n\r\n### Get Rendering Index\r\n\r\nThis helper function allows you to get index of the rendering.\r\n\r\n```ts\r\nconst placeholders = layoutData.sitecore?.route?.placeholders;\r\nconst result = getRenderingIndex(placeholders, rendering.uid as string, 'TabbedContentRowTab');\r\n```\r\n\r\nInputs:\r\n\r\n- placeholders: all layout placeholders\r\n- UID: Rendering UID\r\n- Component Name: Name of the child component.\r\n\r\n### Filter Placeholders\r\n\r\nFor example if you want to build a Tab Content Row component, you will facing an issue, if you don't filter placeholders in experience editor it will trought an error to avoid this filterPlaceholders will filter just components that name are not equal to \"code\".\r\n\r\n```ts\r\nexport const getStaticProps = async (rendering: ComponentRendering) => {\r\n  const newTabs = [] as TabViewModel[];\r\n  const tabContentRows = filterPlaceholders(\r\n    (rendering.placeholders as unknown as TabbedPlaceholders).TabbedContentRowTabs\r\n  );\r\n  for (const tabContentRow of tabContentRows) {\r\n  }\r\n};\r\n```\r\n","readmeFilename":"README.md","_id":"@constellation4sitecore/foundation-enhancers@1.0.4-beta.16","_nodeVersion":"20.10.0","_npmVersion":"lerna/6.6.2/node@v20.10.0+x64 (win32)","dist":{"integrity":"sha512-G86VDXAl3JGyHViHriwZogcl1lmOY/BLHxalXHOKtPZTKluSzvwRYuq0jT3lyNPYo8/iiQrwLRo4F5q4XLRHDA==","shasum":"55ae66388ccd95e37a3672f3b702c1a3fc848a48","tarball":"https://registry.npmjs.org/@constellation4sitecore/foundation-enhancers/-/foundation-enhancers-1.0.4-beta.16.tgz","fileCount":18,"unpackedSize":14167,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGE4/dIhc1kCRMW5tBM10s2znR1dyar5FUqCEauzN9YyAiAECuVAUYCEt/ywkFZUyZ/owimYvvk1BT+R4QMoGbek+Q=="}]},"_npmUser":{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},"directories":{},"maintainers":[{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},{"name":"sgtsitecore","email":"sitecorerick@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/foundation-enhancers_1.0.4-beta.16_1709966559722_0.9549282289663523"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.4-beta.17":{"name":"@constellation4sitecore/foundation-enhancers","version":"1.0.4-beta.17","description":"A collection of XM Cloud compatible libraries for SXA Sitecore Development.","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-esm.json && npm run copy-dts","copy-dts":"copyfiles -u 1 \"src/**/*.d.ts\" types","clean":"del-cli dist types","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=12","npm":">=6"},"author":{"name":"Richard J. Cabral, Roberto Armas, Josué Jaramillo"},"license":"MIT","bugs":{"url":"https://github.com/constellation4sitecore/xmcloud-constellation/issues"},"devDependencies":{"@types/react":"^18.0.27","@types/react-dom":"^18.0.10","copyfiles":"^2.4.1","del-cli":"^5.0.0","eslint":"^8.32.0","eslint-plugin-react":"^7.32.1","jsdom":"^21.1.0","next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0","ts-node":"^10.9.1","typescript":"~4.9.4"},"peerDependencies":{"next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"@sitecore-jss/sitecore-jss-nextjs":"^21.1.0"},"types":"types/index.d.ts","gitHead":"4535dd1c8026b32d207c9668bcee7579513b0086","readme":"# Constellation Foundation Mapper\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @constellation4sitecore/foundation-enhancers --save\r\n```\r\n\r\n## Usage\r\n\r\n### With DatasourceRendering\r\n\r\nSimilarly to `withDatasourceCheck` that comes OOTB to enforce a component to have a Datasource, we created a new High-Order component called `withDatasourceRendering` that is meant to help developers code faster by automatically checking for a Datasource if available, if not the datasource will fallback to the context item.\r\n\r\n```tsx\r\nimport { withDatasourceRendering } from '@constellation4sitecore/foundation-enhancers';\r\n\r\nexport default withDatasourceRendering()<HomepageMastheadProps>(HomepageMasthead);\r\n```\r\n\r\nThis pattern takes the Component and validates if the rendering has any datasource to return fields as normal call otherwise fields will be populated with `useSitecoreContext`\r\n\r\n### Get Rendering Index\r\n\r\nThis helper function allows you to get index of the rendering.\r\n\r\n```ts\r\nconst placeholders = layoutData.sitecore?.route?.placeholders;\r\nconst result = getRenderingIndex(placeholders, rendering.uid as string, 'TabbedContentRowTab');\r\n```\r\n\r\nInputs:\r\n\r\n- placeholders: all layout placeholders\r\n- UID: Rendering UID\r\n- Component Name: Name of the child component.\r\n\r\n### Filter Placeholders\r\n\r\nFor example if you want to build a Tab Content Row component, you will facing an issue, if you don't filter placeholders in experience editor it will trought an error to avoid this filterPlaceholders will filter just components that name are not equal to \"code\".\r\n\r\n```ts\r\nexport const getStaticProps = async (rendering: ComponentRendering) => {\r\n  const newTabs = [] as TabViewModel[];\r\n  const tabContentRows = filterPlaceholders(\r\n    (rendering.placeholders as unknown as TabbedPlaceholders).TabbedContentRowTabs\r\n  );\r\n  for (const tabContentRow of tabContentRows) {\r\n  }\r\n};\r\n```\r\n\r\n### Modify Children Properties when using Placeholders\r\n\r\nFor example you want to send properties to a child component that is inserted into a Placeholder.\r\n\r\n```tsx\r\nconst MyComponent = ({ fields, params, rendering }: MyComponentProps) => {\r\n  useModifyChildrenProps(rendering, {\r\n    myProp1: fields.myProp1,\r\n    myProp2: 'hello world!',\r\n  });\r\n\r\n  return (\r\n    <Placeholder\r\n      name={`my-chindren-modules-${params.DynamicPlaceholderId}`}\r\n      rendering={rendering}\r\n    />\r\n  );\r\n};\r\n```\r\n\r\nNote: This serves as a workaround in cases where `modifyComponentProps` prop in the `Placeholder` Component fails to function properly. This issue arises due to the `component-props.ts` plugin overriding the props through the `getStaticProps` method.\r\n","readmeFilename":"README.md","_id":"@constellation4sitecore/foundation-enhancers@1.0.4-beta.17","_nodeVersion":"20.10.0","_npmVersion":"lerna/6.6.2/node@v20.10.0+x64 (win32)","dist":{"integrity":"sha512-fMKTEh8aX4I+1UypgX4TNrks5Ch32utSjzP23Gh3uGs35rbgudKoSwbjQAtXBA5cg5/ko1fP/W5h95MwdSjCyw==","shasum":"efb116980ea82b817b76accd482c4b14d47fb393","tarball":"https://registry.npmjs.org/@constellation4sitecore/foundation-enhancers/-/foundation-enhancers-1.0.4-beta.17.tgz","fileCount":21,"unpackedSize":17733,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDxMZNPttvGAyZlakv7JrkWKtJWgcynsq3OQmPNdoeZwQIhANl9GKOqGwGnTceF+Rg+nGSEA0sUVdJcXxepsWqeFKyG"}]},"_npmUser":{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},"directories":{},"maintainers":[{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},{"name":"sgtsitecore","email":"sitecorerick@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/foundation-enhancers_1.0.4-beta.17_1710296415035_0.4543802042423184"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.4-beta.18":{"name":"@constellation4sitecore/foundation-enhancers","version":"1.0.4-beta.18","description":"A collection of XM Cloud compatible libraries for SXA Sitecore Development.","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-esm.json && npm run copy-dts","copy-dts":"copyfiles -u 1 \"src/**/*.d.ts\" types","clean":"del-cli dist types","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=12","npm":">=6"},"author":{"name":"Richard J. Cabral, Roberto Armas, Josué Jaramillo"},"license":"MIT","bugs":{"url":"https://github.com/constellation4sitecore/xmcloud-constellation/issues"},"devDependencies":{"@types/react":"^18.0.27","@types/react-dom":"^18.0.10","copyfiles":"^2.4.1","del-cli":"^5.0.0","eslint":"^8.32.0","eslint-plugin-react":"^7.32.1","jsdom":"^21.1.0","next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0","ts-node":"^10.9.1","typescript":"~4.9.4"},"peerDependencies":{"next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"@sitecore-jss/sitecore-jss-nextjs":"^21.1.0"},"types":"types/index.d.ts","gitHead":"e571ff951fc7f621f2ed0fa6b1fcef68ddcc6edd","readme":"# Constellation Foundation Mapper\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @constellation4sitecore/foundation-enhancers --save\r\n```\r\n\r\n## Usage\r\n\r\n### With DatasourceRendering\r\n\r\nSimilarly to `withDatasourceCheck` that comes OOTB to enforce a component to have a Datasource, we created a new High-Order component called `withDatasourceRendering` that is meant to help developers code faster by automatically checking for a Datasource if available, if not the datasource will fallback to the context item.\r\n\r\n```tsx\r\nimport { withDatasourceRendering } from '@constellation4sitecore/foundation-enhancers';\r\n\r\nexport default withDatasourceRendering()<HomepageMastheadProps>(HomepageMasthead);\r\n```\r\n\r\nThis pattern takes the Component and validates if the rendering has any datasource to return fields as normal call otherwise fields will be populated with `useSitecoreContext`\r\n\r\n### Get Rendering Index\r\n\r\nThis helper function allows you to get index of the rendering.\r\n\r\n```ts\r\nconst placeholders = layoutData.sitecore?.route?.placeholders;\r\nconst result = getRenderingIndex(placeholders, rendering.uid as string, 'TabbedContentRowTab');\r\n```\r\n\r\nInputs:\r\n\r\n- placeholders: all layout placeholders\r\n- UID: Rendering UID\r\n- Component Name: Name of the child component.\r\n\r\n### Filter Placeholders\r\n\r\nFor example if you want to build a Tab Content Row component, you will facing an issue, if you don't filter placeholders in experience editor it will trought an error to avoid this filterPlaceholders will filter just components that name are not equal to \"code\".\r\n\r\n```ts\r\nexport const getStaticProps = async (rendering: ComponentRendering) => {\r\n  const newTabs = [] as TabViewModel[];\r\n  const tabContentRows = filterPlaceholders(\r\n    (rendering.placeholders as unknown as TabbedPlaceholders).TabbedContentRowTabs\r\n  );\r\n  for (const tabContentRow of tabContentRows) {\r\n  }\r\n};\r\n```\r\n\r\n### Modify Children Properties when using Placeholders\r\n\r\nFor example you want to send properties to a child component that is inserted into a Placeholder.\r\n\r\n```tsx\r\nconst MyComponent = ({ fields, params, rendering }: MyComponentProps) => {\r\n  useModifyChildrenProps(rendering, {\r\n    myProp1: fields.myProp1,\r\n    myProp2: 'hello world!',\r\n  });\r\n\r\n  return (\r\n    <Placeholder\r\n      name={`my-chindren-modules-${params.DynamicPlaceholderId}`}\r\n      rendering={rendering}\r\n    />\r\n  );\r\n};\r\n```\r\n\r\nNote: This serves as a workaround in cases where `modifyComponentProps` prop in the `Placeholder` Component fails to function properly. This issue arises due to the `component-props.ts` plugin overriding the props through the `getStaticProps` method.\r\n","readmeFilename":"README.md","_id":"@constellation4sitecore/foundation-enhancers@1.0.4-beta.18","_nodeVersion":"20.10.0","_npmVersion":"lerna/6.6.2/node@v20.10.0+x64 (win32)","dist":{"integrity":"sha512-6OFOnDA+fsAm+OzmQrGQrtNVdzV0Rtcd/iwd1LdSNDu7pxvszV9RjDOz7GwvidaS8PFT/vXQKlQd3ZFZdragKA==","shasum":"4c81a39483d05b6e472f8532f1a42fe05614c07b","tarball":"https://registry.npmjs.org/@constellation4sitecore/foundation-enhancers/-/foundation-enhancers-1.0.4-beta.18.tgz","fileCount":24,"unpackedSize":18727,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHa48beQRv6L70Qd/aCYkiT4fqSaVYtXd2Oy6b2HB//bAiEA7tqf+ekLwnCTOLzgd2FcvaDpnxVaileg7+1uXW0hH80="}]},"_npmUser":{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},"directories":{},"maintainers":[{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},{"name":"sgtsitecore","email":"sitecorerick@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/foundation-enhancers_1.0.4-beta.18_1710296736346_0.6782891672336282"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.4-beta.19":{"name":"@constellation4sitecore/foundation-enhancers","version":"1.0.4-beta.19","description":"A collection of XM Cloud compatible libraries for SXA Sitecore Development.","main":"dist/cjs/index.js","module":"dist/esm/index.js","scripts":{"build":"npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-esm.json && npm run copy-dts","copy-dts":"copyfiles -u 1 \"src/**/*.d.ts\" types","clean":"del-cli dist types","test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=12","npm":">=6"},"author":{"name":"Richard J. Cabral, Roberto Armas, Josué Jaramillo"},"license":"MIT","bugs":{"url":"https://github.com/constellation4sitecore/xmcloud-constellation/issues"},"devDependencies":{"@types/react":"^18.0.27","@types/react-dom":"^18.0.10","copyfiles":"^2.4.1","del-cli":"^5.0.0","eslint":"^8.32.0","eslint-plugin-react":"^7.32.1","jsdom":"^21.1.0","next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0","ts-node":"^10.9.1","typescript":"~4.9.4"},"peerDependencies":{"next":"^13.1.6","react":"^18.2.0","react-dom":"^18.2.0"},"dependencies":{"@sitecore-jss/sitecore-jss-nextjs":"^21.1.0"},"types":"types/index.d.ts","gitHead":"4a30b35ddfa05338cf955aa1f9ebf5d1f935dd23","readme":"# Constellation Foundation Mapper\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @constellation4sitecore/foundation-enhancers --save\r\n```\r\n\r\n## Usage\r\n\r\n### With DatasourceRendering\r\n\r\nSimilarly to `withDatasourceCheck` that comes OOTB to enforce a component to have a Datasource, we created a new High-Order component called `withDatasourceRendering` that is meant to help developers code faster by automatically checking for a Datasource if available, if not the datasource will fallback to the context item.\r\n\r\n```tsx\r\nimport { withDatasourceRendering } from '@constellation4sitecore/foundation-enhancers';\r\n\r\nexport default withDatasourceRendering()<HomepageMastheadProps>(HomepageMasthead);\r\n```\r\n\r\nThis pattern takes the Component and validates if the rendering has any datasource to return fields as normal call otherwise fields will be populated with `useSitecoreContext`\r\n\r\n### Get Rendering Index\r\n\r\nThis helper function allows you to get index of the rendering.\r\n\r\n```ts\r\nconst placeholders = layoutData.sitecore?.route?.placeholders;\r\nconst result = getRenderingIndex(placeholders, rendering.uid as string, 'TabbedContentRowTab');\r\n```\r\n\r\nInputs:\r\n\r\n- placeholders: all layout placeholders\r\n- UID: Rendering UID\r\n- Component Name: Name of the child component.\r\n\r\n### Filter Placeholders\r\n\r\nFor example if you want to build a Tab Content Row component, you will facing an issue, if you don't filter placeholders in experience editor it will trought an error to avoid this filterPlaceholders will filter just components that name are not equal to \"code\".\r\n\r\n```ts\r\nexport const getStaticProps = async (rendering: ComponentRendering) => {\r\n  const newTabs = [] as TabViewModel[];\r\n  const tabContentRows = filterPlaceholders(\r\n    (rendering.placeholders as unknown as TabbedPlaceholders).TabbedContentRowTabs\r\n  );\r\n  for (const tabContentRow of tabContentRows) {\r\n  }\r\n};\r\n```\r\n\r\n### Modify Children Properties when using Placeholders\r\n\r\nFor example you want to send properties to a child component that is inserted into a Placeholder.\r\n\r\n```tsx\r\nconst MyComponent = ({ fields, params, rendering }: MyComponentProps) => {\r\n  useModifyChildrenProps(rendering, {\r\n    myProp1: fields.myProp1,\r\n    myProp2: 'hello world!',\r\n  });\r\n\r\n  return (\r\n    <Placeholder\r\n      name={`my-chindren-modules-${params.DynamicPlaceholderId}`}\r\n      rendering={rendering}\r\n    />\r\n  );\r\n};\r\n```\r\n\r\nNote: This serves as a workaround in cases where `modifyComponentProps` prop in the `Placeholder` Component fails to function properly. This issue arises due to the `component-props.ts` plugin overriding the props through the `getStaticProps` method.\r\n","readmeFilename":"README.md","_id":"@constellation4sitecore/foundation-enhancers@1.0.4-beta.19","_nodeVersion":"20.10.0","_npmVersion":"lerna/6.6.2/node@v20.10.0+x64 (win32)","dist":{"integrity":"sha512-fFrdDj+z7GNzZPuO2HSHzu22+vg/eWIRkqhSLjU7eg5+DPVyj9ajzpFA+7o4PUJQw9xHdYVOj5A1goZAT8vXhA==","shasum":"965354e8dfcf745c9aceb4bb8990b9652d3fbd91","tarball":"https://registry.npmjs.org/@constellation4sitecore/foundation-enhancers/-/foundation-enhancers-1.0.4-beta.19.tgz","fileCount":24,"unpackedSize":18727,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGj62dLMqPP1q17wOb5SwQyPP7xbbjJPzvifYbrX5BYvAiAgWlkx6WS8BxnlnWyOxEV2TGDLHInyZaOmsWl2AH2CrA=="}]},"_npmUser":{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},"directories":{},"maintainers":[{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},{"name":"sgtsitecore","email":"sitecorerick@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/foundation-enhancers_1.0.4-beta.19_1712012437171_0.6228091177445971"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"time":{"created":"2023-05-23T02:21:54.648Z","0.1.1-beta.11":"2023-05-23T02:21:54.916Z","modified":"2024-05-14T14:38:42.737Z","0.1.1-beta.12":"2023-05-23T02:47:19.770Z","0.1.1-beta.13":"2023-05-23T03:29:16.672Z","0.1.1-beta.14":"2023-05-23T03:43:49.521Z","0.1.1-beta.16":"2023-05-23T05:10:52.794Z","0.1.1-beta.17":"2023-05-23T05:40:47.308Z","0.1.2-beta.19":"2023-06-16T22:37:21.620Z","0.1.2-beta.20":"2023-06-16T22:57:09.195Z","0.1.2-beta.21":"2023-06-16T23:18:39.301Z","0.1.2-beta.22":"2023-06-17T03:25:55.096Z","0.1.2-beta.23":"2023-06-17T03:33:50.820Z","0.1.2-beta.24":"2023-06-17T03:49:10.437Z","0.1.2-beta.25":"2023-06-17T04:02:22.865Z","0.1.2-beta.27":"2023-06-17T04:16:16.651Z","0.1.2-beta.28":"2023-06-17T04:36:16.000Z","0.1.2-beta.29":"2023-06-21T21:18:16.799Z","0.1.2-beta.31":"2023-07-04T17:45:51.420Z","0.1.2-beta.32":"2023-07-10T21:45:58.964Z","0.1.2-beta.33":"2023-07-20T21:14:58.065Z","1.0.0":"2023-09-10T19:03:22.140Z","1.0.1-beta.0":"2023-09-10T19:10:31.432Z","1.0.1-beta.1":"2023-09-13T00:35:51.515Z","1.0.1-beta.2":"2023-09-13T00:47:14.966Z","1.0.1-beta.3":"2023-09-13T01:28:23.732Z","1.0.1-beta.4":"2023-09-13T13:52:06.694Z","1.0.1":"2023-11-23T21:08:06.874Z","1.0.2":"2024-01-28T04:35:18.986Z","1.0.3":"2024-01-28T04:56:45.824Z","1.0.4-beta.2":"2024-01-31T18:54:40.178Z","1.0.4-beta.3":"2024-01-31T19:04:27.665Z","1.0.4-beta.4":"2024-01-31T19:12:07.093Z","1.0.4-beta.5":"2024-01-31T19:39:26.699Z","1.0.4-beta.6":"2024-01-31T21:00:01.274Z","1.0.4-beta.7":"2024-02-06T04:45:07.720Z","1.0.4-beta.8":"2024-02-06T04:51:17.473Z","1.0.4-beta.9":"2024-02-15T18:18:33.186Z","1.0.4-beta.10":"2024-03-09T00:36:27.923Z","1.0.4-beta.12":"2024-03-09T02:18:21.308Z","1.0.4-beta.13":"2024-03-09T05:02:19.114Z","1.0.4-beta.15":"2024-03-09T06:13:02.072Z","1.0.4-beta.16":"2024-03-09T06:42:39.872Z","1.0.4-beta.17":"2024-03-13T02:20:15.177Z","1.0.4-beta.18":"2024-03-13T02:25:36.684Z","1.0.4-beta.19":"2024-04-01T23:00:37.323Z"},"maintainers":[{"name":"robertoarmas","email":"robertoarmas95@hotmail.com"},{"name":"sgtsitecore","email":"sitecorerick@gmail.com"}],"description":"A collection of XM Cloud compatible libraries for SXA Sitecore Development.","author":{"name":"Richard J. Cabral, Roberto Armas"},"bugs":{"url":"https://github.com/constellation4sitecore/xmcloud-constellation/issues"},"license":"MIT","readme":"","readmeFilename":""}