ecomlab-components-next 0.1.169 → 0.1.170

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.
@@ -1,13 +1,12 @@
1
1
  // @import url('../../../font.scss');
2
2
 
3
3
  .list-of-content {
4
- top: 20px;
5
- height: 600px;
4
+ height: 100%;
6
5
  display: flex;
7
6
  flex-direction: column;
8
7
  gap: 12px;
9
- max-height: 65vh;
10
8
  position: sticky;
9
+ max-height: calc(100vh - 122px - 40px);
11
10
 
12
11
  &__title {
13
12
  color: #9F9F9F;
@@ -16,7 +16,7 @@ var _default = exports["default"] = {
16
16
  name: ['Как увеличить продажи', 'asdasdsa'],
17
17
  author: ["Александрhhhhhhhhhhh Морозовhhhhhhh", "rgb(175, 55, 63)"],
18
18
  annotation: 'Когда селлер, торгующий на маркетплейсе, становится популярнее, ему приходится ежедневно обрабатывать… Когда селлер, торгующий на маркетплейсе, становится популярнее, ему приходится ежедневно обрабатывать…',
19
- photoPreview: [],
19
+ photoPreview: ["https://file.ecomru.ru:4453/api/v1/file/download/736b87c6-2af3-4471-b9a2-7babd3dabd7b"],
20
20
  tags: ['какой-то тэг', 'какой-то тэг'],
21
21
  date: "14 апреля 2025",
22
22
  timeToRead: 100500,
@@ -91,7 +91,8 @@ var SliderCarousel = function SliderCarousel(_ref) {
91
91
  className: "slider-carousel__img",
92
92
  src: _no_image["default"],
93
93
  onError: function onError(e) {
94
- return e.target.src = _no_image["default"];
94
+ e.currentTarget.src = "/fallback-image.jpg"; // Локальная заглушка
95
+ e.currentTarget.onerror = null;
95
96
  },
96
97
  alt: alt
97
98
  }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ecomlab-components-next",
3
- "version": "0.1.169",
3
+ "version": "0.1.170",
4
4
  "description": "A set of common and reusable React components",
5
5
  "main": "dist/index.js",
6
6
  "files": [