html-validate 9.6.0 → 9.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/core.js +148 -77
- package/dist/cjs/core.js.map +1 -1
- package/dist/cjs/elements.js +1 -0
- package/dist/cjs/elements.js.map +1 -1
- package/dist/es/core.js +148 -77
- package/dist/es/core.js.map +1 -1
- package/dist/es/elements.js +1 -0
- package/dist/es/elements.js.map +1 -1
- package/dist/schema/elements.json +6 -0
- package/dist/types/browser.d.ts +16 -0
- package/dist/types/index.d.ts +16 -0
- package/elements/html5.d.ts +1 -1
- package/package.json +1 -1
|
@@ -130,6 +130,12 @@
|
|
|
130
130
|
"anyOf": [{ "type": "boolean" }, { "function": true }]
|
|
131
131
|
},
|
|
132
132
|
|
|
133
|
+
"templateRoot": {
|
|
134
|
+
"title": "Mark element as an element ignoring DOM ancestry, i.e. <template>.",
|
|
135
|
+
"description": "The <template> element can contain any elements.",
|
|
136
|
+
"type": "boolean"
|
|
137
|
+
},
|
|
138
|
+
|
|
133
139
|
"deprecatedAttributes": {
|
|
134
140
|
"title": "List of deprecated attributes",
|
|
135
141
|
"type": "array",
|
package/dist/types/browser.d.ts
CHANGED
|
@@ -1559,6 +1559,14 @@ export declare interface MetaData {
|
|
|
1559
1559
|
/** Mark element as a form-associated element */
|
|
1560
1560
|
formAssociated?: Partial<FormAssociated>;
|
|
1561
1561
|
labelable?: boolean | MetaLabelableCallback;
|
|
1562
|
+
/**
|
|
1563
|
+
* Set to `true` if this element should have no impact on DOM
|
|
1564
|
+
* ancestry. Default `false`.
|
|
1565
|
+
*
|
|
1566
|
+
* I.e., the `<template>` element (where allowed) can contain anything, as it
|
|
1567
|
+
* does not directly affect the DOM tree.
|
|
1568
|
+
*/
|
|
1569
|
+
templateRoot?: boolean;
|
|
1562
1570
|
/** @deprecated use {@link MetaAria.implicitRole} instead */
|
|
1563
1571
|
implicitRole?: MetaImplicitRoleCallback;
|
|
1564
1572
|
/** WAI-ARIA attributes */
|
|
@@ -1614,6 +1622,14 @@ export declare interface MetaElement extends Omit<MetaData, "deprecatedAttribute
|
|
|
1614
1622
|
tagName: string;
|
|
1615
1623
|
focusable: boolean | MetaFocusableCallback;
|
|
1616
1624
|
formAssociated?: FormAssociated;
|
|
1625
|
+
/**
|
|
1626
|
+
* Set to `true` if this element should have no impact on DOM
|
|
1627
|
+
* ancestry. Default `false`.
|
|
1628
|
+
*
|
|
1629
|
+
* I.e., the `<template>` element (where allowed) can contain anything. as it
|
|
1630
|
+
* does not directly affect the DOM tree.
|
|
1631
|
+
*/
|
|
1632
|
+
templateRoot: boolean;
|
|
1617
1633
|
/** @deprecated Use {@link MetaAria.implicitRole} instead */
|
|
1618
1634
|
implicitRole: MetaImplicitRoleCallback;
|
|
1619
1635
|
/** WAI-ARIA attributes */
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1799,6 +1799,14 @@ export declare interface MetaData {
|
|
|
1799
1799
|
/** Mark element as a form-associated element */
|
|
1800
1800
|
formAssociated?: Partial<FormAssociated>;
|
|
1801
1801
|
labelable?: boolean | MetaLabelableCallback;
|
|
1802
|
+
/**
|
|
1803
|
+
* Set to `true` if this element should have no impact on DOM
|
|
1804
|
+
* ancestry. Default `false`.
|
|
1805
|
+
*
|
|
1806
|
+
* I.e., the `<template>` element (where allowed) can contain anything, as it
|
|
1807
|
+
* does not directly affect the DOM tree.
|
|
1808
|
+
*/
|
|
1809
|
+
templateRoot?: boolean;
|
|
1802
1810
|
/** @deprecated use {@link MetaAria.implicitRole} instead */
|
|
1803
1811
|
implicitRole?: MetaImplicitRoleCallback;
|
|
1804
1812
|
/** WAI-ARIA attributes */
|
|
@@ -1854,6 +1862,14 @@ export declare interface MetaElement extends Omit<MetaData, "deprecatedAttribute
|
|
|
1854
1862
|
tagName: string;
|
|
1855
1863
|
focusable: boolean | MetaFocusableCallback;
|
|
1856
1864
|
formAssociated?: FormAssociated;
|
|
1865
|
+
/**
|
|
1866
|
+
* Set to `true` if this element should have no impact on DOM
|
|
1867
|
+
* ancestry. Default `false`.
|
|
1868
|
+
*
|
|
1869
|
+
* I.e., the `<template>` element (where allowed) can contain anything. as it
|
|
1870
|
+
* does not directly affect the DOM tree.
|
|
1871
|
+
*/
|
|
1872
|
+
templateRoot: boolean;
|
|
1857
1873
|
/** @deprecated Use {@link MetaAria.implicitRole} instead */
|
|
1858
1874
|
implicitRole: MetaImplicitRoleCallback;
|
|
1859
1875
|
/** WAI-ARIA attributes */
|
package/elements/html5.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const value:
|
|
1
|
+
declare const value: import("html-validate").MetaDataTable;
|
|
2
2
|
export default value;
|