chore: version packages - #60
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
@treeui/tokens@0.27.0
Minor Changes
ddbbf86: Closes the marketing surface — the batch of primitives a public site and 13
product landing pages were each re-solving in local CSS (TREEUX-027, 030–034,
036, 038).
New components
TSection(TREEUX-030) — page section with responsive vertical rhythm(
rhythm="tight|default|loose") and an optional full-bleed band(
banded), with the reading column delegated to a nestedTContainer.The band is full-bleed because the section spans its parent and carries the
background itself: no
100vw, no negative margin, so it cannot overflow oncethe platform paints a classic scrollbar.
THero(TREEUX-031) — the one section with a layer behind the copy. Thelibrary owns the box (stacking context, the clip that keeps an oversized
decoration inside the band, hero-scale padding) and guarantees the
#backdroplayer is
pointer-events: none, so a click on the CTA never dies in theornament.
glowdraws the one part of a hero backdrop that is 100% tokens.TPageSurface(TREEUX-032) — the page-level surface for screens with noapp shell. Zeroes the user-agent body margin (previously only handled for
body:has(.t-app-shell)) and, withoverlay, takes the viewport and becomesthe scroll host with contained scroll chaining, so a landing rendered over a
mounted SPA stops dragging the screen behind it.
TShow/THide(TREEUX-033) — breakpoint visibility in pure CSS(
at/below, combinable into a band). Both branches render, so apre-rendered page keeps every link; a
matchMediacomposable cannot, becausethere is no
windowwhile the HTML is written. It is also something aconsumer cannot write:
@media (min-width: var(--tree-breakpoint-lg))isinvalid, so the pixel gets hardcoded per app. A unit test fails the build if
the stylesheet literals drift from
--tree-breakpoint-*.TSkipLink(TREEUX-036) — the one control that must be hidden and visibleat the same time. It parks off-screen and returns on
:focus-visible, and itprepares its own target (
tabindex="-1"plus the ring suppression), whichretires the loose
#content:focus { outline: none }from consumerstylesheets.
TAppShellgainsskipLinkLabelto close the same hole forauthenticated screens — opt-in only because the label is product copy.
Accent axis and elevation (TREEUX-034 / TREEUX-027)
@treeui/tokensgains a secondary brand accent with a measured light/darkpair (
--tree-color-accent-primary/-hover/-soft/-contrast), AA onevery background and on its own soft tint.
accent.test.tsholds that bar.TSection/THero/TPageSurfacetakeaccent— a closed axis(
brand | neutral | success | warning | danger | info) declared once andinherited by the whole subtree. Never a free colour, the same policy
TLinkTile'stonestates.TTaggains the matchingtoneaxis(
neutral | brand | accent | success | warning | danger | info), orthogonal tovariant.tone="accent"reads the accent in scope, so a badge follows itssurface. Omitted, the tag renders exactly as before.
--tree-shadow-lg/--tree-shadow-xl, plus--tree-shadow-accent— the elevation tinted by the accent in scope, which isthe rule 12 landing pages had written by hand.
Existing components
TColorSwatchgainsreadonly(TREEUX-038): colour as evidence ratherthan as a choice — inert
role="img"chips with aborder-strongoutline, soa chip that IS a background colour stays visible in its own theme.
TTaggainsremoveLabel, so the remove button's accessible name can belocalized instead of being hardcoded English.
TTagInputforwards it to everychip.
@treeui/vue@0.27.0
Minor Changes
ddbbf86: Two chat-composer fixes (TREEUX-020, TREEUX-023):
TTextareagainsmaxRows— a ceiling forautoGrow, in lines. Withoutit the field grows forever and a composer eventually pushes the conversation
off screen; at the cap it starts scrolling internally instead, with the
component's border and focus ring standing still. The cap is measured from the
field's resolved line-height plus its vertical padding and border, so it
follows
sizeand the theme.autoGrownow also sizes on mount and worksuncontrolled.
TAccordiongainsvariant="quiet"andrail— the weight of a noteattached to one item rather than of a document section: the trigger sizes to
its content instead of spanning the reading column, the item rule disappears,
and the panel shrinks and can indent behind a vertical rule. Styling only —
the keyboard model,
aria-expanded/aria-controlsand the 44×44 hit targetare unchanged. It looks small; it is not small to hit.
ddbbf86: Closes the marketing surface — the batch of primitives a public site and 13
product landing pages were each re-solving in local CSS (TREEUX-027, 030–034,
036, 038).
New components
TSection(TREEUX-030) — page section with responsive vertical rhythm(
rhythm="tight|default|loose") and an optional full-bleed band(
banded), with the reading column delegated to a nestedTContainer.The band is full-bleed because the section spans its parent and carries the
background itself: no
100vw, no negative margin, so it cannot overflow oncethe platform paints a classic scrollbar.
THero(TREEUX-031) — the one section with a layer behind the copy. Thelibrary owns the box (stacking context, the clip that keeps an oversized
decoration inside the band, hero-scale padding) and guarantees the
#backdroplayer is
pointer-events: none, so a click on the CTA never dies in theornament.
glowdraws the one part of a hero backdrop that is 100% tokens.TPageSurface(TREEUX-032) — the page-level surface for screens with noapp shell. Zeroes the user-agent body margin (previously only handled for
body:has(.t-app-shell)) and, withoverlay, takes the viewport and becomesthe scroll host with contained scroll chaining, so a landing rendered over a
mounted SPA stops dragging the screen behind it.
TShow/THide(TREEUX-033) — breakpoint visibility in pure CSS(
at/below, combinable into a band). Both branches render, so apre-rendered page keeps every link; a
matchMediacomposable cannot, becausethere is no
windowwhile the HTML is written. It is also something aconsumer cannot write:
@media (min-width: var(--tree-breakpoint-lg))isinvalid, so the pixel gets hardcoded per app. A unit test fails the build if
the stylesheet literals drift from
--tree-breakpoint-*.TSkipLink(TREEUX-036) — the one control that must be hidden and visibleat the same time. It parks off-screen and returns on
:focus-visible, and itprepares its own target (
tabindex="-1"plus the ring suppression), whichretires the loose
#content:focus { outline: none }from consumerstylesheets.
TAppShellgainsskipLinkLabelto close the same hole forauthenticated screens — opt-in only because the label is product copy.
Accent axis and elevation (TREEUX-034 / TREEUX-027)
@treeui/tokensgains a secondary brand accent with a measured light/darkpair (
--tree-color-accent-primary/-hover/-soft/-contrast), AA onevery background and on its own soft tint.
accent.test.tsholds that bar.TSection/THero/TPageSurfacetakeaccent— a closed axis(
brand | neutral | success | warning | danger | info) declared once andinherited by the whole subtree. Never a free colour, the same policy
TLinkTile'stonestates.TTaggains the matchingtoneaxis(
neutral | brand | accent | success | warning | danger | info), orthogonal tovariant.tone="accent"reads the accent in scope, so a badge follows itssurface. Omitted, the tag renders exactly as before.
--tree-shadow-lg/--tree-shadow-xl, plus--tree-shadow-accent— the elevation tinted by the accent in scope, which isthe rule 12 landing pages had written by hand.
Existing components
TColorSwatchgainsreadonly(TREEUX-038): colour as evidence ratherthan as a choice — inert
role="img"chips with aborder-strongoutline, soa chip that IS a background colour stays visible in its own theme.
TTaggainsremoveLabel, so the remove button's accessible name can belocalized instead of being hardcoded English.
TTagInputforwards it to everychip.
Patch Changes
@treeui/react@0.3.4
Patch Changes