tailwind-clamp 4.0.3 → 4.0.5
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/README.md +1 -1
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/index.umd.cjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -43,7 +43,7 @@ The plugin allows two configuration options:
|
|
|
43
43
|
Value should be a css length (`px`, `rem`, `em`). The unit for both options need to match.
|
|
44
44
|
|
|
45
45
|
```css
|
|
46
|
-
@import
|
|
46
|
+
@import "tailwindcss";
|
|
47
47
|
@plugin "tailwind-clamp" {
|
|
48
48
|
minViewportWidth: 25rem,
|
|
49
49
|
maxViewportWidth: 80rem
|
package/dist/index.js
CHANGED
|
@@ -2114,7 +2114,14 @@ const q = (t, e) => {
|
|
|
2114
2114
|
return f.reduce((P, U) => (typeof U == "string" ? P[U] = E : P = { ...P, ...U }, P), {});
|
|
2115
2115
|
}
|
|
2116
2116
|
},
|
|
2117
|
-
{ values: r("clamp") }
|
|
2117
|
+
{ values: r("clamp") },
|
|
2118
|
+
{
|
|
2119
|
+
supportsNegativeValues: !1,
|
|
2120
|
+
modifiers: {
|
|
2121
|
+
pattern: /[\w-]+(?:,[\w-]+){2}/
|
|
2122
|
+
// Matches "text,lg,3xl" format
|
|
2123
|
+
}
|
|
2124
|
+
}
|
|
2118
2125
|
);
|
|
2119
2126
|
};
|
|
2120
2127
|
});
|