@stackshift-ui/features 7.0.0-beta.7 → 7.0.0-beta.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +13 -13
- package/src/features_b.tsx +0 -1
- package/src/features_h.tsx +0 -1
- package/dist/chunk-2ZMZT34T.mjs +0 -1
- package/dist/chunk-4EWXUBOB.mjs +0 -1
- package/dist/chunk-FTSR7WIU.mjs +0 -1
- package/dist/chunk-G6RGNQG4.mjs +0 -1
- package/dist/chunk-URBAFHHX.mjs +0 -1
- package/dist/chunk-VAA2TWIH.mjs +0 -1
- package/dist/chunk-W24RHXVA.mjs +0 -1
- package/dist/chunk-W2ZOZPQE.mjs +0 -1
- package/dist/chunk-Z3NQ3WOW.mjs +0 -1
- package/dist/features.d.ts +0 -23
- package/dist/features.js +0 -1
- package/dist/features.mjs +0 -1
- package/dist/features_a.d.ts +0 -3
- package/dist/features_a.js +0 -1
- package/dist/features_a.mjs +0 -1
- package/dist/features_b.d.ts +0 -3
- package/dist/features_b.js +0 -1
- package/dist/features_b.mjs +0 -1
- package/dist/features_c.d.ts +0 -3
- package/dist/features_c.js +0 -1
- package/dist/features_c.mjs +0 -1
- package/dist/features_d.d.ts +0 -3
- package/dist/features_d.js +0 -1
- package/dist/features_d.mjs +0 -1
- package/dist/features_e.d.ts +0 -3
- package/dist/features_e.js +0 -1
- package/dist/features_e.mjs +0 -1
- package/dist/features_f.d.ts +0 -3
- package/dist/features_f.js +0 -1
- package/dist/features_f.mjs +0 -1
- package/dist/features_g.d.ts +0 -3
- package/dist/features_g.js +0 -1
- package/dist/features_g.mjs +0 -1
- package/dist/features_h.d.ts +0 -3
- package/dist/features_h.js +0 -1
- package/dist/features_h.mjs +0 -1
- package/dist/index.d.ts +0 -9
- package/dist/index.js +0 -2
- package/dist/index.mjs +0 -2
- package/dist/types.d.ts +0 -362
- package/dist/types.js +0 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stackshift-ui/features",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "7.0.0-beta.
|
|
4
|
+
"version": "7.0.0-beta.9",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"main": "./dist/index.js",
|
|
@@ -34,24 +34,24 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"classnames": "^2.5.1",
|
|
37
|
-
"@stackshift-ui/system": "
|
|
38
|
-
"@stackshift-ui/heading": "7.0.0-beta.
|
|
39
|
-
"@stackshift-ui/text": "7.0.0-beta.
|
|
40
|
-
"@stackshift-ui/
|
|
41
|
-
"@stackshift-ui/
|
|
42
|
-
"@stackshift-ui/
|
|
43
|
-
"@stackshift-ui/
|
|
44
|
-
"@stackshift-ui/
|
|
45
|
-
"@stackshift-ui/
|
|
46
|
-
"@stackshift-ui/
|
|
47
|
-
"@stackshift-ui/link": "
|
|
37
|
+
"@stackshift-ui/system": "7.0.0-beta.4",
|
|
38
|
+
"@stackshift-ui/heading": "7.0.0-beta.4",
|
|
39
|
+
"@stackshift-ui/text": "7.0.0-beta.4",
|
|
40
|
+
"@stackshift-ui/image": "7.0.0-beta.5",
|
|
41
|
+
"@stackshift-ui/button": "7.0.0-beta.6",
|
|
42
|
+
"@stackshift-ui/card": "7.0.0-beta.4",
|
|
43
|
+
"@stackshift-ui/section": "7.0.0-beta.4",
|
|
44
|
+
"@stackshift-ui/flex": "7.0.0-beta.4",
|
|
45
|
+
"@stackshift-ui/scripts": "7.0.0-beta.3",
|
|
46
|
+
"@stackshift-ui/container": "7.0.0-beta.4",
|
|
47
|
+
"@stackshift-ui/link": "7.0.0-beta.4"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"@types/react": "16.8 - 19",
|
|
51
51
|
"next": "10 - 14",
|
|
52
52
|
"react": "16.8 - 19",
|
|
53
53
|
"react-dom": "16.8 - 19",
|
|
54
|
-
"@stackshift-ui/system": ">=
|
|
54
|
+
"@stackshift-ui/system": ">=7.0.0-beta.4"
|
|
55
55
|
},
|
|
56
56
|
"peerDependenciesMeta": {
|
|
57
57
|
"next": {
|
package/src/features_b.tsx
CHANGED
|
@@ -5,7 +5,6 @@ import { Heading } from "@stackshift-ui/heading";
|
|
|
5
5
|
import { Image } from "@stackshift-ui/image";
|
|
6
6
|
import { Section } from "@stackshift-ui/section";
|
|
7
7
|
import { Text } from "@stackshift-ui/text";
|
|
8
|
-
import React from "react";
|
|
9
8
|
import { FeaturesProps } from ".";
|
|
10
9
|
import { ArrayOfImageTitleAndText } from "./types";
|
|
11
10
|
|
package/src/features_h.tsx
CHANGED
|
@@ -4,7 +4,6 @@ import { Heading } from "@stackshift-ui/heading";
|
|
|
4
4
|
import { Image } from "@stackshift-ui/image";
|
|
5
5
|
import { Section } from "@stackshift-ui/section";
|
|
6
6
|
import { Text } from "@stackshift-ui/text";
|
|
7
|
-
import React from "react";
|
|
8
7
|
import { FeaturesProps } from ".";
|
|
9
8
|
import { ArrayOfImageTitleAndText } from "./types";
|
|
10
9
|
|
package/dist/chunk-2ZMZT34T.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Button as p}from"@stackshift-ui/button";import{Card as w,CardTitle as v}from"@stackshift-ui/card";import{Container as e}from"@stackshift-ui/container";import{Flex as N}from"@stackshift-ui/flex";import{Heading as b}from"@stackshift-ui/heading";import{Image as d}from"@stackshift-ui/image";import{Section as F}from"@stackshift-ui/section";import{Text as h}from"@stackshift-ui/text";import s from"react";import{jsx as l,jsxs as a}from"react/jsx-runtime";function C({featuredItems:o}){let[i,n]=s.useState(0);return l(F,{className:"py-20 overflow-x-auto bg-background",children:l(e,{maxWidth:1280,children:l(N,{className:"relative",children:l(z,{featuredItems:o,slider:t=>{o&&(t==="next"?i!==o.length-1?n(r=>r+1):n(0):i>=1?n(r=>r-1):n(o.length-1))},children:a("div",{className:"order-1 w-full ml-auto xl:w-4/5",children:[l(k,{featuredItems:o,item:i}),l(S,{featuredItems:o,item:i})]})})})})})}function k({featuredItems:o,item:i}){var n,x,t,r,m,c,g;return(x=(n=o==null?void 0:o[i])==null?void 0:n.mainImage)!=null&&x.image?l("div",{className:"mx-auto overflow-hidden rounded-md md:max-w-xl xl:max-w-4xl",children:l(d,{className:"relative object-cover rounded-md",src:`${(r=(t=o==null?void 0:o[i])==null?void 0:t.mainImage)==null?void 0:r.image}`,sizes:"100vw",width:896,height:575,alt:(g=(c=(m=o==null?void 0:o[i])==null?void 0:m.mainImage)==null?void 0:c.alt)!=null?g:`features-image-${i}`})}):null}function S({featuredItems:o,item:i}){var n,x,t,r,m,c;return o?a(w,{className:"top-0 left-0 max-w-xl p-6 mx-auto text-center bg-white md:mt-12 md:p-10 lg:mt-12 lg:p-10 xl:absolute xl:mx-0 xl:mt-20 xl:py-24 rounded-md",children:[l(h,{weight:"bold",className:"text-xs lg:text-md md:text-sm xl:text-lg text-secondary",children:((n=o==null?void 0:o[i])==null?void 0:n.subtitle)&&((x=o==null?void 0:o[i])==null?void 0:x.subtitle)}),l(v,{children:l(b,{fontSize:"3xl",children:((t=o==null?void 0:o[i])==null?void 0:t.title)&&((r=o==null?void 0:o[i])==null?void 0:r.title)})}),l(h,{muted:!0,className:"text-xs leading-loose text-center md:mt-5 md:text-sm lg:mt-5 lg:text-sm",children:((m=o==null?void 0:o[i])==null?void 0:m.description)&&((c=o==null?void 0:o[i])==null?void 0:c.description)})]}):null}function z({featuredItems:o,children:i,slider:n}){return o?a(s.Fragment,{children:[l("div",{className:"absolute left-0 z-40 items-center mt-20 -mx-3 order-0 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(o==null?void 0:o.length)>=2&&l(p,{"aria-label":"Show Previous Feature",className:"z-10 p-4 text-white ",onClick:()=>n("prev"),children:l("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:l("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M10 19l-7-7m0 0l7-7m-7 7h18"})})})}),i,l("div",{className:"absolute right-0 z-40 items-center order-2 mt-20 -mx-3 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(o==null?void 0:o.length)>=2&&l(p,{"aria-label":"Show Next Feature",className:"p-4 text-white ",onClick:()=>n("next"),children:l("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:l("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M14 5l7 7m0 0l-7 7m7-7H3"})})})})]}):null}export{C as a};
|
package/dist/chunk-4EWXUBOB.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Container as g}from"@stackshift-ui/container";import{Flex as a}from"@stackshift-ui/flex";import{Heading as e}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{jsx as i,jsxs as s}from"react/jsx-runtime";function p({caption:n,title:t,description:m,features:l}){return i(d,{className:"py-20 bg-background",children:s(g,{maxWidth:1280,children:[i(g,{maxWidth:640,className:"mb-16 text-center",children:i(x,{caption:n,title:t,description:m})}),i(I,{features:l})]})})}function x({caption:n,title:t,description:m}){return s(a,{direction:"col",gap:3,align:"center",children:[n?i(o,{weight:"bold",className:"text-secondary",children:n}):null,t?i(e,{fontSize:"3xl",children:t}):null,m?i(o,{muted:!0,children:m}):null]})}function I({features:n}){return n?i("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6",children:n==null?void 0:n.map(t=>i(T,{feature:t},t._key))}):null}function T({feature:n}){var t;return s("div",{className:"text-center sm:text-start p-3",children:[(t=n==null?void 0:n.mainImage)!=null&&t.image?i(b,{feature:n}):null,n!=null&&n.title?i(o,{weight:"bold",className:"mb-4 text-gray-500",fontSize:"xl",children:n==null?void 0:n.title}):null,n!=null&&n.plainText?i(o,{muted:!0,children:n==null?void 0:n.plainText}):null]})}function b({feature:n}){var t,m,l,r;return(t=n==null?void 0:n.mainImage)!=null&&t.image?i("span",{className:"inline-block p-3 mb-4 rounded bg-secondary/50 text-primary-foreground md:mb-6",children:i(c,{className:"object-scale-down",src:`${(m=n==null?void 0:n.mainImage)==null?void 0:m.image}`,width:40,height:40,alt:(r=(l=n==null?void 0:n.mainImage)==null?void 0:l.alt)!=null?r:"features-image-"})}):null}export{p as a};
|
package/dist/chunk-FTSR7WIU.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Container as s}from"@stackshift-ui/container";import{Flex as c}from"@stackshift-ui/flex";import{Heading as N}from"@stackshift-ui/heading";import{Image as d}from"@stackshift-ui/image";import{Section as b}from"@stackshift-ui/section";import{Text as i}from"@stackshift-ui/text";import{jsx as r,jsxs as o}from"react/jsx-runtime";function T({caption:t,title:n,features:l,images:e}){return r(b,{className:"py-20 bg-background",children:r(s,{maxWidth:1280,children:o(c,{wrap:!0,align:"center",children:[r("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:o(s,{maxWidth:448,children:[r(y,{caption:t,title:n}),r(F,{features:l})]})}),r(I,{images:e})]})})})}function y({caption:t,title:n}){return o(c,{gap:3,direction:"col",children:[t&&r(i,{weight:"bold",className:"text-secondary",children:t}),n&&r(N,{fontSize:"3xl",className:"mb-6",children:n})]})}function F({features:t}){return!t||(t==null?void 0:t.length)<=0?null:r("ul",{children:t.map(n=>r(k,{feature:n},n._key))})}function k({feature:t}){return t?o(c,{as:"li",className:"mb-5",children:[r(A,{}),o("div",{className:"max-w-xs",children:[r(i,{weight:"bold",className:"text-gray-500",children:t==null?void 0:t.title}),r(i,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText})]})]}):null}function A(){return r("svg",{className:"w-8 h-8 mr-3 text-primary",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:r("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 I({images:t}){var n,l,e,m,x,a,w,p,h,u,v,f;return!t||(t==null?void 0:t.length)===0?null:o("div",{className:"items-center w-full px-4 sm:flex md:px-0 lg:w-1/2",children:[o("div",{className:"mb-5 sm:mb-0 sm:w-1/2",children:[((n=t==null?void 0:t[0])==null?void 0:n.image)&&r(d,{className:"object-cover overflow-hidden rounded-md",src:`${(l=t==null?void 0:t[0])==null?void 0:l.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(m=(e=t==null?void 0:t[0])==null?void 0:e.alt)!=null?m:"features-image-1"}),((x=t==null?void 0:t[1])==null?void 0:x.image)&&r(d,{className:"object-cover mt-6 overflow-hidden rounded-md",src:`${(a=t==null?void 0:t[1])==null?void 0:a.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(p=(w=t==null?void 0:t[1])==null?void 0:w.alt)!=null?p:"features-image-2"})]}),((h=t==null?void 0:t[2])==null?void 0:h.image)&&r(d,{className:"object-cover overflow-hidden rounded-md sm:ml-6 sm:w-1/2",src:`${(u=t==null?void 0:t[2])==null?void 0:u.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(f=(v=t==null?void 0:t[2])==null?void 0:v.alt)!=null?f:"features-image-3"})]})}export{T as a};
|
package/dist/chunk-G6RGNQG4.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Container as d}from"@stackshift-ui/container";import{Flex as o}from"@stackshift-ui/flex";import{Heading as x}from"@stackshift-ui/heading";import{Image as v}from"@stackshift-ui/image";import{Section as w}from"@stackshift-ui/section";import{Text as u}from"@stackshift-ui/text";import{jsx as l,jsxs as a}from"react/jsx-runtime";function h({caption:e,title:t,description:r,images:i,tags:n}){return l(w,{className:"py-20 bg-background",children:l(d,{maxWidth:1280,children:a(o,{wrap:!0,align:"center",children:[l("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:a(d,{maxWidth:448,children:[l(b,{caption:e,title:t,description:r}),l(N,{tags:n})]})}),l(y,{images:i})]})})})}function b({caption:e,title:t,description:r}){return a(o,{direction:"col",gap:3,children:[e&&l(u,{weight:"bold",className:"text-secondary",children:e}),t&&l(x,{fontSize:"3xl",className:"mb-3",children:t}),r&&l(u,{muted:!0,className:"mb-6 leading-loose ",children:r})]})}function N({tags:e}){return e?l("ul",{className:"font-bold text-gray-500",children:e.map(t=>l(F,{item:t}))}):null}function F({item:e}){return e?a(o,{as:"li",align:"center",className:"mb-2 ",children:[l("svg",{className:"w-5 h-5 mr-2 text-primary",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:l("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"})}),l("span",{children:e})]}):null}function y({images:e}){var r,i,n,s;if(!e||(e==null?void 0:e.length)===0)return null;function t(c,m,g,f,p){return l("div",{className:`overflow-hidden rounded-md ${p}`,children:l(v,{className:"object-cover w-full h-full",src:c,sizes:"100vw",width:g,height:f,alt:m!=null?m:"feature-image"})})}return a("div",{className:"w-full lg:w-1/2",children:[a("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[l("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((r=e[0])==null?void 0:r.image)&&t(e[0].image,e[0].alt,356,192,"h-[269px]")}),l("div",{className:"h-full px-3 lg:w-1/3",children:((i=e[1])==null?void 0:i.image)&&t(e[1].image,e[1].alt,166,128,"")})]}),a("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[l("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((n=e[2])==null?void 0:n.image)&&t(e[2].image,e[2].alt,166,128,"h-[269px] lg:h-[126px]")}),l("div",{className:"h-full px-3 lg:w-2/3",children:((s=e[3])==null?void 0:s.image)&&t(e[3].image,e[3].alt,356,192,"")})]})]})}export{h as a};
|
package/dist/chunk-URBAFHHX.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Card as d,CardTitle as c}from"@stackshift-ui/card";import{Container as r}from"@stackshift-ui/container";import{Flex as s}from"@stackshift-ui/flex";import{Heading as g}from"@stackshift-ui/heading";import{Image as p}from"@stackshift-ui/image";import{Section as x}from"@stackshift-ui/section";import{Text as l}from"@stackshift-ui/text";import{jsx as i,jsxs as o}from"react/jsx-runtime";function T({caption:t,title:n,description:e,features:m}){return i(x,{className:"py-20 bg-background",children:o(r,{maxWidth:1280,children:[i(r,{maxWidth:640,className:"mb-8 text-center",children:i(b,{caption:t,title:n,description:e})}),i(y,{features:m})]})})}function b({caption:t,title:n,description:e}){return o(s,{direction:"col",gap:3,align:"center",children:[t?i(l,{weight:"bold",className:"text-secondary",children:t}):null,n?i(g,{fontSize:"3xl",children:n}):null,e?i(l,{muted:!0,className:"mb-6 leading-loose",children:e}):null]})}function y({features:t}){return t?i(s,{wrap:!0,justify:"center",align:"stretch",children:t.map(n=>i(h,{feature:n},n._key))}):null}function h({feature:t}){var n,e,m,a;return i("div",{className:"w-full px-4 mt-8 lg:mb-0 lg:w-1/3",children:o(d,{className:"h-full px-6 py-12 text-center bg-white rounded-md",children:[i("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary/50 md:p-5",children:((n=t==null?void 0:t.mainImage)==null?void 0:n.image)&&i(p,{className:"object-scale-down",src:`${(e=t==null?void 0:t.mainImage)==null?void 0:e.image}`,width:40,height:40,alt:(a=(m=t==null?void 0:t.mainImage)==null?void 0:m.alt)!=null?a:"features-image-"})}),i(c,{className:"px-8 mb-4 text-gray-500 font-bold text-xl",children:t==null?void 0:t.title}),i(l,{muted:!0,children:t==null?void 0:t.plainText})]})})}export{T as a};
|
package/dist/chunk-VAA2TWIH.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Card as c}from"@stackshift-ui/card";import{Container as d}from"@stackshift-ui/container";import{Flex as s}from"@stackshift-ui/flex";import{Heading as p}from"@stackshift-ui/heading";import{Image as x}from"@stackshift-ui/image";import{Section as b}from"@stackshift-ui/section";import{Text as t}from"@stackshift-ui/text";import{jsx as m,jsxs as a}from"react/jsx-runtime";function w({caption:i,title:l,description:o,features:n,tags:e}){return m(b,{className:"py-20 bg-background",children:m(d,{maxWidth:1280,children:a(s,{wrap:!0,align:"center",children:[m("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:a(d,{maxWidth:448,children:[m(h,{caption:i,title:l,description:o}),m(N,{tags:e})]})}),m(T,{features:n})]})})})}function h({caption:i,title:l,description:o}){return a(s,{direction:"col",gap:3,children:[i&&m(t,{weight:"bold",className:"text-secondary",children:i}),l&&m(p,{fontSize:"3xl",children:l}),o&&m(t,{muted:!0,className:"mb-6 leading-loose",children:o})]})}function N({tags:i}){return i?m("ul",{children:i&&i.map(l=>a(s,{as:"li",className:"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(t,{muted:!0,weight:"bold",children:l})]},l))}):null}function T({features:i}){return i?m(s,{wrap:!0,align:"stretch",className:"w-full lg:w-1/2",children:i&&(i==null?void 0:i.map((l,o)=>{var n,e,r,g;return m("div",{className:`w-full px-4 mb-8 md:w-1/2 ${o%2===0?"lg:mb-0":"lg:mt-12"}`,children:a(c,{className:"py-6 pl-6 pr-4 mb-8 bg-white rounded-md",children:[((n=l==null?void 0:l.mainImage)==null?void 0:n.image)&&m("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary/50",children:m(x,{className:"object-scale-down",src:`${(e=l==null?void 0:l.mainImage)==null?void 0:e.image}`,width:40,height:40,alt:(g=(r=l==null?void 0:l.mainImage)==null?void 0:r.alt)!=null?g:`features-image-${o}`})}),m(t,{weight:"bold",className:"text-xl md:text-2xl mb-2 text-gray-500 break-normal",children:l==null?void 0:l.title}),m(t,{muted:!0,className:"leading-loose break-normal",children:l==null?void 0:l.plainText})]})},o)}))}):null}export{w as a};
|
package/dist/chunk-W24RHXVA.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Card as d,CardTitle as c}from"@stackshift-ui/card";import{Container as r}from"@stackshift-ui/container";import{Flex as s}from"@stackshift-ui/flex";import{Heading as g}from"@stackshift-ui/heading";import{Image as p}from"@stackshift-ui/image";import{Section as x}from"@stackshift-ui/section";import{Text as a}from"@stackshift-ui/text";import{jsx as l,jsxs as e}from"react/jsx-runtime";function b({caption:i,title:t,description:n,features:m}){return l(x,{className:"py-20 bg-background",children:e(r,{maxWidth:1800,children:[l(r,{maxWidth:640,className:"mb-16 text-center",children:l(T,{caption:i,title:t,description:n})}),l(N,{features:m})]})})}function T({caption:i,title:t,description:n}){return e(s,{direction:"col",gap:3,align:"center",children:[i?l(a,{weight:"bold",className:"text-secondary",children:i}):null,t?l(g,{fontSize:"3xl",children:t}):null,n?l(a,{muted:!0,className:"mb-6 leading-loose",children:n}):null]})}function N({features:i}){return i?l("div",{className:"lg:grid lg:grid-cols-2 gap-3",children:i.map(t=>l(C,{feature:t},t._key))}):null}function C({feature:i}){var t,n,m,o;return l("div",{className:"w-full p-3",children:e(d,{className:"flex h-full p-6 bg-white rounded-md",children:[l("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary/50 md:p-5 lg:mb-0",children:((t=i==null?void 0:i.mainImage)==null?void 0:t.image)&&l(p,{className:"object-scale-down",src:`${(n=i==null?void 0:i.mainImage)==null?void 0:n.image}`,width:40,height:40,alt:(o=(m=i==null?void 0:i.mainImage)==null?void 0:m.alt)!=null?o:"features-main-image"})}),e(s,{direction:"col",gap:2,className:"w-full",children:[l(c,{className:"text-xl md:text-2xl break-normal font-bold",children:i==null?void 0:i.title}),l(a,{muted:!0,className:"break-all",children:i==null?void 0:i.plainText})]})]})})}export{b as a};
|
package/dist/chunk-W2ZOZPQE.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Button as x}from"@stackshift-ui/button";import{Container as d}from"@stackshift-ui/container";import{Flex as s}from"@stackshift-ui/flex";import{Heading as h}from"@stackshift-ui/heading";import{Image as v}from"@stackshift-ui/image";import{Link as w}from"@stackshift-ui/link";import{Section as N}from"@stackshift-ui/section";import{buildSanityLink as p}from"@stackshift-ui/system";import{Text as f}from"@stackshift-ui/text";import{jsx as l,jsxs as a}from"react/jsx-runtime";function F({caption:e,title:t,description:i,images:r,primaryButton:n}){return l(N,{className:"py-20 bg-background",children:l(d,{maxWidth:1280,children:a(s,{wrap:!0,align:"center",children:[a(s,{direction:"col",className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:[l(C,{caption:e,title:t,description:i}),l(k,{primaryButton:n})]}),l(L,{images:r})]})})})}function C({caption:e,title:t,description:i}){return a(d,{maxWidth:448,className:"ml-0",children:[e&&l(f,{weight:"bold",className:"font-bold text-secondary",children:e}),t&&l(h,{fontSize:"3xl",className:"mb-6",children:t}),i&&l(f,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function k({primaryButton:e}){if(!(e!=null&&e.label))return null;let t=p(e);return l(d,{maxWidth:448,className:"ml-0",children:l(x,{"aria-label":e==null?void 0:e.label,asChild:!0,children:l(w,{href:t.href,target:t.target,rel:t.rel,children:e==null?void 0:e.label})})})}function L({images:e}){var i,r,n,m;if(!e||(e==null?void 0:e.length)===0)return null;function t(c,o,g,u,b){return l("div",{className:`overflow-hidden rounded-md ${b}`,children:l(v,{className:"object-cover w-full h-full",src:c,sizes:"100vw",width:g,height:u,alt:o!=null?o:"feature-image"})})}return a("div",{className:"w-full lg:w-1/2",children:[a("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[l("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((i=e[0])==null?void 0:i.image)&&t(e[0].image,e[0].alt,356,192,"h-[269px]")}),l("div",{className:"h-full px-3 lg:w-1/3",children:((r=e[1])==null?void 0:r.image)&&t(e[1].image,e[1].alt,166,128,"")})]}),a("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[l("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((n=e[2])==null?void 0:n.image)&&t(e[2].image,e[2].alt,166,128,"h-[269px] lg:h-[126px]")}),l("div",{className:"h-full px-3 lg:w-2/3",children:((m=e[3])==null?void 0:m.image)&&t(e[3].image,e[3].alt,356,192,"")})]})]})}export{F as a};
|
package/dist/chunk-Z3NQ3WOW.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as R}from"./chunk-G6RGNQG4.mjs";import{a as O}from"./chunk-FTSR7WIU.mjs";import{a as A}from"./chunk-4EWXUBOB.mjs";import{a as T}from"./chunk-VAA2TWIH.mjs";import{a as _}from"./chunk-W24RHXVA.mjs";import{a as x}from"./chunk-URBAFHHX.mjs";import{a as b}from"./chunk-2ZMZT34T.mjs";import{a as B}from"./chunk-W2ZOZPQE.mjs";import{jsx as N}from"react/jsx-runtime";var L={variant_a:A,variant_b:T,variant_c:_,variant_d:x,variant_e:b,variant_f:B,variant_g:R,variant_h:O},V="Features",C=({data:e})=>{var t,n,s,o,m,u,f,p,g,c,v,F,l,a,I,y;let r=e==null?void 0:e.variant,i=r&&L[r],P={caption:(n=(t=e==null?void 0:e.variants)==null?void 0:t.subtitle)!=null?n:void 0,title:(o=(s=e==null?void 0:e.variants)==null?void 0:s.title)!=null?o:void 0,description:(u=(m=e==null?void 0:e.variants)==null?void 0:m.description)!=null?u:void 0,features:(p=(f=e==null?void 0:e.variants)==null?void 0:f.arrayOfImageTitleAndText)!=null?p:void 0,tags:(c=(g=e==null?void 0:e.variants)==null?void 0:g.tags)!=null?c:void 0,featuredItems:(F=(v=e==null?void 0:e.variants)==null?void 0:v.featuredItems)!=null?F:void 0,images:(a=(l=e==null?void 0:e.variants)==null?void 0:l.images)!=null?a:void 0,primaryButton:(y=(I=e==null?void 0:e.variants)==null?void 0:I.primaryButton)!=null?y:void 0};return i?N(i,{...P}):null};C.displayName=V;export{C as a};
|
package/dist/features.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { ArrayOfImageTitleAndText, FeaturedItem, Images, LabeledRoute, SectionsProps } from "./types";
|
|
3
|
-
export interface FeaturesProps {
|
|
4
|
-
caption?: string;
|
|
5
|
-
title?: string;
|
|
6
|
-
description?: string;
|
|
7
|
-
features?: ArrayOfImageTitleAndText[];
|
|
8
|
-
tags?: string[];
|
|
9
|
-
featuredItems?: FeaturedItem[];
|
|
10
|
-
images?: Images[];
|
|
11
|
-
primaryButton?: LabeledRoute;
|
|
12
|
-
}
|
|
13
|
-
export interface FeaturesProps {
|
|
14
|
-
caption?: string;
|
|
15
|
-
title?: string;
|
|
16
|
-
description?: string;
|
|
17
|
-
features?: ArrayOfImageTitleAndText[];
|
|
18
|
-
tags?: string[];
|
|
19
|
-
featuredItems?: FeaturedItem[];
|
|
20
|
-
images?: Images[];
|
|
21
|
-
primaryButton?: LabeledRoute;
|
|
22
|
-
}
|
|
23
|
-
export declare const Features: React.FC<SectionsProps>;
|
package/dist/features.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var Bt=Object.create;var y=Object.defineProperty;var Dt=Object.getOwnPropertyDescriptor;var Et=Object.getOwnPropertyNames;var qt=Object.getPrototypeOf,Jt=Object.prototype.hasOwnProperty;var Kt=(t,l)=>{for(var i in l)y(t,i,{get:l[i],enumerable:!0})},ct=(t,l,i,n)=>{if(l&&typeof l=="object"||typeof l=="function")for(let e of Et(l))!Jt.call(t,e)&&e!==i&&y(t,e,{get:()=>l[e],enumerable:!(n=Dt(l,e))||n.enumerable});return t};var Qt=(t,l,i)=>(i=t!=null?Bt(qt(t)):{},ct(l||!t||!t.__esModule?y(i,"default",{value:t,enumerable:!0}):i,t)),Ut=t=>ct(y({},"__esModule",{value:!0}),t);var Al={};Kt(Al,{Features:()=>Gt});module.exports=Ut(Al);var W=require("@stackshift-ui/container"),dt=require("@stackshift-ui/flex"),pt=require("@stackshift-ui/heading"),gt=require("@stackshift-ui/image"),xt=require("@stackshift-ui/section"),F=require("@stackshift-ui/text"),g=require("react/jsx-runtime");function O({caption:t,title:l,description:i,features:n}){return(0,g.jsx)(xt.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(W.Container,{maxWidth:1280,children:[(0,g.jsx)(W.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,g.jsx)(Xt,{caption:t,title:l,description:i})}),(0,g.jsx)(Yt,{features:n})]})})}function Xt({caption:t,title:l,description:i}){return(0,g.jsxs)(dt.Flex,{direction:"col",gap:3,align:"center",children:[t?(0,g.jsx)(F.Text,{weight:"bold",className:"text-secondary",children:t}):null,l?(0,g.jsx)(pt.Heading,{fontSize:"3xl",children:l}):null,i?(0,g.jsx)(F.Text,{muted:!0,children:i}):null]})}function Yt({features:t}){return t?(0,g.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6",children:t==null?void 0:t.map(l=>(0,g.jsx)(Zt,{feature:l},l._key))}):null}function Zt({feature:t}){var l;return(0,g.jsxs)("div",{className:"text-center sm:text-start p-3",children:[(l=t==null?void 0:t.mainImage)!=null&&l.image?(0,g.jsx)(tl,{feature:t}):null,t!=null&&t.title?(0,g.jsx)(F.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)(F.Text,{muted:!0,children:t==null?void 0:t.plainText}):null]})}function tl({feature:t}){var l,i,n,e;return(l=t==null?void 0:t.mainImage)!=null&&l.image?(0,g.jsx)("span",{className:"inline-block p-3 mb-4 rounded bg-secondary/50 text-primary-foreground md:mb-6",children:(0,g.jsx)(gt.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(e=(n=t==null?void 0:t.mainImage)==null?void 0:n.alt)!=null?e:"features-image-"})}):null}var ut=require("@stackshift-ui/card");function $({caption:t,title:l,description:i,features:n,tags:e}){return(0,g.jsx)(xt.Section,{className:"py-20 bg-background",children:(0,g.jsx)(W.Container,{maxWidth:1280,children:(0,g.jsxs)(dt.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,g.jsxs)(W.Container,{maxWidth:448,children:[(0,g.jsx)(ll,{caption:t,title:l,description:i}),(0,g.jsx)(il,{tags:e})]})}),(0,g.jsx)(nl,{features:n})]})})})}function ll({caption:t,title:l,description:i}){return(0,g.jsxs)(dt.Flex,{direction:"col",gap:3,children:[t&&(0,g.jsx)(F.Text,{weight:"bold",className:"text-secondary",children:t}),l&&(0,g.jsx)(pt.Heading,{fontSize:"3xl",children:l}),i&&(0,g.jsx)(F.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function il({tags:t}){return t?(0,g.jsx)("ul",{children:t&&t.map(l=>(0,g.jsxs)(dt.Flex,{as:"li",className:"mb-4",children:[(0,g.jsx)("svg",{className:"w-6 F-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)(F.Text,{muted:!0,weight:"bold",children:l})]},l))}):null}function nl({features:t}){return t?(0,g.jsx)(dt.Flex,{wrap:!0,align:"stretch",className:"w-full lg:w-1/2",children:t&&(t==null?void 0:t.map((l,i)=>{var n,e,c,u;return(0,g.jsx)("div",{className:`w-full px-4 mb-8 md:w-1/2 ${i%2===0?"lg:mb-0":"lg:mt-12"}`,children:(0,g.jsxs)(ut.Card,{className:"py-6 pl-6 pr-4 mb-8 bg-white rounded-md",children:[((n=l==null?void 0:l.mainImage)==null?void 0:n.image)&&(0,g.jsx)("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary/50",children:(0,g.jsx)(gt.Image,{className:"object-scale-down",src:`${(e=l==null?void 0:l.mainImage)==null?void 0:e.image}`,width:40,height:40,alt:(u=(c=l==null?void 0:l.mainImage)==null?void 0:c.alt)!=null?u:`features-image-${i}`})}),(0,g.jsx)(F.Text,{weight:"bold",className:"text-xl md:text-2xl mb-2 text-gray-500 break-normal",children:l==null?void 0:l.title}),(0,g.jsx)(F.Text,{muted:!0,className:"leading-loose break-normal",children:l==null?void 0:l.plainText})]})},i)}))}):null}function G({caption:t,title:l,description:i,features:n}){return(0,g.jsx)(xt.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(W.Container,{maxWidth:1800,children:[(0,g.jsx)(W.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,g.jsx)(el,{caption:t,title:l,description:i})}),(0,g.jsx)(rl,{features:n})]})})}function el({caption:t,title:l,description:i}){return(0,g.jsxs)(dt.Flex,{direction:"col",gap:3,align:"center",children:[t?(0,g.jsx)(F.Text,{weight:"bold",className:"text-secondary",children:t}):null,l?(0,g.jsx)(pt.Heading,{fontSize:"3xl",children:l}):null,i?(0,g.jsx)(F.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function rl({features:t}){return t?(0,g.jsx)("div",{className:"lg:grid lg:grid-cols-2 gap-3",children:t.map(l=>(0,g.jsx)(ol,{feature:l},l._key))}):null}function ol({feature:t}){var l,i,n,e;return(0,g.jsx)("div",{className:"w-full p-3",children:(0,g.jsxs)(ut.Card,{className:"flex F-full p-6 bg-white rounded-md",children:[(0,g.jsx)("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary/50 md:p-5 lg:mb-0",children:((l=t==null?void 0:t.mainImage)==null?void 0:l.image)&&(0,g.jsx)(gt.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(e=(n=t==null?void 0:t.mainImage)==null?void 0:n.alt)!=null?e:"features-main-image"})}),(0,g.jsxs)(dt.Flex,{direction:"col",gap:2,className:"w-full",children:[(0,g.jsx)(ut.CardTitle,{className:"text-xl md:text-2xl break-normal font-bold",children:t==null?void 0:t.title}),(0,g.jsx)(F.Text,{muted:!0,className:"break-all",children:t==null?void 0:t.plainText})]})]})})}function D({caption:t,title:l,description:i,features:n}){return(0,g.jsx)(xt.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(W.Container,{maxWidth:1280,children:[(0,g.jsx)(W.Container,{maxWidth:640,className:"mb-8 text-center",children:(0,g.jsx)(ml,{caption:t,title:l,description:i})}),(0,g.jsx)(al,{features:n})]})})}function ml({caption:t,title:l,description:i}){return(0,g.jsxs)(dt.Flex,{direction:"col",gap:3,align:"center",children:[t?(0,g.jsx)(F.Text,{weight:"bold",className:"text-secondary",children:t}):null,l?(0,g.jsx)(pt.Heading,{fontSize:"3xl",children:l}):null,i?(0,g.jsx)(F.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function al({features:t}){return t?(0,g.jsx)(dt.Flex,{wrap:!0,justify:"center",align:"stretch",children:t.map(l=>(0,g.jsx)(sl,{feature:l},l._key))}):null}function sl({feature:t}){var l,i,n,e;return(0,g.jsx)("div",{className:"w-full px-4 mt-8 lg:mb-0 lg:w-1/3",children:(0,g.jsxs)(ut.Card,{className:"F-full px-6 py-12 text-center bg-white rounded-md",children:[(0,g.jsx)("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary/50 md:p-5",children:((l=t==null?void 0:t.mainImage)==null?void 0:l.image)&&(0,g.jsx)(gt.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(e=(n=t==null?void 0:t.mainImage)==null?void 0:n.alt)!=null?e:"features-image-"})}),(0,g.jsx)(ut.CardTitle,{className:"px-8 mb-4 text-gray-500 font-bold text-xl",children:t==null?void 0:t.title}),(0,g.jsx)(F.Text,{muted:!0,children:t==null?void 0:t.plainText})]})})}var E=require("@stackshift-ui/button"),J=Qt(require("react"));function K({featuredItems:t}){let[l,i]=J.default.useState(0);return(0,g.jsx)(xt.Section,{className:"py-20 overflow-g-auto bg-background",children:(0,g.jsx)(W.Container,{maxWidth:1280,children:(0,g.jsx)(dt.Flex,{className:"relative",children:(0,g.jsx)(pl,{featuredItems:t,slider:e=>{t&&(e==="next"?l!==t.length-1?i(c=>c+1):i(0):l>=1?i(c=>c-1):i(t.length-1))},children:(0,g.jsxs)("div",{className:"order-1 w-full ml-auto xl:w-4/5",children:[(0,g.jsx)(cl,{featuredItems:t,item:l}),(0,g.jsx)(dl,{featuredItems:t,item:l})]})})})})})}function cl({featuredItems:t,item:l}){var i,n,e,c,u,p,v;return(n=(i=t==null?void 0:t[l])==null?void 0:i.mainImage)!=null&&n.image?(0,g.jsx)("div",{className:"mx-auto overflow-hidden rounded-md md:max-w-xl xl:max-w-4xl",children:(0,g.jsx)(gt.Image,{className:"relative object-cover rounded-md",src:`${(c=(e=t==null?void 0:t[l])==null?void 0:e.mainImage)==null?void 0:c.image}`,sizes:"100vw",width:896,height:575,alt:(v=(p=(u=t==null?void 0:t[l])==null?void 0:u.mainImage)==null?void 0:p.alt)!=null?v:`features-image-${l}`})}):null}function dl({featuredItems:t,item:l}){var i,n,e,c,u,p;return t?(0,g.jsxs)(ut.Card,{className:"top-0 left-0 max-w-xl p-6 mx-auto text-center bg-white md:mt-12 md:p-10 lg:mt-12 lg:p-10 xl:absolute xl:mx-0 xl:mt-20 xl:py-24 rounded-md",children:[(0,g.jsx)(F.Text,{weight:"bold",className:"text-xs lg:text-md md:text-sm xl:text-lg text-secondary",children:((i=t==null?void 0:t[l])==null?void 0:i.subtitle)&&((n=t==null?void 0:t[l])==null?void 0:n.subtitle)}),(0,g.jsx)(ut.CardTitle,{children:(0,g.jsx)(pt.Heading,{fontSize:"3xl",children:((e=t==null?void 0:t[l])==null?void 0:e.title)&&((c=t==null?void 0:t[l])==null?void 0:c.title)})}),(0,g.jsx)(F.Text,{muted:!0,className:"text-xs leading-loose text-center md:mt-5 md:text-sm lg:mt-5 lg:text-sm",children:((u=t==null?void 0:t[l])==null?void 0:u.description)&&((p=t==null?void 0:t[l])==null?void 0:p.description)})]}):null}function pl({featuredItems:t,children:l,slider:i}){return t?(0,g.jsxs)(J.default.Fragment,{children:[(0,g.jsx)("div",{className:"absolute left-0 dt-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)(E.Button,{"aria-label":"Show Previous Feature",className:"dt-10 p-4 text-white ",onClick:()=>i("prev"),children:(0,g.jsx)("svg",{className:"w-4 F-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"})})})}),l,(0,g.jsx)("div",{className:"absolute right-0 dt-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)(E.Button,{"aria-label":"Show Next Feature",className:"p-4 text-white ",onClick:()=>i("next"),children:(0,g.jsx)("svg",{className:"w-4 F-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 _t=require("@stackshift-ui/link"),Wt=require("@stackshift-ui/system");function X({caption:t,title:l,description:i,images:n,primaryButton:e}){return(0,g.jsx)(xt.Section,{className:"py-20 bg-background",children:(0,g.jsx)(W.Container,{maxWidth:1280,children:(0,g.jsxs)(dt.Flex,{wrap:!0,align:"center",children:[(0,g.jsxs)(dt.Flex,{direction:"col",className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:[(0,g.jsx)(gl,{caption:t,title:l,description:i}),(0,g.jsx)(xl,{primaryButton:e})]}),(0,g.jsx)(ul,{images:n})]})})})}function gl({caption:t,title:l,description:i}){return(0,g.jsxs)(W.Container,{maxWidth:448,className:"ml-0",children:[t&&(0,g.jsx)(F.Text,{weight:"bold",className:"font-bold text-secondary",children:t}),l&&(0,g.jsx)(pt.Heading,{fontSize:"3xl",className:"mb-6",children:l}),i&&(0,g.jsx)(F.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function xl({primaryButton:t}){if(!(t!=null&&t.label))return null;let l=(0,Wt.buildSanityLink)(t);return(0,g.jsx)(W.Container,{maxWidth:448,className:"ml-0",children:(0,g.jsx)(E.Button,{"aria-label":t==null?void 0:t.label,asChild:!0,children:(0,g.jsx)(_t.Link,{href:l.href,target:l.target,rel:l.rel,children:t==null?void 0:t.label})})})}function ul({images:t}){var i,n,e,c;if(!t||(t==null?void 0:t.length)===0)return null;function l(u,p,v,w,b){return(0,g.jsx)("div",{className:`overflow-hidden rounded-md ${b}`,children:(0,g.jsx)(gt.Image,{className:"object-cover w-full F-full",src:u,sizes:"100vw",width:v,height:w,alt:p!=null?p:"feature-image"})})}return(0,g.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,g.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"F-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((i=t[0])==null?void 0:i.image)&&l(t[0].image,t[0].alt,356,192,"F-[269px]")}),(0,g.jsx)("div",{className:"F-full px-3 lg:w-1/3",children:((n=t[1])==null?void 0:n.image)&&l(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:"F-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((e=t[2])==null?void 0:e.image)&&l(t[2].image,t[2].alt,166,128,"F-[269px] lg:F-[126px]")}),(0,g.jsx)("div",{className:"F-full px-3 lg:w-2/3",children:((c=t[3])==null?void 0:c.image)&&l(t[3].image,t[3].alt,356,192,"")})]})]})}function tt({caption:t,title:l,description:i,images:n,tags:e}){return(0,g.jsx)($t.Section,{className:"py-20 bg-background",children:(0,g.jsx)(W.Container,{maxWidth:1280,children:(0,g.jsxs)(dt.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,g.jsxs)(W.Container,{maxWidth:448,children:[(0,g.jsx)(vl,{caption:t,title:l,description:i}),(0,g.jsx)(wl,{tags:e})]})}),(0,g.jsx)(hl,{images:n})]})})})}function vl({caption:t,title:l,description:i}){return(0,g.jsxs)(dt.Flex,{direction:"col",gap:3,children:[t&&(0,g.jsx)(F.Text,{weight:"bold",className:"text-secondary",children:t}),l&&(0,g.jsx)(pt.Heading,{fontSize:"3xl",className:"mb-3",children:l}),i&&(0,g.jsx)(F.Text,{muted:!0,className:"mb-6 leading-loose ",children:i})]})}function wl({tags:t}){return t?(0,g.jsx)("ul",{className:"font-bold text-gray-500",children:t.map(l=>(0,g.jsx)(bl,{item:l}))}):null}function bl({item:t}){return t?(0,g.jsxs)(dt.Flex,{as:"li",align:"center",className:"mb-2 ",children:[(0,g.jsx)("svg",{className:"w-5 F-5 mr-2 text-primary",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 hl({images:t}){var i,n,e,c;if(!t||(t==null?void 0:t.length)===0)return null;function l(u,p,v,w,b){return(0,g.jsx)("div",{className:`overflow-hidden rounded-md ${b}`,children:(0,g.jsx)(gt.Image,{className:"object-cover w-full F-full",src:u,sizes:"100vw",width:v,height:w,alt:p!=null?p:"feature-image"})})}return(0,g.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,g.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"F-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((i=t[0])==null?void 0:i.image)&&l(t[0].image,t[0].alt,356,192,"F-[269px]")}),(0,g.jsx)("div",{className:"F-full px-3 lg:w-1/3",children:((n=t[1])==null?void 0:n.image)&&l(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:"F-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((e=t[2])==null?void 0:e.image)&&l(t[2].image,t[2].alt,166,128,"F-[269px] lg:F-[126px]")}),(0,g.jsx)("div",{className:"F-full px-3 lg:w-2/3",children:((c=t[3])==null?void 0:c.image)&&l(t[3].image,t[3].alt,356,192,"")})]})]})}function it({caption:t,title:l,features:i,images:n}){return(0,g.jsx)(xt.Section,{className:"py-20 bg-background",children:(0,g.jsx)(W.Container,{maxWidth:1280,children:(0,g.jsxs)(dt.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:(0,g.jsxs)(W.Container,{maxWidth:448,children:[(0,g.jsx)(Nl,{caption:t,title:l}),(0,g.jsx)(fl,{features:i})]})}),(0,g.jsx)(yl,{images:n})]})})})}function Nl({caption:t,title:l}){return(0,g.jsxs)(dt.Flex,{gap:3,direction:"col",children:[t&&(0,g.jsx)(F.Text,{weight:"bold",className:"text-secondary",children:t}),l&&(0,g.jsx)(pt.Heading,{fontSize:"3xl",className:"mb-6",children:l})]})}function fl({features:t}){return!t||(t==null?void 0:t.length)<=0?null:(0,g.jsx)("ul",{children:t.map(l=>(0,g.jsx)(Fl,{feature:l},l._key))})}function Fl({feature:t}){return t?(0,g.jsxs)(dt.Flex,{as:"li",className:"mb-5",children:[(0,g.jsx)(Tl,{}),(0,g.jsxs)("div",{className:"max-w-xs",children:[(0,g.jsx)(F.Text,{weight:"bold",className:"text-gray-500",children:t==null?void 0:t.title}),(0,g.jsx)(F.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText})]})]}):null}function Tl(){return(0,g.jsx)("svg",{className:"w-8 F-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 yl({images:t}){var l,i,n,e,c,u,p,v,w,b,N,f;return!t||(t==null?void 0:t.length)===0?null:(0,g.jsxs)("div",{className:"items-center w-full px-4 sm:flex md:px-0 lg:w-1/2",children:[(0,g.jsxs)("div",{className:"mb-5 sm:mb-0 sm:w-1/2",children:[((l=t==null?void 0:t[0])==null?void 0:l.image)&&(0,g.jsx)(gt.Image,{className:"object-cover overflow-hidden rounded-md",src:`${(i=t==null?void 0:t[0])==null?void 0:i.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(e=(n=t==null?void 0:t[0])==null?void 0:n.alt)!=null?e:"features-image-1"}),((c=t==null?void 0:t[1])==null?void 0:c.image)&&(0,g.jsx)(gt.Image,{className:"object-cover mt-6 overflow-hidden rounded-md",src:`${(u=t==null?void 0:t[1])==null?void 0:u.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"})]}),((w=t==null?void 0:t[2])==null?void 0:w.image)&&(0,g.jsx)(gt.Image,{className:"object-cover overflow-hidden rounded-md sm:ml-6 sm:w-1/2",src:`${(b=t==null?void 0:t[2])==null?void 0:b.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(f=(N=t==null?void 0:t[2])==null?void 0:N.alt)!=null?f:"features-image-3"})]})}var Cl={variant_a:O,variant_b:$,variant_c:G,variant_d:D,variant_e:K,variant_f:X,variant_g:tt,variant_h:it},kl="Features",Gt=({data:t})=>{var e,c,u,p,v,w,b,N,f,nt,et,rt,ot,mt,at,st;let l=t==null?void 0:t.variant,i=l&&Cl[l],n={caption:(c=(e=t==null?void 0:t.variants)==null?void 0:e.subtitle)!=null?c:void 0,title:(p=(u=t==null?void 0:t.variants)==null?void 0:u.title)!=null?p:void 0,description:(w=(v=t==null?void 0:t.variants)==null?void 0:v.description)!=null?w:void 0,features:(N=(b=t==null?void 0:t.variants)==null?void 0:b.arrayOfImageTitleAndText)!=null?N:void 0,tags:(nt=(f=t==null?void 0:t.variants)==null?void 0:f.tags)!=null?nt:void 0,featuredItems:(rt=(et=t==null?void 0:t.variants)==null?void 0:et.featuredItems)!=null?rt:void 0,images:(mt=(ot=t==null?void 0:t.variants)==null?void 0:ot.images)!=null?mt:void 0,primaryButton:(st=(at=t==null?void 0:t.variants)==null?void 0:at.primaryButton)!=null?st:void 0};return i?(0,g.jsx)(i,{...n}):null};Gt.displayName=kl;0&&(module.exports={Features});
|
package/dist/features.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-Z3NQ3WOW.mjs";import"./chunk-G6RGNQG4.mjs";import"./chunk-FTSR7WIU.mjs";import"./chunk-4EWXUBOB.mjs";import"./chunk-VAA2TWIH.mjs";import"./chunk-W24RHXVA.mjs";import"./chunk-URBAFHHX.mjs";import"./chunk-2ZMZT34T.mjs";import"./chunk-W2ZOZPQE.mjs";export{a as Features};
|
package/dist/features_a.d.ts
DELETED
package/dist/features_a.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var r=Object.defineProperty;var x=Object.getOwnPropertyDescriptor;var I=Object.getOwnPropertyNames;var T=Object.prototype.hasOwnProperty;var b=(n,i)=>{for(var m in i)r(n,m,{get:i[m],enumerable:!0})},F=(n,i,m,o)=>{if(i&&typeof i=="object"||typeof i=="function")for(let l of I(i))!T.call(n,l)&&l!==m&&r(n,l,{get:()=>i[l],enumerable:!(o=x(i,l))||o.enumerable});return n};var y=n=>F(r({},"__esModule",{value:!0}),n);var k={};b(k,{Features_A:()=>p,default:()=>p});module.exports=y(k);var g=require("@stackshift-ui/container"),a=require("@stackshift-ui/flex"),e=require("@stackshift-ui/heading"),c=require("@stackshift-ui/image"),d=require("@stackshift-ui/section"),s=require("@stackshift-ui/text"),t=require("react/jsx-runtime");function p({caption:n,title:i,description:m,features:o}){return(0,t.jsx)(d.Section,{className:"py-20 bg-background",children:(0,t.jsxs)(g.Container,{maxWidth:1280,children:[(0,t.jsx)(g.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,t.jsx)(N,{caption:n,title:i,description:m})}),(0,t.jsx)(h,{features:o})]})})}function N({caption:n,title:i,description:m}){return(0,t.jsxs)(a.Flex,{direction:"col",gap:3,align:"center",children:[n?(0,t.jsx)(s.Text,{weight:"bold",className:"text-secondary",children:n}):null,i?(0,t.jsx)(e.Heading,{fontSize:"3xl",children:i}):null,m?(0,t.jsx)(s.Text,{muted:!0,children:m}):null]})}function h({features:n}){return n?(0,t.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6",children:n==null?void 0:n.map(i=>(0,t.jsx)(A,{feature:i},i._key))}):null}function A({feature:n}){var i;return(0,t.jsxs)("div",{className:"text-center sm:text-start p-3",children:[(i=n==null?void 0:n.mainImage)!=null&&i.image?(0,t.jsx)(P,{feature:n}):null,n!=null&&n.title?(0,t.jsx)(s.Text,{weight:"bold",className:"mb-4 text-gray-500",fontSize:"xl",children:n==null?void 0:n.title}):null,n!=null&&n.plainText?(0,t.jsx)(s.Text,{muted:!0,children:n==null?void 0:n.plainText}):null]})}function P({feature:n}){var i,m,o,l;return(i=n==null?void 0:n.mainImage)!=null&&i.image?(0,t.jsx)("span",{className:"inline-block p-3 mb-4 rounded bg-secondary/50 text-primary-foreground md:mb-6",children:(0,t.jsx)(c.Image,{className:"object-scale-down",src:`${(m=n==null?void 0:n.mainImage)==null?void 0:m.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
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-4EWXUBOB.mjs";export{a as Features_A,a as default};
|
package/dist/features_b.d.ts
DELETED
package/dist/features_b.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var s=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var N=Object.getOwnPropertyNames;var T=Object.prototype.hasOwnProperty;var v=(i,l)=>{for(var o in l)s(i,o,{get:l[o],enumerable:!0})},y=(i,l,o,a)=>{if(l&&typeof l=="object"||typeof l=="function")for(let t of N(l))!T.call(i,t)&&t!==o&&s(i,t,{get:()=>l[t],enumerable:!(a=h(l,t))||a.enumerable});return i};var F=i=>y(s({},"__esModule",{value:!0}),i);var u={};v(u,{Features_B:()=>w,default:()=>w});module.exports=F(u);var c=require("@stackshift-ui/card"),r=require("@stackshift-ui/container"),e=require("@stackshift-ui/flex"),p=require("@stackshift-ui/heading"),x=require("@stackshift-ui/image"),b=require("@stackshift-ui/section"),n=require("@stackshift-ui/text"),m=require("react/jsx-runtime");function w({caption:i,title:l,description:o,features:a,tags:t}){return(0,m.jsx)(b.Section,{className:"py-20 bg-background",children:(0,m.jsx)(r.Container,{maxWidth:1280,children:(0,m.jsxs)(e.Flex,{wrap:!0,align:"center",children:[(0,m.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,m.jsxs)(r.Container,{maxWidth:448,children:[(0,m.jsx)(I,{caption:i,title:l,description:o}),(0,m.jsx)(k,{tags:t})]})}),(0,m.jsx)(C,{features:a})]})})})}function I({caption:i,title:l,description:o}){return(0,m.jsxs)(e.Flex,{direction:"col",gap:3,children:[i&&(0,m.jsx)(n.Text,{weight:"bold",className:"text-secondary",children:i}),l&&(0,m.jsx)(p.Heading,{fontSize:"3xl",children:l}),o&&(0,m.jsx)(n.Text,{muted:!0,className:"mb-6 leading-loose",children:o})]})}function k({tags:i}){return i?(0,m.jsx)("ul",{children:i&&i.map(l=>(0,m.jsxs)(e.Flex,{as:"li",className:"mb-4",children:[(0,m.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,m.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,m.jsx)(n.Text,{muted:!0,weight:"bold",children:l})]},l))}):null}function C({features:i}){return i?(0,m.jsx)(e.Flex,{wrap:!0,align:"stretch",className:"w-full lg:w-1/2",children:i&&(i==null?void 0:i.map((l,o)=>{var a,t,g,d;return(0,m.jsx)("div",{className:`w-full px-4 mb-8 md:w-1/2 ${o%2===0?"lg:mb-0":"lg:mt-12"}`,children:(0,m.jsxs)(c.Card,{className:"py-6 pl-6 pr-4 mb-8 bg-white rounded-md",children:[((a=l==null?void 0:l.mainImage)==null?void 0:a.image)&&(0,m.jsx)("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary/50",children:(0,m.jsx)(x.Image,{className:"object-scale-down",src:`${(t=l==null?void 0:l.mainImage)==null?void 0:t.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,m.jsx)(n.Text,{weight:"bold",className:"text-xl md:text-2xl mb-2 text-gray-500 break-normal",children:l==null?void 0:l.title}),(0,m.jsx)(n.Text,{muted:!0,className:"leading-loose break-normal",children:l==null?void 0:l.plainText})]})},o)}))}):null}0&&(module.exports={Features_B});
|
package/dist/features_b.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-VAA2TWIH.mjs";export{a as Features_B,a as default};
|
package/dist/features_c.d.ts
DELETED
package/dist/features_c.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var r=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var T=Object.getOwnPropertyNames;var N=Object.prototype.hasOwnProperty;var C=(i,l)=>{for(var n in l)r(i,n,{get:l[n],enumerable:!0})},I=(i,l,n,e)=>{if(l&&typeof l=="object"||typeof l=="function")for(let m of T(l))!N.call(i,m)&&m!==n&&r(i,m,{get:()=>l[m],enumerable:!(e=b(l,m))||e.enumerable});return i};var h=i=>I(r({},"__esModule",{value:!0}),i);var k={};C(k,{Features_C:()=>x,default:()=>x});module.exports=h(k);var o=require("@stackshift-ui/card"),s=require("@stackshift-ui/container"),d=require("@stackshift-ui/flex"),c=require("@stackshift-ui/heading"),g=require("@stackshift-ui/image"),p=require("@stackshift-ui/section"),a=require("@stackshift-ui/text"),t=require("react/jsx-runtime");function x({caption:i,title:l,description:n,features:e}){return(0,t.jsx)(p.Section,{className:"py-20 bg-background",children:(0,t.jsxs)(s.Container,{maxWidth:1800,children:[(0,t.jsx)(s.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,t.jsx)(y,{caption:i,title:l,description:n})}),(0,t.jsx)(F,{features:e})]})})}function y({caption:i,title:l,description:n}){return(0,t.jsxs)(d.Flex,{direction:"col",gap:3,align:"center",children:[i?(0,t.jsx)(a.Text,{weight:"bold",className:"text-secondary",children:i}):null,l?(0,t.jsx)(c.Heading,{fontSize:"3xl",children:l}):null,n?(0,t.jsx)(a.Text,{muted:!0,className:"mb-6 leading-loose",children:n}):null]})}function F({features:i}){return i?(0,t.jsx)("div",{className:"lg:grid lg:grid-cols-2 gap-3",children:i.map(l=>(0,t.jsx)(A,{feature:l},l._key))}):null}function A({feature:i}){var l,n,e,m;return(0,t.jsx)("div",{className:"w-full p-3",children:(0,t.jsxs)(o.Card,{className:"flex h-full p-6 bg-white rounded-md",children:[(0,t.jsx)("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary/50 md:p-5 lg:mb-0",children:((l=i==null?void 0:i.mainImage)==null?void 0:l.image)&&(0,t.jsx)(g.Image,{className:"object-scale-down",src:`${(n=i==null?void 0:i.mainImage)==null?void 0:n.image}`,width:40,height:40,alt:(m=(e=i==null?void 0:i.mainImage)==null?void 0:e.alt)!=null?m:"features-main-image"})}),(0,t.jsxs)(d.Flex,{direction:"col",gap:2,className:"w-full",children:[(0,t.jsx)(o.CardTitle,{className:"text-xl md:text-2xl break-normal font-bold",children:i==null?void 0:i.title}),(0,t.jsx)(a.Text,{muted:!0,className:"break-all",children:i==null?void 0:i.plainText})]})]})})}0&&(module.exports={Features_C});
|
package/dist/features_c.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-W24RHXVA.mjs";export{a as Features_C,a as default};
|
package/dist/features_d.d.ts
DELETED
package/dist/features_d.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var r=Object.defineProperty;var T=Object.getOwnPropertyDescriptor;var b=Object.getOwnPropertyNames;var y=Object.prototype.hasOwnProperty;var h=(t,i)=>{for(var e in i)r(t,e,{get:i[e],enumerable:!0})},I=(t,i,e,l)=>{if(i&&typeof i=="object"||typeof i=="function")for(let m of b(i))!y.call(t,m)&&m!==e&&r(t,m,{get:()=>i[m],enumerable:!(l=T(i,m))||l.enumerable});return t};var N=t=>I(r({},"__esModule",{value:!0}),t);var A={};h(A,{Features_D:()=>x,default:()=>x});module.exports=N(A);var a=require("@stackshift-ui/card"),s=require("@stackshift-ui/container"),d=require("@stackshift-ui/flex"),c=require("@stackshift-ui/heading"),g=require("@stackshift-ui/image"),p=require("@stackshift-ui/section"),o=require("@stackshift-ui/text"),n=require("react/jsx-runtime");function x({caption:t,title:i,description:e,features:l}){return(0,n.jsx)(p.Section,{className:"py-20 bg-background",children:(0,n.jsxs)(s.Container,{maxWidth:1280,children:[(0,n.jsx)(s.Container,{maxWidth:640,className:"mb-8 text-center",children:(0,n.jsx)(C,{caption:t,title:i,description:e})}),(0,n.jsx)(F,{features:l})]})})}function C({caption:t,title:i,description:e}){return(0,n.jsxs)(d.Flex,{direction:"col",gap:3,align:"center",children:[t?(0,n.jsx)(o.Text,{weight:"bold",className:"text-secondary",children:t}):null,i?(0,n.jsx)(c.Heading,{fontSize:"3xl",children:i}):null,e?(0,n.jsx)(o.Text,{muted:!0,className:"mb-6 leading-loose",children:e}):null]})}function F({features:t}){return t?(0,n.jsx)(d.Flex,{wrap:!0,justify:"center",align:"stretch",children:t.map(i=>(0,n.jsx)(w,{feature:i},i._key))}):null}function w({feature:t}){var i,e,l,m;return(0,n.jsx)("div",{className:"w-full px-4 mt-8 lg:mb-0 lg:w-1/3",children:(0,n.jsxs)(a.Card,{className:"h-full px-6 py-12 text-center bg-white rounded-md",children:[(0,n.jsx)("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary/50 md:p-5",children:((i=t==null?void 0:t.mainImage)==null?void 0:i.image)&&(0,n.jsx)(g.Image,{className:"object-scale-down",src:`${(e=t==null?void 0:t.mainImage)==null?void 0:e.image}`,width:40,height:40,alt:(m=(l=t==null?void 0:t.mainImage)==null?void 0:l.alt)!=null?m:"features-image-"})}),(0,n.jsx)(a.CardTitle,{className:"px-8 mb-4 text-gray-500 font-bold text-xl",children:t==null?void 0:t.title}),(0,n.jsx)(o.Text,{muted:!0,children:t==null?void 0:t.plainText})]})})}0&&(module.exports={Features_D});
|
package/dist/features_d.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-URBAFHHX.mjs";export{a as Features_D,a as default};
|
package/dist/features_e.d.ts
DELETED
package/dist/features_e.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var k=Object.create;var a=Object.defineProperty;var S=Object.getOwnPropertyDescriptor;var z=Object.getOwnPropertyNames;var B=Object.getPrototypeOf,T=Object.prototype.hasOwnProperty;var L=(o,l)=>{for(var n in l)a(o,n,{get:l[n],enumerable:!0})},v=(o,l,n,t)=>{if(l&&typeof l=="object"||typeof l=="function")for(let r of z(l))!T.call(o,r)&&r!==n&&a(o,r,{get:()=>l[r],enumerable:!(t=S(l,r))||t.enumerable});return o};var R=(o,l,n)=>(n=o!=null?k(B(o)):{},v(l||!o||!o.__esModule?a(n,"default",{value:o,enumerable:!0}):n,o)),y=o=>v(a({},"__esModule",{value:!0}),o);var j={};L(j,{Features_E:()=>C,default:()=>C});module.exports=y(j);var p=require("@stackshift-ui/button"),g=require("@stackshift-ui/card"),e=require("@stackshift-ui/container"),N=require("@stackshift-ui/flex"),b=require("@stackshift-ui/heading"),d=require("@stackshift-ui/image"),F=require("@stackshift-ui/section"),h=require("@stackshift-ui/text"),s=R(require("react")),i=require("react/jsx-runtime");function C({featuredItems:o}){let[l,n]=s.default.useState(0);return(0,i.jsx)(F.Section,{className:"py-20 overflow-x-auto bg-background",children:(0,i.jsx)(e.Container,{maxWidth:1280,children:(0,i.jsx)(N.Flex,{className:"relative",children:(0,i.jsx)(W,{featuredItems:o,slider:r=>{o&&(r==="next"?l!==o.length-1?n(x=>x+1):n(0):l>=1?n(x=>x-1):n(o.length-1))},children:(0,i.jsxs)("div",{className:"order-1 w-full ml-auto xl:w-4/5",children:[(0,i.jsx)(H,{featuredItems:o,item:l}),(0,i.jsx)(P,{featuredItems:o,item:l})]})})})})})}function H({featuredItems:o,item:l}){var n,t,r,x,m,c,w;return(t=(n=o==null?void 0:o[l])==null?void 0:n.mainImage)!=null&&t.image?(0,i.jsx)("div",{className:"mx-auto overflow-hidden rounded-md md:max-w-xl xl:max-w-4xl",children:(0,i.jsx)(d.Image,{className:"relative object-cover rounded-md",src:`${(x=(r=o==null?void 0:o[l])==null?void 0:r.mainImage)==null?void 0:x.image}`,sizes:"100vw",width:896,height:575,alt:(w=(c=(m=o==null?void 0:o[l])==null?void 0:m.mainImage)==null?void 0:c.alt)!=null?w:`features-image-${l}`})}):null}function P({featuredItems:o,item:l}){var n,t,r,x,m,c;return o?(0,i.jsxs)(g.Card,{className:"top-0 left-0 max-w-xl p-6 mx-auto text-center bg-white md:mt-12 md:p-10 lg:mt-12 lg:p-10 xl:absolute xl:mx-0 xl:mt-20 xl:py-24 rounded-md",children:[(0,i.jsx)(h.Text,{weight:"bold",className:"text-xs lg:text-md md:text-sm xl:text-lg text-secondary",children:((n=o==null?void 0:o[l])==null?void 0:n.subtitle)&&((t=o==null?void 0:o[l])==null?void 0:t.subtitle)}),(0,i.jsx)(g.CardTitle,{children:(0,i.jsx)(b.Heading,{fontSize:"3xl",children:((r=o==null?void 0:o[l])==null?void 0:r.title)&&((x=o==null?void 0:o[l])==null?void 0:x.title)})}),(0,i.jsx)(h.Text,{muted:!0,className:"text-xs leading-loose text-center md:mt-5 md:text-sm lg:mt-5 lg:text-sm",children:((m=o==null?void 0:o[l])==null?void 0:m.description)&&((c=o==null?void 0:o[l])==null?void 0:c.description)})]}):null}function W({featuredItems:o,children:l,slider:n}){return o?(0,i.jsxs)(s.default.Fragment,{children:[(0,i.jsx)("div",{className:"absolute left-0 z-40 items-center mt-20 -mx-3 order-0 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(o==null?void 0:o.length)>=2&&(0,i.jsx)(p.Button,{"aria-label":"Show Previous Feature",className:"z-10 p-4 text-white ",onClick:()=>n("prev"),children:(0,i.jsx)("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,i.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M10 19l-7-7m0 0l7-7m-7 7h18"})})})}),l,(0,i.jsx)("div",{className:"absolute right-0 z-40 items-center order-2 mt-20 -mx-3 md:mt-40 lg:mt-60 xl:-mx-6 xl:flex",children:(o==null?void 0:o.length)>=2&&(0,i.jsx)(p.Button,{"aria-label":"Show Next Feature",className:"p-4 text-white ",onClick:()=>n("next"),children:(0,i.jsx)("svg",{className:"w-4 h-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,i.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M14 5l7 7m0 0l-7 7m7-7H3"})})})})]}):null}0&&(module.exports={Features_E});
|
package/dist/features_e.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-2ZMZT34T.mjs";export{a as Features_E,a as default};
|
package/dist/features_f.d.ts
DELETED
package/dist/features_f.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var d=Object.defineProperty;var C=Object.getOwnPropertyDescriptor;var k=Object.getOwnPropertyNames;var L=Object.prototype.hasOwnProperty;var I=(e,t)=>{for(var i in t)d(e,i,{get:t[i],enumerable:!0})},S=(e,t,i,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of k(t))!L.call(e,a)&&a!==i&&d(e,a,{get:()=>t[a],enumerable:!(r=C(t,a))||r.enumerable});return e};var T=e=>S(d({},"__esModule",{value:!0}),e);var P={};I(P,{Features_F:()=>v,default:()=>v});module.exports=T(P);var c=require("@stackshift-ui/button"),n=require("@stackshift-ui/container"),m=require("@stackshift-ui/flex"),g=require("@stackshift-ui/heading"),u=require("@stackshift-ui/image"),b=require("@stackshift-ui/link"),x=require("@stackshift-ui/section"),h=require("@stackshift-ui/system"),s=require("@stackshift-ui/text"),l=require("react/jsx-runtime");function v({caption:e,title:t,description:i,images:r,primaryButton:a}){return(0,l.jsx)(x.Section,{className:"py-20 bg-background",children:(0,l.jsx)(n.Container,{maxWidth:1280,children:(0,l.jsxs)(m.Flex,{wrap:!0,align:"center",children:[(0,l.jsxs)(m.Flex,{direction:"col",className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:[(0,l.jsx)(W,{caption:e,title:t,description:i}),(0,l.jsx)(z,{primaryButton:a})]}),(0,l.jsx)(H,{images:r})]})})})}function W({caption:e,title:t,description:i}){return(0,l.jsxs)(n.Container,{maxWidth:448,className:"ml-0",children:[e&&(0,l.jsx)(s.Text,{weight:"bold",className:"font-bold text-secondary",children:e}),t&&(0,l.jsx)(g.Heading,{fontSize:"3xl",className:"mb-6",children:t}),i&&(0,l.jsx)(s.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function z({primaryButton:e}){if(!(e!=null&&e.label))return null;let t=(0,h.buildSanityLink)(e);return(0,l.jsx)(n.Container,{maxWidth:448,className:"ml-0",children:(0,l.jsx)(c.Button,{"aria-label":e==null?void 0:e.label,asChild:!0,children:(0,l.jsx)(b.Link,{href:t.href,target:t.target,rel:t.rel,children:e==null?void 0:e.label})})})}function H({images:e}){var i,r,a,f;if(!e||(e==null?void 0:e.length)===0)return null;function t(w,o,N,p,F){return(0,l.jsx)("div",{className:`overflow-hidden rounded-md ${F}`,children:(0,l.jsx)(u.Image,{className:"object-cover w-full h-full",src:w,sizes:"100vw",width:N,height:p,alt:o!=null?o:"feature-image"})})}return(0,l.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,l.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,l.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((i=e[0])==null?void 0:i.image)&&t(e[0].image,e[0].alt,356,192,"h-[269px]")}),(0,l.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((r=e[1])==null?void 0:r.image)&&t(e[1].image,e[1].alt,166,128,"")})]}),(0,l.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,l.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((a=e[2])==null?void 0:a.image)&&t(e[2].image,e[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,l.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((f=e[3])==null?void 0:f.image)&&t(e[3].image,e[3].alt,356,192,"")})]})]})}0&&(module.exports={Features_F});
|
package/dist/features_f.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-W2ZOZPQE.mjs";export{a as Features_F,a as default};
|
package/dist/features_g.d.ts
DELETED
package/dist/features_g.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var o=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var N=Object.getOwnPropertyNames;var F=Object.prototype.hasOwnProperty;var y=(e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:!0})},I=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of N(t))!F.call(e,a)&&a!==r&&o(e,a,{get:()=>t[a],enumerable:!(i=b(t,a))||i.enumerable});return e};var z=e=>I(o({},"__esModule",{value:!0}),e);var H={};y(H,{Features_G:()=>p,default:()=>p});module.exports=z(H);var s=require("@stackshift-ui/container"),n=require("@stackshift-ui/flex"),c=require("@stackshift-ui/heading"),g=require("@stackshift-ui/image"),f=require("@stackshift-ui/section"),d=require("@stackshift-ui/text"),l=require("react/jsx-runtime");function p({caption:e,title:t,description:r,images:i,tags:a}){return(0,l.jsx)(f.Section,{className:"py-20 bg-background",children:(0,l.jsx)(s.Container,{maxWidth:1280,children:(0,l.jsxs)(n.Flex,{wrap:!0,align:"center",children:[(0,l.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,l.jsxs)(s.Container,{maxWidth:448,children:[(0,l.jsx)(C,{caption:e,title:t,description:r}),(0,l.jsx)(T,{tags:a})]})}),(0,l.jsx)(G,{images:i})]})})})}function C({caption:e,title:t,description:r}){return(0,l.jsxs)(n.Flex,{direction:"col",gap:3,children:[e&&(0,l.jsx)(d.Text,{weight:"bold",className:"text-secondary",children:e}),t&&(0,l.jsx)(c.Heading,{fontSize:"3xl",className:"mb-3",children:t}),r&&(0,l.jsx)(d.Text,{muted:!0,className:"mb-6 leading-loose ",children:r})]})}function T({tags:e}){return e?(0,l.jsx)("ul",{className:"font-bold text-gray-500",children:e.map(t=>(0,l.jsx)(S,{item:t}))}):null}function S({item:e}){return e?(0,l.jsxs)(n.Flex,{as:"li",align:"center",className:"mb-2 ",children:[(0,l.jsx)("svg",{className:"w-5 h-5 mr-2 text-primary",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,l.jsx)("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,l.jsx)("span",{children:e})]}):null}function G({images:e}){var r,i,a,u;if(!e||(e==null?void 0:e.length)===0)return null;function t(x,m,v,w,h){return(0,l.jsx)("div",{className:`overflow-hidden rounded-md ${h}`,children:(0,l.jsx)(g.Image,{className:"object-cover w-full h-full",src:x,sizes:"100vw",width:v,height:w,alt:m!=null?m:"feature-image"})})}return(0,l.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,l.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,l.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((r=e[0])==null?void 0:r.image)&&t(e[0].image,e[0].alt,356,192,"h-[269px]")}),(0,l.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((i=e[1])==null?void 0:i.image)&&t(e[1].image,e[1].alt,166,128,"")})]}),(0,l.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,l.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((a=e[2])==null?void 0:a.image)&&t(e[2].image,e[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,l.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((u=e[3])==null?void 0:u.image)&&t(e[3].image,e[3].alt,356,192,"")})]})]})}0&&(module.exports={Features_G});
|
package/dist/features_g.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-G6RGNQG4.mjs";export{a as Features_G,a as default};
|
package/dist/features_h.d.ts
DELETED
package/dist/features_h.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var m=Object.defineProperty;var y=Object.getOwnPropertyDescriptor;var F=Object.getOwnPropertyNames;var k=Object.prototype.hasOwnProperty;var A=(t,n)=>{for(var o in n)m(t,o,{get:n[o],enumerable:!0})},I=(t,n,o,e)=>{if(n&&typeof n=="object"||typeof n=="function")for(let l of F(n))!k.call(t,l)&&l!==o&&m(t,l,{get:()=>n[l],enumerable:!(e=y(n,l))||e.enumerable});return t};var C=t=>I(m({},"__esModule",{value:!0}),t);var O={};A(O,{Features_H:()=>T,default:()=>T});module.exports=C(O);var x=require("@stackshift-ui/container"),c=require("@stackshift-ui/flex"),N=require("@stackshift-ui/heading"),d=require("@stackshift-ui/image"),b=require("@stackshift-ui/section"),i=require("@stackshift-ui/text"),r=require("react/jsx-runtime");function T({caption:t,title:n,features:o,images:e}){return(0,r.jsx)(b.Section,{className:"py-20 bg-background",children:(0,r.jsx)(x.Container,{maxWidth:1280,children:(0,r.jsxs)(c.Flex,{wrap:!0,align:"center",children:[(0,r.jsx)("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:(0,r.jsxs)(x.Container,{maxWidth:448,children:[(0,r.jsx)(z,{caption:t,title:n}),(0,r.jsx)(S,{features:o})]})}),(0,r.jsx)(L,{images:e})]})})})}function z({caption:t,title:n}){return(0,r.jsxs)(c.Flex,{gap:3,direction:"col",children:[t&&(0,r.jsx)(i.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,r.jsx)(N.Heading,{fontSize:"3xl",className:"mb-6",children:n})]})}function S({features:t}){return!t||(t==null?void 0:t.length)<=0?null:(0,r.jsx)("ul",{children:t.map(n=>(0,r.jsx)(j,{feature:n},n._key))})}function j({feature:t}){return t?(0,r.jsxs)(c.Flex,{as:"li",className:"mb-5",children:[(0,r.jsx)(H,{}),(0,r.jsxs)("div",{className:"max-w-xs",children:[(0,r.jsx)(i.Text,{weight:"bold",className:"text-gray-500",children:t==null?void 0:t.title}),(0,r.jsx)(i.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText})]})]}):null}function H(){return(0,r.jsx)("svg",{className:"w-8 h-8 mr-3 text-primary",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"})})}function L({images:t}){var n,o,e,l,a,w,p,h,u,v,f,s;return!t||(t==null?void 0:t.length)===0?null:(0,r.jsxs)("div",{className:"items-center w-full px-4 sm:flex md:px-0 lg:w-1/2",children:[(0,r.jsxs)("div",{className:"mb-5 sm:mb-0 sm:w-1/2",children:[((n=t==null?void 0:t[0])==null?void 0:n.image)&&(0,r.jsx)(d.Image,{className:"object-cover overflow-hidden rounded-md",src:`${(o=t==null?void 0:t[0])==null?void 0:o.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(l=(e=t==null?void 0:t[0])==null?void 0:e.alt)!=null?l:"features-image-1"}),((a=t==null?void 0:t[1])==null?void 0:a.image)&&(0,r.jsx)(d.Image,{className:"object-cover mt-6 overflow-hidden rounded-md",src:`${(w=t==null?void 0:t[1])==null?void 0:w.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(h=(p=t==null?void 0:t[1])==null?void 0:p.alt)!=null?h:"features-image-2"})]}),((u=t==null?void 0:t[2])==null?void 0:u.image)&&(0,r.jsx)(d.Image,{className:"object-cover overflow-hidden rounded-md sm:ml-6 sm:w-1/2",src:`${(v=t==null?void 0:t[2])==null?void 0:v.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(s=(f=t==null?void 0:t[2])==null?void 0:f.alt)!=null?s:"features-image-3"})]})}0&&(module.exports={Features_H});
|
package/dist/features_h.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-FTSR7WIU.mjs";export{a as Features_H,a as default};
|
package/dist/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from "./features";
|
|
2
|
-
export * from "./features_a";
|
|
3
|
-
export * from "./features_b";
|
|
4
|
-
export * from "./features_c";
|
|
5
|
-
export * from "./features_d";
|
|
6
|
-
export * from "./features_e";
|
|
7
|
-
export * from "./features_f";
|
|
8
|
-
export * from "./features_g";
|
|
9
|
-
export * from "./features_h";
|
package/dist/index.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";var Bt=Object.create;var y=Object.defineProperty;var Dt=Object.getOwnPropertyDescriptor;var Et=Object.getOwnPropertyNames;var qt=Object.getPrototypeOf,Jt=Object.prototype.hasOwnProperty;var Kt=(t,l)=>{for(var i in l)y(t,i,{get:l[i],enumerable:!0})},ct=(t,l,i,n)=>{if(l&&typeof l=="object"||typeof l=="function")for(let e of Et(l))!Jt.call(t,e)&&e!==i&&y(t,e,{get:()=>l[e],enumerable:!(n=Dt(l,e))||n.enumerable});return t};var Qt=(t,l,i)=>(i=t!=null?Bt(qt(t)):{},ct(l||!t||!t.__esModule?y(i,"default",{value:t,enumerable:!0}):i,t)),Ut=t=>ct(y({},"__esModule",{value:!0}),t);var Al={};Kt(Al,{Features:()=>Gt,Features_A:()=>C,Features_B:()=>k,Features_C:()=>I,Features_D:()=>L,Features_E:()=>H,Features_F:()=>O,Features_G:()=>$,Features_H:()=>M});module.exports=Ut(Al);var B=require("@stackshift-ui/container"),dt=require("@stackshift-ui/flex"),pt=require("@stackshift-ui/heading"),gt=require("@stackshift-ui/image"),xt=require("@stackshift-ui/section"),F=require("@stackshift-ui/text"),g=require("react/jsx-runtime");function C({caption:t,title:l,description:i,features:n}){return(0,g.jsx)(xt.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(B.Container,{maxWidth:1280,children:[(0,g.jsx)(B.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,g.jsx)(Xt,{caption:t,title:l,description:i})}),(0,g.jsx)(Yt,{features:n})]})})}function Xt({caption:t,title:l,description:i}){return(0,g.jsxs)(dt.Flex,{direction:"col",gap:3,align:"center",children:[t?(0,g.jsx)(F.Text,{weight:"bold",className:"text-secondary",children:t}):null,l?(0,g.jsx)(pt.Heading,{fontSize:"3xl",children:l}):null,i?(0,g.jsx)(F.Text,{muted:!0,children:i}):null]})}function Yt({features:t}){return t?(0,g.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6",children:t==null?void 0:t.map(l=>(0,g.jsx)(Zt,{feature:l},l._key))}):null}function Zt({feature:t}){var l;return(0,g.jsxs)("div",{className:"text-center sm:text-start p-3",children:[(l=t==null?void 0:t.mainImage)!=null&&l.image?(0,g.jsx)(tl,{feature:t}):null,t!=null&&t.title?(0,g.jsx)(F.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)(F.Text,{muted:!0,children:t==null?void 0:t.plainText}):null]})}function tl({feature:t}){var l,i,n,e;return(l=t==null?void 0:t.mainImage)!=null&&l.image?(0,g.jsx)("span",{className:"inline-block p-3 mb-4 rounded bg-secondary/50 text-primary-foreground md:mb-6",children:(0,g.jsx)(gt.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(e=(n=t==null?void 0:t.mainImage)==null?void 0:n.alt)!=null?e:"features-image-"})}):null}var ut=require("@stackshift-ui/card");function k({caption:t,title:l,description:i,features:n,tags:e}){return(0,g.jsx)(xt.Section,{className:"py-20 bg-background",children:(0,g.jsx)(B.Container,{maxWidth:1280,children:(0,g.jsxs)(dt.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,g.jsxs)(B.Container,{maxWidth:448,children:[(0,g.jsx)(ll,{caption:t,title:l,description:i}),(0,g.jsx)(il,{tags:e})]})}),(0,g.jsx)(nl,{features:n})]})})})}function ll({caption:t,title:l,description:i}){return(0,g.jsxs)(dt.Flex,{direction:"col",gap:3,children:[t&&(0,g.jsx)(F.Text,{weight:"bold",className:"text-secondary",children:t}),l&&(0,g.jsx)(pt.Heading,{fontSize:"3xl",children:l}),i&&(0,g.jsx)(F.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function il({tags:t}){return t?(0,g.jsx)("ul",{children:t&&t.map(l=>(0,g.jsxs)(dt.Flex,{as:"li",className:"mb-4",children:[(0,g.jsx)("svg",{className:"w-6 F-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)(F.Text,{muted:!0,weight:"bold",children:l})]},l))}):null}function nl({features:t}){return t?(0,g.jsx)(dt.Flex,{wrap:!0,align:"stretch",className:"w-full lg:w-1/2",children:t&&(t==null?void 0:t.map((l,i)=>{var n,e,c,u;return(0,g.jsx)("div",{className:`w-full px-4 mb-8 md:w-1/2 ${i%2===0?"lg:mb-0":"lg:mt-12"}`,children:(0,g.jsxs)(ut.Card,{className:"py-6 pl-6 pr-4 mb-8 bg-white rounded-md",children:[((n=l==null?void 0:l.mainImage)==null?void 0:n.image)&&(0,g.jsx)("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary/50",children:(0,g.jsx)(gt.Image,{className:"object-scale-down",src:`${(e=l==null?void 0:l.mainImage)==null?void 0:e.image}`,width:40,height:40,alt:(u=(c=l==null?void 0:l.mainImage)==null?void 0:c.alt)!=null?u:`features-image-${i}`})}),(0,g.jsx)(F.Text,{weight:"bold",className:"text-xl md:text-2xl mb-2 text-gray-500 break-normal",children:l==null?void 0:l.title}),(0,g.jsx)(F.Text,{muted:!0,className:"leading-loose break-normal",children:l==null?void 0:l.plainText})]})},i)}))}):null}function I({caption:t,title:l,description:i,features:n}){return(0,g.jsx)(xt.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(B.Container,{maxWidth:1800,children:[(0,g.jsx)(B.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,g.jsx)(el,{caption:t,title:l,description:i})}),(0,g.jsx)(rl,{features:n})]})})}function el({caption:t,title:l,description:i}){return(0,g.jsxs)(dt.Flex,{direction:"col",gap:3,align:"center",children:[t?(0,g.jsx)(F.Text,{weight:"bold",className:"text-secondary",children:t}):null,l?(0,g.jsx)(pt.Heading,{fontSize:"3xl",children:l}):null,i?(0,g.jsx)(F.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function rl({features:t}){return t?(0,g.jsx)("div",{className:"lg:grid lg:grid-cols-2 gap-3",children:t.map(l=>(0,g.jsx)(ol,{feature:l},l._key))}):null}function ol({feature:t}){var l,i,n,e;return(0,g.jsx)("div",{className:"w-full p-3",children:(0,g.jsxs)(ut.Card,{className:"flex F-full p-6 bg-white rounded-md",children:[(0,g.jsx)("div",{className:"self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary/50 md:p-5 lg:mb-0",children:((l=t==null?void 0:t.mainImage)==null?void 0:l.image)&&(0,g.jsx)(gt.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(e=(n=t==null?void 0:t.mainImage)==null?void 0:n.alt)!=null?e:"features-main-image"})}),(0,g.jsxs)(dt.Flex,{direction:"col",gap:2,className:"w-full",children:[(0,g.jsx)(ut.CardTitle,{className:"text-xl md:text-2xl break-normal font-bold",children:t==null?void 0:t.title}),(0,g.jsx)(F.Text,{muted:!0,className:"break-all",children:t==null?void 0:t.plainText})]})]})})}function L({caption:t,title:l,description:i,features:n}){return(0,g.jsx)(xt.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(B.Container,{maxWidth:1280,children:[(0,g.jsx)(B.Container,{maxWidth:640,className:"mb-8 text-center",children:(0,g.jsx)(ml,{caption:t,title:l,description:i})}),(0,g.jsx)(al,{features:n})]})})}function ml({caption:t,title:l,description:i}){return(0,g.jsxs)(dt.Flex,{direction:"col",gap:3,align:"center",children:[t?(0,g.jsx)(F.Text,{weight:"bold",className:"text-secondary",children:t}):null,l?(0,g.jsx)(pt.Heading,{fontSize:"3xl",children:l}):null,i?(0,g.jsx)(F.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function al({features:t}){return t?(0,g.jsx)(dt.Flex,{wrap:!0,justify:"center",align:"stretch",children:t.map(l=>(0,g.jsx)(sl,{feature:l},l._key))}):null}function sl({feature:t}){var l,i,n,e;return(0,g.jsx)("div",{className:"w-full px-4 mt-8 lg:mb-0 lg:w-1/3",children:(0,g.jsxs)(ut.Card,{className:"F-full px-6 py-12 text-center bg-white rounded-md",children:[(0,g.jsx)("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary/50 md:p-5",children:((l=t==null?void 0:t.mainImage)==null?void 0:l.image)&&(0,g.jsx)(gt.Image,{className:"object-scale-down",src:`${(i=t==null?void 0:t.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(e=(n=t==null?void 0:t.mainImage)==null?void 0:n.alt)!=null?e:"features-image-"})}),(0,g.jsx)(ut.CardTitle,{className:"px-8 mb-4 text-gray-500 font-bold text-xl",children:t==null?void 0:t.title}),(0,g.jsx)(F.Text,{muted:!0,children:t==null?void 0:t.plainText})]})})}var Q=require("@stackshift-ui/button"),X=Qt(require("react"));function H({featuredItems:t}){let[l,i]=X.default.useState(0);return(0,g.jsx)(xt.Section,{className:"py-20 overflow-g-auto bg-background",children:(0,g.jsx)(B.Container,{maxWidth:1280,children:(0,g.jsx)(dt.Flex,{className:"relative",children:(0,g.jsx)(pl,{featuredItems:t,slider:e=>{t&&(e==="next"?l!==t.length-1?i(c=>c+1):i(0):l>=1?i(c=>c-1):i(t.length-1))},children:(0,g.jsxs)("div",{className:"order-1 w-full ml-auto xl:w-4/5",children:[(0,g.jsx)(cl,{featuredItems:t,item:l}),(0,g.jsx)(dl,{featuredItems:t,item:l})]})})})})})}function cl({featuredItems:t,item:l}){var i,n,e,c,u,p,v;return(n=(i=t==null?void 0:t[l])==null?void 0:i.mainImage)!=null&&n.image?(0,g.jsx)("div",{className:"mx-auto overflow-hidden rounded-md md:max-w-xl xl:max-w-4xl",children:(0,g.jsx)(gt.Image,{className:"relative object-cover rounded-md",src:`${(c=(e=t==null?void 0:t[l])==null?void 0:e.mainImage)==null?void 0:c.image}`,sizes:"100vw",width:896,height:575,alt:(v=(p=(u=t==null?void 0:t[l])==null?void 0:u.mainImage)==null?void 0:p.alt)!=null?v:`features-image-${l}`})}):null}function dl({featuredItems:t,item:l}){var i,n,e,c,u,p;return t?(0,g.jsxs)(ut.Card,{className:"top-0 left-0 max-w-xl p-6 mx-auto text-center bg-white md:mt-12 md:p-10 lg:mt-12 lg:p-10 xl:absolute xl:mx-0 xl:mt-20 xl:py-24 rounded-md",children:[(0,g.jsx)(F.Text,{weight:"bold",className:"text-xs lg:text-md md:text-sm xl:text-lg text-secondary",children:((i=t==null?void 0:t[l])==null?void 0:i.subtitle)&&((n=t==null?void 0:t[l])==null?void 0:n.subtitle)}),(0,g.jsx)(ut.CardTitle,{children:(0,g.jsx)(pt.Heading,{fontSize:"3xl",children:((e=t==null?void 0:t[l])==null?void 0:e.title)&&((c=t==null?void 0:t[l])==null?void 0:c.title)})}),(0,g.jsx)(F.Text,{muted:!0,className:"text-xs leading-loose text-center md:mt-5 md:text-sm lg:mt-5 lg:text-sm",children:((u=t==null?void 0:t[l])==null?void 0:u.description)&&((p=t==null?void 0:t[l])==null?void 0:p.description)})]}):null}function pl({featuredItems:t,children:l,slider:i}){return t?(0,g.jsxs)(X.default.Fragment,{children:[(0,g.jsx)("div",{className:"absolute left-0 ut-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)(Q.Button,{"aria-label":"Show Previous Feature",className:"ut-10 p-4 text-white ",onClick:()=>i("prev"),children:(0,g.jsx)("svg",{className:"w-4 F-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"})})})}),l,(0,g.jsx)("div",{className:"absolute right-0 ut-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)(Q.Button,{"aria-label":"Show Next Feature",className:"p-4 text-white ",onClick:()=>i("next"),children:(0,g.jsx)("svg",{className:"w-4 F-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 _t=require("@stackshift-ui/link"),Wt=require("@stackshift-ui/system");function O({caption:t,title:l,description:i,images:n,primaryButton:e}){return(0,g.jsx)(xt.Section,{className:"py-20 bg-background",children:(0,g.jsx)(B.Container,{maxWidth:1280,children:(0,g.jsxs)(dt.Flex,{wrap:!0,align:"center",children:[(0,g.jsxs)(dt.Flex,{direction:"col",className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:[(0,g.jsx)(gl,{caption:t,title:l,description:i}),(0,g.jsx)(xl,{primaryButton:e})]}),(0,g.jsx)(ul,{images:n})]})})})}function gl({caption:t,title:l,description:i}){return(0,g.jsxs)(B.Container,{maxWidth:448,className:"ml-0",children:[t&&(0,g.jsx)(F.Text,{weight:"bold",className:"font-bold text-secondary",children:t}),l&&(0,g.jsx)(pt.Heading,{fontSize:"3xl",className:"mb-6",children:l}),i&&(0,g.jsx)(F.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function xl({primaryButton:t}){if(!(t!=null&&t.label))return null;let l=(0,Wt.buildSanityLink)(t);return(0,g.jsx)(B.Container,{maxWidth:448,className:"ml-0",children:(0,g.jsx)(Q.Button,{"aria-label":t==null?void 0:t.label,asChild:!0,children:(0,g.jsx)(_t.Link,{href:l.href,target:l.target,rel:l.rel,children:t==null?void 0:t.label})})})}function ul({images:t}){var i,n,e,c;if(!t||(t==null?void 0:t.length)===0)return null;function l(u,p,v,w,b){return(0,g.jsx)("div",{className:`overflow-hidden rounded-md ${b}`,children:(0,g.jsx)(gt.Image,{className:"object-cover w-full F-full",src:u,sizes:"100vw",width:v,height:w,alt:p!=null?p:"feature-image"})})}return(0,g.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,g.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"F-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((i=t[0])==null?void 0:i.image)&&l(t[0].image,t[0].alt,356,192,"F-[269px]")}),(0,g.jsx)("div",{className:"F-full px-3 lg:w-1/3",children:((n=t[1])==null?void 0:n.image)&&l(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:"F-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((e=t[2])==null?void 0:e.image)&&l(t[2].image,t[2].alt,166,128,"F-[269px] lg:F-[126px]")}),(0,g.jsx)("div",{className:"F-full px-3 lg:w-2/3",children:((c=t[3])==null?void 0:c.image)&&l(t[3].image,t[3].alt,356,192,"")})]})]})}function $({caption:t,title:l,description:i,images:n,tags:e}){return(0,g.jsx)($t.Section,{className:"py-20 bg-background",children:(0,g.jsx)(B.Container,{maxWidth:1280,children:(0,g.jsxs)(dt.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,g.jsxs)(B.Container,{maxWidth:448,children:[(0,g.jsx)(vl,{caption:t,title:l,description:i}),(0,g.jsx)(wl,{tags:e})]})}),(0,g.jsx)(hl,{images:n})]})})})}function vl({caption:t,title:l,description:i}){return(0,g.jsxs)(dt.Flex,{direction:"col",gap:3,children:[t&&(0,g.jsx)(F.Text,{weight:"bold",className:"text-secondary",children:t}),l&&(0,g.jsx)(pt.Heading,{fontSize:"3xl",className:"mb-3",children:l}),i&&(0,g.jsx)(F.Text,{muted:!0,className:"mb-6 leading-loose ",children:i})]})}function wl({tags:t}){return t?(0,g.jsx)("ul",{className:"font-bold text-gray-500",children:t.map(l=>(0,g.jsx)(bl,{item:l}))}):null}function bl({item:t}){return t?(0,g.jsxs)(dt.Flex,{as:"li",align:"center",className:"mb-2 ",children:[(0,g.jsx)("svg",{className:"w-5 F-5 mr-2 text-primary",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 hl({images:t}){var i,n,e,c;if(!t||(t==null?void 0:t.length)===0)return null;function l(u,p,v,w,b){return(0,g.jsx)("div",{className:`overflow-hidden rounded-md ${b}`,children:(0,g.jsx)(gt.Image,{className:"object-cover w-full F-full",src:u,sizes:"100vw",width:v,height:w,alt:p!=null?p:"feature-image"})})}return(0,g.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,g.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"F-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((i=t[0])==null?void 0:i.image)&&l(t[0].image,t[0].alt,356,192,"F-[269px]")}),(0,g.jsx)("div",{className:"F-full px-3 lg:w-1/3",children:((n=t[1])==null?void 0:n.image)&&l(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:"F-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((e=t[2])==null?void 0:e.image)&&l(t[2].image,t[2].alt,166,128,"F-[269px] lg:F-[126px]")}),(0,g.jsx)("div",{className:"F-full px-3 lg:w-2/3",children:((c=t[3])==null?void 0:c.image)&&l(t[3].image,t[3].alt,356,192,"")})]})]})}function M({caption:t,title:l,features:i,images:n}){return(0,g.jsx)(xt.Section,{className:"py-20 bg-background",children:(0,g.jsx)(B.Container,{maxWidth:1280,children:(0,g.jsxs)(dt.Flex,{wrap:!0,align:"center",children:[(0,g.jsx)("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:(0,g.jsxs)(B.Container,{maxWidth:448,children:[(0,g.jsx)(Nl,{caption:t,title:l}),(0,g.jsx)(fl,{features:i})]})}),(0,g.jsx)(yl,{images:n})]})})})}function Nl({caption:t,title:l}){return(0,g.jsxs)(dt.Flex,{gap:3,direction:"col",children:[t&&(0,g.jsx)(F.Text,{weight:"bold",className:"text-secondary",children:t}),l&&(0,g.jsx)(pt.Heading,{fontSize:"3xl",className:"mb-6",children:l})]})}function fl({features:t}){return!t||(t==null?void 0:t.length)<=0?null:(0,g.jsx)("ul",{children:t.map(l=>(0,g.jsx)(Fl,{feature:l},l._key))})}function Fl({feature:t}){return t?(0,g.jsxs)(dt.Flex,{as:"li",className:"mb-5",children:[(0,g.jsx)(Tl,{}),(0,g.jsxs)("div",{className:"max-w-xs",children:[(0,g.jsx)(F.Text,{weight:"bold",className:"text-gray-500",children:t==null?void 0:t.title}),(0,g.jsx)(F.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText})]})]}):null}function Tl(){return(0,g.jsx)("svg",{className:"w-8 F-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 yl({images:t}){var l,i,n,e,c,u,p,v,w,b,N,f;return!t||(t==null?void 0:t.length)===0?null:(0,g.jsxs)("div",{className:"items-center w-full px-4 sm:flex md:px-0 lg:w-1/2",children:[(0,g.jsxs)("div",{className:"mb-5 sm:mb-0 sm:w-1/2",children:[((l=t==null?void 0:t[0])==null?void 0:l.image)&&(0,g.jsx)(gt.Image,{className:"object-cover overflow-hidden rounded-md",src:`${(i=t==null?void 0:t[0])==null?void 0:i.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(e=(n=t==null?void 0:t[0])==null?void 0:n.alt)!=null?e:"features-image-1"}),((c=t==null?void 0:t[1])==null?void 0:c.image)&&(0,g.jsx)(gt.Image,{className:"object-cover mt-6 overflow-hidden rounded-md",src:`${(u=t==null?void 0:t[1])==null?void 0:u.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"})]}),((w=t==null?void 0:t[2])==null?void 0:w.image)&&(0,g.jsx)(gt.Image,{className:"object-cover overflow-hidden rounded-md sm:ml-6 sm:w-1/2",src:`${(b=t==null?void 0:t[2])==null?void 0:b.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(f=(N=t==null?void 0:t[2])==null?void 0:N.alt)!=null?f:"features-image-3"})]})}var Cl={variant_a:C,variant_b:k,variant_c:I,variant_d:L,variant_e:H,variant_f:O,variant_g:$,variant_h:M},kl="Features",Gt=({data:t})=>{var e,c,u,p,v,w,b,N,f,nt,et,rt,ot,mt,at,st;let l=t==null?void 0:t.variant,i=l&&Cl[l],n={caption:(c=(e=t==null?void 0:t.variants)==null?void 0:e.subtitle)!=null?c:void 0,title:(p=(u=t==null?void 0:t.variants)==null?void 0:u.title)!=null?p:void 0,description:(w=(v=t==null?void 0:t.variants)==null?void 0:v.description)!=null?w:void 0,features:(N=(b=t==null?void 0:t.variants)==null?void 0:b.arrayOfImageTitleAndText)!=null?N:void 0,tags:(nt=(f=t==null?void 0:t.variants)==null?void 0:f.tags)!=null?nt:void 0,featuredItems:(rt=(et=t==null?void 0:t.variants)==null?void 0:et.featuredItems)!=null?rt:void 0,images:(mt=(ot=t==null?void 0:t.variants)==null?void 0:ot.images)!=null?mt:void 0,primaryButton:(st=(at=t==null?void 0:t.variants)==null?void 0:at.primaryButton)!=null?st:void 0};return i?(0,g.jsx)(i,{...n}):null};Gt.displayName=kl;0&&(module.exports={Features,Features_A,Features_B,Features_C,Features_D,Features_E,Features_F,Features_G,Features_H});
|
package/dist/index.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";import{a as c}from"./chunk-Z3NQ3WOW.mjs";import{a as p}from"./chunk-G6RGNQG4.mjs";import{a as x}from"./chunk-FTSR7WIU.mjs";import{a as o}from"./chunk-4EWXUBOB.mjs";import{a as r}from"./chunk-VAA2TWIH.mjs";import{a as e}from"./chunk-W24RHXVA.mjs";import{a as t}from"./chunk-URBAFHHX.mjs";import{a as f}from"./chunk-2ZMZT34T.mjs";import{a as m}from"./chunk-W2ZOZPQE.mjs";export{c as Features,o as Features_A,r as Features_B,e as Features_C,t as Features_D,f as Features_E,m as Features_F,p as Features_G,x as Features_H};
|
package/dist/types.d.ts
DELETED
|
@@ -1,362 +0,0 @@
|
|
|
1
|
-
export type StyleVariants<T extends string> = Record<T, string>;
|
|
2
|
-
export type Socials = "facebook" | "instagram" | "youtube" | "linkedin" | "twitter";
|
|
3
|
-
export interface MainImage {
|
|
4
|
-
image: string;
|
|
5
|
-
alt?: string;
|
|
6
|
-
}
|
|
7
|
-
export interface LabeledRoute extends ConditionalLink {
|
|
8
|
-
ariaLabel?: string;
|
|
9
|
-
label?: string;
|
|
10
|
-
linkTarget?: string;
|
|
11
|
-
linkType?: string;
|
|
12
|
-
_type?: string;
|
|
13
|
-
linkInternal?: any;
|
|
14
|
-
}
|
|
15
|
-
export interface ConditionalLink {
|
|
16
|
-
type?: string;
|
|
17
|
-
internalLink?: string | null;
|
|
18
|
-
externalLink?: string | null;
|
|
19
|
-
}
|
|
20
|
-
export interface StatItems {
|
|
21
|
-
label?: string;
|
|
22
|
-
mainImage?: MainImage;
|
|
23
|
-
value?: string;
|
|
24
|
-
_key?: string;
|
|
25
|
-
_type?: string;
|
|
26
|
-
}
|
|
27
|
-
export interface Logo extends ConditionalLink {
|
|
28
|
-
alt?: string;
|
|
29
|
-
linkTarget?: string;
|
|
30
|
-
image?: string;
|
|
31
|
-
}
|
|
32
|
-
export interface Images {
|
|
33
|
-
image?: string;
|
|
34
|
-
_key?: string;
|
|
35
|
-
_type?: string;
|
|
36
|
-
alt?: string;
|
|
37
|
-
}
|
|
38
|
-
export interface ContactDetails {
|
|
39
|
-
addressInfo?: string;
|
|
40
|
-
contactInfo?: string;
|
|
41
|
-
emailInfo?: string;
|
|
42
|
-
_key?: string;
|
|
43
|
-
}
|
|
44
|
-
export interface SocialLink {
|
|
45
|
-
socialMedia?: string | null;
|
|
46
|
-
socialMediaLink?: string | null;
|
|
47
|
-
_key?: string | null;
|
|
48
|
-
_type?: string | null;
|
|
49
|
-
socialMediaIcon?: {
|
|
50
|
-
alt?: string;
|
|
51
|
-
image?: string;
|
|
52
|
-
} | null;
|
|
53
|
-
socialMediaPlatform?: string | null;
|
|
54
|
-
}
|
|
55
|
-
export interface LabeledRouteWithKey extends LabeledRoute {
|
|
56
|
-
_key?: string;
|
|
57
|
-
}
|
|
58
|
-
export interface ArrayOfImageTitleAndText {
|
|
59
|
-
mainImage?: {
|
|
60
|
-
alt?: string;
|
|
61
|
-
image?: string;
|
|
62
|
-
};
|
|
63
|
-
plainText?: string;
|
|
64
|
-
title?: string;
|
|
65
|
-
_key?: string;
|
|
66
|
-
_type?: string;
|
|
67
|
-
}
|
|
68
|
-
export interface FeaturedItem {
|
|
69
|
-
description?: string;
|
|
70
|
-
mainImage?: MainImage;
|
|
71
|
-
title?: string;
|
|
72
|
-
subtitle?: string;
|
|
73
|
-
_key?: string;
|
|
74
|
-
_type?: string;
|
|
75
|
-
}
|
|
76
|
-
export interface ArrayOfTitleAndText {
|
|
77
|
-
_key?: string;
|
|
78
|
-
plainText?: string;
|
|
79
|
-
title?: string;
|
|
80
|
-
}
|
|
81
|
-
export interface BlogPost extends SanityBody {
|
|
82
|
-
authors?: Author[] | null;
|
|
83
|
-
body?: any;
|
|
84
|
-
categories?: Category[] | null;
|
|
85
|
-
excerpt?: string | null;
|
|
86
|
-
link?: string | null;
|
|
87
|
-
mainImage?: string | null;
|
|
88
|
-
publishedAt?: string;
|
|
89
|
-
seo?: Seo | null;
|
|
90
|
-
slug?: SanitySlug | null;
|
|
91
|
-
title?: string;
|
|
92
|
-
}
|
|
93
|
-
export interface Seo {
|
|
94
|
-
_type?: string;
|
|
95
|
-
seoTitle?: string;
|
|
96
|
-
seoDescription?: string;
|
|
97
|
-
seoImage?: string;
|
|
98
|
-
seoKeywords?: string;
|
|
99
|
-
seoSynonyms?: string;
|
|
100
|
-
}
|
|
101
|
-
export interface SanitySlug {
|
|
102
|
-
current?: string;
|
|
103
|
-
_type?: "slug";
|
|
104
|
-
}
|
|
105
|
-
export interface SanityBody {
|
|
106
|
-
_createdAt?: string;
|
|
107
|
-
_id?: string;
|
|
108
|
-
_rev?: string;
|
|
109
|
-
_type?: string;
|
|
110
|
-
_updatedAt?: string;
|
|
111
|
-
}
|
|
112
|
-
export interface Author extends SanityBody {
|
|
113
|
-
link?: string | null;
|
|
114
|
-
bio?: string | null;
|
|
115
|
-
name?: string | null;
|
|
116
|
-
slug?: SanitySlug | null;
|
|
117
|
-
image?: string | null;
|
|
118
|
-
profile?: {
|
|
119
|
-
alt: string;
|
|
120
|
-
image: string;
|
|
121
|
-
} | null;
|
|
122
|
-
}
|
|
123
|
-
export interface Category extends SanityBody {
|
|
124
|
-
title?: string;
|
|
125
|
-
}
|
|
126
|
-
export interface Form {
|
|
127
|
-
id?: string | null;
|
|
128
|
-
buttonLabel?: string | null;
|
|
129
|
-
name?: string | null;
|
|
130
|
-
subtitle?: string | null;
|
|
131
|
-
fields?: FormFields[] | null;
|
|
132
|
-
thankYouPage?: ThankYouPage | null;
|
|
133
|
-
}
|
|
134
|
-
export interface FormFields {
|
|
135
|
-
name?: string;
|
|
136
|
-
placeholder?: string;
|
|
137
|
-
pricingType?: string;
|
|
138
|
-
type?: FormTypes;
|
|
139
|
-
_key?: string;
|
|
140
|
-
_type?: string;
|
|
141
|
-
isRequired?: boolean;
|
|
142
|
-
label?: string;
|
|
143
|
-
items?: string[];
|
|
144
|
-
}
|
|
145
|
-
export type FormTypes = "inputText" | "inputEmail" | "inputPassword" | "inputNumber" | "textarea" | "inputFile" | "inputRadio" | "inputCheckbox" | "inputSelect";
|
|
146
|
-
export interface ThankYouPage {
|
|
147
|
-
externalLink?: string | null;
|
|
148
|
-
internalLink?: string | null;
|
|
149
|
-
linkInternal?: any;
|
|
150
|
-
linkTarget?: string;
|
|
151
|
-
linkType?: string;
|
|
152
|
-
type?: string;
|
|
153
|
-
}
|
|
154
|
-
export interface SectionsProps {
|
|
155
|
-
template?: Template;
|
|
156
|
-
data?: Sections;
|
|
157
|
-
variant?: string | null | undefined;
|
|
158
|
-
schema?: Variants;
|
|
159
|
-
}
|
|
160
|
-
export interface Sections extends SanityBody {
|
|
161
|
-
label?: string;
|
|
162
|
-
variant?: string;
|
|
163
|
-
variants?: Variants;
|
|
164
|
-
_key?: string;
|
|
165
|
-
}
|
|
166
|
-
export interface Variants {
|
|
167
|
-
template?: Template;
|
|
168
|
-
multipleMenus?: any;
|
|
169
|
-
arrayOfTitleAndText?: ArrayOfTitleAndText[] | null;
|
|
170
|
-
logo?: Logo | null;
|
|
171
|
-
primaryButton?: LabeledRoute | null;
|
|
172
|
-
secondaryButton?: LabeledRoute | null;
|
|
173
|
-
routes?: LabeledRouteWithKey[] | null;
|
|
174
|
-
menu?: LabeledRouteWithKey[] | null;
|
|
175
|
-
plans?: Plans[] | null;
|
|
176
|
-
formLinks?: LabeledRouteWithKey[] | null;
|
|
177
|
-
portfolios?: Portfolios[] | null;
|
|
178
|
-
portfoliosWithCategories?: PortfoliosWithCategories[] | null;
|
|
179
|
-
length?: number;
|
|
180
|
-
signInLink?: LabeledRoute | null;
|
|
181
|
-
signinLink?: LabeledRoute | null;
|
|
182
|
-
tags?: string[] | null;
|
|
183
|
-
posts?: BlogPost[] | null;
|
|
184
|
-
blogsPerPage?: number | null;
|
|
185
|
-
form?: Form | null;
|
|
186
|
-
collections?: Collection | null;
|
|
187
|
-
products?: CollectionProduct | null;
|
|
188
|
-
allProducts?: Collection[];
|
|
189
|
-
subtitle?: string | null;
|
|
190
|
-
caption?: string | null;
|
|
191
|
-
title?: string | null;
|
|
192
|
-
plainText?: string | null;
|
|
193
|
-
contactDescription?: string | null;
|
|
194
|
-
officeInformation?: string | null;
|
|
195
|
-
contactEmail?: string | null;
|
|
196
|
-
contactNumber?: string | null;
|
|
197
|
-
socialLinks?: SocialLink[] | null;
|
|
198
|
-
block?: any;
|
|
199
|
-
heading?: string | null;
|
|
200
|
-
acceptButtonLabel?: string | null;
|
|
201
|
-
declineButtonLabel?: string | null;
|
|
202
|
-
faqsWithCategories?: FaqsWithCategory[] | null;
|
|
203
|
-
faqs?: AskedQuestion[] | null;
|
|
204
|
-
arrayOfImageTitleAndText?: ArrayOfImageTitleAndText[] | null;
|
|
205
|
-
description?: string | null;
|
|
206
|
-
featuredItems?: FeaturedItem[] | null;
|
|
207
|
-
images?: Images[] | null;
|
|
208
|
-
contactDetails?: ContactDetails[] | null;
|
|
209
|
-
copyright?: string | null;
|
|
210
|
-
mainImage?: MainImage | null;
|
|
211
|
-
youtubeLink?: string | null;
|
|
212
|
-
banner?: any;
|
|
213
|
-
stats?: StatItems[] | null;
|
|
214
|
-
teams?: Team[] | null;
|
|
215
|
-
testimonials?: Testimonial[] | null;
|
|
216
|
-
selectStripeAccount?: string;
|
|
217
|
-
annualBilling?: string;
|
|
218
|
-
monthlyBilling?: string;
|
|
219
|
-
productDetails?: ProductDetail[];
|
|
220
|
-
btnLabel?: string;
|
|
221
|
-
selectAccount?: string;
|
|
222
|
-
hashtags?: string[];
|
|
223
|
-
numberOfPosts?: number;
|
|
224
|
-
text?: string;
|
|
225
|
-
button?: LabeledRoute;
|
|
226
|
-
features?: string[];
|
|
227
|
-
config?: {
|
|
228
|
-
enableAnalytics: boolean;
|
|
229
|
-
cookiePolicy?: {
|
|
230
|
-
siteName: string;
|
|
231
|
-
cookiePolicyPage: Reference;
|
|
232
|
-
};
|
|
233
|
-
consentModalPosition?: string;
|
|
234
|
-
};
|
|
235
|
-
contactLink?: LabeledRoute;
|
|
236
|
-
}
|
|
237
|
-
export interface Template {
|
|
238
|
-
bg?: string;
|
|
239
|
-
color?: string;
|
|
240
|
-
}
|
|
241
|
-
export type Plans = {
|
|
242
|
-
_key?: string | null;
|
|
243
|
-
_type?: "planItems" | null;
|
|
244
|
-
checkoutButtonName?: string | null;
|
|
245
|
-
description?: string | null;
|
|
246
|
-
monthlyPrice?: string | null;
|
|
247
|
-
planType?: string | null;
|
|
248
|
-
yearlyPrice?: string | null;
|
|
249
|
-
planIncludes?: string[] | null;
|
|
250
|
-
primaryButton?: LabeledRoute | null;
|
|
251
|
-
} & Record<string, string>;
|
|
252
|
-
export interface Portfolios {
|
|
253
|
-
dateAdded?: string | null;
|
|
254
|
-
mainImage?: {
|
|
255
|
-
image?: string | null;
|
|
256
|
-
alt?: string | null;
|
|
257
|
-
} | null;
|
|
258
|
-
primaryButton?: LabeledRoute | null;
|
|
259
|
-
title?: string | null;
|
|
260
|
-
_key?: string | null;
|
|
261
|
-
_type?: string | null;
|
|
262
|
-
}
|
|
263
|
-
export interface PortfoliosWithCategories {
|
|
264
|
-
category?: string | null;
|
|
265
|
-
content?: Content[] | null;
|
|
266
|
-
primaryButton?: LabeledRoute | null;
|
|
267
|
-
_key?: string | null;
|
|
268
|
-
_type?: string | null;
|
|
269
|
-
}
|
|
270
|
-
export interface Content extends Portfolios {
|
|
271
|
-
description?: string | null;
|
|
272
|
-
subtitle?: string | null;
|
|
273
|
-
}
|
|
274
|
-
export interface Collection extends SanityBody {
|
|
275
|
-
collectionInfoVariant?: {
|
|
276
|
-
variant?: string;
|
|
277
|
-
} | null;
|
|
278
|
-
name?: string | null;
|
|
279
|
-
products?: CollectionProduct[] | null;
|
|
280
|
-
sections?: any;
|
|
281
|
-
seo?: Seo | null;
|
|
282
|
-
slug?: SanitySlug | null;
|
|
283
|
-
}
|
|
284
|
-
export interface CollectionProduct extends SanityBody {
|
|
285
|
-
compareToPrice?: number | null;
|
|
286
|
-
description?: string | null;
|
|
287
|
-
ecwidProductId?: number | null;
|
|
288
|
-
name?: string | null;
|
|
289
|
-
price?: number | null;
|
|
290
|
-
productInfo?: ProductInfo | null;
|
|
291
|
-
productInfoVariant?: {
|
|
292
|
-
variant?: string;
|
|
293
|
-
} | null;
|
|
294
|
-
sections?: any;
|
|
295
|
-
seo?: Seo | null;
|
|
296
|
-
slug?: SanitySlug | null;
|
|
297
|
-
}
|
|
298
|
-
interface ProductInfo {
|
|
299
|
-
btnLabel?: string | null;
|
|
300
|
-
images?: ProductInfoImage[] | null;
|
|
301
|
-
productDetails?: ProductDetail[] | null;
|
|
302
|
-
socialLinks?: SocialLink[] | null;
|
|
303
|
-
subtitle?: string | null;
|
|
304
|
-
}
|
|
305
|
-
export interface ProductDetail {
|
|
306
|
-
blockContent?: any;
|
|
307
|
-
contentType?: string;
|
|
308
|
-
tabName?: string;
|
|
309
|
-
_key?: string;
|
|
310
|
-
[key: string]: any;
|
|
311
|
-
}
|
|
312
|
-
interface ProductInfoImage {
|
|
313
|
-
alt?: string | null;
|
|
314
|
-
_key: string;
|
|
315
|
-
_type: string;
|
|
316
|
-
image?: string | null;
|
|
317
|
-
}
|
|
318
|
-
export interface FaqsWithCategory {
|
|
319
|
-
askedQuestions?: AskedQuestion[] | null;
|
|
320
|
-
category?: string | null;
|
|
321
|
-
_key?: string;
|
|
322
|
-
_type?: string;
|
|
323
|
-
}
|
|
324
|
-
export interface AskedQuestion {
|
|
325
|
-
answer?: string | null;
|
|
326
|
-
question?: string | null;
|
|
327
|
-
hidden?: boolean;
|
|
328
|
-
_key?: string;
|
|
329
|
-
_type?: string;
|
|
330
|
-
}
|
|
331
|
-
export interface Team {
|
|
332
|
-
jobTitle?: string;
|
|
333
|
-
mainImage?: MainImage;
|
|
334
|
-
name?: string;
|
|
335
|
-
plainText?: string;
|
|
336
|
-
_key?: string;
|
|
337
|
-
_type?: string;
|
|
338
|
-
}
|
|
339
|
-
export interface Testimonial {
|
|
340
|
-
jobTitle?: string;
|
|
341
|
-
mainImage?: MainImage;
|
|
342
|
-
name?: string;
|
|
343
|
-
rating?: string;
|
|
344
|
-
testimony?: string;
|
|
345
|
-
_key?: string;
|
|
346
|
-
_type?: string;
|
|
347
|
-
}
|
|
348
|
-
export declare interface Reference {
|
|
349
|
-
_type: string;
|
|
350
|
-
_ref: string;
|
|
351
|
-
_key?: string;
|
|
352
|
-
_weak?: boolean;
|
|
353
|
-
_strengthenOnPublish?: {
|
|
354
|
-
type: string;
|
|
355
|
-
weak?: boolean;
|
|
356
|
-
template?: {
|
|
357
|
-
id: string;
|
|
358
|
-
params: Record<string, string | number | boolean>;
|
|
359
|
-
};
|
|
360
|
-
};
|
|
361
|
-
}
|
|
362
|
-
export {};
|
package/dist/types.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var l=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var g=(n,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of a(t))!o.call(n,e)&&e!==r&&l(n,e,{get:()=>t[e],enumerable:!(i=s(t,e))||i.enumerable});return n};var u=n=>g(l({},"__esModule",{value:!0}),n);var c={};module.exports=u(c);
|