@thi.ng/hiccup-css 1.1.73 → 2.0.0
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 +42 -27
- package/README.md +13 -5
- package/animation.js +5 -1
- package/conditional.js +1 -1
- package/css.js +12 -3
- package/impl.js +13 -3
- package/package.json +69 -25
- package/lib/index.js +0 -316
- package/lib/index.js.map +0 -1
- package/lib/index.umd.js +0 -1
- package/lib/index.umd.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,53 +3,68 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
# [2.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-css@1.1.73...@thi.ng/hiccup-css@2.0.0) (2021-10-12)
|
|
7
7
|
|
|
8
|
-
**Note:** Version bump only for package @thi.ng/hiccup-css
|
|
9
8
|
|
|
9
|
+
### Build System
|
|
10
10
|
|
|
11
|
+
* major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea9fab2a645d6c5f2bf2591459b939c09b6))
|
|
11
12
|
|
|
12
13
|
|
|
14
|
+
### BREAKING CHANGES
|
|
13
15
|
|
|
14
|
-
|
|
16
|
+
* discontinue CommonJS & UMD versions
|
|
15
17
|
|
|
16
|
-
|
|
18
|
+
- only ESM modules will be published from now on
|
|
19
|
+
- CJS obsolete due to ESM support in recent versions of node:
|
|
20
|
+
- i.e. launch NodeJS via:
|
|
21
|
+
- `node --experimental-specifier-resolution=node --experimental-repl-await`
|
|
22
|
+
- in the node REPL use `await import(...)` instead of `require()`
|
|
23
|
+
- UMD obsolete due to widespread browser support for ESM
|
|
17
24
|
|
|
18
|
-
|
|
25
|
+
Also:
|
|
26
|
+
- normalize/restructure/reorg all package.json files
|
|
27
|
+
- cleanup all build scripts, remove obsolete
|
|
28
|
+
- switch from mocha to @thi.ng/testament for all tests
|
|
19
29
|
|
|
20
|
-
# [1.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-css@0.3.5...@thi.ng/hiccup-css@1.0.0) (2019-01-21)
|
|
21
30
|
|
|
22
|
-
### Build System
|
|
23
31
|
|
|
24
|
-
* update package build scripts & outputs, imports in ~50 packages ([b54b703](https://github.com/thi-ng/umbrella/commit/b54b703))
|
|
25
32
|
|
|
26
|
-
### BREAKING CHANGES
|
|
27
33
|
|
|
28
|
-
* enabled multi-outputs (ES6 modules, CJS, UMD)
|
|
29
34
|
|
|
30
|
-
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
+
# [1.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-css@1.0.19...@thi.ng/hiccup-css@1.1.0) (2019-07-07)
|
|
36
|
+
|
|
37
|
+
### Features
|
|
38
|
+
|
|
39
|
+
- **hiccup-css:** enable TS strict compiler flags (refactor) ([1e81385](https://github.com/thi-ng/umbrella/commit/1e81385))
|
|
40
|
+
|
|
41
|
+
# [1.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-css@0.3.5...@thi.ng/hiccup-css@1.0.0) (2019-01-21)
|
|
42
|
+
|
|
43
|
+
### Build System
|
|
44
|
+
|
|
45
|
+
- update package build scripts & outputs, imports in ~50 packages ([b54b703](https://github.com/thi-ng/umbrella/commit/b54b703))
|
|
46
|
+
|
|
47
|
+
### BREAKING CHANGES
|
|
48
|
+
|
|
49
|
+
- enabled multi-outputs (ES6 modules, CJS, UMD)
|
|
50
|
+
- build scripts now first build ES6 modules in package root, then call `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
|
|
51
|
+
- all imports MUST be updated to only refer to package level (not individual files anymore). tree shaking in user land will get rid of all unused imported symbols.
|
|
35
52
|
|
|
36
|
-
#
|
|
53
|
+
# [0.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-css@0.2.32...@thi.ng/hiccup-css@0.3.0) (2018-12-15)
|
|
37
54
|
|
|
38
|
-
###
|
|
55
|
+
### Features
|
|
39
56
|
|
|
40
|
-
|
|
57
|
+
- **hiccup-css:** add animation(), add test & update readme ([aac8b6f](https://github.com/thi-ng/umbrella/commit/aac8b6f))
|
|
41
58
|
|
|
42
|
-
|
|
43
|
-
# [0.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-css@0.1.24...@thi.ng/hiccup-css@0.2.0) (2018-06-08)
|
|
59
|
+
# [0.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-css@0.1.24...@thi.ng/hiccup-css@0.2.0) (2018-06-08)
|
|
44
60
|
|
|
45
|
-
###
|
|
61
|
+
### Features
|
|
46
62
|
|
|
47
|
-
|
|
48
|
-
|
|
63
|
+
- **hiccup-css:** add class scoping support ([244bf21](https://github.com/thi-ng/umbrella/commit/244bf21))
|
|
64
|
+
- **hiccup-css:** add injectStyleSheet() ([8d6e6c8](https://github.com/thi-ng/umbrella/commit/8d6e6c8))
|
|
49
65
|
|
|
50
|
-
|
|
51
|
-
## [0.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-css@0.1.0...@thi.ng/hiccup-css@0.1.1) (2018-03-05)
|
|
66
|
+
## [0.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-css@0.1.0...@thi.ng/hiccup-css@0.1.1) (2018-03-05)
|
|
52
67
|
|
|
53
|
-
###
|
|
68
|
+
### Performance Improvements
|
|
54
69
|
|
|
55
|
-
|
|
70
|
+
- **hiccup-css:** no empty Set() creation, change type check order in css() ([105bbf4](https://github.com/thi-ng/umbrella/commit/105bbf4))
|
package/README.md
CHANGED
|
@@ -102,15 +102,23 @@ Clojure projects:
|
|
|
102
102
|
yarn add @thi.ng/hiccup-css
|
|
103
103
|
```
|
|
104
104
|
|
|
105
|
+
ES module import:
|
|
106
|
+
|
|
105
107
|
```html
|
|
106
|
-
|
|
107
|
-
|
|
108
|
+
<script type="module" src="https://cdn.skypack.dev/@thi.ng/hiccup-css"></script>
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
[Skypack documentation](https://docs.skypack.dev/)
|
|
112
|
+
|
|
113
|
+
For NodeJS (v14.6+):
|
|
114
|
+
|
|
115
|
+
```text
|
|
116
|
+
node --experimental-specifier-resolution=node --experimental-repl-await
|
|
108
117
|
|
|
109
|
-
|
|
110
|
-
<script src="https://unpkg.com/@thi.ng/hiccup-css/lib/index.umd.js" crossorigin></script>
|
|
118
|
+
> const hiccupCss = await import("@thi.ng/hiccup-css");
|
|
111
119
|
```
|
|
112
120
|
|
|
113
|
-
Package sizes (gzipped, pre-treeshake): ESM: 2.
|
|
121
|
+
Package sizes (gzipped, pre-treeshake): ESM: 2.14 KB
|
|
114
122
|
|
|
115
123
|
## Dependencies
|
|
116
124
|
|
package/animation.js
CHANGED
|
@@ -38,7 +38,11 @@ import { at_keyframes } from "./keyframes";
|
|
|
38
38
|
* @param keyframes - keyframes
|
|
39
39
|
*/
|
|
40
40
|
export const animation = (id, opts, ...keyframes) => {
|
|
41
|
-
opts =
|
|
41
|
+
opts = {
|
|
42
|
+
duration: "250ms",
|
|
43
|
+
name: id,
|
|
44
|
+
...opts,
|
|
45
|
+
};
|
|
42
46
|
return [
|
|
43
47
|
at_keyframes.apply(null, [id, ...keyframes]),
|
|
44
48
|
[
|
package/conditional.js
CHANGED
package/css.js
CHANGED
|
@@ -1,9 +1,18 @@
|
|
|
1
|
-
import { isArray
|
|
2
|
-
import {
|
|
1
|
+
import { isArray } from "@thi.ng/checks/is-array";
|
|
2
|
+
import { isFunction } from "@thi.ng/checks/is-function";
|
|
3
|
+
import { isNotStringAndIterable } from "@thi.ng/checks/is-not-string-iterable";
|
|
4
|
+
import { isPlainObject } from "@thi.ng/checks/is-plain-object";
|
|
5
|
+
import { illegalArgs } from "@thi.ng/errors/illegal-arguments";
|
|
3
6
|
import { COMPACT, DEFAULT_VENDORS } from "./api";
|
|
4
7
|
import { expand, formatDecls } from "./impl";
|
|
5
8
|
export const css = (rules, opts) => {
|
|
6
|
-
opts =
|
|
9
|
+
opts = {
|
|
10
|
+
format: COMPACT,
|
|
11
|
+
vendors: DEFAULT_VENDORS,
|
|
12
|
+
fns: {},
|
|
13
|
+
depth: 0,
|
|
14
|
+
...opts,
|
|
15
|
+
};
|
|
7
16
|
isArray(opts.autoprefix) && (opts.autoprefix = new Set(opts.autoprefix));
|
|
8
17
|
return isPlainObject(rules)
|
|
9
18
|
? formatDecls(rules, opts)
|
package/impl.js
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
|
-
import { isArray
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { isArray } from "@thi.ng/checks/is-array";
|
|
2
|
+
import { isFunction } from "@thi.ng/checks/is-function";
|
|
3
|
+
import { isIterable } from "@thi.ng/checks/is-iterable";
|
|
4
|
+
import { isPlainObject } from "@thi.ng/checks/is-plain-object";
|
|
5
|
+
import { isString } from "@thi.ng/checks/is-string";
|
|
6
|
+
import { illegalArgs } from "@thi.ng/errors/illegal-arguments";
|
|
7
|
+
import { comp } from "@thi.ng/transducers/comp";
|
|
8
|
+
import { flatten } from "@thi.ng/transducers/flatten";
|
|
9
|
+
import { map } from "@thi.ng/transducers/map";
|
|
10
|
+
import { permutations } from "@thi.ng/transducers/permutations";
|
|
11
|
+
import { repeat } from "@thi.ng/transducers/repeat";
|
|
12
|
+
import { str } from "@thi.ng/transducers/str";
|
|
13
|
+
import { transduce } from "@thi.ng/transducers/transduce";
|
|
4
14
|
const EMPTY = new Set();
|
|
5
15
|
const NO_SPACES = ":[";
|
|
6
16
|
const xfSel = comp(flatten(), map((x) => (NO_SPACES.indexOf(x.charAt(0)) >= 0 ? x : " " + x)));
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/hiccup-css",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "CSS from nested JS data structures",
|
|
5
|
+
"type": "module",
|
|
5
6
|
"module": "./index.js",
|
|
6
|
-
"main": "./lib/index.js",
|
|
7
|
-
"umd:main": "./lib/index.umd.js",
|
|
8
7
|
"typings": "./index.d.ts",
|
|
8
|
+
"sideEffects": false,
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
11
|
"url": "https://github.com/thi-ng/umbrella.git"
|
|
@@ -24,30 +24,24 @@
|
|
|
24
24
|
"author": "Karsten Schmidt <k+npm@thi.ng>",
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"scripts": {
|
|
27
|
-
"build": "yarn clean &&
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"build:test": "rimraf build && tsc -p test/tsconfig.json",
|
|
31
|
-
"build:check": "tsc --isolatedModules --noEmit",
|
|
32
|
-
"test": "mocha test",
|
|
33
|
-
"cover": "nyc mocha test && nyc report --reporter=lcov",
|
|
34
|
-
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
|
|
35
|
-
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
|
|
36
|
-
"doc": "typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
|
|
27
|
+
"build": "yarn clean && tsc --declaration",
|
|
28
|
+
"clean": "rimraf *.js *.d.ts *.map doc",
|
|
29
|
+
"doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
|
|
37
30
|
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
|
|
38
|
-
"
|
|
31
|
+
"doc:readme": "yarn doc:stats && ../../scripts/node-esm ../../tools/src/readme.ts",
|
|
32
|
+
"doc:stats": "../../scripts/node-esm ../../tools/src/module-stats.ts",
|
|
33
|
+
"pub": "yarn build && yarn publish --access public",
|
|
34
|
+
"test": "testament test"
|
|
39
35
|
},
|
|
40
36
|
"dependencies": {
|
|
41
|
-
"@thi.ng/api": "^
|
|
42
|
-
"@thi.ng/checks": "^
|
|
43
|
-
"@thi.ng/errors": "^
|
|
44
|
-
"@thi.ng/transducers": "^
|
|
37
|
+
"@thi.ng/api": "^8.0.0",
|
|
38
|
+
"@thi.ng/checks": "^3.0.0",
|
|
39
|
+
"@thi.ng/errors": "^2.0.0",
|
|
40
|
+
"@thi.ng/transducers": "^8.0.0"
|
|
41
|
+
},
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"@thi.ng/testament": "^0.1.0"
|
|
45
44
|
},
|
|
46
|
-
"files": [
|
|
47
|
-
"*.js",
|
|
48
|
-
"*.d.ts",
|
|
49
|
-
"lib"
|
|
50
|
-
],
|
|
51
45
|
"keywords": [
|
|
52
46
|
"array",
|
|
53
47
|
"browser",
|
|
@@ -66,7 +60,57 @@
|
|
|
66
60
|
"publishConfig": {
|
|
67
61
|
"access": "public"
|
|
68
62
|
},
|
|
69
|
-
"
|
|
63
|
+
"files": [
|
|
64
|
+
"*.js",
|
|
65
|
+
"*.d.ts"
|
|
66
|
+
],
|
|
67
|
+
"exports": {
|
|
68
|
+
".": {
|
|
69
|
+
"import": "./index.js"
|
|
70
|
+
},
|
|
71
|
+
"./animation": {
|
|
72
|
+
"import": "./animation.js"
|
|
73
|
+
},
|
|
74
|
+
"./api": {
|
|
75
|
+
"import": "./api.js"
|
|
76
|
+
},
|
|
77
|
+
"./attribs": {
|
|
78
|
+
"import": "./attribs.js"
|
|
79
|
+
},
|
|
80
|
+
"./comment": {
|
|
81
|
+
"import": "./comment.js"
|
|
82
|
+
},
|
|
83
|
+
"./conditional": {
|
|
84
|
+
"import": "./conditional.js"
|
|
85
|
+
},
|
|
86
|
+
"./css": {
|
|
87
|
+
"import": "./css.js"
|
|
88
|
+
},
|
|
89
|
+
"./import": {
|
|
90
|
+
"import": "./import.js"
|
|
91
|
+
},
|
|
92
|
+
"./inject": {
|
|
93
|
+
"import": "./inject.js"
|
|
94
|
+
},
|
|
95
|
+
"./keyframes": {
|
|
96
|
+
"import": "./keyframes.js"
|
|
97
|
+
},
|
|
98
|
+
"./media": {
|
|
99
|
+
"import": "./media.js"
|
|
100
|
+
},
|
|
101
|
+
"./namespace": {
|
|
102
|
+
"import": "./namespace.js"
|
|
103
|
+
},
|
|
104
|
+
"./quoted-functions": {
|
|
105
|
+
"import": "./quoted-functions.js"
|
|
106
|
+
},
|
|
107
|
+
"./supports": {
|
|
108
|
+
"import": "./supports.js"
|
|
109
|
+
},
|
|
110
|
+
"./units": {
|
|
111
|
+
"import": "./units.js"
|
|
112
|
+
}
|
|
113
|
+
},
|
|
70
114
|
"thi.ng": {
|
|
71
115
|
"parent": "@thi.ng/hiccup",
|
|
72
116
|
"related": [
|
|
@@ -75,5 +119,5 @@
|
|
|
75
119
|
],
|
|
76
120
|
"year": 2016
|
|
77
121
|
},
|
|
78
|
-
"gitHead": "
|
|
122
|
+
"gitHead": "9ac1344b38b565eb894306fbf72233b6c0b2d115"
|
|
79
123
|
}
|
package/lib/index.js
DELETED
|
@@ -1,316 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var checks = require('@thi.ng/checks');
|
|
6
|
-
var errors = require('@thi.ng/errors');
|
|
7
|
-
var transducers = require('@thi.ng/transducers');
|
|
8
|
-
|
|
9
|
-
const DEFAULT_VENDORS = ["-moz-", "-ms-", "-o-", "-webkit-"];
|
|
10
|
-
const COMPACT = {
|
|
11
|
-
rules: "",
|
|
12
|
-
ruleSep: ",",
|
|
13
|
-
valSep: "",
|
|
14
|
-
decls: "",
|
|
15
|
-
declStart: "{",
|
|
16
|
-
declEnd: "}",
|
|
17
|
-
indent: "",
|
|
18
|
-
comments: false,
|
|
19
|
-
};
|
|
20
|
-
const PRETTY = {
|
|
21
|
-
rules: "\n",
|
|
22
|
-
ruleSep: ", ",
|
|
23
|
-
valSep: " ",
|
|
24
|
-
decls: "\n",
|
|
25
|
-
declStart: " {\n",
|
|
26
|
-
declEnd: "}\n",
|
|
27
|
-
indent: " ",
|
|
28
|
-
comments: true,
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
const EMPTY = new Set();
|
|
32
|
-
const NO_SPACES = ":[";
|
|
33
|
-
const xfSel = transducers.comp(transducers.flatten(), transducers.map((x) => (NO_SPACES.indexOf(x.charAt(0)) >= 0 ? x : " " + x)));
|
|
34
|
-
const withScope = (xf, scope) => transducers.comp(xf, transducers.map((x) => (checks.isString(x) && x.indexOf(" .") == 0 ? x + scope : x)));
|
|
35
|
-
const expand = (acc, parent, rules, opts) => {
|
|
36
|
-
const n = rules.length;
|
|
37
|
-
const sel = [];
|
|
38
|
-
let curr, isFn;
|
|
39
|
-
const process = (i, r) => {
|
|
40
|
-
let rfn = null;
|
|
41
|
-
if (checks.isArray(r)) {
|
|
42
|
-
expand(acc, makeSelector(parent, sel), r, opts);
|
|
43
|
-
}
|
|
44
|
-
else if (checks.isIterable(r) && !checks.isString(r)) {
|
|
45
|
-
expand(acc, makeSelector(parent, sel), [...r], opts);
|
|
46
|
-
}
|
|
47
|
-
else if ((isFn = checks.isFunction(r)) || (rfn = opts.fns[r])) {
|
|
48
|
-
if (!parent.length) {
|
|
49
|
-
if (rfn) {
|
|
50
|
-
rfn.apply(null, rules.slice(i + 1))(acc, opts);
|
|
51
|
-
return true;
|
|
52
|
-
}
|
|
53
|
-
r(acc, opts);
|
|
54
|
-
}
|
|
55
|
-
else if (isFn) {
|
|
56
|
-
process(i, r());
|
|
57
|
-
}
|
|
58
|
-
else {
|
|
59
|
-
errors.illegalArgs(`quoted fn ('${r}') only allowed at head position`);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
else if (checks.isPlainObject(r)) {
|
|
63
|
-
curr = Object.assign(curr || {}, r);
|
|
64
|
-
}
|
|
65
|
-
else if (r != null) {
|
|
66
|
-
sel.push(r);
|
|
67
|
-
}
|
|
68
|
-
};
|
|
69
|
-
for (let i = 0; i < n; i++) {
|
|
70
|
-
if (process(i, rules[i])) {
|
|
71
|
-
return acc;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
curr && acc.push(formatRule(parent, sel, curr, opts));
|
|
75
|
-
return acc;
|
|
76
|
-
};
|
|
77
|
-
const makeSelector = (parent, curr) => parent.length ? [...transducers.permutations(parent, curr)] : curr;
|
|
78
|
-
const formatRule = (parent, sel, curr, opts) => {
|
|
79
|
-
const f = opts.format;
|
|
80
|
-
const space = indent(opts);
|
|
81
|
-
const xf = opts.scope ? withScope(xfSel, opts.scope) : xfSel;
|
|
82
|
-
return [
|
|
83
|
-
space,
|
|
84
|
-
transducers.transduce(transducers.map((sel) => transducers.transduce(xf, transducers.str(), checks.isArray(sel) ? sel : [sel]).trim()), transducers.str(f.ruleSep), makeSelector(parent, sel)),
|
|
85
|
-
f.declStart,
|
|
86
|
-
formatDecls(curr, opts),
|
|
87
|
-
space,
|
|
88
|
-
f.declEnd,
|
|
89
|
-
].join("");
|
|
90
|
-
};
|
|
91
|
-
const formatDecls = (rules, opts) => {
|
|
92
|
-
const f = opts.format;
|
|
93
|
-
const prefixes = (opts.autoprefix || EMPTY);
|
|
94
|
-
const space = indent(opts, opts.depth + 1);
|
|
95
|
-
const acc = [];
|
|
96
|
-
for (let r in rules) {
|
|
97
|
-
if (rules.hasOwnProperty(r)) {
|
|
98
|
-
let val = rules[r];
|
|
99
|
-
if (checks.isFunction(val)) {
|
|
100
|
-
val = val(rules);
|
|
101
|
-
}
|
|
102
|
-
if (checks.isArray(val)) {
|
|
103
|
-
val = val
|
|
104
|
-
.map((v) => (checks.isArray(v) ? v.join(" ") : v))
|
|
105
|
-
.join(f.ruleSep);
|
|
106
|
-
}
|
|
107
|
-
if (prefixes.has(r)) {
|
|
108
|
-
for (let v of opts.vendors) {
|
|
109
|
-
acc.push(`${space}${v}${r}:${f.valSep}${val};`);
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
acc.push(`${space}${r}:${f.valSep}${val};`);
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
return acc.join(f.decls) + f.decls;
|
|
116
|
-
};
|
|
117
|
-
const indent = (opts, d = opts.depth) => d > 1
|
|
118
|
-
? [...transducers.repeat(opts.format.indent, d)].join("")
|
|
119
|
-
: d > 0
|
|
120
|
-
? opts.format.indent
|
|
121
|
-
: "";
|
|
122
|
-
|
|
123
|
-
const em = (x) => `${x}em`;
|
|
124
|
-
const ex = (x) => `${x}ex`;
|
|
125
|
-
const rem = (x) => `${x}rem`;
|
|
126
|
-
const percent = (x) => `${x}%`;
|
|
127
|
-
const px = (x) => `${x >>> 0}px`;
|
|
128
|
-
const vh = (x) => `${x}vh`;
|
|
129
|
-
const vw = (x) => `${x}vw`;
|
|
130
|
-
const ms = (x) => `${x >>> 0}ms`;
|
|
131
|
-
const sec = (x) => `${x}s`;
|
|
132
|
-
const deg = (x) => `${x}deg`;
|
|
133
|
-
const rad = (x) => `${x}rad`;
|
|
134
|
-
const turn = (x) => `${x}turn`;
|
|
135
|
-
|
|
136
|
-
function at_keyframes(id, ...args) {
|
|
137
|
-
const stops = args.length === 1 ? args[0] : { 0: args[0], 100: args[1] };
|
|
138
|
-
return (acc, opts) => {
|
|
139
|
-
const outer = indent(opts);
|
|
140
|
-
opts.depth++;
|
|
141
|
-
const inner = indent(opts);
|
|
142
|
-
acc.push(`${outer}@keyframes ${id}${opts.format.declStart}`);
|
|
143
|
-
for (let s in stops) {
|
|
144
|
-
if (stops.hasOwnProperty(s)) {
|
|
145
|
-
acc.push([
|
|
146
|
-
inner,
|
|
147
|
-
percent(s),
|
|
148
|
-
opts.format.declStart,
|
|
149
|
-
formatDecls(stops[s], opts),
|
|
150
|
-
inner,
|
|
151
|
-
opts.format.declEnd,
|
|
152
|
-
].join(""));
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
opts.depth--;
|
|
156
|
-
acc.push(outer + opts.format.declEnd);
|
|
157
|
-
return acc;
|
|
158
|
-
};
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
const animation = (id, opts, ...keyframes) => {
|
|
162
|
-
opts = Object.assign({ duration: "250ms", name: id }, opts);
|
|
163
|
-
return [
|
|
164
|
-
at_keyframes.apply(null, [id, ...keyframes]),
|
|
165
|
-
[
|
|
166
|
-
`.${id}`,
|
|
167
|
-
Object.keys(opts).reduce((acc, k) => ((acc[`animation-${k}`] = opts[k]), acc), {}),
|
|
168
|
-
],
|
|
169
|
-
];
|
|
170
|
-
};
|
|
171
|
-
|
|
172
|
-
const $ = (op) => (id, x, caseSensitve = false) => `[${id}${op}="${x}"${caseSensitve ? " i" : ""}]`;
|
|
173
|
-
const withAttrib = (id) => `[${id}]`;
|
|
174
|
-
const attribEq = $("");
|
|
175
|
-
const attribContains = $("~");
|
|
176
|
-
const attribPrefix = $("^");
|
|
177
|
-
const attribSuffix = $("$");
|
|
178
|
-
const attribMatches = $("*");
|
|
179
|
-
|
|
180
|
-
const comment = (body, force = false) => (acc, opts) => {
|
|
181
|
-
const space = indent(opts);
|
|
182
|
-
const inner = indent(opts, opts.depth + 1);
|
|
183
|
-
if (opts.format.comments || force) {
|
|
184
|
-
acc.push(space + "/*", body
|
|
185
|
-
.split("\n")
|
|
186
|
-
.map((l) => inner + l)
|
|
187
|
-
.join("\n"), space + "*/");
|
|
188
|
-
}
|
|
189
|
-
return acc;
|
|
190
|
-
};
|
|
191
|
-
|
|
192
|
-
const conditional = (type, cond, rules) => (acc, opts) => {
|
|
193
|
-
const space = indent(opts);
|
|
194
|
-
acc.push(`${space}${type} ${formatCond(cond)}${opts.format.declStart}`);
|
|
195
|
-
opts.depth++;
|
|
196
|
-
expand(acc, [], rules, opts);
|
|
197
|
-
opts.depth--;
|
|
198
|
-
acc.push(space + opts.format.declEnd);
|
|
199
|
-
return acc;
|
|
200
|
-
};
|
|
201
|
-
const formatCond = (cond) => {
|
|
202
|
-
if (checks.isString(cond)) {
|
|
203
|
-
return cond;
|
|
204
|
-
}
|
|
205
|
-
const acc = [];
|
|
206
|
-
for (let c in cond) {
|
|
207
|
-
if (cond.hasOwnProperty(c)) {
|
|
208
|
-
let v = cond[c];
|
|
209
|
-
if (v === true) {
|
|
210
|
-
v = c;
|
|
211
|
-
}
|
|
212
|
-
else if (v === false) {
|
|
213
|
-
v = "not " + c;
|
|
214
|
-
}
|
|
215
|
-
else if (v === "only") {
|
|
216
|
-
v += " " + c;
|
|
217
|
-
}
|
|
218
|
-
else {
|
|
219
|
-
v = `(${c}:${v})`;
|
|
220
|
-
}
|
|
221
|
-
acc.push(v);
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
return acc.join(" and ");
|
|
225
|
-
};
|
|
226
|
-
|
|
227
|
-
const css = (rules, opts) => {
|
|
228
|
-
opts = Object.assign({ format: COMPACT, vendors: DEFAULT_VENDORS, fns: {}, depth: 0 }, opts);
|
|
229
|
-
checks.isArray(opts.autoprefix) && (opts.autoprefix = new Set(opts.autoprefix));
|
|
230
|
-
return checks.isPlainObject(rules)
|
|
231
|
-
? formatDecls(rules, opts)
|
|
232
|
-
: checks.isFunction(rules)
|
|
233
|
-
? rules([], opts).join(opts.format.rules)
|
|
234
|
-
: expand([], [], checks.isArray(rules)
|
|
235
|
-
? rules
|
|
236
|
-
: checks.isNotStringAndIterable(rules)
|
|
237
|
-
? [...rules]
|
|
238
|
-
: errors.illegalArgs(`invalid rules`), opts).join(opts.format.rules);
|
|
239
|
-
};
|
|
240
|
-
|
|
241
|
-
const at_import = (url, ...queries) => (acc, opts) => (acc.push(queries.length
|
|
242
|
-
? `@import url(${url}) ${queries.join(opts.format.ruleSep)};`
|
|
243
|
-
: `@import url(${url});`),
|
|
244
|
-
acc);
|
|
245
|
-
|
|
246
|
-
const injectStyleSheet = (css, first = false) => {
|
|
247
|
-
const head = document.getElementsByTagName("head")[0];
|
|
248
|
-
const sheet = document.createElement("style");
|
|
249
|
-
sheet.setAttribute("type", "text/css");
|
|
250
|
-
if (sheet.styleSheet !== undefined) {
|
|
251
|
-
sheet.styleSheet.cssText = css;
|
|
252
|
-
}
|
|
253
|
-
else {
|
|
254
|
-
sheet.textContent = css;
|
|
255
|
-
}
|
|
256
|
-
if (first) {
|
|
257
|
-
head.insertBefore(sheet, head.firstChild);
|
|
258
|
-
}
|
|
259
|
-
else {
|
|
260
|
-
head.appendChild(sheet);
|
|
261
|
-
}
|
|
262
|
-
return sheet;
|
|
263
|
-
};
|
|
264
|
-
|
|
265
|
-
const at_media = (cond, rules) => conditional("@media", cond, rules);
|
|
266
|
-
|
|
267
|
-
function at_namespace(...args) {
|
|
268
|
-
return (acc, _) => (acc.push(args.length > 1
|
|
269
|
-
? `@namespace ${args[0]} url(${args[1]});`
|
|
270
|
-
: `@namespace url(${args[0]});`),
|
|
271
|
-
acc);
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
const at_supports = (cond, rules) => conditional("@supports", cond, rules);
|
|
275
|
-
|
|
276
|
-
const QUOTED_FNS = {
|
|
277
|
-
"@comment": comment,
|
|
278
|
-
"@import": at_import,
|
|
279
|
-
"@keyframes": at_keyframes,
|
|
280
|
-
"@media": at_media,
|
|
281
|
-
"@namespace": at_namespace,
|
|
282
|
-
"@supports": at_supports,
|
|
283
|
-
};
|
|
284
|
-
|
|
285
|
-
exports.COMPACT = COMPACT;
|
|
286
|
-
exports.DEFAULT_VENDORS = DEFAULT_VENDORS;
|
|
287
|
-
exports.PRETTY = PRETTY;
|
|
288
|
-
exports.QUOTED_FNS = QUOTED_FNS;
|
|
289
|
-
exports.animation = animation;
|
|
290
|
-
exports.at_import = at_import;
|
|
291
|
-
exports.at_keyframes = at_keyframes;
|
|
292
|
-
exports.at_media = at_media;
|
|
293
|
-
exports.at_namespace = at_namespace;
|
|
294
|
-
exports.at_supports = at_supports;
|
|
295
|
-
exports.attribContains = attribContains;
|
|
296
|
-
exports.attribEq = attribEq;
|
|
297
|
-
exports.attribMatches = attribMatches;
|
|
298
|
-
exports.attribPrefix = attribPrefix;
|
|
299
|
-
exports.attribSuffix = attribSuffix;
|
|
300
|
-
exports.comment = comment;
|
|
301
|
-
exports.conditional = conditional;
|
|
302
|
-
exports.css = css;
|
|
303
|
-
exports.deg = deg;
|
|
304
|
-
exports.em = em;
|
|
305
|
-
exports.ex = ex;
|
|
306
|
-
exports.injectStyleSheet = injectStyleSheet;
|
|
307
|
-
exports.ms = ms;
|
|
308
|
-
exports.percent = percent;
|
|
309
|
-
exports.px = px;
|
|
310
|
-
exports.rad = rad;
|
|
311
|
-
exports.rem = rem;
|
|
312
|
-
exports.sec = sec;
|
|
313
|
-
exports.turn = turn;
|
|
314
|
-
exports.vh = vh;
|
|
315
|
-
exports.vw = vw;
|
|
316
|
-
exports.withAttrib = withAttrib;
|
package/lib/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../api.js","../impl.js","../units.js","../keyframes.js","../animation.js","../attribs.js","../comment.js","../conditional.js","../css.js","../import.js","../inject.js","../media.js","../namespace.js","../supports.js","../quoted-functions.js"],"sourcesContent":null,"names":["comp","flatten","map","isString","isArray","isIterable","isFunction","illegalArgs","isPlainObject","permutations","transduce","str","repeat","isNotStringAndIterable"],"mappings":";;;;;;;;AAAY,MAAC,eAAe,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE;AAMxD,MAAC,OAAO,GAAG;AACvB,IAAI,KAAK,EAAE,EAAE;AACb,IAAI,OAAO,EAAE,GAAG;AAChB,IAAI,MAAM,EAAE,EAAE;AACd,IAAI,KAAK,EAAE,EAAE;AACb,IAAI,SAAS,EAAE,GAAG;AAClB,IAAI,OAAO,EAAE,GAAG;AAChB,IAAI,MAAM,EAAE,EAAE;AACd,IAAI,QAAQ,EAAE,KAAK;AACnB,EAAE;AAKU,MAAC,MAAM,GAAG;AACtB,IAAI,KAAK,EAAE,IAAI;AACf,IAAI,OAAO,EAAE,IAAI;AACjB,IAAI,MAAM,EAAE,GAAG;AACf,IAAI,KAAK,E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CAAC;AAClD,UAAU,CAAC,eAAe,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;AACxC,QAAQ,GAAG,CAAC,CAAC;AACb;;ACJY,MAAC,WAAW,GAAG,CAAC,IAAI,EAAE,KAAK,KAAK,WAAW,CAAC,WAAW,EAAE,IAAI,EAAE,KAAK;;ACMpE,MAAC,UAAU,GAAG;AAC1B,IAAI,UAAU,EAAE,OAAO;AACvB,IAAI,SAAS,EAAE,SAAS;AACxB,IAAI,YAAY,EAAE,YAAY;AAC9B,IAAI,QAAQ,EAAE,QAAQ;AACtB,IAAI,YAAY,EAAE,YAAY;AAC9B,IAAI,WAAW,EAAE,WAAW;AAC5B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/lib/index.umd.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@thi.ng/checks"),require("@thi.ng/errors"),require("@thi.ng/transducers")):"function"==typeof define&&define.amd?define(["exports","@thi.ng/checks","@thi.ng/errors","@thi.ng/transducers"],t):t(((e="undefined"!=typeof globalThis?globalThis:e||self).thi=e.thi||{},e.thi.ng=e.thi.ng||{},e.thi.ng.hiccupCss={}),e.thi.ng.checks,e.thi.ng.errors,e.thi.ng.transducers)}(this,(function(e,t,n,r){"use strict";const s=["-moz-","-ms-","-o-","-webkit-"],i={rules:"",ruleSep:",",valSep:"",decls:"",declStart:"{",declEnd:"}",indent:"",comments:!1},o=new Set,a=r.comp(r.flatten(),r.map((e=>":[".indexOf(e.charAt(0))>=0?e:" "+e))),l=(e,r,s,i)=>{const o=s.length,a=[];let p,d;const m=(o,u)=>{let f=null;if(t.isArray(u))l(e,c(r,a),u,i);else if(t.isIterable(u)&&!t.isString(u))l(e,c(r,a),[...u],i);else if((d=t.isFunction(u))||(f=i.fns[u]))if(r.length)d?m(o,u()):n.illegalArgs(`quoted fn ('${u}') only allowed at head position`);else{if(f)return f.apply(null,s.slice(o+1))(e,i),!0;u(e,i)}else t.isPlainObject(u)?p=Object.assign(p||{},u):null!=u&&a.push(u)};for(let t=0;t<o;t++)if(m(t,s[t]))return e;return p&&e.push(u(r,a,p,i)),e},c=(e,t)=>e.length?[...r.permutations(e,t)]:t,u=(e,n,s,i)=>{const o=i.format,l=d(i),u=i.scope?((e,n)=>r.comp(e,r.map((e=>t.isString(e)&&0==e.indexOf(" .")?e+n:e))))(a,i.scope):a;return[l,r.transduce(r.map((e=>r.transduce(u,r.str(),t.isArray(e)?e:[e]).trim())),r.str(o.ruleSep),c(e,n)),o.declStart,p(s,i),l,o.declEnd].join("")},p=(e,n)=>{const r=n.format,s=n.autoprefix||o,i=d(n,n.depth+1),a=[];for(let o in e)if(e.hasOwnProperty(o)){let l=e[o];if(t.isFunction(l)&&(l=l(e)),t.isArray(l)&&(l=l.map((e=>t.isArray(e)?e.join(" "):e)).join(r.ruleSep)),s.has(o))for(let e of n.vendors)a.push(`${i}${e}${o}:${r.valSep}${l};`);a.push(`${i}${o}:${r.valSep}${l};`)}return a.join(r.decls)+r.decls},d=(e,t=e.depth)=>t>1?[...r.repeat(e.format.indent,t)].join(""):t>0?e.format.indent:"",m=e=>`${e}%`;function f(e,...t){const n=1===t.length?t[0]:{0:t[0],100:t[1]};return(t,r)=>{const s=d(r);r.depth++;const i=d(r);t.push(`${s}@keyframes ${e}${r.format.declStart}`);for(let e in n)n.hasOwnProperty(e)&&t.push([i,m(e),r.format.declStart,p(n[e],r),i,r.format.declEnd].join(""));return r.depth--,t.push(s+r.format.declEnd),t}}const h=e=>(t,n,r=!1)=>`[${t}${e}="${n}"${r?" i":""}]`,$=h(""),g=h("~"),y=h("^"),S=h("$"),b=h("*"),j=(e,t=!1)=>(n,r)=>{const s=d(r),i=d(r,r.depth+1);return(r.format.comments||t)&&n.push(s+"/*",e.split("\n").map((e=>i+e)).join("\n"),s+"*/"),n},x=(e,t,n)=>(r,s)=>{const i=d(s);return r.push(`${i}${e} ${O(t)}${s.format.declStart}`),s.depth++,l(r,[],n,s),s.depth--,r.push(i+s.format.declEnd),r},O=e=>{if(t.isString(e))return e;const n=[];for(let t in e)if(e.hasOwnProperty(t)){let r=e[t];!0===r?r=t:!1===r?r="not "+t:"only"===r?r+=" "+t:r=`(${t}:${r})`,n.push(r)}return n.join(" and ")},A=(e,...t)=>(n,r)=>(n.push(t.length?`@import url(${e}) ${t.join(r.format.ruleSep)};`:`@import url(${e});`),n),v=(e,t)=>x("@media",e,t);function E(...e){return(t,n)=>(t.push(e.length>1?`@namespace ${e[0]} url(${e[1]});`:`@namespace url(${e[0]});`),t)}const w=(e,t)=>x("@supports",e,t),P={"@comment":j,"@import":A,"@keyframes":f,"@media":v,"@namespace":E,"@supports":w};e.COMPACT=i,e.DEFAULT_VENDORS=s,e.PRETTY={rules:"\n",ruleSep:", ",valSep:" ",decls:"\n",declStart:" {\n",declEnd:"}\n",indent:" ",comments:!0},e.QUOTED_FNS=P,e.animation=(e,t,...n)=>(t=Object.assign({duration:"250ms",name:e},t),[f.apply(null,[e,...n]),[`.${e}`,Object.keys(t).reduce(((e,n)=>(e[`animation-${n}`]=t[n],e)),{})]]),e.at_import=A,e.at_keyframes=f,e.at_media=v,e.at_namespace=E,e.at_supports=w,e.attribContains=g,e.attribEq=$,e.attribMatches=b,e.attribPrefix=y,e.attribSuffix=S,e.comment=j,e.conditional=x,e.css=(e,r)=>(r=Object.assign({format:i,vendors:s,fns:{},depth:0},r),t.isArray(r.autoprefix)&&(r.autoprefix=new Set(r.autoprefix)),t.isPlainObject(e)?p(e,r):t.isFunction(e)?e([],r).join(r.format.rules):l([],[],t.isArray(e)?e:t.isNotStringAndIterable(e)?[...e]:n.illegalArgs("invalid rules"),r).join(r.format.rules)),e.deg=e=>`${e}deg`,e.em=e=>`${e}em`,e.ex=e=>`${e}ex`,e.injectStyleSheet=(e,t=!1)=>{const n=document.getElementsByTagName("head")[0],r=document.createElement("style");return r.setAttribute("type","text/css"),void 0!==r.styleSheet?r.styleSheet.cssText=e:r.textContent=e,t?n.insertBefore(r,n.firstChild):n.appendChild(r),r},e.ms=e=>(e>>>0)+"ms",e.percent=m,e.px=e=>(e>>>0)+"px",e.rad=e=>`${e}rad`,e.rem=e=>`${e}rem`,e.sec=e=>`${e}s`,e.turn=e=>`${e}turn`,e.vh=e=>`${e}vh`,e.vw=e=>`${e}vw`,e.withAttrib=e=>`[${e}]`,Object.defineProperty(e,"__esModule",{value:!0})}));
|
package/lib/index.umd.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.umd.js","sources":["../api.js","../impl.js","../units.js","../keyframes.js","../animation.js","../attribs.js","../comment.js","../conditional.js","../css.js","../import.js","../inject.js","../media.js","../namespace.js","../supports.js","../quoted-functions.js"],"sourcesContent":null,"names":["comp","flatten","map","isString","isArray","isIterable","isFunction","illegalArgs","isPlainObject","permutations","transduce","str","repeat","isNotStringAndIterable"],"mappings":";;;;;;AAAY,UAAC,eAAe,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE;AAMxD,UAAC,OAAO,GAAG;IACvB,IAAI,KAAK,EAAE,EAAE;IACb,IAAI,OAAO,EAAE,GAAG;IAChB,IAAI,MAAM,EAAE,EAAE;IACd,IAAI,KAAK,EAAE,EAAE;IACb,IAAI,SAAS,EAAE,GAAG;IAClB,IAAI,OAAO,EAAE,GAAG;IAChB,IAAI,MAAM,EAAE,EAAE;IACd,IAAI,QAAQ,EAAE,KAAK;IACnB,EAAE;AAKU,UAAC,MAAM,GAAG;IACtB,IAAI,KAAK,EAAE,IAAI;IACf,IAAI,OAAO,EAAE,IAAI;IACjB,IAAI,MAAM,EAAE,GAAG;IACf,IAAI,KAAK,EAAE,IAAI;IACf,IAAI,SAAS,EAAE,MAAM;IACrB,IAAI,OAAO,EAAE,KAAK;IAClB,IAAI,MAAM,EAAE,MAAM;IAClB,IAAI,QAAQ,EAAE,IAAI;IAClB;;IC1BA,MAAM,K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