Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/docs-diagnostic-locations.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/docs-rich-blocks.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/local-page-preview.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/media-uploader-upload-notice.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/page-builder-137-pricing-header.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/page-builder-a11y-chrome.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/page-builder-api-reference-primitives.md

This file was deleted.

20 changes: 0 additions & 20 deletions .changeset/page-builder-editor-feedback.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/page-builder-image-primitive-optimizer.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/page-builder-lean-rich-text.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/page-builder-section-sticky.md

This file was deleted.

33 changes: 0 additions & 33 deletions .changeset/pre.json

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/preview-stable-install.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/preview-theme-borders.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/text-editor-dark-tokens.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/text-editor-flush-pending.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/text-editor-pluggable-blocks.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/text-editor-selection-menu-keyboard.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/text-editor-stable-host-blocks.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/text-editor-tiptap-ranges.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/text-editor-underline-links.md

This file was deleted.

3 changes: 3 additions & 0 deletions examples/components-demo/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# @frontlit/components-demo

## 0.1.1
2 changes: 1 addition & 1 deletion examples/components-demo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@frontlit/components-demo",
"version": "0.1.0",
"version": "0.1.1",
"private": true,
"type": "module",
"description": "Vite demo of FrontLit's published page-builder and text-editor packages",
Expand Down
15 changes: 15 additions & 0 deletions examples/text-editor-blocks/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# @frontlit/text-editor-blocks-example

## 0.1.1

### Patch Changes

- Updated dependencies [fc2a99f]
- Updated dependencies [08c80fc]
- Updated dependencies [b3490c4]
- Updated dependencies [253e3cf]
- Updated dependencies [121ad02]
- Updated dependencies [d32aba4]
- Updated dependencies [e518076]
- Updated dependencies [2b73b72]
- Updated dependencies [d035eb3]
- @frontlit/text-editor@0.1.0

## 0.1.1-alpha.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/text-editor-blocks/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@frontlit/text-editor-blocks-example",
"version": "0.1.1-alpha.0",
"version": "0.1.1",
"private": true,
"type": "module",
"description": "Vite example of @frontlit/text-editor pluggable blocks with real MediaLit uploads",
Expand Down
3 changes: 3 additions & 0 deletions packages/api-contract/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# @frontlit/api-contract

## 0.1.1
2 changes: 1 addition & 1 deletion packages/api-contract/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@frontlit/api-contract",
"private": true,
"version": "0.1.0",
"version": "0.1.1",
"description": "Shared ts-rest contract (Zod schemas + route definitions) for the FrontLit API — single source of truth for server validation, the OpenAPI doc, and the typed web client",
"author": "FrontLit",
"license": "MIT",
Expand Down
6 changes: 6 additions & 0 deletions packages/media-uploader/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @frontlit/media-uploader

## 0.1.0

### Minor Changes

- faed9fa: `MediaUploadDialog` and `MediaUploaderProvider` accept an optional `uploadNotice`, a short note shown in the upload dialog.

## 0.1.0-alpha.1

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/media-uploader/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@frontlit/media-uploader",
"version": "0.1.0-alpha.1",
"version": "0.1.0",
"description": "Reusable media and file upload dialog with library and Unsplash tabs for React",
"author": "FrontLit",
"license": "MIT",
Expand Down
50 changes: 50 additions & 0 deletions packages/page-builder/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,55 @@
# @frontlit/page-builder

## 0.1.0

### Minor Changes

- fb32112: Pricing and Header block fixes, and block icons (#137).

- Pricing: the grid now has one column per plan (up to 4) on desktop, so 1–2 plans fill the row; a single plan is capped at `max-w-xl`.
- Pricing: optional Monthly/Yearly switch (`pricingSwitcher`, `monthlyPriceCaption`, `yearlyPriceCaption`, `defaultPeriod`) with per-tier `priceYearly` and `buttonActionYearly`, each falling back to the monthly value. Both prices are server-rendered; a small client island flips between them.
- Header: the mobile menu button is hidden when the header has no links or CTA.
- Header: optional GitHub link (`githubRepo` as `owner/repo` or a github.com URL) with an optional star count (`showGithubStars`), fetched in the browser.
- Every built-in block has its own icon (`metadata.icon`) in the "Add a block" picker and the block settings header, instead of one shared layout icon.

- 9ec98c5: Add `Tabs`, `Table`, `Collapsible`, `NativeSelect` and `InlineCode` primitives (all themed; `Tabs` is a client island, the rest are server-safe), and export `CodeSnippet` from `@frontlit/page-builder/primitives/server`.
- 253e3cf: Page builder fixes and theme/typography features from the Grok bot editor feedback (#43–#49, #33).

- Rich-text block fields sync to the canvas after 150 ms and flush pending edits when the panel closes, so text is no longer lost. The builder also flushes its save debounce on unmount.
- The "+" between blocks is clickable again; "Add block" inserts after the selected block, and new blocks scroll into view and flash.
- Deleting a block asks for confirmation in a dialog.
- Theme editor: editing a built-in theme previews a renameable copy until "Use this theme"; all typography levels are edited on one screen; colours accept oklch and other CSS colour functions and flag invalid values.
- Block titles get a heading level (H1–H3; Hero defaults to H1, other blocks to H2) and per-device size overrides on the Design tab. Header and footer logos are no longer headings.
- Fluid typography: heading levels can scale between a phone and a desktop size (`clamp()`), with a new Display level for hero headlines. Built-in themes ship with fluid sizes, balanced wrapping and roomier line height on phones.
- Words wrapped in `*asterisks*` in block titles are highlighted, in the primary colour or as a marker (new theme `highlight` setting).
- New `CodeSnippet` primitive, "Code snippet" block and Hero install-command field, with a new optional `code` typography level.
- New "Terminal" built-in theme, a section hairline option (`structure.section.dividers`), and four new self-hosted fonts: Archivo, JetBrains Mono, Hanken Grotesk and Spline Sans Mono (new Mono category).
- Hero gets an optional small-print line under the buttons.
- Device previews keep the page at exactly 390px/768px by accounting for the iframe scrollbar.
- New primitives and helpers: `Display`, `createHeading`, `fluidFontSize`, `HeadingTag`, and an `as` prop on `Header1`–`Header4`. `debounce()` now returns a function with `flush()`.
- Header and footer logo text falls back to the new `pageData.siteTitle`, and the footer tagline to `pageData.siteSubtitle`. Without a logo the header shows the FrontLit mark (new `FrontLitLogo` component), and without a title either, the FrontLit name.
- The color mode switcher moved from the header block to the footer block (`showThemeSwitcher` is now a footer setting). In the mobile menu, header links shown as buttons are full width. The mobile menu opens inside the builder preview instead of over the whole editor.

- a367f8a: Rich text in page blocks is basic formatting only: paragraphs, headings 2–4, lists, quotes, code blocks, dividers and line breaks, with bold, italic, strikethrough, inline code and links. The editor no longer offers images, tables, tabs, steps, callouts or other text-editor blocks (pages have their own Media and Embed blocks), and saves, page files and the renderer refuse them, so no route (builder, REST, MCP or Git) can add them. `pageTextProfile` and `PAGE_TEXT_FORMAT` are exported from `@frontlit/page-builder/schema`, and the JSON Schema and MCP `update_page` describe the allowed format.

### Patch Changes

- 8784af1: Accessibility fixes in site chrome: the `Drawer` trigger props now go on the trigger element instead of a wrapping `span` (no more `aria-expanded` on a non-interactive element), and footer column titles are `h2` instead of `h4`, so headings no longer skip levels.
- 86100b2: The `Image` primitive now goes through the host's image resolver, like block images, so blog, docs and feed images are resized by the host's optimizer. It also accepts `priority` for above-the-fold images. The resolver is shared across the package's entry points.
- b81387d: `Section` clips its content with `overflow: clip` instead of `overflow: hidden`, so sticky elements inside a section (such as a docs sidebar) stick to the viewport again.
- Updated dependencies [fc2a99f]
- Updated dependencies [08c80fc]
- Updated dependencies [faed9fa]
- Updated dependencies [b3490c4]
- Updated dependencies [253e3cf]
- Updated dependencies [121ad02]
- Updated dependencies [d32aba4]
- Updated dependencies [e518076]
- Updated dependencies [2b73b72]
- Updated dependencies [d035eb3]
- @frontlit/text-editor@0.1.0
- @frontlit/media-uploader@0.1.0

## 0.1.0-alpha.11

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/page-builder/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@frontlit/page-builder",
"version": "0.1.0-alpha.11",
"version": "0.1.0",
"description": "Block-based WYSIWYG page builder and renderer for React",
"author": "FrontLit",
"license": "MIT",
Expand Down
19 changes: 19 additions & 0 deletions packages/preview/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# @frontlit/preview

## 0.1.0

### Minor Changes

- 3187b56: Add a read-only Vite preview CLI for repository pages using the shared page-builder renderer, schema parsers, themes, fonts, local assets and optional context/feed fixtures.

### Patch Changes

- 7773655: The README runs the tool with `npx @frontlit/preview@latest` instead of `@alpha`, now that the packages have stable releases.
- 2b73b72: Give borders the theme's border colour, as published sites do. Cards, dividers and the header border used to render in the text colour.
- Updated dependencies [fb32112]
- Updated dependencies [8784af1]
- Updated dependencies [9ec98c5]
- Updated dependencies [253e3cf]
- Updated dependencies [86100b2]
- Updated dependencies [a367f8a]
- Updated dependencies [b81387d]
- @frontlit/page-builder@0.1.0

## 0.1.0-alpha.9

### Patch Changes
Expand Down
Loading