@windstream/react-shared-components 0.2.70 → 0.2.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/contentful/index.d.ts +14 -1
- package/dist/contentful/index.esm.js +1 -1
- package/dist/contentful/index.esm.js.map +1 -1
- package/dist/contentful/index.js +2 -2
- package/dist/contentful/index.js.map +1 -1
- package/dist/core.d.ts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/select-plan-button/index.tsx +2 -2
- package/src/components/select-plan-button/types.ts +1 -1
- package/src/components/video-link/vimeo-embed.test.tsx +14 -0
- package/src/contentful/blocks/cards/product-card/index.test.tsx +48 -9
- package/src/contentful/blocks/cards/product-card/index.tsx +3 -1
- package/src/contentful/blocks/cards/product-card/types.ts +2 -1
- package/src/contentful/blocks/carousel/helper.test.tsx +43 -2
- package/src/contentful/blocks/carousel/helper.tsx +26 -3
- package/src/contentful/blocks/carousel/index.test.tsx +72 -2
- package/src/contentful/blocks/carousel/index.tsx +10 -1
- package/src/contentful/blocks/carousel/types.ts +12 -0
- package/src/contentful/blocks/primary-hero/index.tsx +51 -18
- package/src/contentful/blocks/primary-hero/types.ts +17 -0
- package/src/types/field-props.ts +9 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generic extension point letting a consumer attach extra DOM attributes
|
|
3
|
+
* (e.g. for visual-editor tagging, analytics, testing) to specific named
|
|
4
|
+
* regions of a component, without this library knowing what those
|
|
5
|
+
* attributes mean or where they come from.
|
|
6
|
+
*/
|
|
7
|
+
export type FieldProps<TSlot extends string> = Partial<
|
|
8
|
+
Record<TSlot, Record<string, unknown>>
|
|
9
|
+
>;
|