@bigbinary/neeto-molecules 1.6.3 → 1.6.4

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.
@@ -651,6 +651,30 @@
651
651
  },
652
652
  "moreDropdown": {
653
653
  "tooltip": "Actions"
654
+ },
655
+ "productEmbed": {
656
+ "embedOptions": {
657
+ "title": "Embed options",
658
+ "description": "Configure embed options"
659
+ },
660
+ "backToShare": "Back to share",
661
+ "customization": {
662
+ "inline": {
663
+ "title": "Embed window customization",
664
+ "width": "Width",
665
+ "height": "Height",
666
+ "elementId": "Element id",
667
+ "sizeOfEmbedWindow": "Size of embed window"
668
+ }
669
+ },
670
+ "tab": {
671
+ "html": "HTML",
672
+ "preview": "Preview"
673
+ },
674
+ "position": {
675
+ "bottomRight": "Bottom Right",
676
+ "bottomLeft": "Bottom Left"
677
+ }
654
678
  }
655
679
  }
656
680
  }
@@ -0,0 +1,17 @@
1
+ import React from "react";
2
+
3
+ interface InlineCustomizationProps {
4
+ width?: number;
5
+ height?: number;
6
+ elementSelector?: string;
7
+ }
8
+
9
+ const ProductEmbed: React.FC<{
10
+ className?: string;
11
+ defaultCustomizations?: { inline?: InlineCustomizationProps };
12
+ goBackLink?: string;
13
+ id: string;
14
+ options: { inline?: { label: string; description: string } };
15
+ }>;
16
+
17
+ export default ProductEmbed;