dsh-mobile 0.8.8 → 0.8.9

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.
@@ -917,9 +917,22 @@ html,body,#root{width:100%;height:100%;overflow:hidden}
917
917
  .dshm-drawer{position:fixed;z-index:70;inset:0 auto 0 0;box-sizing:border-box;width:56px;max-width:100%;padding-top:env(safe-area-inset-top);overflow:hidden;background-color:Canvas;background-image:linear-gradient(var(--dsw-alias-bg-layer-1,#f8fafc),var(--dsw-alias-bg-layer-1,#f8fafc));box-shadow:none;will-change:width;transition:width 240ms cubic-bezier(.22,1,.36,1),box-shadow 240ms ease}
918
918
  .dshm-drawer[data-open=true]{width:min(88vw,340px);box-shadow:18px 0 46px rgb(15 23 42 / 18%)}
919
919
  .dshm-drawer[data-open=false]{pointer-events:auto;visibility:visible}
920
- .dshm-drawer>*{width:100%!important;height:100%!important;transform:translateX(-6px);opacity:.94;transition:transform 220ms cubic-bezier(.22,1,.36,1),opacity 160ms ease-out}
921
- .dshm-drawer[data-open=true]>*{transform:translateX(0);opacity:1}
922
- .dshm-drawer[data-open=false]>*{width:56px!important}
920
+ /* Slide the sidebar content only while opening or closing. A resting transform
921
+ would make this child the containing block for stock fixed-position surfaces
922
+ inside the sidebar and let the drawer's overflow clip them (issue #413: the
923
+ Cordis plugin panel anchors itself to the viewport to escape that clip). */
924
+ .dshm-drawer>*{width:100%!important;height:100%!important;opacity:.94;transition:opacity 160ms ease-out}
925
+ .dshm-drawer[data-open=true]>*{opacity:1;animation:dshm-drawer-slide-open 220ms cubic-bezier(.22,1,.36,1)}
926
+ .dshm-drawer[data-open=false]>*{width:56px!important;animation:dshm-drawer-slide-closed 220ms cubic-bezier(.22,1,.36,1)}
927
+ @keyframes dshm-drawer-slide-open{from{transform:translateX(-6px)}to{transform:translateX(0)}}
928
+ @keyframes dshm-drawer-slide-closed{from{transform:translateX(0)}to{transform:translateX(-6px)}}
929
+ /* The Cordis plugin panel opens from the sidebar footer as a stock fixed surface
930
+ (position:fixed, width:420px, anchored from its trigger) so the sidebar's
931
+ overflow cannot clip it. On phones the drawer must give it real containment:
932
+ span the viewport instead of the desktop width, sit above our drawer but below
933
+ the stock floating slot layer (300), and cap the height so its body scrolls
934
+ (issue #413). */
935
+ .dshm-shell:not([${WIDE_LAYOUT_ATTRIBUTE}="1"]) [data-cordis-panel]{position:fixed!important;inset:auto 8px max(8px,env(safe-area-inset-bottom)) 8px!important;width:auto!important;max-width:min(420px,calc(100vw - 16px))!important;max-height:min(60vh,calc(100dvh - 96px))!important;overflow-y:auto!important;z-index:210!important}
923
936
  /* Folded icon rail: on narrow viewports the drawer is fixed, so give the main
924
937
  content the same 56px offset the wide grid already provides. The width floor
925
938
  keeps phone-width headers on their own inset; the band itself is the root
@@ -994,7 +1007,7 @@ body:has(.dshm-shell) :is(input,textarea,[contenteditable=true],[contenteditable
994
1007
  dims and covers it. Only the wide grid needs this: on a phone the drawer is a
995
1008
  floating overlay and must keep covering the conversation. */
996
1009
  .dshm-shell[${WIDE_LAYOUT_ATTRIBUTE}="1"] .dshm-main{grid-area:1/2;z-index:1}
997
- @media(prefers-reduced-motion:reduce){.dshm-drawer,.dshm-details,.dshm-scrim,.dshm-drawer>*,.dshm-main{transition:none!important}}
1010
+ @media(prefers-reduced-motion:reduce){.dshm-drawer,.dshm-details,.dshm-scrim,.dshm-drawer>*,.dshm-main{transition:none!important}.dshm-drawer>*{animation:none!important}}
998
1011
  /* Touch adaptation changes control boxes, not invisible hit regions. Root opt-out
999
1012
  retains pane geometry too; nested opt-out preserves a widget's own controls.
1000
1013
  DSH's plugin cards open through a cardTitle/cardOpen button whose ::after