pith-ui 0.1.1 → 0.2.0-app.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.
Files changed (140) hide show
  1. package/AI.md +33 -8
  2. package/API.md +424 -268
  3. package/APP-API.md +2019 -0
  4. package/APP.md +137 -0
  5. package/README.md +37 -4
  6. package/dist/app/files.d.ts +68 -0
  7. package/dist/app/files.d.ts.map +1 -0
  8. package/dist/app/files.js +177 -0
  9. package/dist/app/files.js.map +1 -0
  10. package/dist/app/index.d.ts +57 -0
  11. package/dist/app/index.d.ts.map +1 -0
  12. package/dist/app/index.js +300 -0
  13. package/dist/app/index.js.map +1 -0
  14. package/dist/app/internal.d.ts +31 -0
  15. package/dist/app/internal.d.ts.map +1 -0
  16. package/dist/app/internal.js +2 -0
  17. package/dist/app/internal.js.map +1 -0
  18. package/dist/app/resources.d.ts +89 -0
  19. package/dist/app/resources.d.ts.map +1 -0
  20. package/dist/app/resources.js +190 -0
  21. package/dist/app/resources.js.map +1 -0
  22. package/dist/app/session.d.ts +14 -0
  23. package/dist/app/session.d.ts.map +1 -0
  24. package/dist/app/session.js +12 -0
  25. package/dist/app/session.js.map +1 -0
  26. package/dist/app/settings.d.ts +109 -0
  27. package/dist/app/settings.d.ts.map +1 -0
  28. package/dist/app/settings.js +279 -0
  29. package/dist/app/settings.js.map +1 -0
  30. package/dist/app/workspace.d.ts +228 -0
  31. package/dist/app/workspace.d.ts.map +1 -0
  32. package/dist/app/workspace.js +402 -0
  33. package/dist/app/workspace.js.map +1 -0
  34. package/dist/composer.d.ts.map +1 -1
  35. package/dist/composer.js +37 -27
  36. package/dist/composer.js.map +1 -1
  37. package/dist/content/conversation-reader.d.ts.map +1 -1
  38. package/dist/content/conversation-reader.js +8 -1
  39. package/dist/content/conversation-reader.js.map +1 -1
  40. package/dist/content/conversation-view.d.ts.map +1 -1
  41. package/dist/content/conversation-view.js +34 -8
  42. package/dist/content/conversation-view.js.map +1 -1
  43. package/dist/content/image-viewer.d.ts.map +1 -1
  44. package/dist/content/image-viewer.js +11 -3
  45. package/dist/content/image-viewer.js.map +1 -1
  46. package/dist/content/paged-preview.d.ts +1 -1
  47. package/dist/content/paged-preview.d.ts.map +1 -1
  48. package/dist/content/paged-preview.js +4 -2
  49. package/dist/content/paged-preview.js.map +1 -1
  50. package/dist/content/views.d.ts +3 -0
  51. package/dist/content/views.d.ts.map +1 -1
  52. package/dist/content/views.js +110 -41
  53. package/dist/content/views.js.map +1 -1
  54. package/dist/content/welcome.d.ts.map +1 -1
  55. package/dist/content/welcome.js +5 -2
  56. package/dist/content/welcome.js.map +1 -1
  57. package/dist/dom.js +1 -1
  58. package/dist/dom.js.map +1 -1
  59. package/dist/files/panels.d.ts +2 -0
  60. package/dist/files/panels.d.ts.map +1 -1
  61. package/dist/files/panels.js +202 -128
  62. package/dist/files/panels.js.map +1 -1
  63. package/dist/files/systems.d.ts.map +1 -1
  64. package/dist/files/systems.js +37 -64
  65. package/dist/files/systems.js.map +1 -1
  66. package/dist/forms/actions.d.ts +24 -2
  67. package/dist/forms/actions.d.ts.map +1 -1
  68. package/dist/forms/actions.js +54 -25
  69. package/dist/forms/actions.js.map +1 -1
  70. package/dist/forms/custom-connection.d.ts.map +1 -1
  71. package/dist/forms/custom-connection.js +3 -2
  72. package/dist/forms/custom-connection.js.map +1 -1
  73. package/dist/forms/history.d.ts +1 -1
  74. package/dist/forms/history.d.ts.map +1 -1
  75. package/dist/forms/history.js +78 -15
  76. package/dist/forms/history.js.map +1 -1
  77. package/dist/forms/identity.d.ts.map +1 -1
  78. package/dist/forms/identity.js +9 -25
  79. package/dist/forms/identity.js.map +1 -1
  80. package/dist/forms/model-editor.js +3 -3
  81. package/dist/forms/model-editor.js.map +1 -1
  82. package/dist/forms/panels.d.ts +9 -2
  83. package/dist/forms/panels.d.ts.map +1 -1
  84. package/dist/forms/panels.js +79 -88
  85. package/dist/forms/panels.js.map +1 -1
  86. package/dist/forms/provider-login.d.ts.map +1 -1
  87. package/dist/forms/provider-login.js +20 -36
  88. package/dist/forms/provider-login.js.map +1 -1
  89. package/dist/forms/resource-editor.js +5 -4
  90. package/dist/forms/resource-editor.js.map +1 -1
  91. package/dist/foundations.d.ts +1 -1
  92. package/dist/foundations.d.ts.map +1 -1
  93. package/dist/foundations.js +22 -38
  94. package/dist/foundations.js.map +1 -1
  95. package/dist/navigation/context-menu.d.ts +7 -1
  96. package/dist/navigation/context-menu.d.ts.map +1 -1
  97. package/dist/navigation/context-menu.js +60 -57
  98. package/dist/navigation/context-menu.js.map +1 -1
  99. package/dist/navigation/navigation.d.ts +13 -0
  100. package/dist/navigation/navigation.d.ts.map +1 -1
  101. package/dist/navigation/navigation.js +96 -130
  102. package/dist/navigation/navigation.js.map +1 -1
  103. package/dist/operation.d.ts +12 -0
  104. package/dist/operation.d.ts.map +1 -0
  105. package/dist/operation.js +49 -0
  106. package/dist/operation.js.map +1 -0
  107. package/dist/primitives.d.ts +8 -1
  108. package/dist/primitives.d.ts.map +1 -1
  109. package/dist/primitives.js +114 -143
  110. package/dist/primitives.js.map +1 -1
  111. package/dist/reconcile.d.ts +11 -0
  112. package/dist/reconcile.d.ts.map +1 -0
  113. package/dist/reconcile.js +36 -0
  114. package/dist/reconcile.js.map +1 -0
  115. package/dist/select.d.ts +14 -0
  116. package/dist/select.d.ts.map +1 -0
  117. package/dist/select.js +304 -0
  118. package/dist/select.js.map +1 -0
  119. package/dist/styles.css +439 -370
  120. package/dist/surface.d.ts +31 -0
  121. package/dist/surface.d.ts.map +1 -1
  122. package/dist/surface.js +193 -3
  123. package/dist/surface.js.map +1 -1
  124. package/dist/tasks/approval.d.ts.map +1 -1
  125. package/dist/tasks/approval.js +83 -45
  126. package/dist/tasks/approval.js.map +1 -1
  127. package/dist/tasks/permission-element.d.ts +3 -0
  128. package/dist/tasks/permission-element.d.ts.map +1 -0
  129. package/dist/tasks/permission-element.js +10 -0
  130. package/dist/tasks/permission-element.js.map +1 -0
  131. package/dist/tasks/permission.d.ts.map +1 -1
  132. package/dist/tasks/permission.js +37 -18
  133. package/dist/tasks/permission.js.map +1 -1
  134. package/dist/tasks/runtime.d.ts.map +1 -1
  135. package/dist/tasks/runtime.js +32 -15
  136. package/dist/tasks/runtime.js.map +1 -1
  137. package/dist/workspace.d.ts.map +1 -1
  138. package/dist/workspace.js +93 -40
  139. package/dist/workspace.js.map +1 -1
  140. package/package.json +42 -8
package/API.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Public API reference
2
2
 
3
- Generated for `pith-ui@0.1.1` by `node scripts/api-docs.ts` from TypeScript declaration emit. Do not edit this file by hand. The installed public declarations are authoritative; this reference reproduces every public declaration, including all 73 create/install/mount factories and their state, options, callback and handle types.
3
+ Generated for `pith-ui@0.2.0-app.1` by `node scripts/api-docs.ts` from TypeScript declaration emit. Do not edit this file by hand. The installed public declarations are authoritative; this reference reproduces every public declaration, including all 73 create/install/mount factories and their state, options, callback and handle types.
4
4
 
5
- Use the [catalog](https://github.com/minifish-org/pith-ui/blob/main/docs/catalog.md) to choose a complete block first, then inspect its exact signature and linked types here. Gallery links are related experiences; adapter APIs may point to their preferred replacement. Source links point to the implementation, not a second usage contract.
5
+ Use the [catalog](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/docs/catalog.md) to choose a complete block first, then inspect its exact signature and linked types here. Gallery links are related experiences; adapter APIs may point to their preferred replacement. Source links point to the implementation, not a second usage contract. Pith Desk uses the separate [application contract](./APP.md) and [application API](./APP-API.md).
6
6
 
7
7
  Types such as `HTMLElement`, `Node`, `Event`, `Promise` and TypeScript utility types are standard platform types. Named Pith UI references below link to their exact public definitions. Node slots require trusted DOM nodes; there is no arbitrary-HTML extension interface. See [AI.md](./AI.md) for lifecycle, host boundaries and composition rules.
8
8
 
@@ -23,7 +23,7 @@ Regenerate: `node scripts/api-docs.ts`. Verify without writing: `node scripts/ap
23
23
  | [`createCompletionNotices`](#createcompletionnotices) | [completion-notices](https://minifish-org.github.io/pith-ui/?item=completion-notices) |
24
24
  | [`createComposerView`](#createcomposerview) | [composer](https://minifish-org.github.io/pith-ui/?item=composer), [drop-feedback](https://minifish-org.github.io/pith-ui/?item=drop-feedback) |
25
25
  | [`createConfirmDialog`](#createconfirmdialog) | [confirmation](https://minifish-org.github.io/pith-ui/?item=confirmation) |
26
- | [`createContextMenu`](#createcontextmenu) | [context-menu](https://minifish-org.github.io/pith-ui/?item=context-menu) |
26
+ | [`createContextMenu`](#createcontextmenu) | [context-menu](https://minifish-org.github.io/pith-ui/?item=context-menu), [workspace-navigation](https://minifish-org.github.io/pith-ui/?item=workspace-navigation) |
27
27
  | [`createConversationView`](#createconversationview) | [conversation-messages](https://minifish-org.github.io/pith-ui/?item=conversation-messages), [conversation-reader](https://minifish-org.github.io/pith-ui/?item=conversation-reader), [foundation-motion](https://minifish-org.github.io/pith-ui/?item=foundation-motion) |
28
28
  | [`createCopyFeedback`](#createcopyfeedback) | [copy-feedback](https://minifish-org.github.io/pith-ui/?item=copy-feedback) |
29
29
  | [`createCostLedger`](#createcostledger) | [cost-ledger](https://minifish-org.github.io/pith-ui/?item=cost-ledger) |
@@ -47,7 +47,7 @@ Regenerate: `node scripts/api-docs.ts`. Verify without writing: `node scripts/ap
47
47
  | [`createListRow`](#createlistrow) | [collection-state](https://minifish-org.github.io/pith-ui/?item=collection-state), [list-row](https://minifish-org.github.io/pith-ui/?item=list-row) |
48
48
  | [`createMCPConnectionList`](#createmcpconnectionlist) | [mcp-connections](https://minifish-org.github.io/pith-ui/?item=mcp-connections) |
49
49
  | [`createMCPConnectionsPanel`](#createmcpconnectionspanel) | [mcp-connections](https://minifish-org.github.io/pith-ui/?item=mcp-connections) |
50
- | [`createMenu`](#createmenu) | [menu](https://minifish-org.github.io/pith-ui/?item=menu) |
50
+ | [`createMenu`](#createmenu) | [foundation-focus](https://minifish-org.github.io/pith-ui/?item=foundation-focus), [menu](https://minifish-org.github.io/pith-ui/?item=menu) |
51
51
  | [`createModelEditor`](#createmodeleditor) | [model-picker](https://minifish-org.github.io/pith-ui/?item=model-picker) |
52
52
  | [`createModelPicker`](#createmodelpicker) | [model-picker](https://minifish-org.github.io/pith-ui/?item=model-picker) |
53
53
  | [`createNotice`](#createnotice) | [notice](https://minifish-org.github.io/pith-ui/?item=notice) |
@@ -68,7 +68,7 @@ Regenerate: `node scripts/api-docs.ts`. Verify without writing: `node scripts/ap
68
68
  | [`createScrollArea`](#createscrollarea) | [scroll-area](https://minifish-org.github.io/pith-ui/?item=scroll-area) |
69
69
  | [`createSearchInput`](#createsearchinput) | [search-input](https://minifish-org.github.io/pith-ui/?item=search-input) |
70
70
  | [`createSecretInput`](#createsecretinput) | [secret-input](https://minifish-org.github.io/pith-ui/?item=secret-input) |
71
- | [`createSelect`](#createselect) | [foundation-sizing](https://minifish-org.github.io/pith-ui/?item=foundation-sizing), [foundation-spacing](https://minifish-org.github.io/pith-ui/?item=foundation-spacing), [select](https://minifish-org.github.io/pith-ui/?item=select) |
71
+ | [`createSelect`](#createselect) | [foundation-focus](https://minifish-org.github.io/pith-ui/?item=foundation-focus), [foundation-sizing](https://minifish-org.github.io/pith-ui/?item=foundation-sizing), [select](https://minifish-org.github.io/pith-ui/?item=select) |
72
72
  | [`createSettingsPanel`](#createsettingspanel) | [settings-panel](https://minifish-org.github.io/pith-ui/?item=settings-panel) |
73
73
  | [`createStatus`](#createstatus) | [status](https://minifish-org.github.io/pith-ui/?item=status) |
74
74
  | [`createTaskFailure`](#createtaskfailure) | [task-failure](https://minifish-org.github.io/pith-ui/?item=task-failure) |
@@ -90,7 +90,7 @@ Regenerate: `node scripts/api-docs.ts`. Verify without writing: `node scripts/ap
90
90
 
91
91
  ### createAttachments
92
92
 
93
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/composer.ts#L66)
93
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/composer.ts#L67)
94
94
 
95
95
  ```ts
96
96
  export declare function createAttachments(options?: {
@@ -106,7 +106,7 @@ Related gallery: [attachments](https://minifish-org.github.io/pith-ui/?item=atta
106
106
 
107
107
  ### createDropFeedback
108
108
 
109
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/composer.ts#L56)
109
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/composer.ts#L57)
110
110
 
111
111
  ```ts
112
112
  export declare function createDropFeedback(options: {
@@ -123,7 +123,7 @@ Related gallery: [drop-feedback](https://minifish-org.github.io/pith-ui/?item=dr
123
123
 
124
124
  ### createPendingMessages
125
125
 
126
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/composer.ts#L11)
126
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/composer.ts#L12)
127
127
 
128
128
  ```ts
129
129
  export declare function createPendingMessages(options?: PendingMessagesOptions): UIBlock<PendingMessagesState>;
@@ -135,7 +135,7 @@ Related gallery: [pending-messages](https://minifish-org.github.io/pith-ui/?item
135
135
 
136
136
  ### AttachmentItem
137
137
 
138
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/composer.ts#L54)
138
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/composer.ts#L55)
139
139
 
140
140
  ```ts
141
141
  export interface AttachmentItem {
@@ -147,7 +147,7 @@ export interface AttachmentItem {
147
147
 
148
148
  ### AttachmentsState
149
149
 
150
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/composer.ts#L65)
150
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/composer.ts#L66)
151
151
 
152
152
  ```ts
153
153
  export interface AttachmentsState {
@@ -160,7 +160,7 @@ Referenced public types and APIs: [`AttachmentItem`](#attachmentitem).
160
160
 
161
161
  ### PendingMessage
162
162
 
163
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/composer.ts#L5)
163
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/composer.ts#L6)
164
164
 
165
165
  ```ts
166
166
  export interface PendingMessage {
@@ -173,7 +173,7 @@ export interface PendingMessage {
173
173
 
174
174
  ### PendingMessagesOptions
175
175
 
176
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/composer.ts#L7)
176
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/composer.ts#L8)
177
177
 
178
178
  ```ts
179
179
  export interface PendingMessagesOptions {
@@ -184,7 +184,7 @@ export interface PendingMessagesOptions {
184
184
 
185
185
  ### PendingMessagesState
186
186
 
187
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/composer.ts#L6)
187
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/composer.ts#L7)
188
188
 
189
189
  ```ts
190
190
  export interface PendingMessagesState {
@@ -200,7 +200,7 @@ Referenced public types and APIs: [`PendingMessage`](#pendingmessage).
200
200
 
201
201
  ### installConversationReader
202
202
 
203
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/content/conversation-reader.ts#L18)
203
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/content/conversation-reader.ts#L18)
204
204
 
205
205
  ```ts
206
206
  export declare function installConversationReader(scroll: HTMLElement, messages: HTMLElement, bar: HTMLElement, latest: HTMLButtonElement, options?: ConversationReaderOptions): {
@@ -220,7 +220,7 @@ Related gallery: [conversation-reader](https://minifish-org.github.io/pith-ui/?i
220
220
 
221
221
  ### ConversationReaderOptions
222
222
 
223
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/content/conversation-reader.ts#L13)
223
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/content/conversation-reader.ts#L13)
224
224
 
225
225
  ```ts
226
226
  export interface ConversationReaderOptions {
@@ -231,7 +231,7 @@ export interface ConversationReaderOptions {
231
231
 
232
232
  ### findRanges
233
233
 
234
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/content/conversation-reader.ts#L4)
234
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/content/conversation-reader.ts#L4)
235
235
 
236
236
  ```ts
237
237
  export declare function findRanges(text: string, query: string): TextRange[];
@@ -241,7 +241,7 @@ Referenced public types and APIs: [`TextRange`](#textrange).
241
241
 
242
242
  ### TextRange
243
243
 
244
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/content/conversation-reader.ts#L1)
244
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/content/conversation-reader.ts#L1)
245
245
 
246
246
  ```ts
247
247
  export interface TextRange {
@@ -254,7 +254,7 @@ export interface TextRange {
254
254
 
255
255
  ### createConversationView
256
256
 
257
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/content/conversation-view.ts#L43)
257
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/content/conversation-view.ts#L43)
258
258
 
259
259
  ```ts
260
260
  export declare function createConversationView(options?: ConversationViewOptions): ConversationViewBlock;
@@ -266,7 +266,7 @@ Related gallery: [conversation-messages](https://minifish-org.github.io/pith-ui/
266
266
 
267
267
  ### ConversationAction
268
268
 
269
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/content/conversation-view.ts#L26)
269
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/content/conversation-view.ts#L26)
270
270
 
271
271
  ```ts
272
272
  export interface ConversationAction {
@@ -278,7 +278,7 @@ export interface ConversationAction {
278
278
 
279
279
  ### ConversationActionAvailability
280
280
 
281
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/content/conversation-view.ts#L27)
281
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/content/conversation-view.ts#L27)
282
282
 
283
283
  ```ts
284
284
  export interface ConversationActionAvailability {
@@ -290,7 +290,7 @@ export interface ConversationActionAvailability {
290
290
 
291
291
  ### ConversationImageState
292
292
 
293
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/content/conversation-view.ts#L28)
293
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/content/conversation-view.ts#L28)
294
294
 
295
295
  ```ts
296
296
  export type ConversationImageState = {
@@ -303,7 +303,7 @@ export type ConversationImageState = {
303
303
 
304
304
  ### ConversationMessage
305
305
 
306
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/content/conversation-view.ts#L8)
306
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/content/conversation-view.ts#L8)
307
307
 
308
308
  ```ts
309
309
  /** UI data only. Hosts decide copy/edit/branch eligibility and resolve images. */
@@ -339,7 +339,7 @@ Related gallery: [conversation-messages](https://minifish-org.github.io/pith-ui/
339
339
 
340
340
  ### ConversationViewBlock
341
341
 
342
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/content/conversation-view.ts#L29)
342
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/content/conversation-view.ts#L29)
343
343
 
344
344
  ```ts
345
345
  export interface ConversationViewBlock extends UIBlock<ConversationViewState> {
@@ -354,7 +354,7 @@ Referenced public types and APIs: [`ConversationActionAvailability`](#conversati
354
354
 
355
355
  ### ConversationViewOptions
356
356
 
357
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/content/conversation-view.ts#L35)
357
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/content/conversation-view.ts#L35)
358
358
 
359
359
  ```ts
360
360
  export interface ConversationViewOptions {
@@ -369,7 +369,7 @@ Referenced public types and APIs: [`ConversationAction`](#conversationaction), [
369
369
 
370
370
  ### ConversationViewState
371
371
 
372
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/content/conversation-view.ts#L20)
372
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/content/conversation-view.ts#L20)
373
373
 
374
374
  ```ts
375
375
  export interface ConversationViewState {
@@ -386,7 +386,7 @@ Referenced public types and APIs: [`ConversationMessage`](#conversationmessage).
386
386
 
387
387
  ### createImageViewer
388
388
 
389
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/content/image-viewer.ts#L9)
389
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/content/image-viewer.ts#L10)
390
390
 
391
391
  ```ts
392
392
  /** A modal above either a generated-file preview or a conversation attachment. */
@@ -404,7 +404,7 @@ Related gallery: [image-viewer](https://minifish-org.github.io/pith-ui/?item=ima
404
404
 
405
405
  ### installImageViewer
406
406
 
407
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/content/image-viewer.ts#L88)
407
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/content/image-viewer.ts#L94)
408
408
 
409
409
  ```ts
410
410
  export declare function installImageViewer(dialog: HTMLDialogElement, options?: {
@@ -423,7 +423,7 @@ Related gallery: [image-viewer](https://minifish-org.github.io/pith-ui/?item=ima
423
423
 
424
424
  ### ImageViewerInput
425
425
 
426
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/content/image-viewer.ts#L5)
426
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/content/image-viewer.ts#L6)
427
427
 
428
428
  ```ts
429
429
  export interface ImageViewerInput {
@@ -435,7 +435,7 @@ export interface ImageViewerInput {
435
435
 
436
436
  ### ImageViewerOptions
437
437
 
438
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/content/image-viewer.ts#L4)
438
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/content/image-viewer.ts#L5)
439
439
 
440
440
  ```ts
441
441
  export interface ImageViewerOptions {
@@ -448,7 +448,7 @@ export interface ImageViewerOptions {
448
448
 
449
449
  ### LocalContentLink
450
450
 
451
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/content/markdown.ts#L5)
451
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/content/markdown.ts#L5)
452
452
 
453
453
  ```ts
454
454
  export interface LocalContentLink {
@@ -459,7 +459,7 @@ export interface LocalContentLink {
459
459
 
460
460
  ### MarkdownOptions
461
461
 
462
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/content/markdown.ts#L6)
462
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/content/markdown.ts#L6)
463
463
 
464
464
  ```ts
465
465
  export interface MarkdownOptions {
@@ -472,7 +472,7 @@ Referenced public types and APIs: [`LocalContentLink`](#localcontentlink).
472
472
 
473
473
  ### renderDiff
474
474
 
475
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/content/markdown.ts#L67)
475
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/content/markdown.ts#L67)
476
476
 
477
477
  ```ts
478
478
  export declare function renderDiff(diff: string): string;
@@ -480,7 +480,7 @@ export declare function renderDiff(diff: string): string;
480
480
 
481
481
  ### renderMarkdown
482
482
 
483
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/content/markdown.ts#L12)
483
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/content/markdown.ts#L12)
484
484
 
485
485
  ```ts
486
486
  /** Sanitized content only: embedded images, executable markup and forms are excluded. */
@@ -493,7 +493,7 @@ Referenced public types and APIs: [`MarkdownOptions`](#markdownoptions).
493
493
 
494
494
  ### createPagedPreview
495
495
 
496
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/content/paged-preview.ts#L31)
496
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/content/paged-preview.ts#L31)
497
497
 
498
498
  ```ts
499
499
  export declare function createPagedPreview(options: PagedPreviewOptions): UIBlock<PagedPreviewState>;
@@ -505,7 +505,7 @@ Related gallery: [markdown-content](https://minifish-org.github.io/pith-ui/?item
505
505
 
506
506
  ### mountPagedPreview
507
507
 
508
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/content/paged-preview.ts#L60)
508
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/content/paged-preview.ts#L60)
509
509
 
510
510
  ```ts
511
511
  export declare function mountPagedPreview(container: HTMLElement, text: string, kind: PreviewKind): void;
@@ -517,12 +517,12 @@ Related gallery: [markdown-content](https://minifish-org.github.io/pith-ui/?item
517
517
 
518
518
  ### PagedPreviewOptions
519
519
 
520
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/content/paged-preview.ts#L29)
520
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/content/paged-preview.ts#L29)
521
521
 
522
522
  ```ts
523
523
  export interface PagedPreviewOptions extends PagedPreviewState {
524
524
  container?: HTMLElement;
525
- onCopyCode?: (text: string) => void;
525
+ onCopyCode?: (text: string, button: HTMLButtonElement) => void;
526
526
  }
527
527
  ```
528
528
 
@@ -530,7 +530,7 @@ Referenced public types and APIs: [`PagedPreviewState`](#pagedpreviewstate).
530
530
 
531
531
  ### PagedPreviewState
532
532
 
533
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/content/paged-preview.ts#L28)
533
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/content/paged-preview.ts#L28)
534
534
 
535
535
  ```ts
536
536
  export interface PagedPreviewState {
@@ -543,7 +543,7 @@ Referenced public types and APIs: [`PreviewKind`](#previewkind).
543
543
 
544
544
  ### PreviewKind
545
545
 
546
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/content/paged-preview.ts#L27)
546
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/content/paged-preview.ts#L27)
547
547
 
548
548
  ```ts
549
549
  export type PreviewKind = 'text' | 'markdown' | 'diff';
@@ -551,7 +551,7 @@ export type PreviewKind = 'text' | 'markdown' | 'diff';
551
551
 
552
552
  ### previewPageBytes
553
553
 
554
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/content/paged-preview.ts#L7)
554
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/content/paged-preview.ts#L7)
555
555
 
556
556
  ```ts
557
557
  export declare const previewPageBytes: number;
@@ -559,7 +559,7 @@ export declare const previewPageBytes: number;
559
559
 
560
560
  ### previewPageRanges
561
561
 
562
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/content/paged-preview.ts#L9)
562
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/content/paged-preview.ts#L9)
563
563
 
564
564
  ```ts
565
565
  export declare function previewPageRanges(bytes: Uint8Array, window?: number): Array<[
@@ -572,7 +572,7 @@ export declare function previewPageRanges(bytes: Uint8Array, window?: number): A
572
572
 
573
573
  ### createWelcomeView
574
574
 
575
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/content/welcome.ts#L17)
575
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/content/welcome.ts#L18)
576
576
 
577
577
  ```ts
578
578
  export declare function createWelcomeView(options?: WelcomeOptions): UIBlock<WelcomeState>;
@@ -584,7 +584,7 @@ Related gallery: [welcome](https://minifish-org.github.io/pith-ui/?item=welcome)
584
584
 
585
585
  ### WelcomeOptions
586
586
 
587
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/content/welcome.ts#L10)
587
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/content/welcome.ts#L11)
588
588
 
589
589
  ```ts
590
590
  export interface WelcomeOptions {
@@ -597,7 +597,7 @@ export interface WelcomeOptions {
597
597
 
598
598
  ### WelcomeState
599
599
 
600
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/content/welcome.ts#L4)
600
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/content/welcome.ts#L5)
601
601
 
602
602
  ```ts
603
603
  export interface WelcomeState {
@@ -615,7 +615,7 @@ export interface WelcomeState {
615
615
 
616
616
  ### ActionResult
617
617
 
618
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/core.ts#L8)
618
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/core.ts#L8)
619
619
 
620
620
  ```ts
621
621
  export type ActionResult = {
@@ -628,7 +628,7 @@ export type ActionResult = {
628
628
 
629
629
  ### controlDisabled
630
630
 
631
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/core.ts#L42)
631
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/core.ts#L42)
632
632
 
633
633
  ```ts
634
634
  /** Combine business availability with pending state owned by the control. */
@@ -637,7 +637,7 @@ export declare function controlDisabled(button: Pick<HTMLButtonElement, 'dataset
637
637
 
638
638
  ### Density
639
639
 
640
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/core.ts#L10)
640
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/core.ts#L10)
641
641
 
642
642
  ```ts
643
643
  export type Density = 'normal' | 'compact';
@@ -645,7 +645,7 @@ export type Density = 'normal' | 'compact';
645
645
 
646
646
  ### Generation
647
647
 
648
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/core.ts#L14)
648
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/core.ts#L14)
649
649
 
650
650
  ```ts
651
651
  /** Invalidates UI responses without cancelling an already-started business write. */
@@ -661,7 +661,7 @@ export declare class Generation {
661
661
 
662
662
  ### Intent
663
663
 
664
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/core.ts#L11)
664
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/core.ts#L11)
665
665
 
666
666
  ```ts
667
667
  export type Intent = 'neutral' | 'primary' | 'danger';
@@ -669,7 +669,7 @@ export type Intent = 'neutral' | 'primary' | 'danger';
669
669
 
670
670
  ### Lifetime
671
671
 
672
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/core.ts#L24)
672
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/core.ts#L24)
673
673
 
674
674
  ```ts
675
675
  /** All listeners and observers belong to the instance, including document listeners. */
@@ -684,7 +684,7 @@ export declare class Lifetime {
684
684
 
685
685
  ### setControlPending
686
686
 
687
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/core.ts#L46)
687
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/core.ts#L46)
688
688
 
689
689
  ```ts
690
690
  export declare function setControlPending(button: HTMLButtonElement, pending: boolean): void;
@@ -692,7 +692,7 @@ export declare function setControlPending(button: HTMLButtonElement, pending: bo
692
692
 
693
693
  ### UIAction
694
694
 
695
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/core.ts#L9)
695
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/core.ts#L9)
696
696
 
697
697
  ```ts
698
698
  export type UIAction = () => void | ActionResult | Promise<void | ActionResult>;
@@ -702,7 +702,7 @@ Referenced public types and APIs: [`ActionResult`](#actionresult).
702
702
 
703
703
  ### UIBlock
704
704
 
705
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/core.ts#L2)
705
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/core.ts#L2)
706
706
 
707
707
  ```ts
708
708
  /** An owned DOM instance. Call destroy before releasing or replacing its host. */
@@ -717,7 +717,7 @@ export interface UIBlock<State> {
717
717
 
718
718
  ### dialogHeading
719
719
 
720
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/dom.ts#L34)
720
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/dom.ts#L34)
721
721
 
722
722
  ```ts
723
723
  export declare function dialogHeading(title: string, id: string, dialogId: string, eyebrow?: string): string;
@@ -725,7 +725,7 @@ export declare function dialogHeading(title: string, id: string, dialogId: strin
725
725
 
726
726
  ### DOMChild
727
727
 
728
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/dom.ts#L38)
728
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/dom.ts#L38)
729
729
 
730
730
  ```ts
731
731
  export type DOMChild = Node | string | null | undefined;
@@ -733,7 +733,7 @@ export type DOMChild = Node | string | null | undefined;
733
733
 
734
734
  ### element
735
735
 
736
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/dom.ts#L40)
736
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/dom.ts#L40)
737
737
 
738
738
  ```ts
739
739
  /** Safe DOM construction; strings are always text nodes. */
@@ -742,11 +742,11 @@ export declare function element<K extends keyof HTMLElementTagNameMap>(tag: K, c
742
742
 
743
743
  Referenced public types and APIs: [`DOMChild`](#domchild).
744
744
 
745
- Related gallery: [actions](https://minifish-org.github.io/pith-ui/?item=actions), [artifact-panel](https://minifish-org.github.io/pith-ui/?item=artifact-panel), [button](https://minifish-org.github.io/pith-ui/?item=button), [collection-state](https://minifish-org.github.io/pith-ui/?item=collection-state), [completion-notices](https://minifish-org.github.io/pith-ui/?item=completion-notices), [composer](https://minifish-org.github.io/pith-ui/?item=composer), [context-menu](https://minifish-org.github.io/pith-ui/?item=context-menu), [conversation-messages](https://minifish-org.github.io/pith-ui/?item=conversation-messages), [conversation-reader](https://minifish-org.github.io/pith-ui/?item=conversation-reader), [copy-feedback](https://minifish-org.github.io/pith-ui/?item=copy-feedback), [dialog](https://minifish-org.github.io/pith-ui/?item=dialog), [disclosure](https://minifish-org.github.io/pith-ui/?item=disclosure), [drop-feedback](https://minifish-org.github.io/pith-ui/?item=drop-feedback), [feature-dialog](https://minifish-org.github.io/pith-ui/?item=feature-dialog), [file-actions](https://minifish-org.github.io/pith-ui/?item=file-actions), [file-preview](https://minifish-org.github.io/pith-ui/?item=file-preview), [form-section](https://minifish-org.github.io/pith-ui/?item=form-section), [foundation-borders](https://minifish-org.github.io/pith-ui/?item=foundation-borders), [foundation-colors](https://minifish-org.github.io/pith-ui/?item=foundation-colors), [foundation-focus](https://minifish-org.github.io/pith-ui/?item=foundation-focus), [foundation-motion](https://minifish-org.github.io/pith-ui/?item=foundation-motion), [foundation-sizing](https://minifish-org.github.io/pith-ui/?item=foundation-sizing), [foundation-spacing](https://minifish-org.github.io/pith-ui/?item=foundation-spacing), [foundation-surfaces](https://minifish-org.github.io/pith-ui/?item=foundation-surfaces), [foundation-typography](https://minifish-org.github.io/pith-ui/?item=foundation-typography), [icon-button](https://minifish-org.github.io/pith-ui/?item=icon-button), [icons](https://minifish-org.github.io/pith-ui/?item=icons), [image-viewer](https://minifish-org.github.io/pith-ui/?item=image-viewer), [list-row](https://minifish-org.github.io/pith-ui/?item=list-row), [mcp-connections](https://minifish-org.github.io/pith-ui/?item=mcp-connections), [pending-messages](https://minifish-org.github.io/pith-ui/?item=pending-messages), [permission-control](https://minifish-org.github.io/pith-ui/?item=permission-control), [popover](https://minifish-org.github.io/pith-ui/?item=popover), [provider-resource-actions](https://minifish-org.github.io/pith-ui/?item=provider-resource-actions), [resources-panel](https://minifish-org.github.io/pith-ui/?item=resources-panel), [runtime-panel](https://minifish-org.github.io/pith-ui/?item=runtime-panel), [scroll-area](https://minifish-org.github.io/pith-ui/?item=scroll-area), [toolbar](https://minifish-org.github.io/pith-ui/?item=toolbar), [updates](https://minifish-org.github.io/pith-ui/?item=updates), [workspace-navigation](https://minifish-org.github.io/pith-ui/?item=workspace-navigation).
745
+ Related gallery: [actions](https://minifish-org.github.io/pith-ui/?item=actions), [application-reference](https://minifish-org.github.io/pith-ui/?item=application-reference), [artifact-panel](https://minifish-org.github.io/pith-ui/?item=artifact-panel), [button](https://minifish-org.github.io/pith-ui/?item=button), [collection-state](https://minifish-org.github.io/pith-ui/?item=collection-state), [completion-notices](https://minifish-org.github.io/pith-ui/?item=completion-notices), [composer](https://minifish-org.github.io/pith-ui/?item=composer), [context-menu](https://minifish-org.github.io/pith-ui/?item=context-menu), [conversation-reader](https://minifish-org.github.io/pith-ui/?item=conversation-reader), [copy-feedback](https://minifish-org.github.io/pith-ui/?item=copy-feedback), [dialog](https://minifish-org.github.io/pith-ui/?item=dialog), [disclosure](https://minifish-org.github.io/pith-ui/?item=disclosure), [drop-feedback](https://minifish-org.github.io/pith-ui/?item=drop-feedback), [feature-dialog](https://minifish-org.github.io/pith-ui/?item=feature-dialog), [file-preview](https://minifish-org.github.io/pith-ui/?item=file-preview), [form-section](https://minifish-org.github.io/pith-ui/?item=form-section), [foundation-borders](https://minifish-org.github.io/pith-ui/?item=foundation-borders), [foundation-colors](https://minifish-org.github.io/pith-ui/?item=foundation-colors), [foundation-focus](https://minifish-org.github.io/pith-ui/?item=foundation-focus), [foundation-motion](https://minifish-org.github.io/pith-ui/?item=foundation-motion), [foundation-sizing](https://minifish-org.github.io/pith-ui/?item=foundation-sizing), [foundation-spacing](https://minifish-org.github.io/pith-ui/?item=foundation-spacing), [foundation-surfaces](https://minifish-org.github.io/pith-ui/?item=foundation-surfaces), [foundation-typography](https://minifish-org.github.io/pith-ui/?item=foundation-typography), [icon-button](https://minifish-org.github.io/pith-ui/?item=icon-button), [icons](https://minifish-org.github.io/pith-ui/?item=icons), [image-viewer](https://minifish-org.github.io/pith-ui/?item=image-viewer), [list-row](https://minifish-org.github.io/pith-ui/?item=list-row), [mcp-connections](https://minifish-org.github.io/pith-ui/?item=mcp-connections), [pending-messages](https://minifish-org.github.io/pith-ui/?item=pending-messages), [permission-control](https://minifish-org.github.io/pith-ui/?item=permission-control), [popover](https://minifish-org.github.io/pith-ui/?item=popover), [provider-resource-actions](https://minifish-org.github.io/pith-ui/?item=provider-resource-actions), [resources-panel](https://minifish-org.github.io/pith-ui/?item=resources-panel), [runtime-panel](https://minifish-org.github.io/pith-ui/?item=runtime-panel), [scroll-area](https://minifish-org.github.io/pith-ui/?item=scroll-area), [toolbar](https://minifish-org.github.io/pith-ui/?item=toolbar), [updates](https://minifish-org.github.io/pith-ui/?item=updates), [workspace-navigation](https://minifish-org.github.io/pith-ui/?item=workspace-navigation).
746
746
 
747
747
  ### escape
748
748
 
749
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/dom.ts#L29)
749
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/dom.ts#L29)
750
750
 
751
751
  ```ts
752
752
  export declare const escape: (value: unknown) => string;
@@ -754,7 +754,7 @@ export declare const escape: (value: unknown) => string;
754
754
 
755
755
  ### escapeHTML
756
756
 
757
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/dom.ts#L30)
757
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/dom.ts#L30)
758
758
 
759
759
  ```ts
760
760
  export declare const escapeHTML: (value: unknown) => string;
@@ -762,7 +762,7 @@ export declare const escapeHTML: (value: unknown) => string;
762
762
 
763
763
  ### focusableElements
764
764
 
765
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/dom.ts#L58)
765
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/dom.ts#L58)
766
766
 
767
767
  ```ts
768
768
  export declare function focusableElements(owner: HTMLElement): HTMLElement[];
@@ -770,7 +770,7 @@ export declare function focusableElements(owner: HTMLElement): HTMLElement[];
770
770
 
771
771
  ### icon
772
772
 
773
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/dom.ts#L32)
773
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/dom.ts#L32)
774
774
 
775
775
  ```ts
776
776
  /** Compatibility markup from a closed, trusted icon registry. */
@@ -781,7 +781,7 @@ Related gallery: [collection-state](https://minifish-org.github.io/pith-ui/?item
781
781
 
782
782
  ### iconElement
783
783
 
784
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/dom.ts#L47)
784
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/dom.ts#L47)
785
785
 
786
786
  ```ts
787
787
  export declare function iconElement(name: string): SVGSVGElement;
@@ -789,7 +789,7 @@ export declare function iconElement(name: string): SVGSVGElement;
789
789
 
790
790
  ### setText
791
791
 
792
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/dom.ts#L53)
792
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/dom.ts#L53)
793
793
 
794
794
  ```ts
795
795
  export declare function setText(node: HTMLElement, value: unknown): void;
@@ -797,7 +797,7 @@ export declare function setText(node: HTMLElement, value: unknown): void;
797
797
 
798
798
  ### showDialogError
799
799
 
800
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/dom.ts#L66)
800
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/dom.ts#L66)
801
801
 
802
802
  ```ts
803
803
  export declare function showDialogError(owner: HTMLElement, message: string): void;
@@ -805,7 +805,7 @@ export declare function showDialogError(owner: HTMLElement, message: string): vo
805
805
 
806
806
  ### uniqueId
807
807
 
808
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/dom.ts#L64)
808
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/dom.ts#L64)
809
809
 
810
810
  ```ts
811
811
  export declare function uniqueId(prefix?: string): string;
@@ -817,7 +817,7 @@ Related gallery: [foundation-focus](https://minifish-org.github.io/pith-ui/?item
817
817
 
818
818
  ### createArtifactPanel
819
819
 
820
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/files/panels.ts#L33)
820
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/panels.ts#L43)
821
821
 
822
822
  ```ts
823
823
  export declare function createArtifactPanel(options: ArtifactPanelOptions): {
@@ -835,11 +835,12 @@ Related gallery: [artifact-panel](https://minifish-org.github.io/pith-ui/?item=a
835
835
 
836
836
  ### createFileActions
837
837
 
838
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/files/panels.ts#L19)
838
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/panels.ts#L21)
839
839
 
840
840
  ```ts
841
841
  export declare function createFileActions(options: FileActionOptions): {
842
842
  element: HTMLElement;
843
+ setDisabled(disabled: boolean): void;
843
844
  destroy(): void;
844
845
  };
845
846
  ```
@@ -850,7 +851,7 @@ Related gallery: [file-actions](https://minifish-org.github.io/pith-ui/?item=fil
850
851
 
851
852
  ### createFilePreview
852
853
 
853
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/files/panels.ts#L179)
854
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/panels.ts#L232)
854
855
 
855
856
  ```ts
856
857
  export declare function createFilePreview(options?: FilePreviewOptions): {
@@ -872,7 +873,7 @@ Related gallery: [file-preview](https://minifish-org.github.io/pith-ui/?item=fil
872
873
 
873
874
  ### createResourcesPanel
874
875
 
875
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/files/panels.ts#L105)
876
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/panels.ts#L113)
876
877
 
877
878
  ```ts
878
879
  export declare function createResourcesPanel(options?: ResourcesPanelOptions): {
@@ -891,7 +892,7 @@ Related gallery: [resources-panel](https://minifish-org.github.io/pith-ui/?item=
891
892
 
892
893
  ### ArtifactPanelOptions
893
894
 
894
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/files/panels.ts#L32)
895
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/panels.ts#L42)
895
896
 
896
897
  ```ts
897
898
  export interface ArtifactPanelOptions {
@@ -906,7 +907,7 @@ export interface ArtifactPanelOptions {
906
907
 
907
908
  ### ArtifactPanelState
908
909
 
909
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/files/panels.ts#L31)
910
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/panels.ts#L41)
910
911
 
911
912
  ```ts
912
913
  export interface ArtifactPanelState {
@@ -923,7 +924,7 @@ export interface ArtifactPanelState {
923
924
 
924
925
  ### FileActionOptions
925
926
 
926
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/files/panels.ts#L7)
927
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/panels.ts#L9)
927
928
 
928
929
  ```ts
929
930
  export interface FileActionOptions {
@@ -938,7 +939,7 @@ export interface FileActionOptions {
938
939
 
939
940
  ### fileActionsMarkup
940
941
 
941
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/files/panels.ts#L12)
942
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/panels.ts#L14)
942
943
 
943
944
  ```ts
944
945
  export declare function fileActionsMarkup(options: FileActionOptions): string;
@@ -948,7 +949,7 @@ Referenced public types and APIs: [`FileActionOptions`](#fileactionoptions).
948
949
 
949
950
  ### FilePreviewOptions
950
951
 
951
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/files/panels.ts#L178)
952
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/panels.ts#L231)
952
953
 
953
954
  ```ts
954
955
  export interface FilePreviewOptions {
@@ -957,12 +958,13 @@ export interface FilePreviewOptions {
957
958
  dialogId?: string;
958
959
  bodyId?: string;
959
960
  onClose?: () => void;
961
+ onCopyCode?: (text: string, button: HTMLButtonElement) => void;
960
962
  }
961
963
  ```
962
964
 
963
965
  ### FilePreviewState
964
966
 
965
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/files/panels.ts#L177)
967
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/panels.ts#L230)
966
968
 
967
969
  ```ts
968
970
  export interface FilePreviewState {
@@ -979,7 +981,7 @@ Referenced public types and APIs: [`PreviewKind`](#previewkind).
979
981
 
980
982
  ### ResourceDisplayEntry
981
983
 
982
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/files/panels.ts#L99)
984
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/panels.ts#L107)
983
985
 
984
986
  ```ts
985
987
  export interface ResourceDisplayEntry {
@@ -994,7 +996,7 @@ export interface ResourceDisplayEntry {
994
996
 
995
997
  ### ResourcesPanelOptions
996
998
 
997
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/files/panels.ts#L104)
999
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/panels.ts#L112)
998
1000
 
999
1001
  ```ts
1000
1002
  export interface ResourcesPanelOptions {
@@ -1011,7 +1013,7 @@ export interface ResourcesPanelOptions {
1011
1013
 
1012
1014
  ### ResourcesPanelState
1013
1015
 
1014
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/files/panels.ts#L100)
1016
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/panels.ts#L108)
1015
1017
 
1016
1018
  ```ts
1017
1019
  export interface ResourcesPanelState {
@@ -1030,7 +1032,7 @@ Referenced public types and APIs: [`ResourceDisplayEntry`](#resourcedisplayentry
1030
1032
 
1031
1033
  ### createCompletionNotices
1032
1034
 
1033
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/files/systems.ts#L123)
1035
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/systems.ts#L119)
1034
1036
 
1035
1037
  ```ts
1036
1038
  export declare function createCompletionNotices(options?: {
@@ -1046,7 +1048,7 @@ Related gallery: [completion-notices](https://minifish-org.github.io/pith-ui/?it
1046
1048
 
1047
1049
  ### createCopyFeedback
1048
1050
 
1049
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/files/systems.ts#L166)
1051
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/systems.ts#L157)
1050
1052
 
1051
1053
  ```ts
1052
1054
  export declare function createCopyFeedback(options: {
@@ -1063,7 +1065,7 @@ Related gallery: [copy-feedback](https://minifish-org.github.io/pith-ui/?item=co
1063
1065
 
1064
1066
  ### createCostLedger
1065
1067
 
1066
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/files/systems.ts#L23)
1068
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/systems.ts#L24)
1067
1069
 
1068
1070
  ```ts
1069
1071
  export declare function createCostLedger(options?: {
@@ -1084,7 +1086,7 @@ Related gallery: [cost-ledger](https://minifish-org.github.io/pith-ui/?item=cost
1084
1086
 
1085
1087
  ### createUpdatePanel
1086
1088
 
1087
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/files/systems.ts#L82)
1089
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/systems.ts#L78)
1088
1090
 
1089
1091
  ```ts
1090
1092
  export declare function createUpdatePanel(options?: {
@@ -1109,7 +1111,7 @@ Related gallery: [settings-panel](https://minifish-org.github.io/pith-ui/?item=s
1109
1111
 
1110
1112
  ### CompletionNoticeDisplay
1111
1113
 
1112
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/files/systems.ts#L116)
1114
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/systems.ts#L112)
1113
1115
 
1114
1116
  ```ts
1115
1117
  export interface CompletionNoticeDisplay {
@@ -1124,7 +1126,7 @@ Related gallery: [completion-notices](https://minifish-org.github.io/pith-ui/?it
1124
1126
 
1125
1127
  ### CostLedgerState
1126
1128
 
1127
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/files/systems.ts#L22)
1129
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/systems.ts#L23)
1128
1130
 
1129
1131
  ```ts
1130
1132
  export interface CostLedgerState {
@@ -1137,7 +1139,7 @@ Referenced public types and APIs: [`CostRequestDisplay`](#costrequestdisplay).
1137
1139
 
1138
1140
  ### CostRequestDisplay
1139
1141
 
1140
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/files/systems.ts#L17)
1142
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/systems.ts#L18)
1141
1143
 
1142
1144
  ```ts
1143
1145
  export interface CostRequestDisplay {
@@ -1167,7 +1169,7 @@ export interface CostRequestDisplay {
1167
1169
 
1168
1170
  ### CostSummaryDisplay
1169
1171
 
1170
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/files/systems.ts#L8)
1172
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/systems.ts#L9)
1171
1173
 
1172
1174
  ```ts
1173
1175
  export interface CostSummaryDisplay {
@@ -1183,7 +1185,7 @@ export interface CostSummaryDisplay {
1183
1185
 
1184
1186
  ### formatCost
1185
1187
 
1186
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/files/systems.ts#L9)
1188
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/systems.ts#L10)
1187
1189
 
1188
1190
  ```ts
1189
1191
  export declare function formatCost(cost: CostSummaryDisplay | undefined, latestTask?: boolean): string;
@@ -1193,7 +1195,7 @@ Referenced public types and APIs: [`CostSummaryDisplay`](#costsummarydisplay).
1193
1195
 
1194
1196
  ### historyStatusMarkup
1195
1197
 
1196
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/files/systems.ts#L117)
1198
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/systems.ts#L113)
1197
1199
 
1198
1200
  ```ts
1199
1201
  export declare function historyStatusMarkup(status: 'approval' | 'running' | 'unread' | 'idle'): string;
@@ -1203,7 +1205,7 @@ Related gallery: [completion-notices](https://minifish-org.github.io/pith-ui/?it
1203
1205
 
1204
1206
  ### UpdatePanelState
1205
1207
 
1206
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/files/systems.ts#L81)
1208
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/systems.ts#L77)
1207
1209
 
1208
1210
  ```ts
1209
1211
  export interface UpdatePanelState {
@@ -1220,31 +1222,31 @@ export interface UpdatePanelState {
1220
1222
 
1221
1223
  ### createProviderActions
1222
1224
 
1223
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/actions.ts#L28)
1225
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/actions.ts#L38)
1224
1226
 
1225
1227
  ```ts
1226
- export declare function createProviderActions(state: ProviderActionsState, options?: FeatureActionOptions): UIBlock<ProviderActionsState>;
1228
+ export declare function createProviderActions(state: ProviderActionsState, options?: ProviderActionOptions): UIBlock<ProviderActionsState>;
1227
1229
  ```
1228
1230
 
1229
- Referenced public types and APIs: [`FeatureActionOptions`](#featureactionoptions), [`ProviderActionsState`](#provideractionsstate), [`UIBlock`](#uiblock).
1231
+ Referenced public types and APIs: [`ProviderActionOptions`](#provideractionoptions), [`ProviderActionsState`](#provideractionsstate), [`UIBlock`](#uiblock).
1230
1232
 
1231
1233
  Related gallery: [provider-resource-actions](https://minifish-org.github.io/pith-ui/?item=provider-resource-actions).
1232
1234
 
1233
1235
  ### createResourceActions
1234
1236
 
1235
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/actions.ts#L29)
1237
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/actions.ts#L46)
1236
1238
 
1237
1239
  ```ts
1238
- export declare function createResourceActions(state: ResourceActionsState, options?: FeatureActionOptions): UIBlock<ResourceActionsState>;
1240
+ export declare function createResourceActions(state: ResourceActionsState, options?: ResourceActionOptions): UIBlock<ResourceActionsState>;
1239
1241
  ```
1240
1242
 
1241
- Referenced public types and APIs: [`FeatureActionOptions`](#featureactionoptions), [`ResourceActionsState`](#resourceactionsstate), [`UIBlock`](#uiblock).
1243
+ Referenced public types and APIs: [`ResourceActionOptions`](#resourceactionoptions), [`ResourceActionsState`](#resourceactionsstate), [`UIBlock`](#uiblock).
1242
1244
 
1243
1245
  Related gallery: [provider-resource-actions](https://minifish-org.github.io/pith-ui/?item=provider-resource-actions), [resources-panel](https://minifish-org.github.io/pith-ui/?item=resources-panel).
1244
1246
 
1245
1247
  ### FeatureActionOptions
1246
1248
 
1247
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/actions.ts#L11)
1249
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/actions.ts#L17)
1248
1250
 
1249
1251
  ```ts
1250
1252
  export interface FeatureActionOptions {
@@ -1255,9 +1257,29 @@ export interface FeatureActionOptions {
1255
1257
 
1256
1258
  Referenced public types and APIs: [`UIAction`](#uiaction).
1257
1259
 
1260
+ ### ProviderAction
1261
+
1262
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/actions.ts#L8)
1263
+
1264
+ ```ts
1265
+ export type ProviderAction = 'login' | 'logout' | 'custom' | 'remove-connection';
1266
+ ```
1267
+
1268
+ ### ProviderActionOptions
1269
+
1270
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/actions.ts#L18)
1271
+
1272
+ ```ts
1273
+ export interface ProviderActionOptions extends FeatureActionOptions {
1274
+ onProviderAction?: (action: ProviderAction, target: ProviderActionTarget) => ReturnType<UIAction>;
1275
+ }
1276
+ ```
1277
+
1278
+ Referenced public types and APIs: [`FeatureActionOptions`](#featureactionoptions), [`ProviderAction`](#provideraction), [`ProviderActionTarget`](#provideractiontarget), [`UIAction`](#uiaction).
1279
+
1258
1280
  ### providerActionsMarkup
1259
1281
 
1260
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/actions.ts#L6)
1282
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/actions.ts#L12)
1261
1283
 
1262
1284
  ```ts
1263
1285
  export declare function providerActionsMarkup(provider: ProviderActionsState): string;
@@ -1267,7 +1289,7 @@ Referenced public types and APIs: [`ProviderActionsState`](#provideractionsstate
1267
1289
 
1268
1290
  ### ProviderActionsState
1269
1291
 
1270
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/actions.ts#L4)
1292
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/actions.ts#L5)
1271
1293
 
1272
1294
  ```ts
1273
1295
  export interface ProviderActionsState {
@@ -1275,12 +1297,43 @@ export interface ProviderActionsState {
1275
1297
  oauth: boolean;
1276
1298
  signedIn: boolean;
1277
1299
  custom: boolean;
1300
+ disabled?: boolean;
1301
+ }
1302
+ ```
1303
+
1304
+ ### ProviderActionTarget
1305
+
1306
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/actions.ts#L10)
1307
+
1308
+ ```ts
1309
+ export interface ProviderActionTarget {
1310
+ readonly id: string;
1311
+ }
1312
+ ```
1313
+
1314
+ ### ResourceAction
1315
+
1316
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/actions.ts#L9)
1317
+
1318
+ ```ts
1319
+ export type ResourceAction = 'use-resource' | 'resource';
1320
+ ```
1321
+
1322
+ ### ResourceActionOptions
1323
+
1324
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/actions.ts#L19)
1325
+
1326
+ ```ts
1327
+ export interface ResourceActionOptions extends FeatureActionOptions {
1328
+ onResourceAction?: (action: ResourceAction, target: ResourceActionTarget) => ReturnType<UIAction>;
1278
1329
  }
1279
1330
  ```
1280
1331
 
1332
+ Referenced public types and APIs: [`FeatureActionOptions`](#featureactionoptions), [`ResourceAction`](#resourceaction), [`ResourceActionTarget`](#resourceactiontarget), [`UIAction`](#uiaction).
1333
+
1281
1334
  ### resourceActionsMarkup
1282
1335
 
1283
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/actions.ts#L7)
1336
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/actions.ts#L14)
1284
1337
 
1285
1338
  ```ts
1286
1339
  export declare function resourceActionsMarkup(kind: string, resource: {
@@ -1291,7 +1344,7 @@ export declare function resourceActionsMarkup(kind: string, resource: {
1291
1344
 
1292
1345
  ### ResourceActionsState
1293
1346
 
1294
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/actions.ts#L5)
1347
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/actions.ts#L7)
1295
1348
 
1296
1349
  ```ts
1297
1350
  export interface ResourceActionsState {
@@ -1304,11 +1357,35 @@ export interface ResourceActionsState {
1304
1357
  }
1305
1358
  ```
1306
1359
 
1360
+ ### ResourceActionTarget
1361
+
1362
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/actions.ts#L11)
1363
+
1364
+ ```ts
1365
+ export interface ResourceActionTarget {
1366
+ readonly workspaceId: string;
1367
+ readonly kind: string;
1368
+ readonly resource: {
1369
+ readonly name: string;
1370
+ readonly path: string;
1371
+ };
1372
+ readonly command?: string;
1373
+ }
1374
+ ```
1375
+
1376
+ ### ResourceKind
1377
+
1378
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/actions.ts#L6)
1379
+
1380
+ ```ts
1381
+ export type ResourceKind = 'instructions' | 'skill' | 'template';
1382
+ ```
1383
+
1307
1384
  ## src/forms/custom-connection.ts
1308
1385
 
1309
1386
  ### createCustomConnectionEditor
1310
1387
 
1311
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/custom-connection.ts#L28)
1388
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/custom-connection.ts#L28)
1312
1389
 
1313
1390
  ```ts
1314
1391
  export declare function createCustomConnectionEditor(state: CustomConnectionState, options?: {
@@ -1326,7 +1403,7 @@ Related gallery: [custom-connection](https://minifish-org.github.io/pith-ui/?ite
1326
1403
 
1327
1404
  ### createCustomModelRow
1328
1405
 
1329
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/custom-connection.ts#L12)
1406
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/custom-connection.ts#L12)
1330
1407
 
1331
1408
  ```ts
1332
1409
  export declare function createCustomModelRow(model: CustomModelRowState, index?: number): UIBlock<CustomModelRowState> & {
@@ -1341,7 +1418,7 @@ Related gallery: [custom-connection](https://minifish-org.github.io/pith-ui/?ite
1341
1418
 
1342
1419
  ### CustomConnectionDraft
1343
1420
 
1344
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/custom-connection.ts#L8)
1421
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/custom-connection.ts#L8)
1345
1422
 
1346
1423
  ```ts
1347
1424
  export interface CustomConnectionDraft {
@@ -1357,7 +1434,7 @@ Referenced public types and APIs: [`CustomModelDraft`](#custommodeldraft).
1357
1434
 
1358
1435
  ### CustomConnectionState
1359
1436
 
1360
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/custom-connection.ts#L6)
1437
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/custom-connection.ts#L6)
1361
1438
 
1362
1439
  ```ts
1363
1440
  export interface CustomConnectionState {
@@ -1375,7 +1452,7 @@ Referenced public types and APIs: [`CustomModelValue`](#custommodelvalue).
1375
1452
 
1376
1453
  ### CustomModelDraft
1377
1454
 
1378
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/custom-connection.ts#L7)
1455
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/custom-connection.ts#L7)
1379
1456
 
1380
1457
  ```ts
1381
1458
  export interface CustomModelDraft {
@@ -1397,7 +1474,7 @@ export interface CustomModelDraft {
1397
1474
 
1398
1475
  ### CustomModelRowState
1399
1476
 
1400
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/custom-connection.ts#L11)
1477
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/custom-connection.ts#L11)
1401
1478
 
1402
1479
  ```ts
1403
1480
  export interface CustomModelRowState extends CustomModelValue {
@@ -1410,7 +1487,7 @@ Referenced public types and APIs: [`CustomModelValue`](#custommodelvalue).
1410
1487
 
1411
1488
  ### CustomModelValue
1412
1489
 
1413
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/custom-connection.ts#L5)
1490
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/custom-connection.ts#L5)
1414
1491
 
1415
1492
  ```ts
1416
1493
  export interface CustomModelValue {
@@ -1433,7 +1510,7 @@ export interface CustomModelValue {
1433
1510
 
1434
1511
  ### createFeatureDialogFrame
1435
1512
 
1436
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/dialog-frame.ts#L10)
1513
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/dialog-frame.ts#L10)
1437
1514
 
1438
1515
  ```ts
1439
1516
  export declare function createFeatureDialogFrame(options?: FeatureDialogOptions): UIBlock<FeatureDialogState> & {
@@ -1450,7 +1527,7 @@ Related gallery: [feature-dialog](https://minifish-org.github.io/pith-ui/?item=f
1450
1527
 
1451
1528
  ### createFeatureStatus
1452
1529
 
1453
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/dialog-frame.ts#L57)
1530
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/dialog-frame.ts#L57)
1454
1531
 
1455
1532
  ```ts
1456
1533
  export declare function createFeatureStatus(state: {
@@ -1468,7 +1545,7 @@ Related gallery: [feature-dialog](https://minifish-org.github.io/pith-ui/?item=f
1468
1545
 
1469
1546
  ### createSDKDialogElements
1470
1547
 
1471
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/dialog-frame.ts#L63)
1548
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/dialog-frame.ts#L63)
1472
1549
 
1473
1550
  ```ts
1474
1551
  export declare function createSDKDialogElements(options?: {
@@ -1486,7 +1563,7 @@ Related gallery: [feature-dialog](https://minifish-org.github.io/pith-ui/?item=f
1486
1563
 
1487
1564
  ### DialogContent
1488
1565
 
1489
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/dialog-frame.ts#L7)
1566
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/dialog-frame.ts#L7)
1490
1567
 
1491
1568
  ```ts
1492
1569
  export interface DialogContent {
@@ -1497,7 +1574,7 @@ export interface DialogContent {
1497
1574
 
1498
1575
  ### FeatureDialogOptions
1499
1576
 
1500
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/dialog-frame.ts#L9)
1577
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/dialog-frame.ts#L9)
1501
1578
 
1502
1579
  ```ts
1503
1580
  export interface FeatureDialogOptions {
@@ -1513,7 +1590,7 @@ export interface FeatureDialogOptions {
1513
1590
 
1514
1591
  ### FeatureDialogState
1515
1592
 
1516
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/dialog-frame.ts#L8)
1593
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/dialog-frame.ts#L8)
1517
1594
 
1518
1595
  ```ts
1519
1596
  export interface FeatureDialogState {
@@ -1528,10 +1605,10 @@ Referenced public types and APIs: [`DialogContent`](#dialogcontent).
1528
1605
 
1529
1606
  ### createBranchHistory
1530
1607
 
1531
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/history.ts#L5)
1608
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/history.ts#L8)
1532
1609
 
1533
1610
  ```ts
1534
- export declare function createBranchHistory(state: BranchHistoryState, options?: {
1611
+ export declare function createBranchHistory(initial: BranchHistoryState, options?: {
1535
1612
  onContinue?: (id: string) => void | Promise<void>;
1536
1613
  }): UIBlock<BranchHistoryState>;
1537
1614
  ```
@@ -1542,7 +1619,7 @@ Related gallery: [branch-history](https://minifish-org.github.io/pith-ui/?item=b
1542
1619
 
1543
1620
  ### BranchHistoryNode
1544
1621
 
1545
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/history.ts#L3)
1622
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/history.ts#L5)
1546
1623
 
1547
1624
  ```ts
1548
1625
  export interface BranchHistoryNode {
@@ -1555,7 +1632,7 @@ export interface BranchHistoryNode {
1555
1632
 
1556
1633
  ### BranchHistoryState
1557
1634
 
1558
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/history.ts#L4)
1635
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/history.ts#L6)
1559
1636
 
1560
1637
  ```ts
1561
1638
  export interface BranchHistoryState {
@@ -1571,7 +1648,7 @@ Referenced public types and APIs: [`BranchHistoryNode`](#branchhistorynode).
1571
1648
 
1572
1649
  ### createModelEditor
1573
1650
 
1574
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/model-editor.ts#L37)
1651
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/model-editor.ts#L37)
1575
1652
 
1576
1653
  ```ts
1577
1654
  export declare function createModelEditor(initial: ModelEditorState, options?: {
@@ -1587,7 +1664,7 @@ Related gallery: [model-picker](https://minifish-org.github.io/pith-ui/?item=mod
1587
1664
 
1588
1665
  ### ModelEditorBlock
1589
1666
 
1590
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/model-editor.ts#L30)
1667
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/model-editor.ts#L30)
1591
1668
 
1592
1669
  ```ts
1593
1670
  export interface ModelEditorBlock extends UIBlock<ModelEditorState> {
@@ -1601,7 +1678,7 @@ Referenced public types and APIs: [`ModelEditorState`](#modeleditorstate), [`Mod
1601
1678
 
1602
1679
  ### modelEditorMarkup
1603
1680
 
1604
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/model-editor.ts#L36)
1681
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/model-editor.ts#L36)
1605
1682
 
1606
1683
  ```ts
1607
1684
  export declare function modelEditorMarkup(prefix: string): string;
@@ -1609,7 +1686,7 @@ export declare function modelEditorMarkup(prefix: string): string;
1609
1686
 
1610
1687
  ### ModelEditorState
1611
1688
 
1612
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/model-editor.ts#L19)
1689
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/model-editor.ts#L19)
1613
1690
 
1614
1691
  ```ts
1615
1692
  export interface ModelEditorState {
@@ -1624,7 +1701,7 @@ Referenced public types and APIs: [`ModelOption`](#modeloption), [`ModelProvider
1624
1701
 
1625
1702
  ### ModelOption
1626
1703
 
1627
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/model-editor.ts#L10)
1704
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/model-editor.ts#L10)
1628
1705
 
1629
1706
  ```ts
1630
1707
  export interface ModelOption {
@@ -1640,7 +1717,7 @@ export interface ModelOption {
1640
1717
 
1641
1718
  ### ModelProviderOption
1642
1719
 
1643
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/model-editor.ts#L4)
1720
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/model-editor.ts#L4)
1644
1721
 
1645
1722
  ```ts
1646
1723
  export interface ModelProviderOption {
@@ -1653,7 +1730,7 @@ export interface ModelProviderOption {
1653
1730
 
1654
1731
  ### ModelSelection
1655
1732
 
1656
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/model-editor.ts#L25)
1733
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/model-editor.ts#L25)
1657
1734
 
1658
1735
  ```ts
1659
1736
  export interface ModelSelection {
@@ -1665,7 +1742,7 @@ export interface ModelSelection {
1665
1742
 
1666
1743
  ### thinkingLabel
1667
1744
 
1668
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/model-editor.ts#L35)
1745
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/model-editor.ts#L35)
1669
1746
 
1670
1747
  ```ts
1671
1748
  export declare function thinkingLabel(level: string): string;
@@ -1675,19 +1752,19 @@ export declare function thinkingLabel(level: string): string;
1675
1752
 
1676
1753
  ### createMCPConnectionList
1677
1754
 
1678
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/panels.ts#L191)
1755
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L202)
1679
1756
 
1680
1757
  ```ts
1681
- export declare function createMCPConnectionList(initial: MCPConnectionListState): UIBlock<MCPConnectionListState>;
1758
+ export declare function createMCPConnectionList(initial: MCPConnectionListState, options?: MCPConnectionListOptions): UIBlock<MCPConnectionListState>;
1682
1759
  ```
1683
1760
 
1684
- Referenced public types and APIs: [`MCPConnectionListState`](#mcpconnectionliststate), [`UIBlock`](#uiblock).
1761
+ Referenced public types and APIs: [`MCPConnectionListOptions`](#mcpconnectionlistoptions), [`MCPConnectionListState`](#mcpconnectionliststate), [`UIBlock`](#uiblock).
1685
1762
 
1686
1763
  Related gallery: [mcp-connections](https://minifish-org.github.io/pith-ui/?item=mcp-connections).
1687
1764
 
1688
1765
  ### createMCPConnectionsPanel
1689
1766
 
1690
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/panels.ts#L138)
1767
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L146)
1691
1768
 
1692
1769
  ```ts
1693
1770
  export declare function createMCPConnectionsPanel(state?: MCPConnectionsState, options?: FormOptions & {
@@ -1701,7 +1778,7 @@ Related gallery: [mcp-connections](https://minifish-org.github.io/pith-ui/?item=
1701
1778
 
1702
1779
  ### createModelPicker
1703
1780
 
1704
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/panels.ts#L174)
1781
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L182)
1705
1782
 
1706
1783
  ```ts
1707
1784
  export declare function createModelPicker(state?: ModelPickerState, options?: FormOptions & {
@@ -1715,7 +1792,7 @@ Related gallery: [model-picker](https://minifish-org.github.io/pith-ui/?item=mod
1715
1792
 
1716
1793
  ### createSettingsPanel
1717
1794
 
1718
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/panels.ts#L45)
1795
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L47)
1719
1796
 
1720
1797
  ```ts
1721
1798
  export declare function createSettingsPanel(state: SettingsPanelState, options?: SettingsPanelOptions): SettingsPanel;
@@ -1727,7 +1804,7 @@ Related gallery: [settings-panel](https://minifish-org.github.io/pith-ui/?item=s
1727
1804
 
1728
1805
  ### FormDOMBlock
1729
1806
 
1730
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/panels.ts#L9)
1807
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L11)
1731
1808
 
1732
1809
  ```ts
1733
1810
  export interface FormDOMBlock<State extends FormFeedback> extends UIBlock<State> {
@@ -1740,7 +1817,7 @@ Referenced public types and APIs: [`FormFeedback`](#formfeedback), [`UIBlock`](#
1740
1817
 
1741
1818
  ### FormFeedback
1742
1819
 
1743
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/panels.ts#L8)
1820
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L10)
1744
1821
 
1745
1822
  ```ts
1746
1823
  export interface FormFeedback {
@@ -1751,7 +1828,7 @@ export interface FormFeedback {
1751
1828
 
1752
1829
  ### FormOptions
1753
1830
 
1754
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/panels.ts#L39)
1831
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L41)
1755
1832
 
1756
1833
  ```ts
1757
1834
  export interface FormOptions {
@@ -1759,9 +1836,17 @@ export interface FormOptions {
1759
1836
  }
1760
1837
  ```
1761
1838
 
1839
+ ### MCPConnectionAction
1840
+
1841
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L198)
1842
+
1843
+ ```ts
1844
+ export type MCPConnectionAction = 'mcp-login' | 'mcp-logout' | 'mcp-edit' | 'mcp-toggle' | 'mcp-remove';
1845
+ ```
1846
+
1762
1847
  ### MCPConnectionDraft
1763
1848
 
1764
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/panels.ts#L135)
1849
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L143)
1765
1850
 
1766
1851
  ```ts
1767
1852
  export interface MCPConnectionDraft {
@@ -1783,7 +1868,7 @@ export interface MCPConnectionDraft {
1783
1868
 
1784
1869
  ### MCPConnectionItem
1785
1870
 
1786
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/panels.ts#L185)
1871
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L193)
1787
1872
 
1788
1873
  ```ts
1789
1874
  export interface MCPConnectionItem {
@@ -1803,9 +1888,21 @@ export interface MCPConnectionItem {
1803
1888
  }
1804
1889
  ```
1805
1890
 
1891
+ ### MCPConnectionListOptions
1892
+
1893
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L200)
1894
+
1895
+ ```ts
1896
+ export interface MCPConnectionListOptions {
1897
+ onAction?: (action: MCPConnectionAction, target: MCPConnectionTarget) => ReturnType<UIAction>;
1898
+ }
1899
+ ```
1900
+
1901
+ Referenced public types and APIs: [`MCPConnectionAction`](#mcpconnectionaction), [`MCPConnectionTarget`](#mcpconnectiontarget), [`UIAction`](#uiaction).
1902
+
1806
1903
  ### MCPConnectionListState
1807
1904
 
1808
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/panels.ts#L189)
1905
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L197)
1809
1906
 
1810
1907
  ```ts
1811
1908
  export interface MCPConnectionListState extends FormFeedback {
@@ -1817,7 +1914,7 @@ Referenced public types and APIs: [`FormFeedback`](#formfeedback), [`MCPConnecti
1817
1914
 
1818
1915
  ### MCPConnectionsPanel
1819
1916
 
1820
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/panels.ts#L137)
1917
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L145)
1821
1918
 
1822
1919
  ```ts
1823
1920
  export interface MCPConnectionsPanel extends FormDOMBlock<MCPConnectionsState> {
@@ -1835,7 +1932,7 @@ Referenced public types and APIs: [`FormDOMBlock`](#formdomblock), [`MCPConnecti
1835
1932
 
1836
1933
  ### MCPConnectionsState
1837
1934
 
1838
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/panels.ts#L136)
1935
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L144)
1839
1936
 
1840
1937
  ```ts
1841
1938
  export interface MCPConnectionsState extends FormFeedback {
@@ -1845,9 +1942,19 @@ export interface MCPConnectionsState extends FormFeedback {
1845
1942
 
1846
1943
  Referenced public types and APIs: [`FormFeedback`](#formfeedback).
1847
1944
 
1945
+ ### MCPConnectionTarget
1946
+
1947
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L199)
1948
+
1949
+ ```ts
1950
+ export interface MCPConnectionTarget {
1951
+ readonly name: string;
1952
+ }
1953
+ ```
1954
+
1848
1955
  ### MCPEditorValue
1849
1956
 
1850
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/panels.ts#L134)
1957
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L142)
1851
1958
 
1852
1959
  ```ts
1853
1960
  export interface MCPEditorValue {
@@ -1867,7 +1974,7 @@ export interface MCPEditorValue {
1867
1974
 
1868
1975
  ### ModelPicker
1869
1976
 
1870
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/panels.ts#L173)
1977
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L181)
1871
1978
 
1872
1979
  ```ts
1873
1980
  export interface ModelPicker extends FormDOMBlock<ModelPickerState> {
@@ -1881,7 +1988,7 @@ Referenced public types and APIs: [`FormDOMBlock`](#formdomblock), [`ModelPicker
1881
1988
 
1882
1989
  ### ModelPickerState
1883
1990
 
1884
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/panels.ts#L172)
1991
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L180)
1885
1992
 
1886
1993
  ```ts
1887
1994
  export interface ModelPickerState extends FormFeedback {
@@ -1894,7 +2001,7 @@ Referenced public types and APIs: [`FormFeedback`](#formfeedback), [`ModelEditor
1894
2001
 
1895
2002
  ### SettingsCredentialView
1896
2003
 
1897
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/panels.ts#L42)
2004
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L44)
1898
2005
 
1899
2006
  ```ts
1900
2007
  export interface SettingsCredentialView {
@@ -1910,7 +2017,7 @@ export interface SettingsCredentialView {
1910
2017
 
1911
2018
  ### SettingsDraft
1912
2019
 
1913
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/panels.ts#L40)
2020
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L42)
1914
2021
 
1915
2022
  ```ts
1916
2023
  export interface SettingsDraft {
@@ -1922,7 +2029,7 @@ export interface SettingsDraft {
1922
2029
 
1923
2030
  ### SettingsPanel
1924
2031
 
1925
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/panels.ts#L43)
2032
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L45)
1926
2033
 
1927
2034
  ```ts
1928
2035
  export interface SettingsPanel extends FormDOMBlock<SettingsPanelState> {
@@ -1944,7 +2051,7 @@ Referenced public types and APIs: [`FormDOMBlock`](#formdomblock), [`SettingsCre
1944
2051
 
1945
2052
  ### SettingsPanelOptions
1946
2053
 
1947
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/panels.ts#L44)
2054
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L46)
1948
2055
 
1949
2056
  ```ts
1950
2057
  export interface SettingsPanelOptions extends FormOptions {
@@ -1961,7 +2068,7 @@ Referenced public types and APIs: [`ActionResult`](#actionresult), [`FormOptions
1961
2068
 
1962
2069
  ### SettingsPanelState
1963
2070
 
1964
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/panels.ts#L38)
2071
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L40)
1965
2072
 
1966
2073
  ```ts
1967
2074
  export interface SettingsPanelState extends FormFeedback {
@@ -1985,7 +2092,7 @@ Referenced public types and APIs: [`FormFeedback`](#formfeedback).
1985
2092
 
1986
2093
  ### SettingsProviderOption
1987
2094
 
1988
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/panels.ts#L41)
2095
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L43)
1989
2096
 
1990
2097
  ```ts
1991
2098
  export interface SettingsProviderOption {
@@ -2000,7 +2107,7 @@ export interface SettingsProviderOption {
2000
2107
 
2001
2108
  ### createProviderLoginPanel
2002
2109
 
2003
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/provider-login.ts#L6)
2110
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/provider-login.ts#L8)
2004
2111
 
2005
2112
  ```ts
2006
2113
  export declare function createProviderLoginPanel(initial: ProviderLoginState, options?: {
@@ -2017,7 +2124,7 @@ Related gallery: [provider-login](https://minifish-org.github.io/pith-ui/?item=p
2017
2124
 
2018
2125
  ### ProviderLoginState
2019
2126
 
2020
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/provider-login.ts#L5)
2127
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/provider-login.ts#L7)
2021
2128
 
2022
2129
  ```ts
2023
2130
  export interface ProviderLoginState {
@@ -2040,7 +2147,7 @@ export interface ProviderLoginState {
2040
2147
 
2041
2148
  ### createResourceEditor
2042
2149
 
2043
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/resource-editor.ts#L7)
2150
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/resource-editor.ts#L7)
2044
2151
 
2045
2152
  ```ts
2046
2153
  export declare function createResourceEditor(state: ResourceEditorState, options?: {
@@ -2060,7 +2167,7 @@ Related gallery: [resource-editor](https://minifish-org.github.io/pith-ui/?item=
2060
2167
 
2061
2168
  ### ResourceDraft
2062
2169
 
2063
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/resource-editor.ts#L6)
2170
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/resource-editor.ts#L6)
2064
2171
 
2065
2172
  ```ts
2066
2173
  export interface ResourceDraft {
@@ -2071,7 +2178,7 @@ export interface ResourceDraft {
2071
2178
 
2072
2179
  ### ResourceEditorState
2073
2180
 
2074
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/forms/resource-editor.ts#L5)
2181
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/resource-editor.ts#L5)
2075
2182
 
2076
2183
  ```ts
2077
2184
  export interface ResourceEditorState {
@@ -2092,7 +2199,7 @@ export interface ResourceEditorState {
2092
2199
 
2093
2200
  ### createContextMenu
2094
2201
 
2095
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/navigation/context-menu.ts#L9)
2202
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/navigation/context-menu.ts#L11)
2096
2203
 
2097
2204
  ```ts
2098
2205
  export declare function createContextMenu(options?: {
@@ -2100,18 +2207,18 @@ export declare function createContextMenu(options?: {
2100
2207
  onDismiss?: (restoreFocus: boolean) => void;
2101
2208
  onAction?: (item: ContextMenuItem) => void;
2102
2209
  }): UIBlock<ContextMenuState> & {
2103
- open(trigger: HTMLElement, state: ContextMenuState): void;
2210
+ open(trigger: HTMLElement, state: ContextMenuState, options?: ContextMenuOpenOptions): void;
2104
2211
  close(restoreFocus?: boolean): void;
2105
2212
  };
2106
2213
  ```
2107
2214
 
2108
- Referenced public types and APIs: [`ContextMenuItem`](#contextmenuitem), [`ContextMenuState`](#contextmenustate), [`UIBlock`](#uiblock).
2215
+ Referenced public types and APIs: [`ContextMenuItem`](#contextmenuitem), [`ContextMenuOpenOptions`](#contextmenuopenoptions), [`ContextMenuState`](#contextmenustate), [`UIBlock`](#uiblock).
2109
2216
 
2110
- Related gallery: [context-menu](https://minifish-org.github.io/pith-ui/?item=context-menu).
2217
+ Related gallery: [context-menu](https://minifish-org.github.io/pith-ui/?item=context-menu), [workspace-navigation](https://minifish-org.github.io/pith-ui/?item=workspace-navigation).
2111
2218
 
2112
2219
  ### ContextMenuItem
2113
2220
 
2114
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/navigation/context-menu.ts#L4)
2221
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/navigation/context-menu.ts#L5)
2115
2222
 
2116
2223
  ```ts
2117
2224
  export interface ContextMenuItem {
@@ -2128,9 +2235,22 @@ export interface ContextMenuItem {
2128
2235
  }
2129
2236
  ```
2130
2237
 
2238
+ ### ContextMenuOpenOptions
2239
+
2240
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/navigation/context-menu.ts#L10)
2241
+
2242
+ ```ts
2243
+ export interface ContextMenuOpenOptions {
2244
+ point?: {
2245
+ x: number;
2246
+ y: number;
2247
+ };
2248
+ }
2249
+ ```
2250
+
2131
2251
  ### ContextMenuState
2132
2252
 
2133
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/navigation/context-menu.ts#L8)
2253
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/navigation/context-menu.ts#L9)
2134
2254
 
2135
2255
  ```ts
2136
2256
  export interface ContextMenuState {
@@ -2145,7 +2265,7 @@ Referenced public types and APIs: [`ContextMenuItem`](#contextmenuitem).
2145
2265
 
2146
2266
  ### createRenameConversation
2147
2267
 
2148
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/navigation/navigation.ts#L85)
2268
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/navigation/navigation.ts#L101)
2149
2269
 
2150
2270
  ```ts
2151
2271
  export declare function createRenameConversation(initial: RenameConversationState, options?: RenameConversationOptions): RenameConversationBlock;
@@ -2157,7 +2277,7 @@ Related gallery: [rename-conversation](https://minifish-org.github.io/pith-ui/?i
2157
2277
 
2158
2278
  ### createWorkspaceNavigation
2159
2279
 
2160
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/navigation/navigation.ts#L11)
2280
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/navigation/navigation.ts#L17)
2161
2281
 
2162
2282
  ```ts
2163
2283
  export declare function createWorkspaceNavigation(initial: WorkspaceNavigationState, options?: {
@@ -2165,16 +2285,17 @@ export declare function createWorkspaceNavigation(initial: WorkspaceNavigationSt
2165
2285
  idPrefix?: string;
2166
2286
  onToggle?: (id: string) => void;
2167
2287
  onSelect?: (id: string) => void;
2288
+ onAction?: (action: WorkspaceNavigationAction) => void;
2168
2289
  }): UIBlock<WorkspaceNavigationState>;
2169
2290
  ```
2170
2291
 
2171
- Referenced public types and APIs: [`UIBlock`](#uiblock), [`WorkspaceNavigationState`](#workspacenavigationstate).
2292
+ Referenced public types and APIs: [`UIBlock`](#uiblock), [`WorkspaceNavigationAction`](#workspacenavigationaction), [`WorkspaceNavigationState`](#workspacenavigationstate).
2172
2293
 
2173
2294
  Related gallery: [workspace-navigation](https://minifish-org.github.io/pith-ui/?item=workspace-navigation).
2174
2295
 
2175
2296
  ### createWorkspacePicker
2176
2297
 
2177
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/navigation/navigation.ts#L137)
2298
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/navigation/navigation.ts#L151)
2178
2299
 
2179
2300
  ```ts
2180
2301
  export declare function createWorkspacePicker(initial: WorkspacePickerState, options?: WorkspacePickerOptions): WorkspacePickerBlock;
@@ -2186,7 +2307,7 @@ Related gallery: [workspace-picker](https://minifish-org.github.io/pith-ui/?item
2186
2307
 
2187
2308
  ### NavigationConversation
2188
2309
 
2189
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/navigation/navigation.ts#L6)
2310
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/navigation/navigation.ts#L8)
2190
2311
 
2191
2312
  ```ts
2192
2313
  export interface NavigationConversation {
@@ -2200,7 +2321,7 @@ export interface NavigationConversation {
2200
2321
 
2201
2322
  ### NavigationWorkspace
2202
2323
 
2203
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/navigation/navigation.ts#L7)
2324
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/navigation/navigation.ts#L9)
2204
2325
 
2205
2326
  ```ts
2206
2327
  export interface NavigationWorkspace {
@@ -2218,7 +2339,7 @@ Referenced public types and APIs: [`NavigationConversation`](#navigationconversa
2218
2339
 
2219
2340
  ### RenameConversationBlock
2220
2341
 
2221
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/navigation/navigation.ts#L76)
2342
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/navigation/navigation.ts#L92)
2222
2343
 
2223
2344
  ```ts
2224
2345
  export interface RenameConversationBlock extends UIBlock<RenameConversationState> {
@@ -2236,7 +2357,7 @@ Referenced public types and APIs: [`RenameConversationDraft`](#renameconversatio
2236
2357
 
2237
2358
  ### RenameConversationDraft
2238
2359
 
2239
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/navigation/navigation.ts#L67)
2360
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/navigation/navigation.ts#L83)
2240
2361
 
2241
2362
  ```ts
2242
2363
  export interface RenameConversationDraft {
@@ -2247,7 +2368,7 @@ export interface RenameConversationDraft {
2247
2368
 
2248
2369
  ### RenameConversationOptions
2249
2370
 
2250
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/navigation/navigation.ts#L68)
2371
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/navigation/navigation.ts#L84)
2251
2372
 
2252
2373
  ```ts
2253
2374
  export interface RenameConversationOptions {
@@ -2264,7 +2385,7 @@ Referenced public types and APIs: [`ActionResult`](#actionresult), [`RenameConve
2264
2385
 
2265
2386
  ### RenameConversationState
2266
2387
 
2267
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/navigation/navigation.ts#L66)
2388
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/navigation/navigation.ts#L82)
2268
2389
 
2269
2390
  ```ts
2270
2391
  export interface RenameConversationState {
@@ -2275,9 +2396,28 @@ export interface RenameConversationState {
2275
2396
  }
2276
2397
  ```
2277
2398
 
2399
+ ### WorkspaceNavigationAction
2400
+
2401
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/navigation/navigation.ts#L11)
2402
+
2403
+ ```ts
2404
+ export type WorkspaceNavigationAction = {
2405
+ action: 'add-workspace';
2406
+ trigger: HTMLButtonElement;
2407
+ } | {
2408
+ action: 'new-conversation' | 'workspace-menu';
2409
+ workspaceId: string;
2410
+ trigger: HTMLButtonElement;
2411
+ } | {
2412
+ action: 'conversation-menu';
2413
+ conversationId: string;
2414
+ trigger: HTMLButtonElement;
2415
+ };
2416
+ ```
2417
+
2278
2418
  ### WorkspaceNavigationState
2279
2419
 
2280
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/navigation/navigation.ts#L8)
2420
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/navigation/navigation.ts#L10)
2281
2421
 
2282
2422
  ```ts
2283
2423
  export interface WorkspaceNavigationState {
@@ -2291,7 +2431,7 @@ Referenced public types and APIs: [`NavigationWorkspace`](#navigationworkspace).
2291
2431
 
2292
2432
  ### WorkspacePickerBlock
2293
2433
 
2294
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/navigation/navigation.ts#L127)
2434
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/navigation/navigation.ts#L141)
2295
2435
 
2296
2436
  ```ts
2297
2437
  export interface WorkspacePickerBlock extends UIBlock<WorkspacePickerState> {
@@ -2312,7 +2452,7 @@ Referenced public types and APIs: [`UIBlock`](#uiblock), [`WorkspacePickerState`
2312
2452
 
2313
2453
  ### WorkspacePickerOptions
2314
2454
 
2315
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/navigation/navigation.ts#L117)
2455
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/navigation/navigation.ts#L131)
2316
2456
 
2317
2457
  ```ts
2318
2458
  export interface WorkspacePickerOptions {
@@ -2334,7 +2474,7 @@ Referenced public types and APIs: [`ActionResult`](#actionresult).
2334
2474
 
2335
2475
  ### WorkspacePickerState
2336
2476
 
2337
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/navigation/navigation.ts#L116)
2477
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/navigation/navigation.ts#L130)
2338
2478
 
2339
2479
  ```ts
2340
2480
  export interface WorkspacePickerState {
@@ -2352,7 +2492,7 @@ export interface WorkspacePickerState {
2352
2492
 
2353
2493
  ### createActions
2354
2494
 
2355
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L294)
2495
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L319)
2356
2496
 
2357
2497
  ```ts
2358
2498
  export declare function createActions(options?: ActionsState & {
@@ -2366,7 +2506,7 @@ Related gallery: [actions](https://minifish-org.github.io/pith-ui/?item=actions)
2366
2506
 
2367
2507
  ### createButton
2368
2508
 
2369
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L25)
2509
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L27)
2370
2510
 
2371
2511
  ```ts
2372
2512
  export declare function createButton(options: ButtonOptions): ButtonBlock;
@@ -2378,7 +2518,7 @@ Related gallery: [actions](https://minifish-org.github.io/pith-ui/?item=actions)
2378
2518
 
2379
2519
  ### createCheckbox
2380
2520
 
2381
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L247)
2521
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L272)
2382
2522
 
2383
2523
  ```ts
2384
2524
  export declare function createCheckbox(options: CheckboxState & {
@@ -2393,7 +2533,7 @@ Related gallery: [checkbox](https://minifish-org.github.io/pith-ui/?item=checkbo
2393
2533
 
2394
2534
  ### createCollectionState
2395
2535
 
2396
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L331)
2536
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L356)
2397
2537
 
2398
2538
  ```ts
2399
2539
  export declare function createCollectionState(options: CollectionState & {
@@ -2408,7 +2548,7 @@ Related gallery: [collection-state](https://minifish-org.github.io/pith-ui/?item
2408
2548
 
2409
2549
  ### createConfirmDialog
2410
2550
 
2411
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L446)
2551
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L472)
2412
2552
 
2413
2553
  ```ts
2414
2554
  export declare function createConfirmDialog(options: ConfirmState & {
@@ -2431,7 +2571,7 @@ Related gallery: [confirmation](https://minifish-org.github.io/pith-ui/?item=con
2431
2571
 
2432
2572
  ### createDialog
2433
2573
 
2434
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L353)
2574
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L378)
2435
2575
 
2436
2576
  ```ts
2437
2577
  export declare function createDialog(options: DialogOptions): DialogBlock;
@@ -2443,7 +2583,7 @@ Related gallery: [dialog](https://minifish-org.github.io/pith-ui/?item=dialog).
2443
2583
 
2444
2584
  ### createDisclosure
2445
2585
 
2446
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L302)
2586
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L327)
2447
2587
 
2448
2588
  ```ts
2449
2589
  export declare function createDisclosure(options: DisclosureState & {
@@ -2459,7 +2599,7 @@ Related gallery: [disclosure](https://minifish-org.github.io/pith-ui/?item=discl
2459
2599
 
2460
2600
  ### createDivider
2461
2601
 
2462
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L73)
2602
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L75)
2463
2603
 
2464
2604
  ```ts
2465
2605
  export declare function createDivider(state?: {
@@ -2475,7 +2615,7 @@ Related gallery: [divider](https://minifish-org.github.io/pith-ui/?item=divider)
2475
2615
 
2476
2616
  ### createField
2477
2617
 
2478
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L120)
2618
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L119)
2479
2619
 
2480
2620
  ```ts
2481
2621
  export declare function createField(options: FieldState & {
@@ -2489,7 +2629,7 @@ Related gallery: [number-input](https://minifish-org.github.io/pith-ui/?item=num
2489
2629
 
2490
2630
  ### createFormSection
2491
2631
 
2492
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L286)
2632
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L311)
2493
2633
 
2494
2634
  ```ts
2495
2635
  export declare function createFormSection(options: FormSectionState & {
@@ -2503,7 +2643,7 @@ Related gallery: [form-section](https://minifish-org.github.io/pith-ui/?item=for
2503
2643
 
2504
2644
  ### createIcon
2505
2645
 
2506
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L62)
2646
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L64)
2507
2647
 
2508
2648
  ```ts
2509
2649
  export declare function createIcon(state: IconState): UIBlock<IconState>;
@@ -2515,7 +2655,7 @@ Related gallery: [foundation-sizing](https://minifish-org.github.io/pith-ui/?ite
2515
2655
 
2516
2656
  ### createIconButton
2517
2657
 
2518
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L40)
2658
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L42)
2519
2659
 
2520
2660
  ```ts
2521
2661
  export declare function createIconButton(options: ButtonOptions & {
@@ -2529,7 +2669,7 @@ Related gallery: [icon-button](https://minifish-org.github.io/pith-ui/?item=icon
2529
2669
 
2530
2670
  ### createKeyValue
2531
2671
 
2532
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L80)
2672
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L82)
2533
2673
 
2534
2674
  ```ts
2535
2675
  export declare function createKeyValue(options: KeyValueState): UIBlock<KeyValueState>;
@@ -2541,7 +2681,7 @@ Related gallery: [foundation-motion](https://minifish-org.github.io/pith-ui/?ite
2541
2681
 
2542
2682
  ### createListRow
2543
2683
 
2544
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L316)
2684
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L341)
2545
2685
 
2546
2686
  ```ts
2547
2687
  export declare function createListRow(options: ListRowState & {
@@ -2555,19 +2695,19 @@ Related gallery: [collection-state](https://minifish-org.github.io/pith-ui/?item
2555
2695
 
2556
2696
  ### createMenu
2557
2697
 
2558
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L518)
2698
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L531)
2559
2699
 
2560
2700
  ```ts
2561
- export declare function createMenu(options: MenuState): PopoverBlock & UIBlock<MenuState>;
2701
+ export declare function createMenu(options: MenuOptions): PopoverBlock & UIBlock<MenuState>;
2562
2702
  ```
2563
2703
 
2564
- Referenced public types and APIs: [`MenuState`](#menustate), [`PopoverBlock`](#popoverblock), [`UIBlock`](#uiblock).
2704
+ Referenced public types and APIs: [`MenuOptions`](#menuoptions), [`MenuState`](#menustate), [`PopoverBlock`](#popoverblock), [`UIBlock`](#uiblock).
2565
2705
 
2566
- Related gallery: [menu](https://minifish-org.github.io/pith-ui/?item=menu).
2706
+ Related gallery: [foundation-focus](https://minifish-org.github.io/pith-ui/?item=foundation-focus), [menu](https://minifish-org.github.io/pith-ui/?item=menu).
2567
2707
 
2568
2708
  ### createNotice
2569
2709
 
2570
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L262)
2710
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L287)
2571
2711
 
2572
2712
  ```ts
2573
2713
  export declare function createNotice(state: NoticeState): UIBlock<NoticeState>;
@@ -2579,7 +2719,7 @@ Related gallery: [notice](https://minifish-org.github.io/pith-ui/?item=notice).
2579
2719
 
2580
2720
  ### createNumberInput
2581
2721
 
2582
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L186)
2722
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L185)
2583
2723
 
2584
2724
  ```ts
2585
2725
  export declare const createNumberInput: (options: InputOptions) => InputBlock;
@@ -2591,7 +2731,7 @@ Related gallery: [number-input](https://minifish-org.github.io/pith-ui/?item=num
2591
2731
 
2592
2732
  ### createPopover
2593
2733
 
2594
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L493)
2734
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L514)
2595
2735
 
2596
2736
  ```ts
2597
2737
  export declare function createPopover(options: PopoverState & {
@@ -2606,7 +2746,7 @@ Related gallery: [popover](https://minifish-org.github.io/pith-ui/?item=popover)
2606
2746
 
2607
2747
  ### createProgress
2608
2748
 
2609
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L275)
2749
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L300)
2610
2750
 
2611
2751
  ```ts
2612
2752
  export declare function createProgress(state: ProgressState): UIBlock<ProgressState>;
@@ -2618,7 +2758,7 @@ Related gallery: [progress](https://minifish-org.github.io/pith-ui/?item=progres
2618
2758
 
2619
2759
  ### createScrollArea
2620
2760
 
2621
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L103)
2761
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L102)
2622
2762
 
2623
2763
  ```ts
2624
2764
  export declare function createScrollArea(options: ScrollAreaState & {
@@ -2632,7 +2772,7 @@ Related gallery: [scroll-area](https://minifish-org.github.io/pith-ui/?item=scro
2632
2772
 
2633
2773
  ### createSearchInput
2634
2774
 
2635
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L185)
2775
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L184)
2636
2776
 
2637
2777
  ```ts
2638
2778
  export declare const createSearchInput: (options: InputOptions) => InputBlock;
@@ -2644,7 +2784,7 @@ Related gallery: [search-input](https://minifish-org.github.io/pith-ui/?item=sea
2644
2784
 
2645
2785
  ### createSecretInput
2646
2786
 
2647
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L189)
2787
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L188)
2648
2788
 
2649
2789
  ```ts
2650
2790
  export declare function createSecretInput(options: InputOptions): InputBlock;
@@ -2656,7 +2796,7 @@ Related gallery: [secret-input](https://minifish-org.github.io/pith-ui/?item=sec
2656
2796
 
2657
2797
  ### createSelect
2658
2798
 
2659
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L217)
2799
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L226)
2660
2800
 
2661
2801
  ```ts
2662
2802
  export declare function createSelect(options: SelectOptions): SelectBlock;
@@ -2664,11 +2804,11 @@ export declare function createSelect(options: SelectOptions): SelectBlock;
2664
2804
 
2665
2805
  Referenced public types and APIs: [`SelectBlock`](#selectblock), [`SelectOptions`](#selectoptions).
2666
2806
 
2667
- Related gallery: [foundation-sizing](https://minifish-org.github.io/pith-ui/?item=foundation-sizing), [foundation-spacing](https://minifish-org.github.io/pith-ui/?item=foundation-spacing), [select](https://minifish-org.github.io/pith-ui/?item=select).
2807
+ Related gallery: [foundation-focus](https://minifish-org.github.io/pith-ui/?item=foundation-focus), [foundation-sizing](https://minifish-org.github.io/pith-ui/?item=foundation-sizing), [select](https://minifish-org.github.io/pith-ui/?item=select).
2668
2808
 
2669
2809
  ### createStatus
2670
2810
 
2671
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L268)
2811
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L293)
2672
2812
 
2673
2813
  ```ts
2674
2814
  export declare function createStatus(state: StatusState): UIBlock<StatusState>;
@@ -2680,7 +2820,7 @@ Related gallery: [status](https://minifish-org.github.io/pith-ui/?item=status).
2680
2820
 
2681
2821
  ### createTextAction
2682
2822
 
2683
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L53)
2823
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L55)
2684
2824
 
2685
2825
  ```ts
2686
2826
  export declare function createTextAction(options: ButtonOptions): ButtonBlock;
@@ -2692,7 +2832,7 @@ Related gallery: [text-action](https://minifish-org.github.io/pith-ui/?item=text
2692
2832
 
2693
2833
  ### createTextArea
2694
2834
 
2695
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L187)
2835
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L186)
2696
2836
 
2697
2837
  ```ts
2698
2838
  export declare const createTextArea: (options: InputOptions) => InputBlock;
@@ -2704,7 +2844,7 @@ Related gallery: [foundation-typography](https://minifish-org.github.io/pith-ui/
2704
2844
 
2705
2845
  ### createTextEditDialog
2706
2846
 
2707
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L395)
2847
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L420)
2708
2848
 
2709
2849
  ```ts
2710
2850
  export declare function createTextEditDialog(options?: TextEditOptions): TextEditBlock;
@@ -2716,7 +2856,7 @@ Related gallery: [pending-messages](https://minifish-org.github.io/pith-ui/?item
2716
2856
 
2717
2857
  ### createTextInput
2718
2858
 
2719
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L184)
2859
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L183)
2720
2860
 
2721
2861
  ```ts
2722
2862
  export declare const createTextInput: (options: InputOptions) => InputBlock;
@@ -2728,7 +2868,7 @@ Related gallery: [form-section](https://minifish-org.github.io/pith-ui/?item=for
2728
2868
 
2729
2869
  ### createToolbar
2730
2870
 
2731
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L95)
2871
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L94)
2732
2872
 
2733
2873
  ```ts
2734
2874
  export declare function createToolbar(options: ToolbarState & {
@@ -2742,7 +2882,7 @@ Related gallery: [button](https://minifish-org.github.io/pith-ui/?item=button),
2742
2882
 
2743
2883
  ### ActionsState
2744
2884
 
2745
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L293)
2885
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L318)
2746
2886
 
2747
2887
  ```ts
2748
2888
  export interface ActionsState {
@@ -2752,7 +2892,7 @@ export interface ActionsState {
2752
2892
 
2753
2893
  ### ButtonBlock
2754
2894
 
2755
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L23)
2895
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L25)
2756
2896
 
2757
2897
  ```ts
2758
2898
  export interface ButtonBlock extends UIBlock<ButtonState> {
@@ -2764,7 +2904,7 @@ Referenced public types and APIs: [`ButtonState`](#buttonstate), [`UIBlock`](#ui
2764
2904
 
2765
2905
  ### ButtonOptions
2766
2906
 
2767
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L18)
2907
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L20)
2768
2908
 
2769
2909
  ```ts
2770
2910
  export interface ButtonOptions extends ButtonState {
@@ -2778,7 +2918,7 @@ Referenced public types and APIs: [`ButtonState`](#buttonstate), [`UIAction`](#u
2778
2918
 
2779
2919
  ### ButtonState
2780
2920
 
2781
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L7)
2921
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L9)
2782
2922
 
2783
2923
  ```ts
2784
2924
  export interface ButtonState {
@@ -2798,7 +2938,7 @@ Referenced public types and APIs: [`Density`](#density), [`Intent`](#intent).
2798
2938
 
2799
2939
  ### CheckboxBlock
2800
2940
 
2801
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L241)
2941
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L266)
2802
2942
 
2803
2943
  ```ts
2804
2944
  export interface CheckboxBlock extends UIBlock<CheckboxState> {
@@ -2813,7 +2953,7 @@ Referenced public types and APIs: [`CheckboxState`](#checkboxstate), [`UIBlock`]
2813
2953
 
2814
2954
  ### CheckboxState
2815
2955
 
2816
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L240)
2956
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L265)
2817
2957
 
2818
2958
  ```ts
2819
2959
  export interface CheckboxState {
@@ -2825,7 +2965,7 @@ export interface CheckboxState {
2825
2965
 
2826
2966
  ### CollectionState
2827
2967
 
2828
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L330)
2968
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L355)
2829
2969
 
2830
2970
  ```ts
2831
2971
  export interface CollectionState {
@@ -2837,7 +2977,7 @@ export interface CollectionState {
2837
2977
 
2838
2978
  ### ConfirmBlock
2839
2979
 
2840
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L445)
2980
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L471)
2841
2981
 
2842
2982
  ```ts
2843
2983
  export interface ConfirmBlock extends UIBlock<ConfirmState> {
@@ -2854,7 +2994,7 @@ Referenced public types and APIs: [`ConfirmState`](#confirmstate), [`UIBlock`](#
2854
2994
 
2855
2995
  ### ConfirmState
2856
2996
 
2857
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L444)
2997
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L470)
2858
2998
 
2859
2999
  ```ts
2860
3000
  export interface ConfirmState extends DialogState {
@@ -2871,7 +3011,7 @@ Referenced public types and APIs: [`DialogState`](#dialogstate).
2871
3011
 
2872
3012
  ### DialogBlock
2873
3013
 
2874
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L347)
3014
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L372)
2875
3015
 
2876
3016
  ```ts
2877
3017
  export interface DialogBlock extends UIBlock<DialogState> {
@@ -2886,7 +3026,7 @@ Referenced public types and APIs: [`DialogState`](#dialogstate), [`UIBlock`](#ui
2886
3026
 
2887
3027
  ### DialogOptions
2888
3028
 
2889
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L346)
3029
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L371)
2890
3030
 
2891
3031
  ```ts
2892
3032
  export interface DialogOptions extends DialogState {
@@ -2902,7 +3042,7 @@ Referenced public types and APIs: [`DialogState`](#dialogstate).
2902
3042
 
2903
3043
  ### DialogState
2904
3044
 
2905
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L345)
3045
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L370)
2906
3046
 
2907
3047
  ```ts
2908
3048
  export interface DialogState {
@@ -2915,7 +3055,7 @@ export interface DialogState {
2915
3055
 
2916
3056
  ### DisclosureBlock
2917
3057
 
2918
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L301)
3058
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L326)
2919
3059
 
2920
3060
  ```ts
2921
3061
  export interface DisclosureBlock extends UIBlock<DisclosureState> {
@@ -2928,7 +3068,7 @@ Referenced public types and APIs: [`DisclosureState`](#disclosurestate), [`UIBlo
2928
3068
 
2929
3069
  ### DisclosureState
2930
3070
 
2931
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L300)
3071
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L325)
2932
3072
 
2933
3073
  ```ts
2934
3074
  export interface DisclosureState {
@@ -2940,7 +3080,7 @@ export interface DisclosureState {
2940
3080
 
2941
3081
  ### FieldBlock
2942
3082
 
2943
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L116)
3083
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L115)
2944
3084
 
2945
3085
  ```ts
2946
3086
  export interface FieldBlock extends UIBlock<FieldState> {
@@ -2952,7 +3092,7 @@ Referenced public types and APIs: [`FieldState`](#fieldstate), [`UIBlock`](#uibl
2952
3092
 
2953
3093
  ### FieldState
2954
3094
 
2955
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L109)
3095
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L108)
2956
3096
 
2957
3097
  ```ts
2958
3098
  export interface FieldState {
@@ -2966,7 +3106,7 @@ export interface FieldState {
2966
3106
 
2967
3107
  ### FormSectionState
2968
3108
 
2969
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L285)
3109
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L310)
2970
3110
 
2971
3111
  ```ts
2972
3112
  export interface FormSectionState {
@@ -2977,7 +3117,7 @@ export interface FormSectionState {
2977
3117
 
2978
3118
  ### IconState
2979
3119
 
2980
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L61)
3120
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L63)
2981
3121
 
2982
3122
  ```ts
2983
3123
  export interface IconState {
@@ -2989,7 +3129,7 @@ export interface IconState {
2989
3129
 
2990
3130
  ### InputBlock
2991
3131
 
2992
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L155)
3132
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L154)
2993
3133
 
2994
3134
  ```ts
2995
3135
  export interface InputBlock extends UIBlock<InputState> {
@@ -3004,7 +3144,7 @@ Referenced public types and APIs: [`InputState`](#inputstate), [`UIBlock`](#uibl
3004
3144
 
3005
3145
  ### InputOptions
3006
3146
 
3007
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L146)
3147
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L145)
3008
3148
 
3009
3149
  ```ts
3010
3150
  export interface InputOptions extends InputState {
@@ -3022,7 +3162,7 @@ Referenced public types and APIs: [`InputState`](#inputstate).
3022
3162
 
3023
3163
  ### InputState
3024
3164
 
3025
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L141)
3165
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L140)
3026
3166
 
3027
3167
  ```ts
3028
3168
  export interface InputState extends FieldState {
@@ -3036,7 +3176,7 @@ Referenced public types and APIs: [`Density`](#density), [`FieldState`](#fieldst
3036
3176
 
3037
3177
  ### KeyValueState
3038
3178
 
3039
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L79)
3179
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L81)
3040
3180
 
3041
3181
  ```ts
3042
3182
  export interface KeyValueState {
@@ -3050,7 +3190,7 @@ export interface KeyValueState {
3050
3190
 
3051
3191
  ### ListRowState
3052
3192
 
3053
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L315)
3193
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L340)
3054
3194
 
3055
3195
  ```ts
3056
3196
  export interface ListRowState {
@@ -3064,7 +3204,7 @@ export interface ListRowState {
3064
3204
 
3065
3205
  ### MenuItem
3066
3206
 
3067
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L516)
3207
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L528)
3068
3208
 
3069
3209
  ```ts
3070
3210
  export interface MenuItem {
@@ -3079,9 +3219,21 @@ export interface MenuItem {
3079
3219
 
3080
3220
  Referenced public types and APIs: [`Intent`](#intent), [`UIAction`](#uiaction).
3081
3221
 
3222
+ ### MenuOptions
3223
+
3224
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L530)
3225
+
3226
+ ```ts
3227
+ export interface MenuOptions extends MenuState {
3228
+ onError?: (message: string) => void;
3229
+ }
3230
+ ```
3231
+
3232
+ Referenced public types and APIs: [`MenuState`](#menustate).
3233
+
3082
3234
  ### MenuState
3083
3235
 
3084
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L517)
3236
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L529)
3085
3237
 
3086
3238
  ```ts
3087
3239
  export interface MenuState extends PopoverState {
@@ -3093,7 +3245,7 @@ Referenced public types and APIs: [`MenuItem`](#menuitem), [`PopoverState`](#pop
3093
3245
 
3094
3246
  ### NoticeState
3095
3247
 
3096
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L261)
3248
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L286)
3097
3249
 
3098
3250
  ```ts
3099
3251
  export interface NoticeState {
@@ -3104,7 +3256,7 @@ export interface NoticeState {
3104
3256
 
3105
3257
  ### PopoverBlock
3106
3258
 
3107
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L486)
3259
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L507)
3108
3260
 
3109
3261
  ```ts
3110
3262
  export interface PopoverBlock extends UIBlock<PopoverState> {
@@ -3120,7 +3272,7 @@ Referenced public types and APIs: [`PopoverState`](#popoverstate), [`UIBlock`](#
3120
3272
 
3121
3273
  ### PopoverState
3122
3274
 
3123
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L485)
3275
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L506)
3124
3276
 
3125
3277
  ```ts
3126
3278
  export interface PopoverState {
@@ -3131,7 +3283,7 @@ export interface PopoverState {
3131
3283
 
3132
3284
  ### ProgressState
3133
3285
 
3134
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L274)
3286
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L299)
3135
3287
 
3136
3288
  ```ts
3137
3289
  export interface ProgressState {
@@ -3143,7 +3295,7 @@ export interface ProgressState {
3143
3295
 
3144
3296
  ### ScrollAreaState
3145
3297
 
3146
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L102)
3298
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L101)
3147
3299
 
3148
3300
  ```ts
3149
3301
  export interface ScrollAreaState {
@@ -3154,13 +3306,15 @@ export interface ScrollAreaState {
3154
3306
 
3155
3307
  ### SelectBlock
3156
3308
 
3157
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L211)
3309
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L218)
3158
3310
 
3159
3311
  ```ts
3160
3312
  export interface SelectBlock extends UIBlock<SelectState> {
3161
3313
  readonly control: HTMLSelectElement;
3162
3314
  getValue(): string;
3315
+ getValues(): string[];
3163
3316
  reset(value: string): void;
3317
+ resetValues(values: readonly string[]): void;
3164
3318
  focus(): void;
3165
3319
  }
3166
3320
  ```
@@ -3169,7 +3323,7 @@ Referenced public types and APIs: [`SelectState`](#selectstate), [`UIBlock`](#ui
3169
3323
 
3170
3324
  ### SelectOption
3171
3325
 
3172
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L208)
3326
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L208)
3173
3327
 
3174
3328
  ```ts
3175
3329
  export interface SelectOption {
@@ -3181,12 +3335,14 @@ export interface SelectOption {
3181
3335
 
3182
3336
  ### SelectOptions
3183
3337
 
3184
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L210)
3338
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L210)
3185
3339
 
3186
3340
  ```ts
3187
3341
  export interface SelectOptions extends SelectState {
3188
3342
  value?: string;
3343
+ values?: readonly string[];
3189
3344
  onChange?: (value: string) => void;
3345
+ onValuesChange?: (values: readonly string[]) => void;
3190
3346
  multiple?: boolean;
3191
3347
  size?: number;
3192
3348
  }
@@ -3196,7 +3352,7 @@ Referenced public types and APIs: [`SelectState`](#selectstate).
3196
3352
 
3197
3353
  ### SelectState
3198
3354
 
3199
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L209)
3355
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L209)
3200
3356
 
3201
3357
  ```ts
3202
3358
  export interface SelectState extends FieldState {
@@ -3209,7 +3365,7 @@ Referenced public types and APIs: [`Density`](#density), [`FieldState`](#fieldst
3209
3365
 
3210
3366
  ### StatusState
3211
3367
 
3212
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L267)
3368
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L292)
3213
3369
 
3214
3370
  ```ts
3215
3371
  export interface StatusState {
@@ -3220,7 +3376,7 @@ export interface StatusState {
3220
3376
 
3221
3377
  ### TextEditBlock
3222
3378
 
3223
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L386)
3379
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L411)
3224
3380
 
3225
3381
  ```ts
3226
3382
  export interface TextEditBlock extends Omit<UIBlock<TextEditState>, 'element'> {
@@ -3238,7 +3394,7 @@ Referenced public types and APIs: [`TextEditInput`](#texteditinput), [`TextEditS
3238
3394
 
3239
3395
  ### TextEditInput
3240
3396
 
3241
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L377)
3397
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L402)
3242
3398
 
3243
3399
  ```ts
3244
3400
  export interface TextEditInput {
@@ -3251,7 +3407,7 @@ export interface TextEditInput {
3251
3407
 
3252
3408
  ### TextEditOptions
3253
3409
 
3254
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L378)
3410
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L403)
3255
3411
 
3256
3412
  ```ts
3257
3413
  export interface TextEditOptions extends Partial<TextEditState> {
@@ -3275,7 +3431,7 @@ Referenced public types and APIs: [`ActionResult`](#actionresult), [`TextEditSta
3275
3431
 
3276
3432
  ### TextEditState
3277
3433
 
3278
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L376)
3434
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L401)
3279
3435
 
3280
3436
  ```ts
3281
3437
  export interface TextEditState extends DialogState {
@@ -3292,7 +3448,7 @@ Referenced public types and APIs: [`DialogState`](#dialogstate).
3292
3448
 
3293
3449
  ### ToolbarState
3294
3450
 
3295
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/primitives.ts#L94)
3451
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L93)
3296
3452
 
3297
3453
  ```ts
3298
3454
  export interface ToolbarState {
@@ -3307,7 +3463,7 @@ Referenced public types and APIs: [`Density`](#density).
3307
3463
 
3308
3464
  ### createApprovalPanel
3309
3465
 
3310
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/tasks/approval.ts#L8)
3466
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/tasks/approval.ts#L8)
3311
3467
 
3312
3468
  ```ts
3313
3469
  export declare function createApprovalPanel(initial: ApprovalPanelState, options?: {
@@ -3323,7 +3479,7 @@ Related gallery: [approval-panel](https://minifish-org.github.io/pith-ui/?item=a
3323
3479
 
3324
3480
  ### ApprovalPanelState
3325
3481
 
3326
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/tasks/approval.ts#L7)
3482
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/tasks/approval.ts#L7)
3327
3483
 
3328
3484
  ```ts
3329
3485
  export interface ApprovalPanelState {
@@ -3336,7 +3492,7 @@ Referenced public types and APIs: [`ApprovalView`](#approvalview).
3336
3492
 
3337
3493
  ### ApprovalView
3338
3494
 
3339
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/tasks/approval.ts#L6)
3495
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/tasks/approval.ts#L6)
3340
3496
 
3341
3497
  ```ts
3342
3498
  export interface ApprovalView {
@@ -3359,7 +3515,7 @@ export interface ApprovalView {
3359
3515
 
3360
3516
  ### createFullAccessConfirmation
3361
3517
 
3362
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/tasks/permission.ts#L7)
3518
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/tasks/permission.ts#L9)
3363
3519
 
3364
3520
  ```ts
3365
3521
  export declare function createFullAccessConfirmation(initial: FullAccessState, options?: FullAccessOptions): UIBlock<FullAccessState> & {
@@ -3373,7 +3529,7 @@ Related gallery: [full-access-confirmation](https://minifish-org.github.io/pith-
3373
3529
 
3374
3530
  ### createPermissionControl
3375
3531
 
3376
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/tasks/permission.ts#L24)
3532
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/tasks/permission.ts#L40)
3377
3533
 
3378
3534
  ```ts
3379
3535
  export declare function createPermissionControl(initial: PermissionControlState, options?: {
@@ -3389,7 +3545,7 @@ Related gallery: [permission-control](https://minifish-org.github.io/pith-ui/?it
3389
3545
 
3390
3546
  ### createTaskFailure
3391
3547
 
3392
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/tasks/permission.ts#L17)
3548
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/tasks/permission.ts#L19)
3393
3549
 
3394
3550
  ```ts
3395
3551
  export declare function createTaskFailure(initial: TaskFailureState, options?: {
@@ -3406,7 +3562,7 @@ Related gallery: [task-failure](https://minifish-org.github.io/pith-ui/?item=tas
3406
3562
 
3407
3563
  ### FullAccessOptions
3408
3564
 
3409
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/tasks/permission.ts#L6)
3565
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/tasks/permission.ts#L8)
3410
3566
 
3411
3567
  ```ts
3412
3568
  export interface FullAccessOptions {
@@ -3419,7 +3575,7 @@ Referenced public types and APIs: [`ActionResult`](#actionresult).
3419
3575
 
3420
3576
  ### FullAccessState
3421
3577
 
3422
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/tasks/permission.ts#L5)
3578
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/tasks/permission.ts#L7)
3423
3579
 
3424
3580
  ```ts
3425
3581
  export interface FullAccessState {
@@ -3431,7 +3587,7 @@ export interface FullAccessState {
3431
3587
 
3432
3588
  ### PermissionControlState
3433
3589
 
3434
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/tasks/permission.ts#L23)
3590
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/tasks/permission.ts#L39)
3435
3591
 
3436
3592
  ```ts
3437
3593
  export interface PermissionControlState {
@@ -3443,7 +3599,7 @@ export interface PermissionControlState {
3443
3599
 
3444
3600
  ### TaskFailureState
3445
3601
 
3446
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/tasks/permission.ts#L16)
3602
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/tasks/permission.ts#L18)
3447
3603
 
3448
3604
  ```ts
3449
3605
  export interface TaskFailureState {
@@ -3459,7 +3615,7 @@ export interface TaskFailureState {
3459
3615
 
3460
3616
  ### createRuntimePanel
3461
3617
 
3462
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/tasks/runtime.ts#L5)
3618
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/tasks/runtime.ts#L6)
3463
3619
 
3464
3620
  ```ts
3465
3621
  export declare function createRuntimePanel(initial: RuntimePanelState, options?: {
@@ -3481,7 +3637,7 @@ Related gallery: [runtime-panel](https://minifish-org.github.io/pith-ui/?item=ru
3481
3637
 
3482
3638
  ### RuntimePanelState
3483
3639
 
3484
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/tasks/runtime.ts#L4)
3640
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/tasks/runtime.ts#L5)
3485
3641
 
3486
3642
  ```ts
3487
3643
  export interface RuntimePanelState {
@@ -3508,7 +3664,7 @@ export interface RuntimePanelState {
3508
3664
 
3509
3665
  ### Appearance
3510
3666
 
3511
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/theme.ts#L1)
3667
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/theme.ts#L1)
3512
3668
 
3513
3669
  ```ts
3514
3670
  export type Appearance = 'light' | 'dark' | 'system';
@@ -3516,7 +3672,7 @@ export type Appearance = 'light' | 'dark' | 'system';
3516
3672
 
3517
3673
  ### setAppearance
3518
3674
 
3519
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/theme.ts#L3)
3675
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/theme.ts#L3)
3520
3676
 
3521
3677
  ```ts
3522
3678
  /** Scope tokens and styles to an explicit application or preview root. */
@@ -3531,7 +3687,7 @@ Related gallery: [foundation-colors](https://minifish-org.github.io/pith-ui/?ite
3531
3687
 
3532
3688
  ### createComposerView
3533
3689
 
3534
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/workspace.ts#L31)
3690
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/workspace.ts#L33)
3535
3691
 
3536
3692
  ```ts
3537
3693
  export declare function createComposerView(options?: ComposerViewOptions): {
@@ -3553,7 +3709,7 @@ Related gallery: [composer](https://minifish-org.github.io/pith-ui/?item=compose
3553
3709
 
3554
3710
  ### createWorkspaceShell
3555
3711
 
3556
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/workspace.ts#L115)
3712
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/workspace.ts#L121)
3557
3713
 
3558
3714
  ```ts
3559
3715
  export declare function createWorkspaceShell(options: WorkspaceShellOptions): {
@@ -3586,7 +3742,7 @@ Related gallery: [workspace-chat](https://minifish-org.github.io/pith-ui/?item=w
3586
3742
 
3587
3743
  ### ActionScope
3588
3744
 
3589
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/workspace.ts#L112)
3745
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/workspace.ts#L118)
3590
3746
 
3591
3747
  ```ts
3592
3748
  export interface ActionScope {
@@ -3597,7 +3753,7 @@ export interface ActionScope {
3597
3753
 
3598
3754
  ### ComposerViewOptions
3599
3755
 
3600
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/workspace.ts#L13)
3756
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/workspace.ts#L15)
3601
3757
 
3602
3758
  ```ts
3603
3759
  export interface ComposerViewOptions {
@@ -3616,7 +3772,7 @@ Referenced public types and APIs: [`ActionResult`](#actionresult).
3616
3772
 
3617
3773
  ### ComposerViewState
3618
3774
 
3619
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/workspace.ts#L7)
3775
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/workspace.ts#L9)
3620
3776
 
3621
3777
  ```ts
3622
3778
  export interface ComposerViewState {
@@ -3643,7 +3799,7 @@ export interface ComposerViewState {
3643
3799
 
3644
3800
  ### WorkspaceDialogName
3645
3801
 
3646
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/workspace.ts#L111)
3802
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/workspace.ts#L117)
3647
3803
 
3648
3804
  ```ts
3649
3805
  export type WorkspaceDialogName = 'model' | 'settings' | 'workspace' | 'permissions' | 'delete' | 'rename' | 'queue-edit' | 'message-edit' | 'resources' | 'connections' | 'preview' | 'image';
@@ -3651,7 +3807,7 @@ export type WorkspaceDialogName = 'model' | 'settings' | 'workspace' | 'permissi
3651
3807
 
3652
3808
  ### WorkspaceShellOptions
3653
3809
 
3654
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/workspace.ts#L113)
3810
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/workspace.ts#L119)
3655
3811
 
3656
3812
  ```ts
3657
3813
  export interface WorkspaceShellOptions {
@@ -3668,7 +3824,7 @@ Referenced public types and APIs: [`ComposerViewOptions`](#composerviewoptions),
3668
3824
 
3669
3825
  ### WorkspaceShellState
3670
3826
 
3671
- [Source](https://github.com/minifish-org/pith-ui/blob/main/src/workspace.ts#L114)
3827
+ [Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/workspace.ts#L120)
3672
3828
 
3673
3829
  ```ts
3674
3830
  export interface WorkspaceShellState {