Socket
Socket
Sign inDemoInstall

@stitches/core

Package Overview
Dependencies
Maintainers
3
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stitches/core - npm Package Compare versions

Comparing version 0.1.0-canary.14 to 0.1.0-canary.15

2

dist/index.iife.js

@@ -1,2 +0,2 @@

(()=>{var{toPrimitive:t}=Symbol,e=Symbol.for("sxs.composers"),{assign:n,create:r,defineProperties:o,getOwnPropertyDescriptors:s}=Object,i=(e,r,i)=>n(o(e,s(i)),{[t]:()=>e[r],toString:()=>e[r]}),{from:a,isArray:l}=Array,{ownKeys:c}=Reflect,d=class extends Set{toString(){return a(this).join("")}get hasChanged(){const{size:t}=this;return()=>t<this.size}},g=d;d.prototype[t]=d.prototype.toString;var p=(t,e)=>t.reduce(((t,n)=>(t.push(...e.map((t=>/[ +>|~]/.test(n)&&/&[^]*&/.test(t)?t.replace(/&/g,`:is(${n})`):/&/.test(t)?t.replace(/&/g,n):t.replace(/^/,n+" ")))),t)),[]),h=t=>t!==Object(t)||!(t.constructor===Object||null==t.constructor),f=/([+-])?((?:\d+(?:\.\d*)?|\.\d+)(?:[Ee][+-]?\d+)?)?(\$|--)([$\w-]+)/g,u=/(art|dth|End|[Gg]ap|eft|[Hh]eight|op|[Rr]ight|[^b]Size|^size|us)$/,m=t=>/^\$/.test(t)?"-"+t.replace(/\$/g,"-"):t.replace(/[A-Z]/g,(t=>"-"+t.toLowerCase())),b=(t,e,n)=>u.test(t)&&Number(e)?String(e)+"px":String(e).replace(f,((e,r,o,s,i)=>"$"==s==!!o?e:(r||"--"==s?"calc(":"")+"var("+("$"===s?"--"+(!/\$/.test(i)&&t in n?n[t]+"-":"")+i.replace(/\$/g,"-"):s+i)+")"+(r||"--"==s?"*"+(r||"")+(o||"1")+")":""))),S=t=>{const{conditions:e,themeMap:n,utils:r}=t,o=Symbol.for("sxs.isOpen"),s=/\s*,\s*(?![^()]*\))/;return i=>{let a="";const c=[];let d,g;const f=(i,u)=>{const{when:S,...y}=i;S&&(y.when=S);for(let S of Reflect.ownKeys(y)){let w=y[S];const B=64==S.charCodeAt(0);w=B&&l(w)?w:[w];t:for(let l of w)if(h(l)){for(const t of c)t[o]||(a+=t,a+="{",t[o]=!0);if(u.length&&!u[o]&&(a+=u.join(", "),a+="{",u[o]=!0),S in r&&(S!=g||i!=d)){const e=r[S](t)(l);if(void 0!==e){e===Object(e)&&(g=S,f(d=e,u));continue t}}const e=B?S:m(S),s=B?l:b(S,l,n);a+=e+(B?" ":":")+s+";"}else{const t=(t,e,n)=>{const r=t?c.push(Object(e)):c.length;if(u.length&&u[o]&&(a+="}",u[o]=!1),f(n,t?u:u.length?p(u,e.split(s)):e.split(s)),t&&r)for(const t of c.splice(r-1))a+="}",t[o]=!1};if("when"===S)for(const n in l)t(!0,n in e?e[n]:n,l[n]);else t(B,S,l)}}u.length&&u[o]&&(a+="}",u[o]=!1)};return f(Object(i),[]),a}},y="colors",w="sizes",B="space",k={gap:B,gridGap:B,columnGap:B,gridColumnGap:B,rowGap:B,gridRowGap:B,inset:B,insetBlock:B,insetBlockEnd:B,insetBlockStart:B,insetInline:B,insetInlineEnd:B,insetInlineStart:B,margin:B,marginTop:B,marginRight:B,marginBottom:B,marginLeft:B,marginBlock:B,marginBlockEnd:B,marginBlockStart:B,marginInline:B,marginInlineEnd:B,marginInlineStart:B,padding:B,paddingTop:B,paddingRight:B,paddingBottom:B,paddingLeft:B,paddingBlock:B,paddingBlockEnd:B,paddingBlockStart:B,paddingInline:B,paddingInlineEnd:B,paddingInlineStart:B,top:B,right:B,bottom:B,left:B,scrollMargin:B,scrollMarginTop:B,scrollMarginRight:B,scrollMarginBottom:B,scrollMarginLeft:B,scrollMarginX:B,scrollMarginY:B,scrollMarginBlock:B,scrollMarginBlockEnd:B,scrollMarginBlockStart:B,scrollMarginInline:B,scrollMarginInlineEnd:B,scrollMarginInlineStart:B,scrollPadding:B,scrollPaddingTop:B,scrollPaddingRight:B,scrollPaddingBottom:B,scrollPaddingLeft:B,scrollPaddingX:B,scrollPaddingY:B,scrollPaddingBlock:B,scrollPaddingBlockEnd:B,scrollPaddingBlockStart:B,scrollPaddingInline:B,scrollPaddingInlineEnd:B,scrollPaddingInlineStart:B,fontSize:"fontSizes",background:y,backgroundColor:y,backgroundImage:y,border:y,borderBlock:y,borderBlockEnd:y,borderBlockStart:y,borderBottom:y,borderBottomColor:y,borderColor:y,borderInline:y,borderInlineEnd:y,borderInlineStart:y,borderLeft:y,borderLeftColor:y,borderRight:y,borderRightColor:y,borderTop:y,borderTopColor:y,caretColor:y,color:y,columnRuleColor:y,fill:y,outlineColor:y,stroke:y,textDecorationColor:y,fontFamily:"fonts",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",blockSize:w,minBlockSize:w,maxBlockSize:w,inlineSize:w,minInlineSize:w,maxInlineSize:w,width:w,minWidth:w,maxWidth:w,height:w,minHeight:w,maxHeight:w,flexBasis:w,borderWidth:"borderWidths",borderTopWidth:"borderWidths",borderRightWidth:"borderWidths",borderBottomWidth:"borderWidths",borderLeftWidth:"borderWidths",borderStyle:"borderStyles",borderTopStyle:"borderStyles",borderRightStyle:"borderStyles",borderBottomStyle:"borderStyles",borderLeftStyle:"borderStyles",borderRadius:"radii",borderTopLeftRadius:"radii",borderTopRightRadius:"radii",borderBottomRightRadius:"radii",borderBottomLeftRadius:"radii",boxShadow:"shadows",textShadow:"shadows",transition:"transitions",zIndex:"zIndices"},j=t=>{const e={};for(const n in t)for(const r in t[n])e["$"+n+"-"+r]=String(t[n][r]).replace(/\$[$\w-]+/g,(t=>/[^]\$/.test(t)?t:"$"+n+t));return e},C=(t,e)=>{for(var n=JSON.stringify(e),r=n.length,o=9;r;)o=Math.imul(o^n.charCodeAt(--r),9**9);return t+(o^o>>>9).toString(36).slice(-5)},I=class{constructor(t,e,n){this.value=t,this.token=e,this.scale=n}get computedValue(){return"var("+this.variable+")"}get variable(){return"--"+this.scale+"-"+this.token}toString(){return this.computedValue}},O=class extends Array{toString(){return this.join("")}get hasChanged(){const t=String(this);return()=>t!==String(this)}},N=O;O.prototype[t]=O.prototype.toString;var x=t=>{const e="append"===t.insertMethod;let r=null,o=null;return t=>{"object"==typeof document&&(r||(r=document.head||document.documentElement),o||(o=document.getElementById("stitches")||n(document.createElement("style"),{id:"stitches"})),o.parentNode||r[e?"append":"prepend"](o),o.textContent=t)}},M=t=>{t=Object(t);const o=n({initial:"@media all"},t.conditions),s=Object(t.theme),l=Object(t.themeMap||k),d=Object(t.utils),p=new Set([].concat(t.passthru||["as","className"])),h=t.prefix||"sx",f=("function"==typeof t.insertMethod?t.insertMethod:x)(t),u="03kze",m={theme:s,conditions:o,prefix:h,themeMap:l,utils:d},b=S(m),y=new g,w=new g,B=new g,O=new g,M=new g([y,w,B,O]);let E="";const R=()=>{const t=a(M).join("");E!==t&&f(E=t)},P=(t,e)=>{e=t===Object(t)?t:Object(e),t="string"==typeof t?t:"";const n=j(e),o=(t=t||C(h,n)).replace(/^\w/,".$&"),s=t===h+u?"":b({[o]:n}),a=i(r(null),"className",{className:t,selector:o});for(const t in e){a[t]=r(null);for(const n in e[t])a[t][n]=new I(e[t][n],n,t)}return i(a,"className",{get className(){const{hasChanged:e}=w;return w.add(s),e()&&R(),t},selector:o})},v=t=>{const e=new g,n=new g;for(const r in t)if(t[r]!==Object(t[r])||c(t[r]).length){const o=b({[r]:t[r]});("@import"===r?e:n).add(o)}const o=i(r(null),"displayName",{displayName:""});return i((()=>{let t=y.hasChanged,r=B.hasChanged;return e.forEach((t=>{y.add(t)})),n.forEach((t=>{B.add(t)})),(t()||r())&&R(),o}),"displayName",o)},z=t=>{const e=new g,n=new N,s=new g,i=new g([e,n,s]);let{variants:a,compoundVariants:l,defaultVariants:d,...p}=t;d=Object(d);const f=C(h,t),m="."+f,S=f===h+u?"":b({[m]:p});O.add(i);const y=r(null),w=[],B=[];for(const t in a)for(const e in a[t]){const n=a[t][e];B.push({[t]:e,css:n})}B.push(...l||[]);for(const t in B){const{css:e,...s}=B[t],i=c(s),a=i.length;for(const t of i)y[t]=y[t]||r(null),y[t][s[t]]=!0;const l=(t,r)=>{t={...t};for(const e in r)void 0!==t[e]||Object(y[e])[t[e]]||(t[e]=r[e]);const l=new Set;if(i.length&&i.every((e=>{const n=t[e],r=String(s[e]);if(r===String(n))return!0;if(n===Object(n))for(const t in n)if(r==String(n[t]))return l.add(t),!0}))){let t=Object(e);for(const e of l)t={[e in o?o[e]:e]:t};const r=f+C("",t)+"--"+(1===a?i[0]+"-"+s[i[0]]:"c"+a),c=b({["."+r]:t});return(n[a-1]||(n[a-1]=new g)).add(c),r}};w.push(l)}return{apply(t,r,o){const s=e.hasChanged,a=n.hasChanged;if(e.add(S),t){r.add(f);for(const e of w){const n=e(t,o);n&&r.add(n)}}if(s()||a())return O.add(i),!0},inline(t,e){const n=C("-",t),r=f==="-"+n?"":b({[m+n]:t});e.add(f+n);const{hasChanged:o}=s;return r&&s.add(r),o()},className:f,defaultVariants:d,selector:m,variantProps:y}},$=P(":root",s),W=i({css:(...t)=>{let o,s,l=[],c=r(null);for(const r of t)if(e in Object(r)){o=r.type||o;for(const t of r[e])l.push(t),n(c,t.defaultVariants)}else r&&"object"==typeof r&&!("type"in r)?(l.push(s=z(r)),n(c,s.defaultVariants)):o=("type"in Object(r)?r.type:r)||o;return s=s||z({}),i((t=>{const{css:n,...o}=Object(t),d=new Set;let g,h=!1;for(const t of l)h=t.apply(o,d,c)||h;n===Object(n)&&(g=s.inline(n,d)),(h||g)&&R();for(const t in s.variantProps)p.has(t)||delete o[t];"className"in o&&String(o.className).split(/\s+/).forEach(d.add,d);const f=a(d);return o.className=f.join(" "),i(r(null),"className",{get[e](){return l},className:o.className,props:o,selector:s.selector})}),"className",{get[e](){return l},get className(){return s.apply()&&R(),s.className},selector:s.selector,type:o})},config:m,global:v,keyframes:t=>{const e=C(h,t);return n(v({["@keyframes "+e]:t}),{displayName:e})},prefix:h,reset:()=>(y.clear(),w.clear(),B.clear(),O.clear(),$.className,W),theme:n(P,$),get cssText(){return E},getCssString:()=>E},"cssText",{});return W},E=()=>E.config||(E.config=M()),R=(...t)=>E().css(...t),P=(...t)=>E().global(...t),v=(...t)=>E().keyframes(...t);globalThis.stitches=M;stitches.createCss=M;stitches.css=R;stitches.defaultThemeMap=k;stitches.global=P;stitches.keyframes=v})()
(()=>{var{toPrimitive:t}=Symbol,e=Symbol.for("sxs.composers"),{assign:n,create:r,defineProperties:o,getOwnPropertyDescriptors:s}=Object,i=(e,r,i)=>n(o(e,s(i)),{[t]:()=>e[r],toString:()=>e[r]}),{from:a,isArray:l}=Array,{ownKeys:c}=Reflect,d=class extends Set{toString(){return a(this).join("")}get hasChanged(){const{size:t}=this;return()=>t<this.size}},g=d;d.prototype[t]=d.prototype.toString;var h=(t,e)=>t.reduce(((t,n)=>(t.push(...e.map((t=>/[ +>|~]/.test(n)&&/&[^]*&/.test(t)?t.replace(/&/g,`:is(${n})`):/&/.test(t)?t.replace(/&/g,n):t.replace(/^/,n+" ")))),t)),[]),p=t=>t!==Object(t)||!(t.constructor===Object||null==t.constructor),f=/([+-])?((?:\d+(?:\.\d*)?|\.\d+)(?:[Ee][+-]?\d+)?)?(\$|--)([$\w-]+)/g,u=/(art|ding|dth|End|[Gg]ap|eft|[^e]Height|^height|op|[Rr]ight|rgin|[^b]Size|^size|tom|us)$/,m=t=>/^\$/.test(t)?"-"+t.replace(/\$/g,"-"):t.replace(/[A-Z]/g,(t=>"-"+t.toLowerCase())),b=(t,e,n)=>u.test(t)&&Number(e)?String(e)+"px":String(e).replace(f,((e,r,o,s,i)=>"$"==s==!!o?e:(r||"--"==s?"calc(":"")+"var("+("$"===s?"--"+(!/\$/.test(i)&&t in n?n[t]+"-":"")+i.replace(/\$/g,"-"):s+i)+")"+(r||"--"==s?"*"+(r||"")+(o||"1")+")":""))),S=t=>{const{conditions:e,themeMap:n,utils:r}=t,o=Symbol.for("sxs.isOpen"),s=/\s*,\s*(?![^()]*\))/;return i=>{let a="";const c=[];let d,g;const f=(i,u)=>{const{when:S,...y}=i;S&&(y.when=S);for(let S of Reflect.ownKeys(y)){let w=y[S];const B=64==S.charCodeAt(0);w=B&&l(w)?w:[w];t:for(let l of w)if(p(l)){for(const t of c)t[o]||(a+=t,a+="{",t[o]=!0);if(u.length&&!u[o]&&(a+=u.join(", "),a+="{",u[o]=!0),S in r&&(S!=g||i!=d)){const e=r[S](t)(l);if(void 0!==e){e===Object(e)&&(g=S,f(d=e,u));continue t}}const e=B?S:m(S),s=B?l:b(S,l,n);a+=e+(B?" ":":")+s+";"}else{const t=(t,e,n)=>{const r=t?c.push(Object(e)):c.length;if(u.length&&u[o]&&(a+="}",u[o]=!1),f(n,t?u:u.length?h(u,e.split(s)):e.split(s)),t&&r)for(const t of c.splice(r-1))a+="}",t[o]=!1};if("when"===S)for(const n in l)t(!0,n in e?e[n]:n,l[n]);else t(B,S,l)}}u.length&&u[o]&&(a+="}",u[o]=!1)};return f(Object(i),[]),a}},y="colors",w="sizes",B="space",k={gap:B,gridGap:B,columnGap:B,gridColumnGap:B,rowGap:B,gridRowGap:B,inset:B,insetBlock:B,insetBlockEnd:B,insetBlockStart:B,insetInline:B,insetInlineEnd:B,insetInlineStart:B,margin:B,marginTop:B,marginRight:B,marginBottom:B,marginLeft:B,marginBlock:B,marginBlockEnd:B,marginBlockStart:B,marginInline:B,marginInlineEnd:B,marginInlineStart:B,padding:B,paddingTop:B,paddingRight:B,paddingBottom:B,paddingLeft:B,paddingBlock:B,paddingBlockEnd:B,paddingBlockStart:B,paddingInline:B,paddingInlineEnd:B,paddingInlineStart:B,top:B,right:B,bottom:B,left:B,scrollMargin:B,scrollMarginTop:B,scrollMarginRight:B,scrollMarginBottom:B,scrollMarginLeft:B,scrollMarginX:B,scrollMarginY:B,scrollMarginBlock:B,scrollMarginBlockEnd:B,scrollMarginBlockStart:B,scrollMarginInline:B,scrollMarginInlineEnd:B,scrollMarginInlineStart:B,scrollPadding:B,scrollPaddingTop:B,scrollPaddingRight:B,scrollPaddingBottom:B,scrollPaddingLeft:B,scrollPaddingX:B,scrollPaddingY:B,scrollPaddingBlock:B,scrollPaddingBlockEnd:B,scrollPaddingBlockStart:B,scrollPaddingInline:B,scrollPaddingInlineEnd:B,scrollPaddingInlineStart:B,fontSize:"fontSizes",background:y,backgroundColor:y,backgroundImage:y,border:y,borderBlock:y,borderBlockEnd:y,borderBlockStart:y,borderBottom:y,borderBottomColor:y,borderColor:y,borderInline:y,borderInlineEnd:y,borderInlineStart:y,borderLeft:y,borderLeftColor:y,borderRight:y,borderRightColor:y,borderTop:y,borderTopColor:y,caretColor:y,color:y,columnRuleColor:y,fill:y,outlineColor:y,stroke:y,textDecorationColor:y,fontFamily:"fonts",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",blockSize:w,minBlockSize:w,maxBlockSize:w,inlineSize:w,minInlineSize:w,maxInlineSize:w,width:w,minWidth:w,maxWidth:w,height:w,minHeight:w,maxHeight:w,flexBasis:w,borderWidth:"borderWidths",borderTopWidth:"borderWidths",borderRightWidth:"borderWidths",borderBottomWidth:"borderWidths",borderLeftWidth:"borderWidths",borderStyle:"borderStyles",borderTopStyle:"borderStyles",borderRightStyle:"borderStyles",borderBottomStyle:"borderStyles",borderLeftStyle:"borderStyles",borderRadius:"radii",borderTopLeftRadius:"radii",borderTopRightRadius:"radii",borderBottomRightRadius:"radii",borderBottomLeftRadius:"radii",boxShadow:"shadows",textShadow:"shadows",transition:"transitions",zIndex:"zIndices"},j=t=>{const e={};for(const n in t)for(const r in t[n])e["$"+n+"-"+r]=String(t[n][r]).replace(/\$[$\w-]+/g,(t=>/[^]\$/.test(t)?t:"$"+n+t));return e},C=(t,e)=>{for(var n=JSON.stringify(e),r=n.length,o=9;r;)o=Math.imul(o^n.charCodeAt(--r),9**9);return t+(o^o>>>9).toString(36).slice(-5)},I=class{constructor(t,e,n){this.value=t,this.token=e,this.scale=n}get computedValue(){return"var("+this.variable+")"}get variable(){return"--"+this.scale+"-"+this.token}toString(){return this.computedValue}},O=class extends Array{toString(){return this.join("")}get hasChanged(){const t=String(this);return()=>t!==String(this)}},x=O;O.prototype[t]=O.prototype.toString;var M=t=>{const e="append"===t.insertMethod;let r=null,o=null;return t=>{"object"==typeof document&&(r||(r=document.head||document.documentElement),o||(o=document.getElementById("stitches")||n(document.createElement("style"),{id:"stitches"})),o.parentNode||r[e?"append":"prepend"](o),o.textContent=t)}},E=t=>{t=Object(t);const o=n({initial:"@media all"},t.conditions),s=Object(t.theme),l=Object(t.themeMap||k),d=Object(t.utils),h=new Set([].concat(t.passthru||["as","className"])),p=t.prefix||"sx",f=("function"==typeof t.insertMethod?t.insertMethod:M)(t),u="03kze",m={theme:s,conditions:o,prefix:p,themeMap:l,utils:d},b=S(m),y=new g,w=new g,B=new g,O=new g,E=new g([y,w,B,O]);let R="";const N=()=>{const t=a(E).join("");R!==t&&f(R=t)},P=(t,e)=>{e=t===Object(t)?t:Object(e),t="string"==typeof t?t:"";const n=j(e),o=(t=t||C(p,n)).replace(/^\w/,".$&"),s=t===p+u?"":b({[o]:n}),a=i(r(null),"className",{className:t,selector:o});for(const t in e){a[t]=r(null);for(const n in e[t])a[t][n]=new I(e[t][n],n,t)}return i(a,"className",{get className(){const{hasChanged:e}=w;return w.add(s),e()&&N(),t},selector:o})},v=(t,e="")=>{const n=new g,o=new g;for(const e in t)if(t[e]!==Object(t[e])||c(t[e]).length){const r=b({[e]:t[e]});("@import"===e?n:o).add(r)}const s=i(r(null),"name",{name:e}),a=i((()=>{let t=y.hasChanged,e=B.hasChanged;return n.forEach((t=>{y.add(t)})),o.forEach((t=>{B.add(t)})),(t()||e())&&N(),s}),"name",{get name(){return String(a())}});return a},z=t=>{const e=new g,n=new x,s=new g,i=new g([e,n,s]);let{variants:a,compoundVariants:l,defaultVariants:d,...h}=t;d=Object(d);const f=C(p,t),m="."+f,S=f===p+u?"":b({[m]:h});O.add(i);const y=r(null),w=[],B=[];for(const t in a)for(const e in a[t]){const n=a[t][e];B.push({[t]:e,css:n})}B.push(...l||[]);for(const t in B){const{css:e,...s}=B[t],i=c(s),a=i.length;for(const t of i)y[t]=y[t]||r(null),y[t][s[t]]=!0;const l=(t,r)=>{t={...t};for(const e in r)void 0!==t[e]||Object(y[e])[t[e]]||(t[e]=r[e]);const l=new Set;if(i.length&&i.every((e=>{const n=t[e],r=String(s[e]);if(r===String(n))return!0;if(n===Object(n))for(const t in n)if(r==String(n[t]))return l.add(t),!0}))){let t=Object(e);for(const e of l)t={[e in o?o[e]:e]:t};const r=f+C("",t)+"--"+(1===a?i[0]+"-"+s[i[0]]:"c"+a),c=b({["."+r]:t});return(n[a-1]||(n[a-1]=new g)).add(c),r}};w.push(l)}return{apply(t,r,o){const s=e.hasChanged,a=n.hasChanged;if(e.add(S),t){r.add(f);for(const e of w){const n=e(t,o);n&&r.add(n)}}if(s()||a())return O.add(i),!0},inline(t,e){const n=C("-",t),r=f==="-"+n?"":b({[m+n]:t});e.add(f+n);const{hasChanged:o}=s;return r&&s.add(r),o()},className:f,defaultVariants:d,selector:m,variantProps:y}},$=P(":root",s),W=i({css:(...t)=>{let o,s,l=[],c=r(null);for(const r of t)if(e in Object(r)){o=r.type||o;for(const t of r[e])l.push(t),n(c,t.defaultVariants)}else r&&"object"==typeof r&&!("type"in r)?(l.push(s=z(r)),n(c,s.defaultVariants)):o=("type"in Object(r)?r.type:r)||o;return s=s||z({}),i((t=>{const{css:n,...o}=Object(t),d=new Set;let g,p=!1;for(const t of l)p=t.apply(o,d,c)||p;n===Object(n)&&(g=s.inline(n,d)),(p||g)&&N();for(const t in s.variantProps)h.has(t)||delete o[t];"className"in o&&String(o.className).split(/\s+/).forEach(d.add,d);const f=a(d);return o.className=f.join(" "),i(r(null),"className",{get[e](){return l},className:o.className,props:o,selector:s.selector})}),"className",{get[e](){return l},get className(){return s.apply()&&N(),s.className},selector:s.selector,type:o})},config:m,global:v,keyframes:t=>{const e=C(p,t);return v({["@keyframes "+e]:t},e)},prefix:p,reset:()=>(y.clear(),w.clear(),B.clear(),O.clear(),$.className,W),theme:n(P,$),get cssText(){return R},getCssString:()=>R},"cssText",{});return W},R=()=>R.config||(R.config=E()),N=(...t)=>R().css(...t),P=(...t)=>R().global(...t),v=(...t)=>R().keyframes(...t);globalThis.stitches=E;stitches.createCss=E;stitches.css=N;stitches.defaultThemeMap=k;stitches.global=P;stitches.keyframes=v})()
//# sourceMappingUrl=index.map
{
"name": "@stitches/core",
"version": "0.1.0-canary.14",
"version": "0.1.0-canary.15",
"description": "The modern CSS-in-JS library",

@@ -66,3 +66,3 @@ "type": "module",

],
"gitHead": "020eeabd1a1c4f4748a0fa53ea2672a8de0aa355"
"gitHead": "4b717fbd4bed9df4c4eb17110d887dac2ba4288e"
}

@@ -197,3 +197,3 @@ import { DeclarationListWithRootAtRules, Properties } from './css-types'

/** Determines how the CSS file is inserted to a document. */
insertMethod: 'append' | 'prepend' | (() => (cssText: string) => void)
insertMethod?: 'append' | 'prepend' | (() => (cssText: string) => void)
}

@@ -200,0 +200,0 @@ type UtilConfig<Conditions, Theme, Prefix, ThemeMap> = {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc