@stackshift-ui/header 6.0.8-beta.2 → 6.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stackshift-ui/header",
3
3
  "description": "",
4
- "version": "6.0.8-beta.2",
4
+ "version": "6.0.9",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "main": "./dist/index.js",
@@ -29,27 +29,27 @@
29
29
  "typescript": "^5.6.2",
30
30
  "vite-tsconfig-paths": "^5.0.1",
31
31
  "vitest": "^2.1.1",
32
- "@stackshift-ui/eslint-config": "6.0.3-beta.2",
33
- "@stackshift-ui/typescript-config": "6.0.3-beta.2"
32
+ "@stackshift-ui/typescript-config": "6.0.4",
33
+ "@stackshift-ui/eslint-config": "6.0.4"
34
34
  },
35
35
  "dependencies": {
36
- "@stackshift-ui/system": "6.0.4-beta.2",
37
- "@stackshift-ui/scripts": "6.0.3-beta.2",
38
- "@stackshift-ui/text": "6.0.4-beta.2",
39
- "@stackshift-ui/button": "6.0.4-beta.2",
40
- "@stackshift-ui/heading": "6.0.4-beta.2",
41
- "@stackshift-ui/signin-signup": "6.0.7-beta.2",
42
- "@stackshift-ui/image": "6.0.4-beta.2",
43
- "@stackshift-ui/flex": "6.0.4-beta.2",
44
- "@stackshift-ui/section": "6.0.4-beta.2",
45
- "@stackshift-ui/container": "6.0.4-beta.2"
36
+ "@stackshift-ui/scripts": "6.0.4",
37
+ "@stackshift-ui/system": "6.0.5",
38
+ "@stackshift-ui/button": "6.0.5",
39
+ "@stackshift-ui/signin-signup": "6.0.8",
40
+ "@stackshift-ui/text": "6.0.5",
41
+ "@stackshift-ui/heading": "6.0.5",
42
+ "@stackshift-ui/image": "6.0.5",
43
+ "@stackshift-ui/section": "6.0.5",
44
+ "@stackshift-ui/container": "6.0.5",
45
+ "@stackshift-ui/flex": "6.0.5"
46
46
  },
47
47
  "peerDependencies": {
48
48
  "@types/react": "16.8 - 19",
49
49
  "next": "10 - 14",
50
50
  "react": "16.8 - 19",
51
51
  "react-dom": "16.8 - 19",
52
- "@stackshift-ui/system": ">=6.0.4-beta.2"
52
+ "@stackshift-ui/system": ">=6.0.5"
53
53
  },
54
54
  "peerDependenciesMeta": {
55
55
  "next": {
@@ -1 +0,0 @@
1
- import{Button as g}from"@stackshift-ui/button";import{Container as c}from"@stackshift-ui/container";import{Flex as n}from"@stackshift-ui/flex";import{Heading as b}from"@stackshift-ui/heading";import{Image as o}from"@stackshift-ui/image";import{Section as h}from"@stackshift-ui/section";import{Text as f}from"@stackshift-ui/text";import x from"react";import{Fragment as k,jsx as t,jsxs as i}from"react/jsx-runtime";function w({mainImage:e,title:l,description:s,primaryButton:r,secondaryButton:m}){return t(h,{className:"py-20 bg-background",children:t(c,{maxWidth:1280,children:i(n,{align:"center",gap:4,className:"flex-col lg:flex-row",children:[t(n,{align:"center",direction:"col",className:"w-full basis-1/2",children:i("div",{className:"max-w-md mx-auto text-center lg:text-left",children:[t(p,{title:l,description:s}),t(u,{primaryButton:r,secondaryButton:m})]})}),t(N,{mainImage:e})]})})})}function p({title:e,description:l}){return i(x.Fragment,{children:[e&&t(b,{fontSize:"3xl",className:"mb-3",children:e}),l&&t(f,{muted:!0,className:"my-6",children:l})]})}function u({primaryButton:e,secondaryButton:l}){return i(n,{align:"center",justify:"center",gap:2,direction:"col",className:"lg:justify-start md:flex-row",children:[(e==null?void 0:e.label)&&t(g,{as:"link",link:e,ariaLabel:e==null?void 0:e.label,children:e==null?void 0:e.label}),(l==null?void 0:l.label)&&t(g,{as:"link",link:l,className:"bg-secondary hover:bg-secondary/50 inline-block rounded-global font-bold transition duration-200 px-3 py-4",ariaLabel:l==null?void 0:l.label,children:l==null?void 0:l.label})]})}function N({mainImage:e}){var l;return e!=null&&e.image?i("div",{className:"relative w-full max-w-md",children:[t(o,{className:"overflow-hidden rounded-md object-cover md:rounded-br-none lg:h-[448px] relative z-10",src:`${e.image}`,sizes:"(min-width: 520px) 448px, 90vw",width:448,height:448,alt:(l=e.alt)!=null?l:"header-main-image"}),t(v,{})]}):null}function v(){return i(k,{children:[t(a,{src:"/assets/elements/webriq-blue-dark-up.png",alt:"webriq-blue-dark-up-mainImage-element",className:"absolute hidden md:block",style:{top:"-2rem",right:"3rem",zIndex:2},width:112,height:112}),t(a,{src:"/assets/elements/wing-webriq-blue-down.png",alt:"wing-webriq-blue-down-mainImage-element",className:"absolute hidden md:block",style:{bottom:"-2rem",right:"-2rem",zIndex:2},width:144,height:144}),t(a,{src:"/assets/elements/bullets-gray-right.svg",alt:"bullets-gray-right-mainImage-element",className:"absolute hidden md:block",style:{top:"3rem",right:"-3rem",zIndex:2},width:115,height:157}),t(a,{src:"/assets/elements/bullets-gray-left.svg",alt:"bullets-gray-left-mainImage-element",className:"absolute hidden md:block",style:{bottom:"2.5rem",left:"-4.5rem",zIndex:2},width:157,height:115})]})}function a({src:e,alt:l,className:s,style:r,width:m,height:d}){return t(o,{src:e,alt:l,className:s,style:r,width:m,height:d})}export{w as a};
@@ -1 +0,0 @@
1
- import{Button as z}from"@stackshift-ui/button";import{Container as F}from"@stackshift-ui/container";import{Flex as b}from"@stackshift-ui/flex";import{Heading as j}from"@stackshift-ui/heading";import{Image as c}from"@stackshift-ui/image";import{Section as H}from"@stackshift-ui/section";import{Text as P}from"@stackshift-ui/text";import I from"react";import{jsx as r,jsxs as d}from"react/jsx-runtime";function $({images:l,title:e,description:o,primaryButton:t,secondaryButton:n}){return r(H,{className:"relative z-10 py-20 bg-background",children:r(F,{maxWidth:1280,children:d(b,{align:"center",direction:"col",gap:4,className:"lg:flex-row",children:[r(b,{align:"center",direction:"col",className:"w-full basis-1/2",children:d("div",{className:"max-w-md mx-auto text-center lg:text-left",children:[r(S,{title:e,description:o}),r(T,{primaryButton:t,secondaryButton:n})]})}),l&&r(C,{images:l})]})})})}function S({title:l,description:e}){return d(I.Fragment,{children:[l&&r(j,{fontSize:"3xl",className:"mb-3",children:l}),e&&r(P,{muted:!0,className:"my-6",children:e})]})}function T({primaryButton:l,secondaryButton:e}){return d(b,{align:"center",gap:2,className:"flex items-center justify-center lg:justify-start gap-2 flex-col md:flex-row",children:[(l==null?void 0:l.label)&&r(z,{as:"link",link:l,ariaLabel:l==null?void 0:l.label,children:l==null?void 0:l.label}),(e==null?void 0:e.label)&&r(z,{as:"link",link:e,className:"bg-secondary hover:bg-secondary/50 inline-block rounded-global font-bold transition duration-200 px-6 py-3",ariaLabel:e==null?void 0:e.label,children:e==null?void 0:e.label})]})}function C({images:l}){var e,o,t,n,f,x,v,h,w,a,i,m,N,p,u,k;return l?d("div",{className:"w-full px-4 lg:w-1/2",children:[d("div",{className:"mb-3 sm:flex lg:mb-4 lg:ml-6",children:[((e=l==null?void 0:l[0])==null?void 0:e.image)&&r(c,{className:"relative object-cover mb-3 mr-2 overflow-hidden rounded-xl sm:mb-0 sm:w-1/3 md:rounded-3xl lg:rounded-br-none",sizes:"100vw",src:`${(o=l==null?void 0:l[0])==null?void 0:o.image}`,width:941,height:734,alt:(n=(t=l==null?void 0:l[0])==null?void 0:t.alt)!=null?n:"header-image-1"}),((f=l==null?void 0:l[1])==null?void 0:f.image)&&r(c,{className:"relative object-cover overflow-hidden rounded-xl sm:ml-2 sm:w-2/3 md:rounded-3xl lg:rounded-bl-none",sizes:"100vw",src:`${(x=l==null?void 0:l[1])==null?void 0:x.image}`,width:1050,height:701,alt:(h=(v=l==null?void 0:l[1])==null?void 0:v.alt)!=null?h:"header-image-2"})]}),d("div",{className:"mb-3 sm:flex lg:mb-4 lg:mr-6",children:[((w=l==null?void 0:l[2])==null?void 0:w.image)&&r(c,{className:"object-cover mb-3 mr-2 overflow-hidden rounded-xl sm:w-2/3 md:mb-0 md:rounded-3xl lg:rounded-br-none",sizes:"100vw",src:`${(a=l==null?void 0:l[2])==null?void 0:a.image}`,width:1050,height:701,alt:(m=(i=l==null?void 0:l[2])==null?void 0:i.alt)!=null?m:"header-image-3"}),((N=l==null?void 0:l[3])==null?void 0:N.image)&&r(c,{className:"object-cover overflow-hidden rounded-xl sm:ml-2 sm:w-1/3 md:rounded-3xl lg:rounded-bl-none",sizes:"100vw",src:`${(p=l==null?void 0:l[3])==null?void 0:p.image}`,width:941,height:734,alt:(k=(u=l==null?void 0:l[3])==null?void 0:u.alt)!=null?k:"header-image-4"})]})]}):null}export{$ as a};
@@ -1 +0,0 @@
1
- import{Button as o}from"@stackshift-ui/button";import{Container as t}from"@stackshift-ui/container";import{Flex as b}from"@stackshift-ui/flex";import{Heading as d}from"@stackshift-ui/heading";import{Section as p}from"@stackshift-ui/section";import{jsx as a,jsxs as s}from"react/jsx-runtime";function c({videoLink:e,title:l,primaryButton:m,secondaryButton:r}){let i;return e&&(e.includes("embed")?i=e.split("/")[4]:i=e.split("/watch?v=")[1]||e.split("/")[3]),a(p,{className:"py-20 md:py-52 bg-background",children:s(t,{maxWidth:1280,children:[s("div",{className:"max-w-2xl mx-auto mb-12 text-center md:mb-20",children:[l&&a(d,{fontSize:"3xl",className:"mb-10",children:l}),a(g,{primaryButton:m,secondaryButton:r})]}),a("div",{className:"md:mx-20 lg:mx-60 xl:mx-60",children:i&&a(f,{videoLinkId:i,title:l})})]})})}function f({videoLinkId:e,title:l}){return a("div",{className:"aspect-video",children:a("iframe",{"aria-label":"Show Video Frame",className:"w-full h-full border-4 rounded-3xl border-primary",src:`https://www.youtube.com/embed/${e}`,srcDoc:`<style>*{padding:0;margin:0;overflow:hidden;border-radius:24px}html,body{height:100%}img,span{position:absolute;width:100%;top:0;bottom:0;margin:auto}span{height:1.5em;text-align:center;font:48px/1.5 sans-serif;color:white;text-shadow:0 0 0.5em black}</style><a href=${`https://www.youtube.com/embed/${e}`}><img src=${`https://i.ytimg.com/vi_webp/${e}/maxresdefault.webp`} alt=${l} loading="lazy" /><span>\u25B6</span></a>`,loading:"lazy",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})})}function g({primaryButton:e,secondaryButton:l}){return s(b,{align:"center",gap:4,justify:"center",className:"flex-col lg:flex-row",children:[(e==null?void 0:e.label)&&a(o,{as:"link",ariaLabel:e==null?void 0:e.label,link:e,children:e==null?void 0:e.label}),(l==null?void 0:l.label)&&a(o,{as:"link",ariaLabel:l==null?void 0:l.label,link:l,className:"bg-secondary hover:bg-secondary/50 inline-block rounded-global font-bold transition duration-200 px-3 py-4",children:l==null?void 0:l.label})]})}export{c as a};
@@ -1 +0,0 @@
1
- import{lazy as i}from"react";import{jsx as V}from"react/jsx-runtime";var F={variant_a:i(()=>import("./header_a.mjs")),variant_b:i(()=>import("./header_b.mjs")),variant_c:i(()=>import("./header_c.mjs")),variant_d:i(()=>import("./header_d.mjs")),variant_e:i(()=>import("./header_e.mjs"))},H="Header",R=({data:n})=>{var o,s,t,m,p,u,f,g,v,c,l,y,B,L,k,I,b,P;let e=n==null?void 0:n.variant,r=e&&F[e],_={mainImage:(s=(o=n==null?void 0:n.variants)==null?void 0:o.mainImage)!=null?s:void 0,images:(m=(t=n==null?void 0:n.variants)==null?void 0:t.images)!=null?m:void 0,title:(u=(p=n==null?void 0:n.variants)==null?void 0:p.title)!=null?u:void 0,description:(g=(f=n==null?void 0:n.variants)==null?void 0:f.description)!=null?g:void 0,primaryButton:(c=(v=n==null?void 0:n.variants)==null?void 0:v.primaryButton)!=null?c:void 0,secondaryButton:(y=(l=n==null?void 0:n.variants)==null?void 0:l.secondaryButton)!=null?y:void 0,videoLink:(L=(B=n==null?void 0:n.variants)==null?void 0:B.youtubeLink)!=null?L:void 0,formLinks:(I=(k=n==null?void 0:n.variants)==null?void 0:k.formLinks)!=null?I:void 0,form:(P=(b=n==null?void 0:n.variants)==null?void 0:b.form)!=null?P:void 0};return r?V(r,{..._}):null};R.displayName=H;export{R as a};
@@ -1 +0,0 @@
1
- import{Button as n}from"@stackshift-ui/button";import{Container as o}from"@stackshift-ui/container";import{Flex as s}from"@stackshift-ui/flex";import{Heading as f}from"@stackshift-ui/heading";import{Image as g}from"@stackshift-ui/image";import{Section as m}from"@stackshift-ui/section";import{Text as b}from"@stackshift-ui/text";import x from"react";import{jsx as a,jsxs as r}from"react/jsx-runtime";function d({title:e,description:l,primaryButton:i,secondaryButton:t,mainImage:c}){return a(m,{className:"py-20 bg-background",children:a(o,{maxWidth:1280,children:r(s,{align:"center",className:"flex-col lg:flex-row",gap:4,children:[a(s,{align:"center",className:"w-full basis-1/2",direction:"col",children:r(o,{className:"mx-auto items-center text-center lg:text-left",maxWidth:"md",children:[a(p,{title:e,description:l}),a(h,{primaryButton:i,secondaryButton:t})]})}),a(N,{mainImage:c})]})})})}function p({title:e,description:l}){return r(x.Fragment,{children:[e?a(f,{fontSize:"3xl",className:"mb-3",type:"h1",children:e}):null,l?a(b,{className:"my-6",muted:!0,children:l}):null]})}function h({primaryButton:e,secondaryButton:l}){var i,t;return r(s,{align:"center",className:"flex items-center justify-center lg:justify-start gap-2 flex-col md:flex-row",gap:2,children:[e!=null&&e.label?a(n,{as:"link",link:e,ariaLabel:(i=e==null?void 0:e.ariaLabel)!=null?i:e==null?void 0:e.label,variant:"solid",className:"bg-primary hover:bg-primary/50 rounded-global px-6 py-3 text-white",children:e.label}):null,l!=null&&l.label?a(n,{as:"link",link:l,ariaLabel:(t=l.ariaLabel)!=null?t:l==null?void 0:l.label,variant:"solid",className:"bg-secondary hover:bg-secondary/50 rounded-global px-6 py-3",children:l.label}):null]})}function N({mainImage:e}){var l;return e!=null&&e.image?a("div",{className:"w-full h-full",children:a(g,{alt:(l=e.alt)!=null?l:"header-main-image",className:"rounded-md",height:700,sizes:"100vw",src:`${e==null?void 0:e.image}`,style:{objectFit:"contain"},width:1050})}):null}export{d as a};
@@ -1 +0,0 @@
1
- import{Button as s}from"@stackshift-ui/button";import{Container as g}from"@stackshift-ui/container";import{Flex as m}from"@stackshift-ui/flex";import{Heading as x}from"@stackshift-ui/heading";import{Section as n}from"@stackshift-ui/section";import{SigninSignup_A as c}from"@stackshift-ui/signin-signup";import{Text as b}from"@stackshift-ui/text";import d from"react";import{jsx as i,jsxs as a}from"react/jsx-runtime";function p({title:e,description:l,primaryButton:f,secondaryButton:o,formLinks:r,form:t}){return i(n,{className:"relative py-20 bg-background",children:i(g,{maxWidth:1280,children:a(m,{align:"center",className:"flex-col lg:flex-row",gap:4,children:[i(m,{align:"center",direction:"col",className:"w-full basis-1/2",children:a("div",{className:"max-w-md mx-auto text-center lg:text-left",children:[i(N,{title:e,description:l}),i(v,{primaryButton:f,secondaryButton:o})]})}),i("div",{className:"w-full lg:w-1/2",children:i("div",{className:"max-w-sm mx-auto text-center",children:i(c,{form:t,formLinks:r})})})]})})})}function N({title:e,description:l}){return a(d.Fragment,{children:[e&&i(x,{fontSize:"3xl",className:"mb-3",children:e}),l&&i(b,{muted:!0,className:"my-6",children:l})]})}function v({primaryButton:e,secondaryButton:l}){return a(m,{align:"center",gap:2,className:"flex-col md:flex-row justify-center lg:justify-start",children:[(e==null?void 0:e.label)&&i(s,{as:"link",link:e,ariaLabel:e==null?void 0:e.label,children:e==null?void 0:e.label}),(l==null?void 0:l.label)&&i(s,{as:"link",link:l,className:"bg-secondary hover:bg-secondary/50 inline-block rounded-global font-bold transition duration-200 px-6 py-3",ariaLabel:l==null?void 0:l.label,children:l==null?void 0:l.label})]})}export{p as a};
package/dist/header.d.ts DELETED
@@ -1,24 +0,0 @@
1
- import { SectionsProps, Images, MainImage, LabeledRouteWithKey, Form, Template } from "./types";
2
- export interface ButtonProps {
3
- as?: string;
4
- label?: string;
5
- link?: {
6
- target?: string;
7
- route?: string;
8
- };
9
- ariaLabel?: string;
10
- variant?: string;
11
- }
12
- export interface HeaderProps {
13
- template?: Template;
14
- mainImage?: MainImage;
15
- images?: Images[];
16
- title?: string;
17
- description?: string;
18
- primaryButton?: ButtonProps;
19
- secondaryButton?: ButtonProps;
20
- videoLink?: string;
21
- formLinks?: LabeledRouteWithKey[];
22
- form?: Form;
23
- }
24
- export declare const Header: React.FC<SectionsProps>;
package/dist/header.js DELETED
@@ -1 +0,0 @@
1
- "use strict";var $e=Object.create;var S=Object.defineProperty;var je=Object.getOwnPropertyDescriptor;var Me=Object.getOwnPropertyNames;var We=Object.getPrototypeOf,De=Object.prototype.hasOwnProperty;var F=(e,l)=>()=>(e&&(l=e(e=0)),l);var f=(e,l)=>{for(var i in l)S(e,i,{get:l[i],enumerable:!0})},J=(e,l,i,o)=>{if(l&&typeof l=="object"||typeof l=="function")for(let t of Me(l))!De.call(e,t)&&t!==i&&S(e,t,{get:()=>l[t],enumerable:!(o=je(l,t))||o.enumerable});return e};var z=(e,l,i)=>(i=e!=null?$e(We(e)):{},J(l||!e||!e.__esModule?S(i,"default",{value:e,enumerable:!0}):i,e)),Ae=e=>J(S({},"__esModule",{value:!0}),e);var y={};f(y,{Header_A:()=>Z,default:()=>Z});function Z({mainImage:e,title:l,description:i,primaryButton:o,secondaryButton:t}){return(0,r.jsx)(Q.Section,{className:"py-20 bg-background",children:(0,r.jsx)(X.Container,{maxWidth:1280,children:(0,r.jsxs)(I.Flex,{align:"center",gap:4,className:"flex-col lg:flex-row",children:[(0,r.jsx)(I.Flex,{align:"center",direction:"col",className:"w-full basis-1/2",children:(0,r.jsxs)("div",{className:"max-w-md mx-auto text-center lg:text-left",children:[(0,r.jsx)(Ve,{title:l,description:i}),(0,r.jsx)(qe,{primaryButton:o,secondaryButton:t})]})}),(0,r.jsx)(Ee,{mainImage:e})]})})})}function Ve({title:e,description:l}){return(0,r.jsxs)(Y.default.Fragment,{children:[e&&(0,r.jsx)(O.Heading,{fontSize:"3xl",className:"mb-3",children:e}),l&&(0,r.jsx)(U.Text,{muted:!0,className:"my-6",children:l})]})}function qe({primaryButton:e,secondaryButton:l}){return(0,r.jsxs)(I.Flex,{align:"center",justify:"center",gap:2,direction:"col",className:"lg:justify-start md:flex-row",children:[(e==null?void 0:e.label)&&(0,r.jsx)(_.Button,{as:"link",link:e,ariaLabel:e==null?void 0:e.label,children:e==null?void 0:e.label}),(l==null?void 0:l.label)&&(0,r.jsx)(_.Button,{as:"link",link:l,className:"bg-secondary hover:bg-secondary/50 inline-block rounded-global font-bold transition duration-200 px-3 py-4",ariaLabel:l==null?void 0:l.label,children:l==null?void 0:l.label})]})}function Ee({mainImage:e}){var l;return e!=null&&e.image?(0,r.jsxs)("div",{className:"relative w-full max-w-md",children:[(0,r.jsx)($.Image,{className:"overflow-hidden rounded-md object-cover md:rounded-br-none lg:h-[448px] relative z-10",src:`${e.image}`,sizes:"(min-width: 520px) 448px, 90vw",width:448,height:448,alt:(l=e.alt)!=null?l:"header-main-image"}),(0,r.jsx)(Ke,{})]}):null}function Ke(){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(L,{src:"/assets/elements/webriq-blue-dark-up.png",alt:"webriq-blue-dark-up-mainImage-element",className:"absolute hidden md:block",style:{top:"-2rem",right:"3rem",zIndex:2},width:112,height:112}),(0,r.jsx)(L,{src:"/assets/elements/wing-webriq-blue-down.png",alt:"wing-webriq-blue-down-mainImage-element",className:"absolute hidden md:block",style:{bottom:"-2rem",right:"-2rem",zIndex:2},width:144,height:144}),(0,r.jsx)(L,{src:"/assets/elements/bullets-gray-right.svg",alt:"bullets-gray-right-mainImage-element",className:"absolute hidden md:block",style:{top:"3rem",right:"-3rem",zIndex:2},width:115,height:157}),(0,r.jsx)(L,{src:"/assets/elements/bullets-gray-left.svg",alt:"bullets-gray-left-mainImage-element",className:"absolute hidden md:block",style:{bottom:"2.5rem",left:"-4.5rem",zIndex:2},width:157,height:115})]})}function L({src:e,alt:l,className:i,style:o,width:t,height:c}){return(0,r.jsx)($.Image,{src:e,alt:l,className:i,style:o,width:t,height:c})}var _,X,I,O,$,Q,U,Y,r,B=F(()=>{"use strict";_=require("@stackshift-ui/button"),X=require("@stackshift-ui/container"),I=require("@stackshift-ui/flex"),O=require("@stackshift-ui/heading"),$=require("@stackshift-ui/image"),Q=require("@stackshift-ui/section"),U=require("@stackshift-ui/text"),Y=z(require("react")),r=require("react/jsx-runtime")});var oe={};f(oe,{Header_B:()=>ne,default:()=>ne});function ne({images:e,title:l,description:i,primaryButton:o,secondaryButton:t}){return(0,r.jsx)(Q.Section,{className:"relative z-10 py-20 bg-background",children:(0,r.jsx)(X.Container,{maxWidth:1280,children:(0,r.jsxs)(I.Flex,{align:"center",direction:"col",gap:4,className:"lg:flex-row",children:[(0,r.jsx)(I.Flex,{align:"center",direction:"col",className:"w-full basis-1/2",children:(0,r.jsxs)("div",{className:"max-w-md mx-auto text-center lg:text-left",children:[(0,r.jsx)(Ge,{title:l,description:i}),(0,r.jsx)(Je,{primaryButton:o,secondaryButton:t})]})}),e&&(0,r.jsx)(Xe,{images:e})]})})})}function Ge({title:e,description:l}){return(0,r.jsxs)(te.default.Fragment,{children:[e&&(0,r.jsx)(O.Heading,{fontSize:"3xl",className:"mb-3",children:e}),l&&(0,r.jsx)(U.Text,{muted:!0,className:"my-6",children:l})]})}function Je({primaryButton:e,secondaryButton:l}){return(0,r.jsxs)(I.Flex,{align:"center",gap:2,className:"flex items-center justify-center lg:justify-start gap-2 flex-col md:flex-row",children:[(e==null?void 0:e.label)&&(0,r.jsx)(j.Button,{as:"link",link:e,ariaLabel:e==null?void 0:e.label,children:e==null?void 0:e.label}),(l==null?void 0:l.label)&&(0,r.jsx)(j.Button,{as:"link",link:l,className:"bg-secondary hover:bg-secondary/50 inline-block rounded-global font-bold transition duration-200 px-6 py-3",ariaLabel:l==null?void 0:l.label,children:l==null?void 0:l.label})]})}function Xe({images:e}){var l,i,o,t,c,b,g,p,x,h,v,w,u,N,k,P;return e?(0,r.jsxs)("div",{className:"w-full px-4 lg:w-1/2",children:[(0,r.jsxs)("div",{className:"mb-3 sm:flex lg:mb-4 lg:ml-6",children:[((l=e==null?void 0:e[0])==null?void 0:l.image)&&(0,r.jsx)($.Image,{className:"relative object-cover mb-3 mr-2 overflow-hidden rounded-xl sm:mb-0 sm:w-1/3 md:rounded-3xl lg:rounded-br-none",sizes:"100vw",src:`${(i=e==null?void 0:e[0])==null?void 0:i.image}`,width:941,height:734,alt:(t=(o=e==null?void 0:e[0])==null?void 0:o.alt)!=null?t:"header-image-1"}),((c=e==null?void 0:e[1])==null?void 0:c.image)&&(0,r.jsx)($.Image,{className:"relative object-cover overflow-hidden rounded-xl sm:ml-2 sm:w-2/3 md:rounded-3xl lg:rounded-bl-none",sizes:"100vw",src:`${(b=e==null?void 0:e[1])==null?void 0:b.image}`,width:1050,height:701,alt:(p=(g=e==null?void 0:e[1])==null?void 0:g.alt)!=null?p:"header-image-2"})]}),(0,r.jsxs)("div",{className:"mb-3 sm:flex lg:mb-4 lg:mr-6",children:[((x=e==null?void 0:e[2])==null?void 0:x.image)&&(0,r.jsx)($.Image,{className:"object-cover mb-3 mr-2 overflow-hidden rounded-xl sm:w-2/3 md:mb-0 md:rounded-3xl lg:rounded-br-none",sizes:"100vw",src:`${(h=e==null?void 0:e[2])==null?void 0:h.image}`,width:1050,height:701,alt:(w=(v=e==null?void 0:e[2])==null?void 0:v.alt)!=null?w:"header-image-3"}),((u=e==null?void 0:e[3])==null?void 0:u.image)&&(0,r.jsx)($.Image,{className:"object-cover overflow-hidden rounded-xl sm:ml-2 sm:w-1/3 md:rounded-3xl lg:rounded-bl-none",sizes:"100vw",src:`${(N=e==null?void 0:e[3])==null?void 0:N.image}`,width:941,height:734,alt:(P=(k=e==null?void 0:e[3])==null?void 0:k.alt)!=null?P:"header-image-4"})]})]}):null}var j,X,I,O,$,Q,U,te,r,se=F(()=>{"use strict";j=require("@stackshift-ui/button"),te=z(require("react"))});var be={};f(be,{Header_C:()=>de,default:()=>de});function de({videoLink:e,title:l,primaryButton:i,secondaryButton:o}){let t;return e&&(e.includes("embed")?t=e.split("/")[4]:t=e.split("/watch?v=")[1]||e.split("/")[3]),(0,r.jsx)(Q.Section,{className:"py-20 md:py-52 bg-background",children:(0,r.jsxs)(X.Container,{maxWidth:1280,children:[(0,r.jsxs)("div",{className:"max-w-2xl mx-auto mb-12 text-center md:mb-20",children:[l&&(0,r.jsx)(O.Heading,{fontSize:"3xl",className:"mb-10",children:l}),(0,r.jsx)(Qe,{primaryButton:i,secondaryButton:o})]}),(0,r.jsx)("div",{className:"md:mx-20 lg:mx-60 xl:mx-60",children:t&&(0,r.jsx)(Oe,{videoLinkId:t,title:l})})]})})}function Oe({videoLinkId:e,title:l}){return(0,r.jsx)("div",{className:"aspect-video",children:(0,r.jsx)("iframe",{"aria-label":"Show Video Frame",className:"w-full h-full border-4 rounded-3xl border-primary",src:`https://www.youtube.com/embed/${e}`,srcDoc:`<style>*{padding:0;margin:0;overflow:hidden;border-radius:24px}html,body{height:100%}img,span{position:absolute;width:100%;top:0;bottom:0;margin:auto}span{height:1.5em;text-align:center;font:48px/1.5 sans-serif;color:white;text-shadow:0 0 0.5em black}</style><r href=${`https://www.youtube.com/embed/${e}`}><img src=${`https://i.ytimg.com/vi_webp/${e}/maxresdefault.webp`} alt=${l} loading="lazy" /><span>\u25B6</span></r>`,loading:"lazy",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})})}function Qe({primaryButton:e,secondaryButton:l}){return(0,r.jsxs)(I.Flex,{align:"center",gap:4,justify:"center",className:"flex-col lg:flex-row",children:[(e==null?void 0:e.label)&&(0,r.jsx)(M.Button,{as:"link",ariaLabel:e==null?void 0:e.label,link:e,children:e==null?void 0:e.label}),(l==null?void 0:l.label)&&(0,r.jsx)(M.Button,{as:"link",ariaLabel:l==null?void 0:l.label,link:l,className:"bg-secondary hover:bg-secondary/50 inline-block rounded-global font-bold transition duration-200 px-3 py-4",children:l==null?void 0:l.label})]})}var M,X,I,O,Q,r,ge=F(()=>{"use strict";M=require("@stackshift-ui/button")});var Ne={};f(Ne,{Header_D:()=>ue,default:()=>ue});function ue({title:e,description:l,primaryButton:i,secondaryButton:o,mainImage:t}){return(0,r.jsx)(Q.Section,{className:"py-20 bg-background",children:(0,r.jsx)(X.Container,{maxWidth:1280,children:(0,r.jsxs)(I.Flex,{align:"center",className:"flex-col lg:flex-row",gap:4,children:[(0,r.jsx)(I.Flex,{align:"center",className:"w-full basis-1/2",direction:"col",children:(0,r.jsxs)(X.Container,{className:"mx-auto items-center text-center lg:text-left",maxWidth:"md",children:[(0,r.jsx)(Ue,{title:e,description:l}),(0,r.jsx)(Ye,{primaryButton:i,secondaryButton:o})]})}),(0,r.jsx)(Ze,{mainImage:t})]})})})}function Ue({title:e,description:l}){return(0,r.jsxs)(we.default.Fragment,{children:[e?(0,r.jsx)(O.Heading,{fontSize:"3xl",className:"mb-3",type:"h1",children:e}):null,l?(0,r.jsx)(U.Text,{className:"my-6",muted:!0,children:l}):null]})}function Ye({primaryButton:e,secondaryButton:l}){var i,o;return(0,r.jsxs)(I.Flex,{align:"center",className:"flex items-center justify-center lg:justify-start gap-2 flex-col md:flex-row",gap:2,children:[e!=null&&e.label?(0,r.jsx)(W.Button,{as:"link",link:e,ariaLabel:(i=e==null?void 0:e.ariaLabel)!=null?i:e==null?void 0:e.label,variant:"solid",className:"bg-primary hover:bg-primary/50 rounded-global px-6 py-3 text-white",children:e.label}):null,l!=null&&l.label?(0,r.jsx)(W.Button,{as:"link",link:l,ariaLabel:(o=l.ariaLabel)!=null?o:l==null?void 0:l.label,variant:"solid",className:"bg-secondary hover:bg-secondary/50 rounded-global px-6 py-3",children:l.label}):null]})}function Ze({mainImage:e}){var l;return e!=null&&e.image?(0,r.jsx)("div",{className:"w-full h-full",children:(0,r.jsx)($.Image,{alt:(l=e.alt)!=null?l:"header-main-image",className:"rounded-md",height:700,sizes:"100vw",src:`${e==null?void 0:e.image}`,style:{objectFit:"contain"},width:1050})}):null}var W,X,I,O,$,Q,U,we,r,ke=F(()=>{"use strict";W=require("@stackshift-ui/button"),we=z(require("react"))});var Ce={};f(Ce,{Header_E:()=>Ie,default:()=>Ie});function Ie({title:e,description:l,primaryButton:i,secondaryButton:o,formLinks:t,form:c}){return(0,r.jsx)(Q.Section,{className:"relative py-20 bg-background",children:(0,r.jsx)(X.Container,{maxWidth:1280,children:(0,r.jsxs)(I.Flex,{align:"center",className:"flex-col lg:flex-row",gap:4,children:[(0,r.jsx)(I.Flex,{align:"center",direction:"col",className:"w-full basis-1/2",children:(0,r.jsxs)("div",{className:"max-w-md mx-auto text-center lg:text-left",children:[(0,r.jsx)(ye,{title:e,description:l}),(0,r.jsx)(Be,{primaryButton:i,secondaryButton:o})]})}),(0,r.jsx)("div",{className:"w-full lg:w-1/2",children:(0,r.jsx)("div",{className:"max-w-sm mx-auto text-center",children:(0,r.jsx)(Se.SigninSignup_A,{form:c,formLinks:t})})})]})})})}function ye({title:e,description:l}){return(0,r.jsxs)(Le.default.Fragment,{children:[e&&(0,r.jsx)(O.Heading,{fontSize:"3xl",className:"mb-3",children:e}),l&&(0,r.jsx)(U.Text,{muted:!0,className:"my-6",children:l})]})}function Be({primaryButton:e,secondaryButton:l}){return(0,r.jsxs)(I.Flex,{align:"center",gap:2,className:"flex-col md:flex-row justify-center lg:justify-start",children:[(e==null?void 0:e.label)&&(0,r.jsx)(A.Button,{as:"link",link:e,ariaLabel:e==null?void 0:e.label,children:e==null?void 0:e.label}),(l==null?void 0:l.label)&&(0,r.jsx)(A.Button,{as:"link",link:l,className:"bg-secondary hover:bg-secondary/50 inline-block rounded-global font-bold transition duration-200 px-6 py-3",ariaLabel:l==null?void 0:l.label,children:l==null?void 0:l.label})]})}var A,X,I,O,Q,Se,U,Le,r,Te=F(()=>{"use strict";A=require("@stackshift-ui/button"),Se=require("@stackshift-ui/signin-signup"),Le=z(require("react"))});var il={};f(il,{Header:()=>Re});module.exports=Ae(il);var d=require("react"),el={variant_a:(0,d.lazy)(()=>Promise.resolve().then(()=>(B(),y))),variant_b:(0,d.lazy)(()=>Promise.resolve().then(()=>(se(),oe))),variant_c:(0,d.lazy)(()=>Promise.resolve().then(()=>(ge(),be))),variant_d:(0,d.lazy)(()=>Promise.resolve().then(()=>(ke(),Ne))),variant_e:(0,d.lazy)(()=>Promise.resolve().then(()=>(Te(),Ce)))},ll="Header",Re=({data:e})=>{var t,c,b,g,p,x,h,v,w,u,N,k,P,V,q,E,K,G;let l=e==null?void 0:e.variant,i=l&&el[l],o={mainImage:(c=(t=e==null?void 0:e.variants)==null?void 0:t.mainImage)!=null?c:void 0,images:(g=(b=e==null?void 0:e.variants)==null?void 0:b.images)!=null?g:void 0,title:(x=(p=e==null?void 0:e.variants)==null?void 0:p.title)!=null?x:void 0,description:(v=(h=e==null?void 0:e.variants)==null?void 0:h.description)!=null?v:void 0,primaryButton:(u=(w=e==null?void 0:e.variants)==null?void 0:w.primaryButton)!=null?u:void 0,secondaryButton:(k=(N=e==null?void 0:e.variants)==null?void 0:N.secondaryButton)!=null?k:void 0,videoLink:(V=(P=e==null?void 0:e.variants)==null?void 0:P.youtubeLink)!=null?V:void 0,formLinks:(E=(q=e==null?void 0:e.variants)==null?void 0:q.formLinks)!=null?E:void 0,form:(G=(K=e==null?void 0:e.variants)==null?void 0:K.form)!=null?G:void 0};return i?(0,r.jsx)(i,{...o}):null};Re.displayName=ll;0&&(module.exports={Header});
package/dist/header.mjs DELETED
@@ -1 +0,0 @@
1
- import{a}from"./chunk-VCKC4FNK.mjs";export{a as Header};
@@ -1,3 +0,0 @@
1
- import { HeaderProps } from ".";
2
- export default function Header_A({ mainImage, title, description, primaryButton, secondaryButton, }: HeaderProps): import("react/jsx-runtime").JSX.Element;
3
- export { Header_A };
package/dist/header_a.js DELETED
@@ -1 +0,0 @@
1
- "use strict";var u=Object.create;var r=Object.defineProperty;var N=Object.getOwnPropertyDescriptor;var v=Object.getOwnPropertyNames;var k=Object.getPrototypeOf,I=Object.prototype.hasOwnProperty;var P=(e,l)=>{for(var i in l)r(e,i,{get:l[i],enumerable:!0})},d=(e,l,i,s)=>{if(l&&typeof l=="object"||typeof l=="function")for(let a of v(l))!I.call(e,a)&&a!==i&&r(e,a,{get:()=>l[a],enumerable:!(s=N(l,a))||s.enumerable});return e};var z=(e,l,i)=>(i=e!=null?u(k(e)):{},d(l||!e||!e.__esModule?r(i,"default",{value:e,enumerable:!0}):i,e)),F=e=>d(r({},"__esModule",{value:!0}),e);var M={};P(M,{Header_A:()=>w,default:()=>w});module.exports=F(M);var g=require("@stackshift-ui/button"),c=require("@stackshift-ui/container"),n=require("@stackshift-ui/flex"),b=require("@stackshift-ui/heading"),o=require("@stackshift-ui/image"),h=require("@stackshift-ui/section"),f=require("@stackshift-ui/text"),x=z(require("react")),t=require("react/jsx-runtime");function w({mainImage:e,title:l,description:i,primaryButton:s,secondaryButton:a}){return(0,t.jsx)(h.Section,{className:"py-20 bg-background",children:(0,t.jsx)(c.Container,{maxWidth:1280,children:(0,t.jsxs)(n.Flex,{align:"center",gap:4,className:"flex-col lg:flex-row",children:[(0,t.jsx)(n.Flex,{align:"center",direction:"col",className:"w-full basis-1/2",children:(0,t.jsxs)("div",{className:"max-w-md mx-auto text-center lg:text-left",children:[(0,t.jsx)(H,{title:l,description:i}),(0,t.jsx)(S,{primaryButton:s,secondaryButton:a})]})}),(0,t.jsx)(q,{mainImage:e})]})})})}function H({title:e,description:l}){return(0,t.jsxs)(x.default.Fragment,{children:[e&&(0,t.jsx)(b.Heading,{fontSize:"3xl",className:"mb-3",children:e}),l&&(0,t.jsx)(f.Text,{muted:!0,className:"my-6",children:l})]})}function S({primaryButton:e,secondaryButton:l}){return(0,t.jsxs)(n.Flex,{align:"center",justify:"center",gap:2,direction:"col",className:"lg:justify-start md:flex-row",children:[(e==null?void 0:e.label)&&(0,t.jsx)(g.Button,{as:"link",link:e,ariaLabel:e==null?void 0:e.label,children:e==null?void 0:e.label}),(l==null?void 0:l.label)&&(0,t.jsx)(g.Button,{as:"link",link:l,className:"bg-secondary hover:bg-secondary/50 inline-block rounded-global font-bold transition duration-200 px-3 py-4",ariaLabel:l==null?void 0:l.label,children:l==null?void 0:l.label})]})}function q({mainImage:e}){var l;return e!=null&&e.image?(0,t.jsxs)("div",{className:"relative w-full max-w-md",children:[(0,t.jsx)(o.Image,{className:"overflow-hidden rounded-md object-cover md:rounded-br-none lg:h-[448px] relative z-10",src:`${e.image}`,sizes:"(min-width: 520px) 448px, 90vw",width:448,height:448,alt:(l=e.alt)!=null?l:"header-main-image"}),(0,t.jsx)(C,{})]}):null}function C(){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(m,{src:"/assets/elements/webriq-blue-dark-up.png",alt:"webriq-blue-dark-up-mainImage-element",className:"absolute hidden md:block",style:{top:"-2rem",right:"3rem",zIndex:2},width:112,height:112}),(0,t.jsx)(m,{src:"/assets/elements/wing-webriq-blue-down.png",alt:"wing-webriq-blue-down-mainImage-element",className:"absolute hidden md:block",style:{bottom:"-2rem",right:"-2rem",zIndex:2},width:144,height:144}),(0,t.jsx)(m,{src:"/assets/elements/bullets-gray-right.svg",alt:"bullets-gray-right-mainImage-element",className:"absolute hidden md:block",style:{top:"3rem",right:"-3rem",zIndex:2},width:115,height:157}),(0,t.jsx)(m,{src:"/assets/elements/bullets-gray-left.svg",alt:"bullets-gray-left-mainImage-element",className:"absolute hidden md:block",style:{bottom:"2.5rem",left:"-4.5rem",zIndex:2},width:157,height:115})]})}function m({src:e,alt:l,className:i,style:s,width:a,height:p}){return(0,t.jsx)(o.Image,{src:e,alt:l,className:i,style:s,width:a,height:p})}0&&(module.exports={Header_A});
package/dist/header_a.mjs DELETED
@@ -1 +0,0 @@
1
- import{a}from"./chunk-25OOMOCQ.mjs";export{a as Header_A,a as default};
@@ -1,3 +0,0 @@
1
- import { HeaderProps } from ".";
2
- export default function Header_B({ images, title, description, primaryButton, secondaryButton, }: HeaderProps): import("react/jsx-runtime").JSX.Element;
3
- export { Header_B };
package/dist/header_b.js DELETED
@@ -1 +0,0 @@
1
- "use strict";var T=Object.create;var c=Object.defineProperty;var C=Object.getOwnPropertyDescriptor;var L=Object.getOwnPropertyNames;var R=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty;var A=(l,e)=>{for(var d in e)c(l,d,{get:e[d],enumerable:!0})},F=(l,e,d,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of L(e))!s.call(l,o)&&o!==d&&c(l,o,{get:()=>e[o],enumerable:!(t=C(e,o))||t.enumerable});return l};var D=(l,e,d)=>(d=l!=null?T(R(l)):{},F(e||!l||!l.__esModule?c(d,"default",{value:l,enumerable:!0}):d,l)),G=l=>F(c({},"__esModule",{value:!0}),l);var E={};A(E,{Header_B:()=>S,default:()=>S});module.exports=G(E);var f=require("@stackshift-ui/button"),j=require("@stackshift-ui/container"),b=require("@stackshift-ui/flex"),H=require("@stackshift-ui/heading"),n=require("@stackshift-ui/image"),P=require("@stackshift-ui/section"),I=require("@stackshift-ui/text"),$=D(require("react")),r=require("react/jsx-runtime");function S({images:l,title:e,description:d,primaryButton:t,secondaryButton:o}){return(0,r.jsx)(P.Section,{className:"relative z-10 py-20 bg-background",children:(0,r.jsx)(j.Container,{maxWidth:1280,children:(0,r.jsxs)(b.Flex,{align:"center",direction:"col",gap:4,className:"lg:flex-row",children:[(0,r.jsx)(b.Flex,{align:"center",direction:"col",className:"w-full basis-1/2",children:(0,r.jsxs)("div",{className:"max-w-md mx-auto text-center lg:text-left",children:[(0,r.jsx)(W,{title:e,description:d}),(0,r.jsx)(_,{primaryButton:t,secondaryButton:o})]})}),l&&(0,r.jsx)(q,{images:l})]})})})}function W({title:l,description:e}){return(0,r.jsxs)($.default.Fragment,{children:[l&&(0,r.jsx)(H.Heading,{fontSize:"3xl",className:"mb-3",children:l}),e&&(0,r.jsx)(I.Text,{muted:!0,className:"my-6",children:e})]})}function _({primaryButton:l,secondaryButton:e}){return(0,r.jsxs)(b.Flex,{align:"center",gap:2,className:"flex items-center justify-center lg:justify-start gap-2 flex-col md:flex-row",children:[(l==null?void 0:l.label)&&(0,r.jsx)(f.Button,{as:"link",link:l,ariaLabel:l==null?void 0:l.label,children:l==null?void 0:l.label}),(e==null?void 0:e.label)&&(0,r.jsx)(f.Button,{as:"link",link:e,className:"bg-secondary hover:bg-secondary/50 inline-block rounded-global font-bold transition duration-200 px-6 py-3",ariaLabel:e==null?void 0:e.label,children:e==null?void 0:e.label})]})}function q({images:l}){var e,d,t,o,x,v,h,w,a,i,m,N,p,u,k,z;return l?(0,r.jsxs)("div",{className:"w-full px-4 lg:w-1/2",children:[(0,r.jsxs)("div",{className:"mb-3 sm:flex lg:mb-4 lg:ml-6",children:[((e=l==null?void 0:l[0])==null?void 0:e.image)&&(0,r.jsx)(n.Image,{className:"relative object-cover mb-3 mr-2 overflow-hidden rounded-xl sm:mb-0 sm:w-1/3 md:rounded-3xl lg:rounded-br-none",sizes:"100vw",src:`${(d=l==null?void 0:l[0])==null?void 0:d.image}`,width:941,height:734,alt:(o=(t=l==null?void 0:l[0])==null?void 0:t.alt)!=null?o:"header-image-1"}),((x=l==null?void 0:l[1])==null?void 0:x.image)&&(0,r.jsx)(n.Image,{className:"relative object-cover overflow-hidden rounded-xl sm:ml-2 sm:w-2/3 md:rounded-3xl lg:rounded-bl-none",sizes:"100vw",src:`${(v=l==null?void 0:l[1])==null?void 0:v.image}`,width:1050,height:701,alt:(w=(h=l==null?void 0:l[1])==null?void 0:h.alt)!=null?w:"header-image-2"})]}),(0,r.jsxs)("div",{className:"mb-3 sm:flex lg:mb-4 lg:mr-6",children:[((a=l==null?void 0:l[2])==null?void 0:a.image)&&(0,r.jsx)(n.Image,{className:"object-cover mb-3 mr-2 overflow-hidden rounded-xl sm:w-2/3 md:mb-0 md:rounded-3xl lg:rounded-br-none",sizes:"100vw",src:`${(i=l==null?void 0:l[2])==null?void 0:i.image}`,width:1050,height:701,alt:(N=(m=l==null?void 0:l[2])==null?void 0:m.alt)!=null?N:"header-image-3"}),((p=l==null?void 0:l[3])==null?void 0:p.image)&&(0,r.jsx)(n.Image,{className:"object-cover overflow-hidden rounded-xl sm:ml-2 sm:w-1/3 md:rounded-3xl lg:rounded-bl-none",sizes:"100vw",src:`${(u=l==null?void 0:l[3])==null?void 0:u.image}`,width:941,height:734,alt:(z=(k=l==null?void 0:l[3])==null?void 0:k.alt)!=null?z:"header-image-4"})]})]}):null}0&&(module.exports={Header_B});
package/dist/header_b.mjs DELETED
@@ -1 +0,0 @@
1
- import{a}from"./chunk-2FVIO3TA.mjs";export{a as Header_B,a as default};
@@ -1,3 +0,0 @@
1
- import { HeaderProps } from ".";
2
- export default function Header_C({ videoLink, title, primaryButton, secondaryButton, }: HeaderProps): import("react/jsx-runtime").JSX.Element;
3
- export { Header_C };
package/dist/header_c.js DELETED
@@ -1 +0,0 @@
1
- "use strict";var m=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var n=Object.prototype.hasOwnProperty;var x=(e,l)=>{for(var s in l)m(e,s,{get:l[s],enumerable:!0})},w=(e,l,s,o)=>{if(l&&typeof l=="object"||typeof l=="function")for(let i of g(l))!n.call(e,i)&&i!==s&&m(e,i,{get:()=>l[i],enumerable:!(o=f(l,i))||o.enumerable});return e};var h=e=>w(m({},"__esModule",{value:!0}),e);var N={};x(N,{Header_C:()=>c,default:()=>c});module.exports=h(N);var r=require("@stackshift-ui/button"),t=require("@stackshift-ui/container"),b=require("@stackshift-ui/flex"),d=require("@stackshift-ui/heading"),p=require("@stackshift-ui/section"),a=require("react/jsx-runtime");function c({videoLink:e,title:l,primaryButton:s,secondaryButton:o}){let i;return e&&(e.includes("embed")?i=e.split("/")[4]:i=e.split("/watch?v=")[1]||e.split("/")[3]),(0,a.jsx)(p.Section,{className:"py-20 md:py-52 bg-background",children:(0,a.jsxs)(t.Container,{maxWidth:1280,children:[(0,a.jsxs)("div",{className:"max-w-2xl mx-auto mb-12 text-center md:mb-20",children:[l&&(0,a.jsx)(d.Heading,{fontSize:"3xl",className:"mb-10",children:l}),(0,a.jsx)(v,{primaryButton:s,secondaryButton:o})]}),(0,a.jsx)("div",{className:"md:mx-20 lg:mx-60 xl:mx-60",children:i&&(0,a.jsx)(u,{videoLinkId:i,title:l})})]})})}function u({videoLinkId:e,title:l}){return(0,a.jsx)("div",{className:"aspect-video",children:(0,a.jsx)("iframe",{"aria-label":"Show Video Frame",className:"w-full h-full border-4 rounded-3xl border-primary",src:`https://www.youtube.com/embed/${e}`,srcDoc:`<style>*{padding:0;margin:0;overflow:hidden;border-radius:24px}html,body{height:100%}img,span{position:absolute;width:100%;top:0;bottom:0;margin:auto}span{height:1.5em;text-align:center;font:48px/1.5 sans-serif;color:white;text-shadow:0 0 0.5em black}</style><a href=${`https://www.youtube.com/embed/${e}`}><img src=${`https://i.ytimg.com/vi_webp/${e}/maxresdefault.webp`} alt=${l} loading="lazy" /><span>\u25B6</span></a>`,loading:"lazy",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})})}function v({primaryButton:e,secondaryButton:l}){return(0,a.jsxs)(b.Flex,{align:"center",gap:4,justify:"center",className:"flex-col lg:flex-row",children:[(e==null?void 0:e.label)&&(0,a.jsx)(r.Button,{as:"link",ariaLabel:e==null?void 0:e.label,link:e,children:e==null?void 0:e.label}),(l==null?void 0:l.label)&&(0,a.jsx)(r.Button,{as:"link",ariaLabel:l==null?void 0:l.label,link:l,className:"bg-secondary hover:bg-secondary/50 inline-block rounded-global font-bold transition duration-200 px-3 py-4",children:l==null?void 0:l.label})]})}0&&(module.exports={Header_C});
package/dist/header_c.mjs DELETED
@@ -1 +0,0 @@
1
- import{a}from"./chunk-OU7IRERX.mjs";export{a as Header_C,a as default};
@@ -1,3 +0,0 @@
1
- import { HeaderProps } from ".";
2
- export default function Header_D({ title, description, primaryButton, secondaryButton, mainImage, }: HeaderProps): JSX.Element;
3
- export { Header_D };
package/dist/header_d.js DELETED
@@ -1 +0,0 @@
1
- "use strict";var h=Object.create;var s=Object.defineProperty;var N=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var v=Object.getPrototypeOf,w=Object.prototype.hasOwnProperty;var F=(e,l)=>{for(var i in l)s(e,i,{get:l[i],enumerable:!0})},f=(e,l,i,t)=>{if(l&&typeof l=="object"||typeof l=="function")for(let r of u(l))!w.call(e,r)&&r!==i&&s(e,r,{get:()=>l[r],enumerable:!(t=N(l,r))||t.enumerable});return e};var P=(e,l,i)=>(i=e!=null?h(v(e)):{},f(l||!e||!e.__esModule?s(i,"default",{value:e,enumerable:!0}):i,e)),k=e=>f(s({},"__esModule",{value:!0}),e);var C={};F(C,{Header_D:()=>p,default:()=>p});module.exports=k(C);var o=require("@stackshift-ui/button"),c=require("@stackshift-ui/container"),n=require("@stackshift-ui/flex"),g=require("@stackshift-ui/heading"),m=require("@stackshift-ui/image"),b=require("@stackshift-ui/section"),x=require("@stackshift-ui/text"),d=P(require("react")),a=require("react/jsx-runtime");function p({title:e,description:l,primaryButton:i,secondaryButton:t,mainImage:r}){return(0,a.jsx)(b.Section,{className:"py-20 bg-background",children:(0,a.jsx)(c.Container,{maxWidth:1280,children:(0,a.jsxs)(n.Flex,{align:"center",className:"flex-col lg:flex-row",gap:4,children:[(0,a.jsx)(n.Flex,{align:"center",className:"w-full basis-1/2",direction:"col",children:(0,a.jsxs)(c.Container,{className:"mx-auto items-center text-center lg:text-left",maxWidth:"md",children:[(0,a.jsx)(H,{title:e,description:l}),(0,a.jsx)(L,{primaryButton:i,secondaryButton:t})]})}),(0,a.jsx)(S,{mainImage:r})]})})})}function H({title:e,description:l}){return(0,a.jsxs)(d.default.Fragment,{children:[e?(0,a.jsx)(g.Heading,{fontSize:"3xl",className:"mb-3",type:"h1",children:e}):null,l?(0,a.jsx)(x.Text,{className:"my-6",muted:!0,children:l}):null]})}function L({primaryButton:e,secondaryButton:l}){var i,t;return(0,a.jsxs)(n.Flex,{align:"center",className:"flex items-center justify-center lg:justify-start gap-2 flex-col md:flex-row",gap:2,children:[e!=null&&e.label?(0,a.jsx)(o.Button,{as:"link",link:e,ariaLabel:(i=e==null?void 0:e.ariaLabel)!=null?i:e==null?void 0:e.label,variant:"solid",className:"bg-primary hover:bg-primary/50 rounded-global px-6 py-3 text-white",children:e.label}):null,l!=null&&l.label?(0,a.jsx)(o.Button,{as:"link",link:l,ariaLabel:(t=l.ariaLabel)!=null?t:l==null?void 0:l.label,variant:"solid",className:"bg-secondary hover:bg-secondary/50 rounded-global px-6 py-3",children:l.label}):null]})}function S({mainImage:e}){var l;return e!=null&&e.image?(0,a.jsx)("div",{className:"w-full h-full",children:(0,a.jsx)(m.Image,{alt:(l=e.alt)!=null?l:"header-main-image",className:"rounded-md",height:700,sizes:"100vw",src:`${e==null?void 0:e.image}`,style:{objectFit:"contain"},width:1050})}):null}0&&(module.exports={Header_D});
package/dist/header_d.mjs DELETED
@@ -1 +0,0 @@
1
- import{a}from"./chunk-WLJLO6TL.mjs";export{a as Header_D,a as default};
@@ -1,3 +0,0 @@
1
- import { HeaderProps } from ".";
2
- export default function Header_E({ title, description, primaryButton, secondaryButton, formLinks, form, }: HeaderProps): import("react/jsx-runtime").JSX.Element;
3
- export { Header_E };
package/dist/header_e.js DELETED
@@ -1 +0,0 @@
1
- "use strict";var v=Object.create;var f=Object.defineProperty;var k=Object.getOwnPropertyDescriptor;var w=Object.getOwnPropertyNames;var F=Object.getPrototypeOf,H=Object.prototype.hasOwnProperty;var P=(e,l)=>{for(var a in l)f(e,a,{get:l[a],enumerable:!0})},t=(e,l,a,s)=>{if(l&&typeof l=="object"||typeof l=="function")for(let m of w(l))!H.call(e,m)&&m!==a&&f(e,m,{get:()=>l[m],enumerable:!(s=k(l,m))||s.enumerable});return e};var S=(e,l,a)=>(a=e!=null?v(F(e)):{},t(l||!e||!e.__esModule?f(a,"default",{value:e,enumerable:!0}):a,e)),L=e=>t(f({},"__esModule",{value:!0}),e);var A={};P(A,{Header_E:()=>p,default:()=>p});module.exports=L(A);var r=require("@stackshift-ui/button"),g=require("@stackshift-ui/container"),o=require("@stackshift-ui/flex"),x=require("@stackshift-ui/heading"),n=require("@stackshift-ui/section"),c=require("@stackshift-ui/signin-signup"),b=require("@stackshift-ui/text"),d=S(require("react")),i=require("react/jsx-runtime");function p({title:e,description:l,primaryButton:a,secondaryButton:s,formLinks:m,form:N}){return(0,i.jsx)(n.Section,{className:"relative py-20 bg-background",children:(0,i.jsx)(g.Container,{maxWidth:1280,children:(0,i.jsxs)(o.Flex,{align:"center",className:"flex-col lg:flex-row",gap:4,children:[(0,i.jsx)(o.Flex,{align:"center",direction:"col",className:"w-full basis-1/2",children:(0,i.jsxs)("div",{className:"max-w-md mx-auto text-center lg:text-left",children:[(0,i.jsx)(T,{title:e,description:l}),(0,i.jsx)(h,{primaryButton:a,secondaryButton:s})]})}),(0,i.jsx)("div",{className:"w-full lg:w-1/2",children:(0,i.jsx)("div",{className:"max-w-sm mx-auto text-center",children:(0,i.jsx)(c.SigninSignup_A,{form:N,formLinks:m})})})]})})})}function T({title:e,description:l}){return(0,i.jsxs)(d.default.Fragment,{children:[e&&(0,i.jsx)(x.Heading,{fontSize:"3xl",className:"mb-3",children:e}),l&&(0,i.jsx)(b.Text,{muted:!0,className:"my-6",children:l})]})}function h({primaryButton:e,secondaryButton:l}){return(0,i.jsxs)(o.Flex,{align:"center",gap:2,className:"flex-col md:flex-row justify-center lg:justify-start",children:[(e==null?void 0:e.label)&&(0,i.jsx)(r.Button,{as:"link",link:e,ariaLabel:e==null?void 0:e.label,children:e==null?void 0:e.label}),(l==null?void 0:l.label)&&(0,i.jsx)(r.Button,{as:"link",link:l,className:"bg-secondary hover:bg-secondary/50 inline-block rounded-global font-bold transition duration-200 px-6 py-3",ariaLabel:l==null?void 0:l.label,children:l==null?void 0:l.label})]})}0&&(module.exports={Header_E});
package/dist/header_e.mjs DELETED
@@ -1 +0,0 @@
1
- import{a}from"./chunk-Z4QMS2YF.mjs";export{a as Header_E,a as default};
package/dist/index.d.ts DELETED
@@ -1,6 +0,0 @@
1
- export * from "./header";
2
- export * from "./header_a";
3
- export * from "./header_b";
4
- export * from "./header_c";
5
- export * from "./header_d";
6
- export * from "./header_e";
package/dist/index.js DELETED
@@ -1,2 +0,0 @@
1
- "use client";
2
- "use strict";var $e=Object.create;var S=Object.defineProperty;var je=Object.getOwnPropertyDescriptor;var Me=Object.getOwnPropertyNames;var We=Object.getPrototypeOf,De=Object.prototype.hasOwnProperty;var F=(e,l)=>()=>(e&&(l=e(e=0)),l);var f=(e,l)=>{for(var i in l)S(e,i,{get:l[i],enumerable:!0})},le=(e,l,i,n)=>{if(l&&typeof l=="object"||typeof l=="function")for(let t of Me(l))!De.call(e,t)&&t!==i&&S(e,t,{get:()=>l[t],enumerable:!(n=je(l,t))||n.enumerable});return e};var z=(e,l,i)=>(i=e!=null?$e(We(e)):{},le(l||!e||!e.__esModule?S(i,"default",{value:e,enumerable:!0}):i,e)),Ae=e=>le(S({},"__esModule",{value:!0}),e);var se={};f(se,{Header_A:()=>j,default:()=>j});function j({mainImage:e,title:l,description:i,primaryButton:n,secondaryButton:t}){return(0,r.jsx)(te.Section,{className:"py-20 bg-background",children:(0,r.jsx)(ie.Container,{maxWidth:1280,children:(0,r.jsxs)(I.Flex,{align:"center",gap:4,className:"flex-col lg:flex-row",children:[(0,r.jsx)(I.Flex,{align:"center",direction:"col",className:"w-full basis-1/2",children:(0,r.jsxs)("div",{className:"max-w-md mx-auto text-center lg:text-left",children:[(0,r.jsx)(Ve,{title:l,description:i}),(0,r.jsx)(qe,{primaryButton:n,secondaryButton:t})]})}),(0,r.jsx)(Ee,{mainImage:e})]})})})}function Ve({title:e,description:l}){return(0,r.jsxs)(ne.default.Fragment,{children:[e&&(0,r.jsx)(re.Heading,{fontSize:"3xl",className:"mb-3",children:e}),l&&(0,r.jsx)(oe.Text,{muted:!0,className:"my-6",children:l})]})}function qe({primaryButton:e,secondaryButton:l}){return(0,r.jsxs)(I.Flex,{align:"center",justify:"center",gap:2,direction:"col",className:"lg:justify-start md:flex-row",children:[(e==null?void 0:e.label)&&(0,r.jsx)(_.Button,{as:"link",link:e,ariaLabel:e==null?void 0:e.label,children:e==null?void 0:e.label}),(l==null?void 0:l.label)&&(0,r.jsx)(_.Button,{as:"link",link:l,className:"bg-secondary hover:bg-secondary/50 inline-block rounded-global font-bold transition duration-200 px-3 py-4",ariaLabel:l==null?void 0:l.label,children:l==null?void 0:l.label})]})}function Ee({mainImage:e}){var l;return e!=null&&e.image?(0,r.jsxs)("div",{className:"relative w-full max-w-md",children:[(0,r.jsx)($.Image,{className:"overflow-hidden rounded-md object-cover md:rounded-br-none lg:h-[448px] relative z-10",src:`${e.image}`,sizes:"(min-width: 520px) 448px, 90vw",width:448,height:448,alt:(l=e.alt)!=null?l:"header-main-image"}),(0,r.jsx)(Ke,{})]}):null}function Ke(){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(L,{src:"/assets/elements/webriq-blue-dark-up.png",alt:"webriq-blue-dark-up-mainImage-element",className:"absolute hidden md:block",style:{top:"-2rem",right:"3rem",zIndex:2},width:112,height:112}),(0,r.jsx)(L,{src:"/assets/elements/wing-webriq-blue-down.png",alt:"wing-webriq-blue-down-mainImage-element",className:"absolute hidden md:block",style:{bottom:"-2rem",right:"-2rem",zIndex:2},width:144,height:144}),(0,r.jsx)(L,{src:"/assets/elements/bullets-gray-right.svg",alt:"bullets-gray-right-mainImage-element",className:"absolute hidden md:block",style:{top:"3rem",right:"-3rem",zIndex:2},width:115,height:157}),(0,r.jsx)(L,{src:"/assets/elements/bullets-gray-left.svg",alt:"bullets-gray-left-mainImage-element",className:"absolute hidden md:block",style:{bottom:"2.5rem",left:"-4.5rem",zIndex:2},width:157,height:115})]})}function L({src:e,alt:l,className:i,style:n,width:t,height:c}){return(0,r.jsx)($.Image,{src:e,alt:l,className:i,style:n,width:t,height:c})}var _,ie,I,re,$,te,oe,ne,r,M=F(()=>{"use strict";_=require("@stackshift-ui/button"),ie=require("@stackshift-ui/container"),I=require("@stackshift-ui/flex"),re=require("@stackshift-ui/heading"),$=require("@stackshift-ui/image"),te=require("@stackshift-ui/section"),oe=require("@stackshift-ui/text"),ne=z(require("react")),r=require("react/jsx-runtime")});var be={};f(be,{Header_B:()=>D,default:()=>D});function D({images:e,title:l,description:i,primaryButton:n,secondaryButton:t}){return(0,r.jsx)(te.Section,{className:"relative z-10 py-20 bg-background",children:(0,r.jsx)(ie.Container,{maxWidth:1280,children:(0,r.jsxs)(I.Flex,{align:"center",direction:"col",gap:4,className:"lg:flex-row",children:[(0,r.jsx)(I.Flex,{align:"center",direction:"col",className:"w-full basis-1/2",children:(0,r.jsxs)("div",{className:"max-w-md mx-auto text-center lg:text-left",children:[(0,r.jsx)(Ge,{title:l,description:i}),(0,r.jsx)(Je,{primaryButton:n,secondaryButton:t})]})}),e&&(0,r.jsx)(Xe,{images:e})]})})})}function Ge({title:e,description:l}){return(0,r.jsxs)(de.default.Fragment,{children:[e&&(0,r.jsx)(re.Heading,{fontSize:"3xl",className:"mb-3",children:e}),l&&(0,r.jsx)(oe.Text,{muted:!0,className:"my-6",children:l})]})}function Je({primaryButton:e,secondaryButton:l}){return(0,r.jsxs)(I.Flex,{align:"center",gap:2,className:"flex items-center justify-center lg:justify-start gap-2 flex-col md:flex-row",children:[(e==null?void 0:e.label)&&(0,r.jsx)(W.Button,{as:"link",link:e,ariaLabel:e==null?void 0:e.label,children:e==null?void 0:e.label}),(l==null?void 0:l.label)&&(0,r.jsx)(W.Button,{as:"link",link:l,className:"bg-secondary hover:bg-secondary/50 inline-block rounded-global font-bold transition duration-200 px-6 py-3",ariaLabel:l==null?void 0:l.label,children:l==null?void 0:l.label})]})}function Xe({images:e}){var l,i,n,t,c,b,g,p,x,h,v,w,u,N,k,P;return e?(0,r.jsxs)("div",{className:"w-full px-4 lg:w-1/2",children:[(0,r.jsxs)("div",{className:"mb-3 sm:flex lg:mb-4 lg:ml-6",children:[((l=e==null?void 0:e[0])==null?void 0:l.image)&&(0,r.jsx)($.Image,{className:"relative object-cover mb-3 mr-2 overflow-hidden rounded-xl sm:mb-0 sm:w-1/3 md:rounded-3xl lg:rounded-br-none",sizes:"100vw",src:`${(i=e==null?void 0:e[0])==null?void 0:i.image}`,width:941,height:734,alt:(t=(n=e==null?void 0:e[0])==null?void 0:n.alt)!=null?t:"header-image-1"}),((c=e==null?void 0:e[1])==null?void 0:c.image)&&(0,r.jsx)($.Image,{className:"relative object-cover overflow-hidden rounded-xl sm:ml-2 sm:w-2/3 md:rounded-3xl lg:rounded-bl-none",sizes:"100vw",src:`${(b=e==null?void 0:e[1])==null?void 0:b.image}`,width:1050,height:701,alt:(p=(g=e==null?void 0:e[1])==null?void 0:g.alt)!=null?p:"header-image-2"})]}),(0,r.jsxs)("div",{className:"mb-3 sm:flex lg:mb-4 lg:mr-6",children:[((x=e==null?void 0:e[2])==null?void 0:x.image)&&(0,r.jsx)($.Image,{className:"object-cover mb-3 mr-2 overflow-hidden rounded-xl sm:w-2/3 md:mb-0 md:rounded-3xl lg:rounded-br-none",sizes:"100vw",src:`${(h=e==null?void 0:e[2])==null?void 0:h.image}`,width:1050,height:701,alt:(w=(v=e==null?void 0:e[2])==null?void 0:v.alt)!=null?w:"header-image-3"}),((u=e==null?void 0:e[3])==null?void 0:u.image)&&(0,r.jsx)($.Image,{className:"object-cover overflow-hidden rounded-xl sm:ml-2 sm:w-1/3 md:rounded-3xl lg:rounded-bl-none",sizes:"100vw",src:`${(N=e==null?void 0:e[3])==null?void 0:N.image}`,width:941,height:734,alt:(P=(k=e==null?void 0:e[3])==null?void 0:k.alt)!=null?P:"header-image-4"})]})]}):null}var W,ie,I,re,$,te,oe,de,r,A=F(()=>{"use strict";W=require("@stackshift-ui/button"),de=z(require("react"))});var ve={};f(ve,{Header_C:()=>q,default:()=>q});function q({videoLink:e,title:l,primaryButton:i,secondaryButton:n}){let t;return e&&(e.includes("embed")?t=e.split("/")[4]:t=e.split("/watch?v=")[1]||e.split("/")[3]),(0,r.jsx)(te.Section,{className:"py-20 md:py-52 bg-background",children:(0,r.jsxs)(ie.Container,{maxWidth:1280,children:[(0,r.jsxs)("div",{className:"max-w-2xl mx-auto mb-12 text-center md:mb-20",children:[l&&(0,r.jsx)(re.Heading,{fontSize:"3xl",className:"mb-10",children:l}),(0,r.jsx)(Qe,{primaryButton:i,secondaryButton:n})]}),(0,r.jsx)("div",{className:"md:mx-20 lg:mx-60 xl:mx-60",children:t&&(0,r.jsx)(Oe,{videoLinkId:t,title:l})})]})})}function Oe({videoLinkId:e,title:l}){return(0,r.jsx)("div",{className:"aspect-video",children:(0,r.jsx)("iframe",{"aria-label":"Show Video Frame",className:"w-full h-full border-4 rounded-3xl border-primary",src:`https://www.youtube.com/embed/${e}`,srcDoc:`<style>*{padding:0;margin:0;overflow:hidden;border-radius:24px}html,body{height:100%}img,span{position:absolute;width:100%;top:0;bottom:0;margin:auto}span{height:1.5em;text-align:center;font:48px/1.5 sans-serif;color:white;text-shadow:0 0 0.5em black}</style><r href=${`https://www.youtube.com/embed/${e}`}><img src=${`https://i.ytimg.com/vi_webp/${e}/maxresdefault.webp`} alt=${l} loading="lazy" /><span>\u25B6</span></r>`,loading:"lazy",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})})}function Qe({primaryButton:e,secondaryButton:l}){return(0,r.jsxs)(I.Flex,{align:"center",gap:4,justify:"center",className:"flex-col lg:flex-row",children:[(e==null?void 0:e.label)&&(0,r.jsx)(V.Button,{as:"link",ariaLabel:e==null?void 0:e.label,link:e,children:e==null?void 0:e.label}),(l==null?void 0:l.label)&&(0,r.jsx)(V.Button,{as:"link",ariaLabel:l==null?void 0:l.label,link:l,className:"bg-secondary hover:bg-secondary/50 inline-block rounded-global font-bold transition duration-200 px-3 py-4",children:l==null?void 0:l.label})]})}var V,ie,I,re,te,r,E=F(()=>{"use strict";V=require("@stackshift-ui/button")});var Fe={};f(Fe,{Header_D:()=>J,default:()=>J});function J({title:e,description:l,primaryButton:i,secondaryButton:n,mainImage:t}){return(0,r.jsx)(te.Section,{className:"py-20 bg-background",children:(0,r.jsx)(ie.Container,{maxWidth:1280,children:(0,r.jsxs)(I.Flex,{align:"center",className:"flex-col lg:flex-row",gap:4,children:[(0,r.jsx)(I.Flex,{align:"center",className:"w-full basis-1/2",direction:"col",children:(0,r.jsxs)(ie.Container,{className:"mx-auto items-center text-center lg:text-left",maxWidth:"md",children:[(0,r.jsx)(Ue,{title:e,description:l}),(0,r.jsx)(Ye,{primaryButton:i,secondaryButton:n})]})}),(0,r.jsx)(Ze,{mainImage:t})]})})})}function Ue({title:e,description:l}){return(0,r.jsxs)(Pe.default.Fragment,{children:[e?(0,r.jsx)(re.Heading,{fontSize:"3xl",className:"mb-3",type:"h1",children:e}):null,l?(0,r.jsx)(oe.Text,{className:"my-6",muted:!0,children:l}):null]})}function Ye({primaryButton:e,secondaryButton:l}){var i,n;return(0,r.jsxs)(I.Flex,{align:"center",className:"flex items-center justify-center lg:justify-start gap-2 flex-col md:flex-row",gap:2,children:[e!=null&&e.label?(0,r.jsx)(K.Button,{as:"link",link:e,ariaLabel:(i=e==null?void 0:e.ariaLabel)!=null?i:e==null?void 0:e.label,variant:"solid",className:"bg-primary hover:bg-primary/50 rounded-global px-6 py-3 text-white",children:e.label}):null,l!=null&&l.label?(0,r.jsx)(K.Button,{as:"link",link:l,ariaLabel:(n=l.ariaLabel)!=null?n:l==null?void 0:l.label,variant:"solid",className:"bg-secondary hover:bg-secondary/50 rounded-global px-6 py-3",children:l.label}):null]})}function Ze({mainImage:e}){var l;return e!=null&&e.image?(0,r.jsx)("div",{className:"w-full h-full",children:(0,r.jsx)($.Image,{alt:(l=e.alt)!=null?l:"header-main-image",className:"rounded-md",height:700,sizes:"100vw",src:`${e==null?void 0:e.image}`,style:{objectFit:"contain"},width:1050})}):null}var K,ie,I,re,$,te,oe,Pe,r,X=F(()=>{"use strict";K=require("@stackshift-ui/button"),Pe=z(require("react"))});var Te={};f(Te,{Header_E:()=>Q,default:()=>Q});function Q({title:e,description:l,primaryButton:i,secondaryButton:n,formLinks:t,form:c}){return(0,r.jsx)(te.Section,{className:"relative py-20 bg-background",children:(0,r.jsx)(ie.Container,{maxWidth:1280,children:(0,r.jsxs)(I.Flex,{align:"center",className:"flex-col lg:flex-row",gap:4,children:[(0,r.jsx)(I.Flex,{align:"center",direction:"col",className:"w-full basis-1/2",children:(0,r.jsxs)("div",{className:"max-w-md mx-auto text-center lg:text-left",children:[(0,r.jsx)(ye,{title:e,description:l}),(0,r.jsx)(Be,{primaryButton:i,secondaryButton:n})]})}),(0,r.jsx)("div",{className:"w-full lg:w-1/2",children:(0,r.jsx)("div",{className:"max-w-sm mx-auto text-center",children:(0,r.jsx)(Le.SigninSignup_A,{form:c,formLinks:t})})})]})})})}function ye({title:e,description:l}){return(0,r.jsxs)(Ce.default.Fragment,{children:[e&&(0,r.jsx)(re.Heading,{fontSize:"3xl",className:"mb-3",children:e}),l&&(0,r.jsx)(oe.Text,{muted:!0,className:"my-6",children:l})]})}function Be({primaryButton:e,secondaryButton:l}){return(0,r.jsxs)(I.Flex,{align:"center",gap:2,className:"flex-col md:flex-row justify-center lg:justify-start",children:[(e==null?void 0:e.label)&&(0,r.jsx)(O.Button,{as:"link",link:e,ariaLabel:e==null?void 0:e.label,children:e==null?void 0:e.label}),(l==null?void 0:l.label)&&(0,r.jsx)(O.Button,{as:"link",link:l,className:"bg-secondary hover:bg-secondary/50 inline-block rounded-global font-bold transition duration-200 px-6 py-3",ariaLabel:l==null?void 0:l.label,children:l==null?void 0:l.label})]})}var O,ie,I,re,te,Le,oe,Ce,r,U=F(()=>{"use strict";O=require("@stackshift-ui/button"),Le=require("@stackshift-ui/signin-signup"),Ce=z(require("react"))});var il={};f(il,{Header:()=>Re,Header_A:()=>j,Header_B:()=>D,Header_C:()=>q,Header_D:()=>J,Header_E:()=>Q});module.exports=Ae(il);var d=require("react"),el={variant_a:(0,d.lazy)(()=>Promise.resolve().then(()=>(M(),se))),variant_b:(0,d.lazy)(()=>Promise.resolve().then(()=>(A(),be))),variant_c:(0,d.lazy)(()=>Promise.resolve().then(()=>(E(),ve))),variant_d:(0,d.lazy)(()=>Promise.resolve().then(()=>(X(),Fe))),variant_e:(0,d.lazy)(()=>Promise.resolve().then(()=>(U(),Te)))},ll="Header",Re=({data:e})=>{var t,c,b,g,p,x,h,v,w,u,N,k,P,Y,Z,y,B,ee;let l=e==null?void 0:e.variant,i=l&&el[l],n={mainImage:(c=(t=e==null?void 0:e.variants)==null?void 0:t.mainImage)!=null?c:void 0,images:(g=(b=e==null?void 0:e.variants)==null?void 0:b.images)!=null?g:void 0,title:(x=(p=e==null?void 0:e.variants)==null?void 0:p.title)!=null?x:void 0,description:(v=(h=e==null?void 0:e.variants)==null?void 0:h.description)!=null?v:void 0,primaryButton:(u=(w=e==null?void 0:e.variants)==null?void 0:w.primaryButton)!=null?u:void 0,secondaryButton:(k=(N=e==null?void 0:e.variants)==null?void 0:N.secondaryButton)!=null?k:void 0,videoLink:(Y=(P=e==null?void 0:e.variants)==null?void 0:P.youtubeLink)!=null?Y:void 0,formLinks:(y=(Z=e==null?void 0:e.variants)==null?void 0:Z.formLinks)!=null?y:void 0,form:(ee=(B=e==null?void 0:e.variants)==null?void 0:B.form)!=null?ee:void 0};return i?(0,r.jsx)(i,{...n}):null};Re.displayName=ll;M();A();E();X();U();0&&(module.exports={Header,Header_A,Header_B,Header_C,Header_D,Header_E});
package/dist/index.mjs DELETED
@@ -1,2 +0,0 @@
1
- "use client";
2
- "use strict";import{a as m}from"./chunk-VCKC4FNK.mjs";import{a as o}from"./chunk-25OOMOCQ.mjs";import{a as r}from"./chunk-2FVIO3TA.mjs";import{a as e}from"./chunk-OU7IRERX.mjs";import{a as t}from"./chunk-WLJLO6TL.mjs";import{a as f}from"./chunk-Z4QMS2YF.mjs";export{m as Header,o as Header_A,r as Header_B,e as Header_C,t as Header_D,f as Header_E};
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);