@bigbinary/neeto-molecules 3.16.65 → 3.16.67
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/FloatingActionMenu.js +1 -1
- package/dist/FloatingActionMenu.js.map +1 -1
- package/dist/ProductEmbed.js +158 -8
- package/dist/ProductEmbed.js.map +1 -1
- package/dist/cjs/FloatingActionMenu.js +1 -1
- package/dist/cjs/FloatingActionMenu.js.map +1 -1
- package/dist/cjs/ProductEmbed.js +158 -8
- package/dist/cjs/ProductEmbed.js.map +1 -1
- package/package.json +1 -1
- package/src/translations/en.json +4 -0
- package/types/ProductEmbed.d.ts +10 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-molecules",
|
|
3
|
-
"version": "3.16.
|
|
3
|
+
"version": "3.16.67",
|
|
4
4
|
"description": "A package of reusable molecular components for neeto products.",
|
|
5
5
|
"repository": "git@github.com:bigbinary/neeto-molecules.git",
|
|
6
6
|
"author": "Amaljith K <amaljith.k@bigbinary.com>",
|
package/src/translations/en.json
CHANGED
|
@@ -752,6 +752,10 @@
|
|
|
752
752
|
"label": "Click to open popup",
|
|
753
753
|
"elementIdError": "Please enter a valid element ID to embed the content."
|
|
754
754
|
},
|
|
755
|
+
"iframe": {
|
|
756
|
+
"title": "Iframe embed",
|
|
757
|
+
"sizeOfIframe": "Size of the iframe"
|
|
758
|
+
},
|
|
755
759
|
"queryParam": {
|
|
756
760
|
"label": "Query params",
|
|
757
761
|
"keyNamePlaceholder": "Enter key name",
|
package/types/ProductEmbed.d.ts
CHANGED
|
@@ -27,6 +27,15 @@ interface ElementPopupProps {
|
|
|
27
27
|
embedIcon?: React.FC;
|
|
28
28
|
elementSelector?: string;
|
|
29
29
|
}
|
|
30
|
+
interface IframeProps {
|
|
31
|
+
label: string;
|
|
32
|
+
description: string;
|
|
33
|
+
embedIcon?: React.FC;
|
|
34
|
+
width?: number;
|
|
35
|
+
height?: number;
|
|
36
|
+
iframeUrl?: string;
|
|
37
|
+
iframeTitle?: string;
|
|
38
|
+
}
|
|
30
39
|
type CodeSampleType = "html" | "react";
|
|
31
40
|
/**
|
|
32
41
|
*
|
|
@@ -89,6 +98,7 @@ declare const ProductEmbed: React.FC<{
|
|
|
89
98
|
inline?: InlineProps;
|
|
90
99
|
floatingPopup?: FloatingPopupProps;
|
|
91
100
|
elementPopup?: ElementPopupProps;
|
|
101
|
+
iframe?: IframeProps;
|
|
92
102
|
};
|
|
93
103
|
isQueryParamsEnabled?: boolean;
|
|
94
104
|
queryParamsProps?: {
|