@retinalabsllc/zairusjs 0.2.1 → 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 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;
@@ -381,4 +424,4 @@ interface GifFeatureCardProps {
381
424
  }
382
425
  declare const GifFeatureCard: React.FC<GifFeatureCardProps>;
383
426
 
384
- 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, ThreeDButton, type ThreeDButtonProps };
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;
@@ -381,4 +424,4 @@ interface GifFeatureCardProps {
381
424
  }
382
425
  declare const GifFeatureCard: React.FC<GifFeatureCardProps>;
383
426
 
384
- 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, ThreeDButton, type ThreeDButtonProps };
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 };