@streamoid/ui 0.4.8 → 0.5.0

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
@@ -3826,6 +3826,75 @@
3826
3826
  align-items: center;
3827
3827
  justify-content: center;
3828
3828
  }
3829
+ .ScArtifaxSidebar_askAgentSlot {
3830
+ width: 100%;
3831
+ flex-shrink: 0;
3832
+ padding: 0 var(--spacing-md, 0.5rem) var(--spacing-3xl, 1rem);
3833
+ }
3834
+ .ScArtifaxSidebar_askAgentSlotCollapsed {
3835
+ display: flex;
3836
+ justify-content: center;
3837
+ width: 100%;
3838
+ flex-shrink: 0;
3839
+ padding: var(--spacing-md, 0.5rem) 0;
3840
+ }
3841
+ .ScArtifaxSidebar_askAgent,
3842
+ .ScArtifaxSidebar_askAgentCollapsed {
3843
+ display: flex;
3844
+ align-items: center;
3845
+ justify-content: center;
3846
+ gap: var(--spacing-md, 0.5rem);
3847
+ cursor: pointer;
3848
+ color: #f5f5f5;
3849
+ background:
3850
+ linear-gradient(
3851
+ 135deg,
3852
+ rgba(217, 21, 54, 1) 0%,
3853
+ rgba(238, 94, 58, 1) 100%);
3854
+ border: 0.5px solid rgba(255, 0, 0, 0.32);
3855
+ border-radius: var(--radius-2xl, 0.75rem);
3856
+ }
3857
+ .ScArtifaxSidebar_askAgent {
3858
+ width: 100%;
3859
+ padding: var(--spacing-xl, 0.75rem);
3860
+ }
3861
+ .ScArtifaxSidebar_askAgentCollapsed {
3862
+ width: 2.5rem;
3863
+ height: 2.5rem;
3864
+ padding: var(--spacing-md, 0.5rem);
3865
+ flex-shrink: 0;
3866
+ }
3867
+ .ScArtifaxSidebar_askAgent:hover,
3868
+ .ScArtifaxSidebar_askAgentCollapsed:hover {
3869
+ filter: brightness(1.08);
3870
+ }
3871
+ .ScArtifaxSidebar_askAgentActive {
3872
+ box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.4);
3873
+ }
3874
+ .ScArtifaxSidebar_askAgent:focus-visible,
3875
+ .ScArtifaxSidebar_askAgentCollapsed:focus-visible {
3876
+ outline: 2px solid rgba(255, 255, 255, 0.9);
3877
+ outline-offset: 2px;
3878
+ }
3879
+ .ScArtifaxSidebar_askAgentLabel {
3880
+ font-family: var(--font-family-font-family-body, "Inter", sans-serif);
3881
+ font-size: 0.75rem;
3882
+ font-weight: 600;
3883
+ line-height: 1.125rem;
3884
+ color: #f5f5f5;
3885
+ white-space: nowrap;
3886
+ }
3887
+ .ScArtifaxSidebar_askAgentIcon {
3888
+ display: inline-flex;
3889
+ align-items: center;
3890
+ justify-content: center;
3891
+ flex-shrink: 0;
3892
+ color: #f5f5f5;
3893
+ }
3894
+ .ScArtifaxSidebar_askAgentIcon :where(svg) {
3895
+ width: 1.25rem;
3896
+ height: 1.25rem;
3897
+ }
3829
3898
  .ScArtifaxSidebar_footerToggle {
3830
3899
  display: flex;
3831
3900
  align-items: center;
@@ -3917,6 +3986,20 @@
3917
3986
  align-items: center;
3918
3987
  justify-content: space-between;
3919
3988
  width: 100%;
3989
+ position: relative;
3990
+ }
3991
+ .ScGuide_stepIndicator {
3992
+ position: absolute;
3993
+ left: 50%;
3994
+ top: 50%;
3995
+ transform: translate(-50%, -50%);
3996
+ pointer-events: none;
3997
+ font-family: var(--font-family-font-family-body, "Inter", sans-serif);
3998
+ font-size: var(--font-size-font-size-sm, 0.875rem);
3999
+ font-weight: 400;
4000
+ line-height: var(--line-height-line-height-sm, 1.25rem);
4001
+ color: var(--alias-text-and-icons-tertiary, #9e9e9e);
4002
+ white-space: nowrap;
3920
4003
  }
3921
4004
  .ScGuide_skipButton {
3922
4005
  background: transparent;
package/dist/index.d.mts CHANGED
@@ -355,6 +355,20 @@ interface ArtifaxSidebarCreditWarning {
355
355
  level?: "warning" | "danger";
356
356
  onBuyCredits: () => void;
357
357
  }
358
+ interface ArtifaxSidebarAssistantCta {
359
+ /** CTA label, e.g. "Ask CXO". Shown in the expanded rail; hidden when
360
+ * collapsed (the icon becomes the only visible content). */
361
+ label: string;
362
+ /** Leading icon. Rendered in both states; it is the sole content of the
363
+ * collapsed square, so always supply one for collapsed use. */
364
+ icon?: ReactNode;
365
+ /** Pressed/active styling — e.g. while the panel this opens is visible.
366
+ * Surfaced as `aria-pressed`. */
367
+ active?: boolean;
368
+ /** Accessible name; falls back to `label`. */
369
+ ariaLabel?: string;
370
+ onClick: () => void;
371
+ }
358
372
  interface IScArtifaxSidebarProps {
359
373
  expanded: boolean;
360
374
  onToggle: () => void;
@@ -365,6 +379,10 @@ interface IScArtifaxSidebarProps {
365
379
  expandedLogo?: ReactNode;
366
380
  collapsedLogo?: ReactNode;
367
381
  creditWarning?: ArtifaxSidebarCreditWarning | null;
382
+ /** Gradient call-to-action above the profile row (e.g. "Ask CXO"). Omit to
383
+ * hide it. Rendered in both expanded (icon + label pill) and collapsed
384
+ * (icon-only square) states. */
385
+ assistantCta?: ArtifaxSidebarAssistantCta | null;
368
386
  profile?: ArtifaxSidebarProfile;
369
387
  toggleIcon?: ReactNode | ((expanded: boolean) => ReactNode);
370
388
  openSections?: Record<string, boolean>;
@@ -372,7 +390,7 @@ interface IScArtifaxSidebarProps {
372
390
  className?: string;
373
391
  style?: CSSProperties;
374
392
  }
375
- declare const ScArtifaxSidebar: ({ expanded, onToggle, sections, iconMap, activeItemId, onItemSelect, expandedLogo, collapsedLogo, creditWarning, profile, toggleIcon, openSections, onSectionToggle, className, style, }: IScArtifaxSidebarProps) => JSX.Element;
393
+ declare const ScArtifaxSidebar: ({ expanded, onToggle, sections, iconMap, activeItemId, onItemSelect, expandedLogo, collapsedLogo, creditWarning, assistantCta, profile, toggleIcon, openSections, onSectionToggle, className, style, }: IScArtifaxSidebarProps) => JSX.Element;
376
394
 
377
395
  interface IScGuideProps {
378
396
  /** Heading text. */
@@ -386,6 +404,9 @@ interface IScGuideProps {
386
404
  /** Icon rendered after the Next label. Defaults to a right-chevron.
387
405
  * Use for terminal steps where the action is "Done" + checkmark, etc. */
388
406
  nextIcon?: ReactNode;
407
+ /** Centered step indicator shown between Skip and Next (e.g. "1 of 3").
408
+ * Hidden when omitted. */
409
+ stepLabel?: ReactNode;
389
410
  /** Click handler for the Skip action. */
390
411
  onSkip?: () => void;
391
412
  /** Click handler for the Next action. */
@@ -399,7 +420,7 @@ interface IScGuideProps {
399
420
  className?: string;
400
421
  style?: CSSProperties;
401
422
  }
402
- declare const ScGuide: ({ title, description, skipLabel, nextLabel, nextIcon, onSkip, onNext, hideSkip, hideNext, disabled, className, style, }: IScGuideProps) => JSX.Element;
423
+ declare const ScGuide: ({ title, description, skipLabel, nextLabel, nextIcon, stepLabel, onSkip, onNext, hideSkip, hideNext, disabled, className, style, }: IScGuideProps) => JSX.Element;
403
424
 
404
425
  interface IScSideBarLogoUnitProps {
405
426
  /** "expanded" renders the merged wordmark + switcher row.
@@ -1055,4 +1076,4 @@ interface IScPlanDetailsCardMobileProps extends React.HTMLAttributes<HTMLDivElem
1055
1076
  }
1056
1077
  declare const ScPlanDetailsCardMobile: ({ planName, planCredits, planPrice, badgeText, currentPlanLabel, upgradeButtonText, onUpgrade, className, ...props }: IScPlanDetailsCardMobileProps) => JSX.Element;
1057
1078
 
1058
- export { type ArtifaxMenuItem, type ArtifaxSection, type ArtifaxSidebarCreditWarning, type ArtifaxSidebarIconContext, type ArtifaxSidebarIconMap, type ArtifaxSidebarIconRenderer, type ArtifaxSidebarProfile, CreditWarningBanner, type CreditWarningBannerProps, type IInvoiceHistoryMobileProps, type IScAccessProps, type IScAppCardProps, type IScAppCardV3Props, type IScAppFieldProps, type IScAppListingCardProps, type IScArtifaxInviteProps, type IScArtifaxSidebarProps, type IScBadgesProps, type IScBillingHistoryHeaderProps, type IScBillingHistoryTableListProps, type IScBillingLogsTableHeaderProps, type IScBillingLogsTableListProps, type IScBriefCardProps, type IScButtonProps, type IScCalendarDateCompsProps, type IScCalendarProps, type IScCatalogixInviteProps, type IScCheckFieldProps, type IScCheckboxProps, type IScCreditsUsageCardMobileProps, type IScCreditsUsageCardProps, type IScFieldButtonProps, type IScGoogleSignInProps, type IScGuideProps, type IScHDividerProps, type IScHeaderProps, type IScImageFieldProps, type IScIntialProfileCoverProps, type IScLogoUnitProps, type IScMenuOptionsProps, type IScMobileBottomActionProps, type IScMobileTopNavProps, type IScOnlyFieldProps, type IScOnlyIconProps, type IScPairtextProps, type IScPendingActionProps, type IScPhtogenixInviteProps, type IScPlanCardProps, type IScPlanDetailsCardMobileProps, type IScPlanDetailsCardProps, type IScPopUpMenuProps, type IScProfileImageUpdateProps, type IScProfileOptionsProps, type IScProfileProps, type IScProfileSettingsCompProps, type IScProfileV2MobileProps, type IScProgressBarProps, type IScQuickPromptProps, type IScRadioProps, type IScReferralCardMobileProps, type IScReferralTableHeaderProps, type IScReferralTableListProps, type IScRoleMobileProps, type IScRoleProps, type IScSettingsNavProps, type IScSettingsTabCompProps, type IScSideBarLogoUnitProps, type IScSidebarIconsProps, type IScSidebarMenuProps, type IScSidebarProfileProps, type IScSidebarProps, type IScSliderProps, type IScStrLogoProps, type IScTabCompProps, type IScTabFieldProps, type IScTabSwitcherProps, type IScTableHeaderProps, type IScTableListMobileProps, type IScTableListProps, type IScTextFieldProps, type IScToggleSwitchProps, type IScVDividerProps, type IScVersionProps, type IScWorkspaceCardProps, type IScWorkspaceSettingsMobileProps, type IScWorkspaceSwitchMobileProps, type IScWorkspaceSwitchMobileV2Props, type IUsageHistoryMobileProps, InvoiceHistoryMobile, NscWorkspaceSwitch, type PlanFeatureSection, ScAccess, ScAppCard, ScAppCardV3, ScAppField, ScAppListingCard, ScArtifaxInvite, ScArtifaxSidebar, ScBadges, ScBillingHistoryHeader, ScBillingHistoryTableList, ScBillingLogsTableHeader, ScBillingLogsTableList, ScBriefCard, ScButton, ScCalendar, ScCalendarDateComps, ScCatalogixInvite, ScCheckField, ScCheckbox, ScCreditsUsageCard, ScCreditsUsageCardMobile, ScDp, type ScDpProps, ScFieldButton, ScGoogleSignIn, ScGuide, ScHDivider, ScHeader, ScImageField, ScIntialProfileCover, ScLogoUnit, ScMenuOptions, ScMobileBottomAction, ScMobileTopNav, ScOnlyField, ScOnlyIcon, ScPairtext, ScPendingAction, ScPhtogenixInvite, ScPlanCard, ScPlanDetailsCard, ScPlanDetailsCardMobile, ScPopUpMenu, ScProfile, ScProfileImageUpdate, ScProfileOptions, ScProfileSettingsComp, ScProfileV2Mobile, ScProgressBar, ScQuickPrompt, ScRadio, ScReferralCardMobile, ScReferralTableHeader, ScReferralTableList, ScRole, ScRoleMobile, ScSettingsNav, ScSettingsTabComp, ScSideBarLogoUnit, ScSidebar, ScSidebarIcons, ScSidebarMenu, ScSidebarProfile, ScSlider, ScStrLogo, ScTabComp, ScTabField, ScTabSwitcher, ScTableHeader, ScTableList, ScTableListMobile, ScTextField, ScToggleSwitch, ScVDivider, ScVersion, ScWorkspaceCard, ScWorkspaceSettingsMobile, ScWorkspaceSwitchCard, type ScWorkspaceSwitchCardProps, ScWorkspaceSwitchMobile, ScWorkspaceSwitchMobileV2, type SidebarConfig, type SidebarIconContext, type SidebarIconMap, type SidebarIconRenderer, type SidebarMenuItemConfig, type SidebarProfileConfig, type SidebarSectionConfig, StreamoidSidebar, type StreamoidSidebarProps, StreamoidWorkspaceSwitcher, type StreamoidWorkspaceSwitcherProps, UsageHistoryMobile, type WorkspaceSwitcherConfig, type WorkspaceSwitcherItem };
1079
+ export { type ArtifaxMenuItem, type ArtifaxSection, type ArtifaxSidebarAssistantCta, type ArtifaxSidebarCreditWarning, type ArtifaxSidebarIconContext, type ArtifaxSidebarIconMap, type ArtifaxSidebarIconRenderer, type ArtifaxSidebarProfile, CreditWarningBanner, type CreditWarningBannerProps, type IInvoiceHistoryMobileProps, type IScAccessProps, type IScAppCardProps, type IScAppCardV3Props, type IScAppFieldProps, type IScAppListingCardProps, type IScArtifaxInviteProps, type IScArtifaxSidebarProps, type IScBadgesProps, type IScBillingHistoryHeaderProps, type IScBillingHistoryTableListProps, type IScBillingLogsTableHeaderProps, type IScBillingLogsTableListProps, type IScBriefCardProps, type IScButtonProps, type IScCalendarDateCompsProps, type IScCalendarProps, type IScCatalogixInviteProps, type IScCheckFieldProps, type IScCheckboxProps, type IScCreditsUsageCardMobileProps, type IScCreditsUsageCardProps, type IScFieldButtonProps, type IScGoogleSignInProps, type IScGuideProps, type IScHDividerProps, type IScHeaderProps, type IScImageFieldProps, type IScIntialProfileCoverProps, type IScLogoUnitProps, type IScMenuOptionsProps, type IScMobileBottomActionProps, type IScMobileTopNavProps, type IScOnlyFieldProps, type IScOnlyIconProps, type IScPairtextProps, type IScPendingActionProps, type IScPhtogenixInviteProps, type IScPlanCardProps, type IScPlanDetailsCardMobileProps, type IScPlanDetailsCardProps, type IScPopUpMenuProps, type IScProfileImageUpdateProps, type IScProfileOptionsProps, type IScProfileProps, type IScProfileSettingsCompProps, type IScProfileV2MobileProps, type IScProgressBarProps, type IScQuickPromptProps, type IScRadioProps, type IScReferralCardMobileProps, type IScReferralTableHeaderProps, type IScReferralTableListProps, type IScRoleMobileProps, type IScRoleProps, type IScSettingsNavProps, type IScSettingsTabCompProps, type IScSideBarLogoUnitProps, type IScSidebarIconsProps, type IScSidebarMenuProps, type IScSidebarProfileProps, type IScSidebarProps, type IScSliderProps, type IScStrLogoProps, type IScTabCompProps, type IScTabFieldProps, type IScTabSwitcherProps, type IScTableHeaderProps, type IScTableListMobileProps, type IScTableListProps, type IScTextFieldProps, type IScToggleSwitchProps, type IScVDividerProps, type IScVersionProps, type IScWorkspaceCardProps, type IScWorkspaceSettingsMobileProps, type IScWorkspaceSwitchMobileProps, type IScWorkspaceSwitchMobileV2Props, type IUsageHistoryMobileProps, InvoiceHistoryMobile, NscWorkspaceSwitch, type PlanFeatureSection, ScAccess, ScAppCard, ScAppCardV3, ScAppField, ScAppListingCard, ScArtifaxInvite, ScArtifaxSidebar, ScBadges, ScBillingHistoryHeader, ScBillingHistoryTableList, ScBillingLogsTableHeader, ScBillingLogsTableList, ScBriefCard, ScButton, ScCalendar, ScCalendarDateComps, ScCatalogixInvite, ScCheckField, ScCheckbox, ScCreditsUsageCard, ScCreditsUsageCardMobile, ScDp, type ScDpProps, ScFieldButton, ScGoogleSignIn, ScGuide, ScHDivider, ScHeader, ScImageField, ScIntialProfileCover, ScLogoUnit, ScMenuOptions, ScMobileBottomAction, ScMobileTopNav, ScOnlyField, ScOnlyIcon, ScPairtext, ScPendingAction, ScPhtogenixInvite, ScPlanCard, ScPlanDetailsCard, ScPlanDetailsCardMobile, ScPopUpMenu, ScProfile, ScProfileImageUpdate, ScProfileOptions, ScProfileSettingsComp, ScProfileV2Mobile, ScProgressBar, ScQuickPrompt, ScRadio, ScReferralCardMobile, ScReferralTableHeader, ScReferralTableList, ScRole, ScRoleMobile, ScSettingsNav, ScSettingsTabComp, ScSideBarLogoUnit, ScSidebar, ScSidebarIcons, ScSidebarMenu, ScSidebarProfile, ScSlider, ScStrLogo, ScTabComp, ScTabField, ScTabSwitcher, ScTableHeader, ScTableList, ScTableListMobile, ScTextField, ScToggleSwitch, ScVDivider, ScVersion, ScWorkspaceCard, ScWorkspaceSettingsMobile, ScWorkspaceSwitchCard, type ScWorkspaceSwitchCardProps, ScWorkspaceSwitchMobile, ScWorkspaceSwitchMobileV2, type SidebarConfig, type SidebarIconContext, type SidebarIconMap, type SidebarIconRenderer, type SidebarMenuItemConfig, type SidebarProfileConfig, type SidebarSectionConfig, StreamoidSidebar, type StreamoidSidebarProps, StreamoidWorkspaceSwitcher, type StreamoidWorkspaceSwitcherProps, UsageHistoryMobile, type WorkspaceSwitcherConfig, type WorkspaceSwitcherItem };
package/dist/index.d.ts CHANGED
@@ -355,6 +355,20 @@ interface ArtifaxSidebarCreditWarning {
355
355
  level?: "warning" | "danger";
356
356
  onBuyCredits: () => void;
357
357
  }
358
+ interface ArtifaxSidebarAssistantCta {
359
+ /** CTA label, e.g. "Ask CXO". Shown in the expanded rail; hidden when
360
+ * collapsed (the icon becomes the only visible content). */
361
+ label: string;
362
+ /** Leading icon. Rendered in both states; it is the sole content of the
363
+ * collapsed square, so always supply one for collapsed use. */
364
+ icon?: ReactNode;
365
+ /** Pressed/active styling — e.g. while the panel this opens is visible.
366
+ * Surfaced as `aria-pressed`. */
367
+ active?: boolean;
368
+ /** Accessible name; falls back to `label`. */
369
+ ariaLabel?: string;
370
+ onClick: () => void;
371
+ }
358
372
  interface IScArtifaxSidebarProps {
359
373
  expanded: boolean;
360
374
  onToggle: () => void;
@@ -365,6 +379,10 @@ interface IScArtifaxSidebarProps {
365
379
  expandedLogo?: ReactNode;
366
380
  collapsedLogo?: ReactNode;
367
381
  creditWarning?: ArtifaxSidebarCreditWarning | null;
382
+ /** Gradient call-to-action above the profile row (e.g. "Ask CXO"). Omit to
383
+ * hide it. Rendered in both expanded (icon + label pill) and collapsed
384
+ * (icon-only square) states. */
385
+ assistantCta?: ArtifaxSidebarAssistantCta | null;
368
386
  profile?: ArtifaxSidebarProfile;
369
387
  toggleIcon?: ReactNode | ((expanded: boolean) => ReactNode);
370
388
  openSections?: Record<string, boolean>;
@@ -372,7 +390,7 @@ interface IScArtifaxSidebarProps {
372
390
  className?: string;
373
391
  style?: CSSProperties;
374
392
  }
375
- declare const ScArtifaxSidebar: ({ expanded, onToggle, sections, iconMap, activeItemId, onItemSelect, expandedLogo, collapsedLogo, creditWarning, profile, toggleIcon, openSections, onSectionToggle, className, style, }: IScArtifaxSidebarProps) => JSX.Element;
393
+ declare const ScArtifaxSidebar: ({ expanded, onToggle, sections, iconMap, activeItemId, onItemSelect, expandedLogo, collapsedLogo, creditWarning, assistantCta, profile, toggleIcon, openSections, onSectionToggle, className, style, }: IScArtifaxSidebarProps) => JSX.Element;
376
394
 
377
395
  interface IScGuideProps {
378
396
  /** Heading text. */
@@ -386,6 +404,9 @@ interface IScGuideProps {
386
404
  /** Icon rendered after the Next label. Defaults to a right-chevron.
387
405
  * Use for terminal steps where the action is "Done" + checkmark, etc. */
388
406
  nextIcon?: ReactNode;
407
+ /** Centered step indicator shown between Skip and Next (e.g. "1 of 3").
408
+ * Hidden when omitted. */
409
+ stepLabel?: ReactNode;
389
410
  /** Click handler for the Skip action. */
390
411
  onSkip?: () => void;
391
412
  /** Click handler for the Next action. */
@@ -399,7 +420,7 @@ interface IScGuideProps {
399
420
  className?: string;
400
421
  style?: CSSProperties;
401
422
  }
402
- declare const ScGuide: ({ title, description, skipLabel, nextLabel, nextIcon, onSkip, onNext, hideSkip, hideNext, disabled, className, style, }: IScGuideProps) => JSX.Element;
423
+ declare const ScGuide: ({ title, description, skipLabel, nextLabel, nextIcon, stepLabel, onSkip, onNext, hideSkip, hideNext, disabled, className, style, }: IScGuideProps) => JSX.Element;
403
424
 
404
425
  interface IScSideBarLogoUnitProps {
405
426
  /** "expanded" renders the merged wordmark + switcher row.
@@ -1055,4 +1076,4 @@ interface IScPlanDetailsCardMobileProps extends React.HTMLAttributes<HTMLDivElem
1055
1076
  }
1056
1077
  declare const ScPlanDetailsCardMobile: ({ planName, planCredits, planPrice, badgeText, currentPlanLabel, upgradeButtonText, onUpgrade, className, ...props }: IScPlanDetailsCardMobileProps) => JSX.Element;
1057
1078
 
1058
- export { type ArtifaxMenuItem, type ArtifaxSection, type ArtifaxSidebarCreditWarning, type ArtifaxSidebarIconContext, type ArtifaxSidebarIconMap, type ArtifaxSidebarIconRenderer, type ArtifaxSidebarProfile, CreditWarningBanner, type CreditWarningBannerProps, type IInvoiceHistoryMobileProps, type IScAccessProps, type IScAppCardProps, type IScAppCardV3Props, type IScAppFieldProps, type IScAppListingCardProps, type IScArtifaxInviteProps, type IScArtifaxSidebarProps, type IScBadgesProps, type IScBillingHistoryHeaderProps, type IScBillingHistoryTableListProps, type IScBillingLogsTableHeaderProps, type IScBillingLogsTableListProps, type IScBriefCardProps, type IScButtonProps, type IScCalendarDateCompsProps, type IScCalendarProps, type IScCatalogixInviteProps, type IScCheckFieldProps, type IScCheckboxProps, type IScCreditsUsageCardMobileProps, type IScCreditsUsageCardProps, type IScFieldButtonProps, type IScGoogleSignInProps, type IScGuideProps, type IScHDividerProps, type IScHeaderProps, type IScImageFieldProps, type IScIntialProfileCoverProps, type IScLogoUnitProps, type IScMenuOptionsProps, type IScMobileBottomActionProps, type IScMobileTopNavProps, type IScOnlyFieldProps, type IScOnlyIconProps, type IScPairtextProps, type IScPendingActionProps, type IScPhtogenixInviteProps, type IScPlanCardProps, type IScPlanDetailsCardMobileProps, type IScPlanDetailsCardProps, type IScPopUpMenuProps, type IScProfileImageUpdateProps, type IScProfileOptionsProps, type IScProfileProps, type IScProfileSettingsCompProps, type IScProfileV2MobileProps, type IScProgressBarProps, type IScQuickPromptProps, type IScRadioProps, type IScReferralCardMobileProps, type IScReferralTableHeaderProps, type IScReferralTableListProps, type IScRoleMobileProps, type IScRoleProps, type IScSettingsNavProps, type IScSettingsTabCompProps, type IScSideBarLogoUnitProps, type IScSidebarIconsProps, type IScSidebarMenuProps, type IScSidebarProfileProps, type IScSidebarProps, type IScSliderProps, type IScStrLogoProps, type IScTabCompProps, type IScTabFieldProps, type IScTabSwitcherProps, type IScTableHeaderProps, type IScTableListMobileProps, type IScTableListProps, type IScTextFieldProps, type IScToggleSwitchProps, type IScVDividerProps, type IScVersionProps, type IScWorkspaceCardProps, type IScWorkspaceSettingsMobileProps, type IScWorkspaceSwitchMobileProps, type IScWorkspaceSwitchMobileV2Props, type IUsageHistoryMobileProps, InvoiceHistoryMobile, NscWorkspaceSwitch, type PlanFeatureSection, ScAccess, ScAppCard, ScAppCardV3, ScAppField, ScAppListingCard, ScArtifaxInvite, ScArtifaxSidebar, ScBadges, ScBillingHistoryHeader, ScBillingHistoryTableList, ScBillingLogsTableHeader, ScBillingLogsTableList, ScBriefCard, ScButton, ScCalendar, ScCalendarDateComps, ScCatalogixInvite, ScCheckField, ScCheckbox, ScCreditsUsageCard, ScCreditsUsageCardMobile, ScDp, type ScDpProps, ScFieldButton, ScGoogleSignIn, ScGuide, ScHDivider, ScHeader, ScImageField, ScIntialProfileCover, ScLogoUnit, ScMenuOptions, ScMobileBottomAction, ScMobileTopNav, ScOnlyField, ScOnlyIcon, ScPairtext, ScPendingAction, ScPhtogenixInvite, ScPlanCard, ScPlanDetailsCard, ScPlanDetailsCardMobile, ScPopUpMenu, ScProfile, ScProfileImageUpdate, ScProfileOptions, ScProfileSettingsComp, ScProfileV2Mobile, ScProgressBar, ScQuickPrompt, ScRadio, ScReferralCardMobile, ScReferralTableHeader, ScReferralTableList, ScRole, ScRoleMobile, ScSettingsNav, ScSettingsTabComp, ScSideBarLogoUnit, ScSidebar, ScSidebarIcons, ScSidebarMenu, ScSidebarProfile, ScSlider, ScStrLogo, ScTabComp, ScTabField, ScTabSwitcher, ScTableHeader, ScTableList, ScTableListMobile, ScTextField, ScToggleSwitch, ScVDivider, ScVersion, ScWorkspaceCard, ScWorkspaceSettingsMobile, ScWorkspaceSwitchCard, type ScWorkspaceSwitchCardProps, ScWorkspaceSwitchMobile, ScWorkspaceSwitchMobileV2, type SidebarConfig, type SidebarIconContext, type SidebarIconMap, type SidebarIconRenderer, type SidebarMenuItemConfig, type SidebarProfileConfig, type SidebarSectionConfig, StreamoidSidebar, type StreamoidSidebarProps, StreamoidWorkspaceSwitcher, type StreamoidWorkspaceSwitcherProps, UsageHistoryMobile, type WorkspaceSwitcherConfig, type WorkspaceSwitcherItem };
1079
+ export { type ArtifaxMenuItem, type ArtifaxSection, type ArtifaxSidebarAssistantCta, type ArtifaxSidebarCreditWarning, type ArtifaxSidebarIconContext, type ArtifaxSidebarIconMap, type ArtifaxSidebarIconRenderer, type ArtifaxSidebarProfile, CreditWarningBanner, type CreditWarningBannerProps, type IInvoiceHistoryMobileProps, type IScAccessProps, type IScAppCardProps, type IScAppCardV3Props, type IScAppFieldProps, type IScAppListingCardProps, type IScArtifaxInviteProps, type IScArtifaxSidebarProps, type IScBadgesProps, type IScBillingHistoryHeaderProps, type IScBillingHistoryTableListProps, type IScBillingLogsTableHeaderProps, type IScBillingLogsTableListProps, type IScBriefCardProps, type IScButtonProps, type IScCalendarDateCompsProps, type IScCalendarProps, type IScCatalogixInviteProps, type IScCheckFieldProps, type IScCheckboxProps, type IScCreditsUsageCardMobileProps, type IScCreditsUsageCardProps, type IScFieldButtonProps, type IScGoogleSignInProps, type IScGuideProps, type IScHDividerProps, type IScHeaderProps, type IScImageFieldProps, type IScIntialProfileCoverProps, type IScLogoUnitProps, type IScMenuOptionsProps, type IScMobileBottomActionProps, type IScMobileTopNavProps, type IScOnlyFieldProps, type IScOnlyIconProps, type IScPairtextProps, type IScPendingActionProps, type IScPhtogenixInviteProps, type IScPlanCardProps, type IScPlanDetailsCardMobileProps, type IScPlanDetailsCardProps, type IScPopUpMenuProps, type IScProfileImageUpdateProps, type IScProfileOptionsProps, type IScProfileProps, type IScProfileSettingsCompProps, type IScProfileV2MobileProps, type IScProgressBarProps, type IScQuickPromptProps, type IScRadioProps, type IScReferralCardMobileProps, type IScReferralTableHeaderProps, type IScReferralTableListProps, type IScRoleMobileProps, type IScRoleProps, type IScSettingsNavProps, type IScSettingsTabCompProps, type IScSideBarLogoUnitProps, type IScSidebarIconsProps, type IScSidebarMenuProps, type IScSidebarProfileProps, type IScSidebarProps, type IScSliderProps, type IScStrLogoProps, type IScTabCompProps, type IScTabFieldProps, type IScTabSwitcherProps, type IScTableHeaderProps, type IScTableListMobileProps, type IScTableListProps, type IScTextFieldProps, type IScToggleSwitchProps, type IScVDividerProps, type IScVersionProps, type IScWorkspaceCardProps, type IScWorkspaceSettingsMobileProps, type IScWorkspaceSwitchMobileProps, type IScWorkspaceSwitchMobileV2Props, type IUsageHistoryMobileProps, InvoiceHistoryMobile, NscWorkspaceSwitch, type PlanFeatureSection, ScAccess, ScAppCard, ScAppCardV3, ScAppField, ScAppListingCard, ScArtifaxInvite, ScArtifaxSidebar, ScBadges, ScBillingHistoryHeader, ScBillingHistoryTableList, ScBillingLogsTableHeader, ScBillingLogsTableList, ScBriefCard, ScButton, ScCalendar, ScCalendarDateComps, ScCatalogixInvite, ScCheckField, ScCheckbox, ScCreditsUsageCard, ScCreditsUsageCardMobile, ScDp, type ScDpProps, ScFieldButton, ScGoogleSignIn, ScGuide, ScHDivider, ScHeader, ScImageField, ScIntialProfileCover, ScLogoUnit, ScMenuOptions, ScMobileBottomAction, ScMobileTopNav, ScOnlyField, ScOnlyIcon, ScPairtext, ScPendingAction, ScPhtogenixInvite, ScPlanCard, ScPlanDetailsCard, ScPlanDetailsCardMobile, ScPopUpMenu, ScProfile, ScProfileImageUpdate, ScProfileOptions, ScProfileSettingsComp, ScProfileV2Mobile, ScProgressBar, ScQuickPrompt, ScRadio, ScReferralCardMobile, ScReferralTableHeader, ScReferralTableList, ScRole, ScRoleMobile, ScSettingsNav, ScSettingsTabComp, ScSideBarLogoUnit, ScSidebar, ScSidebarIcons, ScSidebarMenu, ScSidebarProfile, ScSlider, ScStrLogo, ScTabComp, ScTabField, ScTabSwitcher, ScTableHeader, ScTableList, ScTableListMobile, ScTextField, ScToggleSwitch, ScVDivider, ScVersion, ScWorkspaceCard, ScWorkspaceSettingsMobile, ScWorkspaceSwitchCard, type ScWorkspaceSwitchCardProps, ScWorkspaceSwitchMobile, ScWorkspaceSwitchMobileV2, type SidebarConfig, type SidebarIconContext, type SidebarIconMap, type SidebarIconRenderer, type SidebarMenuItemConfig, type SidebarProfileConfig, type SidebarSectionConfig, StreamoidSidebar, type StreamoidSidebarProps, StreamoidWorkspaceSwitcher, type StreamoidWorkspaceSwitcherProps, UsageHistoryMobile, type WorkspaceSwitcherConfig, type WorkspaceSwitcherItem };
package/dist/index.js CHANGED
@@ -3375,6 +3375,13 @@ var ScArtifaxSidebar_default = {
3375
3375
  profileName: "ScArtifaxSidebar_profileName",
3376
3376
  profileSubtitle: "ScArtifaxSidebar_profileSubtitle",
3377
3377
  creditWarningSlot: "ScArtifaxSidebar_creditWarningSlot",
3378
+ askAgentSlot: "ScArtifaxSidebar_askAgentSlot",
3379
+ askAgentSlotCollapsed: "ScArtifaxSidebar_askAgentSlotCollapsed",
3380
+ askAgent: "ScArtifaxSidebar_askAgent",
3381
+ askAgentCollapsed: "ScArtifaxSidebar_askAgentCollapsed",
3382
+ askAgentActive: "ScArtifaxSidebar_askAgentActive",
3383
+ askAgentLabel: "ScArtifaxSidebar_askAgentLabel",
3384
+ askAgentIcon: "ScArtifaxSidebar_askAgentIcon",
3378
3385
  footerToggle: "ScArtifaxSidebar_footerToggle",
3379
3386
  footerCollapsed: "ScArtifaxSidebar_footerCollapsed",
3380
3387
  placeholderIcon: "ScArtifaxSidebar_placeholderIcon"
@@ -3422,6 +3429,26 @@ function SectionHeader2({
3422
3429
  }
3423
3430
  );
3424
3431
  }
3432
+ function AskAgentButton({
3433
+ cta,
3434
+ collapsed
3435
+ }) {
3436
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
3437
+ "button",
3438
+ {
3439
+ type: "button",
3440
+ className: (collapsed ? ScArtifaxSidebar_default.askAgentCollapsed : ScArtifaxSidebar_default.askAgent) + (cta.active ? " " + ScArtifaxSidebar_default.askAgentActive : ""),
3441
+ onClick: cta.onClick,
3442
+ "aria-pressed": cta.active ?? void 0,
3443
+ "aria-label": cta.ariaLabel ?? cta.label,
3444
+ title: cta.ariaLabel ?? cta.label,
3445
+ children: [
3446
+ cta.icon ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: ScArtifaxSidebar_default.askAgentIcon, children: cta.icon }) : null,
3447
+ !collapsed ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: ScArtifaxSidebar_default.askAgentLabel, children: cta.label }) : null
3448
+ ]
3449
+ }
3450
+ );
3451
+ }
3425
3452
  var ScArtifaxSidebar = ({
3426
3453
  expanded,
3427
3454
  onToggle,
@@ -3432,6 +3459,7 @@ var ScArtifaxSidebar = ({
3432
3459
  expandedLogo,
3433
3460
  collapsedLogo,
3434
3461
  creditWarning,
3462
+ assistantCta,
3435
3463
  profile,
3436
3464
  toggleIcon,
3437
3465
  openSections,
@@ -3520,6 +3548,7 @@ var ScArtifaxSidebar = ({
3520
3548
  expanded: true
3521
3549
  }
3522
3550
  ) }) : null,
3551
+ assistantCta ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: ScArtifaxSidebar_default.askAgentSlot, children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(AskAgentButton, { cta: assistantCta, collapsed: false }) }) : null,
3523
3552
  /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(ScHDivider, {}),
3524
3553
  /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: ScArtifaxSidebar_default.profileRow, children: [
3525
3554
  profile ? /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
@@ -3576,6 +3605,7 @@ var ScArtifaxSidebar = ({
3576
3605
  expanded: false
3577
3606
  }
3578
3607
  ) }) : null,
3608
+ assistantCta ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: ScArtifaxSidebar_default.askAgentSlotCollapsed, children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(AskAgentButton, { cta: assistantCta, collapsed: true }) }) : null,
3579
3609
  /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(ScHDivider, {}),
3580
3610
  /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: ScArtifaxSidebar_default.footerCollapsed, children: [
3581
3611
  profile ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
@@ -3611,6 +3641,7 @@ var ScGuide_default = {
3611
3641
  title: "ScGuide_title",
3612
3642
  description: "ScGuide_description",
3613
3643
  actions: "ScGuide_actions",
3644
+ stepIndicator: "ScGuide_stepIndicator",
3614
3645
  skipButton: "ScGuide_skipButton",
3615
3646
  skipSpacer: "ScGuide_skipSpacer",
3616
3647
  nextButton: "ScGuide_nextButton",
@@ -3627,6 +3658,7 @@ var ScGuide = ({
3627
3658
  skipLabel = "Skip",
3628
3659
  nextLabel = "Next",
3629
3660
  nextIcon,
3661
+ stepLabel,
3630
3662
  onSkip,
3631
3663
  onNext,
3632
3664
  hideSkip = false,
@@ -3657,6 +3689,7 @@ var ScGuide = ({
3657
3689
  children: skipLabel
3658
3690
  }
3659
3691
  ),
3692
+ stepLabel != null && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { className: ScGuide_default.stepIndicator, children: stepLabel }),
3660
3693
  !hideNext && /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
3661
3694
  "button",
3662
3695
  {
package/dist/index.mjs CHANGED
@@ -3268,6 +3268,13 @@ var ScArtifaxSidebar_default = {
3268
3268
  profileName: "ScArtifaxSidebar_profileName",
3269
3269
  profileSubtitle: "ScArtifaxSidebar_profileSubtitle",
3270
3270
  creditWarningSlot: "ScArtifaxSidebar_creditWarningSlot",
3271
+ askAgentSlot: "ScArtifaxSidebar_askAgentSlot",
3272
+ askAgentSlotCollapsed: "ScArtifaxSidebar_askAgentSlotCollapsed",
3273
+ askAgent: "ScArtifaxSidebar_askAgent",
3274
+ askAgentCollapsed: "ScArtifaxSidebar_askAgentCollapsed",
3275
+ askAgentActive: "ScArtifaxSidebar_askAgentActive",
3276
+ askAgentLabel: "ScArtifaxSidebar_askAgentLabel",
3277
+ askAgentIcon: "ScArtifaxSidebar_askAgentIcon",
3271
3278
  footerToggle: "ScArtifaxSidebar_footerToggle",
3272
3279
  footerCollapsed: "ScArtifaxSidebar_footerCollapsed",
3273
3280
  placeholderIcon: "ScArtifaxSidebar_placeholderIcon"
@@ -3315,6 +3322,26 @@ function SectionHeader2({
3315
3322
  }
3316
3323
  );
3317
3324
  }
3325
+ function AskAgentButton({
3326
+ cta,
3327
+ collapsed
3328
+ }) {
3329
+ return /* @__PURE__ */ jsxs33(
3330
+ "button",
3331
+ {
3332
+ type: "button",
3333
+ className: (collapsed ? ScArtifaxSidebar_default.askAgentCollapsed : ScArtifaxSidebar_default.askAgent) + (cta.active ? " " + ScArtifaxSidebar_default.askAgentActive : ""),
3334
+ onClick: cta.onClick,
3335
+ "aria-pressed": cta.active ?? void 0,
3336
+ "aria-label": cta.ariaLabel ?? cta.label,
3337
+ title: cta.ariaLabel ?? cta.label,
3338
+ children: [
3339
+ cta.icon ? /* @__PURE__ */ jsx41("span", { className: ScArtifaxSidebar_default.askAgentIcon, children: cta.icon }) : null,
3340
+ !collapsed ? /* @__PURE__ */ jsx41("span", { className: ScArtifaxSidebar_default.askAgentLabel, children: cta.label }) : null
3341
+ ]
3342
+ }
3343
+ );
3344
+ }
3318
3345
  var ScArtifaxSidebar = ({
3319
3346
  expanded,
3320
3347
  onToggle,
@@ -3325,6 +3352,7 @@ var ScArtifaxSidebar = ({
3325
3352
  expandedLogo,
3326
3353
  collapsedLogo,
3327
3354
  creditWarning,
3355
+ assistantCta,
3328
3356
  profile,
3329
3357
  toggleIcon,
3330
3358
  openSections,
@@ -3413,6 +3441,7 @@ var ScArtifaxSidebar = ({
3413
3441
  expanded: true
3414
3442
  }
3415
3443
  ) }) : null,
3444
+ assistantCta ? /* @__PURE__ */ jsx41("div", { className: ScArtifaxSidebar_default.askAgentSlot, children: /* @__PURE__ */ jsx41(AskAgentButton, { cta: assistantCta, collapsed: false }) }) : null,
3416
3445
  /* @__PURE__ */ jsx41(ScHDivider, {}),
3417
3446
  /* @__PURE__ */ jsxs33("div", { className: ScArtifaxSidebar_default.profileRow, children: [
3418
3447
  profile ? /* @__PURE__ */ jsxs33(
@@ -3469,6 +3498,7 @@ var ScArtifaxSidebar = ({
3469
3498
  expanded: false
3470
3499
  }
3471
3500
  ) }) : null,
3501
+ assistantCta ? /* @__PURE__ */ jsx41("div", { className: ScArtifaxSidebar_default.askAgentSlotCollapsed, children: /* @__PURE__ */ jsx41(AskAgentButton, { cta: assistantCta, collapsed: true }) }) : null,
3472
3502
  /* @__PURE__ */ jsx41(ScHDivider, {}),
3473
3503
  /* @__PURE__ */ jsxs33("div", { className: ScArtifaxSidebar_default.footerCollapsed, children: [
3474
3504
  profile ? /* @__PURE__ */ jsx41(
@@ -3504,6 +3534,7 @@ var ScGuide_default = {
3504
3534
  title: "ScGuide_title",
3505
3535
  description: "ScGuide_description",
3506
3536
  actions: "ScGuide_actions",
3537
+ stepIndicator: "ScGuide_stepIndicator",
3507
3538
  skipButton: "ScGuide_skipButton",
3508
3539
  skipSpacer: "ScGuide_skipSpacer",
3509
3540
  nextButton: "ScGuide_nextButton",
@@ -3520,6 +3551,7 @@ var ScGuide = ({
3520
3551
  skipLabel = "Skip",
3521
3552
  nextLabel = "Next",
3522
3553
  nextIcon,
3554
+ stepLabel,
3523
3555
  onSkip,
3524
3556
  onNext,
3525
3557
  hideSkip = false,
@@ -3550,6 +3582,7 @@ var ScGuide = ({
3550
3582
  children: skipLabel
3551
3583
  }
3552
3584
  ),
3585
+ stepLabel != null && /* @__PURE__ */ jsx42("span", { className: ScGuide_default.stepIndicator, children: stepLabel }),
3553
3586
  !hideNext && /* @__PURE__ */ jsxs34(
3554
3587
  "button",
3555
3588
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamoid/ui",
3
- "version": "0.4.8",
3
+ "version": "0.5.0",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",