react-gldn-kit 0.1.70 → 0.1.72

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.
@@ -79,6 +79,7 @@ var PhoneSignUp = function (props) {
79
79
  var _g = (0, react_1.useState)(isSelected), terms = _g[0], setTermsState = _g[1];
80
80
  var isPhoneError = Boolean(!phone);
81
81
  var _h = (0, react_1.useState)(''), promoCode = _h[0], setPromoCode = _h[1];
82
+ var countryId = activeCountryId || (countryInfo === null || countryInfo === void 0 ? void 0 : countryInfo.countryId);
82
83
  var isDisabledSubmitButton = (0, react_1.useMemo)(function () {
83
84
  return Boolean(isPhoneError ||
84
85
  !password.value ||
@@ -86,7 +87,7 @@ var PhoneSignUp = function (props) {
86
87
  code.errorText ||
87
88
  !code.value ||
88
89
  !isRequestedCode ||
89
- !activeCountryId ||
90
+ !countryId ||
90
91
  !activeCurrencyId ||
91
92
  !terms ||
92
93
  !isConnectedApp);
@@ -95,7 +96,7 @@ var PhoneSignUp = function (props) {
95
96
  password,
96
97
  code,
97
98
  isRequestedCode,
98
- activeCountryId,
99
+ countryId,
99
100
  activeCurrencyId,
100
101
  terms,
101
102
  isConnectedApp,
@@ -112,12 +113,12 @@ var PhoneSignUp = function (props) {
112
113
  }
113
114
  }; };
114
115
  var handleSubmitForm = function () {
115
- if (!activeCountryId || !activeCurrencyId) {
116
+ if (!countryId || !activeCurrencyId) {
116
117
  return;
117
118
  }
118
119
  var sendData = __assign(__assign({}, (0, utils_1.getRegistrationData)({
119
120
  currencyId: activeCurrencyId,
120
- countryId: activeCountryId,
121
+ countryId: countryId,
121
122
  registrationType: withoutCode
122
123
  ? types_1.RegistrationSubType.PhoneWithoutCode
123
124
  : types_1.RegistrationSubType.Phone,
@@ -70,7 +70,7 @@ var SignUp = function (props) {
70
70
  var setActiveForm = (0, store_2.useZustandRegistrationKitStore)(selectors_2.zustandRegistrationKitSelector.setActiveRegistrationFormAction);
71
71
  var setModal = (0, store_1.useZustandModalKitStore)(selectors_1.zustandModalKitSelector.closeAndOpenModalAction);
72
72
  var data = (0, store_1.useZustandModalKitStore)(selectors_1.zustandModalKitSelector.getModalAdditionalInfoSelector) || {};
73
- var _c = data.bonusSignUp, bonusSignUp = _c === void 0 ? false : _c, _d = data.bonusText, modalBonusText = _d === void 0 ? '' : _d, _e = data.bonusSubText, modalBonusSubText = _e === void 0 ? '' : _e, _f = data.withCongratulationText, modalWithCongratulationText = _f === void 0 ? withCongratulationText : _f, _g = data.flow, flow = _g === void 0 ? (registrationSettings === null || registrationSettings === void 0 ? void 0 : registrationSettings.flow) || types_2.ERegistrationFlow.Socket : _g, _h = data.buttonText, buttonSignUpText = _h === void 0 ? '' : _h;
73
+ var _c = data.bonusSignUp, bonusSignUp = _c === void 0 ? (registrationSettings === null || registrationSettings === void 0 ? void 0 : registrationSettings.bonusSignUp) || false : _c, _d = data.bonusText, modalBonusText = _d === void 0 ? (registrationSettings === null || registrationSettings === void 0 ? void 0 : registrationSettings.bonusText) || '' : _d, _e = data.bonusSubText, modalBonusSubText = _e === void 0 ? (registrationSettings === null || registrationSettings === void 0 ? void 0 : registrationSettings.bonusSubText) || '' : _e, _f = data.withCongratulationText, modalWithCongratulationText = _f === void 0 ? withCongratulationText : _f, _g = data.flow, flow = _g === void 0 ? (registrationSettings === null || registrationSettings === void 0 ? void 0 : registrationSettings.flow) || types_2.ERegistrationFlow.Socket : _g, _h = data.buttonText, buttonSignUpText = _h === void 0 ? '' : _h;
74
74
  var isCongratulation = modalWithCongratulationText;
75
75
  var customBonusText = bonusText || modalBonusText;
76
76
  var customBonusSubText = bonusSubText || modalBonusSubText;
@@ -86,11 +86,11 @@ var SignUp = function (props) {
86
86
  setActiveForm(tabs[0].value);
87
87
  }
88
88
  }, [activeForm, tabs]);
89
- return ((0, jsx_runtime_1.jsx)("div", __assign({ className: (0, classnames_1.default)(styles.wrapperReferralFailure, classes) }, { children: (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.wrapperSignUpModal }, { children: [bonusSignUp ||
90
- (customBonusText && ((0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.bonusText }, { children: [isCongratulation && ((0, jsx_runtime_1.jsx)("div", __assign({ className: styles.textTitle }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: "wheelTwo.secondPopUp.title" }) }))), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.subText }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: customBonusSubText
91
- ? customBonusSubText
92
- : 'wheelTwo.secondPopUp.subTitle' }) })), (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: customBonusText
93
- ? customBonusText
94
- : 'wheelTwo.secondPopUp.bonus' })] })))), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.wrapperTabsAndForm }, { children: [activeForm !== null && tabs.length !== 1 && ((0, jsx_runtime_1.jsx)(Tabs_1.Tabs, { activeValue: activeForm, data: tabs, onChange: setActiveForm, classes: styles.tabs, type: "underline" })), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.zIndex }, { children: [activeForm === types_2.ERegistrationForm.Email && ((0, jsx_runtime_1.jsx)(EmailSignUp_1.EmailSignUp, { isSelected: true, countryInfo: countryInfo, handleRegistration: sendRegistrationCommand(flow), availableCurrencies: availableCurrencies || [], buttonText: customSignUpButtonText })), activeForm === types_2.ERegistrationForm.Phone && ((0, jsx_runtime_1.jsx)(PhoneSignUp_1.PhoneSignUp, { isSelected: true, requestCode: handleRegistrationCode, handleRegistration: sendRegistrationCommand(flow), countryInfo: countryInfo, availableCurrencies: availableCurrencies || [], buttonText: customSignUpButtonText })), activeForm === types_2.ERegistrationForm.PhoneWithoutCode && ((0, jsx_runtime_1.jsx)(PhoneSignUp_1.PhoneSignUp, { withoutCode: true, isSelected: true, requestCode: handleRegistrationCode, handleRegistration: sendRegistrationCommand(flow), countryInfo: countryInfo, availableCurrencies: availableCurrencies || [], buttonText: customSignUpButtonText })), activeForm === types_2.ERegistrationForm.OneClick && ((0, jsx_runtime_1.jsx)(OneClickKit_1.default, { isSelected: true, handleRegistration: sendRegistrationCommand(flow), countryInfo: countryInfo, availableCurrencies: availableCurrencies || [] }))] }))] })), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.authButtonText, onClick: openSignIn }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: "registration.logInButton" }) }))] })) })));
89
+ return ((0, jsx_runtime_1.jsx)("div", __assign({ className: (0, classnames_1.default)(styles.wrapperReferralFailure, classes) }, { children: (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.wrapperSignUpModal }, { children: [(bonusSignUp ||
90
+ customBonusText) && ((0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.bonusText }, { children: [isCongratulation && ((0, jsx_runtime_1.jsx)("div", __assign({ className: styles.textTitle }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: "wheelTwo.secondPopUp.title" }) }))), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.subText }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: customBonusSubText
91
+ ? customBonusSubText
92
+ : 'wheelTwo.secondPopUp.subTitle' }) })), (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: customBonusText
93
+ ? customBonusText
94
+ : 'wheelTwo.secondPopUp.bonus' })] }))), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.wrapperTabsAndForm }, { children: [activeForm !== null && tabs.length !== 1 && ((0, jsx_runtime_1.jsx)(Tabs_1.Tabs, { activeValue: activeForm, data: tabs, onChange: setActiveForm, classes: styles.tabs, type: "underline" })), (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.zIndex }, { children: [activeForm === types_2.ERegistrationForm.Email && ((0, jsx_runtime_1.jsx)(EmailSignUp_1.EmailSignUp, { isSelected: true, countryInfo: countryInfo, handleRegistration: sendRegistrationCommand(flow), availableCurrencies: availableCurrencies || [], buttonText: customSignUpButtonText })), activeForm === types_2.ERegistrationForm.Phone && ((0, jsx_runtime_1.jsx)(PhoneSignUp_1.PhoneSignUp, { isSelected: true, requestCode: handleRegistrationCode, handleRegistration: sendRegistrationCommand(flow), countryInfo: countryInfo, availableCurrencies: availableCurrencies || [], buttonText: customSignUpButtonText })), activeForm === types_2.ERegistrationForm.PhoneWithoutCode && ((0, jsx_runtime_1.jsx)(PhoneSignUp_1.PhoneSignUp, { withoutCode: true, isSelected: true, requestCode: handleRegistrationCode, handleRegistration: sendRegistrationCommand(flow), countryInfo: countryInfo, availableCurrencies: availableCurrencies || [], buttonText: customSignUpButtonText })), activeForm === types_2.ERegistrationForm.OneClick && ((0, jsx_runtime_1.jsx)(OneClickKit_1.default, { isSelected: true, handleRegistration: sendRegistrationCommand(flow), countryInfo: countryInfo, availableCurrencies: availableCurrencies || [] }))] }))] })), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.authButtonText, onClick: openSignIn }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: "registration.logInButton" }) }))] })) })));
95
95
  };
96
96
  exports.SignUp = SignUp;
@@ -6,6 +6,9 @@ export type SignUpProps = {
6
6
  withCongratulationText?: boolean;
7
7
  registrationSettings?: {
8
8
  flow?: ERegistrationFlow;
9
+ bonusText?: string;
10
+ bonusSubText?: string;
11
+ bonusSignUp?: boolean;
9
12
  };
10
13
  buttonText?: string;
11
14
  };
@@ -45,16 +45,16 @@ var Text_1 = require("components/Text");
45
45
  var Image_1 = require("components/ui/Image");
46
46
  var styles = __importStar(require("./Wheel.module.css"));
47
47
  var Wheel = function (props) {
48
- var _a;
49
- var borderWheelPath = props.borderWheelPath, wheelContentPath = props.wheelContentPath, wheelButtonPath = props.wheelButtonPath, wheelButtonHoverPath = props.wheelButtonHoverPath, slotNamePath = props.slotNamePath, pointerPath = props.pointerPath, callbackSpinStart = props.callbackSpinStart, callbackSpinEnd = props.callbackSpinEnd, btnText = props.btnText, list = props.list, audioPath = props.audioPath, _b = props.customTime, customTime = _b === void 0 ? 6000 : _b, wheelTextColor = props.wheelTextColor, classesWheel = props.classesWheel, classesPointer = props.classesPointer, classesBorder = props.classesBorder, classesButton = props.classesButton, classesSlotName = props.classesSlotName, customSpinningAnimation = props.customSpinningAnimation, spinsAmount = props.spinsAmount;
48
+ var _a, _b;
49
+ var borderWheelPath = props.borderWheelPath, wheelContentPath = props.wheelContentPath, wheelButtonPath = props.wheelButtonPath, wheelButtonHoverPath = props.wheelButtonHoverPath, slotNamePath = props.slotNamePath, pointerPath = props.pointerPath, callbackSpinStart = props.callbackSpinStart, callbackSpinEnd = props.callbackSpinEnd, btnText = props.btnText, list = props.list, audioPath = props.audioPath, _c = props.customTime, customTime = _c === void 0 ? 6000 : _c, wheelTextColor = props.wheelTextColor, classesWheel = props.classesWheel, classesPointer = props.classesPointer, classesBorder = props.classesBorder, classesButton = props.classesButton, classesSlotName = props.classesSlotName, customSpinningAnimation = props.customSpinningAnimation, spinsAmount = props.spinsAmount, wheelButtonPressedPath = props.wheelButtonPressedPath;
50
50
  var audio = new Audio(audioPath);
51
51
  var contentRef = (0, react_1.useRef)(null);
52
- var _c = (0, react_1.useState)(0), height = _c[0], setHeight = _c[1];
53
- var _d = (0, react_1.useState)(false), isSpin = _d[0], setSpinState = _d[1];
54
- var _e = (0, react_1.useState)(false), isAnimateBorderBg = _e[0], setAnimateBorderBgStatus = _e[1];
52
+ var _d = (0, react_1.useState)(0), height = _d[0], setHeight = _d[1];
53
+ var _e = (0, react_1.useState)(false), isSpin = _e[0], setSpinState = _e[1];
54
+ var _f = (0, react_1.useState)(false), isAnimateBorderBg = _f[0], setAnimateBorderBgStatus = _f[1];
55
55
  var timer = (0, react_1.useRef)(null);
56
- var _f = (0, react_1.useState)(0), activeBorder = _f[0], setActiveBorder = _f[1];
57
- var _g = (0, react_1.useState)(1), spins = _g[0], setSpins = _g[1];
56
+ var _g = (0, react_1.useState)(0), activeBorder = _g[0], setActiveBorder = _g[1];
57
+ var _h = (0, react_1.useState)(1), spins = _h[0], setSpins = _h[1];
58
58
  var handleSpin = function () {
59
59
  var _a;
60
60
  if (isSpin || spins > spinsAmount) {
@@ -132,6 +132,8 @@ var Wheel = function (props) {
132
132
  animationDuration: "".concat(customTime, "ms"),
133
133
  } }, { children: [(0, jsx_runtime_1.jsx)(Image_1.Image, { path: wheelContentPath, classes: styles.wheelContentImg }), (0, jsx_runtime_1.jsx)("div", __assign({ className: (0, classnames_1.default)(styles.list, wheelTextColor, 'KIT_Wheel_wrapper_content_disk_list') }, { children: list.map(function (l, inx) { return ((0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.item, 'KIT_Wheel_wrapper_content_disk_list_item', inx % 2 && 'KIT_Wheel_wrapper_content_disk_odd_list_item'), style: {
134
134
  transform: "translate(-50%, -50%) rotate(".concat((360 / list.length) * inx, "deg)"),
135
- } }, { children: [l.bold && ((0, jsx_runtime_1.jsx)("div", __assign({ className: (0, classnames_1.default)(styles.textBold, 'KIT_Wheel_wrapper_content_disk_list_item_text_bold') }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: l.bold }) }))), l.regular && ((0, jsx_runtime_1.jsx)("div", __assign({ className: styles.textRegular }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: l.regular }) })))] }), inx)); }) }))] })), (0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.spinBtn, classesButton, 'KIT_Wheel_wrapper_content_button'), onClick: handleSpin }, { children: [(0, jsx_runtime_1.jsx)("span", __assign({ className: (0, classnames_1.default)(styles.bntText, 'KIT_Wheel_wrapper_button_btnText') }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: btnText }) })), (0, jsx_runtime_1.jsx)(Image_1.Image, { path: isSpin ? wheelButtonHoverPath : wheelButtonPath, classes: styles.btnImg })] })), (0, jsx_runtime_1.jsx)(Image_1.Image, { path: slotNamePath, classes: (0, classnames_1.default)(styles.slotName, classesSlotName, 'KIT_Wheel_wrapper_content_slotName') })] }))] })));
135
+ } }, { children: [l.bold && ((0, jsx_runtime_1.jsx)("div", __assign({ className: (0, classnames_1.default)(styles.textBold, 'KIT_Wheel_wrapper_content_disk_list_item_text_bold') }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: l.bold }) }))), l.regular && ((0, jsx_runtime_1.jsx)("div", __assign({ className: styles.textRegular }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: l.regular }) })))] }), inx)); }) }))] })), (0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.spinBtn, (_b = {},
136
+ _b[styles.spinningState] = isSpin,
137
+ _b), classesButton, 'KIT_Wheel_wrapper_content_button'), onClick: handleSpin }, { children: [(0, jsx_runtime_1.jsx)("span", __assign({ className: (0, classnames_1.default)(styles.bntText, 'KIT_Wheel_wrapper_button_btnText') }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: btnText }) })), (0, jsx_runtime_1.jsx)(Image_1.Image, { path: wheelButtonPath, classes: (0, classnames_1.default)(styles.buttonImage, styles.defaultState) }), (0, jsx_runtime_1.jsx)(Image_1.Image, { path: wheelButtonHoverPath || wheelButtonPath, classes: (0, classnames_1.default)(styles.buttonImage, styles.hoverState) }), (0, jsx_runtime_1.jsx)(Image_1.Image, { path: wheelButtonPressedPath || wheelButtonPath, classes: (0, classnames_1.default)(styles.buttonImage, styles.pressedState) })] })), (0, jsx_runtime_1.jsx)(Image_1.Image, { path: slotNamePath, classes: (0, classnames_1.default)(styles.slotName, classesSlotName, 'KIT_Wheel_wrapper_content_slotName') })] }))] })));
136
138
  };
137
139
  exports.Wheel = Wheel;
@@ -2,7 +2,8 @@ export type WheelProps = {
2
2
  borderWheelPath: [string] | [string, string];
3
3
  wheelContentPath: string;
4
4
  wheelButtonPath: string;
5
- wheelButtonHoverPath: string;
5
+ wheelButtonHoverPath?: string;
6
+ wheelButtonPressedPath?: string;
6
7
  pointerPath: string;
7
8
  slotNamePath: string;
8
9
  btnText: string;
@@ -49,6 +49,12 @@ var PhoneView = function (props) {
49
49
  var phone = props.phone, Flag = props.Flag, children = props.children, toggleValue = props.toggleValue, isOpened = props.isOpened, _d = props.mask, mask = _d === void 0 ? '' : _d, code = props.code, handleSetValue = props.handleSetValue, classes = props.classes, name = props.name, receivedErrorText = props.errorText;
50
50
  var value = phone.value, errorText = phone.errorText;
51
51
  var preparedMask = "".concat((0, validation_1.replaceCodeToMask)(code), " ").concat(mask) || '';
52
+ var highlightXs = function (text) {
53
+ var parts = text.split(/(X+)/);
54
+ return parts.map(function (part, index) {
55
+ return part.startsWith('X') ? ((0, jsx_runtime_1.jsx)("span", __assign({ className: styles.highlightX }, { children: part }), index)) : (part);
56
+ });
57
+ };
52
58
  return ((0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.row, (_a = {},
53
59
  _a[styles.opened] = isOpened,
54
60
  _a[styles.borderColorfulRed] = receivedErrorText || errorText,
@@ -57,6 +63,6 @@ var PhoneView = function (props) {
57
63
  _b[styles.column] = toggleValue,
58
64
  _b)) }, { children: (0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.code, onClick: toggleValue !== null && toggleValue !== void 0 ? toggleValue : undefined }, { children: [(0, jsx_runtime_1.jsx)(Flag, {}), toggleValue && ((0, jsx_runtime_1.jsx)("div", __assign({ className: styles.arrow }, { children: (0, jsx_runtime_1.jsx)(ArrowButton_1.ArrowButton, {}) })))] })) })), name && (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.name }, { children: name })), (0, jsx_runtime_1.jsx)(BaseInputUi_1.BaseInputUi, __assign({ size: "full", placeholder: "", value: value, baseValue: code, defaultValue: code, handleChange: handleSetValue, patternFn: (0, validation_1.replaceValueByMask)(mask), classes: (0, classnames_1.default)(styles.input), inputClasses: (0, classnames_1.default)((_c = {},
59
65
  _c[styles.inputText] = code !== '+',
60
- _c)), inputWrapperClasses: styles.inputWrapper, classesChildrenWrapper: styles.placeholder }, { children: (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.value }, { children: (0, validation_1.replaceValueByMaskReturnMask)(preparedMask)(value) })) }))] }))] })));
66
+ _c)), inputWrapperClasses: styles.inputWrapper, classesChildrenWrapper: styles.placeholder }, { children: (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.value }, { children: highlightXs((0, validation_1.replaceValueByMaskReturnMask)(preparedMask)(value)) })) }))] }))] })));
61
67
  };
62
68
  exports.default = PhoneView;
@@ -136,8 +136,7 @@ var PhoneInput = function (props) {
136
136
  if (!countryInfo) {
137
137
  return;
138
138
  }
139
- var countryFullInfo = mock_1.COUNTRY_MOCK.find(function (c) { return c.id === countryInfo.countryId; } //countryInfo.countryId
140
- );
139
+ var countryFullInfo = mock_1.COUNTRY_MOCK.find(function (c) { return c.id === countryInfo.countryId; });
141
140
  if (!countryFullInfo) {
142
141
  setCountryPhoneSettings(constants_1.DEFAULT_COUNTRY_INFO);
143
142
  return;
@@ -41,7 +41,7 @@ var m1_svg_1 = require("assets/logo/m1.svg");
41
41
  var ui_1 = require("types/ui");
42
42
  var styles = __importStar(require("./Logos.module.css"));
43
43
  var Logo = function (props) {
44
- var isMobile = props.isMobile, handleLogoClick = props.handleLogoClick, _a = props.isFullView, isFullView = _a === void 0 ? false : _a, appType = props.appType, classes = props.classes;
44
+ var isMobile = props.isMobile, handleLogoClick = props.handleLogoClick, _a = props.isFullView, isFullView = _a === void 0 ? false : _a, appType = props.appType, classes = props.classes, style = props.style;
45
45
  var DesktopFullLogo = (0, react_1.useMemo)(function () {
46
46
  if (appType === ui_1.EAppType.Elon) {
47
47
  return elon_desktop_svg_1.ReactComponent;
@@ -97,8 +97,8 @@ var Logo = function (props) {
97
97
  return function () { return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {}); };
98
98
  }, [appType]);
99
99
  if (isMobile) {
100
- return ((0, jsx_runtime_1.jsx)(MobileLogo, { onClick: handleLogoClick, className: (0, classnames_1.default)(styles.wrapperLogo, classes) }));
100
+ return ((0, jsx_runtime_1.jsx)(MobileLogo, { onClick: handleLogoClick, className: (0, classnames_1.default)(styles.wrapperLogo, classes), style: style }));
101
101
  }
102
- return isFullView ? ((0, jsx_runtime_1.jsx)(DesktopFullLogo, { onClick: handleLogoClick, className: (0, classnames_1.default)(styles.wrapperLogo, classes) })) : ((0, jsx_runtime_1.jsx)(DesktopShortLogo, { onClick: handleLogoClick, className: (0, classnames_1.default)(styles.wrapperLogo, classes) }));
102
+ return isFullView ? ((0, jsx_runtime_1.jsx)(DesktopFullLogo, { onClick: handleLogoClick, className: (0, classnames_1.default)(styles.wrapperLogo, classes), style: style })) : ((0, jsx_runtime_1.jsx)(DesktopShortLogo, { onClick: handleLogoClick, className: (0, classnames_1.default)(styles.wrapperLogo, classes), style: style }));
103
103
  };
104
104
  exports.Logo = Logo;
@@ -10,4 +10,5 @@ export type LogoProps = {
10
10
  isFullView?: boolean;
11
11
  handleLogoClick?: () => void;
12
12
  classes?: string;
13
+ style?: any;
13
14
  };
package/dist/main.css CHANGED
@@ -1535,6 +1535,10 @@
1535
1535
  color: var(--input-text-color);
1536
1536
  }
1537
1537
 
1538
+ .KIT__PhoneView-module__highlightX___U4qhC {
1539
+ color: var(--x-reg-color);
1540
+ }
1541
+
1538
1542
  .KIT__PhoneInput-module__input___hyTKa {
1539
1543
  border-radius: var(--border-s);
1540
1544
  border: var(--input-border);
@@ -5100,13 +5104,56 @@
5100
5104
  text-shadow: 0 5px 0 #290049, 0 6.38508px 11.706px #000000;
5101
5105
  }
5102
5106
 
5103
- .KIT__Wheel-module__btnImg___rFBWp {
5107
+ .KIT__Wheel-module__spinBtn___AngbQ:hover .KIT__Wheel-module__defaultState___wVK6A,.KIT__Wheel-module__spinBtn___AngbQ:hover .KIT__Wheel-module__pressedState___xJuEH {
5108
+ display: none;
5109
+ }
5110
+
5111
+ .KIT__Wheel-module__spinBtn___AngbQ:hover .KIT__Wheel-module__hoverState____BNGp {
5112
+ display: block;
5113
+ --size: 223px;
5114
+ }
5115
+
5116
+ @media screen and (max-width: 768px) {
5117
+
5118
+ .KIT__Wheel-module__spinBtn___AngbQ:hover .KIT__Wheel-module__hoverState____BNGp {
5119
+ --size: 130px;
5120
+ }
5121
+ }
5122
+
5123
+ .KIT__Wheel-module__spinBtn___AngbQ:active .KIT__Wheel-module__defaultState___wVK6A,.KIT__Wheel-module__spinBtn___AngbQ:active .KIT__Wheel-module__hoverState____BNGp {
5124
+ display: none;
5125
+ }
5126
+
5127
+ .KIT__Wheel-module__spinBtn___AngbQ:active .KIT__Wheel-module__pressedState___xJuEH {
5128
+ display: block;
5129
+ }
5130
+
5131
+ .KIT__Wheel-module__buttonImage___pT2vb {
5104
5132
  width: var(--full);
5105
5133
  height: var(--full);
5106
5134
  -o-object-fit: contain;
5107
5135
  object-fit: contain;
5108
5136
  }
5109
5137
 
5138
+ .KIT__Wheel-module__buttonImage___pT2vb.KIT__Wheel-module__hoverState____BNGp,.KIT__Wheel-module__buttonImage___pT2vb.KIT__Wheel-module__pressedState___xJuEH {
5139
+ display: none;
5140
+ }
5141
+
5142
+ @media screen and (max-width: 768px) {
5143
+
5144
+ .KIT__Wheel-module__buttonImage___pT2vb {
5145
+ --size: 100px;
5146
+ }
5147
+ }
5148
+
5149
+ .KIT__Wheel-module__spinBtn___AngbQ.KIT__Wheel-module__spinningState___BeGrQ .KIT__Wheel-module__defaultState___wVK6A {
5150
+ display: block;
5151
+ }
5152
+
5153
+ .KIT__Wheel-module__spinBtn___AngbQ.KIT__Wheel-module__spinningState___BeGrQ .KIT__Wheel-module__hoverState____BNGp,.KIT__Wheel-module__spinBtn___AngbQ.KIT__Wheel-module__spinningState___BeGrQ .KIT__Wheel-module__pressedState___xJuEH {
5154
+ display: none;
5155
+ }
5156
+
5110
5157
  .KIT__Wheel-module__bntText___CVBR2 {
5111
5158
  position: absolute;
5112
5159
  top: var(--indent);
@@ -6523,6 +6570,7 @@
6523
6570
  );
6524
6571
  /*Notice: it equals 255,255,255,0.5*/
6525
6572
  --sign-up-modal-checkbox-color: var(--base-0, white);
6573
+ --x-reg-color: var(--base-400);
6526
6574
 
6527
6575
  /* Second */
6528
6576
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-gldn-kit",
3
- "version": "0.1.70",
3
+ "version": "0.1.72",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "keywords": [],
File without changes