@gmana/core
Advanced tools
Comparing version 1.0.7 to 1.0.8
'use strict'; | ||
var Z = require('tailwindcss/plugin'); | ||
var Q = require('tailwindcss/plugin'); | ||
var t = require('tailwindcss/colors'); | ||
@@ -8,6 +8,6 @@ | ||
var Z__default = /*#__PURE__*/_interopDefault(Z); | ||
var Q__default = /*#__PURE__*/_interopDefault(Q); | ||
var t__default = /*#__PURE__*/_interopDefault(t); | ||
var N=Object.create;var P=Object.defineProperty;var V=Object.getOwnPropertyDescriptor;var _=Object.getOwnPropertyNames;var K=Object.getPrototypeOf,W=Object.prototype.hasOwnProperty;var $=(a,e)=>()=>(e||a((e={exports:{}}).exports,e),e.exports);var J=(a,e,o,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of _(e))!W.call(a,i)&&i!==o&&P(a,i,{get:()=>e[i],enumerable:!(n=V(e,i))||n.enumerable});return a};var Q=(a,e,o)=>(o=a!=null?N(K(a)):{},J(e||!a||!a.__esModule?P(o,"default",{value:a,enumerable:!0}):o,a));var S=$((Ea,R)=>{R.exports={aqua:/#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,azure:/#f0ffff(ff)?(?!\w)/gi,beige:/#f5f5dc(ff)?(?!\w)/gi,bisque:/#ffe4c4(ff)?(?!\w)/gi,black:/#000000(ff)?(?!\w)|#000(f)?(?!\w)/gi,blue:/#0000ff(ff)?(?!\w)|#00f(f)?(?!\w)/gi,brown:/#a52a2a(ff)?(?!\w)/gi,coral:/#ff7f50(ff)?(?!\w)/gi,cornsilk:/#fff8dc(ff)?(?!\w)/gi,crimson:/#dc143c(ff)?(?!\w)/gi,cyan:/#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,darkblue:/#00008b(ff)?(?!\w)/gi,darkcyan:/#008b8b(ff)?(?!\w)/gi,darkgrey:/#a9a9a9(ff)?(?!\w)/gi,darkred:/#8b0000(ff)?(?!\w)/gi,deeppink:/#ff1493(ff)?(?!\w)/gi,dimgrey:/#696969(ff)?(?!\w)/gi,gold:/#ffd700(ff)?(?!\w)/gi,green:/#008000(ff)?(?!\w)/gi,grey:/#808080(ff)?(?!\w)/gi,honeydew:/#f0fff0(ff)?(?!\w)/gi,hotpink:/#ff69b4(ff)?(?!\w)/gi,indigo:/#4b0082(ff)?(?!\w)/gi,ivory:/#fffff0(ff)?(?!\w)/gi,khaki:/#f0e68c(ff)?(?!\w)/gi,lavender:/#e6e6fa(ff)?(?!\w)/gi,lime:/#00ff00(ff)?(?!\w)|#0f0(f)?(?!\w)/gi,linen:/#faf0e6(ff)?(?!\w)/gi,maroon:/#800000(ff)?(?!\w)/gi,moccasin:/#ffe4b5(ff)?(?!\w)/gi,navy:/#000080(ff)?(?!\w)/gi,oldlace:/#fdf5e6(ff)?(?!\w)/gi,olive:/#808000(ff)?(?!\w)/gi,orange:/#ffa500(ff)?(?!\w)/gi,orchid:/#da70d6(ff)?(?!\w)/gi,peru:/#cd853f(ff)?(?!\w)/gi,pink:/#ffc0cb(ff)?(?!\w)/gi,plum:/#dda0dd(ff)?(?!\w)/gi,purple:/#800080(ff)?(?!\w)/gi,red:/#ff0000(ff)?(?!\w)|#f00(f)?(?!\w)/gi,salmon:/#fa8072(ff)?(?!\w)/gi,seagreen:/#2e8b57(ff)?(?!\w)/gi,seashell:/#fff5ee(ff)?(?!\w)/gi,sienna:/#a0522d(ff)?(?!\w)/gi,silver:/#c0c0c0(ff)?(?!\w)/gi,skyblue:/#87ceeb(ff)?(?!\w)/gi,snow:/#fffafa(ff)?(?!\w)/gi,tan:/#d2b48c(ff)?(?!\w)/gi,teal:/#008080(ff)?(?!\w)/gi,thistle:/#d8bfd8(ff)?(?!\w)/gi,tomato:/#ff6347(ff)?(?!\w)/gi,violet:/#ee82ee(ff)?(?!\w)/gi,wheat:/#f5deb3(ff)?(?!\w)/gi,white:/#ffffff(ff)?(?!\w)|#fff(f)?(?!\w)/gi};});var T=$((qa,H)=>{var u=S(),b={whitespace:/\s+/g,urlHexPairs:/%[\dA-F]{2}/g,quotes:/"/g};function aa(a){return a.trim().replace(b.whitespace," ")}function ea(a){return encodeURIComponent(a).replace(b.urlHexPairs,oa)}function ra(a){return Object.keys(u).forEach(function(e){u[e].test(a)&&(a=a.replace(u[e],e));}),a}function oa(a){switch(a){case"%20":return " ";case"%3D":return "=";case"%3A":return ":";case"%2F":return "/";default:return a.toLowerCase()}}function d(a){if(typeof a!="string")throw new TypeError("Expected a string, but received "+typeof a);a.charCodeAt(0)===65279&&(a=a.slice(1));var e=ra(aa(a)).replace(b.quotes,"'");return "data:image/svg+xml,"+ea(e)}d.toSrcset=function(e){return d(e).replace(/ /g,"%20")};H.exports=d;});var A={extend:{keyframes:{wiggle:{"0%, 100%":{transform:"rotate(-3deg)"},"50%":{transform:"rotate(3deg)"}},"wiggle-more":{"0%, 100%":{transform:"rotate(-12deg)"},"50%":{transform:"rotate(12deg)"}},"rotate-y":{"0%":{transform:"rotateY(360deg)"},"100%":{transform:"rotateY(0)"}},"rotate-x":{"0%":{transform:"rotateX(360deg)"},"100%":{transform:"rotateX(0)"}},jump:{"0%, 100%":{transform:"scale(100%)"},"10%":{transform:"scale(80%)"},"50%":{transform:"scale(120%)"}},"jump-in":{"0%":{transform:"scale(0%)"},"80%":{transform:"scale(120%)"},"100%":{transform:"scale(100%)"}},"jump-out":{"0%":{transform:"scale(100%)"},"20%":{transform:"scale(120%)"},"100%":{transform:"scale(0%)"}},shake:{"0%":{transform:"translateX(0rem)"},"25%":{transform:"translateX(-1rem)"},"75%":{transform:"translateX(1rem)"},"100%":{transform:"translateX(0rem)"}},fade:{"0%":{opacity:"0"},"100%":{opacity:"1"}},"fade-down":{"0%":{opacity:"0",transform:"translateY(-2rem)"},"100%":{opacity:"1",transform:"translateY(0)"}},"fade-up":{"0%":{opacity:"0",transform:"translateY(2rem)"},"100%":{opacity:"1",transform:"translateY(0)"}},"fade-left":{"0%":{opacity:"0",transform:"translateX(2rem)"},"100%":{opacity:"1",transform:"translateX(0)"}},"fade-right":{"0%":{opacity:"0",transform:"translateX(-2rem)"},"100%":{opacity:"1",transform:"translateX(0)"}},"flip-up":{"0%":{transform:"rotateX(90deg)",transformOrigin:"bottom"},"100%":{transform:"rotateX(0)",transformOrigin:"bottom"}},"flip-down":{"0%":{transform:"rotateX(-90deg)",transformOrigin:"top"},"100%":{transform:"rotateX(0)",transformOrigin:"top"}},"move-bounce":{"0%":{transform:"translateY(0px)"},"50%":{transform:"translateY(20px)"},"100%":{transform:"translateY(0px)"}},"move-left-bounce":{"0%":{transform:"translateX(0px)"},"50%":{transform:"translateX(20px)"},"100%":{transform:"translateX(0px)"}},"rotate-me":{from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}},"rotate-3d":{"0%":{transform:"rotateY(0deg)"},"100%":{transform:"rotateY(360deg)"}},"frames-one":{"0%":{transform:"translate(0px, 0px) rotate(0deg)"},"20%":{transform:"translate(73px, -1px) rotate(36deg)"},"40%":{transform:"translate(141px, 72px) rotate(72deg)"},"60%":{transform:"translate(83px, 122px) rotate(108deg)"},"80%":{transform:"translate(-40px, 72px) rotate(144deg)"},"100%":{transform:"translate(0px, 0px) rotate(0deg)"}},blob:{"0%":{transform:"translate(0px, 0px) scale(1)"},"33%":{transform:"translate(30px, -50px) scale(1.1)"},"66%":{transform:"translate(-20px, 20px) scale(0.9)"},"100%":{transform:"translate(0px, 0px) scale(1)"}},tilt:{"0%, 50%, 100%":{transform:"rotate(0deg)"},"25%":{transform:"rotate(1deg)"},"75%":{transform:"rotate(-1deg)"}},"move-bg":{"100%":{backgroundPosition:"400% 0"}}},animation:{wiggle:"wiggle 1s both","wiggle-more":"wiggle-more 1s both","rotate-y":"rotate-y 1s both","rotate-x":"rotate-x 1s both",jump:"jump .5s both","jump-in":"jump-in .5s both","jump-out":"jump-out .5s both",shake:"shake .5s both",fade:"fade 1s both","fade-down":"fade-down 1s both","fade-up":"fade-up 1s both","fade-left":"fade-left 1s both","fade-right":"fade-right 1s both","flip-up":"flip-up 1s both","flip-down":"flip-down 1s both","rotate-3d":"rotate-3d 4s linear infinite","frames-one-15s":"frames-one 15s linear infinite","frames-one-20s":"frames-one 20s linear infinite","move-bounce":"move-bounce 5s linear infinite","move-left-bounce":"move-left-bounce 5s linear infinite","rotate-me":"rotate-me 5s linear infinite",blob:"blob 7s infinite",tilt:"tilt 10s infinite linear","move-bg":"move-bg 8s infinite linear"},animationDelay:{none:"0ms",0:"0ms",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1s",5e3:"5s"},animationDuration:{75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1s",5e3:"5s"}}};var I=({matchUtilities:a,theme:e})=>a({"animate-delay":o=>({"animation-delay":o})},{values:e("animationDelay")});var C=({addUtilities:a})=>a({".animate-normal":{"animation-direction":"normal"},".animate-reverse":{"animation-direction":"reverse"},".animate-alternate":{"animation-direction":"alternate"},".animate-alternate-reverse":{"animation-direction":"alternate-reverse"}});var X=({matchUtilities:a,theme:e})=>a({"animate-duration":o=>({"animation-duration":o})},{values:e("animationDuration")});var j=({addUtilities:a})=>a({".animate-fill-none":{"animation-fill-mode":"normal"},".animate-fill-forwards":{"animation-fill-mode":"forwards"},".animate-fill-backwards":{"animation-fill-mode":"backwards"},".animate-fill-both":{"animation-fill-mode":"both"}});var E=({addUtilities:a})=>a({".animate-infinite":{"animation-iteration-count":"infinite"},".animate-once":{"animation-iteration-count":"1"},".animate-twice":{"animation-iteration-count":"2"},".animate-thrice":{"animation-iteration-count":"3"}});var q=({addUtilities:a})=>a({".animate-run":{"animation-play-state":"running"},".animate-play":{"animation-play-state":"running"},".animate-stop":{"animation-play-state":"paused"},".animate-pause":{"animation-play-state":"paused"}});var Y=({addUtilities:a})=>a({".animate-ease-linear":{"animation-timing-function":"linear"},".animate-ease-in":{"animation-timing-function":"cubic-bezier(0.4, 0, 1, 1)"},".animate-ease-out":{"animation-timing-function":"cubic-bezier(0, 0, 0.2, 1)"},".animate-ease-in-out":{"animation-timing-function":"cubic-bezier(0.4, 0, 0.2, 1)"}});var O=Z__default.default(a=>{I(a),C(a),X(a),j(a),E(a),q(a),Y(a);},{theme:A});var D=Q(T());var g=a=>Object.assign({},...Object.entries(a!=null?a:{}).flatMap(([e,o])=>typeof o=="object"?Object.entries(g(o)).map(([n,i])=>({[e+(n==="DEFAULT"?"":`-${n}`)]:i})):[{[`${e}`]:o}]));var F=Z__default.default(function({matchUtilities:a,theme:e}){a({"bg-grid":o=>({backgroundImage:`url("${(0, D.default)(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="32" height="32" fill="none" stroke="${o}"><path d="M0 .5H31.5V32"/></svg>`)}")`})},{values:g(e("backgroundColor")),type:"color"}),a({highlight:o=>({boxShadow:`inset 0 1px 0 0 ${o}`})},{values:g(e("backgroundColor")),type:"color"});});var M={darkMode:"class",theme:{extend:{colors:{primary:"rgb(var(--color-primary) / <alpha-value>)",secondary:"rgb(var(--color-secondary) / <alpha-value>)",success:"rgb(var(--color-success) / <alpha-value>)",info:"rgb(var(--color-info) / <alpha-value>)",warning:"rgb(var(--color-warning) / <alpha-value>)",danger:"rgb(var(--color-danger) / <alpha-value>)",pending:"rgb(var(--color-pending) / <alpha-value>)",gmana:{0:"rgb(var(--color-gmana-0) / <alpha-value>)",50:"rgb(var(--color-gmana-50) / <alpha-value>)",100:"rgb(var(--color-gmana-100) / <alpha-value>)",200:"rgb(var(--color-gmana-200) / <alpha-value>)",300:"rgb(var(--color-gmana-300) / <alpha-value>)",400:"rgb(var(--color-gmana-400) / <alpha-value>)",500:"rgb(var(--color-gmana-500) / <alpha-value>)",600:"rgb(var(--color-gmana-600) / <alpha-value>)",700:"rgb(var(--color-gmana-700) / <alpha-value>)",800:"rgb(var(--color-gmana-800) / <alpha-value>)",900:"rgb(var(--color-gmana-900) / <alpha-value>)"},brand:{gmana:"#f57224",wallet:"#228B22",service:"#3A36FF"},social:{apple:"#737373",facebook:"#365397",twitter:"#00a9f1",github:"#2f2f2f",google:"#4285f4",linkedin:"#006db3",youtube:"#ff3333",amazon:"#ff9700",skype:"#00acf4",instagram:"#396d9a"}}}}};var z=({addBase:a})=>a({"*":{"@apply border-gmana-200":{}},body:{"@apply bg-gmana-0 text-gmana-950":{},"font-feature-settings":"'rlig' 1, 'calt' 1"}});var h={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};var na=/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i,ia=/^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,f=/(?:\d+|\d*\.\d+)%?/,c=/(?:\s*,\s*|\s+)/,B=/\s*[,/]\s*/,s=/var\(--(?:[^ )]*?)\)/,la=new RegExp(`^(rgba?)\\(\\s*(${f.source}|${s.source})(?:${c.source}(${f.source}|${s.source}))?(?:${c.source}(${f.source}|${s.source}))?(?:${B.source}(${f.source}|${s.source}))?\\s*\\)$`),fa=new RegExp(`^(hsla?)\\(\\s*((?:${f.source})(?:deg|rad|grad|turn)?|${s.source})(?:${c.source}(${f.source}|${s.source}))?(?:${c.source}(${f.source}|${s.source}))?(?:${B.source}(${f.source}|${s.source}))?\\s*\\)$`);function G(a,{loose:e=!1}={}){var w,m,y;if(typeof a!="string")return null;if(a=a.trim(),a==="transparent")return {mode:"rgb",color:["0","0","0"],alpha:"0"};if(a in h)return {mode:"rgb",color:h[a].map(l=>l.toString())};let o=a.replace(ia,(l,x,v,k,p)=>["#",x,x,v,v,k,k,p?p+p:""].join("")).match(na);if(o!==null)return {mode:"rgb",color:[parseInt(o[1],16),parseInt(o[2],16),parseInt(o[3],16)].map(l=>l.toString()),alpha:o[4]?(parseInt(o[4],16)/255).toString():void 0};let n=(w=a.match(la))!=null?w:a.match(fa);if(n===null)return null;let i=[n[2],n[3],n[4]].filter(Boolean).map(l=>l.toString());return i.length===2&&i[0].startsWith("var(")?{mode:n[1],color:[i[0]],alpha:i[1]}:!e&&i.length!==3||i.length<3&&!i.some(l=>/^var\(.*?\)$/.test(l))?null:{mode:n[1],color:i,alpha:(y=(m=n[5])==null?void 0:m.toString)==null?void 0:y.call(m)}}function Ma({mode:a,color:e,alpha:o}){let n=o!==void 0;return a==="rgba"||a==="hsla"?`${a}(${e.join(", ")}${n?`, ${o}`:""})`:`${a}(${e.join(" ")}${n?` / ${o}`:""})`}var r=a=>{var e;return (e=G(a))==null?void 0:e.color.join(" ")};var U=({addBase:a})=>a({":root":{"--color-primary":r("#F57224"),"--color-secondary":r(t__default.default.slate[200]),"--color-success":r(t__default.default.green[500]),"--color-info":r(t__default.default.blue[500]),"--color-warning":r(t__default.default.yellow[400]),"--color-danger":r(t__default.default.red[600]),"--color-pending":r(t__default.default.orange[500]),"--color-gmana-0":r(t__default.default.white),"--color-gmana-50":r(t__default.default.slate[50]),"--color-gmana-100":r(t__default.default.slate[100]),"--color-gmana-200":r(t__default.default.slate[200]),"--color-gmana-300":r(t__default.default.slate[300]),"--color-gmana-400":r(t__default.default.slate[400]),"--color-gmana-500":r(t__default.default.slate[500]),"--color-gmana-600":r(t__default.default.slate[600]),"--color-gmana-700":r(t__default.default.slate[700]),"--color-gmana-800":r(t__default.default.slate[800]),"--color-gmana-900":r(t__default.default.slate[900])},".dark":{"--color-gmana-0":r(t__default.default.slate[950]),"--color-gmana-50":r(t__default.default.slate[900]),"--color-gmana-100":r(t__default.default.slate[800]),"--color-gmana-200":r(t__default.default.slate[700]),"--color-gmana-300":r(t__default.default.slate[600]),"--color-gmana-400":r(t__default.default.slate[500]),"--color-gmana-500":r(t__default.default.slate[400]),"--color-gmana-600":r(t__default.default.slate[300]),"--color-gmana-700":r(t__default.default.slate[200]),"--color-gmana-800":r(t__default.default.slate[100]),"--color-gmana-900":r(t__default.default.slate[50])}});var L=Z__default.default(a=>{U(a),z(a);},{theme:M});var Za=Z__default.default(function({addBase:a}){a({h1:{"@apply text-3xl":{}}});});var te={darkMode:"class",content:[],plugins:[L,F,O]}; | ||
var L=Object.create;var P=Object.defineProperty;var N=Object.getOwnPropertyDescriptor;var V=Object.getOwnPropertyNames;var _=Object.getPrototypeOf,K=Object.prototype.hasOwnProperty;var $=(a,e)=>()=>(e||a((e={exports:{}}).exports,e),e.exports);var W=(a,e,o,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of V(e))!K.call(a,i)&&i!==o&&P(a,i,{get:()=>e[i],enumerable:!(n=N(e,i))||n.enumerable});return a};var J=(a,e,o)=>(o=a!=null?L(_(a)):{},W(e||!a||!a.__esModule?P(o,"default",{value:a,enumerable:!0}):o,a));var S=$((ja,R)=>{R.exports={aqua:/#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,azure:/#f0ffff(ff)?(?!\w)/gi,beige:/#f5f5dc(ff)?(?!\w)/gi,bisque:/#ffe4c4(ff)?(?!\w)/gi,black:/#000000(ff)?(?!\w)|#000(f)?(?!\w)/gi,blue:/#0000ff(ff)?(?!\w)|#00f(f)?(?!\w)/gi,brown:/#a52a2a(ff)?(?!\w)/gi,coral:/#ff7f50(ff)?(?!\w)/gi,cornsilk:/#fff8dc(ff)?(?!\w)/gi,crimson:/#dc143c(ff)?(?!\w)/gi,cyan:/#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,darkblue:/#00008b(ff)?(?!\w)/gi,darkcyan:/#008b8b(ff)?(?!\w)/gi,darkgrey:/#a9a9a9(ff)?(?!\w)/gi,darkred:/#8b0000(ff)?(?!\w)/gi,deeppink:/#ff1493(ff)?(?!\w)/gi,dimgrey:/#696969(ff)?(?!\w)/gi,gold:/#ffd700(ff)?(?!\w)/gi,green:/#008000(ff)?(?!\w)/gi,grey:/#808080(ff)?(?!\w)/gi,honeydew:/#f0fff0(ff)?(?!\w)/gi,hotpink:/#ff69b4(ff)?(?!\w)/gi,indigo:/#4b0082(ff)?(?!\w)/gi,ivory:/#fffff0(ff)?(?!\w)/gi,khaki:/#f0e68c(ff)?(?!\w)/gi,lavender:/#e6e6fa(ff)?(?!\w)/gi,lime:/#00ff00(ff)?(?!\w)|#0f0(f)?(?!\w)/gi,linen:/#faf0e6(ff)?(?!\w)/gi,maroon:/#800000(ff)?(?!\w)/gi,moccasin:/#ffe4b5(ff)?(?!\w)/gi,navy:/#000080(ff)?(?!\w)/gi,oldlace:/#fdf5e6(ff)?(?!\w)/gi,olive:/#808000(ff)?(?!\w)/gi,orange:/#ffa500(ff)?(?!\w)/gi,orchid:/#da70d6(ff)?(?!\w)/gi,peru:/#cd853f(ff)?(?!\w)/gi,pink:/#ffc0cb(ff)?(?!\w)/gi,plum:/#dda0dd(ff)?(?!\w)/gi,purple:/#800080(ff)?(?!\w)/gi,red:/#ff0000(ff)?(?!\w)|#f00(f)?(?!\w)/gi,salmon:/#fa8072(ff)?(?!\w)/gi,seagreen:/#2e8b57(ff)?(?!\w)/gi,seashell:/#fff5ee(ff)?(?!\w)/gi,sienna:/#a0522d(ff)?(?!\w)/gi,silver:/#c0c0c0(ff)?(?!\w)/gi,skyblue:/#87ceeb(ff)?(?!\w)/gi,snow:/#fffafa(ff)?(?!\w)/gi,tan:/#d2b48c(ff)?(?!\w)/gi,teal:/#008080(ff)?(?!\w)/gi,thistle:/#d8bfd8(ff)?(?!\w)/gi,tomato:/#ff6347(ff)?(?!\w)/gi,violet:/#ee82ee(ff)?(?!\w)/gi,wheat:/#f5deb3(ff)?(?!\w)/gi,white:/#ffffff(ff)?(?!\w)|#fff(f)?(?!\w)/gi};});var T=$((Ea,H)=>{var p=S(),b={whitespace:/\s+/g,urlHexPairs:/%[\dA-F]{2}/g,quotes:/"/g};function Z(a){return a.trim().replace(b.whitespace," ")}function aa(a){return encodeURIComponent(a).replace(b.urlHexPairs,ra)}function ea(a){return Object.keys(p).forEach(function(e){p[e].test(a)&&(a=a.replace(p[e],e));}),a}function ra(a){switch(a){case"%20":return " ";case"%3D":return "=";case"%3A":return ":";case"%2F":return "/";default:return a.toLowerCase()}}function d(a){if(typeof a!="string")throw new TypeError("Expected a string, but received "+typeof a);a.charCodeAt(0)===65279&&(a=a.slice(1));var e=ea(Z(a)).replace(b.quotes,"'");return "data:image/svg+xml,"+aa(e)}d.toSrcset=function(e){return d(e).replace(/ /g,"%20")};H.exports=d;});var A={extend:{keyframes:{wiggle:{"0%, 100%":{transform:"rotate(-3deg)"},"50%":{transform:"rotate(3deg)"}},"wiggle-more":{"0%, 100%":{transform:"rotate(-12deg)"},"50%":{transform:"rotate(12deg)"}},"rotate-y":{"0%":{transform:"rotateY(360deg)"},"100%":{transform:"rotateY(0)"}},"rotate-x":{"0%":{transform:"rotateX(360deg)"},"100%":{transform:"rotateX(0)"}},jump:{"0%, 100%":{transform:"scale(100%)"},"10%":{transform:"scale(80%)"},"50%":{transform:"scale(120%)"}},"jump-in":{"0%":{transform:"scale(0%)"},"80%":{transform:"scale(120%)"},"100%":{transform:"scale(100%)"}},"jump-out":{"0%":{transform:"scale(100%)"},"20%":{transform:"scale(120%)"},"100%":{transform:"scale(0%)"}},shake:{"0%":{transform:"translateX(0rem)"},"25%":{transform:"translateX(-1rem)"},"75%":{transform:"translateX(1rem)"},"100%":{transform:"translateX(0rem)"}},fade:{"0%":{opacity:"0"},"100%":{opacity:"1"}},"fade-down":{"0%":{opacity:"0",transform:"translateY(-2rem)"},"100%":{opacity:"1",transform:"translateY(0)"}},"fade-up":{"0%":{opacity:"0",transform:"translateY(2rem)"},"100%":{opacity:"1",transform:"translateY(0)"}},"fade-left":{"0%":{opacity:"0",transform:"translateX(2rem)"},"100%":{opacity:"1",transform:"translateX(0)"}},"fade-right":{"0%":{opacity:"0",transform:"translateX(-2rem)"},"100%":{opacity:"1",transform:"translateX(0)"}},"flip-up":{"0%":{transform:"rotateX(90deg)",transformOrigin:"bottom"},"100%":{transform:"rotateX(0)",transformOrigin:"bottom"}},"flip-down":{"0%":{transform:"rotateX(-90deg)",transformOrigin:"top"},"100%":{transform:"rotateX(0)",transformOrigin:"top"}},"move-bounce":{"0%":{transform:"translateY(0px)"},"50%":{transform:"translateY(20px)"},"100%":{transform:"translateY(0px)"}},"move-left-bounce":{"0%":{transform:"translateX(0px)"},"50%":{transform:"translateX(20px)"},"100%":{transform:"translateX(0px)"}},"rotate-me":{from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}},"rotate-3d":{"0%":{transform:"rotateY(0deg)"},"100%":{transform:"rotateY(360deg)"}},"frames-one":{"0%":{transform:"translate(0px, 0px) rotate(0deg)"},"20%":{transform:"translate(73px, -1px) rotate(36deg)"},"40%":{transform:"translate(141px, 72px) rotate(72deg)"},"60%":{transform:"translate(83px, 122px) rotate(108deg)"},"80%":{transform:"translate(-40px, 72px) rotate(144deg)"},"100%":{transform:"translate(0px, 0px) rotate(0deg)"}},blob:{"0%":{transform:"translate(0px, 0px) scale(1)"},"33%":{transform:"translate(30px, -50px) scale(1.1)"},"66%":{transform:"translate(-20px, 20px) scale(0.9)"},"100%":{transform:"translate(0px, 0px) scale(1)"}},tilt:{"0%, 50%, 100%":{transform:"rotate(0deg)"},"25%":{transform:"rotate(1deg)"},"75%":{transform:"rotate(-1deg)"}},"move-bg":{"100%":{backgroundPosition:"400% 0"}}},animation:{wiggle:"wiggle 1s both","wiggle-more":"wiggle-more 1s both","rotate-y":"rotate-y 1s both","rotate-x":"rotate-x 1s both",jump:"jump .5s both","jump-in":"jump-in .5s both","jump-out":"jump-out .5s both",shake:"shake .5s both",fade:"fade 1s both","fade-down":"fade-down 1s both","fade-up":"fade-up 1s both","fade-left":"fade-left 1s both","fade-right":"fade-right 1s both","flip-up":"flip-up 1s both","flip-down":"flip-down 1s both","rotate-3d":"rotate-3d 4s linear infinite","frames-one-15s":"frames-one 15s linear infinite","frames-one-20s":"frames-one 20s linear infinite","move-bounce":"move-bounce 5s linear infinite","move-left-bounce":"move-left-bounce 5s linear infinite","rotate-me":"rotate-me 5s linear infinite",blob:"blob 7s infinite",tilt:"tilt 10s infinite linear","move-bg":"move-bg 8s infinite linear"},animationDelay:{none:"0ms",0:"0ms",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1s",5e3:"5s"},animationDuration:{75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1s",5e3:"5s"}}};var I=({matchUtilities:a,theme:e})=>a({"animate-delay":o=>({"animation-delay":o})},{values:e("animationDelay")});var C=({addUtilities:a})=>a({".animate-normal":{"animation-direction":"normal"},".animate-reverse":{"animation-direction":"reverse"},".animate-alternate":{"animation-direction":"alternate"},".animate-alternate-reverse":{"animation-direction":"alternate-reverse"}});var X=({matchUtilities:a,theme:e})=>a({"animate-duration":o=>({"animation-duration":o})},{values:e("animationDuration")});var j=({addUtilities:a})=>a({".animate-fill-none":{"animation-fill-mode":"normal"},".animate-fill-forwards":{"animation-fill-mode":"forwards"},".animate-fill-backwards":{"animation-fill-mode":"backwards"},".animate-fill-both":{"animation-fill-mode":"both"}});var E=({addUtilities:a})=>a({".animate-infinite":{"animation-iteration-count":"infinite"},".animate-once":{"animation-iteration-count":"1"},".animate-twice":{"animation-iteration-count":"2"},".animate-thrice":{"animation-iteration-count":"3"}});var q=({addUtilities:a})=>a({".animate-run":{"animation-play-state":"running"},".animate-play":{"animation-play-state":"running"},".animate-stop":{"animation-play-state":"paused"},".animate-pause":{"animation-play-state":"paused"}});var Y=({addUtilities:a})=>a({".animate-ease-linear":{"animation-timing-function":"linear"},".animate-ease-in":{"animation-timing-function":"cubic-bezier(0.4, 0, 1, 1)"},".animate-ease-out":{"animation-timing-function":"cubic-bezier(0, 0, 0.2, 1)"},".animate-ease-in-out":{"animation-timing-function":"cubic-bezier(0.4, 0, 0.2, 1)"}});var O=Q__default.default(a=>{I(a),C(a),X(a),j(a),E(a),q(a),Y(a);},{theme:A});var D=J(T());var g=a=>Object.assign({},...Object.entries(a!=null?a:{}).flatMap(([e,o])=>typeof o=="object"?Object.entries(g(o)).map(([n,i])=>({[e+(n==="DEFAULT"?"":`-${n}`)]:i})):[{[`${e}`]:o}]));var F=Q__default.default(function({matchUtilities:a,theme:e}){a({"bg-grid":o=>({backgroundImage:`url("${(0, D.default)(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="32" height="32" fill="none" stroke="${o}"><path d="M0 .5H31.5V32"/></svg>`)}")`})},{values:g(e("backgroundColor")),type:"color"}),a({highlight:o=>({boxShadow:`inset 0 1px 0 0 ${o}`})},{values:g(e("backgroundColor")),type:"color"});});var M={darkMode:"class",theme:{extend:{colors:{primary:"rgb(var(--color-primary) / <alpha-value>)",secondary:"rgb(var(--color-secondary) / <alpha-value>)",success:"rgb(var(--color-success) / <alpha-value>)",info:"rgb(var(--color-info) / <alpha-value>)",warning:"rgb(var(--color-warning) / <alpha-value>)",danger:"rgb(var(--color-danger) / <alpha-value>)",pending:"rgb(var(--color-pending) / <alpha-value>)",gmana:{0:"rgb(var(--color-gmana-0) / <alpha-value>)",50:"rgb(var(--color-gmana-50) / <alpha-value>)",100:"rgb(var(--color-gmana-100) / <alpha-value>)",200:"rgb(var(--color-gmana-200) / <alpha-value>)",300:"rgb(var(--color-gmana-300) / <alpha-value>)",400:"rgb(var(--color-gmana-400) / <alpha-value>)",500:"rgb(var(--color-gmana-500) / <alpha-value>)",600:"rgb(var(--color-gmana-600) / <alpha-value>)",700:"rgb(var(--color-gmana-700) / <alpha-value>)",800:"rgb(var(--color-gmana-800) / <alpha-value>)",900:"rgb(var(--color-gmana-900) / <alpha-value>)"},brand:{gmana:"#f57224",wallet:"#228B22",service:"#3A36FF"},social:{apple:"#737373",facebook:"#365397",twitter:"#00a9f1",github:"#2f2f2f",google:"#4285f4",linkedin:"#006db3",youtube:"#ff3333",amazon:"#ff9700",skype:"#00acf4",instagram:"#396d9a"}}}}};var h={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};var ta=/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i,na=/^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,f=/(?:\d+|\d*\.\d+)%?/,c=/(?:\s*,\s*|\s+)/,z=/\s*[,/]\s*/,s=/var\(--(?:[^ )]*?)\)/,ia=new RegExp(`^(rgba?)\\(\\s*(${f.source}|${s.source})(?:${c.source}(${f.source}|${s.source}))?(?:${c.source}(${f.source}|${s.source}))?(?:${z.source}(${f.source}|${s.source}))?\\s*\\)$`),la=new RegExp(`^(hsla?)\\(\\s*((?:${f.source})(?:deg|rad|grad|turn)?|${s.source})(?:${c.source}(${f.source}|${s.source}))?(?:${c.source}(${f.source}|${s.source}))?(?:${z.source}(${f.source}|${s.source}))?\\s*\\)$`);function B(a,{loose:e=!1}={}){var w,m,y;if(typeof a!="string")return null;if(a=a.trim(),a==="transparent")return {mode:"rgb",color:["0","0","0"],alpha:"0"};if(a in h)return {mode:"rgb",color:h[a].map(l=>l.toString())};let o=a.replace(na,(l,x,v,k,u)=>["#",x,x,v,v,k,k,u?u+u:""].join("")).match(ta);if(o!==null)return {mode:"rgb",color:[parseInt(o[1],16),parseInt(o[2],16),parseInt(o[3],16)].map(l=>l.toString()),alpha:o[4]?(parseInt(o[4],16)/255).toString():void 0};let n=(w=a.match(ia))!=null?w:a.match(la);if(n===null)return null;let i=[n[2],n[3],n[4]].filter(Boolean).map(l=>l.toString());return i.length===2&&i[0].startsWith("var(")?{mode:n[1],color:[i[0]],alpha:i[1]}:!e&&i.length!==3||i.length<3&&!i.some(l=>/^var\(.*?\)$/.test(l))?null:{mode:n[1],color:i,alpha:(y=(m=n[5])==null?void 0:m.toString)==null?void 0:y.call(m)}}function Da({mode:a,color:e,alpha:o}){let n=o!==void 0;return a==="rgba"||a==="hsla"?`${a}(${e.join(", ")}${n?`, ${o}`:""})`:`${a}(${e.join(" ")}${n?` / ${o}`:""})`}var r=a=>{var e;return (e=B(a))==null?void 0:e.color.join(" ")};var G=({addBase:a})=>a({":root":{"--color-primary":r("#F57224"),"--color-secondary":r(t__default.default.slate[200]),"--color-success":r(t__default.default.green[500]),"--color-info":r(t__default.default.blue[500]),"--color-warning":r(t__default.default.yellow[400]),"--color-danger":r(t__default.default.red[600]),"--color-pending":r(t__default.default.orange[500]),"--color-gmana-0":r(t__default.default.white),"--color-gmana-50":r(t__default.default.slate[50]),"--color-gmana-100":r(t__default.default.slate[100]),"--color-gmana-200":r(t__default.default.slate[200]),"--color-gmana-300":r(t__default.default.slate[300]),"--color-gmana-400":r(t__default.default.slate[400]),"--color-gmana-500":r(t__default.default.slate[500]),"--color-gmana-600":r(t__default.default.slate[600]),"--color-gmana-700":r(t__default.default.slate[700]),"--color-gmana-800":r(t__default.default.slate[800]),"--color-gmana-900":r(t__default.default.slate[900])},".dark":{"--color-gmana-0":r(t__default.default.slate[950]),"--color-gmana-50":r(t__default.default.slate[900]),"--color-gmana-100":r(t__default.default.slate[800]),"--color-gmana-200":r(t__default.default.slate[700]),"--color-gmana-300":r(t__default.default.slate[600]),"--color-gmana-400":r(t__default.default.slate[500]),"--color-gmana-500":r(t__default.default.slate[400]),"--color-gmana-600":r(t__default.default.slate[300]),"--color-gmana-700":r(t__default.default.slate[200]),"--color-gmana-800":r(t__default.default.slate[100]),"--color-gmana-900":r(t__default.default.slate[50])}});var U=Q__default.default(a=>{G(a);},{theme:M});var Wa=Q__default.default(function({addBase:a}){a({h1:{"@apply text-3xl":{}}});});var ee={darkMode:"class",content:[],plugins:[U,F,O]}; | ||
@@ -18,7 +18,7 @@ exports.animatePlugin = O; | ||
exports.flattenColorPalette = g; | ||
exports.formatColor = Ma; | ||
exports.gmanaPlugin = L; | ||
exports.gmanaPreset = te; | ||
exports.parseColor = G; | ||
exports.formatColor = Da; | ||
exports.gmanaPlugin = U; | ||
exports.gmanaPreset = ee; | ||
exports.parseColor = B; | ||
exports.toRGB = r; | ||
exports.typographyPlugin = Za; | ||
exports.typographyPlugin = Wa; |
{ | ||
"name": "@gmana/core", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"keywords": [ | ||
@@ -49,5 +49,5 @@ "react", | ||
"typescript": "^5.1.3", | ||
"@gmana/utils": "1.0.1", | ||
"@gmana/tsconfig": "1.0.0", | ||
"eslint-config-gmana": "1.0.1", | ||
"@gmana/utils": "1.0.1" | ||
"eslint-config-gmana": "1.0.1" | ||
}, | ||
@@ -54,0 +54,0 @@ "publishConfig": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
42326
339