Plumeria 21.1
Plumeria v21.1 makes sort-properties read keys from createStatic, so it agrees with no-order-dependent-overlap on where a breakpoint goes.
1. createStatic keys in sort-properties
sort-properties did not read a computed key such as [media.desktop]. It treated the key as one without a name and placed it after the properties but before the pseudo-classes and the @media keys. no-order-dependent-overlap reads the same key as the query it holds, so the two rules could ask for opposite orders:
// tokens.ts
export const media = css.createStatic({
desktop: '@media (min-width: 992px)',
});const styles = css.create({
grid: {
display: 'grid',
'@media (min-width: 640px)': { gap: 8 },
[media.desktop]: { gap: 16 },
},
});Written this way, sort-properties asked for [media.desktop] before the 640px query and reported it as Property "". Written the other way, no-order-dependent-overlap reported the 992px query for coming before the broader one. Neither order passed, and the lint that runs in the build stopped either way.
sort-properties now resolves the key, including one imported from another module, and sorts [media.desktop] as @media (min-width: 992px). It goes with the other at-rules after the pseudo-classes, in the order it is written, so the example above passes both rules.
Upgrading
A createStatic key written before a pseudo-class, such as [media.desktop] before ':hover', is now reported. The lint that runs in the build stops on warnings, so run the fix once after upgrading:
pnpm up "@plumeria/*" --latest
npx -p @plumeria/eslint-plugin plumeria-lint --fixThe fix only moves keys inside a style object, and the generated CSS stays the same.
Release notes
21.1.8 (Oct 28, 2026)
- Update README.md
- Update: Describe Plumeria as a React styling library for reliable interfaces in package.json
21.1.7 (Oct 28, 2026)
- Fix:
no-unused-keystreats any non-literal bracket key, such asstyles[item.kind], as dynamic access instead of reporting every key as unused - Fix:
no-unused-keysrecognizes dynamic access that appears before thecss.createcall, such as inside a hoisted function
21.1.6 (Oct 26, 2026)
- Fix: a dynamic style parameter inside a color, filter or scale function, such as
hsl(),brightness()orscaleX(), no longer gets apxunit
21.1.5 (Oct 26, 2026)
- Fix: write
plumeria.d.tsintosrc/when the project has one, so a tsconfig that includes onlysrc, such as the Vite React template, reads theclassStyledeclaration - Fix:
expand-border-shorthandswrites the longhands in the ordersort-propertiesexpects, so a singleoxlint --fixpass settles both rules - Fix:
sort-propertieskeeps the trailing comma and moves each property's comments with it when it reorders an object
21.1.4 (Oct 26, 2026)
- Perf: Check the
classStyleprop against a lighter type and map created styles without a conditional wrapper, so type checking spends about 12% less time on files with many styles
21.1.3 (Oct 25, 2026)
- Update: Move repository links to the zss-labs organization
21.1.2 (Oct 23, 2026)
- Fix: a received style can be composed onto a component the build never scans, such as a
@plumeria/headlessuipart, withclassStyle={[styles.base, classStyle]}instead of failing the build - Fix: passing a received style to a component that declares the style prop fails the build at that attribute, even when the same style is also applied to an element, instead of the style being silently dropped
- Fix:
no-style-prop-relayreports a received style passed to a component that declares the style prop, the same case the build stops at, including a component imported from another file - Fix:
no-order-dependent-overlapno longer reports selectors that cannot match at the same time: the same attribute with different values,:not([attr])with[attr=...],:user-validwith:user-invalid,:playingwith:paused,:dir(ltr)with:dir(rtl), and odd with even:nth-*() - Fix:
no-style-prop-relayreports a file the editor opens under a path that differs from the real one, such as a different letter case on macOS - Update: Next.js in
@plumeria/next-plugindevDependencies to 16.4.2
21.1.1 (Oct 22, 2026)
- Fix: the transform scans the project from the bundler root (Jest
rootDirin swc-jest) instead of the process working directory, so a build started from a monorepo root no longer rescans every workspace on each file
21.1.0 (Oct 20, 2026)
- Update:
sort-propertiesreads a computed key fromcss.createStatic, such as[media.desktop], as the at-rule it holds and sorts it with the other at-rules, after the pseudo-classes, so it no longer conflicts withno-order-dependent-overlap;plumeria-lint --fixmoves the keys already written

