@typestyles/rollup
packages/rollup/CHANGELOG.md
0.4.0
Minor Changes
#77
28a3f82Thanks @dbanksdesign! - Breaking: Duplicate logicalstyles.component/styles.classnamespaces across different modules are now build errors (viathis.error) instead of Rollup warnings, so overlapping registrations fail fast duringvite build/ Rollup.The
warnDuplicatesoption still defaults totrue; setwarnDuplicates: falseto skip the check. Namespace extraction now includesstyles.class('…')calls so they participate in the same cross-module duplicate detection asstyles.component.
Patch Changes
- Updated dependencies [
8bf64b0,d8149d6]:- @typestyles/build-runner@0.4.0
0.3.0
Minor Changes
- #49: Add ESLint configuration across all packages, examples, and docs. Create shared
eslint.base.jsconfig with TypeScript rules and add lint scripts to all package.json files. Update CI workflow to run lint via turbo.
Patch Changes
#50: Add lint-staged for prettier formatting on pre-commit hook and format entire codebase
#54: Unify multi-variant styling on
styles.componentwith a CVA-style return value: call it for a composed class string (base always applied) or destructure named class strings. Supports dimensioned variants (variants,compoundVariants,defaultVariants), flat variant maps, and slot-based configs.Remove
styles.createfrom the publicstylesAPI; usestyles.componentinstead.Update Vite and Rollup static namespace extraction to match
styles.component(...)only (no longer scansstyles.create(...)).Updated dependencies [#49]
Updated dependencies [#50]
- @typestyles/build-runner@0.3.0
0.2.0
Minor Changes
- #25: Updating bundler integrations and adding examples
Patch Changes
- Updated dependencies [#25]
- @typestyles/build-runner@0.2.0