• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

msabitov / effcss
100%

Build:
DEFAULT BRANCH: master
Repo Added 08 Jul 2026 03:43PM UTC
Files 1
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH master
branch: master
CHANGE BRANCH
x
Reset
  • master

30 Oct 2026 01:49PM UTC coverage: 99.589% (+0.3%) from 99.274%
#17

push

msabitov
v6.0.0:

Added:
- `getContexts()` has been added, returning all active isolated contexts keyed by their key
- each `context` now have lifecycle controls, and `Symbol.dispose` is wired to `dispose` on every context for `using` support
- selector modifiers (postfixes) on `className`/`id`: pseudo-classes, at-rules, arbitrary attributes
- `id` and `className` now accept a plain object (without `EffCSS` tokens inside) or a function (lazy, may reference tokens)
- `style` has been added, it accepts both a function `() => ({...})` and a plain object

Changed:
- fully lazy model: styles materialize only when a resolver is used (called or stringified); `serialize()` returns only already-created styles and does not materialize
- `configure` has been replaced with `setConfig`/`getConfig` (fixes options before the first use; returns `false` if the provider already exists)
- token scheme unified to `key_type-counter`; `key` is required for `context`/`setConfig`
- `sideEffects: false` added to `package.json` for safe tree-shaking
- `variable.set(value)` uses closure-based updates instead of CSS rule parsing

Removed:
- `classNames`, `attributes`, `customStyles` and their `lazy*` variants → use `className`/`id` modifiers and `style`
- `update` → use `varResolver.set(value)` directly
- `stylesheet` and all `*Stylesheet` public accessors → use `serialize()` / `clear()`
- `subscribe` (and the event system) → no replacement
- `serializeMeta`, `serverMeta` and meta reading from `<script type="application/json">` → no replacement
- `serialize(resolver)` → use `serialize()` (resolvers share stylesheets)
- `configure` → use `setConfig`/`getConfig` (must be called before the first styles usage)
- `lazy`, `minify`, `emulate` options → no replacement (lazy is the default)
- multiple at-rules (`variables`, `animations`, `containers`, `fonts`) → removed; `layers([...])` remains as the only batch at-rule

139 of 141 branches covered (98.58%)

Branch coverage included in aggregate %.

295 of 295 new or added lines in 1 file covered. (100.0%)

346 of 346 relevant lines covered (100.0%)

67.93 hits per line

Relevant lines Covered
Build:
Build:
346 RELEVANT LINES 346 COVERED LINES
67.93 HITS PER LINE
Source Files on master
  • Tree
  • List 1
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
#17 master v6.0.0: Added: - `getContexts()` has been added, returning all active isolated contexts keyed by their key - each `context` now have lifecycle controls, and `Symbol.dispose` is wired to `dispose` on every context for `using` support - selector mo... push 30 Oct 2026 02:01PM UTC msabitov
99.59
#16 master v5.8.0: Added: - `context` utility have been added, allowing you to create styles in a separate namespace (tests added) Changed: - style provider class now use instance methods instead of static ones to create styles, it helps to maintain multi-... push 23 Oct 2026 02:50PM UTC msabitov
99.27
#15 master v5.7.1: Changed: - methods for creating single at-rules have been unified - simplified the code for the variable's `set()` and `get()` methods - now they use closure instead of CSS rule parsing - tokens creation has been moved to separate functions push 16 Oct 2026 03:36PM UTC msabitov
99.25
#14 master v5.7.0: Added: - `id` and `lazyId` utilities have been added, allowing you to create individual rules with id selector (types and tests added) Changed: - eliminated сode duplication in the anonymous rules handlers push 09 Oct 2026 12:44PM UTC msabitov
99.0
#13 master v5.6.1: Changed: - code is formatted using Prettier - minor fixes for code duplication - README edited push 02 Oct 2026 03:37PM UTC msabitov
98.81
#12 master v5.5.3: Added: - `EffCSS` namespace and the overridable `EffCSS.Properties` interface: a single place to type CSS properties across all utilities. By default it stays permissive (previous behavior), but extending `EffCSS.Properties` (e.g. via `cs... push 18 Sep 2026 01:24PM UTC msabitov
98.47
#11 master v5.5.2: Added: - added tests for style hydration in lazy mode Fixed: - fixed a bug with the use of global at-rules within a scope in lazy mode, which could result in at-rules being created inside that scope (tests added) - fixed a bug where the ... push 11 Sep 2026 02:44PM UTC msabitov
98.47
#10 master v5.5.1: Added: - added tests for using utils within the scope Fixed: - fixed a bug with full ignoring falsy values ​​in variables - fixed a bug that did not reset the scope when there was a CSS generation error Changed: - layer tests have been ... push 04 Sep 2026 08:41AM UTC msabitov
98.19
#9 master v5.5.0: Added: - lazy CSS generation mode added, it can be enabled/disabled via `configure` and allows to genereate CSS rules on the first use (tests added) - `lazyClassName` and `lazyAttribute` utils for lazy generation of single rules - the syn... push 28 Aug 2026 03:25PM UTC msabitov
97.89
#8 master v5.4.5: Added: - added hydration tests for stylesheets without meta Fixed: - fixed a bug with creating objects using the `attribute` function - previously, selectors used one attribute and erased each other with spreading syntax; now attributes ... push 21 Aug 2026 01:49PM UTC msabitov
98.32
See All Builds (17)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc