@markuplint/ml-spec
Advanced tools
Comparing version 3.0.0-alpha.4 to 3.0.0-alpha.5
export * from './dom-traverse/accname-computation'; | ||
export * from './dom-traverse/get-attr-specs'; | ||
export * from './dom-traverse/get-computed-aria-props'; | ||
export * from './dom-traverse/get-computed-role'; | ||
@@ -9,2 +10,3 @@ export * from './dom-traverse/get-content-model'; | ||
export * from './dom-traverse/has-required-owned-elements'; | ||
export * from './dom-traverse/is-exposed'; | ||
export * from './dom-traverse/may-be-focusable'; | ||
@@ -11,0 +13,0 @@ export * from './specs/aria-specs'; |
@@ -6,2 +6,3 @@ "use strict"; | ||
tslib_1.__exportStar(require("./dom-traverse/get-attr-specs"), exports); | ||
tslib_1.__exportStar(require("./dom-traverse/get-computed-aria-props"), exports); | ||
tslib_1.__exportStar(require("./dom-traverse/get-computed-role"), exports); | ||
@@ -13,2 +14,3 @@ tslib_1.__exportStar(require("./dom-traverse/get-content-model"), exports); | ||
tslib_1.__exportStar(require("./dom-traverse/has-required-owned-elements"), exports); | ||
tslib_1.__exportStar(require("./dom-traverse/is-exposed"), exports); | ||
tslib_1.__exportStar(require("./dom-traverse/may-be-focusable"), exports); | ||
@@ -15,0 +17,0 @@ tslib_1.__exportStar(require("./specs/aria-specs"), exports); |
@@ -9,3 +9,3 @@ /** | ||
export declare type ContentType = string | Category; | ||
export declare type Category = '#text' | '#phrasing' | '#flow' | '#interactive' | '#heading' | '#sectioning' | '#metadata' | '#embedded' | '#palpable' | '#script-supporting' | '#SVGAnimation' | '#SVGBasicShapes' | '#SVGContainer' | '#SVGDescriptive' | '#SVGFilterPrimitive' | '#SVGFont' | '#SVGGradient' | '#SVGGraphics' | '#SVGGraphicsReferencing' | '#SVGLightSource' | '#SVGNeverRendered' | '#SVGNone' | '#SVGPaintServer' | '#SVGRenderable' | '#SVGShape' | '#SVGStructural' | '#SVGStructurallyExternal' | '#SVGTextContent' | '#SVGTextContentChild' | '#SVGOtherXMLNamespace'; | ||
export declare type Category = '#text' | '#phrasing' | '#flow' | '#interactive' | '#heading' | '#sectioning' | '#metadata' | '#embedded' | '#palpable' | '#script-supporting' | '#SVGAnimation' | '#SVGBasicShapes' | '#SVGContainer' | '#SVGDescriptive' | '#SVGFilterPrimitive' | '#SVGFont' | '#SVGGradient' | '#SVGGraphics' | '#SVGGraphicsReferencing' | '#SVGLightSource' | '#SVGNeverRendered' | '#SVGNone' | '#SVGPaintServer' | '#SVGRenderable' | '#SVGShape' | '#SVGStructural' | '#SVGStructurallyExternal' | '#SVGTextContent' | '#SVGTextContentChild'; | ||
export interface ContentModelsSchema { | ||
@@ -12,0 +12,0 @@ __contentModel?: ContentModel; |
@@ -9,3 +9,3 @@ /** | ||
export declare type ContentType = string | Category; | ||
export declare type Category = '#text' | '#phrasing' | '#flow' | '#interactive' | '#heading' | '#sectioning' | '#metadata' | '#embedded' | '#palpable' | '#script-supporting' | '#SVGAnimation' | '#SVGBasicShapes' | '#SVGContainer' | '#SVGDescriptive' | '#SVGFilterPrimitive' | '#SVGFont' | '#SVGGradient' | '#SVGGraphics' | '#SVGGraphicsReferencing' | '#SVGLightSource' | '#SVGNeverRendered' | '#SVGNone' | '#SVGPaintServer' | '#SVGRenderable' | '#SVGShape' | '#SVGStructural' | '#SVGStructurallyExternal' | '#SVGTextContent' | '#SVGTextContentChild' | '#SVGOtherXMLNamespace'; | ||
export declare type Category = '#text' | '#phrasing' | '#flow' | '#interactive' | '#heading' | '#sectioning' | '#metadata' | '#embedded' | '#palpable' | '#script-supporting' | '#SVGAnimation' | '#SVGBasicShapes' | '#SVGContainer' | '#SVGDescriptive' | '#SVGFilterPrimitive' | '#SVGFont' | '#SVGGradient' | '#SVGGraphics' | '#SVGGraphicsReferencing' | '#SVGLightSource' | '#SVGNeverRendered' | '#SVGNone' | '#SVGPaintServer' | '#SVGRenderable' | '#SVGShape' | '#SVGStructural' | '#SVGStructurallyExternal' | '#SVGTextContent' | '#SVGTextContentChild'; | ||
export interface ContentModelsSchema { | ||
@@ -12,0 +12,0 @@ __contentModel?: ContentModel; |
{ | ||
"name": "@markuplint/ml-spec", | ||
"version": "3.0.0-alpha.4", | ||
"version": "3.0.0-alpha.5", | ||
"description": "Types and schema that specs of the Markup languages for markuplint", | ||
@@ -25,3 +25,3 @@ "repository": "git@github.com:markuplint/markuplint.git", | ||
"dependencies": { | ||
"@markuplint/ml-ast": "3.0.0-alpha.4", | ||
"@markuplint/ml-ast": "3.0.0-alpha.5", | ||
"dom-accessibility-api": "^0.5.14", | ||
@@ -31,7 +31,7 @@ "tslib": "^2.4.0" | ||
"devDependencies": { | ||
"@markuplint/test-tools": "3.0.0-alpha.4", | ||
"@markuplint/types": "3.0.0-alpha.4", | ||
"@markuplint/test-tools": "3.0.0-alpha.5", | ||
"@markuplint/types": "3.0.0-alpha.5", | ||
"json-schema-to-typescript": "^11.0.2" | ||
}, | ||
"gitHead": "04fdbb677c6893de3d16613ddcd112de25dc55db" | ||
"gitHead": "d2ee395d917cb69b91dedb0262b1c12ddc81fb58" | ||
} |
@@ -83,4 +83,3 @@ { | ||
"#SVGTextContent", | ||
"#SVGTextContentChild", | ||
"#SVGOtherXMLNamespace" | ||
"#SVGTextContentChild" | ||
] | ||
@@ -87,0 +86,0 @@ }, |
@@ -10,3 +10,3 @@ import { createJSDOMElement as c } from '@markuplint/test-tools'; | ||
expect(getAccname(c('<span aria-label="label">text</span>'))).toBe('label'); | ||
expect(getAccname(c('<img alt="alterative-text" />'))).toBe('alterative-text'); | ||
expect(getAccname(c('<img alt="alternative-text" />'))).toBe('alternative-text'); | ||
expect(getAccname(c('<img title="title" />'))).toBe('title'); | ||
@@ -13,0 +13,0 @@ expect(getAccname(c('<div><label for="a">label</label><input id="a" /></div>').children[1])).toBe('label'); |
export * from './dom-traverse/accname-computation'; | ||
export * from './dom-traverse/get-attr-specs'; | ||
export * from './dom-traverse/get-computed-aria-props'; | ||
export * from './dom-traverse/get-computed-role'; | ||
@@ -9,2 +10,3 @@ export * from './dom-traverse/get-content-model'; | ||
export * from './dom-traverse/has-required-owned-elements'; | ||
export * from './dom-traverse/is-exposed'; | ||
export * from './dom-traverse/may-be-focusable'; | ||
@@ -11,0 +13,0 @@ export * from './specs/aria-specs'; |
@@ -46,4 +46,3 @@ /* tslint:disable */ | ||
| '#SVGTextContent' | ||
| '#SVGTextContentChild' | ||
| '#SVGOtherXMLNamespace'; | ||
| '#SVGTextContentChild'; | ||
@@ -50,0 +49,0 @@ export interface ContentModelsSchema { |
@@ -46,4 +46,3 @@ /* tslint:disable */ | ||
| '#SVGTextContent' | ||
| '#SVGTextContentChild' | ||
| '#SVGOtherXMLNamespace'; | ||
| '#SVGTextContentChild'; | ||
@@ -50,0 +49,0 @@ export interface ContentModelsSchema { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
359919
125
9120
+ Added@markuplint/ml-ast@3.0.0-alpha.5(transitive)
- Removed@markuplint/ml-ast@3.0.0-alpha.4(transitive)