@typestyles/cli
packages/cli/CHANGELOG.md
0.2.1
Patch Changes
#141
35e02a7Thanks @dbanksdesign! - Breaking: semantic component class names now useblock,block--dimension-option, andblock__slotforms instead of hyphen semantic names. Compound variants now emit chained modifier selectors instead of*-compound-Nclasses. Attribute mode now kebab-casesdata-*names and supports slots, returning per-slot{ className, attrs, props }results.Upgrade notes: regenerate public-classname snapshots; update hand-written CSS / tests that targeted
*-baseor*-compound-N. Prefer distinct namespaces forstyles.classandstyles.componentwhen they would share a base class string — dev builds warn on that collision. See docs migration guide (0.10 semantic naming).
0.2.0
Minor Changes
#119
10edb85Thanks @dbanksdesign! - Addstyles.scope()for proximity-correct nested theme overrides via CSS@scope(P5.3).Introduce
@typestyles/cli, a new package with thetypestylesbinary and subcommands. The first command istypestyles snapshot, which scans semanticstyles.class/styles.componentclass names and writes.typestyles-public-classnames.jsonfor semver guarding. Snapshot logic and heavy deps (typescript,fast-glob) live in this package so the coretypestylesruntime stays lean.Also ships the opt-in
@typestyles/no-removed-public-classnameESLint rule (consumes@typestyles/cliprogrammatically).