@shellui/core 0.6.0 → 0.6.2
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/README.md +1 -1
- package/package.json +2 -2
- package/schemas/shellui.config.schema.json +15 -0
- package/src/features/admin/AdminView.tsx +18 -4
- package/src/features/auth/AuthProvider.tsx +184 -69
- package/src/features/auth/backends/shellui.spec.ts +115 -0
- package/src/features/auth/backends/shellui.ts +8 -2
- package/src/features/auth/backends/types.ts +9 -1
- package/src/features/auth/hooks/useAuth.tsx +1 -0
- package/src/features/auth/utils/accessTokenRefreshDue.spec.ts +15 -0
- package/src/features/auth/utils/accessTokenRefreshDue.ts +8 -0
- package/src/features/auth/utils/desktopAuthCallback.spec.ts +68 -0
- package/src/features/auth/utils/desktopAuthCallback.ts +126 -0
- package/src/features/auth/utils/desktopSignIn.spec.ts +203 -0
- package/src/features/auth/utils/desktopSignIn.ts +483 -0
- package/src/features/auth/utils/frameSessionRefresher.spec.ts +23 -0
- package/src/features/auth/utils/frameSessionRefresher.ts +21 -0
- package/src/features/auth/utils/pkce.spec.ts +36 -0
- package/src/features/auth/utils/pkce.ts +38 -0
- package/src/features/chromeActions/ChromeActionsHost.tsx +7 -1
- package/src/features/chromeActions/computeActionInsets.ts +6 -0
- package/src/features/config/types.ts +17 -0
- package/src/features/layouts/appbar/AppBarLayout.tsx +39 -9
- package/src/features/layouts/chrome/ContentDragOverlay.tsx +14 -7
- package/src/features/layouts/chrome/DesktopChrome.tsx +3 -1
- package/src/features/layouts/floating/FloatingLayout.tsx +4 -1
- package/src/features/layouts/floating/FloatingSidebar.tsx +84 -28
- package/src/features/layouts/floating/computeFloatingInsets.spec.ts +19 -0
- package/src/features/layouts/floating/computeFloatingInsets.ts +40 -8
- package/src/features/layouts/floating/layoutChromeStore.ts +13 -0
- package/src/features/layouts/floating/useFloatingChrome.ts +11 -5
- package/src/features/layouts/fullscreen/FullscreenLayout.tsx +3 -0
- package/src/features/layouts/sidebar/SidebarInner.tsx +5 -0
- package/src/features/layouts/sidebar/SidebarLayout.tsx +1 -0
- package/src/features/layouts/windows/WindowsLayout.tsx +106 -46
- package/src/features/security/trustedFrames.spec.ts +17 -1
- package/src/features/security/trustedFrames.ts +31 -9
- package/src/features/settings/SettingsProvider.tsx +86 -31
- package/src/features/settings/utils/buildSettingsForPropagation.ts +9 -2
- package/src/index.css +16 -1
- package/src/index.ts +6 -0
- package/src/lib/z-index.ts +5 -0
package/src/lib/z-index.ts
CHANGED
|
@@ -35,6 +35,11 @@ export const Z_INDEX = {
|
|
|
35
35
|
WINDOWS_TASKBAR: 9000,
|
|
36
36
|
/** Base z-index for windows; each window gets base + order */
|
|
37
37
|
WINDOWS_WINDOW_BASE: 9001,
|
|
38
|
+
/**
|
|
39
|
+
* Tauri overlay titlebar in the windows layout. Above any window so a
|
|
40
|
+
* maximized title bar cannot slide under the drag strip, below modals.
|
|
41
|
+
*/
|
|
42
|
+
WINDOWS_TITLEBAR: 9500,
|
|
38
43
|
} as const;
|
|
39
44
|
|
|
40
45
|
export type ZIndexLayer = keyof typeof Z_INDEX;
|