@meduza/ui-kit-2 0.8.623 → 0.8.625

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.
@@ -242,6 +242,13 @@
242
242
  }
243
243
  }
244
244
 
245
+ .Button-module_isInToolbar__84SG- {
246
+ display: flex;
247
+ width: 100%;
248
+ justify-content: space-between;
249
+ align-items: center;
250
+ }
251
+
245
252
  .Button-module_isInSpoiler__pGp-w svg {
246
253
  margin-top: -2px;
247
254
  margin-left: 6px;
@@ -2103,6 +2110,7 @@
2103
2110
  }
2104
2111
 
2105
2112
  .Dropdown-module_root__Wv7S- {
2113
+ width: 100%;
2106
2114
  position: relative;
2107
2115
  z-index: auto;
2108
2116
 
@@ -2180,7 +2188,7 @@
2180
2188
 
2181
2189
  .Dropdown-module_menu__11IQL {
2182
2190
  position: absolute;
2183
- z-index: 1;
2191
+ z-index: 2;
2184
2192
  top: 100%;
2185
2193
  left: 0;
2186
2194
 
@@ -2416,6 +2424,7 @@
2416
2424
  display: flex;
2417
2425
  flex-flow: row wrap;
2418
2426
  align-items: center;
2427
+ justify-content: center;
2419
2428
 
2420
2429
  text-align: center;
2421
2430
  }
@@ -3289,6 +3298,22 @@
3289
3298
  }
3290
3299
  }
3291
3300
 
3301
+ @media only screen and (min-width: 40.625em) {
3302
+
3303
+ .RichTitle-module_root__U5XQu.RichTitle-module_isInMaterial__7WEv4 {
3304
+ font-size: 37px;
3305
+ line-height: 42px;
3306
+ }
3307
+ }
3308
+
3309
+ @media only screen and (min-width: 40.625em) {
3310
+
3311
+ .RichTitle-module_root__U5XQu.RichTitle-module_isEmbeded__VNXtj {
3312
+ fonr-size: 1.3rem;
3313
+ line-height: 1.6rem;
3314
+ }
3315
+ }
3316
+
3292
3317
  .RichTitle-module_root__U5XQu.RichTitle-module_isInPodcastPlayer__kvEPH {
3293
3318
  font-size: 19px;
3294
3319
  line-height: 23px;
package/dist/ui-kit.css CHANGED
@@ -242,6 +242,13 @@
242
242
  }
243
243
  }
244
244
 
245
+ .Button-module_isInToolbar__84SG- {
246
+ display: flex;
247
+ width: 100%;
248
+ justify-content: space-between;
249
+ align-items: center;
250
+ }
251
+
245
252
  .Button-module_isInSpoiler__pGp-w svg {
246
253
  margin-top: -2px;
247
254
  margin-left: 6px;
@@ -2103,6 +2110,7 @@
2103
2110
  }
2104
2111
 
2105
2112
  .Dropdown-module_root__Wv7S- {
2113
+ width: 100%;
2106
2114
  position: relative;
2107
2115
  z-index: auto;
2108
2116
 
@@ -2180,7 +2188,7 @@
2180
2188
 
2181
2189
  .Dropdown-module_menu__11IQL {
2182
2190
  position: absolute;
2183
- z-index: 1;
2191
+ z-index: 2;
2184
2192
  top: 100%;
2185
2193
  left: 0;
2186
2194
 
@@ -2416,6 +2424,7 @@
2416
2424
  display: flex;
2417
2425
  flex-flow: row wrap;
2418
2426
  align-items: center;
2427
+ justify-content: center;
2419
2428
 
2420
2429
  text-align: center;
2421
2430
  }
@@ -3289,6 +3298,22 @@
3289
3298
  }
3290
3299
  }
3291
3300
 
3301
+ @media only screen and (min-width: 48em) {
3302
+
3303
+ .RichTitle-module_root__U5XQu.RichTitle-module_isInMaterial__7WEv4 {
3304
+ font-size: 37px;
3305
+ line-height: 42px;
3306
+ }
3307
+ }
3308
+
3309
+ @media only screen and (min-width: 64em) {
3310
+
3311
+ .RichTitle-module_root__U5XQu.RichTitle-module_isEmbeded__VNXtj {
3312
+ fonr-size: 1.3rem;
3313
+ line-height: 1.6rem;
3314
+ }
3315
+ }
3316
+
3292
3317
  .RichTitle-module_root__U5XQu.RichTitle-module_isInPodcastPlayer__kvEPH {
3293
3318
  font-size: 19px;
3294
3319
  line-height: 23px;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.8.623",
2
+ "version": "0.8.625",
3
3
  "license": "MIT",
4
4
  "description": "UIKit for Meduza",
5
5
  "repository": "https://github.com/meduza-corp/ui-kit-2.git",
@@ -212,6 +212,13 @@
212
212
  }
213
213
  }
214
214
 
215
+ .isInToolbar {
216
+ display: flex;
217
+ width: 100%;
218
+ justify-content: space-between;
219
+ align-items: center;
220
+ }
221
+
215
222
  .isInSpoiler svg {
216
223
  margin-top: -2px;
217
224
  margin-left: 6px;
@@ -1,4 +1,5 @@
1
1
  .root {
2
+ width: 100%;
2
3
  position: relative;
3
4
  z-index: auto;
4
5
 
@@ -73,7 +74,7 @@
73
74
 
74
75
  .menu {
75
76
  position: absolute;
76
- z-index: 1;
77
+ z-index: 2;
77
78
  top: 100%;
78
79
  left: 0;
79
80
 
@@ -72,6 +72,7 @@
72
72
  display: flex;
73
73
  flex-flow: row wrap;
74
74
  align-items: center;
75
+ justify-content: center;
75
76
 
76
77
  text-align: center;
77
78
  }
@@ -122,6 +122,20 @@
122
122
  }
123
123
  }
124
124
 
125
+ .root.isInMaterial {
126
+ @media $portraitTablet {
127
+ font-size: 37px;
128
+ line-height: 42px;
129
+ }
130
+ }
131
+
132
+ .root.isEmbeded {
133
+ @media $landscapeTablet {
134
+ fonr-size: 1.3rem;
135
+ line-height: 1.6rem;
136
+ }
137
+ }
138
+
125
139
  .root.isInPodcastPlayer {
126
140
  font-size: 19px;
127
141
  line-height: 23px;
@@ -9,4 +9,5 @@ export interface RichTitleProps {
9
9
  }
10
10
  }
11
11
  styleContext?: string[] | string
12
+ type?: string
12
13
  }
@@ -10,12 +10,14 @@ export const RichTitle: React.FC<RichTitleProps> = ({
10
10
  only_on: onlyOn,
11
11
  data: { featured, first, second, as: TagName = 'h1' }
12
12
  },
13
- styleContext
13
+ styleContext,
14
+ type
14
15
  }) => {
15
16
  let classNames: ClassNames = [
16
17
  [styles.root, true],
17
18
  [styles[onlyOn], true],
18
- [styles.featured, !!featured]
19
+ [styles.featured, !!featured],
20
+ [styles.type, type]
19
21
  ]
20
22
 
21
23
  if (styleContext) {