@semiont/react-ui 0.5.18 → 0.5.19

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 +4 -0
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -206,6 +206,10 @@ See [docs/SESSION.md](docs/SESSION.md) for details.
206
206
  - **Admin** — `createAdminUsersStateUnit`, `createAdminSecurityStateUnit`, `createExchangeStateUnit` (backup/restore + import/export)
207
207
  - **Auth + discovery + moderation** — `createWelcomeStateUnit`, `createDiscoverStateUnit`, `createEntityTagsStateUnit`
208
208
 
209
+ Adjacent to the state units: `useKBDiscovery` binds the sdk's
210
+ launcher-KB discovery subscription (`subscribeDiscovery`) to React state —
211
+ see [SESSION.md](docs/SESSION.md#usekbdiscovery--launcher-published-kbs).
212
+
209
213
  Each lives in `src/features/<feature>/state/` (or `src/state/` for cross-feature ones) next to the components that consume it. The `useStateUnit` hook wires them into React lifecycles.
210
214
 
211
215
  Use them via `import { createComposePageStateUnit } from '@semiont/react-ui'`. UI-shape-neutral state machines (flow VMs, worker adapters, search pipeline) continue to live in `@semiont/sdk` and are re-exported from here for convenience.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@semiont/react-ui",
3
- "version": "0.5.18",
3
+ "version": "0.5.19",
4
4
  "engines": {
5
5
  "node": ">=24.0.0"
6
6
  },
@@ -122,9 +122,9 @@
122
122
  "directory": "packages/react-ui"
123
123
  },
124
124
  "dependencies": {
125
- "@semiont/core": "0.5.18",
126
- "@semiont/http-transport": "0.5.18",
127
- "@semiont/sdk": "0.5.18",
125
+ "@semiont/core": "0.5.19",
126
+ "@semiont/http-transport": "0.5.19",
127
+ "@semiont/sdk": "0.5.19",
128
128
  "pdfjs-dist": "^6.1.200",
129
129
  "react-error-boundary": "^6.1.2",
130
130
  "react-markdown": "^10.1.0",