@streamoid/ui 0.2.7 → 0.3.1

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
@@ -2730,15 +2730,12 @@
2730
2730
  }
2731
2731
 
2732
2732
  /* src/SC-VDivider/ScVDivider.module.css */
2733
- .ScVDivider_scVDivider,
2734
- .ScVDivider_scVDivider * {
2735
- box-sizing: border-box;
2736
- }
2737
2733
  .ScVDivider_scVDivider {
2738
- width: 0rem;
2739
- height: 1.71875rem;
2740
- position: relative;
2741
- overflow: visible;
2734
+ box-sizing: border-box;
2735
+ width: 0;
2736
+ align-self: stretch;
2737
+ border-left: 0.5px solid var(--alias-border-divider, #242424);
2738
+ flex-shrink: 0;
2742
2739
  }
2743
2740
 
2744
2741
  /* src/SC-Profile options/ScProfileOptions.module.css */
@@ -3119,6 +3116,7 @@
3119
3116
  flex-shrink: 0;
3120
3117
  height: 3rem;
3121
3118
  position: relative;
3119
+ overflow: hidden;
3122
3120
  color: var(--alias-text-and-icons-muted, #7a7a7a);
3123
3121
  }
3124
3122
  .ScTextField_inputText {
@@ -3130,12 +3128,16 @@
3130
3128
  font-weight: var(--text-text-sm-regular-font-weight, 400);
3131
3129
  position: relative;
3132
3130
  flex: 1;
3131
+ min-width: 0;
3133
3132
  display: flex;
3134
3133
  align-items: center;
3135
3134
  justify-content: flex-start;
3136
3135
  background: transparent;
3137
3136
  outline: none;
3138
3137
  border: none;
3138
+ overflow: hidden;
3139
+ text-overflow: ellipsis;
3140
+ white-space: nowrap;
3139
3141
  }
3140
3142
  .ScTextField_scTextField.ScTextField_label-group-text .ScTextField_info {
3141
3143
  color: var(--alias-text-and-icons-muted, #7a7a7a);
@@ -3772,6 +3774,151 @@
3772
3774
  white-space: nowrap;
3773
3775
  }
3774
3776
 
3777
+ /* src/SC-AppCardV3/ScAppCardV3.module.css */
3778
+ .ScAppCardV3_scAppCardV3,
3779
+ .ScAppCardV3_scAppCardV3 * {
3780
+ box-sizing: border-box;
3781
+ }
3782
+ .ScAppCardV3_cardBorder {
3783
+ padding: 1px;
3784
+ border-radius: var(--radius-3xl, 1rem);
3785
+ background: var(--alias-border-subtle, #242424);
3786
+ transition: background 0.6s ease;
3787
+ }
3788
+ .ScAppCardV3_cardBorder:hover {
3789
+ background:
3790
+ linear-gradient(
3791
+ 135deg,
3792
+ var(--alias-border-subtle, #242424) 0%,
3793
+ var(--alias-border-subtle, #242424) 50%,
3794
+ #EE5E3A 100%);
3795
+ }
3796
+ .ScAppCardV3_scAppCardV3 {
3797
+ background: var(--alias-surface-base, #101010);
3798
+ border-radius: calc(var(--radius-3xl, 1rem) - 1px);
3799
+ padding: var(--spacing-3xl, 1rem);
3800
+ display: flex;
3801
+ flex-direction: column;
3802
+ gap: var(--spacing-xl, 0.75rem);
3803
+ align-items: flex-start;
3804
+ position: relative;
3805
+ overflow: clip;
3806
+ backdrop-filter: blur(4px);
3807
+ cursor: pointer;
3808
+ height: 100%;
3809
+ }
3810
+ .ScAppCardV3_scAppCardV3Active {
3811
+ background: var(--alias-surface-raised, #242424);
3812
+ }
3813
+ .ScAppCardV3_glow {
3814
+ position: absolute;
3815
+ bottom: -1px;
3816
+ right: -1px;
3817
+ width: 99px;
3818
+ height: 50px;
3819
+ pointer-events: none;
3820
+ border-radius: 50%;
3821
+ background: none;
3822
+ transition: opacity 0.2s ease;
3823
+ }
3824
+ .ScAppCardV3_cardBorder:hover .ScAppCardV3_glow {
3825
+ opacity: 0;
3826
+ }
3827
+ .ScAppCardV3_glowHover {
3828
+ position: absolute;
3829
+ inset: 0;
3830
+ pointer-events: none;
3831
+ opacity: 0;
3832
+ transition: opacity 0.6s ease;
3833
+ border-radius: inherit;
3834
+ background:
3835
+ radial-gradient(
3836
+ ellipse at 85% 90%,
3837
+ rgba(200, 60, 20, 0.50) 0%,
3838
+ rgba(200, 60, 20, 0.28) 20%,
3839
+ rgba(180, 50, 15, 0.14) 40%,
3840
+ rgba(140, 40, 10, 0.06) 60%,
3841
+ rgba(100, 30, 10, 0.02) 80%,
3842
+ transparent 100%);
3843
+ }
3844
+ .ScAppCardV3_cardBorder:hover .ScAppCardV3_glowHover {
3845
+ opacity: 1;
3846
+ }
3847
+ .ScAppCardV3_header {
3848
+ display: flex;
3849
+ flex-direction: column;
3850
+ gap: var(--spacing-xs, 0.25rem);
3851
+ align-items: center;
3852
+ justify-content: center;
3853
+ width: 100%;
3854
+ position: relative;
3855
+ flex-shrink: 0;
3856
+ }
3857
+ .ScAppCardV3_iconRow {
3858
+ display: flex;
3859
+ gap: 8px;
3860
+ align-items: center;
3861
+ border-radius: var(--radius-md, 0.5rem);
3862
+ width: 100%;
3863
+ flex-shrink: 0;
3864
+ }
3865
+ .ScAppCardV3_appName {
3866
+ flex: 1 0 0;
3867
+ color: var(--alias-text-and-icons-primary, #f5f5f5);
3868
+ font-family: var( --text-text-md-medium-font-family, "Inter-Medium", sans-serif );
3869
+ font-size: var(--text-text-md-medium-font-size, 1rem);
3870
+ line-height: var(--text-text-md-medium-line-height, 1.5rem);
3871
+ font-weight: var(--text-text-md-medium-font-weight, 500);
3872
+ min-width: 1px;
3873
+ min-height: 1px;
3874
+ overflow: hidden;
3875
+ text-overflow: ellipsis;
3876
+ }
3877
+ .ScAppCardV3_iconPill {
3878
+ display: flex;
3879
+ align-items: center;
3880
+ padding: 6px;
3881
+ border-radius: var(--radius-xs, 4px);
3882
+ position: relative;
3883
+ flex-shrink: 0;
3884
+ }
3885
+ .ScAppCardV3_iconPillBg {
3886
+ position: absolute;
3887
+ inset: 0;
3888
+ background: rgba(0, 0, 0, 0.24);
3889
+ backdrop-filter: blur(40px);
3890
+ border-radius: var(--radius-xs, 4px);
3891
+ pointer-events: none;
3892
+ }
3893
+ .ScAppCardV3_iconPillShadow {
3894
+ position: absolute;
3895
+ inset: 0;
3896
+ border-radius: inherit;
3897
+ box-shadow: inset 0px 4px 8px 0px rgba(0, 0, 0, 0.32);
3898
+ pointer-events: none;
3899
+ }
3900
+ .ScAppCardV3_iconPillIcon {
3901
+ position: relative;
3902
+ width: 20px;
3903
+ height: 20px;
3904
+ flex-shrink: 0;
3905
+ color: var(--alias-text-and-icons-primary, #f5f5f5);
3906
+ }
3907
+ .ScAppCardV3_iconPillIcon > * {
3908
+ width: 100%;
3909
+ height: 100%;
3910
+ }
3911
+ .ScAppCardV3_description {
3912
+ color: var(--alias-text-and-icons-tertiary, #9e9e9e);
3913
+ font-family: var( --text-text-xs-regular-font-family, "Inter-Regular", sans-serif );
3914
+ font-size: var(--text-text-xs-regular-font-size, 0.75rem);
3915
+ line-height: var(--text-text-xs-regular-line-height, 1.125rem);
3916
+ font-weight: var(--text-text-xs-regular-font-weight, 400);
3917
+ width: 100%;
3918
+ position: relative;
3919
+ flex-shrink: 0;
3920
+ }
3921
+
3775
3922
  /* src/SC-appField/ScAppField.module.css */
3776
3923
  .ScAppField_scAppField,
3777
3924
  .ScAppField_scAppField * {
@@ -4060,7 +4207,7 @@
4060
4207
  color: var(--alias-text-and-icons-muted, #7a7a7a);
4061
4208
  }
4062
4209
  .ScOnlyField_inputText {
4063
- color: var(--alias-text-and-icons-muted, #7a7a7a);
4210
+ color: var(--alias-text-and-icons-primary, #f5f5f5);
4064
4211
  text-align: left;
4065
4212
  font-family: var( --text-text-sm-regular-font-family, "Inter-Regular", sans-serif );
4066
4213
  font-size: var(--text-text-sm-regular-font-size, 0.875rem);
@@ -4072,6 +4219,39 @@
4072
4219
  align-items: center;
4073
4220
  justify-content: flex-start;
4074
4221
  }
4222
+ .ScOnlyField_inputText::placeholder {
4223
+ color: var(--alias-text-and-icons-muted, #7a7a7a);
4224
+ }
4225
+ .ScOnlyField_iconWrapper {
4226
+ display: flex;
4227
+ align-items: center;
4228
+ justify-content: center;
4229
+ flex-shrink: 0;
4230
+ width: 24px;
4231
+ height: 24px;
4232
+ }
4233
+ .ScOnlyField_iconWrapper > * {
4234
+ width: 100%;
4235
+ height: 100%;
4236
+ }
4237
+ .ScOnlyField_size-medium .ScOnlyField_inputContainer {
4238
+ height: 2.5rem;
4239
+ padding: var(--spacing-md, 0.5rem) var(--spacing-xl, 0.75rem);
4240
+ border-radius: var(--radius-xl, 0.75rem);
4241
+ }
4242
+ .ScOnlyField_size-medium .ScOnlyField_iconWrapper {
4243
+ width: 20px;
4244
+ height: 20px;
4245
+ }
4246
+ .ScOnlyField_size-small .ScOnlyField_inputContainer {
4247
+ height: 2rem;
4248
+ padding: var(--spacing-md, 0.5rem) var(--spacing-xl, 0.75rem);
4249
+ border-radius: var(--radius-lg, 0.625rem);
4250
+ }
4251
+ .ScOnlyField_size-small .ScOnlyField_iconWrapper {
4252
+ width: 16px;
4253
+ height: 16px;
4254
+ }
4075
4255
  .ScOnlyField_scOnlyField.ScOnlyField_tf-group-icon-left .ScOnlyField_inputContainer,
4076
4256
  .ScOnlyField_scOnlyField.ScOnlyField_tf-group-icon-left-right .ScOnlyField_inputContainer {
4077
4257
  gap: var(--spacing-md, 0.5rem);
@@ -5506,29 +5686,53 @@
5506
5686
  .ScMobileBottomAction_scMobileBottomAction * {
5507
5687
  box-sizing: border-box;
5508
5688
  }
5689
+ .ScMobileBottomAction_twoButton {
5690
+ gap: var(--spacing-3xl, 16px);
5691
+ }
5509
5692
  .ScMobileBottomAction_button {
5510
5693
  display: flex;
5511
5694
  flex: 1 0 0;
5512
- height: 48px;
5695
+ height: 40px;
5513
5696
  align-items: center;
5514
5697
  justify-content: center;
5515
- padding: var(--spacing-xl, 12px) var(--spacing-3xl, 16px);
5698
+ padding: var(--spacing-md, 8px) var(--spacing-3xl, 16px);
5516
5699
  background: var(--alias-fill-base-base, #f5f5f5);
5517
5700
  border-radius: var(--medium-5, 12px);
5518
5701
  border: none;
5519
5702
  cursor: pointer;
5520
- width: 100%;
5703
+ min-width: 0;
5704
+ }
5705
+ .ScMobileBottomAction_outlineButton {
5706
+ display: flex;
5707
+ flex: 1 0 0;
5708
+ height: 40px;
5709
+ align-items: center;
5710
+ justify-content: center;
5711
+ padding: var(--spacing-md, 8px) var(--spacing-3xl, 16px);
5712
+ background: transparent;
5713
+ border-radius: var(--medium-5, 12px);
5714
+ border: 1.25px solid var(--alias-border-default, #3e3e3e);
5715
+ cursor: pointer;
5716
+ min-width: 0;
5521
5717
  }
5522
5718
  .ScMobileBottomAction_disabled {
5523
5719
  opacity: 0.5;
5524
5720
  cursor: not-allowed;
5525
5721
  }
5526
5722
  .ScMobileBottomAction_buttonText {
5723
+ font-family: var(--font-family-font-family-body, "Inter", sans-serif);
5724
+ font-weight: var(--font-weight-font-weight-medium, 500);
5725
+ font-size: var(--font-size-font-size-sm, 14px);
5726
+ line-height: var(--line-height-line-height-sm, 20px);
5727
+ color: var(--alias-text-icons-inverse, #101010);
5728
+ white-space: nowrap;
5729
+ }
5730
+ .ScMobileBottomAction_outlineButtonText {
5527
5731
  font-family: var(--font-family-font-family-body, "Inter", sans-serif);
5528
5732
  font-weight: var(--font-weight-font-weight-medium, 500);
5529
5733
  font-size: var(--font-size-font-size-md, 16px);
5530
5734
  line-height: var(--line-height-line-height-md, 24px);
5531
- color: var(--alias-text-icons-inverse, #101010);
5735
+ color: var(--alias-text-icons-primary, #f5f5f5);
5532
5736
  white-space: nowrap;
5533
5737
  }
5534
5738
 
package/dist/index.d.mts CHANGED
@@ -297,10 +297,11 @@ interface StreamoidSidebarProps {
297
297
  versionText?: string;
298
298
  toggleIcon?: ReactNode | ((expanded: boolean) => ReactNode);
299
299
  hideFooter?: boolean;
300
+ preFooterContent?: ReactNode;
300
301
  className?: string;
301
302
  style?: CSSProperties;
302
303
  }
303
- declare function StreamoidSidebar({ expanded, onToggle, config, iconMap, activeItemId, onItemSelect, expandedLogo, collapsedLogo, profile, versionText, toggleIcon, hideFooter, className, style, }: StreamoidSidebarProps): react_jsx_runtime.JSX.Element;
304
+ declare function StreamoidSidebar({ expanded, onToggle, config, iconMap, activeItemId, onItemSelect, expandedLogo, collapsedLogo, profile, versionText, toggleIcon, hideFooter, preFooterContent, className, style, }: StreamoidSidebarProps): react_jsx_runtime.JSX.Element;
304
305
 
305
306
  interface IScSidebarMenuProps extends React.HTMLAttributes<HTMLDivElement> {
306
307
  icon?: JSX.Element;
@@ -324,10 +325,11 @@ interface IScSliderProps extends React.HTMLAttributes<HTMLDivElement> {
324
325
  }
325
326
  declare const ScSlider: ({ className, onValueChange, ...props }: IScSliderProps) => JSX.Element;
326
327
 
327
- interface IScVDividerProps {
328
+ interface IScVDividerProps extends React.HTMLAttributes<HTMLDivElement> {
329
+ color?: string;
328
330
  className?: string;
329
331
  }
330
- declare const ScVDivider: ({ className, ...props }: IScVDividerProps) => JSX.Element;
332
+ declare const ScVDivider: ({ color, className, style, ...props }: IScVDividerProps) => JSX.Element;
331
333
 
332
334
  interface WorkspaceSwitcherItem {
333
335
  id: string;
@@ -370,6 +372,15 @@ interface IScAppCardProps extends React.HTMLAttributes<HTMLDivElement> {
370
372
  }
371
373
  declare const ScAppCard: ({ appIcon, appName, appDescription, className, ...props }: IScAppCardProps) => JSX.Element;
372
374
 
375
+ interface IScAppCardV3Props extends React.HTMLAttributes<HTMLDivElement> {
376
+ appIcon?: ReactNode;
377
+ appName?: string;
378
+ description?: string;
379
+ active?: boolean;
380
+ className?: string;
381
+ }
382
+ declare const ScAppCardV3: ({ appIcon, appName, description, active, className, style, ...props }: IScAppCardV3Props) => JSX.Element;
383
+
373
384
  interface IScAppFieldProps extends React.HTMLAttributes<HTMLDivElement> {
374
385
  appFieldTitle?: string;
375
386
  className?: string;
@@ -464,13 +475,14 @@ interface IScOnlyFieldProps extends React.HTMLAttributes<HTMLDivElement> {
464
475
  state?: "default" | "active" | "error" | "disabled" | "filled";
465
476
  tfGroup?: "icon-right" | "icon-left" | "icon-left-right" | "none";
466
477
  labelGroup?: "none" | "label" | "text" | "icon";
478
+ size?: "default" | "medium" | "small";
467
479
  className?: string;
468
480
  placeholderFilled?: string;
469
481
  value?: string;
470
482
  onInputChange?: (value: string) => void;
471
483
  inputProps?: React.InputHTMLAttributes<HTMLInputElement>;
472
484
  }
473
- declare const ScOnlyField: ({ tfRightIcon, tfLeftIcon, state, tfGroup, labelGroup, className, placeholderFilled, value, onInputChange, inputProps, ...props }: IScOnlyFieldProps) => JSX.Element;
485
+ declare const ScOnlyField: ({ tfRightIcon, tfLeftIcon, state, tfGroup, labelGroup, size, className, placeholderFilled, value, onInputChange, inputProps, ...props }: IScOnlyFieldProps) => JSX.Element;
474
486
 
475
487
  interface IScPendingActionProps extends React.HTMLAttributes<HTMLDivElement> {
476
488
  className?: string;
@@ -597,7 +609,7 @@ interface IScTextFieldProps extends React.InputHTMLAttributes<HTMLInputElement>
597
609
  placeholderFilled?: string;
598
610
  label?: string;
599
611
  }
600
- declare const ScTextField: ({ tfRightIcon, tfLeftIcon, state, tfGroup, labelGroup, className, placeholderFilled, label, ...props }: IScTextFieldProps) => JSX.Element;
612
+ declare const ScTextField: ({ tfRightIcon, tfLeftIcon, state, tfGroup, labelGroup, className, placeholderFilled, label, style, ...props }: IScTextFieldProps) => JSX.Element;
601
613
 
602
614
  interface IScToggleSwitchProps extends React.HTMLAttributes<HTMLDivElement> {
603
615
  active?: "true" | "false";
@@ -769,16 +781,22 @@ interface IScMobileTopNavProps {
769
781
  declare const ScMobileTopNav: ({ type, searchIcon, search, heading, chatTitle, searchPlaceholder, searchValue, menuIcon, searchIconElement, closeIcon, moreIcon, onMenuClick, onSearchClick, onCloseClick, onMoreClick, onSearchChange, className, ...props }: IScMobileTopNavProps & React$1.HTMLAttributes<HTMLDivElement>) => JSX.Element;
770
782
 
771
783
  interface IScMobileBottomActionProps {
772
- /** Button text */
784
+ /** Primary button text */
773
785
  text?: string;
774
- /** Whether button is disabled */
786
+ /** Whether primary button is disabled */
775
787
  disabled?: boolean;
776
- /** Click handler */
788
+ /** Primary button click handler */
777
789
  onClick?: (e: React$1.MouseEvent) => void;
790
+ /** Secondary (outline) button text — renders 2-button layout when provided */
791
+ secondaryText?: string;
792
+ /** Whether secondary button is disabled */
793
+ secondaryDisabled?: boolean;
794
+ /** Secondary button click handler */
795
+ onSecondaryClick?: (e: React$1.MouseEvent) => void;
778
796
  /** Additional class name */
779
797
  className?: string;
780
798
  }
781
- declare const ScMobileBottomAction: ({ text, disabled, onClick, className, ...props }: IScMobileBottomActionProps & React$1.HTMLAttributes<HTMLDivElement>) => JSX.Element;
799
+ declare const ScMobileBottomAction: ({ text, disabled, onClick, secondaryText, secondaryDisabled, onSecondaryClick, className, ...props }: IScMobileBottomActionProps & React$1.HTMLAttributes<HTMLDivElement>) => JSX.Element;
782
800
 
783
801
  interface IScPopUpMenuProps {
784
802
  /** Menu label text */
@@ -898,4 +916,4 @@ interface IScPlanDetailsCardMobileProps extends React.HTMLAttributes<HTMLDivElem
898
916
  }
899
917
  declare const ScPlanDetailsCardMobile: ({ planName, planCredits, planPrice, badgeText, currentPlanLabel, upgradeButtonText, onUpgrade, className, ...props }: IScPlanDetailsCardMobileProps) => JSX.Element;
900
918
 
901
- export { type IInvoiceHistoryMobileProps, type IScAccessProps, type IScAppCardProps, type IScAppFieldProps, type IScAppListingCardProps, type IScArtifaxInviteProps, type IScBadgesProps, type IScBillingHistoryHeaderProps, type IScBillingHistoryTableListProps, type IScBillingLogsTableHeaderProps, type IScBillingLogsTableListProps, type IScButtonProps, type IScCalendarDateCompsProps, type IScCalendarProps, type IScCatalogixInviteProps, type IScCheckFieldProps, type IScCheckboxProps, type IScCreditsUsageCardMobileProps, type IScCreditsUsageCardProps, type IScFieldButtonProps, type IScGoogleSignInProps, 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 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, ScAppField, ScAppListingCard, ScArtifaxInvite, ScBadges, ScBillingHistoryHeader, ScBillingHistoryTableList, ScBillingLogsTableHeader, ScBillingLogsTableList, ScButton, ScCalendar, ScCalendarDateComps, ScCatalogixInvite, ScCheckField, ScCheckbox, ScCreditsUsageCard, ScCreditsUsageCardMobile, ScDp, type ScDpProps, ScFieldButton, ScGoogleSignIn, 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, 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 };
919
+ export { type IInvoiceHistoryMobileProps, type IScAccessProps, type IScAppCardProps, type IScAppCardV3Props, type IScAppFieldProps, type IScAppListingCardProps, type IScArtifaxInviteProps, type IScBadgesProps, type IScBillingHistoryHeaderProps, type IScBillingHistoryTableListProps, type IScBillingLogsTableHeaderProps, type IScBillingLogsTableListProps, type IScButtonProps, type IScCalendarDateCompsProps, type IScCalendarProps, type IScCatalogixInviteProps, type IScCheckFieldProps, type IScCheckboxProps, type IScCreditsUsageCardMobileProps, type IScCreditsUsageCardProps, type IScFieldButtonProps, type IScGoogleSignInProps, 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 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, ScBadges, ScBillingHistoryHeader, ScBillingHistoryTableList, ScBillingLogsTableHeader, ScBillingLogsTableList, ScButton, ScCalendar, ScCalendarDateComps, ScCatalogixInvite, ScCheckField, ScCheckbox, ScCreditsUsageCard, ScCreditsUsageCardMobile, ScDp, type ScDpProps, ScFieldButton, ScGoogleSignIn, 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, 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
@@ -297,10 +297,11 @@ interface StreamoidSidebarProps {
297
297
  versionText?: string;
298
298
  toggleIcon?: ReactNode | ((expanded: boolean) => ReactNode);
299
299
  hideFooter?: boolean;
300
+ preFooterContent?: ReactNode;
300
301
  className?: string;
301
302
  style?: CSSProperties;
302
303
  }
303
- declare function StreamoidSidebar({ expanded, onToggle, config, iconMap, activeItemId, onItemSelect, expandedLogo, collapsedLogo, profile, versionText, toggleIcon, hideFooter, className, style, }: StreamoidSidebarProps): react_jsx_runtime.JSX.Element;
304
+ declare function StreamoidSidebar({ expanded, onToggle, config, iconMap, activeItemId, onItemSelect, expandedLogo, collapsedLogo, profile, versionText, toggleIcon, hideFooter, preFooterContent, className, style, }: StreamoidSidebarProps): react_jsx_runtime.JSX.Element;
304
305
 
305
306
  interface IScSidebarMenuProps extends React.HTMLAttributes<HTMLDivElement> {
306
307
  icon?: JSX.Element;
@@ -324,10 +325,11 @@ interface IScSliderProps extends React.HTMLAttributes<HTMLDivElement> {
324
325
  }
325
326
  declare const ScSlider: ({ className, onValueChange, ...props }: IScSliderProps) => JSX.Element;
326
327
 
327
- interface IScVDividerProps {
328
+ interface IScVDividerProps extends React.HTMLAttributes<HTMLDivElement> {
329
+ color?: string;
328
330
  className?: string;
329
331
  }
330
- declare const ScVDivider: ({ className, ...props }: IScVDividerProps) => JSX.Element;
332
+ declare const ScVDivider: ({ color, className, style, ...props }: IScVDividerProps) => JSX.Element;
331
333
 
332
334
  interface WorkspaceSwitcherItem {
333
335
  id: string;
@@ -370,6 +372,15 @@ interface IScAppCardProps extends React.HTMLAttributes<HTMLDivElement> {
370
372
  }
371
373
  declare const ScAppCard: ({ appIcon, appName, appDescription, className, ...props }: IScAppCardProps) => JSX.Element;
372
374
 
375
+ interface IScAppCardV3Props extends React.HTMLAttributes<HTMLDivElement> {
376
+ appIcon?: ReactNode;
377
+ appName?: string;
378
+ description?: string;
379
+ active?: boolean;
380
+ className?: string;
381
+ }
382
+ declare const ScAppCardV3: ({ appIcon, appName, description, active, className, style, ...props }: IScAppCardV3Props) => JSX.Element;
383
+
373
384
  interface IScAppFieldProps extends React.HTMLAttributes<HTMLDivElement> {
374
385
  appFieldTitle?: string;
375
386
  className?: string;
@@ -464,13 +475,14 @@ interface IScOnlyFieldProps extends React.HTMLAttributes<HTMLDivElement> {
464
475
  state?: "default" | "active" | "error" | "disabled" | "filled";
465
476
  tfGroup?: "icon-right" | "icon-left" | "icon-left-right" | "none";
466
477
  labelGroup?: "none" | "label" | "text" | "icon";
478
+ size?: "default" | "medium" | "small";
467
479
  className?: string;
468
480
  placeholderFilled?: string;
469
481
  value?: string;
470
482
  onInputChange?: (value: string) => void;
471
483
  inputProps?: React.InputHTMLAttributes<HTMLInputElement>;
472
484
  }
473
- declare const ScOnlyField: ({ tfRightIcon, tfLeftIcon, state, tfGroup, labelGroup, className, placeholderFilled, value, onInputChange, inputProps, ...props }: IScOnlyFieldProps) => JSX.Element;
485
+ declare const ScOnlyField: ({ tfRightIcon, tfLeftIcon, state, tfGroup, labelGroup, size, className, placeholderFilled, value, onInputChange, inputProps, ...props }: IScOnlyFieldProps) => JSX.Element;
474
486
 
475
487
  interface IScPendingActionProps extends React.HTMLAttributes<HTMLDivElement> {
476
488
  className?: string;
@@ -597,7 +609,7 @@ interface IScTextFieldProps extends React.InputHTMLAttributes<HTMLInputElement>
597
609
  placeholderFilled?: string;
598
610
  label?: string;
599
611
  }
600
- declare const ScTextField: ({ tfRightIcon, tfLeftIcon, state, tfGroup, labelGroup, className, placeholderFilled, label, ...props }: IScTextFieldProps) => JSX.Element;
612
+ declare const ScTextField: ({ tfRightIcon, tfLeftIcon, state, tfGroup, labelGroup, className, placeholderFilled, label, style, ...props }: IScTextFieldProps) => JSX.Element;
601
613
 
602
614
  interface IScToggleSwitchProps extends React.HTMLAttributes<HTMLDivElement> {
603
615
  active?: "true" | "false";
@@ -769,16 +781,22 @@ interface IScMobileTopNavProps {
769
781
  declare const ScMobileTopNav: ({ type, searchIcon, search, heading, chatTitle, searchPlaceholder, searchValue, menuIcon, searchIconElement, closeIcon, moreIcon, onMenuClick, onSearchClick, onCloseClick, onMoreClick, onSearchChange, className, ...props }: IScMobileTopNavProps & React$1.HTMLAttributes<HTMLDivElement>) => JSX.Element;
770
782
 
771
783
  interface IScMobileBottomActionProps {
772
- /** Button text */
784
+ /** Primary button text */
773
785
  text?: string;
774
- /** Whether button is disabled */
786
+ /** Whether primary button is disabled */
775
787
  disabled?: boolean;
776
- /** Click handler */
788
+ /** Primary button click handler */
777
789
  onClick?: (e: React$1.MouseEvent) => void;
790
+ /** Secondary (outline) button text — renders 2-button layout when provided */
791
+ secondaryText?: string;
792
+ /** Whether secondary button is disabled */
793
+ secondaryDisabled?: boolean;
794
+ /** Secondary button click handler */
795
+ onSecondaryClick?: (e: React$1.MouseEvent) => void;
778
796
  /** Additional class name */
779
797
  className?: string;
780
798
  }
781
- declare const ScMobileBottomAction: ({ text, disabled, onClick, className, ...props }: IScMobileBottomActionProps & React$1.HTMLAttributes<HTMLDivElement>) => JSX.Element;
799
+ declare const ScMobileBottomAction: ({ text, disabled, onClick, secondaryText, secondaryDisabled, onSecondaryClick, className, ...props }: IScMobileBottomActionProps & React$1.HTMLAttributes<HTMLDivElement>) => JSX.Element;
782
800
 
783
801
  interface IScPopUpMenuProps {
784
802
  /** Menu label text */
@@ -898,4 +916,4 @@ interface IScPlanDetailsCardMobileProps extends React.HTMLAttributes<HTMLDivElem
898
916
  }
899
917
  declare const ScPlanDetailsCardMobile: ({ planName, planCredits, planPrice, badgeText, currentPlanLabel, upgradeButtonText, onUpgrade, className, ...props }: IScPlanDetailsCardMobileProps) => JSX.Element;
900
918
 
901
- export { type IInvoiceHistoryMobileProps, type IScAccessProps, type IScAppCardProps, type IScAppFieldProps, type IScAppListingCardProps, type IScArtifaxInviteProps, type IScBadgesProps, type IScBillingHistoryHeaderProps, type IScBillingHistoryTableListProps, type IScBillingLogsTableHeaderProps, type IScBillingLogsTableListProps, type IScButtonProps, type IScCalendarDateCompsProps, type IScCalendarProps, type IScCatalogixInviteProps, type IScCheckFieldProps, type IScCheckboxProps, type IScCreditsUsageCardMobileProps, type IScCreditsUsageCardProps, type IScFieldButtonProps, type IScGoogleSignInProps, 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 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, ScAppField, ScAppListingCard, ScArtifaxInvite, ScBadges, ScBillingHistoryHeader, ScBillingHistoryTableList, ScBillingLogsTableHeader, ScBillingLogsTableList, ScButton, ScCalendar, ScCalendarDateComps, ScCatalogixInvite, ScCheckField, ScCheckbox, ScCreditsUsageCard, ScCreditsUsageCardMobile, ScDp, type ScDpProps, ScFieldButton, ScGoogleSignIn, 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, 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 };
919
+ export { type IInvoiceHistoryMobileProps, type IScAccessProps, type IScAppCardProps, type IScAppCardV3Props, type IScAppFieldProps, type IScAppListingCardProps, type IScArtifaxInviteProps, type IScBadgesProps, type IScBillingHistoryHeaderProps, type IScBillingHistoryTableListProps, type IScBillingLogsTableHeaderProps, type IScBillingLogsTableListProps, type IScButtonProps, type IScCalendarDateCompsProps, type IScCalendarProps, type IScCatalogixInviteProps, type IScCheckFieldProps, type IScCheckboxProps, type IScCreditsUsageCardMobileProps, type IScCreditsUsageCardProps, type IScFieldButtonProps, type IScGoogleSignInProps, 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 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, ScBadges, ScBillingHistoryHeader, ScBillingHistoryTableList, ScBillingLogsTableHeader, ScBillingLogsTableList, ScButton, ScCalendar, ScCalendarDateComps, ScCatalogixInvite, ScCheckField, ScCheckbox, ScCreditsUsageCard, ScCreditsUsageCardMobile, ScDp, type ScDpProps, ScFieldButton, ScGoogleSignIn, 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, 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 };