LibreChat/scripts
Marco Beretta 3d240e2b8a
🧪 fix: Close css-colors Triplet and Disabled-Recipe Rule Gaps (#17358)
* fix: Close Gaps in the css-colors Triplet Check and the Disabled-Recipe Rule

The triplet check now reads angle channels, and the disabled-recipe rule accepts spelled recipes under the same or fewer enclosing variants, resolves cva and constant class strings, and handles spread strings, per-dim primitive coverage and implied selectors.

* fix: Read Recipe Markers Anywhere in the Variant Stack and Keep Object Spreads

* test: Cover Spelled-Out Disabled Recipes in the Design Lint Scenario

* fix: Keep Stateful Arbitrary Disabled Selectors Unrestored and Order Arbitrary Enclosing Variants

* fix: Order Enclosing Variants Whenever an Arbitrary Selector Is Present

* fix: Pin the Disabled Marker Position When Arbitrary Variants Enclose a Dim

* fix: Order Child Selector Variants Like Arbitrary Ones

* fix: Skip Unplaced Disabled Variants and Read Math Functions by Token

The disabled-recipe rule now skips utilities under arbitrary variants it cannot place instead of guessing how a recipe orders against them, and unwraps TypeScript assertions on spread and class-map recipes. css-colors classifies any innermost math function by its tokens, so rounding strategies and constants no longer hide an angle-led triplet.

* fix: Read Any Fixed Math Function as a css-colors Channel

A math function over numbers and angles is a fixed channel in any position, so unit cancellation (calc(90deg / 1deg)) needs no unit algebra, and trigonometric functions and sign are fixed whatever their arguments (atan2(1px, 1px), sign(90deg)).

* fix: Unwrap Constant Class Strings and Honor Class-Map Overrides

A const initializer under as const or satisfies is read like a plain string, and a class-map recipe entry no longer counts when a later spread or the same key can overwrite it.

* fix: Keep Angle Math Results and Disjoint Spreads Out of Overrides

An angle-valued math result stays an angle, so it reads only as a leading hue, and a later object-literal spread invalidates a class-map recipe only when it sets the same key.

* fix: Place Valued data-disabled Self Selectors in disabled-recipe
2026-10-24 15:09:30 +02:00
..
activity-labels
eslint 🧪 fix: Close css-colors Triplet and Disabled-Recipe Rule Gaps (#17358) 2026-10-24 15:09:30 +02:00
clickui.mts 📌 chore: Re-Pin the ClickHouse Theme to Click UI v0.15.0 (#17356) 2026-10-22 22:34:01 +02:00
css-colors.mts 🧪 fix: Close css-colors Triplet and Disabled-Recipe Rule Gaps (#17358) 2026-10-24 15:09:30 +02:00
css-colors.test.mts 🧪 fix: Close css-colors Triplet and Disabled-Recipe Rule Gaps (#17358) 2026-10-24 15:09:30 +02:00
diagnostics.mts 🧪 test: Spec the First-Sentence Diagnostic Comparison in the Suppression Runner (#17165) 2026-10-16 22:03:54 +02:00
diagnostics.test.mts 🧪 test: Spec the First-Sentence Diagnostic Comparison in the Suppression Runner (#17165) 2026-10-16 22:03:54 +02:00
i18n.mts fix: Verify Sidebar Status and Project Name Loading 2026-10-03 17:56:52 -04:00
i18n.test.mts fix: Verify Sidebar Status and Project Name Loading 2026-10-03 17:56:52 -04:00
merge-locize-download.mjs 🌉 fix: Preserve Missing Locize Translations (#14917) 2026-08-17 02:20:25 -04:00
redis-mode.sh
sort-imports.mts 📦 feat: Scaffold the @librechat/chat Package (#16964) 2026-10-10 21:00:10 +02:00
static-checks.mts 🧪 test: Spec the First-Sentence Diagnostic Comparison in the Suppression Runner (#17165) 2026-10-16 22:03:54 +02:00
typecheck.mts 🥟 ci: Type-Check Workspaces with bun check (#17009) 2026-10-12 06:40:07 -04:00
validate-locize-download.mjs 🛡️ fix: Validate Translation Contracts Against English (#14914) 2026-08-16 22:55:05 -04:00