@nyris/nyris-webapp 0.3.53 → 0.3.54

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/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@nyris/nyris-webapp",
3
- "version": "0.3.53",
3
+ "version": "0.3.54",
4
4
  "dependencies": {
5
5
  "@auth0/auth0-react": "^2.2.4",
6
6
  "@emailjs/browser": "^4.3.3",
7
7
  "@material-ui/core": "^4.12.4",
8
8
  "@material-ui/icons": "^4.11.3",
9
9
  "@material-ui/lab": "^4.0.0-alpha.61",
10
- "@nyris/nyris-api": "^0.3.53",
11
- "@nyris/nyris-react-components": "^0.3.53",
10
+ "@nyris/nyris-api": "^0.3.54",
11
+ "@nyris/nyris-react-components": "^0.3.54",
12
12
  "@reduxjs/toolkit": "^2.2.1",
13
13
  "@splidejs/react-splide": "^0.7.12",
14
14
  "@testing-library/jest-dom": "^5.17.0",
@@ -48,8 +48,6 @@ var settings = {
48
48
  },
49
49
  language: 'en',
50
50
  // features
51
- shareOption: '',
52
- showFeedbackAndShare: '',
53
51
  showPoweredByNyris: '',
54
52
  warehouseVariant: false,
55
53
  postFilterOption: '',
@@ -449,7 +449,9 @@ function ItemResult(props: Props) {
449
449
  boxShadow: '-2px 2px 4px rgba(170, 171, 181, 0.5)',
450
450
  // marginBottom: 22,
451
451
  height: 40,
452
- background: settings.theme?.CTAButtonColor || settings.theme?.primaryColor,
452
+ background:
453
+ settings.theme?.CTAButtonColor ||
454
+ settings.theme?.primaryColor,
453
455
  borderRadius: 4,
454
456
  padding: '0px 8px',
455
457
  marginTop: '8px',
@@ -463,6 +465,7 @@ function ItemResult(props: Props) {
463
465
  style={{
464
466
  display: 'flex',
465
467
  justifyContent: 'space-between',
468
+ alignItems: 'center',
466
469
  width: '100%',
467
470
  padding: 0,
468
471
  cursor: ctaLink ? 'pointer' : 'normal',
@@ -492,7 +495,10 @@ function ItemResult(props: Props) {
492
495
  {truncateString(dataItem[settings.field.productName], 45)}
493
496
  </Typography>
494
497
  {!isMobile && ctaLink && (
495
- <IconOpenLink fill={settings.theme?.CTAButtonTextColor || '#FFFFFF'} width={16} />
498
+ <IconOpenLink
499
+ fill={settings.theme?.CTAButtonTextColor || '#FFFFFF'}
500
+ width={16}
501
+ />
496
502
  )}
497
503
  </div>
498
504
  </div>
@@ -503,7 +509,9 @@ function ItemResult(props: Props) {
503
509
  boxShadow: '-2px 2px 4px rgba(170, 171, 181, 0.5)',
504
510
  // marginBottom: 22,
505
511
  height: 40,
506
- background: settings.theme?.CTAButtonColor || settings.theme?.primaryColor,
512
+ background:
513
+ settings.theme?.CTAButtonColor ||
514
+ settings.theme?.primaryColor,
507
515
  borderRadius: 4,
508
516
  padding: '0px 8px',
509
517
  marginTop: '8px',
@@ -517,6 +525,7 @@ function ItemResult(props: Props) {
517
525
  style={{
518
526
  display: 'flex',
519
527
  justifyContent: 'space-between',
528
+ alignItems: 'center',
520
529
  width: '100%',
521
530
  padding: 0,
522
531
  cursor: ctaLink ? 'pointer' : 'normal',
@@ -546,7 +555,10 @@ function ItemResult(props: Props) {
546
555
  {settings.CTAButtonText}
547
556
  </Typography>
548
557
  {!isMobile && ctaLink && (
549
- <IconOpenLink fill={settings.theme?.CTAButtonTextColor || '#FFFFFF'} width={16} />
558
+ <IconOpenLink
559
+ fill={settings.theme?.CTAButtonTextColor || '#FFFFFF'}
560
+ width={16}
561
+ />
550
562
  )}
551
563
  </div>
552
564
  </div>