diff --git a/.changeset/pre.json b/.changeset/pre.json index cba7221..7ed7954 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -16,6 +16,7 @@ "changesets": [ "local-page-preview", "media-uploader-upload-notice", + "page-builder-137-pricing-header", "page-builder-editor-feedback", "text-editor-flush-pending" ] diff --git a/packages/page-builder/CHANGELOG.md b/packages/page-builder/CHANGELOG.md index bee9ab5..78c8726 100644 --- a/packages/page-builder/CHANGELOG.md +++ b/packages/page-builder/CHANGELOG.md @@ -1,5 +1,17 @@ # @frontlit/page-builder +## 0.1.0-alpha.5 + +### 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. + ## 0.1.0-alpha.4 ### Minor Changes diff --git a/packages/page-builder/package.json b/packages/page-builder/package.json index 1d780b1..e39253a 100644 --- a/packages/page-builder/package.json +++ b/packages/page-builder/package.json @@ -1,6 +1,6 @@ { "name": "@frontlit/page-builder", - "version": "0.1.0-alpha.4", + "version": "0.1.0-alpha.5", "description": "Block-based WYSIWYG page builder and renderer for React", "author": "FrontLit", "license": "MIT", diff --git a/packages/preview/CHANGELOG.md b/packages/preview/CHANGELOG.md index c8067d2..e41bde7 100644 --- a/packages/preview/CHANGELOG.md +++ b/packages/preview/CHANGELOG.md @@ -1,5 +1,12 @@ # @frontlit/preview +## 0.1.0-alpha.3 + +### Patch Changes + +- Updated dependencies [fb32112] + - @frontlit/page-builder@0.1.0-alpha.5 + ## 0.1.0-alpha.2 ### Minor Changes diff --git a/packages/preview/package.json b/packages/preview/package.json index d07a836..3cd4fd3 100644 --- a/packages/preview/package.json +++ b/packages/preview/package.json @@ -1,6 +1,6 @@ { "name": "@frontlit/preview", - "version": "0.1.0-alpha.2", + "version": "0.1.0-alpha.3", "description": "Local, file-watching previews for FrontLit page JSON", "type": "module", "license": "MIT",