@vuu-ui/vuu-popups 0.8.4-debug → 0.8.5-debug

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/index.css CHANGED
@@ -632,6 +632,365 @@ path.drop-target.centre {
632
632
  display: none;
633
633
  }
634
634
 
635
+ /* ../vuu-ui-controls/src/editable-label/EditableLabel.css */
636
+ .vuuEditableLabel {
637
+ --saltInput-minWidth: 14px;
638
+ --saltInput-position: absolute;
639
+ --editableLabel-padding: var(--saltEditableLabel-padding, 6px);
640
+ --editableLabel-height: var(--saltEditableLabel-height, 26px);
641
+ color: inherit;
642
+ cursor: default;
643
+ display: flex;
644
+ flex-direction: column;
645
+ font-size: var(--salt-text-fontSize);
646
+ height: var(--editableLabel-height);
647
+ justify-content: center;
648
+ outline: none;
649
+ padding: 0 var(--editableLabel-padding);
650
+ position: relative;
651
+ z-index: var(--salt-zIndex-default);
652
+ }
653
+ .vuuEditableLabel:before {
654
+ content: attr(data-text);
655
+ display: block;
656
+ height: 0px;
657
+ visibility: hidden;
658
+ white-space: pre-wrap;
659
+ }
660
+ .vuuEditableLabel .saltInput {
661
+ font-weight: var(--salt-text-fontWeight);
662
+ left: var(--editableLabel-padding, 0);
663
+ padding: 0;
664
+ outline-style: none;
665
+ right: var(--editableLabel-padding, 0);
666
+ }
667
+ .vuuEditableLabel-input {
668
+ outline: none;
669
+ }
670
+
671
+ /* ../vuu-ui-controls/src/drag-drop/Draggable.css */
672
+ .vuuDraggable {
673
+ background: transparent;
674
+ box-shadow: var(--salt-overlayable-shadow-drag);
675
+ cursor: var(--salt-draggable-grab-cursor-active);
676
+ position: absolute;
677
+ opacity: .95;
678
+ z-index: 2000;
679
+ }
680
+ .vuuDraggable-spacer {
681
+ display: var(--saltDraggable-display, inline-block);
682
+ height: var(--saltDraggable-spacer-height, var(--tabs-tabstrip-height));
683
+ transition: var(--saltDraggable-transitionProp, width) 0.3s ease;
684
+ width: var(--saltDraggable-spacer-width, 0);
685
+ }
686
+ .vuuDraggable-dropIndicatorPosition {
687
+ display: var(--saltDraggable-display, inline-block);
688
+ height: 0px;
689
+ width: 100%;
690
+ }
691
+ .vuuDraggable-dropIndicatorContainer {
692
+ transition: var(--saltDraggable-transitionProp, top) 0.2s ease;
693
+ }
694
+ .vuuDraggable-dropIndicator {
695
+ background-color: var(--salt-palette-accent-background);
696
+ height: 2px;
697
+ width: 100%;
698
+ }
699
+ .vuuDraggable-dropIndicator:before {
700
+ content: "";
701
+ width: 6px;
702
+ height: 6px;
703
+ border-radius: 3px;
704
+ background-color: var(--salt-palette-accent-background);
705
+ position: absolute;
706
+ top: -2px;
707
+ left: -3px;
708
+ }
709
+ .vuuDraggable-settling {
710
+ transition-property: left, top;
711
+ transition-duration: .15s;
712
+ transition-timing-function: ease-out;
713
+ }
714
+ .vuuDraggable-spacer {
715
+ order: 1;
716
+ }
717
+
718
+ /* ../vuu-ui-controls/src/tabstrip/Tabstrip.css */
719
+ .vuuTabstrip {
720
+ --vuuOverflowContainer-background: transparent;
721
+ --tabs-tabstrip-height: var(--vuuTabstrip-height, 28px);
722
+ --tabs-tabstrip-dragging-display: none;
723
+ --tabs-tabstrip-display: inline-flex;
724
+ --tabs-tabstrip-background: transparent;
725
+ align-items: flex-start;
726
+ align-self: var(--saltTabs-tabstrip-alignSelf, stretch);
727
+ border-bottom: var(--vuuTabstrip-borderBottom, solid 1px var(--salt-container-primary-borderColor));
728
+ font-size: var(--salt-text-fontSize);
729
+ font-weight: var(--salt-text-fontWeight);
730
+ position: relative;
731
+ overflow: visible;
732
+ display: flex;
733
+ min-width: 28px;
734
+ width: 100%;
735
+ }
736
+ .vuuTabstrip-horizontal {
737
+ --vuuTabActivationIndicator-height: 1px;
738
+ --vuuTabActivationIndicator-thumb-inset: -1px 0 0 0;
739
+ --tab-activationIndicator-borderStyle: none none solid none;
740
+ --tab-activationIndicator-inset: auto 0px 0px 0px;
741
+ --tab-activationIndicator-transitionProperty: left;
742
+ --tab-activationIndicator-thumb-height: 0px;
743
+ --tab-thumb-height: 2px;
744
+ }
745
+ .vuuTabstrip-vertical {
746
+ --vuuTabActivationIndicator-thumb-inset: 0 0 0 -1px;
747
+ --tab-activationIndicator-transition: top 0.3s ease;
748
+ --tab-activationIndicator-borderStyle: none solid none none;
749
+ --tab-activationIndicator-inset: 0px 0px 0px auto;
750
+ --tab-activationIndicator-transitionProperty: top;
751
+ --tab-activationIndicator-width: 1px;
752
+ --tab-activationIndicator-thumb-width: 2px;
753
+ align-self: flex-start;
754
+ display: inline-flex;
755
+ }
756
+ .vuuTabstrip-draggingTab {
757
+ --vuuTabs-activationIndicator-transition: none;
758
+ }
759
+ .vuuTabstrip-draggingTab .vuuTab {
760
+ pointer-events: none;
761
+ }
762
+ .vuuTabstrip-horizontal {
763
+ height: var(--tabs-tabstrip-height);
764
+ }
765
+ .vuuTabstrip-addTabButton {
766
+ --saltButton-height: 20px;
767
+ --saltButton-width: 20px;
768
+ }
769
+ .vuuTabstrip-overflowMenu.saltDropdown {
770
+ --saltIcon-margin: 2px 0 0 0px;
771
+ }
772
+ .vuuTabstrip-overflowMenu-open {
773
+ --saltButton-background: var(--salt-actionable-secondary-background-active);
774
+ --saltButton-text-color: var(--salt-actionable-secondary-text-color-active);
775
+ }
776
+ .vuuTabstrip-overflowMenu-open .saltButton {
777
+ --saltIcon-color: var(--salt-actionable-secondary-foreground-active);
778
+ }
779
+ .vuuTabstrip-inner {
780
+ width: 100%;
781
+ align-items: center;
782
+ display: flex;
783
+ flex-basis: auto;
784
+ flex-grow: 0;
785
+ flex-shrink: 1;
786
+ flex-wrap: wrap;
787
+ justify-content: flex-start;
788
+ line-height: var(--tabs-tabstrip-height);
789
+ }
790
+ .vuuTabstrip-vertical .vuuTabstrip-inner {
791
+ flex-direction: column;
792
+ height: auto;
793
+ }
794
+ .vuuTabstrip-centered .vuuTabstrip-inner {
795
+ justify-content: center;
796
+ }
797
+ .vuuDraggable[class*=vuuTabstrip] {
798
+ --tabs-tabstrip-display: flex;
799
+ --tabs-tabstrip-height: 100%;
800
+ --tabs-tabstrip-dragging-display: block;
801
+ --tabs-tab-background: var(--salt-navigable-primary-background-hover);
802
+ --tabs-tab-before-content: "";
803
+ --tabs-tab-before-background: var(--salt-navigable-indicator-hover);
804
+ --tabs-tab-before-height: var(--tab-activationIndicator-thumb-height);
805
+ --tabs-tab-before-inset: var(--tab-activationIndicator-inset);
806
+ --tabs-tab-before-width: var(--tab-activationIndicator-thumb-width);
807
+ --tabs-tab-cursor: var(--salt-draggable-grab-cursor-active);
808
+ --tabs-tab-position: static;
809
+ font-size: 12px;
810
+ }
811
+ .vuuDraggable-tabstrip-horizontal {
812
+ --tab-thumb-height: 2px;
813
+ --tabs-tabstrip-height: 28px;
814
+ --tab-activationIndicator-thumb-height: 2px;
815
+ --tab-activationIndicator-inset: auto 0px 0px 0px;
816
+ line-height: var(--tabs-tabstrip-height);
817
+ }
818
+ .vuuDraggable-tabstrip-vertical {
819
+ --tab-activationIndicator-inset: 0px 0px 0px auto;
820
+ --tab-activationIndicator-thumb-width: 2px;
821
+ }
822
+ .vuuDraggable[class*=tabstrip] .vuuTab[aria-selected=true]:before {
823
+ --tabs-tab-before-background: var(--salt-navigable-indicator-active);
824
+ }
825
+ .vuuTabstrip-overflowMenu-dropTarget:after {
826
+ background: var(--salt-selectable-background-selected);
827
+ content: "";
828
+ position: absolute;
829
+ height: 2px;
830
+ left: 0;
831
+ right: 0;
832
+ bottom: 0;
833
+ }
834
+
835
+ /* ../vuu-ui-controls/src/tabstrip/TabMenu.css */
836
+ .vuuTabMenu {
837
+ top: -2px;
838
+ }
839
+
840
+ /* ../vuu-ui-controls/src/tabstrip/Tab.css */
841
+ .vuuTab {
842
+ --saltEditableLabel-padding: 0;
843
+ --saltEditableLabel-height: var(--tabs-tabstrip-height);
844
+ --saltInputLegacy-minWidth: 4em;
845
+ --tab-background: var(--salt-navigable-primary-background);
846
+ --tab-cursor: pointer;
847
+ --tab-position: relative;
848
+ }
849
+ .vuuTab {
850
+ align-items: center;
851
+ align-self: stretch;
852
+ background: var(--vuuTab-background, var(--tab-background));
853
+ border: none;
854
+ border-radius: 0;
855
+ color: var(--salt-text-primary-foreground);
856
+ cursor: var(--vuuTab-cursor, var(--tab-cursor));
857
+ display: var(--tabs-tabstrip-display);
858
+ gap: 8px;
859
+ height: var(--vuuTab-height, var(--tabs-tabstrip-height));
860
+ letter-spacing: var(--vuuTab-letterSpacing, var(--tab-letterSpacing, 0));
861
+ min-width: var(--vuuTab-minWidth, 40px);
862
+ outline: none;
863
+ padding: 0 24px;
864
+ position: var(--vuuTab-position, var(--tab-position));
865
+ user-select: none;
866
+ }
867
+ .vuuTab.saltFocusVisible:after {
868
+ inset: 2px 2px 4px 2px;
869
+ }
870
+ .vuuTab:not(.vuuTab-vertical) {
871
+ margin: 0 var(--tab-spacing) 0 0;
872
+ }
873
+ .vuuTab-selected {
874
+ color: var(--salt-text-primary-foreground);
875
+ font-weight: var(--salt-navigable-fontWeight-active);
876
+ }
877
+ .vuuTab-main {
878
+ align-items: center;
879
+ background: inherit;
880
+ border: none;
881
+ color: inherit;
882
+ cursor: inherit;
883
+ display: flex;
884
+ font-family: inherit;
885
+ font-size: inherit;
886
+ font-weight: inherit;
887
+ height: var(--vuuTabstrip-height, var(--salt-size-stackable));
888
+ outline: none;
889
+ position: relative;
890
+ }
891
+ .vuuTab-closeable .vuuTab-main {
892
+ border-right: solid transparent var(--salt-size-unit);
893
+ }
894
+ .vuuTab .vuuTab-closeButton {
895
+ display: flex;
896
+ align-items: center;
897
+ justify-content: center;
898
+ }
899
+ .vuuTab-close-icon {
900
+ display: none;
901
+ }
902
+ .salt-density-touch .vuuTab-close-icon,
903
+ .salt-density-low .vuuTab-close-icon {
904
+ display: block;
905
+ }
906
+ .salt-density-touch .vuuTab-close-icon-small,
907
+ .salt-density-low .vuuTab-close-icon-small {
908
+ display: none;
909
+ }
910
+ .vuuTab .vuuTab-text {
911
+ display: inline-block;
912
+ position: relative;
913
+ overflow: hidden;
914
+ text-align: var(--salt-text-textAlign-embedded);
915
+ text-overflow: ellipsis;
916
+ top: var(--vuuTab-top, var(--tab-top, auto));
917
+ white-space: nowrap;
918
+ z-index: var(--salt-zIndex-default);
919
+ }
920
+ .vuuTab-vertical .vuuTab-text {
921
+ text-align: var(--salt-text-textAlign);
922
+ }
923
+ .vuuTab .vuuTab-text:before {
924
+ height: 0;
925
+ content: attr(data-text);
926
+ display: block;
927
+ visibility: hidden;
928
+ font-weight: var(--salt-navigable-fontWeight-active);
929
+ }
930
+ .vuuTab-editing:after {
931
+ content: "";
932
+ position: absolute;
933
+ top: 0;
934
+ left: 0;
935
+ right: 0;
936
+ bottom: 2px;
937
+ outline-color: var(--salt-focused-outlineColor);
938
+ outline-style: var(--salt-focused-outlineStyle);
939
+ outline-width: var(--salt-focused-outlineWidth);
940
+ outline-offset: -2px;
941
+ }
942
+ .vuuTab-vertical.vuuTab-editing:after {
943
+ right: 2px;
944
+ bottom: 0;
945
+ }
946
+ .vuuTab-vertical .saltFocusVisible:not(.vuuTab-selected):before {
947
+ left: auto;
948
+ height: auto;
949
+ top: 0;
950
+ width: 2px;
951
+ }
952
+ .vuuTab.saltFocusVisible {
953
+ background: var(--vuuTab-hover-background, var(--salt-navigable-primary-background-hover));
954
+ }
955
+ .vuuTab:before {
956
+ content: var(--tab-before-content, none);
957
+ background: var(--tab-before-background);
958
+ height: var(--tab-before-height);
959
+ inset: var(--tab-before-inset);
960
+ position: absolute;
961
+ width: var(--tab-before-width);
962
+ z-index: 1;
963
+ }
964
+ .vuuTabstrip-draggingTab .vuuTab-selected:before {
965
+ --tab-before-content: "";
966
+ --tab-before-background: var(--salt-navigable-indicator-color-active);
967
+ --tab-before-height: var(--tab-thumb-height);
968
+ --tab-before-inset: var(--tab-activationIndicator-inset);
969
+ --tab-before-width: var(--tab-activationIndicator-thumb-width);
970
+ }
971
+ .vuuDraggable .vuuTab:before,
972
+ .vuuTab:not(.vuuTab-selected).saltFocusVisible:before,
973
+ .vuuTab:hover:not(.vuuTab-selected):before {
974
+ --tab-before-content: "";
975
+ --tab-before-background: var(--salt-navigable-indicator-hover);
976
+ --tab-before-height: var(--tab-thumb-height);
977
+ --tab-before-inset: var(--tab-activationIndicator-inset);
978
+ --tab-before-width: var(--tab-activationIndicator-thumb-width);
979
+ }
980
+ .vuuTab-selected:before {
981
+ --tab-before-content: "";
982
+ background: var(--salt-navigable-indicator-active);
983
+ height: var(--tab-thumb-height);
984
+ position: absolute;
985
+ left: var(--tab-thumb-offset,0);
986
+ bottom: 0px;
987
+ transition: var(--tab-thumb-transition, none);
988
+ width: var(--tab-thumb-width, 100%);
989
+ }
990
+ .vuuTab:hover:not(.vuuTab-closeHover) {
991
+ background: var(--vuuTab-hover-background, var(--salt-navigable-primary-background-hover));
992
+ }
993
+
635
994
  /* ../vuu-layout/src/layout-header/Header.css */
636
995
  .vuuHeader {
637
996
  --saltToolbar-background: var(--salt-container-tertiary-background);
@@ -640,6 +999,65 @@ path.drop-target.centre {
640
999
  --saltToolbarField-marginTop: 0;
641
1000
  }
642
1001
 
1002
+ /* ../vuu-layout/src/overflow-container/OverflowContainer.css */
1003
+ .vuuOverflowContainer {
1004
+ --item-gap: 4px;
1005
+ --overflow-width: 0px;
1006
+ --overflow-order: 99;
1007
+ --border-size: calc((var(--overflow-container-height) - 24px) / 2);
1008
+ background-color: var(--vuuOverflowContainer-background, black);
1009
+ height: var(--overflow-container-height);
1010
+ }
1011
+ .vuuOverflowContainer-wrapContainer {
1012
+ align-items: center;
1013
+ display: flex;
1014
+ flex-wrap: wrap;
1015
+ height: var(--overflow-container-height);
1016
+ min-width: 44px;
1017
+ overflow: hidden;
1018
+ position: relative;
1019
+ width: 100%;
1020
+ }
1021
+ .vuuOverflowContainer-wrapContainer.overflowed {
1022
+ --overflow-order: 2;
1023
+ --overflow-left: auto;
1024
+ --overflow-position: relative;
1025
+ --overflow-width: auto;
1026
+ }
1027
+ .vuuOverflowContainer-item:first-child {
1028
+ --item-gap: 0;
1029
+ }
1030
+ .vuuOverflowContainer-item {
1031
+ align-items: inherit;
1032
+ display: flex;
1033
+ order: 1;
1034
+ position: relative;
1035
+ height: var(--overflow-container-height);
1036
+ margin-left: var(--item-gap);
1037
+ }
1038
+ .vuuOverflowContainer-item.wrapped {
1039
+ --overflow-item-bg: #ccc;
1040
+ order: 3;
1041
+ }
1042
+ .vuuOverflowContainer-item:has(.vuuDraggable-dragAway) {
1043
+ display: none;
1044
+ }
1045
+ .vuuOverflowContainer-item.vuuDropTarget-settling {
1046
+ visibility: hidden;
1047
+ }
1048
+ .vuuOverflowContainer-OverflowIndicator {
1049
+ align-items: center;
1050
+ background-color: transparent;
1051
+ display: flex;
1052
+ height: var(--overflow-container-height);
1053
+ height: var(--overflow-container-height);
1054
+ order: var(--overflow-order);
1055
+ overflow: hidden;
1056
+ left: var(--overflow-left, 100%);
1057
+ position: var(--overflow-position, absolute);
1058
+ width: var(--overflow-width);
1059
+ }
1060
+
643
1061
  /* ../vuu-layout/src/palette/Palette.css */
644
1062
  .vuuPalette-horizontal {
645
1063
  align-items: center;
@@ -1227,7 +1645,7 @@ vuuUserPanel-history {
1227
1645
  background-color: var(--context-menu-highlight-bg);
1228
1646
  cursor: default;
1229
1647
  }
1230
- .vuuMenuList-childMenuShowing .hwMenuItem[data-highlighted] {
1648
+ .vuuMenuList-childMenuShowing .vuuMenuItem[data-highlighted] {
1231
1649
  background-color: var(--context-menu-blur-focus-bg);
1232
1650
  }
1233
1651
  .vuuMenuItem.focusVisible:before {
@@ -1251,7 +1669,7 @@ vuuUserPanel-history {
1251
1669
  background-color: rgb(220, 220, 220);
1252
1670
  }
1253
1671
  .vuuMenuItem-button:active,
1254
- .hwMenuItem-button:hover {
1672
+ .vuuMenuItem-button:hover {
1255
1673
  outline: 0;
1256
1674
  }
1257
1675
  .popup-menu .menu-item.disabled > button {
@@ -1281,11 +1699,13 @@ vuuUserPanel-history {
1281
1699
 
1282
1700
  /* src/popup-menu/PopupMenu.css */
1283
1701
  .vuuPopupMenu {
1702
+ --saltButton-height: 24px;
1703
+ --saltButton-width: 24px;
1284
1704
  --vuu-icon-color: #606477;
1285
1705
  --vuu-icon-height: 20px;
1286
- --vuu-icon-left: 0px;
1706
+ --vuu-icon-left: 2px;
1287
1707
  --vuu-icon-size: 16px;
1288
- --vuu-icon-top: 0px;
1708
+ --vuu-icon-top: 2px;
1289
1709
  --vuu-icon-width: 20px;
1290
1710
  background: var(--vuuPopupMenu-background, transparent);
1291
1711
  border-radius: 4px;
@@ -1295,12 +1715,16 @@ vuuUserPanel-history {
1295
1715
  padding: 2px;
1296
1716
  }
1297
1717
  .vuuPopupMenu:hover {
1298
- --vuu-icon-color: #15171B;
1299
- background-color: #F37880;
1718
+ --vuu-icon-color: var(--saltButton-text-color-hover);
1300
1719
  }
1301
- .vuuPopupMenu-open:hover,
1302
1720
  .vuuPopupMenu-open {
1303
- background-color: #6D18BD;
1721
+ --saltButton-background: var(--salt-actionable-secondary-background-active);
1304
1722
  --vuu-icon-color: white;
1305
1723
  }
1724
+ .vuu-theme-purple .vuuPopupMenu:hover {
1725
+ --saltButton-background-hover: #F37880;
1726
+ }
1727
+ .vuu-theme-purple .vuuPopupMenu-open {
1728
+ --saltButton-background: #6D18BD;
1729
+ }
1306
1730
  /*# sourceMappingURL=index.css.map */