@mycause/ui 0.0.0-c97e8f06 → 0.0.0-c98503b5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/avatar/image-avatar.d.ts +1 -0
- package/dist/components/avatar/text-avatar.d.ts +2 -1
- package/dist/components/charity-tags-filter-button/charity-tags-filter-button.stories.d.ts +2 -1
- package/dist/components/cropper/cropper.stories.d.ts +2 -1
- package/dist/components/donation-form/donation-form.stories.d.ts +33 -7
- package/dist/components/featured-campaign-card/featured-campaign-card.d.ts +2 -2
- package/dist/components/icon/material-icon.d.ts +0 -5
- package/dist/components/index.d.ts +2 -2
- package/dist/components/info-represent-campaign/info-represent-campaign.stories.d.ts +2 -1
- package/dist/components/input/input.stories.d.ts +2 -1
- package/dist/components/input-social/input-social.stories.d.ts +2 -1
- package/dist/components/layout/box.d.ts +0 -1
- package/dist/components/layout/flex.d.ts +0 -9
- package/dist/components/layout/flex.stories.d.ts +36 -8
- package/dist/components/layout/stack.d.ts +1 -8
- package/dist/components/modal/modal.stories.d.ts +2 -2
- package/dist/components/my-account-frp-closed/frp-information.d.ts +2 -1
- package/dist/components/my-account-frp-closed/my-account-frp-closed.d.ts +2 -1
- package/dist/components/my-account-frp-closed/my-account-frp-closed.stories.d.ts +2 -1
- package/dist/components/my-account-frp-preview/my-account-frp-preview.stories.d.ts +2 -1
- package/dist/components/my-account-sidebar/my-account-sidebar.stories.d.ts +1 -1
- package/dist/components/my-account-stats-donated/my-account-stats-donated.stories.d.ts +2 -1
- package/dist/components/my-account-stats-raised/my-account-stats-raised.stories.d.ts +2 -1
- package/dist/components/nav/charity.d.ts +3 -0
- package/dist/components/nav/nav-charity.d.ts +7 -0
- package/dist/components/nav/nav-expanded-charity-new.d.ts +12 -0
- package/dist/components/nav/nav-expanded-charity-v2.d.ts +12 -0
- package/dist/components/nav/nav-myaccount.d.ts +2 -1
- package/dist/components/nav/nav.d.ts +8 -3
- package/dist/components/navigation/navigation-user-menu.d.ts +1 -0
- package/dist/components/partner-chart-stats/partner-chart-stats.stories.d.ts +2 -1
- package/dist/components/partner-monthly-donations/partner-monthly-donations.stories.d.ts +2 -1
- package/dist/components/partner-monthly-stats/partner-monthly-stats.stories.d.ts +2 -1
- package/dist/components/partner-toggle-button/partner-toggle-button-block.stories.d.ts +2 -1
- package/dist/components/phone-number-input/phone-number-input.stories.d.ts +22 -24
- package/dist/components/select/select.stories.d.ts +93 -13
- package/dist/components/switch/switch.d.ts +4 -1
- package/dist/components/table/partner-monthly-table.stories.d.ts +2 -1
- package/dist/components/text/text.stories.d.ts +55 -8
- package/dist/components/text-field/text-field.stories.d.ts +6 -14
- package/dist/components/this-month-card/this-month-card.stories.d.ts +2 -1
- package/dist/components/toast/toast.stories.d.ts +2 -1
- package/dist/donation.esm.js +36 -42
- package/dist/donation.js +40 -46
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.esm.css +1 -1
- package/dist/index.esm.css.map +1 -1
- package/dist/index.esm.js +509 -528
- package/dist/index.js +513 -532
- package/package.json +21 -14
|
@@ -3,6 +3,7 @@ export interface ImageAvatarProps extends Omit<React.HTMLProps<HTMLSpanElement>,
|
|
|
3
3
|
name: string;
|
|
4
4
|
src: string;
|
|
5
5
|
size?: string;
|
|
6
|
+
adminId?: string;
|
|
6
7
|
}
|
|
7
8
|
declare function ImageAvatar({ name, src, size, ...rest }: ImageAvatarProps): React.JSX.Element;
|
|
8
9
|
export default ImageAvatar;
|
|
@@ -6,6 +6,7 @@ export interface TextAvatarProps extends Omit<React.HTMLProps<HTMLSpanElement>,
|
|
|
6
6
|
color?: ColorSpecifier;
|
|
7
7
|
invert?: boolean;
|
|
8
8
|
size?: string;
|
|
9
|
+
adminId?: string;
|
|
9
10
|
}
|
|
10
|
-
declare function TextAvatar({ name, initials, color, invert, size, ...rest }: TextAvatarProps): React.JSX.Element;
|
|
11
|
+
declare function TextAvatar({ name, initials, color, invert, size, adminId, ...rest }: TextAvatarProps): React.JSX.Element;
|
|
11
12
|
export default TextAvatar;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import CenterDecorator from "../../utils/center-decorator";
|
|
2
3
|
declare const _default: {
|
|
3
4
|
title: string;
|
|
4
|
-
decorators: (
|
|
5
|
+
decorators: (typeof CenterDecorator)[];
|
|
5
6
|
};
|
|
6
7
|
export default _default;
|
|
7
8
|
export declare const CharityTagsFilterButtonStories: {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import CenterDecorator from "../../utils/center-decorator";
|
|
2
3
|
declare const _default: {
|
|
3
4
|
title: string;
|
|
4
|
-
decorators: (
|
|
5
|
+
decorators: (typeof CenterDecorator)[];
|
|
5
6
|
};
|
|
6
7
|
export default _default;
|
|
7
8
|
export declare const CropperStory: {
|
|
@@ -1,15 +1,41 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import CenterDecorator from "../../utils/center-decorator";
|
|
2
3
|
declare const _default: {
|
|
3
4
|
title: string;
|
|
4
|
-
decorators: (
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
decorators: (typeof CenterDecorator)[];
|
|
6
|
+
argTypes: {
|
|
7
|
+
prefix: {
|
|
8
|
+
control: string;
|
|
9
|
+
defaultValue: string;
|
|
10
|
+
};
|
|
11
|
+
currency: {
|
|
12
|
+
control: string;
|
|
13
|
+
defaultValue: string;
|
|
14
|
+
};
|
|
15
|
+
control: {
|
|
16
|
+
control: string;
|
|
17
|
+
defaultValue: boolean;
|
|
18
|
+
};
|
|
19
|
+
hasCard: {
|
|
20
|
+
control: string;
|
|
21
|
+
defaultValue: boolean;
|
|
22
|
+
};
|
|
23
|
+
hasError: {
|
|
24
|
+
control: string;
|
|
25
|
+
defaultValue: boolean;
|
|
26
|
+
};
|
|
27
|
+
noContianer: {
|
|
28
|
+
control: string;
|
|
29
|
+
defaultValue: boolean;
|
|
30
|
+
};
|
|
31
|
+
maxWidth: {
|
|
32
|
+
control: string;
|
|
33
|
+
defaultValue: string;
|
|
34
|
+
};
|
|
11
35
|
};
|
|
12
36
|
};
|
|
37
|
+
export default _default;
|
|
38
|
+
export declare const DonationFormStories: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("@storybook/types").Args>;
|
|
13
39
|
export declare const DonationCampaignFormStories: {
|
|
14
40
|
(): React.JSX.Element;
|
|
15
41
|
story: {
|
|
@@ -7,8 +7,8 @@ export interface FeaturedCampaignCardProps {
|
|
|
7
7
|
completed?: number;
|
|
8
8
|
maxWidth?: number;
|
|
9
9
|
donation?: number;
|
|
10
|
-
raised?: number;
|
|
11
|
-
goal?: number;
|
|
10
|
+
raised?: number | string;
|
|
11
|
+
goal?: number | string;
|
|
12
12
|
onClick: () => void;
|
|
13
13
|
fundraisingText: string;
|
|
14
14
|
handleImageError?: () => void;
|
|
@@ -6,9 +6,4 @@ export interface MaterialIconProps extends Omit<React.HTMLProps<HTMLOrSVGElement
|
|
|
6
6
|
size?: string;
|
|
7
7
|
}
|
|
8
8
|
declare function MaterialIcon({ icon, iconSet, className, size, ...rest }: MaterialIconProps): React.JSX.Element;
|
|
9
|
-
declare namespace MaterialIcon {
|
|
10
|
-
var defaultProps: {
|
|
11
|
-
iconSet: string;
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
9
|
export default MaterialIcon;
|
|
@@ -46,8 +46,6 @@ export * from "./partner-chart-stats";
|
|
|
46
46
|
export * from "./this-month-card";
|
|
47
47
|
export * from "./partner-toggle-button";
|
|
48
48
|
export * from "./footerV2";
|
|
49
|
-
export * from "./input";
|
|
50
|
-
export * from "./toast";
|
|
51
49
|
export * from "./my-account-start-fundraise-card";
|
|
52
50
|
export * from "./my-account-choose-charity-card";
|
|
53
51
|
export * from "./favorite-charity-item";
|
|
@@ -55,8 +53,10 @@ export * from "./my-account-sidebar";
|
|
|
55
53
|
export * from "./my-account-frp-preview";
|
|
56
54
|
export * from "./my-account-stats-donated";
|
|
57
55
|
export * from "./my-account-stats-raised";
|
|
56
|
+
export * from "./input";
|
|
58
57
|
export * from "./my-account-frp-closed";
|
|
59
58
|
export * from "./transaction-card";
|
|
59
|
+
export * from "./toast";
|
|
60
60
|
export * from "./input-social";
|
|
61
61
|
export * from "./charity-tags-filter-button";
|
|
62
62
|
export * from "./collapse";
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import CenterDecorator from "../../utils/center-decorator";
|
|
2
3
|
declare const _default: {
|
|
3
4
|
title: string;
|
|
4
|
-
decorators: (
|
|
5
|
+
decorators: (typeof CenterDecorator)[];
|
|
5
6
|
};
|
|
6
7
|
export default _default;
|
|
7
8
|
export declare const InforRepresentCampaignStories: {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import CenterDecorator from "../../utils/center-decorator";
|
|
2
3
|
declare const _default: {
|
|
3
4
|
title: string;
|
|
4
|
-
decorators: (
|
|
5
|
+
decorators: (typeof CenterDecorator)[];
|
|
5
6
|
};
|
|
6
7
|
export default _default;
|
|
7
8
|
export declare const InputExample: {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import CenterDecorator from "../../utils/center-decorator";
|
|
2
3
|
declare const _default: {
|
|
3
4
|
title: string;
|
|
4
|
-
decorators: (
|
|
5
|
+
decorators: (typeof CenterDecorator)[];
|
|
5
6
|
};
|
|
6
7
|
export default _default;
|
|
7
8
|
export declare const InputExample: {
|
|
@@ -382,7 +382,6 @@ declare function Box({ as, ma, mv, mh, mt, mr, mb, ml, pa, pv, ph, pt, pb, pl, p
|
|
|
382
382
|
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLElement> | undefined;
|
|
383
383
|
onTransitionEnd?: React.TransitionEventHandler<HTMLElement> | undefined;
|
|
384
384
|
onTransitionEndCapture?: React.TransitionEventHandler<HTMLElement> | undefined;
|
|
385
|
-
css?: import("@emotion/core").InterpolationWithTheme<any>;
|
|
386
385
|
ref?: React.LegacyRef<HTMLElement> | undefined;
|
|
387
386
|
key?: React.Key | null | undefined;
|
|
388
387
|
className: string;
|
|
@@ -13,13 +13,4 @@ export interface FlexProps extends Omit<BoxProps, "wrap"> {
|
|
|
13
13
|
children?: React.ReactNode;
|
|
14
14
|
}
|
|
15
15
|
declare function Flex({ direction, justify, align, reverse, wrap, center, className, children, ...rest }: FlexProps): React.JSX.Element;
|
|
16
|
-
declare namespace Flex {
|
|
17
|
-
var defaultProps: {
|
|
18
|
-
direction: string;
|
|
19
|
-
justify: string;
|
|
20
|
-
align: string;
|
|
21
|
-
reverse: boolean;
|
|
22
|
-
wrap: boolean;
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
16
|
export default Flex;
|
|
@@ -1,14 +1,42 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import CenterDecorator from "../../utils/center-decorator";
|
|
3
2
|
declare const _default: {
|
|
4
3
|
title: string;
|
|
5
4
|
decorators: (typeof CenterDecorator)[];
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
5
|
+
argTypes: {
|
|
6
|
+
number: {
|
|
7
|
+
control: string;
|
|
8
|
+
defaultValue: number;
|
|
9
|
+
};
|
|
10
|
+
reverse: {
|
|
11
|
+
control: string;
|
|
12
|
+
defaultValue: boolean;
|
|
13
|
+
};
|
|
14
|
+
wrap: {
|
|
15
|
+
control: string;
|
|
16
|
+
defaultValue: boolean;
|
|
17
|
+
};
|
|
18
|
+
align: {
|
|
19
|
+
control: {
|
|
20
|
+
type: string;
|
|
21
|
+
options: string[];
|
|
22
|
+
};
|
|
23
|
+
defaultValue: string;
|
|
24
|
+
};
|
|
25
|
+
direction: {
|
|
26
|
+
control: {
|
|
27
|
+
type: string;
|
|
28
|
+
options: string[];
|
|
29
|
+
};
|
|
30
|
+
defaultValue: string;
|
|
31
|
+
};
|
|
32
|
+
justify: {
|
|
33
|
+
control: {
|
|
34
|
+
type: string;
|
|
35
|
+
options: string[];
|
|
36
|
+
};
|
|
37
|
+
defaultValue: string;
|
|
38
|
+
};
|
|
13
39
|
};
|
|
14
40
|
};
|
|
41
|
+
export default _default;
|
|
42
|
+
export declare const FlexStory: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("@storybook/types").Args>;
|
|
@@ -3,14 +3,7 @@ import { FlexProps } from "./flex";
|
|
|
3
3
|
interface StackProps extends FlexProps {
|
|
4
4
|
horizontal?: boolean;
|
|
5
5
|
vertical?: boolean;
|
|
6
|
-
gap
|
|
6
|
+
gap?: string;
|
|
7
7
|
}
|
|
8
8
|
declare function Stack({ gap, direction, reverse, className, children, ...rest }: StackProps): React.JSX.Element;
|
|
9
|
-
declare namespace Stack {
|
|
10
|
-
var defaultProps: {
|
|
11
|
-
gap: string;
|
|
12
|
-
direction: string;
|
|
13
|
-
reverse: boolean;
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
9
|
export default Stack;
|
|
@@ -29,13 +29,13 @@ export declare const ModalStoriesMinimal: {
|
|
|
29
29
|
name: string;
|
|
30
30
|
};
|
|
31
31
|
};
|
|
32
|
-
export declare const
|
|
32
|
+
export declare const ModalStoriesImage: {
|
|
33
33
|
(): React.JSX.Element;
|
|
34
34
|
story: {
|
|
35
35
|
name: string;
|
|
36
36
|
};
|
|
37
37
|
};
|
|
38
|
-
export declare const
|
|
38
|
+
export declare const ModalConfirmation: {
|
|
39
39
|
(): React.JSX.Element;
|
|
40
40
|
story: {
|
|
41
41
|
name: string;
|
|
@@ -10,6 +10,7 @@ interface FrpInfomationProps {
|
|
|
10
10
|
manageLink?: string;
|
|
11
11
|
thankLink?: string;
|
|
12
12
|
handleCertificateMemento?: () => void;
|
|
13
|
+
handleDeleteFrp?: () => void;
|
|
13
14
|
}
|
|
14
|
-
declare const FrpInfomation: ({ donations, amountRaised, amountGoal, sqSize, strokeWidth, closedDate, customRow, thankLink, handleCertificateMemento, }: FrpInfomationProps) => React.JSX.Element;
|
|
15
|
+
declare const FrpInfomation: ({ donations, amountRaised, amountGoal, sqSize, strokeWidth, closedDate, customRow, thankLink, handleCertificateMemento, handleDeleteFrp, }: FrpInfomationProps) => React.JSX.Element;
|
|
15
16
|
export default FrpInfomation;
|
|
@@ -14,6 +14,7 @@ export interface MyAccountFrpClosedProps {
|
|
|
14
14
|
manageLink?: string;
|
|
15
15
|
thankLink?: string;
|
|
16
16
|
handleCertificateMemento?: () => void;
|
|
17
|
+
handleDeleteFrp?: () => void;
|
|
17
18
|
}
|
|
18
|
-
declare const MyAccountFrpClosed: ({ img, link, title, amountGoal, amountRaised, donations, sqSize, strokeWidth, frpColor, closedDate, customRow, manageLink, thankLink, handleCertificateMemento, }: MyAccountFrpClosedProps) => React.JSX.Element;
|
|
19
|
+
declare const MyAccountFrpClosed: ({ img, link, title, amountGoal, amountRaised, donations, sqSize, strokeWidth, frpColor, closedDate, customRow, manageLink, thankLink, handleCertificateMemento, handleDeleteFrp, }: MyAccountFrpClosedProps) => React.JSX.Element;
|
|
19
20
|
export default MyAccountFrpClosed;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import CenterDecorator from "../../utils/center-decorator";
|
|
2
3
|
declare const _default: {
|
|
3
4
|
title: string;
|
|
4
|
-
decorators: (
|
|
5
|
+
decorators: (typeof CenterDecorator)[];
|
|
5
6
|
};
|
|
6
7
|
export default _default;
|
|
7
8
|
export declare const MyAccountFrpCloseStory: {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import CenterDecorator from "../../utils/center-decorator";
|
|
2
3
|
declare const _default: {
|
|
3
4
|
title: string;
|
|
4
|
-
decorators: (
|
|
5
|
+
decorators: (typeof CenterDecorator)[];
|
|
5
6
|
};
|
|
6
7
|
export default _default;
|
|
7
8
|
export declare const MyAccountFrpPreviewStory: {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import CenterDecorator from "../../utils/center-decorator";
|
|
2
3
|
declare const _default: {
|
|
3
4
|
title: string;
|
|
4
|
-
decorators: (
|
|
5
|
+
decorators: (typeof CenterDecorator)[];
|
|
5
6
|
};
|
|
6
7
|
export default _default;
|
|
7
8
|
export declare const MyAccountStatsDonatedStory: {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import CenterDecorator from "../../utils/center-decorator";
|
|
2
3
|
declare const _default: {
|
|
3
4
|
title: string;
|
|
4
|
-
decorators: (
|
|
5
|
+
decorators: (typeof CenterDecorator)[];
|
|
5
6
|
};
|
|
6
7
|
export default _default;
|
|
7
8
|
export declare const MyAccountStatsRaisedStory: {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { HybridNavigationLink } from "./nav-list";
|
|
3
|
+
import { NavMenuProps } from "./nav";
|
|
4
|
+
export type NavigationExpandedProps = {
|
|
5
|
+
links?: Array<HybridNavigationLink>;
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
onRequestClose: () => void;
|
|
8
|
+
className?: string;
|
|
9
|
+
menu: NavMenuProps;
|
|
10
|
+
};
|
|
11
|
+
declare function NavigationExpandedCharityNew({ children, onRequestClose, className, menu, }: NavigationExpandedProps): React.JSX.Element;
|
|
12
|
+
export default NavigationExpandedCharityNew;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { HybridNavigationLink } from "./nav-list";
|
|
3
|
+
import { NavMenuProps } from "./nav";
|
|
4
|
+
export type NavigationExpandedProps = {
|
|
5
|
+
links?: Array<HybridNavigationLink>;
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
onRequestClose: () => void;
|
|
8
|
+
className?: string;
|
|
9
|
+
menu: NavMenuProps;
|
|
10
|
+
};
|
|
11
|
+
declare function NavigationExpandedCharityV2({ children, onRequestClose, className, menu, }: NavigationExpandedProps): React.JSX.Element;
|
|
12
|
+
export default NavigationExpandedCharityV2;
|
|
@@ -17,6 +17,7 @@ export type NavigationProps = {
|
|
|
17
17
|
isSticky?: boolean;
|
|
18
18
|
menuReverse?: boolean;
|
|
19
19
|
userMenu?: Array<UserMenuItemWithSubmenu>;
|
|
20
|
+
hideAction?: boolean;
|
|
20
21
|
};
|
|
21
|
-
declare function Navigation({ logo, cta, user, login, isSticky, userMenu, }: NavigationProps): React.JSX.Element;
|
|
22
|
+
declare function Navigation({ logo, cta, user, login, isSticky, userMenu, hideAction, }: NavigationProps): React.JSX.Element;
|
|
22
23
|
export default Navigation;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { ColorSpecifier } from "../../theme/theme";
|
|
3
3
|
import { ButtonProps } from "../button/button";
|
|
4
|
-
import NavigationMenu from "./nav-menu";
|
|
5
4
|
import { HybridNavigationLink } from "./nav-list";
|
|
6
5
|
import { UserData } from "./nav-user-menu";
|
|
7
6
|
import { UserMenuItemWithSubmenu } from "./nav-user-menu-items";
|
|
8
|
-
type
|
|
7
|
+
export type NavMenuProps = {
|
|
9
8
|
id: string;
|
|
10
9
|
label: React.ReactNode;
|
|
11
10
|
analyticsId?: string;
|
|
@@ -16,7 +15,13 @@ type NavigationMenu = {
|
|
|
16
15
|
action?: HybridNavigationLink;
|
|
17
16
|
actionRaised?: HybridNavigationLink;
|
|
18
17
|
loginRaised?: HybridNavigationLink | null;
|
|
18
|
+
fundraisingRaised?: HybridNavigationLink;
|
|
19
19
|
onClick?: () => void;
|
|
20
|
+
imageBackground?: {
|
|
21
|
+
desktop?: string;
|
|
22
|
+
tablet?: string;
|
|
23
|
+
mobile?: string;
|
|
24
|
+
} | string;
|
|
20
25
|
};
|
|
21
26
|
type SearchAction = {
|
|
22
27
|
analyticsId?: string;
|
|
@@ -36,7 +41,7 @@ type StatsItemProps = {
|
|
|
36
41
|
};
|
|
37
42
|
export type NavigationProps = {
|
|
38
43
|
logo?: React.ReactNode;
|
|
39
|
-
menus?: Array<
|
|
44
|
+
menus?: Array<NavMenuProps>;
|
|
40
45
|
links?: Array<HybridNavigationLink>;
|
|
41
46
|
stats?: Array<StatsItemProps>;
|
|
42
47
|
cta?: ButtonProps | null;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import CenterDecorator from "../../utils/center-decorator";
|
|
2
3
|
declare const _default: {
|
|
3
4
|
title: string;
|
|
4
|
-
decorators: (
|
|
5
|
+
decorators: (typeof CenterDecorator)[];
|
|
5
6
|
};
|
|
6
7
|
export default _default;
|
|
7
8
|
export declare const PartnerChartStatsActive: {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import CenterDecorator from "../../utils/center-decorator";
|
|
2
3
|
declare const _default: {
|
|
3
4
|
title: string;
|
|
4
|
-
decorators: (
|
|
5
|
+
decorators: (typeof CenterDecorator)[];
|
|
5
6
|
};
|
|
6
7
|
export default _default;
|
|
7
8
|
export declare const PartnerMonthlyStatsStories: {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import CenterDecorator from "../../utils/center-decorator";
|
|
2
3
|
declare const _default: {
|
|
3
4
|
title: string;
|
|
4
|
-
decorators: (
|
|
5
|
+
decorators: (typeof CenterDecorator)[];
|
|
5
6
|
};
|
|
6
7
|
export default _default;
|
|
7
8
|
export declare const PartnerMonthlyStatsStories: {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import CenterDecorator from "../../utils/center-decorator";
|
|
2
3
|
declare const _default: {
|
|
3
4
|
title: string;
|
|
4
|
-
decorators: (
|
|
5
|
+
decorators: (typeof CenterDecorator)[];
|
|
5
6
|
};
|
|
6
7
|
export default _default;
|
|
7
8
|
export declare const PartnerToggleButtonBlockStory: {
|
|
@@ -3,20 +3,28 @@ import CenterDecorator from "../../utils/center-decorator";
|
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
5
|
decorators: (typeof CenterDecorator)[];
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
6
|
+
argTypes: {
|
|
7
|
+
label: {
|
|
8
|
+
control: string;
|
|
9
|
+
defaultValue: string;
|
|
10
|
+
};
|
|
11
|
+
required: {
|
|
12
|
+
control: string;
|
|
13
|
+
defaultValue: boolean;
|
|
14
|
+
};
|
|
15
|
+
helperText: {
|
|
16
|
+
control: string;
|
|
17
|
+
defaultValue: string;
|
|
18
|
+
};
|
|
19
|
+
error: {
|
|
20
|
+
control: string;
|
|
21
|
+
defaultValue: string;
|
|
22
|
+
};
|
|
18
23
|
};
|
|
19
24
|
};
|
|
25
|
+
export default _default;
|
|
26
|
+
export declare const PhoneNumberInputStory: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("@storybook/types").Args>;
|
|
27
|
+
export declare const PhoneNumberInputDisableStory: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("@storybook/types").Args>;
|
|
20
28
|
export declare const PhoneInputStory: {
|
|
21
29
|
(): React.JSX.Element;
|
|
22
30
|
story: {
|
|
@@ -29,15 +37,5 @@ export declare const PhoneNumberInputV2: {
|
|
|
29
37
|
name: string;
|
|
30
38
|
};
|
|
31
39
|
};
|
|
32
|
-
export declare const PhoneNumberInputStoryV1:
|
|
33
|
-
|
|
34
|
-
story: {
|
|
35
|
-
name: string;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
export declare const PhoneNumberInputIsDisableCountriesStoryV1: {
|
|
39
|
-
(): React.JSX.Element;
|
|
40
|
-
story: {
|
|
41
|
-
name: string;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
40
|
+
export declare const PhoneNumberInputStoryV1: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("@storybook/types").Args>;
|
|
41
|
+
export declare const PhoneNumberInputIsDisableCountriesStoryV1: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("@storybook/types").Args>;
|