@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.
Files changed (74) hide show
  1. package/dist/BrowserSupport.js +1 -1
  2. package/dist/DownloadMobileAppCallout.js +1 -1
  3. package/dist/ErrorPage.js +3 -3
  4. package/dist/ErrorPage.js.map +1 -1
  5. package/dist/FloatingActionMenu.js +3 -3
  6. package/dist/FloatingActionMenu.js.map +1 -1
  7. package/dist/KeyboardShortcuts.js +2 -2
  8. package/dist/ProductEmbed.js +15 -15
  9. package/dist/ProductEmbed.js.map +1 -1
  10. package/dist/ShareViaLink.js +446 -179
  11. package/dist/ShareViaLink.js.map +1 -1
  12. package/dist/Sidebar.js +1 -1
  13. package/dist/StickyRibbonsContainer.js +3 -3
  14. package/dist/StickyRibbonsContainer.js.map +1 -1
  15. package/dist/cjs/BrowserSupport.js +1 -1
  16. package/dist/cjs/DownloadMobileAppCallout.js +1 -1
  17. package/dist/cjs/ErrorPage.js +2 -2
  18. package/dist/cjs/ErrorPage.js.map +1 -1
  19. package/dist/cjs/FloatingActionMenu.js +3 -3
  20. package/dist/cjs/FloatingActionMenu.js.map +1 -1
  21. package/dist/cjs/KeyboardShortcuts.js +2 -2
  22. package/dist/cjs/ProductEmbed.js +14 -14
  23. package/dist/cjs/ProductEmbed.js.map +1 -1
  24. package/dist/cjs/ShareViaLink.js +446 -179
  25. package/dist/cjs/ShareViaLink.js.map +1 -1
  26. package/dist/cjs/Sidebar.js +1 -1
  27. package/dist/cjs/StickyRibbonsContainer.js +2 -2
  28. package/dist/cjs/StickyRibbonsContainer.js.map +1 -1
  29. package/dist/cjs/{ua-parser-E0eEtHJZ.js → ua-parser-DgQ3nYoO.js} +327 -306
  30. package/dist/cjs/ua-parser-DgQ3nYoO.js.map +1 -0
  31. package/dist/cjs/{useKeyboardShortcutsPaneState-YnXpWOcs.js → useKeyboardShortcutsPaneState-BrgdLb9F.js} +3 -3
  32. package/dist/cjs/{useKeyboardShortcutsPaneState-YnXpWOcs.js.map → useKeyboardShortcutsPaneState-BrgdLb9F.js.map} +1 -1
  33. package/dist/{ua-parser-rRwDJPFB.js → ua-parser-OzUiuIwt.js} +327 -306
  34. package/dist/ua-parser-OzUiuIwt.js.map +1 -0
  35. package/dist/{useKeyboardShortcutsPaneState-C_eLceJQ.js → useKeyboardShortcutsPaneState-Ckzn5mVZ.js} +4 -4
  36. package/dist/{useKeyboardShortcutsPaneState-C_eLceJQ.js.map → useKeyboardShortcutsPaneState-Ckzn5mVZ.js.map} +1 -1
  37. package/package.json +57 -57
  38. package/src/translations/ar.json +7 -0
  39. package/src/translations/bg.json +7 -0
  40. package/src/translations/ca.json +7 -0
  41. package/src/translations/cs.json +7 -0
  42. package/src/translations/da.json +7 -0
  43. package/src/translations/de.json +7 -0
  44. package/src/translations/es-MX.json +7 -0
  45. package/src/translations/es.json +7 -0
  46. package/src/translations/et.json +7 -0
  47. package/src/translations/fi.json +7 -0
  48. package/src/translations/fil.json +7 -0
  49. package/src/translations/fr.json +7 -0
  50. package/src/translations/he.json +7 -0
  51. package/src/translations/hi.json +7 -0
  52. package/src/translations/hr.json +7 -0
  53. package/src/translations/hu.json +7 -0
  54. package/src/translations/id.json +7 -0
  55. package/src/translations/it.json +7 -0
  56. package/src/translations/ja.json +7 -0
  57. package/src/translations/ko.json +7 -0
  58. package/src/translations/nl.json +7 -0
  59. package/src/translations/pl.json +7 -0
  60. package/src/translations/pt-BR.json +7 -0
  61. package/src/translations/pt.json +7 -0
  62. package/src/translations/ro.json +7 -0
  63. package/src/translations/ru.json +7 -0
  64. package/src/translations/sk.json +7 -0
  65. package/src/translations/sl.json +7 -0
  66. package/src/translations/sv.json +7 -0
  67. package/src/translations/th.json +7 -0
  68. package/src/translations/tr.json +7 -0
  69. package/src/translations/uk.json +7 -0
  70. package/src/translations/vi.json +7 -0
  71. package/src/translations/zh-CN.json +7 -0
  72. package/src/translations/zh-TW.json +7 -0
  73. package/dist/cjs/ua-parser-E0eEtHJZ.js.map +0 -1
  74. package/dist/ua-parser-rRwDJPFB.js.map +0 -1
@@ -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
- }, shallow.shallow),
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
- }, shallow.shallow),
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
- }, shallow.shallow),
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
- }, shallow.shallow),
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
- }, shallow.shallow),
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
- }, shallow.shallow),
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
- }, shallow.shallow),
1826
+ })),
1827
1827
  setProductEmbedState = _useProductEmbedStore.setProductEmbedState;
1828
1828
  React.useEffect(function () {
1829
1829
  setProductEmbedState({