@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/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,QAAa,EACb,WAAW,EACX,UAAU,EACV,KAAU,EACV,SAAc,EACd,GAAG,IAAI,EACR,EAAE,sBAAsB,2CAsBxB;AAID,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC;IAC1E,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,QAAQ,CAAC,EACvB,KAAU,EACV,MAAc,EACd,QAAe,EACf,KAAU,EACV,SAA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-
|
|
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":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AA8B/B,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,UAAU,GAAG,UAAU,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;AAoB7F,MAAM,WAAW,mBAAoB,SAAQ,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC;IAChF,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,YAAY,EAAE,CAAC;IAC1B,OAA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Q,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;IACnE,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,OAAO,EACP,OAAO,EACP,KAAU,EACV,SAAc,EACd,GAAG,IAAI,EACR,EAAE,kBAAkB,2CAoHpB;AAID,MAAM,WAAW,yBAA0B,SAAQ,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC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,KAAK,EAAE,SAAc,EACrB,MAAM,EACN,MAAM,EACN,cAAc,EACd,KAAU,EACV,SAAc,EACd,GAAG,IAAI,EACR,EAAE,oBAAoB,2CAwItB;AAID,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B;AAED,MAAM,WAAW,oBAAqB,SAAQ,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC;IACjF,QAAQ,EAAE,eAAe,EAAE,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,eAAe,CAAC,EAC9B,QAAa,EACb,KAA0B,EAC1B,KAAU,EACV,SAAc,EACd,GAAG,IAAI,EACR,EAAE,oBAAoB,2CAyEtB;AAID,MAAM,WAAW,cAAe,SAAQ,KAAK,CAAC,wBAAwB,CAAC,MAAM,CAAC;IAC5E,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,OAAO,GAAG,WAAW,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;IACjE,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AASD,wBAAgB,SAAS,CAAC,EACxB,IAAI,EACJ,OAAkB,EAClB,KAAK,EACL,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,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAAC,gBAAgB,CAM9D,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,QAAQ,CAAC,cAAc,CAW1D,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,QAAQ,CAAC,UAAU,CAWlD,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CAAC,SAAS,CAUhD,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,QAAQ,CAAC,eAAe,CAW5D,CAAC;AAEF,eAAO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,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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/core/styles.tsx"],"names":[],"mappings":"AAUA,wBAAgB,iBAAiB,mDAIhC"}
|
package/dist/src/core/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CSSProperties, ElementType, ReactNode } from
|
|
1
|
+
import type { CSSProperties, ElementType, ReactNode } from 'react';
|
|
2
2
|
/** CSS-properties alias used across shell components. */
|
|
3
3
|
export type CSSVars = CSSProperties;
|
|
4
4
|
/** Core palette & typography shared by all categories. */
|
|
@@ -85,7 +85,7 @@ export interface MarketingTheme extends BaseTheme, CardTokens, InputTokens {
|
|
|
85
85
|
mutedText?: string;
|
|
86
86
|
gridColor?: string;
|
|
87
87
|
}
|
|
88
|
-
export interface MediaTheme extends BaseTheme {
|
|
88
|
+
export interface MediaTheme extends BaseTheme, CardTokens {
|
|
89
89
|
}
|
|
90
90
|
export interface MiscTheme extends BaseTheme {
|
|
91
91
|
surfaceColor?: string;
|
|
@@ -114,8 +114,8 @@ export interface SocialTheme extends BaseTheme {
|
|
|
114
114
|
}
|
|
115
115
|
export interface UserAccountsTheme extends BaseTheme, InputTokens {
|
|
116
116
|
}
|
|
117
|
-
export type Currency =
|
|
118
|
-
export type PatternKind =
|
|
117
|
+
export type Currency = 'USD' | 'INR' | 'EUR' | 'GBP';
|
|
118
|
+
export type PatternKind = 'dots' | 'grid' | 'diagonal';
|
|
119
119
|
export interface ShellProps {
|
|
120
120
|
as?: ElementType;
|
|
121
121
|
style?: CSSVars;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/core/types.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMnE,yDAAyD;AACzD,MAAM,MAAM,OAAO,GAAG,aAAa,CAAC;AAEpC,0DAA0D;AAC1D,MAAM,WAAW,SAAS;IACxB,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;I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AkB,SAAQ,OAAO,CAAC,SAAS,CAAC;IAC3D,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,WAAW,CAAC,EAAE,gBAAgB,CAAC;IAC/B,SAAS,CAAC,EAAE,cAAc,CAAC;IAC3B,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,UAAU,CAAC,EAAE,eAAe,CAAC;IAC7B,SAAS,CAAC,EAAE,cAAc,CAAC;IAC3B,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,UAAU,CAAC,EAAE,eAAe,CAAC;IAC7B,UAAU,CAAC,EAAE,eAAe,CAAC;IAC7B,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,YAAY,CAAC,EAAE,iBAAiB,CAAC;IACjC,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,YAAY,CAAC,EAAE,iBAAiB,CAAC;CAClC"}
|
package/dist/src/core/utils.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from
|
|
1
|
+
import React from 'react';
|
|
2
2
|
/** Build a CSS style object from theme tokens + optional overrides. */
|
|
3
3
|
export declare function sx(...sources: Array<React.CSSProperties | undefined>): React.CSSProperties;
|
|
4
4
|
/** Conditionally join CSS class names (tiny clsx alternative). */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/core/utils.ts"],"names":[],"mappings":"AAKA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAIjD,uEAAuE;AACvE,wBAAgB,EAAE,CAAC,GAAG,OAAO,EAAE,KAAK,CAAC,KAAK,CAAC,aAAa,GAAG,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AAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,GAAG,KAAK,CAAC,aAAa,CAmBtB;AAID,8CAA8C;AAC9C,wBAAgB,UAAU,CAAC,IAAI,EAAE;IAC/B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,KAAK,CAAC,aAAa,CAYtB;AAED,mBAAmB;AACnB,wBAAgB,UAAU,CAAC,IAAI,CAAC,EAAE;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,GAAG,KAAK,CAAC,aAAa,CAQtB;AAID,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC;IACjC,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,cAAc,EAAE,GAAG,MAAM,GAAG,IAAI,CAK9E;AAED,eAAO,MAAM,SAAS,EAAE,cAGvB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,cAG1B,CAAC;AAEF,eAAO,MAAM,aAAa,QAAS,MAAM,KAAG,cAG1C,CAAC;AAEH,eAAO,MAAM,aAAa,QAAS,MAAM,KAAG,cAG1C,CAAC"}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
11
|
-
export * from
|
|
12
|
-
export * from
|
|
13
|
-
export * from
|
|
14
|
-
export * from
|
|
15
|
-
export * from
|
|
16
|
-
export * from
|
|
17
|
-
export * from
|
|
18
|
-
export * from
|
|
19
|
-
export * from
|
|
1
|
+
export * from './core';
|
|
2
|
+
export * from './components/navigation';
|
|
3
|
+
export * from './components/hero';
|
|
4
|
+
export * from './components/buttons';
|
|
5
|
+
export * from './components/forms';
|
|
6
|
+
export * from './components/content';
|
|
7
|
+
export * from './components/data-display';
|
|
8
|
+
export * from './components/ecommerce';
|
|
9
|
+
export * from './components/lists-cards';
|
|
10
|
+
export * from './components/marketing';
|
|
11
|
+
export * from './components/media';
|
|
12
|
+
export * from './components/miscellaneous';
|
|
13
|
+
export * from './components/modals';
|
|
14
|
+
export * from './components/onboarding';
|
|
15
|
+
export * from './components/search';
|
|
16
|
+
export * from './components/site-identity';
|
|
17
|
+
export * from './components/social';
|
|
18
|
+
export * from './components/user-accounts';
|
|
19
|
+
export * from './components/blog';
|
|
20
20
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAWA,cAAc,QAAQ,CAAC;AAEvB,cAAc,yBAAyB,CAAC;AAExC,cAAc,mBAAmB,CAAC;AAElC,cAAc,sBAAsB,CAAC;AAErC,cAAc,oBAAoB,CAAC;AAEnC,cAAc,sBAAsB,CAAC;AAErC,cAAc,2BAA2B,CAAC;AAE1C,cAAc,wBAAwB,CAAC;AAEvC,cAAc,0BAA0B,CAAC;AAEzC,cAAc,wBAAwB,CAAC;AAEvC,cAAc,oBAAoB,CAAC;AAEnC,cAAc,4BAA4B,CAAC;AAE3C,cAAc,qBAAqB,CAAC;AAEpC,cAAc,yBAAyB,CAAC;AAExC,cAAc,qBAAqB,CAAC;AAEpC,cAAc,4BAA4B,CAAC;AAE3C,cAAc,qBAAqB,CAAC;AAEpC,cAAc,4BAA4B,CAAC;AAE3C,cAAc,mBAAmB,CAAC"}
|