From 7ac411b4872c6d7630f661b3c6855e967afedaeb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 5 Apr 2026 15:05:50 +0000 Subject: [PATCH] chore: update versions --- .changeset/add-button-group-recipe.md | 11 ---- .changeset/add-card-recipe.md | 11 ---- .changeset/add-light-dark-neutral-colors.md | 10 ---- .changeset/add-modal-recipe.md | 13 ----- .changeset/add-nav-recipe.md | 10 ---- .changeset/card-part-borders.md | 11 ---- .changeset/compound-variant-classname.md | 10 ---- .changeset/recipe-boolean-variants.md | 10 ---- .changeset/rename-alert-to-callout.md | 11 ---- .changeset/rename-danger-to-error-color.md | 10 ---- engine/core/CHANGELOG.md | 8 +++ engine/core/package.json | 2 +- engine/runtime/CHANGELOG.md | 17 ++++++ engine/runtime/package.json | 6 +- engine/styleframe/CHANGELOG.md | 65 +++++++++++++++++++++ engine/styleframe/package.json | 10 ++-- engine/transpiler/CHANGELOG.md | 13 +++++ engine/transpiler/package.json | 6 +- pnpm-lock.yaml | 22 +++---- testing/integration/package.json | 4 +- theme/CHANGELOG.md | 56 ++++++++++++++++++ theme/package.json | 8 +-- tooling/plugin/playground/package.json | 6 +- 23 files changed, 191 insertions(+), 139 deletions(-) delete mode 100644 .changeset/add-button-group-recipe.md delete mode 100644 .changeset/add-card-recipe.md delete mode 100644 .changeset/add-light-dark-neutral-colors.md delete mode 100644 .changeset/add-modal-recipe.md delete mode 100644 .changeset/add-nav-recipe.md delete mode 100644 .changeset/card-part-borders.md delete mode 100644 .changeset/compound-variant-classname.md delete mode 100644 .changeset/recipe-boolean-variants.md delete mode 100644 .changeset/rename-alert-to-callout.md delete mode 100644 .changeset/rename-danger-to-error-color.md diff --git a/.changeset/add-button-group-recipe.md b/.changeset/add-button-group-recipe.md deleted file mode 100644 index fee47f24..00000000 --- a/.changeset/add-button-group-recipe.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"@styleframe/theme": minor -"styleframe": minor ---- - -Add ButtonGroup recipe for grouping buttons with joined borders - -- Add `useButtonGroupRecipe` with orientation (`horizontal`, `vertical`) and block (`true`, `false`) variants -- Use compound variant `className` with RSCSS modifiers (`-horizontal`, `-vertical`, `-block`) to emit helper classes -- Use `setup` callback to register nested selectors for joined-button effects (border-radius and border removal on inner children) -- Add ButtonGroup storybook component, grid preview, and stories diff --git a/.changeset/add-card-recipe.md b/.changeset/add-card-recipe.md deleted file mode 100644 index 1c7a9785..00000000 --- a/.changeset/add-card-recipe.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"@styleframe/theme": minor -"styleframe": minor ---- - -Add Card recipe with border style utility improvements - -- Add `useCardRecipe` with size (`sm`, `md`, `lg`), variant (`elevated`, `outline`, `filled`, `ghost`), and color variants including light, dark, and neutral -- Add border style utility support (`solid`, `dashed`, `dotted`, `double`, `hidden`, `none`) with responsive and state modifier capabilities -- Normalize light/dark color variants across Badge, Button, and Callout recipes using `text-inverted` token -- Add Card storybook components, grid previews, and stories diff --git a/.changeset/add-light-dark-neutral-colors.md b/.changeset/add-light-dark-neutral-colors.md deleted file mode 100644 index 17f40e63..00000000 --- a/.changeset/add-light-dark-neutral-colors.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@styleframe/theme": minor -"styleframe": minor ---- - -Add light, dark, and neutral colors to Badge and Button recipes - -- Add `light`, `dark`, and `neutral` color variants to `useBadgeRecipe` with compound variants for solid, outline, soft, and subtle styles -- Add `light`, `dark`, and `neutral` color variants to `useButtonRecipe` with compound variants for solid, outline, soft, subtle, ghost, and link styles -- Update storybook Badge and Button components, grid previews, and stories to document the new colors diff --git a/.changeset/add-modal-recipe.md b/.changeset/add-modal-recipe.md deleted file mode 100644 index 484d1a2d..00000000 --- a/.changeset/add-modal-recipe.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"@styleframe/theme": minor -"styleframe": minor ---- - -Add Modal recipe with overlay, header, body, and footer parts - -- Add `useModalRecipe` with size (`sm`, `md`, `lg`), variant (`solid`, `soft`, `subtle`), and color (`light`, `dark`, `neutral`) variants matching the Card recipe structure -- Add `useModalHeaderRecipe` and `useModalFooterRecipe` with separator border compound variants and setup functions for `:first-child`/`:last-child` border collapse -- Add `useModalBodyRecipe` with size-based padding and gap, no compound variants -- Add `useModalOverlayRecipe` with fixed-position full-screen backdrop (`rgba(0, 0, 0, 0.75)`) and centered flex layout -- Add Modal storybook components, grid previews, and stories with interactive open/close and fullscreen example -- Add Modal documentation page diff --git a/.changeset/add-nav-recipe.md b/.changeset/add-nav-recipe.md deleted file mode 100644 index 87916a17..00000000 --- a/.changeset/add-nav-recipe.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@styleframe/theme": minor -"styleframe": minor ---- - -Add Nav recipe with list-style utility - -- Add `useNavRecipe` and `useNavItemRecipe` multi-part recipes with size (xs–xl), color, and variant (pills, underline, default) support -- Add `useListStyleUtility` shorthand utility for the `list-style` CSS property -- Add Nav storybook components, grid previews, and stories diff --git a/.changeset/card-part-borders.md b/.changeset/card-part-borders.md deleted file mode 100644 index 4978ab91..00000000 --- a/.changeset/card-part-borders.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"@styleframe/theme": minor -"styleframe": minor ---- - -Add per-part borders with adjacency collapsing to Card recipe - -- Add independent `borderTop` and `borderBottom` to each card part (header, body, footer) with compound variants per color×variant -- Add `:first-child` / `:last-child` collapse selectors to header and footer recipes to remove duplicate borders at card edges -- Extend `createUseRecipe` with an optional `setup` callback for registering selectors alongside recipes -- Add `color` and `variant` props to `CardBody` component diff --git a/.changeset/compound-variant-classname.md b/.changeset/compound-variant-classname.md deleted file mode 100644 index d61dd07e..00000000 --- a/.changeset/compound-variant-classname.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@styleframe/core": minor -"@styleframe/runtime": minor -"styleframe": minor ---- - -Add className support for compound variants in recipes - -- Add optional `className` field to compound variants, appended to output when conditions match -- Make `css` optional on compound variants, allowing className-only compound variants diff --git a/.changeset/recipe-boolean-variants.md b/.changeset/recipe-boolean-variants.md deleted file mode 100644 index e07f8c81..00000000 --- a/.changeset/recipe-boolean-variants.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@styleframe/runtime": minor -"@styleframe/transpiler": minor -"styleframe": minor ---- - -Add boolean support for recipe variant props - -- When a variant defines both `true` and `false` keys, the runtime now accepts boolean `true`/`false` values in addition to string `"true"`/`"false"` -- Generated `.d.ts` type declarations include `| boolean` in the type union for boolean variants diff --git a/.changeset/rename-alert-to-callout.md b/.changeset/rename-alert-to-callout.md deleted file mode 100644 index 26b2d57e..00000000 --- a/.changeset/rename-alert-to-callout.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"@styleframe/theme": minor -"styleframe": minor ---- - -Rename Alert recipe to Callout recipe - -- Rename `useAlertRecipe` to `useCalloutRecipe` with updated recipe name from `alert` to `callout` -- Add `CalloutContent`, `CalloutTitle`, and `CalloutDescription` sub-components for better composability -- Move storybook grid preview components into `preview/` subdirectories for cleaner organization -- Add Callout documentation page diff --git a/.changeset/rename-danger-to-error-color.md b/.changeset/rename-danger-to-error-color.md deleted file mode 100644 index c8a820dd..00000000 --- a/.changeset/rename-danger-to-error-color.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@styleframe/theme": minor -"styleframe": minor ---- - -Rename `danger` semantic color to `error` across the design system - -- Rename `danger` color token to `error` in default color values and border color values -- Update all recipes (badge, button, callout) to use `error` instead of `danger` in color variants -- Update all documentation, storybook stories, and playground examples diff --git a/engine/core/CHANGELOG.md b/engine/core/CHANGELOG.md index 6329ec31..e99669db 100644 --- a/engine/core/CHANGELOG.md +++ b/engine/core/CHANGELOG.md @@ -1,5 +1,13 @@ # @styleframe/core +## 3.3.0 + +### Minor Changes + +- [#164](https://github.com/styleframe-dev/styleframe/pull/164) [`efd99f7`](https://github.com/styleframe-dev/styleframe/commit/efd99f70a30f9a42c6e1793ed777b1565fb47a82) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add className support for compound variants in recipes + - Add optional `className` field to compound variants, appended to output when conditions match + - Make `css` optional on compound variants, allowing className-only compound variants + ## 3.2.0 ### Minor Changes diff --git a/engine/core/package.json b/engine/core/package.json index 48fa5605..48a913d5 100644 --- a/engine/core/package.json +++ b/engine/core/package.json @@ -1,6 +1,6 @@ { "name": "@styleframe/core", - "version": "3.2.0", + "version": "3.3.0", "type": "module", "types": "./dist/styleframe.d.ts", "module": "./dist/styleframe.js", diff --git a/engine/runtime/CHANGELOG.md b/engine/runtime/CHANGELOG.md index d81d8f7f..dd7d4cc3 100644 --- a/engine/runtime/CHANGELOG.md +++ b/engine/runtime/CHANGELOG.md @@ -1,5 +1,22 @@ # @styleframe/runtime +## 3.1.0 + +### Minor Changes + +- [#164](https://github.com/styleframe-dev/styleframe/pull/164) [`efd99f7`](https://github.com/styleframe-dev/styleframe/commit/efd99f70a30f9a42c6e1793ed777b1565fb47a82) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add className support for compound variants in recipes + - Add optional `className` field to compound variants, appended to output when conditions match + - Make `css` optional on compound variants, allowing className-only compound variants + +- [#167](https://github.com/styleframe-dev/styleframe/pull/167) [`179c90d`](https://github.com/styleframe-dev/styleframe/commit/179c90d9f73dadbbeb9159ab9fbd7287ceba1f20) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add boolean support for recipe variant props + - When a variant defines both `true` and `false` keys, the runtime now accepts boolean `true`/`false` values in addition to string `"true"`/`"false"` + - Generated `.d.ts` type declarations include `| boolean` in the type union for boolean variants + +### Patch Changes + +- Updated dependencies [[`efd99f7`](https://github.com/styleframe-dev/styleframe/commit/efd99f70a30f9a42c6e1793ed777b1565fb47a82)]: + - @styleframe/core@3.3.0 + ## 3.0.0 ### Major Changes diff --git a/engine/runtime/package.json b/engine/runtime/package.json index 28307e98..2dd5cd6b 100644 --- a/engine/runtime/package.json +++ b/engine/runtime/package.json @@ -1,6 +1,6 @@ { "name": "@styleframe/runtime", - "version": "3.0.0", + "version": "3.1.0", "type": "module", "types": "./dist/runtime.d.ts", "module": "./dist/runtime.js", @@ -28,7 +28,7 @@ "devDependencies": { "@styleframe/config-typescript": "workspace:^3.0.0", "@styleframe/config-vite": "workspace:^3.0.0", - "@styleframe/core": "workspace:^3.0.0", + "@styleframe/core": "workspace:^3.3.0", "@vitest/coverage-v8": "catalog:", "typescript": "catalog:", "vite": "catalog:", @@ -36,7 +36,7 @@ "vite-plugin-dts": "catalog:" }, "peerDependencies": { - "@styleframe/core": "workspace:^3.0.0" + "@styleframe/core": "workspace:^3.3.0" }, "homepage": "https://github.com/styleframe-dev/styleframe#readme", "bugs": { diff --git a/engine/styleframe/CHANGELOG.md b/engine/styleframe/CHANGELOG.md index 15926f11..910dc90a 100644 --- a/engine/styleframe/CHANGELOG.md +++ b/engine/styleframe/CHANGELOG.md @@ -1,5 +1,70 @@ # styleframe +## 3.4.0 + +### Minor Changes + +- [#165](https://github.com/styleframe-dev/styleframe/pull/165) [`5ef9019`](https://github.com/styleframe-dev/styleframe/commit/5ef9019fd0121cf95bd4e7373dbd55028f25b6d0) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add ButtonGroup recipe for grouping buttons with joined borders + - Add `useButtonGroupRecipe` with orientation (`horizontal`, `vertical`) and block (`true`, `false`) variants + - Use compound variant `className` with RSCSS modifiers (`-horizontal`, `-vertical`, `-block`) to emit helper classes + - Use `setup` callback to register nested selectors for joined-button effects (border-radius and border removal on inner children) + - Add ButtonGroup storybook component, grid preview, and stories + +- [#162](https://github.com/styleframe-dev/styleframe/pull/162) [`990ed33`](https://github.com/styleframe-dev/styleframe/commit/990ed33078b61ddf1cd025ce358862d103e0ea84) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add Card recipe with border style utility improvements + - Add `useCardRecipe` with size (`sm`, `md`, `lg`), variant (`elevated`, `outline`, `filled`, `ghost`), and color variants including light, dark, and neutral + - Add border style utility support (`solid`, `dashed`, `dotted`, `double`, `hidden`, `none`) with responsive and state modifier capabilities + - Normalize light/dark color variants across Badge, Button, and Callout recipes using `text-inverted` token + - Add Card storybook components, grid previews, and stories + +- [#160](https://github.com/styleframe-dev/styleframe/pull/160) [`cb053e0`](https://github.com/styleframe-dev/styleframe/commit/cb053e0135fef47161537516c53e3fc0e8b238cb) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add light, dark, and neutral colors to Badge and Button recipes + - Add `light`, `dark`, and `neutral` color variants to `useBadgeRecipe` with compound variants for solid, outline, soft, and subtle styles + - Add `light`, `dark`, and `neutral` color variants to `useButtonRecipe` with compound variants for solid, outline, soft, subtle, ghost, and link styles + - Update storybook Badge and Button components, grid previews, and stories to document the new colors + +- [#171](https://github.com/styleframe-dev/styleframe/pull/171) [`6f6a360`](https://github.com/styleframe-dev/styleframe/commit/6f6a360b838188eae8244353351e8b458792c95d) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add Modal recipe with overlay, header, body, and footer parts + - Add `useModalRecipe` with size (`sm`, `md`, `lg`), variant (`solid`, `soft`, `subtle`), and color (`light`, `dark`, `neutral`) variants matching the Card recipe structure + - Add `useModalHeaderRecipe` and `useModalFooterRecipe` with separator border compound variants and setup functions for `:first-child`/`:last-child` border collapse + - Add `useModalBodyRecipe` with size-based padding and gap, no compound variants + - Add `useModalOverlayRecipe` with fixed-position full-screen backdrop (`rgba(0, 0, 0, 0.75)`) and centered flex layout + - Add Modal storybook components, grid previews, and stories with interactive open/close and fullscreen example + - Add Modal documentation page + +- [#168](https://github.com/styleframe-dev/styleframe/pull/168) [`0250281`](https://github.com/styleframe-dev/styleframe/commit/02502814c4ec5fba342d7dd20a72180635caf7d8) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add Nav recipe with list-style utility + - Add `useNavRecipe` and `useNavItemRecipe` multi-part recipes with size (xs–xl), color, and variant (pills, underline, default) support + - Add `useListStyleUtility` shorthand utility for the `list-style` CSS property + - Add Nav storybook components, grid previews, and stories + +- [#163](https://github.com/styleframe-dev/styleframe/pull/163) [`1a7dc77`](https://github.com/styleframe-dev/styleframe/commit/1a7dc77600b6c9766ed69bf00338a225f5188b12) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add per-part borders with adjacency collapsing to Card recipe + - Add independent `borderTop` and `borderBottom` to each card part (header, body, footer) with compound variants per color×variant + - Add `:first-child` / `:last-child` collapse selectors to header and footer recipes to remove duplicate borders at card edges + - Extend `createUseRecipe` with an optional `setup` callback for registering selectors alongside recipes + - Add `color` and `variant` props to `CardBody` component + +- [#164](https://github.com/styleframe-dev/styleframe/pull/164) [`efd99f7`](https://github.com/styleframe-dev/styleframe/commit/efd99f70a30f9a42c6e1793ed777b1565fb47a82) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add className support for compound variants in recipes + - Add optional `className` field to compound variants, appended to output when conditions match + - Make `css` optional on compound variants, allowing className-only compound variants + +- [#167](https://github.com/styleframe-dev/styleframe/pull/167) [`179c90d`](https://github.com/styleframe-dev/styleframe/commit/179c90d9f73dadbbeb9159ab9fbd7287ceba1f20) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add boolean support for recipe variant props + - When a variant defines both `true` and `false` keys, the runtime now accepts boolean `true`/`false` values in addition to string `"true"`/`"false"` + - Generated `.d.ts` type declarations include `| boolean` in the type union for boolean variants + +- [#158](https://github.com/styleframe-dev/styleframe/pull/158) [`90f1862`](https://github.com/styleframe-dev/styleframe/commit/90f1862e12596943fb739b7cf98e2dfc8c47ff6d) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Rename Alert recipe to Callout recipe + - Rename `useAlertRecipe` to `useCalloutRecipe` with updated recipe name from `alert` to `callout` + - Add `CalloutContent`, `CalloutTitle`, and `CalloutDescription` sub-components for better composability + - Move storybook grid preview components into `preview/` subdirectories for cleaner organization + - Add Callout documentation page + +- [#166](https://github.com/styleframe-dev/styleframe/pull/166) [`ff13980`](https://github.com/styleframe-dev/styleframe/commit/ff139805c9839da9b4d4511099e7838f7e159ba7) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Rename `danger` semantic color to `error` across the design system + - Rename `danger` color token to `error` in default color values and border color values + - Update all recipes (badge, button, callout) to use `error` instead of `danger` in color variants + - Update all documentation, storybook stories, and playground examples + +### Patch Changes + +- Updated dependencies [[`efd99f7`](https://github.com/styleframe-dev/styleframe/commit/efd99f70a30f9a42c6e1793ed777b1565fb47a82), [`179c90d`](https://github.com/styleframe-dev/styleframe/commit/179c90d9f73dadbbeb9159ab9fbd7287ceba1f20)]: + - @styleframe/core@3.3.0 + - @styleframe/transpiler@3.2.0 + ## 3.3.0 ### Minor Changes diff --git a/engine/styleframe/package.json b/engine/styleframe/package.json index a313f53e..ecc85835 100644 --- a/engine/styleframe/package.json +++ b/engine/styleframe/package.json @@ -1,6 +1,6 @@ { "name": "styleframe", - "version": "3.3.0", + "version": "3.4.0", "bin": { "styleframe": "./dist/cli.cjs" }, @@ -96,17 +96,17 @@ }, "peerDependencies": { "@styleframe/plugin": "workspace:^3.2.0", - "@styleframe/core": "workspace:^3.2.0", + "@styleframe/core": "workspace:^3.3.0", "@styleframe/loader": "workspace:^3.0.0", - "@styleframe/transpiler": "workspace:^3.1.0" + "@styleframe/transpiler": "workspace:^3.2.0" }, "devDependencies": { "@styleframe/config-typescript": "workspace:^3.0.0", "@styleframe/cli": "workspace:^3.0.0", "@styleframe/plugin": "workspace:^3.2.0", - "@styleframe/core": "workspace:^3.2.0", + "@styleframe/core": "workspace:^3.3.0", "@styleframe/loader": "workspace:^3.0.0", - "@styleframe/transpiler": "workspace:^3.1.0", + "@styleframe/transpiler": "workspace:^3.2.0", "@types/node": "^22.15.17", "@vitest/coverage-v8": "catalog:", "bumpp": "^10.1.0", diff --git a/engine/transpiler/CHANGELOG.md b/engine/transpiler/CHANGELOG.md index b145c03a..95e547ca 100644 --- a/engine/transpiler/CHANGELOG.md +++ b/engine/transpiler/CHANGELOG.md @@ -1,5 +1,18 @@ # @styleframe/transpiler +## 3.2.0 + +### Minor Changes + +- [#167](https://github.com/styleframe-dev/styleframe/pull/167) [`179c90d`](https://github.com/styleframe-dev/styleframe/commit/179c90d9f73dadbbeb9159ab9fbd7287ceba1f20) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add boolean support for recipe variant props + - When a variant defines both `true` and `false` keys, the runtime now accepts boolean `true`/`false` values in addition to string `"true"`/`"false"` + - Generated `.d.ts` type declarations include `| boolean` in the type union for boolean variants + +### Patch Changes + +- Updated dependencies [[`efd99f7`](https://github.com/styleframe-dev/styleframe/commit/efd99f70a30f9a42c6e1793ed777b1565fb47a82)]: + - @styleframe/core@3.3.0 + ## 3.1.0 ### Minor Changes diff --git a/engine/transpiler/package.json b/engine/transpiler/package.json index 08a51116..46cc3e8c 100644 --- a/engine/transpiler/package.json +++ b/engine/transpiler/package.json @@ -1,6 +1,6 @@ { "name": "@styleframe/transpiler", - "version": "3.1.0", + "version": "3.2.0", "type": "module", "types": "./dist/transpiler.d.ts", "module": "./dist/transpiler.js", @@ -29,13 +29,13 @@ "scule": "^1.3.0" }, "peerDependencies": { - "@styleframe/core": "workspace:^3.2.0", + "@styleframe/core": "workspace:^3.3.0", "@styleframe/license": "catalog:" }, "devDependencies": { "@styleframe/config-typescript": "workspace:^3.0.0", "@styleframe/config-vite": "workspace:^3.0.0", - "@styleframe/core": "workspace:^3.2.0", + "@styleframe/core": "workspace:^3.3.0", "@styleframe/license": "catalog:", "@vitest/coverage-v8": "catalog:", "typescript": "catalog:", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index efd63cc9..ee2f5e0c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -637,7 +637,7 @@ importers: specifier: workspace:^3.0.0 version: link:../../config/vite '@styleframe/core': - specifier: workspace:^3.0.0 + specifier: workspace:^3.3.0 version: link:../core '@vitest/coverage-v8': specifier: 'catalog:' @@ -705,7 +705,7 @@ importers: specifier: workspace:^3.0.0 version: link:../../config/typescript '@styleframe/core': - specifier: workspace:^3.2.0 + specifier: workspace:^3.3.0 version: link:../core '@styleframe/loader': specifier: workspace:^3.0.0 @@ -714,7 +714,7 @@ importers: specifier: workspace:^3.2.0 version: link:../../tooling/plugin '@styleframe/transpiler': - specifier: workspace:^3.1.0 + specifier: workspace:^3.2.0 version: link:../transpiler '@types/node': specifier: ^22.15.17 @@ -748,7 +748,7 @@ importers: specifier: workspace:^3.0.0 version: link:../../config/vite '@styleframe/core': - specifier: workspace:^3.2.0 + specifier: workspace:^3.3.0 version: link:../core '@styleframe/license': specifier: 'catalog:' @@ -788,7 +788,7 @@ importers: specifier: workspace:^3.0.0 version: link:../../config/vite '@styleframe/theme': - specifier: workspace:^3.3.0 + specifier: workspace:^3.4.0 version: link:../../theme '@types/node': specifier: 'catalog:' @@ -806,7 +806,7 @@ importers: specifier: ^0.10.0 version: 0.10.0 styleframe: - specifier: workspace:^3.3.0 + specifier: workspace:^3.4.0 version: link:../../engine/styleframe tsx: specifier: 'catalog:' @@ -843,10 +843,10 @@ importers: specifier: workspace:^3.0.0 version: link:../config/vite '@styleframe/core': - specifier: workspace:^3.2.0 + specifier: workspace:^3.3.0 version: link:../engine/core '@styleframe/transpiler': - specifier: workspace:^3.1.0 + specifier: workspace:^3.2.0 version: link:../engine/transpiler '@vitest/coverage-v8': specifier: 'catalog:' @@ -1035,16 +1035,16 @@ importers: tooling/plugin/playground: devDependencies: '@styleframe/runtime': - specifier: workspace:^3.0.0 + specifier: workspace:^3.1.0 version: link:../../../engine/runtime '@styleframe/theme': - specifier: workspace:^3.3.0 + specifier: workspace:^3.4.0 version: link:../../../theme '@vitejs/plugin-vue': specifier: catalog:nuxt version: 6.0.1(vite@6.4.1(@types/node@24.10.4)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.44.0)(tsx@4.20.6)(yaml@2.8.1))(vue@3.5.26(typescript@5.9.3)) styleframe: - specifier: workspace:^3.3.0 + specifier: workspace:^3.4.0 version: link:../../../engine/styleframe vite: specifier: ^6.3.5 diff --git a/testing/integration/package.json b/testing/integration/package.json index 7294c967..3965551a 100644 --- a/testing/integration/package.json +++ b/testing/integration/package.json @@ -27,13 +27,13 @@ "@playwright/test": "^1.56.1", "@styleframe/config-typescript": "workspace:^3.0.0", "@styleframe/config-vite": "workspace:^3.0.0", - "@styleframe/theme": "workspace:^3.3.0", + "@styleframe/theme": "workspace:^3.4.0", "@types/node": "catalog:", "@types/shelljs": "^0.8.17", "@vitest/coverage-v8": "catalog:", "playwright": "^1.56.1", "shelljs": "^0.10.0", - "styleframe": "workspace:^3.3.0", + "styleframe": "workspace:^3.4.0", "tsx": "catalog:", "typescript": "catalog:", "vite": "catalog:", diff --git a/theme/CHANGELOG.md b/theme/CHANGELOG.md index 39d8f458..2ff13584 100644 --- a/theme/CHANGELOG.md +++ b/theme/CHANGELOG.md @@ -1,5 +1,61 @@ # @styleframe/theme +## 3.4.0 + +### Minor Changes + +- [#165](https://github.com/styleframe-dev/styleframe/pull/165) [`5ef9019`](https://github.com/styleframe-dev/styleframe/commit/5ef9019fd0121cf95bd4e7373dbd55028f25b6d0) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add ButtonGroup recipe for grouping buttons with joined borders + - Add `useButtonGroupRecipe` with orientation (`horizontal`, `vertical`) and block (`true`, `false`) variants + - Use compound variant `className` with RSCSS modifiers (`-horizontal`, `-vertical`, `-block`) to emit helper classes + - Use `setup` callback to register nested selectors for joined-button effects (border-radius and border removal on inner children) + - Add ButtonGroup storybook component, grid preview, and stories + +- [#162](https://github.com/styleframe-dev/styleframe/pull/162) [`990ed33`](https://github.com/styleframe-dev/styleframe/commit/990ed33078b61ddf1cd025ce358862d103e0ea84) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add Card recipe with border style utility improvements + - Add `useCardRecipe` with size (`sm`, `md`, `lg`), variant (`elevated`, `outline`, `filled`, `ghost`), and color variants including light, dark, and neutral + - Add border style utility support (`solid`, `dashed`, `dotted`, `double`, `hidden`, `none`) with responsive and state modifier capabilities + - Normalize light/dark color variants across Badge, Button, and Callout recipes using `text-inverted` token + - Add Card storybook components, grid previews, and stories + +- [#160](https://github.com/styleframe-dev/styleframe/pull/160) [`cb053e0`](https://github.com/styleframe-dev/styleframe/commit/cb053e0135fef47161537516c53e3fc0e8b238cb) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add light, dark, and neutral colors to Badge and Button recipes + - Add `light`, `dark`, and `neutral` color variants to `useBadgeRecipe` with compound variants for solid, outline, soft, and subtle styles + - Add `light`, `dark`, and `neutral` color variants to `useButtonRecipe` with compound variants for solid, outline, soft, subtle, ghost, and link styles + - Update storybook Badge and Button components, grid previews, and stories to document the new colors + +- [#171](https://github.com/styleframe-dev/styleframe/pull/171) [`6f6a360`](https://github.com/styleframe-dev/styleframe/commit/6f6a360b838188eae8244353351e8b458792c95d) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add Modal recipe with overlay, header, body, and footer parts + - Add `useModalRecipe` with size (`sm`, `md`, `lg`), variant (`solid`, `soft`, `subtle`), and color (`light`, `dark`, `neutral`) variants matching the Card recipe structure + - Add `useModalHeaderRecipe` and `useModalFooterRecipe` with separator border compound variants and setup functions for `:first-child`/`:last-child` border collapse + - Add `useModalBodyRecipe` with size-based padding and gap, no compound variants + - Add `useModalOverlayRecipe` with fixed-position full-screen backdrop (`rgba(0, 0, 0, 0.75)`) and centered flex layout + - Add Modal storybook components, grid previews, and stories with interactive open/close and fullscreen example + - Add Modal documentation page + +- [#168](https://github.com/styleframe-dev/styleframe/pull/168) [`0250281`](https://github.com/styleframe-dev/styleframe/commit/02502814c4ec5fba342d7dd20a72180635caf7d8) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add Nav recipe with list-style utility + - Add `useNavRecipe` and `useNavItemRecipe` multi-part recipes with size (xs–xl), color, and variant (pills, underline, default) support + - Add `useListStyleUtility` shorthand utility for the `list-style` CSS property + - Add Nav storybook components, grid previews, and stories + +- [#163](https://github.com/styleframe-dev/styleframe/pull/163) [`1a7dc77`](https://github.com/styleframe-dev/styleframe/commit/1a7dc77600b6c9766ed69bf00338a225f5188b12) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add per-part borders with adjacency collapsing to Card recipe + - Add independent `borderTop` and `borderBottom` to each card part (header, body, footer) with compound variants per color×variant + - Add `:first-child` / `:last-child` collapse selectors to header and footer recipes to remove duplicate borders at card edges + - Extend `createUseRecipe` with an optional `setup` callback for registering selectors alongside recipes + - Add `color` and `variant` props to `CardBody` component + +- [#158](https://github.com/styleframe-dev/styleframe/pull/158) [`90f1862`](https://github.com/styleframe-dev/styleframe/commit/90f1862e12596943fb739b7cf98e2dfc8c47ff6d) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Rename Alert recipe to Callout recipe + - Rename `useAlertRecipe` to `useCalloutRecipe` with updated recipe name from `alert` to `callout` + - Add `CalloutContent`, `CalloutTitle`, and `CalloutDescription` sub-components for better composability + - Move storybook grid preview components into `preview/` subdirectories for cleaner organization + - Add Callout documentation page + +- [#166](https://github.com/styleframe-dev/styleframe/pull/166) [`ff13980`](https://github.com/styleframe-dev/styleframe/commit/ff139805c9839da9b4d4511099e7838f7e159ba7) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Rename `danger` semantic color to `error` across the design system + - Rename `danger` color token to `error` in default color values and border color values + - Update all recipes (badge, button, callout) to use `error` instead of `danger` in color variants + - Update all documentation, storybook stories, and playground examples + +### Patch Changes + +- Updated dependencies [[`efd99f7`](https://github.com/styleframe-dev/styleframe/commit/efd99f70a30f9a42c6e1793ed777b1565fb47a82)]: + - @styleframe/core@3.3.0 + ## 3.3.0 ### Minor Changes diff --git a/theme/package.json b/theme/package.json index a078ffbb..d14db6c0 100644 --- a/theme/package.json +++ b/theme/package.json @@ -1,6 +1,6 @@ { "name": "@styleframe/theme", - "version": "3.3.0", + "version": "3.4.0", "type": "module", "types": "./dist/theme.d.ts", "module": "./dist/theme.js", @@ -28,8 +28,8 @@ "devDependencies": { "@styleframe/config-typescript": "workspace:^3.0.0", "@styleframe/config-vite": "workspace:^3.0.0", - "@styleframe/core": "workspace:^3.2.0", - "@styleframe/transpiler": "workspace:^3.1.0", + "@styleframe/core": "workspace:^3.3.0", + "@styleframe/transpiler": "workspace:^3.2.0", "@vitest/coverage-v8": "catalog:", "typescript": "catalog:", "vite": "catalog:", @@ -37,7 +37,7 @@ "vitest": "catalog:" }, "peerDependencies": { - "@styleframe/core": "workspace:^3.2.0" + "@styleframe/core": "workspace:^3.3.0" }, "homepage": "https://github.com/styleframe-dev/styleframe#readme", "bugs": { diff --git a/tooling/plugin/playground/package.json b/tooling/plugin/playground/package.json index a4926964..ded44b61 100644 --- a/tooling/plugin/playground/package.json +++ b/tooling/plugin/playground/package.json @@ -8,10 +8,10 @@ "start": "vite" }, "devDependencies": { - "@styleframe/runtime": "workspace:^3.0.0", - "@styleframe/theme": "workspace:^3.3.0", + "@styleframe/runtime": "workspace:^3.1.0", + "@styleframe/theme": "workspace:^3.4.0", "@vitejs/plugin-vue": "catalog:nuxt", - "styleframe": "workspace:^3.3.0", + "styleframe": "workspace:^3.4.0", "vite": "^6.3.5", "vite-plugin-inspect": "^11.1.0", "vue": "catalog:nuxt"