@streamoid/ui 0.6.45 → 0.6.47

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.d.mts CHANGED
@@ -146,6 +146,46 @@ declare const ScAppSwitchRow: ({ item, }: {
146
146
  * is shown as selected rather than missing. */
147
147
  declare const ScAppSwitchPanel: ({ apps, systemItems, utilities, title, appsLabel, systemLabel, className, style, }: IScAppSwitchPanelProps) => JSX.Element;
148
148
 
149
+ /**
150
+ * The `/services` payload, turned into switch rows.
151
+ *
152
+ * Artifax and Photogenix each wrote this, independently, against the same
153
+ * backend — ~105 lines in one and ~70 in the other, down to the same
154
+ * `url.replace(/workspaceid/gi, id)`. The copies did not agree, and the
155
+ * disagreement has already shipped: a group's rows are SURFACES and which one
156
+ * sorts first is incidental, so preferring an item over the group's mapped
157
+ * home landed an Artifax hand-off on "Scout" instead of the product home.
158
+ *
159
+ * `ScAppSwitchPanel` already owns the order, the wordmarks and the taglines.
160
+ * This owns the step before it, so a product supplies the response and nothing
161
+ * else.
162
+ *
163
+ * WHAT STAYS WITH THE HOST: whether a link is followed in-app or opened in a
164
+ * new tab, and any cross-origin rewriting of a relative URL. Those depend on
165
+ * how the product is deployed, not on what the catalog says.
166
+ */
167
+ /** Loosely typed on purpose: this is a backend response, and both observed
168
+ * shapes are handled below rather than asserted. */
169
+ interface StreamoidAppSwitchOptions {
170
+ /** Substituted for the literal `workspaceid` in any URL, case-insensitively. */
171
+ workspaceId?: string;
172
+ /** Matched case-insensitively against each group's key AND label, so
173
+ * "photogenix" marks a group keyed `Photogenix` or labelled
174
+ * "Photo Studio" when that alias is passed. */
175
+ currentProduct?: string | string[];
176
+ }
177
+ interface StreamoidAppSwitchGroup {
178
+ key: string;
179
+ /** The backend label. `ScAppSwitchPanel` matches this to a product wordmark,
180
+ * so it is passed through as-is rather than normalised. */
181
+ name: string;
182
+ description?: string;
183
+ /** Empty only for the current product, which does not navigate. */
184
+ link: string;
185
+ current: boolean;
186
+ }
187
+ declare function streamoidAppSwitchGroups(raw: unknown, { workspaceId, currentProduct }?: StreamoidAppSwitchOptions): StreamoidAppSwitchGroup[];
188
+
149
189
  /** Bounds for a resizable panel, in px. */
150
190
  interface PanelWidthBounds {
151
191
  min: number;
@@ -384,8 +424,14 @@ interface CreditWarningBannerProps {
384
424
  onBuyCredits: () => void;
385
425
  expanded?: boolean;
386
426
  onCollapsedClick?: () => void;
427
+ /** Called when the banner is dismissed. The banner hides itself either way —
428
+ * this is for a host that wants the dismissal to outlive a remount, e.g. by
429
+ * persisting it and then withholding `creditWarning` on the next render.
430
+ * Photogenix hand-rolled this whole banner to get a dismiss it already
431
+ * had; what it did not have was a way to know. */
432
+ onDismiss?: () => void;
387
433
  }
388
- declare function CreditWarningBanner({ availableCredits, remainingPct, level, onBuyCredits, expanded, onCollapsedClick, }: CreditWarningBannerProps): React$1.JSX.Element | null;
434
+ declare function CreditWarningBanner({ availableCredits, remainingPct, level, onBuyCredits, onDismiss, expanded, onCollapsedClick, }: CreditWarningBannerProps): React$1.JSX.Element | null;
389
435
 
390
436
  interface ScDpProps {
391
437
  /** "initial" shows initials text, "image" shows an image. */
@@ -993,6 +1039,55 @@ type StreamoidSidebarPopoverPosition = CSSProperties & {
993
1039
  */
994
1040
  declare function useStreamoidSidebarPopoverPosition(sidebarRef: RefObject<HTMLElement | null>, { placement, width, gap, inset, }: StreamoidSidebarPopoverPositionOptions): StreamoidSidebarPopoverPosition;
995
1041
 
1042
+ /**
1043
+ * The card both rail popovers hang in — the app switcher and the workspace
1044
+ * menu.
1045
+ *
1046
+ * Every product had been rebuilding this. The pieces were already here (the
1047
+ * anchoring hook, the caret), but the CARD was not, so each app wrote its own
1048
+ * surface, edge, radius, shadow, z-index, portal, backdrop, dismiss handling
1049
+ * and clip box. They then drifted, which is why the two switchers did not look
1050
+ * alike: one drew the panel on `--alias-surface-base`, the other on
1051
+ * `--alias-surface-raised`, with different shadows behind them.
1052
+ *
1053
+ * TWO THINGS THIS EXISTS TO GET RIGHT, both of which were reported as bugs
1054
+ * before they were understood:
1055
+ *
1056
+ * The card must NOT clip its overflow. The caret hangs half outside it by
1057
+ * design, and `overflow: hidden` — the obvious way to keep rounded corners —
1058
+ * cuts the caret off. So the card is rounded and does not clip, and an INNER
1059
+ * box does the clipping. Without that inner box a child painting an opaque
1060
+ * square background covers the rows the border arc curves through, leaving a
1061
+ * hard rule across the top that stops short of both ends and square corners
1062
+ * beyond it: reported as "the edges are squared" AND "there is a black border
1063
+ * at the top", one cause and two symptoms.
1064
+ *
1065
+ * The caret takes the card's own background and border, so it reads as a piece
1066
+ * of the card rather than a shape stuck to it. That is why the surface and
1067
+ * border are values here and not something a caller passes twice.
1068
+ */
1069
+ interface IScSidebarPopoverProps {
1070
+ /** The control that opened it. The caret points at this. */
1071
+ anchorRef: RefObject<HTMLElement | null>;
1072
+ /** Usually the rail. The card's edge lines up with this element's edge
1073
+ * rather than with the anchor, so both popovers on a rail agree. */
1074
+ alignRef?: RefObject<HTMLElement | null>;
1075
+ /** Panel width in pixels. Required, because the anchoring maths needs it
1076
+ * before the panel has been measured — a popover that sizes itself would
1077
+ * be placed from a width it does not have yet and then jump. 336 matches
1078
+ * `ScSidebarShell_menu`, which pins that width internally. */
1079
+ width: number;
1080
+ onClose: () => void;
1081
+ children: ReactNode;
1082
+ /** `menu` by default; pass `dialog` for something that is not a menu. */
1083
+ role?: string;
1084
+ ariaLabel?: string;
1085
+ testId?: string;
1086
+ className?: string;
1087
+ style?: CSSProperties;
1088
+ }
1089
+ declare function ScSidebarPopover({ anchorRef, alignRef, width, onClose, children, role, ariaLabel, testId, className, style, }: IScSidebarPopoverProps): React$1.ReactPortal | null;
1090
+
996
1091
  interface AppSidebarMenuItem {
997
1092
  id: string;
998
1093
  label: string;
@@ -1012,6 +1107,22 @@ interface AppSidebarIconContext {
1012
1107
  }
1013
1108
  type AppSidebarIconRenderer = (context: AppSidebarIconContext) => ReactNode;
1014
1109
  type AppSidebarIconMap = Record<string, ReactNode | AppSidebarIconRenderer>;
1110
+ interface AppSidebarHeader {
1111
+ workspaceName: string;
1112
+ workspaceImage?: string;
1113
+ /** Drives the trigger's `aria-expanded`. */
1114
+ workspaceMenuOpen?: boolean;
1115
+ onWorkspaceClick?: () => void;
1116
+ /** Anchor for the workspace popover. Two refs, because the expanded and
1117
+ * collapsed rails are different DOM and only one is mounted at a time. */
1118
+ workspaceTriggerExpandedRef?: RefObject<HTMLDivElement | null>;
1119
+ workspaceTriggerCollapsedRef?: RefObject<HTMLDivElement | null>;
1120
+ searchLabel?: string;
1121
+ searchShortcut?: string;
1122
+ onSearchClick?: () => void;
1123
+ /** Omit the search field entirely — a product that has no search yet. */
1124
+ hideSearch?: boolean;
1125
+ }
1015
1126
  interface AppSidebarProfile {
1016
1127
  name: string;
1017
1128
  subtitle?: string;
@@ -1047,7 +1158,21 @@ interface IScAppSidebarProps {
1047
1158
  iconMap?: AppSidebarIconMap;
1048
1159
  activeItemId?: string;
1049
1160
  onItemSelect?: (item: AppSidebarMenuItem, sectionId: string) => void;
1161
+ /**
1162
+ * The rail's top section: the workspace trigger, the search field and the
1163
+ * rule under them.
1164
+ *
1165
+ * Prefer this over building it in `expandedLogo` / `collapsedLogo`. Every
1166
+ * product was composing the same three children with the same gap, and the
1167
+ * copies drifted — one wrapped the trigger in `w-full min-w-0` and the other
1168
+ * did not, and each hand-placed the divider. Passing data instead of JSX
1169
+ * means the top of the rail cannot differ between products.
1170
+ */
1171
+ header?: AppSidebarHeader;
1172
+ /** @deprecated Pass `header`. Still rendered, and still the slot to use for
1173
+ * anything that is NOT the standard workspace + search pair. */
1050
1174
  expandedLogo?: ReactNode;
1175
+ /** @deprecated Pass `header`. */
1051
1176
  collapsedLogo?: ReactNode;
1052
1177
  creditWarning?: AppSidebarCreditWarning | null;
1053
1178
  /** Gradient call-to-action above the profile row (e.g. "Ask CXO"). Omit to
@@ -1074,9 +1199,9 @@ interface IScAppSidebarProps {
1074
1199
  className?: string;
1075
1200
  style?: CSSProperties;
1076
1201
  }
1077
- declare const ScAppSidebar: ({ expanded, onToggle, resizable, onExpandedChange, sections, iconMap, activeItemId, onItemSelect, expandedLogo, collapsedLogo, creditWarning, assistantCta, profile, appIdentity, toggleIcon, hideToggle, preFooterContent, versionText, isMobile, openSections, onSectionToggle, className, style, }: IScAppSidebarProps) => JSX.Element;
1202
+ declare const ScAppSidebar: ({ expanded, onToggle, resizable, onExpandedChange, sections, iconMap, activeItemId, onItemSelect, header, expandedLogo, collapsedLogo, creditWarning, assistantCta, profile, appIdentity, toggleIcon, hideToggle, preFooterContent, versionText, isMobile, openSections, onSectionToggle, className, style, }: IScAppSidebarProps) => JSX.Element;
1078
1203
  /** @deprecated Use {@link ScAppSidebar}. */
1079
- declare const ScArtifaxSidebar: ({ expanded, onToggle, resizable, onExpandedChange, sections, iconMap, activeItemId, onItemSelect, expandedLogo, collapsedLogo, creditWarning, assistantCta, profile, appIdentity, toggleIcon, hideToggle, preFooterContent, versionText, isMobile, openSections, onSectionToggle, className, style, }: IScAppSidebarProps) => JSX.Element;
1204
+ declare const ScArtifaxSidebar: ({ expanded, onToggle, resizable, onExpandedChange, sections, iconMap, activeItemId, onItemSelect, header, expandedLogo, collapsedLogo, creditWarning, assistantCta, profile, appIdentity, toggleIcon, hideToggle, preFooterContent, versionText, isMobile, openSections, onSectionToggle, className, style, }: IScAppSidebarProps) => JSX.Element;
1080
1205
  /** @deprecated Use {@link AppSidebarMenuItem}. */
1081
1206
  type ArtifaxMenuItem = AppSidebarMenuItem;
1082
1207
  /** @deprecated Use {@link AppSidebarSection}. */
@@ -2364,4 +2489,4 @@ interface IScProfilePopupProps extends React.HTMLAttributes<HTMLDivElement> {
2364
2489
  */
2365
2490
  declare const ScProfilePopup: React$1.ForwardRefExoticComponent<IScProfilePopupProps & React$1.RefAttributes<HTMLDivElement>>;
2366
2491
 
2367
- export { type AppSidebarAppIdentity, type AppSidebarAssistantCta, type AppSidebarCreditWarning, type AppSidebarIconContext, type AppSidebarIconMap, type AppSidebarIconRenderer, type AppSidebarMenuItem, type AppSidebarProfile, type AppSidebarSection, 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 IScAppSidebarProps, 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 IScCxoWordmarkProps, 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 IScPanelResizeHandleProps, type IScPendingActionProps, type IScPhtogenixInviteProps, type IScPlanCardProps, type IScPlanComparisonProps, type IScPlanDetailsCardMobileProps, type IScPlanDetailsCardProps, type IScPopUpMenuProps, type IScPopoverArrowProps, 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, PANEL_RESIZE_STEP_PX, type PanelResizeEdge, type PanelResizeGesture, type PanelWidthBounds, type PlanComparisonRow, type PlanComparisonSection, type PlanFeatureSection, ProductCollapsedMark, ProductWordmark, SIDEBAR_RESIZE_THRESHOLD_PX, STREAMOID_CHANGELOG_URL, STREAMOID_CHANGELOG_URLS, STREAMOID_STATUS_PAGE_URL, ScAccess, ScAppCard, ScAppCardForCopilot, ScAppCardV3, ScAppField, ScAppListingCard, ScAppSidebar, type ScAppSwitchItem, ScAppSwitchPanel, ScAppSwitchRow, type ScAppSwitchSystemItem, type ScAppSwitchUtilities, 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, ScCxoWordmark, 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, ScPanelResizeHandle, ScPendingAction, ScPhtogenixInvite, ScPlanCard, ScPlanComparison, ScPlanDetailsCard, ScPlanDetailsCardMobile, ScPopUpMenu, ScPopoverArrow, 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, type StreamoidAnchorRect, type StreamoidAnchoredPopover, type StreamoidAnchoredPopoverArrow, type StreamoidAnchoredPopoverGeometry, type StreamoidAnchoredPopoverPosition, type StreamoidAnchoredPopoverPositionOptions, type StreamoidAppSwitchProduct, type StreamoidPanelWidthOptions, type StreamoidPanelWidthState, StreamoidSidebar, type StreamoidSidebarPopoverPlacement, type StreamoidSidebarPopoverPosition, type StreamoidSidebarPopoverPositionOptions, type StreamoidSidebarPreferenceOptions, type StreamoidSidebarPreferenceState, type StreamoidSidebarProps, type StreamoidThemePreferenceOptions, type StreamoidThemePreferenceState, StreamoidWorkspaceSwitcher, type StreamoidWorkspaceSwitcherProps, UsageHistoryMobile, type WorkspaceSwitcherConfig, type WorkspaceSwitcherItem, advanceSidebarResizeGesture, clampPanelWidth, createStreamoidAppSwitchUtilities, formatStreamoidAppVersion, formatSubAgentLabel, hasCollapsedMark, resolveAnchoredPopoverArrow, resolveAnchoredPopoverPosition, resolvePanelResize, resolvePanelResizeKey, scAppSwitchOrder, streamoidAppSwitchTagline, streamoidChangelogUrl, useStreamoidAnchoredPopover, useStreamoidAnchoredPopoverPosition, useStreamoidPanelWidth, useStreamoidSidebarPopoverPosition, useStreamoidSidebarPreference, useStreamoidThemePreference };
2492
+ export { type AppSidebarAppIdentity, type AppSidebarAssistantCta, type AppSidebarCreditWarning, type AppSidebarHeader, type AppSidebarIconContext, type AppSidebarIconMap, type AppSidebarIconRenderer, type AppSidebarMenuItem, type AppSidebarProfile, type AppSidebarSection, 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 IScAppSidebarProps, 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 IScCxoWordmarkProps, 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 IScPanelResizeHandleProps, type IScPendingActionProps, type IScPhtogenixInviteProps, type IScPlanCardProps, type IScPlanComparisonProps, type IScPlanDetailsCardMobileProps, type IScPlanDetailsCardProps, type IScPopUpMenuProps, type IScPopoverArrowProps, 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 IScSidebarPopoverProps, 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, PANEL_RESIZE_STEP_PX, type PanelResizeEdge, type PanelResizeGesture, type PanelWidthBounds, type PlanComparisonRow, type PlanComparisonSection, type PlanFeatureSection, ProductCollapsedMark, ProductWordmark, SIDEBAR_RESIZE_THRESHOLD_PX, STREAMOID_CHANGELOG_URL, STREAMOID_CHANGELOG_URLS, STREAMOID_STATUS_PAGE_URL, ScAccess, ScAppCard, ScAppCardForCopilot, ScAppCardV3, ScAppField, ScAppListingCard, ScAppSidebar, type ScAppSwitchItem, ScAppSwitchPanel, ScAppSwitchRow, type ScAppSwitchSystemItem, type ScAppSwitchUtilities, 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, ScCxoWordmark, 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, ScPanelResizeHandle, ScPendingAction, ScPhtogenixInvite, ScPlanCard, ScPlanComparison, ScPlanDetailsCard, ScPlanDetailsCardMobile, ScPopUpMenu, ScPopoverArrow, 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, ScSidebarPopover, 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, type StreamoidAnchorRect, type StreamoidAnchoredPopover, type StreamoidAnchoredPopoverArrow, type StreamoidAnchoredPopoverGeometry, type StreamoidAnchoredPopoverPosition, type StreamoidAnchoredPopoverPositionOptions, type StreamoidAppSwitchGroup, type StreamoidAppSwitchOptions, type StreamoidAppSwitchProduct, type StreamoidPanelWidthOptions, type StreamoidPanelWidthState, StreamoidSidebar, type StreamoidSidebarPopoverPlacement, type StreamoidSidebarPopoverPosition, type StreamoidSidebarPopoverPositionOptions, type StreamoidSidebarPreferenceOptions, type StreamoidSidebarPreferenceState, type StreamoidSidebarProps, type StreamoidThemePreferenceOptions, type StreamoidThemePreferenceState, StreamoidWorkspaceSwitcher, type StreamoidWorkspaceSwitcherProps, UsageHistoryMobile, type WorkspaceSwitcherConfig, type WorkspaceSwitcherItem, advanceSidebarResizeGesture, clampPanelWidth, createStreamoidAppSwitchUtilities, formatStreamoidAppVersion, formatSubAgentLabel, hasCollapsedMark, resolveAnchoredPopoverArrow, resolveAnchoredPopoverPosition, resolvePanelResize, resolvePanelResizeKey, scAppSwitchOrder, streamoidAppSwitchGroups, streamoidAppSwitchTagline, streamoidChangelogUrl, useStreamoidAnchoredPopover, useStreamoidAnchoredPopoverPosition, useStreamoidPanelWidth, useStreamoidSidebarPopoverPosition, useStreamoidSidebarPreference, useStreamoidThemePreference };
package/dist/index.d.ts CHANGED
@@ -146,6 +146,46 @@ declare const ScAppSwitchRow: ({ item, }: {
146
146
  * is shown as selected rather than missing. */
147
147
  declare const ScAppSwitchPanel: ({ apps, systemItems, utilities, title, appsLabel, systemLabel, className, style, }: IScAppSwitchPanelProps) => JSX.Element;
148
148
 
149
+ /**
150
+ * The `/services` payload, turned into switch rows.
151
+ *
152
+ * Artifax and Photogenix each wrote this, independently, against the same
153
+ * backend — ~105 lines in one and ~70 in the other, down to the same
154
+ * `url.replace(/workspaceid/gi, id)`. The copies did not agree, and the
155
+ * disagreement has already shipped: a group's rows are SURFACES and which one
156
+ * sorts first is incidental, so preferring an item over the group's mapped
157
+ * home landed an Artifax hand-off on "Scout" instead of the product home.
158
+ *
159
+ * `ScAppSwitchPanel` already owns the order, the wordmarks and the taglines.
160
+ * This owns the step before it, so a product supplies the response and nothing
161
+ * else.
162
+ *
163
+ * WHAT STAYS WITH THE HOST: whether a link is followed in-app or opened in a
164
+ * new tab, and any cross-origin rewriting of a relative URL. Those depend on
165
+ * how the product is deployed, not on what the catalog says.
166
+ */
167
+ /** Loosely typed on purpose: this is a backend response, and both observed
168
+ * shapes are handled below rather than asserted. */
169
+ interface StreamoidAppSwitchOptions {
170
+ /** Substituted for the literal `workspaceid` in any URL, case-insensitively. */
171
+ workspaceId?: string;
172
+ /** Matched case-insensitively against each group's key AND label, so
173
+ * "photogenix" marks a group keyed `Photogenix` or labelled
174
+ * "Photo Studio" when that alias is passed. */
175
+ currentProduct?: string | string[];
176
+ }
177
+ interface StreamoidAppSwitchGroup {
178
+ key: string;
179
+ /** The backend label. `ScAppSwitchPanel` matches this to a product wordmark,
180
+ * so it is passed through as-is rather than normalised. */
181
+ name: string;
182
+ description?: string;
183
+ /** Empty only for the current product, which does not navigate. */
184
+ link: string;
185
+ current: boolean;
186
+ }
187
+ declare function streamoidAppSwitchGroups(raw: unknown, { workspaceId, currentProduct }?: StreamoidAppSwitchOptions): StreamoidAppSwitchGroup[];
188
+
149
189
  /** Bounds for a resizable panel, in px. */
150
190
  interface PanelWidthBounds {
151
191
  min: number;
@@ -384,8 +424,14 @@ interface CreditWarningBannerProps {
384
424
  onBuyCredits: () => void;
385
425
  expanded?: boolean;
386
426
  onCollapsedClick?: () => void;
427
+ /** Called when the banner is dismissed. The banner hides itself either way —
428
+ * this is for a host that wants the dismissal to outlive a remount, e.g. by
429
+ * persisting it and then withholding `creditWarning` on the next render.
430
+ * Photogenix hand-rolled this whole banner to get a dismiss it already
431
+ * had; what it did not have was a way to know. */
432
+ onDismiss?: () => void;
387
433
  }
388
- declare function CreditWarningBanner({ availableCredits, remainingPct, level, onBuyCredits, expanded, onCollapsedClick, }: CreditWarningBannerProps): React$1.JSX.Element | null;
434
+ declare function CreditWarningBanner({ availableCredits, remainingPct, level, onBuyCredits, onDismiss, expanded, onCollapsedClick, }: CreditWarningBannerProps): React$1.JSX.Element | null;
389
435
 
390
436
  interface ScDpProps {
391
437
  /** "initial" shows initials text, "image" shows an image. */
@@ -993,6 +1039,55 @@ type StreamoidSidebarPopoverPosition = CSSProperties & {
993
1039
  */
994
1040
  declare function useStreamoidSidebarPopoverPosition(sidebarRef: RefObject<HTMLElement | null>, { placement, width, gap, inset, }: StreamoidSidebarPopoverPositionOptions): StreamoidSidebarPopoverPosition;
995
1041
 
1042
+ /**
1043
+ * The card both rail popovers hang in — the app switcher and the workspace
1044
+ * menu.
1045
+ *
1046
+ * Every product had been rebuilding this. The pieces were already here (the
1047
+ * anchoring hook, the caret), but the CARD was not, so each app wrote its own
1048
+ * surface, edge, radius, shadow, z-index, portal, backdrop, dismiss handling
1049
+ * and clip box. They then drifted, which is why the two switchers did not look
1050
+ * alike: one drew the panel on `--alias-surface-base`, the other on
1051
+ * `--alias-surface-raised`, with different shadows behind them.
1052
+ *
1053
+ * TWO THINGS THIS EXISTS TO GET RIGHT, both of which were reported as bugs
1054
+ * before they were understood:
1055
+ *
1056
+ * The card must NOT clip its overflow. The caret hangs half outside it by
1057
+ * design, and `overflow: hidden` — the obvious way to keep rounded corners —
1058
+ * cuts the caret off. So the card is rounded and does not clip, and an INNER
1059
+ * box does the clipping. Without that inner box a child painting an opaque
1060
+ * square background covers the rows the border arc curves through, leaving a
1061
+ * hard rule across the top that stops short of both ends and square corners
1062
+ * beyond it: reported as "the edges are squared" AND "there is a black border
1063
+ * at the top", one cause and two symptoms.
1064
+ *
1065
+ * The caret takes the card's own background and border, so it reads as a piece
1066
+ * of the card rather than a shape stuck to it. That is why the surface and
1067
+ * border are values here and not something a caller passes twice.
1068
+ */
1069
+ interface IScSidebarPopoverProps {
1070
+ /** The control that opened it. The caret points at this. */
1071
+ anchorRef: RefObject<HTMLElement | null>;
1072
+ /** Usually the rail. The card's edge lines up with this element's edge
1073
+ * rather than with the anchor, so both popovers on a rail agree. */
1074
+ alignRef?: RefObject<HTMLElement | null>;
1075
+ /** Panel width in pixels. Required, because the anchoring maths needs it
1076
+ * before the panel has been measured — a popover that sizes itself would
1077
+ * be placed from a width it does not have yet and then jump. 336 matches
1078
+ * `ScSidebarShell_menu`, which pins that width internally. */
1079
+ width: number;
1080
+ onClose: () => void;
1081
+ children: ReactNode;
1082
+ /** `menu` by default; pass `dialog` for something that is not a menu. */
1083
+ role?: string;
1084
+ ariaLabel?: string;
1085
+ testId?: string;
1086
+ className?: string;
1087
+ style?: CSSProperties;
1088
+ }
1089
+ declare function ScSidebarPopover({ anchorRef, alignRef, width, onClose, children, role, ariaLabel, testId, className, style, }: IScSidebarPopoverProps): React$1.ReactPortal | null;
1090
+
996
1091
  interface AppSidebarMenuItem {
997
1092
  id: string;
998
1093
  label: string;
@@ -1012,6 +1107,22 @@ interface AppSidebarIconContext {
1012
1107
  }
1013
1108
  type AppSidebarIconRenderer = (context: AppSidebarIconContext) => ReactNode;
1014
1109
  type AppSidebarIconMap = Record<string, ReactNode | AppSidebarIconRenderer>;
1110
+ interface AppSidebarHeader {
1111
+ workspaceName: string;
1112
+ workspaceImage?: string;
1113
+ /** Drives the trigger's `aria-expanded`. */
1114
+ workspaceMenuOpen?: boolean;
1115
+ onWorkspaceClick?: () => void;
1116
+ /** Anchor for the workspace popover. Two refs, because the expanded and
1117
+ * collapsed rails are different DOM and only one is mounted at a time. */
1118
+ workspaceTriggerExpandedRef?: RefObject<HTMLDivElement | null>;
1119
+ workspaceTriggerCollapsedRef?: RefObject<HTMLDivElement | null>;
1120
+ searchLabel?: string;
1121
+ searchShortcut?: string;
1122
+ onSearchClick?: () => void;
1123
+ /** Omit the search field entirely — a product that has no search yet. */
1124
+ hideSearch?: boolean;
1125
+ }
1015
1126
  interface AppSidebarProfile {
1016
1127
  name: string;
1017
1128
  subtitle?: string;
@@ -1047,7 +1158,21 @@ interface IScAppSidebarProps {
1047
1158
  iconMap?: AppSidebarIconMap;
1048
1159
  activeItemId?: string;
1049
1160
  onItemSelect?: (item: AppSidebarMenuItem, sectionId: string) => void;
1161
+ /**
1162
+ * The rail's top section: the workspace trigger, the search field and the
1163
+ * rule under them.
1164
+ *
1165
+ * Prefer this over building it in `expandedLogo` / `collapsedLogo`. Every
1166
+ * product was composing the same three children with the same gap, and the
1167
+ * copies drifted — one wrapped the trigger in `w-full min-w-0` and the other
1168
+ * did not, and each hand-placed the divider. Passing data instead of JSX
1169
+ * means the top of the rail cannot differ between products.
1170
+ */
1171
+ header?: AppSidebarHeader;
1172
+ /** @deprecated Pass `header`. Still rendered, and still the slot to use for
1173
+ * anything that is NOT the standard workspace + search pair. */
1050
1174
  expandedLogo?: ReactNode;
1175
+ /** @deprecated Pass `header`. */
1051
1176
  collapsedLogo?: ReactNode;
1052
1177
  creditWarning?: AppSidebarCreditWarning | null;
1053
1178
  /** Gradient call-to-action above the profile row (e.g. "Ask CXO"). Omit to
@@ -1074,9 +1199,9 @@ interface IScAppSidebarProps {
1074
1199
  className?: string;
1075
1200
  style?: CSSProperties;
1076
1201
  }
1077
- declare const ScAppSidebar: ({ expanded, onToggle, resizable, onExpandedChange, sections, iconMap, activeItemId, onItemSelect, expandedLogo, collapsedLogo, creditWarning, assistantCta, profile, appIdentity, toggleIcon, hideToggle, preFooterContent, versionText, isMobile, openSections, onSectionToggle, className, style, }: IScAppSidebarProps) => JSX.Element;
1202
+ declare const ScAppSidebar: ({ expanded, onToggle, resizable, onExpandedChange, sections, iconMap, activeItemId, onItemSelect, header, expandedLogo, collapsedLogo, creditWarning, assistantCta, profile, appIdentity, toggleIcon, hideToggle, preFooterContent, versionText, isMobile, openSections, onSectionToggle, className, style, }: IScAppSidebarProps) => JSX.Element;
1078
1203
  /** @deprecated Use {@link ScAppSidebar}. */
1079
- declare const ScArtifaxSidebar: ({ expanded, onToggle, resizable, onExpandedChange, sections, iconMap, activeItemId, onItemSelect, expandedLogo, collapsedLogo, creditWarning, assistantCta, profile, appIdentity, toggleIcon, hideToggle, preFooterContent, versionText, isMobile, openSections, onSectionToggle, className, style, }: IScAppSidebarProps) => JSX.Element;
1204
+ declare const ScArtifaxSidebar: ({ expanded, onToggle, resizable, onExpandedChange, sections, iconMap, activeItemId, onItemSelect, header, expandedLogo, collapsedLogo, creditWarning, assistantCta, profile, appIdentity, toggleIcon, hideToggle, preFooterContent, versionText, isMobile, openSections, onSectionToggle, className, style, }: IScAppSidebarProps) => JSX.Element;
1080
1205
  /** @deprecated Use {@link AppSidebarMenuItem}. */
1081
1206
  type ArtifaxMenuItem = AppSidebarMenuItem;
1082
1207
  /** @deprecated Use {@link AppSidebarSection}. */
@@ -2364,4 +2489,4 @@ interface IScProfilePopupProps extends React.HTMLAttributes<HTMLDivElement> {
2364
2489
  */
2365
2490
  declare const ScProfilePopup: React$1.ForwardRefExoticComponent<IScProfilePopupProps & React$1.RefAttributes<HTMLDivElement>>;
2366
2491
 
2367
- export { type AppSidebarAppIdentity, type AppSidebarAssistantCta, type AppSidebarCreditWarning, type AppSidebarIconContext, type AppSidebarIconMap, type AppSidebarIconRenderer, type AppSidebarMenuItem, type AppSidebarProfile, type AppSidebarSection, 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 IScAppSidebarProps, 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 IScCxoWordmarkProps, 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 IScPanelResizeHandleProps, type IScPendingActionProps, type IScPhtogenixInviteProps, type IScPlanCardProps, type IScPlanComparisonProps, type IScPlanDetailsCardMobileProps, type IScPlanDetailsCardProps, type IScPopUpMenuProps, type IScPopoverArrowProps, 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, PANEL_RESIZE_STEP_PX, type PanelResizeEdge, type PanelResizeGesture, type PanelWidthBounds, type PlanComparisonRow, type PlanComparisonSection, type PlanFeatureSection, ProductCollapsedMark, ProductWordmark, SIDEBAR_RESIZE_THRESHOLD_PX, STREAMOID_CHANGELOG_URL, STREAMOID_CHANGELOG_URLS, STREAMOID_STATUS_PAGE_URL, ScAccess, ScAppCard, ScAppCardForCopilot, ScAppCardV3, ScAppField, ScAppListingCard, ScAppSidebar, type ScAppSwitchItem, ScAppSwitchPanel, ScAppSwitchRow, type ScAppSwitchSystemItem, type ScAppSwitchUtilities, 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, ScCxoWordmark, 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, ScPanelResizeHandle, ScPendingAction, ScPhtogenixInvite, ScPlanCard, ScPlanComparison, ScPlanDetailsCard, ScPlanDetailsCardMobile, ScPopUpMenu, ScPopoverArrow, 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, type StreamoidAnchorRect, type StreamoidAnchoredPopover, type StreamoidAnchoredPopoverArrow, type StreamoidAnchoredPopoverGeometry, type StreamoidAnchoredPopoverPosition, type StreamoidAnchoredPopoverPositionOptions, type StreamoidAppSwitchProduct, type StreamoidPanelWidthOptions, type StreamoidPanelWidthState, StreamoidSidebar, type StreamoidSidebarPopoverPlacement, type StreamoidSidebarPopoverPosition, type StreamoidSidebarPopoverPositionOptions, type StreamoidSidebarPreferenceOptions, type StreamoidSidebarPreferenceState, type StreamoidSidebarProps, type StreamoidThemePreferenceOptions, type StreamoidThemePreferenceState, StreamoidWorkspaceSwitcher, type StreamoidWorkspaceSwitcherProps, UsageHistoryMobile, type WorkspaceSwitcherConfig, type WorkspaceSwitcherItem, advanceSidebarResizeGesture, clampPanelWidth, createStreamoidAppSwitchUtilities, formatStreamoidAppVersion, formatSubAgentLabel, hasCollapsedMark, resolveAnchoredPopoverArrow, resolveAnchoredPopoverPosition, resolvePanelResize, resolvePanelResizeKey, scAppSwitchOrder, streamoidAppSwitchTagline, streamoidChangelogUrl, useStreamoidAnchoredPopover, useStreamoidAnchoredPopoverPosition, useStreamoidPanelWidth, useStreamoidSidebarPopoverPosition, useStreamoidSidebarPreference, useStreamoidThemePreference };
2492
+ export { type AppSidebarAppIdentity, type AppSidebarAssistantCta, type AppSidebarCreditWarning, type AppSidebarHeader, type AppSidebarIconContext, type AppSidebarIconMap, type AppSidebarIconRenderer, type AppSidebarMenuItem, type AppSidebarProfile, type AppSidebarSection, 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 IScAppSidebarProps, 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 IScCxoWordmarkProps, 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 IScPanelResizeHandleProps, type IScPendingActionProps, type IScPhtogenixInviteProps, type IScPlanCardProps, type IScPlanComparisonProps, type IScPlanDetailsCardMobileProps, type IScPlanDetailsCardProps, type IScPopUpMenuProps, type IScPopoverArrowProps, 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 IScSidebarPopoverProps, 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, PANEL_RESIZE_STEP_PX, type PanelResizeEdge, type PanelResizeGesture, type PanelWidthBounds, type PlanComparisonRow, type PlanComparisonSection, type PlanFeatureSection, ProductCollapsedMark, ProductWordmark, SIDEBAR_RESIZE_THRESHOLD_PX, STREAMOID_CHANGELOG_URL, STREAMOID_CHANGELOG_URLS, STREAMOID_STATUS_PAGE_URL, ScAccess, ScAppCard, ScAppCardForCopilot, ScAppCardV3, ScAppField, ScAppListingCard, ScAppSidebar, type ScAppSwitchItem, ScAppSwitchPanel, ScAppSwitchRow, type ScAppSwitchSystemItem, type ScAppSwitchUtilities, 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, ScCxoWordmark, 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, ScPanelResizeHandle, ScPendingAction, ScPhtogenixInvite, ScPlanCard, ScPlanComparison, ScPlanDetailsCard, ScPlanDetailsCardMobile, ScPopUpMenu, ScPopoverArrow, 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, ScSidebarPopover, 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, type StreamoidAnchorRect, type StreamoidAnchoredPopover, type StreamoidAnchoredPopoverArrow, type StreamoidAnchoredPopoverGeometry, type StreamoidAnchoredPopoverPosition, type StreamoidAnchoredPopoverPositionOptions, type StreamoidAppSwitchGroup, type StreamoidAppSwitchOptions, type StreamoidAppSwitchProduct, type StreamoidPanelWidthOptions, type StreamoidPanelWidthState, StreamoidSidebar, type StreamoidSidebarPopoverPlacement, type StreamoidSidebarPopoverPosition, type StreamoidSidebarPopoverPositionOptions, type StreamoidSidebarPreferenceOptions, type StreamoidSidebarPreferenceState, type StreamoidSidebarProps, type StreamoidThemePreferenceOptions, type StreamoidThemePreferenceState, StreamoidWorkspaceSwitcher, type StreamoidWorkspaceSwitcherProps, UsageHistoryMobile, type WorkspaceSwitcherConfig, type WorkspaceSwitcherItem, advanceSidebarResizeGesture, clampPanelWidth, createStreamoidAppSwitchUtilities, formatStreamoidAppVersion, formatSubAgentLabel, hasCollapsedMark, resolveAnchoredPopoverArrow, resolveAnchoredPopoverPosition, resolvePanelResize, resolvePanelResizeKey, scAppSwitchOrder, streamoidAppSwitchGroups, streamoidAppSwitchTagline, streamoidChangelogUrl, useStreamoidAnchoredPopover, useStreamoidAnchoredPopoverPosition, useStreamoidPanelWidth, useStreamoidSidebarPopoverPosition, useStreamoidSidebarPreference, useStreamoidThemePreference };