aliascss 1.5.1 → 1.5.2
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 +18 -0
- package/dist/aliascss.js +1 -1
- package/lib/classPrinter.js +24 -16
- package/lib/css-properties-all.js +17 -9
- package/lib/node/compileFile.js +36 -9
- package/lib/returnStatement.js +18 -4
- package/lib/utils/cssFunc.js +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## 1.5.2
|
|
2
|
+
|
|
3
|
+
### Fixed
|
|
4
|
+
- grid-column / grid-row: a negative number after "/" is kept (`gc-1/-1` → `grid-column: 1 / -1`; it compiled to `1 / 1`).
|
|
5
|
+
- grid-template-columns / grid-auto-columns: decimal values compile correctly.
|
|
6
|
+
- Keyframes (browser runtime): each @keyframes rule is written once, instead of again on every re-print.
|
|
7
|
+
- Keyframes: names keep working when HTML lower-cases the attribute; the CLI lower-cases names to match.
|
|
8
|
+
- Keyframes: a single stop accepts an optional dash and %, and empty rules are skipped.
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- `w-var(--x-width)` and other `-var(…)` values are accepted (same as `w--x-width`).
|
|
12
|
+
- `display-webkit-box`.
|
|
13
|
+
- `cursor-grab` (and other cursor keywords that didn't compile).
|
|
14
|
+
|
|
15
|
+
### Unchanged by design
|
|
16
|
+
- Multi-stop keyframes use `@[0,25,50][…]` only; the colon form is not supported.
|
|
17
|
+
- `--s-` and `--sb-` stay selector aliases, so variables must start with `--x-`.
|
|
18
|
+
|
|
1
19
|
## AliasCSS 1.5.1
|
|
2
20
|
|
|
3
21
|
A reliability release: fewer surprises in the browser, quieter consoles and correct negative values everywhere.
|