数通智联化工云平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

64 lines
1.3 KiB

2 years ago
# Changes to Selector Specificity
2 years ago
### 3.0.0
2 years ago
2 years ago
_July 3, 2023_
- Change license to `MIT-0` ([read more about this change in the blog post](https://preset-env.cssdb.org/blog/license-change/))
### 2.2.0
_March 21, 2023_
- Improve case insensitive string matching.
2 years ago
- Add support for:
- `::view-transition`
- `::view-transition-group(*)` and `::view-transition-group(name)`
- `::view-transition-image-par(*)` and `::view-transition-image-par(name)`
- `::view-transition-old(*)` and `::view-transition-old(name)`
- `::view-transition-new(*)` and `::view-transition-new(name)`
2 years ago
### 2.1.1
_January 28, 2023_
2 years ago
- Improve `types` declaration in `package.json`
2 years ago
### 2.1.0
_January 19, 2023_
2 years ago
- Add support for `::slotted`
- Add support for `:host`
- Add support for `:host-context`
2 years ago
### 2.0.2
_July 8, 2022_
2 years ago
- Fix case insensitive matching.
2 years ago
### 2.0.1
_June 10, 2022_
2 years ago
- Fixed: Exception on `:nth-child` without arguments. [#439](https://github.com/csstools/postcss-plugins/issues/439)
2 years ago
### 2.0.0
_June 4, 2022_
2 years ago
- Breaking: use only named exports instead of `default`
- Added: `compare(a, b)` function to compare selectors by specificity
```diff
- `import selectorSpecificity from '@csstools/selector-specificity';`
+ `import { selectorSpecificity } from '@csstools/selector-specificity';`
```
2 years ago
### 1.0.0
_April 26, 2022_
2 years ago
- Initial version