@thi.ng/hiccup-html 2.4.10 → 2.4.12

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2024-02-22T11:59:16Z
3
+ - **Last updated**: 2024-03-02T14:05:53Z
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
@@ -1,16 +1,5 @@
1
1
  <!-- This file is generated - DO NOT EDIT! -->
2
2
  <!-- Please see: https://github.com/thi-ng/umbrella/blob/develop/CONTRIBUTING.md#changes-to-readme-files -->
3
- > [!IMPORTANT]
4
- > ‼️ Announcing the thi.ng user survey 2024 📋
5
- >
6
- > [Please participate in the survey here!](https://forms.gle/XacbSDEmQMPZg8197)\
7
- > (open until end of February)
8
- >
9
- > **To achieve a better sample size, I'd highly appreciate if you could
10
- > circulate the link to this survey in your own networks.**
11
- >
12
- > [Discussion](https://github.com/thi-ng/umbrella/discussions/447)
13
-
14
3
  # ![@thi.ng/hiccup-html](https://media.thi.ng/umbrella/banners-20230807/thing-hiccup-html.svg?a29f1b12)
15
4
 
16
5
  [![npm version](https://img.shields.io/npm/v/@thi.ng/hiccup-html.svg)](https://www.npmjs.com/package/@thi.ng/hiccup-html)
@@ -22,7 +11,7 @@
22
11
  > of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
23
12
  > and anti-framework.
24
13
  >
25
- > 🚀 Help me to work full-time on these projects by [sponsoring me on
14
+ > 🚀 Please help me to work full-time on these projects by [sponsoring me on
26
15
  > GitHub](https://github.com/sponsors/postspectacular). Thank you! ❤️
27
16
 
28
17
  - [About](#about)
@@ -353,6 +342,8 @@ will be appended to the tag name and merely acts as syntax sugar for
353
342
  providing an element ID and/or CSS classes.
354
343
 
355
344
  ```ts
345
+ import { defElement } from "@thi.ng/hiccup-html";
346
+
356
347
  const el = defElement<any>("a");
357
348
  ```
358
349
 
@@ -369,6 +360,8 @@ const el = defElement<any>("a");
369
360
  | `el("#id.foo", null, "body")` | `["a#id.foo", null, "body"]` |
370
361
 
371
362
  ```ts
363
+ import { defElement } from "@thi.ng/hiccup-html";
364
+
372
365
  // with default attribs
373
366
  const el = defElement<any>("a", { b: 1 });
374
367
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/hiccup-html",
3
- "version": "2.4.10",
3
+ "version": "2.4.12",
4
4
  "description": "100+ type-checked HTML5 element functions for @thi.ng/hiccup related infrastructure",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -35,7 +35,7 @@
35
35
  "test": "bun test"
36
36
  },
37
37
  "dependencies": {
38
- "@thi.ng/api": "^8.9.26"
38
+ "@thi.ng/api": "^8.9.27"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@microsoft/api-extractor": "^7.40.1",
@@ -110,5 +110,5 @@
110
110
  ],
111
111
  "year": 2020
112
112
  },
113
- "gitHead": "6e20f80dd9df1c8055ffa3c1e4d6f7598add0c0b\n"
113
+ "gitHead": "df9e312af741d87e6b450afcfea6a6e381662b1e\n"
114
114
  }