pith-ui 0.1.4 → 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.
- package/AI.md +21 -7
- package/API.md +263 -262
- package/APP-API.md +2019 -0
- package/APP.md +137 -0
- package/README.md +35 -4
- package/dist/app/files.d.ts +68 -0
- package/dist/app/files.d.ts.map +1 -0
- package/dist/app/files.js +177 -0
- package/dist/app/files.js.map +1 -0
- package/dist/app/index.d.ts +57 -0
- package/dist/app/index.d.ts.map +1 -0
- package/dist/app/index.js +300 -0
- package/dist/app/index.js.map +1 -0
- package/dist/app/internal.d.ts +31 -0
- package/dist/app/internal.d.ts.map +1 -0
- package/dist/app/internal.js +2 -0
- package/dist/app/internal.js.map +1 -0
- package/dist/app/resources.d.ts +89 -0
- package/dist/app/resources.d.ts.map +1 -0
- package/dist/app/resources.js +190 -0
- package/dist/app/resources.js.map +1 -0
- package/dist/app/session.d.ts +14 -0
- package/dist/app/session.d.ts.map +1 -0
- package/dist/app/session.js +12 -0
- package/dist/app/session.js.map +1 -0
- package/dist/app/settings.d.ts +109 -0
- package/dist/app/settings.d.ts.map +1 -0
- package/dist/app/settings.js +279 -0
- package/dist/app/settings.js.map +1 -0
- package/dist/app/workspace.d.ts +228 -0
- package/dist/app/workspace.d.ts.map +1 -0
- package/dist/app/workspace.js +402 -0
- package/dist/app/workspace.js.map +1 -0
- package/dist/forms/actions.d.ts +1 -0
- package/dist/forms/actions.d.ts.map +1 -1
- package/dist/forms/actions.js +3 -2
- package/dist/forms/actions.js.map +1 -1
- package/dist/styles.css +4 -1
- package/dist/tasks/runtime.js +2 -2
- package/dist/tasks/runtime.js.map +1 -1
- 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
|
|
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/
|
|
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
|
|
|
@@ -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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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,7 +517,7 @@ 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/
|
|
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 {
|
|
@@ -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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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-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).
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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,7 +835,7 @@ 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/
|
|
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): {
|
|
@@ -851,7 +851,7 @@ Related gallery: [file-actions](https://minifish-org.github.io/pith-ui/?item=fil
|
|
|
851
851
|
|
|
852
852
|
### createFilePreview
|
|
853
853
|
|
|
854
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
854
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/panels.ts#L232)
|
|
855
855
|
|
|
856
856
|
```ts
|
|
857
857
|
export declare function createFilePreview(options?: FilePreviewOptions): {
|
|
@@ -873,7 +873,7 @@ Related gallery: [file-preview](https://minifish-org.github.io/pith-ui/?item=fil
|
|
|
873
873
|
|
|
874
874
|
### createResourcesPanel
|
|
875
875
|
|
|
876
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
876
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/panels.ts#L113)
|
|
877
877
|
|
|
878
878
|
```ts
|
|
879
879
|
export declare function createResourcesPanel(options?: ResourcesPanelOptions): {
|
|
@@ -892,7 +892,7 @@ Related gallery: [resources-panel](https://minifish-org.github.io/pith-ui/?item=
|
|
|
892
892
|
|
|
893
893
|
### ArtifactPanelOptions
|
|
894
894
|
|
|
895
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
895
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/panels.ts#L42)
|
|
896
896
|
|
|
897
897
|
```ts
|
|
898
898
|
export interface ArtifactPanelOptions {
|
|
@@ -907,7 +907,7 @@ export interface ArtifactPanelOptions {
|
|
|
907
907
|
|
|
908
908
|
### ArtifactPanelState
|
|
909
909
|
|
|
910
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
910
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/panels.ts#L41)
|
|
911
911
|
|
|
912
912
|
```ts
|
|
913
913
|
export interface ArtifactPanelState {
|
|
@@ -924,7 +924,7 @@ export interface ArtifactPanelState {
|
|
|
924
924
|
|
|
925
925
|
### FileActionOptions
|
|
926
926
|
|
|
927
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
927
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/panels.ts#L9)
|
|
928
928
|
|
|
929
929
|
```ts
|
|
930
930
|
export interface FileActionOptions {
|
|
@@ -939,7 +939,7 @@ export interface FileActionOptions {
|
|
|
939
939
|
|
|
940
940
|
### fileActionsMarkup
|
|
941
941
|
|
|
942
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
942
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/panels.ts#L14)
|
|
943
943
|
|
|
944
944
|
```ts
|
|
945
945
|
export declare function fileActionsMarkup(options: FileActionOptions): string;
|
|
@@ -949,7 +949,7 @@ Referenced public types and APIs: [`FileActionOptions`](#fileactionoptions).
|
|
|
949
949
|
|
|
950
950
|
### FilePreviewOptions
|
|
951
951
|
|
|
952
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
952
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/panels.ts#L231)
|
|
953
953
|
|
|
954
954
|
```ts
|
|
955
955
|
export interface FilePreviewOptions {
|
|
@@ -964,7 +964,7 @@ export interface FilePreviewOptions {
|
|
|
964
964
|
|
|
965
965
|
### FilePreviewState
|
|
966
966
|
|
|
967
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
967
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/panels.ts#L230)
|
|
968
968
|
|
|
969
969
|
```ts
|
|
970
970
|
export interface FilePreviewState {
|
|
@@ -981,7 +981,7 @@ Referenced public types and APIs: [`PreviewKind`](#previewkind).
|
|
|
981
981
|
|
|
982
982
|
### ResourceDisplayEntry
|
|
983
983
|
|
|
984
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
984
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/panels.ts#L107)
|
|
985
985
|
|
|
986
986
|
```ts
|
|
987
987
|
export interface ResourceDisplayEntry {
|
|
@@ -996,7 +996,7 @@ export interface ResourceDisplayEntry {
|
|
|
996
996
|
|
|
997
997
|
### ResourcesPanelOptions
|
|
998
998
|
|
|
999
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
999
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/panels.ts#L112)
|
|
1000
1000
|
|
|
1001
1001
|
```ts
|
|
1002
1002
|
export interface ResourcesPanelOptions {
|
|
@@ -1013,7 +1013,7 @@ export interface ResourcesPanelOptions {
|
|
|
1013
1013
|
|
|
1014
1014
|
### ResourcesPanelState
|
|
1015
1015
|
|
|
1016
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1016
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/panels.ts#L108)
|
|
1017
1017
|
|
|
1018
1018
|
```ts
|
|
1019
1019
|
export interface ResourcesPanelState {
|
|
@@ -1032,7 +1032,7 @@ Referenced public types and APIs: [`ResourceDisplayEntry`](#resourcedisplayentry
|
|
|
1032
1032
|
|
|
1033
1033
|
### createCompletionNotices
|
|
1034
1034
|
|
|
1035
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1035
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/systems.ts#L119)
|
|
1036
1036
|
|
|
1037
1037
|
```ts
|
|
1038
1038
|
export declare function createCompletionNotices(options?: {
|
|
@@ -1048,7 +1048,7 @@ Related gallery: [completion-notices](https://minifish-org.github.io/pith-ui/?it
|
|
|
1048
1048
|
|
|
1049
1049
|
### createCopyFeedback
|
|
1050
1050
|
|
|
1051
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1051
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/systems.ts#L157)
|
|
1052
1052
|
|
|
1053
1053
|
```ts
|
|
1054
1054
|
export declare function createCopyFeedback(options: {
|
|
@@ -1065,7 +1065,7 @@ Related gallery: [copy-feedback](https://minifish-org.github.io/pith-ui/?item=co
|
|
|
1065
1065
|
|
|
1066
1066
|
### createCostLedger
|
|
1067
1067
|
|
|
1068
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1068
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/systems.ts#L24)
|
|
1069
1069
|
|
|
1070
1070
|
```ts
|
|
1071
1071
|
export declare function createCostLedger(options?: {
|
|
@@ -1086,7 +1086,7 @@ Related gallery: [cost-ledger](https://minifish-org.github.io/pith-ui/?item=cost
|
|
|
1086
1086
|
|
|
1087
1087
|
### createUpdatePanel
|
|
1088
1088
|
|
|
1089
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1089
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/systems.ts#L78)
|
|
1090
1090
|
|
|
1091
1091
|
```ts
|
|
1092
1092
|
export declare function createUpdatePanel(options?: {
|
|
@@ -1111,7 +1111,7 @@ Related gallery: [settings-panel](https://minifish-org.github.io/pith-ui/?item=s
|
|
|
1111
1111
|
|
|
1112
1112
|
### CompletionNoticeDisplay
|
|
1113
1113
|
|
|
1114
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1114
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/systems.ts#L112)
|
|
1115
1115
|
|
|
1116
1116
|
```ts
|
|
1117
1117
|
export interface CompletionNoticeDisplay {
|
|
@@ -1126,7 +1126,7 @@ Related gallery: [completion-notices](https://minifish-org.github.io/pith-ui/?it
|
|
|
1126
1126
|
|
|
1127
1127
|
### CostLedgerState
|
|
1128
1128
|
|
|
1129
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1129
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/systems.ts#L23)
|
|
1130
1130
|
|
|
1131
1131
|
```ts
|
|
1132
1132
|
export interface CostLedgerState {
|
|
@@ -1139,7 +1139,7 @@ Referenced public types and APIs: [`CostRequestDisplay`](#costrequestdisplay).
|
|
|
1139
1139
|
|
|
1140
1140
|
### CostRequestDisplay
|
|
1141
1141
|
|
|
1142
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1142
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/systems.ts#L18)
|
|
1143
1143
|
|
|
1144
1144
|
```ts
|
|
1145
1145
|
export interface CostRequestDisplay {
|
|
@@ -1169,7 +1169,7 @@ export interface CostRequestDisplay {
|
|
|
1169
1169
|
|
|
1170
1170
|
### CostSummaryDisplay
|
|
1171
1171
|
|
|
1172
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1172
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/systems.ts#L9)
|
|
1173
1173
|
|
|
1174
1174
|
```ts
|
|
1175
1175
|
export interface CostSummaryDisplay {
|
|
@@ -1185,7 +1185,7 @@ export interface CostSummaryDisplay {
|
|
|
1185
1185
|
|
|
1186
1186
|
### formatCost
|
|
1187
1187
|
|
|
1188
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1188
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/systems.ts#L10)
|
|
1189
1189
|
|
|
1190
1190
|
```ts
|
|
1191
1191
|
export declare function formatCost(cost: CostSummaryDisplay | undefined, latestTask?: boolean): string;
|
|
@@ -1195,7 +1195,7 @@ Referenced public types and APIs: [`CostSummaryDisplay`](#costsummarydisplay).
|
|
|
1195
1195
|
|
|
1196
1196
|
### historyStatusMarkup
|
|
1197
1197
|
|
|
1198
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1198
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/systems.ts#L113)
|
|
1199
1199
|
|
|
1200
1200
|
```ts
|
|
1201
1201
|
export declare function historyStatusMarkup(status: 'approval' | 'running' | 'unread' | 'idle'): string;
|
|
@@ -1205,7 +1205,7 @@ Related gallery: [completion-notices](https://minifish-org.github.io/pith-ui/?it
|
|
|
1205
1205
|
|
|
1206
1206
|
### UpdatePanelState
|
|
1207
1207
|
|
|
1208
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1208
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/files/systems.ts#L77)
|
|
1209
1209
|
|
|
1210
1210
|
```ts
|
|
1211
1211
|
export interface UpdatePanelState {
|
|
@@ -1222,7 +1222,7 @@ export interface UpdatePanelState {
|
|
|
1222
1222
|
|
|
1223
1223
|
### createProviderActions
|
|
1224
1224
|
|
|
1225
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1225
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/actions.ts#L38)
|
|
1226
1226
|
|
|
1227
1227
|
```ts
|
|
1228
1228
|
export declare function createProviderActions(state: ProviderActionsState, options?: ProviderActionOptions): UIBlock<ProviderActionsState>;
|
|
@@ -1234,7 +1234,7 @@ Related gallery: [provider-resource-actions](https://minifish-org.github.io/pith
|
|
|
1234
1234
|
|
|
1235
1235
|
### createResourceActions
|
|
1236
1236
|
|
|
1237
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1237
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/actions.ts#L46)
|
|
1238
1238
|
|
|
1239
1239
|
```ts
|
|
1240
1240
|
export declare function createResourceActions(state: ResourceActionsState, options?: ResourceActionOptions): UIBlock<ResourceActionsState>;
|
|
@@ -1246,7 +1246,7 @@ Related gallery: [provider-resource-actions](https://minifish-org.github.io/pith
|
|
|
1246
1246
|
|
|
1247
1247
|
### FeatureActionOptions
|
|
1248
1248
|
|
|
1249
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1249
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/actions.ts#L17)
|
|
1250
1250
|
|
|
1251
1251
|
```ts
|
|
1252
1252
|
export interface FeatureActionOptions {
|
|
@@ -1259,7 +1259,7 @@ Referenced public types and APIs: [`UIAction`](#uiaction).
|
|
|
1259
1259
|
|
|
1260
1260
|
### ProviderAction
|
|
1261
1261
|
|
|
1262
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1262
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/actions.ts#L8)
|
|
1263
1263
|
|
|
1264
1264
|
```ts
|
|
1265
1265
|
export type ProviderAction = 'login' | 'logout' | 'custom' | 'remove-connection';
|
|
@@ -1267,7 +1267,7 @@ export type ProviderAction = 'login' | 'logout' | 'custom' | 'remove-connection'
|
|
|
1267
1267
|
|
|
1268
1268
|
### ProviderActionOptions
|
|
1269
1269
|
|
|
1270
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1270
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/actions.ts#L18)
|
|
1271
1271
|
|
|
1272
1272
|
```ts
|
|
1273
1273
|
export interface ProviderActionOptions extends FeatureActionOptions {
|
|
@@ -1279,7 +1279,7 @@ Referenced public types and APIs: [`FeatureActionOptions`](#featureactionoptions
|
|
|
1279
1279
|
|
|
1280
1280
|
### providerActionsMarkup
|
|
1281
1281
|
|
|
1282
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1282
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/actions.ts#L12)
|
|
1283
1283
|
|
|
1284
1284
|
```ts
|
|
1285
1285
|
export declare function providerActionsMarkup(provider: ProviderActionsState): string;
|
|
@@ -1289,7 +1289,7 @@ Referenced public types and APIs: [`ProviderActionsState`](#provideractionsstate
|
|
|
1289
1289
|
|
|
1290
1290
|
### ProviderActionsState
|
|
1291
1291
|
|
|
1292
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1292
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/actions.ts#L5)
|
|
1293
1293
|
|
|
1294
1294
|
```ts
|
|
1295
1295
|
export interface ProviderActionsState {
|
|
@@ -1297,12 +1297,13 @@ export interface ProviderActionsState {
|
|
|
1297
1297
|
oauth: boolean;
|
|
1298
1298
|
signedIn: boolean;
|
|
1299
1299
|
custom: boolean;
|
|
1300
|
+
disabled?: boolean;
|
|
1300
1301
|
}
|
|
1301
1302
|
```
|
|
1302
1303
|
|
|
1303
1304
|
### ProviderActionTarget
|
|
1304
1305
|
|
|
1305
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1306
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/actions.ts#L10)
|
|
1306
1307
|
|
|
1307
1308
|
```ts
|
|
1308
1309
|
export interface ProviderActionTarget {
|
|
@@ -1312,7 +1313,7 @@ export interface ProviderActionTarget {
|
|
|
1312
1313
|
|
|
1313
1314
|
### ResourceAction
|
|
1314
1315
|
|
|
1315
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1316
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/actions.ts#L9)
|
|
1316
1317
|
|
|
1317
1318
|
```ts
|
|
1318
1319
|
export type ResourceAction = 'use-resource' | 'resource';
|
|
@@ -1320,7 +1321,7 @@ export type ResourceAction = 'use-resource' | 'resource';
|
|
|
1320
1321
|
|
|
1321
1322
|
### ResourceActionOptions
|
|
1322
1323
|
|
|
1323
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1324
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/actions.ts#L19)
|
|
1324
1325
|
|
|
1325
1326
|
```ts
|
|
1326
1327
|
export interface ResourceActionOptions extends FeatureActionOptions {
|
|
@@ -1332,7 +1333,7 @@ Referenced public types and APIs: [`FeatureActionOptions`](#featureactionoptions
|
|
|
1332
1333
|
|
|
1333
1334
|
### resourceActionsMarkup
|
|
1334
1335
|
|
|
1335
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1336
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/actions.ts#L14)
|
|
1336
1337
|
|
|
1337
1338
|
```ts
|
|
1338
1339
|
export declare function resourceActionsMarkup(kind: string, resource: {
|
|
@@ -1343,7 +1344,7 @@ export declare function resourceActionsMarkup(kind: string, resource: {
|
|
|
1343
1344
|
|
|
1344
1345
|
### ResourceActionsState
|
|
1345
1346
|
|
|
1346
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1347
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/actions.ts#L7)
|
|
1347
1348
|
|
|
1348
1349
|
```ts
|
|
1349
1350
|
export interface ResourceActionsState {
|
|
@@ -1358,7 +1359,7 @@ export interface ResourceActionsState {
|
|
|
1358
1359
|
|
|
1359
1360
|
### ResourceActionTarget
|
|
1360
1361
|
|
|
1361
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1362
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/actions.ts#L11)
|
|
1362
1363
|
|
|
1363
1364
|
```ts
|
|
1364
1365
|
export interface ResourceActionTarget {
|
|
@@ -1374,7 +1375,7 @@ export interface ResourceActionTarget {
|
|
|
1374
1375
|
|
|
1375
1376
|
### ResourceKind
|
|
1376
1377
|
|
|
1377
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1378
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/actions.ts#L6)
|
|
1378
1379
|
|
|
1379
1380
|
```ts
|
|
1380
1381
|
export type ResourceKind = 'instructions' | 'skill' | 'template';
|
|
@@ -1384,7 +1385,7 @@ export type ResourceKind = 'instructions' | 'skill' | 'template';
|
|
|
1384
1385
|
|
|
1385
1386
|
### createCustomConnectionEditor
|
|
1386
1387
|
|
|
1387
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1388
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/custom-connection.ts#L28)
|
|
1388
1389
|
|
|
1389
1390
|
```ts
|
|
1390
1391
|
export declare function createCustomConnectionEditor(state: CustomConnectionState, options?: {
|
|
@@ -1402,7 +1403,7 @@ Related gallery: [custom-connection](https://minifish-org.github.io/pith-ui/?ite
|
|
|
1402
1403
|
|
|
1403
1404
|
### createCustomModelRow
|
|
1404
1405
|
|
|
1405
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1406
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/custom-connection.ts#L12)
|
|
1406
1407
|
|
|
1407
1408
|
```ts
|
|
1408
1409
|
export declare function createCustomModelRow(model: CustomModelRowState, index?: number): UIBlock<CustomModelRowState> & {
|
|
@@ -1417,7 +1418,7 @@ Related gallery: [custom-connection](https://minifish-org.github.io/pith-ui/?ite
|
|
|
1417
1418
|
|
|
1418
1419
|
### CustomConnectionDraft
|
|
1419
1420
|
|
|
1420
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1421
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/custom-connection.ts#L8)
|
|
1421
1422
|
|
|
1422
1423
|
```ts
|
|
1423
1424
|
export interface CustomConnectionDraft {
|
|
@@ -1433,7 +1434,7 @@ Referenced public types and APIs: [`CustomModelDraft`](#custommodeldraft).
|
|
|
1433
1434
|
|
|
1434
1435
|
### CustomConnectionState
|
|
1435
1436
|
|
|
1436
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1437
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/custom-connection.ts#L6)
|
|
1437
1438
|
|
|
1438
1439
|
```ts
|
|
1439
1440
|
export interface CustomConnectionState {
|
|
@@ -1451,7 +1452,7 @@ Referenced public types and APIs: [`CustomModelValue`](#custommodelvalue).
|
|
|
1451
1452
|
|
|
1452
1453
|
### CustomModelDraft
|
|
1453
1454
|
|
|
1454
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1455
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/custom-connection.ts#L7)
|
|
1455
1456
|
|
|
1456
1457
|
```ts
|
|
1457
1458
|
export interface CustomModelDraft {
|
|
@@ -1473,7 +1474,7 @@ export interface CustomModelDraft {
|
|
|
1473
1474
|
|
|
1474
1475
|
### CustomModelRowState
|
|
1475
1476
|
|
|
1476
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1477
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/custom-connection.ts#L11)
|
|
1477
1478
|
|
|
1478
1479
|
```ts
|
|
1479
1480
|
export interface CustomModelRowState extends CustomModelValue {
|
|
@@ -1486,7 +1487,7 @@ Referenced public types and APIs: [`CustomModelValue`](#custommodelvalue).
|
|
|
1486
1487
|
|
|
1487
1488
|
### CustomModelValue
|
|
1488
1489
|
|
|
1489
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1490
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/custom-connection.ts#L5)
|
|
1490
1491
|
|
|
1491
1492
|
```ts
|
|
1492
1493
|
export interface CustomModelValue {
|
|
@@ -1509,7 +1510,7 @@ export interface CustomModelValue {
|
|
|
1509
1510
|
|
|
1510
1511
|
### createFeatureDialogFrame
|
|
1511
1512
|
|
|
1512
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1513
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/dialog-frame.ts#L10)
|
|
1513
1514
|
|
|
1514
1515
|
```ts
|
|
1515
1516
|
export declare function createFeatureDialogFrame(options?: FeatureDialogOptions): UIBlock<FeatureDialogState> & {
|
|
@@ -1526,7 +1527,7 @@ Related gallery: [feature-dialog](https://minifish-org.github.io/pith-ui/?item=f
|
|
|
1526
1527
|
|
|
1527
1528
|
### createFeatureStatus
|
|
1528
1529
|
|
|
1529
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1530
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/dialog-frame.ts#L57)
|
|
1530
1531
|
|
|
1531
1532
|
```ts
|
|
1532
1533
|
export declare function createFeatureStatus(state: {
|
|
@@ -1544,7 +1545,7 @@ Related gallery: [feature-dialog](https://minifish-org.github.io/pith-ui/?item=f
|
|
|
1544
1545
|
|
|
1545
1546
|
### createSDKDialogElements
|
|
1546
1547
|
|
|
1547
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1548
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/dialog-frame.ts#L63)
|
|
1548
1549
|
|
|
1549
1550
|
```ts
|
|
1550
1551
|
export declare function createSDKDialogElements(options?: {
|
|
@@ -1562,7 +1563,7 @@ Related gallery: [feature-dialog](https://minifish-org.github.io/pith-ui/?item=f
|
|
|
1562
1563
|
|
|
1563
1564
|
### DialogContent
|
|
1564
1565
|
|
|
1565
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1566
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/dialog-frame.ts#L7)
|
|
1566
1567
|
|
|
1567
1568
|
```ts
|
|
1568
1569
|
export interface DialogContent {
|
|
@@ -1573,7 +1574,7 @@ export interface DialogContent {
|
|
|
1573
1574
|
|
|
1574
1575
|
### FeatureDialogOptions
|
|
1575
1576
|
|
|
1576
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1577
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/dialog-frame.ts#L9)
|
|
1577
1578
|
|
|
1578
1579
|
```ts
|
|
1579
1580
|
export interface FeatureDialogOptions {
|
|
@@ -1589,7 +1590,7 @@ export interface FeatureDialogOptions {
|
|
|
1589
1590
|
|
|
1590
1591
|
### FeatureDialogState
|
|
1591
1592
|
|
|
1592
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1593
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/dialog-frame.ts#L8)
|
|
1593
1594
|
|
|
1594
1595
|
```ts
|
|
1595
1596
|
export interface FeatureDialogState {
|
|
@@ -1604,7 +1605,7 @@ Referenced public types and APIs: [`DialogContent`](#dialogcontent).
|
|
|
1604
1605
|
|
|
1605
1606
|
### createBranchHistory
|
|
1606
1607
|
|
|
1607
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1608
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/history.ts#L8)
|
|
1608
1609
|
|
|
1609
1610
|
```ts
|
|
1610
1611
|
export declare function createBranchHistory(initial: BranchHistoryState, options?: {
|
|
@@ -1618,7 +1619,7 @@ Related gallery: [branch-history](https://minifish-org.github.io/pith-ui/?item=b
|
|
|
1618
1619
|
|
|
1619
1620
|
### BranchHistoryNode
|
|
1620
1621
|
|
|
1621
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1622
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/history.ts#L5)
|
|
1622
1623
|
|
|
1623
1624
|
```ts
|
|
1624
1625
|
export interface BranchHistoryNode {
|
|
@@ -1631,7 +1632,7 @@ export interface BranchHistoryNode {
|
|
|
1631
1632
|
|
|
1632
1633
|
### BranchHistoryState
|
|
1633
1634
|
|
|
1634
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1635
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/history.ts#L6)
|
|
1635
1636
|
|
|
1636
1637
|
```ts
|
|
1637
1638
|
export interface BranchHistoryState {
|
|
@@ -1647,7 +1648,7 @@ Referenced public types and APIs: [`BranchHistoryNode`](#branchhistorynode).
|
|
|
1647
1648
|
|
|
1648
1649
|
### createModelEditor
|
|
1649
1650
|
|
|
1650
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1651
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/model-editor.ts#L37)
|
|
1651
1652
|
|
|
1652
1653
|
```ts
|
|
1653
1654
|
export declare function createModelEditor(initial: ModelEditorState, options?: {
|
|
@@ -1663,7 +1664,7 @@ Related gallery: [model-picker](https://minifish-org.github.io/pith-ui/?item=mod
|
|
|
1663
1664
|
|
|
1664
1665
|
### ModelEditorBlock
|
|
1665
1666
|
|
|
1666
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1667
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/model-editor.ts#L30)
|
|
1667
1668
|
|
|
1668
1669
|
```ts
|
|
1669
1670
|
export interface ModelEditorBlock extends UIBlock<ModelEditorState> {
|
|
@@ -1677,7 +1678,7 @@ Referenced public types and APIs: [`ModelEditorState`](#modeleditorstate), [`Mod
|
|
|
1677
1678
|
|
|
1678
1679
|
### modelEditorMarkup
|
|
1679
1680
|
|
|
1680
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1681
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/model-editor.ts#L36)
|
|
1681
1682
|
|
|
1682
1683
|
```ts
|
|
1683
1684
|
export declare function modelEditorMarkup(prefix: string): string;
|
|
@@ -1685,7 +1686,7 @@ export declare function modelEditorMarkup(prefix: string): string;
|
|
|
1685
1686
|
|
|
1686
1687
|
### ModelEditorState
|
|
1687
1688
|
|
|
1688
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1689
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/model-editor.ts#L19)
|
|
1689
1690
|
|
|
1690
1691
|
```ts
|
|
1691
1692
|
export interface ModelEditorState {
|
|
@@ -1700,7 +1701,7 @@ Referenced public types and APIs: [`ModelOption`](#modeloption), [`ModelProvider
|
|
|
1700
1701
|
|
|
1701
1702
|
### ModelOption
|
|
1702
1703
|
|
|
1703
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1704
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/model-editor.ts#L10)
|
|
1704
1705
|
|
|
1705
1706
|
```ts
|
|
1706
1707
|
export interface ModelOption {
|
|
@@ -1716,7 +1717,7 @@ export interface ModelOption {
|
|
|
1716
1717
|
|
|
1717
1718
|
### ModelProviderOption
|
|
1718
1719
|
|
|
1719
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1720
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/model-editor.ts#L4)
|
|
1720
1721
|
|
|
1721
1722
|
```ts
|
|
1722
1723
|
export interface ModelProviderOption {
|
|
@@ -1729,7 +1730,7 @@ export interface ModelProviderOption {
|
|
|
1729
1730
|
|
|
1730
1731
|
### ModelSelection
|
|
1731
1732
|
|
|
1732
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1733
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/model-editor.ts#L25)
|
|
1733
1734
|
|
|
1734
1735
|
```ts
|
|
1735
1736
|
export interface ModelSelection {
|
|
@@ -1741,7 +1742,7 @@ export interface ModelSelection {
|
|
|
1741
1742
|
|
|
1742
1743
|
### thinkingLabel
|
|
1743
1744
|
|
|
1744
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1745
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/model-editor.ts#L35)
|
|
1745
1746
|
|
|
1746
1747
|
```ts
|
|
1747
1748
|
export declare function thinkingLabel(level: string): string;
|
|
@@ -1751,7 +1752,7 @@ export declare function thinkingLabel(level: string): string;
|
|
|
1751
1752
|
|
|
1752
1753
|
### createMCPConnectionList
|
|
1753
1754
|
|
|
1754
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1755
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L202)
|
|
1755
1756
|
|
|
1756
1757
|
```ts
|
|
1757
1758
|
export declare function createMCPConnectionList(initial: MCPConnectionListState, options?: MCPConnectionListOptions): UIBlock<MCPConnectionListState>;
|
|
@@ -1763,7 +1764,7 @@ Related gallery: [mcp-connections](https://minifish-org.github.io/pith-ui/?item=
|
|
|
1763
1764
|
|
|
1764
1765
|
### createMCPConnectionsPanel
|
|
1765
1766
|
|
|
1766
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1767
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L146)
|
|
1767
1768
|
|
|
1768
1769
|
```ts
|
|
1769
1770
|
export declare function createMCPConnectionsPanel(state?: MCPConnectionsState, options?: FormOptions & {
|
|
@@ -1777,7 +1778,7 @@ Related gallery: [mcp-connections](https://minifish-org.github.io/pith-ui/?item=
|
|
|
1777
1778
|
|
|
1778
1779
|
### createModelPicker
|
|
1779
1780
|
|
|
1780
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1781
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L182)
|
|
1781
1782
|
|
|
1782
1783
|
```ts
|
|
1783
1784
|
export declare function createModelPicker(state?: ModelPickerState, options?: FormOptions & {
|
|
@@ -1791,7 +1792,7 @@ Related gallery: [model-picker](https://minifish-org.github.io/pith-ui/?item=mod
|
|
|
1791
1792
|
|
|
1792
1793
|
### createSettingsPanel
|
|
1793
1794
|
|
|
1794
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1795
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L47)
|
|
1795
1796
|
|
|
1796
1797
|
```ts
|
|
1797
1798
|
export declare function createSettingsPanel(state: SettingsPanelState, options?: SettingsPanelOptions): SettingsPanel;
|
|
@@ -1803,7 +1804,7 @@ Related gallery: [settings-panel](https://minifish-org.github.io/pith-ui/?item=s
|
|
|
1803
1804
|
|
|
1804
1805
|
### FormDOMBlock
|
|
1805
1806
|
|
|
1806
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1807
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L11)
|
|
1807
1808
|
|
|
1808
1809
|
```ts
|
|
1809
1810
|
export interface FormDOMBlock<State extends FormFeedback> extends UIBlock<State> {
|
|
@@ -1816,7 +1817,7 @@ Referenced public types and APIs: [`FormFeedback`](#formfeedback), [`UIBlock`](#
|
|
|
1816
1817
|
|
|
1817
1818
|
### FormFeedback
|
|
1818
1819
|
|
|
1819
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1820
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L10)
|
|
1820
1821
|
|
|
1821
1822
|
```ts
|
|
1822
1823
|
export interface FormFeedback {
|
|
@@ -1827,7 +1828,7 @@ export interface FormFeedback {
|
|
|
1827
1828
|
|
|
1828
1829
|
### FormOptions
|
|
1829
1830
|
|
|
1830
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1831
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L41)
|
|
1831
1832
|
|
|
1832
1833
|
```ts
|
|
1833
1834
|
export interface FormOptions {
|
|
@@ -1837,7 +1838,7 @@ export interface FormOptions {
|
|
|
1837
1838
|
|
|
1838
1839
|
### MCPConnectionAction
|
|
1839
1840
|
|
|
1840
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1841
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L198)
|
|
1841
1842
|
|
|
1842
1843
|
```ts
|
|
1843
1844
|
export type MCPConnectionAction = 'mcp-login' | 'mcp-logout' | 'mcp-edit' | 'mcp-toggle' | 'mcp-remove';
|
|
@@ -1845,7 +1846,7 @@ export type MCPConnectionAction = 'mcp-login' | 'mcp-logout' | 'mcp-edit' | 'mcp
|
|
|
1845
1846
|
|
|
1846
1847
|
### MCPConnectionDraft
|
|
1847
1848
|
|
|
1848
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1849
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L143)
|
|
1849
1850
|
|
|
1850
1851
|
```ts
|
|
1851
1852
|
export interface MCPConnectionDraft {
|
|
@@ -1867,7 +1868,7 @@ export interface MCPConnectionDraft {
|
|
|
1867
1868
|
|
|
1868
1869
|
### MCPConnectionItem
|
|
1869
1870
|
|
|
1870
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1871
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L193)
|
|
1871
1872
|
|
|
1872
1873
|
```ts
|
|
1873
1874
|
export interface MCPConnectionItem {
|
|
@@ -1889,7 +1890,7 @@ export interface MCPConnectionItem {
|
|
|
1889
1890
|
|
|
1890
1891
|
### MCPConnectionListOptions
|
|
1891
1892
|
|
|
1892
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1893
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L200)
|
|
1893
1894
|
|
|
1894
1895
|
```ts
|
|
1895
1896
|
export interface MCPConnectionListOptions {
|
|
@@ -1901,7 +1902,7 @@ Referenced public types and APIs: [`MCPConnectionAction`](#mcpconnectionaction),
|
|
|
1901
1902
|
|
|
1902
1903
|
### MCPConnectionListState
|
|
1903
1904
|
|
|
1904
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1905
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L197)
|
|
1905
1906
|
|
|
1906
1907
|
```ts
|
|
1907
1908
|
export interface MCPConnectionListState extends FormFeedback {
|
|
@@ -1913,7 +1914,7 @@ Referenced public types and APIs: [`FormFeedback`](#formfeedback), [`MCPConnecti
|
|
|
1913
1914
|
|
|
1914
1915
|
### MCPConnectionsPanel
|
|
1915
1916
|
|
|
1916
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1917
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L145)
|
|
1917
1918
|
|
|
1918
1919
|
```ts
|
|
1919
1920
|
export interface MCPConnectionsPanel extends FormDOMBlock<MCPConnectionsState> {
|
|
@@ -1931,7 +1932,7 @@ Referenced public types and APIs: [`FormDOMBlock`](#formdomblock), [`MCPConnecti
|
|
|
1931
1932
|
|
|
1932
1933
|
### MCPConnectionsState
|
|
1933
1934
|
|
|
1934
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1935
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L144)
|
|
1935
1936
|
|
|
1936
1937
|
```ts
|
|
1937
1938
|
export interface MCPConnectionsState extends FormFeedback {
|
|
@@ -1943,7 +1944,7 @@ Referenced public types and APIs: [`FormFeedback`](#formfeedback).
|
|
|
1943
1944
|
|
|
1944
1945
|
### MCPConnectionTarget
|
|
1945
1946
|
|
|
1946
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1947
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L199)
|
|
1947
1948
|
|
|
1948
1949
|
```ts
|
|
1949
1950
|
export interface MCPConnectionTarget {
|
|
@@ -1953,7 +1954,7 @@ export interface MCPConnectionTarget {
|
|
|
1953
1954
|
|
|
1954
1955
|
### MCPEditorValue
|
|
1955
1956
|
|
|
1956
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1957
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L142)
|
|
1957
1958
|
|
|
1958
1959
|
```ts
|
|
1959
1960
|
export interface MCPEditorValue {
|
|
@@ -1973,7 +1974,7 @@ export interface MCPEditorValue {
|
|
|
1973
1974
|
|
|
1974
1975
|
### ModelPicker
|
|
1975
1976
|
|
|
1976
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1977
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L181)
|
|
1977
1978
|
|
|
1978
1979
|
```ts
|
|
1979
1980
|
export interface ModelPicker extends FormDOMBlock<ModelPickerState> {
|
|
@@ -1987,7 +1988,7 @@ Referenced public types and APIs: [`FormDOMBlock`](#formdomblock), [`ModelPicker
|
|
|
1987
1988
|
|
|
1988
1989
|
### ModelPickerState
|
|
1989
1990
|
|
|
1990
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
1991
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L180)
|
|
1991
1992
|
|
|
1992
1993
|
```ts
|
|
1993
1994
|
export interface ModelPickerState extends FormFeedback {
|
|
@@ -2000,7 +2001,7 @@ Referenced public types and APIs: [`FormFeedback`](#formfeedback), [`ModelEditor
|
|
|
2000
2001
|
|
|
2001
2002
|
### SettingsCredentialView
|
|
2002
2003
|
|
|
2003
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2004
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L44)
|
|
2004
2005
|
|
|
2005
2006
|
```ts
|
|
2006
2007
|
export interface SettingsCredentialView {
|
|
@@ -2016,7 +2017,7 @@ export interface SettingsCredentialView {
|
|
|
2016
2017
|
|
|
2017
2018
|
### SettingsDraft
|
|
2018
2019
|
|
|
2019
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2020
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L42)
|
|
2020
2021
|
|
|
2021
2022
|
```ts
|
|
2022
2023
|
export interface SettingsDraft {
|
|
@@ -2028,7 +2029,7 @@ export interface SettingsDraft {
|
|
|
2028
2029
|
|
|
2029
2030
|
### SettingsPanel
|
|
2030
2031
|
|
|
2031
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2032
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L45)
|
|
2032
2033
|
|
|
2033
2034
|
```ts
|
|
2034
2035
|
export interface SettingsPanel extends FormDOMBlock<SettingsPanelState> {
|
|
@@ -2050,7 +2051,7 @@ Referenced public types and APIs: [`FormDOMBlock`](#formdomblock), [`SettingsCre
|
|
|
2050
2051
|
|
|
2051
2052
|
### SettingsPanelOptions
|
|
2052
2053
|
|
|
2053
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2054
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L46)
|
|
2054
2055
|
|
|
2055
2056
|
```ts
|
|
2056
2057
|
export interface SettingsPanelOptions extends FormOptions {
|
|
@@ -2067,7 +2068,7 @@ Referenced public types and APIs: [`ActionResult`](#actionresult), [`FormOptions
|
|
|
2067
2068
|
|
|
2068
2069
|
### SettingsPanelState
|
|
2069
2070
|
|
|
2070
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2071
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L40)
|
|
2071
2072
|
|
|
2072
2073
|
```ts
|
|
2073
2074
|
export interface SettingsPanelState extends FormFeedback {
|
|
@@ -2091,7 +2092,7 @@ Referenced public types and APIs: [`FormFeedback`](#formfeedback).
|
|
|
2091
2092
|
|
|
2092
2093
|
### SettingsProviderOption
|
|
2093
2094
|
|
|
2094
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2095
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/panels.ts#L43)
|
|
2095
2096
|
|
|
2096
2097
|
```ts
|
|
2097
2098
|
export interface SettingsProviderOption {
|
|
@@ -2106,7 +2107,7 @@ export interface SettingsProviderOption {
|
|
|
2106
2107
|
|
|
2107
2108
|
### createProviderLoginPanel
|
|
2108
2109
|
|
|
2109
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2110
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/provider-login.ts#L8)
|
|
2110
2111
|
|
|
2111
2112
|
```ts
|
|
2112
2113
|
export declare function createProviderLoginPanel(initial: ProviderLoginState, options?: {
|
|
@@ -2123,7 +2124,7 @@ Related gallery: [provider-login](https://minifish-org.github.io/pith-ui/?item=p
|
|
|
2123
2124
|
|
|
2124
2125
|
### ProviderLoginState
|
|
2125
2126
|
|
|
2126
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2127
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/provider-login.ts#L7)
|
|
2127
2128
|
|
|
2128
2129
|
```ts
|
|
2129
2130
|
export interface ProviderLoginState {
|
|
@@ -2146,7 +2147,7 @@ export interface ProviderLoginState {
|
|
|
2146
2147
|
|
|
2147
2148
|
### createResourceEditor
|
|
2148
2149
|
|
|
2149
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2150
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/resource-editor.ts#L7)
|
|
2150
2151
|
|
|
2151
2152
|
```ts
|
|
2152
2153
|
export declare function createResourceEditor(state: ResourceEditorState, options?: {
|
|
@@ -2166,7 +2167,7 @@ Related gallery: [resource-editor](https://minifish-org.github.io/pith-ui/?item=
|
|
|
2166
2167
|
|
|
2167
2168
|
### ResourceDraft
|
|
2168
2169
|
|
|
2169
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2170
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/resource-editor.ts#L6)
|
|
2170
2171
|
|
|
2171
2172
|
```ts
|
|
2172
2173
|
export interface ResourceDraft {
|
|
@@ -2177,7 +2178,7 @@ export interface ResourceDraft {
|
|
|
2177
2178
|
|
|
2178
2179
|
### ResourceEditorState
|
|
2179
2180
|
|
|
2180
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2181
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/forms/resource-editor.ts#L5)
|
|
2181
2182
|
|
|
2182
2183
|
```ts
|
|
2183
2184
|
export interface ResourceEditorState {
|
|
@@ -2198,7 +2199,7 @@ export interface ResourceEditorState {
|
|
|
2198
2199
|
|
|
2199
2200
|
### createContextMenu
|
|
2200
2201
|
|
|
2201
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2202
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/navigation/context-menu.ts#L11)
|
|
2202
2203
|
|
|
2203
2204
|
```ts
|
|
2204
2205
|
export declare function createContextMenu(options?: {
|
|
@@ -2217,7 +2218,7 @@ Related gallery: [context-menu](https://minifish-org.github.io/pith-ui/?item=con
|
|
|
2217
2218
|
|
|
2218
2219
|
### ContextMenuItem
|
|
2219
2220
|
|
|
2220
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2221
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/navigation/context-menu.ts#L5)
|
|
2221
2222
|
|
|
2222
2223
|
```ts
|
|
2223
2224
|
export interface ContextMenuItem {
|
|
@@ -2236,7 +2237,7 @@ export interface ContextMenuItem {
|
|
|
2236
2237
|
|
|
2237
2238
|
### ContextMenuOpenOptions
|
|
2238
2239
|
|
|
2239
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2240
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/navigation/context-menu.ts#L10)
|
|
2240
2241
|
|
|
2241
2242
|
```ts
|
|
2242
2243
|
export interface ContextMenuOpenOptions {
|
|
@@ -2249,7 +2250,7 @@ export interface ContextMenuOpenOptions {
|
|
|
2249
2250
|
|
|
2250
2251
|
### ContextMenuState
|
|
2251
2252
|
|
|
2252
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2253
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/navigation/context-menu.ts#L9)
|
|
2253
2254
|
|
|
2254
2255
|
```ts
|
|
2255
2256
|
export interface ContextMenuState {
|
|
@@ -2264,7 +2265,7 @@ Referenced public types and APIs: [`ContextMenuItem`](#contextmenuitem).
|
|
|
2264
2265
|
|
|
2265
2266
|
### createRenameConversation
|
|
2266
2267
|
|
|
2267
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2268
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/navigation/navigation.ts#L101)
|
|
2268
2269
|
|
|
2269
2270
|
```ts
|
|
2270
2271
|
export declare function createRenameConversation(initial: RenameConversationState, options?: RenameConversationOptions): RenameConversationBlock;
|
|
@@ -2276,7 +2277,7 @@ Related gallery: [rename-conversation](https://minifish-org.github.io/pith-ui/?i
|
|
|
2276
2277
|
|
|
2277
2278
|
### createWorkspaceNavigation
|
|
2278
2279
|
|
|
2279
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2280
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/navigation/navigation.ts#L17)
|
|
2280
2281
|
|
|
2281
2282
|
```ts
|
|
2282
2283
|
export declare function createWorkspaceNavigation(initial: WorkspaceNavigationState, options?: {
|
|
@@ -2294,7 +2295,7 @@ Related gallery: [workspace-navigation](https://minifish-org.github.io/pith-ui/?
|
|
|
2294
2295
|
|
|
2295
2296
|
### createWorkspacePicker
|
|
2296
2297
|
|
|
2297
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2298
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/navigation/navigation.ts#L151)
|
|
2298
2299
|
|
|
2299
2300
|
```ts
|
|
2300
2301
|
export declare function createWorkspacePicker(initial: WorkspacePickerState, options?: WorkspacePickerOptions): WorkspacePickerBlock;
|
|
@@ -2306,7 +2307,7 @@ Related gallery: [workspace-picker](https://minifish-org.github.io/pith-ui/?item
|
|
|
2306
2307
|
|
|
2307
2308
|
### NavigationConversation
|
|
2308
2309
|
|
|
2309
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2310
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/navigation/navigation.ts#L8)
|
|
2310
2311
|
|
|
2311
2312
|
```ts
|
|
2312
2313
|
export interface NavigationConversation {
|
|
@@ -2320,7 +2321,7 @@ export interface NavigationConversation {
|
|
|
2320
2321
|
|
|
2321
2322
|
### NavigationWorkspace
|
|
2322
2323
|
|
|
2323
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2324
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/navigation/navigation.ts#L9)
|
|
2324
2325
|
|
|
2325
2326
|
```ts
|
|
2326
2327
|
export interface NavigationWorkspace {
|
|
@@ -2338,7 +2339,7 @@ Referenced public types and APIs: [`NavigationConversation`](#navigationconversa
|
|
|
2338
2339
|
|
|
2339
2340
|
### RenameConversationBlock
|
|
2340
2341
|
|
|
2341
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2342
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/navigation/navigation.ts#L92)
|
|
2342
2343
|
|
|
2343
2344
|
```ts
|
|
2344
2345
|
export interface RenameConversationBlock extends UIBlock<RenameConversationState> {
|
|
@@ -2356,7 +2357,7 @@ Referenced public types and APIs: [`RenameConversationDraft`](#renameconversatio
|
|
|
2356
2357
|
|
|
2357
2358
|
### RenameConversationDraft
|
|
2358
2359
|
|
|
2359
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2360
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/navigation/navigation.ts#L83)
|
|
2360
2361
|
|
|
2361
2362
|
```ts
|
|
2362
2363
|
export interface RenameConversationDraft {
|
|
@@ -2367,7 +2368,7 @@ export interface RenameConversationDraft {
|
|
|
2367
2368
|
|
|
2368
2369
|
### RenameConversationOptions
|
|
2369
2370
|
|
|
2370
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2371
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/navigation/navigation.ts#L84)
|
|
2371
2372
|
|
|
2372
2373
|
```ts
|
|
2373
2374
|
export interface RenameConversationOptions {
|
|
@@ -2384,7 +2385,7 @@ Referenced public types and APIs: [`ActionResult`](#actionresult), [`RenameConve
|
|
|
2384
2385
|
|
|
2385
2386
|
### RenameConversationState
|
|
2386
2387
|
|
|
2387
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2388
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/navigation/navigation.ts#L82)
|
|
2388
2389
|
|
|
2389
2390
|
```ts
|
|
2390
2391
|
export interface RenameConversationState {
|
|
@@ -2397,7 +2398,7 @@ export interface RenameConversationState {
|
|
|
2397
2398
|
|
|
2398
2399
|
### WorkspaceNavigationAction
|
|
2399
2400
|
|
|
2400
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2401
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/navigation/navigation.ts#L11)
|
|
2401
2402
|
|
|
2402
2403
|
```ts
|
|
2403
2404
|
export type WorkspaceNavigationAction = {
|
|
@@ -2416,7 +2417,7 @@ export type WorkspaceNavigationAction = {
|
|
|
2416
2417
|
|
|
2417
2418
|
### WorkspaceNavigationState
|
|
2418
2419
|
|
|
2419
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2420
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/navigation/navigation.ts#L10)
|
|
2420
2421
|
|
|
2421
2422
|
```ts
|
|
2422
2423
|
export interface WorkspaceNavigationState {
|
|
@@ -2430,7 +2431,7 @@ Referenced public types and APIs: [`NavigationWorkspace`](#navigationworkspace).
|
|
|
2430
2431
|
|
|
2431
2432
|
### WorkspacePickerBlock
|
|
2432
2433
|
|
|
2433
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2434
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/navigation/navigation.ts#L141)
|
|
2434
2435
|
|
|
2435
2436
|
```ts
|
|
2436
2437
|
export interface WorkspacePickerBlock extends UIBlock<WorkspacePickerState> {
|
|
@@ -2451,7 +2452,7 @@ Referenced public types and APIs: [`UIBlock`](#uiblock), [`WorkspacePickerState`
|
|
|
2451
2452
|
|
|
2452
2453
|
### WorkspacePickerOptions
|
|
2453
2454
|
|
|
2454
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2455
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/navigation/navigation.ts#L131)
|
|
2455
2456
|
|
|
2456
2457
|
```ts
|
|
2457
2458
|
export interface WorkspacePickerOptions {
|
|
@@ -2473,7 +2474,7 @@ Referenced public types and APIs: [`ActionResult`](#actionresult).
|
|
|
2473
2474
|
|
|
2474
2475
|
### WorkspacePickerState
|
|
2475
2476
|
|
|
2476
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2477
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/navigation/navigation.ts#L130)
|
|
2477
2478
|
|
|
2478
2479
|
```ts
|
|
2479
2480
|
export interface WorkspacePickerState {
|
|
@@ -2491,7 +2492,7 @@ export interface WorkspacePickerState {
|
|
|
2491
2492
|
|
|
2492
2493
|
### createActions
|
|
2493
2494
|
|
|
2494
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2495
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L319)
|
|
2495
2496
|
|
|
2496
2497
|
```ts
|
|
2497
2498
|
export declare function createActions(options?: ActionsState & {
|
|
@@ -2505,7 +2506,7 @@ Related gallery: [actions](https://minifish-org.github.io/pith-ui/?item=actions)
|
|
|
2505
2506
|
|
|
2506
2507
|
### createButton
|
|
2507
2508
|
|
|
2508
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2509
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L27)
|
|
2509
2510
|
|
|
2510
2511
|
```ts
|
|
2511
2512
|
export declare function createButton(options: ButtonOptions): ButtonBlock;
|
|
@@ -2517,7 +2518,7 @@ Related gallery: [actions](https://minifish-org.github.io/pith-ui/?item=actions)
|
|
|
2517
2518
|
|
|
2518
2519
|
### createCheckbox
|
|
2519
2520
|
|
|
2520
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2521
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L272)
|
|
2521
2522
|
|
|
2522
2523
|
```ts
|
|
2523
2524
|
export declare function createCheckbox(options: CheckboxState & {
|
|
@@ -2532,7 +2533,7 @@ Related gallery: [checkbox](https://minifish-org.github.io/pith-ui/?item=checkbo
|
|
|
2532
2533
|
|
|
2533
2534
|
### createCollectionState
|
|
2534
2535
|
|
|
2535
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2536
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L356)
|
|
2536
2537
|
|
|
2537
2538
|
```ts
|
|
2538
2539
|
export declare function createCollectionState(options: CollectionState & {
|
|
@@ -2547,7 +2548,7 @@ Related gallery: [collection-state](https://minifish-org.github.io/pith-ui/?item
|
|
|
2547
2548
|
|
|
2548
2549
|
### createConfirmDialog
|
|
2549
2550
|
|
|
2550
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2551
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L472)
|
|
2551
2552
|
|
|
2552
2553
|
```ts
|
|
2553
2554
|
export declare function createConfirmDialog(options: ConfirmState & {
|
|
@@ -2570,7 +2571,7 @@ Related gallery: [confirmation](https://minifish-org.github.io/pith-ui/?item=con
|
|
|
2570
2571
|
|
|
2571
2572
|
### createDialog
|
|
2572
2573
|
|
|
2573
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2574
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L378)
|
|
2574
2575
|
|
|
2575
2576
|
```ts
|
|
2576
2577
|
export declare function createDialog(options: DialogOptions): DialogBlock;
|
|
@@ -2582,7 +2583,7 @@ Related gallery: [dialog](https://minifish-org.github.io/pith-ui/?item=dialog).
|
|
|
2582
2583
|
|
|
2583
2584
|
### createDisclosure
|
|
2584
2585
|
|
|
2585
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2586
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L327)
|
|
2586
2587
|
|
|
2587
2588
|
```ts
|
|
2588
2589
|
export declare function createDisclosure(options: DisclosureState & {
|
|
@@ -2598,7 +2599,7 @@ Related gallery: [disclosure](https://minifish-org.github.io/pith-ui/?item=discl
|
|
|
2598
2599
|
|
|
2599
2600
|
### createDivider
|
|
2600
2601
|
|
|
2601
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2602
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L75)
|
|
2602
2603
|
|
|
2603
2604
|
```ts
|
|
2604
2605
|
export declare function createDivider(state?: {
|
|
@@ -2614,7 +2615,7 @@ Related gallery: [divider](https://minifish-org.github.io/pith-ui/?item=divider)
|
|
|
2614
2615
|
|
|
2615
2616
|
### createField
|
|
2616
2617
|
|
|
2617
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2618
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L119)
|
|
2618
2619
|
|
|
2619
2620
|
```ts
|
|
2620
2621
|
export declare function createField(options: FieldState & {
|
|
@@ -2628,7 +2629,7 @@ Related gallery: [number-input](https://minifish-org.github.io/pith-ui/?item=num
|
|
|
2628
2629
|
|
|
2629
2630
|
### createFormSection
|
|
2630
2631
|
|
|
2631
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2632
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L311)
|
|
2632
2633
|
|
|
2633
2634
|
```ts
|
|
2634
2635
|
export declare function createFormSection(options: FormSectionState & {
|
|
@@ -2642,7 +2643,7 @@ Related gallery: [form-section](https://minifish-org.github.io/pith-ui/?item=for
|
|
|
2642
2643
|
|
|
2643
2644
|
### createIcon
|
|
2644
2645
|
|
|
2645
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2646
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L64)
|
|
2646
2647
|
|
|
2647
2648
|
```ts
|
|
2648
2649
|
export declare function createIcon(state: IconState): UIBlock<IconState>;
|
|
@@ -2654,7 +2655,7 @@ Related gallery: [foundation-sizing](https://minifish-org.github.io/pith-ui/?ite
|
|
|
2654
2655
|
|
|
2655
2656
|
### createIconButton
|
|
2656
2657
|
|
|
2657
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2658
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L42)
|
|
2658
2659
|
|
|
2659
2660
|
```ts
|
|
2660
2661
|
export declare function createIconButton(options: ButtonOptions & {
|
|
@@ -2668,7 +2669,7 @@ Related gallery: [icon-button](https://minifish-org.github.io/pith-ui/?item=icon
|
|
|
2668
2669
|
|
|
2669
2670
|
### createKeyValue
|
|
2670
2671
|
|
|
2671
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2672
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L82)
|
|
2672
2673
|
|
|
2673
2674
|
```ts
|
|
2674
2675
|
export declare function createKeyValue(options: KeyValueState): UIBlock<KeyValueState>;
|
|
@@ -2680,7 +2681,7 @@ Related gallery: [foundation-motion](https://minifish-org.github.io/pith-ui/?ite
|
|
|
2680
2681
|
|
|
2681
2682
|
### createListRow
|
|
2682
2683
|
|
|
2683
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2684
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L341)
|
|
2684
2685
|
|
|
2685
2686
|
```ts
|
|
2686
2687
|
export declare function createListRow(options: ListRowState & {
|
|
@@ -2694,7 +2695,7 @@ Related gallery: [collection-state](https://minifish-org.github.io/pith-ui/?item
|
|
|
2694
2695
|
|
|
2695
2696
|
### createMenu
|
|
2696
2697
|
|
|
2697
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2698
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L531)
|
|
2698
2699
|
|
|
2699
2700
|
```ts
|
|
2700
2701
|
export declare function createMenu(options: MenuOptions): PopoverBlock & UIBlock<MenuState>;
|
|
@@ -2706,7 +2707,7 @@ Related gallery: [foundation-focus](https://minifish-org.github.io/pith-ui/?item
|
|
|
2706
2707
|
|
|
2707
2708
|
### createNotice
|
|
2708
2709
|
|
|
2709
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2710
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L287)
|
|
2710
2711
|
|
|
2711
2712
|
```ts
|
|
2712
2713
|
export declare function createNotice(state: NoticeState): UIBlock<NoticeState>;
|
|
@@ -2718,7 +2719,7 @@ Related gallery: [notice](https://minifish-org.github.io/pith-ui/?item=notice).
|
|
|
2718
2719
|
|
|
2719
2720
|
### createNumberInput
|
|
2720
2721
|
|
|
2721
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2722
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L185)
|
|
2722
2723
|
|
|
2723
2724
|
```ts
|
|
2724
2725
|
export declare const createNumberInput: (options: InputOptions) => InputBlock;
|
|
@@ -2730,7 +2731,7 @@ Related gallery: [number-input](https://minifish-org.github.io/pith-ui/?item=num
|
|
|
2730
2731
|
|
|
2731
2732
|
### createPopover
|
|
2732
2733
|
|
|
2733
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2734
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L514)
|
|
2734
2735
|
|
|
2735
2736
|
```ts
|
|
2736
2737
|
export declare function createPopover(options: PopoverState & {
|
|
@@ -2745,7 +2746,7 @@ Related gallery: [popover](https://minifish-org.github.io/pith-ui/?item=popover)
|
|
|
2745
2746
|
|
|
2746
2747
|
### createProgress
|
|
2747
2748
|
|
|
2748
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2749
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L300)
|
|
2749
2750
|
|
|
2750
2751
|
```ts
|
|
2751
2752
|
export declare function createProgress(state: ProgressState): UIBlock<ProgressState>;
|
|
@@ -2757,7 +2758,7 @@ Related gallery: [progress](https://minifish-org.github.io/pith-ui/?item=progres
|
|
|
2757
2758
|
|
|
2758
2759
|
### createScrollArea
|
|
2759
2760
|
|
|
2760
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2761
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L102)
|
|
2761
2762
|
|
|
2762
2763
|
```ts
|
|
2763
2764
|
export declare function createScrollArea(options: ScrollAreaState & {
|
|
@@ -2771,7 +2772,7 @@ Related gallery: [scroll-area](https://minifish-org.github.io/pith-ui/?item=scro
|
|
|
2771
2772
|
|
|
2772
2773
|
### createSearchInput
|
|
2773
2774
|
|
|
2774
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2775
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L184)
|
|
2775
2776
|
|
|
2776
2777
|
```ts
|
|
2777
2778
|
export declare const createSearchInput: (options: InputOptions) => InputBlock;
|
|
@@ -2783,7 +2784,7 @@ Related gallery: [search-input](https://minifish-org.github.io/pith-ui/?item=sea
|
|
|
2783
2784
|
|
|
2784
2785
|
### createSecretInput
|
|
2785
2786
|
|
|
2786
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2787
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L188)
|
|
2787
2788
|
|
|
2788
2789
|
```ts
|
|
2789
2790
|
export declare function createSecretInput(options: InputOptions): InputBlock;
|
|
@@ -2795,7 +2796,7 @@ Related gallery: [secret-input](https://minifish-org.github.io/pith-ui/?item=sec
|
|
|
2795
2796
|
|
|
2796
2797
|
### createSelect
|
|
2797
2798
|
|
|
2798
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2799
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L226)
|
|
2799
2800
|
|
|
2800
2801
|
```ts
|
|
2801
2802
|
export declare function createSelect(options: SelectOptions): SelectBlock;
|
|
@@ -2807,7 +2808,7 @@ Related gallery: [foundation-focus](https://minifish-org.github.io/pith-ui/?item
|
|
|
2807
2808
|
|
|
2808
2809
|
### createStatus
|
|
2809
2810
|
|
|
2810
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2811
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L293)
|
|
2811
2812
|
|
|
2812
2813
|
```ts
|
|
2813
2814
|
export declare function createStatus(state: StatusState): UIBlock<StatusState>;
|
|
@@ -2819,7 +2820,7 @@ Related gallery: [status](https://minifish-org.github.io/pith-ui/?item=status).
|
|
|
2819
2820
|
|
|
2820
2821
|
### createTextAction
|
|
2821
2822
|
|
|
2822
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2823
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L55)
|
|
2823
2824
|
|
|
2824
2825
|
```ts
|
|
2825
2826
|
export declare function createTextAction(options: ButtonOptions): ButtonBlock;
|
|
@@ -2831,7 +2832,7 @@ Related gallery: [text-action](https://minifish-org.github.io/pith-ui/?item=text
|
|
|
2831
2832
|
|
|
2832
2833
|
### createTextArea
|
|
2833
2834
|
|
|
2834
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2835
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L186)
|
|
2835
2836
|
|
|
2836
2837
|
```ts
|
|
2837
2838
|
export declare const createTextArea: (options: InputOptions) => InputBlock;
|
|
@@ -2843,7 +2844,7 @@ Related gallery: [foundation-typography](https://minifish-org.github.io/pith-ui/
|
|
|
2843
2844
|
|
|
2844
2845
|
### createTextEditDialog
|
|
2845
2846
|
|
|
2846
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2847
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L420)
|
|
2847
2848
|
|
|
2848
2849
|
```ts
|
|
2849
2850
|
export declare function createTextEditDialog(options?: TextEditOptions): TextEditBlock;
|
|
@@ -2855,7 +2856,7 @@ Related gallery: [pending-messages](https://minifish-org.github.io/pith-ui/?item
|
|
|
2855
2856
|
|
|
2856
2857
|
### createTextInput
|
|
2857
2858
|
|
|
2858
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2859
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L183)
|
|
2859
2860
|
|
|
2860
2861
|
```ts
|
|
2861
2862
|
export declare const createTextInput: (options: InputOptions) => InputBlock;
|
|
@@ -2867,7 +2868,7 @@ Related gallery: [form-section](https://minifish-org.github.io/pith-ui/?item=for
|
|
|
2867
2868
|
|
|
2868
2869
|
### createToolbar
|
|
2869
2870
|
|
|
2870
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2871
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L94)
|
|
2871
2872
|
|
|
2872
2873
|
```ts
|
|
2873
2874
|
export declare function createToolbar(options: ToolbarState & {
|
|
@@ -2881,7 +2882,7 @@ Related gallery: [button](https://minifish-org.github.io/pith-ui/?item=button),
|
|
|
2881
2882
|
|
|
2882
2883
|
### ActionsState
|
|
2883
2884
|
|
|
2884
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2885
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L318)
|
|
2885
2886
|
|
|
2886
2887
|
```ts
|
|
2887
2888
|
export interface ActionsState {
|
|
@@ -2891,7 +2892,7 @@ export interface ActionsState {
|
|
|
2891
2892
|
|
|
2892
2893
|
### ButtonBlock
|
|
2893
2894
|
|
|
2894
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2895
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L25)
|
|
2895
2896
|
|
|
2896
2897
|
```ts
|
|
2897
2898
|
export interface ButtonBlock extends UIBlock<ButtonState> {
|
|
@@ -2903,7 +2904,7 @@ Referenced public types and APIs: [`ButtonState`](#buttonstate), [`UIBlock`](#ui
|
|
|
2903
2904
|
|
|
2904
2905
|
### ButtonOptions
|
|
2905
2906
|
|
|
2906
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2907
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L20)
|
|
2907
2908
|
|
|
2908
2909
|
```ts
|
|
2909
2910
|
export interface ButtonOptions extends ButtonState {
|
|
@@ -2917,7 +2918,7 @@ Referenced public types and APIs: [`ButtonState`](#buttonstate), [`UIAction`](#u
|
|
|
2917
2918
|
|
|
2918
2919
|
### ButtonState
|
|
2919
2920
|
|
|
2920
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2921
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L9)
|
|
2921
2922
|
|
|
2922
2923
|
```ts
|
|
2923
2924
|
export interface ButtonState {
|
|
@@ -2937,7 +2938,7 @@ Referenced public types and APIs: [`Density`](#density), [`Intent`](#intent).
|
|
|
2937
2938
|
|
|
2938
2939
|
### CheckboxBlock
|
|
2939
2940
|
|
|
2940
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2941
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L266)
|
|
2941
2942
|
|
|
2942
2943
|
```ts
|
|
2943
2944
|
export interface CheckboxBlock extends UIBlock<CheckboxState> {
|
|
@@ -2952,7 +2953,7 @@ Referenced public types and APIs: [`CheckboxState`](#checkboxstate), [`UIBlock`]
|
|
|
2952
2953
|
|
|
2953
2954
|
### CheckboxState
|
|
2954
2955
|
|
|
2955
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2956
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L265)
|
|
2956
2957
|
|
|
2957
2958
|
```ts
|
|
2958
2959
|
export interface CheckboxState {
|
|
@@ -2964,7 +2965,7 @@ export interface CheckboxState {
|
|
|
2964
2965
|
|
|
2965
2966
|
### CollectionState
|
|
2966
2967
|
|
|
2967
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2968
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L355)
|
|
2968
2969
|
|
|
2969
2970
|
```ts
|
|
2970
2971
|
export interface CollectionState {
|
|
@@ -2976,7 +2977,7 @@ export interface CollectionState {
|
|
|
2976
2977
|
|
|
2977
2978
|
### ConfirmBlock
|
|
2978
2979
|
|
|
2979
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2980
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L471)
|
|
2980
2981
|
|
|
2981
2982
|
```ts
|
|
2982
2983
|
export interface ConfirmBlock extends UIBlock<ConfirmState> {
|
|
@@ -2993,7 +2994,7 @@ Referenced public types and APIs: [`ConfirmState`](#confirmstate), [`UIBlock`](#
|
|
|
2993
2994
|
|
|
2994
2995
|
### ConfirmState
|
|
2995
2996
|
|
|
2996
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
2997
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L470)
|
|
2997
2998
|
|
|
2998
2999
|
```ts
|
|
2999
3000
|
export interface ConfirmState extends DialogState {
|
|
@@ -3010,7 +3011,7 @@ Referenced public types and APIs: [`DialogState`](#dialogstate).
|
|
|
3010
3011
|
|
|
3011
3012
|
### DialogBlock
|
|
3012
3013
|
|
|
3013
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3014
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L372)
|
|
3014
3015
|
|
|
3015
3016
|
```ts
|
|
3016
3017
|
export interface DialogBlock extends UIBlock<DialogState> {
|
|
@@ -3025,7 +3026,7 @@ Referenced public types and APIs: [`DialogState`](#dialogstate), [`UIBlock`](#ui
|
|
|
3025
3026
|
|
|
3026
3027
|
### DialogOptions
|
|
3027
3028
|
|
|
3028
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3029
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L371)
|
|
3029
3030
|
|
|
3030
3031
|
```ts
|
|
3031
3032
|
export interface DialogOptions extends DialogState {
|
|
@@ -3041,7 +3042,7 @@ Referenced public types and APIs: [`DialogState`](#dialogstate).
|
|
|
3041
3042
|
|
|
3042
3043
|
### DialogState
|
|
3043
3044
|
|
|
3044
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3045
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L370)
|
|
3045
3046
|
|
|
3046
3047
|
```ts
|
|
3047
3048
|
export interface DialogState {
|
|
@@ -3054,7 +3055,7 @@ export interface DialogState {
|
|
|
3054
3055
|
|
|
3055
3056
|
### DisclosureBlock
|
|
3056
3057
|
|
|
3057
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3058
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L326)
|
|
3058
3059
|
|
|
3059
3060
|
```ts
|
|
3060
3061
|
export interface DisclosureBlock extends UIBlock<DisclosureState> {
|
|
@@ -3067,7 +3068,7 @@ Referenced public types and APIs: [`DisclosureState`](#disclosurestate), [`UIBlo
|
|
|
3067
3068
|
|
|
3068
3069
|
### DisclosureState
|
|
3069
3070
|
|
|
3070
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3071
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L325)
|
|
3071
3072
|
|
|
3072
3073
|
```ts
|
|
3073
3074
|
export interface DisclosureState {
|
|
@@ -3079,7 +3080,7 @@ export interface DisclosureState {
|
|
|
3079
3080
|
|
|
3080
3081
|
### FieldBlock
|
|
3081
3082
|
|
|
3082
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3083
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L115)
|
|
3083
3084
|
|
|
3084
3085
|
```ts
|
|
3085
3086
|
export interface FieldBlock extends UIBlock<FieldState> {
|
|
@@ -3091,7 +3092,7 @@ Referenced public types and APIs: [`FieldState`](#fieldstate), [`UIBlock`](#uibl
|
|
|
3091
3092
|
|
|
3092
3093
|
### FieldState
|
|
3093
3094
|
|
|
3094
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3095
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L108)
|
|
3095
3096
|
|
|
3096
3097
|
```ts
|
|
3097
3098
|
export interface FieldState {
|
|
@@ -3105,7 +3106,7 @@ export interface FieldState {
|
|
|
3105
3106
|
|
|
3106
3107
|
### FormSectionState
|
|
3107
3108
|
|
|
3108
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3109
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L310)
|
|
3109
3110
|
|
|
3110
3111
|
```ts
|
|
3111
3112
|
export interface FormSectionState {
|
|
@@ -3116,7 +3117,7 @@ export interface FormSectionState {
|
|
|
3116
3117
|
|
|
3117
3118
|
### IconState
|
|
3118
3119
|
|
|
3119
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3120
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L63)
|
|
3120
3121
|
|
|
3121
3122
|
```ts
|
|
3122
3123
|
export interface IconState {
|
|
@@ -3128,7 +3129,7 @@ export interface IconState {
|
|
|
3128
3129
|
|
|
3129
3130
|
### InputBlock
|
|
3130
3131
|
|
|
3131
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3132
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L154)
|
|
3132
3133
|
|
|
3133
3134
|
```ts
|
|
3134
3135
|
export interface InputBlock extends UIBlock<InputState> {
|
|
@@ -3143,7 +3144,7 @@ Referenced public types and APIs: [`InputState`](#inputstate), [`UIBlock`](#uibl
|
|
|
3143
3144
|
|
|
3144
3145
|
### InputOptions
|
|
3145
3146
|
|
|
3146
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3147
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L145)
|
|
3147
3148
|
|
|
3148
3149
|
```ts
|
|
3149
3150
|
export interface InputOptions extends InputState {
|
|
@@ -3161,7 +3162,7 @@ Referenced public types and APIs: [`InputState`](#inputstate).
|
|
|
3161
3162
|
|
|
3162
3163
|
### InputState
|
|
3163
3164
|
|
|
3164
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3165
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L140)
|
|
3165
3166
|
|
|
3166
3167
|
```ts
|
|
3167
3168
|
export interface InputState extends FieldState {
|
|
@@ -3175,7 +3176,7 @@ Referenced public types and APIs: [`Density`](#density), [`FieldState`](#fieldst
|
|
|
3175
3176
|
|
|
3176
3177
|
### KeyValueState
|
|
3177
3178
|
|
|
3178
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3179
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L81)
|
|
3179
3180
|
|
|
3180
3181
|
```ts
|
|
3181
3182
|
export interface KeyValueState {
|
|
@@ -3189,7 +3190,7 @@ export interface KeyValueState {
|
|
|
3189
3190
|
|
|
3190
3191
|
### ListRowState
|
|
3191
3192
|
|
|
3192
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3193
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L340)
|
|
3193
3194
|
|
|
3194
3195
|
```ts
|
|
3195
3196
|
export interface ListRowState {
|
|
@@ -3203,7 +3204,7 @@ export interface ListRowState {
|
|
|
3203
3204
|
|
|
3204
3205
|
### MenuItem
|
|
3205
3206
|
|
|
3206
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3207
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L528)
|
|
3207
3208
|
|
|
3208
3209
|
```ts
|
|
3209
3210
|
export interface MenuItem {
|
|
@@ -3220,7 +3221,7 @@ Referenced public types and APIs: [`Intent`](#intent), [`UIAction`](#uiaction).
|
|
|
3220
3221
|
|
|
3221
3222
|
### MenuOptions
|
|
3222
3223
|
|
|
3223
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3224
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L530)
|
|
3224
3225
|
|
|
3225
3226
|
```ts
|
|
3226
3227
|
export interface MenuOptions extends MenuState {
|
|
@@ -3232,7 +3233,7 @@ Referenced public types and APIs: [`MenuState`](#menustate).
|
|
|
3232
3233
|
|
|
3233
3234
|
### MenuState
|
|
3234
3235
|
|
|
3235
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3236
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L529)
|
|
3236
3237
|
|
|
3237
3238
|
```ts
|
|
3238
3239
|
export interface MenuState extends PopoverState {
|
|
@@ -3244,7 +3245,7 @@ Referenced public types and APIs: [`MenuItem`](#menuitem), [`PopoverState`](#pop
|
|
|
3244
3245
|
|
|
3245
3246
|
### NoticeState
|
|
3246
3247
|
|
|
3247
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3248
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L286)
|
|
3248
3249
|
|
|
3249
3250
|
```ts
|
|
3250
3251
|
export interface NoticeState {
|
|
@@ -3255,7 +3256,7 @@ export interface NoticeState {
|
|
|
3255
3256
|
|
|
3256
3257
|
### PopoverBlock
|
|
3257
3258
|
|
|
3258
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3259
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L507)
|
|
3259
3260
|
|
|
3260
3261
|
```ts
|
|
3261
3262
|
export interface PopoverBlock extends UIBlock<PopoverState> {
|
|
@@ -3271,7 +3272,7 @@ Referenced public types and APIs: [`PopoverState`](#popoverstate), [`UIBlock`](#
|
|
|
3271
3272
|
|
|
3272
3273
|
### PopoverState
|
|
3273
3274
|
|
|
3274
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3275
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L506)
|
|
3275
3276
|
|
|
3276
3277
|
```ts
|
|
3277
3278
|
export interface PopoverState {
|
|
@@ -3282,7 +3283,7 @@ export interface PopoverState {
|
|
|
3282
3283
|
|
|
3283
3284
|
### ProgressState
|
|
3284
3285
|
|
|
3285
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3286
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L299)
|
|
3286
3287
|
|
|
3287
3288
|
```ts
|
|
3288
3289
|
export interface ProgressState {
|
|
@@ -3294,7 +3295,7 @@ export interface ProgressState {
|
|
|
3294
3295
|
|
|
3295
3296
|
### ScrollAreaState
|
|
3296
3297
|
|
|
3297
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3298
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L101)
|
|
3298
3299
|
|
|
3299
3300
|
```ts
|
|
3300
3301
|
export interface ScrollAreaState {
|
|
@@ -3305,7 +3306,7 @@ export interface ScrollAreaState {
|
|
|
3305
3306
|
|
|
3306
3307
|
### SelectBlock
|
|
3307
3308
|
|
|
3308
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3309
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L218)
|
|
3309
3310
|
|
|
3310
3311
|
```ts
|
|
3311
3312
|
export interface SelectBlock extends UIBlock<SelectState> {
|
|
@@ -3322,7 +3323,7 @@ Referenced public types and APIs: [`SelectState`](#selectstate), [`UIBlock`](#ui
|
|
|
3322
3323
|
|
|
3323
3324
|
### SelectOption
|
|
3324
3325
|
|
|
3325
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3326
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L208)
|
|
3326
3327
|
|
|
3327
3328
|
```ts
|
|
3328
3329
|
export interface SelectOption {
|
|
@@ -3334,7 +3335,7 @@ export interface SelectOption {
|
|
|
3334
3335
|
|
|
3335
3336
|
### SelectOptions
|
|
3336
3337
|
|
|
3337
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3338
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L210)
|
|
3338
3339
|
|
|
3339
3340
|
```ts
|
|
3340
3341
|
export interface SelectOptions extends SelectState {
|
|
@@ -3351,7 +3352,7 @@ Referenced public types and APIs: [`SelectState`](#selectstate).
|
|
|
3351
3352
|
|
|
3352
3353
|
### SelectState
|
|
3353
3354
|
|
|
3354
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3355
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L209)
|
|
3355
3356
|
|
|
3356
3357
|
```ts
|
|
3357
3358
|
export interface SelectState extends FieldState {
|
|
@@ -3364,7 +3365,7 @@ Referenced public types and APIs: [`Density`](#density), [`FieldState`](#fieldst
|
|
|
3364
3365
|
|
|
3365
3366
|
### StatusState
|
|
3366
3367
|
|
|
3367
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3368
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L292)
|
|
3368
3369
|
|
|
3369
3370
|
```ts
|
|
3370
3371
|
export interface StatusState {
|
|
@@ -3375,7 +3376,7 @@ export interface StatusState {
|
|
|
3375
3376
|
|
|
3376
3377
|
### TextEditBlock
|
|
3377
3378
|
|
|
3378
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3379
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L411)
|
|
3379
3380
|
|
|
3380
3381
|
```ts
|
|
3381
3382
|
export interface TextEditBlock extends Omit<UIBlock<TextEditState>, 'element'> {
|
|
@@ -3393,7 +3394,7 @@ Referenced public types and APIs: [`TextEditInput`](#texteditinput), [`TextEditS
|
|
|
3393
3394
|
|
|
3394
3395
|
### TextEditInput
|
|
3395
3396
|
|
|
3396
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3397
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L402)
|
|
3397
3398
|
|
|
3398
3399
|
```ts
|
|
3399
3400
|
export interface TextEditInput {
|
|
@@ -3406,7 +3407,7 @@ export interface TextEditInput {
|
|
|
3406
3407
|
|
|
3407
3408
|
### TextEditOptions
|
|
3408
3409
|
|
|
3409
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3410
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L403)
|
|
3410
3411
|
|
|
3411
3412
|
```ts
|
|
3412
3413
|
export interface TextEditOptions extends Partial<TextEditState> {
|
|
@@ -3430,7 +3431,7 @@ Referenced public types and APIs: [`ActionResult`](#actionresult), [`TextEditSta
|
|
|
3430
3431
|
|
|
3431
3432
|
### TextEditState
|
|
3432
3433
|
|
|
3433
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3434
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L401)
|
|
3434
3435
|
|
|
3435
3436
|
```ts
|
|
3436
3437
|
export interface TextEditState extends DialogState {
|
|
@@ -3447,7 +3448,7 @@ Referenced public types and APIs: [`DialogState`](#dialogstate).
|
|
|
3447
3448
|
|
|
3448
3449
|
### ToolbarState
|
|
3449
3450
|
|
|
3450
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3451
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/primitives.ts#L93)
|
|
3451
3452
|
|
|
3452
3453
|
```ts
|
|
3453
3454
|
export interface ToolbarState {
|
|
@@ -3462,7 +3463,7 @@ Referenced public types and APIs: [`Density`](#density).
|
|
|
3462
3463
|
|
|
3463
3464
|
### createApprovalPanel
|
|
3464
3465
|
|
|
3465
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3466
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/tasks/approval.ts#L8)
|
|
3466
3467
|
|
|
3467
3468
|
```ts
|
|
3468
3469
|
export declare function createApprovalPanel(initial: ApprovalPanelState, options?: {
|
|
@@ -3478,7 +3479,7 @@ Related gallery: [approval-panel](https://minifish-org.github.io/pith-ui/?item=a
|
|
|
3478
3479
|
|
|
3479
3480
|
### ApprovalPanelState
|
|
3480
3481
|
|
|
3481
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3482
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/tasks/approval.ts#L7)
|
|
3482
3483
|
|
|
3483
3484
|
```ts
|
|
3484
3485
|
export interface ApprovalPanelState {
|
|
@@ -3491,7 +3492,7 @@ Referenced public types and APIs: [`ApprovalView`](#approvalview).
|
|
|
3491
3492
|
|
|
3492
3493
|
### ApprovalView
|
|
3493
3494
|
|
|
3494
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3495
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/tasks/approval.ts#L6)
|
|
3495
3496
|
|
|
3496
3497
|
```ts
|
|
3497
3498
|
export interface ApprovalView {
|
|
@@ -3514,7 +3515,7 @@ export interface ApprovalView {
|
|
|
3514
3515
|
|
|
3515
3516
|
### createFullAccessConfirmation
|
|
3516
3517
|
|
|
3517
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3518
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/tasks/permission.ts#L9)
|
|
3518
3519
|
|
|
3519
3520
|
```ts
|
|
3520
3521
|
export declare function createFullAccessConfirmation(initial: FullAccessState, options?: FullAccessOptions): UIBlock<FullAccessState> & {
|
|
@@ -3528,7 +3529,7 @@ Related gallery: [full-access-confirmation](https://minifish-org.github.io/pith-
|
|
|
3528
3529
|
|
|
3529
3530
|
### createPermissionControl
|
|
3530
3531
|
|
|
3531
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3532
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/tasks/permission.ts#L40)
|
|
3532
3533
|
|
|
3533
3534
|
```ts
|
|
3534
3535
|
export declare function createPermissionControl(initial: PermissionControlState, options?: {
|
|
@@ -3544,7 +3545,7 @@ Related gallery: [permission-control](https://minifish-org.github.io/pith-ui/?it
|
|
|
3544
3545
|
|
|
3545
3546
|
### createTaskFailure
|
|
3546
3547
|
|
|
3547
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3548
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/tasks/permission.ts#L19)
|
|
3548
3549
|
|
|
3549
3550
|
```ts
|
|
3550
3551
|
export declare function createTaskFailure(initial: TaskFailureState, options?: {
|
|
@@ -3561,7 +3562,7 @@ Related gallery: [task-failure](https://minifish-org.github.io/pith-ui/?item=tas
|
|
|
3561
3562
|
|
|
3562
3563
|
### FullAccessOptions
|
|
3563
3564
|
|
|
3564
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3565
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/tasks/permission.ts#L8)
|
|
3565
3566
|
|
|
3566
3567
|
```ts
|
|
3567
3568
|
export interface FullAccessOptions {
|
|
@@ -3574,7 +3575,7 @@ Referenced public types and APIs: [`ActionResult`](#actionresult).
|
|
|
3574
3575
|
|
|
3575
3576
|
### FullAccessState
|
|
3576
3577
|
|
|
3577
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3578
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/tasks/permission.ts#L7)
|
|
3578
3579
|
|
|
3579
3580
|
```ts
|
|
3580
3581
|
export interface FullAccessState {
|
|
@@ -3586,7 +3587,7 @@ export interface FullAccessState {
|
|
|
3586
3587
|
|
|
3587
3588
|
### PermissionControlState
|
|
3588
3589
|
|
|
3589
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3590
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/tasks/permission.ts#L39)
|
|
3590
3591
|
|
|
3591
3592
|
```ts
|
|
3592
3593
|
export interface PermissionControlState {
|
|
@@ -3598,7 +3599,7 @@ export interface PermissionControlState {
|
|
|
3598
3599
|
|
|
3599
3600
|
### TaskFailureState
|
|
3600
3601
|
|
|
3601
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3602
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/tasks/permission.ts#L18)
|
|
3602
3603
|
|
|
3603
3604
|
```ts
|
|
3604
3605
|
export interface TaskFailureState {
|
|
@@ -3614,7 +3615,7 @@ export interface TaskFailureState {
|
|
|
3614
3615
|
|
|
3615
3616
|
### createRuntimePanel
|
|
3616
3617
|
|
|
3617
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3618
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/tasks/runtime.ts#L6)
|
|
3618
3619
|
|
|
3619
3620
|
```ts
|
|
3620
3621
|
export declare function createRuntimePanel(initial: RuntimePanelState, options?: {
|
|
@@ -3636,7 +3637,7 @@ Related gallery: [runtime-panel](https://minifish-org.github.io/pith-ui/?item=ru
|
|
|
3636
3637
|
|
|
3637
3638
|
### RuntimePanelState
|
|
3638
3639
|
|
|
3639
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3640
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/tasks/runtime.ts#L5)
|
|
3640
3641
|
|
|
3641
3642
|
```ts
|
|
3642
3643
|
export interface RuntimePanelState {
|
|
@@ -3663,7 +3664,7 @@ export interface RuntimePanelState {
|
|
|
3663
3664
|
|
|
3664
3665
|
### Appearance
|
|
3665
3666
|
|
|
3666
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3667
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/theme.ts#L1)
|
|
3667
3668
|
|
|
3668
3669
|
```ts
|
|
3669
3670
|
export type Appearance = 'light' | 'dark' | 'system';
|
|
@@ -3671,7 +3672,7 @@ export type Appearance = 'light' | 'dark' | 'system';
|
|
|
3671
3672
|
|
|
3672
3673
|
### setAppearance
|
|
3673
3674
|
|
|
3674
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3675
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/theme.ts#L3)
|
|
3675
3676
|
|
|
3676
3677
|
```ts
|
|
3677
3678
|
/** Scope tokens and styles to an explicit application or preview root. */
|
|
@@ -3686,7 +3687,7 @@ Related gallery: [foundation-colors](https://minifish-org.github.io/pith-ui/?ite
|
|
|
3686
3687
|
|
|
3687
3688
|
### createComposerView
|
|
3688
3689
|
|
|
3689
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3690
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/workspace.ts#L33)
|
|
3690
3691
|
|
|
3691
3692
|
```ts
|
|
3692
3693
|
export declare function createComposerView(options?: ComposerViewOptions): {
|
|
@@ -3708,7 +3709,7 @@ Related gallery: [composer](https://minifish-org.github.io/pith-ui/?item=compose
|
|
|
3708
3709
|
|
|
3709
3710
|
### createWorkspaceShell
|
|
3710
3711
|
|
|
3711
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3712
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/workspace.ts#L121)
|
|
3712
3713
|
|
|
3713
3714
|
```ts
|
|
3714
3715
|
export declare function createWorkspaceShell(options: WorkspaceShellOptions): {
|
|
@@ -3741,7 +3742,7 @@ Related gallery: [workspace-chat](https://minifish-org.github.io/pith-ui/?item=w
|
|
|
3741
3742
|
|
|
3742
3743
|
### ActionScope
|
|
3743
3744
|
|
|
3744
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3745
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/workspace.ts#L118)
|
|
3745
3746
|
|
|
3746
3747
|
```ts
|
|
3747
3748
|
export interface ActionScope {
|
|
@@ -3752,7 +3753,7 @@ export interface ActionScope {
|
|
|
3752
3753
|
|
|
3753
3754
|
### ComposerViewOptions
|
|
3754
3755
|
|
|
3755
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3756
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/workspace.ts#L15)
|
|
3756
3757
|
|
|
3757
3758
|
```ts
|
|
3758
3759
|
export interface ComposerViewOptions {
|
|
@@ -3771,7 +3772,7 @@ Referenced public types and APIs: [`ActionResult`](#actionresult).
|
|
|
3771
3772
|
|
|
3772
3773
|
### ComposerViewState
|
|
3773
3774
|
|
|
3774
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3775
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/workspace.ts#L9)
|
|
3775
3776
|
|
|
3776
3777
|
```ts
|
|
3777
3778
|
export interface ComposerViewState {
|
|
@@ -3798,7 +3799,7 @@ export interface ComposerViewState {
|
|
|
3798
3799
|
|
|
3799
3800
|
### WorkspaceDialogName
|
|
3800
3801
|
|
|
3801
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3802
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/workspace.ts#L117)
|
|
3802
3803
|
|
|
3803
3804
|
```ts
|
|
3804
3805
|
export type WorkspaceDialogName = 'model' | 'settings' | 'workspace' | 'permissions' | 'delete' | 'rename' | 'queue-edit' | 'message-edit' | 'resources' | 'connections' | 'preview' | 'image';
|
|
@@ -3806,7 +3807,7 @@ export type WorkspaceDialogName = 'model' | 'settings' | 'workspace' | 'permissi
|
|
|
3806
3807
|
|
|
3807
3808
|
### WorkspaceShellOptions
|
|
3808
3809
|
|
|
3809
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3810
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/workspace.ts#L119)
|
|
3810
3811
|
|
|
3811
3812
|
```ts
|
|
3812
3813
|
export interface WorkspaceShellOptions {
|
|
@@ -3823,7 +3824,7 @@ Referenced public types and APIs: [`ComposerViewOptions`](#composerviewoptions),
|
|
|
3823
3824
|
|
|
3824
3825
|
### WorkspaceShellState
|
|
3825
3826
|
|
|
3826
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/
|
|
3827
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.1/src/workspace.ts#L120)
|
|
3827
3828
|
|
|
3828
3829
|
```ts
|
|
3829
3830
|
export interface WorkspaceShellState {
|