@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 +1 -1
- package/README.md +8 -11
- package/api.d.ts +2 -2
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<!-- This file is generated - DO NOT EDIT! -->
|
|
2
2
|
|
|
3
|
-
# 
|
|
3
|
+
# 
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@thi.ng/hiccup-css)
|
|
6
6
|

|
|
7
|
-
[](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
|
|
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) &
|
|
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
|
-
```
|
|
116
|
-
|
|
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
|
-
© 2016 - 2022 Karsten Schmidt // Apache
|
|
678
|
+
© 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
|
|
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
|
|
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.
|
|
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
|
|
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.
|
|
38
|
-
"@thi.ng/checks": "^3.3.
|
|
39
|
-
"@thi.ng/errors": "^2.2.
|
|
40
|
-
"@thi.ng/transducers": "^8.3.
|
|
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.
|
|
44
|
-
"@thi.ng/testament": "^0.3.
|
|
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.
|
|
48
|
-
"typescript": "^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": "
|
|
130
|
+
"gitHead": "7b2af448da8a63fb21704a79cc4cdf1f3d7d7a64\n"
|
|
131
131
|
}
|