@pieai/swimmer-ui-kit 2.7.2 → 2.9.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
@@ -3,6 +3,24 @@
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.9.0 — 2026-09-21
7
+
8
+ Minor: publish the optional liquid presence leaf for products that already own
9
+ an assistant and its real target registry.
10
+
11
+ - Add the public `./liquid-presence` renderer and `./liquid-presence.css` leaf.
12
+ The body, split/fly/dock/return gesture, reduced-motion fallback, target
13
+ visibility guards and liquid budget remain opt-in and isolated from the root
14
+ controls entry.
15
+ - Consumers still own task identity, navigation, media observations, business
16
+ actions and accessible text. No model, media or runtime dependency is added.
17
+
18
+ ## 2.8.0 — 2026-09-18
19
+
20
+ - Add optional `GameModal keepMounted` for unfinished form state that should
21
+ survive close/reopen. Closed modal content remains inert and keyboard
22
+ unreachable; the default still unmounts `children` on close.
23
+
6
24
  ## 2.7.2 — 2026-09-16
7
25
 
8
26
  - Use readable muted ink for editable input and textarea placeholders. Empty
package/dist/index.d.ts CHANGED
@@ -1840,7 +1840,7 @@ export declare interface GameMaterialSwatchesProps {
1840
1840
  'data-testid'?: string | undefined;
1841
1841
  }
1842
1842
 
1843
- export declare function GameModal({ children, className, closeLabel, closeOnBackdrop, footer, onClose, open, position, size, title, }: GameModalProps): ReactNode;
1843
+ export declare function GameModal({ children, className, closeLabel, closeOnBackdrop, footer, keepMounted, onClose, open, position, size, title, }: GameModalProps): ReactNode;
1844
1844
 
1845
1845
  export declare interface GameModalProps {
1846
1846
  children: ReactNode;
@@ -1852,6 +1852,8 @@ export declare interface GameModalProps {
1852
1852
  /** Called for every close intent: Esc, backdrop click, and close button. */
1853
1853
  onClose: () => void;
1854
1854
  open: boolean;
1855
+ /** Keep children mounted while closed to preserve their local state. Closed content stays inert. */
1856
+ keepMounted?: boolean;
1855
1857
  /**
1856
1858
  * `'bottom'` anchors the frame to the viewport's bottom edge (rounded top
1857
1859
  * corners only, safe-area-aware padding, slide-up entrance) for mobile