@stackshift-ui/features 7.0.0-beta.1 → 7.0.0-beta.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/package.json +13 -13
  2. package/src/features.tsx +22 -15
  3. package/src/features_b.tsx +4 -5
  4. package/src/features_c.tsx +4 -4
  5. package/src/features_f.tsx +1 -5
  6. package/src/features_g.tsx +2 -3
  7. package/src/features_h.tsx +2 -3
  8. package/dist/chunk-2ZMZT34T.mjs +0 -1
  9. package/dist/chunk-4EWXUBOB.mjs +0 -1
  10. package/dist/chunk-7ZZLNFYE.mjs +0 -1
  11. package/dist/chunk-MJRSGLBB.mjs +0 -1
  12. package/dist/chunk-NGEHDE36.mjs +0 -1
  13. package/dist/chunk-QAMGECN2.mjs +0 -1
  14. package/dist/chunk-URBAFHHX.mjs +0 -1
  15. package/dist/chunk-VEID3YEG.mjs +0 -1
  16. package/dist/chunk-WMAYXQDK.mjs +0 -1
  17. package/dist/features.d.ts +0 -23
  18. package/dist/features.js +0 -1
  19. package/dist/features.mjs +0 -1
  20. package/dist/features_a.d.ts +0 -3
  21. package/dist/features_a.js +0 -1
  22. package/dist/features_a.mjs +0 -1
  23. package/dist/features_b.d.ts +0 -3
  24. package/dist/features_b.js +0 -1
  25. package/dist/features_b.mjs +0 -1
  26. package/dist/features_c.d.ts +0 -3
  27. package/dist/features_c.js +0 -1
  28. package/dist/features_c.mjs +0 -1
  29. package/dist/features_d.d.ts +0 -3
  30. package/dist/features_d.js +0 -1
  31. package/dist/features_d.mjs +0 -1
  32. package/dist/features_e.d.ts +0 -3
  33. package/dist/features_e.js +0 -1
  34. package/dist/features_e.mjs +0 -1
  35. package/dist/features_f.d.ts +0 -3
  36. package/dist/features_f.js +0 -1
  37. package/dist/features_f.mjs +0 -1
  38. package/dist/features_g.d.ts +0 -3
  39. package/dist/features_g.js +0 -1
  40. package/dist/features_g.mjs +0 -1
  41. package/dist/features_h.d.ts +0 -3
  42. package/dist/features_h.js +0 -1
  43. package/dist/features_h.mjs +0 -1
  44. package/dist/index.d.ts +0 -9
  45. package/dist/index.js +0 -2
  46. package/dist/index.mjs +0 -2
  47. package/dist/types.d.ts +0 -362
  48. 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.1",
4
+ "version": "7.0.0-beta.10",
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/scripts": "6.1.0-beta.0",
38
- "@stackshift-ui/heading": "7.0.0-beta.0",
39
- "@stackshift-ui/text": "7.0.0-beta.0",
40
- "@stackshift-ui/image": "6.1.0-beta.0",
41
- "@stackshift-ui/system": "6.1.0-beta.0",
42
- "@stackshift-ui/button": "6.1.0-beta.0",
43
- "@stackshift-ui/card": "7.0.0-beta.0",
44
- "@stackshift-ui/section": "7.0.0-beta.0",
45
- "@stackshift-ui/container": "7.0.0-beta.0",
46
- "@stackshift-ui/flex": "7.0.0-beta.0",
47
- "@stackshift-ui/link": "6.0.12-beta.0"
37
+ "@stackshift-ui/system": "7.0.0-beta.5",
38
+ "@stackshift-ui/container": "7.0.0-beta.5",
39
+ "@stackshift-ui/scripts": "7.0.0-beta.4",
40
+ "@stackshift-ui/image": "7.0.0-beta.6",
41
+ "@stackshift-ui/heading": "7.0.0-beta.5",
42
+ "@stackshift-ui/button": "7.0.0-beta.7",
43
+ "@stackshift-ui/text": "7.0.0-beta.5",
44
+ "@stackshift-ui/link": "7.0.0-beta.5",
45
+ "@stackshift-ui/card": "7.0.0-beta.5",
46
+ "@stackshift-ui/flex": "7.0.0-beta.5",
47
+ "@stackshift-ui/section": "7.0.0-beta.5"
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": ">=6.1.0-beta.0"
54
+ "@stackshift-ui/system": ">=7.0.0-beta.5"
55
55
  },
56
56
  "peerDependenciesMeta": {
57
57
  "next": {
package/src/features.tsx CHANGED
@@ -1,22 +1,29 @@
1
- import React, { lazy } from "react";
2
-
1
+ import React from "react";
2
+ import FeaturesA from "./features_a";
3
+ import FeaturesB from "./features_b";
4
+ import FeaturesC from "./features_c";
5
+ import FeaturesD from "./features_d";
6
+ import FeaturesE from "./features_e";
7
+ import FeaturesF from "./features_f";
8
+ import FeaturesG from "./features_g";
9
+ import FeaturesH from "./features_h";
3
10
  import {
4
- ArrayOfImageTitleAndText,
5
- FeaturedItem,
6
- Images,
7
- LabeledRoute,
8
- SectionsProps,
11
+ ArrayOfImageTitleAndText,
12
+ FeaturedItem,
13
+ Images,
14
+ LabeledRoute,
15
+ SectionsProps,
9
16
  } from "./types";
10
17
 
11
18
  const Variants = {
12
- variant_a: lazy(() => import("./features_a")),
13
- variant_b: lazy(() => import("./features_b")),
14
- variant_c: lazy(() => import("./features_c")),
15
- variant_d: lazy(() => import("./features_d")),
16
- variant_e: lazy(() => import("./features_e")),
17
- variant_f: lazy(() => import("./features_f")),
18
- variant_g: lazy(() => import("./features_g")),
19
- variant_h: lazy(() => import("./features_h")),
19
+ variant_a: FeaturesA,
20
+ variant_b: FeaturesB,
21
+ variant_c: FeaturesC,
22
+ variant_d: FeaturesD,
23
+ variant_e: FeaturesE,
24
+ variant_f: FeaturesF,
25
+ variant_g: FeaturesG,
26
+ variant_h: FeaturesH,
20
27
  };
21
28
 
22
29
  export interface FeaturesProps {
@@ -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
 
@@ -60,7 +59,7 @@ function TagList({ tags }: { tags?: string[] }) {
60
59
  <ul>
61
60
  {tags &&
62
61
  tags.map(item => (
63
- <li className="flex mb-4" key={item}>
62
+ <Flex as="li" className="mb-4" key={item}>
64
63
  <svg
65
64
  className="w-6 h-6 mr-2 text-secondary"
66
65
  xmlns="http://www.w3.org/2000/svg"
@@ -75,7 +74,7 @@ function TagList({ tags }: { tags?: string[] }) {
75
74
  <Text muted weight="bold">
76
75
  {item}
77
76
  </Text>
78
- </li>
77
+ </Flex>
79
78
  ))}
80
79
  </ul>
81
80
  );
@@ -103,10 +102,10 @@ function FeaturesLists({ features }: { features?: ArrayOfImageTitleAndText[] })
103
102
  />
104
103
  </span>
105
104
  )}
106
- <Text weight="bold" className="text-xl md:text-2xl mb-2 text-gray-500 break-all">
105
+ <Text weight="bold" className="text-xl md:text-2xl mb-2 text-gray-500 break-normal">
107
106
  {feature?.title}
108
107
  </Text>
109
- <Text muted className="leading-loose break-all">
108
+ <Text muted className="leading-loose break-normal">
110
109
  {feature?.plainText}
111
110
  </Text>
112
111
  </Card>
@@ -62,7 +62,7 @@ function FeatureItems({ features }: { features?: ArrayOfImageTitleAndText[] }) {
62
62
  function FeatureItem({ feature }: { feature: ArrayOfImageTitleAndText }) {
63
63
  return (
64
64
  <div className="w-full p-3">
65
- <Card className="flex flex-wrap h-full p-6 bg-white rounded-md">
65
+ <Card className="flex h-full p-6 bg-white rounded-md">
66
66
  <div className="self-start inline-block p-3 mb-4 mr-6 rounded-lg bg-secondary/50 md:p-5 lg:mb-0">
67
67
  {feature?.mainImage?.image && (
68
68
  <Image
@@ -74,14 +74,14 @@ function FeatureItem({ feature }: { feature: ArrayOfImageTitleAndText }) {
74
74
  />
75
75
  )}
76
76
  </div>
77
- <div className="w-full lg:w-2/3 flex flex-col gap-2">
78
- <CardTitle className="text-xl md:text-2xl break-all font-bold">
77
+ <Flex direction="col" gap={2} className="w-full">
78
+ <CardTitle className="text-xl md:text-2xl break-normal font-bold">
79
79
  {feature?.title}
80
80
  </CardTitle>
81
81
  <Text muted className="break-all">
82
82
  {feature?.plainText}
83
83
  </Text>
84
- </div>
84
+ </Flex>
85
85
  </Card>
86
86
  </div>
87
87
  );
@@ -65,11 +65,7 @@ function FeaturesInfo({
65
65
  function CTAButton({ primaryButton }: { primaryButton?: LabeledRoute }) {
66
66
  if (!primaryButton?.label) return null;
67
67
 
68
- const link = buildSanityLink({
69
- type: primaryButton?.type ?? "",
70
- internalLink: primaryButton?.internalLink ?? "",
71
- externalLink: primaryButton?.externalLink ?? "",
72
- });
68
+ const link = buildSanityLink(primaryButton);
73
69
 
74
70
  return (
75
71
  <Container maxWidth={448} className="ml-0">
@@ -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
 
10
9
  export default function Features_G({ caption, title, description, images, tags }: FeaturesProps) {
@@ -35,7 +34,7 @@ function FeaturesInfo({
35
34
  description?: string;
36
35
  }) {
37
36
  return (
38
- <div className="flex flex-col gap-3">
37
+ <Flex direction="col" gap={3}>
39
38
  {caption && (
40
39
  <Text weight="bold" className="text-secondary">
41
40
  {caption}
@@ -51,7 +50,7 @@ function FeaturesInfo({
51
50
  {description}
52
51
  </Text>
53
52
  )}
54
- </div>
53
+ </Flex>
55
54
  );
56
55
  }
57
56
 
@@ -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
 
@@ -28,7 +27,7 @@ export default function Features_H({ caption, title, features, images }: Feature
28
27
 
29
28
  function CaptionAndTitleSection({ caption, title }: { caption?: string; title?: string }) {
30
29
  return (
31
- <div className="flex flex-col gap-3">
30
+ <Flex gap={3} direction="col">
32
31
  {caption && (
33
32
  <Text weight="bold" className="text-secondary">
34
33
  {caption}
@@ -39,7 +38,7 @@ function CaptionAndTitleSection({ caption, title }: { caption?: string; title?:
39
38
  {title}
40
39
  </Heading>
41
40
  )}
42
- </div>
41
+ </Flex>
43
42
  );
44
43
  }
45
44
 
@@ -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};
@@ -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};
@@ -1 +0,0 @@
1
- import{Container as f}from"@stackshift-ui/container";import{Flex as s}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(f,{maxWidth:1280,children:o(s,{wrap:!0,align:"center",children:[r("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:o(f,{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("div",{className:"flex flex-col gap-3",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(s,{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,c,m,a,x,w,p,v,h,u;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:(c=(e=t==null?void 0:t[0])==null?void 0:e.alt)!=null?c:"features-image-1"}),((m=t==null?void 0:t[1])==null?void 0:m.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:(w=(x=t==null?void 0:t[1])==null?void 0:x.alt)!=null?w:"features-image-2"})]}),((p=t==null?void 0:t[2])==null?void 0:p.image)&&r(d,{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:(u=(h=t==null?void 0:t[2])==null?void 0:h.alt)!=null?u:"features-image-3"})]})}export{T as a};
@@ -1 +0,0 @@
1
- import{Container as s}from"@stackshift-ui/container";import{Flex as u}from"@stackshift-ui/flex";import{Heading as v}from"@stackshift-ui/heading";import{Image as x}from"@stackshift-ui/image";import{Section as w}from"@stackshift-ui/section";import{Text as d}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(s,{maxWidth:1280,children:a(u,{wrap:!0,align:"center",children:[l("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:a(s,{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("div",{className:"flex flex-col gap-3",children:[e&&l(d,{weight:"bold",className:"text-secondary",children:e}),t&&l(v,{fontSize:"3xl",className:"mb-3",children:t}),r&&l(d,{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(u,{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,o;if(!e||(e==null?void 0:e.length)===0)return null;function t(f,m,c,g,p){return l("div",{className:`overflow-hidden rounded-md ${p}`,children:l(x,{className:"object-cover w-full h-full",src:f,sizes:"100vw",width:c,height:g,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:((o=e[3])==null?void 0:o.image)&&t(e[3].image,e[3].alt,356,192,"")})]})]})}export{h as a};
@@ -1 +0,0 @@
1
- import{lazy as r}from"react";import{jsx as R}from"react/jsx-runtime";var A={variant_a:r(()=>import("./features_a.mjs")),variant_b:r(()=>import("./features_b.mjs")),variant_c:r(()=>import("./features_c.mjs")),variant_d:r(()=>import("./features_d.mjs")),variant_e:r(()=>import("./features_e.mjs")),variant_f:r(()=>import("./features_f.mjs")),variant_g:r(()=>import("./features_g.mjs")),variant_h:r(()=>import("./features_h.mjs"))},x="Features",b=({data:e})=>{var t,s,o,m,p,u,f,g,c,v,l,I,y,a,F,T;let i=e==null?void 0:e.variant,n=i&&A[i],_={caption:(s=(t=e==null?void 0:e.variants)==null?void 0:t.subtitle)!=null?s:void 0,title:(m=(o=e==null?void 0:e.variants)==null?void 0:o.title)!=null?m:void 0,description:(u=(p=e==null?void 0:e.variants)==null?void 0:p.description)!=null?u:void 0,features:(g=(f=e==null?void 0:e.variants)==null?void 0:f.arrayOfImageTitleAndText)!=null?g:void 0,tags:(v=(c=e==null?void 0:e.variants)==null?void 0:c.tags)!=null?v:void 0,featuredItems:(I=(l=e==null?void 0:e.variants)==null?void 0:l.featuredItems)!=null?I:void 0,images:(a=(y=e==null?void 0:e.variants)==null?void 0:y.images)!=null?a:void 0,primaryButton:(T=(F=e==null?void 0:e.variants)==null?void 0:F.primaryButton)!=null?T:void 0};return n?R(n,{..._}):null};b.displayName=x;export{b as a};
@@ -1 +0,0 @@
1
- import{Button as h}from"@stackshift-ui/button";import{Container as o}from"@stackshift-ui/container";import{Flex as c}from"@stackshift-ui/flex";import{Heading as v}from"@stackshift-ui/heading";import{Image as w}from"@stackshift-ui/image";import{Link as N}from"@stackshift-ui/link";import{Section as u}from"@stackshift-ui/section";import{buildSanityLink as k}from"@stackshift-ui/system";import{Text as g}from"@stackshift-ui/text";import{jsx as l,jsxs as s}from"react/jsx-runtime";function L({caption:e,title:i,description:n,images:a,primaryButton:d}){return l(u,{className:"py-20 bg-background",children:l(o,{maxWidth:1280,children:s(c,{wrap:!0,align:"center",children:[s(c,{direction:"col",className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:[l(F,{caption:e,title:i,description:n}),l(C,{primaryButton:d})]}),l(I,{images:a})]})})})}function F({caption:e,title:i,description:n}){return s(o,{maxWidth:448,className:"ml-0",children:[e&&l(g,{weight:"bold",className:"font-bold text-secondary",children:e}),i&&l(v,{fontSize:"3xl",className:"mb-6",children:i}),n&&l(g,{muted:!0,className:"mb-6 leading-loose",children:n})]})}function C({primaryButton:e}){var n,a,d;if(!(e!=null&&e.label))return null;let i=k({type:(n=e==null?void 0:e.type)!=null?n:"",internalLink:(a=e==null?void 0:e.internalLink)!=null?a:"",externalLink:(d=e==null?void 0:e.externalLink)!=null?d:""});return l(o,{maxWidth:448,className:"ml-0",children:l(h,{"aria-label":e==null?void 0:e.label,asChild:!0,children:l(N,{href:i.href,target:i.target,rel:i.rel,children:e==null?void 0:e.label})})})}function I({images:e}){var n,a,d,t;if(!e||(e==null?void 0:e.length)===0)return null;function i(m,f,r,x,b){return l("div",{className:`overflow-hidden rounded-md ${b}`,children:l(w,{className:"object-cover w-full h-full",src:m,sizes:"100vw",width:r,height:x,alt:f!=null?f:"feature-image"})})}return s("div",{className:"w-full lg:w-1/2",children:[s("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:((n=e[0])==null?void 0:n.image)&&i(e[0].image,e[0].alt,356,192,"h-[269px]")}),l("div",{className:"h-full px-3 lg:w-1/3",children:((a=e[1])==null?void 0:a.image)&&i(e[1].image,e[1].alt,166,128,"")})]}),s("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:((d=e[2])==null?void 0:d.image)&&i(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:((t=e[3])==null?void 0:t.image)&&i(e[3].image,e[3].alt,356,192,"")})]})]})}export{L as a};
@@ -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};
@@ -1 +0,0 @@
1
- import{Card as s,CardTitle as d}from"@stackshift-ui/card";import{Container as r}from"@stackshift-ui/container";import{Flex as c}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 i,jsxs as n}from"react/jsx-runtime";function b({caption:l,title:t,description:e,features:m}){return i(x,{className:"py-20 bg-background",children:n(r,{maxWidth:1800,children:[i(r,{maxWidth:640,className:"mb-16 text-center",children:i(T,{caption:l,title:t,description:e})}),i(N,{features:m})]})})}function T({caption:l,title:t,description:e}){return n(c,{direction:"col",gap:3,align:"center",children:[l?i(a,{weight:"bold",className:"text-secondary",children:l}):null,t?i(g,{fontSize:"3xl",children:t}):null,e?i(a,{muted:!0,className:"mb-6 leading-loose",children:e}):null]})}function N({features:l}){return l?i("div",{className:"lg:grid lg:grid-cols-2 gap-3",children:l.map(t=>i(C,{feature:t},t._key))}):null}function C({feature:l}){var t,e,m,o;return i("div",{className:"w-full p-3",children:n(s,{className:"flex flex-wrap h-full p-6 bg-white rounded-md",children:[i("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=l==null?void 0:l.mainImage)==null?void 0:t.image)&&i(p,{className:"object-scale-down",src:`${(e=l==null?void 0:l.mainImage)==null?void 0:e.image}`,width:40,height:40,alt:(o=(m=l==null?void 0:l.mainImage)==null?void 0:m.alt)!=null?o:"features-main-image"})}),n("div",{className:"w-full lg:w-2/3 flex flex-col gap-2",children:[i(d,{className:"text-xl md:text-2xl break-all font-bold",children:l==null?void 0:l.title}),i(a,{muted:!0,className:"break-all",children:l==null?void 0:l.plainText})]})]})})}export{b as a};
@@ -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 i,jsxs as a}from"react/jsx-runtime";function w({caption:m,title:l,description:o,features:n,tags:e}){return i(b,{className:"py-20 bg-background",children:i(d,{maxWidth:1280,children:a(s,{wrap:!0,align:"center",children:[i("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:a(d,{maxWidth:448,children:[i(h,{caption:m,title:l,description:o}),i(N,{tags:e})]})}),i(T,{features:n})]})})})}function h({caption:m,title:l,description:o}){return a(s,{direction:"col",gap:3,children:[m&&i(t,{weight:"bold",className:"text-secondary",children:m}),l&&i(p,{fontSize:"3xl",children:l}),o&&i(t,{muted:!0,className:"mb-6 leading-loose",children:o})]})}function N({tags:m}){return m?i("ul",{children:m&&m.map(l=>a("li",{className:"flex mb-4",children:[i("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:i("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"})}),i(t,{muted:!0,weight:"bold",children:l})]},l))}):null}function T({features:m}){return m?i(s,{wrap:!0,align:"stretch",className:"w-full lg:w-1/2",children:m&&(m==null?void 0:m.map((l,o)=>{var n,e,r,g;return i("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)&&i("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary/50",children:i(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}`})}),i(t,{weight:"bold",className:"text-xl md:text-2xl mb-2 text-gray-500 break-all",children:l==null?void 0:l.title}),i(t,{muted:!0,className:"leading-loose break-all",children:l==null?void 0:l.plainText})]})},o)}))}):null}export{w as a};
@@ -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 at=Object.create;var k=Object.defineProperty;var st=Object.getOwnPropertyDescriptor;var ct=Object.getOwnPropertyNames;var dt=Object.getPrototypeOf,gt=Object.prototype.hasOwnProperty;var f=(l,t)=>()=>(l&&(t=l(l=0)),t);var u=(l,t)=>{for(var i in t)k(l,i,{get:t[i],enumerable:!0})},el=(l,t,i,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of ct(t))!gt.call(l,e)&&e!==i&&k(l,e,{get:()=>t[e],enumerable:!(n=st(t,e))||n.enumerable});return l};var pt=(l,t,i)=>(i=l!=null?at(dt(l)):{},el(t||!l||!l.__esModule?k(i,"default",{value:l,enumerable:!0}):i,l)),xt=l=>el(k({},"__esModule",{value:!0}),l);var cl={};u(cl,{Features_A:()=>sl,default:()=>sl});function sl({caption:l,title:t,description:i,features:n}){return(0,p.jsx)(al.Section,{className:"py-20 bg-background",children:(0,p.jsxs)(R.Container,{maxWidth:1280,children:[(0,p.jsx)(R.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,p.jsx)(vt,{caption:l,title:t,description:i})}),(0,p.jsx)(wt,{features:n})]})})}function vt({caption:l,title:t,description:i}){return(0,p.jsxs)(ol.Flex,{direction:"col",gap:3,align:"center",children:[l?(0,p.jsx)(y.Text,{weight:"bold",className:"text-secondary",children:l}):null,t?(0,p.jsx)(rl.Heading,{fontSize:"3xl",children:t}):null,i?(0,p.jsx)(y.Text,{muted:!0,children:i}):null]})}function wt({features:l}){return l?(0,p.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 ml:grid-cols-4 gap-6",children:l==null?void 0:l.map(t=>(0,p.jsx)(bt,{feature:t},t._key))}):null}function bt({feature:l}){var t;return(0,p.jsxs)("div",{className:"text-center sm:text-start p-3",children:[(t=l==null?void 0:l.mainImage)!=null&&t.image?(0,p.jsx)(ht,{feature:l}):null,l!=null&&l.title?(0,p.jsx)(y.Text,{weight:"bold",className:"mb-4 text-gray-500",fontSize:"ml",children:l==null?void 0:l.title}):null,l!=null&&l.plainText?(0,p.jsx)(y.Text,{muted:!0,children:l==null?void 0:l.plainText}):null]})}function ht({feature:l}){var t,i,n,e;return(t=l==null?void 0:l.mainImage)!=null&&t.image?(0,p.jsx)("span",{className:"inline-block p-3 mb-4 rounded bg-secondary/50 text-primary-foreground md:mb-6",children:(0,p.jsx)(ml.Image,{className:"object-scale-down",src:`${(i=l==null?void 0:l.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(e=(n=l==null?void 0:l.mainImage)==null?void 0:n.alt)!=null?e:"features-image-"})}):null}var R,ol,rl,ml,al,y,p,dl=f(()=>{"use strict";R=require("@stackshift-ui/container"),ol=require("@stackshift-ui/flex"),rl=require("@stackshift-ui/heading"),ml=require("@stackshift-ui/image"),al=require("@stackshift-ui/section"),y=require("@stackshift-ui/text"),p=require("react/jsx-runtime")});var bl={};u(bl,{Features_B:()=>wl,default:()=>wl});function wl({caption:l,title:t,description:i,features:n,tags:e}){return(0,p.jsx)(al.Section,{className:"py-20 bg-background",children:(0,p.jsx)(O.Container,{maxWidth:1280,children:(0,p.jsxs)(ol.Flex,{wrap:!0,align:"center",children:[(0,p.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,p.jsxs)(O.Container,{maxWidth:448,children:[(0,p.jsx)(ut,{caption:l,title:t,description:i}),(0,p.jsx)(Nt,{tags:e})]})}),(0,p.jsx)(ft,{features:n})]})})})}function ut({caption:l,title:t,description:i}){return(0,p.jsxs)(ol.Flex,{direction:"col",gap:3,children:[l&&(0,p.jsx)(y.Text,{weight:"bold",className:"text-secondary",children:l}),t&&(0,p.jsx)(rl.Heading,{fontSize:"3xl",children:t}),i&&(0,p.jsx)(y.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function Nt({tags:l}){return l?(0,p.jsx)("ol",{children:l&&l.map(t=>(0,p.jsxs)("li",{className:"flex mb-4",children:[(0,p.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,p.jsx)("path",{fillRule:"evenodd",p:"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,p.jsx)(y.Text,{muted:!0,weight:"bold",children:t})]},t))}):null}function ft({features:l}){return l?(0,p.jsx)(ol.Flex,{wrap:!0,align:"stretch",className:"w-full lg:w-1/2",children:l&&(l==null?void 0:l.map((t,i)=>{var n,e,c,v;return(0,p.jsx)("div",{className:`w-full px-4 mb-8 md:w-1/2 ${i%2===0?"lg:mb-0":"lg:p-12"}`,children:(0,p.jsxs)(gl.Card,{className:"py-6 rl-6 pr-4 mb-8 bg-white rounded-md",children:[((n=t==null?void 0:t.mainImage)==null?void 0:n.image)&&(0,p.jsx)("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary/50",children:(0,p.jsx)(ml.Image,{className:"object-scale-down",src:`${(e=t==null?void 0:t.mainImage)==null?void 0:e.image}`,width:40,height:40,alt:(v=(c=t==null?void 0:t.mainImage)==null?void 0:c.alt)!=null?v:`features-image-${i}`})}),(0,p.jsx)(y.Text,{weight:"bold",className:"text-ml md:text-2xl mb-2 text-gray-500 break-all",children:t==null?void 0:t.title}),(0,p.jsx)(y.Text,{muted:!0,className:"leading-loose break-all",children:t==null?void 0:t.plainText})]})},i)}))}):null}var gl,O,ol,rl,ml,al,y,p,hl=f(()=>{"use strict";gl=require("@stackshift-ui/card"),O=require("@stackshift-ui/container")});var Cl={};u(Cl,{Features_C:()=>Fl,default:()=>Fl});function Fl({caption:l,title:t,description:i,features:n}){return(0,p.jsx)(al.Section,{className:"py-20 bg-background",children:(0,p.jsxs)($.Container,{maxWidth:1800,children:[(0,p.jsx)($.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,p.jsx)(Tt,{caption:l,title:t,description:i})}),(0,p.jsx)(Ft,{features:n})]})})}function Tt({caption:l,title:t,description:i}){return(0,p.jsxs)(ol.Flex,{direction:"col",gap:3,align:"center",children:[l?(0,p.jsx)(y.Text,{weight:"bold",className:"text-secondary",children:l}):null,t?(0,p.jsx)(rl.Heading,{fontSize:"3xl",children:t}):null,i?(0,p.jsx)(y.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function Ft({features:l}){return l?(0,p.jsx)("div",{className:"lg:grid lg:grid-cols-2 gap-3",children:l.map(t=>(0,p.jsx)(Ct,{feature:t},t._key))}):null}function Ct({feature:l}){var t,i,n,e;return(0,p.jsx)("div",{className:"w-full p-3",children:(0,p.jsxs)(I.Card,{className:"flex flex-wrap h-full p-6 bg-white rounded-md",children:[(0,p.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:((t=l==null?void 0:l.mainImage)==null?void 0:t.image)&&(0,p.jsx)(ml.Image,{className:"object-scale-down",src:`${(i=l==null?void 0:l.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(e=(n=l==null?void 0:l.mainImage)==null?void 0:n.alt)!=null?e:"features-main-image"})}),(0,p.jsxs)("div",{className:"w-full lg:w-2/3 flex flex-col gap-2",children:[(0,p.jsx)(I.CardTitle,{className:"text-ml md:text-2xl break-all font-bold",children:l==null?void 0:l.title}),(0,p.jsx)(y.Text,{muted:!0,className:"break-all",children:l==null?void 0:l.plainText})]})]})})}var I,$,ol,rl,ml,al,y,p,yl=f(()=>{"use strict";I=require("@stackshift-ui/card")});var Ll={};u(Ll,{Features_D:()=>Il,default:()=>Il});function Il({caption:l,title:t,description:i,features:n}){return(0,p.jsx)(al.Section,{className:"py-20 bg-background",children:(0,p.jsxs)(O.Container,{maxWidth:1280,children:[(0,p.jsx)(O.Container,{maxWidth:640,className:"mb-8 text-center",children:(0,p.jsx)(yt,{caption:l,title:t,description:i})}),(0,p.jsx)(kt,{features:n})]})})}function yt({caption:l,title:t,description:i}){return(0,p.jsxs)(ol.Flex,{direction:"col",gap:3,align:"center",children:[l?(0,p.jsx)(y.Text,{weight:"bold",className:"text-secondary",children:l}):null,t?(0,p.jsx)(rl.Heading,{fontSize:"3xl",children:t}):null,i?(0,p.jsx)(y.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function kt({features:l}){return l?(0,p.jsx)(ol.Flex,{wrap:!0,justify:"center",align:"stretch",children:l.map(t=>(0,p.jsx)(At,{feature:t},t._key))}):null}function At({feature:l}){var t,i,n,e;return(0,p.jsx)("div",{className:"w-full px-4 p-8 lg:mb-0 lg:w-1/3",children:(0,p.jsxs)(P.Card,{className:"h-full px-6 py-12 text-center bg-white rounded-md",children:[(0,p.jsx)("div",{className:"self-start inline-block p-3 mb-6 rounded-lg bg-secondary/50 md:p-5",children:((t=l==null?void 0:l.mainImage)==null?void 0:t.image)&&(0,p.jsx)(ml.Image,{className:"object-scale-down",src:`${(i=l==null?void 0:l.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(e=(n=l==null?void 0:l.mainImage)==null?void 0:n.alt)!=null?e:"features-image-"})}),(0,p.jsx)(P.CardTitle,{className:"px-8 mb-4 text-gray-500 font-bold text-ml",children:l==null?void 0:l.title}),(0,p.jsx)(y.Text,{muted:!0,children:l==null?void 0:l.plainText})]})})}var P,O,ol,rl,ml,al,y,p,Pl=f(()=>{"use strict";P=require("@stackshift-ui/card")});var $l={};u($l,{Features_E:()=>Ol,default:()=>Ol});function Ol({featuredItems:l}){let[t,i]=D.default.useState(0);return(0,p.jsx)(al.Section,{className:"py-20 overflow-p-auto bg-background",children:(0,p.jsx)(O.Container,{maxWidth:1280,children:(0,p.jsx)(ol.Flex,{className:"relative",children:(0,p.jsx)(Lt,{featuredItems:l,slider:e=>{l&&(e==="next"?t!==l.length-1?i(c=>c+1):i(0):t>=1?i(c=>c-1):i(l.length-1))},children:(0,p.jsxs)("div",{className:"order-1 w-full ml-auto ml:w-4/5",children:[(0,p.jsx)(St,{featuredItems:l,item:t}),(0,p.jsx)(It,{featuredItems:l,item:t})]})})})})})}function St({featuredItems:l,item:t}){var i,n,e,c,v,g,w;return(n=(i=l==null?void 0:l[t])==null?void 0:i.mainImage)!=null&&n.image?(0,p.jsx)("div",{className:"mx-auto overflow-hidden rounded-md md:max-w-ml ml:max-w-4xl",children:(0,p.jsx)(ml.Image,{className:"relative object-cover rounded-md",src:`${(c=(e=l==null?void 0:l[t])==null?void 0:e.mainImage)==null?void 0:c.image}`,sizes:"100vw",width:896,height:575,alt:(w=(g=(v=l==null?void 0:l[t])==null?void 0:v.mainImage)==null?void 0:g.alt)!=null?w:`features-image-${t}`})}):null}function It({featuredItems:l,item:t}){var i,n,e,c,v,g;return l?(0,p.jsxs)(z.Card,{className:"top-0 left-0 max-w-ml p-6 mx-auto text-center bg-white md:p-12 md:p-10 lg:p-12 lg:p-10 ml:absolute ml:mx-0 ml:p-20 ml:py-24 rounded-md",children:[(0,p.jsx)(y.Text,{weight:"bold",className:"text-xs lg:text-md md:text-sm ml:text-lg text-secondary",children:((i=l==null?void 0:l[t])==null?void 0:i.subtitle)&&((n=l==null?void 0:l[t])==null?void 0:n.subtitle)}),(0,p.jsx)(z.CardTitle,{children:(0,p.jsx)(rl.Heading,{fontSize:"3xl",children:((e=l==null?void 0:l[t])==null?void 0:e.title)&&((c=l==null?void 0:l[t])==null?void 0:c.title)})}),(0,p.jsx)(y.Text,{muted:!0,className:"text-xs leading-loose text-center md:p-5 md:text-sm lg:p-5 lg:text-sm",children:((v=l==null?void 0:l[t])==null?void 0:v.description)&&((g=l==null?void 0:l[t])==null?void 0:g.description)})]}):null}function Lt({featuredItems:l,children:t,slider:i}){return l?(0,p.jsxs)(D.default.Fragment,{children:[(0,p.jsx)("div",{className:"absolute left-0 z-40 items-center p-20 -mx-3 order-0 md:p-40 lg:p-60 ml:-mx-6 ml:flex",children:(l==null?void 0:l.length)>=2&&(0,p.jsx)(M.Button,{"aria-label":"Show Previous Feature",className:"z-10 p-4 text-white ",onClick:()=>i("prev"),children:(0,p.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,p.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",p:"M10 19l-7-7m0 0l7-7m-7 7h18"})})})}),t,(0,p.jsx)("div",{className:"absolute right-0 z-40 items-center order-2 p-20 -mx-3 md:p-40 lg:p-60 ml:-mx-6 ml:flex",children:(l==null?void 0:l.length)>=2&&(0,p.jsx)(M.Button,{"aria-label":"Show Next Feature",className:"p-4 text-white ",onClick:()=>i("next"),children:(0,p.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,p.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",p:"M14 5l7 7m0 0l-7 7m7-7H3"})})})})]}):null}var M,z,O,ol,rl,ml,al,y,D,p,Vl=f(()=>{"use strict";M=require("@stackshift-ui/button"),z=require("@stackshift-ui/card"),D=pt(require("react"))});var Kl={};u(Kl,{Features_F:()=>Jl,default:()=>Jl});function Jl({caption:l,title:t,description:i,images:n,primaryButton:e}){return(0,p.jsx)(al.Section,{className:"py-20 bg-background",children:(0,p.jsx)(O.Container,{maxWidth:1280,children:(0,p.jsxs)(ol.Flex,{wrap:!0,align:"center",children:[(0,p.jsxs)(ol.Flex,{direction:"col",className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:[(0,p.jsx)(Pt,{caption:l,title:t,description:i}),(0,p.jsx)(zt,{primaryButton:e})]}),(0,p.jsx)(_t,{images:n})]})})})}function Pt({caption:l,title:t,description:i}){return(0,p.jsxs)(O.Container,{maxWidth:448,className:"ml-0",children:[l&&(0,p.jsx)(y.Text,{weight:"bold",className:"font-bold text-secondary",children:l}),t&&(0,p.jsx)(rl.Heading,{fontSize:"3xl",className:"mb-6",children:t}),i&&(0,p.jsx)(y.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function zt({primaryButton:l}){var i,n,e;if(!(l!=null&&l.label))return null;let t=(0,ql.buildSanityLink)({type:(i=l==null?void 0:l.type)!=null?i:"",internalLink:(n=l==null?void 0:l.internalLink)!=null?n:"",externalLink:(e=l==null?void 0:l.externalLink)!=null?e:""});return(0,p.jsx)(O.Container,{maxWidth:448,className:"ml-0",children:(0,p.jsx)(jl.Button,{"aria-label":l==null?void 0:l.label,asChild:!0,children:(0,p.jsx)(Dl.Link,{href:t.href,target:t.target,rel:t.rel,children:l==null?void 0:l.label})})})}function _t({images:l}){var i,n,e,c;if(!l||(l==null?void 0:l.length)===0)return null;function t(v,g,w,b,h){return(0,p.jsx)("div",{className:`overflow-hidden rounded-md ${h}`,children:(0,p.jsx)(ml.Image,{className:"object-cover w-full h-full",src:v,sizes:"100vw",width:w,height:b,alt:g!=null?g:"feature-image"})})}return(0,p.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,p.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,p.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((i=l[0])==null?void 0:i.image)&&t(l[0].image,l[0].alt,356,192,"h-[269px]")}),(0,p.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((n=l[1])==null?void 0:n.image)&&t(l[1].image,l[1].alt,166,128,"")})]}),(0,p.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,p.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((e=l[2])==null?void 0:e.image)&&t(l[2].image,l[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,p.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((c=l[3])==null?void 0:c.image)&&t(l[3].image,l[3].alt,356,192,"")})]})]})}var jl,O,ol,rl,ml,Dl,al,ql,y,p,Ql=f(()=>{"use strict";jl=require("@stackshift-ui/button"),Dl=require("@stackshift-ui/link"),ql=require("@stackshift-ui/system")});var Bl={};u(Bl,{Features_G:()=>Zl,default:()=>Zl});function Zl({caption:l,title:t,description:i,images:n,tags:e}){return(0,p.jsx)(al.Section,{className:"py-20 bg-background",children:(0,p.jsx)(J.Container,{maxWidth:1280,children:(0,p.jsxs)(ol.Flex,{wrap:!0,align:"center",children:[(0,p.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,p.jsxs)(J.Container,{maxWidth:448,children:[(0,p.jsx)(Wt,{caption:l,title:t,description:i}),(0,p.jsx)(Ht,{tags:e})]})}),(0,p.jsx)(Ot,{images:n})]})})})}function Wt({caption:l,title:t,description:i}){return(0,p.jsxs)("div",{className:"flex flex-col gap-3",children:[l&&(0,p.jsx)(y.Text,{weight:"bold",className:"text-secondary",children:l}),t&&(0,p.jsx)(rl.Heading,{fontSize:"3xl",className:"mb-3",children:t}),i&&(0,p.jsx)(y.Text,{muted:!0,className:"mb-6 leading-loose ",children:i})]})}function Ht({tags:l}){return l?(0,p.jsx)("ol",{className:"font-bold text-gray-500",children:l.map(t=>(0,p.jsx)(Rt,{item:t}))}):null}function Rt({item:l}){return l?(0,p.jsxs)(ol.Flex,{as:"li",align:"center",className:"mb-2 ",children:[(0,p.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,p.jsx)("path",{fillRule:"evenodd",p:"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,p.jsx)("span",{children:l})]}):null}function Ot({images:l}){var i,n,e,c;if(!l||(l==null?void 0:l.length)===0)return null;function t(v,g,w,b,h){return(0,p.jsx)("div",{className:`overflow-hidden rounded-md ${h}`,children:(0,p.jsx)(ml.Image,{className:"object-cover w-full h-full",src:v,sizes:"100vw",width:w,height:b,alt:g!=null?g:"feature-image"})})}return(0,p.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,p.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,p.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((i=l[0])==null?void 0:i.image)&&t(l[0].image,l[0].alt,356,192,"h-[269px]")}),(0,p.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((n=l[1])==null?void 0:n.image)&&t(l[1].image,l[1].alt,166,128,"")})]}),(0,p.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,p.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((e=l[2])==null?void 0:e.image)&&t(l[2].image,l[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,p.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((c=l[3])==null?void 0:c.image)&&t(l[3].image,l[3].alt,356,192,"")})]})]})}var J,ol,rl,ml,al,y,p,lt=f(()=>{"use strict";J=require("@stackshift-ui/container")});var et={};u(et,{Features_H:()=>nt,default:()=>nt});function nt({caption:l,title:t,features:i,images:n}){return(0,p.jsx)(al.Section,{className:"py-20 bg-background",children:(0,p.jsx)(U.Container,{maxWidth:1280,children:(0,p.jsxs)(ol.Flex,{wrap:!0,align:"center",children:[(0,p.jsx)("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:(0,p.jsxs)(U.Container,{maxWidth:448,children:[(0,p.jsx)($t,{caption:l,title:t}),(0,p.jsx)(Vt,{features:i})]})}),(0,p.jsx)(Gt,{images:n})]})})})}function $t({caption:l,title:t}){return(0,p.jsxs)("div",{className:"flex flex-col gap-3",children:[l&&(0,p.jsx)(y.Text,{weight:"bold",className:"text-secondary",children:l}),t&&(0,p.jsx)(rl.Heading,{fontSize:"3xl",className:"mb-6",children:t})]})}function Vt({features:l}){return!l||(l==null?void 0:l.length)<=0?null:(0,p.jsx)("ol",{children:l.map(t=>(0,p.jsx)(jt,{feature:t},t._key))})}function jt({feature:l}){return l?(0,p.jsxs)(ol.Flex,{as:"li",className:"mb-5",children:[(0,p.jsx)(Mt,{}),(0,p.jsxs)("div",{className:"max-w-xs",children:[(0,p.jsx)(y.Text,{weight:"bold",className:"text-gray-500",children:l==null?void 0:l.title}),(0,p.jsx)(y.Text,{muted:!0,className:"leading-loose",children:l==null?void 0:l.plainText})]})]}):null}function Mt(){return(0,p.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,p.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,p:"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 Gt({images:l}){var t,i,n,e,c,v,g,w,b,h,F,C;return!l||(l==null?void 0:l.length)===0?null:(0,p.jsxs)("div",{className:"items-center w-full px-4 sm:flex md:px-0 lg:w-1/2",children:[(0,p.jsxs)("div",{className:"mb-5 sm:mb-0 sm:w-1/2",children:[((t=l==null?void 0:l[0])==null?void 0:t.image)&&(0,p.jsx)(ml.Image,{className:"object-cover overflow-hidden rounded-md",src:`${(i=l==null?void 0:l[0])==null?void 0:i.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(e=(n=l==null?void 0:l[0])==null?void 0:n.alt)!=null?e:"features-image-1"}),((c=l==null?void 0:l[1])==null?void 0:c.image)&&(0,p.jsx)(ml.Image,{className:"object-cover p-6 overflow-hidden rounded-md",src:`${(v=l==null?void 0:l[1])==null?void 0:v.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(w=(g=l==null?void 0:l[1])==null?void 0:g.alt)!=null?w:"features-image-2"})]}),((b=l==null?void 0:l[2])==null?void 0:b.image)&&(0,p.jsx)(ml.Image,{className:"object-cover overflow-hidden rounded-md sm:ml-6 sm:w-1/2",src:`${(h=l==null?void 0:l[2])==null?void 0:h.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(C=(F=l==null?void 0:l[2])==null?void 0:F.alt)!=null?C:"features-image-3"})]})}var U,ol,rl,ml,al,y,p,ot=f(()=>{"use strict";U=require("@stackshift-ui/container")});var qt={};u(qt,{Features:()=>rt});module.exports=xt(qt);var N=require("react"),Dt={variant_a:(0,N.lazy)(()=>Promise.resolve().then(()=>(dl(),cl))),variant_b:(0,N.lazy)(()=>Promise.resolve().then(()=>(hl(),bl))),variant_c:(0,N.lazy)(()=>Promise.resolve().then(()=>(yl(),Cl))),variant_d:(0,N.lazy)(()=>Promise.resolve().then(()=>(Pl(),Ll))),variant_e:(0,N.lazy)(()=>Promise.resolve().then(()=>(Vl(),$l))),variant_f:(0,N.lazy)(()=>Promise.resolve().then(()=>(Ql(),Kl))),variant_g:(0,N.lazy)(()=>Promise.resolve().then(()=>(lt(),Bl))),variant_h:(0,N.lazy)(()=>Promise.resolve().then(()=>(ot(),et)))},Et="Features",rt=({data:l})=>{var e,c,v,g,w,b,h,F,C,Y,Z,B,ll,tl,il,nl;let t=l==null?void 0:l.variant,i=t&&Dt[t],n={caption:(c=(e=l==null?void 0:l.variants)==null?void 0:e.subtitle)!=null?c:void 0,title:(g=(v=l==null?void 0:l.variants)==null?void 0:v.title)!=null?g:void 0,description:(b=(w=l==null?void 0:l.variants)==null?void 0:w.description)!=null?b:void 0,features:(F=(h=l==null?void 0:l.variants)==null?void 0:h.arrayOfImageTitleAndText)!=null?F:void 0,tags:(Y=(C=l==null?void 0:l.variants)==null?void 0:C.tags)!=null?Y:void 0,featuredItems:(B=(Z=l==null?void 0:l.variants)==null?void 0:Z.featuredItems)!=null?B:void 0,images:(tl=(ll=l==null?void 0:l.variants)==null?void 0:ll.images)!=null?tl:void 0,primaryButton:(nl=(il=l==null?void 0:l.variants)==null?void 0:il.primaryButton)!=null?nl:void 0};return i?(0,p.jsx)(i,{...n}):null};rt.displayName=Et;0&&(module.exports={Features});
package/dist/features.mjs DELETED
@@ -1 +0,0 @@
1
- import{a}from"./chunk-NGEHDE36.mjs";export{a as Features};
@@ -1,3 +0,0 @@
1
- import { FeaturesProps } from ".";
2
- export default function Features_A({ caption, title, description, features }: FeaturesProps): import("react/jsx-runtime").JSX.Element;
3
- export { Features_A };
@@ -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});
@@ -1 +0,0 @@
1
- import{a}from"./chunk-4EWXUBOB.mjs";export{a as Features_A,a as default};
@@ -1,3 +0,0 @@
1
- import { FeaturesProps } from ".";
2
- export default function Features_B({ caption, title, description, features, tags }: FeaturesProps): import("react/jsx-runtime").JSX.Element;
3
- export { Features_B };
@@ -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=(m,l)=>{for(var o in l)s(m,o,{get:l[o],enumerable:!0})},y=(m,l,o,a)=>{if(l&&typeof l=="object"||typeof l=="function")for(let t of N(l))!T.call(m,t)&&t!==o&&s(m,t,{get:()=>l[t],enumerable:!(a=h(l,t))||a.enumerable});return m};var F=m=>y(s({},"__esModule",{value:!0}),m);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"),i=require("react/jsx-runtime");function w({caption:m,title:l,description:o,features:a,tags:t}){return(0,i.jsx)(b.Section,{className:"py-20 bg-background",children:(0,i.jsx)(r.Container,{maxWidth:1280,children:(0,i.jsxs)(e.Flex,{wrap:!0,align:"center",children:[(0,i.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,i.jsxs)(r.Container,{maxWidth:448,children:[(0,i.jsx)(I,{caption:m,title:l,description:o}),(0,i.jsx)(k,{tags:t})]})}),(0,i.jsx)(C,{features:a})]})})})}function I({caption:m,title:l,description:o}){return(0,i.jsxs)(e.Flex,{direction:"col",gap:3,children:[m&&(0,i.jsx)(n.Text,{weight:"bold",className:"text-secondary",children:m}),l&&(0,i.jsx)(p.Heading,{fontSize:"3xl",children:l}),o&&(0,i.jsx)(n.Text,{muted:!0,className:"mb-6 leading-loose",children:o})]})}function k({tags:m}){return m?(0,i.jsx)("ul",{children:m&&m.map(l=>(0,i.jsxs)("li",{className:"flex mb-4",children:[(0,i.jsx)("svg",{className:"w-6 h-6 mr-2 text-secondary",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,i.jsx)("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,i.jsx)(n.Text,{muted:!0,weight:"bold",children:l})]},l))}):null}function C({features:m}){return m?(0,i.jsx)(e.Flex,{wrap:!0,align:"stretch",className:"w-full lg:w-1/2",children:m&&(m==null?void 0:m.map((l,o)=>{var a,t,g,d;return(0,i.jsx)("div",{className:`w-full px-4 mb-8 md:w-1/2 ${o%2===0?"lg:mb-0":"lg:mt-12"}`,children:(0,i.jsxs)(c.Card,{className:"py-6 pl-6 pr-4 mb-8 bg-white rounded-md",children:[((a=l==null?void 0:l.mainImage)==null?void 0:a.image)&&(0,i.jsx)("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary/50",children:(0,i.jsx)(x.Image,{className:"object-scale-down",src:`${(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,i.jsx)(n.Text,{weight:"bold",className:"text-xl md:text-2xl mb-2 text-gray-500 break-all",children:l==null?void 0:l.title}),(0,i.jsx)(n.Text,{muted:!0,className:"leading-loose break-all",children:l==null?void 0:l.plainText})]})},o)}))}):null}0&&(module.exports={Features_B});
@@ -1 +0,0 @@
1
- import{a}from"./chunk-WMAYXQDK.mjs";export{a as Features_B,a as default};
@@ -1,3 +0,0 @@
1
- import { FeaturesProps } from ".";
2
- export default function Features_C({ caption, title, description, features }: FeaturesProps): import("react/jsx-runtime").JSX.Element;
3
- export { Features_C };
@@ -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=(l,i)=>{for(var e in i)r(l,e,{get:i[e],enumerable:!0})},I=(l,i,e,n)=>{if(i&&typeof i=="object"||typeof i=="function")for(let m of T(i))!N.call(l,m)&&m!==e&&r(l,m,{get:()=>i[m],enumerable:!(n=b(i,m))||n.enumerable});return l};var h=l=>I(r({},"__esModule",{value:!0}),l);var f={};C(f,{Features_C:()=>x,default:()=>x});module.exports=h(f);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:l,title:i,description:e,features:n}){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)(v,{caption:l,title:i,description:e})}),(0,t.jsx)(w,{features:n})]})})}function v({caption:l,title:i,description:e}){return(0,t.jsxs)(d.Flex,{direction:"col",gap:3,align:"center",children:[l?(0,t.jsx)(a.Text,{weight:"bold",className:"text-secondary",children:l}):null,i?(0,t.jsx)(c.Heading,{fontSize:"3xl",children:i}):null,e?(0,t.jsx)(a.Text,{muted:!0,className:"mb-6 leading-loose",children:e}):null]})}function w({features:l}){return l?(0,t.jsx)("div",{className:"lg:grid lg:grid-cols-2 gap-3",children:l.map(i=>(0,t.jsx)(y,{feature:i},i._key))}):null}function y({feature:l}){var i,e,n,m;return(0,t.jsx)("div",{className:"w-full p-3",children:(0,t.jsxs)(o.Card,{className:"flex flex-wrap 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:((i=l==null?void 0:l.mainImage)==null?void 0:i.image)&&(0,t.jsx)(g.Image,{className:"object-scale-down",src:`${(e=l==null?void 0:l.mainImage)==null?void 0:e.image}`,width:40,height:40,alt:(m=(n=l==null?void 0:l.mainImage)==null?void 0:n.alt)!=null?m:"features-main-image"})}),(0,t.jsxs)("div",{className:"w-full lg:w-2/3 flex flex-col gap-2",children:[(0,t.jsx)(o.CardTitle,{className:"text-xl md:text-2xl break-all font-bold",children:l==null?void 0:l.title}),(0,t.jsx)(a.Text,{muted:!0,className:"break-all",children:l==null?void 0:l.plainText})]})]})})}0&&(module.exports={Features_C});
@@ -1 +0,0 @@
1
- import{a}from"./chunk-VEID3YEG.mjs";export{a as Features_C,a as default};
@@ -1,3 +0,0 @@
1
- import { FeaturesProps } from ".";
2
- export default function Features_D({ caption, title, description, features }: FeaturesProps): import("react/jsx-runtime").JSX.Element;
3
- export { Features_D };
@@ -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});
@@ -1 +0,0 @@
1
- import{a}from"./chunk-URBAFHHX.mjs";export{a as Features_D,a as default};
@@ -1,3 +0,0 @@
1
- import { FeaturesProps } from ".";
2
- export default function Features_E({ featuredItems }: FeaturesProps): import("react/jsx-runtime").JSX.Element;
3
- export { Features_E };
@@ -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});
@@ -1 +0,0 @@
1
- import{a}from"./chunk-2ZMZT34T.mjs";export{a as Features_E,a as default};
@@ -1,3 +0,0 @@
1
- import { FeaturesProps } from ".";
2
- export default function Features_F({ caption, title, description, images, primaryButton, }: FeaturesProps): import("react/jsx-runtime").JSX.Element;
3
- export { Features_F };
@@ -1 +0,0 @@
1
- "use strict";var o=Object.defineProperty;var F=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames;var I=Object.prototype.hasOwnProperty;var S=(e,i)=>{for(var n in i)o(e,n,{get:i[n],enumerable:!0})},T=(e,i,n,d)=>{if(i&&typeof i=="object"||typeof i=="function")for(let a of C(i))!I.call(e,a)&&a!==n&&o(e,a,{get:()=>i[a],enumerable:!(d=F(i,a))||d.enumerable});return e};var p=e=>T(o({},"__esModule",{value:!0}),e);var P={};S(P,{Features_F:()=>w,default:()=>w});module.exports=p(P);var m=require("@stackshift-ui/button"),s=require("@stackshift-ui/container"),t=require("@stackshift-ui/flex"),r=require("@stackshift-ui/heading"),x=require("@stackshift-ui/image"),b=require("@stackshift-ui/link"),h=require("@stackshift-ui/section"),v=require("@stackshift-ui/system"),c=require("@stackshift-ui/text"),l=require("react/jsx-runtime");function w({caption:e,title:i,description:n,images:d,primaryButton:a}){return(0,l.jsx)(h.Section,{className:"py-20 bg-background",children:(0,l.jsx)(s.Container,{maxWidth:1280,children:(0,l.jsxs)(t.Flex,{wrap:!0,align:"center",children:[(0,l.jsxs)(t.Flex,{direction:"col",className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:[(0,l.jsx)(W,{caption:e,title:i,description:n}),(0,l.jsx)(z,{primaryButton:a})]}),(0,l.jsx)(H,{images:d})]})})})}function W({caption:e,title:i,description:n}){return(0,l.jsxs)(s.Container,{maxWidth:448,className:"ml-0",children:[e&&(0,l.jsx)(c.Text,{weight:"bold",className:"font-bold text-secondary",children:e}),i&&(0,l.jsx)(r.Heading,{fontSize:"3xl",className:"mb-6",children:i}),n&&(0,l.jsx)(c.Text,{muted:!0,className:"mb-6 leading-loose",children:n})]})}function z({primaryButton:e}){var n,d,a;if(!(e!=null&&e.label))return null;let i=(0,v.buildSanityLink)({type:(n=e==null?void 0:e.type)!=null?n:"",internalLink:(d=e==null?void 0:e.internalLink)!=null?d:"",externalLink:(a=e==null?void 0:e.externalLink)!=null?a:""});return(0,l.jsx)(s.Container,{maxWidth:448,className:"ml-0",children:(0,l.jsx)(m.Button,{"aria-label":e==null?void 0:e.label,asChild:!0,children:(0,l.jsx)(b.Link,{href:i.href,target:i.target,rel:i.rel,children:e==null?void 0:e.label})})})}function H({images:e}){var n,d,a,g;if(!e||(e==null?void 0:e.length)===0)return null;function i(N,f,u,k,L){return(0,l.jsx)("div",{className:`overflow-hidden rounded-md ${L}`,children:(0,l.jsx)(x.Image,{className:"object-cover w-full h-full",src:N,sizes:"100vw",width:u,height:k,alt:f!=null?f:"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:((n=e[0])==null?void 0:n.image)&&i(e[0].image,e[0].alt,356,192,"h-[269px]")}),(0,l.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((d=e[1])==null?void 0:d.image)&&i(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)&&i(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:((g=e[3])==null?void 0:g.image)&&i(e[3].image,e[3].alt,356,192,"")})]})]})}0&&(module.exports={Features_F});
@@ -1 +0,0 @@
1
- import{a}from"./chunk-QAMGECN2.mjs";export{a as Features_F,a as default};
@@ -1,3 +0,0 @@
1
- import { FeaturesProps } from ".";
2
- export default function Features_G({ caption, title, description, images, tags }: FeaturesProps): import("react/jsx-runtime").JSX.Element;
3
- export { Features_G };
@@ -1 +0,0 @@
1
- "use strict";var m=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var N=Object.getOwnPropertyNames;var F=Object.prototype.hasOwnProperty;var y=(e,t)=>{for(var r in t)m(e,r,{get:t[r],enumerable:!0})},I=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of N(t))!F.call(e,a)&&a!==r&&m(e,a,{get:()=>t[a],enumerable:!(i=b(t,a))||i.enumerable});return e};var z=e=>I(m({},"__esModule",{value:!0}),e);var G={};y(G,{Features_G:()=>p,default:()=>p});module.exports=z(G);var o=require("@stackshift-ui/container"),d=require("@stackshift-ui/flex"),f=require("@stackshift-ui/heading"),c=require("@stackshift-ui/image"),g=require("@stackshift-ui/section"),s=require("@stackshift-ui/text"),l=require("react/jsx-runtime");function p({caption:e,title:t,description:r,images:i,tags:a}){return(0,l.jsx)(g.Section,{className:"py-20 bg-background",children:(0,l.jsx)(o.Container,{maxWidth:1280,children:(0,l.jsxs)(d.Flex,{wrap:!0,align:"center",children:[(0,l.jsx)("div",{className:"w-full px-4 mb-12 lg:mb-0 lg:w-1/2",children:(0,l.jsxs)(o.Container,{maxWidth:448,children:[(0,l.jsx)(C,{caption:e,title:t,description:r}),(0,l.jsx)(T,{tags:a})]})}),(0,l.jsx)(S,{images:i})]})})})}function C({caption:e,title:t,description:r}){return(0,l.jsxs)("div",{className:"flex flex-col gap-3",children:[e&&(0,l.jsx)(s.Text,{weight:"bold",className:"text-secondary",children:e}),t&&(0,l.jsx)(f.Heading,{fontSize:"3xl",className:"mb-3",children:t}),r&&(0,l.jsx)(s.Text,{muted:!0,className:"mb-6 leading-loose ",children:r})]})}function T({tags:e}){return e?(0,l.jsx)("ul",{className:"font-bold text-gray-500",children:e.map(t=>(0,l.jsx)(R,{item:t}))}):null}function R({item:e}){return e?(0,l.jsxs)(d.Flex,{as:"li",align:"center",className:"mb-2 ",children:[(0,l.jsx)("svg",{className:"w-5 h-5 mr-2 text-primary",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,l.jsx)("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,l.jsx)("span",{children:e})]}):null}function S({images:e}){var r,i,a,u;if(!e||(e==null?void 0:e.length)===0)return null;function t(v,n,x,w,h){return(0,l.jsx)("div",{className:`overflow-hidden rounded-md ${h}`,children:(0,l.jsx)(c.Image,{className:"object-cover w-full h-full",src:v,sizes:"100vw",width:x,height:w,alt:n!=null?n:"feature-image"})})}return(0,l.jsxs)("div",{className:"w-full lg:w-1/2",children:[(0,l.jsxs)("div",{className:"items-end mb-4 lg:flex lg:flex-wrap",children:[(0,l.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((r=e[0])==null?void 0:r.image)&&t(e[0].image,e[0].alt,356,192,"h-[269px]")}),(0,l.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((i=e[1])==null?void 0:i.image)&&t(e[1].image,e[1].alt,166,128,"")})]}),(0,l.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,l.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((a=e[2])==null?void 0:a.image)&&t(e[2].image,e[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,l.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((u=e[3])==null?void 0:u.image)&&t(e[3].image,e[3].alt,356,192,"")})]})]})}0&&(module.exports={Features_G});
@@ -1 +0,0 @@
1
- import{a}from"./chunk-MJRSGLBB.mjs";export{a as Features_G,a as default};
@@ -1,3 +0,0 @@
1
- import { FeaturesProps } from ".";
2
- export default function Features_H({ caption, title, features, images }: FeaturesProps): import("react/jsx-runtime").JSX.Element;
3
- export { Features_H };
@@ -1 +0,0 @@
1
- "use strict";var c=Object.defineProperty;var y=Object.getOwnPropertyDescriptor;var F=Object.getOwnPropertyNames;var k=Object.prototype.hasOwnProperty;var A=(t,n)=>{for(var o in n)c(t,o,{get:n[o],enumerable:!0})},I=(t,n,o,e)=>{if(n&&typeof n=="object"||typeof n=="function")for(let l of F(n))!k.call(t,l)&&l!==o&&c(t,l,{get:()=>n[l],enumerable:!(e=y(n,l))||e.enumerable});return t};var C=t=>I(c({},"__esModule",{value:!0}),t);var O={};A(O,{Features_H:()=>T,default:()=>T});module.exports=C(O);var m=require("@stackshift-ui/container"),a=require("@stackshift-ui/flex"),N=require("@stackshift-ui/heading"),d=require("@stackshift-ui/image"),b=require("@stackshift-ui/section"),i=require("@stackshift-ui/text"),r=require("react/jsx-runtime");function T({caption:t,title:n,features:o,images:e}){return(0,r.jsx)(b.Section,{className:"py-20 bg-background",children:(0,r.jsx)(m.Container,{maxWidth:1280,children:(0,r.jsxs)(a.Flex,{wrap:!0,align:"center",children:[(0,r.jsx)("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:(0,r.jsxs)(m.Container,{maxWidth:448,children:[(0,r.jsx)(z,{caption:t,title:n}),(0,r.jsx)(S,{features:o})]})}),(0,r.jsx)(L,{images:e})]})})})}function z({caption:t,title:n}){return(0,r.jsxs)("div",{className:"flex flex-col gap-3",children:[t&&(0,r.jsx)(i.Text,{weight:"bold",className:"text-secondary",children:t}),n&&(0,r.jsx)(N.Heading,{fontSize:"3xl",className:"mb-6",children:n})]})}function S({features:t}){return!t||(t==null?void 0:t.length)<=0?null:(0,r.jsx)("ul",{children:t.map(n=>(0,r.jsx)(j,{feature:n},n._key))})}function j({feature:t}){return t?(0,r.jsxs)(a.Flex,{as:"li",className:"mb-5",children:[(0,r.jsx)(H,{}),(0,r.jsxs)("div",{className:"max-w-xs",children:[(0,r.jsx)(i.Text,{weight:"bold",className:"text-gray-500",children:t==null?void 0:t.title}),(0,r.jsx)(i.Text,{muted:!0,className:"leading-loose",children:t==null?void 0:t.plainText})]})]}):null}function H(){return(0,r.jsx)("svg",{className:"w-8 h-8 mr-3 text-primary",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"})})}function L({images:t}){var n,o,e,l,x,w,p,v,h,u,f,s;return!t||(t==null?void 0:t.length)===0?null:(0,r.jsxs)("div",{className:"items-center w-full px-4 sm:flex md:px-0 lg:w-1/2",children:[(0,r.jsxs)("div",{className:"mb-5 sm:mb-0 sm:w-1/2",children:[((n=t==null?void 0:t[0])==null?void 0:n.image)&&(0,r.jsx)(d.Image,{className:"object-cover overflow-hidden rounded-md",src:`${(o=t==null?void 0:t[0])==null?void 0:o.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(l=(e=t==null?void 0:t[0])==null?void 0:e.alt)!=null?l:"features-image-1"}),((x=t==null?void 0:t[1])==null?void 0:x.image)&&(0,r.jsx)(d.Image,{className:"object-cover mt-6 overflow-hidden rounded-md",src:`${(w=t==null?void 0:t[1])==null?void 0:w.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(v=(p=t==null?void 0:t[1])==null?void 0:p.alt)!=null?v:"features-image-2"})]}),((h=t==null?void 0:t[2])==null?void 0:h.image)&&(0,r.jsx)(d.Image,{className:"object-cover overflow-hidden rounded-md sm:ml-6 sm:w-1/2",src:`${(u=t==null?void 0:t[2])==null?void 0:u.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(s=(f=t==null?void 0:t[2])==null?void 0:f.alt)!=null?s:"features-image-3"})]})}0&&(module.exports={Features_H});
@@ -1 +0,0 @@
1
- import{a}from"./chunk-7ZZLNFYE.mjs";export{a as Features_H,a as default};
package/dist/index.d.ts DELETED
@@ -1,9 +0,0 @@
1
- export * from "./features";
2
- export * from "./features_a";
3
- export * from "./features_b";
4
- export * from "./features_c";
5
- export * from "./features_d";
6
- export * from "./features_e";
7
- export * from "./features_f";
8
- export * from "./features_g";
9
- export * from "./features_h";
package/dist/index.js DELETED
@@ -1,2 +0,0 @@
1
- "use client";
2
- "use strict";var at=Object.create;var k=Object.defineProperty;var st=Object.getOwnPropertyDescriptor;var ct=Object.getOwnPropertyNames;var dt=Object.getPrototypeOf,pt=Object.prototype.hasOwnProperty;var f=(l,t)=>()=>(l&&(t=l(l=0)),t);var u=(l,t)=>{for(var i in t)k(l,i,{get:t[i],enumerable:!0})},Nl=(l,t,i,e)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of ct(t))!pt.call(l,n)&&n!==i&&k(l,n,{get:()=>t[n],enumerable:!(e=st(t,n))||e.enumerable});return l};var gt=(l,t,i)=>(i=l!=null?at(dt(l)):{},Nl(t||!l||!l.__esModule?k(i,"default",{value:l,enumerable:!0}):i,l)),xt=l=>Nl(k({},"__esModule",{value:!0}),l);var yl={};u(yl,{Features_A:()=>O,default:()=>O});function O({caption:l,title:t,description:i,features:e}){return(0,g.jsx)(Cl.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(R.Container,{maxWidth:1280,children:[(0,g.jsx)(R.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,g.jsx)(vt,{caption:l,title:t,description:i})}),(0,g.jsx)(wt,{features:e})]})})}function vt({caption:l,title:t,description:i}){return(0,g.jsxs)(fl.Flex,{direction:"col",gap:3,align:"center",children:[l?(0,g.jsx)(y.Text,{weight:"bold",className:"text-secondary",children:l}):null,t?(0,g.jsx)(Tl.Heading,{fontSize:"3xl",children:t}):null,i?(0,g.jsx)(y.Text,{muted:!0,children:i}):null]})}function wt({features:l}){return l?(0,g.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6",children:l==null?void 0:l.map(t=>(0,g.jsx)(bt,{feature:t},t._key))}):null}function bt({feature:l}){var t;return(0,g.jsxs)("div",{className:"text-center sm:text-start p-3",children:[(t=l==null?void 0:l.mainImage)!=null&&t.image?(0,g.jsx)(ht,{feature:l}):null,l!=null&&l.title?(0,g.jsx)(y.Text,{weight:"bold",className:"mb-4 text-gray-500",fontSize:"xl",children:l==null?void 0:l.title}):null,l!=null&&l.plainText?(0,g.jsx)(y.Text,{muted:!0,children:l==null?void 0:l.plainText}):null]})}function ht({feature:l}){var t,i,e,n;return(t=l==null?void 0:l.mainImage)!=null&&t.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)(Fl.Image,{className:"object-scale-down",src:`${(i=l==null?void 0:l.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(n=(e=l==null?void 0:l.mainImage)==null?void 0:e.alt)!=null?n:"features-image-"})}):null}var R,fl,Tl,Fl,Cl,y,g,$=f(()=>{"use strict";R=require("@stackshift-ui/container"),fl=require("@stackshift-ui/flex"),Tl=require("@stackshift-ui/heading"),Fl=require("@stackshift-ui/image"),Cl=require("@stackshift-ui/section"),y=require("@stackshift-ui/text"),g=require("react/jsx-runtime")});var Ll={};u(Ll,{Features_B:()=>j,default:()=>j});function j({caption:l,title:t,description:i,features:e,tags:n}){return(0,g.jsx)(Cl.Section,{className:"py-20 bg-background",children:(0,g.jsx)(V.Container,{maxWidth:1280,children:(0,g.jsxs)(fl.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)(V.Container,{maxWidth:448,children:[(0,g.jsx)(ut,{caption:l,title:t,description:i}),(0,g.jsx)(Nt,{tags:n})]})}),(0,g.jsx)(ft,{features:e})]})})})}function ut({caption:l,title:t,description:i}){return(0,g.jsxs)(fl.Flex,{direction:"col",gap:3,children:[l&&(0,g.jsx)(y.Text,{weight:"bold",className:"text-secondary",children:l}),t&&(0,g.jsx)(Tl.Heading,{fontSize:"3xl",children:t}),i&&(0,g.jsx)(y.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function Nt({tags:l}){return l?(0,g.jsx)("ul",{children:l&&l.map(t=>(0,g.jsxs)("li",{className:"flex mb-4",children:[(0,g.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,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)(y.Text,{muted:!0,weight:"bold",children:t})]},t))}):null}function ft({features:l}){return l?(0,g.jsx)(fl.Flex,{wrap:!0,align:"stretch",className:"w-full lg:w-1/2",children:l&&(l==null?void 0:l.map((t,i)=>{var e,n,c,v;return(0,g.jsx)("div",{className:`w-full px-4 mb-8 md:w-1/2 ${i%2===0?"lg:mb-0":"lg:g-12"}`,children:(0,g.jsxs)(kl.Card,{className:"py-6 pl-6 pr-4 mb-8 bg-white rounded-md",children:[((e=t==null?void 0:t.mainImage)==null?void 0:e.image)&&(0,g.jsx)("span",{className:"inline-block p-3 mb-4 rounded-lg bg-secondary/50",children:(0,g.jsx)(Fl.Image,{className:"object-scale-down",src:`${(n=t==null?void 0:t.mainImage)==null?void 0:n.image}`,width:40,height:40,alt:(v=(c=t==null?void 0:t.mainImage)==null?void 0:c.alt)!=null?v:`features-image-${i}`})}),(0,g.jsx)(y.Text,{weight:"bold",className:"text-xl md:text-2xl mb-2 text-gray-500 break-all",children:t==null?void 0:t.title}),(0,g.jsx)(y.Text,{muted:!0,className:"leading-loose break-all",children:t==null?void 0:t.plainText})]})},i)}))}):null}var kl,V,fl,Tl,Fl,Cl,y,g,M=f(()=>{"use strict";kl=require("@stackshift-ui/card"),V=require("@stackshift-ui/container")});var Hl={};u(Hl,{Features_C:()=>D,default:()=>D});function D({caption:l,title:t,description:i,features:e}){return(0,g.jsx)(Cl.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(V.Container,{maxWidth:1800,children:[(0,g.jsx)(V.Container,{maxWidth:640,className:"mb-16 text-center",children:(0,g.jsx)(Tt,{caption:l,title:t,description:i})}),(0,g.jsx)(Ft,{features:e})]})})}function Tt({caption:l,title:t,description:i}){return(0,g.jsxs)(fl.Flex,{direction:"col",gap:3,align:"center",children:[l?(0,g.jsx)(y.Text,{weight:"bold",className:"text-secondary",children:l}):null,t?(0,g.jsx)(Tl.Heading,{fontSize:"3xl",children:t}):null,i?(0,g.jsx)(y.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function Ft({features:l}){return l?(0,g.jsx)("div",{className:"lg:grid lg:grid-cols-2 gap-3",children:l.map(t=>(0,g.jsx)(Ct,{feature:t},t._key))}):null}function Ct({feature:l}){var t,i,e,n;return(0,g.jsx)("div",{className:"w-full p-3",children:(0,g.jsxs)(I.Card,{className:"flex flex-wrap h-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:((t=l==null?void 0:l.mainImage)==null?void 0:t.image)&&(0,g.jsx)(Fl.Image,{className:"object-scale-down",src:`${(i=l==null?void 0:l.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(n=(e=l==null?void 0:l.mainImage)==null?void 0:e.alt)!=null?n:"features-main-image"})}),(0,g.jsxs)("div",{className:"w-full lg:w-2/3 flex flex-col gap-2",children:[(0,g.jsx)(I.CardTitle,{className:"text-xl md:text-2xl break-all font-bold",children:l==null?void 0:l.title}),(0,g.jsx)(y.Text,{muted:!0,className:"break-all",children:l==null?void 0:l.plainText})]})]})})}var I,V,fl,Tl,Fl,Cl,y,g,E=f(()=>{"use strict";I=require("@stackshift-ui/card")});var Vl={};u(Vl,{Features_D:()=>K,default:()=>K});function K({caption:l,title:t,description:i,features:e}){return(0,g.jsx)($l.Section,{className:"py-20 bg-background",children:(0,g.jsxs)(V.Container,{maxWidth:1280,children:[(0,g.jsx)(V.Container,{maxWidth:640,className:"mb-8 text-center",children:(0,g.jsx)(yt,{caption:l,title:t,description:i})}),(0,g.jsx)(kt,{features:e})]})})}function yt({caption:l,title:t,description:i}){return(0,g.jsxs)(fl.Flex,{direction:"col",gap:3,align:"center",children:[l?(0,g.jsx)(y.Text,{weight:"bold",className:"text-secondary",children:l}):null,t?(0,g.jsx)(Tl.Heading,{fontSize:"3xl",children:t}):null,i?(0,g.jsx)(y.Text,{muted:!0,className:"mb-6 leading-loose",children:i}):null]})}function kt({features:l}){return l?(0,g.jsx)(fl.Flex,{wrap:!0,justify:"center",align:"stretch",children:l.map(t=>(0,g.jsx)(At,{feature:t},t._key))}):null}function At({feature:l}){var t,i,e,n;return(0,g.jsx)("div",{className:"w-full px-4 g-8 lg:mb-0 lg:w-1/3",children:(0,g.jsxs)(P.Card,{className:"h-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:((t=l==null?void 0:l.mainImage)==null?void 0:t.image)&&(0,g.jsx)(Fl.Image,{className:"object-scale-down",src:`${(i=l==null?void 0:l.mainImage)==null?void 0:i.image}`,width:40,height:40,alt:(n=(e=l==null?void 0:l.mainImage)==null?void 0:e.alt)!=null?n:"features-image-"})}),(0,g.jsx)(P.CardTitle,{className:"px-8 mb-4 text-gray-500 font-bold text-xl",children:l==null?void 0:l.title}),(0,g.jsx)(y.Text,{muted:!0,children:l==null?void 0:l.plainText})]})})}var P,V,fl,Tl,Fl,$l,y,g,Q=f(()=>{"use strict";P=require("@stackshift-ui/card")});var ql={};u(ql,{Features_E:()=>Z,default:()=>Z});function Z({featuredItems:l}){let[t,i]=Y.default.useState(0);return(0,g.jsx)(Cl.Section,{className:"py-20 overflow-g-auto bg-background",children:(0,g.jsx)(V.Container,{maxWidth:1280,children:(0,g.jsx)(fl.Flex,{className:"relative",children:(0,g.jsx)(Lt,{featuredItems:l,slider:n=>{l&&(n==="next"?t!==l.length-1?i(c=>c+1):i(0):t>=1?i(c=>c-1):i(l.length-1))},children:(0,g.jsxs)("div",{className:"order-1 w-full ml-auto xl:w-4/5",children:[(0,g.jsx)(St,{featuredItems:l,item:t}),(0,g.jsx)(It,{featuredItems:l,item:t})]})})})})})}function St({featuredItems:l,item:t}){var i,e,n,c,v,p,w;return(e=(i=l==null?void 0:l[t])==null?void 0:i.mainImage)!=null&&e.image?(0,g.jsx)("div",{className:"mx-auto overflow-hidden rounded-md md:max-w-xl xl:max-w-4xl",children:(0,g.jsx)(Fl.Image,{className:"relative object-cover rounded-md",src:`${(c=(n=l==null?void 0:l[t])==null?void 0:n.mainImage)==null?void 0:c.image}`,sizes:"100vw",width:896,height:575,alt:(w=(p=(v=l==null?void 0:l[t])==null?void 0:v.mainImage)==null?void 0:p.alt)!=null?w:`features-image-${t}`})}):null}function It({featuredItems:l,item:t}){var i,e,n,c,v,p;return l?(0,g.jsxs)(z.Card,{className:"top-0 left-0 max-w-xl p-6 mx-auto text-center bg-white md:g-12 md:p-10 lg:g-12 lg:p-10 xl:absolute xl:mx-0 xl:g-20 xl:py-24 rounded-md",children:[(0,g.jsx)(y.Text,{weight:"bold",className:"text-xs lg:text-md md:text-sm xl:text-lg text-secondary",children:((i=l==null?void 0:l[t])==null?void 0:i.subtitle)&&((e=l==null?void 0:l[t])==null?void 0:e.subtitle)}),(0,g.jsx)(z.CardTitle,{children:(0,g.jsx)(Tl.Heading,{fontSize:"3xl",children:((n=l==null?void 0:l[t])==null?void 0:n.title)&&((c=l==null?void 0:l[t])==null?void 0:c.title)})}),(0,g.jsx)(y.Text,{muted:!0,className:"text-xs leading-loose text-center md:g-5 md:text-sm lg:g-5 lg:text-sm",children:((v=l==null?void 0:l[t])==null?void 0:v.description)&&((p=l==null?void 0:l[t])==null?void 0:p.description)})]}):null}function Lt({featuredItems:l,children:t,slider:i}){return l?(0,g.jsxs)(Y.default.Fragment,{children:[(0,g.jsx)("div",{className:"absolute left-0 z-40 items-center g-20 -mx-3 order-0 md:g-40 lg:g-60 xl:-mx-6 xl:flex",children:(l==null?void 0:l.length)>=2&&(0,g.jsx)(U.Button,{"aria-label":"Show Previous Feature",className:"z-10 p-4 text-white ",onClick:()=>i("prev"),children:(0,g.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,g.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",g:"M10 19l-7-7m0 0l7-7m-7 7h18"})})})}),t,(0,g.jsx)("div",{className:"absolute right-0 z-40 items-center order-2 g-20 -mx-3 md:g-40 lg:g-60 xl:-mx-6 xl:flex",children:(l==null?void 0:l.length)>=2&&(0,g.jsx)(U.Button,{"aria-label":"Show Next Feature",className:"p-4 text-white ",onClick:()=>i("next"),children:(0,g.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,g.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",g:"M14 5l7 7m0 0l-7 7m7-7H3"})})})})]}):null}var U,z,V,fl,Tl,Fl,Cl,y,Y,g,B=f(()=>{"use strict";U=require("@stackshift-ui/button"),z=require("@stackshift-ui/card"),Y=gt(require("react"))});var Zl={};u(Zl,{Features_F:()=>il,default:()=>il});function il({caption:l,title:t,description:i,images:e,primaryButton:n}){return(0,g.jsx)(Cl.Section,{className:"py-20 bg-background",children:(0,g.jsx)(V.Container,{maxWidth:1280,children:(0,g.jsxs)(fl.Flex,{wrap:!0,align:"center",children:[(0,g.jsxs)(fl.Flex,{direction:"col",className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:[(0,g.jsx)(Pt,{caption:l,title:t,description:i}),(0,g.jsx)(zt,{primaryButton:n})]}),(0,g.jsx)(_t,{images:e})]})})})}function Pt({caption:l,title:t,description:i}){return(0,g.jsxs)(V.Container,{maxWidth:448,className:"ml-0",children:[l&&(0,g.jsx)(y.Text,{weight:"bold",className:"font-bold text-secondary",children:l}),t&&(0,g.jsx)(Tl.Heading,{fontSize:"3xl",className:"mb-6",children:t}),i&&(0,g.jsx)(y.Text,{muted:!0,className:"mb-6 leading-loose",children:i})]})}function zt({primaryButton:l}){var i,e,n;if(!(l!=null&&l.label))return null;let t=(0,Yl.buildSanityLink)({type:(i=l==null?void 0:l.type)!=null?i:"",internalLink:(e=l==null?void 0:l.internalLink)!=null?e:"",externalLink:(n=l==null?void 0:l.externalLink)!=null?n:""});return(0,g.jsx)(V.Container,{maxWidth:448,className:"ml-0",children:(0,g.jsx)(Jl.Button,{"aria-label":l==null?void 0:l.label,asChild:!0,children:(0,g.jsx)(Ul.Link,{href:t.href,target:t.target,rel:t.rel,children:l==null?void 0:l.label})})})}function _t({images:l}){var i,e,n,c;if(!l||(l==null?void 0:l.length)===0)return null;function t(v,p,w,b,h){return(0,g.jsx)("div",{className:`overflow-hidden rounded-md ${h}`,children:(0,g.jsx)(Fl.Image,{className:"object-cover w-full h-full",src:v,sizes:"100vw",width:w,height:b,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:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((i=l[0])==null?void 0:i.image)&&t(l[0].image,l[0].alt,356,192,"h-[269px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((e=l[1])==null?void 0:e.image)&&t(l[1].image,l[1].alt,166,128,"")})]}),(0,g.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((n=l[2])==null?void 0:n.image)&&t(l[2].image,l[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((c=l[3])==null?void 0:c.image)&&t(l[3].image,l[3].alt,356,192,"")})]})]})}var Jl,V,fl,Tl,Fl,Ul,Cl,Yl,y,g,el=f(()=>{"use strict";Jl=require("@stackshift-ui/button"),Ul=require("@stackshift-ui/link"),Yl=require("@stackshift-ui/system")});var it={};u(it,{Features_G:()=>ml,default:()=>ml});function ml({caption:l,title:t,description:i,images:e,tags:n}){return(0,g.jsx)(Cl.Section,{className:"py-20 bg-background",children:(0,g.jsx)(nl.Container,{maxWidth:1280,children:(0,g.jsxs)(fl.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)(nl.Container,{maxWidth:448,children:[(0,g.jsx)(Wt,{caption:l,title:t,description:i}),(0,g.jsx)(Ht,{tags:n})]})}),(0,g.jsx)(Ot,{images:e})]})})})}function Wt({caption:l,title:t,description:i}){return(0,g.jsxs)("div",{className:"flex flex-col gap-3",children:[l&&(0,g.jsx)(y.Text,{weight:"bold",className:"text-secondary",children:l}),t&&(0,g.jsx)(Tl.Heading,{fontSize:"3xl",className:"mb-3",children:t}),i&&(0,g.jsx)(y.Text,{muted:!0,className:"mb-6 leading-loose ",children:i})]})}function Ht({tags:l}){return l?(0,g.jsx)("ul",{className:"font-bold text-gray-500",children:l.map(t=>(0,g.jsx)(Rt,{item:t}))}):null}function Rt({item:l}){return l?(0,g.jsxs)(fl.Flex,{as:"li",align:"center",className:"mb-2 ",children:[(0,g.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,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:l})]}):null}function Ot({images:l}){var i,e,n,c;if(!l||(l==null?void 0:l.length)===0)return null;function t(v,p,w,b,h){return(0,g.jsx)("div",{className:`overflow-hidden rounded-md ${h}`,children:(0,g.jsx)(Fl.Image,{className:"object-cover w-full h-full",src:v,sizes:"100vw",width:w,height:b,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:"h-full px-3 mb-4 lg:mb-0 lg:w-2/3",children:((i=l[0])==null?void 0:i.image)&&t(l[0].image,l[0].alt,356,192,"h-[269px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:w-1/3",children:((e=l[1])==null?void 0:e.image)&&t(l[1].image,l[1].alt,166,128,"")})]}),(0,g.jsxs)("div",{className:"items-start mb-4 lg:flex lg:flex-wrap",children:[(0,g.jsx)("div",{className:"h-full px-3 mb-4 lg:mb-0 lg:w-1/3",children:((n=l[2])==null?void 0:n.image)&&t(l[2].image,l[2].alt,166,128,"h-[269px] lg:h-[126px]")}),(0,g.jsx)("div",{className:"h-full px-3 lg:w-2/3",children:((c=l[3])==null?void 0:c.image)&&t(l[3].image,l[3].alt,356,192,"")})]})]})}var nl,fl,Tl,Fl,Cl,y,g,al=f(()=>{"use strict";nl=require("@stackshift-ui/container")});var ot={};u(ot,{Features_H:()=>dl,default:()=>dl});function dl({caption:l,title:t,features:i,images:e}){return(0,g.jsx)(Cl.Section,{className:"py-20 bg-background",children:(0,g.jsx)(sl.Container,{maxWidth:1280,children:(0,g.jsxs)(fl.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)(sl.Container,{maxWidth:448,children:[(0,g.jsx)($t,{caption:l,title:t}),(0,g.jsx)(Vt,{features:i})]})}),(0,g.jsx)(Gt,{images:e})]})})})}function $t({caption:l,title:t}){return(0,g.jsxs)("div",{className:"flex flex-col gap-3",children:[l&&(0,g.jsx)(y.Text,{weight:"bold",className:"text-secondary",children:l}),t&&(0,g.jsx)(Tl.Heading,{fontSize:"3xl",className:"mb-6",children:t})]})}function Vt({features:l}){return!l||(l==null?void 0:l.length)<=0?null:(0,g.jsx)("ul",{children:l.map(t=>(0,g.jsx)(jt,{feature:t},t._key))})}function jt({feature:l}){return l?(0,g.jsxs)(fl.Flex,{as:"li",className:"mb-5",children:[(0,g.jsx)(Mt,{}),(0,g.jsxs)("div",{className:"max-w-xs",children:[(0,g.jsx)(y.Text,{weight:"bold",className:"text-gray-500",children:l==null?void 0:l.title}),(0,g.jsx)(y.Text,{muted:!0,className:"leading-loose",children:l==null?void 0:l.plainText})]})]}):null}function Mt(){return(0,g.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,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 Gt({images:l}){var t,i,e,n,c,v,p,w,b,h,F,C;return!l||(l==null?void 0:l.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:[((t=l==null?void 0:l[0])==null?void 0:t.image)&&(0,g.jsx)(Fl.Image,{className:"object-cover overflow-hidden rounded-md",src:`${(i=l==null?void 0:l[0])==null?void 0:i.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(n=(e=l==null?void 0:l[0])==null?void 0:e.alt)!=null?n:"features-image-1"}),((c=l==null?void 0:l[1])==null?void 0:c.image)&&(0,g.jsx)(Fl.Image,{className:"object-cover g-6 overflow-hidden rounded-md",src:`${(v=l==null?void 0:l[1])==null?void 0:v.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(w=(p=l==null?void 0:l[1])==null?void 0:p.alt)!=null?w:"features-image-2"})]}),((b=l==null?void 0:l[2])==null?void 0:b.image)&&(0,g.jsx)(Fl.Image,{className:"object-cover overflow-hidden rounded-md sm:ml-6 sm:w-1/2",src:`${(h=l==null?void 0:l[2])==null?void 0:h.image}`,width:640,height:800,sizes:"(max-width: 639px) 100vw, (min-width: 640px) 30vw",alt:(C=(F=l==null?void 0:l[2])==null?void 0:F.alt)!=null?C:"features-image-3"})]})}var sl,fl,Tl,Fl,Cl,y,g,pl=f(()=>{"use strict";sl=require("@stackshift-ui/container")});var qt={};u(qt,{Features:()=>rt,Features_A:()=>O,Features_B:()=>j,Features_C:()=>D,Features_D:()=>K,Features_E:()=>Z,Features_F:()=>il,Features_G:()=>ml,Features_H:()=>dl});module.exports=xt(qt);var N=require("react"),Dt={variant_a:(0,N.lazy)(()=>Promise.resolve().then(()=>($(),yl))),variant_b:(0,N.lazy)(()=>Promise.resolve().then(()=>(M(),Ll))),variant_c:(0,N.lazy)(()=>Promise.resolve().then(()=>(E(),Hl))),variant_d:(0,N.lazy)(()=>Promise.resolve().then(()=>(Q(),Vl))),variant_e:(0,N.lazy)(()=>Promise.resolve().then(()=>(B(),ql))),variant_f:(0,N.lazy)(()=>Promise.resolve().then(()=>(el(),Zl))),variant_g:(0,N.lazy)(()=>Promise.resolve().then(()=>(al(),it))),variant_h:(0,N.lazy)(()=>Promise.resolve().then(()=>(pl(),ot)))},Et="Features",rt=({data:l})=>{var n,c,v,p,w,b,h,F,C,gl,xl,vl,wl,bl,hl,ul;let t=l==null?void 0:l.variant,i=t&&Dt[t],e={caption:(c=(n=l==null?void 0:l.variants)==null?void 0:n.subtitle)!=null?c:void 0,title:(p=(v=l==null?void 0:l.variants)==null?void 0:v.title)!=null?p:void 0,description:(b=(w=l==null?void 0:l.variants)==null?void 0:w.description)!=null?b:void 0,features:(F=(h=l==null?void 0:l.variants)==null?void 0:h.arrayOfImageTitleAndText)!=null?F:void 0,tags:(gl=(C=l==null?void 0:l.variants)==null?void 0:C.tags)!=null?gl:void 0,featuredItems:(vl=(xl=l==null?void 0:l.variants)==null?void 0:xl.featuredItems)!=null?vl:void 0,images:(bl=(wl=l==null?void 0:l.variants)==null?void 0:wl.images)!=null?bl:void 0,primaryButton:(ul=(hl=l==null?void 0:l.variants)==null?void 0:hl.primaryButton)!=null?ul:void 0};return i?(0,g.jsx)(i,{...e}):null};rt.displayName=Et;$();M();E();Q();B();el();al();pl();0&&(module.exports={Features,Features_A,Features_B,Features_C,Features_D,Features_E,Features_F,Features_G,Features_H});
package/dist/index.mjs DELETED
@@ -1,2 +0,0 @@
1
- "use client";
2
- "use strict";import{a as p}from"./chunk-MJRSGLBB.mjs";import{a as x}from"./chunk-7ZZLNFYE.mjs";import{a as c}from"./chunk-NGEHDE36.mjs";import{a as o}from"./chunk-4EWXUBOB.mjs";import{a as r}from"./chunk-WMAYXQDK.mjs";import{a as e}from"./chunk-VEID3YEG.mjs";import{a as t}from"./chunk-URBAFHHX.mjs";import{a as f}from"./chunk-2ZMZT34T.mjs";import{a as m}from"./chunk-QAMGECN2.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);