@markuplint/types
Advanced tools
Comparing version 3.11.0 to 3.12.0
import type { CustomSyntaxCheck, UnmatchedResult } from './types'; | ||
export declare function checkMultiTypes(value: string, checks: readonly CustomSyntaxCheck[]): import("./types").MatchedResult | UnmatchedResult; | ||
export declare function checkMultiTypes( | ||
value: string, | ||
checks: readonly CustomSyntaxCheck[], | ||
): UnmatchedResult | import('./types').MatchedResult; |
@@ -756,3 +756,3 @@ "use strict"; | ||
def: { | ||
'view-box': '<min-x> [,]? <min-y> [,]? <width> [,]? <height>', | ||
'view-box': '<min-x> [,]? <min-y> [,]? <width> [,]? <height>', // As '[<min-x>,? <min-y>,? <width>,? <height>]', | ||
'min-x': '<number>', | ||
@@ -759,0 +759,0 @@ 'min-y': '<number>', |
type NullableString = string | null | undefined; | ||
export declare function getCandidate(value: NullableString, ...candidates: readonly (NullableString | readonly NullableString[])[]): string | undefined; | ||
export declare function getCandidate( | ||
value: NullableString, | ||
...candidates: readonly (NullableString | readonly NullableString[])[] | ||
): string | undefined; | ||
export {}; |
@@ -1,9 +0,22 @@ | ||
import type { FormattedPrimitiveTypeCheck, MatchedResult, UnmatchedResult, UnmatchedResultOptions, UnmatchedResultReason } from './types'; | ||
export declare function matches(checker: FormattedPrimitiveTypeCheck, options?: UnmatchedResultOptions & { | ||
readonly ref?: string; | ||
readonly reason?: UnmatchedResultReason; | ||
}): (value: string) => MatchedResult | UnmatchedResult; | ||
import type { | ||
FormattedPrimitiveTypeCheck, | ||
MatchedResult, | ||
UnmatchedResult, | ||
UnmatchedResultOptions, | ||
UnmatchedResultReason, | ||
} from './types'; | ||
export declare function matches( | ||
checker: FormattedPrimitiveTypeCheck, | ||
options?: UnmatchedResultOptions & { | ||
readonly ref?: string; | ||
readonly reason?: UnmatchedResultReason; | ||
}, | ||
): (value: string) => UnmatchedResult | MatchedResult; | ||
export declare function matched(): MatchedResult; | ||
export declare function unmatched(value: string, reason?: UnmatchedResultReason, options?: UnmatchedResultOptions & { | ||
readonly ref?: string; | ||
}): UnmatchedResult; | ||
export declare function unmatched( | ||
value: string, | ||
reason?: UnmatchedResultReason, | ||
options?: UnmatchedResultOptions & { | ||
readonly ref?: string; | ||
}, | ||
): UnmatchedResult; |
@@ -7,2 +7,6 @@ /** | ||
*/ | ||
export declare function isQuantity(value: string, units: readonly string[], numberType?: 'int' | 'uint' | 'float'): boolean; | ||
export declare function isQuantity( | ||
value: string, | ||
units: readonly string[], | ||
numberType?: 'int' | 'uint' | 'float', | ||
): boolean; |
@@ -6,4 +6,7 @@ /** | ||
*/ | ||
export declare function isUint(value: string, options?: { | ||
readonly gt?: number; | ||
}): boolean; | ||
export declare function isUint( | ||
value: string, | ||
options?: { | ||
readonly gt?: number; | ||
}, | ||
): boolean; |
@@ -7,4 +7,4 @@ /** | ||
export declare function splitUnit(value: string): { | ||
num: string; | ||
unit: string; | ||
num: string; | ||
unit: string; | ||
}; |
@@ -5,60 +5,71 @@ import type { TokenValue } from './types'; | ||
import { Token } from './token'; | ||
type TokenCollectionOptions = Partial<Omit<List, 'token'> & { | ||
specificSeparator: string | string[]; | ||
}>; | ||
type TokenCollectionOptions = Partial< | ||
Omit<List, 'token'> & { | ||
specificSeparator: string | string[]; | ||
} | ||
>; | ||
export type TokenEachCheck = (head: Readonly<Token> | null, tail: TokenCollection) => Result | void; | ||
export declare class TokenCollection extends Array<Token> { | ||
static fromPatterns(value: Readonly<Token> | string, patterns: readonly Readonly<RegExp>[], typeOptions?: Omit<TokenCollectionOptions, 'specificSeparator'> & { | ||
repeat?: boolean; | ||
}): TokenCollection; | ||
static get [Symbol.species](): ArrayConstructor; | ||
readonly allowEmpty: NonNullable<List['allowEmpty']>; | ||
readonly caseInsensitive: NonNullable<List['caseInsensitive']>; | ||
readonly disallowToSurroundBySpaces: NonNullable<List['disallowToSurroundBySpaces']>; | ||
readonly number: List['number']; | ||
readonly ordered: NonNullable<List['ordered']>; | ||
readonly separator: NonNullable<List['separator']>; | ||
readonly unique: NonNullable<List['unique']>; | ||
constructor(value?: string, typeOptions?: TokenCollectionOptions); | ||
constructor(value?: number); | ||
get value(): string; | ||
check(options?: { | ||
expects?: Expect[]; | ||
ref?: string; | ||
cache?: boolean; | ||
}): import("..").MatchedResult | UnmatchedResult; | ||
chunk(split: number): TokenCollection[]; | ||
compareTokens(callback: (prev: Readonly<Token>, current: Readonly<Token>) => Readonly<Token> | null | void): Readonly<Token> | null | undefined; | ||
divide(position: number): readonly [TokenCollection, TokenCollection]; | ||
eachCheck(...callbacks: readonly TokenEachCheck[]): Result; | ||
filter(callback: Parameters<Array<Token>['filter']>[0]): TokenCollection; | ||
getConsecutiveToken(tokenType: number): Readonly<Token> | null; | ||
getDuplicated(): Token | null; | ||
getIdentTokens(): TokenCollection; | ||
/** | ||
* | ||
* @param value The token value or the token type or its list | ||
*/ | ||
has(value: TokenValue): boolean; | ||
headAndTail(): { | ||
head: Token | null; | ||
tail: TokenCollection; | ||
}; | ||
/** | ||
* | ||
* @param value The token value or the token type or its list | ||
*/ | ||
search(value: TokenValue): Token | null; | ||
takeTurns(tokenNumbers: ReadonlyArray<number>, lastTokenNumber?: number): { | ||
unexpectedLastToken: boolean; | ||
expectedTokenNumber: number | undefined; | ||
token: Token; | ||
} | null; | ||
toJSON(): { | ||
type: number; | ||
value: string; | ||
offset: number; | ||
}[]; | ||
private static _new; | ||
static fromPatterns( | ||
value: Readonly<Token> | string, | ||
patterns: readonly Readonly<RegExp>[], | ||
typeOptions?: Omit<TokenCollectionOptions, 'specificSeparator'> & { | ||
repeat?: boolean; | ||
}, | ||
): TokenCollection; | ||
static get [Symbol.species](): ArrayConstructor; | ||
readonly allowEmpty: NonNullable<List['allowEmpty']>; | ||
readonly caseInsensitive: NonNullable<List['caseInsensitive']>; | ||
readonly disallowToSurroundBySpaces: NonNullable<List['disallowToSurroundBySpaces']>; | ||
readonly number: List['number']; | ||
readonly ordered: NonNullable<List['ordered']>; | ||
readonly separator: NonNullable<List['separator']>; | ||
readonly unique: NonNullable<List['unique']>; | ||
constructor(value?: string, typeOptions?: TokenCollectionOptions); | ||
constructor(value?: number); | ||
get value(): string; | ||
check(options?: { | ||
expects?: Expect[]; | ||
ref?: string; | ||
cache?: boolean; | ||
}): UnmatchedResult | import('..').MatchedResult; | ||
chunk(split: number): TokenCollection[]; | ||
compareTokens( | ||
callback: (prev: Readonly<Token>, current: Readonly<Token>) => Readonly<Token> | null | void, | ||
): Readonly<Token> | null | undefined; | ||
divide(position: number): readonly [TokenCollection, TokenCollection]; | ||
eachCheck(...callbacks: readonly TokenEachCheck[]): Result; | ||
filter(callback: Parameters<Array<Token>['filter']>[0]): TokenCollection; | ||
getConsecutiveToken(tokenType: number): Readonly<Token> | null; | ||
getDuplicated(): Token | null; | ||
getIdentTokens(): TokenCollection; | ||
/** | ||
* | ||
* @param value The token value or the token type or its list | ||
*/ | ||
has(value: TokenValue): boolean; | ||
headAndTail(): { | ||
head: Token | null; | ||
tail: TokenCollection; | ||
}; | ||
/** | ||
* | ||
* @param value The token value or the token type or its list | ||
*/ | ||
search(value: TokenValue): Token | null; | ||
takeTurns( | ||
tokenNumbers: ReadonlyArray<number>, | ||
lastTokenNumber?: number, | ||
): { | ||
unexpectedLastToken: boolean; | ||
expectedTokenNumber: number | undefined; | ||
token: Token; | ||
} | null; | ||
toJSON(): { | ||
type: number; | ||
value: string; | ||
offset: number; | ||
}[]; | ||
private static _new; | ||
} | ||
export {}; |
import type { TokenValue } from './types'; | ||
import type { UnmatchedResult, UnmatchedResultOptions, UnmatchedResultReason } from '../types'; | ||
export declare class Token { | ||
/** | ||
* @see https://github.com/csstree/csstree/blob/master/lib/tokenizer/types.js | ||
*/ | ||
static readonly Comma = 18; | ||
static readonly Ident = 1; | ||
static readonly WhiteSpace = 13; | ||
/** | ||
* ASCII whitespace is | ||
* - U+0009 TAB | ||
* - U+000A LF | ||
* - U+000C FF | ||
* - U+000D CR | ||
* - U+0020 SPACE. | ||
* | ||
* @see https://infra.spec.whatwg.org/#ascii-whitespace | ||
*/ | ||
static readonly whitespace: ReadonlyArray<string>; | ||
static getCol(value: string, offset: number): number; | ||
static getLine(value: string, offset: number): number; | ||
static getType(value: string, separators?: readonly string[]): 1 | 13 | 18; | ||
static shiftLocation(token: Readonly<Token>, offset: number): { | ||
offset: number; | ||
line: number; | ||
column: number; | ||
}; | ||
readonly offset: number; | ||
readonly originalValue: string; | ||
readonly type: number; | ||
readonly value: string; | ||
constructor(value: string, offset: number, originalValue: string, separators?: readonly string[]); | ||
get length(): number; | ||
clone(): Token; | ||
/** | ||
* | ||
* @param value The token value or the token type or its list | ||
*/ | ||
includes(value: TokenValue, caseInsensitive?: boolean): boolean; | ||
/** | ||
* | ||
* @param value The token value or the token type or its list | ||
*/ | ||
match(value: TokenValue, caseInsensitive?: boolean): boolean; | ||
toJSON(): { | ||
type: number; | ||
value: string; | ||
offset: number; | ||
}; | ||
toNumber(): number; | ||
unmatched(options?: UnmatchedResultOptions & { | ||
readonly ref?: string; | ||
readonly reason?: UnmatchedResultReason; | ||
}): UnmatchedResult; | ||
/** | ||
* @see https://github.com/csstree/csstree/blob/master/lib/tokenizer/types.js | ||
*/ | ||
static readonly Comma = 18; | ||
static readonly Ident = 1; | ||
static readonly WhiteSpace = 13; | ||
/** | ||
* ASCII whitespace is | ||
* - U+0009 TAB | ||
* - U+000A LF | ||
* - U+000C FF | ||
* - U+000D CR | ||
* - U+0020 SPACE. | ||
* | ||
* @see https://infra.spec.whatwg.org/#ascii-whitespace | ||
*/ | ||
static readonly whitespace: ReadonlyArray<string>; | ||
static getCol(value: string, offset: number): number; | ||
static getLine(value: string, offset: number): number; | ||
static getType(value: string, separators?: readonly string[]): 1 | 13 | 18; | ||
static shiftLocation( | ||
token: Readonly<Token>, | ||
offset: number, | ||
): { | ||
offset: number; | ||
line: number; | ||
column: number; | ||
}; | ||
readonly offset: number; | ||
readonly originalValue: string; | ||
readonly type: number; | ||
readonly value: string; | ||
constructor(value: string, offset: number, originalValue: string, separators?: readonly string[]); | ||
get length(): number; | ||
clone(): Token; | ||
/** | ||
* | ||
* @param value The token value or the token type or its list | ||
*/ | ||
includes(value: TokenValue, caseInsensitive?: boolean): boolean; | ||
/** | ||
* | ||
* @param value The token value or the token type or its list | ||
*/ | ||
match(value: TokenValue, caseInsensitive?: boolean): boolean; | ||
toJSON(): { | ||
type: number; | ||
value: string; | ||
offset: number; | ||
}; | ||
toNumber(): number; | ||
unmatched( | ||
options?: UnmatchedResultOptions & { | ||
readonly ref?: string; | ||
readonly reason?: UnmatchedResultReason; | ||
}, | ||
): UnmatchedResult; | ||
} |
@@ -5,40 +5,60 @@ import type { cssSyntaxMatch } from './css-syntax'; | ||
export type UnmatchedResult = { | ||
readonly matched: false; | ||
readonly ref: string | null; | ||
readonly raw: string; | ||
readonly length: number; | ||
readonly offset: number; | ||
readonly line: number; | ||
readonly column: number; | ||
readonly reason: UnmatchedResultReason; | ||
readonly passCount?: number; | ||
readonly matched: false; | ||
readonly ref: string | null; | ||
readonly raw: string; | ||
readonly length: number; | ||
readonly offset: number; | ||
readonly line: number; | ||
readonly column: number; | ||
readonly reason: UnmatchedResultReason; | ||
readonly passCount?: number; | ||
} & UnmatchedResultOptions; | ||
export type UnmatchedResultOptions = { | ||
readonly partName?: string; | ||
readonly expects?: readonly Expect[]; | ||
readonly extra?: Expect; | ||
readonly candidate?: string; | ||
readonly fallbackTo?: string; | ||
readonly partName?: string; | ||
readonly expects?: readonly Expect[]; | ||
readonly extra?: Expect; | ||
readonly candidate?: string; | ||
readonly fallbackTo?: string; | ||
}; | ||
export type UnmatchedResultReason = 'syntax-error' | 'typo' | 'missing-token' | 'missing-comma' | 'unexpected-token' | 'unexpected-space' | 'unexpected-newline' | 'unexpected-comma' | 'empty-token' | 'out-of-range' | 'doesnt-exist-in-enum' | 'duplicated' | 'illegal-combination' | 'illegal-order' | 'extra-token' | 'must-be-percent-encoded' | 'must-be-serialized' | { | ||
readonly type: 'out-of-range'; | ||
readonly gt?: number; | ||
readonly gte?: number; | ||
readonly lt?: number; | ||
readonly lte?: number; | ||
} | { | ||
readonly type: 'out-of-range-length-char'; | ||
readonly gte: number; | ||
readonly lte?: number; | ||
} | { | ||
readonly type: 'out-of-range-length-digit'; | ||
readonly gte: number; | ||
readonly lte?: number; | ||
}; | ||
export type UnmatchedResultReason = | ||
| 'syntax-error' | ||
| 'typo' | ||
| 'missing-token' | ||
| 'missing-comma' | ||
| 'unexpected-token' | ||
| 'unexpected-space' | ||
| 'unexpected-newline' | ||
| 'unexpected-comma' | ||
| 'empty-token' | ||
| 'out-of-range' | ||
| 'doesnt-exist-in-enum' | ||
| 'duplicated' | ||
| 'illegal-combination' | ||
| 'illegal-order' | ||
| 'extra-token' | ||
| 'must-be-percent-encoded' | ||
| 'must-be-serialized' | ||
| { | ||
readonly type: 'out-of-range'; | ||
readonly gt?: number; | ||
readonly gte?: number; | ||
readonly lt?: number; | ||
readonly lte?: number; | ||
} | ||
| { | ||
readonly type: 'out-of-range-length-char'; | ||
readonly gte: number; | ||
readonly lte?: number; | ||
} | ||
| { | ||
readonly type: 'out-of-range-length-digit'; | ||
readonly gte: number; | ||
readonly lte?: number; | ||
}; | ||
export type MatchedResult = { | ||
readonly matched: true; | ||
readonly matched: true; | ||
}; | ||
export type Expect = { | ||
readonly type: 'const' | 'format' | 'syntax' | 'regexp' | 'common'; | ||
readonly value: string; | ||
readonly type: 'const' | 'format' | 'syntax' | 'regexp' | 'common'; | ||
readonly value: string; | ||
}; | ||
@@ -49,5 +69,5 @@ export type FormattedPrimitiveTypeCheck = (value: string) => boolean; | ||
export type CustomSyntax = { | ||
readonly ref: string; | ||
readonly expects?: readonly Expect[]; | ||
readonly is: CustomSyntaxCheck; | ||
readonly ref: string; | ||
readonly expects?: readonly Expect[]; | ||
readonly is: CustomSyntaxCheck; | ||
}; | ||
@@ -57,26 +77,30 @@ export type CustomSyntaxCheck = (value: string) => Result; | ||
export type CustomCssSyntax = { | ||
readonly ref: string; | ||
readonly caseSensitive?: boolean; | ||
readonly expects?: readonly Expect[]; | ||
readonly syntax: { | ||
readonly apply: `<${string}>`; | ||
readonly def: Readonly<Record<string, string | CssSyntaxTokenizer>>; | ||
/** | ||
* @deprecated | ||
*/ | ||
readonly ebnf?: Readonly<Record<string, string | readonly string[]>>; | ||
/** | ||
* @deprecated | ||
*/ | ||
readonly properties?: Readonly<Record<string, string>>; | ||
}; | ||
readonly ref: string; | ||
readonly caseSensitive?: boolean; | ||
readonly expects?: readonly Expect[]; | ||
readonly syntax: { | ||
readonly apply: `<${string}>`; | ||
readonly def: Readonly<Record<string, string | CssSyntaxTokenizer>>; | ||
/** | ||
* @deprecated | ||
*/ | ||
readonly ebnf?: Readonly<Record<string, string | readonly string[]>>; | ||
/** | ||
* @deprecated | ||
*/ | ||
readonly properties?: Readonly<Record<string, string>>; | ||
}; | ||
}; | ||
export type CSSSyntaxToken = { | ||
readonly type: number; | ||
readonly value: string; | ||
readonly index: number; | ||
readonly balance: number; | ||
readonly node?: any; | ||
readonly type: number; | ||
readonly value: string; | ||
readonly index: number; | ||
readonly balance: number; | ||
readonly node?: any; | ||
}; | ||
export type CssSyntaxTokenizer = (token: Readonly<CSSSyntaxToken> | null, getNextToken: GetNextToken, match: typeof cssSyntaxMatch) => number; | ||
export type CssSyntaxTokenizer = ( | ||
token: Readonly<CSSSyntaxToken> | null, | ||
getNextToken: GetNextToken, | ||
match: typeof cssSyntaxMatch, | ||
) => number; | ||
export type GetNextToken = (length: number) => CSSSyntaxToken | null; |
@@ -8,7 +8,1061 @@ /** | ||
export type KeywordDefinedType = CssSyntax | ExtendedType | HtmlAttrRequirement; | ||
export type CssSyntax = "<'--*'>" | "<'-moz-appearance'>" | "<'-moz-background-clip'>" | "<'-moz-binding'>" | "<'-moz-border-bottom-colors'>" | "<'-moz-border-left-colors'>" | "<'-moz-border-radius-bottomleft'>" | "<'-moz-border-radius-bottomright'>" | "<'-moz-border-radius-topleft'>" | "<'-moz-border-radius-topright'>" | "<'-moz-border-right-colors'>" | "<'-moz-border-top-colors'>" | "<'-moz-context-properties'>" | "<'-moz-control-character-visibility'>" | "<'-moz-float-edge'>" | "<'-moz-force-broken-image-icon'>" | "<'-moz-image-region'>" | "<'-moz-orient'>" | "<'-moz-osx-font-smoothing'>" | "<'-moz-outline-radius'>" | "<'-moz-outline-radius-bottomleft'>" | "<'-moz-outline-radius-bottomright'>" | "<'-moz-outline-radius-topleft'>" | "<'-moz-outline-radius-topright'>" | "<'-moz-stack-sizing'>" | "<'-moz-text-blink'>" | "<'-moz-user-focus'>" | "<'-moz-user-input'>" | "<'-moz-user-modify'>" | "<'-moz-user-select'>" | "<'-moz-window-dragging'>" | "<'-moz-window-shadow'>" | "<'-ms-accelerator'>" | "<'-ms-block-progression'>" | "<'-ms-content-zoom-chaining'>" | "<'-ms-content-zoom-limit'>" | "<'-ms-content-zoom-limit-max'>" | "<'-ms-content-zoom-limit-min'>" | "<'-ms-content-zoom-snap'>" | "<'-ms-content-zoom-snap-points'>" | "<'-ms-content-zoom-snap-type'>" | "<'-ms-content-zooming'>" | "<'-ms-filter'>" | "<'-ms-flex-align'>" | "<'-ms-flex-item-align'>" | "<'-ms-flex-line-pack'>" | "<'-ms-flex-negative'>" | "<'-ms-flex-order'>" | "<'-ms-flex-pack'>" | "<'-ms-flex-positive'>" | "<'-ms-flex-preferred-size'>" | "<'-ms-flow-from'>" | "<'-ms-flow-into'>" | "<'-ms-grid-column-align'>" | "<'-ms-grid-columns'>" | "<'-ms-grid-row-align'>" | "<'-ms-grid-rows'>" | "<'-ms-high-contrast-adjust'>" | "<'-ms-hyphenate-limit-chars'>" | "<'-ms-hyphenate-limit-last'>" | "<'-ms-hyphenate-limit-lines'>" | "<'-ms-hyphenate-limit-zone'>" | "<'-ms-ime-align'>" | "<'-ms-interpolation-mode'>" | "<'-ms-overflow-style'>" | "<'-ms-scroll-chaining'>" | "<'-ms-scroll-limit'>" | "<'-ms-scroll-limit-x-max'>" | "<'-ms-scroll-limit-x-min'>" | "<'-ms-scroll-limit-y-max'>" | "<'-ms-scroll-limit-y-min'>" | "<'-ms-scroll-rails'>" | "<'-ms-scroll-snap-points-x'>" | "<'-ms-scroll-snap-points-y'>" | "<'-ms-scroll-snap-type'>" | "<'-ms-scroll-snap-x'>" | "<'-ms-scroll-snap-y'>" | "<'-ms-scroll-translation'>" | "<'-ms-scrollbar-3dlight-color'>" | "<'-ms-scrollbar-arrow-color'>" | "<'-ms-scrollbar-base-color'>" | "<'-ms-scrollbar-darkshadow-color'>" | "<'-ms-scrollbar-face-color'>" | "<'-ms-scrollbar-highlight-color'>" | "<'-ms-scrollbar-shadow-color'>" | "<'-ms-scrollbar-track-color'>" | "<'-ms-text-autospace'>" | "<'-ms-touch-select'>" | "<'-ms-user-select'>" | "<'-ms-wrap-flow'>" | "<'-ms-wrap-margin'>" | "<'-ms-wrap-through'>" | "<'-webkit-appearance'>" | "<'-webkit-background-clip'>" | "<'-webkit-border-before'>" | "<'-webkit-border-before-color'>" | "<'-webkit-border-before-style'>" | "<'-webkit-border-before-width'>" | "<'-webkit-box-reflect'>" | "<'-webkit-column-break-after'>" | "<'-webkit-column-break-before'>" | "<'-webkit-column-break-inside'>" | "<'-webkit-font-smoothing'>" | "<'-webkit-line-clamp'>" | "<'-webkit-mask'>" | "<'-webkit-mask-attachment'>" | "<'-webkit-mask-box-image'>" | "<'-webkit-mask-clip'>" | "<'-webkit-mask-composite'>" | "<'-webkit-mask-image'>" | "<'-webkit-mask-origin'>" | "<'-webkit-mask-position'>" | "<'-webkit-mask-position-x'>" | "<'-webkit-mask-position-y'>" | "<'-webkit-mask-repeat'>" | "<'-webkit-mask-repeat-x'>" | "<'-webkit-mask-repeat-y'>" | "<'-webkit-mask-size'>" | "<'-webkit-overflow-scrolling'>" | "<'-webkit-print-color-adjust'>" | "<'-webkit-tap-highlight-color'>" | "<'-webkit-text-fill-color'>" | "<'-webkit-text-security'>" | "<'-webkit-text-stroke'>" | "<'-webkit-text-stroke-color'>" | "<'-webkit-text-stroke-width'>" | "<'-webkit-touch-callout'>" | "<'-webkit-user-drag'>" | "<'-webkit-user-modify'>" | "<'-webkit-user-select'>" | "<'accent-color'>" | "<'align-content'>" | "<'align-items'>" | "<'align-self'>" | "<'align-tracks'>" | "<'alignment-baseline'>" | "<'all'>" | "<'animation'>" | "<'animation-composition'>" | "<'animation-delay'>" | "<'animation-direction'>" | "<'animation-duration'>" | "<'animation-fill-mode'>" | "<'animation-iteration-count'>" | "<'animation-name'>" | "<'animation-play-state'>" | "<'animation-timeline'>" | "<'animation-timing-function'>" | "<'appearance'>" | "<'aspect-ratio'>" | "<'azimuth'>" | "<'backdrop-filter'>" | "<'backface-visibility'>" | "<'background'>" | "<'background-attachment'>" | "<'background-blend-mode'>" | "<'background-clip'>" | "<'background-color'>" | "<'background-image'>" | "<'background-origin'>" | "<'background-position'>" | "<'background-position-x'>" | "<'background-position-y'>" | "<'background-repeat'>" | "<'background-size'>" | "<'baseline-shift'>" | "<'behavior'>" | "<'block-overflow'>" | "<'block-size'>" | "<'border'>" | "<'border-block'>" | "<'border-block-color'>" | "<'border-block-end'>" | "<'border-block-end-color'>" | "<'border-block-end-style'>" | "<'border-block-end-width'>" | "<'border-block-start'>" | "<'border-block-start-color'>" | "<'border-block-start-style'>" | "<'border-block-start-width'>" | "<'border-block-style'>" | "<'border-block-width'>" | "<'border-bottom'>" | "<'border-bottom-color'>" | "<'border-bottom-left-radius'>" | "<'border-bottom-right-radius'>" | "<'border-bottom-style'>" | "<'border-bottom-width'>" | "<'border-collapse'>" | "<'border-color'>" | "<'border-end-end-radius'>" | "<'border-end-start-radius'>" | "<'border-image'>" | "<'border-image-outset'>" | "<'border-image-repeat'>" | "<'border-image-slice'>" | "<'border-image-source'>" | "<'border-image-width'>" | "<'border-inline'>" | "<'border-inline-color'>" | "<'border-inline-end'>" | "<'border-inline-end-color'>" | "<'border-inline-end-style'>" | "<'border-inline-end-width'>" | "<'border-inline-start'>" | "<'border-inline-start-color'>" | "<'border-inline-start-style'>" | "<'border-inline-start-width'>" | "<'border-inline-style'>" | "<'border-inline-width'>" | "<'border-left'>" | "<'border-left-color'>" | "<'border-left-style'>" | "<'border-left-width'>" | "<'border-radius'>" | "<'border-right'>" | "<'border-right-color'>" | "<'border-right-style'>" | "<'border-right-width'>" | "<'border-spacing'>" | "<'border-start-end-radius'>" | "<'border-start-start-radius'>" | "<'border-style'>" | "<'border-top'>" | "<'border-top-color'>" | "<'border-top-left-radius'>" | "<'border-top-right-radius'>" | "<'border-top-style'>" | "<'border-top-width'>" | "<'border-width'>" | "<'bottom'>" | "<'box-align'>" | "<'box-decoration-break'>" | "<'box-direction'>" | "<'box-flex'>" | "<'box-flex-group'>" | "<'box-lines'>" | "<'box-ordinal-group'>" | "<'box-orient'>" | "<'box-pack'>" | "<'box-shadow'>" | "<'box-sizing'>" | "<'break-after'>" | "<'break-before'>" | "<'break-inside'>" | "<'caption-side'>" | "<'caret'>" | "<'caret-color'>" | "<'caret-shape'>" | "<'clear'>" | "<'clip'>" | "<'clip-path'>" | "<'clip-rule'>" | "<'color'>" | "<'color-scheme'>" | "<'column-count'>" | "<'column-fill'>" | "<'column-gap'>" | "<'column-rule'>" | "<'column-rule-color'>" | "<'column-rule-style'>" | "<'column-rule-width'>" | "<'column-span'>" | "<'column-width'>" | "<'columns'>" | "<'contain'>" | "<'contain-intrinsic-block-size'>" | "<'contain-intrinsic-height'>" | "<'contain-intrinsic-inline-size'>" | "<'contain-intrinsic-size'>" | "<'contain-intrinsic-width'>" | "<'content'>" | "<'content-visibility'>" | "<'counter-increment'>" | "<'counter-reset'>" | "<'counter-set'>" | "<'cue'>" | "<'cue-after'>" | "<'cue-before'>" | "<'cursor'>" | "<'direction'>" | "<'display'>" | "<'dominant-baseline'>" | "<'empty-cells'>" | "<'fill'>" | "<'fill-opacity'>" | "<'fill-rule'>" | "<'filter'>" | "<'flex'>" | "<'flex-basis'>" | "<'flex-direction'>" | "<'flex-flow'>" | "<'flex-grow'>" | "<'flex-shrink'>" | "<'flex-wrap'>" | "<'float'>" | "<'font'>" | "<'font-family'>" | "<'font-feature-settings'>" | "<'font-kerning'>" | "<'font-language-override'>" | "<'font-optical-sizing'>" | "<'font-size'>" | "<'font-size-adjust'>" | "<'font-smooth'>" | "<'font-stretch'>" | "<'font-style'>" | "<'font-synthesis'>" | "<'font-variant'>" | "<'font-variant-alternates'>" | "<'font-variant-caps'>" | "<'font-variant-east-asian'>" | "<'font-variant-ligatures'>" | "<'font-variant-numeric'>" | "<'font-variant-position'>" | "<'font-variation-settings'>" | "<'font-weight'>" | "<'forced-color-adjust'>" | "<'gap'>" | "<'glyph-orientation-horizontal'>" | "<'glyph-orientation-vertical'>" | "<'grid'>" | "<'grid-area'>" | "<'grid-auto-columns'>" | "<'grid-auto-flow'>" | "<'grid-auto-rows'>" | "<'grid-column'>" | "<'grid-column-end'>" | "<'grid-column-gap'>" | "<'grid-column-start'>" | "<'grid-gap'>" | "<'grid-row'>" | "<'grid-row-end'>" | "<'grid-row-gap'>" | "<'grid-row-start'>" | "<'grid-template'>" | "<'grid-template-areas'>" | "<'grid-template-columns'>" | "<'grid-template-rows'>" | "<'hanging-punctuation'>" | "<'height'>" | "<'hyphenate-character'>" | "<'hyphens'>" | "<'image-orientation'>" | "<'image-rendering'>" | "<'image-resolution'>" | "<'ime-mode'>" | "<'initial-letter'>" | "<'initial-letter-align'>" | "<'inline-size'>" | "<'input-security'>" | "<'inset'>" | "<'inset-block'>" | "<'inset-block-end'>" | "<'inset-block-start'>" | "<'inset-inline'>" | "<'inset-inline-end'>" | "<'inset-inline-start'>" | "<'isolation'>" | "<'justify-content'>" | "<'justify-items'>" | "<'justify-self'>" | "<'justify-tracks'>" | "<'kerning'>" | "<'left'>" | "<'letter-spacing'>" | "<'line-break'>" | "<'line-clamp'>" | "<'line-height'>" | "<'line-height-step'>" | "<'list-style'>" | "<'list-style-image'>" | "<'list-style-position'>" | "<'list-style-type'>" | "<'margin'>" | "<'margin-block'>" | "<'margin-block-end'>" | "<'margin-block-start'>" | "<'margin-bottom'>" | "<'margin-inline'>" | "<'margin-inline-end'>" | "<'margin-inline-start'>" | "<'margin-left'>" | "<'margin-right'>" | "<'margin-top'>" | "<'margin-trim'>" | "<'marker'>" | "<'marker-end'>" | "<'marker-mid'>" | "<'marker-start'>" | "<'mask'>" | "<'mask-border'>" | "<'mask-border-mode'>" | "<'mask-border-outset'>" | "<'mask-border-repeat'>" | "<'mask-border-slice'>" | "<'mask-border-source'>" | "<'mask-border-width'>" | "<'mask-clip'>" | "<'mask-composite'>" | "<'mask-image'>" | "<'mask-mode'>" | "<'mask-origin'>" | "<'mask-position'>" | "<'mask-repeat'>" | "<'mask-size'>" | "<'mask-type'>" | "<'masonry-auto-flow'>" | "<'math-depth'>" | "<'math-shift'>" | "<'math-style'>" | "<'max-block-size'>" | "<'max-height'>" | "<'max-inline-size'>" | "<'max-lines'>" | "<'max-width'>" | "<'min-block-size'>" | "<'min-height'>" | "<'min-inline-size'>" | "<'min-width'>" | "<'mix-blend-mode'>" | "<'object-fit'>" | "<'object-position'>" | "<'offset'>" | "<'offset-anchor'>" | "<'offset-distance'>" | "<'offset-path'>" | "<'offset-position'>" | "<'offset-rotate'>" | "<'opacity'>" | "<'order'>" | "<'orphans'>" | "<'outline'>" | "<'outline-color'>" | "<'outline-offset'>" | "<'outline-style'>" | "<'outline-width'>" | "<'overflow'>" | "<'overflow-anchor'>" | "<'overflow-block'>" | "<'overflow-clip-box'>" | "<'overflow-clip-margin'>" | "<'overflow-inline'>" | "<'overflow-wrap'>" | "<'overflow-x'>" | "<'overflow-y'>" | "<'overscroll-behavior'>" | "<'overscroll-behavior-block'>" | "<'overscroll-behavior-inline'>" | "<'overscroll-behavior-x'>" | "<'overscroll-behavior-y'>" | "<'padding'>" | "<'padding-block'>" | "<'padding-block-end'>" | "<'padding-block-start'>" | "<'padding-bottom'>" | "<'padding-inline'>" | "<'padding-inline-end'>" | "<'padding-inline-start'>" | "<'padding-left'>" | "<'padding-right'>" | "<'padding-top'>" | "<'page-break-after'>" | "<'page-break-before'>" | "<'page-break-inside'>" | "<'paint-order'>" | "<'pause'>" | "<'pause-after'>" | "<'pause-before'>" | "<'perspective'>" | "<'perspective-origin'>" | "<'place-content'>" | "<'place-items'>" | "<'place-self'>" | "<'pointer-events'>" | "<'position'>" | "<'print-color-adjust'>" | "<'quotes'>" | "<'resize'>" | "<'rest'>" | "<'rest-after'>" | "<'rest-before'>" | "<'right'>" | "<'rotate'>" | "<'row-gap'>" | "<'ruby-align'>" | "<'ruby-merge'>" | "<'ruby-position'>" | "<'scale'>" | "<'scroll-behavior'>" | "<'scroll-margin'>" | "<'scroll-margin-block'>" | "<'scroll-margin-block-end'>" | "<'scroll-margin-block-start'>" | "<'scroll-margin-bottom'>" | "<'scroll-margin-inline'>" | "<'scroll-margin-inline-end'>" | "<'scroll-margin-inline-start'>" | "<'scroll-margin-left'>" | "<'scroll-margin-right'>" | "<'scroll-margin-top'>" | "<'scroll-padding'>" | "<'scroll-padding-block'>" | "<'scroll-padding-block-end'>" | "<'scroll-padding-block-start'>" | "<'scroll-padding-bottom'>" | "<'scroll-padding-inline'>" | "<'scroll-padding-inline-end'>" | "<'scroll-padding-inline-start'>" | "<'scroll-padding-left'>" | "<'scroll-padding-right'>" | "<'scroll-padding-top'>" | "<'scroll-snap-align'>" | "<'scroll-snap-coordinate'>" | "<'scroll-snap-destination'>" | "<'scroll-snap-points-x'>" | "<'scroll-snap-points-y'>" | "<'scroll-snap-stop'>" | "<'scroll-snap-type'>" | "<'scroll-snap-type-x'>" | "<'scroll-snap-type-y'>" | "<'scroll-timeline'>" | "<'scroll-timeline-axis'>" | "<'scroll-timeline-name'>" | "<'scrollbar-color'>" | "<'scrollbar-gutter'>" | "<'scrollbar-width'>" | "<'shape-image-threshold'>" | "<'shape-margin'>" | "<'shape-outside'>" | "<'shape-rendering'>" | "<'speak'>" | "<'speak-as'>" | "<'src'>" | "<'stroke'>" | "<'stroke-dasharray'>" | "<'stroke-dashoffset'>" | "<'stroke-linecap'>" | "<'stroke-linejoin'>" | "<'stroke-miterlimit'>" | "<'stroke-opacity'>" | "<'stroke-width'>" | "<'tab-size'>" | "<'table-layout'>" | "<'text-align'>" | "<'text-align-last'>" | "<'text-anchor'>" | "<'text-combine-upright'>" | "<'text-decoration'>" | "<'text-decoration-color'>" | "<'text-decoration-line'>" | "<'text-decoration-skip'>" | "<'text-decoration-skip-ink'>" | "<'text-decoration-style'>" | "<'text-decoration-thickness'>" | "<'text-emphasis'>" | "<'text-emphasis-color'>" | "<'text-emphasis-position'>" | "<'text-emphasis-style'>" | "<'text-indent'>" | "<'text-justify'>" | "<'text-orientation'>" | "<'text-overflow'>" | "<'text-rendering'>" | "<'text-shadow'>" | "<'text-size-adjust'>" | "<'text-transform'>" | "<'text-underline-offset'>" | "<'text-underline-position'>" | "<'top'>" | "<'touch-action'>" | "<'transform'>" | "<'transform-box'>" | "<'transform-origin'>" | "<'transform-style'>" | "<'transition'>" | "<'transition-delay'>" | "<'transition-duration'>" | "<'transition-property'>" | "<'transition-timing-function'>" | "<'translate'>" | "<'unicode-bidi'>" | "<'unicode-range'>" | "<'user-select'>" | "<'vertical-align'>" | "<'visibility'>" | "<'voice-balance'>" | "<'voice-duration'>" | "<'voice-family'>" | "<'voice-pitch'>" | "<'voice-range'>" | "<'voice-rate'>" | "<'voice-stress'>" | "<'voice-volume'>" | "<'white-space'>" | "<'widows'>" | "<'width'>" | "<'will-change'>" | "<'word-break'>" | "<'word-spacing'>" | "<'word-wrap'>" | "<'writing-mode'>" | "<'z-index'>" | "<'zoom'>" | '<(-token>' | '<)-token>' | '<-legacy-gradient>' | '<-legacy-linear-gradient-arguments>' | '<-legacy-linear-gradient>' | '<-legacy-radial-gradient-arguments>' | '<-legacy-radial-gradient-shape>' | '<-legacy-radial-gradient-size>' | '<-legacy-radial-gradient>' | '<-legacy-repeating-linear-gradient>' | '<-legacy-repeating-radial-gradient>' | '<-ms-filter-function-legacy>' | '<-ms-filter-function-list>' | '<-ms-filter-function-progid>' | '<-ms-filter-function>' | '<-ms-filter>' | '<-non-standard-color>' | '<-non-standard-display>' | '<-non-standard-font>' | '<-non-standard-image-rendering>' | '<-non-standard-overflow>' | '<-non-standard-width>' | '<-webkit-gradient()>' | '<-webkit-gradient-color-stop>' | '<-webkit-gradient-point>' | '<-webkit-gradient-radius>' | '<-webkit-gradient-type>' | '<-webkit-mask-box-repeat>' | '<-webkit-mask-clip-style>' | '<CDC-token>' | '<CDO-token>' | '<[-token>' | '<]-token>' | '<abs()>' | '<absolute-size>' | '<acos()>' | '<age>' | '<alpha-value>' | '<an-plus-b>' | '<angle-percentage>' | '<angle>' | '<angular-color-hint>' | '<angular-color-stop-list>' | '<angular-color-stop>' | '<animateable-feature>' | '<any-value>' | '<asin()>' | '<at-keyword-token>' | '<atan()>' | '<atan2()>' | '<attachment>' | '<attr()>' | '<attr-fallback>' | '<attr-matcher>' | '<attr-modifier>' | '<attr-name>' | '<attribute-selector>' | '<auto-repeat>' | '<auto-track-list>' | '<axis>' | '<bad-string-token>' | '<bad-url-token>' | '<baseline-position>' | '<basic-shape>' | '<bcp-47>' | '<bg-clip>' | '<bg-image>' | '<bg-layer>' | '<bg-position>' | '<bg-size>' | '<blend-mode>' | '<blur()>' | '<bottom>' | '<box>' | '<brightness()>' | '<calc()>' | '<calc-constant>' | '<calc-product>' | '<calc-sum>' | '<calc-value>' | '<cf-final-image>' | '<cf-mixing-image>' | '<circle()>' | '<clamp()>' | '<class-selector>' | '<clip-source>' | '<colon-token>' | '<color-stop-angle>' | '<color-stop-length>' | '<color-stop-list>' | '<color-stop>' | '<color>' | '<combinator>' | '<comma-token>' | '<common-lig-values>' | '<compat-auto>' | '<complex-selector-list>' | '<complex-selector>' | '<composite-style>' | '<compositing-operator>' | '<compound-selector-list>' | '<compound-selector>' | '<conic-gradient()>' | '<content-distribution>' | '<content-list>' | '<content-position>' | '<content-replacement>' | '<contextual-alt-values>' | '<contrast()>' | '<cos()>' | '<counter()>' | '<counter-name>' | '<counter-style-name>' | '<counter-style>' | '<counter>' | '<counters()>' | '<cross-fade()>' | '<cubic-bezier-timing-function>' | '<custom-ident>' | '<custom-property-name>' | '<decibel>' | '<declaration-list>' | '<declaration-value>' | '<declaration>' | '<delim-token>' | '<deprecated-system-color>' | '<dimension-token>' | '<dimension>' | '<discretionary-lig-values>' | '<display-box>' | '<display-inside>' | '<display-internal>' | '<display-legacy>' | '<display-listitem>' | '<display-outside>' | '<drop-shadow()>' | '<easing-function>' | '<east-asian-variant-values>' | '<east-asian-width-values>' | '<element()>' | '<ellipse()>' | '<ending-shape>' | '<env()>' | '<exp()>' | '<explicit-track-list>' | '<family-name>' | '<feature-tag-value>' | '<feature-type>' | '<feature-value-block-list>' | '<feature-value-block>' | '<feature-value-declaration-list>' | '<feature-value-declaration>' | '<feature-value-name>' | '<fill-rule>' | '<filter-function-list>' | '<filter-function>' | '<final-bg-layer>' | '<fixed-breadth>' | '<fixed-repeat>' | '<fixed-size>' | '<flex>' | '<font-stretch-absolute>' | '<font-variant-css21>' | '<font-weight-absolute>' | '<frequency-percentage>' | '<frequency>' | '<function-token>' | '<gender>' | '<general-enclosed>' | '<generic-family>' | '<generic-name>' | '<generic-voice>' | '<geometry-box>' | '<gradient>' | '<grayscale()>' | '<grid-line>' | '<hash-token>' | '<hex-color>' | '<historical-lig-values>' | '<hsl()>' | '<hsla()>' | '<hue-rotate()>' | '<hue>' | '<hwb()>' | '<hypot()>' | '<id-selector>' | '<ident-token>' | '<ident>' | '<image()>' | '<image-set()>' | '<image-set-option>' | '<image-src>' | '<image-tags>' | '<image>' | '<inflexible-breadth>' | '<inset()>' | '<integer>' | '<invert()>' | '<keyframe-block-list>' | '<keyframe-block>' | '<keyframe-selector>' | '<keyframes-name>' | '<lab()>' | '<layer()>' | '<layer-name>' | '<lch()>' | '<leader()>' | '<leader-type>' | '<left>' | '<length-percentage>' | '<length>' | '<line-name-list>' | '<line-names>' | '<line-style>' | '<line-width>' | '<linear-color-hint>' | '<linear-color-stop>' | '<linear-gradient()>' | '<log()>' | '<mask-image>' | '<mask-layer>' | '<mask-position>' | '<mask-reference>' | '<mask-source>' | '<masking-mode>' | '<matrix()>' | '<matrix3d()>' | '<max()>' | '<media-and>' | '<media-condition-without-or>' | '<media-condition>' | '<media-feature>' | '<media-in-parens>' | '<media-not>' | '<media-or>' | '<media-query-list>' | '<media-query>' | '<media-type>' | '<mf-boolean>' | '<mf-name>' | '<mf-plain>' | '<mf-range>' | '<mf-value>' | '<min()>' | '<minmax()>' | '<mod()>' | '<name-repeat>' | '<named-color>' | '<namespace-prefix>' | '<ns-prefix>' | '<nth>' | '<number-one-or-greater>' | '<number-percentage>' | '<number-token>' | '<number-zero-one>' | '<number>' | '<numeric-figure-values>' | '<numeric-fraction-values>' | '<numeric-spacing-values>' | '<opacity()>' | '<outline-radius>' | '<overflow-position>' | '<page-body>' | '<page-margin-box-type>' | '<page-margin-box>' | '<page-selector-list>' | '<page-selector>' | '<page-size>' | '<paint()>' | '<paint>' | '<path()>' | '<percentage-token>' | '<percentage>' | '<perspective()>' | '<polygon()>' | '<position>' | '<pow()>' | '<pseudo-class-selector>' | '<pseudo-element-selector>' | '<pseudo-page>' | '<quote>' | '<radial-gradient()>' | '<ratio>' | '<relative-selector-list>' | '<relative-selector>' | '<relative-size>' | '<rem()>' | '<repeat-style>' | '<repeating-conic-gradient()>' | '<repeating-linear-gradient()>' | '<repeating-radial-gradient()>' | '<resolution>' | '<reversed-counter-name>' | '<rgb()>' | '<rgba()>' | '<right>' | '<rotate()>' | '<rotate3d()>' | '<rotateX()>' | '<rotateY()>' | '<rotateZ()>' | '<round()>' | '<rounding-strategy>' | '<saturate()>' | '<scale()>' | '<scale3d()>' | '<scaleX()>' | '<scaleY()>' | '<scaleZ()>' | '<scroll-timeline-axis>' | '<scroll-timeline-name>' | '<scroller>' | '<self-position>' | '<semicolon-token>' | '<semitones>' | '<sepia()>' | '<shadow-t>' | '<shadow>' | '<shape-box>' | '<shape-radius>' | '<shape>' | '<side-or-corner>' | '<sign()>' | '<sin()>' | '<single-animation-composition>' | '<single-animation-direction>' | '<single-animation-fill-mode>' | '<single-animation-iteration-count>' | '<single-animation-play-state>' | '<single-animation-timeline>' | '<single-animation>' | '<single-transition-property>' | '<single-transition>' | '<size>' | '<skew()>' | '<skewX()>' | '<skewY()>' | '<sqrt()>' | '<step-position>' | '<step-timing-function>' | '<string-token>' | '<string>' | '<subclass-selector>' | '<supports-condition>' | '<supports-decl>' | '<supports-feature>' | '<supports-in-parens>' | '<supports-selector-fn>' | '<svg-length>' | '<svg-writing-mode>' | '<symbol>' | '<tan()>' | '<target-counter()>' | '<target-counters()>' | '<target-text()>' | '<target>' | '<time-percentage>' | '<time>' | '<timeline-name>' | '<top>' | '<track-breadth>' | '<track-list>' | '<track-repeat>' | '<track-size>' | '<transform-function>' | '<transform-list>' | '<translate()>' | '<translate3d()>' | '<translateX()>' | '<translateY()>' | '<translateZ()>' | '<type-or-unit>' | '<type-selector>' | '<urange>' | '<url-modifier>' | '<url-token>' | '<url>' | '<var()>' | '<viewport-length>' | '<visual-box>' | '<whitespace-token>' | '<wq-name>' | '<x>' | '<y>' | '<zero>' | '<{-token>' | '<}-token>'; | ||
export type ExtendedType = "<'color-profile'>" | "<'color-rendering'>" | "<'enable-background'>" | '<animatable-value>' | '<begin-value-list>' | '<class-list>' | '<clock-value>' | '<color-matrix>' | '<css-declaration-list>' | '<dasharray>' | '<end-value-list>' | '<key-points>' | '<key-splines>' | '<key-times>' | '<list-of-lengths>' | '<list-of-numbers>' | '<list-of-percentages>' | '<list-of-svg-feature-string>' | '<list-of-value>' | '<number-optional-number>' | '<origin>' | '<points>' | '<preserve-aspect-ratio>' | '<rotate>' | '<svg-font-size-adjust>' | '<svg-font-size>' | '<svg-path>' | '<system-language>' | '<text-coordinate>' | '<view-box>' | 'AbsoluteURL' | 'Accept' | 'Any' | 'AutoComplete' | 'BCP47' | 'BaseURL' | 'BrowsingContextName' | 'BrowsingContextNameOrKeyword' | 'CustomElementName' | 'DOMID' | 'DateTime' | 'FunctionBody' | 'HTTPSchemaURL' | 'HashName' | 'IconSize' | 'Int' | 'ItemProp' | 'MIMEType' | 'NavigableTargetName' | 'NavigableTargetNameOrKeyword' | 'NoEmptyAny' | 'Number' | 'OneCodePointChar' | 'OneLineAny' | 'Pattern' | 'SerializedPermissionsPolicy' | 'SourceSizeList' | 'Srcset' | 'TabIndex' | 'URL' | 'Uint' | 'XMLName' | 'Zero'; | ||
export type CssSyntax = | ||
| "<'--*'>" | ||
| "<'-moz-appearance'>" | ||
| "<'-moz-background-clip'>" | ||
| "<'-moz-binding'>" | ||
| "<'-moz-border-bottom-colors'>" | ||
| "<'-moz-border-left-colors'>" | ||
| "<'-moz-border-radius-bottomleft'>" | ||
| "<'-moz-border-radius-bottomright'>" | ||
| "<'-moz-border-radius-topleft'>" | ||
| "<'-moz-border-radius-topright'>" | ||
| "<'-moz-border-right-colors'>" | ||
| "<'-moz-border-top-colors'>" | ||
| "<'-moz-context-properties'>" | ||
| "<'-moz-control-character-visibility'>" | ||
| "<'-moz-float-edge'>" | ||
| "<'-moz-force-broken-image-icon'>" | ||
| "<'-moz-image-region'>" | ||
| "<'-moz-orient'>" | ||
| "<'-moz-osx-font-smoothing'>" | ||
| "<'-moz-outline-radius'>" | ||
| "<'-moz-outline-radius-bottomleft'>" | ||
| "<'-moz-outline-radius-bottomright'>" | ||
| "<'-moz-outline-radius-topleft'>" | ||
| "<'-moz-outline-radius-topright'>" | ||
| "<'-moz-stack-sizing'>" | ||
| "<'-moz-text-blink'>" | ||
| "<'-moz-user-focus'>" | ||
| "<'-moz-user-input'>" | ||
| "<'-moz-user-modify'>" | ||
| "<'-moz-user-select'>" | ||
| "<'-moz-window-dragging'>" | ||
| "<'-moz-window-shadow'>" | ||
| "<'-ms-accelerator'>" | ||
| "<'-ms-block-progression'>" | ||
| "<'-ms-content-zoom-chaining'>" | ||
| "<'-ms-content-zoom-limit'>" | ||
| "<'-ms-content-zoom-limit-max'>" | ||
| "<'-ms-content-zoom-limit-min'>" | ||
| "<'-ms-content-zoom-snap'>" | ||
| "<'-ms-content-zoom-snap-points'>" | ||
| "<'-ms-content-zoom-snap-type'>" | ||
| "<'-ms-content-zooming'>" | ||
| "<'-ms-filter'>" | ||
| "<'-ms-flex-align'>" | ||
| "<'-ms-flex-item-align'>" | ||
| "<'-ms-flex-line-pack'>" | ||
| "<'-ms-flex-negative'>" | ||
| "<'-ms-flex-order'>" | ||
| "<'-ms-flex-pack'>" | ||
| "<'-ms-flex-positive'>" | ||
| "<'-ms-flex-preferred-size'>" | ||
| "<'-ms-flow-from'>" | ||
| "<'-ms-flow-into'>" | ||
| "<'-ms-grid-column-align'>" | ||
| "<'-ms-grid-columns'>" | ||
| "<'-ms-grid-row-align'>" | ||
| "<'-ms-grid-rows'>" | ||
| "<'-ms-high-contrast-adjust'>" | ||
| "<'-ms-hyphenate-limit-chars'>" | ||
| "<'-ms-hyphenate-limit-last'>" | ||
| "<'-ms-hyphenate-limit-lines'>" | ||
| "<'-ms-hyphenate-limit-zone'>" | ||
| "<'-ms-ime-align'>" | ||
| "<'-ms-interpolation-mode'>" | ||
| "<'-ms-overflow-style'>" | ||
| "<'-ms-scroll-chaining'>" | ||
| "<'-ms-scroll-limit'>" | ||
| "<'-ms-scroll-limit-x-max'>" | ||
| "<'-ms-scroll-limit-x-min'>" | ||
| "<'-ms-scroll-limit-y-max'>" | ||
| "<'-ms-scroll-limit-y-min'>" | ||
| "<'-ms-scroll-rails'>" | ||
| "<'-ms-scroll-snap-points-x'>" | ||
| "<'-ms-scroll-snap-points-y'>" | ||
| "<'-ms-scroll-snap-type'>" | ||
| "<'-ms-scroll-snap-x'>" | ||
| "<'-ms-scroll-snap-y'>" | ||
| "<'-ms-scroll-translation'>" | ||
| "<'-ms-scrollbar-3dlight-color'>" | ||
| "<'-ms-scrollbar-arrow-color'>" | ||
| "<'-ms-scrollbar-base-color'>" | ||
| "<'-ms-scrollbar-darkshadow-color'>" | ||
| "<'-ms-scrollbar-face-color'>" | ||
| "<'-ms-scrollbar-highlight-color'>" | ||
| "<'-ms-scrollbar-shadow-color'>" | ||
| "<'-ms-scrollbar-track-color'>" | ||
| "<'-ms-text-autospace'>" | ||
| "<'-ms-touch-select'>" | ||
| "<'-ms-user-select'>" | ||
| "<'-ms-wrap-flow'>" | ||
| "<'-ms-wrap-margin'>" | ||
| "<'-ms-wrap-through'>" | ||
| "<'-webkit-appearance'>" | ||
| "<'-webkit-background-clip'>" | ||
| "<'-webkit-border-before'>" | ||
| "<'-webkit-border-before-color'>" | ||
| "<'-webkit-border-before-style'>" | ||
| "<'-webkit-border-before-width'>" | ||
| "<'-webkit-box-reflect'>" | ||
| "<'-webkit-column-break-after'>" | ||
| "<'-webkit-column-break-before'>" | ||
| "<'-webkit-column-break-inside'>" | ||
| "<'-webkit-font-smoothing'>" | ||
| "<'-webkit-line-clamp'>" | ||
| "<'-webkit-mask'>" | ||
| "<'-webkit-mask-attachment'>" | ||
| "<'-webkit-mask-box-image'>" | ||
| "<'-webkit-mask-clip'>" | ||
| "<'-webkit-mask-composite'>" | ||
| "<'-webkit-mask-image'>" | ||
| "<'-webkit-mask-origin'>" | ||
| "<'-webkit-mask-position'>" | ||
| "<'-webkit-mask-position-x'>" | ||
| "<'-webkit-mask-position-y'>" | ||
| "<'-webkit-mask-repeat'>" | ||
| "<'-webkit-mask-repeat-x'>" | ||
| "<'-webkit-mask-repeat-y'>" | ||
| "<'-webkit-mask-size'>" | ||
| "<'-webkit-overflow-scrolling'>" | ||
| "<'-webkit-print-color-adjust'>" | ||
| "<'-webkit-tap-highlight-color'>" | ||
| "<'-webkit-text-fill-color'>" | ||
| "<'-webkit-text-security'>" | ||
| "<'-webkit-text-stroke'>" | ||
| "<'-webkit-text-stroke-color'>" | ||
| "<'-webkit-text-stroke-width'>" | ||
| "<'-webkit-touch-callout'>" | ||
| "<'-webkit-user-drag'>" | ||
| "<'-webkit-user-modify'>" | ||
| "<'-webkit-user-select'>" | ||
| "<'accent-color'>" | ||
| "<'align-content'>" | ||
| "<'align-items'>" | ||
| "<'align-self'>" | ||
| "<'align-tracks'>" | ||
| "<'alignment-baseline'>" | ||
| "<'all'>" | ||
| "<'animation'>" | ||
| "<'animation-composition'>" | ||
| "<'animation-delay'>" | ||
| "<'animation-direction'>" | ||
| "<'animation-duration'>" | ||
| "<'animation-fill-mode'>" | ||
| "<'animation-iteration-count'>" | ||
| "<'animation-name'>" | ||
| "<'animation-play-state'>" | ||
| "<'animation-timeline'>" | ||
| "<'animation-timing-function'>" | ||
| "<'appearance'>" | ||
| "<'aspect-ratio'>" | ||
| "<'azimuth'>" | ||
| "<'backdrop-filter'>" | ||
| "<'backface-visibility'>" | ||
| "<'background'>" | ||
| "<'background-attachment'>" | ||
| "<'background-blend-mode'>" | ||
| "<'background-clip'>" | ||
| "<'background-color'>" | ||
| "<'background-image'>" | ||
| "<'background-origin'>" | ||
| "<'background-position'>" | ||
| "<'background-position-x'>" | ||
| "<'background-position-y'>" | ||
| "<'background-repeat'>" | ||
| "<'background-size'>" | ||
| "<'baseline-shift'>" | ||
| "<'behavior'>" | ||
| "<'block-overflow'>" | ||
| "<'block-size'>" | ||
| "<'border'>" | ||
| "<'border-block'>" | ||
| "<'border-block-color'>" | ||
| "<'border-block-end'>" | ||
| "<'border-block-end-color'>" | ||
| "<'border-block-end-style'>" | ||
| "<'border-block-end-width'>" | ||
| "<'border-block-start'>" | ||
| "<'border-block-start-color'>" | ||
| "<'border-block-start-style'>" | ||
| "<'border-block-start-width'>" | ||
| "<'border-block-style'>" | ||
| "<'border-block-width'>" | ||
| "<'border-bottom'>" | ||
| "<'border-bottom-color'>" | ||
| "<'border-bottom-left-radius'>" | ||
| "<'border-bottom-right-radius'>" | ||
| "<'border-bottom-style'>" | ||
| "<'border-bottom-width'>" | ||
| "<'border-collapse'>" | ||
| "<'border-color'>" | ||
| "<'border-end-end-radius'>" | ||
| "<'border-end-start-radius'>" | ||
| "<'border-image'>" | ||
| "<'border-image-outset'>" | ||
| "<'border-image-repeat'>" | ||
| "<'border-image-slice'>" | ||
| "<'border-image-source'>" | ||
| "<'border-image-width'>" | ||
| "<'border-inline'>" | ||
| "<'border-inline-color'>" | ||
| "<'border-inline-end'>" | ||
| "<'border-inline-end-color'>" | ||
| "<'border-inline-end-style'>" | ||
| "<'border-inline-end-width'>" | ||
| "<'border-inline-start'>" | ||
| "<'border-inline-start-color'>" | ||
| "<'border-inline-start-style'>" | ||
| "<'border-inline-start-width'>" | ||
| "<'border-inline-style'>" | ||
| "<'border-inline-width'>" | ||
| "<'border-left'>" | ||
| "<'border-left-color'>" | ||
| "<'border-left-style'>" | ||
| "<'border-left-width'>" | ||
| "<'border-radius'>" | ||
| "<'border-right'>" | ||
| "<'border-right-color'>" | ||
| "<'border-right-style'>" | ||
| "<'border-right-width'>" | ||
| "<'border-spacing'>" | ||
| "<'border-start-end-radius'>" | ||
| "<'border-start-start-radius'>" | ||
| "<'border-style'>" | ||
| "<'border-top'>" | ||
| "<'border-top-color'>" | ||
| "<'border-top-left-radius'>" | ||
| "<'border-top-right-radius'>" | ||
| "<'border-top-style'>" | ||
| "<'border-top-width'>" | ||
| "<'border-width'>" | ||
| "<'bottom'>" | ||
| "<'box-align'>" | ||
| "<'box-decoration-break'>" | ||
| "<'box-direction'>" | ||
| "<'box-flex'>" | ||
| "<'box-flex-group'>" | ||
| "<'box-lines'>" | ||
| "<'box-ordinal-group'>" | ||
| "<'box-orient'>" | ||
| "<'box-pack'>" | ||
| "<'box-shadow'>" | ||
| "<'box-sizing'>" | ||
| "<'break-after'>" | ||
| "<'break-before'>" | ||
| "<'break-inside'>" | ||
| "<'caption-side'>" | ||
| "<'caret'>" | ||
| "<'caret-color'>" | ||
| "<'caret-shape'>" | ||
| "<'clear'>" | ||
| "<'clip'>" | ||
| "<'clip-path'>" | ||
| "<'clip-rule'>" | ||
| "<'color'>" | ||
| "<'color-scheme'>" | ||
| "<'column-count'>" | ||
| "<'column-fill'>" | ||
| "<'column-gap'>" | ||
| "<'column-rule'>" | ||
| "<'column-rule-color'>" | ||
| "<'column-rule-style'>" | ||
| "<'column-rule-width'>" | ||
| "<'column-span'>" | ||
| "<'column-width'>" | ||
| "<'columns'>" | ||
| "<'contain'>" | ||
| "<'contain-intrinsic-block-size'>" | ||
| "<'contain-intrinsic-height'>" | ||
| "<'contain-intrinsic-inline-size'>" | ||
| "<'contain-intrinsic-size'>" | ||
| "<'contain-intrinsic-width'>" | ||
| "<'content'>" | ||
| "<'content-visibility'>" | ||
| "<'counter-increment'>" | ||
| "<'counter-reset'>" | ||
| "<'counter-set'>" | ||
| "<'cue'>" | ||
| "<'cue-after'>" | ||
| "<'cue-before'>" | ||
| "<'cursor'>" | ||
| "<'direction'>" | ||
| "<'display'>" | ||
| "<'dominant-baseline'>" | ||
| "<'empty-cells'>" | ||
| "<'fill'>" | ||
| "<'fill-opacity'>" | ||
| "<'fill-rule'>" | ||
| "<'filter'>" | ||
| "<'flex'>" | ||
| "<'flex-basis'>" | ||
| "<'flex-direction'>" | ||
| "<'flex-flow'>" | ||
| "<'flex-grow'>" | ||
| "<'flex-shrink'>" | ||
| "<'flex-wrap'>" | ||
| "<'float'>" | ||
| "<'font'>" | ||
| "<'font-family'>" | ||
| "<'font-feature-settings'>" | ||
| "<'font-kerning'>" | ||
| "<'font-language-override'>" | ||
| "<'font-optical-sizing'>" | ||
| "<'font-size'>" | ||
| "<'font-size-adjust'>" | ||
| "<'font-smooth'>" | ||
| "<'font-stretch'>" | ||
| "<'font-style'>" | ||
| "<'font-synthesis'>" | ||
| "<'font-variant'>" | ||
| "<'font-variant-alternates'>" | ||
| "<'font-variant-caps'>" | ||
| "<'font-variant-east-asian'>" | ||
| "<'font-variant-ligatures'>" | ||
| "<'font-variant-numeric'>" | ||
| "<'font-variant-position'>" | ||
| "<'font-variation-settings'>" | ||
| "<'font-weight'>" | ||
| "<'forced-color-adjust'>" | ||
| "<'gap'>" | ||
| "<'glyph-orientation-horizontal'>" | ||
| "<'glyph-orientation-vertical'>" | ||
| "<'grid'>" | ||
| "<'grid-area'>" | ||
| "<'grid-auto-columns'>" | ||
| "<'grid-auto-flow'>" | ||
| "<'grid-auto-rows'>" | ||
| "<'grid-column'>" | ||
| "<'grid-column-end'>" | ||
| "<'grid-column-gap'>" | ||
| "<'grid-column-start'>" | ||
| "<'grid-gap'>" | ||
| "<'grid-row'>" | ||
| "<'grid-row-end'>" | ||
| "<'grid-row-gap'>" | ||
| "<'grid-row-start'>" | ||
| "<'grid-template'>" | ||
| "<'grid-template-areas'>" | ||
| "<'grid-template-columns'>" | ||
| "<'grid-template-rows'>" | ||
| "<'hanging-punctuation'>" | ||
| "<'height'>" | ||
| "<'hyphenate-character'>" | ||
| "<'hyphens'>" | ||
| "<'image-orientation'>" | ||
| "<'image-rendering'>" | ||
| "<'image-resolution'>" | ||
| "<'ime-mode'>" | ||
| "<'initial-letter'>" | ||
| "<'initial-letter-align'>" | ||
| "<'inline-size'>" | ||
| "<'input-security'>" | ||
| "<'inset'>" | ||
| "<'inset-block'>" | ||
| "<'inset-block-end'>" | ||
| "<'inset-block-start'>" | ||
| "<'inset-inline'>" | ||
| "<'inset-inline-end'>" | ||
| "<'inset-inline-start'>" | ||
| "<'isolation'>" | ||
| "<'justify-content'>" | ||
| "<'justify-items'>" | ||
| "<'justify-self'>" | ||
| "<'justify-tracks'>" | ||
| "<'kerning'>" | ||
| "<'left'>" | ||
| "<'letter-spacing'>" | ||
| "<'line-break'>" | ||
| "<'line-clamp'>" | ||
| "<'line-height'>" | ||
| "<'line-height-step'>" | ||
| "<'list-style'>" | ||
| "<'list-style-image'>" | ||
| "<'list-style-position'>" | ||
| "<'list-style-type'>" | ||
| "<'margin'>" | ||
| "<'margin-block'>" | ||
| "<'margin-block-end'>" | ||
| "<'margin-block-start'>" | ||
| "<'margin-bottom'>" | ||
| "<'margin-inline'>" | ||
| "<'margin-inline-end'>" | ||
| "<'margin-inline-start'>" | ||
| "<'margin-left'>" | ||
| "<'margin-right'>" | ||
| "<'margin-top'>" | ||
| "<'margin-trim'>" | ||
| "<'marker'>" | ||
| "<'marker-end'>" | ||
| "<'marker-mid'>" | ||
| "<'marker-start'>" | ||
| "<'mask'>" | ||
| "<'mask-border'>" | ||
| "<'mask-border-mode'>" | ||
| "<'mask-border-outset'>" | ||
| "<'mask-border-repeat'>" | ||
| "<'mask-border-slice'>" | ||
| "<'mask-border-source'>" | ||
| "<'mask-border-width'>" | ||
| "<'mask-clip'>" | ||
| "<'mask-composite'>" | ||
| "<'mask-image'>" | ||
| "<'mask-mode'>" | ||
| "<'mask-origin'>" | ||
| "<'mask-position'>" | ||
| "<'mask-repeat'>" | ||
| "<'mask-size'>" | ||
| "<'mask-type'>" | ||
| "<'masonry-auto-flow'>" | ||
| "<'math-depth'>" | ||
| "<'math-shift'>" | ||
| "<'math-style'>" | ||
| "<'max-block-size'>" | ||
| "<'max-height'>" | ||
| "<'max-inline-size'>" | ||
| "<'max-lines'>" | ||
| "<'max-width'>" | ||
| "<'min-block-size'>" | ||
| "<'min-height'>" | ||
| "<'min-inline-size'>" | ||
| "<'min-width'>" | ||
| "<'mix-blend-mode'>" | ||
| "<'object-fit'>" | ||
| "<'object-position'>" | ||
| "<'offset'>" | ||
| "<'offset-anchor'>" | ||
| "<'offset-distance'>" | ||
| "<'offset-path'>" | ||
| "<'offset-position'>" | ||
| "<'offset-rotate'>" | ||
| "<'opacity'>" | ||
| "<'order'>" | ||
| "<'orphans'>" | ||
| "<'outline'>" | ||
| "<'outline-color'>" | ||
| "<'outline-offset'>" | ||
| "<'outline-style'>" | ||
| "<'outline-width'>" | ||
| "<'overflow'>" | ||
| "<'overflow-anchor'>" | ||
| "<'overflow-block'>" | ||
| "<'overflow-clip-box'>" | ||
| "<'overflow-clip-margin'>" | ||
| "<'overflow-inline'>" | ||
| "<'overflow-wrap'>" | ||
| "<'overflow-x'>" | ||
| "<'overflow-y'>" | ||
| "<'overscroll-behavior'>" | ||
| "<'overscroll-behavior-block'>" | ||
| "<'overscroll-behavior-inline'>" | ||
| "<'overscroll-behavior-x'>" | ||
| "<'overscroll-behavior-y'>" | ||
| "<'padding'>" | ||
| "<'padding-block'>" | ||
| "<'padding-block-end'>" | ||
| "<'padding-block-start'>" | ||
| "<'padding-bottom'>" | ||
| "<'padding-inline'>" | ||
| "<'padding-inline-end'>" | ||
| "<'padding-inline-start'>" | ||
| "<'padding-left'>" | ||
| "<'padding-right'>" | ||
| "<'padding-top'>" | ||
| "<'page-break-after'>" | ||
| "<'page-break-before'>" | ||
| "<'page-break-inside'>" | ||
| "<'paint-order'>" | ||
| "<'pause'>" | ||
| "<'pause-after'>" | ||
| "<'pause-before'>" | ||
| "<'perspective'>" | ||
| "<'perspective-origin'>" | ||
| "<'place-content'>" | ||
| "<'place-items'>" | ||
| "<'place-self'>" | ||
| "<'pointer-events'>" | ||
| "<'position'>" | ||
| "<'print-color-adjust'>" | ||
| "<'quotes'>" | ||
| "<'resize'>" | ||
| "<'rest'>" | ||
| "<'rest-after'>" | ||
| "<'rest-before'>" | ||
| "<'right'>" | ||
| "<'rotate'>" | ||
| "<'row-gap'>" | ||
| "<'ruby-align'>" | ||
| "<'ruby-merge'>" | ||
| "<'ruby-position'>" | ||
| "<'scale'>" | ||
| "<'scroll-behavior'>" | ||
| "<'scroll-margin'>" | ||
| "<'scroll-margin-block'>" | ||
| "<'scroll-margin-block-end'>" | ||
| "<'scroll-margin-block-start'>" | ||
| "<'scroll-margin-bottom'>" | ||
| "<'scroll-margin-inline'>" | ||
| "<'scroll-margin-inline-end'>" | ||
| "<'scroll-margin-inline-start'>" | ||
| "<'scroll-margin-left'>" | ||
| "<'scroll-margin-right'>" | ||
| "<'scroll-margin-top'>" | ||
| "<'scroll-padding'>" | ||
| "<'scroll-padding-block'>" | ||
| "<'scroll-padding-block-end'>" | ||
| "<'scroll-padding-block-start'>" | ||
| "<'scroll-padding-bottom'>" | ||
| "<'scroll-padding-inline'>" | ||
| "<'scroll-padding-inline-end'>" | ||
| "<'scroll-padding-inline-start'>" | ||
| "<'scroll-padding-left'>" | ||
| "<'scroll-padding-right'>" | ||
| "<'scroll-padding-top'>" | ||
| "<'scroll-snap-align'>" | ||
| "<'scroll-snap-coordinate'>" | ||
| "<'scroll-snap-destination'>" | ||
| "<'scroll-snap-points-x'>" | ||
| "<'scroll-snap-points-y'>" | ||
| "<'scroll-snap-stop'>" | ||
| "<'scroll-snap-type'>" | ||
| "<'scroll-snap-type-x'>" | ||
| "<'scroll-snap-type-y'>" | ||
| "<'scroll-timeline'>" | ||
| "<'scroll-timeline-axis'>" | ||
| "<'scroll-timeline-name'>" | ||
| "<'scrollbar-color'>" | ||
| "<'scrollbar-gutter'>" | ||
| "<'scrollbar-width'>" | ||
| "<'shape-image-threshold'>" | ||
| "<'shape-margin'>" | ||
| "<'shape-outside'>" | ||
| "<'shape-rendering'>" | ||
| "<'speak'>" | ||
| "<'speak-as'>" | ||
| "<'src'>" | ||
| "<'stroke'>" | ||
| "<'stroke-dasharray'>" | ||
| "<'stroke-dashoffset'>" | ||
| "<'stroke-linecap'>" | ||
| "<'stroke-linejoin'>" | ||
| "<'stroke-miterlimit'>" | ||
| "<'stroke-opacity'>" | ||
| "<'stroke-width'>" | ||
| "<'tab-size'>" | ||
| "<'table-layout'>" | ||
| "<'text-align'>" | ||
| "<'text-align-last'>" | ||
| "<'text-anchor'>" | ||
| "<'text-combine-upright'>" | ||
| "<'text-decoration'>" | ||
| "<'text-decoration-color'>" | ||
| "<'text-decoration-line'>" | ||
| "<'text-decoration-skip'>" | ||
| "<'text-decoration-skip-ink'>" | ||
| "<'text-decoration-style'>" | ||
| "<'text-decoration-thickness'>" | ||
| "<'text-emphasis'>" | ||
| "<'text-emphasis-color'>" | ||
| "<'text-emphasis-position'>" | ||
| "<'text-emphasis-style'>" | ||
| "<'text-indent'>" | ||
| "<'text-justify'>" | ||
| "<'text-orientation'>" | ||
| "<'text-overflow'>" | ||
| "<'text-rendering'>" | ||
| "<'text-shadow'>" | ||
| "<'text-size-adjust'>" | ||
| "<'text-transform'>" | ||
| "<'text-underline-offset'>" | ||
| "<'text-underline-position'>" | ||
| "<'top'>" | ||
| "<'touch-action'>" | ||
| "<'transform'>" | ||
| "<'transform-box'>" | ||
| "<'transform-origin'>" | ||
| "<'transform-style'>" | ||
| "<'transition'>" | ||
| "<'transition-delay'>" | ||
| "<'transition-duration'>" | ||
| "<'transition-property'>" | ||
| "<'transition-timing-function'>" | ||
| "<'translate'>" | ||
| "<'unicode-bidi'>" | ||
| "<'unicode-range'>" | ||
| "<'user-select'>" | ||
| "<'vertical-align'>" | ||
| "<'visibility'>" | ||
| "<'voice-balance'>" | ||
| "<'voice-duration'>" | ||
| "<'voice-family'>" | ||
| "<'voice-pitch'>" | ||
| "<'voice-range'>" | ||
| "<'voice-rate'>" | ||
| "<'voice-stress'>" | ||
| "<'voice-volume'>" | ||
| "<'white-space'>" | ||
| "<'widows'>" | ||
| "<'width'>" | ||
| "<'will-change'>" | ||
| "<'word-break'>" | ||
| "<'word-spacing'>" | ||
| "<'word-wrap'>" | ||
| "<'writing-mode'>" | ||
| "<'z-index'>" | ||
| "<'zoom'>" | ||
| '<(-token>' | ||
| '<)-token>' | ||
| '<-legacy-gradient>' | ||
| '<-legacy-linear-gradient-arguments>' | ||
| '<-legacy-linear-gradient>' | ||
| '<-legacy-radial-gradient-arguments>' | ||
| '<-legacy-radial-gradient-shape>' | ||
| '<-legacy-radial-gradient-size>' | ||
| '<-legacy-radial-gradient>' | ||
| '<-legacy-repeating-linear-gradient>' | ||
| '<-legacy-repeating-radial-gradient>' | ||
| '<-ms-filter-function-legacy>' | ||
| '<-ms-filter-function-list>' | ||
| '<-ms-filter-function-progid>' | ||
| '<-ms-filter-function>' | ||
| '<-ms-filter>' | ||
| '<-non-standard-color>' | ||
| '<-non-standard-display>' | ||
| '<-non-standard-font>' | ||
| '<-non-standard-image-rendering>' | ||
| '<-non-standard-overflow>' | ||
| '<-non-standard-width>' | ||
| '<-webkit-gradient()>' | ||
| '<-webkit-gradient-color-stop>' | ||
| '<-webkit-gradient-point>' | ||
| '<-webkit-gradient-radius>' | ||
| '<-webkit-gradient-type>' | ||
| '<-webkit-mask-box-repeat>' | ||
| '<-webkit-mask-clip-style>' | ||
| '<CDC-token>' | ||
| '<CDO-token>' | ||
| '<[-token>' | ||
| '<]-token>' | ||
| '<abs()>' | ||
| '<absolute-size>' | ||
| '<acos()>' | ||
| '<age>' | ||
| '<alpha-value>' | ||
| '<an-plus-b>' | ||
| '<angle-percentage>' | ||
| '<angle>' | ||
| '<angular-color-hint>' | ||
| '<angular-color-stop-list>' | ||
| '<angular-color-stop>' | ||
| '<animateable-feature>' | ||
| '<any-value>' | ||
| '<asin()>' | ||
| '<at-keyword-token>' | ||
| '<atan()>' | ||
| '<atan2()>' | ||
| '<attachment>' | ||
| '<attr()>' | ||
| '<attr-fallback>' | ||
| '<attr-matcher>' | ||
| '<attr-modifier>' | ||
| '<attr-name>' | ||
| '<attribute-selector>' | ||
| '<auto-repeat>' | ||
| '<auto-track-list>' | ||
| '<axis>' | ||
| '<bad-string-token>' | ||
| '<bad-url-token>' | ||
| '<baseline-position>' | ||
| '<basic-shape>' | ||
| '<bcp-47>' | ||
| '<bg-clip>' | ||
| '<bg-image>' | ||
| '<bg-layer>' | ||
| '<bg-position>' | ||
| '<bg-size>' | ||
| '<blend-mode>' | ||
| '<blur()>' | ||
| '<bottom>' | ||
| '<box>' | ||
| '<brightness()>' | ||
| '<calc()>' | ||
| '<calc-constant>' | ||
| '<calc-product>' | ||
| '<calc-sum>' | ||
| '<calc-value>' | ||
| '<cf-final-image>' | ||
| '<cf-mixing-image>' | ||
| '<circle()>' | ||
| '<clamp()>' | ||
| '<class-selector>' | ||
| '<clip-source>' | ||
| '<colon-token>' | ||
| '<color-stop-angle>' | ||
| '<color-stop-length>' | ||
| '<color-stop-list>' | ||
| '<color-stop>' | ||
| '<color>' | ||
| '<combinator>' | ||
| '<comma-token>' | ||
| '<common-lig-values>' | ||
| '<compat-auto>' | ||
| '<complex-selector-list>' | ||
| '<complex-selector>' | ||
| '<composite-style>' | ||
| '<compositing-operator>' | ||
| '<compound-selector-list>' | ||
| '<compound-selector>' | ||
| '<conic-gradient()>' | ||
| '<content-distribution>' | ||
| '<content-list>' | ||
| '<content-position>' | ||
| '<content-replacement>' | ||
| '<contextual-alt-values>' | ||
| '<contrast()>' | ||
| '<cos()>' | ||
| '<counter()>' | ||
| '<counter-name>' | ||
| '<counter-style-name>' | ||
| '<counter-style>' | ||
| '<counter>' | ||
| '<counters()>' | ||
| '<cross-fade()>' | ||
| '<cubic-bezier-timing-function>' | ||
| '<custom-ident>' | ||
| '<custom-property-name>' | ||
| '<decibel>' | ||
| '<declaration-list>' | ||
| '<declaration-value>' | ||
| '<declaration>' | ||
| '<delim-token>' | ||
| '<deprecated-system-color>' | ||
| '<dimension-token>' | ||
| '<dimension>' | ||
| '<discretionary-lig-values>' | ||
| '<display-box>' | ||
| '<display-inside>' | ||
| '<display-internal>' | ||
| '<display-legacy>' | ||
| '<display-listitem>' | ||
| '<display-outside>' | ||
| '<drop-shadow()>' | ||
| '<easing-function>' | ||
| '<east-asian-variant-values>' | ||
| '<east-asian-width-values>' | ||
| '<element()>' | ||
| '<ellipse()>' | ||
| '<ending-shape>' | ||
| '<env()>' | ||
| '<exp()>' | ||
| '<explicit-track-list>' | ||
| '<family-name>' | ||
| '<feature-tag-value>' | ||
| '<feature-type>' | ||
| '<feature-value-block-list>' | ||
| '<feature-value-block>' | ||
| '<feature-value-declaration-list>' | ||
| '<feature-value-declaration>' | ||
| '<feature-value-name>' | ||
| '<fill-rule>' | ||
| '<filter-function-list>' | ||
| '<filter-function>' | ||
| '<final-bg-layer>' | ||
| '<fixed-breadth>' | ||
| '<fixed-repeat>' | ||
| '<fixed-size>' | ||
| '<flex>' | ||
| '<font-stretch-absolute>' | ||
| '<font-variant-css21>' | ||
| '<font-weight-absolute>' | ||
| '<frequency-percentage>' | ||
| '<frequency>' | ||
| '<function-token>' | ||
| '<gender>' | ||
| '<general-enclosed>' | ||
| '<generic-family>' | ||
| '<generic-name>' | ||
| '<generic-voice>' | ||
| '<geometry-box>' | ||
| '<gradient>' | ||
| '<grayscale()>' | ||
| '<grid-line>' | ||
| '<hash-token>' | ||
| '<hex-color>' | ||
| '<historical-lig-values>' | ||
| '<hsl()>' | ||
| '<hsla()>' | ||
| '<hue-rotate()>' | ||
| '<hue>' | ||
| '<hwb()>' | ||
| '<hypot()>' | ||
| '<id-selector>' | ||
| '<ident-token>' | ||
| '<ident>' | ||
| '<image()>' | ||
| '<image-set()>' | ||
| '<image-set-option>' | ||
| '<image-src>' | ||
| '<image-tags>' | ||
| '<image>' | ||
| '<inflexible-breadth>' | ||
| '<inset()>' | ||
| '<integer>' | ||
| '<invert()>' | ||
| '<keyframe-block-list>' | ||
| '<keyframe-block>' | ||
| '<keyframe-selector>' | ||
| '<keyframes-name>' | ||
| '<lab()>' | ||
| '<layer()>' | ||
| '<layer-name>' | ||
| '<lch()>' | ||
| '<leader()>' | ||
| '<leader-type>' | ||
| '<left>' | ||
| '<length-percentage>' | ||
| '<length>' | ||
| '<line-name-list>' | ||
| '<line-names>' | ||
| '<line-style>' | ||
| '<line-width>' | ||
| '<linear-color-hint>' | ||
| '<linear-color-stop>' | ||
| '<linear-gradient()>' | ||
| '<log()>' | ||
| '<mask-image>' | ||
| '<mask-layer>' | ||
| '<mask-position>' | ||
| '<mask-reference>' | ||
| '<mask-source>' | ||
| '<masking-mode>' | ||
| '<matrix()>' | ||
| '<matrix3d()>' | ||
| '<max()>' | ||
| '<media-and>' | ||
| '<media-condition-without-or>' | ||
| '<media-condition>' | ||
| '<media-feature>' | ||
| '<media-in-parens>' | ||
| '<media-not>' | ||
| '<media-or>' | ||
| '<media-query-list>' | ||
| '<media-query>' | ||
| '<media-type>' | ||
| '<mf-boolean>' | ||
| '<mf-name>' | ||
| '<mf-plain>' | ||
| '<mf-range>' | ||
| '<mf-value>' | ||
| '<min()>' | ||
| '<minmax()>' | ||
| '<mod()>' | ||
| '<name-repeat>' | ||
| '<named-color>' | ||
| '<namespace-prefix>' | ||
| '<ns-prefix>' | ||
| '<nth>' | ||
| '<number-one-or-greater>' | ||
| '<number-percentage>' | ||
| '<number-token>' | ||
| '<number-zero-one>' | ||
| '<number>' | ||
| '<numeric-figure-values>' | ||
| '<numeric-fraction-values>' | ||
| '<numeric-spacing-values>' | ||
| '<opacity()>' | ||
| '<outline-radius>' | ||
| '<overflow-position>' | ||
| '<page-body>' | ||
| '<page-margin-box-type>' | ||
| '<page-margin-box>' | ||
| '<page-selector-list>' | ||
| '<page-selector>' | ||
| '<page-size>' | ||
| '<paint()>' | ||
| '<paint>' | ||
| '<path()>' | ||
| '<percentage-token>' | ||
| '<percentage>' | ||
| '<perspective()>' | ||
| '<polygon()>' | ||
| '<position>' | ||
| '<pow()>' | ||
| '<pseudo-class-selector>' | ||
| '<pseudo-element-selector>' | ||
| '<pseudo-page>' | ||
| '<quote>' | ||
| '<radial-gradient()>' | ||
| '<ratio>' | ||
| '<relative-selector-list>' | ||
| '<relative-selector>' | ||
| '<relative-size>' | ||
| '<rem()>' | ||
| '<repeat-style>' | ||
| '<repeating-conic-gradient()>' | ||
| '<repeating-linear-gradient()>' | ||
| '<repeating-radial-gradient()>' | ||
| '<resolution>' | ||
| '<reversed-counter-name>' | ||
| '<rgb()>' | ||
| '<rgba()>' | ||
| '<right>' | ||
| '<rotate()>' | ||
| '<rotate3d()>' | ||
| '<rotateX()>' | ||
| '<rotateY()>' | ||
| '<rotateZ()>' | ||
| '<round()>' | ||
| '<rounding-strategy>' | ||
| '<saturate()>' | ||
| '<scale()>' | ||
| '<scale3d()>' | ||
| '<scaleX()>' | ||
| '<scaleY()>' | ||
| '<scaleZ()>' | ||
| '<scroll-timeline-axis>' | ||
| '<scroll-timeline-name>' | ||
| '<scroller>' | ||
| '<self-position>' | ||
| '<semicolon-token>' | ||
| '<semitones>' | ||
| '<sepia()>' | ||
| '<shadow-t>' | ||
| '<shadow>' | ||
| '<shape-box>' | ||
| '<shape-radius>' | ||
| '<shape>' | ||
| '<side-or-corner>' | ||
| '<sign()>' | ||
| '<sin()>' | ||
| '<single-animation-composition>' | ||
| '<single-animation-direction>' | ||
| '<single-animation-fill-mode>' | ||
| '<single-animation-iteration-count>' | ||
| '<single-animation-play-state>' | ||
| '<single-animation-timeline>' | ||
| '<single-animation>' | ||
| '<single-transition-property>' | ||
| '<single-transition>' | ||
| '<size>' | ||
| '<skew()>' | ||
| '<skewX()>' | ||
| '<skewY()>' | ||
| '<sqrt()>' | ||
| '<step-position>' | ||
| '<step-timing-function>' | ||
| '<string-token>' | ||
| '<string>' | ||
| '<subclass-selector>' | ||
| '<supports-condition>' | ||
| '<supports-decl>' | ||
| '<supports-feature>' | ||
| '<supports-in-parens>' | ||
| '<supports-selector-fn>' | ||
| '<svg-length>' | ||
| '<svg-writing-mode>' | ||
| '<symbol>' | ||
| '<tan()>' | ||
| '<target-counter()>' | ||
| '<target-counters()>' | ||
| '<target-text()>' | ||
| '<target>' | ||
| '<time-percentage>' | ||
| '<time>' | ||
| '<timeline-name>' | ||
| '<top>' | ||
| '<track-breadth>' | ||
| '<track-list>' | ||
| '<track-repeat>' | ||
| '<track-size>' | ||
| '<transform-function>' | ||
| '<transform-list>' | ||
| '<translate()>' | ||
| '<translate3d()>' | ||
| '<translateX()>' | ||
| '<translateY()>' | ||
| '<translateZ()>' | ||
| '<type-or-unit>' | ||
| '<type-selector>' | ||
| '<urange>' | ||
| '<url-modifier>' | ||
| '<url-token>' | ||
| '<url>' | ||
| '<var()>' | ||
| '<viewport-length>' | ||
| '<visual-box>' | ||
| '<whitespace-token>' | ||
| '<wq-name>' | ||
| '<x>' | ||
| '<y>' | ||
| '<zero>' | ||
| '<{-token>' | ||
| '<}-token>'; | ||
export type ExtendedType = | ||
| "<'color-profile'>" | ||
| "<'color-rendering'>" | ||
| "<'enable-background'>" | ||
| '<animatable-value>' | ||
| '<begin-value-list>' | ||
| '<class-list>' | ||
| '<clock-value>' | ||
| '<color-matrix>' | ||
| '<css-declaration-list>' | ||
| '<dasharray>' | ||
| '<end-value-list>' | ||
| '<key-points>' | ||
| '<key-splines>' | ||
| '<key-times>' | ||
| '<list-of-lengths>' | ||
| '<list-of-numbers>' | ||
| '<list-of-percentages>' | ||
| '<list-of-svg-feature-string>' | ||
| '<list-of-value>' | ||
| '<number-optional-number>' | ||
| '<origin>' | ||
| '<points>' | ||
| '<preserve-aspect-ratio>' | ||
| '<rotate>' | ||
| '<svg-font-size-adjust>' | ||
| '<svg-font-size>' | ||
| '<svg-path>' | ||
| '<system-language>' | ||
| '<text-coordinate>' | ||
| '<view-box>' | ||
| 'AbsoluteURL' | ||
| 'Accept' | ||
| 'Any' | ||
| 'AutoComplete' | ||
| 'BCP47' | ||
| 'BaseURL' | ||
| 'BrowsingContextName' | ||
| 'BrowsingContextNameOrKeyword' | ||
| 'CustomElementName' | ||
| 'DOMID' | ||
| 'DateTime' | ||
| 'FunctionBody' | ||
| 'HTTPSchemaURL' | ||
| 'HashName' | ||
| 'IconSize' | ||
| 'Int' | ||
| 'ItemProp' | ||
| 'MIMEType' | ||
| 'NavigableTargetName' | ||
| 'NavigableTargetNameOrKeyword' | ||
| 'NoEmptyAny' | ||
| 'Number' | ||
| 'OneCodePointChar' | ||
| 'OneLineAny' | ||
| 'Pattern' | ||
| 'SerializedPermissionsPolicy' | ||
| 'SourceSizeList' | ||
| 'Srcset' | ||
| 'TabIndex' | ||
| 'URL' | ||
| 'Uint' | ||
| 'XMLName' | ||
| 'Zero'; | ||
export type HtmlAttrRequirement = 'Boolean'; | ||
export interface TypesSchema { | ||
type?: Type; | ||
type?: Type; | ||
} | ||
@@ -20,13 +1074,15 @@ /** | ||
export interface List { | ||
token: ExtendedType | Enum; | ||
disallowToSurroundBySpaces?: boolean; | ||
allowEmpty?: boolean; | ||
ordered?: boolean; | ||
unique?: boolean; | ||
caseInsensitive?: boolean; | ||
number?: ('zeroOrMore' | 'oneOrMore') | { | ||
min: number; | ||
max: number; | ||
}; | ||
separator: 'space' | 'comma'; | ||
token: ExtendedType | Enum; | ||
disallowToSurroundBySpaces?: boolean; | ||
allowEmpty?: boolean; | ||
ordered?: boolean; | ||
unique?: boolean; | ||
caseInsensitive?: boolean; | ||
number?: | ||
| ('zeroOrMore' | 'oneOrMore') | ||
| { | ||
min: number; | ||
max: number; | ||
}; | ||
separator: 'space' | 'comma'; | ||
} | ||
@@ -37,13 +1093,13 @@ /** | ||
export interface Enum { | ||
/** | ||
* @minItems 1 | ||
*/ | ||
enum: [string, ...string[]]; | ||
disallowToSurroundBySpaces?: boolean; | ||
caseInsensitive?: boolean; | ||
invalidValueDefault?: string; | ||
missingValueDefault?: string; | ||
sameStates?: { | ||
[k: string]: unknown; | ||
}; | ||
/** | ||
* @minItems 1 | ||
*/ | ||
enum: [string, ...string[]]; | ||
disallowToSurroundBySpaces?: boolean; | ||
caseInsensitive?: boolean; | ||
invalidValueDefault?: string; | ||
missingValueDefault?: string; | ||
sameStates?: { | ||
[k: string]: unknown; | ||
}; | ||
} | ||
@@ -54,8 +1110,8 @@ /** | ||
export interface Number { | ||
type: 'float' | 'integer'; | ||
gt?: number; | ||
gte?: number; | ||
lt?: number; | ||
lte?: number; | ||
clampable?: boolean; | ||
type: 'float' | 'integer'; | ||
gt?: number; | ||
gte?: number; | ||
lt?: number; | ||
lte?: number; | ||
clampable?: boolean; | ||
} |
import type { TokenEachCheck } from '../../token/token-collection'; | ||
export declare const datetimeTokenCheck: Record<'year' | 'month' | 'date' | 'hour' | 'minute' | 'second' | 'secondFractionalPart' | 'week' | 'hyphen' | 'colon' | 'extra' | 'colonOrEnd' | 'decimalPointOrEnd' | 'localDateTimeSeparator' | 'normalizedlocalDateTimeSeparator' | 'plusOrMinusSign' | 'weekSign', TokenEachCheck> & Record<'_year' | '_month', number | null>; | ||
export declare const datetimeTokenCheck: Record< | ||
| 'year' | ||
| 'month' | ||
| 'date' | ||
| 'hour' | ||
| 'minute' | ||
| 'second' | ||
| 'secondFractionalPart' | ||
| 'week' | ||
| 'hyphen' | ||
| 'colon' | ||
| 'extra' | ||
| 'colonOrEnd' | ||
| 'decimalPointOrEnd' | ||
| 'localDateTimeSeparator' | ||
| 'normalizedlocalDateTimeSeparator' | ||
| 'plusOrMinusSign' | ||
| 'weekSign', | ||
TokenEachCheck | ||
> & | ||
Record<'_year' | '_month', number | null>; | ||
export declare function getMaxWeekNum(year: number): number; |
@@ -7,2 +7,2 @@ import type { Token } from '../../token'; | ||
export declare const checkTimeZoneOffsetString: CustomSyntaxChecker; | ||
export declare function parseTimeZone(zone: string | Readonly<Token>): import("../../types").Result; | ||
export declare function parseTimeZone(zone: string | Readonly<Token>): import('../../types').Result; |
@@ -7,6 +7,6 @@ import type { CustomSyntaxChecker } from '../types'; | ||
export declare const checkMIMEType: CustomSyntaxChecker<{ | ||
/** | ||
* @see https://mimesniff.spec.whatwg.org/#valid-mime-type-with-no-parameters | ||
*/ | ||
withoutParameters?: boolean; | ||
/** | ||
* @see https://mimesniff.spec.whatwg.org/#valid-mime-type-with-no-parameters | ||
*/ | ||
withoutParameters?: boolean; | ||
}>; |
{ | ||
"name": "@markuplint/types", | ||
"version": "3.11.0", | ||
"version": "3.12.0", | ||
"description": "Type declaration and value checker", | ||
@@ -24,5 +24,5 @@ "repository": "git@github.com:markuplint/markuplint.git", | ||
"@types/bcp-47": "1", | ||
"@types/css-tree": "^2.3.3", | ||
"@types/debug": "^4.1.10", | ||
"@types/whatwg-mimetype": "3.0.1", | ||
"@types/css-tree": "^2.3.4", | ||
"@types/debug": "^4.1.12", | ||
"@types/whatwg-mimetype": "3.0.2", | ||
"bcp-47": "1", | ||
@@ -32,6 +32,6 @@ "css-tree": "^2.3.1", | ||
"leven": "3", | ||
"type-fest": "^4.5.0", | ||
"type-fest": "^4.8.2", | ||
"whatwg-mimetype": "^3.0.0" | ||
}, | ||
"gitHead": "e2adbe92c74631af9c98cb816286287f9f983053" | ||
"gitHead": "b37b749d7ac0f9e6cbd022ee7031bc020c6677d3" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
297709
8339
+ Added@types/whatwg-mimetype@3.0.2(transitive)
- Removed@types/whatwg-mimetype@3.0.1(transitive)
Updated@types/css-tree@^2.3.4
Updated@types/debug@^4.1.12
Updated@types/whatwg-mimetype@3.0.2
Updatedtype-fest@^4.8.2