@pieai/swimmer-ui-kit 2.7.0 → 2.7.1
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 +8 -0
- package/dist/index.js +3 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to `@pieai/swimmer-ui-kit`.
|
|
4
4
|
Format: [Keep a Changelog](https://keepachangelog.com); versioning: semver.
|
|
5
5
|
|
|
6
|
+
## 2.7.1 — 2026-09-16
|
|
7
|
+
|
|
8
|
+
- Fix help dismissal inside native dialogs when the tip was opened by hover
|
|
9
|
+
while keyboard focus stayed in another control. Escape closes only the tip;
|
|
10
|
+
it no longer also cancels the dialog and interrupts the user's work.
|
|
11
|
+
- Keep Floating UI as the interaction owner. No added global key handler,
|
|
12
|
+
consumer-specific patch or public API change.
|
|
13
|
+
|
|
6
14
|
## 2.7.0 — 2026-09-16
|
|
7
15
|
|
|
8
16
|
Minor: shared optional help for creator-facing products. Existing controls and
|
package/dist/index.js
CHANGED
|
@@ -3453,7 +3453,9 @@ var Qn = r(function({ className: e, invalid: t, surface: r = "flat", liquidFinis
|
|
|
3453
3453
|
function $n({ label: e, children: t }) {
|
|
3454
3454
|
let [n, r] = f(!1), [i, o] = f(void 0), { refs: s, floatingStyles: c, context: l } = T({
|
|
3455
3455
|
open: n,
|
|
3456
|
-
onOpenChange
|
|
3456
|
+
onOpenChange(e, t, n) {
|
|
3457
|
+
!e && n === "escape-key" && (t?.preventDefault(), t?.stopPropagation()), r(e);
|
|
3458
|
+
},
|
|
3457
3459
|
placement: "bottom-start",
|
|
3458
3460
|
strategy: "fixed",
|
|
3459
3461
|
middleware: [
|