@fungi.computer/caps 0.0.0-stage → 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +1125 -2
- package/dist/blocks/app-bar.d.ts +43 -0
- package/dist/blocks/app-bar.js +244 -0
- package/dist/blocks/app-status-bar.d.ts +93 -0
- package/dist/blocks/app-status-bar.js +42 -0
- package/dist/blocks/async-state.d.ts +21 -0
- package/dist/blocks/async-state.js +8 -0
- package/dist/blocks/card-grid.d.ts +11 -0
- package/dist/blocks/card-grid.js +21 -0
- package/dist/blocks/command-menu.d.ts +26 -0
- package/dist/blocks/command-menu.js +70 -0
- package/dist/blocks/composer.d.ts +23 -0
- package/dist/blocks/composer.js +13 -0
- package/dist/blocks/empty-state.d.ts +59 -0
- package/dist/blocks/empty-state.js +35 -0
- package/dist/blocks/faq-chat.d.ts +62 -0
- package/dist/blocks/faq-chat.js +77 -0
- package/dist/blocks/game-share-card.d.ts +17 -0
- package/dist/blocks/game-share-card.js +9 -0
- package/dist/blocks/launcher-grid.d.ts +50 -0
- package/dist/blocks/launcher-grid.js +11 -0
- package/dist/blocks/listing-detail.d.ts +23 -0
- package/dist/blocks/listing-detail.js +12 -0
- package/dist/blocks/loading-state.d.ts +5 -0
- package/dist/blocks/loading-state.js +8 -0
- package/dist/blocks/mosaic.d.ts +29 -0
- package/dist/blocks/mosaic.js +19 -0
- package/dist/blocks/permission-grid.d.ts +45 -0
- package/dist/blocks/permission-grid.js +14 -0
- package/dist/blocks/pricing-card.d.ts +53 -0
- package/dist/blocks/pricing-card.js +12 -0
- package/dist/blocks/release-tag.d.ts +20 -0
- package/dist/blocks/release-tag.js +10 -0
- package/dist/blocks/resource-select.d.ts +22 -0
- package/dist/blocks/resource-select.js +16 -0
- package/dist/blocks/result-state.d.ts +15 -0
- package/dist/blocks/result-state.js +8 -0
- package/dist/blocks/section-card.d.ts +31 -0
- package/dist/blocks/section-card.js +7 -0
- package/dist/blocks/section-heading.d.ts +13 -0
- package/dist/blocks/section-heading.js +11 -0
- package/dist/blocks/spec-sheet.d.ts +125 -0
- package/dist/blocks/spec-sheet.js +47 -0
- package/dist/blocks/status-tray.d.ts +83 -0
- package/dist/blocks/status-tray.js +79 -0
- package/dist/blocks/upload-queue.d.ts +48 -0
- package/dist/blocks/upload-queue.js +24 -0
- package/dist/components/action-row.d.ts +16 -0
- package/dist/components/action-row.js +11 -0
- package/dist/components/activity-line.d.ts +33 -0
- package/dist/components/activity-line.js +69 -0
- package/dist/components/alert.d.ts +17 -0
- package/dist/components/alert.js +17 -0
- package/dist/components/badge.d.ts +19 -0
- package/dist/components/badge.js +24 -0
- package/dist/components/button.d.ts +55 -0
- package/dist/components/button.js +230 -0
- package/dist/components/card.d.ts +61 -0
- package/dist/components/card.js +48 -0
- package/dist/components/chat-bubble.d.ts +34 -0
- package/dist/components/chat-bubble.js +10 -0
- package/dist/components/checkbox-bead.d.ts +6 -0
- package/dist/components/checkbox-bead.js +67 -0
- package/dist/components/checkbox.d.ts +21 -0
- package/dist/components/checkbox.js +46 -0
- package/dist/components/code-input.d.ts +35 -0
- package/dist/components/code-input.js +126 -0
- package/dist/components/combobox.d.ts +86 -0
- package/dist/components/combobox.js +218 -0
- package/dist/components/confirm-action.d.ts +23 -0
- package/dist/components/confirm-action.js +64 -0
- package/dist/components/copy-field.d.ts +53 -0
- package/dist/components/copy-field.js +49 -0
- package/dist/components/count-badge.d.ts +15 -0
- package/dist/components/count-badge.js +9 -0
- package/dist/components/cover-pattern.d.ts +19 -0
- package/dist/components/cover-pattern.js +74 -0
- package/dist/components/data-list.d.ts +25 -0
- package/dist/components/data-list.js +16 -0
- package/dist/components/dialog.d.ts +39 -0
- package/dist/components/dialog.js +73 -0
- package/dist/components/diff-view.d.ts +14 -0
- package/dist/components/diff-view.js +13 -0
- package/dist/components/disclosure.d.ts +29 -0
- package/dist/components/disclosure.js +19 -0
- package/dist/components/dropdown-menu.d.ts +49 -0
- package/dist/components/dropdown-menu.js +98 -0
- package/dist/components/field-guide.d.ts +41 -0
- package/dist/components/field-guide.js +18 -0
- package/dist/components/field.d.ts +164 -0
- package/dist/components/field.js +228 -0
- package/dist/components/game-feedback.d.ts +84 -0
- package/dist/components/game-feedback.js +48 -0
- package/dist/components/game-hud.d.ts +126 -0
- package/dist/components/game-hud.js +136 -0
- package/dist/components/generation-frame.d.ts +36 -0
- package/dist/components/generation-frame.js +97 -0
- package/dist/components/gooey.d.ts +32 -0
- package/dist/components/gooey.js +25 -0
- package/dist/components/hold-button.d.ts +26 -0
- package/dist/components/hold-button.js +115 -0
- package/dist/components/icon-button.d.ts +24 -0
- package/dist/components/icon-button.js +18 -0
- package/dist/components/icon-checkbox.d.ts +20 -0
- package/dist/components/icon-checkbox.js +9 -0
- package/dist/components/icon-choice-mark.d.ts +6 -0
- package/dist/components/icon-choice-mark.js +5 -0
- package/dist/components/icon-lamp.d.ts +42 -0
- package/dist/components/icon-lamp.js +15 -0
- package/dist/components/icon-radio.d.ts +16 -0
- package/dist/components/icon-radio.js +9 -0
- package/dist/components/inline-code.d.ts +3 -0
- package/dist/components/inline-code.js +7 -0
- package/dist/components/input-group.d.ts +9 -0
- package/dist/components/input-group.js +15 -0
- package/dist/components/input.d.ts +15 -0
- package/dist/components/input.js +15 -0
- package/dist/components/item-grid.d.ts +110 -0
- package/dist/components/item-grid.js +136 -0
- package/dist/components/keycap.d.ts +80 -0
- package/dist/components/keycap.js +18 -0
- package/dist/components/label.d.ts +13 -0
- package/dist/components/label.js +7 -0
- package/dist/components/listbox.d.ts +50 -0
- package/dist/components/listbox.js +134 -0
- package/dist/components/loader-blobs.d.ts +5 -0
- package/dist/components/loader-blobs.js +128 -0
- package/dist/components/loader.d.ts +21 -0
- package/dist/components/loader.js +25 -0
- package/dist/components/markdown.d.ts +23 -0
- package/dist/components/markdown.js +70 -0
- package/dist/components/minimap-labels.d.ts +39 -0
- package/dist/components/minimap-labels.js +113 -0
- package/dist/components/monogram.d.ts +32 -0
- package/dist/components/monogram.js +24 -0
- package/dist/components/motion-visibility.d.ts +2 -0
- package/dist/components/motion-visibility.js +25 -0
- package/dist/components/navigation-rail.d.ts +11 -0
- package/dist/components/navigation-rail.js +55 -0
- package/dist/components/overlay-root.d.ts +16 -0
- package/dist/components/overlay-root.js +24 -0
- package/dist/components/pixel-number.d.ts +50 -0
- package/dist/components/pixel-number.js +113 -0
- package/dist/components/popover.d.ts +31 -0
- package/dist/components/popover.js +24 -0
- package/dist/components/presence.d.ts +59 -0
- package/dist/components/presence.js +232 -0
- package/dist/components/price-tag.d.ts +11 -0
- package/dist/components/price-tag.js +6 -0
- package/dist/components/progress.d.ts +25 -0
- package/dist/components/progress.js +24 -0
- package/dist/components/prose.d.ts +14 -0
- package/dist/components/prose.js +10 -0
- package/dist/components/quota-meter.d.ts +24 -0
- package/dist/components/quota-meter.js +11 -0
- package/dist/components/radio-bead.d.ts +4 -0
- package/dist/components/radio-bead.js +53 -0
- package/dist/components/radio-group.d.ts +54 -0
- package/dist/components/radio-group.js +64 -0
- package/dist/components/resize-handle.d.ts +23 -0
- package/dist/components/resize-handle.js +31 -0
- package/dist/components/rough-drawing.d.ts +42 -0
- package/dist/components/rough-drawing.js +231 -0
- package/dist/components/rough.d.ts +68 -0
- package/dist/components/rough.js +33 -0
- package/dist/components/scroll-area.d.ts +12 -0
- package/dist/components/scroll-area.js +96 -0
- package/dist/components/scroll-motion.d.ts +12 -0
- package/dist/components/scroll-motion.js +31 -0
- package/dist/components/scroll-to-bottom-blob-state.d.ts +40 -0
- package/dist/components/scroll-to-bottom-blob-state.js +109 -0
- package/dist/components/scroll-to-bottom-blob.d.ts +16 -0
- package/dist/components/scroll-to-bottom-blob.js +174 -0
- package/dist/components/select.d.ts +9 -0
- package/dist/components/select.js +12 -0
- package/dist/components/selectable.d.ts +13 -0
- package/dist/components/selectable.js +45 -0
- package/dist/components/send-action.d.ts +33 -0
- package/dist/components/send-action.js +96 -0
- package/dist/components/separator.d.ts +11 -0
- package/dist/components/separator.js +7 -0
- package/dist/components/skeleton.d.ts +5 -0
- package/dist/components/skeleton.js +7 -0
- package/dist/components/slider.d.ts +18 -0
- package/dist/components/slider.js +31 -0
- package/dist/components/stat.d.ts +17 -0
- package/dist/components/stat.js +7 -0
- package/dist/components/status-bead.d.ts +9 -0
- package/dist/components/status-bead.js +107 -0
- package/dist/components/status-mark.d.ts +12 -0
- package/dist/components/status-mark.js +177 -0
- package/dist/components/status.d.ts +38 -0
- package/dist/components/status.js +28 -0
- package/dist/components/store-card.d.ts +21 -0
- package/dist/components/store-card.js +10 -0
- package/dist/components/surface.d.ts +89 -0
- package/dist/components/surface.js +31 -0
- package/dist/components/switch-bead.d.ts +4 -0
- package/dist/components/switch-bead.js +62 -0
- package/dist/components/switch.d.ts +11 -0
- package/dist/components/switch.js +36 -0
- package/dist/components/tabs.d.ts +55 -0
- package/dist/components/tabs.js +81 -0
- package/dist/components/technonomicon.d.ts +192 -0
- package/dist/components/technonomicon.js +121 -0
- package/dist/components/textarea.d.ts +9 -0
- package/dist/components/textarea.js +11 -0
- package/dist/components/toaster.d.ts +4 -0
- package/dist/components/toaster.js +13 -0
- package/dist/components/tool-call-chip.d.ts +22 -0
- package/dist/components/tool-call-chip.js +100 -0
- package/dist/components/tooltip.d.ts +41 -0
- package/dist/components/tooltip.js +169 -0
- package/dist/components/trading-card.d.ts +60 -0
- package/dist/components/trading-card.js +13 -0
- package/dist/components/undo-action.d.ts +52 -0
- package/dist/components/undo-action.js +100 -0
- package/dist/components/undo-toast.d.ts +21 -0
- package/dist/components/undo-toast.js +58 -0
- package/dist/components/visually-hidden.d.ts +9 -0
- package/dist/components/visually-hidden.js +11 -0
- package/dist/components/window.d.ts +65 -0
- package/dist/components/window.js +31 -0
- package/dist/components/wizard.d.ts +17 -0
- package/dist/components/wizard.js +19 -0
- package/dist/enhance/cigarette-card.d.ts +8 -0
- package/dist/enhance/cigarette-card.js +33 -0
- package/dist/enhance/sketch.d.ts +16 -0
- package/dist/enhance/sketch.js +130 -0
- package/dist/form-error.d.ts +7 -0
- package/dist/form-error.js +14 -0
- package/dist/form-fields.d.ts +15 -0
- package/dist/form-fields.js +250 -0
- package/dist/form-schema.d.ts +166 -0
- package/dist/form-schema.js +398 -0
- package/dist/form.d.ts +30 -0
- package/dist/form.js +20 -0
- package/dist/lib/cn.d.ts +8 -0
- package/dist/lib/cn.js +12 -0
- package/dist/lib/format-money.d.ts +2 -0
- package/dist/lib/format-money.js +22 -0
- package/dist/lib/glide.d.ts +12 -0
- package/dist/lib/glide.js +143 -0
- package/dist/lib/ime.d.ts +3 -0
- package/dist/lib/ime.js +8 -0
- package/dist/lib/motion-spring.d.ts +27 -0
- package/dist/lib/motion-spring.js +36 -0
- package/dist/lib/motion.d.ts +51 -0
- package/dist/lib/motion.js +161 -0
- package/dist/lib/reorder-motion.d.ts +13 -0
- package/dist/lib/reorder-motion.js +201 -0
- package/dist/lib/seed-hash.d.ts +6 -0
- package/dist/lib/seed-hash.js +13 -0
- package/dist/lib/tanstack-highlight.d.ts +4 -0
- package/dist/lib/tanstack-highlight.js +41 -0
- package/dist/schema-form.d.ts +120 -0
- package/dist/schema-form.js +129 -0
- package/dist/styles.css +18814 -0
- package/docs/api/README.md +134 -0
- package/docs/api/blocks/app-bar.md +227 -0
- package/docs/api/blocks/app-status-bar.md +257 -0
- package/docs/api/blocks/async-state.md +53 -0
- package/docs/api/blocks/card-grid.md +31 -0
- package/docs/api/blocks/command-menu.md +89 -0
- package/docs/api/blocks/composer.md +40 -0
- package/docs/api/blocks/empty-state.md +97 -0
- package/docs/api/blocks/faq-chat.md +147 -0
- package/docs/api/blocks/game-share-card.md +40 -0
- package/docs/api/blocks/launcher-grid.md +86 -0
- package/docs/api/blocks/listing-detail.md +51 -0
- package/docs/api/blocks/loading-state.md +21 -0
- package/docs/api/blocks/mosaic.md +94 -0
- package/docs/api/blocks/permission-grid.md +79 -0
- package/docs/api/blocks/pricing-card.md +90 -0
- package/docs/api/blocks/release-tag.md +62 -0
- package/docs/api/blocks/resource-select.md +126 -0
- package/docs/api/blocks/result-state.md +42 -0
- package/docs/api/blocks/section-card.md +42 -0
- package/docs/api/blocks/section-heading.md +61 -0
- package/docs/api/blocks/spec-sheet.md +400 -0
- package/docs/api/blocks/status-tray.md +141 -0
- package/docs/api/blocks/upload-queue.md +110 -0
- package/docs/api/components/action-row.md +51 -0
- package/docs/api/components/activity-line.md +103 -0
- package/docs/api/components/alert.md +60 -0
- package/docs/api/components/badge.md +77 -0
- package/docs/api/components/button.md +94 -0
- package/docs/api/components/card.md +165 -0
- package/docs/api/components/chat-bubble.md +66 -0
- package/docs/api/components/checkbox-bead.md +20 -0
- package/docs/api/components/checkbox.md +42 -0
- package/docs/api/components/code-input.md +61 -0
- package/docs/api/components/combobox.md +303 -0
- package/docs/api/components/confirm-action.md +58 -0
- package/docs/api/components/copy-field.md +106 -0
- package/docs/api/components/count-badge.md +39 -0
- package/docs/api/components/cover-pattern.md +43 -0
- package/docs/api/components/data-list.md +80 -0
- package/docs/api/components/dialog.md +235 -0
- package/docs/api/components/diff-view.md +59 -0
- package/docs/api/components/disclosure.md +71 -0
- package/docs/api/components/dropdown-menu.md +269 -0
- package/docs/api/components/field-guide.md +174 -0
- package/docs/api/components/field.md +252 -0
- package/docs/api/components/game-feedback.md +157 -0
- package/docs/api/components/game-hud.md +359 -0
- package/docs/api/components/generation-frame.md +59 -0
- package/docs/api/components/hold-button.md +44 -0
- package/docs/api/components/icon-button.md +56 -0
- package/docs/api/components/icon-checkbox.md +42 -0
- package/docs/api/components/icon-choice-mark.md +31 -0
- package/docs/api/components/icon-lamp.md +92 -0
- package/docs/api/components/icon-radio.md +42 -0
- package/docs/api/components/inline-code.md +21 -0
- package/docs/api/components/input-group.md +53 -0
- package/docs/api/components/input.md +54 -0
- package/docs/api/components/item-grid.md +262 -0
- package/docs/api/components/keycap.md +102 -0
- package/docs/api/components/label.md +40 -0
- package/docs/api/components/listbox.md +131 -0
- package/docs/api/components/loader-blobs.md +9 -0
- package/docs/api/components/loader.md +51 -0
- package/docs/api/components/markdown.md +91 -0
- package/docs/api/components/minimap-labels.md +84 -0
- package/docs/api/components/monogram.md +96 -0
- package/docs/api/components/motion-visibility.md +9 -0
- package/docs/api/components/navigation-rail.md +37 -0
- package/docs/api/components/overlay-root.md +92 -0
- package/docs/api/components/pixel-number.md +120 -0
- package/docs/api/components/popover.md +80 -0
- package/docs/api/components/presence.md +106 -0
- package/docs/api/components/price-tag.md +48 -0
- package/docs/api/components/progress.md +90 -0
- package/docs/api/components/prose.md +48 -0
- package/docs/api/components/quota-meter.md +47 -0
- package/docs/api/components/radio-bead.md +9 -0
- package/docs/api/components/radio-group.md +126 -0
- package/docs/api/components/resize-handle.md +46 -0
- package/docs/api/components/rough-drawing.md +122 -0
- package/docs/api/components/rough.md +66 -0
- package/docs/api/components/scroll-area.md +22 -0
- package/docs/api/components/scroll-motion.md +9 -0
- package/docs/api/components/scroll-to-bottom-blob-state.md +162 -0
- package/docs/api/components/scroll-to-bottom-blob.md +73 -0
- package/docs/api/components/select.md +39 -0
- package/docs/api/components/send-action.md +58 -0
- package/docs/api/components/separator.md +38 -0
- package/docs/api/components/skeleton.md +31 -0
- package/docs/api/components/slider.md +70 -0
- package/docs/api/components/stat.md +42 -0
- package/docs/api/components/status-bead.md +19 -0
- package/docs/api/components/status-mark.md +19 -0
- package/docs/api/components/status.md +105 -0
- package/docs/api/components/store-card.md +53 -0
- package/docs/api/components/surface.md +161 -0
- package/docs/api/components/switch-bead.md +9 -0
- package/docs/api/components/switch.md +40 -0
- package/docs/api/components/tabs.md +138 -0
- package/docs/api/components/technonomicon.md +773 -0
- package/docs/api/components/textarea.md +40 -0
- package/docs/api/components/toaster.md +29 -0
- package/docs/api/components/tool-call-chip.md +68 -0
- package/docs/api/components/tooltip.md +113 -0
- package/docs/api/components/trading-card.md +95 -0
- package/docs/api/components/undo-action.md +117 -0
- package/docs/api/components/undo-toast.md +49 -0
- package/docs/api/components/visually-hidden.md +37 -0
- package/docs/api/components/window.md +291 -0
- package/docs/api/components/wizard.md +65 -0
- package/docs/api/enhance/cigarette-card.md +52 -0
- package/docs/api/enhance/sketch.md +42 -0
- package/docs/api/form.md +1623 -0
- package/docs/api/lib/cn.md +46 -0
- package/docs/api/lib/format-money.md +30 -0
- package/docs/api/lib/glide.md +36 -0
- package/docs/api/lib/ime.md +29 -0
- package/docs/api/lib/motion-spring.md +91 -0
- package/docs/api/lib/motion.md +212 -0
- package/docs/api/lib/reorder-motion.md +46 -0
- package/docs/api/lib/seed-hash.md +31 -0
- package/docs/api/lib/tanstack-highlight.md +40 -0
- package/package.json +597 -3
- package/src/app-status-bar.css +158 -0
- package/src/fonts.css +1 -0
- package/src/status-tray.css +282 -0
- package/src/styles.css +10177 -0
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
<!-- Generated by Botanical API docs (TypeDoc + typedoc-plugin-markdown). Do not edit. -->
|
|
2
|
+
|
|
3
|
+
**@fungi.computer/caps**
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# @fungi.computer/caps
|
|
8
|
+
|
|
9
|
+
## Modules
|
|
10
|
+
|
|
11
|
+
| Module | Description |
|
|
12
|
+
| ----------------------------------------------------------------------------------- | ----------- |
|
|
13
|
+
| [blocks/app-bar](blocks/app-bar.md) | - |
|
|
14
|
+
| [blocks/app-status-bar](blocks/app-status-bar.md) | - |
|
|
15
|
+
| [blocks/async-state](blocks/async-state.md) | - |
|
|
16
|
+
| [blocks/card-grid](blocks/card-grid.md) | - |
|
|
17
|
+
| [blocks/command-menu](blocks/command-menu.md) | - |
|
|
18
|
+
| [blocks/composer](blocks/composer.md) | - |
|
|
19
|
+
| [blocks/empty-state](blocks/empty-state.md) | - |
|
|
20
|
+
| [blocks/faq-chat](blocks/faq-chat.md) | - |
|
|
21
|
+
| [blocks/game-share-card](blocks/game-share-card.md) | - |
|
|
22
|
+
| [blocks/launcher-grid](blocks/launcher-grid.md) | - |
|
|
23
|
+
| [blocks/listing-detail](blocks/listing-detail.md) | - |
|
|
24
|
+
| [blocks/loading-state](blocks/loading-state.md) | - |
|
|
25
|
+
| [blocks/mosaic](blocks/mosaic.md) | - |
|
|
26
|
+
| [blocks/permission-grid](blocks/permission-grid.md) | - |
|
|
27
|
+
| [blocks/pricing-card](blocks/pricing-card.md) | - |
|
|
28
|
+
| [blocks/release-tag](blocks/release-tag.md) | - |
|
|
29
|
+
| [blocks/resource-select](blocks/resource-select.md) | - |
|
|
30
|
+
| [blocks/result-state](blocks/result-state.md) | - |
|
|
31
|
+
| [blocks/section-card](blocks/section-card.md) | - |
|
|
32
|
+
| [blocks/section-heading](blocks/section-heading.md) | - |
|
|
33
|
+
| [blocks/spec-sheet](blocks/spec-sheet.md) | - |
|
|
34
|
+
| [blocks/status-tray](blocks/status-tray.md) | - |
|
|
35
|
+
| [blocks/upload-queue](blocks/upload-queue.md) | - |
|
|
36
|
+
| [components/action-row](components/action-row.md) | - |
|
|
37
|
+
| [components/activity-line](components/activity-line.md) | - |
|
|
38
|
+
| [components/alert](components/alert.md) | - |
|
|
39
|
+
| [components/badge](components/badge.md) | - |
|
|
40
|
+
| [components/button](components/button.md) | - |
|
|
41
|
+
| [components/card](components/card.md) | - |
|
|
42
|
+
| [components/chat-bubble](components/chat-bubble.md) | - |
|
|
43
|
+
| [components/checkbox-bead](components/checkbox-bead.md) | - |
|
|
44
|
+
| [components/checkbox](components/checkbox.md) | - |
|
|
45
|
+
| [components/code-input](components/code-input.md) | - |
|
|
46
|
+
| [components/combobox](components/combobox.md) | - |
|
|
47
|
+
| [components/confirm-action](components/confirm-action.md) | - |
|
|
48
|
+
| [components/copy-field](components/copy-field.md) | - |
|
|
49
|
+
| [components/count-badge](components/count-badge.md) | - |
|
|
50
|
+
| [components/cover-pattern](components/cover-pattern.md) | - |
|
|
51
|
+
| [components/data-list](components/data-list.md) | - |
|
|
52
|
+
| [components/dialog](components/dialog.md) | - |
|
|
53
|
+
| [components/diff-view](components/diff-view.md) | - |
|
|
54
|
+
| [components/disclosure](components/disclosure.md) | - |
|
|
55
|
+
| [components/dropdown-menu](components/dropdown-menu.md) | - |
|
|
56
|
+
| [components/field-guide](components/field-guide.md) | - |
|
|
57
|
+
| [components/field](components/field.md) | - |
|
|
58
|
+
| [components/game-feedback](components/game-feedback.md) | - |
|
|
59
|
+
| [components/game-hud](components/game-hud.md) | - |
|
|
60
|
+
| [components/generation-frame](components/generation-frame.md) | - |
|
|
61
|
+
| [components/hold-button](components/hold-button.md) | - |
|
|
62
|
+
| [components/icon-button](components/icon-button.md) | - |
|
|
63
|
+
| [components/icon-checkbox](components/icon-checkbox.md) | - |
|
|
64
|
+
| [components/icon-choice-mark](components/icon-choice-mark.md) | - |
|
|
65
|
+
| [components/icon-lamp](components/icon-lamp.md) | - |
|
|
66
|
+
| [components/icon-radio](components/icon-radio.md) | - |
|
|
67
|
+
| [components/inline-code](components/inline-code.md) | - |
|
|
68
|
+
| [components/input-group](components/input-group.md) | - |
|
|
69
|
+
| [components/input](components/input.md) | - |
|
|
70
|
+
| [components/item-grid](components/item-grid.md) | - |
|
|
71
|
+
| [components/keycap](components/keycap.md) | - |
|
|
72
|
+
| [components/label](components/label.md) | - |
|
|
73
|
+
| [components/listbox](components/listbox.md) | - |
|
|
74
|
+
| [components/loader-blobs](components/loader-blobs.md) | - |
|
|
75
|
+
| [components/loader](components/loader.md) | - |
|
|
76
|
+
| [components/markdown](components/markdown.md) | - |
|
|
77
|
+
| [components/minimap-labels](components/minimap-labels.md) | - |
|
|
78
|
+
| [components/monogram](components/monogram.md) | - |
|
|
79
|
+
| [components/motion-visibility](components/motion-visibility.md) | - |
|
|
80
|
+
| [components/navigation-rail](components/navigation-rail.md) | - |
|
|
81
|
+
| [components/overlay-root](components/overlay-root.md) | - |
|
|
82
|
+
| [components/pixel-number](components/pixel-number.md) | - |
|
|
83
|
+
| [components/popover](components/popover.md) | - |
|
|
84
|
+
| [components/presence](components/presence.md) | - |
|
|
85
|
+
| [components/price-tag](components/price-tag.md) | - |
|
|
86
|
+
| [components/progress](components/progress.md) | - |
|
|
87
|
+
| [components/prose](components/prose.md) | - |
|
|
88
|
+
| [components/quota-meter](components/quota-meter.md) | - |
|
|
89
|
+
| [components/radio-bead](components/radio-bead.md) | - |
|
|
90
|
+
| [components/radio-group](components/radio-group.md) | - |
|
|
91
|
+
| [components/resize-handle](components/resize-handle.md) | - |
|
|
92
|
+
| [components/rough-drawing](components/rough-drawing.md) | - |
|
|
93
|
+
| [components/rough](components/rough.md) | - |
|
|
94
|
+
| [components/scroll-area](components/scroll-area.md) | - |
|
|
95
|
+
| [components/scroll-motion](components/scroll-motion.md) | - |
|
|
96
|
+
| [components/scroll-to-bottom-blob-state](components/scroll-to-bottom-blob-state.md) | - |
|
|
97
|
+
| [components/scroll-to-bottom-blob](components/scroll-to-bottom-blob.md) | - |
|
|
98
|
+
| [components/select](components/select.md) | - |
|
|
99
|
+
| [components/send-action](components/send-action.md) | - |
|
|
100
|
+
| [components/separator](components/separator.md) | - |
|
|
101
|
+
| [components/skeleton](components/skeleton.md) | - |
|
|
102
|
+
| [components/slider](components/slider.md) | - |
|
|
103
|
+
| [components/stat](components/stat.md) | - |
|
|
104
|
+
| [components/status-bead](components/status-bead.md) | - |
|
|
105
|
+
| [components/status-mark](components/status-mark.md) | - |
|
|
106
|
+
| [components/status](components/status.md) | - |
|
|
107
|
+
| [components/store-card](components/store-card.md) | - |
|
|
108
|
+
| [components/surface](components/surface.md) | - |
|
|
109
|
+
| [components/switch-bead](components/switch-bead.md) | - |
|
|
110
|
+
| [components/switch](components/switch.md) | - |
|
|
111
|
+
| [components/tabs](components/tabs.md) | - |
|
|
112
|
+
| [components/technonomicon](components/technonomicon.md) | - |
|
|
113
|
+
| [components/textarea](components/textarea.md) | - |
|
|
114
|
+
| [components/toaster](components/toaster.md) | - |
|
|
115
|
+
| [components/tool-call-chip](components/tool-call-chip.md) | - |
|
|
116
|
+
| [components/tooltip](components/tooltip.md) | - |
|
|
117
|
+
| [components/trading-card](components/trading-card.md) | - |
|
|
118
|
+
| [components/undo-action](components/undo-action.md) | - |
|
|
119
|
+
| [components/undo-toast](components/undo-toast.md) | - |
|
|
120
|
+
| [components/visually-hidden](components/visually-hidden.md) | - |
|
|
121
|
+
| [components/window](components/window.md) | - |
|
|
122
|
+
| [components/wizard](components/wizard.md) | - |
|
|
123
|
+
| [enhance/cigarette-card](enhance/cigarette-card.md) | - |
|
|
124
|
+
| [enhance/sketch](enhance/sketch.md) | - |
|
|
125
|
+
| [form](form.md) | - |
|
|
126
|
+
| [lib/cn](lib/cn.md) | - |
|
|
127
|
+
| [lib/format-money](lib/format-money.md) | - |
|
|
128
|
+
| [lib/glide](lib/glide.md) | - |
|
|
129
|
+
| [lib/ime](lib/ime.md) | - |
|
|
130
|
+
| [lib/motion-spring](lib/motion-spring.md) | - |
|
|
131
|
+
| [lib/motion](lib/motion.md) | - |
|
|
132
|
+
| [lib/reorder-motion](lib/reorder-motion.md) | - |
|
|
133
|
+
| [lib/seed-hash](lib/seed-hash.md) | - |
|
|
134
|
+
| [lib/tanstack-highlight](lib/tanstack-highlight.md) | - |
|
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
<!-- Generated by Botanical API docs (TypeDoc + typedoc-plugin-markdown). Do not edit. -->
|
|
2
|
+
|
|
3
|
+
[**@fungi.computer/caps**](../README.md)
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
[@fungi.computer/caps](../README.md) / blocks/app-bar
|
|
8
|
+
|
|
9
|
+
# blocks/app-bar
|
|
10
|
+
|
|
11
|
+
## Type Aliases
|
|
12
|
+
|
|
13
|
+
### AppBarItem
|
|
14
|
+
|
|
15
|
+
```ts
|
|
16
|
+
type AppBarItem = object;
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
A caller-owned running App window or available App launcher.
|
|
20
|
+
|
|
21
|
+
#### Properties
|
|
22
|
+
|
|
23
|
+
##### id
|
|
24
|
+
|
|
25
|
+
```ts
|
|
26
|
+
id: string;
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
##### label
|
|
30
|
+
|
|
31
|
+
```ts
|
|
32
|
+
label: string;
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
##### icon?
|
|
36
|
+
|
|
37
|
+
```ts
|
|
38
|
+
optional icon?: ReactNode;
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
##### active?
|
|
42
|
+
|
|
43
|
+
```ts
|
|
44
|
+
optional active?: boolean;
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
##### onSelect
|
|
48
|
+
|
|
49
|
+
```ts
|
|
50
|
+
onSelect: () => void;
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
Request focusing a running window or opening an available App.
|
|
54
|
+
|
|
55
|
+
###### Returns
|
|
56
|
+
|
|
57
|
+
`void`
|
|
58
|
+
|
|
59
|
+
##### onClose?
|
|
60
|
+
|
|
61
|
+
```ts
|
|
62
|
+
optional onClose?: () => void;
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Request closing; the caller owns disposal and removal.
|
|
66
|
+
|
|
67
|
+
###### Returns
|
|
68
|
+
|
|
69
|
+
`void`
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
### AppBarProps
|
|
74
|
+
|
|
75
|
+
```ts
|
|
76
|
+
type AppBarProps = object;
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
Caller-owned apps and actions; AppBar owns only presentation and disclosure.
|
|
80
|
+
|
|
81
|
+
#### Properties
|
|
82
|
+
|
|
83
|
+
##### container?
|
|
84
|
+
|
|
85
|
+
```ts
|
|
86
|
+
optional container?: HTMLElement | null;
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
Portal container for the App dial; defaults to the document body.
|
|
90
|
+
|
|
91
|
+
##### windows
|
|
92
|
+
|
|
93
|
+
```ts
|
|
94
|
+
windows: readonly AppBarItem[];
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
##### launchers
|
|
98
|
+
|
|
99
|
+
```ts
|
|
100
|
+
launchers: readonly AppBarItem[];
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
Team Apps available to launch from the speed dial.
|
|
104
|
+
|
|
105
|
+
##### sessions?
|
|
106
|
+
|
|
107
|
+
```ts
|
|
108
|
+
optional sessions?: readonly AppBarItem[];
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
Recent Sessions supplied by the shell's session owner.
|
|
112
|
+
|
|
113
|
+
##### launcherLabels?
|
|
114
|
+
|
|
115
|
+
```ts
|
|
116
|
+
optional launcherLabels?: "truncate" | "wrap";
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
Keep long launcher names readable instead of truncating them.
|
|
120
|
+
|
|
121
|
+
##### alwaysExpanded?
|
|
122
|
+
|
|
123
|
+
```ts
|
|
124
|
+
optional alwaysExpanded?: boolean;
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
##### isOpen?
|
|
128
|
+
|
|
129
|
+
```ts
|
|
130
|
+
optional isOpen?: boolean;
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
Control the compact App dial from the surrounding shell.
|
|
134
|
+
|
|
135
|
+
##### onOpenChange?
|
|
136
|
+
|
|
137
|
+
```ts
|
|
138
|
+
optional onOpenChange?: (open) => void;
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
Report requests to open or dismiss the compact App dial.
|
|
142
|
+
|
|
143
|
+
###### Parameters
|
|
144
|
+
|
|
145
|
+
| Parameter | Type |
|
|
146
|
+
| --------- | --------- |
|
|
147
|
+
| `open` | `boolean` |
|
|
148
|
+
|
|
149
|
+
###### Returns
|
|
150
|
+
|
|
151
|
+
`void`
|
|
152
|
+
|
|
153
|
+
##### emptyLabel?
|
|
154
|
+
|
|
155
|
+
```ts
|
|
156
|
+
optional emptyLabel?: ReactNode;
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
##### launcher
|
|
160
|
+
|
|
161
|
+
```ts
|
|
162
|
+
launcher: object;
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
###### label
|
|
166
|
+
|
|
167
|
+
```ts
|
|
168
|
+
label: string;
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
###### icon?
|
|
172
|
+
|
|
173
|
+
```ts
|
|
174
|
+
optional icon?: ReactNode;
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
##### primaryAction?
|
|
178
|
+
|
|
179
|
+
```ts
|
|
180
|
+
optional primaryAction?: object;
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
A primary action revealed above the launcher, such as starting a chat.
|
|
184
|
+
|
|
185
|
+
###### label
|
|
186
|
+
|
|
187
|
+
```ts
|
|
188
|
+
label: string;
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
###### icon
|
|
192
|
+
|
|
193
|
+
```ts
|
|
194
|
+
icon: ReactNode;
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
###### onSelect
|
|
198
|
+
|
|
199
|
+
```ts
|
|
200
|
+
onSelect: () => void;
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
Invoke the caller-owned primary action.
|
|
204
|
+
|
|
205
|
+
###### Returns
|
|
206
|
+
|
|
207
|
+
`void`
|
|
208
|
+
|
|
209
|
+
## Functions
|
|
210
|
+
|
|
211
|
+
### AppBar()
|
|
212
|
+
|
|
213
|
+
```ts
|
|
214
|
+
function AppBar(__namedParameters): Element;
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
An anchored launcher between persistent running apps and a spring-out app tray.
|
|
218
|
+
|
|
219
|
+
#### Parameters
|
|
220
|
+
|
|
221
|
+
| Parameter | Type |
|
|
222
|
+
| ------------------- | ----------------------------- |
|
|
223
|
+
| `__namedParameters` | [`AppBarProps`](#appbarprops) |
|
|
224
|
+
|
|
225
|
+
#### Returns
|
|
226
|
+
|
|
227
|
+
`Element`
|
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
<!-- Generated by Botanical API docs (TypeDoc + typedoc-plugin-markdown). Do not edit. -->
|
|
2
|
+
|
|
3
|
+
[**@fungi.computer/caps**](../README.md)
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
[@fungi.computer/caps](../README.md) / blocks/app-status-bar
|
|
8
|
+
|
|
9
|
+
# blocks/app-status-bar
|
|
10
|
+
|
|
11
|
+
## Type Aliases
|
|
12
|
+
|
|
13
|
+
### AppStatusBarProps
|
|
14
|
+
|
|
15
|
+
```ts
|
|
16
|
+
type AppStatusBarProps = HTMLAttributes<HTMLElement> & object;
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Props accepted by AppStatusBar.
|
|
20
|
+
|
|
21
|
+
#### Type Declaration
|
|
22
|
+
|
|
23
|
+
| Name | Type | Description |
|
|
24
|
+
| ------------- | ----------- | --------------------------------------------------------------------------------------------------------------------------------- |
|
|
25
|
+
| `attachment?` | `ReactNode` | What this window is attached to: a StatusBarPicker, or a plain AppStatusItem when it cannot be changed. Every App keeps it first. |
|
|
26
|
+
| `end?` | `ReactNode` | Readouts held at the far end, such as save state. |
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
### StatusBarPickerOption
|
|
31
|
+
|
|
32
|
+
```ts
|
|
33
|
+
type StatusBarPickerOption = Readonly<{
|
|
34
|
+
id: string;
|
|
35
|
+
label: string;
|
|
36
|
+
}>;
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
One choice a status bar picker offers.
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
### StatusBarPickerProps
|
|
44
|
+
|
|
45
|
+
```ts
|
|
46
|
+
type StatusBarPickerProps = object;
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Props accepted by StatusBarPicker.
|
|
50
|
+
|
|
51
|
+
#### Properties
|
|
52
|
+
|
|
53
|
+
##### noun
|
|
54
|
+
|
|
55
|
+
```ts
|
|
56
|
+
noun: string;
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
What is picked, e.g. "Computer"; the trigger is named "\<noun\>: \<label\>".
|
|
60
|
+
|
|
61
|
+
##### pluralNoun
|
|
62
|
+
|
|
63
|
+
```ts
|
|
64
|
+
pluralNoun: string;
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
The plural used for searching, e.g. "Computers".
|
|
68
|
+
|
|
69
|
+
##### icon
|
|
70
|
+
|
|
71
|
+
```ts
|
|
72
|
+
icon: ReactNode;
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
The picked thing's mark, shown before its label.
|
|
76
|
+
|
|
77
|
+
##### options
|
|
78
|
+
|
|
79
|
+
```ts
|
|
80
|
+
options: readonly StatusBarPickerOption[];
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
##### value
|
|
84
|
+
|
|
85
|
+
```ts
|
|
86
|
+
value: string | null;
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
The selected option id; `null` when nothing is attached.
|
|
90
|
+
|
|
91
|
+
##### onSelect
|
|
92
|
+
|
|
93
|
+
```ts
|
|
94
|
+
onSelect: (id) => void;
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
Called with a different option's id.
|
|
98
|
+
|
|
99
|
+
###### Parameters
|
|
100
|
+
|
|
101
|
+
| Parameter | Type |
|
|
102
|
+
| --------- | -------- |
|
|
103
|
+
| `id` | `string` |
|
|
104
|
+
|
|
105
|
+
###### Returns
|
|
106
|
+
|
|
107
|
+
`void`
|
|
108
|
+
|
|
109
|
+
##### emptyMessage?
|
|
110
|
+
|
|
111
|
+
```ts
|
|
112
|
+
optional emptyMessage?: ReactNode;
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
Shown when the list is empty, e.g. why nothing can be chosen.
|
|
116
|
+
|
|
117
|
+
##### accessibleLabel?
|
|
118
|
+
|
|
119
|
+
```ts
|
|
120
|
+
optional accessibleLabel?: string;
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
The trigger's accessible name; defaults to "\<noun\>: \<label\>".
|
|
124
|
+
|
|
125
|
+
##### disabled?
|
|
126
|
+
|
|
127
|
+
```ts
|
|
128
|
+
optional disabled?: boolean;
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
##### open?
|
|
132
|
+
|
|
133
|
+
```ts
|
|
134
|
+
optional open?: boolean;
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
Host-owned popup visibility; omitted for the ordinary trigger-owned picker.
|
|
138
|
+
|
|
139
|
+
##### onOpenChange?
|
|
140
|
+
|
|
141
|
+
```ts
|
|
142
|
+
optional onOpenChange?: (open) => void;
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
Reports popup dismissal or trigger activation to the host.
|
|
146
|
+
|
|
147
|
+
###### Parameters
|
|
148
|
+
|
|
149
|
+
| Parameter | Type |
|
|
150
|
+
| --------- | --------- |
|
|
151
|
+
| `open` | `boolean` |
|
|
152
|
+
|
|
153
|
+
###### Returns
|
|
154
|
+
|
|
155
|
+
`void`
|
|
156
|
+
|
|
157
|
+
---
|
|
158
|
+
|
|
159
|
+
### StatusBarChipProps
|
|
160
|
+
|
|
161
|
+
```ts
|
|
162
|
+
type StatusBarChipProps = Omit<
|
|
163
|
+
ButtonHTMLAttributes<HTMLButtonElement>,
|
|
164
|
+
"children"
|
|
165
|
+
> &
|
|
166
|
+
object;
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
Props accepted by StatusBarChip.
|
|
170
|
+
|
|
171
|
+
#### Type Declaration
|
|
172
|
+
|
|
173
|
+
| Name | Type | Description |
|
|
174
|
+
| ----------- | ----------- | --------------------------------------------------------------------------------------------------------------------- |
|
|
175
|
+
| `label` | `ReactNode` | Visible name of the item, e.g. "Ports". |
|
|
176
|
+
| `icon?` | `ReactNode` | Decorative mark before the label; on a phone the chip shows it alone. |
|
|
177
|
+
| `readout?` | `ReactNode` | A readout after the label, such as a CountBadge. |
|
|
178
|
+
| `pressed?` | `boolean` | Toggle state. `undefined` is an ordinary action; a boolean adds `aria-pressed` and fills the chip while on. |
|
|
179
|
+
| `expanded?` | `boolean` | Disclosure state for a chip that opens a menu or panel. A boolean adds `aria-expanded` and fills the chip while open. |
|
|
180
|
+
|
|
181
|
+
## Variables
|
|
182
|
+
|
|
183
|
+
### StatusBarChip
|
|
184
|
+
|
|
185
|
+
```ts
|
|
186
|
+
const StatusBarChip: ForwardRefExoticComponent<
|
|
187
|
+
Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children"> &
|
|
188
|
+
object &
|
|
189
|
+
RefAttributes<HTMLButtonElement>
|
|
190
|
+
>;
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
One App-declared status bar control (an action, a toggle or a menu trigger): a
|
|
194
|
+
flat chip with the same quiet face as StatusBarPicker. It forwards its ref and
|
|
195
|
+
props, so a menu can render it as its trigger.
|
|
196
|
+
|
|
197
|
+
## Functions
|
|
198
|
+
|
|
199
|
+
### AppStatusBar()
|
|
200
|
+
|
|
201
|
+
```ts
|
|
202
|
+
function AppStatusBar(__namedParameters): Element;
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
One App window's status bar: its attachment first, then the App's own readouts,
|
|
206
|
+
with an optional far-end readout. One bar per window.
|
|
207
|
+
|
|
208
|
+
#### Parameters
|
|
209
|
+
|
|
210
|
+
| Parameter | Type |
|
|
211
|
+
| ------------------- | ----------------------------------------- |
|
|
212
|
+
| `__namedParameters` | [`AppStatusBarProps`](#appstatusbarprops) |
|
|
213
|
+
|
|
214
|
+
#### Returns
|
|
215
|
+
|
|
216
|
+
`Element`
|
|
217
|
+
|
|
218
|
+
---
|
|
219
|
+
|
|
220
|
+
### AppStatusItem()
|
|
221
|
+
|
|
222
|
+
```ts
|
|
223
|
+
function AppStatusItem(__namedParameters): Element;
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
One quiet status readout.
|
|
227
|
+
|
|
228
|
+
#### Parameters
|
|
229
|
+
|
|
230
|
+
| Parameter | Type |
|
|
231
|
+
| ------------------- | ------------------------------------- |
|
|
232
|
+
| `__namedParameters` | `HTMLAttributes`\<`HTMLSpanElement`\> |
|
|
233
|
+
|
|
234
|
+
#### Returns
|
|
235
|
+
|
|
236
|
+
`Element`
|
|
237
|
+
|
|
238
|
+
---
|
|
239
|
+
|
|
240
|
+
### StatusBarPicker()
|
|
241
|
+
|
|
242
|
+
```ts
|
|
243
|
+
function StatusBarPicker(__namedParameters): Element;
|
|
244
|
+
```
|
|
245
|
+
|
|
246
|
+
The status bar's attachment picker: a quiet label that opens a searchable list
|
|
247
|
+
above the bar. Selection is a request; the caller owns the change.
|
|
248
|
+
|
|
249
|
+
#### Parameters
|
|
250
|
+
|
|
251
|
+
| Parameter | Type |
|
|
252
|
+
| ------------------- | ----------------------------------------------- |
|
|
253
|
+
| `__namedParameters` | [`StatusBarPickerProps`](#statusbarpickerprops) |
|
|
254
|
+
|
|
255
|
+
#### Returns
|
|
256
|
+
|
|
257
|
+
`Element`
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
<!-- Generated by Botanical API docs (TypeDoc + typedoc-plugin-markdown). Do not edit. -->
|
|
2
|
+
|
|
3
|
+
[**@fungi.computer/caps**](../README.md)
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
[@fungi.computer/caps](../README.md) / blocks/async-state
|
|
8
|
+
|
|
9
|
+
# blocks/async-state
|
|
10
|
+
|
|
11
|
+
## Type Aliases
|
|
12
|
+
|
|
13
|
+
### AsyncStateValue
|
|
14
|
+
|
|
15
|
+
```ts
|
|
16
|
+
type AsyncStateValue = "loading" | "empty" | "error" | "content";
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Supported AsyncStateValue values.
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
### AsyncStateProps
|
|
24
|
+
|
|
25
|
+
```ts
|
|
26
|
+
type AsyncStateProps = Omit<HTMLAttributes<HTMLDivElement>, "content"> & object;
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Props accepted by AsyncState.
|
|
30
|
+
|
|
31
|
+
#### Type Declaration
|
|
32
|
+
|
|
33
|
+
| Name | Type | Description |
|
|
34
|
+
| --------- | ------------------------------------- | ----------------------------------------------------------------------- |
|
|
35
|
+
| `state` | [`AsyncStateValue`](#asyncstatevalue) | The host's explicit state; this block does not infer it from its slots. |
|
|
36
|
+
| `loading` | `ReactNode` | - |
|
|
37
|
+
| `empty` | `ReactNode` | - |
|
|
38
|
+
| `error` | `ReactNode` | - |
|
|
39
|
+
| `content` | `ReactNode` | - |
|
|
40
|
+
|
|
41
|
+
## Variables
|
|
42
|
+
|
|
43
|
+
### AsyncState
|
|
44
|
+
|
|
45
|
+
```ts
|
|
46
|
+
const AsyncState: ForwardRefExoticComponent<
|
|
47
|
+
Omit<HTMLAttributes<HTMLDivElement>, "content"> &
|
|
48
|
+
object &
|
|
49
|
+
RefAttributes<HTMLDivElement>
|
|
50
|
+
>;
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
Selects a caller-rendered state region without fetching or inventing copy.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<!-- Generated by Botanical API docs (TypeDoc + typedoc-plugin-markdown). Do not edit. -->
|
|
2
|
+
|
|
3
|
+
[**@fungi.computer/caps**](../README.md)
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
[@fungi.computer/caps](../README.md) / blocks/card-grid
|
|
8
|
+
|
|
9
|
+
# blocks/card-grid
|
|
10
|
+
|
|
11
|
+
## Type Aliases
|
|
12
|
+
|
|
13
|
+
### CardGridMinWidth
|
|
14
|
+
|
|
15
|
+
```ts
|
|
16
|
+
type CardGridMinWidth = "narrow" | "regular" | "wide";
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Minimum width for a card column before the grid adds another column.
|
|
20
|
+
|
|
21
|
+
## Variables
|
|
22
|
+
|
|
23
|
+
### CardGrid
|
|
24
|
+
|
|
25
|
+
```ts
|
|
26
|
+
const CardGrid: ForwardRefExoticComponent<
|
|
27
|
+
HTMLAttributes<HTMLDivElement> & object & RefAttributes<HTMLDivElement>
|
|
28
|
+
>;
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
A responsive grid that fits complete cards to the available content width.
|