@rspress/plugin-preview 1.0.0-beta.2 → 1.0.0-beta.3
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 +6 -0
- package/dist/index.js +54 -2533
- package/dist/index.js.map +1 -1
- package/package.json +5 -4
- package/static/global-components/Container.scss +3 -3
- package/static/global-components/Container.tsx +77 -5
- package/static/global-components/common/mobile-operation.tsx +11 -2
- package/static/global-components/icons/Codesandbox.tsx +22 -0
package/dist/index.d.ts
CHANGED
@@ -12,6 +12,12 @@ type Options = {
|
|
12
12
|
* @default 'follow'
|
13
13
|
*/
|
14
14
|
iframePosition: 'fixed' | 'follow';
|
15
|
+
/**
|
16
|
+
* whether the demo can open in codesandbox
|
17
|
+
* @default false
|
18
|
+
* @experimental
|
19
|
+
*/
|
20
|
+
enableCodesandbox: boolean;
|
15
21
|
};
|
16
22
|
declare let routeMeta: RouteMeta[];
|
17
23
|
declare const demoRoutes: {
|