@swiftbrowser/react 0.28.2 → 0.28.3

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.
Files changed (2) hide show
  1. package/README.md +10 -2
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -373,7 +373,12 @@ a row from the leading edge, a `Spacer` pushing the rest to the trailing
373
373
  edge; it is hidden while nothing in the screen is being edited. A `Label`
374
374
  in a bar shows its icon alone, its title the icon's accessible name, as iOS
375
375
  draws a bar's labels; `labelStyle="titleAndIcon"` on it shows both, and a
376
- `Menu`'s items keep their labels' title and icon. Keep a bar's items the
376
+ `Menu`'s items keep their labels' title and icon. A `Menu` among a menu's
377
+ items is a submenu, as on iOS: a row with its label (a second `Text` in it
378
+ is a subtitle, where iOS shows the current choice) and a chevron, which
379
+ opens a panel of its own over the menu, headed by the label, with the menu
380
+ pushed back behind it until the header or the menu is tapped (a `Section`
381
+ is inline instead, its header a caption). Keep a bar's items the
377
382
  same from the push's first frame: iOS sizes their glass as the push starts
378
383
  and lays it out again only once the push ends, so an item that arrives with
379
384
  fetched data (an Edit button once the rows are in) sits clipped in the
@@ -439,7 +444,10 @@ that is a `NavigationStack` with a `path` binding keeps what it pushes in
439
444
  that binding in both widths, so an app that mirrors the path in the URL
440
445
  sees the same path on a phone as in a wide window, and a path it starts
441
446
  with (a reload onto a deep link) is shown over the detail; `.inspector` is a trailing panel when
442
- regular and a sheet when compact; `Table` shows every column under sortable
447
+ regular and a sheet when compact (inside a `NavigationStack`'s screen the
448
+ panel is a column beside the screen, the whole height, and the screen's bar
449
+ and content keep to the rest, as on iPadOS; through `RemoteTree` an app's
450
+ inspector becomes such a column of the host's screen); `Table` shows every column under sortable
443
451
  titles when regular and the first column when compact.
444
452
 
445
453
  ```tsx
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swiftbrowser/react",
3
- "version": "0.28.2",
3
+ "version": "0.28.3",
4
4
  "type": "module",
5
5
  "description": "SwiftUI's components for React: a react-reconciler host that emits SwiftBrowser render ops into the @swiftbrowser/web renderer, so a pure React/TypeScript web app gets the same iOS UI as a SwiftUI app in the browser.",
6
6
  "repository": {
@@ -29,7 +29,7 @@
29
29
  "test:unit": "vitest run"
30
30
  },
31
31
  "dependencies": {
32
- "@swiftbrowser/web": "0.28.2"
32
+ "@swiftbrowser/web": "0.28.3"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "react": "^19.0.0",