This commit is contained in:
2024-05-14 16:37:46 +08:00
parent d8166e1b36
commit 3fb9f57e28
2 changed files with 8 additions and 26 deletions

32
main.js
View File

@ -204,30 +204,6 @@ export function Colgroup(options) {
return createElement(options, 'colgroup')
}
export function Td(options) {
return createElement(options, 'td')
}
export function Th(options) {
return createElement(options, 'th')
}
export function Thead(options) {
return createElement(options, 'thead')
}
export function Tfoot(options) {
return createElement(options, 'tfoot')
}
export function Tbody(options) {
return createElement(options, 'tbody')
}
export function Tr(options) {
return createElement(options, 'tr')
}
/* 扩展标签 */
export function List(options) {
return createElement(options, 'ul')
@ -325,4 +301,10 @@ export function Dialog(options) {
return element
}
export default { createElement, List, ListItem, Span, Button, Img, Input, TextArea, Avatar, Dialog }
export default {
createElement, List, ListItem, Span, Button, Img, Input, TextArea, Avatar, Dialog,
Header, Nav, Main, Article, Section, Aside, Footer,
H1, H2, H3, H4, H5, H6, P, A, Strong, Em, Small, Mark, Del, Ins, Pre, Code, Blockquote, Q, Cite, Br, Hr,
Ol, Ul, Li, Dl, Dt, Dd, Figure, Figcaption, Div,
Table, Caption, Thead, Tfoot, Tbody, Tr, Th, Td, Col, Colgroup
}

View File

@ -1,7 +1,7 @@
{
"name": "@laniakeasupercluster/widgets",
"description": "A simple widgets tracker",
"version": "1.0.2",
"version": "1.0.3",
"type": "module",
"main": "main.js",
"author": "Laniakea Supercluster <huan0016@gmail.com>",