@thi.ng/hiccup-css 2.4.0 → 2.4.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.
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-26T18:03:04Z
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/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.1",
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",
38
+ "@thi.ng/api": "^8.9.18",
39
+ "@thi.ng/checks": "^3.4.18",
40
40
  "@thi.ng/errors": "^2.4.11",
41
- "@thi.ng/transducers": "^8.8.21"
41
+ "@thi.ng/transducers": "^8.8.22"
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": "7426e2ae6fca5482c6eaf649872296fc89955374\n"
130
130
  }