@streamoid/ui 0.4.6 → 0.4.8
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 +114 -89
- package/dist/index.d.mts +9 -9
- package/dist/index.d.ts +9 -9
- package/dist/index.js +429 -427
- package/dist/index.mjs +430 -433
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -3737,81 +3737,27 @@
|
|
|
3737
3737
|
flex-shrink: 0;
|
|
3738
3738
|
color: var(--alias-text-and-icons-tertiary, #9e9e9e);
|
|
3739
3739
|
}
|
|
3740
|
-
.
|
|
3740
|
+
.ScArtifaxSidebar_profileRow {
|
|
3741
3741
|
display: flex;
|
|
3742
|
-
align-items: center;
|
|
3743
|
-
padding: var(--spacing-md, 0.5rem) var(--spacing-xl, 0.75rem);
|
|
3744
|
-
border-radius: var(--radius-3xl, 1rem);
|
|
3745
|
-
cursor: pointer;
|
|
3746
|
-
height: 2.5rem;
|
|
3747
3742
|
width: 100%;
|
|
3748
|
-
flex-shrink: 0;
|
|
3749
|
-
background: transparent;
|
|
3750
|
-
border: none;
|
|
3751
|
-
text-align: left;
|
|
3752
|
-
}
|
|
3753
|
-
.ScArtifaxSidebar_switchAppRow:hover {
|
|
3754
|
-
background: var(--alias-fill-neutral-neutral, #1a1a1a);
|
|
3755
|
-
}
|
|
3756
|
-
.ScArtifaxSidebar_switchAppIconBox {
|
|
3757
|
-
width: 2rem;
|
|
3758
|
-
height: 2rem;
|
|
3759
|
-
display: flex;
|
|
3760
3743
|
align-items: center;
|
|
3761
|
-
|
|
3744
|
+
gap: var(--spacing-xs, 0.25rem);
|
|
3762
3745
|
flex-shrink: 0;
|
|
3763
3746
|
}
|
|
3764
|
-
.
|
|
3765
|
-
|
|
3766
|
-
height: 1.75rem;
|
|
3767
|
-
}
|
|
3768
|
-
.ScArtifaxSidebar_switchAppLabel {
|
|
3747
|
+
.ScArtifaxSidebar_profileMain {
|
|
3748
|
+
display: flex;
|
|
3769
3749
|
flex: 1 1 0;
|
|
3770
3750
|
min-width: 0;
|
|
3771
|
-
font-family: var(--font-family-font-family-body, "Inter", sans-serif);
|
|
3772
|
-
font-size: 0.875rem;
|
|
3773
|
-
font-weight: 400;
|
|
3774
|
-
line-height: 1.25rem;
|
|
3775
|
-
color: var(--alias-text-and-icons-primary, #f5f5f5);
|
|
3776
|
-
margin-left: var(--spacing-md, 0.5rem);
|
|
3777
|
-
overflow: hidden;
|
|
3778
|
-
text-overflow: ellipsis;
|
|
3779
|
-
white-space: nowrap;
|
|
3780
|
-
}
|
|
3781
|
-
.ScArtifaxSidebar_switchAppRowCollapsed {
|
|
3782
|
-
display: flex;
|
|
3783
|
-
align-items: center;
|
|
3784
|
-
justify-content: center;
|
|
3785
|
-
padding: var(--spacing-md, 0.5rem);
|
|
3786
|
-
border-radius: var(--radius-3xl, 1rem);
|
|
3787
|
-
background: transparent;
|
|
3788
|
-
border: none;
|
|
3789
|
-
cursor: pointer;
|
|
3790
|
-
width: 2.5rem;
|
|
3791
|
-
height: 2.5rem;
|
|
3792
|
-
flex-shrink: 0;
|
|
3793
|
-
}
|
|
3794
|
-
.ScArtifaxSidebar_switchAppRowCollapsed:hover {
|
|
3795
|
-
background: var(--alias-fill-neutral-neutral, #1a1a1a);
|
|
3796
|
-
}
|
|
3797
|
-
.ScArtifaxSidebar_switchAppRowCollapsed > * {
|
|
3798
|
-
width: 1.75rem;
|
|
3799
|
-
height: 1.75rem;
|
|
3800
|
-
}
|
|
3801
|
-
.ScArtifaxSidebar_profileRow {
|
|
3802
|
-
display: flex;
|
|
3803
|
-
width: 100%;
|
|
3804
3751
|
align-items: center;
|
|
3805
3752
|
gap: var(--spacing-md, 0.5rem);
|
|
3806
3753
|
padding: var(--spacing-md, 0.5rem) var(--spacing-xl, 0.75rem);
|
|
3807
3754
|
border-radius: var(--radius-3xl, 1rem);
|
|
3808
3755
|
cursor: pointer;
|
|
3809
|
-
flex-shrink: 0;
|
|
3810
3756
|
background: transparent;
|
|
3811
3757
|
border: none;
|
|
3812
3758
|
text-align: left;
|
|
3813
3759
|
}
|
|
3814
|
-
.
|
|
3760
|
+
.ScArtifaxSidebar_profileMain:hover {
|
|
3815
3761
|
background: var(--alias-fill-neutral-neutral, #1a1a1a);
|
|
3816
3762
|
}
|
|
3817
3763
|
.ScArtifaxSidebar_profileRowCollapsed {
|
|
@@ -3880,26 +3826,6 @@
|
|
|
3880
3826
|
align-items: center;
|
|
3881
3827
|
justify-content: center;
|
|
3882
3828
|
}
|
|
3883
|
-
.ScArtifaxSidebar_footerExpanded {
|
|
3884
|
-
display: flex;
|
|
3885
|
-
align-items: center;
|
|
3886
|
-
gap: var(--spacing-xs, 0.25rem);
|
|
3887
|
-
padding: var(--spacing-xs, 0.25rem) var(--spacing-xs, 0.25rem) var(--spacing-xs, 0.25rem) var(--spacing-xl, 0.75rem);
|
|
3888
|
-
width: 100%;
|
|
3889
|
-
flex-shrink: 0;
|
|
3890
|
-
}
|
|
3891
|
-
.ScArtifaxSidebar_footerVersion {
|
|
3892
|
-
flex: 1 1 0;
|
|
3893
|
-
min-width: 0;
|
|
3894
|
-
font-family: var(--font-family-font-family-body, "Inter", sans-serif);
|
|
3895
|
-
font-size: 0.75rem;
|
|
3896
|
-
font-weight: 400;
|
|
3897
|
-
line-height: 1.125rem;
|
|
3898
|
-
color: var(--alias-text-and-icons-muted, #7a7a7a);
|
|
3899
|
-
overflow: hidden;
|
|
3900
|
-
text-overflow: ellipsis;
|
|
3901
|
-
white-space: nowrap;
|
|
3902
|
-
}
|
|
3903
3829
|
.ScArtifaxSidebar_footerToggle {
|
|
3904
3830
|
display: flex;
|
|
3905
3831
|
align-items: center;
|
|
@@ -3927,14 +3853,6 @@
|
|
|
3927
3853
|
width: 100%;
|
|
3928
3854
|
flex-shrink: 0;
|
|
3929
3855
|
}
|
|
3930
|
-
.ScArtifaxSidebar_footerVersionCenter {
|
|
3931
|
-
font-family: var(--font-family-font-family-body, "Inter", sans-serif);
|
|
3932
|
-
font-size: 0.75rem;
|
|
3933
|
-
font-weight: 400;
|
|
3934
|
-
line-height: 1.125rem;
|
|
3935
|
-
color: var(--alias-text-and-icons-muted, #7a7a7a);
|
|
3936
|
-
text-align: center;
|
|
3937
|
-
}
|
|
3938
3856
|
.ScArtifaxSidebar_placeholderIcon {
|
|
3939
3857
|
width: 1.25rem;
|
|
3940
3858
|
height: 1.25rem;
|
|
@@ -4123,22 +4041,35 @@
|
|
|
4123
4041
|
}
|
|
4124
4042
|
.ScSideBarLogoUnit_collapsedTrigger {
|
|
4125
4043
|
display: inline-flex;
|
|
4044
|
+
flex-direction: column;
|
|
4126
4045
|
align-items: center;
|
|
4127
4046
|
justify-content: center;
|
|
4047
|
+
gap: var(--spacing-md, 0.5rem);
|
|
4128
4048
|
background: transparent;
|
|
4129
4049
|
border: none;
|
|
4130
|
-
padding: 0;
|
|
4050
|
+
padding: var(--spacing-md, 0.5rem);
|
|
4051
|
+
border-radius: var(--radius-xl, 0.75rem);
|
|
4131
4052
|
cursor: pointer;
|
|
4132
4053
|
flex-shrink: 0;
|
|
4054
|
+
transition: background-color 120ms ease-out;
|
|
4133
4055
|
}
|
|
4134
4056
|
.ScSideBarLogoUnit_collapsedTrigger:disabled,
|
|
4135
4057
|
.ScSideBarLogoUnit_collapsedTrigger.ScSideBarLogoUnit_nonInteractive {
|
|
4136
4058
|
cursor: default;
|
|
4137
4059
|
}
|
|
4138
|
-
.ScSideBarLogoUnit_collapsedTrigger
|
|
4060
|
+
.ScSideBarLogoUnit_collapsedTrigger:hover,
|
|
4061
|
+
.ScSideBarLogoUnit_collapsedTrigger.ScSideBarLogoUnit_forceHover {
|
|
4062
|
+
background-color: var(--alias-surface-subtle, #1a1a1a);
|
|
4063
|
+
}
|
|
4064
|
+
.ScSideBarLogoUnit_collapsedWordmarkSlot {
|
|
4139
4065
|
display: inline-flex;
|
|
4140
4066
|
align-items: center;
|
|
4141
4067
|
justify-content: center;
|
|
4068
|
+
flex-shrink: 0;
|
|
4069
|
+
}
|
|
4070
|
+
.ScSideBarLogoUnit_collapsedTrigger:hover .ScSideBarLogoUnit_switch,
|
|
4071
|
+
.ScSideBarLogoUnit_collapsedTrigger.ScSideBarLogoUnit_forceHover .ScSideBarLogoUnit_switch {
|
|
4072
|
+
background-color: var(--alias-fill-neutral-neutralplus, #151515);
|
|
4142
4073
|
}
|
|
4143
4074
|
|
|
4144
4075
|
/* src/SC-Slider/ScSlider.module.css */
|
|
@@ -4480,6 +4411,100 @@
|
|
|
4480
4411
|
flex-shrink: 0;
|
|
4481
4412
|
}
|
|
4482
4413
|
|
|
4414
|
+
/* src/SC-BriefCard/ScBriefCard.module.css */
|
|
4415
|
+
.ScBriefCard_scBriefCard,
|
|
4416
|
+
.ScBriefCard_scBriefCard * {
|
|
4417
|
+
box-sizing: border-box;
|
|
4418
|
+
}
|
|
4419
|
+
.ScBriefCard_cardBorder {
|
|
4420
|
+
padding: 1px;
|
|
4421
|
+
border-radius: var(--radius-3xl, 1rem);
|
|
4422
|
+
background: var(--alias-border-subtle, #242424);
|
|
4423
|
+
transition: background 0.6s ease;
|
|
4424
|
+
}
|
|
4425
|
+
.ScBriefCard_cardBorder:hover {
|
|
4426
|
+
background:
|
|
4427
|
+
linear-gradient(
|
|
4428
|
+
135deg,
|
|
4429
|
+
var(--alias-border-subtle, #242424) 0%,
|
|
4430
|
+
var(--alias-border-subtle, #242424) 50%,
|
|
4431
|
+
#EE5E3A 100%);
|
|
4432
|
+
}
|
|
4433
|
+
.ScBriefCard_scBriefCard {
|
|
4434
|
+
background: var(--alias-surface-base, #101010);
|
|
4435
|
+
border-radius: calc(var(--radius-3xl, 1rem) - 1px);
|
|
4436
|
+
padding: var(--spacing-5xl, 1.25rem) var(--spacing-3xl, 1rem);
|
|
4437
|
+
display: flex;
|
|
4438
|
+
flex-direction: column;
|
|
4439
|
+
gap: var(--spacing-xl, 0.75rem);
|
|
4440
|
+
align-items: center;
|
|
4441
|
+
justify-content: center;
|
|
4442
|
+
position: relative;
|
|
4443
|
+
overflow: clip;
|
|
4444
|
+
backdrop-filter: blur(4px);
|
|
4445
|
+
cursor: pointer;
|
|
4446
|
+
height: 100%;
|
|
4447
|
+
}
|
|
4448
|
+
.ScBriefCard_scBriefCardActive {
|
|
4449
|
+
background: var(--alias-surface-raised, #242424);
|
|
4450
|
+
}
|
|
4451
|
+
.ScBriefCard_glow {
|
|
4452
|
+
position: absolute;
|
|
4453
|
+
bottom: -1px;
|
|
4454
|
+
right: -1px;
|
|
4455
|
+
width: 99px;
|
|
4456
|
+
height: 50px;
|
|
4457
|
+
pointer-events: none;
|
|
4458
|
+
border-radius: 50%;
|
|
4459
|
+
background: none;
|
|
4460
|
+
transition: opacity 0.2s ease;
|
|
4461
|
+
}
|
|
4462
|
+
.ScBriefCard_cardBorder:hover .ScBriefCard_glow {
|
|
4463
|
+
opacity: 0;
|
|
4464
|
+
}
|
|
4465
|
+
.ScBriefCard_glowHover {
|
|
4466
|
+
position: absolute;
|
|
4467
|
+
inset: 0;
|
|
4468
|
+
pointer-events: none;
|
|
4469
|
+
opacity: 0;
|
|
4470
|
+
transition: opacity 0.6s ease;
|
|
4471
|
+
border-radius: inherit;
|
|
4472
|
+
background:
|
|
4473
|
+
radial-gradient(
|
|
4474
|
+
ellipse at 85% 90%,
|
|
4475
|
+
rgba(200, 60, 20, 0.50) 0%,
|
|
4476
|
+
rgba(200, 60, 20, 0.28) 20%,
|
|
4477
|
+
rgba(180, 50, 15, 0.14) 40%,
|
|
4478
|
+
rgba(140, 40, 10, 0.06) 60%,
|
|
4479
|
+
rgba(100, 30, 10, 0.02) 80%,
|
|
4480
|
+
transparent 100%);
|
|
4481
|
+
}
|
|
4482
|
+
.ScBriefCard_cardBorder:hover .ScBriefCard_glowHover {
|
|
4483
|
+
opacity: 1;
|
|
4484
|
+
}
|
|
4485
|
+
.ScBriefCard_body {
|
|
4486
|
+
display: flex;
|
|
4487
|
+
flex-direction: column;
|
|
4488
|
+
gap: var(--spacing-xs, 0.25rem);
|
|
4489
|
+
align-items: center;
|
|
4490
|
+
justify-content: center;
|
|
4491
|
+
width: 100%;
|
|
4492
|
+
position: relative;
|
|
4493
|
+
flex-shrink: 0;
|
|
4494
|
+
}
|
|
4495
|
+
.ScBriefCard_description {
|
|
4496
|
+
color: var(--alias-text-and-icons-primary, #f5f5f5);
|
|
4497
|
+
font-family: var( --text-text-xs-regular-font-family, "Inter-Regular", sans-serif );
|
|
4498
|
+
font-size: var(--text-text-xs-regular-font-size, 0.75rem);
|
|
4499
|
+
line-height: var(--text-text-xs-regular-line-height, 1.125rem);
|
|
4500
|
+
font-weight: var(--text-text-xs-regular-font-weight, 400);
|
|
4501
|
+
text-align: center;
|
|
4502
|
+
width: 100%;
|
|
4503
|
+
position: relative;
|
|
4504
|
+
flex-shrink: 0;
|
|
4505
|
+
word-break: break-word;
|
|
4506
|
+
}
|
|
4507
|
+
|
|
4483
4508
|
/* src/SC-appField/ScAppField.module.css */
|
|
4484
4509
|
.ScAppField_scAppField,
|
|
4485
4510
|
.ScAppField_scAppField * {
|
package/dist/index.d.mts
CHANGED
|
@@ -355,11 +355,6 @@ interface ArtifaxSidebarCreditWarning {
|
|
|
355
355
|
level?: "warning" | "danger";
|
|
356
356
|
onBuyCredits: () => void;
|
|
357
357
|
}
|
|
358
|
-
interface ArtifaxSidebarSwitchApp {
|
|
359
|
-
label?: string;
|
|
360
|
-
icon?: ReactNode;
|
|
361
|
-
onClick?: () => void;
|
|
362
|
-
}
|
|
363
358
|
interface IScArtifaxSidebarProps {
|
|
364
359
|
expanded: boolean;
|
|
365
360
|
onToggle: () => void;
|
|
@@ -370,16 +365,14 @@ interface IScArtifaxSidebarProps {
|
|
|
370
365
|
expandedLogo?: ReactNode;
|
|
371
366
|
collapsedLogo?: ReactNode;
|
|
372
367
|
creditWarning?: ArtifaxSidebarCreditWarning | null;
|
|
373
|
-
switchApp?: ArtifaxSidebarSwitchApp;
|
|
374
368
|
profile?: ArtifaxSidebarProfile;
|
|
375
|
-
versionText?: string;
|
|
376
369
|
toggleIcon?: ReactNode | ((expanded: boolean) => ReactNode);
|
|
377
370
|
openSections?: Record<string, boolean>;
|
|
378
371
|
onSectionToggle?: (sectionId: string, open: boolean) => void;
|
|
379
372
|
className?: string;
|
|
380
373
|
style?: CSSProperties;
|
|
381
374
|
}
|
|
382
|
-
declare const ScArtifaxSidebar: ({ expanded, onToggle, sections, iconMap, activeItemId, onItemSelect, expandedLogo, collapsedLogo, creditWarning,
|
|
375
|
+
declare const ScArtifaxSidebar: ({ expanded, onToggle, sections, iconMap, activeItemId, onItemSelect, expandedLogo, collapsedLogo, creditWarning, profile, toggleIcon, openSections, onSectionToggle, className, style, }: IScArtifaxSidebarProps) => JSX.Element;
|
|
383
376
|
|
|
384
377
|
interface IScGuideProps {
|
|
385
378
|
/** Heading text. */
|
|
@@ -520,6 +513,13 @@ interface IScAppCardV3Props extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
520
513
|
}
|
|
521
514
|
declare const ScAppCardV3: ({ appIcon, appName, description, active, className, style, ...props }: IScAppCardV3Props) => JSX.Element;
|
|
522
515
|
|
|
516
|
+
interface IScBriefCardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
517
|
+
description?: string;
|
|
518
|
+
active?: boolean;
|
|
519
|
+
className?: string;
|
|
520
|
+
}
|
|
521
|
+
declare const ScBriefCard: ({ description, active, className, style, ...props }: IScBriefCardProps) => JSX.Element;
|
|
522
|
+
|
|
523
523
|
interface IScAppFieldProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
524
524
|
appFieldTitle?: string;
|
|
525
525
|
className?: string;
|
|
@@ -1055,4 +1055,4 @@ interface IScPlanDetailsCardMobileProps extends React.HTMLAttributes<HTMLDivElem
|
|
|
1055
1055
|
}
|
|
1056
1056
|
declare const ScPlanDetailsCardMobile: ({ planName, planCredits, planPrice, badgeText, currentPlanLabel, upgradeButtonText, onUpgrade, className, ...props }: IScPlanDetailsCardMobileProps) => JSX.Element;
|
|
1057
1057
|
|
|
1058
|
-
export { type ArtifaxMenuItem, type ArtifaxSection, type ArtifaxSidebarCreditWarning, type ArtifaxSidebarIconContext, type ArtifaxSidebarIconMap, type ArtifaxSidebarIconRenderer, type ArtifaxSidebarProfile,
|
|
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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -355,11 +355,6 @@ interface ArtifaxSidebarCreditWarning {
|
|
|
355
355
|
level?: "warning" | "danger";
|
|
356
356
|
onBuyCredits: () => void;
|
|
357
357
|
}
|
|
358
|
-
interface ArtifaxSidebarSwitchApp {
|
|
359
|
-
label?: string;
|
|
360
|
-
icon?: ReactNode;
|
|
361
|
-
onClick?: () => void;
|
|
362
|
-
}
|
|
363
358
|
interface IScArtifaxSidebarProps {
|
|
364
359
|
expanded: boolean;
|
|
365
360
|
onToggle: () => void;
|
|
@@ -370,16 +365,14 @@ interface IScArtifaxSidebarProps {
|
|
|
370
365
|
expandedLogo?: ReactNode;
|
|
371
366
|
collapsedLogo?: ReactNode;
|
|
372
367
|
creditWarning?: ArtifaxSidebarCreditWarning | null;
|
|
373
|
-
switchApp?: ArtifaxSidebarSwitchApp;
|
|
374
368
|
profile?: ArtifaxSidebarProfile;
|
|
375
|
-
versionText?: string;
|
|
376
369
|
toggleIcon?: ReactNode | ((expanded: boolean) => ReactNode);
|
|
377
370
|
openSections?: Record<string, boolean>;
|
|
378
371
|
onSectionToggle?: (sectionId: string, open: boolean) => void;
|
|
379
372
|
className?: string;
|
|
380
373
|
style?: CSSProperties;
|
|
381
374
|
}
|
|
382
|
-
declare const ScArtifaxSidebar: ({ expanded, onToggle, sections, iconMap, activeItemId, onItemSelect, expandedLogo, collapsedLogo, creditWarning,
|
|
375
|
+
declare const ScArtifaxSidebar: ({ expanded, onToggle, sections, iconMap, activeItemId, onItemSelect, expandedLogo, collapsedLogo, creditWarning, profile, toggleIcon, openSections, onSectionToggle, className, style, }: IScArtifaxSidebarProps) => JSX.Element;
|
|
383
376
|
|
|
384
377
|
interface IScGuideProps {
|
|
385
378
|
/** Heading text. */
|
|
@@ -520,6 +513,13 @@ interface IScAppCardV3Props extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
520
513
|
}
|
|
521
514
|
declare const ScAppCardV3: ({ appIcon, appName, description, active, className, style, ...props }: IScAppCardV3Props) => JSX.Element;
|
|
522
515
|
|
|
516
|
+
interface IScBriefCardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
517
|
+
description?: string;
|
|
518
|
+
active?: boolean;
|
|
519
|
+
className?: string;
|
|
520
|
+
}
|
|
521
|
+
declare const ScBriefCard: ({ description, active, className, style, ...props }: IScBriefCardProps) => JSX.Element;
|
|
522
|
+
|
|
523
523
|
interface IScAppFieldProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
524
524
|
appFieldTitle?: string;
|
|
525
525
|
className?: string;
|
|
@@ -1055,4 +1055,4 @@ interface IScPlanDetailsCardMobileProps extends React.HTMLAttributes<HTMLDivElem
|
|
|
1055
1055
|
}
|
|
1056
1056
|
declare const ScPlanDetailsCardMobile: ({ planName, planCredits, planPrice, badgeText, currentPlanLabel, upgradeButtonText, onUpgrade, className, ...props }: IScPlanDetailsCardMobileProps) => JSX.Element;
|
|
1057
1057
|
|
|
1058
|
-
export { type ArtifaxMenuItem, type ArtifaxSection, type ArtifaxSidebarCreditWarning, type ArtifaxSidebarIconContext, type ArtifaxSidebarIconMap, type ArtifaxSidebarIconRenderer, type ArtifaxSidebarProfile,
|
|
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 };
|