@nyris/nyris-webapp 0.3.53 → 0.3.55

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 -2
  18. package/build/manifest.json +13 -18
  19. package/build/static/css/main.d7425370.css +2 -0
  20. package/build/static/css/main.d7425370.css.map +1 -0
  21. package/build/static/js/main.7b9e6c68.js +3 -0
  22. package/build/static/js/{main.ebb92e93.js.LICENSE.txt → main.7b9e6c68.js.LICENSE.txt} +1 -1
  23. package/build/static/js/main.7b9e6c68.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 -2
  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 +10 -22
  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 +296 -281
  71. package/src/index.tsx +12 -14
  72. package/src/page/landingPage/AppMobile.tsx +3 -9
  73. package/src/page/landingPage/common.scss +164 -48
  74. package/src/page/result/index.tsx +116 -87
  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.ebb92e93.js +0 -3
  95. package/build/static/js/main.ebb92e93.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,29 @@ 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
+ line-height: 14px;
498
+ }
499
+ .info-description {
500
+ font-size: 14px;
501
+ font-weight: 400;
502
+ line-height: 19.94px;
503
+ padding: 8px 0 0 4px;
504
+ }
505
+ }
483
506
  }
484
507
  .contact-support:hover {
485
508
  cursor: pointer;
@@ -520,7 +543,7 @@ button {
520
543
  right: 6px;
521
544
  position: absolute;
522
545
  border-radius: 100%;
523
- background-color: #F3F3F5;
546
+ background-color: rgba(243, 243, 245, 0.4);
524
547
  display: block;
525
548
  overflow: hidden;
526
549
  z-index: 11;
@@ -682,7 +705,7 @@ button {
682
705
 
683
706
  .title-box {
684
707
  font-size: 11px;
685
- font-family: 'Source Sans 3' !important;
708
+ font-family: 'Source Sans 3', sans-serif !important;
686
709
  line-height: 21px;
687
710
  color: #fff !important;
688
711
  text-align: center;
@@ -703,10 +726,10 @@ button {
703
726
  line-height: 21px;
704
727
  color: #ffffff;
705
728
  font-weight: 300;
706
- font-family: 'Source Sans 3';
729
+ font-family: 'Source Sans 3', sans-serif;
707
730
  }
708
731
  .text-drop-file {
709
- font-family: 'Source Sans 3';
732
+ font-family: 'Source Sans 3', sans-serif;
710
733
  font-weight: 700;
711
734
  font-size: 32px;
712
735
  line-height: 21px;
@@ -743,7 +766,7 @@ button {
743
766
  .box-bottom {
744
767
  margin-top: 26px;
745
768
  .text-bottom {
746
- font-family: 'Source Sans 3';
769
+ font-family: 'Source Sans 3', sans-serif;
747
770
  font-weight: 600;
748
771
  font-size: 11px;
749
772
  line-height: 14px;
@@ -879,7 +902,7 @@ button {
879
902
  font-style: normal;
880
903
  }
881
904
  .text-f20 {
882
- font-family: 'Source Sans 3';
905
+ font-family: 'Source Sans 3', sans-serif;
883
906
  font-size: 16px;
884
907
  line-height: 21px;
885
908
  }
@@ -926,6 +949,37 @@ button {
926
949
  // overflow: auto;
927
950
  position: relative;
928
951
 
952
+ .go-back-mobile-container {
953
+ width: 390px;
954
+ margin: 0 auto 12px;
955
+ }
956
+
957
+ .go-back-button {
958
+ margin-left: 24px;
959
+ margin-top: 24px;
960
+ padding: 8px;
961
+ border-radius: 20px;
962
+ width: max-content;
963
+ display: flex;
964
+ flex-direction: row;
965
+ align-items: center;
966
+ cursor: pointer;
967
+ font-family: 'Source Sans 3', sans-serif;
968
+ font-size: 12px;
969
+ font-weight: 400;
970
+ line-height: 16px;
971
+ svg {
972
+ margin-right: 8px;
973
+ }
974
+ &:hover {
975
+ background: #F3F3F5;
976
+ }
977
+ &.mobile-view {
978
+ background: #F3F3F5;
979
+ margin: 0;
980
+ }
981
+ }
982
+
929
983
  .col-left {
930
984
  width: 100%;
931
985
  height: fit-content;
@@ -1017,7 +1071,39 @@ button {
1017
1071
  border-radius: 4px;
1018
1072
  overflow: hidden;
1019
1073
  height: 100%;
1020
- } &:first-child {
1074
+ .info-container {
1075
+ flex-direction: column;
1076
+ background-color: #FAFAFA;
1077
+ flex-grow: 1;
1078
+ z-index: 100;
1079
+ display: flex;
1080
+ padding: 8px;
1081
+ .info-sku {
1082
+ font-size: 14px;
1083
+ font-weight: 700;
1084
+ line-height: 19.94px;
1085
+ padding-left: 2px;
1086
+ }
1087
+ .info-marking {
1088
+ max-width: max-content;
1089
+ padding: 2px 4px;
1090
+ font-size: 12px;
1091
+ font-weight: 400;
1092
+ line-height: 14px;
1093
+ background: #E9E9EC;
1094
+ border-radius: 2px;
1095
+ word-break: break-all;
1096
+ }
1097
+ .info-description {
1098
+ margin-top: 8px;
1099
+ font-size: 10px;
1100
+ font-weight: 400;
1101
+ line-height: 11.39px;
1102
+ padding-left: 2px;
1103
+ }
1104
+ }
1105
+ }
1106
+ &:first-child {
1021
1107
  margin-top: 0px !important;
1022
1108
  }
1023
1109
  ul {
@@ -1078,7 +1164,7 @@ button {
1078
1164
  }
1079
1165
  .box-change-hit-items {
1080
1166
  z-index: 500;
1081
- font-family: 'Source Sans 3';
1167
+ font-family: 'Source Sans 3', sans-serif;
1082
1168
  font-style: normal;
1083
1169
  font-weight: 500;
1084
1170
  font-size: 12px;
@@ -1326,7 +1412,7 @@ button {
1326
1412
  }
1327
1413
  }
1328
1414
  .wrap-input-search {
1329
- width: 512px;
1415
+ width: 427px;
1330
1416
  .box-input-search {
1331
1417
  justify-content: space-between;
1332
1418
  box-shadow: 0px 2px 12px rgba(43, 44, 70, 0.13);;
@@ -1722,14 +1808,32 @@ button {
1722
1808
  align-items: center;
1723
1809
  li {
1724
1810
  list-style-type: none;
1725
- margin-bottom: 0px;
1726
- padding: 0px;
1727
- background: #f3f3f5;
1728
- border: 1px solid #e0e0e0;
1729
- border-radius: 1px;
1811
+ margin-bottom: 0;
1812
+ padding: 4px 8px;
1813
+ background: #F3F3F5;
1814
+ border: 1px solid #E0E0E0;
1815
+ font-size: 12px;
1816
+ font-weight: 400;
1817
+ line-height: 16px;
1818
+ display: flex;
1819
+ flex-direction: row;
1820
+ align-items: center;
1821
+ cursor: default;
1822
+ &:hover {
1823
+ background: rgb(233 233 235);
1824
+ }
1825
+ svg {
1826
+ margin-left: 10px;
1827
+ }
1828
+
1730
1829
  &:last-child {
1731
- border: 0px;
1732
1830
  background: initial;
1831
+ border: none;
1832
+ button {
1833
+ span {
1834
+ color: #E31B5D;
1835
+ }
1836
+ }
1733
1837
  }
1734
1838
  button {
1735
1839
  padding: 2px 5px;
@@ -1772,7 +1876,7 @@ button {
1772
1876
  position: relative;
1773
1877
  padding: 0;
1774
1878
  a {
1775
- font-family: 'Source Sans 3';
1879
+ font-family: 'Source Sans 3', sans-serif;;
1776
1880
  font-style: normal;
1777
1881
  font-weight: 400;
1778
1882
  font-size: 14px;
@@ -1843,7 +1947,7 @@ button {
1843
1947
  align-items: center;
1844
1948
  span {
1845
1949
  font-size: 14px;
1846
- font-family: 'Source Sans 3';
1950
+ font-family: 'Source Sans 3', sans-serif;;
1847
1951
  font-style: normal;
1848
1952
  em {
1849
1953
  font-style: initial !important;
@@ -1857,7 +1961,7 @@ button {
1857
1961
  .box-switch-apply-fillter {
1858
1962
  span.MuiFormControlLabel-label {
1859
1963
  color: #aaabb5;
1860
- font-family: 'Source Sans 3';
1964
+ font-family: 'Source Sans 3', sans-serif;;
1861
1965
  font-style: normal;
1862
1966
  font-weight: 400;
1863
1967
  font-size: 14px;
@@ -1912,7 +2016,7 @@ button {
1912
2016
  background-color: #f3f3f5;
1913
2017
  border-radius: 21px;
1914
2018
  height: 40px;
1915
- .icon-search{
2019
+ .icon-search {
1916
2020
  margin-left: 11px;
1917
2021
  }
1918
2022
  .input-search-filter {
@@ -1929,6 +2033,11 @@ button {
1929
2033
  width: 512px;
1930
2034
  }
1931
2035
  }
2036
+ .btn-clear-text {
2037
+ width: 40px;
2038
+ height: 40px;
2039
+ border-radius: 50%;
2040
+ }
1932
2041
  }
1933
2042
  }
1934
2043
  .box-bottom {
@@ -2038,17 +2147,33 @@ button {
2038
2147
 
2039
2148
 
2040
2149
  .wrap-input-search-field {
2041
- width: 512px;
2042
- height: 48px;
2150
+ width: 426px;
2151
+ height: 40px;
2152
+ &.active {
2153
+ .box-input-search {
2154
+ background-color: #fff;
2155
+ .input-wrapper {
2156
+ .box-inp {
2157
+ input {
2158
+ background-color: #fff;
2159
+ }
2160
+ .pre-filter-icon {
2161
+ background-color: #fff;
2162
+ }
2163
+ }
2164
+ }
2165
+ }
2166
+ }
2043
2167
  .box-input-search {
2044
2168
  justify-content: space-between;
2045
2169
  box-shadow: 0px 2px 12px rgba(43, 44, 70, 0.13);;
2046
- background-color: #fff;
2170
+ background-color: #E9E9EC;
2047
2171
  border-radius: 24px;
2048
2172
  padding: 0px !important;
2049
- height: 48px;
2173
+ height: 40px;
2050
2174
  overflow: hidden;
2051
2175
  padding-right: 12px !important;
2176
+ border: 1px solid #CACAD1;
2052
2177
  .input-wrapper {
2053
2178
  width: 100%;
2054
2179
  display: flex;
@@ -2056,16 +2181,16 @@ button {
2056
2181
  align-items: center;
2057
2182
  .box-inp {
2058
2183
  input {
2059
- background-color: #fff;
2184
+ background-color: #E9E9EC;
2060
2185
  }
2061
2186
  .pre-filter-icon {
2062
2187
  display: flex;
2063
- min-width: 56px;
2188
+ min-width: 40px;
2064
2189
  height: 100%;
2065
2190
  justify-content: center;
2066
2191
  align-items: center;
2067
- border-right: 1px solid rgb(224, 224, 224);
2068
- background: rgb(250, 250, 250);
2192
+ border-right: 1px solid #CACAD1;
2193
+ background: #E9E9EC;
2069
2194
  cursor: pointer;
2070
2195
  }
2071
2196
  .box-key-filter {
@@ -2137,18 +2262,6 @@ button {
2137
2262
  border-radius: 100%;
2138
2263
  z-index: 10;
2139
2264
  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
2265
  }
2153
2266
  }
2154
2267
  }
@@ -2160,6 +2273,9 @@ button {
2160
2273
  &:hover {
2161
2274
  background-color: #0000000a;
2162
2275
  }
2276
+ &.desktop {
2277
+ padding: 9px;
2278
+ }
2163
2279
 
2164
2280
  }
2165
2281
 
@@ -2186,4 +2302,4 @@ button {
2186
2302
  @media screen and (min-width: 2047px) {
2187
2303
  max-width: 1300px;
2188
2304
  }
2189
- }
2305
+ }