@uncinq/css-components 1.27.1 → 1.27.3

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.
@@ -41,6 +41,18 @@
41
41
  }
42
42
  }
43
43
 
44
+ .media-contain {
45
+ img {
46
+ object-fit: contain;
47
+ }
48
+ }
49
+
50
+ .media-cover {
51
+ img {
52
+ object-fit: cover;
53
+ }
54
+ }
55
+
44
56
  .media-icon {
45
57
  --media-ratio: none;
46
58
  --media-color-background: transparent;
@@ -14,6 +14,7 @@
14
14
  border-style: var(--surtitle-border-style);
15
15
  border-width: var(--surtitle-border-width);
16
16
  color: var(--surtitle-color-text);
17
+ font-family: var(--surtitle-font-family);
17
18
  font-size: var(--surtitle-font-size);
18
19
  font-weight: var(--surtitle-font-weight);
19
20
  letter-spacing: var(--surtitle-letter-spacing);
@@ -19,7 +19,7 @@ It is a leaf component: no children, no variants, no states. Every property read
19
19
  | --- | --- |
20
20
  | `--surtitle-color-*` | Background and text |
21
21
  | `--surtitle-border-*` | Colour, style, width and radius |
22
- | `--surtitle-font-size`, `-font-weight`, `-letter-spacing`, `-line-height`, `-text-transform` | Typography |
22
+ | `--surtitle-font-family`, `-font-size`, `-font-weight`, `-letter-spacing`, `-line-height`, `-text-transform` | Typography |
23
23
  | `--surtitle-padding-*`, `-margin-block-*` | Spacing |
24
24
 
25
25
  ## It pulls itself closer inside a card
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uncinq/css-components",
3
- "version": "1.27.1",
3
+ "version": "1.27.3",
4
4
  "description": "Framework-agnostic CSS component implementations.",
5
5
  "license": "MIT",
6
6
  "repository": {