@thi.ng/hiccup-html 1.1.1 → 2.0.3
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.
- package/CHANGELOG.md +50 -27
- package/README.md +31 -18
- package/blocks.d.ts +5 -5
- package/blocks.js +1 -1
- package/def.d.ts +1 -1
- package/def.js +2 -1
- package/forms.d.ts +21 -21
- package/forms.js +1 -1
- package/head.d.ts +7 -7
- package/head.js +1 -1
- package/index.d.ts +10 -10
- package/index.js +10 -10
- package/inline.d.ts +9 -9
- package/inline.js +2 -2
- package/lists.d.ts +4 -4
- package/lists.js +1 -1
- package/media.d.ts +8 -8
- package/media.js +1 -1
- package/package.json +57 -21
- package/sections.d.ts +5 -5
- package/sections.js +1 -1
- package/table.d.ts +5 -5
- package/table.js +1 -1
- package/lib/index.js +0 -273
- package/lib/index.js.map +0 -1
- package/lib/index.umd.js +0 -1
- package/lib/index.umd.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
## [
|
|
6
|
+
## [2.0.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-html@2.0.2...@thi.ng/hiccup-html@2.0.3) (2021-10-15)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @thi.ng/hiccup-html
|
|
9
9
|
|
|
@@ -11,67 +11,90 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
## [2.0.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-html@2.0.1...@thi.ng/hiccup-html@2.0.2) (2021-10-15)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @thi.ng/hiccup-html
|
|
17
|
+
|
|
15
18
|
|
|
16
19
|
|
|
17
|
-
### Features
|
|
18
20
|
|
|
19
|
-
|
|
21
|
+
|
|
22
|
+
## [2.0.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-html@2.0.0...@thi.ng/hiccup-html@2.0.1) (2021-10-13)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @thi.ng/hiccup-html
|
|
20
25
|
|
|
21
26
|
|
|
22
27
|
|
|
23
28
|
|
|
24
29
|
|
|
25
|
-
# [0.
|
|
30
|
+
# [2.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-html@1.1.1...@thi.ng/hiccup-html@2.0.0) (2021-10-12)
|
|
26
31
|
|
|
27
32
|
|
|
28
|
-
###
|
|
33
|
+
### Build System
|
|
29
34
|
|
|
30
|
-
*
|
|
31
|
-
* **hiccup-html:** add CSS props for SVG elements ([efe61b8](https://github.com/thi-ng/umbrella/commit/efe61b8d0ddfd7f54b2689a792a092122ffe830a))
|
|
35
|
+
* major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea9fab2a645d6c5f2bf2591459b939c09b6))
|
|
32
36
|
|
|
33
37
|
|
|
38
|
+
### BREAKING CHANGES
|
|
34
39
|
|
|
40
|
+
* discontinue CommonJS & UMD versions
|
|
35
41
|
|
|
42
|
+
- only ESM modules will be published from now on
|
|
43
|
+
- CJS obsolete due to ESM support in recent versions of node:
|
|
44
|
+
- i.e. launch NodeJS via:
|
|
45
|
+
- `node --experimental-specifier-resolution=node --experimental-repl-await`
|
|
46
|
+
- in the node REPL use `await import(...)` instead of `require()`
|
|
47
|
+
- UMD obsolete due to widespread browser support for ESM
|
|
36
48
|
|
|
37
|
-
|
|
49
|
+
Also:
|
|
50
|
+
- normalize/restructure/reorg all package.json files
|
|
51
|
+
- cleanup all build scripts, remove obsolete
|
|
52
|
+
- switch from mocha to @thi.ng/testament for all tests
|
|
38
53
|
|
|
39
54
|
|
|
40
|
-
### Features
|
|
41
55
|
|
|
42
|
-
* **hiccup-html:** add meta & link variations ([42fb113](https://github.com/thi-ng/umbrella/commit/42fb113141e400b64822daefa746ab236e57965a))
|
|
43
|
-
* **hiccup-html:** add more elems (tables) ([f0616e6](https://github.com/thi-ng/umbrella/commit/f0616e626e187725b31716d6fec7f420288d071e))
|
|
44
|
-
* **hiccup-html:** add new elems, add/update types ([9023724](https://github.com/thi-ng/umbrella/commit/9023724d536a013a896934f9b5db443787be31ce))
|
|
45
|
-
* **hiccup-html:** add RDFa attrib support, update types ([0737a16](https://github.com/thi-ng/umbrella/commit/0737a169668184750e7fe0d09be5d51c61a47e17))
|
|
46
|
-
* **hiccup-html:** add textArea() ([3fceb02](https://github.com/thi-ng/umbrella/commit/3fceb02136de6d8b532c23659cad3f800b159534))
|
|
47
56
|
|
|
48
57
|
|
|
49
|
-
### Reverts
|
|
50
58
|
|
|
51
|
-
|
|
59
|
+
# [1.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-html@1.0.3...@thi.ng/hiccup-html@1.1.0) (2021-08-17)
|
|
52
60
|
|
|
61
|
+
### Features
|
|
53
62
|
|
|
63
|
+
- **hiccup-html:** update style/script element defs ([a1f9ac8](https://github.com/thi-ng/umbrella/commit/a1f9ac8b2f56376747af53a2f8e9911ed3704c27))
|
|
54
64
|
|
|
65
|
+
# [0.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-html@0.2.0...@thi.ng/hiccup-html@0.3.0) (2020-07-09)
|
|
55
66
|
|
|
67
|
+
### Features
|
|
56
68
|
|
|
57
|
-
|
|
69
|
+
- **hiccup-html:** add 360+ CSS property names ([d06a4ae](https://github.com/thi-ng/umbrella/commit/d06a4ae0fa916d168bf54e0f003677bf726e8513))
|
|
70
|
+
- **hiccup-html:** add CSS props for SVG elements ([efe61b8](https://github.com/thi-ng/umbrella/commit/efe61b8d0ddfd7f54b2689a792a092122ffe830a))
|
|
58
71
|
|
|
72
|
+
# [0.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-html@0.1.1...@thi.ng/hiccup-html@0.2.0) (2020-07-02)
|
|
59
73
|
|
|
60
|
-
###
|
|
74
|
+
### Features
|
|
61
75
|
|
|
62
|
-
|
|
76
|
+
- **hiccup-html:** add meta & link variations ([42fb113](https://github.com/thi-ng/umbrella/commit/42fb113141e400b64822daefa746ab236e57965a))
|
|
77
|
+
- **hiccup-html:** add more elems (tables) ([f0616e6](https://github.com/thi-ng/umbrella/commit/f0616e626e187725b31716d6fec7f420288d071e))
|
|
78
|
+
- **hiccup-html:** add new elems, add/update types ([9023724](https://github.com/thi-ng/umbrella/commit/9023724d536a013a896934f9b5db443787be31ce))
|
|
79
|
+
- **hiccup-html:** add RDFa attrib support, update types ([0737a16](https://github.com/thi-ng/umbrella/commit/0737a169668184750e7fe0d09be5d51c61a47e17))
|
|
80
|
+
- **hiccup-html:** add textArea() ([3fceb02](https://github.com/thi-ng/umbrella/commit/3fceb02136de6d8b532c23659cad3f800b159534))
|
|
63
81
|
|
|
82
|
+
### Reverts
|
|
64
83
|
|
|
84
|
+
- **hiccup-html:** undo accidental anchor rename ([64cc52c](https://github.com/thi-ng/umbrella/commit/64cc52c34ae689396f0729918455d78603ce890c))
|
|
65
85
|
|
|
86
|
+
## [0.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-html@0.1.0...@thi.ng/hiccup-html@0.1.1) (2020-06-28)
|
|
66
87
|
|
|
88
|
+
### Bug Fixes
|
|
67
89
|
|
|
68
|
-
|
|
90
|
+
- **hiccup-html:** update attrib types ([7af448f](https://github.com/thi-ng/umbrella/commit/7af448f59ac0210060a508a75be27f8667c7d118))
|
|
69
91
|
|
|
92
|
+
# 0.1.0 (2020-06-24)
|
|
70
93
|
|
|
71
|
-
###
|
|
94
|
+
### Features
|
|
72
95
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
96
|
+
- **hiccup-html:** add AttribVal & EventAttribVal ([469e297](https://github.com/thi-ng/umbrella/commit/469e29758d3801d8c5e56695246c438f4a6c9569))
|
|
97
|
+
- **hiccup-html:** add more elements & helpers ([68a9bb8](https://github.com/thi-ng/umbrella/commit/68a9bb89f901612e69e0c4ae972a8de2c7ac76b6))
|
|
98
|
+
- **hiccup-html:** add more elements, update readme ([5e3f8f1](https://github.com/thi-ng/umbrella/commit/5e3f8f1f70fd06aab5ab64683546d5febe16a0f4))
|
|
99
|
+
- **hiccup-html:** import as new pkg ([5fffd6f](https://github.com/thi-ng/umbrella/commit/5fffd6fd641da4fad73802fb105a700620940ab3))
|
|
100
|
+
- **hiccup-html:** re-add support for emmet style tags ([bb06dab](https://github.com/thi-ng/umbrella/commit/bb06dabe0ea2214a1bbef56db1875bbe0ae392bd))
|
package/README.md
CHANGED
|
@@ -144,7 +144,7 @@ packages.
|
|
|
144
144
|
of course, but will NOT be evaluated to obtain final attrib value
|
|
145
145
|
|
|
146
146
|
(2) The
|
|
147
|
-
[`IDeref`](https://github.com/thi-ng/umbrella/tree/develop/packages/api/src/
|
|
147
|
+
[`IDeref`](https://github.com/thi-ng/umbrella/tree/develop/packages/api/src/deref.ts)
|
|
148
148
|
interface is implemented by various data structures in the
|
|
149
149
|
thi.ng/umbrella eco system (most relevant:
|
|
150
150
|
[@thi.ng/rstream](https://github.com/thi-ng/umbrella/tree/develop/packages/rstream),
|
|
@@ -172,15 +172,24 @@ welcome!
|
|
|
172
172
|
yarn add @thi.ng/hiccup-html
|
|
173
173
|
```
|
|
174
174
|
|
|
175
|
+
ES module import:
|
|
176
|
+
|
|
175
177
|
```html
|
|
176
|
-
|
|
177
|
-
|
|
178
|
+
<script type="module" src="https://cdn.skypack.dev/@thi.ng/hiccup-html"></script>
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
[Skypack documentation](https://docs.skypack.dev/)
|
|
182
|
+
|
|
183
|
+
For Node.js REPL:
|
|
184
|
+
|
|
185
|
+
```text
|
|
186
|
+
# with flag only for < v16
|
|
187
|
+
node --experimental-repl-await
|
|
178
188
|
|
|
179
|
-
|
|
180
|
-
<script src="https://unpkg.com/@thi.ng/hiccup-html/lib/index.umd.js" crossorigin></script>
|
|
189
|
+
> const hiccupHtml = await import("@thi.ng/hiccup-html");
|
|
181
190
|
```
|
|
182
191
|
|
|
183
|
-
Package sizes (gzipped, pre-treeshake): ESM: 1.
|
|
192
|
+
Package sizes (gzipped, pre-treeshake): ESM: 1.47 KB
|
|
184
193
|
|
|
185
194
|
## Dependencies
|
|
186
195
|
|
|
@@ -194,11 +203,15 @@ directory are using this package.
|
|
|
194
203
|
|
|
195
204
|
A selection:
|
|
196
205
|
|
|
197
|
-
| Screenshot | Description
|
|
198
|
-
|
|
199
|
-
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/color-themes.png" width="240"/> | Probabilistic color theme generator
|
|
200
|
-
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/
|
|
201
|
-
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/
|
|
206
|
+
| Screenshot | Description | Live demo | Source |
|
|
207
|
+
|:------------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------|:-------------------------------------------------------|:------------------------------------------------------------------------------------|
|
|
208
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/color-themes.png" width="240"/> | Probabilistic color theme generator | [Demo](https://demo.thi.ng/umbrella/color-themes/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/color-themes) |
|
|
209
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/dominant-colors.png" width="240"/> | Color palette generation via dominant color extraction from uploaded images | [Demo](https://demo.thi.ng/umbrella/dominant-colors/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/dominant-colors) |
|
|
210
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/parse-playground.png" width="240"/> | Parser grammar livecoding editor/playground & codegen | [Demo](https://demo.thi.ng/umbrella/parse-playground/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/parse-playground) |
|
|
211
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/pixel-sorting.png" width="240"/> | Interactive pixel sorting tool using thi.ng/color & thi.ng/pixel | [Demo](https://demo.thi.ng/umbrella/pixel-sorting/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/pixel-sorting) |
|
|
212
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/rdom-dnd.png" width="240"/> | rdom drag & drop example | [Demo](https://demo.thi.ng/umbrella/rdom-dnd/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/rdom-dnd) |
|
|
213
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/rdom-lissajous.png" width="240"/> | rdom & hiccup-canvas interop test | [Demo](https://demo.thi.ng/umbrella/rdom-lissajous/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/rdom-lissajous) |
|
|
214
|
+
| | Full umbrella repo doc string search w/ paginated results | [Demo](https://demo.thi.ng/umbrella/rdom-search-docs/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/rdom-search-docs) |
|
|
202
215
|
|
|
203
216
|
## API
|
|
204
217
|
|
|
@@ -235,11 +248,11 @@ $compile(
|
|
|
235
248
|
|
|
236
249
|
### defElement
|
|
237
250
|
|
|
238
|
-
All element functions are created via the higher-order function
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
[`Attribs`](https://
|
|
251
|
+
All element functions are created via the higher-order function `defElement`
|
|
252
|
+
which produces the typed, variadic factories. `defElement` takes an element name
|
|
253
|
+
and optional set of default attributes. It also uses generics to enforce types
|
|
254
|
+
for the element's attributes (default:
|
|
255
|
+
[`Attribs`](https://docs.thi.ng/umbrella/hiccup-html/interfaces/Attribs.html)
|
|
243
256
|
and/or children/body (default: `any`).
|
|
244
257
|
|
|
245
258
|
Define element with defaults:
|
|
@@ -282,13 +295,13 @@ The `AttribVal` type wrapper is used to allow for reactive attribute
|
|
|
282
295
|
values (in
|
|
283
296
|
[@thi.ng/rdom](https://github.com/thi-ng/umbrella/tree/develop/packages/rdom))
|
|
284
297
|
and [`IDeref`
|
|
285
|
-
instances](https://github.com/thi-ng/umbrella/tree/develop/packages/api/src/
|
|
298
|
+
instances](https://github.com/thi-ng/umbrella/tree/develop/packages/api/src/deref.ts)
|
|
286
299
|
when later providing attribute values to an element.
|
|
287
300
|
|
|
288
301
|
#### Element creation
|
|
289
302
|
|
|
290
303
|
The function returned by `defElement` has the [following
|
|
291
|
-
signatures](https://
|
|
304
|
+
signatures](https://docs.thi.ng/umbrella/hiccup-html/modules.html#defElement):
|
|
292
305
|
|
|
293
306
|
```ts
|
|
294
307
|
(attribs?: Nullable<T>, ...body: B[]) => [string, Nullable<T>, ...B[]];
|
package/blocks.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { Attribs, AttribVal, BooleanAttrib, DimensionAttribs, ImportanceAttribs, LoadingAttribs, ReferrerAttribs, StringAttrib } from "./api";
|
|
1
|
+
import type { Attribs, AttribVal, BooleanAttrib, DimensionAttribs, ImportanceAttribs, LoadingAttribs, ReferrerAttribs, StringAttrib } from "./api.js";
|
|
2
2
|
export interface BlockquoteAttribs extends Attribs {
|
|
3
3
|
cite: StringAttrib;
|
|
4
4
|
}
|
|
5
|
-
export declare const blockquote: import("./def").ElementFactory<Partial<BlockquoteAttribs>, any>;
|
|
6
|
-
export declare const div: import("./def").ElementFactory<Partial<Attribs>, any>, figure: import("./def").ElementFactory<Partial<Attribs>, any>, figcaption: import("./def").ElementFactory<Partial<Attribs>, any>, para: import("./def").ElementFactory<Partial<Attribs>, any>, pre: import("./def").ElementFactory<Partial<Attribs>, any>, template: import("./def").ElementFactory<Partial<Attribs>, any>;
|
|
7
|
-
export declare const hr: import("./def").ElementFactory<Partial<Attribs>, never>;
|
|
5
|
+
export declare const blockquote: import("./def.js").ElementFactory<Partial<BlockquoteAttribs>, any>;
|
|
6
|
+
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>;
|
|
7
|
+
export declare const hr: import("./def.js").ElementFactory<Partial<Attribs>, never>;
|
|
8
8
|
export interface IFrameAttribs extends Attribs, DimensionAttribs, ImportanceAttribs, LoadingAttribs, ReferrerAttribs {
|
|
9
9
|
allow: StringAttrib;
|
|
10
10
|
allowfullscreen: BooleanAttrib;
|
|
@@ -15,5 +15,5 @@ export interface IFrameAttribs extends Attribs, DimensionAttribs, ImportanceAttr
|
|
|
15
15
|
src: StringAttrib;
|
|
16
16
|
srcdoc: StringAttrib;
|
|
17
17
|
}
|
|
18
|
-
export declare const iframe: import("./def").ElementFactory<Partial<IFrameAttribs>, any>;
|
|
18
|
+
export declare const iframe: import("./def.js").ElementFactory<Partial<IFrameAttribs>, any>;
|
|
19
19
|
//# sourceMappingURL=blocks.d.ts.map
|
package/blocks.js
CHANGED
package/def.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Nullable } from "@thi.ng/api";
|
|
2
|
-
import type { Attribs } from "./api";
|
|
2
|
+
import type { Attribs } from "./api.js";
|
|
3
3
|
/**
|
|
4
4
|
* Variadic element factory function. Takes an element specific attrib
|
|
5
5
|
* object (or `null` if no user attribs are needed) and any number of
|
package/def.js
CHANGED
|
@@ -12,7 +12,8 @@ export const defElement = (tag, baseAttribs) => (...args) => {
|
|
|
12
12
|
const n = args.length;
|
|
13
13
|
const attribs = n > 0
|
|
14
14
|
? baseAttribs
|
|
15
|
-
?
|
|
15
|
+
? { ...baseAttribs, ...args[0] }
|
|
16
|
+
: args[0]
|
|
16
17
|
: baseAttribs || null;
|
|
17
18
|
return n > 1 ? [$tag, attribs, ...args.slice(1)] : [$tag, attribs];
|
|
18
19
|
};
|
package/forms.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { NumOrString } from "@thi.ng/api";
|
|
2
|
-
import type { Attribs, AttribVal, BooleanAttrib, MultiStringAttrib, NumericAttrib, RelAttribs, StringAttrib } from "./api";
|
|
2
|
+
import type { Attribs, AttribVal, BooleanAttrib, MultiStringAttrib, NumericAttrib, RelAttribs, StringAttrib } from "./api.js";
|
|
3
3
|
export interface FormAttribs extends RelAttribs {
|
|
4
4
|
"accept-charset": MultiStringAttrib;
|
|
5
5
|
action: StringAttrib;
|
|
@@ -9,14 +9,14 @@ export interface FormAttribs extends RelAttribs {
|
|
|
9
9
|
novalidate: BooleanAttrib;
|
|
10
10
|
target: StringAttrib;
|
|
11
11
|
}
|
|
12
|
-
export declare const form: import("./def").ElementFactory<Partial<FormAttribs>, any>;
|
|
12
|
+
export declare const form: import("./def.js").ElementFactory<Partial<FormAttribs>, any>;
|
|
13
13
|
export interface FieldsetAttribs extends Attribs {
|
|
14
14
|
disabled: BooleanAttrib;
|
|
15
15
|
form: StringAttrib;
|
|
16
16
|
name: StringAttrib;
|
|
17
17
|
}
|
|
18
|
-
export declare const fieldset: import("./def").ElementFactory<Partial<FieldsetAttribs>, any>;
|
|
19
|
-
export declare const legend: import("./def").ElementFactory<Partial<Attribs>, any>;
|
|
18
|
+
export declare const fieldset: import("./def.js").ElementFactory<Partial<FieldsetAttribs>, any>;
|
|
19
|
+
export declare const legend: import("./def.js").ElementFactory<Partial<Attribs>, any>;
|
|
20
20
|
export interface InputAttribs extends Attribs, FieldsetAttribs {
|
|
21
21
|
autocomplete: StringAttrib;
|
|
22
22
|
autofocus: BooleanAttrib;
|
|
@@ -57,39 +57,39 @@ export interface InputNumericAttribs extends InputAttribs {
|
|
|
57
57
|
step: NumericAttrib;
|
|
58
58
|
value: NumericAttrib;
|
|
59
59
|
}
|
|
60
|
-
export declare const button: import("./def").ElementFactory<Partial<InputAttribs>, any>;
|
|
61
|
-
export declare const checkbox: import("./def").ElementFactory<Partial<InputCheckboxAttribs>, never>;
|
|
62
|
-
export declare const radio: import("./def").ElementFactory<Partial<InputRadioAttribs>, never>;
|
|
63
|
-
export declare const inputColor: import("./def").ElementFactory<Partial<InputAttribs>, never>;
|
|
64
|
-
export declare const inputFile: import("./def").ElementFactory<Partial<InputFileAttribs>, never>;
|
|
65
|
-
export declare const inputPass: import("./def").ElementFactory<Partial<InputTextAttribs>, never>;
|
|
66
|
-
export declare const inputNumber: import("./def").ElementFactory<Partial<InputNumericAttribs>, never>;
|
|
67
|
-
export declare const inputRange: import("./def").ElementFactory<Partial<InputNumericAttribs>, never>;
|
|
68
|
-
export declare const inputSearch: import("./def").ElementFactory<Partial<InputTextAttribs>, never>;
|
|
69
|
-
export declare const inputText: import("./def").ElementFactory<Partial<InputTextAttribs>, never>;
|
|
70
|
-
export declare const textArea: import("./def").ElementFactory<Partial<TextAreaAttribs>, never>;
|
|
60
|
+
export declare const button: import("./def.js").ElementFactory<Partial<InputAttribs>, any>;
|
|
61
|
+
export declare const checkbox: import("./def.js").ElementFactory<Partial<InputCheckboxAttribs>, never>;
|
|
62
|
+
export declare const radio: import("./def.js").ElementFactory<Partial<InputRadioAttribs>, never>;
|
|
63
|
+
export declare const inputColor: import("./def.js").ElementFactory<Partial<InputAttribs>, never>;
|
|
64
|
+
export declare const inputFile: import("./def.js").ElementFactory<Partial<InputFileAttribs>, never>;
|
|
65
|
+
export declare const inputPass: import("./def.js").ElementFactory<Partial<InputTextAttribs>, never>;
|
|
66
|
+
export declare const inputNumber: import("./def.js").ElementFactory<Partial<InputNumericAttribs>, never>;
|
|
67
|
+
export declare const inputRange: import("./def.js").ElementFactory<Partial<InputNumericAttribs>, never>;
|
|
68
|
+
export declare const inputSearch: import("./def.js").ElementFactory<Partial<InputTextAttribs>, never>;
|
|
69
|
+
export declare const inputText: import("./def.js").ElementFactory<Partial<InputTextAttribs>, never>;
|
|
70
|
+
export declare const textArea: import("./def.js").ElementFactory<Partial<TextAreaAttribs>, never>;
|
|
71
71
|
export interface OptionAttribs {
|
|
72
72
|
disabled: BooleanAttrib;
|
|
73
73
|
label: StringAttrib;
|
|
74
74
|
selected: BooleanAttrib;
|
|
75
75
|
value: AttribVal<NumOrString>;
|
|
76
76
|
}
|
|
77
|
-
export declare const option: import("./def").ElementFactory<Partial<OptionAttribs>, string>;
|
|
77
|
+
export declare const option: import("./def.js").ElementFactory<Partial<OptionAttribs>, string>;
|
|
78
78
|
export interface OptGroupAttribs {
|
|
79
79
|
disabled: BooleanAttrib;
|
|
80
80
|
label: StringAttrib;
|
|
81
81
|
}
|
|
82
|
-
export declare const optGroup: import("./def").ElementFactory<Partial<OptGroupAttribs>, any>;
|
|
82
|
+
export declare const optGroup: import("./def.js").ElementFactory<Partial<OptGroupAttribs>, any>;
|
|
83
83
|
export interface SelectAttribs extends InputAttribs {
|
|
84
84
|
multiple: BooleanAttrib;
|
|
85
85
|
size: NumericAttrib;
|
|
86
86
|
}
|
|
87
|
-
export declare const select: import("./def").ElementFactory<Partial<SelectAttribs>, any>;
|
|
87
|
+
export declare const select: import("./def.js").ElementFactory<Partial<SelectAttribs>, any>;
|
|
88
88
|
export interface LabelAttribs extends Partial<Attribs> {
|
|
89
89
|
for: StringAttrib;
|
|
90
90
|
form?: StringAttrib;
|
|
91
91
|
}
|
|
92
|
-
export declare const label: import("./def").ElementFactory<LabelAttribs, any>;
|
|
92
|
+
export declare const label: import("./def.js").ElementFactory<LabelAttribs, any>;
|
|
93
93
|
export interface MeterAttribs extends Attribs {
|
|
94
94
|
min: NumericAttrib;
|
|
95
95
|
max: NumericAttrib;
|
|
@@ -99,10 +99,10 @@ export interface MeterAttribs extends Attribs {
|
|
|
99
99
|
value: NumericAttrib;
|
|
100
100
|
form: StringAttrib;
|
|
101
101
|
}
|
|
102
|
-
export declare const meter: import("./def").ElementFactory<Partial<MeterAttribs>, any>;
|
|
102
|
+
export declare const meter: import("./def.js").ElementFactory<Partial<MeterAttribs>, any>;
|
|
103
103
|
export interface ProgressAttribs extends Attribs {
|
|
104
104
|
max: NumericAttrib;
|
|
105
105
|
value: NumericAttrib;
|
|
106
106
|
}
|
|
107
|
-
export declare const progress: import("./def").ElementFactory<Partial<ProgressAttribs>, any>;
|
|
107
|
+
export declare const progress: import("./def.js").ElementFactory<Partial<ProgressAttribs>, any>;
|
|
108
108
|
//# sourceMappingURL=forms.d.ts.map
|
package/forms.js
CHANGED
package/head.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import type { Attribs, AttribVal, BooleanAttrib, CDataContent, CORSAttribs, ImportanceAttribs, MultiStringAttrib, ReferrerAttribs, RelAttribs, StringAttrib } from "./api";
|
|
2
|
-
export declare const head: import("./def").ElementFactory<Partial<Attribs>, any>, title: import("./def").ElementFactory<Partial<Attribs>, any>;
|
|
1
|
+
import type { Attribs, AttribVal, BooleanAttrib, CDataContent, CORSAttribs, ImportanceAttribs, MultiStringAttrib, ReferrerAttribs, RelAttribs, StringAttrib } from "./api.js";
|
|
2
|
+
export declare const head: import("./def.js").ElementFactory<Partial<Attribs>, any>, title: import("./def.js").ElementFactory<Partial<Attribs>, any>;
|
|
3
3
|
export interface BaseAttribs extends Attribs {
|
|
4
4
|
href: StringAttrib;
|
|
5
5
|
target: StringAttrib;
|
|
6
6
|
}
|
|
7
|
-
export declare const base: import("./def").ElementFactory<Partial<BaseAttribs>, never>;
|
|
7
|
+
export declare const base: import("./def.js").ElementFactory<Partial<BaseAttribs>, never>;
|
|
8
8
|
export interface MetaAttribs extends Attribs {
|
|
9
9
|
charset: StringAttrib;
|
|
10
10
|
content: StringAttrib;
|
|
11
11
|
"http-equiv": AttribVal<"content-language" | "content-security-policy" | "content-type" | "default-style" | "refresh" | "set-cookie" | "x-ua-compatible">;
|
|
12
12
|
name: AttribVal<"application-name" | "author" | "color-scheme" | "creator" | "description" | "generator" | "googlebot" | "keywords" | "publisher" | "referrer" | "robots" | "theme-color" | "viewport">;
|
|
13
13
|
}
|
|
14
|
-
export declare const meta: import("./def").ElementFactory<Partial<MetaAttribs>, never>;
|
|
14
|
+
export declare const meta: import("./def.js").ElementFactory<Partial<MetaAttribs>, never>;
|
|
15
15
|
export interface ViewportOpts {
|
|
16
16
|
width: number;
|
|
17
17
|
height: number;
|
|
@@ -37,14 +37,14 @@ export interface LinkAttribs extends RelAttribs, CORSAttribs, ImportanceAttribs,
|
|
|
37
37
|
sizes: MultiStringAttrib;
|
|
38
38
|
type: StringAttrib;
|
|
39
39
|
}
|
|
40
|
-
export declare const link: import("./def").ElementFactory<Partial<LinkAttribs>, never>;
|
|
40
|
+
export declare const link: import("./def.js").ElementFactory<Partial<LinkAttribs>, never>;
|
|
41
41
|
export declare const linkCSS: (href: string) => [string, import("@thi.ng/api").Nullable<Partial<LinkAttribs>>, ...never[]];
|
|
42
42
|
export interface StyleAttribs extends Attribs {
|
|
43
43
|
media: StringAttrib;
|
|
44
44
|
nonce: StringAttrib;
|
|
45
45
|
type: StringAttrib;
|
|
46
46
|
}
|
|
47
|
-
export declare const style: import("./def").ElementFactory<Partial<StyleAttribs>, string | CDataContent>;
|
|
47
|
+
export declare const style: import("./def.js").ElementFactory<Partial<StyleAttribs>, string | CDataContent>;
|
|
48
48
|
export interface ScriptAttribs extends Attribs, CORSAttribs, ReferrerAttribs {
|
|
49
49
|
async: BooleanAttrib;
|
|
50
50
|
defer: BooleanAttrib;
|
|
@@ -54,5 +54,5 @@ export interface ScriptAttribs extends Attribs, CORSAttribs, ReferrerAttribs {
|
|
|
54
54
|
src: StringAttrib;
|
|
55
55
|
type: StringAttrib;
|
|
56
56
|
}
|
|
57
|
-
export declare const script: import("./def").ElementFactory<Partial<ScriptAttribs>, string | CDataContent>;
|
|
57
|
+
export declare const script: import("./def.js").ElementFactory<Partial<ScriptAttribs>, string | CDataContent>;
|
|
58
58
|
//# sourceMappingURL=head.d.ts.map
|
package/head.js
CHANGED
package/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export * from "./api";
|
|
2
|
-
export * from "./def";
|
|
3
|
-
export * from "./blocks";
|
|
4
|
-
export * from "./forms";
|
|
5
|
-
export * from "./head";
|
|
6
|
-
export * from "./inline";
|
|
7
|
-
export * from "./lists";
|
|
8
|
-
export * from "./media";
|
|
9
|
-
export * from "./sections";
|
|
10
|
-
export * from "./table";
|
|
1
|
+
export * from "./api.js";
|
|
2
|
+
export * from "./def.js";
|
|
3
|
+
export * from "./blocks.js";
|
|
4
|
+
export * from "./forms.js";
|
|
5
|
+
export * from "./head.js";
|
|
6
|
+
export * from "./inline.js";
|
|
7
|
+
export * from "./lists.js";
|
|
8
|
+
export * from "./media.js";
|
|
9
|
+
export * from "./sections.js";
|
|
10
|
+
export * from "./table.js";
|
|
11
11
|
//# sourceMappingURL=index.d.ts.map
|
package/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export * from "./api";
|
|
2
|
-
export * from "./def";
|
|
3
|
-
export * from "./blocks";
|
|
4
|
-
export * from "./forms";
|
|
5
|
-
export * from "./head";
|
|
6
|
-
export * from "./inline";
|
|
7
|
-
export * from "./lists";
|
|
8
|
-
export * from "./media";
|
|
9
|
-
export * from "./sections";
|
|
10
|
-
export * from "./table";
|
|
1
|
+
export * from "./api.js";
|
|
2
|
+
export * from "./def.js";
|
|
3
|
+
export * from "./blocks.js";
|
|
4
|
+
export * from "./forms.js";
|
|
5
|
+
export * from "./head.js";
|
|
6
|
+
export * from "./inline.js";
|
|
7
|
+
export * from "./lists.js";
|
|
8
|
+
export * from "./media.js";
|
|
9
|
+
export * from "./sections.js";
|
|
10
|
+
export * from "./table.js";
|
package/inline.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { NumOrString } from "@thi.ng/api";
|
|
2
|
-
import type { Attribs, AttribVal, MultiStringAttrib, ReferrerAttribs, RelAttribs, StringAttrib } from "./api";
|
|
2
|
+
import type { Attribs, AttribVal, MultiStringAttrib, ReferrerAttribs, RelAttribs, StringAttrib } from "./api.js";
|
|
3
3
|
interface AnchorAttribs extends RelAttribs, ReferrerAttribs {
|
|
4
4
|
download: StringAttrib;
|
|
5
5
|
href: StringAttrib;
|
|
@@ -8,25 +8,25 @@ interface AnchorAttribs extends RelAttribs, ReferrerAttribs {
|
|
|
8
8
|
target: StringAttrib;
|
|
9
9
|
type: StringAttrib;
|
|
10
10
|
}
|
|
11
|
-
export declare const anchor: import("./def").ElementFactory<Partial<AnchorAttribs>, any>;
|
|
12
|
-
export declare const abbr: import("./def").ElementFactory<{
|
|
11
|
+
export declare const anchor: import("./def.js").ElementFactory<Partial<AnchorAttribs>, any>;
|
|
12
|
+
export declare const abbr: import("./def.js").ElementFactory<{
|
|
13
13
|
title: StringAttrib;
|
|
14
14
|
} & Partial<Attribs>, any>;
|
|
15
|
-
export declare const br: import("./def").ElementFactory<never, never>;
|
|
16
|
-
export declare const data: import("./def").ElementFactory<{
|
|
15
|
+
export declare const br: import("./def.js").ElementFactory<never, never>;
|
|
16
|
+
export declare const data: import("./def.js").ElementFactory<{
|
|
17
17
|
value: AttribVal<NumOrString>;
|
|
18
18
|
} & Partial<Attribs>, any>;
|
|
19
|
-
export declare const quote: import("./def").ElementFactory<{
|
|
19
|
+
export declare const quote: import("./def.js").ElementFactory<{
|
|
20
20
|
cite: StringAttrib;
|
|
21
21
|
} & Partial<Attribs>, any>;
|
|
22
|
-
export declare const time: import("./def").ElementFactory<{
|
|
22
|
+
export declare const time: import("./def.js").ElementFactory<{
|
|
23
23
|
datetime: StringAttrib;
|
|
24
24
|
} & Partial<Attribs>, any>;
|
|
25
|
-
export declare const cite: import("./def").ElementFactory<Partial<Attribs>, any>, code: import("./def").ElementFactory<Partial<Attribs>, any>, em: import("./def").ElementFactory<Partial<Attribs>, any>, i: import("./def").ElementFactory<Partial<Attribs>, any>, kbd: import("./def").ElementFactory<Partial<Attribs>, any>, mark: import("./def").ElementFactory<Partial<Attribs>, any>, small: import("./def").ElementFactory<Partial<Attribs>, any>, span: import("./def").ElementFactory<Partial<Attribs>, any>, strong: import("./def").ElementFactory<Partial<Attribs>, any>, sub: import("./def").ElementFactory<Partial<Attribs>, any>, sup: import("./def").ElementFactory<Partial<Attribs>, any>;
|
|
25
|
+
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>;
|
|
26
26
|
export interface EditAttribs extends Attribs {
|
|
27
27
|
cite: StringAttrib;
|
|
28
28
|
datetime: StringAttrib;
|
|
29
29
|
}
|
|
30
|
-
export declare const del: import("./def").ElementFactory<Partial<EditAttribs>, any>, ins: import("./def").ElementFactory<Partial<EditAttribs>, any>;
|
|
30
|
+
export declare const del: import("./def.js").ElementFactory<Partial<EditAttribs>, any>, ins: import("./def.js").ElementFactory<Partial<EditAttribs>, any>;
|
|
31
31
|
export {};
|
|
32
32
|
//# sourceMappingURL=inline.d.ts.map
|
package/inline.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defElement, defElements } from "./def";
|
|
1
|
+
import { defElement, defElements } from "./def.js";
|
|
2
2
|
export const anchor = defElement("a");
|
|
3
3
|
export const abbr = defElement("abbr");
|
|
4
4
|
export const br = defElement("br");
|
|
5
5
|
export const data = defElement("data");
|
|
6
6
|
export const quote = defElement("q");
|
|
7
7
|
export const time = defElement("time");
|
|
8
|
-
export const [cite, code, em, i, kbd, mark, small, span, strong, sub, sup
|
|
8
|
+
export const [cite, code, em, i, kbd, mark, small, span, strong, sub, sup] = defElements([
|
|
9
9
|
"cite",
|
|
10
10
|
"code",
|
|
11
11
|
"em",
|
package/lists.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Attribs, AttribVal, BooleanAttrib, NumericAttrib } from "./api";
|
|
1
|
+
import type { Attribs, AttribVal, BooleanAttrib, NumericAttrib } from "./api.js";
|
|
2
2
|
export interface OrderedListAttribs extends Attribs {
|
|
3
3
|
reversed: BooleanAttrib;
|
|
4
4
|
start: NumericAttrib;
|
|
@@ -7,7 +7,7 @@ export interface OrderedListAttribs extends Attribs {
|
|
|
7
7
|
export interface ListItemAttribs extends Attribs {
|
|
8
8
|
value: NumericAttrib;
|
|
9
9
|
}
|
|
10
|
-
export declare const ol: import("./def").ElementFactory<Partial<OrderedListAttribs>, any>;
|
|
11
|
-
export declare const li: import("./def").ElementFactory<Partial<ListItemAttribs>, any>;
|
|
12
|
-
export declare const ul: import("./def").ElementFactory<Partial<Attribs>, any>, dl: import("./def").ElementFactory<Partial<Attribs>, any>, dt: import("./def").ElementFactory<Partial<Attribs>, any>, dd: import("./def").ElementFactory<Partial<Attribs>, any>, datalist: import("./def").ElementFactory<Partial<Attribs>, any>;
|
|
10
|
+
export declare const ol: import("./def.js").ElementFactory<Partial<OrderedListAttribs>, any>;
|
|
11
|
+
export declare const li: import("./def.js").ElementFactory<Partial<ListItemAttribs>, any>;
|
|
12
|
+
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>;
|
|
13
13
|
//# sourceMappingURL=lists.d.ts.map
|
package/lists.js
CHANGED
package/media.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { Attribs, AttribVal, BooleanAttrib, CORSAttribs, DimensionAttribs, ImportanceAttribs, LoadingAttribs, MultiStringAttrib, ReferrerAttribs, StringAttrib } from "./api";
|
|
1
|
+
import type { Attribs, AttribVal, BooleanAttrib, CORSAttribs, DimensionAttribs, ImportanceAttribs, LoadingAttribs, MultiStringAttrib, ReferrerAttribs, StringAttrib } from "./api.js";
|
|
2
2
|
export interface CanvasAttribs extends Attribs, DimensionAttribs {
|
|
3
3
|
}
|
|
4
|
-
export declare const canvas: import("./def").ElementFactory<Partial<CanvasAttribs>, any>;
|
|
4
|
+
export declare const canvas: import("./def.js").ElementFactory<Partial<CanvasAttribs>, any>;
|
|
5
5
|
export interface ImageAttribs extends Attribs, CORSAttribs, DimensionAttribs, ImportanceAttribs, LoadingAttribs, ReferrerAttribs {
|
|
6
6
|
alt: StringAttrib;
|
|
7
7
|
decoding: AttribVal<"sync" | "async" | "auto">;
|
|
@@ -11,8 +11,8 @@ export interface ImageAttribs extends Attribs, CORSAttribs, DimensionAttribs, Im
|
|
|
11
11
|
srcset: MultiStringAttrib;
|
|
12
12
|
usemap: BooleanAttrib;
|
|
13
13
|
}
|
|
14
|
-
export declare const img: import("./def").ElementFactory<Partial<ImageAttribs>, never>;
|
|
15
|
-
export declare const picture: import("./def").ElementFactory<Partial<Attribs>, any>;
|
|
14
|
+
export declare const img: import("./def.js").ElementFactory<Partial<ImageAttribs>, never>;
|
|
15
|
+
export declare const picture: import("./def.js").ElementFactory<Partial<Attribs>, any>;
|
|
16
16
|
export interface SourceAttribs extends Attribs {
|
|
17
17
|
media: StringAttrib;
|
|
18
18
|
src: StringAttrib;
|
|
@@ -20,7 +20,7 @@ export interface SourceAttribs extends Attribs {
|
|
|
20
20
|
srcset: MultiStringAttrib;
|
|
21
21
|
type: StringAttrib;
|
|
22
22
|
}
|
|
23
|
-
export declare const source: import("./def").ElementFactory<Partial<SourceAttribs>, never>;
|
|
23
|
+
export declare const source: import("./def.js").ElementFactory<Partial<SourceAttribs>, never>;
|
|
24
24
|
export interface AudioAttribs extends Attribs, CORSAttribs {
|
|
25
25
|
autoplay: BooleanAttrib;
|
|
26
26
|
controls: BooleanAttrib;
|
|
@@ -30,7 +30,7 @@ export interface AudioAttribs extends Attribs, CORSAttribs {
|
|
|
30
30
|
preload: AttribVal<"none" | "preload" | "auto">;
|
|
31
31
|
src: StringAttrib;
|
|
32
32
|
}
|
|
33
|
-
export declare const audio: import("./def").ElementFactory<Partial<AudioAttribs>, any>;
|
|
33
|
+
export declare const audio: import("./def.js").ElementFactory<Partial<AudioAttribs>, any>;
|
|
34
34
|
export interface VideoAttribs extends AudioAttribs, DimensionAttribs {
|
|
35
35
|
autoPictureInPicture: BooleanAttrib;
|
|
36
36
|
controlslist: AttribVal<"nodownload" | "nofullscreen" | "noremoteplayback">;
|
|
@@ -38,7 +38,7 @@ export interface VideoAttribs extends AudioAttribs, DimensionAttribs {
|
|
|
38
38
|
playsinline: BooleanAttrib;
|
|
39
39
|
poster: StringAttrib;
|
|
40
40
|
}
|
|
41
|
-
export declare const video: import("./def").ElementFactory<Partial<VideoAttribs>, any>;
|
|
41
|
+
export declare const video: import("./def.js").ElementFactory<Partial<VideoAttribs>, any>;
|
|
42
42
|
export interface TrackAttribs extends Attribs {
|
|
43
43
|
default: BooleanAttrib;
|
|
44
44
|
kind: AttribVal<"captions" | "chapters" | "descriptions" | "metadata" | "subtitles">;
|
|
@@ -46,5 +46,5 @@ export interface TrackAttribs extends Attribs {
|
|
|
46
46
|
src: StringAttrib;
|
|
47
47
|
srclang: StringAttrib;
|
|
48
48
|
}
|
|
49
|
-
export declare const track: import("./def").ElementFactory<Partial<TrackAttribs>, any>;
|
|
49
|
+
export declare const track: import("./def.js").ElementFactory<Partial<TrackAttribs>, any>;
|
|
50
50
|
//# sourceMappingURL=media.d.ts.map
|
package/media.js
CHANGED
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/hiccup-html",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"description": "100+ type-checked HTML5 element functions for @thi.ng/hiccup related infrastructure",
|
|
5
|
+
"type": "module",
|
|
5
6
|
"module": "./index.js",
|
|
6
|
-
"main": "./lib/index.js",
|
|
7
|
-
"umd:main": "./lib/index.umd.js",
|
|
8
7
|
"typings": "./index.d.ts",
|
|
8
|
+
"sideEffects": false,
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
11
|
"url": "https://github.com/thi-ng/umbrella.git"
|
|
@@ -24,26 +24,21 @@
|
|
|
24
24
|
"author": "Karsten Schmidt <k+npm@thi.ng>",
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"scripts": {
|
|
27
|
-
"build": "yarn clean &&
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"build:test": "rimraf build && tsc -p test/tsconfig.json",
|
|
31
|
-
"test": "mocha test",
|
|
32
|
-
"cover": "nyc mocha test && nyc report --reporter=lcov",
|
|
33
|
-
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
|
|
34
|
-
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
|
|
27
|
+
"build": "yarn clean && tsc --declaration",
|
|
28
|
+
"clean": "rimraf *.js *.d.ts *.map doc",
|
|
29
|
+
"doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
|
|
35
30
|
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
|
|
36
|
-
"doc": "
|
|
37
|
-
"
|
|
31
|
+
"doc:readme": "yarn doc:stats && ../../scripts/node-esm ../../tools/src/readme.ts",
|
|
32
|
+
"doc:stats": "../../scripts/node-esm ../../tools/src/module-stats.ts",
|
|
33
|
+
"pub": "yarn build && yarn publish --access public",
|
|
34
|
+
"test": "testament test"
|
|
38
35
|
},
|
|
39
36
|
"dependencies": {
|
|
40
|
-
"@thi.ng/api": "^
|
|
37
|
+
"@thi.ng/api": "^8.0.3"
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@thi.ng/testament": "^0.1.3"
|
|
41
41
|
},
|
|
42
|
-
"files": [
|
|
43
|
-
"*.js",
|
|
44
|
-
"*.d.ts",
|
|
45
|
-
"lib"
|
|
46
|
-
],
|
|
47
42
|
"keywords": [
|
|
48
43
|
"browser",
|
|
49
44
|
"component",
|
|
@@ -59,7 +54,48 @@
|
|
|
59
54
|
"publishConfig": {
|
|
60
55
|
"access": "public"
|
|
61
56
|
},
|
|
62
|
-
"
|
|
57
|
+
"engines": {
|
|
58
|
+
"node": ">=12.7"
|
|
59
|
+
},
|
|
60
|
+
"files": [
|
|
61
|
+
"*.js",
|
|
62
|
+
"*.d.ts"
|
|
63
|
+
],
|
|
64
|
+
"exports": {
|
|
65
|
+
".": {
|
|
66
|
+
"import": "./index.js"
|
|
67
|
+
},
|
|
68
|
+
"./api": {
|
|
69
|
+
"import": "./api.js"
|
|
70
|
+
},
|
|
71
|
+
"./blocks": {
|
|
72
|
+
"import": "./blocks.js"
|
|
73
|
+
},
|
|
74
|
+
"./def": {
|
|
75
|
+
"import": "./def.js"
|
|
76
|
+
},
|
|
77
|
+
"./forms": {
|
|
78
|
+
"import": "./forms.js"
|
|
79
|
+
},
|
|
80
|
+
"./head": {
|
|
81
|
+
"import": "./head.js"
|
|
82
|
+
},
|
|
83
|
+
"./inline": {
|
|
84
|
+
"import": "./inline.js"
|
|
85
|
+
},
|
|
86
|
+
"./lists": {
|
|
87
|
+
"import": "./lists.js"
|
|
88
|
+
},
|
|
89
|
+
"./media": {
|
|
90
|
+
"import": "./media.js"
|
|
91
|
+
},
|
|
92
|
+
"./sections": {
|
|
93
|
+
"import": "./sections.js"
|
|
94
|
+
},
|
|
95
|
+
"./table": {
|
|
96
|
+
"import": "./table.js"
|
|
97
|
+
}
|
|
98
|
+
},
|
|
63
99
|
"thi.ng": {
|
|
64
100
|
"parent": "@thi.ng/hiccup",
|
|
65
101
|
"related": [
|
|
@@ -69,5 +105,5 @@
|
|
|
69
105
|
],
|
|
70
106
|
"year": 2020
|
|
71
107
|
},
|
|
72
|
-
"gitHead": "
|
|
108
|
+
"gitHead": "1fb38cac74d6c009d96855c28784a267a81badf1"
|
|
73
109
|
}
|
package/sections.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type { Attribs, EventAttribs, StringAttrib } from "./api";
|
|
1
|
+
import type { Attribs, EventAttribs, StringAttrib } from "./api.js";
|
|
2
2
|
export interface HtmlAttribs extends Attribs {
|
|
3
3
|
xmlns: StringAttrib;
|
|
4
4
|
}
|
|
5
|
-
export declare const html: import("./def").ElementFactory<Partial<HtmlAttribs>, any>;
|
|
5
|
+
export declare const html: import("./def.js").ElementFactory<Partial<HtmlAttribs>, any>;
|
|
6
6
|
export declare type BodyEventAttribs = EventAttribs<"onafterprint" | "onbeforeprint" | "onbeforeunload" | "onerror" | "onhashchange" | "onlanguagechange" | "onload" | "onmessage" | "onoffline" | "ononline" | "onpopstate" | "onredo" | "onstorage" | "onundo" | "onunload", Event>;
|
|
7
7
|
export interface BodyAttribs extends Attribs, BodyEventAttribs {
|
|
8
8
|
}
|
|
9
|
-
export declare const body: import("./def").ElementFactory<Partial<BodyAttribs>, any>;
|
|
10
|
-
export declare const address: import("./def").ElementFactory<Partial<Attribs>, any>, article: import("./def").ElementFactory<Partial<Attribs>, any>, aside: import("./def").ElementFactory<Partial<Attribs>, any>, footer: import("./def").ElementFactory<Partial<Attribs>, any>, header: import("./def").ElementFactory<Partial<Attribs>, any>, hgroup: import("./def").ElementFactory<Partial<Attribs>, any>, main: import("./def").ElementFactory<Partial<Attribs>, any>, nav: import("./def").ElementFactory<Partial<Attribs>, any>, noscript: import("./def").ElementFactory<Partial<Attribs>, any>, section: import("./def").ElementFactory<Partial<Attribs>, any>;
|
|
11
|
-
export declare const h1: import("./def").ElementFactory<Partial<Attribs>, any>, h2: import("./def").ElementFactory<Partial<Attribs>, any>, h3: import("./def").ElementFactory<Partial<Attribs>, any>, h4: import("./def").ElementFactory<Partial<Attribs>, any>, h5: import("./def").ElementFactory<Partial<Attribs>, any>, h6: import("./def").ElementFactory<Partial<Attribs>, any>;
|
|
9
|
+
export declare const body: import("./def.js").ElementFactory<Partial<BodyAttribs>, any>;
|
|
10
|
+
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>;
|
|
11
|
+
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>;
|
|
12
12
|
//# sourceMappingURL=sections.d.ts.map
|
package/sections.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defElement, defElements } from "./def";
|
|
1
|
+
import { defElement, defElements } from "./def.js";
|
|
2
2
|
export const html = defElement("html");
|
|
3
3
|
export const body = defElement("body");
|
|
4
4
|
export const [address, article, aside, footer, header, hgroup, main, nav, noscript, section,] = defElements([
|
package/table.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import type { Attribs, AttribVal, MultiStringAttrib, NumericAttrib } from "./api";
|
|
2
|
-
export declare const table: import("./def").ElementFactory<Partial<Attribs>, any>, tbody: import("./def").ElementFactory<Partial<Attribs>, any>, tfoot: import("./def").ElementFactory<Partial<Attribs>, any>, thead: import("./def").ElementFactory<Partial<Attribs>, any>, tr: import("./def").ElementFactory<Partial<Attribs>, any>, caption: import("./def").ElementFactory<Partial<Attribs>, any>;
|
|
1
|
+
import type { Attribs, AttribVal, MultiStringAttrib, NumericAttrib } from "./api.js";
|
|
2
|
+
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>;
|
|
3
3
|
export interface TableCellAttribs extends Attribs {
|
|
4
4
|
colspan: NumericAttrib;
|
|
5
5
|
headers: MultiStringAttrib;
|
|
6
6
|
rowspan: NumericAttrib;
|
|
7
7
|
}
|
|
8
|
-
export declare const td: import("./def").ElementFactory<Partial<TableCellAttribs>, any>;
|
|
8
|
+
export declare const td: import("./def.js").ElementFactory<Partial<TableCellAttribs>, any>;
|
|
9
9
|
export interface TableCellHeaderAttribs extends TableCellAttribs {
|
|
10
10
|
scope: AttribVal<"auto" | "col" | "colgroup" | "row" | "rowgroup">;
|
|
11
11
|
}
|
|
12
|
-
export declare const th: import("./def").ElementFactory<Partial<TableCellHeaderAttribs>, any>;
|
|
12
|
+
export declare const th: import("./def.js").ElementFactory<Partial<TableCellHeaderAttribs>, any>;
|
|
13
13
|
export interface ColAttribs extends Attribs {
|
|
14
14
|
span: NumericAttrib;
|
|
15
15
|
}
|
|
16
|
-
export declare const col: import("./def").ElementFactory<Partial<ColAttribs>, any>, colgroup: import("./def").ElementFactory<Partial<ColAttribs>, any>;
|
|
16
|
+
export declare const col: import("./def.js").ElementFactory<Partial<ColAttribs>, any>, colgroup: import("./def.js").ElementFactory<Partial<ColAttribs>, any>;
|
|
17
17
|
//# sourceMappingURL=table.d.ts.map
|
package/table.js
CHANGED
package/lib/index.js
DELETED
|
@@ -1,273 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const defElement = (tag, baseAttribs) => (...args) => {
|
|
6
|
-
const $tag = typeof args[0] === "string" ? tag + args.shift() : tag;
|
|
7
|
-
const n = args.length;
|
|
8
|
-
const attribs = n > 0
|
|
9
|
-
? baseAttribs
|
|
10
|
-
? Object.assign(Object.assign({}, baseAttribs), args[0]) : args[0]
|
|
11
|
-
: baseAttribs || null;
|
|
12
|
-
return n > 1 ? [$tag, attribs, ...args.slice(1)] : [$tag, attribs];
|
|
13
|
-
};
|
|
14
|
-
const defElements = (tags) => tags.map((t) => defElement(t));
|
|
15
|
-
|
|
16
|
-
const blockquote = defElement("blockquote");
|
|
17
|
-
const [div, figure, figcaption, para, pre, template] = defElements([
|
|
18
|
-
"div",
|
|
19
|
-
"figure",
|
|
20
|
-
"figcaption",
|
|
21
|
-
"p",
|
|
22
|
-
"pre",
|
|
23
|
-
"template",
|
|
24
|
-
]);
|
|
25
|
-
const hr = defElement("hr");
|
|
26
|
-
const iframe = defElement("iframe");
|
|
27
|
-
|
|
28
|
-
const form = defElement("form");
|
|
29
|
-
const fieldset = defElement("fieldset");
|
|
30
|
-
const legend = defElement("legend");
|
|
31
|
-
const button = defElement("button");
|
|
32
|
-
const checkbox = defElement("input", {
|
|
33
|
-
type: "checkbox",
|
|
34
|
-
});
|
|
35
|
-
const radio = defElement("input", {
|
|
36
|
-
type: "radio",
|
|
37
|
-
});
|
|
38
|
-
const inputColor = defElement("input", {
|
|
39
|
-
type: "color",
|
|
40
|
-
});
|
|
41
|
-
const inputFile = defElement("input", {
|
|
42
|
-
type: "file",
|
|
43
|
-
});
|
|
44
|
-
const inputPass = defElement("input", {
|
|
45
|
-
type: "password",
|
|
46
|
-
});
|
|
47
|
-
const inputNumber = defElement("input", { type: "number" });
|
|
48
|
-
const inputRange = defElement("input", { type: "range" });
|
|
49
|
-
const inputSearch = defElement("input", {
|
|
50
|
-
type: "search",
|
|
51
|
-
});
|
|
52
|
-
const inputText = defElement("input", {
|
|
53
|
-
type: "text",
|
|
54
|
-
});
|
|
55
|
-
const textArea = defElement("textarea");
|
|
56
|
-
const option = defElement("option");
|
|
57
|
-
const optGroup = defElement("optgroup");
|
|
58
|
-
const select = defElement("select");
|
|
59
|
-
const label = defElement("label");
|
|
60
|
-
const meter = defElement("meter");
|
|
61
|
-
const progress = defElement("progress");
|
|
62
|
-
|
|
63
|
-
const [head, title] = defElements(["head", "title"]);
|
|
64
|
-
const base = defElement("base");
|
|
65
|
-
const meta = defElement("meta");
|
|
66
|
-
const metaViewport = (opts = {}) => meta({
|
|
67
|
-
name: "viewport",
|
|
68
|
-
content: [
|
|
69
|
-
opts.width &&
|
|
70
|
-
`width=${opts.width < 0 ? "device-width" : opts.width}`,
|
|
71
|
-
opts.height &&
|
|
72
|
-
`width=${opts.height < 0 ? "device-height" : opts.height}`,
|
|
73
|
-
`initial-scale=${opts.init || 1}`,
|
|
74
|
-
opts.min && `minimum-scale=${opts.min}`,
|
|
75
|
-
opts.max && `maximum-scale=${opts.max}`,
|
|
76
|
-
`user-scalable=${opts.user !== false ? "yes" : "no"}`,
|
|
77
|
-
opts.fit != null && `viewport-fit=${opts.fit}`,
|
|
78
|
-
]
|
|
79
|
-
.filter((x) => !!x)
|
|
80
|
-
.join(","),
|
|
81
|
-
});
|
|
82
|
-
const metaRobots = (type) => meta({ name: "robots", content: type });
|
|
83
|
-
const metaReferrer = (type) => meta({ name: "referrer", content: type });
|
|
84
|
-
const metaRefresh = (delay, url) => meta({
|
|
85
|
-
"http-equiv": "refresh",
|
|
86
|
-
content: url ? `${delay}; url=${url}` : String(delay),
|
|
87
|
-
});
|
|
88
|
-
const metaUTF8 = () => meta({ charset: "utf-8" });
|
|
89
|
-
const metaXUA = () => meta({ "http-equiv": "x-ua-compatible", content: "IE=edge" });
|
|
90
|
-
const link = defElement("link");
|
|
91
|
-
const linkCSS = (href) => link({ href, rel: "stylesheet" });
|
|
92
|
-
const style = defElement("style", {
|
|
93
|
-
type: "text/css",
|
|
94
|
-
});
|
|
95
|
-
style({}, ["!CDATA", "foo", "bar"]);
|
|
96
|
-
const script = defElement("script");
|
|
97
|
-
|
|
98
|
-
const anchor = defElement("a");
|
|
99
|
-
const abbr = defElement("abbr");
|
|
100
|
-
const br = defElement("br");
|
|
101
|
-
const data = defElement("data");
|
|
102
|
-
const quote = defElement("q");
|
|
103
|
-
const time = defElement("time");
|
|
104
|
-
const [cite, code, em, i, kbd, mark, small, span, strong, sub, sup,] = defElements([
|
|
105
|
-
"cite",
|
|
106
|
-
"code",
|
|
107
|
-
"em",
|
|
108
|
-
"i",
|
|
109
|
-
"kbd",
|
|
110
|
-
"mark",
|
|
111
|
-
"small",
|
|
112
|
-
"span",
|
|
113
|
-
"strong",
|
|
114
|
-
"sub",
|
|
115
|
-
"sup",
|
|
116
|
-
]);
|
|
117
|
-
const [del, ins] = defElements(["del", "ins"]);
|
|
118
|
-
|
|
119
|
-
const ol = defElement("ol");
|
|
120
|
-
const li = defElement("li");
|
|
121
|
-
const [ul, dl, dt, dd, datalist] = defElements([
|
|
122
|
-
"ul",
|
|
123
|
-
"dl",
|
|
124
|
-
"dt",
|
|
125
|
-
"dd",
|
|
126
|
-
"datalist",
|
|
127
|
-
]);
|
|
128
|
-
|
|
129
|
-
const canvas = defElement("canvas");
|
|
130
|
-
const img = defElement("img");
|
|
131
|
-
const picture = defElement("picture");
|
|
132
|
-
const source = defElement("source");
|
|
133
|
-
const audio = defElement("audio");
|
|
134
|
-
const video = defElement("video");
|
|
135
|
-
const track = defElement("track");
|
|
136
|
-
|
|
137
|
-
const html = defElement("html");
|
|
138
|
-
const body = defElement("body");
|
|
139
|
-
const [address, article, aside, footer, header, hgroup, main, nav, noscript, section,] = defElements([
|
|
140
|
-
"address",
|
|
141
|
-
"article",
|
|
142
|
-
"aside",
|
|
143
|
-
"footer",
|
|
144
|
-
"header",
|
|
145
|
-
"hgroup",
|
|
146
|
-
"main",
|
|
147
|
-
"nav",
|
|
148
|
-
"noscript",
|
|
149
|
-
"section",
|
|
150
|
-
]);
|
|
151
|
-
const [h1, h2, h3, h4, h5, h6] = [1, 2, 3, 4, 5, 6].map((i) => defElement("h" + i));
|
|
152
|
-
|
|
153
|
-
const [table, tbody, tfoot, thead, tr, caption] = defElements([
|
|
154
|
-
"table",
|
|
155
|
-
"tbody",
|
|
156
|
-
"tfoot",
|
|
157
|
-
"thead",
|
|
158
|
-
"tr",
|
|
159
|
-
"caption",
|
|
160
|
-
]);
|
|
161
|
-
const td = defElement("td");
|
|
162
|
-
const th = defElement("th");
|
|
163
|
-
const [col, colgroup] = defElements([
|
|
164
|
-
"col",
|
|
165
|
-
"colgroup",
|
|
166
|
-
]);
|
|
167
|
-
|
|
168
|
-
exports.abbr = abbr;
|
|
169
|
-
exports.address = address;
|
|
170
|
-
exports.anchor = anchor;
|
|
171
|
-
exports.article = article;
|
|
172
|
-
exports.aside = aside;
|
|
173
|
-
exports.audio = audio;
|
|
174
|
-
exports.base = base;
|
|
175
|
-
exports.blockquote = blockquote;
|
|
176
|
-
exports.body = body;
|
|
177
|
-
exports.br = br;
|
|
178
|
-
exports.button = button;
|
|
179
|
-
exports.canvas = canvas;
|
|
180
|
-
exports.caption = caption;
|
|
181
|
-
exports.checkbox = checkbox;
|
|
182
|
-
exports.cite = cite;
|
|
183
|
-
exports.code = code;
|
|
184
|
-
exports.col = col;
|
|
185
|
-
exports.colgroup = colgroup;
|
|
186
|
-
exports.data = data;
|
|
187
|
-
exports.datalist = datalist;
|
|
188
|
-
exports.dd = dd;
|
|
189
|
-
exports.defElement = defElement;
|
|
190
|
-
exports.defElements = defElements;
|
|
191
|
-
exports.del = del;
|
|
192
|
-
exports.div = div;
|
|
193
|
-
exports.dl = dl;
|
|
194
|
-
exports.dt = dt;
|
|
195
|
-
exports.em = em;
|
|
196
|
-
exports.fieldset = fieldset;
|
|
197
|
-
exports.figcaption = figcaption;
|
|
198
|
-
exports.figure = figure;
|
|
199
|
-
exports.footer = footer;
|
|
200
|
-
exports.form = form;
|
|
201
|
-
exports.h1 = h1;
|
|
202
|
-
exports.h2 = h2;
|
|
203
|
-
exports.h3 = h3;
|
|
204
|
-
exports.h4 = h4;
|
|
205
|
-
exports.h5 = h5;
|
|
206
|
-
exports.h6 = h6;
|
|
207
|
-
exports.head = head;
|
|
208
|
-
exports.header = header;
|
|
209
|
-
exports.hgroup = hgroup;
|
|
210
|
-
exports.hr = hr;
|
|
211
|
-
exports.html = html;
|
|
212
|
-
exports.i = i;
|
|
213
|
-
exports.iframe = iframe;
|
|
214
|
-
exports.img = img;
|
|
215
|
-
exports.inputColor = inputColor;
|
|
216
|
-
exports.inputFile = inputFile;
|
|
217
|
-
exports.inputNumber = inputNumber;
|
|
218
|
-
exports.inputPass = inputPass;
|
|
219
|
-
exports.inputRange = inputRange;
|
|
220
|
-
exports.inputSearch = inputSearch;
|
|
221
|
-
exports.inputText = inputText;
|
|
222
|
-
exports.ins = ins;
|
|
223
|
-
exports.kbd = kbd;
|
|
224
|
-
exports.label = label;
|
|
225
|
-
exports.legend = legend;
|
|
226
|
-
exports.li = li;
|
|
227
|
-
exports.link = link;
|
|
228
|
-
exports.linkCSS = linkCSS;
|
|
229
|
-
exports.main = main;
|
|
230
|
-
exports.mark = mark;
|
|
231
|
-
exports.meta = meta;
|
|
232
|
-
exports.metaReferrer = metaReferrer;
|
|
233
|
-
exports.metaRefresh = metaRefresh;
|
|
234
|
-
exports.metaRobots = metaRobots;
|
|
235
|
-
exports.metaUTF8 = metaUTF8;
|
|
236
|
-
exports.metaViewport = metaViewport;
|
|
237
|
-
exports.metaXUA = metaXUA;
|
|
238
|
-
exports.meter = meter;
|
|
239
|
-
exports.nav = nav;
|
|
240
|
-
exports.noscript = noscript;
|
|
241
|
-
exports.ol = ol;
|
|
242
|
-
exports.optGroup = optGroup;
|
|
243
|
-
exports.option = option;
|
|
244
|
-
exports.para = para;
|
|
245
|
-
exports.picture = picture;
|
|
246
|
-
exports.pre = pre;
|
|
247
|
-
exports.progress = progress;
|
|
248
|
-
exports.quote = quote;
|
|
249
|
-
exports.radio = radio;
|
|
250
|
-
exports.script = script;
|
|
251
|
-
exports.section = section;
|
|
252
|
-
exports.select = select;
|
|
253
|
-
exports.small = small;
|
|
254
|
-
exports.source = source;
|
|
255
|
-
exports.span = span;
|
|
256
|
-
exports.strong = strong;
|
|
257
|
-
exports.style = style;
|
|
258
|
-
exports.sub = sub;
|
|
259
|
-
exports.sup = sup;
|
|
260
|
-
exports.table = table;
|
|
261
|
-
exports.tbody = tbody;
|
|
262
|
-
exports.td = td;
|
|
263
|
-
exports.template = template;
|
|
264
|
-
exports.textArea = textArea;
|
|
265
|
-
exports.tfoot = tfoot;
|
|
266
|
-
exports.th = th;
|
|
267
|
-
exports.thead = thead;
|
|
268
|
-
exports.time = time;
|
|
269
|
-
exports.title = title;
|
|
270
|
-
exports.tr = tr;
|
|
271
|
-
exports.track = track;
|
|
272
|
-
exports.ul = ul;
|
|
273
|
-
exports.video = video;
|
package/lib/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../def.js","../blocks.js","../forms.js","../head.js","../inline.js","../lists.js","../media.js","../sections.js","../table.js"],"sourcesContent":null,"names":[],"mappings":";;;;AASY,MAAC,UAAU,GAAG,CAAC,GAAG,EAAE,WAAW,KAAK,CAAC,GAAG,IAAI,KAAK;AAC7D,IAAI,MAAM,IAAI,GAAG,OAAO,IAAI,CAAC,CAAC,CAAC,KAAK,QAAQ,GAAG,GAAG,GAAG,IAAI,CAAC,KAAK,EAAE,GAAG,GAAG,CAAC;AACxE,IAAI,MAAM,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;AAC1B,IAAI,MAAM,OAAO,GAAG,CAAC,GAAG,CAAC;AACzB,UAAU,WAAW;AACrB,cAAc,MAAM,CAAC,MAAM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AAQ;AACZ,IAAI,MAAM;AACV,IAAI,KAAK;AACT,IAAI,UAAU;AACd,IAAI,SAAS;AACb,CAAC,EAAE;AACS,MAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,UAAU,CAAC,GAAG,GAAG,CAAC,CAAC;;ACd7E,MAAC,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE,OAAO,CAAC,GAAG,WAAW,CAAC;AACrE,IAAI,OAAO;AACX,IAAI,OAAO;AACX,IAAI,OAAO;AACX,IAAI,OAAO;AACX,IAAI,IAAI;AACR,IAAI,SAAS;AACb,CAAC,EAAE;AACS,MAAC,EAAE,GAAG,UAAU,CAAC,IAAI,EAAE;AACvB,MAAC,EAAE,GAAG,UAAU,CAAC,IAAI,EAAE;AACvB,MAAC,CAAC,GAAG,EAAE,QAAQ,CAAC,GAAG,WAAW,CAAC;AAC3C,IAAI,KAAK;AACT,IAAI,UAAU;AACd,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/lib/index.umd.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(((e="undefined"!=typeof globalThis?globalThis:e||self).thi=e.thi||{},e.thi.ng=e.thi.ng||{},e.thi.ng.hiccupHtml={}))}(this,(function(e){"use strict";const t=(e,t)=>(...i)=>{const o="string"==typeof i[0]?e+i.shift():e,a=i.length,n=a>0?t?Object.assign(Object.assign({},t),i[0]):i[0]:t||null;return a>1?[o,n,...i.slice(1)]:[o,n]},i=e=>e.map((e=>t(e))),o=t("blockquote"),[a,n,r,s,l,p]=i(["div","figure","figcaption","p","pre","template"]),d=t("hr"),c=t("iframe"),u=t("form"),h=t("fieldset"),m=t("legend"),f=t("button"),b=t("input",{type:"checkbox"}),g=t("input",{type:"radio"}),y=t("input",{type:"color"}),v=t("input",{type:"file"}),x=t("input",{type:"password"}),k=t("input",{type:"number"}),w=t("input",{type:"range"}),$=t("input",{type:"search"}),q=t("input",{type:"text"}),j=t("textarea"),T=t("option"),A=t("optgroup"),R=t("select"),S=t("label"),C=t("meter"),E=t("progress"),[O,F]=i(["head","title"]),P=t("base"),U=t("meta"),_=t("link"),D=t("style",{type:"text/css"});D({},["!CDATA","foo","bar"]);const G=t("script"),H=t("a"),I=t("abbr"),M=t("br"),N=t("data"),V=t("q"),X=t("time"),[z,B,J,K,L,Q,W,Y,Z,ee,te]=i(["cite","code","em","i","kbd","mark","small","span","strong","sub","sup"]),[ie,oe]=i(["del","ins"]),ae=t("ol"),ne=t("li"),[re,se,le,pe,de]=i(["ul","dl","dt","dd","datalist"]),ce=t("canvas"),ue=t("img"),he=t("picture"),me=t("source"),fe=t("audio"),be=t("video"),ge=t("track"),ye=t("html"),ve=t("body"),[xe,ke,we,$e,qe,je,Te,Ae,Re,Se]=i(["address","article","aside","footer","header","hgroup","main","nav","noscript","section"]),[Ce,Ee,Oe,Fe,Pe,Ue]=[1,2,3,4,5,6].map((e=>t("h"+e))),[_e,De,Ge,He,Ie,Me]=i(["table","tbody","tfoot","thead","tr","caption"]),Ne=t("td"),Ve=t("th"),[Xe,ze]=i(["col","colgroup"]);e.abbr=I,e.address=xe,e.anchor=H,e.article=ke,e.aside=we,e.audio=fe,e.base=P,e.blockquote=o,e.body=ve,e.br=M,e.button=f,e.canvas=ce,e.caption=Me,e.checkbox=b,e.cite=z,e.code=B,e.col=Xe,e.colgroup=ze,e.data=N,e.datalist=de,e.dd=pe,e.defElement=t,e.defElements=i,e.del=ie,e.div=a,e.dl=se,e.dt=le,e.em=J,e.fieldset=h,e.figcaption=r,e.figure=n,e.footer=$e,e.form=u,e.h1=Ce,e.h2=Ee,e.h3=Oe,e.h4=Fe,e.h5=Pe,e.h6=Ue,e.head=O,e.header=qe,e.hgroup=je,e.hr=d,e.html=ye,e.i=K,e.iframe=c,e.img=ue,e.inputColor=y,e.inputFile=v,e.inputNumber=k,e.inputPass=x,e.inputRange=w,e.inputSearch=$,e.inputText=q,e.ins=oe,e.kbd=L,e.label=S,e.legend=m,e.li=ne,e.link=_,e.linkCSS=e=>_({href:e,rel:"stylesheet"}),e.main=Te,e.mark=Q,e.meta=U,e.metaReferrer=e=>U({name:"referrer",content:e}),e.metaRefresh=(e,t)=>U({"http-equiv":"refresh",content:t?`${e}; url=${t}`:String(e)}),e.metaRobots=e=>U({name:"robots",content:e}),e.metaUTF8=()=>U({charset:"utf-8"}),e.metaViewport=(e={})=>U({name:"viewport",content:[e.width&&`width=${e.width<0?"device-width":e.width}`,e.height&&`width=${e.height<0?"device-height":e.height}`,`initial-scale=${e.init||1}`,e.min&&`minimum-scale=${e.min}`,e.max&&`maximum-scale=${e.max}`,"user-scalable="+(!1!==e.user?"yes":"no"),null!=e.fit&&`viewport-fit=${e.fit}`].filter((e=>!!e)).join(",")}),e.metaXUA=()=>U({"http-equiv":"x-ua-compatible",content:"IE=edge"}),e.meter=C,e.nav=Ae,e.noscript=Re,e.ol=ae,e.optGroup=A,e.option=T,e.para=s,e.picture=he,e.pre=l,e.progress=E,e.quote=V,e.radio=g,e.script=G,e.section=Se,e.select=R,e.small=W,e.source=me,e.span=Y,e.strong=Z,e.style=D,e.sub=ee,e.sup=te,e.table=_e,e.tbody=De,e.td=Ne,e.template=p,e.textArea=j,e.tfoot=Ge,e.th=Ve,e.thead=He,e.time=X,e.title=F,e.tr=Ie,e.track=ge,e.ul=re,e.video=be,Object.defineProperty(e,"__esModule",{value:!0})}));
|
package/lib/index.umd.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.umd.js","sources":["../def.js","../blocks.js","../forms.js","../head.js","../inline.js","../lists.js","../media.js","../sections.js","../table.js"],"sourcesContent":null,"names":[],"mappings":";;;;;;AASY,UAAC,UAAU,GAAG,CAAC,GAAG,EAAE,WAAW,KAAK,CAAC,GAAG,IAAI,KAAK;IAC7D,IAAI,MAAM,IAAI,GAAG,OAAO,IAAI,CAAC,CAAC,CAAC,KAAK,QAAQ,GAAG,GAAG,GAAG,IAAI,CAAC,KAAK,EAAE,GAAG,GAAG,CAAC;IACxE,IAAI,MAAM,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;IAC1B,IAAI,MAAM,OAAO,GAAG,CAAC,GAAG,CAAC;IACzB,UAAU,WAAW;IACrB,cAAc,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,WAAW,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC;IAC9E,UAAU,WAAW,IAAI,IAAI,CAAC;IAC9B,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IACvE,EAAE;AAIU,UAAC,WAAW,GAAG,CAAC,IAAI,KAAK,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,UAAU,CAAC,CAAC,CAAC;;ACpBtD,UAAC,UAAU,GAAG,UAAU,CAAC,YAAY,EAAE;AACvC,UAAC,CAAC,GAAG,EAAE,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,CAAC,GAAG,WAAW,CAAC;IAC1E,IAAI,KAAK;IACT,IAAI,QAAQ;IACZ,IAAI,YAAY;IAChB,IAAI,GAAG;IACP,IAAI,KAAK;IACT,IAAI,UAAU;IACd,CAAC,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