Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
/tsconfig.json
/src
/.idea
/llms.txt
/package-lock.json
/node_modules
/coverage
Expand Down
33 changes: 33 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,38 @@
# Changelog

# v1.6.0

- [x] added support for math function `tan()`.

## Improvements
- [x] faster tokenizer
- [x] ensure transform: rotate(360deg) is not minified to transform: none
- [x] support input sourcemap from inline sourcemap file. This is only supported by the async parser.

```css

table.colortable {
width: 100%;
text-shadow: none;
border-collapse: collapse
}
table.colortable td {
text-align: center
}
table.colortable td.c {
text-transform: uppercase;
background: #ff0
}
table.colortable th {
text-align: center;
color: green;
font-weight: 400;
padding: 2px 3px
}

/*# sourceMappingURL=sourcemap.css.map */
```

# v1.5.0

## Improvements
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,11 @@ Try it [online](https://tbela99.github.io/css-parser/playground/)
- typ: number
- val: string, the comment

### AtRuleStyleSheet

- typ: number
- chi: array of children

### Declaration

- typ: number
Expand All @@ -115,20 +120,15 @@ Try it [online](https://tbela99.github.io/css-parser/playground/)
- state: EnumAstNodeStatus, validation state
- errors: ErrorDescription[], validation errors

### AtRule
### AtRule and KeyframesAtRule

- typ: number
- nam: string. AtRule name
- val: rule prelude
- state: EnumAstNodeStatus, validation state
- errors: ErrorDescription[], validation errors

### AtRuleStyleSheet

- typ: number
- chi: array of children

### KeyFrameRule
### KeyframesRule

- typ: number
- sel: string, css selector
Expand Down
Loading