react-gldn-kit 0.0.2 → 0.0.3
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/lib/components/Layouts/LandingLayoutTemplate/index.d.ts +2 -0
- package/dist/lib/components/Layouts/LandingLayoutTemplate/index.js +51 -0
- package/dist/lib/components/Layouts/LandingLayoutTemplate/types.d.ts +10 -0
- package/dist/lib/components/Layouts/LandingLayoutTemplate/types.js +2 -0
- package/dist/lib/components/ui/Headers/PopUpHeader/index.js +2 -2
- package/dist/lib/components/ui/Icons/Base/CrossSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Base/CrossSvg.js +20 -0
- package/dist/lib/components/ui/Icons/Base/WarningSvg.d.ts +2 -0
- package/dist/lib/components/ui/Icons/Base/WarningSvg.js +20 -0
- package/dist/lib/components/ui/Inputs/BaseInput/BaseInputUi.js +8 -6
- package/dist/lib/components/ui/Inputs/BaseInput/types.d.ts +3 -0
- package/dist/lib/index.d.ts +2 -1
- package/dist/lib/index.js +6 -4
- package/dist/main.css +57 -17
- package/package.json +1 -1
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
16
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
17
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
18
|
+
}
|
|
19
|
+
Object.defineProperty(o, k2, desc);
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.LandingLayoutTemplate = void 0;
|
|
38
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
39
|
+
var Logos_1 = require("components/ui/Logos");
|
|
40
|
+
var Buttons_1 = require("components/ui/Buttons");
|
|
41
|
+
var styles = __importStar(require("./LandingLayoutTemplate.module.css"));
|
|
42
|
+
var LandingLayoutTemplate = function (props) {
|
|
43
|
+
var backgroundImgPath = props.backgroundImgPath, textImgPath = props.textImgPath, handleClick = props.handleClick, buttonText = props.buttonText, appType = props.appType, isMobile = props.isMobile, handleLogoClick = props.handleLogoClick;
|
|
44
|
+
return ((0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.wrapperLanding, style: {
|
|
45
|
+
backgroundImage: "url(".concat(backgroundImgPath, ")"),
|
|
46
|
+
backgroundRepeat: 'no-repeat',
|
|
47
|
+
backgroundSize: 'cover',
|
|
48
|
+
backgroundPosition: 'center',
|
|
49
|
+
} }, { children: [(0, jsx_runtime_1.jsx)(Logos_1.Logo, { appType: appType, isMobile: isMobile, handleLogoClick: handleLogoClick }), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.content }, { children: [(0, jsx_runtime_1.jsx)("img", { src: textImgPath, className: styles.textImg }), (0, jsx_runtime_1.jsx)(Buttons_1.BaseButton, { text: buttonText, handleClick: handleClick, size: "--button-full", color: "transparent", buttonHeight: "--button-height-l", classes: styles.button, centreText: true })] }))] })));
|
|
50
|
+
};
|
|
51
|
+
exports.LandingLayoutTemplate = LandingLayoutTemplate;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { EAppType } from 'types/ui';
|
|
2
|
+
export type LandingLayoutTemplateProps = {
|
|
3
|
+
backgroundImgPath: string;
|
|
4
|
+
textImgPath: string;
|
|
5
|
+
handleClick: () => void;
|
|
6
|
+
buttonText?: string;
|
|
7
|
+
appType: EAppType;
|
|
8
|
+
isMobile: boolean;
|
|
9
|
+
handleLogoClick: () => void;
|
|
10
|
+
};
|
|
@@ -40,13 +40,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
40
40
|
exports.PopUpHeader = void 0;
|
|
41
41
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
42
42
|
var classnames_1 = __importDefault(require("classnames"));
|
|
43
|
-
var
|
|
43
|
+
var CrossSvg_1 = require("components/ui/Icons/Base/CrossSvg");
|
|
44
44
|
var styles = __importStar(require("./PopUpHeader.module.css"));
|
|
45
45
|
var PopUpHeader = function (props) {
|
|
46
46
|
var _a;
|
|
47
47
|
var title = props.title, closeButton = props.closeButton, classes = props.classes, backButton = props.backButton, backSvg = props.backSvg, _b = props.transparent, transparent = _b === void 0 ? false : _b;
|
|
48
48
|
return ((0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.wrapperPopUpHeader, classes, (_a = {},
|
|
49
49
|
_a[styles.transparent] = transparent,
|
|
50
|
-
_a)) }, { children: [backButton && ((0, jsx_runtime_1.jsx)("div", __assign({ className: (0, classnames_1.default)(styles.closeButton, styles.left), onClick: backButton }, { children: backSvg }))), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.title }, { children: title })), closeButton && ((0, jsx_runtime_1.jsx)("div", __assign({ className: (0, classnames_1.default)(styles.closeButton, styles.right), onClick: closeButton }, { children: (0, jsx_runtime_1.jsx)(
|
|
50
|
+
_a)) }, { children: [backButton && ((0, jsx_runtime_1.jsx)("div", __assign({ className: (0, classnames_1.default)(styles.closeButton, styles.left), onClick: backButton }, { children: backSvg }))), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.title }, { children: title })), closeButton && ((0, jsx_runtime_1.jsx)("div", __assign({ className: (0, classnames_1.default)(styles.closeButton, styles.right), onClick: closeButton }, { children: (0, jsx_runtime_1.jsx)(CrossSvg_1.CrossSvg, { classes: styles.closeSvg }) })))] })));
|
|
51
51
|
};
|
|
52
52
|
exports.PopUpHeader = PopUpHeader;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.CrossSvg = void 0;
|
|
15
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
16
|
+
var CrossSvg = function (props) {
|
|
17
|
+
var _a = props.width, width = _a === void 0 ? '8' : _a, _b = props.height, height = _b === void 0 ? '8' : _b, classes = props.classes;
|
|
18
|
+
return ((0, jsx_runtime_1.jsx)("svg", __assign({ width: width, height: height, viewBox: "0 0 8 8", fill: "none", className: classes }, { children: (0, jsx_runtime_1.jsx)("path", { d: "M6.86193 0.195262C7.12228 -0.0650874 7.54439 -0.0650874 7.80474 0.195262C8.06509 0.455612 8.06509 0.877722 7.80474 1.13807L4.94281 4L7.80474 6.86193C8.06509 7.12228 8.06509 7.54439 7.80474 7.80474C7.54439 8.06509 7.12228 8.06509 6.86193 7.80474L4 4.94281L1.13807 7.80474C0.877722 8.06509 0.455612 8.06509 0.195262 7.80474C-0.0650875 7.54439 -0.0650875 7.12228 0.195262 6.86193L3.05719 4L0.195262 1.13807C-0.0650871 0.877722 -0.0650871 0.455612 0.195262 0.195262C0.455612 -0.0650874 0.877722 -0.0650874 1.13807 0.195262L4 3.05719L6.86193 0.195262Z", fill: "rgb(var(--gray))" }) })));
|
|
19
|
+
};
|
|
20
|
+
exports.CrossSvg = CrossSvg;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.WarningSvg = void 0;
|
|
15
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
16
|
+
var WarningSvg = function (props) {
|
|
17
|
+
var _a = props.width, width = _a === void 0 ? '16' : _a, _b = props.height, height = _b === void 0 ? '16' : _b, classes = props.classes;
|
|
18
|
+
return ((0, jsx_runtime_1.jsx)("svg", __assign({ width: width, height: height, viewBox: "0 0 16 16", fill: "none", className: classes }, { children: (0, jsx_runtime_1.jsx)("g", { children: (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8 16C12.4183 16 16 12.4183 16 8C16 3.58172 12.4183 0 8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16ZM7 3L7 10H9V3H7ZM7 11V13H9V11H7Z", fill: "rgb(var(--red))" }) }) })));
|
|
19
|
+
};
|
|
20
|
+
exports.WarningSvg = WarningSvg;
|
|
@@ -39,17 +39,19 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
39
39
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
40
|
exports.BaseInputUi = void 0;
|
|
41
41
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
42
|
+
var react_1 = require("react");
|
|
42
43
|
var classnames_1 = __importDefault(require("classnames"));
|
|
43
44
|
var inputError_svg_1 = require("assets/inputError.svg");
|
|
44
|
-
var
|
|
45
|
-
var
|
|
45
|
+
var CrossSvg_1 = require("components/ui/Icons/Base/CrossSvg");
|
|
46
|
+
var WarningSvg_1 = require("components/ui/Icons/Base/WarningSvg");
|
|
46
47
|
var Text_1 = require("components/Text");
|
|
48
|
+
var styles = __importStar(require("./BaseInputUi.module.css"));
|
|
47
49
|
var BaseInputUi = function (props) {
|
|
48
50
|
var _a, _b, _c;
|
|
49
|
-
var startIcon = props.startIcon, value = props.value, type = props.type, placeholder = props.placeholder, handleChange = props.handleChange, children = props.children, isHidePlaceholder = props.isHidePlaceholder, inputLabelType = props.inputLabelType, errorText = props.errorText, inputStyleType = props.inputStyleType, size = props.size, classes = props.classes, inputMode = props.inputMode, disabled = props.disabled, _d = props.bottomText, bottomText = _d === void 0 ? '' : _d, _e = props.withErrorSvg, withErrorSvg = _e === void 0 ? false : _e, onFocus = props.onFocus;
|
|
51
|
+
var startIcon = props.startIcon, value = props.value, type = props.type, placeholder = props.placeholder, handleChange = props.handleChange, children = props.children, isHidePlaceholder = props.isHidePlaceholder, inputLabelType = props.inputLabelType, errorText = props.errorText, inputStyleType = props.inputStyleType, size = props.size, classes = props.classes, inputMode = props.inputMode, disabled = props.disabled, _d = props.bottomText, bottomText = _d === void 0 ? '' : _d, _e = props.withErrorSvg, withErrorSvg = _e === void 0 ? false : _e, onFocus = props.onFocus, _f = props.withClearValue, withClearValue = _f === void 0 ? false : _f, handleClearInputValue = props.handleClearInputValue, labelClasses = props.labelClasses;
|
|
50
52
|
var isBorderColorful = inputStyleType === 'border-colorful';
|
|
51
53
|
var sizeModifier = "inputWrapperSize-".concat(size);
|
|
52
|
-
var
|
|
54
|
+
var _g = (0, react_1.useState)(false), isFocused = _g[0], setFocusState = _g[1];
|
|
53
55
|
var handleFocus = function () {
|
|
54
56
|
setFocusState(true);
|
|
55
57
|
onFocus === null || onFocus === void 0 ? void 0 : onFocus();
|
|
@@ -63,10 +65,10 @@ var BaseInputUi = function (props) {
|
|
|
63
65
|
_a[styles.borderColorfulRed] = errorText,
|
|
64
66
|
_a)) }, { children: [startIcon, (0, jsx_runtime_1.jsx)("input", { onFocus: handleFocus, onBlur: handleBlur, inputMode: inputMode, className: (0, classnames_1.default)(styles.input, (_b = {},
|
|
65
67
|
_b[styles.disabled] = disabled,
|
|
66
|
-
_b)), value: value, type: type, placeholder: placeholder, onChange: handleChange }), children && (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.rowChildrenData }, { children: children })), errorText && withErrorSvg && ((0, jsx_runtime_1.jsx)("div", __assign({ className: styles.rowChildrenData }, { children: (0, jsx_runtime_1.jsx)(inputError_svg_1.ReactComponent, {}) }))), (0, jsx_runtime_1.jsx)("label", __assign({ className: (0, classnames_1.default)(styles.label, (_c = {},
|
|
68
|
+
_b)), value: value, type: type, placeholder: placeholder, onChange: handleChange }), value && withClearValue && !errorText && ((0, jsx_runtime_1.jsx)("div", __assign({ className: styles.clearButton, onClick: handleClearInputValue }, { children: (0, jsx_runtime_1.jsx)(CrossSvg_1.CrossSvg, {}) }))), value && withClearValue && errorText && ((0, jsx_runtime_1.jsx)("div", __assign({ className: styles.clearButton }, { children: (0, jsx_runtime_1.jsx)(WarningSvg_1.WarningSvg, {}) }))), children && (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.rowChildrenData }, { children: children })), errorText && withErrorSvg && ((0, jsx_runtime_1.jsx)("div", __assign({ className: styles.rowChildrenData }, { children: (0, jsx_runtime_1.jsx)(inputError_svg_1.ReactComponent, {}) }))), (0, jsx_runtime_1.jsx)("label", __assign({ className: (0, classnames_1.default)(styles.label, (_c = {},
|
|
67
69
|
_c[styles.labelRight] = startIcon,
|
|
68
70
|
_c[styles.hideLabel] = isHidePlaceholder,
|
|
69
71
|
_c[styles.labelUp] = inputLabelType === 'labelUp',
|
|
70
|
-
_c)) }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: placeholder }) })), errorText && ((0, jsx_runtime_1.jsx)("div", __assign({ className: (0, classnames_1.default)(styles.errorText, styles.animationFadeIn) }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: errorText }) }))), !errorText && bottomText && ((0, jsx_runtime_1.jsx)("div", __assign({ className: (0, classnames_1.default)(styles.errorText, styles.animationFadeIn, styles.resetErrorColor) }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: bottomText }) })))] })));
|
|
72
|
+
_c), labelClasses) }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: placeholder }) })), errorText && ((0, jsx_runtime_1.jsx)("div", __assign({ className: (0, classnames_1.default)(styles.errorText, styles.animationFadeIn) }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: errorText }) }))), !errorText && bottomText && ((0, jsx_runtime_1.jsx)("div", __assign({ className: (0, classnames_1.default)(styles.errorText, styles.animationFadeIn, styles.resetErrorColor) }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: bottomText }) })))] })));
|
|
71
73
|
};
|
|
72
74
|
exports.BaseInputUi = BaseInputUi;
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ import { CountrySelector } from 'components/SignUp/CountrySelector';
|
|
|
15
15
|
import { ModalLayout } from 'components/Layouts/ModalLayout';
|
|
16
16
|
import { BonusCardLayout } from 'components/Layouts/BonusCardLayout';
|
|
17
17
|
import { DrawerLayout } from 'components/Layouts/DrawerLayout';
|
|
18
|
+
import { LandingLayoutTemplate } from 'components/Layouts/LandingLayoutTemplate';
|
|
18
19
|
import { Banners } from 'components/Banners';
|
|
19
20
|
import BannerTemplate from 'components/Banners/components/BannerTemplate';
|
|
20
21
|
import { PromotionMobileApp } from 'components/Banners/components/PromotionMobileApp';
|
|
@@ -184,6 +185,6 @@ import { Section } from './components/ui/Section/index';
|
|
|
184
185
|
import { BattleBanner } from 'components/Banners/components/BattleBanner';
|
|
185
186
|
import { Leaderboard } from 'components/ui/Leaderboard';
|
|
186
187
|
import Accordion from 'components/ui/AccordionGroup/Accordion';
|
|
187
|
-
export { Logo, BaseButton, CloseButton, DrawerButton, AppSwitcher, CasinoCategoryButton, CasinoSubCategoriesButton, ProviderNameButton, DepositButton, ShowAllCard, BaseInput, BaseInputUi, CheckBox, JivoChatButton, JivoChatButtonProps, PaymentsMethods, PaymentMethodProps, EActiveMethodTab, DepositSkelet, DepositSkeletProps, DepositQrFormProps, PopUpHeader, Footer, Tabs, MainLoader, CircularLoader, HOCImageLoader, HOCOutsideClick, HOCErrorBoundary, useElementResize, useOnClickOutside, useCountDown, useTranslate, useInView, JackpotWidget, JackPotInfoBox, Wheel, Scratch, TournamentCard, ReferralTable, ReferralTableProps, Pagination, ModalLayout, BonusCardLayout, DrawerLayout, CountDown, LastBigWinners, Banners, BannerTemplate, PromotionMobileApp, OneClick, DocsCheckBox, CurrencySelector, CountrySelector, RegistrationPromoCode, Selector, ArrowSvg, DownloadSvg, LockSvg, CloseSvg, JabiInHouseSvg, ProviderSvg, HotSvg, WagerSvg, ElonHouseSvg, FSWinHouseSvg, ElonTreasureSvg, FSWinTreasureSvg, JabibetTreasureSvg, PlaySvg, InfoSvg, InstagramSvg, TelegramSvg, FacebookSvg, AvatarSvg, ProfileSvg, BonusGiftSvg, BurgerSvg, CalendarSvg, CashSvg, CloseEyeSvg, OpenEyeSvg, CoinSvg, CoinsSvg, CopySvg, DocSvg, FavoritesSvg, GoogleSvg, GrowSvg, DrawerTogglerSvg, LotterySvg, InfoLotterySvg, PlusSvg, SearchSvg, ProvidersBlocksSvg, SelectedSvg, ShareSvg, StarSvg, SupportSvg, ThreeDotsSvg, TrashSvg, WalletSvg, FirstBonusSvg, SecondBonusSvg, ThirdBonusSvg, VipClubSvg, BronzeSvg, SilverSvg, DiamondSvg, GoldSvg, GreenSvg, PlatinumSvg, PlatinumOneSvg, AzeSvg, BnSvg, BsSvg, ChSvg, DeSvg, EnSvg, EsSvg, FrSvg, HiSvg, ItSvg, KoSvg, KzSvg, NoSvg, PtSvg, RoSvg, RuSvg, TrSvg, UkrSvg, UzSvg, TournamentWagerSvg, ProvidersSvg, DefaultImgSvg, CasinoCoinSvg, RecommendedSvg, DepositSvg, ErrorSvg, SuccessSvg, WaitingSvg, WithdrawSvg, AmericanFootballSvg, AussieRulesSvg, BadmintonSvg, BaseballSvg, BasketballSvg, Basketball3x3Svg, BeachSoccerSvg, BoxingSvg, ChessSvg, CricketSvg, DartsSvg, EFifaSvg, ENbaSvg, ENhlSvg, EsportSvg, FieldHockeySvg, FutsalSvg, IceHockeySvg, KabaddiSvg, MmaSvg, RugbySvg, SnookerSvg, SoccerSvg, SquashSvg, TableTennisSvg, TennisSvg, VolleyballSvg, NotFoundBonusesSvg, NotificationWarningSvg, NotificationErrorSvg, NotificationSuccessSvg, NavTournamentSvg, NavReferralSvg, NavMyBetsSvg, NavCasinoSvg, NavBonusesSvg, NavBettingLiveSvg, NavBettingSvg, BattlesCard, Step, Section, BattleBanner, Leaderboard, Accordion, useZustandLanguagesKitStore, languageSelectors, Text, getCasinoCategoryIcon, };
|
|
188
|
+
export { Logo, BaseButton, CloseButton, DrawerButton, AppSwitcher, CasinoCategoryButton, CasinoSubCategoriesButton, ProviderNameButton, DepositButton, ShowAllCard, BaseInput, BaseInputUi, CheckBox, JivoChatButton, JivoChatButtonProps, PaymentsMethods, PaymentMethodProps, EActiveMethodTab, DepositSkelet, DepositSkeletProps, DepositQrFormProps, PopUpHeader, Footer, Tabs, MainLoader, CircularLoader, HOCImageLoader, HOCOutsideClick, HOCErrorBoundary, useElementResize, useOnClickOutside, useCountDown, useTranslate, useInView, JackpotWidget, JackPotInfoBox, Wheel, Scratch, TournamentCard, ReferralTable, ReferralTableProps, Pagination, ModalLayout, BonusCardLayout, DrawerLayout, LandingLayoutTemplate, CountDown, LastBigWinners, Banners, BannerTemplate, PromotionMobileApp, OneClick, DocsCheckBox, CurrencySelector, CountrySelector, RegistrationPromoCode, Selector, ArrowSvg, DownloadSvg, LockSvg, CloseSvg, JabiInHouseSvg, ProviderSvg, HotSvg, WagerSvg, ElonHouseSvg, FSWinHouseSvg, ElonTreasureSvg, FSWinTreasureSvg, JabibetTreasureSvg, PlaySvg, InfoSvg, InstagramSvg, TelegramSvg, FacebookSvg, AvatarSvg, ProfileSvg, BonusGiftSvg, BurgerSvg, CalendarSvg, CashSvg, CloseEyeSvg, OpenEyeSvg, CoinSvg, CoinsSvg, CopySvg, DocSvg, FavoritesSvg, GoogleSvg, GrowSvg, DrawerTogglerSvg, LotterySvg, InfoLotterySvg, PlusSvg, SearchSvg, ProvidersBlocksSvg, SelectedSvg, ShareSvg, StarSvg, SupportSvg, ThreeDotsSvg, TrashSvg, WalletSvg, FirstBonusSvg, SecondBonusSvg, ThirdBonusSvg, VipClubSvg, BronzeSvg, SilverSvg, DiamondSvg, GoldSvg, GreenSvg, PlatinumSvg, PlatinumOneSvg, AzeSvg, BnSvg, BsSvg, ChSvg, DeSvg, EnSvg, EsSvg, FrSvg, HiSvg, ItSvg, KoSvg, KzSvg, NoSvg, PtSvg, RoSvg, RuSvg, TrSvg, UkrSvg, UzSvg, TournamentWagerSvg, ProvidersSvg, DefaultImgSvg, CasinoCoinSvg, RecommendedSvg, DepositSvg, ErrorSvg, SuccessSvg, WaitingSvg, WithdrawSvg, AmericanFootballSvg, AussieRulesSvg, BadmintonSvg, BaseballSvg, BasketballSvg, Basketball3x3Svg, BeachSoccerSvg, BoxingSvg, ChessSvg, CricketSvg, DartsSvg, EFifaSvg, ENbaSvg, ENhlSvg, EsportSvg, FieldHockeySvg, FutsalSvg, IceHockeySvg, KabaddiSvg, MmaSvg, RugbySvg, SnookerSvg, SoccerSvg, SquashSvg, TableTennisSvg, TennisSvg, VolleyballSvg, NotFoundBonusesSvg, NotificationWarningSvg, NotificationErrorSvg, NotificationSuccessSvg, NavTournamentSvg, NavReferralSvg, NavMyBetsSvg, NavCasinoSvg, NavBonusesSvg, NavBettingLiveSvg, NavBettingSvg, BattlesCard, Step, Section, BattleBanner, Leaderboard, Accordion, useZustandLanguagesKitStore, languageSelectors, Text, getCasinoCategoryIcon, };
|
|
188
189
|
import './styles/global.module.css';
|
|
189
190
|
import { useTranslate } from 'hooks/useTranslate';
|
package/dist/lib/index.js
CHANGED
|
@@ -3,10 +3,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.getCasinoCategoryIcon = exports.Text = exports.languageSelectors = exports.useZustandLanguagesKitStore = exports.Accordion = exports.Leaderboard = exports.BattleBanner = exports.Section = exports.Step = exports.BattlesCard = exports.NavBettingSvg = exports.NavBettingLiveSvg = exports.NavBonusesSvg = exports.NavCasinoSvg = exports.NavMyBetsSvg = exports.NavReferralSvg = exports.NavTournamentSvg = exports.NotificationSuccessSvg = exports.NotificationErrorSvg = exports.NotificationWarningSvg = exports.NotFoundBonusesSvg = exports.VolleyballSvg = exports.TennisSvg = exports.TableTennisSvg = exports.SquashSvg = exports.SoccerSvg = exports.SnookerSvg = exports.RugbySvg = exports.MmaSvg = exports.KabaddiSvg = exports.IceHockeySvg = exports.FutsalSvg = exports.FieldHockeySvg = exports.EsportSvg = exports.ENhlSvg = void 0;
|
|
6
|
+
exports.CountrySelector = exports.CurrencySelector = exports.DocsCheckBox = exports.OneClick = exports.PromotionMobileApp = exports.BannerTemplate = exports.Banners = exports.LastBigWinners = exports.CountDown = exports.LandingLayoutTemplate = exports.DrawerLayout = exports.BonusCardLayout = exports.ModalLayout = exports.Pagination = exports.ReferralTable = exports.TournamentCard = exports.Scratch = exports.Wheel = exports.JackPotInfoBox = exports.JackpotWidget = exports.useInView = exports.useTranslate = exports.useCountDown = exports.useOnClickOutside = exports.useElementResize = exports.HOCErrorBoundary = exports.HOCOutsideClick = exports.HOCImageLoader = exports.CircularLoader = exports.MainLoader = exports.Tabs = exports.Footer = exports.PopUpHeader = exports.DepositSkelet = exports.EActiveMethodTab = exports.PaymentsMethods = exports.JivoChatButton = exports.CheckBox = exports.BaseInputUi = exports.BaseInput = exports.ShowAllCard = exports.DepositButton = exports.ProviderNameButton = exports.CasinoSubCategoriesButton = exports.CasinoCategoryButton = exports.AppSwitcher = exports.DrawerButton = exports.CloseButton = exports.BaseButton = exports.Logo = void 0;
|
|
7
|
+
exports.SecondBonusSvg = exports.FirstBonusSvg = exports.WalletSvg = exports.TrashSvg = exports.ThreeDotsSvg = exports.SupportSvg = exports.StarSvg = exports.ShareSvg = exports.SelectedSvg = exports.ProvidersBlocksSvg = exports.SearchSvg = exports.PlusSvg = exports.InfoLotterySvg = exports.LotterySvg = exports.DrawerTogglerSvg = exports.GrowSvg = exports.GoogleSvg = exports.FavoritesSvg = exports.DocSvg = exports.CopySvg = exports.CoinsSvg = exports.CoinSvg = exports.OpenEyeSvg = exports.CloseEyeSvg = exports.CashSvg = exports.CalendarSvg = exports.BurgerSvg = exports.BonusGiftSvg = exports.ProfileSvg = exports.AvatarSvg = exports.FacebookSvg = exports.TelegramSvg = exports.InstagramSvg = exports.InfoSvg = exports.PlaySvg = exports.JabibetTreasureSvg = exports.FSWinTreasureSvg = exports.ElonTreasureSvg = exports.FSWinHouseSvg = exports.ElonHouseSvg = exports.WagerSvg = exports.HotSvg = exports.ProviderSvg = exports.JabiInHouseSvg = exports.CloseSvg = exports.LockSvg = exports.DownloadSvg = exports.ArrowSvg = exports.Selector = exports.RegistrationPromoCode = void 0;
|
|
8
|
+
exports.EFifaSvg = exports.DartsSvg = exports.CricketSvg = exports.ChessSvg = exports.BoxingSvg = exports.BeachSoccerSvg = exports.Basketball3x3Svg = exports.BasketballSvg = exports.BaseballSvg = exports.BadmintonSvg = exports.AussieRulesSvg = exports.AmericanFootballSvg = exports.WithdrawSvg = exports.WaitingSvg = exports.SuccessSvg = exports.ErrorSvg = exports.DepositSvg = exports.RecommendedSvg = exports.CasinoCoinSvg = exports.DefaultImgSvg = exports.ProvidersSvg = exports.TournamentWagerSvg = exports.UzSvg = exports.UkrSvg = exports.TrSvg = exports.RuSvg = exports.RoSvg = exports.PtSvg = exports.NoSvg = exports.KzSvg = exports.KoSvg = exports.ItSvg = exports.HiSvg = exports.FrSvg = exports.EsSvg = exports.EnSvg = exports.DeSvg = exports.ChSvg = exports.BsSvg = exports.BnSvg = exports.AzeSvg = exports.PlatinumOneSvg = exports.PlatinumSvg = exports.GreenSvg = exports.GoldSvg = exports.DiamondSvg = exports.SilverSvg = exports.BronzeSvg = exports.VipClubSvg = exports.ThirdBonusSvg = void 0;
|
|
9
|
+
exports.getCasinoCategoryIcon = exports.Text = exports.languageSelectors = exports.useZustandLanguagesKitStore = exports.Accordion = exports.Leaderboard = exports.BattleBanner = exports.Section = exports.Step = exports.BattlesCard = exports.NavBettingSvg = exports.NavBettingLiveSvg = exports.NavBonusesSvg = exports.NavCasinoSvg = exports.NavMyBetsSvg = exports.NavReferralSvg = exports.NavTournamentSvg = exports.NotificationSuccessSvg = exports.NotificationErrorSvg = exports.NotificationWarningSvg = exports.NotFoundBonusesSvg = exports.VolleyballSvg = exports.TennisSvg = exports.TableTennisSvg = exports.SquashSvg = exports.SoccerSvg = exports.SnookerSvg = exports.RugbySvg = exports.MmaSvg = exports.KabaddiSvg = exports.IceHockeySvg = exports.FutsalSvg = exports.FieldHockeySvg = exports.EsportSvg = exports.ENhlSvg = exports.ENbaSvg = void 0;
|
|
10
10
|
// Buttons
|
|
11
11
|
var Buttons_1 = require("components/ui/Buttons");
|
|
12
12
|
Object.defineProperty(exports, "BaseButton", { enumerable: true, get: function () { return Buttons_1.BaseButton; } });
|
|
@@ -45,6 +45,8 @@ var BonusCardLayout_1 = require("components/Layouts/BonusCardLayout");
|
|
|
45
45
|
Object.defineProperty(exports, "BonusCardLayout", { enumerable: true, get: function () { return BonusCardLayout_1.BonusCardLayout; } });
|
|
46
46
|
var DrawerLayout_1 = require("components/Layouts/DrawerLayout");
|
|
47
47
|
Object.defineProperty(exports, "DrawerLayout", { enumerable: true, get: function () { return DrawerLayout_1.DrawerLayout; } });
|
|
48
|
+
var LandingLayoutTemplate_1 = require("components/Layouts/LandingLayoutTemplate");
|
|
49
|
+
Object.defineProperty(exports, "LandingLayoutTemplate", { enumerable: true, get: function () { return LandingLayoutTemplate_1.LandingLayoutTemplate; } });
|
|
48
50
|
// Banners
|
|
49
51
|
var Banners_1 = require("components/Banners");
|
|
50
52
|
Object.defineProperty(exports, "Banners", { enumerable: true, get: function () { return Banners_1.Banners; } });
|
package/dist/main.css
CHANGED
|
@@ -664,6 +664,7 @@
|
|
|
664
664
|
border: 2px solid var(--border-color-gray);
|
|
665
665
|
height: 40px;
|
|
666
666
|
display: flex;
|
|
667
|
+
align-items: center;
|
|
667
668
|
justify-content: space-between;
|
|
668
669
|
padding: 2px 10px;
|
|
669
670
|
position: relative;
|
|
@@ -865,6 +866,20 @@
|
|
|
865
866
|
background-clip: text;
|
|
866
867
|
}
|
|
867
868
|
|
|
869
|
+
.KIT__BaseInputUi-module__clearButton___hwyGX {
|
|
870
|
+
--size: 16px;
|
|
871
|
+
width: 16px;
|
|
872
|
+
width: var(--size);
|
|
873
|
+
height: 16px;
|
|
874
|
+
height: var(--size);
|
|
875
|
+
display: flex;
|
|
876
|
+
align-items: center;
|
|
877
|
+
justify-content: center;
|
|
878
|
+
background: rgba(49, 54, 72, 1);
|
|
879
|
+
border-radius: var(--border-circle);
|
|
880
|
+
cursor: pointer;
|
|
881
|
+
}
|
|
882
|
+
|
|
868
883
|
@keyframes KIT__BaseInputUi-module__FadeIn___kQ_6Q {
|
|
869
884
|
0% {
|
|
870
885
|
opacity: 0;
|
|
@@ -1236,24 +1251,25 @@
|
|
|
1236
1251
|
}
|
|
1237
1252
|
|
|
1238
1253
|
.KIT__PopUpHeader-module__closeButton___fwcjS {
|
|
1239
|
-
|
|
1254
|
+
--size: 24px;
|
|
1240
1255
|
width: 24px;
|
|
1256
|
+
width: var(--size);
|
|
1241
1257
|
height: 24px;
|
|
1242
|
-
|
|
1258
|
+
height: var(--size);
|
|
1243
1259
|
display: flex;
|
|
1244
1260
|
justify-content: center;
|
|
1245
1261
|
align-items: center;
|
|
1246
|
-
background-color: rgb(var(--semi-dark));
|
|
1247
1262
|
position: absolute;
|
|
1248
1263
|
top: 50%;
|
|
1249
1264
|
transform: translateY(-50%);
|
|
1265
|
+
cursor: pointer;
|
|
1250
1266
|
}
|
|
1251
1267
|
|
|
1252
1268
|
.KIT__PopUpHeader-module__closeSvg___knY5T {
|
|
1253
|
-
--size:
|
|
1254
|
-
width:
|
|
1269
|
+
--size: 14px;
|
|
1270
|
+
width: 14px;
|
|
1255
1271
|
width: var(--size);
|
|
1256
|
-
height:
|
|
1272
|
+
height: 14px;
|
|
1257
1273
|
height: var(--size);
|
|
1258
1274
|
}
|
|
1259
1275
|
|
|
@@ -1606,6 +1622,41 @@
|
|
|
1606
1622
|
}
|
|
1607
1623
|
}
|
|
1608
1624
|
|
|
1625
|
+
.KIT__Logos-module__wrapperLogo___jKLCC {
|
|
1626
|
+
--width: 100px;
|
|
1627
|
+
--height: calc(var(--height-48) - var(--indent-base-half));
|
|
1628
|
+
|
|
1629
|
+
width: 100px;
|
|
1630
|
+
|
|
1631
|
+
width: var(--width);
|
|
1632
|
+
height: var(--height);
|
|
1633
|
+
}
|
|
1634
|
+
|
|
1635
|
+
.KIT__LandingLayoutTemplate-module__wrapperLanding___DVPCk {
|
|
1636
|
+
height: 100dvh;
|
|
1637
|
+
width: 100%;
|
|
1638
|
+
display: flex;
|
|
1639
|
+
flex-direction: column;
|
|
1640
|
+
align-items: center;
|
|
1641
|
+
justify-content: space-between;
|
|
1642
|
+
padding: var(--indent-base-double);
|
|
1643
|
+
position: fixed;
|
|
1644
|
+
left: 0;
|
|
1645
|
+
top: 0;
|
|
1646
|
+
z-index: calc(var(--layout-lvl-1) + 4);
|
|
1647
|
+
}
|
|
1648
|
+
.KIT__LandingLayoutTemplate-module__wrapperLanding___DVPCk .KIT__LandingLayoutTemplate-module__content___qtSpY {
|
|
1649
|
+
width: 100%;
|
|
1650
|
+
}
|
|
1651
|
+
.KIT__LandingLayoutTemplate-module__wrapperLanding___DVPCk .KIT__LandingLayoutTemplate-module__content___qtSpY .KIT__LandingLayoutTemplate-module__textImg___fNmQl {
|
|
1652
|
+
width: 100%;
|
|
1653
|
+
}
|
|
1654
|
+
.KIT__LandingLayoutTemplate-module__wrapperLanding___DVPCk .KIT__LandingLayoutTemplate-module__content___qtSpY .KIT__LandingLayoutTemplate-module__button___qKZYV {
|
|
1655
|
+
background: var(--landing-layout-template-button-background);
|
|
1656
|
+
text-transform: uppercase;
|
|
1657
|
+
font-weight: 700;
|
|
1658
|
+
}
|
|
1659
|
+
|
|
1609
1660
|
.KIT__BannerTemplate-module__wrapperBanner___vPzec {
|
|
1610
1661
|
height: 150px;
|
|
1611
1662
|
background-size: cover;
|
|
@@ -1914,17 +1965,6 @@
|
|
|
1914
1965
|
height: 0;
|
|
1915
1966
|
}
|
|
1916
1967
|
|
|
1917
|
-
.KIT__Logos-module__wrapperLogo___jKLCC {
|
|
1918
|
-
--width: 100px;
|
|
1919
|
-
--height: calc(var(--height-48) - var(--indent-base-half));
|
|
1920
|
-
|
|
1921
|
-
width: 100px;
|
|
1922
|
-
|
|
1923
|
-
width: var(--width);
|
|
1924
|
-
height: var(--height);
|
|
1925
|
-
}
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
1968
|
.KIT__Docs-module__docContent___Yf1m5 {
|
|
1929
1969
|
width: 100%;
|
|
1930
1970
|
padding: var(--indent-base);
|