@rogieking/figui3 6.13.0 → 6.13.1

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/components.css CHANGED
@@ -3061,6 +3061,7 @@ fig-slider {
3061
3061
  --slider-thumb-size: 0.75rem;
3062
3062
  --slider-tick-width: calc(var(--slider-height) / 2);
3063
3063
  --slider-tick-height: calc(var(--slider-height) / 2);
3064
+ --slider-number-width: 3.5rem;
3064
3065
  --handle-transition: none;
3065
3066
  --slider-transition: none;
3066
3067
  --slider-handle-shadow:
@@ -3088,7 +3089,7 @@ fig-slider {
3088
3089
  }
3089
3090
  fig-input-text,
3090
3091
  fig-input-number {
3091
- flex-basis: 3rem;
3092
+ flex-basis: var(--slider-number-width);
3092
3093
  border-top-left-radius: 0;
3093
3094
  border-bottom-left-radius: 0;
3094
3095
  border-left: 1px solid var(--figma-color-bg);
@@ -3675,12 +3676,6 @@ fig-input-number {
3675
3676
  flex: 0 1 auto;
3676
3677
  color: var(--figma-color-text);
3677
3678
 
3678
- fig-field:not([direction="vertical"]) & {
3679
- flex: 1;
3680
- min-width: 0;
3681
- width: 100%;
3682
- }
3683
-
3684
3679
  &[full]:not([full="false"]) {
3685
3680
  display: flex;
3686
3681
  flex: 1;