@electroplix/components 0.3.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 +130 -516
- 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.d.ts +1 -1
- package/dist/index.esm.js +11575 -9459
- 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 +24 -25
- 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 +4 -3
- 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 +25 -22
- 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 +19 -22
- package/dist/src/components/lists-cards/index.d.ts.map +1 -1
- package/dist/src/components/marketing/index.d.ts +24 -24
- package/dist/src/components/marketing/index.d.ts.map +1 -1
- package/dist/src/components/media/index.d.ts +31 -33
- 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 +14 -15
- 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 +100 -85
- 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,66 +1,66 @@
|
|
|
1
|
-
import React from
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export interface FAQItem {
|
|
3
3
|
id: string;
|
|
4
4
|
question: string;
|
|
5
5
|
answer: string | React.ReactNode;
|
|
6
6
|
}
|
|
7
|
-
export interface FAQAccordionProps {
|
|
7
|
+
export interface FAQAccordionProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
8
8
|
items: FAQItem[];
|
|
9
9
|
title?: string;
|
|
10
10
|
allowMultiple?: boolean;
|
|
11
11
|
}
|
|
12
|
-
export declare function FAQAccordion({ items, title, allowMultiple }: FAQAccordionProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
export interface
|
|
12
|
+
export declare function FAQAccordion({ items, title, allowMultiple, style, className, ...rest }: FAQAccordionProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export interface OnboardingWizardStep {
|
|
14
14
|
id: string;
|
|
15
15
|
title: string;
|
|
16
16
|
description?: string;
|
|
17
17
|
icon?: string;
|
|
18
18
|
content?: React.ReactNode;
|
|
19
19
|
}
|
|
20
|
-
export interface OnboardingWizardProps {
|
|
21
|
-
steps:
|
|
20
|
+
export interface OnboardingWizardProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
21
|
+
steps: OnboardingWizardStep[];
|
|
22
22
|
onComplete?: () => void;
|
|
23
23
|
completeLabel?: string;
|
|
24
24
|
}
|
|
25
|
-
export declare function OnboardingWizard({ steps, onComplete, completeLabel }: OnboardingWizardProps): import("react/jsx-runtime").JSX.Element | null;
|
|
25
|
+
export declare function OnboardingWizard({ steps, onComplete, completeLabel, style, className, ...rest }: OnboardingWizardProps): import("react/jsx-runtime").JSX.Element | null;
|
|
26
26
|
export interface TourStep {
|
|
27
27
|
id: string;
|
|
28
28
|
title: string;
|
|
29
29
|
content: string;
|
|
30
30
|
targetSelector?: string;
|
|
31
31
|
}
|
|
32
|
-
export interface ProductTourProps {
|
|
32
|
+
export interface ProductTourProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
33
33
|
steps: TourStep[];
|
|
34
34
|
isOpen: boolean;
|
|
35
35
|
onClose?: () => void;
|
|
36
36
|
onComplete?: () => void;
|
|
37
37
|
}
|
|
38
|
-
export declare function ProductTour({ steps, isOpen, onClose, onComplete }: ProductTourProps): import("react/jsx-runtime").JSX.Element | null;
|
|
39
|
-
export interface TooltipHelpProps {
|
|
38
|
+
export declare function ProductTour({ steps, isOpen, onClose, onComplete, style, className, ...rest }: ProductTourProps): import("react/jsx-runtime").JSX.Element | null;
|
|
39
|
+
export interface TooltipHelpProps extends React.ComponentPropsWithoutRef<'span'> {
|
|
40
40
|
text: string;
|
|
41
|
-
position?:
|
|
41
|
+
position?: 'top' | 'bottom' | 'left' | 'right';
|
|
42
42
|
iconSize?: number;
|
|
43
43
|
}
|
|
44
|
-
export declare function TooltipHelp({ text, position, iconSize }: TooltipHelpProps): import("react/jsx-runtime").JSX.Element;
|
|
44
|
+
export declare function TooltipHelp({ text, position, iconSize, style, className, ...rest }: TooltipHelpProps): import("react/jsx-runtime").JSX.Element;
|
|
45
45
|
export interface Message {
|
|
46
46
|
id: string;
|
|
47
47
|
text: string;
|
|
48
|
-
sender:
|
|
48
|
+
sender: 'user' | 'agent';
|
|
49
49
|
time?: string;
|
|
50
50
|
}
|
|
51
|
-
export interface SupportChatProps {
|
|
51
|
+
export interface SupportChatProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
52
52
|
messages?: Message[];
|
|
53
53
|
onSend?: (text: string) => void;
|
|
54
54
|
title?: string;
|
|
55
55
|
isOpen?: boolean;
|
|
56
56
|
onToggle?: () => void;
|
|
57
57
|
}
|
|
58
|
-
export declare function SupportChat({ messages, onSend, title, isOpen, onToggle }: SupportChatProps): import("react/jsx-runtime").JSX.Element;
|
|
59
|
-
export interface ContactSupportBlockProps {
|
|
58
|
+
export declare function SupportChat({ messages, onSend, title, isOpen, onToggle, style, className, ...rest }: SupportChatProps): import("react/jsx-runtime").JSX.Element;
|
|
59
|
+
export interface ContactSupportBlockProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
60
60
|
email?: string;
|
|
61
61
|
phone?: string;
|
|
62
62
|
title?: string;
|
|
63
63
|
description?: string;
|
|
64
64
|
}
|
|
65
|
-
export declare function ContactSupportBlock({ email, phone, title, description }: ContactSupportBlockProps): import("react/jsx-runtime").JSX.Element;
|
|
65
|
+
export declare function ContactSupportBlock({ email, phone, title, description, style, className, ...rest }: ContactSupportBlockProps): import("react/jsx-runtime").JSX.Element;
|
|
66
66
|
//# 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/onboarding/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAsC,MAAM,OAAO,CAAC;AA6B3D,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;CAClC;AAED,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC;IAC9E,KAAK,EAAE,OAAO,EAAE,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,wBAAgB,YAAY,CAAC,EAC3B,KAAU,EACV,KAAoC,EACpC,aAAqB,EACrB,KAAU,EACV,SAAc,EACd,GAAG,IAAI,EACR,EAAE,iBAAiB,2CA+FnB;AAID,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,KAAK,CAAC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WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC;IAC7E,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;IACrB,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,wBAAgB,WAAW,CAAC,EAC1B,QAAa,EACb,MAAM,EACN,KAAsB,EACtB,MAAc,EACd,QAAQ,EACR,KAAU,EACV,SAAc,EACd,GAAG,IAAI,EACR,EAAE,gBAAgB,2CAkLlB;AAID,MAAM,WAAW,wBAAyB,SAAQ,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC;IACrF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,wBAAgB,mBAAmB,CAAC,EAClC,KAAK,EACL,KAAK,EACL,KAAoB,EACpB,WAAyC,EACzC,KAAU,EACV,SAAc,EACd,GAAG,IAAI,EACR,EAAE,wBAAwB,2CAsH1B"}
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
export interface SiteSearchBarProps extends React.ComponentPropsWithoutRef<'form'> {
|
|
2
3
|
placeholder?: string;
|
|
3
4
|
onSearch?: (q: string) => void;
|
|
4
5
|
defaultValue?: string;
|
|
5
6
|
autoFocus?: boolean;
|
|
6
7
|
}
|
|
7
|
-
export declare function SiteSearchBar({ placeholder, onSearch, defaultValue, autoFocus }: SiteSearchBarProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export interface AutoSuggestProps {
|
|
8
|
+
export declare function SiteSearchBar({ placeholder, onSearch, defaultValue, autoFocus, style, className, ...rest }: SiteSearchBarProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export interface AutoSuggestProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'onSelect'> {
|
|
9
10
|
suggestions: string[];
|
|
10
11
|
onSelect?: (val: string) => void;
|
|
11
12
|
placeholder?: string;
|
|
12
13
|
onQueryChange?: (q: string) => void;
|
|
13
14
|
}
|
|
14
|
-
export declare function AutoSuggest({ suggestions, onSelect, placeholder, onQueryChange }: AutoSuggestProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare function AutoSuggest({ suggestions, onSelect, placeholder, onQueryChange, style, className, ...rest }: AutoSuggestProps): import("react/jsx-runtime").JSX.Element;
|
|
15
16
|
export interface FacetOption {
|
|
16
17
|
id: string;
|
|
17
18
|
label: string;
|
|
@@ -22,12 +23,12 @@ export interface Facet {
|
|
|
22
23
|
name: string;
|
|
23
24
|
options: FacetOption[];
|
|
24
25
|
}
|
|
25
|
-
export interface FacetFiltersProps {
|
|
26
|
+
export interface FacetFiltersProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'onChange'> {
|
|
26
27
|
facets: Facet[];
|
|
27
28
|
selected?: Record<string, Set<string>>;
|
|
28
29
|
onChange?: (facetId: string, optionId: string, checked: boolean) => void;
|
|
29
30
|
}
|
|
30
|
-
export declare function FacetFilters({ facets, selected, onChange }: FacetFiltersProps): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
export declare function FacetFilters({ facets, selected, onChange, style, className, ...rest }: FacetFiltersProps): import("react/jsx-runtime").JSX.Element;
|
|
31
32
|
export interface SearchItem {
|
|
32
33
|
id: string;
|
|
33
34
|
title: string;
|
|
@@ -37,22 +38,22 @@ export interface SearchItem {
|
|
|
37
38
|
badge?: string;
|
|
38
39
|
meta?: string;
|
|
39
40
|
}
|
|
40
|
-
export interface SearchResultCardProps {
|
|
41
|
+
export interface SearchResultCardProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'onClick'> {
|
|
41
42
|
item: SearchItem;
|
|
42
43
|
onClick?: (item: SearchItem) => void;
|
|
43
44
|
}
|
|
44
|
-
export declare function SearchResultCard({ item, onClick }: SearchResultCardProps): import("react/jsx-runtime").JSX.Element;
|
|
45
|
-
export interface SearchResultsProps {
|
|
45
|
+
export declare function SearchResultCard({ item, onClick, style, className, ...rest }: SearchResultCardProps): import("react/jsx-runtime").JSX.Element;
|
|
46
|
+
export interface SearchResultsProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
46
47
|
items: SearchItem[];
|
|
47
48
|
query?: string;
|
|
48
49
|
onItemClick?: (item: SearchItem) => void;
|
|
49
50
|
loading?: boolean;
|
|
50
51
|
}
|
|
51
|
-
export declare function SearchResults({ items, query, onItemClick, loading }: SearchResultsProps): import("react/jsx-runtime").JSX.Element;
|
|
52
|
-
export interface SearchEmptyStateProps {
|
|
52
|
+
export declare function SearchResults({ items, query, onItemClick, loading, style, className, ...rest }: SearchResultsProps): import("react/jsx-runtime").JSX.Element;
|
|
53
|
+
export interface SearchEmptyStateProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
53
54
|
query?: string;
|
|
54
55
|
title?: string;
|
|
55
56
|
description?: string;
|
|
56
57
|
}
|
|
57
|
-
export declare function SearchEmptyState({ query, title, description }: SearchEmptyStateProps): import("react/jsx-runtime").JSX.Element;
|
|
58
|
+
export declare function SearchEmptyState({ query, title, description, style, className, ...rest }: SearchEmptyStateProps): import("react/jsx-runtime").JSX.Element;
|
|
58
59
|
//# 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/search/index.tsx"],"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AC;CACnB;AAED,wBAAgB,aAAa,CAAC,EAC5B,KAAU,EACV,KAAK,EACL,WAAW,EACX,OAAO,EACP,KAAU,EACV,SAAc,EACd,GAAG,IAAI,EACR,EAAE,kBAAkB,2CAiDpB;AAID,MAAM,WAAW,qBAAsB,SAAQ,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC;IAClF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,EACL,KAAK,EACL,WAAW,EACX,KAAU,EACV,SAAc,EACd,GAAG,IAAI,EACR,EAAE,qBAAqB,2CA0DvB"}
|
|
@@ -1,48 +1,47 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
export interface LogoDisplayProps {
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface LogoDisplayProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
3
3
|
src: string;
|
|
4
4
|
alt?: string;
|
|
5
5
|
width?: number;
|
|
6
6
|
height?: number;
|
|
7
7
|
href?: string;
|
|
8
8
|
}
|
|
9
|
-
export declare function LogoDisplay({ src, alt, width, height, href }: LogoDisplayProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export interface AnimatedBrandMarkProps {
|
|
9
|
+
export declare function LogoDisplay({ src, alt, width, height, href, style, className, ...rest }: LogoDisplayProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export interface AnimatedBrandMarkProps extends React.ComponentPropsWithoutRef<'span'> {
|
|
11
11
|
text: string;
|
|
12
12
|
fontSize?: number;
|
|
13
13
|
accentColor?: string;
|
|
14
14
|
fontFamily?: string;
|
|
15
15
|
}
|
|
16
|
-
export declare function AnimatedBrandMark({ text, fontSize, accentColor, fontFamily }: AnimatedBrandMarkProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
export interface TaglinesProps {
|
|
16
|
+
export declare function AnimatedBrandMark({ text, fontSize, accentColor, fontFamily, style, className, ...rest }: AnimatedBrandMarkProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export interface TaglinesProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
18
18
|
lines: string[];
|
|
19
19
|
rotate?: boolean;
|
|
20
20
|
interval?: number;
|
|
21
21
|
}
|
|
22
|
-
export declare function Taglines({ lines, rotate, interval }: TaglinesProps): import("react/jsx-runtime").JSX.Element | null;
|
|
23
|
-
export interface BrandingShellProps {
|
|
22
|
+
export declare function Taglines({ lines, rotate, interval, style, className, ...rest }: TaglinesProps): import("react/jsx-runtime").JSX.Element | null;
|
|
23
|
+
export interface BrandingShellProps extends React.ComponentPropsWithoutRef<'section'> {
|
|
24
24
|
logoSrc?: string;
|
|
25
25
|
brandName?: string;
|
|
26
26
|
tagline?: string;
|
|
27
|
-
children?: React.ReactNode;
|
|
28
27
|
maxW?: number;
|
|
29
28
|
}
|
|
30
|
-
export declare function BrandingShell({ logoSrc, brandName, tagline, children, maxW }: BrandingShellProps): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
export declare function BrandingShell({ logoSrc, brandName, tagline, children, maxW, style, className, ...rest }: BrandingShellProps): import("react/jsx-runtime").JSX.Element;
|
|
31
30
|
export interface BrandIcon {
|
|
32
31
|
id: string;
|
|
33
32
|
src: string;
|
|
34
33
|
name: string;
|
|
35
34
|
href?: string;
|
|
36
35
|
}
|
|
37
|
-
export interface BrandIconGridProps {
|
|
36
|
+
export interface BrandIconGridProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
38
37
|
icons: BrandIcon[];
|
|
39
|
-
columns?: number;
|
|
38
|
+
columns?: number | string;
|
|
40
39
|
iconSize?: number;
|
|
41
40
|
}
|
|
42
|
-
export declare function BrandIconGrid({ icons, columns, iconSize }: BrandIconGridProps): import("react/jsx-runtime").JSX.Element;
|
|
43
|
-
export interface FaviconUploaderProps {
|
|
41
|
+
export declare function BrandIconGrid({ icons, columns, iconSize, style, className, ...rest }: BrandIconGridProps): import("react/jsx-runtime").JSX.Element;
|
|
42
|
+
export interface FaviconUploaderProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
44
43
|
onUpload?: (file: File) => void;
|
|
45
44
|
currentSrc?: string;
|
|
46
45
|
}
|
|
47
|
-
export declare function FaviconUploader({ onUpload, currentSrc }: FaviconUploaderProps): import("react/jsx-runtime").JSX.Element;
|
|
46
|
+
export declare function FaviconUploader({ onUpload, currentSrc, style, className, ...rest }: FaviconUploaderProps): import("react/jsx-runtime").JSX.Element;
|
|
48
47
|
//# 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/site-identity/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAA2B,MAAM,OAAO,CAAC;AA2BhD,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC;IAC7E,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,wBAAgB,WAAW,CAAC,EAC1B,GAAG,EACH,GAAY,EACZ,KAAW,EACX,MAAM,EACN,IAAI,EACJ,KAAU,EACV,SAAc,EACd,GAAG,IAAI,EACR,EAAE,gBAAgB,2CA+BlB;AAID,MAAM,WAAW,sBAAuB,SAAQ,KAAK,CAAC,wBAAwB,CAAC,MAAM,CAAC;IACpF,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,iBAAiB,CAAC,EAChC,IAAI,EACJ,QAA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,kBAAkB,2CA6EpB;AAID,MAAM,WAAW,oBAAqB,SAAQ,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC;IACjF,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IAChC,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,eAAe,CAAC,EAC9B,QAAQ,EACR,UAAU,EACV,KAAU,EACV,SAAc,EACd,GAAG,IAAI,EACR,EAAE,oBAAoB,2CA0GtB"}
|
|
@@ -1,28 +1,29 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
export type ShareNetwork = 'twitter' | 'facebook' | 'linkedin' | 'reddit' | 'email' | 'copy';
|
|
3
|
+
export interface SocialShareBarProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
3
4
|
url: string;
|
|
4
5
|
title?: string;
|
|
5
6
|
networks?: ShareNetwork[];
|
|
6
7
|
compact?: boolean;
|
|
7
8
|
}
|
|
8
|
-
export declare function SocialShareBar({ url, title, networks, compact }: SocialShareBarProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export type SocialProvider =
|
|
10
|
-
export interface SocialLoginButtonsProps {
|
|
9
|
+
export declare function SocialShareBar({ url, title, networks, compact, style, className, ...rest }: SocialShareBarProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export type SocialProvider = 'google' | 'github' | 'twitter' | 'facebook' | 'discord';
|
|
11
|
+
export interface SocialLoginButtonsProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
11
12
|
providers: SocialProvider[];
|
|
12
13
|
onLogin?: (provider: SocialProvider) => void;
|
|
13
|
-
layout?:
|
|
14
|
+
layout?: 'horizontal' | 'vertical';
|
|
14
15
|
}
|
|
15
|
-
export declare function SocialLoginButtons({ providers, onLogin, layout }: SocialLoginButtonsProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
export type EmbedType =
|
|
17
|
-
export interface SocialEmbedProps {
|
|
16
|
+
export declare function SocialLoginButtons({ providers, onLogin, layout, style, className, ...rest }: SocialLoginButtonsProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export type EmbedType = 'youtube' | 'twitter' | 'instagram' | 'spotify' | 'custom';
|
|
18
|
+
export interface SocialEmbedProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
18
19
|
type: EmbedType;
|
|
19
20
|
url: string;
|
|
20
21
|
width?: string;
|
|
21
22
|
height?: number;
|
|
22
23
|
title?: string;
|
|
23
24
|
}
|
|
24
|
-
export declare function SocialEmbed({ type, url, width, height, title }: SocialEmbedProps): import("react/jsx-runtime").JSX.Element;
|
|
25
|
-
export interface FollowLikeProps {
|
|
25
|
+
export declare function SocialEmbed({ type, url, width, height, title, style, className, ...rest }: SocialEmbedProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
export interface FollowLikeProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
26
27
|
isFollowed?: boolean;
|
|
27
28
|
followerCount?: number;
|
|
28
29
|
onFollow?: () => void;
|
|
@@ -31,18 +32,18 @@ export interface FollowLikeProps {
|
|
|
31
32
|
likeCount?: number;
|
|
32
33
|
onLike?: () => void;
|
|
33
34
|
}
|
|
34
|
-
export declare function FollowLike({ isFollowed, followerCount, onFollow, onUnfollow, isLiked, likeCount, onLike }: FollowLikeProps): import("react/jsx-runtime").JSX.Element;
|
|
35
|
+
export declare function FollowLike({ isFollowed, followerCount, onFollow, onUnfollow, isLiked, likeCount, onLike, style, className, ...rest }: FollowLikeProps): import("react/jsx-runtime").JSX.Element;
|
|
35
36
|
export interface Reaction {
|
|
36
37
|
emoji: string;
|
|
37
38
|
label: string;
|
|
38
39
|
count: number;
|
|
39
40
|
active?: boolean;
|
|
40
41
|
}
|
|
41
|
-
export interface ReactionsBarProps {
|
|
42
|
+
export interface ReactionsBarProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
42
43
|
reactions: Reaction[];
|
|
43
44
|
onReact?: (label: string) => void;
|
|
44
45
|
}
|
|
45
|
-
export declare function ReactionsBar({ reactions, onReact }: ReactionsBarProps): import("react/jsx-runtime").JSX.Element;
|
|
46
|
+
export declare function ReactionsBar({ reactions, onReact, style, className, ...rest }: ReactionsBarProps): import("react/jsx-runtime").JSX.Element;
|
|
46
47
|
export interface SocialComment {
|
|
47
48
|
id: string;
|
|
48
49
|
author: string;
|
|
@@ -51,18 +52,18 @@ export interface SocialComment {
|
|
|
51
52
|
time?: string;
|
|
52
53
|
likes?: number;
|
|
53
54
|
}
|
|
54
|
-
export interface CommentsBoxProps {
|
|
55
|
+
export interface CommentsBoxProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'onSubmit'> {
|
|
55
56
|
comments: SocialComment[];
|
|
56
57
|
onSubmit?: (text: string) => void;
|
|
57
58
|
title?: string;
|
|
58
59
|
}
|
|
59
|
-
export declare function CommentsBox({ comments, onSubmit, title }: CommentsBoxProps): import("react/jsx-runtime").JSX.Element;
|
|
60
|
-
export interface ReviewsFormProps {
|
|
60
|
+
export declare function CommentsBox({ comments, onSubmit, title, style, className, ...rest }: CommentsBoxProps): import("react/jsx-runtime").JSX.Element;
|
|
61
|
+
export interface ReviewsFormProps extends Omit<React.ComponentPropsWithoutRef<'form'>, 'onSubmit'> {
|
|
61
62
|
onSubmit?: (data: {
|
|
62
63
|
rating: number;
|
|
63
64
|
name: string;
|
|
64
65
|
review: string;
|
|
65
66
|
}) => void;
|
|
66
67
|
}
|
|
67
|
-
export declare function ReviewsForm({ onSubmit }: ReviewsFormProps): import("react/jsx-runtime").JSX.Element;
|
|
68
|
+
export declare function ReviewsForm({ onSubmit, style, className, ...rest }: ReviewsFormProps): import("react/jsx-runtime").JSX.Element;
|
|
68
69
|
//# 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/social/index.tsx"],"names":[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C5B,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC;IAC/F,QAAQ,EAAE,aAAa,EAAE,CAAC;IAC1B,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,WAAW,CAAC,EAC1B,QAAa,EACb,QAAQ,EACR,KAAkB,EAClB,KAAU,EACV,SAAc,EACd,GAAG,IAAI,EACR,EAAE,gBAAgB,2CAqKlB;AAID,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,MAAM,CAAC,EAAE,UAAU,CAAC;IAChG,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;CAC7E;AAED,wBAAgB,WAAW,CAAC,EAAE,QAAQ,EAAE,KAAU,EAAE,SAAc,EAAE,GAAG,IAAI,EAAE,EAAE,gBAAgB,2CAuH9F"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
export interface AuthFormProps {
|
|
3
|
-
mode:
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface AuthFormProps extends Omit<React.ComponentPropsWithoutRef<'form'>, 'onSubmit'> {
|
|
3
|
+
mode: 'login' | 'register';
|
|
4
4
|
onSubmit?: (data: {
|
|
5
5
|
email: string;
|
|
6
6
|
password: string;
|
|
@@ -11,20 +11,20 @@ export interface AuthFormProps {
|
|
|
11
11
|
loading?: boolean;
|
|
12
12
|
error?: string;
|
|
13
13
|
}
|
|
14
|
-
export declare function AuthForm({ mode, onSubmit, onToggleMode, onForgotPassword, loading, error }: AuthFormProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export interface PasswordResetProps {
|
|
14
|
+
export declare function AuthForm({ mode, onSubmit, onToggleMode, onForgotPassword, loading, error, style, className, ...rest }: AuthFormProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export interface PasswordResetProps extends Omit<React.ComponentPropsWithoutRef<'section'>, 'onSubmit'> {
|
|
16
16
|
onSubmit?: (email: string) => void;
|
|
17
17
|
loading?: boolean;
|
|
18
18
|
success?: boolean;
|
|
19
19
|
}
|
|
20
|
-
export declare function PasswordReset({ onSubmit, loading, success }: PasswordResetProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
export interface MultiFactorAuthInputProps {
|
|
20
|
+
export declare function PasswordReset({ onSubmit, loading, success, style, className, ...rest }: PasswordResetProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export interface MultiFactorAuthInputProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
22
22
|
length?: number;
|
|
23
23
|
onComplete?: (code: string) => void;
|
|
24
24
|
error?: string;
|
|
25
25
|
}
|
|
26
|
-
export declare function MultiFactorAuthInput({ length, onComplete, error }: MultiFactorAuthInputProps): import("react/jsx-runtime").JSX.Element;
|
|
27
|
-
export interface ProfileOverviewProps {
|
|
26
|
+
export declare function MultiFactorAuthInput({ length, onComplete, error, style, className, ...rest }: MultiFactorAuthInputProps): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
export interface ProfileOverviewProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
28
28
|
name: string;
|
|
29
29
|
email?: string;
|
|
30
30
|
avatar?: string;
|
|
@@ -35,8 +35,8 @@ export interface ProfileOverviewProps {
|
|
|
35
35
|
value: string | number;
|
|
36
36
|
}[];
|
|
37
37
|
}
|
|
38
|
-
export declare function ProfileOverview({ name, email, avatar, role, joinDate, stats }: ProfileOverviewProps): import("react/jsx-runtime").JSX.Element;
|
|
39
|
-
export interface ProfileSettingsProps {
|
|
38
|
+
export declare function ProfileOverview({ name, email, avatar, role, joinDate, stats, style, className, ...rest }: ProfileOverviewProps): import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
export interface ProfileSettingsProps extends React.ComponentPropsWithoutRef<'form'> {
|
|
40
40
|
name?: string;
|
|
41
41
|
email?: string;
|
|
42
42
|
avatar?: string;
|
|
@@ -46,7 +46,7 @@ export interface ProfileSettingsProps {
|
|
|
46
46
|
}) => void;
|
|
47
47
|
onAvatarChange?: (file: File) => void;
|
|
48
48
|
}
|
|
49
|
-
export declare function ProfileSettings({ name: initName, email: initEmail, avatar, onSave, onAvatarChange }: ProfileSettingsProps): import("react/jsx-runtime").JSX.Element;
|
|
49
|
+
export declare function ProfileSettings({ name: initName, email: initEmail, avatar, onSave, onAvatarChange, style, className, ...rest }: ProfileSettingsProps): import("react/jsx-runtime").JSX.Element;
|
|
50
50
|
export interface SettingsSection {
|
|
51
51
|
id: string;
|
|
52
52
|
label: string;
|
|
@@ -54,15 +54,15 @@ export interface SettingsSection {
|
|
|
54
54
|
icon?: string;
|
|
55
55
|
action?: React.ReactNode;
|
|
56
56
|
}
|
|
57
|
-
export interface AccountSettingsProps {
|
|
57
|
+
export interface AccountSettingsProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
58
58
|
sections: SettingsSection[];
|
|
59
59
|
title?: string;
|
|
60
60
|
}
|
|
61
|
-
export declare function AccountSettings({ sections, title }: AccountSettingsProps): import("react/jsx-runtime").JSX.Element;
|
|
62
|
-
export interface RoleBadgeProps {
|
|
61
|
+
export declare function AccountSettings({ sections, title, style, className, ...rest }: AccountSettingsProps): import("react/jsx-runtime").JSX.Element;
|
|
62
|
+
export interface RoleBadgeProps extends React.ComponentPropsWithoutRef<'span'> {
|
|
63
63
|
role: string;
|
|
64
|
-
variant?:
|
|
64
|
+
variant?: 'admin' | 'moderator' | 'editor' | 'viewer' | 'custom';
|
|
65
65
|
color?: string;
|
|
66
66
|
}
|
|
67
|
-
export declare function RoleBadge({ role, variant, color }: RoleBadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
67
|
+
export declare function RoleBadge({ role, variant, color, style, className, ...rest }: RoleBadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
68
68
|
//# 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/user-accounts/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAmB,MAAM,OAAO,CAAC;AA4DxC,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,MAAM,CAAC,EAAE,UAAU,CAAC;IAC7F,IAAI,EAAE,OAAO,GAAG,UAAU,CAAC;IAC3B,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IAC9E,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,QAAQ,CAAC,EACvB,IAAc,EACd,QAAQ,EACR,YAAY,EACZ,gBAAgB,EAChB,OAAO,EACP,KAAK,EACL,KAAU,EACV,SAAc,EACd,GAAG,IAAI,EACR,EAAE,aAAa,2CA8If;AAID,MAAM,WAAW,kBACf,SAAQ,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,SAAS,CAAC,EAAE,UAAU,CAAC;IACn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ACL,KAAU,EACV,SAAc,EACd,GAAG,IAAI,EACR,EAAE,cAAc,2CA6BhB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BlogTheme, ButtonTheme, ContentTheme, DataDisplayTheme, EcommerceTheme, FormsTheme, HeroTheme, ListsCardsTheme, MarketingTheme, MediaTheme, MiscTheme, ModalsTheme, NavigationTheme, OnboardingTheme, SearchTheme, SiteIdentityTheme, SocialTheme, UserAccountsTheme
|
|
1
|
+
import type { BlogTheme, ButtonTheme, ContentTheme, DataDisplayTheme, EcommerceTheme, ElectroplixConfig, FormsTheme, HeroTheme, ListsCardsTheme, MarketingTheme, MediaTheme, MiscTheme, ModalsTheme, NavigationTheme, OnboardingTheme, SearchTheme, SiteIdentityTheme, SocialTheme, UserAccountsTheme } from './types';
|
|
2
2
|
export declare const defaultBlogTheme: Required<BlogTheme>;
|
|
3
3
|
export declare const defaultButtonTheme: Required<ButtonTheme>;
|
|
4
4
|
export declare const defaultContentTheme: Required<ContentTheme>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/core/config.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAEV,SAAS,EACT,WAAW,EACX,YAAY,EACZ,gBAAgB,EAChB,cAAc,EACd,iBAAiB,EACjB,UAAU,EACV,SAAS,EACT,eAAe,EACf,cAAc,EACd,UAAU,EACV,SAAS,EACT,WAAW,EACX,eAAe,EACf,eAAe,EACf,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,iBAAiB,EAClB,MAAM,SAAS,CAAC;AAsBjB,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CAAC,SAAS,CAOhD,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,QAAQ,CAAC,WAAW,CAiBpD,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,QAAQ,CAAC,YAAY,CAStD,CAA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C,EACT,GAAG,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,GACxC,CAAC,CAWH"}
|
package/dist/src/core/icons.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../src/core/icons.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,SAAU,SAAQ,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC;IACnE,kCAAkC;IAClC,IAAI,EAAE,QAAQ,CAAC;IACf,kCAAkC;IAClC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,mDAAmD;IACnD,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;GAOG;AACH,wBAAgB,IAAI,CAAC,EAAE,IAAI,EAAE,IAAS,EAAE,KAAsB,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,SAAS,kDAqB1F;AAOD,KAAK,CAAC,GAAG,KAAK,CAAC,SAAS,CAAC;AAEzB,QAAA,MAAM,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC,CAkzBjC,CAAC;AAMF,MAAM,MAAM,QAAQ,GAAG,MAAM,OAAO,UAAU,CAAC;AAE/C,iEAAiE;AACjE,eAAO,MAAM,UAAU,EAA8B,QAAQ,EAAE,CAAC"}
|
package/dist/src/core/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export type { BaseTheme, BlogTheme, ButtonTheme, ContentTheme, DataDisplayTheme, EcommerceTheme, FormsTheme, HeroTheme, ListsCardsTheme, MarketingTheme, MediaTheme, MiscTheme, ModalsTheme, NavigationTheme, OnboardingTheme, SearchTheme, SiteIdentityTheme, SocialTheme, UserAccountsTheme, ElectroplixConfig, Currency, PatternKind, ShellProps, } from
|
|
2
|
-
export { defineConfig, mergeTheme, defaultConfig, defaultBlogTheme, defaultButtonTheme, defaultContentTheme, defaultDataDisplayTheme, defaultEcommerceTheme, defaultFormsTheme, defaultHeroTheme, defaultListsCardsTheme, defaultMarketingTheme, defaultMediaTheme, defaultMiscTheme, defaultModalsTheme, defaultNavigationTheme, defaultOnboardingTheme, defaultSearchTheme, defaultSiteIdentityTheme, defaultSocialTheme, defaultUserAccountsTheme, } from
|
|
3
|
-
export { ElectroplixProvider, useElectroplixConfig, useNavTheme, useHeroTheme, useButtonTheme, useFormsTheme, useContentTheme, useDataDisplayTheme, useEcommerceTheme, useListsCardsTheme, useMarketingTheme, useMediaTheme, useMiscTheme, useModalsTheme, useOnboardingTheme, useSearchTheme, useSiteIdentityTheme, useSocialTheme, useUserAccountsTheme, useBlogTheme, } from
|
|
4
|
-
export { Icon, ICON_NAMES } from
|
|
5
|
-
export type { IconProps, IconName } from
|
|
6
|
-
export { sx, cn, money, truncate, timeAgo, useFocusTrap, useClickOutside, useMediaQuery, useDebounce, baseButtonStyle, inputStyle, labelStyle, validate, emailRule, requiredRule, minLengthRule, maxLengthRule, } from
|
|
7
|
-
export type { ValidationRule } from
|
|
1
|
+
export type { BaseTheme, BlogTheme, ButtonTheme, ContentTheme, DataDisplayTheme, EcommerceTheme, FormsTheme, HeroTheme, ListsCardsTheme, MarketingTheme, MediaTheme, MiscTheme, ModalsTheme, NavigationTheme, OnboardingTheme, SearchTheme, SiteIdentityTheme, SocialTheme, UserAccountsTheme, ElectroplixConfig, Currency, PatternKind, ShellProps, } from './types';
|
|
2
|
+
export { defineConfig, mergeTheme, defaultConfig, defaultBlogTheme, defaultButtonTheme, defaultContentTheme, defaultDataDisplayTheme, defaultEcommerceTheme, defaultFormsTheme, defaultHeroTheme, defaultListsCardsTheme, defaultMarketingTheme, defaultMediaTheme, defaultMiscTheme, defaultModalsTheme, defaultNavigationTheme, defaultOnboardingTheme, defaultSearchTheme, defaultSiteIdentityTheme, defaultSocialTheme, defaultUserAccountsTheme, } from './config';
|
|
3
|
+
export { ElectroplixProvider, useElectroplixConfig, useNavTheme, useHeroTheme, useButtonTheme, useFormsTheme, useContentTheme, useDataDisplayTheme, useEcommerceTheme, useListsCardsTheme, useMarketingTheme, useMediaTheme, useMiscTheme, useModalsTheme, useOnboardingTheme, useSearchTheme, useSiteIdentityTheme, useSocialTheme, useUserAccountsTheme, useBlogTheme, } from './provider';
|
|
4
|
+
export { Icon, ICON_NAMES } from './icons';
|
|
5
|
+
export type { IconProps, IconName } from './icons';
|
|
6
|
+
export { sx, cn, money, truncate, timeAgo, useFocusTrap, useClickOutside, useMediaQuery, useDebounce, baseButtonStyle, inputStyle, labelStyle, validate, emailRule, requiredRule, minLengthRule, maxLengthRule, } from './utils';
|
|
7
|
+
export type { ValidationRule } from './utils';
|
|
8
8
|
//# 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/core/index.ts"],"names":[],"mappings":"AAKA,YAAY,EACV,SAAS,EACT,SAAS,EACT,WAAW,EACX,YAAY,EACZ,gBAAgB,EAChB,cAAc,EACd,UAAU,EACV,SAAS,EACT,eAAe,EACf,cAAc,EACd,UAAU,EACV,SAAS,EACT,WAAW,EACX,eAAe,EACf,eAAe,EACf,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,iBAAiB,EACjB,iBAAiB,EACjB,QAAQ,EACR,WAAW,EACX,UAAU,GACX,MAAM,SAAS,CAAC;AAGjB,OAAO,EACL,YAAY,EACZ,UAAU,EACV,aAAa,EACb,gBAAgB,EAChB,kBAAkB,EAClB,mBAAmB,EACnB,uBAAuB,EACvB,qBAAqB,EACrB,iBAAiB,EACjB,gBAAgB,EAChB,sBAAsB,EACtB,qBAAqB,EACrB,iBAAiB,EACjB,gBAAgB,EAChB,kBAAkB,EAClB,sBAAsB,EACtB,sBAAsB,EACtB,kBAAkB,EAClB,wBAAwB,EACxB,kBAAkB,EAClB,wBAAwB,GACzB,MAAM,UAAU,CAAC;AAGlB,OAAO,EACL,mBAAmB,EACnB,oBAAoB,EACpB,WAAW,EACX,YAAY,EACZ,cAAc,EACd,aAAa,EACb,eAAe,EACf,mBAAmB,EACnB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,aAAa,EACb,YAAY,EACZ,cAAc,EACd,kBAAkB,EAClB,cAAc,EACd,oBAAoB,EACpB,cAAc,EACd,oBAAoB,EACpB,YAAY,GACb,MAAM,YAAY,CAAC;AAGpB,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC3C,YAAY,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAGnD,OAAO,EACL,EAAE,EACF,EAAE,EACF,KAAK,EACL,QAAQ,EACR,OAAO,EACP,YAAY,EACZ,eAAe,EACf,aAAa,EACb,WAAW,EACX,eAAe,EACf,UAAU,EACV,UAAU,EACV,QAAQ,EACR,SAAS,EACT,YAAY,EACZ,aAAa,EACb,aAAa,GACd,MAAM,SAAS,CAAC;AACjB,YAAY,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import type { ElectroplixConfig } from
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type { ElectroplixConfig } from './types';
|
|
3
3
|
/**
|
|
4
4
|
* Wrap your app (or any subtree) to override default theme tokens.
|
|
5
5
|
*
|
|
@@ -24,22 +24,22 @@ export declare function useElectroplixConfig(): ElectroplixConfig;
|
|
|
24
24
|
/**
|
|
25
25
|
* Shortcut hooks for individual categories.
|
|
26
26
|
*/
|
|
27
|
-
export declare function useNavTheme(): import("./types").NavigationTheme
|
|
28
|
-
export declare function useHeroTheme(): import("./types").HeroTheme
|
|
29
|
-
export declare function useButtonTheme(): import("./types").ButtonTheme
|
|
30
|
-
export declare function useFormsTheme(): import("./types").FormsTheme
|
|
31
|
-
export declare function useContentTheme(): import("./types").ContentTheme
|
|
32
|
-
export declare function useDataDisplayTheme(): import("./types").DataDisplayTheme
|
|
33
|
-
export declare function useEcommerceTheme(): import("./types").EcommerceTheme
|
|
34
|
-
export declare function useListsCardsTheme(): import("./types").ListsCardsTheme
|
|
35
|
-
export declare function useMarketingTheme(): import("./types").MarketingTheme
|
|
36
|
-
export declare function useMediaTheme(): import("./types").MediaTheme
|
|
37
|
-
export declare function useMiscTheme(): import("./types").MiscTheme
|
|
38
|
-
export declare function useModalsTheme(): import("./types").ModalsTheme
|
|
39
|
-
export declare function useOnboardingTheme(): import("./types").OnboardingTheme
|
|
40
|
-
export declare function useSearchTheme(): import("./types").SearchTheme
|
|
41
|
-
export declare function useSiteIdentityTheme(): import("./types").SiteIdentityTheme
|
|
42
|
-
export declare function useSocialTheme(): import("./types").SocialTheme
|
|
43
|
-
export declare function useUserAccountsTheme(): import("./types").UserAccountsTheme
|
|
44
|
-
export declare function useBlogTheme(): import("./types").BlogTheme
|
|
27
|
+
export declare function useNavTheme(): import("./types").NavigationTheme;
|
|
28
|
+
export declare function useHeroTheme(): import("./types").HeroTheme;
|
|
29
|
+
export declare function useButtonTheme(): import("./types").ButtonTheme;
|
|
30
|
+
export declare function useFormsTheme(): import("./types").FormsTheme;
|
|
31
|
+
export declare function useContentTheme(): import("./types").ContentTheme;
|
|
32
|
+
export declare function useDataDisplayTheme(): import("./types").DataDisplayTheme;
|
|
33
|
+
export declare function useEcommerceTheme(): import("./types").EcommerceTheme;
|
|
34
|
+
export declare function useListsCardsTheme(): import("./types").ListsCardsTheme;
|
|
35
|
+
export declare function useMarketingTheme(): import("./types").MarketingTheme;
|
|
36
|
+
export declare function useMediaTheme(): import("./types").MediaTheme;
|
|
37
|
+
export declare function useMiscTheme(): import("./types").MiscTheme;
|
|
38
|
+
export declare function useModalsTheme(): import("./types").ModalsTheme;
|
|
39
|
+
export declare function useOnboardingTheme(): import("./types").OnboardingTheme;
|
|
40
|
+
export declare function useSearchTheme(): import("./types").SearchTheme;
|
|
41
|
+
export declare function useSiteIdentityTheme(): import("./types").SiteIdentityTheme;
|
|
42
|
+
export declare function useSocialTheme(): import("./types").SocialTheme;
|
|
43
|
+
export declare function useUserAccountsTheme(): import("./types").UserAccountsTheme;
|
|
44
|
+
export declare function useBlogTheme(): import("./types").BlogTheme;
|
|
45
45
|
//# sourceMappingURL=provider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../../src/core/provider.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAa,iBAAiB,EAAE,MAAM,SAAS,CAAC;AA2C5D;;;;;;;;;;;;GAYG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,MAAM,EACN,QAAQ,GACT,EAAE;IACD,MAAM,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,CAAC;IACpC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,2CAiCA;AAED;;GAEG;AACH,wBAAgB,oBAAoB,IAAI,iBAAiB,CAExD;AAED;;GAEG;AACH,wBAAgB,WAAW,sCAE1B;AACD,wBAAgB,YAAY,gCAE3B;AACD,wBAAgB,cAAc,kCAE7B;AACD,wBAAgB,aAAa,iCAE5B;AACD,wBAAgB,eAAe,mCAE9B;AACD,wBAAgB,mBAAmB,uCAElC;AACD,wBAAgB,iBAAiB,qCAEhC;AACD,wBAAgB,kBAAkB,sCAEjC;AACD,wBAAgB,iBAAiB,qCAEhC;AACD,wBAAgB,aAAa,iCAE5B;AACD,wBAAgB,YAAY,gCAE3B;AACD,wBAAgB,cAAc,kCAE7B;AACD,wBAAgB,kBAAkB,sCAEjC;AACD,wBAAgB,cAAc,kCAE7B;AACD,wBAAgB,oBAAoB,wCAEnC;AACD,wBAAgB,cAAc,kCAE7B;AACD,wBAAgB,oBAAoB,wCAEnC;AACD,wBAAgB,YAAY,gCAE3B"}
|