@rogieking/figui3 9.4.3 → 9.4.4

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,12 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [9.4.4]
6
+
7
+ ### Changed
8
+
9
+ - `fig-group` now uses bottom padding instead of margin for section spacing, keeping spacing inside its own layout box and removing it when collapsed.
10
+
5
11
  ## [9.4.3]
6
12
 
7
13
  ### Added
package/components.css CHANGED
@@ -4017,9 +4017,7 @@ fig-header {
4017
4017
  fig-group {
4018
4018
  display: block;
4019
4019
  width: 100%;
4020
- margin-bottom: var(--spacer-2-5);
4021
-
4022
-
4020
+ padding-bottom: var(--spacer-2-5);
4023
4021
 
4024
4022
  p{
4025
4023
  margin: 0 var(--spacer-3) var(--spacer-2) var(--spacer-3);
@@ -4083,7 +4081,7 @@ fig-group {
4083
4081
 
4084
4082
  &[collapsible]:not([open]):not([open="true"]),
4085
4083
  &[collapsible][open="false"] {
4086
- margin-bottom: 0;
4084
+ padding-bottom: 0;
4087
4085
  fig-header {
4088
4086
  color: var(--figma-color-text-secondary);
4089
4087
  &:has(> h3:hover, > .fig-group-chevron:hover) {