Skip to content

Commit 0b7ddf3

Browse files
committed
Update README and CHANGELOG
1 parent 2c552b4 commit 0b7ddf3

File tree

3 files changed

+28
-11
lines changed

3 files changed

+28
-11
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,21 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [5.0.0] 2023-04-23
9+
10+
- Adds [Media Queries Level 4](https://www.w3.org/TR/mediaqueries-4/) - ["range"](https://www.w3.org/TR/mediaqueries-4/#mq-ranges) type feature.
11+
- Upgrade **sort-css-media-queries** to [2.2.0](https://github.com/dutchenkoOleg/sort-css-media-queries/releases/tag/v2.1.0)
12+
- Upgrade **postcss** to [8.4.23](https://github.com/postcss/postcss/releases/tag/8.4.23)
13+
- Added README translation to oz'bek language
14+
- thanks to @Khayotbek1 for the PR https://github.com/yunusga/postcss-sort-media-queries/pull/46
15+
16+
17+
## [4.4.0] 2023-04-22
18+
19+
- Added README translation to oz'bek language
20+
- thanks to @Khayotbek1 for the PR https://github.com/yunusga/postcss-sort-media-queries/pull/46
21+
- npm audit (devDependencies)
22+
823
## [4.3.0] 2022-10-06
924

1025
- Update **postcss** to [8.4.16](https://github.com/postcss/postcss/releases/tag/8.4.16)

README-UZ.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
[Releases history]: https://github.com/yunusga/postcss-sort-media-queries/blob/master/CHANGELOG.md
77

88
[![npm](https://img.shields.io/npm/v/postcss-sort-media-queries.svg)](https://www.npmjs.com/package/postcss-sort-media-queries) [![Node.js CI](https://github.com/yunusga/postcss-sort-media-queries/actions/workflows/test.yml/badge.svg?branch=main&event=status)](https://github.com/yunusga/postcss-sort-media-queries/actions/workflows/test.yml)
9+
![license](https://img.shields.io/badge/License-MIT-orange.svg)
910
[![npm](https://img.shields.io/npm/dt/postcss-sort-media-queries.svg)](https://www.npmjs.com/package/postcss-sort-media-queries)
1011

1112
<img src="logo.svg?sanitize=true" align="right" title="PostCSS sort media queries logotype" width="100" height="100">
@@ -61,7 +62,7 @@ Bu yerda: [onlayn demo](https://postcss-sort-media-queries.github.io)
6162
@media screen and (min-width: 1280px) {
6263
.mobile-first { color: #cfcfcf }
6364
}
64-
@media screen and (min-width: 640px) {
65+
@media screen and (width > 640px) {
6566
.mobile-first { color: #cfcfcf }
6667
}
6768
@media screen and (max-width: 640px) {
@@ -72,7 +73,7 @@ Bu yerda: [onlayn demo](https://postcss-sort-media-queries.github.io)
7273
**keyin**
7374

7475
```css
75-
@media screen and (min-width: 640px) {
76+
@media screen and (width > 640px) {
7677
.mobile-first { color: #cfcfcf }
7778
}
7879
@media screen and (min-width: 1280px) {
@@ -82,7 +83,7 @@ Bu yerda: [onlayn demo](https://postcss-sort-media-queries.github.io)
8283
.footer { color: #cfcfcf }
8384
}
8485
@media screen and (max-width: 640px) {
85-
/* birlashtirilgan */
86+
/* combined */
8687
.head { color: #cfcfcf }
8788
.main { color: #cfcfcf }
8889
.footer { color: #cfcfcf }
@@ -93,13 +94,13 @@ Bu yerda: [onlayn demo](https://postcss-sort-media-queries.github.io)
9394

9495
**oldin**
9596
```css
96-
@media screen and (max-width: 640px) {
97+
@media screen and (width < 640px) {
9798
.header { color: #cdcdcd }
9899
}
99100
@media screen and (min-width: 760px) {
100101
.desktop-first { color: #cdcdcd }
101102
}
102-
@media screen and (max-width: 640px) {
103+
@media screen and (width < 640px) {
103104
.main { color: #cdcdcd }
104105
}
105106
@media screen and (min-width: 1280px) {
@@ -119,7 +120,7 @@ Bu yerda: [onlayn demo](https://postcss-sort-media-queries.github.io)
119120
@media screen and (max-width: 760px) {
120121
.footer { color: #cdcdcd }
121122
}
122-
@media screen and (max-width: 640px) {
123+
@media screen and (width < 640px) {
123124
/* combined */
124125
.header { color: #cdcdcd }
125126
.main { color: #cdcdcd }

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
[Releases history]: https://github.com/yunusga/postcss-sort-media-queries/blob/master/CHANGELOG.md
77

88
[![npm](https://img.shields.io/npm/v/postcss-sort-media-queries.svg)](https://www.npmjs.com/package/postcss-sort-media-queries) [![Node.js CI](https://github.com/yunusga/postcss-sort-media-queries/actions/workflows/test.yml/badge.svg?branch=main&event=status)](https://github.com/yunusga/postcss-sort-media-queries/actions/workflows/test.yml)
9+
![license](https://img.shields.io/badge/License-MIT-orange.svg)
910
[![npm](https://img.shields.io/npm/dt/postcss-sort-media-queries.svg)](https://www.npmjs.com/package/postcss-sort-media-queries)
1011

1112
<img src="logo.svg?sanitize=true" align="right" title="PostCSS sort media queries logotype" width="100" height="100">
@@ -56,7 +57,7 @@ And here is the [online demo](https://postcss-sort-media-queries.github.io)
5657
@media screen and (min-width: 1280px) {
5758
.mobile-first { color: #cfcfcf }
5859
}
59-
@media screen and (min-width: 640px) {
60+
@media screen and (width > 640px) {
6061
.mobile-first { color: #cfcfcf }
6162
}
6263
@media screen and (max-width: 640px) {
@@ -67,7 +68,7 @@ And here is the [online demo](https://postcss-sort-media-queries.github.io)
6768
**after**
6869

6970
```css
70-
@media screen and (min-width: 640px) {
71+
@media screen and (width > 640px) {
7172
.mobile-first { color: #cfcfcf }
7273
}
7374
@media screen and (min-width: 1280px) {
@@ -88,13 +89,13 @@ And here is the [online demo](https://postcss-sort-media-queries.github.io)
8889

8990
**before**
9091
```css
91-
@media screen and (max-width: 640px) {
92+
@media screen and (width < 640px) {
9293
.header { color: #cdcdcd }
9394
}
9495
@media screen and (min-width: 760px) {
9596
.desktop-first { color: #cdcdcd }
9697
}
97-
@media screen and (max-width: 640px) {
98+
@media screen and (width < 640px) {
9899
.main { color: #cdcdcd }
99100
}
100101
@media screen and (min-width: 1280px) {
@@ -114,7 +115,7 @@ And here is the [online demo](https://postcss-sort-media-queries.github.io)
114115
@media screen and (max-width: 760px) {
115116
.footer { color: #cdcdcd }
116117
}
117-
@media screen and (max-width: 640px) {
118+
@media screen and (width < 640px) {
118119
/* combined */
119120
.header { color: #cdcdcd }
120121
.main { color: #cdcdcd }

0 commit comments

Comments
 (0)