react-gldn-kit 0.0.10 → 0.1.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/dist/index.js +1 -1
- package/dist/index.js.LICENSE.txt +20 -0
- package/dist/lib/components/Layouts/DrawerLayout/index.js +4 -3
- package/dist/lib/components/Layouts/DrawerLayout/types.d.ts +1 -0
- package/dist/lib/components/Layouts/ModalLayout/component/ModalContent/index.d.ts +3 -0
- package/dist/lib/components/Layouts/ModalLayout/component/ModalContent/index.js +44 -0
- package/dist/lib/components/Layouts/ModalLayout/index.js +6 -7
- package/dist/lib/components/Layouts/ModalLayout/types.d.ts +1 -1
- package/dist/lib/components/Layouts/PortalLayout/index.d.ts +9 -0
- package/dist/lib/components/Layouts/PortalLayout/index.js +57 -0
- package/dist/lib/components/Modals/Alert/index.d.ts +7 -0
- package/dist/lib/components/Modals/Alert/index.js +112 -0
- package/dist/lib/components/Modals/Notifications/components/NotificationTypeIcon/index.d.ts +6 -0
- package/dist/lib/components/Modals/Notifications/components/NotificationTypeIcon/index.js +22 -0
- package/dist/lib/components/Modals/Notifications/components/NotificationView/index.d.ts +2 -0
- package/dist/lib/components/Modals/Notifications/components/NotificationView/index.js +84 -0
- package/dist/lib/components/Modals/Notifications/index.d.ts +1 -0
- package/dist/lib/components/Modals/Notifications/index.js +49 -0
- package/dist/lib/components/ui/Buttons/BaseButton/index.js +6 -1
- package/dist/lib/components/ui/Buttons/BaseButton/types.d.ts +1 -1
- package/dist/lib/components/ui/Icons/Base/CloseEyeSvg.js +2 -2
- package/dist/lib/components/ui/Icons/Base/OpenEyeSvg.js +2 -2
- package/dist/lib/hooks/useTranslate.js +1 -2
- package/dist/lib/index.d.ts +11 -1
- package/dist/lib/index.js +25 -4
- package/dist/lib/zustandStore/alerts/modal/constants.d.ts +5 -0
- package/dist/lib/zustandStore/alerts/modal/constants.js +31 -0
- package/dist/lib/zustandStore/alerts/modal/selectors.d.ts +8 -0
- package/dist/lib/zustandStore/alerts/modal/selectors.js +20 -0
- package/dist/lib/zustandStore/alerts/modal/store.d.ts +2 -0
- package/dist/lib/zustandStore/alerts/modal/store.js +74 -0
- package/dist/lib/zustandStore/alerts/modal/types.d.ts +60 -0
- package/dist/lib/zustandStore/alerts/modal/types.js +61 -0
- package/dist/lib/zustandStore/alerts/modal/utils.d.ts +2 -0
- package/dist/lib/zustandStore/alerts/modal/utils.js +11 -0
- package/dist/lib/zustandStore/alerts/notification/selectors.d.ts +7 -0
- package/dist/lib/zustandStore/alerts/notification/selectors.js +24 -0
- package/dist/lib/zustandStore/alerts/notification/store.d.ts +2 -0
- package/dist/lib/zustandStore/alerts/notification/store.js +31 -0
- package/dist/lib/zustandStore/alerts/notification/types.d.ts +22 -0
- package/dist/lib/zustandStore/alerts/notification/types.js +10 -0
- package/dist/lib/zustandStore/device/selectors.d.ts +7 -0
- package/dist/lib/zustandStore/device/selectors.js +19 -0
- package/dist/lib/zustandStore/device/store.d.ts +2 -0
- package/dist/lib/zustandStore/device/store.js +11 -0
- package/dist/lib/zustandStore/device/types.d.ts +11 -0
- package/dist/lib/zustandStore/device/types.js +9 -0
- package/dist/lib/zustandStore/device/utils.d.ts +2 -0
- package/dist/lib/zustandStore/device/utils.js +15 -0
- package/dist/lib/zustandStore/languages/selectors.d.ts +2 -2
- package/dist/lib/zustandStore/languages/store.js +8 -8
- package/dist/lib/zustandStore/languages/types.d.ts +2 -2
- package/dist/main.css +283 -72
- package/package.json +9 -6
|
@@ -46,13 +46,13 @@ exports.useZustandLanguagesKitStore = (0, zustand_1.create)(function (set, get)
|
|
|
46
46
|
setLanguages: function (languages) {
|
|
47
47
|
set({ languages: languages });
|
|
48
48
|
},
|
|
49
|
-
getAndSetLanguages: function (lang) { return __awaiter(void 0, void 0, void 0, function () {
|
|
49
|
+
getAndSetLanguages: function (lang, path) { return __awaiter(void 0, void 0, void 0, function () {
|
|
50
50
|
var languageResponse, languages, error_1, languageResponse, languages, error_2;
|
|
51
51
|
return __generator(this, function (_a) {
|
|
52
52
|
switch (_a.label) {
|
|
53
53
|
case 0:
|
|
54
54
|
_a.trys.push([0, 3, , 9]);
|
|
55
|
-
return [4 /*yield*/, fetch(
|
|
55
|
+
return [4 /*yield*/, fetch(path.replace('[LANGUAGE]', lang), {
|
|
56
56
|
method: 'GET',
|
|
57
57
|
cache: 'no-cache',
|
|
58
58
|
})];
|
|
@@ -68,14 +68,14 @@ exports.useZustandLanguagesKitStore = (0, zustand_1.create)(function (set, get)
|
|
|
68
68
|
error_1 = _a.sent();
|
|
69
69
|
if (lang === 'en') {
|
|
70
70
|
setTimeout(function () {
|
|
71
|
-
get().getAndSetLanguages('en');
|
|
71
|
+
get().getAndSetLanguages('en', path);
|
|
72
72
|
}, 2000);
|
|
73
73
|
throw new Error();
|
|
74
74
|
}
|
|
75
75
|
_a.label = 4;
|
|
76
76
|
case 4:
|
|
77
77
|
_a.trys.push([4, 7, , 8]);
|
|
78
|
-
return [4 /*yield*/, fetch(
|
|
78
|
+
return [4 /*yield*/, fetch(path.replace('[LANGUAGE]', 'en'), {
|
|
79
79
|
method: 'GET',
|
|
80
80
|
cache: 'no-cache',
|
|
81
81
|
})];
|
|
@@ -89,26 +89,26 @@ exports.useZustandLanguagesKitStore = (0, zustand_1.create)(function (set, get)
|
|
|
89
89
|
case 7:
|
|
90
90
|
error_2 = _a.sent();
|
|
91
91
|
console.error('CRITICAL ERROR LANGUAGE NOT FOUND');
|
|
92
|
-
get().getAndSetLanguages('en');
|
|
92
|
+
get().getAndSetLanguages('en', path);
|
|
93
93
|
return [3 /*break*/, 8];
|
|
94
94
|
case 8: return [3 /*break*/, 9];
|
|
95
95
|
case 9: return [2 /*return*/];
|
|
96
96
|
}
|
|
97
97
|
});
|
|
98
98
|
}); },
|
|
99
|
-
setInitLanguage: function (appType, initLanguage) {
|
|
99
|
+
setInitLanguage: function (appType, initLanguage, path) {
|
|
100
100
|
if (initLanguage === void 0) { initLanguage = 'en'; }
|
|
101
101
|
var brandName = (ui_1.EAppType[appType] ||
|
|
102
102
|
ui_1.EAppType[0]);
|
|
103
103
|
set({ brandName: brandName });
|
|
104
104
|
try {
|
|
105
105
|
var localLanguage = initLanguage || constants_1.DEFAULT_LANGUAGE;
|
|
106
|
-
get().getAndSetLanguages(localLanguage);
|
|
106
|
+
get().getAndSetLanguages(localLanguage, path);
|
|
107
107
|
}
|
|
108
108
|
catch (error) {
|
|
109
109
|
alert(JSON.stringify(error));
|
|
110
110
|
setTimeout(function () {
|
|
111
|
-
get().getAndSetLanguages('en');
|
|
111
|
+
get().getAndSetLanguages('en', path);
|
|
112
112
|
}, 1000);
|
|
113
113
|
}
|
|
114
114
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EAppType } from '../../types/ui';
|
|
2
2
|
export interface ZustandLanguageStoreKit extends ZustandLanguageEntitiesKit {
|
|
3
|
-
getAndSetLanguages: (lang: string) => void;
|
|
4
|
-
setInitLanguage: (appType: EAppType) => void;
|
|
3
|
+
getAndSetLanguages: (lang: string, path: string) => void;
|
|
4
|
+
setInitLanguage: (appType: EAppType, initialLang: string, path: string) => void;
|
|
5
5
|
setLanguages: (lang: TLanguage, initLanguage?: string) => void;
|
|
6
6
|
}
|
|
7
7
|
interface ZustandLanguageEntitiesKit {
|
package/dist/main.css
CHANGED
|
@@ -1176,69 +1176,6 @@
|
|
|
1176
1176
|
.KIT__OneClick-module__fullWidth___vk4aC .KIT__OneClick-module__marginB___NGiBf {
|
|
1177
1177
|
margin-bottom: var(--indent-base);
|
|
1178
1178
|
}
|
|
1179
|
-
.KIT__ModalLayout-module__wrapperModalLayout___A4nBX {
|
|
1180
|
-
background-color: var(--modal-layout-background-color);
|
|
1181
|
-
border-radius: var(--border-xl) var(--border-xl) 0 0 ;
|
|
1182
|
-
padding: var(--indent-base);
|
|
1183
|
-
|
|
1184
|
-
display: flex;
|
|
1185
|
-
flex-direction: column;
|
|
1186
|
-
align-items: center;
|
|
1187
|
-
|
|
1188
|
-
max-height: calc(var(--app-height) - var(--height-48));
|
|
1189
|
-
transition: 0.5s;
|
|
1190
|
-
max-width: 500px;
|
|
1191
|
-
width: 100%;
|
|
1192
|
-
overflow: hidden;
|
|
1193
|
-
position: relative;
|
|
1194
|
-
}
|
|
1195
|
-
|
|
1196
|
-
.KIT__ModalLayout-module__header___VvKRR {
|
|
1197
|
-
height: var(--height-48);
|
|
1198
|
-
display: flex;
|
|
1199
|
-
align-items: center;
|
|
1200
|
-
position: relative;
|
|
1201
|
-
width: 100%;
|
|
1202
|
-
z-index: var(--layout-lvl-1);
|
|
1203
|
-
}
|
|
1204
|
-
|
|
1205
|
-
.KIT__ModalLayout-module__wrapperModalLayout___A4nBX .KIT__ModalLayout-module__buttonClose___vwkbg {
|
|
1206
|
-
position: absolute;
|
|
1207
|
-
right: var(--indent-base-half);
|
|
1208
|
-
top: 50%;
|
|
1209
|
-
transform: translateY(-50%);
|
|
1210
|
-
}
|
|
1211
|
-
|
|
1212
|
-
.KIT__ModalLayout-module__swipeButton___JJySo {
|
|
1213
|
-
position: absolute;
|
|
1214
|
-
width: 150px;
|
|
1215
|
-
height: 100%;
|
|
1216
|
-
left: 50%;
|
|
1217
|
-
transform: translateX(-50%);
|
|
1218
|
-
}
|
|
1219
|
-
|
|
1220
|
-
.KIT__ModalLayout-module__swipeButton___JJySo::before {
|
|
1221
|
-
content: '';
|
|
1222
|
-
width: 100%;
|
|
1223
|
-
height: 4px;
|
|
1224
|
-
position: absolute;
|
|
1225
|
-
top: 50%;
|
|
1226
|
-
left: 50%;
|
|
1227
|
-
background-color: var(--swipe-button-color);
|
|
1228
|
-
transform: translate(-50%,-50%);
|
|
1229
|
-
}
|
|
1230
|
-
|
|
1231
|
-
.KIT__ModalLayout-module__overflow___wwFs1 {
|
|
1232
|
-
border-radius: var(--border-l) var(--border-l) 0 0 ;
|
|
1233
|
-
overflow: hidden;
|
|
1234
|
-
margin-bottom: var(--indent-base);
|
|
1235
|
-
}
|
|
1236
|
-
|
|
1237
|
-
@media (min-width: 768px) {
|
|
1238
|
-
.KIT__ModalLayout-module__wrapperModalLayout___A4nBX {
|
|
1239
|
-
max-height: calc(100dvh - (var(--height-48) * 2 + var(--indent-base-double)));
|
|
1240
|
-
}
|
|
1241
|
-
}
|
|
1242
1179
|
.KIT__PopUpHeader-module__wrapperPopUpHeader___GmjiQ {
|
|
1243
1180
|
display: flex;
|
|
1244
1181
|
justify-content: center;
|
|
@@ -1303,6 +1240,83 @@
|
|
|
1303
1240
|
right: var(--indent-base);
|
|
1304
1241
|
}
|
|
1305
1242
|
|
|
1243
|
+
.KIT__PortalLayout-module__wrapperPortalLayout___o5fiH {
|
|
1244
|
+
position: fixed;
|
|
1245
|
+
width: 100%;
|
|
1246
|
+
height: 100%;
|
|
1247
|
+
left: 0;
|
|
1248
|
+
top: 0;
|
|
1249
|
+
background: rgba(0, 0, 0, .5);
|
|
1250
|
+
z-index: var(--layout-lvl-2);
|
|
1251
|
+
|
|
1252
|
+
}
|
|
1253
|
+
.KIT__ModalContent-module__wrapperModalContent___tXL9n {
|
|
1254
|
+
max-width: 570px;
|
|
1255
|
+
width: 100%;
|
|
1256
|
+
padding: var(--indent-s);
|
|
1257
|
+
}
|
|
1258
|
+
.KIT__ModalLayout-module__wrapperModalLayout___A4nBX {
|
|
1259
|
+
background-color: var(--modal-layout-background-color);
|
|
1260
|
+
border-radius: var(--border-xl) var(--border-xl) 0 0;
|
|
1261
|
+
|
|
1262
|
+
display: flex;
|
|
1263
|
+
flex-direction: column;
|
|
1264
|
+
align-items: center;
|
|
1265
|
+
|
|
1266
|
+
max-height: calc(100vh - var(--height-48));
|
|
1267
|
+
transition: 0.5s;
|
|
1268
|
+
max-width: 500px;
|
|
1269
|
+
width: 100%;
|
|
1270
|
+
overflow: hidden;
|
|
1271
|
+
position: relative;
|
|
1272
|
+
}
|
|
1273
|
+
|
|
1274
|
+
.KIT__ModalLayout-module__header___VvKRR {
|
|
1275
|
+
height: var(--height-48);
|
|
1276
|
+
display: flex;
|
|
1277
|
+
align-items: center;
|
|
1278
|
+
position: relative;
|
|
1279
|
+
width: 100%;
|
|
1280
|
+
z-index: var(--layout-lvl-1);
|
|
1281
|
+
}
|
|
1282
|
+
|
|
1283
|
+
.KIT__ModalLayout-module__wrapperModalLayout___A4nBX .KIT__ModalLayout-module__buttonClose___vwkbg {
|
|
1284
|
+
position: absolute;
|
|
1285
|
+
right: var(--indent-l);
|
|
1286
|
+
top: 50%;
|
|
1287
|
+
transform: translateY(-50%);
|
|
1288
|
+
}
|
|
1289
|
+
|
|
1290
|
+
.KIT__ModalLayout-module__swipeButton___JJySo {
|
|
1291
|
+
position: absolute;
|
|
1292
|
+
width: 150px;
|
|
1293
|
+
height: 100%;
|
|
1294
|
+
left: 50%;
|
|
1295
|
+
transform: translateX(-50%);
|
|
1296
|
+
}
|
|
1297
|
+
|
|
1298
|
+
.KIT__ModalLayout-module__swipeButton___JJySo::before {
|
|
1299
|
+
content: '';
|
|
1300
|
+
width: 100%;
|
|
1301
|
+
height: 4px;
|
|
1302
|
+
position: absolute;
|
|
1303
|
+
top: 50%;
|
|
1304
|
+
left: 50%;
|
|
1305
|
+
background-color: var(--swipe-button-color);
|
|
1306
|
+
transform: translate(-50%, -50%);
|
|
1307
|
+
}
|
|
1308
|
+
|
|
1309
|
+
.KIT__ModalLayout-module__overflow___wwFs1 {
|
|
1310
|
+
border-radius: var(--border-l) var(--border-l) 0 0;
|
|
1311
|
+
overflow: hidden;
|
|
1312
|
+
margin-bottom: var(--indent-base);
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1315
|
+
@media (min-width: 768px) {
|
|
1316
|
+
.KIT__ModalLayout-module__wrapperModalLayout___A4nBX {
|
|
1317
|
+
max-height: calc(100dvh - (var(--height-48) * 2 + var(--indent-base-double)));
|
|
1318
|
+
}
|
|
1319
|
+
}
|
|
1306
1320
|
.KIT__CountDown-module__wrapperCountDown___hTyPh {
|
|
1307
1321
|
background-color: var(--count-down-background-color);
|
|
1308
1322
|
padding: var(--indent-base-half);
|
|
@@ -1540,7 +1554,7 @@
|
|
|
1540
1554
|
--drawer-full-width: 320px;
|
|
1541
1555
|
--drawer-min-width: 100px;
|
|
1542
1556
|
|
|
1543
|
-
width:
|
|
1557
|
+
width: 90%;
|
|
1544
1558
|
height: 100%;
|
|
1545
1559
|
overflow-x: hidden;
|
|
1546
1560
|
overflow-y: auto;
|
|
@@ -1634,12 +1648,12 @@
|
|
|
1634
1648
|
width: var(--drawer-full-width);
|
|
1635
1649
|
animation: none;
|
|
1636
1650
|
}
|
|
1651
|
+
|
|
1637
1652
|
.KIT__DrawerLayout-module__animationCasinoDrawerReducing___YOdkP {
|
|
1638
1653
|
width: var(--drawer-min-width);
|
|
1639
1654
|
animation: none;
|
|
1640
1655
|
}
|
|
1641
1656
|
}
|
|
1642
|
-
|
|
1643
1657
|
.KIT__Logos-module__wrapperLogo___jKLCC {
|
|
1644
1658
|
--width: 100px;
|
|
1645
1659
|
--height: calc(var(--height-48) - var(--indent-base-half));
|
|
@@ -1675,6 +1689,114 @@
|
|
|
1675
1689
|
font-weight: 700;
|
|
1676
1690
|
}
|
|
1677
1691
|
|
|
1692
|
+
.KIT__Alert-module__wrapperModal___lOle6 {
|
|
1693
|
+
width: 100%;
|
|
1694
|
+
height: 100%;
|
|
1695
|
+
min-height: 100%;
|
|
1696
|
+
position: fixed;
|
|
1697
|
+
bottom: 0;
|
|
1698
|
+
left: 0;
|
|
1699
|
+
z-index: calc(var(--layout-lvl-3) + 1);
|
|
1700
|
+
|
|
1701
|
+
transition: 0.2s;
|
|
1702
|
+
|
|
1703
|
+
transform: translateY(100%);
|
|
1704
|
+
left: auto;
|
|
1705
|
+
left: initial;
|
|
1706
|
+
top: auto;
|
|
1707
|
+
top: initial;
|
|
1708
|
+
background: rgba(0, 0, 0, .5);
|
|
1709
|
+
display: inline;
|
|
1710
|
+
display: initial;
|
|
1711
|
+
|
|
1712
|
+
}
|
|
1713
|
+
|
|
1714
|
+
@media screen and (max-width: 768px) {
|
|
1715
|
+
|
|
1716
|
+
.KIT__Alert-module__wrapperModal___lOle6 {
|
|
1717
|
+
display: flex;
|
|
1718
|
+
align-items: flex-end;
|
|
1719
|
+
|
|
1720
|
+
}
|
|
1721
|
+
}
|
|
1722
|
+
|
|
1723
|
+
.KIT__Alert-module__wrapperModal___lOle6.KIT__Alert-module__animationFadeIn___pQUbq {
|
|
1724
|
+
transform: translateY(0%);
|
|
1725
|
+
animation: KIT__Alert-module__FadeIn___Alo55 1s forwards;
|
|
1726
|
+
}
|
|
1727
|
+
|
|
1728
|
+
.KIT__Alert-module__wrapperModal___lOle6.KIT__Alert-module__animationFadeOutModal___dXCQD {
|
|
1729
|
+
animation: KIT__Alert-module__FadeOutModal___JYGCw 1s forwards;
|
|
1730
|
+
}
|
|
1731
|
+
|
|
1732
|
+
.KIT__Alert-module__black___jMfxy {
|
|
1733
|
+
top: 0;
|
|
1734
|
+
position: fixed;
|
|
1735
|
+
z-index: var(--layout-lvl-3);
|
|
1736
|
+
background-color: var(--modal-black-background-color);
|
|
1737
|
+
left: 0;
|
|
1738
|
+
width: var(--full);
|
|
1739
|
+
height: var(--full);
|
|
1740
|
+
}
|
|
1741
|
+
|
|
1742
|
+
.KIT__Alert-module__wallet___hDe7Q {
|
|
1743
|
+
display: flex;
|
|
1744
|
+
justify-content: center;
|
|
1745
|
+
align-items: center;
|
|
1746
|
+
width: var(--full);
|
|
1747
|
+
height: var(--full);
|
|
1748
|
+
}
|
|
1749
|
+
|
|
1750
|
+
@media (min-width: 768px) {
|
|
1751
|
+
.KIT__Alert-module__wrapperModal___lOle6 {
|
|
1752
|
+
display: flex;
|
|
1753
|
+
justify-content: center;
|
|
1754
|
+
align-items: center;
|
|
1755
|
+
}
|
|
1756
|
+
}
|
|
1757
|
+
|
|
1758
|
+
|
|
1759
|
+
@keyframes KIT__Alert-module__MoveToUp___vOjgR {
|
|
1760
|
+
0% {
|
|
1761
|
+
transform: translateY(100%);
|
|
1762
|
+
}
|
|
1763
|
+
|
|
1764
|
+
100% {
|
|
1765
|
+
transform: translateY(0%);
|
|
1766
|
+
}
|
|
1767
|
+
}
|
|
1768
|
+
|
|
1769
|
+
@keyframes KIT__Alert-module__MoveToBottom___fgYYC {
|
|
1770
|
+
0% {
|
|
1771
|
+
bottom: 0;
|
|
1772
|
+
}
|
|
1773
|
+
|
|
1774
|
+
100% {
|
|
1775
|
+
bottom: -100%;
|
|
1776
|
+
}
|
|
1777
|
+
}
|
|
1778
|
+
|
|
1779
|
+
@keyframes KIT__Alert-module__FadeIn___Alo55 {
|
|
1780
|
+
0% {
|
|
1781
|
+
opacity: 0;
|
|
1782
|
+
}
|
|
1783
|
+
|
|
1784
|
+
100% {
|
|
1785
|
+
opacity: 1;
|
|
1786
|
+
}
|
|
1787
|
+
}
|
|
1788
|
+
|
|
1789
|
+
@keyframes KIT__Alert-module__FadeOutModal___JYGCw {
|
|
1790
|
+
0% {
|
|
1791
|
+
z-index: 9;
|
|
1792
|
+
opacity: 1;
|
|
1793
|
+
}
|
|
1794
|
+
|
|
1795
|
+
100% {
|
|
1796
|
+
z-index: -1;
|
|
1797
|
+
opacity: 0;
|
|
1798
|
+
}
|
|
1799
|
+
}
|
|
1678
1800
|
.KIT__BannerTemplate-module__wrapperBanner___vPzec {
|
|
1679
1801
|
height: 150px;
|
|
1680
1802
|
background-size: cover;
|
|
@@ -3339,6 +3461,95 @@
|
|
|
3339
3461
|
.KIT__Icons-module__fsWinCashFill___cQ6iY path {
|
|
3340
3462
|
fill:rgb(0,0,0)
|
|
3341
3463
|
}
|
|
3464
|
+
.KIT__NotificationView-module__wrapperNotification___GLKdP {
|
|
3465
|
+
position: relative;
|
|
3466
|
+
left: -250px;
|
|
3467
|
+
width: 250px;
|
|
3468
|
+
min-height: 45px;
|
|
3469
|
+
z-index: var(--layout-lvl-4);
|
|
3470
|
+
background-color: var(--notification-wrapper-background-color);
|
|
3471
|
+
border-radius: var(--border-l);
|
|
3472
|
+
border: 2px solid var(--border-color-gray);
|
|
3473
|
+
display: flex;
|
|
3474
|
+
align-items: center;
|
|
3475
|
+
padding: var(--indent-base);
|
|
3476
|
+
justify-content: space-between;
|
|
3477
|
+
margin-bottom: var(--indent-base);
|
|
3478
|
+
}
|
|
3479
|
+
|
|
3480
|
+
.KIT__NotificationView-module__wrapperNotification___GLKdP.KIT__NotificationView-module__animationMoveToLeftNotification___RyoLN {
|
|
3481
|
+
animation: KIT__NotificationView-module__animationMoveToLeftNotification___RyoLN 1s forwards;
|
|
3482
|
+
}
|
|
3483
|
+
|
|
3484
|
+
.KIT__NotificationView-module__wrapperNotification___GLKdP.KIT__NotificationView-module__animationMoveToRightNotification___DtkVT {
|
|
3485
|
+
animation: KIT__NotificationView-module__animationMoveToRightNotification___DtkVT 1s forwards;
|
|
3486
|
+
}
|
|
3487
|
+
|
|
3488
|
+
.KIT__NotificationView-module__row___bRU2N {
|
|
3489
|
+
display: flex;
|
|
3490
|
+
align-items: center;
|
|
3491
|
+
}
|
|
3492
|
+
|
|
3493
|
+
.KIT__NotificationView-module__row___bRU2N svg {
|
|
3494
|
+
flex-shrink: 0;
|
|
3495
|
+
}
|
|
3496
|
+
|
|
3497
|
+
.KIT__NotificationView-module__text___zAS7m {
|
|
3498
|
+
margin-left: var(--indent-base);
|
|
3499
|
+
color: var(--notification-text-color);
|
|
3500
|
+
font-size: 12px;
|
|
3501
|
+
}
|
|
3502
|
+
|
|
3503
|
+
.KIT__NotificationView-module__closeIcon___HF0yX {
|
|
3504
|
+
width: 25px;
|
|
3505
|
+
height: 25px;
|
|
3506
|
+
border-radius: 50%;
|
|
3507
|
+
border: 2px solid var(--border-color-gray);
|
|
3508
|
+
background: var(--notification-close-icon-background-color);
|
|
3509
|
+
padding: 5px;
|
|
3510
|
+
flex-shrink: 0;
|
|
3511
|
+
}
|
|
3512
|
+
|
|
3513
|
+
.KIT__NotificationView-module__closeIcon___HF0yX path {
|
|
3514
|
+
fill: var(--notification-close-icon-path-fill);
|
|
3515
|
+
}
|
|
3516
|
+
|
|
3517
|
+
|
|
3518
|
+
@keyframes KIT__NotificationView-module__animationMoveToLeftNotification___RyoLN {
|
|
3519
|
+
0% {
|
|
3520
|
+
left: 0;
|
|
3521
|
+
}
|
|
3522
|
+
|
|
3523
|
+
100% {
|
|
3524
|
+
left: -260px;
|
|
3525
|
+
}
|
|
3526
|
+
}
|
|
3527
|
+
|
|
3528
|
+
|
|
3529
|
+
|
|
3530
|
+
@keyframes KIT__NotificationView-module__animationMoveToRightNotification___DtkVT {
|
|
3531
|
+
0% {
|
|
3532
|
+
left: -260;
|
|
3533
|
+
}
|
|
3534
|
+
|
|
3535
|
+
100% {
|
|
3536
|
+
left: 0px;
|
|
3537
|
+
}
|
|
3538
|
+
}
|
|
3539
|
+
.KIT__Notifications-module__wrapperNotifications___ZMmJl {
|
|
3540
|
+
position: fixed;
|
|
3541
|
+
right: -250px;
|
|
3542
|
+
top: 60px;
|
|
3543
|
+
left: auto;
|
|
3544
|
+
left: initial;
|
|
3545
|
+
background: transparent none repeat 0 0 / auto auto padding-box border-box scroll;
|
|
3546
|
+
background: initial;
|
|
3547
|
+
display: inline;
|
|
3548
|
+
display: initial;
|
|
3549
|
+
height: 100%;
|
|
3550
|
+
width: 250px;
|
|
3551
|
+
z-index: var(--layout-lvl-4);
|
|
3552
|
+
}
|
|
3342
3553
|
.KIT__BattlesCard-module__wrapperBattlesCard___Lj8jQ {
|
|
3343
3554
|
display: flex;
|
|
3344
3555
|
flex-direction: column;
|
|
@@ -3503,7 +3714,7 @@
|
|
|
3503
3714
|
padding: initial;
|
|
3504
3715
|
}
|
|
3505
3716
|
}
|
|
3506
|
-
.KIT__BattleBanner-
|
|
3717
|
+
.KIT__BattleBanner-module__wrapperBattleBannerKitComponent___ejeJD {
|
|
3507
3718
|
position: relative;
|
|
3508
3719
|
min-height: 450px;
|
|
3509
3720
|
display: flex;
|
|
@@ -3513,13 +3724,13 @@
|
|
|
3513
3724
|
border-radius: var(--border-l);
|
|
3514
3725
|
}
|
|
3515
3726
|
|
|
3516
|
-
.KIT__BattleBanner-
|
|
3727
|
+
.KIT__BattleBanner-module__wrapperBattleBannerKitComponent___ejeJD .KIT__BattleBanner-module__top___Pmvv2 {
|
|
3517
3728
|
display: flex;
|
|
3518
3729
|
flex-direction: column;
|
|
3519
3730
|
gap: var(--indent-m);
|
|
3520
3731
|
}
|
|
3521
3732
|
|
|
3522
|
-
.KIT__BattleBanner-
|
|
3733
|
+
.KIT__BattleBanner-module__wrapperBattleBannerKitComponent___ejeJD .KIT__BattleBanner-module__path___DguJU {
|
|
3523
3734
|
display: flex;
|
|
3524
3735
|
align-items: center;
|
|
3525
3736
|
gap: var(--indent-m);
|
|
@@ -3527,17 +3738,17 @@
|
|
|
3527
3738
|
color: rgb(var(--gray));
|
|
3528
3739
|
}
|
|
3529
3740
|
|
|
3530
|
-
.KIT__BattleBanner-
|
|
3741
|
+
.KIT__BattleBanner-module__wrapperBattleBannerKitComponent___ejeJD .KIT__BattleBanner-module__path___DguJU .KIT__BattleBanner-module__arrowSvg___cOmXg {
|
|
3531
3742
|
transform: rotate(90deg);
|
|
3532
3743
|
}
|
|
3533
3744
|
|
|
3534
|
-
.KIT__BattleBanner-
|
|
3745
|
+
.KIT__BattleBanner-module__wrapperBattleBannerKitComponent___ejeJD .KIT__BattleBanner-module__content___Nm5hb {
|
|
3535
3746
|
display: flex;
|
|
3536
3747
|
flex-direction: column;
|
|
3537
3748
|
gap: var(--indent-xl);
|
|
3538
3749
|
}
|
|
3539
3750
|
|
|
3540
|
-
.KIT__BattleBanner-
|
|
3751
|
+
.KIT__BattleBanner-module__wrapperBattleBannerKitComponent___ejeJD .KIT__BattleBanner-module__content___Nm5hb .KIT__BattleBanner-module__prizeAmount___yWw4j {
|
|
3541
3752
|
font-size: clamp(var(--font-size-xxl), -0.107rem + 4.286vw, 60px);
|
|
3542
3753
|
background-clip: text;
|
|
3543
3754
|
-webkit-background-clip: text;
|
|
@@ -3546,7 +3757,7 @@
|
|
|
3546
3757
|
font-weight: 700;
|
|
3547
3758
|
}
|
|
3548
3759
|
|
|
3549
|
-
.KIT__BattleBanner-
|
|
3760
|
+
.KIT__BattleBanner-module__wrapperBattleBannerKitComponent___ejeJD .KIT__BattleBanner-module__button___yjczx {
|
|
3550
3761
|
text-transform: uppercase;
|
|
3551
3762
|
--width: full;
|
|
3552
3763
|
--height: 48px;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-gldn-kit",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"keywords": [],
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"build": "rm -rf dist && npm run build:types && webpack --mode=production --node-env=production",
|
|
13
13
|
"publish": "npm i && npm run build && npm publish",
|
|
14
14
|
"clear": "sudo rm -rf node_modules && npm i",
|
|
15
|
-
"add:react": " npm link ../web-spa/node_modules/react ../web-spa/node_modules/@types/react ../web-spa/node_modules/classnames ../web-spa/node_modules/react-dom ../web-spa/node_modules/react-responsive-carousel ../web-spa/node_modules/react-easy-swipe",
|
|
15
|
+
"add:react": " npm link ../web-spa/node_modules/react ../web-spa/node_modules/@types/react ../web-spa/node_modules/classnames ../web-spa/node_modules/react-dom ../web-spa/node_modules/@types/react-dom ../web-spa/node_modules/react-responsive-carousel ../web-spa/node_modules/react-easy-swipe",
|
|
16
16
|
"dev:kit": "sudo npm run add:react && npm run dev",
|
|
17
17
|
"dev:kit-win": "npm run add:react && rimraf ./dist/lib && tsc --build tsconfig.json && webpack --watch"
|
|
18
18
|
},
|
|
@@ -36,19 +36,22 @@
|
|
|
36
36
|
"postcss-loader": "^8.1.1",
|
|
37
37
|
"postcss-preset-env": "^10.1.2",
|
|
38
38
|
"prettier": "^2.8.8",
|
|
39
|
+
"scheduler": "^0.25.0",
|
|
39
40
|
"style-loader": "^4.0.0",
|
|
40
41
|
"ts-loader": "^9.5.1",
|
|
41
42
|
"typescript": "^4.3.5",
|
|
42
43
|
"typescript-plugin-css-modules": "^5.1.0",
|
|
43
44
|
"webpack": "^5.88.2",
|
|
44
|
-
"webpack-cli": "^5.1.4"
|
|
45
|
+
"webpack-cli": "^5.1.4",
|
|
46
|
+
"@types/react": "^18.2.12",
|
|
47
|
+
"@types/react-dom": "^18.2.5"
|
|
45
48
|
},
|
|
46
49
|
"peerDependencies": {
|
|
47
50
|
"classnames": "*",
|
|
48
|
-
"react": "*",
|
|
49
|
-
"react-dom": "*",
|
|
50
51
|
"react-responsive-carousel": "*",
|
|
51
|
-
"zustand": "^4.5.5"
|
|
52
|
+
"zustand": "^4.5.5",
|
|
53
|
+
"react":"18.2.0",
|
|
54
|
+
"react-dom":"18.2.0"
|
|
52
55
|
},
|
|
53
56
|
"dependencies": {
|
|
54
57
|
"html-react-parser": "^5.1.12",
|