@jini-ai/agent-plugins 0.7.2 → 0.7.3-next.2
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/CHANGELOG.md +4 -4
- package/NOTICE +2 -0
- package/README.md +11 -15
- package/calendly/plugin.json +3 -3
- package/cloudflare/lib/forms.mjs +9 -10
- package/cloudflare/lib/target.mjs +1 -1
- package/cloudflare/plugin.json +3 -3
- package/cloudflare/worker/forms-receiver.mjs +9 -9
- package/composio/plugin.json +3 -3
- package/core/persistent-state.js +227 -163
- package/dist/admin-surfaces/connections/connections.d.ts +11 -6
- package/dist/admin-surfaces/connections/connections.js +102 -85
- package/dist/admin-surfaces/node.d.ts +27 -0
- package/dist/admin-surfaces/node.js +32 -0
- package/dist/admin-surfaces/plugin-state.js +21 -18
- package/dist/admin-surfaces/surface-client.d.ts +4 -0
- package/dist/admin-surfaces/surface-client.js +124 -117
- package/dist/admin-surfaces/surface-handlers.js +21 -17
- package/dist/admin-surfaces/theme.d.ts +5 -1
- package/dist/admin-surfaces/theme.js +3 -3
- package/dist/connect/access-token-tool.d.ts +3 -1
- package/dist/connect/access-token-tool.js +3 -2
- package/dist/connect/apply-connect-defaults.js +2 -2
- package/dist/connect/apply-tool-renames.js +9 -8
- package/dist/connect/connect-tool.d.ts +2 -0
- package/dist/connect/connect-tool.js +3 -2
- package/dist/connect/credential-cards.js +3 -2
- package/dist/connect/credential-save-tool.d.ts +14 -11
- package/dist/connect/credential-save-tool.js +128 -121
- package/dist/connect/enable-access.d.ts +2 -2
- package/dist/connect/enable-access.js +6 -6
- package/dist/connect/executable/register.js +40 -34
- package/dist/connect/federate-mcp.d.ts +21 -11
- package/dist/connect/federate-mcp.js +28 -21
- package/dist/connect/grant-signed-in-defaults.js +3 -3
- package/dist/connect/import-access-token.js +2 -1
- package/dist/connect/index.d.ts +1 -0
- package/dist/connect/index.js +1 -0
- package/dist/connect/plugin-credential-card.js +2 -1
- package/dist/connect/plugin-host/index.d.ts +10 -5
- package/dist/connect/plugin-host/index.js +113 -100
- package/dist/connect/ports.d.ts +1 -1
- package/dist/connect/row-update.d.ts +22 -0
- package/dist/connect/row-update.js +18 -0
- package/dist/connect/switch-on-saved-token.d.ts +4 -2
- package/dist/connect/switch-on-saved-token.js +1 -1
- package/dist/connect/token-map.d.ts +44 -0
- package/dist/connect/token-map.js +49 -0
- package/dist/core/identity-namespace.js +5 -0
- package/dist/folder-zip.d.ts +3 -1
- package/dist/folder-zip.js +2 -2
- package/dist/lifecycle/activation.d.ts +4 -4
- package/dist/lifecycle/activation.js +4 -5
- package/dist/lifecycle/automatic-use.js +236 -210
- package/dist/lifecycle/bundled-digests.d.ts +75 -12
- package/dist/lifecycle/bundled-digests.js +213 -212
- package/dist/lifecycle/bundled-source-archive.d.ts +1 -1
- package/dist/lifecycle/bundled-source-archive.js +263 -264
- package/dist/lifecycle/capability-projection.d.ts +1 -1
- package/dist/lifecycle/capability-projection.js +1 -1
- package/dist/lifecycle/credential-card-metadata.d.ts +1 -1
- package/dist/lifecycle/credential-card-metadata.js +27 -3
- package/dist/lifecycle/exports.js +9 -4
- package/dist/lifecycle/fetch-archive.d.ts +1 -1
- package/dist/lifecycle/fetch-archive.js +1 -1
- package/dist/lifecycle/host-tools/identity.js +3 -2
- package/dist/lifecycle/host-tools/ports.d.ts +2 -0
- package/dist/lifecycle/host-tools/search-tool.d.ts +4 -2
- package/dist/lifecycle/host-tools/search-tool.js +9 -8
- package/dist/lifecycle/host-tools/skill-tool.d.ts +18 -2
- package/dist/lifecycle/host-tools/skill-tool.js +16 -8
- package/dist/lifecycle/index.d.ts +118 -110
- package/dist/lifecycle/index.js +45 -12
- package/dist/lifecycle/install-errors.d.ts +1 -1
- package/dist/lifecycle/install-from-url.d.ts +1 -1
- package/dist/lifecycle/install-from-url.js +1 -1
- package/dist/lifecycle/install.d.ts +7 -2
- package/dist/lifecycle/install.js +414 -396
- package/dist/lifecycle/installed-package-index.js +45 -42
- package/dist/lifecycle/layout.d.ts +1 -1
- package/dist/lifecycle/layout.js +1 -1
- package/dist/lifecycle/mail/catalog.d.ts +8 -32
- package/dist/lifecycle/mail/catalog.js +25 -20
- package/dist/lifecycle/mail/contribution.d.ts +2 -2
- package/dist/lifecycle/mail/contribution.js +34 -34
- package/dist/lifecycle/mail/selection.js +6 -2
- package/dist/lifecycle/manifest.d.ts +3 -3
- package/dist/lifecycle/manifest.js +4 -4
- package/dist/lifecycle/mcp-provisioning.d.ts +3 -3
- package/dist/lifecycle/mcp-provisioning.js +3 -3
- package/dist/lifecycle/package-paths.d.ts +1 -1
- package/dist/lifecycle/package-paths.js +1 -1
- package/dist/lifecycle/persistent-state.js +1 -2
- package/dist/lifecycle/ports.d.ts +5 -1
- package/dist/lifecycle/resolve-agent-plugin-refs.d.ts +30 -8
- package/dist/lifecycle/resolve-agent-plugin-refs.js +227 -228
- package/dist/lifecycle/retire-bundled.d.ts +1 -52
- package/dist/lifecycle/retire-bundled.js +134 -84
- package/dist/lifecycle/search.d.ts +2 -1
- package/dist/lifecycle/search.js +1 -1
- package/dist/lifecycle/seed-bundled.d.ts +1 -1
- package/dist/lifecycle/seed-bundled.js +154 -155
- package/dist/lifecycle/set-enabled.d.ts +1 -1
- package/dist/lifecycle/set-enabled.js +1 -1
- package/dist/lifecycle/skill-file-reader.js +53 -50
- package/dist/lifecycle/tools/projection.d.ts +4 -7
- package/dist/lifecycle/tools/projection.js +109 -108
- package/dist/lifecycle/trusted-plugin-files.d.ts +2 -2
- package/dist/lifecycle/trusted-plugin-files.js +1 -1
- package/dist/lifecycle/uninstall.d.ts +1 -1
- package/dist/lifecycle/uninstall.js +237 -241
- package/dist/lifecycle/update-store.js +20 -17
- package/dist/lifecycle/update.js +287 -281
- package/dist/lifecycle/yauzl-archive-reader.d.ts +2 -2
- package/dist/lifecycle/yauzl-archive-reader.js +8 -2
- package/dist/manifest.d.ts +11 -3
- package/dist/manifest.js +9 -9
- package/fly/jini-credential-schemes.json +11 -0
- package/fly/plugin.json +3 -4
- package/github/plugin.json +3 -3
- package/github/source-control/backup-push.mjs +11 -11
- package/github/source-control/commit-site.mjs +23 -13
- package/github/source-control/github.mjs +12 -6
- package/github/source-control/write-files.mjs +27 -28
- package/github-pages/{tovu-deploy-targets.json → jini-deploy-targets.json} +22 -22
- package/github-pages/plugin.json +3 -3
- package/github-pages/targets/github-pages.mjs +3 -3
- package/google-login/plugin.json +3 -3
- package/google-workspace/README.md +14 -14
- package/google-workspace/form-destinations/README.md +3 -3
- package/google-workspace/form-destinations/dedupe.mjs +1 -1
- package/google-workspace/form-destinations/mapping.mjs +8 -9
- package/google-workspace/form-destinations/sheets.mjs +1 -1
- package/google-workspace/{tovu-admin-surfaces.json → jini-admin-surfaces.json} +2 -2
- package/google-workspace/{tovu-agent-tools.json → jini-agent-tools.json} +28 -28
- package/google-workspace/{tovu-connections.json → jini-connections.json} +2 -2
- package/google-workspace/lib/auth.mjs +2 -2
- package/google-workspace/lib/form-destination-settings.mjs +1 -1
- package/google-workspace/lib/picker-flow.mjs +2 -2
- package/google-workspace/lib/request-policy.mjs +1 -1
- package/google-workspace/lib/surface-actions.mjs +1 -1
- package/google-workspace/plugin.json +3 -3
- package/google-workspace/tools/sheets/README.md +3 -3
- package/google-workspace/tools/sheets-admin/README.md +3 -3
- package/google-workspace/ui/README.md +4 -4
- package/google-workspace/ui/connection-panel.mjs +51 -51
- package/google-workspace/ui/destination-panel.mjs +34 -34
- package/google-workspace/ui/dom.mjs +15 -16
- package/google-workspace/ui/picker-flow.mjs +2 -2
- package/google-workspace/ui/picker.mjs +19 -19
- package/google-workspace/ui/surface-client.mjs +96 -69
- package/higgsfield-media/plugin.json +3 -3
- package/jev/plugin.json +3 -3
- package/kuinetic/CHANGELOG.md +12 -0
- package/kuinetic/mcp.json +4 -0
- package/kuinetic/plugin.json +27 -0
- package/kuinetic/skills/kuinetic/SKILL.md +120 -0
- package/kuinetic/skills/kuinetic/references/effects-by-family.md +32 -0
- package/kuinetic/skills/kuinetic/references/opt-in-tiers.md +12 -0
- package/kuinetic/skills/kuinetic/references/reserved-keys.md +36 -0
- package/meilisearch/plugin.json +5 -5
- package/netlify/plugin.json +3 -3
- package/netlify/targets/netlify.mjs +14 -4
- package/opentelemetry/plugin.json +3 -3
- package/package.json +27 -22
- package/posthog/plugin.json +3 -3
- package/railway/plugin.json +3 -3
- package/render/plugin.json +3 -3
- package/resend/NOTES.md +2 -2
- package/resend/adapters/resend.mjs +1 -1
- package/resend/{tovu-mail-adapters.json → jini-mail-adapters.json} +1 -1
- package/resend/lib/domains.mjs +8 -8
- package/resend/plugin.json +3 -3
- package/s3-compatible/{tovu-deploy-targets.json → jini-deploy-targets.json} +68 -68
- package/s3-compatible/jini-object-stores.json +29 -0
- package/s3-compatible/object-stores/s3-compatible.mjs +19 -13
- package/s3-compatible/plugin.json +3 -3
- package/s3-compatible/targets/s3-compatible.mjs +25 -25
- package/sentry/plugin.json +3 -3
- package/shadcn-ui/CHANGELOG.md +7 -0
- package/shadcn-ui/LICENSE +201 -0
- package/shadcn-ui/NOTICE +10 -0
- package/shadcn-ui/mcp.json +4 -0
- package/shadcn-ui/plugin.json +26 -0
- package/shopify/plugin.json +3 -3
- package/site-compliance/plugin.json +3 -3
- package/site-import/plugin.json +3 -3
- package/supabase/mcp.json +1 -4
- package/supabase/plugin.json +3 -3
- package/ui-ux-design/CHANGELOG.md +13 -0
- package/ui-ux-design/NOTICE +2 -0
- package/ui-ux-design/README.md +17 -7
- package/ui-ux-design/plugin.json +6 -3
- package/ui-ux-design/skills/ui-ux-design/SKILL.md +38 -152
- package/ui-ux-design/skills/ui-ux-design/references/full-workflow.md +156 -0
- package/ui-ux-design/skills/ui-ux-design/references/ui-animation.md +4 -4
- package/vercel/NOTES.md +1 -1
- package/vercel/object-stores/vercel-blob.mjs +12 -2
- package/vercel/plugin.json +3 -3
- package/vercel/targets/vercel.mjs +3 -3
- package/wordpress/plugin.json +3 -3
- package/dist/lifecycle/node.d.ts +0 -11
- package/dist/lifecycle/node.js +0 -38
- package/fly/tovu-credential-schemes.json +0 -11
- package/github/deployments/github.mjs +0 -415
- package/s3-compatible/tovu-object-stores.json +0 -29
- package/ui-ux-design/skills/ui-ux-design/references/kuinetic-reference.md +0 -184
- /package/cloudflare/{tovu-consent.json → jini-consent.json} +0 -0
- /package/cloudflare/{tovu-deploy-targets.json → jini-deploy-targets.json} +0 -0
- /package/cloudflare/{tovu-form-destinations.json → jini-form-destinations.json} +0 -0
- /package/fly/{tovu-deploy-configs.json → jini-deploy-configs.json} +0 -0
- /package/fly/{tovu-deploy-ops.json → jini-deploy-ops.json} +0 -0
- /package/github/{tovu-deploy-ops.json → jini-deploy-ops.json} +0 -0
- /package/github/{tovu-source-control.json → jini-source-control.json} +0 -0
- /package/google-login/{tovu-login-providers.json → jini-login-providers.json} +0 -0
- /package/google-workspace/{tovu-form-destinations.json → jini-form-destinations.json} +0 -0
- /package/meilisearch/{tovu-search-providers.json → jini-search-providers.json} +0 -0
- /package/netlify/{tovu-consent.json → jini-consent.json} +0 -0
- /package/netlify/{tovu-deploy-targets.json → jini-deploy-targets.json} +0 -0
- /package/railway/{tovu-deploy-configs.json → jini-deploy-configs.json} +0 -0
- /package/railway/{tovu-deploy-ops.json → jini-deploy-ops.json} +0 -0
- /package/render/{tovu-deploy-configs.json → jini-deploy-configs.json} +0 -0
- /package/render/{tovu-deploy-ops.json → jini-deploy-ops.json} +0 -0
- /package/{ui-ux-design → shadcn-ui}/skills/shadcn-ui/README.md +0 -0
- /package/{ui-ux-design → shadcn-ui}/skills/shadcn-ui/SKILL.md +0 -0
- /package/{ui-ux-design → shadcn-ui}/skills/shadcn-ui/examples/auth-layout.tsx +0 -0
- /package/{ui-ux-design → shadcn-ui}/skills/shadcn-ui/examples/data-table.tsx +0 -0
- /package/{ui-ux-design → shadcn-ui}/skills/shadcn-ui/examples/form-pattern.tsx +0 -0
- /package/{ui-ux-design → shadcn-ui}/skills/shadcn-ui/resources/component-catalog.md +0 -0
- /package/{ui-ux-design → shadcn-ui}/skills/shadcn-ui/resources/customization-guide.md +0 -0
- /package/{ui-ux-design → shadcn-ui}/skills/shadcn-ui/resources/migration-guide.md +0 -0
- /package/{ui-ux-design → shadcn-ui}/skills/shadcn-ui/resources/setup-guide.md +0 -0
- /package/{ui-ux-design → shadcn-ui}/skills/shadcn-ui/scripts/verify-setup.sh +0 -0
- /package/vercel/{tovu-consent.json → jini-consent.json} +0 -0
- /package/vercel/{tovu-deploy-targets.json → jini-deploy-targets.json} +0 -0
- /package/vercel/{tovu-object-stores.json → jini-object-stores.json} +0 -0
|
@@ -1,184 +0,0 @@
|
|
|
1
|
-
# kUInetic Reference
|
|
2
|
-
|
|
3
|
-
> Maintained in AI-Dev-Shop. Downstream copies are synced from here; edit it in
|
|
4
|
-
> AI-Dev-Shop, not in a downstream copy.
|
|
5
|
-
|
|
6
|
-
Attribute and effect lookup for kUInetic, the declarative `data-kui` animation library.
|
|
7
|
-
`ui-animation.md` owns when to use it and the motion rules; this file only lists what
|
|
8
|
-
exists. Not a tutorial.
|
|
9
|
-
|
|
10
|
-
**Authority:** the kUInetic source, package `kuinetic` v0.2.4 (MIT, kuinetic.com),
|
|
11
|
-
checked at commit `9fc5e54` on 2026-10-30. Every name below is registered in the
|
|
12
|
-
source; each group's `Source:` line is a path inside the kUInetic repo. Where the docs
|
|
13
|
-
and the source disagree, this file follows the source.
|
|
14
|
-
|
|
15
|
-
**Version lag:** a vendored bundle (e.g. `<theme>/vendor/kuinetic/kuinetic.js`) can be
|
|
16
|
-
older than the source. Before relying on a recent option (`direction:rise-mask`, the
|
|
17
|
-
`from:` event source, `wide:`/`narrow:`), grep the shipped bundle for it. Use
|
|
18
|
-
`kuinetic.describe('<effect>')` in the page only for effect parameters; it does not list
|
|
19
|
-
reserved keys, gates or event-source syntax, which live in the parser. An unknown effect is skipped; an unsupported
|
|
20
|
-
parameter or value may fall back to its default, and an invalid breakpoint gate is dropped
|
|
21
|
-
so the effect runs at every width. Nothing throws, and diagnostics appear only with a
|
|
22
|
-
reporter (see Dev warnings).
|
|
23
|
-
|
|
24
|
-
## Detect
|
|
25
|
-
|
|
26
|
-
kUInetic is present when any of these hold:
|
|
27
|
-
|
|
28
|
-
- markup carries `data-kui` (authored) or `data-kui-fx` / `data-kui-state` (stamped at runtime)
|
|
29
|
-
- the page loads `kuinetic.js`, `kuinetic.all.js`, `kuinetic.min.js` or `kuinetic.all.min.js`,
|
|
30
|
-
or the theme ships a `vendor/kuinetic/` folder
|
|
31
|
-
- `package.json` depends on `kuinetic`, or code imports `kuinetic`, `kuinetic/css`, `kuinetic/advanced`
|
|
32
|
-
- `window.__kuinetic` (the auto-started animator) exists in the running page
|
|
33
|
-
|
|
34
|
-
Source: `src/browser/boot.ts`, `src/core/attrs.ts`, `package.json`.
|
|
35
|
-
|
|
36
|
-
## Install And Initialise
|
|
37
|
-
|
|
38
|
-
| Setup | How |
|
|
39
|
-
|---|---|
|
|
40
|
-
| Split bundle (preferred: CSS still works if JS fails) | `<link rel="stylesheet" href="kuinetic.css">` + `<script src="kuinetic.js"></script>`. Auto-starts at `DOMContentLoaded` with `observe: true`; the animator is `window.__kuinetic`. |
|
|
41
|
-
| One tag | `kuinetic.all.js` / `kuinetic.all.min.js` (CSS embedded, same auto-start). |
|
|
42
|
-
| Manual start | `data-kui-manual` on the script tag, then `kuinetic.kuinetic({ observe: true }).start()`. |
|
|
43
|
-
| npm / bundler | `import { kuinetic } from 'kuinetic'`, `import 'kuinetic/css'`, `kuinetic({ observe: true }).start()`. An import never auto-starts. |
|
|
44
|
-
| Dev warnings | Pass `reporter: consoleReporter()` in the options; the default reporter is silent. |
|
|
45
|
-
| Pre-JS hide | `<html data-kui-cloak>` hides cloaked entrances until start; fails open (start, watchdog, CSS release). |
|
|
46
|
-
|
|
47
|
-
Never start a second animator beside an auto-started bundle. Pass custom options before
|
|
48
|
-
auto-start, or use `data-kui-manual` and create exactly one animator; a factory call with
|
|
49
|
-
options after the page has been scanned creates a second animator. Source: `README.md`, `src/browser/boot.ts`,
|
|
50
|
-
`src/css/base.css`, `src/core/reporter.ts`.
|
|
51
|
-
|
|
52
|
-
## Attribute Grammar
|
|
53
|
-
|
|
54
|
-
```html
|
|
55
|
-
<h2 data-kui="fade-up 700ms 120ms ease-out distance:16px, blur-in 400ms at:-200ms">
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
- First token is the effect; then positional **duration → delay → easing**, or
|
|
59
|
-
`duration:` / `delay:` / `ease:`. Effect parameters are `key:value`.
|
|
60
|
-
- Comma-separate effects whose channels don't collide. A collision keeps the first and warns.
|
|
61
|
-
- Quote any value containing spaces or commas: `target:'.stops > li'`.
|
|
62
|
-
- Named bundle: `<template data-kui-define="card-in" data-kui="fade-up 700ms, blur-in 400ms at:-200ms">`,
|
|
63
|
-
then `data-kui="card-in 300ms"`. Local values override the bundle.
|
|
64
|
-
- Longhand attributes (an inline key wins): `data-kui-on`, `data-kui-timeline`,
|
|
65
|
-
`data-kui-threshold`, `data-kui-stagger`. Timing has no longhand. Set reduced motion
|
|
66
|
-
with the `rm:` key.
|
|
67
|
-
- Stamped by the runtime; read, never author: `data-kui-fx`, `data-kui-state`,
|
|
68
|
-
`data-kui-unmatched`, `data-kui-part`, `data-kui-rm` (the compiled reduced-motion policy).
|
|
69
|
-
|
|
70
|
-
Source: `src/core/parse.ts`, `src/core/attrs.ts`, `src/core/bundles.ts`.
|
|
71
|
-
|
|
72
|
-
## Reserved Keys
|
|
73
|
-
|
|
74
|
-
| Key | Values |
|
|
75
|
-
|---|---|
|
|
76
|
-
| `on:` | `enter` (once, default for reveals), `leave`, `load`, `manual`, `hover`/`unhover`, `focus`/`blur`, `click`, any DOM event (`invalid`, `submit`, `cart:updated`), or a forward/back pair `hover/unhover`, `enter/leave`. |
|
|
77
|
-
| `data-kui-on="click from:#copy-btn"` | Listen on another element. Longhand only. |
|
|
78
|
-
| `actions:` | Four scroll crossings, slash-separated: `play` `pause` `resume` `reverse` `reset` `restart` `complete` `none`. |
|
|
79
|
-
| `threshold:` | Fraction visible before `enter` fires: `threshold:30%`. Default `0%`. |
|
|
80
|
-
| `timeline:` | `time` (default), `view`, `scroll`, `pin`. Range: `data-kui-timeline="view entry 0% cover 60%"`. |
|
|
81
|
-
| `at:` | Relative to the previous effect: `-200ms`, `+100ms`, `after`, `with`, `with+150ms`. |
|
|
82
|
-
| `repeat:` / `yoyo:` | Total plays or `infinite`; `yoyo:true` alternates. |
|
|
83
|
-
| `above:` / `below:` | Viewport gate on `sm` `md` `lg` `xl` `2xl`. `wide:` / `narrow:` gate the same scale against the nearest `data-kui-container` ancestor. |
|
|
84
|
-
| `cascade:` / `spread:` | Group stagger step, or total budget, on the **parent** (or `data-kui-stagger="90ms"`). |
|
|
85
|
-
| `order:` / `cols:` / `along:` | `start` `end` `center` `edges` `random`, a child index, or an `x/y` point; `cols:6` or `cols:auto`; `along:x`/`along:y`. |
|
|
86
|
-
| `target:` / `scope:page` | Animate matching descendants (or page matches) instead of the host. |
|
|
87
|
-
| `rm:` | Reduced-motion policy, mildest to strictest `shorten`, `crossfade`, `disable`; may only be stricter than the effect's own. |
|
|
88
|
-
| `func:` | Global function run on `kui:finish`. Never build it from CMS or user input. |
|
|
89
|
-
|
|
90
|
-
`stagger:` on the split-text effects is the gap between generated pieces, not the group
|
|
91
|
-
`cascade:`. Source: `src/core/parse.ts`, `src/core/activation.ts`,
|
|
92
|
-
`src/core/event-sources.ts`, `src/core/types.ts`, `src/core/repeat.ts`, `src/core/breakpoints.ts`,
|
|
93
|
-
`src/core/stagger-config.ts`, `src/core/target.ts`.
|
|
94
|
-
|
|
95
|
-
**Easing keywords:** `linear` `ease` `ease-in` `ease-out` `ease-in-out` `step-start`
|
|
96
|
-
`step-end` `expo-in` `expo-out` `expo-in-out` `back-in` `back-out` `back-in-out`
|
|
97
|
-
`quart-out` `circ-out` `spring` `bounce`; functions `cubic-bezier()` `steps()` `linear()`
|
|
98
|
-
`spring(bounce:0.3)` / `spring(stiffness:400 damping:20 mass:1)` (`bounce` 0–0.85; the
|
|
99
|
-
spring shapes the curve, your duration still holds). Source: `src/core/parse.ts`, `src/core/easing.ts`.
|
|
100
|
-
|
|
101
|
-
**Events and API:** `kui:start`, `kui:finish`, `kui:reverse-finish`, `kui:cancel` bubble
|
|
102
|
-
with `detail { effects, activation, timeline, reason }`. `kui` is `window.__kuinetic` under a
|
|
103
|
-
script tag, or what `kuinetic(...).start()` returns: `kui.play(target, effect, options)`,
|
|
104
|
-
`kui.activate(el)`, `kui.deactivate(el)`, `kui.control(target)` (`pause` `play` `reverse`
|
|
105
|
-
`seek(0..1)` `timeScale`, `progress`, `state`), `kui.process(el)`, `kui.reset(el)`.
|
|
106
|
-
JS-rendered and scroll-driven effects expose no playhead. Source: `src/core/control.ts`,
|
|
107
|
-
`src/core/animator.ts`.
|
|
108
|
-
|
|
109
|
-
## Effects By Family
|
|
110
|
-
|
|
111
|
-
Defaults are the source defaults; override per element.
|
|
112
|
-
|
|
113
|
-
| Family | Names | Source |
|
|
114
|
-
|---|---|---|
|
|
115
|
-
| Entrance | `fade-in` `fade-up` `fade-down` `fade-left` `fade-right` `slide-up` `slide-down` `slide-left` `slide-right` `slide-inline-start` `slide-inline-end` `slide-block-start` `slide-block-end` `zoom-in` `zoom-in-up` `zoom-in-down` `pop-in` `flip-in-x` `flip-in-y` `rotate-in` `roll-in` `swing-in` `blur-in` `fade-blur-up` `fade-blur-in` `back-in-up` `back-in-down` `bounce-in` `reveal-once` (same as `fade-up`). Base default `600ms ease-out`, `distance:24px`. Preset exceptions: `slide-*` use `distance:100px` (no fade); `back-in-up`/`back-in-down` use `120px` with `expo-out`; `pop-in` uses scale 0.6 with `back-out`; `bounce-in` starts at scale 0.3 and uses the multi-peak `bounce` curve. | `src/effects/catalog/core.ts` |
|
|
116
|
-
| Exit | `fade-out` `fade-out-up` `fade-out-down` `fade-out-left` `fade-out-right` `slide-out-up` `slide-out-down` `slide-out-left` `slide-out-right` `zoom-out` `pop-out` `blur-out` | `src/effects/catalog/core.ts` |
|
|
117
|
-
| Scroll-linked | `parallax-y` `parallax-x` `parallax-scale` `parallax-rotate` `depth-layer` `scroll-fade` `scroll-desaturate` `scroll-skew` `scroll-progress-bar` `scroll-progress-bar-y` `scroll-progress-ring`. Use `timeline:view`/`scroll`; duration is meaningless there. | `src/effects/catalog/core.ts` |
|
|
118
|
-
| Pin and scroll mechanics | `pin-section` (`distance:100vh`, `offset-top:`, `spacer:true`) `pin-until` `pin-spacer` `stacking-cards` `horizontal-scroll` `scrollytelling-step` (`steps:`, `target:` stamps `data-kui-step-state` before/active/after and `--kui-step`) `scroll-progress` `sequence-scrub` `video-scrub` `scroll-snap-x` `scroll-snap-y` `scroll-spy` `smooth-scroll-to`. Set `--kui-pin-offset` on `:root` to clear a fixed header. | `src/effects/scroll-mechanics/presets.ts` |
|
|
119
|
-
| Text split | `split-chars` (30ms) `split-words` (90ms) `split-lines` (160ms), `direction:fade\|up\|down\|mask\|rise-mask`, `unit:`, `stagger:`; presets `text-reveal-up` `text-reveal-down` (words) `text-reveal-mask` (lines, mask). `rise-mask` slides each unit up 120% inside a stationary clip. `--kui-mask-bleed: 0.1em` protects ascenders under tight leading. | `src/effects/catalog/text.ts`, `text-shared.ts` |
|
|
120
|
-
| Text other | `typewriter` `typewriter-loop` `scramble` `decode` `glitch` `word-cycler` `highlight-sweep` `underline-draw` `gradient-shimmer` `gradient-sweep` `text-outline-fill` `text-wave` `text-jitter` `marquee` `marquee-scroll-linked` `redaction-reveal` `text-3d-extrude` `var-weight` `var-width` `var-slant` `var-axis` | `src/effects/catalog/text.ts` |
|
|
121
|
-
| Media reveal | `wipe-up` `wipe-down` `wipe-left` `wipe-right` `wipe-circle` `wipe-diagonal` `mask-reveal` `curtain-reveal` `before-after-wipe` `ken-burns` `ken-burns-out` `blur-up` `image-parallax-frame` `slat-assemble` `duotone-hover` `grayscale-hover` `saturate-hover` `bg` `background` `video-backdrop` `video-hero` | `src/effects/catalog/media.ts` |
|
|
122
|
-
| Hover and press | `lift` (220ms, `distance:6px`) `lift-shadow` `pop` (`scale:1.06`) `shine-sweep` `split-flap` `border-draw` `border-glow` `beam-border` `underline-slide` `underline-center` `icon-wiggle` `icon-spin` `icon-bounce` `tilt-3d` `tilt-parallax` `cursor-follow` `cursor-lag` `cursor-label` `cursor-spotlight` `cursor-invert` | `src/effects/catalog/interaction.ts` |
|
|
123
|
-
| Press, group, reveal-on-hover | `press-depth` (120ms, `scale:0.96`) `group-dim`; `masked-label-swap` `masked-label-swap-x` `masked-label-swap-diagonal` `hover-intent` `anchored-preview` `anchored-preview-bottom` `anchored-preview-left` `anchored-preview-right` `search-expand`; `proximity-glow` `proximity-field` | `interaction-states.ts`, `interaction-reveal.ts`, `interaction-proximity.ts` (all `src/effects/catalog/`) |
|
|
124
|
-
| Feedback | `skeleton-shimmer` `skeleton-to-content` `spinner` `spinner-dots` `spinner-ring` `progress-indeterminate` `toast-slide-in` `toast-slide-out` `shake-error` `wobble` `ripple` `badge-pop` `count-bump` `heart-burst` `confetti-burst` `copy-confirm` `pull-to-refresh` | `src/effects/catalog/feedback.ts` |
|
|
125
|
-
| Numbers | `count-up` (1600ms, `from:` `to:` `decimals:` `format:` `currency:`) `count-down` `count-currency` `count-percent` `count-compact` `odometer-roll` `progress-ring` `progress-bar` `progress-segments` `gauge-sweep` `star-rating-fill` `sparkline-draw` `donut-sweep` | `src/effects/catalog/numbers.ts` |
|
|
126
|
-
| Forms | `label-float` `input-underline-grow` `focus-ring-grow` `validate-shake` `validate-check` `strength-meter` `toggle-morph` `checkbox-draw` `radio-fill` `range-fill` `submit-to-spinner-to-check` `step-progress` `carousel` | `src/effects/forms/index.ts` |
|
|
127
|
-
| SVG and icons | `draw-stroke` `draw-signature` `draw-underline` `checkmark-draw` `cross-draw` `chart-line-draw` (`length:` sets path length); toggles `hamburger-to-x` (`aria-expanded`) `play-to-pause` (`aria-pressed`) `plus-to-minus` (`aria-expanded`) | `src/effects/svg/index.ts` |
|
|
128
|
-
| Layout (FLIP) | `flip-reorder` `flip-filter` `flip-sort` `flip-shuffle` `accordion-height` `expand-to-modal` `grid-to-list` `tab-indicator-slide` `masonry-reflow`. Motion only; you own `aria-expanded`, focus, keys. | `src/effects/layout/presets.ts` |
|
|
129
|
-
| Open/close from `display: none` | `fade-open` `pop-open` `scale-open` `drop-open` `slide-open-up` `slide-open-down` (`@starting-style`). Each stays hidden until opened: native `<dialog>` and popovers open through their own APIs (`[open]`, `:popover-open`); for an ordinary element, toggle the presence of `data-open` | `src/effects/catalog/discrete.ts` |
|
|
130
|
-
| Page and view | `page-morph` `view-swap` (View Transitions); `page-fade` `page-slide` `curtain-wipe` `loading-bar` | `src/effects/catalog/view-transitions.ts`; `src/effects/three-d/index.ts` |
|
|
131
|
-
| Navigation | `header-shrink` `header-hide-on-scroll` `menu-stagger-open` `menu-fullscreen` `dropdown-open` `drawer-slide` `mega-menu-drop` `back-to-top-fade` | `src/effects/navigation/index.ts` |
|
|
132
|
-
| CSS 3D (core entry) | `card-flip-x` `card-flip-y` `cube-rotate` `fold-panel` `flip-card` `book-page-turn`; ring/stack carousels `carousel-3d` `carousel-stack` | `src/effects/three-d/index.ts`, `src/effects/carousel/` |
|
|
133
|
-
| Ambient loops | `glow-pulse` `aurora` `gradient-mesh` `gradient-border` `gradient-rotate-border` `float` `bob` `orbit` `floating-shapes` `starfield` `dot-grid-drift` `line-grid-drift` `scanline` `spotlight-follow` `wave-blob`; `beam-border-auto` (runs unconditionally and loops forever) | `src/effects/catalog/ambient.ts`; `beam-border-auto` in `src/effects/catalog/interaction.ts` |
|
|
134
|
-
| Gestures | `drag` `drag-x` `drag-y` `drag-inertia` `throwable` `elastic-pull` `rubber-band` `snap-back` `swipe` `swipe-x` `swipe-y` `long-press` `magnetic` `magnetic-snap` | `src/effects/gestures/index.ts` |
|
|
135
|
-
| Generic tween | `tween` (to values) `tween-from` (from values): `tween x:100 opacity:0 rotate:45deg 800ms` | `src/effects/tween/index.ts` |
|
|
136
|
-
| Showcase widgets | `lightbox` `video-lightbox` `compare` `carousel-fade` `carousel-slide` `video-hero-slideshow` `scroll-story` `hotspots` `device-frame` `slow-mo` | `src/showcase/` |
|
|
137
|
-
| Paths, material | `motion-path` `path-arc` `path-loop` `path-swoop` `path-wave`; `glass`; `rotate-static` | `src/effects/motion-path/index.ts`, `src/effects/catalog/materials.ts`, `src/effects/catalog/transforms.ts` |
|
|
138
|
-
|
|
139
|
-
Catalog note (`docs/catalog.md` §I): every hover effect ships a `:focus-visible`
|
|
140
|
-
equivalent and a coarse-pointer fallback.
|
|
141
|
-
|
|
142
|
-
## Reduced Motion
|
|
143
|
-
|
|
144
|
-
Each effect declares a policy; the runtime stamps it as `data-kui-rm`, and
|
|
145
|
-
`src/css/base.css` applies it under `prefers-reduced-motion: reduce`:
|
|
146
|
-
|
|
147
|
-
- `shorten`: CSS animations run at 1ms with no delay. Entrances, hover, feedback, counters.
|
|
148
|
-
JS counters instead finish in one timer tick (~16ms) after any authored delay.
|
|
149
|
-
- `crossfade`: replaced by a 200ms fade. No effect defaults to it; opt in with `rm:crossfade`.
|
|
150
|
-
- `disable`: no animation; the element is forced to its end state (`opacity: 1`, no
|
|
151
|
-
translate/scale/rotate/filter/offset-path). Split text, typewriter, scramble, pins,
|
|
152
|
-
parallax, scroll progress, ambient loops, spinners, cursor and tilt effects, gestures, FLIP layout,
|
|
153
|
-
`toggle-morph`.
|
|
154
|
-
- CSS transitions on every marked element shorten to 1ms under every policy.
|
|
155
|
-
- A skipped effect still emits `kui:finish` with `reason: 'reduced-motion'` (no `kui:start`),
|
|
156
|
-
so chained work still runs.
|
|
157
|
-
- The animator option `reducedMotion: 'ignore'` exists for demos and tests only.
|
|
158
|
-
|
|
159
|
-
Source: `src/core/types.ts` (`ReducedMotionPolicy`), `src/core/animator.ts`,
|
|
160
|
-
`src/core/host-facts.ts`, `src/css/base.css`; per-effect policy is each primitive's
|
|
161
|
-
`reducedMotion` field.
|
|
162
|
-
|
|
163
|
-
## Opt-In Tiers
|
|
164
|
-
|
|
165
|
-
| Tier | Load | Names |
|
|
166
|
-
|---|---|---|
|
|
167
|
-
| Advanced (experimental, WebGL2 / Canvas / Web Audio, API may change without a major) | `<script src="kuinetic.advanced.js">` beside core, either order; or `registerAdvanced(k)` from `kuinetic/advanced` (or `registerShaders`, `registerScenes`, `registerCamera`, `registerParticles`, `registerFluidCursor`, `registerAudio`). No CSS file. | `shaders` `shader-displace` `shader-fluid` `fluid-pointer` `shader-liquid` `liquid-distort` `shader-particles` `particle-field` `shader-morph` `image-morph` `shader-gradient` `gradient-liquid` `gradient-bands` `gradient-holo` `shader-logo` `logo-gradient`; `scene` `scene-step`; `camera-scene` `camera-layer`; `particle-dissolve`; `fluid-trail` `cursor-fluid` `fluid-cursor`; `audio-source` `audio-reactive` `audio-mic` |
|
|
168
|
-
| 3D model | Not published: `src/3d/` is absent from the package `exports` and its renderer is not built. Do not use. | `model-3d` |
|
|
169
|
-
| Notes | Optional `kuinetic.notes.js`, only to add plain-words notes to `describe()` output. | none |
|
|
170
|
-
|
|
171
|
-
Every advanced primitive declares `reducedMotion: 'disable'`. Generative shaders bake one
|
|
172
|
-
still frame, `scene` holds its final frame, and `camera-scene` renders a stationary
|
|
173
|
-
composition. Source: `src/advanced/index.ts` and its modules,
|
|
174
|
-
`docs/advanced-modules.md`, `src/3d/index.ts`.
|
|
175
|
-
|
|
176
|
-
## Gotchas
|
|
177
|
-
|
|
178
|
-
- A hidden element (`display: none`, a closed `<dialog>` or popover) cannot trigger a visible entrance while closed, and `on:enter` may fire only once it opens. For opening transitions, especially repeated ones, prefer the open/close family.
|
|
179
|
-
- Split, typewriter and scramble skip a host that contains a link or control; put them on a leaf.
|
|
180
|
-
- Author counters with the final value as text (`<b data-kui="count-up to:237">237</b>`).
|
|
181
|
-
- `repeat:infinite` is dropped on `view`/`scroll`/`pin` timelines. A `view` timeline stalls while pinned; use `timeline:pin`.
|
|
182
|
-
- `submit-to-spinner-to-check` runs on fixed timers (`load:1200ms`, `hold:1500ms`) with no error stage; it is a demo, not request state.
|
|
183
|
-
- `copy-confirm` fades 0 → 1 → 0 over 1400ms and ends hidden; put it on the status label, not the button. Under reduced motion it inherits `shorten`, runs in about 1ms and ends at opacity 0, so the app must keep its own visible "Copied" status for the hold period.
|
|
184
|
-
- `above:`/`below:` accept only the five named breakpoints. `above:900px` is invalid, and the gate is dropped, so the effect runs at every width.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|