react-os-shell 3.10.0 → 3.11.1
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/dist/Browser-OMB2YWT7.js +7 -0
- package/dist/{Browser-KMNCDY7D.js.map → Browser-OMB2YWT7.js.map} +1 -1
- package/dist/{Calculator-2HX5CQHC.js → Calculator-K3KWPHJI.js} +4 -4
- package/dist/{Calculator-2HX5CQHC.js.map → Calculator-K3KWPHJI.js.map} +1 -1
- package/dist/{CurrencyConverter-CCYVPA2T.js → CurrencyConverter-ROLJLHT4.js} +4 -4
- package/dist/{CurrencyConverter-CCYVPA2T.js.map → CurrencyConverter-ROLJLHT4.js.map} +1 -1
- package/dist/{Documents-7GJ5YKN5.js → Documents-FNUDJADL.js} +4 -4
- package/dist/{Documents-7GJ5YKN5.js.map → Documents-FNUDJADL.js.map} +1 -1
- package/dist/Files-YVG267R2.js +12 -0
- package/dist/{Files-ERJ5LMYQ.js.map → Files-YVG267R2.js.map} +1 -1
- package/dist/{Notepad-FQM7GCF7.js → Notepad-ZOF2A7Q7.js} +4 -4
- package/dist/{Notepad-FQM7GCF7.js.map → Notepad-ZOF2A7Q7.js.map} +1 -1
- package/dist/{PomodoroTimer-CHR6G3HN.js → PomodoroTimer-IKLRQIU3.js} +5 -5
- package/dist/{PomodoroTimer-CHR6G3HN.js.map → PomodoroTimer-IKLRQIU3.js.map} +1 -1
- package/dist/Preview-PNMJG2WL.js +8 -0
- package/dist/{Preview-XJLBPDGQ.js.map → Preview-PNMJG2WL.js.map} +1 -1
- package/dist/Spreadsheet-BPJIYAXF.js +7 -0
- package/dist/{Spreadsheet-TFBKD377.js.map → Spreadsheet-BPJIYAXF.js.map} +1 -1
- package/dist/{Stock-ALK2CV7R.js → Stock-VGTJEM4B.js} +4 -4
- package/dist/{Stock-ALK2CV7R.js.map → Stock-VGTJEM4B.js.map} +1 -1
- package/dist/{Weather-CW5JMDKQ.js → Weather-JXDY47YQ.js} +4 -4
- package/dist/{Weather-CW5JMDKQ.js.map → Weather-JXDY47YQ.js.map} +1 -1
- package/dist/{WorldClock-7B4JZOQR.js → WorldClock-ACR63JED.js} +4 -4
- package/dist/{WorldClock-7B4JZOQR.js.map → WorldClock-ACR63JED.js.map} +1 -1
- package/dist/apps/index.js +19 -19
- package/dist/{chunk-HMCBPRIZ.js → chunk-5HBGCZKG.js} +4 -4
- package/dist/{chunk-HMCBPRIZ.js.map → chunk-5HBGCZKG.js.map} +1 -1
- package/dist/{chunk-7UJLZUWX.js → chunk-76SEPQRP.js} +5 -5
- package/dist/{chunk-7UJLZUWX.js.map → chunk-76SEPQRP.js.map} +1 -1
- package/dist/{chunk-HUQGQCC7.js → chunk-GOT6PRT2.js} +4 -4
- package/dist/{chunk-HUQGQCC7.js.map → chunk-GOT6PRT2.js.map} +1 -1
- package/dist/{chunk-JXW7H3DU.js → chunk-HLWEKEKD.js} +10 -3
- package/dist/chunk-HLWEKEKD.js.map +1 -0
- package/dist/{chunk-PM5G3GVW.js → chunk-MRFKIP3G.js} +3 -3
- package/dist/{chunk-PM5G3GVW.js.map → chunk-MRFKIP3G.js.map} +1 -1
- package/dist/{chunk-ZYKRG3BM.js → chunk-MSP7WNTK.js} +4 -4
- package/dist/{chunk-ZYKRG3BM.js.map → chunk-MSP7WNTK.js.map} +1 -1
- package/dist/{chunk-IIEI3RDA.js → chunk-PQYTYQ62.js} +4 -4
- package/dist/{chunk-IIEI3RDA.js.map → chunk-PQYTYQ62.js.map} +1 -1
- package/dist/{chunk-YLJY5LDU.js → chunk-VGJ3KCOP.js} +3 -3
- package/dist/{chunk-YLJY5LDU.js.map → chunk-VGJ3KCOP.js.map} +1 -1
- package/dist/{chunk-S6CH5S26.js → chunk-XORQ5BQL.js} +4 -4
- package/dist/{chunk-S6CH5S26.js.map → chunk-XORQ5BQL.js.map} +1 -1
- package/dist/index.d.ts +138 -2
- package/dist/index.js +460 -16
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/Browser-KMNCDY7D.js +0 -7
- package/dist/Files-ERJ5LMYQ.js +0 -12
- package/dist/Preview-XJLBPDGQ.js +0 -8
- package/dist/Spreadsheet-TFBKD377.js +0 -7
- package/dist/chunk-JXW7H3DU.js.map +0 -1
|
@@ -667,7 +667,11 @@ function ensureGestureStyle() {
|
|
|
667
667
|
if (typeof document === "undefined" || document.getElementById(GESTURE_STYLE_ID)) return;
|
|
668
668
|
const style = document.createElement("style");
|
|
669
669
|
style.id = GESTURE_STYLE_ID;
|
|
670
|
-
style.textContent =
|
|
670
|
+
style.textContent = // Drop the frosted blur on every glass surface EXCEPT the one inside the
|
|
671
|
+
// window currently being dragged/resized (`.rosh-gesture-window`), so the
|
|
672
|
+
// grabbed window keeps its glass while the static windows/chrome shed the
|
|
673
|
+
// per-frame re-sample.
|
|
674
|
+
"body.rosh-gesturing .backdrop-blur-sm:not(.rosh-gesture-window *){backdrop-filter:none!important;-webkit-backdrop-filter:none!important}body.rosh-gesturing [data-modal-panel]{will-change:transform}";
|
|
671
675
|
document.head.appendChild(style);
|
|
672
676
|
}
|
|
673
677
|
var RESIZE_CURSOR = {
|
|
@@ -687,6 +691,8 @@ function beginPointerGesture(handle, pointerId, cursor) {
|
|
|
687
691
|
} catch {
|
|
688
692
|
}
|
|
689
693
|
document.body.classList.add("rosh-gesturing");
|
|
694
|
+
const gestureWindow = handle.closest("[data-modal-panel]");
|
|
695
|
+
gestureWindow?.classList.add("rosh-gesture-window");
|
|
690
696
|
const shield = document.createElement("div");
|
|
691
697
|
shield.setAttribute("data-drag-shield", "");
|
|
692
698
|
shield.style.cssText = `position:fixed;inset:0;z-index:2147483647;cursor:${cursor};background:transparent;touch-action:none`;
|
|
@@ -700,6 +706,7 @@ function beginPointerGesture(handle, pointerId, cursor) {
|
|
|
700
706
|
} catch {
|
|
701
707
|
}
|
|
702
708
|
shield.remove();
|
|
709
|
+
gestureWindow?.classList.remove("rosh-gesture-window");
|
|
703
710
|
document.body.classList.remove("rosh-gesturing");
|
|
704
711
|
};
|
|
705
712
|
}
|
|
@@ -2614,5 +2621,5 @@ function WindowManagerProvider({ children }) {
|
|
|
2614
2621
|
}
|
|
2615
2622
|
|
|
2616
2623
|
export { CancelButton, CopyButton, DocFavStar, LoadingSpinner, Modal, ModalActions, PopupMenu, PopupMenuDivider, PopupMenuItem, PopupMenuLabel, ShellPrefsProvider, ThumbCard, WINDOW_REGISTRY, WindowCrashedFallback, WindowErrorBoundary, WindowManagerProvider, WindowTitle, activateModal, client_default, commitExposeHighlight, exitExposeMode, getActiveModalId, getActiveWindowRoute, getExposeHighlight, getWindowPosition, isEntityEntry, isPageEntry, registerModalEscapeInterceptor, setExposeHighlight, setShellApiClient, setShellWindowRegistry, setWindowDefaultPosition, setWindowPosition, subscribeExposeHighlight, toggleExposeMode, useIsMobile, useLocalStoragePrefs, useModalActive, useShellPrefs, useWidgetSettings, useWindowManager, useWindowMenuItem, useWindowTitle };
|
|
2617
|
-
//# sourceMappingURL=chunk-
|
|
2618
|
-
//# sourceMappingURL=chunk-
|
|
2624
|
+
//# sourceMappingURL=chunk-HLWEKEKD.js.map
|
|
2625
|
+
//# sourceMappingURL=chunk-HLWEKEKD.js.map
|