@windstream/react-shared-components 0.2.25 → 0.2.26
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/core.d.ts
CHANGED
|
@@ -66,7 +66,7 @@ declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAtt
|
|
|
66
66
|
size?: "slim" | "medium" | "large" | undefined;
|
|
67
67
|
label?: string | undefined;
|
|
68
68
|
errorText?: string | undefined;
|
|
69
|
-
prefixIconName?: "
|
|
69
|
+
prefixIconName?: "location_on" | "search" | undefined;
|
|
70
70
|
prefixIconSize?: 20 | 24 | 40 | 48 | undefined;
|
|
71
71
|
prefixIconFill?: boolean | undefined;
|
|
72
72
|
suffixIconFill?: boolean | undefined;
|
|
@@ -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<
|
|
174
|
+
declare const List: React__default.ForwardRefExoticComponent<ListProps & React__default.RefAttributes<HTMLOListElement | HTMLUListElement>>;
|
|
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/package.json
CHANGED
|
@@ -144,7 +144,15 @@ export const ImagePromoBar: React.FC<ImagePromoBarProps> = ({
|
|
|
144
144
|
<div className="primary-cta w-full xl:w-auto xl:shrink-0">
|
|
145
145
|
<Button
|
|
146
146
|
{...cta}
|
|
147
|
-
|
|
147
|
+
// Block-level `enableAnimation` takes precedence:
|
|
148
|
+
// - true -> CTA animates
|
|
149
|
+
// - false -> CTA animation disabled
|
|
150
|
+
// - undefined -> fall back to the CTA's own setting
|
|
151
|
+
disableAnimation={
|
|
152
|
+
enableAnimation === undefined
|
|
153
|
+
? cta.disableAnimation
|
|
154
|
+
: !enableAnimation
|
|
155
|
+
}
|
|
148
156
|
fullWidth={true}
|
|
149
157
|
size={{ base: "large" }}
|
|
150
158
|
renderCheckPlans={renderCheckPlans}
|
|
@@ -157,7 +165,15 @@ export const ImagePromoBar: React.FC<ImagePromoBarProps> = ({
|
|
|
157
165
|
<div className="secondary-cta w-full xl:w-auto xl:shrink-0">
|
|
158
166
|
<Button
|
|
159
167
|
{...secondaryCta}
|
|
160
|
-
|
|
168
|
+
// Block-level `enableAnimation` takes precedence:
|
|
169
|
+
// - true -> CTA animates
|
|
170
|
+
// - false -> CTA animation disabled
|
|
171
|
+
// - undefined -> fall back to the CTA's own setting
|
|
172
|
+
disableAnimation={
|
|
173
|
+
enableAnimation === undefined
|
|
174
|
+
? secondaryCta.disableAnimation
|
|
175
|
+
: !enableAnimation
|
|
176
|
+
}
|
|
161
177
|
fullWidth={true}
|
|
162
178
|
size={{ base: "large" }}
|
|
163
179
|
renderCheckPlans={renderCheckPlans}
|