@uniformdev/csk-components 6.0.44 → 6.0.77-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli.js +1 -1
- package/dist/ThemeSwitcher-6Q7LCO4Q.mjs +1 -0
- package/dist/accordion-item-A2CU5OKG.mjs +1 -0
- package/dist/banner-QXWN54B7.mjs +1 -0
- package/dist/carousel-3H6U25O4.mjs +1 -0
- package/dist/carousel-UKVR7LKR.mjs +1 -0
- package/dist/{chunk-HDWSBDVE.mjs → chunk-2SEOCBRK.mjs} +1 -1
- package/dist/{chunk-UDP47PNB.mjs → chunk-2UV7TQNF.mjs} +1 -1
- package/dist/{chunk-6POLDE2K.mjs → chunk-3PDY7RJC.mjs} +3 -3
- package/dist/chunk-6TUDWIYU.mjs +1 -0
- package/dist/chunk-AKRWCDDG.mjs +1 -0
- package/dist/chunk-CBZWZSQW.mjs +1 -0
- package/dist/chunk-GU776XBS.mjs +1 -0
- package/dist/{chunk-26BSLQVU.mjs → chunk-H3OSPGNK.mjs} +1 -1
- package/dist/{chunk-JTRZPR2Q.mjs → chunk-HLLKGZN6.mjs} +1 -1
- package/dist/chunk-P2OOJTJ2.mjs +1 -0
- package/dist/chunk-RX4IAAQQ.mjs +1 -0
- package/dist/{chunk-CLSZO62H.mjs → chunk-T6HZMAEP.mjs} +1 -1
- package/dist/chunk-TM7Q5NMH.mjs +1 -0
- package/dist/{chunk-ZWDCDE5W.mjs → chunk-V4EBWEG4.mjs} +1 -1
- package/dist/chunk-YEKQJ4YC.mjs +1 -0
- package/dist/components/canvas/emptyPlaceholders.d.mts +3 -3
- package/dist/components/canvas/emptyPlaceholders.mjs +1 -1
- package/dist/components/canvas/index.d.mts +48 -26
- package/dist/components/canvas/index.mjs +2 -1
- package/dist/components/ui/index.d.mts +3 -3
- package/dist/components/ui/index.mjs +1 -1
- package/dist/content/components/canvas/Badge/index.tsx +1 -2
- package/dist/content/components/canvas/Breadcrumbs/breadcrumbs.tsx +64 -7
- package/dist/content/components/canvas/Breadcrumbs/index.tsx +2 -2
- package/dist/content/components/canvas/Button/index.tsx +1 -2
- package/dist/content/components/canvas/DemoHero/fixed-hero.tsx +1 -1
- package/dist/content/components/canvas/Flex/index.tsx +1 -2
- package/dist/content/components/canvas/Footer/index.tsx +1 -2
- package/dist/content/components/canvas/Grid/index.tsx +1 -2
- package/dist/content/components/canvas/GridItem/index.tsx +1 -2
- package/dist/content/components/canvas/Header/index.tsx +1 -2
- package/dist/content/components/canvas/IconLabel/index.tsx +1 -2
- package/dist/content/components/canvas/Link/index.tsx +1 -2
- package/dist/content/components/canvas/NavigationFlyout/index.tsx +4 -2
- package/dist/content/components/canvas/NavigationFlyout/navigation-flyout.tsx +32 -6
- package/dist/content/components/canvas/NavigationFlyout/style-utils.ts +2 -2
- package/dist/content/components/canvas/NavigationGroup/index.tsx +4 -2
- package/dist/content/components/canvas/NavigationGroup/navigation-group.tsx +32 -6
- package/dist/content/components/canvas/NavigationGroup/style-utils.ts +2 -2
- package/dist/content/components/canvas/NavigationLink/index.tsx +4 -2
- package/dist/content/components/canvas/NavigationLink/navigation-link.tsx +21 -4
- package/dist/content/components/canvas/NavigationLink/wrapper.tsx +8 -3
- package/dist/content/components/canvas/RichText/index.tsx +1 -2
- package/dist/content/components/canvas/Section/default-variant.tsx +1 -6
- package/dist/content/components/canvas/Section/section.tsx +1 -2
- package/dist/content/components/canvas/Tab/index.tsx +1 -2
- package/dist/content/components/canvas/Tabs/index.tsx +1 -2
- package/dist/content/components/canvas/Text/index.tsx +1 -2
- package/dist/content/components/canvas/ThemeSwitcher/index.tsx +1 -2
- package/dist/content/components/ui/IconLabel/icon-label.tsx +11 -4
- package/dist/content/components/ui/IconLabel/index.ts +2 -1
- package/dist/content/components/ui/_icons/index.tsx +0 -1
- package/dist/content/utils/routing.ts +1 -1
- package/dist/countdown-LYDXJLEE.mjs +1 -0
- package/dist/image-gallery-2ZNDWYOS.mjs +1 -0
- package/dist/index.mjs +1 -1
- package/dist/mobile-PRXIDJ7S.mjs +1 -0
- package/dist/modal-HKMQGV4B.mjs +1 -0
- package/dist/navigation-flyout-YK6OWITR.mjs +1 -0
- package/dist/navigation-group-5YMQCUUX.mjs +1 -0
- package/dist/{tabs-QEFLGIZ3.mjs → tabs-P6QFF2ZS.mjs} +1 -1
- package/dist/theme-switcher-76F2V343.mjs +1 -0
- package/dist/theme-switcher-WO5JIV2W.mjs +1 -0
- package/dist/utils/assets.mjs +1 -1
- package/dist/utils/createComponentResolver.mjs +1 -1
- package/dist/utils/createEmptyPlaceholderResolver.mjs +1 -1
- package/dist/utils/routing.mjs +1 -1
- package/dist/utils/styling.mjs +1 -1
- package/dist/video-RC2QHJS2.mjs +1 -0
- package/package.json +8 -12
- package/dist/ThemeSwitcher-EUDUX3QI.mjs +0 -1
- package/dist/accordion-item-ZS3TSISI.mjs +0 -1
- package/dist/banner-NNL34KVD.mjs +0 -1
- package/dist/carousel-KSNELZEM.mjs +0 -1
- package/dist/carousel-YLA2VELY.mjs +0 -1
- package/dist/chunk-2OD4OVSF.mjs +0 -1
- package/dist/chunk-3TBBNSCU.mjs +0 -1
- package/dist/chunk-DBSKI4UW.mjs +0 -1
- package/dist/chunk-HDKBSM4X.mjs +0 -1
- package/dist/chunk-J2GMOCYV.mjs +0 -1
- package/dist/chunk-PC5W2GRG.mjs +0 -1
- package/dist/chunk-VEUVLMJO.mjs +0 -1
- package/dist/content/components/canvas/NavigationLink/style-utils.ts +0 -13
- package/dist/content/components/ui/_icons/ChevronDown/index.tsx +0 -9
- package/dist/content/hocs/withPlaygroundWrapper.tsx +0 -25
- package/dist/countdown-7D7WECEZ.mjs +0 -1
- package/dist/hocs/withPlaygroundWrapper.d.mts +0 -6
- package/dist/hocs/withPlaygroundWrapper.mjs +0 -1
- package/dist/image-gallery-ISM5BLSF.mjs +0 -1
- package/dist/mobile-C3RAMYEQ.mjs +0 -1
- package/dist/modal-335SDLM4.mjs +0 -1
- package/dist/navigation-flyout-TQO777FY.mjs +0 -1
- package/dist/navigation-group-3YBAK65R.mjs +0 -1
- package/dist/theme-switcher-JE6MRNXM.mjs +0 -1
- package/dist/theme-switcher-QTX46Z7E.mjs +0 -1
- package/dist/video-VG6ZQCKN.mjs +0 -1
package/cli.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-V4EBWEG4.mjs";import"./chunk-YEKQJ4YC.mjs";export{a as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import{a as p}from"./chunk-QHIWJPL6.mjs";import{a as n}from"./chunk-RZFK2OR7.mjs";import{c as m}from"./chunk-S7CSCIW4.mjs";import"./chunk-YEKQJ4YC.mjs";import{useCallback as P,useState as B}from"react";import{UniformSlot as N,UniformText as R}from"@uniformdev/canvas-next-rsc/component";import{jsx as c}from"react/jsx-runtime";var f=({className:t,...o})=>c("svg",{className:t,width:"15",height:"9",viewBox:"0 0 15 9",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...o,children:c("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.50013 0L0 7.13651L1.95843 9L7.5 3.7271L13.0416 9L15 7.13651L7.50013 0Z",fill:"currentColor"})});import{jsx as d}from"react/jsx-runtime";var a=({className:t,...o})=>d("svg",{className:t,width:"15",height:"9",viewBox:"0 0 15 9",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...o,children:d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.49987 9L15 1.86349L13.0416 0L7.5 5.2729L1.95843 0L0 1.86349L7.49987 9Z",fill:"currentColor"})});import{jsx as e,jsxs as w}from"react/jsx-runtime";var q=({tag:t,alignment:o,color:u,size:x,font:v,weight:C,transform:h,decoration:L,letterSpacing:g,slots:S,component:l,context:i,backgroundColor:r,spacing:I,className:A})=>{let[s,G]=B(!1),V=P(()=>G(F=>!F),[]);return w(n,{fluidContent:!0,fullHeight:!1,children:[e(n,{backgroundColor:r,spacing:I,fluidContent:!0,className:A,children:w("button",{onClick:V,className:"flex w-full flex-row items-center justify-between text-start",children:[e(p,{alignment:o,color:u,size:x,font:v,weight:C,transform:h,decoration:L,letterSpacing:g,children:e(R,{placeholder:"Text goes here",parameterId:"text",as:t||void 0,component:l,context:i})}),e("div",{className:m({[`text-${r} invert`]:!!r,"text-black dark:text-white":!r}),children:s?e(f,{}):e(a,{})})]})}),s&&e(N,{data:l,context:i,slot:S.accordionItemContent})]})};export{q as AccordionItem};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import"./chunk-T6HZMAEP.mjs";import{a as i}from"./chunk-RZFK2OR7.mjs";import"./chunk-MSXDLSXH.mjs";import{c as e}from"./chunk-S7CSCIW4.mjs";import"./chunk-YEKQJ4YC.mjs";import{useCallback as L,useState as S}from"react";import{UniformSlot as V}from"@uniformdev/canvas-next-rsc/component";import{jsx as s}from"react/jsx-runtime";var h=({className:t,...o})=>s("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",className:e("size-5",t),...o,children:s("path",{d:"M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z"})}),y=({onClose:t,iconColor:o})=>s("button",{onClick:t,className:e("absolute right-5 top-1/2 -translate-y-1/2",{[`text-${o}`]:o}),children:s(h,{})}),C=y;var f=({variant:t,floating:o})=>e({"!w-11/12 left-1/2 -translate-x-1/2 my-4":o&&!!t,"fixed top-0 w-full z-10":t==="top","fixed bottom-0 w-full z-10":t==="bottom","p-4":o&&!t}),u=({contentAlignment:t,iconColor:o,fluidContent:r,floating:n})=>e("flex flex-row gap-x-4",{"justify-start":t==="left","justify-center":t==="center","justify-end":t==="right","pr-10":t==="right"&&o,"!mx-0":!r,"rounded-lg":n});import{jsx as p,jsxs as k}from"react/jsx-runtime";var X=({component:t,context:o,backgroundColor:r,spacing:n,border:c,fluidContent:a,slots:P,iconColor:l,contentAlignment:x="center",floating:m=!1})=>{let[d,B]=S(!0),g=L(()=>{B(!1)},[]);if(!d)return null;let w=f({variant:t.variant,floating:m}),b=u({contentAlignment:x,iconColor:l,fluidContent:a,floating:m});return p(i,{className:w,fluidContent:a,border:c,children:k(i,{className:e("relative w-full",b),backgroundColor:r,spacing:n,fluidContent:a,children:[p(V,{data:t,context:o,slot:P.bannerContent}),l&&p(C,{onClose:g,iconColor:l})]})})};export{X as Banner};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import{a as m}from"./chunk-RZFK2OR7.mjs";import{c as d}from"./chunk-S7CSCIW4.mjs";import"./chunk-YEKQJ4YC.mjs";import{useCallback as i,useEffect as C,useRef as E,useState as v}from"react";import{jsx as s,jsxs as x}from"react/jsx-runtime";var R=({countOfItems:l,backgroundColor:t,spacing:h,border:p,fluidContent:w,fullHeight:b,children:o})=>{let n=E(null),[a,u]=v(0),[B,N]=v(!1),r=l||(Array.isArray(o)?o.length:1);C(()=>{let e=()=>N(y=>!y);return window.addEventListener("resize",e,{passive:!0}),()=>window.removeEventListener("resize",e)},[]),C(()=>{if(n.current){let{clientWidth:e}=n.current;n.current.scrollLeft=a*e}},[a,B]);let c=i(()=>u(e=>e===0?r-1:e-1),[r]),f=i(()=>u(e=>r-1===e?0:e+1),[r]),k=i(()=>x("div",{className:d("absolute inset-x-5 top-1/2 flex -translate-y-1/2 justify-between",{[`text-${t} invert`]:!!t,"text-black dark:text-white":!t}),children:[s("button",{onClick:c,children:"\u276E"}),s("button",{onClick:f,children:"\u276F"})]}),[t,f,c]);return s(m,{backgroundColor:t,spacing:h,border:p,fluidContent:w,fullHeight:b,children:x("div",{className:"relative",children:[s("div",{ref:n,className:"flex flex-row items-center overflow-x-hidden scroll-smooth",children:o}),k()]})})};export{R as Carousel};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import{a as r}from"./chunk-P2OOJTJ2.mjs";import"./chunk-YEKQJ4YC.mjs";import{UniformSlot as a}from"@uniformdev/canvas-next-rsc/component";import{jsx as t}from"react/jsx-runtime";var c=({child:e,key:o})=>t("div",{className:"flex size-full min-w-full items-center justify-center",children:e},o),p=({slots:e,component:o,context:s,backgroundColor:l,spacing:m,border:i,fluidContent:n,fullHeight:u})=>t(r,{backgroundColor:l,spacing:m,border:i,fluidContent:n,fullHeight:u,countOfItems:e.carouselItems?.items.length??0,children:t(a,{context:s,slot:e.carouselItems,data:o,children:c})});export{p as Carousel};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"./chunk-MSXDLSXH.mjs";import m from"next/dynamic";import{jsx as a}from"react/jsx-runtime";var l=o=>{switch(o.slotName){case"trigger":return{component:()=>a("div",{className:"h-20 w-full"})};default:return r}};var c={small:"max-w-xl",medium:"max-w-2xl",large:"max-w-4xl"},t=(e=>(e.Trigger="trigger",e.ModalContent="modalContent",e.ModalActions="modalActions",e))(t||{}),x=m(()=>import("./modal-
|
|
1
|
+
import{a as r}from"./chunk-MSXDLSXH.mjs";import m from"next/dynamic";import{jsx as a}from"react/jsx-runtime";var l=o=>{switch(o.slotName){case"trigger":return{component:()=>a("div",{className:"h-20 w-full"})};default:return r}};var c={small:"max-w-xl",medium:"max-w-2xl",large:"max-w-4xl"},t=(e=>(e.Trigger="trigger",e.ModalContent="modalContent",e.ModalActions="modalActions",e))(t||{}),x=m(()=>import("./modal-HKMQGV4B.mjs").then(o=>o.Modal));export{c as a,t as b,x as c,l as d};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"./chunk-MSXDLSXH.mjs";import p from"next/dynamic";var n=o=>{switch(o.slotName){case"countdownComplete":return{component:()=>null};default:return e}};var r=(t=>(t.CountdownComplete="countdownComplete",t))(r||{}),m=(t=>(t.LabelsUnder="labelsUnder",t))(m||{}),d=p(()=>import("./countdown-
|
|
1
|
+
import{a as e}from"./chunk-MSXDLSXH.mjs";import p from"next/dynamic";var n=o=>{switch(o.slotName){case"countdownComplete":return{component:()=>null};default:return e}};var r=(t=>(t.CountdownComplete="countdownComplete",t))(r||{}),m=(t=>(t.LabelsUnder="labelsUnder",t))(m||{}),d=p(()=>import("./countdown-LYDXJLEE.mjs").then(o=>o.Countdown));export{r as a,m as b,d as c,n as d};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
var t=/['"](\.\/[^'"]+|@\/[^'"]+)['"]/g,a=[".tsx",".ts",".js",".jsx"],l=["index.tsx","empty-placeholder.tsx"],o=/\b[a-zA-Z0-9_]+Mapping\s*=\s*{(?:[^{}]*|\{(?:[^{}]*|\{[^{}]*\})*\})*}/g,d=/(import .+;)(?![\s\S]*import .+)/,T=r=>new RegExp(`\\b${r}\\s*:\\s*[^,]+,?`,"g"),x=/}$/,
|
|
2
|
-
`,
|
|
1
|
+
var t=/['"](\.\/[^'"]+|@\/[^'"]+)['"]/g,a=[".tsx",".ts",".js",".jsx"],l=["index.tsx","empty-placeholder.tsx"],o=/\b[a-zA-Z0-9_]+Mapping\s*=\s*{(?:[^{}]*|\{(?:[^{}]*|\{[^{}]*\})*\})*}/g,d=/(import .+;)(?![\s\S]*import .+)/,T=r=>new RegExp(`\\b${r}\\s*:\\s*[^,]+,?`,"g"),x=/}$/,b=`export { cskComponentsMapping } from '@uniformdev/csk-components/components/canvas';
|
|
2
|
+
`,g=`import baseCskComponentsMapping from '@uniformdev/csk-components/components/canvas';
|
|
3
3
|
|
|
4
4
|
export const cskComponentsMapping = {
|
|
5
5
|
...baseCskComponentsMapping,
|
|
6
6
|
};
|
|
7
|
-
`,E=["Accordion","AccordionItem","Badge","Banner","Breadcrumbs","Button","Card","Carousel","Container","Countdown","DemoHero","Divider","Flex","FlexItem","Footer","Grid","GridItem","Header","IconLabel","Image","ImageGallery","Link","Modal","NavigationFlyout","NavigationGroup","NavigationLink","Page","Review","RichText","Section","Spacer","Tab","Table","TableCustomCell","TableDataCell","TableHeaderCell","TableRow","Tabs","Testimonial","Text","ThemeSwitcher","Video"];var i=(e=>(e.Accordion="accordion",e.AccordionItem="accordionItem",e.Badge="badge",e.Banner="banner",e.Button="button",e.Card="card",e.Carousel="carousel",e.Container="container",e.Countdown="countdown",e.Divider="divider",e.Grid="grid",e.GridItem="gridItem",e.Flex="flex",e.FlexItem="flexItem",e.Header="header",e.IconLabel="iconLabel",e.Image="image",e.ImageGallery="imageGallery",e.Link="link",e.Modal="modal",e.NavigationFlyout="navigationFlyout",e.NavigationGroup="navigationGroup",e.NavigationLink="navigationLink",e.Page="page",e.Review="review",e.RichText="richText",e.Section="section",e.Spacer="spacer",e.Tab="tab",e.Table="table",e.TableCustomCell="tableCustomCell",e.TableDataCell="tableDataCell",e.TableHeaderCell="tableHeaderCell",e.TableRow="tableRow",e.Tabs="tabs",e.Testimonial="testimonial",e.Text="text",e.ThemeSwitcher="themeSwitcher",e.Video="video",e.FixedHero="fixedHero",e.FlexibleHero="flexibleHero",e.Breadcrumbs="breadcrumbs",e.Footer="footer",e))(i||{});export{t as a,a as b,l as c,o as d,d as e,T as f,x as g,
|
|
7
|
+
`,E=["Accordion","AccordionItem","Badge","Banner","Breadcrumbs","Button","Card","Carousel","Container","Countdown","DemoHero","Divider","Flex","FlexItem","Footer","Grid","GridItem","Header","IconLabel","Image","ImageGallery","Link","Modal","NavigationFlyout","NavigationGroup","NavigationLink","Page","Review","RichText","Section","Spacer","Tab","Table","TableCustomCell","TableDataCell","TableHeaderCell","TableRow","Tabs","Testimonial","Text","ThemeSwitcher","Video"];var i=(e=>(e.Accordion="accordion",e.AccordionItem="accordionItem",e.Badge="badge",e.Banner="banner",e.Button="button",e.Card="card",e.Carousel="carousel",e.Container="container",e.Countdown="countdown",e.Divider="divider",e.Grid="grid",e.GridItem="gridItem",e.Flex="flex",e.FlexItem="flexItem",e.Header="header",e.IconLabel="iconLabel",e.Image="image",e.ImageGallery="imageGallery",e.Link="link",e.Modal="modal",e.NavigationFlyout="navigationFlyout",e.NavigationGroup="navigationGroup",e.NavigationLink="navigationLink",e.Page="page",e.Review="review",e.RichText="richText",e.Section="section",e.Spacer="spacer",e.Tab="tab",e.Table="table",e.TableCustomCell="tableCustomCell",e.TableDataCell="tableDataCell",e.TableHeaderCell="tableHeaderCell",e.TableRow="tableRow",e.Tabs="tabs",e.Testimonial="testimonial",e.Text="text",e.ThemeSwitcher="themeSwitcher",e.Video="video",e.FixedHero="fixedHero",e.FlexibleHero="flexibleHero",e.Breadcrumbs="breadcrumbs",e.Footer="footer",e))(i||{});export{t as a,a as b,l as c,o as d,d as e,T as f,x as g,b as h,g as i,E as j,i as k};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as t}from"./chunk-S7CSCIW4.mjs";import{jsx as e,jsxs as l}from"react/jsx-runtime";var i=({width:o=20,height:r=20,stroke:a="currentColor"})=>l("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:r,viewBox:"0 0 23 25",stroke:a,children:[e("path",{d:"M0 12.756L20.4878 12.756",stroke:"inherit",strokeWidth:"3"}),e("path",{fill:"transparent",d:"M10.8823 23L20.881 12.4956L10.8823 2",stroke:"inherit",strokeWidth:"3"})]}),p=i;import{jsx as s}from"react/jsx-runtime";var m=({className:o,...r})=>s("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:t("size-6",o),...r,children:s("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m2.25 15.75 5.159-5.159a2.25 2.25 0 0 1 3.182 0l5.159 5.159m-1.5-1.5 1.409-1.409a2.25 2.25 0 0 1 3.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 0 0 1.5-1.5V6a1.5 1.5 0 0 0-1.5-1.5H3.75A1.5 1.5 0 0 0 2.25 6v12a1.5 1.5 0 0 0 1.5 1.5Zm10.5-11.25h.008v.008h-.008V8.25Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"})}),d=m;import{jsx as n}from"react/jsx-runtime";var h=({className:o,...r})=>n("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:t("size-6",o),...r,children:n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m15.75 10.5 4.72-4.72a.75.75 0 0 1 1.28.53v11.38a.75.75 0 0 1-1.28.53l-4.72-4.72M4.5 18.75h9a2.25 2.25 0 0 0 2.25-2.25v-9a2.25 2.25 0 0 0-2.25-2.25h-9A2.25 2.25 0 0 0 2.25 7.5v9a2.25 2.25 0 0 0 2.25 2.25Z"})}),w=h;export{p as a,d as b,w as c};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as r}from"./chunk-QHIWJPL6.mjs";import{c as s}from"./chunk-S7CSCIW4.mjs";import{jsx as o,jsxs as h}from"react/jsx-runtime";var T=({icon:a,size:e,tag:i,color:t,weight:n,font:m,transform:p,decoration:c,letterSpacing:l,alignment:x,children:g,textClassName:f,iconClassName:P,className:d})=>h("div",{className:s("flex w-fit items-center gap-x-3",{[`text-${e}`]:!!e,[`text-${t}`]:!!t},d),children:[a&&o("div",{className:s("relative size-[1em]",P),children:a}),o(r,{alignment:x,tag:i,color:t,size:e,font:m,weight:n,transform:p,decoration:c,letterSpacing:l,className:f,children:g})]});export{T as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as r}from"./chunk-MSXDLSXH.mjs";import s from"next/dynamic";import{jsx as a}from"react/jsx-runtime";var p=e=>{switch(e.slotName){case"tabItems":return{component:()=>a("div",{className:"h-20 w-full"})};default:return r}};var l=(o=>(o.Default="default",o.Bordered="bordered",o))(l||{}),t=(m=>(m.TabItems="tabItems",m))(t||{}),c=s(()=>import("./tabs-P6QFF2ZS.mjs").then(e=>e.Tabs));export{l as a,t as b,c,p as d};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as ge,d as ve,e as ye,f as he,g as Re,h as I}from"./chunk-H3OSPGNK.mjs";import{a as xe}from"./chunk-QHIWJPL6.mjs";import{a as $}from"./chunk-EIQPM3DQ.mjs";import{a as c}from"./chunk-RZFK2OR7.mjs";import{a as Y}from"./chunk-JNIJ5N3Y.mjs";import{a as l}from"./chunk-MSXDLSXH.mjs";import{c as Ce}from"./chunk-RX4IAAQQ.mjs";import{c as p}from"./chunk-S7CSCIW4.mjs";import{UniformSlot as Ne}from"@uniformdev/canvas-next-rsc/component";import{jsx as q,jsxs as go}from"react/jsx-runtime";var Co=({slots:e,component:o,context:t,backgroundColor:r,spacing:a,border:i,fluidContent:n,fullHeight:m})=>go(c,{className:"flex flex-col gap-8",backgroundColor:r,spacing:a,border:i,fluidContent:n,fullHeight:m,children:[q("div",{className:"flex flex-col gap-4 text-start",children:q(Ne,{data:o,context:t,slot:e.accordionContent})}),q(Ne,{data:o,context:t,slot:e.accordionItems})]});import{jsx as Te}from"react/jsx-runtime";var xo=e=>{switch(e.slotName){case"accordionContent":return{component:()=>Te("div",{className:"h-20"})};case"accordionItems":return{component:()=>Te("div",{className:"h-28"})};default:return l}};var we=(t=>(t.AccordionContent="accordionContent",t.AccordionItems="accordionItems",t))(we||{});import{UniformSlot as He}from"@uniformdev/canvas-next-rsc/component";import{jsx as yo}from"react/jsx-runtime";var vo=e=>{switch(e.slotName){case"cardMedia":return{component:()=>null};case"cardContent":return{component:()=>yo("div",{className:"h-20"})};default:return l}};var Ee=(o=>(o.BackgroundImage="backgroundImage",o))(Ee||{}),be=(t=>(t.CardMedia="cardMedia",t.CardContent="cardContent",t))(be||{});import{jsx as D,jsxs as Ro}from"react/jsx-runtime";var ho=({component:e,context:o,slots:t,backgroundColor:r,spacing:a,border:i,fluidContent:n,fullHeight:m,className:s,contentClassName:d})=>{let f=e.variant==="backgroundImage";return Ro(c,{className:p("relative overflow-hidden",s),backgroundColor:r,spacing:a,border:i,fluidContent:n,fullHeight:m,children:[D("div",{className:p({"inset-0 size-full absolute":f}),children:D(He,{data:e,context:o,slot:t.cardMedia})}),D("div",{className:p("relative flex flex-col gap-y-2",d),children:D(He,{data:e,context:o,slot:t.cardContent})})]})};import wo from"next/dynamic";import{jsx as To}from"react/jsx-runtime";var No=e=>{switch(e.slotName){case"carouselItems":return{component:()=>To("div",{className:"mx-20 h-20 w-full"})};default:return l}};var Fe=(o=>(o.Items="carouselItems",o))(Fe||{}),Fr=wo(()=>import("./carousel-UKVR7LKR.mjs").then(e=>e.Carousel));import{UniformSlot as _e}from"@uniformdev/canvas-next-rsc/component";import{UniformText as Ae}from"@uniformdev/canvas-next-rsc/component";import{jsx as C}from"react/jsx-runtime";var V=({component:e,context:o,parameterId:t,text:r,...a})=>{let i=o.previewMode==="editor"&&o.isContextualEditing;return!r&&!i?null:C(xe,{...a,children:C(Ae,{placeholder:"Text goes here",parameterId:t,as:a.tag||void 0,component:e,context:o})})},Le=({component:e,context:o,parameterId:t,text:r,...a})=>{let{link:i,icon:n}=a,m=Ce(i),s=o.previewMode==="editor"&&o.isContextualEditing;return!r&&!m&&!s?null:C(ge,{...a,href:m,icon:C(()=>{let[f]=Y(n),{url:P,title:N=""}=f||{};return P?C($,{src:P,alt:N,width:20,height:20,containerStyle:{width:"20px",height:"20px"}}):void 0},{}),children:C(Ae,{placeholder:"Button text goes here",parameterId:t,component:e,context:o})})},Be=({component:e,context:o,image:t,objectFit:r,width:a,height:i,overlayColor:n,overlayOpacity:m,border:s,priority:d,unoptimized:f})=>{let[P]=Y(t);if(!P){let K=o.previewMode==="editor"&&o.isContextualEditing,G=e?._id?.includes("placeholder_");return!K||G||!e.variant?null:C("div",{style:{width:a?`${a}px`:"auto",height:i?`${i}px`:"auto"},children:C(ve,{type:"image",placeholder:"Please add an asset to display an image"})})}let{url:N,title:W=""}=P;return C($,{containerStyle:{...a?{width:`${a}px`}:{},...i?{height:`${i}px`}:{}},src:N,alt:W,fill:!0,unoptimized:f,priority:d,sizes:"100%",style:{objectFit:r},overlayColor:n,overlayOpacity:m,border:s})};import{jsx as T,jsxs as Ie}from"react/jsx-runtime";var De=({backgroundColor:e,spacing:o,border:t,fluidContent:r,fullHeight:a,variant:i,demoHeroMedia:n,demoHeroContent:m,demoHeroCTA:s,textAlignmentClass:d,buttonAlignmentClass:f})=>T(c,{backgroundColor:e,spacing:o,border:t,fluidContent:r,fullHeight:a,children:Ie("div",{className:p("grid grid-cols-1 items-center gap-4 px-4 lg:grid-cols-2 xl:px-0"),children:[T("div",{className:p("aspect-square",{"order-last":i==="columnsReverse"}),children:T("div",{className:"flex size-full items-center justify-center overflow-hidden",children:n})}),Ie("div",{className:"flex flex-col justify-center gap-8",children:[T("div",{className:p("flex flex-col gap-4",d),children:m}),T("div",{className:p("flex flex-wrap gap-2 items-center",f),children:s})]})]})});import{jsx as Q,jsxs as Ve}from"react/jsx-runtime";var Se=({backgroundColor:e,spacing:o,border:t,fluidContent:r,fullHeight:a,demoHeroMedia:i,demoHeroContent:n,demoHeroCTA:m,textAlignmentClass:s,buttonAlignmentClass:d})=>Ve(c,{className:"relative overflow-hidden",backgroundColor:e,spacing:o,border:t,fluidContent:r,fullHeight:a,children:[Q("div",{className:"absolute left-0 top-0 size-full overflow-hidden",children:i}),Ve(c,{className:"relative flex flex-col gap-8",children:[Q("div",{className:p("flex flex-col gap-4",s),children:n}),Q("div",{className:p("flex flex-wrap gap-2 items-center",d),children:m})]})]});var ke=({contentAlignment:e})=>p("justify-center",{"!justify-start":e==="left","!justify-end":e==="right"}),Oe=({contentAlignment:e})=>p("text-center",{"text-start":e==="left","text-end":e==="right"});var y=(e,o)=>Object.entries(e).reduce((t,[r,a])=>{if(r.startsWith(o)){let i=r.slice(o.length).replace(/^./,n=>n.toLowerCase());return{...t,[i]:a}}return{...t,[r]:a}},{});import{Fragment as X,jsx as u,jsxs as bo}from"react/jsx-runtime";var S=({eyebrowTitleText:e,eyebrowTitleTag:o,eyebrowTitleSize:t,eyebrowTitleColor:r,eyebrowTitleWeight:a,eyebrowTitleFont:i,eyebrowTitleAlignment:n,eyebrowTitleTransform:m,eyebrowTitleDecoration:s,eyebrowTitleLetterSpacing:d,eyebrowTitleLineCountRestrictions:f,titleText:P,titleTag:N,titleSize:W,titleColor:K,titleWeight:G,titleFont:ht,titleAlignment:Rt,titleTransform:Nt,titleDecoration:Tt,titleLetterSpacing:wt,titleLineCountRestrictions:bt,descriptionText:Et,descriptionTag:Ht,descriptionSize:Ft,descriptionColor:At,descriptionWeight:Lt,descriptionFont:Bt,descriptionAlignment:It,descriptionTransform:Dt,descriptionDecoration:Vt,descriptionLetterSpacing:St,descriptionLineCountRestrictions:kt,primaryButtonVariant:Ot,primaryButtonText:Mt,primaryButtonLink:_t,primaryButtonTextColor:Ut,primaryButtonTextWeight:zt,primaryButtonTextFont:Wt,primaryButtonTextTransform:Kt,primaryButtonButtonColor:Gt,primaryButtonBorder:Yt,primaryButtonSize:$t,primaryButtonIcon:qt,primaryButtonTextSize:Jt,primaryButtonIconPosition:Qt,primaryButtonHoverButtonColor:Xt,primaryButtonHoverTextColor:Zt,image:jt,imageWidth:eo,imageHeight:to,imageObjectFit:oo,imageOverlayColor:ro,imageOverlayOpacity:ao,imageBorder:io,imagePriority:no,imageUnoptimized:mo,contentAlignment:de,backgroundColor:so,spacing:lo,border:po,fluidContent:co,fullHeight:fo,isFlexibleHero:ce=!1,component:g,context:x,slots:fe})=>{let Pe=g.variant,Po=ce?u(_e,{data:g,context:x,slot:fe.flexibleHeroContent}):bo(X,{children:[u(V,{...y({eyebrowTitleText:e,eyebrowTitleTag:o,eyebrowTitleSize:t,eyebrowTitleColor:r,eyebrowTitleWeight:a,eyebrowTitleFont:i,eyebrowTitleAlignment:n,eyebrowTitleTransform:m,eyebrowTitleDecoration:s,eyebrowTitleLetterSpacing:d,eyebrowTitleLineCountRestrictions:f},"eyebrowTitle"),component:g,context:x,parameterId:"eyebrowTitleText"}),u(V,{...y({titleText:P,titleTag:N,titleSize:W,titleColor:K,titleWeight:G,titleFont:ht,titleAlignment:Rt,titleTransform:Nt,titleDecoration:Tt,titleLetterSpacing:wt,titleLineCountRestrictions:bt},"title"),component:g,context:x,parameterId:"titleText"}),u(V,{...y({descriptionText:Et,descriptionTag:Ht,descriptionSize:Ft,descriptionColor:At,descriptionWeight:Lt,descriptionFont:Bt,descriptionAlignment:It,descriptionTransform:Dt,descriptionDecoration:Vt,descriptionLetterSpacing:St,descriptionLineCountRestrictions:kt},"description"),component:g,context:x,parameterId:"descriptionText"})]}),uo=ce?u(_e,{data:g,context:x,slot:fe.flexibleHeroCta}):u(X,{children:u(Le,{...y({primaryButtonVariant:Ot,primaryButtonText:Mt,primaryButtonLink:_t,primaryButtonTextColor:Ut,primaryButtonTextWeight:zt,primaryButtonTextFont:Wt,primaryButtonTextTransform:Kt,primaryButtonButtonColor:Gt,primaryButtonBorder:Yt,primaryButtonSize:$t,primaryButtonIcon:qt,primaryButtonTextSize:Jt,primaryButtonIconPosition:Qt,primaryButtonHoverButtonColor:Xt,primaryButtonHoverTextColor:Zt},"primaryButton"),component:g,context:x,parameterId:"primaryButtonText"})}),ue={variant:Pe,backgroundColor:so,spacing:lo,border:po,fluidContent:co,fullHeight:fo,textAlignmentClass:Oe({contentAlignment:de}),buttonAlignmentClass:ke({contentAlignment:de}),demoHeroMedia:u(X,{children:u(Be,{image:jt,...y({imageWidth:eo,imageHeight:to,imageObjectFit:oo,imageOverlayColor:ro,imageOverlayOpacity:ao,imageBorder:io,imagePriority:no,imageUnoptimized:mo},"image"),component:g,context:x})}),demoHeroContent:Po,demoHeroCTA:uo};switch(Pe){case"columns":case"columnsReverse":return u(De,{...ue});default:return u(Se,{...ue})}};import{jsx as Eo}from"react/jsx-runtime";var Ue=e=>Eo(S,{...e,eyebrowTitleTag:"span",eyebrowTitleSize:{mobile:"xs",tablet:"lg",desktop:"xl"},eyebrowTitleWeight:"bold",eyebrowTitleTransform:"uppercase",titleSize:{mobile:"3xl",tablet:"5xl",desktop:"5xl"},titleWeight:"bold",descriptionTag:"p",descriptionSize:{mobile:"sm",tablet:"lg",desktop:"xl"},descriptionWeight:"normal",primaryButtonSize:"button-medium",primaryButtonTextSize:"sm",primaryButtonTextColor:"text-light",primaryButtonTextWeight:"normal",primaryButtonButtonColor:"button-primary",primaryButtonTextTransform:"uppercase",primaryButtonHoverButtonColor:"button-primary-hover",imagePriority:!0,imageObjectFit:"cover",imageUnoptimized:!0,spacing:{paddingTop:"container-xlarge",paddingLeft:"container-small",paddingRight:"container-small",paddingBottom:"container-xlarge"},fluidContent:!e.component.variant,isFlexibleHero:!1});import{jsx as Ho}from"react/jsx-runtime";var ze=e=>Ho(S,{...e,isFlexibleHero:!0});import{jsx as We}from"react/jsx-runtime";var Fo=e=>{switch(e.slotName){case"flexibleHeroContent":return{component:()=>We("div",{className:"h-20"})};case"flexibleHeroCta":return{component:()=>We("div",{className:"mx-40 h-20 w-full"})};default:return l}};var Me=(r=>(r.Left="left",r.Center="center",r.Right="right",r))(Me||{}),J=(t=>(t.Columns="columns",t.ColumnsReverse="columnsReverse",t))(J||{}),Ke=(t=>(t.FlexibleHeroContent="flexibleHeroContent",t.FlexibleHeroCta="flexibleHeroCta",t))(Ke||{}),Ao={FixedHero:Ue,FlexibleHero:ze},ba=Ao;import{UniformSlot as Z}from"@uniformdev/canvas-next-rsc/component";import{jsx as k}from"react/jsx-runtime";var Ge=({context:e,component:o,slots:t,backgroundColor:r,spacing:a,border:i,fluidContent:n})=>k(ye,{logo:k(Z,{context:e,slot:t.footerLogo,data:o}),copyright:k(Z,{context:e,slot:t.footerCopyright,data:o}),content:k(Z,{context:e,slot:t.footerContent,data:o}),backgroundColor:r,spacing:a,border:i,fluidContent:n});import{jsx as j}from"react/jsx-runtime";var Lo=e=>{switch(e.slotName){case"footerLogo":return{component:()=>j("div",{className:"h-20 w-48"})};case"footerCopyright":return{component:()=>j("div",{className:"h-20 w-48"})};case"footerContent":return{component:()=>j("div",{className:"h-20 w-48"})};default:return l}};var Ye=(r=>(r.FooterLogo="footerLogo",r.FooterCopyright="footerCopyright",r.FooterContent="footerContent",r))(Ye||{}),Oa=Ge;import{UniformSlot as ee}from"@uniformdev/canvas-next-rsc/component";import{jsx as O}from"react/jsx-runtime";var $e=({backgroundColor:e,color:o,spacing:t,border:r,context:a,component:i,slots:n})=>O(he,{sticky:i.variant==="sticky",leftSection:O(ee,{context:a,slot:n.headerLeftContent,data:i}),rightSection:O(ee,{context:a,slot:n.headerRightContent,data:i}),backgroundColor:e,color:o,spacing:t,border:r,children:O(ee,{context:a,slot:n.headerCenterContent,data:i})});import{jsx as te}from"react/jsx-runtime";var Bo=e=>{switch(e.slotName){case"headerLeftContent":return{component:()=>te("div",{className:"h-20 w-48"})};case"headerCenterContent":return{component:()=>te("div",{className:"h-20 w-full"})};case"headerRightContent":return{component:()=>te("div",{className:"h-20 w-48"})};default:return l}};var Je=(r=>(r.HeaderLeftContent="headerLeftContent",r.HeaderCenterContent="headerCenterContent",r.HeaderRightContent="headerRightContent",r))(Je||{}),qe=(o=>(o.Sticky="sticky",o))(qe||{}),Za=$e;import Vo from"next/dynamic";import{jsx as Do}from"react/jsx-runtime";var Io=e=>{switch(e.slotName){case"imageGalleryItems":return{component:()=>Do("div",{className:" mx-auto size-48"})};default:return l}};var Qe=(o=>(o.Items="imageGalleryItems",o))(Qe||{}),ni=Vo(()=>import("./image-gallery-2ZNDWYOS.mjs").then(e=>e.ImageGallery));import ko from"next/dynamic";import{jsx as Xe}from"react/jsx-runtime";var So=e=>{switch(e.slotName){case"navigationFlyoutLeftContent":return{component:()=>Xe("div",{className:"h-40 w-48"})};case"navigationFlyoutRightContent":return{component:()=>Xe("div",{className:"h-40 w-48"})};default:return l}};var ui=ko(()=>import("./navigation-flyout-YK6OWITR.mjs").then(e=>e.NavigationFlyout));import _o from"next/dynamic";import{jsx as Mo}from"react/jsx-runtime";var Oo=e=>{switch(e.slotName){case"links":return{component:()=>Mo("div",{className:"h-40 w-48"})};default:return l}};var Ti=_o(()=>import("./navigation-group-5YMQCUUX.mjs").then(e=>e.NavigationGroup));import{UniformSlot as oe}from"@uniformdev/canvas-next-rsc/component";import{jsx as M}from"react/jsx-runtime";var Uo=({slots:e,component:o,context:t,backgroundColor:r,headerCustomRenderer:a,contentCustomRenderer:i,footerCustomRenderer:n})=>M(Re,{backgroundColor:r,header:M(oe,{context:t,slot:e.pageHeader,data:o,children:a}),footer:M(oe,{context:t,slot:e.pageFooter,data:o,children:n}),children:M(oe,{context:t,slot:e.pageContent,data:o,children:i})});import{jsx as re}from"react/jsx-runtime";var zo=e=>{switch(e.slotName){case"pageHeader":return{component:()=>re("div",{className:"h-40"})};case"pageContent":return{component:()=>re("div",{className:"h-[calc(100vh-10rem*2)]"})};case"pageFooter":return{component:()=>re("div",{className:"h-40"})};default:return l}};var Ze=(r=>(r.PageContent="pageContent",r.PageHeader="pageHeader",r.PageFooter="pageFooter",r))(Ze||{});import{UniformSlot as ie}from"@uniformdev/canvas-next-rsc/component";import{jsx as w}from"react/jsx-runtime";var Wo=({parentComponent:e,slotName:o})=>{let t=e?.variant==="multiColumn";switch(o){case"reviewImage":return{component:()=>t?w("div",{className:"size-full"}):null};case"reviewPersonInfo":return{component:()=>t?w("div",{className:"h-20 w-full"}):w("div",{className:"h-20 w-52"})};case"reviewContent":return{component:()=>t?w("div",{className:"h-20 w-full"}):w("div",{className:"h-20 w-52"})};default:return l}};var ae=(o=>(o.MultiColumn="multiColumn",o))(ae||{}),je=(r=>(r.ReviewImage="reviewImage",r.ReviewPersonInfo="reviewPersonInfo",r.ReviewContent="reviewContent",r))(je||{});import{jsx as b,jsxs as et}from"react/jsx-runtime";var tt=({stars:e,starsColor:o,activeStarsColor:t,showRatingLabel:r,backgroundColor:a,spacing:i,border:n,fluidContent:m,fullHeight:s,ReviewImage:d,ReviewPersonInfo:f,ReviewContent:P})=>b(c,{backgroundColor:a,spacing:i,border:n,fluidContent:m,fullHeight:s,children:et("div",{className:"mx-auto flex lg:max-w-[60%]",children:[b("div",{className:"aspect-square size-12 shrink-0 rounded-full",children:d}),et("div",{className:"ml-6",children:[f,b("div",{className:"py-4",children:b(I,{rating:e,showReviewLabel:r,starsColor:o,activeStarsColor:t})}),b("div",{className:"flex flex-col gap-y-5",children:P})]})]})});import{jsx as h,jsxs as ot}from"react/jsx-runtime";var rt=({stars:e,starsColor:o,activeStarsColor:t,showRatingLabel:r,backgroundColor:a,spacing:i,border:n,fluidContent:m,fullHeight:s,ReviewImage:d,ReviewPersonInfo:f,ReviewContent:P})=>h(c,{backgroundColor:a,spacing:i,border:n,fluidContent:m,fullHeight:s,children:ot("div",{className:"grid md:grid-cols-12",children:[ot("div",{className:"mb-2 md:col-span-4 md:my-0",children:[h("div",{className:"mb-2 aspect-square size-12 rounded-full",children:d}),h("div",{className:"flex flex-col gap-y-1",children:f})]}),h("div",{className:"my-2 md:col-span-4 md:my-0",children:h(I,{rating:e,showReviewLabel:r,starsColor:o,activeStarsColor:t})}),h("div",{className:"mt-2 flex flex-col gap-y-3 md:col-span-4 md:my-0",children:P})]})});import{jsx as E}from"react/jsx-runtime";var Ko=e=>{let{component:o,context:t,slots:r}=e,a=o.variant,i={...e,ReviewImage:E(ie,{context:t,data:o,slot:r.reviewImage}),ReviewPersonInfo:E(ie,{context:t,data:o,slot:r.reviewPersonInfo}),ReviewContent:E(ie,{context:t,data:o,slot:r.reviewContent})};switch(a){case"multiColumn":return E(rt,{...i});default:return E(tt,{...i})}};import{UniformSlot as le}from"@uniformdev/canvas-next-rsc/component";import{jsx as ne}from"react/jsx-runtime";var Go=({parentComponent:e,slotName:o})=>{let t=!e?.variant;switch(o){case"sectionMedia":return{component:()=>t?null:ne("div",{className:"size-full"})};case"sectionContent":return{component:()=>ne("div",{className:"h-20"})};case"sectionCTA":return{component:()=>ne("div",{className:"mx-40 h-20 w-full"})};default:return l}};var it=(r=>(r.Left="left",r.Center="center",r.Right="right",r))(it||{}),me=(t=>(t.Columns="columns",t.ColumnsReverse="columnsReverse",t))(me||{}),at=(r=>(r.SectionContent="sectionContent",r.SectionMedia="sectionMedia",r.SectionCTA="sectionCTA",r))(at||{});import{jsx as H,jsxs as nt}from"react/jsx-runtime";var mt=({backgroundColor:e,spacing:o,border:t,fluidContent:r,fullHeight:a,variant:i,sectionMedia:n,sectionContent:m,sectionCTA:s,textAlignmentClass:d,buttonAlignmentClass:f})=>H(c,{backgroundColor:e,spacing:o,border:t,fluidContent:r,fullHeight:a,children:nt("div",{className:p("grid grid-cols-1 items-center gap-4 px-4 lg:grid-cols-2 xl:px-0"),children:[H("div",{className:p("aspect-square",{"order-last":i==="columnsReverse"}),children:H("div",{className:"flex size-full items-center justify-center overflow-hidden",children:n})}),nt("div",{className:"flex flex-col justify-center gap-8",children:[H("div",{className:p("flex flex-col gap-4",d),children:m}),H("div",{className:p("flex flex-wrap gap-2",f),children:s})]})]})});import{jsx as se,jsxs as st}from"react/jsx-runtime";var lt=({backgroundColor:e,spacing:o,border:t,fluidContent:r,fullHeight:a,sectionMedia:i,sectionContent:n,sectionCTA:m,textAlignmentClass:s,buttonAlignmentClass:d})=>st(c,{className:"relative overflow-hidden",backgroundColor:e,spacing:o,border:t,fluidContent:r,fullHeight:a,children:[se("div",{className:"absolute left-0 top-0 size-full overflow-hidden",children:i}),st(c,{className:"relative flex flex-col gap-8",children:[se("div",{className:p("flex flex-col gap-4",s),children:n}),se("div",{className:p("flex flex-wrap gap-2",d),children:m})]})]});var pt=({contentAlignment:e})=>p("justify-center",{"!justify-start":e==="left","!justify-end":e==="right"}),dt=({contentAlignment:e})=>p("text-center",{"text-start":e==="left","text-end":e==="right"});import{jsx as F}from"react/jsx-runtime";var Yo=({contentAlignment:e,slots:o,component:t,context:r,backgroundColor:a,spacing:i,border:n,fluidContent:m,fullHeight:s})=>{let d=t.variant,f={variant:d,backgroundColor:a,spacing:i,border:n,fluidContent:m,fullHeight:s,textAlignmentClass:dt({contentAlignment:e}),buttonAlignmentClass:pt({contentAlignment:e}),sectionMedia:F(le,{data:t,context:r,slot:o.sectionMedia}),sectionContent:F(le,{data:t,context:r,slot:o.sectionContent}),sectionCTA:F(le,{data:t,context:r,slot:o.sectionCTA})};switch(d){case"columns":case"columnsReverse":return F(mt,{...f});default:return F(lt,{...f})}};import{UniformSlot as ft}from"@uniformdev/canvas-next-rsc/component";var ct=({size:e,textColor:o})=>p("text-left w-full [&_tr:not(:last-child)_td]:border-b [&_th]:border-b",{[`text-${o}`]:o,[`[&_td]:p-${e} [&_th]:p-${e}`]:e});import{jsx as R,jsxs as qo}from"react/jsx-runtime";var $o=({size:e,textColor:o,slots:t,component:r,context:a,backgroundColor:i,spacing:n,border:m,fluidContent:s,fullHeight:d})=>R(c,{className:"flex flex-col gap-5",backgroundColor:i,spacing:n,border:m,fluidContent:s,fullHeight:d,children:R("div",{className:"overflow-x-auto",children:qo("table",{className:ct({size:e,textColor:o}),children:[R("thead",{children:R(ft,{slot:t.tableHead,context:a,data:r})}),R("tbody",{children:R(ft,{slot:t.tableBody,context:a,data:r})})]})})});import{jsx as Pt}from"react/jsx-runtime";var Jo=e=>{switch(e.slotName){case"tableHead":return{component:()=>Pt("tr",{className:"h-20"})};case"tableBody":return{component:()=>Pt("tr",{className:"h-40"})};default:return l}};var ut=(t=>(t.TableHead="tableHead",t.TableBody="tableBody",t))(ut||{});import{UniformSlot as z}from"@uniformdev/canvas-next-rsc/component";import{jsx as _}from"react/jsx-runtime";var Qo=({slotName:e})=>{switch(e){case"testimonialSecondaryImage":return{component:()=>_("div",{className:"h-20 w-64"})};case"testimonialContent":return{component:()=>_("div",{className:"h-20 w-64"})};case"testimonialPrimaryImage":return{component:()=>_("div",{className:"size-full"})};case"testimonialAuthor":return{component:()=>_("div",{className:"h-20 w-64"})};default:return l}};var gt=(t=>(t.WithLargeAvatar="withLargeAvatar",t.WithOverlappingImage="withOverlappingImage",t))(gt||{}),Ct=(a=>(a.TestimonialSecondaryImage="testimonialSecondaryImage",a.TestimonialContent="testimonialContent",a.TestimonialPrimaryImage="testimonialPrimaryImage",a.TestimonialAuthor="testimonialAuthor",a))(Ct||{});import{jsx as A,jsxs as Zo}from"react/jsx-runtime";var xt=({testimonialPrimaryImage:e,testimonialContent:o,testimonialAuthor:t,testimonialSecondaryImage:r,backgroundColor:a,spacing:i,border:n,fluidContent:m,fullHeight:s})=>A(c,{backgroundColor:a,spacing:i,border:n,fluidContent:m,fullHeight:s,children:Zo("div",{className:"mx-auto flex flex-col items-center md:max-w-[80%]",children:[A("div",{children:r}),A("div",{className:"my-8",children:o}),A("div",{className:"size-10 rounded-full",children:e}),A("div",{className:"mt-4 flex gap-3",children:t})]})});import{jsx as L,jsxs as U}from"react/jsx-runtime";var vt=({testimonialPrimaryImage:e,testimonialContent:o,testimonialAuthor:t,testimonialSecondaryImage:r,backgroundColor:a,spacing:i,border:n,fluidContent:m,fullHeight:s})=>L(c,{backgroundColor:a,spacing:i,border:n,fluidContent:m,fullHeight:s,children:U("div",{className:"mx-auto flex items-center gap-x-10 md:max-w-[80%]",children:[L("div",{className:"hidden aspect-square w-full max-w-xs shrink-0 overflow-hidden rounded-xl lg:block",children:e}),U("div",{className:"flex flex-col gap-y-8",children:[L("div",{className:"",children:o}),U("div",{className:"flex items-center justify-between",children:[U("div",{className:"flex items-center gap-x-4",children:[L("div",{className:"block aspect-square w-10 overflow-hidden rounded-md lg:hidden",children:e}),L("div",{className:"gap-3",children:t})]}),r]})]})]})});import{jsx as B,jsxs as pe}from"react/jsx-runtime";var yt=({testimonialPrimaryImage:e,testimonialContent:o,testimonialAuthor:t,testimonialSecondaryImage:r,backgroundColor:a,spacing:i,border:n,fluidContent:m,fullHeight:s})=>B(c,{backgroundColor:a,spacing:i,border:n,fluidContent:m,fullHeight:s,children:B(c,{className:"pb-10 lg:pb-0",children:pe("div",{className:"mx-auto flex max-w-2xl flex-col items-center gap-10 lg:max-w-none lg:flex-row",children:[B("div",{className:"-mt-7 aspect-[2/1] w-full shrink-0 overflow-hidden rounded-xl lg:-my-7 lg:aspect-[1/1.4] lg:max-w-xs",children:e}),pe("div",{className:"flex flex-col gap-y-8",children:[B("div",{className:"",children:o}),pe("div",{className:"flex items-center justify-between",children:[B("div",{className:"gap-3",children:t}),r]})]})]})})});import{jsx as v}from"react/jsx-runtime";var Xo=({context:e,component:o,slots:t,backgroundColor:r,spacing:a,border:i,fluidContent:n,fullHeight:m})=>{let s=o.variant,d={backgroundColor:r,spacing:a,border:i,fluidContent:n,fullHeight:m,testimonialPrimaryImage:v(z,{context:e,data:o,slot:t.testimonialPrimaryImage}),testimonialContent:v(z,{context:e,data:o,slot:t.testimonialContent}),testimonialAuthor:v(z,{context:e,data:o,slot:t.testimonialAuthor}),testimonialSecondaryImage:v(z,{context:e,data:o,slot:t.testimonialSecondaryImage})};switch(s){case"withLargeAvatar":return v(vt,{...d});case"withOverlappingImage":return v(yt,{...d});default:return v(xt,{...d})}};export{Co as a,we as b,xo as c,ho as d,Ee as e,be as f,vo as g,Fe as h,Fr as i,No as j,Me as k,J as l,Ke as m,ba as n,Fo as o,Ye as p,Oa as q,Lo as r,Je as s,qe as t,Za as u,Bo as v,Qe as w,ni as x,Io as y,ui as z,So as A,Ti as B,Oo as C,Uo as D,Ze as E,zo as F,Ko as G,ae as H,je as I,Wo as J,Yo as K,it as L,me as M,at as N,Go as O,$o as P,ut as Q,Jo as R,Xo as S,gt as T,Ct as U,Qo as V};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{b as B,c as w}from"./chunk-6TUDWIYU.mjs";import{a as F}from"./chunk-QHIWJPL6.mjs";import{a as R,b as d}from"./chunk-VZCFPWET.mjs";import{a as m}from"./chunk-RZFK2OR7.mjs";import{d as y}from"./chunk-RX4IAAQQ.mjs";import{a as g,c as a}from"./chunk-S7CSCIW4.mjs";import A from"next/link";import{jsx as _}from"react/jsx-runtime";var x=({children:o,link:e,openInNewTab:t,rel:i,className:r})=>_(A,{href:e,className:a("[&:hover_img]:scale-[0.98] [&_img]:transition-transform hover:underline transition-transform",r),target:t?"_blank":"_self",rel:i,children:o});var L=(e=>(e.Link="link",e))(L||{});import{jsx as H,jsxs as Z}from"react/jsx-runtime";var O=({children:o,href:e,className:t,onClick:i})=>{let r=y(e);return e?H(x,{className:t,link:e,openInNewTab:r,rel:r?"noopener noreferrer":"",children:o}):H("button",{onClick:i,className:t,children:o})},E=({variant:o,children:e,href:t,className:i,onClick:r,textColor:n,textSize:s,buttonColor:p,isActive:W,icon:c,iconPosition:z,border:h="",textTransform:u="",textWeight:P,textFont:C,size:N,hoverButtonColor:k,hoverTextColor:b})=>{let D=a("block w-max font-medium focus-visible:outline-none focus-visible:ring-1 disabled:pointer-events-none disabled:opacity-50",{[`text-${n}`]:n,[`hover:text-${b}`]:b,"flex flex-row gap-x-2":c,"flex-row-reverse":c&&z==="right",[`font-${C}`]:!!C,[`font-${P}`]:!!P,[`p-${N}`]:N,[u]:!!u,[g(h,"{value}")]:h,[g(s,"text-{value}")]:s}),G=a({[`bg-${p}`]:p,[`hover:bg-${k}`]:k}),V=a("bg-transparent hover:underline hover:opacity-100",{[`hover:decoration-${p}`]:p,"!underline":t===W});return Z(O,{href:t,onClick:r,className:a(D,{[G]:!o,[V]:o==="link"},i),children:[c,e]})};import{jsx as T,jsxs as J}from"react/jsx-runtime";var q=({type:o,placeholder:e})=>J("div",{className:"flex aspect-video size-full flex-col items-center justify-center bg-white text-black dark:bg-black dark:text-white",children:[T(o==="video"?w:B,{className:"size-1/2 max-h-36 max-w-36"}),!!e&&T(F,{className:"text-center",weight:"bold",children:e})]});import{jsx as v,jsxs as S}from"react/jsx-runtime";var K=({logo:o,content:e,copyright:t,backgroundColor:i,spacing:r,border:n,fluidContent:s})=>v("footer",{children:v(m,{backgroundColor:i,spacing:r,border:n,fluidContent:s,children:S(m,{className:"flex w-full flex-col justify-between gap-4 md:flex-row",children:[S("div",{className:"flex flex-col gap-2 gap-y-4 md:w-1/2",children:[o,t]}),v("div",{children:e})]})})});import U from"next/dynamic";import{jsx as l,jsxs as Q}from"react/jsx-runtime";var M=({leftSection:o,rightSection:e,children:t,backgroundColor:i,spacing:r,border:n,className:s})=>l("nav",{children:l(m,{fluidContent:!0,backgroundColor:i,spacing:r,border:n,className:s,children:Q(R,{className:"items-center",columnsCount:"12",children:[l(d,{columnSpan:"span-3",children:l("div",{className:"flex items-center justify-start",children:o})}),l(d,{columnSpan:"span-6",children:l("div",{className:"flex items-center justify-center gap-x-8",children:t})}),l(d,{columnSpan:"span-3",children:l("div",{className:"flex items-center justify-end gap-x-4",children:e})})]})})});import{jsx as f,jsxs as j}from"react/jsx-runtime";var X=U(()=>import("./mobile-PRXIDJ7S.mjs").then(o=>o.MobileHeader)),Y=({sticky:o,...e})=>j("header",{className:a({"sticky top-0 shadow z-10":o}),children:[f("div",{className:"hidden md:block",children:f(M,{...e})}),f("div",{className:"block md:hidden",children:f(X,{...e})})]});import{jsx as oe,jsxs as te}from"react/jsx-runtime";var ee=({className:o,header:e,footer:t,children:i,backgroundColor:r,...n})=>te("div",{className:a("flex min-h-screen flex-col",o,{[`bg-${r}`]:!!r}),...n,children:[e,oe("div",{className:"flex flex-1 flex-col",children:i}),t]});import{jsx as $,jsxs as I}from"react/jsx-runtime";var re=({rating:o,showReviewLabel:e,starsColor:t,activeStarsColor:i})=>I("div",{className:"flex items-center space-x-1",children:[Array.from({length:5},(r,n)=>{let s=o>=n+1;return $("svg",{className:a("w-5 h-5",{[`fill-${t}`]:!s,[`fill-${i}`]:s}),"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 22 20",children:$("path",{d:"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z"})},n)}),e&&I("div",{className:"text-sm leading-[3px]",children:["(",o,"/5)"]})]});export{x as a,E as b,L as c,q as d,K as e,Y as f,ee as g,re as h};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as s}from"./chunk-RZFK2OR7.mjs";import{a as e,c as l}from"./chunk-S7CSCIW4.mjs";import{jsx as m}from"react/jsx-runtime";var v=({className:r,wrapperClassName:t,direction:o,justifyContent:i,gap:a,alignItems:p,backgroundColor:n,spacing:f,border:P,fluidContent:c,fullHeight:y,children:x})=>m(s,{backgroundColor:n,spacing:f,border:P,fluidContent:c,fullHeight:y,wrapperClassName:t,children:m("div",{className:l("flex",{[e(o,"flex-{value}")]:o,[e(i,"justify-{value}")]:i,[e(a,"gap-{value}")]:a,[e(p,"items-{value}")]:p},r),children:x})});import{jsx as u}from"react/jsx-runtime";var d=({className:r,alignSelf:t,shrink:o,children:i})=>u("div",{className:l({[e(t,"self-{value}")]:t,[`shrink-${o}`]:o},r),children:i});import g from"next/dynamic";var T=g(()=>import("./video-
|
|
1
|
+
import{a as s}from"./chunk-RZFK2OR7.mjs";import{a as e,c as l}from"./chunk-S7CSCIW4.mjs";import{jsx as m}from"react/jsx-runtime";var v=({className:r,wrapperClassName:t,direction:o,justifyContent:i,gap:a,alignItems:p,backgroundColor:n,spacing:f,border:P,fluidContent:c,fullHeight:y,children:x})=>m(s,{backgroundColor:n,spacing:f,border:P,fluidContent:c,fullHeight:y,wrapperClassName:t,children:m("div",{className:l("flex",{[e(o,"flex-{value}")]:o,[e(i,"justify-{value}")]:i,[e(a,"gap-{value}")]:a,[e(p,"items-{value}")]:p},r),children:x})});import{jsx as u}from"react/jsx-runtime";var d=({className:r,alignSelf:t,shrink:o,children:i})=>u("div",{className:l({[e(t,"self-{value}")]:t,[`shrink-${o}`]:o},r),children:i});import g from"next/dynamic";var T=g(()=>import("./video-RC2QHJS2.mjs").then(r=>r.Video));export{v as a,d as b,T as c};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import t from"next/dynamic";var r=t(()=>import("./carousel-3H6U25O4.mjs").then(e=>e.Carousel));export{r as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var s=/:([a-zA-Z0-9-_]+)/g,n=(e,o)=>o?e.replace(s,t=>o?.[t.substring(1)]||t):e,i=e=>"compositionApiResponse"in e&&!!e.compositionApiResponse&&"composition"in e.compositionApiResponse,r=e=>e?e.type==="email"?`mailto:${e.path}`:e.path:"",p=e=>e?.startsWith("http")??!1;export{n as a,i as b,r as c,p as d};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as o}from"./chunk-MSXDLSXH.mjs";import p from"next/dynamic";import{jsx as m}from"react/jsx-runtime";var a=e=>{switch(e.slotName){case"bannerContent":return{component:()=>m("div",{className:"h-20 w-full"})};default:return o}};var l=(r=>(r.Left="left",r.Center="center",r.Right="right",r))(l||{}),t=(n=>(n.BannerContent="bannerContent",n))(t||{}),h=p(()=>import("./banner-
|
|
1
|
+
import{a as o}from"./chunk-MSXDLSXH.mjs";import p from"next/dynamic";import{jsx as m}from"react/jsx-runtime";var a=e=>{switch(e.slotName){case"bannerContent":return{component:()=>m("div",{className:"h-20 w-full"})};default:return o}};var l=(r=>(r.Left="left",r.Center="center",r.Right="right",r))(l||{}),t=(n=>(n.BannerContent="bannerContent",n))(t||{}),h=p(()=>import("./banner-QXWN54B7.mjs").then(e=>e.Banner));export{l as a,t as b,h as c,a as d};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as m}from"./chunk-S7CSCIW4.mjs";var d=r=>r.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,"").replace(/\son\w+="[^"]*"/gi,"").replace(/\son\w+='[^']*'/gi,"").replace(/javascript:/gi,""),v=r=>r.replace(/fill=(['"])(?!none|transparent)[^'"]*\1/gi,'fill="currentColor"').replace(/stroke=(['"])(?!none|transparent)[^'"]*\1/gi,'stroke="currentColor"').replace(/color=(['"])[^'"]*\1/gi,'color="currentColor"'),S=r=>{let t=r.match(/<svg\s+([^>]*)>/i);if(!t||!t[1])return{};let e=t[1],s={},o=/(\w[\w-]*)=["']([^"']*)["']/g,a;for(;a=o.exec(e);){let[,c,i]=a;c&&i&&(s[c]=i)}return s},h=r=>r.match(/<svg[^>]*>([\s\S]*?)<\/svg>/i)?.[1]??"",f=async r=>{try{let t=await fetch(r,{headers:{Accept:"image/svg+xml, text/plain, */*"}});if(!t.ok)throw new Error(`Failed to fetch SVG: ${t.status} ${t.statusText}`);let e=await t.text();if(!e.trim().includes("<svg"))throw new Error("Response is not valid SVG");return e}catch(t){throw console.error("Error fetching SVG:",t),t}};import{jsx as g}from"react/jsx-runtime";var C=async({src:r,className:t="",width:e,height:s,fill:o,sanitize:a=!0,useCurrentColor:c=!0,fallback:i,alt:x})=>{if(!r)return i??null;let w=p=>{let n=[];return a&&n.push(d),c&&n.push(v),n.reduce((l,u)=>u(l),p)};try{let p=await f(r),n=w(p),l=S(n),u=h(n),b={...l,role:"img","aria-label":x,width:o?"100%":e,height:o?"100%":s,className:m(l.className,t,{"absolute inset-0":o})};return g("div",{className:"relative size-full",children:g("svg",{...b,dangerouslySetInnerHTML:{__html:u}})})}catch{return i??g("div",{className:m(t),style:{width:e,height:s},children:g("div",{className:"rounded border border-red-200 bg-red-50 p-2 text-sm text-red-500",children:"Failed to load SVG"})})}};export{C as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import t from"next/dynamic";var r=t(()=>import("./theme-switcher-
|
|
1
|
+
import t from"next/dynamic";var r=t(()=>import("./theme-switcher-76F2V343.mjs").then(e=>e.ThemeSwitcher));export{r as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var g=Object.create;var f=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var j=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty;var m=(b,a)=>()=>(a||b((a={exports:{}}).exports,a),a.exports);var l=(b,a,c,e)=>{if(a&&typeof a=="object"||typeof a=="function")for(let d of i(a))!k.call(b,d)&&d!==c&&f(b,d,{get:()=>a[d],enumerable:!(e=h(a,d))||e.enumerable});return b};var n=(b,a,c)=>(c=b!=null?g(j(b)):{},l(a||!b||!b.__esModule?f(c,"default",{value:b,enumerable:!0}):c,b));export{m as a,n as b};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
1
2
|
import * as react from 'react';
|
|
2
3
|
import * as _uniformdev_canvas_next_rsc_shared from '@uniformdev/canvas-next-rsc-shared';
|
|
3
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import { ResolveEmptyPlaceholderOptions } from '../../types/cskTypes.mjs';
|
|
5
5
|
import { EmptyPlaceholderMapping } from '../../utils/createEmptyPlaceholderResolver.mjs';
|
|
6
6
|
import '@uniformdev/canvas';
|
|
@@ -9,9 +9,9 @@ import '@uniformdev/canvas-next-rsc/component';
|
|
|
9
9
|
declare const cskEmptyPlaceholderMapping: EmptyPlaceholderMapping;
|
|
10
10
|
|
|
11
11
|
declare const emptyPlaceholderResolver: ({ parentComponent, ...restProps }: ResolveEmptyPlaceholderOptions) => {
|
|
12
|
-
component: () => react_jsx_runtime.JSX.Element;
|
|
13
|
-
} | {
|
|
14
12
|
component: react.ComponentType<_uniformdev_canvas_next_rsc_shared.ComponentProps<any, any>> | null;
|
|
13
|
+
} | {
|
|
14
|
+
component: () => react_jsx_runtime.JSX.Element;
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
export { cskEmptyPlaceholderMapping as default, emptyPlaceholderResolver };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{A as y,C as n,F as P,J as h,O as E,R as f,V as g,c as e,g as m,j as l,o as a,r as p,v as i,y as c}from"../../chunk-
|
|
1
|
+
import{A as y,C as n,F as P,J as h,O as E,R as f,V as g,c as e,g as m,j as l,o as a,r as p,v as i,y as c}from"../../chunk-GU776XBS.mjs";import{d}from"../../chunk-2SEOCBRK.mjs";import{d as s}from"../../chunk-CBZWZSQW.mjs";import"../../chunk-H3OSPGNK.mjs";import"../../chunk-6TUDWIYU.mjs";import"../../chunk-QHIWJPL6.mjs";import{d as r}from"../../chunk-T6HZMAEP.mjs";import{d as t}from"../../chunk-2UV7TQNF.mjs";import"../../chunk-VZCFPWET.mjs";import"../../chunk-EIQPM3DQ.mjs";import"../../chunk-RZFK2OR7.mjs";import"../../chunk-3PDY7RJC.mjs";import"../../chunk-JNIJ5N3Y.mjs";import{b as o}from"../../chunk-MSXDLSXH.mjs";import"../../chunk-RX4IAAQQ.mjs";import"../../chunk-S7CSCIW4.mjs";import"../../chunk-YEKQJ4YC.mjs";var u={accordion:e,banner:r,card:m,carousel:l,countdown:t,flexibleHero:a,footer:p,header:i,imageGallery:c,modal:d,navigationFlyout:y,navigationGroup:n,page:P,review:h,section:E,table:f,tabs:s,testimonial:g},K=u,L=o(u);export{K as default,L as emptyPlaceholderResolver};
|
|
@@ -53,7 +53,9 @@ declare enum AccordionItemSlots {
|
|
|
53
53
|
AccordionItemContent = "accordionItemContent"
|
|
54
54
|
}
|
|
55
55
|
type AccordionItemProps = ComponentProps<AccordionItemParameters & AccordionItemAdditionalProps, AccordionItemSlots>;
|
|
56
|
-
declare const _default$
|
|
56
|
+
declare const _default$9: react.ComponentType<AccordionItemProps>;
|
|
57
|
+
|
|
58
|
+
declare const Badge: FC<BadgeProps>;
|
|
57
59
|
|
|
58
60
|
type BadgeParameters = {
|
|
59
61
|
text?: string;
|
|
@@ -65,7 +67,6 @@ type BadgeParameters = {
|
|
|
65
67
|
size?: string;
|
|
66
68
|
};
|
|
67
69
|
type BadgeProps = ComponentProps<BadgeParameters>;
|
|
68
|
-
declare const _default$m: react.FC<ComponentProps<BadgeProps>>;
|
|
69
70
|
|
|
70
71
|
declare enum ContentAlignment$2 {
|
|
71
72
|
Left = "left",
|
|
@@ -81,15 +82,19 @@ declare enum BannerSlots {
|
|
|
81
82
|
BannerContent = "bannerContent"
|
|
82
83
|
}
|
|
83
84
|
type BannerProps = ComponentProps<BannerParameters, BannerSlots>;
|
|
84
|
-
declare const _default$
|
|
85
|
+
declare const _default$8: react.ComponentType<BannerProps>;
|
|
86
|
+
|
|
87
|
+
declare const Breadcrumbs: FC<BreadcrumbsProps>;
|
|
85
88
|
|
|
86
89
|
type BreadcrumbsParameters = {
|
|
87
90
|
title?: string;
|
|
88
91
|
separator?: 'slash' | 'chevron';
|
|
89
92
|
links?: DataWithProperties[];
|
|
93
|
+
autoGenerate?: boolean;
|
|
90
94
|
};
|
|
91
95
|
type BreadcrumbsProps = ComponentProps<BreadcrumbsParameters & Pick<TextParameters, 'size' | 'color' | 'font' | 'transform'>>;
|
|
92
|
-
|
|
96
|
+
|
|
97
|
+
declare const Button: FC<ButtonProps>;
|
|
93
98
|
|
|
94
99
|
type ButtonParameters = {
|
|
95
100
|
text?: string;
|
|
@@ -113,7 +118,6 @@ type ButtonAdditionalProps = {
|
|
|
113
118
|
onClick?: () => void;
|
|
114
119
|
};
|
|
115
120
|
type ButtonProps = ComponentProps<ButtonParameters & ButtonAdditionalProps>;
|
|
116
|
-
declare const _default$j: react.FC<ComponentProps<ButtonProps>>;
|
|
117
121
|
|
|
118
122
|
declare const Card: FC<CardProps>;
|
|
119
123
|
|
|
@@ -136,7 +140,7 @@ declare enum CarouselSlots {
|
|
|
136
140
|
Items = "carouselItems"
|
|
137
141
|
}
|
|
138
142
|
type CarouselProps = ComponentProps<CarouselParameters, CarouselSlots>;
|
|
139
|
-
declare const _default$
|
|
143
|
+
declare const _default$7: react.ComponentType<CarouselProps>;
|
|
140
144
|
|
|
141
145
|
declare const Container: FC<ContainerProps>;
|
|
142
146
|
|
|
@@ -165,7 +169,7 @@ declare enum CountdownVariants {
|
|
|
165
169
|
LabelsUnder = "labelsUnder"
|
|
166
170
|
}
|
|
167
171
|
type CountdownProps = ComponentProps<CountdownParameters, CountdownSlots>;
|
|
168
|
-
declare const _default$
|
|
172
|
+
declare const _default$6: react.ComponentType<CountdownProps>;
|
|
169
173
|
|
|
170
174
|
type PrefixedKeys<T, Prefix extends string> = {
|
|
171
175
|
[Key in keyof T as `${Prefix}${Capitalize<string & Key>}`]: T[Key];
|
|
@@ -241,6 +245,8 @@ type DividerParameters = {
|
|
|
241
245
|
};
|
|
242
246
|
type DividerProps = ComponentProps<DividerParameters>;
|
|
243
247
|
|
|
248
|
+
declare const Flex: FC<FlexProps>;
|
|
249
|
+
|
|
244
250
|
type Direction = 'row' | 'row-reverse' | 'col' | 'col-reverse';
|
|
245
251
|
type Justify = 'start' | 'end' | 'center' | 'between';
|
|
246
252
|
type AvailableGap = '2' | '8' | '16';
|
|
@@ -259,7 +265,6 @@ declare enum FlexSlots {
|
|
|
259
265
|
FlexItem = "flexItem"
|
|
260
266
|
}
|
|
261
267
|
type FlexProps = ComponentProps<FlexParameters & FlexAdditionalProps, FlexSlots>;
|
|
262
|
-
declare const _default$g: react.FC<ComponentProps<FlexProps>>;
|
|
263
268
|
|
|
264
269
|
declare const FlexItem: FC<FlexItemProps>;
|
|
265
270
|
|
|
@@ -275,6 +280,8 @@ declare enum FlexItemSlots {
|
|
|
275
280
|
}
|
|
276
281
|
type FlexItemProps = ComponentProps<FlexItemParameters, FlexItemSlots>;
|
|
277
282
|
|
|
283
|
+
declare const Footer: FC<FooterProps>;
|
|
284
|
+
|
|
278
285
|
type FooterParameters = FooterProps$1;
|
|
279
286
|
declare enum FooterSlots {
|
|
280
287
|
FooterLogo = "footerLogo",
|
|
@@ -282,7 +289,8 @@ declare enum FooterSlots {
|
|
|
282
289
|
FooterContent = "footerContent"
|
|
283
290
|
}
|
|
284
291
|
type FooterProps = ComponentProps<FooterParameters, FooterSlots>;
|
|
285
|
-
|
|
292
|
+
|
|
293
|
+
declare const Grid: FC<GridProps>;
|
|
286
294
|
|
|
287
295
|
type AvailableGridColumnsCount = '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12';
|
|
288
296
|
type AvailableGridGap = '2' | '8' | '16';
|
|
@@ -298,7 +306,8 @@ declare enum GridSlots {
|
|
|
298
306
|
GridInner = "gridInner"
|
|
299
307
|
}
|
|
300
308
|
type GridProps = ComponentProps<GridParameters & GridAdditionalProps, GridSlots>;
|
|
301
|
-
|
|
309
|
+
|
|
310
|
+
declare const GridItem: FC<GridItemProps>;
|
|
302
311
|
|
|
303
312
|
type AvailableGridItemColumnsCount = '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12';
|
|
304
313
|
type AvailableGridItemSpan = 'auto' | 'span-1' | 'span-2' | 'span-3' | 'span-4' | 'span-5' | 'span-6' | 'span-7' | 'span-8' | 'span-9' | 'span-10' | 'span-11' | 'span-12' | 'span-full';
|
|
@@ -317,7 +326,8 @@ declare enum GridItemSlots {
|
|
|
317
326
|
Inner = "inner"
|
|
318
327
|
}
|
|
319
328
|
type GridItemProps = ComponentProps<GridItemParameters & GridItemAdditionalProps, GridItemSlots>;
|
|
320
|
-
|
|
329
|
+
|
|
330
|
+
declare const Header: FC<HeaderProps>;
|
|
321
331
|
|
|
322
332
|
type HeaderParameters = Omit<HeaderProps$1, 'sticky'>;
|
|
323
333
|
declare enum HeaderSlots {
|
|
@@ -329,13 +339,13 @@ declare enum HeaderVariants {
|
|
|
329
339
|
Sticky = "sticky"
|
|
330
340
|
}
|
|
331
341
|
type HeaderProps = ComponentProps<HeaderParameters, HeaderSlots>;
|
|
332
|
-
|
|
342
|
+
|
|
343
|
+
declare const IconLabel: FC<IconLabelProps>;
|
|
333
344
|
|
|
334
345
|
type IconLabelParameters = TextParameters & {
|
|
335
346
|
icon?: AssetParamValue;
|
|
336
347
|
};
|
|
337
348
|
type IconLabelProps = ComponentProps<IconLabelParameters>;
|
|
338
|
-
declare const _default$b: react.FC<ComponentProps<IconLabelProps>>;
|
|
339
349
|
|
|
340
350
|
declare const Image: FC<ImageProps>;
|
|
341
351
|
|
|
@@ -366,7 +376,9 @@ type ImageGalleryProps = ComponentProps<ImageGalleryParameters & {
|
|
|
366
376
|
otherLinesCount: number;
|
|
367
377
|
};
|
|
368
378
|
}, ImageGallerySlots>;
|
|
369
|
-
declare const _default$
|
|
379
|
+
declare const _default$5: react.ComponentType<ImageGalleryProps>;
|
|
380
|
+
|
|
381
|
+
declare const Link: FC<LinkProps>;
|
|
370
382
|
|
|
371
383
|
type LinkParameters = {
|
|
372
384
|
displayName?: string;
|
|
@@ -377,7 +389,6 @@ declare enum LinkSlots {
|
|
|
377
389
|
LinkContent = "linkContent"
|
|
378
390
|
}
|
|
379
391
|
type LinkProps = ComponentProps<LinkParameters, LinkSlots>;
|
|
380
|
-
declare const _default$9: react.FC<ComponentProps<LinkProps>>;
|
|
381
392
|
|
|
382
393
|
type ModalParameters = {
|
|
383
394
|
maxWidth?: 'small' | 'medium' | 'large';
|
|
@@ -391,40 +402,49 @@ declare enum ModalSlots {
|
|
|
391
402
|
ModalActions = "modalActions"
|
|
392
403
|
}
|
|
393
404
|
type ModalProps = ComponentProps<ModalParameters, ModalSlots>;
|
|
394
|
-
declare const _default$
|
|
405
|
+
declare const _default$4: react.ComponentType<ModalProps>;
|
|
395
406
|
|
|
396
407
|
type NavigationFlyoutParameters = TextParameters & {
|
|
397
408
|
icon?: AssetParamValue;
|
|
398
409
|
link?: LinkParamValue;
|
|
399
410
|
backgroundColor?: string;
|
|
400
411
|
border?: string | ViewPort<string>;
|
|
412
|
+
caretIcon?: AssetParamValue;
|
|
413
|
+
hoverEffect?: string | ViewPort<string>;
|
|
414
|
+
className?: string;
|
|
401
415
|
};
|
|
402
416
|
declare enum NavigationFlyoutSlots {
|
|
403
417
|
NavigationFlyoutLeftContent = "navigationFlyoutLeftContent",
|
|
404
418
|
NavigationFlyoutRightContent = "navigationFlyoutRightContent"
|
|
405
419
|
}
|
|
406
420
|
type NavigationFlyoutProps = ComponentProps<NavigationFlyoutParameters, NavigationFlyoutSlots>;
|
|
407
|
-
declare const _default$
|
|
421
|
+
declare const _default$3: react.ComponentType<NavigationFlyoutProps>;
|
|
408
422
|
|
|
409
423
|
type NavigationGroupParameters = TextParameters & {
|
|
410
424
|
icon?: AssetParamValue;
|
|
425
|
+
caretIcon?: AssetParamValue;
|
|
411
426
|
link?: LinkParamValue;
|
|
412
427
|
backgroundColor?: string;
|
|
413
428
|
border?: string | ViewPort<string>;
|
|
429
|
+
hoverEffect?: string | ViewPort<string>;
|
|
430
|
+
className?: string;
|
|
414
431
|
};
|
|
415
432
|
declare enum NavigationGroupSlots {
|
|
416
433
|
Links = "links"
|
|
417
434
|
}
|
|
418
435
|
type NavigationGroupProps = ComponentProps<NavigationGroupParameters, NavigationGroupSlots>;
|
|
419
|
-
declare const _default$
|
|
436
|
+
declare const _default$2: react.ComponentType<NavigationGroupProps>;
|
|
437
|
+
|
|
438
|
+
declare const NavigationLink: FC<NavigationLinkProps>;
|
|
420
439
|
|
|
421
440
|
type NavigationLinkParameters = TextParameters & {
|
|
422
441
|
icon?: AssetParamValue;
|
|
423
442
|
link?: LinkParamValue;
|
|
424
443
|
activeState?: boolean;
|
|
444
|
+
hoverEffect?: string | ViewPort<string>;
|
|
445
|
+
className?: string;
|
|
425
446
|
};
|
|
426
447
|
type NavigationLinkProps = ComponentProps<NavigationLinkParameters>;
|
|
427
|
-
declare const _default$5: react.FC<ComponentProps<NavigationLinkProps>>;
|
|
428
448
|
|
|
429
449
|
declare const Page: FC<PageProps>;
|
|
430
450
|
|
|
@@ -462,6 +482,8 @@ declare enum ReviewSlots {
|
|
|
462
482
|
}
|
|
463
483
|
type ReviewProps = ComponentProps<ReviewParameters, ReviewSlots>;
|
|
464
484
|
|
|
485
|
+
declare const RichText: FC<RichTextProps>;
|
|
486
|
+
|
|
465
487
|
type RichTextAdditionalProps = {
|
|
466
488
|
className?: string;
|
|
467
489
|
};
|
|
@@ -472,7 +494,6 @@ type RichTextParameters = {
|
|
|
472
494
|
lineCountRestrictions: string;
|
|
473
495
|
};
|
|
474
496
|
type RichTextProps = ComponentProps<RichTextParameters & RichTextAdditionalProps>;
|
|
475
|
-
declare const _default$4: react.FC<ComponentProps<RichTextProps>>;
|
|
476
497
|
|
|
477
498
|
declare const Section: FC<SectionProps>;
|
|
478
499
|
|
|
@@ -505,6 +526,8 @@ declare enum SpacerVariants {
|
|
|
505
526
|
}
|
|
506
527
|
type SpacerProps = ComponentProps<SpacerParameters>;
|
|
507
528
|
|
|
529
|
+
declare const Tab: FC<TabProps>;
|
|
530
|
+
|
|
508
531
|
type TabParameters = {
|
|
509
532
|
title?: string;
|
|
510
533
|
};
|
|
@@ -512,7 +535,6 @@ declare enum TabSlots {
|
|
|
512
535
|
TabContent = "tabContent"
|
|
513
536
|
}
|
|
514
537
|
type TabProps = ComponentProps<TabParameters, TabSlots>;
|
|
515
|
-
declare const _default$3: react.FC<ComponentProps<TabProps>>;
|
|
516
538
|
|
|
517
539
|
declare const Table: FC<TableProps>;
|
|
518
540
|
|
|
@@ -565,7 +587,7 @@ declare enum TabsSlots {
|
|
|
565
587
|
TabItems = "tabItems"
|
|
566
588
|
}
|
|
567
589
|
type TabsProps = ComponentProps<TabsParameters, TabsSlots>;
|
|
568
|
-
declare const _default$
|
|
590
|
+
declare const _default$1: react.ComponentType<TabsProps>;
|
|
569
591
|
|
|
570
592
|
declare const Testimonial: FC<TestimonialProps>;
|
|
571
593
|
|
|
@@ -582,15 +604,15 @@ declare enum TestimonialSlots {
|
|
|
582
604
|
}
|
|
583
605
|
type TestimonialProps = ComponentProps<TestimonialParameters, TestimonialSlots>;
|
|
584
606
|
|
|
585
|
-
|
|
607
|
+
declare const Text: FC<TextProps>;
|
|
586
608
|
|
|
587
|
-
|
|
609
|
+
type TextProps = ComponentProps<TextParameters>;
|
|
588
610
|
|
|
589
611
|
type ThemeSwitcherParameters = {
|
|
590
612
|
iconColor?: string;
|
|
591
613
|
};
|
|
592
614
|
type ThemeSwitcherProps = ComponentProps<ThemeSwitcherParameters>;
|
|
593
|
-
declare const _default: react.ComponentType<
|
|
615
|
+
declare const _default: react.ComponentType<ThemeSwitcherProps>;
|
|
594
616
|
|
|
595
617
|
declare const Video: FC<VideoProps>;
|
|
596
618
|
|
|
@@ -617,4 +639,4 @@ declare const componentResolver: ({ component }: {
|
|
|
617
639
|
component: ({ component }: _uniformdev_canvas_next_rsc_shared.ComponentProps) => React.JSX.Element | null;
|
|
618
640
|
};
|
|
619
641
|
|
|
620
|
-
export { Accordion, _default$
|
|
642
|
+
export { Accordion, _default$9 as AccordionItem, type AccordionItemParameters, type AccordionItemProps, AccordionItemSlots, type AccordionParameters, type AccordionProps, AccordionSlots, Badge, type BadgeParameters, type BadgeProps, _default$8 as Banner, ContentAlignment$2 as BannerContentAlignment, type BannerParameters, type BannerProps, BannerSlots, Breadcrumbs, type BreadcrumbsParameters, type BreadcrumbsProps, Button, type ButtonParameters, type ButtonProps, Card, type CardParameters, type CardProps, CardSlots, CardVariants, _default$7 as Carousel, type CarouselParameters, type CarouselProps, CarouselSlots, CommonPageSlots, Container, type ContainerParameters, type ContainerProps, ContainerSlots, _default$6 as Countdown, type CountdownParameters, type CountdownProps, CountdownSlots, CountdownVariants, DemoHero, ContentAlignment$1 as DemoHeroContentAlignment, type DemoHeroParameters, type DemoHeroProps, DemoHeroVariants, Divider, type DividerParameters, type DividerProps, Flex, FlexItem, type FlexItemParameters, type FlexItemProps, type FlexParameters, type FlexProps, FlexibleHeroSlots, Footer, type FooterParameters, type FooterProps, FooterSlots, Grid, GridItem, type GridItemParameters, type GridItemProps, GridItemSlots, type GridParameters, type GridProps, GridSlots, Header, type HeaderParameters, type HeaderProps, HeaderSlots, HeaderVariants, IconLabel, type IconLabelParameters, type IconLabelProps, Image, _default$5 as ImageGallery, type ImageGalleryParameters, type ImageGalleryProps, ImageGallerySlots, type ImageParameters, type ImageProps, Link, type LinkParameters, type LinkProps, LinkSlots, _default$4 as Modal, type ModalParameters, type ModalProps, ModalSlots, _default$3 as NavigationFlyout, type NavigationFlyoutParameters, type NavigationFlyoutProps, _default$2 as NavigationGroup, type NavigationGroupParameters, type NavigationGroupProps, NavigationLink, type NavigationLinkParameters, type NavigationLinkProps, Page, type PageParameters, type PageProps, Review, type ReviewParameters, type ReviewProps, ReviewSlots, ReviewVariants, RichText, type RichTextParameters, type RichTextProps, Section, ContentAlignment as SectionContentAlignment, type SectionParameters, type SectionProps, SectionSlots, SectionVariants, Spacer, type SpacerParameters, type SpacerProps, SpacerVariants, Tab, type TabParameters, type TabProps, TabSlots, Table, TableCustomCell, type TableCustomCellParameters, type TableCustomCellProps, TableCustomCellSlots, TableDataCell, type TableDataCellParameters, type TableDataCellProps, TableHeaderCell, type TableHeaderCellParameters, type TableHeaderCellProps, type TableParameters, type TableProps, TableRow, type TableRowProps, TableSlots, _default$1 as Tabs, type TabsParameters, type TabsProps, TabsSlots, TabsVariants, Testimonial, type TestimonialParameters, type TestimonialProps, TestimonialSlots, TestimonialVariants, Text, type TextParameters, type TextProps, _default as ThemeSwitcher, type ThemeSwitcherParameters, type ThemeSwitcherProps, Video, type VideoParameters, type VideoProps, componentResolver, cskComponentsMapping, cskComponentsMapping as default };
|