@stackshift-ui/text-component 7.0.0-beta.5 → 7.0.0-beta.6

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.
@@ -0,0 +1 @@
1
+ import{a as n}from"./chunk-CBIPJS7L.mjs";import{PortableText as m}from"@portabletext/react";import{Container as r}from"@stackshift-ui/container";import{Flex as i}from"@stackshift-ui/flex";import{Heading as a}from"@stackshift-ui/heading";import{Section as p}from"@stackshift-ui/section";import{jsx as o,jsxs as l}from"react/jsx-runtime";function s({heading:t,firstColumn:e}){return o(p,{className:"py-20 bg-background",children:l(r,{maxWidth:1280,children:[t&&o(a,{fontSize:"xl",className:"mb-5 text-center",children:t}),o(i,{wrap:!0,justify:"center",className:"mx-auto",children:e&&o("div",{className:"mb-2 text-xs md:mb-0 md:w-1/2 lg:text-base",children:o(m,{value:e,components:n,onMissingComponent:!1})})})]})})}export{s as a};
@@ -0,0 +1 @@
1
+ import{a as f}from"./chunk-3E7L5HFT.mjs";import{a as u}from"./chunk-O4GIIQJP.mjs";import{a as C}from"./chunk-5UXS6XWN.mjs";import{jsx as b}from"react/jsx-runtime";var T={variant_a:f,variant_b:u,variant_c:C},v="TextComponent",P=({data:o})=>{var r,i,t,s,m,l,p,c;let n=o==null?void 0:o.variant,e=n&&T[n],x={heading:(i=(r=o==null?void 0:o.variants)==null?void 0:r.title)!=null?i:void 0,firstColumn:(s=(t=o==null?void 0:o.variants)==null?void 0:t.firstColumn)!=null?s:void 0,secondColumn:(l=(m=o==null?void 0:o.variants)==null?void 0:m.secondColumn)!=null?l:void 0,thirdColumn:(c=(p=o==null?void 0:o.variants)==null?void 0:p.thirdColumn)!=null?c:void 0};return e?b(e,{...x}):null};P.displayName=v;export{P as a};
@@ -0,0 +1 @@
1
+ import{a as t}from"./chunk-CBIPJS7L.mjs";import{PortableText as n}from"@portabletext/react";import{Container as l}from"@stackshift-ui/container";import{Flex as x}from"@stackshift-ui/flex";import{Heading as r}from"@stackshift-ui/heading";import{Section as p}from"@stackshift-ui/section";import{jsx as e,jsxs as m}from"react/jsx-runtime";function g({heading:o,firstColumn:a,secondColumn:i,thirdColumn:s}){return e(p,{className:"py-20 bg-background",children:m(l,{className:"container px-4 mx-auto",maxWidth:1280,children:[o&&e(r,{fontSize:"xl",className:"w-full mb-5 text-center",children:o}),m(x,{wrap:!0,justify:"center",className:"mx-auto",children:[a&&e("div",{className:"px-3 mb-6 text-xs leading-relaxed text-justify text-gray-500 md:mb-0 lg:w-1/3 lg:text-base",children:e(n,{value:a,components:t,onMissingComponent:!1})}),i&&e("div",{className:"px-3 mb-6 text-xs leading-relaxed text-justify text-gray-500 md:mb-0 lg:w-1/3 lg:text-base",children:e(n,{value:i,components:t,onMissingComponent:!1})}),s&&e("div",{className:"px-3 mb-6 text-xs leading-relaxed text-justify text-gray-500 md:mb-0 lg:w-1/3 lg:text-base",children:e(n,{value:s,components:t,onMissingComponent:!1})})]})]})})}export{g as a};
@@ -0,0 +1 @@
1
+ import{jsx as t,jsxs as a}from"react/jsx-runtime";var o={block:{h1:({children:e})=>t("h1",{className:"mb-6 leading-loose text-gray-900 text-7xl",children:e}),h2:({children:e})=>t("h2",{className:"mb-6 text-5xl leading-loose text-gray-900",children:e}),h3:({children:e})=>t("h3",{className:"mb-6 text-3xl leading-loose text-gray-900",children:e}),h4:({children:e})=>t("h4",{className:"mb-6 text-xl leading-loose text-gray-900",children:e}),normal:({children:e})=>t("p",{className:"mb-5 leading-relaxed text-justify text-gray-900",children:e}),blockquote:({children:e})=>a("blockquote",{className:"mb-6 italic leading-loose text-gray-500 px-14",children:["- ",e]})},code:({value:e})=>t("pre",{"data-language":e.language,children:t("code",{children:e.code})}),list:{bullet:({children:e})=>t("ul",{className:"pl-10 mb-6 leading-loose text-gray-900 list-disc",children:e}),number:({children:e})=>t("ol",{className:"mb-6 leading-loose text-gray-900 list-decimal",children:e})},listItem:{bullet:({children:e})=>t("li",{className:"mb-6 leading-loose text-gray-900",children:e})},marks:{strong:({children:e})=>t("strong",{children:e}),em:({children:e})=>t("em",{children:e}),code:({children:e})=>t("code",{children:e}),link:({children:e,value:l})=>{var r;return t("a",{"aria-label":(r=l.href)!=null?r:"external link",className:"text-primary hover:text-secondary",href:l==null?void 0:l.href,target:"_blank",rel:"noopener noreferrer",children:e})}}};export{o as a};
@@ -0,0 +1 @@
1
+ import{a as e}from"./chunk-CBIPJS7L.mjs";import{PortableText as m}from"@portabletext/react";import{Container as r}from"@stackshift-ui/container";import{Flex as l}from"@stackshift-ui/flex";import{Heading as x}from"@stackshift-ui/heading";import{Section as s}from"@stackshift-ui/section";import{jsx as t,jsxs as i}from"react/jsx-runtime";function p({heading:o,firstColumn:n,secondColumn:a}){return t(s,{className:"py-20 bg-background",children:i(r,{maxWidth:1280,children:[o&&t(x,{fontSize:"xl",className:"w-full mb-4 text-center",children:o}),i(l,{wrap:!0,justify:"center",className:"mx-auto ",children:[n&&t("div",{className:"px-5 mb-3 text-xs leading-relaxed text-justify text-gray-500 lg:mb-6 lg:w-1/2 lg:text-base",children:t(m,{value:n,components:e})}),a&&t("div",{className:"px-5 mb-6 text-xs leading-relaxed text-justify text-gray-500 md:mb-0 lg:w-1/2 lg:text-base",children:t(m,{value:a,components:e,onMissingComponent:!1})})]})]})})}export{p as a};
@@ -0,0 +1,2 @@
1
+ import { MyPortableTextComponents } from "../types";
2
+ export declare const textComponentBlockStyling: MyPortableTextComponents;
@@ -0,0 +1 @@
1
+ "use strict";var o=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var c=(e,l)=>{for(var r in l)o(e,r,{get:l[r],enumerable:!0})},x=(e,l,r,s)=>{if(l&&typeof l=="object"||typeof l=="function")for(let a of m(l))!g.call(e,a)&&a!==r&&o(e,a,{get:()=>l[a],enumerable:!(s=n(l,a))||s.enumerable});return e};var i=e=>x(o({},"__esModule",{value:!0}),e);var b={};c(b,{textComponentBlockStyling:()=>d});module.exports=i(b);var t=require("react/jsx-runtime"),d={block:{h1:({children:e})=>(0,t.jsx)("h1",{className:"mb-6 leading-loose text-gray-900 text-7xl",children:e}),h2:({children:e})=>(0,t.jsx)("h2",{className:"mb-6 text-5xl leading-loose text-gray-900",children:e}),h3:({children:e})=>(0,t.jsx)("h3",{className:"mb-6 text-3xl leading-loose text-gray-900",children:e}),h4:({children:e})=>(0,t.jsx)("h4",{className:"mb-6 text-xl leading-loose text-gray-900",children:e}),normal:({children:e})=>(0,t.jsx)("p",{className:"mb-5 leading-relaxed text-justify text-gray-900",children:e}),blockquote:({children:e})=>(0,t.jsxs)("blockquote",{className:"mb-6 italic leading-loose text-gray-500 px-14",children:["- ",e]})},code:({value:e})=>(0,t.jsx)("pre",{"data-language":e.language,children:(0,t.jsx)("code",{children:e.code})}),list:{bullet:({children:e})=>(0,t.jsx)("ul",{className:"pl-10 mb-6 leading-loose text-gray-900 list-disc",children:e}),number:({children:e})=>(0,t.jsx)("ol",{className:"mb-6 leading-loose text-gray-900 list-decimal",children:e})},listItem:{bullet:({children:e})=>(0,t.jsx)("li",{className:"mb-6 leading-loose text-gray-900",children:e})},marks:{strong:({children:e})=>(0,t.jsx)("strong",{children:e}),em:({children:e})=>(0,t.jsx)("em",{children:e}),code:({children:e})=>(0,t.jsx)("code",{children:e}),link:({children:e,value:l})=>{var r;return(0,t.jsx)("a",{"aria-label":(r=l.href)!=null?r:"external link",className:"text-primary hover:text-secondary",href:l==null?void 0:l.href,target:"_blank",rel:"noopener noreferrer",children:e})}}};0&&(module.exports={textComponentBlockStyling});
@@ -0,0 +1 @@
1
+ import{a}from"../chunk-CBIPJS7L.mjs";export{a as textComponentBlockStyling};
@@ -0,0 +1,4 @@
1
+ export * from "./text-component";
2
+ export * from "./text_a";
3
+ export * from "./text_b";
4
+ export * from "./text_c";
package/dist/index.js ADDED
@@ -0,0 +1,2 @@
1
+ "use client";
2
+ "use strict";var f=Object.defineProperty;var W=Object.getOwnPropertyDescriptor;var A=Object.getOwnPropertyNames;var R=Object.prototype.hasOwnProperty;var I=(e,t)=>{for(var n in t)f(e,n,{get:t[n],enumerable:!0})},E=(e,t,n,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of A(t))!R.call(e,i)&&i!==n&&f(e,i,{get:()=>t[i],enumerable:!(a=W(t,i))||a.enumerable});return e};var G=e=>E(f({},"__esModule",{value:!0}),e);var L={};I(L,{TextComponent:()=>z,TextComponent_A:()=>x,TextComponent_B:()=>p,TextComponent_C:()=>g});module.exports=G(L);var T=require("@portabletext/react"),v=require("@stackshift-ui/container"),w=require("@stackshift-ui/flex"),P=require("@stackshift-ui/heading"),S=require("@stackshift-ui/section");var o=require("react/jsx-runtime"),m={block:{h1:({children:e})=>(0,o.jsx)("h1",{className:"mb-6 leading-loose text-gray-900 text-7xl",children:e}),h2:({children:e})=>(0,o.jsx)("h2",{className:"mb-6 text-5xl leading-loose text-gray-900",children:e}),h3:({children:e})=>(0,o.jsx)("h3",{className:"mb-6 text-3xl leading-loose text-gray-900",children:e}),h4:({children:e})=>(0,o.jsx)("h4",{className:"mb-6 text-xl leading-loose text-gray-900",children:e}),normal:({children:e})=>(0,o.jsx)("p",{className:"mb-5 leading-relaxed text-justify text-gray-900",children:e}),blockquote:({children:e})=>(0,o.jsxs)("blockquote",{className:"mb-6 italic leading-loose text-gray-500 px-14",children:["- ",e]})},code:({value:e})=>(0,o.jsx)("pre",{"data-language":e.language,children:(0,o.jsx)("code",{children:e.code})}),list:{bullet:({children:e})=>(0,o.jsx)("ul",{className:"pl-10 mb-6 leading-loose text-gray-900 list-disc",children:e}),number:({children:e})=>(0,o.jsx)("ol",{className:"mb-6 leading-loose text-gray-900 list-decimal",children:e})},listItem:{bullet:({children:e})=>(0,o.jsx)("li",{className:"mb-6 leading-loose text-gray-900",children:e})},marks:{strong:({children:e})=>(0,o.jsx)("strong",{children:e}),em:({children:e})=>(0,o.jsx)("em",{children:e}),code:({children:e})=>(0,o.jsx)("code",{children:e}),link:({children:e,value:t})=>{var n;return(0,o.jsx)("a",{"aria-label":(n=t.href)!=null?n:"external link",className:"text-primary hover:text-secondary",href:t==null?void 0:t.href,target:"_blank",rel:"noopener noreferrer",children:e})}}};function x({heading:e,firstColumn:t}){return(0,o.jsx)(S.Section,{className:"py-20 bg-background",children:(0,o.jsxs)(v.Container,{maxWidth:1280,children:[e&&(0,o.jsx)(P.Heading,{fontSize:"xl",className:"mb-5 text-center",children:e}),(0,o.jsx)(w.Flex,{wrap:!0,justify:"center",className:"mx-auto",children:t&&(0,o.jsx)("div",{className:"mb-2 text-xs md:mb-0 md:w-1/2 lg:text-base",children:(0,o.jsx)(T.PortableText,{value:t,components:m,onMissingComponent:!1})})})]})})}function p({heading:e,firstColumn:t,secondColumn:n}){return(0,o.jsx)(S.Section,{className:"py-20 bg-background",children:(0,o.jsxs)(v.Container,{maxWidth:1280,children:[e&&(0,o.jsx)(P.Heading,{fontSize:"xl",className:"w-full mb-4 text-center",children:e}),(0,o.jsxs)(w.Flex,{wrap:!0,justify:"center",className:"mx-auto ",children:[t&&(0,o.jsx)("div",{className:"px-5 mb-3 text-xs leading-relaxed text-justify text-gray-500 lg:mb-6 lg:w-1/2 lg:text-base",children:(0,o.jsx)(T.PortableText,{value:t,components:m})}),n&&(0,o.jsx)("div",{className:"px-5 mb-6 text-xs leading-relaxed text-justify text-gray-500 md:mb-0 lg:w-1/2 lg:text-base",children:(0,o.jsx)(T.PortableText,{value:n,components:m,onMissingComponent:!1})})]})]})})}function g({heading:e,firstColumn:t,secondColumn:n,thirdColumn:a}){return(0,o.jsx)(S.Section,{className:"py-20 bg-background",children:(0,o.jsxs)(v.Container,{className:"container px-4 mx-auto",maxWidth:1280,children:[e&&(0,o.jsx)(P.Heading,{fontSize:"xl",className:"w-full mb-5 text-center",children:e}),(0,o.jsxs)(w.Flex,{wrap:!0,justify:"center",className:"mx-auto",children:[t&&(0,o.jsx)("div",{className:"px-3 mb-6 text-xs leading-relaxed text-justify text-gray-500 md:mb-0 lg:w-1/3 lg:text-base",children:(0,o.jsx)(T.PortableText,{value:t,components:m,onMissingComponent:!1})}),n&&(0,o.jsx)("div",{className:"px-3 mb-6 text-xs leading-relaxed text-justify text-gray-500 md:mb-0 lg:w-1/3 lg:text-base",children:(0,o.jsx)(T.PortableText,{value:n,components:m,onMissingComponent:!1})}),a&&(0,o.jsx)("div",{className:"px-3 mb-6 text-xs leading-relaxed text-justify text-gray-500 md:mb-0 lg:w-1/3 lg:text-base",children:(0,o.jsx)(T.PortableText,{value:a,components:m,onMissingComponent:!1})})]})]})})}var J={variant_a:x,variant_b:p,variant_c:g},K="TextComponent",z=({data:e})=>{var i,d,u,y,C,N,h,k;let t=e==null?void 0:e.variant,n=t&&J[t],a={heading:(d=(i=e==null?void 0:e.variants)==null?void 0:i.title)!=null?d:void 0,firstColumn:(y=(u=e==null?void 0:e.variants)==null?void 0:u.firstColumn)!=null?y:void 0,secondColumn:(N=(C=e==null?void 0:e.variants)==null?void 0:C.secondColumn)!=null?N:void 0,thirdColumn:(k=(h=e==null?void 0:e.variants)==null?void 0:h.thirdColumn)!=null?k:void 0};return n?(0,o.jsx)(n,{...a}):null};z.displayName=K;0&&(module.exports={TextComponent,TextComponent_A,TextComponent_B,TextComponent_C});
package/dist/index.mjs ADDED
@@ -0,0 +1,2 @@
1
+ "use client";
2
+ "use strict";import{a as t}from"./chunk-43JWG5VD.mjs";import{a as o}from"./chunk-3E7L5HFT.mjs";import{a as r}from"./chunk-O4GIIQJP.mjs";import{a as e}from"./chunk-5UXS6XWN.mjs";import"./chunk-CBIPJS7L.mjs";export{t as TextComponent,o as TextComponent_A,r as TextComponent_B,e as TextComponent_C};
@@ -0,0 +1,10 @@
1
+ import { PortableTextBlock } from "@portabletext/types";
2
+ import React from "react";
3
+ import { SectionsProps } from "./types";
4
+ export interface TextComponentProps {
5
+ heading?: string;
6
+ firstColumn?: PortableTextBlock[];
7
+ secondColumn?: PortableTextBlock[];
8
+ thirdColumn?: PortableTextBlock[];
9
+ }
10
+ export declare const TextComponent: React.FC<SectionsProps>;
@@ -0,0 +1 @@
1
+ "use strict";var p=Object.defineProperty;var W=Object.getOwnPropertyDescriptor;var A=Object.getOwnPropertyNames;var R=Object.prototype.hasOwnProperty;var I=(e,t)=>{for(var n in t)p(e,n,{get:t[n],enumerable:!0})},E=(e,t,n,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let m of A(t))!R.call(e,m)&&m!==n&&p(e,m,{get:()=>t[m],enumerable:!(a=W(t,m))||a.enumerable});return e};var G=e=>E(p({},"__esModule",{value:!0}),e);var L={};I(L,{TextComponent:()=>z});module.exports=G(L);var T=require("@portabletext/react"),v=require("@stackshift-ui/container"),w=require("@stackshift-ui/flex"),P=require("@stackshift-ui/heading"),S=require("@stackshift-ui/section");var o=require("react/jsx-runtime"),i={block:{h1:({children:e})=>(0,o.jsx)("h1",{className:"mb-6 leading-loose text-gray-900 text-7xl",children:e}),h2:({children:e})=>(0,o.jsx)("h2",{className:"mb-6 text-5xl leading-loose text-gray-900",children:e}),h3:({children:e})=>(0,o.jsx)("h3",{className:"mb-6 text-3xl leading-loose text-gray-900",children:e}),h4:({children:e})=>(0,o.jsx)("h4",{className:"mb-6 text-xl leading-loose text-gray-900",children:e}),normal:({children:e})=>(0,o.jsx)("p",{className:"mb-5 leading-relaxed text-justify text-gray-900",children:e}),blockquote:({children:e})=>(0,o.jsxs)("blockquote",{className:"mb-6 italic leading-loose text-gray-500 px-14",children:["- ",e]})},code:({value:e})=>(0,o.jsx)("pre",{"data-language":e.language,children:(0,o.jsx)("code",{children:e.code})}),list:{bullet:({children:e})=>(0,o.jsx)("ul",{className:"pl-10 mb-6 leading-loose text-gray-900 list-disc",children:e}),number:({children:e})=>(0,o.jsx)("ol",{className:"mb-6 leading-loose text-gray-900 list-decimal",children:e})},listItem:{bullet:({children:e})=>(0,o.jsx)("li",{className:"mb-6 leading-loose text-gray-900",children:e})},marks:{strong:({children:e})=>(0,o.jsx)("strong",{children:e}),em:({children:e})=>(0,o.jsx)("em",{children:e}),code:({children:e})=>(0,o.jsx)("code",{children:e}),link:({children:e,value:t})=>{var n;return(0,o.jsx)("a",{"aria-label":(n=t.href)!=null?n:"external link",className:"text-primary hover:text-secondary",href:t==null?void 0:t.href,target:"_blank",rel:"noopener noreferrer",children:e})}}};function g({heading:e,firstColumn:t}){return(0,o.jsx)(S.Section,{className:"py-20 bg-background",children:(0,o.jsxs)(v.Container,{maxWidth:1280,children:[e&&(0,o.jsx)(P.Heading,{fontSize:"xl",className:"mb-5 text-center",children:e}),(0,o.jsx)(w.Flex,{wrap:!0,justify:"center",className:"mx-auto",children:t&&(0,o.jsx)("div",{className:"mb-2 text-xs md:mb-0 md:w-1/2 lg:text-base",children:(0,o.jsx)(T.PortableText,{value:t,components:i,onMissingComponent:!1})})})]})})}function f({heading:e,firstColumn:t,secondColumn:n}){return(0,o.jsx)(S.Section,{className:"py-20 bg-background",children:(0,o.jsxs)(v.Container,{maxWidth:1280,children:[e&&(0,o.jsx)(P.Heading,{fontSize:"xl",className:"w-full mb-4 text-center",children:e}),(0,o.jsxs)(w.Flex,{wrap:!0,justify:"center",className:"mx-auto ",children:[t&&(0,o.jsx)("div",{className:"px-5 mb-3 text-xs leading-relaxed text-justify text-gray-500 lg:mb-6 lg:w-1/2 lg:text-base",children:(0,o.jsx)(T.PortableText,{value:t,components:i})}),n&&(0,o.jsx)("div",{className:"px-5 mb-6 text-xs leading-relaxed text-justify text-gray-500 md:mb-0 lg:w-1/2 lg:text-base",children:(0,o.jsx)(T.PortableText,{value:n,components:i,onMissingComponent:!1})})]})]})})}function b({heading:e,firstColumn:t,secondColumn:n,thirdColumn:a}){return(0,o.jsx)(S.Section,{className:"py-20 bg-background",children:(0,o.jsxs)(v.Container,{className:"container px-4 mx-auto",maxWidth:1280,children:[e&&(0,o.jsx)(P.Heading,{fontSize:"xl",className:"w-full mb-5 text-center",children:e}),(0,o.jsxs)(w.Flex,{wrap:!0,justify:"center",className:"mx-auto",children:[t&&(0,o.jsx)("div",{className:"px-3 mb-6 text-xs leading-relaxed text-justify text-gray-500 md:mb-0 lg:w-1/3 lg:text-base",children:(0,o.jsx)(T.PortableText,{value:t,components:i,onMissingComponent:!1})}),n&&(0,o.jsx)("div",{className:"px-3 mb-6 text-xs leading-relaxed text-justify text-gray-500 md:mb-0 lg:w-1/3 lg:text-base",children:(0,o.jsx)(T.PortableText,{value:n,components:i,onMissingComponent:!1})}),a&&(0,o.jsx)("div",{className:"px-3 mb-6 text-xs leading-relaxed text-justify text-gray-500 md:mb-0 lg:w-1/3 lg:text-base",children:(0,o.jsx)(T.PortableText,{value:a,components:i,onMissingComponent:!1})})]})]})})}var J={variant_a:g,variant_b:f,variant_c:b},K="TextComponent",z=({data:e})=>{var m,d,u,y,C,N,h,k;let t=e==null?void 0:e.variant,n=t&&J[t],a={heading:(d=(m=e==null?void 0:e.variants)==null?void 0:m.title)!=null?d:void 0,firstColumn:(y=(u=e==null?void 0:e.variants)==null?void 0:u.firstColumn)!=null?y:void 0,secondColumn:(N=(C=e==null?void 0:e.variants)==null?void 0:C.secondColumn)!=null?N:void 0,thirdColumn:(k=(h=e==null?void 0:e.variants)==null?void 0:h.thirdColumn)!=null?k:void 0};return n?(0,o.jsx)(n,{...a}):null};z.displayName=K;0&&(module.exports={TextComponent});
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-43JWG5VD.mjs";import"./chunk-3E7L5HFT.mjs";import"./chunk-O4GIIQJP.mjs";import"./chunk-5UXS6XWN.mjs";import"./chunk-CBIPJS7L.mjs";export{a as TextComponent};
@@ -0,0 +1,3 @@
1
+ import { TextComponentProps } from ".";
2
+ export default function TextComponent_A({ heading, firstColumn }: TextComponentProps): import("react/jsx-runtime").JSX.Element;
3
+ export { TextComponent_A };
package/dist/text_a.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";var n=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var y=Object.prototype.hasOwnProperty;var f=(e,t)=>{for(var a in t)n(e,a,{get:t[a],enumerable:!0})},h=(e,t,a,m)=>{if(t&&typeof t=="object"||typeof t=="function")for(let l of u(t))!y.call(e,l)&&l!==a&&n(e,l,{get:()=>t[l],enumerable:!(m=b(t,l))||m.enumerable});return e};var N=e=>h(n({},"__esModule",{value:!0}),e);var k={};f(k,{TextComponent_A:()=>d,default:()=>d});module.exports=N(k);var i=require("@portabletext/react"),x=require("@stackshift-ui/container"),c=require("@stackshift-ui/flex"),g=require("@stackshift-ui/heading"),p=require("@stackshift-ui/section");var o=require("react/jsx-runtime"),s={block:{h1:({children:e})=>(0,o.jsx)("h1",{className:"mb-6 leading-loose text-gray-900 text-7xl",children:e}),h2:({children:e})=>(0,o.jsx)("h2",{className:"mb-6 text-5xl leading-loose text-gray-900",children:e}),h3:({children:e})=>(0,o.jsx)("h3",{className:"mb-6 text-3xl leading-loose text-gray-900",children:e}),h4:({children:e})=>(0,o.jsx)("h4",{className:"mb-6 text-xl leading-loose text-gray-900",children:e}),normal:({children:e})=>(0,o.jsx)("p",{className:"mb-5 leading-relaxed text-justify text-gray-900",children:e}),blockquote:({children:e})=>(0,o.jsxs)("blockquote",{className:"mb-6 italic leading-loose text-gray-500 px-14",children:["- ",e]})},code:({value:e})=>(0,o.jsx)("pre",{"data-language":e.language,children:(0,o.jsx)("code",{children:e.code})}),list:{bullet:({children:e})=>(0,o.jsx)("ul",{className:"pl-10 mb-6 leading-loose text-gray-900 list-disc",children:e}),number:({children:e})=>(0,o.jsx)("ol",{className:"mb-6 leading-loose text-gray-900 list-decimal",children:e})},listItem:{bullet:({children:e})=>(0,o.jsx)("li",{className:"mb-6 leading-loose text-gray-900",children:e})},marks:{strong:({children:e})=>(0,o.jsx)("strong",{children:e}),em:({children:e})=>(0,o.jsx)("em",{children:e}),code:({children:e})=>(0,o.jsx)("code",{children:e}),link:({children:e,value:t})=>{var a;return(0,o.jsx)("a",{"aria-label":(a=t.href)!=null?a:"external link",className:"text-primary hover:text-secondary",href:t==null?void 0:t.href,target:"_blank",rel:"noopener noreferrer",children:e})}}};function d({heading:e,firstColumn:t}){return(0,o.jsx)(p.Section,{className:"py-20 bg-background",children:(0,o.jsxs)(x.Container,{maxWidth:1280,children:[e&&(0,o.jsx)(g.Heading,{fontSize:"xl",className:"mb-5 text-center",children:e}),(0,o.jsx)(c.Flex,{wrap:!0,justify:"center",className:"mx-auto",children:t&&(0,o.jsx)("div",{className:"mb-2 text-xs md:mb-0 md:w-1/2 lg:text-base",children:(0,o.jsx)(i.PortableText,{value:t,components:s,onMissingComponent:!1})})})]})})}0&&(module.exports={TextComponent_A});
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-3E7L5HFT.mjs";import"./chunk-CBIPJS7L.mjs";export{a as TextComponent_A,a as default};
@@ -0,0 +1,3 @@
1
+ import { TextComponentProps } from ".";
2
+ export default function TextComponent_B({ heading, firstColumn, secondColumn, }: TextComponentProps): import("react/jsx-runtime").JSX.Element;
3
+ export { TextComponent_B };
package/dist/text_b.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";var n=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var y=Object.getOwnPropertyNames;var u=Object.prototype.hasOwnProperty;var f=(e,t)=>{for(var l in t)n(e,l,{get:t[l],enumerable:!0})},h=(e,t,l,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of y(t))!u.call(e,r)&&r!==l&&n(e,r,{get:()=>t[r],enumerable:!(i=b(t,r))||i.enumerable});return e};var N=e=>h(n({},"__esModule",{value:!0}),e);var k={};f(k,{TextComponent_B:()=>d,default:()=>d});module.exports=N(k);var m=require("@portabletext/react"),x=require("@stackshift-ui/container"),g=require("@stackshift-ui/flex"),c=require("@stackshift-ui/heading"),p=require("@stackshift-ui/section");var o=require("react/jsx-runtime"),s={block:{h1:({children:e})=>(0,o.jsx)("h1",{className:"mb-6 leading-loose text-gray-900 text-7xl",children:e}),h2:({children:e})=>(0,o.jsx)("h2",{className:"mb-6 text-5xl leading-loose text-gray-900",children:e}),h3:({children:e})=>(0,o.jsx)("h3",{className:"mb-6 text-3xl leading-loose text-gray-900",children:e}),h4:({children:e})=>(0,o.jsx)("h4",{className:"mb-6 text-xl leading-loose text-gray-900",children:e}),normal:({children:e})=>(0,o.jsx)("p",{className:"mb-5 leading-relaxed text-justify text-gray-900",children:e}),blockquote:({children:e})=>(0,o.jsxs)("blockquote",{className:"mb-6 italic leading-loose text-gray-500 px-14",children:["- ",e]})},code:({value:e})=>(0,o.jsx)("pre",{"data-language":e.language,children:(0,o.jsx)("code",{children:e.code})}),list:{bullet:({children:e})=>(0,o.jsx)("ul",{className:"pl-10 mb-6 leading-loose text-gray-900 list-disc",children:e}),number:({children:e})=>(0,o.jsx)("ol",{className:"mb-6 leading-loose text-gray-900 list-decimal",children:e})},listItem:{bullet:({children:e})=>(0,o.jsx)("li",{className:"mb-6 leading-loose text-gray-900",children:e})},marks:{strong:({children:e})=>(0,o.jsx)("strong",{children:e}),em:({children:e})=>(0,o.jsx)("em",{children:e}),code:({children:e})=>(0,o.jsx)("code",{children:e}),link:({children:e,value:t})=>{var l;return(0,o.jsx)("o",{"aria-label":(l=t.href)!=null?l:"external link",className:"text-primary hover:text-secondary",href:t==null?void 0:t.href,target:"_blank",rel:"noopener noreferrer",children:e})}}};function d({heading:e,firstColumn:t,secondColumn:l}){return(0,o.jsx)(p.Section,{className:"py-20 bg-background",children:(0,o.jsxs)(x.Container,{maxWidth:1280,children:[e&&(0,o.jsx)(c.Heading,{fontSize:"xl",className:"w-full mb-4 text-center",children:e}),(0,o.jsxs)(g.Flex,{wrap:!0,justify:"center",className:"mx-auto ",children:[t&&(0,o.jsx)("div",{className:"px-5 mb-3 text-xs leading-relaxed text-justify text-gray-500 lg:mb-6 lg:w-1/2 lg:text-base",children:(0,o.jsx)(m.PortableText,{value:t,components:s})}),l&&(0,o.jsx)("div",{className:"px-5 mb-6 text-xs leading-relaxed text-justify text-gray-500 md:mb-0 lg:w-1/2 lg:text-base",children:(0,o.jsx)(m.PortableText,{value:l,components:s,onMissingComponent:!1})})]})]})})}0&&(module.exports={TextComponent_B});
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-O4GIIQJP.mjs";import"./chunk-CBIPJS7L.mjs";export{a as TextComponent_B,a as default};
@@ -0,0 +1,3 @@
1
+ import { TextComponentProps } from ".";
2
+ export default function TextComponent_C({ heading, firstColumn, secondColumn, thirdColumn, }: TextComponentProps): import("react/jsx-runtime").JSX.Element;
3
+ export { TextComponent_C };
package/dist/text_c.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";var i=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var y=Object.getOwnPropertyNames;var u=Object.prototype.hasOwnProperty;var f=(e,t)=>{for(var n in t)i(e,n,{get:t[n],enumerable:!0})},h=(e,t,n,l)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of y(t))!u.call(e,r)&&r!==n&&i(e,r,{get:()=>t[r],enumerable:!(l=b(t,r))||l.enumerable});return e};var N=e=>h(i({},"__esModule",{value:!0}),e);var k={};f(k,{TextComponent_C:()=>d,default:()=>d});module.exports=N(k);var m=require("@portabletext/react"),x=require("@stackshift-ui/container"),g=require("@stackshift-ui/flex"),p=require("@stackshift-ui/heading"),c=require("@stackshift-ui/section");var o=require("react/jsx-runtime"),s={block:{h1:({children:e})=>(0,o.jsx)("h1",{className:"mb-6 leading-loose text-gray-900 text-7xl",children:e}),h2:({children:e})=>(0,o.jsx)("h2",{className:"mb-6 text-5xl leading-loose text-gray-900",children:e}),h3:({children:e})=>(0,o.jsx)("h3",{className:"mb-6 text-3xl leading-loose text-gray-900",children:e}),h4:({children:e})=>(0,o.jsx)("h4",{className:"mb-6 text-xl leading-loose text-gray-900",children:e}),normal:({children:e})=>(0,o.jsx)("p",{className:"mb-5 leading-relaxed text-justify text-gray-900",children:e}),blockquote:({children:e})=>(0,o.jsxs)("blockquote",{className:"mb-6 italic leading-loose text-gray-500 px-14",children:["- ",e]})},code:({value:e})=>(0,o.jsx)("pre",{"data-language":e.language,children:(0,o.jsx)("code",{children:e.code})}),list:{bullet:({children:e})=>(0,o.jsx)("ul",{className:"pl-10 mb-6 leading-loose text-gray-900 list-disc",children:e}),number:({children:e})=>(0,o.jsx)("ol",{className:"mb-6 leading-loose text-gray-900 list-decimal",children:e})},listItem:{bullet:({children:e})=>(0,o.jsx)("li",{className:"mb-6 leading-loose text-gray-900",children:e})},marks:{strong:({children:e})=>(0,o.jsx)("strong",{children:e}),em:({children:e})=>(0,o.jsx)("em",{children:e}),code:({children:e})=>(0,o.jsx)("code",{children:e}),link:({children:e,value:t})=>{var n;return(0,o.jsx)("o",{"aria-label":(n=t.href)!=null?n:"external link",className:"text-primary hover:text-secondary",href:t==null?void 0:t.href,target:"_blank",rel:"noopener noreferrer",children:e})}}};function d({heading:e,firstColumn:t,secondColumn:n,thirdColumn:l}){return(0,o.jsx)(c.Section,{className:"py-20 bg-background",children:(0,o.jsxs)(x.Container,{className:"container px-4 mx-auto",maxWidth:1280,children:[e&&(0,o.jsx)(p.Heading,{fontSize:"xl",className:"w-full mb-5 text-center",children:e}),(0,o.jsxs)(g.Flex,{wrap:!0,justify:"center",className:"mx-auto",children:[t&&(0,o.jsx)("div",{className:"px-3 mb-6 text-xs leading-relaxed text-justify text-gray-500 md:mb-0 lg:w-1/3 lg:text-base",children:(0,o.jsx)(m.PortableText,{value:t,components:s,onMissingComponent:!1})}),n&&(0,o.jsx)("div",{className:"px-3 mb-6 text-xs leading-relaxed text-justify text-gray-500 md:mb-0 lg:w-1/3 lg:text-base",children:(0,o.jsx)(m.PortableText,{value:n,components:s,onMissingComponent:!1})}),l&&(0,o.jsx)("div",{className:"px-3 mb-6 text-xs leading-relaxed text-justify text-gray-500 md:mb-0 lg:w-1/3 lg:text-base",children:(0,o.jsx)(m.PortableText,{value:l,components:s,onMissingComponent:!1})})]})]})})}0&&(module.exports={TextComponent_C});
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-5UXS6XWN.mjs";import"./chunk-CBIPJS7L.mjs";export{a as TextComponent_C,a as default};
@@ -0,0 +1,375 @@
1
+ import { PortableTextComponents } from "@portabletext/react";
2
+ import { PortableTextBlock } from "@portabletext/types";
3
+ export type StyleVariants<T extends string> = Record<T, string>;
4
+ export type Socials = "facebook" | "instagram" | "youtube" | "linkedin" | "twitter";
5
+ export interface MainImage {
6
+ image: string;
7
+ alt?: string;
8
+ }
9
+ export interface LabeledRoute extends ConditionalLink {
10
+ ariaLabel?: string;
11
+ label?: string;
12
+ linkTarget?: string;
13
+ linkType?: string;
14
+ _type?: string;
15
+ linkInternal?: any;
16
+ }
17
+ export interface ConditionalLink {
18
+ type?: string;
19
+ internalLink?: string | null;
20
+ externalLink?: string | null;
21
+ }
22
+ export interface StatItems {
23
+ label?: string;
24
+ mainImage?: MainImage;
25
+ value?: string;
26
+ _key?: string;
27
+ _type?: string;
28
+ }
29
+ export interface Logo extends ConditionalLink {
30
+ alt?: string;
31
+ linkTarget?: string;
32
+ image?: string;
33
+ }
34
+ export interface Images {
35
+ image?: string;
36
+ _key?: string;
37
+ _type?: string;
38
+ alt?: string;
39
+ }
40
+ export interface ContactDetails {
41
+ addressInfo?: string;
42
+ contactInfo?: string;
43
+ emailInfo?: string;
44
+ _key?: string;
45
+ }
46
+ export interface SocialLink {
47
+ socialMedia?: string | null;
48
+ socialMediaLink?: string | null;
49
+ _key?: string | null;
50
+ _type?: string | null;
51
+ socialMediaIcon?: {
52
+ alt?: string;
53
+ image?: string;
54
+ } | null;
55
+ socialMediaPlatform?: string | null;
56
+ }
57
+ export interface LabeledRouteWithKey extends LabeledRoute {
58
+ _key?: string;
59
+ }
60
+ export interface ArrayOfImageTitleAndText {
61
+ mainImage?: {
62
+ alt?: string;
63
+ image?: string;
64
+ };
65
+ plainText?: string;
66
+ title?: string;
67
+ _key?: string;
68
+ _type?: string;
69
+ }
70
+ export interface FeaturedItem {
71
+ description?: string;
72
+ mainImage?: MainImage;
73
+ title?: string;
74
+ subtitle?: string;
75
+ _key?: string;
76
+ _type?: string;
77
+ }
78
+ export interface ArrayOfTitleAndText {
79
+ _key?: string;
80
+ plainText?: string;
81
+ title?: string;
82
+ }
83
+ export interface BlogPost extends SanityBody {
84
+ authors?: Author[] | null;
85
+ body?: any;
86
+ categories?: Category[] | null;
87
+ excerpt?: string | null;
88
+ link?: string | null;
89
+ mainImage?: string | null;
90
+ publishedAt?: string;
91
+ seo?: Seo | null;
92
+ slug?: SanitySlug | null;
93
+ title?: string;
94
+ }
95
+ export interface Seo {
96
+ _type?: string;
97
+ seoTitle?: string;
98
+ seoDescription?: string;
99
+ seoImage?: string;
100
+ seoKeywords?: string;
101
+ seoSynonyms?: string;
102
+ }
103
+ export interface SanitySlug {
104
+ current?: string;
105
+ _type?: "slug";
106
+ }
107
+ export interface SanityBody {
108
+ _createdAt?: string;
109
+ _id?: string;
110
+ _rev?: string;
111
+ _type?: string;
112
+ _updatedAt?: string;
113
+ }
114
+ export interface Author extends SanityBody {
115
+ link?: string | null;
116
+ bio?: string | null;
117
+ name?: string | null;
118
+ slug?: SanitySlug | null;
119
+ image?: string | null;
120
+ profile?: {
121
+ alt: string;
122
+ image: string;
123
+ } | null;
124
+ }
125
+ export interface Category extends SanityBody {
126
+ title?: string;
127
+ }
128
+ export interface Form {
129
+ id?: string | null;
130
+ buttonLabel?: string | null;
131
+ name?: string | null;
132
+ subtitle?: string | null;
133
+ fields?: FormFields[] | null;
134
+ thankYouPage?: ThankYouPage | null;
135
+ }
136
+ export interface FormFields {
137
+ name?: string;
138
+ placeholder?: string;
139
+ pricingType?: string;
140
+ type?: FormTypes;
141
+ _key?: string;
142
+ _type?: string;
143
+ isRequired?: boolean;
144
+ label?: string;
145
+ items?: string[];
146
+ }
147
+ export type FormTypes = "inputText" | "inputEmail" | "inputPassword" | "inputNumber" | "textarea" | "inputFile" | "inputRadio" | "inputCheckbox" | "inputSelect";
148
+ export interface ThankYouPage {
149
+ externalLink?: string | null;
150
+ internalLink?: string | null;
151
+ linkInternal?: any;
152
+ linkTarget?: string;
153
+ linkType?: string;
154
+ type?: string;
155
+ }
156
+ export interface SectionsProps {
157
+ template?: Template;
158
+ data?: Sections;
159
+ variant?: string | null | undefined;
160
+ schema?: Variants;
161
+ }
162
+ export interface Sections extends SanityBody {
163
+ label?: string;
164
+ variant?: string;
165
+ variants?: Variants;
166
+ _key?: string;
167
+ }
168
+ export interface Variants {
169
+ template?: Template;
170
+ multipleMenus?: any;
171
+ arrayOfTitleAndText?: ArrayOfTitleAndText[] | null;
172
+ logo?: Logo | null;
173
+ primaryButton?: LabeledRoute | null;
174
+ secondaryButton?: LabeledRoute | null;
175
+ routes?: LabeledRouteWithKey[] | null;
176
+ menu?: LabeledRouteWithKey[] | null;
177
+ plans?: Plans[] | null;
178
+ formLinks?: LabeledRouteWithKey[] | null;
179
+ portfolios?: Portfolios[] | null;
180
+ portfoliosWithCategories?: PortfoliosWithCategories[] | null;
181
+ length?: number;
182
+ signInLink?: LabeledRoute | null;
183
+ signinLink?: LabeledRoute | null;
184
+ tags?: string[] | null;
185
+ posts?: BlogPost[] | null;
186
+ blogsPerPage?: number | null;
187
+ form?: Form | null;
188
+ collections?: Collection | null;
189
+ products?: CollectionProduct | null;
190
+ allProducts?: Collection[];
191
+ subtitle?: string | null;
192
+ caption?: string | null;
193
+ title?: string | null;
194
+ plainText?: string | null;
195
+ contactDescription?: string | null;
196
+ officeInformation?: string | null;
197
+ contactEmail?: string | null;
198
+ contactNumber?: string | null;
199
+ socialLinks?: SocialLink[] | null;
200
+ block?: any;
201
+ heading?: string | null;
202
+ acceptButtonLabel?: string | null;
203
+ declineButtonLabel?: string | null;
204
+ faqsWithCategories?: FaqsWithCategory[] | null;
205
+ faqs?: AskedQuestion[] | null;
206
+ arrayOfImageTitleAndText?: ArrayOfImageTitleAndText[] | null;
207
+ description?: string | null;
208
+ featuredItems?: FeaturedItem[] | null;
209
+ images?: Images[] | null;
210
+ contactDetails?: ContactDetails[] | null;
211
+ copyright?: string | null;
212
+ mainImage?: MainImage | null;
213
+ youtubeLink?: string | null;
214
+ banner?: any;
215
+ stats?: StatItems[] | null;
216
+ teams?: Team[] | null;
217
+ testimonials?: Testimonial[] | null;
218
+ firstColumn?: PortableTextBlock[];
219
+ secondColumn?: PortableTextBlock[];
220
+ thirdColumn?: PortableTextBlock[];
221
+ selectStripeAccount?: string;
222
+ annualBilling?: string;
223
+ monthlyBilling?: string;
224
+ productDetails?: ProductDetail[];
225
+ btnLabel?: string;
226
+ selectAccount?: string;
227
+ hashtags?: string[];
228
+ numberOfPosts?: number;
229
+ text?: string;
230
+ button?: LabeledRoute;
231
+ features?: string[];
232
+ config?: {
233
+ enableAnalytics: boolean;
234
+ cookiePolicy?: {
235
+ siteName: string;
236
+ cookiePolicyPage: Reference;
237
+ };
238
+ consentModalPosition?: string;
239
+ };
240
+ contactLink?: LabeledRoute;
241
+ }
242
+ export interface Template {
243
+ bg?: string;
244
+ color?: string;
245
+ }
246
+ export type Plans = {
247
+ _key?: string | null;
248
+ _type?: "planItems" | null;
249
+ checkoutButtonName?: string | null;
250
+ description?: string | null;
251
+ monthlyPrice?: string | null;
252
+ planType?: string | null;
253
+ yearlyPrice?: string | null;
254
+ planIncludes?: string[] | null;
255
+ primaryButton?: LabeledRoute | null;
256
+ } & Record<string, string>;
257
+ export interface Portfolios {
258
+ dateAdded?: string | null;
259
+ mainImage?: {
260
+ image?: string | null;
261
+ alt?: string | null;
262
+ } | null;
263
+ primaryButton?: LabeledRoute | null;
264
+ title?: string | null;
265
+ _key?: string | null;
266
+ _type?: string | null;
267
+ }
268
+ export interface PortfoliosWithCategories {
269
+ category?: string | null;
270
+ content?: Content[] | null;
271
+ primaryButton?: LabeledRoute | null;
272
+ _key?: string | null;
273
+ _type?: string | null;
274
+ }
275
+ export interface Content extends Portfolios {
276
+ description?: string | null;
277
+ subtitle?: string | null;
278
+ }
279
+ export interface Collection extends SanityBody {
280
+ collectionInfoVariant?: {
281
+ variant?: string;
282
+ } | null;
283
+ name?: string | null;
284
+ products?: CollectionProduct[] | null;
285
+ sections?: any;
286
+ seo?: Seo | null;
287
+ slug?: SanitySlug | null;
288
+ }
289
+ export interface CollectionProduct extends SanityBody {
290
+ compareToPrice?: number | null;
291
+ description?: string | null;
292
+ ecwidProductId?: number | null;
293
+ name?: string | null;
294
+ price?: number | null;
295
+ productInfo?: ProductInfo | null;
296
+ productInfoVariant?: {
297
+ variant?: string;
298
+ } | null;
299
+ sections?: any;
300
+ seo?: Seo | null;
301
+ slug?: SanitySlug | null;
302
+ }
303
+ interface ProductInfo {
304
+ btnLabel?: string | null;
305
+ images?: ProductInfoImage[] | null;
306
+ productDetails?: ProductDetail[] | null;
307
+ socialLinks?: SocialLink[] | null;
308
+ subtitle?: string | null;
309
+ }
310
+ export interface ProductDetail {
311
+ blockContent?: any;
312
+ contentType?: string;
313
+ tabName?: string;
314
+ _key?: string;
315
+ [key: string]: any;
316
+ }
317
+ interface ProductInfoImage {
318
+ alt?: string | null;
319
+ _key: string;
320
+ _type: string;
321
+ image?: string | null;
322
+ }
323
+ export interface FaqsWithCategory {
324
+ askedQuestions?: AskedQuestion[] | null;
325
+ category?: string | null;
326
+ _key?: string;
327
+ _type?: string;
328
+ }
329
+ export interface AskedQuestion {
330
+ answer?: string | null;
331
+ question?: string | null;
332
+ hidden?: boolean;
333
+ _key?: string;
334
+ _type?: string;
335
+ }
336
+ export interface Team {
337
+ jobTitle?: string;
338
+ mainImage?: MainImage;
339
+ name?: string;
340
+ plainText?: string;
341
+ _key?: string;
342
+ _type?: string;
343
+ }
344
+ export interface Testimonial {
345
+ jobTitle?: string;
346
+ mainImage?: MainImage;
347
+ name?: string;
348
+ rating?: string;
349
+ testimony?: string;
350
+ _key?: string;
351
+ _type?: string;
352
+ }
353
+ export declare interface Reference {
354
+ _type: string;
355
+ _ref: string;
356
+ _key?: string;
357
+ _weak?: boolean;
358
+ _strengthenOnPublish?: {
359
+ type: string;
360
+ weak?: boolean;
361
+ template?: {
362
+ id: string;
363
+ params: Record<string, string | number | boolean>;
364
+ };
365
+ };
366
+ }
367
+ export type MyPortableTextComponents = PortableTextComponents & {
368
+ code?: ({ value }: {
369
+ value: {
370
+ language?: string;
371
+ code?: string;
372
+ };
373
+ }) => JSX.Element;
374
+ };
375
+ export {};
package/dist/types.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";var l=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var s=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 s(t))!o.call(n,e)&&e!==r&&l(n,e,{get:()=>t[e],enumerable:!(i=a(t,e))||i.enumerable});return n};var u=n=>g(l({},"__esModule",{value:!0}),n);var c={};module.exports=u(c);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stackshift-ui/text-component",
3
3
  "description": "",
4
- "version": "7.0.0-beta.5",
4
+ "version": "7.0.0-beta.6",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "main": "./dist/index.js",
@@ -36,16 +36,16 @@
36
36
  "dependencies": {
37
37
  "@portabletext/react": "^3.1.0",
38
38
  "@portabletext/types": "^2.0.13",
39
- "@stackshift-ui/heading": "7.0.0-beta.5",
40
- "@stackshift-ui/scripts": "7.0.0-beta.4",
41
- "@stackshift-ui/section": "7.0.0-beta.5",
42
- "@stackshift-ui/system": "7.0.0-beta.5",
43
- "@stackshift-ui/flex": "7.0.0-beta.5",
44
- "@stackshift-ui/container": "7.0.0-beta.5"
39
+ "@stackshift-ui/flex": "7.0.0-beta.6",
40
+ "@stackshift-ui/heading": "7.0.0-beta.6",
41
+ "@stackshift-ui/container": "7.0.0-beta.6",
42
+ "@stackshift-ui/scripts": "7.0.0-beta.5",
43
+ "@stackshift-ui/section": "7.0.0-beta.6",
44
+ "@stackshift-ui/system": "7.0.0-beta.6"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "@types/react": "16.8 - 19",
48
- "@stackshift-ui/system": ">=7.0.0-beta.5",
48
+ "@stackshift-ui/system": ">=7.0.0-beta.6",
49
49
  "next": "10 - 14",
50
50
  "react": "16.8 - 19",
51
51
  "react-dom": "16.8 - 19"