@orsetra/shared-ui 1.5.16 → 1.5.18

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.
@@ -311,7 +311,6 @@ function Sidebar({ currentMenu, onMainMenuToggle, sidebarMenus = {}, main_base_u
311
311
  <Link
312
312
  key={item.id}
313
313
  href={ item.href}
314
- onClick={handleClick}
315
314
  className="flex items-center justify-center p-2 transition-colors border-l-4 border-transparent hover:bg-ui-background"
316
315
  >
317
316
  <item.icon
@@ -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 px-4 sm:px-6 min-h-10 ${
105
+ className={`flex gap-0 overflow-x-auto [&::-webkit-scrollbar]:hidden [-ms-overflow-style:none] [scrollbar-width:none] px-4 sm:px-6 min-h-10 ${
106
106
  tabBarPosition === "right" ? "justify-end" : "justify-start"
107
107
  }`}
108
108
  aria-label="Tabs"
@@ -14,7 +14,7 @@ export interface EnvironmentPickerDialogProps {
14
14
  onOpenChange: (open: boolean) => void
15
15
  projectName: string
16
16
  fetchEnvironments: (projectName: string) => Promise<{ envs: Environment[] }>
17
- onSelect: (envName: string) => void
17
+ onSelect: (envName: string, envAlias: string) => void
18
18
  excludeEnvs?: string[]
19
19
  title?: string
20
20
  description?: string
@@ -76,7 +76,7 @@ export function EnvironmentPickerDialog({
76
76
  type="button"
77
77
  className={`w-full text-left px-4 py-3 hover:bg-ibm-gray-10 transition-colors flex items-center gap-3 ${index !== environments.length - 1 ? "border-b border-ibm-gray-20" : ""}`}
78
78
  onClick={() => {
79
- onSelect(env.name)
79
+ onSelect(env.name, env.alias || env.name)
80
80
  onOpenChange(false)
81
81
  }}
82
82
  >
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orsetra/shared-ui",
3
- "version": "1.5.16",
3
+ "version": "1.5.18",
4
4
  "description": "Shared UI components for Orsetra platform",
5
5
  "main": "./index.ts",
6
6
  "types": "./index.ts",