@ai-matrx/tap-target 0.1.2 → 0.2.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 +35 -0
- package/dist/buttons.cjs +253 -288
- package/dist/buttons.cjs.map +1 -1
- package/dist/buttons.js +213 -234
- package/dist/buttons.js.map +1 -1
- package/dist/index.cjs +28 -68
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -19
- package/dist/index.d.ts +1 -19
- package/dist/index.js +41 -62
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,40 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.0 — 2026-09-07
|
|
4
|
+
|
|
5
|
+
**The tooltip moved out.** This package shipped a Tooltip family whose own file
|
|
6
|
+
header said what it was: an inlined PORT of matrx-frontend's
|
|
7
|
+
`components/ui/tooltip.tsx`, written because ~60 tap buttons need a tooltip and
|
|
8
|
+
no shared package owned one. Four repos then adopted `TooltipProvider` from
|
|
9
|
+
here — which made a button-geometry package the accidental owner of a
|
|
10
|
+
design-system surface, while a second copy lived on in the biggest host.
|
|
11
|
+
|
|
12
|
+
A tooltip is a design-system surface. `@ai-matrx/design-system@0.7.0` owns it
|
|
13
|
+
now. This package takes design-system as an ordinary sibling dependency
|
|
14
|
+
(`workspace:*` in the monorepo, `latest` outside), imports the Tooltip from it,
|
|
15
|
+
and **re-exports nothing** — one implementation, one import path. `src/tooltip.tsx`
|
|
16
|
+
is deleted. The sibling DAG already ordered design-system before tap-target, so
|
|
17
|
+
this edge introduces no cycle; design-system publishes first.
|
|
18
|
+
|
|
19
|
+
The design-system version also RESTORES the seam this copy had dropped: the
|
|
20
|
+
content portals through `PortalContainerProvider`, so a tooltip inside a
|
|
21
|
+
popped-out panel lands in the right document instead of always `document.body`.
|
|
22
|
+
|
|
23
|
+
### Consumer action (C28)
|
|
24
|
+
|
|
25
|
+
Anything importing `Tooltip`, `TooltipTrigger`, `TooltipContent` or
|
|
26
|
+
`TooltipProvider` from `@ai-matrx/tap-target` must import them from
|
|
27
|
+
`@ai-matrx/design-system` instead. Mechanical:
|
|
28
|
+
|
|
29
|
+
```
|
|
30
|
+
# in each consumer repo
|
|
31
|
+
grep -rl '@ai-matrx/tap-target' --include='*.ts' --include='*.tsx' . \
|
|
32
|
+
| xargs grep -l 'Tooltip'
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Nothing else changes — the tap buttons' own tooltip behaviour, props
|
|
36
|
+
(`tooltip` / `tooltipSide` / `tooltipAlign`) and geometry are untouched.
|
|
37
|
+
|
|
3
38
|
## 0.1.1 — 2026-08-29
|
|
4
39
|
|
|
5
40
|
- `mobileIconOnly` prop on `TapTargetButton` / `Transparent` / `Solid` /
|