@plasmicapp/loader-react 1.0.124 → 1.0.125
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/loader-react.cjs.development.js +4 -0
- package/dist/loader-react.cjs.development.js.map +1 -1
- package/dist/loader-react.cjs.production.min.js +1 -1
- package/dist/loader-react.cjs.production.min.js.map +1 -1
- package/dist/loader-react.esm.js +5 -1
- package/dist/loader-react.esm.js.map +1 -1
- package/dist/loader.d.ts +4 -3
- package/package.json +3 -3
package/dist/loader.d.ts
CHANGED
|
@@ -80,7 +80,7 @@ export declare class InternalPlasmicComponentLoader {
|
|
|
80
80
|
private fetchMissingData;
|
|
81
81
|
private maybeReportClientSideFetch;
|
|
82
82
|
getActiveVariation(opts: {
|
|
83
|
-
traits: Record<string, string | number>;
|
|
83
|
+
traits: Record<string, string | number | boolean>;
|
|
84
84
|
getKnownValue: (key: string) => string | undefined;
|
|
85
85
|
updateKnownValue: (key: string, value: string) => void;
|
|
86
86
|
}): Promise<Record<string, string>>;
|
|
@@ -158,14 +158,15 @@ export declare class PlasmicComponentLoader {
|
|
|
158
158
|
*/
|
|
159
159
|
fetchComponents(): Promise<ComponentMeta[]>;
|
|
160
160
|
protected _getActiveVariation(opts: {
|
|
161
|
-
traits: Record<string, string | number>;
|
|
161
|
+
traits: Record<string, string | number | boolean>;
|
|
162
162
|
getKnownValue: (key: string) => string | undefined;
|
|
163
163
|
updateKnownValue: (key: string, value: string) => void;
|
|
164
164
|
}): Promise<Record<string, string>>;
|
|
165
165
|
getActiveVariation(opts: {
|
|
166
166
|
known?: Record<string, string>;
|
|
167
|
-
traits: Record<string, string | number>;
|
|
167
|
+
traits: Record<string, string | number | boolean>;
|
|
168
168
|
}): Promise<Record<string, string>>;
|
|
169
|
+
getExternalVariation(variation: Record<string, string>): Record<string, string>;
|
|
169
170
|
getActiveSplits(): import("@plasmicapp/loader-core").Split[];
|
|
170
171
|
clearCache(): void;
|
|
171
172
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plasmicapp/loader-react",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.125",
|
|
4
4
|
"module": "dist/loader-react.esm.js",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@plasmicapp/host": "1.0.49",
|
|
26
26
|
"@plasmicapp/loader-core": "1.0.73",
|
|
27
|
-
"@plasmicapp/loader-splits": "1.0.
|
|
27
|
+
"@plasmicapp/loader-splits": "1.0.6",
|
|
28
28
|
"@plasmicapp/query": "0.1.49",
|
|
29
29
|
"pascalcase": "^1.0.0",
|
|
30
30
|
"react-is": "^17.0.2",
|
|
@@ -74,5 +74,5 @@
|
|
|
74
74
|
"typescript": "^4.3.2"
|
|
75
75
|
},
|
|
76
76
|
"license": "MIT",
|
|
77
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "bf8ca88e4d71e07b368eb012bddf69c67532ead7"
|
|
78
78
|
}
|