tailwind-clamp 4.0.1 → 4.0.2

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.
Files changed (2) hide show
  1. package/README.md +4 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -12,6 +12,10 @@ The plugin is based on the formula presented in this [article](https://chriskirk
12
12
  - Support `text` values with multiple properties (`fontSize`, `lineHeight`, `letterSpacing`). If `lineHeight` is definded as a unitless number or a `calc()` function, the resulting value is calculated and converted to the `fontSize` unit.
13
13
  - Supports using Tailwind CSS theme values, arbitrary values or a combination.
14
14
 
15
+ ## Requirements
16
+
17
+ The current version of the plugin is designed to be used with Tailwind version 4. To use it with version 3 use version 3.x.
18
+
15
19
  ## Installation
16
20
 
17
21
  Install the plugin from npm:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tailwind-clamp",
3
- "version": "4.0.1",
3
+ "version": "4.0.2",
4
4
  "description": "Tailwind CSS plugin to use CSS clamp in your projects",
5
5
  "main": "dist/index.umd.cjs",
6
6
  "module": "dist/index.js",