@stackshift-ui/logo-cloud 6.0.7-beta.2 → 6.0.8

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stackshift-ui/logo-cloud",
3
3
  "description": "",
4
- "version": "6.0.7-beta.2",
4
+ "version": "6.0.8",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "main": "./dist/index.js",
@@ -29,19 +29,19 @@
29
29
  "typescript": "^5.6.2",
30
30
  "vite-tsconfig-paths": "^5.0.1",
31
31
  "vitest": "^2.1.1",
32
- "@stackshift-ui/typescript-config": "6.0.3-beta.2",
33
- "@stackshift-ui/eslint-config": "6.0.3-beta.2"
32
+ "@stackshift-ui/eslint-config": "6.0.4",
33
+ "@stackshift-ui/typescript-config": "6.0.4"
34
34
  },
35
35
  "dependencies": {
36
- "@stackshift-ui/scripts": "6.0.3-beta.2",
37
- "@stackshift-ui/heading": "6.0.4-beta.2",
38
- "@stackshift-ui/image": "6.0.4-beta.2",
39
- "@stackshift-ui/text": "6.0.4-beta.2",
40
- "@stackshift-ui/flex": "6.0.4-beta.2",
41
- "@stackshift-ui/button": "6.0.4-beta.2",
42
- "@stackshift-ui/system": "6.0.4-beta.2",
43
- "@stackshift-ui/section": "6.0.4-beta.2",
44
- "@stackshift-ui/container": "6.0.4-beta.2"
36
+ "@stackshift-ui/scripts": "6.0.4",
37
+ "@stackshift-ui/system": "6.0.5",
38
+ "@stackshift-ui/heading": "6.0.5",
39
+ "@stackshift-ui/text": "6.0.5",
40
+ "@stackshift-ui/image": "6.0.5",
41
+ "@stackshift-ui/section": "6.0.5",
42
+ "@stackshift-ui/button": "6.0.5",
43
+ "@stackshift-ui/container": "6.0.5",
44
+ "@stackshift-ui/flex": "6.0.5"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "@types/react": "16.8 - 19",
@@ -1 +0,0 @@
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};
@@ -1 +0,0 @@
1
- import{lazy as i}from"react";import{jsx as b}from"react/jsx-runtime";var v={variant_a:i(()=>import("./logo-cloud_a.mjs")),variant_b:i(()=>import("./logo-cloud_b.mjs")),variant_c:i(()=>import("./logo-cloud_c.mjs")),variant_d:i(()=>import("./logo-cloud_d.mjs"))},f="LogoCloud",y=({data:o})=>{var r,t,s,p,m,l,u,c;let n=o==null?void 0:o.variant,e=n&&v[n],g={title:(t=(r=o==null?void 0:o.variants)==null?void 0:r.title)!=null?t:void 0,images:(p=(s=o==null?void 0:o.variants)==null?void 0:s.images)!=null?p:void 0,text:(l=(m=o==null?void 0:o.variants)==null?void 0:m.plainText)!=null?l:void 0,button:(c=(u=o==null?void 0:o.variants)==null?void 0:u.primaryButton)!=null?c:void 0};return e?b(e,{...g}):null};y.displayName=f;export{y as a};
@@ -1 +0,0 @@
1
- import{Container as n}from"@stackshift-ui/container";import{Flex as t}from"@stackshift-ui/flex";import{Image as e}from"@stackshift-ui/image";import{Section as u}from"@stackshift-ui/section";import{jsx as r}from"react/jsx-runtime";function p({images:o}){return r(u,{className:"py-20 bg-background",children:r(n,{maxWidth:1280,children:r(t,{wrap:!0,justify:"center",align:"center",children:o&&(o==null?void 0:o.map((l,d)=>r(c,{image:l})))})})})}function c({image:o}){var l;return o?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?void 0:o.image)&&r(t,{align:"center",justify:"center",className:"mx-auto h-[192px] w-[192px] rounded-global bg-gray-50",children:r(e,{className:"object-scale-down w-full h-full",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"})})}):null}export{p as a};
@@ -1 +0,0 @@
1
- import{Container as a}from"@stackshift-ui/container";import{Flex as l}from"@stackshift-ui/flex";import{Heading as s}from"@stackshift-ui/heading";import{Image as i}from"@stackshift-ui/image";import{Section as d}from"@stackshift-ui/section";import{Text as c}from"@stackshift-ui/text";import u from"react";import{jsx as t,jsxs as m}from"react/jsx-runtime";function p({title:r,text:o,images:e}){return t(d,{className:"py-20 bg-background",children:t(a,{maxWidth:1280,children:m(l,{wrap:!0,align:"center",justify:"between",children:[t(f,{title:r,text:o}),t(l,{wrap:!0,className:"w-full lg:w-1/2",children:t(x,{images:e})})]})})})}function f({title:r,text:o}){return t("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:m(a,{maxWidth:448,children:[r&&t(s,{weight:"bold",className:"mb-4",children:r}),o&&t(c,{muted:!0,className:"leading-loose",children:o})]})})}function x({images:r}){return r?t(u.Fragment,{children:r==null?void 0:r.map((o,e)=>{var n;return t("div",{className:"w-full px-2 mb-4 sm:w-1/2 md:w-1/3",children:(o==null?void 0:o.image)&&t("div",{children:t(l,{align:"center",justify:"center",className:"mx-auto h-[192px] w-[192px] rounded-global bg-gray-50",children:t(i,{className:"object-scale-down",src:`${o==null?void 0:o.image}`,sizes:"192px",width:192,height:192,alt:(n=o==null?void 0:o.alt)!=null?n:`logoCloud-image${e}`})})})},e)})}):null}export{p as a};
@@ -1 +0,0 @@
1
- import{Container as u}from"@stackshift-ui/container";import{Flex as l}from"@stackshift-ui/flex";import{Heading as c}from"@stackshift-ui/heading";import{Image as p}from"@stackshift-ui/image";import{Section as a}from"@stackshift-ui/section";import f from"react";import{jsx as r,jsxs as m}from"react/jsx-runtime";function i({title:t,images:o}){return r(a,{className:"py-20 bg-background",children:m(u,{maxWidth:1280,children:[r(s,{title:t}),r(l,{wrap:!0,justify:"center",align:"center",gap:3,children:r(d,{images:o})})]})})}function s({title:t}){return t?r(c,{className:"mb-12 text-center",fontSize:"2xl",children:t}):null}function d({images:t}){return t?r(f.Fragment,{children:t==null?void 0:t.map((o,n)=>{var e;return r("div",{children:o!=null&&o.image?r(l,{align:"center",justify:"center",className:"h-[192px] w-[192px] rounded-global bg-gray-50",children:r(p,{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${n}`})}):null},n)})}):null}export{i as a};
package/dist/index.d.ts DELETED
@@ -1,5 +0,0 @@
1
- export * from "./logo-cloud";
2
- export * from "./logo-cloud_a";
3
- export * from "./logo-cloud_b";
4
- export * from "./logo-cloud_c";
5
- export * from "./logo-cloud_d";
package/dist/index.js DELETED
@@ -1,2 +0,0 @@
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,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})},H=(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 T=(o,t,r)=>(r=o!=null?no(po(o)):{},H(t||!o||!o.__esModule?c(r,"default",{value:o,enumerable:!0}):r,o)),mo=o=>H(c({},"__esModule",{value:!0}),o);var M={};u(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",gap:3,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",{children:t!=null&&t.image?(0,i.jsx)(d.Flex,{align:"center",justify:"center",className:"h-[192px] w-[192px] rounded-global 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}`})}):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={};u(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)(J.Text,{muted:!0,className:"leading-loose",children:t})]})})}function xo({images:o}){return o?(0,i.jsx)(K.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-global 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 b,d,B,V,A,J,K,i,h=a(()=>{"use strict";b=require("@stackshift-ui/container"),J=require("@stackshift-ui/text"),K=T(require("react"))});var Y={};u(Y,{LogoCloud_C:()=>L,default:()=>L});function L({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)(v.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)(v.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,v,d,B,V,A,i,N=a(()=>{"use strict";Q=require("@stackshift-ui/button"),v=require("@stackshift-ui/container")});var ro={};u(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)(Z.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-global bg-gray-50",children:(0,i.jsx)(V.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,d,V,A,i,k=a(()=>{"use strict";Z=require("@stackshift-ui/container")});var Lo={};u(Lo,{LogoCloud:()=>eo,LogoCloud_A:()=>x,LogoCloud_B:()=>w,LogoCloud_C:()=>L,LogoCloud_D:()=>F});module.exports=mo(Lo);var m=require("react"),vo={variant_a:(0,m.lazy)(()=>Promise.resolve().then(()=>(g(),M))),variant_b:(0,m.lazy)(()=>Promise.resolve().then(()=>(h(),O))),variant_c:(0,m.lazy)(()=>Promise.resolve().then(()=>(N(),Y))),variant_d:(0,m.lazy)(()=>Promise.resolve().then(()=>(k(),ro)))},yo="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=yo;g();h();N();k();0&&(module.exports={LogoCloud,LogoCloud_A,LogoCloud_B,LogoCloud_C,LogoCloud_D});
package/dist/index.mjs DELETED
@@ -1,2 +0,0 @@
1
- "use client";
2
- "use strict";import{a as f}from"./chunk-IAIT346V.mjs";import{a as o}from"./chunk-O6AXZYU7.mjs";import{a as r}from"./chunk-LMWC2QH6.mjs";import{a as e}from"./chunk-GGOHIST3.mjs";import{a as t}from"./chunk-J6G7MDDQ.mjs";export{f as LogoCloud,o as LogoCloud_A,r as LogoCloud_B,e as LogoCloud_C,t as LogoCloud_D};
@@ -1,9 +0,0 @@
1
- import React from "react";
2
- import { SectionsProps, Images, LabeledRoute } from "./types";
3
- export interface LogoCloudProps {
4
- title?: string;
5
- images?: Images[];
6
- text?: string;
7
- button?: LabeledRoute;
8
- }
9
- export declare const LogoCloud: React.FC<SectionsProps>;
@@ -1 +0,0 @@
1
- "use strict";var no=Object.create;var m=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)m(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&&m(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?m(r,"default",{value:o,enumerable:!0}):r,o)),co=o=>k(m({},"__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)(mo,{title:o}),(0,i.jsx)(d.Flex,{wrap:!0,justify:"center",align:"center",gap:3,children:(0,i.jsx)(ao,{images:t})})]})})}function mo({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",{children:t!=null&&t.image?(0,i.jsx)(d.Flex,{align:"center",justify:"center",className:"d-[192px] j-[192px] rounded-global 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}`})}):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)(g.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)(go,{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)(g.Container,{maxWidth:448,children:[o&&(0,i.jsx)(R.Heading,{weight:"bold",className:"mb-4",children:o}),t&&(0,i.jsx)(A.Text,{muted:!0,className:"leading-loose",children:t})]})})}function go({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:"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-global 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 g,d,R,j,$,A,D,i,E=a(()=>{"use strict";g=require("@stackshift-ui/container"),A=require("@stackshift-ui/text"),D=S(require("react"))});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)(b.Container,{maxWidth:1280,children:[(0,i.jsx)(xo,{title:o,button:r}),t&&t.length>0&&(0,i.jsx)(bo,{images:t}),(0,i.jsx)(ho,{images:t})]})})}function xo({title:o,button:t}){return(0,i.jsxs)(b.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,b,d,R,j,$,i,U=a(()=>{"use strict";G=require("@stackshift-ui/button"),b=require("@stackshift-ui/container")});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-global bg-gray-50",children:(0,i.jsx)(j.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,d,j,$,i,ro=a(()=>{"use strict";X=require("@stackshift-ui/container")});var Lo={};u(Lo,{LogoCloud:()=>eo});module.exports=co(Lo);var c=require("react"),vo={variant_a:(0,c.lazy)(()=>Promise.resolve().then(()=>(T(),H))),variant_b:(0,c.lazy)(()=>Promise.resolve().then(()=>(E(),q))),variant_c:(0,c.lazy)(()=>Promise.resolve().then(()=>(U(),Q))),variant_d:(0,c.lazy)(()=>Promise.resolve().then(()=>(ro(),to)))},yo="LogoCloud",eo=({data:o})=>{var s,C,v,y,L,N,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:(y=(v=o==null?void 0:o.variants)==null?void 0:v.images)!=null?y:void 0,text:(N=(L=o==null?void 0:o.variants)==null?void 0:L.plainText)!=null?N: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=yo;0&&(module.exports={LogoCloud});
@@ -1 +0,0 @@
1
- import{a}from"./chunk-IAIT346V.mjs";export{a as LogoCloud};
@@ -1,3 +0,0 @@
1
- import { LogoCloudProps } from ".";
2
- export default function LogoCloud_A({ title, images }: LogoCloudProps): import("react/jsx-runtime").JSX.Element;
3
- export { LogoCloud_A };
@@ -1 +0,0 @@
1
- "use strict";var g=Object.create;var u=Object.defineProperty;var x=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames;var b=Object.getPrototypeOf,h=Object.prototype.hasOwnProperty;var y=(o,t)=>{for(var n in t)u(o,n,{get:t[n],enumerable:!0})},p=(o,t,n,e)=>{if(t&&typeof t=="object"||typeof t=="function")for(let l of C(t))!h.call(o,l)&&l!==n&&u(o,l,{get:()=>t[l],enumerable:!(e=x(t,l))||e.enumerable});return o};var F=(o,t,n)=>(n=o!=null?g(b(o)):{},p(t||!o||!o.__esModule?u(n,"default",{value:o,enumerable:!0}):n,o)),w=o=>p(u({},"__esModule",{value:!0}),o);var N={};y(N,{LogoCloud_A:()=>m,default:()=>m});module.exports=w(N);var a=require("@stackshift-ui/container"),c=require("@stackshift-ui/flex"),f=require("@stackshift-ui/heading"),i=require("@stackshift-ui/image"),s=require("@stackshift-ui/section"),d=F(require("react")),r=require("react/jsx-runtime");function m({title:o,images:t}){return(0,r.jsx)(s.Section,{className:"py-20 bg-background",children:(0,r.jsxs)(a.Container,{maxWidth:1280,children:[(0,r.jsx)(I,{title:o}),(0,r.jsx)(c.Flex,{wrap:!0,justify:"center",align:"center",gap:3,children:(0,r.jsx)(L,{images:t})})]})})}function I({title:o}){return o?(0,r.jsx)(f.Heading,{className:"mb-12 text-center",fontSize:"2xl",children:o}):null}function L({images:o}){return o?(0,r.jsx)(d.default.Fragment,{children:o==null?void 0:o.map((t,n)=>{var e;return(0,r.jsx)("div",{children:t!=null&&t.image?(0,r.jsx)(c.Flex,{align:"center",justify:"center",className:"h-[192px] w-[192px] rounded-global bg-gray-50",children:(0,r.jsx)(i.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${n}`})}):null},n)})}):null}0&&(module.exports={LogoCloud_A});
@@ -1 +0,0 @@
1
- import{a}from"./chunk-O6AXZYU7.mjs";export{a as LogoCloud_A,a as default};
@@ -1,3 +0,0 @@
1
- import { LogoCloudProps } from ".";
2
- export default function LogoCloud_B({ title, text, images }: LogoCloudProps): import("react/jsx-runtime").JSX.Element;
3
- export { LogoCloud_B };
@@ -1 +0,0 @@
1
- "use strict";var g=Object.create;var a=Object.defineProperty;var w=Object.getOwnPropertyDescriptor;var b=Object.getOwnPropertyNames;var C=Object.getPrototypeOf,N=Object.prototype.hasOwnProperty;var h=(t,o)=>{for(var e in o)a(t,e,{get:o[e],enumerable:!0})},i=(t,o,e,l)=>{if(o&&typeof o=="object"||typeof o=="function")for(let n of b(o))!N.call(t,n)&&n!==e&&a(t,n,{get:()=>o[n],enumerable:!(l=w(o,n))||l.enumerable});return t};var v=(t,o,e)=>(e=t!=null?g(C(t)):{},i(o||!t||!t.__esModule?a(e,"default",{value:t,enumerable:!0}):e,t)),F=t=>i(a({},"__esModule",{value:!0}),t);var L={};h(L,{LogoCloud_B:()=>x,default:()=>x});module.exports=F(L);var s=require("@stackshift-ui/container"),m=require("@stackshift-ui/flex"),d=require("@stackshift-ui/heading"),c=require("@stackshift-ui/image"),u=require("@stackshift-ui/section"),p=require("@stackshift-ui/text"),f=v(require("react")),r=require("react/jsx-runtime");function x({title:t,text:o,images:e}){return(0,r.jsx)(u.Section,{className:"py-20 bg-background",children:(0,r.jsx)(s.Container,{maxWidth:1280,children:(0,r.jsxs)(m.Flex,{wrap:!0,align:"center",justify:"between",children:[(0,r.jsx)(y,{title:t,text:o}),(0,r.jsx)(m.Flex,{wrap:!0,className:"w-full lg:w-1/2",children:(0,r.jsx)(I,{images:e})})]})})})}function y({title:t,text:o}){return(0,r.jsx)("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:(0,r.jsxs)(s.Container,{maxWidth:448,children:[t&&(0,r.jsx)(d.Heading,{weight:"bold",className:"mb-4",children:t}),o&&(0,r.jsx)(p.Text,{muted:!0,className:"leading-loose",children:o})]})})}function I({images:t}){return t?(0,r.jsx)(f.default.Fragment,{children:t==null?void 0:t.map((o,e)=>{var l;return(0,r.jsx)("div",{className:"w-full px-2 mb-4 sm:w-1/2 md:w-1/3",children:(o==null?void 0:o.image)&&(0,r.jsx)("div",{children:(0,r.jsx)(m.Flex,{align:"center",justify:"center",className:"mx-auto h-[192px] w-[192px] rounded-global bg-gray-50",children:(0,r.jsx)(c.Image,{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}`})})})},e)})}):null}0&&(module.exports={LogoCloud_B});
@@ -1 +0,0 @@
1
- import{a}from"./chunk-LMWC2QH6.mjs";export{a as LogoCloud_B,a as default};
@@ -1,3 +0,0 @@
1
- import { LogoCloudProps } from ".";
2
- export default function LogoCloud_C({ title, images, button }: LogoCloudProps): import("react/jsx-runtime").JSX.Element;
3
- export { LogoCloud_C };
@@ -1 +0,0 @@
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});
@@ -1 +0,0 @@
1
- import{a}from"./chunk-GGOHIST3.mjs";export{a as LogoCloud_C,a as default};
@@ -1,3 +0,0 @@
1
- import { LogoCloudProps } from ".";
2
- export default function LogoCloud_D({ images }: LogoCloudProps): import("react/jsx-runtime").JSX.Element;
3
- export { LogoCloud_D };
@@ -1 +0,0 @@
1
- "use strict";var e=Object.defineProperty;var x=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var i=(o,r)=>{for(var t in r)e(o,t,{get:r[t],enumerable:!0})},w=(o,r,t,p)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of m(r))!a.call(o,n)&&n!==t&&e(o,n,{get:()=>r[n],enumerable:!(p=x(r,n))||p.enumerable});return o};var b=o=>w(e({},"__esModule",{value:!0}),o);var C={};i(C,{LogoCloud_D:()=>s,default:()=>s});module.exports=b(C);var c=require("@stackshift-ui/container"),u=require("@stackshift-ui/flex"),d=require("@stackshift-ui/image"),f=require("@stackshift-ui/section"),l=require("react/jsx-runtime");function s({images:o}){return(0,l.jsx)(f.Section,{className:"py-20 bg-background",children:(0,l.jsx)(c.Container,{maxWidth:1280,children:(0,l.jsx)(u.Flex,{wrap:!0,justify:"center",align:"center",children:o&&(o==null?void 0:o.map((r,t)=>(0,l.jsx)(h,{image:r})))})})})}function h({image:o}){var r;return o?(0,l.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,l.jsx)(u.Flex,{align:"center",justify:"center",className:"mx-auto h-[192px] w-[192px] rounded-global bg-gray-50",children:(0,l.jsx)(d.Image,{className:"object-scale-down w-full h-full",src:`${o==null?void 0:o.image}`,sizes:"192px",width:192,height:192,alt:(r=o==null?void 0:o.alt)!=null?r:"logoCloud-image"})})}):null}0&&(module.exports={LogoCloud_D});
@@ -1 +0,0 @@
1
- import{a}from"./chunk-J6G7MDDQ.mjs";export{a as LogoCloud_D,a as default};
package/dist/types.d.ts DELETED
@@ -1,362 +0,0 @@
1
- export type StyleVariants<T extends string> = Record<T, string>;
2
- export type Socials = "facebook" | "instagram" | "youtube" | "linkedin" | "twitter";
3
- export interface MainImage {
4
- image: string;
5
- alt?: string;
6
- }
7
- export interface LabeledRoute extends ConditionalLink {
8
- ariaLabel?: string;
9
- label?: string;
10
- linkTarget?: string;
11
- linkType?: string;
12
- _type?: string;
13
- linkInternal?: any;
14
- }
15
- export interface ConditionalLink {
16
- type?: string;
17
- internalLink?: string | null;
18
- externalLink?: string | null;
19
- }
20
- export interface StatItems {
21
- label?: string;
22
- mainImage?: MainImage;
23
- value?: string;
24
- _key?: string;
25
- _type?: string;
26
- }
27
- export interface Logo extends ConditionalLink {
28
- alt?: string;
29
- linkTarget?: string;
30
- image?: string;
31
- }
32
- export interface Images {
33
- image?: string;
34
- _key?: string;
35
- _type?: string;
36
- alt?: string;
37
- }
38
- export interface ContactDetails {
39
- addressInfo?: string;
40
- contactInfo?: string;
41
- emailInfo?: string;
42
- _key?: string;
43
- }
44
- export interface SocialLink {
45
- socialMedia?: string | null;
46
- socialMediaLink?: string | null;
47
- _key?: string | null;
48
- _type?: string | null;
49
- socialMediaIcon?: {
50
- alt?: string;
51
- image?: string;
52
- } | null;
53
- socialMediaPlatform?: string | null;
54
- }
55
- export interface LabeledRouteWithKey extends LabeledRoute {
56
- _key?: string;
57
- }
58
- export interface ArrayOfImageTitleAndText {
59
- mainImage?: {
60
- alt?: string;
61
- image?: string;
62
- };
63
- plainText?: string;
64
- title?: string;
65
- _key?: string;
66
- _type?: string;
67
- }
68
- export interface FeaturedItem {
69
- description?: string;
70
- mainImage?: MainImage;
71
- title?: string;
72
- subtitle?: string;
73
- _key?: string;
74
- _type?: string;
75
- }
76
- export interface ArrayOfTitleAndText {
77
- _key?: string;
78
- plainText?: string;
79
- title?: string;
80
- }
81
- export interface BlogPost extends SanityBody {
82
- authors?: Author[] | null;
83
- body?: any;
84
- categories?: Category[] | null;
85
- excerpt?: string | null;
86
- link?: string | null;
87
- mainImage?: string | null;
88
- publishedAt?: string;
89
- seo?: Seo | null;
90
- slug?: SanitySlug | null;
91
- title?: string;
92
- }
93
- export interface Seo {
94
- _type?: string;
95
- seoTitle?: string;
96
- seoDescription?: string;
97
- seoImage?: string;
98
- seoKeywords?: string;
99
- seoSynonyms?: string;
100
- }
101
- export interface SanitySlug {
102
- current?: string;
103
- _type?: "slug";
104
- }
105
- export interface SanityBody {
106
- _createdAt?: string;
107
- _id?: string;
108
- _rev?: string;
109
- _type?: string;
110
- _updatedAt?: string;
111
- }
112
- export interface Author extends SanityBody {
113
- link?: string | null;
114
- bio?: string | null;
115
- name?: string | null;
116
- slug?: SanitySlug | null;
117
- image?: string | null;
118
- profile?: {
119
- alt: string;
120
- image: string;
121
- } | null;
122
- }
123
- export interface Category extends SanityBody {
124
- title?: string;
125
- }
126
- export interface Form {
127
- id?: string | null;
128
- buttonLabel?: string | null;
129
- name?: string | null;
130
- subtitle?: string | null;
131
- fields?: FormFields[] | null;
132
- thankYouPage?: ThankYouPage | null;
133
- }
134
- export interface FormFields {
135
- name?: string;
136
- placeholder?: string;
137
- pricingType?: string;
138
- type?: FormTypes;
139
- _key?: string;
140
- _type?: string;
141
- isRequired?: boolean;
142
- label?: string;
143
- items?: string[];
144
- }
145
- export type FormTypes = "inputText" | "inputEmail" | "inputPassword" | "inputNumber" | "textarea" | "inputFile" | "inputRadio" | "inputCheckbox" | "inputSelect";
146
- export interface ThankYouPage {
147
- externalLink?: string | null;
148
- internalLink?: string | null;
149
- linkInternal?: any;
150
- linkTarget?: string;
151
- linkType?: string;
152
- type?: string;
153
- }
154
- export interface SectionsProps {
155
- template?: Template;
156
- data?: Sections;
157
- variant?: string | null | undefined;
158
- schema?: Variants;
159
- }
160
- export interface Sections extends SanityBody {
161
- label?: string;
162
- variant?: string;
163
- variants?: Variants;
164
- _key?: string;
165
- }
166
- export interface Variants {
167
- template?: Template;
168
- multipleMenus?: any;
169
- arrayOfTitleAndText?: ArrayOfTitleAndText[] | null;
170
- logo?: Logo | null;
171
- primaryButton?: LabeledRoute | null;
172
- secondaryButton?: LabeledRoute | null;
173
- routes?: LabeledRouteWithKey[] | null;
174
- menu?: LabeledRouteWithKey[] | null;
175
- plans?: Plans[] | null;
176
- formLinks?: LabeledRouteWithKey[] | null;
177
- portfolios?: Portfolios[] | null;
178
- portfoliosWithCategories?: PortfoliosWithCategories[] | null;
179
- length?: number;
180
- signInLink?: LabeledRoute | null;
181
- signinLink?: LabeledRoute | null;
182
- tags?: string[] | null;
183
- posts?: BlogPost[] | null;
184
- blogsPerPage?: number | null;
185
- form?: Form | null;
186
- collections?: Collection | null;
187
- products?: CollectionProduct | null;
188
- allProducts?: Collection[];
189
- subtitle?: string | null;
190
- caption?: string | null;
191
- title?: string | null;
192
- plainText?: string | null;
193
- contactDescription?: string | null;
194
- officeInformation?: string | null;
195
- contactEmail?: string | null;
196
- contactNumber?: string | null;
197
- socialLinks?: SocialLink[] | null;
198
- block?: any;
199
- heading?: string | null;
200
- acceptButtonLabel?: string | null;
201
- declineButtonLabel?: string | null;
202
- faqsWithCategories?: FaqsWithCategory[] | null;
203
- faqs?: AskedQuestion[] | null;
204
- arrayOfImageTitleAndText?: ArrayOfImageTitleAndText[] | null;
205
- description?: string | null;
206
- featuredItems?: FeaturedItem[] | null;
207
- images?: Images[] | null;
208
- contactDetails?: ContactDetails[] | null;
209
- copyright?: string | null;
210
- mainImage?: MainImage | null;
211
- youtubeLink?: string | null;
212
- banner?: any;
213
- stats?: StatItems[] | null;
214
- teams?: Team[] | null;
215
- testimonials?: Testimonial[] | null;
216
- selectStripeAccount?: string;
217
- annualBilling?: string;
218
- monthlyBilling?: string;
219
- productDetails?: ProductDetail[];
220
- btnLabel?: string;
221
- selectAccount?: string;
222
- hashtags?: string[];
223
- numberOfPosts?: number;
224
- text?: string;
225
- button?: LabeledRoute;
226
- features?: string[];
227
- config?: {
228
- enableAnalytics: boolean;
229
- cookiePolicy?: {
230
- siteName: string;
231
- cookiePolicyPage: Reference;
232
- };
233
- consentModalPosition?: string;
234
- };
235
- contactLink?: LabeledRoute;
236
- }
237
- export interface Template {
238
- bg?: string;
239
- color?: string;
240
- }
241
- export type Plans = {
242
- _key?: string | null;
243
- _type?: "planItems" | null;
244
- checkoutButtonName?: string | null;
245
- description?: string | null;
246
- monthlyPrice?: string | null;
247
- planType?: string | null;
248
- yearlyPrice?: string | null;
249
- planIncludes?: string[] | null;
250
- primaryButton?: LabeledRoute | null;
251
- } & Record<string, string>;
252
- export interface Portfolios {
253
- dateAdded?: string | null;
254
- mainImage?: {
255
- image?: string | null;
256
- alt?: string | null;
257
- } | null;
258
- primaryButton?: LabeledRoute | null;
259
- title?: string | null;
260
- _key?: string | null;
261
- _type?: string | null;
262
- }
263
- export interface PortfoliosWithCategories {
264
- category?: string | null;
265
- content?: Content[] | null;
266
- primaryButton?: LabeledRoute | null;
267
- _key?: string | null;
268
- _type?: string | null;
269
- }
270
- export interface Content extends Portfolios {
271
- description?: string | null;
272
- subtitle?: string | null;
273
- }
274
- export interface Collection extends SanityBody {
275
- collectionInfoVariant?: {
276
- variant?: string;
277
- } | null;
278
- name?: string | null;
279
- products?: CollectionProduct[] | null;
280
- sections?: any;
281
- seo?: Seo | null;
282
- slug?: SanitySlug | null;
283
- }
284
- export interface CollectionProduct extends SanityBody {
285
- compareToPrice?: number | null;
286
- description?: string | null;
287
- ecwidProductId?: number | null;
288
- name?: string | null;
289
- price?: number | null;
290
- productInfo?: ProductInfo | null;
291
- productInfoVariant?: {
292
- variant?: string;
293
- } | null;
294
- sections?: any;
295
- seo?: Seo | null;
296
- slug?: SanitySlug | null;
297
- }
298
- interface ProductInfo {
299
- btnLabel?: string | null;
300
- images?: ProductInfoImage[] | null;
301
- productDetails?: ProductDetail[] | null;
302
- socialLinks?: SocialLink[] | null;
303
- subtitle?: string | null;
304
- }
305
- export interface ProductDetail {
306
- blockContent?: any;
307
- contentType?: string;
308
- tabName?: string;
309
- _key?: string;
310
- [key: string]: any;
311
- }
312
- interface ProductInfoImage {
313
- alt?: string | null;
314
- _key: string;
315
- _type: string;
316
- image?: string | null;
317
- }
318
- export interface FaqsWithCategory {
319
- askedQuestions?: AskedQuestion[] | null;
320
- category?: string | null;
321
- _key?: string;
322
- _type?: string;
323
- }
324
- export interface AskedQuestion {
325
- answer?: string | null;
326
- question?: string | null;
327
- hidden?: boolean;
328
- _key?: string;
329
- _type?: string;
330
- }
331
- export interface Team {
332
- jobTitle?: string;
333
- mainImage?: MainImage;
334
- name?: string;
335
- plainText?: string;
336
- _key?: string;
337
- _type?: string;
338
- }
339
- export interface Testimonial {
340
- jobTitle?: string;
341
- mainImage?: MainImage;
342
- name?: string;
343
- rating?: string;
344
- testimony?: string;
345
- _key?: string;
346
- _type?: string;
347
- }
348
- export declare interface Reference {
349
- _type: string;
350
- _ref: string;
351
- _key?: string;
352
- _weak?: boolean;
353
- _strengthenOnPublish?: {
354
- type: string;
355
- weak?: boolean;
356
- template?: {
357
- id: string;
358
- params: Record<string, string | number | boolean>;
359
- };
360
- };
361
- }
362
- export {};
package/dist/types.js DELETED
@@ -1 +0,0 @@
1
- "use strict";var l=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var g=(n,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of a(t))!o.call(n,e)&&e!==r&&l(n,e,{get:()=>t[e],enumerable:!(i=s(t,e))||i.enumerable});return n};var u=n=>g(l({},"__esModule",{value:!0}),n);var c={};module.exports=u(c);