Commit Graph

244 Commits

Author SHA1 Message Date
仓鼠 d6263515f4 fix(playground-editor): add full height class to ConversationContent (#465)
* fix(playground-editor): add full height class to ConversationContent

* docs: add changeset

* fix(playground-editor): update Textarea class for consistent field sizing

* Delete .changeset/fix-playground-safari-textarea.md

---------

Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
2026-03-16 10:39:24 -07:00
Hayden Bleasel 90a7b58ca8 Run fix 2026-03-12 17:35:48 -07:00
Aradhya C P 2a83c97c1f Fix: Fix streaming of custom markdown input in PlaygroundEditor (#462)
* Implement markdown output state for streaming simulation

* Update streaming simulation to use markdownOutput conditionally
2026-03-12 17:32:34 -07:00
Dmitrii d6666b6de3 feat: add lineNumbers prop to disable line numbers in code blocks (#460)
* feat: add lineNumbers prop to disable line numbers in code blocks

* docs: add lineNumbers prop and noLineNumbers meta string

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Dmitrii Troitskii <jsleitor@gmail.com>
Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-12 17:31:46 -07:00
Hayden Bleasel 51f5ba6cf7 Update remend priorities 2026-03-10 16:47:15 -07:00
Hayden Bleasel 716a5f05a9 Resolves #445 2026-03-10 16:46:10 -07:00
Tatsunori Uchino 6f1ea07b22 chore(deps): update remark-cjk-friendly and remark-cjk-friendly-gfm-strikethrough to v2.x (#455)
* Update remark-cjk-friendly and remark-cjk-friendly-gfm-strikethrough to v2.x

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Tatsunori Uchino <tats.u@live.jp>

* Fix wrong changeset level (minor -> patch)

---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
2026-03-10 16:06:46 -07:00
Hayden Bleasel 0dff8de003 Build fixes 2026-03-04 10:39:59 -08:00
Rich Haines 9d78590b2d Make sitemap.md static via generateStaticParams (#432) 2026-03-04 10:34:00 -08:00
Hayden Bleasel 2cf559d500 Resolves #191 2026-03-03 18:10:56 -08:00
Hayden Bleasel 781178b99c Resolves #272 2026-03-03 17:05:57 -08:00
Hayden Bleasel 71184cce30 Resolves #329 2026-03-03 16:58:12 -08:00
Hayden Bleasel ad21f7d69e Resolves #317 2026-03-03 16:51:44 -08:00
Udit Kumar fb76275ef4 Feat/table fullscreen (#390)
* feat(streamdown): add fullscreen support for tables

* test(streamdown): add fullscreen behavior tests

* docs: document fullscreen styling and usage

* add: changeset

* fix: prevent unintended fullscreen close

* fix: resolve shiki theme style mapping

---------

Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 16:16:10 -08:00
Hayden Bleasel ff390bb114 Update docs 2026-03-03 15:43:20 -08:00
Hayden Bleasel d5af95b18a Run linter/formatter 2026-03-03 15:38:08 -08:00
Hayden Bleasel 80bcc5f29d Improve table docs 2026-03-03 13:19:49 -08:00
Hayden Bleasel dbcfa12857 Update docs 2026-03-03 13:18:50 -08:00
Lucas Estevão 27c7b037d0 feat: export table action components and utilities (#421)
Export TableCopyDropdown, TableDownloadButton, TableDownloadDropdown,
and table utility functions (extractTableDataFromElement, tableDataToCSV,
tableDataToTSV, tableDataToMarkdown, escapeMarkdownTableCell, TableData)
from the main entry point, enabling custom table overrides to preserve
copy/download interactivity.

Also fixes a type error in table components where `size` prop was passed
to SVG icons that only accept standard SVG attributes (width/height).

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-03 13:17:26 -08:00
Hayden Bleasel 7b404379d9 Fix plugin docs 2026-03-03 13:09:00 -08:00
Aradhya C P 5edff75c13 docs: add code, cjk, math, and mermaid to @source (#430)
* docs: update Tailwind CSS setup instructions to include additional Streamdown modules in README.md

* docs: update FAQ to include additional Streamdown module sources in globals.css

* docs: update Tailwind CSS configuration to include additional Streamdown module sources in getting-started.mdx

* docs: update migration guide to include additional Streamdown module sources in globals.css

* docs: update Tailwind CSS configuration in SKILL.md to include additional Streamdown module sources

* chore: add changeset for @source documentation updates

* docs: update README to include optional Streamdown plugin installation instructions

* docs: update FAQ to include instructions for optional Streamdown plugins in globals.css

* docs: update Tailwind CSS configuration in getting-started.mdx to clarify optional plugin integration

* docs: add Tailwind CSS configuration instructions for @streamdown/code plugin

* docs: update migration guide to include plugin source path instructions for Tailwind CSS

* docs: add Tailwind CSS integration instructions for @streamdown/cjk plugin

* docs: add Tailwind CSS integration instructions for @streamdown/math plugin

* docs: add Tailwind CSS integration instructions for @streamdown/mermaid plugin

* docs: update the changeset

* docs: update Tailwind CSS configuration instructions for clarity

* docs: update links for plugin documentation
2026-03-03 13:07:22 -08:00
Rich Haines 559274fe29 Add sitemap.md route for LLM-friendly documentation indexing (#429) 2026-03-03 10:16:05 -08:00
Hayden Bleasel e4c37b73c0 Create migration guide 2026-02-25 11:58:57 -08:00
Hayden Bleasel 2d929d021e Update website logos 2026-02-25 09:47:47 -08:00
Hayden Bleasel 89b44cd106 Fix double overflow issue on homepage 2026-02-19 10:35:39 -08:00
Hayden Bleasel 1102f1855e Fix all Biome lint and formatting errors
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 20:57:01 -08:00
Hayden Bleasel 847132d73c Remove ts-router-chat-test 2026-02-18 20:47:58 -08:00
Hayden Bleasel 93a79cc06b Resolves #270 2026-02-18 19:08:39 -08:00
Hayden Bleasel eb4099d1b1 Update templates.tsx 2026-02-18 19:04:29 -08:00
Hayden Bleasel e336d9848e Link out to templates 2026-02-18 16:14:00 -08:00
dependabot[bot] 40ff972f40 Bump the npm_and_yarn group across 1 directory with 4 updates (#405)
Bumps the npm_and_yarn group with 1 update in the / directory: [@modelcontextprotocol/sdk](https://github.com/modelcontextprotocol/typescript-sdk).


Updates `@modelcontextprotocol/sdk` from 1.25.2 to 1.26.0
- [Release notes](https://github.com/modelcontextprotocol/typescript-sdk/releases)
- [Commits](https://github.com/modelcontextprotocol/typescript-sdk/compare/v1.25.2...v1.26.0)

Updates `ajv` from 8.17.1 to 8.18.0
- [Release notes](https://github.com/ajv-validator/ajv/releases)
- [Commits](https://github.com/ajv-validator/ajv/compare/v8.17.1...v8.18.0)

Updates `hono` from 4.11.4 to 4.11.10
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.11.4...v4.11.10)

Updates `qs` from 6.14.1 to 6.15.0
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.14.1...v6.15.0)

---
updated-dependencies:
- dependency-name: "@modelcontextprotocol/sdk"
  dependency-version: 1.26.0
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: ajv
  dependency-version: 8.18.0
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: hono
  dependency-version: 4.11.10
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: qs
  dependency-version: 6.15.0
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-18 14:26:37 -08:00
Hayden Bleasel 55da9dacfc Draft new Geistdocs homepage 2026-02-18 13:15:46 -08:00
Hayden Bleasel 6363be1efe Implement Conversation component 2026-02-18 10:39:49 -08:00
Hayden Bleasel ecaad72cd3 Make playground Streamdown customizable 2026-02-18 10:32:26 -08:00
Hayden Bleasel 69761f2ab7 Update meta.json 2026-02-18 10:20:48 -08:00
Hayden Bleasel 1cf1dd842f Add redirects 2026-02-18 10:20:45 -08:00
Hayden Bleasel d79ebb7227 Merge Mermaid pages 2026-02-18 10:20:38 -08:00
Hayden Bleasel 7bfc313c43 Merge Math pages 2026-02-18 10:18:55 -08:00
Hayden Bleasel 5eba3f120a Merge CJK pages 2026-02-18 10:17:51 -08:00
Hayden Bleasel 883d6c0183 Destructure plugin pages 2026-02-18 10:12:18 -08:00
Hayden Bleasel dc1f61552c Update playground-editor.tsx 2026-02-18 10:10:03 -08:00
Hayden Bleasel bc29c15443 Update Geistdocs 2026-02-18 10:08:44 -08:00
Hayden Bleasel 55260d255d Fix homepage usage code block 2026-02-18 09:50:33 -08:00
Hayden Bleasel deae6aa4cf Cleanup Playground 2026-02-18 09:47:36 -08:00
Hayden Bleasel 604953075e Update docs 2026-02-18 09:41:14 -08:00
Hayden Bleasel 4d0901109d Update code-block.tsx 2026-02-18 09:40:57 -08:00
Hayden Bleasel cfd16ea2f7 Update docs 2026-02-18 09:13:57 -08:00
Tim Neutkens bacd11bee8 Add /playground to website (#404) 2026-02-18 08:57:19 -08:00
PaulSenon 15645da72e Feat/code block cls lower lazy boundary (#392)
* feat: Improve code block visual stability by moving lazy highlight boundary

* style: update contributing linter rules and fixed missed linter issues

* revert superfluous changes to CONTRIBUTING.md and geistdocs.tsx

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 16:36:48 -08:00
Waseem 3657e42bcc feat: add useIsBlockIncomplete hook for detecting incomplete streaming blocks (#381)
* feat: add useIsBlockIncomplete hook for detecting incomplete streaming blocks

Custom components can now detect when the block they're rendering is still
being streamed (incomplete). This is useful for showing loading states in
code blocks during streaming.

- Add BlockIncompleteContext and useIsBlockIncomplete hook
- Add hasIncompleteCodeFence utility to detect unclosed code fences
- Calculate isIncomplete state per block during render
- Default CodeComponent uses the hook to set data-incomplete attribute
- Add comprehensive tests for the new functionality

* docs: add useIsBlockIncomplete documentation

- Add "Streaming State" section to components.mdx explaining the hook
- Add "Avoid Continuous Re-rendering" section to mermaid.mdx with example

* fix: support tilde code fences in hasIncompleteCodeFence

Adds support for detecting incomplete ~~~ code fences in addition to
backtick fences, per CommonMark/GFM spec.

* fix: address PR review — line-based fence detection, rename hook/context

- rewrite hasIncompleteCodeFence to walk line-by-line per CommonMark spec
  - fixes 6+ backtick fences being miscounted
  - fixes false positives from inline backticks in prose
  - respects fence character matching and length requirements
- rename block-position-context.ts → block-incomplete-context.ts
- rename useIsBlockIncomplete → useIsCodeFenceIncomplete
- add tests for edge cases (long fences, inline backticks, indentation)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 16:14:57 -08:00