@electroplix/components 0.4.1 → 0.5.0-alpha.10
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/CHANGELOG.md +144 -0
- package/LICENSE +21 -0
- package/README.md +88 -474
- package/SECURITY.md +19 -0
- package/cli.cjs +544 -485
- package/dist/config.d.ts +73 -0
- package/dist/config.esm.js +229 -0
- package/dist/index.esm.js +9548 -8432
- package/dist/package.json +100 -0
- package/dist/src/components/blog/index.d.ts +21 -21
- package/dist/src/components/blog/index.d.ts.map +1 -1
- package/dist/src/components/buttons/index.d.ts +41 -16
- package/dist/src/components/buttons/index.d.ts.map +1 -1
- package/dist/src/components/content/BlockquoteTestimonial.d.ts +3 -5
- package/dist/src/components/content/BlockquoteTestimonial.d.ts.map +1 -1
- package/dist/src/components/content/CalloutBox.d.ts +4 -6
- package/dist/src/components/content/CalloutBox.d.ts.map +1 -1
- package/dist/src/components/content/HeadingSection.d.ts +4 -6
- package/dist/src/components/content/HeadingSection.d.ts.map +1 -1
- package/dist/src/components/content/InlineCodeText.d.ts +5 -6
- package/dist/src/components/content/InlineCodeText.d.ts.map +1 -1
- package/dist/src/components/content/ParagraphBlock.d.ts +5 -7
- package/dist/src/components/content/ParagraphBlock.d.ts.map +1 -1
- package/dist/src/components/content/RichMarkdown.d.ts +5 -6
- package/dist/src/components/content/RichMarkdown.d.ts.map +1 -1
- package/dist/src/components/content/TeamGrid.d.ts +3 -2
- package/dist/src/components/content/TeamGrid.d.ts.map +1 -1
- package/dist/src/components/content/index.d.ts +7 -7
- package/dist/src/components/content/index.d.ts.map +1 -1
- package/dist/src/components/data-display/Badge.d.ts +6 -5
- package/dist/src/components/data-display/Badge.d.ts.map +1 -1
- package/dist/src/components/data-display/BadgeGroup.d.ts +6 -4
- package/dist/src/components/data-display/BadgeGroup.d.ts.map +1 -1
- package/dist/src/components/data-display/BarChart.d.ts +3 -2
- package/dist/src/components/data-display/BarChart.d.ts.map +1 -1
- package/dist/src/components/data-display/CalendarGrid.d.ts +4 -3
- package/dist/src/components/data-display/CalendarGrid.d.ts.map +1 -1
- package/dist/src/components/data-display/DataTable.d.ts +5 -5
- package/dist/src/components/data-display/DataTable.d.ts.map +1 -1
- package/dist/src/components/data-display/LineChart.d.ts +3 -2
- package/dist/src/components/data-display/LineChart.d.ts.map +1 -1
- package/dist/src/components/data-display/PieChart.d.ts +3 -2
- package/dist/src/components/data-display/PieChart.d.ts.map +1 -1
- package/dist/src/components/data-display/ProgressBar.d.ts +3 -2
- package/dist/src/components/data-display/ProgressBar.d.ts.map +1 -1
- package/dist/src/components/data-display/RatingStars.d.ts +3 -2
- package/dist/src/components/data-display/RatingStars.d.ts.map +1 -1
- package/dist/src/components/data-display/Sparkline.d.ts +3 -2
- package/dist/src/components/data-display/Sparkline.d.ts.map +1 -1
- package/dist/src/components/data-display/Timeline.d.ts +4 -3
- package/dist/src/components/data-display/Timeline.d.ts.map +1 -1
- package/dist/src/components/data-display/index.d.ts +11 -11
- package/dist/src/components/data-display/index.d.ts.map +1 -1
- package/dist/src/components/ecommerce/index.d.ts +24 -21
- package/dist/src/components/ecommerce/index.d.ts.map +1 -1
- package/dist/src/components/forms/AddressAutocomplete.d.ts +2 -4
- package/dist/src/components/forms/AddressAutocomplete.d.ts.map +1 -1
- package/dist/src/components/forms/Captcha.d.ts +3 -5
- package/dist/src/components/forms/Captcha.d.ts.map +1 -1
- package/dist/src/components/forms/ContactForm.d.ts +2 -4
- package/dist/src/components/forms/ContactForm.d.ts.map +1 -1
- package/dist/src/components/forms/DateTimePicker.d.ts +3 -5
- package/dist/src/components/forms/DateTimePicker.d.ts.map +1 -1
- package/dist/src/components/forms/FileUploader.d.ts +2 -4
- package/dist/src/components/forms/FileUploader.d.ts.map +1 -1
- package/dist/src/components/forms/FormShell.d.ts +2 -5
- package/dist/src/components/forms/FormShell.d.ts.map +1 -1
- package/dist/src/components/forms/InputField.d.ts +2 -4
- package/dist/src/components/forms/InputField.d.ts.map +1 -1
- package/dist/src/components/forms/MultiStepWizard.d.ts +2 -4
- package/dist/src/components/forms/MultiStepWizard.d.ts.map +1 -1
- package/dist/src/components/forms/NewsletterSignup.d.ts +2 -4
- package/dist/src/components/forms/NewsletterSignup.d.ts.map +1 -1
- package/dist/src/components/forms/RadioGroup.d.ts +2 -4
- package/dist/src/components/forms/RadioGroup.d.ts.map +1 -1
- package/dist/src/components/forms/SelectDropdown.d.ts +2 -4
- package/dist/src/components/forms/SelectDropdown.d.ts.map +1 -1
- package/dist/src/components/forms/TextAreaField.d.ts +2 -4
- package/dist/src/components/forms/TextAreaField.d.ts.map +1 -1
- package/dist/src/components/forms/ToggleSwitch.d.ts +2 -4
- package/dist/src/components/forms/ToggleSwitch.d.ts.map +1 -1
- package/dist/src/components/forms/ValidationWrapper.d.ts +2 -4
- package/dist/src/components/forms/ValidationWrapper.d.ts.map +1 -1
- package/dist/src/components/forms/index.d.ts +28 -28
- package/dist/src/components/forms/index.d.ts.map +1 -1
- package/dist/src/components/hero/CTAOverlayHero.d.ts +2 -4
- package/dist/src/components/hero/CTAOverlayHero.d.ts.map +1 -1
- package/dist/src/components/hero/CarouselHero.d.ts +2 -4
- package/dist/src/components/hero/CarouselHero.d.ts.map +1 -1
- package/dist/src/components/hero/HeroShell.d.ts +2 -5
- package/dist/src/components/hero/HeroShell.d.ts.map +1 -1
- package/dist/src/components/hero/PatternedHero.d.ts +3 -5
- package/dist/src/components/hero/PatternedHero.d.ts.map +1 -1
- package/dist/src/components/hero/SplitHero.d.ts +2 -4
- package/dist/src/components/hero/SplitHero.d.ts.map +1 -1
- package/dist/src/components/hero/StaticHero.d.ts +3 -5
- package/dist/src/components/hero/StaticHero.d.ts.map +1 -1
- package/dist/src/components/hero/VideoHeaderHero.d.ts +2 -4
- package/dist/src/components/hero/VideoHeaderHero.d.ts.map +1 -1
- package/dist/src/components/hero/index.d.ts +14 -14
- package/dist/src/components/hero/index.d.ts.map +1 -1
- package/dist/src/components/lists-cards/index.d.ts +17 -20
- package/dist/src/components/lists-cards/index.d.ts.map +1 -1
- package/dist/src/components/marketing/index.d.ts +22 -22
- package/dist/src/components/marketing/index.d.ts.map +1 -1
- package/dist/src/components/media/index.d.ts +27 -29
- package/dist/src/components/media/index.d.ts.map +1 -1
- package/dist/src/components/miscellaneous/index.d.ts +18 -17
- package/dist/src/components/miscellaneous/index.d.ts.map +1 -1
- package/dist/src/components/modals/index.d.ts +23 -34
- package/dist/src/components/modals/index.d.ts.map +1 -1
- package/dist/src/components/navigation/AnchorLinks.d.ts +4 -6
- package/dist/src/components/navigation/AnchorLinks.d.ts.map +1 -1
- package/dist/src/components/navigation/Breadcrumbs.d.ts +3 -5
- package/dist/src/components/navigation/Breadcrumbs.d.ts.map +1 -1
- package/dist/src/components/navigation/Footer.d.ts +3 -4
- package/dist/src/components/navigation/Footer.d.ts.map +1 -1
- package/dist/src/components/navigation/LanguageSelector.d.ts +3 -5
- package/dist/src/components/navigation/LanguageSelector.d.ts.map +1 -1
- package/dist/src/components/navigation/MegaMenu.d.ts +3 -5
- package/dist/src/components/navigation/MegaMenu.d.ts.map +1 -1
- package/dist/src/components/navigation/Pagination.d.ts +3 -2
- package/dist/src/components/navigation/Pagination.d.ts.map +1 -1
- package/dist/src/components/navigation/PrimaryNav.d.ts +3 -2
- package/dist/src/components/navigation/PrimaryNav.d.ts.map +1 -1
- package/dist/src/components/navigation/SideDrawerNav.d.ts +5 -4
- package/dist/src/components/navigation/SideDrawerNav.d.ts.map +1 -1
- package/dist/src/components/navigation/SidebarMenu.d.ts +4 -3
- package/dist/src/components/navigation/SidebarMenu.d.ts.map +1 -1
- package/dist/src/components/navigation/Stepper.d.ts +4 -3
- package/dist/src/components/navigation/Stepper.d.ts.map +1 -1
- package/dist/src/components/navigation/Tabs.d.ts +5 -4
- package/dist/src/components/navigation/Tabs.d.ts.map +1 -1
- package/dist/src/components/navigation/index.d.ts +22 -22
- package/dist/src/components/navigation/index.d.ts.map +1 -1
- package/dist/src/components/onboarding/index.d.ts +17 -17
- package/dist/src/components/onboarding/index.d.ts.map +1 -1
- package/dist/src/components/search/index.d.ts +13 -12
- package/dist/src/components/search/index.d.ts.map +1 -1
- package/dist/src/components/site-identity/index.d.ts +13 -14
- package/dist/src/components/site-identity/index.d.ts.map +1 -1
- package/dist/src/components/social/index.d.ts +19 -18
- package/dist/src/components/social/index.d.ts.map +1 -1
- package/dist/src/components/user-accounts/index.d.ts +17 -17
- package/dist/src/components/user-accounts/index.d.ts.map +1 -1
- package/dist/src/core/config.d.ts +1 -1
- package/dist/src/core/config.d.ts.map +1 -1
- package/dist/src/core/icons.d.ts +1 -1
- package/dist/src/core/icons.d.ts.map +1 -1
- package/dist/src/core/index.d.ts +7 -7
- package/dist/src/core/index.d.ts.map +1 -1
- package/dist/src/core/provider.d.ts +20 -20
- package/dist/src/core/provider.d.ts.map +1 -1
- package/dist/src/core/styles.d.ts +2 -0
- package/dist/src/core/styles.d.ts.map +1 -0
- package/dist/src/core/types.d.ts +4 -4
- package/dist/src/core/types.d.ts.map +1 -1
- package/dist/src/core/utils.d.ts +1 -1
- package/dist/src/core/utils.d.ts.map +1 -1
- package/dist/src/index.d.ts +19 -19
- package/dist/src/index.d.ts.map +1 -1
- package/metadata/blog.json +807 -0
- package/metadata/buttons.json +2186 -0
- package/metadata/content.json +1152 -0
- package/metadata/data-display.json +822 -0
- package/metadata/ecommerce.json +1059 -0
- package/metadata/forms.json +2637 -0
- package/metadata/hero.json +1401 -0
- package/metadata/lists-cards.json +848 -0
- package/metadata/marketing.json +1235 -0
- package/metadata/media.json +800 -0
- package/metadata/miscellaneous.json +778 -0
- package/metadata/modals.json +954 -0
- package/metadata/navigation.json +1348 -0
- package/metadata/onboarding.json +615 -0
- package/metadata/search.json +559 -0
- package/metadata/site-identity.json +555 -0
- package/metadata/social.json +654 -0
- package/metadata/user-accounts.json +727 -0
- package/package.json +22 -7
- package/dist/README.md +0 -35
- package/dist/src/__tests__/test-utils.d.ts +0 -8
- package/dist/src/__tests__/test-utils.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/lists-cards/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAsC/B,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,wBAAwB,CAAC,SAAS,CAAC;IAChF,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,wBAAgB,UAAU,CAAC,EACzB,EAAE,EAAE,GAAe,EACnB,OAAO,EACP,SAAS,EACT,UAAU,EACV,IAAU,EACV,EAAO,EACP,EAAO,EACP,MAAM,EACN,GAAQ,EACR,KAAU,EACV,SAAc,EACd,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,eAAe,2CAiCjB;AAID,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B;AAED,MAAM,WAAW,cAAe,SAAQ,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC;IAC3E,KAAK,EAAE,aAAa,EAAE,CAAC;IACvB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,wBAAgB,SAAS,CAAC,EACxB,KAAU,EACV,aAAqB,EACrB,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACR,EAAE,cAAc,2CA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AAC,SAAS,CAAC;IACtF,OAAO,EAAE,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC;IAC1B,IAAI,EAAE,CAAC,EAAE,CAAC;IACV,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,aAAa,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,EAC/D,OAAY,EACZ,IAAS,EACT,OAAO,EACP,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACR,EAAE,kBAAkB,CAAC,CAAC,CAAC,2CA2IvB;AAID,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC;IAC5E,KAAK,EAAE,cAAc,EAAE,CAAC;CACzB;AAED,wBAAgB,UAAU,CAAC,EAAE,KAAU,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,eAAe,2CAqGpF"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export interface ComparisonPlan {
|
|
3
3
|
id: string;
|
|
4
4
|
name: string;
|
|
@@ -11,33 +11,33 @@ export interface ComparisonFeature {
|
|
|
11
11
|
label: string;
|
|
12
12
|
values: Record<string, boolean | string>;
|
|
13
13
|
}
|
|
14
|
-
export interface ComparisonTableProps {
|
|
14
|
+
export interface ComparisonTableProps extends Omit<React.ComponentPropsWithoutRef<'section'>, 'onSelect'> {
|
|
15
15
|
plans: ComparisonPlan[];
|
|
16
16
|
features: ComparisonFeature[];
|
|
17
17
|
title?: string;
|
|
18
18
|
onSelect?: (planId: string) => void;
|
|
19
19
|
}
|
|
20
|
-
export declare function ComparisonTable({ plans, features, title, onSelect, }: ComparisonTableProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
export interface CountdownTimerProps {
|
|
20
|
+
export declare function ComparisonTable({ plans, features, title, onSelect, className, style, ...rest }: ComparisonTableProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export interface CountdownTimerProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
22
22
|
targetDate: string | Date;
|
|
23
23
|
label?: string;
|
|
24
24
|
onExpire?: () => void;
|
|
25
25
|
accentColor?: string;
|
|
26
26
|
}
|
|
27
|
-
export declare function CountdownTimer({ targetDate, label, onExpire, accentColor, }: CountdownTimerProps): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
export declare function CountdownTimer({ targetDate, label, onExpire, accentColor, className, style, ...rest }: CountdownTimerProps): import("react/jsx-runtime").JSX.Element;
|
|
28
28
|
export interface USP {
|
|
29
29
|
id: string;
|
|
30
30
|
icon?: string;
|
|
31
31
|
title: string;
|
|
32
32
|
description?: string;
|
|
33
33
|
}
|
|
34
|
-
export interface FeatureHighlightsProps {
|
|
34
|
+
export interface FeatureHighlightsProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
35
35
|
items: USP[];
|
|
36
36
|
columns?: number | string;
|
|
37
37
|
title?: string;
|
|
38
38
|
}
|
|
39
|
-
export declare function FeatureHighlights({ items, columns, title, }: FeatureHighlightsProps): import("react/jsx-runtime").JSX.Element;
|
|
40
|
-
export interface LeadMagnetGateProps {
|
|
39
|
+
export declare function FeatureHighlights({ items, columns, title, className, style, ...rest }: FeatureHighlightsProps): import("react/jsx-runtime").JSX.Element;
|
|
40
|
+
export interface LeadMagnetGateProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'onSubmit'> {
|
|
41
41
|
title: string;
|
|
42
42
|
description?: string;
|
|
43
43
|
inputPlaceholder?: string;
|
|
@@ -45,8 +45,8 @@ export interface LeadMagnetGateProps {
|
|
|
45
45
|
onSubmit?: (email: string) => void;
|
|
46
46
|
children?: React.ReactNode;
|
|
47
47
|
}
|
|
48
|
-
export declare function LeadMagnetGate({ title, description, inputPlaceholder, ctaLabel, onSubmit, children, }: LeadMagnetGateProps): import("react/jsx-runtime").JSX.Element;
|
|
49
|
-
export interface MarketingHeroBlockProps {
|
|
48
|
+
export declare function LeadMagnetGate({ title, description, inputPlaceholder, ctaLabel, onSubmit, children, className, style, ...rest }: LeadMagnetGateProps): import("react/jsx-runtime").JSX.Element;
|
|
49
|
+
export interface MarketingHeroBlockProps extends React.ComponentPropsWithoutRef<'section'> {
|
|
50
50
|
eyebrow?: string;
|
|
51
51
|
headline: string;
|
|
52
52
|
subheadline?: string;
|
|
@@ -56,8 +56,8 @@ export interface MarketingHeroBlockProps {
|
|
|
56
56
|
onSecondaryClick?: () => void;
|
|
57
57
|
bgImage?: string;
|
|
58
58
|
}
|
|
59
|
-
export declare function MarketingHeroBlock({ eyebrow, headline, subheadline, ctaLabel, onCtaClick, secondaryLabel, onSecondaryClick, bgImage, }: MarketingHeroBlockProps): import("react/jsx-runtime").JSX.Element;
|
|
60
|
-
export interface PromoPopupProps {
|
|
59
|
+
export declare function MarketingHeroBlock({ eyebrow, headline, subheadline, ctaLabel, onCtaClick, secondaryLabel, onSecondaryClick, bgImage, className, style, ...rest }: MarketingHeroBlockProps): import("react/jsx-runtime").JSX.Element;
|
|
60
|
+
export interface PromoPopupProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
61
61
|
title: string;
|
|
62
62
|
message?: string;
|
|
63
63
|
ctaLabel?: string;
|
|
@@ -66,7 +66,7 @@ export interface PromoPopupProps {
|
|
|
66
66
|
isOpen?: boolean;
|
|
67
67
|
image?: string;
|
|
68
68
|
}
|
|
69
|
-
export declare function PromoPopup({ title, message, ctaLabel, onCta, onDismiss, isOpen, image, }: PromoPopupProps): import("react/jsx-runtime").JSX.Element | null;
|
|
69
|
+
export declare function PromoPopup({ title, message, ctaLabel, onCta, onDismiss, isOpen, image, className, style, ...rest }: PromoPopupProps): import("react/jsx-runtime").JSX.Element | null;
|
|
70
70
|
export interface Testimonial {
|
|
71
71
|
id: string;
|
|
72
72
|
quote: string;
|
|
@@ -75,23 +75,23 @@ export interface Testimonial {
|
|
|
75
75
|
avatar?: string;
|
|
76
76
|
rating?: number;
|
|
77
77
|
}
|
|
78
|
-
export interface TestimonialsCarouselProps {
|
|
78
|
+
export interface TestimonialsCarouselProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
79
79
|
testimonials: Testimonial[];
|
|
80
80
|
autoPlay?: boolean;
|
|
81
81
|
interval?: number;
|
|
82
82
|
}
|
|
83
|
-
export declare function TestimonialsCarousel({ testimonials, autoPlay, interval, }: TestimonialsCarouselProps): import("react/jsx-runtime").JSX.Element | null;
|
|
83
|
+
export declare function TestimonialsCarousel({ testimonials, autoPlay, interval, className, style, ...rest }: TestimonialsCarouselProps): import("react/jsx-runtime").JSX.Element | null;
|
|
84
84
|
export interface TrustBadge {
|
|
85
85
|
id: string;
|
|
86
86
|
label: string;
|
|
87
87
|
icon?: string;
|
|
88
88
|
image?: string;
|
|
89
89
|
}
|
|
90
|
-
export interface TrustBadgesProps {
|
|
90
|
+
export interface TrustBadgesProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
91
91
|
badges: TrustBadge[];
|
|
92
92
|
title?: string;
|
|
93
93
|
}
|
|
94
|
-
export declare function TrustBadges({ badges, title }: TrustBadgesProps): import("react/jsx-runtime").JSX.Element;
|
|
94
|
+
export declare function TrustBadges({ badges, title, className, style, ...rest }: TrustBadgesProps): import("react/jsx-runtime").JSX.Element;
|
|
95
95
|
export interface StatItem {
|
|
96
96
|
id: string;
|
|
97
97
|
value: string;
|
|
@@ -99,23 +99,23 @@ export interface StatItem {
|
|
|
99
99
|
suffix?: string;
|
|
100
100
|
icon?: string;
|
|
101
101
|
}
|
|
102
|
-
export interface StatsCounterProps {
|
|
102
|
+
export interface StatsCounterProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
103
103
|
stats: StatItem[];
|
|
104
104
|
title?: string;
|
|
105
105
|
columns?: number | string;
|
|
106
106
|
}
|
|
107
|
-
export declare function StatsCounter({ stats, title, columns, }: StatsCounterProps): import("react/jsx-runtime").JSX.Element;
|
|
107
|
+
export declare function StatsCounter({ stats, title, columns, className, style, ...rest }: StatsCounterProps): import("react/jsx-runtime").JSX.Element;
|
|
108
108
|
export interface HowItWorksStep {
|
|
109
109
|
id: string;
|
|
110
110
|
title: string;
|
|
111
111
|
description?: string;
|
|
112
112
|
icon?: string;
|
|
113
113
|
}
|
|
114
|
-
export interface HowItWorksProps {
|
|
114
|
+
export interface HowItWorksProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
115
115
|
steps: HowItWorksStep[];
|
|
116
116
|
title?: string;
|
|
117
117
|
subtitle?: string;
|
|
118
|
-
layout?:
|
|
118
|
+
layout?: 'horizontal' | 'vertical';
|
|
119
119
|
}
|
|
120
|
-
export declare function HowItWorks({ steps, title, subtitle, layout, }: HowItWorksProps): import("react/jsx-runtime").JSX.Element;
|
|
120
|
+
export declare function HowItWorks({ steps, title, subtitle, layout, className, style, ...rest }: HowItWorksProps): import("react/jsx-runtime").JSX.Element;
|
|
121
121
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/marketing/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAqChE,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM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AK,EACL,GAAG,IAAI,EACR,EAAE,eAAe,2CAsGjB"}
|
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
export interface MediaShellProps {
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface MediaShellProps extends React.ComponentPropsWithoutRef<'section'> {
|
|
3
3
|
bgColor?: string;
|
|
4
4
|
maxW?: number;
|
|
5
5
|
px?: number;
|
|
6
6
|
py?: number;
|
|
7
7
|
radius?: number;
|
|
8
|
-
style?: React.CSSProperties;
|
|
9
|
-
children?: React.ReactNode;
|
|
10
8
|
}
|
|
11
|
-
export declare function MediaShell({ bgColor, maxW, px, py, radius, style, children, }: MediaShellProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export interface ResponsiveVideoProps {
|
|
9
|
+
export declare function MediaShell({ bgColor, maxW, px, py, radius, style, children, ...rest }: MediaShellProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export interface ResponsiveVideoProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
13
11
|
src: string;
|
|
14
12
|
poster?: string;
|
|
15
13
|
aspectRatio?: string;
|
|
@@ -18,14 +16,14 @@ export interface ResponsiveVideoProps {
|
|
|
18
16
|
loop?: boolean;
|
|
19
17
|
controls?: boolean;
|
|
20
18
|
}
|
|
21
|
-
export declare function ResponsiveVideo({ src, poster, aspectRatio, autoPlay, muted, loop, controls, }: ResponsiveVideoProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
-
export interface AudioEmbedProps {
|
|
19
|
+
export declare function ResponsiveVideo({ src, poster, aspectRatio, autoPlay, muted, loop, controls, style, ...rest }: ResponsiveVideoProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export interface AudioEmbedProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
23
21
|
src: string;
|
|
24
22
|
title?: string;
|
|
25
23
|
showWaveform?: boolean;
|
|
26
24
|
}
|
|
27
|
-
export declare function AudioEmbed({ src, title, showWaveform }: AudioEmbedProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
-
export interface AvatarProfileProps {
|
|
25
|
+
export declare function AudioEmbed({ src, title, showWaveform: _showWaveform, style, ...rest }: AudioEmbedProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
export interface AvatarProfileProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
29
27
|
src?: string;
|
|
30
28
|
name: string;
|
|
31
29
|
initials?: string;
|
|
@@ -33,17 +31,17 @@ export interface AvatarProfileProps {
|
|
|
33
31
|
badge?: string;
|
|
34
32
|
borderColor?: string;
|
|
35
33
|
}
|
|
36
|
-
export declare function AvatarProfile({ src, name, initials, size, badge, borderColor, }: AvatarProfileProps): import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
export declare function AvatarProfile({ src, name, initials, size, badge, borderColor, style, ...rest }: AvatarProfileProps): import("react/jsx-runtime").JSX.Element;
|
|
37
35
|
export interface IconGridItem {
|
|
38
36
|
name: string;
|
|
39
37
|
label?: string;
|
|
40
38
|
}
|
|
41
|
-
export interface IconGridProps {
|
|
39
|
+
export interface IconGridProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
42
40
|
icons: IconGridItem[];
|
|
43
41
|
columns?: number | string;
|
|
44
42
|
iconSize?: number;
|
|
45
43
|
}
|
|
46
|
-
export declare function IconGrid({ icons, columns, iconSize }: IconGridProps): import("react/jsx-runtime").JSX.Element;
|
|
44
|
+
export declare function IconGrid({ icons, columns, iconSize, style, ...rest }: IconGridProps): import("react/jsx-runtime").JSX.Element;
|
|
47
45
|
export interface GalleryItem {
|
|
48
46
|
id: string;
|
|
49
47
|
src: string;
|
|
@@ -52,55 +50,55 @@ export interface GalleryItem {
|
|
|
52
50
|
width?: number;
|
|
53
51
|
height?: number;
|
|
54
52
|
}
|
|
55
|
-
export interface ImageGalleryProps {
|
|
53
|
+
export interface ImageGalleryProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'onSelect'> {
|
|
56
54
|
items: GalleryItem[];
|
|
57
55
|
columns?: number | string;
|
|
58
56
|
gap?: number;
|
|
59
57
|
onSelect?: (item: GalleryItem) => void;
|
|
60
58
|
}
|
|
61
|
-
export declare function ImageGallery({ items, columns, gap, onSelect, }: ImageGalleryProps): import("react/jsx-runtime").JSX.Element;
|
|
62
|
-
export interface LightboxGalleryProps {
|
|
59
|
+
export declare function ImageGallery({ items, columns, gap, onSelect, style, ...rest }: ImageGalleryProps): import("react/jsx-runtime").JSX.Element;
|
|
60
|
+
export interface LightboxGalleryProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'onSelect'> {
|
|
63
61
|
items: GalleryItem[];
|
|
64
62
|
columns?: number | string;
|
|
65
63
|
}
|
|
66
|
-
export declare function LightboxGallery({ items, columns }: LightboxGalleryProps): import("react/jsx-runtime").JSX.Element;
|
|
67
|
-
export interface MasonryGridProps {
|
|
64
|
+
export declare function LightboxGallery({ items, columns, style, className, ...rest }: LightboxGalleryProps): import("react/jsx-runtime").JSX.Element;
|
|
65
|
+
export interface MasonryGridProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
68
66
|
items: GalleryItem[];
|
|
69
67
|
columns?: number | string;
|
|
70
68
|
gap?: number;
|
|
71
69
|
}
|
|
72
|
-
export declare function MasonryGrid({ items, columns, gap }: MasonryGridProps): import("react/jsx-runtime").JSX.Element;
|
|
73
|
-
export interface PolaroidImageProps {
|
|
70
|
+
export declare function MasonryGrid({ items, columns, gap, style, className, ...rest }: MasonryGridProps): import("react/jsx-runtime").JSX.Element;
|
|
71
|
+
export interface PolaroidImageProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
74
72
|
src: string;
|
|
75
73
|
caption?: string;
|
|
76
74
|
rotation?: number;
|
|
77
75
|
width?: number;
|
|
78
76
|
}
|
|
79
|
-
export declare function PolaroidImage({ src, caption, rotation, width, }: PolaroidImageProps): import("react/jsx-runtime").JSX.Element;
|
|
80
|
-
export interface LottieOrSVGProps {
|
|
81
|
-
type:
|
|
77
|
+
export declare function PolaroidImage({ src, caption, rotation, width, style, className, ...rest }: PolaroidImageProps): import("react/jsx-runtime").JSX.Element;
|
|
78
|
+
export interface LottieOrSVGProps extends React.ComponentPropsWithoutRef<'img'> {
|
|
79
|
+
type: 'svg' | 'lottie';
|
|
82
80
|
src: string;
|
|
83
81
|
width?: number;
|
|
84
82
|
height?: number;
|
|
85
83
|
alt?: string;
|
|
86
84
|
}
|
|
87
|
-
export declare function LottieOrSVG({ type, src, width, height, alt, }: LottieOrSVGProps): import("react/jsx-runtime").JSX.Element;
|
|
88
|
-
export interface ImageCropperUploaderProps {
|
|
85
|
+
export declare function LottieOrSVG({ type, src, width, height, alt, style, className, ...rest }: LottieOrSVGProps): import("react/jsx-runtime").JSX.Element;
|
|
86
|
+
export interface ImageCropperUploaderProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
89
87
|
onUpload?: (file: File) => void;
|
|
90
88
|
accept?: string;
|
|
91
89
|
maxSizeMB?: number;
|
|
92
90
|
label?: string;
|
|
93
91
|
}
|
|
94
|
-
export declare function ImageCropperUploader({ onUpload, accept, maxSizeMB, label, }: ImageCropperUploaderProps): import("react/jsx-runtime").JSX.Element;
|
|
95
|
-
export interface MapEmbedProps {
|
|
92
|
+
export declare function ImageCropperUploader({ onUpload, accept, maxSizeMB, label, style, className, ...rest }: ImageCropperUploaderProps): import("react/jsx-runtime").JSX.Element;
|
|
93
|
+
export interface MapEmbedProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
96
94
|
address?: string;
|
|
97
95
|
lat?: number;
|
|
98
96
|
lng?: number;
|
|
99
97
|
zoom?: number;
|
|
100
98
|
height?: number;
|
|
101
|
-
provider?:
|
|
99
|
+
provider?: 'google' | 'openstreetmap';
|
|
102
100
|
title?: string;
|
|
103
101
|
borderRadius?: number;
|
|
104
102
|
}
|
|
105
|
-
export declare function MapEmbed({ address, lat, lng, zoom, height, provider, title, borderRadius, }: MapEmbedProps): import("react/jsx-runtime").JSX.Element;
|
|
103
|
+
export declare function MapEmbed({ address, lat, lng, zoom, height, provider, title, borderRadius, style, className, ...rest }: MapEmbedProps): import("react/jsx-runtime").JSX.Element;
|
|
106
104
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/media/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAoCxE,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,wBAAwB,CAAC,SAAS,CAAC;IAChF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,UAAU,CAAC,EACzB,OAAO,EACP,IAAU,EACV,EAAO,EACP,EAAO,EACP,MAAM,EACN,KAAU,EACV,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,eAAe,2CAqBjB;AAID,MAAM,WAAW,oBAAqB,SAAQ,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC;IACjF,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,eAAe,CAAC,EAC9B,GAAG,EACH,MAAM,EACN,WAAoB,EACpB,QAAgB,EAChB,KAAY,EACZ,IAAY,EACZ,QAAe,EACf,KAAU,EACV,GAAG,IAAI,EACR,EAAE,oBAAoB,2CAkCtB;AAID,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,wBAAwB,CA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AG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,QAAQ,GAAG,eAAe,CAAC;IACtC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,wBAAgB,QAAQ,CAAC,EACvB,OAAO,EACP,GAAG,EACH,GAAG,EACH,IAAS,EACT,MAAY,EACZ,QAA0B,EAC1B,KAAK,EACL,YAAY,EACZ,KAAU,EACV,SAAc,EACd,GAAG,IAAI,EACR,EAAE,aAAa,2CA+Df"}
|
|
@@ -1,33 +1,34 @@
|
|
|
1
|
-
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
export interface CookieConsentProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
2
3
|
message?: string;
|
|
3
4
|
ctaLabel?: string;
|
|
4
5
|
declineLabel?: string;
|
|
5
6
|
onAccept?: () => void;
|
|
6
7
|
onDecline?: () => void;
|
|
7
|
-
position?:
|
|
8
|
+
position?: 'top' | 'bottom';
|
|
8
9
|
}
|
|
9
|
-
export declare function CookieConsent({ message, ctaLabel, declineLabel, onAccept, onDecline, position, }: CookieConsentProps): import("react/jsx-runtime").JSX.Element | null;
|
|
10
|
-
export interface ScrollProgressBarProps {
|
|
10
|
+
export declare function CookieConsent({ message, ctaLabel, declineLabel, onAccept, onDecline, position, style, ...rest }: CookieConsentProps): import("react/jsx-runtime").JSX.Element | null;
|
|
11
|
+
export interface ScrollProgressBarProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
11
12
|
color?: string;
|
|
12
13
|
height?: number;
|
|
13
14
|
zIndex?: number;
|
|
14
15
|
}
|
|
15
|
-
export declare function ScrollProgressBar({ color, height, zIndex, }: ScrollProgressBarProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
export interface ThemeToggleProps {
|
|
16
|
+
export declare function ScrollProgressBar({ color, height, zIndex, style, ...rest }: ScrollProgressBarProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export interface ThemeToggleProps extends Omit<React.ComponentPropsWithoutRef<'button'>, 'onToggle'> {
|
|
17
18
|
isDark?: boolean;
|
|
18
19
|
onToggle?: (dark: boolean) => void;
|
|
19
20
|
size?: number;
|
|
20
21
|
}
|
|
21
|
-
export declare function ThemeToggle({ isDark, onToggle, size, }: ThemeToggleProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
-
export interface MiscEmptyStateProps {
|
|
22
|
+
export declare function ThemeToggle({ isDark, onToggle, size, style, ...rest }: ThemeToggleProps): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export interface MiscEmptyStateProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
23
24
|
icon?: string;
|
|
24
25
|
title?: string;
|
|
25
26
|
description?: string;
|
|
26
27
|
ctaLabel?: string;
|
|
27
28
|
onCta?: () => void;
|
|
28
29
|
}
|
|
29
|
-
export declare function EmptyState({ icon, title, description, ctaLabel, onCta, }: MiscEmptyStateProps): import("react/jsx-runtime").JSX.Element;
|
|
30
|
-
export interface AppInstallBannerProps {
|
|
30
|
+
export declare function EmptyState({ icon, title, description, ctaLabel, onCta, style, ...rest }: MiscEmptyStateProps): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
export interface AppInstallBannerProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
31
32
|
title?: string;
|
|
32
33
|
description?: string;
|
|
33
34
|
iosUrl?: string;
|
|
@@ -35,19 +36,19 @@ export interface AppInstallBannerProps {
|
|
|
35
36
|
icon?: string;
|
|
36
37
|
onDismiss?: () => void;
|
|
37
38
|
}
|
|
38
|
-
export declare function AppInstallBanner({ title, description, iosUrl, androidUrl, icon, onDismiss, }: AppInstallBannerProps): import("react/jsx-runtime").JSX.Element | null;
|
|
39
|
-
export interface DownloadBlockProps {
|
|
39
|
+
export declare function AppInstallBanner({ title, description, iosUrl, androidUrl, icon, onDismiss, style, ...rest }: AppInstallBannerProps): import("react/jsx-runtime").JSX.Element | null;
|
|
40
|
+
export interface DownloadBlockProps extends React.ComponentPropsWithoutRef<'a'> {
|
|
40
41
|
fileName: string;
|
|
41
42
|
fileSize?: string;
|
|
42
43
|
href: string;
|
|
43
44
|
icon?: string;
|
|
44
45
|
}
|
|
45
|
-
export declare function DownloadBlock({ fileName, fileSize, href, icon, }: DownloadBlockProps): import("react/jsx-runtime").JSX.Element;
|
|
46
|
-
export interface MiscInlineCodeProps {
|
|
46
|
+
export declare function DownloadBlock({ fileName, fileSize, href, icon, style, className, ...rest }: DownloadBlockProps): import("react/jsx-runtime").JSX.Element;
|
|
47
|
+
export interface MiscInlineCodeProps extends React.ComponentPropsWithoutRef<'span'> {
|
|
47
48
|
children: string;
|
|
48
49
|
copyable?: boolean;
|
|
49
50
|
}
|
|
50
|
-
export declare function InlineCode({ children, copyable }: MiscInlineCodeProps): import("react/jsx-runtime").JSX.Element;
|
|
51
|
+
export declare function InlineCode({ children, copyable, style, className, ...rest }: MiscInlineCodeProps): import("react/jsx-runtime").JSX.Element;
|
|
51
52
|
export interface RSSItem {
|
|
52
53
|
id: string;
|
|
53
54
|
title: string;
|
|
@@ -55,9 +56,9 @@ export interface RSSItem {
|
|
|
55
56
|
date?: string;
|
|
56
57
|
summary?: string;
|
|
57
58
|
}
|
|
58
|
-
export interface RSSFeedProps {
|
|
59
|
+
export interface RSSFeedProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
59
60
|
items: RSSItem[];
|
|
60
61
|
title?: string;
|
|
61
62
|
}
|
|
62
|
-
export declare function RSSFeed({ items, title }: RSSFeedProps): import("react/jsx-runtime").JSX.Element;
|
|
63
|
+
export declare function RSSFeed({ items, title, style, className, ...rest }: RSSFeedProps): import("react/jsx-runtime").JSX.Element;
|
|
63
64
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.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;AAID,MAAM,WAAW,mBAAoB,SAAQ,KAAK,CAAC,wBAAwB,CAAC,MAAM,CAAC;IACjF,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,UAAU,CAAC,EACzB,QAAQ,EACR,QAAe,EACf,KAAU,EACV,SAAc,EACd,GAAG,IAAI,EACR,EAAE,mBAAmB,2CAkDrB;AAID,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,YAAa,SAAQ,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC;IACzE,KAAK,EAAE,OAAO,EAAE,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,OAAO,CAAC,EACtB,KAAU,EACV,KAAwB,EACxB,KAAU,EACV,SAAc,EACd,GAAG,IAAI,EACR,EAAE,YAAY,2CAoEd"}
|
|
@@ -1,24 +1,18 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
export interface OverlayBaseProps {
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
export interface OverlayBaseProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
3
3
|
isOpen: boolean;
|
|
4
4
|
onClose?: () => void;
|
|
5
|
-
children?: React.ReactNode;
|
|
6
5
|
maxW?: number;
|
|
7
6
|
showClose?: boolean;
|
|
8
|
-
position?:
|
|
7
|
+
position?: 'center' | 'top' | 'bottom';
|
|
9
8
|
}
|
|
10
|
-
export declare function OverlayBase({ isOpen, onClose, children, maxW, showClose, position, }: OverlayBaseProps): import("react/jsx-runtime").JSX.Element | null;
|
|
11
|
-
export interface GenericModalProps {
|
|
12
|
-
isOpen: boolean;
|
|
9
|
+
export declare function OverlayBase({ isOpen, onClose, children, maxW, showClose, position, style, className, ...rest }: OverlayBaseProps): import("react/jsx-runtime").JSX.Element | null;
|
|
10
|
+
export interface GenericModalProps extends OverlayBaseProps {
|
|
13
11
|
title?: string;
|
|
14
|
-
onClose?: () => void;
|
|
15
|
-
maxW?: number;
|
|
16
|
-
children?: React.ReactNode;
|
|
17
12
|
footer?: React.ReactNode;
|
|
18
13
|
}
|
|
19
|
-
export declare function GenericModal({ isOpen, title, onClose, maxW, children, footer, }: GenericModalProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
export interface ConfirmDialogProps {
|
|
21
|
-
isOpen: boolean;
|
|
14
|
+
export declare function GenericModal({ isOpen, title, onClose, maxW, children, footer, ...rest }: GenericModalProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export interface ConfirmDialogProps extends Omit<OverlayBaseProps, 'children'> {
|
|
22
16
|
title?: string;
|
|
23
17
|
message?: string;
|
|
24
18
|
confirmLabel?: string;
|
|
@@ -27,41 +21,38 @@ export interface ConfirmDialogProps {
|
|
|
27
21
|
onConfirm?: () => void;
|
|
28
22
|
onCancel?: () => void;
|
|
29
23
|
}
|
|
30
|
-
export declare function ConfirmDialog({ isOpen, title, message, confirmLabel, cancelLabel, danger, onConfirm, onCancel, }: ConfirmDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
31
|
-
export interface FormDialogProps {
|
|
32
|
-
isOpen: boolean;
|
|
24
|
+
export declare function ConfirmDialog({ isOpen, title, message, confirmLabel, cancelLabel, danger, onConfirm, onCancel, ...rest }: ConfirmDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export interface FormDialogProps extends Omit<OverlayBaseProps, 'onSubmit'> {
|
|
33
26
|
title?: string;
|
|
34
|
-
onClose?: () => void;
|
|
35
27
|
onSubmit?: (data: FormData) => void;
|
|
36
28
|
submitLabel?: string;
|
|
37
|
-
children?: React.ReactNode;
|
|
38
29
|
}
|
|
39
|
-
export declare function FormDialog({ isOpen, title, onClose, onSubmit, submitLabel, children, }: FormDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
40
|
-
export interface LoadingOverlayProps {
|
|
30
|
+
export declare function FormDialog({ isOpen, title, onClose, onSubmit, submitLabel, children, ...rest }: FormDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
export interface LoadingOverlayProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
41
32
|
isOpen: boolean;
|
|
42
33
|
message?: string;
|
|
43
34
|
}
|
|
44
|
-
export declare function LoadingOverlay({ isOpen, message }: LoadingOverlayProps): import("react/jsx-runtime").JSX.Element | null;
|
|
45
|
-
export interface TooltipProps {
|
|
35
|
+
export declare function LoadingOverlay({ isOpen, message, style, className, ...rest }: LoadingOverlayProps): import("react/jsx-runtime").JSX.Element | null;
|
|
36
|
+
export interface TooltipProps extends React.ComponentPropsWithoutRef<'span'> {
|
|
46
37
|
text: string;
|
|
47
|
-
position?:
|
|
38
|
+
position?: 'top' | 'bottom' | 'left' | 'right';
|
|
48
39
|
children: React.ReactNode;
|
|
49
40
|
}
|
|
50
|
-
export declare function Tooltip({ text, position, children }: TooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
51
|
-
export type ToastVariant =
|
|
41
|
+
export declare function Tooltip({ text, position, children, style, className, ...rest }: TooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
42
|
+
export type ToastVariant = 'info' | 'success' | 'warning' | 'error';
|
|
52
43
|
export interface Toast {
|
|
53
44
|
id: string;
|
|
54
45
|
message: string;
|
|
55
46
|
variant?: ToastVariant;
|
|
56
47
|
duration?: number;
|
|
57
48
|
}
|
|
58
|
-
export interface ToastBannersProps {
|
|
49
|
+
export interface ToastBannersProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
59
50
|
toasts: Toast[];
|
|
60
51
|
onDismiss?: (id: string) => void;
|
|
61
|
-
position?:
|
|
52
|
+
position?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';
|
|
62
53
|
}
|
|
63
|
-
export declare function ToastBanners({ toasts, onDismiss, position, }: ToastBannersProps): import("react/jsx-runtime").JSX.Element;
|
|
64
|
-
export interface CookieNoticeProps {
|
|
54
|
+
export declare function ToastBanners({ toasts, onDismiss, position, style, className, ...rest }: ToastBannersProps): import("react/jsx-runtime").JSX.Element;
|
|
55
|
+
export interface CookieNoticeProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
65
56
|
isOpen: boolean;
|
|
66
57
|
title?: string;
|
|
67
58
|
message?: string;
|
|
@@ -69,15 +60,13 @@ export interface CookieNoticeProps {
|
|
|
69
60
|
onDecline?: () => void;
|
|
70
61
|
onSettings?: () => void;
|
|
71
62
|
}
|
|
72
|
-
export declare function CookieNotice({ isOpen, title, message, onAccept, onDecline, onSettings, }: CookieNoticeProps): import("react/jsx-runtime").JSX.Element | null;
|
|
73
|
-
export interface WelcomePopupProps {
|
|
74
|
-
isOpen: boolean;
|
|
63
|
+
export declare function CookieNotice({ isOpen, title, message, onAccept, onDecline, onSettings, style, className, ...rest }: CookieNoticeProps): import("react/jsx-runtime").JSX.Element | null;
|
|
64
|
+
export interface WelcomePopupProps extends OverlayBaseProps {
|
|
75
65
|
title?: string;
|
|
76
66
|
message?: string;
|
|
77
67
|
ctaLabel?: string;
|
|
78
68
|
onCta?: () => void;
|
|
79
|
-
onClose?: () => void;
|
|
80
69
|
image?: string;
|
|
81
70
|
}
|
|
82
|
-
export declare function WelcomePopup({ isOpen, title, message, ctaLabel, onCta, onClose, image, }: WelcomePopupProps): import("react/jsx-runtime").JSX.Element;
|
|
71
|
+
export declare function WelcomePopup({ isOpen, title, message, ctaLabel, onCta, onClose, image, ...rest }: WelcomePopupProps): import("react/jsx-runtime").JSX.Element;
|
|
83
72
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/modals/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAA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EACR,EAAE,iBAAiB,2CAsEnB"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import React from
|
|
1
|
+
import type React from 'react';
|
|
2
2
|
export type AnchorItem = {
|
|
3
3
|
label: string;
|
|
4
4
|
targetId: string;
|
|
5
5
|
};
|
|
6
|
-
export interface AnchorLinksProps {
|
|
6
|
+
export interface AnchorLinksProps extends React.ComponentPropsWithoutRef<'nav'> {
|
|
7
7
|
as?: React.ElementType;
|
|
8
8
|
items: AnchorItem[];
|
|
9
|
-
orientation?:
|
|
9
|
+
orientation?: 'horizontal' | 'vertical';
|
|
10
10
|
offset?: number;
|
|
11
11
|
maxW?: number;
|
|
12
12
|
px?: number;
|
|
@@ -18,8 +18,6 @@ export interface AnchorLinksProps {
|
|
|
18
18
|
accentColor?: string;
|
|
19
19
|
borderColor?: string;
|
|
20
20
|
fontFamily?: string;
|
|
21
|
-
style?: React.CSSProperties;
|
|
22
|
-
className?: string;
|
|
23
21
|
}
|
|
24
|
-
export declare function AnchorLinks(
|
|
22
|
+
export declare function AnchorLinks({ as: Tag, items, orientation, offset, maxW, px, py, radius: radiusProp, gap, bgColor: bgColorProp, textColor: textColorProp, accentColor: accentColorProp, borderColor: borderColorProp, fontFamily: fontFamilyProp, style, className, ...rest }: AnchorLinksProps): import("react/jsx-runtime").JSX.Element;
|
|
25
23
|
//# sourceMappingURL=AnchorLinks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnchorLinks.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"AnchorLinks.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/AnchorLinks.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,MAAM,MAAM,UAAU,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CAAC;AAE7D,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC;IAC7E,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IACvB,KAAK,EAAE,UAAU,EAAE,CAAC;IACpB,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACxC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,WAAW,CAAC,EAC1B,EAAE,EAAE,GAAW,EACf,KAAK,EACL,WAA0B,EAC1B,MAAW,EACX,IAAW,EACX,EAAO,EACP,EAAO,EACP,MAAM,EAAE,UAAU,EAClB,GAAO,EACP,OAAO,EAAE,WAAW,EACpB,SAAS,EAAE,aAAa,EACxB,WAAW,EAAE,eAAe,EAC5B,WAAW,EAAE,eAAe,EAC5B,UAAU,EAAE,cAAc,EAC1B,KAAU,EACV,SAAc,EACd,GAAG,IAAI,EACR,EAAE,gBAAgB,2CA6GlB"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React from
|
|
1
|
+
import type React from 'react';
|
|
2
2
|
export type BreadcrumbItem = {
|
|
3
3
|
label: string;
|
|
4
4
|
href?: string;
|
|
5
5
|
};
|
|
6
|
-
export interface BreadcrumbsProps {
|
|
6
|
+
export interface BreadcrumbsProps extends React.ComponentPropsWithoutRef<'nav'> {
|
|
7
7
|
as?: React.ElementType;
|
|
8
8
|
items: BreadcrumbItem[];
|
|
9
9
|
showHomeIcon?: boolean;
|
|
@@ -18,8 +18,6 @@ export interface BreadcrumbsProps {
|
|
|
18
18
|
accentColor?: string;
|
|
19
19
|
borderColor?: string;
|
|
20
20
|
fontFamily?: string;
|
|
21
|
-
style?: React.CSSProperties;
|
|
22
|
-
className?: string;
|
|
23
21
|
}
|
|
24
|
-
export declare function Breadcrumbs(
|
|
22
|
+
export declare function Breadcrumbs({ as: Tag, items, showHomeIcon, maxW, px, py, radius, gap, bgColor: bgColorProp, textColor: textColorProp, accentColor: accentColorProp, borderColor: borderColorProp, fontFamily: fontFamilyProp, style, className, ...rest }: BreadcrumbsProps): import("react/jsx-runtime").JSX.Element;
|
|
25
23
|
//# sourceMappingURL=Breadcrumbs.d.ts.map
|