@retinalabsllc/zairusjs 0.2.0 → 0.2.2
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 +72 -1
- package/dist/index.d.ts +72 -1
- package/dist/index.js +604 -141
- package/dist/index.mjs +591 -132
- package/package.json +3 -2
package/dist/index.d.mts
CHANGED
|
@@ -20,6 +20,49 @@ interface ThreeDButtonProps {
|
|
|
20
20
|
}
|
|
21
21
|
declare const ThreeDButton: React.FC<ThreeDButtonProps>;
|
|
22
22
|
|
|
23
|
+
interface ThreeDActionButtonProps {
|
|
24
|
+
type?: 'button' | 'submit' | 'reset';
|
|
25
|
+
onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
26
|
+
disabled?: boolean;
|
|
27
|
+
isLoading?: boolean;
|
|
28
|
+
children: React.ReactNode;
|
|
29
|
+
className?: string;
|
|
30
|
+
ariaLabel?: string;
|
|
31
|
+
}
|
|
32
|
+
declare const ThreeDActionButton: React.FC<ThreeDActionButtonProps>;
|
|
33
|
+
|
|
34
|
+
type AuthMode = "LOGIN" | "SIGNUP";
|
|
35
|
+
interface ZairusAuthProps {
|
|
36
|
+
companyName: string;
|
|
37
|
+
workspaceLabel?: string;
|
|
38
|
+
termsUrl?: string;
|
|
39
|
+
privacyUrl?: string;
|
|
40
|
+
requireNames?: boolean;
|
|
41
|
+
requireOrganization?: boolean;
|
|
42
|
+
useRecaptcha?: boolean;
|
|
43
|
+
recaptchaSiteKey?: string;
|
|
44
|
+
defaultRedirectPath?: string;
|
|
45
|
+
onAuthRequest: (payload: {
|
|
46
|
+
email: string;
|
|
47
|
+
firstName?: string;
|
|
48
|
+
lastName?: string;
|
|
49
|
+
organizationName?: string;
|
|
50
|
+
mode: AuthMode;
|
|
51
|
+
recaptchaToken?: string;
|
|
52
|
+
}) => Promise<{
|
|
53
|
+
success: boolean;
|
|
54
|
+
error?: string;
|
|
55
|
+
}>;
|
|
56
|
+
onVerifyOtp: (payload: {
|
|
57
|
+
email: string;
|
|
58
|
+
code: string;
|
|
59
|
+
}) => Promise<{
|
|
60
|
+
success: boolean;
|
|
61
|
+
error?: string;
|
|
62
|
+
}>;
|
|
63
|
+
}
|
|
64
|
+
declare const ZairusAuth: React.FC<ZairusAuthProps>;
|
|
65
|
+
|
|
23
66
|
interface HeaderLink {
|
|
24
67
|
label: string;
|
|
25
68
|
href: string;
|
|
@@ -353,4 +396,32 @@ interface PortfolioHeroProps {
|
|
|
353
396
|
}
|
|
354
397
|
declare const PortfolioHero: React.FC<PortfolioHeroProps>;
|
|
355
398
|
|
|
356
|
-
|
|
399
|
+
interface ProductHeroProps {
|
|
400
|
+
badgeText?: string;
|
|
401
|
+
titlePrefix: React.ReactNode;
|
|
402
|
+
highlightText: string;
|
|
403
|
+
subtitle?: string;
|
|
404
|
+
ctaText?: string;
|
|
405
|
+
ctaHref?: string;
|
|
406
|
+
secondaryCtaText?: string;
|
|
407
|
+
secondaryCtaHref?: string;
|
|
408
|
+
/** Array of exactly 3 images for the carousel (Mandatory) */
|
|
409
|
+
images: string[];
|
|
410
|
+
}
|
|
411
|
+
declare const ProductHero: React.FC<ProductHeroProps>;
|
|
412
|
+
|
|
413
|
+
interface GifFeatureCardProps {
|
|
414
|
+
/** The URL path to your .gif file */
|
|
415
|
+
gifSrc: string;
|
|
416
|
+
/** The main heading text displayed at the bottom left */
|
|
417
|
+
title?: React.ReactNode;
|
|
418
|
+
/** The secondary description text displayed below the title */
|
|
419
|
+
subtitle?: React.ReactNode;
|
|
420
|
+
/** Alt text for accessibility */
|
|
421
|
+
alt?: string;
|
|
422
|
+
/** Optional override for aspect ratio or height (defaults to aspect-video) */
|
|
423
|
+
className?: string;
|
|
424
|
+
}
|
|
425
|
+
declare const GifFeatureCard: React.FC<GifFeatureCardProps>;
|
|
426
|
+
|
|
427
|
+
export { AITranscriptionFeature, type AITranscriptionFeatureProps, AppBento2, type AppBento2Props, type BentoFeature, type BoardMember, type CompanyDetails, type DocumentSectionData, type EmailContact, Faq, type FaqItem, type FaqProps, FeatureScroll, type FeatureScrollProps, Footer, type FooterColumn, type FooterLink, type FooterProps, GifFeatureCard, type GifFeatureCardProps, Header, type HeaderLink, type HeaderProps, HeroSection, type HeroSectionProps, ManagedBoardBlock, type ManagedBoardBlockProps, ManagedContactBlock, type ManagedContactBlockProps, ManagedDocument, type ManagedDocumentProps, ManagedNewsletterSplitBlock, type ManagedNewsletterSplitBlockProps, ManagedNotFoundBlock, type ManagedNotFoundBlockProps, ManagedPricingBlock, type ManagedPricingBlockProps, ManagedProjectsBlock, type ManagedProjectsBlockProps, ManagedToaster, NumberInput, type NumberInputProps, PageSpinner, type PageSpinnerProps, type PlatformFeatureItem, PlatformFeatures, type PlatformFeaturesProps, PortfolioHero, type PortfolioHeroProps, type PricingFeature, type PricingPlan, ProductHero, type ProductHeroProps, type ProjectItem, type ScrollFeature, type SocialContact, type SocialLink, TextInput, type TextInputProps, ThreeDActionButton, type ThreeDActionButtonProps, ThreeDButton, type ThreeDButtonProps, ZairusAuth, type ZairusAuthProps };
|
package/dist/index.d.ts
CHANGED
|
@@ -20,6 +20,49 @@ interface ThreeDButtonProps {
|
|
|
20
20
|
}
|
|
21
21
|
declare const ThreeDButton: React.FC<ThreeDButtonProps>;
|
|
22
22
|
|
|
23
|
+
interface ThreeDActionButtonProps {
|
|
24
|
+
type?: 'button' | 'submit' | 'reset';
|
|
25
|
+
onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
26
|
+
disabled?: boolean;
|
|
27
|
+
isLoading?: boolean;
|
|
28
|
+
children: React.ReactNode;
|
|
29
|
+
className?: string;
|
|
30
|
+
ariaLabel?: string;
|
|
31
|
+
}
|
|
32
|
+
declare const ThreeDActionButton: React.FC<ThreeDActionButtonProps>;
|
|
33
|
+
|
|
34
|
+
type AuthMode = "LOGIN" | "SIGNUP";
|
|
35
|
+
interface ZairusAuthProps {
|
|
36
|
+
companyName: string;
|
|
37
|
+
workspaceLabel?: string;
|
|
38
|
+
termsUrl?: string;
|
|
39
|
+
privacyUrl?: string;
|
|
40
|
+
requireNames?: boolean;
|
|
41
|
+
requireOrganization?: boolean;
|
|
42
|
+
useRecaptcha?: boolean;
|
|
43
|
+
recaptchaSiteKey?: string;
|
|
44
|
+
defaultRedirectPath?: string;
|
|
45
|
+
onAuthRequest: (payload: {
|
|
46
|
+
email: string;
|
|
47
|
+
firstName?: string;
|
|
48
|
+
lastName?: string;
|
|
49
|
+
organizationName?: string;
|
|
50
|
+
mode: AuthMode;
|
|
51
|
+
recaptchaToken?: string;
|
|
52
|
+
}) => Promise<{
|
|
53
|
+
success: boolean;
|
|
54
|
+
error?: string;
|
|
55
|
+
}>;
|
|
56
|
+
onVerifyOtp: (payload: {
|
|
57
|
+
email: string;
|
|
58
|
+
code: string;
|
|
59
|
+
}) => Promise<{
|
|
60
|
+
success: boolean;
|
|
61
|
+
error?: string;
|
|
62
|
+
}>;
|
|
63
|
+
}
|
|
64
|
+
declare const ZairusAuth: React.FC<ZairusAuthProps>;
|
|
65
|
+
|
|
23
66
|
interface HeaderLink {
|
|
24
67
|
label: string;
|
|
25
68
|
href: string;
|
|
@@ -353,4 +396,32 @@ interface PortfolioHeroProps {
|
|
|
353
396
|
}
|
|
354
397
|
declare const PortfolioHero: React.FC<PortfolioHeroProps>;
|
|
355
398
|
|
|
356
|
-
|
|
399
|
+
interface ProductHeroProps {
|
|
400
|
+
badgeText?: string;
|
|
401
|
+
titlePrefix: React.ReactNode;
|
|
402
|
+
highlightText: string;
|
|
403
|
+
subtitle?: string;
|
|
404
|
+
ctaText?: string;
|
|
405
|
+
ctaHref?: string;
|
|
406
|
+
secondaryCtaText?: string;
|
|
407
|
+
secondaryCtaHref?: string;
|
|
408
|
+
/** Array of exactly 3 images for the carousel (Mandatory) */
|
|
409
|
+
images: string[];
|
|
410
|
+
}
|
|
411
|
+
declare const ProductHero: React.FC<ProductHeroProps>;
|
|
412
|
+
|
|
413
|
+
interface GifFeatureCardProps {
|
|
414
|
+
/** The URL path to your .gif file */
|
|
415
|
+
gifSrc: string;
|
|
416
|
+
/** The main heading text displayed at the bottom left */
|
|
417
|
+
title?: React.ReactNode;
|
|
418
|
+
/** The secondary description text displayed below the title */
|
|
419
|
+
subtitle?: React.ReactNode;
|
|
420
|
+
/** Alt text for accessibility */
|
|
421
|
+
alt?: string;
|
|
422
|
+
/** Optional override for aspect ratio or height (defaults to aspect-video) */
|
|
423
|
+
className?: string;
|
|
424
|
+
}
|
|
425
|
+
declare const GifFeatureCard: React.FC<GifFeatureCardProps>;
|
|
426
|
+
|
|
427
|
+
export { AITranscriptionFeature, type AITranscriptionFeatureProps, AppBento2, type AppBento2Props, type BentoFeature, type BoardMember, type CompanyDetails, type DocumentSectionData, type EmailContact, Faq, type FaqItem, type FaqProps, FeatureScroll, type FeatureScrollProps, Footer, type FooterColumn, type FooterLink, type FooterProps, GifFeatureCard, type GifFeatureCardProps, Header, type HeaderLink, type HeaderProps, HeroSection, type HeroSectionProps, ManagedBoardBlock, type ManagedBoardBlockProps, ManagedContactBlock, type ManagedContactBlockProps, ManagedDocument, type ManagedDocumentProps, ManagedNewsletterSplitBlock, type ManagedNewsletterSplitBlockProps, ManagedNotFoundBlock, type ManagedNotFoundBlockProps, ManagedPricingBlock, type ManagedPricingBlockProps, ManagedProjectsBlock, type ManagedProjectsBlockProps, ManagedToaster, NumberInput, type NumberInputProps, PageSpinner, type PageSpinnerProps, type PlatformFeatureItem, PlatformFeatures, type PlatformFeaturesProps, PortfolioHero, type PortfolioHeroProps, type PricingFeature, type PricingPlan, ProductHero, type ProductHeroProps, type ProjectItem, type ScrollFeature, type SocialContact, type SocialLink, TextInput, type TextInputProps, ThreeDActionButton, type ThreeDActionButtonProps, ThreeDButton, type ThreeDButtonProps, ZairusAuth, type ZairusAuthProps };
|