@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.
Files changed (36) hide show
  1. package/dist/contentful/index.d.ts +104 -28
  2. package/dist/contentful/index.esm.js +2 -2
  3. package/dist/contentful/index.esm.js.map +1 -1
  4. package/dist/contentful/index.js +2 -2
  5. package/dist/contentful/index.js.map +1 -1
  6. package/dist/core.d.ts +3 -3
  7. package/dist/index.d.ts +3 -3
  8. package/dist/index.esm.js.map +1 -1
  9. package/dist/index.js.map +1 -1
  10. package/dist/next/index.esm.js.map +1 -1
  11. package/dist/next/index.js.map +1 -1
  12. package/dist/styles.css +1 -1
  13. package/dist/utils/index.d.ts +12 -1
  14. package/dist/utils/index.esm.js +1 -1
  15. package/dist/utils/index.esm.js.map +1 -1
  16. package/dist/utils/index.js +1 -1
  17. package/dist/utils/index.js.map +1 -1
  18. package/package.json +1 -1
  19. package/src/components/next-image/index.tsx +3 -1
  20. package/src/contentful/blocks/accordion/Accordion.stories.mocks.tsx +8 -8
  21. package/src/contentful/blocks/accordion/Accordion.stories.tsx +5 -13
  22. package/src/contentful/blocks/anchored-bottom-banner/index.tsx +114 -3
  23. package/src/contentful/blocks/anchored-bottom-banner/types.ts +4 -1
  24. package/src/contentful/blocks/callout/index.tsx +201 -37
  25. package/src/contentful/blocks/callout/types.ts +56 -3
  26. package/src/contentful/blocks/cards/floating-image-card/index.tsx +119 -0
  27. package/src/contentful/blocks/cards/floating-image-card/types.ts +30 -0
  28. package/src/contentful/blocks/cards/full-image-card/index.tsx +130 -0
  29. package/src/contentful/blocks/cards/full-image-card/types.ts +29 -0
  30. package/src/contentful/blocks/cards/simple-card/index.tsx +294 -58
  31. package/src/contentful/blocks/cards/simple-card/types.ts +47 -4
  32. package/src/contentful/blocks/comparison-table/index.tsx +3 -1
  33. package/src/contentful/blocks/footer/Footer.stories.tsx +145 -32
  34. package/src/hooks/contentful/use-contentful-rich-text.tsx +5 -3
  35. package/src/utils/index.ts +3 -0
  36. 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" | "error" | "filled" | "active" | "focus" | "hover" | undefined;
63
- size?: "medium" | "large" | "slim" | undefined;
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" | "lock" | "visibility_off" | undefined;
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" | "focus" | "active" | "hover" | "filled" | "error" | undefined;
63
- size?: "slim" | "medium" | "large" | undefined;
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" | "visibility_off" | "lock" | undefined;
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;