@whenessel/seql-js 1.6.0 → 1.6.1
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/seql-js.js +13 -1
- package/dist/seql-js.js.map +1 -1
- package/dist/seql-js.umd.cjs +3 -3
- package/dist/seql-js.umd.cjs.map +1 -1
- package/package.json +1 -1
package/dist/seql-js.js
CHANGED
|
@@ -188,7 +188,14 @@ const fe = "1.0", ge = 10, U = {
|
|
|
188
188
|
matchUrlsByPathOnly: !0
|
|
189
189
|
};
|
|
190
190
|
function P(r) {
|
|
191
|
-
|
|
191
|
+
if (/^[a-z]+-\d+$/i.test(r) || /^[a-z]+(-[a-z]+)+-\d+$/i.test(r) || /^[a-z]+(_[a-z]+)*_\d+$/i.test(r) || /^\d+$/.test(r) || /^:[a-z0-9]+:$/i.test(r) || /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/i.test(r))
|
|
192
|
+
return !0;
|
|
193
|
+
if (/^[a-z]{1,3}[A-Za-z0-9]{8,}$/.test(r)) {
|
|
194
|
+
const t = /\d/.test(r), e = /[A-Z]/.test(r), s = r.length >= 20;
|
|
195
|
+
if (t && e || s)
|
|
196
|
+
return !0;
|
|
197
|
+
}
|
|
198
|
+
return !!(/^radix-/.test(r) || /^mui-\d+$/.test(r));
|
|
192
199
|
}
|
|
193
200
|
const Q = /* @__PURE__ */ new Set([
|
|
194
201
|
"aria-labelledby",
|
|
@@ -385,6 +392,11 @@ const At = [
|
|
|
385
392
|
/^(rtl|ltr):/,
|
|
386
393
|
// === FIX 4: Group and peer variants ===
|
|
387
394
|
/^(group|peer)(-hover|-focus|-active)?:/,
|
|
395
|
+
// === Arbitrary pseudo-class/modifier variants (catch-all) ===
|
|
396
|
+
// Matches any lowercase/hyphenated prefix followed by colon
|
|
397
|
+
// e.g., file:bg-transparent, placeholder:text-gray, invalid:border-red, accept:text-primary
|
|
398
|
+
// Must come AFTER semantic pattern checks to avoid false positives
|
|
399
|
+
/^[a-z][a-z-]*:/,
|
|
388
400
|
// === FIX 4: Tailwind utilities with fraction values ===
|
|
389
401
|
/\/([\d.]+|full|auto|screen)$/,
|
|
390
402
|
// /50, /100, /full, /auto, /screen
|