@typestyles/eslint-plugin
packages/eslint-plugin/CHANGELOG.md
0.5.0
Minor Changes
- #295
e900eb9Thanks @dbanksdesign! - Support ESLint 10 (the peer range is now^8.57.0 || ^9.0.0 || ^10.0.0). The test suite runs against ESLint 10.
0.4.5
Patch Changes
#287
7979a45Thanks @dbanksdesign! - Build with tsdown (via Vite+) instead of tsup. Public exports and types are unchanged; the output no longer includes JSDoc comments, and@typestyles/nextnow shares code between its entry points instead of duplicating it.Updated dependencies [
7979a45]:- @typestyles/cli@0.3.5
0.4.4
Patch Changes
#282
612537eThanks @dbanksdesign! - Point the repository metadata at the phthalo-dev GitHub organization.Updated dependencies [
612537e]:- @typestyles/cli@0.3.4
0.4.3
Patch Changes
#276
31872bcThanks @dbanksdesign! - Breaking:recipe()andoverride()take one object. Positional calls (recipe(name, config),recipe(name, definition, callback), andoverride(component, config, options)) are removed. Declareslots, variant axes, andvarson that object and put option styles instyles, which is checked against those fields. Every call returns{ className, attrs, props }.Updated dependencies [
31872bc]:- @typestyles/cli@0.3.3
0.4.2
Patch Changes
0.4.1
Patch Changes
0.4.0
Minor Changes
- #253
dda8658Thanks @dbanksdesign! - Public API redesign:createTypeStylesreturns a flat{ style, hash, recipe, tokens, global, … }surface; nestedlayers: { order, token, style, global? };global.rule/global.rules; remove rootstyles/tokens/globalsingletons. Migrate codemod emitsstyle/recipeviacreateTypeStyles. Cache-bust extract module imports so Next route CSS re-runs register styles.
0.3.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).Updated dependencies [
35e02a7]:- @typestyles/cli@0.2.1
0.3.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).
Patch Changes
0.2.0
Minor Changes
#96
9f3f9a0Thanks @dbanksdesign! - Ship ESLint plugin MVP (P2.11) with rules for shorthand/longhand conflicts, invalid unitless CSS values, and duplicate TypeStyles namespace literals.#108
3e03d35Thanks @dbanksdesign! - Addno-default-scope-in-packageESLint rule andpackageconfig preset for library authors. Add "Publishing Packages" docs guide covering scoped factories, naming mode selection, and ESLint enforcement.
Patch Changes
- #98
e17b8a0Thanks @dbanksdesign! - Add npm landing-page READMEs for every published package, an examples index with contributor guidance, and doc-to-example cross-links (P2.13).