@thi.ng/hiccup-html 2.7.0 → 2.7.1

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/README.md +145 -44
  3. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2024-07-08T20:34:19Z
3
+ - **Last updated**: 2024-07-10T20:28:44Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
package/README.md CHANGED
@@ -16,14 +16,14 @@
16
16
 
17
17
  - [About](#about)
18
18
  - [Supported elements](#supported-elements)
19
+ - [Block content](#block-content)
20
+ - [Forms / inputs](#forms--inputs)
19
21
  - [Head / metadata](#head--metadata)
20
- - [Sections](#sections)
21
- - [Text content](#text-content)
22
- - [Lists](#lists)
23
- - [Tables](#tables)
24
22
  - [Inline](#inline)
25
- - [Forms / inputs](#forms--inputs)
23
+ - [Lists](#lists)
26
24
  - [Media](#media)
25
+ - [Sections](#sections)
26
+ - [Tables](#tables)
27
27
  - [Compatibility](#compatibility)
28
28
  - [Status](#status)
29
29
  - [Support packages](#support-packages)
@@ -41,72 +41,173 @@
41
41
 
42
42
  100+ type-checked HTML5 element functions for [@thi.ng/hiccup](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup) related infrastructure.
43
43
 
44
- The following type-checked factory functions are provided **so far** and
45
- in most cases include specialized type definitions for element-specific
46
- attributes, incl. enumerated attrib values (where applicable/useful) and
47
- all 420+ CSS property names (for use with the `style` attrib). See type
48
- definitions in
44
+ The following type-checked factory functions are provided **so far** and in most
45
+ cases include specialized type definitions for element-specific attributes,
46
+ incl. enumerated attrib values (where applicable/useful) and 420+ CSS property
47
+ names (for use with the `style` attrib). See type definitions in
49
48
  [api.ts](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-html/src/api.ts)
50
49
  and [`defElement()`](#defelement) below for more details.
51
50
 
52
51
  ### Supported elements
53
52
 
54
- #### Head / metadata
53
+ #### Block content
55
54
 
56
- [Source](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-html/src/head.ts)
55
+ [Source](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-html/src/blocks.ts)
57
56
 
58
- `base`, `head`, `link`, `linkCSS`, `meta`, `metaReferrer`,
59
- `metaRefresh`, `metaRobots`, `metaUTF8`, `metaViewport`, `metaXUA`,
60
- `script`, `style`, `title`
57
+ - `blockquote`
58
+ - `details`
59
+ - `dialog`
60
+ - `div`
61
+ - `figcaption`
62
+ - `figure`
63
+ - `hr`
64
+ - `iframe`
65
+ - `para`
66
+ - `pre`
67
+ - `slot`
68
+ - `summary`
69
+ - `template`
61
70
 
62
- #### Sections
71
+ #### Forms / inputs
63
72
 
64
- [Source](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-html/src/sections.ts)
73
+ [Source](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-html/src/forms.ts)
65
74
 
66
- `address`, `article`, `aside`, `body`, `footer`, `h1`..`h6`, `header`,
67
- `hgroup`, `html`, `main`, `nav`, `noscript`, `section`
75
+ - `button`
76
+ - `checkbox`
77
+ - `fieldset`
78
+ - `form`
79
+ - `inputColor`
80
+ - `inputFile`
81
+ - `inputNumber`
82
+ - `inputPass`
83
+ - `inputRange`
84
+ - `inputReset`
85
+ - `inputSearch`
86
+ - `inputSubmit`
87
+ - `inputText`
88
+ - `label`
89
+ - `legend`
90
+ - `meter`
91
+ - `optGroup`
92
+ - `option`
93
+ - `output`
94
+ - `progress`
95
+ - `radio`
96
+ - `select`
97
+ - `textArea`
68
98
 
69
- #### Text content
99
+ #### Head / metadata
70
100
 
71
- [Source](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-html/src/blocks.ts)
101
+ [Source](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-html/src/head.ts)
72
102
 
73
- `blockquote`, `div`, `figure`, `figcaption`, `hr`, `iframe`, `para`,
74
- `pre`
103
+ - `base`
104
+ - `head`
105
+ - `link`
106
+ - `linkCSS`
107
+ - `meta`
108
+ - `metaReferrer`
109
+ - `metaRefresh`
110
+ - `metaRobots`
111
+ - `metaUTF8`
112
+ - `metaViewport`
113
+ - `metaXUA`
114
+ - `script`
115
+ - `style`
116
+ - `title`
75
117
 
76
- #### Lists
118
+ #### Inline
77
119
 
78
- [Source](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-html/src/lists.ts)
120
+ [Source](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-html/src/inline.ts)
79
121
 
80
- `datalist`, `dd`, `dl`, `dt`, `li`, `ol`, `ul`
122
+ - `abbr`
123
+ - `anchor`
124
+ - `br`
125
+ - `cite`
126
+ - `code`
127
+ - `data`
128
+ - `del`
129
+ - `dfn`
130
+ - `em`
131
+ - `i`
132
+ - `ins`
133
+ - `kbd`
134
+ - `mark`
135
+ - `quote`
136
+ - `small`
137
+ - `span`
138
+ - `strikethrough`
139
+ - `strong`
140
+ - `sub`
141
+ - `sup`
142
+ - `time`
143
+ - `variable`
144
+ - `wbr`
81
145
 
82
- #### Tables
146
+ #### Lists
83
147
 
84
- [Source](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-html/src/table.ts)
148
+ [Source](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-html/src/lists.ts)
85
149
 
86
- `caption`, `col`, `colgroup`, `table`, `tbody`, `td`, `tfoot`, `th`,
87
- `thead`, `tr`
150
+ - `datalist`
151
+ - `dd`
152
+ - `dl`
153
+ - `dt`
154
+ - `li`
155
+ - `menu`
156
+ - `ol`
157
+ - `ul`
88
158
 
89
- #### Inline
159
+ #### Media
90
160
 
91
- [Source](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-html/src/inline.ts)
161
+ [Source](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-html/src/media.ts)
92
162
 
93
- `abbr`, `anchor`, `br`, `cite`, `code`, `data`, `del`, `em`, `i`, `ins`,
94
- `kbd`, `mark`, `quote`, `small`, `span`, `strong`, `sub`, `sup`, `time`
163
+ - `audio`
164
+ - `canvas`
165
+ - `img`
166
+ - `object`
167
+ - `picture`
168
+ - `source`
169
+ - `track`
170
+ - `video`
95
171
 
96
- #### Forms / inputs
172
+ #### Sections
97
173
 
98
- [Source](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-html/src/forms.ts)
174
+ [Source](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-html/src/sections.ts)
99
175
 
100
- `button`, `checkbox`, `fieldset`, `form`, `inputColor`, `inputFile`,
101
- `inputNumber`, `inputPass`, `inputRange`, `inputSearch`, `inputText`,
102
- `label`, `legend`, `meter`, `option`, `optGroup`, `progress`, `radio`,
103
- `select`, `textArea`
176
+ - `address`
177
+ - `article`
178
+ - `aside`
179
+ - `body`
180
+ - `comment`
181
+ - `footer`
182
+ - `h1`
183
+ - `h2`
184
+ - `h3`
185
+ - `h4`
186
+ - `h5`
187
+ - `h6`
188
+ - `header`
189
+ - `hgroup`
190
+ - `html`
191
+ - `main`
192
+ - `nav`
193
+ - `noscript`
194
+ - `search`
195
+ - `section`
104
196
 
105
- #### Media
197
+ #### Tables
106
198
 
107
- [Source](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-html/src/media.ts)
199
+ [Source](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-html/src/table.ts)
108
200
 
109
- `audio`, `canvas`, `img`, `picture`, `source`, `video`
201
+ - `caption`
202
+ - `col`
203
+ - `colgroup`
204
+ - `table`
205
+ - `tbody`
206
+ - `td`
207
+ - `tfoot`
208
+ - `th`
209
+ - `thead`
210
+ - `tr`
110
211
 
111
212
  ### Compatibility
112
213
 
@@ -196,7 +297,7 @@ Browser ESM import:
196
297
 
197
298
  [JSDelivr documentation](https://www.jsdelivr.com/)
198
299
 
199
- Package sizes (brotli'd, pre-treeshake): ESM: 1.51 KB
300
+ Package sizes (brotli'd, pre-treeshake): ESM: 1.63 KB
200
301
 
201
302
  ## Dependencies
202
303
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/hiccup-html",
3
- "version": "2.7.0",
3
+ "version": "2.7.1",
4
4
  "description": "100+ type-checked HTML5 element functions for @thi.ng/hiccup related infrastructure",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -111,5 +111,5 @@
111
111
  ],
112
112
  "year": 2020
113
113
  },
114
- "gitHead": "f6a6bc3eefb0fef6e0d05603caef7a39a23ab996\n"
114
+ "gitHead": "85719a1b26246ca7cc088c119fab269f8e2fd4a7\n"
115
115
  }