cssints 0.2.0 → 0.3.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 +88 -44
- package/dist/check.mjs +2 -2
- package/dist/{contrast-DhK69Xak.mjs → contrast-B49XCnVX.mjs} +2 -2
- package/dist/devtools-link-D2YxsJKZ.mjs +94 -0
- package/dist/devtools-link.d.mts +55 -0
- package/dist/devtools-link.mjs +2 -0
- package/dist/groups/baseline-2015/with-downstream.d.mts +81 -0
- package/dist/groups/baseline-2015.d.mts +291 -0
- package/dist/groups/baseline-2016/with-downstream.d.mts +86 -0
- package/dist/groups/baseline-2016.d.mts +310 -0
- package/dist/groups/baseline-2017/with-downstream.d.mts +94 -0
- package/dist/groups/baseline-2017.d.mts +365 -0
- package/dist/groups/baseline-2018/with-downstream.d.mts +94 -0
- package/dist/groups/baseline-2018.d.mts +368 -0
- package/dist/groups/baseline-2019/with-downstream.d.mts +97 -0
- package/dist/groups/baseline-2019.d.mts +375 -0
- package/dist/groups/baseline-2020/with-downstream.d.mts +112 -0
- package/dist/groups/baseline-2020.d.mts +480 -0
- package/dist/groups/baseline-2021/with-downstream.d.mts +125 -0
- package/dist/groups/baseline-2021.d.mts +536 -0
- package/dist/groups/baseline-2022/with-downstream.d.mts +126 -0
- package/dist/groups/baseline-2022.d.mts +562 -0
- package/dist/groups/baseline-2023/with-downstream.d.mts +120 -0
- package/dist/groups/baseline-2023.d.mts +606 -0
- package/dist/groups/baseline-2024/with-downstream.d.mts +627 -0
- package/dist/groups/baseline-2024.d.mts +632 -0
- package/dist/groups/baseline-2025/with-downstream.d.mts +628 -0
- package/dist/groups/baseline-2025.d.mts +640 -0
- package/dist/groups/baseline-2026/with-downstream.d.mts +3 -0
- package/dist/groups/baseline-2026.d.mts +3 -0
- package/dist/groups/newly-available/with-downstream.d.mts +632 -0
- package/dist/groups/widely-available/with-downstream.d.mts +121 -0
- package/dist/index.mjs +22 -7
- package/dist/instrument-BqIZpbIU.mjs +3956 -0
- package/dist/{lowered-D2KusPLp.mjs → lowered-aJVapQT6.mjs} +1 -1
- package/dist/plugin-types.d.mts +7 -0
- package/dist/plugin.d.mts +2 -2
- package/dist/plugin.mjs +8 -1
- package/dist/{registry-CTumHB8p.mjs → registry-BUSEO32-.mjs} +7 -1
- package/dist/{scope-ZVhUxQH1.d.mts → scope-INuJD4RT.d.mts} +8 -1
- package/dist/{sheet-BKsMTa0c.mjs → sheet-BeHdq4xt.mjs} +1 -1
- package/dist/surface.d.mts +1 -1
- package/dist/{theme-BsP2E4LB.mjs → theme-SlQ73rFL.mjs} +3 -3
- package/dist/tui.mjs +4 -4
- package/dist/vite.d.mts +3 -1
- package/dist/vite.mjs +86 -34
- package/docs/API.md +454 -231
- package/package.json +6 -2
- package/skills/cssints-plugin/SKILL.md +2 -0
- package/dist/instrument-gCazujmb.mjs +0 -1624
|
@@ -0,0 +1,291 @@
|
|
|
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, _ 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-Bqv0Ggz_.mjs";
|
|
2
|
+
import { a as GProp, i as GMath, n as GFn, r as GLayout, t as GCondition } from "../group-types-9ttphdku.mjs";
|
|
3
|
+
import "../group-common-9zpBxfUF.mjs";
|
|
4
|
+
import { properties } from "@cssints/css-grammar/mdn";
|
|
5
|
+
//#region src/groups/baseline-2015.d.ts
|
|
6
|
+
type B = {
|
|
7
|
+
id: "baseline-2015";
|
|
8
|
+
kw: {
|
|
9
|
+
"align-items": "anchor-center";
|
|
10
|
+
"align-self": "anchor-center" | "auto" | "normal" | "stretch";
|
|
11
|
+
"animation-duration": "auto";
|
|
12
|
+
"background": "text";
|
|
13
|
+
"background-attachment": "fixed" | "local";
|
|
14
|
+
"background-clip": "border-area" | "text";
|
|
15
|
+
"background-image": "element(" | "image-set(";
|
|
16
|
+
"background-position": "bottom" | "center" | "left" | "right" | "top";
|
|
17
|
+
"background-repeat": "round" | "space";
|
|
18
|
+
"border-collapse": "collapse" | "separate";
|
|
19
|
+
"bottom": "anchor(" | "anchor-size(";
|
|
20
|
+
"caption-side": "bottom" | "top";
|
|
21
|
+
"clear": "inline-end" | "inline-start";
|
|
22
|
+
"content": "image-set(";
|
|
23
|
+
"counter-reset": "reversed(";
|
|
24
|
+
"display": "contents" | "flow-root" | "grid" | "grid-lanes" | "inline-grid" | "inline-grid-lanes" | "math" | "ruby" | "ruby-base" | "ruby-base-container" | "ruby-text" | "ruby-text-container";
|
|
25
|
+
"flex": "anchor-size(" | "fit-content(";
|
|
26
|
+
"flex-basis": "anchor-size(" | "content" | "fit-content" | "fit-content(" | "max-content" | "min-content";
|
|
27
|
+
"flex-direction": "column-reverse" | "row-reverse";
|
|
28
|
+
"flex-wrap": "balance";
|
|
29
|
+
"float": "inline-end" | "inline-start";
|
|
30
|
+
"font": "math" | "system-ui" | "ui-monospace" | "ui-rounded" | "ui-sans-serif" | "ui-serif" | "xxx-large";
|
|
31
|
+
"font-family": "math" | "system-ui" | "ui-monospace" | "ui-rounded" | "ui-sans-serif" | "ui-serif";
|
|
32
|
+
"font-size": "math" | "xxx-large";
|
|
33
|
+
"font-variant": "historical-forms" | "none";
|
|
34
|
+
"height": "anchor-size(" | "fit-content" | "fit-content(" | "max-content" | "min-content";
|
|
35
|
+
"justify-content": "left" | "normal" | "right";
|
|
36
|
+
"left": "anchor(" | "anchor-size(";
|
|
37
|
+
"list-style": "string" | "symbols(";
|
|
38
|
+
"list-style-type": "symbols(";
|
|
39
|
+
"margin": "anchor-size(";
|
|
40
|
+
"margin-bottom": "anchor-size(";
|
|
41
|
+
"margin-left": "anchor-size(";
|
|
42
|
+
"margin-right": "anchor-size(";
|
|
43
|
+
"margin-top": "anchor-size(";
|
|
44
|
+
"max-height": "anchor-size(" | "fit-content" | "fit-content(" | "max-content" | "min-content";
|
|
45
|
+
"max-width": "anchor-size(" | "fit-content" | "fit-content(" | "max-content" | "min-content";
|
|
46
|
+
"min-height": "anchor-size(" | "fit-content" | "fit-content(" | "max-content" | "min-content";
|
|
47
|
+
"min-width": "anchor-size(" | "fit-content" | "fit-content(" | "max-content" | "min-content";
|
|
48
|
+
"overflow": "clip";
|
|
49
|
+
"overflow-x": "clip";
|
|
50
|
+
"overflow-y": "clip";
|
|
51
|
+
"position": "sticky";
|
|
52
|
+
"quotes": "auto";
|
|
53
|
+
"right": "anchor(" | "anchor-size(";
|
|
54
|
+
"text-align": "center" | "end" | "left" | "match-parent" | "right" | "start";
|
|
55
|
+
"text-decoration": "currentColor" | "percentage" | "transparent";
|
|
56
|
+
"text-indent": "each-line" | "hanging";
|
|
57
|
+
"text-transform": "full-size-kana" | "full-width" | "math-auto";
|
|
58
|
+
"top": "anchor(" | "anchor-size(";
|
|
59
|
+
"unicode-bidi": "isolate" | "isolate-override" | "plaintext";
|
|
60
|
+
"white-space": "break-spaces";
|
|
61
|
+
"width": "anchor-size(" | "fit-content" | "fit-content(" | "max-content" | "min-content";
|
|
62
|
+
"word-break": "auto-phrase" | "break-word";
|
|
63
|
+
};
|
|
64
|
+
fn: "abs" | "acos" | "anchor" | "anchor-size" | "asin" | "atan" | "atan2" | "blur" | "brightness" | "calc-size" | "circle" | "clamp" | "color-mix" | "conic-gradient" | "contrast" | "contrast-color" | "cos" | "cross-fade" | "drop-shadow" | "dynamic-range-limit-mix" | "element" | "ellipse" | "env" | "exp" | "fit-content" | "grayscale" | "hue-rotate" | "hwb" | "hypot" | "image-set" | "inset" | "invert" | "lab" | "layer" | "lch" | "leader" | "light-dark" | "linear" | "log" | "max" | "min" | "minmax" | "mod" | "oklab" | "oklch" | "opacity" | "paint" | "palette-mix" | "path" | "polygon" | "pow" | "ray" | "rect" | "rem" | "repeating-conic-gradient" | "round" | "saturate" | "scroll" | "sepia" | "sign" | "sin" | "sqrt" | "src" | "superellipse" | "symbols" | "tan" | "target-counter" | "target-counters" | "target-text" | "var" | "view" | "xywh";
|
|
65
|
+
unit: "Q" | "cap" | "cqb" | "cqh" | "cqi" | "cqmax" | "cqmin" | "cqw" | "dpcm" | "dpi" | "dppx" | "dvb" | "dvh" | "dvi" | "dvmax" | "dvmin" | "dvw" | "fr" | "ic" | "lh" | "lvb" | "lvh" | "lvi" | "lvmax" | "lvmin" | "lvw" | "q" | "rcap" | "rch" | "rex" | "ric" | "rlh" | "svb" | "svh" | "svi" | "svmax" | "svmin" | "svw" | "vb" | "vi" | "vmax" | "x";
|
|
66
|
+
media: "any-hover" | "any-pointer" | "calc" | "color-gamut" | "color-index" | "device-aspect-ratio" | "device-height" | "device-posture" | "device-width" | "display-mode" | "dynamic-range" | "forced-colors" | "horizontal-viewport-segments" | "hover" | "inverted-colors" | "monochrome" | "overflow-block" | "overflow-inline" | "pointer" | "prefers-color-scheme" | "prefers-contrast" | "prefers-reduced-data" | "prefers-reduced-motion" | "prefers-reduced-transparency" | "resolution" | "scripting" | "update" | "vertical-viewport-segments" | "video-dynamic-range";
|
|
67
|
+
container: "anchored(" | "scroll-state(" | "style(";
|
|
68
|
+
supports: "font-format(" | "font-tech(" | "selector(";
|
|
69
|
+
};
|
|
70
|
+
type P<K extends keyof typeof properties> = GProp<B, K>;
|
|
71
|
+
export declare const alignContent: P<"align-content">;
|
|
72
|
+
export declare const alignItems: P<"align-items">;
|
|
73
|
+
export declare const alignSelf: P<"align-self">;
|
|
74
|
+
export declare const animation: P<"animation">;
|
|
75
|
+
export declare const animationDelay: P<"animation-delay">;
|
|
76
|
+
export declare const animationDirection: P<"animation-direction">;
|
|
77
|
+
export declare const animationDuration: P<"animation-duration">;
|
|
78
|
+
export declare const animationFillMode: P<"animation-fill-mode">;
|
|
79
|
+
export declare const animationIterationCount: P<"animation-iteration-count">;
|
|
80
|
+
export declare const animationName: P<"animation-name">;
|
|
81
|
+
export declare const animationPlayState: P<"animation-play-state">;
|
|
82
|
+
export declare const animationTimingFunction: P<"animation-timing-function">;
|
|
83
|
+
export declare const background: P<"background">;
|
|
84
|
+
export declare const backgroundAttachment: P<"background-attachment">;
|
|
85
|
+
export declare const backgroundClip: P<"background-clip">;
|
|
86
|
+
export declare const backgroundColor: P<"background-color">;
|
|
87
|
+
export declare const backgroundImage: P<"background-image">;
|
|
88
|
+
export declare const backgroundOrigin: P<"background-origin">;
|
|
89
|
+
export declare const backgroundPosition: P<"background-position">;
|
|
90
|
+
export declare const backgroundRepeat: P<"background-repeat">;
|
|
91
|
+
export declare const backgroundSize: P<"background-size">;
|
|
92
|
+
export declare const bg: P<"background-color">;
|
|
93
|
+
export declare const border: P<"border">;
|
|
94
|
+
export declare const borderBottom: P<"border-bottom">;
|
|
95
|
+
export declare const borderBottomColor: P<"border-bottom-color">;
|
|
96
|
+
export declare const borderBottomLeftRadius: P<"border-bottom-left-radius">;
|
|
97
|
+
export declare const borderBottomRightRadius: P<"border-bottom-right-radius">;
|
|
98
|
+
export declare const borderBottomStyle: P<"border-bottom-style">;
|
|
99
|
+
export declare const borderBottomWidth: P<"border-bottom-width">;
|
|
100
|
+
export declare const borderCollapse: P<"border-collapse">;
|
|
101
|
+
export declare const borderColor: P<"border-color">;
|
|
102
|
+
export declare const borderImage: P<"border-image">;
|
|
103
|
+
export declare const borderImageOutset: P<"border-image-outset">;
|
|
104
|
+
export declare const borderImageSlice: P<"border-image-slice">;
|
|
105
|
+
export declare const borderImageSource: P<"border-image-source">;
|
|
106
|
+
export declare const borderImageWidth: P<"border-image-width">;
|
|
107
|
+
export declare const borderLeft: P<"border-left">;
|
|
108
|
+
export declare const borderLeftColor: P<"border-left-color">;
|
|
109
|
+
export declare const borderLeftStyle: P<"border-left-style">;
|
|
110
|
+
export declare const borderLeftWidth: P<"border-left-width">;
|
|
111
|
+
export declare const borderRadius: P<"border-radius">;
|
|
112
|
+
export declare const borderRight: P<"border-right">;
|
|
113
|
+
export declare const borderRightColor: P<"border-right-color">;
|
|
114
|
+
export declare const borderRightStyle: P<"border-right-style">;
|
|
115
|
+
export declare const borderRightWidth: P<"border-right-width">;
|
|
116
|
+
export declare const borderSpacing: P<"border-spacing">;
|
|
117
|
+
export declare const borderStyle: P<"border-style">;
|
|
118
|
+
export declare const borderTop: P<"border-top">;
|
|
119
|
+
export declare const borderTopColor: P<"border-top-color">;
|
|
120
|
+
export declare const borderTopLeftRadius: P<"border-top-left-radius">;
|
|
121
|
+
export declare const borderTopRightRadius: P<"border-top-right-radius">;
|
|
122
|
+
export declare const borderTopStyle: P<"border-top-style">;
|
|
123
|
+
export declare const borderTopWidth: P<"border-top-width">;
|
|
124
|
+
export declare const borderWidth: P<"border-width">;
|
|
125
|
+
export declare const bottom: P<"bottom">;
|
|
126
|
+
export declare const boxShadow: P<"box-shadow">;
|
|
127
|
+
export declare const boxSizing: P<"box-sizing">;
|
|
128
|
+
export declare const captionSide: P<"caption-side">;
|
|
129
|
+
export declare const clear: P<"clear">;
|
|
130
|
+
export declare const color: P<"color">;
|
|
131
|
+
export declare const columnGap: P<"column-gap">;
|
|
132
|
+
export declare const content: P<"content">;
|
|
133
|
+
export declare const counterIncrement: P<"counter-increment">;
|
|
134
|
+
export declare const counterReset: P<"counter-reset">;
|
|
135
|
+
export declare const direction: P<"direction">;
|
|
136
|
+
export declare const display: P<"display">;
|
|
137
|
+
export declare const emptyCells: P<"empty-cells">;
|
|
138
|
+
export declare const flexBasis: P<"flex-basis">;
|
|
139
|
+
export declare const flexDirection: P<"flex-direction">;
|
|
140
|
+
export declare const flexFlow: P<"flex-flow">;
|
|
141
|
+
export declare const flexGrow: P<"flex-grow">;
|
|
142
|
+
export declare const flexShrink: P<"flex-shrink">;
|
|
143
|
+
export declare const flexWrap: P<"flex-wrap">;
|
|
144
|
+
export declare const float: P<"float">;
|
|
145
|
+
export declare const floodColor: P<"flood-color">;
|
|
146
|
+
export declare const floodOpacity: P<"flood-opacity">;
|
|
147
|
+
export declare const font: P<"font">;
|
|
148
|
+
export declare const fontFamily: P<"font-family">;
|
|
149
|
+
export declare const fontSize: P<"font-size">;
|
|
150
|
+
export declare const fontStyle: P<"font-style">;
|
|
151
|
+
export declare const fontVariant: P<"font-variant">;
|
|
152
|
+
export declare const fontWeight: P<"font-weight">;
|
|
153
|
+
export declare const height: P<"height">;
|
|
154
|
+
export declare const justifyContent: P<"justify-content">;
|
|
155
|
+
export declare const left: P<"left">;
|
|
156
|
+
export declare const letterSpacing: P<"letter-spacing">;
|
|
157
|
+
export declare const lightingColor: P<"lighting-color">;
|
|
158
|
+
export declare const lineHeight: P<"line-height">;
|
|
159
|
+
export declare const listStyle: P<"list-style">;
|
|
160
|
+
export declare const listStyleImage: P<"list-style-image">;
|
|
161
|
+
export declare const listStylePosition: P<"list-style-position">;
|
|
162
|
+
export declare const listStyleType: P<"list-style-type">;
|
|
163
|
+
export declare const m: P<"margin">;
|
|
164
|
+
export declare const margin: P<"margin">;
|
|
165
|
+
export declare const marginBottom: P<"margin-bottom">;
|
|
166
|
+
export declare const marginLeft: P<"margin-left">;
|
|
167
|
+
export declare const marginRight: P<"margin-right">;
|
|
168
|
+
export declare const marginTop: P<"margin-top">;
|
|
169
|
+
export declare const maxHeight: P<"max-height">;
|
|
170
|
+
export declare const maxWidth: P<"max-width">;
|
|
171
|
+
export declare const mb: P<"margin-bottom">;
|
|
172
|
+
export declare const minHeight: P<"min-height">;
|
|
173
|
+
export declare const minWidth: P<"min-width">;
|
|
174
|
+
export declare const ml: P<"margin-left">;
|
|
175
|
+
export declare const mr: P<"margin-right">;
|
|
176
|
+
export declare const mt: P<"margin-top">;
|
|
177
|
+
export declare const opacity: P<"opacity">;
|
|
178
|
+
export declare const order: P<"order">;
|
|
179
|
+
export declare const outlineColor: P<"outline-color">;
|
|
180
|
+
export declare const outlineStyle: P<"outline-style">;
|
|
181
|
+
export declare const outlineWidth: P<"outline-width">;
|
|
182
|
+
export declare const overflow: P<"overflow">;
|
|
183
|
+
export declare const overflowX: P<"overflow-x">;
|
|
184
|
+
export declare const overflowY: P<"overflow-y">;
|
|
185
|
+
export declare const p: P<"padding">;
|
|
186
|
+
export declare const padding: P<"padding">;
|
|
187
|
+
export declare const paddingBottom: P<"padding-bottom">;
|
|
188
|
+
export declare const paddingLeft: P<"padding-left">;
|
|
189
|
+
export declare const paddingRight: P<"padding-right">;
|
|
190
|
+
export declare const paddingTop: P<"padding-top">;
|
|
191
|
+
export declare const pb: P<"padding-bottom">;
|
|
192
|
+
export declare const perspective: P<"perspective">;
|
|
193
|
+
export declare const perspectiveOrigin: P<"perspective-origin">;
|
|
194
|
+
export declare const pl: P<"padding-left">;
|
|
195
|
+
export declare const pointerEvents: P<"pointer-events">;
|
|
196
|
+
export declare const position: P<"position">;
|
|
197
|
+
export declare const pr: P<"padding-right">;
|
|
198
|
+
export declare const pt: P<"padding-top">;
|
|
199
|
+
export declare const quotes: P<"quotes">;
|
|
200
|
+
export declare const right: P<"right">;
|
|
201
|
+
export declare const tableLayout: P<"table-layout">;
|
|
202
|
+
export declare const textAlign: P<"text-align">;
|
|
203
|
+
export declare const textDecoration: P<"text-decoration">;
|
|
204
|
+
export declare const textIndent: P<"text-indent">;
|
|
205
|
+
export declare const textOverflow: P<"text-overflow">;
|
|
206
|
+
export declare const textShadow: P<"text-shadow">;
|
|
207
|
+
export declare const textTransform: P<"text-transform">;
|
|
208
|
+
export declare const top: P<"top">;
|
|
209
|
+
export declare const transform: P<"transform">;
|
|
210
|
+
export declare const transformOrigin: P<"transform-origin">;
|
|
211
|
+
export declare const transformStyle: P<"transform-style">;
|
|
212
|
+
export declare const transition: P<"transition">;
|
|
213
|
+
export declare const transitionDelay: P<"transition-delay">;
|
|
214
|
+
export declare const transitionDuration: P<"transition-duration">;
|
|
215
|
+
export declare const transitionProperty: P<"transition-property">;
|
|
216
|
+
export declare const transitionTimingFunction: P<"transition-timing-function">;
|
|
217
|
+
export declare const unicodeBidi: P<"unicode-bidi">;
|
|
218
|
+
export declare const verticalAlign: P<"vertical-align">;
|
|
219
|
+
export declare const visibility: P<"visibility">;
|
|
220
|
+
export declare const whiteSpace: P<"white-space">;
|
|
221
|
+
export declare const width: P<"width">;
|
|
222
|
+
export declare const wordBreak: P<"word-break">;
|
|
223
|
+
export declare const wordSpacing: P<"word-spacing">;
|
|
224
|
+
export declare const zIndex: P<"z-index">;
|
|
225
|
+
export declare const active: StateWrap;
|
|
226
|
+
export declare const checked: StateWrap;
|
|
227
|
+
export declare const disabled: StateWrap;
|
|
228
|
+
export declare const empty: StateWrap;
|
|
229
|
+
export declare const enabled: StateWrap;
|
|
230
|
+
export declare const firstChild: StateWrap;
|
|
231
|
+
export declare const firstOfType: StateWrap;
|
|
232
|
+
export declare const focus: StateWrap;
|
|
233
|
+
export declare const hover: StateWrap;
|
|
234
|
+
export declare const inRange: StateWrap;
|
|
235
|
+
export declare const indeterminate: StateWrap;
|
|
236
|
+
export declare const invalid: StateWrap;
|
|
237
|
+
export declare const lastChild: StateWrap;
|
|
238
|
+
export declare const lastOfType: StateWrap;
|
|
239
|
+
export declare const link: StateWrap;
|
|
240
|
+
export declare const onlyChild: StateWrap;
|
|
241
|
+
export declare const onlyOfType: StateWrap;
|
|
242
|
+
export declare const optional: StateWrap;
|
|
243
|
+
export declare const outOfRange: StateWrap;
|
|
244
|
+
export declare const required: StateWrap;
|
|
245
|
+
export declare const root: StateWrap;
|
|
246
|
+
export declare const target: StateWrap;
|
|
247
|
+
export declare const valid: StateWrap;
|
|
248
|
+
export declare const visited: StateWrap;
|
|
249
|
+
export declare const attrFn: GFn<B, "attr", ", ">;
|
|
250
|
+
export declare const calc: GMath<B, "same">;
|
|
251
|
+
export declare const colorFn: GFn<B, "color", " ">;
|
|
252
|
+
export declare const counter: GFn<B, "counter", ", ">;
|
|
253
|
+
export declare const counters: GFn<B, "counters", ", ">;
|
|
254
|
+
export declare const cubicBezier: GFn<B, "cubic-bezier", ", ">;
|
|
255
|
+
export declare const hsl: GFn<B, "hsl", ", ">;
|
|
256
|
+
export declare const hsla: GFn<B, "hsla", ", ">;
|
|
257
|
+
export declare const image: GFn<B, "image", ", ">;
|
|
258
|
+
export declare const linearGradient: GFn<B, "linear-gradient", ", ">;
|
|
259
|
+
export declare const matrix: GFn<B, "matrix", ", ">;
|
|
260
|
+
export declare const matrix3d: GFn<B, "matrix3d", ", ">;
|
|
261
|
+
export declare const perspectiveFn: GFn<B, "perspective", " ">;
|
|
262
|
+
export declare const radialGradient: GFn<B, "radial-gradient", ", ">;
|
|
263
|
+
export declare const repeatingLinearGradient: GFn<B, "repeating-linear-gradient", ", ">;
|
|
264
|
+
export declare const repeatingRadialGradient: GFn<B, "repeating-radial-gradient", ", ">;
|
|
265
|
+
export declare const rgb: GFn<B, "rgb", ", ">;
|
|
266
|
+
export declare const rgba: GFn<B, "rgba", ", ">;
|
|
267
|
+
export declare const rotate3d: GFn<B, "rotate3d", ", ">;
|
|
268
|
+
export declare const rotateFn: GFn<B, "rotate", " ">;
|
|
269
|
+
export declare const rotateX: GFn<B, "rotateX", " ">;
|
|
270
|
+
export declare const rotateY: GFn<B, "rotateY", " ">;
|
|
271
|
+
export declare const rotateZ: GFn<B, "rotateZ", " ">;
|
|
272
|
+
export declare const scale3d: GFn<B, "scale3d", ", ">;
|
|
273
|
+
export declare const scaleFn: GFn<B, "scale", ", ">;
|
|
274
|
+
export declare const scaleX: GFn<B, "scaleX", " ">;
|
|
275
|
+
export declare const scaleY: GFn<B, "scaleY", " ">;
|
|
276
|
+
export declare const scaleZ: GFn<B, "scaleZ", " ">;
|
|
277
|
+
export declare const skew: GFn<B, "skew", ", ">;
|
|
278
|
+
export declare const skewX: GFn<B, "skewX", " ">;
|
|
279
|
+
export declare const skewY: GFn<B, "skewY", " ">;
|
|
280
|
+
export declare const steps: GFn<B, "steps", ", ">;
|
|
281
|
+
export declare const translate3d: GFn<B, "translate3d", ", ">;
|
|
282
|
+
export declare const translateFn: GFn<B, "translate", ", ">;
|
|
283
|
+
export declare const translateX: GFn<B, "translateX", " ">;
|
|
284
|
+
export declare const translateY: GFn<B, "translateY", " ">;
|
|
285
|
+
export declare const translateZ: GFn<B, "translateZ", " ">;
|
|
286
|
+
export declare const url: GFn<B, "url", " ">;
|
|
287
|
+
export declare const media: GCondition<B, "media", QueryWrap>;
|
|
288
|
+
export declare const supports: GCondition<B, "supports", Wrap>;
|
|
289
|
+
export declare const flex: GLayout<B, "flex", Pick<FlexMethods, "direction" | "wrap" | "flow" | "alignItems" | "alignContent" | "justifyContent" | "columnGap">>;
|
|
290
|
+
//#endregion
|
|
291
|
+
export { type AttrOp, type CSS, type CSSColorValue, type CSSImageValue, type CSSStyleValue, type CSSUnitValue, CheckOverrides, type ClassValue, type CvConfig, type CvProps, type CvValue, DtcgColor, DtcgCubicBezier, DtcgShadow, DtcgUnit, DtcgValue, type Fallback, type Keyframes, Overrides, type Part, type PositionTry, type QueryWrap, type StateWrap, type Steps, type Style, Tokens, type Wrap, attr, check, cn, createGlobalTheme, createTokens, cv, firstThatWorks, global, group, keyframes, layers, style, token, within };
|
|
@@ -0,0 +1,86 @@
|
|
|
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, _ 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-Bqv0Ggz_.mjs";
|
|
2
|
+
import { a as GProp, r as GLayout, t as GCondition } from "../../group-types-9ttphdku.mjs";
|
|
3
|
+
import "../../group-common-9zpBxfUF.mjs";
|
|
4
|
+
import { WebkitTextFillColor, active, alignContent, alignItems, alignSelf, animation, animationDelay, animationDirection, animationDuration, animationFillMode, animationIterationCount, animationName, animationPlayState, animationTimingFunction, attrFn, backgroundAttachment, backgroundClip, backgroundColor, backgroundImage, backgroundOrigin, backgroundPosition, backgroundRepeat, backgroundSize, bg, blur, border, borderBottom, borderBottomColor, borderBottomLeftRadius, borderBottomRightRadius, borderBottomStyle, borderBottomWidth, borderCollapse, borderColor, borderImage, borderImageOutset, borderImageRepeat, borderImageSlice, borderImageSource, borderImageWidth, borderLeft, borderLeftColor, borderLeftStyle, borderLeftWidth, borderRadius, borderRight, borderRightColor, borderRightStyle, borderRightWidth, borderSpacing, borderStyle, borderTop, borderTopColor, borderTopLeftRadius, borderTopRightRadius, borderTopStyle, borderTopWidth, borderWidth, bottom, boxShadow, boxSizing, brightness, calc, captionSide, checked, clear, color, colorFn, columnGap, columnWidth, content, contrast, counter, counterIncrement, counterReset, counters, cubicBezier, direction, disabled, display, dropShadow, empty, emptyCells, enabled, filter, firstChild, firstOfType, flexBasis, flexDirection, flexGrow, flexShrink, flexWrap, float, floodColor, floodOpacity, focus, font, fontFamily, fontSize, fontStyle, fontWeight, grayscale, height, hover, hsl, hsla, hueRotate, image, inRange, indeterminate, invalid, invert, justifyContent, justifyItems, lastChild, lastOfType, left, letterSpacing, lightingColor, lineHeight, linearGradient, link, listStyle, listStyleImage, listStylePosition, listStyleType, m, margin, marginBottom, marginLeft, marginRight, marginTop, matrix, matrix3d, maxHeight, maxWidth, mb, minHeight, minWidth, ml, mr, mt, onlyChild, onlyOfType, opacity, opacityFn, optional, order, outOfRange, outlineColor, outlineStyle, outlineWidth, overflow, overflowX, overflowY, p, padding, paddingBottom, paddingLeft, paddingRight, paddingTop, pb, perspective, perspectiveFn, perspectiveOrigin, pl, pointerEvents, position, pr, pt, quotes, radialGradient, repeatingLinearGradient, repeatingRadialGradient, required, rgb, rgba, right, root, rotate3d, rotateFn, rotateX, rotateY, rotateZ, saturate, scale3d, scaleFn, scaleX, scaleY, scaleZ, sepia, skew, skewX, skewY, steps, supports, tableLayout, target, textAlign, textAnchor, textIndent, textOverflow, textShadow, textTransform, top, transform, transformOrigin, transformStyle, transition, transitionDelay, transitionDuration, transitionProperty, transitionTimingFunction, translate3d, translateFn, translateX, translateY, translateZ, unicodeBidi, url, valid, verticalAlign, visibility, visited, width, wordBreak, wordSpacing, zIndex } from "../baseline-2016.mjs";
|
|
5
|
+
import { properties } from "@cssints/css-grammar/mdn";
|
|
6
|
+
//#region src/groups/baseline-2016/with-downstream.d.ts
|
|
7
|
+
type B = {
|
|
8
|
+
id: "baseline-2016/with-downstream";
|
|
9
|
+
kw: {
|
|
10
|
+
"align-items": "anchor-center";
|
|
11
|
+
"align-self": "anchor-center" | "auto" | "normal" | "stretch";
|
|
12
|
+
"animation-duration": "auto";
|
|
13
|
+
"background": "border-area" | "text" | "x-end" | "x-start" | "y-end" | "y-start";
|
|
14
|
+
"background-attachment": "fixed" | "local";
|
|
15
|
+
"background-clip": "border-area" | "text";
|
|
16
|
+
"background-image": "element(" | "image-set(";
|
|
17
|
+
"background-position": "bottom" | "center" | "left" | "right" | "top";
|
|
18
|
+
"background-position-x": "x-end" | "x-start";
|
|
19
|
+
"background-position-y": "y-end" | "y-start";
|
|
20
|
+
"border-collapse": "collapse" | "separate";
|
|
21
|
+
"border-image-repeat": "space";
|
|
22
|
+
"bottom": "anchor(" | "anchor-size(";
|
|
23
|
+
"caption-side": "bottom" | "top";
|
|
24
|
+
"clear": "inline-end" | "inline-start";
|
|
25
|
+
"content": "image-set(";
|
|
26
|
+
"counter-reset": "reversed(";
|
|
27
|
+
"display": "contents" | "flow-root" | "grid" | "grid-lanes" | "inline-grid" | "inline-grid-lanes" | "math" | "ruby" | "ruby-base" | "ruby-base-container" | "ruby-text" | "ruby-text-container";
|
|
28
|
+
"flex": "anchor-size(" | "content" | "fit-content" | "fit-content(" | "max-content" | "min-content";
|
|
29
|
+
"flex-basis": "anchor-size(" | "content" | "fit-content" | "fit-content(" | "max-content" | "min-content";
|
|
30
|
+
"flex-direction": "column-reverse" | "row-reverse";
|
|
31
|
+
"flex-flow": "balance";
|
|
32
|
+
"flex-wrap": "balance";
|
|
33
|
+
"float": "inline-end" | "inline-start";
|
|
34
|
+
"font": "math" | "system-ui" | "ui-monospace" | "ui-rounded" | "ui-sans-serif" | "ui-serif" | "xxx-large";
|
|
35
|
+
"font-family": "math" | "system-ui" | "ui-monospace" | "ui-rounded" | "ui-sans-serif" | "ui-serif";
|
|
36
|
+
"font-size": "math" | "xxx-large";
|
|
37
|
+
"font-variant": "full-width" | "historical-forms" | "jis04" | "jis78" | "jis83" | "jis90" | "none" | "proportional-width" | "ruby" | "simplified" | "traditional";
|
|
38
|
+
"height": "anchor-size(" | "fit-content" | "fit-content(" | "max-content" | "min-content";
|
|
39
|
+
"justify-content": "left" | "normal" | "right";
|
|
40
|
+
"justify-items": "anchor-center" | "center" | "left" | "legacy" | "right";
|
|
41
|
+
"left": "anchor(" | "anchor-size(";
|
|
42
|
+
"list-style": "string" | "symbols(";
|
|
43
|
+
"list-style-type": "symbols(";
|
|
44
|
+
"margin": "anchor-size(";
|
|
45
|
+
"margin-bottom": "anchor-size(";
|
|
46
|
+
"margin-left": "anchor-size(";
|
|
47
|
+
"margin-right": "anchor-size(";
|
|
48
|
+
"margin-top": "anchor-size(";
|
|
49
|
+
"max-height": "anchor-size(" | "fit-content" | "fit-content(" | "max-content" | "min-content";
|
|
50
|
+
"max-width": "anchor-size(" | "fit-content" | "fit-content(" | "max-content" | "min-content";
|
|
51
|
+
"min-height": "anchor-size(" | "fit-content" | "fit-content(" | "max-content" | "min-content";
|
|
52
|
+
"min-width": "anchor-size(" | "fit-content" | "fit-content(" | "max-content" | "min-content";
|
|
53
|
+
"overflow": "clip";
|
|
54
|
+
"overflow-x": "clip";
|
|
55
|
+
"overflow-y": "clip";
|
|
56
|
+
"position": "sticky";
|
|
57
|
+
"quotes": "auto";
|
|
58
|
+
"right": "anchor(" | "anchor-size(";
|
|
59
|
+
"text-align": "center" | "end" | "left" | "match-parent" | "right" | "start";
|
|
60
|
+
"text-decoration": "auto" | "currentColor" | "dashed" | "dotted" | "double" | "from-font" | "grammar-error" | "percentage" | "solid" | "spelling-error" | "transparent" | "wavy";
|
|
61
|
+
"text-indent": "each-line" | "hanging";
|
|
62
|
+
"text-transform": "full-size-kana" | "full-width" | "math-auto";
|
|
63
|
+
"top": "anchor(" | "anchor-size(";
|
|
64
|
+
"unicode-bidi": "isolate" | "isolate-override" | "plaintext";
|
|
65
|
+
"white-space": "break-spaces" | "collapse" | "preserve" | "preserve-breaks" | "preserve-spaces" | "wrap";
|
|
66
|
+
"width": "anchor-size(" | "fit-content" | "fit-content(" | "max-content" | "min-content";
|
|
67
|
+
"word-break": "auto-phrase" | "break-word";
|
|
68
|
+
};
|
|
69
|
+
fn: "abs" | "acos" | "anchor" | "anchor-size" | "asin" | "atan" | "atan2" | "calc-size" | "circle" | "clamp" | "color-mix" | "conic-gradient" | "contrast-color" | "cos" | "cross-fade" | "dynamic-range-limit-mix" | "element" | "ellipse" | "env" | "exp" | "fit-content" | "hwb" | "hypot" | "image-set" | "inset" | "lab" | "layer" | "lch" | "leader" | "light-dark" | "linear" | "log" | "max" | "min" | "minmax" | "mod" | "oklab" | "oklch" | "paint" | "palette-mix" | "path" | "polygon" | "pow" | "ray" | "rect" | "rem" | "repeating-conic-gradient" | "round" | "scroll" | "sign" | "sin" | "sqrt" | "src" | "superellipse" | "symbols" | "tan" | "target-counter" | "target-counters" | "target-text" | "var" | "view" | "xywh";
|
|
70
|
+
unit: "Q" | "cap" | "cqb" | "cqh" | "cqi" | "cqmax" | "cqmin" | "cqw" | "dpcm" | "dpi" | "dppx" | "dvb" | "dvh" | "dvi" | "dvmax" | "dvmin" | "dvw" | "fr" | "ic" | "lh" | "lvb" | "lvh" | "lvi" | "lvmax" | "lvmin" | "lvw" | "q" | "rcap" | "rch" | "rex" | "ric" | "rlh" | "svb" | "svh" | "svi" | "svmax" | "svmin" | "svw" | "vb" | "vi" | "vmax" | "x";
|
|
71
|
+
media: "any-hover" | "any-pointer" | "calc" | "color-gamut" | "color-index" | "device-aspect-ratio" | "device-height" | "device-posture" | "device-width" | "display-mode" | "dynamic-range" | "forced-colors" | "horizontal-viewport-segments" | "hover" | "inverted-colors" | "monochrome" | "overflow-block" | "overflow-inline" | "pointer" | "prefers-color-scheme" | "prefers-contrast" | "prefers-reduced-data" | "prefers-reduced-motion" | "prefers-reduced-transparency" | "resolution" | "scan" | "scripting" | "update" | "vertical-viewport-segments" | "video-dynamic-range";
|
|
72
|
+
container: "anchored(" | "scroll-state(" | "style(";
|
|
73
|
+
supports: "font-format(" | "font-tech(" | "selector(";
|
|
74
|
+
};
|
|
75
|
+
type P<K extends keyof typeof properties> = GProp<B, K>;
|
|
76
|
+
export declare const background: P<"background">;
|
|
77
|
+
export declare const backgroundPositionX: P<"background-position-x">;
|
|
78
|
+
export declare const backgroundPositionY: P<"background-position-y">;
|
|
79
|
+
export declare const flexFlow: P<"flex-flow">;
|
|
80
|
+
export declare const fontVariant: P<"font-variant">;
|
|
81
|
+
export declare const textDecoration: P<"text-decoration">;
|
|
82
|
+
export declare const whiteSpace: P<"white-space">;
|
|
83
|
+
export declare const media: GCondition<B, "media", QueryWrap>;
|
|
84
|
+
export declare const flex: GLayout<B, "flex", Pick<FlexMethods, "direction" | "wrap" | "flow" | "alignItems" | "alignContent" | "justifyContent" | "columnGap">>;
|
|
85
|
+
//#endregion
|
|
86
|
+
export { type AttrOp, type CSS, type CSSColorValue, type CSSImageValue, type CSSStyleValue, type CSSUnitValue, CheckOverrides, type ClassValue, type CvConfig, type CvProps, type CvValue, DtcgColor, DtcgCubicBezier, DtcgShadow, DtcgUnit, DtcgValue, type Fallback, type Keyframes, Overrides, type Part, type PositionTry, type QueryWrap, type StateWrap, type Steps, type Style, Tokens, WebkitTextFillColor, type Wrap, active, alignContent, alignItems, alignSelf, animation, animationDelay, animationDirection, animationDuration, animationFillMode, animationIterationCount, animationName, animationPlayState, animationTimingFunction, attr, attrFn, backgroundAttachment, backgroundClip, backgroundColor, backgroundImage, backgroundOrigin, backgroundPosition, backgroundRepeat, backgroundSize, bg, blur, border, borderBottom, borderBottomColor, borderBottomLeftRadius, borderBottomRightRadius, borderBottomStyle, borderBottomWidth, borderCollapse, borderColor, borderImage, borderImageOutset, borderImageRepeat, borderImageSlice, borderImageSource, borderImageWidth, borderLeft, borderLeftColor, borderLeftStyle, borderLeftWidth, borderRadius, borderRight, borderRightColor, borderRightStyle, borderRightWidth, borderSpacing, borderStyle, borderTop, borderTopColor, borderTopLeftRadius, borderTopRightRadius, borderTopStyle, borderTopWidth, borderWidth, bottom, boxShadow, boxSizing, brightness, calc, captionSide, check, checked, clear, cn, color, colorFn, columnGap, columnWidth, content, contrast, counter, counterIncrement, counterReset, counters, createGlobalTheme, createTokens, cubicBezier, cv, direction, disabled, display, dropShadow, empty, emptyCells, enabled, filter, firstChild, firstOfType, firstThatWorks, flexBasis, flexDirection, flexGrow, flexShrink, flexWrap, float, floodColor, floodOpacity, focus, font, fontFamily, fontSize, fontStyle, fontWeight, global, grayscale, group, height, hover, hsl, hsla, hueRotate, image, inRange, indeterminate, invalid, invert, justifyContent, justifyItems, keyframes, lastChild, lastOfType, layers, left, letterSpacing, lightingColor, lineHeight, linearGradient, link, listStyle, listStyleImage, listStylePosition, listStyleType, m, margin, marginBottom, marginLeft, marginRight, marginTop, matrix, matrix3d, maxHeight, maxWidth, mb, minHeight, minWidth, ml, mr, mt, onlyChild, onlyOfType, opacity, opacityFn, optional, order, outOfRange, outlineColor, outlineStyle, outlineWidth, overflow, overflowX, overflowY, p, padding, paddingBottom, paddingLeft, paddingRight, paddingTop, pb, perspective, perspectiveFn, perspectiveOrigin, pl, pointerEvents, position, pr, pt, quotes, radialGradient, repeatingLinearGradient, repeatingRadialGradient, required, rgb, rgba, right, root, rotate3d, rotateFn, rotateX, rotateY, rotateZ, saturate, scale3d, scaleFn, scaleX, scaleY, scaleZ, sepia, skew, skewX, skewY, steps, style, supports, tableLayout, target, textAlign, textAnchor, textIndent, textOverflow, textShadow, textTransform, token, top, transform, transformOrigin, transformStyle, transition, transitionDelay, transitionDuration, transitionProperty, transitionTimingFunction, translate3d, translateFn, translateX, translateY, translateZ, unicodeBidi, url, valid, verticalAlign, visibility, visited, width, within, wordBreak, wordSpacing, zIndex };
|