@thi.ng/hiccup-html
Advanced tools
Comparing version 2.7.0 to 2.7.1
# Change Log | ||
- **Last updated**: 2024-07-08T20:34:19Z | ||
- **Last updated**: 2024-07-10T20:28:44Z | ||
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub) | ||
@@ -5,0 +5,0 @@ |
{ | ||
"name": "@thi.ng/hiccup-html", | ||
"version": "2.7.0", | ||
"version": "2.7.1", | ||
"description": "100+ type-checked HTML5 element functions for @thi.ng/hiccup related infrastructure", | ||
@@ -114,3 +114,3 @@ "type": "module", | ||
}, | ||
"gitHead": "f6a6bc3eefb0fef6e0d05603caef7a39a23ab996\n" | ||
"gitHead": "85719a1b26246ca7cc088c119fab269f8e2fd4a7\n" | ||
} |
189
README.md
@@ -19,10 +19,10 @@ <!-- This file is generated - DO NOT EDIT! --> | ||
- [Supported elements](#supported-elements) | ||
- [Block content](#block-content) | ||
- [Forms / inputs](#forms--inputs) | ||
- [Head / metadata](#head--metadata) | ||
- [Inline](#inline) | ||
- [Lists](#lists) | ||
- [Media](#media) | ||
- [Sections](#sections) | ||
- [Text content](#text-content) | ||
- [Lists](#lists) | ||
- [Tables](#tables) | ||
- [Inline](#inline) | ||
- [Forms / inputs](#forms--inputs) | ||
- [Media](#media) | ||
- [Compatibility](#compatibility) | ||
@@ -45,7 +45,6 @@ - [Status](#status) | ||
The following type-checked factory functions are provided **so far** and | ||
in most cases include specialized type definitions for element-specific | ||
attributes, incl. enumerated attrib values (where applicable/useful) and | ||
all 420+ CSS property names (for use with the `style` attrib). See type | ||
definitions in | ||
The following type-checked factory functions are provided **so far** and in most | ||
cases include specialized type definitions for element-specific attributes, | ||
incl. enumerated attrib values (where applicable/useful) and 420+ CSS property | ||
names (for use with the `style` attrib). See type definitions in | ||
[api.ts](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-html/src/api.ts) | ||
@@ -56,58 +55,160 @@ and [`defElement()`](#defelement) below for more details. | ||
#### Head / metadata | ||
#### Block content | ||
[Source](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-html/src/head.ts) | ||
[Source](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-html/src/blocks.ts) | ||
`base`, `head`, `link`, `linkCSS`, `meta`, `metaReferrer`, | ||
`metaRefresh`, `metaRobots`, `metaUTF8`, `metaViewport`, `metaXUA`, | ||
`script`, `style`, `title` | ||
- `blockquote` | ||
- `details` | ||
- `dialog` | ||
- `div` | ||
- `figcaption` | ||
- `figure` | ||
- `hr` | ||
- `iframe` | ||
- `para` | ||
- `pre` | ||
- `slot` | ||
- `summary` | ||
- `template` | ||
#### Sections | ||
#### Forms / inputs | ||
[Source](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-html/src/sections.ts) | ||
[Source](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-html/src/forms.ts) | ||
`address`, `article`, `aside`, `body`, `footer`, `h1`..`h6`, `header`, | ||
`hgroup`, `html`, `main`, `nav`, `noscript`, `section` | ||
- `button` | ||
- `checkbox` | ||
- `fieldset` | ||
- `form` | ||
- `inputColor` | ||
- `inputFile` | ||
- `inputNumber` | ||
- `inputPass` | ||
- `inputRange` | ||
- `inputReset` | ||
- `inputSearch` | ||
- `inputSubmit` | ||
- `inputText` | ||
- `label` | ||
- `legend` | ||
- `meter` | ||
- `optGroup` | ||
- `option` | ||
- `output` | ||
- `progress` | ||
- `radio` | ||
- `select` | ||
- `textArea` | ||
#### Text content | ||
#### Head / metadata | ||
[Source](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-html/src/blocks.ts) | ||
[Source](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-html/src/head.ts) | ||
`blockquote`, `div`, `figure`, `figcaption`, `hr`, `iframe`, `para`, | ||
`pre` | ||
- `base` | ||
- `head` | ||
- `link` | ||
- `linkCSS` | ||
- `meta` | ||
- `metaReferrer` | ||
- `metaRefresh` | ||
- `metaRobots` | ||
- `metaUTF8` | ||
- `metaViewport` | ||
- `metaXUA` | ||
- `script` | ||
- `style` | ||
- `title` | ||
#### Lists | ||
#### Inline | ||
[Source](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-html/src/lists.ts) | ||
[Source](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-html/src/inline.ts) | ||
`datalist`, `dd`, `dl`, `dt`, `li`, `ol`, `ul` | ||
- `abbr` | ||
- `anchor` | ||
- `br` | ||
- `cite` | ||
- `code` | ||
- `data` | ||
- `del` | ||
- `dfn` | ||
- `em` | ||
- `i` | ||
- `ins` | ||
- `kbd` | ||
- `mark` | ||
- `quote` | ||
- `small` | ||
- `span` | ||
- `strikethrough` | ||
- `strong` | ||
- `sub` | ||
- `sup` | ||
- `time` | ||
- `variable` | ||
- `wbr` | ||
#### Tables | ||
#### Lists | ||
[Source](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-html/src/table.ts) | ||
[Source](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-html/src/lists.ts) | ||
`caption`, `col`, `colgroup`, `table`, `tbody`, `td`, `tfoot`, `th`, | ||
`thead`, `tr` | ||
- `datalist` | ||
- `dd` | ||
- `dl` | ||
- `dt` | ||
- `li` | ||
- `menu` | ||
- `ol` | ||
- `ul` | ||
#### Inline | ||
#### Media | ||
[Source](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-html/src/inline.ts) | ||
[Source](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-html/src/media.ts) | ||
`abbr`, `anchor`, `br`, `cite`, `code`, `data`, `del`, `em`, `i`, `ins`, | ||
`kbd`, `mark`, `quote`, `small`, `span`, `strong`, `sub`, `sup`, `time` | ||
- `audio` | ||
- `canvas` | ||
- `img` | ||
- `object` | ||
- `picture` | ||
- `source` | ||
- `track` | ||
- `video` | ||
#### Forms / inputs | ||
#### Sections | ||
[Source](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-html/src/forms.ts) | ||
[Source](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-html/src/sections.ts) | ||
`button`, `checkbox`, `fieldset`, `form`, `inputColor`, `inputFile`, | ||
`inputNumber`, `inputPass`, `inputRange`, `inputSearch`, `inputText`, | ||
`label`, `legend`, `meter`, `option`, `optGroup`, `progress`, `radio`, | ||
`select`, `textArea` | ||
- `address` | ||
- `article` | ||
- `aside` | ||
- `body` | ||
- `comment` | ||
- `footer` | ||
- `h1` | ||
- `h2` | ||
- `h3` | ||
- `h4` | ||
- `h5` | ||
- `h6` | ||
- `header` | ||
- `hgroup` | ||
- `html` | ||
- `main` | ||
- `nav` | ||
- `noscript` | ||
- `search` | ||
- `section` | ||
#### Media | ||
#### Tables | ||
[Source](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-html/src/media.ts) | ||
[Source](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-html/src/table.ts) | ||
`audio`, `canvas`, `img`, `picture`, `source`, `video` | ||
- `caption` | ||
- `col` | ||
- `colgroup` | ||
- `table` | ||
- `tbody` | ||
- `td` | ||
- `tfoot` | ||
- `th` | ||
- `thead` | ||
- `tr` | ||
@@ -202,3 +303,3 @@ ### Compatibility | ||
Package sizes (brotli'd, pre-treeshake): ESM: 1.51 KB | ||
Package sizes (brotli'd, pre-treeshake): ESM: 1.63 KB | ||
@@ -205,0 +306,0 @@ ## Dependencies |
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
91262
503