@thi.ng/hiccup-html
Advanced tools
Comparing version 2.6.7 to 2.7.0
@@ -6,3 +6,12 @@ import type { Attribs, AttribVal, BooleanAttrib, DimensionAttribs, ImportanceAttribs, LoadingAttribs, ReferrerAttribs, StringAttrib } from "./api.js"; | ||
export declare const blockquote: import("./def.js").ElementFactory<Partial<BlockquoteAttribs>, any>; | ||
export declare const div: import("./def.js").ElementFactory<Partial<Attribs>, any>, figure: import("./def.js").ElementFactory<Partial<Attribs>, any>, figcaption: import("./def.js").ElementFactory<Partial<Attribs>, any>, para: import("./def.js").ElementFactory<Partial<Attribs>, any>, pre: import("./def.js").ElementFactory<Partial<Attribs>, any>, template: import("./def.js").ElementFactory<Partial<Attribs>, any>; | ||
export interface DetailAttribs extends Attribs { | ||
open: boolean; | ||
name: StringAttrib; | ||
} | ||
export declare const details: import("./def.js").ElementFactory<Partial<DetailAttribs>, any>; | ||
export interface DialogAttribs extends Attribs { | ||
open: boolean; | ||
} | ||
export declare const dialog: import("./def.js").ElementFactory<Partial<DialogAttribs>, any>; | ||
export declare const div: import("./def.js").ElementFactory<Partial<Attribs>, any>, figure: import("./def.js").ElementFactory<Partial<Attribs>, any>, figcaption: import("./def.js").ElementFactory<Partial<Attribs>, any>, para: import("./def.js").ElementFactory<Partial<Attribs>, any>, pre: import("./def.js").ElementFactory<Partial<Attribs>, any>, summary: import("./def.js").ElementFactory<Partial<Attribs>, any>; | ||
export declare const hr: import("./def.js").ElementFactory<Partial<Attribs>, never>; | ||
@@ -27,2 +36,8 @@ export interface IFrameAttribs extends Attribs, DimensionAttribs, ImportanceAttribs, LoadingAttribs, ReferrerAttribs { | ||
export declare const slot: import("./def.js").ElementFactory<Partial<SlotAttribs>, any>; | ||
export interface TemplateAttribs extends Attribs { | ||
shadowrootmode: AttribVal<"open" | "closed">; | ||
shadowrootclonable: BooleanAttrib; | ||
shadowrootdelegatesfocus: BooleanAttrib; | ||
} | ||
export declare const template: import("./def.js").ElementFactory<Partial<TemplateAttribs>, any>; | ||
//# sourceMappingURL=blocks.d.ts.map |
import { defElement, defElements } from "./def.js"; | ||
const blockquote = defElement("blockquote"); | ||
const [div, figure, figcaption, para, pre, template] = defElements([ | ||
const details = defElement("details"); | ||
const dialog = defElement("dialog"); | ||
const [div, figure, figcaption, para, pre, summary] = defElements([ | ||
"div", | ||
@@ -9,3 +11,3 @@ "figure", | ||
"pre", | ||
"template" | ||
"summary" | ||
]); | ||
@@ -15,4 +17,7 @@ const hr = defElement("hr"); | ||
const slot = defElement("slot"); | ||
const template = defElement("template"); | ||
export { | ||
blockquote, | ||
details, | ||
dialog, | ||
div, | ||
@@ -26,3 +31,4 @@ figcaption, | ||
slot, | ||
summary, | ||
template | ||
}; |
# Change Log | ||
- **Last updated**: 2024-07-06T12:02:18Z | ||
- **Last updated**: 2024-07-08T20:34:19Z | ||
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub) | ||
@@ -12,2 +12,15 @@ | ||
## [2.7.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup-html@2.7.0) (2024-07-08) | ||
#### 🚀 Features | ||
- add/update block elements ([08f1728](https://github.com/thi-ng/umbrella/commit/08f1728)) | ||
- add: details(), dialog(), summary() | ||
- update template(), add TemplateAttribs | ||
- add inline elements ([9127bd6](https://github.com/thi-ng/umbrella/commit/9127bd6)) | ||
- add: dfn(), strikethrough(), variable(), wbr() | ||
- add/update elements ([0df160f](https://github.com/thi-ng/umbrella/commit/0df160f)) | ||
- add: menu(), object(), output(), search() | ||
- add new element specific attrib types | ||
### [2.6.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup-html@2.6.3) (2024-05-08) | ||
@@ -14,0 +27,0 @@ |
@@ -117,2 +117,8 @@ import type { NumOrString } from "@thi.ng/api"; | ||
export declare const progress: import("./def.js").ElementFactory<Partial<ProgressAttribs>, any>; | ||
export interface OutputAttribs extends Attribs { | ||
for: MultiStringAttrib; | ||
form: StringAttrib; | ||
name: StringAttrib; | ||
} | ||
export declare const output: import("./def.js").ElementFactory<Partial<OutputAttribs>, any>; | ||
//# sourceMappingURL=forms.d.ts.map |
@@ -57,2 +57,3 @@ import { defElement } from "./def.js"; | ||
const progress = defElement("progress"); | ||
const output = defElement("output"); | ||
export { | ||
@@ -77,2 +78,3 @@ button, | ||
option, | ||
output, | ||
progress, | ||
@@ -79,0 +81,0 @@ radio, |
@@ -25,3 +25,3 @@ import type { NumOrString } from "@thi.ng/api"; | ||
} & Partial<Attribs>, any>; | ||
export declare const cite: import("./def.js").ElementFactory<Partial<Attribs>, any>, code: import("./def.js").ElementFactory<Partial<Attribs>, any>, em: import("./def.js").ElementFactory<Partial<Attribs>, any>, i: import("./def.js").ElementFactory<Partial<Attribs>, any>, kbd: import("./def.js").ElementFactory<Partial<Attribs>, any>, mark: import("./def.js").ElementFactory<Partial<Attribs>, any>, small: import("./def.js").ElementFactory<Partial<Attribs>, any>, span: import("./def.js").ElementFactory<Partial<Attribs>, any>, strong: import("./def.js").ElementFactory<Partial<Attribs>, any>, sub: import("./def.js").ElementFactory<Partial<Attribs>, any>, sup: import("./def.js").ElementFactory<Partial<Attribs>, any>; | ||
export declare const cite: import("./def.js").ElementFactory<Partial<Attribs>, any>, code: import("./def.js").ElementFactory<Partial<Attribs>, any>, dfn: import("./def.js").ElementFactory<Partial<Attribs>, any>, em: import("./def.js").ElementFactory<Partial<Attribs>, any>, i: import("./def.js").ElementFactory<Partial<Attribs>, any>, kbd: import("./def.js").ElementFactory<Partial<Attribs>, any>, mark: import("./def.js").ElementFactory<Partial<Attribs>, any>, small: import("./def.js").ElementFactory<Partial<Attribs>, any>, span: import("./def.js").ElementFactory<Partial<Attribs>, any>, strikethrough: import("./def.js").ElementFactory<Partial<Attribs>, any>, strong: import("./def.js").ElementFactory<Partial<Attribs>, any>, sub: import("./def.js").ElementFactory<Partial<Attribs>, any>, sup: import("./def.js").ElementFactory<Partial<Attribs>, any>, variable: import("./def.js").ElementFactory<Partial<Attribs>, any>, wbr: import("./def.js").ElementFactory<Partial<Attribs>, any>; | ||
export interface EditAttribs extends Attribs { | ||
@@ -28,0 +28,0 @@ cite: StringAttrib; |
@@ -12,5 +12,22 @@ import { defElement, defElements } from "./def.js"; | ||
); | ||
const [cite, code, em, i, kbd, mark, small, span, strong, sub, sup] = defElements([ | ||
const [ | ||
cite, | ||
code, | ||
dfn, | ||
em, | ||
i, | ||
kbd, | ||
mark, | ||
small, | ||
span, | ||
strikethrough, | ||
strong, | ||
sub, | ||
sup, | ||
variable, | ||
wbr | ||
] = defElements([ | ||
"cite", | ||
"code", | ||
"dfn", | ||
"em", | ||
@@ -22,5 +39,8 @@ "i", | ||
"span", | ||
"s", | ||
"strong", | ||
"sub", | ||
"sup" | ||
"sup", | ||
"var", | ||
"wbr" | ||
]); | ||
@@ -36,2 +56,3 @@ const [del, ins] = defElements(["del", "ins"]); | ||
del, | ||
dfn, | ||
em, | ||
@@ -45,6 +66,9 @@ i, | ||
span, | ||
strikethrough, | ||
strong, | ||
sub, | ||
sup, | ||
time | ||
time, | ||
variable, | ||
wbr | ||
}; |
@@ -12,3 +12,3 @@ import type { Attribs, AttribVal, BooleanAttrib, NumericAttrib } from "./api.js"; | ||
export declare const li: import("./def.js").ElementFactory<Partial<ListItemAttribs>, any>; | ||
export declare const ul: import("./def.js").ElementFactory<Partial<Attribs>, any>, dl: import("./def.js").ElementFactory<Partial<Attribs>, any>, dt: import("./def.js").ElementFactory<Partial<Attribs>, any>, dd: import("./def.js").ElementFactory<Partial<Attribs>, any>, datalist: import("./def.js").ElementFactory<Partial<Attribs>, any>; | ||
export declare const ul: import("./def.js").ElementFactory<Partial<Attribs>, any>, dl: import("./def.js").ElementFactory<Partial<Attribs>, any>, dt: import("./def.js").ElementFactory<Partial<Attribs>, any>, dd: import("./def.js").ElementFactory<Partial<Attribs>, any>, datalist: import("./def.js").ElementFactory<Partial<Attribs>, any>, menu: import("./def.js").ElementFactory<Partial<Attribs>, any>; | ||
//# sourceMappingURL=lists.d.ts.map |
import { defElement, defElements } from "./def.js"; | ||
const ol = defElement("ol"); | ||
const li = defElement("li"); | ||
const [ul, dl, dt, dd, datalist] = defElements([ | ||
const [ul, dl, dt, dd, datalist, menu] = defElements([ | ||
"ul", | ||
@@ -9,3 +9,4 @@ "dl", | ||
"dd", | ||
"datalist" | ||
"datalist", | ||
"menu" | ||
]); | ||
@@ -18,4 +19,5 @@ export { | ||
li, | ||
menu, | ||
ol, | ||
ul | ||
}; |
@@ -1,2 +0,2 @@ | ||
import type { Attribs, AttribVal, BooleanAttrib, CORSAttribs, DimensionAttribs, ImportanceAttribs, LoadingAttribs, MultiStringAttrib, ReferrerAttribs, StringAttrib } from "./api.js"; | ||
import type { Attribs, AttribVal, BooleanAttrib, CORSAttribs, DimensionAttribs, ImportanceAttribs, LoadingAttribs, MultiStringAttrib, NumericAttrib, ReferrerAttribs, StringAttrib } from "./api.js"; | ||
export interface CanvasAttribs extends Attribs, DimensionAttribs { | ||
@@ -50,2 +50,11 @@ } | ||
export declare const track: import("./def.js").ElementFactory<Partial<TrackAttribs>, any>; | ||
export interface ObjectAttribs extends Omit<Attribs, "data"> { | ||
data: StringAttrib; | ||
type: StringAttrib; | ||
form: StringAttrib; | ||
name: StringAttrib; | ||
height: NumericAttrib; | ||
width: NumericAttrib; | ||
} | ||
export declare const object: import("./def.js").ElementFactory<Partial<ObjectAttribs>, any>; | ||
//# sourceMappingURL=media.d.ts.map |
@@ -9,2 +9,3 @@ import { defElement } from "./def.js"; | ||
const track = defElement("track"); | ||
const object = defElement("object"); | ||
export { | ||
@@ -14,2 +15,3 @@ audio, | ||
img, | ||
object, | ||
picture, | ||
@@ -16,0 +18,0 @@ source, |
{ | ||
"name": "@thi.ng/hiccup-html", | ||
"version": "2.6.7", | ||
"version": "2.7.0", | ||
"description": "100+ type-checked HTML5 element functions for @thi.ng/hiccup related infrastructure", | ||
@@ -114,3 +114,3 @@ "type": "module", | ||
}, | ||
"gitHead": "70f493d9ccc97c5df5dda7e808e96cd1691097fc\n" | ||
"gitHead": "f6a6bc3eefb0fef6e0d05603caef7a39a23ab996\n" | ||
} |
@@ -10,5 +10,5 @@ import type { Attribs, EventAttribs, StringAttrib } from "./api.js"; | ||
export declare const body: import("./def.js").ElementFactory<Partial<BodyAttribs>, any>; | ||
export declare const address: import("./def.js").ElementFactory<Partial<Attribs>, any>, article: import("./def.js").ElementFactory<Partial<Attribs>, any>, aside: import("./def.js").ElementFactory<Partial<Attribs>, any>, footer: import("./def.js").ElementFactory<Partial<Attribs>, any>, header: import("./def.js").ElementFactory<Partial<Attribs>, any>, hgroup: import("./def.js").ElementFactory<Partial<Attribs>, any>, main: import("./def.js").ElementFactory<Partial<Attribs>, any>, nav: import("./def.js").ElementFactory<Partial<Attribs>, any>, noscript: import("./def.js").ElementFactory<Partial<Attribs>, any>, section: import("./def.js").ElementFactory<Partial<Attribs>, any>; | ||
export declare const address: import("./def.js").ElementFactory<Partial<Attribs>, any>, article: import("./def.js").ElementFactory<Partial<Attribs>, any>, aside: import("./def.js").ElementFactory<Partial<Attribs>, any>, footer: import("./def.js").ElementFactory<Partial<Attribs>, any>, header: import("./def.js").ElementFactory<Partial<Attribs>, any>, hgroup: import("./def.js").ElementFactory<Partial<Attribs>, any>, main: import("./def.js").ElementFactory<Partial<Attribs>, any>, nav: import("./def.js").ElementFactory<Partial<Attribs>, any>, noscript: import("./def.js").ElementFactory<Partial<Attribs>, any>, search: import("./def.js").ElementFactory<Partial<Attribs>, any>, section: import("./def.js").ElementFactory<Partial<Attribs>, any>; | ||
export declare const h1: import("./def.js").ElementFactory<Partial<Attribs>, any>, h2: import("./def.js").ElementFactory<Partial<Attribs>, any>, h3: import("./def.js").ElementFactory<Partial<Attribs>, any>, h4: import("./def.js").ElementFactory<Partial<Attribs>, any>, h5: import("./def.js").ElementFactory<Partial<Attribs>, any>, h6: import("./def.js").ElementFactory<Partial<Attribs>, any>; | ||
export declare const comment: (...body: string[]) => string[]; | ||
//# sourceMappingURL=sections.d.ts.map |
@@ -14,2 +14,3 @@ import { defElement, defElements } from "./def.js"; | ||
noscript, | ||
search, | ||
section | ||
@@ -26,2 +27,3 @@ ] = defElements([ | ||
"noscript", | ||
"search", | ||
"section" | ||
@@ -56,3 +58,4 @@ ]); | ||
noscript, | ||
search, | ||
section | ||
}; |
import type { Attribs, AttribVal, MultiStringAttrib, NumericAttrib } from "./api.js"; | ||
export declare const table: import("./def.js").ElementFactory<Partial<Attribs>, any>, tbody: import("./def.js").ElementFactory<Partial<Attribs>, any>, tfoot: import("./def.js").ElementFactory<Partial<Attribs>, any>, thead: import("./def.js").ElementFactory<Partial<Attribs>, any>, tr: import("./def.js").ElementFactory<Partial<Attribs>, any>, caption: import("./def.js").ElementFactory<Partial<Attribs>, any>; | ||
export declare const caption: import("./def.js").ElementFactory<Partial<Attribs>, any>, table: import("./def.js").ElementFactory<Partial<Attribs>, any>, tbody: import("./def.js").ElementFactory<Partial<Attribs>, any>, tfoot: import("./def.js").ElementFactory<Partial<Attribs>, any>, thead: import("./def.js").ElementFactory<Partial<Attribs>, any>, tr: import("./def.js").ElementFactory<Partial<Attribs>, any>; | ||
export interface TableCellAttribs extends Attribs { | ||
@@ -4,0 +4,0 @@ colspan: NumericAttrib; |
import { defElement, defElements } from "./def.js"; | ||
const [table, tbody, tfoot, thead, tr, caption] = defElements([ | ||
const [caption, table, tbody, tfoot, thead, tr] = defElements([ | ||
"caption", | ||
"table", | ||
@@ -7,4 +8,3 @@ "tbody", | ||
"thead", | ||
"tr", | ||
"caption" | ||
"tr" | ||
]); | ||
@@ -11,0 +11,0 @@ const td = defElement("td"); |
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
90930
943