@mechane-ai/elements 0.58.0 → 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 +16 -5
- package/dist/packages/content/src/timeline-scrubber.d.ts +9 -3
- package/dist/packages/content/src/viewport-frame.d.ts +3 -1
- package/dist/src-BAlO76fa.js +1140 -0
- package/dist/styles2.css +8 -0
- package/package.json +1 -1
- package/skills/use-elements/SKILL.md +18 -18
- package/dist/src-Cw1yrc2P.js +0 -871
package/dist/styles2.css
CHANGED
|
@@ -1059,6 +1059,10 @@
|
|
|
1059
1059
|
background-color: var(--x24btp3);
|
|
1060
1060
|
}
|
|
1061
1061
|
|
|
1062
|
+
.x16lk066 {
|
|
1063
|
+
background-color: var(--x3s82iy);
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1062
1066
|
.xqtq5zq {
|
|
1063
1067
|
background-color: var(--x5peq9z);
|
|
1064
1068
|
}
|
|
@@ -4759,6 +4763,10 @@
|
|
|
4759
4763
|
}
|
|
4760
4764
|
|
|
4761
4765
|
@media (pointer: coarse) {
|
|
4766
|
+
.x1gtc3ja.x1gtc3ja {
|
|
4767
|
+
width: var(--x1qq5i99);
|
|
4768
|
+
}
|
|
4769
|
+
|
|
4762
4770
|
.x1ff4b4a.x1ff4b4a {
|
|
4763
4771
|
width: var(--x6uufy4);
|
|
4764
4772
|
}
|
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
|
|