@wwtdev/bsds-css 3.0.14 → 3.0.15

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.
@@ -5819,7 +5819,37 @@ a.bs-text-button {
5819
5819
  --bs-popover-width: 28.75rem; /* 460px */
5820
5820
  }
5821
5821
  .bs-flyout:where([data-size="lg"]) {
5822
- --bs-popover-width: 33.4375rem /* 535px */;
5822
+ --bs-popover-width: 33.4375rem; /* 535px */
5823
+ }
5824
+ /* -- RESIZING -- */
5825
+ .bs-flyout:where([data-resize]) {
5826
+ /* using clip instead of hidden, to allow resizer hover target
5827
+ to extend outside of the flyout bounds via overflow-clip-margin */
5828
+ overflow: clip;
5829
+ transform: translateX(var(--bs-flyout-resize-pushed, 0px));
5830
+ }
5831
+ .bs-flyout-resizer {
5832
+ cursor: col-resize;
5833
+ inset-block: 0;
5834
+ position: absolute;
5835
+ width: 10px;
5836
+ z-index: 1;
5837
+ /* prevents browser from trying to hijack touch interactions to handle on its own */
5838
+ touch-action: none;
5839
+ }
5840
+ /* right flyout */
5841
+ .bs-flyout:where([data-resize="right"]) {
5842
+ overflow-clip-margin: 5px;
5843
+ }
5844
+ .bs-flyout:where([data-resize="right"]) :where(.bs-flyout-resizer) {
5845
+ left: -5px;
5846
+ }
5847
+ /* left flyout - not using same as right flyout, to avoid overlapping potential scrollbar too much */
5848
+ .bs-flyout:where([data-resize="left"]) {
5849
+ overflow-clip-margin: 7px;
5850
+ }
5851
+ .bs-flyout:where([data-resize="left"]) :where(.bs-flyout-resizer) {
5852
+ right: -7px;
5823
5853
  }
5824
5854
  /* -- SHADOWS -- */
5825
5855
  .bs-flyout:where([data-place-self="left"]) {
@@ -5845,11 +5875,11 @@ a.bs-text-button {
5845
5875
  /* The 105% is so the huge shadow on the flyout ends-up off-screen too, otherwise at 100%, you notice it cut out when the panel closes */
5846
5876
  .bs-flyout-enter-from .bs-flyout[data-place-self="left"],
5847
5877
  .bs-flyout-leave-to .bs-flyout[data-place-self="left"] {
5848
- transform: translateX(-105%);
5878
+ transform: translate(calc(-105% + var(--bs-flyout-resize-pushed, 0px)));
5849
5879
  }
5850
5880
  .bs-flyout-enter-from .bs-flyout[data-place-self="right"],
5851
5881
  .bs-flyout-leave-to .bs-flyout[data-place-self="right"] {
5852
- transform: translateX(105%);
5882
+ transform: translate(calc(105% + var(--bs-flyout-resize-pushed, 0px)));
5853
5883
  }
5854
5884
  /*
5855
5885
  HEADS-UP: