@windstream/react-shared-components 0.1.70 → 0.1.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.
Files changed (41) hide show
  1. package/dist/contentful/index.d.ts +104 -28
  2. package/dist/contentful/index.esm.js +3 -3
  3. package/dist/contentful/index.esm.js.map +1 -1
  4. package/dist/contentful/index.js +3 -3
  5. package/dist/contentful/index.js.map +1 -1
  6. package/dist/core.d.ts +2 -2
  7. package/dist/index.d.ts +4 -4
  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/address-input-banner/index.tsx +5 -5
  23. package/src/contentful/blocks/anchored-bottom-banner/index.tsx +114 -3
  24. package/src/contentful/blocks/anchored-bottom-banner/types.ts +4 -1
  25. package/src/contentful/blocks/blogs-grid-base/types.ts +1 -0
  26. package/src/contentful/blocks/callout/index.tsx +201 -37
  27. package/src/contentful/blocks/callout/types.ts +56 -3
  28. package/src/contentful/blocks/cards/floating-image-card/index.tsx +119 -0
  29. package/src/contentful/blocks/cards/floating-image-card/types.ts +30 -0
  30. package/src/contentful/blocks/cards/full-image-card/index.tsx +130 -0
  31. package/src/contentful/blocks/cards/full-image-card/types.ts +29 -0
  32. package/src/contentful/blocks/cards/simple-card/index.tsx +294 -58
  33. package/src/contentful/blocks/cards/simple-card/types.ts +47 -4
  34. package/src/contentful/blocks/cart-retention-banner/types.ts +2 -2
  35. package/src/contentful/blocks/comparison-table/index.tsx +5 -3
  36. package/src/contentful/blocks/email-input-block/index.tsx +1 -2
  37. package/src/contentful/blocks/footer/Footer.stories.tsx +145 -32
  38. package/src/contentful/index.ts +1 -2
  39. package/src/hooks/contentful/use-contentful-rich-text.tsx +9 -10
  40. package/src/utils/index.ts +3 -0
  41. package/src/utils/speed-card-bg.ts +24 -0
package/dist/core.d.ts CHANGED
@@ -63,7 +63,7 @@ declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAtt
63
63
  size?: "slim" | "medium" | "large" | undefined;
64
64
  label?: string | undefined;
65
65
  errorText?: string | undefined;
66
- prefixIconName?: "search" | "location_on" | undefined;
66
+ prefixIconName?: "location_on" | "search" | undefined;
67
67
  prefixIconSize?: 20 | 24 | 40 | 48 | undefined;
68
68
  prefixIconFill?: boolean | undefined;
69
69
  suffixIconFill?: boolean | undefined;
@@ -346,7 +346,7 @@ type ButtonAsAnchor = ButtonCustomProps & Omit<AnchorHTMLAttributes<HTMLAnchorEl
346
346
  };
347
347
  type ButtonProps = ButtonAsButton | ButtonAsAnchor;
348
348
 
349
- declare const BrandButton: React__default.ForwardRefExoticComponent<ButtonProps$2 & React__default.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
349
+ declare const BrandButton: React__default.ForwardRefExoticComponent<ButtonProps$2 & React__default.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
350
350
 
351
351
  declare const Checklist: React__default.FC<ChecklistProps>;
352
352
 
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?: "error" | "default" | "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;
@@ -346,7 +346,7 @@ type ButtonAsAnchor = ButtonCustomProps & Omit<AnchorHTMLAttributes<HTMLAnchorEl
346
346
  };
347
347
  type ButtonProps = ButtonAsButton | ButtonAsAnchor;
348
348
 
349
- declare const BrandButton: React__default.ForwardRefExoticComponent<ButtonProps$2 & React__default.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
349
+ declare const BrandButton: React__default.ForwardRefExoticComponent<ButtonProps$2 & React__default.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
350
350
 
351
351
  declare const Checklist: React__default.FC<ChecklistProps>;
352
352