@streamoid/ui 0.2.4 → 0.2.6
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/README.md +4 -3
- package/dist/index.css +1431 -5
- package/dist/index.d.mts +333 -18
- package/dist/index.d.ts +333 -18
- package/dist/index.js +1128 -107
- package/dist/index.mjs +1336 -315
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -161,9 +161,11 @@ interface IScPairtextProps {
|
|
|
161
161
|
icon?: JSX.Element;
|
|
162
162
|
iconPosition?: "left" | "right";
|
|
163
163
|
type?: "icon" | "radio" | "checkbox";
|
|
164
|
+
checked?: boolean;
|
|
165
|
+
onChange?: (checked: boolean) => void;
|
|
164
166
|
className?: string;
|
|
165
167
|
}
|
|
166
|
-
declare const ScPairtext: ({ content, icon, iconPosition, type, className, ...props }: IScPairtextProps) => JSX.Element;
|
|
168
|
+
declare const ScPairtext: ({ content, icon, iconPosition, type, checked, onChange, className, ...props }: IScPairtextProps) => JSX.Element;
|
|
167
169
|
|
|
168
170
|
interface PlanFeatureSection {
|
|
169
171
|
section: string;
|
|
@@ -209,9 +211,17 @@ interface IScProfileProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
209
211
|
declare const ScProfile: ({ name, subText, collapsed, profileImage, className, ...props }: IScProfileProps) => JSX.Element;
|
|
210
212
|
|
|
211
213
|
interface IScProfileImageUpdateProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
214
|
+
/** Image URL or blob preview to display */
|
|
215
|
+
imageUrl?: string;
|
|
216
|
+
/** Initials fallback when no image */
|
|
217
|
+
initials?: string;
|
|
218
|
+
/** Called when user selects a file for upload */
|
|
219
|
+
onUpload?: (file: File) => void;
|
|
220
|
+
/** Called when user clicks delete */
|
|
221
|
+
onDelete?: () => void;
|
|
212
222
|
className?: string;
|
|
213
223
|
}
|
|
214
|
-
declare const ScProfileImageUpdate: ({ className, ...props }: IScProfileImageUpdateProps) => JSX.Element;
|
|
224
|
+
declare const ScProfileImageUpdate: ({ imageUrl, initials, onUpload, onDelete, className, ...props }: IScProfileImageUpdateProps) => JSX.Element;
|
|
215
225
|
|
|
216
226
|
interface IScProfileOptionsProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
217
227
|
className?: string;
|
|
@@ -286,10 +296,11 @@ interface StreamoidSidebarProps {
|
|
|
286
296
|
profile?: SidebarProfileConfig;
|
|
287
297
|
versionText?: string;
|
|
288
298
|
toggleIcon?: ReactNode | ((expanded: boolean) => ReactNode);
|
|
299
|
+
hideFooter?: boolean;
|
|
289
300
|
className?: string;
|
|
290
301
|
style?: CSSProperties;
|
|
291
302
|
}
|
|
292
|
-
declare function StreamoidSidebar({ expanded, onToggle, config, iconMap, activeItemId, onItemSelect, expandedLogo, collapsedLogo, profile, versionText, toggleIcon, className, style, }: StreamoidSidebarProps): react_jsx_runtime.JSX.Element;
|
|
303
|
+
declare function StreamoidSidebar({ expanded, onToggle, config, iconMap, activeItemId, onItemSelect, expandedLogo, collapsedLogo, profile, versionText, toggleIcon, hideFooter, className, style, }: StreamoidSidebarProps): react_jsx_runtime.JSX.Element;
|
|
293
304
|
|
|
294
305
|
interface IScSidebarMenuProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
295
306
|
icon?: JSX.Element;
|
|
@@ -362,8 +373,22 @@ declare const ScAppCard: ({ appIcon, appName, appDescription, className, ...prop
|
|
|
362
373
|
interface IScAppFieldProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
363
374
|
appFieldTitle?: string;
|
|
364
375
|
className?: string;
|
|
365
|
-
|
|
366
|
-
|
|
376
|
+
artifaxEnabled?: boolean;
|
|
377
|
+
onArtifaxToggle?: (active: boolean) => void;
|
|
378
|
+
photogenixEnabled?: boolean;
|
|
379
|
+
onPhotogenixToggle?: (active: boolean) => void;
|
|
380
|
+
catalogixEnabled?: boolean;
|
|
381
|
+
onCatalogixToggle?: (active: boolean) => void;
|
|
382
|
+
catalogixStores?: {
|
|
383
|
+
id: string;
|
|
384
|
+
name: string;
|
|
385
|
+
}[];
|
|
386
|
+
catalogixSelectedStores?: string[];
|
|
387
|
+
onCatalogixStoreToggle?: (storeId: string) => void;
|
|
388
|
+
catalogixSearchValue?: string;
|
|
389
|
+
onCatalogixSearchChange?: (query: string) => void;
|
|
390
|
+
}
|
|
391
|
+
declare const ScAppField: ({ appFieldTitle, className, artifaxEnabled, onArtifaxToggle, photogenixEnabled, onPhotogenixToggle, catalogixEnabled, onCatalogixToggle, catalogixStores, catalogixSelectedStores, onCatalogixStoreToggle, catalogixSearchValue, onCatalogixSearchChange, ...props }: IScAppFieldProps) => JSX.Element;
|
|
367
392
|
|
|
368
393
|
interface IScArtifaxInviteProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
369
394
|
active?: "false" | "true";
|
|
@@ -371,8 +396,10 @@ interface IScArtifaxInviteProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
371
396
|
appDescription?: string;
|
|
372
397
|
appIcon?: JSX.Element;
|
|
373
398
|
className?: string;
|
|
399
|
+
enabled?: boolean;
|
|
400
|
+
onToggle?: (active: boolean) => void;
|
|
374
401
|
}
|
|
375
|
-
declare const ScArtifaxInvite: ({ active, appName, appDescription, appIcon, className, ...props }: IScArtifaxInviteProps) => JSX.Element;
|
|
402
|
+
declare const ScArtifaxInvite: ({ active, appName, appDescription, appIcon, className, enabled, onToggle, ...props }: IScArtifaxInviteProps) => JSX.Element;
|
|
376
403
|
|
|
377
404
|
interface IScBillingHistoryHeaderProps {
|
|
378
405
|
className?: string;
|
|
@@ -388,20 +415,39 @@ interface IScCatalogixInviteProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
388
415
|
searchPlaceholder?: string;
|
|
389
416
|
appIcon?: JSX.Element;
|
|
390
417
|
className?: string;
|
|
418
|
+
enabled?: boolean;
|
|
419
|
+
onToggle?: (active: boolean) => void;
|
|
420
|
+
stores?: {
|
|
421
|
+
id: string;
|
|
422
|
+
name: string;
|
|
423
|
+
}[];
|
|
424
|
+
selectedStores?: string[];
|
|
425
|
+
onStoreToggle?: (storeId: string) => void;
|
|
426
|
+
searchValue?: string;
|
|
427
|
+
onSearchChange?: (query: string) => void;
|
|
391
428
|
}
|
|
392
|
-
declare const ScCatalogixInvite: ({ active, appName, appDescription, storeAccessTitle, selectedCount, searchPlaceholder, appIcon, className, ...props }: IScCatalogixInviteProps) => JSX.Element;
|
|
429
|
+
declare const ScCatalogixInvite: ({ active, appName, appDescription, storeAccessTitle, selectedCount, searchPlaceholder, appIcon, className, enabled, onToggle, stores, selectedStores, onStoreToggle, searchValue, onSearchChange, ...props }: IScCatalogixInviteProps) => JSX.Element;
|
|
393
430
|
|
|
394
431
|
interface IScCheckFieldProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
395
432
|
label?: string;
|
|
396
433
|
className?: string;
|
|
434
|
+
checkboxes?: {
|
|
435
|
+
label: string;
|
|
436
|
+
checked: boolean;
|
|
437
|
+
onChange: (checked: boolean) => void;
|
|
438
|
+
}[];
|
|
397
439
|
}
|
|
398
|
-
declare const ScCheckField: ({ label, className, ...props }: IScCheckFieldProps) => JSX.Element;
|
|
440
|
+
declare const ScCheckField: ({ label, className, checkboxes, ...props }: IScCheckFieldProps) => JSX.Element;
|
|
399
441
|
|
|
400
|
-
interface IScCheckboxProps
|
|
442
|
+
interface IScCheckboxProps {
|
|
401
443
|
state?: "default" | "partial" | "selected";
|
|
444
|
+
checked?: boolean;
|
|
445
|
+
onChange?: (checked: boolean) => void;
|
|
402
446
|
className?: string;
|
|
447
|
+
style?: React.CSSProperties;
|
|
448
|
+
onClick?: React.MouseEventHandler<HTMLDivElement>;
|
|
403
449
|
}
|
|
404
|
-
declare const ScCheckbox: ({ state, className, ...props }: IScCheckboxProps) => JSX.Element;
|
|
450
|
+
declare const ScCheckbox: ({ state, checked, onChange, className, ...props }: IScCheckboxProps & Omit<React.HTMLAttributes<HTMLDivElement>, "onChange">) => JSX.Element;
|
|
405
451
|
|
|
406
452
|
interface IScFieldButtonProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
407
453
|
icon?: JSX.Element;
|
|
@@ -420,8 +466,11 @@ interface IScOnlyFieldProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
420
466
|
labelGroup?: "none" | "label" | "text" | "icon";
|
|
421
467
|
className?: string;
|
|
422
468
|
placeholderFilled?: string;
|
|
469
|
+
value?: string;
|
|
470
|
+
onInputChange?: (value: string) => void;
|
|
471
|
+
inputProps?: React.InputHTMLAttributes<HTMLInputElement>;
|
|
423
472
|
}
|
|
424
|
-
declare const ScOnlyField: ({ tfRightIcon, tfLeftIcon, state, tfGroup, labelGroup, className, placeholderFilled, ...props }: IScOnlyFieldProps) => JSX.Element;
|
|
473
|
+
declare const ScOnlyField: ({ tfRightIcon, tfLeftIcon, state, tfGroup, labelGroup, className, placeholderFilled, value, onInputChange, inputProps, ...props }: IScOnlyFieldProps) => JSX.Element;
|
|
425
474
|
|
|
426
475
|
interface IScPendingActionProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
427
476
|
className?: string;
|
|
@@ -434,8 +483,10 @@ interface IScPhtogenixInviteProps {
|
|
|
434
483
|
scAppCardappName?: string;
|
|
435
484
|
scAppCardappIcon?: JSX.Element;
|
|
436
485
|
className?: string;
|
|
486
|
+
enabled?: boolean;
|
|
487
|
+
onToggle?: (active: boolean) => void;
|
|
437
488
|
}
|
|
438
|
-
declare const ScPhtogenixInvite: ({ active, scAppCardappDescription, scAppCardappName, scAppCardappIcon, className, ...props }: IScPhtogenixInviteProps) => JSX.Element;
|
|
489
|
+
declare const ScPhtogenixInvite: ({ active, scAppCardappDescription, scAppCardappName, scAppCardappIcon, className, enabled, onToggle, ...props }: IScPhtogenixInviteProps) => JSX.Element;
|
|
439
490
|
|
|
440
491
|
interface IScQuickPromptProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
441
492
|
appName?: string;
|
|
@@ -496,8 +547,14 @@ declare const ScTabComp: ({ icon, active, type, className, text, ...props }: ISc
|
|
|
496
547
|
interface IScTabFieldProps {
|
|
497
548
|
label?: string;
|
|
498
549
|
className?: string;
|
|
550
|
+
tabs?: {
|
|
551
|
+
label: string;
|
|
552
|
+
value: string;
|
|
553
|
+
}[];
|
|
554
|
+
activeTab?: string;
|
|
555
|
+
onTabChange?: (value: string) => void;
|
|
499
556
|
}
|
|
500
|
-
declare const ScTabField: ({ label, className, ...props }: IScTabFieldProps) => JSX.Element;
|
|
557
|
+
declare const ScTabField: ({ label, className, tabs, activeTab, onTabChange, ...props }: IScTabFieldProps) => JSX.Element;
|
|
501
558
|
|
|
502
559
|
interface IScTabSwitcherProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
503
560
|
tabCount?: "2" | "3" | "4" | "5";
|
|
@@ -544,9 +601,11 @@ declare const ScTextField: ({ tfRightIcon, tfLeftIcon, state, tfGroup, labelGrou
|
|
|
544
601
|
|
|
545
602
|
interface IScToggleSwitchProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
546
603
|
active?: "true" | "false";
|
|
604
|
+
checked?: boolean;
|
|
605
|
+
onToggle?: (active: boolean) => void;
|
|
547
606
|
className?: string;
|
|
548
607
|
}
|
|
549
|
-
declare const ScToggleSwitch: ({ active, className, ...props }: IScToggleSwitchProps) => JSX.Element;
|
|
608
|
+
declare const ScToggleSwitch: ({ active, checked, onToggle, className, ...props }: IScToggleSwitchProps) => JSX.Element;
|
|
550
609
|
|
|
551
610
|
interface IScVersionProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
552
611
|
state?: "expanded" | "collapsed";
|
|
@@ -567,7 +626,7 @@ interface IScWorkspaceCardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
567
626
|
}
|
|
568
627
|
declare const ScWorkspaceCard: ({ workspaceName, role, userCount, ownerEmail, buttonText, className, ...props }: IScWorkspaceCardProps) => JSX.Element;
|
|
569
628
|
|
|
570
|
-
interface
|
|
629
|
+
interface ScWorkspaceSwitchCardProps {
|
|
571
630
|
wsName?: string;
|
|
572
631
|
role?: string;
|
|
573
632
|
plan?: string;
|
|
@@ -579,8 +638,264 @@ interface NscWorkspaceSwitchProps {
|
|
|
579
638
|
className?: string;
|
|
580
639
|
onSwitch?: () => void;
|
|
581
640
|
onSettings?: () => void;
|
|
641
|
+
onLeave?: () => void;
|
|
642
|
+
}
|
|
643
|
+
declare function ScWorkspaceSwitchCard({ wsName, role, plan, ownerId, initials, imageUrl, type, hover, className, onSwitch, onSettings, onLeave, }: ScWorkspaceSwitchCardProps): react_jsx_runtime.JSX.Element;
|
|
644
|
+
/** @deprecated Use ScWorkspaceSwitchCard directly */
|
|
645
|
+
declare const NscWorkspaceSwitch: typeof ScWorkspaceSwitchCard;
|
|
646
|
+
|
|
647
|
+
interface IScRoleMobileProps {
|
|
648
|
+
/** Role variant */
|
|
649
|
+
role?: "admin" | "member";
|
|
650
|
+
/** Additional class name */
|
|
651
|
+
className?: string;
|
|
652
|
+
}
|
|
653
|
+
declare const ScRoleMobile: ({ role, className, ...props }: IScRoleMobileProps & React.HTMLAttributes<HTMLDivElement>) => JSX.Element;
|
|
654
|
+
|
|
655
|
+
interface IScProfileV2MobileProps {
|
|
656
|
+
/** User display name */
|
|
657
|
+
name?: string;
|
|
658
|
+
/** User email or subtitle */
|
|
659
|
+
email?: string;
|
|
660
|
+
/** Profile image URL */
|
|
661
|
+
imageUrl?: string;
|
|
662
|
+
/** Position of the profile image */
|
|
663
|
+
dpPosition?: "left" | "right";
|
|
664
|
+
/** Additional class name */
|
|
665
|
+
className?: string;
|
|
666
|
+
}
|
|
667
|
+
declare const ScProfileV2Mobile: ({ name, email, imageUrl, dpPosition, className, ...props }: IScProfileV2MobileProps & React.HTMLAttributes<HTMLDivElement>) => JSX.Element;
|
|
668
|
+
|
|
669
|
+
interface IScTableListMobileProps {
|
|
670
|
+
/** User display name */
|
|
671
|
+
name?: string;
|
|
672
|
+
/** User email */
|
|
673
|
+
email?: string;
|
|
674
|
+
/** Profile image URL */
|
|
675
|
+
imageUrl?: string;
|
|
676
|
+
/** User role */
|
|
677
|
+
role?: string;
|
|
678
|
+
/** Access icons - first group */
|
|
679
|
+
accessIcons?: JSX.Element[];
|
|
680
|
+
/** Access icons - second group */
|
|
681
|
+
permissionIcons?: JSX.Element[];
|
|
682
|
+
/** Callback on row click */
|
|
683
|
+
onRowClick?: (e: React$1.MouseEvent) => void;
|
|
684
|
+
/** Additional class name */
|
|
685
|
+
className?: string;
|
|
686
|
+
}
|
|
687
|
+
declare const ScTableListMobile: ({ name, email, imageUrl, role, accessIcons, permissionIcons, onRowClick, className, ...props }: IScTableListMobileProps & React$1.HTMLAttributes<HTMLDivElement>) => JSX.Element;
|
|
688
|
+
|
|
689
|
+
interface IScWorkspaceSwitchMobileProps {
|
|
690
|
+
/** Workspace name */
|
|
691
|
+
storeName?: string;
|
|
692
|
+
/** Workspace initials */
|
|
693
|
+
initials?: string;
|
|
694
|
+
/** Role label */
|
|
695
|
+
role?: string;
|
|
696
|
+
/** Owner email or ID */
|
|
697
|
+
ownerId?: string;
|
|
698
|
+
/** Whether this is the current workspace */
|
|
699
|
+
currentWs?: boolean;
|
|
700
|
+
/** Icon element for the owner row */
|
|
701
|
+
ownerIcon?: JSX.Element;
|
|
702
|
+
/** Additional class name */
|
|
703
|
+
className?: string;
|
|
704
|
+
/** Click handler */
|
|
705
|
+
onClick?: (e: React$1.MouseEvent) => void;
|
|
706
|
+
}
|
|
707
|
+
declare const ScWorkspaceSwitchMobile: ({ storeName, initials, role, ownerId, currentWs, ownerIcon, className, onClick, ...props }: IScWorkspaceSwitchMobileProps & React$1.HTMLAttributes<HTMLDivElement>) => JSX.Element;
|
|
708
|
+
|
|
709
|
+
interface IScWorkspaceSettingsMobileProps {
|
|
710
|
+
/** Workspace name */
|
|
711
|
+
storeName?: string;
|
|
712
|
+
/** Workspace initials */
|
|
713
|
+
initials?: string;
|
|
714
|
+
/** Role label */
|
|
715
|
+
role?: string;
|
|
716
|
+
/** Owner email or ID */
|
|
717
|
+
ownerId?: string;
|
|
718
|
+
/** Team count text */
|
|
719
|
+
teamCount?: string;
|
|
720
|
+
/** Whether this is the current workspace */
|
|
721
|
+
currentWs?: boolean;
|
|
722
|
+
/** Icon for owner row */
|
|
723
|
+
ownerIcon?: JSX.Element;
|
|
724
|
+
/** Icon for team row */
|
|
725
|
+
teamIcon?: JSX.Element;
|
|
726
|
+
/** Additional class name */
|
|
727
|
+
className?: string;
|
|
728
|
+
/** Click handler */
|
|
729
|
+
onClick?: (e: React$1.MouseEvent) => void;
|
|
730
|
+
}
|
|
731
|
+
declare const ScWorkspaceSettingsMobile: ({ storeName, initials, role, ownerId, teamCount, currentWs, ownerIcon, teamIcon, className, onClick, ...props }: IScWorkspaceSettingsMobileProps & React$1.HTMLAttributes<HTMLDivElement>) => JSX.Element;
|
|
732
|
+
|
|
733
|
+
interface IScMobileTopNavProps {
|
|
734
|
+
/** Navigation type */
|
|
735
|
+
type?: "home" | "chat" | "inApp";
|
|
736
|
+
/** Show search icon (only for inApp) */
|
|
737
|
+
searchIcon?: boolean;
|
|
738
|
+
/** Show search input (only for inApp with searchIcon) */
|
|
739
|
+
search?: boolean;
|
|
740
|
+
/** Heading text (for inApp type) */
|
|
741
|
+
heading?: string;
|
|
742
|
+
/** Chat title (for chat type) */
|
|
743
|
+
chatTitle?: string;
|
|
744
|
+
/** Search placeholder */
|
|
745
|
+
searchPlaceholder?: string;
|
|
746
|
+
/** Search value */
|
|
747
|
+
searchValue?: string;
|
|
748
|
+
/** Menu icon element */
|
|
749
|
+
menuIcon?: JSX.Element;
|
|
750
|
+
/** Search icon element */
|
|
751
|
+
searchIconElement?: JSX.Element;
|
|
752
|
+
/** Close icon element */
|
|
753
|
+
closeIcon?: JSX.Element;
|
|
754
|
+
/** More icon element */
|
|
755
|
+
moreIcon?: JSX.Element;
|
|
756
|
+
/** Callback on menu click */
|
|
757
|
+
onMenuClick?: (e: React$1.MouseEvent) => void;
|
|
758
|
+
/** Callback on search icon click */
|
|
759
|
+
onSearchClick?: (e: React$1.MouseEvent) => void;
|
|
760
|
+
/** Callback on close click */
|
|
761
|
+
onCloseClick?: (e: React$1.MouseEvent) => void;
|
|
762
|
+
/** Callback on more click */
|
|
763
|
+
onMoreClick?: (e: React$1.MouseEvent) => void;
|
|
764
|
+
/** Callback on search input change */
|
|
765
|
+
onSearchChange?: (value: string) => void;
|
|
766
|
+
/** Additional class name */
|
|
767
|
+
className?: string;
|
|
768
|
+
}
|
|
769
|
+
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
|
+
|
|
771
|
+
interface IScMobileBottomActionProps {
|
|
772
|
+
/** Button text */
|
|
773
|
+
text?: string;
|
|
774
|
+
/** Whether button is disabled */
|
|
775
|
+
disabled?: boolean;
|
|
776
|
+
/** Click handler */
|
|
777
|
+
onClick?: (e: React$1.MouseEvent) => void;
|
|
778
|
+
/** Additional class name */
|
|
779
|
+
className?: string;
|
|
780
|
+
}
|
|
781
|
+
declare const ScMobileBottomAction: ({ text, disabled, onClick, className, ...props }: IScMobileBottomActionProps & React$1.HTMLAttributes<HTMLDivElement>) => JSX.Element;
|
|
782
|
+
|
|
783
|
+
interface IScPopUpMenuProps {
|
|
784
|
+
/** Menu label text */
|
|
785
|
+
menu?: string;
|
|
786
|
+
/** Menu state */
|
|
787
|
+
state?: "default" | "clicked";
|
|
788
|
+
/** Icon element */
|
|
789
|
+
icon?: JSX.Element;
|
|
790
|
+
/** Click handler */
|
|
791
|
+
onClick?: (e: React$1.MouseEvent) => void;
|
|
792
|
+
/** Additional class name */
|
|
793
|
+
className?: string;
|
|
794
|
+
}
|
|
795
|
+
declare const ScPopUpMenu: ({ menu, state, icon, onClick, className, ...props }: IScPopUpMenuProps & React$1.HTMLAttributes<HTMLDivElement>) => JSX.Element;
|
|
796
|
+
|
|
797
|
+
interface IScReferralCardMobileProps {
|
|
798
|
+
/** User name */
|
|
799
|
+
name?: string;
|
|
800
|
+
/** User email */
|
|
801
|
+
email?: string;
|
|
802
|
+
/** Profile image URL */
|
|
803
|
+
imageUrl?: string;
|
|
804
|
+
/** Badge text */
|
|
805
|
+
badge?: string;
|
|
806
|
+
/** Date string */
|
|
807
|
+
date?: string;
|
|
808
|
+
/** Credit amount */
|
|
809
|
+
credits?: string;
|
|
810
|
+
/** Click handler */
|
|
811
|
+
onClick?: (e: React$1.MouseEvent) => void;
|
|
812
|
+
/** Additional class name */
|
|
813
|
+
className?: string;
|
|
814
|
+
}
|
|
815
|
+
declare const ScReferralCardMobile: ({ name, email, imageUrl, badge, date, credits, onClick, className, ...props }: IScReferralCardMobileProps & React$1.HTMLAttributes<HTMLDivElement>) => JSX.Element;
|
|
816
|
+
|
|
817
|
+
interface IInvoiceHistoryMobileProps {
|
|
818
|
+
invoiceId?: string;
|
|
819
|
+
date?: string;
|
|
820
|
+
amount?: string;
|
|
821
|
+
className?: string;
|
|
822
|
+
}
|
|
823
|
+
declare const InvoiceHistoryMobile: ({ invoiceId, date, amount, className, }: IInvoiceHistoryMobileProps) => JSX.Element;
|
|
824
|
+
|
|
825
|
+
interface IUsageHistoryMobileProps {
|
|
826
|
+
serviceName?: string;
|
|
827
|
+
credits?: string;
|
|
828
|
+
userName?: string;
|
|
829
|
+
date?: string;
|
|
830
|
+
balance?: string;
|
|
831
|
+
className?: string;
|
|
832
|
+
}
|
|
833
|
+
declare const UsageHistoryMobile: ({ serviceName, credits, userName, date, balance, className, }: IUsageHistoryMobileProps) => JSX.Element;
|
|
834
|
+
|
|
835
|
+
interface IScWorkspaceSwitchMobileV2Props {
|
|
836
|
+
/** Workspace name */
|
|
837
|
+
wsName?: string;
|
|
838
|
+
/** Workspace initials */
|
|
839
|
+
initials?: string;
|
|
840
|
+
/** Workspace profile image URL */
|
|
841
|
+
imageUrl?: string;
|
|
842
|
+
/** Role label */
|
|
843
|
+
role?: string;
|
|
844
|
+
/** Plan name */
|
|
845
|
+
plan?: string;
|
|
846
|
+
/** Owner email */
|
|
847
|
+
ownerId?: string;
|
|
848
|
+
/** Card type */
|
|
849
|
+
type?: "currentWS" | "otherWS" | "display";
|
|
850
|
+
/** Click handler */
|
|
851
|
+
onClick?: (e: React$1.MouseEvent) => void;
|
|
852
|
+
/** Additional class name */
|
|
853
|
+
className?: string;
|
|
854
|
+
}
|
|
855
|
+
declare const ScWorkspaceSwitchMobileV2: ({ wsName, initials, imageUrl, role, plan, ownerId, type, onClick, className, ...props }: IScWorkspaceSwitchMobileV2Props & React$1.HTMLAttributes<HTMLDivElement>) => JSX.Element;
|
|
856
|
+
|
|
857
|
+
interface IScImageFieldProps {
|
|
858
|
+
label?: string;
|
|
859
|
+
/** Preview URL (local blob or remote URL) */
|
|
860
|
+
imagePreview?: string | null;
|
|
861
|
+
/** File name to display when image is uploaded */
|
|
862
|
+
imageName?: string | null;
|
|
863
|
+
/** Called when user selects a file */
|
|
864
|
+
onFileSelect?: (file: File) => void;
|
|
865
|
+
/** Called when user removes the image */
|
|
866
|
+
onRemove?: () => void;
|
|
867
|
+
className?: string;
|
|
868
|
+
}
|
|
869
|
+
declare const ScImageField: ({ label, imagePreview, imageName, onFileSelect, onRemove, className, }: IScImageFieldProps) => JSX.Element;
|
|
870
|
+
|
|
871
|
+
interface IScSettingsTabCompProps {
|
|
872
|
+
tabName?: string;
|
|
873
|
+
active?: boolean;
|
|
874
|
+
onClick?: () => void;
|
|
875
|
+
className?: string;
|
|
876
|
+
}
|
|
877
|
+
declare const ScSettingsTabComp: ({ tabName, active, onClick, className, }: IScSettingsTabCompProps) => JSX.Element;
|
|
878
|
+
|
|
879
|
+
interface IScCreditsUsageCardMobileProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
880
|
+
usageLabel?: string;
|
|
881
|
+
usageText?: string;
|
|
882
|
+
remainingText?: string;
|
|
883
|
+
buyButtonText?: string;
|
|
884
|
+
onBuyClick?: () => void;
|
|
885
|
+
className?: string;
|
|
886
|
+
}
|
|
887
|
+
declare const ScCreditsUsageCardMobile: ({ usageLabel, usageText, remainingText, buyButtonText, onBuyClick, className, ...props }: IScCreditsUsageCardMobileProps) => JSX.Element;
|
|
888
|
+
|
|
889
|
+
interface IScPlanDetailsCardMobileProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
890
|
+
planName?: string;
|
|
891
|
+
planCredits?: string;
|
|
892
|
+
planPrice?: string;
|
|
893
|
+
badgeText?: string;
|
|
894
|
+
currentPlanLabel?: string;
|
|
895
|
+
upgradeButtonText?: string;
|
|
896
|
+
onUpgrade?: () => void;
|
|
897
|
+
className?: string;
|
|
582
898
|
}
|
|
583
|
-
declare
|
|
584
|
-
declare const ScWorkspaceSwitchCard: typeof NscWorkspaceSwitch;
|
|
899
|
+
declare const ScPlanDetailsCardMobile: ({ planName, planCredits, planPrice, badgeText, currentPlanLabel, upgradeButtonText, onUpgrade, className, ...props }: IScPlanDetailsCardMobileProps) => JSX.Element;
|
|
585
900
|
|
|
586
|
-
export { 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 IScCreditsUsageCardProps, type IScFieldButtonProps, type IScGoogleSignInProps, type IScHDividerProps, type IScHeaderProps, type IScIntialProfileCoverProps, type IScLogoUnitProps, type IScMenuOptionsProps, type IScOnlyFieldProps, type IScOnlyIconProps, type IScPairtextProps, type IScPendingActionProps, type IScPhtogenixInviteProps, type IScPlanCardProps, type IScPlanDetailsCardProps, type IScProfileImageUpdateProps, type IScProfileOptionsProps, type IScProfileProps, type IScProfileSettingsCompProps, type IScProgressBarProps, type IScQuickPromptProps, type IScRadioProps, type IScReferralTableHeaderProps, type IScReferralTableListProps, type IScRoleProps, type IScSettingsNavProps, type IScSidebarIconsProps, type IScSidebarMenuProps, type IScSidebarProfileProps, type IScSidebarProps, type IScSliderProps, type IScStrLogoProps, type IScTabCompProps, type IScTabFieldProps, type IScTabSwitcherProps, type IScTableHeaderProps, type IScTableListProps, type IScTextFieldProps, type IScToggleSwitchProps, type IScVDividerProps, type IScVersionProps, type IScWorkspaceCardProps,
|
|
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 };
|