@inntechcorp/it-design 2.2.14 → 2.2.15
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.cjs.js +1 -20
- package/dist/index.esm.js +1 -20
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
opacity : 1;
|
|
72
72
|
`}
|
|
73
73
|
|
|
74
|
-
`,I=({updating:M=!0,opacity:b=!0,size:o=
|
|
74
|
+
`,I=({updating:M=!0,opacity:b=!0,size:o=32,className:c="",children:e=null})=>{p.useEffect((()=>{}),[]);const O=()=>{let b="itd-spin-spinner";return M&&(b+=" itd-spin-updating"),c&&(b+=" "+c),b},t=()=>z.jsx(P,{$size:String(o),className:O(),children:z.jsxs(j,{children:[z.jsx("div",{}),z.jsx("div",{}),z.jsx("div",{}),z.jsx("div",{})]})}),n=()=>{let b="itd-spin";return M&&(b+=" itd-spin-updating"),c&&(b+=" "+c),b};return e?z.jsxs(D,{className:n(),children:[z.jsx(F,{$updating:M,$opacity:b,children:e}),M?t():null]}):M?t():null},$=(M,b)=>"space-between"===b?n.css`
|
|
75
75
|
margin-right: ${"-7px"};
|
|
76
76
|
`:"left"===M?n.css`
|
|
77
77
|
margin-right: ${"7px"};
|
|
@@ -1136,12 +1136,6 @@
|
|
|
1136
1136
|
|
|
1137
1137
|
opacity: 1;
|
|
1138
1138
|
|
|
1139
|
-
.itd-spin-spinner {
|
|
1140
|
-
>div>div {
|
|
1141
|
-
border-color: #000000 transparent transparent;
|
|
1142
|
-
}
|
|
1143
|
-
}
|
|
1144
|
-
|
|
1145
1139
|
`,rM=n.div`
|
|
1146
1140
|
|
|
1147
1141
|
overflow-y: auto;
|
|
@@ -4793,19 +4787,6 @@ function(b,z){M.exports?M.exports=z(Fo()):z(b.moment)}(Vo,(function(M){void 0===
|
|
|
4793
4787
|
>.itd-spin {
|
|
4794
4788
|
height: 100%;
|
|
4795
4789
|
}
|
|
4796
|
-
|
|
4797
|
-
.itd-spin-spinner {
|
|
4798
|
-
|
|
4799
|
-
width: 32px;
|
|
4800
|
-
height: 32px;
|
|
4801
|
-
margin-top: -16px;
|
|
4802
|
-
margin-left: -16px;
|
|
4803
|
-
|
|
4804
|
-
>div>div {
|
|
4805
|
-
border-color: #000000 transparent transparent transparent;
|
|
4806
|
-
}
|
|
4807
|
-
|
|
4808
|
-
}
|
|
4809
4790
|
|
|
4810
4791
|
`,vi=n.div`
|
|
4811
4792
|
|
package/dist/index.esm.js
CHANGED
|
@@ -71,7 +71,7 @@ import M from"i18next";import{useTranslation as b,initReactI18next as z}from"rea
|
|
|
71
71
|
opacity : 1;
|
|
72
72
|
`}
|
|
73
73
|
|
|
74
|
-
`,mM=({updating:M=!0,opacity:b=!0,size:z=
|
|
74
|
+
`,mM=({updating:M=!0,opacity:b=!0,size:z=32,className:o="",children:c=null})=>{n((()=>{}),[]);const e=()=>{let b="itd-spin-spinner";return M&&(b+=" itd-spin-updating"),o&&(b+=" "+o),b},t=()=>p(hM,{$size:String(z),className:e(),children:O(RM,{children:[p("div",{}),p("div",{}),p("div",{}),p("div",{})]})});return c?O(fM,{className:(()=>{let b="itd-spin";return M&&(b+=" itd-spin-updating"),o&&(b+=" "+o),b})(),children:[p(LM,{$updating:M,$opacity:b,children:c}),M?t():null]}):M?t():null},gM=(M,b)=>"space-between"===b?E`
|
|
75
75
|
margin-right: ${"-7px"};
|
|
76
76
|
`:"left"===M?E`
|
|
77
77
|
margin-right: ${"7px"};
|
|
@@ -1136,12 +1136,6 @@ import M from"i18next";import{useTranslation as b,initReactI18next as z}from"rea
|
|
|
1136
1136
|
|
|
1137
1137
|
opacity: 1;
|
|
1138
1138
|
|
|
1139
|
-
.itd-spin-spinner {
|
|
1140
|
-
>div>div {
|
|
1141
|
-
border-color: #000000 transparent transparent;
|
|
1142
|
-
}
|
|
1143
|
-
}
|
|
1144
|
-
|
|
1145
1139
|
`,VM=k.div`
|
|
1146
1140
|
|
|
1147
1141
|
overflow-y: auto;
|
|
@@ -4793,19 +4787,6 @@ function(b,z){M.exports?M.exports=z(FO()):z(b.moment)}(jO,(function(M){void 0===
|
|
|
4793
4787
|
>.itd-spin {
|
|
4794
4788
|
height: 100%;
|
|
4795
4789
|
}
|
|
4796
|
-
|
|
4797
|
-
.itd-spin-spinner {
|
|
4798
|
-
|
|
4799
|
-
width: 32px;
|
|
4800
|
-
height: 32px;
|
|
4801
|
-
margin-top: -16px;
|
|
4802
|
-
margin-left: -16px;
|
|
4803
|
-
|
|
4804
|
-
>div>div {
|
|
4805
|
-
border-color: #000000 transparent transparent transparent;
|
|
4806
|
-
}
|
|
4807
|
-
|
|
4808
|
-
}
|
|
4809
4790
|
|
|
4810
4791
|
`,Pd=k.div`
|
|
4811
4792
|
|