appfunnel 0.11.0 → 0.13.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/dist/index.js +561 -100
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/templates/default/README.md +69 -0
package/package.json
CHANGED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# __NAME__
|
|
2
|
+
|
|
3
|
+
Built with [AppFunnel Headless SDK](https://appfunnel.net/docs/headless).
|
|
4
|
+
|
|
5
|
+
## Getting Started
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install
|
|
9
|
+
appfunnel dev
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
## Commands
|
|
13
|
+
|
|
14
|
+
| Command | Description |
|
|
15
|
+
|---|---|
|
|
16
|
+
| `appfunnel dev` | Start local dev server with HMR |
|
|
17
|
+
| `appfunnel build` | Build for production |
|
|
18
|
+
| `appfunnel publish` | Deploy to AppFunnel |
|
|
19
|
+
|
|
20
|
+
## Project Structure
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
src/
|
|
24
|
+
├── funnel.tsx # Route definitions & layout
|
|
25
|
+
├── app.css # Global styles (Tailwind)
|
|
26
|
+
├── pages/ # One React component per funnel page
|
|
27
|
+
└── components/ # Shared components
|
|
28
|
+
appfunnel.config.ts # Project config, products, variables
|
|
29
|
+
locales/en.json # Localization strings
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Documentation
|
|
33
|
+
|
|
34
|
+
Full docs: **[appfunnel.net/docs/headless](https://appfunnel.net/docs/headless)**
|
|
35
|
+
|
|
36
|
+
### Guides
|
|
37
|
+
- [Getting Started](https://appfunnel.net/docs/headless/getting-started) — Setup, project structure, first page
|
|
38
|
+
- [Configuration](https://appfunnel.net/docs/headless/configuration) — `appfunnel.config.ts` reference
|
|
39
|
+
- [Payments](https://appfunnel.net/docs/headless/payments) — Stripe & Paddle integration
|
|
40
|
+
- [CLI Reference](https://appfunnel.net/docs/headless/cli) — All CLI commands
|
|
41
|
+
|
|
42
|
+
### Hooks
|
|
43
|
+
- [Responses](https://appfunnel.net/docs/headless/hooks/responses) — `useResponse`, `useResponses`
|
|
44
|
+
- [Data](https://appfunnel.net/docs/headless/hooks/data) — `useData`
|
|
45
|
+
- [Query Params](https://appfunnel.net/docs/headless/hooks/query-params) — `useQueryParam`, `useQueryParams`
|
|
46
|
+
- [Navigation](https://appfunnel.net/docs/headless/hooks/navigation) — `useNavigation`
|
|
47
|
+
- [User](https://appfunnel.net/docs/headless/hooks/user) — `useUser`
|
|
48
|
+
- [Products & Payments](https://appfunnel.net/docs/headless/hooks/products-and-payments) — `useProducts`, `useCheckout`
|
|
49
|
+
- [Tracking](https://appfunnel.net/docs/headless/hooks/tracking) — `useTracking`
|
|
50
|
+
- [Localization](https://appfunnel.net/docs/headless/hooks/localization) — `useLocale`, `useTranslation`
|
|
51
|
+
- [Device & Context](https://appfunnel.net/docs/headless/hooks/device) — `useKeyboard`, `useSafeArea`
|
|
52
|
+
- [useFunnel](https://appfunnel.net/docs/headless/hooks/use-funnel) — Low-level funnel access
|
|
53
|
+
- [Variables (Advanced)](https://appfunnel.net/docs/headless/hooks/variables) — `useVariable`, `useVariables`
|
|
54
|
+
|
|
55
|
+
### Elements
|
|
56
|
+
- [SingleSelect](https://appfunnel.net/docs/headless/elements/single-select) — Single-choice option list
|
|
57
|
+
- [MultiSelect](https://appfunnel.net/docs/headless/elements/multi-select) — Multi-choice option list
|
|
58
|
+
- [ProgressBar](https://appfunnel.net/docs/headless/elements/progress-bar) — Horizontal progress indicator
|
|
59
|
+
- [ProgressCircle](https://appfunnel.net/docs/headless/elements/progress-circle) — Circular progress indicator
|
|
60
|
+
- [Carousel](https://appfunnel.net/docs/headless/elements/carousel) — Swipeable card carousel
|
|
61
|
+
- [Marquee](https://appfunnel.net/docs/headless/elements/marquee) — Auto-scrolling content strip
|
|
62
|
+
- [CountUp](https://appfunnel.net/docs/headless/elements/countup) — Animated number counter
|
|
63
|
+
- [SpinnerWheel](https://appfunnel.net/docs/headless/elements/spinner-wheel) — Prize/discount spinner
|
|
64
|
+
- [Loading](https://appfunnel.net/docs/headless/elements/loading) — Loading screen with steps
|
|
65
|
+
- [Toast](https://appfunnel.net/docs/headless/elements/toast) — Toast notifications
|
|
66
|
+
- [Dialog](https://appfunnel.net/docs/headless/elements/dialog) — Modal dialog
|
|
67
|
+
- [Drawer](https://appfunnel.net/docs/headless/elements/drawer) — Bottom sheet drawer
|
|
68
|
+
- [motion](https://appfunnel.net/docs/headless/elements/motion) — Animation wrapper
|
|
69
|
+
- [Easing Utilities](https://appfunnel.net/docs/headless/elements/easing) — Easing functions
|