Skip to content

chore: version packages - #245

Merged
tenphi merged 1 commit into
mainfrom
changeset-release/main
Jul 29, 2026
Merged

chore: version packages#245
tenphi merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@tenphi/tasty@2.10.0

Minor Changes

  • #244 e0c6bd0 Thanks @tenphi! - Add single-corner radius modifiers and an inset dock modifier. Both cases previously had no expressible form, which forced authors into raw 4-value box syntax.

    radius now accepts single-corner modifierstop-left, top-right, bottom-right, bottom-left. A directional modifier addresses the corner pair along an edge (radius: 'top' rounds top-left and top-right), so one corner on its own could not be expressed. Previously an unrecognized corner name was silently dropped and the value applied to every corner: radius: '4px top-left' emitted border-radius: 4px instead of only the top-left corner. Now:

    radius: 'top-right'        ->  border-radius: 0 var(--radius) 0 0
    radius: '4px top-left'     ->  border-radius: 4px 0 0 0
    radius: 'top bottom-right' ->  border-radius: var(--radius) var(--radius) var(--radius) 0
    

    The value is optional and defaults to var(--radius) (1r), matching edge modifiers. Corner modifiers combine with edge modifiers, work with longhand, and accept CSS-wide keywords (radius: 'inherit top-right').

    inset now accepts a dock modifier that pins the named edge and spans its full length, applying the value to the two perpendicular sides as well:

    inset: 'bottom dock'    ->  inset: auto 0 0 0     (bottom-anchored, full width)
    inset: 'right dock'     ->  inset: 0 0 0 auto     (right-anchored, full height)
    inset: '2x bottom dock' ->  inset: auto 16px 16px 16px
    inset: 'dock'           ->  inset: 0
    

    Properties opt in via the new spanModifiers field on DirectionalConfig; only inset sets it, so padding, margin and scrollMargin treat dock as an unknown modifier and are unchanged.

    No behaviour change for any previously valid input — edge modifiers, shapes (round, ellipse, leaf, backleaf), longhand, multi-group syntax and individual direction props all emit exactly what they did before.

@tenphi
tenphi merged commit 962627c into main Jul 29, 2026
3 checks passed
@tenphi
tenphi deleted the changeset-release/main branch July 29, 2026 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant