@superwall/studio 1.4.0 → 1.5.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.
- package/README.md +2 -2
- package/dist/assets/index-Bi2YHYVJ.js +11 -0
- package/dist/assets/index-DrsTCwot.css +1 -0
- package/dist/index.html +2 -2
- package/dist/lib/components/chrome/Toolbar.d.ts +1 -0
- package/dist/lib/components/chrome/TopBar.d.ts +1 -0
- package/dist/lib/components/icons.d.ts +1 -0
- package/dist/lib/components/menus/CompareMenu.d.ts +2 -1
- package/dist/lib/components/preview/Canvas.d.ts +18 -0
- package/dist/lib/components/preview/DeviceFrame.d.ts +4 -4
- package/dist/lib/components/preview/ResizeHandles.d.ts +13 -0
- package/dist/lib/index.d.ts +1 -1
- package/dist/lib/index.js +2296 -1616
- package/dist/lib/lib/canvas.d.ts +27 -0
- package/dist/lib/lib/contract.d.ts +7 -1
- package/dist/lib/lib/devices.d.ts +9 -0
- package/dist/lib/lib/host.d.ts +2 -1
- package/dist/lib/lib/presentation.d.ts +23 -0
- package/dist/lib/lib/preview.d.ts +1 -0
- package/dist/lib/lib/surfaces.d.ts +23 -2
- package/dist/lib/studio.css +1 -1
- package/package.json +2 -2
- package/src/components/DownloadScreenshot.tsx +45 -18
- package/src/components/PaywallToasts.tsx +5 -3
- package/src/components/chrome/Toolbar.tsx +47 -6
- package/src/components/chrome/TopBar.tsx +37 -3
- package/src/components/icons.tsx +6 -0
- package/src/components/menus/ActionMenu.tsx +1 -1
- package/src/components/menus/CompareMenu.tsx +49 -30
- package/src/components/preview/Canvas.tsx +426 -0
- package/src/components/preview/DeviceFrame.tsx +83 -74
- package/src/components/preview/ResizeHandles.tsx +205 -0
- package/src/index.ts +2 -0
- package/src/lib/canvas.ts +60 -0
- package/src/lib/contract.ts +8 -1
- package/src/lib/devices.ts +52 -4
- package/src/lib/host.ts +7 -2
- package/src/lib/presentation.ts +102 -0
- package/src/lib/preview.ts +3 -0
- package/src/lib/project.ts +43 -1
- package/src/lib/surfaces.ts +39 -1
- package/src/main.tsx +5 -1
- package/src/screens/SurfaceEditor.tsx +215 -52
- package/src/styles.css +46 -0
- package/dist/assets/index-GB-RwJI6.js +0 -11
- package/dist/assets/index-Sz7S5UsH.css +0 -1
package/README.md
CHANGED
|
@@ -124,8 +124,8 @@ editor. What the library gives a host:
|
|
|
124
124
|
controls for the User, Device, Params and Products groups the SDK reports.
|
|
125
125
|
Override changes hot-swap: the next frame loads hidden and crossfades, so
|
|
126
126
|
nothing ever flashes white. Shipping happens here too: an action menu runs
|
|
127
|
-
Push, Publish and Promote, and a Compare menu
|
|
128
|
-
the live
|
|
127
|
+
Push, Publish and Promote, and a Compare menu splits the stage against any
|
|
128
|
+
pushed version of the paywall (the live one marked) or another local one.
|
|
129
129
|
|
|
130
130
|
## Design
|
|
131
131
|
|