@thi.ng/meta-css 0.7.13 → 0.8.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 +48 -1
- package/README.md +1252 -98
- package/index.js +6 -6
- package/package.json +10 -10
- package/specs/_info.mcss.json +5 -3
- package/specs/a11y.mcss.json +2 -2
- package/specs/anim.mcss.json +93 -28
- package/specs/aspect.mcss.json +27 -41
- package/specs/background.mcss.json +2 -2
- package/specs/borders.mcss.json +6 -6
- package/specs/color-ops.mcss.json +160 -0
- package/specs/colors.mcss.json +49 -62
- package/specs/content.mcss.json +1 -1
- package/specs/cursor.mcss.json +1 -1
- package/specs/dimensions.mcss.json +7 -7
- package/specs/display.mcss.json +2 -2
- package/specs/flex.mcss.json +4 -4
- package/specs/grids.mcss.json +16 -5
- package/specs/icons.mcss.json +2 -2
- package/specs/lists.mcss.json +1 -1
- package/specs/margins.mcss.json +5 -5
- package/specs/normalize.mcss.json +1 -2
- package/specs/overflows.mcss.json +1 -1
- package/specs/positions.mcss.json +14 -3
- package/specs/print.mcss.json +1 -1
- package/specs/scroll.mcss.json +3 -3
- package/specs/selection.mcss.json +1 -1
- package/specs/shadows.mcss.json +3 -3
- package/specs/typography.mcss.json +15 -15
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2024-03-
|
|
3
|
+
- **Last updated**: 2024-03-17T15:23:29Z
|
|
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.
|
|
@@ -9,6 +9,53 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
|
|
|
9
9
|
**Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
|
|
10
10
|
and/or version bumps of transitive dependencies.
|
|
11
11
|
|
|
12
|
+
## [0.8.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/meta-css@0.8.0) (2024-03-17)
|
|
13
|
+
|
|
14
|
+
#### 🚀 Features
|
|
15
|
+
|
|
16
|
+
- add/update animation genspecs ([d7cb506](https://github.com/thi-ng/umbrella/commit/d7cb506))
|
|
17
|
+
- add animation-delay
|
|
18
|
+
- add shrink anim & keyframes
|
|
19
|
+
- add support for templated class specs ([eb09f16](https://github.com/thi-ng/umbrella/commit/eb09f16))
|
|
20
|
+
- add TemplateSpec, update CompiledSpecs
|
|
21
|
+
- add expandTemplateSpec()
|
|
22
|
+
- update expandSpec() to also handle templates, compute tpl arity
|
|
23
|
+
- update generateFramework(), make specs/templates optional
|
|
24
|
+
- update convert command impl to support templates
|
|
25
|
+
- refactor export command impl
|
|
26
|
+
- add/update tests
|
|
27
|
+
- add/update framework specs/templates ([119f385](https://github.com/thi-ng/umbrella/commit/119f385))
|
|
28
|
+
- update spec format, add spec doc object & handling ([dc63b3a](https://github.com/thi-ng/umbrella/commit/dc63b3a))
|
|
29
|
+
- update expandSpec() to handle docs & interpolate doc strings
|
|
30
|
+
- refactor convert & export commands
|
|
31
|
+
- major update base framework specs ([a985039](https://github.com/thi-ng/umbrella/commit/a985039))
|
|
32
|
+
- add docs for all specs
|
|
33
|
+
- refactor various specs as parametric templates
|
|
34
|
+
- massively reduce number of specs (~90 less)
|
|
35
|
+
- rename various specs to be less cryptic
|
|
36
|
+
- major update spec doc generator ([7117ae9](https://github.com/thi-ng/umbrella/commit/7117ae9))
|
|
37
|
+
- improve doc interpolation ([9509cc3](https://github.com/thi-ng/umbrella/commit/9509cc3))
|
|
38
|
+
- also process doc strings for template args
|
|
39
|
+
- extract __interpolateDoc() helper
|
|
40
|
+
- update stylesheet line parsing ([ee43572](https://github.com/thi-ng/umbrella/commit/ee43572))
|
|
41
|
+
- add splitLine() to correctly handle more complex tokenization rules
|
|
42
|
+
and perform more checks (e.g. parens matching, nesting)
|
|
43
|
+
- add tests
|
|
44
|
+
- add color operation templates (rgb, hsl, lch, oklch) ([b49860e](https://github.com/thi-ng/umbrella/commit/b49860e))
|
|
45
|
+
- add/update template specs ([e4ef222](https://github.com/thi-ng/umbrella/commit/e4ef222))
|
|
46
|
+
|
|
47
|
+
#### 🩹 Bug fixes
|
|
48
|
+
|
|
49
|
+
- comma-handling in template arg list parsing ([e8d45a5](https://github.com/thi-ng/umbrella/commit/e8d45a5))
|
|
50
|
+
- use negative lookbehind to support `\,` comma-escaping in single args
|
|
51
|
+
- update template arity calculation ([ac50c39](https://github.com/thi-ng/umbrella/commit/ac50c39))
|
|
52
|
+
|
|
53
|
+
#### ♻️ Refactoring
|
|
54
|
+
|
|
55
|
+
- update color var templates ([5f08683](https://github.com/thi-ng/umbrella/commit/5f08683))
|
|
56
|
+
- update color(), bg-color(), border-color(), fill(), stroke()
|
|
57
|
+
- now accepting full var name as arg, rather than just an index
|
|
58
|
+
|
|
12
59
|
### [0.7.5](https://github.com/thi-ng/umbrella/tree/@thi.ng/meta-css@0.7.5) (2024-02-22)
|
|
13
60
|
|
|
14
61
|
#### ♻️ Refactoring
|