@sendoutcards/quantum-design-ui 1.7.45 → 1.7.48
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
|
@@ -17197,7 +17197,9 @@ var Banner = function (_a) {
|
|
|
17197
17197
|
},
|
|
17198
17198
|
borderRadius: "default",
|
|
17199
17199
|
display: "flex",
|
|
17200
|
-
|
|
17200
|
+
justifyContent: "space-between"
|
|
17201
|
+
}, jsx(Div, {
|
|
17202
|
+
display: 'flex'
|
|
17201
17203
|
}, icon && jsx(Span, {
|
|
17202
17204
|
inset: {
|
|
17203
17205
|
right: 'x1'
|
|
@@ -17216,7 +17218,10 @@ var Banner = function (_a) {
|
|
|
17216
17218
|
xSmall: 'footnote',
|
|
17217
17219
|
small: 'caption'
|
|
17218
17220
|
}
|
|
17219
|
-
}),
|
|
17221
|
+
})), jsx(Div, {
|
|
17222
|
+
display: "flex",
|
|
17223
|
+
alignItems: "center"
|
|
17224
|
+
}, children));
|
|
17220
17225
|
};
|
|
17221
17226
|
|
|
17222
17227
|
var _emotionSourceMap2$8 = process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFJYSIsImZpbGUiOiJzdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBfX21ha2VUZW1wbGF0ZU9iamVjdCB9IGZyb20gXCJ0c2xpYlwiO1xyXG5pbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9jb3JlJztcclxuZXhwb3J0IGRlZmF1bHQge1xyXG4gICAgY2lyY2xlTWVudUNvbnRhaW5lcjogY3NzKHRlbXBsYXRlT2JqZWN0XzEgfHwgKHRlbXBsYXRlT2JqZWN0XzEgPSBfX21ha2VUZW1wbGF0ZU9iamVjdChbXCJcXG4gICAgY3Vyc29yOiBwb2ludGVyO1xcbiAgICA+IGRpdiA+IHN2ZyB7XFxuICAgICAgdHJhbnNmb3JtOiBzY2FsZSgxLjUpO1xcbiAgICB9XFxuICBcIl0sIFtcIlxcbiAgICBjdXJzb3I6IHBvaW50ZXI7XFxuICAgID4gZGl2ID4gc3ZnIHtcXG4gICAgICB0cmFuc2Zvcm06IHNjYWxlKDEuNSk7XFxuICAgIH1cXG4gIFwiXSkpKSxcclxuICAgIHRyaWdnZXI6IGNzcyh0ZW1wbGF0ZU9iamVjdF8yIHx8ICh0ZW1wbGF0ZU9iamVjdF8yID0gX19tYWtlVGVtcGxhdGVPYmplY3QoW1wiXFxuICAgIGRpc3BsYXk6IG5vbmU7XFxuICBcIl0sIFtcIlxcbiAgICBkaXNwbGF5OiBub25lO1xcbiAgXCJdKSkpLFxyXG59O1xyXG52YXIgdGVtcGxhdGVPYmplY3RfMSwgdGVtcGxhdGVPYmplY3RfMjtcclxuLy8jIHNvdXJjZU1hcHBpbmdVUkw9c3R5bGVzLmpzLm1hcCJdfQ== */";
|
|
@@ -22690,7 +22695,8 @@ var AffiliateUpsalePromotionWidget = function (_a) {
|
|
|
22690
22695
|
_b = _a.minWidth,
|
|
22691
22696
|
minWidth = _b === void 0 ? '320px' : _b,
|
|
22692
22697
|
_c = _a.width,
|
|
22693
|
-
width = _c === void 0 ? '100%' : _c
|
|
22698
|
+
width = _c === void 0 ? '100%' : _c,
|
|
22699
|
+
buttonOnclick = _a.buttonOnclick;
|
|
22694
22700
|
|
|
22695
22701
|
var openInNewTab = function (url) {
|
|
22696
22702
|
var newWindow = window.open(url, '_blank', 'noopener,noreferrer');
|
|
@@ -22698,15 +22704,15 @@ var AffiliateUpsalePromotionWidget = function (_a) {
|
|
|
22698
22704
|
};
|
|
22699
22705
|
|
|
22700
22706
|
var getContent = function (type) {
|
|
22701
|
-
var title = type === 'customer'
|
|
22702
|
-
var description = type === 'customer'
|
|
22703
|
-
var buttonTitle = type === 'customer'
|
|
22707
|
+
var title = type === 'customer' || type === 'freeAffiliate' ? 'Love our products & services?' : 'Build your Greener Still Business';
|
|
22708
|
+
var description = type === 'customer' || type === 'freeAffiliate' ? 'Isn’t it fun?! Sending out to give when you feel a prompting, it’s pretty great! Finding yourself sharing with others? Earn an income simply for sharing products you already love! Become an Affiliate Pro for $14/month and start sharing with our GS Pro app easily and effectively.' : 'Focus on duplicating your efforts to grow your business. Commit to repeating this every month, twice a month, or every week and grow your Greener Still business!';
|
|
22709
|
+
var buttonTitle = type === 'customer' || type === 'freeAffiliate' ? 'Unlock Your Opportunity' : 'Comp Plan Training';
|
|
22704
22710
|
var url = type === 'proAffiliate' ? 'https://www.facebook.com/groups/sendoutcardscorporate/permalink/5098162643579731' : 'https://app.sendoutcards.com/?client=greenerstill&affiliatejoin';
|
|
22705
22711
|
return {
|
|
22706
22712
|
title: title,
|
|
22707
22713
|
description: description,
|
|
22708
22714
|
buttonTitle: buttonTitle,
|
|
22709
|
-
buttonOnclick: function () {
|
|
22715
|
+
buttonOnclick: buttonOnclick ? buttonOnclick : function () {
|
|
22710
22716
|
return openInNewTab(url);
|
|
22711
22717
|
}
|
|
22712
22718
|
};
|
package/dist/src/portfolios/soc/affiliateUpsalePromotionWidget/affiliateUpsalePromotionWidget.d.ts
CHANGED
|
@@ -3,5 +3,6 @@ export declare type AffiliateUpsalePromotionWidgetProps = {
|
|
|
3
3
|
type: 'customer' | 'freeAffiliate' | 'proAffiliate';
|
|
4
4
|
width?: string;
|
|
5
5
|
minWidth?: string;
|
|
6
|
+
buttonOnclick?: () => void;
|
|
6
7
|
};
|
|
7
8
|
export declare const AffiliateUpsalePromotionWidget: FC<AffiliateUpsalePromotionWidgetProps>;
|