@cloud-ru/uikit-product-site-hero 1.1.2 → 1.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,28 @@
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.3.0 (2025-12-18)
7
+
8
+
9
+ ### Features
10
+
11
+ * **SITE-10338:** update gap site components ([9afded2](https://gitverse.ru/cloud-ru-tech/uikit-product/commits/9afded24fb470672c8f92be51ecb3fa147ba7bf1))
12
+
13
+
14
+
15
+
16
+
17
+ # 1.2.0 (2025-12-18)
18
+
19
+
20
+ ### Features
21
+
22
+ * **SITE-10424:** edit styles ([c699b5b](https://gitverse.ru/cloud-ru-tech/uikit-product/commits/c699b5bd4db41da4bdf613a5bf4a508d4fb065bd))
23
+
24
+
25
+
26
+
27
+
6
28
  ## 1.1.2 (2025-12-17)
7
29
 
8
30
  ### 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 | `VideoPlayerProps \| ReactNode` | - | Видео |
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` | - | Обработка клика по платформе |
@@ -17,7 +17,7 @@
17
17
 
18
18
  .tagRow{
19
19
  display:flex;
20
- gap:var(--dimension-050m, 4px);
20
+ gap:var(--dimension-025m, 2px);
21
21
  }
22
22
  .tagRow .promoTag{
23
23
  border-radius:2px;
@@ -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;
@@ -63,7 +53,7 @@
63
53
  .buttons{
64
54
  display:flex;
65
55
  flex-direction:row;
66
- gap:var(--dimension-2m, 16px);
56
+ gap:var(--dimension-025m, 2px);
67
57
  }
68
58
  .buttons[data-layout-type=tablet], .buttons[data-layout-type=mobile]{
69
59
  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
  }
@@ -17,7 +17,7 @@
17
17
 
18
18
  .tagRow{
19
19
  display:flex;
20
- gap:var(--dimension-050m, 4px);
20
+ gap:var(--dimension-025m, 2px);
21
21
  }
22
22
  .tagRow .promoTag{
23
23
  border-radius:2px;
@@ -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;
@@ -63,7 +53,7 @@
63
53
  .buttons{
64
54
  display:flex;
65
55
  flex-direction:row;
66
- gap:var(--dimension-2m, 16px);
56
+ gap:var(--dimension-025m, 2px);
67
57
  }
68
58
  .buttons[data-layout-type=tablet], .buttons[data-layout-type=mobile]{
69
59
  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.1.2",
4
+ "version": "1.3.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": "1a98d6d9bff32edcbb3f9b0be0a14dce3f2abe5d"
59
+ "gitHead": "340f8e4151c606c0bd1d8b3053a2bda085b2861b"
60
60
  }
@@ -24,7 +24,7 @@
24
24
 
25
25
  .tagRow {
26
26
  display: flex;
27
- gap: ds.$dimension-050m;
27
+ gap: ds.$dimension-025m;
28
28
 
29
29
  .promoTag {
30
30
  border-radius: 2px;
@@ -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;
@@ -77,7 +65,7 @@
77
65
  .buttons {
78
66
  display: flex;
79
67
  flex-direction: row;
80
- gap: var.$dimension-2m;
68
+ gap: var.$dimension-025m;
81
69
 
82
70
  &[data-layout-type='tablet'],
83
71
  &[data-layout-type='mobile'] {
@@ -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
+ }