@voidly-io/design-system 1.0.22 → 1.0.23
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/components/index.js +1 -1
- package/package.json +1 -1
package/dist/components/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import '../style.css';
|
|
2
|
-
import{n as e,o as t}from"../tokens-CtCOEM6W.js";import{c as n}from"react/compiler-runtime";import{CheckIcon as r,ExclamationCircleIcon as i,ExclamationTriangleIcon as a}from"@heroicons/react/20/solid";import{InformationCircleIcon as o}from"@heroicons/react/24/outline";import{Alert as s,AlertTitle as c}from"@mui/material";import"react";import{jsx as l,jsxs as u}from"react/jsx-runtime";const d={width:18,height:18},f={success:l(r,{style:d}),info:l(o,{style:d}),warning:l(a,{style:d}),error:l(i,{style:d})};function p(e){let t=n(8),r=e.hideIcon?!1:e.icon?e.icon:f[e.type],i;t[0]===e.title?i=t[1]:(i=e.title&&l(c,{children:e.title}),t[0]=e.title,t[1]=i);let a;return t[2]!==e.children||t[3]!==e.style||t[4]!==e.type||t[5]!==r||t[6]!==i?(a=u(s,{severity:e.type,icon:r,style:e.style,children:[i,e.children]}),t[2]=e.children,t[3]=e.style,t[4]=e.type,t[5]=r,t[6]=i,t[7]=a):a=t[7],a}var m={container:`oY0XGG_container`,dot:`oY0XGG_dot`,inner:`oY0XGG_inner`,rotate:`oY0XGG_rotate`,"shift-left":`oY0XGG_shift-left`,"shift-right":`oY0XGG_shift-right`,svg:`oY0XGG_svg`};function h(e){let t=n(20),{size:r,color:i,speed:a}=e,o=r===void 0?40:r,s=i===void 0?`black`:i,c=a===void 0?.9:a,d=parseInt(o+``),f=d/2,p=o+`px`,h=c+`s`,g;t[0]!==s||t[1]!==p||t[2]!==h?(g={"--uib-size":p,"--uib-color":s,"--uib-speed":h},t[0]=s,t[1]=p,t[2]=h,t[3]=g):g=t[3];let _=g,v=`0 0 ${o} ${f}`,y,b;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(b=l(`circle`,{className:m.dot}),y=l(`circle`,{className:m.dot}),t[4]=y,t[5]=b):(y=t[4],b=t[5]);let x=d/8,S;t[6]===x?S=t[7]:(S=l(`feGaussianBlur`,{in:`SourceGraphic`,stdDeviation:x,result:`blur`}),t[6]=x,t[7]=S);let C,w;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(C=l(`feColorMatrix`,{in:`blur`,mode:`matrix`,values:`1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 18 -7`,result:`ooze`}),w=l(`feBlend`,{in:`SourceGraphic`,in2:`ooze`}),t[8]=C,t[9]=w):(C=t[8],w=t[9]);let T;t[10]===S?T=t[11]:(T=l(`defs`,{children:u(`filter`,{id:`uib-jelly-filter`,children:[S,C,w]})}),t[10]=S,t[11]=T);let E;t[12]!==f||t[13]!==o||t[14]!==T||t[15]!==v?(E=l(`div`,{className:m.inner,children:u(`svg`,{className:m.svg,x:`0px`,y:`0px`,viewBox:v,height:f,width:o,preserveAspectRatio:`xMidYMid meet`,children:[b,y,T]})}),t[12]=f,t[13]=o,t[14]=T,t[15]=v,t[16]=E):E=t[16];let D;return t[17]!==E||t[18]!==_?(D=l(`div`,{className:m.container,style:_,children:E}),t[17]=E,t[18]=_,t[19]=D):D=t[19],D}function g(r){let i=n(7),a;i[0]===r.style?a=i[1]:(a={
|
|
2
|
+
import{n as e,o as t}from"../tokens-CtCOEM6W.js";import{c as n}from"react/compiler-runtime";import{CheckIcon as r,ExclamationCircleIcon as i,ExclamationTriangleIcon as a}from"@heroicons/react/20/solid";import{InformationCircleIcon as o}from"@heroicons/react/24/outline";import{Alert as s,AlertTitle as c}from"@mui/material";import"react";import{jsx as l,jsxs as u}from"react/jsx-runtime";const d={width:18,height:18},f={success:l(r,{style:d}),info:l(o,{style:d}),warning:l(a,{style:d}),error:l(i,{style:d})};function p(e){let t=n(8),r=e.hideIcon?!1:e.icon?e.icon:f[e.type],i;t[0]===e.title?i=t[1]:(i=e.title&&l(c,{children:e.title}),t[0]=e.title,t[1]=i);let a;return t[2]!==e.children||t[3]!==e.style||t[4]!==e.type||t[5]!==r||t[6]!==i?(a=u(s,{severity:e.type,icon:r,style:e.style,children:[i,e.children]}),t[2]=e.children,t[3]=e.style,t[4]=e.type,t[5]=r,t[6]=i,t[7]=a):a=t[7],a}var m={container:`oY0XGG_container`,dot:`oY0XGG_dot`,inner:`oY0XGG_inner`,rotate:`oY0XGG_rotate`,"shift-left":`oY0XGG_shift-left`,"shift-right":`oY0XGG_shift-right`,svg:`oY0XGG_svg`};function h(e){let t=n(20),{size:r,color:i,speed:a}=e,o=r===void 0?40:r,s=i===void 0?`black`:i,c=a===void 0?.9:a,d=parseInt(o+``),f=d/2,p=o+`px`,h=c+`s`,g;t[0]!==s||t[1]!==p||t[2]!==h?(g={"--uib-size":p,"--uib-color":s,"--uib-speed":h},t[0]=s,t[1]=p,t[2]=h,t[3]=g):g=t[3];let _=g,v=`0 0 ${o} ${f}`,y,b;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(b=l(`circle`,{className:m.dot}),y=l(`circle`,{className:m.dot}),t[4]=y,t[5]=b):(y=t[4],b=t[5]);let x=d/8,S;t[6]===x?S=t[7]:(S=l(`feGaussianBlur`,{in:`SourceGraphic`,stdDeviation:x,result:`blur`}),t[6]=x,t[7]=S);let C,w;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(C=l(`feColorMatrix`,{in:`blur`,mode:`matrix`,values:`1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 18 -7`,result:`ooze`}),w=l(`feBlend`,{in:`SourceGraphic`,in2:`ooze`}),t[8]=C,t[9]=w):(C=t[8],w=t[9]);let T;t[10]===S?T=t[11]:(T=l(`defs`,{children:u(`filter`,{id:`uib-jelly-filter`,children:[S,C,w]})}),t[10]=S,t[11]=T);let E;t[12]!==f||t[13]!==o||t[14]!==T||t[15]!==v?(E=l(`div`,{className:m.inner,children:u(`svg`,{className:m.svg,x:`0px`,y:`0px`,viewBox:v,height:f,width:o,preserveAspectRatio:`xMidYMid meet`,children:[b,y,T]})}),t[12]=f,t[13]=o,t[14]=T,t[15]=v,t[16]=E):E=t[16];let D;return t[17]!==E||t[18]!==_?(D=l(`div`,{className:m.container,style:_,children:E}),t[17]=E,t[18]=_,t[19]=D):D=t[19],D}function g(r){let i=n(7),a;i[0]===r.style?a=i[1]:(a={display:`flex`,justifyContent:`center`,alignItems:`center`,borderRadius:e[`--v-border-radius`],...r.style},i[0]=r.style,i[1]=a);let o=r.progressSize??40,s;i[2]===o?s=i[3]:(s=l(h,{color:t[`--v-accents-1000`],size:o,speed:`0.9`}),i[2]=o,i[3]=s);let c;return i[4]!==a||i[5]!==s?(c=l(`div`,{style:a,children:s}),i[4]=a,i[5]=s,i[6]=c):c=i[6],c}export{p as VAlert,g as VLoading};
|