@tailwindcss/browser 4.2.3 → 4.2.4
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.global.js +1 -1
- package/package.json +2 -2
package/dist/index.global.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(()=>{var Xt="4.2.
|
|
1
|
+
"use strict";(()=>{var Xt="4.2.4";function Ge(e){let r=[0];for(let l=0;l<e.length;l++)e.charCodeAt(l)===10&&r.push(l+1);function o(l){let s=0,a=r.length;for(;a>0;){let c=(a|0)>>1,u=s+c;r[u]<=l?(s=u+1,a=a-c-1):a=c}s-=1;let m=l-r[s];return{line:s+1,column:m}}function t({line:l,column:s}){l-=1,l=Math.min(Math.max(l,0),r.length-1);let a=r[l],m=r[l+1]??a;return Math.min(Math.max(a+s,0),m)}return{find:o,findOffset:t}}var ze=92,Ye=47,Ze=42,er=34,tr=39,Mo=58,Je=59,se=10,Qe=13,_e=32,Ue=9,rr=123,$t=125,St=40,or=41,Wo=91,Bo=93,ir=45,Tt=64,qo=33,ue=class e extends Error{loc;constructor(r,o){if(o){let t=o[0],l=Ge(t.code).find(o[1]);r=`${t.file}:${l.line}:${l.column+1}: ${r}`}super(r),this.name="CssSyntaxError",this.loc=o,Error.captureStackTrace&&Error.captureStackTrace(this,e)}};function Se(e,r){let o=r?.from?{file:r.from,code:e}:null;e[0]==="\uFEFF"&&(e=" "+e.slice(1));let t=[],l=[],s=[],a=null,m=null,c="",u="",g=0,d;for(let p=0;p<e.length;p++){let v=e.charCodeAt(p);if(!(v===Qe&&(d=e.charCodeAt(p+1),d===se)))if(v===ze)c===""&&(g=p),c+=e.slice(p,p+2),p+=1;else if(v===Ye&&e.charCodeAt(p+1)===Ze){let k=p;for(let x=p+2;x<e.length;x++)if(d=e.charCodeAt(x),d===ze)x+=1;else if(d===Ze&&e.charCodeAt(x+1)===Ye){p=x+1;break}let w=e.slice(k,p+1);if(w.charCodeAt(2)===qo){let x=Xe(w.slice(2,-2));l.push(x),o&&(x.src=[o,k,p+1],x.dst=[o,k,p+1])}}else if(v===tr||v===er){let k=nr(e,p,v,o);c+=e.slice(p,k+1),p=k}else{if((v===_e||v===se||v===Ue)&&(d=e.charCodeAt(p+1))&&(d===_e||d===se||d===Ue||d===Qe&&(d=e.charCodeAt(p+2))&&d==se))continue;if(v===se){if(c.length===0)continue;d=c.charCodeAt(c.length-1),d!==_e&&d!==se&&d!==Ue&&(c+=" ")}else if(v===ir&&e.charCodeAt(p+1)===ir&&c.length===0){let k="",w=p,x=-1;for(let C=p+2;C<e.length;C++)if(d=e.charCodeAt(C),d===ze)C+=1;else if(d===tr||d===er)C=nr(e,C,d,o);else if(d===Ye&&e.charCodeAt(C+1)===Ze){for(let y=C+2;y<e.length;y++)if(d=e.charCodeAt(y),d===ze)y+=1;else if(d===Ze&&e.charCodeAt(y+1)===Ye){C=y+1;break}}else if(x===-1&&d===Mo)x=c.length+C-w;else if(d===Je&&k.length===0){c+=e.slice(w,C),p=C;break}else if(d===St)k+=")";else if(d===Wo)k+="]";else if(d===rr)k+="}";else if((d===$t||e.length-1===C)&&k.length===0){p=C-1,c+=e.slice(w,C);break}else(d===or||d===Bo||d===$t)&&k.length>0&&e[C]===k[k.length-1]&&(k=k.slice(0,-1));let V=Nt(c,x);if(!V)throw new ue("Invalid custom property, expected a value",o?[o,w,p]:null);o&&(V.src=[o,w,p],V.dst=[o,w,p]),a?a.nodes.push(V):t.push(V),c=""}else if(v===Je&&c.charCodeAt(0)===Tt)m=De(c),o&&(m.src=[o,g,p],m.dst=[o,g,p]),a?a.nodes.push(m):t.push(m),c="",m=null;else if(v===Je&&u[u.length-1]!==")"){let k=Nt(c);if(!k){if(c.length===0)continue;throw new ue(`Invalid declaration: \`${c.trim()}\``,o?[o,g,p]:null)}o&&(k.src=[o,g,p],k.dst=[o,g,p]),a?a.nodes.push(k):t.push(k),c=""}else if(v===rr&&u[u.length-1]!==")")u+="}",m=Y(c.trim()),o&&(m.src=[o,g,p],m.dst=[o,g,p]),a&&a.nodes.push(m),s.push(a),a=m,c="",m=null;else if(v===$t&&u[u.length-1]!==")"){if(u==="")throw new ue("Missing opening {",o?[o,p,p]:null);if(u=u.slice(0,-1),c.length>0)if(c.charCodeAt(0)===Tt)m=De(c),o&&(m.src=[o,g,p],m.dst=[o,g,p]),a?a.nodes.push(m):t.push(m),c="",m=null;else{let w=c.indexOf(":");if(a){let x=Nt(c,w);if(!x)throw new ue(`Invalid declaration: \`${c.trim()}\``,o?[o,g,p]:null);o&&(x.src=[o,g,p],x.dst=[o,g,p]),a.nodes.push(x)}}let k=s.pop()??null;k===null&&a&&t.push(a),a=k,c="",m=null}else if(v===St)u+=")",c+="(";else if(v===or){if(u[u.length-1]!==")")throw new ue("Missing opening (",o?[o,p,p]:null);u=u.slice(0,-1),c+=")"}else{if(c.length===0&&(v===_e||v===se||v===Ue))continue;c===""&&(g=p),c+=String.fromCharCode(v)}}}if(c.charCodeAt(0)===Tt){let p=De(c);o&&(p.src=[o,g,e.length],p.dst=[o,g,e.length]),t.push(p)}if(u.length>0&&a){if(a.kind==="rule")throw new ue(`Missing closing } at ${a.selector}`,a.src?[a.src[0],a.src[1],a.src[1]]:null);if(a.kind==="at-rule")throw new ue(`Missing closing } at ${a.name} ${a.params}`,a.src?[a.src[0],a.src[1],a.src[1]]:null)}return l.length>0?l.concat(t):t}function De(e,r=[]){let o=e,t="";for(let l=5;l<e.length;l++){let s=e.charCodeAt(l);if(s===_e||s===Ue||s===St){o=e.slice(0,l),t=e.slice(l);break}}return M(o.trim(),t.trim(),r)}function Nt(e,r=e.indexOf(":")){if(r===-1)return null;let o=e.indexOf("!important",r+1);return i(e.slice(0,r).trim(),e.slice(r+1,o===-1?e.length:o).trim(),o!==-1)}function nr(e,r,o,t=null){let l;for(let s=r+1;s<e.length;s++)if(l=e.charCodeAt(s),l===ze)s+=1;else{if(l===o)return s;if(l===Je&&(e.charCodeAt(s+1)===se||e.charCodeAt(s+1)===Qe&&e.charCodeAt(s+2)===se))throw new ue(`Unterminated string: ${e.slice(r,s+1)+String.fromCharCode(o)}`,t?[t,r,s+1]:null);if(l===se||l===Qe&&e.charCodeAt(s+1)===se)throw new ue(`Unterminated string: ${e.slice(r,s)+String.fromCharCode(o)}`,t?[t,r,s+1]:null)}return r}function ve(e){if(arguments.length===0)throw new TypeError("`CSS.escape` requires an argument.");let r=String(e),o=r.length,t=-1,l,s="",a=r.charCodeAt(0);if(o===1&&a===45)return"\\"+r;for(;++t<o;){if(l=r.charCodeAt(t),l===0){s+="\uFFFD";continue}if(l>=1&&l<=31||l===127||t===0&&l>=48&&l<=57||t===1&&l>=48&&l<=57&&a===45){s+="\\"+l.toString(16)+" ";continue}if(l>=128||l===45||l===95||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122){s+=r.charAt(t);continue}s+="\\"+r.charAt(t)}return s}function me(e){return e.replace(/\\([\dA-Fa-f]{1,6}[\t\n\f\r ]?|[\S\s])/g,r=>{if(r.length<=2)return r[1];let o=Number.parseInt(r.slice(1).trim(),16);return o===0||o>1114111||o>=55296&&o<=57343?"\uFFFD":String.fromCodePoint(o)})}var ar=new Map([["--font",["--font-weight","--font-size"]],["--inset",["--inset-shadow","--inset-ring"]],["--text",["--text-color","--text-decoration-color","--text-decoration-thickness","--text-indent","--text-shadow","--text-underline-offset"]],["--grid-column",["--grid-column-start","--grid-column-end"]],["--grid-row",["--grid-row-start","--grid-row-end"]]]);function lr(e,r){return(ar.get(r)??[]).some(o=>e===o||e.startsWith(`${o}-`))}var et=class{constructor(r=new Map,o=new Set([])){this.values=r;this.keyframes=o}prefix=null;get size(){return this.values.size}add(r,o,t=0,l){if(r.endsWith("-*")){if(o!=="initial")throw new Error(`Invalid theme value \`${o}\` for namespace \`${r}\``);r==="--*"?this.values.clear():this.clearNamespace(r.slice(0,-2),0)}if(t&4){let s=this.values.get(r);if(s&&!(s.options&4))return}o==="initial"?this.values.delete(r):this.values.set(r,{value:o,options:t,src:l})}keysInNamespaces(r){let o=[];for(let t of r){let l=`${t}-`;for(let s of this.values.keys())s.startsWith(l)&&s.indexOf("--",2)===-1&&(lr(s,t)||o.push(s.slice(l.length)))}return o}get(r){for(let o of r){let t=this.values.get(o);if(t)return t.value}return null}hasDefault(r){return(this.getOptions(r)&4)===4}getOptions(r){return r=me(this.#r(r)),this.values.get(r)?.options??0}entries(){return this.prefix?Array.from(this.values,r=>(r[0]=this.prefixKey(r[0]),r)):this.values.entries()}prefixKey(r){return this.prefix?`--${this.prefix}-${r.slice(2)}`:r}#r(r){return this.prefix?`--${r.slice(3+this.prefix.length)}`:r}clearNamespace(r,o){let t=ar.get(r)??[];e:for(let l of this.values.keys())if(l.startsWith(r)){if(o!==0&&(this.getOptions(l)&o)!==o)continue;for(let s of t)if(l.startsWith(s))continue e;this.values.delete(l)}}#e(r,o){for(let t of o){let l=r!==null?`${t}-${r}`:t;if(!this.values.has(l))if(r!==null&&r.includes(".")){if(l=`${t}-${r.replaceAll(".","_")}`,!this.values.has(l))continue}else continue;if(!lr(l,t))return l}return null}#t(r){let o=this.values.get(r);if(!o)return null;let t=null;return o.options&2&&(t=o.value),`var(${ve(this.prefixKey(r))}${t?`, ${t}`:""})`}markUsedVariable(r){let o=me(this.#r(r)),t=this.values.get(o);if(!t)return!1;let l=t.options&16;return t.options|=16,!l}resolve(r,o,t=0){let l=this.#e(r,o);if(!l)return null;let s=this.values.get(l);return(t|s.options)&1?s.value:this.#t(l)}resolveValue(r,o){let t=this.#e(r,o);return t?this.values.get(t).value:null}resolveWith(r,o,t=[]){let l=this.#e(r,o);if(!l)return null;let s={};for(let m of t){let c=`${l}${m}`,u=this.values.get(c);u&&(u.options&1?s[m]=u.value:s[m]=this.#t(c))}let a=this.values.get(l);return a.options&1?[a.value,s]:[this.#t(l),s]}namespace(r){let o=new Map,t=`${r}-`;for(let[l,s]of this.values)l===r?o.set(null,s.value):l.startsWith(`${t}-`)?o.set(l.slice(r.length),s.value):l.startsWith(t)&&o.set(l.slice(t.length),s.value);return o}addKeyframes(r){this.keyframes.add(r)}getKeyframes(){return Array.from(this.keyframes)}};var H=class extends Map{constructor(o){super();this.factory=o}get(o){let t=super.get(o);return t===void 0&&(t=this.factory(o,this),this.set(o,t)),t}};function Ke(e){return{kind:"word",value:e}}function Ho(e,r){return{kind:"function",value:e,nodes:r}}function Go(e){return{kind:"separator",value:e}}function J(e){let r="";for(let o of e)switch(o.kind){case"word":case"separator":{r+=o.value;break}case"function":r+=o.value+"("+J(o.nodes)+")"}return r}var sr=92,Yo=41,ur=58,cr=44,Zo=34,fr=61,pr=62,dr=60,mr=10,Jo=40,Qo=39,Xo=47,hr=32,gr=9;function G(e){e=e.replaceAll(`\r
|
|
2
2
|
`,`
|
|
3
3
|
`);let r=[],o=[],t=null,l="",s;for(let a=0;a<e.length;a++){let m=e.charCodeAt(a);switch(m){case sr:{l+=e[a]+e[a+1],a++;break}case Xo:{if(l.length>0){let u=Ke(l);t?t.nodes.push(u):r.push(u),l=""}let c=Ke(e[a]);t?t.nodes.push(c):r.push(c);break}case ur:case cr:case fr:case pr:case dr:case mr:case hr:case gr:{if(l.length>0){let d=Ke(l);t?t.nodes.push(d):r.push(d),l=""}let c=a,u=a+1;for(;u<e.length&&(s=e.charCodeAt(u),!(s!==ur&&s!==cr&&s!==fr&&s!==pr&&s!==dr&&s!==mr&&s!==hr&&s!==gr));u++);a=u-1;let g=Go(e.slice(c,u));t?t.nodes.push(g):r.push(g);break}case Qo:case Zo:{let c=a;for(let u=a+1;u<e.length;u++)if(s=e.charCodeAt(u),s===sr)u+=1;else if(s===m){a=u;break}l+=e.slice(c,a+1);break}case Jo:{let c=Ho(l,[]);l="",t?t.nodes.push(c):r.push(c),o.push(c),t=c;break}case Yo:{let c=o.pop();if(l.length>0){let u=Ke(l);c?.nodes.push(u),l=""}o.length>0?t=o[o.length-1]:t=null;break}default:l+=String.fromCharCode(m)}}return l.length>0&&r.push(Ke(l)),r}var Vt=(a=>(a[a.Continue=0]="Continue",a[a.Skip=1]="Skip",a[a.Stop=2]="Stop",a[a.Replace=3]="Replace",a[a.ReplaceSkip=4]="ReplaceSkip",a[a.ReplaceStop=5]="ReplaceStop",a))(Vt||{}),O={Continue:{kind:0},Skip:{kind:1},Stop:{kind:2},Replace:e=>({kind:3,nodes:Array.isArray(e)?e:[e]}),ReplaceSkip:e=>({kind:4,nodes:Array.isArray(e)?e:[e]}),ReplaceStop:e=>({kind:5,nodes:Array.isArray(e)?e:[e]})};function U(e,r){typeof r=="function"?kr(e,r):kr(e,r.enter,r.exit)}function kr(e,r=()=>O.Continue,o=()=>O.Continue){let t={value:[e,0,null],prev:null},l={parent:null,depth:0,path(){let s=[],a=t;for(;a;){let m=a.value[2];m&&s.push(m),a=a.prev}return s.reverse(),s}};for(;t!==null;){let s=t.value,a=s[0],m=s[1],c=s[2];if(m>=a.length){t=t.prev,l.depth-=1;continue}if(l.parent=c,m>=0){let p=a[m],v=r(p,l)??O.Continue;switch(v.kind){case 0:{p.nodes&&p.nodes.length>0&&(l.depth+=1,t={value:[p.nodes,0,p],prev:t}),s[1]=~m;continue}case 2:return;case 1:{s[1]=~m;continue}case 3:{a.splice(m,1,...v.nodes);continue}case 5:{a.splice(m,1,...v.nodes);return}case 4:{a.splice(m,1,...v.nodes),s[1]+=v.nodes.length;continue}default:throw new Error(`Invalid \`WalkAction.${Vt[v.kind]??`Unknown(${v.kind})`}\` in enter.`)}}let u=~m,g=a[u],d=o(g,l)??O.Continue;switch(d.kind){case 0:s[1]=u+1;continue;case 2:return;case 3:{a.splice(u,1,...d.nodes),s[1]=u+d.nodes.length;continue}case 5:{a.splice(u,1,...d.nodes);return}case 4:{a.splice(u,1,...d.nodes),s[1]=u+d.nodes.length;continue}default:throw new Error(`Invalid \`WalkAction.${Vt[d.kind]??`Unknown(${d.kind})`}\` in exit.`)}}}function tt(e){let r=[];return U(G(e),o=>{if(!(o.kind!=="function"||o.value!=="var"))return U(o.nodes,t=>{t.kind!=="word"||t.value[0]!=="-"||t.value[1]!=="-"||r.push(t.value)}),O.Skip}),r}var ei=64;function q(e,r=[]){return{kind:"rule",selector:e,nodes:r}}function M(e,r="",o=[]){return{kind:"at-rule",name:e,params:r,nodes:o}}function Y(e,r=[]){return e.charCodeAt(0)===ei?De(e,r):q(e,r)}function i(e,r,o=!1){return{kind:"declaration",property:e,value:r,important:o}}function Xe(e){return{kind:"comment",value:e}}function pe(e,r){return{kind:"context",context:e,nodes:r}}function I(e){return{kind:"at-root",nodes:e}}function re(e){switch(e.kind){case"rule":return{kind:e.kind,selector:e.selector,nodes:e.nodes.map(re),src:e.src,dst:e.dst};case"at-rule":return{kind:e.kind,name:e.name,params:e.params,nodes:e.nodes.map(re),src:e.src,dst:e.dst};case"at-root":return{kind:e.kind,nodes:e.nodes.map(re),src:e.src,dst:e.dst};case"context":return{kind:e.kind,context:{...e.context},nodes:e.nodes.map(re),src:e.src,dst:e.dst};case"declaration":return{kind:e.kind,property:e.property,value:e.value,important:e.important,src:e.src,dst:e.dst};case"comment":return{kind:e.kind,value:e.value,src:e.src,dst:e.dst};default:throw new Error(`Unknown node kind: ${e.kind}`)}}function Le(e){return{depth:e.depth,get context(){let r={};for(let o of e.path())o.kind==="context"&&Object.assign(r,o.context);return Object.defineProperty(this,"context",{value:r}),r},get parent(){let r=this.path().pop()??null;return Object.defineProperty(this,"parent",{value:r}),r},path(){return e.path().filter(r=>r.kind!=="context")}}}function Ce(e,r,o=3){let t=[],l=new Set,s=new H(()=>new Set),a=new H(()=>new Set),m=new Set,c=new Set,u=[],g=[],d=new H(()=>new Set);function p(k,w,x={},V=0){if(k.kind==="declaration"){if(k.property==="--tw-sort"||k.value===void 0||k.value===null)return;if(x.theme&&k.property[0]==="-"&&k.property[1]==="-"){if(k.value==="initial"){k.value=void 0;return}x.keyframes||s.get(w).add(k)}if(k.value.includes("var("))if(x.theme&&k.property[0]==="-"&&k.property[1]==="-")for(let C of tt(k.value))d.get(C).add(k.property);else r.trackUsedVariables(k.value);if(k.property==="animation")for(let C of vr(k.value))c.add(C);o&2&&k.value.includes("color-mix(")&&!x.supportsColorMix&&!x.keyframes&&a.get(w).add(k),w.push(k)}else if(k.kind==="rule"){let C=[];for(let R of k.nodes)p(R,C,x,V+1);let y={},K=new Set;for(let R of C){if(R.kind!=="declaration")continue;let P=`${R.property}:${R.value}:${R.important}`;y[P]??=[],y[P].push(R)}for(let R in y)for(let P=0;P<y[R].length-1;++P)K.add(y[R][P]);if(K.size>0&&(C=C.filter(R=>!K.has(R))),C.length===0)return;k.selector==="&"?w.push(...C):w.push({...k,nodes:C})}else if(k.kind==="at-rule"&&k.name==="@property"&&V===0){if(l.has(k.params))return;if(o&1){let y=k.params,K=null,R=!1;for(let L of k.nodes)L.kind==="declaration"&&(L.property==="initial-value"?K=L.value:L.property==="inherits"&&(R=L.value==="true"));let P=i(y,K??"initial");P.src=k.src,R?u.push(P):g.push(P)}l.add(k.params);let C={...k,nodes:[]};for(let y of k.nodes)p(y,C.nodes,x,V+1);w.push(C)}else if(k.kind==="at-rule"){k.name==="@keyframes"?x={...x,keyframes:!0}:k.name==="@supports"&&k.params.includes("color-mix(")&&(x={...x,supportsColorMix:!0});let C={...k,nodes:[]};for(let y of k.nodes)p(y,C.nodes,x,V+1);k.name==="@keyframes"&&x.theme&&m.add(C),(C.nodes.length>0||C.name==="@layer"||C.name==="@charset"||C.name==="@custom-media"||C.name==="@namespace"||C.name==="@import")&&w.push(C)}else if(k.kind==="at-root")for(let C of k.nodes){let y=[];p(C,y,x,0);for(let K of y)t.push(K)}else if(k.kind==="context"){if(k.context.reference)return;for(let C of k.nodes)p(C,w,{...x,...k.context},V)}else k.kind==="comment"&&w.push(k)}let v=[];for(let k of e)p(k,v,{},0);e:for(let[k,w]of s)for(let x of w){if(wr(x.property,r.theme,d)){if(x.property.startsWith(r.theme.prefixKey("--animate-")))for(let y of vr(x.value))c.add(y);continue}let C=k.indexOf(x);if(k.splice(C,1),k.length===0){let y=ti(v,K=>K.kind==="rule"&&K.nodes===k);if(!y||y.length===0)continue e;y.unshift({kind:"at-root",nodes:v});do{let K=y.pop();if(!K)break;let R=y[y.length-1];if(!R||R.kind!=="at-root"&&R.kind!=="at-rule")break;let P=R.nodes.indexOf(K);if(P===-1)break;R.nodes.splice(P,1)}while(!0);continue e}}for(let k of m)if(!c.has(k.params)){let w=t.indexOf(k);t.splice(w,1)}if(v=v.concat(t),o&2)for(let[k,w]of a)for(let x of w){let V=k.indexOf(x);if(V===-1||x.value==null)continue;let C=G(x.value),y=!1;if(U(C,P=>{if(P.kind!=="function"||P.value!=="color-mix")return;let L=!1,_=!1;if(U(P.nodes,j=>{if(j.kind=="word"&&j.value.toLowerCase()==="currentcolor"){_=!0,y=!0;return}let W=j,B=null,le=new Set;do{if(W.kind!=="function"||W.value!=="var")return;let ae=W.nodes[0];if(!ae||ae.kind!=="word")return;let n=ae.value;if(le.has(n)){L=!0;return}if(le.add(n),y=!0,B=r.theme.resolveValue(null,[ae.value]),!B){L=!0;return}if(B.toLowerCase()==="currentcolor"){_=!0;return}B.startsWith("var(")?W=G(B)[0]:W=null}while(W);return O.Replace({kind:"word",value:B})}),L||_){let j=P.nodes.findIndex(B=>B.kind==="separator"&&B.value.trim().includes(","));if(j===-1)return;let W=P.nodes.length>j?P.nodes[j+1]:null;return W?O.Replace(W):void 0}else if(y){let j=P.nodes[2];j.kind==="word"&&(j.value==="oklab"||j.value==="oklch"||j.value==="lab"||j.value==="lch")&&(j.value="srgb")}}),!y)continue;let K={...x,value:J(C)},R=Y("@supports (color: color-mix(in lab, red, red))",[x]);R.src=x.src,k.splice(V,1,K,R)}if(o&1){let k=[];if(u.length>0){let w=Y(":root, :host",u);w.src=u[0].src,k.push(w)}if(g.length>0){let w=Y("*, ::before, ::after, ::backdrop",g);w.src=g[0].src,k.push(w)}if(k.length>0){let w=v.findIndex(C=>!(C.kind==="comment"||C.kind==="at-rule"&&(C.name==="@charset"||C.name==="@import"))),x=M("@layer","properties",[]);x.src=k[0].src,v.splice(w<0?v.length:w,0,x);let V=Y("@layer properties",[M("@supports","((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b))))",k)]);V.src=k[0].src,V.nodes[0].src=k[0].src,v.push(V)}}return v}function ie(e,r){let o=0,t={file:null,code:""};function l(a,m=0){let c="",u=" ".repeat(m);if(a.kind==="declaration"){if(c+=`${u}${a.property}: ${a.value}${a.important?" !important":""};
|
|
4
4
|
`,r){o+=u.length;let g=o;o+=a.property.length,o+=2,o+=a.value?.length??0,a.important&&(o+=11);let d=o;o+=2,a.dst=[t,g,d]}}else if(a.kind==="rule"){if(c+=`${u}${a.selector} {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tailwindcss/browser",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.4",
|
|
4
4
|
"description": "A utility-first CSS framework for rapidly building custom user interfaces.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/index.global.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"h3": "^1.15.5",
|
|
28
28
|
"listhen": "^1.9.0",
|
|
29
|
-
"tailwindcss": "4.2.
|
|
29
|
+
"tailwindcss": "4.2.4"
|
|
30
30
|
},
|
|
31
31
|
"scripts": {
|
|
32
32
|
"lint": "tsc --noEmit",
|