@prosophia/lab-minimal 0.0.4 → 0.0.5
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/dist/index.d.mts +29 -7
- package/dist/index.d.ts +29 -7
- package/dist/index.js +120 -121
- package/dist/index.mjs +119 -121
- package/dist/layouts/index.js +40 -48
- package/dist/layouts/index.mjs +40 -48
- package/package.json +1 -1
- package/dist/index.css +0 -1060
- package/dist/layouts/index.css +0 -444
package/dist/index.d.mts
CHANGED
|
@@ -8,7 +8,7 @@ import { SanityClient } from 'next-sanity';
|
|
|
8
8
|
import { SanityImageSource } from '@sanity/image-url/lib/types/types';
|
|
9
9
|
import { Variants } from 'framer-motion';
|
|
10
10
|
|
|
11
|
-
type SiteSettings$
|
|
11
|
+
type SiteSettings$3 = {
|
|
12
12
|
labName?: string;
|
|
13
13
|
labNameAccent?: string;
|
|
14
14
|
footerText?: string;
|
|
@@ -19,13 +19,13 @@ type SiteSettings$2 = {
|
|
|
19
19
|
};
|
|
20
20
|
type ClientLayoutProps = {
|
|
21
21
|
children: React$1.ReactNode;
|
|
22
|
-
settings: SiteSettings$
|
|
22
|
+
settings: SiteSettings$3;
|
|
23
23
|
};
|
|
24
24
|
declare function ClientLayout({ children, settings }: ClientLayoutProps): react_jsx_runtime.JSX.Element;
|
|
25
25
|
|
|
26
26
|
declare function ContactCTA(): react_jsx_runtime.JSX.Element;
|
|
27
27
|
|
|
28
|
-
type SiteSettings$
|
|
28
|
+
type SiteSettings$2 = {
|
|
29
29
|
labName?: string;
|
|
30
30
|
labNameAccent?: string;
|
|
31
31
|
labNameDescription?: string;
|
|
@@ -36,15 +36,15 @@ type SiteSettings$1 = {
|
|
|
36
36
|
termsUrl?: string;
|
|
37
37
|
};
|
|
38
38
|
declare function Footer({ settings }: {
|
|
39
|
-
settings: SiteSettings$
|
|
39
|
+
settings: SiteSettings$2;
|
|
40
40
|
}): react_jsx_runtime.JSX.Element;
|
|
41
41
|
|
|
42
|
-
type SiteSettings = {
|
|
42
|
+
type SiteSettings$1 = {
|
|
43
43
|
labName?: string;
|
|
44
44
|
labNameAccent?: string;
|
|
45
45
|
};
|
|
46
46
|
declare function Header({ settings }: {
|
|
47
|
-
settings: SiteSettings;
|
|
47
|
+
settings: SiteSettings$1;
|
|
48
48
|
}): react_jsx_runtime.JSX.Element;
|
|
49
49
|
|
|
50
50
|
declare function ThemeToggle(): react_jsx_runtime.JSX.Element;
|
|
@@ -63,6 +63,28 @@ type AnimatedHeroProps = {
|
|
|
63
63
|
};
|
|
64
64
|
declare function AnimatedHero({ heroData, ArrowRightIcon }: AnimatedHeroProps): react_jsx_runtime.JSX.Element;
|
|
65
65
|
|
|
66
|
+
type SiteSettings = {
|
|
67
|
+
labName?: string;
|
|
68
|
+
labNameAccent?: string;
|
|
69
|
+
labNameDescription?: string;
|
|
70
|
+
footerText?: string;
|
|
71
|
+
showPrivacyPolicy?: boolean;
|
|
72
|
+
privacyPolicyUrl?: string;
|
|
73
|
+
showTerms?: boolean;
|
|
74
|
+
termsUrl?: string;
|
|
75
|
+
};
|
|
76
|
+
interface HomePageProps {
|
|
77
|
+
children?: React.ReactNode;
|
|
78
|
+
settings?: SiteSettings | null;
|
|
79
|
+
header?: React.ReactNode;
|
|
80
|
+
footer?: React.ReactNode;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Main HomePage wrapper for lab-minimal template
|
|
84
|
+
* Provides consistent header/footer with customizable main content
|
|
85
|
+
*/
|
|
86
|
+
declare function HomePage({ children, settings, header, footer, }: HomePageProps): react_jsx_runtime.JSX.Element;
|
|
87
|
+
|
|
66
88
|
type AnimatedCardProps = {
|
|
67
89
|
children: ReactNode;
|
|
68
90
|
className?: string;
|
|
@@ -264,4 +286,4 @@ declare function escapeHtml(text: string): string;
|
|
|
264
286
|
*/
|
|
265
287
|
declare function isValidSlug(slug: string | undefined | null): boolean;
|
|
266
288
|
|
|
267
|
-
export { AnimatedCard, AnimatedGalleryGrid, AnimatedGalleryHeader, AnimatedGrid, AnimatedHeader, AnimatedHero, AnimatedHeroContent, AnimatedImage, AnimatedItem, AnimatedList, AnimatedMain, AnimatedPage, AnimatedSection, AnimatedSectionHeader, AnimatedStats, ClientLayout, ContactCTA, Footer, Header, ProsophiaConfig, ScrollRevealSection, StaggeredGrid, ThemeToggle, cardHover, client, defineConfig, escapeHtml, fadeIn, fadeInUp, fadeInUpShort, getClient, imageZoom, isValidEmail, isValidExternalUrl, isValidGoogleMapsEmbedUrl, isValidSlug, pageTransition, reducedMotion, sanitizeUrl, scaleIn, scrollReveal, slideInLeft, slideInRight, staggerContainer, staggerItem, urlFor, viewportSettings };
|
|
289
|
+
export { AnimatedCard, AnimatedGalleryGrid, AnimatedGalleryHeader, AnimatedGrid, AnimatedHeader, AnimatedHero, AnimatedHeroContent, AnimatedImage, AnimatedItem, AnimatedList, AnimatedMain, AnimatedPage, AnimatedSection, AnimatedSectionHeader, AnimatedStats, ClientLayout, ContactCTA, Footer, Header, HomePage, type HomePageProps, ProsophiaConfig, ScrollRevealSection, StaggeredGrid, ThemeToggle, cardHover, client, defineConfig, escapeHtml, fadeIn, fadeInUp, fadeInUpShort, getClient, imageZoom, isValidEmail, isValidExternalUrl, isValidGoogleMapsEmbedUrl, isValidSlug, pageTransition, reducedMotion, sanitizeUrl, scaleIn, scrollReveal, slideInLeft, slideInRight, staggerContainer, staggerItem, urlFor, viewportSettings };
|
package/dist/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import { SanityClient } from 'next-sanity';
|
|
|
8
8
|
import { SanityImageSource } from '@sanity/image-url/lib/types/types';
|
|
9
9
|
import { Variants } from 'framer-motion';
|
|
10
10
|
|
|
11
|
-
type SiteSettings$
|
|
11
|
+
type SiteSettings$3 = {
|
|
12
12
|
labName?: string;
|
|
13
13
|
labNameAccent?: string;
|
|
14
14
|
footerText?: string;
|
|
@@ -19,13 +19,13 @@ type SiteSettings$2 = {
|
|
|
19
19
|
};
|
|
20
20
|
type ClientLayoutProps = {
|
|
21
21
|
children: React$1.ReactNode;
|
|
22
|
-
settings: SiteSettings$
|
|
22
|
+
settings: SiteSettings$3;
|
|
23
23
|
};
|
|
24
24
|
declare function ClientLayout({ children, settings }: ClientLayoutProps): react_jsx_runtime.JSX.Element;
|
|
25
25
|
|
|
26
26
|
declare function ContactCTA(): react_jsx_runtime.JSX.Element;
|
|
27
27
|
|
|
28
|
-
type SiteSettings$
|
|
28
|
+
type SiteSettings$2 = {
|
|
29
29
|
labName?: string;
|
|
30
30
|
labNameAccent?: string;
|
|
31
31
|
labNameDescription?: string;
|
|
@@ -36,15 +36,15 @@ type SiteSettings$1 = {
|
|
|
36
36
|
termsUrl?: string;
|
|
37
37
|
};
|
|
38
38
|
declare function Footer({ settings }: {
|
|
39
|
-
settings: SiteSettings$
|
|
39
|
+
settings: SiteSettings$2;
|
|
40
40
|
}): react_jsx_runtime.JSX.Element;
|
|
41
41
|
|
|
42
|
-
type SiteSettings = {
|
|
42
|
+
type SiteSettings$1 = {
|
|
43
43
|
labName?: string;
|
|
44
44
|
labNameAccent?: string;
|
|
45
45
|
};
|
|
46
46
|
declare function Header({ settings }: {
|
|
47
|
-
settings: SiteSettings;
|
|
47
|
+
settings: SiteSettings$1;
|
|
48
48
|
}): react_jsx_runtime.JSX.Element;
|
|
49
49
|
|
|
50
50
|
declare function ThemeToggle(): react_jsx_runtime.JSX.Element;
|
|
@@ -63,6 +63,28 @@ type AnimatedHeroProps = {
|
|
|
63
63
|
};
|
|
64
64
|
declare function AnimatedHero({ heroData, ArrowRightIcon }: AnimatedHeroProps): react_jsx_runtime.JSX.Element;
|
|
65
65
|
|
|
66
|
+
type SiteSettings = {
|
|
67
|
+
labName?: string;
|
|
68
|
+
labNameAccent?: string;
|
|
69
|
+
labNameDescription?: string;
|
|
70
|
+
footerText?: string;
|
|
71
|
+
showPrivacyPolicy?: boolean;
|
|
72
|
+
privacyPolicyUrl?: string;
|
|
73
|
+
showTerms?: boolean;
|
|
74
|
+
termsUrl?: string;
|
|
75
|
+
};
|
|
76
|
+
interface HomePageProps {
|
|
77
|
+
children?: React.ReactNode;
|
|
78
|
+
settings?: SiteSettings | null;
|
|
79
|
+
header?: React.ReactNode;
|
|
80
|
+
footer?: React.ReactNode;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Main HomePage wrapper for lab-minimal template
|
|
84
|
+
* Provides consistent header/footer with customizable main content
|
|
85
|
+
*/
|
|
86
|
+
declare function HomePage({ children, settings, header, footer, }: HomePageProps): react_jsx_runtime.JSX.Element;
|
|
87
|
+
|
|
66
88
|
type AnimatedCardProps = {
|
|
67
89
|
children: ReactNode;
|
|
68
90
|
className?: string;
|
|
@@ -264,4 +286,4 @@ declare function escapeHtml(text: string): string;
|
|
|
264
286
|
*/
|
|
265
287
|
declare function isValidSlug(slug: string | undefined | null): boolean;
|
|
266
288
|
|
|
267
|
-
export { AnimatedCard, AnimatedGalleryGrid, AnimatedGalleryHeader, AnimatedGrid, AnimatedHeader, AnimatedHero, AnimatedHeroContent, AnimatedImage, AnimatedItem, AnimatedList, AnimatedMain, AnimatedPage, AnimatedSection, AnimatedSectionHeader, AnimatedStats, ClientLayout, ContactCTA, Footer, Header, ProsophiaConfig, ScrollRevealSection, StaggeredGrid, ThemeToggle, cardHover, client, defineConfig, escapeHtml, fadeIn, fadeInUp, fadeInUpShort, getClient, imageZoom, isValidEmail, isValidExternalUrl, isValidGoogleMapsEmbedUrl, isValidSlug, pageTransition, reducedMotion, sanitizeUrl, scaleIn, scrollReveal, slideInLeft, slideInRight, staggerContainer, staggerItem, urlFor, viewportSettings };
|
|
289
|
+
export { AnimatedCard, AnimatedGalleryGrid, AnimatedGalleryHeader, AnimatedGrid, AnimatedHeader, AnimatedHero, AnimatedHeroContent, AnimatedImage, AnimatedItem, AnimatedList, AnimatedMain, AnimatedPage, AnimatedSection, AnimatedSectionHeader, AnimatedStats, ClientLayout, ContactCTA, Footer, Header, HomePage, type HomePageProps, ProsophiaConfig, ScrollRevealSection, StaggeredGrid, ThemeToggle, cardHover, client, defineConfig, escapeHtml, fadeIn, fadeInUp, fadeInUpShort, getClient, imageZoom, isValidEmail, isValidExternalUrl, isValidGoogleMapsEmbedUrl, isValidSlug, pageTransition, reducedMotion, sanitizeUrl, scaleIn, scrollReveal, slideInLeft, slideInRight, staggerContainer, staggerItem, urlFor, viewportSettings };
|