@pieai/swimmer-ui-kit 1.10.0 → 1.11.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.
@@ -23,29 +23,40 @@ never a checkout from `_donors-individual/for_SwimmerUIKit/`.
23
23
 
24
24
  ### Review and adoption boundary
25
25
 
26
- The current SwimmerUIKit implementation is local code; its Move physics is
27
- adapted into `src/liquidGooeyMove.ts`; no upstream files are vendored or imported
28
- at runtime. The reviewed scope is the donor
26
+ The current SwimmerUIKit implementation is local code; no upstream files are
27
+ vendored or imported at runtime. The reviewed scope is the donor
29
28
  package's `README.md`, `package.json`, `LICENSE`, and `src/**` so the kit can
30
- trace the morph design and implementation patterns that informed
31
- `src/LiquidGroup.tsx` and its supporting modules.
29
+ trace the retained implementation in `src/LiquidGroup.tsx` and its supporting
30
+ modules.
32
31
 
33
32
  Patterns retained in the local implementation are the SVG
34
33
  silhouette/content split, Gaussian blur plus alpha color-matrix filtering,
35
34
  rounded-rectangle geometry, token-compatible shadow passes, spring-to-easing
36
35
  compilation, and the donor's Move center/stretch/tail physics. SwimmerUIKit
37
- adopted only the donor's Move physics for the selected indicator and progress
38
- leading edge; it deliberately did not take the donor's Melt, Bend, or dissolve
39
- systems, general observer, or image-melt engine. The
40
- local implementation now also adopts the donor's group-level `waviness` and
41
- `wavinessFreq` filter pass as a static, fixed-seed surface texture. These two
42
- capabilities were previously missing from both the retained list and the
43
- rejected list: that was an omission in the review record, not a decision to
44
- reject them. The kit keeps its own token-driven values, process-wide animation
45
- and filter-area budgets, an idle-sleeping shared animation clock, and its own
46
- interaction boundary; see `NOTICE` for the legal attribution. The static
47
- texture never adds an ambient clock, and its maximum displacement is included
48
- in the filter-area budget.
36
+ adopted those Move physics for the selected indicator and progress leading
37
+ edge, and now directly adapts the donor's Morph shape evolution,
38
+ `contentBlur` content-layer cross-blur, Bend's velocity-bowed path plus
39
+ `--lg-bend-x` / `--lg-bend-y` / `--lg-bend-xn` / `--lg-bend-yn` CSS-variable
40
+ outlet, and the donor's group-level `waviness` and `wavinessFreq` filter pass as
41
+ a static, fixed-seed surface texture.
42
+
43
+ SwimmerUIKit also adapts the donor's pairwise image-melt engine into
44
+ `src/liquidGooeyImageMelt.tsx`. That module carries the first two
45
+ `effect="melt"` images, the two-palette colour/marbling pass, and the
46
+ image-only contact `dissolve` layer. The dissolve math is a scoped adaptation
47
+ of the donor's contact-observer behavior; it is not a transplant of the
48
+ donor's observer. Morph shape is deliberately token-on so the adopted default
49
+ is visible; callers can pass `morph={{ shape: false }}` to opt out.
50
+
51
+ Morph content blur, Bend's maximum deformation, Melt marbling, and dissolve
52
+ displacement are included in the filter-area accounting. No retained effect
53
+ adds an ambient clock. The donor's general observer remains outside the
54
+ imported scope because SwimmerUIKit already has its own process-wide
55
+ animation/filter-area budgets and a shared requestAnimationFrame loop that
56
+ sleeps when idle. Replacing that loop would lose the kit's explicit budget and
57
+ idle-sleep guarantees. The local implementation keeps its own interaction
58
+ boundary, token-driven values, graceful budget degradation, and one-time
59
+ development warning; see `NOTICE` for legal attribution.
49
60
 
50
61
  ### Update policy
51
62
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pieai/swimmer-ui-kit",
3
- "version": "1.10.0",
3
+ "version": "1.11.0",
4
4
  "description": "Token-driven React game UI kit for web and wrapped PieAI game surfaces.",
5
5
  "keywords": [
6
6
  "design-system",