@thi.ng/hiccup-css 2.7.65 → 2.7.70
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/package.json +132 -132
- package/CHANGELOG.md +0 -116
package/package.json
CHANGED
|
@@ -1,133 +1,133 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
}
|
|
2
|
+
"name": "@thi.ng/hiccup-css",
|
|
3
|
+
"version": "2.7.70",
|
|
4
|
+
"description": "CSS from nested JS data structures",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"module": "./index.js",
|
|
7
|
+
"typings": "./index.d.ts",
|
|
8
|
+
"sideEffects": false,
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "https://github.com/thi-ng/umbrella.git"
|
|
12
|
+
},
|
|
13
|
+
"homepage": "https://thi.ng/hiccup-css",
|
|
14
|
+
"funding": [
|
|
15
|
+
{
|
|
16
|
+
"type": "github",
|
|
17
|
+
"url": "https://github.com/sponsors/postspectacular"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"type": "patreon",
|
|
21
|
+
"url": "https://patreon.com/thing_umbrella"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"type": "liberapay",
|
|
25
|
+
"url": "https://liberapay.com/thi.ng"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"author": "Karsten Schmidt (https://thi.ng)",
|
|
29
|
+
"license": "Apache-2.0",
|
|
30
|
+
"scripts": {
|
|
31
|
+
"build": "yarn build:esbuild && yarn build:decl",
|
|
32
|
+
"build:decl": "tsc --declaration --emitDeclarationOnly",
|
|
33
|
+
"build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
|
|
34
|
+
"clean": "bun ../../tools/src/clean-package.ts",
|
|
35
|
+
"doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
|
|
36
|
+
"doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
|
|
37
|
+
"pub": "npm publish --access public",
|
|
38
|
+
"test": "bun test",
|
|
39
|
+
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
40
|
+
},
|
|
41
|
+
"dependencies": {
|
|
42
|
+
"@thi.ng/api": "^8.12.7",
|
|
43
|
+
"@thi.ng/checks": "^3.7.23",
|
|
44
|
+
"@thi.ng/errors": "^2.5.47",
|
|
45
|
+
"@thi.ng/transducers": "^9.6.15"
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"esbuild": "^0.25.11",
|
|
49
|
+
"typedoc": "^0.28.14",
|
|
50
|
+
"typescript": "^5.9.3"
|
|
51
|
+
},
|
|
52
|
+
"keywords": [
|
|
53
|
+
"array",
|
|
54
|
+
"browser",
|
|
55
|
+
"codegen",
|
|
56
|
+
"component",
|
|
57
|
+
"css",
|
|
58
|
+
"dsl",
|
|
59
|
+
"export",
|
|
60
|
+
"fileformat",
|
|
61
|
+
"hiccup",
|
|
62
|
+
"json",
|
|
63
|
+
"typescript",
|
|
64
|
+
"ui"
|
|
65
|
+
],
|
|
66
|
+
"publishConfig": {
|
|
67
|
+
"access": "public"
|
|
68
|
+
},
|
|
69
|
+
"engines": {
|
|
70
|
+
"node": ">=18"
|
|
71
|
+
},
|
|
72
|
+
"files": [
|
|
73
|
+
"./*.js",
|
|
74
|
+
"./*.d.ts"
|
|
75
|
+
],
|
|
76
|
+
"exports": {
|
|
77
|
+
".": {
|
|
78
|
+
"default": "./index.js"
|
|
79
|
+
},
|
|
80
|
+
"./animation": {
|
|
81
|
+
"default": "./animation.js"
|
|
82
|
+
},
|
|
83
|
+
"./api": {
|
|
84
|
+
"default": "./api.js"
|
|
85
|
+
},
|
|
86
|
+
"./attribs": {
|
|
87
|
+
"default": "./attribs.js"
|
|
88
|
+
},
|
|
89
|
+
"./comment": {
|
|
90
|
+
"default": "./comment.js"
|
|
91
|
+
},
|
|
92
|
+
"./conditional": {
|
|
93
|
+
"default": "./conditional.js"
|
|
94
|
+
},
|
|
95
|
+
"./css": {
|
|
96
|
+
"default": "./css.js"
|
|
97
|
+
},
|
|
98
|
+
"./import": {
|
|
99
|
+
"default": "./import.js"
|
|
100
|
+
},
|
|
101
|
+
"./inject": {
|
|
102
|
+
"default": "./inject.js"
|
|
103
|
+
},
|
|
104
|
+
"./keyframes": {
|
|
105
|
+
"default": "./keyframes.js"
|
|
106
|
+
},
|
|
107
|
+
"./media": {
|
|
108
|
+
"default": "./media.js"
|
|
109
|
+
},
|
|
110
|
+
"./namespace": {
|
|
111
|
+
"default": "./namespace.js"
|
|
112
|
+
},
|
|
113
|
+
"./quoted-functions": {
|
|
114
|
+
"default": "./quoted-functions.js"
|
|
115
|
+
},
|
|
116
|
+
"./supports": {
|
|
117
|
+
"default": "./supports.js"
|
|
118
|
+
},
|
|
119
|
+
"./units": {
|
|
120
|
+
"default": "./units.js"
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"thi.ng": {
|
|
124
|
+
"alias": "css",
|
|
125
|
+
"parent": "@thi.ng/hiccup",
|
|
126
|
+
"related": [
|
|
127
|
+
"hiccup-html",
|
|
128
|
+
"hiccup-svg"
|
|
129
|
+
],
|
|
130
|
+
"year": 2016
|
|
131
|
+
},
|
|
132
|
+
"gitHead": "d977f819bcafdcb2b24c45f8d01a167fe29fc85a\n"
|
|
133
|
+
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
# Change Log
|
|
2
|
-
|
|
3
|
-
- **Last updated**: 2025-09-01T16:38:35Z
|
|
4
|
-
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
|
|
5
|
-
|
|
6
|
-
All notable changes to this project will be documented in this file.
|
|
7
|
-
Only versions published since **2022-01-01** are listed here.
|
|
8
|
-
Please consult the Git history for older version information.
|
|
9
|
-
See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
|
|
10
|
-
|
|
11
|
-
**Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
|
|
12
|
-
and/or version bumps of transitive dependencies.
|
|
13
|
-
|
|
14
|
-
### [2.7.10](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup-css@2.7.10) (2024-06-21)
|
|
15
|
-
|
|
16
|
-
#### ♻️ Refactoring
|
|
17
|
-
|
|
18
|
-
- enforce uniform naming convention of internal functions ([56992b2](https://github.com/thi-ng/umbrella/commit/56992b2))
|
|
19
|
-
|
|
20
|
-
## [2.7.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup-css@2.7.0) (2024-03-21)
|
|
21
|
-
|
|
22
|
-
#### 🚀 Features
|
|
23
|
-
|
|
24
|
-
- add support for `&` parent selector ([2332cdc](https://github.com/thi-ng/umbrella/commit/2332cdc))
|
|
25
|
-
- update xfSel transducer to support SASS-style `&`
|
|
26
|
-
parent selector
|
|
27
|
-
- add tests
|
|
28
|
-
|
|
29
|
-
#### 🩹 Bug fixes
|
|
30
|
-
|
|
31
|
-
- correct case-sensitivity in attrib selectors ([23d556f](https://github.com/thi-ng/umbrella/commit/23d556f))
|
|
32
|
-
- add tests
|
|
33
|
-
|
|
34
|
-
#### ♻️ Refactoring
|
|
35
|
-
|
|
36
|
-
- minor updates ([ac9032d](https://github.com/thi-ng/umbrella/commit/ac9032d))
|
|
37
|
-
- internal updates animation() & withScope()
|
|
38
|
-
|
|
39
|
-
## [2.6.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup-css@2.6.0) (2024-02-12)
|
|
40
|
-
|
|
41
|
-
#### 🚀 Features
|
|
42
|
-
|
|
43
|
-
- add more unit formatters ([36ab478](https://github.com/thi-ng/umbrella/commit/36ab478))
|
|
44
|
-
|
|
45
|
-
## [2.5.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup-css@2.5.0) (2024-02-06)
|
|
46
|
-
|
|
47
|
-
#### 🚀 Features
|
|
48
|
-
|
|
49
|
-
- at_keyframes() vararg handling ([62df789](https://github.com/thi-ng/umbrella/commit/62df789))
|
|
50
|
-
- update to support more than just from/to keyframe args
|
|
51
|
-
- if given more space them equally across [0,100] interval
|
|
52
|
-
|
|
53
|
-
## [2.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup-css@2.4.0) (2024-01-23)
|
|
54
|
-
|
|
55
|
-
#### 🚀 Features
|
|
56
|
-
|
|
57
|
-
- add appendStyleSheet(), update injectStyleSheet() ([1eccb38](https://github.com/thi-ng/umbrella/commit/1eccb38))
|
|
58
|
-
|
|
59
|
-
### [2.3.4](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup-css@2.3.4) (2023-12-22)
|
|
60
|
-
|
|
61
|
-
#### 🩹 Bug fixes
|
|
62
|
-
|
|
63
|
-
- fix media query `not` operator ([f40800b](https://github.com/thi-ng/umbrella/commit/f40800b))
|
|
64
|
-
- wrap sub-query in parens
|
|
65
|
-
- update tests
|
|
66
|
-
|
|
67
|
-
## [2.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup-css@2.3.0) (2023-12-18)
|
|
68
|
-
|
|
69
|
-
#### 🚀 Features
|
|
70
|
-
|
|
71
|
-
- update float value formatter, add tests ([00ee4f7](https://github.com/thi-ng/umbrella/commit/00ee4f7))
|
|
72
|
-
|
|
73
|
-
#### 🩹 Bug fixes
|
|
74
|
-
|
|
75
|
-
- update conditional formatting ([f126005](https://github.com/thi-ng/umbrella/commit/f126005))
|
|
76
|
-
- add tests
|
|
77
|
-
|
|
78
|
-
### [2.2.14](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup-css@2.2.14) (2023-11-09)
|
|
79
|
-
|
|
80
|
-
#### ♻️ Refactoring
|
|
81
|
-
|
|
82
|
-
- update all tests (packages A-S) ([e3085e4](https://github.com/thi-ng/umbrella/commit/e3085e4))
|
|
83
|
-
|
|
84
|
-
## [2.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup-css@2.2.0) (2023-09-02)
|
|
85
|
-
|
|
86
|
-
#### 🚀 Features
|
|
87
|
-
|
|
88
|
-
- add customizable unit formatter precision ([2db3071](https://github.com/thi-ng/umbrella/commit/2db3071))
|
|
89
|
-
- set default prec to 4 fractional digits
|
|
90
|
-
- add setPrecision() to customize unit formatters
|
|
91
|
-
- add vmin/vmax() unit formatters
|
|
92
|
-
- update all other unit formatters
|
|
93
|
-
|
|
94
|
-
#### ♻️ Refactoring
|
|
95
|
-
|
|
96
|
-
- update at_keyframes() arg types ([5de6a92](https://github.com/thi-ng/umbrella/commit/5de6a92))
|
|
97
|
-
- add Keyframe type alias
|
|
98
|
-
- update animation() args/opts ([ba47f93](https://github.com/thi-ng/umbrella/commit/ba47f93))
|
|
99
|
-
- update AnimationOpts
|
|
100
|
-
- use Keyframe type for args
|
|
101
|
-
|
|
102
|
-
### [2.1.39](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup-css@2.1.39) (2023-02-17)
|
|
103
|
-
|
|
104
|
-
#### 🩹 Bug fixes
|
|
105
|
-
|
|
106
|
-
- update px() & ms() units [#383](https://github.com/thi-ng/umbrella/issues/383) ([e590d3f](https://github.com/thi-ng/umbrella/commit/e590d3f))
|
|
107
|
-
- remove pixel rounding
|
|
108
|
-
- use signed flooring for ms()
|
|
109
|
-
|
|
110
|
-
### [2.1.37](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup-css@2.1.37) (2023-02-10)
|
|
111
|
-
|
|
112
|
-
#### 🩹 Bug fixes
|
|
113
|
-
|
|
114
|
-
- allow negative values for px ([340d542](https://github.com/thi-ng/umbrella/commit/340d542))
|
|
115
|
-
Swap use of unsigned shift for OR `0`
|
|
116
|
-
Fixes issue [#383](https://github.com/thi-ng/umbrella/issues/383)
|