@embeddable.com/sdk-react 4.1.0-next.0 → 4.1.0
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.
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ResolvedEmbeddableConfig } from "@embeddable.com/sdk-core";
|
|
2
|
+
/**
|
|
3
|
+
* Gets the list of components that have preview exports.
|
|
4
|
+
* This includes both local components with preview exports and
|
|
5
|
+
* preview components from external libraries.
|
|
6
|
+
*/
|
|
7
|
+
export declare function getComponentsWithPreview(ctx: ResolvedEmbeddableConfig): Promise<string[]>;
|
|
8
|
+
/**
|
|
9
|
+
* Gets preview components from external component libraries.
|
|
10
|
+
*/
|
|
11
|
+
export declare function getAdditionalPreviews(ctx: ResolvedEmbeddableConfig): Promise<Record<string, string[]>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@embeddable.com/sdk-react",
|
|
3
|
-
"version": "4.1.0
|
|
3
|
+
"version": "4.1.0",
|
|
4
4
|
"description": "Embeddable SDK React plugin responsible for React components bundling.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"embeddable",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"@babel/generator": "^7.23.0",
|
|
35
35
|
"@babel/parser": "^7.26.2",
|
|
36
36
|
"@babel/traverse": "^7.24.7",
|
|
37
|
-
"@embeddable.com/sdk-core": "4.1.7
|
|
38
|
-
"@embeddable.com/sdk-utils": "0.8.3
|
|
37
|
+
"@embeddable.com/sdk-core": "4.1.7",
|
|
38
|
+
"@embeddable.com/sdk-utils": "0.8.3",
|
|
39
39
|
"@happy-dom/global-registrator": "^15.11.0",
|
|
40
40
|
"@vitejs/plugin-react": "^4.3.2",
|
|
41
41
|
"astring": "^1.8.6",
|