@pieai/swimmer-ui-kit 1.11.3 → 2.0.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/CHANGELOG.md CHANGED
@@ -5,6 +5,51 @@ Format: [Keep a Changelog](https://keepachangelog.com); versioning: semver.
5
5
 
6
6
  ## Unreleased
7
7
 
8
+ ## 2.0.0
9
+
10
+ Major, not minor. The release removes a member from a public union type, so a
11
+ consumer inside a `^1` range would have broken at compile time on an automatic
12
+ update — the exact failure semver's major bump exists to prevent. That the
13
+ removed member never worked makes the removal correct, not non-breaking.
14
+
15
+ ### Breaking
16
+
17
+ - **`LiquidGroup.Item` no longer accepts `effect="move"`.** The public union
18
+ listed `'move'` but the engine only understands Morph and Bend. Passing it
19
+ silently rendered Morph. Move already lives on the group as
20
+ `motion="follow"` (the selected indicator and progress leading edge). An API
21
+ that accepts a parameter and does nothing is worse than no API, so the
22
+ dead member is gone rather than implemented as a second Move entry. TypeScript
23
+ consumers who followed the donor README now get a type error. A leftover
24
+ string at runtime still warns, and `dissolve` on that leftover is still
25
+ ignored.
26
+
27
+ ### Fixed
28
+
29
+ - **Outer drop shadows left the SVG filter.** `--game-ui-shadow-button`'s
30
+ `0 13px 26px` layer was a full-region `feGaussianBlur` whose radius also
31
+ inflated the filter pad. The donor had already moved that class of shadow to
32
+ CSS `drop-shadow()` on the compositor (same math: blur-radius = 2σ) because
33
+ WebKit CPU-rasterises large SVG blurs. Inset and spread stay in SVG; they
34
+ are not expressible as `drop-shadow()` and they are cheap. The pad no longer
35
+ reserves the outer blur. Visual comparison of the segmented indicator and
36
+ the merged-blob story is in `SHADOW-COST.md`.
37
+
38
+ - **Two authoring warnings were still dead in the published bundle.** 1.11.2
39
+ unblocked the budget warnings; `LiquidGroup.Item` children-with-border and
40
+ dissolve-on-move were still gated on `import.meta.env.DEV`, which is false
41
+ in this package's build. `scripts/check-warnings-survive-build.mjs` now
42
+ covers those two messages and names which one is missing. Verified by
43
+ reintroducing the DEV gate and watching the check fail on `[item-border]`
44
+ and `[dissolve-on-move]`.
45
+
46
+ ### Changed
47
+
48
+ - `donors-individual.md` now records the compositor shadow split as adopted,
49
+ and lists the remaining missed donor capabilities as missed — not as if they
50
+ had been rejected. `will-change: filter, transform` on the silhouette is
51
+ included with the split.
52
+
8
53
  ## 1.11.3
9
54
 
10
55
  ### Fixed
package/NOTICE CHANGED
@@ -57,8 +57,11 @@ NOTICE pointer. We also adapted the donor's Move center spring, velocity-axis
57
57
  stretch, and lagging tail/mid-droplet physics for the selected segmented
58
58
  indicator and progress leading edge. This package directly adapts the donor's
59
59
  group-level `waviness` / `wavinessFreq` filter pass: a fixed-seed `feTurbulence`
60
- field and `feDisplacementMap` move the silhouette before its shadow passes
61
- consume it, so the shadow follows the same edge.
60
+ field and `feDisplacementMap` move the silhouette before its remaining SVG
61
+ shadow passes consume it. Blurred outer shadows without spread follow the
62
+ donor's compositor split: they are CSS `drop-shadow()` on the silhouette
63
+ element, so they are not in the SVG filter region or its pad. Inset and
64
+ spread layers remain SVG-resident.
62
65
 
63
66
  The local implementation also adapts the donor's pairwise image-melt engine in
64
67
  `src/liquidGooeyImageMelt.tsx`, including the two-item pairing, measured image
package/dist/index.d.ts CHANGED
@@ -2415,8 +2415,11 @@ export declare interface LiquidItemProps extends Omit<HTMLAttributes<HTMLDivElem
2415
2415
  delay?: number;
2416
2416
  /** Override the measured content border radius for the silhouette. */
2417
2417
  radius?: number | CornerRadii;
2418
- /** Select the adopted item surface behavior. Bend follows child geometry. */
2419
- effect?: 'morph' | 'move' | 'melt' | 'bend';
2418
+ /**
2419
+ * Select the adopted item surface behavior. Bend follows child geometry.
2420
+ * Move is a group gesture (`motion="follow"`), not an item effect.
2421
+ */
2422
+ effect?: 'morph' | 'melt' | 'bend';
2420
2423
  /** Morph shape, tempo, bounce, and content cross-blur tuning. */
2421
2424
  morph?: MorphTuning;
2422
2425
  /** Bend strengths for vertical bow and horizontal cap deformation. */