cssints 0.7.0 → 0.8.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/README.md +2 -2
- package/dist/clay-types.d.mts +1 -1
- package/dist/clay.mjs +1 -1
- package/dist/group-common-ClVCSlR6.d.mts +1 -0
- package/dist/{group-types-BBaZ8dwy.d.mts → group-types-D1m9Whs0.d.mts} +1 -1
- package/dist/groups/baseline-2015/with-downstream.d.mts +4 -4
- package/dist/groups/baseline-2015.d.mts +4 -4
- package/dist/groups/baseline-2016/with-downstream.d.mts +4 -4
- package/dist/groups/baseline-2016.d.mts +4 -4
- package/dist/groups/baseline-2017/with-downstream.d.mts +4 -4
- package/dist/groups/baseline-2017.d.mts +4 -4
- package/dist/groups/baseline-2018/with-downstream.d.mts +4 -4
- package/dist/groups/baseline-2018.d.mts +4 -4
- package/dist/groups/baseline-2019/with-downstream.d.mts +4 -4
- package/dist/groups/baseline-2019.d.mts +4 -4
- package/dist/groups/baseline-2020/with-downstream.d.mts +4 -4
- package/dist/groups/baseline-2020.d.mts +4 -4
- package/dist/groups/baseline-2021/with-downstream.d.mts +4 -4
- package/dist/groups/baseline-2021.d.mts +4 -4
- package/dist/groups/baseline-2022/with-downstream.d.mts +4 -4
- package/dist/groups/baseline-2022.d.mts +4 -4
- package/dist/groups/baseline-2023/with-downstream.d.mts +4 -4
- package/dist/groups/baseline-2023.d.mts +4 -4
- package/dist/groups/baseline-2024/with-downstream.d.mts +4 -4
- package/dist/groups/baseline-2024.d.mts +4 -4
- package/dist/groups/baseline-2025/with-downstream.d.mts +4 -4
- package/dist/groups/baseline-2025.d.mts +4 -4
- package/dist/groups/baseline-2026/with-downstream.d.mts +2 -2
- package/dist/groups/baseline-2026.d.mts +2 -2
- package/dist/groups/compositing-2.d.mts +4 -4
- package/dist/groups/css-align-3.d.mts +4 -4
- package/dist/groups/css-anchor-position-1.d.mts +4 -4
- package/dist/groups/css-anchor-position-2.d.mts +4 -4
- package/dist/groups/css-animations-1.d.mts +4 -4
- package/dist/groups/css-animations-2.d.mts +4 -4
- package/dist/groups/css-backgrounds-3.d.mts +4 -4
- package/dist/groups/css-backgrounds-4.d.mts +4 -4
- package/dist/groups/css-borders-4.d.mts +4 -4
- package/dist/groups/css-box-4.d.mts +4 -4
- package/dist/groups/css-break-4.d.mts +4 -4
- package/dist/groups/css-cascade-5.d.mts +4 -4
- package/dist/groups/css-cascade-6.d.mts +4 -4
- package/dist/groups/css-color-4.d.mts +4 -4
- package/dist/groups/css-color-5.d.mts +4 -4
- package/dist/groups/css-color-6.d.mts +4 -4
- package/dist/groups/css-color-adjust-1.d.mts +4 -4
- package/dist/groups/css-color-hdr-1.d.mts +4 -4
- package/dist/groups/css-conditional-3.d.mts +4 -4
- package/dist/groups/css-conditional-4.d.mts +4 -4
- package/dist/groups/css-conditional-5.d.mts +4 -4
- package/dist/groups/css-contain-2.d.mts +4 -4
- package/dist/groups/css-content-3.d.mts +4 -4
- package/dist/groups/css-counter-styles-3.d.mts +4 -4
- package/dist/groups/css-display-4.d.mts +4 -4
- package/dist/groups/css-easing-2.d.mts +4 -4
- package/dist/groups/css-env-1.d.mts +4 -4
- package/dist/groups/css-flexbox-1.d.mts +4 -4
- package/dist/groups/css-fonts-4.d.mts +4 -4
- package/dist/groups/css-fonts-5.d.mts +4 -4
- package/dist/groups/css-forms-1.d.mts +4 -4
- package/dist/groups/css-gaps-1.d.mts +4 -4
- package/dist/groups/css-gcpm-3.d.mts +4 -4
- package/dist/groups/css-gcpm-4.d.mts +4 -4
- package/dist/groups/css-grid-2.d.mts +4 -4
- package/dist/groups/css-grid-3.d.mts +4 -4
- package/dist/groups/css-images-3.d.mts +4 -4
- package/dist/groups/css-images-4.d.mts +4 -4
- package/dist/groups/css-images-5.d.mts +4 -4
- package/dist/groups/css-inline-3.d.mts +4 -4
- package/dist/groups/css-lists-3.d.mts +4 -4
- package/dist/groups/css-logical-1.d.mts +4 -4
- package/dist/groups/css-masking-1.d.mts +4 -4
- package/dist/groups/css-multicol-2.d.mts +4 -4
- package/dist/groups/css-overflow-3.d.mts +4 -4
- package/dist/groups/css-overflow-4.d.mts +4 -4
- package/dist/groups/css-overflow-5.d.mts +4 -4
- package/dist/groups/css-overscroll-1.d.mts +4 -4
- package/dist/groups/css-page-3.d.mts +4 -4
- package/dist/groups/css-page-floats-3.d.mts +4 -4
- package/dist/groups/css-position-3.d.mts +4 -4
- package/dist/groups/css-position-4.d.mts +4 -4
- package/dist/groups/css-rhythm-1.d.mts +4 -4
- package/dist/groups/css-round-display-1.d.mts +4 -4
- package/dist/groups/css-ruby-1.d.mts +4 -4
- package/dist/groups/css-scroll-anchoring-1.d.mts +4 -4
- package/dist/groups/css-scroll-snap-1.d.mts +4 -4
- package/dist/groups/css-scroll-snap-2.d.mts +4 -4
- package/dist/groups/css-scrollbars-1.d.mts +4 -4
- package/dist/groups/css-shapes-1.d.mts +4 -4
- package/dist/groups/css-shapes-2.d.mts +4 -4
- package/dist/groups/css-size-adjust-1.d.mts +4 -4
- package/dist/groups/css-sizing-3.d.mts +4 -4
- package/dist/groups/css-sizing-4.d.mts +4 -4
- package/dist/groups/css-speech-1.d.mts +4 -4
- package/dist/groups/css-tables-3.d.mts +4 -4
- package/dist/groups/css-text-3.d.mts +4 -4
- package/dist/groups/css-text-4.d.mts +4 -4
- package/dist/groups/css-text-decor-3.d.mts +4 -4
- package/dist/groups/css-text-decor-4.d.mts +4 -4
- package/dist/groups/css-transforms-1.d.mts +4 -4
- package/dist/groups/css-transforms-2.d.mts +4 -4
- package/dist/groups/css-transitions-1.d.mts +4 -4
- package/dist/groups/css-transitions-2.d.mts +4 -4
- package/dist/groups/css-ui-4.d.mts +4 -4
- package/dist/groups/css-values-4.d.mts +4 -4
- package/dist/groups/css-values-5.d.mts +4 -4
- package/dist/groups/css-variables-2.d.mts +3 -3
- package/dist/groups/css-view-transitions-2.d.mts +4 -4
- package/dist/groups/css-viewport.d.mts +4 -4
- package/dist/groups/css-will-change-1.d.mts +4 -4
- package/dist/groups/css-writing-modes-4.d.mts +4 -4
- package/dist/groups/css2.d.mts +4 -4
- package/dist/groups/fill-stroke-3.d.mts +4 -4
- package/dist/groups/filter-effects-1.d.mts +4 -4
- package/dist/groups/filter-effects-2.d.mts +4 -4
- package/dist/groups/limited-availability.d.mts +2 -2
- package/dist/groups/mediaqueries-4.d.mts +4 -4
- package/dist/groups/mediaqueries-5.d.mts +4 -4
- package/dist/groups/motion-1.d.mts +4 -4
- package/dist/groups/newly-available/with-downstream.d.mts +4 -4
- package/dist/groups/newly-available.d.mts +4 -4
- package/dist/groups/not-discouraged.d.mts +4 -4
- package/dist/groups/scroll-animations-1.d.mts +4 -4
- package/dist/groups/selectors-4.d.mts +3 -3
- package/dist/groups/selectors-5.d.mts +3 -3
- package/dist/groups/widely-available/with-downstream.d.mts +4 -4
- package/dist/groups/widely-available.d.mts +4 -4
- package/dist/index.d.mts +14 -3
- package/dist/index.mjs +77 -16
- package/dist/{instrument-BN47aTEW.mjs → instrument-D68RkfDU.mjs} +7 -2
- package/dist/plugin-types.d.mts +1 -1
- package/dist/plugin.d.mts +1 -1
- package/dist/runtime.d.mts +1 -0
- package/dist/runtime.mjs +5 -1
- package/dist/{scope-5A3kbBoQ.d.mts → scope-xUS8MykU.d.mts} +16 -1
- package/dist/surface.d.mts +1 -1
- package/dist/{theme-DBCyDih4.mjs → theme-C5cmxs1-.mjs} +4 -3
- package/dist/{theme-types-CplLnGgG.d.mts → theme-types-C5OAtybo.d.mts} +17 -2
- package/dist/tui-types.d.mts +1 -1
- package/dist/tui.mjs +1 -1
- package/dist/types.d.mts +2 -2
- package/dist/vite.mjs +1 -1
- package/docs/API.md +81 -2
- package/package.json +2 -2
- package/skills/cssints/SKILL.md +8 -3
- package/dist/group-common-CTUs5yym.d.mts +0 -1
package/dist/types.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as WebkitBoxReflect, $a as forcedColorAdjust, $c as outlineColor, $d as strokeMiterlimit, $f as timelineTriggerRangeStart, $i as ellipse, $l as positionTryFallbacks, $n as borderLeftStyle, $o as invalid, $r as columnWidth, $s as maskComposite, $t as backgroundOrigin, $u as scrollMarginBlockStart, A as Steps, Aa as fontKerning, Ac as mt, Ad as sepia, Af as textEmphasisStyle, Ai as cornerTopRightShape, Al as paint, An as borderColor, Ao as image, Ap as viewTimelineAxis, Ar as caretAnimation, As as marginBlockEnd, At as animationPlayState, Au as rotateZ, B as keyframes, Ba as fontSynthesisStyle, Bc as offsetRotate, Bd as speakAs, Bf as textUnderlineOffset, Bi as cursor, Bl as pictureInPicture, Bn as borderInlineColor, Bo as inset, Bp as widows, Br as colorFn, Bs as marker, Bt as aspectRatio, Bu as scale, C as CvValue, Ca as flowTolerance, Cc as minWidth, Cd as scrollTimeline, Cf as textDecorationSkip, Ci as cornerInlineStartShape, Cl as paddingInline, Cn as borderBottom, Co as hsla, Cp as userSelect, Cr as breakInside, Cs as listStyleImage, Ct as animationComposition, Cu as right, D as Prop, Da as font, Dc as mod, Dd as scrollbarGutter, Df as textEmphasis, Di as cornerStartEndShape, Dl as paddingRight, Dn as borderBottomStyle, Do as hyphenateLimitChars, Dp as verticalAlign, Dr as calcSize, Ds as m, Dt as animationFillMode, Du as rotateFn, E as PositionTry, Ea as focusWithin, Ec as ml, Ed as scrollbarColor, Ef as textDecorationThickness, Ei as cornerShape, El as paddingLeft, En as borderBottomRightRadius, Eo as hyphenateCharacter, Ep as vectorEffect, Er as calc, Es as log, Et as animationDuration, Eu as rotate3d, F as css, Fa as fontSizeAdjust, Fc as offset, Fd as sign, Ff as textRendering, Fi as counterReset, Fl as paused, Fn as borderImageRepeat, Fo as inRange, Fp as visibility, Fr as clamp, Fs as marginInlineStart, Ft as animationTimingFunction, Fu as rubyOverhang, G as sx, Ga as fontVariantEastAsian, Gc as opacity, Gd as stopColor, Gf as timelineScope, Gi as direction, Gl as placeholderShown, Gn as borderInlineStart, Go as insetInline, Gp as wordWrap, Gr as columnFill, Gs as maskBorder, Gt as backdropFilter, Gu as scaleZ, H as positionTry, Ha as fontVariant, Hc as oklch, Hd as src, Hf as textWrap, Hi as cy, Hl as placeContent, Hn as borderInlineEndColor, Ho as insetBlockEnd, Hp as willChange, Hr as colorMix, Hs as markerMid, Ht as atan2, Hu as scaleFn, I as cv, Ia as fontStyle, Ic as offsetAnchor, Id as sin, If as textShadow, Ii as counterSet, Il as pb, In as borderImageSlice, Io as indeterminate, Ip as visited, Ir as clear, Is as marginLeft, It as animationTrigger, Iu as rubyPosition, J as within, Ja as fontVariantNumeric, Jc as optional, Jd as strokeColor, Jf as timelineTriggerExitRangeEnd, Ji as dominantBaseline, Jl as polygon, Jn as borderInlineStartWidth, Jo as interactivity, Jp as xywh, Jr as columnRule, Js as maskBorderRepeat, Jt as backgroundAttachment, Ju as scrollBehavior, K as token, Ka as fontVariantEmoji, Kc as opacityFn, Kd as stopOpacity, Kf as timelineTrigger, Ki as disabled, Kl as playing, Kn as borderInlineStartColor, Ko as insetInlineEnd, Kp as writingMode, Kr as columnGap, Ks as maskBorderMode, Kt as backfaceVisibility, Ku as scope, L as firstThatWorks, La as fontSynthesis, Lc as offsetDistance, Ld as skew, Lf as textSizeAdjust, Li as counters, Ll as perspective, Ln as borderImageSource, Lo as initialLetter, Lp as volumeLocked, Lr as clipPath, Ls as marginRight, Lt as anyLink, Lu as rx, M as attr, Ma as fontOpticalSizing, Mc as objectFit, Md as shapeMargin, Mf as textJustify, Mi as cos, Ml as paletteMix, Mn as borderEndStartRadius, Mo as imageRendering, Mp as viewTimelineName, Mr as caretShape, Ms as marginBottom, Mt as animationRangeEnd, Mu as rowGap, N as cn, Na as fontPalette, Nc as objectPosition, Nd as shapeOutside, Nf as textOrientation, Ni as counter, Nl as past, Nn as borderImage, No as imageResolution, Np as viewTransitionClass, Nr as checked, Ns as marginInline, Nt as animationRangeStart, Nu as rubyAlign, O as QueryWrap, Oa as fontFamily, Oc as modal, Od as scrollbarWidth, Of as textEmphasisColor, Oi as cornerStartStartShape, Ol as paddingTop, On as borderBottomWidth, Oo as hyphens, Op as view, Or as captionSide, Os as margin, Ot as animationIterationCount, Ou as rotateX, P as container, Pa as fontSize, Pc as objectViewBox, Pd as shapeRendering, Pf as textOverflow, Pi as counterIncrement, Pl as path, Pn as borderImageOutset, Po as imageSet, Pp as viewTransitionName, Pr as circle, Ps as marginInlineEnd, Pt as animationTimeline, Pu as rubyMerge, Q as WebkitBoxOrient, Qa as fontWidth, Qc as outline, Qd as strokeLinejoin, Qf as timelineTriggerRangeEnd, Qi as element, Ql as positionArea, Qn as borderLeftColor, Qo as interpolateSize, Qr as columnSpan, Qs as maskClip, Qt as backgroundImage, Qu as scrollMarginBlockEnd, R as global, Ra as fontSynthesisPosition, Rc as offsetPath, Rd as skewX, Rf as textSpacingTrim, Ri as crossFade, Rl as perspectiveFn, Rn as borderImageWidth, Ro as initialLetterAlign, Rp as whiteSpace, Rr as clipRule, Rs as marginTop, Rt as appearance, Ru as ry, S as CvProps, Sa as floodOpacity, Sc as minInlineSize, Sd as scrollTargetGroup, Sf as textDecorationLine, Si as cornerInlineEndShape, Sl as paddingBottom, Sn as borderBlockWidth, So as hsl, Sp as userInvalid, Sr as breakBefore, Ss as listStyle, St as animation, Su as rgba, T as Layout, Ta as focusVisible, Tc as mixBlendMode, Td as scrollTimelineName, Tf as textDecorationStyle, Ti as cornerRightShape, Tl as paddingInlineStart, Tn as borderBottomLeftRadius, To as hwb, Tp as valid, Tr as buffering, Ts as listStyleType, Tt as animationDirection, Tu as rotate, U as style, Ua as fontVariantAlternates, Uc as onlyChild, Ud as stalled, Uf as textWrapMode, Ui as d, Ul as placeItems, Un as borderInlineEndStyle, Uo as insetBlockStart, Up as wordBreak, Ur as colorScheme, Us as markerStart, Ut as attrFn, Uu as scaleX, V as media, Va as fontSynthesisWeight, Vc as oklab, Vd as sqrt, Vf as textUnderlinePosition, Vi as cx, Vl as pl, Vn as borderInlineEnd, Vo as insetBlock, Vp as width, Vr as colorInterpolationFilters, Vs as markerEnd, Vt as atan, Vu as scale3d, W as supports, Wa as fontVariantCaps, Wc as onlyOfType, Wd as steps, Wf as textWrapStyle, Wi as defined, Wl as placeSelf, Wn as borderInlineEndWidth, Wo as insetFn, Wp as wordSpacing, Wr as columnCount, Ws as mask, Wt as autofill, Wu as scaleY, X as FlexMethods, Xa as fontVariationSettings, Xc as orphans, Xd as strokeDashoffset, Xf as timelineTriggerName, Xi as dynamicRangeLimit, Xl as position, Xn as borderInlineWidth, Xo as interestDelayEnd, Xp as zIndex, Xr as columnRuleStyle, Xs as maskBorderSource, Xt as backgroundClip, Xu as scrollMargin, Y as ClassValue, Ya as fontVariantPosition, Yc as order, Yd as strokeDasharray, Yf as timelineTriggerExitRangeStart, Yi as dropShadow, Yl as popoverOpen, Yn as borderInlineStyle, Yo as interestDelay, Yp as y, Yr as columnRuleColor, Ys as maskBorderSlice, Yt as backgroundBlendMode, Yu as scrollInitialTarget, Z as GridMethods, Za as fontWeight, Zc as outOfRange, Zd as strokeLinecap, Zf as timelineTriggerRange, Zi as dynamicRangeLimitMix, Zl as positionAnchor, Zn as borderLeft, Zo as interestDelayStart, Zp as zoom, Zr as columnRuleWidth, Zs as maskBorderWidth, Zt as backgroundColor, Zu as scrollMarginBlock, _ as CSSStyleValue, _a as flexGrow, _c as maxWidth, _d as scrollPaddingRight, _f as textBoxTrim, _i as cornerBottomLeftShape, _l as p, _n as borderBlockStart, _o as gridTemplateColumns, _p as translateY, _r as bottom, _s as lineHeight, _t as all, _u as repeatingLinearGradient, a as DtcgUnit, aa as fieldSizing, ac as maskSize, ad as scrollMarginRight, af as tableLayout, ai as containIntrinsicHeight, al as overflowBlock, an as baselineShift, ao as gridArea, ap as transformOrigin, ar as borderRightWidth, as as lab, at as WebkitTextStrokeWidth, au as pt, b as ChainStyle, ba as float, bc as minBlockSize, bd as scrollSnapStop, bf as textDecorationColor, bi as cornerEndEndShape, bl as paddingBlockEnd, bn as borderBlockStartWidth, bo as height, bp as unicodeBidi, br as boxSizing, bs as linearGradient, bt as anchorScope, bu as resize, c as Tokens, ca as fillRule, cc as mathShift, cd as scrollPadding, cf as targetCounter, ci as containIntrinsicWidth, cl as overflowWrap, cm as Part, cn as blockSize, co as gridAutoRows, cp as transitionBehavior, cr as borderStartStartRadius, cs as layer, ct as _var, cu as radialGradient, d as createTokens, da as firstOfType, dc as matrix3d, dd as scrollPaddingBlockStart, df as textAlign, di as content, dl as overlay, dn as borderBlock, do as gridColumnStart, dp as transitionProperty, dr as borderTopColor, ds as left, dt as acos, du as readWrite, ea as empty, ec as maskImage, ed as scrollMarginBottom, ef as strokeOpacity, ei as columnWrap, el as outlineOffset, en as backgroundPosition, eo as fullscreen, ep as timelineTriggerSource, er as borderLeftWidth, es as invert, et as WebkitLineClamp, eu as positionTryOrder, f as layers, fa as fitContent, fc as max, fd as scrollPaddingBottom, ff as textAlignLast, fi as contentVisibility, fl as overscrollBehavior, fn as borderBlockColor, fo as gridRow, fp as transitionTimingFunction, fr as borderTopLeftRadius, fs as letterSpacing, ft as active, fu as readingFlow, g as CSSImageValue, ga as flexFlow, gc as maxLines, gd as scrollPaddingLeft, gf as textBoxEdge, gi as cornerBlockStartShape, gl as overscrollBehaviorY, gn as borderBlockEndWidth, go as gridTemplateAreas, gp as translateX, gr as borderWidth, gs as lineClamp, gt as alignmentBaseline, gu as repeatingConicGradient, h as CSSColorValue, ha as flexDirection, hc as maxInlineSize, hd as scrollPaddingInlineStart, hf as textBox, hi as cornerBlockEndShape, hl as overscrollBehaviorX, hn as borderBlockEndStyle, ho as gridTemplate, hp as translateFn, hr as borderTopWidth, hs as lineBreak, ht as alignSelf, hu as rem, i as DtcgShadow, ia as exp, ic as maskRepeat, id as scrollMarginLeft, if as tabSize, ii as containIntrinsicBlockSize, il as overflowAnchor, in as backgroundSize, io as grid, ip as transformBox, ir as borderRightStyle, is as justifySelf, it as WebkitTextStrokeColor, iu as printColorAdjust, j as Wrap, ja as fontLanguageOverride, jc as muted, jd as shapeImageThreshold, jf as textIndent, ji as cornerTopShape, jl as paintOrder, jn as borderEndEndRadius, jo as imageOrientation, jp as viewTimelineInset, jr as caretColor, js as marginBlockStart, jt as animationRange, ju as round, k as StateWrap, ka as fontFeatureSettings, kc as mr, kd as seeking, kf as textEmphasisPosition, ki as cornerTopLeftShape, kl as page, kn as borderCollapse, ko as hypot, kp as viewTimeline, kr as caret, ks as marginBlock, kt as animationName, ku as rotateY, l as check, la as filter, lc as mathStyle, ld as scrollPaddingBlock, lf as targetCounters, li as containerName, ll as overflowX, lm as Style, ln as blur, lo as gridColumn, lp as transitionDelay, lr as borderStyle, ls as lch, lt as abs, lu as ray, m as CSS, ma as flexBasis, mc as maxHeight, md as scrollPaddingInlineEnd, mf as textAutospace, mi as contrastColor, ml as overscrollBehaviorInline, mn as borderBlockEndColor, mo as gridRowStart, mp as translate3d, mr as borderTopStyle, ms as lightingColor, mt as alignItems, mu as rect, n as DtcgColor, na as enabled, nc as maskOrigin, nd as scrollMarginInlineEnd, nf as superellipse, ni as conicGradient, nl as outlineWidth, nn as backgroundPositionY, no as gap, np as touchAction, nr as borderRight, ns as justifyContent, nt as WebkitTextFillColor, nu as pow, o as DtcgValue, oa as fill, oc as maskType, od as scrollMarginTop, of as tan, oi as containIntrinsicInlineSize, ol as overflowClipMargin, on as baselineSource, oo as gridAutoColumns, op as transformStyle, or as borderSpacing, os as lastChild, ot as WebkitTouchCallout, ou as quotes, p as AttrOp, pa as flex, pc as maxBlockSize, pd as scrollPaddingInline, pf as textAnchor, pi as contrast, pl as overscrollBehaviorBlock, pn as borderBlockEnd, po as gridRowEnd, pp as translate, pr as borderTopRightRadius, ps as lightDark, pt as alignContent, pu as readingOrder, qa as fontVariantLigatures, qc as open, qd as stroke, qf as timelineTriggerExitRange, qi as display, ql as pointerEvents, qn as borderInlineStartStyle, qo as insetInlineStart, qp as x, qr as columnHeight, qs as maskBorderOutset, qt as background, qu as scroll, r as DtcgCubicBezier, ra as env, rc as maskPosition, rd as scrollMarginInlineStart, rf as symbols, ri as contain, rl as overflow, rn as backgroundRepeat, ro as grayscale, rp as transform, rr as borderRightColor, rs as justifyItems, rt as WebkitTextStroke, ru as pr, s as Overrides, sa as fillOpacity, sc as mathDepth, sd as scrollMarkerGroup, sf as target, si as containIntrinsicSize, sl as overflowInline, sm as Fallback, sn as bg, so as gridAutoFlow, sp as transition, sr as borderStartEndRadius, ss as lastOfType, st as WebkitUserModify, su as r, t as CheckOverrides, ta as emptyCells, tc as maskMode, td as scrollMarginInline, tf as strokeWidth, ti as columns, tl as outlineStyle, tn as backgroundPositionX, to as future, tp as top, tr as borderRadius, ts as isolation, tt as WebkitTapHighlightColor, tu as positionVisibility, u as createGlobalTheme, ua as firstChild, uc as matrix, ud as scrollPaddingBlockEnd, uf as targetText, ui as containerType, ul as overflowY, un as border, uo as gridColumnEnd, up as transitionDuration, ur as borderTop, us as leader, ut as accentColor, uu as readOnly, v as CSSUnitValue, va as flexShrink, vc as mb, vd as scrollPaddingTop, vf as textCombineUpright, vi as cornerBottomRightShape, vl as padding, vn as borderBlockStartColor, vo as gridTemplateRows, vp as translateZ, vr as boxDecorationBreak, vs as lineHeightStep, vt as anchor, vu as repeatingRadialGradient, w as Keyframes, wa as focus, wc as minmax, wd as scrollTimelineAxis, wf as textDecorationSkipInk, wi as cornerLeftShape, wl as paddingInlineEnd, wn as borderBottomColor, wo as hueRotate, wp as userValid, wr as brightness, ws as listStylePosition, wt as animationDelay, wu as root, x as CvConfig, xa as floodColor, xc as minHeight, xd as scrollSnapType, xf as textDecorationInset, xi as cornerEndStartShape, xl as paddingBlockStart, xn as borderBlockStyle, xo as hover, xp as url, xr as breakAfter, xs as link, xt as anchorSize, xu as rgb, y as Chain, ya as flexWrap, yc as min, yd as scrollSnapAlign, yf as textDecoration, yi as cornerBottomShape, yl as paddingBlock, yn as borderBlockStartStyle, yo as hangingPunctuation, yp as triggerScope, yr as boxShadow, ys as linear, yt as anchorName, yu as required, z as group, za as fontSynthesisSmallCaps, zc as offsetPosition, zd as skewY, zf as textTransform, zi as cubicBezier, zl as perspectiveOrigin, zn as borderInline, zo as inlineSize, zp as whiteSpaceCollapse, zr as color, zs as marginTrim, zt as asin, zu as saturate } from "./theme-types-CplLnGgG.mjs";
|
|
2
|
-
export { AttrOp, type CSS, type CSSColorValue, type CSSImageValue, type CSSStyleValue, type CSSUnitValue, Chain, ChainStyle, CheckOverrides, type ClassValue, CvConfig, CvProps, CvValue, DtcgColor, DtcgCubicBezier, DtcgShadow, DtcgUnit, DtcgValue, type Fallback, FlexMethods, GridMethods, Keyframes, Layout, Overrides, type Part, PositionTry, Prop, QueryWrap, StateWrap, Steps, type Style, Tokens, WebkitBoxOrient, WebkitBoxReflect, WebkitLineClamp, WebkitTapHighlightColor, WebkitTextFillColor, WebkitTextStroke, WebkitTextStrokeColor, WebkitTextStrokeWidth, WebkitTouchCallout, WebkitUserModify, Wrap, abs, accentColor, acos, active, alignContent, alignItems, alignSelf, alignmentBaseline, all, anchor, anchorName, anchorScope, anchorSize, animation, animationComposition, animationDelay, animationDirection, animationDuration, animationFillMode, animationIterationCount, animationName, animationPlayState, animationRange, animationRangeEnd, animationRangeStart, animationTimeline, animationTimingFunction, animationTrigger, anyLink, appearance, asin, aspectRatio, atan, atan2, attr, attrFn, autofill, backdropFilter, backfaceVisibility, background, backgroundAttachment, backgroundBlendMode, backgroundClip, backgroundColor, backgroundImage, backgroundOrigin, backgroundPosition, backgroundPositionX, backgroundPositionY, backgroundRepeat, backgroundSize, baselineShift, baselineSource, 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, boxDecorationBreak, boxShadow, boxSizing, breakAfter, breakBefore, breakInside, brightness, buffering, calc, calcSize, captionSide, caret, caretAnimation, caretColor, caretShape, check, checked, circle, clamp, clear, clipPath, clipRule, cn, color, colorFn, colorInterpolationFilters, colorMix, colorScheme, columnCount, columnFill, columnGap, columnHeight, columnRule, columnRuleColor, columnRuleStyle, columnRuleWidth, columnSpan, columnWidth, columnWrap, columns, conicGradient, contain, containIntrinsicBlockSize, containIntrinsicHeight, containIntrinsicInlineSize, containIntrinsicSize, containIntrinsicWidth, container, containerName, containerType, content, contentVisibility, contrast, contrastColor, cornerBlockEndShape, cornerBlockStartShape, cornerBottomLeftShape, cornerBottomRightShape, cornerBottomShape, cornerEndEndShape, cornerEndStartShape, cornerInlineEndShape, cornerInlineStartShape, cornerLeftShape, cornerRightShape, cornerShape, cornerStartEndShape, cornerStartStartShape, cornerTopLeftShape, cornerTopRightShape, cornerTopShape, cos, counter, counterIncrement, counterReset, counterSet, counters, createGlobalTheme, createTokens, crossFade, css, cubicBezier, cursor, cv, cx, cy, d, defined, direction, disabled, display, dominantBaseline, dropShadow, dynamicRangeLimit, dynamicRangeLimitMix, element, ellipse, empty, emptyCells, enabled, env, exp, fieldSizing, fill, fillOpacity, fillRule, filter, firstChild, firstOfType, firstThatWorks, fitContent, flex, flexBasis, flexDirection, flexFlow, flexGrow, flexShrink, flexWrap, float, floodColor, floodOpacity, flowTolerance, focus, focusVisible, focusWithin, font, fontFamily, fontFeatureSettings, fontKerning, fontLanguageOverride, fontOpticalSizing, fontPalette, fontSize, fontSizeAdjust, fontStyle, fontSynthesis, fontSynthesisPosition, fontSynthesisSmallCaps, fontSynthesisStyle, fontSynthesisWeight, fontVariant, fontVariantAlternates, fontVariantCaps, fontVariantEastAsian, fontVariantEmoji, fontVariantLigatures, fontVariantNumeric, fontVariantPosition, fontVariationSettings, fontWeight, fontWidth, forcedColorAdjust, fullscreen, future, gap, global, grayscale, grid, gridArea, gridAutoColumns, gridAutoFlow, gridAutoRows, gridColumn, gridColumnEnd, gridColumnStart, gridRow, gridRowEnd, gridRowStart, gridTemplate, gridTemplateAreas, gridTemplateColumns, gridTemplateRows, group, hangingPunctuation, height, hover, hsl, hsla, hueRotate, hwb, hyphenateCharacter, hyphenateLimitChars, hyphens, hypot, image, imageOrientation, imageRendering, imageResolution, imageSet, inRange, indeterminate, initialLetter, initialLetterAlign, inlineSize, inset, insetBlock, insetBlockEnd, insetBlockStart, insetFn, insetInline, insetInlineEnd, insetInlineStart, interactivity, interestDelay, interestDelayEnd, interestDelayStart, interpolateSize, invalid, invert, isolation, justifyContent, justifyItems, justifySelf, keyframes, lab, lastChild, lastOfType, layer, layers, lch, leader, left, letterSpacing, lightDark, lightingColor, lineBreak, lineClamp, lineHeight, lineHeightStep, linear, linearGradient, link, listStyle, listStyleImage, listStylePosition, listStyleType, log, m, margin, marginBlock, marginBlockEnd, marginBlockStart, marginBottom, marginInline, marginInlineEnd, marginInlineStart, marginLeft, marginRight, marginTop, marginTrim, marker, markerEnd, markerMid, markerStart, mask, maskBorder, maskBorderMode, maskBorderOutset, maskBorderRepeat, maskBorderSlice, maskBorderSource, maskBorderWidth, maskClip, maskComposite, maskImage, maskMode, maskOrigin, maskPosition, maskRepeat, maskSize, maskType, mathDepth, mathShift, mathStyle, matrix, matrix3d, max, maxBlockSize, maxHeight, maxInlineSize, maxLines, maxWidth, mb, media, min, minBlockSize, minHeight, minInlineSize, minWidth, minmax, mixBlendMode, ml, mod, modal, mr, mt, muted, objectFit, objectPosition, objectViewBox, offset, offsetAnchor, offsetDistance, offsetPath, offsetPosition, offsetRotate, oklab, oklch, onlyChild, onlyOfType, opacity, opacityFn, open, optional, order, orphans, outOfRange, outline, outlineColor, outlineOffset, outlineStyle, outlineWidth, overflow, overflowAnchor, overflowBlock, overflowClipMargin, overflowInline, overflowWrap, overflowX, overflowY, overlay, overscrollBehavior, overscrollBehaviorBlock, overscrollBehaviorInline, overscrollBehaviorX, overscrollBehaviorY, p, padding, paddingBlock, paddingBlockEnd, paddingBlockStart, paddingBottom, paddingInline, paddingInlineEnd, paddingInlineStart, paddingLeft, paddingRight, paddingTop, page, paint, paintOrder, paletteMix, past, path, paused, pb, perspective, perspectiveFn, perspectiveOrigin, pictureInPicture, pl, placeContent, placeItems, placeSelf, placeholderShown, playing, pointerEvents, polygon, popoverOpen, position, positionAnchor, positionArea, positionTry, positionTryFallbacks, positionTryOrder, positionVisibility, pow, pr, printColorAdjust, pt, quotes, r, radialGradient, ray, readOnly, readWrite, readingFlow, readingOrder, rect, rem, repeatingConicGradient, repeatingLinearGradient, repeatingRadialGradient, required, resize, rgb, rgba, right, root, rotate, rotate3d, rotateFn, rotateX, rotateY, rotateZ, round, rowGap, rubyAlign, rubyMerge, rubyOverhang, rubyPosition, rx, ry, saturate, scale, scale3d, scaleFn, scaleX, scaleY, scaleZ, scope, scroll, scrollBehavior, scrollInitialTarget, scrollMargin, scrollMarginBlock, scrollMarginBlockEnd, scrollMarginBlockStart, scrollMarginBottom, scrollMarginInline, scrollMarginInlineEnd, scrollMarginInlineStart, scrollMarginLeft, scrollMarginRight, scrollMarginTop, scrollMarkerGroup, scrollPadding, scrollPaddingBlock, scrollPaddingBlockEnd, scrollPaddingBlockStart, scrollPaddingBottom, scrollPaddingInline, scrollPaddingInlineEnd, scrollPaddingInlineStart, scrollPaddingLeft, scrollPaddingRight, scrollPaddingTop, scrollSnapAlign, scrollSnapStop, scrollSnapType, scrollTargetGroup, scrollTimeline, scrollTimelineAxis, scrollTimelineName, scrollbarColor, scrollbarGutter, scrollbarWidth, seeking, sepia, shapeImageThreshold, shapeMargin, shapeOutside, shapeRendering, sign, sin, skew, skewX, skewY, speakAs, sqrt, src, stalled, steps, stopColor, stopOpacity, stroke, strokeColor, strokeDasharray, strokeDashoffset, strokeLinecap, strokeLinejoin, strokeMiterlimit, strokeOpacity, strokeWidth, style, superellipse, supports, sx, symbols, tabSize, tableLayout, tan, target, targetCounter, targetCounters, targetText, textAlign, textAlignLast, textAnchor, textAutospace, textBox, textBoxEdge, textBoxTrim, textCombineUpright, textDecoration, textDecorationColor, textDecorationInset, textDecorationLine, textDecorationSkip, textDecorationSkipInk, textDecorationStyle, textDecorationThickness, textEmphasis, textEmphasisColor, textEmphasisPosition, textEmphasisStyle, textIndent, textJustify, textOrientation, textOverflow, textRendering, textShadow, textSizeAdjust, textSpacingTrim, textTransform, textUnderlineOffset, textUnderlinePosition, textWrap, textWrapMode, textWrapStyle, timelineScope, timelineTrigger, timelineTriggerExitRange, timelineTriggerExitRangeEnd, timelineTriggerExitRangeStart, timelineTriggerName, timelineTriggerRange, timelineTriggerRangeEnd, timelineTriggerRangeStart, timelineTriggerSource, token, top, touchAction, transform, transformBox, transformOrigin, transformStyle, transition, transitionBehavior, transitionDelay, transitionDuration, transitionProperty, transitionTimingFunction, translate, translate3d, translateFn, translateX, translateY, translateZ, triggerScope, unicodeBidi, url, userInvalid, userSelect, userValid, valid, _var as var, vectorEffect, verticalAlign, view, viewTimeline, viewTimelineAxis, viewTimelineInset, viewTimelineName, viewTransitionClass, viewTransitionName, visibility, visited, volumeLocked, whiteSpace, whiteSpaceCollapse, widows, width, willChange, within, wordBreak, wordSpacing, wordWrap, writingMode, x, xywh, y, zIndex, zoom };
|
|
1
|
+
import { $ as FlexMethods, $a as fontVariationSettings, $c as orphans, $d as strokeDashoffset, $f as timelineTriggerName, $i as dynamicRangeLimit, $l as position, $n as borderInlineWidth, $o as interestDelayEnd, $p as zIndex, $r as columnRuleStyle, $s as maskBorderSource, $t as backgroundClip, $u as scrollMargin, A as ScvValue, Aa as font, Ac as mod, Ad as scrollbarGutter, Af as textEmphasis, Ai as cornerStartEndShape, Al as paddingRight, An as borderBottomStyle, Ao as hyphenateLimitChars, Ap as verticalAlign, Ar as calcSize, As as m, At as animationFillMode, Au as rotateFn, B as global, Ba as fontSynthesis, Bc as offsetDistance, Bd as skew, Bf as textSizeAdjust, Bi as counters, Bl as perspective, Bn as borderImageSource, Bo as initialLetter, Bp as volumeLocked, Br as clipPath, Bs as marginRight, Bt as anyLink, Bu as rx, C as CvValue, Ca as float, Cc as minBlockSize, Cd as scrollSnapStop, Cf as textDecorationColor, Ci as cornerEndEndShape, Cl as paddingBlockEnd, Cn as borderBlockStartWidth, Co as height, Cp as unicodeBidi, Cr as boxSizing, Cs as linearGradient, Ct as anchorScope, Cu as resize, D as Prop, Da as focus, Dc as minmax, Dd as scrollTimelineAxis, Df as textDecorationSkipInk, Di as cornerLeftShape, Dl as paddingInlineEnd, Dn as borderBottomColor, Do as hueRotate, Dp as userValid, Dr as brightness, Ds as listStylePosition, Dt as animationDelay, Du as root, E as PositionTry, Ea as flowTolerance, Ec as minWidth, Ed as scrollTimeline, Ef as textDecorationSkip, Ei as cornerInlineStartShape, El as paddingInline, En as borderBottom, Eo as hsla, Ep as userSelect, Er as breakInside, Es as listStyleImage, Et as animationComposition, Eu as right, F as cn, Fa as fontOpticalSizing, Fc as objectFit, Fd as shapeMargin, Ff as textJustify, Fi as cos, Fl as paletteMix, Fn as borderEndStartRadius, Fo as imageRendering, Fp as viewTimelineName, Fr as caretShape, Fs as marginBottom, Ft as animationRangeEnd, Fu as rowGap, G as scv, Ga as fontVariant, Gc as oklch, Gd as src, Gf as textWrap, Gi as cy, Gl as placeContent, Gn as borderInlineEndColor, Go as insetBlockEnd, Gp as willChange, Gr as colorMix, Gs as markerMid, Gt as atan2, Gu as scaleFn, H as keyframes, Ha as fontSynthesisSmallCaps, Hc as offsetPosition, Hd as skewY, Hf as textTransform, Hi as cubicBezier, Hl as perspectiveOrigin, Hn as borderInline, Ho as inlineSize, Hp as whiteSpaceCollapse, Hr as color, Hs as marginTrim, Ht as asin, Hu as saturate, I as container, Ia as fontPalette, Ic as objectPosition, Id as shapeOutside, If as textOrientation, Ii as counter, Il as past, In as borderImage, Io as imageResolution, Ip as viewTransitionClass, Ir as checked, Is as marginInline, It as animationRangeStart, Iu as rubyAlign, J as sx, Ja as fontVariantEastAsian, Jc as opacity, Jd as stopColor, Jf as timelineScope, Ji as direction, Jl as placeholderShown, Jn as borderInlineStart, Jo as insetInline, Jp as wordWrap, Jr as columnFill, Js as maskBorder, Jt as backdropFilter, Ju as scaleZ, K as style, Ka as fontVariantAlternates, Kc as onlyChild, Kd as stalled, Kf as textWrapMode, Ki as d, Kl as placeItems, Kn as borderInlineEndStyle, Ko as insetBlockStart, Kp as wordBreak, Kr as colorScheme, Ks as markerStart, Kt as attrFn, Ku as scaleX, L as css, La as fontSize, Lc as objectViewBox, Ld as shapeRendering, Lf as textOverflow, Li as counterIncrement, Ll as path, Ln as borderImageOutset, Lo as imageSet, Lp as viewTransitionName, Lr as circle, Ls as marginInlineEnd, Lt as animationTimeline, Lu as rubyMerge, M as Steps, Ma as fontFeatureSettings, Mc as mr, Md as seeking, Mf as textEmphasisPosition, Mi as cornerTopLeftShape, Ml as page, Mn as borderCollapse, Mo as hypot, Mp as viewTimeline, Mr as caret, Ms as marginBlock, Mt as animationName, Mu as rotateY, N as Wrap, Na as fontKerning, Nc as mt, Nd as sepia, Nf as textEmphasisStyle, Ni as cornerTopRightShape, Nl as paint, Nn as borderColor, No as image, Np as viewTimelineAxis, Nr as caretAnimation, Ns as marginBlockEnd, Nt as animationPlayState, Nu as rotateZ, O as QueryWrap, Oa as focusVisible, Oc as mixBlendMode, Od as scrollTimelineName, Of as textDecorationStyle, Oi as cornerRightShape, Ol as paddingInlineStart, On as borderBottomLeftRadius, Oo as hwb, Op as valid, Or as buffering, Os as listStyleType, Ot as animationDirection, Ou as rotate, P as attr, Pa as fontLanguageOverride, Pc as muted, Pd as shapeImageThreshold, Pf as textIndent, Pi as cornerTopShape, Pl as paintOrder, Pn as borderEndEndRadius, Po as imageOrientation, Pp as viewTimelineInset, Pr as caretColor, Ps as marginBlockStart, Pt as animationRange, Pu as round, Q as ClassValue, Qa as fontVariantPosition, Qc as order, Qd as strokeDasharray, Qf as timelineTriggerExitRangeStart, Qi as dropShadow, Ql as popoverOpen, Qn as borderInlineStyle, Qo as interestDelay, Qp as y, Qr as columnRuleColor, Qs as maskBorderSlice, Qt as backgroundBlendMode, Qu as scrollInitialTarget, R as cv, Ra as fontSizeAdjust, Rc as offset, Rd as sign, Rf as textRendering, Ri as counterReset, Rl as paused, Rn as borderImageRepeat, Ro as inRange, Rp as visibility, Rr as clamp, Rs as marginInlineStart, Rt as animationTimingFunction, Ru as rubyOverhang, S as CvProps, Sa as flexWrap, Sc as min, Sd as scrollSnapAlign, Sf as textDecoration, Si as cornerBottomShape, Sl as paddingBlock, Sn as borderBlockStartStyle, So as hangingPunctuation, Sp as triggerScope, Sr as boxShadow, Ss as linear, St as anchorName, Su as required, T as Layout, Ta as floodOpacity, Tc as minInlineSize, Td as scrollTargetGroup, Tf as textDecorationLine, Ti as cornerInlineEndShape, Tl as paddingBottom, Tn as borderBlockWidth, To as hsl, Tp as userInvalid, Tr as breakBefore, Ts as listStyle, Tt as animation, Tu as rgba, U as media, Ua as fontSynthesisStyle, Uc as offsetRotate, Ud as speakAs, Uf as textUnderlineOffset, Ui as cursor, Ul as pictureInPicture, Un as borderInlineColor, Uo as inset, Up as widows, Ur as colorFn, Us as marker, Ut as aspectRatio, Uu as scale, V as group, Va as fontSynthesisPosition, Vc as offsetPath, Vd as skewX, Vf as textSpacingTrim, Vi as crossFade, Vl as perspectiveFn, Vn as borderImageWidth, Vo as initialLetterAlign, Vp as whiteSpace, Vr as clipRule, Vs as marginTop, Vt as appearance, Vu as ry, W as positionTry, Wa as fontSynthesisWeight, Wc as oklab, Wd as sqrt, Wf as textUnderlinePosition, Wi as cx, Wl as pl, Wn as borderInlineEnd, Wo as insetBlock, Wp as width, Wr as colorInterpolationFilters, Ws as markerEnd, Wt as atan, Wu as scale3d, Xa as fontVariantLigatures, Xc as open, Xd as stroke, Xf as timelineTriggerExitRange, Xi as display, Xl as pointerEvents, Xn as borderInlineStartStyle, Xo as insetInlineStart, Xp as x, Xr as columnHeight, Xs as maskBorderOutset, Xt as background, Xu as scroll, Y as token, Ya as fontVariantEmoji, Yc as opacityFn, Yd as stopOpacity, Yf as timelineTrigger, Yi as disabled, Yl as playing, Yn as borderInlineStartColor, Yo as insetInlineEnd, Yp as writingMode, Yr as columnGap, Ys as maskBorderMode, Yt as backfaceVisibility, Yu as scope, Z as within, Za as fontVariantNumeric, Zc as optional, Zd as strokeColor, Zf as timelineTriggerExitRangeEnd, Zi as dominantBaseline, Zl as polygon, Zn as borderInlineStartWidth, Zo as interactivity, Zp as xywh, Zr as columnRule, Zs as maskBorderRepeat, Zt as backgroundAttachment, Zu as scrollBehavior, _ as CSSStyleValue, _a as flexBasis, _c as maxHeight, _d as scrollPaddingInlineEnd, _f as textAutospace, _i as contrastColor, _l as overscrollBehaviorInline, _n as borderBlockEndColor, _o as gridRowStart, _p as translate3d, _r as borderTopStyle, _s as lightingColor, _t as alignItems, _u as rect, a as DtcgUnit, aa as enabled, ac as maskOrigin, ad as scrollMarginInlineEnd, af as superellipse, ai as conicGradient, al as outlineWidth, an as backgroundPositionY, ao as gap, ap as touchAction, ar as borderRight, as as justifyContent, at as WebkitTextFillColor, au as pow, b as ChainStyle, ba as flexGrow, bc as maxWidth, bd as scrollPaddingRight, bf as textBoxTrim, bi as cornerBottomLeftShape, bl as p, bn as borderBlockStart, bo as gridTemplateColumns, bp as translateY, br as bottom, bs as lineHeight, bt as all, bu as repeatingLinearGradient, c as Tokens, ca as fieldSizing, cc as maskSize, cd as scrollMarginRight, cf as tableLayout, ci as containIntrinsicHeight, cl as overflowBlock, cn as baselineShift, co as gridArea, cp as transformOrigin, cr as borderRightWidth, cs as lab, ct as WebkitTextStrokeWidth, cu as pt, d as createTokens, da as fillRule, dc as mathShift, dd as scrollPadding, df as targetCounter, di as containIntrinsicWidth, dl as overflowWrap, dm as Part, dn as blockSize, do as gridAutoRows, dp as transitionBehavior, dr as borderStartStartRadius, ds as layer, dt as _var, du as radialGradient, ea as dynamicRangeLimitMix, ec as maskBorderWidth, ed as scrollMarginBlock, ef as strokeLinecap, ei as columnRuleWidth, el as outOfRange, em as zoom, en as backgroundColor, eo as fontWeight, ep as timelineTriggerRange, er as borderLeft, es as interestDelayStart, et as GridMethods, eu as positionAnchor, f as layers, fa as filter, fc as mathStyle, fd as scrollPaddingBlock, ff as targetCounters, fi as containerName, fl as overflowX, fm as Style, fn as blur, fo as gridColumn, fp as transitionDelay, fr as borderStyle, fs as lch, ft as abs, fu as ray, g as CSSImageValue, ga as flex, gc as maxBlockSize, gd as scrollPaddingInline, gf as textAnchor, gi as contrast, gl as overscrollBehaviorBlock, gn as borderBlockEnd, go as gridRowEnd, gp as translate, gr as borderTopRightRadius, gs as lightDark, gt as alignContent, gu as readingOrder, h as CSSColorValue, ha as fitContent, hc as max, hd as scrollPaddingBottom, hf as textAlignLast, hi as contentVisibility, hl as overscrollBehavior, hn as borderBlockColor, ho as gridRow, hp as transitionTimingFunction, hr as borderTopLeftRadius, hs as letterSpacing, ht as active, hu as readingFlow, i as DtcgShadow, ia as emptyCells, ic as maskMode, id as scrollMarginInline, if as strokeWidth, ii as columns, il as outlineStyle, in as backgroundPositionX, io as future, ip as top, ir as borderRadius, is as isolation, it as WebkitTapHighlightColor, iu as positionVisibility, j as StateWrap, ja as fontFamily, jc as modal, jd as scrollbarWidth, jf as textEmphasisColor, ji as cornerStartStartShape, jl as paddingTop, jn as borderBottomWidth, jo as hyphens, jp as view, jr as captionSide, js as margin, jt as animationIterationCount, ju as rotateX, k as ScvConfig, ka as focusWithin, kc as ml, kd as scrollbarColor, kf as textDecorationThickness, ki as cornerShape, kl as paddingLeft, kn as borderBottomRightRadius, ko as hyphenateCharacter, kp as vectorEffect, kr as calc, ks as log, kt as animationDuration, ku as rotate3d, l as check, la as fill, lc as maskType, ld as scrollMarginTop, lf as tan, li as containIntrinsicInlineSize, ll as overflowClipMargin, ln as baselineSource, lo as gridAutoColumns, lp as transformStyle, lr as borderSpacing, ls as lastChild, lt as WebkitTouchCallout, lu as quotes, m as CSS, ma as firstOfType, mc as matrix3d, md as scrollPaddingBlockStart, mf as textAlign, mi as content, ml as overlay, mn as borderBlock, mo as gridColumnStart, mp as transitionProperty, mr as borderTopColor, ms as left, mt as acos, mu as readWrite, n as DtcgColor, na as ellipse, nc as maskComposite, nd as scrollMarginBlockStart, nf as strokeMiterlimit, ni as columnWidth, nl as outlineColor, nn as backgroundOrigin, no as forcedColorAdjust, np as timelineTriggerRangeStart, nr as borderLeftStyle, ns as invalid, nt as WebkitBoxReflect, nu as positionTryFallbacks, o as DtcgValue, oa as env, oc as maskPosition, od as scrollMarginInlineStart, of as symbols, oi as contain, ol as overflow, on as backgroundRepeat, oo as grayscale, op as transform, or as borderRightColor, os as justifyItems, ot as WebkitTextStroke, ou as pr, p as AttrOp, pa as firstChild, pc as matrix, pd as scrollPaddingBlockEnd, pf as targetText, pi as containerType, pl as overflowY, pn as border, po as gridColumnEnd, pp as transitionDuration, pr as borderTop, ps as leader, pt as accentColor, pu as readOnly, q as supports, qa as fontVariantCaps, qc as onlyOfType, qd as steps, qf as textWrapStyle, qi as defined, ql as placeSelf, qn as borderInlineEndWidth, qo as insetFn, qp as wordSpacing, qr as columnCount, qs as mask, qt as autofill, qu as scaleY, r as DtcgCubicBezier, ra as empty, rc as maskImage, rd as scrollMarginBottom, rf as strokeOpacity, ri as columnWrap, rl as outlineOffset, rn as backgroundPosition, ro as fullscreen, rp as timelineTriggerSource, rr as borderLeftWidth, rs as invert, rt as WebkitLineClamp, ru as positionTryOrder, s as Overrides, sa as exp, sc as maskRepeat, sd as scrollMarginLeft, sf as tabSize, si as containIntrinsicBlockSize, sl as overflowAnchor, sn as backgroundSize, so as grid, sp as transformBox, sr as borderRightStyle, ss as justifySelf, st as WebkitTextStrokeColor, su as printColorAdjust, t as CheckOverrides, ta as element, tc as maskClip, td as scrollMarginBlockEnd, tf as strokeLinejoin, ti as columnSpan, tl as outline, tn as backgroundImage, to as fontWidth, tp as timelineTriggerRangeEnd, tr as borderLeftColor, ts as interpolateSize, tt as WebkitBoxOrient, tu as positionArea, u as createGlobalTheme, ua as fillOpacity, uc as mathDepth, ud as scrollMarkerGroup, uf as target, ui as containIntrinsicSize, ul as overflowInline, um as Fallback, un as bg, uo as gridAutoFlow, up as transition, ur as borderStartEndRadius, us as lastOfType, ut as WebkitUserModify, uu as r, v as CSSUnitValue, va as flexDirection, vc as maxInlineSize, vd as scrollPaddingInlineStart, vf as textBox, vi as cornerBlockEndShape, vl as overscrollBehaviorX, vn as borderBlockEndStyle, vo as gridTemplate, vp as translateFn, vr as borderTopWidth, vs as lineBreak, vt as alignSelf, vu as rem, w as Keyframes, wa as floodColor, wc as minHeight, wd as scrollSnapType, wf as textDecorationInset, wi as cornerEndStartShape, wl as paddingBlockStart, wn as borderBlockStyle, wo as hover, wp as url, wr as breakAfter, ws as link, wt as anchorSize, wu as rgb, x as CvConfig, xa as flexShrink, xc as mb, xd as scrollPaddingTop, xf as textCombineUpright, xi as cornerBottomRightShape, xl as padding, xn as borderBlockStartColor, xo as gridTemplateRows, xp as translateZ, xr as boxDecorationBreak, xs as lineHeightStep, xt as anchor, xu as repeatingRadialGradient, y as Chain, ya as flexFlow, yc as maxLines, yd as scrollPaddingLeft, yf as textBoxEdge, yi as cornerBlockStartShape, yl as overscrollBehaviorY, yn as borderBlockEndWidth, yo as gridTemplateAreas, yp as translateX, yr as borderWidth, ys as lineClamp, yt as alignmentBaseline, yu as repeatingConicGradient, z as firstThatWorks, za as fontStyle, zc as offsetAnchor, zd as sin, zf as textShadow, zi as counterSet, zl as pb, zn as borderImageSlice, zo as indeterminate, zp as visited, zr as clear, zs as marginLeft, zt as animationTrigger, zu as rubyPosition } from "./theme-types-C5OAtybo.mjs";
|
|
2
|
+
export { AttrOp, type CSS, type CSSColorValue, type CSSImageValue, type CSSStyleValue, type CSSUnitValue, Chain, ChainStyle, CheckOverrides, type ClassValue, CvConfig, CvProps, CvValue, DtcgColor, DtcgCubicBezier, DtcgShadow, DtcgUnit, DtcgValue, type Fallback, FlexMethods, GridMethods, Keyframes, Layout, Overrides, type Part, PositionTry, Prop, QueryWrap, ScvConfig, ScvValue, StateWrap, Steps, type Style, Tokens, WebkitBoxOrient, WebkitBoxReflect, WebkitLineClamp, WebkitTapHighlightColor, WebkitTextFillColor, WebkitTextStroke, WebkitTextStrokeColor, WebkitTextStrokeWidth, WebkitTouchCallout, WebkitUserModify, Wrap, abs, accentColor, acos, active, alignContent, alignItems, alignSelf, alignmentBaseline, all, anchor, anchorName, anchorScope, anchorSize, animation, animationComposition, animationDelay, animationDirection, animationDuration, animationFillMode, animationIterationCount, animationName, animationPlayState, animationRange, animationRangeEnd, animationRangeStart, animationTimeline, animationTimingFunction, animationTrigger, anyLink, appearance, asin, aspectRatio, atan, atan2, attr, attrFn, autofill, backdropFilter, backfaceVisibility, background, backgroundAttachment, backgroundBlendMode, backgroundClip, backgroundColor, backgroundImage, backgroundOrigin, backgroundPosition, backgroundPositionX, backgroundPositionY, backgroundRepeat, backgroundSize, baselineShift, baselineSource, 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, boxDecorationBreak, boxShadow, boxSizing, breakAfter, breakBefore, breakInside, brightness, buffering, calc, calcSize, captionSide, caret, caretAnimation, caretColor, caretShape, check, checked, circle, clamp, clear, clipPath, clipRule, cn, color, colorFn, colorInterpolationFilters, colorMix, colorScheme, columnCount, columnFill, columnGap, columnHeight, columnRule, columnRuleColor, columnRuleStyle, columnRuleWidth, columnSpan, columnWidth, columnWrap, columns, conicGradient, contain, containIntrinsicBlockSize, containIntrinsicHeight, containIntrinsicInlineSize, containIntrinsicSize, containIntrinsicWidth, container, containerName, containerType, content, contentVisibility, contrast, contrastColor, cornerBlockEndShape, cornerBlockStartShape, cornerBottomLeftShape, cornerBottomRightShape, cornerBottomShape, cornerEndEndShape, cornerEndStartShape, cornerInlineEndShape, cornerInlineStartShape, cornerLeftShape, cornerRightShape, cornerShape, cornerStartEndShape, cornerStartStartShape, cornerTopLeftShape, cornerTopRightShape, cornerTopShape, cos, counter, counterIncrement, counterReset, counterSet, counters, createGlobalTheme, createTokens, crossFade, css, cubicBezier, cursor, cv, cx, cy, d, defined, direction, disabled, display, dominantBaseline, dropShadow, dynamicRangeLimit, dynamicRangeLimitMix, element, ellipse, empty, emptyCells, enabled, env, exp, fieldSizing, fill, fillOpacity, fillRule, filter, firstChild, firstOfType, firstThatWorks, fitContent, flex, flexBasis, flexDirection, flexFlow, flexGrow, flexShrink, flexWrap, float, floodColor, floodOpacity, flowTolerance, focus, focusVisible, focusWithin, font, fontFamily, fontFeatureSettings, fontKerning, fontLanguageOverride, fontOpticalSizing, fontPalette, fontSize, fontSizeAdjust, fontStyle, fontSynthesis, fontSynthesisPosition, fontSynthesisSmallCaps, fontSynthesisStyle, fontSynthesisWeight, fontVariant, fontVariantAlternates, fontVariantCaps, fontVariantEastAsian, fontVariantEmoji, fontVariantLigatures, fontVariantNumeric, fontVariantPosition, fontVariationSettings, fontWeight, fontWidth, forcedColorAdjust, fullscreen, future, gap, global, grayscale, grid, gridArea, gridAutoColumns, gridAutoFlow, gridAutoRows, gridColumn, gridColumnEnd, gridColumnStart, gridRow, gridRowEnd, gridRowStart, gridTemplate, gridTemplateAreas, gridTemplateColumns, gridTemplateRows, group, hangingPunctuation, height, hover, hsl, hsla, hueRotate, hwb, hyphenateCharacter, hyphenateLimitChars, hyphens, hypot, image, imageOrientation, imageRendering, imageResolution, imageSet, inRange, indeterminate, initialLetter, initialLetterAlign, inlineSize, inset, insetBlock, insetBlockEnd, insetBlockStart, insetFn, insetInline, insetInlineEnd, insetInlineStart, interactivity, interestDelay, interestDelayEnd, interestDelayStart, interpolateSize, invalid, invert, isolation, justifyContent, justifyItems, justifySelf, keyframes, lab, lastChild, lastOfType, layer, layers, lch, leader, left, letterSpacing, lightDark, lightingColor, lineBreak, lineClamp, lineHeight, lineHeightStep, linear, linearGradient, link, listStyle, listStyleImage, listStylePosition, listStyleType, log, m, margin, marginBlock, marginBlockEnd, marginBlockStart, marginBottom, marginInline, marginInlineEnd, marginInlineStart, marginLeft, marginRight, marginTop, marginTrim, marker, markerEnd, markerMid, markerStart, mask, maskBorder, maskBorderMode, maskBorderOutset, maskBorderRepeat, maskBorderSlice, maskBorderSource, maskBorderWidth, maskClip, maskComposite, maskImage, maskMode, maskOrigin, maskPosition, maskRepeat, maskSize, maskType, mathDepth, mathShift, mathStyle, matrix, matrix3d, max, maxBlockSize, maxHeight, maxInlineSize, maxLines, maxWidth, mb, media, min, minBlockSize, minHeight, minInlineSize, minWidth, minmax, mixBlendMode, ml, mod, modal, mr, mt, muted, objectFit, objectPosition, objectViewBox, offset, offsetAnchor, offsetDistance, offsetPath, offsetPosition, offsetRotate, oklab, oklch, onlyChild, onlyOfType, opacity, opacityFn, open, optional, order, orphans, outOfRange, outline, outlineColor, outlineOffset, outlineStyle, outlineWidth, overflow, overflowAnchor, overflowBlock, overflowClipMargin, overflowInline, overflowWrap, overflowX, overflowY, overlay, overscrollBehavior, overscrollBehaviorBlock, overscrollBehaviorInline, overscrollBehaviorX, overscrollBehaviorY, p, padding, paddingBlock, paddingBlockEnd, paddingBlockStart, paddingBottom, paddingInline, paddingInlineEnd, paddingInlineStart, paddingLeft, paddingRight, paddingTop, page, paint, paintOrder, paletteMix, past, path, paused, pb, perspective, perspectiveFn, perspectiveOrigin, pictureInPicture, pl, placeContent, placeItems, placeSelf, placeholderShown, playing, pointerEvents, polygon, popoverOpen, position, positionAnchor, positionArea, positionTry, positionTryFallbacks, positionTryOrder, positionVisibility, pow, pr, printColorAdjust, pt, quotes, r, radialGradient, ray, readOnly, readWrite, readingFlow, readingOrder, rect, rem, repeatingConicGradient, repeatingLinearGradient, repeatingRadialGradient, required, resize, rgb, rgba, right, root, rotate, rotate3d, rotateFn, rotateX, rotateY, rotateZ, round, rowGap, rubyAlign, rubyMerge, rubyOverhang, rubyPosition, rx, ry, saturate, scale, scale3d, scaleFn, scaleX, scaleY, scaleZ, scope, scroll, scrollBehavior, scrollInitialTarget, scrollMargin, scrollMarginBlock, scrollMarginBlockEnd, scrollMarginBlockStart, scrollMarginBottom, scrollMarginInline, scrollMarginInlineEnd, scrollMarginInlineStart, scrollMarginLeft, scrollMarginRight, scrollMarginTop, scrollMarkerGroup, scrollPadding, scrollPaddingBlock, scrollPaddingBlockEnd, scrollPaddingBlockStart, scrollPaddingBottom, scrollPaddingInline, scrollPaddingInlineEnd, scrollPaddingInlineStart, scrollPaddingLeft, scrollPaddingRight, scrollPaddingTop, scrollSnapAlign, scrollSnapStop, scrollSnapType, scrollTargetGroup, scrollTimeline, scrollTimelineAxis, scrollTimelineName, scrollbarColor, scrollbarGutter, scrollbarWidth, scv, seeking, sepia, shapeImageThreshold, shapeMargin, shapeOutside, shapeRendering, sign, sin, skew, skewX, skewY, speakAs, sqrt, src, stalled, steps, stopColor, stopOpacity, stroke, strokeColor, strokeDasharray, strokeDashoffset, strokeLinecap, strokeLinejoin, strokeMiterlimit, strokeOpacity, strokeWidth, style, superellipse, supports, sx, symbols, tabSize, tableLayout, tan, target, targetCounter, targetCounters, targetText, textAlign, textAlignLast, textAnchor, textAutospace, textBox, textBoxEdge, textBoxTrim, textCombineUpright, textDecoration, textDecorationColor, textDecorationInset, textDecorationLine, textDecorationSkip, textDecorationSkipInk, textDecorationStyle, textDecorationThickness, textEmphasis, textEmphasisColor, textEmphasisPosition, textEmphasisStyle, textIndent, textJustify, textOrientation, textOverflow, textRendering, textShadow, textSizeAdjust, textSpacingTrim, textTransform, textUnderlineOffset, textUnderlinePosition, textWrap, textWrapMode, textWrapStyle, timelineScope, timelineTrigger, timelineTriggerExitRange, timelineTriggerExitRangeEnd, timelineTriggerExitRangeStart, timelineTriggerName, timelineTriggerRange, timelineTriggerRangeEnd, timelineTriggerRangeStart, timelineTriggerSource, token, top, touchAction, transform, transformBox, transformOrigin, transformStyle, transition, transitionBehavior, transitionDelay, transitionDuration, transitionProperty, transitionTimingFunction, translate, translate3d, translateFn, translateX, translateY, translateZ, triggerScope, unicodeBidi, url, userInvalid, userSelect, userValid, valid, _var as var, vectorEffect, verticalAlign, view, viewTimeline, viewTimelineAxis, viewTimelineInset, viewTimelineName, viewTransitionClass, viewTransitionName, visibility, visited, volumeLocked, whiteSpace, whiteSpaceCollapse, widows, width, willChange, within, wordBreak, wordSpacing, wordWrap, writingMode, x, xywh, y, zIndex, zoom };
|
package/dist/vite.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as EvalError, d as MacroError, f as MemberError, i as forgetWarnings, l as HookError, n as forget, p as SiteMissingError, t as Registry } from "./registry-8sYvlzyn.mjs";
|
|
2
2
|
import { C as fallbackEntries, T as runtimeNames, a as closeNames, b as DERIVED, c as layerEntries, f as themedEntries, l as layerStatements, m as usesDerived, n as addGlobal, o as globalEntries, r as addLayers, s as globalNames, t as LAYERS, u as renderSheet, v as kernelEntries, w as runtimeModule, x as RUNTIME_ID } from "./sheet-qCuMvyUo.mjs";
|
|
3
|
-
import { a as
|
|
3
|
+
import { a as instrument, c as writeSite, o as runtimeImport, s as tagged } from "./instrument-D68RkfDU.mjs";
|
|
4
4
|
import { r as verifyChecks } from "./contrast-Dw6gXoO3.mjs";
|
|
5
5
|
import { i as serverId, n as gitRoot, o as sessionOf, r as register } from "./devtools-link-DN91p7g5.mjs";
|
|
6
6
|
import { createRequire } from "node:module";
|
package/docs/API.md
CHANGED
|
@@ -608,7 +608,7 @@ export const box = cn(sx().p(2), hover(sx().bg("blue")));
|
|
|
608
608
|
|
|
609
609
|
### Runtime: `cn`, `cv` (decided 2026-09-29, cssints-lo9x; `cv` without `_cv` 2026-10-07, cssints-ep2l; `cx` folded into `cn` 2026-10-11, cssints-4e9f)
|
|
610
610
|
|
|
611
|
-
- **One runtime package: `cssints` itself.** You import nothing for the browser. A module with a `cn()` that has runtime arguments, or a `cv()`, gets `import { _cx as __cx, _cv as __cv } from "cssints"` from the plugin, and those few lines are the only code that ships. `@cssints/variants` is gone.
|
|
611
|
+
- **One runtime package: `cssints` itself.** You import nothing for the browser. A module with a `cn()` that has runtime arguments, or a `cv()`/`scv()`, gets `import { _cx as __cx, _cv as __cv, _scv as __scv } from "cssints"` from the plugin (the ones it needs), and those few lines are the only code that ships. `@cssints/variants` is gone.
|
|
612
612
|
- **`cn(...)` is the one function that merges.** Arguments known at build time merge into one class string, as above. An argument that depends on a runtime value is joined when the code runs, and the `css.*` calls inside it are still class strings made at build time: only the choice is left.
|
|
613
613
|
|
|
614
614
|
```ts
|
|
@@ -669,7 +669,86 @@ export const bad2 = cv({ base: "padding: 1rem" }); // error: a base is a css val
|
|
|
669
669
|
- **Overlap is an error, as in `cn()`.** A base property and a variant property that overlap without one containing the other are a build error at the `cv()` call: `cssints: cv() base and variant active.yes: border-bottom and border-color overlap without one containing the other, so the sheet cannot order them: set one of them, or the longhands` (both set `border-bottom-color`; write `borderBottomColor` in the variant). The same holds for two variants of different keys, which can be active together. Two such variants that set the same property are an error too, since nothing says which wins: `cssints: cv() variants a.x and b.x both set color and can be active together, so nothing says which wins: set it in one of them, or in the base`. Values of one key are never compared, since only one is active.
|
|
670
670
|
- **A compound wins over what it combines.** It is the most specific style, so under one condition it replaces what it sets again in the base and in the variant values it names (the same rule as a variant over the base): `compoundVariants: [{ size: "lg", tone: "loud", class: p(6) }]` drops the base's padding, `size.lg`'s padding and `tone.loud`'s padding while both are active, in the `compound` entry of the config (`{ when: { size: "lg", tone: "loud" }, class: "_x", drops: "_a _b" }`). The sheet order never decides. What a compound shares with other things that can be active together is compared as for variants: an overlap without containment is an error, and so is the same property in a compound and a variant of a key it does not name (it is active with any of its values), or in two compounds that can be active together (no key they both name with different values). Write the property in one of them, or in the base.
|
|
671
671
|
|
|
672
|
-
|
|
672
|
+
### `scv()`: slot variants (decided 2026-10-25, cssints-43rj)
|
|
673
|
+
|
|
674
|
+
`scv()` is one function whose result is the class string of each slot (`{ base, label, icon }`): slots, variants worth a
|
|
675
|
+
style per slot, defaults and compound variants, as in tailwind-variants. The rules are `cv()`'s, computed per slot.
|
|
676
|
+
|
|
677
|
+
```ts
|
|
678
|
+
import { bg, cn, color, fontSize, opacity, p, scv, width } from "cssints" with { type: "cssints" };
|
|
679
|
+
|
|
680
|
+
const button = scv({
|
|
681
|
+
slots: { base: cn(p(2), color("white")), label: fontSize("1rem"), icon: width("1rem") },
|
|
682
|
+
variants: {
|
|
683
|
+
size: { sm: p(1), lg: { base: p(4), label: fontSize("1.25rem") } },
|
|
684
|
+
tone: { quiet: color("gray"), loud: { base: color("black"), icon: color("red") } },
|
|
685
|
+
disabled: { true: opacity(0.5), false: opacity(1) },
|
|
686
|
+
},
|
|
687
|
+
defaultVariants: { size: "sm", disabled: false },
|
|
688
|
+
compoundVariants: [
|
|
689
|
+
{ size: "lg", tone: "loud", class: p(6) },
|
|
690
|
+
{ size: "lg", class: bg("crimson"), label: color("blue") },
|
|
691
|
+
],
|
|
692
|
+
});
|
|
693
|
+
|
|
694
|
+
export const slots = () => button({ size: "lg" }); // { base: "...", label: "...", icon: "..." }
|
|
695
|
+
export const bad = () => button({ size: "xl" }); // error: not a size
|
|
696
|
+
export const badSlot = scv({
|
|
697
|
+
slots: { base: p(2), label: p(1) },
|
|
698
|
+
variants: { size: { sm: { labl: p(1) } } }, // error: labl is not a slot
|
|
699
|
+
});
|
|
700
|
+
```
|
|
701
|
+
|
|
702
|
+
- **What ships** for `button` is `__scv({ base: { base, variants, defaultVariants, drops?, compound? }, label: {...}, icon: {...} })`,
|
|
703
|
+
one `cv()` config per slot, with `import { _scv as __scv } from "cssints"` added to the module: class strings only, and
|
|
704
|
+
one runtime function per slot, built once when the module loads. `scv()` works in a function, at the top of a module and
|
|
705
|
+
in a library; put the config at the top of the module so the per-slot runtimes are built once.
|
|
706
|
+
- **A slot value is a style, or a record by slot.** A variant value that is a style styles the slot named `base`, so a
|
|
707
|
+
config that gives a bare style and has no `base` slot is a build error; a record styles the slots it names, and a name
|
|
708
|
+
that is not a slot is a type error and a build error at the `scv()` call. In `compoundVariants`, `class` is the `base`
|
|
709
|
+
slot and a slot's own name styles that slot.
|
|
710
|
+
- **The rules are `cv()`'s, per slot.** A variant wins over the slot's base (its class is dropped while active), a compound
|
|
711
|
+
wins over both, and two things that can be active together and overlap without containment are a build error. Each
|
|
712
|
+
error names the slot, for example `cssints: scv() slot base: base and variant active.yes: border-bottom and border-color overlap without one containing the other`. A slot a value does not style is simply not in that slot's config, and the compound entries it has no style for keep their index, so the errors name the entry you wrote.
|
|
713
|
+
- **Props and result.** The props are `cv()`'s, typed from `variants` (`CvProps`): a typo in a name or a value is a type
|
|
714
|
+
error, and a boolean variant takes a boolean. The result is `{ [K in keyof slots]: string }`, so `button().label` is a
|
|
715
|
+
`string` and a slot that is not there is a type error.
|
|
716
|
+
- **Limits.** A `cv()` function as a slot value, and an `scv()` in `compoundVariants`, are not in this release: a slot
|
|
717
|
+
value is a `css.*` style (or a `cn()`/a chain). A slot may not share its name with a variant: a compound entry would
|
|
718
|
+
name both with one key, and the types make that entry impossible to write. A `scv()` site has no readable class in the
|
|
719
|
+
dev overlay yet (a `cn()` or `cv()` site has one).
|
|
720
|
+
|
|
721
|
+
**A slot that reads another slot's state uses `group()` and `within()`, not its class.** A class is a mark on the element
|
|
722
|
+
it is put on: passing `base`'s class to a condition of `label` would style `label`'s own state, not the root's. The root
|
|
723
|
+
marks itself a group and the other slots read that ancestor's state, one condition each:
|
|
724
|
+
|
|
725
|
+
```ts
|
|
726
|
+
import {
|
|
727
|
+
bg,
|
|
728
|
+
cn,
|
|
729
|
+
color,
|
|
730
|
+
focusVisible,
|
|
731
|
+
fontSize,
|
|
732
|
+
group,
|
|
733
|
+
hover,
|
|
734
|
+
opacity,
|
|
735
|
+
p,
|
|
736
|
+
scv,
|
|
737
|
+
within,
|
|
738
|
+
} from "cssints" with { type: "cssints" };
|
|
739
|
+
|
|
740
|
+
const card = scv({
|
|
741
|
+
slots: {
|
|
742
|
+
base: cn(group(), p(4), bg("white")),
|
|
743
|
+
label: cn(fontSize("1rem"), within(hover)(color("red"))),
|
|
744
|
+
icon: within(focusVisible)(opacity(1)),
|
|
745
|
+
},
|
|
746
|
+
});
|
|
747
|
+
```
|
|
748
|
+
|
|
749
|
+
`group()` puts `_g` on the element the `base` class is on, and `within(hover)` becomes `:where(._g:hover) .label`, one
|
|
750
|
+
class of specificity, so the sheet's order still decides. `group("card")` with `within(hover, "card")` tells nested cards
|
|
751
|
+
apart. A slot needs no dependency on another slot's value for this, which is why `scv()` takes no slot functions.
|
|
673
752
|
|
|
674
753
|
### Errors
|
|
675
754
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cssints",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "CSS in TypeScript: typed css.* calls compiled to atomic CSS at build time (a Vite plugin)",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
}
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
|
-
"@cssints/css-grammar": "^0.
|
|
71
|
+
"@cssints/css-grammar": "^0.8.0",
|
|
72
72
|
"culori": "^4.0.2",
|
|
73
73
|
"effect": "4.0.6",
|
|
74
74
|
"happy-dom": "^20.14.5",
|
package/skills/cssints/SKILL.md
CHANGED
|
@@ -3,7 +3,7 @@ name: cssints
|
|
|
3
3
|
description: >-
|
|
4
4
|
Write, review and fix styles in a project that uses cssints, the CSS-in-TypeScript compiler (a Vite plugin that
|
|
5
5
|
runs css.* calls at build time and replaces them with atomic class strings). Load it when code imports from
|
|
6
|
-
"cssints" with { type: "cssints" }, uses cn(), cv(), css.* members, media()/hover()/container()/within(),
|
|
6
|
+
"cssints" with { type: "cssints" }, uses cn(), cv(), scv(), css.* members, media()/hover()/container()/within(),
|
|
7
7
|
createTokens, createGlobalTheme, check.contrast, or an @cssints/* package (layout, motion, fluid, fonts, reset,
|
|
8
8
|
tokens, icons, ...), and when a build fails with a "cssints:" message such as "must be known at build time",
|
|
9
9
|
"without the attribute", "unexpected ... expected <...>", "overlap without one containing the other" or
|
|
@@ -15,7 +15,7 @@ description: >-
|
|
|
15
15
|
Every `css.*` call runs at build time in Vite's Module Runner and is replaced by a class string. The values are
|
|
16
16
|
checked against the CSS grammars (mdn-data) twice: in the types, where the call is, and again by the build, with the
|
|
17
17
|
file and the place of the call. One sheet, `virtual:cssints.css`, holds every rule once, in `@layer`s. The browser
|
|
18
|
-
gets class strings and the few lines behind `cn` with runtime arguments and `
|
|
18
|
+
gets class strings and the few lines behind `cn` with runtime arguments, `cv` and `scv`. The reference is `docs/API.md` of the cssints repository; the
|
|
19
19
|
parts below are what you need most of the time.
|
|
20
20
|
|
|
21
21
|
If the cssints MCP server is configured, prefer it for checks: `check_declaration` (is this value valid, and the
|
|
@@ -92,7 +92,7 @@ the run does not reach (`false && p(4)`, a branch) still gets its class string.
|
|
|
92
92
|
- `firstThatWorks("100dvh", "100vh")` is a value with fallbacks in one class.
|
|
93
93
|
- `keyframes({ from: opacity(0), to: opacity(1) })` returns a name for `animation(fade, "200ms")`.
|
|
94
94
|
|
|
95
|
-
## Merging: cn, cv
|
|
95
|
+
## Merging: cn, cv, scv
|
|
96
96
|
|
|
97
97
|
- `cn(...)` merges at build time into one string; the later of one property wins (`cn(p(4), p(2))` is `p(2)`). A
|
|
98
98
|
longhand beats its shorthand whatever the order. Two properties that overlap without one containing the other
|
|
@@ -115,6 +115,11 @@ const button = cv({
|
|
|
115
115
|
button({ size: "lg", disabled: true });
|
|
116
116
|
```
|
|
117
117
|
|
|
118
|
+
- `scv({ slots, variants, defaultVariants, compoundVariants })` is the slot recipe: `button({ size: "lg" })` gives the
|
|
119
|
+
class string of every slot (`{ base, label, icon }`). A variant value that is a style styles the `base` slot, a record
|
|
120
|
+
by slot styles those slots (`{ base: p(4), label: fontSize("1.25rem") }`); in a compound, `class` is `base` and a slot's
|
|
121
|
+
name styles that slot. The rules are `cv()`'s, per slot.
|
|
122
|
+
|
|
118
123
|
## Conditions and layers
|
|
119
124
|
|
|
120
125
|
Conditions are wrappers that nest: `hover(bg("#eee"))`, `media("(width >= 40rem)")(p(4))`, `md(hover(...))`.
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./theme-types-CplLnGgG.mjs";
|