@syscore/ui-library 2.0.0-beta-publish-workflow-beta.1 → 2.0.0-beta-publish-workflow-beta.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.
@@ -154,6 +154,10 @@ interface NavigationProps {
154
154
  beforeActions?: React.ReactNode; // Slot for custom items before user icon (e.g., language switcher)
155
155
  userDropdown?: React.ReactNode; // Dropdown content to show when user icon is clicked
156
156
  isStrategy?: boolean;
157
+ /** Show the small alpha (α) badge next to the logo. Default true. */
158
+ showAlpha?: boolean;
159
+ /** Show the back/close button in strategy mode. Default true. */
160
+ showClose?: boolean;
157
161
  Link?: LinkComponent; // Optional Link component from routing library
158
162
  onLinkClick?: (href: string) => void; // Fallback callback for navigation
159
163
  onClose?: () => void;
@@ -166,6 +170,8 @@ export const StandardNavigation: React.FC<NavigationProps> = ({
166
170
  beforeActions,
167
171
  userDropdown,
168
172
  isStrategy = false,
173
+ showAlpha = true,
174
+ showClose = true,
169
175
  Link: LinkComponent,
170
176
  onLinkClick,
171
177
  onClose,
@@ -393,7 +399,7 @@ export const StandardNavigation: React.FC<NavigationProps> = ({
393
399
 
394
400
  <div className="navigation-container">
395
401
  <div className="navigation-logo-container">
396
- {isStrategy ? (
402
+ {isStrategy && showClose ? (
397
403
  <Button
398
404
  className="navigation-close-button"
399
405
  size="icon"
@@ -425,7 +431,7 @@ export const StandardNavigation: React.FC<NavigationProps> = ({
425
431
 
426
432
  <NavLogo dark={isStrategy} />
427
433
  <StandardLogo className={cn(!isStrategy ? "text-white" : "text-black")} />
428
- <AlphaIcon dark={isStrategy} />
434
+ {showAlpha ? <AlphaIcon dark={isStrategy} /> : null}
429
435
  </>
430
436
 
431
437
  ) : null}