@meduza/ui-kit-2 0.4.11 → 0.4.13

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.
@@ -1,12 +1,7 @@
1
1
  export declare const RelatedBookMock: {
2
2
  type: string;
3
- id: string;
4
3
  data: {
5
4
  url: string;
6
- theme: {
7
- background_color: string;
8
- text_color: string;
9
- };
10
5
  cover: {
11
6
  urls: {
12
7
  w325: {
@@ -30,7 +25,6 @@ export declare const RelatedBookMock: {
30
25
  theme: string;
31
26
  first?: undefined;
32
27
  second?: undefined;
33
- as?: undefined;
34
28
  lang?: undefined;
35
29
  components?: undefined;
36
30
  };
@@ -40,7 +34,6 @@ export declare const RelatedBookMock: {
40
34
  data: {
41
35
  first: string;
42
36
  second: string;
43
- as: string;
44
37
  text?: undefined;
45
38
  theme?: undefined;
46
39
  lang?: undefined;
@@ -60,9 +53,13 @@ export declare const RelatedBookMock: {
60
53
  theme?: undefined;
61
54
  first?: undefined;
62
55
  second?: undefined;
63
- as?: undefined;
64
56
  };
65
57
  id: string;
66
58
  })[];
59
+ theme: {
60
+ background_color: string;
61
+ text_color: string;
62
+ };
67
63
  };
64
+ id: string;
68
65
  };
package/dist/ui-kit.css CHANGED
@@ -747,7 +747,12 @@
747
747
  .Image-module_dark__qjo5O {
748
748
  background-color: transparent;
749
749
  }
750
+ .Image-module_isStatic__TmQ1V,
751
+ .Image-module_isStatic__TmQ1V .Image-module_wrapper__gJtbB > div {
752
+ height: 100%;
753
+ }
750
754
  .Image-module_isStatic__TmQ1V img {
755
+ height: 100%;
751
756
  position: static;
752
757
  }
753
758
 
@@ -4801,6 +4806,7 @@ a mark {
4801
4806
  flex-grow: 1;
4802
4807
 
4803
4808
  width: 100%;
4809
+ margin: 16px 0;
4804
4810
 
4805
4811
  transition: opacity 0.2s;
4806
4812
  text-decoration: none;
@@ -4810,6 +4816,17 @@ a mark {
4810
4816
  background-color: #fff;
4811
4817
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
4812
4818
  }
4819
+ @media only screen and (min-width: 48em) {
4820
+ .RelatedBook-module_root__QsOmA {
4821
+ margin: 25px 0;
4822
+ }
4823
+ }
4824
+ .RelatedBook-module_root__QsOmA:last-child {
4825
+ margin-bottom: 0;
4826
+ }
4827
+ .RelatedBook-module_root__QsOmA:first-child {
4828
+ margin-top: 0;
4829
+ }
4813
4830
  @media only screen and (min-width: 64em) {
4814
4831
  .RelatedBook-module_root__QsOmA:hover {
4815
4832
  z-index: 10;
@@ -5536,6 +5553,12 @@ a mark {
5536
5553
  opacity: 0.95;
5537
5554
  }
5538
5555
  }
5556
+ .RelatedRichBlock-module_root__-SEe7:last-child {
5557
+ margin-bottom: 0;
5558
+ }
5559
+ .RelatedRichBlock-module_root__-SEe7:first-child {
5560
+ margin-top: 0;
5561
+ }
5539
5562
  .RelatedRichBlock-module_root__-SEe7::after {
5540
5563
  position: absolute;
5541
5564
  top: 0;
@@ -5554,7 +5577,9 @@ a mark {
5554
5577
  width: 100%;
5555
5578
  }
5556
5579
  .RelatedRichBlock-module_root__-SEe7::after {
5557
- box-shadow: inset 0 4px #b88b59, inset 0 5px rgba(0, 0, 0, 0.2),
5580
+ box-shadow:
5581
+ inset 0 4px #b88b59,
5582
+ inset 0 5px rgba(0, 0, 0, 0.2),
5558
5583
  inset 0 0 0 1px rgba(0, 0, 0, 0.1);
5559
5584
  }
5560
5585
  .RelatedRichBlock-module_root__-SEe7,
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.4.11",
2
+ "version": "0.4.13",
3
3
  "license": "MIT",
4
4
  "description": "UIKit for Meduza",
5
5
  "repository": "https://github.com/meduza-corp/ui-kit-2.git",
@@ -78,6 +78,7 @@
78
78
  }
79
79
 
80
80
  .isStatic,
81
+ .isStatic .wrapper,
81
82
  .isStatic .wrapper > div {
82
83
  height: 100%;
83
84
  }