@tbela99/css-parser 1.6.0 → 1.6.1

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 CHANGED
@@ -1,5 +1,31 @@
1
1
  # Changelog
2
2
 
3
+ # v1.6.1
4
+
5
+ - [x] fix bugs when computing math functions.
6
+ - [x] reduce array mutations
7
+ - [x] supporting additional shorthands: scroll-timeline, scroll-padding, scroll-margin.
8
+ - [x] do not minify transform function when the absolute angle is greater or equals to 360deg
9
+
10
+ ```css
11
+
12
+ a:hover {
13
+
14
+ transform: rotate(calc(2.5*pi * 1rad)) }
15
+ .now {
16
+ transform: translate(100px, 100px) rotate(1215deg) skewX(10deg);
17
+ }
18
+ ```
19
+ should be minified to
20
+ ```css
21
+ a:hover {
22
+ transform: rotate(450deg)
23
+ }
24
+ .now {
25
+ transform: translate(100px,100px)rotate(1215deg)skew(10deg)
26
+ }
27
+ ```
28
+
3
29
  # v1.6.0
4
30
 
5
31
  - [x] added support for math function `tan()`.
package/README.md CHANGED
@@ -185,9 +185,9 @@ Try it [online](https://tbela99.github.io/css-parser/playground/)
185
185
  - [ ] place-content
186
186
  - [ ] place-items
187
187
  - [ ] place-self
188
- - [ ] scroll-margin
189
- - [ ] scroll-padding
190
- - [ ] scroll-timeline
188
+ - [x] scroll-margin
189
+ - [x] scroll-padding
190
+ - [x] scroll-timeline
191
191
  - [x] text-decoration
192
192
  - [x] text-emphasis
193
193
  - [x] transition