@zakkster/lite-ui-fx 1.0.1 → 1.0.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/README.md +10 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -184,7 +184,7 @@ Returns `{ el, canvas, wrapper, state, destroy() }`.
|
|
|
184
184
|
| Framer Motion | ~45 KB | React HOC | 0 | Via React | `npm i framer-motion` |
|
|
185
185
|
| GSAP | ~25 KB | Timeline | 0 | Manual | `npm i gsap` |
|
|
186
186
|
| Lottie | ~55 KB | JSON animation | After Effects | Manual | `npm i lottie-web` |
|
|
187
|
-
| **lite-ui-fx** | **< 5 KB** | **Canvas hijack** |
|
|
187
|
+
| **lite-ui-fx** | **< 5 KB** | **Canvas hijack** | *50 built-in** | **Native + visual** | **`npm i @zakkster/lite-ui-fx`** |
|
|
188
188
|
|
|
189
189
|
## 🎨 Writing Custom Recipes
|
|
190
190
|
|
|
@@ -214,14 +214,16 @@ export function MyButton() {
|
|
|
214
214
|
|
|
215
215
|
## 📦 TypeScript
|
|
216
216
|
|
|
217
|
-
Full declarations
|
|
217
|
+
Full TypeScript declarations are included for:
|
|
218
|
+
|
|
219
|
+
- `mountUIFX`
|
|
220
|
+
- `UIType`
|
|
221
|
+
- `UIFXState`
|
|
222
|
+
- `UIFXPointer`
|
|
223
|
+
- `UIFXRecipe`
|
|
224
|
+
|
|
225
|
+
(Recipes are not part of the npm package, so their types are not included.)
|
|
218
226
|
|
|
219
|
-
```
|
|
220
|
-
UIFXController.d.ts — mountUIFX, UIType, UIFXState, UIFXPointer, UIFXRecipe
|
|
221
|
-
UIFXRecipes.d.ts — 10 recipe factories (Vol. 1)
|
|
222
|
-
UIFXRecipes2.d.ts — 20 recipe factories (Vol. 2)
|
|
223
|
-
UIFXRecipes3.d.ts — 20 recipe factories (Vol. 3)
|
|
224
|
-
```
|
|
225
227
|
|
|
226
228
|
## 📚 LLM-Friendly Documentation
|
|
227
229
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zakkster/lite-ui-fx",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Canvas-hijacked UI components with a pluggable recipe system. 30 built-in recipes across toggles, buttons, sliders, knobs, loaders, checkboxes, counters, and ratings.",
|
|
5
5
|
"author": "Zahary Shinikchiev <shinikchiev@yahoo.com>",
|
|
6
6
|
"license": "MIT",
|