@markuplint/ml-spec 4.9.7 → 4.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +109 -35
  3. package/lib/algorithm/aria/aria-specs.d.ts +6 -0
  4. package/lib/{specs → algorithm/aria}/get-aria.d.ts +2 -2
  5. package/lib/{specs → algorithm/aria}/get-aria.js +2 -2
  6. package/lib/{dom-traverse → algorithm/aria}/get-computed-aria-props.d.ts +1 -1
  7. package/lib/{dom-traverse → algorithm/aria}/get-computed-aria-props.js +1 -1
  8. package/lib/{dom-traverse → algorithm/aria}/get-computed-role.d.ts +1 -1
  9. package/lib/{dom-traverse → algorithm/aria}/get-computed-role.js +4 -4
  10. package/lib/{dom-traverse → algorithm/aria}/get-explicit-role.d.ts +1 -1
  11. package/lib/{dom-traverse → algorithm/aria}/get-explicit-role.js +2 -2
  12. package/lib/algorithm/aria/get-implicit-role-spec.d.ts +2 -0
  13. package/lib/{dom-traverse → algorithm/aria}/get-implicit-role.d.ts +2 -2
  14. package/lib/{dom-traverse → algorithm/aria}/get-implicit-role.js +3 -3
  15. package/lib/algorithm/aria/get-non-presentational-ancestor.d.ts +5 -0
  16. package/lib/{dom-traverse → algorithm/aria}/get-non-presentational-ancestor.js +1 -1
  17. package/lib/{specs/get-permitted-roles.d.ts → algorithm/aria/get-permitted-roles-spec.d.ts} +1 -1
  18. package/lib/{specs/get-permitted-roles.js → algorithm/aria/get-permitted-roles-spec.js} +1 -1
  19. package/lib/{dom-traverse → algorithm/aria}/get-permitted-roles.d.ts +1 -1
  20. package/lib/{dom-traverse → algorithm/aria}/get-permitted-roles.js +1 -1
  21. package/lib/{specs → algorithm/aria}/get-role-spec.d.ts +1 -1
  22. package/lib/{dom-traverse → algorithm/aria}/has-required-owned-elements.d.ts +1 -1
  23. package/lib/{dom-traverse → algorithm/aria}/has-required-owned-elements.js +1 -1
  24. package/lib/{dom-traverse → algorithm/aria}/is-exposed.d.ts +1 -1
  25. package/lib/{dom-traverse → algorithm/aria}/is-exposed.js +4 -4
  26. package/lib/{dom-traverse → algorithm/aria}/matches-context-role.d.ts +1 -1
  27. package/lib/{specs → algorithm/html}/content-model-category-to-tag-names.d.ts +2 -2
  28. package/lib/algorithm/html/get-content-model.d.ts +4 -0
  29. package/lib/{dom-traverse → algorithm/html}/get-content-model.js +1 -1
  30. package/lib/algorithm/html/get-selectors-by-content-model-category.d.ts +3 -0
  31. package/lib/{specs → algorithm/html}/is-palpable-elements.d.ts +1 -1
  32. package/lib/{dom-traverse → algorithm/html}/may-be-focusable.d.ts +1 -1
  33. package/lib/{dom-traverse → algorithm/html}/may-be-focusable.js +1 -1
  34. package/lib/index.d.ts +26 -24
  35. package/lib/index.js +30 -24
  36. package/lib/types/attributes.d.ts +2 -2
  37. package/lib/types/index.d.ts +1 -1
  38. package/lib/{specs/get-attr-specs.js → utils/get-attr-specs-spec.js} +1 -1
  39. package/lib/{dom-traverse → utils}/get-attr-specs.js +1 -1
  40. package/lib/{specs → utils}/get-spec-by-tag-name.js +1 -1
  41. package/lib/{dom-traverse → utils}/get-spec.js +1 -1
  42. package/lib/{specs → utils}/schema-to-spec.js +1 -1
  43. package/lib/utils/validate-aria-version.js +1 -1
  44. package/package.json +4 -4
  45. package/lib/dom-traverse/get-content-model.d.ts +0 -4
  46. package/lib/dom-traverse/get-non-presentational-ancestor.d.ts +0 -5
  47. package/lib/specs/aria-specs.d.ts +0 -6
  48. package/lib/specs/get-implicit-role.d.ts +0 -2
  49. package/lib/specs/get-selectors-by-content-model-category.d.ts +0 -3
  50. /package/lib/{dom-traverse → algorithm/aria}/accname-computation.d.ts +0 -0
  51. /package/lib/{dom-traverse → algorithm/aria}/accname-computation.js +0 -0
  52. /package/lib/{specs → algorithm/aria}/aria-specs.js +0 -0
  53. /package/lib/{specs/get-implicit-role.js → algorithm/aria/get-implicit-role-spec.js} +0 -0
  54. /package/lib/{specs → algorithm/aria}/get-role-spec.js +0 -0
  55. /package/lib/{specs → algorithm/aria}/is-presentational.d.ts +0 -0
  56. /package/lib/{specs → algorithm/aria}/is-presentational.js +0 -0
  57. /package/lib/{dom-traverse → algorithm/aria}/matches-context-role.js +0 -0
  58. /package/lib/{specs → algorithm/html}/content-model-category-to-tag-names.js +0 -0
  59. /package/lib/{specs → algorithm/html}/get-selectors-by-content-model-category.js +0 -0
  60. /package/lib/{specs → algorithm/html}/is-nothing-content-model.d.ts +0 -0
  61. /package/lib/{specs → algorithm/html}/is-nothing-content-model.js +0 -0
  62. /package/lib/{specs → algorithm/html}/is-palpable-elements.js +0 -0
  63. /package/lib/{specs → algorithm/html}/is-void-element.d.ts +0 -0
  64. /package/lib/{specs → algorithm/html}/is-void-element.js +0 -0
  65. /package/lib/{constant → utils}/aria-version.d.ts +0 -0
  66. /package/lib/{constant → utils}/aria-version.js +0 -0
  67. /package/lib/{specs/get-attr-specs.d.ts → utils/get-attr-specs-spec.d.ts} +0 -0
  68. /package/lib/{dom-traverse → utils}/get-attr-specs.d.ts +0 -0
  69. /package/lib/{specs → utils}/get-spec-by-tag-name.d.ts +0 -0
  70. /package/lib/{dom-traverse → utils}/get-spec.d.ts +0 -0
  71. /package/lib/{specs → utils}/resolve-version.d.ts +0 -0
  72. /package/lib/{specs → utils}/resolve-version.js +0 -0
  73. /package/lib/{specs → utils}/schema-to-spec.d.ts +0 -0
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [4.10.0](https://github.com/markuplint/markuplint/compare/@markuplint/ml-spec@4.9.7...@markuplint/ml-spec@4.10.0) (2025-08-24)
7
+
8
+
9
+ ### Features
10
+
11
+ * **types:** add link type definitions for specific HTML elements ([7199a8e](https://github.com/markuplint/markuplint/commit/7199a8eb4eaf334855ba78064c4340e040d8614c))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [4.9.7](https://github.com/markuplint/markuplint/compare/@markuplint/ml-spec@4.9.6...@markuplint/ml-spec@4.9.7) (2025-08-13)
7
18
 
8
19
  ### Bug Fixes
package/README.md CHANGED
@@ -2,9 +2,114 @@
2
2
 
3
3
  [![npm version](https://badge.fury.io/js/%40markuplint%2Fml-spec.svg)](https://www.npmjs.com/package/@markuplint/ml-spec)
4
4
 
5
- This package provides the HTML Schema (aka "Specs") shape definitions and utilities used by
6
- markuplint, plus the generated TypeScript types derived from those schemas. The canonical HTML
7
- element spec data itself is aggregated in `@markuplint/html-spec`.
5
+ **Foundation package providing type definitions, W3C specification algorithms, and unified API for markup language specifications.**
6
+
7
+ This package serves as the foundational layer for markuplint's specification system, providing:
8
+
9
+ - **Type definitions** for markup language specifications (HTML, ARIA, SVG)
10
+ - **W3C specification algorithms** (HTML Standard, WAI-ARIA 1.1/1.2/1.3 compliance)
11
+ - **JSON schemas** that define the structure of element specifications
12
+ - **Runtime utilities** for specification resolution, attribute validation, and content model checking
13
+ - **Unified API** for consuming specification data from various sources
14
+
15
+ The canonical HTML element specification data is provided by `@markuplint/html-spec`, which depends on this package for type definitions and algorithmic processing.
16
+
17
+ ## Package Architecture
18
+
19
+ This package serves as the foundation layer in markuplint's specification system:
20
+
21
+ ```
22
+ @markuplint/ml-spec (Foundation Layer)
23
+ ↓ provides types, algorithms, schemas
24
+ @markuplint/html-spec (Data Layer)
25
+ ↓ provides HTML specification data
26
+ Framework-specific specs (Extension Layer)
27
+ ↓ provide framework extensions
28
+ Core packages (Application Layer)
29
+ ↓ consume specifications for validation
30
+ ```
31
+
32
+ ## Package Contents
33
+
34
+ ### Type Definitions
35
+
36
+ - **Core Types**: `ElementSpec`, `ExtendedSpec`, `MLMLSpec`, `ARIAVersion`
37
+ - **ARIA Types**: Complete WAI-ARIA 1.1/1.2/1.3 type definitions
38
+ - **Attribute Types**: HTML attribute definitions with validation rules
39
+ - **Content Model Types**: Permitted content structure definitions
40
+
41
+ Generated TypeScript types (do not edit directly):
42
+
43
+ - `src/types/attributes.ts` - Attribute specification types
44
+ - `src/types/aria.ts` - ARIA specification types
45
+ - `src/types/permitted-structures.ts` - Content model types
46
+
47
+ ### W3C Specification Algorithms
48
+
49
+ **HTML Standard Algorithms**:
50
+
51
+ - Focusable Area Algorithm (`src/algorithm/html/may-be-focusable.ts`)
52
+ - Interactive Content classification
53
+ - Content Model validation (`src/algorithm/html/get-content-model.ts`)
54
+
55
+ **WAI-ARIA Specification Algorithms**:
56
+
57
+ - **Accessible Name Computation** - W3C AccName 1.1 compliant (via `dom-accessibility-api`)
58
+ - **Role Computation** - Explicit/implicit role resolution with conflict handling (`src/algorithm/aria/get-computed-role.ts`)
59
+ - **Accessibility Tree Computation** - Element inclusion/exclusion logic (`src/algorithm/aria/is-exposed.ts`)
60
+ - **ARIA Property Computation** - Attribute value resolution with HTML equivalents (`src/algorithm/aria/get-computed-aria-props.ts`)
61
+ - **Required Context Validation** - Composite role validation (`src/algorithm/aria/has-required-owned-elements.ts`)
62
+
63
+ **Specification Integration**:
64
+
65
+ - Cross-specification utilities (`src/utils/get-spec-by-tag-name.ts`)
66
+ - Version-aware specification resolution (`src/utils/resolve-version.ts`)
67
+ - Schema-to-runtime conversion (`src/utils/schema-to-spec.ts`)
68
+
69
+ ### JSON Schemas (Structure Definitions)
70
+
71
+ - `schemas/element.schema.json` - Element specification schema
72
+ - `schemas/aria.schema.json` - ARIA specification schema
73
+ - `schemas/content-models.schema.json` - Content model schema
74
+ - `schemas/global-attributes.schema.json` (generated) - Global attribute categories
75
+ - `schemas/attributes.schema.json` (generated) - Attribute definition schema
76
+
77
+ ### Schema Generators
78
+
79
+ - `gen/gen.ts` - Builds generated schema files from data
80
+ - `gen/global-attribute.data.*` - Source data for global attribute categories
81
+
82
+ ### Runtime Utilities
83
+
84
+ - **Spec Resolution**: `getSpecByTagName`, `getAttrSpecs`, `getRoleSpec`
85
+ - **Content Model Utilities**: `getContentModel`, `isPalpableElements`, `isVoidElement`
86
+ - **ARIA Utilities**: `getAria`, `getPermittedRoles`, `hasRequiredOwnedElements`
87
+ - **Accessibility Utilities**: `accnameComputation`, `isExposed`, `mayBeFocusable`
88
+ - **Schema Utilities**: `schemaToSpec`, `resolveNamespace`, `validateAriaVersion`
89
+ - **Framework Extension**: Merges base HTML specs with framework-specific extensions
90
+
91
+ **Note**: Attribute value types are defined in `@markuplint/types`. The schemas here reference `@markuplint/types/types.schema.json`.
92
+
93
+ ## Relationship to @markuplint/html-spec
94
+
95
+ **@markuplint/html-spec** provides the canonical HTML element specification data:
96
+
97
+ - **Built output**: `index.json` (48K+ lines, consolidated specification data)
98
+ - **Sources**: `src/spec-*.json` (individual element specifications)
99
+ - **Build process**: `build.mjs` → `@markuplint/spec-generator` → enriched with MDN/W3C data
100
+
101
+ **@markuplint/ml-spec** (this package) provides:
102
+
103
+ - **Type definitions** that `@markuplint/html-spec` uses to structure its data
104
+ - **JSON schemas** that validate the specification format
105
+ - **Algorithms** that process and compute values from the specification data
106
+ - **Runtime utilities** that consume the consolidated specification data
107
+
108
+ This separation enables:
109
+
110
+ - **Data updates** (`@markuplint/html-spec`) without affecting type definitions
111
+ - **Algorithm improvements** (`@markuplint/ml-spec`) without regenerating data
112
+ - **Framework extensions** that can reuse both type definitions and base HTML data
8
113
 
9
114
  ### Install
10
115
 
@@ -21,37 +126,6 @@ yarn add @markuplint/ml-spec
21
126
  - "HTML Schema" and "Specs" are used interchangeably in markuplint to mean the JSON Schema that
22
127
  describes HTML element specs (attributes, ARIA, content models, etc) and their TypeScript types.
23
128
 
24
- ### What’s in this package
25
-
26
- - JSON Schemas (shape definitions):
27
- - `schemas/element.schema.json`
28
- - `schemas/aria.schema.json`
29
- - `schemas/content-models.schema.json`
30
- - `schemas/global-attributes.schema.json` (generated)
31
- - `schemas/attributes.schema.json` (generated)
32
- - Generated TypeScript types (do not edit):
33
- - `src/types/attributes.ts`
34
- - `src/types/aria.ts`
35
- - `src/types/permitted-structures.ts`
36
- - Schema generators:
37
- - `gen/gen.ts` … builds `global-attributes.schema.json` and `attributes.schema.json`
38
- - Global attribute categories data: `gen/global-attribute.data.*`
39
- - Spec merger (runtime behavior):
40
- - `src/specs/schema-to-spec.ts` … merges the main HTML spec with
41
- extended specs provided by other packages (e.g. Vue/React/Svelte specs)
42
-
43
- Note: Attribute value types are defined in `@markuplint/types`. The schemas here reference
44
- `@markuplint/types/types.schema.json`.
45
-
46
- ### Where is the base HTML spec data?
47
-
48
- - Base HTML element specs live in `packages/@markuplint/html-spec/`:
49
- - Built output: `packages/@markuplint/html-spec/index.json`
50
- - Sources: `packages/@markuplint/html-spec/src/spec-*.json`
51
- - Build script: `packages/@markuplint/html-spec/build.mjs` (invokes `@markuplint/spec-generator`)
52
- - This `@markuplint/ml-spec` package defines the JSON Schema shapes and the merging logic that
53
- consume that data, but does not contain the canonical HTML element dataset.
54
-
55
129
  ### Editing workflow (HTML Schema/Specs)
56
130
 
57
131
  1. Make changes to the schemas
@@ -124,7 +198,7 @@ yarn build
124
198
  ### How schema merging works (Specs extension)
125
199
 
126
200
  At runtime, markuplint can merge multiple specs. The merger in
127
- `src/specs/schema-to-spec.ts` follows these rules:
201
+ `src/utils/schema-to-spec.ts` follows these rules:
128
202
 
129
203
  - `def.#globalAttrs.#extends` from an extended spec augments the base `#HTMLGlobalAttrs` map.
130
204
  - For a given element, if both base and extended specs define the same attribute, the extended spec
@@ -0,0 +1,6 @@
1
+ import type { ARIAVersion, MLMLSpec } from '../../types/index.js';
2
+ export declare function ariaSpecs(specs: MLMLSpec, version: ARIAVersion): {
3
+ readonly roles: readonly import("../../types/index.js").ARIARoleInSchema[];
4
+ readonly graphicsRoles: readonly import("../../types/index.js").ARIARoleInSchema[];
5
+ readonly props: readonly import("../../types/index.js").ARIAProperty[];
6
+ };
@@ -1,4 +1,4 @@
1
- import type { ARIA } from '../types/aria.js';
2
- import type { ARIAVersion, Matches, MLMLSpec } from '../types/index.js';
1
+ import type { ARIA } from '../../types/aria.js';
2
+ import type { ARIAVersion, Matches, MLMLSpec } from '../../types/index.js';
3
3
  import type { ReadonlyDeep } from 'type-fest';
4
4
  export declare function getARIA(specs: MLMLSpec, localName: string, namespace: string | null, version: ARIAVersion, matches: Matches): Omit<ReadonlyDeep<ARIA>, ARIAVersion | 'conditions'> | null;
@@ -1,5 +1,5 @@
1
- import { getSpecByTagName } from './get-spec-by-tag-name.js';
2
- import { resolveVersion } from './resolve-version.js';
1
+ import { getSpecByTagName } from '../../utils/get-spec-by-tag-name.js';
2
+ import { resolveVersion } from '../../utils/resolve-version.js';
3
3
  const cache = new Map();
4
4
  export function getARIA(specs, localName, namespace, version, matches) {
5
5
  const aria = getVersionResolvedARIA(specs, localName, namespace, version);
@@ -1,4 +1,4 @@
1
- import type { ARIAVersion, MLMLSpec } from '../types/index.js';
1
+ import type { ARIAVersion, MLMLSpec } from '../../types/index.js';
2
2
  type ARIAProps = Record<string, ARIAProp>;
3
3
  type ARIAProp = {
4
4
  name: string;
@@ -1,4 +1,4 @@
1
- import { ariaSpecs as _ariaSpecs } from '../specs/aria-specs.js';
1
+ import { ariaSpecs as _ariaSpecs } from './aria-specs.js';
2
2
  import { getComputedRole } from './get-computed-role.js';
3
3
  export function getComputedAriaProps(specs,
4
4
  // eslint-disable-next-line @typescript-eslint/prefer-readonly-parameter-types
@@ -1,2 +1,2 @@
1
- import type { ARIAVersion, ComputedRole, MLMLSpec } from '../types/index.js';
1
+ import type { ARIAVersion, ComputedRole, MLMLSpec } from '../../types/index.js';
2
2
  export declare function getComputedRole(specs: MLMLSpec, el: Element, version: ARIAVersion, assumeSingleNode?: boolean): ComputedRole;
@@ -1,13 +1,13 @@
1
- import { ariaSpecs } from '../specs/aria-specs.js';
2
- import { isPresentational } from '../specs/is-presentational.js';
1
+ import { ariaSpecs } from './aria-specs.js';
2
+ import { isPresentational } from './is-presentational.js';
3
3
  import { getAccname } from './accname-computation.js';
4
- import { getAttrSpecs } from './get-attr-specs.js';
4
+ import { getAttrSpecs } from '../../utils/get-attr-specs.js';
5
5
  import { getExplicitRole } from './get-explicit-role.js';
6
6
  import { getImplicitRole } from './get-implicit-role.js';
7
7
  import { getNonPresentationalAncestor } from './get-non-presentational-ancestor.js';
8
8
  import { isRequiredOwnedElement } from './has-required-owned-elements.js';
9
9
  import { matchesContextRole } from './matches-context-role.js';
10
- import { mayBeFocusable } from './may-be-focusable.js';
10
+ import { mayBeFocusable } from '../html/may-be-focusable.js';
11
11
  export function getComputedRole(specs,
12
12
  // eslint-disable-next-line @typescript-eslint/prefer-readonly-parameter-types
13
13
  el, version, assumeSingleNode = false) {
@@ -1,2 +1,2 @@
1
- import type { ARIAVersion, ComputedRole, MLMLSpec } from '../types/index.js';
1
+ import type { ARIAVersion, ComputedRole, MLMLSpec } from '../../types/index.js';
2
2
  export declare function getExplicitRole(specs: MLMLSpec, el: Element, version: ARIAVersion): ComputedRole;
@@ -1,5 +1,5 @@
1
- import { getRoleSpec } from '../specs/get-role-spec.js';
2
- import { resolveNamespace } from '../utils/resolve-namespace.js';
1
+ import { getRoleSpec } from './get-role-spec.js';
2
+ import { resolveNamespace } from '../../utils/resolve-namespace.js';
3
3
  import { getPermittedRoles } from './get-permitted-roles.js';
4
4
  export function getExplicitRole(specs,
5
5
  // eslint-disable-next-line @typescript-eslint/prefer-readonly-parameter-types
@@ -0,0 +1,2 @@
1
+ import type { ARIAVersion, Matches, MLMLSpec } from '../../types/index.js';
2
+ export declare function getImplicitRole(specs: MLMLSpec, localName: string, namespace: string | null, version: ARIAVersion, matches: Matches): import("../../index.js").ImplicitRole;
@@ -1,4 +1,4 @@
1
- import type { ImplicitRole } from '../types/aria.js';
2
- import type { ARIAVersion, ComputedRole, MLMLSpec } from '../types/index.js';
1
+ import type { ImplicitRole } from '../../types/aria.js';
2
+ import type { ARIAVersion, ComputedRole, MLMLSpec } from '../../types/index.js';
3
3
  export declare function getImplicitRole(specs: MLMLSpec, el: Element, version: ARIAVersion): ComputedRole;
4
4
  export declare function getImplicitRoleName(el: Element, version: ARIAVersion, specs: MLMLSpec): ImplicitRole;
@@ -1,6 +1,6 @@
1
- import { getImplicitRole as _getImplicitRole } from '../specs/get-implicit-role.js';
2
- import { getRoleSpec } from '../specs/get-role-spec.js';
3
- import { resolveNamespace } from '../utils/resolve-namespace.js';
1
+ import { getImplicitRole as _getImplicitRole } from './get-implicit-role-spec.js';
2
+ import { getRoleSpec } from './get-role-spec.js';
3
+ import { resolveNamespace } from '../../utils/resolve-namespace.js';
4
4
  export function getImplicitRole(specs,
5
5
  // eslint-disable-next-line @typescript-eslint/prefer-readonly-parameter-types
6
6
  el, version) {
@@ -0,0 +1,5 @@
1
+ import type { ARIAVersion, MLMLSpec } from '../../types/index.js';
2
+ export declare function getNonPresentationalAncestor(el: Element, specs: MLMLSpec, version: ARIAVersion): import("../../types/index.js").ComputedRole | {
3
+ el: null;
4
+ role: null;
5
+ };
@@ -1,4 +1,4 @@
1
- import { isPresentational } from '../specs/is-presentational.js';
1
+ import { isPresentational } from './is-presentational.js';
2
2
  import { getComputedRole } from './get-computed-role.js';
3
3
  export function getNonPresentationalAncestor(
4
4
  // eslint-disable-next-line @typescript-eslint/prefer-readonly-parameter-types
@@ -1,4 +1,4 @@
1
- import type { ARIAVersion, Matches, MLMLSpec } from '../types/index.js';
1
+ import type { ARIAVersion, Matches, MLMLSpec } from '../../types/index.js';
2
2
  /**
3
3
  * Getting permitted ARIA roles.
4
4
  *
@@ -1,6 +1,6 @@
1
1
  // @ts-ignore
2
2
  import { isPlainObject } from 'is-plain-object';
3
- import { mergeArray } from '../utils/merge-array.js';
3
+ import { mergeArray } from '../../utils/merge-array.js';
4
4
  import { ariaSpecs } from './aria-specs.js';
5
5
  import { getARIA } from './get-aria.js';
6
6
  /**
@@ -1,4 +1,4 @@
1
- import type { ARIAVersion, MLMLSpec } from '../types/index.js';
1
+ import type { ARIAVersion, MLMLSpec } from '../../types/index.js';
2
2
  export declare function getPermittedRoles(el: Element, version: ARIAVersion, specs: MLMLSpec): readonly {
3
3
  readonly name: string;
4
4
  readonly deprecated?: boolean;
@@ -1,4 +1,4 @@
1
- import { getPermittedRoles as _getPermittedRoles } from '../specs/get-permitted-roles.js';
1
+ import { getPermittedRoles as _getPermittedRoles } from './get-permitted-roles-spec.js';
2
2
  export function getPermittedRoles(
3
3
  // eslint-disable-next-line @typescript-eslint/prefer-readonly-parameter-types
4
4
  el, version, specs) {
@@ -1,4 +1,4 @@
1
- import type { ARIAVersion, ARIARoleInSchema, MLMLSpec, ARIARole } from '../types/index.js';
1
+ import type { ARIAVersion, ARIARoleInSchema, MLMLSpec, ARIARole } from '../../types/index.js';
2
2
  import type { NamespaceURI } from '@markuplint/ml-ast';
3
3
  export declare function getRoleSpec(specs: MLMLSpec, roleName: string, namespace: NamespaceURI, version: ARIAVersion): (ARIARole & {
4
4
  superClassRoles: ARIARoleInSchema[];
@@ -1,3 +1,3 @@
1
- import type { ARIAVersion, ComputedRole, MLMLSpec } from '../types/index.js';
1
+ import type { ARIAVersion, ComputedRole, MLMLSpec } from '../../types/index.js';
2
2
  export declare function hasRequiredOwnedElement(el: Element, specs: MLMLSpec, version: ARIAVersion): boolean;
3
3
  export declare function isRequiredOwnedElement(el: Element, role: ComputedRole['role'], query: string, specs: MLMLSpec, version: ARIAVersion): boolean;
@@ -1,4 +1,4 @@
1
- import { isPresentational } from '../specs/is-presentational.js';
1
+ import { isPresentational } from './is-presentational.js';
2
2
  import { getComputedRole } from './get-computed-role.js';
3
3
  import { getExplicitRole } from './get-explicit-role.js';
4
4
  import { getImplicitRole } from './get-implicit-role.js';
@@ -1,4 +1,4 @@
1
- import type { ARIAVersion, MLMLSpec } from '../types/index.js';
1
+ import type { ARIAVersion, MLMLSpec } from '../../types/index.js';
2
2
  /**
3
3
  * Detect including/excluding from the Accessibility Tree
4
4
  *
@@ -1,7 +1,7 @@
1
- import { ariaSpecs } from '../specs/aria-specs.js';
2
- import { getSpecByTagName } from '../specs/get-spec-by-tag-name.js';
3
- import { isPresentational } from '../specs/is-presentational.js';
4
- import { resolveNamespace } from '../utils/resolve-namespace.js';
1
+ import { ariaSpecs } from './aria-specs.js';
2
+ import { getSpecByTagName } from '../../utils/get-spec-by-tag-name.js';
3
+ import { isPresentational } from './is-presentational.js';
4
+ import { resolveNamespace } from '../../utils/resolve-namespace.js';
5
5
  import { getComputedRole } from './get-computed-role.js';
6
6
  /**
7
7
  * Detect including/excluding from the Accessibility Tree
@@ -1,2 +1,2 @@
1
- import type { ARIAVersion, MLMLSpec } from '../types/index.js';
1
+ import type { ARIAVersion, MLMLSpec } from '../../types/index.js';
2
2
  export declare function matchesContextRole(conditions: readonly string[], ownedEl: Element, specs: MLMLSpec, version: ARIAVersion): boolean;
@@ -1,3 +1,3 @@
1
- import type { MLMLSpec } from '../types/index.js';
2
- import type { Category } from '../types/permitted-structures.js';
1
+ import type { MLMLSpec } from '../../types/index.js';
2
+ import type { Category } from '../../types/permitted-structures.js';
3
3
  export declare function contentModelCategoryToTagNames(contentModel: Category, def: MLMLSpec['def']): ReadonlyArray<string>;
@@ -0,0 +1,4 @@
1
+ import type { ElementSpec } from '../../types/index.js';
2
+ type Specs = readonly Pick<ElementSpec, 'name' | 'contentModel'>[];
3
+ export declare function getContentModel(el: Element, specs: Specs): boolean | readonly (import("type-fest/source/readonly-deep.js").ReadonlyObjectDeep<import("../../types/permitted-structures.js").PermittedContentRequire> | import("type-fest/source/readonly-deep.js").ReadonlyObjectDeep<import("../../types/permitted-structures.js").PermittedContentOptional> | import("type-fest/source/readonly-deep.js").ReadonlyObjectDeep<import("../../types/permitted-structures.js").PermittedContentOneOrMore> | import("type-fest/source/readonly-deep.js").ReadonlyObjectDeep<import("../../types/permitted-structures.js").PermittedContentZeroOrMore> | import("type-fest/source/readonly-deep.js").ReadonlyObjectDeep<import("../../types/permitted-structures.js").PermittedContentChoice> | import("type-fest/source/readonly-deep.js").ReadonlyObjectDeep<import("../../types/permitted-structures.js").PermittedContentTransparent>)[] | null;
4
+ export {};
@@ -1,4 +1,4 @@
1
- import { getSpec } from './get-spec.js';
1
+ import { getSpec } from '../../utils/get-spec.js';
2
2
  const cachesBySpecs = new Map();
3
3
  export function getContentModel(
4
4
  // eslint-disable-next-line @typescript-eslint/prefer-readonly-parameter-types
@@ -0,0 +1,3 @@
1
+ import type { MLMLSpec } from '../../types/index.js';
2
+ import type { Category } from '../../types/permitted-structures.js';
3
+ export declare function getSelectorsByContentModelCategory(specs: MLMLSpec, category: Category): ReadonlyArray<string>;
@@ -1,4 +1,4 @@
1
- import type { MLMLSpec } from '../types/index.js';
1
+ import type { MLMLSpec } from '../../types/index.js';
2
2
  export declare function isPalpableElement(el: Element, specs: MLMLSpec, options?: {
3
3
  readonly extendsSvg?: boolean;
4
4
  readonly extendsExposableElements?: boolean;
@@ -1,2 +1,2 @@
1
- import type { MLMLSpec } from '../types/index.js';
1
+ import type { MLMLSpec } from '../../types/index.js';
2
2
  export declare function mayBeFocusable(el: Element, specs: MLMLSpec): boolean;
@@ -1,4 +1,4 @@
1
- import { getSelectorsByContentModelCategory } from '../specs/get-selectors-by-content-model-category.js';
1
+ import { getSelectorsByContentModelCategory } from './get-selectors-by-content-model-category.js';
2
2
  export function mayBeFocusable(
3
3
  // eslint-disable-next-line @typescript-eslint/prefer-readonly-parameter-types
4
4
  el, specs) {
package/lib/index.d.ts CHANGED
@@ -1,28 +1,30 @@
1
- export { getAttrSpecs as getAttrSpecsByNames } from './specs/get-attr-specs.js';
2
- export * from './constant/aria-version.js';
3
- export * from './dom-traverse/accname-computation.js';
4
- export * from './dom-traverse/get-attr-specs.js';
5
- export * from './dom-traverse/get-computed-aria-props.js';
6
- export * from './dom-traverse/get-computed-role.js';
7
- export * from './dom-traverse/get-content-model.js';
8
- export * from './dom-traverse/get-implicit-role.js';
9
- export * from './dom-traverse/get-permitted-roles.js';
10
- export * from './dom-traverse/get-spec.js';
11
- export * from './dom-traverse/has-required-owned-elements.js';
12
- export * from './dom-traverse/is-exposed.js';
13
- export * from './dom-traverse/may-be-focusable.js';
14
- export * from './specs/aria-specs.js';
15
- export * from './specs/content-model-category-to-tag-names.js';
16
- export * from './specs/get-aria.js';
17
- export * from './specs/get-role-spec.js';
18
- export * from './specs/get-spec-by-tag-name.js';
19
- export * from './specs/is-nothing-content-model.js';
20
- export * from './specs/is-palpable-elements.js';
21
- export * from './specs/is-void-element.js';
22
- export * from './specs/schema-to-spec.js';
1
+ export { getAttrSpecs as getAttrSpecsByNames } from './utils/get-attr-specs-spec.js';
2
+ export * from './utils/aria-version.js';
3
+ export * from './algorithm/aria/accname-computation.js';
4
+ export * from './algorithm/aria/get-computed-aria-props.js';
5
+ export * from './algorithm/aria/get-computed-role.js';
6
+ export * from './algorithm/aria/get-implicit-role.js';
7
+ export * from './algorithm/aria/get-permitted-roles.js';
8
+ export * from './algorithm/aria/has-required-owned-elements.js';
9
+ export * from './algorithm/aria/is-exposed.js';
10
+ export * from './algorithm/aria/aria-specs.js';
11
+ export * from './algorithm/aria/get-aria.js';
12
+ export * from './algorithm/aria/get-role-spec.js';
13
+ export * from './algorithm/aria/is-presentational.js';
14
+ export * from './algorithm/html/get-content-model.js';
15
+ export * from './algorithm/html/may-be-focusable.js';
16
+ export * from './algorithm/html/content-model-category-to-tag-names.js';
17
+ export * from './algorithm/html/get-selectors-by-content-model-category.js';
18
+ export * from './algorithm/html/is-nothing-content-model.js';
19
+ export * from './algorithm/html/is-palpable-elements.js';
20
+ export * from './algorithm/html/is-void-element.js';
21
+ export * from './utils/get-attr-specs.js';
22
+ export * from './utils/get-spec.js';
23
+ export * from './utils/get-spec-by-tag-name.js';
24
+ export * from './utils/schema-to-spec.js';
25
+ export * from './utils/resolve-namespace.js';
26
+ export * from './utils/validate-aria-version.js';
23
27
  export * from './types/index.js';
24
28
  export * from './types/aria.js';
25
29
  export * from './types/attributes.js';
26
30
  export * from './types/permitted-structures.js';
27
- export * from './utils/resolve-namespace.js';
28
- export * from './utils/validate-aria-version.js';
package/lib/index.js CHANGED
@@ -1,28 +1,34 @@
1
- export { getAttrSpecs as getAttrSpecsByNames } from './specs/get-attr-specs.js';
2
- export * from './constant/aria-version.js';
3
- export * from './dom-traverse/accname-computation.js';
4
- export * from './dom-traverse/get-attr-specs.js';
5
- export * from './dom-traverse/get-computed-aria-props.js';
6
- export * from './dom-traverse/get-computed-role.js';
7
- export * from './dom-traverse/get-content-model.js';
8
- export * from './dom-traverse/get-implicit-role.js';
9
- export * from './dom-traverse/get-permitted-roles.js';
10
- export * from './dom-traverse/get-spec.js';
11
- export * from './dom-traverse/has-required-owned-elements.js';
12
- export * from './dom-traverse/is-exposed.js';
13
- export * from './dom-traverse/may-be-focusable.js';
14
- export * from './specs/aria-specs.js';
15
- export * from './specs/content-model-category-to-tag-names.js';
16
- export * from './specs/get-aria.js';
17
- export * from './specs/get-role-spec.js';
18
- export * from './specs/get-spec-by-tag-name.js';
19
- export * from './specs/is-nothing-content-model.js';
20
- export * from './specs/is-palpable-elements.js';
21
- export * from './specs/is-void-element.js';
22
- export * from './specs/schema-to-spec.js';
1
+ export { getAttrSpecs as getAttrSpecsByNames } from './utils/get-attr-specs-spec.js';
2
+ export * from './utils/aria-version.js';
3
+ // ARIA algorithms
4
+ export * from './algorithm/aria/accname-computation.js';
5
+ export * from './algorithm/aria/get-computed-aria-props.js';
6
+ export * from './algorithm/aria/get-computed-role.js';
7
+ export * from './algorithm/aria/get-implicit-role.js';
8
+ export * from './algorithm/aria/get-permitted-roles.js';
9
+ export * from './algorithm/aria/has-required-owned-elements.js';
10
+ export * from './algorithm/aria/is-exposed.js';
11
+ export * from './algorithm/aria/aria-specs.js';
12
+ export * from './algorithm/aria/get-aria.js';
13
+ export * from './algorithm/aria/get-role-spec.js';
14
+ export * from './algorithm/aria/is-presentational.js';
15
+ // HTML algorithms
16
+ export * from './algorithm/html/get-content-model.js';
17
+ export * from './algorithm/html/may-be-focusable.js';
18
+ export * from './algorithm/html/content-model-category-to-tag-names.js';
19
+ export * from './algorithm/html/get-selectors-by-content-model-category.js';
20
+ export * from './algorithm/html/is-nothing-content-model.js';
21
+ export * from './algorithm/html/is-palpable-elements.js';
22
+ export * from './algorithm/html/is-void-element.js';
23
+ // Shared utilities
24
+ export * from './utils/get-attr-specs.js';
25
+ export * from './utils/get-spec.js';
26
+ export * from './utils/get-spec-by-tag-name.js';
27
+ export * from './utils/schema-to-spec.js';
28
+ export * from './utils/resolve-namespace.js';
29
+ export * from './utils/validate-aria-version.js';
30
+ // Type definitions
23
31
  export * from './types/index.js';
24
32
  export * from './types/aria.js';
25
33
  export * from './types/attributes.js';
26
34
  export * from './types/permitted-structures.js';
27
- export * from './utils/resolve-namespace.js';
28
- export * from './utils/validate-aria-version.js';
@@ -3,7 +3,7 @@
3
3
  * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
4
4
  * and run json-schema-to-typescript to regenerate this file.
5
5
  */
6
- export type AttributeType = (("<'--*'>" | "<'-moz-appearance'>" | "<'-moz-background-clip'>" | "<'-moz-binding'>" | "<'-moz-border-bottom-colors'>" | "<'-moz-border-left-colors'>" | "<'-moz-border-radius-bottomleft'>" | "<'-moz-border-radius-bottomright'>" | "<'-moz-border-radius-topleft'>" | "<'-moz-border-radius-topright'>" | "<'-moz-border-right-colors'>" | "<'-moz-border-top-colors'>" | "<'-moz-context-properties'>" | "<'-moz-control-character-visibility'>" | "<'-moz-float-edge'>" | "<'-moz-force-broken-image-icon'>" | "<'-moz-image-region'>" | "<'-moz-orient'>" | "<'-moz-osx-font-smoothing'>" | "<'-moz-outline-radius'>" | "<'-moz-outline-radius-bottomleft'>" | "<'-moz-outline-radius-bottomright'>" | "<'-moz-outline-radius-topleft'>" | "<'-moz-outline-radius-topright'>" | "<'-moz-stack-sizing'>" | "<'-moz-text-blink'>" | "<'-moz-user-focus'>" | "<'-moz-user-input'>" | "<'-moz-user-modify'>" | "<'-moz-user-select'>" | "<'-moz-window-dragging'>" | "<'-moz-window-shadow'>" | "<'-ms-accelerator'>" | "<'-ms-block-progression'>" | "<'-ms-content-zoom-chaining'>" | "<'-ms-content-zoom-limit'>" | "<'-ms-content-zoom-limit-max'>" | "<'-ms-content-zoom-limit-min'>" | "<'-ms-content-zoom-snap'>" | "<'-ms-content-zoom-snap-points'>" | "<'-ms-content-zoom-snap-type'>" | "<'-ms-content-zooming'>" | "<'-ms-filter'>" | "<'-ms-flex-align'>" | "<'-ms-flex-item-align'>" | "<'-ms-flex-line-pack'>" | "<'-ms-flex-negative'>" | "<'-ms-flex-order'>" | "<'-ms-flex-pack'>" | "<'-ms-flex-positive'>" | "<'-ms-flex-preferred-size'>" | "<'-ms-flow-from'>" | "<'-ms-flow-into'>" | "<'-ms-grid-column-align'>" | "<'-ms-grid-columns'>" | "<'-ms-grid-row-align'>" | "<'-ms-grid-rows'>" | "<'-ms-high-contrast-adjust'>" | "<'-ms-hyphenate-limit-chars'>" | "<'-ms-hyphenate-limit-last'>" | "<'-ms-hyphenate-limit-lines'>" | "<'-ms-hyphenate-limit-zone'>" | "<'-ms-ime-align'>" | "<'-ms-interpolation-mode'>" | "<'-ms-overflow-style'>" | "<'-ms-scroll-chaining'>" | "<'-ms-scroll-limit'>" | "<'-ms-scroll-limit-x-max'>" | "<'-ms-scroll-limit-x-min'>" | "<'-ms-scroll-limit-y-max'>" | "<'-ms-scroll-limit-y-min'>" | "<'-ms-scroll-rails'>" | "<'-ms-scroll-snap-points-x'>" | "<'-ms-scroll-snap-points-y'>" | "<'-ms-scroll-snap-type'>" | "<'-ms-scroll-snap-x'>" | "<'-ms-scroll-snap-y'>" | "<'-ms-scroll-translation'>" | "<'-ms-scrollbar-3dlight-color'>" | "<'-ms-scrollbar-arrow-color'>" | "<'-ms-scrollbar-base-color'>" | "<'-ms-scrollbar-darkshadow-color'>" | "<'-ms-scrollbar-face-color'>" | "<'-ms-scrollbar-highlight-color'>" | "<'-ms-scrollbar-shadow-color'>" | "<'-ms-scrollbar-track-color'>" | "<'-ms-text-autospace'>" | "<'-ms-touch-select'>" | "<'-ms-user-select'>" | "<'-ms-wrap-flow'>" | "<'-ms-wrap-margin'>" | "<'-ms-wrap-through'>" | "<'-webkit-appearance'>" | "<'-webkit-background-clip'>" | "<'-webkit-border-before'>" | "<'-webkit-border-before-color'>" | "<'-webkit-border-before-style'>" | "<'-webkit-border-before-width'>" | "<'-webkit-box-reflect'>" | "<'-webkit-column-break-after'>" | "<'-webkit-column-break-before'>" | "<'-webkit-column-break-inside'>" | "<'-webkit-font-smoothing'>" | "<'-webkit-line-clamp'>" | "<'-webkit-mask'>" | "<'-webkit-mask-attachment'>" | "<'-webkit-mask-box-image'>" | "<'-webkit-mask-clip'>" | "<'-webkit-mask-composite'>" | "<'-webkit-mask-image'>" | "<'-webkit-mask-origin'>" | "<'-webkit-mask-position'>" | "<'-webkit-mask-position-x'>" | "<'-webkit-mask-position-y'>" | "<'-webkit-mask-repeat'>" | "<'-webkit-mask-repeat-x'>" | "<'-webkit-mask-repeat-y'>" | "<'-webkit-mask-size'>" | "<'-webkit-overflow-scrolling'>" | "<'-webkit-print-color-adjust'>" | "<'-webkit-tap-highlight-color'>" | "<'-webkit-text-fill-color'>" | "<'-webkit-text-security'>" | "<'-webkit-text-stroke'>" | "<'-webkit-text-stroke-color'>" | "<'-webkit-text-stroke-width'>" | "<'-webkit-touch-callout'>" | "<'-webkit-user-drag'>" | "<'-webkit-user-modify'>" | "<'-webkit-user-select'>" | "<'accent-color'>" | "<'align-content'>" | "<'align-items'>" | "<'align-self'>" | "<'align-tracks'>" | "<'alignment-baseline'>" | "<'all'>" | "<'anchor-name'>" | "<'anchor-scope'>" | "<'animation'>" | "<'animation-composition'>" | "<'animation-delay'>" | "<'animation-direction'>" | "<'animation-duration'>" | "<'animation-fill-mode'>" | "<'animation-iteration-count'>" | "<'animation-name'>" | "<'animation-play-state'>" | "<'animation-range'>" | "<'animation-range-end'>" | "<'animation-range-start'>" | "<'animation-timeline'>" | "<'animation-timing-function'>" | "<'appearance'>" | "<'aspect-ratio'>" | "<'azimuth'>" | "<'backdrop-filter'>" | "<'backface-visibility'>" | "<'background'>" | "<'background-attachment'>" | "<'background-blend-mode'>" | "<'background-clip'>" | "<'background-color'>" | "<'background-image'>" | "<'background-origin'>" | "<'background-position'>" | "<'background-position-x'>" | "<'background-position-y'>" | "<'background-repeat'>" | "<'background-size'>" | "<'baseline-shift'>" | "<'behavior'>" | "<'block-size'>" | "<'border'>" | "<'border-block'>" | "<'border-block-color'>" | "<'border-block-end'>" | "<'border-block-end-color'>" | "<'border-block-end-style'>" | "<'border-block-end-width'>" | "<'border-block-start'>" | "<'border-block-start-color'>" | "<'border-block-start-style'>" | "<'border-block-start-width'>" | "<'border-block-style'>" | "<'border-block-width'>" | "<'border-bottom'>" | "<'border-bottom-color'>" | "<'border-bottom-left-radius'>" | "<'border-bottom-right-radius'>" | "<'border-bottom-style'>" | "<'border-bottom-width'>" | "<'border-collapse'>" | "<'border-color'>" | "<'border-end-end-radius'>" | "<'border-end-start-radius'>" | "<'border-image'>" | "<'border-image-outset'>" | "<'border-image-repeat'>" | "<'border-image-slice'>" | "<'border-image-source'>" | "<'border-image-width'>" | "<'border-inline'>" | "<'border-inline-color'>" | "<'border-inline-end'>" | "<'border-inline-end-color'>" | "<'border-inline-end-style'>" | "<'border-inline-end-width'>" | "<'border-inline-start'>" | "<'border-inline-start-color'>" | "<'border-inline-start-style'>" | "<'border-inline-start-width'>" | "<'border-inline-style'>" | "<'border-inline-width'>" | "<'border-left'>" | "<'border-left-color'>" | "<'border-left-style'>" | "<'border-left-width'>" | "<'border-radius'>" | "<'border-right'>" | "<'border-right-color'>" | "<'border-right-style'>" | "<'border-right-width'>" | "<'border-spacing'>" | "<'border-start-end-radius'>" | "<'border-start-start-radius'>" | "<'border-style'>" | "<'border-top'>" | "<'border-top-color'>" | "<'border-top-left-radius'>" | "<'border-top-right-radius'>" | "<'border-top-style'>" | "<'border-top-width'>" | "<'border-width'>" | "<'bottom'>" | "<'box-align'>" | "<'box-decoration-break'>" | "<'box-direction'>" | "<'box-flex'>" | "<'box-flex-group'>" | "<'box-lines'>" | "<'box-ordinal-group'>" | "<'box-orient'>" | "<'box-pack'>" | "<'box-shadow'>" | "<'box-sizing'>" | "<'break-after'>" | "<'break-before'>" | "<'break-inside'>" | "<'caption-side'>" | "<'caret'>" | "<'caret-color'>" | "<'caret-shape'>" | "<'clear'>" | "<'clip'>" | "<'clip-path'>" | "<'clip-rule'>" | "<'color'>" | "<'color-interpolation-filters'>" | "<'color-scheme'>" | "<'column-count'>" | "<'column-fill'>" | "<'column-gap'>" | "<'column-rule'>" | "<'column-rule-color'>" | "<'column-rule-style'>" | "<'column-rule-width'>" | "<'column-span'>" | "<'column-width'>" | "<'columns'>" | "<'contain'>" | "<'contain-intrinsic-block-size'>" | "<'contain-intrinsic-height'>" | "<'contain-intrinsic-inline-size'>" | "<'contain-intrinsic-size'>" | "<'contain-intrinsic-width'>" | "<'container'>" | "<'container-name'>" | "<'container-type'>" | "<'content'>" | "<'content-visibility'>" | "<'counter-increment'>" | "<'counter-reset'>" | "<'counter-set'>" | "<'cue'>" | "<'cue-after'>" | "<'cue-before'>" | "<'cursor'>" | "<'cx'>" | "<'cy'>" | "<'d'>" | "<'direction'>" | "<'display'>" | "<'dominant-baseline'>" | "<'empty-cells'>" | "<'field-sizing'>" | "<'fill'>" | "<'fill-opacity'>" | "<'fill-rule'>" | "<'filter'>" | "<'flex'>" | "<'flex-basis'>" | "<'flex-direction'>" | "<'flex-flow'>" | "<'flex-grow'>" | "<'flex-shrink'>" | "<'flex-wrap'>" | "<'float'>" | "<'font'>" | "<'font-family'>" | "<'font-feature-settings'>" | "<'font-kerning'>" | "<'font-language-override'>" | "<'font-optical-sizing'>" | "<'font-palette'>" | "<'font-size'>" | "<'font-size-adjust'>" | "<'font-smooth'>" | "<'font-stretch'>" | "<'font-style'>" | "<'font-synthesis'>" | "<'font-synthesis-position'>" | "<'font-synthesis-small-caps'>" | "<'font-synthesis-style'>" | "<'font-synthesis-weight'>" | "<'font-variant'>" | "<'font-variant-alternates'>" | "<'font-variant-caps'>" | "<'font-variant-east-asian'>" | "<'font-variant-emoji'>" | "<'font-variant-ligatures'>" | "<'font-variant-numeric'>" | "<'font-variant-position'>" | "<'font-variation-settings'>" | "<'font-weight'>" | "<'forced-color-adjust'>" | "<'gap'>" | "<'glyph-orientation-horizontal'>" | "<'glyph-orientation-vertical'>" | "<'grid'>" | "<'grid-area'>" | "<'grid-auto-columns'>" | "<'grid-auto-flow'>" | "<'grid-auto-rows'>" | "<'grid-column'>" | "<'grid-column-end'>" | "<'grid-column-gap'>" | "<'grid-column-start'>" | "<'grid-gap'>" | "<'grid-row'>" | "<'grid-row-end'>" | "<'grid-row-gap'>" | "<'grid-row-start'>" | "<'grid-template'>" | "<'grid-template-areas'>" | "<'grid-template-columns'>" | "<'grid-template-rows'>" | "<'hanging-punctuation'>" | "<'height'>" | "<'hyphenate-character'>" | "<'hyphenate-limit-chars'>" | "<'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'>" | "<'interpolate-size'>" | "<'isolation'>" | "<'justify-content'>" | "<'justify-items'>" | "<'justify-self'>" | "<'justify-tracks'>" | "<'kerning'>" | "<'left'>" | "<'letter-spacing'>" | "<'line-break'>" | "<'line-clamp'>" | "<'line-height'>" | "<'line-height-step'>" | "<'list-style'>" | "<'list-style-image'>" | "<'list-style-position'>" | "<'list-style-type'>" | "<'margin'>" | "<'margin-block'>" | "<'margin-block-end'>" | "<'margin-block-start'>" | "<'margin-bottom'>" | "<'margin-inline'>" | "<'margin-inline-end'>" | "<'margin-inline-start'>" | "<'margin-left'>" | "<'margin-right'>" | "<'margin-top'>" | "<'margin-trim'>" | "<'marker'>" | "<'marker-end'>" | "<'marker-mid'>" | "<'marker-start'>" | "<'mask'>" | "<'mask-border'>" | "<'mask-border-mode'>" | "<'mask-border-outset'>" | "<'mask-border-repeat'>" | "<'mask-border-slice'>" | "<'mask-border-source'>" | "<'mask-border-width'>" | "<'mask-clip'>" | "<'mask-composite'>" | "<'mask-image'>" | "<'mask-mode'>" | "<'mask-origin'>" | "<'mask-position'>" | "<'mask-repeat'>" | "<'mask-size'>" | "<'mask-type'>" | "<'masonry-auto-flow'>" | "<'math-depth'>" | "<'math-shift'>" | "<'math-style'>" | "<'max-block-size'>" | "<'max-height'>" | "<'max-inline-size'>" | "<'max-lines'>" | "<'max-width'>" | "<'min-block-size'>" | "<'min-height'>" | "<'min-inline-size'>" | "<'min-width'>" | "<'mix-blend-mode'>" | "<'object-fit'>" | "<'object-position'>" | "<'offset'>" | "<'offset-anchor'>" | "<'offset-distance'>" | "<'offset-path'>" | "<'offset-position'>" | "<'offset-rotate'>" | "<'opacity'>" | "<'order'>" | "<'orphans'>" | "<'outline'>" | "<'outline-color'>" | "<'outline-offset'>" | "<'outline-style'>" | "<'outline-width'>" | "<'overflow'>" | "<'overflow-anchor'>" | "<'overflow-block'>" | "<'overflow-clip-box'>" | "<'overflow-clip-margin'>" | "<'overflow-inline'>" | "<'overflow-wrap'>" | "<'overflow-x'>" | "<'overflow-y'>" | "<'overlay'>" | "<'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'>" | "<'page-break-after'>" | "<'page-break-before'>" | "<'page-break-inside'>" | "<'paint-order'>" | "<'pause'>" | "<'pause-after'>" | "<'pause-before'>" | "<'perspective'>" | "<'perspective-origin'>" | "<'place-content'>" | "<'place-items'>" | "<'place-self'>" | "<'pointer-events'>" | "<'position'>" | "<'position-anchor'>" | "<'position-area'>" | "<'position-try'>" | "<'position-try-fallbacks'>" | "<'position-try-order'>" | "<'position-visibility'>" | "<'print-color-adjust'>" | "<'quotes'>" | "<'r'>" | "<'resize'>" | "<'rest'>" | "<'rest-after'>" | "<'rest-before'>" | "<'right'>" | "<'rotate'>" | "<'row-gap'>" | "<'ruby-align'>" | "<'ruby-merge'>" | "<'ruby-position'>" | "<'rx'>" | "<'ry'>" | "<'scale'>" | "<'scroll-behavior'>" | "<'scroll-margin'>" | "<'scroll-margin-block'>" | "<'scroll-margin-block-end'>" | "<'scroll-margin-block-start'>" | "<'scroll-margin-bottom'>" | "<'scroll-margin-inline'>" | "<'scroll-margin-inline-end'>" | "<'scroll-margin-inline-start'>" | "<'scroll-margin-left'>" | "<'scroll-margin-right'>" | "<'scroll-margin-top'>" | "<'scroll-padding'>" | "<'scroll-padding-block'>" | "<'scroll-padding-block-end'>" | "<'scroll-padding-block-start'>" | "<'scroll-padding-bottom'>" | "<'scroll-padding-inline'>" | "<'scroll-padding-inline-end'>" | "<'scroll-padding-inline-start'>" | "<'scroll-padding-left'>" | "<'scroll-padding-right'>" | "<'scroll-padding-top'>" | "<'scroll-snap-align'>" | "<'scroll-snap-coordinate'>" | "<'scroll-snap-destination'>" | "<'scroll-snap-points-x'>" | "<'scroll-snap-points-y'>" | "<'scroll-snap-stop'>" | "<'scroll-snap-type'>" | "<'scroll-snap-type-x'>" | "<'scroll-snap-type-y'>" | "<'scroll-timeline'>" | "<'scroll-timeline-axis'>" | "<'scroll-timeline-name'>" | "<'scrollbar-color'>" | "<'scrollbar-gutter'>" | "<'scrollbar-width'>" | "<'shape-image-threshold'>" | "<'shape-margin'>" | "<'shape-outside'>" | "<'shape-rendering'>" | "<'speak'>" | "<'speak-as'>" | "<'src'>" | "<'stroke'>" | "<'stroke-dasharray'>" | "<'stroke-dashoffset'>" | "<'stroke-linecap'>" | "<'stroke-linejoin'>" | "<'stroke-miterlimit'>" | "<'stroke-opacity'>" | "<'stroke-width'>" | "<'tab-size'>" | "<'table-layout'>" | "<'text-align'>" | "<'text-align-last'>" | "<'text-anchor'>" | "<'text-combine-upright'>" | "<'text-decoration'>" | "<'text-decoration-color'>" | "<'text-decoration-line'>" | "<'text-decoration-skip'>" | "<'text-decoration-skip-ink'>" | "<'text-decoration-style'>" | "<'text-decoration-thickness'>" | "<'text-emphasis'>" | "<'text-emphasis-color'>" | "<'text-emphasis-position'>" | "<'text-emphasis-style'>" | "<'text-indent'>" | "<'text-justify'>" | "<'text-orientation'>" | "<'text-overflow'>" | "<'text-rendering'>" | "<'text-shadow'>" | "<'text-size-adjust'>" | "<'text-spacing-trim'>" | "<'text-transform'>" | "<'text-underline-offset'>" | "<'text-underline-position'>" | "<'text-wrap'>" | "<'text-wrap-mode'>" | "<'text-wrap-style'>" | "<'timeline-scope'>" | "<'top'>" | "<'touch-action'>" | "<'transform'>" | "<'transform-box'>" | "<'transform-origin'>" | "<'transform-style'>" | "<'transition'>" | "<'transition-behavior'>" | "<'transition-delay'>" | "<'transition-duration'>" | "<'transition-property'>" | "<'transition-timing-function'>" | "<'translate'>" | "<'unicode-bidi'>" | "<'unicode-range'>" | "<'user-select'>" | "<'vector-effect'>" | "<'vertical-align'>" | "<'view-timeline'>" | "<'view-timeline-axis'>" | "<'view-timeline-inset'>" | "<'view-timeline-name'>" | "<'view-transition-name'>" | "<'visibility'>" | "<'voice-balance'>" | "<'voice-duration'>" | "<'voice-family'>" | "<'voice-pitch'>" | "<'voice-range'>" | "<'voice-rate'>" | "<'voice-stress'>" | "<'voice-volume'>" | "<'white-space'>" | "<'white-space-collapse'>" | "<'white-space-trim'>" | "<'widows'>" | "<'width'>" | "<'will-change'>" | "<'word-break'>" | "<'word-spacing'>" | "<'word-wrap'>" | "<'writing-mode'>" | "<'x'>" | "<'y'>" | "<'z-index'>" | "<'zoom'>" | '<(-token>' | '<)-token>' | '<-legacy-gradient>' | '<-legacy-linear-gradient-arguments>' | '<-legacy-linear-gradient>' | '<-legacy-radial-gradient-arguments>' | '<-legacy-radial-gradient-shape>' | '<-legacy-radial-gradient-size>' | '<-legacy-radial-gradient>' | '<-legacy-repeating-linear-gradient>' | '<-legacy-repeating-radial-gradient>' | '<-ms-filter-function-legacy>' | '<-ms-filter-function-list>' | '<-ms-filter-function-progid>' | '<-ms-filter-function>' | '<-non-standard-color>' | '<-non-standard-display>' | '<-non-standard-font>' | '<-non-standard-generic-family>' | '<-non-standard-image-rendering>' | '<-non-standard-overflow>' | '<-non-standard-size>' | '<-webkit-gradient()>' | '<-webkit-gradient-color-stop>' | '<-webkit-gradient-point>' | '<-webkit-gradient-radius>' | '<-webkit-gradient-type>' | '<-webkit-mask-box-repeat>' | '<CDC-token>' | '<CDO-token>' | '<[-token>' | '<]-token>' | '<abs()>' | '<absolute-color-base>' | '<absolute-color-function>' | '<absolute-size>' | '<acos()>' | '<age>' | '<alpha-value>' | '<an-plus-b>' | '<anchor()>' | '<anchor-element>' | '<anchor-name>' | '<anchor-side>' | '<anchor-size()>' | '<anchor-size>' | '<angle-percentage>' | '<angle>' | '<angular-color-hint>' | '<angular-color-stop-list>' | '<angular-color-stop>' | '<animateable-feature>' | '<any-value>' | '<asin()>' | '<at-keyword-token>' | '<atan()>' | '<atan2()>' | '<attachment>' | '<attr()>' | '<attr-fallback>' | '<attr-matcher>' | '<attr-modifier>' | '<attr-name>' | '<attribute-selector>' | '<auto-repeat>' | '<auto-track-list>' | '<axis>' | '<bad-string-token>' | '<bad-url-token>' | '<baseline-position>' | '<basic-shape>' | '<bcp-47>' | '<bg-clip>' | '<bg-image>' | '<bg-layer>' | '<bg-position>' | '<bg-size>' | '<blend-mode>' | '<blur()>' | '<bottom>' | '<box>' | '<brightness()>' | '<calc()>' | '<calc-constant>' | '<calc-product>' | '<calc-sum>' | '<calc-value>' | '<cf-final-image>' | '<cf-mixing-image>' | '<circle()>' | '<clamp()>' | '<class-selector>' | '<clip-source>' | '<cmyk-component>' | '<colon-token>' | '<color()>' | '<color-base>' | '<color-function>' | '<color-interpolation-method>' | '<color-mix()>' | '<color-space>' | '<color-stop-angle>' | '<color-stop-length>' | '<color-stop-list>' | '<color-stop>' | '<color>' | '<colorspace-params>' | '<combinator>' | '<comma-token>' | '<common-lig-values>' | '<compat-auto>' | '<complex-real-selector-list>' | '<complex-real-selector>' | '<complex-selector-list>' | '<complex-selector-unit>' | '<complex-selector>' | '<composite-style>' | '<compositing-operator>' | '<compound-selector-list>' | '<compound-selector>' | '<conic-gradient()>' | '<container-condition>' | '<container-name>' | '<content-distribution>' | '<content-list>' | '<content-position>' | '<content-replacement>' | '<contextual-alt-values>' | '<contrast()>' | '<coord-box>' | '<cos()>' | '<counter()>' | '<counter-name>' | '<counter-style-name>' | '<counter-style>' | '<counter>' | '<counters()>' | '<cross-fade()>' | '<cubic-bezier-timing-function>' | '<custom-color-space>' | '<custom-ident>' | '<custom-property-name>' | '<dashed-ident>' | '<decibel>' | '<declaration-list>' | '<declaration-value>' | '<declaration>' | '<delim-token>' | '<deprecated-system-color>' | '<device-cmyk()>' | '<dimension-token>' | '<dimension>' | '<discretionary-lig-values>' | '<display-box>' | '<display-inside>' | '<display-internal>' | '<display-legacy>' | '<display-listitem>' | '<display-outside>' | '<drop-shadow()>' | '<easing-function>' | '<east-asian-variant-values>' | '<east-asian-width-values>' | '<element()>' | '<ellipse()>' | '<ending-shape>' | '<env()>' | '<exp()>' | '<explicit-track-list>' | '<family-name>' | '<feature-tag-value>' | '<feature-type>' | '<feature-value-block-list>' | '<feature-value-block>' | '<feature-value-declaration-list>' | '<feature-value-declaration>' | '<feature-value-name>' | '<fill-rule>' | '<filter-function-list>' | '<filter-function>' | '<final-bg-layer>' | '<fixed-breadth>' | '<fixed-repeat>' | '<fixed-size>' | '<flex>' | '<font-stretch-absolute>' | '<font-variant-css21>' | '<font-variant-css2>' | '<font-weight-absolute>' | '<font-width-css3>' | '<forgiving-relative-selector-list>' | '<forgiving-selector-list>' | '<frequency-percentage>' | '<frequency>' | '<function-token>' | '<gender>' | '<general-enclosed>' | '<generic-complete>' | '<generic-family>' | '<generic-incomplete>' | '<generic-name>' | '<generic-script-specific>' | '<generic-voice>' | '<geometry-box>' | '<gradient>' | '<grayscale()>' | '<grid-line>' | '<hash-token>' | '<hex-color>' | '<historical-lig-values>' | '<hsl()>' | '<hsla()>' | '<hue-interpolation-method>' | '<hue-rotate()>' | '<hue>' | '<hwb()>' | '<hypot()>' | '<id-selector>' | '<ident-token>' | '<ident>' | '<image()>' | '<image-set()>' | '<image-set-option>' | '<image-src>' | '<image-tags>' | '<image>' | '<inflexible-breadth>' | '<inset()>' | '<inset-area>' | '<integer>' | '<invert()>' | '<keyframe-block-list>' | '<keyframe-block>' | '<keyframe-selector>' | '<keyframes-name>' | '<lab()>' | '<layer()>' | '<layer-name>' | '<lch()>' | '<leader()>' | '<leader-type>' | '<left>' | '<legacy-device-cmyk-syntax>' | '<legacy-pseudo-element-selector>' | '<length-percentage>' | '<length>' | '<light-dark()>' | '<line-name-list>' | '<line-names>' | '<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-without-or>' | '<media-condition>' | '<media-feature>' | '<media-in-parens>' | '<media-not>' | '<media-or>' | '<media-query-list>' | '<media-query>' | '<media-type>' | '<mf-boolean>' | '<mf-name>' | '<mf-plain>' | '<mf-range>' | '<mf-value>' | '<min()>' | '<minmax()>' | '<mod()>' | '<modern-device-cmyk-syntax>' | '<name-repeat>' | '<named-color>' | '<namespace-prefix>' | '<ns-prefix>' | '<nth>' | '<number-one-or-greater>' | '<number-percentage>' | '<number-token>' | '<number-zero-one>' | '<number>' | '<numeric-figure-values>' | '<numeric-fraction-values>' | '<numeric-spacing-values>' | '<offset-path>' | '<oklab()>' | '<oklch()>' | '<opacity()>' | '<outline-radius>' | '<overflow-position>' | '<page-body>' | '<page-margin-box-type>' | '<page-margin-box>' | '<page-selector-list>' | '<page-selector>' | '<page-size>' | '<paint()>' | '<paint>' | '<palette-identifier>' | '<path()>' | '<percentage-token>' | '<percentage>' | '<perspective()>' | '<polar-color-space>' | '<polygon()>' | '<position-area>' | '<position>' | '<pow()>' | '<predefined-rgb-params>' | '<predefined-rgb>' | '<pseudo-class-selector>' | '<pseudo-compound-selector>' | '<pseudo-element-selector>' | '<pseudo-page>' | '<query-in-parens>' | '<quote>' | '<radial-gradient()>' | '<ratio>' | '<ray()>' | '<ray-size>' | '<rect()>' | '<rectangular-color-space>' | '<relative-real-selector-list>' | '<relative-real-selector>' | '<relative-selector-list>' | '<relative-selector>' | '<relative-size>' | '<rem()>' | '<repeat-style>' | '<repeating-conic-gradient()>' | '<repeating-linear-gradient()>' | '<repeating-radial-gradient()>' | '<resolution>' | '<reversed-counter-name>' | '<rgb()>' | '<rgba()>' | '<right>' | '<rotate()>' | '<rotate3d()>' | '<rotateX()>' | '<rotateY()>' | '<rotateZ()>' | '<round()>' | '<rounding-strategy>' | '<saturate()>' | '<scale()>' | '<scale3d()>' | '<scaleX()>' | '<scaleY()>' | '<scaleZ()>' | '<scope-end>' | '<scope-start>' | '<scroll()>' | '<scroller>' | '<selector-list>' | '<self-position>' | '<semicolon-token>' | '<semitones>' | '<sepia()>' | '<shadow-t>' | '<shadow>' | '<shape-box>' | '<shape-radius>' | '<shape>' | '<side-or-corner>' | '<sign()>' | '<simple-selector-list>' | '<simple-selector>' | '<sin()>' | '<single-animation-composition>' | '<single-animation-direction>' | '<single-animation-fill-mode>' | '<single-animation-iteration-count>' | '<single-animation-play-state>' | '<single-animation-timeline>' | '<single-animation>' | '<single-transition-property>' | '<single-transition>' | '<size-feature>' | '<size>' | '<skew()>' | '<skewX()>' | '<skewY()>' | '<sqrt()>' | '<step-position>' | '<step-timing-function>' | '<string-token>' | '<string>' | '<style-condition>' | '<style-feature>' | '<style-in-parens>' | '<style-query>' | '<subclass-selector>' | '<supports-condition>' | '<supports-decl>' | '<supports-feature>' | '<supports-in-parens>' | '<supports-selector-fn>' | '<svg-length>' | '<svg-writing-mode>' | '<symbol>' | '<system-color>' | '<system-family-name>' | '<tan()>' | '<target-counter()>' | '<target-counters()>' | '<target-text()>' | '<target>' | '<time-percentage>' | '<time>' | '<timeline-range-name>' | '<top>' | '<track-breadth>' | '<track-list>' | '<track-repeat>' | '<track-size>' | '<transform-function>' | '<transform-list>' | '<transition-behavior-value>' | '<translate()>' | '<translate3d()>' | '<translateX()>' | '<translateY()>' | '<translateZ()>' | '<try-size>' | '<try-tactic>' | '<type-or-unit>' | '<type-selector>' | '<urange>' | '<url-modifier>' | '<url-token>' | '<url>' | '<var()>' | '<view()>' | '<viewport-length>' | '<visual-box>' | '<whitespace-token>' | '<wq-name>' | '<x>' | '<xywh()>' | '<xyz-params>' | '<xyz-space>' | '<y>' | '<zero>' | '<{-token>' | '<}-token>') | ("<'color-profile'>" | "<'color-rendering'>" | "<'enable-background'>" | '<animatable-value>' | '<begin-value-list>' | '<class-list>' | '<clock-value>' | '<color-matrix>' | '<css-declaration-list>' | '<dasharray>' | '<end-value-list>' | '<key-points>' | '<key-splines>' | '<key-times>' | '<list-of-lengths>' | '<list-of-numbers>' | '<list-of-percentages>' | '<list-of-svg-feature-string>' | '<list-of-value>' | '<number-optional-number>' | '<origin>' | '<points>' | '<preserve-aspect-ratio>' | '<rotate>' | '<svg-font-size-adjust>' | '<svg-font-size>' | '<svg-path>' | '<system-language>' | '<text-coordinate>' | '<view-box>' | 'AbsoluteURL' | 'Accept' | 'Any' | 'AutoComplete' | 'BCP47' | 'BaseURL' | 'BrowsingContextName' | 'BrowsingContextNameOrKeyword' | 'CustomElementName' | 'DOMID' | 'DateTime' | 'FunctionBody' | 'HTTPSchemaURL' | 'HashName' | 'IconSize' | 'Int' | 'ItemProp' | 'JSON' | 'MIMEType' | 'NavigableTargetName' | 'NavigableTargetNameOrKeyword' | 'NoEmptyAny' | 'Number' | 'OneCodePointChar' | 'OneLineAny' | 'Pattern' | 'SerializedPermissionsPolicy' | 'SourceSizeList' | 'Srcset' | 'TabIndex' | 'URL' | 'Uint' | 'ValidCustomCommand' | 'XMLName' | 'Zero') | 'Boolean') | List | Enum | Number | Directive;
6
+ export type AttributeType = (("<'--*'>" | "<'-moz-appearance'>" | "<'-moz-background-clip'>" | "<'-moz-binding'>" | "<'-moz-border-bottom-colors'>" | "<'-moz-border-left-colors'>" | "<'-moz-border-radius-bottomleft'>" | "<'-moz-border-radius-bottomright'>" | "<'-moz-border-radius-topleft'>" | "<'-moz-border-radius-topright'>" | "<'-moz-border-right-colors'>" | "<'-moz-border-top-colors'>" | "<'-moz-context-properties'>" | "<'-moz-control-character-visibility'>" | "<'-moz-float-edge'>" | "<'-moz-force-broken-image-icon'>" | "<'-moz-image-region'>" | "<'-moz-orient'>" | "<'-moz-osx-font-smoothing'>" | "<'-moz-outline-radius'>" | "<'-moz-outline-radius-bottomleft'>" | "<'-moz-outline-radius-bottomright'>" | "<'-moz-outline-radius-topleft'>" | "<'-moz-outline-radius-topright'>" | "<'-moz-stack-sizing'>" | "<'-moz-text-blink'>" | "<'-moz-user-focus'>" | "<'-moz-user-input'>" | "<'-moz-user-modify'>" | "<'-moz-user-select'>" | "<'-moz-window-dragging'>" | "<'-moz-window-shadow'>" | "<'-ms-accelerator'>" | "<'-ms-block-progression'>" | "<'-ms-content-zoom-chaining'>" | "<'-ms-content-zoom-limit'>" | "<'-ms-content-zoom-limit-max'>" | "<'-ms-content-zoom-limit-min'>" | "<'-ms-content-zoom-snap'>" | "<'-ms-content-zoom-snap-points'>" | "<'-ms-content-zoom-snap-type'>" | "<'-ms-content-zooming'>" | "<'-ms-filter'>" | "<'-ms-flex-align'>" | "<'-ms-flex-item-align'>" | "<'-ms-flex-line-pack'>" | "<'-ms-flex-negative'>" | "<'-ms-flex-order'>" | "<'-ms-flex-pack'>" | "<'-ms-flex-positive'>" | "<'-ms-flex-preferred-size'>" | "<'-ms-flow-from'>" | "<'-ms-flow-into'>" | "<'-ms-grid-column-align'>" | "<'-ms-grid-columns'>" | "<'-ms-grid-row-align'>" | "<'-ms-grid-rows'>" | "<'-ms-high-contrast-adjust'>" | "<'-ms-hyphenate-limit-chars'>" | "<'-ms-hyphenate-limit-last'>" | "<'-ms-hyphenate-limit-lines'>" | "<'-ms-hyphenate-limit-zone'>" | "<'-ms-ime-align'>" | "<'-ms-interpolation-mode'>" | "<'-ms-overflow-style'>" | "<'-ms-scroll-chaining'>" | "<'-ms-scroll-limit'>" | "<'-ms-scroll-limit-x-max'>" | "<'-ms-scroll-limit-x-min'>" | "<'-ms-scroll-limit-y-max'>" | "<'-ms-scroll-limit-y-min'>" | "<'-ms-scroll-rails'>" | "<'-ms-scroll-snap-points-x'>" | "<'-ms-scroll-snap-points-y'>" | "<'-ms-scroll-snap-type'>" | "<'-ms-scroll-snap-x'>" | "<'-ms-scroll-snap-y'>" | "<'-ms-scroll-translation'>" | "<'-ms-scrollbar-3dlight-color'>" | "<'-ms-scrollbar-arrow-color'>" | "<'-ms-scrollbar-base-color'>" | "<'-ms-scrollbar-darkshadow-color'>" | "<'-ms-scrollbar-face-color'>" | "<'-ms-scrollbar-highlight-color'>" | "<'-ms-scrollbar-shadow-color'>" | "<'-ms-scrollbar-track-color'>" | "<'-ms-text-autospace'>" | "<'-ms-touch-select'>" | "<'-ms-user-select'>" | "<'-ms-wrap-flow'>" | "<'-ms-wrap-margin'>" | "<'-ms-wrap-through'>" | "<'-webkit-appearance'>" | "<'-webkit-background-clip'>" | "<'-webkit-border-before'>" | "<'-webkit-border-before-color'>" | "<'-webkit-border-before-style'>" | "<'-webkit-border-before-width'>" | "<'-webkit-box-reflect'>" | "<'-webkit-column-break-after'>" | "<'-webkit-column-break-before'>" | "<'-webkit-column-break-inside'>" | "<'-webkit-font-smoothing'>" | "<'-webkit-line-clamp'>" | "<'-webkit-mask'>" | "<'-webkit-mask-attachment'>" | "<'-webkit-mask-box-image'>" | "<'-webkit-mask-clip'>" | "<'-webkit-mask-composite'>" | "<'-webkit-mask-image'>" | "<'-webkit-mask-origin'>" | "<'-webkit-mask-position'>" | "<'-webkit-mask-position-x'>" | "<'-webkit-mask-position-y'>" | "<'-webkit-mask-repeat'>" | "<'-webkit-mask-repeat-x'>" | "<'-webkit-mask-repeat-y'>" | "<'-webkit-mask-size'>" | "<'-webkit-overflow-scrolling'>" | "<'-webkit-print-color-adjust'>" | "<'-webkit-tap-highlight-color'>" | "<'-webkit-text-fill-color'>" | "<'-webkit-text-security'>" | "<'-webkit-text-stroke'>" | "<'-webkit-text-stroke-color'>" | "<'-webkit-text-stroke-width'>" | "<'-webkit-touch-callout'>" | "<'-webkit-user-drag'>" | "<'-webkit-user-modify'>" | "<'-webkit-user-select'>" | "<'accent-color'>" | "<'align-content'>" | "<'align-items'>" | "<'align-self'>" | "<'align-tracks'>" | "<'alignment-baseline'>" | "<'all'>" | "<'anchor-name'>" | "<'anchor-scope'>" | "<'animation'>" | "<'animation-composition'>" | "<'animation-delay'>" | "<'animation-direction'>" | "<'animation-duration'>" | "<'animation-fill-mode'>" | "<'animation-iteration-count'>" | "<'animation-name'>" | "<'animation-play-state'>" | "<'animation-range'>" | "<'animation-range-end'>" | "<'animation-range-start'>" | "<'animation-timeline'>" | "<'animation-timing-function'>" | "<'appearance'>" | "<'aspect-ratio'>" | "<'azimuth'>" | "<'backdrop-filter'>" | "<'backface-visibility'>" | "<'background'>" | "<'background-attachment'>" | "<'background-blend-mode'>" | "<'background-clip'>" | "<'background-color'>" | "<'background-image'>" | "<'background-origin'>" | "<'background-position'>" | "<'background-position-x'>" | "<'background-position-y'>" | "<'background-repeat'>" | "<'background-size'>" | "<'baseline-shift'>" | "<'behavior'>" | "<'block-size'>" | "<'border'>" | "<'border-block'>" | "<'border-block-color'>" | "<'border-block-end'>" | "<'border-block-end-color'>" | "<'border-block-end-style'>" | "<'border-block-end-width'>" | "<'border-block-start'>" | "<'border-block-start-color'>" | "<'border-block-start-style'>" | "<'border-block-start-width'>" | "<'border-block-style'>" | "<'border-block-width'>" | "<'border-bottom'>" | "<'border-bottom-color'>" | "<'border-bottom-left-radius'>" | "<'border-bottom-right-radius'>" | "<'border-bottom-style'>" | "<'border-bottom-width'>" | "<'border-collapse'>" | "<'border-color'>" | "<'border-end-end-radius'>" | "<'border-end-start-radius'>" | "<'border-image'>" | "<'border-image-outset'>" | "<'border-image-repeat'>" | "<'border-image-slice'>" | "<'border-image-source'>" | "<'border-image-width'>" | "<'border-inline'>" | "<'border-inline-color'>" | "<'border-inline-end'>" | "<'border-inline-end-color'>" | "<'border-inline-end-style'>" | "<'border-inline-end-width'>" | "<'border-inline-start'>" | "<'border-inline-start-color'>" | "<'border-inline-start-style'>" | "<'border-inline-start-width'>" | "<'border-inline-style'>" | "<'border-inline-width'>" | "<'border-left'>" | "<'border-left-color'>" | "<'border-left-style'>" | "<'border-left-width'>" | "<'border-radius'>" | "<'border-right'>" | "<'border-right-color'>" | "<'border-right-style'>" | "<'border-right-width'>" | "<'border-spacing'>" | "<'border-start-end-radius'>" | "<'border-start-start-radius'>" | "<'border-style'>" | "<'border-top'>" | "<'border-top-color'>" | "<'border-top-left-radius'>" | "<'border-top-right-radius'>" | "<'border-top-style'>" | "<'border-top-width'>" | "<'border-width'>" | "<'bottom'>" | "<'box-align'>" | "<'box-decoration-break'>" | "<'box-direction'>" | "<'box-flex'>" | "<'box-flex-group'>" | "<'box-lines'>" | "<'box-ordinal-group'>" | "<'box-orient'>" | "<'box-pack'>" | "<'box-shadow'>" | "<'box-sizing'>" | "<'break-after'>" | "<'break-before'>" | "<'break-inside'>" | "<'caption-side'>" | "<'caret'>" | "<'caret-color'>" | "<'caret-shape'>" | "<'clear'>" | "<'clip'>" | "<'clip-path'>" | "<'clip-rule'>" | "<'color'>" | "<'color-interpolation-filters'>" | "<'color-scheme'>" | "<'column-count'>" | "<'column-fill'>" | "<'column-gap'>" | "<'column-rule'>" | "<'column-rule-color'>" | "<'column-rule-style'>" | "<'column-rule-width'>" | "<'column-span'>" | "<'column-width'>" | "<'columns'>" | "<'contain'>" | "<'contain-intrinsic-block-size'>" | "<'contain-intrinsic-height'>" | "<'contain-intrinsic-inline-size'>" | "<'contain-intrinsic-size'>" | "<'contain-intrinsic-width'>" | "<'container'>" | "<'container-name'>" | "<'container-type'>" | "<'content'>" | "<'content-visibility'>" | "<'counter-increment'>" | "<'counter-reset'>" | "<'counter-set'>" | "<'cue'>" | "<'cue-after'>" | "<'cue-before'>" | "<'cursor'>" | "<'cx'>" | "<'cy'>" | "<'d'>" | "<'direction'>" | "<'display'>" | "<'dominant-baseline'>" | "<'empty-cells'>" | "<'field-sizing'>" | "<'fill'>" | "<'fill-opacity'>" | "<'fill-rule'>" | "<'filter'>" | "<'flex'>" | "<'flex-basis'>" | "<'flex-direction'>" | "<'flex-flow'>" | "<'flex-grow'>" | "<'flex-shrink'>" | "<'flex-wrap'>" | "<'float'>" | "<'font'>" | "<'font-family'>" | "<'font-feature-settings'>" | "<'font-kerning'>" | "<'font-language-override'>" | "<'font-optical-sizing'>" | "<'font-palette'>" | "<'font-size'>" | "<'font-size-adjust'>" | "<'font-smooth'>" | "<'font-stretch'>" | "<'font-style'>" | "<'font-synthesis'>" | "<'font-synthesis-position'>" | "<'font-synthesis-small-caps'>" | "<'font-synthesis-style'>" | "<'font-synthesis-weight'>" | "<'font-variant'>" | "<'font-variant-alternates'>" | "<'font-variant-caps'>" | "<'font-variant-east-asian'>" | "<'font-variant-emoji'>" | "<'font-variant-ligatures'>" | "<'font-variant-numeric'>" | "<'font-variant-position'>" | "<'font-variation-settings'>" | "<'font-weight'>" | "<'forced-color-adjust'>" | "<'gap'>" | "<'glyph-orientation-horizontal'>" | "<'glyph-orientation-vertical'>" | "<'grid'>" | "<'grid-area'>" | "<'grid-auto-columns'>" | "<'grid-auto-flow'>" | "<'grid-auto-rows'>" | "<'grid-column'>" | "<'grid-column-end'>" | "<'grid-column-gap'>" | "<'grid-column-start'>" | "<'grid-gap'>" | "<'grid-row'>" | "<'grid-row-end'>" | "<'grid-row-gap'>" | "<'grid-row-start'>" | "<'grid-template'>" | "<'grid-template-areas'>" | "<'grid-template-columns'>" | "<'grid-template-rows'>" | "<'hanging-punctuation'>" | "<'height'>" | "<'hyphenate-character'>" | "<'hyphenate-limit-chars'>" | "<'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'>" | "<'interpolate-size'>" | "<'isolation'>" | "<'justify-content'>" | "<'justify-items'>" | "<'justify-self'>" | "<'justify-tracks'>" | "<'kerning'>" | "<'left'>" | "<'letter-spacing'>" | "<'line-break'>" | "<'line-clamp'>" | "<'line-height'>" | "<'line-height-step'>" | "<'list-style'>" | "<'list-style-image'>" | "<'list-style-position'>" | "<'list-style-type'>" | "<'margin'>" | "<'margin-block'>" | "<'margin-block-end'>" | "<'margin-block-start'>" | "<'margin-bottom'>" | "<'margin-inline'>" | "<'margin-inline-end'>" | "<'margin-inline-start'>" | "<'margin-left'>" | "<'margin-right'>" | "<'margin-top'>" | "<'margin-trim'>" | "<'marker'>" | "<'marker-end'>" | "<'marker-mid'>" | "<'marker-start'>" | "<'mask'>" | "<'mask-border'>" | "<'mask-border-mode'>" | "<'mask-border-outset'>" | "<'mask-border-repeat'>" | "<'mask-border-slice'>" | "<'mask-border-source'>" | "<'mask-border-width'>" | "<'mask-clip'>" | "<'mask-composite'>" | "<'mask-image'>" | "<'mask-mode'>" | "<'mask-origin'>" | "<'mask-position'>" | "<'mask-repeat'>" | "<'mask-size'>" | "<'mask-type'>" | "<'masonry-auto-flow'>" | "<'math-depth'>" | "<'math-shift'>" | "<'math-style'>" | "<'max-block-size'>" | "<'max-height'>" | "<'max-inline-size'>" | "<'max-lines'>" | "<'max-width'>" | "<'min-block-size'>" | "<'min-height'>" | "<'min-inline-size'>" | "<'min-width'>" | "<'mix-blend-mode'>" | "<'object-fit'>" | "<'object-position'>" | "<'offset'>" | "<'offset-anchor'>" | "<'offset-distance'>" | "<'offset-path'>" | "<'offset-position'>" | "<'offset-rotate'>" | "<'opacity'>" | "<'order'>" | "<'orphans'>" | "<'outline'>" | "<'outline-color'>" | "<'outline-offset'>" | "<'outline-style'>" | "<'outline-width'>" | "<'overflow'>" | "<'overflow-anchor'>" | "<'overflow-block'>" | "<'overflow-clip-box'>" | "<'overflow-clip-margin'>" | "<'overflow-inline'>" | "<'overflow-wrap'>" | "<'overflow-x'>" | "<'overflow-y'>" | "<'overlay'>" | "<'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'>" | "<'page-break-after'>" | "<'page-break-before'>" | "<'page-break-inside'>" | "<'paint-order'>" | "<'pause'>" | "<'pause-after'>" | "<'pause-before'>" | "<'perspective'>" | "<'perspective-origin'>" | "<'place-content'>" | "<'place-items'>" | "<'place-self'>" | "<'pointer-events'>" | "<'position'>" | "<'position-anchor'>" | "<'position-area'>" | "<'position-try'>" | "<'position-try-fallbacks'>" | "<'position-try-order'>" | "<'position-visibility'>" | "<'print-color-adjust'>" | "<'quotes'>" | "<'r'>" | "<'resize'>" | "<'rest'>" | "<'rest-after'>" | "<'rest-before'>" | "<'right'>" | "<'rotate'>" | "<'row-gap'>" | "<'ruby-align'>" | "<'ruby-merge'>" | "<'ruby-position'>" | "<'rx'>" | "<'ry'>" | "<'scale'>" | "<'scroll-behavior'>" | "<'scroll-margin'>" | "<'scroll-margin-block'>" | "<'scroll-margin-block-end'>" | "<'scroll-margin-block-start'>" | "<'scroll-margin-bottom'>" | "<'scroll-margin-inline'>" | "<'scroll-margin-inline-end'>" | "<'scroll-margin-inline-start'>" | "<'scroll-margin-left'>" | "<'scroll-margin-right'>" | "<'scroll-margin-top'>" | "<'scroll-padding'>" | "<'scroll-padding-block'>" | "<'scroll-padding-block-end'>" | "<'scroll-padding-block-start'>" | "<'scroll-padding-bottom'>" | "<'scroll-padding-inline'>" | "<'scroll-padding-inline-end'>" | "<'scroll-padding-inline-start'>" | "<'scroll-padding-left'>" | "<'scroll-padding-right'>" | "<'scroll-padding-top'>" | "<'scroll-snap-align'>" | "<'scroll-snap-coordinate'>" | "<'scroll-snap-destination'>" | "<'scroll-snap-points-x'>" | "<'scroll-snap-points-y'>" | "<'scroll-snap-stop'>" | "<'scroll-snap-type'>" | "<'scroll-snap-type-x'>" | "<'scroll-snap-type-y'>" | "<'scroll-timeline'>" | "<'scroll-timeline-axis'>" | "<'scroll-timeline-name'>" | "<'scrollbar-color'>" | "<'scrollbar-gutter'>" | "<'scrollbar-width'>" | "<'shape-image-threshold'>" | "<'shape-margin'>" | "<'shape-outside'>" | "<'shape-rendering'>" | "<'speak'>" | "<'speak-as'>" | "<'src'>" | "<'stroke'>" | "<'stroke-dasharray'>" | "<'stroke-dashoffset'>" | "<'stroke-linecap'>" | "<'stroke-linejoin'>" | "<'stroke-miterlimit'>" | "<'stroke-opacity'>" | "<'stroke-width'>" | "<'tab-size'>" | "<'table-layout'>" | "<'text-align'>" | "<'text-align-last'>" | "<'text-anchor'>" | "<'text-combine-upright'>" | "<'text-decoration'>" | "<'text-decoration-color'>" | "<'text-decoration-line'>" | "<'text-decoration-skip'>" | "<'text-decoration-skip-ink'>" | "<'text-decoration-style'>" | "<'text-decoration-thickness'>" | "<'text-emphasis'>" | "<'text-emphasis-color'>" | "<'text-emphasis-position'>" | "<'text-emphasis-style'>" | "<'text-indent'>" | "<'text-justify'>" | "<'text-orientation'>" | "<'text-overflow'>" | "<'text-rendering'>" | "<'text-shadow'>" | "<'text-size-adjust'>" | "<'text-spacing-trim'>" | "<'text-transform'>" | "<'text-underline-offset'>" | "<'text-underline-position'>" | "<'text-wrap'>" | "<'text-wrap-mode'>" | "<'text-wrap-style'>" | "<'timeline-scope'>" | "<'top'>" | "<'touch-action'>" | "<'transform'>" | "<'transform-box'>" | "<'transform-origin'>" | "<'transform-style'>" | "<'transition'>" | "<'transition-behavior'>" | "<'transition-delay'>" | "<'transition-duration'>" | "<'transition-property'>" | "<'transition-timing-function'>" | "<'translate'>" | "<'unicode-bidi'>" | "<'unicode-range'>" | "<'user-select'>" | "<'vector-effect'>" | "<'vertical-align'>" | "<'view-timeline'>" | "<'view-timeline-axis'>" | "<'view-timeline-inset'>" | "<'view-timeline-name'>" | "<'view-transition-name'>" | "<'visibility'>" | "<'voice-balance'>" | "<'voice-duration'>" | "<'voice-family'>" | "<'voice-pitch'>" | "<'voice-range'>" | "<'voice-rate'>" | "<'voice-stress'>" | "<'voice-volume'>" | "<'white-space'>" | "<'white-space-collapse'>" | "<'white-space-trim'>" | "<'widows'>" | "<'width'>" | "<'will-change'>" | "<'word-break'>" | "<'word-spacing'>" | "<'word-wrap'>" | "<'writing-mode'>" | "<'x'>" | "<'y'>" | "<'z-index'>" | "<'zoom'>" | '<(-token>' | '<)-token>' | '<-legacy-gradient>' | '<-legacy-linear-gradient-arguments>' | '<-legacy-linear-gradient>' | '<-legacy-radial-gradient-arguments>' | '<-legacy-radial-gradient-shape>' | '<-legacy-radial-gradient-size>' | '<-legacy-radial-gradient>' | '<-legacy-repeating-linear-gradient>' | '<-legacy-repeating-radial-gradient>' | '<-ms-filter-function-legacy>' | '<-ms-filter-function-list>' | '<-ms-filter-function-progid>' | '<-ms-filter-function>' | '<-non-standard-color>' | '<-non-standard-display>' | '<-non-standard-font>' | '<-non-standard-generic-family>' | '<-non-standard-image-rendering>' | '<-non-standard-overflow>' | '<-non-standard-size>' | '<-webkit-gradient()>' | '<-webkit-gradient-color-stop>' | '<-webkit-gradient-point>' | '<-webkit-gradient-radius>' | '<-webkit-gradient-type>' | '<-webkit-mask-box-repeat>' | '<CDC-token>' | '<CDO-token>' | '<[-token>' | '<]-token>' | '<abs()>' | '<absolute-color-base>' | '<absolute-color-function>' | '<absolute-size>' | '<acos()>' | '<age>' | '<alpha-value>' | '<an-plus-b>' | '<anchor()>' | '<anchor-element>' | '<anchor-name>' | '<anchor-side>' | '<anchor-size()>' | '<anchor-size>' | '<angle-percentage>' | '<angle>' | '<angular-color-hint>' | '<angular-color-stop-list>' | '<angular-color-stop>' | '<animateable-feature>' | '<any-value>' | '<asin()>' | '<at-keyword-token>' | '<atan()>' | '<atan2()>' | '<attachment>' | '<attr()>' | '<attr-fallback>' | '<attr-matcher>' | '<attr-modifier>' | '<attr-name>' | '<attribute-selector>' | '<auto-repeat>' | '<auto-track-list>' | '<axis>' | '<bad-string-token>' | '<bad-url-token>' | '<baseline-position>' | '<basic-shape>' | '<bcp-47>' | '<bg-clip>' | '<bg-image>' | '<bg-layer>' | '<bg-position>' | '<bg-size>' | '<blend-mode>' | '<blur()>' | '<bottom>' | '<box>' | '<brightness()>' | '<calc()>' | '<calc-constant>' | '<calc-product>' | '<calc-sum>' | '<calc-value>' | '<cf-final-image>' | '<cf-mixing-image>' | '<circle()>' | '<clamp()>' | '<class-selector>' | '<clip-source>' | '<cmyk-component>' | '<colon-token>' | '<color()>' | '<color-base>' | '<color-function>' | '<color-interpolation-method>' | '<color-mix()>' | '<color-space>' | '<color-stop-angle>' | '<color-stop-length>' | '<color-stop-list>' | '<color-stop>' | '<color>' | '<colorspace-params>' | '<combinator>' | '<comma-token>' | '<common-lig-values>' | '<compat-auto>' | '<complex-real-selector-list>' | '<complex-real-selector>' | '<complex-selector-list>' | '<complex-selector-unit>' | '<complex-selector>' | '<composite-style>' | '<compositing-operator>' | '<compound-selector-list>' | '<compound-selector>' | '<conic-gradient()>' | '<container-condition>' | '<container-name>' | '<content-distribution>' | '<content-list>' | '<content-position>' | '<content-replacement>' | '<contextual-alt-values>' | '<contrast()>' | '<coord-box>' | '<cos()>' | '<counter()>' | '<counter-name>' | '<counter-style-name>' | '<counter-style>' | '<counter>' | '<counters()>' | '<cross-fade()>' | '<cubic-bezier-timing-function>' | '<custom-color-space>' | '<custom-ident>' | '<custom-property-name>' | '<dashed-ident>' | '<decibel>' | '<declaration-list>' | '<declaration-value>' | '<declaration>' | '<delim-token>' | '<deprecated-system-color>' | '<device-cmyk()>' | '<dimension-token>' | '<dimension>' | '<discretionary-lig-values>' | '<display-box>' | '<display-inside>' | '<display-internal>' | '<display-legacy>' | '<display-listitem>' | '<display-outside>' | '<drop-shadow()>' | '<easing-function>' | '<east-asian-variant-values>' | '<east-asian-width-values>' | '<element()>' | '<ellipse()>' | '<ending-shape>' | '<env()>' | '<exp()>' | '<explicit-track-list>' | '<family-name>' | '<feature-tag-value>' | '<feature-type>' | '<feature-value-block-list>' | '<feature-value-block>' | '<feature-value-declaration-list>' | '<feature-value-declaration>' | '<feature-value-name>' | '<fill-rule>' | '<filter-function-list>' | '<filter-function>' | '<final-bg-layer>' | '<fixed-breadth>' | '<fixed-repeat>' | '<fixed-size>' | '<flex>' | '<font-stretch-absolute>' | '<font-variant-css21>' | '<font-variant-css2>' | '<font-weight-absolute>' | '<font-width-css3>' | '<forgiving-relative-selector-list>' | '<forgiving-selector-list>' | '<frequency-percentage>' | '<frequency>' | '<function-token>' | '<gender>' | '<general-enclosed>' | '<generic-complete>' | '<generic-family>' | '<generic-incomplete>' | '<generic-name>' | '<generic-script-specific>' | '<generic-voice>' | '<geometry-box>' | '<gradient>' | '<grayscale()>' | '<grid-line>' | '<hash-token>' | '<hex-color>' | '<historical-lig-values>' | '<hsl()>' | '<hsla()>' | '<hue-interpolation-method>' | '<hue-rotate()>' | '<hue>' | '<hwb()>' | '<hypot()>' | '<id-selector>' | '<ident-token>' | '<ident>' | '<image()>' | '<image-set()>' | '<image-set-option>' | '<image-src>' | '<image-tags>' | '<image>' | '<inflexible-breadth>' | '<inset()>' | '<inset-area>' | '<integer>' | '<invert()>' | '<keyframe-block-list>' | '<keyframe-block>' | '<keyframe-selector>' | '<keyframes-name>' | '<lab()>' | '<layer()>' | '<layer-name>' | '<lch()>' | '<leader()>' | '<leader-type>' | '<left>' | '<legacy-device-cmyk-syntax>' | '<legacy-pseudo-element-selector>' | '<length-percentage>' | '<length>' | '<light-dark()>' | '<line-name-list>' | '<line-names>' | '<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-without-or>' | '<media-condition>' | '<media-feature>' | '<media-in-parens>' | '<media-not>' | '<media-or>' | '<media-query-list>' | '<media-query>' | '<media-type>' | '<mf-boolean>' | '<mf-name>' | '<mf-plain>' | '<mf-range>' | '<mf-value>' | '<min()>' | '<minmax()>' | '<mod()>' | '<modern-device-cmyk-syntax>' | '<name-repeat>' | '<named-color>' | '<namespace-prefix>' | '<ns-prefix>' | '<nth>' | '<number-one-or-greater>' | '<number-percentage>' | '<number-token>' | '<number-zero-one>' | '<number>' | '<numeric-figure-values>' | '<numeric-fraction-values>' | '<numeric-spacing-values>' | '<offset-path>' | '<oklab()>' | '<oklch()>' | '<opacity()>' | '<outline-radius>' | '<overflow-position>' | '<page-body>' | '<page-margin-box-type>' | '<page-margin-box>' | '<page-selector-list>' | '<page-selector>' | '<page-size>' | '<paint()>' | '<paint>' | '<palette-identifier>' | '<path()>' | '<percentage-token>' | '<percentage>' | '<perspective()>' | '<polar-color-space>' | '<polygon()>' | '<position-area>' | '<position>' | '<pow()>' | '<predefined-rgb-params>' | '<predefined-rgb>' | '<pseudo-class-selector>' | '<pseudo-compound-selector>' | '<pseudo-element-selector>' | '<pseudo-page>' | '<query-in-parens>' | '<quote>' | '<radial-gradient()>' | '<ratio>' | '<ray()>' | '<ray-size>' | '<rect()>' | '<rectangular-color-space>' | '<relative-real-selector-list>' | '<relative-real-selector>' | '<relative-selector-list>' | '<relative-selector>' | '<relative-size>' | '<rem()>' | '<repeat-style>' | '<repeating-conic-gradient()>' | '<repeating-linear-gradient()>' | '<repeating-radial-gradient()>' | '<resolution>' | '<reversed-counter-name>' | '<rgb()>' | '<rgba()>' | '<right>' | '<rotate()>' | '<rotate3d()>' | '<rotateX()>' | '<rotateY()>' | '<rotateZ()>' | '<round()>' | '<rounding-strategy>' | '<saturate()>' | '<scale()>' | '<scale3d()>' | '<scaleX()>' | '<scaleY()>' | '<scaleZ()>' | '<scope-end>' | '<scope-start>' | '<scroll()>' | '<scroller>' | '<selector-list>' | '<self-position>' | '<semicolon-token>' | '<semitones>' | '<sepia()>' | '<shadow-t>' | '<shadow>' | '<shape-box>' | '<shape-radius>' | '<shape>' | '<side-or-corner>' | '<sign()>' | '<simple-selector-list>' | '<simple-selector>' | '<sin()>' | '<single-animation-composition>' | '<single-animation-direction>' | '<single-animation-fill-mode>' | '<single-animation-iteration-count>' | '<single-animation-play-state>' | '<single-animation-timeline>' | '<single-animation>' | '<single-transition-property>' | '<single-transition>' | '<size-feature>' | '<size>' | '<skew()>' | '<skewX()>' | '<skewY()>' | '<sqrt()>' | '<step-position>' | '<step-timing-function>' | '<string-token>' | '<string>' | '<style-condition>' | '<style-feature>' | '<style-in-parens>' | '<style-query>' | '<subclass-selector>' | '<supports-condition>' | '<supports-decl>' | '<supports-feature>' | '<supports-in-parens>' | '<supports-selector-fn>' | '<svg-length>' | '<svg-writing-mode>' | '<symbol>' | '<system-color>' | '<system-family-name>' | '<tan()>' | '<target-counter()>' | '<target-counters()>' | '<target-text()>' | '<target>' | '<time-percentage>' | '<time>' | '<timeline-range-name>' | '<top>' | '<track-breadth>' | '<track-list>' | '<track-repeat>' | '<track-size>' | '<transform-function>' | '<transform-list>' | '<transition-behavior-value>' | '<translate()>' | '<translate3d()>' | '<translateX()>' | '<translateY()>' | '<translateZ()>' | '<try-size>' | '<try-tactic>' | '<type-or-unit>' | '<type-selector>' | '<urange>' | '<url-modifier>' | '<url-token>' | '<url>' | '<var()>' | '<view()>' | '<viewport-length>' | '<visual-box>' | '<whitespace-token>' | '<wq-name>' | '<x>' | '<xywh()>' | '<xyz-params>' | '<xyz-space>' | '<y>' | '<zero>' | '<{-token>' | '<}-token>') | ("<'color-profile'>" | "<'color-rendering'>" | "<'enable-background'>" | '<animatable-value>' | '<begin-value-list>' | '<class-list>' | '<clock-value>' | '<color-matrix>' | '<css-declaration-list>' | '<dasharray>' | '<end-value-list>' | '<key-points>' | '<key-splines>' | '<key-times>' | '<list-of-lengths>' | '<list-of-numbers>' | '<list-of-percentages>' | '<list-of-svg-feature-string>' | '<list-of-value>' | '<number-optional-number>' | '<origin>' | '<points>' | '<preserve-aspect-ratio>' | '<rotate>' | '<svg-font-size-adjust>' | '<svg-font-size>' | '<svg-path>' | '<system-language>' | '<text-coordinate>' | '<view-box>' | 'AbsoluteURL' | 'Accept' | 'Any' | 'AutoComplete' | 'BCP47' | 'BaseURL' | 'BrowsingContextName' | 'BrowsingContextNameOrKeyword' | 'CustomElementName' | 'DOMID' | 'DateTime' | 'FunctionBody' | 'HTTPSchemaURL' | 'HashName' | 'IconSize' | 'Int' | 'ItemProp' | 'JSON' | 'LinkTypeForAnchorAndAreaElement' | 'LinkTypeForFormElement' | 'LinkTypeForLinkElement' | 'LinkTypeForLinkElementInBody' | 'MIMEType' | 'NavigableTargetName' | 'NavigableTargetNameOrKeyword' | 'NoEmptyAny' | 'Number' | 'OneCodePointChar' | 'OneLineAny' | 'Pattern' | 'SerializedPermissionsPolicy' | 'SourceSizeList' | 'Srcset' | 'TabIndex' | 'URL' | 'Uint' | 'ValidCustomCommand' | 'XMLName' | 'Zero') | 'Boolean') | List | Enum | Number | Directive;
7
7
  export type AttributeCondition = string | [string, string, ...string[]];
8
8
  export interface AttributesSchema {
9
9
  tag: string;
@@ -103,7 +103,7 @@ export interface AttributeJSON {
103
103
  * - [Comma-separated tokens](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#comma-separated-tokens)
104
104
  */
105
105
  export interface List {
106
- token: ("<'color-profile'>" | "<'color-rendering'>" | "<'enable-background'>" | '<animatable-value>' | '<begin-value-list>' | '<class-list>' | '<clock-value>' | '<color-matrix>' | '<css-declaration-list>' | '<dasharray>' | '<end-value-list>' | '<key-points>' | '<key-splines>' | '<key-times>' | '<list-of-lengths>' | '<list-of-numbers>' | '<list-of-percentages>' | '<list-of-svg-feature-string>' | '<list-of-value>' | '<number-optional-number>' | '<origin>' | '<points>' | '<preserve-aspect-ratio>' | '<rotate>' | '<svg-font-size-adjust>' | '<svg-font-size>' | '<svg-path>' | '<system-language>' | '<text-coordinate>' | '<view-box>' | 'AbsoluteURL' | 'Accept' | 'Any' | 'AutoComplete' | 'BCP47' | 'BaseURL' | 'BrowsingContextName' | 'BrowsingContextNameOrKeyword' | 'CustomElementName' | 'DOMID' | 'DateTime' | 'FunctionBody' | 'HTTPSchemaURL' | 'HashName' | 'IconSize' | 'Int' | 'ItemProp' | 'JSON' | 'MIMEType' | 'NavigableTargetName' | 'NavigableTargetNameOrKeyword' | 'NoEmptyAny' | 'Number' | 'OneCodePointChar' | 'OneLineAny' | 'Pattern' | 'SerializedPermissionsPolicy' | 'SourceSizeList' | 'Srcset' | 'TabIndex' | 'URL' | 'Uint' | 'ValidCustomCommand' | 'XMLName' | 'Zero') | Enum;
106
+ token: ("<'color-profile'>" | "<'color-rendering'>" | "<'enable-background'>" | '<animatable-value>' | '<begin-value-list>' | '<class-list>' | '<clock-value>' | '<color-matrix>' | '<css-declaration-list>' | '<dasharray>' | '<end-value-list>' | '<key-points>' | '<key-splines>' | '<key-times>' | '<list-of-lengths>' | '<list-of-numbers>' | '<list-of-percentages>' | '<list-of-svg-feature-string>' | '<list-of-value>' | '<number-optional-number>' | '<origin>' | '<points>' | '<preserve-aspect-ratio>' | '<rotate>' | '<svg-font-size-adjust>' | '<svg-font-size>' | '<svg-path>' | '<system-language>' | '<text-coordinate>' | '<view-box>' | 'AbsoluteURL' | 'Accept' | 'Any' | 'AutoComplete' | 'BCP47' | 'BaseURL' | 'BrowsingContextName' | 'BrowsingContextNameOrKeyword' | 'CustomElementName' | 'DOMID' | 'DateTime' | 'FunctionBody' | 'HTTPSchemaURL' | 'HashName' | 'IconSize' | 'Int' | 'ItemProp' | 'JSON' | 'LinkTypeForAnchorAndAreaElement' | 'LinkTypeForFormElement' | 'LinkTypeForLinkElement' | 'LinkTypeForLinkElementInBody' | 'MIMEType' | 'NavigableTargetName' | 'NavigableTargetNameOrKeyword' | 'NoEmptyAny' | 'Number' | 'OneCodePointChar' | 'OneLineAny' | 'Pattern' | 'SerializedPermissionsPolicy' | 'SourceSizeList' | 'Srcset' | 'TabIndex' | 'URL' | 'Uint' | 'ValidCustomCommand' | 'XMLName' | 'Zero') | Enum;
107
107
  disallowToSurroundBySpaces?: boolean;
108
108
  allowEmpty?: boolean;
109
109
  ordered?: boolean;
@@ -1,7 +1,7 @@
1
1
  import type { ARIA } from './aria.js';
2
2
  import type { AttributeJSON, AttributeType, GlobalAttributes } from './attributes.js';
3
3
  import type { ContentModel, Category } from './permitted-structures.js';
4
- import type { ariaVersions } from '../constant/aria-version.js';
4
+ import type { ariaVersions } from '../utils/aria-version.js';
5
5
  import type { NamespaceURI } from '@markuplint/ml-ast';
6
6
  import type { ReadonlyDeep } from 'type-fest';
7
7
  /**
@@ -1,4 +1,4 @@
1
- import { resolveNamespace } from '../utils/resolve-namespace.js';
1
+ import { resolveNamespace } from './resolve-namespace.js';
2
2
  const cacheMap = new Map();
3
3
  const schemaCache = new WeakSet();
4
4
  export function getAttrSpecs(localName, namespace, schema) {
@@ -1,4 +1,4 @@
1
- import { getAttrSpecs as _getAttrSpecs } from '../specs/get-attr-specs.js';
1
+ import { getAttrSpecs as _getAttrSpecs } from './get-attr-specs-spec.js';
2
2
  export function getAttrSpecs(
3
3
  // eslint-disable-next-line @typescript-eslint/prefer-readonly-parameter-types
4
4
  el, schema) {
@@ -1,4 +1,4 @@
1
- import { resolveNamespace } from '../utils/resolve-namespace.js';
1
+ import { resolveNamespace } from './resolve-namespace.js';
2
2
  const cache = new Map();
3
3
  export function getSpecByTagName(specs, localName, namespace) {
4
4
  const { localNameWithNS } = resolveNamespace(localName, namespace ?? undefined);
@@ -1,4 +1,4 @@
1
- import { getSpecByTagName } from '../specs/get-spec-by-tag-name.js';
1
+ import { getSpecByTagName } from './get-spec-by-tag-name.js';
2
2
  export function getSpec(
3
3
  // eslint-disable-next-line @typescript-eslint/prefer-readonly-parameter-types
4
4
  el, specs) {
@@ -1,4 +1,4 @@
1
- import { mergeArray } from '../utils/merge-array.js';
1
+ import { mergeArray } from './merge-array.js';
2
2
  /**
3
3
  * Merging HTML-spec schema and extended spec schemas
4
4
  *
@@ -1,4 +1,4 @@
1
- import { ariaVersions } from '../constant/aria-version.js';
1
+ import { ariaVersions } from './aria-version.js';
2
2
  export function validateAriaVersion(version) {
3
3
  return ariaVersions.includes(version);
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@markuplint/ml-spec",
3
- "version": "4.9.7",
3
+ "version": "4.10.0",
4
4
  "description": "Types and schema that specs of the Markup languages for markuplint",
5
5
  "repository": "git@github.com:markuplint/markuplint.git",
6
6
  "author": "Yusuke Hirao <yusukehirao@me.com>",
@@ -32,14 +32,14 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@markuplint/ml-ast": "4.4.10",
35
- "@markuplint/types": "4.7.7",
35
+ "@markuplint/types": "4.8.0",
36
36
  "dom-accessibility-api": "0.7.0",
37
37
  "is-plain-object": "5.0.0",
38
38
  "type-fest": "4.41.0"
39
39
  },
40
40
  "devDependencies": {
41
- "@markuplint/test-tools": "4.5.20",
41
+ "@markuplint/test-tools": "4.5.21",
42
42
  "json-schema-to-typescript": "15.0.4"
43
43
  },
44
- "gitHead": "acbf53f7e30d7a59f850a0f279b617383266dab3"
44
+ "gitHead": "ae97eb2d31ecedf4f0800fbbf18588aad4ebca04"
45
45
  }
@@ -1,4 +0,0 @@
1
- import type { ElementSpec } from '../types/index.js';
2
- type Specs = readonly Pick<ElementSpec, 'name' | 'contentModel'>[];
3
- export declare function getContentModel(el: Element, specs: Specs): boolean | readonly (import("type-fest/source/readonly-deep.js").ReadonlyObjectDeep<import("../types/permitted-structures.js").PermittedContentRequire> | import("type-fest/source/readonly-deep.js").ReadonlyObjectDeep<import("../types/permitted-structures.js").PermittedContentOptional> | import("type-fest/source/readonly-deep.js").ReadonlyObjectDeep<import("../types/permitted-structures.js").PermittedContentOneOrMore> | import("type-fest/source/readonly-deep.js").ReadonlyObjectDeep<import("../types/permitted-structures.js").PermittedContentZeroOrMore> | import("type-fest/source/readonly-deep.js").ReadonlyObjectDeep<import("../types/permitted-structures.js").PermittedContentChoice> | import("type-fest/source/readonly-deep.js").ReadonlyObjectDeep<import("../types/permitted-structures.js").PermittedContentTransparent>)[] | null;
4
- export {};
@@ -1,5 +0,0 @@
1
- import type { ARIAVersion, MLMLSpec } from '../types/index.js';
2
- export declare function getNonPresentationalAncestor(el: Element, specs: MLMLSpec, version: ARIAVersion): import("../types/index.js").ComputedRole | {
3
- el: null;
4
- role: null;
5
- };
@@ -1,6 +0,0 @@
1
- import type { ARIAVersion, MLMLSpec } from '../types/index.js';
2
- export declare function ariaSpecs(specs: MLMLSpec, version: ARIAVersion): {
3
- readonly roles: readonly import("../types/index.js").ARIARoleInSchema[];
4
- readonly graphicsRoles: readonly import("../types/index.js").ARIARoleInSchema[];
5
- readonly props: readonly import("../types/index.js").ARIAProperty[];
6
- };
@@ -1,2 +0,0 @@
1
- import type { ARIAVersion, Matches, MLMLSpec } from '../types/index.js';
2
- export declare function getImplicitRole(specs: MLMLSpec, localName: string, namespace: string | null, version: ARIAVersion, matches: Matches): import("../index.js").ImplicitRole;
@@ -1,3 +0,0 @@
1
- import type { MLMLSpec } from '../types/index.js';
2
- import type { Category } from '../types/permitted-structures.js';
3
- export declare function getSelectorsByContentModelCategory(specs: MLMLSpec, category: Category): ReadonlyArray<string>;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes