@rogieking/figui3 9.4.3 → 9.4.5

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
@@ -2,6 +2,18 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [9.4.5]
6
+
7
+ ### Fixed
8
+
9
+ - Avatar images now participate in normal layout instead of using absolute positioning.
10
+
11
+ ## [9.4.4]
12
+
13
+ ### Changed
14
+
15
+ - `fig-group` now uses bottom padding instead of margin for section spacing, keeping spacing inside its own layout box and removing it when collapsed.
16
+
5
17
  ## [9.4.3]
6
18
 
7
19
  ### Added
package/components.css CHANGED
@@ -1657,7 +1657,6 @@ fig-avatar,
1657
1657
  img {
1658
1658
  width: var(--size);
1659
1659
  height: var(--size);
1660
- position: absolute;
1661
1660
  border-radius: 100%;
1662
1661
  &:not([src]) {
1663
1662
  background: var(--checkerboard);
@@ -4017,9 +4016,7 @@ fig-header {
4017
4016
  fig-group {
4018
4017
  display: block;
4019
4018
  width: 100%;
4020
- margin-bottom: var(--spacer-2-5);
4021
-
4022
-
4019
+ padding-bottom: var(--spacer-2-5);
4023
4020
 
4024
4021
  p{
4025
4022
  margin: 0 var(--spacer-3) var(--spacer-2) var(--spacer-3);
@@ -4083,7 +4080,7 @@ fig-group {
4083
4080
 
4084
4081
  &[collapsible]:not([open]):not([open="true"]),
4085
4082
  &[collapsible][open="false"] {
4086
- margin-bottom: 0;
4083
+ padding-bottom: 0;
4087
4084
  fig-header {
4088
4085
  color: var(--figma-color-text-secondary);
4089
4086
  &:has(> h3:hover, > .fig-group-chevron:hover) {