@thi.ng/hiccup-css 2.4.0 → 2.4.2

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-01-23T15:58:27Z
3
+ - **Last updated**: 2024-01-29T20:39:37Z
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
@@ -7,9 +7,13 @@
7
7
  ![npm downloads](https://img.shields.io/npm/dm/@thi.ng/hiccup-css.svg)
8
8
  [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi)
9
9
 
10
- This is a standalone project, maintained as part of the
11
- [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo and
12
- anti-framework.
10
+ > [!NOTE]
11
+ > This is one of 189 standalone projects, maintained as part
12
+ > of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
13
+ > and anti-framework.
14
+ >
15
+ > 🚀 Help me to work full-time on these projects by [sponsoring me on
16
+ > GitHub](https://github.com/sponsors/postspectacular). Thank you! ❤️
13
17
 
14
18
  - [About](#about)
15
19
  - [Features](#features)
package/inject.d.ts CHANGED
@@ -10,14 +10,13 @@
10
10
  */
11
11
  export declare const injectStyleSheet: (css: string, first?: boolean) => HTMLStyleElement;
12
12
  /**
13
- * Injects given CSS string as <style> element and attaches it to `parent`. If
13
+ * Injects given CSS string as `<style>` element and attaches it to `parent`. If
14
14
  * `first` is true, inserts it as first child, else (default) appends it.
15
15
  * Returns created style DOM element.
16
16
  *
17
17
  * @param css
18
18
  * @param parent
19
19
  * @param first
20
- * @returns
21
20
  */
22
21
  export declare const appendStyleSheet: (css: string, parent: Element | ShadowRoot, first?: boolean) => HTMLStyleElement;
23
22
  //# sourceMappingURL=inject.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/hiccup-css",
3
- "version": "2.4.0",
3
+ "version": "2.4.2",
4
4
  "description": "CSS from nested JS data structures",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -35,10 +35,10 @@
35
35
  "test": "bun test"
36
36
  },
37
37
  "dependencies": {
38
- "@thi.ng/api": "^8.9.17",
39
- "@thi.ng/checks": "^3.4.17",
40
- "@thi.ng/errors": "^2.4.11",
41
- "@thi.ng/transducers": "^8.8.21"
38
+ "@thi.ng/api": "^8.9.19",
39
+ "@thi.ng/checks": "^3.4.19",
40
+ "@thi.ng/errors": "^2.4.12",
41
+ "@thi.ng/transducers": "^8.8.23"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@microsoft/api-extractor": "^7.39.0",
@@ -126,5 +126,5 @@
126
126
  ],
127
127
  "year": 2016
128
128
  },
129
- "gitHead": "417b5a7ea7bd54a3b4f086fe0fc2ce8e8933c9b2\n"
129
+ "gitHead": "20909ffc46f23f61ec7647e8d27ed17752ce9828\n"
130
130
  }