react-gldn-kit 0.0.4 → 0.0.6

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.
@@ -54,9 +54,9 @@ var BattlesCard = function (props) {
54
54
  var activeLanguage = (0, store_1.useZustandLanguagesKitStore)(selectors_1.languageSelectors.getActiveLanguageNameKitSelector);
55
55
  var path = imagePath ||
56
56
  "/image/tournaments/".concat(id, "_[").concat(activeLanguage, "]").concat(isFinished ? '_finished' : '', ".webp");
57
- return ((0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.wrapperBattlesCard, classes) }, { children: [(0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.imageWrapper }, { children: [(0, jsx_runtime_1.jsx)(HOCImageLoader_1.HOCImageLoader, __assign({ src: path.replace("[".concat(activeLanguage, "]"), activeLanguage), classes: styles.image }, { children: (0, jsx_runtime_1.jsx)("img", { src: imagePath || path.replace("[".concat(activeLanguage, "]"), 'en'), className: styles.image }) })), isInHouse && ((0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.wrapperContent }, { children: [(0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)(Logos_1.Logo, { appType: appType, isMobile: false }), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.date }, { children: [startDate, " - ", endDate] }))] }), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.prizeWrapper }, { children: [(0, jsx_runtime_1.jsx)(Text_1.Text, { idT: "tournaments.prize", specValue: '' }), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.prize }, { children: prize }))] }))] })))] })), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.textBox }, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ className: (0, classnames_1.default)(styles.providerName, (_a = {},
58
- _a[styles.full] = isInHouse,
59
- _a)) }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: battleText, specValue: providerName }) })), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.name }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: name }) })), (0, jsx_runtime_1.jsxs)("div", __assign({ onClick: handleClick, className: (0, classnames_1.default)(styles.details, (_b = {},
57
+ return ((0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.wrapperBattlesCard, classes) }, { children: [(0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.imageWrapper }, { children: [(0, jsx_runtime_1.jsx)(HOCImageLoader_1.HOCImageLoader, __assign({ src: path.replace("[".concat(activeLanguage, "]"), activeLanguage), classes: styles.image }, { children: (0, jsx_runtime_1.jsx)("img", { src: imagePath || path.replace("[".concat(activeLanguage, "]"), 'en'), className: styles.image }) })), isInHouse && ((0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.wrapperContent }, { children: [(0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)(Logos_1.Logo, { appType: appType, isMobile: false }), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.date }, { children: [startDate, " - ", endDate] }))] }), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.prizeWrapper }, { children: [(0, jsx_runtime_1.jsx)(Text_1.Text, { idT: "tournaments.prize", specValue: '' }), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.prize }, { children: prize }))] }))] })))] })), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.textBox }, { children: [(0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.providerName, (_a = {},
58
+ _a[styles.inHouseBattleName] = isInHouse,
59
+ _a)) }, { children: [(0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: providerName }) }), (0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: battleText }) })] })), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.name }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: name }) })), (0, jsx_runtime_1.jsxs)("div", __assign({ onClick: handleClick, className: (0, classnames_1.default)(styles.details, (_b = {},
60
60
  _b[styles.dark] = isFinished,
61
61
  _b)) }, { children: [(0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: detailsText }) }), (0, jsx_runtime_1.jsx)(ArrowSvg_1.ArrowSvg, { classes: styles.arrowSvg, width: "16", height: "9" })] }))] }))] })));
62
62
  };
@@ -40,14 +40,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
40
40
  var jsx_runtime_1 = require("react/jsx-runtime");
41
41
  var classnames_1 = __importDefault(require("classnames"));
42
42
  var profile_svg_1 = require("assets/profile.svg");
43
- var styles = __importStar(require("./LastBigWinner.module.css"));
44
43
  var SkeletLoader_1 = __importDefault(require("components/ui/Loaders/SkeletLoader"));
44
+ var styles = __importStar(require("./LastBigWinner.module.css"));
45
45
  var LastBigWinner = function (props) {
46
46
  var classes = props.classes, _a = props.isLoading, isLoading = _a === void 0 ? false : _a;
47
47
  if (isLoading) {
48
- return ((0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.wrapperLastBugWinner, classes) }, { children: [(0, jsx_runtime_1.jsx)(SkeletLoader_1.default, { classes: styles.img }), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.box }, { children: [(0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.header }, { children: [(0, jsx_runtime_1.jsx)(profile_svg_1.ReactComponent, {}), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.userId }, { children: (0, jsx_runtime_1.jsx)(SkeletLoader_1.default, { classes: styles.idLoader }) })), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.label }, { children: "Win In" }))] })), (0, jsx_runtime_1.jsx)(SkeletLoader_1.default, { classes: (0, classnames_1.default)(styles.title, styles.loaderTitle) }), (0, jsx_runtime_1.jsx)(SkeletLoader_1.default, { classes: (0, classnames_1.default)(styles.sum, styles.loaderSum) })] }))] })));
48
+ return ((0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.wrapperLastBugWinner, classes) }, { children: [(0, jsx_runtime_1.jsx)(SkeletLoader_1.default, { classes: styles.img }), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.box }, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ className: styles.label }, { children: "Won in" })), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.info }, { children: [(0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.header }, { children: [(0, jsx_runtime_1.jsx)(profile_svg_1.ReactComponent, { className: styles.profileSvg }), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.userId }, { children: (0, jsx_runtime_1.jsx)(SkeletLoader_1.default, { classes: styles.idLoader }) }))] })), (0, jsx_runtime_1.jsx)(SkeletLoader_1.default, { classes: (0, classnames_1.default)(styles.title, styles.loaderTitle) }), (0, jsx_runtime_1.jsx)(SkeletLoader_1.default, { classes: (0, classnames_1.default)(styles.sum, styles.loaderSum) })] }))] }))] })));
49
49
  }
50
50
  var _b = props, id = _b.id, _c = _b.gameImg, gameImg = _c === void 0 ? 'https://elondom.com/image/vertical_2/30201.webp' : _c, prize = _b.prize, gameName = _b.gameName, handleClick = _b.handleClick, gameId = _b.gameId;
51
- return ((0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.wrapperLastBugWinner, classes), onClick: handleClick(gameId) }, { children: [(0, jsx_runtime_1.jsx)("img", { src: gameImg, className: styles.img }), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.box }, { children: [(0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.header }, { children: [(0, jsx_runtime_1.jsx)(profile_svg_1.ReactComponent, {}), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.userId }, { children: ["ID ", id] })), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.label }, { children: "Win In" }))] })), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.title }, { children: gameName })), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.sum }, { children: prize }))] }))] })));
51
+ return ((0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.wrapperLastBugWinner, classes), onClick: handleClick(gameId) }, { children: [(0, jsx_runtime_1.jsx)("img", { src: gameImg, className: styles.img }), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.box }, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ className: styles.label }, { children: "Won in" })), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.info }, { children: [(0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.header }, { children: [(0, jsx_runtime_1.jsx)(profile_svg_1.ReactComponent, { className: styles.profileSvg }), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.userId }, { children: ["ID ", id] }))] })), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.title }, { children: gameName })), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.sum }, { children: prize }))] }))] }))] })));
52
52
  };
53
53
  exports.default = LastBigWinner;
@@ -33,19 +33,23 @@ var __importStar = (this && this.__importStar) || function (mod) {
33
33
  __setModuleDefault(result, mod);
34
34
  return result;
35
35
  };
36
+ var __importDefault = (this && this.__importDefault) || function (mod) {
37
+ return (mod && mod.__esModule) ? mod : { "default": mod };
38
+ };
36
39
  Object.defineProperty(exports, "__esModule", { value: true });
37
40
  exports.LandingLayoutTemplate = void 0;
38
41
  var jsx_runtime_1 = require("react/jsx-runtime");
42
+ var classnames_1 = __importDefault(require("classnames"));
39
43
  var Logos_1 = require("components/ui/Logos");
40
44
  var Buttons_1 = require("components/ui/Buttons");
41
45
  var styles = __importStar(require("./LandingLayoutTemplate.module.css"));
42
46
  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;
47
+ var backgroundImgPath = props.backgroundImgPath, textImgPath = props.textImgPath, handleClick = props.handleClick, buttonText = props.buttonText, appType = props.appType, isMobile = props.isMobile, handleLogoClick = props.handleLogoClick, buttonClasses = props.buttonClasses;
44
48
  return ((0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.wrapperLanding, style: {
45
49
  backgroundImage: "url(".concat(backgroundImgPath, ")"),
46
50
  backgroundRepeat: 'no-repeat',
47
51
  backgroundSize: 'cover',
48
52
  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 })] }))] })));
53
+ } }, { 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: (0, classnames_1.default)(styles.button, buttonClasses), centreText: true })] }))] })));
50
54
  };
51
55
  exports.LandingLayoutTemplate = LandingLayoutTemplate;
@@ -7,4 +7,5 @@ export type LandingLayoutTemplateProps = {
7
7
  appType: EAppType;
8
8
  isMobile: boolean;
9
9
  handleLogoClick: () => void;
10
+ buttonClasses?: string;
10
11
  };
@@ -14,7 +14,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
14
14
  exports.WagerSvg = void 0;
15
15
  var jsx_runtime_1 = require("react/jsx-runtime");
16
16
  var WagerSvg = function (props) {
17
- var _a = props.width, width = _a === void 0 ? '16' : _a, _b = props.height, height = _b === void 0 ? '16' : _b, _c = props.classes, classes = _c === void 0 ? '' : _c, handleClick = props.handleClick;
18
- return ((0, jsx_runtime_1.jsxs)("svg", __assign({ width: width, height: height, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: classes }, { children: [(0, jsx_runtime_1.jsx)("path", { d: "M10.3891 12.3891C9.6199 13.1583 8.63989 13.6821 7.573 13.8943C6.5061 14.1065 5.40023 13.9976 4.39524 13.5813C3.39025 13.1651 2.53127 12.4601 1.92692 11.5556C1.32257 10.6512 1 9.5878 1 8.5C1 7.4122 1.32257 6.34883 1.92692 5.44436C2.53126 4.53989 3.39025 3.83494 4.39524 3.41866C5.40023 3.00238 6.5061 2.89346 7.573 3.10568C8.63989 3.3179 9.6199 3.84172 10.3891 4.61091L6.5 8.5L10.3891 12.3891Z", fill: "#F5BB25", fillOpacity: "0.25" }), (0, jsx_runtime_1.jsx)("path", { d: "M6.19963 2C7.11856 1.9991 8.02617 2.19631 8.85651 2.5773C9.39991 2.82663 9.90129 3.15058 10.3457 3.53783C10.7421 3.88316 10.7068 4.48632 10.3291 4.85189L7.07626 8L10.3291 11.1481C10.7068 11.5137 10.7421 12.1168 10.3457 12.4622C9.90129 12.8494 9.39991 13.1734 8.85651 13.4227C8.02617 13.8037 7.11856 14.0009 6.19963 14C2.77557 14 0 11.3138 0 8C0 4.6862 2.77557 2 6.19963 2ZM6.19963 3.2C5.41719 3.20014 4.64588 3.37943 3.94874 3.72323C3.25159 4.06703 2.64838 4.56558 2.18839 5.17814C1.72841 5.79071 1.4247 6.49991 1.30208 7.2478C1.17947 7.99569 1.24143 8.76104 1.48289 9.48132C1.72436 10.2016 2.13849 10.8564 2.69143 11.3921C3.24438 11.9279 3.92046 12.3295 4.66442 12.564C5.40839 12.7985 6.19913 12.8594 6.97205 12.7416C7.74496 12.6238 8.47811 12.3307 9.11159 11.8862L9.24055 11.792L5.32238 8L9.24055 4.2074L9.11159 4.1138C8.31727 3.55501 7.36883 3.23811 6.38748 3.2036L6.19963 3.2ZM6.19963 3.8C6.44626 3.8 6.6828 3.89482 6.8572 4.06361C7.0316 4.23239 7.12957 4.46131 7.12957 4.7C7.12957 4.9387 7.0316 5.16761 6.8572 5.3364C6.6828 5.50518 6.44626 5.6 6.19963 5.6C5.95299 5.6 5.71646 5.50518 5.54206 5.3364C5.36766 5.16761 5.26968 4.9387 5.26968 4.7C5.26968 4.46131 5.36766 4.23239 5.54206 4.06361C5.71646 3.89482 5.95299 3.8 6.19963 3.8Z", fill: "#F5BB25" }), (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11 6.33333C11 5.8731 11.4029 5.5 11.9 5.5C12.1305 5.5 12.3408 5.58024 12.5 5.71219C12.6592 5.58024 12.8695 5.5 13.1 5.5C13.5971 5.5 14 5.8731 14 6.33333C14 6.79357 13.5971 7.16667 13.1 7.16667H12.8V11H12.2V7.16667H11.9C11.4029 7.16667 11 6.79357 11 6.33333ZM12.2 6.61111H11.9C11.7343 6.61111 11.6 6.48675 11.6 6.33333C11.6 6.17992 11.7343 6.05556 11.9 6.05556C12.0657 6.05556 12.2 6.17992 12.2 6.33333V6.61111ZM12.8 6.61111H13.1C13.2657 6.61111 13.4 6.48675 13.4 6.33333C13.4 6.17992 13.2657 6.05556 13.1 6.05556C12.9343 6.05556 12.8 6.17992 12.8 6.33333V6.61111Z", fill: "#F5BB25" }), (0, jsx_runtime_1.jsx)("path", { d: "M9.5 7.65642C9.5 7.27771 9.79848 6.9707 10.1667 6.9707H14.8333C15.2015 6.9707 15.5 7.27771 15.5 7.65642V7.99927C15.5 8.37798 15.2015 8.68499 14.8333 8.68499H10.1667C9.79848 8.68499 9.5 8.37798 9.5 7.99927V7.65642Z", fill: "#F5BB25" }), (0, jsx_runtime_1.jsx)("path", { d: "M10 8.33333C10 8.14924 10.1399 8 10.3125 8H14.6875C14.8601 8 15 8.14924 15 8.33333V10C15 10.5523 14.5803 11 14.0625 11H10.9375C10.4197 11 10 10.5523 10 10V8.33333Z", fill: "#F5BB25", fillOpacity: "0.25" })] })));
17
+ var _a = props.width, width = _a === void 0 ? '24' : _a, _b = props.height, height = _b === void 0 ? '24' : _b, _c = props.classes, classes = _c === void 0 ? '' : _c, handleClick = props.handleClick;
18
+ return ((0, jsx_runtime_1.jsx)("svg", __assign({ width: width, height: height, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: classes }, { children: (0, jsx_runtime_1.jsx)("path", { d: "M14.4354 17.2971C12.165 18.6683 9.6678 20.5016 7.40259 21.7251C5.97363 22.4968 4.31499 21.5661 4.07639 19.9025C3.94563 18.9916 4.02241 17.8352 4.0223 16.8957V6.52822C4.02155 4.69884 3.72745 2.39707 6.12321 2.00475C7.40582 1.93509 8.12056 2.64459 9.20306 3.29014L18.2981 8.72624C19.1296 9.20354 20.1177 9.54542 20.6192 10.4624C22.0287 13.039 19.1884 14.3441 17.5794 15.3376L14.4354 17.2971Z", fill: "rgb(var(--primary))" }) })));
19
19
  };
20
20
  exports.WagerSvg = WagerSvg;
@@ -65,7 +65,7 @@ var BaseInputUi = function (props) {
65
65
  _a[styles.borderColorfulRed] = errorText,
66
66
  _a)) }, { children: [startIcon, (0, jsx_runtime_1.jsx)("input", { onFocus: handleFocus, onBlur: handleBlur, inputMode: inputMode, className: (0, classnames_1.default)(styles.input, (_b = {},
67
67
  _b[styles.disabled] = disabled,
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 = {},
68
+ _b)), value: value, type: type, placeholder: placeholder, onChange: handleChange }), value && withClearValue && !errorText && ((0, jsx_runtime_1.jsx)("div", __assign({ className: (0, classnames_1.default)(styles.searchButton, styles.clearButton), onClick: handleClearInputValue }, { children: (0, jsx_runtime_1.jsx)(CrossSvg_1.CrossSvg, { classes: styles.crossSvg }) }))), value && withClearValue && errorText && ((0, jsx_runtime_1.jsx)("div", __assign({ className: styles.searchButton }, { 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 = {},
69
69
  _c[styles.labelRight] = startIcon,
70
70
  _c[styles.hideLabel] = isHidePlaceholder,
71
71
  _c[styles.labelUp] = inputLabelType === 'labelUp',
package/dist/main.css CHANGED
@@ -866,7 +866,7 @@
866
866
  background-clip: text;
867
867
  }
868
868
 
869
- .KIT__BaseInputUi-module__clearButton___hwyGX {
869
+ .KIT__BaseInputUi-module__searchButton___Fj_pM {
870
870
  --size: 16px;
871
871
  width: 16px;
872
872
  width: var(--size);
@@ -875,11 +875,18 @@
875
875
  display: flex;
876
876
  align-items: center;
877
877
  justify-content: center;
878
- background: rgba(49, 54, 72, 1);
879
- border-radius: var(--border-circle);
880
878
  cursor: pointer;
881
879
  }
882
880
 
881
+ .KIT__BaseInputUi-module__searchButton___Fj_pM.KIT__BaseInputUi-module__clearButton___hwyGX {
882
+ background: var(--base-input-clear-button-background);
883
+ border-radius: var(--border-circle);
884
+ }
885
+
886
+ .KIT__BaseInputUi-module__searchButton___Fj_pM.KIT__BaseInputUi-module__clearButton___hwyGX .KIT__BaseInputUi-module__crossSvg___y_O7R path {
887
+ fill: var(--base-input-clear-button-svg-path);
888
+ }
889
+
883
890
  @keyframes KIT__BaseInputUi-module__FadeIn___kQ_6Q {
884
891
  0% {
885
892
  opacity: 0;
@@ -1985,7 +1992,7 @@
1985
1992
  border: 2px solid var(--border-color-gray);
1986
1993
  border-radius: var(--border-s);
1987
1994
  padding: var(--indent-xl) var(--indent-xxxl);
1988
- color: rgb(var(--white));
1995
+ color: var(--docs-accordion-wrapper-color);
1989
1996
  }
1990
1997
 
1991
1998
  .KIT__Accordion-module__paddingB___Iw85_ {
@@ -2466,6 +2473,7 @@
2466
2473
  background-color: var(--pagination-step-button-background);
2467
2474
  height: 100%;
2468
2475
  border-radius: var(--border-12);
2476
+ border: var(--pagination-button-border);
2469
2477
  max-width: var(--button-xxl);
2470
2478
  }
2471
2479
 
@@ -3009,19 +3017,39 @@
3009
3017
  font-size: var(--font-size-xl);
3010
3018
  }
3011
3019
 
3020
+ .KIT__SkeletLoader-module__wrapperSkeletLoader___oGTH8 {
3021
+ height: 100%;
3022
+ background: var(--skelet-loader-wrapper-background-color);
3023
+ }
3024
+
3025
+ .KIT__SkeletLoader-module__loader___UcLim {
3026
+ height: 100%;
3027
+ width: 300%;
3028
+ background: var(--skelet-loader-background-color);
3029
+ border-radius: 5px;
3030
+ background-size: 200% 100%;
3031
+ animation: 1.5s KIT__SkeletLoader-module__shine___c90e1 linear infinite;
3032
+ }
3033
+
3034
+ @keyframes KIT__SkeletLoader-module__shine___c90e1 {
3035
+ to {
3036
+ background-position-x: -200%;
3037
+ }
3038
+ }
3039
+
3012
3040
  .KIT__LastBigWinner-module__wrapperLastBugWinner___xWv0v {
3013
3041
  --card-text-color: var(--big-win-card-text-color);
3014
3042
  --card-img-width: var(--big-win-card-img-width);
3015
3043
  --card-background: var(--big-win-card-background);
3016
- --card-label-background: var(--big-win-card-label-background);
3017
3044
 
3018
- --winner-card-size:var(--big-win-winner-card-size);
3019
- --winner-card-height:var(--big-win-winner-card-height);
3045
+ --winner-card-size: var(--big-win-winner-card-size);
3046
+ --winner-card-height: var(--big-win-winner-card-height);
3020
3047
 
3021
3048
  display: flex;
3049
+ gap: var(--indent-s);
3022
3050
 
3023
3051
  width: var(--winner-card-size);
3024
- border-radius: var(--border-l);
3052
+ border-radius: var(--border-s);
3025
3053
  background: var(--card-background);
3026
3054
  padding: var(--indent-base);
3027
3055
 
@@ -3038,44 +3066,55 @@
3038
3066
  }
3039
3067
 
3040
3068
  .KIT__LastBigWinner-module__box___WNB7m {
3041
- margin-left: var(--indent-base-half);
3042
3069
  font-weight: 600;
3043
3070
  width: 100%;
3071
+ display: flex;
3072
+ flex-direction: column;
3073
+ gap: var(--indent-m);
3044
3074
  }
3045
3075
 
3046
3076
  .KIT__LastBigWinner-module__box___WNB7m .KIT__LastBigWinner-module__header___DLYUP {
3047
3077
  display: flex;
3048
3078
  align-items: center;
3049
- margin-bottom: var(--indent-base);
3050
3079
  font-weight: 300;
3051
3080
  font-size: var(--font-size-s);
3052
3081
  }
3053
3082
 
3054
3083
  .KIT__LastBigWinner-module__box___WNB7m .KIT__LastBigWinner-module__header___DLYUP .KIT__LastBigWinner-module__userId___ZrRQn {
3055
- margin-left: var(--indent-base-half);
3056
3084
  display: flex;
3057
3085
  align-items: center;
3058
3086
  }
3059
3087
 
3060
3088
  .KIT__LastBigWinner-module__box___WNB7m .KIT__LastBigWinner-module__header___DLYUP .KIT__LastBigWinner-module__userId___ZrRQn .KIT__LastBigWinner-module__idLoader___PcBPs {
3061
- margin-left: var(--indent-base-half);
3062
3089
  width: 40px;
3063
3090
  height: 16px;
3064
3091
  overflow: hidden;
3065
3092
  border-radius: var(--border-l);
3066
3093
  }
3067
3094
 
3068
- .KIT__LastBigWinner-module__box___WNB7m .KIT__LastBigWinner-module__header___DLYUP .KIT__LastBigWinner-module__label___VPDnP {
3069
- /* TODO: move to var */
3070
- background: var(--bit-win-card-label-background);
3071
- margin-left: var(--indent-base);
3072
- padding: 0 var(--indent-base-half);
3073
- border-radius: var(--border-xs);
3095
+ .KIT__LastBigWinner-module__box___WNB7m .KIT__LastBigWinner-module__header___DLYUP .KIT__LastBigWinner-module__profileSvg___qEw91 path {
3096
+ fill: var(--big-win-profile-icon-fill);
3074
3097
  }
3075
3098
 
3099
+ .KIT__LastBigWinner-module__box___WNB7m .KIT__LastBigWinner-module__label___VPDnP {
3100
+ background: var(--big-win-card-label-background);
3101
+ padding: 0 var(--indent-base-half);
3102
+ border-radius: var(--border-xs);
3103
+ width: -moz-fit-content;
3104
+ width: fit-content;
3105
+ font-size: var(--font-size-xs);
3106
+ }
3107
+
3108
+ .KIT__LastBigWinner-module__box___WNB7m .KIT__LastBigWinner-module__info___TvOCh {
3109
+ display: flex;
3110
+ flex-direction: column;
3111
+ gap: var(--indent-xs);
3112
+ }
3113
+
3076
3114
  .KIT__LastBigWinner-module__box___WNB7m .KIT__LastBigWinner-module__title___Es6Eu {
3077
- margin-bottom: var(--indent-base-half);
3078
- font-size: var(--font-size-xl);
3115
+ font-size: var(--font-size-s);
3116
+ line-height: var(--font-size-s);
3117
+ font-weight: 600;
3079
3118
  width: calc(
3080
3119
  var(--winner-card-size) -
3081
3120
  (var(--card-img-width) + var(--indent-base-double))
@@ -3092,8 +3131,8 @@
3092
3131
  }
3093
3132
 
3094
3133
  .KIT__LastBigWinner-module__box___WNB7m .KIT__LastBigWinner-module__sum___ZpyFL {
3095
- /* font-weight: 900; */
3096
- font-size: var(--font-size-l);
3134
+ font-weight: 700;
3135
+ font-size: var(--font-size-m);
3097
3136
  color: rgb(var(--primary));
3098
3137
  }
3099
3138
 
@@ -3102,26 +3141,6 @@
3102
3141
  height: 15px;
3103
3142
  }
3104
3143
 
3105
- .KIT__SkeletLoader-module__wrapperSkeletLoader___oGTH8 {
3106
- height: 100%;
3107
- background: var(--skelet-loader-wrapper-background-color);
3108
- }
3109
-
3110
- .KIT__SkeletLoader-module__loader___UcLim {
3111
- height: 100%;
3112
- width: 300%;
3113
- background: var(--skelet-loader-background-color);
3114
- border-radius: 5px;
3115
- background-size: 200% 100%;
3116
- animation: 1.5s KIT__SkeletLoader-module__shine___c90e1 linear infinite;
3117
- }
3118
-
3119
- @keyframes KIT__SkeletLoader-module__shine___c90e1 {
3120
- to {
3121
- background-position-x: -200%;
3122
- }
3123
- }
3124
-
3125
3144
  .KIT__LastBigWinners-module__wrapperBoxLoader___vM6yl {
3126
3145
  height: var(--last-big-winner-card-height);
3127
3146
  width: 100%;
@@ -3142,6 +3161,7 @@
3142
3161
  .KIT__LastBigWinners-module__marginLeft___AifFu {
3143
3162
  margin-left: var(--indent-base-half);
3144
3163
  }
3164
+
3145
3165
  .KIT__Digit-module__digit___zpm_m {
3146
3166
  margin-left: calc(var(--indent-base) / 3);
3147
3167
  height: 100%;
@@ -3405,20 +3425,24 @@
3405
3425
  border: var(--battles-provider-name-border);
3406
3426
  border-radius: var(--border-m);
3407
3427
  padding: var(--indent-xs) var(--indent-m);
3408
- color: rgb(var(--white));
3428
+ color: var(--battles-battle-provider-name);
3409
3429
  text-align: center;
3410
3430
  width: -moz-fit-content;
3411
3431
  width: fit-content;
3412
3432
  font-size: var(--font-size-xxs);
3413
3433
  text-transform: uppercase;
3434
+ font-weight: 600;
3435
+ display: flex;
3436
+ gap: var(--indent-xs);
3414
3437
  }
3415
- .KIT__BattlesCard-module__wrapperBattlesCard___Lj8jQ .KIT__BattlesCard-module__textBox___r4AK3 .KIT__BattlesCard-module__providerName___hP5is.KIT__BattlesCard-module__full___jmdya {
3438
+ .KIT__BattlesCard-module__wrapperBattlesCard___Lj8jQ .KIT__BattlesCard-module__textBox___r4AK3 .KIT__BattlesCard-module__providerName___hP5is.KIT__BattlesCard-module__inHouseBattleName___XoD7E {
3416
3439
  background: var(--battles-provider-name-background);
3440
+ color: var(--battles-battle-in-house-name);
3417
3441
  }
3418
3442
  .KIT__BattlesCard-module__wrapperBattlesCard___Lj8jQ .KIT__BattlesCard-module__textBox___r4AK3 .KIT__BattlesCard-module__name___DJXDf {
3419
- color: rgb(var(--white));
3443
+ color: var(--battles-battle-name);
3420
3444
  /*вынести в colors*/
3421
- font-size: var(--font-size-l);
3445
+ font-size: var(--font-size-xl);
3422
3446
  font-weight: 600;
3423
3447
  }
3424
3448
  .KIT__BattlesCard-module__wrapperBattlesCard___Lj8jQ .KIT__BattlesCard-module__textBox___r4AK3 .KIT__BattlesCard-module__details___Yh7o_ {
@@ -3461,7 +3485,7 @@
3461
3485
  }
3462
3486
  .KIT__Step-module__wrapperStep___wBtLk .KIT__Step-module__subTitle___LnyqY {
3463
3487
  font-size: var(--font-size-m);
3464
- color: rgb(var(--white));
3488
+ color: var(--step-subtitle-color);
3465
3489
  }
3466
3490
  @media screen and (min-width: 768px) {
3467
3491
  .KIT__Step-module__wrapperStep___wBtLk .KIT__Step-module__subTitle___LnyqY {
@@ -3818,7 +3842,7 @@
3818
3842
  }
3819
3843
  .KIT__Leaderboard-module__wrapperLeaderboard___a7Igz .KIT__Leaderboard-module__title___agvnq {
3820
3844
  font-weight: 700;
3821
- color: rgb(var(--white));
3845
+ color: var(--leaderboard-title-color);
3822
3846
  text-transform: uppercase;
3823
3847
  font-size: var(--font-size-xl);
3824
3848
  }
@@ -3837,7 +3861,7 @@
3837
3861
  align-items: center;
3838
3862
  justify-content: space-between;
3839
3863
  text-transform: uppercase;
3840
- color: rgba(var(--white), 0.5);
3864
+ color: var(--leaderboard-header-color);
3841
3865
  font-size: var(--font-size-xxs);
3842
3866
  padding: 0 var(--indent-l);
3843
3867
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-gldn-kit",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "keywords": [],