@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/build/asset-manifest.json +3 -3
- package/build/index.html +1 -1
- package/build/js/settings.example.js +0 -2
- package/build/static/js/{main.ebb92e93.js → main.03fb1bc6.js} +3 -3
- package/build/static/js/{main.ebb92e93.js.map → main.03fb1bc6.js.map} +1 -1
- package/package.json +3 -3
- package/public/js/settings.example.js +0 -2
- package/src/components/results/ItemResult.tsx +16 -4
- /package/build/static/js/{main.ebb92e93.js.LICENSE.txt → main.03fb1bc6.js.LICENSE.txt} +0 -0
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nyris/nyris-webapp",
|
|
3
|
-
"version": "0.3.
|
|
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.
|
|
11
|
-
"@nyris/nyris-react-components": "^0.3.
|
|
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",
|
|
@@ -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:
|
|
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
|
|
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:
|
|
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
|
|
558
|
+
<IconOpenLink
|
|
559
|
+
fill={settings.theme?.CTAButtonTextColor || '#FFFFFF'}
|
|
560
|
+
width={16}
|
|
561
|
+
/>
|
|
550
562
|
)}
|
|
551
563
|
</div>
|
|
552
564
|
</div>
|
|
File without changes
|