@sendoutcards/quantum-design-ui 1.7.90 → 1.7.91
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/index.es.js
CHANGED
|
@@ -24966,7 +24966,8 @@ var UpsaleDialog = function (_a) {
|
|
|
24966
24966
|
defaultNumOptionsShown = _a.defaultNumOptionsShown,
|
|
24967
24967
|
submitAction = _a.submitAction,
|
|
24968
24968
|
acceptSelectedAction = _a.acceptSelectedAction,
|
|
24969
|
-
shouldHideSendFreeCard = _a.shouldHideSendFreeCard
|
|
24969
|
+
shouldHideSendFreeCard = _a.shouldHideSendFreeCard,
|
|
24970
|
+
upsaleBanner = _a.upsaleBanner;
|
|
24970
24971
|
|
|
24971
24972
|
var _e = React.useState(false),
|
|
24972
24973
|
shouldShowCheckoutView = _e[0],
|
|
@@ -25092,7 +25093,9 @@ var UpsaleDialog = function (_a) {
|
|
|
25092
25093
|
title: (_b = acceptSelectedAction === null || acceptSelectedAction === void 0 ? void 0 : acceptSelectedAction.title) !== null && _b !== void 0 ? _b : 'Continue to Checkout',
|
|
25093
25094
|
disabled: !selectedOption.length,
|
|
25094
25095
|
onClick: handleOnClick
|
|
25095
|
-
}))
|
|
25096
|
+
})), upsaleBanner && jsx(Div, {
|
|
25097
|
+
width: "100%"
|
|
25098
|
+
}, upsaleBanner)), !isMobile && jsx(Div, {
|
|
25096
25099
|
width: "x3",
|
|
25097
25100
|
order: 2
|
|
25098
25101
|
}), jsx(Flex, {
|
|
@@ -33,5 +33,6 @@ export declare type UpsaleDialogProps = {
|
|
|
33
33
|
submitAction?: SubmitOptionType;
|
|
34
34
|
acceptSelectedAction?: AcceptSelectedOptionType;
|
|
35
35
|
shouldHideSendFreeCard?: boolean;
|
|
36
|
+
upsaleBanner?: React.ReactNode;
|
|
36
37
|
} & UpsaleOptionsType;
|
|
37
38
|
export declare const UpsaleDialog: FC<UpsaleDialogProps>;
|