@paybutton/react 1.2.0 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/BarChart/BarChart.stories.d.ts +2 -3
- package/dist/components/Button/Button.stories.d.ts +3 -4
- package/dist/components/PayButton/PayButton.stories.d.ts +7 -8
- package/dist/components/PaymentDialog/PaymentDialog.stories.d.ts +7 -8
- package/dist/components/Widget/Widget.stories.d.ts +7 -8
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/util/api-client.d.ts +5 -5
- package/package.json +55 -55
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Story } from '@storybook/react';
|
|
2
1
|
import React from 'react';
|
|
3
2
|
import { BarChartProps } from './BarChart';
|
|
4
3
|
declare const _default: {
|
|
@@ -10,7 +9,7 @@ declare const _default: {
|
|
|
10
9
|
color: string;
|
|
11
10
|
};
|
|
12
11
|
};
|
|
13
|
-
decorators: ((Story:
|
|
12
|
+
decorators: ((Story: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, import("@storybook/react").Args>) => React.ReactNode)[];
|
|
14
13
|
argTypes: {
|
|
15
14
|
onClick: {
|
|
16
15
|
table: {
|
|
@@ -23,4 +22,4 @@ declare const _default: {
|
|
|
23
22
|
};
|
|
24
23
|
};
|
|
25
24
|
export default _default;
|
|
26
|
-
export declare const Default:
|
|
25
|
+
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, BarChartProps>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Story } from '@storybook/react';
|
|
2
1
|
import React from 'react';
|
|
3
2
|
import { ButtonProps } from './Button';
|
|
4
3
|
declare const _default: {
|
|
@@ -12,7 +11,7 @@ declare const _default: {
|
|
|
12
11
|
disabled: boolean;
|
|
13
12
|
};
|
|
14
13
|
};
|
|
15
|
-
decorators: ((Story:
|
|
14
|
+
decorators: ((Story: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, import("@storybook/react").Args>) => React.ReactNode)[];
|
|
16
15
|
argTypes: {
|
|
17
16
|
onClick: {
|
|
18
17
|
table: {
|
|
@@ -25,5 +24,5 @@ declare const _default: {
|
|
|
25
24
|
};
|
|
26
25
|
};
|
|
27
26
|
export default _default;
|
|
28
|
-
export declare const Default:
|
|
29
|
-
export declare const OrangeTheme:
|
|
27
|
+
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ButtonProps>;
|
|
28
|
+
export declare const OrangeTheme: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ButtonProps>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Story } from '@storybook/react';
|
|
2
1
|
import React from 'react';
|
|
3
2
|
import { PayButtonProps } from './PayButton';
|
|
4
3
|
declare const _default: {
|
|
@@ -15,7 +14,7 @@ declare const _default: {
|
|
|
15
14
|
editable: boolean;
|
|
16
15
|
};
|
|
17
16
|
};
|
|
18
|
-
decorators: ((Story:
|
|
17
|
+
decorators: ((Story: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, import("@storybook/react").Args>) => JSX.Element)[];
|
|
19
18
|
argTypes: {
|
|
20
19
|
onClick: {
|
|
21
20
|
table: {
|
|
@@ -41,9 +40,9 @@ declare const _default: {
|
|
|
41
40
|
};
|
|
42
41
|
};
|
|
43
42
|
export default _default;
|
|
44
|
-
export declare const Default:
|
|
45
|
-
export declare const OrangeTheme:
|
|
46
|
-
export declare const UsdAmount:
|
|
47
|
-
export declare const withGoal:
|
|
48
|
-
export declare const withUSDGoalCurrency:
|
|
49
|
-
export declare const withEURGoalCurrency:
|
|
43
|
+
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, PayButtonProps>;
|
|
44
|
+
export declare const OrangeTheme: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, PayButtonProps>;
|
|
45
|
+
export declare const UsdAmount: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, PayButtonProps>;
|
|
46
|
+
export declare const withGoal: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, PayButtonProps>;
|
|
47
|
+
export declare const withUSDGoalCurrency: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, PayButtonProps>;
|
|
48
|
+
export declare const withEURGoalCurrency: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, PayButtonProps>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Story } from '@storybook/react';
|
|
2
1
|
import React from 'react';
|
|
3
2
|
import { PaymentDialogProps } from './PaymentDialog';
|
|
4
3
|
declare const _default: {
|
|
@@ -16,7 +15,7 @@ declare const _default: {
|
|
|
16
15
|
dialogOpen: boolean;
|
|
17
16
|
};
|
|
18
17
|
};
|
|
19
|
-
decorators: ((Story:
|
|
18
|
+
decorators: ((Story: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, import("@storybook/react").Args>) => JSX.Element)[];
|
|
20
19
|
argTypes: {
|
|
21
20
|
onClick: {
|
|
22
21
|
table: {
|
|
@@ -42,9 +41,9 @@ declare const _default: {
|
|
|
42
41
|
};
|
|
43
42
|
};
|
|
44
43
|
export default _default;
|
|
45
|
-
export declare const Default:
|
|
46
|
-
export declare const OrangeTheme:
|
|
47
|
-
export declare const UsdAmount:
|
|
48
|
-
export declare const withGoal:
|
|
49
|
-
export declare const withUSDGoalCurrency:
|
|
50
|
-
export declare const withEURGoalCurrency:
|
|
44
|
+
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, PaymentDialogProps>;
|
|
45
|
+
export declare const OrangeTheme: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, PaymentDialogProps>;
|
|
46
|
+
export declare const UsdAmount: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, PaymentDialogProps>;
|
|
47
|
+
export declare const withGoal: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, PaymentDialogProps>;
|
|
48
|
+
export declare const withUSDGoalCurrency: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, PaymentDialogProps>;
|
|
49
|
+
export declare const withEURGoalCurrency: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, PaymentDialogProps>;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { Story } from '@storybook/react';
|
|
2
1
|
import React from 'react';
|
|
3
2
|
import { WidgetProps } from './Widget';
|
|
4
3
|
declare const _default: {
|
|
5
4
|
title: string;
|
|
6
5
|
component: React.FC<WidgetProps>;
|
|
7
|
-
decorators: ((Story:
|
|
6
|
+
decorators: ((Story: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, import("@storybook/react").Args>) => React.ReactNode)[];
|
|
8
7
|
argTypes: {
|
|
9
8
|
success: {
|
|
10
9
|
control: string;
|
|
@@ -27,9 +26,9 @@ declare const _default: {
|
|
|
27
26
|
};
|
|
28
27
|
};
|
|
29
28
|
export default _default;
|
|
30
|
-
export declare const Default:
|
|
31
|
-
export declare const Success:
|
|
32
|
-
export declare const Loading:
|
|
33
|
-
export declare const OrangeTheme:
|
|
34
|
-
export declare const CustomTheme:
|
|
35
|
-
export declare const WithGoal:
|
|
29
|
+
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, WidgetProps>;
|
|
30
|
+
export declare const Success: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, WidgetProps>;
|
|
31
|
+
export declare const Loading: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, WidgetProps>;
|
|
32
|
+
export declare const OrangeTheme: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, WidgetProps>;
|
|
33
|
+
export declare const CustomTheme: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, WidgetProps>;
|
|
34
|
+
export declare const WithGoal: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, WidgetProps>;
|