@bigbinary/neeto-molecules 4.1.41 → 4.1.43
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/BrowserSupport.js +1 -1
- package/dist/DownloadMobileAppCallout.js +1 -1
- package/dist/ErrorPage.js +3 -3
- package/dist/ErrorPage.js.map +1 -1
- package/dist/FloatingActionMenu.js +3 -3
- package/dist/FloatingActionMenu.js.map +1 -1
- package/dist/KeyboardShortcuts.js +2 -2
- package/dist/ProductEmbed.js +15 -15
- package/dist/ProductEmbed.js.map +1 -1
- package/dist/ShareViaLink.js +446 -179
- package/dist/ShareViaLink.js.map +1 -1
- package/dist/Sidebar.js +1 -1
- package/dist/StickyRibbonsContainer.js +3 -3
- package/dist/StickyRibbonsContainer.js.map +1 -1
- package/dist/cjs/BrowserSupport.js +1 -1
- package/dist/cjs/DownloadMobileAppCallout.js +1 -1
- package/dist/cjs/ErrorPage.js +2 -2
- package/dist/cjs/ErrorPage.js.map +1 -1
- package/dist/cjs/FloatingActionMenu.js +3 -3
- package/dist/cjs/FloatingActionMenu.js.map +1 -1
- package/dist/cjs/KeyboardShortcuts.js +2 -2
- package/dist/cjs/ProductEmbed.js +14 -14
- package/dist/cjs/ProductEmbed.js.map +1 -1
- package/dist/cjs/ShareViaLink.js +446 -179
- package/dist/cjs/ShareViaLink.js.map +1 -1
- package/dist/cjs/Sidebar.js +1 -1
- package/dist/cjs/StickyRibbonsContainer.js +2 -2
- package/dist/cjs/StickyRibbonsContainer.js.map +1 -1
- package/dist/cjs/{ua-parser-E0eEtHJZ.js → ua-parser-DgQ3nYoO.js} +327 -306
- package/dist/cjs/ua-parser-DgQ3nYoO.js.map +1 -0
- package/dist/cjs/{useKeyboardShortcutsPaneState-YnXpWOcs.js → useKeyboardShortcutsPaneState-BrgdLb9F.js} +3 -3
- package/dist/cjs/{useKeyboardShortcutsPaneState-YnXpWOcs.js.map → useKeyboardShortcutsPaneState-BrgdLb9F.js.map} +1 -1
- package/dist/{ua-parser-rRwDJPFB.js → ua-parser-OzUiuIwt.js} +327 -306
- package/dist/ua-parser-OzUiuIwt.js.map +1 -0
- package/dist/{useKeyboardShortcutsPaneState-C_eLceJQ.js → useKeyboardShortcutsPaneState-Ckzn5mVZ.js} +4 -4
- package/dist/{useKeyboardShortcutsPaneState-C_eLceJQ.js.map → useKeyboardShortcutsPaneState-Ckzn5mVZ.js.map} +1 -1
- package/package.json +57 -57
- package/src/translations/ar.json +7 -0
- package/src/translations/bg.json +7 -0
- package/src/translations/ca.json +7 -0
- package/src/translations/cs.json +7 -0
- package/src/translations/da.json +7 -0
- package/src/translations/de.json +7 -0
- package/src/translations/es-MX.json +7 -0
- package/src/translations/es.json +7 -0
- package/src/translations/et.json +7 -0
- package/src/translations/fi.json +7 -0
- package/src/translations/fil.json +7 -0
- package/src/translations/fr.json +7 -0
- package/src/translations/he.json +7 -0
- package/src/translations/hi.json +7 -0
- package/src/translations/hr.json +7 -0
- package/src/translations/hu.json +7 -0
- package/src/translations/id.json +7 -0
- package/src/translations/it.json +7 -0
- package/src/translations/ja.json +7 -0
- package/src/translations/ko.json +7 -0
- package/src/translations/nl.json +7 -0
- package/src/translations/pl.json +7 -0
- package/src/translations/pt-BR.json +7 -0
- package/src/translations/pt.json +7 -0
- package/src/translations/ro.json +7 -0
- package/src/translations/ru.json +7 -0
- package/src/translations/sk.json +7 -0
- package/src/translations/sl.json +7 -0
- package/src/translations/sv.json +7 -0
- package/src/translations/th.json +7 -0
- package/src/translations/tr.json +7 -0
- package/src/translations/uk.json +7 -0
- package/src/translations/vi.json +7 -0
- package/src/translations/zh-CN.json +7 -0
- package/src/translations/zh-TW.json +7 -0
- package/dist/cjs/ua-parser-E0eEtHJZ.js.map +0 -1
- package/dist/ua-parser-rRwDJPFB.js.map +0 -1
package/dist/cjs/ProductEmbed.js
CHANGED
|
@@ -335,13 +335,13 @@ var DynamicQueryParams = function DynamicQueryParams(_ref) {
|
|
|
335
335
|
var updateCustomization = _ref.updateCustomization;
|
|
336
336
|
var _useTranslation = reactI18next.useTranslation(),
|
|
337
337
|
t = _useTranslation.t;
|
|
338
|
-
var _useProductEmbedStore = useProductEmbedStore(function (store) {
|
|
338
|
+
var _useProductEmbedStore = useProductEmbedStore(shallow.useShallow(function (store) {
|
|
339
339
|
return {
|
|
340
340
|
queryParamsProps: store["queryParamsProps"],
|
|
341
341
|
queryParams: store["queryParams"],
|
|
342
342
|
setQueryParams: store["setQueryParams"]
|
|
343
343
|
};
|
|
344
|
-
}
|
|
344
|
+
})),
|
|
345
345
|
queryParamsProps = _useProductEmbedStore.queryParamsProps,
|
|
346
346
|
queryParams = _useProductEmbedStore.queryParams,
|
|
347
347
|
setQueryParams = _useProductEmbedStore.setQueryParams;
|
|
@@ -422,11 +422,11 @@ var ElementPopup$1 = function ElementPopup(_ref) {
|
|
|
422
422
|
var elementSelector = customization.elementSelector;
|
|
423
423
|
var _useTranslation = reactI18next.useTranslation(),
|
|
424
424
|
t = _useTranslation.t;
|
|
425
|
-
var _useProductEmbedStore = useProductEmbedStore(function (store) {
|
|
425
|
+
var _useProductEmbedStore = useProductEmbedStore(shallow.useShallow(function (store) {
|
|
426
426
|
return {
|
|
427
427
|
isQueryParamsEnabled: store["isQueryParamsEnabled"]
|
|
428
428
|
};
|
|
429
|
-
}
|
|
429
|
+
})),
|
|
430
430
|
isQueryParamsEnabled = _useProductEmbedStore.isQueryParamsEnabled;
|
|
431
431
|
React.useEffect(function () {
|
|
432
432
|
if (isQueryParamsEnabled) return;
|
|
@@ -459,11 +459,11 @@ var FloatingPopup$1 = function FloatingPopup(_ref) {
|
|
|
459
459
|
otherCustomizations = _ref.otherCustomizations;
|
|
460
460
|
var _useTranslation = reactI18next.useTranslation(),
|
|
461
461
|
t = _useTranslation.t;
|
|
462
|
-
var _useProductEmbedStore = useProductEmbedStore(function (store) {
|
|
462
|
+
var _useProductEmbedStore = useProductEmbedStore(shallow.useShallow(function (store) {
|
|
463
463
|
return {
|
|
464
464
|
isQueryParamsEnabled: store["isQueryParamsEnabled"]
|
|
465
465
|
};
|
|
466
|
-
}
|
|
466
|
+
})),
|
|
467
467
|
isQueryParamsEnabled = _useProductEmbedStore.isQueryParamsEnabled;
|
|
468
468
|
var btnTextColor = customization.btnTextColor,
|
|
469
469
|
showIcon = customization.showIcon,
|
|
@@ -598,11 +598,11 @@ var Iframe$1 = function Iframe(_ref) {
|
|
|
598
598
|
var updateCustomization = _ref.updateCustomization,
|
|
599
599
|
otherCustomizations = _ref.otherCustomizations,
|
|
600
600
|
customization = _ref.customization;
|
|
601
|
-
var _useProductEmbedStore = useProductEmbedStore(function (store) {
|
|
601
|
+
var _useProductEmbedStore = useProductEmbedStore(shallow.useShallow(function (store) {
|
|
602
602
|
return {
|
|
603
603
|
isQueryParamsEnabled: store["isQueryParamsEnabled"]
|
|
604
604
|
};
|
|
605
|
-
}
|
|
605
|
+
})),
|
|
606
606
|
isQueryParamsEnabled = _useProductEmbedStore.isQueryParamsEnabled;
|
|
607
607
|
React.useEffect(function () {
|
|
608
608
|
if (isQueryParamsEnabled) return;
|
|
@@ -626,11 +626,11 @@ var Inline$1 = function Inline(_ref) {
|
|
|
626
626
|
otherCustomizations = _ref.otherCustomizations;
|
|
627
627
|
var _useTranslation = reactI18next.useTranslation(),
|
|
628
628
|
t = _useTranslation.t;
|
|
629
|
-
var _useProductEmbedStore = useProductEmbedStore(function (store) {
|
|
629
|
+
var _useProductEmbedStore = useProductEmbedStore(shallow.useShallow(function (store) {
|
|
630
630
|
return {
|
|
631
631
|
isQueryParamsEnabled: store["isQueryParamsEnabled"]
|
|
632
632
|
};
|
|
633
|
-
}
|
|
633
|
+
})),
|
|
634
634
|
isQueryParamsEnabled = _useProductEmbedStore.isQueryParamsEnabled;
|
|
635
635
|
var elementSelector = customization.elementSelector;
|
|
636
636
|
var handleInputChange = function handleInputChange(_ref2, attribute) {
|
|
@@ -1568,11 +1568,11 @@ var Preview = function Preview(_ref) {
|
|
|
1568
1568
|
customization = _ref.customization,
|
|
1569
1569
|
_ref$customPreviewIfr = _ref.customPreviewIframeUrl,
|
|
1570
1570
|
customPreviewIframeUrl = _ref$customPreviewIfr === void 0 ? "" : _ref$customPreviewIfr;
|
|
1571
|
-
var _useProductEmbedStore = useProductEmbedStore(function (store) {
|
|
1571
|
+
var _useProductEmbedStore = useProductEmbedStore(shallow.useShallow(function (store) {
|
|
1572
1572
|
return {
|
|
1573
1573
|
queryParams: store["queryParams"]
|
|
1574
1574
|
};
|
|
1575
|
-
}
|
|
1575
|
+
})),
|
|
1576
1576
|
queryParams = _useProductEmbedStore.queryParams;
|
|
1577
1577
|
var preview = _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, EMBED_OPTIONS.INLINE, Inline), EMBED_OPTIONS.FLOATING_POPUP, FloatingPopup), EMBED_OPTIONS.ELEMENT_POPUP, ElementPopup), EMBED_OPTIONS.IFRAME, Iframe);
|
|
1578
1578
|
var previewURL = customPreviewIframeUrl || "".concat(location.origin, "/embed/").concat(id);
|
|
@@ -1819,11 +1819,11 @@ var ProductEmbed = function ProductEmbed(_ref) {
|
|
|
1819
1819
|
search = _useLocation.search;
|
|
1820
1820
|
var queryParams = new URLSearchParams(search);
|
|
1821
1821
|
var selectedEmbed = toCamelCasedString(queryParams.get("type"));
|
|
1822
|
-
var _useProductEmbedStore = useProductEmbedStore(function (store) {
|
|
1822
|
+
var _useProductEmbedStore = useProductEmbedStore(shallow.useShallow(function (store) {
|
|
1823
1823
|
return {
|
|
1824
1824
|
setProductEmbedState: store["setProductEmbedState"]
|
|
1825
1825
|
};
|
|
1826
|
-
}
|
|
1826
|
+
})),
|
|
1827
1827
|
setProductEmbedState = _useProductEmbedStore.setProductEmbedState;
|
|
1828
1828
|
React.useEffect(function () {
|
|
1829
1829
|
setProductEmbedState({
|