@csstools/postcss-content-alt-text 2.0.4 → 2.0.6
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 +5 -4
- package/README.md +3 -3
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
# Changes to PostCSS Content Alt Text
|
|
2
2
|
|
|
3
|
-
### 2.0.
|
|
3
|
+
### 2.0.6
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
_May 27, 2025_
|
|
6
6
|
|
|
7
|
-
- Updated [`@csstools/css-tokenizer`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer) to [`3.0.
|
|
8
|
-
- Updated [`@csstools/
|
|
7
|
+
- Updated [`@csstools/css-tokenizer`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer) to [`3.0.4`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer/CHANGELOG.md#304) (patch)
|
|
8
|
+
- Updated [`@csstools/postcss-progressive-custom-properties`](https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-progressive-custom-properties) to [`4.1.0`](https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-progressive-custom-properties/CHANGELOG.md#410) (minor)
|
|
9
|
+
- Updated [`@csstools/css-parser-algorithms`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms) to [`3.0.5`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms/CHANGELOG.md#305) (patch)
|
|
9
10
|
|
|
10
11
|
[Full CHANGELOG](https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-content-alt-text/CHANGELOG.md)
|
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
[PostCSS Content Alt Text] generates fallback values for `content` with alt text following the [CSS Generated Content Module].
|
|
6
6
|
|
|
7
|
-
```
|
|
7
|
+
```css
|
|
8
8
|
.foo {
|
|
9
9
|
content: url(tree.jpg) / "A beautiful tree in a dark forest";
|
|
10
10
|
}
|
|
@@ -58,7 +58,7 @@ is preserved. By default, it is preserved.
|
|
|
58
58
|
postcssContentAltText({ preserve: false })
|
|
59
59
|
```
|
|
60
60
|
|
|
61
|
-
```
|
|
61
|
+
```css
|
|
62
62
|
.foo {
|
|
63
63
|
content: url(tree.jpg) / "A beautiful tree in a dark forest";
|
|
64
64
|
}
|
|
@@ -90,7 +90,7 @@ Only set this to `true` if you are sure the alt text is not needed.
|
|
|
90
90
|
postcssContentAltText({ stripAltText: true })
|
|
91
91
|
```
|
|
92
92
|
|
|
93
|
-
```
|
|
93
|
+
```css
|
|
94
94
|
.foo {
|
|
95
95
|
content: url(tree.jpg) / "A beautiful tree in a dark forest";
|
|
96
96
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@csstools/postcss-content-alt-text",
|
|
3
3
|
"description": "Generate fallback values for content with alt text",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.6",
|
|
5
5
|
"contributors": [
|
|
6
6
|
{
|
|
7
7
|
"name": "Antonio Laguna",
|
|
@@ -48,9 +48,9 @@
|
|
|
48
48
|
"dist"
|
|
49
49
|
],
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@csstools/css-parser-algorithms": "^3.0.
|
|
52
|
-
"@csstools/css-tokenizer": "^3.0.
|
|
53
|
-
"@csstools/postcss-progressive-custom-properties": "^4.
|
|
51
|
+
"@csstools/css-parser-algorithms": "^3.0.5",
|
|
52
|
+
"@csstools/css-tokenizer": "^3.0.4",
|
|
53
|
+
"@csstools/postcss-progressive-custom-properties": "^4.1.0",
|
|
54
54
|
"@csstools/utilities": "^2.0.0"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|