@xsolla/xui-icons-payment 0.211.1 → 0.213.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.
- package/native/index.d.mts +9 -1
- package/native/index.d.ts +9 -1
- package/package.json +1 -1
- package/web/index.d.mts +9 -1
- package/web/index.d.ts +9 -1
package/native/index.d.mts
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
3
|
interface PaymentIconProps {
|
|
4
|
-
/**
|
|
4
|
+
/**
|
|
5
|
+
* Height in pixels (width auto-calculated as 4:3 ratio). Default: 18
|
|
6
|
+
*
|
|
7
|
+
* Stays `number` rather than the shared `IconSize` (unlike icons-base /
|
|
8
|
+
* -brand / -currency / -flag / -product): width is derived arithmetically as
|
|
9
|
+
* `size * 4 / 3`, and a CSS length such as `"100%"` cannot be multiplied.
|
|
10
|
+
* Sizing a payment icon by its container would need an aspect-ratio-based
|
|
11
|
+
* rewrite, not a wider type. See FEP-895.
|
|
12
|
+
*/
|
|
5
13
|
size?: number;
|
|
6
14
|
/** Additional CSS class (web only) */
|
|
7
15
|
className?: string;
|
package/native/index.d.ts
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
3
|
interface PaymentIconProps {
|
|
4
|
-
/**
|
|
4
|
+
/**
|
|
5
|
+
* Height in pixels (width auto-calculated as 4:3 ratio). Default: 18
|
|
6
|
+
*
|
|
7
|
+
* Stays `number` rather than the shared `IconSize` (unlike icons-base /
|
|
8
|
+
* -brand / -currency / -flag / -product): width is derived arithmetically as
|
|
9
|
+
* `size * 4 / 3`, and a CSS length such as `"100%"` cannot be multiplied.
|
|
10
|
+
* Sizing a payment icon by its container would need an aspect-ratio-based
|
|
11
|
+
* rewrite, not a wider type. See FEP-895.
|
|
12
|
+
*/
|
|
5
13
|
size?: number;
|
|
6
14
|
/** Additional CSS class (web only) */
|
|
7
15
|
className?: string;
|
package/package.json
CHANGED
package/web/index.d.mts
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
3
|
interface PaymentIconProps {
|
|
4
|
-
/**
|
|
4
|
+
/**
|
|
5
|
+
* Height in pixels (width auto-calculated as 4:3 ratio). Default: 18
|
|
6
|
+
*
|
|
7
|
+
* Stays `number` rather than the shared `IconSize` (unlike icons-base /
|
|
8
|
+
* -brand / -currency / -flag / -product): width is derived arithmetically as
|
|
9
|
+
* `size * 4 / 3`, and a CSS length such as `"100%"` cannot be multiplied.
|
|
10
|
+
* Sizing a payment icon by its container would need an aspect-ratio-based
|
|
11
|
+
* rewrite, not a wider type. See FEP-895.
|
|
12
|
+
*/
|
|
5
13
|
size?: number;
|
|
6
14
|
/** Additional CSS class (web only) */
|
|
7
15
|
className?: string;
|
package/web/index.d.ts
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
3
|
interface PaymentIconProps {
|
|
4
|
-
/**
|
|
4
|
+
/**
|
|
5
|
+
* Height in pixels (width auto-calculated as 4:3 ratio). Default: 18
|
|
6
|
+
*
|
|
7
|
+
* Stays `number` rather than the shared `IconSize` (unlike icons-base /
|
|
8
|
+
* -brand / -currency / -flag / -product): width is derived arithmetically as
|
|
9
|
+
* `size * 4 / 3`, and a CSS length such as `"100%"` cannot be multiplied.
|
|
10
|
+
* Sizing a payment icon by its container would need an aspect-ratio-based
|
|
11
|
+
* rewrite, not a wider type. See FEP-895.
|
|
12
|
+
*/
|
|
5
13
|
size?: number;
|
|
6
14
|
/** Additional CSS class (web only) */
|
|
7
15
|
className?: string;
|