@voidly-io/design-system 1.0.21 → 1.0.22
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 -0
- package/dist/style.css +1 -75
- package/package.json +1 -1
package/dist/components/index.js
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
+
import '../style.css';
|
|
1
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={background:t[`--v-background`],display:`flex`,justifyContent:`center`,alignItems:`center`,padding:40,borderRadius:e[`--v-border-radius`],...r.style},i[0]=r.style,i[1]=a);let o=r.progressSize??48,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};
|
package/dist/style.css
CHANGED
|
@@ -1,75 +1 @@
|
|
|
1
|
-
.oY0XGG_container {
|
|
2
|
-
--uib-dot-size: calc(var(--uib-size) / 2);
|
|
3
|
-
height: var(--uib-size);
|
|
4
|
-
width: var(--uib-size);
|
|
5
|
-
flex-shrink: 0;
|
|
6
|
-
justify-content: center;
|
|
7
|
-
align-items: center;
|
|
8
|
-
display: inline-flex;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.oY0XGG_inner {
|
|
12
|
-
height: calc(var(--uib-size) / 2);
|
|
13
|
-
width: var(--uib-size);
|
|
14
|
-
animation: oY0XGG_rotate calc(var(--uib-speed) * 2) linear infinite;
|
|
15
|
-
will-change: transform;
|
|
16
|
-
justify-content: space-between;
|
|
17
|
-
align-items: center;
|
|
18
|
-
display: flex;
|
|
19
|
-
position: relative;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.oY0XGG_svg {
|
|
23
|
-
filter: url("#uib-jelly-filter");
|
|
24
|
-
overflow: visible;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.oY0XGG_dot {
|
|
28
|
-
cy: 50%;
|
|
29
|
-
cx: 50%;
|
|
30
|
-
r: calc(var(--uib-dot-size) / 2);
|
|
31
|
-
will-change: transform;
|
|
32
|
-
fill: var(--uib-color);
|
|
33
|
-
transform-origin: center;
|
|
34
|
-
transform-box: fill-box;
|
|
35
|
-
transition: fill .3s;
|
|
36
|
-
display: block;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.oY0XGG_dot:first-child {
|
|
40
|
-
animation: oY0XGG_shift-left var(--uib-speed) ease infinite;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.oY0XGG_dot:nth-child(2) {
|
|
44
|
-
animation: oY0XGG_shift-right var(--uib-speed) ease infinite;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
@keyframes oY0XGG_rotate {
|
|
48
|
-
0%, 49.999%, 100% {
|
|
49
|
-
transform: none;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
50%, 99.999% {
|
|
53
|
-
transform: rotate(90deg);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
@keyframes oY0XGG_shift-left {
|
|
58
|
-
0%, 100% {
|
|
59
|
-
transform: scale(1) translateX(0%);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
50% {
|
|
63
|
-
transform: scale(.65) translateX(-75%);
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
@keyframes oY0XGG_shift-right {
|
|
68
|
-
0%, 100% {
|
|
69
|
-
transform: scale(1) translateX(0%);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
50% {
|
|
73
|
-
transform: scale(.65) translateX(75%);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
1
|
+
.oY0XGG_container{--uib-dot-size:calc(var(--uib-size) / 2);height:var(--uib-size);width:var(--uib-size);flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.oY0XGG_inner{height:calc(var(--uib-size) / 2);width:var(--uib-size);animation:oY0XGG_rotate calc(var(--uib-speed) * 2) linear infinite;will-change:transform;justify-content:space-between;align-items:center;display:flex;position:relative}.oY0XGG_svg{filter:url(#uib-jelly-filter);overflow:visible}.oY0XGG_dot{cy:50%;cx:50%;r:calc(var(--uib-dot-size) / 2);will-change:transform;fill:var(--uib-color);transform-origin:50%;transform-box:fill-box;transition:fill .3s;display:block}.oY0XGG_dot:first-child{animation:oY0XGG_shift-left var(--uib-speed) ease infinite}.oY0XGG_dot:nth-child(2){animation:oY0XGG_shift-right var(--uib-speed) ease infinite}@keyframes oY0XGG_rotate{0%,49.999%,to{transform:none}50%,99.999%{transform:rotate(90deg)}}@keyframes oY0XGG_shift-left{0%,to{transform:scale(1)translate(0%)}50%{transform:scale(.65)translate(-75%)}}@keyframes oY0XGG_shift-right{0%,to{transform:scale(1)translate(0%)}50%{transform:scale(.65)translate(75%)}}
|