@superwall/studio 2.6.0-beta.2 → 2.6.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 +3 -2
- package/dist/assets/index-DxAD3ypH.js +13 -0
- package/dist/assets/index-OoJfE40v.css +1 -0
- package/dist/index.html +2 -2
- package/dist/lib/components/UpdateBanner.d.ts +6 -0
- package/dist/lib/components/icons.d.ts +5 -0
- package/dist/lib/components/menus/ProductsMenu.d.ts +7 -0
- package/dist/lib/index.d.ts +3 -1
- package/dist/lib/index.js +2620 -2333
- package/dist/lib/lib/contract.d.ts +14 -0
- package/dist/lib/lib/products.d.ts +5 -0
- package/dist/lib/lib/project.d.ts +2 -0
- package/dist/lib/lib/surfaces.d.ts +3 -2
- package/dist/lib/products.js +65 -33
- package/dist/lib/screens/SurfaceEditor.d.ts +2 -1
- package/dist/lib/studio.css +1 -1
- package/package.json +2 -2
- package/src/StudioApp.tsx +10 -2
- package/src/components/UpdateBanner.tsx +137 -0
- package/src/components/icons.tsx +43 -0
- package/src/components/menus/ProductsMenu.tsx +272 -0
- package/src/index.ts +4 -0
- package/src/lib/contract.ts +18 -0
- package/src/lib/products.ts +71 -5
- package/src/lib/project.ts +22 -0
- package/src/lib/surfaces.ts +4 -0
- package/src/screens/SurfaceEditor.tsx +6 -0
- package/src/screens/SurfaceList.tsx +2 -0
- package/src/styles.css +5 -0
- package/dist/assets/index-CrvkmzpL.js +0 -11
- package/dist/assets/index-DKNVIOVd.css +0 -1
package/README.md
CHANGED
|
@@ -132,8 +132,9 @@ version? }, onStep)` performs one and streams its steps, `status(surface)`
|
|
|
132
132
|
the sheet's `@property` rules at document level, where browsers expect them.
|
|
133
133
|
- `@superwall/studio/products` is the pure mapping from a dashboard product
|
|
134
134
|
(the v2 API shape) to the variables a paywall reads (`price`, `periodly`,
|
|
135
|
-
`trialPeriodDays`, …)
|
|
136
|
-
|
|
135
|
+
`trialPeriodDays`, `trialPeriodPrice`, …), with amounts in the currency's
|
|
136
|
+
own minor units. `superwall dev` uses it; the dashboard builds its samples
|
|
137
|
+
with its own pricing engine, so the two must be kept in step by hand.
|
|
137
138
|
- `@superwall/studio/contract` is a types-only entry: the action, status,
|
|
138
139
|
samples and app-scheme shapes the CLI implements for the framework's
|
|
139
140
|
preview server, importable from node without DOM types.
|