@bigbinary/neeto-molecules 5.2.0 → 5.2.2
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/{Columns-BFBWAHqh.js → Columns-CLfAUkgh.js} +4 -4
- package/dist/Columns-CLfAUkgh.js.map +1 -0
- package/dist/{ConfigureView-CohhUNxy.js → ConfigureView-DfBAWbOJ.js} +4 -2
- package/dist/ConfigureView-DfBAWbOJ.js.map +1 -0
- package/dist/cjs/{Columns-CHOsnC9n.js → Columns-CKgVNYub.js} +4 -4
- package/dist/cjs/Columns-CKgVNYub.js.map +1 -0
- package/dist/cjs/{ConfigureView-CCjMYBjp.js → ConfigureView-BeNSaMvm.js} +4 -2
- package/dist/cjs/ConfigureView-BeNSaMvm.js.map +1 -0
- package/dist/cjs/{phone-number-DMH57syY.js → phone-number-YL_ULNtx.js} +2 -2
- package/dist/cjs/{phone-number-DMH57syY.js.map → phone-number-YL_ULNtx.js.map} +1 -1
- package/dist/cjs/v2/ButtonGroup.js +2 -2
- package/dist/cjs/v2/ButtonGroup.js.map +1 -1
- package/dist/cjs/v2/CalendarView.js +1 -1
- package/dist/cjs/v2/Codeblock.js +2 -2
- package/dist/cjs/v2/Codeblock.js.map +1 -1
- package/dist/cjs/v2/Columns.js +1 -1
- package/dist/cjs/v2/ConfigurePageSidebar.js +1 -1
- package/dist/cjs/v2/DndTable.js +121 -47
- package/dist/cjs/v2/DndTable.js.map +1 -1
- package/dist/cjs/v2/EmailPreview.js +1 -1
- package/dist/cjs/v2/EmailPreview.js.map +1 -1
- package/dist/cjs/v2/ErrorPage.js +2 -2
- package/dist/cjs/v2/ErrorPage.js.map +1 -1
- package/dist/cjs/v2/FloatingActionMenu.js +1 -1
- package/dist/cjs/v2/FloatingActionMenu.js.map +1 -1
- package/dist/cjs/v2/NeetoWidget.js +1 -1
- package/dist/cjs/v2/NeetoWidget.js.map +1 -1
- package/dist/cjs/v2/OptionFields.js +2 -2
- package/dist/cjs/v2/OptionFields.js.map +1 -1
- package/dist/cjs/v2/PhoneNumber.js +1 -1
- package/dist/cjs/v2/ProductEmbed.js +54 -28
- package/dist/cjs/v2/ProductEmbed.js.map +1 -1
- package/dist/cjs/v2/SessionEnvironment.js +1 -1
- package/dist/cjs/v2/ShareViaEmail.js +1 -1
- package/dist/cjs/v2/ShareViaEmail.js.map +1 -1
- package/dist/cjs/v2/ShareViaLink.js +30 -25
- package/dist/cjs/v2/ShareViaLink.js.map +1 -1
- package/dist/cjs/v2/Sidebar.js +1 -1
- package/dist/cjs/v2/SubHeader.js +1 -1
- package/dist/cjs/v2/Taxonomy.js +1 -1
- package/dist/{phone-number-D9soCpCv.js → phone-number-ChAzsdbN.js} +2 -2
- package/dist/{phone-number-D9soCpCv.js.map → phone-number-ChAzsdbN.js.map} +1 -1
- package/dist/v2/ButtonGroup.js +2 -2
- package/dist/v2/ButtonGroup.js.map +1 -1
- package/dist/v2/CalendarView.js +1 -1
- package/dist/v2/Codeblock.js +2 -2
- package/dist/v2/Codeblock.js.map +1 -1
- package/dist/v2/Columns.js +1 -1
- package/dist/v2/ConfigurePageSidebar.js +1 -1
- package/dist/v2/DndTable.js +122 -48
- package/dist/v2/DndTable.js.map +1 -1
- package/dist/v2/EmailPreview.js +1 -1
- package/dist/v2/EmailPreview.js.map +1 -1
- package/dist/v2/ErrorPage.js +2 -2
- package/dist/v2/ErrorPage.js.map +1 -1
- package/dist/v2/FloatingActionMenu.js +1 -1
- package/dist/v2/FloatingActionMenu.js.map +1 -1
- package/dist/v2/NeetoWidget.js +1 -1
- package/dist/v2/NeetoWidget.js.map +1 -1
- package/dist/v2/OptionFields.js +2 -2
- package/dist/v2/OptionFields.js.map +1 -1
- package/dist/v2/PhoneNumber.js +2 -2
- package/dist/v2/ProductEmbed.js +55 -29
- package/dist/v2/ProductEmbed.js.map +1 -1
- package/dist/v2/SessionEnvironment.js +1 -1
- package/dist/v2/ShareViaEmail.js +1 -1
- package/dist/v2/ShareViaEmail.js.map +1 -1
- package/dist/v2/ShareViaLink.js +30 -25
- package/dist/v2/ShareViaLink.js.map +1 -1
- package/dist/v2/Sidebar.js +1 -1
- package/dist/v2/SubHeader.js +1 -1
- package/dist/v2/Taxonomy.js +1 -1
- package/package.json +3 -3
- package/src/translations/en.json +4 -0
- package/dist/Columns-BFBWAHqh.js.map +0 -1
- package/dist/ConfigureView-CohhUNxy.js.map +0 -1
- package/dist/cjs/Columns-CHOsnC9n.js.map +0 -1
- package/dist/cjs/ConfigureView-CCjMYBjp.js.map +0 -1
package/dist/v2/ProductEmbed.js
CHANGED
|
@@ -4,7 +4,7 @@ import { isPresent, filterBy, hyphenate, noop } from '@bigbinary/neeto-cist';
|
|
|
4
4
|
import { useLocation, useHistory } from 'react-router-dom';
|
|
5
5
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
6
6
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
7
|
-
import { Label, Input, Button, Select, ColorPicker, Checkbox, Switch, Typography, Spinner } from '@bigbinary/neeto-atoms';
|
|
7
|
+
import { Label, Input, Button, Select, ColorPicker, Checkbox, Switch, Typography, Spinner, Callout } from '@bigbinary/neeto-atoms';
|
|
8
8
|
import classnames from 'classnames';
|
|
9
9
|
import useStateWithDependency from '@bigbinary/neeto-commons-frontend/v2/react-utils/useStateWithDependency';
|
|
10
10
|
import { toPairs, mergeDeepLeft, isEmpty, mergeLeft } from 'ramda';
|
|
@@ -504,6 +504,9 @@ var FloatingPopup$1 = function FloatingPopup(_ref) {
|
|
|
504
504
|
className: "flex flex-col gap-y-2",
|
|
505
505
|
children: /*#__PURE__*/jsx(Select, {
|
|
506
506
|
dataTestId: "button-position-select-field",
|
|
507
|
+
dropdownProps: {
|
|
508
|
+
className: "min-w-max"
|
|
509
|
+
},
|
|
507
510
|
label: t("neetoMolecules.productEmbed.floatingPopup.button.pos"),
|
|
508
511
|
options: FLOATING_BUTTON_POSITIONS,
|
|
509
512
|
value: btnPosition,
|
|
@@ -581,6 +584,7 @@ var SwitchOptions = function SwitchOptions(_ref) {
|
|
|
581
584
|
rest = _objectWithoutProperties(_ref3$, _excluded);
|
|
582
585
|
return /*#__PURE__*/jsx(Switch, {
|
|
583
586
|
checked: value,
|
|
587
|
+
size: "lg",
|
|
584
588
|
label: /*#__PURE__*/jsxs("span", {
|
|
585
589
|
className: "flex items-center gap-1",
|
|
586
590
|
children: [label || SWITCH_OPTIONS[option].label, helpIconProps && /*#__PURE__*/jsx(HelpPopover, _objectSpread$6({}, helpIconProps.popoverProps))]
|
|
@@ -678,19 +682,19 @@ var InlineEmbedIcon = function InlineEmbedIcon(_ref) {
|
|
|
678
682
|
children: [/*#__PURE__*/jsxs("g", {
|
|
679
683
|
clipPath: "url(#clip0_8605_6776)",
|
|
680
684
|
children: [/*#__PURE__*/jsx("rect", {
|
|
681
|
-
fill: "
|
|
685
|
+
fill: "var(--background)",
|
|
682
686
|
height: "163",
|
|
683
687
|
rx: "6",
|
|
684
688
|
width: "278"
|
|
685
689
|
}), /*#__PURE__*/jsx("mask", {
|
|
686
|
-
fill: "
|
|
690
|
+
fill: "var(--background)",
|
|
687
691
|
id: "path-3-inside-1_8605_6776",
|
|
688
692
|
children: /*#__PURE__*/jsx("path", {
|
|
689
693
|
d: "M0 0h305v20H0z"
|
|
690
694
|
})
|
|
691
695
|
}), /*#__PURE__*/jsx("path", {
|
|
692
696
|
d: "M0 0h305v20H0z",
|
|
693
|
-
fill: "
|
|
697
|
+
fill: "var(--background)"
|
|
694
698
|
}), /*#__PURE__*/jsx("path", {
|
|
695
699
|
d: "M305 19H0v2h305z",
|
|
696
700
|
fill: "currentColor",
|
|
@@ -716,7 +720,7 @@ var InlineEmbedIcon = function InlineEmbedIcon(_ref) {
|
|
|
716
720
|
}), /*#__PURE__*/jsx("rect", {
|
|
717
721
|
height: "103.55",
|
|
718
722
|
rx: "5.217",
|
|
719
|
-
stroke: "
|
|
723
|
+
stroke: "var(--border)",
|
|
720
724
|
strokeWidth: "0.45",
|
|
721
725
|
width: "205.55",
|
|
722
726
|
x: "36.225",
|
|
@@ -898,7 +902,7 @@ var InlineEmbedIcon = function InlineEmbedIcon(_ref) {
|
|
|
898
902
|
}), /*#__PURE__*/jsx("rect", {
|
|
899
903
|
height: "162",
|
|
900
904
|
rx: "5.5",
|
|
901
|
-
stroke: "
|
|
905
|
+
stroke: "var(--border)",
|
|
902
906
|
width: "277",
|
|
903
907
|
x: "0.5",
|
|
904
908
|
y: "0.5"
|
|
@@ -906,7 +910,7 @@ var InlineEmbedIcon = function InlineEmbedIcon(_ref) {
|
|
|
906
910
|
children: /*#__PURE__*/jsx("clipPath", {
|
|
907
911
|
id: "clip0_8605_6776",
|
|
908
912
|
children: /*#__PURE__*/jsx("rect", {
|
|
909
|
-
fill: "
|
|
913
|
+
fill: "var(--background)",
|
|
910
914
|
height: "163",
|
|
911
915
|
rx: "6",
|
|
912
916
|
width: "278"
|
|
@@ -927,19 +931,19 @@ var FloatingPopupIcon = function FloatingPopupIcon(_ref2) {
|
|
|
927
931
|
children: [/*#__PURE__*/jsxs("g", {
|
|
928
932
|
clipPath: "url(#clip0_9047_10870)",
|
|
929
933
|
children: [/*#__PURE__*/jsx("rect", {
|
|
930
|
-
fill: "
|
|
934
|
+
fill: "var(--background)",
|
|
931
935
|
height: "163",
|
|
932
936
|
rx: "6",
|
|
933
937
|
width: "278"
|
|
934
938
|
}), /*#__PURE__*/jsx("mask", {
|
|
935
|
-
fill: "
|
|
939
|
+
fill: "var(--background)",
|
|
936
940
|
id: "path-3-inside-1_9047_10870",
|
|
937
941
|
children: /*#__PURE__*/jsx("path", {
|
|
938
942
|
d: "M0 0H305V20H0V0Z"
|
|
939
943
|
})
|
|
940
944
|
}), /*#__PURE__*/jsx("path", {
|
|
941
945
|
d: "M0 0H305V20H0V0Z",
|
|
942
|
-
fill: "
|
|
946
|
+
fill: "var(--background)"
|
|
943
947
|
}), /*#__PURE__*/jsx("path", {
|
|
944
948
|
d: "M305 19H0V21H305V19Z",
|
|
945
949
|
fill: "currentColor",
|
|
@@ -1035,7 +1039,7 @@ var FloatingPopupIcon = function FloatingPopupIcon(_ref2) {
|
|
|
1035
1039
|
}), /*#__PURE__*/jsx("rect", {
|
|
1036
1040
|
height: "162",
|
|
1037
1041
|
rx: "5.5",
|
|
1038
|
-
stroke: "
|
|
1042
|
+
stroke: "var(--border)",
|
|
1039
1043
|
width: "277",
|
|
1040
1044
|
x: "0.5",
|
|
1041
1045
|
y: "0.5"
|
|
@@ -1050,7 +1054,7 @@ var FloatingPopupIcon = function FloatingPopupIcon(_ref2) {
|
|
|
1050
1054
|
children: /*#__PURE__*/jsx("clipPath", {
|
|
1051
1055
|
id: "clip0_9047_10870",
|
|
1052
1056
|
children: /*#__PURE__*/jsx("rect", {
|
|
1053
|
-
fill: "
|
|
1057
|
+
fill: "var(--background)",
|
|
1054
1058
|
height: "163",
|
|
1055
1059
|
rx: "6",
|
|
1056
1060
|
width: "278"
|
|
@@ -1071,19 +1075,19 @@ var ElementPopupIcon = function ElementPopupIcon(_ref3) {
|
|
|
1071
1075
|
children: [/*#__PURE__*/jsxs("g", {
|
|
1072
1076
|
clipPath: "url(#clip0_9047_10869)",
|
|
1073
1077
|
children: [/*#__PURE__*/jsx("rect", {
|
|
1074
|
-
fill: "
|
|
1078
|
+
fill: "var(--background)",
|
|
1075
1079
|
height: "163",
|
|
1076
1080
|
rx: "6",
|
|
1077
1081
|
width: "278"
|
|
1078
1082
|
}), /*#__PURE__*/jsx("mask", {
|
|
1079
|
-
fill: "
|
|
1083
|
+
fill: "var(--background)",
|
|
1080
1084
|
id: "path-3-inside-1_9047_10869",
|
|
1081
1085
|
children: /*#__PURE__*/jsx("path", {
|
|
1082
1086
|
d: "M0 0h305v20H0z"
|
|
1083
1087
|
})
|
|
1084
1088
|
}), /*#__PURE__*/jsx("path", {
|
|
1085
1089
|
d: "M0 0h305v20H0z",
|
|
1086
|
-
fill: "
|
|
1090
|
+
fill: "var(--background)"
|
|
1087
1091
|
}), /*#__PURE__*/jsx("path", {
|
|
1088
1092
|
d: "M305 19H0v2h305z",
|
|
1089
1093
|
fill: "currentColor",
|
|
@@ -1107,7 +1111,7 @@ var ElementPopupIcon = function ElementPopupIcon(_ref3) {
|
|
|
1107
1111
|
}), /*#__PURE__*/jsx("rect", {
|
|
1108
1112
|
height: "162",
|
|
1109
1113
|
rx: "5.5",
|
|
1110
|
-
stroke: "
|
|
1114
|
+
stroke: "var(--border)",
|
|
1111
1115
|
width: "277",
|
|
1112
1116
|
x: "0.5",
|
|
1113
1117
|
y: "0.5"
|
|
@@ -1165,7 +1169,7 @@ var ElementPopupIcon = function ElementPopupIcon(_ref3) {
|
|
|
1165
1169
|
children: /*#__PURE__*/jsx("clipPath", {
|
|
1166
1170
|
id: "clip0_9047_10869",
|
|
1167
1171
|
children: /*#__PURE__*/jsx("rect", {
|
|
1168
|
-
fill: "
|
|
1172
|
+
fill: "var(--background)",
|
|
1169
1173
|
height: "163",
|
|
1170
1174
|
rx: "6",
|
|
1171
1175
|
width: "278"
|
|
@@ -1260,10 +1264,13 @@ var Code = function Code(_ref) {
|
|
|
1260
1264
|
children: [/*#__PURE__*/jsxs("div", {
|
|
1261
1265
|
className: "flex items-center justify-between",
|
|
1262
1266
|
children: [/*#__PURE__*/jsx(Typography, {
|
|
1263
|
-
variant: "
|
|
1267
|
+
variant: "h6",
|
|
1264
1268
|
children: t("neetoMolecules.productEmbed.embedCode")
|
|
1265
1269
|
}), /*#__PURE__*/jsx(Select, {
|
|
1266
1270
|
className: "w-28 flex-grow-0",
|
|
1271
|
+
dropdownProps: {
|
|
1272
|
+
className: "min-w-max"
|
|
1273
|
+
},
|
|
1267
1274
|
options: supportedLanguagesOptions,
|
|
1268
1275
|
size: "small",
|
|
1269
1276
|
value: selectedLanguage,
|
|
@@ -1652,11 +1659,11 @@ var EmbedRenderer = function EmbedRenderer(_ref) {
|
|
|
1652
1659
|
}, []);
|
|
1653
1660
|
return /*#__PURE__*/jsxs(Container, {
|
|
1654
1661
|
"data-testid": "embed-product",
|
|
1655
|
-
className: classnames("neeto-molecules-embed flex w-full flex-grow flex-col
|
|
1662
|
+
className: classnames("neeto-molecules-embed flex w-full flex-grow flex-col !px-0 md:flex-row", className),
|
|
1656
1663
|
children: [/*#__PURE__*/jsxs("div", {
|
|
1657
1664
|
className: "md:border-border flex w-full shrink-0 flex-col items-start overflow-y-auto px-5 py-8 md:h-full md:max-w-[25rem] md:overflow-y-auto md:border-e md:px-10 lg:max-w-[30.3125rem]",
|
|
1658
1665
|
children: [/*#__PURE__*/jsx(Button, {
|
|
1659
|
-
className: "mb-4",
|
|
1666
|
+
className: "mb-4 rtl:[&_svg]:scale-x-[-1]",
|
|
1660
1667
|
"data-testid": "back-to-embed-selection-button",
|
|
1661
1668
|
icon: ArrowLeft,
|
|
1662
1669
|
iconPosition: "left",
|
|
@@ -1670,6 +1677,7 @@ var EmbedRenderer = function EmbedRenderer(_ref) {
|
|
|
1670
1677
|
title: EMBED_TITLES[selectedEmbed]
|
|
1671
1678
|
}), description && /*#__PURE__*/jsx(Typography, {
|
|
1672
1679
|
className: "mt-2",
|
|
1680
|
+
color: "muted",
|
|
1673
1681
|
"data-testid": "".concat(hyphenate(selectedEmbed), "-description"),
|
|
1674
1682
|
variant: "body2",
|
|
1675
1683
|
children: description
|
|
@@ -1713,15 +1721,17 @@ var EmbedSelector = function EmbedSelector(_ref) {
|
|
|
1713
1721
|
goBackLink = _ref.goBackLink,
|
|
1714
1722
|
title = _ref.title,
|
|
1715
1723
|
titleHelpPopoverProps = _ref.titleHelpPopoverProps,
|
|
1716
|
-
subTitleHelpPopoverProps = _ref.subTitleHelpPopoverProps
|
|
1724
|
+
subTitleHelpPopoverProps = _ref.subTitleHelpPopoverProps,
|
|
1725
|
+
_ref$showBrowserSuppo = _ref.showBrowserSupportNote,
|
|
1726
|
+
showBrowserSupportNote = _ref$showBrowserSuppo === void 0 ? false : _ref$showBrowserSuppo;
|
|
1717
1727
|
var _useTranslation = useTranslation(),
|
|
1718
1728
|
t = _useTranslation.t;
|
|
1719
1729
|
var history = useHistory();
|
|
1720
1730
|
var location = useLocation();
|
|
1721
1731
|
return /*#__PURE__*/jsxs(Container, {
|
|
1722
|
-
className: "neeto-molecules-embed-landing-page py-8",
|
|
1732
|
+
className: "neeto-molecules-embed-landing-page py-8 pb-10",
|
|
1723
1733
|
children: [goBackLink && /*#__PURE__*/jsx(Button, {
|
|
1724
|
-
className: "mb-4",
|
|
1734
|
+
className: "mb-4 rtl:[&_svg]:scale-x-[-1]",
|
|
1725
1735
|
"data-testid": "back-button",
|
|
1726
1736
|
icon: ArrowLeft,
|
|
1727
1737
|
iconPosition: "left",
|
|
@@ -1738,16 +1748,28 @@ var EmbedSelector = function EmbedSelector(_ref) {
|
|
|
1738
1748
|
className: "mx-auto w-full max-w-5xl py-6 md:py-10",
|
|
1739
1749
|
children: [/*#__PURE__*/jsxs(Typography, {
|
|
1740
1750
|
className: "mb-2",
|
|
1741
|
-
variant: "
|
|
1751
|
+
variant: "h4",
|
|
1742
1752
|
children: [title || t("neetoMolecules.productEmbed.embedSelectionTitle", {
|
|
1743
1753
|
productName: globalProps$1.appName
|
|
1744
1754
|
}), isPresent(subTitleHelpPopoverProps) && /*#__PURE__*/jsx(HelpPopover, _objectSpread(_objectSpread({}, subTitleHelpPopoverProps), {}, {
|
|
1745
|
-
className: classnames("
|
|
1755
|
+
className: classnames("ms-2 align-middle", subTitleHelpPopoverProps === null || subTitleHelpPopoverProps === void 0 ? void 0 : subTitleHelpPopoverProps.className)
|
|
1746
1756
|
}))]
|
|
1747
1757
|
}), /*#__PURE__*/jsx(Typography, {
|
|
1748
|
-
|
|
1758
|
+
color: "muted",
|
|
1749
1759
|
variant: "body1",
|
|
1760
|
+
className: classnames({
|
|
1761
|
+
"mb-6": showBrowserSupportNote,
|
|
1762
|
+
"mb-8": !showBrowserSupportNote
|
|
1763
|
+
}),
|
|
1750
1764
|
children: t("neetoMolecules.productEmbed.embedSelectionDescription")
|
|
1765
|
+
}), showBrowserSupportNote && /*#__PURE__*/jsx(Callout, {
|
|
1766
|
+
className: "mb-8",
|
|
1767
|
+
icon: function icon() {
|
|
1768
|
+
return null;
|
|
1769
|
+
},
|
|
1770
|
+
title: t("neetoMolecules.productEmbed.browserSupport.title"),
|
|
1771
|
+
variant: "warning",
|
|
1772
|
+
children: t("neetoMolecules.productEmbed.browserSupport.description")
|
|
1751
1773
|
}), /*#__PURE__*/jsx("div", {
|
|
1752
1774
|
className: "grid w-full grid-cols-1 flex-wrap gap-6 md:grid-cols-3",
|
|
1753
1775
|
children: Object.entries(options).map(function (_ref2) {
|
|
@@ -1759,7 +1781,7 @@ var EmbedSelector = function EmbedSelector(_ref) {
|
|
|
1759
1781
|
embedIcon = _ref3$.embedIcon;
|
|
1760
1782
|
var EmbedIcon = embedIcon || EMBED_ICONS[key];
|
|
1761
1783
|
return /*#__PURE__*/jsxs("button", {
|
|
1762
|
-
className: "border-border bg-background outline-background hover:border-primary hover:outline-primary flex w-full flex-col rounded-xl border p-6 text-start outline outline-1 transition-all motion-reduce:transition-none",
|
|
1784
|
+
className: "border-border bg-background outline-background hover:border-primary hover:outline-primary flex w-full cursor-pointer flex-col rounded-xl border p-6 text-start outline outline-1 transition-all motion-reduce:transition-none",
|
|
1763
1785
|
"data-testid": "embed-selector-card-".concat(hyphenate(key)),
|
|
1764
1786
|
onClick: handleMetaClick(history, "".concat(location.pathname, "?type=").concat(hyphenate(key))),
|
|
1765
1787
|
children: [/*#__PURE__*/jsx("span", {
|
|
@@ -1769,9 +1791,10 @@ var EmbedSelector = function EmbedSelector(_ref) {
|
|
|
1769
1791
|
})
|
|
1770
1792
|
}), /*#__PURE__*/jsx(Typography, {
|
|
1771
1793
|
className: "mb-2",
|
|
1772
|
-
variant: "
|
|
1794
|
+
variant: "h6",
|
|
1773
1795
|
children: label
|
|
1774
1796
|
}), /*#__PURE__*/jsx(Typography, {
|
|
1797
|
+
color: "muted",
|
|
1775
1798
|
variant: "body2",
|
|
1776
1799
|
children: description
|
|
1777
1800
|
})]
|
|
@@ -1812,7 +1835,9 @@ var ProductEmbed = function ProductEmbed(_ref) {
|
|
|
1812
1835
|
_ref$iframeStyle = _ref.iframeStyle,
|
|
1813
1836
|
iframeStyle = _ref$iframeStyle === void 0 ? "height: 100%; width: 100%;" : _ref$iframeStyle,
|
|
1814
1837
|
_ref$supportedLanguag = _ref.supportedLanguages,
|
|
1815
|
-
supportedLanguages = _ref$supportedLanguag === void 0 ? ["html"] : _ref$supportedLanguag
|
|
1838
|
+
supportedLanguages = _ref$supportedLanguag === void 0 ? ["html"] : _ref$supportedLanguag,
|
|
1839
|
+
_ref$showBrowserSuppo = _ref.showBrowserSupportNote,
|
|
1840
|
+
showBrowserSupportNote = _ref$showBrowserSuppo === void 0 ? false : _ref$showBrowserSuppo;
|
|
1816
1841
|
var _useLocation = useLocation(),
|
|
1817
1842
|
search = _useLocation.search;
|
|
1818
1843
|
var queryParams = new URLSearchParams(search);
|
|
@@ -1845,6 +1870,7 @@ var ProductEmbed = function ProductEmbed(_ref) {
|
|
|
1845
1870
|
}) : /*#__PURE__*/jsx(EmbedSelector, {
|
|
1846
1871
|
goBackLink: goBackLink,
|
|
1847
1872
|
options: options,
|
|
1873
|
+
showBrowserSupportNote: showBrowserSupportNote,
|
|
1848
1874
|
subTitleHelpPopoverProps: subTitleHelpPopoverProps,
|
|
1849
1875
|
title: title,
|
|
1850
1876
|
titleHelpPopoverProps: titleHelpPopoverProps
|