cssints 0.0.0-stage → 0.1.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/LICENSE +21 -0
- package/README.md +178 -2
- package/dist/author-types-C1AhsnrT.d.mts +80 -0
- package/dist/check.d.mts +22 -0
- package/dist/check.mjs +37 -0
- package/dist/color-BYIxVLlS.mjs +29 -0
- package/dist/color-C8OzjAeg.mjs +2 -0
- package/dist/contrast-BUKVao74.mjs +83 -0
- package/dist/derived.d.mts +14 -0
- package/dist/derived.mjs +391 -0
- package/dist/errors-D4ZbcwRo.d.mts +32 -0
- package/dist/frame-BoBKjgBB.mjs +92 -0
- package/dist/frame.d.mts +72 -0
- package/dist/frame.mjs +2 -0
- package/dist/index.d.mts +34 -0
- package/dist/index.mjs +1132 -0
- package/dist/instrument-Bdtk2INz.mjs +172 -0
- package/dist/lib-2OEIfPAE.d.mts +9 -0
- package/dist/lowered-CeoXbm0P.mjs +28 -0
- package/dist/node-CdhAGmF3.d.mts +229 -0
- package/dist/parent-vars.d.mts +13 -0
- package/dist/parent-vars.mjs +65 -0
- package/dist/plugin-types.d.mts +377 -0
- package/dist/plugin.d.mts +3 -0
- package/dist/plugin.mjs +30 -0
- package/dist/registry-n9JCX4pl.mjs +72 -0
- package/dist/runtime-CTvuM-Hm.d.mts +5 -0
- package/dist/runtime.d.mts +18 -0
- package/dist/runtime.mjs +21 -0
- package/dist/scope-oWEaWE9n.d.mts +2095 -0
- package/dist/sheet-CO7a-mdA.mjs +756 -0
- package/dist/surface.d.mts +228 -0
- package/dist/surface.mjs +101 -0
- package/dist/theme-BGEbFAYh.mjs +906 -0
- package/dist/theme-types-DHdtTZhz.d.mts +1803 -0
- package/dist/trace-otlp-CbKFDsn9.mjs +14 -0
- package/dist/tui-types.d.mts +181 -0
- package/dist/tui.d.mts +30 -0
- package/dist/tui.mjs +399 -0
- package/dist/types.d.mts +2 -0
- package/dist/vite.d.mts +118 -0
- package/dist/vite.mjs +980 -0
- package/docs/API.md +1148 -0
- package/package.json +81 -4
- package/skills/cssints/SKILL.md +200 -0
- package/skills/cssints/references/errors.md +85 -0
- package/skills/cssints/references/plugins.md +91 -0
- package/skills/cssints/references/tokens.md +91 -0
- package/skills/cssints-plugin/SKILL.md +177 -0
- package/skills/cssints-plugin/references/table.md +124 -0
- package/skills/cssints-plugin/references/testing.md +122 -0
package/dist/types.d.mts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { $ as WebkitLineClamp, $a as future, $c as outlineStyle, $d as strokeWidth, $f as top, $i as emptyCells, $l as positionVisibility, $n as borderLeftWidth, $o as isolation, $p as Part, $r as columnWrap, $s as maskMode, $t as backgroundPosition, $u as scrollMarginInline, A as Wrap, Aa as fontOpticalSizing, Ac as objectFit, Ad as shapeMargin, Af as textJustify, Ai as cornerTopShape, Al as paletteMix, An as borderEndEndRadius, Ao as imageRendering, Ap as viewTimelineName, Ar as caretColor, As as marginBottom, At as animationRange, Au as rowGap, B as media, Ba as fontVariant, Bc as oklch, Bd as src, Bf as textWrap, Bi as cy, Bl as placeContent, Bn as borderInlineEnd, Bo as insetBlockEnd, Bp as willChange, Br as colorInterpolationFilters, Bs as markerMid, Bt as atan, Bu as scaleFn, C as Keyframes, Ca as focusVisible, Cc as mixBlendMode, Cd as scrollTimelineName, Cf as textDecorationStyle, Ci as cornerLeftShape, Cl as paddingInlineStart, Cn as borderBottomColor, Co as hwb, Cp as valid, Cr as brightness, Cs as listStyleType, Ct as animationDelay, Cu as rotate, D as QueryWrap, Da as fontFeatureSettings, Dc as mr, Dd as seeking, Df as textEmphasisPosition, Di as cornerStartStartShape, Dl as page, Dn as borderBottomWidth, Do as hypot, Dp as viewTimeline, Dr as captionSide, Ds as marginBlock, Dt as animationIterationCount, Du as rotateY, E as Prop, Ea as fontFamily, Ec as modal, Ed as scrollbarWidth, Ef as textEmphasisColor, Ei as cornerStartEndShape, El as paddingTop, En as borderBottomStyle, Eo as hyphens, Ep as view, Er as calcSize, Es as margin, Et as animationFillMode, Eu as rotateX, F as cv, Fa as fontSynthesis, Fc as offsetDistance, Fd as skew, Ff as textSizeAdjust, Fi as counterSet, Fl as perspective, Fn as borderImageSlice, Fo as initialLetter, Fp as volumeLocked, Fr as clear, Fs as marginRight, Ft as animationTrigger, Fu as rx, Ga as fontVariantLigatures, Gc as open, Gd as stroke, Gf as timelineTriggerExitRange, Gi as display, Gl as pointerEvents, Gn as borderInlineStartColor, Go as insetInlineStart, Gp as x, Gr as columnGap, Gs as maskBorderOutset, Gt as backfaceVisibility, Gu as scroll, H as style, Ha as fontVariantCaps, Hc as onlyOfType, Hd as steps, Hf as textWrapStyle, Hi as defined, Hl as placeSelf, Hn as borderInlineEndStyle, Ho as insetFn, Hp as wordSpacing, Hr as colorScheme, Hs as mask, Ht as attrFn, Hu as scaleY, I as firstThatWorks, Ia as fontSynthesisPosition, Ic as offsetPath, Id as skewX, If as textSpacingTrim, Ii as counters, Il as perspectiveFn, In as borderImageSource, Io as initialLetterAlign, Ip as whiteSpace, Ir as clipPath, Is as marginTop, It as anyLink, Iu as ry, J as cx, Ja as fontVariationSettings, Jc as orphans, Jd as strokeDashoffset, Jf as timelineTriggerName, Ji as dynamicRangeLimit, Jl as position, Jn as borderInlineStyle, Jo as interestDelayEnd, Jp as zIndex, Jr as columnRuleColor, Js as maskBorderSource, Jt as backgroundBlendMode, Ju as scrollMargin, K as within, Ka as fontVariantNumeric, Kc as optional, Kd as strokeColor, Kf as timelineTriggerExitRangeEnd, Ki as dominantBaseline, Kl as polygon, Kn as borderInlineStartStyle, Ko as interactivity, Kp as xywh, Kr as columnHeight, Ks as maskBorderRepeat, Kt as background, Ku as scrollBehavior, L as global, La as fontSynthesisSmallCaps, Lc as offsetPosition, Ld as skewY, Lf as textTransform, Li as crossFade, Ll as perspectiveOrigin, Ln as borderImageWidth, Lo as inlineSize, Lp as whiteSpaceCollapse, Lr as clipRule, Ls as marginTrim, Lt as appearance, Lu as saturate, M as cn, Ma as fontSize, Mc as objectViewBox, Md as shapeRendering, Mf as textOverflow, Mi as counter, Ml as path, Mn as borderImage, Mo as imageSet, Mp as viewTransitionName, Mr as checked, Ms as marginInlineEnd, Mt as animationRangeStart, Mu as rubyMerge, N as container, Na as fontSizeAdjust, Nc as offset, Nd as sign, Nf as textRendering, Ni as counterIncrement, Nl as paused, Nn as borderImageOutset, No as inRange, Np as visibility, Nr as circle, Ns as marginInlineStart, Nt as animationTimeline, Nu as rubyOverhang, O as StateWrap, Oa as fontKerning, Oc as mt, Od as sepia, Of as textEmphasisStyle, Oi as cornerTopLeftShape, Ol as paint, On as borderCollapse, Oo as image, Op as viewTimelineAxis, Or as caret, Os as marginBlockEnd, Ot as animationName, Ou as rotateZ, P as css, Pa as fontStyle, Pc as offsetAnchor, Pd as sin, Pf as textShadow, Pi as counterReset, Pl as pb, Pn as borderImageRepeat, Po as indeterminate, Pp as visited, Pr as clamp, Ps as marginLeft, Pt as animationTimingFunction, Pu as rubyPosition, Q as WebkitBoxReflect, Qa as fullscreen, Qc as outlineOffset, Qd as strokeOpacity, Qf as timelineTriggerSource, Qi as empty, Ql as positionTryOrder, Qn as borderLeftStyle, Qo as invert, Qp as Fallback, Qr as columnWidth, Qs as maskImage, Qt as backgroundOrigin, Qu as scrollMarginBottom, R as group, Ra as fontSynthesisStyle, Rc as offsetRotate, Rd as speakAs, Rf as textUnderlineOffset, Ri as cubicBezier, Rl as pictureInPicture, Rn as borderInline, Ro as inset, Rp as widows, Rr as color, Rs as marker, Rt as asin, Ru as scale, S as CvValue, Sa as focus, Sc as minmax, Sd as scrollTimelineAxis, Sf as textDecorationSkipInk, Si as cornerInlineStartShape, Sl as paddingInlineEnd, Sn as borderBottom, So as hueRotate, Sp as userValid, Sr as breakInside, Ss as listStylePosition, St as animationComposition, Su as root, T as PositionTry, Ta as font, Tc as mod, Td as scrollbarGutter, Tf as textEmphasis, Ti as cornerShape, Tl as paddingRight, Tn as borderBottomRightRadius, To as hyphenateLimitChars, Tp as verticalAlign, Tr as calc, Ts as m, Tt as animationDuration, Tu as rotateFn, U as supports, Ua as fontVariantEastAsian, Uc as opacity, Ud as stopColor, Uf as timelineScope, Ui as direction, Ul as placeholderShown, Un as borderInlineEndWidth, Uo as insetInline, Up as wordWrap, Ur as columnCount, Us as maskBorder, Ut as autofill, Uu as scaleZ, V as positionTry, Va as fontVariantAlternates, Vc as onlyChild, Vd as stalled, Vf as textWrapMode, Vi as d, Vl as placeItems, Vn as borderInlineEndColor, Vo as insetBlockStart, Vp as wordBreak, Vr as colorMix, Vs as markerStart, Vt as atan2, Vu as scaleX, W as token, Wa as fontVariantEmoji, Wc as opacityFn, Wd as stopOpacity, Wf as timelineTrigger, Wi as disabled, Wl as playing, Wn as borderInlineStart, Wo as insetInlineEnd, Wp as writingMode, Wr as columnFill, Ws as maskBorderMode, Wt as backdropFilter, Wu as scope, X as GridMethods, Xa as fontWidth, Xc as outline, Xd as strokeLinejoin, Xf as timelineTriggerRangeEnd, Xi as element, Xl as positionArea, Xn as borderLeft, Xo as interpolateSize, Xr as columnRuleWidth, Xs as maskClip, Xt as backgroundColor, Xu as scrollMarginBlockEnd, Y as FlexMethods, Ya as fontWeight, Yc as outOfRange, Yd as strokeLinecap, Yf as timelineTriggerRange, Yi as dynamicRangeLimitMix, Yl as positionAnchor, Yn as borderInlineWidth, Yo as interestDelayStart, Yp as zoom, Yr as columnRuleStyle, Ys as maskBorderWidth, Yt as backgroundClip, Yu as scrollMarginBlock, Z as WebkitBoxOrient, Za as forcedColorAdjust, Zc as outlineColor, Zd as strokeMiterlimit, Zf as timelineTriggerRangeStart, Zi as ellipse, Zl as positionTryFallbacks, Zn as borderLeftColor, Zo as invalid, Zr as columnSpan, Zs as maskComposite, Zt as backgroundImage, Zu as scrollMarginBlockStart, _ as CSSStyleValue, _a as flexWrap, _c as min, _d as scrollSnapAlign, _f as textDecoration, _i as cornerBottomRightShape, _l as paddingBlock, _n as borderBlockStartColor, _o as hangingPunctuation, _p as triggerScope, _r as boxDecorationBreak, _s as linear, _t as anchor, _u as required, a as DtcgUnit, aa as fillOpacity, ac as mathDepth, ad as scrollMarkerGroup, af as target, ai as containIntrinsicInlineSize, al as overflowInline, an as baselineSource, ao as gridAutoFlow, ap as transition, ar as borderSpacing, as as lastOfType, at as WebkitTouchCallout, au as r, b as CvConfig, ba as floodOpacity, bc as minInlineSize, bd as scrollTargetGroup, bf as textDecorationLine, bi as cornerEndStartShape, bl as paddingBottom, bn as borderBlockStyle, bo as hsl, bp as userInvalid, br as breakAfter, bs as listStyle, bt as anchorSize, bu as rgba, c as Tokens, ca as firstChild, cc as matrix, cd as scrollPaddingBlockEnd, cf as targetText, ci as containerName, cl as overflowY, cn as blur, co as gridColumnEnd, cp as transitionDuration, cr as borderStyle, cs as leader, ct as abs, cu as readOnly, d as createTokens, da as flex, dc as maxBlockSize, dd as scrollPaddingInline, df as textAnchor, di as contentVisibility, dl as overscrollBehaviorBlock, dn as borderBlockColor, do as gridRowEnd, dp as translate, dr as borderTopLeftRadius, ds as lightDark, dt as active, du as readingOrder, ea as enabled, ec as maskOrigin, ed as scrollMarginInlineEnd, ef as superellipse, ei as columns, el as outlineWidth, em as Style, en as backgroundPositionX, eo as gap, ep as touchAction, er as borderRadius, es as justifyContent, et as WebkitTapHighlightColor, eu as pow, f as layers, fa as flexBasis, fc as maxHeight, fd as scrollPaddingInlineEnd, ff as textAutospace, fi as contrast, fl as overscrollBehaviorInline, fn as borderBlockEnd, fo as gridRowStart, fp as translate3d, fr as borderTopRightRadius, fs as lightingColor, ft as alignContent, fu as rect, g as CSSImageValue, ga as flexShrink, gc as mb, gd as scrollPaddingTop, gf as textCombineUpright, gi as cornerBottomLeftShape, gl as padding, gn as borderBlockStart, go as gridTemplateRows, gp as translateZ, gr as bottom, gs as lineHeightStep, gt as all, gu as repeatingRadialGradient, h as CSSColorValue, ha as flexGrow, hc as maxWidth, hd as scrollPaddingRight, hf as textBoxTrim, hi as cornerBlockStartShape, hl as p, hn as borderBlockEndWidth, ho as gridTemplateColumns, hp as translateY, hr as borderWidth, hs as lineHeight, ht as alignmentBaseline, hu as repeatingLinearGradient, i as DtcgShadow, ia as fill, ic as maskType, id as scrollMarginTop, if as tan, ii as containIntrinsicHeight, il as overflowClipMargin, in as baselineShift, io as gridAutoColumns, ip as transformStyle, ir as borderRightWidth, is as lastChild, it as WebkitTextStrokeWidth, iu as quotes, j as attr, ja as fontPalette, jc as objectPosition, jd as shapeOutside, jf as textOrientation, ji as cos, jl as past, jn as borderEndStartRadius, jo as imageResolution, jp as viewTransitionClass, jr as caretShape, js as marginInline, jt as animationRangeEnd, ju as rubyAlign, k as Steps, ka as fontLanguageOverride, kc as muted, kd as shapeImageThreshold, kf as textIndent, ki as cornerTopRightShape, kl as paintOrder, kn as borderColor, ko as imageOrientation, kp as viewTimelineInset, kr as caretAnimation, ks as marginBlockStart, kt as animationPlayState, ku as round, l as check, la as firstOfType, lc as matrix3d, ld as scrollPaddingBlockStart, lf as textAlign, li as containerType, ll as overlay, ln as border, lo as gridColumnStart, lp as transitionProperty, lr as borderTop, ls as left, lt as accentColor, lu as readWrite, m as CSS, ma as flexFlow, mc as maxLines, md as scrollPaddingLeft, mf as textBoxEdge, mi as cornerBlockEndShape, ml as overscrollBehaviorY, mn as borderBlockEndStyle, mo as gridTemplateAreas, mp as translateX, mr as borderTopWidth, ms as lineClamp, mt as alignSelf, mu as repeatingConicGradient, n as DtcgColor, na as exp, nc as maskRepeat, nd as scrollMarginLeft, nf as tabSize, ni as contain, nl as overflowAnchor, nn as backgroundRepeat, no as grid, np as transformBox, nr as borderRightColor, ns as justifySelf, nt as WebkitTextStroke, nu as printColorAdjust, o as DtcgValue, oa as fillRule, oc as mathShift, od as scrollPadding, of as targetCounter, oi as containIntrinsicSize, ol as overflowWrap, on as bg, oo as gridAutoRows, op as transitionBehavior, or as borderStartEndRadius, os as layer, ot as WebkitUserModify, ou as radialGradient, p as AttrOp, pa as flexDirection, pc as maxInlineSize, pd as scrollPaddingInlineStart, pf as textBox, pi as contrastColor, pl as overscrollBehaviorX, pn as borderBlockEndColor, po as gridTemplate, pp as translateFn, pr as borderTopStyle, ps as lineBreak, pt as alignItems, pu as rem, q as ClassValue, qa as fontVariantPosition, qc as order, qd as strokeDasharray, qf as timelineTriggerExitRangeStart, qi as dropShadow, ql as popoverOpen, qn as borderInlineStartWidth, qo as interestDelay, qp as y, qr as columnRule, qs as maskBorderSlice, qt as backgroundAttachment, qu as scrollInitialTarget, r as DtcgCubicBezier, ra as fieldSizing, rc as maskSize, rd as scrollMarginRight, rf as tableLayout, ri as containIntrinsicBlockSize, rl as overflowBlock, rn as backgroundSize, ro as gridArea, rp as transformOrigin, rr as borderRightStyle, rs as lab, rt as WebkitTextStrokeColor, ru as pt, s as Overrides, sa as filter, sc as mathStyle, sd as scrollPaddingBlock, sf as targetCounters, si as containIntrinsicWidth, sl as overflowX, sn as blockSize, so as gridColumn, sp as transitionDelay, sr as borderStartStartRadius, ss as lch, st as _var, su as ray, t as CheckOverrides, ta as env, tc as maskPosition, td as scrollMarginInlineStart, tf as symbols, ti as conicGradient, tl as overflow, tn as backgroundPositionY, to as grayscale, tp as transform, tr as borderRight, ts as justifyItems, tt as WebkitTextFillColor, tu as pr, u as createGlobalTheme, ua as fitContent, uc as max, ud as scrollPaddingBottom, uf as textAlignLast, ui as content, ul as overscrollBehavior, un as borderBlock, uo as gridRow, up as transitionTimingFunction, ur as borderTopColor, us as letterSpacing, ut as acos, uu as readingFlow, v as CSSUnitValue, va as float, vc as minBlockSize, vd as scrollSnapStop, vf as textDecorationColor, vi as cornerBottomShape, vl as paddingBlockEnd, vn as borderBlockStartStyle, vo as height, vp as unicodeBidi, vr as boxShadow, vs as linearGradient, vt as anchorName, vu as resize, w as Layout, wa as focusWithin, wc as ml, wd as scrollbarColor, wf as textDecorationThickness, wi as cornerRightShape, wl as paddingLeft, wn as borderBottomLeftRadius, wo as hyphenateCharacter, wp as vectorEffect, wr as buffering, ws as log, wt as animationDirection, wu as rotate3d, x as CvProps, xa as flowTolerance, xc as minWidth, xd as scrollTimeline, xf as textDecorationSkip, xi as cornerInlineEndShape, xl as paddingInline, xn as borderBlockWidth, xo as hsla, xp as userSelect, xr as breakBefore, xs as listStyleImage, xt as animation, xu as right, y as Chain, ya as floodColor, yc as minHeight, yd as scrollSnapType, yf as textDecorationInset, yi as cornerEndEndShape, yl as paddingBlockStart, yn as borderBlockStartWidth, yo as hover, yp as url, yr as boxSizing, ys as link, yt as anchorScope, yu as rgb, z as keyframes, za as fontSynthesisWeight, zc as oklab, zd as sqrt, zf as textUnderlinePosition, zi as cursor, zl as pl, zn as borderInlineColor, zo as insetBlock, zp as width, zr as colorFn, zs as markerEnd, zt as aspectRatio, zu as scale3d } from "./theme-types-DHdtTZhz.mjs";
|
|
2
|
+
export { AttrOp, type CSS, type CSSColorValue, type CSSImageValue, type CSSStyleValue, type CSSUnitValue, Chain, 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, 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.d.mts
ADDED
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { i as GlobalRule } from "./author-types-C1AhsnrT.mjs";
|
|
2
|
+
import { n as ImportError, r as MacroError } from "./errors-D4ZbcwRo.mjs";
|
|
3
|
+
import { i as RegistryState, n as At, r as LayersDecl } from "./node-CdhAGmF3.mjs";
|
|
4
|
+
import { Effect } from "effect";
|
|
5
|
+
import { ImportDeclaration } from "oxc-parser";
|
|
6
|
+
import { Plugin } from "vite";
|
|
7
|
+
//#region src/devtools-server.d.ts
|
|
8
|
+
/** A `css.*` call of a client module: where it is (1-based line, 0-based column) and the class names it produced. */
|
|
9
|
+
interface DevSite {
|
|
10
|
+
line: number;
|
|
11
|
+
column: number;
|
|
12
|
+
classes: string[];
|
|
13
|
+
/** the source of the call, as written */
|
|
14
|
+
text: string;
|
|
15
|
+
}
|
|
16
|
+
/** What the dev server knows of a class: its rule as the sheet prints it, the tokens it reads, the plugin it belongs to. */
|
|
17
|
+
interface ClassRecord {
|
|
18
|
+
kind: "class" | "marker" | "group";
|
|
19
|
+
layer: string;
|
|
20
|
+
/** the at-rule preludes around the rule, outermost first */
|
|
21
|
+
wrap: string[];
|
|
22
|
+
prop: string;
|
|
23
|
+
/** the style rule, `._x:hover{color:red}`; a marker's is its kernel's css */
|
|
24
|
+
css: string;
|
|
25
|
+
tokens: string[];
|
|
26
|
+
/** the scope of a member's class (`frame`), the kernel of a marker (`frame.core`) */
|
|
27
|
+
plugin?: string;
|
|
28
|
+
/** indexes into `DevTable.sites` */
|
|
29
|
+
sites: number[];
|
|
30
|
+
}
|
|
31
|
+
/** The payload of `cssints:devtools`. */
|
|
32
|
+
interface DevTable {
|
|
33
|
+
root: string;
|
|
34
|
+
/** the sheet as `load()` of virtual:cssints.css renders it, before LightningCSS */
|
|
35
|
+
sheet: string;
|
|
36
|
+
/** top-level layers in rank order; the engine's are `_.k` to `_.e` */
|
|
37
|
+
layers: string[];
|
|
38
|
+
classes: Record<string, ClassRecord>;
|
|
39
|
+
sites: (DevSite & {
|
|
40
|
+
file: string;
|
|
41
|
+
})[];
|
|
42
|
+
tokens: Record<string, {
|
|
43
|
+
path: string;
|
|
44
|
+
value: string;
|
|
45
|
+
}>;
|
|
46
|
+
}
|
|
47
|
+
/** `cssints({ devtools: true, opencode })`: the OpenCode session the overlay's prompt box starts. */
|
|
48
|
+
interface OpenCodeOptions {
|
|
49
|
+
/** the agent of the session (OpenCode's default for a new session otherwise) */
|
|
50
|
+
agent?: string;
|
|
51
|
+
/** the ids of OpenCode skills the prompt loads */
|
|
52
|
+
skills?: string[];
|
|
53
|
+
}
|
|
54
|
+
//#endregion
|
|
55
|
+
//#region src/instrument.d.ts
|
|
56
|
+
interface CssImports {
|
|
57
|
+
locals: Set<string>;
|
|
58
|
+
decls: ImportDeclaration[];
|
|
59
|
+
}
|
|
60
|
+
interface Site {
|
|
61
|
+
start: number;
|
|
62
|
+
end: number;
|
|
63
|
+
inFn: boolean;
|
|
64
|
+
locals: Set<string>;
|
|
65
|
+
}
|
|
66
|
+
interface Instrumented {
|
|
67
|
+
code: string;
|
|
68
|
+
sites: Site[];
|
|
69
|
+
imp: CssImports;
|
|
70
|
+
}
|
|
71
|
+
export declare const instrument: (code: string, id: string, client?: boolean | undefined) => Effect.Effect<Instrumented | null, ImportError, never>;
|
|
72
|
+
//#endregion
|
|
73
|
+
//#region src/sheet.d.ts
|
|
74
|
+
/** Adds a global rule (`*{box-sizing:border-box}`) of a plugin member, by its content, to the sheet of the module at `at`. `layer` names a declared top-level layer to wrap it in, no layer puts it in `_.k`. */
|
|
75
|
+
export declare const addGlobal: (g: GlobalRule, at?: At | undefined) => Effect.Effect<void, MacroError, never>;
|
|
76
|
+
export declare const globalEntries: ({ globals }: RegistryState, file: string) => string[];
|
|
77
|
+
/**
|
|
78
|
+
* Declares top-level layers, in order: the statement `@layer a, b, c;`, printed after the engine's own layers, once
|
|
79
|
+
* whoever declares it, so what is in them beats the engine's `:root` fallbacks; with `before`, printed before them, so
|
|
80
|
+
* the engine's classes beat what is in them (a reset). Another statement may name the same layers in the same order, or
|
|
81
|
+
* hold or be held by this one; layers in another order, shared without one holding the other, or declared both before
|
|
82
|
+
* and after the engine's, are build errors at `at`, since the sheet could not say which comes first.
|
|
83
|
+
*/
|
|
84
|
+
export declare const addLayers: (args_0: LayersDecl, at?: At | undefined) => Effect.Effect<undefined, MacroError, never>;
|
|
85
|
+
export declare const layerEntries: ({ layers }: RegistryState, file: string) => string[];
|
|
86
|
+
/** The rules of `entries`: class names, and the text of `@property` rules (once each, whichever module has them). */
|
|
87
|
+
export declare const renderSheet: (entries: Iterable<string>) => Effect.Effect<string, never, never>;
|
|
88
|
+
//#endregion
|
|
89
|
+
//#region src/plugin.d.ts
|
|
90
|
+
/**
|
|
91
|
+
* LightningCSS targets (css.lightningcss.targets) from the browserslist config of process.cwd(), read when vite.config.ts
|
|
92
|
+
* imports this module: the support warnings read the one of the Vite root, the same unless the root is elsewhere.
|
|
93
|
+
*/
|
|
94
|
+
export declare const targets: import("lightningcss").Targets;
|
|
95
|
+
/** `build: { cssTarget }`, the browserslist query of `targets`, so a minified build keeps `firstThatWorks` fallbacks. */
|
|
96
|
+
export declare const cssTarget: string[];
|
|
97
|
+
export default function cssints({ inner, exclude, devtools, opencode }?: {
|
|
98
|
+
inner?: boolean;
|
|
99
|
+
/**
|
|
100
|
+
* Files the plugin leaves alone, in Vite's filter style (`createFilter`: a picomatch glob, a RegExp or an array of them;
|
|
101
|
+
* a relative glob is read from the working directory). Today's rule stays: a file outside node_modules that mentions "cssints" is
|
|
102
|
+
* a site module, so a package of plugins or the engine's own sources that a project bundles as code is excluded here.
|
|
103
|
+
*/
|
|
104
|
+
exclude?: string | RegExp | ReadonlyArray<string | RegExp>;
|
|
105
|
+
/**
|
|
106
|
+
* The inspector of @cssints/devtools in every page (Alt+Shift+C), which must be installed. `true`: dev only; `"build"`:
|
|
107
|
+
* a build too, with the table as a static asset and the overlay in a chunk that loads on the first open.
|
|
108
|
+
*/
|
|
109
|
+
devtools?: boolean | "build";
|
|
110
|
+
/**
|
|
111
|
+
* Dev only, with `devtools`: the overlay gets a prompt box for the picked element. The dev server (never the page) starts a
|
|
112
|
+
* session on the running OpenCode service, in the app's repository, with a prompt made of the element's call sites, cascade
|
|
113
|
+
* and tokens plus the instruction. Needs `@opencode/client` installed. Off by default; a build has none of it.
|
|
114
|
+
*/
|
|
115
|
+
opencode?: boolean | OpenCodeOptions;
|
|
116
|
+
}): Plugin[];
|
|
117
|
+
//#endregion
|
|
118
|
+
export type { DevTable, OpenCodeOptions };
|