@thi.ng/hiccup-css 2.7.34 → 2.7.36
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 +3 -179
- package/package.json +7 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2025-01-
|
|
3
|
+
- **Last updated**: 2025-01-23T13:39:11Z
|
|
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.
|
|
7
|
+
Only versions published since **2022-01-01** are listed here.
|
|
8
|
+
Please consult the Git history for older version information.
|
|
7
9
|
See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
|
|
8
10
|
|
|
9
11
|
**Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
|
|
@@ -112,181 +114,3 @@ and/or version bumps of transitive dependencies.
|
|
|
112
114
|
- allow negative values for px ([340d542](https://github.com/thi-ng/umbrella/commit/340d542))
|
|
113
115
|
Swap use of unsigned shift for OR `0`
|
|
114
116
|
Fixes issue [#383](https://github.com/thi-ng/umbrella/issues/383)
|
|
115
|
-
|
|
116
|
-
## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup-css@2.1.0) (2021-11-17)
|
|
117
|
-
|
|
118
|
-
#### 🚀 Features
|
|
119
|
-
|
|
120
|
-
- Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404))
|
|
121
|
-
Improving the overall build ergonomics
|
|
122
|
-
- introduced a tools workspaces
|
|
123
|
-
- imported it in all needed packages/examples
|
|
124
|
-
- inclusive project root
|
|
125
|
-
|
|
126
|
-
#### ♻️ Refactoring
|
|
127
|
-
|
|
128
|
-
- testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2))
|
|
129
|
-
this commit reverts (partly) changes made in:
|
|
130
|
-
ef346d7a8753590dc9094108a3d861a8dbd5dd2c
|
|
131
|
-
overall purpose is better testament ergonomics:
|
|
132
|
-
instead of having to pass NODE_OPTIONS with every invocation
|
|
133
|
-
having a binary to handle this for us.
|
|
134
|
-
|
|
135
|
-
### [2.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup-css@2.0.1) (2021-10-13)
|
|
136
|
-
|
|
137
|
-
#### ♻️ Refactoring
|
|
138
|
-
|
|
139
|
-
- update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
|
|
140
|
-
- add .js suffix for all relative imports
|
|
141
|
-
- update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
|
|
142
|
-
|
|
143
|
-
# [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup-css@2.0.0) (2021-10-12)
|
|
144
|
-
|
|
145
|
-
#### 🛑 Breaking changes
|
|
146
|
-
|
|
147
|
-
- major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
|
|
148
|
-
- BREAKING CHANGE: discontinue CommonJS & UMD versions
|
|
149
|
-
- only ESM modules will be published from now on
|
|
150
|
-
- CJS obsolete due to ESM support in recent versions of node:
|
|
151
|
-
- i.e. launch NodeJS via:
|
|
152
|
-
- `node --experimental-specifier-resolution=node --experimental-repl-await`
|
|
153
|
-
- in the node REPL use `await import(...)` instead of `require()`
|
|
154
|
-
- UMD obsolete due to widespread browser support for ESM
|
|
155
|
-
Also:
|
|
156
|
-
- normalize/restructure/reorg all package.json files
|
|
157
|
-
- cleanup all build scripts, remove obsolete
|
|
158
|
-
- switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
|
|
159
|
-
|
|
160
|
-
#### ♻️ Refactoring
|
|
161
|
-
|
|
162
|
-
- update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
|
|
163
|
-
- update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
|
|
164
|
-
- update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
|
|
165
|
-
- update imports (transducers) ([f3e1272](https://github.com/thi-ng/umbrella/commit/f3e1272))
|
|
166
|
-
- minor pkg restructure ([3d34f5f](https://github.com/thi-ng/umbrella/commit/3d34f5f))
|
|
167
|
-
|
|
168
|
-
### [1.1.39](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup-css@1.1.39) (2020-09-22)
|
|
169
|
-
|
|
170
|
-
#### ♻️ Refactoring
|
|
171
|
-
|
|
172
|
-
- update css() ([24f9a67](https://github.com/thi-ng/umbrella/commit/24f9a67))
|
|
173
|
-
|
|
174
|
-
### [1.1.10](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup-css@1.1.10) (2020-02-25)
|
|
175
|
-
|
|
176
|
-
#### ♻️ Refactoring
|
|
177
|
-
|
|
178
|
-
- update imports ([03712f0](https://github.com/thi-ng/umbrella/commit/03712f0))
|
|
179
|
-
|
|
180
|
-
## [1.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup-css@1.1.0) (2019-07-07)
|
|
181
|
-
|
|
182
|
-
#### 🚀 Features
|
|
183
|
-
|
|
184
|
-
- enable TS strict compiler flags (refactor) ([1e81385](https://github.com/thi-ng/umbrella/commit/1e81385))
|
|
185
|
-
|
|
186
|
-
#### ♻️ Refactoring
|
|
187
|
-
|
|
188
|
-
- address TS strictNullChecks flag ([526257f](https://github.com/thi-ng/umbrella/commit/526257f))
|
|
189
|
-
|
|
190
|
-
# [1.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup-css@1.0.0) (2019-01-21)
|
|
191
|
-
|
|
192
|
-
#### 🛑 Breaking changes
|
|
193
|
-
|
|
194
|
-
- update package build scripts & outputs, imports in ~50 packages ([b54b703](https://github.com/thi-ng/umbrella/commit/b54b703))
|
|
195
|
-
- BREAKING CHANGE: enabled multi-outputs (ES6 modules, CJS, UMD)
|
|
196
|
-
- build scripts now first build ES6 modules in package root, then call
|
|
197
|
-
`scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
|
|
198
|
-
- all imports MUST be updated to only refer to package level
|
|
199
|
-
(not individual files anymore). tree shaking in user land will get rid of
|
|
200
|
-
all unused imported symbols.
|
|
201
|
-
|
|
202
|
-
#### ♻️ Refactoring
|
|
203
|
-
|
|
204
|
-
- use arrow fns ([3b74de9](https://github.com/thi-ng/umbrella/commit/3b74de9))
|
|
205
|
-
|
|
206
|
-
## [0.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup-css@0.3.0) (2018-12-15)
|
|
207
|
-
|
|
208
|
-
#### 🚀 Features
|
|
209
|
-
|
|
210
|
-
- add animation(), add test & update readme ([aac8b6f](https://github.com/thi-ng/umbrella/commit/aac8b6f))
|
|
211
|
-
|
|
212
|
-
## [0.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup-css@0.2.0) (2018-06-08)
|
|
213
|
-
|
|
214
|
-
#### 🚀 Features
|
|
215
|
-
|
|
216
|
-
- add class scoping support ([244bf21](https://github.com/thi-ng/umbrella/commit/244bf21))
|
|
217
|
-
- add CSSOpts.scope field
|
|
218
|
-
- update formatRule() to inject class suffixing transducer if needed
|
|
219
|
-
- add injectStyleSheet() ([8d6e6c8](https://github.com/thi-ng/umbrella/commit/8d6e6c8))
|
|
220
|
-
|
|
221
|
-
### [0.1.16](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup-css@0.1.16) (2018-05-10)
|
|
222
|
-
|
|
223
|
-
#### ♻️ Refactoring
|
|
224
|
-
|
|
225
|
-
- update deps & imports in all packages due to [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/main/packages/api) split ([bc45636](https://github.com/thi-ng/umbrella/commit/bc45636))
|
|
226
|
-
|
|
227
|
-
### [0.1.5](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup-css@0.1.5) (2018-03-21)
|
|
228
|
-
|
|
229
|
-
#### ♻️ Refactoring
|
|
230
|
-
|
|
231
|
-
- update error handling ([0cfc227](https://github.com/thi-ng/umbrella/commit/0cfc227))
|
|
232
|
-
|
|
233
|
-
### [0.1.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup-css@0.1.2) (2018-03-05)
|
|
234
|
-
|
|
235
|
-
#### ♻️ Refactoring
|
|
236
|
-
|
|
237
|
-
- internal restructure ([721583a](https://github.com/thi-ng/umbrella/commit/721583a))
|
|
238
|
-
- migrate internal implementation fns to src/impl.ts
|
|
239
|
-
- remove utils.ts
|
|
240
|
-
|
|
241
|
-
### [0.1.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/hiccup-css@0.1.1) (2018-03-05)
|
|
242
|
-
|
|
243
|
-
#### 🚀 Features
|
|
244
|
-
|
|
245
|
-
- 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))
|
|
246
|
-
- add/fix class handling, update Format ([5247b8f](https://github.com/thi-ng/umbrella/commit/5247b8f))
|
|
247
|
-
- add CSSOpts, mediaQuery(), fn expansion ([d837199](https://github.com/thi-ng/umbrella/commit/d837199))
|
|
248
|
-
- add CSSOpts w/ autoprefix & vendor config
|
|
249
|
-
- split FORMATS => COMPACT, PRETTY consts
|
|
250
|
-
- update css() to accept options arg
|
|
251
|
-
- update css() to accept function as rules
|
|
252
|
-
- update formatDecls() to accept fns as attrib values
|
|
253
|
-
- add nested indentation support for pretty printing
|
|
254
|
-
- add keyframes(), split module into separate src files ([a53d2a5](https://github.com/thi-ng/umbrella/commit/a53d2a5))
|
|
255
|
-
- add default vendor prefixes ([e687230](https://github.com/thi-ng/umbrella/commit/e687230))
|
|
256
|
-
- add attrib fn, at-rules, quoted fns, decl value arrays ([ebbc491](https://github.com/thi-ng/umbrella/commit/ebbc491))
|
|
257
|
-
- quoted functions map keywords in root-level rules to fns
|
|
258
|
-
(useful for pure JSON definitions, where fns are not possible)
|
|
259
|
-
- add @import, @keyframes, @media, @namespace, @supports fns
|
|
260
|
-
- refactor @media & @supports to use generic `conditional()`
|
|
261
|
-
- add attrib selector fns
|
|
262
|
-
- add support for declaration value arrays (converted to string,
|
|
263
|
-
first level joined w/ `,` and inner arrays joined w/ ` `
|
|
264
|
-
- add/update re-exports
|
|
265
|
-
- update fn handling, add iterator support, units, comment ([428de3c](https://github.com/thi-ng/umbrella/commit/428de3c))
|
|
266
|
-
- update fn exec rules (now only head pos vs. other pos in array)
|
|
267
|
-
- add comment() fn
|
|
268
|
-
- add Format.comments flag
|
|
269
|
-
- update COMPACT preset to omit comments
|
|
270
|
-
- add unit format wrappers
|
|
271
|
-
- rename attribIncl() => attribContains()
|
|
272
|
-
- rename attribContains() => attribMatches()
|
|
273
|
-
- update conditional handling, add formatCond() ([57533c7](https://github.com/thi-ng/umbrella/commit/57533c7))
|
|
274
|
-
- add support for iterators as arg type to css() ([02bff87](https://github.com/thi-ng/umbrella/commit/02bff87))
|
|
275
|
-
- add more unit types, update px/ms ([787d0ab](https://github.com/thi-ng/umbrella/commit/787d0ab))
|
|
276
|
-
- add rad(), turn()
|
|
277
|
-
- force int values for px()/ms()
|
|
278
|
-
- add comment() indentation support ([0f416ef](https://github.com/thi-ng/umbrella/commit/0f416ef))
|
|
279
|
-
|
|
280
|
-
#### 🩹 Bug fixes
|
|
281
|
-
|
|
282
|
-
- @import query separator ([e347c29](https://github.com/thi-ng/umbrella/commit/e347c29))
|
|
283
|
-
- fn & auto-prefix handling ([f3190ff](https://github.com/thi-ng/umbrella/commit/f3190ff))
|
|
284
|
-
|
|
285
|
-
#### ⏱ Performance improvements
|
|
286
|
-
|
|
287
|
-
- minor optimizations ([6de6b27](https://github.com/thi-ng/umbrella/commit/6de6b27))
|
|
288
|
-
- no empty Set() creation, change type check order in css() ([105bbf4](https://github.com/thi-ng/umbrella/commit/105bbf4))
|
|
289
|
-
|
|
290
|
-
#### ♻️ Refactoring
|
|
291
|
-
|
|
292
|
-
- format @keyframe stops, rename perc() => percent() ([a623117](https://github.com/thi-ng/umbrella/commit/a623117))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/hiccup-css",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.36",
|
|
4
4
|
"description": "CSS from nested JS data structures",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -40,16 +40,15 @@
|
|
|
40
40
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@thi.ng/api": "^8.11.
|
|
44
|
-
"@thi.ng/checks": "^3.6.
|
|
45
|
-
"@thi.ng/errors": "^2.5.
|
|
46
|
-
"@thi.ng/transducers": "^9.2.
|
|
43
|
+
"@thi.ng/api": "^8.11.18",
|
|
44
|
+
"@thi.ng/checks": "^3.6.21",
|
|
45
|
+
"@thi.ng/errors": "^2.5.24",
|
|
46
|
+
"@thi.ng/transducers": "^9.2.16"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@microsoft/api-extractor": "^7.48.1",
|
|
50
49
|
"esbuild": "^0.24.2",
|
|
51
50
|
"typedoc": "^0.27.6",
|
|
52
|
-
"typescript": "^5.7.
|
|
51
|
+
"typescript": "^5.7.3"
|
|
53
52
|
},
|
|
54
53
|
"keywords": [
|
|
55
54
|
"array",
|
|
@@ -131,5 +130,5 @@
|
|
|
131
130
|
],
|
|
132
131
|
"year": 2016
|
|
133
132
|
},
|
|
134
|
-
"gitHead": "
|
|
133
|
+
"gitHead": "b92b48abda9941d608be8a2e1c83447e679a6f79\n"
|
|
135
134
|
}
|