aliascss 1.5.2 → 1.5.4
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 +9 -0
- package/README.md +408 -553
- package/dashed-ident.patch +216 -0
- package/dist/aliascss.js +1 -1
- package/lib/classPrinter.d.ts +1 -1
- package/lib/classPrinter.js +23 -13
- package/lib/compilers/dashedIdent.d.ts +49 -0
- package/lib/compilers/dashedIdent.js +115 -0
- package/lib/compilers/length.js +4 -2
- package/lib/css-properties-all-old-full-alias-support.d.ts +19 -0
- package/lib/css-properties-all-old-full-alias-support.js +3122 -0
- package/lib/css-properties-all.js +119 -93
- package/lib/node/compileFile.js +30 -15
- package/lib/prefix/responsive.js +7 -7
- package/lib/returnPropertyAndValue.js +24 -6
- package/lib/returnStatement.js +2 -2
- package/lib/static/staticClassNamesAlias.js +5 -5
- package/lib/utils/helper.d.ts +4 -0
- package/lib/utils/helper.js +23 -0
- package/lib/x-imports.js +135 -68
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## 1.5.3
|
|
2
|
+
|
|
3
|
+
### Fixed
|
|
4
|
+
- Browser runtime: a page with a `keyframes-…` element threw "Cannot read properties of undefined (reading 'has')" and stopped styling every element after it (1.5.2 regression).
|
|
5
|
+
- Decimals with a leading dot: `o-.5`, `m-.5rem`, `scale-.98`, `--x-o:.5` compile to `0.5`. Before, they compiled to a negative value or an empty rule. `0.5` stays the recommended form.
|
|
6
|
+
- `w-var(--x-w)` and other `-var(…)` values compile (`width: var(--x-w)`), fallbacks included.
|
|
7
|
+
|
|
8
|
+
### Added
|
|
9
|
+
- `display-webkit-box` / `d-webkit-box`.
|
|
1
10
|
## 1.5.2
|
|
2
11
|
|
|
3
12
|
### Fixed
|