# @styleframe/theme ## 3.11.0 ### Minor Changes - [#382](https://github.com/uxfront-com/styleframe/pull/382) [`a70e8e7`](https://github.com/uxfront-com/styleframe/commit/a70e8e70330432eafdfd3533457eb3cad8bfc466) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add a `useCardMediaRecipe` for an image at the top of a card, and make the card recipes meet the Open Components Card standard. A link in a heading inside the card header now stretches over the whole card, actions in the card stay clickable above it, and the card shows a 2px `color.focus` ring outside its border when that link has keyboard focus, through `useCardRecipe`'s setup selectors. Hover strengthens the border and underlines the heading only inside `@media (hover: hover)`, the border goes to full strength with `prefers-contrast: more` and stays a system colour in forced colours mode. The card no longer sets `overflow: hidden`, so content and the focus ring are never clipped, and it wraps long words with `overflow-wrap: break-word`. `useCardHeaderRecipe`, `useCardBodyRecipe` and `useCardFooterRecipe` pad their inline sides with `paddingInline` instead of `paddingLeft` and `paddingRight`, so cards mirror in right-to-left layouts. The media part shows above the header with `order: -1` and keeps a `16 / 9` aspect ratio. Every recipe name, axis, value and default stays the same. - [#382](https://github.com/uxfront-com/styleframe/pull/382) [`a70e8e7`](https://github.com/uxfront-com/styleframe/commit/a70e8e70330432eafdfd3533457eb3cad8bfc466) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Bring `useTextareaRecipe` in line with the Open Components Textarea standard, and add an `autogrow` axis that defaults to `false`, so today's output stays the same. With `autogrow: true`, in browsers that support `field-sizing`, the textarea grows with its text through `field-sizing: content` and has no resize handle, up to the rows in its `data-max-rows` attribute. The nested textarea now has a `min-height` of its `rows` in lines, read with `attr()`, so resizing or growing never makes it shorter than its rows. On touch screens its text is at least 16px, so Safari on iOS doesn't zoom in on focus, and the textarea is at least 44px tall. The `vertical` resize default now also sets `resize: block`, where browsers support it, so it follows the writing mode. `useTextareaPrefixRecipe` and `useTextareaSuffixRecipe` get the Input prefix and suffix changes through the field addon builder they share. - [#382](https://github.com/uxfront-com/styleframe/pull/382) [`a70e8e7`](https://github.com/uxfront-com/styleframe/commit/a70e8e70330432eafdfd3533457eb3cad8bfc466) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Align the tooltip recipes with the Open Components Tooltip standard. `useTooltipRecipe` and `useTooltipArrowRecipe` gain a `placement` axis (`top`, `bottom`, `start` or `end`), which defaults to `top`, the side the arrow pointed from before. On an element with the `popover` attribute, `useTooltipRecipe` now opens the tooltip in the top layer with `position: fixed`, `inset: auto` and the new `@tooltip.offset` variable as its margin, sets `position-area` from `placement` and flips it with `position-try-fallbacks: flip-block, flip-inline`. It fades and grows in as it opens, and only fades with `prefers-reduced-motion: reduce`. Every other element keeps its own positioning and the `@z-index.tooltip` layer, so tooltips you position yourself look the same. The content now wraps at `32ch` rather than `240px`, breaks long words with `overflow-wrap: anywhere`, and takes `Canvas` and a `CanvasText` border in forced colours mode. `useTooltipArrowRecipe` now draws its triangle in `color`, turns with `placement`, uses logical properties so it mirrors in right-to-left layouts, sits on the edge that faces the trigger inside a top-layer tooltip, and hides in forced colours mode. CSS can't tell which side a fallback chose, so when a tooltip flips, set the arrow's `placement` from a script. - [#408](https://github.com/uxfront-com/styleframe/pull/408) [`9e14ea4`](https://github.com/uxfront-com/styleframe/commit/9e14ea4b9673e7861a92d8aef1842a2854c65b07) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add icon sizes and an icon-only style to `useButtonRecipe`. Each size now sets `--button--icon--size` for the icons in `data-slot="leading"` and `data-slot="trailing"` children, and a button with `data-icon-only` and `data-size` is square, with its `data-slot="label"` child hidden from view but kept as the accessible name. Buttons without these attributes look the same as before. - [#382](https://github.com/uxfront-com/styleframe/pull/382) [`a70e8e7`](https://github.com/uxfront-com/styleframe/commit/a70e8e70330432eafdfd3533457eb3cad8bfc466) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add a `color.focus` token for focus rings, plus five accessibility modifiers and a `position-try-fallbacks` utility. The token is a reference to `@color.primary` in the light and dark themes, emitted as `--color--focus`, and the `focus.outline-color` default now points at it, so focus rings look the same as before. When a project replaces the default colors and defines no `focus` color, the default falls back to `@color.primary`, as before. The new modifiers are `hover-capable` (`@media (hover: hover)`) and `any-pointer-coarse` (`@media (any-pointer: coarse)`) from `useMediaPreferenceModifiers`, `aria-invalid` (`[aria-invalid="true"]`) from `useAriaStateModifiers`, `readonly-attr` (`[readonly]`) from `useFormStateModifiers` and `data-loading` (`[data-loading]`) from `useOtherStateModifiers`, each with its own composable, like `useHoverCapableModifier`. The `usePositionTryFallbacksUtility` composable is registered in `useUtilitiesPreset` as `createPositionTryFallbacksUtility` and ships without defaults. Reference colors like `focus` no longer get level, shade or tint keys in the `useDesignTokensPreset` return type, because none are generated for them. - [#382](https://github.com/uxfront-com/styleframe/pull/382) [`a70e8e7`](https://github.com/uxfront-com/styleframe/commit/a70e8e70330432eafdfd3533457eb3cad8bfc466) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Align the popover recipes with the Open Components Popover standard. `usePopoverRecipe` and `usePopoverArrowRecipe` gain a `placement` axis (`top`, `bottom`, `start` or `end`), which defaults to `top`, the side the arrow pointed from before. On an element with the `popover` attribute, `usePopoverRecipe` now opens the popover in the top layer with `position: fixed`, `inset: auto`, no padding from the browser's own `[popover]` styles, and the new `@popover.offset` variable as its margin, sets `position-area` from `placement`, flips it with `position-try-fallbacks`, and registers the `--popover-fit`, `--popover-fit-below` and `--popover-fit-above` `@position-try` rules. It fades in only without a reduced-motion preference. Every other element keeps `position: relative`, so popovers you position yourself look the same. The container is never wider or taller than the screen less `@spacing.xl`, wraps long words, and draws a full-strength edge under `prefers-contrast: more` and a `CanvasText` edge in forced colours mode. `usePopoverBodyRecipe` scrolls when the popover can't grow, and `usePopoverHeaderRecipe` drops its top separator after a leading arrow, as it does for a first child. `usePopoverArrowRecipe` now draws its triangle in `color`, turns with `placement`, uses logical properties so it mirrors in right-to-left layouts, sits on the edge that faces the anchor inside a top-layer popover, hides in forced colours mode, and changes `@popover.arrow.size` from `6px` to `0.375rem`: the same size at a 16px root font size, but it now scales with the root font size. - [#382](https://github.com/uxfront-com/styleframe/pull/382) [`a70e8e7`](https://github.com/uxfront-com/styleframe/commit/a70e8e70330432eafdfd3533457eb3cad8bfc466) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Align the Spinner recipes with the Open Components Spinner standard. `useSpinnerRecipe`, `useSpinnerCircleRecipe` and `useSpinnerTextRecipe` gain an `inherit` size, which makes the spinner `1em` wide and tall so it matches the text around it, and the spinner no longer shrinks in a flex row. With reduced motion, `useSpinnerCircleRecipe` swaps the turn for a pulse that fades the spinner to 40% and back every 1.6 seconds, and stops the arc from growing and shrinking. The pulse uses `!important` for its duration and iteration count, so it keeps going under the sanitize preset. The spinner has no background of its own, so in `useSpinnerRecipe` `primary` switches to `@color.primary-400` in the dark theme, where a label then reaches 4.5:1 on the page. The `light` and `dark` colors look the same in both themes, `gray-700` for light surfaces and white for dark ones, while `neutral` adapts to the theme. `useSpinnerOverlayRecipe` darkens its backdrop from 50% to 75% black, so a `dark` label on it reaches 4.5:1 too. With the `inherit` size, the spinner also sits `0.125em` below the baseline, so it centres on the text. `useSpinnerCircleRecipe` now uses the `motion-reduce` modifier, so register it first, as `useModifiersPreset` does. ### Patch Changes - [#382](https://github.com/uxfront-com/styleframe/pull/382) [`a70e8e7`](https://github.com/uxfront-com/styleframe/commit/a70e8e70330432eafdfd3533457eb3cad8bfc466) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Make `useButtonRecipe` meet the Open Components Button standard's stylesheet rules. Every label now keeps 4.5:1 contrast at rest, on hover, when active, pressed or expanded, in both themes, so `solid` buttons darken on hover instead of lightening, apart from `warning`, which takes a dark label and still lightens, and the transparent variants use lighter levels in the dark theme. Every border keeps 3:1 against the surface it's meant for, so `subtle` borders and the `neutral` borders are darker in the light theme and lighter in the dark theme, `warning` `outline` borders are darker, and so is the light theme's `warning` `solid` border. Hover also sets the label color, so on devices that can hover, a button rendered as `` keeps it over the global link hover styles. The focus ring uses `color.focus`, the `link` variant is underlined at rest, hover styles only apply on devices that can hover, and the `&:focus` styles that copied the hover background are gone, since the focus ring shows focus. Disabled, pressed, expanded and loading are styled from `aria-disabled`, `aria-pressed`, `aria-expanded` and `data-loading` as well as `:disabled`. Disabled buttons no longer set `pointer-events: none`, so their cursor shows and clicks don't fall through, and they keep their resting colors on hover and press. Forced colors mode uses system colors for these states, and `prefers-contrast: more` draws `outline` and `subtle` borders at full strength. Each size sets a `min-height` and a matching `min-width`, labels wrap instead of staying on one line, horizontal padding is `padding-inline`, and touch screens get a 44 × 44px hit area. The `light` color is meant for dark surfaces and `dark` for light surfaces, and their `link` hovers no longer turn the text invisible. No color, variant, size or default changes. - [#382](https://github.com/uxfront-com/styleframe/pull/382) [`a70e8e7`](https://github.com/uxfront-com/styleframe/commit/a70e8e70330432eafdfd3533457eb3cad8bfc466) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Bring `useInputRecipe`, `useInputPrefixRecipe` and `useInputSuffixRecipe` in line with the Open Components Input standard. The focus ring is `@color.focus` in every state, and an invalid field shows through its error border and a new 1px inset shadow instead of a red ring. The wrapper now also takes its invalid, read-only and disabled look from the nested input's `aria-invalid="true"`, `readonly` and `disabled` attributes. Hover styles only apply on devices that can hover, each size has a `min-height`, and on touch screens the input's text is at least 16px and its hit area at least 44px tall. Disabled fields turn `GrayText` in forced colors mode, and borders use the text color with `prefers-contrast: more`. The placeholder, prefix and suffix are now the field's text color at 75%, and the prefix and suffix use logical padding. The read-only state no longer tints the fill, and `light` and `dark` ghost fields stay transparent and keep one color in both themes, like every `light` and `dark` field. `useTextareaRecipe` and `useInputDateRecipe` share the field wrapper, so they get the same changes, except that `useInputDateRecipe` keeps its text size and height on touch screens, and `useTextareaPrefixRecipe` and `useTextareaSuffixRecipe` get the prefix and suffix changes. `useOtpCellRecipe` shares only the surface colors and states: its cells get the hover, invalid, disabled and ghost changes, and keep their own `@color.primary` focus ring. - [#382](https://github.com/uxfront-com/styleframe/pull/382) [`a70e8e7`](https://github.com/uxfront-com/styleframe/commit/a70e8e70330432eafdfd3533457eb3cad8bfc466) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Bring `useSwitchRecipe` and `useSwitchFieldRecipe` in line with the Open Components Switch standard. Every off track now keeps 3:1 against the page in light and dark mode, with a knob at 3:1 against it: `neutral` is `gray-450` in both modes, `light` is a `gray-200` track with a `gray-500` border and a `gray-600` knob, and `dark` gets a `gray-450` border. The focus ring is `@color.focus`, and the field takes an invalid look from `aria-invalid="true"` (an error border doubled by an inset shadow) and a read-only look from `aria-readonly="true"` (a dashed border). Sizes are in `rem`, the knob is a gradient that moves to the inline end, so it mirrors in right-to-left layouts, and it jumps rather than slides with reduced motion. The wrapper label is at least 24px tall, and 44px on touch screens, so it gives the switch a large enough hit area. In forced colors mode the switch draws itself in system colors, and with `prefers-contrast: more` the off border takes the text color, except on `light` and `dark` switches, which keep their own. - [#382](https://github.com/uxfront-com/styleframe/pull/382) [`a70e8e7`](https://github.com/uxfront-com/styleframe/commit/a70e8e70330432eafdfd3533457eb3cad8bfc466) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Make `useCheckboxGroupRecipe` meet the Open Components Checkbox Group page. The group now resets its `
` and styles its `` at the options' text size in a heavier weight, and dims the legend of a disabled fieldset, in `GrayText` in forced colors mode. A horizontal group puts 24px between its options, the size axis sets the row gap with `gap-y` rather than `gap`, and options in `[data-slot="options"]` after a `[data-slot="select-all"]` box sit in from it with `padding-inline-start`, so their boxes line up with its label. The group's `aria-invalid="true"` gives every box the checkbox's invalid border. Each size adds a `-size-` class to the group. - [#382](https://github.com/uxfront-com/styleframe/pull/382) [`a70e8e7`](https://github.com/uxfront-com/styleframe/commit/a70e8e70330432eafdfd3533457eb3cad8bfc466) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Bring `useCheckboxRecipe` and `useCheckboxFieldRecipe` in line with the Open Components Checkbox standard. The focus ring now uses `@color.focus`, and the unchecked border is `@color.gray-450` on light surfaces and `@color.gray-500` on dark ones, up from `gray-300` and `gray-600`, so it has 3:1 against the page. The box is sized in `rem`, the wrapper draws a `1.5rem` hit area around it and pads each label to that height, and a wrapping label keeps the box beside its first line, in either direction. The field styles `[aria-readonly="true"]` with a dashed border and `[aria-invalid="true"]` with an `@color.error` border and a second inset pixel, and never `:read-only` or `:invalid`. With `prefers-contrast: more` the border is drawn at full strength, and in forced colors mode a checked box is filled with `Highlight`, its mark gets a dark outline and a disabled box shows `GrayText` instead of an opacity. A disabled box inside the wrapper no longer dims twice. Variant names, values and defaults are unchanged. - [#348](https://github.com/uxfront-com/styleframe/pull/348) [`e614db7`](https://github.com/uxfront-com/styleframe/commit/e614db75f3e192c8a19801c17ed057be37989c0d) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add a `README.md` to each of these packages, so the npm page and the installed package say what the package is, how to install it and where its docs are. Each one links to the new "Using Styleframe with AI agents" page, which covers the `check`, `inspect` and `strict` loop and the mistakes that build without a warning. Until now these packages listed `README.md` in their `files` but shipped none. - [#382](https://github.com/uxfront-com/styleframe/pull/382) [`a70e8e7`](https://github.com/uxfront-com/styleframe/commit/a70e8e70330432eafdfd3533457eb3cad8bfc466) Thanks [@alexgrozav](https://github.com/alexgrozav)! - The `useInputDateRecipe` separator on `light` and `dark` fields now takes the field's muted text color, the same one the placeholder uses, so it keeps one color in both themes. The wrapper gets a `-light` or `-dark` class for it. The separator on `neutral` fields doesn't change. - [#382](https://github.com/uxfront-com/styleframe/pull/382) [`a70e8e7`](https://github.com/uxfront-com/styleframe/commit/a70e8e70330432eafdfd3533457eb3cad8bfc466) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Apply the hover styles of `useLinkElement` only on devices that can hover. The `a:hover` color and text decoration now sit inside `@media (hover: hover)`, so a tap on a touch screen no longer leaves a link, or a recipe rendered as `` like a Button, looking hovered. The `link.hover.color` and `link.hover.text-decoration` variables, their defaults and the `useLinkElement` options stay the same. - [#382](https://github.com/uxfront-com/styleframe/pull/382) [`a70e8e7`](https://github.com/uxfront-com/styleframe/commit/a70e8e70330432eafdfd3533457eb3cad8bfc466) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Align the Modal recipes with the Open Components Dialog standard. The `useModalRecipe` panel now stays `1rem` inside each edge of the screen and caps its width per size at `24rem`, `32rem` or `48rem`, unless it's `fullscreen`, so you can drop any `max-width` you set yourself. It wraps long titles, keeps its border visible in forced colors mode and at full strength with `prefers-contrast: more`, and stops the page scrolling while a `modal-overlay` is on it, so render the overlay only while the modal is open. In `useModalHeaderRecipe`, `useModalBodyRecipe` and `useModalFooterRecipe`, the body scrolls while the header and footer keep their height, the footer's actions wrap on a narrow screen, and the padding uses logical properties, so they mirror in right-to-left languages. The drawers share these section recipes and the `soft` surfaces, so `useDrawerHeaderRecipe`, `useDrawerBodyRecipe`, `useDrawerFooterRecipe` and `useDrawerRecipe` inherit the logical padding, the wrapping footer and the `neutral` `soft` surface's border in the dark theme. `light` and `dark` panels look the same in both themes. - [#382](https://github.com/uxfront-com/styleframe/pull/382) [`a70e8e7`](https://github.com/uxfront-com/styleframe/commit/a70e8e70330432eafdfd3533457eb3cad8bfc466) Thanks [@alexgrozav](https://github.com/alexgrozav)! - The `useInputDateRecipe` separator on `neutral` fields now takes `@color.gray-400` in the dark theme, as intended. Its dark-theme rule was emitted as a `:dark` pseudo-class that no browser matches, so the separator kept the light theme's colour token. It's now written under the dark-theme selector the rest of the theme uses. - [#382](https://github.com/uxfront-com/styleframe/pull/382) [`a70e8e7`](https://github.com/uxfront-com/styleframe/commit/a70e8e70330432eafdfd3533457eb3cad8bfc466) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Bring `useRadioRecipe`, `useRadioFieldRecipe` and `useRadioGroupRecipe` in line with the Open Components Radio Group standard. The focus ring is `@color.focus`, and the unchecked rings are now `@color.gray-450` on light surfaces and `@color.gray-500` on dark ones, so they keep 3:1 against the page and the fill in both modes. Each radio row has a `min-height` in `rem` (`2rem`, `2.25rem` and `2.5rem`, the standard's Input heights), and at least 44px on touch screens, and the circle is sized in `rem` with no margin of its own. In forced colors mode the browser draws its own radio, with a `Highlight` focus ring and a `GrayText` disabled label, and with `prefers-contrast: more` the rings are drawn at full strength. The group now resets its `
`, styles its ``, a `data-slot="hint"` and a `data-slot="error"`, and turns every ring red, with an inset shadow, while it has `aria-invalid="true"`. ## 3.10.0 ### Minor Changes - [#315](https://github.com/uxfront-com/styleframe/pull/315) [`3e3c650`](https://github.com/uxfront-com/styleframe/commit/3e3c650485800bf1c304e6e0b144dd2f8474088f) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add `useCalloutTitleRecipe` (`callout-title`) and `useCalloutDescriptionRecipe` (`callout-description`) sub-part recipes, giving the callout the same per-size type scheme the toast recipe lands with so the two siblings stay visually consistent. The title tracks the `size` axis on the literal token (`sm` → `sm`, `md` → `md`, `lg` → `lg`); the description sits one token below at every step (`sm` → `xs`, `md` → `sm`, `lg` → `md`), default `md`. Values are copied from the toast recipe's landed source so the two recipes can't drift. Purely additive. - [#343](https://github.com/uxfront-com/styleframe/pull/343) [`23efb06`](https://github.com/uxfront-com/styleframe/commit/23efb062135ca8e843466da372d90f4cb4173602) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Report token references that resolve to nothing, theme overrides of undefined variables and duplicate variables when the build runs. The new `validate(instance)` returns every problem in one pass as a `Diagnostic` with a `code`, `severity`, `message`, `path` and, when a token name is within two edits, a `suggestion`. It reports an `@token` in a recipe, a utility value or a `css` template literal, and a `ref()` anywhere, that resolves to no variable (`unresolved-reference`), a theme variable that isn't defined at root (`undefined-theme-override`), and two `variable()` calls with the same name and without `default: true` (`duplicate-variable`). A plain `@token` string in a selector or theme declaration still throws when it's defined, as before. `transpile()` runs `validate()` once and returns the diagnostics as `diagnostics` beside `files`, and with the new `strict: true` option on `styleframe()` it throws one error that lists them all instead. Nested at-rules with a hyphen in their name, like `@starting-style` and `@font-feature-values`, now keep the whole name. The theme adds the `z-index.tooltip` token (`700`), which the tooltip recipe already referenced, and the `xs` chip indicator uses `@font-size.3xs` instead of the undefined `@font-size.4xs`. `styleframe` and `@styleframe/transpiler` now accept the `@styleframe/core` release that ships `validate()`. - [#298](https://github.com/uxfront-com/styleframe/pull/298) [`7db0e9e`](https://github.com/uxfront-com/styleframe/commit/7db0e9e18fc3463ad8c5651e7db6f706dda48630) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add escape-hatch tier utilities for the stable anchor-positioning and view-transition properties (RFC SF-6, surfaces 3 & 4): `useAnchorNameUtility`/`usePositionAnchorUtility`/`usePositionAreaUtility` (`anchor-name`/`position-anchor`/`position-area`) and `useViewTransitionNameUtility` (`view-transition-name`). Each emits its single declaration and, like `container-name`, ships without defaults. All four are registered in `useUtilitiesPreset`. These are thin property utilities, not first-class sugar — the still-moving parts (`anchor()` expressions, `@position-try`, `position-visibility`, the `::view-transition-*` pseudo-elements, and cross-document `@view-transition`) stay on the raw `atRule` hatch. Purely additive. - [#295](https://github.com/uxfront-com/styleframe/pull/295) [`f641f50`](https://github.com/uxfront-com/styleframe/commit/f641f5047b95e61db9b1d52e4d9add875dce45d2) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add first-class container-query support: `useContainerQueryModifiers` (container-sm/md/lg/xl/2xl, mirroring the media-preference modifiers) and `useContainerTypeUtility`/`useContainerNameUtility` for `container-type`/`container-name` setup. Both are registered in `useModifiersPreset`/`useUtilitiesPreset`. Container units (`cqi`/`cqb`/`cqw`/`cqh`) work as raw token values with no extra API. Purely additive — the raw `atRule('container', …)` path is unchanged. - [#278](https://github.com/uxfront-com/styleframe/pull/278) [`80424a1`](https://github.com/uxfront-com/styleframe/commit/80424a166455b0566a321314f40216787d000feb) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add InputDate recipe. Adds `useInputDateRecipe` and `useInputDateSegmentRecipe` to `@styleframe/theme` for building segmented date/time inputs. The wrapper is a member of the field recipes family (built on `createFieldRecipe`), supporting `light` / `dark` / `neutral` colors, `default` / `soft` / `ghost` variants, `sm` / `md` / `lg` sizes, and the `invalid` / `disabled` / `readonly` boolean axes; it owns the field surface (border, background, focus ring via `:focus-within`) and lays the segments out as a horizontal `.input-date-field` row with muted `.input-date-separator` glyphs. The segment recipe styles each individually-focusable part (day, month, year, hour, minute) as a transparent, tabular-figure cell that inherits typography from the wrapper and paints a highlight on `:focus`, with a single `size` axis. Both composables are re-exported from the `@styleframe/theme` barrel. - [#305](https://github.com/uxfront-com/styleframe/pull/305) [`bae2d8b`](https://github.com/uxfront-com/styleframe/commit/bae2d8ba79a253e0643a946a933ca71e8624522e) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add built-in responsive breakpoint modifiers: `useResponsiveModifiers` (`sm`/`md`/`lg`/`xl`/`2xl`), the viewport-scoped twin of the container-query modifiers. A `_md:padding:xl` prefix now resolves to a real `@media (min-width: …)` block out of the box, so the Tailwind-style responsive vocabulary lines up. One modifier per breakpoint, each closing over its own width from the shared `breakpointValues` scale (576/768/992/1200/1440) — the same source of truth the container-query modifiers use, keeping `_md:` and `_container-md:` aligned. Registered in `useModifiersPreset` (toggle via `responsive: false`). Purely additive — no existing output changes. - [#289](https://github.com/uxfront-com/styleframe/pull/289) [`1a556e8`](https://github.com/uxfront-com/styleframe/commit/1a556e87954fafa618207032c5f27a503a0f2925) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add `useToastRecipe` for transient, floating feedback notifications, modeled on the callout recipe. Following [Nuxt UI](https://ui.nuxt.com/docs/components/toast), the semantic `color` accent is scoped to the icon and progress bar — the surface stays a neutral card for every color — so the `useToastRecipe` surface has only `variant` (solid/soft/subtle), `size` (sm/md/lg), and `orientation` (horizontal/vertical) axes, and no compound variants. The `variant` axis carries the neutral surface treatment (solid = opaque neutral card with a hairline border, soft = faint borderless fill, subtle = faint fill with a hairline border), light/dark adaptive throughout, defaulting to `solid`. The `outline` style is dropped — a transparent-background surface is illegible when floating over arbitrary page content. The base departs from callout so it reads as a polished floating card: a soft, diffuse `@box-shadow.lg` elevation, well-rounded `@border-radius.lg` corners, and generous padding, sized to its content rather than full-width, and a `position: relative` / `overflow: hidden` container that anchors and clips the progress bar. Adds the `toast-icon`, `toast-content`, `toast-title`, `toast-description`, `toast-progress`, and `toast-dismiss` sub-part recipes. `useToastIconRecipe` and `useToastProgressRecipe` each carry the `color` axis (9 colors) that paints the accent — both share a single `toastAccentColorVariants` map so they cannot drift, and both render with `currentColor` so an SVG or icon-font glyph picks up the accent automatically. `useToastTitleRecipe` (semibold, snug) and `useToastDescriptionRecipe` (normal weight) establish the title/description type hierarchy via both size and weight, both inheriting `currentColor` — now always the neutral body foreground — so the hierarchy holds on every variant. The title carries a `size` axis on the literal font-size token — `sm` → `@font-size.sm`, `md` → `@font-size.md`, `lg` → `@font-size.lg`, default `md` — and the description carries a matching axis one token below at every step (`sm` → `@font-size.xs`, `md` → `@font-size.sm`, `lg` → `@font-size.md`, default `md`), so the description reads one step under the title at each size. `useToastProgressRecipe` renders a prominent countdown bar pinned flush to the toast's bottom edge and spanning the full width — `bottom`/`left`/`right: 0`, clipped to the toast's rounded corners by its `overflow: hidden` — that scales from full width to zero over a `--toast-duration` custom property (default `5s`). Pure CSS — the recipe owns the `toast-progress` keyframes, no runtime state toggling. ### Patch Changes - [#338](https://github.com/uxfront-com/styleframe/pull/338) [`b2ced65`](https://github.com/uxfront-com/styleframe/commit/b2ced65b574e426f9d9458fa9f1ae879d13a7de9) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Show the `not-allowed` cursor on a disabled field. In `useInputRecipe`, `useTextareaRecipe`, `useInputDateRecipe` and `useOtpCellRecipe`, the disabled state set `pointer-events: none`, which hid its own cursor too. It now sets only the opacity and the cursor, so the recipe no longer blocks clicks: disable any button you place inside a disabled field too. The nested `.input-field` and `.textarea-field` get `cursor: not-allowed` when disabled, and a disabled textarea gets `resize: none`, so its resize handle stays off. - [#340](https://github.com/uxfront-com/styleframe/pull/340) [`dafd9ac`](https://github.com/uxfront-com/styleframe/commit/dafd9ac24194eff14ef51cce79f17b0a1498c102) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Give every field an edge that people can see. In `useInputRecipe`, `useTextareaRecipe`, `useInputDateRecipe` and `useOtpCellRecipe`, the border was `gray-200` (1.58:1 on white), the ghost variant had no edge at rest and the read-only state differed only by a faint tint. The borders are now `gray-450` and `gray-500`, at least 3:1 against the field and the page in light and dark mode, as WCAG 1.4.11 asks of a control's boundary. The ghost variant shows a bottom border with square bottom corners, which turns to the error color when the field is invalid, and the read-only state adds a dashed border. - [#342](https://github.com/uxfront-com/styleframe/pull/342) [`0f34e2b`](https://github.com/uxfront-com/styleframe/commit/0f34e2b436f0e6c0b45bfc5f4bc3c2ac7c5e9b7c) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Give the Select trigger a border that meets the 3:1 contrast WCAG 1.4.11 asks of a control's boundary, in light and dark mode. In `useSelectRecipe`, the `solid` and `soft` borders move from `gray-200` (and `gray-700` in dark) to `gray-450` and `gray-500`, with the other one on hover. The `ghost` trigger now shows a bottom border in the same colour, with square bottom corners, and an invalid ghost trigger keeps its bottom border in `@color.error` along with the rest. A read-only trigger gets a dashed border on top of its tinted fill. - [#299](https://github.com/uxfront-com/styleframe/pull/299) [`a22a813`](https://github.com/uxfront-com/styleframe/commit/a22a813a35742992212351f0d2b11eaac3360401) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Fix inset utilities dropping the spacing multiplier scale. The nine inset composables (`inset`, `inset-x`, `inset-y`, `inset-inline-start`, `inset-inline-end`, `top`, `right`, `bottom`, `left`) were plain `createUseUtility`, so a numeric ref like `@0.5` fell through to a bare lookup for a non-existent `0.5` variable and silently emitted an undefined `var(--0--5)`. They now use `createUseSpacingUtility(..., { namespace: "spacing" })` like `margin`/`padding`/`height`, so `@0.5` resolves to `calc(var(--spacing) * 0.5)`. Object-syntax literals and preset `undefined` calls are unchanged — purely a fix for numeric-multiplier insets. Note: existing `@spacing.xs` inset usages shorten the utility class key `spacing.xs` → `xs` (resolved var identical), matching margin. ## 3.9.0 ### Minor Changes - [#280](https://github.com/styleframe-dev/styleframe/pull/280) [`b68ca30`](https://github.com/styleframe-dev/styleframe/commit/b68ca3083d0bc41972f03516d7497e74699bf6e9) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add `useCalloutIconRecipe`, `useCalloutContentRecipe`, and `useCalloutDismissRecipe` sub-part recipes for the Callout component. The callout recipe now collapses when the `hidden` attribute is set, and the dismiss recipe provides a styled close button with hover and focus-visible states. - [#281](https://github.com/styleframe-dev/styleframe/pull/281) [`db48cd6`](https://github.com/styleframe-dev/styleframe/commit/db48cd67df033fa2051296b878a685ff7dd6f43a) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Extend `_flex:` namespace to mirror Tailwind's `flex-*` family: direction keywords (`row`, `col`, `column`, and their reverses) now route to `flex-direction`, wrap keywords (`wrap`, `nowrap`, `wrap-reverse`) route to `flex-wrap`, and shorthand values (`1`, `auto`, `initial`, `none`) continue to map to `flex`. Also adds `column`/`column-reverse` as full-word aliases to `flexDirectionValues` and `column`/`column-dense` aliases to grid auto-flow values. ## 3.8.1 ### Patch Changes - [#268](https://github.com/styleframe-dev/styleframe/pull/268) [`778bfc9`](https://github.com/styleframe-dev/styleframe/commit/778bfc96e56fcf4bfb03ea485de0bc716b9b98b8) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Upgrade runtime and dev dependencies across all packages (jiti, csstype, citty, rollup, vitest, turbo, oxlint, biome, changesets, and Nuxt ecosystem packages). - [#274](https://github.com/styleframe-dev/styleframe/pull/274) [`2092696`](https://github.com/styleframe-dev/styleframe/commit/20926963037477f2b4278d3cdf71cec5adab1597) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Fix field-group horizontal/vertical border joining to target known control classes (`.input`, `.textarea`, `.select`, `.button`, `.dropdown`) instead of all children (`*`), using `:where`/`:is` for correct specificity. - [#272](https://github.com/styleframe-dev/styleframe/pull/272) [`414e2fe`](https://github.com/styleframe-dev/styleframe/commit/414e2feb1dc7817e8e8318a7ee02cc5b5b60e833) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Simplify field-group recipe selector: consolidate `.input`, `.select`, `.textarea` flex-grow rules into a single joined selector. ## 3.8.0 ### Minor Changes - [#247](https://github.com/styleframe-dev/styleframe/pull/247) [`ed847bb`](https://github.com/styleframe-dev/styleframe/commit/ed847bbe64414b921a52d413cf09d89a4d51fc13) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add Accordion recipe. Adds a multi-part Accordion recipe composed of five composables: `useAccordionRecipe`, `useAccordionItemRecipe`, `useAccordionTriggerRecipe`, `useAccordionBodyRecipe`, and `useAccordionContentRecipe`. Supports `primary`, `secondary`, `light`, `dark`, and `neutral` colors and `sm`, `md`, and `lg` sizes. The trigger uses a chevron icon that rotates via a CSS transition when the item is in the `open` state (driven by the `[open]` attribute on `
`). Each part is independently composable and all five are re-exported from the `@styleframe/theme` barrel. - [#249](https://github.com/styleframe-dev/styleframe/pull/249) [`a3f98c8`](https://github.com/styleframe-dev/styleframe/commit/a3f98c8b53cdfb8194917a520b072da3fe41db20) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add Avatar, AvatarBadge, and AvatarGroup recipes. Adds `useAvatarRecipe`, `useAvatarBadgeRecipe`, and `useAvatarGroupRecipe` to `@styleframe/theme`. The Avatar supports `color`, `size` (`xs`–`xl`), and `shape` (`circle` / `square`) variants. The AvatarBadge overlays a status indicator with configurable `color`, `size`, and `position` (all four corners). AvatarGroup stacks avatars with a configurable `size` and `max` overlap, rendering a `+N` overflow badge when the count exceeds the limit. - [#250](https://github.com/styleframe-dev/styleframe/pull/250) [`e299dd2`](https://github.com/styleframe-dev/styleframe/commit/e299dd26cabf809ba74dd22d79f3a22b99c8a266) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add Calendar recipe. Adds `useCalendarRecipe()` and `useCalendarDayRecipe()` composables for building date, month, and year pickers. The calendar supports `day`, `month`, and `year` display types, `single` and `range` selection modes, and `light`, `dark`, and `neutral` surface colors across `sm`, `md`, and `lg` sizes. The day recipe handles `selected`, `today`, `disabled`, `inRange`, `rangeStart`, and `rangeEnd` states via compound variants. - [#244](https://github.com/styleframe-dev/styleframe/pull/244) [`bd07eb2`](https://github.com/styleframe-dev/styleframe/commit/bd07eb238aa9e714644e459104063dc928f1b484) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add Checkbox, CheckboxField, and CheckboxGroup recipes. Adds three Inkline-style form-control recipes built on the native ``. The `useCheckboxFieldRecipe()` composable styles the box with `appearance: none` and an SVG checkmark/dash `background-image`; `:checked`, `:indeterminate`, `:disabled`, and `:focus-visible` states are driven by native pseudo-classes. The `useCheckboxRecipe()` composable wraps the label, and `useCheckboxGroupRecipe()` lays out a set with `vertical` / `horizontal` orientation. All three support `light`, `dark`, and `neutral` surface colors and `sm` / `md` / `lg` sizes. Also adds `useWebkitAppearanceUtility` (`-webkit-appearance`) to `@styleframe/theme` and registers it in `useUtilitiesPreset`, enabling recipes to set the vendor-prefixed appearance property. - [#254](https://github.com/styleframe-dev/styleframe/pull/254) [`2188938`](https://github.com/styleframe-dev/styleframe/commit/2188938a5eec1e694ea54101b884dccde3f38b5e) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add `color-picker` recipe — a 4-part color picker control. Adds `useColorPickerRecipe`, `useColorPickerSelectorRecipe`, `useColorPickerTrackRecipe`, and `useColorPickerThumbRecipe` to `@styleframe/theme`. The root follows the standard color (light/dark/neutral), size (xs/sm/md/lg/xl), and variant (solid/soft/ghost) axes with disabled and invalid state handling. The selector renders the gradient canvas area, the track renders the hue/alpha slider rail, and the thumb renders the draggable handle shared across both. - [#260](https://github.com/styleframe-dev/styleframe/pull/260) [`bf74401`](https://github.com/styleframe-dev/styleframe/commit/bf74401f58c9d178150fa163e98b18042e4e69f3) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add `context-menu` recipe — a 6-part right-click context menu. Adds `useContextMenuRecipe`, `useContextMenuItemRecipe`, `useContextMenuSubTriggerRecipe`, `useContextMenuLabelRecipe`, `useContextMenuSeparatorRecipe`, and `useContextMenuShortcutRecipe` to `@styleframe/theme`. The panel and item styling mirror the Dropdown family (color: light/dark/neutral, variant: solid/soft/subtle, size: sm/md/lg), with a sub-trigger arrow indicator and an inline keyboard shortcut slot. Extracts shared menu-surface logic into `createMenuRecipe.ts` in the dropdown folder, which the Dropdown, Select panel, and Context Menu recipes all now delegate to — eliminating ~1100 lines of duplicated compound-variant declarations. - [#262](https://github.com/styleframe-dev/styleframe/pull/262) [`2994375`](https://github.com/styleframe-dev/styleframe/commit/299437563582b7b91ecceeaed197defa267f7f4c) Thanks [@alexgrozav](https://github.com/alexgrozav)! - The built-in `dark` modifier is now theme-driven. It no longer emits `@media (prefers-color-scheme: dark)`; `_dark:` / `&:dark` now respond solely to `.dark-theme` / `[data-theme="dark"]`, matching the values set by the `dark` theme. This fixes light surfaces showing inverted (unreadable) text when the OS is in dark mode but no `data-theme` is set. Migration: to follow the operating-system preference, mirror it into `data-theme` — e.g. `window.matchMedia('(prefers-color-scheme: dark)')` → set `document.documentElement.dataset.theme`. See the theme-switcher guide. - [#257](https://github.com/styleframe-dev/styleframe/pull/257) [`5264a57`](https://github.com/styleframe-dev/styleframe/commit/5264a577cd667fdf88192341a281cb4d553e0a80) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add Drawer recipe with shared overlay recipe builders. Introduces `useDrawerRecipe`, `useDrawerBodyRecipe`, `useDrawerHeaderRecipe`, `useDrawerFooterRecipe`, and `useDrawerOverlayRecipe` for slide-in drawer panels with side (`left`/`right`/`top`/`bottom`) and size variants. Refactors modal sub-part recipes to use shared `createOverlayRecipes` builders, eliminating ~500 lines of duplication. - [#251](https://github.com/styleframe-dev/styleframe/pull/251) [`d758990`](https://github.com/styleframe-dev/styleframe/commit/d7589909ca21bff0c92c950f2dae2be5d1cce6e3) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add `field-group` recipe and replace the per-field grouping recipes with it. Adds `useFieldGroupRecipe` — an explicit, composable wrapper (modeled on Nuxt UI's FieldGroup) that joins bordered controls (buttons, inputs, selects, badges) placed as **direct children** into one unit, merging border radii and collapsing the inner border at the seams. Supports `orientation` (horizontal/vertical) and `block` mode; in a horizontal group inputs/selects/textareas flex-grow while buttons stay intrinsic. Replaces the per-field grouping recipes, which are superseded by `useFieldGroupRecipe`: - Removed `useButtonGroupRecipe` — a group of buttons now works the same way as direct children of a field group. - Removed `useInputGroupRecipe`, `useInputPrependRecipe`, and `useInputAppendRecipe` — attach a control outside an input by making it a direct child of a field group. - Removed the internal `createFieldSlotRecipe` and `createFieldGroupRecipe` builders. Inline `useInputPrefixRecipe` / `useInputSuffixRecipe` (and the textarea equivalents) are unchanged. - [#253](https://github.com/styleframe-dev/styleframe/pull/253) [`e316dea`](https://github.com/styleframe-dev/styleframe/commit/e316dea099d3b2cfdceb37fb9d4b7d06f773863f) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add fullscreen variant to modal and modal-body recipes. Adds a `fullscreen` boolean variant to `useModalRecipe` (fills the viewport with `width: 100%`, `height: 100%`, `max-width: none`, and `border-radius: 0`) and a matching variant to `useModalBodyRecipe` (`flex-grow: 1`) so the footer stays pinned to the bottom. Pass `fullscreen="true"` to both the container and the body to opt in. - [#252](https://github.com/styleframe-dev/styleframe/pull/252) [`aaf8f94`](https://github.com/styleframe-dev/styleframe/commit/aaf8f947526cdeb2d7bda6f473ff739d36e1a5a3) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add OTP recipe with shared field surface abstraction. Adds `useOtpRecipe` and `useOtpCellRecipe` for styling one-time password inputs. The cell recipe targets a single `` with `:focus-visible` ring and supports the full color × variant × size matrix matching Input/Textarea parity. Extracts `fieldSurfaceCompoundVariants()` from `createFieldRecipe` so the OTP cell can share the same nine color×variant surface declarations without duplication. - [#245](https://github.com/styleframe-dev/styleframe/pull/245) [`7faecd4`](https://github.com/styleframe-dev/styleframe/commit/7faecd40ff07a57b22204d143b2153230f857aec) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add Radio, RadioField, and RadioGroup recipes. Adds three form-control recipes built on the native ``. The `useRadioFieldRecipe()` composable styles the radio indicator with `appearance: none` and a filled inner circle driven by a `background-image`; `:checked`, `:disabled`, and `:focus-visible` states are driven by native pseudo-classes. The `useRadioRecipe()` composable wraps the label, and `useRadioGroupRecipe()` lays out a set with `vertical` / `horizontal` orientation. All three support `light`, `dark`, and `neutral` surface colors and `sm` / `md` / `lg` sizes. - [#243](https://github.com/styleframe-dev/styleframe/pull/243) [`e4ba4cf`](https://github.com/styleframe-dev/styleframe/commit/e4ba4cfc35f24f66e5b5207f8096ebb89ee06ab1) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add `select` recipe — a 7-part multi-select form control. Adds `useSelectRecipe`, `useSelectPanelRecipe`, `useSelectOptionRecipe`, `useSelectChipRecipe`, `useSelectArrowRecipe`, `useSelectLabelRecipe`, and `useSelectSeparatorRecipe` to `@styleframe/theme`. The trigger follows the Input recipe's structure (color: light/dark/neutral, size, invalid/disabled/readonly states) with a `solid`/`soft`/`ghost` variant axis, the panel and options mirror Dropdown (solid/soft/subtle), and the chips mirror Badge (Container-3 palette) with a nested `.select-chip-remove` dismiss button. The chevron rotates via `.-open`/`data-open`. Supports both single- and multi-selection. A shared `.select-icon` slot adds a leading icon/media element (e.g. a country flag) to the trigger's selected value, options, and chips. Selected options are driven by `aria-selected`, with the `.select-option-check` indicator pinned to the trailing edge so the leading edge is free for an icon. - [#258](https://github.com/styleframe-dev/styleframe/pull/258) [`ef61c3e`](https://github.com/styleframe-dev/styleframe/commit/ef61c3e84e7dfe8bd6a09463e3bf9b201a387ea1) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add `sidebar` recipe — a 16-part navigation sidebar component. Adds `useSidebarRecipe`, `useSidebarContentRecipe`, `useSidebarHeaderRecipe`, `useSidebarFooterRecipe`, `useSidebarInsetRecipe`, `useSidebarGroupRecipe`, `useSidebarGroupLabelRecipe`, `useSidebarGroupActionRecipe`, `useSidebarSeparatorRecipe`, `useSidebarMenuRecipe`, `useSidebarMenuButtonRecipe`, `useSidebarMenuActionRecipe`, `useSidebarMenuBadgeRecipe`, `useSidebarMenuSubRecipe`, and `useSidebarMenuSubButtonRecipe` to `@styleframe/theme`. The root sidebar supports `side` (left/right), `variant` (sidebar/floating/inset), and `collapsible` (offcanvas/icon/none) axes, with responsive collapse behavior driven by `data-state` and `data-collapsible`. Menu buttons follow the Input recipe's color palette with `size` and `variant` (default/outline/ghost) axes. Includes full Storybook showcase and documentation. - [#256](https://github.com/styleframe-dev/styleframe/pull/256) [`689d959`](https://github.com/styleframe-dev/styleframe/commit/689d95988e4870dc8b261b9aed891208a29d8353) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add `slider` recipe — a 4-part range input component. Adds `useSliderRecipe`, `useSliderTrackRecipe`, `useSliderRangeRecipe`, and `useSliderThumbRecipe` to `@styleframe/theme`. The root follows the standard color (light/dark/neutral), size (xs/sm/md/lg/xl), and orientation (horizontal/vertical) axes with disabled and invalid states. The track renders the unfilled groove, the range fills the selected region, and the thumb is the draggable handle with focus-ring, hover, and active states. - [#246](https://github.com/styleframe-dev/styleframe/pull/246) [`3475d9e`](https://github.com/styleframe-dev/styleframe/commit/3475d9e0a71ace6545e0c1ff7047d36f97fb633d) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add Switch and SwitchField recipes. Adds two form-control recipes built on the native ``. The `useSwitchFieldRecipe()` composable styles a pill-shaped track with a sliding white knob; `:checked` recolors the track to `@color.primary` and translates the knob, `:focus-visible` shows a focus ring, and `:disabled` dims the control — all driven by native pseudo-classes with zero runtime JavaScript. The `useSwitchRecipe()` composable wraps the label with inline layout, gap, and label typography. Both support `light`, `dark`, and `neutral` surface colors and `sm` / `md` / `lg` sizes. - [#259](https://github.com/styleframe-dev/styleframe/pull/259) [`593963d`](https://github.com/styleframe-dev/styleframe/commit/593963d861df8175b7ea333d5e1eeed29fcbeab4) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add tabs recipe. Exports four new composables — `useTabsRecipe`, `useTabsListRecipe`, `useTabsTriggerRecipe`, and `useTabsContentRecipe` — covering orientation (horizontal/vertical), size (sm/md/lg), color (primary/secondary/success/info/warning/error), and variant (solid/soft/outline/ghost) axes. Includes Storybook showcase components and full documentation. - [#241](https://github.com/styleframe-dev/styleframe/pull/241) [`6f28e83`](https://github.com/styleframe-dev/styleframe/commit/6f28e83167cc44955eef5ec3637d5b4c17c58603) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add textarea recipe with full parity to input. Exports three new composables — `useTextareaRecipe`, `useTextareaPrefixRecipe`, and `useTextareaSuffixRecipe` — matching the input recipe's color/variant/size/state system and adding a `resize` axis (none/vertical/horizontal/both, default vertical). Also exports `useFieldSelector` from `@styleframe/theme` and refactors the input recipe family to use shared field-recipe builders, eliminating ~450 lines of duplication. - [#261](https://github.com/styleframe-dev/styleframe/pull/261) [`f20f0ae`](https://github.com/styleframe-dev/styleframe/commit/f20f0aec9f38a29e209c61b7b427c78e62be4494) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add Toggle and ToggleGroup recipes. Adds two interactive button recipes: `useToggleRecipe()` styles a single toggleable button with pressed/active states driven by `aria-pressed`, and `useToggleGroupRecipe()` composes multiple toggles into a segmented control with connected borders. Both support `solid`, `outline`, `soft`, `subtle`, and `ghost` variants, `primary`, `secondary`, `success`, `info`, `warning`, `error`, and `neutral` colors, and `xs` / `sm` / `md` / `lg` / `xl` sizes. ### Patch Changes - [#238](https://github.com/styleframe-dev/styleframe/pull/238) [`4ace91d`](https://github.com/styleframe-dev/styleframe/commit/4ace91d5e15020c29d585848ee66f6250946b2d1) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Bundle type declarations on build. The shared Vite config now enables `vite-plugin-dts`'s `bundleTypes`, so each package ships a single rolled-up `.d.ts` per entry (via `@microsoft/api-extractor`) instead of a tree of per-file declarations. `@microsoft/api-extractor` is now a peer dependency of `@styleframe/config-vite`. - [#264](https://github.com/styleframe-dev/styleframe/pull/264) [`760c167`](https://github.com/styleframe-dev/styleframe/commit/760c1677f1927c143b090a7020e1f5bc3ccf9f33) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Use `gray-50` instead of `gray-100` for soft and subtle variants in callout, card, modal, popover, and tooltip recipes. - Updated dependencies [[`4ace91d`](https://github.com/styleframe-dev/styleframe/commit/4ace91d5e15020c29d585848ee66f6250946b2d1)]: - @styleframe/core@3.6.1 ## 3.7.1 ### Patch Changes - [#222](https://github.com/styleframe-dev/styleframe/pull/222) [`80f84dd`](https://github.com/styleframe-dev/styleframe/commit/80f84dd9c32ec3361c69b30f5a9c725b2e1b8fc2) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Fix `chat-message` recipe `side="end"` alignment. The `side="end"` variant now correctly packs the avatar and content group to the right side of the container. Three issues were resolved: - Root recipe: `justify-content` was `flex-end` which, combined with `flex-direction: row-reverse`, pushed items to the left. Changed to `flex-start`. - Content recipe: added `side` variant with `alignSelf: flex-end` so the bubble right-aligns within its column stack. - Actions recipe: added `side` variant with `justifyContent: flex-end` so action buttons align under the bubble. - [#233](https://github.com/styleframe-dev/styleframe/pull/233) [`0ef38e6`](https://github.com/styleframe-dev/styleframe/commit/0ef38e69ca941cefab31463c23980f52cae1541f) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Migrate from Vite 7 to Vite 8 with native Rolldown integration. Replace esbuild transforms with Oxc in the plugin, rename `rollupOptions` to `rolldownOptions`, upgrade `vite-plugin-dts` v4 to v5 (`rollupTypes` → `bundleTypes`), and bump vitest from v3 to v4. - Updated dependencies [[`c7ff8c8`](https://github.com/styleframe-dev/styleframe/commit/c7ff8c89776b2e117b0f45f3e1f8ca6695f24a29), [`dc99d46`](https://github.com/styleframe-dev/styleframe/commit/dc99d4699046f5e5f3dcac965648fd50b0339412), [`0ef38e6`](https://github.com/styleframe-dev/styleframe/commit/0ef38e69ca941cefab31463c23980f52cae1541f)]: - @styleframe/core@3.6.0 ## 3.7.0 ### Minor Changes - [#218](https://github.com/styleframe-dev/styleframe/pull/218) [`e3264fe`](https://github.com/styleframe-dev/styleframe/commit/e3264fe42bb2c68c65713ea63e5b734bf7fcef00) Thanks [@alexgrozav](https://github.com/alexgrozav)! - **BREAKING**: `useDesignTokensPreset` and `useUtilitiesPreset` now merge custom values with defaults by default. Previously, supplying a custom record for a domain replaced that domain's defaults entirely: ```ts useDesignTokensPreset(s, { colors: { brand: "#ff6600" }, }); // Old behavior: only `colorBrand` exists; default colors and border colors were dropped. ``` The user-facing intent of partial overrides is almost always "merge with defaults", so this is now the default. The opt-in `meta: { merge: true }` is no longer needed; `meta: { merge: false }` is the explicit opt-out for the previous replace behavior. ```ts useDesignTokensPreset(s, { colors: { brand: "#ff6600" }, }); // New behavior: all default colors plus `colorBrand`; border colors keep working. useDesignTokensPreset(s, { meta: { merge: false }, colors: { brand: "#ff6600" }, }); // Restores the previous replace behavior. ``` The same flip applies transitively to `useShorthandUtilitiesPreset`, which delegates to `useUtilitiesPreset`. Migration: drop `meta: { merge: true }` from any existing config (it's now a no-op). If you previously relied on a custom record replacing defaults, add `meta: { merge: false }` to that call. - [#215](https://github.com/styleframe-dev/styleframe/pull/215) [`43f8f4f`](https://github.com/styleframe-dev/styleframe/commit/43f8f4f322d120def777262277aa40c5d84736a8) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Unify fluid and fixed font sizes under `useFontSizeDesignTokens`. Tuple `[min, max]` and object `{ min, max }` values are now treated as **absolute pixel ranges** and routed through `useFluidClamp`; plain `TokenValue` values stay static. The same call accepts mixed fluid + fixed entries. ```ts useFontSizeDesignTokens(s, { default: "@font-size.md", md: [16, 18], // fluid sm: "0.8rem", // fixed lg: { min: 18, max: 24 }, // fluid (object form) }); ``` Breaking changes: - `useFluidFontSizeDesignTokens` is removed. Pass ranges directly to `useFontSizeDesignTokens` instead. - `useDesignTokensPreset`'s `fluidFontSize.values` config now expects the unified `FontSizeValue` (`TokenValue | RangeInput`) per key. Existing `[min, max]` / `{ min, max }` shapes still work but are interpreted as **absolute pixels**, not multipliers of a base. - When `fluidFontSize` is enabled and the user passes their own `fontSize` config, those values now win over the fluid defaults instead of being silently dropped. - `fontSizeValues` is renamed to `fontSizeStaticValues`. The pixel base used by the default fluid scale is emitted as configurable CSS variables (`--font-size--min: 16;` / `--font-size--max: 18;`); each fluid `font-size.*` `calc()` references them via `var()`, so the base can be retargeted by overriding those custom properties. Internal: `createUseVariable` gains a `fluid?: boolean` opt-in flag plus a `breakpoint` options-bag arg on the returned composable, so any composable can adopt range-aware values with a single line. ### Patch Changes - Updated dependencies [[`6d406c2`](https://github.com/styleframe-dev/styleframe/commit/6d406c289b39c666a3fb7468aa3ec08f5a6d316b)]: - @styleframe/core@3.5.0 ## 3.6.0 ### Minor Changes - [#210](https://github.com/styleframe-dev/styleframe/pull/210) [`18f82c7`](https://github.com/styleframe-dev/styleframe/commit/18f82c70fb5cdc7c46d22a648da6c68e30a98db9) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add `useBreadcrumbRecipe` and `useBreadcrumbItemRecipe` — a two-part breadcrumb recipe with `light`/`dark`/`neutral` color axes and `sm`/`md`/`lg` size variants. Separators are rendered as DOM nodes and auto-inserted between items; the separator character is configurable via a `separator` prop. - [#204](https://github.com/styleframe-dev/styleframe/pull/204) [`1d57ffa`](https://github.com/styleframe-dev/styleframe/commit/1d57ffaa2861fd05a03f370cf3948d772d6be237) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add `Media` recipe — a layout-only multi-part recipe modeled on the Bootstrap/Inkline media object pattern for image-plus-content layouts (comments, posts, list items) - New recipes: `useMediaRecipe`, `useMediaFigureRecipe`, `useMediaBodyRecipe`, `useMediaTitleRecipe` - Root recipe exposes `orientation` (`horizontal`/`vertical`), `align` (`start`/`center`/`end`), and `size` (`sm`/`md`/`lg`) axes — no color or surface styling, so it composes inside Card, Callout, etc. - `useMediaBodyRecipe` sets `min-width: 0` to safely wrap long titles inside flex containers - Designed for nesting (parent Media → child Media inside `MediaBody`) for comment threads and reply chains - [#208](https://github.com/styleframe-dev/styleframe/pull/208) [`787cf14`](https://github.com/styleframe-dev/styleframe/commit/787cf143c925ac9caacb3df1c72c3aeb2d626419) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add `PageHero` recipe — a multi-part composable for full-width hero sections with color, size, orientation, alignment, and reverse axes - New recipes: `usePageHeroRecipe`, `usePageHeroBodyRecipe`, `usePageHeroHeadlineRecipe`, `usePageHeroTitleRecipe`, `usePageHeroDescriptionRecipe`, `usePageHeroActionsRecipe`, `usePageHeroLinksRecipe`, `usePageHeroImageRecipe` - Container exposes `color` (`light`/`dark`/`neutral` with adaptive dark mode), `size` (`sm`/`md`/`lg`), `orientation` (`vertical`/`horizontal`), `alignment` (`start`/`center`/`end`), and `reverse` axes - Sub-recipes mirror the `size` and `alignment` axes and override alignment to `start` in horizontal orientation for correct two-column layout - Adds a generic `useFilterUtility` and registers it in `useUtilitiesPreset` - [#209](https://github.com/styleframe-dev/styleframe/pull/209) [`3559b70`](https://github.com/styleframe-dev/styleframe/commit/3559b70dedcc13ad191c78869cd86407b8470604) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add pagination recipe with `usePaginationRecipe`, `usePaginationItemRecipe`, and `usePaginationEllipsisRecipe`. Supports 3 color modes (light, dark, neutral), 6 style variants (solid, outline, soft, subtle, ghost, link), 3 sizes (sm, md, lg), and active/disabled item states. ### Patch Changes - Updated dependencies [[`c314dbc`](https://github.com/styleframe-dev/styleframe/commit/c314dbc78872df38efe72d7931faf86afce5ffcc)]: - @styleframe/core@3.4.0 ## 3.5.1 ### Patch Changes - [#201](https://github.com/styleframe-dev/styleframe/pull/201) [`4ae6cd4`](https://github.com/styleframe-dev/styleframe/commit/4ae6cd46269f4619f6d8f3eb481f7aed29450db3) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Lock `fluid.screen` at `fluid.max-width` past the maximum viewport to prevent fluid values from extrapolating beyond their intended ceiling - `useFluidViewportDesignTokens` now registers a media query at `min-width: ` that pins `fluid.screen` to `calc(var(--fluid--max-width) * 1px)` - The lock breakpoint derives from the `maxWidth` option, supporting both numeric (`1440`) and string (`90rem`) values ## 3.5.0 ### Minor Changes - [#196](https://github.com/styleframe-dev/styleframe/pull/196) [`5a37154`](https://github.com/styleframe-dev/styleframe/commit/5a37154540057d115a834961b708a77cbf032783) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add Dropdown recipe with item, separator, label, arrow, tests, and documentation - Add `useDropdownRecipe` container recipe with 3 colors (light, dark, neutral), 3 visual styles (solid, soft, subtle), and 3 sizes (sm, md, lg) — uses `@z-index.dropdown` for surface stacking - Add `useDropdownItemRecipe` for clickable menu options with hover, focus, active, and disabled states across all color × variant combinations - Add `useDropdownSeparatorRecipe` for visual dividers between item groups (color axis only) - Add `useDropdownLabelRecipe` for uppercase muted group headings (color and size axes) - Add `useDropdownArrowRecipe` using the CSS border-triangle technique — points upward by default to sit above the panel, registers an `@dropdown.arrow.size` variable (default `6px`) - Add Dropdown documentation page with usage examples, anatomy, accessibility guidance (menu/menuitem/separator roles, keyboard navigation, roving tabindex), API reference, and FAQ - [#198](https://github.com/styleframe-dev/styleframe/pull/198) [`eabf9f4`](https://github.com/styleframe-dev/styleframe/commit/eabf9f4150cddc240065e72d38d3c01042fb140c) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add fluid typography to the default design tokens preset - Add `useFluidClamp` to compose a `clamp()`-style fluid value between a min/max pair using a viewport-driven breakpoint reference - Add `useFluidViewportDesignTokens` registering `fluid.breakpoint`, `fluid.min`, and `fluid.max` viewport variables that drive the clamp interpolation - Add `useFluidFontSizeDesignTokens` registering `font-size.min/max` (with `xs`–`xl` multipliers off the type scale) and resolving `font-size.{xs..xl}` to fluid clamp values - Wire fluid font sizing into `useDesignTokensPreset` so the default preset ships fluid type out of the box - Add `fluidFontSize` and `fluidViewport` value helpers and documentation for the new fluid composables and the presets reference page - [#195](https://github.com/styleframe-dev/styleframe/pull/195) [`73a4c55`](https://github.com/styleframe-dev/styleframe/commit/73a4c551a403fcda250b108fb93c9ab7394b27c2) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add HamburgerMenu recipe with toggle button, animations, tests, and documentation - Add `useHamburgerMenuRecipe` icon-toggle button recipe with 3 colors (light, dark, neutral), 3 sizes (sm, md, lg), 7 open-state animations (close, arrow-{up,down,left,right}, minus, plus), and a boolean `active` axis - Inner bars rendered via `.hamburger-menu-inner` + `::before`/`::after` pseudo-elements; per-size dimensions and per-animation transforms registered via `setup(s)` callback - Add HamburgerMenu Storybook stories with all-variants and all-sizes preview grids, plus per-color, per-size, per-animation, and disabled/active stories - Add HamburgerMenu documentation page with usage examples, accessibility guidance (`aria-expanded`, `aria-label`), API reference, and best practices - [#189](https://github.com/styleframe-dev/styleframe/pull/189) [`689f02b`](https://github.com/styleframe-dev/styleframe/commit/689f02bd98262c4ee7b35b92ca537ac0e50af013) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add Input recipe with prefix/suffix and prepend/append slots - Add `useInputRecipe` wrapper recipe with 3 colors (light, dark, neutral), 3 variants (default, soft, ghost), 3 sizes, and `invalid`/`disabled`/`readonly` boolean state axes; the wrapper owns the visual field and inherits typography into a nested `` styled via setup callback - Add `useInputPrefixRecipe` and `useInputSuffixRecipe` for inline addons rendered inside the field, beside the text - Add `useInputPrependRecipe` and `useInputAppendRecipe` as transparent slot containers for external addons (Buttons, dropdowns, plain text) — content brings its own visual language - Add `useInputGroupRecipe` as a pure layout coordinator that flattens border-radius and collapses border-width at the seams where prepend/append meet the input, using `:has()` selectors - [`ef662ae`](https://github.com/styleframe-dev/styleframe/commit/ef662ae696acf138a14c246b4b6f7a65ebae53c1) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add Spinner recipe with circle, text, overlay, tests, and documentation - Add `useSpinnerRecipe` container recipe with 4 colors (primary, light, dark, neutral) and 4 sizes (auto, sm, md, lg) - Add `useSpinnerCircleRecipe` with SVG stroke-dasharray animation and keyframes - Add `useSpinnerTextRecipe` for centered label overlay on the spinner - Add `useSpinnerOverlayRecipe` for fixed/absolute backdrop - Add Spinner documentation page with usage examples, API reference, and FAQ - [#198](https://github.com/styleframe-dev/styleframe/pull/198) [`eabf9f4`](https://github.com/styleframe-dev/styleframe/commit/eabf9f4150cddc240065e72d38d3c01042fb140c) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Enable `fluidFontSize` by default in `useDesignTokensPreset` - Calling `useDesignTokensPreset(s)` with no config now emits the fluid font-size scale (`clamp()`-based `font-size.*`, `font-size.min/max`, `scale.min/max`, and per-power scale variables). Previously, fluid was opt-in via `fluidFontSize: true`. - Pass `fluidFontSize: false` to fall back to the static `fontSize` domain. - Custom `fontSize: { ... }` config is silently ignored when fluid is active. Migration: add `fluidFontSize: false` alongside any custom `fontSize` config you want to keep applying. - Domain dependencies are now validated up front. Setting `fluidViewport: false` or `scale: false` while leaving `fluidFontSize` enabled throws a configuration error — both are required for the fluid scale to function. Migration: add `fluidFontSize: false` whenever you disable `fluidViewport` or `scale`. - Internally, domains can now declare `enabled` predicates and a `requires` list of config keys that must not be `false`. The preset uses this to gate the fluid `scale` and `font-size` domains generically rather than via ad-hoc checks inside each composable. - [#198](https://github.com/styleframe-dev/styleframe/pull/198) [`eabf9f4`](https://github.com/styleframe-dev/styleframe/commit/eabf9f4150cddc240065e72d38d3c01042fb140c) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Accept `{ min, max }` objects in fluid range APIs `useFluidClamp` and the per-step `values` of `useFluidFontSizeDesignTokens` now accept ranges as either `[min, max]` tuples or `{ min, max }` objects. The `fluidFontSize.values` config in `useDesignTokensPreset` accepts both forms as well. Existing tuple call sites are unaffected. ## 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 - [#180](https://github.com/styleframe-dev/styleframe/pull/180) [`d2c1ed6`](https://github.com/styleframe-dev/styleframe/commit/d2c1ed65b1a268647e4789a20341d8da61fb9f74) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add Chip recipe with indicator, tests, and documentation - Add `useChipRecipe` wrapper recipe with relative positioning context - Add `useChipIndicatorRecipe` with 9 colors, 2 variants (solid/soft), 5 sizes, 4 corner positions, and inset mode - Wire `useTransformUtility` into `useUtilitiesPreset` - Convert min/max width/height utilities to spacing multiplier utilities for consistency - Add Chip documentation page with usage examples, API reference, and FAQ - [#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 - [#176](https://github.com/styleframe-dev/styleframe/pull/176) [`cccd1cd`](https://github.com/styleframe-dev/styleframe/commit/cccd1cdab769a7fb8d3cbfb4620ad2926099f0fc) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add Placeholder recipe with dashed border and CSS hatch pattern - Add `usePlaceholderRecipe` as a base-only recipe (no variants) with a dashed border, hatch background pattern, and automatic dark mode support - Add Placeholder documentation page with usage examples, API reference, and FAQ - [#179](https://github.com/styleframe-dev/styleframe/pull/179) [`8eadb4b`](https://github.com/styleframe-dev/styleframe/commit/8eadb4b8e6200b962f114d8bf48578eb17e85d95) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add Popover recipe with composable sub-recipes and documentation - Add `usePopoverRecipe` with size (`sm`, `md`, `lg`), variant (`solid`, `soft`, `subtle`), and color (`light`, `dark`, `neutral`) variants - Add `usePopoverHeaderRecipe` and `usePopoverFooterRecipe` with border collapsing via `:first-child`/`:last-child` selectors - Add `usePopoverBodyRecipe` for content area styling - Add `usePopoverArrowRecipe` with CSS border triangle implementation using `@popover.arrow.size` variable and `&:after` pseudo-element for border/fill separation - Add Popover storybook components, grid previews, and stories - Add complete documentation page covering usage, anatomy, accessibility, and API reference - [#178](https://github.com/styleframe-dev/styleframe/pull/178) [`2bcd961`](https://github.com/styleframe-dev/styleframe/commit/2bcd961d109c1a3c647a777256b81b2ce3d50d5a) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add Progress recipe with orientation, inverted, and indeterminate animation support - Add `useProgressRecipe` (track) and `useProgressBarRecipe` (bar) with 9 bar colors, 3 track colors, 5 sizes, horizontal/vertical orientation, inverted fill direction, and 4 indeterminate animations (carousel, carousel-inverse, swing, elastic) - Register 8 keyframes automatically (4 horizontal + 4 vertical) via setup callback - Add Progress documentation page with usage examples, API reference, and FAQ - [#175](https://github.com/styleframe-dev/styleframe/pull/175) [`b506ea5`](https://github.com/styleframe-dev/styleframe/commit/b506ea5c3c36fa24fea19a69ee3fef7035397dda) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add Skeleton recipe with pulse animation and supporting utilities - Add `useSkeletonRecipe` with size (`xs`, `sm`, `md`, `lg`, `xl`) and rounded (`true`, `false`) variants, pulse animation, and dark mode support - Add granular animation utilities: `useAnimationNameUtility`, `useAnimationDurationUtility`, `useAnimationTimingFunctionUtility`, `useAnimationIterationCountUtility` - Switch `useWidthUtility` and `useHeightUtility` to `createUseSpacingUtility` for `@N` multiplier support - Add compound keyframe selector support in core engine (e.g. `"0%, 100%"`) - Add Skeleton storybook component, grid previews, and stories - Add Skeleton documentation page - [#172](https://github.com/styleframe-dev/styleframe/pull/172) [`7620771`](https://github.com/styleframe-dev/styleframe/commit/7620771ede3b1e6e9a2f14cf20e845af1078635e) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add Tooltip recipe with arrow sub-recipe and transform utility - Add `useTooltipRecipe` with size (`sm`, `md`, `lg`), variant (`solid`, `soft`, `subtle`), and color (`light`, `dark`, `neutral`) variants - Add `useTooltipArrowRecipe` with CSS border triangle implementation using `@tooltip.arrow.size` variable and `&:after` pseudo-element for border/fill separation - Add `useTransformUtility` for arbitrary `transform` CSS property values - Add Tooltip storybook components, grid previews, and stories including freeform rich content example - [#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 [[`b506ea5`](https://github.com/styleframe-dev/styleframe/commit/b506ea5c3c36fa24fea19a69ee3fef7035397dda), [`efd99f7`](https://github.com/styleframe-dev/styleframe/commit/efd99f70a30f9a42c6e1793ed777b1565fb47a82)]: - @styleframe/core@3.3.0 ## 3.3.0 ### Minor Changes - [#154](https://github.com/styleframe-dev/styleframe/pull/154) [`352f10c`](https://github.com/styleframe-dev/styleframe/commit/352f10c958ac12b7dde245657f3ae8d548e9378b) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Update color palette for accessibility and show hex values in swatches - Revise base color values to OKLCH-aligned accessible colors for both light and dark modes - Remove per-color `text.on-*` tokens in favor of a single `colorTextInverted` reference - Display computed hex values inside color swatch previews - Add `color.` labels below each swatch with monospace styling - [#149](https://github.com/styleframe-dev/styleframe/pull/149) [`b9e54ed`](https://github.com/styleframe-dev/styleframe/commit/b9e54eda1acbf1b1b256f96bf6306dc300602618) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Flatten design tokens preset result and rename variable composables - Rename all variable composables from `use{Name}` to `use{Name}DesignTokens` for clearer naming - Flatten `useDesignTokensPreset` result so variables are directly destructurable instead of nested by domain - Add OKLCH gamut mapping utilities for color processing - Add color reference value support so colors can reference generated shade/tint variants - Add border, transition, and animation utility implementations - [#155](https://github.com/styleframe-dev/styleframe/pull/155) [`cc4f170`](https://github.com/styleframe-dev/styleframe/commit/cc4f170c56ad2e246b94ab4d64b7f6c3097c7223) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Refactor recipes, improve modifier at-rule support, and forward variables through modifier factories - Refactor recipes and utilities with improved color theming composables - Add at-rule support for modifiers (e.g. media preference modifiers) - Forward variables and children through all modifier factory functions - Restructure docs for components, utilities, and modifiers into composable subdirectories - Add Button composable recipe documentation - Update plugin scanner for improved recipe handling - [#151](https://github.com/styleframe-dev/styleframe/pull/151) [`6a18eeb`](https://github.com/styleframe-dev/styleframe/commit/6a18eeb5e36d9f66ef48f2e107d2b6ff65b2a792) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Rename colorLightness to colorLevel across theme, docs, and storybook - Rename `colorLightness` value to `colorLevel` for clearer terminology - Rename `useColorLightnessDesignTokens` to `useColorLevelDesignTokens` - Update all color-related design token references from lightness to level ### Patch Changes - Updated dependencies [[`cc4f170`](https://github.com/styleframe-dev/styleframe/commit/cc4f170c56ad2e246b94ab4d64b7f6c3097c7223)]: - @styleframe/core@3.2.0 ## 3.2.0 ### Minor Changes - [#145](https://github.com/styleframe-dev/styleframe/pull/145) [`1597105`](https://github.com/styleframe-dev/styleframe/commit/1597105d55c1dd43adc6ec146858770a830dc1fb) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add duration design tokens for consistent animation and transition timing - Add `useDuration` composable with semantic duration scale from `instant` (0ms) through `slowest` (1000ms) - Add `durationValues` default token values: instant, fastest, faster, fast, normal, slow, slower, slowest - Register `duration` domain in `useDesignTokensPreset` with full theming and override support - Add `duration` namespace to `useTransitionDurationUtility` and `useTransitionDelayUtility` for `@token` references - Replace hardcoded `150ms` with `@duration.fast` in `useTransitionPropertyUtility` - [#146](https://github.com/styleframe-dev/styleframe/pull/146) [`bff61d1`](https://github.com/styleframe-dev/styleframe/commit/bff61d104eca9b1f2a72911593abf0a7fc90ec34) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Close 416px breakpoint gap by adding 768px md breakpoint - Shift default breakpoint scale to align with industry standards (Tailwind, Bootstrap, Chakra) - Change md from 992px to 768px to cover the tablet range - Shift lg to 992px, xl to 1200px, and add new 2xl at 1440px - [#133](https://github.com/styleframe-dev/styleframe/pull/133) [`ce62d31`](https://github.com/styleframe-dev/styleframe/commit/ce62d318275deed277d828fdd8d2500c1a9d767f) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Refactor design tokens preset, add Button recipe, and improve Badge recipe - Refactor `useDesignTokensPreset` with improved variable composables and `createUseDerivedVariable` utility - Add `useButtonRecipe` with color, variant, and size support including compound variant styles - Improve `useBadgeRecipe` sizing, contrast, and accessibility - Update color references from `@color.light`/`@color.dark` to `@color.white`/`@color.black` - Enhance `createUseRecipe` with better types and `@`-prefixed token reference support in recipe definitions - [#126](https://github.com/styleframe-dev/styleframe/pull/126) [`3ffb881`](https://github.com/styleframe-dev/styleframe/commit/3ffb8814f9b7db1912180b2e0c53e1b6675df4d6) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Extract modifier registration from `useUtilitiesPreset` into a dedicated `useModifiersPreset` composable with independent configuration - [#138](https://github.com/styleframe-dev/styleframe/pull/138) [`5f06459`](https://github.com/styleframe-dev/styleframe/commit/5f064599bae7a3679aeef0dbcb9bfaf0c4167355) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add sanitize.css preset with configurable normalization categories - Add `useSanitizePreset` with opt-out config for base, forms, typography, and reduced motion - Add `useSanitizeBaseSelectors` with cross-browser normalization (box-sizing, margins, forms, accessibility) - Add `useSanitizeFormsSelectors` with form element normalization and consistent select appearance - Add `useSanitizeTypographySelectors` with system font stack defaults - Add `useSanitizeReduceMotionSelectors` with `prefers-reduced-motion` media query support - [#130](https://github.com/styleframe-dev/styleframe/pull/130) [`7ec356a`](https://github.com/styleframe-dev/styleframe/commit/7ec356a0ff945c58df7de5740ef85c6ed781a50a) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add custom utility name support and shorthand utilities preset - Add `names` config option to `useUtilitiesPreset` for custom CSS class name prefixes on any utility - Add `utilityOptions` parameter to `createUseUtility` and `createUseSpacingUtility` to support name overrides - Add `useShorthandUtilitiesPreset` with TailwindCSS-compatible shorthand mappings (e.g., `._m:sm` instead of `._margin:sm`) - [#142](https://github.com/styleframe-dev/styleframe/pull/142) [`89032b8`](https://github.com/styleframe-dev/styleframe/commit/89032b86dee47538a85f10e3083d128aaf60f864) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add z-index design token with semantic stacking scale - Add `useZIndex` composable with semantic layer names (base, dropdown, sticky, overlay, modal, popover, toast, max) - Add `zIndexValues` defaults with 100-increment scale for consistent stacking order - Integrate z-index into `useDesignTokensPreset` and `useUtilitiesPreset` - Update z-index utility docs to use semantic token values instead of arbitrary numbers ### Patch Changes - [#130](https://github.com/styleframe-dev/styleframe/pull/130) [`7ec356a`](https://github.com/styleframe-dev/styleframe/commit/7ec356a0ff945c58df7de5740ef85c6ed781a50a) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Document custom utility names and `useShorthandUtilitiesPreset` in utilities preset docs - Add `Custom Names` section documenting the `names` config option in `useUtilitiesPreset` - Add `useShorthandUtilitiesPreset` section with usage examples and full shorthand name mapping table - Updated dependencies [[`295f04e`](https://github.com/styleframe-dev/styleframe/commit/295f04e6fdd011df6437986cc179e17efd8cd1be), [`71009c2`](https://github.com/styleframe-dev/styleframe/commit/71009c2c0a07a0bfd240e70e61020c8b7e923edb), [`2610041`](https://github.com/styleframe-dev/styleframe/commit/2610041beb03a8afc8de17af8857b9931f3359b0), [`7a61df0`](https://github.com/styleframe-dev/styleframe/commit/7a61df083bc534caa9271a1ef4535f7be979d7c2), [`ce62d31`](https://github.com/styleframe-dev/styleframe/commit/ce62d318275deed277d828fdd8d2500c1a9d767f)]: - @styleframe/core@3.1.0 ## 3.1.0 ### Minor Changes - [#121](https://github.com/styleframe-dev/styleframe/pull/121) [`0242bd6`](https://github.com/styleframe-dev/styleframe/commit/0242bd65028cfc9216ed56e06d52de75ceff4d4b) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add utility modifier composables with auto-registration in useUtilitiesPreset - Add 68 modifiers across 8 categories: pseudo-states, form states, structural, pseudo-elements, media preferences, ARIA states, directional, and other states - Each modifier is individually importable (e.g., `useHoverModifier`, `useDisabledModifier`) - Grouped composables available for convenience (e.g., `usePseudoStateModifiers`) - Per-category configuration to enable/disable modifier groups via `ModifiersConfig` ### Patch Changes - Updated dependencies [[`fa48802`](https://github.com/styleframe-dev/styleframe/commit/fa488027d32956e20fa26dc92ee1a3b3583671ad)]: - @styleframe/core@3.0.1 ## 3.0.0 ### Major Changes - [#117](https://github.com/styleframe-dev/styleframe/pull/117) [`ffe6764`](https://github.com/styleframe-dev/styleframe/commit/ffe6764a2e6c84d5b3cfdf431bf11f17a3f3f118) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Introduce global Styleframe single-instance architecture. Extension files (`*.styleframe.ts`) now share the same instance created in `styleframe.config.ts` instead of creating independent instances. This is a breaking change that affects how styles are imported and composed across files. ### Minor Changes - [#81](https://github.com/styleframe-dev/styleframe/pull/81) [`266f961`](https://github.com/styleframe-dev/styleframe/commit/266f96143e9ffb47e0e6326d0e5e7cc9d974ab83) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add Badge recipe with createUseRecipe factory - Add `useBadgeRecipe` and `useBadgeRecipeBase` recipe composables with color, variant, and size variants - Add `createUseRecipe` factory utility for building reusable, customizable recipe presets - Add `3xs` and `2xs` font-size values ### Patch Changes - Updated dependencies [[`266f961`](https://github.com/styleframe-dev/styleframe/commit/266f96143e9ffb47e0e6326d0e5e7cc9d974ab83), [`ffe6764`](https://github.com/styleframe-dev/styleframe/commit/ffe6764a2e6c84d5b3cfdf431bf11f17a3f3f118)]: - @styleframe/core@3.0.0 ## 2.5.0 ### Minor Changes - [#105](https://github.com/styleframe-dev/styleframe/pull/105) [`b109ac1`](https://github.com/styleframe-dev/styleframe/commit/b109ac148d837ae0a060c34f0236338bf4deca36) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add multiplier support to spacing utilities (margin, padding, gap, space) with @-prefixed numeric values that generate calc() expressions based on a base spacing variable ## 2.4.0 ### Minor Changes - [#93](https://github.com/styleframe-dev/styleframe/pull/93) [`4ebc385`](https://github.com/styleframe-dev/styleframe/commit/4ebc3856ad4468e6caea5f72e595e781e2651b09) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Add `useDesignTokensPreset` composable for quick design token system setup - Introduces a comprehensive preset function that bootstraps complete design token systems with sensible defaults in a single function call - Full TypeScript type inference for all configuration options - Flexible domain configuration: use defaults, disable domains with `false`, or provide custom values - Automatic color variation generation (lightness, shades, tints) with configurable levels - Exports default values from variable composables (`defaultSpacingValues`, `defaultColorValues`, etc.) - Adds `useFontStyle` variable composable - Includes 54 comprehensive tests and detailed documentation - [#95](https://github.com/styleframe-dev/styleframe/pull/95) [`75fd781`](https://github.com/styleframe-dev/styleframe/commit/75fd78196d61498db066de6e355eabcebbd39071) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Rename `useUtilities` to `useUtilitiesPreset` for consistency with design tokens preset naming - **BREAKING**: Renamed `useUtilities()` to `useUtilitiesPreset()` to align with `useDesignTokensPreset()` naming convention - Added comprehensive presets documentation page with complete API reference for 200+ utility creators - Updated all documentation examples and storybook files to use the new function name - Clarified CHANGELOG entries to indicate this is a rename from the previous function - [#97](https://github.com/styleframe-dev/styleframe/pull/97) [`fe021c6`](https://github.com/styleframe-dev/styleframe/commit/fe021c6b90c83593e5a297e4e66ef516d643252f) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Centralize theme variable defaults to dedicated values folder **BREAKING**: Default value exports have been renamed and `useUtilitiesPreset` has moved. ### Renamed Exports All default value exports have been renamed from `defaultXxxValues` to `xxxValues`: - `defaultSpacingValues` → `spacingValues` - `defaultColorValues` → `colorValues` - `defaultBorderWidthValues` → `borderWidthValues` - `defaultBorderRadiusValues` → `borderRadiusValues` - `defaultBorderStyleValues` → `borderStyleValues` - `defaultBoxShadowValues` → `boxShadowValues` - `defaultBreakpointValues` → `breakpointValues` - `defaultEasingValues` → `easingValues` - `defaultFontFamilyValues` → `fontFamilyValues` - `defaultFontSizeValues` → `fontSizeValues` - `defaultFontStyleValues` → `fontStyleValues` - `defaultFontWeightValues` → `fontWeightValues` - `defaultLineHeightValues` → `lineHeightValues` - `defaultLetterSpacingValues` → `letterSpacingValues` - `defaultScaleValues` → `scaleValues` - `defaultScalePowerValues` → `scalePowerValues` - `defaultColorLightnessValues` → `colorLightnessValues` - `defaultColorShadeValues` → `colorShadeValues` - `defaultColorTintValues` → `colorTintValues` ### Moved `useUtilitiesPreset` The `useUtilitiesPreset` function has moved from `utilities/` to `presets/`: ```ts // Before import { useUtilitiesPreset } from "@styleframe/theme/utilities"; // After import { useUtilitiesPreset } from "@styleframe/theme/presets"; // Or from the main export import { useUtilitiesPreset } from "@styleframe/theme"; ``` ### Enhanced `useUtilitiesPreset` The `useUtilitiesPreset` now supports configuration options: - Customize utility default values - Disable specific utilities with `false` - Merge custom values with defaults using `meta.merge: true` ```ts const utilities = useUtilitiesPreset(s, { meta: { merge: true }, display: { flex: "flex", block: "block" }, position: false, // Disable position utilities }); ``` Migration: Update imports to use the new export names and import path. - [#95](https://github.com/styleframe-dev/styleframe/pull/95) [`75fd781`](https://github.com/styleframe-dev/styleframe/commit/75fd78196d61498db066de6e355eabcebbd39071) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Standardize utility class names to match CSS property syntax **BREAKING**: All utility class names now use CSS-standard property names instead of abbreviated Tailwind-style names. This affects the generated CSS class names. ### Border Color Utilities - `border-t-color` → `border-top-color` - `border-r-color` → `border-right-color` - `border-b-color` → `border-bottom-color` - `border-l-color` → `border-left-color` - `border-s-color` → `border-inline-start-color` - `border-e-color` → `border-inline-end-color` ### Scroll Utilities - `scroll-m` → `scroll-margin` - `scroll-mt` → `scroll-margin-top` - `scroll-mr` → `scroll-margin-right` - `scroll-mb` → `scroll-margin-bottom` - `scroll-ml` → `scroll-margin-left` - `scroll-mx` → `scroll-margin-x` - `scroll-my` → `scroll-margin-y` - `scroll-ms` → `scroll-margin-inline-start` - `scroll-me` → `scroll-margin-inline-end` - `scroll-p` → `scroll-padding` - `scroll-pt` → `scroll-padding-top` - `scroll-pr` → `scroll-padding-right` - `scroll-pb` → `scroll-padding-bottom` - `scroll-pl` → `scroll-padding-left` - `scroll-px` → `scroll-padding-x` - `scroll-py` → `scroll-padding-y` - `scroll-ps` → `scroll-padding-inline-start` - `scroll-pe` → `scroll-padding-inline-end` ### Grid Utilities - `grid-cols` → `grid-template-columns` - `grid-rows` → `grid-template-rows` - `col` → `grid-column` - `col-span` → `grid-column-span` - `col-start` → `grid-column-start` - `col-end` → `grid-column-end` - `row` → `grid-row` - `row-span` → `grid-row-span` - `row-start` → `grid-row-start` - `row-end` → `grid-row-end` - `auto-cols` → `grid-auto-columns` - `auto-rows` → `grid-auto-rows` - `grid-flow` → `grid-auto-flow` ### Flex Utilities - `grow` → `flex-grow` - `shrink` → `flex-shrink` - `basis` → `flex-basis` ### Align Utilities - `content` → `align-content` - `items` → `align-items` - `self` → `align-self` ### Justify Utilities - `justify` → `justify-content` ### Transition Utilities - `transition` → `transition-property` - `duration` → `transition-duration` - `ease` → `transition-timing-function` - `delay` → `transition-delay` ### Transform Utilities - `backface` → `backface-visibility` - `origin` → `transform-origin` ### Inset Utilities - `start` → `inset-inline-start` - `end` → `inset-inline-end` ### Typography Utilities - `underline-offset` → `text-underline-offset` - `text-decoration` → `text-decoration-line` ### Box Utilities - `box-decoration` → `box-decoration-break` ### Outline Utilities - `outline` → `outline-width` Migration: Update any CSS class references in your templates from the old abbreviated names to the new CSS-standard names. ### Patch Changes - Updated dependencies [[`8460f16`](https://github.com/styleframe-dev/styleframe/commit/8460f169cec1199810e9203b357dac9f2f128c56)]: - @styleframe/core@2.6.0 ## 2.3.0 ### Minor Changes - [#74](https://github.com/styleframe-dev/styleframe/pull/74) [`2a1bbbe`](https://github.com/styleframe-dev/styleframe/commit/2a1bbbe67afb454c16abf9be64c4d5cea51575e4) Thanks [@alexgrozav](https://github.com/alexgrozav)! - feat: add useEasing composable for animation timing functions Introduces `useEasing()` with comprehensive defaults including CSS keywords, 24 cubic-bezier curves from easings.net, and linear() functions for spring and bounce effects. - [#78](https://github.com/styleframe-dev/styleframe/pull/78) [`7c4f098`](https://github.com/styleframe-dev/styleframe/commit/7c4f0988f3767f358f231571e6a3734426d1050c) Thanks [@alexgrozav](https://github.com/alexgrozav)! - feat: Add padding-x, padding-y, margin-x, and margin-y utilities Add Tailwind-style shorthand utilities for horizontal and vertical spacing: - `usePaddingXUtility` - sets padding-left and padding-right - `usePaddingYUtility` - sets padding-top and padding-bottom - `useMarginXUtility` - sets margin-left and margin-right - `useMarginYUtility` - sets margin-top and margin-bottom These complement the existing CSS logical property variants (`-inline`, `-block`). - [#75](https://github.com/styleframe-dev/styleframe/pull/75) [`72bb1f6`](https://github.com/styleframe-dev/styleframe/commit/72bb1f64aae1531496c5e7398c4bd3c11f5433f9) Thanks [@alexgrozav](https://github.com/alexgrozav)! - feat: add Tailwind-style utility functions Add `createUseUtility` factory function and 15 utility categories (accessibility, backgrounds, borders, effects, filters, flexbox-grid, interactivity, layout, sizing, spacing, svg, tables, transforms, transitions-animation, typography) for generating composable CSS utility classes. ### Patch Changes - [#76](https://github.com/styleframe-dev/styleframe/pull/76) [`06afe2a`](https://github.com/styleframe-dev/styleframe/commit/06afe2af66c3ecd8c6a516336e594c1e8cb56de1) Thanks [@alexgrozav](https://github.com/alexgrozav)! - **BREAKING**: rename `useUtilities` to `useUtilitiesPreset` for consistency with design tokens preset naming Renamed `useUtilities()` to `useUtilitiesPreset()` to align with the naming convention established by `useDesignTokensPreset()`. The function registers all ~180 utility composables with a Styleframe instance and returns their creator functions, enabling automatic utility class generation for recipe declarations. Updated recipe documentation examples to use `useUtilitiesPreset()` with destructured functions and demonstrate both `ref()` and `@variable.name` syntax for referencing design tokens. - Updated dependencies [[`d98b650`](https://github.com/styleframe-dev/styleframe/commit/d98b65030170582ceacfabde3ba9ff7d92105389)]: - @styleframe/core@2.5.0 ## 2.2.0 ### Minor Changes - [#68](https://github.com/styleframe-dev/styleframe/pull/68) [`653d1fc`](https://github.com/styleframe-dev/styleframe/commit/653d1fc4e8fb80f8c3371e728ffc962cf1fb1cec) Thanks [@alexgrozav](https://github.com/alexgrozav)! - feat: add support for dot notation in variable names ### Patch Changes - Updated dependencies [[`653d1fc`](https://github.com/styleframe-dev/styleframe/commit/653d1fc4e8fb80f8c3371e728ffc962cf1fb1cec)]: - @styleframe/core@2.3.0 ## 2.1.0 ### Minor Changes - [`628e650`](https://github.com/styleframe-dev/styleframe/commit/628e65039bae5e21ab9a66e16037e7e2791f8c8b) Thanks [@alexgrozav](https://github.com/alexgrozav)! - chore: update dependencies ### Patch Changes - Updated dependencies [[`628e650`](https://github.com/styleframe-dev/styleframe/commit/628e65039bae5e21ab9a66e16037e7e2791f8c8b)]: - @styleframe/core@2.2.0 ## 2.0.2 ### Patch Changes - [`1ead424`](https://github.com/styleframe-dev/styleframe/commit/1ead424825a6696969294d3127ac79298da03182) Thanks [@alexgrozav](https://github.com/alexgrozav)! - feat: update license package version - [`a08c996`](https://github.com/styleframe-dev/styleframe/commit/a08c996b3b781ead2000b087b3b16906821ba5e3) Thanks [@alexgrozav](https://github.com/alexgrozav)! - fix: update package dependencies - Updated dependencies [[`1ead424`](https://github.com/styleframe-dev/styleframe/commit/1ead424825a6696969294d3127ac79298da03182), [`a08c996`](https://github.com/styleframe-dev/styleframe/commit/a08c996b3b781ead2000b087b3b16906821ba5e3)]: - @styleframe/core@2.0.2 ## 2.0.1 ### Patch Changes - [#52](https://github.com/styleframe-dev/styleframe/pull/52) [`d3039fc`](https://github.com/styleframe-dev/styleframe/commit/d3039fc548972d01a5db6bd1b65ff7495047b5ae) Thanks [@alexgrozav](https://github.com/alexgrozav)! - fix(cli): update install version - Updated dependencies [[`d3039fc`](https://github.com/styleframe-dev/styleframe/commit/d3039fc548972d01a5db6bd1b65ff7495047b5ae)]: - @styleframe/core@2.0.1 ## 2.0.0 ### Minor Changes - [#50](https://github.com/styleframe-dev/styleframe/pull/50) [`0593c52`](https://github.com/styleframe-dev/styleframe/commit/0593c52798b8846d3c49762621baeb66354e0356) Thanks [@alexgrozav](https://github.com/alexgrozav)! - feat: add license check integration ### Patch Changes - Updated dependencies [[`0593c52`](https://github.com/styleframe-dev/styleframe/commit/0593c52798b8846d3c49762621baeb66354e0356)]: - @styleframe/core@1.1.0 ## 1.0.3 ### Patch Changes - [#43](https://github.com/styleframe-dev/styleframe/pull/43) [`7e3d008`](https://github.com/styleframe-dev/styleframe/commit/7e3d00849067618802334d5e6823fc31f3aa2612) Thanks [@alexgrozav](https://github.com/alexgrozav)! - feat: add support for generic records in createUseVariable ## 1.0.2 ### Patch Changes - [`173a814`](https://github.com/styleframe-dev/styleframe/commit/173a814b09e24e4c14dff77651a9845bd101b625) Thanks [@alexgrozav](https://github.com/alexgrozav)! - fix: update release folders ## 1.0.1 ### Patch Changes - Update README.md - Updated dependencies - @styleframe/core@1.0.1 ## 1.0.0 ### Major Changes - 8204e6d: Official styleframe release. Start writing modern, clean, composable CSS using TypeScript, with a focus on simplicity and performance. ### Patch Changes - Updated dependencies [8204e6d] - @styleframe/core@1.0.0