@stackshift-ui/logo-cloud 1.0.0 → 6.0.3
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/chunk-3E6NMN2X.mjs +1 -0
- package/dist/chunk-GGOHIST3.mjs +1 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/logo-cloud.js +1 -1
- package/dist/logo-cloud.mjs +1 -1
- package/dist/logo-cloud_a.js +1 -1
- package/dist/logo-cloud_a.mjs +1 -1
- package/dist/logo-cloud_c.js +1 -1
- package/dist/logo-cloud_c.mjs +1 -1
- package/package.json +12 -12
- package/dist/chunk-7GMGDLA2.mjs +0 -1
- package/dist/chunk-OMIOOYVQ.mjs +0 -1
- /package/dist/{chunk-VJLNDSYW.mjs → chunk-6O522TDZ.mjs} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Container as u}from"@stackshift-ui/container";import{Flex as n}from"@stackshift-ui/flex";import{Heading as c}from"@stackshift-ui/heading";import{Image as m}from"@stackshift-ui/image";import{Section as a}from"@stackshift-ui/section";import p from"react";import{jsx as r,jsxs as d}from"react/jsx-runtime";function f({title:t,images:o}){return r(a,{className:"py-20 bg-background",children:d(u,{maxWidth:1280,children:[r(i,{title:t}),r(n,{wrap:!0,justify:"center",align:"center",children:r(s,{images:o})})]})})}function i({title:t}){return t?r(c,{className:"mb-12 text-center",fontSize:"2xl",children:t}):null}function s({images:t}){return t?r(p.Fragment,{children:t==null?void 0:t.map((o,l)=>{var e;return r("div",{className:"w-full px-2 mb-4 md:w-1/3 lg:mr-10 lg:w-1/6 xl:mr-0",children:o!=null&&o.image?r(n,{align:"center",justify:"center",className:"mx-auto h-[192px] w-[192px] rounded-global bg-white",children:r(m,{className:"object-scale-down",src:`${o==null?void 0:o.image}`,sizes:"192px",width:192,height:192,alt:(e=o==null?void 0:o.alt)!=null?e:`logoCloud-image${l}`})}):null},l)})}):null}export{f as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Button as p}from"@stackshift-ui/button";import{Container as s}from"@stackshift-ui/container";import{Flex as i}from"@stackshift-ui/flex";import{Heading as c}from"@stackshift-ui/heading";import{Image as a}from"@stackshift-ui/image";import{Section as u}from"@stackshift-ui/section";import{jsx as t,jsxs as d}from"react/jsx-runtime";function m({title:e,images:o,button:l}){return t(u,{className:"relative pt-20 pb-12 overflow-hidden bg-background lg:pb-80",children:d(s,{maxWidth:1280,children:[t(f,{title:e,button:l}),o&&o.length>0&&t(g,{images:o}),t(x,{images:o})]})})}function f({title:e,button:o}){return d(s,{maxWidth:448,className:"text-center",children:[e&&t(c,{weight:"bold",className:"mb-8 text-4xl lg:text-5xl",children:e}),(o==null?void 0:o.label)&&t(p,{as:"link",ariaLabel:o.label,link:o,children:o.label})]})}function g({images:e}){return e?t("div",{className:"relative hidden lg:block",children:e.map((o,l)=>t(h,{image:o,alt:o==null?void 0:o.alt,index:l},l))}):null}function h({image:e,alt:o,index:l}){var n;return t("div",{className:"absolute flex items-center justify-center w-24 h-24 overflow-hidden rounded-full bg-gray-50",style:(n=[{top:"-120px",left:"-10px"},{top:"0",left:"0",marginTop:"20px"},{bottom:"-250px",left:"20%"},{top:"20px",right:"20%"},{bottom:"-250px",right:"0"},{top:"-150px",right:"0"}][l])!=null?n:{},children:t(a,{className:"object-scale-down w-16 h-16",src:`${e==null?void 0:e.image}`,sizes:"100vw",width:64,height:64,alt:o!=null?o:`logoCloud-image-${l+1}`})})}function x({images:e}){return e?t(i,{wrap:!0,justify:"center",className:"mt-16 lg:hidden",children:e&&e.map((o,l)=>{var r;return t(i,{align:"center",justify:"center",className:"w-24 h-24 mx-4 mb-8 rounded-full bg-gray-50",children:t(a,{className:"object-scale-down w-16 h-16",src:`${o==null?void 0:o.image}`,sizes:"100vw",width:64,height:64,alt:(r=o==null?void 0:o.alt)!=null?r:`logoCloud-image-${l}`})},l)})}):null}export{m as a};
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";var no=Object.create;var c=Object.defineProperty;var io=Object.getOwnPropertyDescriptor;var so=Object.getOwnPropertyNames;var po=Object.getPrototypeOf,mo=Object.prototype.hasOwnProperty;var a=(o,t)=>()=>(o&&(t=o(o=0)),t);var m=(o,t)=>{for(var r in t)c(o,r,{get:t[r],enumerable:!0})},
|
|
2
|
+
"use strict";var no=Object.create;var c=Object.defineProperty;var io=Object.getOwnPropertyDescriptor;var so=Object.getOwnPropertyNames;var po=Object.getPrototypeOf,mo=Object.prototype.hasOwnProperty;var a=(o,t)=>()=>(o&&(t=o(o=0)),t);var m=(o,t)=>{for(var r in t)c(o,r,{get:t[r],enumerable:!0})},H=(o,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of so(t))!mo.call(o,s)&&s!==r&&c(o,s,{get:()=>t[s],enumerable:!(n=io(t,s))||n.enumerable});return o};var T=(o,t,r)=>(r=o!=null?no(po(o)):{},H(t||!o||!o.__esModule?c(r,"default",{value:o,enumerable:!0}):r,o)),uo=o=>H(c({},"__esModule",{value:!0}),o);var M={};m(M,{LogoCloud_A:()=>x,default:()=>x});function x({title:o,images:t}){return(0,i.jsx)(A.Section,{className:"py-20 bg-background",children:(0,i.jsxs)(W.Container,{maxWidth:1280,children:[(0,i.jsx)(co,{title:o}),(0,i.jsx)(d.Flex,{wrap:!0,justify:"center",align:"center",children:(0,i.jsx)(ao,{images:t})})]})})}function co({title:o}){return o?(0,i.jsx)(B.Heading,{className:"mb-12 text-center",fontSize:"2xl",children:o}):null}function ao({images:o}){return o?(0,i.jsx)(D.default.Fragment,{children:o==null?void 0:o.map((t,r)=>{var n;return(0,i.jsx)("div",{className:"w-full px-2 mb-4 md:w-1/3 lg:mr-10 lg:w-1/6 xl:mr-0",children:t!=null&&t.image?(0,i.jsx)(d.Flex,{align:"center",justify:"center",className:"mx-auto h-[192px] w-[192px] rounded-global bg-white",children:(0,i.jsx)(V.Image,{className:"object-scale-down",src:`${t==null?void 0:t.image}`,sizes:"192px",width:192,height:192,alt:(n=t==null?void 0:t.alt)!=null?n:`logoCloud-image${r}`})}):null},r)})}):null}var W,d,B,V,A,D,i,g=a(()=>{"use strict";W=require("@stackshift-ui/container"),d=require("@stackshift-ui/flex"),B=require("@stackshift-ui/heading"),V=require("@stackshift-ui/image"),A=require("@stackshift-ui/section"),D=T(require("react")),i=require("react/jsx-runtime")});var O={};m(O,{LogoCloud_B:()=>w,default:()=>w});function w({title:o,text:t,images:r}){return(0,i.jsx)(A.Section,{className:"py-20 bg-background",children:(0,i.jsx)(b.Container,{maxWidth:1280,children:(0,i.jsxs)(d.Flex,{wrap:!0,align:"center",justify:"between",children:[(0,i.jsx)(fo,{title:o,text:t}),(0,i.jsx)(d.Flex,{wrap:!0,className:"w-full lg:w-1/2",children:(0,i.jsx)(xo,{images:r})})]})})})}function fo({title:o,text:t}){return(0,i.jsx)("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:(0,i.jsxs)(b.Container,{maxWidth:448,children:[o&&(0,i.jsx)(B.Heading,{weight:"bold",className:"mb-4",children:o}),t&&(0,i.jsx)(E.Text,{muted:!0,className:"leading-loose",children:t})]})})}function xo({images:o}){return o?(0,i.jsx)(q.default.Fragment,{children:o==null?void 0:o.map((t,r)=>{var n;return(0,i.jsx)("div",{className:"w-full px-2 mb-4 sm:w-1/2 md:w-1/3",children:(t==null?void 0:t.image)&&(0,i.jsx)("div",{children:(0,i.jsx)(d.Flex,{align:"center",justify:"center",className:"mx-auto h-[192px] w-[192px] rounded bg-gray-50",children:(0,i.jsx)(V.Image,{className:"object-scale-down",src:`${t==null?void 0:t.image}`,sizes:"192px",width:192,height:192,alt:(n=t==null?void 0:t.alt)!=null?n:`logoCloud-image${r}`})})})},r)})}):null}var q,E,B,V,A,b,d,i,h=a(()=>{"use strict";q=T(require("react")),E=require("@stackshift-ui/text"),b=require("@stackshift-ui/container")});var Y={};m(Y,{LogoCloud_C:()=>y,default:()=>y});function y({title:o,images:t,button:r}){return(0,i.jsx)(A.Section,{className:"relative pt-20 pb-12 overflow-hidden bg-background lg:pb-80",children:(0,i.jsxs)(b.Container,{maxWidth:1280,children:[(0,i.jsx)(go,{title:o,button:r}),t&&t.length>0&&(0,i.jsx)(bo,{images:t}),(0,i.jsx)(ho,{images:t})]})})}function go({title:o,button:t}){return(0,i.jsxs)(b.Container,{maxWidth:448,className:"text-center",children:[o&&(0,i.jsx)(B.Heading,{weight:"bold",className:"mb-8 text-4xl lg:text-5xl",children:o}),(t==null?void 0:t.label)&&(0,i.jsx)(Q.Button,{as:"link",ariaLabel:t.label,link:t,children:t.label})]})}function bo({images:o}){return o?(0,i.jsx)("div",{className:"relative hidden lg:block",children:o.map((t,r)=>(0,i.jsx)(wo,{image:t,alt:t==null?void 0:t.alt,index:r},r))}):null}function wo({image:o,alt:t,index:r}){var s;return(0,i.jsx)("div",{className:"absolute flex items-center justify-center w-24 h-24 overflow-hidden rounded-full bg-gray-50",style:(s=[{top:"-120px",left:"-10px"},{top:"0",left:"0",marginTop:"20px"},{bottom:"-250px",left:"20%"},{top:"20px",right:"20%"},{bottom:"-250px",right:"0"},{top:"-150px",right:"0"}][r])!=null?s:{},children:(0,i.jsx)(V.Image,{className:"object-scale-down w-16 h-16",src:`${o==null?void 0:o.image}`,sizes:"100vw",width:64,height:64,alt:t!=null?t:`logoCloud-image-${r+1}`})})}function ho({images:o}){return o?(0,i.jsx)(d.Flex,{wrap:!0,justify:"center",className:"mt-16 lg:hidden",children:o&&o.map((t,r)=>{var n;return(0,i.jsx)(d.Flex,{align:"center",justify:"center",className:"w-24 h-24 mx-4 mb-8 rounded-full bg-gray-50",children:(0,i.jsx)(V.Image,{className:"object-scale-down w-16 h-16",src:`${t==null?void 0:t.image}`,sizes:"100vw",width:64,height:64,alt:(n=t==null?void 0:t.alt)!=null?n:`logoCloud-image-${r}`})},r)})}):null}var Q,b,d,B,V,A,i,L=a(()=>{"use strict";Q=require("@stackshift-ui/button")});var ro={};m(ro,{LogoCloud_D:()=>F,default:()=>F});function F({images:o}){return(0,i.jsx)(A.Section,{className:"py-20 bg-background",children:(0,i.jsx)(b.Container,{maxWidth:1280,children:(0,i.jsx)(d.Flex,{wrap:!0,justify:"center",align:"center",children:o&&(o==null?void 0:o.map((t,r)=>(0,i.jsx)(Co,{image:t})))})})})}function Co({image:o}){var t;return o?(0,i.jsx)("div",{className:"w-full px-2 mb-4 md:w-1/3 lg:mr-10 lg:w-1/6 xl:mr-0",children:(o==null?void 0:o.image)&&(0,i.jsx)(d.Flex,{align:"center",justify:"center",className:"mx-auto h-[192px] w-[192px] rounded bg-gray-50",children:(0,i.jsx)(Z.Image,{className:"object-scale-down w-full h-full",src:`${o==null?void 0:o.image}`,sizes:"192px",width:192,height:192,alt:(t=o==null?void 0:o.alt)!=null?t:"logoCloud-image"})})}):null}var Z,A,b,d,i,k=a(()=>{"use strict";Z=require("@stackshift-ui/image")});var yo={};m(yo,{LogoCloud:()=>eo,LogoCloud_A:()=>x,LogoCloud_B:()=>w,LogoCloud_C:()=>y,LogoCloud_D:()=>F});module.exports=uo(yo);var u=require("react"),vo={variant_a:(0,u.lazy)(()=>Promise.resolve().then(()=>(g(),M))),variant_b:(0,u.lazy)(()=>Promise.resolve().then(()=>(h(),O))),variant_c:(0,u.lazy)(()=>Promise.resolve().then(()=>(L(),Y))),variant_d:(0,u.lazy)(()=>Promise.resolve().then(()=>(k(),ro)))},No="LogoCloud",eo=({data:o})=>{var s,S,P,R,j,$,_,z;let t=o==null?void 0:o.variant,r=t&&vo[t],n={title:(S=(s=o==null?void 0:o.variants)==null?void 0:s.title)!=null?S:void 0,images:(R=(P=o==null?void 0:o.variants)==null?void 0:P.images)!=null?R:void 0,text:($=(j=o==null?void 0:o.variants)==null?void 0:j.plainText)!=null?$:void 0,button:(z=(_=o==null?void 0:o.variants)==null?void 0:_.primaryButton)!=null?z:void 0};return r?(0,i.jsx)(r,{...n}):null};eo.displayName=No;g();h();L();k();0&&(module.exports={LogoCloud,LogoCloud_A,LogoCloud_B,LogoCloud_C,LogoCloud_D});
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";import{a as f}from"./chunk-
|
|
2
|
+
"use strict";import{a as f}from"./chunk-6O522TDZ.mjs";import{a as o}from"./chunk-3E6NMN2X.mjs";import{a as r}from"./chunk-4L26YHHM.mjs";import{a as e}from"./chunk-GGOHIST3.mjs";import{a as t}from"./chunk-MF3MJNCG.mjs";export{f as LogoCloud,o as LogoCloud_A,r as LogoCloud_B,e as LogoCloud_C,t as LogoCloud_D};
|
package/dist/logo-cloud.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var no=Object.create;var c=Object.defineProperty;var io=Object.getOwnPropertyDescriptor;var so=Object.getOwnPropertyNames;var po=Object.getPrototypeOf,uo=Object.prototype.hasOwnProperty;var a=(o,t)=>()=>(o&&(t=o(o=0)),t);var u=(o,t)=>{for(var r in t)c(o,r,{get:t[r],enumerable:!0})},
|
|
1
|
+
"use strict";var no=Object.create;var c=Object.defineProperty;var io=Object.getOwnPropertyDescriptor;var so=Object.getOwnPropertyNames;var po=Object.getPrototypeOf,uo=Object.prototype.hasOwnProperty;var a=(o,t)=>()=>(o&&(t=o(o=0)),t);var u=(o,t)=>{for(var r in t)c(o,r,{get:t[r],enumerable:!0})},k=(o,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of so(t))!uo.call(o,s)&&s!==r&&c(o,s,{get:()=>t[s],enumerable:!(n=io(t,s))||n.enumerable});return o};var S=(o,t,r)=>(r=o!=null?no(po(o)):{},k(t||!o||!o.__esModule?c(r,"default",{value:o,enumerable:!0}):r,o)),mo=o=>k(c({},"__esModule",{value:!0}),o);var H={};u(H,{LogoCloud_A:()=>z,default:()=>z});function z({title:o,images:t}){return(0,i.jsx)($.Section,{className:"py-20 bg-background",children:(0,i.jsxs)(P.Container,{maxWidth:1280,children:[(0,i.jsx)(co,{title:o}),(0,i.jsx)(d.Flex,{wrap:!0,justify:"center",align:"center",children:(0,i.jsx)(ao,{images:t})})]})})}function co({title:o}){return o?(0,i.jsx)(R.Heading,{className:"mb-12 text-center",fontSize:"2xl",children:o}):null}function ao({images:o}){return o?(0,i.jsx)(_.default.Fragment,{children:o==null?void 0:o.map((t,r)=>{var n;return(0,i.jsx)("div",{className:"j-full px-2 mb-4 md:j-1/3 lg:mr-10 lg:j-1/6 xl:mr-0",children:t!=null&&t.image?(0,i.jsx)(d.Flex,{align:"center",justify:"center",className:"mx-auto d-[192px] j-[192px] rounded-global bg-white",children:(0,i.jsx)(j.Image,{className:"object-scale-down",src:`${t==null?void 0:t.image}`,sizes:"192px",width:192,height:192,alt:(n=t==null?void 0:t.alt)!=null?n:`logoCloud-image${r}`})}):null},r)})}):null}var P,d,R,j,$,_,i,T=a(()=>{"use strict";P=require("@stackshift-ui/container"),d=require("@stackshift-ui/flex"),R=require("@stackshift-ui/heading"),j=require("@stackshift-ui/image"),$=require("@stackshift-ui/section"),_=S(require("react")),i=require("react/jsx-runtime")});var q={};u(q,{LogoCloud_B:()=>M,default:()=>M});function M({title:o,text:t,images:r}){return(0,i.jsx)($.Section,{className:"py-20 bg-background",children:(0,i.jsx)(x.Container,{maxWidth:1280,children:(0,i.jsxs)(d.Flex,{wrap:!0,align:"center",justify:"between",children:[(0,i.jsx)(fo,{title:o,text:t}),(0,i.jsx)(d.Flex,{wrap:!0,className:"j-full lg:j-1/2",children:(0,i.jsx)(xo,{images:r})})]})})})}function fo({title:o,text:t}){return(0,i.jsx)("div",{className:"j-full mb-12 lg:mb-0 lg:j-1/2",children:(0,i.jsxs)(x.Container,{maxWidth:448,children:[o&&(0,i.jsx)(R.Heading,{weight:"bold",className:"mb-4",children:o}),t&&(0,i.jsx)(B.Text,{muted:!0,className:"leading-loose",children:t})]})})}function xo({images:o}){return o?(0,i.jsx)(W.default.Fragment,{children:o==null?void 0:o.map((t,r)=>{var n;return(0,i.jsx)("div",{className:"j-full px-2 mb-4 sm:j-1/2 md:j-1/3",children:(t==null?void 0:t.image)&&(0,i.jsx)("div",{children:(0,i.jsx)(d.Flex,{align:"center",justify:"center",className:"mx-auto d-[192px] j-[192px] rounded bg-gray-50",children:(0,i.jsx)(j.Image,{className:"object-scale-down",src:`${t==null?void 0:t.image}`,sizes:"192px",width:192,height:192,alt:(n=t==null?void 0:t.alt)!=null?n:`logoCloud-image${r}`})})})},r)})}):null}var W,B,R,j,$,x,d,i,E=a(()=>{"use strict";W=S(require("react")),B=require("@stackshift-ui/text"),x=require("@stackshift-ui/container")});var Q={};u(Q,{LogoCloud_C:()=>O,default:()=>O});function O({title:o,images:t,button:r}){return(0,i.jsx)($.Section,{className:"relative pt-20 pb-12 overflow-hidden bg-background lg:pb-80",children:(0,i.jsxs)(x.Container,{maxWidth:1280,children:[(0,i.jsx)(go,{title:o,button:r}),t&&t.length>0&&(0,i.jsx)(bo,{images:t}),(0,i.jsx)(ho,{images:t})]})})}function go({title:o,button:t}){return(0,i.jsxs)(x.Container,{maxWidth:448,className:"text-center",children:[o&&(0,i.jsx)(R.Heading,{weight:"bold",className:"mb-8 text-4xl lg:text-5xl",children:o}),(t==null?void 0:t.label)&&(0,i.jsx)(G.Button,{as:"link",ariaLabel:t.label,link:t,children:t.label})]})}function bo({images:o}){return o?(0,i.jsx)("div",{className:"relative hidden lg:block",children:o.map((t,r)=>(0,i.jsx)(wo,{image:t,alt:t==null?void 0:t.alt,index:r},r))}):null}function wo({image:o,alt:t,index:r}){var s;return(0,i.jsx)("div",{className:"absolute flex items-center justify-center j-24 d-24 overflow-hidden rounded-full bg-gray-50",style:(s=[{top:"-120px",left:"-10px"},{top:"0",left:"0",marginTop:"20px"},{bottom:"-250px",left:"20%"},{top:"20px",right:"20%"},{bottom:"-250px",right:"0"},{top:"-150px",right:"0"}][r])!=null?s:{},children:(0,i.jsx)(j.Image,{className:"object-scale-down j-16 d-16",src:`${o==null?void 0:o.image}`,sizes:"100vw",width:64,height:64,alt:t!=null?t:`logoCloud-image-${r+1}`})})}function ho({images:o}){return o?(0,i.jsx)(d.Flex,{wrap:!0,justify:"center",className:"mt-16 lg:hidden",children:o&&o.map((t,r)=>{var n;return(0,i.jsx)(d.Flex,{align:"center",justify:"center",className:"j-24 d-24 mx-4 mb-8 rounded-full bg-gray-50",children:(0,i.jsx)(j.Image,{className:"object-scale-down j-16 d-16",src:`${t==null?void 0:t.image}`,sizes:"100vw",width:64,height:64,alt:(n=t==null?void 0:t.alt)!=null?n:`logoCloud-image-${r}`})},r)})}):null}var G,x,d,R,j,$,i,U=a(()=>{"use strict";G=require("@stackshift-ui/button")});var to={};u(to,{LogoCloud_D:()=>oo,default:()=>oo});function oo({images:o}){return(0,i.jsx)($.Section,{className:"py-20 bg-background",children:(0,i.jsx)(x.Container,{maxWidth:1280,children:(0,i.jsx)(d.Flex,{wrap:!0,justify:"center",align:"center",children:o&&(o==null?void 0:o.map((t,r)=>(0,i.jsx)(Co,{image:t})))})})})}function Co({image:o}){var t;return o?(0,i.jsx)("div",{className:"j-full px-2 mb-4 md:j-1/3 lg:mr-10 lg:j-1/6 xl:mr-0",children:(o==null?void 0:o.image)&&(0,i.jsx)(d.Flex,{align:"center",justify:"center",className:"mx-auto d-[192px] j-[192px] rounded bg-gray-50",children:(0,i.jsx)(X.Image,{className:"object-scale-down j-full d-full",src:`${o==null?void 0:o.image}`,sizes:"192px",width:192,height:192,alt:(t=o==null?void 0:o.alt)!=null?t:"logoCloud-image"})})}):null}var X,$,x,d,i,ro=a(()=>{"use strict";X=require("@stackshift-ui/image")});var yo={};u(yo,{LogoCloud:()=>eo});module.exports=mo(yo);var m=require("react"),vo={variant_a:(0,m.lazy)(()=>Promise.resolve().then(()=>(T(),H))),variant_b:(0,m.lazy)(()=>Promise.resolve().then(()=>(E(),q))),variant_c:(0,m.lazy)(()=>Promise.resolve().then(()=>(U(),Q))),variant_d:(0,m.lazy)(()=>Promise.resolve().then(()=>(ro(),to)))},No="LogoCloud",eo=({data:o})=>{var s,C,v,N,y,L,I,F;let t=o==null?void 0:o.variant,r=t&&vo[t],n={title:(C=(s=o==null?void 0:o.variants)==null?void 0:s.title)!=null?C:void 0,images:(N=(v=o==null?void 0:o.variants)==null?void 0:v.images)!=null?N:void 0,text:(L=(y=o==null?void 0:o.variants)==null?void 0:y.plainText)!=null?L:void 0,button:(F=(I=o==null?void 0:o.variants)==null?void 0:I.primaryButton)!=null?F:void 0};return r?(0,i.jsx)(r,{...n}):null};eo.displayName=No;0&&(module.exports={LogoCloud});
|
package/dist/logo-cloud.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-6O522TDZ.mjs";export{a as LogoCloud};
|
package/dist/logo-cloud_a.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var x=Object.create;var u=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var w=Object.getOwnPropertyNames;var
|
|
1
|
+
"use strict";var x=Object.create;var u=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var w=Object.getOwnPropertyNames;var b=Object.getPrototypeOf,C=Object.prototype.hasOwnProperty;var h=(o,t)=>{for(var l in t)u(o,l,{get:t[l],enumerable:!0})},m=(o,t,l,e)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of w(t))!C.call(o,n)&&n!==l&&u(o,n,{get:()=>t[n],enumerable:!(e=g(t,n))||e.enumerable});return o};var F=(o,t,l)=>(l=o!=null?x(b(o)):{},m(t||!o||!o.__esModule?u(l,"default",{value:o,enumerable:!0}):l,o)),N=o=>m(u({},"__esModule",{value:!0}),o);var L={};h(L,{LogoCloud_A:()=>d,default:()=>d});module.exports=N(L);var a=require("@stackshift-ui/container"),c=require("@stackshift-ui/flex"),p=require("@stackshift-ui/heading"),f=require("@stackshift-ui/image"),i=require("@stackshift-ui/section"),s=F(require("react")),r=require("react/jsx-runtime");function d({title:o,images:t}){return(0,r.jsx)(i.Section,{className:"py-20 bg-background",children:(0,r.jsxs)(a.Container,{maxWidth:1280,children:[(0,r.jsx)(y,{title:o}),(0,r.jsx)(c.Flex,{wrap:!0,justify:"center",align:"center",children:(0,r.jsx)(I,{images:t})})]})})}function y({title:o}){return o?(0,r.jsx)(p.Heading,{className:"mb-12 text-center",fontSize:"2xl",children:o}):null}function I({images:o}){return o?(0,r.jsx)(s.default.Fragment,{children:o==null?void 0:o.map((t,l)=>{var e;return(0,r.jsx)("div",{className:"w-full px-2 mb-4 md:w-1/3 lg:mr-10 lg:w-1/6 xl:mr-0",children:t!=null&&t.image?(0,r.jsx)(c.Flex,{align:"center",justify:"center",className:"mx-auto h-[192px] w-[192px] rounded-global bg-white",children:(0,r.jsx)(f.Image,{className:"object-scale-down",src:`${t==null?void 0:t.image}`,sizes:"192px",width:192,height:192,alt:(e=t==null?void 0:t.alt)!=null?e:`logoCloud-image${l}`})}):null},l)})}):null}0&&(module.exports={LogoCloud_A});
|
package/dist/logo-cloud_a.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-3E6NMN2X.mjs";export{a as LogoCloud_A,a as default};
|
package/dist/logo-cloud_c.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var i=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var h=Object.prototype.hasOwnProperty;var x=(e,o)=>{for(var l in o)i(e,l,{get:o[l],enumerable:!0})},b=(e,o,l,n)=>{if(o&&typeof o=="object"||typeof o=="function")for(let r of g(o))!h.call(e,r)&&r!==l&&i(e,r,{get:()=>o[r],enumerable:!(n=f(o,r))||n.enumerable});return e};var w=e=>b(i({},"__esModule",{value:!0}),e);var y={};x(y,{LogoCloud_C:()=>
|
|
1
|
+
"use strict";var i=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var h=Object.prototype.hasOwnProperty;var x=(e,o)=>{for(var l in o)i(e,l,{get:o[l],enumerable:!0})},b=(e,o,l,n)=>{if(o&&typeof o=="object"||typeof o=="function")for(let r of g(o))!h.call(e,r)&&r!==l&&i(e,r,{get:()=>o[r],enumerable:!(n=f(o,r))||n.enumerable});return e};var w=e=>b(i({},"__esModule",{value:!0}),e);var y={};x(y,{LogoCloud_C:()=>m,default:()=>m});module.exports=w(y);var p=require("@stackshift-ui/button"),a=require("@stackshift-ui/container"),s=require("@stackshift-ui/flex"),c=require("@stackshift-ui/heading"),d=require("@stackshift-ui/image"),u=require("@stackshift-ui/section"),t=require("react/jsx-runtime");function m({title:e,images:o,button:l}){return(0,t.jsx)(u.Section,{className:"relative pt-20 pb-12 overflow-hidden bg-background lg:pb-80",children:(0,t.jsxs)(a.Container,{maxWidth:1280,children:[(0,t.jsx)(C,{title:e,button:l}),o&&o.length>0&&(0,t.jsx)(v,{images:o}),(0,t.jsx)(N,{images:o})]})})}function C({title:e,button:o}){return(0,t.jsxs)(a.Container,{maxWidth:448,className:"text-center",children:[e&&(0,t.jsx)(c.Heading,{weight:"bold",className:"mb-8 text-4xl lg:text-5xl",children:e}),(o==null?void 0:o.label)&&(0,t.jsx)(p.Button,{as:"link",ariaLabel:o.label,link:o,children:o.label})]})}function v({images:e}){return e?(0,t.jsx)("div",{className:"relative hidden lg:block",children:e.map((o,l)=>(0,t.jsx)(L,{image:o,alt:o==null?void 0:o.alt,index:l},l))}):null}function L({image:e,alt:o,index:l}){var r;return(0,t.jsx)("div",{className:"absolute flex items-center justify-center w-24 h-24 overflow-hidden rounded-full bg-gray-50",style:(r=[{top:"-120px",left:"-10px"},{top:"0",left:"0",marginTop:"20px"},{bottom:"-250px",left:"20%"},{top:"20px",right:"20%"},{bottom:"-250px",right:"0"},{top:"-150px",right:"0"}][l])!=null?r:{},children:(0,t.jsx)(d.Image,{className:"object-scale-down w-16 h-16",src:`${e==null?void 0:e.image}`,sizes:"100vw",width:64,height:64,alt:o!=null?o:`logoCloud-image-${l+1}`})})}function N({images:e}){return e?(0,t.jsx)(s.Flex,{wrap:!0,justify:"center",className:"mt-16 lg:hidden",children:e&&e.map((o,l)=>{var n;return(0,t.jsx)(s.Flex,{align:"center",justify:"center",className:"w-24 h-24 mx-4 mb-8 rounded-full bg-gray-50",children:(0,t.jsx)(d.Image,{className:"object-scale-down w-16 h-16",src:`${o==null?void 0:o.image}`,sizes:"100vw",width:64,height:64,alt:(n=o==null?void 0:o.alt)!=null?n:`logoCloud-image-${l}`})},l)})}):null}0&&(module.exports={LogoCloud_C});
|
package/dist/logo-cloud_c.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-GGOHIST3.mjs";export{a as LogoCloud_C,a as default};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stackshift-ui/logo-cloud",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "6.0.3",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"main": "./dist/index.js",
|
|
@@ -28,19 +28,19 @@
|
|
|
28
28
|
"typescript": "^5.6.2",
|
|
29
29
|
"vite-tsconfig-paths": "^5.0.1",
|
|
30
30
|
"vitest": "^2.1.1",
|
|
31
|
-
"@stackshift-ui/
|
|
32
|
-
"@stackshift-ui/
|
|
31
|
+
"@stackshift-ui/eslint-config": "6.0.2",
|
|
32
|
+
"@stackshift-ui/typescript-config": "6.0.2"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@stackshift-ui/system": "
|
|
36
|
-
"@stackshift-ui/scripts": "
|
|
37
|
-
"@stackshift-ui/
|
|
38
|
-
"@stackshift-ui/
|
|
39
|
-
"@stackshift-ui/
|
|
40
|
-
"@stackshift-ui/
|
|
41
|
-
"@stackshift-ui/container": "
|
|
42
|
-
"@stackshift-ui/
|
|
43
|
-
"@stackshift-ui/
|
|
35
|
+
"@stackshift-ui/system": "6.0.2",
|
|
36
|
+
"@stackshift-ui/scripts": "6.0.2",
|
|
37
|
+
"@stackshift-ui/heading": "6.0.2",
|
|
38
|
+
"@stackshift-ui/text": "6.0.2",
|
|
39
|
+
"@stackshift-ui/button": "6.0.2",
|
|
40
|
+
"@stackshift-ui/image": "6.0.2",
|
|
41
|
+
"@stackshift-ui/container": "6.0.2",
|
|
42
|
+
"@stackshift-ui/section": "6.0.2",
|
|
43
|
+
"@stackshift-ui/flex": "6.0.2"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"@types/react": "16.8 - 19",
|
package/dist/chunk-7GMGDLA2.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import u from"react";import{Heading as c}from"@stackshift-ui/heading";import{Image as m}from"@stackshift-ui/image";import{Section as p}from"@stackshift-ui/section";import{Container as a}from"@stackshift-ui/container";import{Flex as n}from"@stackshift-ui/flex";import{jsx as r,jsxs as d}from"react/jsx-runtime";function f({title:t,images:o}){return r(p,{className:"py-20 bg-background",children:d(a,{maxWidth:1280,children:[r(i,{title:t}),r(n,{wrap:!0,justify:"center",align:"center",children:r(s,{images:o})})]})})}function i({title:t}){return t?r(c,{className:"mb-12 text-center",fontSize:"2xl",children:t}):null}function s({images:t}){return t?r(u.Fragment,{children:t==null?void 0:t.map((o,e)=>{var l;return r("div",{className:"w-full px-2 mb-4 md:w-1/3 lg:mr-10 lg:w-1/6 xl:mr-0",children:o!=null&&o.image?r(n,{align:"center",justify:"center",className:"mx-auto h-[192px] w-[192px] rounded bg-white",children:r(m,{className:"object-scale-down",src:`${o==null?void 0:o.image}`,sizes:"192px",width:192,height:192,alt:(l=o==null?void 0:o.alt)!=null?l:`logoCloud-image${e}`})}):null},e)})}):null}export{f as a};
|
package/dist/chunk-OMIOOYVQ.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Button as d}from"@stackshift-ui/button";import{Heading as p}from"@stackshift-ui/heading";import{Image as c}from"@stackshift-ui/image";import{Section as m}from"@stackshift-ui/section";import{Container as s}from"@stackshift-ui/container";import{Flex as i}from"@stackshift-ui/flex";import{jsx as t,jsxs as a}from"react/jsx-runtime";function u({title:e,images:o,button:l}){return t(m,{className:"relative pt-20 pb-12 overflow-hidden bg-background lg:pb-80",children:a(s,{maxWidth:1280,children:[t(f,{title:e,button:l}),o&&o.length>0&&t(g,{images:o}),t(x,{images:o})]})})}function f({title:e,button:o}){return a(s,{maxWidth:448,className:"text-center",children:[e&&t(p,{weight:"bold",className:"mb-8 text-4xl lg:text-5xl",children:e}),(o==null?void 0:o.label)&&t(d,{as:"link",ariaLabel:o.label,link:o,children:o.label})]})}function g({images:e}){return e?t("div",{className:"relative hidden lg:block",children:e.map((o,l)=>t(h,{image:o,alt:o==null?void 0:o.alt,index:l},l))}):null}function h({image:e,alt:o,index:l}){var n;return t("div",{className:"absolute flex items-center justify-center w-24 h-24 overflow-hidden rounded-full bg-gray-50",style:(n=[{top:"-120px",left:"-10px"},{top:"0",left:"0",marginTop:"20px"},{bottom:"-250px",left:"20%"},{top:"20px",right:"20%"},{bottom:"-250px",right:"0"},{top:"-150px",right:"0"}][l])!=null?n:{},children:t("img",{className:"object-scale-down w-16 h-16",src:`${e==null?void 0:e.image}`,sizes:"100vw",width:64,height:64,alt:o!=null?o:`logoCloud-image-${l+1}`})})}function x({images:e}){return e?t(i,{wrap:!0,justify:"center",className:"mt-16 lg:hidden",children:e&&e.map((o,l)=>{var r;return t(i,{align:"center",justify:"center",className:"w-24 h-24 mx-4 mb-8 rounded-full bg-gray-50",children:t(c,{className:"object-scale-down w-16 h-16",src:`${o==null?void 0:o.image}`,sizes:"100vw",width:64,height:64,alt:(r=o==null?void 0:o.alt)!=null?r:`logoCloud-image-${l}`})},l)})}):null}export{u as a};
|
|
File without changes
|