@w3payments/react 1.1.2 → 1.2.0

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.
Files changed (33) hide show
  1. package/dist/assets/main.css +1 -1
  2. package/dist/components/PaymentMethodRow.d.ts +26 -0
  3. package/dist/components/PaymentMethodRow.d.ts.map +1 -0
  4. package/dist/components/W3PaymentFooter.d.ts +8 -0
  5. package/dist/components/W3PaymentFooter.d.ts.map +1 -0
  6. package/dist/components/W3PaymentWidget.d.ts +4 -0
  7. package/dist/components/W3PaymentWidget.d.ts.map +1 -1
  8. package/dist/components/W3PaymentsProvider.d.ts.map +1 -1
  9. package/dist/components/index.d.ts +5 -2
  10. package/dist/components/index.d.ts.map +1 -1
  11. package/dist/index.js +22 -63
  12. package/dist/index.mjs +11175 -1444
  13. package/dist/main.d.ts +2 -2
  14. package/dist/main.d.ts.map +1 -1
  15. package/dist/theme.d.ts +194 -0
  16. package/dist/theme.d.ts.map +1 -0
  17. package/package.json +7 -8
  18. package/dist/components/PaymentButton.d.ts +0 -18
  19. package/dist/components/PaymentButton.d.ts.map +0 -1
  20. package/dist/components/PaymentFooter.d.ts +0 -10
  21. package/dist/components/PaymentFooter.d.ts.map +0 -1
  22. package/dist/components/PaymentHeader.d.ts +0 -10
  23. package/dist/components/PaymentHeader.d.ts.map +0 -1
  24. package/dist/components/PaymentInput.d.ts +0 -21
  25. package/dist/components/PaymentInput.d.ts.map +0 -1
  26. package/dist/components/PaymentMethodGroup.d.ts +0 -14
  27. package/dist/components/PaymentMethodGroup.d.ts.map +0 -1
  28. package/dist/components/PaymentMethodOption.d.ts +0 -16
  29. package/dist/components/PaymentMethodOption.d.ts.map +0 -1
  30. package/dist/components/PaymentMethodSelection.d.ts +0 -14
  31. package/dist/components/PaymentMethodSelection.d.ts.map +0 -1
  32. package/dist/components/PaymentSummary.d.ts +0 -13
  33. package/dist/components/PaymentSummary.d.ts.map +0 -1
package/dist/main.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  export declare const W3_PAYMENTS_REACT_VERSION = "1.0.0";
2
- export { W3PaymentsProvider, W3PaymentWidget } from './components';
2
+ export { W3PaymentsProvider, W3PaymentWidget, w3MantineTheme, W3_THEME_CONSTANTS, } from './components';
3
3
  export { useW3Payments } from './hooks/useW3Payments';
4
- export type { W3PaymentsProviderProps, W3PaymentWidgetProps, PaymentInitiateData, PaymentCompleteData, PaymentErrorData, PaymentMethodOptionProps, } from './components';
4
+ export type { W3PaymentsProviderProps, W3PaymentWidgetProps, PaymentInitiateData, PaymentCompleteData, PaymentErrorData, PaymentMethodRowProps, W3PaymentFooterProps, } from './components';
5
5
  export type { PaymentEvent, PaymentError, PaymentMethodDisplayData, } from './types';
6
6
  declare const _default: {
7
7
  W3_PAYMENTS_REACT_VERSION: string;
@@ -1 +1 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../lib/main.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,YAAY,CAAC;AAGpB,eAAO,MAAM,yBAAyB,UAAU,CAAC;AAGjD,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAGnE,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAGtD,YAAY,EACV,uBAAuB,EACvB,oBAAoB,EACpB,mBAAmB,EACnB,mBAAmB,EACnB,gBAAgB,EAChB,wBAAwB,GACzB,MAAM,cAAc,CAAC;AAGtB,YAAY,EACV,YAAY,EACZ,YAAY,EACZ,wBAAwB,GACzB,MAAM,SAAS,CAAC;;;;AAGjB,wBAEE"}
1
+ {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../lib/main.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,YAAY,CAAC;AAGpB,eAAO,MAAM,yBAAyB,UAAU,CAAC;AAGjD,OAAO,EACL,kBAAkB,EAClB,eAAe,EACf,cAAc,EACd,kBAAkB,GACnB,MAAM,cAAc,CAAC;AAGtB,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAGtD,YAAY,EACV,uBAAuB,EACvB,oBAAoB,EACpB,mBAAmB,EACnB,mBAAmB,EACnB,gBAAgB,EAChB,qBAAqB,EACrB,oBAAoB,GACrB,MAAM,cAAc,CAAC;AAGtB,YAAY,EACV,YAAY,EACZ,YAAY,EACZ,wBAAwB,GACzB,MAAM,SAAS,CAAC;;;;AAGjB,wBAEE"}
@@ -0,0 +1,194 @@
1
+ import { MantineColorsTuple } from '@mantine/core';
2
+ export declare const W3_THEME_CONSTANTS: {
3
+ readonly WIDGET_HEIGHT: "600px";
4
+ readonly WIDGET_MAX_WIDTH: "440px";
5
+ readonly WIDGET_MIN_WIDTH: "380px";
6
+ readonly QR_SIZE: "176px";
7
+ readonly QR_GENERATION_SIZE: 176;
8
+ readonly QR_MARGIN: 1;
9
+ readonly HEADER_LOGO_SIZE: "28px";
10
+ readonly ACTION_ICON_SIZE: "40px";
11
+ readonly INFO_ICON_SIZE: "20px";
12
+ readonly COPY_ICON_SIZE: "14px";
13
+ readonly COLORS: {
14
+ readonly WIDGET_BACKGROUND: "var(--w3-widget-background, #fefefe)";
15
+ readonly CARD_BACKGROUND: "var(--w3-card-background, #fdfdfd)";
16
+ readonly QR_BACKGROUND: "var(--w3-qr-background, #fafafa)";
17
+ readonly INFO_BACKGROUND: "var(--w3-info-background, #f0f9ff)";
18
+ readonly INFO_ICON_BACKGROUND: "var(--w3-info-icon-background, #dbeafe)";
19
+ readonly USD_BADGE_BACKGROUND: "var(--w3-usd-badge-background, #f0f9ff)";
20
+ readonly COPY_BUTTON_BACKGROUND: "var(--w3-copy-button-background, white)";
21
+ readonly BORDER_LIGHT: "var(--w3-border-light, #f8f8f8)";
22
+ readonly BORDER_MEDIUM: "var(--w3-border-medium, #f4f4f5)";
23
+ readonly BORDER_COPY_DEFAULT: "var(--w3-border-copy-default, #e5e7eb)";
24
+ readonly INFO_TEXT: "var(--w3-info-text, #1e40af)";
25
+ readonly USD_BADGE_TEXT: "var(--w3-usd-badge-text, #1e40af)";
26
+ readonly MUTED_TEXT: "var(--w3-muted-text, #a1a1aa)";
27
+ };
28
+ readonly FONT_SIZES: {
29
+ readonly QR_AMOUNT: "24px";
30
+ readonly MAIN_AMOUNT: "36px";
31
+ readonly USD_BADGE: "10px";
32
+ readonly HEADER_LOGO: "9px";
33
+ readonly CURRENCY_LABEL: "10px";
34
+ readonly ADDRESS_TEXT: "10px";
35
+ readonly PAYMENT_METHOD_LABEL: "9px";
36
+ };
37
+ readonly TEXT: {
38
+ readonly DIRECT_DEPOSIT: "Direct Deposit";
39
+ readonly FREE: "Free";
40
+ readonly PROCESSING_TIMES: {
41
+ readonly INSTANT: "Instant";
42
+ readonly EXCHANGE: "1-5 min";
43
+ readonly FIAT: "1-3 days";
44
+ readonly WALLET: "10-20 min";
45
+ };
46
+ readonly FEES: {
47
+ readonly FREE: "Free";
48
+ readonly EXCHANGE: "1-3%";
49
+ readonly FIAT: "2-5%";
50
+ };
51
+ };
52
+ };
53
+ export declare const w3MantineTheme: {
54
+ focusRing?: "auto" | "always" | "never" | undefined;
55
+ scale?: number | undefined;
56
+ fontSmoothing?: boolean | undefined;
57
+ white?: string | undefined;
58
+ black?: string | undefined;
59
+ colors?: {
60
+ [x: string & {}]: MantineColorsTuple | undefined;
61
+ dark?: MantineColorsTuple | undefined;
62
+ gray?: MantineColorsTuple | undefined;
63
+ red?: MantineColorsTuple | undefined;
64
+ pink?: MantineColorsTuple | undefined;
65
+ grape?: MantineColorsTuple | undefined;
66
+ violet?: MantineColorsTuple | undefined;
67
+ indigo?: MantineColorsTuple | undefined;
68
+ blue?: MantineColorsTuple | undefined;
69
+ cyan?: MantineColorsTuple | undefined;
70
+ green?: MantineColorsTuple | undefined;
71
+ lime?: MantineColorsTuple | undefined;
72
+ yellow?: MantineColorsTuple | undefined;
73
+ orange?: MantineColorsTuple | undefined;
74
+ teal?: MantineColorsTuple | undefined;
75
+ } | undefined;
76
+ primaryShade?: import('@mantine/core').MantineColorShade | {
77
+ light?: import('@mantine/core').MantineColorShade | undefined;
78
+ dark?: import('@mantine/core').MantineColorShade | undefined;
79
+ } | undefined;
80
+ primaryColor?: string | undefined;
81
+ variantColorResolver?: import('@mantine/core').VariantColorsResolver | undefined;
82
+ autoContrast?: boolean | undefined;
83
+ luminanceThreshold?: number | undefined;
84
+ fontFamily?: string | undefined;
85
+ fontFamilyMonospace?: string | undefined;
86
+ headings?: {
87
+ fontFamily?: string | undefined;
88
+ fontWeight?: string | undefined;
89
+ textWrap?: "wrap" | "nowrap" | "balance" | "pretty" | "stable" | undefined;
90
+ sizes?: {
91
+ h1?: {
92
+ fontSize?: string | undefined;
93
+ fontWeight?: string | undefined;
94
+ lineHeight?: string | undefined;
95
+ } | undefined;
96
+ h2?: {
97
+ fontSize?: string | undefined;
98
+ fontWeight?: string | undefined;
99
+ lineHeight?: string | undefined;
100
+ } | undefined;
101
+ h3?: {
102
+ fontSize?: string | undefined;
103
+ fontWeight?: string | undefined;
104
+ lineHeight?: string | undefined;
105
+ } | undefined;
106
+ h4?: {
107
+ fontSize?: string | undefined;
108
+ fontWeight?: string | undefined;
109
+ lineHeight?: string | undefined;
110
+ } | undefined;
111
+ h5?: {
112
+ fontSize?: string | undefined;
113
+ fontWeight?: string | undefined;
114
+ lineHeight?: string | undefined;
115
+ } | undefined;
116
+ h6?: {
117
+ fontSize?: string | undefined;
118
+ fontWeight?: string | undefined;
119
+ lineHeight?: string | undefined;
120
+ } | undefined;
121
+ } | undefined;
122
+ } | undefined;
123
+ radius?: {
124
+ [x: string & {}]: string | undefined;
125
+ md?: string | undefined;
126
+ xs?: string | undefined;
127
+ sm?: string | undefined;
128
+ lg?: string | undefined;
129
+ xl?: string | undefined;
130
+ } | undefined;
131
+ defaultRadius?: import('@mantine/core').MantineRadius | undefined;
132
+ spacing?: {
133
+ [x: number]: string | undefined;
134
+ [x: string & {}]: string | undefined;
135
+ md?: string | undefined;
136
+ xs?: string | undefined;
137
+ sm?: string | undefined;
138
+ lg?: string | undefined;
139
+ xl?: string | undefined;
140
+ } | undefined;
141
+ fontSizes?: {
142
+ [x: string & {}]: string | undefined;
143
+ md?: string | undefined;
144
+ xs?: string | undefined;
145
+ sm?: string | undefined;
146
+ lg?: string | undefined;
147
+ xl?: string | undefined;
148
+ } | undefined;
149
+ lineHeights?: {
150
+ [x: string & {}]: string | undefined;
151
+ md?: string | undefined;
152
+ xs?: string | undefined;
153
+ sm?: string | undefined;
154
+ lg?: string | undefined;
155
+ xl?: string | undefined;
156
+ } | undefined;
157
+ breakpoints?: {
158
+ [x: string & {}]: string | undefined;
159
+ md?: string | undefined;
160
+ xs?: string | undefined;
161
+ sm?: string | undefined;
162
+ lg?: string | undefined;
163
+ xl?: string | undefined;
164
+ } | undefined;
165
+ shadows?: {
166
+ [x: string & {}]: string | undefined;
167
+ md?: string | undefined;
168
+ xs?: string | undefined;
169
+ sm?: string | undefined;
170
+ lg?: string | undefined;
171
+ xl?: string | undefined;
172
+ } | undefined;
173
+ respectReducedMotion?: boolean | undefined;
174
+ cursorType?: "default" | "pointer" | undefined;
175
+ defaultGradient?: {
176
+ from?: string | undefined;
177
+ to?: string | undefined;
178
+ deg?: number | undefined;
179
+ } | undefined;
180
+ activeClassName?: string | undefined;
181
+ focusClassName?: string | undefined;
182
+ components?: {
183
+ [x: string]: {
184
+ classNames?: any;
185
+ styles?: any;
186
+ vars?: any;
187
+ defaultProps?: any;
188
+ } | undefined;
189
+ } | undefined;
190
+ other?: {
191
+ [x: string]: any;
192
+ } | undefined;
193
+ };
194
+ //# sourceMappingURL=theme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../lib/theme.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AA6CxD,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkErB,CAAC;AAEX,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BzB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w3payments/react",
3
- "version": "1.1.2",
3
+ "version": "1.2.0",
4
4
  "description": "React component library for universal Web3 payment processing with multi-vendor support",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -52,13 +52,11 @@
52
52
  "**/*.css"
53
53
  ],
54
54
  "dependencies": {
55
- "@meshconnect/web-link-sdk": "^3.4.1",
56
- "@storybook/react-vite": "^10.1.10",
57
- "@tailwindcss/vite": "^4.1.18",
58
- "tailwindcss": "^4.1.18",
59
- "@w3payments/adapters": "1.1.1",
60
- "@w3payments/core": "1.1.1",
61
- "@w3payments/common": "1.1.1"
55
+ "@mantine/core": "^8.3.10",
56
+ "framer-motion": "^12.23.26",
57
+ "@w3payments/common": "1.2.0",
58
+ "@w3payments/adapters": "1.2.0",
59
+ "@w3payments/core": "1.2.0"
62
60
  },
63
61
  "peerDependencies": {
64
62
  "react": ">=18.0.0",
@@ -79,6 +77,7 @@
79
77
  "@storybook/addon-essentials": "^8.6.14",
80
78
  "@storybook/addon-interactions": "^8.6.14",
81
79
  "@storybook/addon-vitest": "^10.1.10",
80
+ "@storybook/react-vite": "^10.1.10",
82
81
  "@types/cors": "^2.8.19",
83
82
  "@types/express": "^5.0.6",
84
83
  "@types/node": "^24.10.3",
@@ -1,18 +0,0 @@
1
- import { default as React } from 'react';
2
- export interface PaymentButtonProps {
3
- /** Amount to display on the button */
4
- amount: string;
5
- /** Currency symbol (e.g., '$', '€') */
6
- currencySymbol?: string;
7
- /** Whether the button is disabled */
8
- disabled?: boolean;
9
- /** Loading state */
10
- loading?: boolean;
11
- /** Click handler */
12
- onClick?: () => void;
13
- /** Custom button text (overrides "Pay" prefix) */
14
- text?: string;
15
- }
16
- export declare const PaymentButton: React.FC<PaymentButtonProps>;
17
- export default PaymentButton;
18
- //# sourceMappingURL=PaymentButton.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PaymentButton.d.ts","sourceRoot":"","sources":["../../lib/components/PaymentButton.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,kBAAkB;IACjC,sCAAsC;IACtC,MAAM,EAAE,MAAM,CAAC;IACf,uCAAuC;IACvC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,qCAAqC;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oBAAoB;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,oBAAoB;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,kDAAkD;IAClD,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAiFtD,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -1,10 +0,0 @@
1
- import { default as React } from 'react';
2
- export interface PaymentFooterProps {
3
- /** Custom branding text (default: "Payments") */
4
- brandingText?: string;
5
- /** Show secured indicator (default: true) */
6
- showSecured?: boolean;
7
- }
8
- export declare const PaymentFooter: React.FC<PaymentFooterProps>;
9
- export default PaymentFooter;
10
- //# sourceMappingURL=PaymentFooter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PaymentFooter.d.ts","sourceRoot":"","sources":["../../lib/components/PaymentFooter.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,kBAAkB;IACjC,iDAAiD;IACjD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,6CAA6C;IAC7C,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAyFtD,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -1,10 +0,0 @@
1
- import { default as React } from 'react';
2
- export interface PaymentHeaderProps {
3
- /** Title text for the header */
4
- title?: string;
5
- /** Logo URL for the header */
6
- logo?: string;
7
- }
8
- export declare const PaymentHeader: React.FC<PaymentHeaderProps>;
9
- export default PaymentHeader;
10
- //# sourceMappingURL=PaymentHeader.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PaymentHeader.d.ts","sourceRoot":"","sources":["../../lib/components/PaymentHeader.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,kBAAkB;IACjC,gCAAgC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,8BAA8B;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA4BtD,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -1,21 +0,0 @@
1
- import { default as React } from 'react';
2
- import { Currency } from '@w3payments/common';
3
- export interface PaymentInputProps {
4
- /** Additional CSS classes */
5
- className?: string;
6
- /** Title text (e.g., "Paying for this or that") */
7
- title?: string;
8
- /** Subtitle text */
9
- subtext?: string;
10
- /** Current amount value */
11
- amount: string;
12
- /** Currency for the payment */
13
- currency: Currency;
14
- /** Whether amount input is editable */
15
- editable?: boolean;
16
- /** Callback when amount changes */
17
- onAmountChange?: (amount: string) => void;
18
- }
19
- export declare const PaymentInput: React.FC<PaymentInputProps>;
20
- export default PaymentInput;
21
- //# sourceMappingURL=PaymentInput.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PaymentInput.d.ts","sourceRoot":"","sources":["../../lib/components/PaymentInput.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAOnD,MAAM,WAAW,iBAAiB;IAChC,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mDAAmD;IACnD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,oBAAoB;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,2BAA2B;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,+BAA+B;IAC/B,QAAQ,EAAE,QAAQ,CAAC;IACnB,uCAAuC;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mCAAmC;IACnC,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CAC3C;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA8IpD,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1,14 +0,0 @@
1
- import { default as React } from 'react';
2
- export interface PaymentMethodGroupProps {
3
- /** Group label/title */
4
- label: string;
5
- /** Optional description for the group */
6
- description?: string;
7
- /** Child elements (PaymentMethodOptions) */
8
- children: React.ReactNode;
9
- /** Show disabled payment methods at the end of the list (default: true) */
10
- showDisabled?: boolean;
11
- }
12
- export declare const PaymentMethodGroup: React.FC<PaymentMethodGroupProps>;
13
- export default PaymentMethodGroup;
14
- //# sourceMappingURL=PaymentMethodGroup.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PaymentMethodGroup.d.ts","sourceRoot":"","sources":["../../lib/components/PaymentMethodGroup.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAmC,MAAM,OAAO,CAAC;AAExD,MAAM,WAAW,uBAAuB;IACtC,wBAAwB;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,yCAAyC;IACzC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,4CAA4C;IAC5C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,2EAA2E;IAC3E,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAgEhE,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -1,16 +0,0 @@
1
- import { default as React } from 'react';
2
- import { PaymentMethodDisplayData } from '../types';
3
- /**
4
- * PaymentMethodOption component props
5
- */
6
- export interface PaymentMethodOptionProps {
7
- /** Payment method display data */
8
- data: PaymentMethodDisplayData;
9
- /** Whether this option is selected */
10
- selected?: boolean;
11
- /** Click handler */
12
- onClick?: () => void;
13
- }
14
- export declare const PaymentMethodOption: React.FC<PaymentMethodOptionProps>;
15
- export default PaymentMethodOption;
16
- //# sourceMappingURL=PaymentMethodOption.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PaymentMethodOption.d.ts","sourceRoot":"","sources":["../../lib/components/PaymentMethodOption.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAExD;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,kCAAkC;IAClC,IAAI,EAAE,wBAAwB,CAAC;IAC/B,sCAAsC;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oBAAoB;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAyFlE,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -1,14 +0,0 @@
1
- import { default as React } from 'react';
2
- export interface PaymentMethodSelectionProps {
3
- /** Currently selected payment method ID */
4
- selectedMethodId?: string;
5
- /** Callback when a payment method is selected */
6
- onMethodSelect?: (methodId: string) => void;
7
- /** Child elements (PaymentMethodGroups) */
8
- children: React.ReactNode;
9
- /** Title for the selection section */
10
- title?: string;
11
- }
12
- export declare const PaymentMethodSelection: React.FC<PaymentMethodSelectionProps>;
13
- export default PaymentMethodSelection;
14
- //# sourceMappingURL=PaymentMethodSelection.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PaymentMethodSelection.d.ts","sourceRoot":"","sources":["../../lib/components/PaymentMethodSelection.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,2BAA2B;IAC1C,2CAA2C;IAC3C,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iDAAiD;IACjD,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,2CAA2C;IAC3C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,sCAAsC;IACtC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,2BAA2B,CAyBxE,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
@@ -1,13 +0,0 @@
1
- import { default as React } from 'react';
2
- import { PaymentMethodDisplayData } from '../types';
3
- export interface PaymentSummaryProps {
4
- /** Selected payment method */
5
- selectedMethod?: PaymentMethodDisplayData;
6
- /** Processing fee percentage */
7
- processingFee?: number;
8
- /** Processing time description */
9
- processingTime?: string;
10
- }
11
- export declare const PaymentSummary: React.FC<PaymentSummaryProps>;
12
- export default PaymentSummary;
13
- //# sourceMappingURL=PaymentSummary.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PaymentSummary.d.ts","sourceRoot":"","sources":["../../lib/components/PaymentSummary.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAExD,MAAM,WAAW,mBAAmB;IAClC,8BAA8B;IAC9B,cAAc,CAAC,EAAE,wBAAwB,CAAC;IAC1C,gCAAgC;IAChC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,kCAAkC;IAClC,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAoGxD,CAAC;AAEF,eAAe,cAAc,CAAC"}