react-cosmos-ui 6.0.0-beta.7 → 6.0.0-beta.8
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/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/playground.bundle.js +1 -1
- package/dist/playground.bundle.js.map +1 -1
- package/dist/playground.js +2 -2
- package/dist/pluginMocks.d.ts +1 -0
- package/dist/pluginMocks.js +1 -0
- package/package.json +8 -8
- package/pluginMocks.d.ts +1 -0
- package/pluginMocks.js +1 -0
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1343,7 +1343,7 @@
|
|
|
1343
1343
|
}
|
|
1344
1344
|
|
|
1345
1345
|
a {}
|
|
1346
|
-
`;async function hh({playgroundConfig:n,pluginConfigs:o}){const{loadPlugins:a,Slot:i}=r;
|
|
1346
|
+
`;async function hh({playgroundConfig:n,pluginConfigs:o}){const{loadPlugins:a,Slot:i}=r;await Promise.all(o.map((async e=>{e.ui&&await async function(e){console.log(`[Cosmos] Loading plugin script at ${e}`);const t=e.startsWith("/")?e:`/${e}`;try{await import(`./_plugin${t}`)}catch(t){console.log(`[Cosmos] Failed to load plugin script ${e}`),console.log(t)}}(e.ui)}))),a({config:{...dh,...n}}),t.createRoot(document.getElementById("root")).render(e.createElement(e.Fragment,null,e.createElement(ph,null),e.createElement(i,{name:"root"})))}Te`
|
|
1347
1347
|
body {
|
|
1348
1348
|
background-color: ${Io};
|
|
1349
1349
|
/* Black checkerboard effect on background */
|