Commit Graph

14 Commits

Author SHA1 Message Date
sunzhongyi dd26470754 feat: enable live component rendering in MDX docs
Deploy to GitHub Pages / build (push) Has been cancelled
Deploy to GitHub Pages / deploy (push) Has been cancelled
- Register all 24 components in mdx-components.tsx via client boundary
- MDX files can now render real components inline (not just code blocks)
- media.mdx updated with live Figure and PullQuote demos
2026-05-22 10:08:18 +08:00
sunzhongyi 7b3afa245c docs: add 10 MDX pages for all components, text, and examples 2026-05-21 14:25:35 +08:00
sunzhongyi 729e6ab287 feat: migrate docs to Fumadocs framework
- Auto-generated sidebar from file structure
- Built-in search and TOC
- MDX native support with frontmatter
- Removed hand-written Sidebar component
- Docs now at /docs/* route (Landing/Blocks/Create/Examples unchanged)
- Content in content/docs/ as MDX files
2026-05-21 14:12:50 +08:00
sunzhongyi 9f36e2c0ef feat: landing page shows full demos inline, sidebar lists all components 2026-05-21 13:38:34 +08:00
sunzhongyi 60831e07aa refactor: rename to single package 'newspaperui' for simpler install 2026-05-21 11:20:01 +08:00
sunzhongyi 6d29e1a3e6 feat: add Folio/IndexBox/Factbox/JumpLine P0 components, redesign Landing Page as full newspaper 2026-05-21 10:57:58 +08:00
sunzhongyi e38372e34d feat: real component preview in Create page, RelatedArticles + AuthorCard, test coverage 40/51 2026-05-21 10:13:14 +08:00
sunzhongyi 5f65d741ed feat: responsive system, engineering infra, new components, performance
- Section: responsive prop with media query injection
- visual-weights: fontSize clamp() for responsive sizing
- variables.css: add border-radius/shadow/transition/z-index tokens
- ESLint flat config + Prettier + Changeset init
- New components: Footer, NewsSidebar, BreakingNewsBanner
- Image/Figure: loading=lazy, aspectRatio, sizes props
2026-05-21 10:04:35 +08:00
sunzhongyi 184353cfb0 feat: add Create page for interactive theme customization 2026-05-20 17:29:37 +08:00
sunzhongyi 466613a69b fix: correct GitHub link to actual repository URL
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-05-20 17:10:30 +08:00
sunzhongyi 1f09bba3ef feat: complete newspaperui component library with docs site
- 18 React components (Layout/Section/Article/Layer/Masthead/Rule +
  Headline/Subhead/Kicker/BodyText/Quote/Byline/Dateline/Caption +
  Image/Figure/Video/PullQuote)
- Theme: warm off-white palette, Source Serif 4 / Cormorant Garamond /
  Inter / Noto Serif SC/JP, visual weight mapping, dark mode
- Docs: Landing page, 6 Blocks (zh/en/jp), component API docs
- GitHub Pages deployment via static export

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-05-20 14:22:14 +08:00
sunzhongyi 610805a374 - 2026-05-20 01:30:49 +08:00
sunzhongyi 7dded89537 - 2026-05-20 01:30:41 +08:00
sunzhongyi f3e6b95be9 - 2026-05-19 21:09:56 +08:00