@windstream/react-shared-components 0.2.60 → 0.2.62
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 +48 -2
- package/dist/contentful/index.esm.js +5 -5
- package/dist/contentful/index.esm.js.map +1 -1
- package/dist/contentful/index.js +4 -4
- package/dist/contentful/index.js.map +1 -1
- package/dist/core.d.ts +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/src/components/brand-button/index.tsx +1 -1
- package/src/components/video-link/index.tsx +28 -8
- package/src/components/video-link/youtube-embed.test.tsx +11 -7
- package/src/components/video-link/youtube-embed.tsx +58 -58
- package/src/contentful/blocks/anchored-bottom-banner/index.test.tsx +248 -0
- package/src/contentful/blocks/anchored-bottom-banner/index.tsx +197 -29
- package/src/contentful/blocks/anchored-bottom-banner/types.ts +46 -0
- package/src/contentful/blocks/cards/product-card/index.test.tsx +14 -1
- package/src/contentful/blocks/cards/product-card/index.tsx +193 -135
- package/src/contentful/blocks/cards/product-card/types.ts +1 -1
- package/src/contentful/blocks/carousel/Carousel.stories.tsx +59 -0
- package/src/contentful/blocks/carousel/helper.test.tsx +23 -0
- package/src/contentful/blocks/carousel/helper.tsx +18 -5
- package/src/contentful/blocks/carousel/types.ts +3 -0
- package/src/contentful/blocks/dynamic-form/conditional-fields.test.tsx +3 -0
- package/src/contentful/blocks/dynamic-form/conditional-fields.tsx +30 -4
- package/src/contentful/blocks/dynamic-form/context.ts +2 -0
- package/src/contentful/blocks/dynamic-form/field-map.test.tsx +21 -0
- package/src/contentful/blocks/dynamic-form/field-map.tsx +15 -0
- package/src/contentful/blocks/dynamic-form/form-field.tsx +2 -0
- package/src/contentful/blocks/dynamic-form/index.tsx +48 -16
- package/src/contentful/blocks/dynamic-form/render.tsx +1 -0
- package/src/contentful/blocks/dynamic-form/types.ts +26 -0
- package/src/contentful/blocks/dynamic-form/utils.test.ts +86 -0
- package/src/contentful/blocks/dynamic-form/utils.ts +57 -0
- package/src/contentful/index.ts +5 -1
package/dist/core.d.ts
CHANGED
|
@@ -70,7 +70,7 @@ declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAtt
|
|
|
70
70
|
size?: "slim" | "medium" | "large" | undefined;
|
|
71
71
|
label?: string | undefined;
|
|
72
72
|
errorText?: string | undefined;
|
|
73
|
-
prefixIconName?: "
|
|
73
|
+
prefixIconName?: "location_on" | "search" | undefined;
|
|
74
74
|
prefixIconSize?: 20 | 24 | 40 | 48 | undefined;
|
|
75
75
|
prefixIconFill?: boolean | undefined;
|
|
76
76
|
suffixIconFill?: boolean | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -66,11 +66,11 @@ type InputFieldProps = Omit<InputHTMLAttributes<HTMLInputElement>, "size"> & {
|
|
|
66
66
|
|
|
67
67
|
declare const InputField: ForwardRefRenderFunction<HTMLInputElement, InputFieldProps>;
|
|
68
68
|
declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size"> & {
|
|
69
|
-
state?: "
|
|
70
|
-
size?: "
|
|
69
|
+
state?: "default" | "focus" | "active" | "hover" | "filled" | "error" | undefined;
|
|
70
|
+
size?: "slim" | "medium" | "large" | undefined;
|
|
71
71
|
label?: string | undefined;
|
|
72
72
|
errorText?: string | undefined;
|
|
73
|
-
prefixIconName?: "
|
|
73
|
+
prefixIconName?: "location_on" | "search" | undefined;
|
|
74
74
|
prefixIconSize?: 20 | 24 | 40 | 48 | undefined;
|
|
75
75
|
prefixIconFill?: boolean | undefined;
|
|
76
76
|
suffixIconFill?: boolean | undefined;
|