@orsetra/shared-ui 1.5.12 → 1.5.14
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.
|
@@ -98,7 +98,7 @@ function LayoutContent({
|
|
|
98
98
|
const handleSecondarySidebarOpen = () => setOpen(true)
|
|
99
99
|
|
|
100
100
|
return (
|
|
101
|
-
<div className="flex h-screen w-full bg-white overflow-
|
|
101
|
+
<div className="flex h-screen w-full bg-white overflow-hidden">
|
|
102
102
|
{!isMinimized && !isHidden && (
|
|
103
103
|
<Sidebar
|
|
104
104
|
currentMenu={currentMenu}
|
|
@@ -144,7 +144,7 @@ function LayoutContent({
|
|
|
144
144
|
</div>
|
|
145
145
|
</header>
|
|
146
146
|
|
|
147
|
-
<main className="flex-1 overflow-auto">
|
|
147
|
+
<main className="flex-1 min-h-0 overflow-auto">
|
|
148
148
|
{children}
|
|
149
149
|
</main>
|
|
150
150
|
</div>
|
|
@@ -1,24 +1,34 @@
|
|
|
1
1
|
import { type LucideIcon } from "lucide-react"
|
|
2
2
|
import {
|
|
3
3
|
Shield,
|
|
4
|
-
|
|
4
|
+
ShieldCheck,
|
|
5
5
|
Settings,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
Activity,
|
|
7
|
+
Layers,
|
|
8
|
+
Cpu,
|
|
9
|
+
Server,
|
|
10
|
+
Webhook,
|
|
9
11
|
Component,
|
|
12
|
+
LayoutTemplate,
|
|
10
13
|
FolderGit2,
|
|
14
|
+
GitBranch,
|
|
15
|
+
GitMerge,
|
|
16
|
+
FileJson,
|
|
11
17
|
Network,
|
|
18
|
+
SlidersHorizontal,
|
|
19
|
+
HardDrive,
|
|
20
|
+
Scale,
|
|
21
|
+
Crosshair,
|
|
12
22
|
Key,
|
|
23
|
+
Lock,
|
|
13
24
|
Globe,
|
|
14
|
-
Activity,
|
|
15
25
|
Database,
|
|
26
|
+
Braces,
|
|
27
|
+
AppWindow,
|
|
28
|
+
Fingerprint,
|
|
16
29
|
Users,
|
|
17
|
-
Plug,
|
|
18
30
|
Box,
|
|
19
31
|
Monitor,
|
|
20
|
-
Server,
|
|
21
|
-
Lock,
|
|
22
32
|
Home,
|
|
23
33
|
FileText,
|
|
24
34
|
Code,
|
|
@@ -87,25 +97,44 @@ export interface MenuApiResponse {
|
|
|
87
97
|
}
|
|
88
98
|
|
|
89
99
|
const ICON_MAP: Record<string, LucideIcon> = {
|
|
100
|
+
// Navigation principale
|
|
101
|
+
Layers,
|
|
102
|
+
Cpu,
|
|
103
|
+
Server,
|
|
104
|
+
Activity,
|
|
105
|
+
Webhook,
|
|
90
106
|
Shield,
|
|
91
|
-
|
|
107
|
+
ShieldCheck,
|
|
92
108
|
Settings,
|
|
93
|
-
|
|
94
|
-
LineChart,
|
|
95
|
-
Library,
|
|
109
|
+
// Assets
|
|
96
110
|
Component,
|
|
111
|
+
LayoutTemplate,
|
|
97
112
|
FolderGit2,
|
|
98
|
-
|
|
99
|
-
|
|
113
|
+
// Projects
|
|
114
|
+
GitBranch,
|
|
115
|
+
FileJson,
|
|
116
|
+
// Runtime
|
|
117
|
+
AppWindow,
|
|
118
|
+
HardDrive,
|
|
119
|
+
SlidersHorizontal,
|
|
100
120
|
Globe,
|
|
101
|
-
|
|
121
|
+
// Network
|
|
122
|
+
Scale,
|
|
123
|
+
Network,
|
|
124
|
+
// Infra
|
|
125
|
+
Crosshair,
|
|
126
|
+
// API Manager
|
|
127
|
+
Braces,
|
|
128
|
+
GitMerge,
|
|
102
129
|
Database,
|
|
130
|
+
// Access
|
|
103
131
|
Users,
|
|
104
|
-
|
|
132
|
+
Fingerprint,
|
|
133
|
+
Lock,
|
|
134
|
+
Key,
|
|
135
|
+
// Divers (non utilisés en menu mais gardés pour usage futur)
|
|
105
136
|
Box,
|
|
106
137
|
Monitor,
|
|
107
|
-
Server,
|
|
108
|
-
Lock,
|
|
109
138
|
Home,
|
|
110
139
|
FileText,
|
|
111
140
|
Code,
|
|
@@ -102,7 +102,7 @@ export function DetailPageHeader({
|
|
|
102
102
|
|
|
103
103
|
{/* Tab bar — always rendered to keep header height consistent */}
|
|
104
104
|
<nav
|
|
105
|
-
className={`flex gap-0
|
|
105
|
+
className={`flex gap-0 px-4 sm:px-6 min-h-10 ${
|
|
106
106
|
tabBarPosition === "right" ? "justify-end" : "justify-start"
|
|
107
107
|
}`}
|
|
108
108
|
aria-label="Tabs"
|