| |
| |
| |
| |
| |
| |
|
|
| export type String = string; |
| |
| |
| |
| export type Rule<D = Declaration, M = MediaQuery> = | { |
| type: "media"; |
| value: MediaRule<D, M>; |
| } |
| | { |
| type: "import"; |
| value: ImportRule<M>; |
| } |
| | { |
| type: "style"; |
| value: StyleRule<D, M>; |
| } |
| | { |
| type: "keyframes"; |
| value: KeyframesRule<D>; |
| } |
| | { |
| type: "font-face"; |
| value: FontFaceRule; |
| } |
| | { |
| type: "font-palette-values"; |
| value: FontPaletteValuesRule; |
| } |
| | { |
| type: "font-feature-values"; |
| value: FontFeatureValuesRule; |
| } |
| | { |
| type: "page"; |
| value: PageRule<D>; |
| } |
| | { |
| type: "supports"; |
| value: SupportsRule<D, M>; |
| } |
| | { |
| type: "counter-style"; |
| value: CounterStyleRule<D>; |
| } |
| | { |
| type: "namespace"; |
| value: NamespaceRule; |
| } |
| | { |
| type: "moz-document"; |
| value: MozDocumentRule<D, M>; |
| } |
| | { |
| type: "nesting"; |
| value: NestingRule<D, M>; |
| } |
| | { |
| type: "nested-declarations"; |
| value: NestedDeclarationsRule<D>; |
| } |
| | { |
| type: "viewport"; |
| value: ViewportRule<D>; |
| } |
| | { |
| type: "custom-media"; |
| value: CustomMediaRule<M>; |
| } |
| | { |
| type: "layer-statement"; |
| value: LayerStatementRule; |
| } |
| | { |
| type: "layer-block"; |
| value: LayerBlockRule<D, M>; |
| } |
| | { |
| type: "property"; |
| value: PropertyRule; |
| } |
| | { |
| type: "container"; |
| value: ContainerRule<D, M>; |
| } |
| | { |
| type: "scope"; |
| value: ScopeRule<D, M>; |
| } |
| | { |
| type: "starting-style"; |
| value: StartingStyleRule<D, M>; |
| } |
| | { |
| type: "view-transition"; |
| value: ViewTransitionRule; |
| } |
| | { |
| type: "ignored"; |
| } |
| | { |
| type: "unknown"; |
| value: UnknownAtRule; |
| } |
| | { |
| type: "custom"; |
| value: DefaultAtRule; |
| }; |
| |
| |
| |
| export type MediaCondition = |
| | { |
| type: "feature"; |
| value: QueryFeatureFor_MediaFeatureId; |
| } |
| | { |
| type: "not"; |
| value: MediaCondition; |
| } |
| | { |
| |
| |
| |
| conditions: MediaCondition[]; |
| |
| |
| |
| operator: Operator; |
| type: "operation"; |
| }; |
| |
| |
| |
| export type QueryFeatureFor_MediaFeatureId = |
| | { |
| |
| |
| |
| name: MediaFeatureNameFor_MediaFeatureId; |
| type: "plain"; |
| |
| |
| |
| value: MediaFeatureValue; |
| } |
| | { |
| |
| |
| |
| name: MediaFeatureNameFor_MediaFeatureId; |
| type: "boolean"; |
| } |
| | { |
| |
| |
| |
| name: MediaFeatureNameFor_MediaFeatureId; |
| |
| |
| |
| operator: MediaFeatureComparison; |
| type: "range"; |
| |
| |
| |
| value: MediaFeatureValue; |
| } |
| | { |
| |
| |
| |
| end: MediaFeatureValue; |
| |
| |
| |
| endOperator: MediaFeatureComparison; |
| |
| |
| |
| name: MediaFeatureNameFor_MediaFeatureId; |
| |
| |
| |
| start: MediaFeatureValue; |
| |
| |
| |
| startOperator: MediaFeatureComparison; |
| type: "interval"; |
| }; |
| |
| |
| |
| export type MediaFeatureNameFor_MediaFeatureId = MediaFeatureId | String | String; |
| |
| |
| |
| export type MediaFeatureId = |
| | "width" |
| | "height" |
| | "aspect-ratio" |
| | "orientation" |
| | "overflow-block" |
| | "overflow-inline" |
| | "horizontal-viewport-segments" |
| | "vertical-viewport-segments" |
| | "display-mode" |
| | "resolution" |
| | "scan" |
| | "grid" |
| | "update" |
| | "environment-blending" |
| | "color" |
| | "color-index" |
| | "monochrome" |
| | "color-gamut" |
| | "dynamic-range" |
| | "inverted-colors" |
| | "pointer" |
| | "hover" |
| | "any-pointer" |
| | "any-hover" |
| | "nav-controls" |
| | "video-color-gamut" |
| | "video-dynamic-range" |
| | "scripting" |
| | "prefers-reduced-motion" |
| | "prefers-reduced-transparency" |
| | "prefers-contrast" |
| | "forced-colors" |
| | "prefers-color-scheme" |
| | "prefers-reduced-data" |
| | "device-width" |
| | "device-height" |
| | "device-aspect-ratio" |
| | "-webkit-device-pixel-ratio" |
| | "-moz-device-pixel-ratio"; |
| |
| |
| |
| |
| |
| export type MediaFeatureValue = |
| | { |
| type: "length"; |
| value: Length; |
| } |
| | { |
| type: "number"; |
| value: number; |
| } |
| | { |
| type: "integer"; |
| value: number; |
| } |
| | { |
| type: "boolean"; |
| value: boolean; |
| } |
| | { |
| type: "resolution"; |
| value: Resolution; |
| } |
| | { |
| type: "ratio"; |
| value: Ratio; |
| } |
| | { |
| type: "ident"; |
| value: String; |
| } |
| | { |
| type: "env"; |
| value: EnvironmentVariable; |
| }; |
| |
| |
| |
| export type Length = |
| | { |
| type: "value"; |
| value: LengthValue; |
| } |
| | { |
| type: "calc"; |
| value: CalcFor_Length; |
| }; |
| export type LengthUnit = |
| | "px" |
| | "in" |
| | "cm" |
| | "mm" |
| | "q" |
| | "pt" |
| | "pc" |
| | "em" |
| | "rem" |
| | "ex" |
| | "rex" |
| | "ch" |
| | "rch" |
| | "cap" |
| | "rcap" |
| | "ic" |
| | "ric" |
| | "lh" |
| | "rlh" |
| | "vw" |
| | "lvw" |
| | "svw" |
| | "dvw" |
| | "cqw" |
| | "vh" |
| | "lvh" |
| | "svh" |
| | "dvh" |
| | "cqh" |
| | "vi" |
| | "svi" |
| | "lvi" |
| | "dvi" |
| | "cqi" |
| | "vb" |
| | "svb" |
| | "lvb" |
| | "dvb" |
| | "cqb" |
| | "vmin" |
| | "svmin" |
| | "lvmin" |
| | "dvmin" |
| | "cqmin" |
| | "vmax" |
| | "svmax" |
| | "lvmax" |
| | "dvmax" |
| | "cqmax"; |
| |
| |
| |
| |
| |
| export type CalcFor_Length = |
| | { |
| type: "value"; |
| value: Length; |
| } |
| | { |
| type: "number"; |
| value: number; |
| } |
| | { |
| type: "sum"; |
| |
| |
| |
| |
| value: [CalcFor_Length, CalcFor_Length]; |
| } |
| | { |
| type: "product"; |
| |
| |
| |
| |
| value: [number, CalcFor_Length]; |
| } |
| | { |
| type: "function"; |
| value: MathFunctionFor_Length; |
| }; |
| |
| |
| |
| |
| |
| export type MathFunctionFor_Length = |
| | { |
| type: "calc"; |
| value: CalcFor_Length; |
| } |
| | { |
| type: "min"; |
| value: CalcFor_Length[]; |
| } |
| | { |
| type: "max"; |
| value: CalcFor_Length[]; |
| } |
| | { |
| type: "clamp"; |
| |
| |
| |
| |
| value: [CalcFor_Length, CalcFor_Length, CalcFor_Length]; |
| } |
| | { |
| type: "round"; |
| |
| |
| |
| |
| value: [RoundingStrategy, CalcFor_Length, CalcFor_Length]; |
| } |
| | { |
| type: "rem"; |
| |
| |
| |
| |
| value: [CalcFor_Length, CalcFor_Length]; |
| } |
| | { |
| type: "mod"; |
| |
| |
| |
| |
| value: [CalcFor_Length, CalcFor_Length]; |
| } |
| | { |
| type: "abs"; |
| value: CalcFor_Length; |
| } |
| | { |
| type: "sign"; |
| value: CalcFor_Length; |
| } |
| | { |
| type: "hypot"; |
| value: CalcFor_Length[]; |
| }; |
| |
| |
| |
| export type RoundingStrategy = "nearest" | "up" | "down" | "to-zero"; |
| |
| |
| |
| export type Resolution = |
| | { |
| type: "dpi"; |
| value: number; |
| } |
| | { |
| type: "dpcm"; |
| value: number; |
| } |
| | { |
| type: "dppx"; |
| value: number; |
| }; |
| |
| |
| |
| |
| |
| |
| export type Ratio = [number, number]; |
| |
| |
| |
| export type TokenOrValue = |
| | { |
| type: "token"; |
| value: Token; |
| } |
| | { |
| type: "color"; |
| value: CssColor; |
| } |
| | { |
| type: "unresolved-color"; |
| value: UnresolvedColor; |
| } |
| | { |
| type: "url"; |
| value: Url; |
| } |
| | { |
| type: "var"; |
| value: Variable; |
| } |
| | { |
| type: "env"; |
| value: EnvironmentVariable; |
| } |
| | { |
| type: "function"; |
| value: Function; |
| } |
| | { |
| type: "length"; |
| value: LengthValue; |
| } |
| | { |
| type: "angle"; |
| value: Angle; |
| } |
| | { |
| type: "time"; |
| value: Time; |
| } |
| | { |
| type: "resolution"; |
| value: Resolution; |
| } |
| | { |
| type: "dashed-ident"; |
| value: String; |
| } |
| | { |
| type: "animation-name"; |
| value: AnimationName; |
| }; |
| |
| |
| |
| export type Token = |
| | { |
| type: "ident"; |
| value: String; |
| } |
| | { |
| type: "at-keyword"; |
| value: String; |
| } |
| | { |
| type: "hash"; |
| value: String; |
| } |
| | { |
| type: "id-hash"; |
| value: String; |
| } |
| | { |
| type: "string"; |
| value: String; |
| } |
| | { |
| type: "unquoted-url"; |
| value: String; |
| } |
| | { |
| type: "delim"; |
| value: string; |
| } |
| | { |
| type: "number"; |
| |
| |
| |
| value: number; |
| } |
| | { |
| type: "percentage"; |
| |
| |
| |
| value: number; |
| } |
| | { |
| type: "dimension"; |
| |
| |
| |
| unit: String; |
| |
| |
| |
| value: number; |
| } |
| | { |
| type: "white-space"; |
| value: String; |
| } |
| | { |
| type: "comment"; |
| value: String; |
| } |
| | { |
| type: "colon"; |
| } |
| | { |
| type: "semicolon"; |
| } |
| | { |
| type: "comma"; |
| } |
| | { |
| type: "include-match"; |
| } |
| | { |
| type: "dash-match"; |
| } |
| | { |
| type: "prefix-match"; |
| } |
| | { |
| type: "suffix-match"; |
| } |
| | { |
| type: "substring-match"; |
| } |
| | { |
| type: "cdo"; |
| } |
| | { |
| type: "cdc"; |
| } |
| | { |
| type: "function"; |
| value: String; |
| } |
| | { |
| type: "parenthesis-block"; |
| } |
| | { |
| type: "square-bracket-block"; |
| } |
| | { |
| type: "curly-bracket-block"; |
| } |
| | { |
| type: "bad-url"; |
| value: String; |
| } |
| | { |
| type: "bad-string"; |
| value: String; |
| } |
| | { |
| type: "close-parenthesis"; |
| } |
| | { |
| type: "close-square-bracket"; |
| } |
| | { |
| type: "close-curly-bracket"; |
| }; |
| |
| |
| |
| |
| |
| |
| |
| export type CssColor = CurrentColor | RGBColor | LABColor | PredefinedColor | FloatColor | LightDark | SystemColor; |
| export type CurrentColor = { |
| type: "currentcolor"; |
| }; |
| export type RGBColor = { |
| |
| |
| |
| alpha: number; |
| |
| |
| |
| b: number; |
| |
| |
| |
| g: number; |
| |
| |
| |
| r: number; |
| type: "rgb"; |
| }; |
| |
| |
| |
| export type LABColor = |
| | { |
| |
| |
| |
| a: number; |
| |
| |
| |
| alpha: number; |
| |
| |
| |
| b: number; |
| |
| |
| |
| l: number; |
| type: "lab"; |
| } |
| | { |
| |
| |
| |
| alpha: number; |
| |
| |
| |
| c: number; |
| |
| |
| |
| h: number; |
| |
| |
| |
| l: number; |
| type: "lch"; |
| } |
| | { |
| |
| |
| |
| a: number; |
| |
| |
| |
| alpha: number; |
| |
| |
| |
| b: number; |
| |
| |
| |
| l: number; |
| type: "oklab"; |
| } |
| | { |
| |
| |
| |
| alpha: number; |
| |
| |
| |
| c: number; |
| |
| |
| |
| h: number; |
| |
| |
| |
| l: number; |
| type: "oklch"; |
| }; |
| |
| |
| |
| export type PredefinedColor = |
| | { |
| |
| |
| |
| alpha: number; |
| |
| |
| |
| b: number; |
| |
| |
| |
| g: number; |
| |
| |
| |
| r: number; |
| type: "srgb"; |
| } |
| | { |
| |
| |
| |
| alpha: number; |
| |
| |
| |
| b: number; |
| |
| |
| |
| g: number; |
| |
| |
| |
| r: number; |
| type: "srgb-linear"; |
| } |
| | { |
| |
| |
| |
| alpha: number; |
| |
| |
| |
| b: number; |
| |
| |
| |
| g: number; |
| |
| |
| |
| r: number; |
| type: "display-p3"; |
| } |
| | { |
| |
| |
| |
| alpha: number; |
| |
| |
| |
| b: number; |
| |
| |
| |
| g: number; |
| |
| |
| |
| r: number; |
| type: "a98-rgb"; |
| } |
| | { |
| |
| |
| |
| alpha: number; |
| |
| |
| |
| b: number; |
| |
| |
| |
| g: number; |
| |
| |
| |
| r: number; |
| type: "prophoto-rgb"; |
| } |
| | { |
| |
| |
| |
| alpha: number; |
| |
| |
| |
| b: number; |
| |
| |
| |
| g: number; |
| |
| |
| |
| r: number; |
| type: "rec2020"; |
| } |
| | { |
| |
| |
| |
| alpha: number; |
| type: "xyz-d50"; |
| |
| |
| |
| x: number; |
| |
| |
| |
| y: number; |
| |
| |
| |
| z: number; |
| } |
| | { |
| |
| |
| |
| alpha: number; |
| type: "xyz-d65"; |
| |
| |
| |
| x: number; |
| |
| |
| |
| y: number; |
| |
| |
| |
| z: number; |
| }; |
| |
| |
| |
| export type FloatColor = |
| | { |
| |
| |
| |
| alpha: number; |
| |
| |
| |
| b: number; |
| |
| |
| |
| g: number; |
| |
| |
| |
| r: number; |
| type: "rgb"; |
| } |
| | { |
| |
| |
| |
| alpha: number; |
| |
| |
| |
| h: number; |
| |
| |
| |
| l: number; |
| |
| |
| |
| s: number; |
| type: "hsl"; |
| } |
| | { |
| |
| |
| |
| alpha: number; |
| |
| |
| |
| b: number; |
| |
| |
| |
| h: number; |
| type: "hwb"; |
| |
| |
| |
| w: number; |
| }; |
| export type LightDark = { |
| dark: CssColor; |
| light: CssColor; |
| type: "light-dark"; |
| }; |
| |
| |
| |
| export type SystemColor = |
| | "accentcolor" |
| | "accentcolortext" |
| | "activetext" |
| | "buttonborder" |
| | "buttonface" |
| | "buttontext" |
| | "canvas" |
| | "canvastext" |
| | "field" |
| | "fieldtext" |
| | "graytext" |
| | "highlight" |
| | "highlighttext" |
| | "linktext" |
| | "mark" |
| | "marktext" |
| | "selecteditem" |
| | "selecteditemtext" |
| | "visitedtext" |
| | "activeborder" |
| | "activecaption" |
| | "appworkspace" |
| | "background" |
| | "buttonhighlight" |
| | "buttonshadow" |
| | "captiontext" |
| | "inactiveborder" |
| | "inactivecaption" |
| | "inactivecaptiontext" |
| | "infobackground" |
| | "infotext" |
| | "menu" |
| | "menutext" |
| | "scrollbar" |
| | "threeddarkshadow" |
| | "threedface" |
| | "threedhighlight" |
| | "threedlightshadow" |
| | "threedshadow" |
| | "window" |
| | "windowframe" |
| | "windowtext"; |
| |
| |
| |
| export type UnresolvedColor = |
| | { |
| |
| |
| |
| alpha: TokenOrValue[]; |
| |
| |
| |
| b: number; |
| |
| |
| |
| g: number; |
| |
| |
| |
| r: number; |
| type: "rgb"; |
| } |
| | { |
| |
| |
| |
| alpha: TokenOrValue[]; |
| |
| |
| |
| h: number; |
| |
| |
| |
| l: number; |
| |
| |
| |
| s: number; |
| type: "hsl"; |
| } |
| | { |
| |
| |
| |
| dark: TokenOrValue[]; |
| |
| |
| |
| light: TokenOrValue[]; |
| type: "light-dark"; |
| }; |
| |
| |
| |
| |
| |
| export type Specifier = |
| | { |
| type: "global"; |
| } |
| | { |
| type: "file"; |
| value: String; |
| } |
| | { |
| type: "source-index"; |
| value: number; |
| }; |
| |
| |
| |
| |
| |
| export type Angle = |
| | { |
| type: "deg"; |
| value: number; |
| } |
| | { |
| type: "rad"; |
| value: number; |
| } |
| | { |
| type: "grad"; |
| value: number; |
| } |
| | { |
| type: "turn"; |
| value: number; |
| }; |
| |
| |
| |
| |
| |
| export type Time = |
| | { |
| type: "seconds"; |
| value: number; |
| } |
| | { |
| type: "milliseconds"; |
| value: number; |
| }; |
| |
| |
| |
| export type AnimationName = |
| | { |
| type: "none"; |
| } |
| | { |
| type: "ident"; |
| value: String; |
| } |
| | { |
| type: "string"; |
| value: String; |
| }; |
| |
| |
| |
| export type EnvironmentVariableName = |
| | { |
| type: "ua"; |
| value: UAEnvironmentVariable; |
| } |
| | { |
| |
| |
| |
| from?: Specifier | null; |
| |
| |
| |
| ident: String; |
| type: "custom"; |
| } |
| | { |
| type: "unknown"; |
| value: String; |
| }; |
| |
| |
| |
| export type UAEnvironmentVariable = |
| | "safe-area-inset-top" |
| | "safe-area-inset-right" |
| | "safe-area-inset-bottom" |
| | "safe-area-inset-left" |
| | "viewport-segment-width" |
| | "viewport-segment-height" |
| | "viewport-segment-top" |
| | "viewport-segment-left" |
| | "viewport-segment-bottom" |
| | "viewport-segment-right"; |
| |
| |
| |
| export type MediaFeatureComparison = "equal" | "greater-than" | "greater-than-equal" | "less-than" | "less-than-equal"; |
| |
| |
| |
| export type Operator = "and" | "or"; |
| export type MediaType = string; |
| |
| |
| |
| export type Qualifier = "only" | "not"; |
| |
| |
| |
| export type SupportsCondition = |
| | { |
| type: "not"; |
| value: SupportsCondition; |
| } |
| | { |
| type: "and"; |
| value: SupportsCondition[]; |
| } |
| | { |
| type: "or"; |
| value: SupportsCondition[]; |
| } |
| | { |
| |
| |
| |
| propertyId: PropertyId; |
| type: "declaration"; |
| |
| |
| |
| value: String; |
| } |
| | { |
| type: "selector"; |
| value: String; |
| } |
| | { |
| type: "unknown"; |
| value: String; |
| }; |
| export type PropertyId = |
| | { |
| property: "background-color"; |
| } |
| | { |
| property: "background-image"; |
| } |
| | { |
| property: "background-position-x"; |
| } |
| | { |
| property: "background-position-y"; |
| } |
| | { |
| property: "background-position"; |
| } |
| | { |
| property: "background-size"; |
| } |
| | { |
| property: "background-repeat"; |
| } |
| | { |
| property: "background-attachment"; |
| } |
| | { |
| property: "background-clip"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "background-origin"; |
| } |
| | { |
| property: "background"; |
| } |
| | { |
| property: "box-shadow"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "opacity"; |
| } |
| | { |
| property: "color"; |
| } |
| | { |
| property: "display"; |
| } |
| | { |
| property: "visibility"; |
| } |
| | { |
| property: "width"; |
| } |
| | { |
| property: "height"; |
| } |
| | { |
| property: "min-width"; |
| } |
| | { |
| property: "min-height"; |
| } |
| | { |
| property: "max-width"; |
| } |
| | { |
| property: "max-height"; |
| } |
| | { |
| property: "block-size"; |
| } |
| | { |
| property: "inline-size"; |
| } |
| | { |
| property: "min-block-size"; |
| } |
| | { |
| property: "min-inline-size"; |
| } |
| | { |
| property: "max-block-size"; |
| } |
| | { |
| property: "max-inline-size"; |
| } |
| | { |
| property: "box-sizing"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "aspect-ratio"; |
| } |
| | { |
| property: "overflow"; |
| } |
| | { |
| property: "overflow-x"; |
| } |
| | { |
| property: "overflow-y"; |
| } |
| | { |
| property: "text-overflow"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "position"; |
| } |
| | { |
| property: "top"; |
| } |
| | { |
| property: "bottom"; |
| } |
| | { |
| property: "left"; |
| } |
| | { |
| property: "right"; |
| } |
| | { |
| property: "inset-block-start"; |
| } |
| | { |
| property: "inset-block-end"; |
| } |
| | { |
| property: "inset-inline-start"; |
| } |
| | { |
| property: "inset-inline-end"; |
| } |
| | { |
| property: "inset-block"; |
| } |
| | { |
| property: "inset-inline"; |
| } |
| | { |
| property: "inset"; |
| } |
| | { |
| property: "border-spacing"; |
| } |
| | { |
| property: "border-top-color"; |
| } |
| | { |
| property: "border-bottom-color"; |
| } |
| | { |
| property: "border-left-color"; |
| } |
| | { |
| property: "border-right-color"; |
| } |
| | { |
| property: "border-block-start-color"; |
| } |
| | { |
| property: "border-block-end-color"; |
| } |
| | { |
| property: "border-inline-start-color"; |
| } |
| | { |
| property: "border-inline-end-color"; |
| } |
| | { |
| property: "border-top-style"; |
| } |
| | { |
| property: "border-bottom-style"; |
| } |
| | { |
| property: "border-left-style"; |
| } |
| | { |
| property: "border-right-style"; |
| } |
| | { |
| property: "border-block-start-style"; |
| } |
| | { |
| property: "border-block-end-style"; |
| } |
| | { |
| property: "border-inline-start-style"; |
| } |
| | { |
| property: "border-inline-end-style"; |
| } |
| | { |
| property: "border-top-width"; |
| } |
| | { |
| property: "border-bottom-width"; |
| } |
| | { |
| property: "border-left-width"; |
| } |
| | { |
| property: "border-right-width"; |
| } |
| | { |
| property: "border-block-start-width"; |
| } |
| | { |
| property: "border-block-end-width"; |
| } |
| | { |
| property: "border-inline-start-width"; |
| } |
| | { |
| property: "border-inline-end-width"; |
| } |
| | { |
| property: "border-top-left-radius"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "border-top-right-radius"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "border-bottom-left-radius"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "border-bottom-right-radius"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "border-start-start-radius"; |
| } |
| | { |
| property: "border-start-end-radius"; |
| } |
| | { |
| property: "border-end-start-radius"; |
| } |
| | { |
| property: "border-end-end-radius"; |
| } |
| | { |
| property: "border-radius"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "border-image-source"; |
| } |
| | { |
| property: "border-image-outset"; |
| } |
| | { |
| property: "border-image-repeat"; |
| } |
| | { |
| property: "border-image-width"; |
| } |
| | { |
| property: "border-image-slice"; |
| } |
| | { |
| property: "border-image"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "border-color"; |
| } |
| | { |
| property: "border-style"; |
| } |
| | { |
| property: "border-width"; |
| } |
| | { |
| property: "border-block-color"; |
| } |
| | { |
| property: "border-block-style"; |
| } |
| | { |
| property: "border-block-width"; |
| } |
| | { |
| property: "border-inline-color"; |
| } |
| | { |
| property: "border-inline-style"; |
| } |
| | { |
| property: "border-inline-width"; |
| } |
| | { |
| property: "border"; |
| } |
| | { |
| property: "border-top"; |
| } |
| | { |
| property: "border-bottom"; |
| } |
| | { |
| property: "border-left"; |
| } |
| | { |
| property: "border-right"; |
| } |
| | { |
| property: "border-block"; |
| } |
| | { |
| property: "border-block-start"; |
| } |
| | { |
| property: "border-block-end"; |
| } |
| | { |
| property: "border-inline"; |
| } |
| | { |
| property: "border-inline-start"; |
| } |
| | { |
| property: "border-inline-end"; |
| } |
| | { |
| property: "outline"; |
| } |
| | { |
| property: "outline-color"; |
| } |
| | { |
| property: "outline-style"; |
| } |
| | { |
| property: "outline-width"; |
| } |
| | { |
| property: "flex-direction"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "flex-wrap"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "flex-flow"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "flex-grow"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "flex-shrink"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "flex-basis"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "flex"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "order"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "align-content"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "justify-content"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "place-content"; |
| } |
| | { |
| property: "align-self"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "justify-self"; |
| } |
| | { |
| property: "place-self"; |
| } |
| | { |
| property: "align-items"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "justify-items"; |
| } |
| | { |
| property: "place-items"; |
| } |
| | { |
| property: "row-gap"; |
| } |
| | { |
| property: "column-gap"; |
| } |
| | { |
| property: "gap"; |
| } |
| | { |
| property: "box-orient"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "box-direction"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "box-ordinal-group"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "box-align"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "box-flex"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "box-flex-group"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "box-pack"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "box-lines"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "flex-pack"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "flex-order"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "flex-align"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "flex-item-align"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "flex-line-pack"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "flex-positive"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "flex-negative"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "flex-preferred-size"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "grid-template-columns"; |
| } |
| | { |
| property: "grid-template-rows"; |
| } |
| | { |
| property: "grid-auto-columns"; |
| } |
| | { |
| property: "grid-auto-rows"; |
| } |
| | { |
| property: "grid-auto-flow"; |
| } |
| | { |
| property: "grid-template-areas"; |
| } |
| | { |
| property: "grid-template"; |
| } |
| | { |
| property: "grid"; |
| } |
| | { |
| property: "grid-row-start"; |
| } |
| | { |
| property: "grid-row-end"; |
| } |
| | { |
| property: "grid-column-start"; |
| } |
| | { |
| property: "grid-column-end"; |
| } |
| | { |
| property: "grid-row"; |
| } |
| | { |
| property: "grid-column"; |
| } |
| | { |
| property: "grid-area"; |
| } |
| | { |
| property: "margin-top"; |
| } |
| | { |
| property: "margin-bottom"; |
| } |
| | { |
| property: "margin-left"; |
| } |
| | { |
| property: "margin-right"; |
| } |
| | { |
| property: "margin-block-start"; |
| } |
| | { |
| property: "margin-block-end"; |
| } |
| | { |
| property: "margin-inline-start"; |
| } |
| | { |
| property: "margin-inline-end"; |
| } |
| | { |
| property: "margin-block"; |
| } |
| | { |
| property: "margin-inline"; |
| } |
| | { |
| property: "margin"; |
| } |
| | { |
| property: "padding-top"; |
| } |
| | { |
| property: "padding-bottom"; |
| } |
| | { |
| property: "padding-left"; |
| } |
| | { |
| property: "padding-right"; |
| } |
| | { |
| property: "padding-block-start"; |
| } |
| | { |
| property: "padding-block-end"; |
| } |
| | { |
| property: "padding-inline-start"; |
| } |
| | { |
| property: "padding-inline-end"; |
| } |
| | { |
| property: "padding-block"; |
| } |
| | { |
| property: "padding-inline"; |
| } |
| | { |
| property: "padding"; |
| } |
| | { |
| property: "scroll-margin-top"; |
| } |
| | { |
| property: "scroll-margin-bottom"; |
| } |
| | { |
| property: "scroll-margin-left"; |
| } |
| | { |
| property: "scroll-margin-right"; |
| } |
| | { |
| property: "scroll-margin-block-start"; |
| } |
| | { |
| property: "scroll-margin-block-end"; |
| } |
| | { |
| property: "scroll-margin-inline-start"; |
| } |
| | { |
| property: "scroll-margin-inline-end"; |
| } |
| | { |
| property: "scroll-margin-block"; |
| } |
| | { |
| property: "scroll-margin-inline"; |
| } |
| | { |
| property: "scroll-margin"; |
| } |
| | { |
| property: "scroll-padding-top"; |
| } |
| | { |
| property: "scroll-padding-bottom"; |
| } |
| | { |
| property: "scroll-padding-left"; |
| } |
| | { |
| property: "scroll-padding-right"; |
| } |
| | { |
| property: "scroll-padding-block-start"; |
| } |
| | { |
| property: "scroll-padding-block-end"; |
| } |
| | { |
| property: "scroll-padding-inline-start"; |
| } |
| | { |
| property: "scroll-padding-inline-end"; |
| } |
| | { |
| property: "scroll-padding-block"; |
| } |
| | { |
| property: "scroll-padding-inline"; |
| } |
| | { |
| property: "scroll-padding"; |
| } |
| | { |
| property: "font-weight"; |
| } |
| | { |
| property: "font-size"; |
| } |
| | { |
| property: "font-stretch"; |
| } |
| | { |
| property: "font-family"; |
| } |
| | { |
| property: "font-style"; |
| } |
| | { |
| property: "font-variant-caps"; |
| } |
| | { |
| property: "line-height"; |
| } |
| | { |
| property: "font"; |
| } |
| | { |
| property: "vertical-align"; |
| } |
| | { |
| property: "font-palette"; |
| } |
| | { |
| property: "transition-property"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "transition-duration"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "transition-delay"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "transition-timing-function"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "transition"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "animation-name"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "animation-duration"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "animation-timing-function"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "animation-iteration-count"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "animation-direction"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "animation-play-state"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "animation-delay"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "animation-fill-mode"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "animation-composition"; |
| } |
| | { |
| property: "animation-timeline"; |
| } |
| | { |
| property: "animation-range-start"; |
| } |
| | { |
| property: "animation-range-end"; |
| } |
| | { |
| property: "animation-range"; |
| } |
| | { |
| property: "animation"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "transform"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "transform-origin"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "transform-style"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "transform-box"; |
| } |
| | { |
| property: "backface-visibility"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "perspective"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "perspective-origin"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "translate"; |
| } |
| | { |
| property: "rotate"; |
| } |
| | { |
| property: "scale"; |
| } |
| | { |
| property: "text-transform"; |
| } |
| | { |
| property: "white-space"; |
| } |
| | { |
| property: "tab-size"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "word-break"; |
| } |
| | { |
| property: "line-break"; |
| } |
| | { |
| property: "hyphens"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "overflow-wrap"; |
| } |
| | { |
| property: "word-wrap"; |
| } |
| | { |
| property: "text-align"; |
| } |
| | { |
| property: "text-align-last"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "text-justify"; |
| } |
| | { |
| property: "word-spacing"; |
| } |
| | { |
| property: "letter-spacing"; |
| } |
| | { |
| property: "text-indent"; |
| } |
| | { |
| property: "text-decoration-line"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "text-decoration-style"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "text-decoration-color"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "text-decoration-thickness"; |
| } |
| | { |
| property: "text-decoration"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "text-decoration-skip-ink"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "text-emphasis-style"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "text-emphasis-color"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "text-emphasis"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "text-emphasis-position"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "text-shadow"; |
| } |
| | { |
| property: "text-size-adjust"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "direction"; |
| } |
| | { |
| property: "unicode-bidi"; |
| } |
| | { |
| property: "box-decoration-break"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "resize"; |
| } |
| | { |
| property: "cursor"; |
| } |
| | { |
| property: "caret-color"; |
| } |
| | { |
| property: "caret-shape"; |
| } |
| | { |
| property: "caret"; |
| } |
| | { |
| property: "user-select"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "accent-color"; |
| } |
| | { |
| property: "appearance"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "list-style-type"; |
| } |
| | { |
| property: "list-style-image"; |
| } |
| | { |
| property: "list-style-position"; |
| } |
| | { |
| property: "list-style"; |
| } |
| | { |
| property: "marker-side"; |
| } |
| | { |
| property: "composes"; |
| } |
| | { |
| property: "fill"; |
| } |
| | { |
| property: "fill-rule"; |
| } |
| | { |
| property: "fill-opacity"; |
| } |
| | { |
| property: "stroke"; |
| } |
| | { |
| property: "stroke-opacity"; |
| } |
| | { |
| property: "stroke-width"; |
| } |
| | { |
| property: "stroke-linecap"; |
| } |
| | { |
| property: "stroke-linejoin"; |
| } |
| | { |
| property: "stroke-miterlimit"; |
| } |
| | { |
| property: "stroke-dasharray"; |
| } |
| | { |
| property: "stroke-dashoffset"; |
| } |
| | { |
| property: "marker-start"; |
| } |
| | { |
| property: "marker-mid"; |
| } |
| | { |
| property: "marker-end"; |
| } |
| | { |
| property: "marker"; |
| } |
| | { |
| property: "color-interpolation"; |
| } |
| | { |
| property: "color-interpolation-filters"; |
| } |
| | { |
| property: "color-rendering"; |
| } |
| | { |
| property: "shape-rendering"; |
| } |
| | { |
| property: "text-rendering"; |
| } |
| | { |
| property: "image-rendering"; |
| } |
| | { |
| property: "clip-path"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "clip-rule"; |
| } |
| | { |
| property: "mask-image"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "mask-mode"; |
| } |
| | { |
| property: "mask-repeat"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "mask-position-x"; |
| } |
| | { |
| property: "mask-position-y"; |
| } |
| | { |
| property: "mask-position"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "mask-clip"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "mask-origin"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "mask-size"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "mask-composite"; |
| } |
| | { |
| property: "mask-type"; |
| } |
| | { |
| property: "mask"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "mask-border-source"; |
| } |
| | { |
| property: "mask-border-mode"; |
| } |
| | { |
| property: "mask-border-slice"; |
| } |
| | { |
| property: "mask-border-width"; |
| } |
| | { |
| property: "mask-border-outset"; |
| } |
| | { |
| property: "mask-border-repeat"; |
| } |
| | { |
| property: "mask-border"; |
| } |
| | { |
| property: "-webkit-mask-composite"; |
| } |
| | { |
| property: "mask-source-type"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "mask-box-image"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "mask-box-image-source"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "mask-box-image-slice"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "mask-box-image-width"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "mask-box-image-outset"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "mask-box-image-repeat"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "filter"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "backdrop-filter"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "z-index"; |
| } |
| | { |
| property: "container-type"; |
| } |
| | { |
| property: "container-name"; |
| } |
| | { |
| property: "container"; |
| } |
| | { |
| property: "view-transition-name"; |
| } |
| | { |
| property: "view-transition-class"; |
| } |
| | { |
| property: "view-transition-group"; |
| } |
| | { |
| property: "color-scheme"; |
| } |
| | { |
| property: "all"; |
| } |
| | { |
| property: string; |
| }; |
| export type Prefix = "none" | "webkit" | "moz" | "ms" | "o"; |
| export type VendorPrefix = Prefix[]; |
| export type Declaration = |
| | { |
| property: "background-color"; |
| value: CssColor; |
| } |
| | { |
| property: "background-image"; |
| value: Image[]; |
| } |
| | { |
| property: "background-position-x"; |
| value: PositionComponentFor_HorizontalPositionKeyword[]; |
| } |
| | { |
| property: "background-position-y"; |
| value: PositionComponentFor_VerticalPositionKeyword[]; |
| } |
| | { |
| property: "background-position"; |
| value: BackgroundPosition[]; |
| } |
| | { |
| property: "background-size"; |
| value: BackgroundSize[]; |
| } |
| | { |
| property: "background-repeat"; |
| value: BackgroundRepeat[]; |
| } |
| | { |
| property: "background-attachment"; |
| value: BackgroundAttachment[]; |
| } |
| | { |
| property: "background-clip"; |
| value: BackgroundClip[]; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "background-origin"; |
| value: BackgroundOrigin[]; |
| } |
| | { |
| property: "background"; |
| value: Background[]; |
| } |
| | { |
| property: "box-shadow"; |
| value: BoxShadow[]; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "opacity"; |
| value: number; |
| } |
| | { |
| property: "color"; |
| value: CssColor; |
| } |
| | { |
| property: "display"; |
| value: Display; |
| } |
| | { |
| property: "visibility"; |
| value: Visibility; |
| } |
| | { |
| property: "width"; |
| value: Size; |
| } |
| | { |
| property: "height"; |
| value: Size; |
| } |
| | { |
| property: "min-width"; |
| value: Size; |
| } |
| | { |
| property: "min-height"; |
| value: Size; |
| } |
| | { |
| property: "max-width"; |
| value: MaxSize; |
| } |
| | { |
| property: "max-height"; |
| value: MaxSize; |
| } |
| | { |
| property: "block-size"; |
| value: Size; |
| } |
| | { |
| property: "inline-size"; |
| value: Size; |
| } |
| | { |
| property: "min-block-size"; |
| value: Size; |
| } |
| | { |
| property: "min-inline-size"; |
| value: Size; |
| } |
| | { |
| property: "max-block-size"; |
| value: MaxSize; |
| } |
| | { |
| property: "max-inline-size"; |
| value: MaxSize; |
| } |
| | { |
| property: "box-sizing"; |
| value: BoxSizing; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "aspect-ratio"; |
| value: AspectRatio; |
| } |
| | { |
| property: "overflow"; |
| value: Overflow; |
| } |
| | { |
| property: "overflow-x"; |
| value: OverflowKeyword; |
| } |
| | { |
| property: "overflow-y"; |
| value: OverflowKeyword; |
| } |
| | { |
| property: "text-overflow"; |
| value: TextOverflow; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "position"; |
| value: Position2; |
| } |
| | { |
| property: "top"; |
| value: LengthPercentageOrAuto; |
| } |
| | { |
| property: "bottom"; |
| value: LengthPercentageOrAuto; |
| } |
| | { |
| property: "left"; |
| value: LengthPercentageOrAuto; |
| } |
| | { |
| property: "right"; |
| value: LengthPercentageOrAuto; |
| } |
| | { |
| property: "inset-block-start"; |
| value: LengthPercentageOrAuto; |
| } |
| | { |
| property: "inset-block-end"; |
| value: LengthPercentageOrAuto; |
| } |
| | { |
| property: "inset-inline-start"; |
| value: LengthPercentageOrAuto; |
| } |
| | { |
| property: "inset-inline-end"; |
| value: LengthPercentageOrAuto; |
| } |
| | { |
| property: "inset-block"; |
| value: InsetBlock; |
| } |
| | { |
| property: "inset-inline"; |
| value: InsetInline; |
| } |
| | { |
| property: "inset"; |
| value: Inset; |
| } |
| | { |
| property: "border-spacing"; |
| value: Size2DFor_Length; |
| } |
| | { |
| property: "border-top-color"; |
| value: CssColor; |
| } |
| | { |
| property: "border-bottom-color"; |
| value: CssColor; |
| } |
| | { |
| property: "border-left-color"; |
| value: CssColor; |
| } |
| | { |
| property: "border-right-color"; |
| value: CssColor; |
| } |
| | { |
| property: "border-block-start-color"; |
| value: CssColor; |
| } |
| | { |
| property: "border-block-end-color"; |
| value: CssColor; |
| } |
| | { |
| property: "border-inline-start-color"; |
| value: CssColor; |
| } |
| | { |
| property: "border-inline-end-color"; |
| value: CssColor; |
| } |
| | { |
| property: "border-top-style"; |
| value: LineStyle; |
| } |
| | { |
| property: "border-bottom-style"; |
| value: LineStyle; |
| } |
| | { |
| property: "border-left-style"; |
| value: LineStyle; |
| } |
| | { |
| property: "border-right-style"; |
| value: LineStyle; |
| } |
| | { |
| property: "border-block-start-style"; |
| value: LineStyle; |
| } |
| | { |
| property: "border-block-end-style"; |
| value: LineStyle; |
| } |
| | { |
| property: "border-inline-start-style"; |
| value: LineStyle; |
| } |
| | { |
| property: "border-inline-end-style"; |
| value: LineStyle; |
| } |
| | { |
| property: "border-top-width"; |
| value: BorderSideWidth; |
| } |
| | { |
| property: "border-bottom-width"; |
| value: BorderSideWidth; |
| } |
| | { |
| property: "border-left-width"; |
| value: BorderSideWidth; |
| } |
| | { |
| property: "border-right-width"; |
| value: BorderSideWidth; |
| } |
| | { |
| property: "border-block-start-width"; |
| value: BorderSideWidth; |
| } |
| | { |
| property: "border-block-end-width"; |
| value: BorderSideWidth; |
| } |
| | { |
| property: "border-inline-start-width"; |
| value: BorderSideWidth; |
| } |
| | { |
| property: "border-inline-end-width"; |
| value: BorderSideWidth; |
| } |
| | { |
| property: "border-top-left-radius"; |
| value: Size2DFor_DimensionPercentageFor_LengthValue; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "border-top-right-radius"; |
| value: Size2DFor_DimensionPercentageFor_LengthValue; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "border-bottom-left-radius"; |
| value: Size2DFor_DimensionPercentageFor_LengthValue; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "border-bottom-right-radius"; |
| value: Size2DFor_DimensionPercentageFor_LengthValue; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "border-start-start-radius"; |
| value: Size2DFor_DimensionPercentageFor_LengthValue; |
| } |
| | { |
| property: "border-start-end-radius"; |
| value: Size2DFor_DimensionPercentageFor_LengthValue; |
| } |
| | { |
| property: "border-end-start-radius"; |
| value: Size2DFor_DimensionPercentageFor_LengthValue; |
| } |
| | { |
| property: "border-end-end-radius"; |
| value: Size2DFor_DimensionPercentageFor_LengthValue; |
| } |
| | { |
| property: "border-radius"; |
| value: BorderRadius; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "border-image-source"; |
| value: Image; |
| } |
| | { |
| property: "border-image-outset"; |
| value: RectFor_LengthOrNumber; |
| } |
| | { |
| property: "border-image-repeat"; |
| value: BorderImageRepeat; |
| } |
| | { |
| property: "border-image-width"; |
| value: RectFor_BorderImageSideWidth; |
| } |
| | { |
| property: "border-image-slice"; |
| value: BorderImageSlice; |
| } |
| | { |
| property: "border-image"; |
| value: BorderImage; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "border-color"; |
| value: BorderColor; |
| } |
| | { |
| property: "border-style"; |
| value: BorderStyle; |
| } |
| | { |
| property: "border-width"; |
| value: BorderWidth; |
| } |
| | { |
| property: "border-block-color"; |
| value: BorderBlockColor; |
| } |
| | { |
| property: "border-block-style"; |
| value: BorderBlockStyle; |
| } |
| | { |
| property: "border-block-width"; |
| value: BorderBlockWidth; |
| } |
| | { |
| property: "border-inline-color"; |
| value: BorderInlineColor; |
| } |
| | { |
| property: "border-inline-style"; |
| value: BorderInlineStyle; |
| } |
| | { |
| property: "border-inline-width"; |
| value: BorderInlineWidth; |
| } |
| | { |
| property: "border"; |
| value: GenericBorderFor_LineStyle; |
| } |
| | { |
| property: "border-top"; |
| value: GenericBorderFor_LineStyle; |
| } |
| | { |
| property: "border-bottom"; |
| value: GenericBorderFor_LineStyle; |
| } |
| | { |
| property: "border-left"; |
| value: GenericBorderFor_LineStyle; |
| } |
| | { |
| property: "border-right"; |
| value: GenericBorderFor_LineStyle; |
| } |
| | { |
| property: "border-block"; |
| value: GenericBorderFor_LineStyle; |
| } |
| | { |
| property: "border-block-start"; |
| value: GenericBorderFor_LineStyle; |
| } |
| | { |
| property: "border-block-end"; |
| value: GenericBorderFor_LineStyle; |
| } |
| | { |
| property: "border-inline"; |
| value: GenericBorderFor_LineStyle; |
| } |
| | { |
| property: "border-inline-start"; |
| value: GenericBorderFor_LineStyle; |
| } |
| | { |
| property: "border-inline-end"; |
| value: GenericBorderFor_LineStyle; |
| } |
| | { |
| property: "outline"; |
| value: GenericBorderFor_OutlineStyleAnd_11; |
| } |
| | { |
| property: "outline-color"; |
| value: CssColor; |
| } |
| | { |
| property: "outline-style"; |
| value: OutlineStyle; |
| } |
| | { |
| property: "outline-width"; |
| value: BorderSideWidth; |
| } |
| | { |
| property: "flex-direction"; |
| value: FlexDirection; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "flex-wrap"; |
| value: FlexWrap; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "flex-flow"; |
| value: FlexFlow; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "flex-grow"; |
| value: number; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "flex-shrink"; |
| value: number; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "flex-basis"; |
| value: LengthPercentageOrAuto; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "flex"; |
| value: Flex; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "order"; |
| value: number; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "align-content"; |
| value: AlignContent; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "justify-content"; |
| value: JustifyContent; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "place-content"; |
| value: PlaceContent; |
| } |
| | { |
| property: "align-self"; |
| value: AlignSelf; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "justify-self"; |
| value: JustifySelf; |
| } |
| | { |
| property: "place-self"; |
| value: PlaceSelf; |
| } |
| | { |
| property: "align-items"; |
| value: AlignItems; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "justify-items"; |
| value: JustifyItems; |
| } |
| | { |
| property: "place-items"; |
| value: PlaceItems; |
| } |
| | { |
| property: "row-gap"; |
| value: GapValue; |
| } |
| | { |
| property: "column-gap"; |
| value: GapValue; |
| } |
| | { |
| property: "gap"; |
| value: Gap; |
| } |
| | { |
| property: "box-orient"; |
| value: BoxOrient; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "box-direction"; |
| value: BoxDirection; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "box-ordinal-group"; |
| value: number; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "box-align"; |
| value: BoxAlign; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "box-flex"; |
| value: number; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "box-flex-group"; |
| value: number; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "box-pack"; |
| value: BoxPack; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "box-lines"; |
| value: BoxLines; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "flex-pack"; |
| value: FlexPack; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "flex-order"; |
| value: number; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "flex-align"; |
| value: BoxAlign; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "flex-item-align"; |
| value: FlexItemAlign; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "flex-line-pack"; |
| value: FlexLinePack; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "flex-positive"; |
| value: number; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "flex-negative"; |
| value: number; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "flex-preferred-size"; |
| value: LengthPercentageOrAuto; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "grid-template-columns"; |
| value: TrackSizing; |
| } |
| | { |
| property: "grid-template-rows"; |
| value: TrackSizing; |
| } |
| | { |
| property: "grid-auto-columns"; |
| value: TrackSize[]; |
| } |
| | { |
| property: "grid-auto-rows"; |
| value: TrackSize[]; |
| } |
| | { |
| property: "grid-auto-flow"; |
| value: GridAutoFlow; |
| } |
| | { |
| property: "grid-template-areas"; |
| value: GridTemplateAreas; |
| } |
| | { |
| property: "grid-template"; |
| value: GridTemplate; |
| } |
| | { |
| property: "grid"; |
| value: Grid; |
| } |
| | { |
| property: "grid-row-start"; |
| value: GridLine; |
| } |
| | { |
| property: "grid-row-end"; |
| value: GridLine; |
| } |
| | { |
| property: "grid-column-start"; |
| value: GridLine; |
| } |
| | { |
| property: "grid-column-end"; |
| value: GridLine; |
| } |
| | { |
| property: "grid-row"; |
| value: GridRow; |
| } |
| | { |
| property: "grid-column"; |
| value: GridColumn; |
| } |
| | { |
| property: "grid-area"; |
| value: GridArea; |
| } |
| | { |
| property: "margin-top"; |
| value: LengthPercentageOrAuto; |
| } |
| | { |
| property: "margin-bottom"; |
| value: LengthPercentageOrAuto; |
| } |
| | { |
| property: "margin-left"; |
| value: LengthPercentageOrAuto; |
| } |
| | { |
| property: "margin-right"; |
| value: LengthPercentageOrAuto; |
| } |
| | { |
| property: "margin-block-start"; |
| value: LengthPercentageOrAuto; |
| } |
| | { |
| property: "margin-block-end"; |
| value: LengthPercentageOrAuto; |
| } |
| | { |
| property: "margin-inline-start"; |
| value: LengthPercentageOrAuto; |
| } |
| | { |
| property: "margin-inline-end"; |
| value: LengthPercentageOrAuto; |
| } |
| | { |
| property: "margin-block"; |
| value: MarginBlock; |
| } |
| | { |
| property: "margin-inline"; |
| value: MarginInline; |
| } |
| | { |
| property: "margin"; |
| value: Margin; |
| } |
| | { |
| property: "padding-top"; |
| value: LengthPercentageOrAuto; |
| } |
| | { |
| property: "padding-bottom"; |
| value: LengthPercentageOrAuto; |
| } |
| | { |
| property: "padding-left"; |
| value: LengthPercentageOrAuto; |
| } |
| | { |
| property: "padding-right"; |
| value: LengthPercentageOrAuto; |
| } |
| | { |
| property: "padding-block-start"; |
| value: LengthPercentageOrAuto; |
| } |
| | { |
| property: "padding-block-end"; |
| value: LengthPercentageOrAuto; |
| } |
| | { |
| property: "padding-inline-start"; |
| value: LengthPercentageOrAuto; |
| } |
| | { |
| property: "padding-inline-end"; |
| value: LengthPercentageOrAuto; |
| } |
| | { |
| property: "padding-block"; |
| value: PaddingBlock; |
| } |
| | { |
| property: "padding-inline"; |
| value: PaddingInline; |
| } |
| | { |
| property: "padding"; |
| value: Padding; |
| } |
| | { |
| property: "scroll-margin-top"; |
| value: LengthPercentageOrAuto; |
| } |
| | { |
| property: "scroll-margin-bottom"; |
| value: LengthPercentageOrAuto; |
| } |
| | { |
| property: "scroll-margin-left"; |
| value: LengthPercentageOrAuto; |
| } |
| | { |
| property: "scroll-margin-right"; |
| value: LengthPercentageOrAuto; |
| } |
| | { |
| property: "scroll-margin-block-start"; |
| value: LengthPercentageOrAuto; |
| } |
| | { |
| property: "scroll-margin-block-end"; |
| value: LengthPercentageOrAuto; |
| } |
| | { |
| property: "scroll-margin-inline-start"; |
| value: LengthPercentageOrAuto; |
| } |
| | { |
| property: "scroll-margin-inline-end"; |
| value: LengthPercentageOrAuto; |
| } |
| | { |
| property: "scroll-margin-block"; |
| value: ScrollMarginBlock; |
| } |
| | { |
| property: "scroll-margin-inline"; |
| value: ScrollMarginInline; |
| } |
| | { |
| property: "scroll-margin"; |
| value: ScrollMargin; |
| } |
| | { |
| property: "scroll-padding-top"; |
| value: LengthPercentageOrAuto; |
| } |
| | { |
| property: "scroll-padding-bottom"; |
| value: LengthPercentageOrAuto; |
| } |
| | { |
| property: "scroll-padding-left"; |
| value: LengthPercentageOrAuto; |
| } |
| | { |
| property: "scroll-padding-right"; |
| value: LengthPercentageOrAuto; |
| } |
| | { |
| property: "scroll-padding-block-start"; |
| value: LengthPercentageOrAuto; |
| } |
| | { |
| property: "scroll-padding-block-end"; |
| value: LengthPercentageOrAuto; |
| } |
| | { |
| property: "scroll-padding-inline-start"; |
| value: LengthPercentageOrAuto; |
| } |
| | { |
| property: "scroll-padding-inline-end"; |
| value: LengthPercentageOrAuto; |
| } |
| | { |
| property: "scroll-padding-block"; |
| value: ScrollPaddingBlock; |
| } |
| | { |
| property: "scroll-padding-inline"; |
| value: ScrollPaddingInline; |
| } |
| | { |
| property: "scroll-padding"; |
| value: ScrollPadding; |
| } |
| | { |
| property: "font-weight"; |
| value: FontWeight; |
| } |
| | { |
| property: "font-size"; |
| value: FontSize; |
| } |
| | { |
| property: "font-stretch"; |
| value: FontStretch; |
| } |
| | { |
| property: "font-family"; |
| value: FontFamily[]; |
| } |
| | { |
| property: "font-style"; |
| value: FontStyle; |
| } |
| | { |
| property: "font-variant-caps"; |
| value: FontVariantCaps; |
| } |
| | { |
| property: "line-height"; |
| value: LineHeight; |
| } |
| | { |
| property: "font"; |
| value: Font; |
| } |
| | { |
| property: "vertical-align"; |
| value: VerticalAlign; |
| } |
| | { |
| property: "font-palette"; |
| value: DashedIdentReference; |
| } |
| | { |
| property: "transition-property"; |
| value: PropertyId[]; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "transition-duration"; |
| value: Time[]; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "transition-delay"; |
| value: Time[]; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "transition-timing-function"; |
| value: EasingFunction[]; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "transition"; |
| value: Transition[]; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "animation-name"; |
| value: AnimationName[]; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "animation-duration"; |
| value: Time[]; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "animation-timing-function"; |
| value: EasingFunction[]; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "animation-iteration-count"; |
| value: AnimationIterationCount[]; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "animation-direction"; |
| value: AnimationDirection[]; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "animation-play-state"; |
| value: AnimationPlayState[]; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "animation-delay"; |
| value: Time[]; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "animation-fill-mode"; |
| value: AnimationFillMode[]; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "animation-composition"; |
| value: AnimationComposition[]; |
| } |
| | { |
| property: "animation-timeline"; |
| value: AnimationTimeline[]; |
| } |
| | { |
| property: "animation-range-start"; |
| value: AnimationRangeStart[]; |
| } |
| | { |
| property: "animation-range-end"; |
| value: AnimationRangeEnd[]; |
| } |
| | { |
| property: "animation-range"; |
| value: AnimationRange[]; |
| } |
| | { |
| property: "animation"; |
| value: Animation[]; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "transform"; |
| value: Transform[]; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "transform-origin"; |
| value: Position; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "transform-style"; |
| value: TransformStyle; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "transform-box"; |
| value: TransformBox; |
| } |
| | { |
| property: "backface-visibility"; |
| value: BackfaceVisibility; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "perspective"; |
| value: Perspective; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "perspective-origin"; |
| value: Position; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "translate"; |
| value: Translate; |
| } |
| | { |
| property: "rotate"; |
| value: Rotate; |
| } |
| | { |
| property: "scale"; |
| value: Scale; |
| } |
| | { |
| property: "text-transform"; |
| value: TextTransform; |
| } |
| | { |
| property: "white-space"; |
| value: WhiteSpace; |
| } |
| | { |
| property: "tab-size"; |
| value: LengthOrNumber; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "word-break"; |
| value: WordBreak; |
| } |
| | { |
| property: "line-break"; |
| value: LineBreak; |
| } |
| | { |
| property: "hyphens"; |
| value: Hyphens; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "overflow-wrap"; |
| value: OverflowWrap; |
| } |
| | { |
| property: "word-wrap"; |
| value: OverflowWrap; |
| } |
| | { |
| property: "text-align"; |
| value: TextAlign; |
| } |
| | { |
| property: "text-align-last"; |
| value: TextAlignLast; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "text-justify"; |
| value: TextJustify; |
| } |
| | { |
| property: "word-spacing"; |
| value: Spacing; |
| } |
| | { |
| property: "letter-spacing"; |
| value: Spacing; |
| } |
| | { |
| property: "text-indent"; |
| value: TextIndent; |
| } |
| | { |
| property: "text-decoration-line"; |
| value: TextDecorationLine; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "text-decoration-style"; |
| value: TextDecorationStyle; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "text-decoration-color"; |
| value: CssColor; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "text-decoration-thickness"; |
| value: TextDecorationThickness; |
| } |
| | { |
| property: "text-decoration"; |
| value: TextDecoration; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "text-decoration-skip-ink"; |
| value: TextDecorationSkipInk; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "text-emphasis-style"; |
| value: TextEmphasisStyle; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "text-emphasis-color"; |
| value: CssColor; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "text-emphasis"; |
| value: TextEmphasis; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "text-emphasis-position"; |
| value: TextEmphasisPosition; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "text-shadow"; |
| value: TextShadow[]; |
| } |
| | { |
| property: "text-size-adjust"; |
| value: TextSizeAdjust; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "direction"; |
| value: Direction2; |
| } |
| | { |
| property: "unicode-bidi"; |
| value: UnicodeBidi; |
| } |
| | { |
| property: "box-decoration-break"; |
| value: BoxDecorationBreak; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "resize"; |
| value: Resize; |
| } |
| | { |
| property: "cursor"; |
| value: Cursor; |
| } |
| | { |
| property: "caret-color"; |
| value: ColorOrAuto; |
| } |
| | { |
| property: "caret-shape"; |
| value: CaretShape; |
| } |
| | { |
| property: "caret"; |
| value: Caret; |
| } |
| | { |
| property: "user-select"; |
| value: UserSelect; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "accent-color"; |
| value: ColorOrAuto; |
| } |
| | { |
| property: "appearance"; |
| value: Appearance; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "list-style-type"; |
| value: ListStyleType; |
| } |
| | { |
| property: "list-style-image"; |
| value: Image; |
| } |
| | { |
| property: "list-style-position"; |
| value: ListStylePosition; |
| } |
| | { |
| property: "list-style"; |
| value: ListStyle; |
| } |
| | { |
| property: "marker-side"; |
| value: MarkerSide; |
| } |
| | { |
| property: "composes"; |
| value: Composes; |
| } |
| | { |
| property: "fill"; |
| value: SVGPaint; |
| } |
| | { |
| property: "fill-rule"; |
| value: FillRule; |
| } |
| | { |
| property: "fill-opacity"; |
| value: number; |
| } |
| | { |
| property: "stroke"; |
| value: SVGPaint; |
| } |
| | { |
| property: "stroke-opacity"; |
| value: number; |
| } |
| | { |
| property: "stroke-width"; |
| value: DimensionPercentageFor_LengthValue; |
| } |
| | { |
| property: "stroke-linecap"; |
| value: StrokeLinecap; |
| } |
| | { |
| property: "stroke-linejoin"; |
| value: StrokeLinejoin; |
| } |
| | { |
| property: "stroke-miterlimit"; |
| value: number; |
| } |
| | { |
| property: "stroke-dasharray"; |
| value: StrokeDasharray; |
| } |
| | { |
| property: "stroke-dashoffset"; |
| value: DimensionPercentageFor_LengthValue; |
| } |
| | { |
| property: "marker-start"; |
| value: Marker; |
| } |
| | { |
| property: "marker-mid"; |
| value: Marker; |
| } |
| | { |
| property: "marker-end"; |
| value: Marker; |
| } |
| | { |
| property: "marker"; |
| value: Marker; |
| } |
| | { |
| property: "color-interpolation"; |
| value: ColorInterpolation; |
| } |
| | { |
| property: "color-interpolation-filters"; |
| value: ColorInterpolation; |
| } |
| | { |
| property: "color-rendering"; |
| value: ColorRendering; |
| } |
| | { |
| property: "shape-rendering"; |
| value: ShapeRendering; |
| } |
| | { |
| property: "text-rendering"; |
| value: TextRendering; |
| } |
| | { |
| property: "image-rendering"; |
| value: ImageRendering; |
| } |
| | { |
| property: "clip-path"; |
| value: ClipPath; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "clip-rule"; |
| value: FillRule; |
| } |
| | { |
| property: "mask-image"; |
| value: Image[]; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "mask-mode"; |
| value: MaskMode[]; |
| } |
| | { |
| property: "mask-repeat"; |
| value: BackgroundRepeat[]; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "mask-position-x"; |
| value: PositionComponentFor_HorizontalPositionKeyword[]; |
| } |
| | { |
| property: "mask-position-y"; |
| value: PositionComponentFor_VerticalPositionKeyword[]; |
| } |
| | { |
| property: "mask-position"; |
| value: Position[]; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "mask-clip"; |
| value: MaskClip[]; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "mask-origin"; |
| value: GeometryBox[]; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "mask-size"; |
| value: BackgroundSize[]; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "mask-composite"; |
| value: MaskComposite[]; |
| } |
| | { |
| property: "mask-type"; |
| value: MaskType; |
| } |
| | { |
| property: "mask"; |
| value: Mask[]; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "mask-border-source"; |
| value: Image; |
| } |
| | { |
| property: "mask-border-mode"; |
| value: MaskBorderMode; |
| } |
| | { |
| property: "mask-border-slice"; |
| value: BorderImageSlice; |
| } |
| | { |
| property: "mask-border-width"; |
| value: RectFor_BorderImageSideWidth; |
| } |
| | { |
| property: "mask-border-outset"; |
| value: RectFor_LengthOrNumber; |
| } |
| | { |
| property: "mask-border-repeat"; |
| value: BorderImageRepeat; |
| } |
| | { |
| property: "mask-border"; |
| value: MaskBorder; |
| } |
| | { |
| property: "-webkit-mask-composite"; |
| value: WebKitMaskComposite[]; |
| } |
| | { |
| property: "mask-source-type"; |
| value: WebKitMaskSourceType[]; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "mask-box-image"; |
| value: BorderImage; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "mask-box-image-source"; |
| value: Image; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "mask-box-image-slice"; |
| value: BorderImageSlice; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "mask-box-image-width"; |
| value: RectFor_BorderImageSideWidth; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "mask-box-image-outset"; |
| value: RectFor_LengthOrNumber; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "mask-box-image-repeat"; |
| value: BorderImageRepeat; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "filter"; |
| value: FilterList; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "backdrop-filter"; |
| value: FilterList; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| property: "z-index"; |
| value: ZIndex; |
| } |
| | { |
| property: "container-type"; |
| value: ContainerType; |
| } |
| | { |
| property: "container-name"; |
| value: ContainerNameList; |
| } |
| | { |
| property: "container"; |
| value: Container; |
| } |
| | { |
| property: "view-transition-name"; |
| value: ViewTransitionName; |
| } |
| | { |
| property: "view-transition-class"; |
| value: NoneOrCustomIdentList; |
| } |
| | { |
| property: "view-transition-group"; |
| value: ViewTransitionGroup; |
| } |
| | { |
| property: "color-scheme"; |
| value: ColorScheme; |
| } |
| | { |
| property: "all"; |
| value: CSSWideKeyword; |
| } |
| | { |
| property: "unparsed"; |
| value: UnparsedProperty; |
| } |
| | { |
| property: "custom"; |
| value: CustomProperty; |
| }; |
| |
| |
| |
| export type Image = |
| | { |
| type: "none"; |
| } |
| | { |
| type: "url"; |
| value: Url; |
| } |
| | { |
| type: "gradient"; |
| value: Gradient; |
| } |
| | { |
| type: "image-set"; |
| value: ImageSet; |
| }; |
| |
| |
| |
| export type Gradient = |
| | { |
| |
| |
| |
| direction: LineDirection; |
| |
| |
| |
| items: GradientItemFor_DimensionPercentageFor_LengthValue[]; |
| type: "linear"; |
| |
| |
| |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| |
| |
| |
| direction: LineDirection; |
| |
| |
| |
| items: GradientItemFor_DimensionPercentageFor_LengthValue[]; |
| type: "repeating-linear"; |
| |
| |
| |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| |
| |
| |
| items: GradientItemFor_DimensionPercentageFor_LengthValue[]; |
| |
| |
| |
| position: Position; |
| |
| |
| |
| shape: EndingShape; |
| type: "radial"; |
| |
| |
| |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| |
| |
| |
| items: GradientItemFor_DimensionPercentageFor_LengthValue[]; |
| |
| |
| |
| position: Position; |
| |
| |
| |
| shape: EndingShape; |
| type: "repeating-radial"; |
| |
| |
| |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| |
| |
| |
| angle: Angle; |
| |
| |
| |
| items: GradientItemFor_DimensionPercentageFor_Angle[]; |
| |
| |
| |
| position: Position; |
| type: "conic"; |
| } |
| | { |
| |
| |
| |
| angle: Angle; |
| |
| |
| |
| items: GradientItemFor_DimensionPercentageFor_Angle[]; |
| |
| |
| |
| position: Position; |
| type: "repeating-conic"; |
| } |
| | ( |
| | { |
| type: "webkit-gradient"; |
| |
| |
| |
| from: WebKitGradientPoint; |
| kind: "linear"; |
| |
| |
| |
| stops: WebKitColorStop[]; |
| |
| |
| |
| to: WebKitGradientPoint; |
| } |
| | { |
| type: "webkit-gradient"; |
| |
| |
| |
| from: WebKitGradientPoint; |
| kind: "radial"; |
| |
| |
| |
| r0: number; |
| |
| |
| |
| r1: number; |
| |
| |
| |
| stops: WebKitColorStop[]; |
| |
| |
| |
| to: WebKitGradientPoint; |
| } |
| ); |
| |
| |
| |
| |
| |
| export type LineDirection = |
| | { |
| type: "angle"; |
| value: Angle; |
| } |
| | { |
| type: "horizontal"; |
| value: HorizontalPositionKeyword; |
| } |
| | { |
| type: "vertical"; |
| value: VerticalPositionKeyword; |
| } |
| | { |
| |
| |
| |
| horizontal: HorizontalPositionKeyword; |
| type: "corner"; |
| |
| |
| |
| vertical: VerticalPositionKeyword; |
| }; |
| |
| |
| |
| export type HorizontalPositionKeyword = "left" | "right"; |
| |
| |
| |
| export type VerticalPositionKeyword = "top" | "bottom"; |
| |
| |
| |
| |
| |
| export type GradientItemFor_DimensionPercentageFor_LengthValue = |
| | { |
| |
| |
| |
| color: CssColor; |
| |
| |
| |
| position?: DimensionPercentageFor_LengthValue | null; |
| type: "color-stop"; |
| } |
| | { |
| type: "hint"; |
| value: DimensionPercentageFor_LengthValue; |
| }; |
| |
| |
| |
| |
| |
| export type DimensionPercentageFor_LengthValue = |
| | { |
| type: "dimension"; |
| value: LengthValue; |
| } |
| | { |
| type: "percentage"; |
| value: number; |
| } |
| | { |
| type: "calc"; |
| value: CalcFor_DimensionPercentageFor_LengthValue; |
| }; |
| |
| |
| |
| |
| |
| export type CalcFor_DimensionPercentageFor_LengthValue = |
| | { |
| type: "value"; |
| value: DimensionPercentageFor_LengthValue; |
| } |
| | { |
| type: "number"; |
| value: number; |
| } |
| | { |
| type: "sum"; |
| |
| |
| |
| |
| value: [CalcFor_DimensionPercentageFor_LengthValue, CalcFor_DimensionPercentageFor_LengthValue]; |
| } |
| | { |
| type: "product"; |
| |
| |
| |
| |
| value: [number, CalcFor_DimensionPercentageFor_LengthValue]; |
| } |
| | { |
| type: "function"; |
| value: MathFunctionFor_DimensionPercentageFor_LengthValue; |
| }; |
| |
| |
| |
| |
| |
| export type MathFunctionFor_DimensionPercentageFor_LengthValue = |
| | { |
| type: "calc"; |
| value: CalcFor_DimensionPercentageFor_LengthValue; |
| } |
| | { |
| type: "min"; |
| value: CalcFor_DimensionPercentageFor_LengthValue[]; |
| } |
| | { |
| type: "max"; |
| value: CalcFor_DimensionPercentageFor_LengthValue[]; |
| } |
| | { |
| type: "clamp"; |
| |
| |
| |
| |
| value: [ |
| CalcFor_DimensionPercentageFor_LengthValue, |
| CalcFor_DimensionPercentageFor_LengthValue, |
| CalcFor_DimensionPercentageFor_LengthValue |
| ]; |
| } |
| | { |
| type: "round"; |
| |
| |
| |
| |
| value: [RoundingStrategy, CalcFor_DimensionPercentageFor_LengthValue, CalcFor_DimensionPercentageFor_LengthValue]; |
| } |
| | { |
| type: "rem"; |
| |
| |
| |
| |
| value: [CalcFor_DimensionPercentageFor_LengthValue, CalcFor_DimensionPercentageFor_LengthValue]; |
| } |
| | { |
| type: "mod"; |
| |
| |
| |
| |
| value: [CalcFor_DimensionPercentageFor_LengthValue, CalcFor_DimensionPercentageFor_LengthValue]; |
| } |
| | { |
| type: "abs"; |
| value: CalcFor_DimensionPercentageFor_LengthValue; |
| } |
| | { |
| type: "sign"; |
| value: CalcFor_DimensionPercentageFor_LengthValue; |
| } |
| | { |
| type: "hypot"; |
| value: CalcFor_DimensionPercentageFor_LengthValue[]; |
| }; |
| |
| |
| |
| |
| |
| export type PositionComponentFor_HorizontalPositionKeyword = |
| | { |
| type: "center"; |
| } |
| | { |
| type: "length"; |
| value: DimensionPercentageFor_LengthValue; |
| } |
| | { |
| |
| |
| |
| offset?: DimensionPercentageFor_LengthValue | null; |
| |
| |
| |
| side: HorizontalPositionKeyword; |
| type: "side"; |
| }; |
| |
| |
| |
| |
| |
| export type PositionComponentFor_VerticalPositionKeyword = |
| | { |
| type: "center"; |
| } |
| | { |
| type: "length"; |
| value: DimensionPercentageFor_LengthValue; |
| } |
| | { |
| |
| |
| |
| offset?: DimensionPercentageFor_LengthValue | null; |
| |
| |
| |
| side: VerticalPositionKeyword; |
| type: "side"; |
| }; |
| |
| |
| |
| |
| |
| export type EndingShape = |
| | { |
| type: "ellipse"; |
| value: Ellipse; |
| } |
| | { |
| type: "circle"; |
| value: Circle; |
| }; |
| |
| |
| |
| |
| |
| export type Ellipse = |
| | { |
| type: "size"; |
| |
| |
| |
| x: DimensionPercentageFor_LengthValue; |
| |
| |
| |
| y: DimensionPercentageFor_LengthValue; |
| } |
| | { |
| type: "extent"; |
| value: ShapeExtent; |
| }; |
| |
| |
| |
| |
| |
| export type ShapeExtent = "closest-side" | "farthest-side" | "closest-corner" | "farthest-corner"; |
| |
| |
| |
| |
| |
| export type Circle = |
| | { |
| type: "radius"; |
| value: Length; |
| } |
| | { |
| type: "extent"; |
| value: ShapeExtent; |
| }; |
| |
| |
| |
| |
| |
| export type GradientItemFor_DimensionPercentageFor_Angle = |
| | { |
| |
| |
| |
| color: CssColor; |
| |
| |
| |
| position?: DimensionPercentageFor_Angle | null; |
| type: "color-stop"; |
| } |
| | { |
| type: "hint"; |
| value: DimensionPercentageFor_Angle; |
| }; |
| |
| |
| |
| |
| |
| export type DimensionPercentageFor_Angle = |
| | { |
| type: "dimension"; |
| value: Angle; |
| } |
| | { |
| type: "percentage"; |
| value: number; |
| } |
| | { |
| type: "calc"; |
| value: CalcFor_DimensionPercentageFor_Angle; |
| }; |
| |
| |
| |
| |
| |
| export type CalcFor_DimensionPercentageFor_Angle = |
| | { |
| type: "value"; |
| value: DimensionPercentageFor_Angle; |
| } |
| | { |
| type: "number"; |
| value: number; |
| } |
| | { |
| type: "sum"; |
| |
| |
| |
| |
| value: [CalcFor_DimensionPercentageFor_Angle, CalcFor_DimensionPercentageFor_Angle]; |
| } |
| | { |
| type: "product"; |
| |
| |
| |
| |
| value: [number, CalcFor_DimensionPercentageFor_Angle]; |
| } |
| | { |
| type: "function"; |
| value: MathFunctionFor_DimensionPercentageFor_Angle; |
| }; |
| |
| |
| |
| |
| |
| export type MathFunctionFor_DimensionPercentageFor_Angle = |
| | { |
| type: "calc"; |
| value: CalcFor_DimensionPercentageFor_Angle; |
| } |
| | { |
| type: "min"; |
| value: CalcFor_DimensionPercentageFor_Angle[]; |
| } |
| | { |
| type: "max"; |
| value: CalcFor_DimensionPercentageFor_Angle[]; |
| } |
| | { |
| type: "clamp"; |
| |
| |
| |
| |
| value: [ |
| CalcFor_DimensionPercentageFor_Angle, |
| CalcFor_DimensionPercentageFor_Angle, |
| CalcFor_DimensionPercentageFor_Angle |
| ]; |
| } |
| | { |
| type: "round"; |
| |
| |
| |
| |
| value: [RoundingStrategy, CalcFor_DimensionPercentageFor_Angle, CalcFor_DimensionPercentageFor_Angle]; |
| } |
| | { |
| type: "rem"; |
| |
| |
| |
| |
| value: [CalcFor_DimensionPercentageFor_Angle, CalcFor_DimensionPercentageFor_Angle]; |
| } |
| | { |
| type: "mod"; |
| |
| |
| |
| |
| value: [CalcFor_DimensionPercentageFor_Angle, CalcFor_DimensionPercentageFor_Angle]; |
| } |
| | { |
| type: "abs"; |
| value: CalcFor_DimensionPercentageFor_Angle; |
| } |
| | { |
| type: "sign"; |
| value: CalcFor_DimensionPercentageFor_Angle; |
| } |
| | { |
| type: "hypot"; |
| value: CalcFor_DimensionPercentageFor_Angle[]; |
| }; |
| |
| |
| |
| export type WebKitGradientPointComponentFor_HorizontalPositionKeyword = |
| | { |
| type: "center"; |
| } |
| | { |
| type: "number"; |
| value: NumberOrPercentage; |
| } |
| | { |
| type: "side"; |
| value: HorizontalPositionKeyword; |
| }; |
| |
| |
| |
| export type NumberOrPercentage = |
| | { |
| type: "number"; |
| value: number; |
| } |
| | { |
| type: "percentage"; |
| value: number; |
| }; |
| |
| |
| |
| export type WebKitGradientPointComponentFor_VerticalPositionKeyword = |
| | { |
| type: "center"; |
| } |
| | { |
| type: "number"; |
| value: NumberOrPercentage; |
| } |
| | { |
| type: "side"; |
| value: VerticalPositionKeyword; |
| }; |
| |
| |
| |
| export type BackgroundSize = |
| | { |
| |
| |
| |
| height: LengthPercentageOrAuto; |
| type: "explicit"; |
| |
| |
| |
| width: LengthPercentageOrAuto; |
| } |
| | { |
| type: "cover"; |
| } |
| | { |
| type: "contain"; |
| }; |
| |
| |
| |
| export type LengthPercentageOrAuto = |
| | { |
| type: "auto"; |
| } |
| | { |
| type: "length-percentage"; |
| value: DimensionPercentageFor_LengthValue; |
| }; |
| |
| |
| |
| |
| |
| export type BackgroundRepeatKeyword = "repeat" | "space" | "round" | "no-repeat"; |
| |
| |
| |
| export type BackgroundAttachment = "scroll" | "fixed" | "local"; |
| |
| |
| |
| export type BackgroundClip = "border-box" | "padding-box" | "content-box" | "border" | "text"; |
| |
| |
| |
| export type BackgroundOrigin = "border-box" | "padding-box" | "content-box"; |
| |
| |
| |
| export type Display = |
| | { |
| type: "keyword"; |
| value: DisplayKeyword; |
| } |
| | { |
| |
| |
| |
| inside: DisplayInside; |
| |
| |
| |
| isListItem: boolean; |
| |
| |
| |
| outside: DisplayOutside; |
| type: "pair"; |
| }; |
| |
| |
| |
| |
| |
| export type DisplayKeyword = |
| | "none" |
| | "contents" |
| | "table-row-group" |
| | "table-header-group" |
| | "table-footer-group" |
| | "table-row" |
| | "table-cell" |
| | "table-column-group" |
| | "table-column" |
| | "table-caption" |
| | "ruby-base" |
| | "ruby-text" |
| | "ruby-base-container" |
| | "ruby-text-container"; |
| |
| |
| |
| export type DisplayInside = |
| | { |
| type: "flow"; |
| } |
| | { |
| type: "flow-root"; |
| } |
| | { |
| type: "table"; |
| } |
| | { |
| type: "flex"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| type: "box"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| type: "grid"; |
| } |
| | { |
| type: "ruby"; |
| }; |
| |
| |
| |
| export type DisplayOutside = "block" | "inline" | "run-in"; |
| |
| |
| |
| export type Visibility = "visible" | "hidden" | "collapse"; |
| |
| |
| |
| export type Size = |
| | { |
| type: "auto"; |
| } |
| | { |
| type: "length-percentage"; |
| value: DimensionPercentageFor_LengthValue; |
| } |
| | { |
| type: "min-content"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| type: "max-content"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| type: "fit-content"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| type: "fit-content-function"; |
| value: DimensionPercentageFor_LengthValue; |
| } |
| | { |
| type: "stretch"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| type: "contain"; |
| }; |
| |
| |
| |
| export type MaxSize = |
| | { |
| type: "none"; |
| } |
| | { |
| type: "length-percentage"; |
| value: DimensionPercentageFor_LengthValue; |
| } |
| | { |
| type: "min-content"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| type: "max-content"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| type: "fit-content"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| type: "fit-content-function"; |
| value: DimensionPercentageFor_LengthValue; |
| } |
| | { |
| type: "stretch"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| type: "contain"; |
| }; |
| |
| |
| |
| export type BoxSizing = "content-box" | "border-box"; |
| |
| |
| |
| export type OverflowKeyword = "visible" | "hidden" | "clip" | "scroll" | "auto"; |
| |
| |
| |
| export type TextOverflow = "clip" | "ellipsis"; |
| |
| |
| |
| export type Position2 = |
| | { |
| type: "static"; |
| } |
| | { |
| type: "relative"; |
| } |
| | { |
| type: "absolute"; |
| } |
| | { |
| type: "sticky"; |
| value: VendorPrefix; |
| } |
| | { |
| type: "fixed"; |
| }; |
| |
| |
| |
| |
| |
| |
| |
| |
| export type Size2DFor_Length = [Length, Length]; |
| |
| |
| |
| export type LineStyle = |
| | "none" |
| | "hidden" |
| | "inset" |
| | "groove" |
| | "outset" |
| | "ridge" |
| | "dotted" |
| | "dashed" |
| | "solid" |
| | "double"; |
| |
| |
| |
| export type BorderSideWidth = |
| | { |
| type: "thin"; |
| } |
| | { |
| type: "medium"; |
| } |
| | { |
| type: "thick"; |
| } |
| | { |
| type: "length"; |
| value: Length; |
| }; |
| |
| |
| |
| |
| |
| |
| |
| |
| export type Size2DFor_DimensionPercentageFor_LengthValue = [ |
| DimensionPercentageFor_LengthValue, |
| DimensionPercentageFor_LengthValue |
| ]; |
| |
| |
| |
| |
| |
| |
| |
| |
| export type RectFor_LengthOrNumber = [LengthOrNumber, LengthOrNumber, LengthOrNumber, LengthOrNumber]; |
| |
| |
| |
| export type LengthOrNumber = |
| | { |
| type: "number"; |
| value: number; |
| } |
| | { |
| type: "length"; |
| value: Length; |
| }; |
| |
| |
| |
| export type BorderImageRepeatKeyword = "stretch" | "repeat" | "round" | "space"; |
| |
| |
| |
| |
| |
| |
| |
| |
| export type RectFor_BorderImageSideWidth = [ |
| BorderImageSideWidth, |
| BorderImageSideWidth, |
| BorderImageSideWidth, |
| BorderImageSideWidth |
| ]; |
| |
| |
| |
| export type BorderImageSideWidth = |
| | { |
| type: "number"; |
| value: number; |
| } |
| | { |
| type: "length-percentage"; |
| value: DimensionPercentageFor_LengthValue; |
| } |
| | { |
| type: "auto"; |
| }; |
| |
| |
| |
| |
| |
| |
| |
| |
| export type RectFor_NumberOrPercentage = [ |
| NumberOrPercentage, |
| NumberOrPercentage, |
| NumberOrPercentage, |
| NumberOrPercentage |
| ]; |
| |
| |
| |
| export type OutlineStyle = |
| | { |
| type: "auto"; |
| } |
| | { |
| type: "line-style"; |
| value: LineStyle; |
| }; |
| |
| |
| |
| export type FlexDirection = "row" | "row-reverse" | "column" | "column-reverse"; |
| |
| |
| |
| export type FlexWrap = "nowrap" | "wrap" | "wrap-reverse"; |
| |
| |
| |
| export type AlignContent = |
| | { |
| type: "normal"; |
| } |
| | { |
| type: "baseline-position"; |
| value: BaselinePosition; |
| } |
| | { |
| type: "content-distribution"; |
| value: ContentDistribution; |
| } |
| | { |
| |
| |
| |
| overflow?: OverflowPosition | null; |
| type: "content-position"; |
| |
| |
| |
| value: ContentPosition; |
| }; |
| |
| |
| |
| export type BaselinePosition = "first" | "last"; |
| |
| |
| |
| export type ContentDistribution = "space-between" | "space-around" | "space-evenly" | "stretch"; |
| |
| |
| |
| export type OverflowPosition = "safe" | "unsafe"; |
| |
| |
| |
| export type ContentPosition = "center" | "start" | "end" | "flex-start" | "flex-end"; |
| |
| |
| |
| export type JustifyContent = |
| | { |
| type: "normal"; |
| } |
| | { |
| type: "content-distribution"; |
| value: ContentDistribution; |
| } |
| | { |
| |
| |
| |
| overflow?: OverflowPosition | null; |
| type: "content-position"; |
| |
| |
| |
| value: ContentPosition; |
| } |
| | { |
| |
| |
| |
| overflow?: OverflowPosition | null; |
| type: "left"; |
| } |
| | { |
| |
| |
| |
| overflow?: OverflowPosition | null; |
| type: "right"; |
| }; |
| |
| |
| |
| export type AlignSelf = |
| | { |
| type: "auto"; |
| } |
| | { |
| type: "normal"; |
| } |
| | { |
| type: "stretch"; |
| } |
| | { |
| type: "baseline-position"; |
| value: BaselinePosition; |
| } |
| | { |
| |
| |
| |
| overflow?: OverflowPosition | null; |
| type: "self-position"; |
| |
| |
| |
| value: SelfPosition; |
| }; |
| |
| |
| |
| export type SelfPosition = "center" | "start" | "end" | "self-start" | "self-end" | "flex-start" | "flex-end"; |
| |
| |
| |
| export type JustifySelf = |
| | { |
| type: "auto"; |
| } |
| | { |
| type: "normal"; |
| } |
| | { |
| type: "stretch"; |
| } |
| | { |
| type: "baseline-position"; |
| value: BaselinePosition; |
| } |
| | { |
| |
| |
| |
| overflow?: OverflowPosition | null; |
| type: "self-position"; |
| |
| |
| |
| value: SelfPosition; |
| } |
| | { |
| |
| |
| |
| overflow?: OverflowPosition | null; |
| type: "left"; |
| } |
| | { |
| |
| |
| |
| overflow?: OverflowPosition | null; |
| type: "right"; |
| }; |
| |
| |
| |
| export type AlignItems = |
| | { |
| type: "normal"; |
| } |
| | { |
| type: "stretch"; |
| } |
| | { |
| type: "baseline-position"; |
| value: BaselinePosition; |
| } |
| | { |
| |
| |
| |
| overflow?: OverflowPosition | null; |
| type: "self-position"; |
| |
| |
| |
| value: SelfPosition; |
| }; |
| |
| |
| |
| export type JustifyItems = |
| | { |
| type: "normal"; |
| } |
| | { |
| type: "stretch"; |
| } |
| | { |
| type: "baseline-position"; |
| value: BaselinePosition; |
| } |
| | { |
| |
| |
| |
| overflow?: OverflowPosition | null; |
| type: "self-position"; |
| |
| |
| |
| value: SelfPosition; |
| } |
| | { |
| |
| |
| |
| overflow?: OverflowPosition | null; |
| type: "left"; |
| } |
| | { |
| |
| |
| |
| overflow?: OverflowPosition | null; |
| type: "right"; |
| } |
| | { |
| type: "legacy"; |
| value: LegacyJustify; |
| }; |
| |
| |
| |
| export type LegacyJustify = "left" | "right" | "center"; |
| |
| |
| |
| export type GapValue = |
| | { |
| type: "normal"; |
| } |
| | { |
| type: "length-percentage"; |
| value: DimensionPercentageFor_LengthValue; |
| }; |
| |
| |
| |
| export type BoxOrient = "horizontal" | "vertical" | "inline-axis" | "block-axis"; |
| |
| |
| |
| export type BoxDirection = "normal" | "reverse"; |
| |
| |
| |
| export type BoxAlign = "start" | "end" | "center" | "baseline" | "stretch"; |
| |
| |
| |
| export type BoxPack = "start" | "end" | "center" | "justify"; |
| |
| |
| |
| export type BoxLines = "single" | "multiple"; |
| |
| |
| |
| export type FlexPack = "start" | "end" | "center" | "justify" | "distribute"; |
| |
| |
| |
| export type FlexItemAlign = "auto" | "start" | "end" | "center" | "baseline" | "stretch"; |
| |
| |
| |
| export type FlexLinePack = "start" | "end" | "center" | "justify" | "distribute" | "stretch"; |
| |
| |
| |
| export type TrackSizing = |
| | { |
| type: "none"; |
| } |
| | { |
| |
| |
| |
| items: TrackListItem[]; |
| |
| |
| |
| lineNames: String[][]; |
| type: "track-list"; |
| }; |
| |
| |
| |
| |
| |
| export type TrackListItem = |
| | { |
| type: "track-size"; |
| value: TrackSize; |
| } |
| | { |
| type: "track-repeat"; |
| value: TrackRepeat; |
| }; |
| |
| |
| |
| |
| |
| export type TrackSize = |
| | { |
| type: "track-breadth"; |
| value: TrackBreadth; |
| } |
| | { |
| |
| |
| |
| max: TrackBreadth; |
| |
| |
| |
| min: TrackBreadth; |
| type: "min-max"; |
| } |
| | { |
| type: "fit-content"; |
| value: DimensionPercentageFor_LengthValue; |
| }; |
| |
| |
| |
| |
| |
| export type TrackBreadth = |
| | { |
| type: "length"; |
| value: DimensionPercentageFor_LengthValue; |
| } |
| | { |
| type: "flex"; |
| value: number; |
| } |
| | { |
| type: "min-content"; |
| } |
| | { |
| type: "max-content"; |
| } |
| | { |
| type: "auto"; |
| }; |
| |
| |
| |
| |
| |
| export type RepeatCount = |
| | { |
| type: "number"; |
| value: number; |
| } |
| | { |
| type: "auto-fill"; |
| } |
| | { |
| type: "auto-fit"; |
| }; |
| export type AutoFlowDirection = "row" | "column"; |
| |
| |
| |
| export type GridTemplateAreas = |
| | { |
| type: "none"; |
| } |
| | { |
| |
| |
| |
| areas: (string | null)[]; |
| |
| |
| |
| columns: number; |
| type: "areas"; |
| }; |
| |
| |
| |
| export type GridLine = |
| | { |
| type: "auto"; |
| } |
| | { |
| |
| |
| |
| name: String; |
| type: "area"; |
| } |
| | { |
| |
| |
| |
| index: number; |
| |
| |
| |
| name?: String | null; |
| type: "line"; |
| } |
| | { |
| |
| |
| |
| index: number; |
| |
| |
| |
| name?: String | null; |
| type: "span"; |
| }; |
| |
| |
| |
| export type FontWeight = |
| | { |
| type: "absolute"; |
| value: AbsoluteFontWeight; |
| } |
| | { |
| type: "bolder"; |
| } |
| | { |
| type: "lighter"; |
| }; |
| |
| |
| |
| |
| |
| export type AbsoluteFontWeight = |
| | { |
| type: "weight"; |
| value: number; |
| } |
| | { |
| type: "normal"; |
| } |
| | { |
| type: "bold"; |
| }; |
| |
| |
| |
| export type FontSize = |
| | { |
| type: "length"; |
| value: DimensionPercentageFor_LengthValue; |
| } |
| | { |
| type: "absolute"; |
| value: AbsoluteFontSize; |
| } |
| | { |
| type: "relative"; |
| value: RelativeFontSize; |
| }; |
| |
| |
| |
| |
| |
| export type AbsoluteFontSize = |
| | "xx-small" |
| | "x-small" |
| | "small" |
| | "medium" |
| | "large" |
| | "x-large" |
| | "xx-large" |
| | "xxx-large"; |
| |
| |
| |
| |
| |
| export type RelativeFontSize = "smaller" | "larger"; |
| |
| |
| |
| export type FontStretch = |
| | { |
| type: "keyword"; |
| value: FontStretchKeyword; |
| } |
| | { |
| type: "percentage"; |
| value: number; |
| }; |
| |
| |
| |
| |
| |
| export type FontStretchKeyword = |
| | "normal" |
| | "ultra-condensed" |
| | "extra-condensed" |
| | "condensed" |
| | "semi-condensed" |
| | "semi-expanded" |
| | "expanded" |
| | "extra-expanded" |
| | "ultra-expanded"; |
| |
| |
| |
| export type FontFamily = GenericFontFamily | String; |
| |
| |
| |
| |
| |
| export type GenericFontFamily = |
| | "serif" |
| | "sans-serif" |
| | "cursive" |
| | "fantasy" |
| | "monospace" |
| | "system-ui" |
| | "emoji" |
| | "math" |
| | "fangsong" |
| | "ui-serif" |
| | "ui-sans-serif" |
| | "ui-monospace" |
| | "ui-rounded" |
| | "initial" |
| | "inherit" |
| | "unset" |
| | "default" |
| | "revert" |
| | "revert-layer"; |
| |
| |
| |
| export type FontStyle = |
| | { |
| type: "normal"; |
| } |
| | { |
| type: "italic"; |
| } |
| | { |
| type: "oblique"; |
| value: Angle; |
| }; |
| |
| |
| |
| export type FontVariantCaps = |
| | "normal" |
| | "small-caps" |
| | "all-small-caps" |
| | "petite-caps" |
| | "all-petite-caps" |
| | "unicase" |
| | "titling-caps"; |
| |
| |
| |
| export type LineHeight = |
| | { |
| type: "normal"; |
| } |
| | { |
| type: "number"; |
| value: number; |
| } |
| | { |
| type: "length"; |
| value: DimensionPercentageFor_LengthValue; |
| }; |
| |
| |
| |
| export type VerticalAlign = |
| | { |
| type: "keyword"; |
| value: VerticalAlignKeyword; |
| } |
| | { |
| type: "length"; |
| value: DimensionPercentageFor_LengthValue; |
| }; |
| |
| |
| |
| export type VerticalAlignKeyword = |
| | "baseline" |
| | "sub" |
| | "super" |
| | "top" |
| | "text-top" |
| | "middle" |
| | "bottom" |
| | "text-bottom"; |
| |
| |
| |
| export type EasingFunction = |
| | { |
| type: "linear"; |
| } |
| | { |
| type: "ease"; |
| } |
| | { |
| type: "ease-in"; |
| } |
| | { |
| type: "ease-out"; |
| } |
| | { |
| type: "ease-in-out"; |
| } |
| | { |
| type: "cubic-bezier"; |
| |
| |
| |
| x1: number; |
| |
| |
| |
| x2: number; |
| |
| |
| |
| y1: number; |
| |
| |
| |
| y2: number; |
| } |
| | { |
| |
| |
| |
| count: number; |
| |
| |
| |
| position?: StepPosition; |
| type: "steps"; |
| }; |
| |
| |
| |
| export type StepPosition = |
| | { |
| type: "start"; |
| } |
| | { |
| type: "end"; |
| } |
| | { |
| type: "jump-none"; |
| } |
| | { |
| type: "jump-both"; |
| }; |
| |
| |
| |
| export type AnimationIterationCount = |
| | { |
| type: "number"; |
| value: number; |
| } |
| | { |
| type: "infinite"; |
| }; |
| |
| |
| |
| export type AnimationDirection = "normal" | "reverse" | "alternate" | "alternate-reverse"; |
| |
| |
| |
| export type AnimationPlayState = "running" | "paused"; |
| |
| |
| |
| export type AnimationFillMode = "none" | "forwards" | "backwards" | "both"; |
| |
| |
| |
| export type AnimationComposition = "replace" | "add" | "accumulate"; |
| |
| |
| |
| export type AnimationTimeline = |
| | { |
| type: "auto"; |
| } |
| | { |
| type: "none"; |
| } |
| | { |
| type: "dashed-ident"; |
| value: String; |
| } |
| | { |
| type: "scroll"; |
| value: ScrollTimeline; |
| } |
| | { |
| type: "view"; |
| value: ViewTimeline; |
| }; |
| |
| |
| |
| export type ScrollAxis = "block" | "inline" | "x" | "y"; |
| |
| |
| |
| export type Scroller = "root" | "nearest" | "self"; |
| |
| |
| |
| |
| |
| |
| |
| |
| export type Size2DFor_LengthPercentageOrAuto = [LengthPercentageOrAuto, LengthPercentageOrAuto]; |
| |
| |
| |
| export type AnimationRangeStart = AnimationAttachmentRange; |
| |
| |
| |
| export type AnimationAttachmentRange = |
| "normal" | DimensionPercentageFor_LengthValue | { |
| |
| |
| |
| name: TimelineRangeName; |
| |
| |
| |
| offset: DimensionPercentageFor_LengthValue; |
| }; |
| |
| |
| |
| export type TimelineRangeName = "cover" | "contain" | "entry" | "exit" | "entry-crossing" | "exit-crossing"; |
| |
| |
| |
| export type AnimationRangeEnd = AnimationAttachmentRange; |
| |
| |
| |
| export type Transform = |
| | { |
| type: "translate"; |
| |
| |
| |
| |
| value: [DimensionPercentageFor_LengthValue, DimensionPercentageFor_LengthValue]; |
| } |
| | { |
| type: "translateX"; |
| value: DimensionPercentageFor_LengthValue; |
| } |
| | { |
| type: "translateY"; |
| value: DimensionPercentageFor_LengthValue; |
| } |
| | { |
| type: "translateZ"; |
| value: Length; |
| } |
| | { |
| type: "translate3d"; |
| |
| |
| |
| |
| value: [DimensionPercentageFor_LengthValue, DimensionPercentageFor_LengthValue, Length]; |
| } |
| | { |
| type: "scale"; |
| |
| |
| |
| |
| value: [NumberOrPercentage, NumberOrPercentage]; |
| } |
| | { |
| type: "scaleX"; |
| value: NumberOrPercentage; |
| } |
| | { |
| type: "scaleY"; |
| value: NumberOrPercentage; |
| } |
| | { |
| type: "scaleZ"; |
| value: NumberOrPercentage; |
| } |
| | { |
| type: "scale3d"; |
| |
| |
| |
| |
| value: [NumberOrPercentage, NumberOrPercentage, NumberOrPercentage]; |
| } |
| | { |
| type: "rotate"; |
| value: Angle; |
| } |
| | { |
| type: "rotateX"; |
| value: Angle; |
| } |
| | { |
| type: "rotateY"; |
| value: Angle; |
| } |
| | { |
| type: "rotateZ"; |
| value: Angle; |
| } |
| | { |
| type: "rotate3d"; |
| |
| |
| |
| |
| value: [number, number, number, Angle]; |
| } |
| | { |
| type: "skew"; |
| |
| |
| |
| |
| value: [Angle, Angle]; |
| } |
| | { |
| type: "skewX"; |
| value: Angle; |
| } |
| | { |
| type: "skewY"; |
| value: Angle; |
| } |
| | { |
| type: "perspective"; |
| value: Length; |
| } |
| | { |
| type: "matrix"; |
| value: MatrixForFloat; |
| } |
| | { |
| type: "matrix3d"; |
| value: Matrix3DForFloat; |
| }; |
| |
| |
| |
| export type TransformStyle = "flat" | "preserve3d"; |
| |
| |
| |
| export type TransformBox = "content-box" | "border-box" | "fill-box" | "stroke-box" | "view-box"; |
| |
| |
| |
| export type BackfaceVisibility = "visible" | "hidden"; |
| |
| |
| |
| export type Perspective = |
| | { |
| type: "none"; |
| } |
| | { |
| type: "length"; |
| value: Length; |
| }; |
| |
| |
| |
| export type Translate = |
| | "none" |
| | { |
| |
| |
| |
| x: DimensionPercentageFor_LengthValue; |
| |
| |
| |
| y: DimensionPercentageFor_LengthValue; |
| |
| |
| |
| z: Length; |
| }; |
| |
| |
| |
| export type Scale = |
| | "none" |
| | { |
| |
| |
| |
| x: NumberOrPercentage; |
| |
| |
| |
| y: NumberOrPercentage; |
| |
| |
| |
| z: NumberOrPercentage; |
| }; |
| |
| |
| |
| export type TextTransformCase = "none" | "uppercase" | "lowercase" | "capitalize"; |
| |
| |
| |
| export type WhiteSpace = "normal" | "pre" | "nowrap" | "pre-wrap" | "break-spaces" | "pre-line"; |
| |
| |
| |
| export type WordBreak = "normal" | "keep-all" | "break-all" | "break-word"; |
| |
| |
| |
| export type LineBreak = "auto" | "loose" | "normal" | "strict" | "anywhere"; |
| |
| |
| |
| export type Hyphens = "none" | "manual" | "auto"; |
| |
| |
| |
| export type OverflowWrap = "normal" | "anywhere" | "break-word"; |
| |
| |
| |
| export type TextAlign = "start" | "end" | "left" | "right" | "center" | "justify" | "match-parent" | "justify-all"; |
| |
| |
| |
| export type TextAlignLast = "auto" | "start" | "end" | "left" | "right" | "center" | "justify" | "match-parent"; |
| |
| |
| |
| export type TextJustify = "auto" | "none" | "inter-word" | "inter-character"; |
| |
| |
| |
| export type Spacing = |
| | { |
| type: "normal"; |
| } |
| | { |
| type: "length"; |
| value: Length; |
| }; |
| export type TextDecorationLine = ExclusiveTextDecorationLine | OtherTextDecorationLine[]; |
| export type ExclusiveTextDecorationLine = "none" | "spelling-error" | "grammar-error"; |
| export type OtherTextDecorationLine = "underline" | "overline" | "line-through" | "blink"; |
| |
| |
| |
| export type TextDecorationStyle = "solid" | "double" | "dotted" | "dashed" | "wavy"; |
| |
| |
| |
| export type TextDecorationThickness = |
| | { |
| type: "auto"; |
| } |
| | { |
| type: "from-font"; |
| } |
| | { |
| type: "length-percentage"; |
| value: DimensionPercentageFor_LengthValue; |
| }; |
| |
| |
| |
| export type TextDecorationSkipInk = "auto" | "none" | "all"; |
| |
| |
| |
| export type TextEmphasisStyle = |
| | { |
| type: "none"; |
| } |
| | { |
| |
| |
| |
| fill: TextEmphasisFillMode; |
| |
| |
| |
| shape?: TextEmphasisShape | null; |
| type: "keyword"; |
| } |
| | { |
| type: "string"; |
| value: String; |
| }; |
| |
| |
| |
| |
| |
| export type TextEmphasisFillMode = "filled" | "open"; |
| |
| |
| |
| |
| |
| export type TextEmphasisShape = "dot" | "circle" | "double-circle" | "triangle" | "sesame"; |
| |
| |
| |
| |
| |
| export type TextEmphasisPositionHorizontal = "left" | "right"; |
| |
| |
| |
| |
| |
| export type TextEmphasisPositionVertical = "over" | "under"; |
| |
| |
| |
| export type TextSizeAdjust = |
| | { |
| type: "auto"; |
| } |
| | { |
| type: "none"; |
| } |
| | { |
| type: "percentage"; |
| value: number; |
| }; |
| |
| |
| |
| export type Direction2 = "ltr" | "rtl"; |
| |
| |
| |
| export type UnicodeBidi = "normal" | "embed" | "isolate" | "bidi-override" | "isolate-override" | "plaintext"; |
| |
| |
| |
| export type BoxDecorationBreak = "slice" | "clone"; |
| |
| |
| |
| export type Resize = "none" | "both" | "horizontal" | "vertical" | "block" | "inline"; |
| |
| |
| |
| |
| |
| export type CursorKeyword = |
| | "auto" |
| | "default" |
| | "none" |
| | "context-menu" |
| | "help" |
| | "pointer" |
| | "progress" |
| | "wait" |
| | "cell" |
| | "crosshair" |
| | "text" |
| | "vertical-text" |
| | "alias" |
| | "copy" |
| | "move" |
| | "no-drop" |
| | "not-allowed" |
| | "grab" |
| | "grabbing" |
| | "e-resize" |
| | "n-resize" |
| | "ne-resize" |
| | "nw-resize" |
| | "s-resize" |
| | "se-resize" |
| | "sw-resize" |
| | "w-resize" |
| | "ew-resize" |
| | "ns-resize" |
| | "nesw-resize" |
| | "nwse-resize" |
| | "col-resize" |
| | "row-resize" |
| | "all-scroll" |
| | "zoom-in" |
| | "zoom-out"; |
| |
| |
| |
| export type ColorOrAuto = |
| | { |
| type: "auto"; |
| } |
| | { |
| type: "color"; |
| value: CssColor; |
| }; |
| |
| |
| |
| export type CaretShape = "auto" | "bar" | "block" | "underscore"; |
| |
| |
| |
| export type UserSelect = "auto" | "text" | "none" | "contain" | "all"; |
| export type Appearance = string; |
| |
| |
| |
| export type ListStyleType = |
| | { |
| type: "none"; |
| } |
| | { |
| type: "string"; |
| value: String; |
| } |
| | { |
| type: "counter-style"; |
| value: CounterStyle; |
| }; |
| |
| |
| |
| export type CounterStyle = |
| | { |
| type: "predefined"; |
| value: PredefinedCounterStyle; |
| } |
| | { |
| type: "name"; |
| value: String; |
| } |
| | { |
| |
| |
| |
| symbols: Symbol[]; |
| |
| |
| |
| system?: SymbolsType & string; |
| type: "symbols"; |
| }; |
| |
| |
| |
| export type PredefinedCounterStyle = |
| | "decimal" |
| | "decimal-leading-zero" |
| | "arabic-indic" |
| | "armenian" |
| | "upper-armenian" |
| | "lower-armenian" |
| | "bengali" |
| | "cambodian" |
| | "khmer" |
| | "cjk-decimal" |
| | "devanagari" |
| | "georgian" |
| | "gujarati" |
| | "gurmukhi" |
| | "hebrew" |
| | "kannada" |
| | "lao" |
| | "malayalam" |
| | "mongolian" |
| | "myanmar" |
| | "oriya" |
| | "persian" |
| | "lower-roman" |
| | "upper-roman" |
| | "tamil" |
| | "telugu" |
| | "thai" |
| | "tibetan" |
| | "lower-alpha" |
| | "lower-latin" |
| | "upper-alpha" |
| | "upper-latin" |
| | "lower-greek" |
| | "hiragana" |
| | "hiragana-iroha" |
| | "katakana" |
| | "katakana-iroha" |
| | "disc" |
| | "circle" |
| | "square" |
| | "disclosure-open" |
| | "disclosure-closed" |
| | "cjk-earthly-branch" |
| | "cjk-heavenly-stem" |
| | "japanese-informal" |
| | "japanese-formal" |
| | "korean-hangul-formal" |
| | "korean-hanja-informal" |
| | "korean-hanja-formal" |
| | "simp-chinese-informal" |
| | "simp-chinese-formal" |
| | "trad-chinese-informal" |
| | "trad-chinese-formal" |
| | "ethiopic-numeric"; |
| |
| |
| |
| |
| |
| export type Symbol = |
| | { |
| type: "string"; |
| value: String; |
| } |
| | { |
| type: "image"; |
| value: Image; |
| }; |
| |
| |
| |
| |
| |
| export type SymbolsType = "cyclic" | "numeric" | "alphabetic" | "symbolic" | "fixed"; |
| |
| |
| |
| export type ListStylePosition = "inside" | "outside"; |
| |
| |
| |
| export type MarkerSide = "match-self" | "match-parent"; |
| |
| |
| |
| export type SVGPaint = |
| | { |
| |
| |
| |
| fallback?: SVGPaintFallback | null; |
| type: "url"; |
| |
| |
| |
| url: Url; |
| } |
| | { |
| type: "color"; |
| value: CssColor; |
| } |
| | { |
| type: "context-fill"; |
| } |
| | { |
| type: "context-stroke"; |
| } |
| | { |
| type: "none"; |
| }; |
| |
| |
| |
| |
| |
| export type SVGPaintFallback = |
| | { |
| type: "none"; |
| } |
| | { |
| type: "color"; |
| value: CssColor; |
| }; |
| |
| |
| |
| |
| |
| export type FillRule = "nonzero" | "evenodd"; |
| |
| |
| |
| export type StrokeLinecap = "butt" | "round" | "square"; |
| |
| |
| |
| export type StrokeLinejoin = "miter" | "miter-clip" | "round" | "bevel" | "arcs"; |
| |
| |
| |
| export type StrokeDasharray = |
| | { |
| type: "none"; |
| } |
| | { |
| type: "values"; |
| value: DimensionPercentageFor_LengthValue[]; |
| }; |
| |
| |
| |
| export type Marker = |
| | { |
| type: "none"; |
| } |
| | { |
| type: "url"; |
| value: Url; |
| }; |
| |
| |
| |
| export type ColorInterpolation = "auto" | "srgb" | "linearrgb"; |
| |
| |
| |
| export type ColorRendering = "auto" | "optimizespeed" | "optimizequality"; |
| |
| |
| |
| export type ShapeRendering = "auto" | "optimizespeed" | "crispedges" | "geometricprecision"; |
| |
| |
| |
| export type TextRendering = "auto" | "optimizespeed" | "optimizelegibility" | "geometricprecision"; |
| |
| |
| |
| export type ImageRendering = "auto" | "optimizespeed" | "optimizequality"; |
| |
| |
| |
| export type ClipPath = |
| | { |
| type: "none"; |
| } |
| | { |
| type: "url"; |
| value: Url; |
| } |
| | { |
| |
| |
| |
| referenceBox: GeometryBox; |
| |
| |
| |
| shape: BasicShape; |
| type: "shape"; |
| } |
| | { |
| type: "box"; |
| value: GeometryBox; |
| }; |
| |
| |
| |
| export type GeometryBox = |
| | "border-box" |
| | "padding-box" |
| | "content-box" |
| | "margin-box" |
| | "fill-box" |
| | "stroke-box" |
| | "view-box"; |
| |
| |
| |
| export type BasicShape = |
| | { |
| type: "inset"; |
| value: InsetRect; |
| } |
| | { |
| type: "circle"; |
| value: Circle2; |
| } |
| | { |
| type: "ellipse"; |
| value: Ellipse2; |
| } |
| | { |
| type: "polygon"; |
| value: Polygon; |
| }; |
| |
| |
| |
| |
| |
| |
| |
| |
| export type RectFor_DimensionPercentageFor_LengthValue = [ |
| DimensionPercentageFor_LengthValue, |
| DimensionPercentageFor_LengthValue, |
| DimensionPercentageFor_LengthValue, |
| DimensionPercentageFor_LengthValue |
| ]; |
| |
| |
| |
| export type ShapeRadius = |
| | { |
| type: "length-percentage"; |
| value: DimensionPercentageFor_LengthValue; |
| } |
| | { |
| type: "closest-side"; |
| } |
| | { |
| type: "farthest-side"; |
| }; |
| |
| |
| |
| export type MaskMode = "luminance" | "alpha" | "match-source"; |
| |
| |
| |
| export type MaskClip = |
| | { |
| type: "geometry-box"; |
| value: GeometryBox; |
| } |
| | { |
| type: "no-clip"; |
| }; |
| |
| |
| |
| export type MaskComposite = "add" | "subtract" | "intersect" | "exclude"; |
| |
| |
| |
| export type MaskType = "luminance" | "alpha"; |
| |
| |
| |
| export type MaskBorderMode = "luminance" | "alpha"; |
| |
| |
| |
| |
| |
| export type WebKitMaskComposite = |
| | ("clear" | "copy" | "source-atop" | "destination-over" | "destination-in" | "destination-out" | "destination-atop") |
| | "source-over" |
| | "source-in" |
| | "source-out" |
| | "xor"; |
| |
| |
| |
| |
| |
| export type WebKitMaskSourceType = "auto" | "luminance" | "alpha"; |
| |
| |
| |
| export type FilterList = |
| | { |
| type: "none"; |
| } |
| | { |
| type: "filters"; |
| value: Filter[]; |
| }; |
| |
| |
| |
| export type Filter = |
| | { |
| type: "blur"; |
| value: Length; |
| } |
| | { |
| type: "brightness"; |
| value: NumberOrPercentage; |
| } |
| | { |
| type: "contrast"; |
| value: NumberOrPercentage; |
| } |
| | { |
| type: "grayscale"; |
| value: NumberOrPercentage; |
| } |
| | { |
| type: "hue-rotate"; |
| value: Angle; |
| } |
| | { |
| type: "invert"; |
| value: NumberOrPercentage; |
| } |
| | { |
| type: "opacity"; |
| value: NumberOrPercentage; |
| } |
| | { |
| type: "saturate"; |
| value: NumberOrPercentage; |
| } |
| | { |
| type: "sepia"; |
| value: NumberOrPercentage; |
| } |
| | { |
| type: "drop-shadow"; |
| value: DropShadow; |
| } |
| | { |
| type: "url"; |
| value: Url; |
| }; |
| |
| |
| |
| export type ZIndex = |
| | { |
| type: "auto"; |
| } |
| | { |
| type: "integer"; |
| value: number; |
| }; |
| |
| |
| |
| export type ContainerType = "normal" | "inline-size" | "size"; |
| |
| |
| |
| export type ContainerNameList = |
| | { |
| type: "none"; |
| } |
| | { |
| type: "names"; |
| value: String[]; |
| }; |
| |
| |
| |
| export type ViewTransitionName = |
| "none" | "auto" | String; |
| |
| |
| |
| export type NoneOrCustomIdentList = |
| "none" | String[]; |
| |
| |
| |
| export type ViewTransitionGroup = |
| "normal" | "contain" | "nearest" | String; |
| |
| |
| |
| export type CSSWideKeyword = "initial" | "inherit" | "unset" | "revert" | "revert-layer"; |
| |
| |
| |
| export type CustomPropertyName = String | String; |
| export type SelectorComponent = |
| | { |
| type: "combinator"; |
| value: Combinator; |
| } |
| | { |
| type: "universal"; |
| } |
| | ( |
| | { |
| type: "namespace"; |
| kind: "none"; |
| } |
| | { |
| type: "namespace"; |
| kind: "any"; |
| } |
| | { |
| type: "namespace"; |
| kind: "named"; |
| prefix: string; |
| } |
| ) |
| | { |
| name: string; |
| type: "type"; |
| } |
| | { |
| name: string; |
| type: "id"; |
| } |
| | { |
| name: string; |
| type: "class"; |
| } |
| | { |
| name: string; |
| namespace?: NamespaceConstraint | null; |
| operation?: AttrOperation | null; |
| type: "attribute"; |
| } |
| | ({ |
| type: "pseudo-class"; |
| } & (TSPseudoClass | PseudoClass)) |
| | ({ |
| type: "pseudo-element"; |
| } & (BuiltinPseudoElement | PseudoElement)) |
| | { |
| type: "nesting"; |
| }; |
| export type Combinator = |
| | ("child" | "descendant" | "next-sibling" | "later-sibling") |
| | "pseudo-element" |
| | "slot-assignment" |
| | "part" |
| | "deep-descendant" |
| | "deep"; |
| export type NamespaceConstraint = |
| | { |
| type: "any"; |
| } |
| | { |
| prefix: string; |
| type: "specific"; |
| url: string; |
| }; |
| export type ParsedCaseSensitivity = |
| | "explicit-case-sensitive" |
| | "ascii-case-insensitive" |
| | "case-sensitive" |
| | "ascii-case-insensitive-if-in-html-element-in-html-document"; |
| export type AttrSelectorOperator = "equal" | "includes" | "dash-match" | "prefix" | "substring" | "suffix"; |
| export type TSPseudoClass = |
| | { |
| kind: "not"; |
| selectors: Selector[]; |
| } |
| | { |
| kind: "first-child"; |
| } |
| | { |
| kind: "last-child"; |
| } |
| | { |
| kind: "only-child"; |
| } |
| | { |
| kind: "root"; |
| } |
| | { |
| kind: "empty"; |
| } |
| | { |
| kind: "scope"; |
| } |
| | { |
| a: number; |
| b: number; |
| kind: "nth-child"; |
| of?: Selector[] | null; |
| } |
| | { |
| a: number; |
| b: number; |
| kind: "nth-last-child"; |
| of?: Selector[] | null; |
| } |
| | { |
| a: number; |
| b: number; |
| kind: "nth-col"; |
| } |
| | { |
| a: number; |
| b: number; |
| kind: "nth-last-col"; |
| } |
| | { |
| a: number; |
| b: number; |
| kind: "nth-of-type"; |
| } |
| | { |
| a: number; |
| b: number; |
| kind: "nth-last-of-type"; |
| } |
| | { |
| kind: "first-of-type"; |
| } |
| | { |
| kind: "last-of-type"; |
| } |
| | { |
| kind: "only-of-type"; |
| } |
| | { |
| kind: "host"; |
| selectors?: Selector | null; |
| } |
| | { |
| kind: "where"; |
| selectors: Selector[]; |
| } |
| | { |
| kind: "is"; |
| selectors: Selector[]; |
| } |
| | { |
| kind: "any"; |
| selectors: Selector[]; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| kind: "has"; |
| selectors: Selector[]; |
| }; |
| |
| |
| |
| export type PseudoClass = |
| | { |
| kind: "lang"; |
| |
| |
| |
| languages: String[]; |
| } |
| | { |
| |
| |
| |
| direction: Direction; |
| kind: "dir"; |
| } |
| | { |
| kind: "hover"; |
| } |
| | { |
| kind: "active"; |
| } |
| | { |
| kind: "focus"; |
| } |
| | { |
| kind: "focus-visible"; |
| } |
| | { |
| kind: "focus-within"; |
| } |
| | { |
| kind: "current"; |
| } |
| | { |
| kind: "past"; |
| } |
| | { |
| kind: "future"; |
| } |
| | { |
| kind: "playing"; |
| } |
| | { |
| kind: "paused"; |
| } |
| | { |
| kind: "seeking"; |
| } |
| | { |
| kind: "buffering"; |
| } |
| | { |
| kind: "stalled"; |
| } |
| | { |
| kind: "muted"; |
| } |
| | { |
| kind: "volume-locked"; |
| } |
| | { |
| kind: "fullscreen"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| kind: "open"; |
| } |
| | { |
| kind: "closed"; |
| } |
| | { |
| kind: "modal"; |
| } |
| | { |
| kind: "picture-in-picture"; |
| } |
| | { |
| kind: "popover-open"; |
| } |
| | { |
| kind: "defined"; |
| } |
| | { |
| kind: "any-link"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| kind: "link"; |
| } |
| | { |
| kind: "local-link"; |
| } |
| | { |
| kind: "target"; |
| } |
| | { |
| kind: "target-within"; |
| } |
| | { |
| kind: "visited"; |
| } |
| | { |
| kind: "enabled"; |
| } |
| | { |
| kind: "disabled"; |
| } |
| | { |
| kind: "read-only"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| kind: "read-write"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| kind: "placeholder-shown"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| kind: "default"; |
| } |
| | { |
| kind: "checked"; |
| } |
| | { |
| kind: "indeterminate"; |
| } |
| | { |
| kind: "blank"; |
| } |
| | { |
| kind: "valid"; |
| } |
| | { |
| kind: "invalid"; |
| } |
| | { |
| kind: "in-range"; |
| } |
| | { |
| kind: "out-of-range"; |
| } |
| | { |
| kind: "required"; |
| } |
| | { |
| kind: "optional"; |
| } |
| | { |
| kind: "user-valid"; |
| } |
| | { |
| kind: "user-invalid"; |
| } |
| | { |
| kind: "autofill"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| kind: "active-view-transition"; |
| } |
| | { |
| kind: "active-view-transition-type"; |
| |
| |
| |
| type: String[]; |
| } |
| | { |
| kind: "local"; |
| |
| |
| |
| selector: Selector; |
| } |
| | { |
| kind: "global"; |
| |
| |
| |
| selector: Selector; |
| } |
| | { |
| kind: "webkit-scrollbar"; |
| value: WebKitScrollbarPseudoClass; |
| } |
| | { |
| kind: "custom"; |
| |
| |
| |
| name: String; |
| } |
| | { |
| |
| |
| |
| arguments: TokenOrValue[]; |
| kind: "custom-function"; |
| |
| |
| |
| name: String; |
| }; |
| |
| |
| |
| export type Direction = "ltr" | "rtl"; |
| |
| |
| |
| export type WebKitScrollbarPseudoClass = |
| | "horizontal" |
| | "vertical" |
| | "decrement" |
| | "increment" |
| | "start" |
| | "end" |
| | "double-button" |
| | "single-button" |
| | "no-button" |
| | "corner-present" |
| | "window-inactive"; |
| export type BuiltinPseudoElement = |
| | { |
| kind: "slotted"; |
| selector: Selector; |
| } |
| | { |
| kind: "part"; |
| names: string[]; |
| }; |
| |
| |
| |
| export type PseudoElement = |
| | { |
| kind: "after"; |
| } |
| | { |
| kind: "before"; |
| } |
| | { |
| kind: "first-line"; |
| } |
| | { |
| kind: "first-letter"; |
| } |
| | { |
| kind: "details-content"; |
| } |
| | { |
| kind: "target-text"; |
| } |
| | { |
| kind: "selection"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| kind: "placeholder"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| kind: "marker"; |
| } |
| | { |
| kind: "backdrop"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| kind: "file-selector-button"; |
| vendorPrefix: VendorPrefix; |
| } |
| | { |
| kind: "webkit-scrollbar"; |
| value: WebKitScrollbarPseudoElement; |
| } |
| | { |
| kind: "cue"; |
| } |
| | { |
| kind: "cue-region"; |
| } |
| | { |
| kind: "cue-function"; |
| |
| |
| |
| selector: Selector; |
| } |
| | { |
| kind: "cue-region-function"; |
| |
| |
| |
| selector: Selector; |
| } |
| | { |
| kind: "view-transition"; |
| } |
| | { |
| kind: "view-transition-group"; |
| |
| |
| |
| part: ViewTransitionPartSelector; |
| } |
| | { |
| kind: "view-transition-image-pair"; |
| |
| |
| |
| part: ViewTransitionPartSelector; |
| } |
| | { |
| kind: "view-transition-old"; |
| |
| |
| |
| part: ViewTransitionPartSelector; |
| } |
| | { |
| kind: "view-transition-new"; |
| |
| |
| |
| part: ViewTransitionPartSelector; |
| } |
| | { |
| kind: "custom"; |
| |
| |
| |
| name: String; |
| } |
| | { |
| |
| |
| |
| arguments: TokenOrValue[]; |
| kind: "custom-function"; |
| |
| |
| |
| name: String; |
| }; |
| |
| |
| |
| export type WebKitScrollbarPseudoElement = |
| | "scrollbar" |
| | "button" |
| | "track" |
| | "track-piece" |
| | "thumb" |
| | "corner" |
| | "resizer"; |
| export type ViewTransitionPartName = string; |
| export type Selector = SelectorComponent[]; |
| export type SelectorList = Selector[]; |
| |
| |
| |
| export type KeyframeSelector = |
| | { |
| type: "percentage"; |
| value: number; |
| } |
| | { |
| type: "from"; |
| } |
| | { |
| type: "to"; |
| } |
| | { |
| type: "timeline-range-percentage"; |
| value: TimelineRangePercentage; |
| }; |
| |
| |
| |
| export type KeyframesName = |
| | { |
| type: "ident"; |
| value: String; |
| } |
| | { |
| type: "custom"; |
| value: String; |
| }; |
| |
| |
| |
| |
| |
| export type FontFaceProperty = |
| | { |
| type: "source"; |
| value: Source[]; |
| } |
| | { |
| type: "font-family"; |
| value: FontFamily; |
| } |
| | { |
| type: "font-style"; |
| value: FontStyle2; |
| } |
| | { |
| type: "font-weight"; |
| value: Size2DFor_FontWeight; |
| } |
| | { |
| type: "font-stretch"; |
| value: Size2DFor_FontStretch; |
| } |
| | { |
| type: "unicode-range"; |
| value: UnicodeRange[]; |
| } |
| | { |
| type: "custom"; |
| value: CustomProperty; |
| }; |
| |
| |
| |
| export type Source = |
| | { |
| type: "url"; |
| value: UrlSource; |
| } |
| | { |
| type: "local"; |
| value: FontFamily; |
| }; |
| |
| |
| |
| export type FontFormat = |
| | { |
| type: "woff"; |
| } |
| | { |
| type: "woff2"; |
| } |
| | { |
| type: "truetype"; |
| } |
| | { |
| type: "opentype"; |
| } |
| | { |
| type: "embedded-opentype"; |
| } |
| | { |
| type: "collection"; |
| } |
| | { |
| type: "svg"; |
| } |
| | { |
| type: "string"; |
| value: String; |
| }; |
| |
| |
| |
| export type FontTechnology = |
| | "features-opentype" |
| | "features-aat" |
| | "features-graphite" |
| | "color-colrv0" |
| | "color-colrv1" |
| | "color-svg" |
| | "color-sbix" |
| | "color-cbdt" |
| | "variations" |
| | "palettes" |
| | "incremental"; |
| |
| |
| |
| export type FontStyle2 = |
| | { |
| type: "normal"; |
| } |
| | { |
| type: "italic"; |
| } |
| | { |
| type: "oblique"; |
| value: Size2DFor_Angle; |
| }; |
| |
| |
| |
| |
| |
| |
| |
| |
| export type Size2DFor_Angle = [Angle, Angle]; |
| |
| |
| |
| |
| |
| |
| |
| |
| export type Size2DFor_FontWeight = [FontWeight, FontWeight]; |
| |
| |
| |
| |
| |
| |
| |
| |
| export type Size2DFor_FontStretch = [FontStretch, FontStretch]; |
| |
| |
| |
| |
| |
| export type FontPaletteValuesProperty = |
| | { |
| type: "font-family"; |
| value: FontFamily; |
| } |
| | { |
| type: "base-palette"; |
| value: BasePalette; |
| } |
| | { |
| type: "override-colors"; |
| value: OverrideColors[]; |
| } |
| | { |
| type: "custom"; |
| value: CustomProperty; |
| }; |
| |
| |
| |
| export type BasePalette = |
| | { |
| type: "light"; |
| } |
| | { |
| type: "dark"; |
| } |
| | { |
| type: "integer"; |
| value: number; |
| }; |
| |
| |
| |
| export type FontFeatureSubruleType = |
| | "stylistic" |
| | "historical-forms" |
| | "styleset" |
| | "character-variant" |
| | "swash" |
| | "ornaments" |
| | "annotation"; |
| |
| |
| |
| export type PageMarginBox = |
| | "top-left-corner" |
| | "top-left" |
| | "top-center" |
| | "top-right" |
| | "top-right-corner" |
| | "left-top" |
| | "left-middle" |
| | "left-bottom" |
| | "right-top" |
| | "right-middle" |
| | "right-bottom" |
| | "bottom-left-corner" |
| | "bottom-left" |
| | "bottom-center" |
| | "bottom-right" |
| | "bottom-right-corner"; |
| |
| |
| |
| |
| |
| export type PagePseudoClass = "left" | "right" | "first" | "last" | "blank"; |
| |
| |
| |
| export type ParsedComponent = |
| | { |
| type: "length"; |
| value: Length; |
| } |
| | { |
| type: "number"; |
| value: number; |
| } |
| | { |
| type: "percentage"; |
| value: number; |
| } |
| | { |
| type: "length-percentage"; |
| value: DimensionPercentageFor_LengthValue; |
| } |
| | { |
| type: "color"; |
| value: CssColor; |
| } |
| | { |
| type: "image"; |
| value: Image; |
| } |
| | { |
| type: "url"; |
| value: Url; |
| } |
| | { |
| type: "integer"; |
| value: number; |
| } |
| | { |
| type: "angle"; |
| value: Angle; |
| } |
| | { |
| type: "time"; |
| value: Time; |
| } |
| | { |
| type: "resolution"; |
| value: Resolution; |
| } |
| | { |
| type: "transform-function"; |
| value: Transform; |
| } |
| | { |
| type: "transform-list"; |
| value: Transform[]; |
| } |
| | { |
| type: "custom-ident"; |
| value: String; |
| } |
| | { |
| type: "literal"; |
| value: String; |
| } |
| | { |
| type: "repeated"; |
| value: { |
| |
| |
| |
| components: ParsedComponent[]; |
| |
| |
| |
| multiplier: Multiplier; |
| }; |
| } |
| | { |
| type: "token-list"; |
| value: TokenOrValue[]; |
| }; |
| |
| |
| |
| export type Multiplier = |
| | { |
| type: "none"; |
| } |
| | { |
| type: "space"; |
| } |
| | { |
| type: "comma"; |
| }; |
| |
| |
| |
| export type SyntaxString = |
| | { |
| type: "components"; |
| value: SyntaxComponent[]; |
| } |
| | { |
| type: "universal"; |
| }; |
| |
| |
| |
| export type SyntaxComponentKind = |
| | { |
| type: "length"; |
| } |
| | { |
| type: "number"; |
| } |
| | { |
| type: "percentage"; |
| } |
| | { |
| type: "length-percentage"; |
| } |
| | { |
| type: "color"; |
| } |
| | { |
| type: "image"; |
| } |
| | { |
| type: "url"; |
| } |
| | { |
| type: "integer"; |
| } |
| | { |
| type: "angle"; |
| } |
| | { |
| type: "time"; |
| } |
| | { |
| type: "resolution"; |
| } |
| | { |
| type: "transform-function"; |
| } |
| | { |
| type: "transform-list"; |
| } |
| | { |
| type: "custom-ident"; |
| } |
| | { |
| type: "literal"; |
| value: string; |
| }; |
| |
| |
| |
| export type ContainerCondition<D = Declaration> = | { |
| type: "feature"; |
| value: QueryFeatureFor_ContainerSizeFeatureId; |
| } |
| | { |
| type: "not"; |
| value: ContainerCondition<D>; |
| } |
| | { |
| |
| |
| |
| conditions: ContainerCondition<D>[]; |
| |
| |
| |
| operator: Operator; |
| type: "operation"; |
| } |
| | { |
| type: "style"; |
| value: StyleQuery<D>; |
| }; |
| |
| |
| |
| export type QueryFeatureFor_ContainerSizeFeatureId = |
| | { |
| |
| |
| |
| name: MediaFeatureNameFor_ContainerSizeFeatureId; |
| type: "plain"; |
| |
| |
| |
| value: MediaFeatureValue; |
| } |
| | { |
| |
| |
| |
| name: MediaFeatureNameFor_ContainerSizeFeatureId; |
| type: "boolean"; |
| } |
| | { |
| |
| |
| |
| name: MediaFeatureNameFor_ContainerSizeFeatureId; |
| |
| |
| |
| operator: MediaFeatureComparison; |
| type: "range"; |
| |
| |
| |
| value: MediaFeatureValue; |
| } |
| | { |
| |
| |
| |
| end: MediaFeatureValue; |
| |
| |
| |
| endOperator: MediaFeatureComparison; |
| |
| |
| |
| name: MediaFeatureNameFor_ContainerSizeFeatureId; |
| |
| |
| |
| start: MediaFeatureValue; |
| |
| |
| |
| startOperator: MediaFeatureComparison; |
| type: "interval"; |
| }; |
| |
| |
| |
| export type MediaFeatureNameFor_ContainerSizeFeatureId = ContainerSizeFeatureId | String | String; |
| |
| |
| |
| export type ContainerSizeFeatureId = "width" | "height" | "inline-size" | "block-size" | "aspect-ratio" | "orientation"; |
| |
| |
| |
| export type StyleQuery<D = Declaration> = | { |
| type: "declaration"; |
| value: D; |
| } |
| | { |
| type: "property"; |
| value: PropertyId; |
| } |
| | { |
| type: "not"; |
| value: StyleQuery<D>; |
| } |
| | { |
| |
| |
| |
| conditions: StyleQuery<D>[]; |
| |
| |
| |
| operator: Operator; |
| type: "operation"; |
| }; |
| |
| |
| |
| |
| |
| export type ViewTransitionProperty = |
| | { |
| property: "navigation"; |
| value: Navigation; |
| } |
| | { |
| property: "types"; |
| value: NoneOrCustomIdentList; |
| } |
| | { |
| property: "custom"; |
| value: CustomProperty; |
| }; |
| |
| |
| |
| export type Navigation = "none" | "auto"; |
| export type DefaultAtRule = null; |
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| export interface StyleSheet<D = Declaration, M = MediaQuery> { |
| |
| |
| |
| licenseComments: String[]; |
| |
| |
| |
| rules: Rule<D, M>[]; |
| |
| |
| |
| sourceMapUrls: (string | null)[]; |
| |
| |
| |
| sources: string[]; |
| } |
| |
| |
| |
| export interface MediaRule<D = Declaration, M = MediaQuery> { |
| |
| |
| |
| loc: Location2; |
| |
| |
| |
| query: MediaList<M>; |
| |
| |
| |
| rules: Rule<D, M>[]; |
| } |
| |
| |
| |
| export interface Location2 { |
| |
| |
| |
| column: number; |
| |
| |
| |
| line: number; |
| |
| |
| |
| source_index: number; |
| } |
| |
| |
| |
| export interface MediaList<M = MediaQuery> { |
| |
| |
| |
| mediaQueries: M[]; |
| } |
| |
| |
| |
| export interface MediaQuery { |
| |
| |
| |
| condition?: MediaCondition | null; |
| |
| |
| |
| mediaType: MediaType; |
| |
| |
| |
| qualifier?: Qualifier | null; |
| } |
| export interface LengthValue { |
| |
| |
| |
| unit: LengthUnit; |
| |
| |
| |
| value: number; |
| } |
| |
| |
| |
| export interface EnvironmentVariable { |
| |
| |
| |
| fallback?: TokenOrValue[] | null; |
| |
| |
| |
| indices?: number[]; |
| |
| |
| |
| name: EnvironmentVariableName; |
| } |
| |
| |
| |
| export interface Url { |
| |
| |
| |
| loc: Location; |
| |
| |
| |
| url: String; |
| } |
| |
| |
| |
| export interface Location { |
| |
| |
| |
| column: number; |
| |
| |
| |
| line: number; |
| } |
| |
| |
| |
| export interface Variable { |
| |
| |
| |
| fallback?: TokenOrValue[] | null; |
| |
| |
| |
| name: DashedIdentReference; |
| } |
| |
| |
| |
| |
| |
| |
| |
| export interface DashedIdentReference { |
| |
| |
| |
| from?: Specifier | null; |
| |
| |
| |
| ident: String; |
| } |
| |
| |
| |
| export interface Function { |
| |
| |
| |
| arguments: TokenOrValue[]; |
| |
| |
| |
| name: String; |
| } |
| |
| |
| |
| export interface ImportRule<M = MediaQuery> { |
| |
| |
| |
| layer?: String[] | null; |
| |
| |
| |
| loc: Location2; |
| |
| |
| |
| media?: MediaList<M>; |
| |
| |
| |
| supports?: SupportsCondition | null; |
| |
| |
| |
| url: String; |
| } |
| |
| |
| |
| export interface StyleRule<D = Declaration, M = MediaQuery> { |
| |
| |
| |
| declarations?: DeclarationBlock<D>; |
| |
| |
| |
| loc: Location2; |
| |
| |
| |
| rules?: Rule<D, M>[]; |
| |
| |
| |
| selectors: SelectorList; |
| } |
| |
| |
| |
| |
| |
| export interface DeclarationBlock<D = Declaration> { |
| |
| |
| |
| declarations?: D[]; |
| |
| |
| |
| importantDeclarations?: D[]; |
| } |
| |
| |
| |
| export interface Position { |
| |
| |
| |
| x: PositionComponentFor_HorizontalPositionKeyword; |
| |
| |
| |
| y: PositionComponentFor_VerticalPositionKeyword; |
| } |
| |
| |
| |
| export interface WebKitGradientPoint { |
| |
| |
| |
| x: WebKitGradientPointComponentFor_HorizontalPositionKeyword; |
| |
| |
| |
| y: WebKitGradientPointComponentFor_VerticalPositionKeyword; |
| } |
| |
| |
| |
| export interface WebKitColorStop { |
| |
| |
| |
| color: CssColor; |
| |
| |
| |
| position: number; |
| } |
| |
| |
| |
| |
| |
| export interface ImageSet { |
| |
| |
| |
| options: ImageSetOption[]; |
| |
| |
| |
| vendorPrefix: VendorPrefix; |
| } |
| |
| |
| |
| export interface ImageSetOption { |
| |
| |
| |
| fileType?: String | null; |
| |
| |
| |
| image: Image; |
| |
| |
| |
| resolution: Resolution; |
| } |
| |
| |
| |
| export interface BackgroundPosition { |
| |
| |
| |
| x: PositionComponentFor_HorizontalPositionKeyword; |
| |
| |
| |
| y: PositionComponentFor_VerticalPositionKeyword; |
| } |
| |
| |
| |
| export interface BackgroundRepeat { |
| |
| |
| |
| x: BackgroundRepeatKeyword; |
| |
| |
| |
| y: BackgroundRepeatKeyword; |
| } |
| |
| |
| |
| export interface Background { |
| |
| |
| |
| attachment: BackgroundAttachment; |
| |
| |
| |
| clip: BackgroundClip; |
| |
| |
| |
| color: CssColor; |
| |
| |
| |
| image: Image; |
| |
| |
| |
| origin: BackgroundOrigin; |
| |
| |
| |
| position: BackgroundPosition; |
| |
| |
| |
| repeat: BackgroundRepeat; |
| |
| |
| |
| size: BackgroundSize; |
| } |
| |
| |
| |
| export interface BoxShadow { |
| |
| |
| |
| blur: Length; |
| |
| |
| |
| color: CssColor; |
| |
| |
| |
| inset: boolean; |
| |
| |
| |
| spread: Length; |
| |
| |
| |
| xOffset: Length; |
| |
| |
| |
| yOffset: Length; |
| } |
| |
| |
| |
| export interface AspectRatio { |
| |
| |
| |
| auto: boolean; |
| |
| |
| |
| ratio?: Ratio | null; |
| } |
| |
| |
| |
| export interface Overflow { |
| |
| |
| |
| x: OverflowKeyword; |
| |
| |
| |
| y: OverflowKeyword; |
| } |
| |
| |
| |
| export interface InsetBlock { |
| |
| |
| |
| blockEnd: LengthPercentageOrAuto; |
| |
| |
| |
| blockStart: LengthPercentageOrAuto; |
| } |
| |
| |
| |
| export interface InsetInline { |
| |
| |
| |
| inlineEnd: LengthPercentageOrAuto; |
| |
| |
| |
| inlineStart: LengthPercentageOrAuto; |
| } |
| |
| |
| |
| export interface Inset { |
| |
| |
| |
| bottom: LengthPercentageOrAuto; |
| |
| |
| |
| left: LengthPercentageOrAuto; |
| |
| |
| |
| right: LengthPercentageOrAuto; |
| |
| |
| |
| top: LengthPercentageOrAuto; |
| } |
| |
| |
| |
| export interface BorderRadius { |
| |
| |
| |
| bottomLeft: Size2DFor_DimensionPercentageFor_LengthValue; |
| |
| |
| |
| bottomRight: Size2DFor_DimensionPercentageFor_LengthValue; |
| |
| |
| |
| topLeft: Size2DFor_DimensionPercentageFor_LengthValue; |
| |
| |
| |
| topRight: Size2DFor_DimensionPercentageFor_LengthValue; |
| } |
| |
| |
| |
| export interface BorderImageRepeat { |
| |
| |
| |
| horizontal: BorderImageRepeatKeyword; |
| |
| |
| |
| vertical: BorderImageRepeatKeyword; |
| } |
| |
| |
| |
| export interface BorderImageSlice { |
| |
| |
| |
| fill: boolean; |
| |
| |
| |
| offsets: RectFor_NumberOrPercentage; |
| } |
| |
| |
| |
| export interface BorderImage { |
| |
| |
| |
| outset: RectFor_LengthOrNumber; |
| |
| |
| |
| repeat: BorderImageRepeat; |
| |
| |
| |
| slice: BorderImageSlice; |
| |
| |
| |
| source: Image; |
| |
| |
| |
| width: RectFor_BorderImageSideWidth; |
| } |
| |
| |
| |
| export interface BorderColor { |
| |
| |
| |
| bottom: CssColor; |
| |
| |
| |
| left: CssColor; |
| |
| |
| |
| right: CssColor; |
| |
| |
| |
| top: CssColor; |
| } |
| |
| |
| |
| export interface BorderStyle { |
| |
| |
| |
| bottom: LineStyle; |
| |
| |
| |
| left: LineStyle; |
| |
| |
| |
| right: LineStyle; |
| |
| |
| |
| top: LineStyle; |
| } |
| |
| |
| |
| export interface BorderWidth { |
| |
| |
| |
| bottom: BorderSideWidth; |
| |
| |
| |
| left: BorderSideWidth; |
| |
| |
| |
| right: BorderSideWidth; |
| |
| |
| |
| top: BorderSideWidth; |
| } |
| |
| |
| |
| export interface BorderBlockColor { |
| |
| |
| |
| end: CssColor; |
| |
| |
| |
| start: CssColor; |
| } |
| |
| |
| |
| export interface BorderBlockStyle { |
| |
| |
| |
| end: LineStyle; |
| |
| |
| |
| start: LineStyle; |
| } |
| |
| |
| |
| export interface BorderBlockWidth { |
| |
| |
| |
| end: BorderSideWidth; |
| |
| |
| |
| start: BorderSideWidth; |
| } |
| |
| |
| |
| export interface BorderInlineColor { |
| |
| |
| |
| end: CssColor; |
| |
| |
| |
| start: CssColor; |
| } |
| |
| |
| |
| export interface BorderInlineStyle { |
| |
| |
| |
| end: LineStyle; |
| |
| |
| |
| start: LineStyle; |
| } |
| |
| |
| |
| export interface BorderInlineWidth { |
| |
| |
| |
| end: BorderSideWidth; |
| |
| |
| |
| start: BorderSideWidth; |
| } |
| |
| |
| |
| export interface GenericBorderFor_LineStyle { |
| |
| |
| |
| color: CssColor; |
| |
| |
| |
| style: LineStyle; |
| |
| |
| |
| width: BorderSideWidth; |
| } |
| |
| |
| |
| export interface GenericBorderFor_OutlineStyleAnd_11 { |
| |
| |
| |
| color: CssColor; |
| |
| |
| |
| style: OutlineStyle; |
| |
| |
| |
| width: BorderSideWidth; |
| } |
| |
| |
| |
| export interface FlexFlow { |
| |
| |
| |
| direction: FlexDirection; |
| |
| |
| |
| wrap: FlexWrap; |
| } |
| |
| |
| |
| export interface Flex { |
| |
| |
| |
| basis: LengthPercentageOrAuto; |
| |
| |
| |
| grow: number; |
| |
| |
| |
| shrink: number; |
| } |
| |
| |
| |
| export interface PlaceContent { |
| |
| |
| |
| align: AlignContent; |
| |
| |
| |
| justify: JustifyContent; |
| } |
| |
| |
| |
| export interface PlaceSelf { |
| |
| |
| |
| align: AlignSelf; |
| |
| |
| |
| justify: JustifySelf; |
| } |
| |
| |
| |
| export interface PlaceItems { |
| |
| |
| |
| align: AlignItems; |
| |
| |
| |
| justify: JustifyItems; |
| } |
| |
| |
| |
| export interface Gap { |
| |
| |
| |
| column: GapValue; |
| |
| |
| |
| row: GapValue; |
| } |
| |
| |
| |
| |
| |
| export interface TrackRepeat { |
| |
| |
| |
| count: RepeatCount; |
| |
| |
| |
| lineNames: String[][]; |
| |
| |
| |
| trackSizes: TrackSize[]; |
| } |
| export interface GridAutoFlow { |
| |
| |
| |
| dense: boolean; |
| |
| |
| |
| direction: AutoFlowDirection; |
| } |
| |
| |
| |
| |
| |
| export interface GridTemplate { |
| |
| |
| |
| areas: GridTemplateAreas; |
| |
| |
| |
| columns: TrackSizing; |
| |
| |
| |
| rows: TrackSizing; |
| } |
| |
| |
| |
| |
| |
| export interface Grid { |
| |
| |
| |
| areas: GridTemplateAreas; |
| |
| |
| |
| autoColumns: TrackSize[]; |
| |
| |
| |
| autoFlow: GridAutoFlow; |
| |
| |
| |
| autoRows: TrackSize[]; |
| |
| |
| |
| columns: TrackSizing; |
| |
| |
| |
| rows: TrackSizing; |
| } |
| |
| |
| |
| export interface GridRow { |
| |
| |
| |
| end: GridLine; |
| |
| |
| |
| start: GridLine; |
| } |
| |
| |
| |
| export interface GridColumn { |
| |
| |
| |
| end: GridLine; |
| |
| |
| |
| start: GridLine; |
| } |
| |
| |
| |
| export interface GridArea { |
| |
| |
| |
| columnEnd: GridLine; |
| |
| |
| |
| columnStart: GridLine; |
| |
| |
| |
| rowEnd: GridLine; |
| |
| |
| |
| rowStart: GridLine; |
| } |
| |
| |
| |
| export interface MarginBlock { |
| |
| |
| |
| blockEnd: LengthPercentageOrAuto; |
| |
| |
| |
| blockStart: LengthPercentageOrAuto; |
| } |
| |
| |
| |
| export interface MarginInline { |
| |
| |
| |
| inlineEnd: LengthPercentageOrAuto; |
| |
| |
| |
| inlineStart: LengthPercentageOrAuto; |
| } |
| |
| |
| |
| export interface Margin { |
| |
| |
| |
| bottom: LengthPercentageOrAuto; |
| |
| |
| |
| left: LengthPercentageOrAuto; |
| |
| |
| |
| right: LengthPercentageOrAuto; |
| |
| |
| |
| top: LengthPercentageOrAuto; |
| } |
| |
| |
| |
| export interface PaddingBlock { |
| |
| |
| |
| blockEnd: LengthPercentageOrAuto; |
| |
| |
| |
| blockStart: LengthPercentageOrAuto; |
| } |
| |
| |
| |
| export interface PaddingInline { |
| |
| |
| |
| inlineEnd: LengthPercentageOrAuto; |
| |
| |
| |
| inlineStart: LengthPercentageOrAuto; |
| } |
| |
| |
| |
| export interface Padding { |
| |
| |
| |
| bottom: LengthPercentageOrAuto; |
| |
| |
| |
| left: LengthPercentageOrAuto; |
| |
| |
| |
| right: LengthPercentageOrAuto; |
| |
| |
| |
| top: LengthPercentageOrAuto; |
| } |
| |
| |
| |
| export interface ScrollMarginBlock { |
| |
| |
| |
| blockEnd: LengthPercentageOrAuto; |
| |
| |
| |
| blockStart: LengthPercentageOrAuto; |
| } |
| |
| |
| |
| export interface ScrollMarginInline { |
| |
| |
| |
| inlineEnd: LengthPercentageOrAuto; |
| |
| |
| |
| inlineStart: LengthPercentageOrAuto; |
| } |
| |
| |
| |
| export interface ScrollMargin { |
| |
| |
| |
| bottom: LengthPercentageOrAuto; |
| |
| |
| |
| left: LengthPercentageOrAuto; |
| |
| |
| |
| right: LengthPercentageOrAuto; |
| |
| |
| |
| top: LengthPercentageOrAuto; |
| } |
| |
| |
| |
| export interface ScrollPaddingBlock { |
| |
| |
| |
| blockEnd: LengthPercentageOrAuto; |
| |
| |
| |
| blockStart: LengthPercentageOrAuto; |
| } |
| |
| |
| |
| export interface ScrollPaddingInline { |
| |
| |
| |
| inlineEnd: LengthPercentageOrAuto; |
| |
| |
| |
| inlineStart: LengthPercentageOrAuto; |
| } |
| |
| |
| |
| export interface ScrollPadding { |
| |
| |
| |
| bottom: LengthPercentageOrAuto; |
| |
| |
| |
| left: LengthPercentageOrAuto; |
| |
| |
| |
| right: LengthPercentageOrAuto; |
| |
| |
| |
| top: LengthPercentageOrAuto; |
| } |
| |
| |
| |
| export interface Font { |
| |
| |
| |
| family: FontFamily[]; |
| |
| |
| |
| lineHeight: LineHeight; |
| |
| |
| |
| size: FontSize; |
| |
| |
| |
| stretch: FontStretch; |
| |
| |
| |
| style: FontStyle; |
| |
| |
| |
| variantCaps: FontVariantCaps; |
| |
| |
| |
| weight: FontWeight; |
| } |
| |
| |
| |
| export interface Transition { |
| |
| |
| |
| delay: Time; |
| |
| |
| |
| duration: Time; |
| |
| |
| |
| property: PropertyId; |
| |
| |
| |
| timingFunction: EasingFunction; |
| } |
| |
| |
| |
| export interface ScrollTimeline { |
| |
| |
| |
| axis: ScrollAxis; |
| |
| |
| |
| scroller: Scroller; |
| } |
| |
| |
| |
| export interface ViewTimeline { |
| |
| |
| |
| axis: ScrollAxis; |
| |
| |
| |
| inset: Size2DFor_LengthPercentageOrAuto; |
| } |
| |
| |
| |
| export interface AnimationRange { |
| |
| |
| |
| end: AnimationRangeEnd; |
| |
| |
| |
| start: AnimationRangeStart; |
| } |
| |
| |
| |
| export interface Animation { |
| |
| |
| |
| delay: Time; |
| |
| |
| |
| direction: AnimationDirection; |
| |
| |
| |
| duration: Time; |
| |
| |
| |
| fillMode: AnimationFillMode; |
| |
| |
| |
| iterationCount: AnimationIterationCount; |
| |
| |
| |
| name: AnimationName; |
| |
| |
| |
| playState: AnimationPlayState; |
| |
| |
| |
| timeline: AnimationTimeline; |
| |
| |
| |
| timingFunction: EasingFunction; |
| } |
| |
| |
| |
| export interface MatrixForFloat { |
| a: number; |
| b: number; |
| c: number; |
| d: number; |
| e: number; |
| f: number; |
| } |
| |
| |
| |
| export interface Matrix3DForFloat { |
| m11: number; |
| m12: number; |
| m13: number; |
| m14: number; |
| m21: number; |
| m22: number; |
| m23: number; |
| m24: number; |
| m31: number; |
| m32: number; |
| m33: number; |
| m34: number; |
| m41: number; |
| m42: number; |
| m43: number; |
| m44: number; |
| } |
| |
| |
| |
| export interface Rotate { |
| |
| |
| |
| angle: Angle; |
| |
| |
| |
| x: number; |
| |
| |
| |
| y: number; |
| |
| |
| |
| z: number; |
| } |
| |
| |
| |
| export interface TextTransform { |
| |
| |
| |
| case: TextTransformCase; |
| |
| |
| |
| fullSizeKana: boolean; |
| |
| |
| |
| fullWidth: boolean; |
| } |
| |
| |
| |
| export interface TextIndent { |
| |
| |
| |
| eachLine: boolean; |
| |
| |
| |
| hanging: boolean; |
| |
| |
| |
| value: DimensionPercentageFor_LengthValue; |
| } |
| |
| |
| |
| export interface TextDecoration { |
| |
| |
| |
| color: CssColor; |
| |
| |
| |
| line: TextDecorationLine; |
| |
| |
| |
| style: TextDecorationStyle; |
| |
| |
| |
| thickness: TextDecorationThickness; |
| } |
| |
| |
| |
| export interface TextEmphasis { |
| |
| |
| |
| color: CssColor; |
| |
| |
| |
| style: TextEmphasisStyle; |
| } |
| |
| |
| |
| export interface TextEmphasisPosition { |
| |
| |
| |
| horizontal: TextEmphasisPositionHorizontal; |
| |
| |
| |
| vertical: TextEmphasisPositionVertical; |
| } |
| |
| |
| |
| export interface TextShadow { |
| |
| |
| |
| blur: Length; |
| |
| |
| |
| color: CssColor; |
| |
| |
| |
| spread: Length; |
| |
| |
| |
| xOffset: Length; |
| |
| |
| |
| yOffset: Length; |
| } |
| |
| |
| |
| export interface Cursor { |
| |
| |
| |
| images: CursorImage[]; |
| |
| |
| |
| keyword: CursorKeyword; |
| } |
| |
| |
| |
| |
| |
| export interface CursorImage { |
| |
| |
| |
| |
| |
| |
| hotspot?: [number, number] | null; |
| |
| |
| |
| url: Url; |
| } |
| |
| |
| |
| export interface Caret { |
| |
| |
| |
| color: ColorOrAuto; |
| |
| |
| |
| shape: CaretShape; |
| } |
| |
| |
| |
| export interface ListStyle { |
| |
| |
| |
| image: Image; |
| |
| |
| |
| listStyleType: ListStyleType; |
| |
| |
| |
| position: ListStylePosition; |
| } |
| |
| |
| |
| export interface Composes { |
| |
| |
| |
| from?: Specifier | null; |
| |
| |
| |
| loc: Location; |
| |
| |
| |
| names: String[]; |
| } |
| |
| |
| |
| export interface InsetRect { |
| |
| |
| |
| radius: BorderRadius; |
| |
| |
| |
| rect: RectFor_DimensionPercentageFor_LengthValue; |
| } |
| |
| |
| |
| export interface Circle2 { |
| |
| |
| |
| position: Position; |
| |
| |
| |
| radius: ShapeRadius; |
| } |
| |
| |
| |
| export interface Ellipse2 { |
| |
| |
| |
| position: Position; |
| |
| |
| |
| radiusX: ShapeRadius; |
| |
| |
| |
| radiusY: ShapeRadius; |
| } |
| |
| |
| |
| export interface Polygon { |
| |
| |
| |
| fillRule: FillRule; |
| |
| |
| |
| points: Point[]; |
| } |
| |
| |
| |
| |
| |
| export interface Point { |
| |
| |
| |
| x: DimensionPercentageFor_LengthValue; |
| |
| |
| |
| y: DimensionPercentageFor_LengthValue; |
| } |
| |
| |
| |
| export interface Mask { |
| |
| |
| |
| clip: MaskClip; |
| |
| |
| |
| composite: MaskComposite; |
| |
| |
| |
| image: Image; |
| |
| |
| |
| mode: MaskMode; |
| |
| |
| |
| origin: GeometryBox; |
| |
| |
| |
| position: Position; |
| |
| |
| |
| repeat: BackgroundRepeat; |
| |
| |
| |
| size: BackgroundSize; |
| } |
| |
| |
| |
| export interface MaskBorder { |
| |
| |
| |
| mode: MaskBorderMode; |
| |
| |
| |
| outset: RectFor_LengthOrNumber; |
| |
| |
| |
| repeat: BorderImageRepeat; |
| |
| |
| |
| slice: BorderImageSlice; |
| |
| |
| |
| source: Image; |
| |
| |
| |
| width: RectFor_BorderImageSideWidth; |
| } |
| |
| |
| |
| export interface DropShadow { |
| |
| |
| |
| blur: Length; |
| |
| |
| |
| color: CssColor; |
| |
| |
| |
| xOffset: Length; |
| |
| |
| |
| yOffset: Length; |
| } |
| |
| |
| |
| export interface Container { |
| |
| |
| |
| containerType: ContainerType; |
| |
| |
| |
| name: ContainerNameList; |
| } |
| export interface ColorScheme { |
| dark: boolean; |
| light: boolean; |
| only: boolean; |
| } |
| |
| |
| |
| |
| |
| export interface UnparsedProperty { |
| |
| |
| |
| propertyId: PropertyId; |
| |
| |
| |
| value: TokenOrValue[]; |
| } |
| |
| |
| |
| export interface CustomProperty { |
| |
| |
| |
| name: CustomPropertyName; |
| |
| |
| |
| value: TokenOrValue[]; |
| } |
| export interface AttrOperation { |
| caseSensitivity?: ParsedCaseSensitivity & string; |
| operator: AttrSelectorOperator; |
| value: string; |
| } |
| |
| |
| |
| export interface ViewTransitionPartSelector { |
| |
| |
| |
| classes: String[]; |
| |
| |
| |
| name?: ViewTransitionPartName | null; |
| } |
| |
| |
| |
| export interface KeyframesRule<D = Declaration> { |
| |
| |
| |
| keyframes: Keyframe<D>[]; |
| |
| |
| |
| loc: Location2; |
| |
| |
| |
| name: KeyframesName; |
| |
| |
| |
| vendorPrefix: VendorPrefix; |
| } |
| |
| |
| |
| |
| |
| export interface Keyframe<D = Declaration> { |
| |
| |
| |
| declarations: DeclarationBlock<D>; |
| |
| |
| |
| selectors: KeyframeSelector[]; |
| } |
| |
| |
| |
| export interface TimelineRangePercentage { |
| |
| |
| |
| name: TimelineRangeName; |
| |
| |
| |
| percentage: number; |
| } |
| |
| |
| |
| export interface FontFaceRule { |
| |
| |
| |
| loc: Location2; |
| |
| |
| |
| properties: FontFaceProperty[]; |
| } |
| |
| |
| |
| export interface UrlSource { |
| |
| |
| |
| format?: FontFormat | null; |
| |
| |
| |
| tech: FontTechnology[]; |
| |
| |
| |
| url: Url; |
| } |
| |
| |
| |
| |
| |
| export interface UnicodeRange { |
| |
| |
| |
| end: number; |
| |
| |
| |
| start: number; |
| } |
| |
| |
| |
| export interface FontPaletteValuesRule { |
| |
| |
| |
| loc: Location2; |
| |
| |
| |
| name: String; |
| |
| |
| |
| properties: FontPaletteValuesProperty[]; |
| } |
| |
| |
| |
| export interface OverrideColors { |
| |
| |
| |
| color: CssColor; |
| |
| |
| |
| index: number; |
| } |
| |
| |
| |
| export interface FontFeatureValuesRule { |
| |
| |
| |
| loc: Location2; |
| |
| |
| |
| name: String[]; |
| |
| |
| |
| rules: { |
| [k: string]: FontFeatureSubrule; |
| }; |
| } |
| |
| |
| |
| export interface FontFeatureSubrule { |
| |
| |
| |
| declarations: { |
| [k: string]: number[]; |
| }; |
| |
| |
| |
| loc: Location2; |
| |
| |
| |
| name: FontFeatureSubruleType; |
| } |
| |
| |
| |
| export interface PageRule<D = Declaration> { |
| |
| |
| |
| declarations: DeclarationBlock<D>; |
| |
| |
| |
| loc: Location2; |
| |
| |
| |
| rules: PageMarginRule<D>[]; |
| |
| |
| |
| selectors: PageSelector[]; |
| } |
| |
| |
| |
| export interface PageMarginRule<D = Declaration> { |
| |
| |
| |
| declarations: DeclarationBlock<D>; |
| |
| |
| |
| loc: Location2; |
| |
| |
| |
| marginBox: PageMarginBox; |
| } |
| |
| |
| |
| |
| |
| export interface PageSelector { |
| |
| |
| |
| name?: String | null; |
| |
| |
| |
| pseudoClasses: PagePseudoClass[]; |
| } |
| |
| |
| |
| export interface SupportsRule<D = Declaration, M = MediaQuery> { |
| |
| |
| |
| condition: SupportsCondition; |
| |
| |
| |
| loc: Location2; |
| |
| |
| |
| rules: Rule<D, M>[]; |
| } |
| |
| |
| |
| export interface CounterStyleRule<D = Declaration> { |
| |
| |
| |
| declarations: DeclarationBlock<D>; |
| |
| |
| |
| loc: Location2; |
| |
| |
| |
| name: String; |
| } |
| |
| |
| |
| export interface NamespaceRule { |
| |
| |
| |
| loc: Location2; |
| |
| |
| |
| prefix?: String | null; |
| |
| |
| |
| url: String; |
| } |
| |
| |
| |
| |
| |
| export interface MozDocumentRule<D = Declaration, M = MediaQuery> { |
| |
| |
| |
| loc: Location2; |
| |
| |
| |
| rules: Rule<D, M>[]; |
| } |
| |
| |
| |
| export interface NestingRule<D = Declaration, M = MediaQuery> { |
| |
| |
| |
| loc: Location2; |
| |
| |
| |
| style: StyleRule<D, M>; |
| } |
| |
| |
| |
| export interface NestedDeclarationsRule<D = Declaration> { |
| |
| |
| |
| declarations: DeclarationBlock<D>; |
| |
| |
| |
| loc: Location2; |
| } |
| |
| |
| |
| export interface ViewportRule<D = Declaration> { |
| |
| |
| |
| declarations: DeclarationBlock<D>; |
| |
| |
| |
| loc: Location2; |
| |
| |
| |
| vendorPrefix: VendorPrefix; |
| } |
| |
| |
| |
| export interface CustomMediaRule<M = MediaQuery> { |
| |
| |
| |
| loc: Location2; |
| |
| |
| |
| name: String; |
| |
| |
| |
| query: MediaList<M>; |
| } |
| |
| |
| |
| |
| |
| export interface LayerStatementRule { |
| |
| |
| |
| loc: Location2; |
| |
| |
| |
| names: String[][]; |
| } |
| |
| |
| |
| export interface LayerBlockRule<D = Declaration, M = MediaQuery> { |
| |
| |
| |
| loc: Location2; |
| |
| |
| |
| name?: String[] | null; |
| |
| |
| |
| rules: Rule<D, M>[]; |
| } |
| |
| |
| |
| export interface PropertyRule { |
| |
| |
| |
| inherits: boolean; |
| |
| |
| |
| initialValue?: ParsedComponent | null; |
| |
| |
| |
| loc: Location2; |
| |
| |
| |
| name: String; |
| |
| |
| |
| syntax: SyntaxString; |
| } |
| |
| |
| |
| |
| |
| export interface SyntaxComponent { |
| |
| |
| |
| kind: SyntaxComponentKind; |
| |
| |
| |
| multiplier: Multiplier; |
| } |
| |
| |
| |
| export interface ContainerRule<D = Declaration, M = MediaQuery> { |
| |
| |
| |
| condition: ContainerCondition<D>; |
| |
| |
| |
| loc: Location2; |
| |
| |
| |
| name?: String | null; |
| |
| |
| |
| rules: Rule<D, M>[]; |
| } |
| |
| |
| |
| |
| |
| export interface ScopeRule<D = Declaration, M = MediaQuery> { |
| |
| |
| |
| loc: Location2; |
| |
| |
| |
| rules: Rule<D, M>[]; |
| |
| |
| |
| scopeEnd?: SelectorList | null; |
| |
| |
| |
| scopeStart?: SelectorList | null; |
| } |
| |
| |
| |
| export interface StartingStyleRule<D = Declaration, M = MediaQuery> { |
| |
| |
| |
| loc: Location2; |
| |
| |
| |
| rules: Rule<D, M>[]; |
| } |
| |
| |
| |
| export interface ViewTransitionRule { |
| |
| |
| |
| loc: Location2; |
| |
| |
| |
| properties: ViewTransitionProperty[]; |
| } |
| |
| |
| |
| export interface UnknownAtRule { |
| |
| |
| |
| block?: TokenOrValue[] | null; |
| |
| |
| |
| loc: Location2; |
| |
| |
| |
| name: String; |
| |
| |
| |
| prelude: TokenOrValue[]; |
| } |
|
|