@rogieking/figui3 11.1.5 → 11.2.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-lab.css CHANGED
@@ -602,78 +602,3 @@ fig-canvas-control {
602
602
  }
603
603
  }
604
604
  }
605
-
606
- /* Drag to Reorder */
607
- fig-reorder {
608
- display: contents;
609
-
610
- &:not([handle]):is(:not([disabled]), [disabled="false"])
611
- > [data-reorder-item] {
612
- cursor: grab;
613
-
614
- > fig-header,
615
- > fig-header *,
616
- > label {
617
- cursor: grab;
618
- }
619
- }
620
-
621
- > .dragging {
622
- background-color: var(--figma-color-bg-secondary);
623
- }
624
-
625
- &[disabled]:not([disabled="false"]) [data-reorder-handle] {
626
- cursor: inherit;
627
- }
628
- }
629
-
630
- [data-reorder-handle] {
631
- cursor: grab;
632
- }
633
-
634
- body.fig-reorder-dragging {
635
- &,
636
- & * {
637
- user-select: none !important;
638
- -webkit-user-select: none !important;
639
- cursor: grabbing !important;
640
- }
641
- }
642
-
643
- .fig-reorder-indicator {
644
- position: fixed;
645
- pointer-events: none;
646
- z-index: 1000000;
647
- border-radius: 1px;
648
- &::before{
649
- content: "";
650
- position: absolute;
651
- top: 0;
652
- left: var(--spacer-1);
653
- width: 100%;
654
- height: 100%;
655
- background: var(--figma-color-border-selected);
656
- }
657
-
658
- &.fig-reorder-indicator-ring {
659
- &::after{
660
- content: "";
661
- position: absolute;
662
- top: 1px;
663
- left: 0;
664
- transform: translate(-50%, -50%);
665
- width: var(--spacer-2);
666
- height: var(--spacer-2);
667
- border: 2px solid var(--figma-color-border-selected);
668
- border-radius: 50%;
669
- }
670
- }
671
-
672
- &[data-axis="vertical"] {
673
- height: 2px;
674
- }
675
-
676
- &[data-axis="horizontal"] {
677
- width: 2px;
678
- }
679
- }