pith-ui 0.2.0-app.1 → 0.2.0-app.2
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/API.md +261 -261
- package/APP-API.md +123 -119
- package/APP.md +6 -2
- package/dist/app/settings.d.ts.map +1 -1
- package/dist/app/settings.js +12 -8
- package/dist/app/settings.js.map +1 -1
- package/dist/app/workspace.d.ts +4 -0
- package/dist/app/workspace.d.ts.map +1 -1
- package/dist/app/workspace.js +27 -16
- package/dist/app/workspace.js.map +1 -1
- package/package.json +1 -1
package/API.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Public API reference
|
|
2
2
|
|
|
3
|
-
Generated for `pith-ui@0.2.0-app.
|
|
3
|
+
Generated for `pith-ui@0.2.0-app.2` 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/v0.2.0-app.
|
|
5
|
+
Use the [catalog](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
93
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
109
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
126
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
138
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
150
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
163
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
176
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
187
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
203
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
223
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
234
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
244
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
257
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
269
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
281
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
293
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
306
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
342
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
357
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
372
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
389
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
407
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
426
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
438
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
451
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
462
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
475
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
483
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
496
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
508
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
520
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
533
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
546
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
554
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
562
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
575
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
587
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
600
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
618
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
631
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
640
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
648
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
664
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
672
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
687
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
695
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
705
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
720
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
728
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
736
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/dom.ts#L40)
|
|
737
737
|
|
|
738
738
|
```ts
|
|
739
739
|
/** Safe DOM construction; strings are always text nodes. */
|
|
@@ -746,7 +746,7 @@ Related gallery: [actions](https://minifish-org.github.io/pith-ui/?item=actions)
|
|
|
746
746
|
|
|
747
747
|
### escape
|
|
748
748
|
|
|
749
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
749
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
757
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
765
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
773
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
784
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
792
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
800
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
808
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
820
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
838
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
854
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
876
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
895
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
910
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
927
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
942
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
952
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
967
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
984
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
999
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
1016
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
1035
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
1051
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
1068
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
1089
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
1114
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
1129
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
1142
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
1172
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
1188
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
1198
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
1208
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
1225
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
1237
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
1249
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
1262
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
1270
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
1282
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/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/v0.2.0-app.
|
|
1292
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/actions.ts#L5)
|
|
1293
1293
|
|
|
1294
1294
|
```ts
|
|
1295
1295
|
export interface ProviderActionsState {
|
|
@@ -1303,7 +1303,7 @@ export interface ProviderActionsState {
|
|
|
1303
1303
|
|
|
1304
1304
|
### ProviderActionTarget
|
|
1305
1305
|
|
|
1306
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1306
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/actions.ts#L10)
|
|
1307
1307
|
|
|
1308
1308
|
```ts
|
|
1309
1309
|
export interface ProviderActionTarget {
|
|
@@ -1313,7 +1313,7 @@ export interface ProviderActionTarget {
|
|
|
1313
1313
|
|
|
1314
1314
|
### ResourceAction
|
|
1315
1315
|
|
|
1316
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1316
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/actions.ts#L9)
|
|
1317
1317
|
|
|
1318
1318
|
```ts
|
|
1319
1319
|
export type ResourceAction = 'use-resource' | 'resource';
|
|
@@ -1321,7 +1321,7 @@ export type ResourceAction = 'use-resource' | 'resource';
|
|
|
1321
1321
|
|
|
1322
1322
|
### ResourceActionOptions
|
|
1323
1323
|
|
|
1324
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1324
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/actions.ts#L19)
|
|
1325
1325
|
|
|
1326
1326
|
```ts
|
|
1327
1327
|
export interface ResourceActionOptions extends FeatureActionOptions {
|
|
@@ -1333,7 +1333,7 @@ Referenced public types and APIs: [`FeatureActionOptions`](#featureactionoptions
|
|
|
1333
1333
|
|
|
1334
1334
|
### resourceActionsMarkup
|
|
1335
1335
|
|
|
1336
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1336
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/actions.ts#L14)
|
|
1337
1337
|
|
|
1338
1338
|
```ts
|
|
1339
1339
|
export declare function resourceActionsMarkup(kind: string, resource: {
|
|
@@ -1344,7 +1344,7 @@ export declare function resourceActionsMarkup(kind: string, resource: {
|
|
|
1344
1344
|
|
|
1345
1345
|
### ResourceActionsState
|
|
1346
1346
|
|
|
1347
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1347
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/actions.ts#L7)
|
|
1348
1348
|
|
|
1349
1349
|
```ts
|
|
1350
1350
|
export interface ResourceActionsState {
|
|
@@ -1359,7 +1359,7 @@ export interface ResourceActionsState {
|
|
|
1359
1359
|
|
|
1360
1360
|
### ResourceActionTarget
|
|
1361
1361
|
|
|
1362
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1362
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/actions.ts#L11)
|
|
1363
1363
|
|
|
1364
1364
|
```ts
|
|
1365
1365
|
export interface ResourceActionTarget {
|
|
@@ -1375,7 +1375,7 @@ export interface ResourceActionTarget {
|
|
|
1375
1375
|
|
|
1376
1376
|
### ResourceKind
|
|
1377
1377
|
|
|
1378
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1378
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/actions.ts#L6)
|
|
1379
1379
|
|
|
1380
1380
|
```ts
|
|
1381
1381
|
export type ResourceKind = 'instructions' | 'skill' | 'template';
|
|
@@ -1385,7 +1385,7 @@ export type ResourceKind = 'instructions' | 'skill' | 'template';
|
|
|
1385
1385
|
|
|
1386
1386
|
### createCustomConnectionEditor
|
|
1387
1387
|
|
|
1388
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1388
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/custom-connection.ts#L28)
|
|
1389
1389
|
|
|
1390
1390
|
```ts
|
|
1391
1391
|
export declare function createCustomConnectionEditor(state: CustomConnectionState, options?: {
|
|
@@ -1403,7 +1403,7 @@ Related gallery: [custom-connection](https://minifish-org.github.io/pith-ui/?ite
|
|
|
1403
1403
|
|
|
1404
1404
|
### createCustomModelRow
|
|
1405
1405
|
|
|
1406
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1406
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/custom-connection.ts#L12)
|
|
1407
1407
|
|
|
1408
1408
|
```ts
|
|
1409
1409
|
export declare function createCustomModelRow(model: CustomModelRowState, index?: number): UIBlock<CustomModelRowState> & {
|
|
@@ -1418,7 +1418,7 @@ Related gallery: [custom-connection](https://minifish-org.github.io/pith-ui/?ite
|
|
|
1418
1418
|
|
|
1419
1419
|
### CustomConnectionDraft
|
|
1420
1420
|
|
|
1421
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1421
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/custom-connection.ts#L8)
|
|
1422
1422
|
|
|
1423
1423
|
```ts
|
|
1424
1424
|
export interface CustomConnectionDraft {
|
|
@@ -1434,7 +1434,7 @@ Referenced public types and APIs: [`CustomModelDraft`](#custommodeldraft).
|
|
|
1434
1434
|
|
|
1435
1435
|
### CustomConnectionState
|
|
1436
1436
|
|
|
1437
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1437
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/custom-connection.ts#L6)
|
|
1438
1438
|
|
|
1439
1439
|
```ts
|
|
1440
1440
|
export interface CustomConnectionState {
|
|
@@ -1452,7 +1452,7 @@ Referenced public types and APIs: [`CustomModelValue`](#custommodelvalue).
|
|
|
1452
1452
|
|
|
1453
1453
|
### CustomModelDraft
|
|
1454
1454
|
|
|
1455
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1455
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/custom-connection.ts#L7)
|
|
1456
1456
|
|
|
1457
1457
|
```ts
|
|
1458
1458
|
export interface CustomModelDraft {
|
|
@@ -1474,7 +1474,7 @@ export interface CustomModelDraft {
|
|
|
1474
1474
|
|
|
1475
1475
|
### CustomModelRowState
|
|
1476
1476
|
|
|
1477
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1477
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/custom-connection.ts#L11)
|
|
1478
1478
|
|
|
1479
1479
|
```ts
|
|
1480
1480
|
export interface CustomModelRowState extends CustomModelValue {
|
|
@@ -1487,7 +1487,7 @@ Referenced public types and APIs: [`CustomModelValue`](#custommodelvalue).
|
|
|
1487
1487
|
|
|
1488
1488
|
### CustomModelValue
|
|
1489
1489
|
|
|
1490
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1490
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/custom-connection.ts#L5)
|
|
1491
1491
|
|
|
1492
1492
|
```ts
|
|
1493
1493
|
export interface CustomModelValue {
|
|
@@ -1510,7 +1510,7 @@ export interface CustomModelValue {
|
|
|
1510
1510
|
|
|
1511
1511
|
### createFeatureDialogFrame
|
|
1512
1512
|
|
|
1513
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1513
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/dialog-frame.ts#L10)
|
|
1514
1514
|
|
|
1515
1515
|
```ts
|
|
1516
1516
|
export declare function createFeatureDialogFrame(options?: FeatureDialogOptions): UIBlock<FeatureDialogState> & {
|
|
@@ -1527,7 +1527,7 @@ Related gallery: [feature-dialog](https://minifish-org.github.io/pith-ui/?item=f
|
|
|
1527
1527
|
|
|
1528
1528
|
### createFeatureStatus
|
|
1529
1529
|
|
|
1530
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1530
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/dialog-frame.ts#L57)
|
|
1531
1531
|
|
|
1532
1532
|
```ts
|
|
1533
1533
|
export declare function createFeatureStatus(state: {
|
|
@@ -1545,7 +1545,7 @@ Related gallery: [feature-dialog](https://minifish-org.github.io/pith-ui/?item=f
|
|
|
1545
1545
|
|
|
1546
1546
|
### createSDKDialogElements
|
|
1547
1547
|
|
|
1548
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1548
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/dialog-frame.ts#L63)
|
|
1549
1549
|
|
|
1550
1550
|
```ts
|
|
1551
1551
|
export declare function createSDKDialogElements(options?: {
|
|
@@ -1563,7 +1563,7 @@ Related gallery: [feature-dialog](https://minifish-org.github.io/pith-ui/?item=f
|
|
|
1563
1563
|
|
|
1564
1564
|
### DialogContent
|
|
1565
1565
|
|
|
1566
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1566
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/dialog-frame.ts#L7)
|
|
1567
1567
|
|
|
1568
1568
|
```ts
|
|
1569
1569
|
export interface DialogContent {
|
|
@@ -1574,7 +1574,7 @@ export interface DialogContent {
|
|
|
1574
1574
|
|
|
1575
1575
|
### FeatureDialogOptions
|
|
1576
1576
|
|
|
1577
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1577
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/dialog-frame.ts#L9)
|
|
1578
1578
|
|
|
1579
1579
|
```ts
|
|
1580
1580
|
export interface FeatureDialogOptions {
|
|
@@ -1590,7 +1590,7 @@ export interface FeatureDialogOptions {
|
|
|
1590
1590
|
|
|
1591
1591
|
### FeatureDialogState
|
|
1592
1592
|
|
|
1593
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1593
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/dialog-frame.ts#L8)
|
|
1594
1594
|
|
|
1595
1595
|
```ts
|
|
1596
1596
|
export interface FeatureDialogState {
|
|
@@ -1605,7 +1605,7 @@ Referenced public types and APIs: [`DialogContent`](#dialogcontent).
|
|
|
1605
1605
|
|
|
1606
1606
|
### createBranchHistory
|
|
1607
1607
|
|
|
1608
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1608
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/history.ts#L8)
|
|
1609
1609
|
|
|
1610
1610
|
```ts
|
|
1611
1611
|
export declare function createBranchHistory(initial: BranchHistoryState, options?: {
|
|
@@ -1619,7 +1619,7 @@ Related gallery: [branch-history](https://minifish-org.github.io/pith-ui/?item=b
|
|
|
1619
1619
|
|
|
1620
1620
|
### BranchHistoryNode
|
|
1621
1621
|
|
|
1622
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1622
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/history.ts#L5)
|
|
1623
1623
|
|
|
1624
1624
|
```ts
|
|
1625
1625
|
export interface BranchHistoryNode {
|
|
@@ -1632,7 +1632,7 @@ export interface BranchHistoryNode {
|
|
|
1632
1632
|
|
|
1633
1633
|
### BranchHistoryState
|
|
1634
1634
|
|
|
1635
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1635
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/history.ts#L6)
|
|
1636
1636
|
|
|
1637
1637
|
```ts
|
|
1638
1638
|
export interface BranchHistoryState {
|
|
@@ -1648,7 +1648,7 @@ Referenced public types and APIs: [`BranchHistoryNode`](#branchhistorynode).
|
|
|
1648
1648
|
|
|
1649
1649
|
### createModelEditor
|
|
1650
1650
|
|
|
1651
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1651
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/model-editor.ts#L37)
|
|
1652
1652
|
|
|
1653
1653
|
```ts
|
|
1654
1654
|
export declare function createModelEditor(initial: ModelEditorState, options?: {
|
|
@@ -1664,7 +1664,7 @@ Related gallery: [model-picker](https://minifish-org.github.io/pith-ui/?item=mod
|
|
|
1664
1664
|
|
|
1665
1665
|
### ModelEditorBlock
|
|
1666
1666
|
|
|
1667
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1667
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/model-editor.ts#L30)
|
|
1668
1668
|
|
|
1669
1669
|
```ts
|
|
1670
1670
|
export interface ModelEditorBlock extends UIBlock<ModelEditorState> {
|
|
@@ -1678,7 +1678,7 @@ Referenced public types and APIs: [`ModelEditorState`](#modeleditorstate), [`Mod
|
|
|
1678
1678
|
|
|
1679
1679
|
### modelEditorMarkup
|
|
1680
1680
|
|
|
1681
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1681
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/model-editor.ts#L36)
|
|
1682
1682
|
|
|
1683
1683
|
```ts
|
|
1684
1684
|
export declare function modelEditorMarkup(prefix: string): string;
|
|
@@ -1686,7 +1686,7 @@ export declare function modelEditorMarkup(prefix: string): string;
|
|
|
1686
1686
|
|
|
1687
1687
|
### ModelEditorState
|
|
1688
1688
|
|
|
1689
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1689
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/model-editor.ts#L19)
|
|
1690
1690
|
|
|
1691
1691
|
```ts
|
|
1692
1692
|
export interface ModelEditorState {
|
|
@@ -1701,7 +1701,7 @@ Referenced public types and APIs: [`ModelOption`](#modeloption), [`ModelProvider
|
|
|
1701
1701
|
|
|
1702
1702
|
### ModelOption
|
|
1703
1703
|
|
|
1704
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1704
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/model-editor.ts#L10)
|
|
1705
1705
|
|
|
1706
1706
|
```ts
|
|
1707
1707
|
export interface ModelOption {
|
|
@@ -1717,7 +1717,7 @@ export interface ModelOption {
|
|
|
1717
1717
|
|
|
1718
1718
|
### ModelProviderOption
|
|
1719
1719
|
|
|
1720
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1720
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/model-editor.ts#L4)
|
|
1721
1721
|
|
|
1722
1722
|
```ts
|
|
1723
1723
|
export interface ModelProviderOption {
|
|
@@ -1730,7 +1730,7 @@ export interface ModelProviderOption {
|
|
|
1730
1730
|
|
|
1731
1731
|
### ModelSelection
|
|
1732
1732
|
|
|
1733
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1733
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/model-editor.ts#L25)
|
|
1734
1734
|
|
|
1735
1735
|
```ts
|
|
1736
1736
|
export interface ModelSelection {
|
|
@@ -1742,7 +1742,7 @@ export interface ModelSelection {
|
|
|
1742
1742
|
|
|
1743
1743
|
### thinkingLabel
|
|
1744
1744
|
|
|
1745
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1745
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/model-editor.ts#L35)
|
|
1746
1746
|
|
|
1747
1747
|
```ts
|
|
1748
1748
|
export declare function thinkingLabel(level: string): string;
|
|
@@ -1752,7 +1752,7 @@ export declare function thinkingLabel(level: string): string;
|
|
|
1752
1752
|
|
|
1753
1753
|
### createMCPConnectionList
|
|
1754
1754
|
|
|
1755
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1755
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/panels.ts#L202)
|
|
1756
1756
|
|
|
1757
1757
|
```ts
|
|
1758
1758
|
export declare function createMCPConnectionList(initial: MCPConnectionListState, options?: MCPConnectionListOptions): UIBlock<MCPConnectionListState>;
|
|
@@ -1764,7 +1764,7 @@ Related gallery: [mcp-connections](https://minifish-org.github.io/pith-ui/?item=
|
|
|
1764
1764
|
|
|
1765
1765
|
### createMCPConnectionsPanel
|
|
1766
1766
|
|
|
1767
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1767
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/panels.ts#L146)
|
|
1768
1768
|
|
|
1769
1769
|
```ts
|
|
1770
1770
|
export declare function createMCPConnectionsPanel(state?: MCPConnectionsState, options?: FormOptions & {
|
|
@@ -1778,7 +1778,7 @@ Related gallery: [mcp-connections](https://minifish-org.github.io/pith-ui/?item=
|
|
|
1778
1778
|
|
|
1779
1779
|
### createModelPicker
|
|
1780
1780
|
|
|
1781
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1781
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/panels.ts#L182)
|
|
1782
1782
|
|
|
1783
1783
|
```ts
|
|
1784
1784
|
export declare function createModelPicker(state?: ModelPickerState, options?: FormOptions & {
|
|
@@ -1792,7 +1792,7 @@ Related gallery: [model-picker](https://minifish-org.github.io/pith-ui/?item=mod
|
|
|
1792
1792
|
|
|
1793
1793
|
### createSettingsPanel
|
|
1794
1794
|
|
|
1795
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1795
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/panels.ts#L47)
|
|
1796
1796
|
|
|
1797
1797
|
```ts
|
|
1798
1798
|
export declare function createSettingsPanel(state: SettingsPanelState, options?: SettingsPanelOptions): SettingsPanel;
|
|
@@ -1804,7 +1804,7 @@ Related gallery: [settings-panel](https://minifish-org.github.io/pith-ui/?item=s
|
|
|
1804
1804
|
|
|
1805
1805
|
### FormDOMBlock
|
|
1806
1806
|
|
|
1807
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1807
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/panels.ts#L11)
|
|
1808
1808
|
|
|
1809
1809
|
```ts
|
|
1810
1810
|
export interface FormDOMBlock<State extends FormFeedback> extends UIBlock<State> {
|
|
@@ -1817,7 +1817,7 @@ Referenced public types and APIs: [`FormFeedback`](#formfeedback), [`UIBlock`](#
|
|
|
1817
1817
|
|
|
1818
1818
|
### FormFeedback
|
|
1819
1819
|
|
|
1820
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1820
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/panels.ts#L10)
|
|
1821
1821
|
|
|
1822
1822
|
```ts
|
|
1823
1823
|
export interface FormFeedback {
|
|
@@ -1828,7 +1828,7 @@ export interface FormFeedback {
|
|
|
1828
1828
|
|
|
1829
1829
|
### FormOptions
|
|
1830
1830
|
|
|
1831
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1831
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/panels.ts#L41)
|
|
1832
1832
|
|
|
1833
1833
|
```ts
|
|
1834
1834
|
export interface FormOptions {
|
|
@@ -1838,7 +1838,7 @@ export interface FormOptions {
|
|
|
1838
1838
|
|
|
1839
1839
|
### MCPConnectionAction
|
|
1840
1840
|
|
|
1841
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1841
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/panels.ts#L198)
|
|
1842
1842
|
|
|
1843
1843
|
```ts
|
|
1844
1844
|
export type MCPConnectionAction = 'mcp-login' | 'mcp-logout' | 'mcp-edit' | 'mcp-toggle' | 'mcp-remove';
|
|
@@ -1846,7 +1846,7 @@ export type MCPConnectionAction = 'mcp-login' | 'mcp-logout' | 'mcp-edit' | 'mcp
|
|
|
1846
1846
|
|
|
1847
1847
|
### MCPConnectionDraft
|
|
1848
1848
|
|
|
1849
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1849
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/panels.ts#L143)
|
|
1850
1850
|
|
|
1851
1851
|
```ts
|
|
1852
1852
|
export interface MCPConnectionDraft {
|
|
@@ -1868,7 +1868,7 @@ export interface MCPConnectionDraft {
|
|
|
1868
1868
|
|
|
1869
1869
|
### MCPConnectionItem
|
|
1870
1870
|
|
|
1871
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1871
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/panels.ts#L193)
|
|
1872
1872
|
|
|
1873
1873
|
```ts
|
|
1874
1874
|
export interface MCPConnectionItem {
|
|
@@ -1890,7 +1890,7 @@ export interface MCPConnectionItem {
|
|
|
1890
1890
|
|
|
1891
1891
|
### MCPConnectionListOptions
|
|
1892
1892
|
|
|
1893
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1893
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/panels.ts#L200)
|
|
1894
1894
|
|
|
1895
1895
|
```ts
|
|
1896
1896
|
export interface MCPConnectionListOptions {
|
|
@@ -1902,7 +1902,7 @@ Referenced public types and APIs: [`MCPConnectionAction`](#mcpconnectionaction),
|
|
|
1902
1902
|
|
|
1903
1903
|
### MCPConnectionListState
|
|
1904
1904
|
|
|
1905
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1905
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/panels.ts#L197)
|
|
1906
1906
|
|
|
1907
1907
|
```ts
|
|
1908
1908
|
export interface MCPConnectionListState extends FormFeedback {
|
|
@@ -1914,7 +1914,7 @@ Referenced public types and APIs: [`FormFeedback`](#formfeedback), [`MCPConnecti
|
|
|
1914
1914
|
|
|
1915
1915
|
### MCPConnectionsPanel
|
|
1916
1916
|
|
|
1917
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1917
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/panels.ts#L145)
|
|
1918
1918
|
|
|
1919
1919
|
```ts
|
|
1920
1920
|
export interface MCPConnectionsPanel extends FormDOMBlock<MCPConnectionsState> {
|
|
@@ -1932,7 +1932,7 @@ Referenced public types and APIs: [`FormDOMBlock`](#formdomblock), [`MCPConnecti
|
|
|
1932
1932
|
|
|
1933
1933
|
### MCPConnectionsState
|
|
1934
1934
|
|
|
1935
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1935
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/panels.ts#L144)
|
|
1936
1936
|
|
|
1937
1937
|
```ts
|
|
1938
1938
|
export interface MCPConnectionsState extends FormFeedback {
|
|
@@ -1944,7 +1944,7 @@ Referenced public types and APIs: [`FormFeedback`](#formfeedback).
|
|
|
1944
1944
|
|
|
1945
1945
|
### MCPConnectionTarget
|
|
1946
1946
|
|
|
1947
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1947
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/panels.ts#L199)
|
|
1948
1948
|
|
|
1949
1949
|
```ts
|
|
1950
1950
|
export interface MCPConnectionTarget {
|
|
@@ -1954,7 +1954,7 @@ export interface MCPConnectionTarget {
|
|
|
1954
1954
|
|
|
1955
1955
|
### MCPEditorValue
|
|
1956
1956
|
|
|
1957
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1957
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/panels.ts#L142)
|
|
1958
1958
|
|
|
1959
1959
|
```ts
|
|
1960
1960
|
export interface MCPEditorValue {
|
|
@@ -1974,7 +1974,7 @@ export interface MCPEditorValue {
|
|
|
1974
1974
|
|
|
1975
1975
|
### ModelPicker
|
|
1976
1976
|
|
|
1977
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1977
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/panels.ts#L181)
|
|
1978
1978
|
|
|
1979
1979
|
```ts
|
|
1980
1980
|
export interface ModelPicker extends FormDOMBlock<ModelPickerState> {
|
|
@@ -1988,7 +1988,7 @@ Referenced public types and APIs: [`FormDOMBlock`](#formdomblock), [`ModelPicker
|
|
|
1988
1988
|
|
|
1989
1989
|
### ModelPickerState
|
|
1990
1990
|
|
|
1991
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
1991
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/panels.ts#L180)
|
|
1992
1992
|
|
|
1993
1993
|
```ts
|
|
1994
1994
|
export interface ModelPickerState extends FormFeedback {
|
|
@@ -2001,7 +2001,7 @@ Referenced public types and APIs: [`FormFeedback`](#formfeedback), [`ModelEditor
|
|
|
2001
2001
|
|
|
2002
2002
|
### SettingsCredentialView
|
|
2003
2003
|
|
|
2004
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2004
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/panels.ts#L44)
|
|
2005
2005
|
|
|
2006
2006
|
```ts
|
|
2007
2007
|
export interface SettingsCredentialView {
|
|
@@ -2017,7 +2017,7 @@ export interface SettingsCredentialView {
|
|
|
2017
2017
|
|
|
2018
2018
|
### SettingsDraft
|
|
2019
2019
|
|
|
2020
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2020
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/panels.ts#L42)
|
|
2021
2021
|
|
|
2022
2022
|
```ts
|
|
2023
2023
|
export interface SettingsDraft {
|
|
@@ -2029,7 +2029,7 @@ export interface SettingsDraft {
|
|
|
2029
2029
|
|
|
2030
2030
|
### SettingsPanel
|
|
2031
2031
|
|
|
2032
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2032
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/panels.ts#L45)
|
|
2033
2033
|
|
|
2034
2034
|
```ts
|
|
2035
2035
|
export interface SettingsPanel extends FormDOMBlock<SettingsPanelState> {
|
|
@@ -2051,7 +2051,7 @@ Referenced public types and APIs: [`FormDOMBlock`](#formdomblock), [`SettingsCre
|
|
|
2051
2051
|
|
|
2052
2052
|
### SettingsPanelOptions
|
|
2053
2053
|
|
|
2054
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2054
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/panels.ts#L46)
|
|
2055
2055
|
|
|
2056
2056
|
```ts
|
|
2057
2057
|
export interface SettingsPanelOptions extends FormOptions {
|
|
@@ -2068,7 +2068,7 @@ Referenced public types and APIs: [`ActionResult`](#actionresult), [`FormOptions
|
|
|
2068
2068
|
|
|
2069
2069
|
### SettingsPanelState
|
|
2070
2070
|
|
|
2071
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2071
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/panels.ts#L40)
|
|
2072
2072
|
|
|
2073
2073
|
```ts
|
|
2074
2074
|
export interface SettingsPanelState extends FormFeedback {
|
|
@@ -2092,7 +2092,7 @@ Referenced public types and APIs: [`FormFeedback`](#formfeedback).
|
|
|
2092
2092
|
|
|
2093
2093
|
### SettingsProviderOption
|
|
2094
2094
|
|
|
2095
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2095
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/panels.ts#L43)
|
|
2096
2096
|
|
|
2097
2097
|
```ts
|
|
2098
2098
|
export interface SettingsProviderOption {
|
|
@@ -2107,7 +2107,7 @@ export interface SettingsProviderOption {
|
|
|
2107
2107
|
|
|
2108
2108
|
### createProviderLoginPanel
|
|
2109
2109
|
|
|
2110
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2110
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/provider-login.ts#L8)
|
|
2111
2111
|
|
|
2112
2112
|
```ts
|
|
2113
2113
|
export declare function createProviderLoginPanel(initial: ProviderLoginState, options?: {
|
|
@@ -2124,7 +2124,7 @@ Related gallery: [provider-login](https://minifish-org.github.io/pith-ui/?item=p
|
|
|
2124
2124
|
|
|
2125
2125
|
### ProviderLoginState
|
|
2126
2126
|
|
|
2127
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2127
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/provider-login.ts#L7)
|
|
2128
2128
|
|
|
2129
2129
|
```ts
|
|
2130
2130
|
export interface ProviderLoginState {
|
|
@@ -2147,7 +2147,7 @@ export interface ProviderLoginState {
|
|
|
2147
2147
|
|
|
2148
2148
|
### createResourceEditor
|
|
2149
2149
|
|
|
2150
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2150
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/resource-editor.ts#L7)
|
|
2151
2151
|
|
|
2152
2152
|
```ts
|
|
2153
2153
|
export declare function createResourceEditor(state: ResourceEditorState, options?: {
|
|
@@ -2167,7 +2167,7 @@ Related gallery: [resource-editor](https://minifish-org.github.io/pith-ui/?item=
|
|
|
2167
2167
|
|
|
2168
2168
|
### ResourceDraft
|
|
2169
2169
|
|
|
2170
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2170
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/resource-editor.ts#L6)
|
|
2171
2171
|
|
|
2172
2172
|
```ts
|
|
2173
2173
|
export interface ResourceDraft {
|
|
@@ -2178,7 +2178,7 @@ export interface ResourceDraft {
|
|
|
2178
2178
|
|
|
2179
2179
|
### ResourceEditorState
|
|
2180
2180
|
|
|
2181
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2181
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/forms/resource-editor.ts#L5)
|
|
2182
2182
|
|
|
2183
2183
|
```ts
|
|
2184
2184
|
export interface ResourceEditorState {
|
|
@@ -2199,7 +2199,7 @@ export interface ResourceEditorState {
|
|
|
2199
2199
|
|
|
2200
2200
|
### createContextMenu
|
|
2201
2201
|
|
|
2202
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2202
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/navigation/context-menu.ts#L11)
|
|
2203
2203
|
|
|
2204
2204
|
```ts
|
|
2205
2205
|
export declare function createContextMenu(options?: {
|
|
@@ -2218,7 +2218,7 @@ Related gallery: [context-menu](https://minifish-org.github.io/pith-ui/?item=con
|
|
|
2218
2218
|
|
|
2219
2219
|
### ContextMenuItem
|
|
2220
2220
|
|
|
2221
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2221
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/navigation/context-menu.ts#L5)
|
|
2222
2222
|
|
|
2223
2223
|
```ts
|
|
2224
2224
|
export interface ContextMenuItem {
|
|
@@ -2237,7 +2237,7 @@ export interface ContextMenuItem {
|
|
|
2237
2237
|
|
|
2238
2238
|
### ContextMenuOpenOptions
|
|
2239
2239
|
|
|
2240
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2240
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/navigation/context-menu.ts#L10)
|
|
2241
2241
|
|
|
2242
2242
|
```ts
|
|
2243
2243
|
export interface ContextMenuOpenOptions {
|
|
@@ -2250,7 +2250,7 @@ export interface ContextMenuOpenOptions {
|
|
|
2250
2250
|
|
|
2251
2251
|
### ContextMenuState
|
|
2252
2252
|
|
|
2253
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2253
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/navigation/context-menu.ts#L9)
|
|
2254
2254
|
|
|
2255
2255
|
```ts
|
|
2256
2256
|
export interface ContextMenuState {
|
|
@@ -2265,7 +2265,7 @@ Referenced public types and APIs: [`ContextMenuItem`](#contextmenuitem).
|
|
|
2265
2265
|
|
|
2266
2266
|
### createRenameConversation
|
|
2267
2267
|
|
|
2268
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2268
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/navigation/navigation.ts#L101)
|
|
2269
2269
|
|
|
2270
2270
|
```ts
|
|
2271
2271
|
export declare function createRenameConversation(initial: RenameConversationState, options?: RenameConversationOptions): RenameConversationBlock;
|
|
@@ -2277,7 +2277,7 @@ Related gallery: [rename-conversation](https://minifish-org.github.io/pith-ui/?i
|
|
|
2277
2277
|
|
|
2278
2278
|
### createWorkspaceNavigation
|
|
2279
2279
|
|
|
2280
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2280
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/navigation/navigation.ts#L17)
|
|
2281
2281
|
|
|
2282
2282
|
```ts
|
|
2283
2283
|
export declare function createWorkspaceNavigation(initial: WorkspaceNavigationState, options?: {
|
|
@@ -2295,7 +2295,7 @@ Related gallery: [workspace-navigation](https://minifish-org.github.io/pith-ui/?
|
|
|
2295
2295
|
|
|
2296
2296
|
### createWorkspacePicker
|
|
2297
2297
|
|
|
2298
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2298
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/navigation/navigation.ts#L151)
|
|
2299
2299
|
|
|
2300
2300
|
```ts
|
|
2301
2301
|
export declare function createWorkspacePicker(initial: WorkspacePickerState, options?: WorkspacePickerOptions): WorkspacePickerBlock;
|
|
@@ -2307,7 +2307,7 @@ Related gallery: [workspace-picker](https://minifish-org.github.io/pith-ui/?item
|
|
|
2307
2307
|
|
|
2308
2308
|
### NavigationConversation
|
|
2309
2309
|
|
|
2310
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2310
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/navigation/navigation.ts#L8)
|
|
2311
2311
|
|
|
2312
2312
|
```ts
|
|
2313
2313
|
export interface NavigationConversation {
|
|
@@ -2321,7 +2321,7 @@ export interface NavigationConversation {
|
|
|
2321
2321
|
|
|
2322
2322
|
### NavigationWorkspace
|
|
2323
2323
|
|
|
2324
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2324
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/navigation/navigation.ts#L9)
|
|
2325
2325
|
|
|
2326
2326
|
```ts
|
|
2327
2327
|
export interface NavigationWorkspace {
|
|
@@ -2339,7 +2339,7 @@ Referenced public types and APIs: [`NavigationConversation`](#navigationconversa
|
|
|
2339
2339
|
|
|
2340
2340
|
### RenameConversationBlock
|
|
2341
2341
|
|
|
2342
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2342
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/navigation/navigation.ts#L92)
|
|
2343
2343
|
|
|
2344
2344
|
```ts
|
|
2345
2345
|
export interface RenameConversationBlock extends UIBlock<RenameConversationState> {
|
|
@@ -2357,7 +2357,7 @@ Referenced public types and APIs: [`RenameConversationDraft`](#renameconversatio
|
|
|
2357
2357
|
|
|
2358
2358
|
### RenameConversationDraft
|
|
2359
2359
|
|
|
2360
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2360
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/navigation/navigation.ts#L83)
|
|
2361
2361
|
|
|
2362
2362
|
```ts
|
|
2363
2363
|
export interface RenameConversationDraft {
|
|
@@ -2368,7 +2368,7 @@ export interface RenameConversationDraft {
|
|
|
2368
2368
|
|
|
2369
2369
|
### RenameConversationOptions
|
|
2370
2370
|
|
|
2371
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2371
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/navigation/navigation.ts#L84)
|
|
2372
2372
|
|
|
2373
2373
|
```ts
|
|
2374
2374
|
export interface RenameConversationOptions {
|
|
@@ -2385,7 +2385,7 @@ Referenced public types and APIs: [`ActionResult`](#actionresult), [`RenameConve
|
|
|
2385
2385
|
|
|
2386
2386
|
### RenameConversationState
|
|
2387
2387
|
|
|
2388
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2388
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/navigation/navigation.ts#L82)
|
|
2389
2389
|
|
|
2390
2390
|
```ts
|
|
2391
2391
|
export interface RenameConversationState {
|
|
@@ -2398,7 +2398,7 @@ export interface RenameConversationState {
|
|
|
2398
2398
|
|
|
2399
2399
|
### WorkspaceNavigationAction
|
|
2400
2400
|
|
|
2401
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2401
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/navigation/navigation.ts#L11)
|
|
2402
2402
|
|
|
2403
2403
|
```ts
|
|
2404
2404
|
export type WorkspaceNavigationAction = {
|
|
@@ -2417,7 +2417,7 @@ export type WorkspaceNavigationAction = {
|
|
|
2417
2417
|
|
|
2418
2418
|
### WorkspaceNavigationState
|
|
2419
2419
|
|
|
2420
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2420
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/navigation/navigation.ts#L10)
|
|
2421
2421
|
|
|
2422
2422
|
```ts
|
|
2423
2423
|
export interface WorkspaceNavigationState {
|
|
@@ -2431,7 +2431,7 @@ Referenced public types and APIs: [`NavigationWorkspace`](#navigationworkspace).
|
|
|
2431
2431
|
|
|
2432
2432
|
### WorkspacePickerBlock
|
|
2433
2433
|
|
|
2434
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2434
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/navigation/navigation.ts#L141)
|
|
2435
2435
|
|
|
2436
2436
|
```ts
|
|
2437
2437
|
export interface WorkspacePickerBlock extends UIBlock<WorkspacePickerState> {
|
|
@@ -2452,7 +2452,7 @@ Referenced public types and APIs: [`UIBlock`](#uiblock), [`WorkspacePickerState`
|
|
|
2452
2452
|
|
|
2453
2453
|
### WorkspacePickerOptions
|
|
2454
2454
|
|
|
2455
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2455
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/navigation/navigation.ts#L131)
|
|
2456
2456
|
|
|
2457
2457
|
```ts
|
|
2458
2458
|
export interface WorkspacePickerOptions {
|
|
@@ -2474,7 +2474,7 @@ Referenced public types and APIs: [`ActionResult`](#actionresult).
|
|
|
2474
2474
|
|
|
2475
2475
|
### WorkspacePickerState
|
|
2476
2476
|
|
|
2477
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2477
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/navigation/navigation.ts#L130)
|
|
2478
2478
|
|
|
2479
2479
|
```ts
|
|
2480
2480
|
export interface WorkspacePickerState {
|
|
@@ -2492,7 +2492,7 @@ export interface WorkspacePickerState {
|
|
|
2492
2492
|
|
|
2493
2493
|
### createActions
|
|
2494
2494
|
|
|
2495
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2495
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L319)
|
|
2496
2496
|
|
|
2497
2497
|
```ts
|
|
2498
2498
|
export declare function createActions(options?: ActionsState & {
|
|
@@ -2506,7 +2506,7 @@ Related gallery: [actions](https://minifish-org.github.io/pith-ui/?item=actions)
|
|
|
2506
2506
|
|
|
2507
2507
|
### createButton
|
|
2508
2508
|
|
|
2509
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2509
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L27)
|
|
2510
2510
|
|
|
2511
2511
|
```ts
|
|
2512
2512
|
export declare function createButton(options: ButtonOptions): ButtonBlock;
|
|
@@ -2518,7 +2518,7 @@ Related gallery: [actions](https://minifish-org.github.io/pith-ui/?item=actions)
|
|
|
2518
2518
|
|
|
2519
2519
|
### createCheckbox
|
|
2520
2520
|
|
|
2521
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2521
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L272)
|
|
2522
2522
|
|
|
2523
2523
|
```ts
|
|
2524
2524
|
export declare function createCheckbox(options: CheckboxState & {
|
|
@@ -2533,7 +2533,7 @@ Related gallery: [checkbox](https://minifish-org.github.io/pith-ui/?item=checkbo
|
|
|
2533
2533
|
|
|
2534
2534
|
### createCollectionState
|
|
2535
2535
|
|
|
2536
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2536
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L356)
|
|
2537
2537
|
|
|
2538
2538
|
```ts
|
|
2539
2539
|
export declare function createCollectionState(options: CollectionState & {
|
|
@@ -2548,7 +2548,7 @@ Related gallery: [collection-state](https://minifish-org.github.io/pith-ui/?item
|
|
|
2548
2548
|
|
|
2549
2549
|
### createConfirmDialog
|
|
2550
2550
|
|
|
2551
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2551
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L472)
|
|
2552
2552
|
|
|
2553
2553
|
```ts
|
|
2554
2554
|
export declare function createConfirmDialog(options: ConfirmState & {
|
|
@@ -2571,7 +2571,7 @@ Related gallery: [confirmation](https://minifish-org.github.io/pith-ui/?item=con
|
|
|
2571
2571
|
|
|
2572
2572
|
### createDialog
|
|
2573
2573
|
|
|
2574
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2574
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L378)
|
|
2575
2575
|
|
|
2576
2576
|
```ts
|
|
2577
2577
|
export declare function createDialog(options: DialogOptions): DialogBlock;
|
|
@@ -2583,7 +2583,7 @@ Related gallery: [dialog](https://minifish-org.github.io/pith-ui/?item=dialog).
|
|
|
2583
2583
|
|
|
2584
2584
|
### createDisclosure
|
|
2585
2585
|
|
|
2586
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2586
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L327)
|
|
2587
2587
|
|
|
2588
2588
|
```ts
|
|
2589
2589
|
export declare function createDisclosure(options: DisclosureState & {
|
|
@@ -2599,7 +2599,7 @@ Related gallery: [disclosure](https://minifish-org.github.io/pith-ui/?item=discl
|
|
|
2599
2599
|
|
|
2600
2600
|
### createDivider
|
|
2601
2601
|
|
|
2602
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2602
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L75)
|
|
2603
2603
|
|
|
2604
2604
|
```ts
|
|
2605
2605
|
export declare function createDivider(state?: {
|
|
@@ -2615,7 +2615,7 @@ Related gallery: [divider](https://minifish-org.github.io/pith-ui/?item=divider)
|
|
|
2615
2615
|
|
|
2616
2616
|
### createField
|
|
2617
2617
|
|
|
2618
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2618
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L119)
|
|
2619
2619
|
|
|
2620
2620
|
```ts
|
|
2621
2621
|
export declare function createField(options: FieldState & {
|
|
@@ -2629,7 +2629,7 @@ Related gallery: [number-input](https://minifish-org.github.io/pith-ui/?item=num
|
|
|
2629
2629
|
|
|
2630
2630
|
### createFormSection
|
|
2631
2631
|
|
|
2632
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2632
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L311)
|
|
2633
2633
|
|
|
2634
2634
|
```ts
|
|
2635
2635
|
export declare function createFormSection(options: FormSectionState & {
|
|
@@ -2643,7 +2643,7 @@ Related gallery: [form-section](https://minifish-org.github.io/pith-ui/?item=for
|
|
|
2643
2643
|
|
|
2644
2644
|
### createIcon
|
|
2645
2645
|
|
|
2646
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2646
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L64)
|
|
2647
2647
|
|
|
2648
2648
|
```ts
|
|
2649
2649
|
export declare function createIcon(state: IconState): UIBlock<IconState>;
|
|
@@ -2655,7 +2655,7 @@ Related gallery: [foundation-sizing](https://minifish-org.github.io/pith-ui/?ite
|
|
|
2655
2655
|
|
|
2656
2656
|
### createIconButton
|
|
2657
2657
|
|
|
2658
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2658
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L42)
|
|
2659
2659
|
|
|
2660
2660
|
```ts
|
|
2661
2661
|
export declare function createIconButton(options: ButtonOptions & {
|
|
@@ -2669,7 +2669,7 @@ Related gallery: [icon-button](https://minifish-org.github.io/pith-ui/?item=icon
|
|
|
2669
2669
|
|
|
2670
2670
|
### createKeyValue
|
|
2671
2671
|
|
|
2672
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2672
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L82)
|
|
2673
2673
|
|
|
2674
2674
|
```ts
|
|
2675
2675
|
export declare function createKeyValue(options: KeyValueState): UIBlock<KeyValueState>;
|
|
@@ -2681,7 +2681,7 @@ Related gallery: [foundation-motion](https://minifish-org.github.io/pith-ui/?ite
|
|
|
2681
2681
|
|
|
2682
2682
|
### createListRow
|
|
2683
2683
|
|
|
2684
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2684
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L341)
|
|
2685
2685
|
|
|
2686
2686
|
```ts
|
|
2687
2687
|
export declare function createListRow(options: ListRowState & {
|
|
@@ -2695,7 +2695,7 @@ Related gallery: [collection-state](https://minifish-org.github.io/pith-ui/?item
|
|
|
2695
2695
|
|
|
2696
2696
|
### createMenu
|
|
2697
2697
|
|
|
2698
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2698
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L531)
|
|
2699
2699
|
|
|
2700
2700
|
```ts
|
|
2701
2701
|
export declare function createMenu(options: MenuOptions): PopoverBlock & UIBlock<MenuState>;
|
|
@@ -2707,7 +2707,7 @@ Related gallery: [foundation-focus](https://minifish-org.github.io/pith-ui/?item
|
|
|
2707
2707
|
|
|
2708
2708
|
### createNotice
|
|
2709
2709
|
|
|
2710
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2710
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L287)
|
|
2711
2711
|
|
|
2712
2712
|
```ts
|
|
2713
2713
|
export declare function createNotice(state: NoticeState): UIBlock<NoticeState>;
|
|
@@ -2719,7 +2719,7 @@ Related gallery: [notice](https://minifish-org.github.io/pith-ui/?item=notice).
|
|
|
2719
2719
|
|
|
2720
2720
|
### createNumberInput
|
|
2721
2721
|
|
|
2722
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2722
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L185)
|
|
2723
2723
|
|
|
2724
2724
|
```ts
|
|
2725
2725
|
export declare const createNumberInput: (options: InputOptions) => InputBlock;
|
|
@@ -2731,7 +2731,7 @@ Related gallery: [number-input](https://minifish-org.github.io/pith-ui/?item=num
|
|
|
2731
2731
|
|
|
2732
2732
|
### createPopover
|
|
2733
2733
|
|
|
2734
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2734
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L514)
|
|
2735
2735
|
|
|
2736
2736
|
```ts
|
|
2737
2737
|
export declare function createPopover(options: PopoverState & {
|
|
@@ -2746,7 +2746,7 @@ Related gallery: [popover](https://minifish-org.github.io/pith-ui/?item=popover)
|
|
|
2746
2746
|
|
|
2747
2747
|
### createProgress
|
|
2748
2748
|
|
|
2749
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2749
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L300)
|
|
2750
2750
|
|
|
2751
2751
|
```ts
|
|
2752
2752
|
export declare function createProgress(state: ProgressState): UIBlock<ProgressState>;
|
|
@@ -2758,7 +2758,7 @@ Related gallery: [progress](https://minifish-org.github.io/pith-ui/?item=progres
|
|
|
2758
2758
|
|
|
2759
2759
|
### createScrollArea
|
|
2760
2760
|
|
|
2761
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2761
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L102)
|
|
2762
2762
|
|
|
2763
2763
|
```ts
|
|
2764
2764
|
export declare function createScrollArea(options: ScrollAreaState & {
|
|
@@ -2772,7 +2772,7 @@ Related gallery: [scroll-area](https://minifish-org.github.io/pith-ui/?item=scro
|
|
|
2772
2772
|
|
|
2773
2773
|
### createSearchInput
|
|
2774
2774
|
|
|
2775
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2775
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L184)
|
|
2776
2776
|
|
|
2777
2777
|
```ts
|
|
2778
2778
|
export declare const createSearchInput: (options: InputOptions) => InputBlock;
|
|
@@ -2784,7 +2784,7 @@ Related gallery: [search-input](https://minifish-org.github.io/pith-ui/?item=sea
|
|
|
2784
2784
|
|
|
2785
2785
|
### createSecretInput
|
|
2786
2786
|
|
|
2787
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2787
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L188)
|
|
2788
2788
|
|
|
2789
2789
|
```ts
|
|
2790
2790
|
export declare function createSecretInput(options: InputOptions): InputBlock;
|
|
@@ -2796,7 +2796,7 @@ Related gallery: [secret-input](https://minifish-org.github.io/pith-ui/?item=sec
|
|
|
2796
2796
|
|
|
2797
2797
|
### createSelect
|
|
2798
2798
|
|
|
2799
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2799
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L226)
|
|
2800
2800
|
|
|
2801
2801
|
```ts
|
|
2802
2802
|
export declare function createSelect(options: SelectOptions): SelectBlock;
|
|
@@ -2808,7 +2808,7 @@ Related gallery: [foundation-focus](https://minifish-org.github.io/pith-ui/?item
|
|
|
2808
2808
|
|
|
2809
2809
|
### createStatus
|
|
2810
2810
|
|
|
2811
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2811
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L293)
|
|
2812
2812
|
|
|
2813
2813
|
```ts
|
|
2814
2814
|
export declare function createStatus(state: StatusState): UIBlock<StatusState>;
|
|
@@ -2820,7 +2820,7 @@ Related gallery: [status](https://minifish-org.github.io/pith-ui/?item=status).
|
|
|
2820
2820
|
|
|
2821
2821
|
### createTextAction
|
|
2822
2822
|
|
|
2823
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2823
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L55)
|
|
2824
2824
|
|
|
2825
2825
|
```ts
|
|
2826
2826
|
export declare function createTextAction(options: ButtonOptions): ButtonBlock;
|
|
@@ -2832,7 +2832,7 @@ Related gallery: [text-action](https://minifish-org.github.io/pith-ui/?item=text
|
|
|
2832
2832
|
|
|
2833
2833
|
### createTextArea
|
|
2834
2834
|
|
|
2835
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2835
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L186)
|
|
2836
2836
|
|
|
2837
2837
|
```ts
|
|
2838
2838
|
export declare const createTextArea: (options: InputOptions) => InputBlock;
|
|
@@ -2844,7 +2844,7 @@ Related gallery: [foundation-typography](https://minifish-org.github.io/pith-ui/
|
|
|
2844
2844
|
|
|
2845
2845
|
### createTextEditDialog
|
|
2846
2846
|
|
|
2847
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2847
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L420)
|
|
2848
2848
|
|
|
2849
2849
|
```ts
|
|
2850
2850
|
export declare function createTextEditDialog(options?: TextEditOptions): TextEditBlock;
|
|
@@ -2856,7 +2856,7 @@ Related gallery: [pending-messages](https://minifish-org.github.io/pith-ui/?item
|
|
|
2856
2856
|
|
|
2857
2857
|
### createTextInput
|
|
2858
2858
|
|
|
2859
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2859
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L183)
|
|
2860
2860
|
|
|
2861
2861
|
```ts
|
|
2862
2862
|
export declare const createTextInput: (options: InputOptions) => InputBlock;
|
|
@@ -2868,7 +2868,7 @@ Related gallery: [form-section](https://minifish-org.github.io/pith-ui/?item=for
|
|
|
2868
2868
|
|
|
2869
2869
|
### createToolbar
|
|
2870
2870
|
|
|
2871
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2871
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L94)
|
|
2872
2872
|
|
|
2873
2873
|
```ts
|
|
2874
2874
|
export declare function createToolbar(options: ToolbarState & {
|
|
@@ -2882,7 +2882,7 @@ Related gallery: [button](https://minifish-org.github.io/pith-ui/?item=button),
|
|
|
2882
2882
|
|
|
2883
2883
|
### ActionsState
|
|
2884
2884
|
|
|
2885
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2885
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L318)
|
|
2886
2886
|
|
|
2887
2887
|
```ts
|
|
2888
2888
|
export interface ActionsState {
|
|
@@ -2892,7 +2892,7 @@ export interface ActionsState {
|
|
|
2892
2892
|
|
|
2893
2893
|
### ButtonBlock
|
|
2894
2894
|
|
|
2895
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2895
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L25)
|
|
2896
2896
|
|
|
2897
2897
|
```ts
|
|
2898
2898
|
export interface ButtonBlock extends UIBlock<ButtonState> {
|
|
@@ -2904,7 +2904,7 @@ Referenced public types and APIs: [`ButtonState`](#buttonstate), [`UIBlock`](#ui
|
|
|
2904
2904
|
|
|
2905
2905
|
### ButtonOptions
|
|
2906
2906
|
|
|
2907
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2907
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L20)
|
|
2908
2908
|
|
|
2909
2909
|
```ts
|
|
2910
2910
|
export interface ButtonOptions extends ButtonState {
|
|
@@ -2918,7 +2918,7 @@ Referenced public types and APIs: [`ButtonState`](#buttonstate), [`UIAction`](#u
|
|
|
2918
2918
|
|
|
2919
2919
|
### ButtonState
|
|
2920
2920
|
|
|
2921
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2921
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L9)
|
|
2922
2922
|
|
|
2923
2923
|
```ts
|
|
2924
2924
|
export interface ButtonState {
|
|
@@ -2938,7 +2938,7 @@ Referenced public types and APIs: [`Density`](#density), [`Intent`](#intent).
|
|
|
2938
2938
|
|
|
2939
2939
|
### CheckboxBlock
|
|
2940
2940
|
|
|
2941
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2941
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L266)
|
|
2942
2942
|
|
|
2943
2943
|
```ts
|
|
2944
2944
|
export interface CheckboxBlock extends UIBlock<CheckboxState> {
|
|
@@ -2953,7 +2953,7 @@ Referenced public types and APIs: [`CheckboxState`](#checkboxstate), [`UIBlock`]
|
|
|
2953
2953
|
|
|
2954
2954
|
### CheckboxState
|
|
2955
2955
|
|
|
2956
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2956
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L265)
|
|
2957
2957
|
|
|
2958
2958
|
```ts
|
|
2959
2959
|
export interface CheckboxState {
|
|
@@ -2965,7 +2965,7 @@ export interface CheckboxState {
|
|
|
2965
2965
|
|
|
2966
2966
|
### CollectionState
|
|
2967
2967
|
|
|
2968
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2968
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L355)
|
|
2969
2969
|
|
|
2970
2970
|
```ts
|
|
2971
2971
|
export interface CollectionState {
|
|
@@ -2977,7 +2977,7 @@ export interface CollectionState {
|
|
|
2977
2977
|
|
|
2978
2978
|
### ConfirmBlock
|
|
2979
2979
|
|
|
2980
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2980
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L471)
|
|
2981
2981
|
|
|
2982
2982
|
```ts
|
|
2983
2983
|
export interface ConfirmBlock extends UIBlock<ConfirmState> {
|
|
@@ -2994,7 +2994,7 @@ Referenced public types and APIs: [`ConfirmState`](#confirmstate), [`UIBlock`](#
|
|
|
2994
2994
|
|
|
2995
2995
|
### ConfirmState
|
|
2996
2996
|
|
|
2997
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
2997
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L470)
|
|
2998
2998
|
|
|
2999
2999
|
```ts
|
|
3000
3000
|
export interface ConfirmState extends DialogState {
|
|
@@ -3011,7 +3011,7 @@ Referenced public types and APIs: [`DialogState`](#dialogstate).
|
|
|
3011
3011
|
|
|
3012
3012
|
### DialogBlock
|
|
3013
3013
|
|
|
3014
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3014
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L372)
|
|
3015
3015
|
|
|
3016
3016
|
```ts
|
|
3017
3017
|
export interface DialogBlock extends UIBlock<DialogState> {
|
|
@@ -3026,7 +3026,7 @@ Referenced public types and APIs: [`DialogState`](#dialogstate), [`UIBlock`](#ui
|
|
|
3026
3026
|
|
|
3027
3027
|
### DialogOptions
|
|
3028
3028
|
|
|
3029
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3029
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L371)
|
|
3030
3030
|
|
|
3031
3031
|
```ts
|
|
3032
3032
|
export interface DialogOptions extends DialogState {
|
|
@@ -3042,7 +3042,7 @@ Referenced public types and APIs: [`DialogState`](#dialogstate).
|
|
|
3042
3042
|
|
|
3043
3043
|
### DialogState
|
|
3044
3044
|
|
|
3045
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3045
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L370)
|
|
3046
3046
|
|
|
3047
3047
|
```ts
|
|
3048
3048
|
export interface DialogState {
|
|
@@ -3055,7 +3055,7 @@ export interface DialogState {
|
|
|
3055
3055
|
|
|
3056
3056
|
### DisclosureBlock
|
|
3057
3057
|
|
|
3058
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3058
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L326)
|
|
3059
3059
|
|
|
3060
3060
|
```ts
|
|
3061
3061
|
export interface DisclosureBlock extends UIBlock<DisclosureState> {
|
|
@@ -3068,7 +3068,7 @@ Referenced public types and APIs: [`DisclosureState`](#disclosurestate), [`UIBlo
|
|
|
3068
3068
|
|
|
3069
3069
|
### DisclosureState
|
|
3070
3070
|
|
|
3071
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3071
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L325)
|
|
3072
3072
|
|
|
3073
3073
|
```ts
|
|
3074
3074
|
export interface DisclosureState {
|
|
@@ -3080,7 +3080,7 @@ export interface DisclosureState {
|
|
|
3080
3080
|
|
|
3081
3081
|
### FieldBlock
|
|
3082
3082
|
|
|
3083
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3083
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L115)
|
|
3084
3084
|
|
|
3085
3085
|
```ts
|
|
3086
3086
|
export interface FieldBlock extends UIBlock<FieldState> {
|
|
@@ -3092,7 +3092,7 @@ Referenced public types and APIs: [`FieldState`](#fieldstate), [`UIBlock`](#uibl
|
|
|
3092
3092
|
|
|
3093
3093
|
### FieldState
|
|
3094
3094
|
|
|
3095
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3095
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L108)
|
|
3096
3096
|
|
|
3097
3097
|
```ts
|
|
3098
3098
|
export interface FieldState {
|
|
@@ -3106,7 +3106,7 @@ export interface FieldState {
|
|
|
3106
3106
|
|
|
3107
3107
|
### FormSectionState
|
|
3108
3108
|
|
|
3109
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3109
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L310)
|
|
3110
3110
|
|
|
3111
3111
|
```ts
|
|
3112
3112
|
export interface FormSectionState {
|
|
@@ -3117,7 +3117,7 @@ export interface FormSectionState {
|
|
|
3117
3117
|
|
|
3118
3118
|
### IconState
|
|
3119
3119
|
|
|
3120
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3120
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L63)
|
|
3121
3121
|
|
|
3122
3122
|
```ts
|
|
3123
3123
|
export interface IconState {
|
|
@@ -3129,7 +3129,7 @@ export interface IconState {
|
|
|
3129
3129
|
|
|
3130
3130
|
### InputBlock
|
|
3131
3131
|
|
|
3132
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3132
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L154)
|
|
3133
3133
|
|
|
3134
3134
|
```ts
|
|
3135
3135
|
export interface InputBlock extends UIBlock<InputState> {
|
|
@@ -3144,7 +3144,7 @@ Referenced public types and APIs: [`InputState`](#inputstate), [`UIBlock`](#uibl
|
|
|
3144
3144
|
|
|
3145
3145
|
### InputOptions
|
|
3146
3146
|
|
|
3147
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3147
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L145)
|
|
3148
3148
|
|
|
3149
3149
|
```ts
|
|
3150
3150
|
export interface InputOptions extends InputState {
|
|
@@ -3162,7 +3162,7 @@ Referenced public types and APIs: [`InputState`](#inputstate).
|
|
|
3162
3162
|
|
|
3163
3163
|
### InputState
|
|
3164
3164
|
|
|
3165
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3165
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L140)
|
|
3166
3166
|
|
|
3167
3167
|
```ts
|
|
3168
3168
|
export interface InputState extends FieldState {
|
|
@@ -3176,7 +3176,7 @@ Referenced public types and APIs: [`Density`](#density), [`FieldState`](#fieldst
|
|
|
3176
3176
|
|
|
3177
3177
|
### KeyValueState
|
|
3178
3178
|
|
|
3179
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3179
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L81)
|
|
3180
3180
|
|
|
3181
3181
|
```ts
|
|
3182
3182
|
export interface KeyValueState {
|
|
@@ -3190,7 +3190,7 @@ export interface KeyValueState {
|
|
|
3190
3190
|
|
|
3191
3191
|
### ListRowState
|
|
3192
3192
|
|
|
3193
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3193
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L340)
|
|
3194
3194
|
|
|
3195
3195
|
```ts
|
|
3196
3196
|
export interface ListRowState {
|
|
@@ -3204,7 +3204,7 @@ export interface ListRowState {
|
|
|
3204
3204
|
|
|
3205
3205
|
### MenuItem
|
|
3206
3206
|
|
|
3207
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3207
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L528)
|
|
3208
3208
|
|
|
3209
3209
|
```ts
|
|
3210
3210
|
export interface MenuItem {
|
|
@@ -3221,7 +3221,7 @@ Referenced public types and APIs: [`Intent`](#intent), [`UIAction`](#uiaction).
|
|
|
3221
3221
|
|
|
3222
3222
|
### MenuOptions
|
|
3223
3223
|
|
|
3224
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3224
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L530)
|
|
3225
3225
|
|
|
3226
3226
|
```ts
|
|
3227
3227
|
export interface MenuOptions extends MenuState {
|
|
@@ -3233,7 +3233,7 @@ Referenced public types and APIs: [`MenuState`](#menustate).
|
|
|
3233
3233
|
|
|
3234
3234
|
### MenuState
|
|
3235
3235
|
|
|
3236
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3236
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L529)
|
|
3237
3237
|
|
|
3238
3238
|
```ts
|
|
3239
3239
|
export interface MenuState extends PopoverState {
|
|
@@ -3245,7 +3245,7 @@ Referenced public types and APIs: [`MenuItem`](#menuitem), [`PopoverState`](#pop
|
|
|
3245
3245
|
|
|
3246
3246
|
### NoticeState
|
|
3247
3247
|
|
|
3248
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3248
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L286)
|
|
3249
3249
|
|
|
3250
3250
|
```ts
|
|
3251
3251
|
export interface NoticeState {
|
|
@@ -3256,7 +3256,7 @@ export interface NoticeState {
|
|
|
3256
3256
|
|
|
3257
3257
|
### PopoverBlock
|
|
3258
3258
|
|
|
3259
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3259
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L507)
|
|
3260
3260
|
|
|
3261
3261
|
```ts
|
|
3262
3262
|
export interface PopoverBlock extends UIBlock<PopoverState> {
|
|
@@ -3272,7 +3272,7 @@ Referenced public types and APIs: [`PopoverState`](#popoverstate), [`UIBlock`](#
|
|
|
3272
3272
|
|
|
3273
3273
|
### PopoverState
|
|
3274
3274
|
|
|
3275
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3275
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L506)
|
|
3276
3276
|
|
|
3277
3277
|
```ts
|
|
3278
3278
|
export interface PopoverState {
|
|
@@ -3283,7 +3283,7 @@ export interface PopoverState {
|
|
|
3283
3283
|
|
|
3284
3284
|
### ProgressState
|
|
3285
3285
|
|
|
3286
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3286
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L299)
|
|
3287
3287
|
|
|
3288
3288
|
```ts
|
|
3289
3289
|
export interface ProgressState {
|
|
@@ -3295,7 +3295,7 @@ export interface ProgressState {
|
|
|
3295
3295
|
|
|
3296
3296
|
### ScrollAreaState
|
|
3297
3297
|
|
|
3298
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3298
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L101)
|
|
3299
3299
|
|
|
3300
3300
|
```ts
|
|
3301
3301
|
export interface ScrollAreaState {
|
|
@@ -3306,7 +3306,7 @@ export interface ScrollAreaState {
|
|
|
3306
3306
|
|
|
3307
3307
|
### SelectBlock
|
|
3308
3308
|
|
|
3309
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3309
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L218)
|
|
3310
3310
|
|
|
3311
3311
|
```ts
|
|
3312
3312
|
export interface SelectBlock extends UIBlock<SelectState> {
|
|
@@ -3323,7 +3323,7 @@ Referenced public types and APIs: [`SelectState`](#selectstate), [`UIBlock`](#ui
|
|
|
3323
3323
|
|
|
3324
3324
|
### SelectOption
|
|
3325
3325
|
|
|
3326
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3326
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L208)
|
|
3327
3327
|
|
|
3328
3328
|
```ts
|
|
3329
3329
|
export interface SelectOption {
|
|
@@ -3335,7 +3335,7 @@ export interface SelectOption {
|
|
|
3335
3335
|
|
|
3336
3336
|
### SelectOptions
|
|
3337
3337
|
|
|
3338
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3338
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L210)
|
|
3339
3339
|
|
|
3340
3340
|
```ts
|
|
3341
3341
|
export interface SelectOptions extends SelectState {
|
|
@@ -3352,7 +3352,7 @@ Referenced public types and APIs: [`SelectState`](#selectstate).
|
|
|
3352
3352
|
|
|
3353
3353
|
### SelectState
|
|
3354
3354
|
|
|
3355
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3355
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L209)
|
|
3356
3356
|
|
|
3357
3357
|
```ts
|
|
3358
3358
|
export interface SelectState extends FieldState {
|
|
@@ -3365,7 +3365,7 @@ Referenced public types and APIs: [`Density`](#density), [`FieldState`](#fieldst
|
|
|
3365
3365
|
|
|
3366
3366
|
### StatusState
|
|
3367
3367
|
|
|
3368
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3368
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L292)
|
|
3369
3369
|
|
|
3370
3370
|
```ts
|
|
3371
3371
|
export interface StatusState {
|
|
@@ -3376,7 +3376,7 @@ export interface StatusState {
|
|
|
3376
3376
|
|
|
3377
3377
|
### TextEditBlock
|
|
3378
3378
|
|
|
3379
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3379
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L411)
|
|
3380
3380
|
|
|
3381
3381
|
```ts
|
|
3382
3382
|
export interface TextEditBlock extends Omit<UIBlock<TextEditState>, 'element'> {
|
|
@@ -3394,7 +3394,7 @@ Referenced public types and APIs: [`TextEditInput`](#texteditinput), [`TextEditS
|
|
|
3394
3394
|
|
|
3395
3395
|
### TextEditInput
|
|
3396
3396
|
|
|
3397
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3397
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L402)
|
|
3398
3398
|
|
|
3399
3399
|
```ts
|
|
3400
3400
|
export interface TextEditInput {
|
|
@@ -3407,7 +3407,7 @@ export interface TextEditInput {
|
|
|
3407
3407
|
|
|
3408
3408
|
### TextEditOptions
|
|
3409
3409
|
|
|
3410
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3410
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L403)
|
|
3411
3411
|
|
|
3412
3412
|
```ts
|
|
3413
3413
|
export interface TextEditOptions extends Partial<TextEditState> {
|
|
@@ -3431,7 +3431,7 @@ Referenced public types and APIs: [`ActionResult`](#actionresult), [`TextEditSta
|
|
|
3431
3431
|
|
|
3432
3432
|
### TextEditState
|
|
3433
3433
|
|
|
3434
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3434
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L401)
|
|
3435
3435
|
|
|
3436
3436
|
```ts
|
|
3437
3437
|
export interface TextEditState extends DialogState {
|
|
@@ -3448,7 +3448,7 @@ Referenced public types and APIs: [`DialogState`](#dialogstate).
|
|
|
3448
3448
|
|
|
3449
3449
|
### ToolbarState
|
|
3450
3450
|
|
|
3451
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3451
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/primitives.ts#L93)
|
|
3452
3452
|
|
|
3453
3453
|
```ts
|
|
3454
3454
|
export interface ToolbarState {
|
|
@@ -3463,7 +3463,7 @@ Referenced public types and APIs: [`Density`](#density).
|
|
|
3463
3463
|
|
|
3464
3464
|
### createApprovalPanel
|
|
3465
3465
|
|
|
3466
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3466
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/tasks/approval.ts#L8)
|
|
3467
3467
|
|
|
3468
3468
|
```ts
|
|
3469
3469
|
export declare function createApprovalPanel(initial: ApprovalPanelState, options?: {
|
|
@@ -3479,7 +3479,7 @@ Related gallery: [approval-panel](https://minifish-org.github.io/pith-ui/?item=a
|
|
|
3479
3479
|
|
|
3480
3480
|
### ApprovalPanelState
|
|
3481
3481
|
|
|
3482
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3482
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/tasks/approval.ts#L7)
|
|
3483
3483
|
|
|
3484
3484
|
```ts
|
|
3485
3485
|
export interface ApprovalPanelState {
|
|
@@ -3492,7 +3492,7 @@ Referenced public types and APIs: [`ApprovalView`](#approvalview).
|
|
|
3492
3492
|
|
|
3493
3493
|
### ApprovalView
|
|
3494
3494
|
|
|
3495
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3495
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/tasks/approval.ts#L6)
|
|
3496
3496
|
|
|
3497
3497
|
```ts
|
|
3498
3498
|
export interface ApprovalView {
|
|
@@ -3515,7 +3515,7 @@ export interface ApprovalView {
|
|
|
3515
3515
|
|
|
3516
3516
|
### createFullAccessConfirmation
|
|
3517
3517
|
|
|
3518
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3518
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/tasks/permission.ts#L9)
|
|
3519
3519
|
|
|
3520
3520
|
```ts
|
|
3521
3521
|
export declare function createFullAccessConfirmation(initial: FullAccessState, options?: FullAccessOptions): UIBlock<FullAccessState> & {
|
|
@@ -3529,7 +3529,7 @@ Related gallery: [full-access-confirmation](https://minifish-org.github.io/pith-
|
|
|
3529
3529
|
|
|
3530
3530
|
### createPermissionControl
|
|
3531
3531
|
|
|
3532
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3532
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/tasks/permission.ts#L40)
|
|
3533
3533
|
|
|
3534
3534
|
```ts
|
|
3535
3535
|
export declare function createPermissionControl(initial: PermissionControlState, options?: {
|
|
@@ -3545,7 +3545,7 @@ Related gallery: [permission-control](https://minifish-org.github.io/pith-ui/?it
|
|
|
3545
3545
|
|
|
3546
3546
|
### createTaskFailure
|
|
3547
3547
|
|
|
3548
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3548
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/tasks/permission.ts#L19)
|
|
3549
3549
|
|
|
3550
3550
|
```ts
|
|
3551
3551
|
export declare function createTaskFailure(initial: TaskFailureState, options?: {
|
|
@@ -3562,7 +3562,7 @@ Related gallery: [task-failure](https://minifish-org.github.io/pith-ui/?item=tas
|
|
|
3562
3562
|
|
|
3563
3563
|
### FullAccessOptions
|
|
3564
3564
|
|
|
3565
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3565
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/tasks/permission.ts#L8)
|
|
3566
3566
|
|
|
3567
3567
|
```ts
|
|
3568
3568
|
export interface FullAccessOptions {
|
|
@@ -3575,7 +3575,7 @@ Referenced public types and APIs: [`ActionResult`](#actionresult).
|
|
|
3575
3575
|
|
|
3576
3576
|
### FullAccessState
|
|
3577
3577
|
|
|
3578
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3578
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/tasks/permission.ts#L7)
|
|
3579
3579
|
|
|
3580
3580
|
```ts
|
|
3581
3581
|
export interface FullAccessState {
|
|
@@ -3587,7 +3587,7 @@ export interface FullAccessState {
|
|
|
3587
3587
|
|
|
3588
3588
|
### PermissionControlState
|
|
3589
3589
|
|
|
3590
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3590
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/tasks/permission.ts#L39)
|
|
3591
3591
|
|
|
3592
3592
|
```ts
|
|
3593
3593
|
export interface PermissionControlState {
|
|
@@ -3599,7 +3599,7 @@ export interface PermissionControlState {
|
|
|
3599
3599
|
|
|
3600
3600
|
### TaskFailureState
|
|
3601
3601
|
|
|
3602
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3602
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/tasks/permission.ts#L18)
|
|
3603
3603
|
|
|
3604
3604
|
```ts
|
|
3605
3605
|
export interface TaskFailureState {
|
|
@@ -3615,7 +3615,7 @@ export interface TaskFailureState {
|
|
|
3615
3615
|
|
|
3616
3616
|
### createRuntimePanel
|
|
3617
3617
|
|
|
3618
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3618
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/tasks/runtime.ts#L6)
|
|
3619
3619
|
|
|
3620
3620
|
```ts
|
|
3621
3621
|
export declare function createRuntimePanel(initial: RuntimePanelState, options?: {
|
|
@@ -3637,7 +3637,7 @@ Related gallery: [runtime-panel](https://minifish-org.github.io/pith-ui/?item=ru
|
|
|
3637
3637
|
|
|
3638
3638
|
### RuntimePanelState
|
|
3639
3639
|
|
|
3640
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3640
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/tasks/runtime.ts#L5)
|
|
3641
3641
|
|
|
3642
3642
|
```ts
|
|
3643
3643
|
export interface RuntimePanelState {
|
|
@@ -3664,7 +3664,7 @@ export interface RuntimePanelState {
|
|
|
3664
3664
|
|
|
3665
3665
|
### Appearance
|
|
3666
3666
|
|
|
3667
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3667
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/theme.ts#L1)
|
|
3668
3668
|
|
|
3669
3669
|
```ts
|
|
3670
3670
|
export type Appearance = 'light' | 'dark' | 'system';
|
|
@@ -3672,7 +3672,7 @@ export type Appearance = 'light' | 'dark' | 'system';
|
|
|
3672
3672
|
|
|
3673
3673
|
### setAppearance
|
|
3674
3674
|
|
|
3675
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3675
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/theme.ts#L3)
|
|
3676
3676
|
|
|
3677
3677
|
```ts
|
|
3678
3678
|
/** Scope tokens and styles to an explicit application or preview root. */
|
|
@@ -3687,7 +3687,7 @@ Related gallery: [foundation-colors](https://minifish-org.github.io/pith-ui/?ite
|
|
|
3687
3687
|
|
|
3688
3688
|
### createComposerView
|
|
3689
3689
|
|
|
3690
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3690
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/workspace.ts#L33)
|
|
3691
3691
|
|
|
3692
3692
|
```ts
|
|
3693
3693
|
export declare function createComposerView(options?: ComposerViewOptions): {
|
|
@@ -3709,7 +3709,7 @@ Related gallery: [composer](https://minifish-org.github.io/pith-ui/?item=compose
|
|
|
3709
3709
|
|
|
3710
3710
|
### createWorkspaceShell
|
|
3711
3711
|
|
|
3712
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3712
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/workspace.ts#L121)
|
|
3713
3713
|
|
|
3714
3714
|
```ts
|
|
3715
3715
|
export declare function createWorkspaceShell(options: WorkspaceShellOptions): {
|
|
@@ -3742,7 +3742,7 @@ Related gallery: [workspace-chat](https://minifish-org.github.io/pith-ui/?item=w
|
|
|
3742
3742
|
|
|
3743
3743
|
### ActionScope
|
|
3744
3744
|
|
|
3745
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3745
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/workspace.ts#L118)
|
|
3746
3746
|
|
|
3747
3747
|
```ts
|
|
3748
3748
|
export interface ActionScope {
|
|
@@ -3753,7 +3753,7 @@ export interface ActionScope {
|
|
|
3753
3753
|
|
|
3754
3754
|
### ComposerViewOptions
|
|
3755
3755
|
|
|
3756
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3756
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/workspace.ts#L15)
|
|
3757
3757
|
|
|
3758
3758
|
```ts
|
|
3759
3759
|
export interface ComposerViewOptions {
|
|
@@ -3772,7 +3772,7 @@ Referenced public types and APIs: [`ActionResult`](#actionresult).
|
|
|
3772
3772
|
|
|
3773
3773
|
### ComposerViewState
|
|
3774
3774
|
|
|
3775
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3775
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/workspace.ts#L9)
|
|
3776
3776
|
|
|
3777
3777
|
```ts
|
|
3778
3778
|
export interface ComposerViewState {
|
|
@@ -3799,7 +3799,7 @@ export interface ComposerViewState {
|
|
|
3799
3799
|
|
|
3800
3800
|
### WorkspaceDialogName
|
|
3801
3801
|
|
|
3802
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3802
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/workspace.ts#L117)
|
|
3803
3803
|
|
|
3804
3804
|
```ts
|
|
3805
3805
|
export type WorkspaceDialogName = 'model' | 'settings' | 'workspace' | 'permissions' | 'delete' | 'rename' | 'queue-edit' | 'message-edit' | 'resources' | 'connections' | 'preview' | 'image';
|
|
@@ -3807,7 +3807,7 @@ export type WorkspaceDialogName = 'model' | 'settings' | 'workspace' | 'permissi
|
|
|
3807
3807
|
|
|
3808
3808
|
### WorkspaceShellOptions
|
|
3809
3809
|
|
|
3810
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3810
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/workspace.ts#L119)
|
|
3811
3811
|
|
|
3812
3812
|
```ts
|
|
3813
3813
|
export interface WorkspaceShellOptions {
|
|
@@ -3824,7 +3824,7 @@ Referenced public types and APIs: [`ComposerViewOptions`](#composerviewoptions),
|
|
|
3824
3824
|
|
|
3825
3825
|
### WorkspaceShellState
|
|
3826
3826
|
|
|
3827
|
-
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.
|
|
3827
|
+
[Source](https://github.com/minifish-org/pith-ui/blob/v0.2.0-app.2/src/workspace.ts#L120)
|
|
3828
3828
|
|
|
3829
3829
|
```ts
|
|
3830
3830
|
export interface WorkspaceShellState {
|