@cloud-ru/uikit-product-site-section 0.23.11 → 0.23.12
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/CHANGELOG.md +11 -0
- package/README.md +21 -13
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## 0.23.12 (2025-12-03)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **UIIAAS-1251:** docs ([0226b84](https://gitverse.ru/cloud-ru-tech/uikit-product/commits/0226b8456be07d407c614979552ce88023eb8bd9))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## 0.23.11 (2025-12-03)
|
|
7
18
|
|
|
8
19
|
### Only dependencies have been changed
|
package/README.md
CHANGED
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
| content* | `ContentBasicTab[] \| CardBasicArray \| ContentInfoTab[] \| CardInfoArray \| ContentNumericTab[] \| CardNumericArray \| ContentProductTab[] \| CardProductArray` | - | |
|
|
47
47
|
| type* | "basic" \| "info" \| "numeric" \| "product" | - | |
|
|
48
48
|
| layoutType* | enum LayoutType: `"mobile"`, `"tablet"`, `"desktop"`, `"desktopSmall"` | - | |
|
|
49
|
-
| columnsConfig* | `
|
|
49
|
+
| columnsConfig* | `ColumnsConfig` | - | Конфигурация настройки колонок для разных layoutType |
|
|
50
50
|
| id | `string` | - | id секции |
|
|
51
51
|
| title | `string` | - | Название секции |
|
|
52
52
|
| subtitle | `string` | - | Название подзаголовка секции |
|
|
@@ -153,9 +153,9 @@
|
|
|
153
153
|
| button | `Omit<ButtonFilledProps, "size" \| "fullWidth">` | - | Кнопка действия |
|
|
154
154
|
| backgroundColor | enum SectionColor: `"neutral-background1-level"`, `"neutral-background"` | neutral-background1-level | Цвет фона |
|
|
155
155
|
| contentPosition | "left" \| "right" | left | Местоположение контента в секции |
|
|
156
|
-
| video | `
|
|
157
|
-
| onPlay | `
|
|
158
|
-
| onError | `
|
|
156
|
+
| video | `ReactNode \| VideoPlayerProps` | - | |
|
|
157
|
+
| onPlay | `() => void` | - | |
|
|
158
|
+
| onError | `ReactEventHandler<HTMLVideoElement>` | - | |
|
|
159
159
|
| image | `{ src: string; alt?: string; }` | - | Ссылка на изображение |
|
|
160
160
|
| titleTag | enum SectionTag: `"h2"`, `"h3"`, `"h4"` | - | Тег заголовка |
|
|
161
161
|
## SectionContentList
|
|
@@ -170,9 +170,9 @@
|
|
|
170
170
|
| items | `Item[]` | - | Список элементов |
|
|
171
171
|
| backgroundColor | enum SectionColor: `"neutral-background1-level"`, `"neutral-background"` | - | Цвет фона |
|
|
172
172
|
| contentPosition | "left" \| "right" | left | Местоположение контента в секции |
|
|
173
|
-
| video | `
|
|
174
|
-
| onPlay | `
|
|
175
|
-
| onError | `
|
|
173
|
+
| video | `ReactNode \| VideoPlayerProps` | - | |
|
|
174
|
+
| onPlay | `() => void` | - | |
|
|
175
|
+
| onError | `ReactEventHandler<HTMLVideoElement>` | - | |
|
|
176
176
|
| image | `{ src: string; alt?: string; }` | - | Ссылка на изображение |
|
|
177
177
|
| titleTag | enum SectionTag: `"h2"`, `"h3"`, `"h4"` | - | Тег заголовка |
|
|
178
178
|
## SectionContentTabs
|
|
@@ -227,7 +227,7 @@
|
|
|
227
227
|
| name | type | default value | description |
|
|
228
228
|
|------|------|---------------|-------------|
|
|
229
229
|
| layoutType* | enum LayoutType: `"mobile"`, `"tablet"`, `"desktop"`, `"desktopSmall"` | - | |
|
|
230
|
-
| items* | `
|
|
230
|
+
| items* | `CardMarketplaceProps[]` | - | Массив айтемов |
|
|
231
231
|
| title | `string` | - | Название секции |
|
|
232
232
|
| subtitle | `string` | - | Подзаголовок секции |
|
|
233
233
|
| description | `string` | - | Описание секции |
|
|
@@ -250,9 +250,9 @@
|
|
|
250
250
|
| description | `string` | - | Описание секции |
|
|
251
251
|
| titleTag | enum SectionTag: `"h2"`, `"h3"`, `"h4"` | - | Тег заголовка |
|
|
252
252
|
| id | `string` | - | id секции |
|
|
253
|
-
| video | `
|
|
254
|
-
| onPlay | `
|
|
255
|
-
| onError | `
|
|
253
|
+
| video | `ReactNode \| VideoPlayerProps` | - | |
|
|
254
|
+
| onPlay | `() => void` | - | |
|
|
255
|
+
| onError | `ReactEventHandler<HTMLVideoElement>` | - | |
|
|
256
256
|
| image | `{ src: string; alt?: string; }` | - | Ссылка на изображение |
|
|
257
257
|
## SectionPersonalManager
|
|
258
258
|
### Props
|
|
@@ -265,7 +265,7 @@
|
|
|
265
265
|
| title | `string` | - | |
|
|
266
266
|
| description | `string` | - | |
|
|
267
267
|
| card | `{ title: string; text: string; }` | - | |
|
|
268
|
-
| benefits | `Pick<
|
|
268
|
+
| benefits | `Pick<CardBasicProps, "title" \| "icon">[]` | - | |
|
|
269
269
|
| withoutBenefits | `boolean` | - | |
|
|
270
270
|
| className | `string` | - | CSS-класс |
|
|
271
271
|
## SectionPromoList
|
|
@@ -292,11 +292,19 @@
|
|
|
292
292
|
| id | `string` | - | id секции |
|
|
293
293
|
| className | `string` | - | CSS-класс |
|
|
294
294
|
| backgroundColor | enum SectionColor: `"neutral-background1-level"`, `"neutral-background"` | - | Цвет фона |
|
|
295
|
-
| gap |
|
|
295
|
+
| gap | "s" \| "m" \| "l" \| "xs" | s | Размер отступов сетки |
|
|
296
296
|
## SectionTable
|
|
297
297
|
### Props
|
|
298
298
|
| name | type | default value | description |
|
|
299
299
|
|------|------|---------------|-------------|
|
|
300
|
+
| layoutType* | enum LayoutType: `"mobile"`, `"tablet"`, `"desktop"`, `"desktopSmall"` | - | |
|
|
301
|
+
| rows* | `Cell[][]` | - | |
|
|
302
|
+
| id | `string` | - | id секции |
|
|
303
|
+
| className | `string` | - | CSS-класс |
|
|
304
|
+
| title | `string` | - | Заголовок |
|
|
305
|
+
| subtitle | `string` | - | Подзаголовок |
|
|
306
|
+
| description | `string` | - | Описание |
|
|
307
|
+
| withHeader | `boolean` | - | |
|
|
300
308
|
## SectionCarousel
|
|
301
309
|
### Props
|
|
302
310
|
| name | type | default value | description |
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloud-ru/uikit-product-site-section",
|
|
3
3
|
"title": "Site Section",
|
|
4
|
-
"version": "0.23.
|
|
4
|
+
"version": "0.23.12",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.css",
|
|
7
7
|
"*.woff",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@cloud-ru/uikit-product-site-cards": "0.11.9",
|
|
42
42
|
"@cloud-ru/uikit-product-site-case-card": "0.4.7",
|
|
43
43
|
"@cloud-ru/uikit-product-site-grid": "0.1.8",
|
|
44
|
-
"@cloud-ru/uikit-product-site-layout": "0.
|
|
44
|
+
"@cloud-ru/uikit-product-site-layout": "0.3.0",
|
|
45
45
|
"@cloud-ru/uikit-product-site-media": "0.1.38",
|
|
46
46
|
"@cloud-ru/uikit-product-site-rich-text": "0.2.15",
|
|
47
47
|
"@cloud-ru/uikit-product-site-table": "0.2.16",
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"@cloud-ru/uikit-product-locale": "*",
|
|
68
68
|
"@snack-uikit/figma-tokens": "*"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "97f32de112901b4523a7bf7a87bc64aaf21f6c67"
|
|
71
71
|
}
|