@trebired/frontend 19.0.0 → 19.1.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
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 19.1.0
4
+
5
+ - A `Frame` that opens a `Card` bleeds to the card's edges. Media at the top of a card belongs against the edge, but the card's padding was insetting it, leaving a band of card background framing the image on all three sides. It now pulls out by the card's own padding and rounds only its top corners to match. A frame anywhere else in the card is untouched.
6
+
3
7
  ## 19.0.0
4
8
 
5
9
  Breaking: `SiteHeader` no longer takes `menuIcon` or `closeIcon`.
@@ -59,6 +59,18 @@
59
59
  z-index: 1;
60
60
  }
61
61
 
62
+ #{ns.class("card")} > #{ns.class("frame")}:first-child {
63
+ width: auto;
64
+ margin: calc(var(#{ns.css-var("surf-card-root-padding")}, 12px) * -1);
65
+ margin-block-end: 0;
66
+ border-start-start-radius: inherit;
67
+ border-start-end-radius: inherit;
68
+ border-end-start-radius: 0;
69
+ border-end-end-radius: 0;
70
+ border-block-start: 0;
71
+ border-inline: 0;
72
+ }
73
+
62
74
  #{ns.class("frame")} {
63
75
  position: relative;
64
76
  display: flex;
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  }
9
9
  },
10
10
  "name": "@trebired/frontend",
11
- "version": "19.0.0",
11
+ "version": "19.1.0",
12
12
  "description": "Generic browser runtime systems for Trebired frontend packages and applications.",
13
13
  "type": "module",
14
14
  "private": false,