@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,303 @@
|
|
|
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) / components/combobox
|
|
8
|
+
|
|
9
|
+
# components/combobox
|
|
10
|
+
|
|
11
|
+
## Type Aliases
|
|
12
|
+
|
|
13
|
+
### ComboboxItemState
|
|
14
|
+
|
|
15
|
+
```ts
|
|
16
|
+
type ComboboxItemState = object;
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Intrinsic focus and selection state supplied when rendering a Combobox item.
|
|
20
|
+
|
|
21
|
+
#### Properties
|
|
22
|
+
|
|
23
|
+
##### active
|
|
24
|
+
|
|
25
|
+
```ts
|
|
26
|
+
active: boolean;
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
##### disabled
|
|
30
|
+
|
|
31
|
+
```ts
|
|
32
|
+
disabled: boolean;
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
##### selected
|
|
36
|
+
|
|
37
|
+
```ts
|
|
38
|
+
selected: boolean;
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
### ComboboxProps
|
|
44
|
+
|
|
45
|
+
```ts
|
|
46
|
+
type ComboboxProps<T> = ComboboxBaseProps<T> &
|
|
47
|
+
| ComboboxInlineProps
|
|
48
|
+
| ComboboxPopupProps & ComboboxValueProps<T>;
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
Props accepted by Combobox.
|
|
52
|
+
|
|
53
|
+
#### Type Parameters
|
|
54
|
+
|
|
55
|
+
| Type Parameter |
|
|
56
|
+
| -------------- |
|
|
57
|
+
| `T` |
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
### ComboboxBaseProps
|
|
62
|
+
|
|
63
|
+
```ts
|
|
64
|
+
type ComboboxBaseProps<T> = object &
|
|
65
|
+
Omit<React.HTMLAttributes<HTMLDivElement>, "defaultValue" | "value">;
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
Props shared by every Combobox mode: item shape, rendering, and field wiring.
|
|
69
|
+
|
|
70
|
+
#### Type Declaration
|
|
71
|
+
|
|
72
|
+
| Name | Type | Description |
|
|
73
|
+
| ------------------- | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------- |
|
|
74
|
+
| `activeTone?` | `"neutral"` \| `"primary"` | Color intent for the locally active option. |
|
|
75
|
+
| `container?` | `BasePopover.Portal.Props`\[`"container"`\] | Native portal destination. Use an unclipped themed container for nested themes. |
|
|
76
|
+
| `contentClassName?` | `string` | - |
|
|
77
|
+
| `emptyMessage?` | `ReactNode` | - |
|
|
78
|
+
| `getKey()` | (`item`) => `string` | Returns the stable identity used to track and compare items. |
|
|
79
|
+
| `getLabel()` | (`item`) => `string` | Returns the text shown for an item in the trigger and the list. |
|
|
80
|
+
| `getSearchText()?` | (`item`) => `string` | Returns the text matched against caller input; defaults to the item's label. |
|
|
81
|
+
| `groupBy()?` | (`item`) => `string` | Returns the heading an item is grouped under in the list. |
|
|
82
|
+
| `id?` | `string` | Identifies the popup trigger or inline input for native label association. |
|
|
83
|
+
| `inputProps?` | `Omit`\<`React.InputHTMLAttributes`\<`HTMLInputElement`\>, `"defaultValue"` \| `"value"`\> | - |
|
|
84
|
+
| `inputRef?` | `React.Ref`\<`HTMLInputElement`\> | - |
|
|
85
|
+
| `rootRef?` | `React.Ref`\<`HTMLDivElement`\> | Receives the selection control's root div. |
|
|
86
|
+
| `isDisabled()?` | (`item`) => `boolean` | Returns whether an item is unselectable. |
|
|
87
|
+
| `items` | readonly `T`[] | - |
|
|
88
|
+
| `placeholder?` | `string` | - |
|
|
89
|
+
| `renderItem()?` | (`item`, `active`, `state`) => `ReactNode` | Renders one item's content; defaults to its label. |
|
|
90
|
+
|
|
91
|
+
#### Type Parameters
|
|
92
|
+
|
|
93
|
+
| Type Parameter |
|
|
94
|
+
| -------------- |
|
|
95
|
+
| `T` |
|
|
96
|
+
|
|
97
|
+
---
|
|
98
|
+
|
|
99
|
+
### ComboboxInlineProps
|
|
100
|
+
|
|
101
|
+
```ts
|
|
102
|
+
type ComboboxInlineProps = object;
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
Combobox mode flags for the inline (always-expanded, no popup trigger) layout.
|
|
106
|
+
|
|
107
|
+
#### Properties
|
|
108
|
+
|
|
109
|
+
##### defaultOpen?
|
|
110
|
+
|
|
111
|
+
```ts
|
|
112
|
+
optional defaultOpen?: never;
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
##### onOpenChange?
|
|
116
|
+
|
|
117
|
+
```ts
|
|
118
|
+
optional onOpenChange?: never;
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
Popup visibility callbacks do not apply to inline choices.
|
|
122
|
+
|
|
123
|
+
##### open?
|
|
124
|
+
|
|
125
|
+
```ts
|
|
126
|
+
optional open?: never;
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
##### trigger?
|
|
130
|
+
|
|
131
|
+
```ts
|
|
132
|
+
optional trigger?: never;
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
##### triggerRef?
|
|
136
|
+
|
|
137
|
+
```ts
|
|
138
|
+
optional triggerRef?: never;
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
---
|
|
142
|
+
|
|
143
|
+
### ComboboxPopupProps
|
|
144
|
+
|
|
145
|
+
```ts
|
|
146
|
+
type ComboboxPopupProps =
|
|
147
|
+
| {
|
|
148
|
+
defaultOpen?: boolean;
|
|
149
|
+
onOpenChange?: (open) => void;
|
|
150
|
+
open?: never;
|
|
151
|
+
trigger: ReactElement<ButtonHTMLAttributes<HTMLButtonElement>>;
|
|
152
|
+
triggerRef?: React.Ref<HTMLButtonElement>;
|
|
153
|
+
}
|
|
154
|
+
| {
|
|
155
|
+
defaultOpen?: never;
|
|
156
|
+
onOpenChange?: (open) => void;
|
|
157
|
+
open: boolean;
|
|
158
|
+
trigger: ReactElement<ButtonHTMLAttributes<HTMLButtonElement>>;
|
|
159
|
+
triggerRef?: React.Ref<HTMLButtonElement>;
|
|
160
|
+
};
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
Combobox mode flags for the popup layout, either caller-controlled or
|
|
164
|
+
uncontrolled open state.
|
|
165
|
+
|
|
166
|
+
#### Union Members
|
|
167
|
+
|
|
168
|
+
##### Type Literal
|
|
169
|
+
|
|
170
|
+
```ts
|
|
171
|
+
{
|
|
172
|
+
defaultOpen?: boolean;
|
|
173
|
+
onOpenChange?: (open) => void;
|
|
174
|
+
open?: never;
|
|
175
|
+
trigger: ReactElement<ButtonHTMLAttributes<HTMLButtonElement>>;
|
|
176
|
+
triggerRef?: React.Ref<HTMLButtonElement>;
|
|
177
|
+
}
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
| Name | Type | Description |
|
|
181
|
+
| ----------------- | --------------------------------------------------------------- | -------------------------------------------- |
|
|
182
|
+
| `defaultOpen?` | `boolean` | - |
|
|
183
|
+
| `onOpenChange()?` | (`open`) => `void` | Called after the popup's open state changes. |
|
|
184
|
+
| `open?` | `never` | - |
|
|
185
|
+
| `trigger` | `ReactElement`\<`ButtonHTMLAttributes`\<`HTMLButtonElement`\>\> | - |
|
|
186
|
+
| `triggerRef?` | `React.Ref`\<`HTMLButtonElement`\> | - |
|
|
187
|
+
|
|
188
|
+
---
|
|
189
|
+
|
|
190
|
+
##### Type Literal
|
|
191
|
+
|
|
192
|
+
```ts
|
|
193
|
+
{
|
|
194
|
+
defaultOpen?: never;
|
|
195
|
+
onOpenChange?: (open) => void;
|
|
196
|
+
open: boolean;
|
|
197
|
+
trigger: ReactElement<ButtonHTMLAttributes<HTMLButtonElement>>;
|
|
198
|
+
triggerRef?: React.Ref<HTMLButtonElement>;
|
|
199
|
+
}
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
| Name | Type | Description |
|
|
203
|
+
| ----------------- | --------------------------------------------------------------- | -------------------------------------------- |
|
|
204
|
+
| `defaultOpen?` | `never` | - |
|
|
205
|
+
| `onOpenChange()?` | (`open`) => `void` | Called after the popup's open state changes. |
|
|
206
|
+
| `open` | `boolean` | - |
|
|
207
|
+
| `trigger` | `ReactElement`\<`ButtonHTMLAttributes`\<`HTMLButtonElement`\>\> | - |
|
|
208
|
+
| `triggerRef?` | `React.Ref`\<`HTMLButtonElement`\> | - |
|
|
209
|
+
|
|
210
|
+
---
|
|
211
|
+
|
|
212
|
+
### ComboboxValueProps
|
|
213
|
+
|
|
214
|
+
```ts
|
|
215
|
+
type ComboboxValueProps<T> =
|
|
216
|
+
|
|
|
217
|
+
| {
|
|
218
|
+
defaultValue?: never;
|
|
219
|
+
value: null | string;
|
|
220
|
+
}
|
|
221
|
+
| {
|
|
222
|
+
defaultValue?: null | string;
|
|
223
|
+
value?: never;
|
|
224
|
+
} & object
|
|
225
|
+
| {
|
|
226
|
+
multiple: true;
|
|
227
|
+
value: readonly string[];
|
|
228
|
+
defaultValue?: never;
|
|
229
|
+
onValueChange?: (value, items) => void;
|
|
230
|
+
};
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
Combobox selection shape: single or multiple, controlled or uncontrolled.
|
|
234
|
+
|
|
235
|
+
#### Type Parameters
|
|
236
|
+
|
|
237
|
+
| Type Parameter |
|
|
238
|
+
| -------------- |
|
|
239
|
+
| `T` |
|
|
240
|
+
|
|
241
|
+
#### Union Members
|
|
242
|
+
|
|
243
|
+
\| \{ `defaultValue?`: `never`; `value`: `null` \| `string`; \} \| \{
|
|
244
|
+
`defaultValue?`: `null` \| `string`; `value?`: `never`; \} & `object`
|
|
245
|
+
|
|
246
|
+
---
|
|
247
|
+
|
|
248
|
+
##### Type Literal
|
|
249
|
+
|
|
250
|
+
```ts
|
|
251
|
+
{
|
|
252
|
+
multiple: true;
|
|
253
|
+
value: readonly string[];
|
|
254
|
+
defaultValue?: never;
|
|
255
|
+
onValueChange?: (value, items) => void;
|
|
256
|
+
}
|
|
257
|
+
```
|
|
258
|
+
|
|
259
|
+
| Name | Type | Description |
|
|
260
|
+
| ------------------ | ---------------------------- | ---------------------------------------------- |
|
|
261
|
+
| `multiple` | `true` | - |
|
|
262
|
+
| `value` | readonly `string`[] | - |
|
|
263
|
+
| `defaultValue?` | `never` | - |
|
|
264
|
+
| `onValueChange()?` | (`value`, `items`) => `void` | Called with the newly selected keys and items. |
|
|
265
|
+
|
|
266
|
+
## Variables
|
|
267
|
+
|
|
268
|
+
### ComboboxTrigger
|
|
269
|
+
|
|
270
|
+
```ts
|
|
271
|
+
const ComboboxTrigger: ForwardRefExoticComponent<
|
|
272
|
+
ButtonHTMLAttributes<HTMLButtonElement> & RefAttributes<HTMLButtonElement>
|
|
273
|
+
>;
|
|
274
|
+
```
|
|
275
|
+
|
|
276
|
+
The same molded field face as Select, for caller-owned selection summaries.
|
|
277
|
+
|
|
278
|
+
## Functions
|
|
279
|
+
|
|
280
|
+
### Combobox()
|
|
281
|
+
|
|
282
|
+
```ts
|
|
283
|
+
function Combobox<T>(props): Element;
|
|
284
|
+
```
|
|
285
|
+
|
|
286
|
+
A searchable selection primitive with caller-owned values and intrinsic keyboard
|
|
287
|
+
navigation.
|
|
288
|
+
|
|
289
|
+
#### Type Parameters
|
|
290
|
+
|
|
291
|
+
| Type Parameter |
|
|
292
|
+
| -------------- |
|
|
293
|
+
| `T` |
|
|
294
|
+
|
|
295
|
+
#### Parameters
|
|
296
|
+
|
|
297
|
+
| Parameter | Type |
|
|
298
|
+
| --------- | ---------------------------------------- |
|
|
299
|
+
| `props` | [`ComboboxProps`](#comboboxprops)\<`T`\> |
|
|
300
|
+
|
|
301
|
+
#### Returns
|
|
302
|
+
|
|
303
|
+
`Element`
|
|
@@ -0,0 +1,58 @@
|
|
|
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) / components/confirm-action
|
|
8
|
+
|
|
9
|
+
# components/confirm-action
|
|
10
|
+
|
|
11
|
+
## Type Aliases
|
|
12
|
+
|
|
13
|
+
### ConfirmActionProps
|
|
14
|
+
|
|
15
|
+
```ts
|
|
16
|
+
type ConfirmActionProps = object &
|
|
17
|
+
| {
|
|
18
|
+
mode: "hold";
|
|
19
|
+
phrase?: never;
|
|
20
|
+
}
|
|
21
|
+
| {
|
|
22
|
+
mode: "type";
|
|
23
|
+
phrase: string;
|
|
24
|
+
};
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
A deliberate hold, or an exact phrase before a destructive action.
|
|
28
|
+
|
|
29
|
+
#### Type Declaration
|
|
30
|
+
|
|
31
|
+
| Name | Type | Description |
|
|
32
|
+
| -------------- | ------------------------- | ---------------------------------------------------------------------------------- |
|
|
33
|
+
| `label` | `string` | The action's trigger label and dialog title. |
|
|
34
|
+
| `confirmLabel` | `string` | The destructive key's label (and the hold gesture's instruction). |
|
|
35
|
+
| `onConfirm()` | () => `Promise`\<`void`\> | Resolve on success; reject on failure. The component prevents concurrent calls. |
|
|
36
|
+
| `error?` | `string` | Caller-owned, safe-to-display failure copy; rejection details are never displayed. |
|
|
37
|
+
|
|
38
|
+
## Functions
|
|
39
|
+
|
|
40
|
+
### ConfirmAction()
|
|
41
|
+
|
|
42
|
+
```ts
|
|
43
|
+
function ConfirmAction(__namedParameters): Element;
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Confirms once per gesture, owns pending/result feedback, and keeps failed
|
|
47
|
+
confirmations available for retry. Type mode closes on success and restores
|
|
48
|
+
focus through Dialog. A pending action cannot be dismissed or cancelled.
|
|
49
|
+
|
|
50
|
+
#### Parameters
|
|
51
|
+
|
|
52
|
+
| Parameter | Type |
|
|
53
|
+
| ------------------- | ------------------------------------------- |
|
|
54
|
+
| `__namedParameters` | [`ConfirmActionProps`](#confirmactionprops) |
|
|
55
|
+
|
|
56
|
+
#### Returns
|
|
57
|
+
|
|
58
|
+
`Element`
|
|
@@ -0,0 +1,106 @@
|
|
|
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) / components/copy-field
|
|
8
|
+
|
|
9
|
+
# components/copy-field
|
|
10
|
+
|
|
11
|
+
## Type Aliases
|
|
12
|
+
|
|
13
|
+
### CopyFieldTokenKind
|
|
14
|
+
|
|
15
|
+
```ts
|
|
16
|
+
type CopyFieldTokenKind = "text" | "tag" | "attribute" | "string";
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
The colour role of one run of text in a block's code.
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
### CopyFieldToken
|
|
24
|
+
|
|
25
|
+
```ts
|
|
26
|
+
type CopyFieldToken = object;
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
One run of a block's code; the runs, joined, are the copied value.
|
|
30
|
+
|
|
31
|
+
#### Properties
|
|
32
|
+
|
|
33
|
+
##### kind
|
|
34
|
+
|
|
35
|
+
```ts
|
|
36
|
+
kind: CopyFieldTokenKind;
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
##### text
|
|
40
|
+
|
|
41
|
+
```ts
|
|
42
|
+
text: string;
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
### CopyFieldProps
|
|
48
|
+
|
|
49
|
+
```ts
|
|
50
|
+
type CopyFieldProps = object &
|
|
51
|
+
| {
|
|
52
|
+
value: string;
|
|
53
|
+
fieldLabel?: undefined;
|
|
54
|
+
displayValue?: undefined;
|
|
55
|
+
layout?: "inline";
|
|
56
|
+
title?: undefined;
|
|
57
|
+
tokens?: undefined;
|
|
58
|
+
}
|
|
59
|
+
| {
|
|
60
|
+
value: string;
|
|
61
|
+
fieldLabel: string;
|
|
62
|
+
displayValue?: string;
|
|
63
|
+
layout?: "inline";
|
|
64
|
+
title?: undefined;
|
|
65
|
+
tokens?: undefined;
|
|
66
|
+
}
|
|
67
|
+
| object &
|
|
68
|
+
| {
|
|
69
|
+
value: string;
|
|
70
|
+
tokens?: undefined;
|
|
71
|
+
}
|
|
72
|
+
| {
|
|
73
|
+
tokens: readonly CopyFieldToken[];
|
|
74
|
+
value?: undefined;
|
|
75
|
+
} & Omit<HTMLAttributes<HTMLElement>, "children" | "title">;
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
Props accepted by CopyField.
|
|
79
|
+
|
|
80
|
+
#### Type Declaration
|
|
81
|
+
|
|
82
|
+
| Name | Type | Description |
|
|
83
|
+
| -------- | -------- | ----------------------------------------------------------- |
|
|
84
|
+
| `label?` | `string` | Copy action text; the code presentations default to "Copy". |
|
|
85
|
+
|
|
86
|
+
## Functions
|
|
87
|
+
|
|
88
|
+
### CopyField()
|
|
89
|
+
|
|
90
|
+
```ts
|
|
91
|
+
function CopyField(__namedParameters): Element;
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
A value with an explicit copy action and visible outcome: wrapped code by
|
|
95
|
+
default, a labelled read-only input when `fieldLabel` is given, or a titled code
|
|
96
|
+
panel with `layout="block"`.
|
|
97
|
+
|
|
98
|
+
#### Parameters
|
|
99
|
+
|
|
100
|
+
| Parameter | Type |
|
|
101
|
+
| ------------------- | ----------------------------------- |
|
|
102
|
+
| `__namedParameters` | [`CopyFieldProps`](#copyfieldprops) |
|
|
103
|
+
|
|
104
|
+
#### Returns
|
|
105
|
+
|
|
106
|
+
`Element`
|
|
@@ -0,0 +1,39 @@
|
|
|
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) / components/count-badge
|
|
8
|
+
|
|
9
|
+
# components/count-badge
|
|
10
|
+
|
|
11
|
+
## Type Aliases
|
|
12
|
+
|
|
13
|
+
### CountBadgeProps
|
|
14
|
+
|
|
15
|
+
```ts
|
|
16
|
+
type CountBadgeProps = object & HTMLAttributes<HTMLSpanElement>;
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Props accepted by CountBadge.
|
|
20
|
+
|
|
21
|
+
#### Type Declaration
|
|
22
|
+
|
|
23
|
+
| Name | Type | Description |
|
|
24
|
+
| -------- | -------------------------- | ------------------------------------------------------------------------- |
|
|
25
|
+
| `count` | `ReactNode` | - |
|
|
26
|
+
| `tone?` | `"neutral"` \| `"warning"` | Semantic count emphasis; warnings call attention to items needing action. |
|
|
27
|
+
| `label?` | `ReactNode` | - |
|
|
28
|
+
|
|
29
|
+
## Variables
|
|
30
|
+
|
|
31
|
+
### CountBadge
|
|
32
|
+
|
|
33
|
+
```ts
|
|
34
|
+
const CountBadge: ForwardRefExoticComponent<
|
|
35
|
+
object & HTMLAttributes<HTMLSpanElement> & RefAttributes<HTMLSpanElement>
|
|
36
|
+
>;
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
A badge displaying a caller-provided count and label.
|
|
@@ -0,0 +1,43 @@
|
|
|
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) / components/cover-pattern
|
|
8
|
+
|
|
9
|
+
# components/cover-pattern
|
|
10
|
+
|
|
11
|
+
## Type Aliases
|
|
12
|
+
|
|
13
|
+
### CoverPatternProps
|
|
14
|
+
|
|
15
|
+
```ts
|
|
16
|
+
type CoverPatternProps = object &
|
|
17
|
+
Omit<SVGAttributes<SVGSVGElement>, "children" | "role" | "aria-label">;
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Props accepted by CoverPattern.
|
|
21
|
+
|
|
22
|
+
#### Type Declaration
|
|
23
|
+
|
|
24
|
+
| Name | Type | Description |
|
|
25
|
+
| -------- | -------- | --------------------------------------------------------------------------------- |
|
|
26
|
+
| `seed` | `string` | Stable identity that picks the garden; the same seed draws the same one. |
|
|
27
|
+
| `label?` | `string` | Names the pattern for assistive technology; without it the pattern is decorative. |
|
|
28
|
+
|
|
29
|
+
## Variables
|
|
30
|
+
|
|
31
|
+
### CoverPattern
|
|
32
|
+
|
|
33
|
+
```ts
|
|
34
|
+
const CoverPattern: ForwardRefExoticComponent<
|
|
35
|
+
object &
|
|
36
|
+
Omit<SVGAttributes<SVGSVGElement>, "role" | "aria-label" | "children"> &
|
|
37
|
+
RefAttributes<SVGSVGElement>
|
|
38
|
+
>;
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
A garden of mushrooms over a thread of mycelium: the stand-in for a cover that
|
|
42
|
+
has no picture yet. It fills its box, holds no text, and takes every color from
|
|
43
|
+
the theme.
|
|
@@ -0,0 +1,80 @@
|
|
|
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) / components/data-list
|
|
8
|
+
|
|
9
|
+
# components/data-list
|
|
10
|
+
|
|
11
|
+
## Type Aliases
|
|
12
|
+
|
|
13
|
+
### DataListProps
|
|
14
|
+
|
|
15
|
+
```ts
|
|
16
|
+
type DataListProps = HTMLAttributes<HTMLUListElement> & object;
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Props accepted by DataList.
|
|
20
|
+
|
|
21
|
+
#### Type Declaration
|
|
22
|
+
|
|
23
|
+
| Name | Type |
|
|
24
|
+
| ---------- | -------------------------- |
|
|
25
|
+
| `density?` | `"regular"` \| `"compact"` |
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
### DataListHeadingProps
|
|
30
|
+
|
|
31
|
+
```ts
|
|
32
|
+
type DataListHeadingProps = HTMLAttributes<HTMLHeadingElement> & object;
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Props accepted by DataListHeading.
|
|
36
|
+
|
|
37
|
+
#### Type Declaration
|
|
38
|
+
|
|
39
|
+
| Name | Type | Description |
|
|
40
|
+
| -------- | ----------- | --------------------------------------------------- |
|
|
41
|
+
| `level?` | `2` \| `3` | Heading level; the host keeps its document outline. |
|
|
42
|
+
| `aside?` | `ReactNode` | Optional trailing count or status, such as a Badge. |
|
|
43
|
+
|
|
44
|
+
## Variables
|
|
45
|
+
|
|
46
|
+
### DataList
|
|
47
|
+
|
|
48
|
+
```ts
|
|
49
|
+
const DataList: ForwardRefExoticComponent<
|
|
50
|
+
HTMLAttributes<HTMLUListElement> & object & RefAttributes<HTMLUListElement>
|
|
51
|
+
>;
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
A list wrapper for caller-provided rows.
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
### DataRow
|
|
59
|
+
|
|
60
|
+
```ts
|
|
61
|
+
const DataRow: ForwardRefExoticComponent<
|
|
62
|
+
LiHTMLAttributes<HTMLLIElement> & RefAttributes<HTMLLIElement>
|
|
63
|
+
>;
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
A list row for a caller-provided label and value.
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
|
|
70
|
+
### DataListHeading
|
|
71
|
+
|
|
72
|
+
```ts
|
|
73
|
+
const DataListHeading: ForwardRefExoticComponent<
|
|
74
|
+
HTMLAttributes<HTMLHeadingElement> &
|
|
75
|
+
object &
|
|
76
|
+
RefAttributes<HTMLHeadingElement>
|
|
77
|
+
>;
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
A quiet small-caps section label that groups the rows below it.
|