tailwind-clamp 4.1.0 → 4.1.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.
- package/dist/index.js +3 -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/dist/index.js
CHANGED
|
@@ -2256,7 +2256,9 @@ const Xn = ct.withOptions(function(t = {}) {
|
|
|
2256
2256
|
}
|
|
2257
2257
|
let L = q(o().theme[E][s[1]] || s[1]), V = q(o().theme[E][s[2]] || s[2]);
|
|
2258
2258
|
if (h === "spacing") {
|
|
2259
|
-
const k = q(
|
|
2259
|
+
const k = q(
|
|
2260
|
+
typeof r("spacing") == "string" ? r("spacing") : r("spacing.1")
|
|
2261
|
+
), W = /^-?\d*\.?\d+$/.test(s[1]), pe = /^-?\d*\.?\d+$/.test(s[2]);
|
|
2260
2262
|
W && (L = {
|
|
2261
2263
|
number: k.number * parseFloat(s[1]),
|
|
2262
2264
|
unit: k.unit
|