@dubusoft/toodo-linux-arm64 1.9.2-dev.118 → 1.9.2-dev.119

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/bin/toodo CHANGED
Binary file
package/bin/toodo-server CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dubusoft/toodo-linux-arm64",
3
- "version": "1.9.2-dev.118",
3
+ "version": "1.9.2-dev.119",
4
4
  "description": "Toodo server and CLI binaries for Linux arm64 (glibc)",
5
5
  "license": "AGPL-3.0-only",
6
6
  "homepage": "https://github.com/Dubusoft/toodo",
@@ -1 +1 @@
1
- import{i as e,r as t,s as n}from"./dist-ZmB2kPfR.js";import{mt as r}from"./queries-DQ2qKkj-.js";import{Lt as i,vt as a}from"./index-fbnki_zQ.js";var o=n(e(),1),s=80,c=`(max-width: 47.99rem)`;function l(e){let[t,n]=(0,o.useState)(null);(0,o.useEffect)(()=>{if(t===null)return;let e=window.matchMedia?.(c),r=()=>n(null);return e?.addEventListener(`change`,r),()=>e?.removeEventListener(`change`,r)},[t!==null]);function r(e){window.matchMedia?.(`(max-width: 47.99rem)`).matches&&e.button===0&&!e.target.closest(`button`)&&(e.currentTarget.setPointerCapture?.(e.pointerId),n({pointer:e.pointerId,startY:e.clientY,offset:0}))}function i(e){t?.pointer===e.pointerId&&n({...t,offset:Math.max(0,e.clientY-t.startY)})}function a(r){t?.pointer===r.pointerId&&(n(null),r.type===`pointerup`&&r.clientY-t.startY>=s&&e())}return{dragging:t!==null,offset:t?.offset??0,handlers:{onPointerDown:r,onPointerMove:i,onPointerUp:a,onPointerCancel:a}}}var u=t();function d({ref:e,width:t,takeFocus:n=!0,returnFocus:s,onClose:c,banner:d,children:f}){let p=(0,o.useRef)(null),m=(0,o.useRef)(null),h=(0,o.useRef)(s);h.current=s;let g=l(c);(0,o.useLayoutEffect)(()=>{let e=document.activeElement instanceof HTMLElement?document.activeElement:null,t=p.current;return n&&m.current?.focus({preventScroll:!0}),()=>{let n=document.activeElement;if(n!==null&&n!==document.body&&!t?.contains(n))return;let r=h.current?.()??e;r?.isConnected&&r.focus({preventScroll:!0})}},[]);let _=g.handlers;return(0,u.jsxs)(`aside`,{ref:t=>{p.current=t,typeof e==`function`?e(t):e&&(e.current=t)},"aria-label":`Task details`,"data-dragging":g.dragging?``:void 0,className:`fixed z-40 flex flex-col overflow-hidden border bg-card shadow-xl max-md:inset-x-0 max-md:bottom-0 max-md:max-h-[90dvh] max-md:rounded-t-2xl max-md:border-b-0 max-md:pb-[env(safe-area-inset-bottom)] max-md:transition-transform max-md:data-dragging:transition-none motion-reduce:transition-none md:inset-y-4 md:right-4 md:w-(--sheet-width) md:rounded-xl`,style:{"--sheet-width":t,transform:g.offset===0?void 0:`translateY(${g.offset}px)`},children:[(0,u.jsx)(`div`,{className:`flex shrink-0 justify-center pt-2 pb-1 md:hidden touch-none`,..._,children:(0,u.jsx)(`span`,{"data-grabber":!0,"aria-hidden":!0,className:`h-1 w-9 rounded-full bg-muted-foreground/40`})}),(0,u.jsxs)(`div`,{className:`flex shrink-0 items-center justify-between border-b px-4 py-2 max-md:touch-none max-md:pt-0`,..._,children:[(0,u.jsx)(`h3`,{ref:m,tabIndex:-1,className:`text-xs font-medium text-muted-foreground outline-none`,children:`Task details`}),(0,u.jsx)(r,{size:`icon-xs`,variant:`ghost`,"aria-label":`Close details`,title:`Close details (Esc)`,onClick:c,children:(0,u.jsx)(i,{})})]}),d,(0,u.jsx)(`ul`,{className:`min-h-0 flex-1 overflow-y-auto overscroll-contain`,children:(0,u.jsx)(a,{label:`the task details`,as:`li`,className:`m-4`,children:f})})]})}export{d as t};
1
+ import{i as e,r as t,s as n}from"./dist-ZmB2kPfR.js";import{mt as r}from"./queries-DQ2qKkj-.js";import{Lt as i,vt as a}from"./index-CKxNxMCO.js";var o=n(e(),1),s=80,c=`(max-width: 47.99rem)`;function l(e){let[t,n]=(0,o.useState)(null);(0,o.useEffect)(()=>{if(t===null)return;let e=window.matchMedia?.(c),r=()=>n(null);return e?.addEventListener(`change`,r),()=>e?.removeEventListener(`change`,r)},[t!==null]);function r(e){window.matchMedia?.(`(max-width: 47.99rem)`).matches&&e.button===0&&!e.target.closest(`button`)&&(e.currentTarget.setPointerCapture?.(e.pointerId),n({pointer:e.pointerId,startY:e.clientY,offset:0}))}function i(e){t?.pointer===e.pointerId&&n({...t,offset:Math.max(0,e.clientY-t.startY)})}function a(r){t?.pointer===r.pointerId&&(n(null),r.type===`pointerup`&&r.clientY-t.startY>=s&&e())}return{dragging:t!==null,offset:t?.offset??0,handlers:{onPointerDown:r,onPointerMove:i,onPointerUp:a,onPointerCancel:a}}}var u=t();function d({ref:e,width:t,takeFocus:n=!0,returnFocus:s,onClose:c,banner:d,children:f}){let p=(0,o.useRef)(null),m=(0,o.useRef)(null),h=(0,o.useRef)(s);h.current=s;let g=l(c);(0,o.useLayoutEffect)(()=>{let e=document.activeElement instanceof HTMLElement?document.activeElement:null,t=p.current;return n&&m.current?.focus({preventScroll:!0}),()=>{let n=document.activeElement;if(n!==null&&n!==document.body&&!t?.contains(n))return;let r=h.current?.()??e;r?.isConnected&&r.focus({preventScroll:!0})}},[]);let _=g.handlers;return(0,u.jsxs)(`aside`,{ref:t=>{p.current=t,typeof e==`function`?e(t):e&&(e.current=t)},"aria-label":`Task details`,"data-dragging":g.dragging?``:void 0,className:`fixed z-40 flex flex-col overflow-hidden border bg-card shadow-xl max-md:inset-x-0 max-md:bottom-0 max-md:max-h-[90dvh] max-md:rounded-t-2xl max-md:border-b-0 max-md:pb-[env(safe-area-inset-bottom)] max-md:transition-transform max-md:data-dragging:transition-none motion-reduce:transition-none md:inset-y-4 md:right-4 md:w-(--sheet-width) md:rounded-xl`,style:{"--sheet-width":t,transform:g.offset===0?void 0:`translateY(${g.offset}px)`},children:[(0,u.jsx)(`div`,{className:`flex shrink-0 justify-center pt-2 pb-1 md:hidden touch-none`,..._,children:(0,u.jsx)(`span`,{"data-grabber":!0,"aria-hidden":!0,className:`h-1 w-9 rounded-full bg-muted-foreground/40`})}),(0,u.jsxs)(`div`,{className:`flex shrink-0 items-center justify-between border-b px-4 py-2 max-md:touch-none max-md:pt-0`,..._,children:[(0,u.jsx)(`h3`,{ref:m,tabIndex:-1,className:`text-xs font-medium text-muted-foreground outline-none`,children:`Task details`}),(0,u.jsx)(r,{size:`icon-xs`,variant:`ghost`,"aria-label":`Close details`,title:`Close details (Esc)`,onClick:c,children:(0,u.jsx)(i,{})})]}),d,(0,u.jsx)(`ul`,{className:`min-h-0 flex-1 overflow-y-auto overscroll-contain`,children:(0,u.jsx)(a,{label:`the task details`,as:`li`,className:`m-4`,children:f})})]})}export{d as t};