@rogieking/figui3 6.11.0 → 6.12.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/fig-editor.css CHANGED
@@ -1,4 +1,5 @@
1
1
  @import url("fig-layer.css");
2
+ @import url("fig-lab.css");
2
3
 
3
4
  :root,
4
5
  :host {
@@ -21,7 +22,7 @@ dialog[is="fig-toast"] {
21
22
  color: var(--figma-color-text);
22
23
  background-color: var(--figma-color-bg);
23
24
 
24
- &[open] {
25
+ &[open]:not([open="false"]) {
25
26
  display: flex;
26
27
  }
27
28
 
@@ -173,6 +174,7 @@ fig-fill-picker {
173
174
  width: calc(100% - var(--spacer-3) * 2);
174
175
  margin: var(--spacer-2) var(--spacer-3);
175
176
  margin-top: calc(var(--spacer-4) + var(--spacer-1));
177
+ margin-bottom:0;
176
178
  background: transparent;
177
179
  &::after{
178
180
  display: none;
@@ -212,6 +214,10 @@ fig-fill-picker {
212
214
  display: flex;
213
215
  flex-direction: column;
214
216
  gap: var(--spacer-1);
217
+
218
+ fig-reorder {
219
+ display: contents;
220
+ }
215
221
  }
216
222
 
217
223
  .fig-fill-picker-gradient-stop-row {
@@ -219,6 +225,11 @@ fig-fill-picker {
219
225
  display: flex;
220
226
  padding-left: var(--spacer-3);
221
227
  gap: var(--spacer-2);
228
+
229
+ &.dragging {
230
+ background-color: var(--figma-color-bg-selected);
231
+ }
232
+
222
233
  & > .fig-fill-picker-stop-position {
223
234
  flex: 0;
224
235
  flex-basis: 3rem;