@xsolla/xui-icons-currency 0.204.0 → 0.205.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/README.md +12 -6
- package/assets/icon_green-orb--colored.svg +3 -0
- package/assets/icon_green-orb--mono.svg +3 -0
- package/assets/icon_loyalty-point--colored.svg +3 -0
- package/assets/icon_loyalty-point--mono.svg +3 -0
- package/assets/icon_play-time--colored.svg +2 -12
- package/assets/icon_play-time--mono.svg +2 -12
- package/assets/icon_xsolla-gold--colored.svg +2 -17
- package/assets/icon_xsolla-gold--mono.svg +2 -12
- package/assets/icon_xsolla-point--colored.svg +2 -7
- package/assets/icon_xsolla-point--mono.svg +2 -7
- package/assets/icon_xsolla-ticket--colored.svg +2 -11
- package/assets/icon_xsolla-ticket--mono.svg +2 -4
- package/assets/icon_xsolla-zk--colored.svg +3 -0
- package/assets/icon_xsolla-zk--mono.svg +3 -0
- package/native/index.d.mts +7 -1
- package/native/index.d.ts +7 -1
- package/native/index.js +66 -21
- package/native/index.js.map +1 -1
- package/native/index.mjs +62 -20
- package/native/index.mjs.map +1 -1
- package/package.json +1 -1
- package/web/index.d.mts +7 -1
- package/web/index.d.ts +7 -1
- package/web/index.js +66 -21
- package/web/index.js.map +1 -1
- package/web/index.mjs +62 -20
- package/web/index.mjs.map +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# IconsCurrency
|
|
2
2
|
|
|
3
|
-
Xsolla virtual-currency icons (`PlayTime`, `XsollaGold`, `XsollaPoint`, `XsollaTicket`) with `colored` and `mono` variants.
|
|
3
|
+
Xsolla virtual-currency icons (`GreenOrb`, `LoyaltyPoint`, `PlayTime`, `XsollaGold`, `XsollaPoint`, `XsollaTicket`, `XsollaZk`) with `colored` and `mono` variants.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
@@ -11,7 +11,7 @@ npm install @xsolla/xui-icons-currency
|
|
|
11
11
|
## Imports
|
|
12
12
|
|
|
13
13
|
```tsx
|
|
14
|
-
import { PlayTime, XsollaGold, XsollaPoint, XsollaTicket, BaseIcon, type CurrencyIconProps, type IconVariant } from '@xsolla/xui-icons-currency';
|
|
14
|
+
import { GreenOrb, LoyaltyPoint, PlayTime, XsollaGold, XsollaPoint, XsollaTicket, XsollaZk, BaseIcon, type CurrencyIconProps, type IconVariant } from '@xsolla/xui-icons-currency';
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
## Quick start
|
|
@@ -53,10 +53,16 @@ Internal wrapper exported for advanced use cases (custom currency icons built fr
|
|
|
53
53
|
|
|
54
54
|
| Component | Description |
|
|
55
55
|
| --- | --- |
|
|
56
|
-
| `
|
|
57
|
-
| `
|
|
58
|
-
| `
|
|
59
|
-
| `
|
|
56
|
+
| `GreenOrb` | Green Orb currency. |
|
|
57
|
+
| `LoyaltyPoint` | Loyalty Point currency. |
|
|
58
|
+
| `PlayTime` | Play Time game currency. |
|
|
59
|
+
| `XsollaGold` | Xsolla Gold currency. |
|
|
60
|
+
| `XsollaPoint` | Xsolla Point currency. |
|
|
61
|
+
| `XsollaTicket` | Xsolla Ticket currency. |
|
|
62
|
+
| `XsollaZk` | Xsolla ZK currency. |
|
|
63
|
+
|
|
64
|
+
Every icon is drawn on a 24×24 grid and scales to any `size`; the design ships
|
|
65
|
+
20 px and 24 px variants that are the same geometry at two scales.
|
|
60
66
|
|
|
61
67
|
## Examples
|
|
62
68
|
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2ZM10.7012 10.2607H6.5L9.89941 12.7393L8.60059 16.75L12 14.2715L15.3994 16.75L14.1006 12.7393L17.5 10.2607H13.2979L12 6.25L10.7012 10.2607Z" fill="#80EAFF"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2ZM10.7012 10.2607H6.5L9.89941 12.7393L8.60059 16.75L12 14.2715L15.3994 16.75L14.1006 12.7393L17.5 10.2607H13.2979L12 6.25L10.7012 10.2607Z" fill="black"/>
|
|
3
|
+
</svg>
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<
|
|
3
|
-
<g id="Shape">
|
|
4
|
-
<path id="Subtract" d="M12.7822 3.28223H16.7178V7.21777L19.5 10L16.7178 12.7822V16.7178H12.7822L10 19.5L7.21777 16.7178H3.28223V12.7822L0.5 10L3.28223 7.21777L3.28223 3.28223L7.21777 3.28223L10 0.5L12.7822 3.28223ZM3.94141 10L10 16.0586L16.0586 10L10 3.94141L3.94141 10Z" fill="#8168FF"/>
|
|
5
|
-
<path id="Rectangle 2085657809" d="M10.0356 6.5L13.5712 10.0355L10.0356 13.5711V6.5Z" fill="black"/>
|
|
6
|
-
</g>
|
|
7
|
-
</g>
|
|
8
|
-
<defs>
|
|
9
|
-
<clipPath id="clip0_13340_33">
|
|
10
|
-
<rect width="20" height="20" fill="white"/>
|
|
11
|
-
</clipPath>
|
|
12
|
-
</defs>
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M21 7V17L12 22L3 17V7L12 2L21 7ZM8 12L11.9893 16.001L15.9795 12L11.9893 7.99902L8 12Z" fill="#9580FF"/>
|
|
13
3
|
</svg>
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<
|
|
3
|
-
<g id="Shape">
|
|
4
|
-
<path d="M13.5713 10.0352L10.0361 13.5713V6.5L13.5713 10.0352Z" fill="black"/>
|
|
5
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M12.7822 3.28223H16.7178V7.21777L19.5 10L16.7178 12.7822V16.7178H12.7822L10 19.5L7.21777 16.7178H3.28223V12.7822L0.5 10L3.28223 7.21777V3.28223H7.21777L10 0.5L12.7822 3.28223ZM3.94141 10L10 16.0586L16.0586 10L10 3.94141L3.94141 10Z" fill="black"/>
|
|
6
|
-
</g>
|
|
7
|
-
</g>
|
|
8
|
-
<defs>
|
|
9
|
-
<clipPath id="clip0_13340_82">
|
|
10
|
-
<rect width="20" height="20" fill="white"/>
|
|
11
|
-
</clipPath>
|
|
12
|
-
</defs>
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M21 7V17L12 22L3 17V7L12 2L21 7ZM8 12L11.9893 16.001L15.9795 12L11.9893 7.99902L8 12Z" fill="black"/>
|
|
13
3
|
</svg>
|
|
@@ -1,18 +1,3 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<
|
|
3
|
-
<g id="Shape">
|
|
4
|
-
<g id="Frame 2136141243" clip-path="url(#clip1_13340_27)">
|
|
5
|
-
<path id="Subtract" d="M19.9424 10.001L10 19.9434L0.0605469 9.99902L10.0029 0.0566406L19.9424 10.001ZM10 5C7.23858 5 5 7.23858 5 10C5 12.7614 7.23858 15 10 15C12.7614 15 15 12.7614 15 10C15 7.23858 12.7614 5 10 5Z" fill="#FFC800"/>
|
|
6
|
-
</g>
|
|
7
|
-
<path id="Ellipse 30019" d="M10 7C9.60603 7 9.21593 7.0776 8.85195 7.22836C8.48797 7.37913 8.15726 7.6001 7.87868 7.87868C7.6001 8.15726 7.37913 8.48797 7.22836 8.85195C7.0776 9.21593 7 9.60603 7 10C7 10.394 7.0776 10.7841 7.22836 11.1481C7.37913 11.512 7.6001 11.8427 7.87868 12.1213C8.15726 12.3999 8.48797 12.6209 8.85195 12.7716C9.21593 12.9224 9.60603 13 10 13L10 10V7Z" fill="black"/>
|
|
8
|
-
</g>
|
|
9
|
-
</g>
|
|
10
|
-
<defs>
|
|
11
|
-
<clipPath id="clip0_13340_27">
|
|
12
|
-
<rect width="20" height="20" fill="white"/>
|
|
13
|
-
</clipPath>
|
|
14
|
-
<clipPath id="clip1_13340_27">
|
|
15
|
-
<rect width="20" height="20" fill="white"/>
|
|
16
|
-
</clipPath>
|
|
17
|
-
</defs>
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M21 21H3V3H21V21ZM8 12L12.001 16.001L16.001 12L12.001 7.99902L8 12Z" fill="#F6DB55"/>
|
|
18
3
|
</svg>
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<
|
|
3
|
-
<g id="Shape">
|
|
4
|
-
<path d="M10 13C9.60603 13 9.21554 12.9222 8.85156 12.7715C8.48774 12.6207 8.15738 12.3996 7.87891 12.1211C7.60043 11.8426 7.37928 11.5123 7.22852 11.1484C7.07775 10.7845 7 10.394 7 10C7 9.60603 7.07775 9.21554 7.22852 8.85156C7.37928 8.48774 7.60043 8.15738 7.87891 7.87891C8.15738 7.60043 8.48774 7.37928 8.85156 7.22852C9.21554 7.07775 9.60603 7 10 7V13Z" fill="black"/>
|
|
5
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M19.9424 10.001L10 19.9434L0.0605469 9.99902L10.0029 0.0566406L19.9424 10.001ZM10 5C7.23858 5 5 7.23858 5 10C5 12.7614 7.23858 15 10 15C12.7614 15 15 12.7614 15 10C15 7.23858 12.7614 5 10 5Z" fill="black"/>
|
|
6
|
-
</g>
|
|
7
|
-
</g>
|
|
8
|
-
<defs>
|
|
9
|
-
<clipPath id="clip0_13340_76">
|
|
10
|
-
<rect width="20" height="20" fill="white"/>
|
|
11
|
-
</clipPath>
|
|
12
|
-
</defs>
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M21 21H3V3H21V21ZM8 12L12.001 16.001L16.001 12L12.001 7.99902L8 12Z" fill="black"/>
|
|
13
3
|
</svg>
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<
|
|
3
|
-
<g id="Shape">
|
|
4
|
-
<path id="Subtract" d="M10 1C14.9706 1 19 5.02944 19 10C19 14.9706 14.9706 19 10 19C5.02944 19 1 14.9706 1 10C1 5.02944 5.02944 1 10 1ZM10 4C8.4087 4 6.88303 4.63259 5.75781 5.75781C4.63259 6.88303 4 8.4087 4 10H6.94141C6.94141 10.7956 7.2577 11.5585 7.82031 12.1211C8.38291 12.6836 9.14581 13 9.94141 13C10.737 12.9999 11.4999 12.6836 12.0625 12.1211C12.625 11.5585 12.9414 10.7956 12.9414 10H16C16 8.4087 15.3674 6.88303 14.2422 5.75781C13.117 4.63259 11.5913 4 10 4Z" fill="#00D4FF"/>
|
|
5
|
-
<path id="Ellipse 30019" d="M12.9412 10C12.9412 9.60603 12.8636 9.21593 12.7128 8.85195C12.562 8.48797 12.3411 8.15726 12.0625 7.87868C11.7839 7.6001 11.4532 7.37913 11.0892 7.22836C10.7252 7.0776 10.3351 7 9.94116 7C9.5472 7 9.15709 7.0776 8.79311 7.22836C8.42913 7.37913 8.09842 7.6001 7.81984 7.87868C7.54127 8.15726 7.32029 8.48797 7.16952 8.85195C7.01876 9.21593 6.94116 9.60603 6.94116 10L9.94116 10H12.9412Z" fill="black"/>
|
|
6
|
-
</g>
|
|
7
|
-
</g>
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2ZM8 12L12.001 16.001L16.001 12L12.001 7.99902L8 12Z" fill="#80EAFF"/>
|
|
8
3
|
</svg>
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<
|
|
3
|
-
<g id="Shape">
|
|
4
|
-
<path d="M9.94141 7C10.3352 7.00003 10.725 7.07785 11.0889 7.22852C11.4528 7.37928 11.7839 7.60033 12.0625 7.87891C12.3409 8.15738 12.5622 8.48776 12.7129 8.85156C12.8637 9.21554 12.9414 9.60603 12.9414 10H6.94141C6.94141 9.60603 7.01916 9.21554 7.16992 8.85156C7.32068 8.48777 7.54186 8.15736 7.82031 7.87891C8.09882 7.60043 8.42911 7.37926 8.79297 7.22852C9.15695 7.07775 9.54744 7 9.94141 7Z" fill="black"/>
|
|
5
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M10 1C14.9706 1 19 5.02944 19 10C19 14.9706 14.9706 19 10 19C5.02944 19 1 14.9706 1 10C1 5.02944 5.02944 1 10 1ZM10 4C8.4087 4 6.88303 4.63259 5.75781 5.75781C4.63259 6.88303 4 8.4087 4 10H6.94141C6.94141 10.7956 7.2577 11.5585 7.82031 12.1211C8.38291 12.6836 9.14581 13 9.94141 13C10.737 12.9999 11.4999 12.6836 12.0625 12.1211C12.625 11.5585 12.9414 10.7956 12.9414 10H16C16 8.4087 15.3674 6.88303 14.2422 5.75781C13.117 4.63259 11.5913 4 10 4Z" fill="black"/>
|
|
6
|
-
</g>
|
|
7
|
-
</g>
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2ZM8 12L12.001 16.001L16.001 12L12.001 7.99902L8 12Z" fill="black"/>
|
|
8
3
|
</svg>
|
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<
|
|
3
|
-
<g id="Shape">
|
|
4
|
-
<path id="Shape_2" d="M7.5 2C7.5 2.3283 7.56479 2.65372 7.69043 2.95703C7.81606 3.26022 8.00036 3.53551 8.23242 3.76758C8.46449 3.99964 8.73978 4.18394 9.04297 4.30957C9.34628 4.43521 9.6717 4.5 10 4.5C10.3283 4.5 10.6537 4.43521 10.957 4.30957C11.2602 4.18394 11.5355 3.99964 11.7676 3.76758C11.9996 3.53551 12.1839 3.26022 12.3096 2.95703C12.4352 2.65372 12.5 2.3283 12.5 2H17V18H12.5C12.5 17.6717 12.4352 17.3463 12.3096 17.043C12.1839 16.7398 11.9996 16.4645 11.7676 16.2324C11.5355 16.0004 11.2602 15.8161 10.957 15.6904C10.6537 15.5648 10.3283 15.5 10 15.5C9.6717 15.5 9.34628 15.5648 9.04297 15.6904C8.73978 15.8161 8.46449 16.0004 8.23242 16.2324C8.00036 16.4645 7.81606 16.7398 7.69043 17.043C7.56479 17.3463 7.5 17.6717 7.5 18H3V2H7.5Z" fill="#FF867D"/>
|
|
5
|
-
<g id="Vector">
|
|
6
|
-
<path d="M5 11H7V13H5V11Z" fill="black"/>
|
|
7
|
-
<path d="M9 11H11V13H9V11Z" fill="black"/>
|
|
8
|
-
<path d="M13 11H15V13H13V11Z" fill="black"/>
|
|
9
|
-
</g>
|
|
10
|
-
</g>
|
|
11
|
-
</g>
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M8.5 3C8.5 4.933 10.067 6.5 12 6.5C13.933 6.5 15.5 4.933 15.5 3H19V21H15.5C15.5 19.067 13.933 17.5 12 17.5C10.067 17.5 8.5 19.067 8.5 21H5V3H8.5Z" fill="#FFB2BF"/>
|
|
12
3
|
</svg>
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<
|
|
3
|
-
<path id="Shape" fill-rule="evenodd" clip-rule="evenodd" d="M7.5 2C7.5 2.3283 7.56479 2.65372 7.69043 2.95703C7.81606 3.26022 8.00036 3.53551 8.23242 3.76758C8.46449 3.99964 8.73978 4.18394 9.04297 4.30957C9.34628 4.43521 9.6717 4.5 10 4.5C10.3283 4.5 10.6537 4.43521 10.957 4.30957C11.2602 4.18394 11.5355 3.99964 11.7676 3.76758C11.9996 3.53551 12.1839 3.26022 12.3096 2.95703C12.4352 2.65372 12.5 2.3283 12.5 2H17V18H12.5C12.5 17.6717 12.4352 17.3463 12.3096 17.043C12.1839 16.7398 11.9996 16.4645 11.7676 16.2324C11.5355 16.0004 11.2602 15.8161 10.957 15.6904C10.6537 15.5648 10.3283 15.5 10 15.5C9.6717 15.5 9.34628 15.5648 9.04297 15.6904C8.73978 15.8161 8.46449 16.0004 8.23242 16.2324C8.00036 16.4645 7.81606 16.7398 7.69043 17.043C7.56479 17.3463 7.5 17.6717 7.5 18H3V2H7.5ZM5 13H7V11H5V13ZM9 13H11V11H9V13ZM13 11V13H15V11H13Z" fill="black"/>
|
|
4
|
-
</g>
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M8.5 3C8.5 4.933 10.067 6.5 12 6.5C13.933 6.5 15.5 4.933 15.5 3H19V21H15.5C15.5 19.067 13.933 17.5 12 17.5C10.067 17.5 8.5 19.067 8.5 21H5V3H8.5Z" fill="black"/>
|
|
5
3
|
</svg>
|
package/native/index.d.mts
CHANGED
|
@@ -30,6 +30,10 @@ interface CurrencyIconInternalProps extends CurrencyIconProps {
|
|
|
30
30
|
|
|
31
31
|
declare const BaseIcon: React.FC<CurrencyIconInternalProps>;
|
|
32
32
|
|
|
33
|
+
declare const GreenOrb: React.FC<CurrencyIconProps>;
|
|
34
|
+
|
|
35
|
+
declare const LoyaltyPoint: React.FC<CurrencyIconProps>;
|
|
36
|
+
|
|
33
37
|
declare const PlayTime: React.FC<CurrencyIconProps>;
|
|
34
38
|
|
|
35
39
|
declare const XsollaGold: React.FC<CurrencyIconProps>;
|
|
@@ -38,4 +42,6 @@ declare const XsollaPoint: React.FC<CurrencyIconProps>;
|
|
|
38
42
|
|
|
39
43
|
declare const XsollaTicket: React.FC<CurrencyIconProps>;
|
|
40
44
|
|
|
41
|
-
|
|
45
|
+
declare const XsollaZk: React.FC<CurrencyIconProps>;
|
|
46
|
+
|
|
47
|
+
export { BaseIcon, type CurrencyIconComponent, type CurrencyIconProps, GreenOrb, type IconVariant, LoyaltyPoint, PlayTime, XsollaGold, XsollaPoint, XsollaTicket, XsollaZk };
|
package/native/index.d.ts
CHANGED
|
@@ -30,6 +30,10 @@ interface CurrencyIconInternalProps extends CurrencyIconProps {
|
|
|
30
30
|
|
|
31
31
|
declare const BaseIcon: React.FC<CurrencyIconInternalProps>;
|
|
32
32
|
|
|
33
|
+
declare const GreenOrb: React.FC<CurrencyIconProps>;
|
|
34
|
+
|
|
35
|
+
declare const LoyaltyPoint: React.FC<CurrencyIconProps>;
|
|
36
|
+
|
|
33
37
|
declare const PlayTime: React.FC<CurrencyIconProps>;
|
|
34
38
|
|
|
35
39
|
declare const XsollaGold: React.FC<CurrencyIconProps>;
|
|
@@ -38,4 +42,6 @@ declare const XsollaPoint: React.FC<CurrencyIconProps>;
|
|
|
38
42
|
|
|
39
43
|
declare const XsollaTicket: React.FC<CurrencyIconProps>;
|
|
40
44
|
|
|
41
|
-
|
|
45
|
+
declare const XsollaZk: React.FC<CurrencyIconProps>;
|
|
46
|
+
|
|
47
|
+
export { BaseIcon, type CurrencyIconComponent, type CurrencyIconProps, GreenOrb, type IconVariant, LoyaltyPoint, PlayTime, XsollaGold, XsollaPoint, XsollaTicket, XsollaZk };
|
package/native/index.js
CHANGED
|
@@ -21,10 +21,13 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
21
21
|
var index_exports = {};
|
|
22
22
|
__export(index_exports, {
|
|
23
23
|
BaseIcon: () => BaseIcon,
|
|
24
|
+
GreenOrb: () => GreenOrb,
|
|
25
|
+
LoyaltyPoint: () => LoyaltyPoint,
|
|
24
26
|
PlayTime: () => PlayTime,
|
|
25
27
|
XsollaGold: () => XsollaGold,
|
|
26
28
|
XsollaPoint: () => XsollaPoint,
|
|
27
|
-
XsollaTicket: () => XsollaTicket
|
|
29
|
+
XsollaTicket: () => XsollaTicket,
|
|
30
|
+
XsollaZk: () => XsollaZk
|
|
28
31
|
});
|
|
29
32
|
module.exports = __toCommonJS(index_exports);
|
|
30
33
|
|
|
@@ -35,13 +38,13 @@ var BaseIcon = ({
|
|
|
35
38
|
variant = "colored",
|
|
36
39
|
size = 24,
|
|
37
40
|
color = "currentColor",
|
|
38
|
-
coloredContent:
|
|
39
|
-
monoContent:
|
|
41
|
+
coloredContent: coloredContent8,
|
|
42
|
+
monoContent: monoContent8,
|
|
40
43
|
style,
|
|
41
44
|
testID,
|
|
42
45
|
"aria-label": ariaLabel
|
|
43
46
|
}) => {
|
|
44
|
-
const svgContent = variant === "colored" ?
|
|
47
|
+
const svgContent = variant === "colored" ? coloredContent8 : monoContent8;
|
|
45
48
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
46
49
|
import_react_native_svg.SvgXml,
|
|
47
50
|
{
|
|
@@ -57,11 +60,11 @@ var BaseIcon = ({
|
|
|
57
60
|
);
|
|
58
61
|
};
|
|
59
62
|
|
|
60
|
-
// src/components/
|
|
63
|
+
// src/components/GreenOrb.tsx
|
|
61
64
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
62
|
-
var coloredContent = `<svg viewBox="0 0
|
|
63
|
-
var monoContent = `<svg viewBox="0 0
|
|
64
|
-
var
|
|
65
|
+
var coloredContent = `<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><path d="M23.0004 12L12 23.0004L0.999603 12L12 0.999609L23.0004 12ZM7.99921 12L12 16.0008L16.0008 12L12 7.99922L7.99921 12Z" fill="#D9FF66"/></svg>`;
|
|
66
|
+
var monoContent = `<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><path d="M23.0004 12L12 23.0004L0.999603 12L12 0.999609L23.0004 12ZM7.99921 12L12 16.0008L16.0008 12L12 7.99922L7.99921 12Z" style="fill: currentColor"/></svg>`;
|
|
67
|
+
var GreenOrb = (props) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
65
68
|
BaseIcon,
|
|
66
69
|
{
|
|
67
70
|
...props,
|
|
@@ -70,11 +73,11 @@ var PlayTime = (props) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
|
70
73
|
}
|
|
71
74
|
);
|
|
72
75
|
|
|
73
|
-
// src/components/
|
|
76
|
+
// src/components/LoyaltyPoint.tsx
|
|
74
77
|
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
75
|
-
var coloredContent2 = `<svg viewBox="0 0
|
|
76
|
-
var monoContent2 = `<svg viewBox="0 0
|
|
77
|
-
var
|
|
78
|
+
var coloredContent2 = `<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><path d="M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2ZM10.7012 10.2607H6.5L9.89941 12.7393L8.60059 16.75L12 14.2715L15.3994 16.75L14.1006 12.7393L17.5 10.2607H13.2979L12 6.25L10.7012 10.2607Z" fill="#80EAFF"/></svg>`;
|
|
79
|
+
var monoContent2 = `<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><path d="M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2ZM10.7012 10.2607H6.5L9.89941 12.7393L8.60059 16.75L12 14.2715L15.3994 16.75L14.1006 12.7393L17.5 10.2607H13.2979L12 6.25L10.7012 10.2607Z" style="fill: currentColor"/></svg>`;
|
|
80
|
+
var LoyaltyPoint = (props) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
78
81
|
BaseIcon,
|
|
79
82
|
{
|
|
80
83
|
...props,
|
|
@@ -83,11 +86,11 @@ var XsollaGold = (props) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
|
83
86
|
}
|
|
84
87
|
);
|
|
85
88
|
|
|
86
|
-
// src/components/
|
|
89
|
+
// src/components/PlayTime.tsx
|
|
87
90
|
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
88
|
-
var coloredContent3 = `<svg viewBox="0 0
|
|
89
|
-
var monoContent3 = `<svg viewBox="0 0
|
|
90
|
-
var
|
|
91
|
+
var coloredContent3 = `<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><path d="M21 7V17L12 22L3 17V7L12 2L21 7ZM8 12L11.9893 16.001L15.9795 12L11.9893 7.99902L8 12Z" fill="#9580FF"/></svg>`;
|
|
92
|
+
var monoContent3 = `<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><path d="M21 7V17L12 22L3 17V7L12 2L21 7ZM8 12L11.9893 16.001L15.9795 12L11.9893 7.99902L8 12Z" style="fill: currentColor"/></svg>`;
|
|
93
|
+
var PlayTime = (props) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
91
94
|
BaseIcon,
|
|
92
95
|
{
|
|
93
96
|
...props,
|
|
@@ -96,11 +99,11 @@ var XsollaPoint = (props) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
|
96
99
|
}
|
|
97
100
|
);
|
|
98
101
|
|
|
99
|
-
// src/components/
|
|
102
|
+
// src/components/XsollaGold.tsx
|
|
100
103
|
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
101
|
-
var coloredContent4 = `<svg viewBox="0 0
|
|
102
|
-
var monoContent4 = `<svg viewBox="0 0
|
|
103
|
-
var
|
|
104
|
+
var coloredContent4 = `<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><path d="M21 21H3V3H21V21ZM8 12L12.001 16.001L16.001 12L12.001 7.99902L8 12Z" fill="#F6DB55"/></svg>`;
|
|
105
|
+
var monoContent4 = `<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><path d="M21 21H3V3H21V21ZM8 12L12.001 16.001L16.001 12L12.001 7.99902L8 12Z" style="fill: currentColor"/></svg>`;
|
|
106
|
+
var XsollaGold = (props) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
104
107
|
BaseIcon,
|
|
105
108
|
{
|
|
106
109
|
...props,
|
|
@@ -108,12 +111,54 @@ var XsollaTicket = (props) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
|
108
111
|
monoContent: monoContent4
|
|
109
112
|
}
|
|
110
113
|
);
|
|
114
|
+
|
|
115
|
+
// src/components/XsollaPoint.tsx
|
|
116
|
+
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
117
|
+
var coloredContent5 = `<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><path d="M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2ZM8 12L12.001 16.001L16.001 12L12.001 7.99902L8 12Z" fill="#80EAFF"/></svg>`;
|
|
118
|
+
var monoContent5 = `<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><path d="M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2ZM8 12L12.001 16.001L16.001 12L12.001 7.99902L8 12Z" style="fill: currentColor"/></svg>`;
|
|
119
|
+
var XsollaPoint = (props) => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
120
|
+
BaseIcon,
|
|
121
|
+
{
|
|
122
|
+
...props,
|
|
123
|
+
coloredContent: coloredContent5,
|
|
124
|
+
monoContent: monoContent5
|
|
125
|
+
}
|
|
126
|
+
);
|
|
127
|
+
|
|
128
|
+
// src/components/XsollaTicket.tsx
|
|
129
|
+
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
130
|
+
var coloredContent6 = `<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><path d="M8.5 3C8.5 4.933 10.067 6.5 12 6.5C13.933 6.5 15.5 4.933 15.5 3H19V21H15.5C15.5 19.067 13.933 17.5 12 17.5C10.067 17.5 8.5 19.067 8.5 21H5V3H8.5Z" fill="#FFB2BF"/></svg>`;
|
|
131
|
+
var monoContent6 = `<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><path d="M8.5 3C8.5 4.933 10.067 6.5 12 6.5C13.933 6.5 15.5 4.933 15.5 3H19V21H15.5C15.5 19.067 13.933 17.5 12 17.5C10.067 17.5 8.5 19.067 8.5 21H5V3H8.5Z" style="fill: currentColor"/></svg>`;
|
|
132
|
+
var XsollaTicket = (props) => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
133
|
+
BaseIcon,
|
|
134
|
+
{
|
|
135
|
+
...props,
|
|
136
|
+
coloredContent: coloredContent6,
|
|
137
|
+
monoContent: monoContent6
|
|
138
|
+
}
|
|
139
|
+
);
|
|
140
|
+
|
|
141
|
+
// src/components/XsollaZk.tsx
|
|
142
|
+
var import_jsx_runtime8 = require("react/jsx-runtime");
|
|
143
|
+
var coloredContent7 = `<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><path d="M22 7L17 12L21.9854 16.9854L16.9854 21.9854L12 17L7 22L2 17L7 12L2 7L7 2L12 7L17 2L22 7ZM8 12L12.001 16L16.001 12L12.001 7.99903L8 12Z" fill="#E89331"/></svg>`;
|
|
144
|
+
var monoContent7 = `<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><path d="M22 7L17 12L21.9854 16.9854L16.9854 21.9854L12 17L7 22L2 17L7 12L2 7L7 2L12 7L17 2L22 7ZM8 12L12.001 16L16.001 12L12.001 7.99903L8 12Z" style="fill: currentColor"/></svg>`;
|
|
145
|
+
var XsollaZk = (props) => /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
146
|
+
BaseIcon,
|
|
147
|
+
{
|
|
148
|
+
...props,
|
|
149
|
+
coloredContent: coloredContent7,
|
|
150
|
+
monoContent: monoContent7
|
|
151
|
+
}
|
|
152
|
+
);
|
|
111
153
|
// Annotate the CommonJS export names for ESM import in node:
|
|
112
154
|
0 && (module.exports = {
|
|
113
155
|
BaseIcon,
|
|
156
|
+
GreenOrb,
|
|
157
|
+
LoyaltyPoint,
|
|
114
158
|
PlayTime,
|
|
115
159
|
XsollaGold,
|
|
116
160
|
XsollaPoint,
|
|
117
|
-
XsollaTicket
|
|
161
|
+
XsollaTicket,
|
|
162
|
+
XsollaZk
|
|
118
163
|
});
|
|
119
164
|
//# sourceMappingURL=index.js.map
|
package/native/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts","../../src/BaseIcon.native.tsx","../../src/components/PlayTime.tsx","../../src/components/XsollaGold.tsx","../../src/components/XsollaPoint.tsx","../../src/components/XsollaTicket.tsx"],"sourcesContent":["// Auto-generated - do not edit manually\nexport { BaseIcon } from \"./BaseIcon\";\nexport type {\n CurrencyIconProps,\n CurrencyIconComponent,\n IconVariant,\n} from \"./types\";\n\nexport { PlayTime } from \"./components/PlayTime\";\nexport { XsollaGold } from \"./components/XsollaGold\";\nexport { XsollaPoint } from \"./components/XsollaPoint\";\nexport { XsollaTicket } from \"./components/XsollaTicket\";\n","import React from \"react\";\nimport { SvgXml } from \"react-native-svg\";\nimport type { CurrencyIconInternalProps } from \"./types\";\n\nexport const BaseIcon: React.FC<CurrencyIconInternalProps> = ({\n variant = \"colored\",\n size = 24,\n color = \"currentColor\",\n coloredContent,\n monoContent,\n style,\n testID,\n \"aria-label\": ariaLabel,\n}) => {\n const svgContent = variant === \"colored\" ? coloredContent : monoContent;\n\n return (\n <SvgXml\n xml={svgContent}\n width={size}\n height={size}\n color={color}\n style={style}\n testID={testID}\n accessible={!!ariaLabel}\n accessibilityLabel={ariaLabel}\n />\n );\n};\n","// Auto-generated - do not edit manually\nimport React from \"react\";\nimport { BaseIcon } from \"../BaseIcon\";\nimport type { CurrencyIconProps } from \"../types\";\n\nconst coloredContent = `<svg viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><g clip-path=\"url(#clip0_13340_33)\"><g><path d=\"M12.7822 3.28223H16.7178V7.21777L19.5 10L16.7178 12.7822V16.7178H12.7822L10 19.5L7.21777 16.7178H3.28223V12.7822L0.5 10L3.28223 7.21777L3.28223 3.28223L7.21777 3.28223L10 0.5L12.7822 3.28223ZM3.94141 10L10 16.0586L16.0586 10L10 3.94141L3.94141 10Z\" fill=\"#8168FF\"/><path d=\"M10.0356 6.5L13.5712 10.0355L10.0356 13.5711V6.5Z\" fill=\"black\"/></g></g><defs><clipPath><rect width=\"20\" height=\"20\" fill=\"white\"/></clipPath></defs></svg>`;\nconst monoContent = `<svg viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><g clip-path=\"url(#clip0_13340_82)\"><g><path d=\"M13.5713 10.0352L10.0361 13.5713V6.5L13.5713 10.0352Z\" style=\"fill: currentColor\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M12.7822 3.28223H16.7178V7.21777L19.5 10L16.7178 12.7822V16.7178H12.7822L10 19.5L7.21777 16.7178H3.28223V12.7822L0.5 10L3.28223 7.21777V3.28223H7.21777L10 0.5L12.7822 3.28223ZM3.94141 10L10 16.0586L16.0586 10L10 3.94141L3.94141 10Z\" style=\"fill: currentColor\"/></g></g><defs><clipPath><rect width=\"20\" height=\"20\" style=\"fill: currentColor\"/></clipPath></defs></svg>`;\n\nexport const PlayTime: React.FC<CurrencyIconProps> = (props) => (\n <BaseIcon\n {...props}\n coloredContent={coloredContent}\n monoContent={monoContent}\n />\n);\n","// Auto-generated - do not edit manually\nimport React from \"react\";\nimport { BaseIcon } from \"../BaseIcon\";\nimport type { CurrencyIconProps } from \"../types\";\n\nconst coloredContent = `<svg viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><g clip-path=\"url(#clip0_13340_27)\"><g><g clip-path=\"url(#clip1_13340_27)\"><path d=\"M19.9424 10.001L10 19.9434L0.0605469 9.99902L10.0029 0.0566406L19.9424 10.001ZM10 5C7.23858 5 5 7.23858 5 10C5 12.7614 7.23858 15 10 15C12.7614 15 15 12.7614 15 10C15 7.23858 12.7614 5 10 5Z\" fill=\"#FFC800\"/></g><path d=\"M10 7C9.60603 7 9.21593 7.0776 8.85195 7.22836C8.48797 7.37913 8.15726 7.6001 7.87868 7.87868C7.6001 8.15726 7.37913 8.48797 7.22836 8.85195C7.0776 9.21593 7 9.60603 7 10C7 10.394 7.0776 10.7841 7.22836 11.1481C7.37913 11.512 7.6001 11.8427 7.87868 12.1213C8.15726 12.3999 8.48797 12.6209 8.85195 12.7716C9.21593 12.9224 9.60603 13 10 13L10 10V7Z\" fill=\"black\"/></g></g><defs><clipPath><rect width=\"20\" height=\"20\" fill=\"white\"/></clipPath><clipPath><rect width=\"20\" height=\"20\" fill=\"white\"/></clipPath></defs></svg>`;\nconst monoContent = `<svg viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><g clip-path=\"url(#clip0_13340_76)\"><g><path d=\"M10 13C9.60603 13 9.21554 12.9222 8.85156 12.7715C8.48774 12.6207 8.15738 12.3996 7.87891 12.1211C7.60043 11.8426 7.37928 11.5123 7.22852 11.1484C7.07775 10.7845 7 10.394 7 10C7 9.60603 7.07775 9.21554 7.22852 8.85156C7.37928 8.48774 7.60043 8.15738 7.87891 7.87891C8.15738 7.60043 8.48774 7.37928 8.85156 7.22852C9.21554 7.07775 9.60603 7 10 7V13Z\" style=\"fill: currentColor\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M19.9424 10.001L10 19.9434L0.0605469 9.99902L10.0029 0.0566406L19.9424 10.001ZM10 5C7.23858 5 5 7.23858 5 10C5 12.7614 7.23858 15 10 15C12.7614 15 15 12.7614 15 10C15 7.23858 12.7614 5 10 5Z\" style=\"fill: currentColor\"/></g></g><defs><clipPath><rect width=\"20\" height=\"20\" style=\"fill: currentColor\"/></clipPath></defs></svg>`;\n\nexport const XsollaGold: React.FC<CurrencyIconProps> = (props) => (\n <BaseIcon\n {...props}\n coloredContent={coloredContent}\n monoContent={monoContent}\n />\n);\n","// Auto-generated - do not edit manually\nimport React from \"react\";\nimport { BaseIcon } from \"../BaseIcon\";\nimport type { CurrencyIconProps } from \"../types\";\n\nconst coloredContent = `<svg viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><g><g><path d=\"M10 1C14.9706 1 19 5.02944 19 10C19 14.9706 14.9706 19 10 19C5.02944 19 1 14.9706 1 10C1 5.02944 5.02944 1 10 1ZM10 4C8.4087 4 6.88303 4.63259 5.75781 5.75781C4.63259 6.88303 4 8.4087 4 10H6.94141C6.94141 10.7956 7.2577 11.5585 7.82031 12.1211C8.38291 12.6836 9.14581 13 9.94141 13C10.737 12.9999 11.4999 12.6836 12.0625 12.1211C12.625 11.5585 12.9414 10.7956 12.9414 10H16C16 8.4087 15.3674 6.88303 14.2422 5.75781C13.117 4.63259 11.5913 4 10 4Z\" fill=\"#00D4FF\"/><path d=\"M12.9412 10C12.9412 9.60603 12.8636 9.21593 12.7128 8.85195C12.562 8.48797 12.3411 8.15726 12.0625 7.87868C11.7839 7.6001 11.4532 7.37913 11.0892 7.22836C10.7252 7.0776 10.3351 7 9.94116 7C9.5472 7 9.15709 7.0776 8.79311 7.22836C8.42913 7.37913 8.09842 7.6001 7.81984 7.87868C7.54127 8.15726 7.32029 8.48797 7.16952 8.85195C7.01876 9.21593 6.94116 9.60603 6.94116 10L9.94116 10H12.9412Z\" fill=\"black\"/></g></g></svg>`;\nconst monoContent = `<svg viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><g><g><path d=\"M9.94141 7C10.3352 7.00003 10.725 7.07785 11.0889 7.22852C11.4528 7.37928 11.7839 7.60033 12.0625 7.87891C12.3409 8.15738 12.5622 8.48776 12.7129 8.85156C12.8637 9.21554 12.9414 9.60603 12.9414 10H6.94141C6.94141 9.60603 7.01916 9.21554 7.16992 8.85156C7.32068 8.48777 7.54186 8.15736 7.82031 7.87891C8.09882 7.60043 8.42911 7.37926 8.79297 7.22852C9.15695 7.07775 9.54744 7 9.94141 7Z\" style=\"fill: currentColor\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M10 1C14.9706 1 19 5.02944 19 10C19 14.9706 14.9706 19 10 19C5.02944 19 1 14.9706 1 10C1 5.02944 5.02944 1 10 1ZM10 4C8.4087 4 6.88303 4.63259 5.75781 5.75781C4.63259 6.88303 4 8.4087 4 10H6.94141C6.94141 10.7956 7.2577 11.5585 7.82031 12.1211C8.38291 12.6836 9.14581 13 9.94141 13C10.737 12.9999 11.4999 12.6836 12.0625 12.1211C12.625 11.5585 12.9414 10.7956 12.9414 10H16C16 8.4087 15.3674 6.88303 14.2422 5.75781C13.117 4.63259 11.5913 4 10 4Z\" style=\"fill: currentColor\"/></g></g></svg>`;\n\nexport const XsollaPoint: React.FC<CurrencyIconProps> = (props) => (\n <BaseIcon\n {...props}\n coloredContent={coloredContent}\n monoContent={monoContent}\n />\n);\n","// Auto-generated - do not edit manually\nimport React from \"react\";\nimport { BaseIcon } from \"../BaseIcon\";\nimport type { CurrencyIconProps } from \"../types\";\n\nconst coloredContent = `<svg viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><g><g><path d=\"M7.5 2C7.5 2.3283 7.56479 2.65372 7.69043 2.95703C7.81606 3.26022 8.00036 3.53551 8.23242 3.76758C8.46449 3.99964 8.73978 4.18394 9.04297 4.30957C9.34628 4.43521 9.6717 4.5 10 4.5C10.3283 4.5 10.6537 4.43521 10.957 4.30957C11.2602 4.18394 11.5355 3.99964 11.7676 3.76758C11.9996 3.53551 12.1839 3.26022 12.3096 2.95703C12.4352 2.65372 12.5 2.3283 12.5 2H17V18H12.5C12.5 17.6717 12.4352 17.3463 12.3096 17.043C12.1839 16.7398 11.9996 16.4645 11.7676 16.2324C11.5355 16.0004 11.2602 15.8161 10.957 15.6904C10.6537 15.5648 10.3283 15.5 10 15.5C9.6717 15.5 9.34628 15.5648 9.04297 15.6904C8.73978 15.8161 8.46449 16.0004 8.23242 16.2324C8.00036 16.4645 7.81606 16.7398 7.69043 17.043C7.56479 17.3463 7.5 17.6717 7.5 18H3V2H7.5Z\" fill=\"#FF867D\"/><g><path d=\"M5 11H7V13H5V11Z\" fill=\"black\"/><path d=\"M9 11H11V13H9V11Z\" fill=\"black\"/><path d=\"M13 11H15V13H13V11Z\" fill=\"black\"/></g></g></g></svg>`;\nconst monoContent = `<svg viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><g><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M7.5 2C7.5 2.3283 7.56479 2.65372 7.69043 2.95703C7.81606 3.26022 8.00036 3.53551 8.23242 3.76758C8.46449 3.99964 8.73978 4.18394 9.04297 4.30957C9.34628 4.43521 9.6717 4.5 10 4.5C10.3283 4.5 10.6537 4.43521 10.957 4.30957C11.2602 4.18394 11.5355 3.99964 11.7676 3.76758C11.9996 3.53551 12.1839 3.26022 12.3096 2.95703C12.4352 2.65372 12.5 2.3283 12.5 2H17V18H12.5C12.5 17.6717 12.4352 17.3463 12.3096 17.043C12.1839 16.7398 11.9996 16.4645 11.7676 16.2324C11.5355 16.0004 11.2602 15.8161 10.957 15.6904C10.6537 15.5648 10.3283 15.5 10 15.5C9.6717 15.5 9.34628 15.5648 9.04297 15.6904C8.73978 15.8161 8.46449 16.0004 8.23242 16.2324C8.00036 16.4645 7.81606 16.7398 7.69043 17.043C7.56479 17.3463 7.5 17.6717 7.5 18H3V2H7.5ZM5 13H7V11H5V13ZM9 13H11V11H9V13ZM13 11V13H15V11H13Z\" style=\"fill: currentColor\"/></g></svg>`;\n\nexport const XsollaTicket: React.FC<CurrencyIconProps> = (props) => (\n <BaseIcon\n {...props}\n coloredContent={coloredContent}\n monoContent={monoContent}\n />\n);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACCA,8BAAuB;AAgBnB;AAbG,IAAM,WAAgD,CAAC;AAAA,EAC5D,UAAU;AAAA,EACV,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,gBAAAA;AAAA,EACA,aAAAC;AAAA,EACA;AAAA,EACA;AAAA,EACA,cAAc;AAChB,MAAM;AACJ,QAAM,aAAa,YAAY,YAAYD,kBAAiBC;AAE5D,SACE;AAAA,IAAC;AAAA;AAAA,MACC,KAAK;AAAA,MACL,OAAO;AAAA,MACP,QAAQ;AAAA,MACR;AAAA,MACA;AAAA,MACA;AAAA,MACA,YAAY,CAAC,CAAC;AAAA,MACd,oBAAoB;AAAA;AAAA,EACtB;AAEJ;;;ACnBE,IAAAC,sBAAA;AAJF,IAAM,iBAAiB;AACvB,IAAM,cAAc;AAEb,IAAM,WAAwC,CAAC,UACpD;AAAA,EAAC;AAAA;AAAA,IACE,GAAG;AAAA,IACJ;AAAA,IACA;AAAA;AACF;;;ACJA,IAAAC,sBAAA;AAJF,IAAMC,kBAAiB;AACvB,IAAMC,eAAc;AAEb,IAAM,aAA0C,CAAC,UACtD;AAAA,EAAC;AAAA;AAAA,IACE,GAAG;AAAA,IACJ,gBAAgBD;AAAA,IAChB,aAAaC;AAAA;AACf;;;ACJA,IAAAC,sBAAA;AAJF,IAAMC,kBAAiB;AACvB,IAAMC,eAAc;AAEb,IAAM,cAA2C,CAAC,UACvD;AAAA,EAAC;AAAA;AAAA,IACE,GAAG;AAAA,IACJ,gBAAgBD;AAAA,IAChB,aAAaC;AAAA;AACf;;;ACJA,IAAAC,sBAAA;AAJF,IAAMC,kBAAiB;AACvB,IAAMC,eAAc;AAEb,IAAM,eAA4C,CAAC,UACxD;AAAA,EAAC;AAAA;AAAA,IACE,GAAG;AAAA,IACJ,gBAAgBD;AAAA,IAChB,aAAaC;AAAA;AACf;","names":["coloredContent","monoContent","import_jsx_runtime","import_jsx_runtime","coloredContent","monoContent","import_jsx_runtime","coloredContent","monoContent","import_jsx_runtime","coloredContent","monoContent"]}
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts","../../src/BaseIcon.native.tsx","../../src/components/GreenOrb.tsx","../../src/components/LoyaltyPoint.tsx","../../src/components/PlayTime.tsx","../../src/components/XsollaGold.tsx","../../src/components/XsollaPoint.tsx","../../src/components/XsollaTicket.tsx","../../src/components/XsollaZk.tsx"],"sourcesContent":["// Auto-generated - do not edit manually\nexport { BaseIcon } from \"./BaseIcon\";\nexport type {\n CurrencyIconProps,\n CurrencyIconComponent,\n IconVariant,\n} from \"./types\";\n\nexport { GreenOrb } from \"./components/GreenOrb\";\nexport { LoyaltyPoint } from \"./components/LoyaltyPoint\";\nexport { PlayTime } from \"./components/PlayTime\";\nexport { XsollaGold } from \"./components/XsollaGold\";\nexport { XsollaPoint } from \"./components/XsollaPoint\";\nexport { XsollaTicket } from \"./components/XsollaTicket\";\nexport { XsollaZk } from \"./components/XsollaZk\";\n","import React from \"react\";\nimport { SvgXml } from \"react-native-svg\";\nimport type { CurrencyIconInternalProps } from \"./types\";\n\nexport const BaseIcon: React.FC<CurrencyIconInternalProps> = ({\n variant = \"colored\",\n size = 24,\n color = \"currentColor\",\n coloredContent,\n monoContent,\n style,\n testID,\n \"aria-label\": ariaLabel,\n}) => {\n const svgContent = variant === \"colored\" ? coloredContent : monoContent;\n\n return (\n <SvgXml\n xml={svgContent}\n width={size}\n height={size}\n color={color}\n style={style}\n testID={testID}\n accessible={!!ariaLabel}\n accessibilityLabel={ariaLabel}\n />\n );\n};\n","// Auto-generated - do not edit manually\nimport React from \"react\";\nimport { BaseIcon } from \"../BaseIcon\";\nimport type { CurrencyIconProps } from \"../types\";\n\nconst coloredContent = `<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><path d=\"M23.0004 12L12 23.0004L0.999603 12L12 0.999609L23.0004 12ZM7.99921 12L12 16.0008L16.0008 12L12 7.99922L7.99921 12Z\" fill=\"#D9FF66\"/></svg>`;\nconst monoContent = `<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><path d=\"M23.0004 12L12 23.0004L0.999603 12L12 0.999609L23.0004 12ZM7.99921 12L12 16.0008L16.0008 12L12 7.99922L7.99921 12Z\" style=\"fill: currentColor\"/></svg>`;\n\nexport const GreenOrb: React.FC<CurrencyIconProps> = (props) => (\n <BaseIcon\n {...props}\n coloredContent={coloredContent}\n monoContent={monoContent}\n />\n);\n","// Auto-generated - do not edit manually\nimport React from \"react\";\nimport { BaseIcon } from \"../BaseIcon\";\nimport type { CurrencyIconProps } from \"../types\";\n\nconst coloredContent = `<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><path d=\"M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2ZM10.7012 10.2607H6.5L9.89941 12.7393L8.60059 16.75L12 14.2715L15.3994 16.75L14.1006 12.7393L17.5 10.2607H13.2979L12 6.25L10.7012 10.2607Z\" fill=\"#80EAFF\"/></svg>`;\nconst monoContent = `<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><path d=\"M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2ZM10.7012 10.2607H6.5L9.89941 12.7393L8.60059 16.75L12 14.2715L15.3994 16.75L14.1006 12.7393L17.5 10.2607H13.2979L12 6.25L10.7012 10.2607Z\" style=\"fill: currentColor\"/></svg>`;\n\nexport const LoyaltyPoint: React.FC<CurrencyIconProps> = (props) => (\n <BaseIcon\n {...props}\n coloredContent={coloredContent}\n monoContent={monoContent}\n />\n);\n","// Auto-generated - do not edit manually\nimport React from \"react\";\nimport { BaseIcon } from \"../BaseIcon\";\nimport type { CurrencyIconProps } from \"../types\";\n\nconst coloredContent = `<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><path d=\"M21 7V17L12 22L3 17V7L12 2L21 7ZM8 12L11.9893 16.001L15.9795 12L11.9893 7.99902L8 12Z\" fill=\"#9580FF\"/></svg>`;\nconst monoContent = `<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><path d=\"M21 7V17L12 22L3 17V7L12 2L21 7ZM8 12L11.9893 16.001L15.9795 12L11.9893 7.99902L8 12Z\" style=\"fill: currentColor\"/></svg>`;\n\nexport const PlayTime: React.FC<CurrencyIconProps> = (props) => (\n <BaseIcon\n {...props}\n coloredContent={coloredContent}\n monoContent={monoContent}\n />\n);\n","// Auto-generated - do not edit manually\nimport React from \"react\";\nimport { BaseIcon } from \"../BaseIcon\";\nimport type { CurrencyIconProps } from \"../types\";\n\nconst coloredContent = `<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><path d=\"M21 21H3V3H21V21ZM8 12L12.001 16.001L16.001 12L12.001 7.99902L8 12Z\" fill=\"#F6DB55\"/></svg>`;\nconst monoContent = `<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><path d=\"M21 21H3V3H21V21ZM8 12L12.001 16.001L16.001 12L12.001 7.99902L8 12Z\" style=\"fill: currentColor\"/></svg>`;\n\nexport const XsollaGold: React.FC<CurrencyIconProps> = (props) => (\n <BaseIcon\n {...props}\n coloredContent={coloredContent}\n monoContent={monoContent}\n />\n);\n","// Auto-generated - do not edit manually\nimport React from \"react\";\nimport { BaseIcon } from \"../BaseIcon\";\nimport type { CurrencyIconProps } from \"../types\";\n\nconst coloredContent = `<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><path d=\"M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2ZM8 12L12.001 16.001L16.001 12L12.001 7.99902L8 12Z\" fill=\"#80EAFF\"/></svg>`;\nconst monoContent = `<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><path d=\"M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2ZM8 12L12.001 16.001L16.001 12L12.001 7.99902L8 12Z\" style=\"fill: currentColor\"/></svg>`;\n\nexport const XsollaPoint: React.FC<CurrencyIconProps> = (props) => (\n <BaseIcon\n {...props}\n coloredContent={coloredContent}\n monoContent={monoContent}\n />\n);\n","// Auto-generated - do not edit manually\nimport React from \"react\";\nimport { BaseIcon } from \"../BaseIcon\";\nimport type { CurrencyIconProps } from \"../types\";\n\nconst coloredContent = `<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><path d=\"M8.5 3C8.5 4.933 10.067 6.5 12 6.5C13.933 6.5 15.5 4.933 15.5 3H19V21H15.5C15.5 19.067 13.933 17.5 12 17.5C10.067 17.5 8.5 19.067 8.5 21H5V3H8.5Z\" fill=\"#FFB2BF\"/></svg>`;\nconst monoContent = `<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><path d=\"M8.5 3C8.5 4.933 10.067 6.5 12 6.5C13.933 6.5 15.5 4.933 15.5 3H19V21H15.5C15.5 19.067 13.933 17.5 12 17.5C10.067 17.5 8.5 19.067 8.5 21H5V3H8.5Z\" style=\"fill: currentColor\"/></svg>`;\n\nexport const XsollaTicket: React.FC<CurrencyIconProps> = (props) => (\n <BaseIcon\n {...props}\n coloredContent={coloredContent}\n monoContent={monoContent}\n />\n);\n","// Auto-generated - do not edit manually\nimport React from \"react\";\nimport { BaseIcon } from \"../BaseIcon\";\nimport type { CurrencyIconProps } from \"../types\";\n\nconst coloredContent = `<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><path d=\"M22 7L17 12L21.9854 16.9854L16.9854 21.9854L12 17L7 22L2 17L7 12L2 7L7 2L12 7L17 2L22 7ZM8 12L12.001 16L16.001 12L12.001 7.99903L8 12Z\" fill=\"#E89331\"/></svg>`;\nconst monoContent = `<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><path d=\"M22 7L17 12L21.9854 16.9854L16.9854 21.9854L12 17L7 22L2 17L7 12L2 7L7 2L12 7L17 2L22 7ZM8 12L12.001 16L16.001 12L12.001 7.99903L8 12Z\" style=\"fill: currentColor\"/></svg>`;\n\nexport const XsollaZk: React.FC<CurrencyIconProps> = (props) => (\n <BaseIcon\n {...props}\n coloredContent={coloredContent}\n monoContent={monoContent}\n />\n);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACCA,8BAAuB;AAgBnB;AAbG,IAAM,WAAgD,CAAC;AAAA,EAC5D,UAAU;AAAA,EACV,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,gBAAAA;AAAA,EACA,aAAAC;AAAA,EACA;AAAA,EACA;AAAA,EACA,cAAc;AAChB,MAAM;AACJ,QAAM,aAAa,YAAY,YAAYD,kBAAiBC;AAE5D,SACE;AAAA,IAAC;AAAA;AAAA,MACC,KAAK;AAAA,MACL,OAAO;AAAA,MACP,QAAQ;AAAA,MACR;AAAA,MACA;AAAA,MACA;AAAA,MACA,YAAY,CAAC,CAAC;AAAA,MACd,oBAAoB;AAAA;AAAA,EACtB;AAEJ;;;ACnBE,IAAAC,sBAAA;AAJF,IAAM,iBAAiB;AACvB,IAAM,cAAc;AAEb,IAAM,WAAwC,CAAC,UACpD;AAAA,EAAC;AAAA;AAAA,IACE,GAAG;AAAA,IACJ;AAAA,IACA;AAAA;AACF;;;ACJA,IAAAC,sBAAA;AAJF,IAAMC,kBAAiB;AACvB,IAAMC,eAAc;AAEb,IAAM,eAA4C,CAAC,UACxD;AAAA,EAAC;AAAA;AAAA,IACE,GAAG;AAAA,IACJ,gBAAgBD;AAAA,IAChB,aAAaC;AAAA;AACf;;;ACJA,IAAAC,sBAAA;AAJF,IAAMC,kBAAiB;AACvB,IAAMC,eAAc;AAEb,IAAM,WAAwC,CAAC,UACpD;AAAA,EAAC;AAAA;AAAA,IACE,GAAG;AAAA,IACJ,gBAAgBD;AAAA,IAChB,aAAaC;AAAA;AACf;;;ACJA,IAAAC,sBAAA;AAJF,IAAMC,kBAAiB;AACvB,IAAMC,eAAc;AAEb,IAAM,aAA0C,CAAC,UACtD;AAAA,EAAC;AAAA;AAAA,IACE,GAAG;AAAA,IACJ,gBAAgBD;AAAA,IAChB,aAAaC;AAAA;AACf;;;ACJA,IAAAC,sBAAA;AAJF,IAAMC,kBAAiB;AACvB,IAAMC,eAAc;AAEb,IAAM,cAA2C,CAAC,UACvD;AAAA,EAAC;AAAA;AAAA,IACE,GAAG;AAAA,IACJ,gBAAgBD;AAAA,IAChB,aAAaC;AAAA;AACf;;;ACJA,IAAAC,sBAAA;AAJF,IAAMC,kBAAiB;AACvB,IAAMC,eAAc;AAEb,IAAM,eAA4C,CAAC,UACxD;AAAA,EAAC;AAAA;AAAA,IACE,GAAG;AAAA,IACJ,gBAAgBD;AAAA,IAChB,aAAaC;AAAA;AACf;;;ACJA,IAAAC,sBAAA;AAJF,IAAMC,kBAAiB;AACvB,IAAMC,eAAc;AAEb,IAAM,WAAwC,CAAC,UACpD;AAAA,EAAC;AAAA;AAAA,IACE,GAAG;AAAA,IACJ,gBAAgBD;AAAA,IAChB,aAAaC;AAAA;AACf;","names":["coloredContent","monoContent","import_jsx_runtime","import_jsx_runtime","coloredContent","monoContent","import_jsx_runtime","coloredContent","monoContent","import_jsx_runtime","coloredContent","monoContent","import_jsx_runtime","coloredContent","monoContent","import_jsx_runtime","coloredContent","monoContent","import_jsx_runtime","coloredContent","monoContent"]}
|