@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,773 @@
|
|
|
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/technonomicon
|
|
8
|
+
|
|
9
|
+
# components/technonomicon
|
|
10
|
+
|
|
11
|
+
## Type Aliases
|
|
12
|
+
|
|
13
|
+
### PlateProps
|
|
14
|
+
|
|
15
|
+
```ts
|
|
16
|
+
type PlateProps = object & HTMLAttributes<HTMLElement>;
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Props accepted by Plate.
|
|
20
|
+
|
|
21
|
+
#### Type Declaration
|
|
22
|
+
|
|
23
|
+
| Name | Type |
|
|
24
|
+
| --------- | ----------- |
|
|
25
|
+
| `caption` | `ReactNode` |
|
|
26
|
+
| `image` | `ReactNode` |
|
|
27
|
+
| `label` | `string` |
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
### StagePlateProps
|
|
32
|
+
|
|
33
|
+
```ts
|
|
34
|
+
type StagePlateProps = object & HTMLAttributes<HTMLElement>;
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Props accepted by StagePlate.
|
|
38
|
+
|
|
39
|
+
#### Type Declaration
|
|
40
|
+
|
|
41
|
+
| Name | Type | Description |
|
|
42
|
+
| -------------- | ----------- | ------------------------------------------------------------------------ |
|
|
43
|
+
| `caption` | `ReactNode` | - |
|
|
44
|
+
| `children` | `ReactNode` | The live drawing: an element with the `caps-stage-plate-viewport` class. |
|
|
45
|
+
| `hint?` | `ReactNode` | How to handle the drawing, shown under the caption. |
|
|
46
|
+
| `hintId?` | `string` | Id for the hint, so the drawing can name it with aria-describedby. |
|
|
47
|
+
| `label` | `string` | - |
|
|
48
|
+
| `specimenKey?` | `ReactNode` | A numbered key to what the drawing shows. |
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
### CompactPlateProps
|
|
53
|
+
|
|
54
|
+
```ts
|
|
55
|
+
type CompactPlateProps = Omit<PlateProps, "className">;
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
Props accepted by CompactPlate.
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
### MarginNoteProps
|
|
63
|
+
|
|
64
|
+
```ts
|
|
65
|
+
type MarginNoteProps = object & HTMLAttributes<HTMLSpanElement>;
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
Props accepted by MarginNote.
|
|
69
|
+
|
|
70
|
+
#### Type Declaration
|
|
71
|
+
|
|
72
|
+
| Name | Type |
|
|
73
|
+
| ---------- | ----------- |
|
|
74
|
+
| `children` | `ReactNode` |
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
78
|
+
### CalloutKind
|
|
79
|
+
|
|
80
|
+
```ts
|
|
81
|
+
type CalloutKind = "lesson" | "status" | "plan" | "warning";
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
Supported editorial callout kinds.
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
### CalloutProps
|
|
89
|
+
|
|
90
|
+
```ts
|
|
91
|
+
type CalloutProps = object & HTMLAttributes<HTMLElement>;
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
Props accepted by Callout.
|
|
95
|
+
|
|
96
|
+
#### Type Declaration
|
|
97
|
+
|
|
98
|
+
| Name | Type |
|
|
99
|
+
| ---------- | ----------------------------- |
|
|
100
|
+
| `kind` | [`CalloutKind`](#calloutkind) |
|
|
101
|
+
| `title?` | `ReactNode` |
|
|
102
|
+
| `children` | `ReactNode` |
|
|
103
|
+
|
|
104
|
+
---
|
|
105
|
+
|
|
106
|
+
### GrowthStage
|
|
107
|
+
|
|
108
|
+
```ts
|
|
109
|
+
type GrowthStage = "spore" | "mycelium" | "fruiting";
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
Supported lifecycle stages.
|
|
113
|
+
|
|
114
|
+
---
|
|
115
|
+
|
|
116
|
+
### GrowthBadgeProps
|
|
117
|
+
|
|
118
|
+
```ts
|
|
119
|
+
type GrowthBadgeProps = object & HTMLAttributes<HTMLSpanElement>;
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
Props accepted by GrowthBadge.
|
|
123
|
+
|
|
124
|
+
#### Type Declaration
|
|
125
|
+
|
|
126
|
+
| Name | Type |
|
|
127
|
+
| ------- | ----------------------------- |
|
|
128
|
+
| `stage` | [`GrowthStage`](#growthstage) |
|
|
129
|
+
|
|
130
|
+
---
|
|
131
|
+
|
|
132
|
+
### IssueMastheadProps
|
|
133
|
+
|
|
134
|
+
```ts
|
|
135
|
+
type IssueMastheadProps = object & HTMLAttributes<HTMLElement>;
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
Props accepted by IssueMasthead.
|
|
139
|
+
|
|
140
|
+
#### Type Declaration
|
|
141
|
+
|
|
142
|
+
| Name | Type | Description |
|
|
143
|
+
| ------------- | ----------- | ------------------------------------------------------------ |
|
|
144
|
+
| `date` | `string` | - |
|
|
145
|
+
| `dek` | `ReactNode` | - |
|
|
146
|
+
| `number` | `string` | - |
|
|
147
|
+
| `publication` | `string` | The publication the Issue belongs to, printed in the kicker. |
|
|
148
|
+
| `title` | `string` | - |
|
|
149
|
+
|
|
150
|
+
---
|
|
151
|
+
|
|
152
|
+
### MastheadSize
|
|
153
|
+
|
|
154
|
+
```ts
|
|
155
|
+
type MastheadSize = "front" | "running";
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
A newspaper nameplate: the front page's large head or a running head.
|
|
159
|
+
|
|
160
|
+
---
|
|
161
|
+
|
|
162
|
+
### MastheadProps
|
|
163
|
+
|
|
164
|
+
```ts
|
|
165
|
+
type MastheadProps = object & HTMLAttributes<HTMLElement>;
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
Props accepted by Masthead.
|
|
169
|
+
|
|
170
|
+
#### Type Declaration
|
|
171
|
+
|
|
172
|
+
| Name | Type | Description |
|
|
173
|
+
| ----------- | ------------------------------- | ---------------------------------------------------------------------- |
|
|
174
|
+
| `wordmark` | `string` | The publication name, set large in the nameplate face. |
|
|
175
|
+
| `href` | `string` | Where the nameplate links, normally the front page. |
|
|
176
|
+
| `mark?` | `ReactNode` | A small printed mark beside the wordmark, such as a logo drawing. |
|
|
177
|
+
| `tagline?` | `ReactNode` | One line under the wordmark in the publication's voice. |
|
|
178
|
+
| `edition?` | readonly `ReactNode`[] | The ruled edition line: date, issue, editor and similar items. |
|
|
179
|
+
| `startEar?` | `ReactNode` | The left ear box beside the nameplate, such as a weather note. |
|
|
180
|
+
| `endEar?` | `ReactNode` | The right ear box beside the nameplate, such as the editor's portrait. |
|
|
181
|
+
| `sections?` | `ReactNode` | The section bar under the edition line, normally a SectionBar. |
|
|
182
|
+
| `size?` | [`MastheadSize`](#mastheadsize) | - |
|
|
183
|
+
|
|
184
|
+
---
|
|
185
|
+
|
|
186
|
+
### SectionLink
|
|
187
|
+
|
|
188
|
+
```ts
|
|
189
|
+
type SectionLink = object;
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
One section of a publication.
|
|
193
|
+
|
|
194
|
+
#### Properties
|
|
195
|
+
|
|
196
|
+
##### href
|
|
197
|
+
|
|
198
|
+
```ts
|
|
199
|
+
href: string;
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
##### label
|
|
203
|
+
|
|
204
|
+
```ts
|
|
205
|
+
label: string;
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
##### marker?
|
|
209
|
+
|
|
210
|
+
```ts
|
|
211
|
+
optional marker?: string;
|
|
212
|
+
```
|
|
213
|
+
|
|
214
|
+
Printed before the label, such as a section letter.
|
|
215
|
+
|
|
216
|
+
##### current?
|
|
217
|
+
|
|
218
|
+
```ts
|
|
219
|
+
optional current?: boolean;
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
##### shortcut?
|
|
223
|
+
|
|
224
|
+
```ts
|
|
225
|
+
optional shortcut?: string;
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
A keyboard shortcut announced through aria-keyshortcuts.
|
|
229
|
+
|
|
230
|
+
---
|
|
231
|
+
|
|
232
|
+
### SectionBarProps
|
|
233
|
+
|
|
234
|
+
```ts
|
|
235
|
+
type SectionBarProps = object & HTMLAttributes<HTMLElement>;
|
|
236
|
+
```
|
|
237
|
+
|
|
238
|
+
Props accepted by SectionBar.
|
|
239
|
+
|
|
240
|
+
#### Type Declaration
|
|
241
|
+
|
|
242
|
+
| Name | Type | Description |
|
|
243
|
+
| ---------- | ---------------------------------------- | ------------------------------------------------------------------- |
|
|
244
|
+
| `sections` | readonly [`SectionLink`](#sectionlink)[] | - |
|
|
245
|
+
| `tools?` | `ReactNode` | Controls set at the end of the bar, such as theme and help buttons. |
|
|
246
|
+
|
|
247
|
+
---
|
|
248
|
+
|
|
249
|
+
### FolioProps
|
|
250
|
+
|
|
251
|
+
```ts
|
|
252
|
+
type FolioProps = object & HTMLAttributes<HTMLElement>;
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
Props accepted by Folio.
|
|
256
|
+
|
|
257
|
+
#### Type Declaration
|
|
258
|
+
|
|
259
|
+
| Name | Type | Description |
|
|
260
|
+
| ------- | ---------------------- | ------------------------------------------------------------- |
|
|
261
|
+
| `items` | readonly `ReactNode`[] | Running items, such as the publication, page number and date. |
|
|
262
|
+
|
|
263
|
+
---
|
|
264
|
+
|
|
265
|
+
### SpreadLayout
|
|
266
|
+
|
|
267
|
+
```ts
|
|
268
|
+
type SpreadLayout = "lead" | "columns" | "grid";
|
|
269
|
+
```
|
|
270
|
+
|
|
271
|
+
Supported editorial spread arrangements.
|
|
272
|
+
|
|
273
|
+
---
|
|
274
|
+
|
|
275
|
+
### SpreadProps
|
|
276
|
+
|
|
277
|
+
```ts
|
|
278
|
+
type SpreadProps = object & HTMLAttributes<HTMLElement>;
|
|
279
|
+
```
|
|
280
|
+
|
|
281
|
+
Props accepted by Spread.
|
|
282
|
+
|
|
283
|
+
#### Type Declaration
|
|
284
|
+
|
|
285
|
+
| Name | Type |
|
|
286
|
+
| ---------- | ------------------------------- |
|
|
287
|
+
| `layout` | [`SpreadLayout`](#spreadlayout) |
|
|
288
|
+
| `children` | `ReactNode` |
|
|
289
|
+
|
|
290
|
+
---
|
|
291
|
+
|
|
292
|
+
### CardStat
|
|
293
|
+
|
|
294
|
+
```ts
|
|
295
|
+
type CardStat = object;
|
|
296
|
+
```
|
|
297
|
+
|
|
298
|
+
One supplied card measurement and its provenance. `null` means not measured.
|
|
299
|
+
|
|
300
|
+
#### Properties
|
|
301
|
+
|
|
302
|
+
##### key
|
|
303
|
+
|
|
304
|
+
```ts
|
|
305
|
+
key: string;
|
|
306
|
+
```
|
|
307
|
+
|
|
308
|
+
##### label
|
|
309
|
+
|
|
310
|
+
```ts
|
|
311
|
+
label: string;
|
|
312
|
+
```
|
|
313
|
+
|
|
314
|
+
##### value
|
|
315
|
+
|
|
316
|
+
```ts
|
|
317
|
+
value: string | number | null;
|
|
318
|
+
```
|
|
319
|
+
|
|
320
|
+
##### unit?
|
|
321
|
+
|
|
322
|
+
```ts
|
|
323
|
+
optional unit?: string;
|
|
324
|
+
```
|
|
325
|
+
|
|
326
|
+
##### source
|
|
327
|
+
|
|
328
|
+
```ts
|
|
329
|
+
source: string;
|
|
330
|
+
```
|
|
331
|
+
|
|
332
|
+
##### asOf
|
|
333
|
+
|
|
334
|
+
```ts
|
|
335
|
+
asOf: string;
|
|
336
|
+
```
|
|
337
|
+
|
|
338
|
+
---
|
|
339
|
+
|
|
340
|
+
### CigaretteCardFinish
|
|
341
|
+
|
|
342
|
+
```ts
|
|
343
|
+
type CigaretteCardFinish = "standard" | "full-art";
|
|
344
|
+
```
|
|
345
|
+
|
|
346
|
+
Print finish: the rarer full-art card lets the drawing run under the text.
|
|
347
|
+
|
|
348
|
+
---
|
|
349
|
+
|
|
350
|
+
### CigaretteCardProps
|
|
351
|
+
|
|
352
|
+
```ts
|
|
353
|
+
type CigaretteCardProps = object;
|
|
354
|
+
```
|
|
355
|
+
|
|
356
|
+
Props accepted by CigaretteCard.
|
|
357
|
+
|
|
358
|
+
#### Properties
|
|
359
|
+
|
|
360
|
+
##### number
|
|
361
|
+
|
|
362
|
+
```ts
|
|
363
|
+
number: number;
|
|
364
|
+
```
|
|
365
|
+
|
|
366
|
+
##### seriesNumeral
|
|
367
|
+
|
|
368
|
+
```ts
|
|
369
|
+
seriesNumeral: string;
|
|
370
|
+
```
|
|
371
|
+
|
|
372
|
+
The series numeral printed on both faces and in the series mark, such as "I".
|
|
373
|
+
|
|
374
|
+
##### series
|
|
375
|
+
|
|
376
|
+
```ts
|
|
377
|
+
series: string;
|
|
378
|
+
```
|
|
379
|
+
|
|
380
|
+
##### title
|
|
381
|
+
|
|
382
|
+
```ts
|
|
383
|
+
title: string;
|
|
384
|
+
```
|
|
385
|
+
|
|
386
|
+
##### typeLine?
|
|
387
|
+
|
|
388
|
+
```ts
|
|
389
|
+
optional typeLine?: string;
|
|
390
|
+
```
|
|
391
|
+
|
|
392
|
+
The type line beside the title, such as "Machine of the Burrow".
|
|
393
|
+
|
|
394
|
+
##### image
|
|
395
|
+
|
|
396
|
+
```ts
|
|
397
|
+
image: ReactNode;
|
|
398
|
+
```
|
|
399
|
+
|
|
400
|
+
##### stats
|
|
401
|
+
|
|
402
|
+
```ts
|
|
403
|
+
stats: readonly CardStat[];
|
|
404
|
+
```
|
|
405
|
+
|
|
406
|
+
##### note
|
|
407
|
+
|
|
408
|
+
```ts
|
|
409
|
+
note: string;
|
|
410
|
+
```
|
|
411
|
+
|
|
412
|
+
##### finish?
|
|
413
|
+
|
|
414
|
+
```ts
|
|
415
|
+
optional finish?: CigaretteCardFinish;
|
|
416
|
+
```
|
|
417
|
+
|
|
418
|
+
##### setMark?
|
|
419
|
+
|
|
420
|
+
```ts
|
|
421
|
+
optional setMark?: ReactNode;
|
|
422
|
+
```
|
|
423
|
+
|
|
424
|
+
A small set symbol printed in the collector line.
|
|
425
|
+
|
|
426
|
+
##### defaultFlipped?
|
|
427
|
+
|
|
428
|
+
```ts
|
|
429
|
+
optional defaultFlipped?: boolean;
|
|
430
|
+
```
|
|
431
|
+
|
|
432
|
+
##### href?
|
|
433
|
+
|
|
434
|
+
```ts
|
|
435
|
+
optional href?: string;
|
|
436
|
+
```
|
|
437
|
+
|
|
438
|
+
Makes the card a preview: a link to the card's own page showing its face,
|
|
439
|
+
instead of a pressed button that turns over in place.
|
|
440
|
+
|
|
441
|
+
##### size?
|
|
442
|
+
|
|
443
|
+
```ts
|
|
444
|
+
optional size?: "standard" | "large";
|
|
445
|
+
```
|
|
446
|
+
|
|
447
|
+
"large" prints the card bigger, for its own page.
|
|
448
|
+
|
|
449
|
+
##### className?
|
|
450
|
+
|
|
451
|
+
```ts
|
|
452
|
+
optional className?: string;
|
|
453
|
+
```
|
|
454
|
+
|
|
455
|
+
##### style?
|
|
456
|
+
|
|
457
|
+
```ts
|
|
458
|
+
optional style?: CSSProperties;
|
|
459
|
+
```
|
|
460
|
+
|
|
461
|
+
Inline style on the card, such as a shared view-transition name.
|
|
462
|
+
|
|
463
|
+
---
|
|
464
|
+
|
|
465
|
+
### AlbumSlot
|
|
466
|
+
|
|
467
|
+
```ts
|
|
468
|
+
type AlbumSlot = object;
|
|
469
|
+
```
|
|
470
|
+
|
|
471
|
+
One numbered album position, optionally occupied by a card.
|
|
472
|
+
|
|
473
|
+
#### Properties
|
|
474
|
+
|
|
475
|
+
##### number
|
|
476
|
+
|
|
477
|
+
```ts
|
|
478
|
+
number: number;
|
|
479
|
+
```
|
|
480
|
+
|
|
481
|
+
##### card?
|
|
482
|
+
|
|
483
|
+
```ts
|
|
484
|
+
optional card?: CigaretteCardProps;
|
|
485
|
+
```
|
|
486
|
+
|
|
487
|
+
---
|
|
488
|
+
|
|
489
|
+
### CardAlbumProps
|
|
490
|
+
|
|
491
|
+
```ts
|
|
492
|
+
type CardAlbumProps = object & HTMLAttributes<HTMLElement>;
|
|
493
|
+
```
|
|
494
|
+
|
|
495
|
+
Props accepted by CardAlbum.
|
|
496
|
+
|
|
497
|
+
#### Type Declaration
|
|
498
|
+
|
|
499
|
+
| Name | Type |
|
|
500
|
+
| ------- | ------------------------------------ |
|
|
501
|
+
| `title` | `string` |
|
|
502
|
+
| `slots` | readonly [`AlbumSlot`](#albumslot)[] |
|
|
503
|
+
|
|
504
|
+
## Functions
|
|
505
|
+
|
|
506
|
+
### Plate()
|
|
507
|
+
|
|
508
|
+
```ts
|
|
509
|
+
function Plate(__namedParameters): Element;
|
|
510
|
+
```
|
|
511
|
+
|
|
512
|
+
A labelled graphite illustration plate.
|
|
513
|
+
|
|
514
|
+
#### Parameters
|
|
515
|
+
|
|
516
|
+
| Parameter | Type |
|
|
517
|
+
| ------------------- | --------------------------- |
|
|
518
|
+
| `__namedParameters` | [`PlateProps`](#plateprops) |
|
|
519
|
+
|
|
520
|
+
#### Returns
|
|
521
|
+
|
|
522
|
+
`Element`
|
|
523
|
+
|
|
524
|
+
---
|
|
525
|
+
|
|
526
|
+
### StagePlate()
|
|
527
|
+
|
|
528
|
+
```ts
|
|
529
|
+
function StagePlate(__namedParameters): Element;
|
|
530
|
+
```
|
|
531
|
+
|
|
532
|
+
A plate whose illustration is a live pixel-art stage rather than an image. Its
|
|
533
|
+
drawing reads `--specimen-ink`, `--specimen-paper` and `--specimen-accent`,
|
|
534
|
+
which follow the theme.
|
|
535
|
+
|
|
536
|
+
#### Parameters
|
|
537
|
+
|
|
538
|
+
| Parameter | Type |
|
|
539
|
+
| ------------------- | ------------------------------------- |
|
|
540
|
+
| `__namedParameters` | [`StagePlateProps`](#stageplateprops) |
|
|
541
|
+
|
|
542
|
+
#### Returns
|
|
543
|
+
|
|
544
|
+
`Element`
|
|
545
|
+
|
|
546
|
+
---
|
|
547
|
+
|
|
548
|
+
### CompactPlate()
|
|
549
|
+
|
|
550
|
+
```ts
|
|
551
|
+
function CompactPlate(props): Element;
|
|
552
|
+
```
|
|
553
|
+
|
|
554
|
+
A compact plate for editorial teasers.
|
|
555
|
+
|
|
556
|
+
#### Parameters
|
|
557
|
+
|
|
558
|
+
| Parameter | Type |
|
|
559
|
+
| --------- | ----------------------------------------- |
|
|
560
|
+
| `props` | [`CompactPlateProps`](#compactplateprops) |
|
|
561
|
+
|
|
562
|
+
#### Returns
|
|
563
|
+
|
|
564
|
+
`Element`
|
|
565
|
+
|
|
566
|
+
---
|
|
567
|
+
|
|
568
|
+
### MarginNote()
|
|
569
|
+
|
|
570
|
+
```ts
|
|
571
|
+
function MarginNote(__namedParameters): Element;
|
|
572
|
+
```
|
|
573
|
+
|
|
574
|
+
An inline note styled for the page margin.
|
|
575
|
+
|
|
576
|
+
#### Parameters
|
|
577
|
+
|
|
578
|
+
| Parameter | Type |
|
|
579
|
+
| ------------------- | ------------------------------------- |
|
|
580
|
+
| `__namedParameters` | [`MarginNoteProps`](#marginnoteprops) |
|
|
581
|
+
|
|
582
|
+
#### Returns
|
|
583
|
+
|
|
584
|
+
`Element`
|
|
585
|
+
|
|
586
|
+
---
|
|
587
|
+
|
|
588
|
+
### Callout()
|
|
589
|
+
|
|
590
|
+
```ts
|
|
591
|
+
function Callout(__namedParameters): Element;
|
|
592
|
+
```
|
|
593
|
+
|
|
594
|
+
A labelled editorial aside.
|
|
595
|
+
|
|
596
|
+
#### Parameters
|
|
597
|
+
|
|
598
|
+
| Parameter | Type |
|
|
599
|
+
| ------------------- | ------------------------------- |
|
|
600
|
+
| `__namedParameters` | [`CalloutProps`](#calloutprops) |
|
|
601
|
+
|
|
602
|
+
#### Returns
|
|
603
|
+
|
|
604
|
+
`Element`
|
|
605
|
+
|
|
606
|
+
---
|
|
607
|
+
|
|
608
|
+
### GrowthBadge()
|
|
609
|
+
|
|
610
|
+
```ts
|
|
611
|
+
function GrowthBadge(__namedParameters): Element;
|
|
612
|
+
```
|
|
613
|
+
|
|
614
|
+
An outlined Badge in the selected growth-stage color.
|
|
615
|
+
|
|
616
|
+
#### Parameters
|
|
617
|
+
|
|
618
|
+
| Parameter | Type |
|
|
619
|
+
| ------------------- | --------------------------------------- |
|
|
620
|
+
| `__namedParameters` | [`GrowthBadgeProps`](#growthbadgeprops) |
|
|
621
|
+
|
|
622
|
+
#### Returns
|
|
623
|
+
|
|
624
|
+
`Element`
|
|
625
|
+
|
|
626
|
+
---
|
|
627
|
+
|
|
628
|
+
### IssueMasthead()
|
|
629
|
+
|
|
630
|
+
```ts
|
|
631
|
+
function IssueMasthead(__namedParameters): Element;
|
|
632
|
+
```
|
|
633
|
+
|
|
634
|
+
The title, number, date, and dek for an Issue.
|
|
635
|
+
|
|
636
|
+
#### Parameters
|
|
637
|
+
|
|
638
|
+
| Parameter | Type |
|
|
639
|
+
| ------------------- | ------------------------------------------- |
|
|
640
|
+
| `__namedParameters` | [`IssueMastheadProps`](#issuemastheadprops) |
|
|
641
|
+
|
|
642
|
+
#### Returns
|
|
643
|
+
|
|
644
|
+
`Element`
|
|
645
|
+
|
|
646
|
+
---
|
|
647
|
+
|
|
648
|
+
### Masthead()
|
|
649
|
+
|
|
650
|
+
```ts
|
|
651
|
+
function Masthead(__namedParameters): Element;
|
|
652
|
+
```
|
|
653
|
+
|
|
654
|
+
A print masthead. Ears flank the nameplate on wide pages and sit under it on
|
|
655
|
+
phones; the edition line runs between a thin and a heavy rule.
|
|
656
|
+
|
|
657
|
+
#### Parameters
|
|
658
|
+
|
|
659
|
+
| Parameter | Type |
|
|
660
|
+
| ------------------- | --------------------------------- |
|
|
661
|
+
| `__namedParameters` | [`MastheadProps`](#mastheadprops) |
|
|
662
|
+
|
|
663
|
+
#### Returns
|
|
664
|
+
|
|
665
|
+
`Element`
|
|
666
|
+
|
|
667
|
+
---
|
|
668
|
+
|
|
669
|
+
### SectionBar()
|
|
670
|
+
|
|
671
|
+
```ts
|
|
672
|
+
function SectionBar(__namedParameters): Element;
|
|
673
|
+
```
|
|
674
|
+
|
|
675
|
+
A newspaper section bar: small capitals between hairline rules, the current
|
|
676
|
+
section printed in reverse. It scrolls sideways on narrow pages instead of
|
|
677
|
+
wrapping. Name it with aria-label.
|
|
678
|
+
|
|
679
|
+
#### Parameters
|
|
680
|
+
|
|
681
|
+
| Parameter | Type |
|
|
682
|
+
| ------------------- | ------------------------------------- |
|
|
683
|
+
| `__namedParameters` | [`SectionBarProps`](#sectionbarprops) |
|
|
684
|
+
|
|
685
|
+
#### Returns
|
|
686
|
+
|
|
687
|
+
`Element`
|
|
688
|
+
|
|
689
|
+
---
|
|
690
|
+
|
|
691
|
+
### Folio()
|
|
692
|
+
|
|
693
|
+
```ts
|
|
694
|
+
function Folio(__namedParameters): Element;
|
|
695
|
+
```
|
|
696
|
+
|
|
697
|
+
A running foot: the page's folio line between rules.
|
|
698
|
+
|
|
699
|
+
#### Parameters
|
|
700
|
+
|
|
701
|
+
| Parameter | Type |
|
|
702
|
+
| ------------------- | --------------------------- |
|
|
703
|
+
| `__namedParameters` | [`FolioProps`](#folioprops) |
|
|
704
|
+
|
|
705
|
+
#### Returns
|
|
706
|
+
|
|
707
|
+
`Element`
|
|
708
|
+
|
|
709
|
+
---
|
|
710
|
+
|
|
711
|
+
### Spread()
|
|
712
|
+
|
|
713
|
+
```ts
|
|
714
|
+
function Spread(__namedParameters): Element;
|
|
715
|
+
```
|
|
716
|
+
|
|
717
|
+
A responsive editorial region with an explicit layout.
|
|
718
|
+
|
|
719
|
+
#### Parameters
|
|
720
|
+
|
|
721
|
+
| Parameter | Type |
|
|
722
|
+
| ------------------- | ----------------------------- |
|
|
723
|
+
| `__namedParameters` | [`SpreadProps`](#spreadprops) |
|
|
724
|
+
|
|
725
|
+
#### Returns
|
|
726
|
+
|
|
727
|
+
`Element`
|
|
728
|
+
|
|
729
|
+
---
|
|
730
|
+
|
|
731
|
+
### CigaretteCard()
|
|
732
|
+
|
|
733
|
+
```ts
|
|
734
|
+
function CigaretteCard(__namedParameters): Element;
|
|
735
|
+
```
|
|
736
|
+
|
|
737
|
+
A two-sided collector card: a framed front with an inset drawing, a stat plate
|
|
738
|
+
and a flavor line, and a ruled measurement ledger on the back. Both faces live
|
|
739
|
+
inside one native pressed button, so the reverse stays in the DOM; the visible
|
|
740
|
+
face names the button. Hydrated hosts flip through React state. Static hosts
|
|
741
|
+
load the Caps `enhance/cigarette-card` module, which ignores clicks this
|
|
742
|
+
component already handled. With `href` the card is a preview instead: a link to
|
|
743
|
+
the card's own page that shows only its face.
|
|
744
|
+
|
|
745
|
+
#### Parameters
|
|
746
|
+
|
|
747
|
+
| Parameter | Type |
|
|
748
|
+
| ------------------- | ------------------------------------------- |
|
|
749
|
+
| `__namedParameters` | [`CigaretteCardProps`](#cigarettecardprops) |
|
|
750
|
+
|
|
751
|
+
#### Returns
|
|
752
|
+
|
|
753
|
+
`Element`
|
|
754
|
+
|
|
755
|
+
---
|
|
756
|
+
|
|
757
|
+
### CardAlbum()
|
|
758
|
+
|
|
759
|
+
```ts
|
|
760
|
+
function CardAlbum(__namedParameters): Element;
|
|
761
|
+
```
|
|
762
|
+
|
|
763
|
+
A numbered checklist of supplied cards and ruled spaces for missing ones.
|
|
764
|
+
|
|
765
|
+
#### Parameters
|
|
766
|
+
|
|
767
|
+
| Parameter | Type |
|
|
768
|
+
| ------------------- | ----------------------------------- |
|
|
769
|
+
| `__namedParameters` | [`CardAlbumProps`](#cardalbumprops) |
|
|
770
|
+
|
|
771
|
+
#### Returns
|
|
772
|
+
|
|
773
|
+
`Element`
|