@orsetra/shared-ui 1.5.28 → 1.5.29

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.
@@ -33,6 +33,9 @@ import {
33
33
  FileText,
34
34
  Code,
35
35
  Cloud,
36
+ ArrowRightLeft,
37
+ ArrowLeftRight,
38
+ Puzzle,
36
39
  } from "lucide-react"
37
40
 
38
41
  export interface MainMenuItem {
@@ -126,6 +129,9 @@ const ICON_MAP: Record<string, LucideIcon> = {
126
129
  // API Manager
127
130
  Braces,
128
131
  GitMerge,
132
+ ArrowRightLeft,
133
+ ArrowLeftRight,
134
+ Puzzle,
129
135
  Database,
130
136
  // Access
131
137
  Users,
@@ -12,23 +12,23 @@ interface PageHeaderProps {
12
12
 
13
13
  export function PageHeader({ title, description, backLink, actions, statusNode}: PageHeaderProps) {
14
14
  return (
15
- <div className="mb-4 sm:mb-8">
16
- <div className="flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4">
17
- <div className="flex items-center space-x-3 min-w-0">
15
+ <div>
16
+ <div className="flex flex-col sm:flex-row sm:items-center sm:justify-between gap-3">
17
+ <div className="flex items-center gap-2.5 min-w-0">
18
18
  {backLink && (
19
19
  <Link href={backLink} className="flex-shrink-0">
20
- <ArrowLeft className="h-5 w-5 sm:h-6 sm:w-6 text-text-secondary" />
20
+ <ArrowLeft className="h-4 w-4 text-ibm-gray-60" />
21
21
  </Link>
22
22
  )}
23
23
  <div className="min-w-0">
24
- <div className="flex items-center space-x-3">
25
- <h1 className="text-xl sm:text-2xl font-semibold text-text-primary truncate">{title}</h1>
26
- {statusNode && <div className="mt-2 flex-shrink-0">{statusNode}</div>}
24
+ <div className="flex items-center gap-2.5">
25
+ <h1 className="text-base font-semibold text-ibm-gray-100 truncate leading-tight">{title}</h1>
26
+ {statusNode && <div className="flex-shrink-0">{statusNode}</div>}
27
27
  </div>
28
- {description && <p className="text-sm sm:text-base text-text-secondary line-clamp-2">{description}</p>}
28
+ {description && <p className="text-xs text-ibm-gray-60 truncate mt-0.5">{description}</p>}
29
29
  </div>
30
30
  </div>
31
- {actions && <div className="flex items-center space-x-2 sm:space-x-4 flex-shrink-0">{actions}</div>}
31
+ {actions && <div className="flex items-center gap-2 flex-shrink-0">{actions}</div>}
32
32
  </div>
33
33
  </div>
34
34
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orsetra/shared-ui",
3
- "version": "1.5.28",
3
+ "version": "1.5.29",
4
4
  "description": "Shared UI components for Orsetra platform",
5
5
  "main": "./index.ts",
6
6
  "types": "./index.ts",