@pieai/swimmer-ui-kit 1.11.2 → 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 +65 -0
- package/NOTICE +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +904 -877
- package/dist/styles.css +1 -1
- package/donors-individual-lock.json +5 -3
- package/donors-individual.md +49 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,71 @@ 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
|
+
|
|
53
|
+
## 1.11.3
|
|
54
|
+
|
|
55
|
+
### Fixed
|
|
56
|
+
|
|
57
|
+
- **The dashed rim on clay inset highlights was leakage through a binarised
|
|
58
|
+
contour.** Offset-only inset (`inset 0 2px 0`, the second layer of
|
|
59
|
+
`--game-ui-shadow-button`) was drawn from `BINARIZE` plus `feOffset`. The
|
|
60
|
+
hard mask and its 2px-down copy do not line up on a displaced edge, so the
|
|
61
|
+
east and west rims leak as disconnected pale fragments. The inset is now
|
|
62
|
+
drawn from the anti-aliased silhouette instead.
|
|
63
|
+
|
|
64
|
+
On the isolated 150px circle that halves rim breaks (2.51 → 1.25);
|
|
65
|
+
jaggedness stays on the vector-circle floor (0.139 vs 0.126); wobble stays
|
|
66
|
+
1.09. The live teal indicator's 10× east crop goes from dashed fragments
|
|
67
|
+
to a continuous soft band, and the designed top highlight is still a 2px
|
|
68
|
+
clay band. `BINARIZE` is no longer emitted when nothing in the stack
|
|
69
|
+
consumes it — the common inset + drop, no-stroke, no-spread case drops
|
|
70
|
+
from 16 primitives to 15. It stays for stroke and spread, which still
|
|
71
|
+
need a hard mask.
|
|
72
|
+
|
|
8
73
|
## 1.11.2
|
|
9
74
|
|
|
10
75
|
### 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
|
|
61
|
-
consume it
|
|
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
|
-
/**
|
|
2419
|
-
|
|
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. */
|