@thi.ng/hiccup-css 2.1.30 → 2.1.32

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**: 2022-11-30T22:27:37Z
3
+ - **Last updated**: 2022-12-16T12:52:25Z
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,10 +1,10 @@
1
1
  <!-- This file is generated - DO NOT EDIT! -->
2
2
 
3
- # ![hiccup-css](https://media.thi.ng/umbrella/banners-20220914/thing-hiccup-css.svg?a302745b)
3
+ # ![@thi.ng/hiccup-css](https://media.thi.ng/umbrella/banners-20220914/thing-hiccup-css.svg?a302745b)
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/@thi.ng/hiccup-css.svg)](https://www.npmjs.com/package/@thi.ng/hiccup-css)
6
6
  ![npm downloads](https://img.shields.io/npm/dm/@thi.ng/hiccup-css.svg)
7
- [![Twitter Follow](https://img.shields.io/twitter/follow/thing_umbrella.svg?style=flat-square&label=twitter)](https://twitter.com/thing_umbrella)
7
+ [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi)
8
8
 
9
9
  This project is part of the
10
10
  [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo.
@@ -40,7 +40,7 @@ This project is part of the
40
40
 
41
41
  ## About
42
42
 
43
- CSS from nested JS data structures. This is a support package for [@thi.ng/hiccup](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup).
43
+ CSS from nested JS data structures
44
44
 
45
45
  Following a similar pattern as the
46
46
  [@thi.ng/hiccup](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup)
@@ -94,7 +94,7 @@ Clojure projects:
94
94
  ## Related packages
95
95
 
96
96
  - [@thi.ng/hiccup-html](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-html) - 100+ type-checked HTML5 element functions for [@thi.ng/hiccup](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup) related infrastructure
97
- - [@thi.ng/hiccup-svg](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-svg) - SVG element functions for [@thi.ng/hiccup](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup) & [@thi.ng/hdom](https://github.com/thi-ng/umbrella/tree/develop/packages/hdom)
97
+ - [@thi.ng/hiccup-svg](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-svg) - SVG element functions for [@thi.ng/hiccup](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup) & related tooling
98
98
 
99
99
  ## Installation
100
100
 
@@ -112,11 +112,8 @@ ES module import:
112
112
 
113
113
  For Node.js REPL:
114
114
 
115
- ```text
116
- # with flag only for < v16
117
- node --experimental-repl-await
118
-
119
- > const hiccupCss = await import("@thi.ng/hiccup-css");
115
+ ```js
116
+ const hiccupCss = await import("@thi.ng/hiccup-css");
120
117
  ```
121
118
 
122
119
  Package sizes (brotli'd, pre-treeshake): ESM: 1.99 KB
@@ -663,7 +660,7 @@ const QUOTED_FNS = {
663
660
 
664
661
  ## Authors
665
662
 
666
- Karsten Schmidt
663
+ - [Karsten Schmidt](https://thi.ng)
667
664
 
668
665
  If this project contributes to an academic publication, please cite it as:
669
666
 
@@ -678,4 +675,4 @@ If this project contributes to an academic publication, please cite it as:
678
675
 
679
676
  ## License
680
677
 
681
- &copy; 2016 - 2022 Karsten Schmidt // Apache Software License 2.0
678
+ &copy; 2016 - 2022 Karsten Schmidt // Apache License 2.0
package/api.d.ts CHANGED
@@ -7,12 +7,12 @@ import type { FnAny, IObjectOf } from "@thi.ng/api";
7
7
  * append their results to the CSS output string accumulator
8
8
  * directly.
9
9
  */
10
- export declare type RuleFn = (acc: string[], opts: CSSOpts) => string[];
10
+ export type RuleFn = (acc: string[], opts: CSSOpts) => string[];
11
11
  /**
12
12
  * Configuration type for conditional rule functions
13
13
  * (i.e. {@link at_media}, {@link at_supports})
14
14
  */
15
- export declare type Conditional = string | IObjectOf<boolean | number | string>;
15
+ export type Conditional = string | IObjectOf<boolean | number | string>;
16
16
  /**
17
17
  * Format
18
18
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/hiccup-css",
3
- "version": "2.1.30",
3
+ "version": "2.1.32",
4
4
  "description": "CSS from nested JS data structures",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -21,7 +21,7 @@
21
21
  "url": "https://patreon.com/thing_umbrella"
22
22
  }
23
23
  ],
24
- "author": "Karsten Schmidt <k+npm@thi.ng>",
24
+ "author": "Karsten Schmidt (https://thi.ng)",
25
25
  "license": "Apache-2.0",
26
26
  "scripts": {
27
27
  "build": "yarn clean && tsc --declaration",
@@ -34,18 +34,18 @@
34
34
  "test": "testament test"
35
35
  },
36
36
  "dependencies": {
37
- "@thi.ng/api": "^8.5.1",
38
- "@thi.ng/checks": "^3.3.4",
39
- "@thi.ng/errors": "^2.2.5",
40
- "@thi.ng/transducers": "^8.3.25"
37
+ "@thi.ng/api": "^8.6.1",
38
+ "@thi.ng/checks": "^3.3.5",
39
+ "@thi.ng/errors": "^2.2.6",
40
+ "@thi.ng/transducers": "^8.3.27"
41
41
  },
42
42
  "devDependencies": {
43
- "@microsoft/api-extractor": "^7.33.5",
44
- "@thi.ng/testament": "^0.3.6",
43
+ "@microsoft/api-extractor": "^7.33.7",
44
+ "@thi.ng/testament": "^0.3.7",
45
45
  "rimraf": "^3.0.2",
46
46
  "tools": "^0.0.1",
47
- "typedoc": "^0.23.20",
48
- "typescript": "^4.8.4"
47
+ "typedoc": "^0.23.22",
48
+ "typescript": "^4.9.4"
49
49
  },
50
50
  "keywords": [
51
51
  "array",
@@ -127,5 +127,5 @@
127
127
  ],
128
128
  "year": 2016
129
129
  },
130
- "gitHead": "1fe40da507070653f420156d91e6b27cf682004f\n"
130
+ "gitHead": "7b2af448da8a63fb21704a79cc4cdf1f3d7d7a64\n"
131
131
  }