@snack-uikit/info-block 0.2.1-preview-778a0ef6.0 → 0.3.0
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
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.3.0 (2024-02-26)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **FF-4324:** change in InfoBlock description type to ReactNode ([b12b06a](https://github.com/cloud-ru-tech/snack-uikit/commit/b12b06ad9b47809afb41ef5c4689884ddd8a684a))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# 0.2.0 (2024-02-22)
|
|
7
18
|
|
|
8
19
|
|
package/README.md
CHANGED
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
| name | type | default value | description |
|
|
15
15
|
|------|------|---------------|-------------|
|
|
16
16
|
| title | `string` | - | Заголовок |
|
|
17
|
-
| description | `
|
|
17
|
+
| description | `ReactNode` | - | Подзаголовок |
|
|
18
18
|
| icon | `Pick<IconPredefinedProps, "icon" \| "decor" \| "appearance">` | - | Иконка |
|
|
19
19
|
| size | enum Size: `"s"`, `"m"`, `"l"` | - | Размер |
|
|
20
20
|
| align | enum Align: `"horizontal"`, `"vertical"` | - | Расположение элементов |
|
|
21
|
-
| footer | `ReactElement<FooterProps, ({ primaryButton, secondaryButton, className }: FooterProps) => Element
|
|
21
|
+
| footer | `ReactNode \| ReactElement<FooterProps, ({ primaryButton, secondaryButton, className }: FooterProps) => Element>` | - | Вложенный Footer |
|
|
22
22
|
| className | `string` | - | CSS-класс |
|
|
23
23
|
|
|
24
24
|
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
6
|
"title": "Info Block",
|
|
7
|
-
"version": "0.
|
|
7
|
+
"version": "0.3.0",
|
|
8
8
|
"sideEffects": [
|
|
9
9
|
"*.css",
|
|
10
10
|
"*.woff",
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@snack-uikit/button": "0.16.1",
|
|
36
36
|
"@snack-uikit/icon-predefined": "0.4.2",
|
|
37
|
-
"@snack-uikit/tooltip": "0.12.1
|
|
37
|
+
"@snack-uikit/tooltip": "0.12.1",
|
|
38
38
|
"@snack-uikit/typography": "0.6.1",
|
|
39
39
|
"@snack-uikit/utils": "3.2.0",
|
|
40
40
|
"classnames": "2.3.2"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "eca9622fe5915bb18e60c4eb7a195ebc04f19f9c"
|
|
43
43
|
}
|
|
@@ -14,7 +14,7 @@ export type InfoBlockProps = WithSupportProps<{
|
|
|
14
14
|
/** Заголовок */
|
|
15
15
|
title?: string;
|
|
16
16
|
/** Подзаголовок */
|
|
17
|
-
description?:
|
|
17
|
+
description?: ReactNode;
|
|
18
18
|
/** Иконка */
|
|
19
19
|
icon?: Pick<IconPredefinedProps, 'icon' | 'decor' | 'appearance'>;
|
|
20
20
|
/** Размер */
|