@mechane-ai/elements 0.58.1 → 0.59.0
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/README.md +1 -1
- package/dist/ai.js +1 -1
- package/dist/catalog.json +5 -1
- package/dist/content.js +1 -1
- package/dist/kits/research.js +1 -1
- package/dist/packages/content/src/has-renderable-node.d.ts +2 -0
- package/dist/packages/content/src/index.d.ts +1 -1
- package/dist/packages/content/src/playback-bar.d.ts +11 -4
- package/dist/packages/content/src/timeline-scrubber.d.ts +6 -2
- package/dist/src-BAlO76fa.js +1140 -0
- package/package.json +1 -1
- package/skills/use-elements/SKILL.md +18 -18
- package/dist/src-DWKqgI2I.js +0 -957
package/package.json
CHANGED
|
@@ -52,24 +52,24 @@ persistence and every asynchronous operation.
|
|
|
52
52
|
|
|
53
53
|
## Pick the component
|
|
54
54
|
|
|
55
|
-
| The page needs
|
|
56
|
-
|
|
|
57
|
-
| An app frame, a page, sections, a record page
|
|
58
|
-
| A searchable, filterable full-width table page
|
|
59
|
-
| Records compared across columns, search, filters
|
|
60
|
-
| A selected record's fields beside its list
|
|
61
|
-
| Fields, choices, dates, files, a save
|
|
62
|
-
| A trend, comparison, distribution or relationship
|
|
63
|
-
| A figure an agent or a server writes as JSON
|
|
64
|
-
| A run, evaluation, research, service or feature
|
|
65
|
-
| Page focus, zero-card layout, anti-slop copy
|
|
66
|
-
| An explorable essay, a lesson, a moving diagram
|
|
67
|
-
| A first read, a refresh, an empty or failed read
|
|
68
|
-
| A command menu, a decision, an anchored panel
|
|
69
|
-
| Route destinations or panels inside one view
|
|
70
|
-
| A transcript, a prompt, tool activity, approvals
|
|
71
|
-
| Markdown, source, a diff, a file tree, a log
|
|
72
|
-
| A model or browser agent that reads and acts
|
|
55
|
+
| The page needs | Use | Read |
|
|
56
|
+
| ------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------- |
|
|
57
|
+
| An app frame, a page, sections, a record page | `AppShell`, `PageLayout`, `PageSection`, `RecordPage` | [workspace](references/workspace.md) |
|
|
58
|
+
| A searchable, filterable full-width table page | `CollectionPage` (wires top-bar search, filters, chips, shortcuts & optional inspector) | [workspace](references/workspace.md) |
|
|
59
|
+
| Records compared across columns, search, filters | `DataTable` with a `query` | [collections](references/collections.md) |
|
|
60
|
+
| A selected record's fields beside its list | `Inspector`, `Details` | [collections](references/collections.md) |
|
|
61
|
+
| Fields, choices, dates, files, a save | `Field`, the `/forms` controls, `FormActions`, `ConfirmButton` | [forms](references/forms.md) |
|
|
62
|
+
| A trend, comparison, distribution or relationship | One chart from a `/charts/*` entry | [charts](references/charts.md) |
|
|
63
|
+
| A figure an agent or a server writes as JSON | `Figure`, `validateFigureSpec`, `describeFigure` and `chartGuide` from `/charts/figure` | [figures](references/figures.md) |
|
|
64
|
+
| A run, evaluation, research, service or feature | A kit from `/kits/training`, `/kits/evaluation`, `/kits/research`, `/kits/operations`, `/kits/interpretability` | [kits](references/kits.md) |
|
|
65
|
+
| Page focus, zero-card layout, anti-slop copy | Flat `MetricGrid`, hairline sections, `CollectionPage`, concise titles | [editorial restraint](references/editorial-restraint.md) |
|
|
66
|
+
| An explorable essay, a lesson, a moving diagram | `/lesson`, `/scene`, `/article` and `/mdx`, planned with `/lesson/spec` | [teaching](references/teaching.md) |
|
|
67
|
+
| A first read, a refresh, an empty or failed read | `AsyncRegion`, `LoadingScope`, `EmptyState`, `Notice` | [reports](references/reports.md) |
|
|
68
|
+
| A command menu, a decision, an anchored panel | `Menu`, `AlertDialog`, `Dialog`, `Drawer`, `Popover`, `Tooltip` | the catalog |
|
|
69
|
+
| Route destinations or panels inside one view | `PageNavigation` for links, `Tabs` or `ContentTabs` for panels | [workspace](references/workspace.md) |
|
|
70
|
+
| A transcript, a prompt, tool activity, approvals | `Conversation`, `Message`, `PromptInput`, `Approval` | [conversations](references/conversations.md) |
|
|
71
|
+
| Markdown, source, a diff, a file tree, a log, playback | `/content/markdown`, `/content/code`, `/content/diff`, `/content/tree`, `/content` | the catalog |
|
|
72
|
+
| A model or browser agent that reads and acts | `createAgent` and `registerTools` from `/agent` | [agent access](references/agent.md) |
|
|
73
73
|
|
|
74
74
|
## Start from a recipe
|
|
75
75
|
|