@ilokesto/utilinent 1.0.8 → 1.0.9
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.
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* 지원되는 HTML 태그 목록
|
|
3
3
|
* const assertion을 사용하여 타입 레벨에서도 활용 가능
|
|
4
|
+
*
|
|
5
|
+
* 제외된 태그:
|
|
6
|
+
* - data: 일반적인 prop 이름과 충돌
|
|
7
|
+
* - map: Array.prototype.map, Map 객체와 충돌
|
|
8
|
+
* - var: JavaScript 예약어 (속성으로는 사용 가능하나 혼동 방지)
|
|
9
|
+
* - s: 너무 짧고 흔한 변수명
|
|
4
10
|
*/
|
|
5
|
-
export declare const htmlTags: readonly ["a", "abbr", "address", "article", "aside", "b", "bdi", "bdo", "blockquote", "button", "canvas", "cite", "code", "
|
|
11
|
+
export declare const htmlTags: readonly ["a", "abbr", "address", "article", "aside", "b", "bdi", "bdo", "blockquote", "button", "canvas", "cite", "code", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hr", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "mark", "menu", "meter", "nav", "ol", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "samp", "section", "select", "small", "span", "strong", "sub", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "tr", "u", "ul", "video"];
|
|
6
12
|
/**
|
|
7
13
|
* HTML 태그 이름의 유니온 타입
|
|
8
14
|
*/
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* 지원되는 HTML 태그 목록
|
|
3
3
|
* const assertion을 사용하여 타입 레벨에서도 활용 가능
|
|
4
|
+
*
|
|
5
|
+
* 제외된 태그:
|
|
6
|
+
* - data: 일반적인 prop 이름과 충돌
|
|
7
|
+
* - map: Array.prototype.map, Map 객체와 충돌
|
|
8
|
+
* - var: JavaScript 예약어 (속성으로는 사용 가능하나 혼동 방지)
|
|
9
|
+
* - s: 너무 짧고 흔한 변수명
|
|
4
10
|
*/
|
|
5
11
|
export const htmlTags = [
|
|
6
|
-
"a", "abbr", "address", "article", "aside", "b", "bdi", "bdo", "blockquote", "button", "canvas", "cite", "code", "
|
|
12
|
+
"a", "abbr", "address", "article", "aside", "b", "bdi", "bdo", "blockquote", "button", "canvas", "cite", "code", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hr", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "mark", "menu", "meter", "nav", "ol", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "samp", "section", "select", "small", "span", "strong", "sub", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "tr", "u", "ul", "video"
|
|
7
13
|
];
|