@markuplint/ml-spec
Advanced tools
Comparing version 3.0.0-alpha.6 to 3.0.0-alpha.27
import type { MLMLSpec } from '../types'; | ||
export declare function getAttrSpecs(el: Element, schema: MLMLSpec): import('../types').Attribute[] | null; | ||
export declare function getAttrSpecs(el: Element, schema: MLMLSpec): import("../types").Attribute[] | null; |
import type { ARIAVersion, MLMLSpec } from '../types'; | ||
type ARIAProps = Record<string, ARIAProp>; | ||
type ARIAProp = { | ||
name: string; | ||
value: string | undefined; | ||
required: boolean; | ||
deprecated: boolean; | ||
from: ARIAPropReferenceType; | ||
name: string; | ||
value: string | undefined; | ||
required: boolean; | ||
deprecated: boolean; | ||
from: ARIAPropReferenceType; | ||
}; | ||
@@ -10,0 +10,0 @@ type ARIAPropReferenceType = 'default' | 'html-attr' | 'aria-attr'; |
import type { ElementSpec } from '../types'; | ||
import type { PermittedContentPattern } from '../types/permitted-structures'; | ||
export declare function getContentModel( | ||
el: Element, | ||
specs: Pick<ElementSpec, 'name' | 'contentModel'>[], | ||
): boolean | PermittedContentPattern[] | null; | ||
export declare function getContentModel(el: Element, specs: Pick<ElementSpec, 'name' | 'contentModel'>[]): boolean | PermittedContentPattern[] | null; |
@@ -16,3 +16,3 @@ "use strict"; | ||
* | ||
* @see https://w3c.github.io/aria/#document-handling_author-errors_roles | ||
* @see https://w3c.github.io/aria/#document-handling_author-errors | ||
*/ | ||
@@ -19,0 +19,0 @@ for (const roleName of roleNames) { |
import type { ARIAVersion, ComputedRole, MLMLSpec } from '../types'; | ||
export declare function getImplicitRole(specs: Readonly<MLMLSpec>, el: Element, version: ARIAVersion): ComputedRole; | ||
export declare function getImplicitRoleName( | ||
el: Element, | ||
version: ARIAVersion, | ||
specs: Readonly<MLMLSpec>, | ||
): import('..').ImplicitRole; | ||
export declare function getImplicitRoleName(el: Element, version: ARIAVersion, specs: Readonly<MLMLSpec>): import("..").ImplicitRole; |
import type { ARIAVersion, MLMLSpec } from '../types'; | ||
export declare function getNonPresentationalAncestor( | ||
el: Element, | ||
specs: MLMLSpec, | ||
version: ARIAVersion, | ||
): | ||
| import('../types').ComputedRole | ||
| { | ||
el: null; | ||
role: null; | ||
}; | ||
export declare function getNonPresentationalAncestor(el: Element, specs: MLMLSpec, version: ARIAVersion): import("../types").ComputedRole | { | ||
el: null; | ||
role: null; | ||
}; |
import type { ARIAVersion, MLMLSpec } from '../types'; | ||
export declare function getPermittedRoles( | ||
el: Element, | ||
version: ARIAVersion, | ||
specs: Readonly<MLMLSpec>, | ||
): { | ||
name: string; | ||
deprecated?: boolean | undefined; | ||
export declare function getPermittedRoles(el: Element, version: ARIAVersion, specs: Readonly<MLMLSpec>): { | ||
name: string; | ||
deprecated?: boolean | undefined; | ||
}[]; |
import type { ElementSpec } from '../types'; | ||
export declare function getSpec<K extends keyof ElementSpec>( | ||
el: Element, | ||
specs: Pick<ElementSpec, 'name' | K>[], | ||
): Pick<ElementSpec, 'name' | K> | null; | ||
export declare function getSpec<K extends keyof ElementSpec>(el: Element, specs: Pick<ElementSpec, 'name' | K>[]): Pick<ElementSpec, "name" | K> | null; |
import type { ARIAVersion, ComputedRole, MLMLSpec } from '../types'; | ||
export declare function hasRequiredOwnedElement(el: Element, specs: Readonly<MLMLSpec>, version: ARIAVersion): boolean; | ||
export declare function isRequiredOwnedElement( | ||
owned: ComputedRole, | ||
query: string, | ||
specs: MLMLSpec, | ||
version: ARIAVersion, | ||
): boolean; | ||
export declare function isRequiredOwnedElement(owned: ComputedRole, query: string, specs: MLMLSpec, version: ARIAVersion): boolean; |
@@ -16,2 +16,3 @@ export * from './dom-traverse/accname-computation'; | ||
export * from './specs/get-spec-by-tag-name'; | ||
export * from './specs/is-nothing-content-model'; | ||
export * from './specs/is-palpable-elements'; | ||
@@ -18,0 +19,0 @@ export * from './specs/is-void-element'; |
@@ -19,2 +19,3 @@ "use strict"; | ||
tslib_1.__exportStar(require("./specs/get-spec-by-tag-name"), exports); | ||
tslib_1.__exportStar(require("./specs/is-nothing-content-model"), exports); | ||
tslib_1.__exportStar(require("./specs/is-palpable-elements"), exports); | ||
@@ -21,0 +22,0 @@ tslib_1.__exportStar(require("./specs/is-void-element"), exports); |
import type { ARIAVersion, MLMLSpec } from '../types'; | ||
export declare function ariaSpecs( | ||
specs: Readonly<MLMLSpec>, | ||
version: ARIAVersion, | ||
): { | ||
roles: import('../types').ARIARoleInSchema[]; | ||
graphicsRoles: import('../types').ARIARoleInSchema[]; | ||
props: import('../types').ARIAProperty[]; | ||
export declare function ariaSpecs(specs: Readonly<MLMLSpec>, version: ARIAVersion): { | ||
roles: import("../types").ARIARoleInSchema[]; | ||
graphicsRoles: import("../types").ARIARoleInSchema[]; | ||
props: import("../types").ARIAProperty[]; | ||
}; |
import type { MLMLSpec } from '../types'; | ||
import type { Category } from '../types/permitted-structures'; | ||
export declare function contentModelCategoryToTagNames( | ||
contentModel: Category, | ||
def: MLMLSpec['def'], | ||
): ReadonlyArray<string>; | ||
export declare function contentModelCategoryToTagNames(contentModel: Category, def: MLMLSpec['def']): ReadonlyArray<string>; |
import type { ARIAVersion, Matches, MLMLSpec } from '../types'; | ||
import type { ARIA } from '../types/aria'; | ||
export declare function getARIA( | ||
specs: Readonly<MLMLSpec>, | ||
localName: string, | ||
namespace: string | null, | ||
version: ARIAVersion, | ||
matches: Matches, | ||
): Omit<ARIA, ARIAVersion | 'conditions'> | null; | ||
export declare function getARIA(specs: Readonly<MLMLSpec>, localName: string, namespace: string | null, version: ARIAVersion, matches: Matches): Omit<ARIA, ARIAVersion | 'conditions'> | null; |
import type { MLMLSpec, Attribute } from '../types'; | ||
import type { NamespaceURI } from '@markuplint/ml-ast'; | ||
export declare function getAttrSpecs( | ||
localName: string, | ||
namespace: NamespaceURI | null, | ||
schema: MLMLSpec, | ||
): Attribute[] | null; | ||
export declare function getAttrSpecs(localName: string, namespace: NamespaceURI | null, schema: MLMLSpec): Attribute[] | null; | ||
type HasName = { | ||
name: string; | ||
name: string; | ||
}; | ||
export declare function nameCompare(a: HasName | string, b: HasName | string): 1 | -1 | 0; | ||
export {}; |
import type { ARIAVersion, Matches, MLMLSpec } from '../types'; | ||
export declare function getImplicitRole( | ||
specs: Readonly<MLMLSpec>, | ||
localName: string, | ||
namespace: string | null, | ||
version: ARIAVersion, | ||
matches: Matches, | ||
): import('..').ImplicitRole; | ||
export declare function getImplicitRole(specs: Readonly<MLMLSpec>, localName: string, namespace: string | null, version: ARIAVersion, matches: Matches): import("..").ImplicitRole; |
@@ -9,11 +9,5 @@ import type { ARIAVersion, Matches, MLMLSpec } from '../types'; | ||
*/ | ||
export declare function getPermittedRoles( | ||
specs: Readonly<MLMLSpec>, | ||
localName: string, | ||
namespace: string | null, | ||
version: ARIAVersion, | ||
matches: Matches, | ||
): { | ||
name: string; | ||
deprecated?: boolean; | ||
export declare function getPermittedRoles(specs: Readonly<MLMLSpec>, localName: string, namespace: string | null, version: ARIAVersion, matches: Matches): { | ||
name: string; | ||
deprecated?: boolean; | ||
}[]; |
import type { ARIAVersion, ARIARoleInSchema, MLMLSpec, ARIARole } from '../types'; | ||
import type { NamespaceURI } from '@markuplint/ml-ast'; | ||
export declare function getRoleSpec( | ||
specs: Readonly<MLMLSpec>, | ||
roleName: string, | ||
namespace: NamespaceURI, | ||
version: ARIAVersion, | ||
): | ||
| (ARIARole & { | ||
superClassRoles: ARIARoleInSchema[]; | ||
}) | ||
| null; | ||
export declare function getRoleSpec(specs: Readonly<MLMLSpec>, roleName: string, namespace: NamespaceURI, version: ARIAVersion): (ARIARole & { | ||
superClassRoles: ARIARoleInSchema[]; | ||
}) | null; |
import type { MLMLSpec } from '../types'; | ||
import type { Category } from '../types/permitted-structures'; | ||
export declare function getSelectorsByContentModelCategory( | ||
specs: Readonly<MLMLSpec>, | ||
category: Category, | ||
): ReadonlyArray<string>; | ||
export declare function getSelectorsByContentModelCategory(specs: Readonly<MLMLSpec>, category: Category): ReadonlyArray<string>; |
import type { ElementSpec } from '../types'; | ||
export declare function getSpecByTagName<K extends keyof ElementSpec = keyof ElementSpec>( | ||
specs: Readonly<Pick<ElementSpec, 'name' | K>[]>, | ||
localName: string, | ||
namespace: string | null, | ||
): Pick<ElementSpec, 'name' | K> | null; | ||
export declare function getSpecByTagName<K extends keyof ElementSpec = keyof ElementSpec>(specs: Readonly<Pick<ElementSpec, 'name' | K>[]>, localName: string, namespace: string | null): Pick<ElementSpec, "name" | K> | null; |
import type { MLMLSpec } from '../types'; | ||
export declare function isPalpableElement( | ||
el: Element, | ||
specs: Readonly<MLMLSpec>, | ||
options?: { | ||
extendsSvg?: boolean; | ||
extendsExposableElements?: boolean; | ||
}, | ||
): boolean; | ||
export declare function isPalpableElement(el: Element, specs: Readonly<MLMLSpec>, options?: { | ||
extendsSvg?: boolean; | ||
extendsExposableElements?: boolean; | ||
}): boolean; |
@@ -5,3 +5,3 @@ import type { ElementSpec, ExtendedSpec, MLMLSpec } from '../types'; | ||
* | ||
* Ex: `@markuplint/html-spec` + `{ specs: ["@markuplint/vue-spec"] }` in configure files. | ||
* Ex: `@markuplint/html-spec` + `{ specs: { "\\.vue$": "@markuplint/vue-spec" } }` in configure files. | ||
* | ||
@@ -11,5 +11,5 @@ * @param schemas `MLDocument.schemas` | ||
export declare function schemaToSpec(schemas: readonly [MLMLSpec, ...ExtendedSpec[]]): { | ||
cites: import('../types').Cites; | ||
def: import('../types').SpecDefs; | ||
specs: ElementSpec[]; | ||
cites: import("../types").Cites; | ||
def: import("../types").SpecDefs; | ||
specs: ElementSpec[]; | ||
}; |
@@ -8,3 +8,3 @@ "use strict"; | ||
* | ||
* Ex: `@markuplint/html-spec` + `{ specs: ["@markuplint/vue-spec"] }` in configure files. | ||
* Ex: `@markuplint/html-spec` + `{ specs: { "\\.vue$": "@markuplint/vue-spec" } }` in configure files. | ||
* | ||
@@ -11,0 +11,0 @@ * @param schemas `MLDocument.schemas` |
@@ -13,16 +13,10 @@ /** | ||
*/ | ||
export type PermittedRoles = | ||
| boolean | ||
| ( | ||
| string | ||
| { | ||
name: string; | ||
deprecated?: true; | ||
[k: string]: unknown; | ||
} | ||
)[] | ||
| { | ||
'core-aam'?: true; | ||
'graphics-aam'?: true; | ||
}; | ||
export type PermittedRoles = boolean | (string | { | ||
name: string; | ||
deprecated?: true; | ||
[k: string]: unknown; | ||
})[] | { | ||
'core-aam'?: true; | ||
'graphics-aam'?: true; | ||
}; | ||
/** | ||
@@ -32,121 +26,113 @@ * If set false: | ||
*/ | ||
export type PermittedARIAProperties = | ||
| false | ||
| { | ||
global?: true; | ||
/** | ||
* Set true if the spec says "and any aria-* attributes applicable to the allowed roles." | ||
*/ | ||
role?: true | string | [string, ...string[]]; | ||
/** | ||
* @minItems 1 | ||
*/ | ||
only?: [ | ||
( | ||
| string | ||
| { | ||
name: string; | ||
value?: string; | ||
} | ||
), | ||
...( | ||
| string | ||
| { | ||
name: string; | ||
value?: string; | ||
} | ||
)[], | ||
]; | ||
/** | ||
* @minItems 1 | ||
*/ | ||
without?: [ | ||
{ | ||
type: 'not-recommended' | 'should-not' | 'must-not'; | ||
name: string; | ||
value?: string; | ||
alt?: { | ||
method: 'remove-attr' | 'set-attr'; | ||
target: string; | ||
}; | ||
}, | ||
...{ | ||
type: 'not-recommended' | 'should-not' | 'must-not'; | ||
name: string; | ||
value?: string; | ||
alt?: { | ||
method: 'remove-attr' | 'set-attr'; | ||
target: string; | ||
}; | ||
}[], | ||
]; | ||
}; | ||
export type PermittedARIAProperties = false | { | ||
global?: true; | ||
/** | ||
* Set true if the spec says "and any aria-* attributes applicable to the allowed roles." | ||
*/ | ||
role?: true | string | [string, ...string[]]; | ||
/** | ||
* @minItems 1 | ||
*/ | ||
only?: [ | ||
(string | { | ||
name: string; | ||
value?: string; | ||
}), | ||
...(string | { | ||
name: string; | ||
value?: string; | ||
})[] | ||
]; | ||
/** | ||
* @minItems 1 | ||
*/ | ||
without?: [ | ||
{ | ||
type: 'not-recommended' | 'should-not' | 'must-not'; | ||
name: string; | ||
value?: string; | ||
alt?: { | ||
method: 'remove-attr' | 'set-attr'; | ||
target: string; | ||
}; | ||
}, | ||
...{ | ||
type: 'not-recommended' | 'should-not' | 'must-not'; | ||
name: string; | ||
value?: string; | ||
alt?: { | ||
method: 'remove-attr' | 'set-attr'; | ||
target: string; | ||
}; | ||
}[] | ||
]; | ||
}; | ||
export interface AriaSchema { | ||
_?: ARIA; | ||
[k: string]: unknown; | ||
_?: ARIA; | ||
[k: string]: unknown; | ||
} | ||
export interface ARIA { | ||
implicitRole: ImplicitRole; | ||
permittedRoles: PermittedRoles; | ||
namingProhibited?: true; | ||
implicitProperties?: ImplicitProperties; | ||
properties?: PermittedARIAProperties; | ||
conditions?: { | ||
/** | ||
* This interface was referenced by `undefined`'s JSON-Schema definition | ||
* via the `patternProperty` ".+". | ||
*/ | ||
[k: string]: { | ||
implicitRole?: ImplicitRole; | ||
permittedRoles?: PermittedRoles; | ||
namingProhibited?: true; | ||
implicitProperties?: ImplicitProperties; | ||
properties?: PermittedARIAProperties; | ||
}; | ||
}; | ||
'1.2'?: { | ||
implicitRole?: ImplicitRole; | ||
permittedRoles?: PermittedRoles; | ||
namingProhibited?: true; | ||
implicitProperties?: ImplicitProperties; | ||
properties?: PermittedARIAProperties; | ||
conditions?: { | ||
/** | ||
* This interface was referenced by `undefined`'s JSON-Schema definition | ||
* via the `patternProperty` ".+". | ||
*/ | ||
[k: string]: { | ||
implicitRole?: ImplicitRole; | ||
permittedRoles?: PermittedRoles; | ||
namingProhibited?: true; | ||
implicitProperties?: ImplicitProperties; | ||
properties?: PermittedARIAProperties; | ||
}; | ||
}; | ||
}; | ||
'1.1'?: { | ||
implicitRole?: ImplicitRole; | ||
permittedRoles?: PermittedRoles; | ||
implicitProperties?: ImplicitProperties; | ||
properties?: PermittedARIAProperties; | ||
conditions?: { | ||
/** | ||
* This interface was referenced by `undefined`'s JSON-Schema definition | ||
* via the `patternProperty` ".+". | ||
*/ | ||
[k: string]: { | ||
implicitRole?: ImplicitRole; | ||
permittedRoles?: PermittedRoles; | ||
implicitProperties?: ImplicitProperties; | ||
properties?: PermittedARIAProperties; | ||
}; | ||
}; | ||
}; | ||
implicitRole: ImplicitRole; | ||
permittedRoles: PermittedRoles; | ||
namingProhibited?: true; | ||
implicitProperties?: ImplicitProperties; | ||
properties?: PermittedARIAProperties; | ||
conditions?: { | ||
/** | ||
* This interface was referenced by `undefined`'s JSON-Schema definition | ||
* via the `patternProperty` ".+". | ||
*/ | ||
[k: string]: { | ||
implicitRole?: ImplicitRole; | ||
permittedRoles?: PermittedRoles; | ||
namingProhibited?: true; | ||
implicitProperties?: ImplicitProperties; | ||
properties?: PermittedARIAProperties; | ||
}; | ||
}; | ||
'1.2'?: { | ||
implicitRole?: ImplicitRole; | ||
permittedRoles?: PermittedRoles; | ||
namingProhibited?: true; | ||
implicitProperties?: ImplicitProperties; | ||
properties?: PermittedARIAProperties; | ||
conditions?: { | ||
/** | ||
* This interface was referenced by `undefined`'s JSON-Schema definition | ||
* via the `patternProperty` ".+". | ||
*/ | ||
[k: string]: { | ||
implicitRole?: ImplicitRole; | ||
permittedRoles?: PermittedRoles; | ||
namingProhibited?: true; | ||
implicitProperties?: ImplicitProperties; | ||
properties?: PermittedARIAProperties; | ||
}; | ||
}; | ||
}; | ||
'1.1'?: { | ||
implicitRole?: ImplicitRole; | ||
permittedRoles?: PermittedRoles; | ||
implicitProperties?: ImplicitProperties; | ||
properties?: PermittedARIAProperties; | ||
conditions?: { | ||
/** | ||
* This interface was referenced by `undefined`'s JSON-Schema definition | ||
* via the `patternProperty` ".+". | ||
*/ | ||
[k: string]: { | ||
implicitRole?: ImplicitRole; | ||
permittedRoles?: PermittedRoles; | ||
implicitProperties?: ImplicitProperties; | ||
properties?: PermittedARIAProperties; | ||
}; | ||
}; | ||
}; | ||
} | ||
export interface ImplicitProperties { | ||
/** | ||
* This interface was referenced by `ImplicitProperties`'s JSON-Schema definition | ||
* via the `patternProperty` "^aria-.+". | ||
*/ | ||
[k: string]: string; | ||
/** | ||
* This interface was referenced by `ImplicitProperties`'s JSON-Schema definition | ||
* via the `patternProperty` "^aria-.+". | ||
*/ | ||
[k: string]: string; | ||
} |
@@ -6,1341 +6,81 @@ /** | ||
*/ | ||
export type AttributeType = | ||
| ( | ||
| ( | ||
| "<'--*'>" | ||
| "<'-ms-accelerator'>" | ||
| "<'-ms-block-progression'>" | ||
| "<'-ms-content-zoom-chaining'>" | ||
| "<'-ms-content-zooming'>" | ||
| "<'-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-filter'>" | ||
| "<'-ms-flow-from'>" | ||
| "<'-ms-flow-into'>" | ||
| "<'-ms-grid-columns'>" | ||
| "<'-ms-grid-rows'>" | ||
| "<'-ms-high-contrast-adjust'>" | ||
| "<'-ms-hyphenate-limit-chars'>" | ||
| "<'-ms-hyphenate-limit-lines'>" | ||
| "<'-ms-hyphenate-limit-zone'>" | ||
| "<'-ms-ime-align'>" | ||
| "<'-ms-overflow-style'>" | ||
| "<'-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-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-text-autospace'>" | ||
| "<'-ms-touch-select'>" | ||
| "<'-ms-user-select'>" | ||
| "<'-ms-wrap-flow'>" | ||
| "<'-ms-wrap-margin'>" | ||
| "<'-ms-wrap-through'>" | ||
| "<'-moz-appearance'>" | ||
| "<'-moz-binding'>" | ||
| "<'-moz-border-bottom-colors'>" | ||
| "<'-moz-border-left-colors'>" | ||
| "<'-moz-border-right-colors'>" | ||
| "<'-moz-border-top-colors'>" | ||
| "<'-moz-context-properties'>" | ||
| "<'-moz-float-edge'>" | ||
| "<'-moz-force-broken-image-icon'>" | ||
| "<'-moz-image-region'>" | ||
| "<'-moz-orient'>" | ||
| "<'-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-window-dragging'>" | ||
| "<'-moz-window-shadow'>" | ||
| "<'-webkit-appearance'>" | ||
| "<'-webkit-border-before'>" | ||
| "<'-webkit-border-before-color'>" | ||
| "<'-webkit-border-before-style'>" | ||
| "<'-webkit-border-before-width'>" | ||
| "<'-webkit-box-reflect'>" | ||
| "<'-webkit-line-clamp'>" | ||
| "<'-webkit-mask'>" | ||
| "<'-webkit-mask-attachment'>" | ||
| "<'-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-tap-highlight-color'>" | ||
| "<'-webkit-text-fill-color'>" | ||
| "<'-webkit-text-stroke'>" | ||
| "<'-webkit-text-stroke-color'>" | ||
| "<'-webkit-text-stroke-width'>" | ||
| "<'-webkit-touch-callout'>" | ||
| "<'-webkit-user-modify'>" | ||
| "<'align-content'>" | ||
| "<'align-items'>" | ||
| "<'align-self'>" | ||
| "<'align-tracks'>" | ||
| "<'all'>" | ||
| "<'animation'>" | ||
| "<'animation-delay'>" | ||
| "<'animation-direction'>" | ||
| "<'animation-duration'>" | ||
| "<'animation-fill-mode'>" | ||
| "<'animation-iteration-count'>" | ||
| "<'animation-name'>" | ||
| "<'animation-play-state'>" | ||
| "<'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'>" | ||
| "<'block-overflow'>" | ||
| "<'block-size'>" | ||
| "<'border'>" | ||
| "<'border-block'>" | ||
| "<'border-block-color'>" | ||
| "<'border-block-style'>" | ||
| "<'border-block-width'>" | ||
| "<'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-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-end'>" | ||
| "<'border-inline-color'>" | ||
| "<'border-inline-style'>" | ||
| "<'border-inline-width'>" | ||
| "<'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-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-color'>" | ||
| "<'clear'>" | ||
| "<'clip'>" | ||
| "<'clip-path'>" | ||
| "<'color'>" | ||
| "<'color-adjust'>" | ||
| "<'column-count'>" | ||
| "<'column-fill'>" | ||
| "<'column-gap'>" | ||
| "<'column-rule'>" | ||
| "<'column-rule-color'>" | ||
| "<'column-rule-style'>" | ||
| "<'column-rule-width'>" | ||
| "<'column-span'>" | ||
| "<'column-width'>" | ||
| "<'columns'>" | ||
| "<'contain'>" | ||
| "<'content'>" | ||
| "<'counter-increment'>" | ||
| "<'counter-reset'>" | ||
| "<'counter-set'>" | ||
| "<'cursor'>" | ||
| "<'direction'>" | ||
| "<'display'>" | ||
| "<'empty-cells'>" | ||
| "<'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-variation-settings'>" | ||
| "<'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-weight'>" | ||
| "<'gap'>" | ||
| "<'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'>" | ||
| "<'hyphens'>" | ||
| "<'image-orientation'>" | ||
| "<'image-rendering'>" | ||
| "<'image-resolution'>" | ||
| "<'ime-mode'>" | ||
| "<'initial-letter'>" | ||
| "<'initial-letter-align'>" | ||
| "<'inline-size'>" | ||
| "<'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'>" | ||
| "<'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'>" | ||
| "<'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-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-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'>" | ||
| "<'perspective'>" | ||
| "<'perspective-origin'>" | ||
| "<'place-content'>" | ||
| "<'place-items'>" | ||
| "<'place-self'>" | ||
| "<'pointer-events'>" | ||
| "<'position'>" | ||
| "<'quotes'>" | ||
| "<'resize'>" | ||
| "<'right'>" | ||
| "<'rotate'>" | ||
| "<'row-gap'>" | ||
| "<'ruby-align'>" | ||
| "<'ruby-merge'>" | ||
| "<'ruby-position'>" | ||
| "<'scale'>" | ||
| "<'scrollbar-color'>" | ||
| "<'scrollbar-gutter'>" | ||
| "<'scrollbar-width'>" | ||
| "<'scroll-behavior'>" | ||
| "<'scroll-margin'>" | ||
| "<'scroll-margin-block'>" | ||
| "<'scroll-margin-block-start'>" | ||
| "<'scroll-margin-block-end'>" | ||
| "<'scroll-margin-bottom'>" | ||
| "<'scroll-margin-inline'>" | ||
| "<'scroll-margin-inline-start'>" | ||
| "<'scroll-margin-inline-end'>" | ||
| "<'scroll-margin-left'>" | ||
| "<'scroll-margin-right'>" | ||
| "<'scroll-margin-top'>" | ||
| "<'scroll-padding'>" | ||
| "<'scroll-padding-block'>" | ||
| "<'scroll-padding-block-start'>" | ||
| "<'scroll-padding-block-end'>" | ||
| "<'scroll-padding-bottom'>" | ||
| "<'scroll-padding-inline'>" | ||
| "<'scroll-padding-inline-start'>" | ||
| "<'scroll-padding-inline-end'>" | ||
| "<'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'>" | ||
| "<'shape-image-threshold'>" | ||
| "<'shape-margin'>" | ||
| "<'shape-outside'>" | ||
| "<'tab-size'>" | ||
| "<'table-layout'>" | ||
| "<'text-align'>" | ||
| "<'text-align-last'>" | ||
| "<'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'>" | ||
| "<'user-select'>" | ||
| "<'vertical-align'>" | ||
| "<'visibility'>" | ||
| "<'white-space'>" | ||
| "<'widows'>" | ||
| "<'width'>" | ||
| "<'will-change'>" | ||
| "<'word-break'>" | ||
| "<'word-spacing'>" | ||
| "<'word-wrap'>" | ||
| "<'writing-mode'>" | ||
| "<'z-index'>" | ||
| "<'zoom'>" | ||
| "<'-moz-background-clip'>" | ||
| "<'-moz-border-radius-bottomleft'>" | ||
| "<'-moz-border-radius-bottomright'>" | ||
| "<'-moz-border-radius-topleft'>" | ||
| "<'-moz-border-radius-topright'>" | ||
| "<'-moz-control-character-visibility'>" | ||
| "<'-moz-osx-font-smoothing'>" | ||
| "<'-moz-user-select'>" | ||
| "<'-ms-flex-align'>" | ||
| "<'-ms-flex-item-align'>" | ||
| "<'-ms-flex-line-pack'>" | ||
| "<'-ms-flex-negative'>" | ||
| "<'-ms-flex-pack'>" | ||
| "<'-ms-flex-order'>" | ||
| "<'-ms-flex-positive'>" | ||
| "<'-ms-flex-preferred-size'>" | ||
| "<'-ms-interpolation-mode'>" | ||
| "<'-ms-grid-column-align'>" | ||
| "<'-ms-grid-row-align'>" | ||
| "<'-ms-hyphenate-limit-last'>" | ||
| "<'-webkit-background-clip'>" | ||
| "<'-webkit-column-break-after'>" | ||
| "<'-webkit-column-break-before'>" | ||
| "<'-webkit-column-break-inside'>" | ||
| "<'-webkit-font-smoothing'>" | ||
| "<'-webkit-mask-box-image'>" | ||
| "<'-webkit-print-color-adjust'>" | ||
| "<'-webkit-text-security'>" | ||
| "<'-webkit-user-drag'>" | ||
| "<'-webkit-user-select'>" | ||
| "<'alignment-baseline'>" | ||
| "<'baseline-shift'>" | ||
| "<'behavior'>" | ||
| "<'clip-rule'>" | ||
| "<'cue'>" | ||
| "<'cue-after'>" | ||
| "<'cue-before'>" | ||
| "<'dominant-baseline'>" | ||
| "<'fill'>" | ||
| "<'fill-opacity'>" | ||
| "<'fill-rule'>" | ||
| "<'glyph-orientation-horizontal'>" | ||
| "<'glyph-orientation-vertical'>" | ||
| "<'kerning'>" | ||
| "<'marker'>" | ||
| "<'marker-end'>" | ||
| "<'marker-mid'>" | ||
| "<'marker-start'>" | ||
| "<'pause'>" | ||
| "<'pause-after'>" | ||
| "<'pause-before'>" | ||
| "<'rest'>" | ||
| "<'rest-after'>" | ||
| "<'rest-before'>" | ||
| "<'shape-rendering'>" | ||
| "<'src'>" | ||
| "<'speak'>" | ||
| "<'speak-as'>" | ||
| "<'stroke'>" | ||
| "<'stroke-dasharray'>" | ||
| "<'stroke-dashoffset'>" | ||
| "<'stroke-linecap'>" | ||
| "<'stroke-linejoin'>" | ||
| "<'stroke-miterlimit'>" | ||
| "<'stroke-opacity'>" | ||
| "<'stroke-width'>" | ||
| "<'text-anchor'>" | ||
| "<'unicode-range'>" | ||
| "<'voice-balance'>" | ||
| "<'voice-duration'>" | ||
| "<'voice-family'>" | ||
| "<'voice-pitch'>" | ||
| "<'voice-range'>" | ||
| "<'voice-rate'>" | ||
| "<'voice-stress'>" | ||
| "<'voice-volume'>" | ||
| '<absolute-size>' | ||
| '<alpha-value>' | ||
| '<angle-percentage>' | ||
| '<angular-color-hint>' | ||
| '<angular-color-stop>' | ||
| '<angular-color-stop-list>' | ||
| '<animateable-feature>' | ||
| '<attachment>' | ||
| '<attr()>' | ||
| '<attr-matcher>' | ||
| '<attr-modifier>' | ||
| '<attribute-selector>' | ||
| '<auto-repeat>' | ||
| '<auto-track-list>' | ||
| '<baseline-position>' | ||
| '<basic-shape>' | ||
| '<bg-image>' | ||
| '<bg-layer>' | ||
| '<bg-position>' | ||
| '<bg-size>' | ||
| '<blur()>' | ||
| '<blend-mode>' | ||
| '<box>' | ||
| '<brightness()>' | ||
| '<calc()>' | ||
| '<calc-sum>' | ||
| '<calc-product>' | ||
| '<calc-value>' | ||
| '<cf-final-image>' | ||
| '<cf-mixing-image>' | ||
| '<circle()>' | ||
| '<clamp()>' | ||
| '<class-selector>' | ||
| '<clip-source>' | ||
| '<color>' | ||
| '<color-stop>' | ||
| '<color-stop-angle>' | ||
| '<color-stop-length>' | ||
| '<color-stop-list>' | ||
| '<combinator>' | ||
| '<common-lig-values>' | ||
| '<compat-auto>' | ||
| '<composite-style>' | ||
| '<compositing-operator>' | ||
| '<compound-selector>' | ||
| '<compound-selector-list>' | ||
| '<complex-selector>' | ||
| '<complex-selector-list>' | ||
| '<conic-gradient()>' | ||
| '<contextual-alt-values>' | ||
| '<content-distribution>' | ||
| '<content-list>' | ||
| '<content-position>' | ||
| '<content-replacement>' | ||
| '<contrast()>' | ||
| '<counter()>' | ||
| '<counter-style>' | ||
| '<counter-style-name>' | ||
| '<counters()>' | ||
| '<cross-fade()>' | ||
| '<cubic-bezier-timing-function>' | ||
| '<deprecated-system-color>' | ||
| '<discretionary-lig-values>' | ||
| '<display-box>' | ||
| '<display-inside>' | ||
| '<display-internal>' | ||
| '<display-legacy>' | ||
| '<display-listitem>' | ||
| '<display-outside>' | ||
| '<drop-shadow()>' | ||
| '<east-asian-variant-values>' | ||
| '<east-asian-width-values>' | ||
| '<element()>' | ||
| '<ellipse()>' | ||
| '<ending-shape>' | ||
| '<env()>' | ||
| '<explicit-track-list>' | ||
| '<family-name>' | ||
| '<feature-tag-value>' | ||
| '<feature-type>' | ||
| '<feature-value-block>' | ||
| '<feature-value-block-list>' | ||
| '<feature-value-declaration>' | ||
| '<feature-value-declaration-list>' | ||
| '<feature-value-name>' | ||
| '<fill-rule>' | ||
| '<filter-function>' | ||
| '<filter-function-list>' | ||
| '<final-bg-layer>' | ||
| '<fit-content()>' | ||
| '<fixed-breadth>' | ||
| '<fixed-repeat>' | ||
| '<fixed-size>' | ||
| '<font-stretch-absolute>' | ||
| '<font-variant-css21>' | ||
| '<font-weight-absolute>' | ||
| '<frequency-percentage>' | ||
| '<general-enclosed>' | ||
| '<generic-family>' | ||
| '<generic-name>' | ||
| '<geometry-box>' | ||
| '<gradient>' | ||
| '<grayscale()>' | ||
| '<grid-line>' | ||
| '<historical-lig-values>' | ||
| '<hsl()>' | ||
| '<hsla()>' | ||
| '<hue>' | ||
| '<hue-rotate()>' | ||
| '<id-selector>' | ||
| '<image>' | ||
| '<image()>' | ||
| '<image-set()>' | ||
| '<image-set-option>' | ||
| '<image-src>' | ||
| '<image-tags>' | ||
| '<inflexible-breadth>' | ||
| '<inset()>' | ||
| '<invert()>' | ||
| '<keyframes-name>' | ||
| '<keyframe-block>' | ||
| '<keyframe-block-list>' | ||
| '<keyframe-selector>' | ||
| '<leader()>' | ||
| '<leader-type>' | ||
| '<length-percentage>' | ||
| '<line-names>' | ||
| '<line-name-list>' | ||
| '<line-style>' | ||
| '<line-width>' | ||
| '<linear-color-hint>' | ||
| '<linear-color-stop>' | ||
| '<linear-gradient()>' | ||
| '<mask-layer>' | ||
| '<mask-position>' | ||
| '<mask-reference>' | ||
| '<mask-source>' | ||
| '<masking-mode>' | ||
| '<matrix()>' | ||
| '<matrix3d()>' | ||
| '<max()>' | ||
| '<media-and>' | ||
| '<media-condition>' | ||
| '<media-condition-without-or>' | ||
| '<media-feature>' | ||
| '<media-in-parens>' | ||
| '<media-not>' | ||
| '<media-or>' | ||
| '<media-query>' | ||
| '<media-query-list>' | ||
| '<media-type>' | ||
| '<mf-boolean>' | ||
| '<mf-name>' | ||
| '<mf-plain>' | ||
| '<mf-range>' | ||
| '<mf-value>' | ||
| '<min()>' | ||
| '<minmax()>' | ||
| '<named-color>' | ||
| '<namespace-prefix>' | ||
| '<ns-prefix>' | ||
| '<number-percentage>' | ||
| '<numeric-figure-values>' | ||
| '<numeric-fraction-values>' | ||
| '<numeric-spacing-values>' | ||
| '<nth>' | ||
| '<opacity()>' | ||
| '<overflow-position>' | ||
| '<outline-radius>' | ||
| '<page-body>' | ||
| '<page-margin-box>' | ||
| '<page-margin-box-type>' | ||
| '<page-selector-list>' | ||
| '<page-selector>' | ||
| '<path()>' | ||
| '<paint()>' | ||
| '<perspective()>' | ||
| '<polygon()>' | ||
| '<position>' | ||
| '<pseudo-class-selector>' | ||
| '<pseudo-element-selector>' | ||
| '<pseudo-page>' | ||
| '<quote>' | ||
| '<radial-gradient()>' | ||
| '<relative-selector>' | ||
| '<relative-selector-list>' | ||
| '<relative-size>' | ||
| '<repeat-style>' | ||
| '<repeating-linear-gradient()>' | ||
| '<repeating-radial-gradient()>' | ||
| '<rgb()>' | ||
| '<rgba()>' | ||
| '<rotate()>' | ||
| '<rotate3d()>' | ||
| '<rotateX()>' | ||
| '<rotateY()>' | ||
| '<rotateZ()>' | ||
| '<saturate()>' | ||
| '<scale()>' | ||
| '<scale3d()>' | ||
| '<scaleX()>' | ||
| '<scaleY()>' | ||
| '<scaleZ()>' | ||
| '<self-position>' | ||
| '<shape-radius>' | ||
| '<skew()>' | ||
| '<skewX()>' | ||
| '<skewY()>' | ||
| '<sepia()>' | ||
| '<shadow>' | ||
| '<shadow-t>' | ||
| '<shape>' | ||
| '<shape-box>' | ||
| '<side-or-corner>' | ||
| '<single-animation>' | ||
| '<single-animation-direction>' | ||
| '<single-animation-fill-mode>' | ||
| '<single-animation-iteration-count>' | ||
| '<single-animation-play-state>' | ||
| '<single-transition>' | ||
| '<single-transition-property>' | ||
| '<size>' | ||
| '<step-position>' | ||
| '<step-timing-function>' | ||
| '<subclass-selector>' | ||
| '<supports-condition>' | ||
| '<supports-in-parens>' | ||
| '<supports-feature>' | ||
| '<supports-decl>' | ||
| '<supports-selector-fn>' | ||
| '<symbol>' | ||
| '<target>' | ||
| '<target-counter()>' | ||
| '<target-counters()>' | ||
| '<target-text()>' | ||
| '<time-percentage>' | ||
| '<timing-function>' | ||
| '<track-breadth>' | ||
| '<track-list>' | ||
| '<track-repeat>' | ||
| '<track-size>' | ||
| '<transform-function>' | ||
| '<transform-list>' | ||
| '<translate()>' | ||
| '<translate3d()>' | ||
| '<translateX()>' | ||
| '<translateY()>' | ||
| '<translateZ()>' | ||
| '<type-or-unit>' | ||
| '<type-selector>' | ||
| '<var()>' | ||
| '<viewport-length>' | ||
| '<wq-name>' | ||
| '<-legacy-gradient>' | ||
| '<-legacy-linear-gradient>' | ||
| '<-legacy-repeating-linear-gradient>' | ||
| '<-legacy-linear-gradient-arguments>' | ||
| '<-legacy-radial-gradient>' | ||
| '<-legacy-repeating-radial-gradient>' | ||
| '<-legacy-radial-gradient-arguments>' | ||
| '<-legacy-radial-gradient-size>' | ||
| '<-legacy-radial-gradient-shape>' | ||
| '<-non-standard-font>' | ||
| '<-non-standard-color>' | ||
| '<-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>' | ||
| '<-ms-filter-function-list>' | ||
| '<-ms-filter-function>' | ||
| '<-ms-filter-function-progid>' | ||
| '<-ms-filter-function-legacy>' | ||
| '<-ms-filter>' | ||
| '<age>' | ||
| '<attr-name>' | ||
| '<attr-fallback>' | ||
| '<border-radius>' | ||
| '<bottom>' | ||
| '<generic-voice>' | ||
| '<gender>' | ||
| '<left>' | ||
| '<mask-image>' | ||
| '<name-repeat>' | ||
| '<paint>' | ||
| '<page-size>' | ||
| '<ratio>' | ||
| '<right>' | ||
| '<svg-length>' | ||
| '<svg-writing-mode>' | ||
| '<top>' | ||
| '<track-group>' | ||
| '<track-list-v0>' | ||
| '<track-minmax>' | ||
| '<x>' | ||
| '<y>' | ||
| '<declaration>' | ||
| '<declaration-list>' | ||
| '<url>' | ||
| '<url-modifier>' | ||
| '<number-zero-one>' | ||
| '<number-one-or-greater>' | ||
| '<positive-integer>' | ||
| '<-non-standard-display>' | ||
| '<ident-token>' | ||
| '<function-token>' | ||
| '<at-keyword-token>' | ||
| '<hash-token>' | ||
| '<string-token>' | ||
| '<bad-string-token>' | ||
| '<url-token>' | ||
| '<bad-url-token>' | ||
| '<delim-token>' | ||
| '<number-token>' | ||
| '<percentage-token>' | ||
| '<dimension-token>' | ||
| '<whitespace-token>' | ||
| '<CDO-token>' | ||
| '<CDC-token>' | ||
| '<colon-token>' | ||
| '<semicolon-token>' | ||
| '<comma-token>' | ||
| '<[-token>' | ||
| '<]-token>' | ||
| '<(-token>' | ||
| '<)-token>' | ||
| '<{-token>' | ||
| '<}-token>' | ||
| '<string>' | ||
| '<ident>' | ||
| '<custom-ident>' | ||
| '<custom-property-name>' | ||
| '<hex-color>' | ||
| '<an-plus-b>' | ||
| '<urange>' | ||
| '<declaration-value>' | ||
| '<any-value>' | ||
| '<dimension>' | ||
| '<angle>' | ||
| '<decibel>' | ||
| '<frequency>' | ||
| '<flex>' | ||
| '<length>' | ||
| '<resolution>' | ||
| '<semitones>' | ||
| '<time>' | ||
| '<percentage>' | ||
| '<zero>' | ||
| '<number>' | ||
| '<integer>' | ||
| '<-ms-legacy-expression>' | ||
| '<bcp-47>' | ||
) | ||
| ( | ||
| 'Any' | ||
| 'NoEmptyAny' | ||
| 'OneLineAny' | ||
| 'Zero' | ||
| 'Number' | ||
| 'Int' | ||
| 'Uint' | ||
| 'XMLName' | ||
| 'DOMID' | ||
| 'FunctionBody' | ||
| 'Pattern' | ||
| 'DateTime' | ||
| 'TabIndex' | ||
| 'BCP47' | ||
| 'URL' | ||
| 'AbsoluteURL' | ||
| 'HashName' | ||
| 'OneCodePointChar' | ||
| 'CustomElementName' | ||
| 'BrowsingContextName' | ||
| 'BrowsingContextNameOrKeyword' | ||
| 'HTTPSchemaURL' | ||
| 'MIMEType' | ||
| 'ItemProp' | ||
| 'Srcset' | ||
| 'SourceSizeList' | ||
| 'IconSize' | ||
| 'AutoComplete' | ||
| 'Accept' | ||
| 'SerializedPermissionsPolicy' | ||
| '<css-declaration-list>' | ||
| '<class-list>' | ||
| '<svg-font-size>' | ||
| '<svg-font-size-adjust>' | ||
| "<'color-profile'>" | ||
| "<'color-rendering'>" | ||
| "<'enable-background'>" | ||
| '<list-of-svg-feature-string>' | ||
| '<animatable-value>' | ||
| '<begin-value-list>' | ||
| '<end-value-list>' | ||
| '<list-of-value>' | ||
| '<clock-value>' | ||
| '<color-matrix>' | ||
| '<dasharray>' | ||
| '<key-points>' | ||
| '<key-splines>' | ||
| '<key-times>' | ||
| '<system-language>' | ||
| '<origin>' | ||
| '<svg-path>' | ||
| '<points>' | ||
| '<preserve-aspect-ratio>' | ||
| '<view-box>' | ||
| '<rotate>' | ||
| '<text-coordinate>' | ||
| '<list-of-lengths>' | ||
| '<list-of-numbers>' | ||
| '<list-of-percentages>' | ||
| '<number-optional-number>' | ||
) | ||
| 'Boolean' | ||
) | ||
| List | ||
| Enum | ||
| Number; | ||
export type AttributeType = (("<'--*'>" | "<'-ms-accelerator'>" | "<'-ms-block-progression'>" | "<'-ms-content-zoom-chaining'>" | "<'-ms-content-zooming'>" | "<'-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-filter'>" | "<'-ms-flow-from'>" | "<'-ms-flow-into'>" | "<'-ms-grid-columns'>" | "<'-ms-grid-rows'>" | "<'-ms-high-contrast-adjust'>" | "<'-ms-hyphenate-limit-chars'>" | "<'-ms-hyphenate-limit-lines'>" | "<'-ms-hyphenate-limit-zone'>" | "<'-ms-ime-align'>" | "<'-ms-overflow-style'>" | "<'-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-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-text-autospace'>" | "<'-ms-touch-select'>" | "<'-ms-user-select'>" | "<'-ms-wrap-flow'>" | "<'-ms-wrap-margin'>" | "<'-ms-wrap-through'>" | "<'-moz-appearance'>" | "<'-moz-binding'>" | "<'-moz-border-bottom-colors'>" | "<'-moz-border-left-colors'>" | "<'-moz-border-right-colors'>" | "<'-moz-border-top-colors'>" | "<'-moz-context-properties'>" | "<'-moz-float-edge'>" | "<'-moz-force-broken-image-icon'>" | "<'-moz-image-region'>" | "<'-moz-orient'>" | "<'-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-window-dragging'>" | "<'-moz-window-shadow'>" | "<'-webkit-appearance'>" | "<'-webkit-border-before'>" | "<'-webkit-border-before-color'>" | "<'-webkit-border-before-style'>" | "<'-webkit-border-before-width'>" | "<'-webkit-box-reflect'>" | "<'-webkit-line-clamp'>" | "<'-webkit-mask'>" | "<'-webkit-mask-attachment'>" | "<'-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-tap-highlight-color'>" | "<'-webkit-text-fill-color'>" | "<'-webkit-text-stroke'>" | "<'-webkit-text-stroke-color'>" | "<'-webkit-text-stroke-width'>" | "<'-webkit-touch-callout'>" | "<'-webkit-user-modify'>" | "<'accent-color'>" | "<'align-content'>" | "<'align-items'>" | "<'align-self'>" | "<'align-tracks'>" | "<'all'>" | "<'animation'>" | "<'animation-composition'>" | "<'animation-delay'>" | "<'animation-direction'>" | "<'animation-duration'>" | "<'animation-fill-mode'>" | "<'animation-iteration-count'>" | "<'animation-name'>" | "<'animation-play-state'>" | "<'animation-timing-function'>" | "<'animation-timeline'>" | "<'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'>" | "<'block-overflow'>" | "<'block-size'>" | "<'border'>" | "<'border-block'>" | "<'border-block-color'>" | "<'border-block-style'>" | "<'border-block-width'>" | "<'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-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-end'>" | "<'border-inline-color'>" | "<'border-inline-style'>" | "<'border-inline-width'>" | "<'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-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'>" | "<'color'>" | "<'print-color-adjust'>" | "<'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-size'>" | "<'contain-intrinsic-block-size'>" | "<'contain-intrinsic-height'>" | "<'contain-intrinsic-inline-size'>" | "<'contain-intrinsic-width'>" | "<'content'>" | "<'content-visibility'>" | "<'counter-increment'>" | "<'counter-reset'>" | "<'counter-set'>" | "<'cursor'>" | "<'direction'>" | "<'display'>" | "<'empty-cells'>" | "<'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-variation-settings'>" | "<'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-weight'>" | "<'forced-color-adjust'>" | "<'gap'>" | "<'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'>" | "<'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'>" | "<'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'>" | "<'perspective'>" | "<'perspective-origin'>" | "<'place-content'>" | "<'place-items'>" | "<'place-self'>" | "<'pointer-events'>" | "<'position'>" | "<'quotes'>" | "<'resize'>" | "<'right'>" | "<'rotate'>" | "<'row-gap'>" | "<'ruby-align'>" | "<'ruby-merge'>" | "<'ruby-position'>" | "<'scale'>" | "<'scrollbar-color'>" | "<'scrollbar-gutter'>" | "<'scrollbar-width'>" | "<'scroll-behavior'>" | "<'scroll-margin'>" | "<'scroll-margin-block'>" | "<'scroll-margin-block-start'>" | "<'scroll-margin-block-end'>" | "<'scroll-margin-bottom'>" | "<'scroll-margin-inline'>" | "<'scroll-margin-inline-start'>" | "<'scroll-margin-inline-end'>" | "<'scroll-margin-left'>" | "<'scroll-margin-right'>" | "<'scroll-margin-top'>" | "<'scroll-padding'>" | "<'scroll-padding-block'>" | "<'scroll-padding-block-start'>" | "<'scroll-padding-block-end'>" | "<'scroll-padding-bottom'>" | "<'scroll-padding-inline'>" | "<'scroll-padding-inline-start'>" | "<'scroll-padding-inline-end'>" | "<'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'>" | "<'shape-image-threshold'>" | "<'shape-margin'>" | "<'shape-outside'>" | "<'tab-size'>" | "<'table-layout'>" | "<'text-align'>" | "<'text-align-last'>" | "<'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'>" | "<'user-select'>" | "<'vertical-align'>" | "<'visibility'>" | "<'white-space'>" | "<'widows'>" | "<'width'>" | "<'will-change'>" | "<'word-break'>" | "<'word-spacing'>" | "<'word-wrap'>" | "<'writing-mode'>" | "<'z-index'>" | "<'zoom'>" | "<'-moz-background-clip'>" | "<'-moz-border-radius-bottomleft'>" | "<'-moz-border-radius-bottomright'>" | "<'-moz-border-radius-topleft'>" | "<'-moz-border-radius-topright'>" | "<'-moz-control-character-visibility'>" | "<'-moz-osx-font-smoothing'>" | "<'-moz-user-select'>" | "<'-ms-flex-align'>" | "<'-ms-flex-item-align'>" | "<'-ms-flex-line-pack'>" | "<'-ms-flex-negative'>" | "<'-ms-flex-pack'>" | "<'-ms-flex-order'>" | "<'-ms-flex-positive'>" | "<'-ms-flex-preferred-size'>" | "<'-ms-interpolation-mode'>" | "<'-ms-grid-column-align'>" | "<'-ms-grid-row-align'>" | "<'-ms-hyphenate-limit-last'>" | "<'-webkit-background-clip'>" | "<'-webkit-column-break-after'>" | "<'-webkit-column-break-before'>" | "<'-webkit-column-break-inside'>" | "<'-webkit-font-smoothing'>" | "<'-webkit-mask-box-image'>" | "<'-webkit-print-color-adjust'>" | "<'-webkit-text-security'>" | "<'-webkit-user-drag'>" | "<'-webkit-user-select'>" | "<'alignment-baseline'>" | "<'baseline-shift'>" | "<'behavior'>" | "<'clip-rule'>" | "<'cue'>" | "<'cue-after'>" | "<'cue-before'>" | "<'dominant-baseline'>" | "<'fill'>" | "<'fill-opacity'>" | "<'fill-rule'>" | "<'glyph-orientation-horizontal'>" | "<'glyph-orientation-vertical'>" | "<'kerning'>" | "<'marker'>" | "<'marker-end'>" | "<'marker-mid'>" | "<'marker-start'>" | "<'pause'>" | "<'pause-after'>" | "<'pause-before'>" | "<'rest'>" | "<'rest-after'>" | "<'rest-before'>" | "<'shape-rendering'>" | "<'src'>" | "<'speak'>" | "<'speak-as'>" | "<'stroke'>" | "<'stroke-dasharray'>" | "<'stroke-dashoffset'>" | "<'stroke-linecap'>" | "<'stroke-linejoin'>" | "<'stroke-miterlimit'>" | "<'stroke-opacity'>" | "<'stroke-width'>" | "<'text-anchor'>" | "<'unicode-range'>" | "<'voice-balance'>" | "<'voice-duration'>" | "<'voice-family'>" | "<'voice-pitch'>" | "<'voice-range'>" | "<'voice-rate'>" | "<'voice-stress'>" | "<'voice-volume'>" | '<abs()>' | '<absolute-size>' | '<acos()>' | '<alpha-value>' | '<angle-percentage>' | '<angular-color-hint>' | '<angular-color-stop>' | '<angular-color-stop-list>' | '<animateable-feature>' | '<asin()>' | '<atan()>' | '<atan2()>' | '<attachment>' | '<attr()>' | '<attr-matcher>' | '<attr-modifier>' | '<attribute-selector>' | '<auto-repeat>' | '<auto-track-list>' | '<axis>' | '<baseline-position>' | '<basic-shape>' | '<bg-image>' | '<bg-layer>' | '<bg-position>' | '<bg-size>' | '<blur()>' | '<blend-mode>' | '<box>' | '<brightness()>' | '<calc()>' | '<calc-sum>' | '<calc-product>' | '<calc-value>' | '<calc-constant>' | '<cf-final-image>' | '<cf-mixing-image>' | '<circle()>' | '<clamp()>' | '<class-selector>' | '<clip-source>' | '<color>' | '<color-stop>' | '<color-stop-angle>' | '<color-stop-length>' | '<color-stop-list>' | '<combinator>' | '<common-lig-values>' | '<compat-auto>' | '<composite-style>' | '<compositing-operator>' | '<compound-selector>' | '<compound-selector-list>' | '<complex-selector>' | '<complex-selector-list>' | '<conic-gradient()>' | '<contextual-alt-values>' | '<content-distribution>' | '<content-list>' | '<content-position>' | '<content-replacement>' | '<contrast()>' | '<cos()>' | '<counter>' | '<counter()>' | '<counter-name>' | '<counter-style>' | '<counter-style-name>' | '<counters()>' | '<cross-fade()>' | '<cubic-bezier-timing-function>' | '<deprecated-system-color>' | '<discretionary-lig-values>' | '<display-box>' | '<display-inside>' | '<display-internal>' | '<display-legacy>' | '<display-listitem>' | '<display-outside>' | '<drop-shadow()>' | '<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>' | '<feature-value-block-list>' | '<feature-value-declaration>' | '<feature-value-declaration-list>' | '<feature-value-name>' | '<fill-rule>' | '<filter-function>' | '<filter-function-list>' | '<final-bg-layer>' | '<fixed-breadth>' | '<fixed-repeat>' | '<fixed-size>' | '<font-stretch-absolute>' | '<font-variant-css21>' | '<font-weight-absolute>' | '<frequency-percentage>' | '<general-enclosed>' | '<generic-family>' | '<generic-name>' | '<geometry-box>' | '<gradient>' | '<grayscale()>' | '<grid-line>' | '<historical-lig-values>' | '<hsl()>' | '<hsla()>' | '<hue>' | '<hue-rotate()>' | '<hwb()>' | '<hypot()>' | '<id-selector>' | '<image>' | '<image()>' | '<image-set()>' | '<image-set-option>' | '<image-src>' | '<image-tags>' | '<inflexible-breadth>' | '<inset()>' | '<invert()>' | '<keyframes-name>' | '<keyframe-block>' | '<keyframe-block-list>' | '<keyframe-selector>' | '<lab()>' | '<layer()>' | '<layer-name>' | '<lch()>' | '<leader()>' | '<leader-type>' | '<length-percentage>' | '<line-names>' | '<line-name-list>' | '<line-style>' | '<line-width>' | '<linear-color-hint>' | '<linear-color-stop>' | '<linear-gradient()>' | '<log()>' | '<mask-layer>' | '<mask-position>' | '<mask-reference>' | '<mask-source>' | '<masking-mode>' | '<matrix()>' | '<matrix3d()>' | '<max()>' | '<media-and>' | '<media-condition>' | '<media-condition-without-or>' | '<media-feature>' | '<media-in-parens>' | '<media-not>' | '<media-or>' | '<media-query>' | '<media-query-list>' | '<media-type>' | '<mf-boolean>' | '<mf-name>' | '<mf-plain>' | '<mf-range>' | '<mf-value>' | '<min()>' | '<minmax()>' | '<mod()>' | '<name-repeat>' | '<named-color>' | '<namespace-prefix>' | '<ns-prefix>' | '<number-percentage>' | '<numeric-figure-values>' | '<numeric-fraction-values>' | '<numeric-spacing-values>' | '<nth>' | '<opacity()>' | '<overflow-position>' | '<outline-radius>' | '<page-body>' | '<page-margin-box>' | '<page-margin-box-type>' | '<page-selector-list>' | '<page-selector>' | '<page-size>' | '<path()>' | '<paint()>' | '<perspective()>' | '<polygon()>' | '<position>' | '<pow()>' | '<pseudo-class-selector>' | '<pseudo-element-selector>' | '<pseudo-page>' | '<quote>' | '<radial-gradient()>' | '<ratio>' | '<relative-selector>' | '<relative-selector-list>' | '<relative-size>' | '<rem()>' | '<repeat-style>' | '<repeating-conic-gradient()>' | '<repeating-linear-gradient()>' | '<repeating-radial-gradient()>' | '<reversed-counter-name>' | '<rgb()>' | '<rgba()>' | '<rotate()>' | '<rotate3d()>' | '<rotateX()>' | '<rotateY()>' | '<rotateZ()>' | '<round()>' | '<rounding-strategy>' | '<saturate()>' | '<scale()>' | '<scale3d()>' | '<scaleX()>' | '<scaleY()>' | '<scaleZ()>' | '<scroller>' | '<self-position>' | '<shape-radius>' | '<sign()>' | '<skew()>' | '<skewX()>' | '<skewY()>' | '<sepia()>' | '<shadow>' | '<shadow-t>' | '<shape>' | '<shape-box>' | '<side-or-corner>' | '<sin()>' | '<single-animation>' | '<single-animation-direction>' | '<single-animation-fill-mode>' | '<single-animation-iteration-count>' | '<single-animation-play-state>' | '<single-animation-timeline>' | '<single-transition>' | '<single-transition-property>' | '<size>' | '<sqrt()>' | '<step-position>' | '<step-timing-function>' | '<subclass-selector>' | '<supports-condition>' | '<supports-in-parens>' | '<supports-feature>' | '<supports-decl>' | '<supports-selector-fn>' | '<symbol>' | '<tan()>' | '<target>' | '<target-counter()>' | '<target-counters()>' | '<target-text()>' | '<time-percentage>' | '<timeline-name>' | '<easing-function>' | '<track-breadth>' | '<track-list>' | '<track-repeat>' | '<track-size>' | '<transform-function>' | '<transform-list>' | '<translate()>' | '<translate3d()>' | '<translateX()>' | '<translateY()>' | '<translateZ()>' | '<type-or-unit>' | '<type-selector>' | '<var()>' | '<viewport-length>' | '<visual-box>' | '<wq-name>' | '<-legacy-gradient>' | '<-legacy-linear-gradient>' | '<-legacy-repeating-linear-gradient>' | '<-legacy-linear-gradient-arguments>' | '<-legacy-radial-gradient>' | '<-legacy-repeating-radial-gradient>' | '<-legacy-radial-gradient-arguments>' | '<-legacy-radial-gradient-size>' | '<-legacy-radial-gradient-shape>' | '<-non-standard-font>' | '<-non-standard-color>' | '<-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>' | '<-ms-filter-function-list>' | '<-ms-filter-function>' | '<-ms-filter-function-progid>' | '<-ms-filter-function-legacy>' | '<-ms-filter>' | '<age>' | '<attr-name>' | '<attr-fallback>' | '<bg-clip>' | '<bottom>' | '<generic-voice>' | '<gender>' | '<left>' | '<mask-image>' | '<paint>' | '<right>' | '<scroll-timeline-axis>' | '<scroll-timeline-name>' | '<single-animation-composition>' | '<svg-length>' | '<svg-writing-mode>' | '<top>' | '<x>' | '<y>' | '<declaration>' | '<declaration-list>' | '<url>' | '<url-modifier>' | '<number-zero-one>' | '<number-one-or-greater>' | '<-non-standard-display>' | '<ident-token>' | '<function-token>' | '<at-keyword-token>' | '<hash-token>' | '<string-token>' | '<bad-string-token>' | '<url-token>' | '<bad-url-token>' | '<delim-token>' | '<number-token>' | '<percentage-token>' | '<dimension-token>' | '<whitespace-token>' | '<CDO-token>' | '<CDC-token>' | '<colon-token>' | '<semicolon-token>' | '<comma-token>' | '<[-token>' | '<]-token>' | '<(-token>' | '<)-token>' | '<{-token>' | '<}-token>' | '<string>' | '<ident>' | '<percentage>' | '<zero>' | '<number>' | '<integer>' | '<custom-ident>' | '<custom-property-name>' | '<hex-color>' | '<an-plus-b>' | '<urange>' | '<declaration-value>' | '<any-value>' | '<dimension>' | '<angle>' | '<decibel>' | '<frequency>' | '<flex>' | '<length>' | '<resolution>' | '<semitones>' | '<time>' | '<bcp-47>') | ('Any' | 'NoEmptyAny' | 'OneLineAny' | 'Zero' | 'Number' | 'Int' | 'Uint' | 'XMLName' | 'DOMID' | 'FunctionBody' | 'Pattern' | 'DateTime' | 'TabIndex' | 'BCP47' | 'URL' | 'AbsoluteURL' | 'HashName' | 'OneCodePointChar' | 'CustomElementName' | 'BrowsingContextName' | 'BrowsingContextNameOrKeyword' | 'HTTPSchemaURL' | 'MIMEType' | 'ItemProp' | 'Srcset' | 'SourceSizeList' | 'IconSize' | 'AutoComplete' | 'Accept' | 'SerializedPermissionsPolicy' | '<css-declaration-list>' | '<class-list>' | '<svg-font-size>' | '<svg-font-size-adjust>' | "<'color-profile'>" | "<'color-rendering'>" | "<'enable-background'>" | '<list-of-svg-feature-string>' | '<animatable-value>' | '<begin-value-list>' | '<end-value-list>' | '<list-of-value>' | '<clock-value>' | '<color-matrix>' | '<dasharray>' | '<key-points>' | '<key-splines>' | '<key-times>' | '<system-language>' | '<origin>' | '<svg-path>' | '<points>' | '<preserve-aspect-ratio>' | '<view-box>' | '<rotate>' | '<text-coordinate>' | '<list-of-lengths>' | '<list-of-numbers>' | '<list-of-percentages>' | '<number-optional-number>') | 'Boolean') | List | Enum | Number; | ||
export type AttributeCondition = string | [string, string, ...string[]]; | ||
export interface AttributesSchema { | ||
tag: string; | ||
global?: GlobalAttributes; | ||
attributes: Attributes; | ||
tag: string; | ||
global?: GlobalAttributes; | ||
attributes: Attributes; | ||
} | ||
export interface GlobalAttributes { | ||
'#HTMLGlobalAttrs'?: boolean; | ||
'#GlobalEventAttrs'?: | ||
| boolean | ||
| ( | ||
| 'onabort' | ||
| 'onauxclick' | ||
| 'onbeforeinput' | ||
| 'onbeforematch' | ||
| 'onblur' | ||
| 'oncancel' | ||
| 'oncanplay' | ||
| 'oncanplaythrough' | ||
| 'onchange' | ||
| 'onclick' | ||
| 'onclose' | ||
| 'oncontextlost' | ||
| 'oncompositionstart' | ||
| 'oncompositionupdate' | ||
| 'oncompositionend' | ||
| 'oncontextmenu' | ||
| 'oncontextrestored' | ||
| 'oncuechange' | ||
| 'ondblclick' | ||
| 'ondrag' | ||
| 'ondragend' | ||
| 'ondragenter' | ||
| 'ondragleave' | ||
| 'ondragover' | ||
| 'ondragstart' | ||
| 'ondrop' | ||
| 'ondurationchange' | ||
| 'onemptied' | ||
| 'onended' | ||
| 'onerror' | ||
| 'onfocus' | ||
| 'onformdata' | ||
| 'onfocusin' | ||
| 'onfocusout' | ||
| 'oninput' | ||
| 'oninvalid' | ||
| 'onkeydown' | ||
| 'onkeypress' | ||
| 'onkeyup' | ||
| 'onload' | ||
| 'onloadeddata' | ||
| 'onloadedmetadata' | ||
| 'onloadstart' | ||
| 'onmousedown' | ||
| 'onmouseenter' | ||
| 'onmouseleave' | ||
| 'onmousemove' | ||
| 'onmouseout' | ||
| 'onmouseover' | ||
| 'onmouseup' | ||
| 'onpause' | ||
| 'onplay' | ||
| 'onplaying' | ||
| 'onprogress' | ||
| 'onratechange' | ||
| 'onreset' | ||
| 'onresize' | ||
| 'onscroll' | ||
| 'onsecuritypolicyviolation' | ||
| 'onseeked' | ||
| 'onseeking' | ||
| 'onselect' | ||
| 'onslotchange' | ||
| 'onstalled' | ||
| 'onsubmit' | ||
| 'onsuspend' | ||
| 'ontimeupdate' | ||
| 'ontoggle' | ||
| 'onvolumechange' | ||
| 'onwaiting' | ||
| 'onwebkitanimationend' | ||
| 'onwebkitanimationiteration' | ||
| 'onwebkitanimationstart' | ||
| 'onwebkittransitionend' | ||
| 'onunload' | ||
| 'onwheel' | ||
)[]; | ||
'#DocumentElementEventAttrs'?: boolean | ('oncopy' | 'oncut' | 'onpaste')[]; | ||
/** | ||
* @minItems 0 | ||
*/ | ||
'#HTMLLinkAndFetchingAttrs'?: ( | ||
| 'crossorigin' | ||
| 'download' | ||
| 'href' | ||
| 'hreflang' | ||
| 'integrity' | ||
| 'loading' | ||
| 'media' | ||
| 'ping' | ||
| 'referrerpolicy' | ||
| 'rel' | ||
| 'target' | ||
| 'type' | ||
| 'fetchpriority' | ||
)[]; | ||
/** | ||
* @minItems 0 | ||
*/ | ||
'#HTMLEmbededAndMediaContentAttrs'?: ( | ||
| 'autoplay' | ||
| 'controls' | ||
| 'height' | ||
| 'loop' | ||
| 'muted' | ||
| 'preload' | ||
| 'sizes' | ||
| 'src' | ||
| 'srcset' | ||
| 'width' | ||
)[]; | ||
/** | ||
* @minItems 0 | ||
*/ | ||
'#HTMLFormControlElementAttrs'?: ( | ||
| 'autocomplete' | ||
| 'dirname' | ||
| 'disabled' | ||
| 'form' | ||
| 'formaction' | ||
| 'formenctype' | ||
| 'formmethod' | ||
| 'formnovalidate' | ||
| 'formtarget' | ||
| 'maxlength' | ||
| 'minlength' | ||
| 'name' | ||
| 'readonly' | ||
| 'required' | ||
)[]; | ||
/** | ||
* @minItems 0 | ||
*/ | ||
'#HTMLTableCellElementAttrs'?: ('colspan' | 'headers' | 'rowspan')[]; | ||
'#ARIAAttrs'?: boolean; | ||
/** | ||
* @minItems 0 | ||
*/ | ||
'#SVGAnimationAdditionAttrs'?: ('additive' | 'accumulate')[]; | ||
/** | ||
* @minItems 0 | ||
*/ | ||
'#SVGAnimationAttributeTargetAttrs'?: ('attributeName' | 'attributeType')[]; | ||
/** | ||
* @minItems 0 | ||
*/ | ||
'#SVGAnimationEventAttrs'?: ('onbegin' | 'onend' | 'onrepeat')[]; | ||
/** | ||
* @minItems 0 | ||
*/ | ||
'#SVGAnimationTargetElementAttrs'?: ('href' | 'xlink:href')[]; | ||
/** | ||
* @minItems 0 | ||
*/ | ||
'#SVGAnimationTimingAttrs'?: ( | ||
| 'begin' | ||
| 'dur' | ||
| 'end' | ||
| 'min' | ||
| 'max' | ||
| 'restart' | ||
| 'repeatCount' | ||
| 'repeatDur' | ||
| 'fill' | ||
)[]; | ||
/** | ||
* @minItems 0 | ||
*/ | ||
'#SVGAnimationValueAttrs'?: ( | ||
| 'calcMode' | ||
| 'values' | ||
| 'keyTimes' | ||
| 'keySplines' | ||
| 'from' | ||
| 'to' | ||
| 'by' | ||
| 'accelerate' | ||
| 'decelerate' | ||
| 'autoReverse' | ||
| 'speed' | ||
)[]; | ||
/** | ||
* @minItems 0 | ||
*/ | ||
'#SVGConditionalProcessingAttrs'?: ('requiredExtensions' | 'systemLanguage' | 'requiredFeatures')[]; | ||
/** | ||
* @minItems 0 | ||
*/ | ||
'#SVGCoreAttrs'?: ( | ||
| 'id' | ||
| 'tabindex' | ||
| 'autofocus' | ||
| 'lang' | ||
| 'xml:space' | ||
| 'class' | ||
| 'style' | ||
| 'xmlns' | ||
| 'xml:lang' | ||
| 'xml:base' | ||
)[]; | ||
/** | ||
* @minItems 0 | ||
*/ | ||
'#SVGFilterPrimitiveAttrs'?: ('x' | 'y' | 'width' | 'height' | 'result' | 'in')[]; | ||
/** | ||
* @minItems 0 | ||
*/ | ||
'#SVGPresentationAttrs'?: ( | ||
| 'cx' | ||
| 'cy' | ||
| 'height' | ||
| 'width' | ||
| 'x' | ||
| 'y' | ||
| 'r' | ||
| 'rx' | ||
| 'ry' | ||
| 'd' | ||
| 'fill' | ||
| 'transform' | ||
| 'patternTransform' | ||
| 'gradientTransform' | ||
| 'alignment-baseline' | ||
| 'baseline-shift' | ||
| 'clip-path' | ||
| 'clip-rule' | ||
| 'color' | ||
| 'color-interpolation' | ||
| 'color-interpolation-filters' | ||
| 'cursor' | ||
| 'direction' | ||
| 'display' | ||
| 'dominant-baseline' | ||
| 'fill-opacity' | ||
| 'fill-rule' | ||
| 'filter' | ||
| 'flood-color' | ||
| 'flood-opacity' | ||
| 'font' | ||
| 'font-family' | ||
| 'font-size' | ||
| 'font-size-adjust' | ||
| 'font-stretch' | ||
| 'font-style' | ||
| 'font-variant' | ||
| 'font-weight' | ||
| 'glyph-orientation-horizontal' | ||
| 'glyph-orientation-vertical' | ||
| 'image-rendering' | ||
| 'isolation' | ||
| 'letter-spacing' | ||
| 'lighting-color' | ||
| 'marker' | ||
| 'marker-end' | ||
| 'marker-mid' | ||
| 'marker-start' | ||
| 'mask' | ||
| 'mask-type' | ||
| 'opacity' | ||
| 'overflow' | ||
| 'paint-order' | ||
| 'pointer-events' | ||
| 'shape-rendering' | ||
| 'stop-color' | ||
| 'stop-opacity' | ||
| 'stroke' | ||
| 'stroke-dasharray' | ||
| 'stroke-dashoffset' | ||
| 'stroke-linecap' | ||
| 'stroke-linejoin' | ||
| 'stroke-miterlimit' | ||
| 'stroke-opacity' | ||
| 'stroke-width' | ||
| 'text-anchor' | ||
| 'text-decoration' | ||
| 'text-overflow' | ||
| 'text-rendering' | ||
| 'transform-origin' | ||
| 'unicode-bidi' | ||
| 'vector-effect' | ||
| 'visibility' | ||
| 'white-space' | ||
| 'word-spacing' | ||
| 'writing-mode' | ||
| 'clip' | ||
| 'color-profile' | ||
| 'color-rendering' | ||
| 'enable-background' | ||
| 'kerning' | ||
)[]; | ||
/** | ||
* @minItems 0 | ||
*/ | ||
'#SVGTransferFunctionAttrs'?: ( | ||
| 'type' | ||
| 'tableValues' | ||
| 'slope' | ||
| 'intercept' | ||
| 'amplitude' | ||
| 'exponent' | ||
| 'offset' | ||
)[]; | ||
/** | ||
* @minItems 0 | ||
*/ | ||
'#XLinkAttrs'?: ( | ||
| 'xlink:href' | ||
| 'xlink:title' | ||
| 'xlink:actuate' | ||
| 'xlink:arcrole' | ||
| 'xlink:role' | ||
| 'xlink:show' | ||
| 'xlink:type' | ||
)[]; | ||
'#HTMLGlobalAttrs'?: boolean; | ||
'#GlobalEventAttrs'?: boolean | ('onabort' | 'onauxclick' | 'onbeforeinput' | 'onbeforematch' | 'onblur' | 'oncancel' | 'oncanplay' | 'oncanplaythrough' | 'onchange' | 'onclick' | 'onclose' | 'oncontextlost' | 'oncompositionstart' | 'oncompositionupdate' | 'oncompositionend' | 'oncontextmenu' | 'oncontextrestored' | 'oncuechange' | 'ondblclick' | 'ondrag' | 'ondragend' | 'ondragenter' | 'ondragleave' | 'ondragover' | 'ondragstart' | 'ondrop' | 'ondurationchange' | 'onemptied' | 'onended' | 'onerror' | 'onfocus' | 'onformdata' | 'onfocusin' | 'onfocusout' | 'oninput' | 'oninvalid' | 'onkeydown' | 'onkeypress' | 'onkeyup' | 'onload' | 'onloadeddata' | 'onloadedmetadata' | 'onloadstart' | 'onmousedown' | 'onmouseenter' | 'onmouseleave' | 'onmousemove' | 'onmouseout' | 'onmouseover' | 'onmouseup' | 'onpause' | 'onplay' | 'onplaying' | 'onprogress' | 'onratechange' | 'onreset' | 'onresize' | 'onscroll' | 'onsecuritypolicyviolation' | 'onseeked' | 'onseeking' | 'onselect' | 'onslotchange' | 'onstalled' | 'onsubmit' | 'onsuspend' | 'ontimeupdate' | 'ontoggle' | 'onvolumechange' | 'onwaiting' | 'onwebkitanimationend' | 'onwebkitanimationiteration' | 'onwebkitanimationstart' | 'onwebkittransitionend' | 'onunload' | 'onwheel')[]; | ||
'#DocumentElementEventAttrs'?: boolean | ('oncopy' | 'oncut' | 'onpaste')[]; | ||
/** | ||
* @minItems 0 | ||
*/ | ||
'#HTMLLinkAndFetchingAttrs'?: ('crossorigin' | 'download' | 'href' | 'hreflang' | 'integrity' | 'loading' | 'media' | 'ping' | 'referrerpolicy' | 'rel' | 'target' | 'type' | 'fetchpriority')[]; | ||
/** | ||
* @minItems 0 | ||
*/ | ||
'#HTMLEmbededAndMediaContentAttrs'?: ('autoplay' | 'controls' | 'height' | 'loop' | 'muted' | 'preload' | 'sizes' | 'src' | 'srcset' | 'width')[]; | ||
/** | ||
* @minItems 0 | ||
*/ | ||
'#HTMLFormControlElementAttrs'?: ('autocomplete' | 'dirname' | 'disabled' | 'form' | 'formaction' | 'formenctype' | 'formmethod' | 'formnovalidate' | 'formtarget' | 'maxlength' | 'minlength' | 'name' | 'readonly' | 'required')[]; | ||
/** | ||
* @minItems 0 | ||
*/ | ||
'#HTMLTableCellElementAttrs'?: ('colspan' | 'headers' | 'rowspan')[]; | ||
'#ARIAAttrs'?: boolean; | ||
/** | ||
* @minItems 0 | ||
*/ | ||
'#SVGAnimationAdditionAttrs'?: ('additive' | 'accumulate')[]; | ||
/** | ||
* @minItems 0 | ||
*/ | ||
'#SVGAnimationAttributeTargetAttrs'?: ('attributeName' | 'attributeType')[]; | ||
/** | ||
* @minItems 0 | ||
*/ | ||
'#SVGAnimationEventAttrs'?: ('onbegin' | 'onend' | 'onrepeat')[]; | ||
/** | ||
* @minItems 0 | ||
*/ | ||
'#SVGAnimationTargetElementAttrs'?: ('href' | 'xlink:href')[]; | ||
/** | ||
* @minItems 0 | ||
*/ | ||
'#SVGAnimationTimingAttrs'?: ('begin' | 'dur' | 'end' | 'min' | 'max' | 'restart' | 'repeatCount' | 'repeatDur' | 'fill')[]; | ||
/** | ||
* @minItems 0 | ||
*/ | ||
'#SVGAnimationValueAttrs'?: ('calcMode' | 'values' | 'keyTimes' | 'keySplines' | 'from' | 'to' | 'by' | 'accelerate' | 'decelerate' | 'autoReverse' | 'speed')[]; | ||
/** | ||
* @minItems 0 | ||
*/ | ||
'#SVGConditionalProcessingAttrs'?: ('requiredExtensions' | 'systemLanguage' | 'requiredFeatures')[]; | ||
/** | ||
* @minItems 0 | ||
*/ | ||
'#SVGCoreAttrs'?: ('id' | 'tabindex' | 'autofocus' | 'lang' | 'xml:space' | 'class' | 'style' | 'xmlns' | 'xml:lang' | 'xml:base')[]; | ||
/** | ||
* @minItems 0 | ||
*/ | ||
'#SVGFilterPrimitiveAttrs'?: ('x' | 'y' | 'width' | 'height' | 'result' | 'in')[]; | ||
/** | ||
* @minItems 0 | ||
*/ | ||
'#SVGPresentationAttrs'?: ('cx' | 'cy' | 'height' | 'width' | 'x' | 'y' | 'r' | 'rx' | 'ry' | 'd' | 'fill' | 'transform' | 'patternTransform' | 'gradientTransform' | 'alignment-baseline' | 'baseline-shift' | 'clip-path' | 'clip-rule' | 'color' | 'color-interpolation' | 'color-interpolation-filters' | 'cursor' | 'direction' | 'display' | 'dominant-baseline' | 'fill-opacity' | 'fill-rule' | 'filter' | 'flood-color' | 'flood-opacity' | 'font' | 'font-family' | 'font-size' | 'font-size-adjust' | 'font-stretch' | 'font-style' | 'font-variant' | 'font-weight' | 'glyph-orientation-horizontal' | 'glyph-orientation-vertical' | 'image-rendering' | 'isolation' | 'letter-spacing' | 'lighting-color' | 'marker' | 'marker-end' | 'marker-mid' | 'marker-start' | 'mask' | 'mask-type' | 'opacity' | 'overflow' | 'paint-order' | 'pointer-events' | 'shape-rendering' | 'stop-color' | 'stop-opacity' | 'stroke' | 'stroke-dasharray' | 'stroke-dashoffset' | 'stroke-linecap' | 'stroke-linejoin' | 'stroke-miterlimit' | 'stroke-opacity' | 'stroke-width' | 'text-anchor' | 'text-decoration' | 'text-overflow' | 'text-rendering' | 'transform-origin' | 'unicode-bidi' | 'vector-effect' | 'visibility' | 'white-space' | 'word-spacing' | 'writing-mode' | 'clip' | 'color-profile' | 'color-rendering' | 'enable-background' | 'kerning')[]; | ||
/** | ||
* @minItems 0 | ||
*/ | ||
'#SVGTransferFunctionAttrs'?: ('type' | 'tableValues' | 'slope' | 'intercept' | 'amplitude' | 'exponent' | 'offset')[]; | ||
/** | ||
* @minItems 0 | ||
*/ | ||
'#XLinkAttrs'?: ('xlink:href' | 'xlink:title' | 'xlink:actuate' | 'xlink:arcrole' | 'xlink:role' | 'xlink:show' | 'xlink:type')[]; | ||
} | ||
export interface Attributes { | ||
[k: string]: AttributeJSON; | ||
[k: string]: AttributeJSON; | ||
} | ||
@@ -1352,12 +92,12 @@ /** | ||
export interface AttributeJSON { | ||
type?: AttributeType | [AttributeType, ...AttributeType[]]; | ||
defaultValue?: string; | ||
deprecated?: boolean; | ||
required?: boolean | AttributeCondition; | ||
requiredEither?: string[]; | ||
noUse?: boolean; | ||
condition?: AttributeCondition; | ||
ineffective?: AttributeCondition; | ||
animatable?: boolean; | ||
experimental?: boolean; | ||
type?: AttributeType | [AttributeType, ...AttributeType[]]; | ||
defaultValue?: string; | ||
deprecated?: boolean; | ||
required?: boolean | AttributeCondition; | ||
requiredEither?: string[]; | ||
noUse?: boolean; | ||
condition?: AttributeCondition; | ||
ineffective?: AttributeCondition; | ||
animatable?: boolean; | ||
experimental?: boolean; | ||
} | ||
@@ -1369,78 +109,13 @@ /** | ||
export interface List { | ||
token: | ||
| ( | ||
| 'Any' | ||
| 'NoEmptyAny' | ||
| 'OneLineAny' | ||
| 'Zero' | ||
| 'Number' | ||
| 'Int' | ||
| 'Uint' | ||
| 'XMLName' | ||
| 'DOMID' | ||
| 'FunctionBody' | ||
| 'Pattern' | ||
| 'DateTime' | ||
| 'TabIndex' | ||
| 'BCP47' | ||
| 'URL' | ||
| 'AbsoluteURL' | ||
| 'HashName' | ||
| 'OneCodePointChar' | ||
| 'CustomElementName' | ||
| 'BrowsingContextName' | ||
| 'BrowsingContextNameOrKeyword' | ||
| 'HTTPSchemaURL' | ||
| 'MIMEType' | ||
| 'ItemProp' | ||
| 'Srcset' | ||
| 'SourceSizeList' | ||
| 'IconSize' | ||
| 'AutoComplete' | ||
| 'Accept' | ||
| 'SerializedPermissionsPolicy' | ||
| '<css-declaration-list>' | ||
| '<class-list>' | ||
| '<svg-font-size>' | ||
| '<svg-font-size-adjust>' | ||
| "<'color-profile'>" | ||
| "<'color-rendering'>" | ||
| "<'enable-background'>" | ||
| '<list-of-svg-feature-string>' | ||
| '<animatable-value>' | ||
| '<begin-value-list>' | ||
| '<end-value-list>' | ||
| '<list-of-value>' | ||
| '<clock-value>' | ||
| '<color-matrix>' | ||
| '<dasharray>' | ||
| '<key-points>' | ||
| '<key-splines>' | ||
| '<key-times>' | ||
| '<system-language>' | ||
| '<origin>' | ||
| '<svg-path>' | ||
| '<points>' | ||
| '<preserve-aspect-ratio>' | ||
| '<view-box>' | ||
| '<rotate>' | ||
| '<text-coordinate>' | ||
| '<list-of-lengths>' | ||
| '<list-of-numbers>' | ||
| '<list-of-percentages>' | ||
| '<number-optional-number>' | ||
) | ||
| Enum; | ||
disallowToSurroundBySpaces?: boolean; | ||
allowEmpty?: boolean; | ||
ordered?: boolean; | ||
unique?: boolean; | ||
caseInsensitive?: boolean; | ||
number?: | ||
| ('zeroOrMore' | 'oneOrMore') | ||
| { | ||
min: number; | ||
max: number; | ||
}; | ||
separator: 'space' | 'comma'; | ||
token: ('Any' | 'NoEmptyAny' | 'OneLineAny' | 'Zero' | 'Number' | 'Int' | 'Uint' | 'XMLName' | 'DOMID' | 'FunctionBody' | 'Pattern' | 'DateTime' | 'TabIndex' | 'BCP47' | 'URL' | 'AbsoluteURL' | 'HashName' | 'OneCodePointChar' | 'CustomElementName' | 'BrowsingContextName' | 'BrowsingContextNameOrKeyword' | 'HTTPSchemaURL' | 'MIMEType' | 'ItemProp' | 'Srcset' | 'SourceSizeList' | 'IconSize' | 'AutoComplete' | 'Accept' | 'SerializedPermissionsPolicy' | '<css-declaration-list>' | '<class-list>' | '<svg-font-size>' | '<svg-font-size-adjust>' | "<'color-profile'>" | "<'color-rendering'>" | "<'enable-background'>" | '<list-of-svg-feature-string>' | '<animatable-value>' | '<begin-value-list>' | '<end-value-list>' | '<list-of-value>' | '<clock-value>' | '<color-matrix>' | '<dasharray>' | '<key-points>' | '<key-splines>' | '<key-times>' | '<system-language>' | '<origin>' | '<svg-path>' | '<points>' | '<preserve-aspect-ratio>' | '<view-box>' | '<rotate>' | '<text-coordinate>' | '<list-of-lengths>' | '<list-of-numbers>' | '<list-of-percentages>' | '<number-optional-number>') | Enum; | ||
disallowToSurroundBySpaces?: boolean; | ||
allowEmpty?: boolean; | ||
ordered?: boolean; | ||
unique?: boolean; | ||
caseInsensitive?: boolean; | ||
number?: ('zeroOrMore' | 'oneOrMore') | { | ||
min: number; | ||
max: number; | ||
}; | ||
separator: 'space' | 'comma'; | ||
} | ||
@@ -1451,13 +126,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; | ||
}; | ||
} | ||
@@ -1468,8 +143,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; | ||
} |
@@ -9,14 +9,14 @@ import type { ARIA } from './aria'; | ||
export interface MLMLSpec { | ||
cites: Cites; | ||
def: SpecDefs; | ||
specs: ElementSpec[]; | ||
cites: Cites; | ||
def: SpecDefs; | ||
specs: ElementSpec[]; | ||
} | ||
export type ExtendedElementSpec = Partial<Omit<ElementSpec, 'name' | 'attributes'>> & { | ||
name: ElementSpec['name']; | ||
attributes?: Record<string, Partial<Attribute>>; | ||
name: ElementSpec['name']; | ||
attributes?: Record<string, Partial<Attribute>>; | ||
}; | ||
export type ExtendedSpec = { | ||
cites?: Cites; | ||
def?: Partial<SpecDefs>; | ||
specs?: ExtendedElementSpec[]; | ||
cites?: Cites; | ||
def?: Partial<SpecDefs>; | ||
specs?: ExtendedElementSpec[]; | ||
}; | ||
@@ -28,19 +28,19 @@ /** | ||
export type SpecDefs = { | ||
'#globalAttrs': Partial<{ | ||
'#extends': Record<string, Partial<Attribute>>; | ||
'#HTMLGlobalAttrs': Record<string, Partial<Attribute>>; | ||
[OtherGlobalAttrs: string]: Record<string, Partial<Attribute>>; | ||
}>; | ||
'#aria': { | ||
'1.2': ARIASpec; | ||
'1.1': ARIASpec; | ||
}; | ||
'#contentModels': { | ||
[model in Category]?: string[]; | ||
}; | ||
'#globalAttrs': Partial<{ | ||
'#extends': Record<string, Partial<Attribute>>; | ||
'#HTMLGlobalAttrs': Record<string, Partial<Attribute>>; | ||
[OtherGlobalAttrs: string]: Record<string, Partial<Attribute>>; | ||
}>; | ||
'#aria': { | ||
'1.2': ARIASpec; | ||
'1.1': ARIASpec; | ||
}; | ||
'#contentModels': { | ||
[model in Category]?: string[]; | ||
}; | ||
}; | ||
type ARIASpec = { | ||
roles: ARIARoleInSchema[]; | ||
graphicsRoles: ARIARoleInSchema[]; | ||
props: ARIAProperty[]; | ||
roles: ARIARoleInSchema[]; | ||
graphicsRoles: ARIARoleInSchema[]; | ||
props: ARIAProperty[]; | ||
}; | ||
@@ -51,175 +51,147 @@ /** | ||
export type ElementSpec = { | ||
/** | ||
* Tag name | ||
*/ | ||
name: string; | ||
/** | ||
* Namespaces in XML | ||
* @see https://www.w3.org/TR/xml-names/ | ||
*/ | ||
namespace?: NamespaceURI; | ||
/** | ||
* Reference URL | ||
*/ | ||
cite: string; | ||
/** | ||
* Description | ||
*/ | ||
description?: string; | ||
/** | ||
* Experimental technology | ||
*/ | ||
experimental?: true; | ||
/** | ||
* Obsolete or alternative elements | ||
*/ | ||
obsolete?: | ||
| true | ||
| { | ||
alt: string; | ||
}; | ||
/** | ||
* Deprecated | ||
*/ | ||
deprecated?: true; | ||
/** | ||
* Non-standard | ||
*/ | ||
nonStandard?: true; | ||
/** | ||
* Element categories | ||
*/ | ||
categories: Category[]; | ||
/** | ||
* Permitted contents and permitted parents | ||
*/ | ||
contentModel: ContentModel; | ||
/** | ||
* Tag omission | ||
*/ | ||
omission: ElementSpecOmission; | ||
/** | ||
* Global Attributes | ||
*/ | ||
globalAttrs: GlobalAttributes; | ||
/** | ||
* Attributes | ||
*/ | ||
attributes: Record<string, Attribute>; | ||
/** | ||
* WAI-ARIA role and properties | ||
*/ | ||
aria: ARIA; | ||
/** | ||
* If true, it is possible to add any properties as attributes, | ||
* for example, when using a template engine or a view language. | ||
* | ||
* @see https://v2.vuejs.org/v2/guide/components-slots.html#Scoped-Slots | ||
* | ||
* **It assumes to specify it on the parser plugin.** | ||
*/ | ||
possibleToAddProperties?: true; | ||
/** | ||
* Tag name | ||
*/ | ||
name: string; | ||
/** | ||
* Namespaces in XML | ||
* @see https://www.w3.org/TR/xml-names/ | ||
*/ | ||
namespace?: NamespaceURI; | ||
/** | ||
* Reference URL | ||
*/ | ||
cite: string; | ||
/** | ||
* Description | ||
*/ | ||
description?: string; | ||
/** | ||
* Experimental technology | ||
*/ | ||
experimental?: true; | ||
/** | ||
* Obsolete or alternative elements | ||
*/ | ||
obsolete?: true | { | ||
alt: string; | ||
}; | ||
/** | ||
* Deprecated | ||
*/ | ||
deprecated?: true; | ||
/** | ||
* Non-standard | ||
*/ | ||
nonStandard?: true; | ||
/** | ||
* Element categories | ||
*/ | ||
categories: Category[]; | ||
/** | ||
* Permitted contents and permitted parents | ||
*/ | ||
contentModel: ContentModel; | ||
/** | ||
* Tag omission | ||
*/ | ||
omission: ElementSpecOmission; | ||
/** | ||
* Global Attributes | ||
*/ | ||
globalAttrs: GlobalAttributes; | ||
/** | ||
* Attributes | ||
*/ | ||
attributes: Record<string, Attribute>; | ||
/** | ||
* WAI-ARIA role and properties | ||
*/ | ||
aria: ARIA; | ||
/** | ||
* If true, it is possible to add any properties as attributes, | ||
* for example, when using a template engine or a view language. | ||
* | ||
* @see https://v2.vuejs.org/v2/guide/components-slots.html#Scoped-Slots | ||
* | ||
* **It assumes to specify it on the parser plugin.** | ||
*/ | ||
possibleToAddProperties?: true; | ||
}; | ||
type ElementSpecOmission = false | ElementSpecOmissionTags; | ||
type ElementSpecOmissionTags = { | ||
startTag: boolean | ElementCondition; | ||
endTag: boolean | ElementCondition; | ||
startTag: boolean | ElementCondition; | ||
endTag: boolean | ElementCondition; | ||
}; | ||
type ElementCondition = { | ||
__WIP__: 'WORK_IN_PROGRESS'; | ||
__WIP__: 'WORK_IN_PROGRESS'; | ||
}; | ||
export type Attribute = { | ||
name: string; | ||
type: AttributeType | AttributeType[]; | ||
description?: string; | ||
caseSensitive?: true; | ||
experimental?: boolean; | ||
obsolete?: true; | ||
deprecated?: boolean; | ||
nonStandard?: true; | ||
name: string; | ||
type: AttributeType | AttributeType[]; | ||
description?: string; | ||
caseSensitive?: true; | ||
experimental?: boolean; | ||
obsolete?: true; | ||
deprecated?: boolean; | ||
nonStandard?: true; | ||
} & ExtendableAttributeSpec; | ||
type ExtendableAttributeSpec = Omit<AttributeJSON, 'type'>; | ||
export type ARIARole = { | ||
name: string; | ||
isAbstract: boolean; | ||
requiredContextRole: string[]; | ||
requiredOwnedElements: string[]; | ||
accessibleNameRequired: boolean; | ||
accessibleNameFromAuthor: boolean; | ||
accessibleNameFromContent: boolean; | ||
accessibleNameProhibited: boolean; | ||
childrenPresentational: boolean; | ||
ownedProperties: ARIARoleOwnedProperties[]; | ||
prohibitedProperties: string[]; | ||
name: string; | ||
isAbstract: boolean; | ||
requiredContextRole: string[]; | ||
requiredOwnedElements: string[]; | ||
accessibleNameRequired: boolean; | ||
accessibleNameFromAuthor: boolean; | ||
accessibleNameFromContent: boolean; | ||
accessibleNameProhibited: boolean; | ||
childrenPresentational: boolean; | ||
ownedProperties: ARIARoleOwnedProperties[]; | ||
prohibitedProperties: string[]; | ||
}; | ||
export type ARIARoleInSchema = Partial< | ||
ARIARole & { | ||
description: string; | ||
generalization: string[]; | ||
} | ||
> & { | ||
name: string; | ||
export type ARIARoleInSchema = Partial<ARIARole & { | ||
description: string; | ||
generalization: string[]; | ||
}> & { | ||
name: string; | ||
}; | ||
export type ARIARoleOwnedProperties = { | ||
name: string; | ||
inherited?: true; | ||
required?: true; | ||
deprecated?: true; | ||
name: string; | ||
inherited?: true; | ||
required?: true; | ||
deprecated?: true; | ||
}; | ||
export type ARIAProperty = { | ||
name: string; | ||
type: 'property' | 'state'; | ||
deprecated?: true; | ||
isGlobal?: true; | ||
value: ARIAAttributeValue; | ||
conditionalValue?: { | ||
role: string[]; | ||
value: ARIAAttributeValue; | ||
}[]; | ||
enum: string[]; | ||
defaultValue?: string; | ||
equivalentHtmlAttrs?: EquivalentHtmlAttr[]; | ||
valueDescriptions?: Record<string, string>; | ||
name: string; | ||
type: 'property' | 'state'; | ||
deprecated?: true; | ||
isGlobal?: true; | ||
value: ARIAAttributeValue; | ||
conditionalValue?: { | ||
role: string[]; | ||
value: ARIAAttributeValue; | ||
}[]; | ||
enum: string[]; | ||
defaultValue?: string; | ||
equivalentHtmlAttrs?: EquivalentHtmlAttr[]; | ||
valueDescriptions?: Record<string, string>; | ||
}; | ||
export type ARIAAttributeValue = | ||
| 'true/false' | ||
| 'tristate' | ||
| 'true/false/undefined' | ||
| 'ID reference' | ||
| 'ID reference list' | ||
| 'integer' | ||
| 'number' | ||
| 'string' | ||
| 'token' | ||
| 'token list' | ||
| 'URI'; | ||
export type ARIAAttributeValue = 'true/false' | 'tristate' | 'true/false/undefined' | 'ID reference' | 'ID reference list' | 'integer' | 'number' | 'string' | 'token' | 'token list' | 'URI'; | ||
export type ARIAVersion = '1.1' | '1.2'; | ||
export type EquivalentHtmlAttr = { | ||
htmlAttrName: string; | ||
isNotStrictEquivalent?: true; | ||
value: string | null; | ||
htmlAttrName: string; | ||
isNotStrictEquivalent?: true; | ||
value: string | null; | ||
}; | ||
export type Matches = (selector: string) => boolean; | ||
export type ComputedRole = { | ||
el: Element; | ||
role: | ||
| (ARIARole & { | ||
superClassRoles: ARIARoleInSchema[]; | ||
isImplicit?: boolean; | ||
}) | ||
| null; | ||
errorType?: RoleComputationError; | ||
el: Element; | ||
role: (ARIARole & { | ||
superClassRoles: ARIARoleInSchema[]; | ||
isImplicit?: boolean; | ||
}) | null; | ||
errorType?: RoleComputationError; | ||
}; | ||
export type RoleComputationError = | ||
| 'ABSTRACT' | ||
| 'GLOBAL_PROP_MUST_NOT_BE_PRESENTATIONAL' | ||
| 'IMPLICIT_ROLE_NAMESPACE_ERROR' | ||
| 'INTERACTIVE_ELEMENT_MUST_NOT_BE_PRESENTATIONAL' | ||
| 'INVALID_LANDMARK' | ||
| 'INVALID_REQUIRED_CONTEXT_ROLE' | ||
| 'NO_EXPLICIT' | ||
| 'NO_OWNER' | ||
| 'NO_PERMITTED' | ||
| 'REQUIRED_OWNED_ELEMENT_MUST_NOT_BE_PRESENTATIONAL' | ||
| 'ROLE_NO_EXISTS'; | ||
export type RoleComputationError = 'ABSTRACT' | 'GLOBAL_PROP_MUST_NOT_BE_PRESENTATIONAL' | 'IMPLICIT_ROLE_NAMESPACE_ERROR' | 'INTERACTIVE_ELEMENT_MUST_NOT_BE_PRESENTATIONAL' | 'INVALID_LANDMARK' | 'INVALID_REQUIRED_CONTEXT_ROLE' | 'NO_EXPLICIT' | 'NO_OWNER' | 'NO_PERMITTED' | 'REQUIRED_OWNED_ELEMENT_MUST_NOT_BE_PRESENTATIONAL' | 'ROLE_NO_EXISTS'; | ||
export {}; |
@@ -6,93 +6,54 @@ /** | ||
*/ | ||
export type PermittedContentPattern = | ||
| PermittedContentRequire | ||
| PermittedContentOptional | ||
| PermittedContentOneOrMore | ||
| PermittedContentZeroOrMore | ||
| PermittedContentChoice | ||
| PermittedContentTransparent; | ||
export type PermittedContentPattern = PermittedContentRequire | PermittedContentOptional | PermittedContentOneOrMore | PermittedContentZeroOrMore | PermittedContentChoice | PermittedContentTransparent; | ||
export type Model = ContentType | ContentType[]; | ||
export type ContentType = string | Category; | ||
export type Category = | ||
| '#text' | ||
| '#phrasing' | ||
| '#flow' | ||
| '#interactive' | ||
| '#heading' | ||
| '#sectioning' | ||
| '#metadata' | ||
| '#embedded' | ||
| '#palpable' | ||
| '#script-supporting' | ||
| '#SVGAnimation' | ||
| '#SVGBasicShapes' | ||
| '#SVGContainer' | ||
| '#SVGDescriptive' | ||
| '#SVGFilterPrimitive' | ||
| '#SVGFont' | ||
| '#SVGGradient' | ||
| '#SVGGraphics' | ||
| '#SVGGraphicsReferencing' | ||
| '#SVGLightSource' | ||
| '#SVGNeverRendered' | ||
| '#SVGNone' | ||
| '#SVGPaintServer' | ||
| '#SVGRenderable' | ||
| '#SVGShape' | ||
| '#SVGStructural' | ||
| '#SVGStructurallyExternal' | ||
| '#SVGTextContent' | ||
| '#SVGTextContentChild'; | ||
export type Category = '#text' | '#phrasing' | '#flow' | '#interactive' | '#heading' | '#sectioning' | '#metadata' | '#embedded' | '#palpable' | '#script-supporting' | '#SVGAnimation' | '#SVGBasicShapes' | '#SVGContainer' | '#SVGDescriptive' | '#SVGFilterPrimitive' | '#SVGFont' | '#SVGGradient' | '#SVGGraphics' | '#SVGGraphicsReferencing' | '#SVGLightSource' | '#SVGNeverRendered' | '#SVGNone' | '#SVGPaintServer' | '#SVGRenderable' | '#SVGShape' | '#SVGStructural' | '#SVGStructurallyExternal' | '#SVGTextContent' | '#SVGTextContentChild'; | ||
export interface ContentModelsSchema { | ||
__contentModel?: ContentModel; | ||
__contentModel?: ContentModel; | ||
} | ||
export interface ContentModel { | ||
contents: PermittedContentPattern[] | boolean; | ||
descendantOf?: string; | ||
conditional?: { | ||
condition: string; | ||
contents: PermittedContentPattern[] | boolean; | ||
}[]; | ||
contents: PermittedContentPattern[] | boolean; | ||
descendantOf?: string; | ||
conditional?: { | ||
condition: string; | ||
contents: PermittedContentPattern[] | boolean; | ||
}[]; | ||
} | ||
export interface PermittedContentRequire { | ||
require: Model; | ||
max?: number; | ||
min?: number; | ||
_TODO_?: string; | ||
require: Model; | ||
max?: number; | ||
min?: number; | ||
_TODO_?: string; | ||
} | ||
export interface PermittedContentOptional { | ||
optional: Model; | ||
max?: number; | ||
_TODO_?: string; | ||
optional: Model; | ||
max?: number; | ||
_TODO_?: string; | ||
} | ||
export interface PermittedContentOneOrMore { | ||
oneOrMore: Model | PermittedContentPattern[]; | ||
max?: number; | ||
_TODO_?: string; | ||
oneOrMore: Model | PermittedContentPattern[]; | ||
max?: number; | ||
_TODO_?: string; | ||
} | ||
export interface PermittedContentZeroOrMore { | ||
zeroOrMore: Model | PermittedContentPattern[]; | ||
max?: number; | ||
_TODO_?: string; | ||
zeroOrMore: Model | PermittedContentPattern[]; | ||
max?: number; | ||
_TODO_?: string; | ||
} | ||
export interface PermittedContentChoice { | ||
/** | ||
* @minItems 2 | ||
* @maxItems 5 | ||
*/ | ||
choice: | ||
| [PermittedContentPattern[], PermittedContentPattern[]] | ||
| [PermittedContentPattern[], PermittedContentPattern[], PermittedContentPattern[]] | ||
| [PermittedContentPattern[], PermittedContentPattern[], PermittedContentPattern[], PermittedContentPattern[]] | ||
| [ | ||
PermittedContentPattern[], | ||
PermittedContentPattern[], | ||
PermittedContentPattern[], | ||
PermittedContentPattern[], | ||
PermittedContentPattern[], | ||
]; | ||
_TODO_?: string; | ||
/** | ||
* @minItems 2 | ||
* @maxItems 5 | ||
*/ | ||
choice: [PermittedContentPattern[], PermittedContentPattern[]] | [PermittedContentPattern[], PermittedContentPattern[], PermittedContentPattern[]] | [PermittedContentPattern[], PermittedContentPattern[], PermittedContentPattern[], PermittedContentPattern[]] | [ | ||
PermittedContentPattern[], | ||
PermittedContentPattern[], | ||
PermittedContentPattern[], | ||
PermittedContentPattern[], | ||
PermittedContentPattern[] | ||
]; | ||
_TODO_?: string; | ||
} | ||
export interface PermittedContentTransparent { | ||
transparent: string; | ||
transparent: string; | ||
} |
@@ -6,89 +6,50 @@ /** | ||
*/ | ||
export type PermittedContentPattern = | ||
| PermittedContentRequire | ||
| PermittedContentOptional | ||
| PermittedContentOneOrMore | ||
| PermittedContentZeroOrMore | ||
| PermittedContentChoice | ||
| PermittedContentTransparent; | ||
export type PermittedContentPattern = PermittedContentRequire | PermittedContentOptional | PermittedContentOneOrMore | PermittedContentZeroOrMore | PermittedContentChoice | PermittedContentTransparent; | ||
export type Model = ContentType | ContentType[]; | ||
export type ContentType = string | Category; | ||
export type Category = | ||
| '#text' | ||
| '#phrasing' | ||
| '#flow' | ||
| '#interactive' | ||
| '#heading' | ||
| '#sectioning' | ||
| '#metadata' | ||
| '#embedded' | ||
| '#palpable' | ||
| '#script-supporting' | ||
| '#SVGAnimation' | ||
| '#SVGBasicShapes' | ||
| '#SVGContainer' | ||
| '#SVGDescriptive' | ||
| '#SVGFilterPrimitive' | ||
| '#SVGFont' | ||
| '#SVGGradient' | ||
| '#SVGGraphics' | ||
| '#SVGGraphicsReferencing' | ||
| '#SVGLightSource' | ||
| '#SVGNeverRendered' | ||
| '#SVGNone' | ||
| '#SVGPaintServer' | ||
| '#SVGRenderable' | ||
| '#SVGShape' | ||
| '#SVGStructural' | ||
| '#SVGStructurallyExternal' | ||
| '#SVGTextContent' | ||
| '#SVGTextContentChild'; | ||
export type Category = '#text' | '#phrasing' | '#flow' | '#interactive' | '#heading' | '#sectioning' | '#metadata' | '#embedded' | '#palpable' | '#script-supporting' | '#SVGAnimation' | '#SVGBasicShapes' | '#SVGContainer' | '#SVGDescriptive' | '#SVGFilterPrimitive' | '#SVGFont' | '#SVGGradient' | '#SVGGraphics' | '#SVGGraphicsReferencing' | '#SVGLightSource' | '#SVGNeverRendered' | '#SVGNone' | '#SVGPaintServer' | '#SVGRenderable' | '#SVGShape' | '#SVGStructural' | '#SVGStructurallyExternal' | '#SVGTextContent' | '#SVGTextContentChild'; | ||
export interface ContentModelsSchema { | ||
__contentModel?: ContentModel; | ||
__contentModel?: ContentModel; | ||
} | ||
export interface ContentModel { | ||
contents: PermittedContentPattern[] | boolean; | ||
descendantOf?: string; | ||
conditional?: { | ||
condition: string; | ||
contents: PermittedContentPattern[] | boolean; | ||
}[]; | ||
contents: PermittedContentPattern[] | boolean; | ||
descendantOf?: string; | ||
conditional?: { | ||
condition: string; | ||
contents: PermittedContentPattern[] | boolean; | ||
}[]; | ||
} | ||
export interface PermittedContentRequire { | ||
require: Model; | ||
max?: number; | ||
min?: number; | ||
_TODO_?: string; | ||
require: Model; | ||
max?: number; | ||
min?: number; | ||
_TODO_?: string; | ||
} | ||
export interface PermittedContentOptional { | ||
optional: Model; | ||
max?: number; | ||
_TODO_?: string; | ||
optional: Model; | ||
max?: number; | ||
_TODO_?: string; | ||
} | ||
export interface PermittedContentOneOrMore { | ||
oneOrMore: Model | PermittedContentPattern[]; | ||
max?: number; | ||
_TODO_?: string; | ||
oneOrMore: Model | PermittedContentPattern[]; | ||
max?: number; | ||
_TODO_?: string; | ||
} | ||
export interface PermittedContentZeroOrMore { | ||
zeroOrMore: Model | PermittedContentPattern[]; | ||
max?: number; | ||
_TODO_?: string; | ||
zeroOrMore: Model | PermittedContentPattern[]; | ||
max?: number; | ||
_TODO_?: string; | ||
} | ||
export interface PermittedContentChoice { | ||
choice: | ||
| [PermittedContentPattern[], PermittedContentPattern[]] | ||
| [PermittedContentPattern[], PermittedContentPattern[], PermittedContentPattern[]] | ||
| [PermittedContentPattern[], PermittedContentPattern[], PermittedContentPattern[], PermittedContentPattern[]] | ||
| [ | ||
PermittedContentPattern[], | ||
PermittedContentPattern[], | ||
PermittedContentPattern[], | ||
PermittedContentPattern[], | ||
PermittedContentPattern[], | ||
]; | ||
_TODO_?: string; | ||
choice: [PermittedContentPattern[], PermittedContentPattern[]] | [PermittedContentPattern[], PermittedContentPattern[], PermittedContentPattern[]] | [PermittedContentPattern[], PermittedContentPattern[], PermittedContentPattern[], PermittedContentPattern[]] | [ | ||
PermittedContentPattern[], | ||
PermittedContentPattern[], | ||
PermittedContentPattern[], | ||
PermittedContentPattern[], | ||
PermittedContentPattern[] | ||
]; | ||
_TODO_?: string; | ||
} | ||
export interface PermittedContentTransparent { | ||
transparent: string; | ||
transparent: string; | ||
} |
@@ -1,7 +0,5 @@ | ||
type NamedDefinition = | ||
| string | ||
| { | ||
name: string; | ||
}; | ||
type NamedDefinition = string | { | ||
name: string; | ||
}; | ||
export declare function mergeArray<T extends NamedDefinition>(a: T[], b: T[] | null | undefined): T[]; | ||
export {}; |
import type { NamespaceURI, Namespace } from '@markuplint/ml-ast'; | ||
type NamespacedElementName = { | ||
localNameWithNS: string; | ||
localName: string; | ||
namespace: Namespace; | ||
namespaceURI: NamespaceURI; | ||
localNameWithNS: string; | ||
localName: string; | ||
namespace: Namespace; | ||
namespaceURI: NamespaceURI; | ||
}; | ||
export declare function resolveNamespace(name: string, namespaceURI?: string | null): NamespacedElementName; | ||
export {}; |
{ | ||
"name": "@markuplint/ml-spec", | ||
"version": "3.0.0-alpha.6", | ||
"version": "3.0.0-alpha.27+b5eef04a", | ||
"description": "Types and schema that specs of the Markup languages for markuplint", | ||
@@ -25,12 +25,12 @@ "repository": "git@github.com:markuplint/markuplint.git", | ||
"dependencies": { | ||
"@markuplint/ml-ast": "3.0.0-alpha.6", | ||
"@markuplint/ml-ast": "3.0.0-alpha.27+b5eef04a", | ||
"dom-accessibility-api": "^0.5.14", | ||
"tslib": "^2.4.0" | ||
"tslib": "^2.4.1" | ||
}, | ||
"devDependencies": { | ||
"@markuplint/test-tools": "3.0.0-alpha.6", | ||
"@markuplint/types": "3.0.0-alpha.6", | ||
"@markuplint/test-tools": "3.0.0-rc.0", | ||
"@markuplint/types": "3.0.0-alpha.27+b5eef04a", | ||
"json-schema-to-typescript": "^11.0.2" | ||
}, | ||
"gitHead": "b185a06d4ea09a1bf32458f7be4abe510eb57b89" | ||
"gitHead": "b5eef04a99177b25dccb164b486fba9fa01893ae" | ||
} |
# @markuplint/ml-spec | ||
[![npm version](https://badge.fury.io/js/%40markuplint%2Fml-spec.svg)](https://www.npmjs.com/package/@markuplint/ml-spec) | ||
[![Build Status](https://travis-ci.org/markuplint/markuplint.svg?branch=main)](https://travis-ci.org/markuplint/markuplint) | ||
[![Coverage Status](https://coveralls.io/repos/github/markuplint/markuplint/badge.svg?branch=main)](https://coveralls.io/github/markuplint/markuplint?branch=main) | ||
## Install | ||
```sh | ||
[`markuplint`](https://www.npmjs.com/package/markuplint) package includes this package. | ||
<details> | ||
<summary>If you are installing purposely, how below:</summary> | ||
```shell | ||
$ npm install @markuplint/ml-spec | ||
@@ -14,1 +17,3 @@ | ||
``` | ||
</details> |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
19
129542
78
2984
2
- Removed@markuplint/ml-ast@3.0.0-alpha.6(transitive)
Updatedtslib@^2.4.1