@meduza/ui-kit-2 0.9.4 → 0.9.6

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.
@@ -247,8 +247,18 @@
247
247
  width: 100%;
248
248
  justify-content: space-between;
249
249
  align-items: center;
250
+ text-align: left;
250
251
  }
251
252
 
253
+ @media only screen and (min-width: 32em) {
254
+
255
+ .Button-module_isInToolbar__84SG- {
256
+ display: block;
257
+ width: 100%;
258
+ text-align: center;
259
+ }
260
+ }
261
+
252
262
  .Button-module_isInSpoiler__pGp-w svg {
253
263
  margin-top: -2px;
254
264
  margin-left: 6px;
@@ -469,6 +479,11 @@
469
479
  height: 100%;
470
480
  }
471
481
 
482
+ .SvgSymbol-module_speedHalf__mvVYC, .SvgSymbol-module_speedThreeQuarters__9N7uH, .SvgSymbol-module_speedOne__sRNph, .SvgSymbol-module_speedOneQuarter__fKIT7, .SvgSymbol-module_speedOneHalf__7yXsa, .SvgSymbol-module_speedTwo__Bv8-b {
483
+ width: auto;
484
+ height: auto;
485
+ }
486
+
472
487
  .SvgSymbol-module_meduzaLogo__aVKzZ {
473
488
  width: 92px;
474
489
  height: 20px;
@@ -2333,6 +2348,28 @@
2333
2348
  background-color: #4f4f4f;
2334
2349
  }
2335
2350
 
2351
+ .Toolbar-module_podcast__ahY4M {
2352
+ background-color: #fff;
2353
+ padding: 15px;
2354
+ border-radius: 8px;
2355
+ box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
2356
+ }
2357
+
2358
+ @media only screen and (min-width: 32em) {
2359
+
2360
+ .Toolbar-module_podcast__ahY4M {
2361
+ padding: 17px 25px;
2362
+ }
2363
+ }
2364
+
2365
+ .Toolbar-module_podcast__ahY4M::before {
2366
+ content: none;
2367
+ }
2368
+
2369
+ .Toolbar-module_podcast__ahY4M .Toolbar-module_item__CWmGM:first-child::before {
2370
+ content: none;
2371
+ }
2372
+
2336
2373
  .Meta-module_root__H-Q4d {
2337
2374
  font-size: 12px;
2338
2375
 
package/dist/ui-kit.css CHANGED
@@ -247,8 +247,18 @@
247
247
  width: 100%;
248
248
  justify-content: space-between;
249
249
  align-items: center;
250
+ text-align: left;
250
251
  }
251
252
 
253
+ @media only screen and (min-width: 32em) {
254
+
255
+ .Button-module_isInToolbar__84SG- {
256
+ display: block;
257
+ width: 100%;
258
+ text-align: center;
259
+ }
260
+ }
261
+
252
262
  .Button-module_isInSpoiler__pGp-w svg {
253
263
  margin-top: -2px;
254
264
  margin-left: 6px;
@@ -469,6 +479,11 @@
469
479
  height: 100%;
470
480
  }
471
481
 
482
+ .SvgSymbol-module_speedHalf__mvVYC, .SvgSymbol-module_speedThreeQuarters__9N7uH, .SvgSymbol-module_speedOne__sRNph, .SvgSymbol-module_speedOneQuarter__fKIT7, .SvgSymbol-module_speedOneHalf__7yXsa, .SvgSymbol-module_speedTwo__Bv8-b {
483
+ width: auto;
484
+ height: auto;
485
+ }
486
+
472
487
  .SvgSymbol-module_meduzaLogo__aVKzZ {
473
488
  width: 92px;
474
489
  height: 20px;
@@ -2333,6 +2348,28 @@
2333
2348
  background-color: #4f4f4f;
2334
2349
  }
2335
2350
 
2351
+ .Toolbar-module_podcast__ahY4M {
2352
+ background-color: #fff;
2353
+ padding: 15px;
2354
+ border-radius: 8px;
2355
+ box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
2356
+ }
2357
+
2358
+ @media only screen and (min-width: 32em) {
2359
+
2360
+ .Toolbar-module_podcast__ahY4M {
2361
+ padding: 17px 25px;
2362
+ }
2363
+ }
2364
+
2365
+ .Toolbar-module_podcast__ahY4M::before {
2366
+ content: none;
2367
+ }
2368
+
2369
+ .Toolbar-module_podcast__ahY4M .Toolbar-module_item__CWmGM:first-child::before {
2370
+ content: none;
2371
+ }
2372
+
2336
2373
  .Meta-module_root__H-Q4d {
2337
2374
  font-size: 12px;
2338
2375
 
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.9.4",
2
+ "version": "0.9.6",
3
3
  "license": "MIT",
4
4
  "description": "UIKit for Meduza",
5
5
  "repository": "https://github.com/meduza-corp/ui-kit-2.git",
@@ -217,6 +217,13 @@
217
217
  width: 100%;
218
218
  justify-content: space-between;
219
219
  align-items: center;
220
+ text-align: left;
221
+
222
+ @media $mobile {
223
+ display: block;
224
+ width: 100%;
225
+ text-align: center;
226
+ }
220
227
  }
221
228
 
222
229
  .isInSpoiler svg {
@@ -153,6 +153,11 @@
153
153
  height: 100%;
154
154
  }
155
155
 
156
+ .speedHalf, .speedThreeQuarters, .speedOne, .speedOneQuarter, .speedOneHalf, .speedTwo {
157
+ width: auto;
158
+ height: auto;
159
+ }
160
+
156
161
  .meduzaLogo {
157
162
  width: 92px;
158
163
  height: 20px;
@@ -84,10 +84,10 @@ export const icons = {
84
84
  },
85
85
 
86
86
  play: {
87
- width: 62,
88
- height: 62,
87
+ width: 32,
88
+ height: 32,
89
89
  content:
90
- '<path d="M24.35 41.772a.5.5 0 0 1-.739-.439V20.667a.5.5 0 0 1 .74-.44l18.944 10.334a.5.5 0 0 1 0 .878L24.351 41.772z" fill-rule="nonzero"/>'
90
+ '<path fill-rule="nonzero" clip-rule="evenodd" d="M11.9665 22.877C11.4713 23.1557 10.8594 22.7978 10.8594 22.2296V9.7704C10.8594 9.20219 11.4713 8.84435 11.9665 9.12299L23.0374 15.3526C23.5422 15.6366 23.5422 16.3634 23.0374 16.6474L11.9665 22.877Z" stroke-width="0.371429" stroke-linecap="round" stroke-linejoin="round"/>'
91
91
  },
92
92
 
93
93
  pause: {
@@ -123,3 +123,22 @@
123
123
  .dark::before {
124
124
  background-color: #4f4f4f;
125
125
  }
126
+
127
+ .podcast {
128
+ background-color: #fff;
129
+ padding: 15px;
130
+ border-radius: 8px;
131
+ box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
132
+
133
+ @media $mobile {
134
+ padding: 17px 25px;
135
+ }
136
+ }
137
+
138
+ .podcast::before {
139
+ content: none;
140
+ }
141
+
142
+ .podcast .item:first-child::before {
143
+ content: none;
144
+ }