@cloud-ru/uikit-product-site-section 0.23.11 → 0.23.13

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 (3) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/README.md +21 -13
  3. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -3,6 +3,26 @@
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.13 (2025-12-04)
7
+
8
+ ### Only dependencies have been changed
9
+ * [@cloud-ru/uikit-product-site-layout@0.4.0](https://gitverse.ru/cloud-ru-tech/uikit-product/-/blob/master/packages/site-layout/CHANGELOG.md)
10
+
11
+
12
+
13
+
14
+
15
+ ## 0.23.12 (2025-12-03)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * **UIIAAS-1251:** docs ([0226b84](https://gitverse.ru/cloud-ru-tech/uikit-product/commits/0226b8456be07d407c614979552ce88023eb8bd9))
21
+
22
+
23
+
24
+
25
+
6
26
  ## 0.23.11 (2025-12-03)
7
27
 
8
28
  ### 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* | `WithSupportProps<WithLayoutType<{ children: ReactNode; columnsConfig: ColumnsConfig; gap?: "s" \| "m" \| "l" \| "xs"; className?: string; }>>` | - | Конфигурация настройки колонок для разных layoutType |
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 | `any` | - | |
157
- | onPlay | `any` | - | |
158
- | onError | `any` | - | |
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 | `any` | - | |
174
- | onPlay | `any` | - | |
175
- | onError | `any` | - | |
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* | `WithSupportProps<WithLayoutType<{ title: string; description?: string; href: string; target?: HTMLAttributeAnchorTarget; onClick?(e?: MouseEvent<HTMLAnchorElement \| HTMLDivElement, MouseEvent>): void; logo: { ...; }; tag?: Omit<...>; disabled?: boolean; className?: string; }>>[]` | - | Массив айтемов |
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 | `any` | - | |
254
- | onPlay | `any` | - | |
255
- | onError | `any` | - | |
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<WithSupportProps<WithLayoutType<{ title: string; description?: string; icon?: ReactNode \| IconElement \| { src: string; alt?: string; }; className?: string; }>>, "title" \| "icon">[]` | - | |
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 | `WithSupportProps<WithLayoutType<{ children: ReactNode; columnsConfig: ColumnsConfig; gap?: "s" \| "m" \| "l" \| "xs"; className?: string; }>>` | s | Размер отступов сетки |
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.11",
4
+ "version": "0.23.13",
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.2.7",
44
+ "@cloud-ru/uikit-product-site-layout": "0.4.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": "6366d4a4912c09f95af6ba794df7b5a246893762"
70
+ "gitHead": "14f18bff39619ba8f885fff42922458e7e0ee62c"
71
71
  }