@cloud-ru/uikit-product-site-hero 1.1.2 → 1.2.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
|
+
# 1.2.0 (2025-12-18)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **SITE-10424:** edit styles ([c699b5b](https://gitverse.ru/cloud-ru-tech/uikit-product/commits/c699b5bd4db41da4bdf613a5bf4a508d4fb065bd))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## 1.1.2 (2025-12-17)
|
|
7
18
|
|
|
8
19
|
### Only dependencies have been changed
|
package/README.md
CHANGED
|
@@ -45,7 +45,7 @@ Hero blocks for Site
|
|
|
45
45
|
| description* | `string` | - | Описание продукта |
|
|
46
46
|
| title* | `string` | - | Заголовок продукта |
|
|
47
47
|
| image | `string` | - | Ссылка на изображение |
|
|
48
|
-
| video | `
|
|
48
|
+
| video | `SiteVideoProps` | - | Видео |
|
|
49
49
|
| tags | `Pick<TagSpecialProps, "text" \| "appearance" \| "tip">[]` | [] | Тэги |
|
|
50
50
|
| platforms | `Platform[]` | [] | Платформы |
|
|
51
51
|
| handlePlatformClick | `(e: MouseEvent<HTMLAnchorElement, MouseEvent>, platform: Platform) => void` | - | Обработка клика по платформе |
|
|
@@ -5,16 +5,6 @@
|
|
|
5
5
|
background-color:var(--sys-neutral-background, #eeeff3);
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
.withBottomPadding{
|
|
9
|
-
padding-bottom:var(--dimension-5m, 40px);
|
|
10
|
-
}
|
|
11
|
-
.withBottomPadding[data-layout-type=tablet]{
|
|
12
|
-
padding-bottom:var(--dimension-4m, 32px);
|
|
13
|
-
}
|
|
14
|
-
.withBottomPadding[data-layout-type=mobile]{
|
|
15
|
-
padding-bottom:var(--dimension-3m, 24px);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
8
|
.contentLayout{
|
|
19
9
|
display:flex;
|
|
20
10
|
flex-direction:column;
|
|
@@ -89,4 +79,14 @@
|
|
|
89
79
|
}
|
|
90
80
|
.heroZero .buttons .button{
|
|
91
81
|
border-radius:2px;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.withBottomPadding{
|
|
85
|
+
padding-bottom:var(--dimension-5m, 40px);
|
|
86
|
+
}
|
|
87
|
+
.withBottomPadding[data-layout-type=tablet]{
|
|
88
|
+
padding-bottom:var(--dimension-4m, 32px);
|
|
89
|
+
}
|
|
90
|
+
.withBottomPadding[data-layout-type=mobile]{
|
|
91
|
+
padding-bottom:var(--dimension-3m, 24px);
|
|
92
92
|
}
|
|
@@ -5,16 +5,6 @@
|
|
|
5
5
|
background-color:var(--sys-neutral-background, #eeeff3);
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
.withBottomPadding{
|
|
9
|
-
padding-bottom:var(--dimension-5m, 40px);
|
|
10
|
-
}
|
|
11
|
-
.withBottomPadding[data-layout-type=tablet]{
|
|
12
|
-
padding-bottom:var(--dimension-4m, 32px);
|
|
13
|
-
}
|
|
14
|
-
.withBottomPadding[data-layout-type=mobile]{
|
|
15
|
-
padding-bottom:var(--dimension-3m, 24px);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
8
|
.contentLayout{
|
|
19
9
|
display:flex;
|
|
20
10
|
flex-direction:column;
|
|
@@ -89,4 +79,14 @@
|
|
|
89
79
|
}
|
|
90
80
|
.heroZero .buttons .button{
|
|
91
81
|
border-radius:2px;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.withBottomPadding{
|
|
85
|
+
padding-bottom:var(--dimension-5m, 40px);
|
|
86
|
+
}
|
|
87
|
+
.withBottomPadding[data-layout-type=tablet]{
|
|
88
|
+
padding-bottom:var(--dimension-4m, 32px);
|
|
89
|
+
}
|
|
90
|
+
.withBottomPadding[data-layout-type=mobile]{
|
|
91
|
+
padding-bottom:var(--dimension-3m, 24px);
|
|
92
92
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloud-ru/uikit-product-site-hero",
|
|
3
3
|
"title": "Site Hero",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.2.0",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.css",
|
|
7
7
|
"*.woff",
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"peerDependencies": {
|
|
57
57
|
"@cloud-ru/uikit-product-locale": "*"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "90b2beff6b77a863a2ea9ea7b9509d683ee5dda3"
|
|
60
60
|
}
|
|
@@ -10,18 +10,6 @@
|
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
.withBottomPadding {
|
|
14
|
-
padding-bottom: var.$dimension-5m;
|
|
15
|
-
|
|
16
|
-
&[data-layout-type='tablet'] {
|
|
17
|
-
padding-bottom: var.$dimension-4m;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
&[data-layout-type='mobile'] {
|
|
21
|
-
padding-bottom: var.$dimension-3m;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
13
|
.contentLayout {
|
|
26
14
|
display: flex;
|
|
27
15
|
flex-direction: column;
|
|
@@ -115,3 +103,15 @@
|
|
|
115
103
|
}
|
|
116
104
|
}
|
|
117
105
|
}
|
|
106
|
+
|
|
107
|
+
.withBottomPadding {
|
|
108
|
+
padding-bottom: var.$dimension-5m;
|
|
109
|
+
|
|
110
|
+
&[data-layout-type='tablet'] {
|
|
111
|
+
padding-bottom: var.$dimension-4m;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
&[data-layout-type='mobile'] {
|
|
115
|
+
padding-bottom: var.$dimension-3m;
|
|
116
|
+
}
|
|
117
|
+
}
|