@inntechcorp/it-design 2.1.13 → 2.1.14

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 CHANGED
@@ -5368,7 +5368,7 @@ function pu(e,t){if(fu(e))for(let o=0;o<e.length&&!1!==t(e[o],o,e);o++);else e&&
5368
5368
  font-weight: 500;
5369
5369
  text-align: center;
5370
5370
  max-width: 80%;
5371
- `,gR=({image:o="",title:p="",description:b="",extra:n=null,footer:M=null,type:r="default",fill:c=!1,autoCenter:z=!0,background:i=!0,animation:a=!0})=>{const[O,s]=t.useState("");t.useEffect((()=>{""!==o&&s(o)}),[o]);const d=()=>{if(n)return e.jsx(uR,{className:"itd-result-extras",children:n})},A=()=>{if(M)return e.jsx(fR,{className:"itd-result-footer",children:M})},l=()=>{let e="itd-result";return e+=" itd-result-"+r,z&&(e+=" itd-result-auto-center"),c&&(e+=" itd-result-fill"),e};return e.jsx(OR,{className:l(),children:e.jsx(dR,{className:"itd-result-content-wrapper",children:e.jsxs(AR,{className:"itd-result-content",$autoCenter:z,$type:r,$background:i,$animation:a,$fill:c.toString(),children:[e.jsxs(qR,{className:"itd-result-body",children:[e.jsx(lR,{className:"itd-image-wrapper",children:e.jsx(Ul,{src:O})}),e.jsx(hR,{className:"itd-result-title",children:p}),e.jsx(WR,{className:"itd-result-sub-title",children:b})]}),d(),A()]})})})};gR.displayName="ITD-Result";const mR=Di.div`
5371
+ `,gR=({image:o="",title:p="",description:b="",extra:n=null,footer:M=null,type:r="default",fill:c=!1,autoCenter:z=!0,background:i=!0,animation:a=!0})=>{const[O,s]=t.useState("");t.useEffect((()=>{""!==o&&s(o)}),[o]);const d=()=>{if(n)return e.jsx(uR,{className:"itd-result-extras",children:n})},A=()=>{if(M)return e.jsx(fR,{className:"itd-result-footer",children:M})},l=()=>{let e="itd-result";return e+=" itd-result-"+r,z&&(e+=" itd-result-auto-center"),c&&(e+=" itd-result-fill"),i&&(e+=" itd-result-background"),i||(e+=" itd-result-no-background"),e};return e.jsx(OR,{className:l(),children:e.jsx(dR,{className:"itd-result-content-wrapper",children:e.jsxs(AR,{className:"itd-result-content",$autoCenter:z,$type:r,$background:i,$animation:a,$fill:c.toString(),children:[e.jsxs(qR,{className:"itd-result-body",children:[e.jsx(lR,{className:"itd-image-wrapper",children:e.jsx(Ul,{src:O})}),e.jsx(hR,{className:"itd-result-title",children:p}),e.jsx(WR,{className:"itd-result-sub-title",children:b})]}),d(),A()]})})})};gR.displayName="ITD-Result";const mR=Di.div`
5372
5372
  position: fixed;
5373
5373
  bottom: 80px;
5374
5374
  right: 30px;
package/dist/index.esm.js CHANGED
@@ -5368,7 +5368,7 @@ function Of(e,t){if(yf(e))for(let o=0;o<e.length&&!1!==t(e[o],o,e);o++);else e&&
5368
5368
  font-weight: 500;
5369
5369
  text-align: center;
5370
5370
  max-width: 80%;
5371
- `,wv=({image:t="",title:p="",description:b="",extra:n=null,footer:M=null,type:c="default",fill:i=!1,autoCenter:a=!0,background:O=!0,animation:s=!0})=>{const[A,d]=r("");z((()=>{""!==t&&d(t)}),[t]);const l=()=>{if(n)return e(vv,{className:"itd-result-extras",children:n})},u=()=>{if(M)return e(Lv,{className:"itd-result-footer",children:M})};return e(hv,{className:(()=>{let e="itd-result";return e+=" itd-result-"+c,a&&(e+=" itd-result-auto-center"),i&&(e+=" itd-result-fill"),e})(),children:e(gv,{className:"itd-result-content-wrapper",children:o(mv,{className:"itd-result-content",$autoCenter:a,$type:c,$background:O,$animation:s,$fill:i.toString(),children:[o(yv,{className:"itd-result-body",children:[e(Rv,{className:"itd-image-wrapper",children:e(Zu,{src:A})}),e(Nv,{className:"itd-result-title",children:p}),e(Bv,{className:"itd-result-sub-title",children:b})]}),l(),u()]})})})};wv.displayName="ITD-Result";const xv=ha.div`
5371
+ `,wv=({image:t="",title:p="",description:b="",extra:n=null,footer:M=null,type:c="default",fill:i=!1,autoCenter:a=!0,background:O=!0,animation:s=!0})=>{const[A,d]=r("");z((()=>{""!==t&&d(t)}),[t]);const l=()=>{if(n)return e(vv,{className:"itd-result-extras",children:n})},u=()=>{if(M)return e(Lv,{className:"itd-result-footer",children:M})};return e(hv,{className:(()=>{let e="itd-result";return e+=" itd-result-"+c,a&&(e+=" itd-result-auto-center"),i&&(e+=" itd-result-fill"),O&&(e+=" itd-result-background"),O||(e+=" itd-result-no-background"),e})(),children:e(gv,{className:"itd-result-content-wrapper",children:o(mv,{className:"itd-result-content",$autoCenter:a,$type:c,$background:O,$animation:s,$fill:i.toString(),children:[o(yv,{className:"itd-result-body",children:[e(Rv,{className:"itd-image-wrapper",children:e(Zu,{src:A})}),e(Nv,{className:"itd-result-title",children:p}),e(Bv,{className:"itd-result-sub-title",children:b})]}),l(),u()]})})})};wv.displayName="ITD-Result";const xv=ha.div`
5372
5372
  position: fixed;
5373
5373
  bottom: 80px;
5374
5374
  right: 30px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inntechcorp/it-design",
3
- "version": "2.1.13",
3
+ "version": "2.1.14",
4
4
  "description": "All in one Design library for web applications.",
5
5
  "author": "Inn.Tech",
6
6
  "license": "ISC",