contentoh-components-library 21.0.31 → 21.0.32
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/.env.development +4 -17
- package/.env.production +1 -14
- package/CHANGELOG.md +33 -31
- package/dist/assets/images/carouselImagesLogin/login2.svg +117 -0
- package/dist/assets/images/carouselImagesLogin/login3.svg +147 -0
- package/dist/assets/images/carouselImagesLogin/loginImage.svg +301 -0
- package/dist/components/atoms/AsignationOption/index.js +5 -9
- package/dist/components/atoms/AsignationOption/styles.js +1 -1
- package/dist/components/atoms/CheckBox/index.js +2 -4
- package/dist/components/atoms/GeneralButton/index.js +0 -5
- package/dist/components/atoms/GeneralButton/styles.js +2 -4
- package/dist/components/atoms/GeneralInput/index.js +24 -73
- package/dist/components/atoms/GeneralInput/styles.js +1 -7
- package/dist/components/atoms/GenericModal/index.js +2 -4
- package/dist/components/atoms/GenericModal/styles.js +1 -1
- package/dist/components/atoms/ListCommercialRetailers/ListCommercialRetailers.stories.js +36 -0
- package/dist/components/atoms/ListCommercialRetailers/index.js +64 -0
- package/dist/components/atoms/ListCommercialRetailers/styles.js +20 -0
- package/dist/components/atoms/Loading/Loading.stories.js +28 -0
- package/dist/components/atoms/Loading/index.js +2 -1
- package/dist/components/atoms/Loading/styles.js +4 -8
- package/dist/components/atoms/MenuCommercialRetailers/MenuCommercialRetailers.stories.js +37 -0
- package/dist/components/atoms/MenuCommercialRetailers/index.js +25 -0
- package/dist/components/{molecules/RetailerSelector → atoms/MenuCommercialRetailers}/styles.js +1 -1
- package/dist/components/atoms/MenuProductImage/MenuProductImage.stories.js +28 -0
- package/dist/components/atoms/MenuProductImage/index.js +88 -0
- package/dist/components/atoms/MenuProductImage/styles.js +20 -0
- package/dist/components/atoms/PriorityFlag/index.js +1 -1
- package/dist/components/atoms/ProductImage/styles.js +1 -1
- package/dist/components/atoms/ProgressBar/index.js +2 -2
- package/dist/components/atoms/ProgressBar/styles.js +5 -3
- package/dist/components/atoms/ScreenHeader/index.js +1 -1
- package/dist/components/atoms/ScreenHeader/styles.js +1 -1
- package/dist/components/atoms/StatusTag/index.js +2 -37
- package/dist/components/atoms/StatusTag/styles.js +1 -1
- package/dist/components/atoms/ValidationPanel/index.js +3 -4
- package/dist/components/atoms/VerticalSideMenuMainPage/VerticalSideMenuMainPage.stories.js +22 -0
- package/dist/components/atoms/VerticalSideMenuMainPage/index.js +49 -0
- package/dist/components/atoms/{Commentary → VerticalSideMenuMainPage}/styles.js +1 -6
- package/dist/components/molecules/ApproveRejetPanel/ApproveRejetPanel.stories.js +25 -0
- package/dist/components/molecules/ApproveRejetPanel/index.js +49 -0
- package/dist/components/{atoms/CharCounter → molecules/ApproveRejetPanel}/styles.js +1 -3
- package/dist/components/molecules/AvatarAndValidation/index.js +7 -17
- package/dist/components/molecules/AvatarAndValidation/styles.js +1 -1
- package/dist/components/molecules/CarouselImagesLogin/index.js +40 -42
- package/dist/components/molecules/EmailResetPasswordLogin/EmailResetPasswordLogin.stories.js +28 -0
- package/dist/components/molecules/EmailResetPasswordLogin/index.js +155 -0
- package/dist/components/molecules/EmailResetPasswordLogin/styles.js +20 -0
- package/dist/components/molecules/FeaturesBar/index.js +1 -1
- package/dist/components/molecules/GalleryElement/index.js +21 -80
- package/dist/components/molecules/GalleryElement/styles.js +1 -1
- package/dist/components/molecules/GalleryHeader/index.js +6 -28
- package/dist/components/molecules/GalleryHeader/styles.js +1 -1
- package/dist/components/molecules/ImageSelector/index.js +4 -2
- package/dist/components/molecules/ProductNameHeader/index.js +2 -1
- package/dist/components/molecules/RegistrationFirstStep/RegistrationFirstStep.stories.js +28 -0
- package/dist/components/molecules/RegistrationFirstStep/index.js +336 -0
- package/dist/components/molecules/RegistrationFirstStep/styles.js +20 -0
- package/dist/components/molecules/RegistrationSecondStep/RegistrationSecondStep.stories.js +28 -0
- package/dist/components/molecules/RegistrationSecondStep/index.js +156 -0
- package/dist/components/molecules/RegistrationSecondStep/styles.js +20 -0
- package/dist/components/molecules/RegistrationThirdStep/RegistrationThirdStep.stories.js +28 -0
- package/dist/components/molecules/RegistrationThirdStep/index.js +161 -0
- package/dist/components/molecules/RegistrationThirdStep/styles.js +20 -0
- package/dist/components/{atoms/CharCounter/CharCounter.stories.js → molecules/SignInLogin/SignInLogin.stories.js} +7 -10
- package/dist/components/molecules/SignInLogin/index.js +292 -0
- package/dist/components/molecules/SignInLogin/styles.js +20 -0
- package/dist/components/molecules/StatusAsignationInfo/index.js +25 -46
- package/dist/components/molecules/StatusAsignationInfo/styles.js +1 -1
- package/dist/components/molecules/TableHeader/index.js +5 -12
- package/dist/components/molecules/TableHeader/styles.js +1 -1
- package/dist/components/molecules/TagAndInput/index.js +2 -26
- package/dist/components/molecules/VerificationCodeResetPasswordLogin/VerificationCodeResetPasswordLogin.stories.js +28 -0
- package/dist/components/molecules/VerificationCodeResetPasswordLogin/index.js +104 -0
- package/dist/components/molecules/VerificationCodeResetPasswordLogin/styles.js +20 -0
- package/dist/components/molecules/VerificationCodeResetPasswordLogin/utils.js +69 -0
- package/dist/components/{atoms/InputFormatter/Wysiwyg.stories.js → organisms/ChangePassword/ChangePassword.stories.js} +7 -9
- package/dist/components/organisms/ChangePassword/index.js +113 -0
- package/dist/components/organisms/ChangePassword/styles.js +18 -0
- package/dist/components/organisms/FullProductNameHeader/index.js +8 -32
- package/dist/components/organisms/FullTabsMenu/index.js +5 -18
- package/dist/components/organisms/ImageDataTable/index.js +14 -90
- package/dist/components/organisms/InputGroup/index.js +13 -34
- package/dist/components/organisms/InputGroup/styles.js +1 -1
- package/dist/components/organisms/ProductImageModal/index.js +11 -15
- package/dist/components/organisms/ProductImageModal/styles.js +1 -1
- package/dist/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +347 -109
- package/dist/components/pages/RetailerProductEdition/index.js +59 -1589
- package/dist/components/pages/RetailerProductEdition/styles.js +1 -1
- package/dist/global-files/data.js +53 -212
- package/dist/global-files/global-styles.css +0 -1
- package/dist/global-files/variables.js +0 -1
- package/dist/index.js +238 -30
- package/package.json +11 -12
- package/src/components/atoms/AsignationOption/index.js +5 -7
- package/src/components/atoms/AsignationOption/styles.js +1 -9
- package/src/components/atoms/CheckBox/index.js +2 -8
- package/src/components/atoms/GeneralButton/index.js +2 -9
- package/src/components/atoms/GeneralButton/styles.js +0 -23
- package/src/components/atoms/GeneralInput/index.js +21 -71
- package/src/components/atoms/GeneralInput/styles.js +1 -11
- package/src/components/atoms/GenericModal/index.js +2 -2
- package/src/components/atoms/GenericModal/styles.js +2 -10
- package/src/components/atoms/Loading/Loading.stories.js +10 -0
- package/src/components/atoms/Loading/index.js +5 -4
- package/src/components/atoms/Loading/styles.js +43 -43
- package/src/components/atoms/PriorityFlag/index.js +1 -1
- package/src/components/atoms/ProductImage/styles.js +1 -1
- package/src/components/atoms/ProgressBar/index.js +2 -2
- package/src/components/atoms/ProgressBar/styles.js +3 -54
- package/src/components/atoms/ScreenHeader/index.js +3 -7
- package/src/components/atoms/ScreenHeader/styles.js +2 -9
- package/src/components/atoms/StatusTag/index.js +2 -30
- package/src/components/atoms/StatusTag/styles.js +3 -15
- package/src/components/atoms/ValidationPanel/index.js +3 -3
- package/src/components/molecules/AvatarAndValidation/index.js +6 -24
- package/src/components/molecules/AvatarAndValidation/styles.js +1 -1
- package/src/components/molecules/CarouselImagesLogin/index.js +34 -37
- package/src/components/molecules/EmailResetPasswordLogin/EmailResetPasswordLogin.stories.js +11 -0
- package/src/components/molecules/EmailResetPasswordLogin/index.js +86 -0
- package/src/components/molecules/EmailResetPasswordLogin/styles.js +23 -0
- package/src/components/molecules/FeaturesBar/index.js +7 -10
- package/src/components/molecules/GalleryElement/index.js +36 -75
- package/src/components/molecules/GalleryElement/styles.js +11 -38
- package/src/components/molecules/GalleryHeader/index.js +8 -14
- package/src/components/molecules/GalleryHeader/styles.js +0 -16
- package/src/components/molecules/ImageSelector/index.js +3 -2
- package/src/components/molecules/ProductNameHeader/index.js +2 -1
- package/src/components/molecules/RegistrationFirstStep/RegistrationFirstStep.stories.js +11 -0
- package/src/components/molecules/RegistrationFirstStep/index.js +242 -0
- package/src/components/molecules/RegistrationFirstStep/styles.js +81 -0
- package/src/components/molecules/RegistrationSecondStep/RegistrationSecondStep.stories.js +11 -0
- package/src/components/molecules/RegistrationSecondStep/index.js +97 -0
- package/src/components/molecules/RegistrationSecondStep/styles.js +59 -0
- package/src/components/molecules/RegistrationThirdStep/RegistrationThirdStep.stories.js +11 -0
- package/src/components/molecules/RegistrationThirdStep/index.js +109 -0
- package/src/components/molecules/RegistrationThirdStep/styles.js +44 -0
- package/src/components/molecules/SignInLogin/SignInLogin.stories.js +11 -0
- package/src/components/molecules/SignInLogin/index.js +205 -0
- package/src/components/molecules/SignInLogin/styles.js +78 -0
- package/src/components/molecules/StatusAsignationInfo/index.js +38 -62
- package/src/components/molecules/StatusAsignationInfo/styles.js +2 -12
- package/src/components/molecules/TableHeader/index.js +3 -16
- package/src/components/molecules/TableHeader/styles.js +0 -5
- package/src/components/molecules/TagAndInput/index.js +0 -24
- package/src/components/molecules/VerificationCodeResetPasswordLogin/VerificationCodeResetPasswordLogin.stories.js +11 -0
- package/src/components/molecules/VerificationCodeResetPasswordLogin/index.js +78 -0
- package/src/components/molecules/VerificationCodeResetPasswordLogin/styles.js +49 -0
- package/src/components/molecules/VerificationCodeResetPasswordLogin/utils.js +56 -0
- package/src/components/organisms/ChangePassword/ChangePassword.stories.js +11 -0
- package/src/components/organisms/ChangePassword/index.js +63 -0
- package/src/components/organisms/ChangePassword/styles.js +16 -0
- package/src/components/organisms/FullProductNameHeader/index.js +7 -28
- package/src/components/organisms/FullTabsMenu/index.js +3 -15
- package/src/components/organisms/ImageDataTable/index.js +11 -89
- package/src/components/organisms/InputGroup/index.js +11 -46
- package/src/components/organisms/InputGroup/styles.js +0 -3
- package/src/components/organisms/ProductImageModal/index.js +12 -20
- package/src/components/organisms/ProductImageModal/styles.js +0 -3
- package/src/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +343 -117
- package/src/components/pages/RetailerProductEdition/index.js +46 -1225
- package/src/components/pages/RetailerProductEdition/styles.js +4 -67
- package/src/global-files/data.js +57 -156
- package/src/global-files/global-styles.css +0 -1
- package/src/global-files/variables.js +0 -1
- package/src/index.js +17 -1
- package/dist/assets/images/generalButton/downloadIcon.svg +0 -3
- package/dist/assets/images/modalsSVGs/attributesSent.svg +0 -208
- package/dist/assets/images/modalsSVGs/descriptionSent.svg +0 -237
- package/dist/assets/images/modalsSVGs/providerSent.svg +0 -445
- package/dist/assets/images/modalsSVGs/uploadingImages.svg +0 -148
- package/dist/components/atoms/CharCounter/index.js +0 -22
- package/dist/components/atoms/Commentary/Commentary.stories.js +0 -1
- package/dist/components/atoms/Commentary/index.js +0 -23
- package/dist/components/atoms/Input/index.js +0 -26
- package/dist/components/atoms/Input/style.js +0 -26
- package/dist/components/atoms/InputFormatter/index.js +0 -185
- package/dist/components/atoms/InputFormatter/styles.js +0 -33
- package/dist/components/atoms/LabelToInput/index.js +0 -53
- package/dist/components/atoms/LabelToInput/style.js +0 -22
- package/dist/components/atoms/Percent/Percent.stories.js +0 -39
- package/dist/components/atoms/Percent/index.js +0 -39
- package/dist/components/atoms/Percent/styles.js +0 -20
- package/dist/components/atoms/Select/index.js +0 -39
- package/dist/components/atoms/Select/style.js +0 -32
- package/dist/components/molecules/RetailerSelector/RetailerSelector.stories.js +0 -48
- package/dist/components/molecules/RetailerSelector/index.js +0 -74
- package/dist/components/molecules/TextAndGradient/TextAndGradient.stories.js +0 -31
- package/dist/components/molecules/TextAndGradient/index.js +0 -36
- package/dist/components/molecules/TextAndGradient/styles.js +0 -18
- package/src/assets/images/generalButton/downloadIcon.svg +0 -3
- package/src/assets/images/modalsSVGs/attributesSent.svg +0 -208
- package/src/assets/images/modalsSVGs/descriptionSent.svg +0 -237
- package/src/assets/images/modalsSVGs/providerSent.svg +0 -445
- package/src/assets/images/modalsSVGs/uploadingImages.svg +0 -148
- package/src/components/atoms/CharCounter/CharCounter.stories.js +0 -11
- package/src/components/atoms/CharCounter/index.js +0 -13
- package/src/components/atoms/CharCounter/styles.js +0 -10
- package/src/components/atoms/Commentary/Commentary.stories.js +0 -0
- package/src/components/atoms/Commentary/index.js +0 -9
- package/src/components/atoms/Commentary/styles.js +0 -16
- package/src/components/atoms/Input/index.js +0 -15
- package/src/components/atoms/Input/style.js +0 -31
- package/src/components/atoms/InputFormatter/Wysiwyg.stories.js +0 -12
- package/src/components/atoms/InputFormatter/index.js +0 -141
- package/src/components/atoms/InputFormatter/styles.js +0 -40
- package/src/components/atoms/LabelToInput/index.js +0 -26
- package/src/components/atoms/LabelToInput/style.js +0 -41
- package/src/components/atoms/Select/index.js +0 -35
- package/src/components/atoms/Select/style.js +0 -76
- package/src/components/molecules/RetailerSelector/RetailerSelector.stories.js +0 -35
- package/src/components/molecules/RetailerSelector/index.js +0 -63
- package/src/components/molecules/RetailerSelector/styles.js +0 -18
package/dist/index.js
CHANGED
|
@@ -160,7 +160,7 @@ Object.keys(_index12).forEach(function (key) {
|
|
|
160
160
|
});
|
|
161
161
|
});
|
|
162
162
|
|
|
163
|
-
var _index13 = require("./components/atoms/
|
|
163
|
+
var _index13 = require("./components/atoms/Loading/index");
|
|
164
164
|
|
|
165
165
|
Object.keys(_index13).forEach(function (key) {
|
|
166
166
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -173,7 +173,7 @@ Object.keys(_index13).forEach(function (key) {
|
|
|
173
173
|
});
|
|
174
174
|
});
|
|
175
175
|
|
|
176
|
-
var _index14 = require("./components/atoms/
|
|
176
|
+
var _index14 = require("./components/atoms/PriorityFlag/index");
|
|
177
177
|
|
|
178
178
|
Object.keys(_index14).forEach(function (key) {
|
|
179
179
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -186,7 +186,7 @@ Object.keys(_index14).forEach(function (key) {
|
|
|
186
186
|
});
|
|
187
187
|
});
|
|
188
188
|
|
|
189
|
-
var _index15 = require("./components/atoms/
|
|
189
|
+
var _index15 = require("./components/atoms/ProductImage/index");
|
|
190
190
|
|
|
191
191
|
Object.keys(_index15).forEach(function (key) {
|
|
192
192
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -199,7 +199,7 @@ Object.keys(_index15).forEach(function (key) {
|
|
|
199
199
|
});
|
|
200
200
|
});
|
|
201
201
|
|
|
202
|
-
var _index16 = require("./components/atoms/
|
|
202
|
+
var _index16 = require("./components/atoms/ProgressBar/index");
|
|
203
203
|
|
|
204
204
|
Object.keys(_index16).forEach(function (key) {
|
|
205
205
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -212,7 +212,7 @@ Object.keys(_index16).forEach(function (key) {
|
|
|
212
212
|
});
|
|
213
213
|
});
|
|
214
214
|
|
|
215
|
-
var _index17 = require("./components/atoms/
|
|
215
|
+
var _index17 = require("./components/atoms/ScreenHeader/index");
|
|
216
216
|
|
|
217
217
|
Object.keys(_index17).forEach(function (key) {
|
|
218
218
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -225,7 +225,7 @@ Object.keys(_index17).forEach(function (key) {
|
|
|
225
225
|
});
|
|
226
226
|
});
|
|
227
227
|
|
|
228
|
-
var _index18 = require("./components/atoms/
|
|
228
|
+
var _index18 = require("./components/atoms/SideMenuButton/index");
|
|
229
229
|
|
|
230
230
|
Object.keys(_index18).forEach(function (key) {
|
|
231
231
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -238,7 +238,7 @@ Object.keys(_index18).forEach(function (key) {
|
|
|
238
238
|
});
|
|
239
239
|
});
|
|
240
240
|
|
|
241
|
-
var _index19 = require("./components/atoms/
|
|
241
|
+
var _index19 = require("./components/atoms/StatusTag/index");
|
|
242
242
|
|
|
243
243
|
Object.keys(_index19).forEach(function (key) {
|
|
244
244
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -251,7 +251,7 @@ Object.keys(_index19).forEach(function (key) {
|
|
|
251
251
|
});
|
|
252
252
|
});
|
|
253
253
|
|
|
254
|
-
var _index20 = require("./components/atoms/
|
|
254
|
+
var _index20 = require("./components/atoms/TabSection/index");
|
|
255
255
|
|
|
256
256
|
Object.keys(_index20).forEach(function (key) {
|
|
257
257
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -264,7 +264,7 @@ Object.keys(_index20).forEach(function (key) {
|
|
|
264
264
|
});
|
|
265
265
|
});
|
|
266
266
|
|
|
267
|
-
var _index21 = require("./components/
|
|
267
|
+
var _index21 = require("./components/atoms/ValidationPanel/index");
|
|
268
268
|
|
|
269
269
|
Object.keys(_index21).forEach(function (key) {
|
|
270
270
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -277,7 +277,7 @@ Object.keys(_index21).forEach(function (key) {
|
|
|
277
277
|
});
|
|
278
278
|
});
|
|
279
279
|
|
|
280
|
-
var _index22 = require("./components/molecules/
|
|
280
|
+
var _index22 = require("./components/molecules/AvatarAndValidation/index");
|
|
281
281
|
|
|
282
282
|
Object.keys(_index22).forEach(function (key) {
|
|
283
283
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -290,7 +290,20 @@ Object.keys(_index22).forEach(function (key) {
|
|
|
290
290
|
});
|
|
291
291
|
});
|
|
292
292
|
|
|
293
|
-
var
|
|
293
|
+
var _CarouselImagesLogin = require("./components/molecules/CarouselImagesLogin");
|
|
294
|
+
|
|
295
|
+
Object.keys(_CarouselImagesLogin).forEach(function (key) {
|
|
296
|
+
if (key === "default" || key === "__esModule") return;
|
|
297
|
+
if (key in exports && exports[key] === _CarouselImagesLogin[key]) return;
|
|
298
|
+
Object.defineProperty(exports, key, {
|
|
299
|
+
enumerable: true,
|
|
300
|
+
get: function get() {
|
|
301
|
+
return _CarouselImagesLogin[key];
|
|
302
|
+
}
|
|
303
|
+
});
|
|
304
|
+
});
|
|
305
|
+
|
|
306
|
+
var _index23 = require("./components/molecules/EditionActiveImage/index");
|
|
294
307
|
|
|
295
308
|
Object.keys(_index23).forEach(function (key) {
|
|
296
309
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -303,7 +316,7 @@ Object.keys(_index23).forEach(function (key) {
|
|
|
303
316
|
});
|
|
304
317
|
});
|
|
305
318
|
|
|
306
|
-
var _index24 = require("./components/molecules/
|
|
319
|
+
var _index24 = require("./components/molecules/EmailResetPasswordLogin/index");
|
|
307
320
|
|
|
308
321
|
Object.keys(_index24).forEach(function (key) {
|
|
309
322
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -316,7 +329,7 @@ Object.keys(_index24).forEach(function (key) {
|
|
|
316
329
|
});
|
|
317
330
|
});
|
|
318
331
|
|
|
319
|
-
var _index25 = require("./components/molecules/
|
|
332
|
+
var _index25 = require("./components/molecules/FeaturesBar/index");
|
|
320
333
|
|
|
321
334
|
Object.keys(_index25).forEach(function (key) {
|
|
322
335
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -329,7 +342,7 @@ Object.keys(_index25).forEach(function (key) {
|
|
|
329
342
|
});
|
|
330
343
|
});
|
|
331
344
|
|
|
332
|
-
var _index26 = require("./components/molecules/
|
|
345
|
+
var _index26 = require("./components/molecules/GalleryElement/index");
|
|
333
346
|
|
|
334
347
|
Object.keys(_index26).forEach(function (key) {
|
|
335
348
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -342,7 +355,7 @@ Object.keys(_index26).forEach(function (key) {
|
|
|
342
355
|
});
|
|
343
356
|
});
|
|
344
357
|
|
|
345
|
-
var _index27 = require("./components/molecules/
|
|
358
|
+
var _index27 = require("./components/molecules/HeaderTop/index");
|
|
346
359
|
|
|
347
360
|
Object.keys(_index27).forEach(function (key) {
|
|
348
361
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -355,7 +368,7 @@ Object.keys(_index27).forEach(function (key) {
|
|
|
355
368
|
});
|
|
356
369
|
});
|
|
357
370
|
|
|
358
|
-
var _index28 = require("./components/molecules/
|
|
371
|
+
var _index28 = require("./components/molecules/ImageSelector/index");
|
|
359
372
|
|
|
360
373
|
Object.keys(_index28).forEach(function (key) {
|
|
361
374
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -368,7 +381,20 @@ Object.keys(_index28).forEach(function (key) {
|
|
|
368
381
|
});
|
|
369
382
|
});
|
|
370
383
|
|
|
371
|
-
var
|
|
384
|
+
var _LoginPasswordStrength = require("./components/molecules/LoginPasswordStrength");
|
|
385
|
+
|
|
386
|
+
Object.keys(_LoginPasswordStrength).forEach(function (key) {
|
|
387
|
+
if (key === "default" || key === "__esModule") return;
|
|
388
|
+
if (key in exports && exports[key] === _LoginPasswordStrength[key]) return;
|
|
389
|
+
Object.defineProperty(exports, key, {
|
|
390
|
+
enumerable: true,
|
|
391
|
+
get: function get() {
|
|
392
|
+
return _LoginPasswordStrength[key];
|
|
393
|
+
}
|
|
394
|
+
});
|
|
395
|
+
});
|
|
396
|
+
|
|
397
|
+
var _index29 = require("./components/molecules/PlanSelection/index");
|
|
372
398
|
|
|
373
399
|
Object.keys(_index29).forEach(function (key) {
|
|
374
400
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -381,7 +407,7 @@ Object.keys(_index29).forEach(function (key) {
|
|
|
381
407
|
});
|
|
382
408
|
});
|
|
383
409
|
|
|
384
|
-
var _index30 = require("./components/molecules/
|
|
410
|
+
var _index30 = require("./components/molecules/ProductNameHeader/index");
|
|
385
411
|
|
|
386
412
|
Object.keys(_index30).forEach(function (key) {
|
|
387
413
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -394,7 +420,7 @@ Object.keys(_index30).forEach(function (key) {
|
|
|
394
420
|
});
|
|
395
421
|
});
|
|
396
422
|
|
|
397
|
-
var _index31 = require("./components/molecules/
|
|
423
|
+
var _index31 = require("./components/molecules/RegistrationFirstStep/index");
|
|
398
424
|
|
|
399
425
|
Object.keys(_index31).forEach(function (key) {
|
|
400
426
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -407,7 +433,7 @@ Object.keys(_index31).forEach(function (key) {
|
|
|
407
433
|
});
|
|
408
434
|
});
|
|
409
435
|
|
|
410
|
-
var _index32 = require("./components/molecules/
|
|
436
|
+
var _index32 = require("./components/molecules/RegistrationSecondStep/index");
|
|
411
437
|
|
|
412
438
|
Object.keys(_index32).forEach(function (key) {
|
|
413
439
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -420,7 +446,7 @@ Object.keys(_index32).forEach(function (key) {
|
|
|
420
446
|
});
|
|
421
447
|
});
|
|
422
448
|
|
|
423
|
-
var _index33 = require("./components/molecules/
|
|
449
|
+
var _index33 = require("./components/molecules/RegistrationThirdStep/index");
|
|
424
450
|
|
|
425
451
|
Object.keys(_index33).forEach(function (key) {
|
|
426
452
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -433,7 +459,7 @@ Object.keys(_index33).forEach(function (key) {
|
|
|
433
459
|
});
|
|
434
460
|
});
|
|
435
461
|
|
|
436
|
-
var _index34 = require("./components/molecules/
|
|
462
|
+
var _index34 = require("./components/molecules/SignInLogin/index");
|
|
437
463
|
|
|
438
464
|
Object.keys(_index34).forEach(function (key) {
|
|
439
465
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -446,7 +472,7 @@ Object.keys(_index34).forEach(function (key) {
|
|
|
446
472
|
});
|
|
447
473
|
});
|
|
448
474
|
|
|
449
|
-
var _index35 = require("./components/
|
|
475
|
+
var _index35 = require("./components/molecules/StatusAsignationInfo/index");
|
|
450
476
|
|
|
451
477
|
Object.keys(_index35).forEach(function (key) {
|
|
452
478
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -459,7 +485,7 @@ Object.keys(_index35).forEach(function (key) {
|
|
|
459
485
|
});
|
|
460
486
|
});
|
|
461
487
|
|
|
462
|
-
var _index36 = require("./components/
|
|
488
|
+
var _index36 = require("./components/molecules/TableHeader/index");
|
|
463
489
|
|
|
464
490
|
Object.keys(_index36).forEach(function (key) {
|
|
465
491
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -472,7 +498,7 @@ Object.keys(_index36).forEach(function (key) {
|
|
|
472
498
|
});
|
|
473
499
|
});
|
|
474
500
|
|
|
475
|
-
var _index37 = require("./components/
|
|
501
|
+
var _index37 = require("./components/molecules/TableRow/index");
|
|
476
502
|
|
|
477
503
|
Object.keys(_index37).forEach(function (key) {
|
|
478
504
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -485,7 +511,7 @@ Object.keys(_index37).forEach(function (key) {
|
|
|
485
511
|
});
|
|
486
512
|
});
|
|
487
513
|
|
|
488
|
-
var _index38 = require("./components/
|
|
514
|
+
var _index38 = require("./components/molecules/TabsMenu/index");
|
|
489
515
|
|
|
490
516
|
Object.keys(_index38).forEach(function (key) {
|
|
491
517
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -498,7 +524,7 @@ Object.keys(_index38).forEach(function (key) {
|
|
|
498
524
|
});
|
|
499
525
|
});
|
|
500
526
|
|
|
501
|
-
var _index39 = require("./components/
|
|
527
|
+
var _index39 = require("./components/molecules/TagAndInput/index");
|
|
502
528
|
|
|
503
529
|
Object.keys(_index39).forEach(function (key) {
|
|
504
530
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -511,7 +537,7 @@ Object.keys(_index39).forEach(function (key) {
|
|
|
511
537
|
});
|
|
512
538
|
});
|
|
513
539
|
|
|
514
|
-
var _index40 = require("./components/
|
|
540
|
+
var _index40 = require("./components/molecules/VerificationCodeResetPasswordLogin/index");
|
|
515
541
|
|
|
516
542
|
Object.keys(_index40).forEach(function (key) {
|
|
517
543
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -524,7 +550,7 @@ Object.keys(_index40).forEach(function (key) {
|
|
|
524
550
|
});
|
|
525
551
|
});
|
|
526
552
|
|
|
527
|
-
var _index41 = require("./components/organisms/
|
|
553
|
+
var _index41 = require("./components/organisms/ChangePassword/index");
|
|
528
554
|
|
|
529
555
|
Object.keys(_index41).forEach(function (key) {
|
|
530
556
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -537,7 +563,7 @@ Object.keys(_index41).forEach(function (key) {
|
|
|
537
563
|
});
|
|
538
564
|
});
|
|
539
565
|
|
|
540
|
-
var _index42 = require("./components/organisms/
|
|
566
|
+
var _index42 = require("./components/organisms/Fullplan/index");
|
|
541
567
|
|
|
542
568
|
Object.keys(_index42).forEach(function (key) {
|
|
543
569
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -550,6 +576,123 @@ Object.keys(_index42).forEach(function (key) {
|
|
|
550
576
|
});
|
|
551
577
|
});
|
|
552
578
|
|
|
579
|
+
var _index43 = require("./components/organisms/FullProductNameHeader/index");
|
|
580
|
+
|
|
581
|
+
Object.keys(_index43).forEach(function (key) {
|
|
582
|
+
if (key === "default" || key === "__esModule") return;
|
|
583
|
+
if (key in exports && exports[key] === _index43[key]) return;
|
|
584
|
+
Object.defineProperty(exports, key, {
|
|
585
|
+
enumerable: true,
|
|
586
|
+
get: function get() {
|
|
587
|
+
return _index43[key];
|
|
588
|
+
}
|
|
589
|
+
});
|
|
590
|
+
});
|
|
591
|
+
|
|
592
|
+
var _index44 = require("./components/organisms/FullTabsMenu/index");
|
|
593
|
+
|
|
594
|
+
Object.keys(_index44).forEach(function (key) {
|
|
595
|
+
if (key === "default" || key === "__esModule") return;
|
|
596
|
+
if (key in exports && exports[key] === _index44[key]) return;
|
|
597
|
+
Object.defineProperty(exports, key, {
|
|
598
|
+
enumerable: true,
|
|
599
|
+
get: function get() {
|
|
600
|
+
return _index44[key];
|
|
601
|
+
}
|
|
602
|
+
});
|
|
603
|
+
});
|
|
604
|
+
|
|
605
|
+
var _index45 = require("./components/organisms/ImageDataTable/index");
|
|
606
|
+
|
|
607
|
+
Object.keys(_index45).forEach(function (key) {
|
|
608
|
+
if (key === "default" || key === "__esModule") return;
|
|
609
|
+
if (key in exports && exports[key] === _index45[key]) return;
|
|
610
|
+
Object.defineProperty(exports, key, {
|
|
611
|
+
enumerable: true,
|
|
612
|
+
get: function get() {
|
|
613
|
+
return _index45[key];
|
|
614
|
+
}
|
|
615
|
+
});
|
|
616
|
+
});
|
|
617
|
+
|
|
618
|
+
var _index46 = require("./components/organisms/ImagePreviewer/index");
|
|
619
|
+
|
|
620
|
+
Object.keys(_index46).forEach(function (key) {
|
|
621
|
+
if (key === "default" || key === "__esModule") return;
|
|
622
|
+
if (key in exports && exports[key] === _index46[key]) return;
|
|
623
|
+
Object.defineProperty(exports, key, {
|
|
624
|
+
enumerable: true,
|
|
625
|
+
get: function get() {
|
|
626
|
+
return _index46[key];
|
|
627
|
+
}
|
|
628
|
+
});
|
|
629
|
+
});
|
|
630
|
+
|
|
631
|
+
var _index47 = require("./components/organisms/ImagesGroup/index");
|
|
632
|
+
|
|
633
|
+
Object.keys(_index47).forEach(function (key) {
|
|
634
|
+
if (key === "default" || key === "__esModule") return;
|
|
635
|
+
if (key in exports && exports[key] === _index47[key]) return;
|
|
636
|
+
Object.defineProperty(exports, key, {
|
|
637
|
+
enumerable: true,
|
|
638
|
+
get: function get() {
|
|
639
|
+
return _index47[key];
|
|
640
|
+
}
|
|
641
|
+
});
|
|
642
|
+
});
|
|
643
|
+
|
|
644
|
+
var _index48 = require("./components/organisms/InputGroup/index");
|
|
645
|
+
|
|
646
|
+
Object.keys(_index48).forEach(function (key) {
|
|
647
|
+
if (key === "default" || key === "__esModule") return;
|
|
648
|
+
if (key in exports && exports[key] === _index48[key]) return;
|
|
649
|
+
Object.defineProperty(exports, key, {
|
|
650
|
+
enumerable: true,
|
|
651
|
+
get: function get() {
|
|
652
|
+
return _index48[key];
|
|
653
|
+
}
|
|
654
|
+
});
|
|
655
|
+
});
|
|
656
|
+
|
|
657
|
+
var _index49 = require("./components/organisms/ProductImageModal/index");
|
|
658
|
+
|
|
659
|
+
Object.keys(_index49).forEach(function (key) {
|
|
660
|
+
if (key === "default" || key === "__esModule") return;
|
|
661
|
+
if (key in exports && exports[key] === _index49[key]) return;
|
|
662
|
+
Object.defineProperty(exports, key, {
|
|
663
|
+
enumerable: true,
|
|
664
|
+
get: function get() {
|
|
665
|
+
return _index49[key];
|
|
666
|
+
}
|
|
667
|
+
});
|
|
668
|
+
});
|
|
669
|
+
|
|
670
|
+
var _ChangePasswordLogin = require("./components/pages/ChangePasswordLogin");
|
|
671
|
+
|
|
672
|
+
Object.keys(_ChangePasswordLogin).forEach(function (key) {
|
|
673
|
+
if (key === "default" || key === "__esModule") return;
|
|
674
|
+
if (key in exports && exports[key] === _ChangePasswordLogin[key]) return;
|
|
675
|
+
Object.defineProperty(exports, key, {
|
|
676
|
+
enumerable: true,
|
|
677
|
+
get: function get() {
|
|
678
|
+
return _ChangePasswordLogin[key];
|
|
679
|
+
}
|
|
680
|
+
});
|
|
681
|
+
});
|
|
682
|
+
|
|
683
|
+
var _CustomerLogin = require("./components/pages/CustomerLogin");
|
|
684
|
+
|
|
685
|
+
Object.keys(_CustomerLogin).forEach(function (key) {
|
|
686
|
+
if (key === "default" || key === "__esModule") return;
|
|
687
|
+
if (key in exports && exports[key] === _CustomerLogin[key]) return;
|
|
688
|
+
Object.defineProperty(exports, key, {
|
|
689
|
+
enumerable: true,
|
|
690
|
+
get: function get() {
|
|
691
|
+
return _CustomerLogin[key];
|
|
692
|
+
}
|
|
693
|
+
});
|
|
694
|
+
});
|
|
695
|
+
|
|
553
696
|
var _CustomerType = require("./components/pages/CustomerType");
|
|
554
697
|
|
|
555
698
|
Object.keys(_CustomerType).forEach(function (key) {
|
|
@@ -563,6 +706,19 @@ Object.keys(_CustomerType).forEach(function (key) {
|
|
|
563
706
|
});
|
|
564
707
|
});
|
|
565
708
|
|
|
709
|
+
var _EmailResetPassword = require("./components/pages/EmailResetPassword");
|
|
710
|
+
|
|
711
|
+
Object.keys(_EmailResetPassword).forEach(function (key) {
|
|
712
|
+
if (key === "default" || key === "__esModule") return;
|
|
713
|
+
if (key in exports && exports[key] === _EmailResetPassword[key]) return;
|
|
714
|
+
Object.defineProperty(exports, key, {
|
|
715
|
+
enumerable: true,
|
|
716
|
+
get: function get() {
|
|
717
|
+
return _EmailResetPassword[key];
|
|
718
|
+
}
|
|
719
|
+
});
|
|
720
|
+
});
|
|
721
|
+
|
|
566
722
|
var _OnboardPlan = require("./components/pages/OnboardPlan");
|
|
567
723
|
|
|
568
724
|
Object.keys(_OnboardPlan).forEach(function (key) {
|
|
@@ -576,6 +732,45 @@ Object.keys(_OnboardPlan).forEach(function (key) {
|
|
|
576
732
|
});
|
|
577
733
|
});
|
|
578
734
|
|
|
735
|
+
var _RegistrationLoginFirstStep = require("./components/pages/RegistrationLoginFirstStep");
|
|
736
|
+
|
|
737
|
+
Object.keys(_RegistrationLoginFirstStep).forEach(function (key) {
|
|
738
|
+
if (key === "default" || key === "__esModule") return;
|
|
739
|
+
if (key in exports && exports[key] === _RegistrationLoginFirstStep[key]) return;
|
|
740
|
+
Object.defineProperty(exports, key, {
|
|
741
|
+
enumerable: true,
|
|
742
|
+
get: function get() {
|
|
743
|
+
return _RegistrationLoginFirstStep[key];
|
|
744
|
+
}
|
|
745
|
+
});
|
|
746
|
+
});
|
|
747
|
+
|
|
748
|
+
var _RegistrationLoginSecondStep = require("./components/pages/RegistrationLoginSecondStep");
|
|
749
|
+
|
|
750
|
+
Object.keys(_RegistrationLoginSecondStep).forEach(function (key) {
|
|
751
|
+
if (key === "default" || key === "__esModule") return;
|
|
752
|
+
if (key in exports && exports[key] === _RegistrationLoginSecondStep[key]) return;
|
|
753
|
+
Object.defineProperty(exports, key, {
|
|
754
|
+
enumerable: true,
|
|
755
|
+
get: function get() {
|
|
756
|
+
return _RegistrationLoginSecondStep[key];
|
|
757
|
+
}
|
|
758
|
+
});
|
|
759
|
+
});
|
|
760
|
+
|
|
761
|
+
var _RegistrationLoginThirdStep = require("./components/pages/RegistrationLoginThirdStep");
|
|
762
|
+
|
|
763
|
+
Object.keys(_RegistrationLoginThirdStep).forEach(function (key) {
|
|
764
|
+
if (key === "default" || key === "__esModule") return;
|
|
765
|
+
if (key in exports && exports[key] === _RegistrationLoginThirdStep[key]) return;
|
|
766
|
+
Object.defineProperty(exports, key, {
|
|
767
|
+
enumerable: true,
|
|
768
|
+
get: function get() {
|
|
769
|
+
return _RegistrationLoginThirdStep[key];
|
|
770
|
+
}
|
|
771
|
+
});
|
|
772
|
+
});
|
|
773
|
+
|
|
579
774
|
var _RetailerProductEdition = require("./components/pages/RetailerProductEdition");
|
|
580
775
|
|
|
581
776
|
Object.keys(_RetailerProductEdition).forEach(function (key) {
|
|
@@ -587,4 +782,17 @@ Object.keys(_RetailerProductEdition).forEach(function (key) {
|
|
|
587
782
|
return _RetailerProductEdition[key];
|
|
588
783
|
}
|
|
589
784
|
});
|
|
785
|
+
});
|
|
786
|
+
|
|
787
|
+
var _VerificationCodeResetPassword = require("./components/pages/VerificationCodeResetPassword");
|
|
788
|
+
|
|
789
|
+
Object.keys(_VerificationCodeResetPassword).forEach(function (key) {
|
|
790
|
+
if (key === "default" || key === "__esModule") return;
|
|
791
|
+
if (key in exports && exports[key] === _VerificationCodeResetPassword[key]) return;
|
|
792
|
+
Object.defineProperty(exports, key, {
|
|
793
|
+
enumerable: true,
|
|
794
|
+
get: function get() {
|
|
795
|
+
return _VerificationCodeResetPassword[key];
|
|
796
|
+
}
|
|
797
|
+
});
|
|
590
798
|
});
|
package/package.json
CHANGED
|
@@ -1,35 +1,32 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "contentoh-components-library",
|
|
3
|
-
"version": "21.0.
|
|
3
|
+
"version": "21.0.32",
|
|
4
4
|
"dependencies": {
|
|
5
|
+
"@aws-amplify/auth": "^4.5.4-unstable.3",
|
|
5
6
|
"@babel/runtime": "^7.17.2",
|
|
6
7
|
"@storybook/addon-postcss": "^2.0.0",
|
|
7
8
|
"@testing-library/jest-dom": "^5.11.4",
|
|
8
9
|
"@testing-library/react": "^11.1.0",
|
|
9
10
|
"@testing-library/user-event": "^12.1.10",
|
|
10
|
-
"aws-
|
|
11
|
+
"aws-amplify": "^4.3.22-unstable.3",
|
|
11
12
|
"axios": "^0.25.0",
|
|
12
13
|
"babel-preset-react-app": "^10.0.1",
|
|
13
14
|
"chart.js": "^3.7.1",
|
|
14
|
-
"draft-js": "^0.11.7",
|
|
15
|
-
"file-saver": "^2.0.5",
|
|
16
15
|
"js-base64": "^3.7.2",
|
|
17
16
|
"prop-types": "^15.7.2",
|
|
18
17
|
"react": "^17.0.2",
|
|
19
|
-
"react-chartjs-2": "^4.0
|
|
18
|
+
"react-chartjs-2": "^4.1.0",
|
|
20
19
|
"react-dom": "^17.0.2",
|
|
21
|
-
"react-draft-wysiwyg": "^1.14.7",
|
|
22
|
-
"react-dropzone": "^12.0.4",
|
|
23
20
|
"react-image-fallback": "^8.0.0",
|
|
24
|
-
"react-
|
|
21
|
+
"react-router-dom": "^6.3.0",
|
|
25
22
|
"styled-components": "^5.3.3",
|
|
26
|
-
"uuid": "^8.3.2",
|
|
27
23
|
"web-vitals": "^1.0.1"
|
|
28
24
|
},
|
|
29
25
|
"scripts": {
|
|
30
26
|
"start": "start-storybook -p 6006",
|
|
31
27
|
"build": "cross-env BABEL_ENV=production babel src -d dist",
|
|
32
|
-
"chromatic": "npx chromatic --project-token=d7bb0c8ba831"
|
|
28
|
+
"chromatic": "npx chromatic --project-token=d7bb0c8ba831",
|
|
29
|
+
"release": "auto shipit --base-branch=main"
|
|
33
30
|
},
|
|
34
31
|
"eslintConfig": {
|
|
35
32
|
"extends": [
|
|
@@ -67,21 +64,23 @@
|
|
|
67
64
|
]
|
|
68
65
|
},
|
|
69
66
|
"devDependencies": {
|
|
70
|
-
"@babel/cli": "^7.17.
|
|
67
|
+
"@babel/cli": "^7.17.10",
|
|
71
68
|
"@babel/core": "^7.16.0",
|
|
72
69
|
"@storybook/addon-actions": "^6.4.1",
|
|
73
70
|
"@storybook/addon-essentials": "^6.4.1",
|
|
74
71
|
"@storybook/addon-links": "^6.4.1",
|
|
75
72
|
"@storybook/react": "^6.4.1",
|
|
73
|
+
"auth": "^0.0.9",
|
|
76
74
|
"auto": "^10.36.5",
|
|
77
75
|
"babel-loader": "^8.2.3",
|
|
78
76
|
"chromatic": "^6.3.3",
|
|
77
|
+
"contentoh-components-library": "^21.0.26",
|
|
79
78
|
"cross-env": "^7.0.3",
|
|
80
79
|
"storybook-css-modules-preset": "^1.1.1"
|
|
81
80
|
},
|
|
82
81
|
"description": "contentoh components packed library.",
|
|
83
82
|
"main": "dist/index.js",
|
|
84
|
-
"repository": "
|
|
83
|
+
"repository": "git@github.com:Content-oh/components-library.git",
|
|
85
84
|
"author": "asael06 <asael.mb@hotmail.com>",
|
|
86
85
|
"license": "MIT"
|
|
87
86
|
}
|
|
@@ -9,15 +9,13 @@ import availableIcon from "../../../assets/images/asignationOptions/availableIco
|
|
|
9
9
|
export const AsignationOption = ({
|
|
10
10
|
profileImage,
|
|
11
11
|
asignationType = "available",
|
|
12
|
-
imageType = "profile-image",
|
|
13
12
|
name,
|
|
14
13
|
team,
|
|
15
14
|
onClick,
|
|
16
|
-
btnOnClick,
|
|
17
15
|
}) => {
|
|
18
16
|
const iconsAsignation = {
|
|
19
17
|
assigned: (
|
|
20
|
-
<button onClick={
|
|
18
|
+
<button onClick={onClick}>
|
|
21
19
|
<img src={removeAsigned} alt="remove asigned" />
|
|
22
20
|
</button>
|
|
23
21
|
),
|
|
@@ -27,17 +25,17 @@ export const AsignationOption = ({
|
|
|
27
25
|
};
|
|
28
26
|
|
|
29
27
|
return (
|
|
30
|
-
<Container
|
|
28
|
+
<Container>
|
|
31
29
|
<Avatar
|
|
32
|
-
imageType={
|
|
33
|
-
image={profileImage}
|
|
30
|
+
imageType={"profile-image"}
|
|
31
|
+
image={profileImage?.image}
|
|
34
32
|
altText={"profile image"}
|
|
35
33
|
/>
|
|
36
34
|
<div className="labels-container">
|
|
37
35
|
<p className="name-label">{name}</p>
|
|
38
36
|
<p className="team-label">{team}</p>
|
|
39
37
|
</div>
|
|
40
|
-
{
|
|
38
|
+
{iconsAsignation[asignationType]}
|
|
41
39
|
</Container>
|
|
42
40
|
);
|
|
43
41
|
};
|
|
@@ -5,12 +5,8 @@ export const Container = styled.div`
|
|
|
5
5
|
display: flex;
|
|
6
6
|
width: fit-content;
|
|
7
7
|
align-items: center;
|
|
8
|
-
cursor: pointer;
|
|
9
|
-
border-radius: 3px;
|
|
10
|
-
padding: 5px;
|
|
11
8
|
|
|
12
|
-
.profile-image
|
|
13
|
-
.medium-image {
|
|
9
|
+
.profile-image {
|
|
14
10
|
& + * {
|
|
15
11
|
margin-left: 15px;
|
|
16
12
|
}
|
|
@@ -47,10 +43,6 @@ export const Container = styled.div`
|
|
|
47
43
|
border: none;
|
|
48
44
|
}
|
|
49
45
|
|
|
50
|
-
&:hover {
|
|
51
|
-
background-color: ${GlobalColors.s3};
|
|
52
|
-
}
|
|
53
|
-
|
|
54
46
|
& + * {
|
|
55
47
|
margin-top: 10px;
|
|
56
48
|
}
|
|
@@ -1,15 +1,9 @@
|
|
|
1
1
|
import { Container } from "./styles";
|
|
2
2
|
|
|
3
|
-
export const CheckBox = ({ id, label, onChange, isFilter
|
|
3
|
+
export const CheckBox = ({ id, label, onChange, isFilter }) => {
|
|
4
4
|
return (
|
|
5
5
|
<Container key={`check-${id}`}>
|
|
6
|
-
<input
|
|
7
|
-
type="checkbox"
|
|
8
|
-
name={id}
|
|
9
|
-
id={id}
|
|
10
|
-
onChange={onChange}
|
|
11
|
-
defaultChecked={defaultChecked}
|
|
12
|
-
/>
|
|
6
|
+
<input type="checkbox" name={id} id={id} onChange={onChange} />
|
|
13
7
|
<label htmlFor={id}>
|
|
14
8
|
{label && <p className={isFilter && "filter-text"}>{label}</p>}
|
|
15
9
|
</label>
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Container } from "./styles";
|
|
2
|
-
import React from "react";
|
|
3
2
|
|
|
4
3
|
export const Button = ({
|
|
5
4
|
buttonType,
|
|
@@ -10,15 +9,9 @@ export const Button = ({
|
|
|
10
9
|
onClick,
|
|
11
10
|
}) => {
|
|
12
11
|
return (
|
|
13
|
-
<Container
|
|
14
|
-
className={buttonType}
|
|
15
|
-
buttonFont={buttonFont}
|
|
16
|
-
onClick={onClick}
|
|
17
|
-
key={`button-${buttonType}`}
|
|
18
|
-
disabled={buttonType === "general-button-disabled"}
|
|
19
|
-
>
|
|
12
|
+
<Container className={buttonType} buttonFont={buttonFont} onClick={onClick} key={`button-${buttonType}`}>
|
|
20
13
|
{buttonType.includes("general") && label}
|
|
21
|
-
{image && <img src={image} alt={altText}
|
|
14
|
+
{image && <img src={image} alt={altText}/>}
|
|
22
15
|
</Container>
|
|
23
16
|
);
|
|
24
17
|
};
|