@windstream/react-shared-components 0.2.38 → 0.2.41

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 (32) hide show
  1. package/dist/contentful/index.d.ts +1 -2
  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 +1 -1
  7. package/dist/index.d.ts +3 -3
  8. package/dist/index.esm.js +1 -1
  9. package/dist/index.esm.js.map +1 -1
  10. package/dist/index.js +1 -1
  11. package/dist/index.js.map +1 -1
  12. package/dist/styles.css +1 -1
  13. package/package.json +1 -1
  14. package/src/components/brand-button/index.tsx +4 -4
  15. package/src/contentful/blocks/button/Button.stories.tsx +0 -1
  16. package/src/contentful/blocks/button/index.test.tsx +109 -8
  17. package/src/contentful/blocks/button/index.tsx +64 -18
  18. package/src/contentful/blocks/button/types.ts +1 -1
  19. package/src/contentful/blocks/cards/blog-card/index.test.tsx +18 -42
  20. package/src/contentful/blocks/cards/blog-card/index.tsx +45 -63
  21. package/src/contentful/blocks/cards/blog-card/types.ts +0 -1
  22. package/src/contentful/blocks/cards/floating-image-card/index.test.tsx +69 -2
  23. package/src/contentful/blocks/cards/floating-image-card/index.tsx +7 -4
  24. package/src/contentful/blocks/carousel/helper.test.tsx +33 -10
  25. package/src/contentful/blocks/carousel/index.test.tsx +6 -8
  26. package/src/contentful/blocks/carousel/types.test.ts +10 -0
  27. package/src/contentful/blocks/cta-callout/CtaCallout.stories.tsx +0 -1
  28. package/src/contentful/blocks/dynamic-tabs/ordered-tab-views.tsx +1 -1
  29. package/src/contentful/blocks/ordered-list/index.tsx +2 -2
  30. package/src/contentful/blocks/primary-hero/index.tsx +6 -2
  31. package/src/hooks/use-carousel-swipe.test.ts +26 -6
  32. package/src/types/micro-components.ts +2 -2
package/dist/core.d.ts CHANGED
@@ -171,7 +171,7 @@ interface ListItemProps extends LiHTMLAttributes<HTMLLIElement> {
171
171
 
172
172
  declare const ListItem: React$1.ForwardRefExoticComponent<ListItemProps & React$1.RefAttributes<HTMLLIElement>>;
173
173
 
174
- declare const List: React__default.ForwardRefExoticComponent<ListProps & React__default.RefAttributes<HTMLOListElement | HTMLUListElement>>;
174
+ declare const List: React__default.ForwardRefExoticComponent<ListProps & React__default.RefAttributes<HTMLUListElement | HTMLOListElement>>;
175
175
 
176
176
  declare const iconNameList: readonly ["info", "download", "featured_seasonal_and_gifts", "visibility", "paid", "check_box", "check_box_outline_blank", "radio_button_unchecked", "radio_button_checked", "counter_1", "counter_2", "counter_3", "error", "search", "cancel", "router", "broadcast_on_home", "check", "check_circle", "lock", "shield_lock", "phone_in_talk", "call", "chevron_left", "chevron_right", "keyboard_arrow_down", "keyboard_arrow_up", "arrow_back", "arrow_forward", "help", "home_pin", "location_on", "timer", "schedule", "add", "remove", "bolt", "rocket", "cloud_sync", "close", "groups", "speed", "mail", "credit_card", "language", "forum", "contract", "local_atm", "headset_mic", "sensors", "wifi", "settings", "home", "devices", "build", "thumb_up", "desktop_windows", "block", "all_inclusive", "verified_user", "extension", "stadia_controller", "visibility_off", "close_fullscreen", "progress_activity", "travel_explore", "share", "business_center", "upload", "videocam", "expand_circle_right", "add_circle", "do_not_disturb_on", "expand_circle_up", "expand_circle_down", "replay", "fiber_manual_record", "menu", "dangerous", "star", "play_arrow", "calendar_clock", "shopping_cart"];
177
177
  declare const OpticalSizes: readonly ["20dp", "24dp", "40dp", "48dp"];
package/dist/index.d.ts CHANGED
@@ -62,15 +62,15 @@ type InputFieldProps = Omit<InputHTMLAttributes<HTMLInputElement>, "size"> & {
62
62
 
63
63
  declare const InputField: ForwardRefRenderFunction<HTMLInputElement, InputFieldProps>;
64
64
  declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size"> & {
65
- state?: "default" | "focus" | "active" | "hover" | "filled" | "error" | undefined;
66
- size?: "slim" | "medium" | "large" | undefined;
65
+ state?: "default" | "error" | "filled" | "active" | "focus" | "hover" | undefined;
66
+ size?: "medium" | "large" | "slim" | undefined;
67
67
  label?: string | undefined;
68
68
  errorText?: string | undefined;
69
69
  prefixIconName?: "search" | "location_on" | undefined;
70
70
  prefixIconSize?: 20 | 24 | 40 | 48 | undefined;
71
71
  prefixIconFill?: boolean | undefined;
72
72
  suffixIconFill?: boolean | undefined;
73
- suffixIconName?: "visibility" | "visibility_off" | "lock" | undefined;
73
+ suffixIconName?: "visibility" | "lock" | "visibility_off" | undefined;
74
74
  suffixIconSize?: 20 | 24 | 40 | 48 | undefined;
75
75
  containerClassName?: string | undefined;
76
76
  prefixIconClassName?: string | undefined;