Version Packages - #1269
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
🧪 Storybook is successfully deployed!
|
Contributor
🏋️ Size limit report
Click here if you want to find out what is changed in this build |
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
@cube-dev/ui-kit@0.150.0
Minor Changes
#1267
f9d7ebdcThanks @tenphi! - Adds2,s3, ands4monospace typography presets for code and snippet text (sized to matcht2–t4, using--font-mono).PrismCodeandCopySnippetnow uses3by default.#1267
f9d7ebdcThanks @tenphi! - Update@tenphi/glaze0.13.0 → 1.2.0 and migrate the palette from thelightnessaxis to the contrast-shapedtoneaxis.This changes resolved colors. Glaze 1.x removed
lightnessas a color-def input, so the upgrade and the axis migration are the same change — all 54 palette declarations are re-authored againsttone. Becausetoneis contrast-shaped rather than lightness-shaped, tokens do not land on their previous values. Measured per-channel RGB delta against the previous release, across every token in all four scheme variants: core surfaces/text mean ~13 (max 51), accent mean ~13 (max 48). Seed hue and saturation are unchanged, so hue relationships and relative ramps are preserved — the shift is in tone placement, not in the palette's structure.Also newly available from Glaze 1.2.0:
tone: 'max'/'min'on colors that declare abase(the extreme is no longer re-mapped through the dark tone window, which used to compress the base-to-extreme span and lower contrast in dark), anddarkHue/darkSaturationfor seeding the dark schemes independently of the flatdarkDesaturationhaircut.#1267
f9d7ebdcThanks @tenphi! - Defer Glaze color token resolution until first access (getPaletteTokens/getColorTokens/getTokens) so host apps can callglaze.configure(...)after importing the kit and still affect UI Kit tokens. ExistingPALETTE_TOKENS/COLOR_TOKENS/TOKENSexports remain as lazy proxies.Patch Changes
#1267
f9d7ebdcThanks @tenphi! - Fix primary (and other solid accent) disabled button labels —#*-accent-disabled-surface-textrides the extreme away from its disabled chip (tone: 'max'), so the label stays deliberately faint (~cr 1.7, reading as disabled rather than as live text) while keeping a consistent separation from the chip in light, dark, and high-contrast schemes.Previously this was a contrast-driven relative step (
lightness: '+1'withcontrast: 1.51). Authoring it as an extreme is only viable from@tenphi/glaze1.2.0, which no longer re-maps a based extreme through the dark tone window — that compressed the base-to-extreme span and lowered the dark label's contrast.#1267
f9d7ebdcThanks @tenphi! - Keep#pinkresolving. The legacy alias was dropped whiletasty.config.ts,Usage.docs.mdxand thepinkkey in the Tasty token augmentation all still advertised it, so consumer styles using it would have silently stopped resolving with types still reporting the token as valid. Restored as the same scheme-static literal.Fix
CopySnippet'sserifvariant rendering monospace. Moving the code element to thes3/t3presets lost the font family:s3carriesfontFamily: var(--font-mono)butt3sets no family at all, soseriffell back to the<code>element's UA monospace default. The family is explicit again — monospace by default, the design system's default stack underserif.#1267
f9d7ebdcThanks @tenphi! - Ensure HTML syntax highlighting works inPrismCodeandCopySnippet, including JavaScript inside<script>tags. Differentiate tag names, attributes, values, and punctuation so markup is not a single color wash.#1267
f9d7ebdcThanks @tenphi! - Selected outline/clear Item labels now use the softer#primary-accent-text-softat rest and intensify to#primary-accent-texton hover (mirroring links). Both brand-text tokens are solved for AA against the selected fill, keeping labels readable and saturated.Note
Medium Risk
The diff is mechanical, but the release bundles a Glaze major bump and palette re-tokenization that changes resolved colors app-wide, plus deferred token resolution behavior hosts may rely on.
Overview
Release packaging only: bumps
package.jsonfrom0.149.2to0.150.0, removes the pending.changeset/*.mdfiles, and adds the 0.150.0 section toCHANGELOG.md(no application source changes in this diff).What ships in 0.150.0 (from #1267): Glaze 0.13 → 1.2 with the palette re-authored on the
toneaxis (resolved colors shift); lazy Glaze token resolution viagetPaletteTokens/getColorTokens/getTokensand lazyPALETTE_TOKENS/COLOR_TOKENS/TOKENSproxies; monospace typography presetss2–s4withPrismCode/CopySnippetdefaulting tos3; plus patches for disabled accent button labels,#pinkalias,CopySnippetseriffont, HTML highlighting in snippets, and softer selected outline Item label colors.Reviewed by Cursor Bugbot for commit af34b96. Bugbot is set up for automated code reviews on this repo. Configure here.