Skip to content
Open
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
11 changes: 0 additions & 11 deletions .changeset/add-button-group-recipe.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/add-card-recipe.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/add-light-dark-neutral-colors.md

This file was deleted.

13 changes: 0 additions & 13 deletions .changeset/add-modal-recipe.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/add-nav-recipe.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/card-part-borders.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/compound-variant-classname.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/recipe-boolean-variants.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/rename-alert-to-callout.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/rename-danger-to-error-color.md

This file was deleted.

8 changes: 8 additions & 0 deletions engine/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion engine/core/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
17 changes: 17 additions & 0 deletions engine/runtime/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions engine/runtime/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -28,15 +28,15 @@
"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:",
"vitest": "catalog:",
"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": {
Expand Down
65 changes: 65 additions & 0 deletions engine/styleframe/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
10 changes: 5 additions & 5 deletions engine/styleframe/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "styleframe",
"version": "3.3.0",
"version": "3.4.0",
"bin": {
"styleframe": "./dist/cli.cjs"
},
Expand Down Expand Up @@ -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",
Expand Down
13 changes: 13 additions & 0 deletions engine/transpiler/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions engine/transpiler/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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:",
Expand Down
Loading