@windstream/react-shared-components 0.1.71 → 0.1.73
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 +104 -28
- package/dist/contentful/index.esm.js +2 -2
- 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 +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/next/index.esm.js.map +1 -1
- package/dist/next/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/utils/index.d.ts +12 -1
- package/dist/utils/index.esm.js +1 -1
- package/dist/utils/index.esm.js.map +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/utils/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/next-image/index.tsx +3 -1
- package/src/contentful/blocks/accordion/Accordion.stories.mocks.tsx +8 -8
- package/src/contentful/blocks/accordion/Accordion.stories.tsx +5 -13
- package/src/contentful/blocks/anchored-bottom-banner/index.tsx +114 -3
- package/src/contentful/blocks/anchored-bottom-banner/types.ts +4 -1
- package/src/contentful/blocks/callout/index.tsx +201 -37
- package/src/contentful/blocks/callout/types.ts +56 -3
- package/src/contentful/blocks/cards/floating-image-card/index.tsx +119 -0
- package/src/contentful/blocks/cards/floating-image-card/types.ts +30 -0
- package/src/contentful/blocks/cards/full-image-card/index.tsx +130 -0
- package/src/contentful/blocks/cards/full-image-card/types.ts +29 -0
- package/src/contentful/blocks/cards/simple-card/index.tsx +294 -58
- package/src/contentful/blocks/cards/simple-card/types.ts +47 -4
- package/src/contentful/blocks/comparison-table/index.tsx +3 -1
- package/src/contentful/blocks/footer/Footer.stories.tsx +145 -32
- package/src/hooks/contentful/use-contentful-rich-text.tsx +5 -3
- package/src/utils/index.ts +3 -0
- package/src/utils/speed-card-bg.ts +24 -0
package/dist/core.d.ts
CHANGED
|
@@ -59,15 +59,15 @@ type InputFieldProps = Omit<InputHTMLAttributes<HTMLInputElement>, "size"> & {
|
|
|
59
59
|
|
|
60
60
|
declare const InputField: ForwardRefRenderFunction<HTMLInputElement, InputFieldProps>;
|
|
61
61
|
declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size"> & {
|
|
62
|
-
state?: "default" | "
|
|
63
|
-
size?: "
|
|
62
|
+
state?: "default" | "focus" | "active" | "hover" | "filled" | "error" | undefined;
|
|
63
|
+
size?: "slim" | "medium" | "large" | undefined;
|
|
64
64
|
label?: string | undefined;
|
|
65
65
|
errorText?: string | undefined;
|
|
66
66
|
prefixIconName?: "search" | "location_on" | undefined;
|
|
67
67
|
prefixIconSize?: 20 | 24 | 40 | 48 | undefined;
|
|
68
68
|
prefixIconFill?: boolean | undefined;
|
|
69
69
|
suffixIconFill?: boolean | undefined;
|
|
70
|
-
suffixIconName?: "visibility" | "
|
|
70
|
+
suffixIconName?: "visibility" | "visibility_off" | "lock" | undefined;
|
|
71
71
|
suffixIconSize?: 20 | 24 | 40 | 48 | undefined;
|
|
72
72
|
containerClassName?: string | undefined;
|
|
73
73
|
prefixIconClassName?: string | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -59,15 +59,15 @@ type InputFieldProps = Omit<InputHTMLAttributes<HTMLInputElement>, "size"> & {
|
|
|
59
59
|
|
|
60
60
|
declare const InputField: ForwardRefRenderFunction<HTMLInputElement, InputFieldProps>;
|
|
61
61
|
declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size"> & {
|
|
62
|
-
state?: "default" | "
|
|
63
|
-
size?: "
|
|
62
|
+
state?: "default" | "error" | "filled" | "active" | "focus" | "hover" | undefined;
|
|
63
|
+
size?: "medium" | "large" | "slim" | undefined;
|
|
64
64
|
label?: string | undefined;
|
|
65
65
|
errorText?: string | undefined;
|
|
66
66
|
prefixIconName?: "search" | "location_on" | undefined;
|
|
67
67
|
prefixIconSize?: 20 | 24 | 40 | 48 | undefined;
|
|
68
68
|
prefixIconFill?: boolean | undefined;
|
|
69
69
|
suffixIconFill?: boolean | undefined;
|
|
70
|
-
suffixIconName?: "visibility" | "
|
|
70
|
+
suffixIconName?: "visibility" | "lock" | "visibility_off" | undefined;
|
|
71
71
|
suffixIconSize?: 20 | 24 | 40 | 48 | undefined;
|
|
72
72
|
containerClassName?: string | undefined;
|
|
73
73
|
prefixIconClassName?: string | undefined;
|