@windstream/react-shared-components 0.1.95 → 0.1.96
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 +2 -2
- package/dist/contentful/index.esm.js +3 -3
- package/dist/contentful/index.esm.js.map +1 -1
- package/dist/contentful/index.js +3 -3
- package/dist/contentful/index.js.map +1 -1
- package/dist/core.d.ts +4 -0
- package/dist/index.d.ts +6 -2
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- 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 +12 -0
- package/src/components/brand-button/types.ts +9 -0
- package/src/contentful/blocks/button/index.tsx +77 -1
- package/src/contentful/blocks/button/types.ts +6 -1
- package/src/contentful/blocks/email-input-block/index.tsx +3 -4
- package/src/contentful/blocks/email-input-block/types.ts +3 -1
- package/src/contentful/blocks/image-promo-bar/index.tsx +248 -248
- package/src/types/micro-components.ts +13 -2
package/dist/core.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ import { CheckPlansProps } from '@shared/types/micro-components';
|
|
|
23
23
|
import { HTMLMotionProps } from 'framer-motion';
|
|
24
24
|
import { ClassValue } from 'clsx';
|
|
25
25
|
export { ClassValue, clsx } from 'clsx';
|
|
26
|
+
import { IconName as IconName$1, Size as Size$2, Fill as Fill$1 } from '@shared/components/material-icon/types';
|
|
26
27
|
|
|
27
28
|
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps$1 & React$1.RefAttributes<HTMLButtonElement>>;
|
|
28
29
|
|
|
@@ -337,6 +338,9 @@ type ButtonCustomProps = {
|
|
|
337
338
|
fullWidth?: boolean;
|
|
338
339
|
buttonClassName?: string;
|
|
339
340
|
size?: ResponsiveSize;
|
|
341
|
+
iconName?: IconName$1;
|
|
342
|
+
iconSize?: Size$2;
|
|
343
|
+
iconFill?: Fill$1;
|
|
340
344
|
};
|
|
341
345
|
type ButtonAsButton = ButtonCustomProps & Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children" | "className"> & {
|
|
342
346
|
as?: "button";
|
package/dist/index.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ import { CheckPlansProps } from '@shared/types/micro-components';
|
|
|
23
23
|
import { HTMLMotionProps } from 'framer-motion';
|
|
24
24
|
import { ClassValue } from 'clsx';
|
|
25
25
|
export { ClassValue, clsx } from 'clsx';
|
|
26
|
+
import { IconName as IconName$1, Size as Size$2, Fill as Fill$1 } from '@shared/components/material-icon/types';
|
|
26
27
|
|
|
27
28
|
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps$1 & React$1.RefAttributes<HTMLButtonElement>>;
|
|
28
29
|
|
|
@@ -64,7 +65,7 @@ declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAtt
|
|
|
64
65
|
size?: "slim" | "medium" | "large" | undefined;
|
|
65
66
|
label?: string | undefined;
|
|
66
67
|
errorText?: string | undefined;
|
|
67
|
-
prefixIconName?: "
|
|
68
|
+
prefixIconName?: "search" | "location_on" | undefined;
|
|
68
69
|
prefixIconSize?: 20 | 24 | 40 | 48 | undefined;
|
|
69
70
|
prefixIconFill?: boolean | undefined;
|
|
70
71
|
suffixIconFill?: boolean | undefined;
|
|
@@ -169,7 +170,7 @@ interface ListItemProps extends LiHTMLAttributes<HTMLLIElement> {
|
|
|
169
170
|
|
|
170
171
|
declare const ListItem: React$1.ForwardRefExoticComponent<ListItemProps & React$1.RefAttributes<HTMLLIElement>>;
|
|
171
172
|
|
|
172
|
-
declare const List: React__default.ForwardRefExoticComponent<ListProps & React__default.RefAttributes<
|
|
173
|
+
declare const List: React__default.ForwardRefExoticComponent<ListProps & React__default.RefAttributes<HTMLOListElement | HTMLUListElement>>;
|
|
173
174
|
|
|
174
175
|
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"];
|
|
175
176
|
declare const OpticalSizes: readonly ["20dp", "24dp", "40dp", "48dp"];
|
|
@@ -337,6 +338,9 @@ type ButtonCustomProps = {
|
|
|
337
338
|
fullWidth?: boolean;
|
|
338
339
|
buttonClassName?: string;
|
|
339
340
|
size?: ResponsiveSize;
|
|
341
|
+
iconName?: IconName$1;
|
|
342
|
+
iconSize?: Size$2;
|
|
343
|
+
iconFill?: Fill$1;
|
|
340
344
|
};
|
|
341
345
|
type ButtonAsButton = ButtonCustomProps & Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children" | "className"> & {
|
|
342
346
|
as?: "button";
|