@nyris/nyris-webapp 0.3.54 → 0.3.56

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.
Files changed (110) hide show
  1. package/build/asset-manifest.json +8 -7
  2. package/build/images/fav2/android-chrome-192x192.png +0 -0
  3. package/build/images/fav2/android-chrome-512x512.png +0 -0
  4. package/build/images/fav2/apple-touch-icon.png +0 -0
  5. package/build/images/fav2/browserconfig.xml +9 -0
  6. package/build/images/fav2/favicon-16x16.png +0 -0
  7. package/build/images/fav2/favicon-32x32.png +0 -0
  8. package/build/images/fav2/favicon.ico +0 -0
  9. package/build/images/fav2/mstile-144x144.png +0 -0
  10. package/build/images/fav2/mstile-150x150.png +0 -0
  11. package/build/images/fav2/mstile-310x150.png +0 -0
  12. package/build/images/fav2/mstile-310x310.png +0 -0
  13. package/build/images/fav2/mstile-70x70.png +0 -0
  14. package/build/images/fav2/safari-pinned-tab.svg +67 -0
  15. package/build/images/fav2/site.webmanifest +19 -0
  16. package/build/index.html +1 -1
  17. package/build/js/settings.example.js +1 -0
  18. package/build/manifest.json +13 -18
  19. package/build/static/css/main.abb86fa9.css +2 -0
  20. package/build/static/css/main.abb86fa9.css.map +1 -0
  21. package/build/static/js/main.2f1ab11c.js +3 -0
  22. package/build/static/js/{main.03fb1bc6.js.LICENSE.txt → main.2f1ab11c.js.LICENSE.txt} +1 -1
  23. package/build/static/js/main.2f1ab11c.js.map +1 -0
  24. package/build/static/media/path.b99a15de38340a04f80828bceeab9884.svg +3 -0
  25. package/package.json +3 -3
  26. package/public/images/fav2/android-chrome-192x192.png +0 -0
  27. package/public/images/fav2/android-chrome-512x512.png +0 -0
  28. package/public/images/fav2/apple-touch-icon.png +0 -0
  29. package/public/images/fav2/browserconfig.xml +9 -0
  30. package/public/images/fav2/favicon-16x16.png +0 -0
  31. package/public/images/fav2/favicon-32x32.png +0 -0
  32. package/public/images/fav2/favicon.ico +0 -0
  33. package/public/images/fav2/mstile-144x144.png +0 -0
  34. package/public/images/fav2/mstile-150x150.png +0 -0
  35. package/public/images/fav2/mstile-310x150.png +0 -0
  36. package/public/images/fav2/mstile-310x310.png +0 -0
  37. package/public/images/fav2/mstile-70x70.png +0 -0
  38. package/public/images/fav2/safari-pinned-tab.svg +67 -0
  39. package/public/images/fav2/site.webmanifest +19 -0
  40. package/public/index.html +8 -90
  41. package/public/js/settings.example.js +1 -0
  42. package/public/manifest.json +13 -18
  43. package/src/Store/Store.ts +0 -1
  44. package/src/Store/search/Search.ts +33 -74
  45. package/src/Store/search/search.initialState.ts +5 -4
  46. package/src/Store/search/types.ts +5 -4
  47. package/src/common/assets/icons/path.svg +3 -0
  48. package/src/components/AppMobile.tsx +0 -1
  49. package/src/components/DragDropFile.tsx +36 -28
  50. package/src/components/Experience-visual-search/ExperienceVisualSearch.scss +3 -4
  51. package/src/components/Experience-visual-search/ExperienceVisualSearch.tsx +14 -7
  52. package/src/components/Feedback.tsx +5 -5
  53. package/src/components/FooterMobile.tsx +4 -5
  54. package/src/components/GoBackButton.tsx +54 -0
  55. package/src/components/Header.tsx +27 -3
  56. package/src/components/HeaderMobile.tsx +29 -12
  57. package/src/components/ImagePreviewMobile.tsx +6 -3
  58. package/src/components/Inquiry/InquiryBanner.tsx +1 -1
  59. package/src/components/Layout.tsx +5 -14
  60. package/src/components/PanelResult/PostFilterAlgolia.tsx +3 -2
  61. package/src/components/ProductDetailView.tsx +338 -330
  62. package/src/components/ProductList/index.tsx +1 -1
  63. package/src/components/appMobile.scss +7 -0
  64. package/src/components/clear-refinements/clear-refinements.tsx +1 -1
  65. package/src/components/common.scss +18 -7
  66. package/src/components/current-refinements/current-refinements.tsx +11 -27
  67. package/src/components/drawer/cameraCustom.tsx +12 -1
  68. package/src/components/input/inputSearch.tsx +79 -21
  69. package/src/components/pre-filter/index.tsx +23 -7
  70. package/src/components/results/ItemResult.tsx +288 -285
  71. package/src/index.tsx +12 -14
  72. package/src/page/landingPage/AppMobile.tsx +3 -9
  73. package/src/page/landingPage/common.scss +170 -48
  74. package/src/page/result/index.tsx +114 -86
  75. package/src/translations.ts +3 -0
  76. package/src/types.ts +1 -0
  77. package/build/images/fav/android-icon-192x192.png +0 -0
  78. package/build/images/fav/apple-icon-114x114.png +0 -0
  79. package/build/images/fav/apple-icon-120x120.png +0 -0
  80. package/build/images/fav/apple-icon-144x144.png +0 -0
  81. package/build/images/fav/apple-icon-152x152.png +0 -0
  82. package/build/images/fav/apple-icon-180x180.png +0 -0
  83. package/build/images/fav/apple-icon-57x57.png +0 -0
  84. package/build/images/fav/apple-icon-60x60.png +0 -0
  85. package/build/images/fav/apple-icon-72x72.png +0 -0
  86. package/build/images/fav/apple-icon-76x76.png +0 -0
  87. package/build/images/fav/browserconfig.xml +0 -2
  88. package/build/images/fav/favicon-16x16.png +0 -0
  89. package/build/images/fav/favicon-32x32.png +0 -0
  90. package/build/images/fav/favicon-96x96.png +0 -0
  91. package/build/images/fav/manifest.json +0 -35
  92. package/build/static/css/main.8c0eb6c0.css +0 -2
  93. package/build/static/css/main.8c0eb6c0.css.map +0 -1
  94. package/build/static/js/main.03fb1bc6.js +0 -3
  95. package/build/static/js/main.03fb1bc6.js.map +0 -1
  96. package/public/images/fav/android-icon-192x192.png +0 -0
  97. package/public/images/fav/apple-icon-114x114.png +0 -0
  98. package/public/images/fav/apple-icon-120x120.png +0 -0
  99. package/public/images/fav/apple-icon-144x144.png +0 -0
  100. package/public/images/fav/apple-icon-152x152.png +0 -0
  101. package/public/images/fav/apple-icon-180x180.png +0 -0
  102. package/public/images/fav/apple-icon-57x57.png +0 -0
  103. package/public/images/fav/apple-icon-60x60.png +0 -0
  104. package/public/images/fav/apple-icon-72x72.png +0 -0
  105. package/public/images/fav/apple-icon-76x76.png +0 -0
  106. package/public/images/fav/browserconfig.xml +0 -2
  107. package/public/images/fav/favicon-16x16.png +0 -0
  108. package/public/images/fav/favicon-32x32.png +0 -0
  109. package/public/images/fav/favicon-96x96.png +0 -0
  110. package/public/images/fav/manifest.json +0 -35
package/src/index.tsx CHANGED
@@ -34,18 +34,16 @@ const root = ReactDOM.createRoot(
34
34
  document.getElementById('root') as HTMLElement,
35
35
  );
36
36
  root.render(
37
- <React.StrictMode>
38
- <Fragment>
39
- <Toaster />
40
- <Provider store={store}>
41
- <AuthProvider>
42
- <MuiThemeProvider theme={theme}>
43
- <BrowserRouter>
44
- <Router />
45
- </BrowserRouter>
46
- </MuiThemeProvider>
47
- </AuthProvider>
48
- </Provider>
49
- </Fragment>
50
- </React.StrictMode>,
37
+ <Fragment>
38
+ <Toaster />
39
+ <Provider store={store}>
40
+ <AuthProvider>
41
+ <MuiThemeProvider theme={theme}>
42
+ <BrowserRouter>
43
+ <Router />
44
+ </BrowserRouter>
45
+ </MuiThemeProvider>
46
+ </AuthProvider>
47
+ </Provider>
48
+ </Fragment>,
51
49
  );
@@ -1,19 +1,13 @@
1
1
  import CameraCustom from 'components/drawer/cameraCustom';
2
- import React, { useEffect, useState } from 'react';
3
- import { reset } from 'Store/search/Search';
4
- import { useAppDispatch, useAppSelector } from 'Store/Store';
2
+ import React, { useState } from 'react';
3
+ import { useAppSelector } from 'Store/Store';
5
4
  import { ReactComponent as CameraIcon } from 'common/assets/icons/take_photo.svg';
6
- import ExperienceVisualSearch from "../../components/Experience-visual-search/ExperienceVisualSearch";
5
+ import ExperienceVisualSearch from '../../components/Experience-visual-search/ExperienceVisualSearch';
7
6
 
8
7
  function AppMobile(): JSX.Element {
9
- const dispatch = useAppDispatch();
10
8
  const { settings } = useAppSelector(state => state);
11
9
  const [isOpenModalCamera, setOpenModalCamera] = useState<boolean>(false);
12
10
 
13
- useEffect(() => {
14
- dispatch(reset(''));
15
- }, [dispatch]);
16
-
17
11
  return (
18
12
  <div
19
13
  style={{
@@ -2,7 +2,7 @@
2
2
  * {
3
3
  margin: 0;
4
4
  padding: 0;
5
- font-family: 'Source Sans 3' !important;
5
+ font-family: 'Source Sans 3', sans-serif !important;
6
6
  }
7
7
  .w-100 {
8
8
  width: 100% !important;
@@ -84,19 +84,19 @@ button {
84
84
  }
85
85
 
86
86
  .text-f10 {
87
- font-family: 'Source Sans 3';
87
+ font-family: 'Source Sans 3', sans-serif;
88
88
  font-size: 10px !important;
89
89
  line-height: 10px !important;
90
90
  }
91
91
 
92
92
  .text-f22 {
93
- font-family: 'Source Sans 3';
93
+ font-family: 'Source Sans 3', sans-serif;
94
94
  font-size: 22px !important;
95
95
  line-height: 20px !important;
96
96
  }
97
97
 
98
98
  .text-btn-small {
99
- font-family: 'Source Sans 3';
99
+ font-family: 'Source Sans 3', sans-serif;;
100
100
  font-weight: 500 !important;
101
101
  font-size: 11px !important;
102
102
  line-height: 14px !important;
@@ -110,14 +110,14 @@ button {
110
110
  }
111
111
 
112
112
  .text-f8 {
113
- font-family: 'Source Sans 3' !important;
113
+ font-family: 'Source Sans 3', sans-serif !important;
114
114
  font-weight: 500 !important;
115
115
  font-size: 11px !important;
116
116
  line-height: 14px !important;
117
117
  }
118
118
 
119
119
  .text-f9 {
120
- font-family: 'Source Sans 3';
120
+ font-family: 'Source Sans 3', sans-serif;
121
121
  font-size: 11px !important;
122
122
  line-height: 14px !important;
123
123
  }
@@ -174,10 +174,10 @@ button {
174
174
  .btn-ct {
175
175
  border-right: 1px solid #e9e9ec;
176
176
  font-weight: 500;
177
- font-size: 11 !important;
177
+ font-size: 11px !important;
178
178
  line-height: 14px !important;
179
179
  color: #2b2c46 !important;
180
- font-family: 'Source Sans 3' !important;
180
+ font-family: 'Source Sans 3', sans-serif !important;
181
181
  padding: 0 10px;
182
182
  &::before,
183
183
  &::after {
@@ -480,6 +480,34 @@ button {
480
480
  }
481
481
  }
482
482
  }
483
+ .info-container {
484
+ padding: 16px 0 0 0;
485
+ .info-sku {
486
+ font-size: 18px;
487
+ font-weight: 700;
488
+ line-height: 25.63px;
489
+ padding-left: 4px;
490
+ }
491
+ .info-marking {
492
+ width: max-content;
493
+ background: #E9E9EC;
494
+ border-radius: 2px;
495
+ padding: 4px;
496
+ word-break: break-all;
497
+ font-size: 16px;
498
+ font-weight: 400;
499
+ line-height: 12px;
500
+ letter-spacing: 0.22857144474983215px;
501
+ text-align: left;
502
+ }
503
+ .info-description {
504
+ font-size: 16px;
505
+ font-weight: 400;
506
+ line-height: 22.78px;
507
+ letter-spacing: 0.22857144474983215px;
508
+ padding: 8px 0 0 4px;
509
+ }
510
+ }
483
511
  }
484
512
  .contact-support:hover {
485
513
  cursor: pointer;
@@ -520,7 +548,7 @@ button {
520
548
  right: 6px;
521
549
  position: absolute;
522
550
  border-radius: 100%;
523
- background-color: #F3F3F5;
551
+ background-color: rgba(243, 243, 245, 0.4);
524
552
  display: block;
525
553
  overflow: hidden;
526
554
  z-index: 11;
@@ -682,7 +710,7 @@ button {
682
710
 
683
711
  .title-box {
684
712
  font-size: 11px;
685
- font-family: 'Source Sans 3' !important;
713
+ font-family: 'Source Sans 3', sans-serif !important;
686
714
  line-height: 21px;
687
715
  color: #fff !important;
688
716
  text-align: center;
@@ -703,10 +731,10 @@ button {
703
731
  line-height: 21px;
704
732
  color: #ffffff;
705
733
  font-weight: 300;
706
- font-family: 'Source Sans 3';
734
+ font-family: 'Source Sans 3', sans-serif;
707
735
  }
708
736
  .text-drop-file {
709
- font-family: 'Source Sans 3';
737
+ font-family: 'Source Sans 3', sans-serif;
710
738
  font-weight: 700;
711
739
  font-size: 32px;
712
740
  line-height: 21px;
@@ -743,7 +771,7 @@ button {
743
771
  .box-bottom {
744
772
  margin-top: 26px;
745
773
  .text-bottom {
746
- font-family: 'Source Sans 3';
774
+ font-family: 'Source Sans 3', sans-serif;
747
775
  font-weight: 600;
748
776
  font-size: 11px;
749
777
  line-height: 14px;
@@ -879,7 +907,7 @@ button {
879
907
  font-style: normal;
880
908
  }
881
909
  .text-f20 {
882
- font-family: 'Source Sans 3';
910
+ font-family: 'Source Sans 3', sans-serif;
883
911
  font-size: 16px;
884
912
  line-height: 21px;
885
913
  }
@@ -926,6 +954,37 @@ button {
926
954
  // overflow: auto;
927
955
  position: relative;
928
956
 
957
+ .go-back-mobile-container {
958
+ width: 390px;
959
+ margin: 0 auto 12px;
960
+ }
961
+
962
+ .go-back-button {
963
+ margin-left: 24px;
964
+ margin-bottom: 24px;
965
+ padding: 8px;
966
+ border-radius: 20px;
967
+ width: max-content;
968
+ display: flex;
969
+ flex-direction: row;
970
+ align-items: center;
971
+ cursor: pointer;
972
+ font-family: 'Source Sans 3', sans-serif;
973
+ font-size: 12px;
974
+ font-weight: 400;
975
+ line-height: 16px;
976
+ svg {
977
+ margin-right: 8px;
978
+ }
979
+ &:hover {
980
+ background: #F3F3F5;
981
+ }
982
+ &.mobile-view {
983
+ background: #F3F3F5;
984
+ margin: 0;
985
+ }
986
+ }
987
+
929
988
  .col-left {
930
989
  width: 100%;
931
990
  height: fit-content;
@@ -1017,7 +1076,40 @@ button {
1017
1076
  border-radius: 4px;
1018
1077
  overflow: hidden;
1019
1078
  height: 100%;
1020
- } &:first-child {
1079
+ .info-container {
1080
+ flex-direction: column;
1081
+ background-color: #FAFAFA;
1082
+ flex-grow: 1;
1083
+ z-index: 100;
1084
+ display: flex;
1085
+ padding: 8px;
1086
+ .info-sku {
1087
+ font-size: 16px;
1088
+ font-weight: 700;
1089
+ line-height: 19.94px;
1090
+ padding-left: 2px;
1091
+ }
1092
+ .info-marking {
1093
+ max-width: max-content;
1094
+ padding: 2px 4px;
1095
+ font-size: 14px;
1096
+ font-weight: 400;
1097
+ line-height: 14px;
1098
+ background: #E9E9EC;
1099
+ border-radius: 2px;
1100
+ word-break: break-all;
1101
+ }
1102
+ .info-description {
1103
+ margin-top: 8px;
1104
+ font-size: 14px;
1105
+ font-weight: 400;
1106
+ line-height: 19.94px;
1107
+ letter-spacing: 0.22857144474983215px;
1108
+ padding-left: 2px;
1109
+ }
1110
+ }
1111
+ }
1112
+ &:first-child {
1021
1113
  margin-top: 0px !important;
1022
1114
  }
1023
1115
  ul {
@@ -1078,7 +1170,7 @@ button {
1078
1170
  }
1079
1171
  .box-change-hit-items {
1080
1172
  z-index: 500;
1081
- font-family: 'Source Sans 3';
1173
+ font-family: 'Source Sans 3', sans-serif;
1082
1174
  font-style: normal;
1083
1175
  font-weight: 500;
1084
1176
  font-size: 12px;
@@ -1326,7 +1418,7 @@ button {
1326
1418
  }
1327
1419
  }
1328
1420
  .wrap-input-search {
1329
- width: 512px;
1421
+ width: 427px;
1330
1422
  .box-input-search {
1331
1423
  justify-content: space-between;
1332
1424
  box-shadow: 0px 2px 12px rgba(43, 44, 70, 0.13);;
@@ -1722,14 +1814,32 @@ button {
1722
1814
  align-items: center;
1723
1815
  li {
1724
1816
  list-style-type: none;
1725
- margin-bottom: 0px;
1726
- padding: 0px;
1727
- background: #f3f3f5;
1728
- border: 1px solid #e0e0e0;
1729
- border-radius: 1px;
1817
+ margin-bottom: 0;
1818
+ padding: 4px 8px;
1819
+ background: #F3F3F5;
1820
+ border: 1px solid #E0E0E0;
1821
+ font-size: 12px;
1822
+ font-weight: 400;
1823
+ line-height: 16px;
1824
+ display: flex;
1825
+ flex-direction: row;
1826
+ align-items: center;
1827
+ cursor: default;
1828
+ &:hover {
1829
+ background: rgb(233 233 235);
1830
+ }
1831
+ svg {
1832
+ margin-left: 10px;
1833
+ }
1834
+
1730
1835
  &:last-child {
1731
- border: 0px;
1732
1836
  background: initial;
1837
+ border: none;
1838
+ button {
1839
+ span {
1840
+ color: #E31B5D;
1841
+ }
1842
+ }
1733
1843
  }
1734
1844
  button {
1735
1845
  padding: 2px 5px;
@@ -1772,7 +1882,7 @@ button {
1772
1882
  position: relative;
1773
1883
  padding: 0;
1774
1884
  a {
1775
- font-family: 'Source Sans 3';
1885
+ font-family: 'Source Sans 3', sans-serif;;
1776
1886
  font-style: normal;
1777
1887
  font-weight: 400;
1778
1888
  font-size: 14px;
@@ -1843,7 +1953,7 @@ button {
1843
1953
  align-items: center;
1844
1954
  span {
1845
1955
  font-size: 14px;
1846
- font-family: 'Source Sans 3';
1956
+ font-family: 'Source Sans 3', sans-serif;;
1847
1957
  font-style: normal;
1848
1958
  em {
1849
1959
  font-style: initial !important;
@@ -1857,7 +1967,7 @@ button {
1857
1967
  .box-switch-apply-fillter {
1858
1968
  span.MuiFormControlLabel-label {
1859
1969
  color: #aaabb5;
1860
- font-family: 'Source Sans 3';
1970
+ font-family: 'Source Sans 3', sans-serif;;
1861
1971
  font-style: normal;
1862
1972
  font-weight: 400;
1863
1973
  font-size: 14px;
@@ -1912,7 +2022,7 @@ button {
1912
2022
  background-color: #f3f3f5;
1913
2023
  border-radius: 21px;
1914
2024
  height: 40px;
1915
- .icon-search{
2025
+ .icon-search {
1916
2026
  margin-left: 11px;
1917
2027
  }
1918
2028
  .input-search-filter {
@@ -1929,6 +2039,11 @@ button {
1929
2039
  width: 512px;
1930
2040
  }
1931
2041
  }
2042
+ .btn-clear-text {
2043
+ width: 40px;
2044
+ height: 40px;
2045
+ border-radius: 50%;
2046
+ }
1932
2047
  }
1933
2048
  }
1934
2049
  .box-bottom {
@@ -2038,17 +2153,33 @@ button {
2038
2153
 
2039
2154
 
2040
2155
  .wrap-input-search-field {
2041
- width: 512px;
2042
- height: 48px;
2156
+ width: 426px;
2157
+ height: 40px;
2158
+ &.active {
2159
+ .box-input-search {
2160
+ background-color: #fff;
2161
+ .input-wrapper {
2162
+ .box-inp {
2163
+ input {
2164
+ background-color: #fff;
2165
+ }
2166
+ .pre-filter-icon {
2167
+ background-color: #fff;
2168
+ }
2169
+ }
2170
+ }
2171
+ }
2172
+ }
2043
2173
  .box-input-search {
2044
2174
  justify-content: space-between;
2045
2175
  box-shadow: 0px 2px 12px rgba(43, 44, 70, 0.13);;
2046
- background-color: #fff;
2176
+ background-color: #E9E9EC;
2047
2177
  border-radius: 24px;
2048
2178
  padding: 0px !important;
2049
- height: 48px;
2179
+ height: 40px;
2050
2180
  overflow: hidden;
2051
2181
  padding-right: 12px !important;
2182
+ border: 1px solid #CACAD1;
2052
2183
  .input-wrapper {
2053
2184
  width: 100%;
2054
2185
  display: flex;
@@ -2056,16 +2187,16 @@ button {
2056
2187
  align-items: center;
2057
2188
  .box-inp {
2058
2189
  input {
2059
- background-color: #fff;
2190
+ background-color: #E9E9EC;
2060
2191
  }
2061
2192
  .pre-filter-icon {
2062
2193
  display: flex;
2063
- min-width: 56px;
2194
+ min-width: 40px;
2064
2195
  height: 100%;
2065
2196
  justify-content: center;
2066
2197
  align-items: center;
2067
- border-right: 1px solid rgb(224, 224, 224);
2068
- background: rgb(250, 250, 250);
2198
+ border-right: 1px solid #CACAD1;
2199
+ background: #E9E9EC;
2069
2200
  cursor: pointer;
2070
2201
  }
2071
2202
  .box-key-filter {
@@ -2137,18 +2268,6 @@ button {
2137
2268
  border-radius: 100%;
2138
2269
  z-index: 10;
2139
2270
  cursor: pointer !important;
2140
- margin-right: 8px;
2141
-
2142
- &:after {
2143
- content: "";
2144
- font-size: 39px;
2145
- position: absolute;
2146
- right: -3px;
2147
- font-weight: 100;
2148
- background-color: #E0E0E0;
2149
- width: 1px;
2150
- height: 35px;
2151
- }
2152
2271
  }
2153
2272
  }
2154
2273
  }
@@ -2160,6 +2279,9 @@ button {
2160
2279
  &:hover {
2161
2280
  background-color: #0000000a;
2162
2281
  }
2282
+ &.desktop {
2283
+ padding: 9px;
2284
+ }
2163
2285
 
2164
2286
  }
2165
2287
 
@@ -2186,4 +2308,4 @@ button {
2186
2308
  @media screen and (min-width: 2047px) {
2187
2309
  max-width: 1300px;
2188
2310
  }
2189
- }
2311
+ }