@checkmate-monitor/frontend 0.1.2 → 0.1.4
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/CHANGELOG.md +39 -0
- package/package.json +1 -1
- package/src/App.tsx +22 -13
- package/src/index.css +13 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,44 @@
|
|
|
1
1
|
# @checkmate-monitor/frontend
|
|
2
2
|
|
|
3
|
+
## 0.1.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- ae33df2: Move command palette from dashboard to centered navbar position
|
|
8
|
+
|
|
9
|
+
- Converted `command-frontend` into a plugin with `NavbarCenterSlot` extension
|
|
10
|
+
- Added compact `NavbarSearch` component with responsive search trigger
|
|
11
|
+
- Moved `SearchDialog` from dashboard-frontend to command-frontend
|
|
12
|
+
- Keyboard shortcut (⌘K / Ctrl+K) now works on every page
|
|
13
|
+
- Renamed navbar slots for clarity:
|
|
14
|
+
- `NavbarSlot` → `NavbarRightSlot`
|
|
15
|
+
- `NavbarMainSlot` → `NavbarLeftSlot`
|
|
16
|
+
- Added new `NavbarCenterSlot` for centered content
|
|
17
|
+
|
|
18
|
+
- Updated dependencies [52231ef]
|
|
19
|
+
- Updated dependencies [b0124ef]
|
|
20
|
+
- Updated dependencies [54cc787]
|
|
21
|
+
- Updated dependencies [a65e002]
|
|
22
|
+
- Updated dependencies [ae33df2]
|
|
23
|
+
- Updated dependencies [a65e002]
|
|
24
|
+
- Updated dependencies [32ea706]
|
|
25
|
+
- @checkmate-monitor/auth-frontend@0.3.0
|
|
26
|
+
- @checkmate-monitor/ui@0.1.2
|
|
27
|
+
- @checkmate-monitor/catalog-frontend@0.1.0
|
|
28
|
+
- @checkmate-monitor/common@0.2.0
|
|
29
|
+
- @checkmate-monitor/command-frontend@0.1.0
|
|
30
|
+
- @checkmate-monitor/frontend-api@0.1.0
|
|
31
|
+
- @checkmate-monitor/signal-common@0.1.1
|
|
32
|
+
- @checkmate-monitor/signal-frontend@0.1.1
|
|
33
|
+
|
|
34
|
+
## 0.1.3
|
|
35
|
+
|
|
36
|
+
### Patch Changes
|
|
37
|
+
|
|
38
|
+
- Updated dependencies [1bf71bb]
|
|
39
|
+
- @checkmate-monitor/auth-frontend@0.2.1
|
|
40
|
+
- @checkmate-monitor/catalog-frontend@0.0.5
|
|
41
|
+
|
|
3
42
|
## 0.1.2
|
|
4
43
|
|
|
5
44
|
### Patch Changes
|
package/package.json
CHANGED
package/src/App.tsx
CHANGED
|
@@ -17,8 +17,9 @@ import {
|
|
|
17
17
|
ExtensionSlot,
|
|
18
18
|
pluginRegistry,
|
|
19
19
|
DashboardSlot,
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
NavbarRightSlot,
|
|
21
|
+
NavbarLeftSlot,
|
|
22
|
+
NavbarCenterSlot,
|
|
22
23
|
RuntimeConfigProvider,
|
|
23
24
|
useRuntimeConfigLoading,
|
|
24
25
|
useRuntimeConfig,
|
|
@@ -92,17 +93,25 @@ function AppContent() {
|
|
|
92
93
|
{/* Global keyboard shortcuts for commands */}
|
|
93
94
|
<GlobalShortcuts />
|
|
94
95
|
<AmbientBackground className="text-foreground font-sans">
|
|
95
|
-
<header className="p-4 bg-card/80 backdrop-blur-sm shadow-sm border-b border-border
|
|
96
|
-
<div className="flex items-center gap-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
96
|
+
<header className="p-4 bg-card/80 backdrop-blur-sm shadow-sm border-b border-border z-50 relative">
|
|
97
|
+
<div className="flex items-center justify-between gap-4">
|
|
98
|
+
{/* Left: Logo and main navigation */}
|
|
99
|
+
<div className="flex items-center gap-8 flex-shrink-0">
|
|
100
|
+
<Link to="/">
|
|
101
|
+
<h1 className="text-xl font-bold text-primary">Checkmate</h1>
|
|
102
|
+
</Link>
|
|
103
|
+
<nav className="hidden md:flex gap-1">
|
|
104
|
+
<ExtensionSlot slot={NavbarLeftSlot} />
|
|
105
|
+
</nav>
|
|
106
|
+
</div>
|
|
107
|
+
{/* Center: Search (flexible width, centered) */}
|
|
108
|
+
<div className="flex-1 flex justify-center max-w-md">
|
|
109
|
+
<ExtensionSlot slot={NavbarCenterSlot} />
|
|
110
|
+
</div>
|
|
111
|
+
{/* Right: Other navbar items */}
|
|
112
|
+
<div className="flex gap-2 flex-shrink-0">
|
|
113
|
+
<ExtensionSlot slot={NavbarRightSlot} />
|
|
114
|
+
</div>
|
|
106
115
|
</div>
|
|
107
116
|
</header>
|
|
108
117
|
<main className="p-8 max-w-7xl mx-auto">
|
package/src/index.css
CHANGED
|
@@ -32,4 +32,17 @@
|
|
|
32
32
|
.editor pre,
|
|
33
33
|
.editor code {
|
|
34
34
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/* Subtle pulse animation for navbar search */
|
|
38
|
+
@keyframes pulse-glow {
|
|
39
|
+
|
|
40
|
+
0%,
|
|
41
|
+
100% {
|
|
42
|
+
box-shadow: 0 0 0 0 hsl(var(--primary) / 0);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
50% {
|
|
46
|
+
box-shadow: 0 0 8px 2px hsl(var(--primary) / 0.15);
|
|
47
|
+
}
|
|
35
48
|
}
|