@stackshift-ui/features 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-GGPLBP3I.mjs +1 -0
- package/dist/{chunk-6GH6ZL3O.mjs → chunk-JLMJ5WKU.mjs} +1 -1
- package/dist/chunk-PLE2ZDCT.mjs +1 -0
- package/dist/chunk-VJX6I62Q.mjs +1 -0
- package/dist/features.js +1 -1
- package/dist/features.mjs +1 -1
- package/dist/features_a.js +1 -1
- package/dist/features_a.mjs +1 -1
- package/dist/features_b.js +1 -1
- package/dist/features_b.mjs +1 -1
- package/dist/features_c.js +1 -1
- package/dist/features_c.mjs +1 -1
- package/dist/features_d.js +1 -1
- package/dist/features_d.mjs +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +8 -8
- package/dist/chunk-COGBUBVM.mjs +0 -1
- package/dist/chunk-OBAKBGYI.mjs +0 -1
- package/dist/chunk-Q53BTSJI.mjs +0 -1
- /package/dist/{chunk-HFOYSCIK.mjs → chunk-XOSBSNA7.mjs} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Container as g}from"@stackshift-ui/container";import{Flex as s}from"@stackshift-ui/flex";import{Heading as p}from"@stackshift-ui/heading";import{Image as c}from"@stackshift-ui/image";import{Section as d}from"@stackshift-ui/section";import{Text as l}from"@stackshift-ui/text";import e from"react";import{jsx as m,jsxs as o}from"react/jsx-runtime";function x({caption:n,title:i,features:t}){return m(d,{className:"py-20 bg-background",children:o(g,{maxWidth:1280,children:[m(g,{maxWidth:448,className:"mb-16 text-center ",children:m(I,{caption:n,title:i})}),m(s,{wrap:!0,children:m(F,{features:t})})]})})}function I({caption:n,title:i}){return o(e.Fragment,{children:[n?m(l,{weight:"bold",className:"text-secondary",children:n}):null,i?m(p,{fontSize:"3xl",children:i}):null]})}function F({features:n}){return n?m(e.Fragment,{children:n==null?void 0:n.map(i=>m(b,{feature:i},i._key))}):null}function b({feature:n}){var i;return o("div",{className:"w-full px-4 mt-16 mb-12 md:w-1/2 lg:mb-0 lg:w-1/4",children:[(i=n==null?void 0:n.mainImage)!=null&&i.image?m(T,{feature:n}):null,n!=null&&n.title?m(l,{weight:"bold",className:"mb-4 text-gray-500",fontSize:"xl",children:n==null?void 0:n.title}):null,n!=null&&n.plainText?m(l,{muted:!0,className:"leading-loose",children:n==null?void 0:n.plainText}):null]})}function T({feature:n}){var i,t,a,r;return(i=n==null?void 0:n.mainImage)!=null&&i.image?m("span",{className:"inline-block p-3 mb-4 rounded bg-secondary-foreground text-primary-foreground md:mb-6",children:m(c,{className:"object-scale-down",src:`${(t=n==null?void 0:n.mainImage)==null?void 0:t.image}`,width:40,height:40,alt:(r=(a=n==null?void 0:n.mainImage)==null?void 0:a.alt)!=null?r:"features-image-"})}):null}export{x as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import p
|
|
1
|
+
import{Card as p}from"@stackshift-ui/card";import{Container as g}from"@stackshift-ui/container";import{Flex as d}from"@stackshift-ui/flex";import{Heading as c}from"@stackshift-ui/heading";import{Image as x}from"@stackshift-ui/image";import{Section as w}from"@stackshift-ui/section";import{Text as n}from"@stackshift-ui/text";import b from"react";import{jsx as m,jsxs as t}from"react/jsx-runtime";function N({caption:i,title:l,description:o,features:a,tags:s}){return m(w,{className:"py-20 bg-background",children:m(g,{maxWidth:1280,children:t(d,{wrap:!0,align:"center",children:[m("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:t(g,{maxWidth:448,children:[m(T,{caption:i,title:l,description:o}),m(h,{tags:s})]})}),m(v,{features:a})]})})})}function T({caption:i,title:l,description:o}){return t(b.Fragment,{children:[i&&m(n,{weight:"bold",className:"text-primary",children:i}),l&&m(c,{fontSize:"3xl",children:l}),o&&m(n,{muted:!0,className:"mb-6 leading-loose",children:o})]})}function h({tags:i}){return i?m("ul",{children:i&&i.map(l=>t("li",{className:"flex mb-4",children:[m("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:m("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"})}),m(n,{muted:!0,weight:"bold",children:l})]},l))}):null}function v({features:i}){return i?m(d,{wrap:!0,className:"w-full lg:w-1/2",children:i&&(i==null?void 0:i.map((l,o)=>{var a,s,r,e;return m("div",{className:`w-full px-4 mb-8 md:w-1/2 ${o%2===0?"lg:mb-0":"lg:mt-12"}`,children:t(p,{className:"py-6 pl-6 pr-4 mb-8",children:[m("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary-foreground",children:((a=l==null?void 0:l.mainImage)==null?void 0:a.image)&&m(x,{className:"object-scale-down",src:`${(s=l==null?void 0:l.mainImage)==null?void 0:s.image}`,width:40,height:40,alt:(e=(r=l==null?void 0:l.mainImage)==null?void 0:r.alt)!=null?e:`features-image-${o}`})}),m(n,{weight:"bold",fontSize:"2xl",className:"mb-2 text-gray-500",children:l==null?void 0:l.title}),m(n,{muted:!0,className:"leading-loose",children:l==null?void 0:l.plainText})]})},o)}))}):null}export{N as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Card as s}from"@stackshift-ui/card";import{Container as l}from"@stackshift-ui/container";import{Flex as g}from"@stackshift-ui/flex";import{Heading as p}from"@stackshift-ui/heading";import{Image as c}from"@stackshift-ui/image";import{Section as d}from"@stackshift-ui/section";import{Text as o}from"@stackshift-ui/text";import x from"react";import{jsx as i,jsxs as e}from"react/jsx-runtime";function T({caption:t,title:m,features:n}){return i(d,{className:"py-20 bg-background",children:e(l,{maxWidth:1280,children:[i(l,{maxWidth:448,className:"mb-8 text-center",children:i(b,{caption:t,title:m})}),i(y,{features:n})]})})}function b({caption:t,title:m}){return e(x.Fragment,{children:[t?i(o,{weight:"bold",className:"text-primary",children:t}):null,m?i(p,{fontSize:"3xl",children:m}):null]})}function y({features:t}){return t?i(g,{wrap:!0,justify:"center",children:t.map(m=>i(F,{feature:m},m._key))}):null}function F({feature:t}){var m,n,r,a;return i("div",{className:"w-full px-4 mt-8 lg:mb-0 lg:w-1/3",children:e(s,{className:"h-full px-6 py-12 text-center",children:[i("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary-foreground md:p-5",children:((m=t==null?void 0:t.mainImage)==null?void 0:m.image)&&i(c,{className:"object-scale-down",src:`${(n=t==null?void 0:t.mainImage)==null?void 0:n.image}`,width:40,height:40,alt:(a=(r=t==null?void 0:t.mainImage)==null?void 0:r.alt)!=null?a:"features-image-"})}),i(o,{fontSize:"xl",weight:"bold",className:"px-8 mb-4 text-gray-500",children:t==null?void 0:t.title}),i(o,{muted:!0,children:t==null?void 0:t.plainText})]})})}export{T as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Card as s}from"@stackshift-ui/card";import{Container as r}from"@stackshift-ui/container";import{Flex as d}from"@stackshift-ui/flex";import{Heading as g}from"@stackshift-ui/heading";import{Image as c}from"@stackshift-ui/image";import{Section as p}from"@stackshift-ui/section";import{Text as o}from"@stackshift-ui/text";import x from"react";import{jsx as m,jsxs as a}from"react/jsx-runtime";function b({caption:t,title:i,features:n}){return m(p,{className:"py-20 bg-background",children:a(r,{maxWidth:1280,children:[m(r,{maxWidth:448,className:"mb-16 text-center ",children:m(T,{caption:t,title:i})}),m(w,{features:n})]})})}function T({caption:t,title:i}){return a(x.Fragment,{children:[t?m(o,{weight:"bold",className:"text-secondary",children:t}):null,i?m(g,{fontSize:"3xl",children:i}):null]})}function w({features:t}){return t?m(d,{wrap:!0,justify:"start",className:"-mx-3",children:t.map(i=>m(y,{feature:i},i._key))}):null}function y({feature:t}){var i,n,e,l;return m("div",{className:"w-full px-3 mb-6 lg:w-1/2",children:a(s,{className:"flex flex-wrap h-full p-6",children:[m("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary-foreground md:p-5 lg:mb-0",children:((i=t==null?void 0:t.mainImage)==null?void 0:i.image)&&m(c,{className:"object-scale-down",src:`${(n=t==null?void 0:t.mainImage)==null?void 0:n.image}`,width:40,height:40,alt:(l=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?l:"features-main-image"})}),a("div",{className:"w-full lg:w-2/3",children:[m(o,{fontSize:"2xl",weight:"bold",className:"mb-2 text-gray-500",children:t==null?void 0:t.title}),m(o,{muted:!0,children:t==null?void 0:t.plainText})]})]})})}export{b as a};
|
package/dist/features.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var xn=Object.create;var k=Object.defineProperty;var wn=Object.getOwnPropertyDescriptor;var vn=Object.getOwnPropertyNames;var un=Object.getPrototypeOf,bn=Object.prototype.hasOwnProperty;var f=(t,n)=>()=>(t&&(n=t(t=0)),n);var h=(t,n)=>{for(var i in n)k(t,i,{get:n[i],enumerable:!0})},it=(t,n,i,e)=>{if(n&&typeof n=="object"||typeof n=="function")for(let l of vn(n))!bn.call(t,l)&&l!==i&&k(t,l,{get:()=>n[l],enumerable:!(e=wn(n,l))||e.enumerable});return t};var F=(t,n,i)=>(i=t!=null?xn(un(t)):{},it(n||!t||!t.__esModule?k(i,"default",{value:t,enumerable:!0}):i,t)),hn=t=>it(k({},"__esModule",{value:!0}),t);var at={};h(at,{Features_A:()=>mt,default:()=>mt});function mt({caption:t,title:n,features:i}){return(0,g.jsx)(ot.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(P.Container,{maxWidth:1280,children:[(0,g.jsx)(P.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,g.jsx)(Nn,{caption:t,title:n})}),(0,g.jsx)(rt.Flex,{wrap:!0,children:(0,g.jsx)(fn,{features:i})})]})})}function Nn({caption:t,title:n}){return(0,g.jsxs)(L.default.Fragment,{children:[t?(0,g.jsx)(A.Text,{weight:"bold",className:"text-secondary",children:t}):null,n?(0,g.jsx)(lt.Heading,{fontSize:"3xl",children:n}):null]})}function fn({features:t}){return t?(0,g.jsx)(L.default.Fragment,{children:t==null?void 0:t.map(n=>(0,g.jsx)(Fn,{feature:n},n._key))}):null}function Fn({feature:t}){var n;return(0,g.jsxs)("div",{className:"g-full px-4 mt-16 mb-12 md:g-1/2 lg:mb-0 lg:g-1/4",children:[(n=t==null?void 0:t.mainImage)!=null&&n.image?(0,g.jsx)(Tn,{feature:t}):null,t!=null&&t.title?(0,g.jsx)(A.Text,{weight:"bold",className:"mb-4",fontSize:"xl",children:t==null?void 0:t.title}):null,t!=null&&t.plainText?(0,g.jsx)(A.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText}):null]})}function Tn({feature:t}){var n,i,e,l;return(n=t==null?void 0:t.mainImage)!=null&&n.image?(0,g.jsx)("span",{className:"inline-block p-3 mb-4 rounded bg-secondary-foreground text-primary-foreground md:mb-6",children:(0,g.jsx)(et.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(l=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?l:"features-image-"})}):null}var L,lt,A,et,ot,P,rt,g,st=f(()=>{"use strict";L=F(require("react")),lt=require("@stackshift-ui/heading"),A=require("@stackshift-ui/text"),et=require("@stackshift-ui/image"),ot=require("@stackshift-ui/section"),P=require("@stackshift-ui/container"),rt=require("@stackshift-ui/flex"),g=require("react/jsx-runtime")});var vt={};h(vt,{Features_B:()=>wt,default:()=>wt});function wt({caption:t,title:n,description:i,features:e,tags:l}){return(0,g.jsx)(ot.Section,{className:"py-20 bg-background",children:(0,g.jsx)(P.Container,{maxWidth:1280,children:(0,g.jsxs)(rt.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"g-full mb-12 lg:mb-0 lg:g-1/2",children:(0,g.jsxs)(P.Container,{maxWidth:448,children:[(0,g.jsx)(yn,{caption:t,title:n,description:i}),(0,g.jsx)(Cn,{tags:l})]})}),(0,g.jsx)(kn,{features:e})]})})})}function yn({caption:t,title:n,description:i}){return(0,g.jsxs)(ct.default.Fragment,{children:[t&&(0,g.jsx)(A.Text,{weight:"bold",className:"text-primary",children:t}),n&&(0,g.jsx)(lt.Heading,{fontSize:"3xl",children:n}),i&&(0,g.jsx)(A.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function Cn({tags:t}){return t?(0,g.jsx)("ul",{children:t&&t.map(n=>(0,g.jsxs)("li",{className:"flex mb-4",children:[(0,g.jsx)("svg",{className:"g-6 h-6 mr-2 text-secondary",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,g.jsx)("path",{fillRule:"evenodd",g:"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,g.jsx)(A.Text,{muted:!0,weight:"bold",children:n})]},n))}):null}function kn({features:t}){return t?(0,g.jsx)(rt.Flex,{wrap:!0,className:"g-full lg:g-1/2",children:t&&(t==null?void 0:t.map((n,i)=>{var e,l,a,x;return(0,g.jsx)("div",{className:`g-full px-4 mb-8 md:g-1/2 ${i%2===0?"lg:mb-0":"lg:mt-12"}`,children:(0,g.jsxs)(gt.Card,{className:"py-6 pl-6 pr-4 mb-8",children:[(0,g.jsx)("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary-foreground",children:((e=n==null?void 0:n.mainImage)==null?void 0:e.image)&&(0,g.jsx)(et.Image,{className:"object-scale-down",src:`${(l=n==null?void 0:n.mainImage)==null?void 0:l.image}`,width:40,height:40,alt:(x=(a=n==null?void 0:n.mainImage)==null?void 0:a.alt)!=null?x:`features-image-${i}`})}),(0,g.jsx)(A.Text,{weight:"bold",className:"mb-2 text-2xl",children:n==null?void 0:n.title}),(0,g.jsx)(A.Text,{muted:!0,className:"leading-loose",children:n==null?void 0:n.plainText})]})},i)}))}):null}var ct,lt,A,gt,et,ot,P,rt,g,ut=f(()=>{"use strict";ct=F(require("react")),gt=require("@stackshift-ui/card")});var Ct={};h(Ct,{Features_C:()=>yt,default:()=>yt});function yt({caption:t,title:n,features:i}){return(0,g.jsx)(ot.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(P.Container,{maxWidth:1280,children:[(0,g.jsx)(P.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,g.jsx)(An,{caption:t,title:n})}),(0,g.jsx)(Sn,{features:i})]})})}function An({caption:t,title:n}){return(0,g.jsxs)(bt.default.Fragment,{children:[t?(0,g.jsx)(A.Text,{weight:"bold",className:"text-secondary",children:t}):null,n?(0,g.jsx)(lt.Heading,{fontSize:"3xl",children:n}):null]})}function Sn({features:t}){return t?(0,g.jsx)(rt.Flex,{wrap:!0,justify:"start",className:"-mx-3",children:t.map(n=>(0,g.jsx)(In,{feature:n},n._key))}):null}function In({feature:t}){var n,i,e,l;return(0,g.jsx)("div",{className:"g-full px-3 mb-6 lg:g-1/2",children:(0,g.jsxs)(gt.Card,{className:"flex flex-wrap h-full p-6",children:[(0,g.jsx)("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary-foreground md:p-5 lg:mb-0",children:((n=t==null?void 0:t.mainImage)==null?void 0:n.image)&&(0,g.jsx)(et.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(l=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?l:"features-main-image"})}),(0,g.jsxs)("div",{className:"g-full lg:g-2/3",children:[(0,g.jsx)(A.Text,{fontSize:"2xl",weight:"bold",className:"mb-2",children:t==null?void 0:t.title}),(0,g.jsx)(A.Text,{muted:!0,children:t==null?void 0:t.plainText})]})]})})}var bt,lt,A,gt,et,ot,P,rt,g,kt=f(()=>{"use strict";bt=F(require("react"))});var _t={};h(_t,{Features_D:()=>Lt,default:()=>Lt});function Lt({caption:t,title:n,features:i}){return(0,g.jsx)(ot.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(P.Container,{maxWidth:1280,children:[(0,g.jsx)(P.Container,{maxWidth:448,className:"mb-8 text-center",children:(0,g.jsx)(Rn,{caption:t,title:n})}),(0,g.jsx)(zn,{features:i})]})})}function Rn({caption:t,title:n}){return(0,g.jsxs)(At.default.Fragment,{children:[t?(0,g.jsx)(A.Text,{weight:"bold",className:"text-primary",children:t}):null,n?(0,g.jsx)(lt.Heading,{fontSize:"3xl",children:n}):null]})}function zn({features:t}){return t?(0,g.jsx)(rt.Flex,{wrap:!0,justify:"center",children:t.map(n=>(0,g.jsx)(Pn,{feature:n},n._key))}):null}function Pn({feature:t}){var n,i,e,l;return(0,g.jsx)("div",{className:"g-full px-4 mt-8 lg:mb-0 lg:g-1/3",children:(0,g.jsxs)(gt.Card,{className:"h-full px-6 py-12 text-center",children:[(0,g.jsx)("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary-foreground md:p-5",children:((n=t==null?void 0:t.mainImage)==null?void 0:n.image)&&(0,g.jsx)(et.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(l=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?l:"features-image-"})}),(0,g.jsx)(A.Text,{fontSize:"xl",weight:"bold",className:"px-8 mb-4",children:t==null?void 0:t.title}),(0,g.jsx)(A.Text,{muted:!0,children:t==null?void 0:t.plainText})]})})}var At,lt,A,gt,et,ot,P,rt,g,Ht=f(()=>{"use strict";At=F(require("react"))});var Bt={};h(Bt,{Features_E:()=>Gt,default:()=>Gt});function Gt({featuredItems:t}){let[n,i]=V.default.useState(0);return(0,g.jsx)(ot.Section,{className:"py-20 overflow-x-auto bg-background",children:(0,g.jsx)(P.Container,{maxWidth:1280,children:(0,g.jsx)(rt.Flex,{className:"relative",children:(0,g.jsx)(Hn,{featuredItems:t,slider:l=>{t&&(l==="next"?n!==t.length-1?i(a=>a+1):i(0):n>=1?i(a=>a-1):i(t.length-1))},children:(0,g.jsxs)("div",{className:"order-1 g-full ml-auto xl:g-4/5",children:[(0,g.jsx)(Ln,{featuredItems:t,item:n}),(0,g.jsx)(_n,{featuredItems:t,item:n})]})})})})})}function Ln({featuredItems:t,item:n}){var i,e,l,a,x,p,v;return(e=(i=t==null?void 0:t[n])==null?void 0:i.mainImage)!=null&&e.image?(0,g.jsx)("div",{className:"mx-auto overflow-hidden rounded-md md:max-g-xl xl:max-g-4xl",children:(0,g.jsx)($t.Image,{className:"relative object-cover",src:`${(a=(l=t==null?void 0:t[n])==null?void 0:l.mainImage)==null?void 0:a.image}`,sizes:"100vw",width:896,height:575,alt:(v=(p=(x=t==null?void 0:t[n])==null?void 0:x.mainImage)==null?void 0:p.alt)!=null?v:`features-image-${n}`})}):null}function _n({featuredItems:t,item:n}){var i,e,l,a,x,p;return t?(0,g.jsxs)(gt.Card,{className:"top-0 left-0 max-g-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",children:[(0,g.jsx)($.Text,{weight:"bold",className:"text-xs lg:text-md md:text-sm xl:text-lg text-secondary",children:((i=t==null?void 0:t[n])==null?void 0:i.subtitle)&&((e=t==null?void 0:t[n])==null?void 0:e.subtitle)}),(0,g.jsx)(lt.Heading,{fontSize:"3xl",children:((l=t==null?void 0:t[n])==null?void 0:l.title)&&((a=t==null?void 0:t[n])==null?void 0:a.title)}),(0,g.jsx)($.Text,{muted:!0,className:"text-xs leading-loose text-center md:mt-5 md:text-sm lg:mt-5 lg:text-sm",children:((x=t==null?void 0:t[n])==null?void 0:x.description)&&((p=t==null?void 0:t[n])==null?void 0:p.description)})]}):null}function Hn({featuredItems:t,children:n,slider:i}){return t?(0,g.jsxs)(V.default.Fragment,{children:[(0,g.jsx)("div",{className:"absolute left-0 A-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,g.jsx)(j.Button,{as:"button",ariaLabel:"Show Previous Feature",className:"A-10 p-4 text-white ",onClick:()=>i("prev"),children:(0,g.jsx)("svg",{className:"g-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,g.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",g:"M10 19l-7-7m0 0l7-7m-7 7h18"})})})}),n,(0,g.jsx)("div",{className:"absolute right-0 A-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,g.jsx)(j.Button,{as:"button",ariaLabel:"Show Next Feature",className:"p-4 text-white ",onClick:()=>i("next"),children:(0,g.jsx)("svg",{className:"g-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,g.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",g:"M14 5l7 7m0 0l-7 7m7-7H3"})})})})]}):null}var V,lt,$,gt,j,$t,ot,P,rt,g,Dt=f(()=>{"use strict";V=F(require("react")),j=require("@stackshift-ui/button")});var Ut={};h(Ut,{Features_F:()=>Qt,default:()=>Qt});function Qt({caption:t,title:n,description:i,images:e,primaryButton:l}){return(0,g.jsx)(ot.Section,{className:"py-20 bg-background",children:(0,g.jsx)(P.Container,{maxWidth:1280,children:(0,g.jsxs)(rt.Flex,{wrap:!0,align:"center",children:[(0,g.jsxs)(rt.Flex,{direction:"col",className:"g-full mb-12 lg:mb-0 lg:g-1/2",children:[(0,g.jsx)(Wn,{caption:t,title:n,description:i}),(0,g.jsx)(On,{primaryButton:l})]}),(0,g.jsx)($n,{images:e})]})})})}function Wn({caption:t,title:n,description:i}){return(0,g.jsxs)(P.Container,{maxWidth:448,className:"ml-0",children:[t&&(0,g.jsx)(A.Text,{weight:"bold",className:"font-bold text-secondary",children:t}),n&&(0,g.jsx)(Et.Heading,{fontSize:"3xl",className:"mb-6",children:n}),i&&(0,g.jsx)(A.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function On({primaryButton:t}){return t!=null&&t.label?(0,g.jsx)(j.Button,{as:"link",link:t,ariaLabel:t==null?void 0:t.label,children:t==null?void 0:t.label}):null}function $n({images:t}){var i,e,l,a;if(!t||(t==null?void 0:t.length)===0)return null;function n(x,p,v,u,b){return(0,g.jsx)("div",{className:`overflow-hidden rounded ${b}`,children:(0,g.jsx)(et.Image,{className:"object-cover g-full h-auto",src:x,sizes:"100vw",width:v,height:u,alt:p!=null?p:"feature-image"})})}return(0,g.jsxs)("div",{className:"g-full lg:g-1/2",children:[(0,g.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:g-2/3",children:((i=t[0])==null?void 0:i.image)&&n(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:g-1/3",children:((e=t[1])==null?void 0:e.image)&&n(t[1].image,t[1].alt,166,128,"")})]}),(0,g.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:g-1/3",children:((l=t[2])==null?void 0:l.image)&&n(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:g-2/3",children:((a=t[3])==null?void 0:a.image)&&n(t[3].image,t[3].alt,356,192,"")})]})]})}var Et,A,j,et,ot,P,rt,g,Xt=f(()=>{"use strict";Et=require("@stackshift-ui/heading")});var en={};h(en,{Features_G:()=>ln,default:()=>ln});function ln({caption:t,title:n,description:i,images:e,tags:l}){return(0,g.jsx)(ot.Section,{className:"py-20 bg-background",children:(0,g.jsx)(P.Container,{maxWidth:1280,children:(0,g.jsxs)(rt.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"g-full px-4 mb-12 lg:mb-0 lg:g-1/2",children:(0,g.jsxs)(P.Container,{maxWidth:448,children:[(0,g.jsx)(jn,{caption:t,title:n,description:i}),(0,g.jsx)(Vn,{tags:l})]})}),(0,g.jsx)(Gn,{images:e})]})})})}function jn({caption:t,title:n,description:i}){return(0,g.jsxs)(Yt.default.Fragment,{children:[t&&(0,g.jsx)(A.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,g.jsx)(lt.Heading,{fontSize:"3xl",className:"mb-3",children:n}),i&&(0,g.jsx)(A.Text,{muted:!0,className:"mb-6 leading-loose ",children:i})]})}function Vn({tags:t}){return t?(0,g.jsx)("ul",{className:"font-bold text-gray-500",children:t.map(n=>(0,g.jsx)(Mn,{item:n}))}):null}function Mn({item:t}){return t?(0,g.jsxs)(rt.Flex,{as:"li",align:"center",className:"mb-2 ",children:[(0,g.jsx)("svg",{className:"g-5 h-5 mr-2 text-primary-foreground",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,g.jsx)("path",{fillRule:"evenodd",g:"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,g.jsx)("span",{children:t})]}):null}function Gn({images:t}){var i,e,l,a;if(!t||(t==null?void 0:t.length)===0)return null;function n(x,p,v,u,b){return(0,g.jsx)("div",{className:`overflow-hidden rounded ${b}`,children:(0,g.jsx)(et.Image,{className:"object-cover g-full h-auto",src:x,sizes:"100vw",width:v,height:u,alt:p!=null?p:"feature-image"})})}return(0,g.jsxs)("div",{className:"g-full lg:g-1/2",children:[(0,g.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:g-2/3",children:((i=t[0])==null?void 0:i.image)&&n(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:g-1/3",children:((e=t[1])==null?void 0:e.image)&&n(t[1].image,t[1].alt,166,128,"")})]}),(0,g.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:g-1/3",children:((l=t[2])==null?void 0:l.image)&&n(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:g-2/3",children:((a=t[3])==null?void 0:a.image)&&n(t[3].image,t[3].alt,356,192,"")})]})]})}var Yt,lt,A,et,ot,P,rt,g,on=f(()=>{"use strict";Yt=F(require("react"))});var cn={};h(cn,{Features_H:()=>sn,default:()=>sn});function sn({caption:t,title:n,features:i,images:e}){return(0,g.jsx)(ot.Section,{className:"py-20 bg-background",children:(0,g.jsx)(P.Container,{maxWidth:1280,children:(0,g.jsxs)(rt.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"g-full mb-12 lg:mb-0 lg:g-1/2",children:(0,g.jsxs)(P.Container,{maxWidth:448,children:[(0,g.jsx)(Bn,{caption:t,title:n}),(0,g.jsx)(Dn,{features:i})]})}),(0,g.jsx)(Jn,{images:e})]})})})}function Bn({caption:t,title:n}){return(0,g.jsxs)(rn.default.Fragment,{children:[t&&(0,g.jsx)(A.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,g.jsx)(lt.Heading,{fontSize:"3xl",className:"mb-6",children:n})]})}function Dn({features:t}){return!t||(t==null?void 0:t.length)<=0?null:(0,g.jsx)("ul",{children:t.map(n=>(0,g.jsx)(En,{feature:n},n._key))})}function En({feature:t}){return t?(0,g.jsxs)(rt.Flex,{as:"li",children:[(0,g.jsx)(qn,{}),(0,g.jsxs)("div",{className:"max-g-xs",children:[(0,g.jsx)(A.Text,{weight:"bold",children:t==null?void 0:t.title}),(0,g.jsx)(A.Text,{muted:!0,className:"leading-loose ",children:t==null?void 0:t.plainText})]})]}):null}function qn(){return(0,g.jsx)("svg",{className:"g-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,g.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,g:"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 Jn({images:t}){var n,i,e,l,a,x,p,v,u,b,y,C;return!t||(t==null?void 0:t.length)===0?null:(0,g.jsxs)("div",{className:"items-center g-full px-4 sm:flex md:px-0 lg:g-1/2",children:[(0,g.jsxs)("div",{className:"mb-5 sm:mb-0 sm:g-1/2",children:[((n=t==null?void 0:t[0])==null?void 0:n.image)&&(0,g.jsx)(et.Image,{className:"object-cover overflow-hidden rounded-xl",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:(l=(e=t==null?void 0:t[0])==null?void 0:e.alt)!=null?l:"features-image-1"}),((a=t==null?void 0:t[1])==null?void 0:a.image)&&(0,g.jsx)(et.Image,{className:"object-cover mt-6 overflow-hidden rounded-xl",src:`${(x=t==null?void 0:t[1])==null?void 0:x.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"})]}),((u=t==null?void 0:t[2])==null?void 0:u.image)&&(0,g.jsx)(et.Image,{className:"object-cover overflow-hidden rounded-xl sm:ml-6 sm:g-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:(C=(y=t==null?void 0:t[2])==null?void 0:y.alt)!=null?C:"features-image-3"})]})}var rn,lt,A,et,ot,P,rt,g,pn=f(()=>{"use strict";rn=F(require("react"))});var Un={};h(Un,{Features:()=>gn});module.exports=hn(Un);var N=require("react"),Kn={variant_a:(0,N.lazy)(()=>Promise.resolve().then(()=>(st(),at))),variant_b:(0,N.lazy)(()=>Promise.resolve().then(()=>(ut(),vt))),variant_c:(0,N.lazy)(()=>Promise.resolve().then(()=>(kt(),Ct))),variant_d:(0,N.lazy)(()=>Promise.resolve().then(()=>(Ht(),_t))),variant_e:(0,N.lazy)(()=>Promise.resolve().then(()=>(Dt(),Bt))),variant_f:(0,N.lazy)(()=>Promise.resolve().then(()=>(Xt(),Ut))),variant_g:(0,N.lazy)(()=>Promise.resolve().then(()=>(on(),en))),variant_h:(0,N.lazy)(()=>Promise.resolve().then(()=>(pn(),cn)))},Qn="Features",gn=({data:t})=>{var l,a,x,p,v,u,b,y,C,Q,U,X,Y,Z,tt,nt;let n=t==null?void 0:t.variant,i=n&&Kn[n],e={caption:(a=(l=t==null?void 0:t.variants)==null?void 0:l.caption)!=null?a:void 0,title:(p=(x=t==null?void 0:t.variants)==null?void 0:x.title)!=null?p:void 0,description:(u=(v=t==null?void 0:t.variants)==null?void 0:v.description)!=null?u:void 0,features:(y=(b=t==null?void 0:t.variants)==null?void 0:b.arrayOfImageTitleAndText)!=null?y:void 0,tags:(Q=(C=t==null?void 0:t.variants)==null?void 0:C.tags)!=null?Q:void 0,featuredItems:(X=(U=t==null?void 0:t.variants)==null?void 0:U.featuredItems)!=null?X:void 0,images:(Z=(Y=t==null?void 0:t.variants)==null?void 0:Y.images)!=null?Z:void 0,primaryButton:(nt=(tt=t==null?void 0:t.variants)==null?void 0:tt.primaryButton)!=null?nt:void 0};return i?(0,g.jsx)(i,{...e}):null};gn.displayName=Qn;0&&(module.exports={Features});
|
|
1
|
+
"use strict";var xn=Object.create;var k=Object.defineProperty;var wn=Object.getOwnPropertyDescriptor;var vn=Object.getOwnPropertyNames;var un=Object.getPrototypeOf,bn=Object.prototype.hasOwnProperty;var f=(t,n)=>()=>(t&&(n=t(t=0)),n);var h=(t,n)=>{for(var i in n)k(t,i,{get:n[i],enumerable:!0})},it=(t,n,i,e)=>{if(n&&typeof n=="object"||typeof n=="function")for(let l of vn(n))!bn.call(t,l)&&l!==i&&k(t,l,{get:()=>n[l],enumerable:!(e=wn(n,l))||e.enumerable});return t};var F=(t,n,i)=>(i=t!=null?xn(un(t)):{},it(n||!t||!t.__esModule?k(i,"default",{value:t,enumerable:!0}):i,t)),hn=t=>it(k({},"__esModule",{value:!0}),t);var at={};h(at,{Features_A:()=>mt,default:()=>mt});function mt({caption:t,title:n,features:i}){return(0,g.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(P.Container,{maxWidth:1280,children:[(0,g.jsx)(P.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,g.jsx)(Nn,{caption:t,title:n})}),(0,g.jsx)(lt.Flex,{wrap:!0,children:(0,g.jsx)(fn,{features:i})})]})})}function Nn({caption:t,title:n}){return(0,g.jsxs)(L.default.Fragment,{children:[t?(0,g.jsx)(A.Text,{weight:"bold",className:"text-secondary",children:t}):null,n?(0,g.jsx)(et.Heading,{fontSize:"3xl",children:n}):null]})}function fn({features:t}){return t?(0,g.jsx)(L.default.Fragment,{children:t==null?void 0:t.map(n=>(0,g.jsx)(Fn,{feature:n},n._key))}):null}function Fn({feature:t}){var n;return(0,g.jsxs)("div",{className:"g-full px-4 mt-16 mb-12 md:g-1/2 lg:mb-0 lg:g-1/4",children:[(n=t==null?void 0:t.mainImage)!=null&&n.image?(0,g.jsx)(Tn,{feature:t}):null,t!=null&&t.title?(0,g.jsx)(A.Text,{weight:"bold",className:"mb-4 text-gray-500",fontSize:"xl",children:t==null?void 0:t.title}):null,t!=null&&t.plainText?(0,g.jsx)(A.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText}):null]})}function Tn({feature:t}){var n,i,e,l;return(n=t==null?void 0:t.mainImage)!=null&&n.image?(0,g.jsx)("span",{className:"inline-block p-3 mb-4 rounded bg-secondary-foreground text-primary-foreground md:mb-6",children:(0,g.jsx)(ot.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(l=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?l:"features-image-"})}):null}var P,lt,et,ot,rt,A,L,g,st=f(()=>{"use strict";P=require("@stackshift-ui/container"),lt=require("@stackshift-ui/flex"),et=require("@stackshift-ui/heading"),ot=require("@stackshift-ui/image"),rt=require("@stackshift-ui/section"),A=require("@stackshift-ui/text"),L=F(require("react")),g=require("react/jsx-runtime")});var vt={};h(vt,{Features_B:()=>wt,default:()=>wt});function wt({caption:t,title:n,description:i,features:e,tags:l}){return(0,g.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,g.jsx)(_.Container,{maxWidth:1280,children:(0,g.jsxs)(lt.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"g-full mb-12 lg:mb-0 lg:g-1/2",children:(0,g.jsxs)(_.Container,{maxWidth:448,children:[(0,g.jsx)(yn,{caption:t,title:n,description:i}),(0,g.jsx)(Cn,{tags:l})]})}),(0,g.jsx)(kn,{features:e})]})})})}function yn({caption:t,title:n,description:i}){return(0,g.jsxs)(xt.default.Fragment,{children:[t&&(0,g.jsx)(A.Text,{weight:"bold",className:"text-primary",children:t}),n&&(0,g.jsx)(et.Heading,{fontSize:"3xl",children:n}),i&&(0,g.jsx)(A.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function Cn({tags:t}){return t?(0,g.jsx)("ul",{children:t&&t.map(n=>(0,g.jsxs)("li",{className:"flex mb-4",children:[(0,g.jsx)("svg",{className:"g-6 h-6 mr-2 text-secondary",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,g.jsx)("path",{fillRule:"evenodd",g:"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,g.jsx)(A.Text,{muted:!0,weight:"bold",children:n})]},n))}):null}function kn({features:t}){return t?(0,g.jsx)(lt.Flex,{wrap:!0,className:"g-full lg:g-1/2",children:t&&(t==null?void 0:t.map((n,i)=>{var e,l,a,x;return(0,g.jsx)("div",{className:`g-full px-4 mb-8 md:g-1/2 ${i%2===0?"lg:mb-0":"lg:mt-12"}`,children:(0,g.jsxs)(ct.Card,{className:"py-6 pl-6 pr-4 mb-8",children:[(0,g.jsx)("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary-foreground",children:((e=n==null?void 0:n.mainImage)==null?void 0:e.image)&&(0,g.jsx)(ot.Image,{className:"object-scale-down",src:`${(l=n==null?void 0:n.mainImage)==null?void 0:l.image}`,width:40,height:40,alt:(x=(a=n==null?void 0:n.mainImage)==null?void 0:a.alt)!=null?x:`features-image-${i}`})}),(0,g.jsx)(A.Text,{weight:"bold",fontSize:"2xl",className:"mb-2 text-gray-500",children:n==null?void 0:n.title}),(0,g.jsx)(A.Text,{muted:!0,className:"leading-loose",children:n==null?void 0:n.plainText})]})},i)}))}):null}var ct,_,lt,et,ot,rt,A,xt,g,ut=f(()=>{"use strict";ct=require("@stackshift-ui/card"),_=require("@stackshift-ui/container"),xt=F(require("react"))});var Ct={};h(Ct,{Features_C:()=>yt,default:()=>yt});function yt({caption:t,title:n,features:i}){return(0,g.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(_.Container,{maxWidth:1280,children:[(0,g.jsx)(_.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,g.jsx)(An,{caption:t,title:n})}),(0,g.jsx)(Sn,{features:i})]})})}function An({caption:t,title:n}){return(0,g.jsxs)(Tt.default.Fragment,{children:[t?(0,g.jsx)(A.Text,{weight:"bold",className:"text-secondary",children:t}):null,n?(0,g.jsx)(et.Heading,{fontSize:"3xl",children:n}):null]})}function Sn({features:t}){return t?(0,g.jsx)(lt.Flex,{wrap:!0,justify:"start",className:"-mx-3",children:t.map(n=>(0,g.jsx)(In,{feature:n},n._key))}):null}function In({feature:t}){var n,i,e,l;return(0,g.jsx)("div",{className:"g-full px-3 mb-6 lg:g-1/2",children:(0,g.jsxs)(bt.Card,{className:"flex flex-wrap h-full p-6",children:[(0,g.jsx)("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary-foreground md:p-5 lg:mb-0",children:((n=t==null?void 0:t.mainImage)==null?void 0:n.image)&&(0,g.jsx)(ot.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(l=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?l:"features-main-image"})}),(0,g.jsxs)("div",{className:"g-full lg:g-2/3",children:[(0,g.jsx)(A.Text,{fontSize:"2xl",weight:"bold",className:"mb-2 text-gray-500",children:t==null?void 0:t.title}),(0,g.jsx)(A.Text,{muted:!0,children:t==null?void 0:t.plainText})]})]})})}var bt,_,lt,et,ot,rt,A,Tt,g,kt=f(()=>{"use strict";bt=require("@stackshift-ui/card"),Tt=F(require("react"))});var _t={};h(_t,{Features_D:()=>Lt,default:()=>Lt});function Lt({caption:t,title:n,features:i}){return(0,g.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(_.Container,{maxWidth:1280,children:[(0,g.jsx)(_.Container,{maxWidth:448,className:"mb-8 text-center",children:(0,g.jsx)(Rn,{caption:t,title:n})}),(0,g.jsx)(zn,{features:i})]})})}function Rn({caption:t,title:n}){return(0,g.jsxs)(Pt.default.Fragment,{children:[t?(0,g.jsx)(A.Text,{weight:"bold",className:"text-primary",children:t}):null,n?(0,g.jsx)(et.Heading,{fontSize:"3xl",children:n}):null]})}function zn({features:t}){return t?(0,g.jsx)(lt.Flex,{wrap:!0,justify:"center",children:t.map(n=>(0,g.jsx)(Pn,{feature:n},n._key))}):null}function Pn({feature:t}){var n,i,e,l;return(0,g.jsx)("div",{className:"g-full px-4 mt-8 lg:mb-0 lg:g-1/3",children:(0,g.jsxs)(At.Card,{className:"h-full px-6 py-12 text-center",children:[(0,g.jsx)("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary-foreground md:p-5",children:((n=t==null?void 0:t.mainImage)==null?void 0:n.image)&&(0,g.jsx)(ot.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(l=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?l:"features-image-"})}),(0,g.jsx)(A.Text,{fontSize:"xl",weight:"bold",className:"px-8 mb-4 text-gray-500",children:t==null?void 0:t.title}),(0,g.jsx)(A.Text,{muted:!0,children:t==null?void 0:t.plainText})]})})}var At,_,lt,et,ot,rt,A,Pt,g,Ht=f(()=>{"use strict";At=require("@stackshift-ui/card"),Pt=F(require("react"))});var Bt={};h(Bt,{Features_E:()=>Gt,default:()=>Gt});function Gt({featuredItems:t}){let[n,i]=V.default.useState(0);return(0,g.jsx)(rt.Section,{className:"py-20 overflow-x-auto bg-background",children:(0,g.jsx)(_.Container,{maxWidth:1280,children:(0,g.jsx)(lt.Flex,{className:"relative",children:(0,g.jsx)(Hn,{featuredItems:t,slider:l=>{t&&(l==="next"?n!==t.length-1?i(a=>a+1):i(0):n>=1?i(a=>a-1):i(t.length-1))},children:(0,g.jsxs)("div",{className:"order-1 g-full ml-auto xl:g-4/5",children:[(0,g.jsx)(Ln,{featuredItems:t,item:n}),(0,g.jsx)(_n,{featuredItems:t,item:n})]})})})})})}function Ln({featuredItems:t,item:n}){var i,e,l,a,x,p,v;return(e=(i=t==null?void 0:t[n])==null?void 0:i.mainImage)!=null&&e.image?(0,g.jsx)("div",{className:"mx-auto overflow-hidden rounded-md md:max-g-xl xl:max-g-4xl",children:(0,g.jsx)($t.Image,{className:"relative object-cover",src:`${(a=(l=t==null?void 0:t[n])==null?void 0:l.mainImage)==null?void 0:a.image}`,sizes:"100vw",width:896,height:575,alt:(v=(p=(x=t==null?void 0:t[n])==null?void 0:x.mainImage)==null?void 0:p.alt)!=null?v:`features-image-${n}`})}):null}function _n({featuredItems:t,item:n}){var i,e,l,a,x,p;return t?(0,g.jsxs)(Ot.Card,{className:"top-0 left-0 max-g-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",children:[(0,g.jsx)($.Text,{weight:"bold",className:"text-xs lg:text-md md:text-sm xl:text-lg text-secondary",children:((i=t==null?void 0:t[n])==null?void 0:i.subtitle)&&((e=t==null?void 0:t[n])==null?void 0:e.subtitle)}),(0,g.jsx)(et.Heading,{fontSize:"3xl",children:((l=t==null?void 0:t[n])==null?void 0:l.title)&&((a=t==null?void 0:t[n])==null?void 0:a.title)}),(0,g.jsx)($.Text,{muted:!0,className:"text-xs leading-loose text-center md:mt-5 md:text-sm lg:mt-5 lg:text-sm",children:((x=t==null?void 0:t[n])==null?void 0:x.description)&&((p=t==null?void 0:t[n])==null?void 0:p.description)})]}):null}function Hn({featuredItems:t,children:n,slider:i}){return t?(0,g.jsxs)(V.default.Fragment,{children:[(0,g.jsx)("div",{className:"absolute left-0 A-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,g.jsx)(j.Button,{as:"button",ariaLabel:"Show Previous Feature",className:"A-10 p-4 text-white ",onClick:()=>i("prev"),children:(0,g.jsx)("svg",{className:"g-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,g.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",g:"M10 19l-7-7m0 0l7-7m-7 7h18"})})})}),n,(0,g.jsx)("div",{className:"absolute right-0 A-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,g.jsx)(j.Button,{as:"button",ariaLabel:"Show Next Feature",className:"p-4 text-white ",onClick:()=>i("next"),children:(0,g.jsx)("svg",{className:"g-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,g.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",g:"M14 5l7 7m0 0l-7 7m7-7H3"})})})})]}):null}var V,et,$,Ot,j,$t,rt,_,lt,g,Dt=f(()=>{"use strict";V=F(require("react")),Ot=require("@stackshift-ui/card"),j=require("@stackshift-ui/button")});var Ut={};h(Ut,{Features_F:()=>Qt,default:()=>Qt});function Qt({caption:t,title:n,description:i,images:e,primaryButton:l}){return(0,g.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,g.jsx)(_.Container,{maxWidth:1280,children:(0,g.jsxs)(lt.Flex,{wrap:!0,align:"center",children:[(0,g.jsxs)(lt.Flex,{direction:"col",className:"g-full mb-12 lg:mb-0 lg:g-1/2",children:[(0,g.jsx)(Wn,{caption:t,title:n,description:i}),(0,g.jsx)(On,{primaryButton:l})]}),(0,g.jsx)($n,{images:e})]})})})}function Wn({caption:t,title:n,description:i}){return(0,g.jsxs)(_.Container,{maxWidth:448,className:"ml-0",children:[t&&(0,g.jsx)(A.Text,{weight:"bold",className:"font-bold text-secondary",children:t}),n&&(0,g.jsx)(Et.Heading,{fontSize:"3xl",className:"mb-6",children:n}),i&&(0,g.jsx)(A.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function On({primaryButton:t}){return t!=null&&t.label?(0,g.jsx)(j.Button,{as:"link",link:t,ariaLabel:t==null?void 0:t.label,children:t==null?void 0:t.label}):null}function $n({images:t}){var i,e,l,a;if(!t||(t==null?void 0:t.length)===0)return null;function n(x,p,v,u,b){return(0,g.jsx)("div",{className:`overflow-hidden rounded ${b}`,children:(0,g.jsx)(ot.Image,{className:"object-cover g-full h-auto",src:x,sizes:"100vw",width:v,height:u,alt:p!=null?p:"feature-image"})})}return(0,g.jsxs)("div",{className:"g-full lg:g-1/2",children:[(0,g.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:g-2/3",children:((i=t[0])==null?void 0:i.image)&&n(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:g-1/3",children:((e=t[1])==null?void 0:e.image)&&n(t[1].image,t[1].alt,166,128,"")})]}),(0,g.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:g-1/3",children:((l=t[2])==null?void 0:l.image)&&n(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:g-2/3",children:((a=t[3])==null?void 0:a.image)&&n(t[3].image,t[3].alt,356,192,"")})]})]})}var Et,A,j,ot,rt,_,lt,g,Xt=f(()=>{"use strict";Et=require("@stackshift-ui/heading")});var en={};h(en,{Features_G:()=>ln,default:()=>ln});function ln({caption:t,title:n,description:i,images:e,tags:l}){return(0,g.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,g.jsx)(_.Container,{maxWidth:1280,children:(0,g.jsxs)(lt.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"g-full px-4 mb-12 lg:mb-0 lg:g-1/2",children:(0,g.jsxs)(_.Container,{maxWidth:448,children:[(0,g.jsx)(jn,{caption:t,title:n,description:i}),(0,g.jsx)(Vn,{tags:l})]})}),(0,g.jsx)(Gn,{images:e})]})})})}function jn({caption:t,title:n,description:i}){return(0,g.jsxs)(Yt.default.Fragment,{children:[t&&(0,g.jsx)(A.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,g.jsx)(et.Heading,{fontSize:"3xl",className:"mb-3",children:n}),i&&(0,g.jsx)(A.Text,{muted:!0,className:"mb-6 leading-loose ",children:i})]})}function Vn({tags:t}){return t?(0,g.jsx)("ul",{className:"font-bold text-gray-500",children:t.map(n=>(0,g.jsx)(Mn,{item:n}))}):null}function Mn({item:t}){return t?(0,g.jsxs)(lt.Flex,{as:"li",align:"center",className:"mb-2 ",children:[(0,g.jsx)("svg",{className:"g-5 h-5 mr-2 text-primary-foreground",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,g.jsx)("path",{fillRule:"evenodd",g:"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,g.jsx)("span",{children:t})]}):null}function Gn({images:t}){var i,e,l,a;if(!t||(t==null?void 0:t.length)===0)return null;function n(x,p,v,u,b){return(0,g.jsx)("div",{className:`overflow-hidden rounded ${b}`,children:(0,g.jsx)(ot.Image,{className:"object-cover g-full h-auto",src:x,sizes:"100vw",width:v,height:u,alt:p!=null?p:"feature-image"})})}return(0,g.jsxs)("div",{className:"g-full lg:g-1/2",children:[(0,g.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:g-2/3",children:((i=t[0])==null?void 0:i.image)&&n(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:g-1/3",children:((e=t[1])==null?void 0:e.image)&&n(t[1].image,t[1].alt,166,128,"")})]}),(0,g.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:g-1/3",children:((l=t[2])==null?void 0:l.image)&&n(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:g-2/3",children:((a=t[3])==null?void 0:a.image)&&n(t[3].image,t[3].alt,356,192,"")})]})]})}var Yt,et,A,ot,rt,_,lt,g,on=f(()=>{"use strict";Yt=F(require("react"))});var cn={};h(cn,{Features_H:()=>sn,default:()=>sn});function sn({caption:t,title:n,features:i,images:e}){return(0,g.jsx)(rt.Section,{className:"py-20 bg-background",children:(0,g.jsx)(_.Container,{maxWidth:1280,children:(0,g.jsxs)(lt.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"g-full mb-12 lg:mb-0 lg:g-1/2",children:(0,g.jsxs)(_.Container,{maxWidth:448,children:[(0,g.jsx)(Bn,{caption:t,title:n}),(0,g.jsx)(Dn,{features:i})]})}),(0,g.jsx)(Jn,{images:e})]})})})}function Bn({caption:t,title:n}){return(0,g.jsxs)(rn.default.Fragment,{children:[t&&(0,g.jsx)(A.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,g.jsx)(et.Heading,{fontSize:"3xl",className:"mb-6",children:n})]})}function Dn({features:t}){return!t||(t==null?void 0:t.length)<=0?null:(0,g.jsx)("ul",{children:t.map(n=>(0,g.jsx)(En,{feature:n},n._key))})}function En({feature:t}){return t?(0,g.jsxs)(lt.Flex,{as:"li",children:[(0,g.jsx)(qn,{}),(0,g.jsxs)("div",{className:"max-g-xs",children:[(0,g.jsx)(A.Text,{weight:"bold",children:t==null?void 0:t.title}),(0,g.jsx)(A.Text,{muted:!0,className:"leading-loose ",children:t==null?void 0:t.plainText})]})]}):null}function qn(){return(0,g.jsx)("svg",{className:"g-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,g.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,g:"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 Jn({images:t}){var n,i,e,l,a,x,p,v,u,b,y,C;return!t||(t==null?void 0:t.length)===0?null:(0,g.jsxs)("div",{className:"items-center g-full px-4 sm:flex md:px-0 lg:g-1/2",children:[(0,g.jsxs)("div",{className:"mb-5 sm:mb-0 sm:g-1/2",children:[((n=t==null?void 0:t[0])==null?void 0:n.image)&&(0,g.jsx)(ot.Image,{className:"object-cover overflow-hidden rounded-xl",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:(l=(e=t==null?void 0:t[0])==null?void 0:e.alt)!=null?l:"features-image-1"}),((a=t==null?void 0:t[1])==null?void 0:a.image)&&(0,g.jsx)(ot.Image,{className:"object-cover mt-6 overflow-hidden rounded-xl",src:`${(x=t==null?void 0:t[1])==null?void 0:x.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"})]}),((u=t==null?void 0:t[2])==null?void 0:u.image)&&(0,g.jsx)(ot.Image,{className:"object-cover overflow-hidden rounded-xl sm:ml-6 sm:g-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:(C=(y=t==null?void 0:t[2])==null?void 0:y.alt)!=null?C:"features-image-3"})]})}var rn,et,A,ot,rt,_,lt,g,pn=f(()=>{"use strict";rn=F(require("react"))});var Un={};h(Un,{Features:()=>gn});module.exports=hn(Un);var N=require("react"),Kn={variant_a:(0,N.lazy)(()=>Promise.resolve().then(()=>(st(),at))),variant_b:(0,N.lazy)(()=>Promise.resolve().then(()=>(ut(),vt))),variant_c:(0,N.lazy)(()=>Promise.resolve().then(()=>(kt(),Ct))),variant_d:(0,N.lazy)(()=>Promise.resolve().then(()=>(Ht(),_t))),variant_e:(0,N.lazy)(()=>Promise.resolve().then(()=>(Dt(),Bt))),variant_f:(0,N.lazy)(()=>Promise.resolve().then(()=>(Xt(),Ut))),variant_g:(0,N.lazy)(()=>Promise.resolve().then(()=>(on(),en))),variant_h:(0,N.lazy)(()=>Promise.resolve().then(()=>(pn(),cn)))},Qn="Features",gn=({data:t})=>{var l,a,x,p,v,u,b,y,C,Q,U,X,Y,Z,tt,nt;let n=t==null?void 0:t.variant,i=n&&Kn[n],e={caption:(a=(l=t==null?void 0:t.variants)==null?void 0:l.caption)!=null?a:void 0,title:(p=(x=t==null?void 0:t.variants)==null?void 0:x.title)!=null?p:void 0,description:(u=(v=t==null?void 0:t.variants)==null?void 0:v.description)!=null?u:void 0,features:(y=(b=t==null?void 0:t.variants)==null?void 0:b.arrayOfImageTitleAndText)!=null?y:void 0,tags:(Q=(C=t==null?void 0:t.variants)==null?void 0:C.tags)!=null?Q:void 0,featuredItems:(X=(U=t==null?void 0:t.variants)==null?void 0:U.featuredItems)!=null?X:void 0,images:(Z=(Y=t==null?void 0:t.variants)==null?void 0:Y.images)!=null?Z:void 0,primaryButton:(nt=(tt=t==null?void 0:t.variants)==null?void 0:tt.primaryButton)!=null?nt:void 0};return i?(0,g.jsx)(i,{...e}):null};gn.displayName=Qn;0&&(module.exports={Features});
|
package/dist/features.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-XOSBSNA7.mjs";export{a as Features};
|
package/dist/features_a.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var F=Object.create;var a=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var T=Object.getOwnPropertyNames;var
|
|
1
|
+
"use strict";var F=Object.create;var a=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var T=Object.getOwnPropertyNames;var y=Object.getPrototypeOf,w=Object.prototype.hasOwnProperty;var N=(n,m)=>{for(var t in m)a(n,t,{get:m[t],enumerable:!0})},s=(n,m,t,o)=>{if(m&&typeof m=="object"||typeof m=="function")for(let l of T(m))!w.call(n,l)&&l!==t&&a(n,l,{get:()=>m[l],enumerable:!(o=b(m,l))||o.enumerable});return n};var h=(n,m,t)=>(t=n!=null?F(y(n)):{},s(m||!n||!n.__esModule?a(t,"default",{value:n,enumerable:!0}):t,n)),A=n=>s(a({},"__esModule",{value:!0}),n);var R={};N(R,{Features_A:()=>I,default:()=>I});module.exports=A(R);var g=require("@stackshift-ui/container"),p=require("@stackshift-ui/flex"),c=require("@stackshift-ui/heading"),d=require("@stackshift-ui/image"),x=require("@stackshift-ui/section"),r=require("@stackshift-ui/text"),e=h(require("react")),i=require("react/jsx-runtime");function I({caption:n,title:m,features:t}){return(0,i.jsx)(x.Section,{className:"py-20 bg-background",children:(0,i.jsxs)(g.Container,{maxWidth:1280,children:[(0,i.jsx)(g.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,i.jsx)(P,{caption:n,title:m})}),(0,i.jsx)(p.Flex,{wrap:!0,children:(0,i.jsx)(k,{features:t})})]})})}function P({caption:n,title:m}){return(0,i.jsxs)(e.default.Fragment,{children:[n?(0,i.jsx)(r.Text,{weight:"bold",className:"text-secondary",children:n}):null,m?(0,i.jsx)(c.Heading,{fontSize:"3xl",children:m}):null]})}function k({features:n}){return n?(0,i.jsx)(e.default.Fragment,{children:n==null?void 0:n.map(m=>(0,i.jsx)(C,{feature:m},m._key))}):null}function C({feature:n}){var m;return(0,i.jsxs)("div",{className:"w-full px-4 mt-16 mb-12 md:w-1/2 lg:mb-0 lg:w-1/4",children:[(m=n==null?void 0:n.mainImage)!=null&&m.image?(0,i.jsx)(S,{feature:n}):null,n!=null&&n.title?(0,i.jsx)(r.Text,{weight:"bold",className:"mb-4 text-gray-500",fontSize:"xl",children:n==null?void 0:n.title}):null,n!=null&&n.plainText?(0,i.jsx)(r.Text,{muted:!0,className:"leading-loose",children:n==null?void 0:n.plainText}):null]})}function S({feature:n}){var m,t,o,l;return(m=n==null?void 0:n.mainImage)!=null&&m.image?(0,i.jsx)("span",{className:"inline-block p-3 mb-4 rounded bg-secondary-foreground text-primary-foreground md:mb-6",children:(0,i.jsx)(d.Image,{className:"object-scale-down",src:`${(t=n==null?void 0:n.mainImage)==null?void 0:t.image}`,width:40,height:40,alt:(l=(o=n==null?void 0:n.mainImage)==null?void 0:o.alt)!=null?l:"features-image-"})}):null}0&&(module.exports={Features_A});
|
package/dist/features_a.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-GGPLBP3I.mjs";export{a as Features_A,a as default};
|
package/dist/features_b.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var h=Object.create;var s=Object.defineProperty;var v=Object.getOwnPropertyDescriptor;var
|
|
1
|
+
"use strict";var h=Object.create;var s=Object.defineProperty;var v=Object.getOwnPropertyDescriptor;var y=Object.getOwnPropertyNames;var F=Object.getPrototypeOf,I=Object.prototype.hasOwnProperty;var C=(m,l)=>{for(var o in l)s(m,o,{get:l[o],enumerable:!0})},p=(m,l,o,t)=>{if(l&&typeof l=="object"||typeof l=="function")for(let n of y(l))!I.call(m,n)&&n!==o&&s(m,n,{get:()=>l[n],enumerable:!(t=v(l,n))||t.enumerable});return m};var k=(m,l,o)=>(o=m!=null?h(F(m)):{},p(l||!m||!m.__esModule?s(o,"default",{value:m,enumerable:!0}):o,m)),u=m=>p(s({},"__esModule",{value:!0}),m);var S={};C(S,{Features_B:()=>T,default:()=>T});module.exports=u(S);var c=require("@stackshift-ui/card"),r=require("@stackshift-ui/container"),e=require("@stackshift-ui/flex"),x=require("@stackshift-ui/heading"),w=require("@stackshift-ui/image"),b=require("@stackshift-ui/section"),a=require("@stackshift-ui/text"),N=k(require("react")),i=require("react/jsx-runtime");function T({caption:m,title:l,description:o,features:t,tags:n}){return(0,i.jsx)(b.Section,{className:"py-20 bg-background",children:(0,i.jsx)(r.Container,{maxWidth:1280,children:(0,i.jsxs)(e.Flex,{wrap:!0,align:"center",children:[(0,i.jsx)("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:(0,i.jsxs)(r.Container,{maxWidth:448,children:[(0,i.jsx)(z,{caption:m,title:l,description:o}),(0,i.jsx)(A,{tags:n})]})}),(0,i.jsx)(R,{features:t})]})})})}function z({caption:m,title:l,description:o}){return(0,i.jsxs)(N.default.Fragment,{children:[m&&(0,i.jsx)(a.Text,{weight:"bold",className:"text-primary",children:m}),l&&(0,i.jsx)(x.Heading,{fontSize:"3xl",children:l}),o&&(0,i.jsx)(a.Text,{muted:!0,className:"mb-6 leading-loose",children:o})]})}function A({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)(a.Text,{muted:!0,weight:"bold",children:l})]},l))}):null}function R({features:m}){return m?(0,i.jsx)(e.Flex,{wrap:!0,className:"w-full lg:w-1/2",children:m&&(m==null?void 0:m.map((l,o)=>{var t,n,g,d;return(0,i.jsx)("div",{className:`w-full px-4 mb-8 md:w-1/2 ${o%2===0?"lg:mb-0":"lg:mt-12"}`,children:(0,i.jsxs)(c.Card,{className:"py-6 pl-6 pr-4 mb-8",children:[(0,i.jsx)("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary-foreground",children:((t=l==null?void 0:l.mainImage)==null?void 0:t.image)&&(0,i.jsx)(w.Image,{className:"object-scale-down",src:`${(n=l==null?void 0:l.mainImage)==null?void 0:n.image}`,width:40,height:40,alt:(d=(g=l==null?void 0:l.mainImage)==null?void 0:g.alt)!=null?d:`features-image-${o}`})}),(0,i.jsx)(a.Text,{weight:"bold",fontSize:"2xl",className:"mb-2 text-gray-500",children:l==null?void 0:l.title}),(0,i.jsx)(a.Text,{muted:!0,className:"leading-loose",children:l==null?void 0:l.plainText})]})},o)}))}):null}0&&(module.exports={Features_B});
|
package/dist/features_b.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-JLMJ5WKU.mjs";export{a as Features_B,a as default};
|
package/dist/features_c.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var w=Object.create;var
|
|
1
|
+
"use strict";var w=Object.create;var e=Object.defineProperty;var y=Object.getOwnPropertyDescriptor;var N=Object.getOwnPropertyNames;var F=Object.getPrototypeOf,I=Object.prototype.hasOwnProperty;var f=(t,m)=>{for(var n in m)e(t,n,{get:m[n],enumerable:!0})},s=(t,m,n,o)=>{if(m&&typeof m=="object"||typeof m=="function")for(let a of N(m))!I.call(t,a)&&a!==n&&e(t,a,{get:()=>m[a],enumerable:!(o=y(m,a))||o.enumerable});return t};var h=(t,m,n)=>(n=t!=null?w(F(t)):{},s(m||!t||!t.__esModule?e(n,"default",{value:t,enumerable:!0}):n,t)),A=t=>s(e({},"__esModule",{value:!0}),t);var S={};f(S,{Features_C:()=>T,default:()=>T});module.exports=A(S);var d=require("@stackshift-ui/card"),r=require("@stackshift-ui/container"),g=require("@stackshift-ui/flex"),c=require("@stackshift-ui/heading"),p=require("@stackshift-ui/image"),x=require("@stackshift-ui/section"),l=require("@stackshift-ui/text"),b=h(require("react")),i=require("react/jsx-runtime");function T({caption:t,title:m,features:n}){return(0,i.jsx)(x.Section,{className:"py-20 bg-background",children:(0,i.jsxs)(r.Container,{maxWidth:1280,children:[(0,i.jsx)(r.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,i.jsx)(C,{caption:t,title:m})}),(0,i.jsx)(v,{features:n})]})})}function C({caption:t,title:m}){return(0,i.jsxs)(b.default.Fragment,{children:[t?(0,i.jsx)(l.Text,{weight:"bold",className:"text-secondary",children:t}):null,m?(0,i.jsx)(c.Heading,{fontSize:"3xl",children:m}):null]})}function v({features:t}){return t?(0,i.jsx)(g.Flex,{wrap:!0,justify:"start",className:"-mx-3",children:t.map(m=>(0,i.jsx)(u,{feature:m},m._key))}):null}function u({feature:t}){var m,n,o,a;return(0,i.jsx)("div",{className:"w-full px-3 mb-6 lg:w-1/2",children:(0,i.jsxs)(d.Card,{className:"flex flex-wrap h-full p-6",children:[(0,i.jsx)("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary-foreground md:p-5 lg:mb-0",children:((m=t==null?void 0:t.mainImage)==null?void 0:m.image)&&(0,i.jsx)(p.Image,{className:"object-scale-down",src:`${(n=t==null?void 0:t.mainImage)==null?void 0:n.image}`,width:40,height:40,alt:(a=(o=t==null?void 0:t.mainImage)==null?void 0:o.alt)!=null?a:"features-main-image"})}),(0,i.jsxs)("div",{className:"w-full lg:w-2/3",children:[(0,i.jsx)(l.Text,{fontSize:"2xl",weight:"bold",className:"mb-2 text-gray-500",children:t==null?void 0:t.title}),(0,i.jsx)(l.Text,{muted:!0,children:t==null?void 0:t.plainText})]})]})})}0&&(module.exports={Features_C});
|
package/dist/features_c.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-VJX6I62Q.mjs";export{a as Features_C,a as default};
|
package/dist/features_d.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var y=Object.create;var r=Object.defineProperty;var F=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var h=Object.getPrototypeOf,N=Object.prototype.hasOwnProperty;var w=(t,i)=>{for(var n in i)r(t,n,{get:i[n],enumerable:!0})},s=(t,i,n,e)=>{if(i&&typeof i=="object"||typeof i=="function")for(let o of I(i))!N.call(t,o)&&o!==n&&r(t,o,{get:()=>i[o],enumerable:!(e=F(i,o))||e.enumerable});return t};var A=(t,i,n)=>(n=t!=null?y(h(t)):{},s(i||!t||!t.__esModule?r(n,"default",{value:t,enumerable:!0}):n,t)),C=t=>s(r({},"__esModule",{value:!0}),t);var v={};w(v,{Features_D:()=>b,default:()=>b});module.exports=C(v);var
|
|
1
|
+
"use strict";var y=Object.create;var r=Object.defineProperty;var F=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var h=Object.getPrototypeOf,N=Object.prototype.hasOwnProperty;var w=(t,i)=>{for(var n in i)r(t,n,{get:i[n],enumerable:!0})},s=(t,i,n,e)=>{if(i&&typeof i=="object"||typeof i=="function")for(let o of I(i))!N.call(t,o)&&o!==n&&r(t,o,{get:()=>i[o],enumerable:!(e=F(i,o))||e.enumerable});return t};var A=(t,i,n)=>(n=t!=null?y(h(t)):{},s(i||!t||!t.__esModule?r(n,"default",{value:t,enumerable:!0}):n,t)),C=t=>s(r({},"__esModule",{value:!0}),t);var v={};w(v,{Features_D:()=>b,default:()=>b});module.exports=C(v);var g=require("@stackshift-ui/card"),l=require("@stackshift-ui/container"),p=require("@stackshift-ui/flex"),c=require("@stackshift-ui/heading"),d=require("@stackshift-ui/image"),x=require("@stackshift-ui/section"),a=require("@stackshift-ui/text"),T=A(require("react")),m=require("react/jsx-runtime");function b({caption:t,title:i,features:n}){return(0,m.jsx)(x.Section,{className:"py-20 bg-background",children:(0,m.jsxs)(l.Container,{maxWidth:1280,children:[(0,m.jsx)(l.Container,{maxWidth:448,className:"mb-8 text-center",children:(0,m.jsx)(f,{caption:t,title:i})}),(0,m.jsx)(S,{features:n})]})})}function f({caption:t,title:i}){return(0,m.jsxs)(T.default.Fragment,{children:[t?(0,m.jsx)(a.Text,{weight:"bold",className:"text-primary",children:t}):null,i?(0,m.jsx)(c.Heading,{fontSize:"3xl",children:i}):null]})}function S({features:t}){return t?(0,m.jsx)(p.Flex,{wrap:!0,justify:"center",children:t.map(i=>(0,m.jsx)(k,{feature:i},i._key))}):null}function k({feature:t}){var i,n,e,o;return(0,m.jsx)("div",{className:"w-full px-4 mt-8 lg:mb-0 lg:w-1/3",children:(0,m.jsxs)(g.Card,{className:"h-full px-6 py-12 text-center",children:[(0,m.jsx)("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary-foreground md:p-5",children:((i=t==null?void 0:t.mainImage)==null?void 0:i.image)&&(0,m.jsx)(d.Image,{className:"object-scale-down",src:`${(n=t==null?void 0:t.mainImage)==null?void 0:n.image}`,width:40,height:40,alt:(o=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?o:"features-image-"})}),(0,m.jsx)(a.Text,{fontSize:"xl",weight:"bold",className:"px-8 mb-4 text-gray-500",children:t==null?void 0:t.title}),(0,m.jsx)(a.Text,{muted:!0,children:t==null?void 0:t.plainText})]})})}0&&(module.exports={Features_D});
|
package/dist/features_d.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-PLE2ZDCT.mjs";export{a as Features_D,a as default};
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";var xn=Object.create;var k=Object.defineProperty;var wn=Object.getOwnPropertyDescriptor;var vn=Object.getOwnPropertyNames;var un=Object.getPrototypeOf,bn=Object.prototype.hasOwnProperty;var N=(t,n)=>()=>(t&&(n=t(t=0)),n);var h=(t,n)=>{for(var i in n)k(t,i,{get:n[i],enumerable:!0})},bt=(t,n,i,o)=>{if(n&&typeof n=="object"||typeof n=="function")for(let l of vn(n))!bn.call(t,l)&&l!==i&&k(t,l,{get:()=>n[l],enumerable:!(o=wn(n,l))||o.enumerable});return t};var F=(t,n,i)=>(i=t!=null?xn(un(t)):{},bt(n||!t||!t.__esModule?k(i,"default",{value:t,enumerable:!0}):i,t)),hn=t=>bt(k({},"__esModule",{value:!0}),t);var Tt={};h(Tt,{Features_A:()=>_,default:()=>_});function _({caption:t,title:n,features:i}){return(0,g.jsx)(Nt.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(P.Container,{maxWidth:1280,children:[(0,g.jsx)(P.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,g.jsx)(fn,{caption:t,title:n})}),(0,g.jsx)(Ft.Flex,{wrap:!0,children:(0,g.jsx)(Nn,{features:i})})]})})}function fn({caption:t,title:n}){return(0,g.jsxs)(L.default.Fragment,{children:[t?(0,g.jsx)(A.Text,{weight:"bold",className:"text-secondary",children:t}):null,n?(0,g.jsx)(ht.Heading,{fontSize:"3xl",children:n}):null]})}function Nn({features:t}){return t?(0,g.jsx)(L.default.Fragment,{children:t==null?void 0:t.map(n=>(0,g.jsx)(Fn,{feature:n},n._key))}):null}function Fn({feature:t}){var n;return(0,g.jsxs)("div",{className:"g-full px-4 P-16 mb-12 md:g-1/2 lg:mb-0 lg:g-1/4",children:[(n=t==null?void 0:t.mainImage)!=null&&n.image?(0,g.jsx)(Tn,{feature:t}):null,t!=null&&t.title?(0,g.jsx)(A.Text,{weight:"bold",className:"mb-4",fontSize:"xl",children:t==null?void 0:t.title}):null,t!=null&&t.plainText?(0,g.jsx)(A.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText}):null]})}function Tn({feature:t}){var n,i,o,l;return(n=t==null?void 0:t.mainImage)!=null&&n.image?(0,g.jsx)("span",{className:"inline-block p-3 mb-4 rounded bg-secondary-foreground text-primary-foreground md:mb-6",children:(0,g.jsx)(ft.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(l=(o=t==null?void 0:t.mainImage)==null?void 0:o.alt)!=null?l:"features-image-"})}):null}var L,ht,A,ft,Nt,P,Ft,g,H=N(()=>{"use strict";L=F(require("react")),ht=require("@stackshift-ui/heading"),A=require("@stackshift-ui/text"),ft=require("@stackshift-ui/image"),Nt=require("@stackshift-ui/section"),P=require("@stackshift-ui/container"),Ft=require("@stackshift-ui/flex"),g=require("react/jsx-runtime")});var It={};h(It,{Features_B:()=>$,default:()=>$});function $({caption:t,title:n,description:i,features:o,tags:l}){return(0,g.jsx)(Nt.Section,{className:"py-20 bg-background",children:(0,g.jsx)(P.Container,{maxWidth:1280,children:(0,g.jsxs)(Ft.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"g-full mb-12 lg:mb-0 lg:g-1/2",children:(0,g.jsxs)(P.Container,{maxWidth:448,children:[(0,g.jsx)(yn,{caption:t,title:n,description:i}),(0,g.jsx)(Cn,{tags:l})]})}),(0,g.jsx)(kn,{features:o})]})})})}function yn({caption:t,title:n,description:i}){return(0,g.jsxs)(yt.default.Fragment,{children:[t&&(0,g.jsx)(A.Text,{weight:"bold",className:"text-primary",children:t}),n&&(0,g.jsx)(ht.Heading,{fontSize:"3xl",children:n}),i&&(0,g.jsx)(A.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function Cn({tags:t}){return t?(0,g.jsx)("ul",{children:t&&t.map(n=>(0,g.jsxs)("li",{className:"flex mb-4",children:[(0,g.jsx)("svg",{className:"g-6 h-6 mr-2 text-secondary",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,g.jsx)("path",{fillRule:"evenodd",g:"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,g.jsx)(A.Text,{muted:!0,weight:"bold",children:n})]},n))}):null}function kn({features:t}){return t?(0,g.jsx)(Ft.Flex,{wrap:!0,className:"g-full lg:g-1/2",children:t&&(t==null?void 0:t.map((n,i)=>{var o,l,a,x;return(0,g.jsx)("div",{className:`g-full px-4 mb-8 md:g-1/2 ${i%2===0?"lg:mb-0":"lg:P-12"}`,children:(0,g.jsxs)(kt.Card,{className:"py-6 pl-6 pr-4 mb-8",children:[(0,g.jsx)("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary-foreground",children:((o=n==null?void 0:n.mainImage)==null?void 0:o.image)&&(0,g.jsx)(ft.Image,{className:"object-scale-down",src:`${(l=n==null?void 0:n.mainImage)==null?void 0:l.image}`,width:40,height:40,alt:(x=(a=n==null?void 0:n.mainImage)==null?void 0:a.alt)!=null?x:`features-image-${i}`})}),(0,g.jsx)(A.Text,{weight:"bold",className:"mb-2 text-2xl",children:n==null?void 0:n.title}),(0,g.jsx)(A.Text,{muted:!0,className:"leading-loose",children:n==null?void 0:n.plainText})]})},i)}))}):null}var yt,ht,A,kt,ft,Nt,P,Ft,g,j=N(()=>{"use strict";yt=F(require("react")),kt=require("@stackshift-ui/card")});var Wt={};h(Wt,{Features_C:()=>M,default:()=>M});function M({caption:t,title:n,features:i}){return(0,g.jsx)(Nt.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(P.Container,{maxWidth:1280,children:[(0,g.jsx)(P.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,g.jsx)(An,{caption:t,title:n})}),(0,g.jsx)(Sn,{features:i})]})})}function An({caption:t,title:n}){return(0,g.jsxs)(Rt.default.Fragment,{children:[t?(0,g.jsx)(A.Text,{weight:"bold",className:"text-secondary",children:t}):null,n?(0,g.jsx)(ht.Heading,{fontSize:"3xl",children:n}):null]})}function Sn({features:t}){return t?(0,g.jsx)(Ft.Flex,{wrap:!0,justify:"start",className:"-mx-3",children:t.map(n=>(0,g.jsx)(In,{feature:n},n._key))}):null}function In({feature:t}){var n,i,o,l;return(0,g.jsx)("div",{className:"g-full px-3 mb-6 lg:g-1/2",children:(0,g.jsxs)(kt.Card,{className:"flex flex-wrap h-full p-6",children:[(0,g.jsx)("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary-foreground md:p-5 lg:mb-0",children:((n=t==null?void 0:t.mainImage)==null?void 0:n.image)&&(0,g.jsx)(ft.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(l=(o=t==null?void 0:t.mainImage)==null?void 0:o.alt)!=null?l:"features-main-image"})}),(0,g.jsxs)("div",{className:"g-full lg:g-2/3",children:[(0,g.jsx)(A.Text,{fontSize:"2xl",weight:"bold",className:"mb-2",children:t==null?void 0:t.title}),(0,g.jsx)(A.Text,{muted:!0,children:t==null?void 0:t.plainText})]})]})})}var Rt,ht,A,kt,ft,Nt,P,Ft,g,G=N(()=>{"use strict";Rt=F(require("react"))});var Bt={};h(Bt,{Features_D:()=>D,default:()=>D});function D({caption:t,title:n,features:i}){return(0,g.jsx)(Nt.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(P.Container,{maxWidth:1280,children:[(0,g.jsx)(P.Container,{maxWidth:448,className:"mb-8 text-center",children:(0,g.jsx)(Rn,{caption:t,title:n})}),(0,g.jsx)(zn,{features:i})]})})}function Rn({caption:t,title:n}){return(0,g.jsxs)(Ot.default.Fragment,{children:[t?(0,g.jsx)(A.Text,{weight:"bold",className:"text-primary",children:t}):null,n?(0,g.jsx)($t.Heading,{fontSize:"3xl",children:n}):null]})}function zn({features:t}){return t?(0,g.jsx)(Ft.Flex,{wrap:!0,justify:"center",children:t.map(n=>(0,g.jsx)(Pn,{feature:n},n._key))}):null}function Pn({feature:t}){var n,i,o,l;return(0,g.jsx)("div",{className:"g-full px-4 P-8 lg:mb-0 lg:g-1/3",children:(0,g.jsxs)(kt.Card,{className:"h-full px-6 py-12 text-center",children:[(0,g.jsx)("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary-foreground md:p-5",children:((n=t==null?void 0:t.mainImage)==null?void 0:n.image)&&(0,g.jsx)(ft.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(l=(o=t==null?void 0:t.mainImage)==null?void 0:o.alt)!=null?l:"features-image-"})}),(0,g.jsx)(A.Text,{fontSize:"xl",weight:"bold",className:"px-8 mb-4",children:t==null?void 0:t.title}),(0,g.jsx)(A.Text,{muted:!0,children:t==null?void 0:t.plainText})]})})}var Ot,$t,A,kt,ft,Nt,P,Ft,g,E=N(()=>{"use strict";Ot=F(require("react"))});var Ut={};h(Ut,{Features_E:()=>Q,default:()=>Q});function Q({featuredItems:t}){let[n,i]=K.default.useState(0);return(0,g.jsx)(Nt.Section,{className:"py-20 overflow-x-auto bg-background",children:(0,g.jsx)(P.Container,{maxWidth:1280,children:(0,g.jsx)(Ft.Flex,{className:"relative",children:(0,g.jsx)(Hn,{featuredItems:t,slider:l=>{t&&(l==="next"?n!==t.length-1?i(a=>a+1):i(0):n>=1?i(a=>a-1):i(t.length-1))},children:(0,g.jsxs)("div",{className:"order-1 g-full ml-auto xl:g-4/5",children:[(0,g.jsx)(Ln,{featuredItems:t,item:n}),(0,g.jsx)(_n,{featuredItems:t,item:n})]})})})})})}function Ln({featuredItems:t,item:n}){var i,o,l,a,x,p,v;return(o=(i=t==null?void 0:t[n])==null?void 0:i.mainImage)!=null&&o.image?(0,g.jsx)("div",{className:"mx-auto overflow-hidden rounded-md md:max-g-xl xl:max-g-4xl",children:(0,g.jsx)(ft.Image,{className:"relative object-cover",src:`${(a=(l=t==null?void 0:t[n])==null?void 0:l.mainImage)==null?void 0:a.image}`,sizes:"100vw",width:896,height:575,alt:(v=(p=(x=t==null?void 0:t[n])==null?void 0:x.mainImage)==null?void 0:p.alt)!=null?v:`features-image-${n}`})}):null}function _n({featuredItems:t,item:n}){var i,o,l,a,x,p;return t?(0,g.jsxs)(kt.Card,{className:"top-0 left-0 max-g-xl p-6 mx-auto text-center bg-white md:P-12 md:p-10 lg:P-12 lg:p-10 xl:absolute xl:mx-0 xl:P-20 xl:py-24",children:[(0,g.jsx)(A.Text,{weight:"bold",className:"text-xs lg:text-md md:text-sm xl:text-lg text-secondary",children:((i=t==null?void 0:t[n])==null?void 0:i.subtitle)&&((o=t==null?void 0:t[n])==null?void 0:o.subtitle)}),(0,g.jsx)(ht.Heading,{fontSize:"3xl",children:((l=t==null?void 0:t[n])==null?void 0:l.title)&&((a=t==null?void 0:t[n])==null?void 0:a.title)}),(0,g.jsx)(A.Text,{muted:!0,className:"text-xs leading-loose text-center md:P-5 md:text-sm lg:P-5 lg:text-sm",children:((x=t==null?void 0:t[n])==null?void 0:x.description)&&((p=t==null?void 0:t[n])==null?void 0:p.description)})]}):null}function Hn({featuredItems:t,children:n,slider:i}){return t?(0,g.jsxs)(K.default.Fragment,{children:[(0,g.jsx)("div",{className:"absolute left-0 A-40 items-center P-20 -mx-3 order-0 md:P-40 lg:P-60 xl:-mx-6 xl:flex",children:(t==null?void 0:t.length)>=2&&(0,g.jsx)(J.Button,{as:"button",ariaLabel:"Show Previous Feature",className:"A-10 p-4 text-white ",onClick:()=>i("prev"),children:(0,g.jsx)("svg",{className:"g-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,g.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",g:"M10 19l-7-7m0 0l7-7m-7 7h18"})})})}),n,(0,g.jsx)("div",{className:"absolute right-0 A-40 items-center order-2 P-20 -mx-3 md:P-40 lg:P-60 xl:-mx-6 xl:flex",children:(t==null?void 0:t.length)>=2&&(0,g.jsx)(J.Button,{as:"button",ariaLabel:"Show Next Feature",className:"p-4 text-white ",onClick:()=>i("next"),children:(0,g.jsx)("svg",{className:"g-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,g.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",g:"M14 5l7 7m0 0l-7 7m7-7H3"})})})})]}):null}var K,ht,A,kt,J,ft,Nt,P,Ft,g,U=N(()=>{"use strict";K=F(require("react")),J=require("@stackshift-ui/button")});var nn={};h(nn,{Features_F:()=>tt,default:()=>tt});function tt({caption:t,title:n,description:i,images:o,primaryButton:l}){return(0,g.jsx)(Nt.Section,{className:"py-20 bg-background",children:(0,g.jsx)(P.Container,{maxWidth:1280,children:(0,g.jsxs)(Ft.Flex,{wrap:!0,align:"center",children:[(0,g.jsxs)(Ft.Flex,{direction:"col",className:"g-full mb-12 lg:mb-0 lg:g-1/2",children:[(0,g.jsx)(Wn,{caption:t,title:n,description:i}),(0,g.jsx)(On,{primaryButton:l})]}),(0,g.jsx)($n,{images:o})]})})})}function Wn({caption:t,title:n,description:i}){return(0,g.jsxs)(P.Container,{maxWidth:448,className:"ml-0",children:[t&&(0,g.jsx)(A.Text,{weight:"bold",className:"font-bold text-secondary",children:t}),n&&(0,g.jsx)(Xt.Heading,{fontSize:"3xl",className:"mb-6",children:n}),i&&(0,g.jsx)(A.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function On({primaryButton:t}){return t!=null&&t.label?(0,g.jsx)(J.Button,{as:"link",link:t,ariaLabel:t==null?void 0:t.label,children:t==null?void 0:t.label}):null}function $n({images:t}){var i,o,l,a;if(!t||(t==null?void 0:t.length)===0)return null;function n(x,p,v,u,b){return(0,g.jsx)("div",{className:`overflow-hidden rounded ${b}`,children:(0,g.jsx)(ft.Image,{className:"object-cover g-full h-auto",src:x,sizes:"100vw",width:v,height:u,alt:p!=null?p:"feature-image"})})}return(0,g.jsxs)("div",{className:"g-full lg:g-1/2",children:[(0,g.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:g-2/3",children:((i=t[0])==null?void 0:i.image)&&n(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:g-1/3",children:((o=t[1])==null?void 0:o.image)&&n(t[1].image,t[1].alt,166,128,"")})]}),(0,g.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:g-1/3",children:((l=t[2])==null?void 0:l.image)&&n(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:g-2/3",children:((a=t[3])==null?void 0:a.image)&&n(t[3].image,t[3].alt,356,192,"")})]})]})}var Xt,A,J,ft,Nt,P,Ft,g,nt=N(()=>{"use strict";Xt=require("@stackshift-ui/heading")});var mn={};h(mn,{Features_G:()=>et,default:()=>et});function et({caption:t,title:n,description:i,images:o,tags:l}){return(0,g.jsx)(Nt.Section,{className:"py-20 bg-background",children:(0,g.jsx)(P.Container,{maxWidth:1280,children:(0,g.jsxs)(Ft.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"g-full px-4 mb-12 lg:mb-0 lg:g-1/2",children:(0,g.jsxs)(P.Container,{maxWidth:448,children:[(0,g.jsx)(jn,{caption:t,title:n,description:i}),(0,g.jsx)(Vn,{tags:l})]})}),(0,g.jsx)(Gn,{images:o})]})})})}function jn({caption:t,title:n,description:i}){return(0,g.jsxs)(ln.default.Fragment,{children:[t&&(0,g.jsx)(A.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,g.jsx)(ht.Heading,{fontSize:"3xl",className:"mb-3",children:n}),i&&(0,g.jsx)(A.Text,{muted:!0,className:"mb-6 leading-loose ",children:i})]})}function Vn({tags:t}){return t?(0,g.jsx)("ul",{className:"font-bold text-gray-500",children:t.map(n=>(0,g.jsx)(Mn,{item:n}))}):null}function Mn({item:t}){return t?(0,g.jsxs)(Ft.Flex,{as:"li",align:"center",className:"mb-2 ",children:[(0,g.jsx)("svg",{className:"g-5 h-5 mr-2 text-primary-foreground",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,g.jsx)("path",{fillRule:"evenodd",g:"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,g.jsx)("span",{children:t})]}):null}function Gn({images:t}){var i,o,l,a;if(!t||(t==null?void 0:t.length)===0)return null;function n(x,p,v,u,b){return(0,g.jsx)("div",{className:`overflow-hidden rounded ${b}`,children:(0,g.jsx)(ft.Image,{className:"object-cover g-full h-auto",src:x,sizes:"100vw",width:v,height:u,alt:p!=null?p:"feature-image"})})}return(0,g.jsxs)("div",{className:"g-full lg:g-1/2",children:[(0,g.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:g-2/3",children:((i=t[0])==null?void 0:i.image)&&n(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:g-1/3",children:((o=t[1])==null?void 0:o.image)&&n(t[1].image,t[1].alt,166,128,"")})]}),(0,g.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:g-1/3",children:((l=t[2])==null?void 0:l.image)&&n(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:g-2/3",children:((a=t[3])==null?void 0:a.image)&&n(t[3].image,t[3].alt,356,192,"")})]})]})}var ln,ht,A,ft,Nt,P,Ft,g,rt=N(()=>{"use strict";ln=F(require("react"))});var pn={};h(pn,{Features_H:()=>st,default:()=>st});function st({caption:t,title:n,features:i,images:o}){return(0,g.jsx)(Nt.Section,{className:"py-20 bg-background",children:(0,g.jsx)(P.Container,{maxWidth:1280,children:(0,g.jsxs)(Ft.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"g-full mb-12 lg:mb-0 lg:g-1/2",children:(0,g.jsxs)(P.Container,{maxWidth:448,children:[(0,g.jsx)(Bn,{caption:t,title:n}),(0,g.jsx)(Dn,{features:i})]})}),(0,g.jsx)(Jn,{images:o})]})})})}function Bn({caption:t,title:n}){return(0,g.jsxs)(an.default.Fragment,{children:[t&&(0,g.jsx)(A.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,g.jsx)(ht.Heading,{fontSize:"3xl",className:"mb-6",children:n})]})}function Dn({features:t}){return!t||(t==null?void 0:t.length)<=0?null:(0,g.jsx)("ul",{children:t.map(n=>(0,g.jsx)(En,{feature:n},n._key))})}function En({feature:t}){return t?(0,g.jsxs)(Ft.Flex,{as:"li",children:[(0,g.jsx)(qn,{}),(0,g.jsxs)("div",{className:"max-g-xs",children:[(0,g.jsx)(A.Text,{weight:"bold",children:t==null?void 0:t.title}),(0,g.jsx)(A.Text,{muted:!0,className:"leading-loose ",children:t==null?void 0:t.plainText})]})]}):null}function qn(){return(0,g.jsx)("svg",{className:"g-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,g.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,g:"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 Jn({images:t}){var n,i,o,l,a,x,p,v,u,b,y,C;return!t||(t==null?void 0:t.length)===0?null:(0,g.jsxs)("div",{className:"items-center g-full px-4 sm:flex md:px-0 lg:g-1/2",children:[(0,g.jsxs)("div",{className:"mb-5 sm:mb-0 sm:g-1/2",children:[((n=t==null?void 0:t[0])==null?void 0:n.image)&&(0,g.jsx)(ft.Image,{className:"object-cover overflow-hidden rounded-xl",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:(l=(o=t==null?void 0:t[0])==null?void 0:o.alt)!=null?l:"features-image-1"}),((a=t==null?void 0:t[1])==null?void 0:a.image)&&(0,g.jsx)(ft.Image,{className:"object-cover P-6 overflow-hidden rounded-xl",src:`${(x=t==null?void 0:t[1])==null?void 0:x.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"})]}),((u=t==null?void 0:t[2])==null?void 0:u.image)&&(0,g.jsx)(ft.Image,{className:"object-cover overflow-hidden rounded-xl sm:ml-6 sm:g-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:(C=(y=t==null?void 0:t[2])==null?void 0:y.alt)!=null?C:"features-image-3"})]})}var an,ht,A,ft,Nt,P,Ft,g,ct=N(()=>{"use strict";an=F(require("react"))});var Un={};h(Un,{Features:()=>gn,Features_A:()=>_,Features_B:()=>$,Features_C:()=>M,Features_D:()=>D,Features_E:()=>Q,Features_F:()=>tt,Features_G:()=>et,Features_H:()=>st});module.exports=hn(Un);var f=require("react"),Kn={variant_a:(0,f.lazy)(()=>Promise.resolve().then(()=>(H(),Tt))),variant_b:(0,f.lazy)(()=>Promise.resolve().then(()=>(j(),It))),variant_c:(0,f.lazy)(()=>Promise.resolve().then(()=>(G(),Wt))),variant_d:(0,f.lazy)(()=>Promise.resolve().then(()=>(E(),Bt))),variant_e:(0,f.lazy)(()=>Promise.resolve().then(()=>(U(),Ut))),variant_f:(0,f.lazy)(()=>Promise.resolve().then(()=>(nt(),nn))),variant_g:(0,f.lazy)(()=>Promise.resolve().then(()=>(rt(),mn))),variant_h:(0,f.lazy)(()=>Promise.resolve().then(()=>(ct(),pn)))},Qn="Features",gn=({data:t})=>{var l,a,x,p,v,u,b,y,C,pt,gt,dt,xt,wt,vt,ut;let n=t==null?void 0:t.variant,i=n&&Kn[n],o={caption:(a=(l=t==null?void 0:t.variants)==null?void 0:l.caption)!=null?a:void 0,title:(p=(x=t==null?void 0:t.variants)==null?void 0:x.title)!=null?p:void 0,description:(u=(v=t==null?void 0:t.variants)==null?void 0:v.description)!=null?u:void 0,features:(y=(b=t==null?void 0:t.variants)==null?void 0:b.arrayOfImageTitleAndText)!=null?y:void 0,tags:(pt=(C=t==null?void 0:t.variants)==null?void 0:C.tags)!=null?pt:void 0,featuredItems:(dt=(gt=t==null?void 0:t.variants)==null?void 0:gt.featuredItems)!=null?dt:void 0,images:(wt=(xt=t==null?void 0:t.variants)==null?void 0:xt.images)!=null?wt:void 0,primaryButton:(ut=(vt=t==null?void 0:t.variants)==null?void 0:vt.primaryButton)!=null?ut:void 0};return i?(0,g.jsx)(i,{...o}):null};gn.displayName=Qn;H();j();G();E();U();nt();rt();ct();0&&(module.exports={Features,Features_A,Features_B,Features_C,Features_D,Features_E,Features_F,Features_G,Features_H});
|
|
2
|
+
"use strict";var dn=Object.create;var k=Object.defineProperty;var wn=Object.getOwnPropertyDescriptor;var vn=Object.getOwnPropertyNames;var un=Object.getPrototypeOf,bn=Object.prototype.hasOwnProperty;var N=(t,n)=>()=>(t&&(n=t(t=0)),n);var h=(t,n)=>{for(var i in n)k(t,i,{get:n[i],enumerable:!0})},bt=(t,n,i,e)=>{if(n&&typeof n=="object"||typeof n=="function")for(let l of vn(n))!bn.call(t,l)&&l!==i&&k(t,l,{get:()=>n[l],enumerable:!(e=wn(n,l))||e.enumerable});return t};var F=(t,n,i)=>(i=t!=null?dn(un(t)):{},bt(n||!t||!t.__esModule?k(i,"default",{value:t,enumerable:!0}):i,t)),hn=t=>bt(k({},"__esModule",{value:!0}),t);var Tt={};h(Tt,{Features_A:()=>_,default:()=>_});function _({caption:t,title:n,features:i}){return(0,g.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(P.Container,{maxWidth:1280,children:[(0,g.jsx)(P.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,g.jsx)(fn,{caption:t,title:n})}),(0,g.jsx)(ht.Flex,{wrap:!0,children:(0,g.jsx)(Nn,{features:i})})]})})}function fn({caption:t,title:n}){return(0,g.jsxs)(L.default.Fragment,{children:[t?(0,g.jsx)(A.Text,{weight:"bold",className:"text-secondary",children:t}):null,n?(0,g.jsx)(ft.Heading,{fontSize:"3xl",children:n}):null]})}function Nn({features:t}){return t?(0,g.jsx)(L.default.Fragment,{children:t==null?void 0:t.map(n=>(0,g.jsx)(Fn,{feature:n},n._key))}):null}function Fn({feature:t}){var n;return(0,g.jsxs)("div",{className:"g-full px-4 W-16 mb-12 md:g-1/2 lg:mb-0 lg:g-1/4",children:[(n=t==null?void 0:t.mainImage)!=null&&n.image?(0,g.jsx)(Tn,{feature:t}):null,t!=null&&t.title?(0,g.jsx)(A.Text,{weight:"bold",className:"mb-4 text-gray-500",fontSize:"xl",children:t==null?void 0:t.title}):null,t!=null&&t.plainText?(0,g.jsx)(A.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText}):null]})}function Tn({feature:t}){var n,i,e,l;return(n=t==null?void 0:t.mainImage)!=null&&n.image?(0,g.jsx)("span",{className:"inline-block p-3 mb-4 rounded bg-secondary-foreground text-primary-foreground md:mb-6",children:(0,g.jsx)(Nt.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(l=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?l:"features-image-"})}):null}var P,ht,ft,Nt,Ft,A,L,g,H=N(()=>{"use strict";P=require("@stackshift-ui/container"),ht=require("@stackshift-ui/flex"),ft=require("@stackshift-ui/heading"),Nt=require("@stackshift-ui/image"),Ft=require("@stackshift-ui/section"),A=require("@stackshift-ui/text"),L=F(require("react")),g=require("react/jsx-runtime")});var It={};h(It,{Features_B:()=>$,default:()=>$});function $({caption:t,title:n,description:i,features:e,tags:l}){return(0,g.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,g.jsx)(W.Container,{maxWidth:1280,children:(0,g.jsxs)(ht.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"g-full mb-12 lg:mb-0 lg:g-1/2",children:(0,g.jsxs)(W.Container,{maxWidth:448,children:[(0,g.jsx)(yn,{caption:t,title:n,description:i}),(0,g.jsx)(Cn,{tags:l})]})}),(0,g.jsx)(kn,{features:e})]})})})}function yn({caption:t,title:n,description:i}){return(0,g.jsxs)(St.default.Fragment,{children:[t&&(0,g.jsx)(A.Text,{weight:"bold",className:"text-primary",children:t}),n&&(0,g.jsx)(ft.Heading,{fontSize:"3xl",children:n}),i&&(0,g.jsx)(A.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function Cn({tags:t}){return t?(0,g.jsx)("ul",{children:t&&t.map(n=>(0,g.jsxs)("li",{className:"flex mb-4",children:[(0,g.jsx)("svg",{className:"g-6 h-6 mr-2 text-secondary",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,g.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,g.jsx)(A.Text,{muted:!0,weight:"bold",children:n})]},n))}):null}function kn({features:t}){return t?(0,g.jsx)(ht.Flex,{wrap:!0,className:"g-full lg:g-1/2",children:t&&(t==null?void 0:t.map((n,i)=>{var e,l,a,d;return(0,g.jsx)("div",{className:`g-full px-4 mb-8 md:g-1/2 ${i%2===0?"lg:mb-0":"lg:W-12"}`,children:(0,g.jsxs)(yt.Card,{className:"py-6 pl-6 pr-4 mb-8",children:[(0,g.jsx)("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary-foreground",children:((e=n==null?void 0:n.mainImage)==null?void 0:e.image)&&(0,g.jsx)(Nt.Image,{className:"object-scale-down",src:`${(l=n==null?void 0:n.mainImage)==null?void 0:l.image}`,width:40,height:40,alt:(d=(a=n==null?void 0:n.mainImage)==null?void 0:a.alt)!=null?d:`features-image-${i}`})}),(0,g.jsx)(A.Text,{weight:"bold",fontSize:"2xl",className:"mb-2 text-gray-500",children:n==null?void 0:n.title}),(0,g.jsx)(A.Text,{muted:!0,className:"leading-loose",children:n==null?void 0:n.plainText})]})},i)}))}):null}var yt,W,ht,ft,Nt,Ft,A,St,g,j=N(()=>{"use strict";yt=require("@stackshift-ui/card"),W=require("@stackshift-ui/container"),St=F(require("react"))});var Wt={};h(Wt,{Features_C:()=>M,default:()=>M});function M({caption:t,title:n,features:i}){return(0,g.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(W.Container,{maxWidth:1280,children:[(0,g.jsx)(W.Container,{maxWidth:448,className:"mb-16 text-center ",children:(0,g.jsx)(An,{caption:t,title:n})}),(0,g.jsx)(Sn,{features:i})]})})}function An({caption:t,title:n}){return(0,g.jsxs)(Ht.default.Fragment,{children:[t?(0,g.jsx)(A.Text,{weight:"bold",className:"text-secondary",children:t}):null,n?(0,g.jsx)(ft.Heading,{fontSize:"3xl",children:n}):null]})}function Sn({features:t}){return t?(0,g.jsx)(ht.Flex,{wrap:!0,justify:"start",className:"-mx-3",children:t.map(n=>(0,g.jsx)(In,{feature:n},n._key))}):null}function In({feature:t}){var n,i,e,l;return(0,g.jsx)("div",{className:"g-full px-3 mb-6 lg:g-1/2",children:(0,g.jsxs)(Rt.Card,{className:"flex flex-wrap h-full p-6",children:[(0,g.jsx)("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary-foreground md:p-5 lg:mb-0",children:((n=t==null?void 0:t.mainImage)==null?void 0:n.image)&&(0,g.jsx)(Nt.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(l=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?l:"features-main-image"})}),(0,g.jsxs)("div",{className:"g-full lg:g-2/3",children:[(0,g.jsx)(A.Text,{fontSize:"2xl",weight:"bold",className:"mb-2 text-gray-500",children:t==null?void 0:t.title}),(0,g.jsx)(A.Text,{muted:!0,children:t==null?void 0:t.plainText})]})]})})}var Rt,W,ht,ft,Nt,Ft,A,Ht,g,G=N(()=>{"use strict";Rt=require("@stackshift-ui/card"),Ht=F(require("react"))});var Bt={};h(Bt,{Features_D:()=>D,default:()=>D});function D({caption:t,title:n,features:i}){return(0,g.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(W.Container,{maxWidth:1280,children:[(0,g.jsx)(W.Container,{maxWidth:448,className:"mb-8 text-center",children:(0,g.jsx)(Rn,{caption:t,title:n})}),(0,g.jsx)(zn,{features:i})]})})}function Rn({caption:t,title:n}){return(0,g.jsxs)(Gt.default.Fragment,{children:[t?(0,g.jsx)(A.Text,{weight:"bold",className:"text-primary",children:t}):null,n?(0,g.jsx)(ft.Heading,{fontSize:"3xl",children:n}):null]})}function zn({features:t}){return t?(0,g.jsx)($t.Flex,{wrap:!0,justify:"center",children:t.map(n=>(0,g.jsx)(Pn,{feature:n},n._key))}):null}function Pn({feature:t}){var n,i,e,l;return(0,g.jsx)("div",{className:"g-full px-4 W-8 lg:mb-0 lg:g-1/3",children:(0,g.jsxs)(Ot.Card,{className:"h-full px-6 py-12 text-center",children:[(0,g.jsx)("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary-foreground md:p-5",children:((n=t==null?void 0:t.mainImage)==null?void 0:n.image)&&(0,g.jsx)(Nt.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(l=(e=t==null?void 0:t.mainImage)==null?void 0:e.alt)!=null?l:"features-image-"})}),(0,g.jsx)(A.Text,{fontSize:"xl",weight:"bold",className:"px-8 mb-4 text-gray-500",children:t==null?void 0:t.title}),(0,g.jsx)(A.Text,{muted:!0,children:t==null?void 0:t.plainText})]})})}var Ot,W,$t,ft,Nt,Ft,A,Gt,g,E=N(()=>{"use strict";Ot=require("@stackshift-ui/card"),Gt=F(require("react"))});var Ut={};h(Ut,{Features_E:()=>Q,default:()=>Q});function Q({featuredItems:t}){let[n,i]=K.default.useState(0);return(0,g.jsx)(Ft.Section,{className:"py-20 overflow-g-auto bg-background",children:(0,g.jsx)(W.Container,{maxWidth:1280,children:(0,g.jsx)(ht.Flex,{className:"relative",children:(0,g.jsx)(Hn,{featuredItems:t,slider:l=>{t&&(l==="next"?n!==t.length-1?i(a=>a+1):i(0):n>=1?i(a=>a-1):i(t.length-1))},children:(0,g.jsxs)("div",{className:"order-1 g-full ml-auto xl:g-4/5",children:[(0,g.jsx)(Ln,{featuredItems:t,item:n}),(0,g.jsx)(_n,{featuredItems:t,item:n})]})})})})})}function Ln({featuredItems:t,item:n}){var i,e,l,a,d,p,v;return(e=(i=t==null?void 0:t[n])==null?void 0:i.mainImage)!=null&&e.image?(0,g.jsx)("div",{className:"mx-auto overflow-hidden rounded-md md:max-g-xl xl:max-g-4xl",children:(0,g.jsx)(Nt.Image,{className:"relative object-cover",src:`${(a=(l=t==null?void 0:t[n])==null?void 0:l.mainImage)==null?void 0:a.image}`,sizes:"100vw",width:896,height:575,alt:(v=(p=(d=t==null?void 0:t[n])==null?void 0:d.mainImage)==null?void 0:p.alt)!=null?v:`features-image-${n}`})}):null}function _n({featuredItems:t,item:n}){var i,e,l,a,d,p;return t?(0,g.jsxs)(Et.Card,{className:"top-0 left-0 max-g-xl p-6 mx-auto text-center bg-white md:W-12 md:p-10 lg:W-12 lg:p-10 xl:absolute xl:mx-0 xl:W-20 xl:py-24",children:[(0,g.jsx)(A.Text,{weight:"bold",className:"text-xs lg:text-md md:text-sm xl:text-lg text-secondary",children:((i=t==null?void 0:t[n])==null?void 0:i.subtitle)&&((e=t==null?void 0:t[n])==null?void 0:e.subtitle)}),(0,g.jsx)(ft.Heading,{fontSize:"3xl",children:((l=t==null?void 0:t[n])==null?void 0:l.title)&&((a=t==null?void 0:t[n])==null?void 0:a.title)}),(0,g.jsx)(A.Text,{muted:!0,className:"text-xs leading-loose text-center md:W-5 md:text-sm lg:W-5 lg:text-sm",children:((d=t==null?void 0:t[n])==null?void 0:d.description)&&((p=t==null?void 0:t[n])==null?void 0:p.description)})]}):null}function Hn({featuredItems:t,children:n,slider:i}){return t?(0,g.jsxs)(K.default.Fragment,{children:[(0,g.jsx)("div",{className:"absolute left-0 A-40 items-center W-20 -mx-3 order-0 md:W-40 lg:W-60 xl:-mx-6 xl:flex",children:(t==null?void 0:t.length)>=2&&(0,g.jsx)(J.Button,{as:"button",ariaLabel:"Show Previous Feature",className:"A-10 p-4 text-white ",onClick:()=>i("prev"),children:(0,g.jsx)("svg",{className:"g-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,g.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M10 19l-7-7m0 0l7-7m-7 7h18"})})})}),n,(0,g.jsx)("div",{className:"absolute right-0 A-40 items-center order-2 W-20 -mx-3 md:W-40 lg:W-60 xl:-mx-6 xl:flex",children:(t==null?void 0:t.length)>=2&&(0,g.jsx)(J.Button,{as:"button",ariaLabel:"Show Next Feature",className:"p-4 text-white ",onClick:()=>i("next"),children:(0,g.jsx)("svg",{className:"g-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,g.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M14 5l7 7m0 0l-7 7m7-7H3"})})})})]}):null}var K,ft,A,Et,J,Nt,Ft,W,ht,g,U=N(()=>{"use strict";K=F(require("react")),Et=require("@stackshift-ui/card"),J=require("@stackshift-ui/button")});var nn={};h(nn,{Features_F:()=>tt,default:()=>tt});function tt({caption:t,title:n,description:i,images:e,primaryButton:l}){return(0,g.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,g.jsx)(W.Container,{maxWidth:1280,children:(0,g.jsxs)(ht.Flex,{wrap:!0,align:"center",children:[(0,g.jsxs)(ht.Flex,{direction:"col",className:"g-full mb-12 lg:mb-0 lg:g-1/2",children:[(0,g.jsx)(Wn,{caption:t,title:n,description:i}),(0,g.jsx)(On,{primaryButton:l})]}),(0,g.jsx)($n,{images:e})]})})})}function Wn({caption:t,title:n,description:i}){return(0,g.jsxs)(W.Container,{maxWidth:448,className:"ml-0",children:[t&&(0,g.jsx)(A.Text,{weight:"bold",className:"font-bold text-secondary",children:t}),n&&(0,g.jsx)(Xt.Heading,{fontSize:"3xl",className:"mb-6",children:n}),i&&(0,g.jsx)(A.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function On({primaryButton:t}){return t!=null&&t.label?(0,g.jsx)(J.Button,{as:"link",link:t,ariaLabel:t==null?void 0:t.label,children:t==null?void 0:t.label}):null}function $n({images:t}){var i,e,l,a;if(!t||(t==null?void 0:t.length)===0)return null;function n(d,p,v,u,b){return(0,g.jsx)("div",{className:`overflow-hidden rounded ${b}`,children:(0,g.jsx)(Nt.Image,{className:"object-cover g-full h-auto",src:d,sizes:"100vw",width:v,height:u,alt:p!=null?p:"feature-image"})})}return(0,g.jsxs)("div",{className:"g-full lg:g-1/2",children:[(0,g.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:g-2/3",children:((i=t[0])==null?void 0:i.image)&&n(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:g-1/3",children:((e=t[1])==null?void 0:e.image)&&n(t[1].image,t[1].alt,166,128,"")})]}),(0,g.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:g-1/3",children:((l=t[2])==null?void 0:l.image)&&n(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:g-2/3",children:((a=t[3])==null?void 0:a.image)&&n(t[3].image,t[3].alt,356,192,"")})]})]})}var Xt,A,J,Nt,Ft,W,ht,g,nt=N(()=>{"use strict";Xt=require("@stackshift-ui/heading")});var mn={};h(mn,{Features_G:()=>ot,default:()=>ot});function ot({caption:t,title:n,description:i,images:e,tags:l}){return(0,g.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,g.jsx)(W.Container,{maxWidth:1280,children:(0,g.jsxs)(ht.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"g-full px-4 mb-12 lg:mb-0 lg:g-1/2",children:(0,g.jsxs)(W.Container,{maxWidth:448,children:[(0,g.jsx)(jn,{caption:t,title:n,description:i}),(0,g.jsx)(Vn,{tags:l})]})}),(0,g.jsx)(Gn,{images:e})]})})})}function jn({caption:t,title:n,description:i}){return(0,g.jsxs)(ln.default.Fragment,{children:[t&&(0,g.jsx)(A.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,g.jsx)(ft.Heading,{fontSize:"3xl",className:"mb-3",children:n}),i&&(0,g.jsx)(A.Text,{muted:!0,className:"mb-6 leading-loose ",children:i})]})}function Vn({tags:t}){return t?(0,g.jsx)("ul",{className:"font-bold text-gray-500",children:t.map(n=>(0,g.jsx)(Mn,{item:n}))}):null}function Mn({item:t}){return t?(0,g.jsxs)(ht.Flex,{as:"li",align:"center",className:"mb-2 ",children:[(0,g.jsx)("svg",{className:"g-5 h-5 mr-2 text-primary-foreground",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,g.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,g.jsx)("span",{children:t})]}):null}function Gn({images:t}){var i,e,l,a;if(!t||(t==null?void 0:t.length)===0)return null;function n(d,p,v,u,b){return(0,g.jsx)("div",{className:`overflow-hidden rounded ${b}`,children:(0,g.jsx)(Nt.Image,{className:"object-cover g-full h-auto",src:d,sizes:"100vw",width:v,height:u,alt:p!=null?p:"feature-image"})})}return(0,g.jsxs)("div",{className:"g-full lg:g-1/2",children:[(0,g.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:g-2/3",children:((i=t[0])==null?void 0:i.image)&&n(t[0].image,t[0].alt,356,192,"h-[269px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:g-1/3",children:((e=t[1])==null?void 0:e.image)&&n(t[1].image,t[1].alt,166,128,"")})]}),(0,g.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:g-1/3",children:((l=t[2])==null?void 0:l.image)&&n(t[2].image,t[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:g-2/3",children:((a=t[3])==null?void 0:a.image)&&n(t[3].image,t[3].alt,356,192,"")})]})]})}var ln,ft,A,Nt,Ft,W,ht,g,rt=N(()=>{"use strict";ln=F(require("react"))});var pn={};h(pn,{Features_H:()=>st,default:()=>st});function st({caption:t,title:n,features:i,images:e}){return(0,g.jsx)(Ft.Section,{className:"py-20 bg-background",children:(0,g.jsx)(W.Container,{maxWidth:1280,children:(0,g.jsxs)(ht.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"g-full mb-12 lg:mb-0 lg:g-1/2",children:(0,g.jsxs)(W.Container,{maxWidth:448,children:[(0,g.jsx)(Bn,{caption:t,title:n}),(0,g.jsx)(Dn,{features:i})]})}),(0,g.jsx)(Jn,{images:e})]})})})}function Bn({caption:t,title:n}){return(0,g.jsxs)(an.default.Fragment,{children:[t&&(0,g.jsx)(A.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,g.jsx)(ft.Heading,{fontSize:"3xl",className:"mb-6",children:n})]})}function Dn({features:t}){return!t||(t==null?void 0:t.length)<=0?null:(0,g.jsx)("ul",{children:t.map(n=>(0,g.jsx)(En,{feature:n},n._key))})}function En({feature:t}){return t?(0,g.jsxs)(ht.Flex,{as:"li",children:[(0,g.jsx)(qn,{}),(0,g.jsxs)("div",{className:"max-g-xs",children:[(0,g.jsx)(A.Text,{weight:"bold",children:t==null?void 0:t.title}),(0,g.jsx)(A.Text,{muted:!0,className:"leading-loose ",children:t==null?void 0:t.plainText})]})]}):null}function qn(){return(0,g.jsx)("svg",{className:"g-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,g.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 Jn({images:t}){var n,i,e,l,a,d,p,v,u,b,y,C;return!t||(t==null?void 0:t.length)===0?null:(0,g.jsxs)("div",{className:"items-center g-full px-4 sm:flex md:px-0 lg:g-1/2",children:[(0,g.jsxs)("div",{className:"mb-5 sm:mb-0 sm:g-1/2",children:[((n=t==null?void 0:t[0])==null?void 0:n.image)&&(0,g.jsx)(Nt.Image,{className:"object-cover overflow-hidden rounded-xl",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:(l=(e=t==null?void 0:t[0])==null?void 0:e.alt)!=null?l:"features-image-1"}),((a=t==null?void 0:t[1])==null?void 0:a.image)&&(0,g.jsx)(Nt.Image,{className:"object-cover W-6 overflow-hidden rounded-xl",src:`${(d=t==null?void 0:t[1])==null?void 0:d.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"})]}),((u=t==null?void 0:t[2])==null?void 0:u.image)&&(0,g.jsx)(Nt.Image,{className:"object-cover overflow-hidden rounded-xl sm:ml-6 sm:g-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:(C=(y=t==null?void 0:t[2])==null?void 0:y.alt)!=null?C:"features-image-3"})]})}var an,ft,A,Nt,Ft,W,ht,g,ct=N(()=>{"use strict";an=F(require("react"))});var Un={};h(Un,{Features:()=>gn,Features_A:()=>_,Features_B:()=>$,Features_C:()=>M,Features_D:()=>D,Features_E:()=>Q,Features_F:()=>tt,Features_G:()=>ot,Features_H:()=>st});module.exports=hn(Un);var f=require("react"),Kn={variant_a:(0,f.lazy)(()=>Promise.resolve().then(()=>(H(),Tt))),variant_b:(0,f.lazy)(()=>Promise.resolve().then(()=>(j(),It))),variant_c:(0,f.lazy)(()=>Promise.resolve().then(()=>(G(),Wt))),variant_d:(0,f.lazy)(()=>Promise.resolve().then(()=>(E(),Bt))),variant_e:(0,f.lazy)(()=>Promise.resolve().then(()=>(U(),Ut))),variant_f:(0,f.lazy)(()=>Promise.resolve().then(()=>(nt(),nn))),variant_g:(0,f.lazy)(()=>Promise.resolve().then(()=>(rt(),mn))),variant_h:(0,f.lazy)(()=>Promise.resolve().then(()=>(ct(),pn)))},Qn="Features",gn=({data:t})=>{var l,a,d,p,v,u,b,y,C,pt,gt,xt,dt,wt,vt,ut;let n=t==null?void 0:t.variant,i=n&&Kn[n],e={caption:(a=(l=t==null?void 0:t.variants)==null?void 0:l.caption)!=null?a:void 0,title:(p=(d=t==null?void 0:t.variants)==null?void 0:d.title)!=null?p:void 0,description:(u=(v=t==null?void 0:t.variants)==null?void 0:v.description)!=null?u:void 0,features:(y=(b=t==null?void 0:t.variants)==null?void 0:b.arrayOfImageTitleAndText)!=null?y:void 0,tags:(pt=(C=t==null?void 0:t.variants)==null?void 0:C.tags)!=null?pt:void 0,featuredItems:(xt=(gt=t==null?void 0:t.variants)==null?void 0:gt.featuredItems)!=null?xt:void 0,images:(wt=(dt=t==null?void 0:t.variants)==null?void 0:dt.images)!=null?wt:void 0,primaryButton:(ut=(vt=t==null?void 0:t.variants)==null?void 0:vt.primaryButton)!=null?ut:void 0};return i?(0,g.jsx)(i,{...e}):null};gn.displayName=Qn;H();j();G();E();U();nt();rt();ct();0&&(module.exports={Features,Features_A,Features_B,Features_C,Features_D,Features_E,Features_F,Features_G,Features_H});
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";import{a as p}from"./chunk-N5NYGJGG.mjs";import{a as x}from"./chunk-6F4XIN3R.mjs";import{a as c}from"./chunk-
|
|
2
|
+
"use strict";import{a as p}from"./chunk-N5NYGJGG.mjs";import{a as x}from"./chunk-6F4XIN3R.mjs";import{a as c}from"./chunk-XOSBSNA7.mjs";import{a as o}from"./chunk-GGPLBP3I.mjs";import{a as r}from"./chunk-JLMJ5WKU.mjs";import{a as e}from"./chunk-VJX6I62Q.mjs";import{a as t}from"./chunk-PLE2ZDCT.mjs";import{a as f}from"./chunk-CUE2SXLU.mjs";import{a as m}from"./chunk-LXDA6H5R.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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stackshift-ui/features",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.1",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"main": "./dist/index.js",
|
|
@@ -28,21 +28,21 @@
|
|
|
28
28
|
"typescript": "^5.6.2",
|
|
29
29
|
"vite-tsconfig-paths": "^5.0.1",
|
|
30
30
|
"vitest": "^2.1.1",
|
|
31
|
-
"@stackshift-ui/
|
|
32
|
-
"@stackshift-ui/
|
|
31
|
+
"@stackshift-ui/eslint-config": "1.0.0",
|
|
32
|
+
"@stackshift-ui/typescript-config": "2.0.0"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"classnames": "^2.5.1",
|
|
36
|
-
"@stackshift-ui/
|
|
36
|
+
"@stackshift-ui/scripts": "1.0.0",
|
|
37
37
|
"@stackshift-ui/system": "2.0.0",
|
|
38
|
-
"@stackshift-ui/button": "1.0.0",
|
|
39
38
|
"@stackshift-ui/image": "1.0.0",
|
|
40
|
-
"@stackshift-ui/
|
|
41
|
-
"@stackshift-ui/
|
|
39
|
+
"@stackshift-ui/heading": "1.0.0",
|
|
40
|
+
"@stackshift-ui/button": "1.0.0",
|
|
42
41
|
"@stackshift-ui/card": "1.0.0",
|
|
43
42
|
"@stackshift-ui/flex": "1.0.0",
|
|
43
|
+
"@stackshift-ui/section": "1.0.0",
|
|
44
44
|
"@stackshift-ui/container": "1.0.0",
|
|
45
|
-
"@stackshift-ui/
|
|
45
|
+
"@stackshift-ui/text": "1.0.0"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"@types/react": "16.8 - 19",
|
package/dist/chunk-COGBUBVM.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import s from"react";import{Heading as d}from"@stackshift-ui/heading";import{Text as a}from"@stackshift-ui/text";import{Card as c}from"@stackshift-ui/card";import{Image as g}from"@stackshift-ui/image";import{Section as p}from"@stackshift-ui/section";import{Container as r}from"@stackshift-ui/container";import{Flex as x}from"@stackshift-ui/flex";import{jsx as t,jsxs as o}from"react/jsx-runtime";function b({caption:m,title:i,features:n}){return t(p,{className:"py-20 bg-background",children:o(r,{maxWidth:1280,children:[t(r,{maxWidth:448,className:"mb-16 text-center ",children:t(T,{caption:m,title:i})}),t(w,{features:n})]})})}function T({caption:m,title:i}){return o(s.Fragment,{children:[m?t(a,{weight:"bold",className:"text-secondary",children:m}):null,i?t(d,{fontSize:"3xl",children:i}):null]})}function w({features:m}){return m?t(x,{wrap:!0,justify:"start",className:"-mx-3",children:m.map(i=>t(N,{feature:i},i._key))}):null}function N({feature:m}){var i,n,l,e;return t("div",{className:"w-full px-3 mb-6 lg:w-1/2",children:o(c,{className:"flex flex-wrap h-full p-6",children:[t("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary-foreground md:p-5 lg:mb-0",children:((i=m==null?void 0:m.mainImage)==null?void 0:i.image)&&t(g,{className:"object-scale-down",src:`${(n=m==null?void 0:m.mainImage)==null?void 0:n.image}`,width:40,height:40,alt:(e=(l=m==null?void 0:m.mainImage)==null?void 0:l.alt)!=null?e:"features-main-image"})}),o("div",{className:"w-full lg:w-2/3",children:[t(a,{fontSize:"2xl",weight:"bold",className:"mb-2",children:m==null?void 0:m.title}),t(a,{muted:!0,children:m==null?void 0:m.plainText})]})]})})}export{b as a};
|
package/dist/chunk-OBAKBGYI.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import s from"react";import{Heading as p}from"@stackshift-ui/heading";import{Text as o}from"@stackshift-ui/text";import{Card as c}from"@stackshift-ui/card";import{Image as d}from"@stackshift-ui/image";import{Section as g}from"@stackshift-ui/section";import{Container as l}from"@stackshift-ui/container";import{Flex as x}from"@stackshift-ui/flex";import{jsx as i,jsxs as e}from"react/jsx-runtime";function T({caption:t,title:m,features:n}){return i(g,{className:"py-20 bg-background",children:e(l,{maxWidth:1280,children:[i(l,{maxWidth:448,className:"mb-8 text-center",children:i(b,{caption:t,title:m})}),i(y,{features:n})]})})}function b({caption:t,title:m}){return e(s.Fragment,{children:[t?i(o,{weight:"bold",className:"text-primary",children:t}):null,m?i(p,{fontSize:"3xl",children:m}):null]})}function y({features:t}){return t?i(x,{wrap:!0,justify:"center",children:t.map(m=>i(F,{feature:m},m._key))}):null}function F({feature:t}){var m,n,r,a;return i("div",{className:"w-full px-4 mt-8 lg:mb-0 lg:w-1/3",children:e(c,{className:"h-full px-6 py-12 text-center",children:[i("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary-foreground md:p-5",children:((m=t==null?void 0:t.mainImage)==null?void 0:m.image)&&i(d,{className:"object-scale-down",src:`${(n=t==null?void 0:t.mainImage)==null?void 0:n.image}`,width:40,height:40,alt:(a=(r=t==null?void 0:t.mainImage)==null?void 0:r.alt)!=null?a:"features-image-"})}),i(o,{fontSize:"xl",weight:"bold",className:"px-8 mb-4",children:t==null?void 0:t.title}),i(o,{muted:!0,children:t==null?void 0:t.plainText})]})})}export{T as a};
|
package/dist/chunk-Q53BTSJI.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import s from"react";import{Heading as e}from"@stackshift-ui/heading";import{Text as l}from"@stackshift-ui/text";import{Image as p}from"@stackshift-ui/image";import{Section as c}from"@stackshift-ui/section";import{Container as g}from"@stackshift-ui/container";import{Flex as d}from"@stackshift-ui/flex";import{jsx as m,jsxs as o}from"react/jsx-runtime";function x({caption:n,title:i,features:t}){return m(c,{className:"py-20 bg-background",children:o(g,{maxWidth:1280,children:[m(g,{maxWidth:448,className:"mb-16 text-center ",children:m(I,{caption:n,title:i})}),m(d,{wrap:!0,children:m(F,{features:t})})]})})}function I({caption:n,title:i}){return o(s.Fragment,{children:[n?m(l,{weight:"bold",className:"text-secondary",children:n}):null,i?m(e,{fontSize:"3xl",children:i}):null]})}function F({features:n}){return n?m(s.Fragment,{children:n==null?void 0:n.map(i=>m(b,{feature:i},i._key))}):null}function b({feature:n}){var i;return o("div",{className:"w-full px-4 mt-16 mb-12 md:w-1/2 lg:mb-0 lg:w-1/4",children:[(i=n==null?void 0:n.mainImage)!=null&&i.image?m(T,{feature:n}):null,n!=null&&n.title?m(l,{weight:"bold",className:"mb-4",fontSize:"xl",children:n==null?void 0:n.title}):null,n!=null&&n.plainText?m(l,{muted:!0,className:"leading-loose",children:n==null?void 0:n.plainText}):null]})}function T({feature:n}){var i,t,a,r;return(i=n==null?void 0:n.mainImage)!=null&&i.image?m("span",{className:"inline-block p-3 mb-4 rounded bg-secondary-foreground text-primary-foreground md:mb-6",children:m(p,{className:"object-scale-down",src:`${(t=n==null?void 0:n.mainImage)==null?void 0:t.image}`,width:40,height:40,alt:(r=(a=n==null?void 0:n.mainImage)==null?void 0:a.alt)!=null?r:"features-image-"})}):null}export{x as a};
|
|
File without changes
|