cssints 0.6.1 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. package/dist/clay-types.d.mts +87 -1
  2. package/dist/clay.d.mts +1 -1
  3. package/dist/clay.mjs +147 -6
  4. package/dist/group-common-CTUs5yym.d.mts +1 -0
  5. package/dist/{group-types-4V0lZ9tn.d.mts → group-types-BBaZ8dwy.d.mts} +1 -1
  6. package/dist/groups/baseline-2015/with-downstream.d.mts +3 -3
  7. package/dist/groups/baseline-2015.d.mts +3 -3
  8. package/dist/groups/baseline-2016/with-downstream.d.mts +3 -3
  9. package/dist/groups/baseline-2016.d.mts +3 -3
  10. package/dist/groups/baseline-2017/with-downstream.d.mts +3 -3
  11. package/dist/groups/baseline-2017.d.mts +3 -3
  12. package/dist/groups/baseline-2018/with-downstream.d.mts +3 -3
  13. package/dist/groups/baseline-2018.d.mts +3 -3
  14. package/dist/groups/baseline-2019/with-downstream.d.mts +3 -3
  15. package/dist/groups/baseline-2019.d.mts +3 -3
  16. package/dist/groups/baseline-2020/with-downstream.d.mts +3 -3
  17. package/dist/groups/baseline-2020.d.mts +3 -3
  18. package/dist/groups/baseline-2021/with-downstream.d.mts +3 -3
  19. package/dist/groups/baseline-2021.d.mts +3 -3
  20. package/dist/groups/baseline-2022/with-downstream.d.mts +3 -3
  21. package/dist/groups/baseline-2022.d.mts +3 -3
  22. package/dist/groups/baseline-2023/with-downstream.d.mts +3 -3
  23. package/dist/groups/baseline-2023.d.mts +3 -3
  24. package/dist/groups/baseline-2024/with-downstream.d.mts +3 -3
  25. package/dist/groups/baseline-2024.d.mts +3 -3
  26. package/dist/groups/baseline-2025/with-downstream.d.mts +3 -3
  27. package/dist/groups/baseline-2025.d.mts +3 -3
  28. package/dist/groups/baseline-2026/with-downstream.d.mts +1 -1
  29. package/dist/groups/baseline-2026.d.mts +1 -1
  30. package/dist/groups/compositing-2.d.mts +3 -3
  31. package/dist/groups/css-align-3.d.mts +3 -3
  32. package/dist/groups/css-anchor-position-1.d.mts +3 -3
  33. package/dist/groups/css-anchor-position-2.d.mts +3 -3
  34. package/dist/groups/css-animations-1.d.mts +3 -3
  35. package/dist/groups/css-animations-2.d.mts +3 -3
  36. package/dist/groups/css-backgrounds-3.d.mts +3 -3
  37. package/dist/groups/css-backgrounds-4.d.mts +3 -3
  38. package/dist/groups/css-borders-4.d.mts +3 -3
  39. package/dist/groups/css-box-4.d.mts +3 -3
  40. package/dist/groups/css-break-4.d.mts +3 -3
  41. package/dist/groups/css-cascade-5.d.mts +3 -3
  42. package/dist/groups/css-cascade-6.d.mts +3 -3
  43. package/dist/groups/css-color-4.d.mts +3 -3
  44. package/dist/groups/css-color-5.d.mts +3 -3
  45. package/dist/groups/css-color-6.d.mts +3 -3
  46. package/dist/groups/css-color-adjust-1.d.mts +3 -3
  47. package/dist/groups/css-color-hdr-1.d.mts +3 -3
  48. package/dist/groups/css-conditional-3.d.mts +3 -3
  49. package/dist/groups/css-conditional-4.d.mts +3 -3
  50. package/dist/groups/css-conditional-5.d.mts +3 -3
  51. package/dist/groups/css-contain-2.d.mts +3 -3
  52. package/dist/groups/css-content-3.d.mts +3 -3
  53. package/dist/groups/css-counter-styles-3.d.mts +3 -3
  54. package/dist/groups/css-display-4.d.mts +3 -3
  55. package/dist/groups/css-easing-2.d.mts +3 -3
  56. package/dist/groups/css-env-1.d.mts +3 -3
  57. package/dist/groups/css-flexbox-1.d.mts +3 -3
  58. package/dist/groups/css-fonts-4.d.mts +3 -3
  59. package/dist/groups/css-fonts-5.d.mts +3 -3
  60. package/dist/groups/css-forms-1.d.mts +3 -3
  61. package/dist/groups/css-gaps-1.d.mts +3 -3
  62. package/dist/groups/css-gcpm-3.d.mts +3 -3
  63. package/dist/groups/css-gcpm-4.d.mts +3 -3
  64. package/dist/groups/css-grid-2.d.mts +3 -3
  65. package/dist/groups/css-grid-3.d.mts +3 -3
  66. package/dist/groups/css-images-3.d.mts +3 -3
  67. package/dist/groups/css-images-4.d.mts +3 -3
  68. package/dist/groups/css-images-5.d.mts +3 -3
  69. package/dist/groups/css-inline-3.d.mts +3 -3
  70. package/dist/groups/css-lists-3.d.mts +3 -3
  71. package/dist/groups/css-logical-1.d.mts +3 -3
  72. package/dist/groups/css-masking-1.d.mts +3 -3
  73. package/dist/groups/css-multicol-2.d.mts +3 -3
  74. package/dist/groups/css-overflow-3.d.mts +3 -3
  75. package/dist/groups/css-overflow-4.d.mts +3 -3
  76. package/dist/groups/css-overflow-5.d.mts +3 -3
  77. package/dist/groups/css-overscroll-1.d.mts +3 -3
  78. package/dist/groups/css-page-3.d.mts +3 -3
  79. package/dist/groups/css-page-floats-3.d.mts +3 -3
  80. package/dist/groups/css-position-3.d.mts +3 -3
  81. package/dist/groups/css-position-4.d.mts +3 -3
  82. package/dist/groups/css-rhythm-1.d.mts +3 -3
  83. package/dist/groups/css-round-display-1.d.mts +3 -3
  84. package/dist/groups/css-ruby-1.d.mts +3 -3
  85. package/dist/groups/css-scroll-anchoring-1.d.mts +3 -3
  86. package/dist/groups/css-scroll-snap-1.d.mts +3 -3
  87. package/dist/groups/css-scroll-snap-2.d.mts +3 -3
  88. package/dist/groups/css-scrollbars-1.d.mts +3 -3
  89. package/dist/groups/css-shapes-1.d.mts +3 -3
  90. package/dist/groups/css-shapes-2.d.mts +3 -3
  91. package/dist/groups/css-size-adjust-1.d.mts +3 -3
  92. package/dist/groups/css-sizing-3.d.mts +3 -3
  93. package/dist/groups/css-sizing-4.d.mts +3 -3
  94. package/dist/groups/css-speech-1.d.mts +3 -3
  95. package/dist/groups/css-tables-3.d.mts +3 -3
  96. package/dist/groups/css-text-3.d.mts +3 -3
  97. package/dist/groups/css-text-4.d.mts +3 -3
  98. package/dist/groups/css-text-decor-3.d.mts +3 -3
  99. package/dist/groups/css-text-decor-4.d.mts +3 -3
  100. package/dist/groups/css-transforms-1.d.mts +3 -3
  101. package/dist/groups/css-transforms-2.d.mts +3 -3
  102. package/dist/groups/css-transitions-1.d.mts +3 -3
  103. package/dist/groups/css-transitions-2.d.mts +3 -3
  104. package/dist/groups/css-ui-4.d.mts +3 -3
  105. package/dist/groups/css-values-4.d.mts +3 -3
  106. package/dist/groups/css-values-5.d.mts +3 -3
  107. package/dist/groups/css-variables-2.d.mts +2 -2
  108. package/dist/groups/css-view-transitions-2.d.mts +3 -3
  109. package/dist/groups/css-viewport.d.mts +3 -3
  110. package/dist/groups/css-will-change-1.d.mts +3 -3
  111. package/dist/groups/css-writing-modes-4.d.mts +3 -3
  112. package/dist/groups/css2.d.mts +3 -3
  113. package/dist/groups/fill-stroke-3.d.mts +3 -3
  114. package/dist/groups/filter-effects-1.d.mts +3 -3
  115. package/dist/groups/filter-effects-2.d.mts +3 -3
  116. package/dist/groups/limited-availability.d.mts +2 -2
  117. package/dist/groups/mediaqueries-4.d.mts +3 -3
  118. package/dist/groups/mediaqueries-5.d.mts +3 -3
  119. package/dist/groups/motion-1.d.mts +3 -3
  120. package/dist/groups/newly-available/with-downstream.d.mts +3 -3
  121. package/dist/groups/newly-available.d.mts +3 -3
  122. package/dist/groups/not-discouraged.d.mts +3 -3
  123. package/dist/groups/scroll-animations-1.d.mts +3 -3
  124. package/dist/groups/selectors-4.d.mts +2 -2
  125. package/dist/groups/selectors-5.d.mts +2 -2
  126. package/dist/groups/widely-available/with-downstream.d.mts +3 -3
  127. package/dist/groups/widely-available.d.mts +3 -3
  128. package/dist/index.d.mts +2 -1
  129. package/dist/index.mjs +8 -1
  130. package/dist/plugin-types.d.mts +1 -1
  131. package/dist/plugin.d.mts +1 -1
  132. package/dist/{scope-Db73Iud8.d.mts → scope-5A3kbBoQ.d.mts} +1683 -1
  133. package/dist/surface.d.mts +1 -1
  134. package/dist/{theme-types-DVk08gse.d.mts → theme-types-CplLnGgG.d.mts} +1684 -2
  135. package/dist/tui-types.d.mts +1 -1
  136. package/dist/types.d.mts +2 -2
  137. package/docs/API.md +135 -4
  138. package/package.json +2 -2
  139. package/dist/group-common-D6TXTgPp.d.mts +0 -1
@@ -1,6 +1,6 @@
1
- import { A as Wrap, C as Keyframes, D as QueryWrap, F as cv, H as style, I as firstThatWorks, J as FlexMethods, K as within, L as global, M as cn, O as StateWrap, R as group, S as CvValue, T as PositionTry, W as token, Y as GridMethods, _ as CSSStyleValue, a as DtcgUnit, am as Fallback, b as CvConfig, c as Tokens, d as createTokens, f as layers, g as CSSImageValue, h as CSSColorValue, i as DtcgShadow, j as attr, k as Steps, l as check, m as CSS, n as DtcgColor, nm as VarCall, o as DtcgValue, om as Part, p as AttrOp, q as ClassValue, r as DtcgCubicBezier, s as Overrides, sm as Style, t as CheckOverrides, u as createGlobalTheme, v as CSSUnitValue, x as CvProps, z as keyframes } from "../theme-types-DVk08gse.mjs";
2
- import { a as GProp, i as GMath, n as GFn, r as GLayout, t as GCondition } from "../group-types-4V0lZ9tn.mjs";
3
- import "../group-common-D6TXTgPp.mjs";
1
+ import { A as Steps, B as keyframes, C as CvValue, E as PositionTry, I as cv, J as within, K as token, L as firstThatWorks, M as attr, N as cn, O as QueryWrap, R as global, S as CvProps, U as style, X as FlexMethods, Y as ClassValue, Z as GridMethods, _ as CSSStyleValue, a as DtcgUnit, c as Tokens, cm as Part, d as createTokens, f as layers, g as CSSImageValue, h as CSSColorValue, i as DtcgShadow, im as VarCall, j as Wrap, k as StateWrap, l as check, lm as Style, m as CSS, n as DtcgColor, o as DtcgValue, p as AttrOp, r as DtcgCubicBezier, s as Overrides, sm as Fallback, t as CheckOverrides, u as createGlobalTheme, v as CSSUnitValue, w as Keyframes, x as CvConfig, z as group } from "../theme-types-CplLnGgG.mjs";
2
+ import { a as GProp, i as GMath, n as GFn, r as GLayout, t as GCondition } from "../group-types-BBaZ8dwy.mjs";
3
+ import "../group-common-CTUs5yym.mjs";
4
4
  import { properties } from "@cssints/css-grammar/mdn";
5
5
  type B = {
6
6
  id: "newly-available";
@@ -1,6 +1,6 @@
1
- import { A as Wrap, C as Keyframes, D as QueryWrap, F as cv, H as style, I as firstThatWorks, J as FlexMethods, K as within, L as global, M as cn, O as StateWrap, R as group, S as CvValue, T as PositionTry, W as token, Y as GridMethods, _ as CSSStyleValue, a as DtcgUnit, am as Fallback, b as CvConfig, c as Tokens, d as createTokens, f as layers, g as CSSImageValue, h as CSSColorValue, i as DtcgShadow, j as attr, k as Steps, l as check, m as CSS, n as DtcgColor, nm as VarCall, o as DtcgValue, om as Part, p as AttrOp, q as ClassValue, r as DtcgCubicBezier, s as Overrides, sm as Style, t as CheckOverrides, u as createGlobalTheme, v as CSSUnitValue, x as CvProps, z as keyframes } from "../theme-types-DVk08gse.mjs";
2
- import { a as GProp, i as GMath, n as GFn, r as GLayout, t as GCondition } from "../group-types-4V0lZ9tn.mjs";
3
- import "../group-common-D6TXTgPp.mjs";
1
+ import { A as Steps, B as keyframes, C as CvValue, E as PositionTry, I as cv, J as within, K as token, L as firstThatWorks, M as attr, N as cn, O as QueryWrap, R as global, S as CvProps, U as style, X as FlexMethods, Y as ClassValue, Z as GridMethods, _ as CSSStyleValue, a as DtcgUnit, c as Tokens, cm as Part, d as createTokens, f as layers, g as CSSImageValue, h as CSSColorValue, i as DtcgShadow, im as VarCall, j as Wrap, k as StateWrap, l as check, lm as Style, m as CSS, n as DtcgColor, o as DtcgValue, p as AttrOp, r as DtcgCubicBezier, s as Overrides, sm as Fallback, t as CheckOverrides, u as createGlobalTheme, v as CSSUnitValue, w as Keyframes, x as CvConfig, z as group } from "../theme-types-CplLnGgG.mjs";
2
+ import { a as GProp, i as GMath, n as GFn, r as GLayout, t as GCondition } from "../group-types-BBaZ8dwy.mjs";
3
+ import "../group-common-CTUs5yym.mjs";
4
4
  import { properties } from "@cssints/css-grammar/mdn";
5
5
  type B = {
6
6
  id: "not-discouraged";
@@ -1,6 +1,6 @@
1
- import { A as Wrap, C as Keyframes, D as QueryWrap, F as cv, H as style, I as firstThatWorks, K as within, L as global, M as cn, O as StateWrap, R as group, S as CvValue, T as PositionTry, W as token, _ as CSSStyleValue, a as DtcgUnit, am as Fallback, b as CvConfig, c as Tokens, d as createTokens, f as layers, g as CSSImageValue, h as CSSColorValue, i as DtcgShadow, j as attr, k as Steps, l as check, m as CSS, n as DtcgColor, o as DtcgValue, om as Part, p as AttrOp, q as ClassValue, r as DtcgCubicBezier, s as Overrides, sm as Style, t as CheckOverrides, u as createGlobalTheme, v as CSSUnitValue, x as CvProps } from "../theme-types-DVk08gse.mjs";
2
- import { a as GProp, n as GFn } from "../group-types-4V0lZ9tn.mjs";
3
- import "../group-common-D6TXTgPp.mjs";
1
+ import { A as Steps, C as CvValue, E as PositionTry, I as cv, J as within, K as token, L as firstThatWorks, M as attr, N as cn, O as QueryWrap, R as global, S as CvProps, U as style, Y as ClassValue, _ as CSSStyleValue, a as DtcgUnit, c as Tokens, cm as Part, d as createTokens, f as layers, g as CSSImageValue, h as CSSColorValue, i as DtcgShadow, j as Wrap, k as StateWrap, l as check, lm as Style, m as CSS, n as DtcgColor, o as DtcgValue, p as AttrOp, r as DtcgCubicBezier, s as Overrides, sm as Fallback, t as CheckOverrides, u as createGlobalTheme, v as CSSUnitValue, w as Keyframes, x as CvConfig, z as group } from "../theme-types-CplLnGgG.mjs";
2
+ import { a as GProp, n as GFn } from "../group-types-BBaZ8dwy.mjs";
3
+ import "../group-common-CTUs5yym.mjs";
4
4
  import { properties } from "@cssints/css-grammar/mdn";
5
5
  type B = {
6
6
  id: "scroll-animations-1";
@@ -1,5 +1,5 @@
1
- import { A as Wrap, C as Keyframes, D as QueryWrap, F as cv, H as style, I as firstThatWorks, K as within, L as global, M as cn, O as StateWrap, R as group, S as CvValue, T as PositionTry, W as token, _ as CSSStyleValue, a as DtcgUnit, am as Fallback, b as CvConfig, c as Tokens, d as createTokens, f as layers, g as CSSImageValue, h as CSSColorValue, i as DtcgShadow, j as attr, k as Steps, l as check, m as CSS, n as DtcgColor, o as DtcgValue, om as Part, p as AttrOp, q as ClassValue, r as DtcgCubicBezier, s as Overrides, sm as Style, t as CheckOverrides, u as createGlobalTheme, v as CSSUnitValue, x as CvProps } from "../theme-types-DVk08gse.mjs";
2
- import "../group-common-D6TXTgPp.mjs";
1
+ import { A as Steps, C as CvValue, E as PositionTry, I as cv, J as within, K as token, L as firstThatWorks, M as attr, N as cn, O as QueryWrap, R as global, S as CvProps, U as style, Y as ClassValue, _ as CSSStyleValue, a as DtcgUnit, c as Tokens, cm as Part, d as createTokens, f as layers, g as CSSImageValue, h as CSSColorValue, i as DtcgShadow, j as Wrap, k as StateWrap, l as check, lm as Style, m as CSS, n as DtcgColor, o as DtcgValue, p as AttrOp, r as DtcgCubicBezier, s as Overrides, sm as Fallback, t as CheckOverrides, u as createGlobalTheme, v as CSSUnitValue, w as Keyframes, x as CvConfig, z as group } from "../theme-types-CplLnGgG.mjs";
2
+ import "../group-common-CTUs5yym.mjs";
3
3
  export declare const active: StateWrap;
4
4
  export declare const anyLink: StateWrap;
5
5
  export declare const autofill: StateWrap;
@@ -1,5 +1,5 @@
1
- import { A as Wrap, C as Keyframes, D as QueryWrap, F as cv, H as style, I as firstThatWorks, K as within, L as global, M as cn, O as StateWrap, R as group, S as CvValue, T as PositionTry, W as token, _ as CSSStyleValue, a as DtcgUnit, am as Fallback, b as CvConfig, c as Tokens, d as createTokens, f as layers, g as CSSImageValue, h as CSSColorValue, i as DtcgShadow, j as attr, k as Steps, l as check, m as CSS, n as DtcgColor, o as DtcgValue, om as Part, p as AttrOp, q as ClassValue, r as DtcgCubicBezier, s as Overrides, sm as Style, t as CheckOverrides, u as createGlobalTheme, v as CSSUnitValue, x as CvProps } from "../theme-types-DVk08gse.mjs";
2
- import "../group-common-D6TXTgPp.mjs";
1
+ import { A as Steps, C as CvValue, E as PositionTry, I as cv, J as within, K as token, L as firstThatWorks, M as attr, N as cn, O as QueryWrap, R as global, S as CvProps, U as style, Y as ClassValue, _ as CSSStyleValue, a as DtcgUnit, c as Tokens, cm as Part, d as createTokens, f as layers, g as CSSImageValue, h as CSSColorValue, i as DtcgShadow, j as Wrap, k as StateWrap, l as check, lm as Style, m as CSS, n as DtcgColor, o as DtcgValue, p as AttrOp, r as DtcgCubicBezier, s as Overrides, sm as Fallback, t as CheckOverrides, u as createGlobalTheme, v as CSSUnitValue, w as Keyframes, x as CvConfig, z as group } from "../theme-types-CplLnGgG.mjs";
2
+ import "../group-common-CTUs5yym.mjs";
3
3
  export declare const active: StateWrap;
4
4
  export declare const anyLink: StateWrap;
5
5
  export declare const autofill: StateWrap;
@@ -1,6 +1,6 @@
1
- import { A as Wrap, C as Keyframes, D as QueryWrap, F as cv, H as style, I as firstThatWorks, J as FlexMethods, K as within, L as global, M as cn, O as StateWrap, R as group, S as CvValue, T as PositionTry, W as token, Y as GridMethods, _ as CSSStyleValue, a as DtcgUnit, am as Fallback, b as CvConfig, c as Tokens, d as createTokens, f as layers, g as CSSImageValue, h as CSSColorValue, i as DtcgShadow, j as attr, k as Steps, l as check, m as CSS, n as DtcgColor, o as DtcgValue, om as Part, p as AttrOp, q as ClassValue, r as DtcgCubicBezier, s as Overrides, sm as Style, t as CheckOverrides, u as createGlobalTheme, v as CSSUnitValue, x as CvProps, z as keyframes } from "../../theme-types-DVk08gse.mjs";
2
- import { a as GProp, r as GLayout, t as GCondition } from "../../group-types-4V0lZ9tn.mjs";
3
- import "../../group-common-D6TXTgPp.mjs";
1
+ import { A as Steps, B as keyframes, C as CvValue, E as PositionTry, I as cv, J as within, K as token, L as firstThatWorks, M as attr, N as cn, O as QueryWrap, R as global, S as CvProps, U as style, X as FlexMethods, Y as ClassValue, Z as GridMethods, _ as CSSStyleValue, a as DtcgUnit, c as Tokens, cm as Part, d as createTokens, f as layers, g as CSSImageValue, h as CSSColorValue, i as DtcgShadow, j as Wrap, k as StateWrap, l as check, lm as Style, m as CSS, n as DtcgColor, o as DtcgValue, p as AttrOp, r as DtcgCubicBezier, s as Overrides, sm as Fallback, t as CheckOverrides, u as createGlobalTheme, v as CSSUnitValue, w as Keyframes, x as CvConfig, z as group } from "../../theme-types-CplLnGgG.mjs";
2
+ import { a as GProp, r as GLayout, t as GCondition } from "../../group-types-BBaZ8dwy.mjs";
3
+ import "../../group-common-CTUs5yym.mjs";
4
4
  import { WebkitTextFillColor, WebkitTextStroke, WebkitTextStrokeColor, WebkitTextStrokeWidth, acos, active, alignContent, alignItems, alignSelf, all, animation, animationComposition, animationDelay, animationDirection, animationDuration, animationFillMode, animationIterationCount, animationName, animationPlayState, animationTimingFunction, anyLink, appearance, asin, aspectRatio, atan, atan2, attrFn, backfaceVisibility, backgroundAttachment, backgroundBlendMode, backgroundClip, backgroundColor, backgroundImage, backgroundOrigin, backgroundPosition, backgroundRepeat, backgroundSize, bg, blockSize, blur, border, borderBlock, borderBlockColor, borderBlockEnd, borderBlockEndColor, borderBlockEndStyle, borderBlockEndWidth, borderBlockStart, borderBlockStartColor, borderBlockStartStyle, borderBlockStartWidth, borderBlockStyle, borderBlockWidth, borderBottom, borderBottomColor, borderBottomLeftRadius, borderBottomRightRadius, borderBottomStyle, borderBottomWidth, borderCollapse, borderColor, borderEndEndRadius, borderEndStartRadius, borderImage, borderImageOutset, borderImageRepeat, borderImageSlice, borderImageSource, borderImageWidth, borderInline, borderInlineColor, borderInlineEnd, borderInlineEndColor, borderInlineEndStyle, borderInlineEndWidth, borderInlineStart, borderInlineStartColor, borderInlineStartStyle, borderInlineStartWidth, borderInlineStyle, borderInlineWidth, borderLeft, borderLeftColor, borderLeftStyle, borderLeftWidth, borderRadius, borderRight, borderRightColor, borderRightStyle, borderRightWidth, borderSpacing, borderStartEndRadius, borderStartStartRadius, borderStyle, borderTop, borderTopColor, borderTopLeftRadius, borderTopRightRadius, borderTopStyle, borderTopWidth, borderWidth, bottom, boxShadow, boxSizing, breakAfter, breakBefore, breakInside, brightness, calc, captionSide, caretColor, checked, circle, clamp, clear, clipPath, clipRule, color, colorFn, colorInterpolationFilters, colorMix, colorScheme, columnCount, columnFill, columnGap, columnRule, columnRuleColor, columnRuleStyle, columnRuleWidth, columnSpan, columnWidth, columns, conicGradient, contain, containIntrinsicBlockSize, containIntrinsicHeight, containIntrinsicInlineSize, containIntrinsicSize, containIntrinsicWidth, container, containerName, containerType, content, contrast, cos, counter, counterIncrement, counterReset, counterSet, counters, cubicBezier, cursor, cx, cy, defined, direction, disabled, display, dropShadow, ellipse, empty, emptyCells, enabled, env, exp, fill, fillOpacity, fillRule, filter, firstChild, firstOfType, flexBasis, flexDirection, flexGrow, flexShrink, flexWrap, float, floodColor, floodOpacity, focus, focusVisible, focusWithin, font, fontFamily, fontFeatureSettings, fontKerning, fontOpticalSizing, fontPalette, fontSize, fontStyle, fontSynthesis, fontSynthesisSmallCaps, fontSynthesisStyle, fontSynthesisWeight, fontVariant, fontVariantAlternates, fontVariantCaps, fontVariantEastAsian, fontVariantLigatures, fontVariantNumeric, fontVariantPosition, fontVariationSettings, fontWeight, gap, grayscale, gridArea, gridAutoColumns, gridAutoFlow, gridAutoRows, gridColumn, gridColumnEnd, gridColumnStart, gridRow, gridRowEnd, gridRowStart, gridTemplate, gridTemplateAreas, gridTemplateColumns, gridTemplateRows, height, hover, hsl, hsla, hueRotate, hwb, hyphenateCharacter, hyphens, hypot, image, imageOrientation, imageRendering, imageSet, inRange, indeterminate, inset, insetBlock, insetBlockEnd, insetBlockStart, insetFn, insetInline, insetInlineEnd, insetInlineStart, invalid, invert, isolation, justifyContent, justifyItems, justifySelf, lab, lastChild, lastOfType, lch, left, letterSpacing, lightingColor, lineBreak, lineHeight, linear, linearGradient, link, listStyle, listStyleImage, listStylePosition, listStyleType, log, m, margin, marginBlock, marginBlockEnd, marginBlockStart, marginBottom, marginInline, marginInlineEnd, marginInlineStart, marginLeft, marginRight, marginTop, marker, markerEnd, markerMid, markerStart, maskClip, maskComposite, maskOrigin, maskPosition, maskRepeat, maskSize, maskType, mathStyle, matrix, matrix3d, max, maxHeight, maxWidth, mb, min, minHeight, minWidth, minmax, mixBlendMode, ml, modal, mr, mt, objectFit, objectPosition, offset, offsetAnchor, offsetDistance, offsetPath, offsetPosition, offsetRotate, oklab, oklch, onlyChild, onlyOfType, opacity, opacityFn, optional, order, outOfRange, outline, outlineColor, outlineOffset, outlineStyle, outlineWidth, overflow, overflowWrap, overflowX, overflowY, p, padding, paddingBlock, paddingBlockEnd, paddingBlockStart, paddingBottom, paddingInline, paddingInlineEnd, paddingInlineStart, paddingLeft, paddingRight, paddingTop, page, paintOrder, path, pb, perspective, perspectiveFn, perspectiveOrigin, pl, placeContent, placeItems, placeSelf, placeholderShown, pointerEvents, polygon, position, pow, pr, pt, quotes, r, radialGradient, ray, readOnly, readWrite, rect, repeatingConicGradient, repeatingLinearGradient, repeatingRadialGradient, required, rgb, rgba, right, root, rotate, rotate3d, rotateFn, rotateX, rotateY, rotateZ, rowGap, rx, ry, saturate, scale, scale3d, scaleFn, scaleX, scaleY, scaleZ, scope, scrollBehavior, scrollMargin, scrollMarginBlock, scrollMarginBlockEnd, scrollMarginBlockStart, scrollMarginBottom, scrollMarginInline, scrollMarginInlineEnd, scrollMarginInlineStart, scrollMarginLeft, scrollMarginRight, scrollMarginTop, scrollPadding, scrollPaddingBlock, scrollPaddingBlockEnd, scrollPaddingBlockStart, scrollPaddingBottom, scrollPaddingInline, scrollPaddingInlineEnd, scrollPaddingInlineStart, scrollPaddingLeft, scrollPaddingRight, scrollPaddingTop, scrollSnapAlign, scrollSnapStop, scrollSnapType, sepia, shapeImageThreshold, shapeMargin, shapeRendering, sin, skew, skewX, skewY, sqrt, steps, stopColor, stopOpacity, stroke, strokeDasharray, strokeDashoffset, strokeLinecap, strokeLinejoin, strokeMiterlimit, strokeOpacity, strokeWidth, tabSize, tableLayout, tan, target, textAlign, textAlignLast, textAnchor, textCombineUpright, textDecoration, textDecorationColor, textDecorationLine, textDecorationSkipInk, textDecorationStyle, textDecorationThickness, textEmphasis, textEmphasisColor, textEmphasisPosition, textEmphasisStyle, textIndent, textOrientation, textOverflow, textRendering, textShadow, textTransform, textUnderlineOffset, textUnderlinePosition, top, touchAction, transform, transformBox, transformOrigin, transformStyle, transition, transitionDelay, transitionDuration, transitionProperty, transitionTimingFunction, translate, translate3d, translateFn, translateX, translateY, translateZ, unicodeBidi, url, userInvalid, userValid, valid, var as _var, vectorEffect, verticalAlign, visibility, visited, whiteSpaceCollapse, width, willChange, wordBreak, wordSpacing, writingMode, x, xywh, y, zIndex } from "../widely-available.mjs";
5
5
  import { properties } from "@cssints/css-grammar/mdn";
6
6
  type B = {
@@ -1,6 +1,6 @@
1
- import { A as Wrap, C as Keyframes, D as QueryWrap, F as cv, H as style, I as firstThatWorks, J as FlexMethods, K as within, L as global, M as cn, O as StateWrap, R as group, S as CvValue, T as PositionTry, W as token, Y as GridMethods, _ as CSSStyleValue, a as DtcgUnit, am as Fallback, b as CvConfig, c as Tokens, d as createTokens, f as layers, g as CSSImageValue, h as CSSColorValue, i as DtcgShadow, j as attr, k as Steps, l as check, m as CSS, n as DtcgColor, nm as VarCall, o as DtcgValue, om as Part, p as AttrOp, q as ClassValue, r as DtcgCubicBezier, s as Overrides, sm as Style, t as CheckOverrides, u as createGlobalTheme, v as CSSUnitValue, x as CvProps, z as keyframes } from "../theme-types-DVk08gse.mjs";
2
- import { a as GProp, i as GMath, n as GFn, r as GLayout, t as GCondition } from "../group-types-4V0lZ9tn.mjs";
3
- import "../group-common-D6TXTgPp.mjs";
1
+ import { A as Steps, B as keyframes, C as CvValue, E as PositionTry, I as cv, J as within, K as token, L as firstThatWorks, M as attr, N as cn, O as QueryWrap, R as global, S as CvProps, U as style, X as FlexMethods, Y as ClassValue, Z as GridMethods, _ as CSSStyleValue, a as DtcgUnit, c as Tokens, cm as Part, d as createTokens, f as layers, g as CSSImageValue, h as CSSColorValue, i as DtcgShadow, im as VarCall, j as Wrap, k as StateWrap, l as check, lm as Style, m as CSS, n as DtcgColor, o as DtcgValue, p as AttrOp, r as DtcgCubicBezier, s as Overrides, sm as Fallback, t as CheckOverrides, u as createGlobalTheme, v as CSSUnitValue, w as Keyframes, x as CvConfig, z as group } from "../theme-types-CplLnGgG.mjs";
2
+ import { a as GProp, i as GMath, n as GFn, r as GLayout, t as GCondition } from "../group-types-BBaZ8dwy.mjs";
3
+ import "../group-common-CTUs5yym.mjs";
4
4
  import { properties } from "@cssints/css-grammar/mdn";
5
5
  type B = {
6
6
  id: "widely-available";
package/dist/index.d.mts CHANGED
@@ -7,6 +7,7 @@ import { Effect } from "effect";
7
7
  interface Fallback {
8
8
  __fallback: string[];
9
9
  }
10
+ export declare const sx: () => CssNode;
10
11
  export declare const firstThatWorks: (...values: unknown[]) => Fallback;
11
12
  export declare class CSSAtRuleValue extends CSSStyleValue {
12
13
  readonly kernel: Kernel;
@@ -15,7 +16,7 @@ export declare class CSSAtRuleValue extends CSSStyleValue {
15
16
  toString(): string;
16
17
  }
17
18
  export declare const keyframes: (steps: unknown) => CSSAtRuleValue;
18
- export declare const positionTry: (...args: unknown[]) => CSSAtRuleValue | CssNode;
19
+ export declare const positionTry: (...args: unknown[]) => CssNode | CSSAtRuleValue;
19
20
  export declare const cn: (...all: unknown[]) => CssNode;
20
21
  export declare const flex: (...args: unknown[]) => CssNode;
21
22
  export declare const grid: (...args: unknown[]) => CssNode;
package/dist/index.mjs CHANGED
@@ -677,6 +677,12 @@ function _cv(config) {
677
677
  // src/macro.ts
678
678
  const flexChain = (ctx) => (name, args, self) => node([...self.__cssints, chainDecl(ctx, name, args)], self, flexChain(ctx));
679
679
  const member = (k) => (...args) => CONTEXTS[k] && !args.length ? node(toDecls(k, args), {}, flexChain(k)) : node(toDecls(k, args), { kernels: kernelsOf(args) });
680
+ const chainStep = (name, args, self) => {
681
+ if (!Object.hasOwn(PROPS, name) && !CONTEXTS[name]) throw fail(`cssints: sx() has no .${name}(); it chains properties (p, bg, padding) and flex()/grid(), and cn() merges styles`);
682
+ const add = node(toDecls(name, args), { kernels: kernelsOf(args) });
683
+ return node(merged([...self.__cssints, ...add.__cssints]), carried([self, add]), chainStep);
684
+ };
685
+ const sx = () => node([], {}, chainStep);
680
686
  const firstThatWorks = (...values) => {
681
687
  if (values.length < 2) throw fail("cssints: firstThatWorks() takes at least two values: the one you want, then what to use where it fails");
682
688
  for (const v of values) {
@@ -1162,6 +1168,7 @@ const __cnGroup = (statics, parts) => ({ __cnGroup: {
1162
1168
  const __nocn = () => void 0;
1163
1169
  const named = {
1164
1170
  cn,
1171
+ sx,
1165
1172
  firstThatWorks,
1166
1173
  ...fns,
1167
1174
  keyframes,
@@ -1283,4 +1290,4 @@ function __site(at, value) {
1283
1290
  if (Exit.isFailure(exit)) throw Cause.squash(exit.cause);
1284
1291
  return exit.value;
1285
1292
  }
1286
- export { CSS, CSSAtRuleValue, CSSColorValue, CSSImageValue, CSSStyleValue, CSSUnitValue, __at, __cnGroup, __group, __nocn, __site, __unseen, _cv, _cx, cn, css, cv, firstThatWorks, flex, grid, keyframes, positionTry };
1293
+ export { CSS, CSSAtRuleValue, CSSColorValue, CSSImageValue, CSSStyleValue, CSSUnitValue, __at, __cnGroup, __group, __nocn, __site, __unseen, _cv, _cx, cn, css, cv, firstThatWorks, flex, grid, keyframes, positionTry, sx };
@@ -1,4 +1,4 @@
1
- import { A as Wrap, G as types_d_exports, im as CheckIn, om as Part, sm as Style, t as CheckOverrides } from "./theme-types-DVk08gse.mjs";
1
+ import { cm as Part, j as Wrap, lm as Style, om as CheckIn, q as types_d_exports, t as CheckOverrides } from "./theme-types-CplLnGgG.mjs";
2
2
  import { CSSStyleValue } from "@cssints/css-grammar/values";
3
3
  import { Grammar, TokenType } from "@cssints/css-grammar/token";
4
4
  import { ValidSelector } from "@cssints/css-grammar/query";
package/dist/plugin.d.mts CHANGED
@@ -1,3 +1,3 @@
1
- import { _ as inGroup, a as Entry, b as Part, c as Made, d as Scope, f as Table, g as fn, h as dependsOn, i as Css, l as Members, m as arg, n as ArgsDef, o as Impl, p as Typed, r as Chain, s as KernelDef, u as Pending, v as lacking, x as Style, y as scope } from "./scope-Db73Iud8.mjs";
1
+ import { _ as inGroup, a as Entry, b as Part, c as Made, d as Scope, f as Table, g as fn, h as dependsOn, i as Css, l as Members, m as arg, n as ArgsDef, o as Impl, p as Typed, r as Chain, s as KernelDef, u as Pending, v as lacking, x as Style, y as scope } from "./scope-5A3kbBoQ.mjs";
2
2
  import { a as Kernel, i as GlobalRule, n as Conflict, o as Runtime, r as Decl, s as ThemeRule } from "./author-types-D9IjEXwn.mjs";
3
3
  export { type ArgsDef, type Chain, type Conflict, type Css, type Decl, type Entry, type GlobalRule, type Impl, type Kernel, type KernelDef, type Made, type Members, type Part, type Pending, type Runtime, type Scope, type Style, type Table, type ThemeRule, type Typed, arg, dependsOn, fn, inGroup, lacking, scope };