Skip to content

feat: sortable, timeline rails, and MCP component spec - #41

Merged
jack755051 merged 4 commits into
mainfrom
feat/sortable-timeline-mcp-spec
Sep 27, 2026
Merged

jack755051 merged 4 commits into
mainfrom
feat/sortable-timeline-mcp-spec

Conversation

@jack755051

Copy link
Copy Markdown
Contributor

Summary

  • Add sortable for pointer and keyboard reordering of a single list; cards and other content compose with [sanringSortableItem].
  • sanringTimelineSeparator now draws the rail and default marker, and can sit on the same node as sortable.
  • MCP adds get_component_spec (selectors, anatomy, API, a11y). get_component_info stays install metadata; search_components matches aliases.

Includes a minor changeset for @sanring/cli 0.26.0. After this merges, the Version Packages PR publishes npm.

Test plan

  • Docs /components/sortable: drag, keyboard reorder, handle-only drag
  • Docs /components/timeline: default markers/rail, horizontal, reorder demo with sortable
  • pnpm --filter @sanring/cli test covers get_component_spec and alias search
  • pnpm --filter @sanring/cli generate-specs --check / registry sync stays green
  • Confirm .changeset/sortable-timeline-mcp-spec.md is the only pending changeset

Made with Cursor

jack755051 and others added 4 commits September 27, 2026 17:50
Cards and other content compose with [sanringSortableItem] so a list can
be reordered by pointer or keyboard without a first-class item API.

Co-authored-by: Cursor <cursoragent@cursor.com>
Agents need real selectors and API contracts before writing templates;
get_component_info stays install metadata, not authoring guidance.

Co-authored-by: Cursor <cursoragent@cursor.com>
Separators own the connector and default marker so items stop
hand-rolling dots. Sortable drops its host class binding so both
directives can sit on the same node.

Co-authored-by: Cursor <cursoragent@cursor.com>
The leftover avatar patch would republish 0.25.2 notes. A minor
changeset covers sortable, timeline rails, and get_component_spec.

Co-authored-by: Cursor <cursoragent@cursor.com>
@jack755051
jack755051 merged commit b426dbc into main Sep 27, 2026
5 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant