@stackshift-ui/features 6.0.13 → 7.0.0-beta.10
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 +15 -14
- package/src/features.test.tsx +2 -2
- package/src/features.tsx +22 -15
- package/src/features_a.tsx +2 -3
- package/src/features_b.tsx +7 -8
- package/src/features_c.tsx +8 -9
- package/src/features_d.tsx +7 -8
- package/src/features_e.tsx +9 -11
- package/src/features_f.tsx +8 -2
- package/src/features_g.tsx +3 -4
- package/src/features_h.tsx +2 -3
- package/dist/chunk-24O5VU3C.mjs +0 -1
- package/dist/chunk-3S2KSCPX.mjs +0 -1
- package/dist/chunk-5AMMO42A.mjs +0 -1
- package/dist/chunk-6BDXLZOT.mjs +0 -1
- package/dist/chunk-7B6FI3PR.mjs +0 -1
- package/dist/chunk-7ZZLNFYE.mjs +0 -1
- package/dist/chunk-M4ZCOWFN.mjs +0 -1
- package/dist/chunk-NMRXZVBL.mjs +0 -1
- package/dist/chunk-XY27OBDB.mjs +0 -1
- package/dist/features.d.ts +0 -23
- package/dist/features.js +0 -1
- package/dist/features.mjs +0 -1
- package/dist/features_a.d.ts +0 -3
- package/dist/features_a.js +0 -1
- package/dist/features_a.mjs +0 -1
- package/dist/features_b.d.ts +0 -3
- package/dist/features_b.js +0 -1
- package/dist/features_b.mjs +0 -1
- package/dist/features_c.d.ts +0 -3
- package/dist/features_c.js +0 -1
- package/dist/features_c.mjs +0 -1
- package/dist/features_d.d.ts +0 -3
- package/dist/features_d.js +0 -1
- package/dist/features_d.mjs +0 -1
- package/dist/features_e.d.ts +0 -3
- package/dist/features_e.js +0 -1
- package/dist/features_e.mjs +0 -1
- package/dist/features_f.d.ts +0 -3
- package/dist/features_f.js +0 -1
- package/dist/features_f.mjs +0 -1
- package/dist/features_g.d.ts +0 -3
- package/dist/features_g.js +0 -1
- package/dist/features_g.mjs +0 -1
- package/dist/features_h.d.ts +0 -3
- package/dist/features_h.js +0 -1
- package/dist/features_h.mjs +0 -1
- package/dist/index.d.ts +0 -9
- package/dist/index.js +0 -2
- package/dist/index.mjs +0 -2
- package/dist/types.d.ts +0 -362
- package/dist/types.js +0 -1
package/dist/features_a.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var r=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var I=Object.prototype.hasOwnProperty;var T=(i,n)=>{for(var m in n)r(i,m,{get:n[m],enumerable:!0})},b=(i,n,m,o)=>{if(n&&typeof n=="object"||typeof n=="function")for(let l of x(n))!I.call(i,l)&&l!==m&&r(i,l,{get:()=>n[l],enumerable:!(o=p(n,l))||o.enumerable});return i};var F=i=>b(r({},"__esModule",{value:!0}),i);var A={};T(A,{Features_A:()=>d,default:()=>d});module.exports=F(A);var a=require("@stackshift-ui/container"),g=require("@stackshift-ui/heading"),e=require("@stackshift-ui/image"),c=require("@stackshift-ui/section"),s=require("@stackshift-ui/text"),t=require("react/jsx-runtime");function d({caption:i,title:n,description:m,features:o}){return(0,t.jsx)(c.Section,{className:"py-20 bg-background",children:(0,t.jsxs)(a.Container,{maxWidth:1280,children:[(0,t.jsx)(a.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,t.jsx)(y,{caption:i,title:n,description:m})}),(0,t.jsx)(N,{features:o})]})})}function y({caption:i,title:n,description:m}){return(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[i?(0,t.jsx)(s.Text,{weight:"bold",className:"text-secondary",children:i}):null,n?(0,t.jsx)(g.Heading,{fontSize:"3xl",children:n}):null,m?(0,t.jsx)(s.Text,{muted:!0,children:m}):null]})}function N({features:i}){return i?(0,t.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6",children:i==null?void 0:i.map(n=>(0,t.jsx)(h,{feature:n},n._key))}):null}function h({feature:i}){var n;return(0,t.jsxs)("div",{className:"text-center sm:text-start p-3",children:[(n=i==null?void 0:i.mainImage)!=null&&n.image?(0,t.jsx)(v,{feature:i}):null,i!=null&&i.title?(0,t.jsx)(s.Text,{weight:"bold",className:"mb-4 text-gray-500",fontSize:"xl",children:i==null?void 0:i.title}):null,i!=null&&i.plainText?(0,t.jsx)(s.Text,{muted:!0,children:i==null?void 0:i.plainText}):null]})}function v({feature:i}){var n,m,o,l;return(n=i==null?void 0:i.mainImage)!=null&&n.image?(0,t.jsx)("span",{className:"inline-block p-3 mb-4 rounded bg-secondary/50 text-primary-foreground md:mb-6",children:(0,t.jsx)(e.Image,{className:"object-scale-down",src:`${(m=i==null?void 0:i.mainImage)==null?void 0:m.image}`,width:40,height:40,alt:(l=(o=i==null?void 0:i.mainImage)==null?void 0:o.alt)!=null?l:"features-image-"})}):null}0&&(module.exports={Features_A});
|
package/dist/features_a.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-XY27OBDB.mjs";export{a as Features_A,a as default};
|
package/dist/features_b.d.ts
DELETED
package/dist/features_b.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var s=Object.defineProperty;var N=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames;var v=Object.prototype.hasOwnProperty;var T=(m,l)=>{for(var a in l)s(m,a,{get:l[a],enumerable:!0})},y=(m,l,a,t)=>{if(l&&typeof l=="object"||typeof l=="function")for(let o of h(l))!v.call(m,o)&&o!==a&&s(m,o,{get:()=>l[o],enumerable:!(t=N(l,o))||t.enumerable});return m};var F=m=>y(s({},"__esModule",{value:!0}),m);var u={};T(u,{Features_B:()=>w,default:()=>w});module.exports=F(u);var c=require("@stackshift-ui/card"),e=require("@stackshift-ui/container"),r=require("@stackshift-ui/flex"),p=require("@stackshift-ui/heading"),x=require("@stackshift-ui/image"),b=require("@stackshift-ui/section"),n=require("@stackshift-ui/text"),i=require("react/jsx-runtime");function w({caption:m,title:l,description:a,features:t,tags:o}){return(0,i.jsx)(b.Section,{className:"py-20 bg-background",children:(0,i.jsx)(e.Container,{maxWidth:1280,children:(0,i.jsxs)(r.Flex,{wrap:!0,align:"center",children:[(0,i.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,i.jsxs)(e.Container,{maxWidth:448,children:[(0,i.jsx)(I,{caption:m,title:l,description:a}),(0,i.jsx)(k,{tags:o})]})}),(0,i.jsx)(C,{features:t})]})})})}function I({caption:m,title:l,description:a}){return(0,i.jsxs)("div",{className:"flex flex-col gap-3",children:[m&&(0,i.jsx)(n.Text,{weight:"bold",className:"text-secondary",children:m}),l&&(0,i.jsx)(p.Heading,{fontSize:"3xl",children:l}),a&&(0,i.jsx)(n.Text,{muted:!0,className:"mb-6 leading-loose",children:a})]})}function k({tags:m}){return m?(0,i.jsx)("ul",{children:m&&m.map(l=>(0,i.jsxs)("li",{className:"flex mb-4",children:[(0,i.jsx)("svg",{className:"w-6 h-6 mr-2 text-secondary",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,i.jsx)("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,i.jsx)(n.Text,{muted:!0,weight:"bold",children:l})]},l))}):null}function C({features:m}){return m?(0,i.jsx)(r.Flex,{wrap:!0,align:"stretch",className:"w-full lg:w-1/2",children:m&&(m==null?void 0:m.map((l,a)=>{var t,o,d,g;return(0,i.jsx)("div",{className:`w-full px-4 mb-8 md:w-1/2 ${a%2===0?"lg:mb-0":"lg:mt-12"}`,children:(0,i.jsxs)(c.Card,{className:"py-6 pl-6 pr-4 mb-8 bg-white",borderRadius:"md",children:[((t=l==null?void 0:l.mainImage)==null?void 0:t.image)&&(0,i.jsx)("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary/50",children:(0,i.jsx)(x.Image,{className:"object-scale-down",src:`${(o=l==null?void 0:l.mainImage)==null?void 0:o.image}`,width:40,height:40,alt:(g=(d=l==null?void 0:l.mainImage)==null?void 0:d.alt)!=null?g:`features-image-${a}`})}),(0,i.jsx)(n.Text,{weight:"bold",className:"text-xl md:text-2xl mb-2 text-gray-500 break-all",children:l==null?void 0:l.title}),(0,i.jsx)(n.Text,{muted:!0,className:"leading-loose break-all",children:l==null?void 0:l.plainText})]})},a)}))}):null}0&&(module.exports={Features_B});
|
package/dist/features_b.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-24O5VU3C.mjs";export{a as Features_B,a as default};
|
package/dist/features_c.d.ts
DELETED
package/dist/features_c.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var o=Object.defineProperty;var x=Object.getOwnPropertyDescriptor;var b=Object.getOwnPropertyNames;var N=Object.prototype.hasOwnProperty;var T=(i,l)=>{for(var t in l)o(i,t,{get:l[t],enumerable:!0})},v=(i,l,t,a)=>{if(l&&typeof l=="object"||typeof l=="function")for(let e of b(l))!N.call(i,e)&&e!==t&&o(i,e,{get:()=>l[e],enumerable:!(a=x(l,e))||a.enumerable});return i};var f=i=>v(o({},"__esModule",{value:!0}),i);var y={};T(y,{Features_C:()=>p,default:()=>p});module.exports=f(y);var s=require("@stackshift-ui/card"),r=require("@stackshift-ui/container"),d=require("@stackshift-ui/heading"),c=require("@stackshift-ui/image"),g=require("@stackshift-ui/section"),n=require("@stackshift-ui/text"),m=require("react/jsx-runtime");function p({caption:i,title:l,description:t,features:a}){return(0,m.jsx)(g.Section,{className:"py-20 bg-background",children:(0,m.jsxs)(r.Container,{maxWidth:1800,children:[(0,m.jsx)(r.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,m.jsx)(h,{caption:i,title:l,description:t})}),(0,m.jsx)(w,{features:a})]})})}function h({caption:i,title:l,description:t}){return(0,m.jsxs)("div",{className:"flex flex-col gap-3",children:[i?(0,m.jsx)(n.Text,{weight:"bold",className:"text-secondary",children:i}):null,l?(0,m.jsx)(d.Heading,{fontSize:"3xl",children:l}):null,t?(0,m.jsx)(n.Text,{muted:!0,className:"mb-6 leading-loose",children:t}):null]})}function w({features:i}){return i?(0,m.jsx)("div",{className:"lg:grid lg:grid-cols-2 gap-3",children:i.map(l=>(0,m.jsx)(I,{feature:l},l._key))}):null}function I({feature:i}){var l,t,a,e;return(0,m.jsx)("div",{className:"w-full p-3",children:(0,m.jsxs)(s.Card,{className:"flex flex-wrap h-full p-6 bg-white",borderRadius:"md",children:[(0,m.jsx)("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary/50 md:p-5 lg:mb-0",children:((l=i==null?void 0:i.mainImage)==null?void 0:l.image)&&(0,m.jsx)(c.Image,{className:"object-scale-down",src:`${(t=i==null?void 0:i.mainImage)==null?void 0:t.image}`,width:40,height:40,alt:(e=(a=i==null?void 0:i.mainImage)==null?void 0:a.alt)!=null?e:"features-main-image"})}),(0,m.jsxs)("div",{className:"w-full lg:w-2/3 flex flex-col gap-2",children:[(0,m.jsx)(n.Text,{weight:"bold",className:"text-xl md:text-2xl break-all",children:i==null?void 0:i.title}),(0,m.jsx)(n.Text,{muted:!0,className:"break-all",children:i==null?void 0:i.plainText})]})]})})}0&&(module.exports={Features_C});
|
package/dist/features_c.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-3S2KSCPX.mjs";export{a as Features_C,a as default};
|
package/dist/features_d.d.ts
DELETED
package/dist/features_d.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var a=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var T=Object.getOwnPropertyNames;var y=Object.prototype.hasOwnProperty;var h=(t,i)=>{for(var e in i)a(t,e,{get:i[e],enumerable:!0})},N=(t,i,e,o)=>{if(i&&typeof i=="object"||typeof i=="function")for(let n of T(i))!y.call(t,n)&&n!==e&&a(t,n,{get:()=>i[n],enumerable:!(o=b(i,n))||o.enumerable});return t};var I=t=>N(a({},"__esModule",{value:!0}),t);var f={};h(f,{Features_D:()=>x,default:()=>x});module.exports=I(f);var s=require("@stackshift-ui/card"),r=require("@stackshift-ui/container"),d=require("@stackshift-ui/flex"),c=require("@stackshift-ui/heading"),g=require("@stackshift-ui/image"),p=require("@stackshift-ui/section"),l=require("@stackshift-ui/text"),m=require("react/jsx-runtime");function x({caption:t,title:i,description:e,features:o}){return(0,m.jsx)(p.Section,{className:"py-20 bg-background",children:(0,m.jsxs)(r.Container,{maxWidth:1280,children:[(0,m.jsx)(r.Container,{maxWidth:448,className:"mb-8 text-center",children:(0,m.jsx)(w,{caption:t,title:i,description:e})}),(0,m.jsx)(A,{features:o})]})})}function w({caption:t,title:i,description:e}){return(0,m.jsxs)("div",{className:"flex flex-col gap-3",children:[t?(0,m.jsx)(l.Text,{weight:"bold",className:"text-secondary",children:t}):null,i?(0,m.jsx)(c.Heading,{fontSize:"3xl",children:i}):null,e?(0,m.jsx)(l.Text,{muted:!0,className:"mb-6 leading-loose",children:e}):null]})}function A({features:t}){return t?(0,m.jsx)(d.Flex,{wrap:!0,justify:"center",align:"stretch",children:t.map(i=>(0,m.jsx)(F,{feature:i},i._key))}):null}function F({feature:t}){var i,e,o,n;return(0,m.jsx)("div",{className:"w-full px-4 mt-8 lg:mb-0 lg:w-1/3",children:(0,m.jsxs)(s.Card,{className:"h-full px-6 py-12 text-center bg-white",borderRadius:"md",children:[(0,m.jsx)("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary/50 md:p-5",children:((i=t==null?void 0:t.mainImage)==null?void 0:i.image)&&(0,m.jsx)(g.Image,{className:"object-scale-down",src:`${(e=t==null?void 0:t.mainImage)==null?void 0:e.image}`,width:40,height:40,alt:(n=(o=t==null?void 0:t.mainImage)==null?void 0:o.alt)!=null?n:"features-image-"})}),(0,m.jsx)(l.Text,{fontSize:"xl",weight:"bold",className:"px-8 mb-4 text-gray-500",children:t==null?void 0:t.title}),(0,m.jsx)(l.Text,{muted:!0,children:t==null?void 0:t.plainText})]})})}0&&(module.exports={Features_D});
|
package/dist/features_d.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-5AMMO42A.mjs";export{a as Features_D,a as default};
|
package/dist/features_e.d.ts
DELETED
package/dist/features_e.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var C=Object.create;var c=Object.defineProperty;var S=Object.getOwnPropertyDescriptor;var L=Object.getOwnPropertyNames;var z=Object.getPrototypeOf,B=Object.prototype.hasOwnProperty;var R=(o,l)=>{for(var n in l)c(o,n,{get:l[n],enumerable:!0})},w=(o,l,n,r)=>{if(l&&typeof l=="object"||typeof l=="function")for(let t of L(l))!B.call(o,t)&&t!==n&&c(o,t,{get:()=>l[t],enumerable:!(r=S(l,t))||r.enumerable});return o};var u=(o,l,n)=>(n=o!=null?C(z(o)):{},w(l||!o||!o.__esModule?c(n,"default",{value:o,enumerable:!0}):n,o)),y=o=>w(c({},"__esModule",{value:!0}),o);var W={};R(W,{Features_E:()=>k,default:()=>k});module.exports=y(W);var g=require("@stackshift-ui/button"),v=require("@stackshift-ui/card"),b=require("@stackshift-ui/container"),e=require("@stackshift-ui/flex"),N=require("@stackshift-ui/heading"),F=require("@stackshift-ui/image"),d=require("@stackshift-ui/section"),p=require("@stackshift-ui/text"),s=u(require("react")),i=require("react/jsx-runtime");function k({featuredItems:o}){let[l,n]=s.default.useState(0);return(0,i.jsx)(d.Section,{className:"py-20 overflow-x-auto bg-background",children:(0,i.jsx)(b.Container,{maxWidth:1280,children:(0,i.jsx)(e.Flex,{className:"relative",children:(0,i.jsx)(T,{featuredItems:o,slider:t=>{o&&(t==="next"?l!==o.length-1?n(x=>x+1):n(0):l>=1?n(x=>x-1):n(o.length-1))},children:(0,i.jsxs)("div",{className:"order-1 w-full ml-auto xl:w-4/5",children:[(0,i.jsx)(H,{featuredItems:o,item:l}),(0,i.jsx)(P,{featuredItems:o,item:l})]})})})})})}function H({featuredItems:o,item:l}){var n,r,t,x,m,a,h;return(r=(n=o==null?void 0:o[l])==null?void 0:n.mainImage)!=null&&r.image?(0,i.jsx)("div",{className:"mx-auto overflow-hidden rounded-md md:max-w-xl xl:max-w-4xl",children:(0,i.jsx)(F.Image,{className:"relative object-cover rounded-md",src:`${(x=(t=o==null?void 0:o[l])==null?void 0:t.mainImage)==null?void 0:x.image}`,sizes:"100vw",width:896,height:575,alt:(h=(a=(m=o==null?void 0:o[l])==null?void 0:m.mainImage)==null?void 0:a.alt)!=null?h:`features-image-${l}`})}):null}function P({featuredItems:o,item:l}){var n,r,t,x,m,a;return o?(0,i.jsxs)(v.Card,{className:"top-0 left-0 max-w-xl p-6 mx-auto text-center bg-white md:mt-12 md:p-10 lg:mt-12 lg:p-10 xl:absolute xl:mx-0 xl:mt-20 xl:py-24",borderRadius:"md",children:[(0,i.jsx)(p.Text,{weight:"bold",className:"text-xs lg:text-md md:text-sm xl:text-lg text-secondary",children:((n=o==null?void 0:o[l])==null?void 0:n.subtitle)&&((r=o==null?void 0:o[l])==null?void 0:r.subtitle)}),(0,i.jsx)(N.Heading,{fontSize:"3xl",children:((t=o==null?void 0:o[l])==null?void 0:t.title)&&((x=o==null?void 0:o[l])==null?void 0:x.title)}),(0,i.jsx)(p.Text,{muted:!0,className:"text-xs leading-loose text-center md:mt-5 md:text-sm lg:mt-5 lg:text-sm",children:((m=o==null?void 0:o[l])==null?void 0:m.description)&&((a=o==null?void 0:o[l])==null?void 0:a.description)})]}):null}function T({featuredItems:o,children:l,slider:n}){return o?(0,i.jsxs)(s.default.Fragment,{children:[(0,i.jsx)("div",{className:"absolute left-0 z-40 items-center mt-20 -mx-3 order-0 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(o==null?void 0:o.length)>=2&&(0,i.jsx)(g.Button,{as:"button",ariaLabel:"Show Previous Feature",className:"z-10 p-4 text-white ",onClick:()=>n("prev"),children:(0,i.jsx)("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,i.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M10 19l-7-7m0 0l7-7m-7 7h18"})})})}),l,(0,i.jsx)("div",{className:"absolute right-0 z-40 items-center order-2 mt-20 -mx-3 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(o==null?void 0:o.length)>=2&&(0,i.jsx)(g.Button,{as:"button",ariaLabel:"Show Next Feature",className:"p-4 text-white ",onClick:()=>n("next"),children:(0,i.jsx)("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,i.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M14 5l7 7m0 0l-7 7m7-7H3"})})})})]}):null}0&&(module.exports={Features_E});
|
package/dist/features_e.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-7B6FI3PR.mjs";export{a as Features_E,a as default};
|
package/dist/features_f.d.ts
DELETED
package/dist/features_f.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var d=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var F=Object.getOwnPropertyNames;var C=Object.prototype.hasOwnProperty;var I=(e,a)=>{for(var i in a)d(e,i,{get:a[i],enumerable:!0})},T=(e,a,i,n)=>{if(a&&typeof a=="object"||typeof a=="function")for(let t of F(a))!C.call(e,t)&&t!==i&&d(e,t,{get:()=>a[t],enumerable:!(n=p(a,t))||n.enumerable});return e};var k=e=>T(d({},"__esModule",{value:!0}),e);var z={};I(z,{Features_F:()=>x,default:()=>x});module.exports=k(z);var c=require("@stackshift-ui/button"),o=require("@stackshift-ui/container"),m=require("@stackshift-ui/flex"),g=require("@stackshift-ui/heading"),u=require("@stackshift-ui/image"),b=require("@stackshift-ui/section"),s=require("@stackshift-ui/text"),l=require("react/jsx-runtime");function x({caption:e,title:a,description:i,images:n,primaryButton:t}){return(0,l.jsx)(b.Section,{className:"py-20 bg-background",children:(0,l.jsx)(o.Container,{maxWidth:1280,children:(0,l.jsxs)(m.Flex,{wrap:!0,align:"center",children:[(0,l.jsxs)(m.Flex,{direction:"col",className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:[(0,l.jsx)(L,{caption:e,title:a,description:i}),(0,l.jsx)(S,{primaryButton:t})]}),(0,l.jsx)(W,{images:n})]})})})}function L({caption:e,title:a,description:i}){return(0,l.jsxs)(o.Container,{maxWidth:448,className:"ml-0",children:[e&&(0,l.jsx)(s.Text,{weight:"bold",className:"font-bold text-secondary",children:e}),a&&(0,l.jsx)(g.Heading,{fontSize:"3xl",className:"mb-6",children:a}),i&&(0,l.jsx)(s.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function S({primaryButton:e}){return e!=null&&e.label?(0,l.jsx)(o.Container,{maxWidth:448,className:"ml-0",children:(0,l.jsx)(c.Button,{as:"link",link:e,ariaLabel:e==null?void 0:e.label,children:e==null?void 0:e.label})}):null}function W({images:e}){var i,n,t,f;if(!e||(e==null?void 0:e.length)===0)return null;function a(v,r,h,w,N){return(0,l.jsx)("div",{className:`overflow-hidden rounded-md ${N}`,children:(0,l.jsx)(u.Image,{className:"object-cover w-full h-full",src:v,sizes:"100vw",width:h,height:w,alt:r!=null?r:"feature-image"})})}return(0,l.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,l.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,l.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((i=e[0])==null?void 0:i.image)&&a(e[0].image,e[0].alt,356,192,"h-[269px]")}),(0,l.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((n=e[1])==null?void 0:n.image)&&a(e[1].image,e[1].alt,166,128,"")})]}),(0,l.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,l.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((t=e[2])==null?void 0:t.image)&&a(e[2].image,e[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,l.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((f=e[3])==null?void 0:f.image)&&a(e[3].image,e[3].alt,356,192,"")})]})]})}0&&(module.exports={Features_F});
|
package/dist/features_f.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-M4ZCOWFN.mjs";export{a as Features_F,a as default};
|
package/dist/features_g.d.ts
DELETED
package/dist/features_g.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var m=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var N=Object.getOwnPropertyNames;var F=Object.prototype.hasOwnProperty;var y=(e,t)=>{for(var r in t)m(e,r,{get:t[r],enumerable:!0})},I=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of N(t))!F.call(e,a)&&a!==r&&m(e,a,{get:()=>t[a],enumerable:!(i=b(t,a))||i.enumerable});return e};var z=e=>I(m({},"__esModule",{value:!0}),e);var G={};y(G,{Features_G:()=>p,default:()=>p});module.exports=z(G);var o=require("@stackshift-ui/container"),d=require("@stackshift-ui/flex"),f=require("@stackshift-ui/heading"),c=require("@stackshift-ui/image"),g=require("@stackshift-ui/section"),s=require("@stackshift-ui/text"),l=require("react/jsx-runtime");function p({caption:e,title:t,description:r,images:i,tags:a}){return(0,l.jsx)(g.Section,{className:"py-20 bg-background",children:(0,l.jsx)(o.Container,{maxWidth:1280,children:(0,l.jsxs)(d.Flex,{wrap:!0,align:"center",children:[(0,l.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,l.jsxs)(o.Container,{maxWidth:448,children:[(0,l.jsx)(C,{caption:e,title:t,description:r}),(0,l.jsx)(T,{tags:a})]})}),(0,l.jsx)(S,{images:i})]})})})}function C({caption:e,title:t,description:r}){return(0,l.jsxs)("div",{className:"flex flex-col gap-3",children:[e&&(0,l.jsx)(s.Text,{weight:"bold",className:"text-secondary",children:e}),t&&(0,l.jsx)(f.Heading,{fontSize:"3xl",className:"mb-3",children:t}),r&&(0,l.jsx)(s.Text,{muted:!0,className:"mb-6 leading-loose ",children:r})]})}function T({tags:e}){return e?(0,l.jsx)("ul",{className:"font-bold text-gray-500",children:e.map(t=>(0,l.jsx)(R,{item:t}))}):null}function R({item:e}){return e?(0,l.jsxs)(d.Flex,{as:"li",align:"center",className:"mb-2 ",children:[(0,l.jsx)("svg",{className:"w-5 h-5 mr-2 text-primary-foreground",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,l.jsx)("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,l.jsx)("span",{children:e})]}):null}function S({images:e}){var r,i,a,u;if(!e||(e==null?void 0:e.length)===0)return null;function t(v,n,x,w,h){return(0,l.jsx)("div",{className:`overflow-hidden rounded-md ${h}`,children:(0,l.jsx)(c.Image,{className:"object-cover w-full h-full",src:v,sizes:"100vw",width:x,height:w,alt:n!=null?n:"feature-image"})})}return(0,l.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,l.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,l.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((r=e[0])==null?void 0:r.image)&&t(e[0].image,e[0].alt,356,192,"h-[269px]")}),(0,l.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((i=e[1])==null?void 0:i.image)&&t(e[1].image,e[1].alt,166,128,"")})]}),(0,l.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,l.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((a=e[2])==null?void 0:a.image)&&t(e[2].image,e[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,l.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((u=e[3])==null?void 0:u.image)&&t(e[3].image,e[3].alt,356,192,"")})]})]})}0&&(module.exports={Features_G});
|
package/dist/features_g.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-6BDXLZOT.mjs";export{a as Features_G,a as default};
|
package/dist/features_h.d.ts
DELETED
package/dist/features_h.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var c=Object.defineProperty;var y=Object.getOwnPropertyDescriptor;var F=Object.getOwnPropertyNames;var k=Object.prototype.hasOwnProperty;var A=(t,n)=>{for(var o in n)c(t,o,{get:n[o],enumerable:!0})},I=(t,n,o,e)=>{if(n&&typeof n=="object"||typeof n=="function")for(let l of F(n))!k.call(t,l)&&l!==o&&c(t,l,{get:()=>n[l],enumerable:!(e=y(n,l))||e.enumerable});return t};var C=t=>I(c({},"__esModule",{value:!0}),t);var O={};A(O,{Features_H:()=>T,default:()=>T});module.exports=C(O);var m=require("@stackshift-ui/container"),a=require("@stackshift-ui/flex"),N=require("@stackshift-ui/heading"),d=require("@stackshift-ui/image"),b=require("@stackshift-ui/section"),i=require("@stackshift-ui/text"),r=require("react/jsx-runtime");function T({caption:t,title:n,features:o,images:e}){return(0,r.jsx)(b.Section,{className:"py-20 bg-background",children:(0,r.jsx)(m.Container,{maxWidth:1280,children:(0,r.jsxs)(a.Flex,{wrap:!0,align:"center",children:[(0,r.jsx)("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:(0,r.jsxs)(m.Container,{maxWidth:448,children:[(0,r.jsx)(z,{caption:t,title:n}),(0,r.jsx)(S,{features:o})]})}),(0,r.jsx)(L,{images:e})]})})})}function z({caption:t,title:n}){return(0,r.jsxs)("div",{className:"flex flex-col gap-3",children:[t&&(0,r.jsx)(i.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,r.jsx)(N.Heading,{fontSize:"3xl",className:"mb-6",children:n})]})}function S({features:t}){return!t||(t==null?void 0:t.length)<=0?null:(0,r.jsx)("ul",{children:t.map(n=>(0,r.jsx)(j,{feature:n},n._key))})}function j({feature:t}){return t?(0,r.jsxs)(a.Flex,{as:"li",className:"mb-5",children:[(0,r.jsx)(H,{}),(0,r.jsxs)("div",{className:"max-w-xs",children:[(0,r.jsx)(i.Text,{weight:"bold",className:"text-gray-500",children:t==null?void 0:t.title}),(0,r.jsx)(i.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText})]})]}):null}function H(){return(0,r.jsx)("svg",{className:"w-8 h-8 mr-3 text-primary",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"})})}function L({images:t}){var n,o,e,l,x,w,p,v,h,u,f,s;return!t||(t==null?void 0:t.length)===0?null:(0,r.jsxs)("div",{className:"items-center w-full px-4 sm:flex md:px-0 lg:w-1/2",children:[(0,r.jsxs)("div",{className:"mb-5 sm:mb-0 sm:w-1/2",children:[((n=t==null?void 0:t[0])==null?void 0:n.image)&&(0,r.jsx)(d.Image,{className:"object-cover overflow-hidden rounded-md",src:`${(o=t==null?void 0:t[0])==null?void 0:o.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(l=(e=t==null?void 0:t[0])==null?void 0:e.alt)!=null?l:"features-image-1"}),((x=t==null?void 0:t[1])==null?void 0:x.image)&&(0,r.jsx)(d.Image,{className:"object-cover mt-6 overflow-hidden rounded-md",src:`${(w=t==null?void 0:t[1])==null?void 0:w.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(v=(p=t==null?void 0:t[1])==null?void 0:p.alt)!=null?v:"features-image-2"})]}),((h=t==null?void 0:t[2])==null?void 0:h.image)&&(0,r.jsx)(d.Image,{className:"object-cover overflow-hidden rounded-md sm:ml-6 sm:w-1/2",src:`${(u=t==null?void 0:t[2])==null?void 0:u.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(s=(f=t==null?void 0:t[2])==null?void 0:f.alt)!=null?s:"features-image-3"})]})}0&&(module.exports={Features_H});
|
package/dist/features_h.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-7ZZLNFYE.mjs";export{a as Features_H,a as default};
|
package/dist/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from "./features";
|
|
2
|
-
export * from "./features_a";
|
|
3
|
-
export * from "./features_b";
|
|
4
|
-
export * from "./features_c";
|
|
5
|
-
export * from "./features_d";
|
|
6
|
-
export * from "./features_e";
|
|
7
|
-
export * from "./features_f";
|
|
8
|
-
export * from "./features_g";
|
|
9
|
-
export * from "./features_h";
|
package/dist/index.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";var nl=Object.create;var S=Object.defineProperty;var ol=Object.getOwnPropertyDescriptor;var rl=Object.getOwnPropertyNames;var ml=Object.getPrototypeOf,al=Object.prototype.hasOwnProperty;var N=(t,l)=>()=>(t&&(l=t(t=0)),l);var h=(t,l)=>{for(var i in l)S(t,i,{get:l[i],enumerable:!0})},ut=(t,l,i,e)=>{if(l&&typeof l=="object"||typeof l=="function")for(let n of rl(l))!al.call(t,n)&&n!==i&&S(t,n,{get:()=>l[n],enumerable:!(e=ol(l,n))||e.enumerable});return t};var sl=(t,l,i)=>(i=t!=null?nl(ml(t)):{},ut(l||!t||!t.__esModule?S(i,"default",{value:t,enumerable:!0}):i,t)),cl=t=>ut(S({},"__esModule",{value:!0}),t);var ft={};h(ft,{Features_A:()=>L,default:()=>L});function L({caption:t,title:l,description:i,features:e}){return(0,x.jsx)(ht.Section,{className:"py-20 bg-background",children:(0,x.jsxs)(P.Container,{maxWidth:1280,children:[(0,x.jsx)(P.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,x.jsx)(dl,{caption:t,title:l,description:i})}),(0,x.jsx)(pl,{features:e})]})})}function dl({caption:t,title:l,description:i}){return(0,x.jsxs)("div",{className:"flex flex-col gap-3",children:[t?(0,x.jsx)(C.Text,{weight:"bold",className:"text-secondary",children:t}):null,l?(0,x.jsx)(wt.Heading,{fontSize:"3xl",children:l}):null,i?(0,x.jsx)(C.Text,{muted:!0,children:i}):null]})}function pl({features:t}){return t?(0,x.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6",children:t==null?void 0:t.map(l=>(0,x.jsx)(xl,{feature:l},l._key))}):null}function xl({feature:t}){var l;return(0,x.jsxs)("div",{className:"text-center sm:text-start p-3",children:[(l=t==null?void 0:t.mainImage)!=null&&l.image?(0,x.jsx)(gl,{feature:t}):null,t!=null&&t.title?(0,x.jsx)(C.Text,{weight:"bold",className:"mb-4 text-gray-500",fontSize:"xl",children:t==null?void 0:t.title}):null,t!=null&&t.plainText?(0,x.jsx)(C.Text,{muted:!0,children:t==null?void 0:t.plainText}):null]})}function gl({feature:t}){var l,i,e,n;return(l=t==null?void 0:t.mainImage)!=null&&l.image?(0,x.jsx)("span",{className:"inline-block p-3 mb-4 rounded bg-secondary/50 text-primary-foreground md:mb-6",children:(0,x.jsx)(bt.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(n=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?n:"features-image-"})}):null}var P,wt,bt,ht,C,x,_=N(()=>{"use strict";P=require("@stackshift-ui/container"),wt=require("@stackshift-ui/heading"),bt=require("@stackshift-ui/image"),ht=require("@stackshift-ui/section"),C=require("@stackshift-ui/text"),x=require("react/jsx-runtime")});var Ct={};h(Ct,{Features_B:()=>O,default:()=>O});function O({caption:t,title:l,description:i,features:e,tags:n}){return(0,x.jsx)(ht.Section,{className:"py-20 bg-background",children:(0,x.jsx)(W.Container,{maxWidth:1280,children:(0,x.jsxs)(H.Flex,{wrap:!0,align:"center",children:[(0,x.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,x.jsxs)(W.Container,{maxWidth:448,children:[(0,x.jsx)(vl,{caption:t,title:l,description:i}),(0,x.jsx)(ul,{tags:n})]})}),(0,x.jsx)(wl,{features:e})]})})})}function vl({caption:t,title:l,description:i}){return(0,x.jsxs)("div",{className:"flex flex-col gap-3",children:[t&&(0,x.jsx)(C.Text,{weight:"bold",className:"text-secondary",children:t}),l&&(0,x.jsx)(wt.Heading,{fontSize:"3xl",children:l}),i&&(0,x.jsx)(C.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function ul({tags:t}){return t?(0,x.jsx)("ul",{children:t&&t.map(l=>(0,x.jsxs)("li",{className:"flex mb-4",children:[(0,x.jsx)("svg",{className:"w-6 h-6 mr-2 text-secondary",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,x.jsx)("path",{fillRule:"evenodd",x:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,x.jsx)(C.Text,{muted:!0,weight:"bold",children:l})]},l))}):null}function wl({features:t}){return t?(0,x.jsx)(H.Flex,{wrap:!0,align:"stretch",className:"w-full lg:w-1/2",children:t&&(t==null?void 0:t.map((l,i)=>{var e,n,a,v;return(0,x.jsx)("div",{className:`w-full px-4 mb-8 md:w-1/2 ${i%2===0?"lg:mb-0":"lg:mt-12"}`,children:(0,x.jsxs)(Nt.Card,{className:"py-6 pl-6 pr-4 mb-8 bg-white",borderRadius:"md",children:[((e=l==null?void 0:l.mainImage)==null?void 0:e.image)&&(0,x.jsx)("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary/50",children:(0,x.jsx)(bt.Image,{className:"object-scale-down",src:`${(n=l==null?void 0:l.mainImage)==null?void 0:n.image}`,width:40,height:40,alt:(v=(a=l==null?void 0:l.mainImage)==null?void 0:a.alt)!=null?v:`features-image-${i}`})}),(0,x.jsx)(C.Text,{weight:"bold",className:"text-xl md:text-2xl mb-2 text-gray-500 break-all",children:l==null?void 0:l.title}),(0,x.jsx)(C.Text,{muted:!0,className:"leading-loose break-all",children:l==null?void 0:l.plainText})]})},i)}))}):null}var Nt,W,H,wt,bt,ht,C,x,$=N(()=>{"use strict";Nt=require("@stackshift-ui/card"),W=require("@stackshift-ui/container"),H=require("@stackshift-ui/flex")});var Rt={};h(Rt,{Features_C:()=>j,default:()=>j});function j({caption:t,title:l,description:i,features:e}){return(0,x.jsx)(ht.Section,{className:"py-20 bg-background",children:(0,x.jsxs)(W.Container,{maxWidth:1800,children:[(0,x.jsx)(W.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,x.jsx)(bl,{caption:t,title:l,description:i})}),(0,x.jsx)(hl,{features:e})]})})}function bl({caption:t,title:l,description:i}){return(0,x.jsxs)("div",{className:"flex flex-col gap-3",children:[t?(0,x.jsx)(C.Text,{weight:"bold",className:"text-secondary",children:t}):null,l?(0,x.jsx)(wt.Heading,{fontSize:"3xl",children:l}):null,i?(0,x.jsx)(C.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function hl({features:t}){return t?(0,x.jsx)("div",{className:"lg:grid lg:grid-cols-2 gap-3",children:t.map(l=>(0,x.jsx)(fl,{feature:l},l._key))}):null}function fl({feature:t}){var l,i,e,n;return(0,x.jsx)("div",{className:"w-full p-3",children:(0,x.jsxs)(kt.Card,{className:"flex flex-wrap h-full p-6 bg-white",borderRadius:"md",children:[(0,x.jsx)("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary/50 md:p-5 lg:mb-0",children:((l=t==null?void 0:t.mainImage)==null?void 0:l.image)&&(0,x.jsx)(bt.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(n=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?n:"features-main-image"})}),(0,x.jsxs)("div",{className:"w-full lg:w-2/3 flex flex-col gap-2",children:[(0,x.jsx)(C.Text,{weight:"bold",className:"text-xl md:text-2xl break-all",children:t==null?void 0:t.title}),(0,x.jsx)(C.Text,{muted:!0,className:"break-all",children:t==null?void 0:t.plainText})]})]})})}var kt,W,wt,bt,ht,C,x,M=N(()=>{"use strict";kt=require("@stackshift-ui/card")});var Ht={};h(Ht,{Features_D:()=>B,default:()=>B});function B({caption:t,title:l,description:i,features:e}){return(0,x.jsx)(ht.Section,{className:"py-20 bg-background",children:(0,x.jsxs)(W.Container,{maxWidth:1280,children:[(0,x.jsx)(W.Container,{maxWidth:448,className:"mb-8 text-center",children:(0,x.jsx)(Nl,{caption:t,title:l,description:i})}),(0,x.jsx)(Tl,{features:e})]})})}function Nl({caption:t,title:l,description:i}){return(0,x.jsxs)("div",{className:"flex flex-col gap-3",children:[t?(0,x.jsx)(C.Text,{weight:"bold",className:"text-secondary",children:t}):null,l?(0,x.jsx)(wt.Heading,{fontSize:"3xl",children:l}):null,i?(0,x.jsx)(C.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function Tl({features:t}){return t?(0,x.jsx)(H.Flex,{wrap:!0,justify:"center",align:"stretch",children:t.map(l=>(0,x.jsx)(Fl,{feature:l},l._key))}):null}function Fl({feature:t}){var l,i,e,n;return(0,x.jsx)("div",{className:"w-full px-4 mt-8 lg:mb-0 lg:w-1/3",children:(0,x.jsxs)(zt.Card,{className:"h-full px-6 py-12 text-center bg-white",borderRadius:"md",children:[(0,x.jsx)("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary/50 md:p-5",children:((l=t==null?void 0:t.mainImage)==null?void 0:l.image)&&(0,x.jsx)(bt.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(n=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?n:"features-image-"})}),(0,x.jsx)(C.Text,{fontSize:"xl",weight:"bold",className:"px-8 mb-4 text-gray-500",children:t==null?void 0:t.title}),(0,x.jsx)(C.Text,{muted:!0,children:t==null?void 0:t.plainText})]})})}var zt,W,H,wt,bt,ht,C,x,D=N(()=>{"use strict";zt=require("@stackshift-ui/card")});var Bt={};h(Bt,{Features_E:()=>K,default:()=>K});function K({featuredItems:t}){let[l,i]=J.default.useState(0);return(0,x.jsx)(ht.Section,{className:"py-20 overflow-x-auto bg-background",children:(0,x.jsx)($t.Container,{maxWidth:1280,children:(0,x.jsx)(H.Flex,{className:"relative",children:(0,x.jsx)(kl,{featuredItems:t,slider:n=>{t&&(n==="next"?l!==t.length-1?i(a=>a+1):i(0):l>=1?i(a=>a-1):i(t.length-1))},children:(0,x.jsxs)("div",{className:"order-1 w-full ml-auto xl:w-4/5",children:[(0,x.jsx)(yl,{featuredItems:t,item:l}),(0,x.jsx)(Cl,{featuredItems:t,item:l})]})})})})})}function yl({featuredItems:t,item:l}){var i,e,n,a,v,p,u;return(e=(i=t==null?void 0:t[l])==null?void 0:i.mainImage)!=null&&e.image?(0,x.jsx)("div",{className:"mx-auto overflow-hidden rounded-md md:max-w-xl xl:max-w-4xl",children:(0,x.jsx)(bt.Image,{className:"relative object-cover rounded-md",src:`${(a=(n=t==null?void 0:t[l])==null?void 0:n.mainImage)==null?void 0:a.image}`,sizes:"100vw",width:896,height:575,alt:(u=(p=(v=t==null?void 0:t[l])==null?void 0:v.mainImage)==null?void 0:p.alt)!=null?u:`features-image-${l}`})}):null}function Cl({featuredItems:t,item:l}){var i,e,n,a,v,p;return t?(0,x.jsxs)(Ot.Card,{className:"top-0 left-0 max-w-xl p-6 mx-auto text-center bg-white md:mt-12 md:p-10 lg:mt-12 lg:p-10 xl:absolute xl:mx-0 xl:mt-20 xl:py-24",borderRadius:"md",children:[(0,x.jsx)(C.Text,{weight:"bold",className:"text-xs lg:text-md md:text-sm xl:text-lg text-secondary",children:((i=t==null?void 0:t[l])==null?void 0:i.subtitle)&&((e=t==null?void 0:t[l])==null?void 0:e.subtitle)}),(0,x.jsx)(wt.Heading,{fontSize:"3xl",children:((n=t==null?void 0:t[l])==null?void 0:n.title)&&((a=t==null?void 0:t[l])==null?void 0:a.title)}),(0,x.jsx)(C.Text,{muted:!0,className:"text-xs leading-loose text-center md:mt-5 md:text-sm lg:mt-5 lg:text-sm",children:((v=t==null?void 0:t[l])==null?void 0:v.description)&&((p=t==null?void 0:t[l])==null?void 0:p.description)})]}):null}function kl({featuredItems:t,children:l,slider:i}){return t?(0,x.jsxs)(J.default.Fragment,{children:[(0,x.jsx)("div",{className:"absolute left-0 C-40 items-center mt-20 -mx-3 order-0 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(t==null?void 0:t.length)>=2&&(0,x.jsx)(E.Button,{as:"button",ariaLabel:"Show Previous Feature",className:"C-10 p-4 text-white ",onClick:()=>i("prev"),children:(0,x.jsx)("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,x.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",x:"M10 19l-7-7m0 0l7-7m-7 7h18"})})})}),l,(0,x.jsx)("div",{className:"absolute right-0 C-40 items-center order-2 mt-20 -mx-3 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(t==null?void 0:t.length)>=2&&(0,x.jsx)(E.Button,{as:"button",ariaLabel:"Show Next Feature",className:"p-4 text-white ",onClick:()=>i("next"),children:(0,x.jsx)("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,x.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",x:"M14 5l7 7m0 0l-7 7m7-7H3"})})})})]}):null}var E,Ot,$t,H,wt,bt,ht,C,J,x,Q=N(()=>{"use strict";E=require("@stackshift-ui/button"),Ot=require("@stackshift-ui/card"),J=sl(require("react"))});var Kt={};h(Kt,{Features_F:()=>Y,default:()=>Y});function Y({caption:t,title:l,description:i,images:e,primaryButton:n}){return(0,x.jsx)(ht.Section,{className:"py-20 bg-background",children:(0,x.jsx)(W.Container,{maxWidth:1280,children:(0,x.jsxs)(H.Flex,{wrap:!0,align:"center",children:[(0,x.jsxs)(H.Flex,{direction:"col",className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:[(0,x.jsx)(Al,{caption:t,title:l,description:i}),(0,x.jsx)(Sl,{primaryButton:n})]}),(0,x.jsx)(Il,{images:e})]})})})}function Al({caption:t,title:l,description:i}){return(0,x.jsxs)(W.Container,{maxWidth:448,className:"ml-0",children:[t&&(0,x.jsx)(C.Text,{weight:"bold",className:"font-bold text-secondary",children:t}),l&&(0,x.jsx)(wt.Heading,{fontSize:"3xl",className:"mb-6",children:l}),i&&(0,x.jsx)(C.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function Sl({primaryButton:t}){return t!=null&&t.label?(0,x.jsx)(W.Container,{maxWidth:448,className:"ml-0",children:(0,x.jsx)(Dt.Button,{as:"link",link:t,ariaLabel:t==null?void 0:t.label,children:t==null?void 0:t.label})}):null}function Il({images:t}){var i,e,n,a;if(!t||(t==null?void 0:t.length)===0)return null;function l(v,p,u,w,b){return(0,x.jsx)("div",{className:`overflow-hidden rounded-md ${b}`,children:(0,x.jsx)(bt.Image,{className:"object-cover w-full h-full",src:v,sizes:"100vw",width:u,height:w,alt:p!=null?p:"feature-image"})})}return(0,x.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,x.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,x.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((i=t[0])==null?void 0:i.image)&&l(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,x.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((e=t[1])==null?void 0:e.image)&&l(t[1].image,t[1].alt,166,128,"")})]}),(0,x.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,x.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((n=t[2])==null?void 0:n.image)&&l(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,x.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((a=t[3])==null?void 0:a.image)&&l(t[3].image,t[3].alt,356,192,"")})]})]})}var Dt,W,H,wt,bt,ht,C,x,Z=N(()=>{"use strict";Dt=require("@stackshift-ui/button")});var Yt={};h(Yt,{Features_G:()=>et,default:()=>et});function et({caption:t,title:l,description:i,images:e,tags:n}){return(0,x.jsx)(ht.Section,{className:"py-20 bg-background",children:(0,x.jsx)(tt.Container,{maxWidth:1280,children:(0,x.jsxs)(H.Flex,{wrap:!0,align:"center",children:[(0,x.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,x.jsxs)(tt.Container,{maxWidth:448,children:[(0,x.jsx)(Rl,{caption:t,title:l,description:i}),(0,x.jsx)(zl,{tags:n})]})}),(0,x.jsx)(Ll,{images:e})]})})})}function Rl({caption:t,title:l,description:i}){return(0,x.jsxs)("div",{className:"flex flex-col gap-3",children:[t&&(0,x.jsx)(C.Text,{weight:"bold",className:"text-secondary",children:t}),l&&(0,x.jsx)(wt.Heading,{fontSize:"3xl",className:"mb-3",children:l}),i&&(0,x.jsx)(C.Text,{muted:!0,className:"mb-6 leading-loose ",children:i})]})}function zl({tags:t}){return t?(0,x.jsx)("ul",{className:"font-bold text-gray-500",children:t.map(l=>(0,x.jsx)(Pl,{item:l}))}):null}function Pl({item:t}){return t?(0,x.jsxs)(H.Flex,{as:"li",align:"center",className:"mb-2 ",children:[(0,x.jsx)("svg",{className:"w-5 h-5 mr-2 text-primary-foreground",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,x.jsx)("path",{fillRule:"evenodd",x:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,x.jsx)("span",{children:t})]}):null}function Ll({images:t}){var i,e,n,a;if(!t||(t==null?void 0:t.length)===0)return null;function l(v,p,u,w,b){return(0,x.jsx)("div",{className:`overflow-hidden rounded-md ${b}`,children:(0,x.jsx)(bt.Image,{className:"object-cover w-full h-full",src:v,sizes:"100vw",width:u,height:w,alt:p!=null?p:"feature-image"})})}return(0,x.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,x.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,x.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((i=t[0])==null?void 0:i.image)&&l(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,x.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((e=t[1])==null?void 0:e.image)&&l(t[1].image,t[1].alt,166,128,"")})]}),(0,x.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,x.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((n=t[2])==null?void 0:n.image)&&l(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,x.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((a=t[3])==null?void 0:a.image)&&l(t[3].image,t[3].alt,356,192,"")})]})]})}var tt,H,wt,bt,ht,C,x,nt=N(()=>{"use strict";tt=require("@stackshift-ui/container")});var ll={};h(ll,{Features_H:()=>mt,default:()=>mt});function mt({caption:t,title:l,features:i,images:e}){return(0,x.jsx)(ht.Section,{className:"py-20 bg-background",children:(0,x.jsx)(ot.Container,{maxWidth:1280,children:(0,x.jsxs)(H.Flex,{wrap:!0,align:"center",children:[(0,x.jsx)("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:(0,x.jsxs)(ot.Container,{maxWidth:448,children:[(0,x.jsx)(_l,{caption:t,title:l}),(0,x.jsx)(Wl,{features:i})]})}),(0,x.jsx)($l,{images:e})]})})})}function _l({caption:t,title:l}){return(0,x.jsxs)("div",{className:"flex flex-col gap-3",children:[t&&(0,x.jsx)(C.Text,{weight:"bold",className:"text-secondary",children:t}),l&&(0,x.jsx)(wt.Heading,{fontSize:"3xl",className:"mb-6",children:l})]})}function Wl({features:t}){return!t||(t==null?void 0:t.length)<=0?null:(0,x.jsx)("ul",{children:t.map(l=>(0,x.jsx)(Hl,{feature:l},l._key))})}function Hl({feature:t}){return t?(0,x.jsxs)(H.Flex,{as:"li",className:"mb-5",children:[(0,x.jsx)(Ol,{}),(0,x.jsxs)("div",{className:"max-w-xs",children:[(0,x.jsx)(C.Text,{weight:"bold",className:"text-gray-500",children:t==null?void 0:t.title}),(0,x.jsx)(C.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText})]})]}):null}function Ol(){return(0,x.jsx)("svg",{className:"w-8 h-8 mr-3 text-primary",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,x.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,x:"M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"})})}function $l({images:t}){var l,i,e,n,a,v,p,u,w,b,F,y;return!t||(t==null?void 0:t.length)===0?null:(0,x.jsxs)("div",{className:"items-center w-full px-4 sm:flex md:px-0 lg:w-1/2",children:[(0,x.jsxs)("div",{className:"mb-5 sm:mb-0 sm:w-1/2",children:[((l=t==null?void 0:t[0])==null?void 0:l.image)&&(0,x.jsx)(bt.Image,{className:"object-cover overflow-hidden rounded-md",src:`${(i=t==null?void 0:t[0])==null?void 0:i.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(n=(e=t==null?void 0:t[0])==null?void 0:e.alt)!=null?n:"features-image-1"}),((a=t==null?void 0:t[1])==null?void 0:a.image)&&(0,x.jsx)(bt.Image,{className:"object-cover mt-6 overflow-hidden rounded-md",src:`${(v=t==null?void 0:t[1])==null?void 0:v.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(u=(p=t==null?void 0:t[1])==null?void 0:p.alt)!=null?u:"features-image-2"})]}),((w=t==null?void 0:t[2])==null?void 0:w.image)&&(0,x.jsx)(bt.Image,{className:"object-cover overflow-hidden rounded-md sm:ml-6 sm:w-1/2",src:`${(b=t==null?void 0:t[2])==null?void 0:b.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(y=(F=t==null?void 0:t[2])==null?void 0:F.alt)!=null?y:"features-image-3"})]})}var ot,H,wt,bt,ht,C,x,at=N(()=>{"use strict";ot=require("@stackshift-ui/container")});var Ml={};h(Ml,{Features:()=>il,Features_A:()=>L,Features_B:()=>O,Features_C:()=>j,Features_D:()=>B,Features_E:()=>K,Features_F:()=>Y,Features_G:()=>et,Features_H:()=>mt});module.exports=cl(Ml);var f=require("react"),Vl={variant_a:(0,f.lazy)(()=>Promise.resolve().then(()=>(_(),ft))),variant_b:(0,f.lazy)(()=>Promise.resolve().then(()=>($(),Ct))),variant_c:(0,f.lazy)(()=>Promise.resolve().then(()=>(M(),Rt))),variant_d:(0,f.lazy)(()=>Promise.resolve().then(()=>(D(),Ht))),variant_e:(0,f.lazy)(()=>Promise.resolve().then(()=>(Q(),Bt))),variant_f:(0,f.lazy)(()=>Promise.resolve().then(()=>(Z(),Kt))),variant_g:(0,f.lazy)(()=>Promise.resolve().then(()=>(nt(),Yt))),variant_h:(0,f.lazy)(()=>Promise.resolve().then(()=>(at(),ll)))},jl="Features",il=({data:t})=>{var n,a,v,p,u,w,b,F,y,st,ct,dt,pt,xt,gt,vt;let l=t==null?void 0:t.variant,i=l&&Vl[l],e={caption:(a=(n=t==null?void 0:t.variants)==null?void 0:n.subtitle)!=null?a:void 0,title:(p=(v=t==null?void 0:t.variants)==null?void 0:v.title)!=null?p:void 0,description:(w=(u=t==null?void 0:t.variants)==null?void 0:u.description)!=null?w:void 0,features:(F=(b=t==null?void 0:t.variants)==null?void 0:b.arrayOfImageTitleAndText)!=null?F:void 0,tags:(st=(y=t==null?void 0:t.variants)==null?void 0:y.tags)!=null?st:void 0,featuredItems:(dt=(ct=t==null?void 0:t.variants)==null?void 0:ct.featuredItems)!=null?dt:void 0,images:(xt=(pt=t==null?void 0:t.variants)==null?void 0:pt.images)!=null?xt:void 0,primaryButton:(vt=(gt=t==null?void 0:t.variants)==null?void 0:gt.primaryButton)!=null?vt:void 0};return i?(0,x.jsx)(i,{...e}):null};il.displayName=jl;_();$();M();D();Q();Z();nt();at();0&&(module.exports={Features,Features_A,Features_B,Features_C,Features_D,Features_E,Features_F,Features_G,Features_H});
|
package/dist/index.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";import{a as p}from"./chunk-6BDXLZOT.mjs";import{a as x}from"./chunk-7ZZLNFYE.mjs";import{a as c}from"./chunk-NMRXZVBL.mjs";import{a as o}from"./chunk-XY27OBDB.mjs";import{a as r}from"./chunk-24O5VU3C.mjs";import{a as e}from"./chunk-3S2KSCPX.mjs";import{a as t}from"./chunk-5AMMO42A.mjs";import{a as f}from"./chunk-7B6FI3PR.mjs";import{a as m}from"./chunk-M4ZCOWFN.mjs";export{c as Features,o as Features_A,r as Features_B,e as Features_C,t as Features_D,f as Features_E,m as Features_F,p as Features_G,x as Features_H};
|
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);
|