cssints 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{author-types-C1AhsnrT.d.mts → author-types-D9IjEXwn.d.mts} +0 -2
- package/dist/check.d.mts +1 -3
- package/dist/check.mjs +4 -5
- package/dist/clay-types.d.mts +87 -3
- package/dist/clay.d.mts +2 -3
- package/dist/clay.mjs +152 -12
- package/dist/{color-BYIxVLlS.mjs → color-BB8ipynT.mjs} +1 -2
- package/dist/color-DNL0XuEi.mjs +1 -0
- package/dist/{contrast-DLi4pp25.mjs → contrast-Dw6gXoO3.mjs} +4 -5
- package/dist/derived.d.mts +0 -2
- package/dist/derived.mjs +1 -2
- package/dist/{devtools-link-D2YxsJKZ.mjs → devtools-link-DN91p7g5.mjs} +1 -2
- package/dist/devtools-link.d.mts +1 -3
- package/dist/devtools-link.mjs +1 -2
- package/dist/{errors-D4ZbcwRo.d.mts → errors-jNEiB3ye.d.mts} +0 -2
- package/dist/{frame-BoBKjgBB.mjs → frame-DqwCA4OH.mjs} +1 -2
- package/dist/frame.d.mts +1 -3
- package/dist/frame.mjs +1 -2
- package/dist/group-common-CTUs5yym.d.mts +1 -0
- package/dist/{group-types-Dn9CIR8J.d.mts → group-types-BBaZ8dwy.d.mts} +1 -3
- package/dist/groups/baseline-2015/with-downstream.d.mts +3 -5
- package/dist/groups/baseline-2015.d.mts +3 -5
- package/dist/groups/baseline-2016/with-downstream.d.mts +3 -5
- package/dist/groups/baseline-2016.d.mts +3 -5
- package/dist/groups/baseline-2017/with-downstream.d.mts +3 -5
- package/dist/groups/baseline-2017.d.mts +3 -5
- package/dist/groups/baseline-2018/with-downstream.d.mts +3 -5
- package/dist/groups/baseline-2018.d.mts +3 -5
- package/dist/groups/baseline-2019/with-downstream.d.mts +3 -5
- package/dist/groups/baseline-2019.d.mts +3 -5
- package/dist/groups/baseline-2020/with-downstream.d.mts +3 -5
- package/dist/groups/baseline-2020.d.mts +3 -5
- package/dist/groups/baseline-2021/with-downstream.d.mts +3 -5
- package/dist/groups/baseline-2021.d.mts +3 -5
- package/dist/groups/baseline-2022/with-downstream.d.mts +3 -5
- package/dist/groups/baseline-2022.d.mts +3 -5
- package/dist/groups/baseline-2023/with-downstream.d.mts +3 -5
- package/dist/groups/baseline-2023.d.mts +3 -5
- package/dist/groups/baseline-2024/with-downstream.d.mts +3 -5
- package/dist/groups/baseline-2024.d.mts +3 -5
- package/dist/groups/baseline-2025/with-downstream.d.mts +3 -5
- package/dist/groups/baseline-2025.d.mts +3 -5
- package/dist/groups/baseline-2026/with-downstream.d.mts +1 -1
- package/dist/groups/baseline-2026.d.mts +1 -1
- package/dist/groups/compositing-2.d.mts +3 -5
- package/dist/groups/css-align-3.d.mts +3 -5
- package/dist/groups/css-anchor-position-1.d.mts +3 -5
- package/dist/groups/css-anchor-position-2.d.mts +3 -5
- package/dist/groups/css-animations-1.d.mts +3 -5
- package/dist/groups/css-animations-2.d.mts +3 -5
- package/dist/groups/css-backgrounds-3.d.mts +3 -5
- package/dist/groups/css-backgrounds-4.d.mts +3 -5
- package/dist/groups/css-borders-4.d.mts +3 -5
- package/dist/groups/css-box-4.d.mts +3 -5
- package/dist/groups/css-break-4.d.mts +3 -5
- package/dist/groups/css-cascade-5.d.mts +3 -5
- package/dist/groups/css-cascade-6.d.mts +3 -5
- package/dist/groups/css-color-4.d.mts +3 -5
- package/dist/groups/css-color-5.d.mts +3 -5
- package/dist/groups/css-color-6.d.mts +3 -5
- package/dist/groups/css-color-adjust-1.d.mts +3 -5
- package/dist/groups/css-color-hdr-1.d.mts +3 -5
- package/dist/groups/css-conditional-3.d.mts +3 -5
- package/dist/groups/css-conditional-4.d.mts +3 -5
- package/dist/groups/css-conditional-5.d.mts +3 -5
- package/dist/groups/css-contain-2.d.mts +3 -5
- package/dist/groups/css-content-3.d.mts +3 -5
- package/dist/groups/css-counter-styles-3.d.mts +3 -5
- package/dist/groups/css-display-4.d.mts +3 -5
- package/dist/groups/css-easing-2.d.mts +3 -5
- package/dist/groups/css-env-1.d.mts +3 -5
- package/dist/groups/css-flexbox-1.d.mts +3 -5
- package/dist/groups/css-fonts-4.d.mts +3 -5
- package/dist/groups/css-fonts-5.d.mts +3 -5
- package/dist/groups/css-forms-1.d.mts +3 -5
- package/dist/groups/css-gaps-1.d.mts +3 -5
- package/dist/groups/css-gcpm-3.d.mts +3 -5
- package/dist/groups/css-gcpm-4.d.mts +3 -5
- package/dist/groups/css-grid-2.d.mts +3 -5
- package/dist/groups/css-grid-3.d.mts +3 -5
- package/dist/groups/css-images-3.d.mts +3 -5
- package/dist/groups/css-images-4.d.mts +3 -5
- package/dist/groups/css-images-5.d.mts +3 -5
- package/dist/groups/css-inline-3.d.mts +3 -5
- package/dist/groups/css-lists-3.d.mts +3 -5
- package/dist/groups/css-logical-1.d.mts +3 -5
- package/dist/groups/css-masking-1.d.mts +3 -5
- package/dist/groups/css-multicol-2.d.mts +3 -5
- package/dist/groups/css-overflow-3.d.mts +3 -5
- package/dist/groups/css-overflow-4.d.mts +3 -5
- package/dist/groups/css-overflow-5.d.mts +3 -5
- package/dist/groups/css-overscroll-1.d.mts +3 -5
- package/dist/groups/css-page-3.d.mts +3 -5
- package/dist/groups/css-page-floats-3.d.mts +3 -5
- package/dist/groups/css-position-3.d.mts +3 -5
- package/dist/groups/css-position-4.d.mts +3 -5
- package/dist/groups/css-rhythm-1.d.mts +3 -5
- package/dist/groups/css-round-display-1.d.mts +3 -5
- package/dist/groups/css-ruby-1.d.mts +3 -5
- package/dist/groups/css-scroll-anchoring-1.d.mts +3 -5
- package/dist/groups/css-scroll-snap-1.d.mts +3 -5
- package/dist/groups/css-scroll-snap-2.d.mts +3 -5
- package/dist/groups/css-scrollbars-1.d.mts +3 -5
- package/dist/groups/css-shapes-1.d.mts +3 -5
- package/dist/groups/css-shapes-2.d.mts +3 -5
- package/dist/groups/css-size-adjust-1.d.mts +3 -5
- package/dist/groups/css-sizing-3.d.mts +3 -5
- package/dist/groups/css-sizing-4.d.mts +3 -5
- package/dist/groups/css-speech-1.d.mts +3 -5
- package/dist/groups/css-tables-3.d.mts +3 -5
- package/dist/groups/css-text-3.d.mts +3 -5
- package/dist/groups/css-text-4.d.mts +3 -5
- package/dist/groups/css-text-decor-3.d.mts +3 -5
- package/dist/groups/css-text-decor-4.d.mts +3 -5
- package/dist/groups/css-transforms-1.d.mts +3 -5
- package/dist/groups/css-transforms-2.d.mts +3 -5
- package/dist/groups/css-transitions-1.d.mts +3 -5
- package/dist/groups/css-transitions-2.d.mts +3 -5
- package/dist/groups/css-ui-4.d.mts +3 -5
- package/dist/groups/css-values-4.d.mts +3 -5
- package/dist/groups/css-values-5.d.mts +3 -5
- package/dist/groups/css-variables-2.d.mts +2 -4
- package/dist/groups/css-view-transitions-2.d.mts +3 -5
- package/dist/groups/css-viewport.d.mts +3 -5
- package/dist/groups/css-will-change-1.d.mts +3 -5
- package/dist/groups/css-writing-modes-4.d.mts +3 -5
- package/dist/groups/css2.d.mts +3 -5
- package/dist/groups/fill-stroke-3.d.mts +3 -5
- package/dist/groups/filter-effects-1.d.mts +3 -5
- package/dist/groups/filter-effects-2.d.mts +3 -5
- package/dist/groups/limited-availability.d.mts +2 -2
- package/dist/groups/mediaqueries-4.d.mts +3 -5
- package/dist/groups/mediaqueries-5.d.mts +3 -5
- package/dist/groups/motion-1.d.mts +3 -5
- package/dist/groups/newly-available/with-downstream.d.mts +3 -5
- package/dist/groups/newly-available.d.mts +3 -5
- package/dist/groups/not-discouraged.d.mts +3 -5
- package/dist/groups/scroll-animations-1.d.mts +3 -5
- package/dist/groups/selectors-4.d.mts +2 -4
- package/dist/groups/selectors-5.d.mts +2 -4
- package/dist/groups/widely-available/with-downstream.d.mts +3 -5
- package/dist/groups/widely-available.d.mts +3 -5
- package/dist/index.d.mts +5 -8
- package/dist/index.mjs +18 -16
- package/dist/{instrument-C7Am_dJ3.mjs → instrument-BN47aTEW.mjs} +3 -5
- package/dist/{lowered-CKSYUc0i.mjs → lowered-DOJEDRFM.mjs} +2 -3
- package/dist/{node-BABEZ2oF.d.mts → node-CnkQisiV.d.mts} +1 -5
- package/dist/parent-vars.d.mts +0 -2
- package/dist/parent-vars.mjs +1 -2
- package/dist/plugin-types.d.mts +1 -5
- package/dist/plugin.d.mts +2 -2
- package/dist/plugin.mjs +1 -2
- package/dist/{registry-ByrYF2v5.mjs → registry-8sYvlzyn.mjs} +2 -4
- package/dist/{runtime-Dt4Tm0Q7.d.mts → runtime-Cv7hGrWf.d.mts} +0 -2
- package/dist/runtime.d.mts +1 -3
- package/dist/runtime.mjs +1 -2
- package/dist/{scope-1R_Np2Mj.d.mts → scope-5A3kbBoQ.d.mts} +1685 -12
- package/dist/{sheet-BT2R1wk_.mjs → sheet-qCuMvyUo.mjs} +7 -13
- package/dist/surface.d.mts +2 -4
- package/dist/surface.mjs +2 -3
- package/dist/{theme-WGcgMD4V.mjs → theme-DBCyDih4.mjs} +7 -11
- package/dist/{theme-types-BY0mRf3K.d.mts → theme-types-CplLnGgG.d.mts} +1684 -11
- package/dist/{trace-otlp-CbKFDsn9.mjs → trace-otlp-DP2syBvD.mjs} +1 -2
- package/dist/tui-types.d.mts +1 -3
- package/dist/tui.d.mts +1 -2
- package/dist/tui.mjs +6 -7
- package/dist/types.d.mts +2 -2
- package/dist/vite.d.mts +3 -11
- package/dist/vite.mjs +11 -16
- package/docs/API.md +135 -4
- package/package.json +3 -3
- package/dist/color-C8OzjAeg.mjs +0 -2
- package/dist/group-common-3PAVTxpd.d.mts +0 -1
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
import { a as GProp, i as GMath, n as GFn, r as GLayout, t as GCondition } from "../../group-types-
|
|
3
|
-
import "../../group-common-
|
|
1
|
+
import { A as Steps, B as keyframes, C as CvValue, E as PositionTry, I as cv, J as within, K as token, L as firstThatWorks, M as attr, N as cn, O as QueryWrap, R as global, S as CvProps, U as style, X as FlexMethods, Y as ClassValue, Z as GridMethods, _ as CSSStyleValue, a as DtcgUnit, c as Tokens, cm as Part, d as createTokens, f as layers, g as CSSImageValue, h as CSSColorValue, i as DtcgShadow, im as VarCall, j as Wrap, k as StateWrap, l as check, lm as Style, m as CSS, n as DtcgColor, o as DtcgValue, p as AttrOp, r as DtcgCubicBezier, s as Overrides, sm as Fallback, t as CheckOverrides, u as createGlobalTheme, v as CSSUnitValue, w as Keyframes, x as CvConfig, z as group } from "../../theme-types-CplLnGgG.mjs";
|
|
2
|
+
import { a as GProp, i as GMath, n as GFn, r as GLayout, t as GCondition } from "../../group-types-BBaZ8dwy.mjs";
|
|
3
|
+
import "../../group-common-CTUs5yym.mjs";
|
|
4
4
|
import { properties } from "@cssints/css-grammar/mdn";
|
|
5
|
-
//#region src/groups/newly-available/with-downstream.d.ts
|
|
6
5
|
type B = {
|
|
7
6
|
id: "newly-available/with-downstream";
|
|
8
7
|
kw: {
|
|
@@ -628,5 +627,4 @@ export declare const container: GCondition<B, "container", QueryWrap>;
|
|
|
628
627
|
export declare const supports: GCondition<B, "supports", Wrap>;
|
|
629
628
|
export declare const flex: GLayout<B, "flex", Pick<FlexMethods, "direction" | "wrap" | "flow" | "alignItems" | "alignContent" | "justifyContent" | "placeContent" | "gap" | "rowGap" | "columnGap">>;
|
|
630
629
|
export declare const grid: GLayout<B, "grid", Pick<GridMethods, "templateColumns" | "templateRows" | "templateAreas" | "template" | "autoFlow" | "autoColumns" | "autoRows" | "alignItems" | "justifyItems" | "placeItems" | "alignContent" | "justifyContent" | "placeContent" | "gap" | "rowGap" | "columnGap">>;
|
|
631
|
-
//#endregion
|
|
632
630
|
export { type AttrOp, type CSS, type CSSColorValue, type CSSImageValue, type CSSStyleValue, type CSSUnitValue, CheckOverrides, type ClassValue, type CvConfig, type CvProps, type CvValue, DtcgColor, DtcgCubicBezier, DtcgShadow, DtcgUnit, DtcgValue, type Fallback, type Keyframes, Overrides, type Part, type PositionTry, type QueryWrap, type StateWrap, type Steps, type Style, Tokens, type Wrap, attr, check, cn, createGlobalTheme, createTokens, cv, firstThatWorks, global, group, keyframes, layers, style, token, _var as var, within };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
import { a as GProp, i as GMath, n as GFn, r as GLayout, t as GCondition } from "../group-types-
|
|
3
|
-
import "../group-common-
|
|
1
|
+
import { A as Steps, B as keyframes, C as CvValue, E as PositionTry, I as cv, J as within, K as token, L as firstThatWorks, M as attr, N as cn, O as QueryWrap, R as global, S as CvProps, U as style, X as FlexMethods, Y as ClassValue, Z as GridMethods, _ as CSSStyleValue, a as DtcgUnit, c as Tokens, cm as Part, d as createTokens, f as layers, g as CSSImageValue, h as CSSColorValue, i as DtcgShadow, im as VarCall, j as Wrap, k as StateWrap, l as check, lm as Style, m as CSS, n as DtcgColor, o as DtcgValue, p as AttrOp, r as DtcgCubicBezier, s as Overrides, sm as Fallback, t as CheckOverrides, u as createGlobalTheme, v as CSSUnitValue, w as Keyframes, x as CvConfig, z as group } from "../theme-types-CplLnGgG.mjs";
|
|
2
|
+
import { a as GProp, i as GMath, n as GFn, r as GLayout, t as GCondition } from "../group-types-BBaZ8dwy.mjs";
|
|
3
|
+
import "../group-common-CTUs5yym.mjs";
|
|
4
4
|
import { properties } from "@cssints/css-grammar/mdn";
|
|
5
|
-
//#region src/groups/newly-available.d.ts
|
|
6
5
|
type B = {
|
|
7
6
|
id: "newly-available";
|
|
8
7
|
kw: {
|
|
@@ -627,5 +626,4 @@ export declare const supports: GCondition<B, "supports", Wrap>;
|
|
|
627
626
|
export declare const positionTry: ((style: Style) => PositionTry) & P<"position-try">;
|
|
628
627
|
export declare const flex: GLayout<B, "flex", Pick<FlexMethods, "direction" | "wrap" | "flow" | "alignItems" | "alignContent" | "justifyContent" | "placeContent" | "gap" | "rowGap" | "columnGap">>;
|
|
629
628
|
export declare const grid: GLayout<B, "grid", Pick<GridMethods, "templateColumns" | "templateRows" | "templateAreas" | "template" | "autoFlow" | "autoColumns" | "autoRows" | "alignItems" | "justifyItems" | "placeItems" | "alignContent" | "justifyContent" | "placeContent" | "gap" | "rowGap" | "columnGap">>;
|
|
630
|
-
//#endregion
|
|
631
629
|
export { type AttrOp, type CSS, type CSSColorValue, type CSSImageValue, type CSSStyleValue, type CSSUnitValue, CheckOverrides, type ClassValue, type CvConfig, type CvProps, type CvValue, DtcgColor, DtcgCubicBezier, DtcgShadow, DtcgUnit, DtcgValue, type Fallback, type Keyframes, Overrides, type Part, type PositionTry, type QueryWrap, type StateWrap, type Steps, type Style, Tokens, type Wrap, attr, check, cn, createGlobalTheme, createTokens, cv, firstThatWorks, global, group, keyframes, layers, style, token, _var as var, within };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
import { a as GProp, i as GMath, n as GFn, r as GLayout, t as GCondition } from "../group-types-
|
|
3
|
-
import "../group-common-
|
|
1
|
+
import { A as Steps, B as keyframes, C as CvValue, E as PositionTry, I as cv, J as within, K as token, L as firstThatWorks, M as attr, N as cn, O as QueryWrap, R as global, S as CvProps, U as style, X as FlexMethods, Y as ClassValue, Z as GridMethods, _ as CSSStyleValue, a as DtcgUnit, c as Tokens, cm as Part, d as createTokens, f as layers, g as CSSImageValue, h as CSSColorValue, i as DtcgShadow, im as VarCall, j as Wrap, k as StateWrap, l as check, lm as Style, m as CSS, n as DtcgColor, o as DtcgValue, p as AttrOp, r as DtcgCubicBezier, s as Overrides, sm as Fallback, t as CheckOverrides, u as createGlobalTheme, v as CSSUnitValue, w as Keyframes, x as CvConfig, z as group } from "../theme-types-CplLnGgG.mjs";
|
|
2
|
+
import { a as GProp, i as GMath, n as GFn, r as GLayout, t as GCondition } from "../group-types-BBaZ8dwy.mjs";
|
|
3
|
+
import "../group-common-CTUs5yym.mjs";
|
|
4
4
|
import { properties } from "@cssints/css-grammar/mdn";
|
|
5
|
-
//#region src/groups/not-discouraged.d.ts
|
|
6
5
|
type B = {
|
|
7
6
|
id: "not-discouraged";
|
|
8
7
|
kw: {
|
|
@@ -723,5 +722,4 @@ export declare const supports: GCondition<B, "supports", Wrap>;
|
|
|
723
722
|
export declare const positionTry: ((style: Style) => PositionTry) & P<"position-try">;
|
|
724
723
|
export declare const flex: GLayout<B, "flex", Pick<FlexMethods, "direction" | "wrap" | "flow" | "alignItems" | "alignContent" | "justifyContent" | "placeContent" | "gap" | "rowGap" | "columnGap">>;
|
|
725
724
|
export declare const grid: GLayout<B, "grid", Pick<GridMethods, "templateColumns" | "templateRows" | "templateAreas" | "template" | "autoFlow" | "autoColumns" | "autoRows" | "alignItems" | "justifyItems" | "placeItems" | "alignContent" | "justifyContent" | "placeContent" | "gap" | "rowGap" | "columnGap">>;
|
|
726
|
-
//#endregion
|
|
727
725
|
export { type AttrOp, type CSS, type CSSColorValue, type CSSImageValue, type CSSStyleValue, type CSSUnitValue, CheckOverrides, type ClassValue, type CvConfig, type CvProps, type CvValue, DtcgColor, DtcgCubicBezier, DtcgShadow, DtcgUnit, DtcgValue, type Fallback, type Keyframes, Overrides, type Part, type PositionTry, type QueryWrap, type StateWrap, type Steps, type Style, Tokens, type Wrap, attr, check, cn, createGlobalTheme, createTokens, cv, firstThatWorks, global, group, keyframes, layers, style, token, _var as var, within };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
import { a as GProp, n as GFn } from "../group-types-
|
|
3
|
-
import "../group-common-
|
|
1
|
+
import { A as Steps, C as CvValue, E as PositionTry, I as cv, J as within, K as token, L as firstThatWorks, M as attr, N as cn, O as QueryWrap, R as global, S as CvProps, U as style, Y as ClassValue, _ as CSSStyleValue, a as DtcgUnit, c as Tokens, cm as Part, d as createTokens, f as layers, g as CSSImageValue, h as CSSColorValue, i as DtcgShadow, j as Wrap, k as StateWrap, l as check, lm as Style, m as CSS, n as DtcgColor, o as DtcgValue, p as AttrOp, r as DtcgCubicBezier, s as Overrides, sm as Fallback, t as CheckOverrides, u as createGlobalTheme, v as CSSUnitValue, w as Keyframes, x as CvConfig, z as group } from "../theme-types-CplLnGgG.mjs";
|
|
2
|
+
import { a as GProp, n as GFn } from "../group-types-BBaZ8dwy.mjs";
|
|
3
|
+
import "../group-common-CTUs5yym.mjs";
|
|
4
4
|
import { properties } from "@cssints/css-grammar/mdn";
|
|
5
|
-
//#region src/groups/scroll-animations-1.d.ts
|
|
6
5
|
type B = {
|
|
7
6
|
id: "scroll-animations-1";
|
|
8
7
|
kw: Record<never, never>;
|
|
@@ -26,5 +25,4 @@ export declare const viewTimelineInset: P<"view-timeline-inset">;
|
|
|
26
25
|
export declare const viewTimelineName: P<"view-timeline-name">;
|
|
27
26
|
export declare const scroll: GFn<B, "scroll", " ">;
|
|
28
27
|
export declare const view: GFn<B, "view", " ">;
|
|
29
|
-
//#endregion
|
|
30
28
|
export { type AttrOp, type CSS, type CSSColorValue, type CSSImageValue, type CSSStyleValue, type CSSUnitValue, CheckOverrides, type ClassValue, type CvConfig, type CvProps, type CvValue, DtcgColor, DtcgCubicBezier, DtcgShadow, DtcgUnit, DtcgValue, type Fallback, type Keyframes, Overrides, type Part, type PositionTry, type QueryWrap, type StateWrap, type Steps, type Style, Tokens, type Wrap, attr, check, cn, createGlobalTheme, createTokens, cv, firstThatWorks, global, group, layers, style, token, within };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
import "../group-common-
|
|
3
|
-
//#region src/groups/selectors-4.d.ts
|
|
1
|
+
import { A as Steps, C as CvValue, E as PositionTry, I as cv, J as within, K as token, L as firstThatWorks, M as attr, N as cn, O as QueryWrap, R as global, S as CvProps, U as style, Y as ClassValue, _ as CSSStyleValue, a as DtcgUnit, c as Tokens, cm as Part, d as createTokens, f as layers, g as CSSImageValue, h as CSSColorValue, i as DtcgShadow, j as Wrap, k as StateWrap, l as check, lm as Style, m as CSS, n as DtcgColor, o as DtcgValue, p as AttrOp, r as DtcgCubicBezier, s as Overrides, sm as Fallback, t as CheckOverrides, u as createGlobalTheme, v as CSSUnitValue, w as Keyframes, x as CvConfig, z as group } from "../theme-types-CplLnGgG.mjs";
|
|
2
|
+
import "../group-common-CTUs5yym.mjs";
|
|
4
3
|
export declare const active: StateWrap;
|
|
5
4
|
export declare const anyLink: StateWrap;
|
|
6
5
|
export declare const autofill: StateWrap;
|
|
@@ -50,5 +49,4 @@ export declare const userValid: StateWrap;
|
|
|
50
49
|
export declare const valid: StateWrap;
|
|
51
50
|
export declare const visited: StateWrap;
|
|
52
51
|
export declare const volumeLocked: StateWrap;
|
|
53
|
-
//#endregion
|
|
54
52
|
export { type AttrOp, type CSS, type CSSColorValue, type CSSImageValue, type CSSStyleValue, type CSSUnitValue, CheckOverrides, type ClassValue, type CvConfig, type CvProps, type CvValue, DtcgColor, DtcgCubicBezier, DtcgShadow, DtcgUnit, DtcgValue, type Fallback, type Keyframes, Overrides, type Part, type PositionTry, type QueryWrap, type StateWrap, type Steps, type Style, Tokens, type Wrap, attr, check, cn, createGlobalTheme, createTokens, cv, firstThatWorks, global, group, layers, style, token, within };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
import "../group-common-
|
|
3
|
-
//#region src/groups/selectors-5.d.ts
|
|
1
|
+
import { A as Steps, C as CvValue, E as PositionTry, I as cv, J as within, K as token, L as firstThatWorks, M as attr, N as cn, O as QueryWrap, R as global, S as CvProps, U as style, Y as ClassValue, _ as CSSStyleValue, a as DtcgUnit, c as Tokens, cm as Part, d as createTokens, f as layers, g as CSSImageValue, h as CSSColorValue, i as DtcgShadow, j as Wrap, k as StateWrap, l as check, lm as Style, m as CSS, n as DtcgColor, o as DtcgValue, p as AttrOp, r as DtcgCubicBezier, s as Overrides, sm as Fallback, t as CheckOverrides, u as createGlobalTheme, v as CSSUnitValue, w as Keyframes, x as CvConfig, z as group } from "../theme-types-CplLnGgG.mjs";
|
|
2
|
+
import "../group-common-CTUs5yym.mjs";
|
|
4
3
|
export declare const active: StateWrap;
|
|
5
4
|
export declare const anyLink: StateWrap;
|
|
6
5
|
export declare const autofill: StateWrap;
|
|
@@ -50,5 +49,4 @@ export declare const userValid: StateWrap;
|
|
|
50
49
|
export declare const valid: StateWrap;
|
|
51
50
|
export declare const visited: StateWrap;
|
|
52
51
|
export declare const volumeLocked: StateWrap;
|
|
53
|
-
//#endregion
|
|
54
52
|
export { type AttrOp, type CSS, type CSSColorValue, type CSSImageValue, type CSSStyleValue, type CSSUnitValue, CheckOverrides, type ClassValue, type CvConfig, type CvProps, type CvValue, DtcgColor, DtcgCubicBezier, DtcgShadow, DtcgUnit, DtcgValue, type Fallback, type Keyframes, Overrides, type Part, type PositionTry, type QueryWrap, type StateWrap, type Steps, type Style, Tokens, type Wrap, attr, check, cn, createGlobalTheme, createTokens, cv, firstThatWorks, global, group, layers, style, token, within };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
import { a as GProp, r as GLayout, t as GCondition } from "../../group-types-
|
|
3
|
-
import "../../group-common-
|
|
1
|
+
import { A as Steps, B as keyframes, C as CvValue, E as PositionTry, I as cv, J as within, K as token, L as firstThatWorks, M as attr, N as cn, O as QueryWrap, R as global, S as CvProps, U as style, X as FlexMethods, Y as ClassValue, Z as GridMethods, _ as CSSStyleValue, a as DtcgUnit, c as Tokens, cm as Part, d as createTokens, f as layers, g as CSSImageValue, h as CSSColorValue, i as DtcgShadow, j as Wrap, k as StateWrap, l as check, lm as Style, m as CSS, n as DtcgColor, o as DtcgValue, p as AttrOp, r as DtcgCubicBezier, s as Overrides, sm as Fallback, t as CheckOverrides, u as createGlobalTheme, v as CSSUnitValue, w as Keyframes, x as CvConfig, z as group } from "../../theme-types-CplLnGgG.mjs";
|
|
2
|
+
import { a as GProp, r as GLayout, t as GCondition } from "../../group-types-BBaZ8dwy.mjs";
|
|
3
|
+
import "../../group-common-CTUs5yym.mjs";
|
|
4
4
|
import { WebkitTextFillColor, WebkitTextStroke, WebkitTextStrokeColor, WebkitTextStrokeWidth, acos, active, alignContent, alignItems, alignSelf, all, animation, animationComposition, animationDelay, animationDirection, animationDuration, animationFillMode, animationIterationCount, animationName, animationPlayState, animationTimingFunction, anyLink, appearance, asin, aspectRatio, atan, atan2, attrFn, backfaceVisibility, backgroundAttachment, backgroundBlendMode, backgroundClip, backgroundColor, backgroundImage, backgroundOrigin, backgroundPosition, backgroundRepeat, backgroundSize, bg, blockSize, blur, border, borderBlock, borderBlockColor, borderBlockEnd, borderBlockEndColor, borderBlockEndStyle, borderBlockEndWidth, borderBlockStart, borderBlockStartColor, borderBlockStartStyle, borderBlockStartWidth, borderBlockStyle, borderBlockWidth, borderBottom, borderBottomColor, borderBottomLeftRadius, borderBottomRightRadius, borderBottomStyle, borderBottomWidth, borderCollapse, borderColor, borderEndEndRadius, borderEndStartRadius, borderImage, borderImageOutset, borderImageRepeat, borderImageSlice, borderImageSource, borderImageWidth, borderInline, borderInlineColor, borderInlineEnd, borderInlineEndColor, borderInlineEndStyle, borderInlineEndWidth, borderInlineStart, borderInlineStartColor, borderInlineStartStyle, borderInlineStartWidth, borderInlineStyle, borderInlineWidth, borderLeft, borderLeftColor, borderLeftStyle, borderLeftWidth, borderRadius, borderRight, borderRightColor, borderRightStyle, borderRightWidth, borderSpacing, borderStartEndRadius, borderStartStartRadius, borderStyle, borderTop, borderTopColor, borderTopLeftRadius, borderTopRightRadius, borderTopStyle, borderTopWidth, borderWidth, bottom, boxShadow, boxSizing, breakAfter, breakBefore, breakInside, brightness, calc, captionSide, caretColor, checked, circle, clamp, clear, clipPath, clipRule, color, colorFn, colorInterpolationFilters, colorMix, colorScheme, columnCount, columnFill, columnGap, columnRule, columnRuleColor, columnRuleStyle, columnRuleWidth, columnSpan, columnWidth, columns, conicGradient, contain, containIntrinsicBlockSize, containIntrinsicHeight, containIntrinsicInlineSize, containIntrinsicSize, containIntrinsicWidth, container, containerName, containerType, content, contrast, cos, counter, counterIncrement, counterReset, counterSet, counters, cubicBezier, cursor, cx, cy, defined, direction, disabled, display, dropShadow, ellipse, empty, emptyCells, enabled, env, exp, fill, fillOpacity, fillRule, filter, firstChild, firstOfType, flexBasis, flexDirection, flexGrow, flexShrink, flexWrap, float, floodColor, floodOpacity, focus, focusVisible, focusWithin, font, fontFamily, fontFeatureSettings, fontKerning, fontOpticalSizing, fontPalette, fontSize, fontStyle, fontSynthesis, fontSynthesisSmallCaps, fontSynthesisStyle, fontSynthesisWeight, fontVariant, fontVariantAlternates, fontVariantCaps, fontVariantEastAsian, fontVariantLigatures, fontVariantNumeric, fontVariantPosition, fontVariationSettings, fontWeight, gap, grayscale, gridArea, gridAutoColumns, gridAutoFlow, gridAutoRows, gridColumn, gridColumnEnd, gridColumnStart, gridRow, gridRowEnd, gridRowStart, gridTemplate, gridTemplateAreas, gridTemplateColumns, gridTemplateRows, height, hover, hsl, hsla, hueRotate, hwb, hyphenateCharacter, hyphens, hypot, image, imageOrientation, imageRendering, imageSet, inRange, indeterminate, inset, insetBlock, insetBlockEnd, insetBlockStart, insetFn, insetInline, insetInlineEnd, insetInlineStart, invalid, invert, isolation, justifyContent, justifyItems, justifySelf, lab, lastChild, lastOfType, lch, left, letterSpacing, lightingColor, lineBreak, lineHeight, linear, linearGradient, link, listStyle, listStyleImage, listStylePosition, listStyleType, log, m, margin, marginBlock, marginBlockEnd, marginBlockStart, marginBottom, marginInline, marginInlineEnd, marginInlineStart, marginLeft, marginRight, marginTop, marker, markerEnd, markerMid, markerStart, maskClip, maskComposite, maskOrigin, maskPosition, maskRepeat, maskSize, maskType, mathStyle, matrix, matrix3d, max, maxHeight, maxWidth, mb, min, minHeight, minWidth, minmax, mixBlendMode, ml, modal, mr, mt, objectFit, objectPosition, offset, offsetAnchor, offsetDistance, offsetPath, offsetPosition, offsetRotate, oklab, oklch, onlyChild, onlyOfType, opacity, opacityFn, optional, order, outOfRange, outline, outlineColor, outlineOffset, outlineStyle, outlineWidth, overflow, overflowWrap, overflowX, overflowY, p, padding, paddingBlock, paddingBlockEnd, paddingBlockStart, paddingBottom, paddingInline, paddingInlineEnd, paddingInlineStart, paddingLeft, paddingRight, paddingTop, page, paintOrder, path, pb, perspective, perspectiveFn, perspectiveOrigin, pl, placeContent, placeItems, placeSelf, placeholderShown, pointerEvents, polygon, position, pow, pr, pt, quotes, r, radialGradient, ray, readOnly, readWrite, rect, repeatingConicGradient, repeatingLinearGradient, repeatingRadialGradient, required, rgb, rgba, right, root, rotate, rotate3d, rotateFn, rotateX, rotateY, rotateZ, rowGap, rx, ry, saturate, scale, scale3d, scaleFn, scaleX, scaleY, scaleZ, scope, scrollBehavior, scrollMargin, scrollMarginBlock, scrollMarginBlockEnd, scrollMarginBlockStart, scrollMarginBottom, scrollMarginInline, scrollMarginInlineEnd, scrollMarginInlineStart, scrollMarginLeft, scrollMarginRight, scrollMarginTop, scrollPadding, scrollPaddingBlock, scrollPaddingBlockEnd, scrollPaddingBlockStart, scrollPaddingBottom, scrollPaddingInline, scrollPaddingInlineEnd, scrollPaddingInlineStart, scrollPaddingLeft, scrollPaddingRight, scrollPaddingTop, scrollSnapAlign, scrollSnapStop, scrollSnapType, sepia, shapeImageThreshold, shapeMargin, shapeRendering, sin, skew, skewX, skewY, sqrt, steps, stopColor, stopOpacity, stroke, strokeDasharray, strokeDashoffset, strokeLinecap, strokeLinejoin, strokeMiterlimit, strokeOpacity, strokeWidth, tabSize, tableLayout, tan, target, textAlign, textAlignLast, textAnchor, textCombineUpright, textDecoration, textDecorationColor, textDecorationLine, textDecorationSkipInk, textDecorationStyle, textDecorationThickness, textEmphasis, textEmphasisColor, textEmphasisPosition, textEmphasisStyle, textIndent, textOrientation, textOverflow, textRendering, textShadow, textTransform, textUnderlineOffset, textUnderlinePosition, top, touchAction, transform, transformBox, transformOrigin, transformStyle, transition, transitionDelay, transitionDuration, transitionProperty, transitionTimingFunction, translate, translate3d, translateFn, translateX, translateY, translateZ, unicodeBidi, url, userInvalid, userValid, valid, var as _var, vectorEffect, verticalAlign, visibility, visited, whiteSpaceCollapse, width, willChange, wordBreak, wordSpacing, writingMode, x, xywh, y, zIndex } from "../widely-available.mjs";
|
|
5
5
|
import { properties } from "@cssints/css-grammar/mdn";
|
|
6
|
-
//#region src/groups/widely-available/with-downstream.d.ts
|
|
7
6
|
type B = {
|
|
8
7
|
id: "widely-available/with-downstream";
|
|
9
8
|
kw: {
|
|
@@ -117,5 +116,4 @@ export declare const media: GCondition<B, "media", QueryWrap>;
|
|
|
117
116
|
export declare const supports: GCondition<B, "supports", Wrap>;
|
|
118
117
|
export declare const flex: GLayout<B, "flex", Pick<FlexMethods, "direction" | "wrap" | "flow" | "alignItems" | "alignContent" | "justifyContent" | "placeContent" | "gap" | "rowGap" | "columnGap">>;
|
|
119
118
|
export declare const grid: GLayout<B, "grid", Pick<GridMethods, "templateColumns" | "templateRows" | "templateAreas" | "template" | "autoFlow" | "autoColumns" | "autoRows" | "alignItems" | "justifyItems" | "placeItems" | "alignContent" | "justifyContent" | "placeContent" | "gap" | "rowGap" | "columnGap">>;
|
|
120
|
-
//#endregion
|
|
121
119
|
export { type AttrOp, type CSS, type CSSColorValue, type CSSImageValue, type CSSStyleValue, type CSSUnitValue, CheckOverrides, type ClassValue, type CvConfig, type CvProps, type CvValue, DtcgColor, DtcgCubicBezier, DtcgShadow, DtcgUnit, DtcgValue, type Fallback, type Keyframes, Overrides, type Part, type PositionTry, type QueryWrap, type StateWrap, type Steps, type Style, Tokens, WebkitTextFillColor, WebkitTextStroke, WebkitTextStrokeColor, WebkitTextStrokeWidth, type Wrap, acos, active, alignContent, alignItems, alignSelf, all, animation, animationComposition, animationDelay, animationDirection, animationDuration, animationFillMode, animationIterationCount, animationName, animationPlayState, animationTimingFunction, anyLink, appearance, asin, aspectRatio, atan, atan2, attr, attrFn, backfaceVisibility, backgroundAttachment, backgroundBlendMode, backgroundClip, backgroundColor, backgroundImage, backgroundOrigin, backgroundPosition, backgroundRepeat, backgroundSize, bg, blockSize, blur, border, borderBlock, borderBlockColor, borderBlockEnd, borderBlockEndColor, borderBlockEndStyle, borderBlockEndWidth, borderBlockStart, borderBlockStartColor, borderBlockStartStyle, borderBlockStartWidth, borderBlockStyle, borderBlockWidth, borderBottom, borderBottomColor, borderBottomLeftRadius, borderBottomRightRadius, borderBottomStyle, borderBottomWidth, borderCollapse, borderColor, borderEndEndRadius, borderEndStartRadius, borderImage, borderImageOutset, borderImageRepeat, borderImageSlice, borderImageSource, borderImageWidth, borderInline, borderInlineColor, borderInlineEnd, borderInlineEndColor, borderInlineEndStyle, borderInlineEndWidth, borderInlineStart, borderInlineStartColor, borderInlineStartStyle, borderInlineStartWidth, borderInlineStyle, borderInlineWidth, borderLeft, borderLeftColor, borderLeftStyle, borderLeftWidth, borderRadius, borderRight, borderRightColor, borderRightStyle, borderRightWidth, borderSpacing, borderStartEndRadius, borderStartStartRadius, borderStyle, borderTop, borderTopColor, borderTopLeftRadius, borderTopRightRadius, borderTopStyle, borderTopWidth, borderWidth, bottom, boxShadow, boxSizing, breakAfter, breakBefore, breakInside, brightness, calc, captionSide, caretColor, check, checked, circle, clamp, clear, clipPath, clipRule, cn, color, colorFn, colorInterpolationFilters, colorMix, colorScheme, columnCount, columnFill, columnGap, columnRule, columnRuleColor, columnRuleStyle, columnRuleWidth, columnSpan, columnWidth, columns, conicGradient, contain, containIntrinsicBlockSize, containIntrinsicHeight, containIntrinsicInlineSize, containIntrinsicSize, containIntrinsicWidth, container, containerName, containerType, content, contrast, cos, counter, counterIncrement, counterReset, counterSet, counters, createGlobalTheme, createTokens, cubicBezier, cursor, cv, cx, cy, defined, direction, disabled, display, dropShadow, ellipse, empty, emptyCells, enabled, env, exp, fill, fillOpacity, fillRule, filter, firstChild, firstOfType, firstThatWorks, flexBasis, flexDirection, flexGrow, flexShrink, flexWrap, float, floodColor, floodOpacity, focus, focusVisible, focusWithin, font, fontFamily, fontFeatureSettings, fontKerning, fontOpticalSizing, fontPalette, fontSize, fontStyle, fontSynthesis, fontSynthesisSmallCaps, fontSynthesisStyle, fontSynthesisWeight, fontVariant, fontVariantAlternates, fontVariantCaps, fontVariantEastAsian, fontVariantLigatures, fontVariantNumeric, fontVariantPosition, fontVariationSettings, fontWeight, gap, global, grayscale, gridArea, gridAutoColumns, gridAutoFlow, gridAutoRows, gridColumn, gridColumnEnd, gridColumnStart, gridRow, gridRowEnd, gridRowStart, gridTemplate, gridTemplateAreas, gridTemplateColumns, gridTemplateRows, group, height, hover, hsl, hsla, hueRotate, hwb, hyphenateCharacter, hyphens, hypot, image, imageOrientation, imageRendering, imageSet, inRange, indeterminate, inset, insetBlock, insetBlockEnd, insetBlockStart, insetFn, insetInline, insetInlineEnd, insetInlineStart, invalid, invert, isolation, justifyContent, justifyItems, justifySelf, keyframes, lab, lastChild, lastOfType, layers, lch, left, letterSpacing, lightingColor, lineBreak, lineHeight, linear, linearGradient, link, listStyle, listStyleImage, listStylePosition, listStyleType, log, m, margin, marginBlock, marginBlockEnd, marginBlockStart, marginBottom, marginInline, marginInlineEnd, marginInlineStart, marginLeft, marginRight, marginTop, marker, markerEnd, markerMid, markerStart, maskClip, maskComposite, maskOrigin, maskPosition, maskRepeat, maskSize, maskType, mathStyle, matrix, matrix3d, max, maxHeight, maxWidth, mb, min, minHeight, minWidth, minmax, mixBlendMode, ml, modal, mr, mt, objectFit, objectPosition, offset, offsetAnchor, offsetDistance, offsetPath, offsetPosition, offsetRotate, oklab, oklch, onlyChild, onlyOfType, opacity, opacityFn, optional, order, outOfRange, outline, outlineColor, outlineOffset, outlineStyle, outlineWidth, overflow, overflowWrap, overflowX, overflowY, p, padding, paddingBlock, paddingBlockEnd, paddingBlockStart, paddingBottom, paddingInline, paddingInlineEnd, paddingInlineStart, paddingLeft, paddingRight, paddingTop, page, paintOrder, path, pb, perspective, perspectiveFn, perspectiveOrigin, pl, placeContent, placeItems, placeSelf, placeholderShown, pointerEvents, polygon, position, pow, pr, pt, quotes, r, radialGradient, ray, readOnly, readWrite, rect, repeatingConicGradient, repeatingLinearGradient, repeatingRadialGradient, required, rgb, rgba, right, root, rotate, rotate3d, rotateFn, rotateX, rotateY, rotateZ, rowGap, rx, ry, saturate, scale, scale3d, scaleFn, scaleX, scaleY, scaleZ, scope, scrollBehavior, scrollMargin, scrollMarginBlock, scrollMarginBlockEnd, scrollMarginBlockStart, scrollMarginBottom, scrollMarginInline, scrollMarginInlineEnd, scrollMarginInlineStart, scrollMarginLeft, scrollMarginRight, scrollMarginTop, scrollPadding, scrollPaddingBlock, scrollPaddingBlockEnd, scrollPaddingBlockStart, scrollPaddingBottom, scrollPaddingInline, scrollPaddingInlineEnd, scrollPaddingInlineStart, scrollPaddingLeft, scrollPaddingRight, scrollPaddingTop, scrollSnapAlign, scrollSnapStop, scrollSnapType, sepia, shapeImageThreshold, shapeMargin, shapeRendering, sin, skew, skewX, skewY, sqrt, steps, stopColor, stopOpacity, stroke, strokeDasharray, strokeDashoffset, strokeLinecap, strokeLinejoin, strokeMiterlimit, strokeOpacity, strokeWidth, style, tabSize, tableLayout, tan, target, textAlign, textAlignLast, textAnchor, textCombineUpright, textDecoration, textDecorationColor, textDecorationLine, textDecorationSkipInk, textDecorationStyle, textDecorationThickness, textEmphasis, textEmphasisColor, textEmphasisPosition, textEmphasisStyle, textIndent, textOrientation, textOverflow, textRendering, textShadow, textTransform, textUnderlineOffset, textUnderlinePosition, token, top, touchAction, transform, transformBox, transformOrigin, transformStyle, transition, transitionDelay, transitionDuration, transitionProperty, transitionTimingFunction, translate, translate3d, translateFn, translateX, translateY, translateZ, unicodeBidi, url, userInvalid, userValid, valid, _var as var, vectorEffect, verticalAlign, visibility, visited, whiteSpaceCollapse, width, willChange, within, wordBreak, wordSpacing, writingMode, x, xywh, y, zIndex };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
import { a as GProp, i as GMath, n as GFn, r as GLayout, t as GCondition } from "../group-types-
|
|
3
|
-
import "../group-common-
|
|
1
|
+
import { A as Steps, B as keyframes, C as CvValue, E as PositionTry, I as cv, J as within, K as token, L as firstThatWorks, M as attr, N as cn, O as QueryWrap, R as global, S as CvProps, U as style, X as FlexMethods, Y as ClassValue, Z as GridMethods, _ as CSSStyleValue, a as DtcgUnit, c as Tokens, cm as Part, d as createTokens, f as layers, g as CSSImageValue, h as CSSColorValue, i as DtcgShadow, im as VarCall, j as Wrap, k as StateWrap, l as check, lm as Style, m as CSS, n as DtcgColor, o as DtcgValue, p as AttrOp, r as DtcgCubicBezier, s as Overrides, sm as Fallback, t as CheckOverrides, u as createGlobalTheme, v as CSSUnitValue, w as Keyframes, x as CvConfig, z as group } from "../theme-types-CplLnGgG.mjs";
|
|
2
|
+
import { a as GProp, i as GMath, n as GFn, r as GLayout, t as GCondition } from "../group-types-BBaZ8dwy.mjs";
|
|
3
|
+
import "../group-common-CTUs5yym.mjs";
|
|
4
4
|
import { properties } from "@cssints/css-grammar/mdn";
|
|
5
|
-
//#region src/groups/widely-available.d.ts
|
|
6
5
|
type B = {
|
|
7
6
|
id: "widely-available";
|
|
8
7
|
kw: {
|
|
@@ -612,5 +611,4 @@ export declare const container: GCondition<B, "container", QueryWrap>;
|
|
|
612
611
|
export declare const supports: GCondition<B, "supports", Wrap>;
|
|
613
612
|
export declare const flex: GLayout<B, "flex", Pick<FlexMethods, "direction" | "wrap" | "flow" | "alignItems" | "alignContent" | "justifyContent" | "placeContent" | "gap" | "rowGap" | "columnGap">>;
|
|
614
613
|
export declare const grid: GLayout<B, "grid", Pick<GridMethods, "templateColumns" | "templateRows" | "templateAreas" | "template" | "autoFlow" | "autoColumns" | "autoRows" | "alignItems" | "justifyItems" | "placeItems" | "alignContent" | "justifyContent" | "placeContent" | "gap" | "rowGap" | "columnGap">>;
|
|
615
|
-
//#endregion
|
|
616
614
|
export { type AttrOp, type CSS, type CSSColorValue, type CSSImageValue, type CSSStyleValue, type CSSUnitValue, CheckOverrides, type ClassValue, type CvConfig, type CvProps, type CvValue, DtcgColor, DtcgCubicBezier, DtcgShadow, DtcgUnit, DtcgValue, type Fallback, type Keyframes, Overrides, type Part, type PositionTry, type QueryWrap, type StateWrap, type Steps, type Style, Tokens, type Wrap, attr, check, cn, createGlobalTheme, createTokens, cv, firstThatWorks, global, group, keyframes, layers, style, token, _var as var, within };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
import { a as Kernel } from "./author-types-
|
|
2
|
-
import { n as _cv, r as _cx } from "./runtime-
|
|
3
|
-
import { n as At, t as CssNode } from "./node-
|
|
1
|
+
import { a as Kernel } from "./author-types-D9IjEXwn.mjs";
|
|
2
|
+
import { n as _cv, r as _cx } from "./runtime-Cv7hGrWf.mjs";
|
|
3
|
+
import { n as At, t as CssNode } from "./node-CnkQisiV.mjs";
|
|
4
4
|
import { CSS, CSSColorValue, CSSImageValue, CSSStyleValue, CSSUnitValue } from "@cssints/css-grammar/values";
|
|
5
5
|
import { Effect } from "effect";
|
|
6
|
-
//#region src/lib.d.ts
|
|
7
6
|
/** What firstThatWorks() builds: its values as text, the wanted one first. */
|
|
8
7
|
interface Fallback {
|
|
9
8
|
__fallback: string[];
|
|
10
9
|
}
|
|
11
|
-
|
|
12
|
-
//#region src/macro.d.ts
|
|
10
|
+
export declare const sx: () => CssNode;
|
|
13
11
|
export declare const firstThatWorks: (...values: unknown[]) => Fallback;
|
|
14
12
|
export declare class CSSAtRuleValue extends CSSStyleValue {
|
|
15
13
|
readonly kernel: Kernel;
|
|
@@ -18,7 +16,7 @@ export declare class CSSAtRuleValue extends CSSStyleValue {
|
|
|
18
16
|
toString(): string;
|
|
19
17
|
}
|
|
20
18
|
export declare const keyframes: (steps: unknown) => CSSAtRuleValue;
|
|
21
|
-
export declare const positionTry: (...args: unknown[]) =>
|
|
19
|
+
export declare const positionTry: (...args: unknown[]) => CssNode | CSSAtRuleValue;
|
|
22
20
|
export declare const cn: (...all: unknown[]) => CssNode;
|
|
23
21
|
export declare const flex: (...args: unknown[]) => CssNode;
|
|
24
22
|
export declare const grid: (...args: unknown[]) => CssNode;
|
|
@@ -44,5 +42,4 @@ export declare const __group: (id: string) => Record<string, unknown>;
|
|
|
44
42
|
export declare function __at(file: string, site: number, offset: number): At;
|
|
45
43
|
export declare const __unseen: (file: string, site: number) => boolean;
|
|
46
44
|
export declare function __site(at: At, value: unknown): unknown;
|
|
47
|
-
//#endregion
|
|
48
45
|
export { CSS, CSSColorValue, CSSImageValue, CSSStyleValue, CSSUnitValue, _cv, _cx };
|
package/dist/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as registry, d as MacroError, f as MemberError, o as warn, r as forgetKernels, t as Registry } from "./registry-
|
|
2
|
-
import { A as camel, C as hashClass, D as settled, E as minWidth, F as probed, M as failIn, N as isNode, O as toDecls, P as node, S as edge, T as merged, _ as PSEUDOS, a as createTokens, b as checkVars, c as tokensOf, d as style, f as token, g as PROPS, h as LAYER, i as createGlobalTheme, j as fail, k as VAR, l as CSSTokenValue, m as FUNCTIONS, n as addTheme, o as isDone, p as CONTEXTS, r as check$1, t as DONE, u as isStyle, v as carried, w as isFallback, x as dropsOf, y as chainDecl } from "./theme-
|
|
3
|
-
import { D as relation, S as addRuntime, _ as addKernel, i as byOrder, n as addGlobal, r as addLayers, y as kernelWarnings } from "./sheet-
|
|
4
|
-
import { n as loweredOf } from "./lowered-
|
|
5
|
-
import { c as groups$1, n as CX_CALL, t as CV_CALL } from "./instrument-
|
|
1
|
+
import { a as registry, d as MacroError, f as MemberError, o as warn, r as forgetKernels, t as Registry } from "./registry-8sYvlzyn.mjs";
|
|
2
|
+
import { A as camel, C as hashClass, D as settled, E as minWidth, F as probed, M as failIn, N as isNode, O as toDecls, P as node, S as edge, T as merged, _ as PSEUDOS, a as createTokens, b as checkVars, c as tokensOf, d as style, f as token, g as PROPS, h as LAYER, i as createGlobalTheme, j as fail, k as VAR, l as CSSTokenValue, m as FUNCTIONS, n as addTheme, o as isDone, p as CONTEXTS, r as check$1, t as DONE, u as isStyle, v as carried, w as isFallback, x as dropsOf, y as chainDecl } from "./theme-DBCyDih4.mjs";
|
|
3
|
+
import { D as relation, S as addRuntime, _ as addKernel, i as byOrder, n as addGlobal, r as addLayers, y as kernelWarnings } from "./sheet-qCuMvyUo.mjs";
|
|
4
|
+
import { n as loweredOf } from "./lowered-DOJEDRFM.mjs";
|
|
5
|
+
import { c as groups$1, n as CX_CALL, t as CV_CALL } from "./instrument-BN47aTEW.mjs";
|
|
6
6
|
import { checkDeclarationNow, checkQuery, checkSelector, checkValueNow, isDeclarationError } from "@cssints/css-grammar/check";
|
|
7
7
|
import { lackingOf, messageOf } from "@cssints/css-grammar/support";
|
|
8
8
|
import { CSS, CSSColorValue, CSSImageValue, CSSStyleValue, CSSStyleValue as CSSStyleValue$1, CSSUnitValue } from "@cssints/css-grammar/values";
|
|
@@ -12,7 +12,7 @@ import { functions } from "@cssints/css-grammar/functions";
|
|
|
12
12
|
import { properties } from "@cssints/css-grammar/mdn";
|
|
13
13
|
import { grammarOf } from "@cssints/css-grammar/token";
|
|
14
14
|
import { checkSelectorNow } from "@cssints/css-grammar/selector";
|
|
15
|
-
|
|
15
|
+
// src/functions.ts
|
|
16
16
|
var CSSFunctionValue = class extends CSSStyleValue$1 {
|
|
17
17
|
value;
|
|
18
18
|
constructor(value) {
|
|
@@ -78,8 +78,7 @@ const checkText = (label, grammar, text, where) => {
|
|
|
78
78
|
};
|
|
79
79
|
/** The members of `css` that are functions, by name. */
|
|
80
80
|
const fns = Object.fromEntries(Object.entries(FUNCTIONS).map(([member, name]) => [member, build(member, name)]));
|
|
81
|
-
|
|
82
|
-
//#region src/group.ts
|
|
81
|
+
// src/group.ts
|
|
83
82
|
const CONDITIONS = [
|
|
84
83
|
"media",
|
|
85
84
|
"container",
|
|
@@ -188,8 +187,7 @@ const inGroup = (id, property, value) => {
|
|
|
188
187
|
const c = of(id);
|
|
189
188
|
return (c.props.has(property) || !KNOWN.has(property)) && !hit(c, c.kw.get(property), value);
|
|
190
189
|
};
|
|
191
|
-
|
|
192
|
-
//#region src/scope-engine.ts
|
|
190
|
+
// src/scope-engine.ts
|
|
193
191
|
const NAME$1 = /^[a-z][a-z0-9-]*$/;
|
|
194
192
|
const KEY = /^[A-Za-z][\w-]*$/;
|
|
195
193
|
const RESERVED = /* @__PURE__ */ new Set(["cssints", "derived"]);
|
|
@@ -653,8 +651,7 @@ const engine = {
|
|
|
653
651
|
dependsOn,
|
|
654
652
|
inGroup
|
|
655
653
|
};
|
|
656
|
-
|
|
657
|
-
//#region src/runtime.ts
|
|
654
|
+
// src/runtime.ts
|
|
658
655
|
function _cx(drops, ...a) {
|
|
659
656
|
const on = a.flat(Infinity).filter(Boolean).join(" ").split(" ");
|
|
660
657
|
const gone = drops.flatMap(([by, c]) => on.includes(by) ? c.split(" ") : []);
|
|
@@ -677,10 +674,15 @@ function _cv(config) {
|
|
|
677
674
|
return out.join(" ").split(" ").filter((c) => c && !gone.includes(c)).join(" ");
|
|
678
675
|
};
|
|
679
676
|
}
|
|
680
|
-
|
|
681
|
-
//#region src/macro.ts
|
|
677
|
+
// src/macro.ts
|
|
682
678
|
const flexChain = (ctx) => (name, args, self) => node([...self.__cssints, chainDecl(ctx, name, args)], self, flexChain(ctx));
|
|
683
679
|
const member = (k) => (...args) => CONTEXTS[k] && !args.length ? node(toDecls(k, args), {}, flexChain(k)) : node(toDecls(k, args), { kernels: kernelsOf(args) });
|
|
680
|
+
const chainStep = (name, args, self) => {
|
|
681
|
+
if (!Object.hasOwn(PROPS, name) && !CONTEXTS[name]) throw fail(`cssints: sx() has no .${name}(); it chains properties (p, bg, padding) and flex()/grid(), and cn() merges styles`);
|
|
682
|
+
const add = node(toDecls(name, args), { kernels: kernelsOf(args) });
|
|
683
|
+
return node(merged([...self.__cssints, ...add.__cssints]), carried([self, add]), chainStep);
|
|
684
|
+
};
|
|
685
|
+
const sx = () => node([], {}, chainStep);
|
|
684
686
|
const firstThatWorks = (...values) => {
|
|
685
687
|
if (values.length < 2) throw fail("cssints: firstThatWorks() takes at least two values: the one you want, then what to use where it fails");
|
|
686
688
|
for (const v of values) {
|
|
@@ -1166,6 +1168,7 @@ const __cnGroup = (statics, parts) => ({ __cnGroup: {
|
|
|
1166
1168
|
const __nocn = () => void 0;
|
|
1167
1169
|
const named = {
|
|
1168
1170
|
cn,
|
|
1171
|
+
sx,
|
|
1169
1172
|
firstThatWorks,
|
|
1170
1173
|
...fns,
|
|
1171
1174
|
keyframes,
|
|
@@ -1287,5 +1290,4 @@ function __site(at, value) {
|
|
|
1287
1290
|
if (Exit.isFailure(exit)) throw Cause.squash(exit.cause);
|
|
1288
1291
|
return exit.value;
|
|
1289
1292
|
}
|
|
1290
|
-
|
|
1291
|
-
export { CSS, CSSAtRuleValue, CSSColorValue, CSSImageValue, CSSStyleValue, CSSUnitValue, __at, __cnGroup, __group, __nocn, __site, __unseen, _cv, _cx, cn, css, cv, firstThatWorks, flex, grid, keyframes, positionTry };
|
|
1293
|
+
export { CSS, CSSAtRuleValue, CSSColorValue, CSSImageValue, CSSStyleValue, CSSUnitValue, __at, __cnGroup, __group, __nocn, __site, __unseen, _cv, _cx, cn, css, cv, firstThatWorks, flex, grid, keyframes, positionTry, sx };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { u as ImportError } from "./registry-
|
|
1
|
+
import { u as ImportError } from "./registry-8sYvlzyn.mjs";
|
|
2
2
|
import { Effect, Formatter, Predicate } from "effect";
|
|
3
3
|
import { parseSync } from "oxc-parser";
|
|
4
4
|
import MagicString from "magic-string";
|
|
5
|
-
|
|
5
|
+
// src/groups-data.ts
|
|
6
6
|
const groups = {
|
|
7
7
|
"widely-available": {
|
|
8
8
|
kind: "baseline",
|
|
@@ -3635,8 +3635,7 @@ const groups = {
|
|
|
3635
3635
|
}
|
|
3636
3636
|
}
|
|
3637
3637
|
};
|
|
3638
|
-
|
|
3639
|
-
//#region src/instrument.ts
|
|
3638
|
+
// src/instrument.ts
|
|
3640
3639
|
const RUNTIME = "cssints";
|
|
3641
3640
|
const CV_CALL = "__cv(";
|
|
3642
3641
|
const CX_CALL = "__cx(";
|
|
@@ -3952,5 +3951,4 @@ const instrument = Effect.fn("cssints.instrument")(function* (code, id, client =
|
|
|
3952
3951
|
imp
|
|
3953
3952
|
};
|
|
3954
3953
|
});
|
|
3955
|
-
//#endregion
|
|
3956
3954
|
export { runtimeImport as a, groups as c, instrument as i, CX_CALL as n, tagged as o, RUNTIME as r, writeSite as s, CV_CALL as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as registry } from "./registry-
|
|
1
|
+
import { a as registry } from "./registry-8sYvlzyn.mjs";
|
|
2
2
|
import { Result } from "effect";
|
|
3
3
|
import { browserslistToTargets, transform } from "lightningcss";
|
|
4
|
-
|
|
4
|
+
// src/lowered.ts
|
|
5
5
|
const first = (css) => /^[^{]*\{([^;}]*)/.exec(css)?.[1];
|
|
6
6
|
const lower = (prop, value, lacking, feature) => {
|
|
7
7
|
const code = Buffer.from(prop.startsWith("--") ? `:root{${prop}:${value}}` : `x{${prop}:${value}}`);
|
|
@@ -24,5 +24,4 @@ const fallbackOf = (prop, value, w) => {
|
|
|
24
24
|
return hit || void 0;
|
|
25
25
|
};
|
|
26
26
|
const loweredOf = (prop, value, w) => fallbackOf(prop, value, w) !== void 0;
|
|
27
|
-
//#endregion
|
|
28
27
|
export { loweredOf as n, fallbackOf as t };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { a as Kernel, i as GlobalRule, n as Conflict, o as Runtime, s as ThemeRule } from "./author-types-
|
|
1
|
+
import { a as Kernel, i as GlobalRule, n as Conflict, o as Runtime, s as ThemeRule } from "./author-types-D9IjEXwn.mjs";
|
|
2
2
|
import { Warning } from "@cssints/css-grammar/support";
|
|
3
3
|
import { Context } from "effect";
|
|
4
4
|
import { TokenType } from "@cssints/css-grammar/token";
|
|
5
|
-
//#region src/registry.d.ts
|
|
6
5
|
interface Rule {
|
|
7
6
|
layer: string;
|
|
8
7
|
/** Sort key within the layer: the min-width of its conditions, then the places of its pseudo-classes. */
|
|
@@ -198,8 +197,6 @@ interface Warned {
|
|
|
198
197
|
message: string;
|
|
199
198
|
at?: At | undefined;
|
|
200
199
|
}
|
|
201
|
-
//#endregion
|
|
202
|
-
//#region src/node.d.ts
|
|
203
200
|
/**
|
|
204
201
|
* One condition of a style: an at-rule prelude (`@media (width >= 40rem)`), a pseudo-class (`:hover`), an attribute
|
|
205
202
|
* (`[aria-current="page"]`) or, with `ancestor`, a selector of a marked ancestor (`:where(._g:hover)`), or, with
|
|
@@ -235,5 +232,4 @@ interface CssNode {
|
|
|
235
232
|
plugs?: Plug[];
|
|
236
233
|
bare?: [marker: string, kernel: string][];
|
|
237
234
|
}
|
|
238
|
-
//#endregion
|
|
239
235
|
export { RegistryState as i, At as n, LayersDecl as r, CssNode as t };
|
package/dist/parent-vars.d.mts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/parent-vars.d.ts
|
|
2
1
|
interface Family {
|
|
3
2
|
/** The class every element of the family carries (`_f`). */
|
|
4
3
|
marker: string;
|
|
@@ -9,5 +8,4 @@ interface Family {
|
|
|
9
8
|
watch?: string;
|
|
10
9
|
}
|
|
11
10
|
declare const _default: (add: Family[]) => void;
|
|
12
|
-
//#endregion
|
|
13
11
|
export { _default as default };
|
package/dist/parent-vars.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/parent-vars.ts
|
|
2
2
|
const families = [];
|
|
3
3
|
let started = false;
|
|
4
4
|
let observer;
|
|
@@ -61,5 +61,4 @@ var parent_vars_default = (add) => {
|
|
|
61
61
|
}
|
|
62
62
|
if (observer) update([document.documentElement]);
|
|
63
63
|
};
|
|
64
|
-
//#endregion
|
|
65
64
|
export { parent_vars_default as default };
|
package/dist/plugin-types.d.mts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { cm as Part, j as Wrap, lm as Style, om as CheckIn, q as types_d_exports, t as CheckOverrides } from "./theme-types-CplLnGgG.mjs";
|
|
2
2
|
import { CSSStyleValue } from "@cssints/css-grammar/values";
|
|
3
3
|
import { Grammar, TokenType } from "@cssints/css-grammar/token";
|
|
4
4
|
import { ValidSelector } from "@cssints/css-grammar/query";
|
|
5
|
-
//#region src/author-types.d.ts
|
|
6
5
|
/** A declaration a member emits: property and value (a custom property, `--_r`, is allowed). */
|
|
7
6
|
type Decl = readonly [prop: string, value: string];
|
|
8
7
|
/** A feature of `@mdn/browser-compat-data`: `css.at-rules.container.style_queries_for_custom_properties`. */
|
|
@@ -80,8 +79,6 @@ interface Conflict {
|
|
|
80
79
|
props: (string | RegExp)[];
|
|
81
80
|
message: string;
|
|
82
81
|
}
|
|
83
|
-
//#endregion
|
|
84
|
-
//#region src/scope.d.ts
|
|
85
82
|
/** A selector of `nest()`: one with `&`, the kernel's class (`& > *`, `& p`, `:root:has(&)`, `.x &`); the build reads the rest. */
|
|
86
83
|
type NestSelector<S extends string> = S extends `${string}&${string}` ? S : `nest(): "${S}" has no &`;
|
|
87
84
|
/** What only a kernel written as styles has, besides all of "cssints". */
|
|
@@ -380,5 +377,4 @@ export declare const dependsOn: (path: string) => void;
|
|
|
380
377
|
* `scope()`; an unknown group is an error.
|
|
381
378
|
*/
|
|
382
379
|
export declare const inGroup: (group: string, property: string, value: string) => boolean;
|
|
383
|
-
//#endregion
|
|
384
380
|
export type { ArgsDef, Chain, Conflict, Css, Decl, Entry, GlobalRule, Impl, Kernel, KernelDef, Made, Members, Part, Pending, Runtime, Scope, Style, Table, ThemeRule, Typed };
|
package/dist/plugin.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { _ as inGroup, a as Entry, b as Part, c as Made, d as Scope, f as Table, g as fn, h as dependsOn, i as Css, l as Members, m as arg, n as ArgsDef, o as Impl, p as Typed, r as Chain, s as KernelDef, u as Pending, v as lacking, x as Style, y as scope } from "./scope-
|
|
2
|
-
import { a as Kernel, i as GlobalRule, n as Conflict, o as Runtime, r as Decl, s as ThemeRule } from "./author-types-
|
|
1
|
+
import { _ as inGroup, a as Entry, b as Part, c as Made, d as Scope, f as Table, g as fn, h as dependsOn, i as Css, l as Members, m as arg, n as ArgsDef, o as Impl, p as Typed, r as Chain, s as KernelDef, u as Pending, v as lacking, x as Style, y as scope } from "./scope-5A3kbBoQ.mjs";
|
|
2
|
+
import { a as Kernel, i as GlobalRule, n as Conflict, o as Runtime, r as Decl, s as ThemeRule } from "./author-types-D9IjEXwn.mjs";
|
|
3
3
|
export { type ArgsDef, type Chain, type Conflict, type Css, type Decl, type Entry, type GlobalRule, type Impl, type Kernel, type KernelDef, type Made, type Members, type Part, type Pending, type Runtime, type Scope, type Style, type Table, type ThemeRule, type Typed, arg, dependsOn, fn, inGroup, lacking, scope };
|
package/dist/plugin.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/scope.ts
|
|
2
2
|
/** `arg<T>()`: one value of the TypeScript type `T`. */
|
|
3
3
|
const arg = () => ({ "~arg": 1 });
|
|
4
4
|
/**
|
|
@@ -33,5 +33,4 @@ const dependsOn = (path) => engine().dependsOn(path);
|
|
|
33
33
|
* `scope()`; an unknown group is an error.
|
|
34
34
|
*/
|
|
35
35
|
const inGroup = (group, property, value) => engine().inGroup(group, property, value);
|
|
36
|
-
//#endregion
|
|
37
36
|
export { arg, dependsOn, fn, inGroup, lacking, scope };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Context, Data } from "effect";
|
|
2
|
-
|
|
2
|
+
// src/errors.ts
|
|
3
3
|
/** A css.* call, cv(), or a value in it is wrong. `file`, `site` (index) and `offset` name the call site, when known. */
|
|
4
4
|
var MacroError = class extends Data.TaggedError("MacroError") {};
|
|
5
5
|
/** A plugin member was called wrongly, or its styles conflict. `pluginName` is the member's name; the call site as in MacroError. */
|
|
@@ -14,8 +14,7 @@ var SiteMissingError = class extends Data.TaggedError("SiteMissingError") {};
|
|
|
14
14
|
var HookError = class extends Data.TaggedError("HookError") {};
|
|
15
15
|
/** cssints/check `contrast`: a colour that has no contrast (one it cannot read, or a translucent one). */
|
|
16
16
|
var ContrastError = class extends Data.TaggedError("ContrastError") {};
|
|
17
|
-
|
|
18
|
-
//#region src/registry.ts
|
|
17
|
+
// src/registry.ts
|
|
19
18
|
const registry = globalThis.__cssints ??= {
|
|
20
19
|
sites: /* @__PURE__ */ new Map(),
|
|
21
20
|
nodes: /* @__PURE__ */ new Map(),
|
|
@@ -79,5 +78,4 @@ const forget = (file) => {
|
|
|
79
78
|
}
|
|
80
79
|
for (const [k, c] of registry.checks) if (c.at.file === file) registry.checks.delete(k);
|
|
81
80
|
};
|
|
82
|
-
//#endregion
|
|
83
81
|
export { registry as a, EvalError as c, MacroError as d, MemberError as f, forgetWarnings as i, HookError as l, forget as n, warn as o, SiteMissingError as p, forgetKernels as r, ContrastError as s, Registry as t, ImportError as u };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/runtime.d.ts
|
|
2
1
|
type ClassValue = string | false | null | undefined | 0 | ClassValue[];
|
|
3
2
|
declare function _cx(drops: [string, string][], ...a: ClassValue[]): string;
|
|
4
3
|
interface CvRuntimeConfig {
|
|
@@ -15,5 +14,4 @@ interface CvRuntimeConfig {
|
|
|
15
14
|
}[];
|
|
16
15
|
}
|
|
17
16
|
declare function _cv(config: CvRuntimeConfig): (props?: Record<string, string | boolean | undefined>) => string;
|
|
18
|
-
//#endregion
|
|
19
17
|
export { _cv as n, _cx as r, ClassValue as t };
|
package/dist/runtime.d.mts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/runtime.d.ts
|
|
2
1
|
export type ClassValue = string | false | null | undefined | 0 | ClassValue[];
|
|
3
2
|
export declare function _cx(drops: [string, string][], ...a: ClassValue[]): string;
|
|
4
3
|
export interface CvRuntimeConfig {
|
|
@@ -14,5 +13,4 @@ export interface CvRuntimeConfig {
|
|
|
14
13
|
drops?: string;
|
|
15
14
|
}[];
|
|
16
15
|
}
|
|
17
|
-
export declare function _cv(config: CvRuntimeConfig): (props?: Record<string, string | boolean | undefined>) => string;
|
|
18
|
-
//#endregion
|
|
16
|
+
export declare function _cv(config: CvRuntimeConfig): (props?: Record<string, string | boolean | undefined>) => string;
|
package/dist/runtime.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/runtime.ts
|
|
2
2
|
function _cx(drops, ...a) {
|
|
3
3
|
const on = a.flat(Infinity).filter(Boolean).join(" ").split(" ");
|
|
4
4
|
const gone = drops.flatMap(([by, c]) => on.includes(by) ? c.split(" ") : []);
|
|
@@ -21,5 +21,4 @@ function _cv(config) {
|
|
|
21
21
|
return out.join(" ").split(" ").filter((c) => c && !gone.includes(c)).join(" ");
|
|
22
22
|
};
|
|
23
23
|
}
|
|
24
|
-
//#endregion
|
|
25
24
|
export { _cv, _cx };
|