@thi.ng/hiccup-css 2.1.27 → 2.1.29
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 +33 -33
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2022-
|
|
3
|
+
- **Last updated**: 2022-11-23T22:46:54Z
|
|
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.
|
|
@@ -32,9 +32,9 @@ and/or version bumps of transitive dependencies.
|
|
|
32
32
|
|
|
33
33
|
#### ♻️ Refactoring
|
|
34
34
|
|
|
35
|
-
- update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
|
|
36
35
|
- update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
|
|
37
36
|
- add .js suffix for all relative imports
|
|
37
|
+
- update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
|
|
38
38
|
|
|
39
39
|
# [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup-css@2.0.0) (2021-10-12)
|
|
40
40
|
|
|
@@ -55,11 +55,11 @@ and/or version bumps of transitive dependencies.
|
|
|
55
55
|
|
|
56
56
|
#### ♻️ Refactoring
|
|
57
57
|
|
|
58
|
-
- minor pkg restructure ([3d34f5f](https://github.com/thi-ng/umbrella/commit/3d34f5f))
|
|
59
|
-
- update imports (transducers) ([f3e1272](https://github.com/thi-ng/umbrella/commit/f3e1272))
|
|
60
|
-
- update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
|
|
61
58
|
- update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
|
|
62
59
|
- update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
|
|
60
|
+
- update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
|
|
61
|
+
- update imports (transducers) ([f3e1272](https://github.com/thi-ng/umbrella/commit/f3e1272))
|
|
62
|
+
- minor pkg restructure ([3d34f5f](https://github.com/thi-ng/umbrella/commit/3d34f5f))
|
|
63
63
|
|
|
64
64
|
### [1.1.39](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup-css@1.1.39) (2020-09-22)
|
|
65
65
|
|
|
@@ -109,10 +109,10 @@ and/or version bumps of transitive dependencies.
|
|
|
109
109
|
|
|
110
110
|
#### 🚀 Features
|
|
111
111
|
|
|
112
|
-
- add injectStyleSheet() ([8d6e6c8](https://github.com/thi-ng/umbrella/commit/8d6e6c8))
|
|
113
112
|
- add class scoping support ([244bf21](https://github.com/thi-ng/umbrella/commit/244bf21))
|
|
114
113
|
- add CSSOpts.scope field
|
|
115
114
|
- update formatRule() to inject class suffixing transducer if needed
|
|
115
|
+
- add injectStyleSheet() ([8d6e6c8](https://github.com/thi-ng/umbrella/commit/8d6e6c8))
|
|
116
116
|
|
|
117
117
|
### [0.1.16](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup-css@0.1.16) (2018-05-10)
|
|
118
118
|
|
|
@@ -138,20 +138,17 @@ and/or version bumps of transitive dependencies.
|
|
|
138
138
|
|
|
139
139
|
#### 🚀 Features
|
|
140
140
|
|
|
141
|
-
- add
|
|
142
|
-
- add
|
|
143
|
-
|
|
144
|
-
-
|
|
145
|
-
-
|
|
146
|
-
- update
|
|
147
|
-
- update
|
|
148
|
-
- update
|
|
149
|
-
- add
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
- add unit format wrappers
|
|
153
|
-
- rename attribIncl() => attribContains()
|
|
154
|
-
- rename attribContains() => attribMatches()
|
|
141
|
+
- add package [@thi.ng/hiccup-css](https://github.com/thi-ng/umbrella/tree/main/packages/hiccup-css) ([3a4cf1e](https://github.com/thi-ng/umbrella/commit/3a4cf1e))
|
|
142
|
+
- add/fix class handling, update Format ([5247b8f](https://github.com/thi-ng/umbrella/commit/5247b8f))
|
|
143
|
+
- add CSSOpts, mediaQuery(), fn expansion ([d837199](https://github.com/thi-ng/umbrella/commit/d837199))
|
|
144
|
+
- add CSSOpts w/ autoprefix & vendor config
|
|
145
|
+
- split FORMATS => COMPACT, PRETTY consts
|
|
146
|
+
- update css() to accept options arg
|
|
147
|
+
- update css() to accept function as rules
|
|
148
|
+
- update formatDecls() to accept fns as attrib values
|
|
149
|
+
- add nested indentation support for pretty printing
|
|
150
|
+
- add keyframes(), split module into separate src files ([a53d2a5](https://github.com/thi-ng/umbrella/commit/a53d2a5))
|
|
151
|
+
- add default vendor prefixes ([e687230](https://github.com/thi-ng/umbrella/commit/e687230))
|
|
155
152
|
- add attrib fn, at-rules, quoted fns, decl value arrays ([ebbc491](https://github.com/thi-ng/umbrella/commit/ebbc491))
|
|
156
153
|
- quoted functions map keywords in root-level rules to fns
|
|
157
154
|
(useful for pure JSON definitions, where fns are not possible)
|
|
@@ -161,27 +158,30 @@ and/or version bumps of transitive dependencies.
|
|
|
161
158
|
- add support for declaration value arrays (converted to string,
|
|
162
159
|
first level joined w/ `,` and inner arrays joined w/ ` `
|
|
163
160
|
- add/update re-exports
|
|
164
|
-
- add
|
|
165
|
-
-
|
|
166
|
-
- add
|
|
167
|
-
- add
|
|
168
|
-
-
|
|
169
|
-
-
|
|
170
|
-
-
|
|
171
|
-
-
|
|
172
|
-
|
|
173
|
-
- add
|
|
174
|
-
- add
|
|
161
|
+
- update fn handling, add iterator support, units, comment ([428de3c](https://github.com/thi-ng/umbrella/commit/428de3c))
|
|
162
|
+
- update fn exec rules (now only head pos vs. other pos in array)
|
|
163
|
+
- add comment() fn
|
|
164
|
+
- add Format.comments flag
|
|
165
|
+
- update COMPACT preset to omit comments
|
|
166
|
+
- add unit format wrappers
|
|
167
|
+
- rename attribIncl() => attribContains()
|
|
168
|
+
- rename attribContains() => attribMatches()
|
|
169
|
+
- update conditional handling, add formatCond() ([57533c7](https://github.com/thi-ng/umbrella/commit/57533c7))
|
|
170
|
+
- add support for iterators as arg type to css() ([02bff87](https://github.com/thi-ng/umbrella/commit/02bff87))
|
|
171
|
+
- add more unit types, update px/ms ([787d0ab](https://github.com/thi-ng/umbrella/commit/787d0ab))
|
|
172
|
+
- add rad(), turn()
|
|
173
|
+
- force int values for px()/ms()
|
|
174
|
+
- add comment() indentation support ([0f416ef](https://github.com/thi-ng/umbrella/commit/0f416ef))
|
|
175
175
|
|
|
176
176
|
#### 🩹 Bug fixes
|
|
177
177
|
|
|
178
|
-
- fn & auto-prefix handling ([f3190ff](https://github.com/thi-ng/umbrella/commit/f3190ff))
|
|
179
178
|
- @import query separator ([e347c29](https://github.com/thi-ng/umbrella/commit/e347c29))
|
|
179
|
+
- fn & auto-prefix handling ([f3190ff](https://github.com/thi-ng/umbrella/commit/f3190ff))
|
|
180
180
|
|
|
181
181
|
#### ⏱ Performance improvements
|
|
182
182
|
|
|
183
|
-
- no empty Set() creation, change type check order in css() ([105bbf4](https://github.com/thi-ng/umbrella/commit/105bbf4))
|
|
184
183
|
- minor optimizations ([6de6b27](https://github.com/thi-ng/umbrella/commit/6de6b27))
|
|
184
|
+
- no empty Set() creation, change type check order in css() ([105bbf4](https://github.com/thi-ng/umbrella/commit/105bbf4))
|
|
185
185
|
|
|
186
186
|
#### ♻️ Refactoring
|
|
187
187
|
|
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.29",
|
|
4
4
|
"description": "CSS from nested JS data structures",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -34,17 +34,17 @@
|
|
|
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.5.0",
|
|
38
|
+
"@thi.ng/checks": "^3.3.3",
|
|
39
|
+
"@thi.ng/errors": "^2.2.4",
|
|
40
|
+
"@thi.ng/transducers": "^8.3.24"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@microsoft/api-extractor": "^7.33.5",
|
|
44
|
-
"@thi.ng/testament": "^0.3.
|
|
44
|
+
"@thi.ng/testament": "^0.3.5",
|
|
45
45
|
"rimraf": "^3.0.2",
|
|
46
46
|
"tools": "^0.0.1",
|
|
47
|
-
"typedoc": "^0.23.
|
|
47
|
+
"typedoc": "^0.23.20",
|
|
48
48
|
"typescript": "^4.8.4"
|
|
49
49
|
},
|
|
50
50
|
"keywords": [
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
"node": ">=12.7"
|
|
70
70
|
},
|
|
71
71
|
"files": [
|
|
72
|
-
"
|
|
73
|
-
"
|
|
72
|
+
"./*.js",
|
|
73
|
+
"./*.d.ts"
|
|
74
74
|
],
|
|
75
75
|
"exports": {
|
|
76
76
|
".": {
|
|
@@ -127,5 +127,5 @@
|
|
|
127
127
|
],
|
|
128
128
|
"year": 2016
|
|
129
129
|
},
|
|
130
|
-
"gitHead": "
|
|
130
|
+
"gitHead": "75ec32ff7f1b7b5e72e7a04ace24732cd5d6c774\n"
|
|
131
131
|
}
|