@rogieking/figui3 11.0.1 → 11.0.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.
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
+ ## [11.0.3]
6
+
7
+ ### Fixed
8
+
9
+ - Preserved all corner radii when `fig-input-combo` contains only one control.
10
+
11
+ ## [11.0.2]
12
+
13
+ ### Fixed
14
+
15
+ - Removed legacy first-child SVG padding from `fig-button`.
16
+
5
17
  ## [11.0.1]
6
18
 
7
19
  ### Fixed
package/components.css CHANGED
@@ -1127,9 +1127,6 @@ fig-button {
1127
1127
  stroke: currentColor;
1128
1128
  }
1129
1129
  }
1130
- &:has(svg:first-child):not([icon]) {
1131
- padding-left: var(--spacer-1);
1132
- }
1133
1130
 
1134
1131
  &[type="select"]{
1135
1132
  &[icon]:not([icon="false"]){
@@ -1186,14 +1183,14 @@ fig-input-combo {
1186
1183
  width: 100%;
1187
1184
  }
1188
1185
  & > * {
1189
- &:first-child,
1190
- &:first-child > * {
1186
+ &:first-child:not(:last-child),
1187
+ &:first-child:not(:last-child) > * {
1191
1188
  border-top-right-radius: 0;
1192
1189
  border-bottom-right-radius: 0;
1193
1190
  }
1194
1191
 
1195
- &:last-child,
1196
- &:last-child > * {
1192
+ &:last-child:not(:first-child),
1193
+ &:last-child:not(:first-child) > * {
1197
1194
  border-top-left-radius: 0;
1198
1195
  border-bottom-left-radius: 0;
1199
1196
  }