Repository navigation
chore: release - #229
Merged
Merged
chore: release#229
Conversation
dgesteves-release
Bot
force-pushed
the
changeset-release/main
branch
from
October 22, 2026 13:20
ff41de7 to
d99e673
Compare
dgesteves-release
Bot
force-pushed
the
changeset-release/main
branch
6 times, most recently
from
October 23, 2026 20:56
9950464 to
8337ee7
Compare
dgesteves-release
Bot
force-pushed
the
changeset-release/main
branch
from
October 23, 2026 21:38
8337ee7 to
058c127
Compare
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
onsystem@0.9.1
Patch Changes
#234
643bc6fThanks @Aaqibhafeezkhan! - Explain when a project has no design-system components available.#235
65f91f5Thanks @Golden007-prog! - Explain a failed warning cap in every CLI output format: a GitHub error annotation, or a message on stderr that leaves JSON and SARIF output parseable.#232
a965061- A long length or color no longer slows onsystem down. A class with an arbitrary length thousands of digits long, such asp-[999…9x], took a second to check at 20,000 characters and about 25 seconds at 100,000, incheck, the MCPcheck_uitool, the ESLint plugin and the GitHub Action: the pattern that reads a length tried every way to split the digits. It now takes a few milliseconds. The same goes for token values: a length, avar()with a fallback, or bare HSL or RGB channels in the design system's stylesheets or Tailwind config, and typography, spacing and radius values inonsystem export. Avar()whose fallback holdscalc()or anothervar()now has the fallback's value, insidecalc()too:calc(2 * var(--gap, var(--space-2)))is read as a length, andcalc(var(--gap, var(--space-2)) + 1px)no longer drops the+ 1px.onsystem export --format dtcgkeeps a token whose path has a__proto__part, such as--color-__proto__, under a"__proto__"key of its group. It was left out, and a name such as--__proto__.pollutedadded apollutedproperty to every object in the process that ran the export.#201
ee231a8- Tokens are read the way the stylesheets and the Tailwind config apply them, in four cases where they were not.@themecolor that wraps a variable of bare channels, as shadcn/ui's Tailwind v4 codemod leaves a v3 theme (--color-destructive: hsl(var(--destructive))with--destructive: 0 84.2% 60.2%), is the tokendestructivewith its class. The class and the color were on two tokens, so every fix was an arbitrary value:text-red-500was fixed totext-[hsl(var(--destructive))], and now totext-destructive.rgb(var(--x))over RGB channels counts too. An@themevalue that names another variable takes its color: with--color-brand: var(--color-blue-600),bg-blue-600suggestsbg-brand.@importoverrides an earlier one, and the importing stylesheet's own rules override both. With@import "./base.css"; @import "./brand.css";,--primarycame from base.css, sobg-[[#171717](https://github.com/dgesteves/onsystem/issues/171717)]was fixed tobg-primary, which renders brand.css's color.borderRadius(as shadcn/ui's does, withlg,mdandsm), or sets none, keeps Tailwind's default scale:rounded-[12px]is fixed torounded-xl, notrounded-lg(8px), androunded-b-[24px]torounded-b-3xl, notrounded-b-full. Atheme.borderRadiusoutsideextendreplaces the scale, unless it spreadsdefaultTheme.borderRadiusinto it. No default step is added when the scale cannot be read: a step of the config has no known size, because no stylesheet read sets the variable it uses (var(--radius)); the config takes a preset, a theme or the whole config from an installed package (presets: [require("@acme/preset")],theme: require("@acme/theme"),module.exports = require("@acme/tailwind-config"),{ ...base, content }), which may replace the scale; orborderRadiusis set from a variable, a function or a spread other thandefaultTheme.borderRadius. Tailwind's own modules (tailwindcss/defaultConfig) do not count. Athemethat is a module of the project, or spreads one (theme: require("./theme"),theme: { ...require("./theme") }), replaces the scale with its ownborderRadius, andpresets: []leaves out Tailwind's default config, so neither keeps the default steps unless atheme.borderRadiusspreads them back in. Nor is one added in a Tailwind v4 project that reads the config through@config, which has v4's scale. In a Tailwind v3 project with no radius tokens of its own, such as Dub,no-hardcoded-radiusnow runs against that scale, socheckcan report warnings it did not before.components.jsonnames a stylesheet in another package, as cal.com's names coss/ui's, zero config also reads the app's own stylesheet first (styles/globals.css,app/globals.cssand the others it looks for withoutcomponents.json), and the named one through it when the app's stylesheet imports it. cal.com's own tokens (text-subtle,bg-emphasis,rounded-cal) were not read, and color fixes named coss/ui's tokens instead. When the app's stylesheet imports Tailwind v4, the spacing and radius rules use Tailwind's scale, as in any Tailwind v4 app.