react-gldn-kit 0.1.124 → 0.1.125
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/Modals/Alert/components/Auth/Others/Olympus/index.js +1 -0
- package/dist/lib/components/Scratch/index.js +11 -1
- package/dist/lib/components/Scratch/types.d.ts +1 -1
- package/dist/lib/components/ui/LanguageSelector/types.d.ts +2 -2
- package/dist/lib/components/ui/LanguageSelector/types.js +2 -2
- package/dist/lib/zustandStore/forms/signUp/types.d.ts +1 -0
- package/dist/lib/zustandStore/forms/signUp/types.js +1 -0
- package/dist/main.css +27 -1
- package/package.json +1 -1
|
@@ -202,6 +202,7 @@ var SignUpTypeTwo = function (props) {
|
|
|
202
202
|
_a[styles.transparentYellow] = types_3.ESignUpTheme[regType] === types_3.ESignUpTheme.TransparentYellow,
|
|
203
203
|
_a[styles.brownGold] = types_3.ESignUpTheme[regType] === types_3.ESignUpTheme.BrownGold,
|
|
204
204
|
_a[styles.deepOcean] = types_3.ESignUpTheme[regType] === types_3.ESignUpTheme.DeepOcean,
|
|
205
|
+
_a[styles.silverGreen] = types_3.ESignUpTheme[regType] === types_3.ESignUpTheme.SilverGreen,
|
|
205
206
|
_a), classes) }, { children: [registrationTitle && !isHideTitle && ((0, jsx_runtime_1.jsx)("div", __assign({ className: styles.title, ref: titleRef }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: registrationTitle }) }))), (0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.contentArea, contentAreaClasses), style: {
|
|
206
207
|
height: "calc(100% - ".concat(titleHeight, "px)"),
|
|
207
208
|
} }, { children: [!isSelected && ((0, jsx_runtime_1.jsxs)("div", __assign({ className: styles.warning }, { children: [(0, jsx_runtime_1.jsx)(WarningSvg_1.WarningSvg, {}), (0, jsx_runtime_1.jsx)("div", __assign({ className: styles.warningText }, { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { idT: "signUpTwo.notConfirm" }) }))] }))), bonusImagePath && ((0, jsx_runtime_1.jsx)("img", { src: bonusImagePath, className: (0, classnames_1.default)(styles.bonusImage, 'KIT_SignUpTypeTwo_wrapperSignUp_bonusImage') })), (0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.content, contentClasses) }, { children: [Boolean(social.length) && (0, jsx_runtime_1.jsx)(SocialButtons_1.SocialButtons, { social: social }), activeForm !== null && tabs.length !== 1 && ((0, jsx_runtime_1.jsx)(Tabs_1.Tabs, { activeValue: activeForm, data: tabs, onChange: setActiveForm, classes: styles.tabs, type: "underline", tabClasses: styles.tab, activeTabClasses: styles.activeTab, indicatorClasses: styles.indicator })), (0, jsx_runtime_1.jsxs)("div", { children: [activeForm === types_3.ERegistrationForm.PhoneWithoutCode ? ((0, jsx_runtime_1.jsx)(PhoneBox_1.default, { onChange: setPhone, countryInfo: countryInfo })) : ((0, jsx_runtime_1.jsx)(InputBox_1.default, { leftImg: "/landings/assets-builder/signUpTwo/email.svg", rightImg: "", setInput: setEmail, validation: validation_1.validateEmailValue, input: email, label: "signUpTwo.tabEmail", classes: styles.emailInput })), (0, jsx_runtime_1.jsx)(PasswordBox_1.default, { onChange: setPassword }), (0, jsx_runtime_1.jsx)(CurrencyBox_1.default, {}), (0, jsx_runtime_1.jsx)("div", __assign({ className: (0, classnames_1.default)(styles.submitButton, (_b = {},
|
|
@@ -81,6 +81,16 @@ var Scratch = function (props) {
|
|
|
81
81
|
}
|
|
82
82
|
(_b = audio1.play) === null || _b === void 0 ? void 0 : _b.call(audio1);
|
|
83
83
|
}; };
|
|
84
|
+
var getBoxBackground = function (value) {
|
|
85
|
+
if (!scratchedBoxes.includes(value)) {
|
|
86
|
+
return;
|
|
87
|
+
}
|
|
88
|
+
if (Array.isArray(backgroundScratchDone)) {
|
|
89
|
+
var position = scratchedBoxes.indexOf(value);
|
|
90
|
+
return backgroundScratchDone[position];
|
|
91
|
+
}
|
|
92
|
+
return backgroundScratchDone;
|
|
93
|
+
};
|
|
84
94
|
(0, react_1.useEffect)(function () {
|
|
85
95
|
var timer = setTimeout(function () {
|
|
86
96
|
setScratchedBoxesOpacity(function (prev) {
|
|
@@ -108,7 +118,7 @@ var Scratch = function (props) {
|
|
|
108
118
|
return ((0, jsx_runtime_1.jsxs)("div", __assign({ className: (0, classnames_1.default)(styles.box, (_a = {},
|
|
109
119
|
_a[styles.scratched] = scratchedBoxes.includes(value),
|
|
110
120
|
_a), 'KIT_Scratch_scratch_box'), style: {
|
|
111
|
-
|
|
121
|
+
backgroundImage: "url(".concat(getBoxBackground(value), ")"),
|
|
112
122
|
backgroundSize: '100% 100%',
|
|
113
123
|
backgroundPosition: 'center',
|
|
114
124
|
backgroundRepeat: 'no-repeat',
|
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.EDirection = void 0;
|
|
4
4
|
var EDirection;
|
|
5
5
|
(function (EDirection) {
|
|
6
|
-
EDirection[
|
|
7
|
-
EDirection[
|
|
6
|
+
EDirection["Top"] = "Top";
|
|
7
|
+
EDirection["Bottom"] = "Bottom";
|
|
8
8
|
})(EDirection = exports.EDirection || (exports.EDirection = {}));
|
|
@@ -35,6 +35,7 @@ var ESignUpTheme;
|
|
|
35
35
|
ESignUpTheme["TransparentYellow"] = "transparent-yellow";
|
|
36
36
|
ESignUpTheme["BrownGold"] = "brown-gold";
|
|
37
37
|
ESignUpTheme["DeepOcean"] = "deep-ocean";
|
|
38
|
+
ESignUpTheme["SilverGreen"] = "silver-green";
|
|
38
39
|
ESignUpTheme["BaseGreen"] = "base-green";
|
|
39
40
|
ESignUpTheme["BaseYellow"] = "base-yellow";
|
|
40
41
|
ESignUpTheme["BaseWhite"] = "base-white";
|
package/dist/main.css
CHANGED
|
@@ -2425,7 +2425,11 @@
|
|
|
2425
2425
|
}
|
|
2426
2426
|
|
|
2427
2427
|
.KIT__SignUpTypeTwo-module__silver___L4PvI {
|
|
2428
|
-
--background: linear-gradient(
|
|
2428
|
+
--background: linear-gradient(
|
|
2429
|
+
183.6deg,
|
|
2430
|
+
rgb(103, 97, 94) 0.64%,
|
|
2431
|
+
rgb(43, 43, 43) 97.12%
|
|
2432
|
+
);
|
|
2429
2433
|
--input-filled-border-color: rgba(255, 161, 0, 0.5);
|
|
2430
2434
|
--input-focus-border-color: rgba(255, 161, 0, 1);
|
|
2431
2435
|
--track-background: var(--base-1000);
|
|
@@ -2644,6 +2648,28 @@
|
|
|
2644
2648
|
}
|
|
2645
2649
|
}
|
|
2646
2650
|
|
|
2651
|
+
.KIT__SignUpTypeTwo-module__silverGreen___giUzl {
|
|
2652
|
+
--background: linear-gradient(180deg, #615c59 0%, #2d2d2d 100%);
|
|
2653
|
+
border: 4px solid;
|
|
2654
|
+
-o-border-image: linear-gradient(180deg, #ffa101 20.52%, #773a00 113.24%) 1;
|
|
2655
|
+
border-image: linear-gradient(180deg, #ffa101 20.52%, #773a00 113.24%) 1;
|
|
2656
|
+
--input-focus-border-color: rgba(255, 161, 0, 1);
|
|
2657
|
+
--input-filled-border-color: rgba(255, 161, 0, 0.5);
|
|
2658
|
+
--currency-box-shadow: 1px 1px 8.6px 3px rgba(253, 249, 255, 0.5);
|
|
2659
|
+
--phone-wrapper-background: rgba(43, 43, 43, 1);
|
|
2660
|
+
--currency-box-background: rgba(43, 43, 43, 1);
|
|
2661
|
+
--thumb-background: rgba(255, 161, 0, 1);
|
|
2662
|
+
--submit-button-background: rgba(41, 188, 89, 1);
|
|
2663
|
+
--submit-button-color: var(--base-0);
|
|
2664
|
+
}
|
|
2665
|
+
|
|
2666
|
+
@media screen and (max-width: 768px) {
|
|
2667
|
+
|
|
2668
|
+
.KIT__SignUpTypeTwo-module__silverGreen___giUzl {
|
|
2669
|
+
border: none;
|
|
2670
|
+
}
|
|
2671
|
+
}
|
|
2672
|
+
|
|
2647
2673
|
.KIT__SignUpTypeTwo-module__contentArea___iCJXc {
|
|
2648
2674
|
overflow-y: auto;
|
|
2649
2675
|
width: 100%;
|