@streamoid/ui 0.6.19 → 0.6.21

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/dist/index.css CHANGED
@@ -3932,9 +3932,10 @@
3932
3932
  display: flex;
3933
3933
  flex-direction: column;
3934
3934
  align-items: stretch;
3935
- width: var(--sc-workspace-menu-width, 336px);
3936
- max-height: calc(100vh - 32px);
3935
+ width: min(var(--sc-workspace-menu-width, 336px), calc(100vw - 32px));
3936
+ max-height: calc(100dvh - 80px);
3937
3937
  overflow-y: auto;
3938
+ overscroll-behavior: contain;
3938
3939
  padding: var(--spacing-xl, 12px);
3939
3940
  gap: var(--spacing-lg, 10px);
3940
3941
  border: 0.5px solid var(--alias-border-subtle, #242424);
@@ -4031,6 +4032,12 @@ button.ScSidebarShell_actionRow:hover {
4031
4032
  width: 20px;
4032
4033
  height: 20px;
4033
4034
  }
4035
+ .ScSidebarShell_chevronRight {
4036
+ color: var(--alias-text---icons-muted, #7a7a7a);
4037
+ font-size: 22px;
4038
+ font-weight: 300;
4039
+ line-height: 18px;
4040
+ }
4034
4041
  .ScSidebarShell_rowLabel {
4035
4042
  min-width: 0;
4036
4043
  flex: 1;
@@ -4226,6 +4233,37 @@ button.ScSidebarShell_actionRow:hover {
4226
4233
  .ScArtifaxSidebar_profileMain:hover {
4227
4234
  background: var(--alias-fill-neutral-neutral, #1a1a1a);
4228
4235
  }
4236
+ .ScArtifaxSidebar_appIdentityMain {
4237
+ display: flex;
4238
+ flex: 1 1 0;
4239
+ min-width: 0;
4240
+ min-height: 3rem;
4241
+ align-items: center;
4242
+ padding: var(--spacing-md, 0.5rem) var(--spacing-xl, 0.75rem);
4243
+ border: none;
4244
+ border-radius: var(--radius-3xl, 1rem);
4245
+ background: transparent;
4246
+ color: inherit;
4247
+ cursor: pointer;
4248
+ }
4249
+ .ScArtifaxSidebar_appIdentityMain:hover,
4250
+ .ScArtifaxSidebar_appIdentityCollapsed:hover {
4251
+ background: var(--alias-fill-neutral-neutral, #1a1a1a);
4252
+ }
4253
+ .ScArtifaxSidebar_appIdentityCollapsed {
4254
+ display: flex;
4255
+ width: 3rem;
4256
+ height: 3rem;
4257
+ flex-shrink: 0;
4258
+ align-items: center;
4259
+ justify-content: center;
4260
+ padding: var(--spacing-md, 0.5rem);
4261
+ border: none;
4262
+ border-radius: var(--radius-3xl, 1rem);
4263
+ background: transparent;
4264
+ color: inherit;
4265
+ cursor: pointer;
4266
+ }
4229
4267
  .ScArtifaxSidebar_profileRowCollapsed {
4230
4268
  display: flex;
4231
4269
  align-items: center;
package/dist/index.d.mts CHANGED
@@ -497,6 +497,12 @@ interface SidebarProfileConfig {
497
497
  avatar?: ReactNode;
498
498
  onClick?: () => void;
499
499
  }
500
+ /** Dedicated footer surface for the current product/app switcher. */
501
+ interface SidebarAppIdentityConfig {
502
+ content: ReactNode;
503
+ onClick?: () => void;
504
+ ariaLabel?: string;
505
+ }
500
506
  interface SidebarIconContext {
501
507
  item: SidebarMenuItemConfig;
502
508
  active: boolean;
@@ -521,6 +527,9 @@ interface StreamoidSidebarProps {
521
527
  expandedLogo?: ReactNode;
522
528
  collapsedLogo?: ReactNode;
523
529
  profile?: SidebarProfileConfig;
530
+ /** Current product identity and app-switcher trigger. This intentionally
531
+ * bypasses the fixed-size profile avatar so wordmarks retain their width. */
532
+ appIdentity?: SidebarAppIdentityConfig;
524
533
  versionText?: string;
525
534
  toggleIcon?: ReactNode | ((expanded: boolean) => ReactNode);
526
535
  /** Footer = profile (flex-1) + a SEPARATE collapse-toggle button beside it,
@@ -553,7 +562,7 @@ interface StreamoidSidebarProps {
553
562
  /** Explicit state override per top item id — takes priority over activeItemId/highlightedItemIds for top items */
554
563
  topItemStates?: Record<string, "default" | "active" | "hover" | "default-highlight" | "default-active">;
555
564
  }
556
- declare function StreamoidSidebar({ expanded, onToggle, resizable, onExpandedChange, config, iconMap, activeItemId, highlightedItemIds, onItemSelect, moreIcon, onMoreClick, expandedLogo, collapsedLogo, profile, versionText, toggleIcon, toggleInProfile, hideFooter, assistantCta, preFooterContent, bodyContent, showBody, switchPanel, switchPanelOpen, onSwitchPanelClose, isMobile, className, style, topItems, topItemStates, }: StreamoidSidebarProps): React$1.JSX.Element;
565
+ declare function StreamoidSidebar({ expanded, onToggle, resizable, onExpandedChange, config, iconMap, activeItemId, highlightedItemIds, onItemSelect, moreIcon, onMoreClick, expandedLogo, collapsedLogo, profile, appIdentity, versionText, toggleIcon, toggleInProfile, hideFooter, assistantCta, preFooterContent, bodyContent, showBody, switchPanel, switchPanelOpen, onSwitchPanelClose, isMobile, className, style, topItems, topItemStates, }: StreamoidSidebarProps): React$1.JSX.Element;
557
566
 
558
567
  declare const SIDEBAR_RESIZE_THRESHOLD_PX = 24;
559
568
  interface SidebarResizeGestureState {
@@ -674,6 +683,12 @@ interface ArtifaxSidebarProfile {
674
683
  avatar?: ReactNode;
675
684
  onClick?: () => void;
676
685
  }
686
+ /** Dedicated footer surface for the current product/app switcher. */
687
+ interface ArtifaxSidebarAppIdentity {
688
+ content: ReactNode;
689
+ onClick?: () => void;
690
+ ariaLabel?: string;
691
+ }
677
692
  interface ArtifaxSidebarCreditWarning {
678
693
  availableCredits: number;
679
694
  remainingPct: number;
@@ -705,6 +720,9 @@ interface IScArtifaxSidebarProps {
705
720
  * (icon-only square) states. */
706
721
  assistantCta?: ArtifaxSidebarAssistantCta | null;
707
722
  profile?: ArtifaxSidebarProfile;
723
+ /** Current product identity and app-switcher trigger. This intentionally
724
+ * bypasses the fixed-size profile avatar so wordmarks retain their width. */
725
+ appIdentity?: ArtifaxSidebarAppIdentity;
708
726
  toggleIcon?: ReactNode | ((expanded: boolean) => ReactNode);
709
727
  /** Hide the legacy footer collapse button when the resize edge is enabled. */
710
728
  hideToggle?: boolean;
@@ -713,7 +731,7 @@ interface IScArtifaxSidebarProps {
713
731
  className?: string;
714
732
  style?: CSSProperties;
715
733
  }
716
- declare const ScArtifaxSidebar: ({ expanded, onToggle, resizable, onExpandedChange, sections, iconMap, activeItemId, onItemSelect, expandedLogo, collapsedLogo, creditWarning, assistantCta, profile, toggleIcon, hideToggle, openSections, onSectionToggle, className, style, }: IScArtifaxSidebarProps) => JSX.Element;
734
+ declare const ScArtifaxSidebar: ({ expanded, onToggle, resizable, onExpandedChange, sections, iconMap, activeItemId, onItemSelect, expandedLogo, collapsedLogo, creditWarning, assistantCta, profile, appIdentity, toggleIcon, hideToggle, openSections, onSectionToggle, className, style, }: IScArtifaxSidebarProps) => JSX.Element;
717
735
 
718
736
  interface CatalogixNavItem {
719
737
  id: string;
@@ -1981,4 +1999,4 @@ interface IScProfilePopupProps extends React.HTMLAttributes<HTMLDivElement> {
1981
1999
  */
1982
2000
  declare const ScProfilePopup: React$1.ForwardRefExoticComponent<IScProfilePopupProps & React$1.RefAttributes<HTMLDivElement>>;
1983
2001
 
1984
- export { type AppcardProduct, type ArtifaxMenuItem, type ArtifaxSection, type ArtifaxSidebarAssistantCta, type ArtifaxSidebarCreditWarning, type ArtifaxSidebarIconContext, type ArtifaxSidebarIconMap, type ArtifaxSidebarIconRenderer, type ArtifaxSidebarProfile, type AssistantCta, type CatalogixNavItem, type CatalogixSidebarCreditWarning, type CatalogixSidebarIconContext, type CatalogixSidebarIconMap, type CatalogixSidebarIconRenderer, type CatalogixSidebarProfile, type CatalogixSwitchApp, CreditWarningBanner, type CreditWarningBannerProps, type DescriptionVisibility, type IInvoiceHistoryMobileProps, type IScAccessProps, type IScAppCardForCopilotProps, type IScAppCardProps, type IScAppCardV3Props, type IScAppFieldProps, type IScAppListingCardProps, type IScAppSwitchPanelProps, type IScAppcardLogosProps, type IScArtifaxInviteProps, type IScArtifaxSidebarProps, type IScAskAgentButtonProps, type IScBadgesProps, type IScBeaconProps, type IScBillingHistoryHeaderProps, type IScBillingHistoryTableListProps, type IScBillingLogsTableHeaderProps, type IScBillingLogsTableListProps, type IScBriefCardProps, type IScButtonProps, type IScCalendarDateCompsProps, type IScCalendarProps, type IScCatalogixInviteProps, type IScCatalogixSidebarProps, type IScCatalogixStoreHeaderProps, type IScCatalogixStoreTableListProps, type IScCheckFieldProps, type IScCheckboxProps, type IScCounterProps, type IScCreditsUsageCardMobileProps, type IScCreditsUsageCardProps, type IScCxoCopilotLogoProps, type IScDefaultCardProps, type IScDrawerProps, type IScFieldButtonProps, type IScFileFieldProps, type IScGoogleSignInProps, type IScGuideProps, type IScHDividerProps, type IScHeaderProps, type IScImageFieldProps, type IScInChatListProps, type IScInChatMessageProps, type IScInfoPopupProps, type IScIntialProfileCoverProps, type IScLogoUnitProps, type IScMappingCardProps, type IScMediaApprovalProps, type IScMediaSelectProps, type IScMenuOptionsProps, type IScMobileBottomActionProps, type IScMobileTopNavProps, type IScModalProps, type IScOnlyFieldProps, type IScOnlyIconProps, type IScPaginationProps, type IScPairtextProps, type IScPendingActionProps, type IScPhtogenixInviteProps, type IScPlanCardProps, type IScPlanComparisonProps, type IScPlanDetailsCardMobileProps, type IScPlanDetailsCardProps, type IScPopUpMenuProps, type IScProfileImageUpdateProps, type IScProfileOptionsProps, type IScProfilePopupProps, type IScProfileProps, type IScProfileSettingsCompProps, type IScProfileV2MobileProps, type IScProgressBarProps, type IScQuickPromptProps, type IScRadioProps, type IScReferralCardMobileProps, type IScReferralTableHeaderProps, type IScReferralTableListProps, type IScRoleMobileProps, type IScRoleProps, type IScSelectOption, type IScSelectProps, type IScSelectionListProps, type IScSelectionPillGroupProps, type IScSelectionPillOption, type IScSelectionPillProps, type IScSelectionProps, type IScSettingsNavProps, type IScSettingsTabCompProps, type IScSideBarLogoUnitProps, type IScSidebarIconsProps, type IScSidebarMenuProps, type IScSidebarProfileProps, type IScSidebarProps, type IScSidebarSwitchMenuProps, type IScSliderProps, type IScStoreCardProps, type IScStrLogoProps, type IScStreamoidMascotProps, type IScStreamoidWordmarkProps, type IScSubAgentProps, type IScTabCompProps, type IScTabFieldProps, type IScTabSwitcherProps, type IScTableHeaderProps, type IScTableListMobileProps, type IScTableListProps, type IScTabsProps, type IScTaxonomyPillProps, type IScTextAreaProps, type IScTextFieldProps, type IScThinkingStepIconProps, type IScTodoItem, type IScTodoListProps, type IScToggleSwitchProps, type IScVDividerProps, type IScValueMappingL1Props, type IScVersionProps, type IScWorkspaceCardProps, type IScWorkspaceSettingsMobileProps, type IScWorkspaceSwitchMobileProps, type IScWorkspaceSwitchMobileV2Props, type IUsageHistoryMobileProps, type IcListIconState, InvoiceHistoryMobile, NscWorkspaceSwitch, type PlanComparisonRow, type PlanComparisonSection, type PlanFeatureSection, ProductCollapsedMark, ProductWordmark, SIDEBAR_RESIZE_THRESHOLD_PX, ScAccess, ScAppCard, ScAppCardForCopilot, ScAppCardV3, ScAppField, ScAppListingCard, type ScAppSwitchItem, ScAppSwitchPanel, ScAppSwitchRow, type ScAppSwitchSystemItem, ScAppcardLogos, ScArtifaxInvite, ScArtifaxSidebar, ScAskAgentButton, ScAskAgentSlot, ScBadges, ScBeacon, type ScBeaconTone, ScBillingHistoryHeader, ScBillingHistoryTableList, ScBillingLogsTableHeader, ScBillingLogsTableList, ScBriefCard, ScButton, ScCalendar, ScCalendarDateComps, ScCatalogixInvite, ScCatalogixSidebar, ScCatalogixStoreHeader, ScCatalogixStoreTableList, ScCheckField, ScCheckbox, ScCounter, ScCreditsUsageCard, ScCreditsUsageCardMobile, ScCxoCopilotLogo, ScDefaultCard, ScDp, type ScDpProps, ScDrawer, ScFieldButton, ScFileField, ScGoogleSignIn, ScGuide, ScHDivider, ScHeader, ScImageField, ScInChatList, ScInChatMessage, ScInfoPopup, ScIntialProfileCover, ScLogoUnit, ScMappingCard, ScMediaApproval, ScMediaSelect, ScMenuOptions, ScMobileBottomAction, ScMobileTopNav, ScModal, ScOnlyField, ScOnlyIcon, ScPagination, ScPairtext, ScPendingAction, ScPhtogenixInvite, ScPlanCard, ScPlanComparison, ScPlanDetailsCard, ScPlanDetailsCardMobile, ScPopUpMenu, ScProfile, ScProfileImageUpdate, ScProfileOptions, ScProfilePopup, type ScProfilePopupThemeMode, ScProfileSettingsComp, ScProfileV2Mobile, ScProgressBar, ScQuickPrompt, ScRadio, ScReferralCardMobile, ScReferralTableHeader, ScReferralTableList, ScRole, ScRoleMobile, ScSelect, ScSelection, ScSelectionList, ScSelectionPill, ScSelectionPillGroup, ScSettingsNav, ScSettingsTabComp, type ScShellThemeMode, ScSideBarLogoUnit, ScSidebar, ScSidebarAppIdentity, type ScSidebarAppIdentityProps, ScSidebarIcons, ScSidebarMenu, ScSidebarProfile, ScSidebarResizeHandle, type ScSidebarResizeHandleProps, ScSidebarSearchTrigger, type ScSidebarSearchTriggerProps, ScSidebarSwitchMenu, ScSidebarWorkspaceTrigger, type ScSidebarWorkspaceTriggerProps, ScSlider, ScStoreCard, ScStrLogo, ScStreamoidMascot, ScStreamoidWordmark, ScSubAgent, type ScTab, ScTabComp, ScTabField, ScTabSwitcher, ScTableHeader, ScTableList, ScTableListMobile, ScTabs, ScTaxonomyPill, ScTextArea, ScTextField, ScThinkingStepIcon, ScTodoList, ScToggleSwitch, ScVDivider, ScValueMappingL1, ScVersion, ScWorkspaceAccountMenu, type ScWorkspaceAccountMenuProps, ScWorkspaceCard, ScWorkspaceSettingsMobile, ScWorkspaceSwitchCard, type ScWorkspaceSwitchCardProps, ScWorkspaceSwitchMobile, ScWorkspaceSwitchMobileV2, type SelectionListState, type SidebarConfig, type SidebarIconContext, type SidebarIconMap, type SidebarIconRenderer, type SidebarMenuItemConfig, type SidebarProduct, type SidebarProfileConfig, type SidebarResizeGestureResult, type SidebarResizeGestureState, type SidebarSectionConfig, StreamoidSidebar, type StreamoidSidebarPreferenceOptions, type StreamoidSidebarPreferenceState, type StreamoidSidebarProps, type StreamoidThemePreferenceOptions, type StreamoidThemePreferenceState, StreamoidWorkspaceSwitcher, type StreamoidWorkspaceSwitcherProps, UsageHistoryMobile, type WorkspaceSwitcherConfig, type WorkspaceSwitcherItem, advanceSidebarResizeGesture, formatSubAgentLabel, hasCollapsedMark, useStreamoidSidebarPreference, useStreamoidThemePreference };
2002
+ export { type AppcardProduct, type ArtifaxMenuItem, type ArtifaxSection, type ArtifaxSidebarAppIdentity, type ArtifaxSidebarAssistantCta, type ArtifaxSidebarCreditWarning, type ArtifaxSidebarIconContext, type ArtifaxSidebarIconMap, type ArtifaxSidebarIconRenderer, type ArtifaxSidebarProfile, type AssistantCta, type CatalogixNavItem, type CatalogixSidebarCreditWarning, type CatalogixSidebarIconContext, type CatalogixSidebarIconMap, type CatalogixSidebarIconRenderer, type CatalogixSidebarProfile, type CatalogixSwitchApp, CreditWarningBanner, type CreditWarningBannerProps, type DescriptionVisibility, type IInvoiceHistoryMobileProps, type IScAccessProps, type IScAppCardForCopilotProps, type IScAppCardProps, type IScAppCardV3Props, type IScAppFieldProps, type IScAppListingCardProps, type IScAppSwitchPanelProps, type IScAppcardLogosProps, type IScArtifaxInviteProps, type IScArtifaxSidebarProps, type IScAskAgentButtonProps, type IScBadgesProps, type IScBeaconProps, type IScBillingHistoryHeaderProps, type IScBillingHistoryTableListProps, type IScBillingLogsTableHeaderProps, type IScBillingLogsTableListProps, type IScBriefCardProps, type IScButtonProps, type IScCalendarDateCompsProps, type IScCalendarProps, type IScCatalogixInviteProps, type IScCatalogixSidebarProps, type IScCatalogixStoreHeaderProps, type IScCatalogixStoreTableListProps, type IScCheckFieldProps, type IScCheckboxProps, type IScCounterProps, type IScCreditsUsageCardMobileProps, type IScCreditsUsageCardProps, type IScCxoCopilotLogoProps, type IScDefaultCardProps, type IScDrawerProps, type IScFieldButtonProps, type IScFileFieldProps, type IScGoogleSignInProps, type IScGuideProps, type IScHDividerProps, type IScHeaderProps, type IScImageFieldProps, type IScInChatListProps, type IScInChatMessageProps, type IScInfoPopupProps, type IScIntialProfileCoverProps, type IScLogoUnitProps, type IScMappingCardProps, type IScMediaApprovalProps, type IScMediaSelectProps, type IScMenuOptionsProps, type IScMobileBottomActionProps, type IScMobileTopNavProps, type IScModalProps, type IScOnlyFieldProps, type IScOnlyIconProps, type IScPaginationProps, type IScPairtextProps, type IScPendingActionProps, type IScPhtogenixInviteProps, type IScPlanCardProps, type IScPlanComparisonProps, type IScPlanDetailsCardMobileProps, type IScPlanDetailsCardProps, type IScPopUpMenuProps, type IScProfileImageUpdateProps, type IScProfileOptionsProps, type IScProfilePopupProps, type IScProfileProps, type IScProfileSettingsCompProps, type IScProfileV2MobileProps, type IScProgressBarProps, type IScQuickPromptProps, type IScRadioProps, type IScReferralCardMobileProps, type IScReferralTableHeaderProps, type IScReferralTableListProps, type IScRoleMobileProps, type IScRoleProps, type IScSelectOption, type IScSelectProps, type IScSelectionListProps, type IScSelectionPillGroupProps, type IScSelectionPillOption, type IScSelectionPillProps, type IScSelectionProps, type IScSettingsNavProps, type IScSettingsTabCompProps, type IScSideBarLogoUnitProps, type IScSidebarIconsProps, type IScSidebarMenuProps, type IScSidebarProfileProps, type IScSidebarProps, type IScSidebarSwitchMenuProps, type IScSliderProps, type IScStoreCardProps, type IScStrLogoProps, type IScStreamoidMascotProps, type IScStreamoidWordmarkProps, type IScSubAgentProps, type IScTabCompProps, type IScTabFieldProps, type IScTabSwitcherProps, type IScTableHeaderProps, type IScTableListMobileProps, type IScTableListProps, type IScTabsProps, type IScTaxonomyPillProps, type IScTextAreaProps, type IScTextFieldProps, type IScThinkingStepIconProps, type IScTodoItem, type IScTodoListProps, type IScToggleSwitchProps, type IScVDividerProps, type IScValueMappingL1Props, type IScVersionProps, type IScWorkspaceCardProps, type IScWorkspaceSettingsMobileProps, type IScWorkspaceSwitchMobileProps, type IScWorkspaceSwitchMobileV2Props, type IUsageHistoryMobileProps, type IcListIconState, InvoiceHistoryMobile, NscWorkspaceSwitch, type PlanComparisonRow, type PlanComparisonSection, type PlanFeatureSection, ProductCollapsedMark, ProductWordmark, SIDEBAR_RESIZE_THRESHOLD_PX, ScAccess, ScAppCard, ScAppCardForCopilot, ScAppCardV3, ScAppField, ScAppListingCard, type ScAppSwitchItem, ScAppSwitchPanel, ScAppSwitchRow, type ScAppSwitchSystemItem, ScAppcardLogos, ScArtifaxInvite, ScArtifaxSidebar, ScAskAgentButton, ScAskAgentSlot, ScBadges, ScBeacon, type ScBeaconTone, ScBillingHistoryHeader, ScBillingHistoryTableList, ScBillingLogsTableHeader, ScBillingLogsTableList, ScBriefCard, ScButton, ScCalendar, ScCalendarDateComps, ScCatalogixInvite, ScCatalogixSidebar, ScCatalogixStoreHeader, ScCatalogixStoreTableList, ScCheckField, ScCheckbox, ScCounter, ScCreditsUsageCard, ScCreditsUsageCardMobile, ScCxoCopilotLogo, ScDefaultCard, ScDp, type ScDpProps, ScDrawer, ScFieldButton, ScFileField, ScGoogleSignIn, ScGuide, ScHDivider, ScHeader, ScImageField, ScInChatList, ScInChatMessage, ScInfoPopup, ScIntialProfileCover, ScLogoUnit, ScMappingCard, ScMediaApproval, ScMediaSelect, ScMenuOptions, ScMobileBottomAction, ScMobileTopNav, ScModal, ScOnlyField, ScOnlyIcon, ScPagination, ScPairtext, ScPendingAction, ScPhtogenixInvite, ScPlanCard, ScPlanComparison, ScPlanDetailsCard, ScPlanDetailsCardMobile, ScPopUpMenu, ScProfile, ScProfileImageUpdate, ScProfileOptions, ScProfilePopup, type ScProfilePopupThemeMode, ScProfileSettingsComp, ScProfileV2Mobile, ScProgressBar, ScQuickPrompt, ScRadio, ScReferralCardMobile, ScReferralTableHeader, ScReferralTableList, ScRole, ScRoleMobile, ScSelect, ScSelection, ScSelectionList, ScSelectionPill, ScSelectionPillGroup, ScSettingsNav, ScSettingsTabComp, type ScShellThemeMode, ScSideBarLogoUnit, ScSidebar, ScSidebarAppIdentity, type ScSidebarAppIdentityProps, ScSidebarIcons, ScSidebarMenu, ScSidebarProfile, ScSidebarResizeHandle, type ScSidebarResizeHandleProps, ScSidebarSearchTrigger, type ScSidebarSearchTriggerProps, ScSidebarSwitchMenu, ScSidebarWorkspaceTrigger, type ScSidebarWorkspaceTriggerProps, ScSlider, ScStoreCard, ScStrLogo, ScStreamoidMascot, ScStreamoidWordmark, ScSubAgent, type ScTab, ScTabComp, ScTabField, ScTabSwitcher, ScTableHeader, ScTableList, ScTableListMobile, ScTabs, ScTaxonomyPill, ScTextArea, ScTextField, ScThinkingStepIcon, ScTodoList, ScToggleSwitch, ScVDivider, ScValueMappingL1, ScVersion, ScWorkspaceAccountMenu, type ScWorkspaceAccountMenuProps, ScWorkspaceCard, ScWorkspaceSettingsMobile, ScWorkspaceSwitchCard, type ScWorkspaceSwitchCardProps, ScWorkspaceSwitchMobile, ScWorkspaceSwitchMobileV2, type SelectionListState, type SidebarAppIdentityConfig, type SidebarConfig, type SidebarIconContext, type SidebarIconMap, type SidebarIconRenderer, type SidebarMenuItemConfig, type SidebarProduct, type SidebarProfileConfig, type SidebarResizeGestureResult, type SidebarResizeGestureState, type SidebarSectionConfig, StreamoidSidebar, type StreamoidSidebarPreferenceOptions, type StreamoidSidebarPreferenceState, type StreamoidSidebarProps, type StreamoidThemePreferenceOptions, type StreamoidThemePreferenceState, StreamoidWorkspaceSwitcher, type StreamoidWorkspaceSwitcherProps, UsageHistoryMobile, type WorkspaceSwitcherConfig, type WorkspaceSwitcherItem, advanceSidebarResizeGesture, formatSubAgentLabel, hasCollapsedMark, useStreamoidSidebarPreference, useStreamoidThemePreference };
package/dist/index.d.ts CHANGED
@@ -497,6 +497,12 @@ interface SidebarProfileConfig {
497
497
  avatar?: ReactNode;
498
498
  onClick?: () => void;
499
499
  }
500
+ /** Dedicated footer surface for the current product/app switcher. */
501
+ interface SidebarAppIdentityConfig {
502
+ content: ReactNode;
503
+ onClick?: () => void;
504
+ ariaLabel?: string;
505
+ }
500
506
  interface SidebarIconContext {
501
507
  item: SidebarMenuItemConfig;
502
508
  active: boolean;
@@ -521,6 +527,9 @@ interface StreamoidSidebarProps {
521
527
  expandedLogo?: ReactNode;
522
528
  collapsedLogo?: ReactNode;
523
529
  profile?: SidebarProfileConfig;
530
+ /** Current product identity and app-switcher trigger. This intentionally
531
+ * bypasses the fixed-size profile avatar so wordmarks retain their width. */
532
+ appIdentity?: SidebarAppIdentityConfig;
524
533
  versionText?: string;
525
534
  toggleIcon?: ReactNode | ((expanded: boolean) => ReactNode);
526
535
  /** Footer = profile (flex-1) + a SEPARATE collapse-toggle button beside it,
@@ -553,7 +562,7 @@ interface StreamoidSidebarProps {
553
562
  /** Explicit state override per top item id — takes priority over activeItemId/highlightedItemIds for top items */
554
563
  topItemStates?: Record<string, "default" | "active" | "hover" | "default-highlight" | "default-active">;
555
564
  }
556
- declare function StreamoidSidebar({ expanded, onToggle, resizable, onExpandedChange, config, iconMap, activeItemId, highlightedItemIds, onItemSelect, moreIcon, onMoreClick, expandedLogo, collapsedLogo, profile, versionText, toggleIcon, toggleInProfile, hideFooter, assistantCta, preFooterContent, bodyContent, showBody, switchPanel, switchPanelOpen, onSwitchPanelClose, isMobile, className, style, topItems, topItemStates, }: StreamoidSidebarProps): React$1.JSX.Element;
565
+ declare function StreamoidSidebar({ expanded, onToggle, resizable, onExpandedChange, config, iconMap, activeItemId, highlightedItemIds, onItemSelect, moreIcon, onMoreClick, expandedLogo, collapsedLogo, profile, appIdentity, versionText, toggleIcon, toggleInProfile, hideFooter, assistantCta, preFooterContent, bodyContent, showBody, switchPanel, switchPanelOpen, onSwitchPanelClose, isMobile, className, style, topItems, topItemStates, }: StreamoidSidebarProps): React$1.JSX.Element;
557
566
 
558
567
  declare const SIDEBAR_RESIZE_THRESHOLD_PX = 24;
559
568
  interface SidebarResizeGestureState {
@@ -674,6 +683,12 @@ interface ArtifaxSidebarProfile {
674
683
  avatar?: ReactNode;
675
684
  onClick?: () => void;
676
685
  }
686
+ /** Dedicated footer surface for the current product/app switcher. */
687
+ interface ArtifaxSidebarAppIdentity {
688
+ content: ReactNode;
689
+ onClick?: () => void;
690
+ ariaLabel?: string;
691
+ }
677
692
  interface ArtifaxSidebarCreditWarning {
678
693
  availableCredits: number;
679
694
  remainingPct: number;
@@ -705,6 +720,9 @@ interface IScArtifaxSidebarProps {
705
720
  * (icon-only square) states. */
706
721
  assistantCta?: ArtifaxSidebarAssistantCta | null;
707
722
  profile?: ArtifaxSidebarProfile;
723
+ /** Current product identity and app-switcher trigger. This intentionally
724
+ * bypasses the fixed-size profile avatar so wordmarks retain their width. */
725
+ appIdentity?: ArtifaxSidebarAppIdentity;
708
726
  toggleIcon?: ReactNode | ((expanded: boolean) => ReactNode);
709
727
  /** Hide the legacy footer collapse button when the resize edge is enabled. */
710
728
  hideToggle?: boolean;
@@ -713,7 +731,7 @@ interface IScArtifaxSidebarProps {
713
731
  className?: string;
714
732
  style?: CSSProperties;
715
733
  }
716
- declare const ScArtifaxSidebar: ({ expanded, onToggle, resizable, onExpandedChange, sections, iconMap, activeItemId, onItemSelect, expandedLogo, collapsedLogo, creditWarning, assistantCta, profile, toggleIcon, hideToggle, openSections, onSectionToggle, className, style, }: IScArtifaxSidebarProps) => JSX.Element;
734
+ declare const ScArtifaxSidebar: ({ expanded, onToggle, resizable, onExpandedChange, sections, iconMap, activeItemId, onItemSelect, expandedLogo, collapsedLogo, creditWarning, assistantCta, profile, appIdentity, toggleIcon, hideToggle, openSections, onSectionToggle, className, style, }: IScArtifaxSidebarProps) => JSX.Element;
717
735
 
718
736
  interface CatalogixNavItem {
719
737
  id: string;
@@ -1981,4 +1999,4 @@ interface IScProfilePopupProps extends React.HTMLAttributes<HTMLDivElement> {
1981
1999
  */
1982
2000
  declare const ScProfilePopup: React$1.ForwardRefExoticComponent<IScProfilePopupProps & React$1.RefAttributes<HTMLDivElement>>;
1983
2001
 
1984
- export { type AppcardProduct, type ArtifaxMenuItem, type ArtifaxSection, type ArtifaxSidebarAssistantCta, type ArtifaxSidebarCreditWarning, type ArtifaxSidebarIconContext, type ArtifaxSidebarIconMap, type ArtifaxSidebarIconRenderer, type ArtifaxSidebarProfile, type AssistantCta, type CatalogixNavItem, type CatalogixSidebarCreditWarning, type CatalogixSidebarIconContext, type CatalogixSidebarIconMap, type CatalogixSidebarIconRenderer, type CatalogixSidebarProfile, type CatalogixSwitchApp, CreditWarningBanner, type CreditWarningBannerProps, type DescriptionVisibility, type IInvoiceHistoryMobileProps, type IScAccessProps, type IScAppCardForCopilotProps, type IScAppCardProps, type IScAppCardV3Props, type IScAppFieldProps, type IScAppListingCardProps, type IScAppSwitchPanelProps, type IScAppcardLogosProps, type IScArtifaxInviteProps, type IScArtifaxSidebarProps, type IScAskAgentButtonProps, type IScBadgesProps, type IScBeaconProps, type IScBillingHistoryHeaderProps, type IScBillingHistoryTableListProps, type IScBillingLogsTableHeaderProps, type IScBillingLogsTableListProps, type IScBriefCardProps, type IScButtonProps, type IScCalendarDateCompsProps, type IScCalendarProps, type IScCatalogixInviteProps, type IScCatalogixSidebarProps, type IScCatalogixStoreHeaderProps, type IScCatalogixStoreTableListProps, type IScCheckFieldProps, type IScCheckboxProps, type IScCounterProps, type IScCreditsUsageCardMobileProps, type IScCreditsUsageCardProps, type IScCxoCopilotLogoProps, type IScDefaultCardProps, type IScDrawerProps, type IScFieldButtonProps, type IScFileFieldProps, type IScGoogleSignInProps, type IScGuideProps, type IScHDividerProps, type IScHeaderProps, type IScImageFieldProps, type IScInChatListProps, type IScInChatMessageProps, type IScInfoPopupProps, type IScIntialProfileCoverProps, type IScLogoUnitProps, type IScMappingCardProps, type IScMediaApprovalProps, type IScMediaSelectProps, type IScMenuOptionsProps, type IScMobileBottomActionProps, type IScMobileTopNavProps, type IScModalProps, type IScOnlyFieldProps, type IScOnlyIconProps, type IScPaginationProps, type IScPairtextProps, type IScPendingActionProps, type IScPhtogenixInviteProps, type IScPlanCardProps, type IScPlanComparisonProps, type IScPlanDetailsCardMobileProps, type IScPlanDetailsCardProps, type IScPopUpMenuProps, type IScProfileImageUpdateProps, type IScProfileOptionsProps, type IScProfilePopupProps, type IScProfileProps, type IScProfileSettingsCompProps, type IScProfileV2MobileProps, type IScProgressBarProps, type IScQuickPromptProps, type IScRadioProps, type IScReferralCardMobileProps, type IScReferralTableHeaderProps, type IScReferralTableListProps, type IScRoleMobileProps, type IScRoleProps, type IScSelectOption, type IScSelectProps, type IScSelectionListProps, type IScSelectionPillGroupProps, type IScSelectionPillOption, type IScSelectionPillProps, type IScSelectionProps, type IScSettingsNavProps, type IScSettingsTabCompProps, type IScSideBarLogoUnitProps, type IScSidebarIconsProps, type IScSidebarMenuProps, type IScSidebarProfileProps, type IScSidebarProps, type IScSidebarSwitchMenuProps, type IScSliderProps, type IScStoreCardProps, type IScStrLogoProps, type IScStreamoidMascotProps, type IScStreamoidWordmarkProps, type IScSubAgentProps, type IScTabCompProps, type IScTabFieldProps, type IScTabSwitcherProps, type IScTableHeaderProps, type IScTableListMobileProps, type IScTableListProps, type IScTabsProps, type IScTaxonomyPillProps, type IScTextAreaProps, type IScTextFieldProps, type IScThinkingStepIconProps, type IScTodoItem, type IScTodoListProps, type IScToggleSwitchProps, type IScVDividerProps, type IScValueMappingL1Props, type IScVersionProps, type IScWorkspaceCardProps, type IScWorkspaceSettingsMobileProps, type IScWorkspaceSwitchMobileProps, type IScWorkspaceSwitchMobileV2Props, type IUsageHistoryMobileProps, type IcListIconState, InvoiceHistoryMobile, NscWorkspaceSwitch, type PlanComparisonRow, type PlanComparisonSection, type PlanFeatureSection, ProductCollapsedMark, ProductWordmark, SIDEBAR_RESIZE_THRESHOLD_PX, ScAccess, ScAppCard, ScAppCardForCopilot, ScAppCardV3, ScAppField, ScAppListingCard, type ScAppSwitchItem, ScAppSwitchPanel, ScAppSwitchRow, type ScAppSwitchSystemItem, ScAppcardLogos, ScArtifaxInvite, ScArtifaxSidebar, ScAskAgentButton, ScAskAgentSlot, ScBadges, ScBeacon, type ScBeaconTone, ScBillingHistoryHeader, ScBillingHistoryTableList, ScBillingLogsTableHeader, ScBillingLogsTableList, ScBriefCard, ScButton, ScCalendar, ScCalendarDateComps, ScCatalogixInvite, ScCatalogixSidebar, ScCatalogixStoreHeader, ScCatalogixStoreTableList, ScCheckField, ScCheckbox, ScCounter, ScCreditsUsageCard, ScCreditsUsageCardMobile, ScCxoCopilotLogo, ScDefaultCard, ScDp, type ScDpProps, ScDrawer, ScFieldButton, ScFileField, ScGoogleSignIn, ScGuide, ScHDivider, ScHeader, ScImageField, ScInChatList, ScInChatMessage, ScInfoPopup, ScIntialProfileCover, ScLogoUnit, ScMappingCard, ScMediaApproval, ScMediaSelect, ScMenuOptions, ScMobileBottomAction, ScMobileTopNav, ScModal, ScOnlyField, ScOnlyIcon, ScPagination, ScPairtext, ScPendingAction, ScPhtogenixInvite, ScPlanCard, ScPlanComparison, ScPlanDetailsCard, ScPlanDetailsCardMobile, ScPopUpMenu, ScProfile, ScProfileImageUpdate, ScProfileOptions, ScProfilePopup, type ScProfilePopupThemeMode, ScProfileSettingsComp, ScProfileV2Mobile, ScProgressBar, ScQuickPrompt, ScRadio, ScReferralCardMobile, ScReferralTableHeader, ScReferralTableList, ScRole, ScRoleMobile, ScSelect, ScSelection, ScSelectionList, ScSelectionPill, ScSelectionPillGroup, ScSettingsNav, ScSettingsTabComp, type ScShellThemeMode, ScSideBarLogoUnit, ScSidebar, ScSidebarAppIdentity, type ScSidebarAppIdentityProps, ScSidebarIcons, ScSidebarMenu, ScSidebarProfile, ScSidebarResizeHandle, type ScSidebarResizeHandleProps, ScSidebarSearchTrigger, type ScSidebarSearchTriggerProps, ScSidebarSwitchMenu, ScSidebarWorkspaceTrigger, type ScSidebarWorkspaceTriggerProps, ScSlider, ScStoreCard, ScStrLogo, ScStreamoidMascot, ScStreamoidWordmark, ScSubAgent, type ScTab, ScTabComp, ScTabField, ScTabSwitcher, ScTableHeader, ScTableList, ScTableListMobile, ScTabs, ScTaxonomyPill, ScTextArea, ScTextField, ScThinkingStepIcon, ScTodoList, ScToggleSwitch, ScVDivider, ScValueMappingL1, ScVersion, ScWorkspaceAccountMenu, type ScWorkspaceAccountMenuProps, ScWorkspaceCard, ScWorkspaceSettingsMobile, ScWorkspaceSwitchCard, type ScWorkspaceSwitchCardProps, ScWorkspaceSwitchMobile, ScWorkspaceSwitchMobileV2, type SelectionListState, type SidebarConfig, type SidebarIconContext, type SidebarIconMap, type SidebarIconRenderer, type SidebarMenuItemConfig, type SidebarProduct, type SidebarProfileConfig, type SidebarResizeGestureResult, type SidebarResizeGestureState, type SidebarSectionConfig, StreamoidSidebar, type StreamoidSidebarPreferenceOptions, type StreamoidSidebarPreferenceState, type StreamoidSidebarProps, type StreamoidThemePreferenceOptions, type StreamoidThemePreferenceState, StreamoidWorkspaceSwitcher, type StreamoidWorkspaceSwitcherProps, UsageHistoryMobile, type WorkspaceSwitcherConfig, type WorkspaceSwitcherItem, advanceSidebarResizeGesture, formatSubAgentLabel, hasCollapsedMark, useStreamoidSidebarPreference, useStreamoidThemePreference };
2002
+ export { type AppcardProduct, type ArtifaxMenuItem, type ArtifaxSection, type ArtifaxSidebarAppIdentity, type ArtifaxSidebarAssistantCta, type ArtifaxSidebarCreditWarning, type ArtifaxSidebarIconContext, type ArtifaxSidebarIconMap, type ArtifaxSidebarIconRenderer, type ArtifaxSidebarProfile, type AssistantCta, type CatalogixNavItem, type CatalogixSidebarCreditWarning, type CatalogixSidebarIconContext, type CatalogixSidebarIconMap, type CatalogixSidebarIconRenderer, type CatalogixSidebarProfile, type CatalogixSwitchApp, CreditWarningBanner, type CreditWarningBannerProps, type DescriptionVisibility, type IInvoiceHistoryMobileProps, type IScAccessProps, type IScAppCardForCopilotProps, type IScAppCardProps, type IScAppCardV3Props, type IScAppFieldProps, type IScAppListingCardProps, type IScAppSwitchPanelProps, type IScAppcardLogosProps, type IScArtifaxInviteProps, type IScArtifaxSidebarProps, type IScAskAgentButtonProps, type IScBadgesProps, type IScBeaconProps, type IScBillingHistoryHeaderProps, type IScBillingHistoryTableListProps, type IScBillingLogsTableHeaderProps, type IScBillingLogsTableListProps, type IScBriefCardProps, type IScButtonProps, type IScCalendarDateCompsProps, type IScCalendarProps, type IScCatalogixInviteProps, type IScCatalogixSidebarProps, type IScCatalogixStoreHeaderProps, type IScCatalogixStoreTableListProps, type IScCheckFieldProps, type IScCheckboxProps, type IScCounterProps, type IScCreditsUsageCardMobileProps, type IScCreditsUsageCardProps, type IScCxoCopilotLogoProps, type IScDefaultCardProps, type IScDrawerProps, type IScFieldButtonProps, type IScFileFieldProps, type IScGoogleSignInProps, type IScGuideProps, type IScHDividerProps, type IScHeaderProps, type IScImageFieldProps, type IScInChatListProps, type IScInChatMessageProps, type IScInfoPopupProps, type IScIntialProfileCoverProps, type IScLogoUnitProps, type IScMappingCardProps, type IScMediaApprovalProps, type IScMediaSelectProps, type IScMenuOptionsProps, type IScMobileBottomActionProps, type IScMobileTopNavProps, type IScModalProps, type IScOnlyFieldProps, type IScOnlyIconProps, type IScPaginationProps, type IScPairtextProps, type IScPendingActionProps, type IScPhtogenixInviteProps, type IScPlanCardProps, type IScPlanComparisonProps, type IScPlanDetailsCardMobileProps, type IScPlanDetailsCardProps, type IScPopUpMenuProps, type IScProfileImageUpdateProps, type IScProfileOptionsProps, type IScProfilePopupProps, type IScProfileProps, type IScProfileSettingsCompProps, type IScProfileV2MobileProps, type IScProgressBarProps, type IScQuickPromptProps, type IScRadioProps, type IScReferralCardMobileProps, type IScReferralTableHeaderProps, type IScReferralTableListProps, type IScRoleMobileProps, type IScRoleProps, type IScSelectOption, type IScSelectProps, type IScSelectionListProps, type IScSelectionPillGroupProps, type IScSelectionPillOption, type IScSelectionPillProps, type IScSelectionProps, type IScSettingsNavProps, type IScSettingsTabCompProps, type IScSideBarLogoUnitProps, type IScSidebarIconsProps, type IScSidebarMenuProps, type IScSidebarProfileProps, type IScSidebarProps, type IScSidebarSwitchMenuProps, type IScSliderProps, type IScStoreCardProps, type IScStrLogoProps, type IScStreamoidMascotProps, type IScStreamoidWordmarkProps, type IScSubAgentProps, type IScTabCompProps, type IScTabFieldProps, type IScTabSwitcherProps, type IScTableHeaderProps, type IScTableListMobileProps, type IScTableListProps, type IScTabsProps, type IScTaxonomyPillProps, type IScTextAreaProps, type IScTextFieldProps, type IScThinkingStepIconProps, type IScTodoItem, type IScTodoListProps, type IScToggleSwitchProps, type IScVDividerProps, type IScValueMappingL1Props, type IScVersionProps, type IScWorkspaceCardProps, type IScWorkspaceSettingsMobileProps, type IScWorkspaceSwitchMobileProps, type IScWorkspaceSwitchMobileV2Props, type IUsageHistoryMobileProps, type IcListIconState, InvoiceHistoryMobile, NscWorkspaceSwitch, type PlanComparisonRow, type PlanComparisonSection, type PlanFeatureSection, ProductCollapsedMark, ProductWordmark, SIDEBAR_RESIZE_THRESHOLD_PX, ScAccess, ScAppCard, ScAppCardForCopilot, ScAppCardV3, ScAppField, ScAppListingCard, type ScAppSwitchItem, ScAppSwitchPanel, ScAppSwitchRow, type ScAppSwitchSystemItem, ScAppcardLogos, ScArtifaxInvite, ScArtifaxSidebar, ScAskAgentButton, ScAskAgentSlot, ScBadges, ScBeacon, type ScBeaconTone, ScBillingHistoryHeader, ScBillingHistoryTableList, ScBillingLogsTableHeader, ScBillingLogsTableList, ScBriefCard, ScButton, ScCalendar, ScCalendarDateComps, ScCatalogixInvite, ScCatalogixSidebar, ScCatalogixStoreHeader, ScCatalogixStoreTableList, ScCheckField, ScCheckbox, ScCounter, ScCreditsUsageCard, ScCreditsUsageCardMobile, ScCxoCopilotLogo, ScDefaultCard, ScDp, type ScDpProps, ScDrawer, ScFieldButton, ScFileField, ScGoogleSignIn, ScGuide, ScHDivider, ScHeader, ScImageField, ScInChatList, ScInChatMessage, ScInfoPopup, ScIntialProfileCover, ScLogoUnit, ScMappingCard, ScMediaApproval, ScMediaSelect, ScMenuOptions, ScMobileBottomAction, ScMobileTopNav, ScModal, ScOnlyField, ScOnlyIcon, ScPagination, ScPairtext, ScPendingAction, ScPhtogenixInvite, ScPlanCard, ScPlanComparison, ScPlanDetailsCard, ScPlanDetailsCardMobile, ScPopUpMenu, ScProfile, ScProfileImageUpdate, ScProfileOptions, ScProfilePopup, type ScProfilePopupThemeMode, ScProfileSettingsComp, ScProfileV2Mobile, ScProgressBar, ScQuickPrompt, ScRadio, ScReferralCardMobile, ScReferralTableHeader, ScReferralTableList, ScRole, ScRoleMobile, ScSelect, ScSelection, ScSelectionList, ScSelectionPill, ScSelectionPillGroup, ScSettingsNav, ScSettingsTabComp, type ScShellThemeMode, ScSideBarLogoUnit, ScSidebar, ScSidebarAppIdentity, type ScSidebarAppIdentityProps, ScSidebarIcons, ScSidebarMenu, ScSidebarProfile, ScSidebarResizeHandle, type ScSidebarResizeHandleProps, ScSidebarSearchTrigger, type ScSidebarSearchTriggerProps, ScSidebarSwitchMenu, ScSidebarWorkspaceTrigger, type ScSidebarWorkspaceTriggerProps, ScSlider, ScStoreCard, ScStrLogo, ScStreamoidMascot, ScStreamoidWordmark, ScSubAgent, type ScTab, ScTabComp, ScTabField, ScTabSwitcher, ScTableHeader, ScTableList, ScTableListMobile, ScTabs, ScTaxonomyPill, ScTextArea, ScTextField, ScThinkingStepIcon, ScTodoList, ScToggleSwitch, ScVDivider, ScValueMappingL1, ScVersion, ScWorkspaceAccountMenu, type ScWorkspaceAccountMenuProps, ScWorkspaceCard, ScWorkspaceSettingsMobile, ScWorkspaceSwitchCard, type ScWorkspaceSwitchCardProps, ScWorkspaceSwitchMobile, ScWorkspaceSwitchMobileV2, type SelectionListState, type SidebarAppIdentityConfig, type SidebarConfig, type SidebarIconContext, type SidebarIconMap, type SidebarIconRenderer, type SidebarMenuItemConfig, type SidebarProduct, type SidebarProfileConfig, type SidebarResizeGestureResult, type SidebarResizeGestureState, type SidebarSectionConfig, StreamoidSidebar, type StreamoidSidebarPreferenceOptions, type StreamoidSidebarPreferenceState, type StreamoidSidebarProps, type StreamoidThemePreferenceOptions, type StreamoidThemePreferenceState, StreamoidWorkspaceSwitcher, type StreamoidWorkspaceSwitcherProps, UsageHistoryMobile, type WorkspaceSwitcherConfig, type WorkspaceSwitcherItem, advanceSidebarResizeGesture, formatSubAgentLabel, hasCollapsedMark, useStreamoidSidebarPreference, useStreamoidThemePreference };
package/dist/index.js CHANGED
@@ -4288,6 +4288,7 @@ function StreamoidSidebar({
4288
4288
  expandedLogo,
4289
4289
  collapsedLogo,
4290
4290
  profile,
4291
+ appIdentity,
4291
4292
  versionText = "v1.0.0",
4292
4293
  toggleIcon,
4293
4294
  toggleInProfile = false,
@@ -4542,7 +4543,26 @@ function StreamoidSidebar({
4542
4543
  }
4543
4544
  ) : null,
4544
4545
  /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(HDivider, { edgeToEdge: true }),
4545
- profile ? toggleInProfile && !effectiveHideFooter ? (
4546
+ appIdentity ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
4547
+ "button",
4548
+ {
4549
+ type: "button",
4550
+ className: "flex items-center shrink-0 w-full",
4551
+ style: {
4552
+ minWidth: 0,
4553
+ minHeight: 48,
4554
+ padding: "var(--spacing-md) var(--spacing-xl)",
4555
+ border: 0,
4556
+ borderRadius: "var(--radius-xl)",
4557
+ background: "transparent",
4558
+ color: "inherit",
4559
+ cursor: "pointer"
4560
+ },
4561
+ onClick: appIdentity.onClick,
4562
+ "aria-label": appIdentity.ariaLabel ?? "Switch apps",
4563
+ children: appIdentity.content
4564
+ }
4565
+ ) : profile ? toggleInProfile && !effectiveHideFooter ? (
4546
4566
  /* Footer row: profile and collapse toggle are two SEPARATE
4547
4567
  interactive units side by side (own rounded hover bg each). */
4548
4568
  /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
@@ -4857,7 +4877,26 @@ function StreamoidSidebar({
4857
4877
  }
4858
4878
  ) : null,
4859
4879
  /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(HDivider, { edgeToEdge: true }),
4860
- profile ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
4880
+ appIdentity ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
4881
+ "button",
4882
+ {
4883
+ type: "button",
4884
+ className: "flex items-center justify-center shrink-0",
4885
+ style: {
4886
+ width: 48,
4887
+ height: 48,
4888
+ padding: "var(--spacing-md)",
4889
+ border: 0,
4890
+ borderRadius: "var(--radius-3xl)",
4891
+ background: "transparent",
4892
+ color: "inherit",
4893
+ cursor: "pointer"
4894
+ },
4895
+ onClick: appIdentity.onClick,
4896
+ "aria-label": appIdentity.ariaLabel ?? "Switch apps",
4897
+ children: appIdentity.content
4898
+ }
4899
+ ) : profile ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
4861
4900
  "div",
4862
4901
  {
4863
4902
  className: "flex items-center justify-center shrink-0 cursor-pointer",
@@ -4951,6 +4990,7 @@ var ScSidebarShell_default = {
4951
4990
  actionRowStatic: "ScSidebarShell_actionRowStatic",
4952
4991
  rowIcon: "ScSidebarShell_rowIcon",
4953
4992
  rowTrailing: "ScSidebarShell_rowTrailing",
4993
+ chevronRight: "ScSidebarShell_chevronRight",
4954
4994
  themePicker: "ScSidebarShell_themePicker",
4955
4995
  themeButton: "ScSidebarShell_themeButton",
4956
4996
  themeButtonSelected: "ScSidebarShell_themeButtonSelected"
@@ -5085,6 +5125,9 @@ function MenuActionRow({
5085
5125
  function SectionTitle({ children }) {
5086
5126
  return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("h2", { className: ScSidebarShell_default.sectionTitle, children });
5087
5127
  }
5128
+ function ChevronRight() {
5129
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { "aria-hidden": true, className: ScSidebarShell_default.chevronRight, children: "\u203A" });
5130
+ }
5088
5131
  function ScWorkspaceAccountMenu({
5089
5132
  workspaceName,
5090
5133
  workspaceRole = "Member",
@@ -5149,7 +5192,7 @@ function ScWorkspaceAccountMenu({
5149
5192
  " \xB7 Switch or create"
5150
5193
  ] })
5151
5194
  ] }),
5152
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_icons37.SiconChevronRight, { size: 18, color: mutedIcon })
5195
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(ChevronRight, {})
5153
5196
  ]
5154
5197
  }
5155
5198
  ),
@@ -5177,11 +5220,11 @@ function ScWorkspaceAccountMenu({
5177
5220
  /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
5178
5221
  MenuActionRow,
5179
5222
  {
5180
- icon: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_icons37.SiconBuilding, { size: 20, color: primaryIcon }),
5223
+ icon: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_icons37.SiconWorkspace, { size: 20, color: primaryIcon }),
5181
5224
  label: organizationName || "No organization",
5182
5225
  value: organizationName && organizationRole ? organizationRole : void 0,
5183
5226
  ariaLabel: organizationName ? `Open ${organizationName} organization settings` : void 0,
5184
- trailing: organizationName ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_icons37.SiconChevronRight, { size: 18, color: mutedIcon }) : void 0,
5227
+ trailing: organizationName ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(ChevronRight, {}) : void 0,
5185
5228
  onClick: organizationName ? onOrganizationClick : void 0
5186
5229
  }
5187
5230
  )
@@ -5211,7 +5254,7 @@ function ScWorkspaceAccountMenu({
5211
5254
  /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: ScSidebarShell_default.identityName, children: accountName }),
5212
5255
  accountEmail ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: ScSidebarShell_default.identitySubtitle, children: accountEmail }) : null
5213
5256
  ] }),
5214
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_icons37.SiconChevronRight, { size: 18, color: mutedIcon })
5257
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(ChevronRight, {})
5215
5258
  ]
5216
5259
  }
5217
5260
  ),
@@ -5231,7 +5274,7 @@ function ScWorkspaceAccountMenu({
5231
5274
  Icon,
5232
5275
  {
5233
5276
  size: 20,
5234
- color: selected ? "var(--alias-text---icons-onfill, #fff)" : mutedIcon
5277
+ color: selected ? "#fff" : mutedIcon
5235
5278
  }
5236
5279
  )
5237
5280
  },
@@ -5465,6 +5508,8 @@ var ScArtifaxSidebar_default = {
5465
5508
  sectionChevron: "ScArtifaxSidebar_sectionChevron",
5466
5509
  profileRow: "ScArtifaxSidebar_profileRow",
5467
5510
  profileMain: "ScArtifaxSidebar_profileMain",
5511
+ appIdentityMain: "ScArtifaxSidebar_appIdentityMain",
5512
+ appIdentityCollapsed: "ScArtifaxSidebar_appIdentityCollapsed",
5468
5513
  profileRowCollapsed: "ScArtifaxSidebar_profileRowCollapsed",
5469
5514
  profileAvatar: "ScArtifaxSidebar_profileAvatar",
5470
5515
  profileInfo: "ScArtifaxSidebar_profileInfo",
@@ -5532,6 +5577,7 @@ var ScArtifaxSidebar = ({
5532
5577
  creditWarning,
5533
5578
  assistantCta,
5534
5579
  profile,
5580
+ appIdentity,
5535
5581
  toggleIcon,
5536
5582
  hideToggle = false,
5537
5583
  openSections,
@@ -5638,7 +5684,16 @@ var ScArtifaxSidebar = ({
5638
5684
  assistantCta ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(ScAskAgentSlot, { cta: assistantCta }) : null,
5639
5685
  /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(ScHDivider, {}),
5640
5686
  /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { className: ScArtifaxSidebar_default.profileRow, children: [
5641
- profile ? /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
5687
+ appIdentity ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
5688
+ "button",
5689
+ {
5690
+ type: "button",
5691
+ className: ScArtifaxSidebar_default.appIdentityMain,
5692
+ onClick: appIdentity.onClick,
5693
+ "aria-label": appIdentity.ariaLabel ?? "Switch apps",
5694
+ children: appIdentity.content
5695
+ }
5696
+ ) : profile ? /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
5642
5697
  "button",
5643
5698
  {
5644
5699
  type: "button",
@@ -5704,7 +5759,16 @@ var ScArtifaxSidebar = ({
5704
5759
  assistantCta ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(ScAskAgentSlot, { cta: assistantCta, collapsed: true }) : null,
5705
5760
  /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(ScHDivider, {}),
5706
5761
  /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { className: ScArtifaxSidebar_default.footerCollapsed, children: [
5707
- profile ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
5762
+ appIdentity ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
5763
+ "button",
5764
+ {
5765
+ type: "button",
5766
+ className: ScArtifaxSidebar_default.appIdentityCollapsed,
5767
+ onClick: appIdentity.onClick,
5768
+ "aria-label": appIdentity.ariaLabel ?? "Switch apps",
5769
+ children: appIdentity.content
5770
+ }
5771
+ ) : profile ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
5708
5772
  "button",
5709
5773
  {
5710
5774
  type: "button",
package/dist/index.mjs CHANGED
@@ -4124,6 +4124,7 @@ function StreamoidSidebar({
4124
4124
  expandedLogo,
4125
4125
  collapsedLogo,
4126
4126
  profile,
4127
+ appIdentity,
4127
4128
  versionText = "v1.0.0",
4128
4129
  toggleIcon,
4129
4130
  toggleInProfile = false,
@@ -4378,7 +4379,26 @@ function StreamoidSidebar({
4378
4379
  }
4379
4380
  ) : null,
4380
4381
  /* @__PURE__ */ jsx49(HDivider, { edgeToEdge: true }),
4381
- profile ? toggleInProfile && !effectiveHideFooter ? (
4382
+ appIdentity ? /* @__PURE__ */ jsx49(
4383
+ "button",
4384
+ {
4385
+ type: "button",
4386
+ className: "flex items-center shrink-0 w-full",
4387
+ style: {
4388
+ minWidth: 0,
4389
+ minHeight: 48,
4390
+ padding: "var(--spacing-md) var(--spacing-xl)",
4391
+ border: 0,
4392
+ borderRadius: "var(--radius-xl)",
4393
+ background: "transparent",
4394
+ color: "inherit",
4395
+ cursor: "pointer"
4396
+ },
4397
+ onClick: appIdentity.onClick,
4398
+ "aria-label": appIdentity.ariaLabel ?? "Switch apps",
4399
+ children: appIdentity.content
4400
+ }
4401
+ ) : profile ? toggleInProfile && !effectiveHideFooter ? (
4382
4402
  /* Footer row: profile and collapse toggle are two SEPARATE
4383
4403
  interactive units side by side (own rounded hover bg each). */
4384
4404
  /* @__PURE__ */ jsxs40(
@@ -4693,7 +4713,26 @@ function StreamoidSidebar({
4693
4713
  }
4694
4714
  ) : null,
4695
4715
  /* @__PURE__ */ jsx49(HDivider, { edgeToEdge: true }),
4696
- profile ? /* @__PURE__ */ jsx49(
4716
+ appIdentity ? /* @__PURE__ */ jsx49(
4717
+ "button",
4718
+ {
4719
+ type: "button",
4720
+ className: "flex items-center justify-center shrink-0",
4721
+ style: {
4722
+ width: 48,
4723
+ height: 48,
4724
+ padding: "var(--spacing-md)",
4725
+ border: 0,
4726
+ borderRadius: "var(--radius-3xl)",
4727
+ background: "transparent",
4728
+ color: "inherit",
4729
+ cursor: "pointer"
4730
+ },
4731
+ onClick: appIdentity.onClick,
4732
+ "aria-label": appIdentity.ariaLabel ?? "Switch apps",
4733
+ children: appIdentity.content
4734
+ }
4735
+ ) : profile ? /* @__PURE__ */ jsx49(
4697
4736
  "div",
4698
4737
  {
4699
4738
  className: "flex items-center justify-center shrink-0 cursor-pointer",
@@ -4756,14 +4795,13 @@ function StreamoidSidebar({
4756
4795
  // src/SC-SidebarShell/ScSidebarShell.tsx
4757
4796
  import {
4758
4797
  SiconBilling as SiconBilling4,
4759
- SiconBuilding,
4760
- SiconChevronRight,
4761
4798
  SiconDark as SiconDark2,
4762
4799
  SiconDoubleArrow,
4763
4800
  SiconLight as SiconLight2,
4764
4801
  SiconSearch,
4765
4802
  SiconSystem as SiconSystem2,
4766
- SiconTeam as SiconTeam4
4803
+ SiconTeam as SiconTeam4,
4804
+ SiconWorkspace
4767
4805
  } from "@streamoid/icons";
4768
4806
 
4769
4807
  // src/SC-SidebarShell/ScSidebarShell.module.css
@@ -4797,6 +4835,7 @@ var ScSidebarShell_default = {
4797
4835
  actionRowStatic: "ScSidebarShell_actionRowStatic",
4798
4836
  rowIcon: "ScSidebarShell_rowIcon",
4799
4837
  rowTrailing: "ScSidebarShell_rowTrailing",
4838
+ chevronRight: "ScSidebarShell_chevronRight",
4800
4839
  themePicker: "ScSidebarShell_themePicker",
4801
4840
  themeButton: "ScSidebarShell_themeButton",
4802
4841
  themeButtonSelected: "ScSidebarShell_themeButtonSelected"
@@ -4931,6 +4970,9 @@ function MenuActionRow({
4931
4970
  function SectionTitle({ children }) {
4932
4971
  return /* @__PURE__ */ jsx50("h2", { className: ScSidebarShell_default.sectionTitle, children });
4933
4972
  }
4973
+ function ChevronRight() {
4974
+ return /* @__PURE__ */ jsx50("span", { "aria-hidden": true, className: ScSidebarShell_default.chevronRight, children: "\u203A" });
4975
+ }
4934
4976
  function ScWorkspaceAccountMenu({
4935
4977
  workspaceName,
4936
4978
  workspaceRole = "Member",
@@ -4995,7 +5037,7 @@ function ScWorkspaceAccountMenu({
4995
5037
  " \xB7 Switch or create"
4996
5038
  ] })
4997
5039
  ] }),
4998
- /* @__PURE__ */ jsx50(SiconChevronRight, { size: 18, color: mutedIcon })
5040
+ /* @__PURE__ */ jsx50(ChevronRight, {})
4999
5041
  ]
5000
5042
  }
5001
5043
  ),
@@ -5023,11 +5065,11 @@ function ScWorkspaceAccountMenu({
5023
5065
  /* @__PURE__ */ jsx50(
5024
5066
  MenuActionRow,
5025
5067
  {
5026
- icon: /* @__PURE__ */ jsx50(SiconBuilding, { size: 20, color: primaryIcon }),
5068
+ icon: /* @__PURE__ */ jsx50(SiconWorkspace, { size: 20, color: primaryIcon }),
5027
5069
  label: organizationName || "No organization",
5028
5070
  value: organizationName && organizationRole ? organizationRole : void 0,
5029
5071
  ariaLabel: organizationName ? `Open ${organizationName} organization settings` : void 0,
5030
- trailing: organizationName ? /* @__PURE__ */ jsx50(SiconChevronRight, { size: 18, color: mutedIcon }) : void 0,
5072
+ trailing: organizationName ? /* @__PURE__ */ jsx50(ChevronRight, {}) : void 0,
5031
5073
  onClick: organizationName ? onOrganizationClick : void 0
5032
5074
  }
5033
5075
  )
@@ -5057,7 +5099,7 @@ function ScWorkspaceAccountMenu({
5057
5099
  /* @__PURE__ */ jsx50("span", { className: ScSidebarShell_default.identityName, children: accountName }),
5058
5100
  accountEmail ? /* @__PURE__ */ jsx50("span", { className: ScSidebarShell_default.identitySubtitle, children: accountEmail }) : null
5059
5101
  ] }),
5060
- /* @__PURE__ */ jsx50(SiconChevronRight, { size: 18, color: mutedIcon })
5102
+ /* @__PURE__ */ jsx50(ChevronRight, {})
5061
5103
  ]
5062
5104
  }
5063
5105
  ),
@@ -5077,7 +5119,7 @@ function ScWorkspaceAccountMenu({
5077
5119
  Icon,
5078
5120
  {
5079
5121
  size: 20,
5080
- color: selected ? "var(--alias-text---icons-onfill, #fff)" : mutedIcon
5122
+ color: selected ? "#fff" : mutedIcon
5081
5123
  }
5082
5124
  )
5083
5125
  },
@@ -5314,6 +5356,8 @@ var ScArtifaxSidebar_default = {
5314
5356
  sectionChevron: "ScArtifaxSidebar_sectionChevron",
5315
5357
  profileRow: "ScArtifaxSidebar_profileRow",
5316
5358
  profileMain: "ScArtifaxSidebar_profileMain",
5359
+ appIdentityMain: "ScArtifaxSidebar_appIdentityMain",
5360
+ appIdentityCollapsed: "ScArtifaxSidebar_appIdentityCollapsed",
5317
5361
  profileRowCollapsed: "ScArtifaxSidebar_profileRowCollapsed",
5318
5362
  profileAvatar: "ScArtifaxSidebar_profileAvatar",
5319
5363
  profileInfo: "ScArtifaxSidebar_profileInfo",
@@ -5381,6 +5425,7 @@ var ScArtifaxSidebar = ({
5381
5425
  creditWarning,
5382
5426
  assistantCta,
5383
5427
  profile,
5428
+ appIdentity,
5384
5429
  toggleIcon,
5385
5430
  hideToggle = false,
5386
5431
  openSections,
@@ -5487,7 +5532,16 @@ var ScArtifaxSidebar = ({
5487
5532
  assistantCta ? /* @__PURE__ */ jsx51(ScAskAgentSlot, { cta: assistantCta }) : null,
5488
5533
  /* @__PURE__ */ jsx51(ScHDivider, {}),
5489
5534
  /* @__PURE__ */ jsxs42("div", { className: ScArtifaxSidebar_default.profileRow, children: [
5490
- profile ? /* @__PURE__ */ jsxs42(
5535
+ appIdentity ? /* @__PURE__ */ jsx51(
5536
+ "button",
5537
+ {
5538
+ type: "button",
5539
+ className: ScArtifaxSidebar_default.appIdentityMain,
5540
+ onClick: appIdentity.onClick,
5541
+ "aria-label": appIdentity.ariaLabel ?? "Switch apps",
5542
+ children: appIdentity.content
5543
+ }
5544
+ ) : profile ? /* @__PURE__ */ jsxs42(
5491
5545
  "button",
5492
5546
  {
5493
5547
  type: "button",
@@ -5553,7 +5607,16 @@ var ScArtifaxSidebar = ({
5553
5607
  assistantCta ? /* @__PURE__ */ jsx51(ScAskAgentSlot, { cta: assistantCta, collapsed: true }) : null,
5554
5608
  /* @__PURE__ */ jsx51(ScHDivider, {}),
5555
5609
  /* @__PURE__ */ jsxs42("div", { className: ScArtifaxSidebar_default.footerCollapsed, children: [
5556
- profile ? /* @__PURE__ */ jsx51(
5610
+ appIdentity ? /* @__PURE__ */ jsx51(
5611
+ "button",
5612
+ {
5613
+ type: "button",
5614
+ className: ScArtifaxSidebar_default.appIdentityCollapsed,
5615
+ onClick: appIdentity.onClick,
5616
+ "aria-label": appIdentity.ariaLabel ?? "Switch apps",
5617
+ children: appIdentity.content
5618
+ }
5619
+ ) : profile ? /* @__PURE__ */ jsx51(
5557
5620
  "button",
5558
5621
  {
5559
5622
  type: "button",
@@ -7736,7 +7799,7 @@ var ScSettingsNav_default = {
7736
7799
 
7737
7800
  // src/SC-settingsNav/ScSettingsNav.tsx
7738
7801
  import { SiconTeam as SiconTeam6 } from "@streamoid/icons";
7739
- import { SiconWorkspace, SiconReferral } from "@streamoid/icons";
7802
+ import { SiconWorkspace as SiconWorkspace2, SiconReferral } from "@streamoid/icons";
7740
7803
  import { jsx as jsx76, jsxs as jsxs66 } from "react/jsx-runtime";
7741
7804
  var ScSettingsNav = ({
7742
7805
  className,
@@ -7755,7 +7818,7 @@ var ScSettingsNav = ({
7755
7818
  /* @__PURE__ */ jsx76(
7756
7819
  ScSidebarMenu,
7757
7820
  {
7758
- icon: /* @__PURE__ */ jsx76(SiconWorkspace, { className: ScSettingsNav_default.siconWorkspaceInstance }),
7821
+ icon: /* @__PURE__ */ jsx76(SiconWorkspace2, { className: ScSettingsNav_default.siconWorkspaceInstance }),
7759
7822
  text: "Workspace",
7760
7823
  className: ScSettingsNav_default.scSidebarMenuInstance
7761
7824
  }
@@ -11405,7 +11468,7 @@ var ScProfilePopup_default = {
11405
11468
  import {
11406
11469
  SiconLogout as SiconLogout4,
11407
11470
  SiconCredits as SiconCredits3,
11408
- SiconWorkspace as SiconWorkspace2,
11471
+ SiconWorkspace as SiconWorkspace3,
11409
11472
  SiconTeam as SiconTeam8,
11410
11473
  SiconBilling as SiconBilling6,
11411
11474
  SiconSettings as SiconSettings4,
@@ -11560,7 +11623,7 @@ var ScProfilePopup = forwardRef2(
11560
11623
  ScButton,
11561
11624
  {
11562
11625
  text: switchWorkspaceLabel,
11563
- icon: /* @__PURE__ */ jsx125(SiconWorkspace2, { size: 20 }),
11626
+ icon: /* @__PURE__ */ jsx125(SiconWorkspace3, { size: 20 }),
11564
11627
  styleVariant: "icon-left",
11565
11628
  variant: "outline",
11566
11629
  size: "md",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamoid/ui",
3
- "version": "0.6.19",
3
+ "version": "0.6.21",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",