pb-sxp-ui 1.20.17 → 1.20.18
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.cjs +7 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +7 -6
- package/dist/index.js.map +1 -1
- package/dist/index.min.cjs +2 -2
- package/dist/index.min.cjs.map +1 -1
- package/dist/index.min.js +2 -2
- package/dist/index.min.js.map +1 -1
- package/dist/pb-ui.js +7 -6
- package/dist/pb-ui.js.map +1 -1
- package/dist/pb-ui.min.js +2 -2
- package/dist/pb-ui.min.js.map +1 -1
- package/es/materials/sxp/popup/CommodityDetail/index.js +5 -4
- package/es/materials/sxp/popup/CommodityDetailDiroNew/index.js +2 -2
- package/lib/materials/sxp/popup/CommodityDetail/index.js +5 -4
- package/lib/materials/sxp/popup/CommodityDetailDiroNew/index.js +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -11811,10 +11811,11 @@ const CommodityDetail$1 = (_a) => {
|
|
|
11811
11811
|
};
|
|
11812
11812
|
const renderBtn = () => {
|
|
11813
11813
|
var _a, _b;
|
|
11814
|
-
return (React.createElement(React.Fragment, null,
|
|
11815
|
-
React.createElement("
|
|
11816
|
-
|
|
11817
|
-
|
|
11814
|
+
return (React.createElement(React.Fragment, null,
|
|
11815
|
+
React.createElement("a", { "aria-label": (_a = cta === null || cta === void 0 ? void 0 : cta.enTitle) !== null && _a !== void 0 ? _a : 'Purchase on Website', role: 'button', tabIndex: 0, onClick: handleLink, className: 'pb-commondity-btn', style: buttonStyle },
|
|
11816
|
+
React.createElement("span", { dangerouslySetInnerHTML: {
|
|
11817
|
+
__html: setFontForText((_b = cta === null || cta === void 0 ? void 0 : cta.enTitle) !== null && _b !== void 0 ? _b : 'Purchase on Website', buttonStyle)
|
|
11818
|
+
} }))));
|
|
11818
11819
|
};
|
|
11819
11820
|
const getStyle = React.useCallback((style) => {
|
|
11820
11821
|
if (style === null || style === void 0 ? void 0 : style.lineClamp) {
|
|
@@ -12937,10 +12938,10 @@ Made in Italy` })));
|
|
|
12937
12938
|
React.createElement("div", { className: 'pb-commondityDiroNew-content-top-right-price', hidden: !!product && !(product === null || product === void 0 ? void 0 : product.taxInfo), style: getStyle(commodityStyles === null || commodityStyles === void 0 ? void 0 : commodityStyles.taxInfo), dangerouslySetInnerHTML: {
|
|
12938
12939
|
__html: setFontForText((_2 = product === null || product === void 0 ? void 0 : product.taxInfo) !== null && _2 !== void 0 ? _2 : '税费', commodityStyles === null || commodityStyles === void 0 ? void 0 : commodityStyles.taxInfo)
|
|
12939
12940
|
} }))),
|
|
12940
|
-
|
|
12941
|
+
React.createElement("a", { "aria-label": (_3 = cta === null || cta === void 0 ? void 0 : cta.enTitle) !== null && _3 !== void 0 ? _3 : 'Shop now', role: 'button', tabIndex: 0, onClick: handleLink, className: 'pb-commondityDiroNew-btn', style: buttonStyle },
|
|
12941
12942
|
React.createElement("span", { dangerouslySetInnerHTML: {
|
|
12942
12943
|
__html: setFontForText((_4 = cta === null || cta === void 0 ? void 0 : cta.enTitle) !== null && _4 !== void 0 ? _4 : 'Shop now', buttonStyle)
|
|
12943
|
-
} }))
|
|
12944
|
+
} })),
|
|
12944
12945
|
productInfoText({ isPost }))),
|
|
12945
12946
|
React.createElement(Modal$1, { visible: showModal, onClose: () => setShowModal(false) },
|
|
12946
12947
|
React.createElement("div", { style: { paddingTop: '34px' } }, productInfoText({ isPost: false }))),
|