@streamoid/ui 0.5.1 → 0.5.2
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 +133 -1
- package/dist/index.d.mts +6 -2
- package/dist/index.d.ts +6 -2
- package/dist/index.js +74 -26
- package/dist/index.mjs +129 -81
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -2530,10 +2530,31 @@
|
|
|
2530
2530
|
.ScPlanDetailsCard_scPairtextInstance {
|
|
2531
2531
|
flex: 1 !important;
|
|
2532
2532
|
}
|
|
2533
|
+
.ScPlanDetailsCard_badgeGroup {
|
|
2534
|
+
display: flex;
|
|
2535
|
+
align-items: center;
|
|
2536
|
+
gap: var(--spacing-sm, 0.375rem);
|
|
2537
|
+
min-width: 0;
|
|
2538
|
+
}
|
|
2533
2539
|
.ScPlanDetailsCard_scBadgesInstance {
|
|
2534
2540
|
width: 3.3125rem !important;
|
|
2535
2541
|
align-self: unset !important;
|
|
2536
2542
|
}
|
|
2543
|
+
.ScPlanDetailsCard_badgeDot {
|
|
2544
|
+
width: 0.25rem;
|
|
2545
|
+
height: 0.25rem;
|
|
2546
|
+
border-radius: var(--radius-full, 999px);
|
|
2547
|
+
background: var(--alias-text-and-icons-tertiary, #9e9e9e);
|
|
2548
|
+
flex-shrink: 0;
|
|
2549
|
+
}
|
|
2550
|
+
.ScPlanDetailsCard_badgeSubText {
|
|
2551
|
+
color: var(--alias-text-and-icons-tertiary, #9e9e9e);
|
|
2552
|
+
font-family: var(--text-text-sm-medium-font-family, "Inter-Medium", sans-serif);
|
|
2553
|
+
font-size: var(--text-text-sm-medium-font-size, 0.875rem);
|
|
2554
|
+
line-height: var(--text-text-sm-medium-line-height, 1.25rem);
|
|
2555
|
+
font-weight: var(--text-text-sm-medium-font-weight, 500);
|
|
2556
|
+
white-space: nowrap;
|
|
2557
|
+
}
|
|
2537
2558
|
.ScPlanDetailsCard_scHDividerInstance {
|
|
2538
2559
|
align-self: stretch !important;
|
|
2539
2560
|
flex-shrink: 0 !important;
|
|
@@ -2601,7 +2622,53 @@
|
|
|
2601
2622
|
}
|
|
2602
2623
|
.ScPlanDetailsCard_scButtonInstance {
|
|
2603
2624
|
flex-shrink: 0 !important;
|
|
2604
|
-
width: 7.5rem !important;
|
|
2625
|
+
min-width: 7.5rem !important;
|
|
2626
|
+
width: auto !important;
|
|
2627
|
+
}
|
|
2628
|
+
.ScPlanDetailsCard_skeletonPill {
|
|
2629
|
+
display: block;
|
|
2630
|
+
border-radius: var(--radius-full, 999px);
|
|
2631
|
+
background:
|
|
2632
|
+
linear-gradient(
|
|
2633
|
+
90deg,
|
|
2634
|
+
var(--alias-fill-neutral-neutral, #242424) 0%,
|
|
2635
|
+
var(--alias-border-subtle, #333333) 45%,
|
|
2636
|
+
var(--alias-fill-neutral-neutral, #242424) 90%);
|
|
2637
|
+
background-size: 200% 100%;
|
|
2638
|
+
animation: ScPlanDetailsCard_skeletonShimmer 1.1s ease-in-out infinite;
|
|
2639
|
+
}
|
|
2640
|
+
.ScPlanDetailsCard_badgeSkeleton {
|
|
2641
|
+
width: 3.3125rem;
|
|
2642
|
+
height: 1.75rem;
|
|
2643
|
+
}
|
|
2644
|
+
.ScPlanDetailsCard_planNameSkeleton {
|
|
2645
|
+
width: 4.25rem;
|
|
2646
|
+
height: 1.25rem;
|
|
2647
|
+
}
|
|
2648
|
+
.ScPlanDetailsCard_creditsSkeleton {
|
|
2649
|
+
width: 7.5rem;
|
|
2650
|
+
height: 1.25rem;
|
|
2651
|
+
margin-left: var(--spacing-md, 0.5rem);
|
|
2652
|
+
}
|
|
2653
|
+
.ScPlanDetailsCard_priceSkeleton {
|
|
2654
|
+
width: 5rem;
|
|
2655
|
+
height: 0.875rem;
|
|
2656
|
+
margin-top: 0.375rem;
|
|
2657
|
+
align-self: flex-start;
|
|
2658
|
+
}
|
|
2659
|
+
.ScPlanDetailsCard_buttonSkeleton {
|
|
2660
|
+
flex-shrink: 0;
|
|
2661
|
+
width: 7.5rem;
|
|
2662
|
+
height: 2.5rem;
|
|
2663
|
+
border-radius: var(--radius-xl, 0.75rem);
|
|
2664
|
+
}
|
|
2665
|
+
@keyframes ScPlanDetailsCard_skeletonShimmer {
|
|
2666
|
+
0% {
|
|
2667
|
+
background-position: 100% 0;
|
|
2668
|
+
}
|
|
2669
|
+
100% {
|
|
2670
|
+
background-position: -100% 0;
|
|
2671
|
+
}
|
|
2605
2672
|
}
|
|
2606
2673
|
|
|
2607
2674
|
/* src/SC-Profile/ScProfile.module.css */
|
|
@@ -7155,10 +7222,75 @@
|
|
|
7155
7222
|
font-weight: 500;
|
|
7156
7223
|
width: 100%;
|
|
7157
7224
|
}
|
|
7225
|
+
.ScPlanDetailsCardMobile_badgeGroup {
|
|
7226
|
+
display: flex;
|
|
7227
|
+
align-items: center;
|
|
7228
|
+
gap: var(--spacing-sm, 0.375rem);
|
|
7229
|
+
min-width: 0;
|
|
7230
|
+
}
|
|
7158
7231
|
.ScPlanDetailsCardMobile_scBadgesInstance {
|
|
7159
7232
|
flex-shrink: 0 !important;
|
|
7160
7233
|
}
|
|
7234
|
+
.ScPlanDetailsCardMobile_badgeDot {
|
|
7235
|
+
width: 0.25rem;
|
|
7236
|
+
height: 0.25rem;
|
|
7237
|
+
border-radius: var(--radius-full, 999px);
|
|
7238
|
+
background: var(--alias-text-and-icons-tertiary, #9e9e9e);
|
|
7239
|
+
flex-shrink: 0;
|
|
7240
|
+
}
|
|
7241
|
+
.ScPlanDetailsCardMobile_badgeSubText {
|
|
7242
|
+
color: var(--alias-text-and-icons-tertiary, #9e9e9e);
|
|
7243
|
+
font-family: var(--font-family-font-family-body, "Inter", sans-serif);
|
|
7244
|
+
font-size: var(--font-size-font-size-sm, 0.875rem);
|
|
7245
|
+
line-height: var(--line-height-line-height-sm, 1.25rem);
|
|
7246
|
+
font-weight: 500;
|
|
7247
|
+
white-space: nowrap;
|
|
7248
|
+
}
|
|
7161
7249
|
.ScPlanDetailsCardMobile_scButtonInstance {
|
|
7162
7250
|
width: 100% !important;
|
|
7163
7251
|
flex-shrink: 0 !important;
|
|
7164
7252
|
}
|
|
7253
|
+
.ScPlanDetailsCardMobile_skeletonPill {
|
|
7254
|
+
display: block;
|
|
7255
|
+
border-radius: var(--radius-full, 999px);
|
|
7256
|
+
background:
|
|
7257
|
+
linear-gradient(
|
|
7258
|
+
90deg,
|
|
7259
|
+
var(--alias-fill-neutral-neutral, #242424) 0%,
|
|
7260
|
+
var(--alias-border-subtle, #333333) 45%,
|
|
7261
|
+
var(--alias-fill-neutral-neutral, #242424) 90%);
|
|
7262
|
+
background-size: 200% 100%;
|
|
7263
|
+
animation: ScPlanDetailsCardMobile_skeletonShimmer 1.1s ease-in-out infinite;
|
|
7264
|
+
}
|
|
7265
|
+
.ScPlanDetailsCardMobile_badgeSkeleton {
|
|
7266
|
+
width: 3.3125rem;
|
|
7267
|
+
height: 1.75rem;
|
|
7268
|
+
}
|
|
7269
|
+
.ScPlanDetailsCardMobile_planNameSkeleton {
|
|
7270
|
+
width: 4.25rem;
|
|
7271
|
+
height: 1.25rem;
|
|
7272
|
+
}
|
|
7273
|
+
.ScPlanDetailsCardMobile_creditsSkeleton {
|
|
7274
|
+
width: 7.5rem;
|
|
7275
|
+
height: 1.25rem;
|
|
7276
|
+
margin-left: var(--spacing-md, 0.5rem);
|
|
7277
|
+
}
|
|
7278
|
+
.ScPlanDetailsCardMobile_priceSkeleton {
|
|
7279
|
+
width: 5rem;
|
|
7280
|
+
height: 0.875rem;
|
|
7281
|
+
margin-top: 0.375rem;
|
|
7282
|
+
align-self: flex-start;
|
|
7283
|
+
}
|
|
7284
|
+
.ScPlanDetailsCardMobile_buttonSkeleton {
|
|
7285
|
+
width: 100%;
|
|
7286
|
+
height: 2.5rem;
|
|
7287
|
+
border-radius: var(--radius-xl, 0.75rem);
|
|
7288
|
+
}
|
|
7289
|
+
@keyframes ScPlanDetailsCardMobile_skeletonShimmer {
|
|
7290
|
+
0% {
|
|
7291
|
+
background-position: 100% 0;
|
|
7292
|
+
}
|
|
7293
|
+
100% {
|
|
7294
|
+
background-position: -100% 0;
|
|
7295
|
+
}
|
|
7296
|
+
}
|
package/dist/index.d.mts
CHANGED
|
@@ -205,12 +205,14 @@ interface IScPlanDetailsCardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
205
205
|
planCredits?: string;
|
|
206
206
|
planPrice?: string;
|
|
207
207
|
badgeText?: string;
|
|
208
|
+
badgeSubText?: string;
|
|
208
209
|
currentPlanLabel?: string;
|
|
209
210
|
upgradeButtonText?: string;
|
|
211
|
+
isLoading?: boolean;
|
|
210
212
|
onUpgrade?: () => void;
|
|
211
213
|
className?: string;
|
|
212
214
|
}
|
|
213
|
-
declare const ScPlanDetailsCard: ({ planName, planCredits, planPrice, badgeText, currentPlanLabel, upgradeButtonText, onUpgrade, className, ...props }: IScPlanDetailsCardProps) => JSX.Element;
|
|
215
|
+
declare const ScPlanDetailsCard: ({ planName, planCredits, planPrice, badgeText, badgeSubText, currentPlanLabel, upgradeButtonText, isLoading, onUpgrade, className, ...props }: IScPlanDetailsCardProps) => JSX.Element;
|
|
214
216
|
|
|
215
217
|
interface IScProfileProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
216
218
|
name?: string;
|
|
@@ -1069,11 +1071,13 @@ interface IScPlanDetailsCardMobileProps extends React.HTMLAttributes<HTMLDivElem
|
|
|
1069
1071
|
planCredits?: string;
|
|
1070
1072
|
planPrice?: string;
|
|
1071
1073
|
badgeText?: string;
|
|
1074
|
+
badgeSubText?: string;
|
|
1072
1075
|
currentPlanLabel?: string;
|
|
1073
1076
|
upgradeButtonText?: string;
|
|
1077
|
+
isLoading?: boolean;
|
|
1074
1078
|
onUpgrade?: () => void;
|
|
1075
1079
|
className?: string;
|
|
1076
1080
|
}
|
|
1077
|
-
declare const ScPlanDetailsCardMobile: ({ planName, planCredits, planPrice, badgeText, currentPlanLabel, upgradeButtonText, onUpgrade, className, ...props }: IScPlanDetailsCardMobileProps) => JSX.Element;
|
|
1081
|
+
declare const ScPlanDetailsCardMobile: ({ planName, planCredits, planPrice, badgeText, badgeSubText, currentPlanLabel, upgradeButtonText, isLoading, onUpgrade, className, ...props }: IScPlanDetailsCardMobileProps) => JSX.Element;
|
|
1078
1082
|
|
|
1079
1083
|
export { type ArtifaxMenuItem, type ArtifaxSection, type ArtifaxSidebarAssistantCta, type ArtifaxSidebarCreditWarning, type ArtifaxSidebarIconContext, type ArtifaxSidebarIconMap, type ArtifaxSidebarIconRenderer, type ArtifaxSidebarProfile, CreditWarningBanner, type CreditWarningBannerProps, type IInvoiceHistoryMobileProps, type IScAccessProps, type IScAppCardProps, type IScAppCardV3Props, type IScAppFieldProps, type IScAppListingCardProps, type IScArtifaxInviteProps, type IScArtifaxSidebarProps, type IScBadgesProps, type IScBillingHistoryHeaderProps, type IScBillingHistoryTableListProps, type IScBillingLogsTableHeaderProps, type IScBillingLogsTableListProps, type IScBriefCardProps, type IScButtonProps, type IScCalendarDateCompsProps, type IScCalendarProps, type IScCatalogixInviteProps, type IScCheckFieldProps, type IScCheckboxProps, type IScCreditsUsageCardMobileProps, type IScCreditsUsageCardProps, type IScFieldButtonProps, type IScGoogleSignInProps, type IScGuideProps, type IScHDividerProps, type IScHeaderProps, type IScImageFieldProps, type IScIntialProfileCoverProps, type IScLogoUnitProps, type IScMenuOptionsProps, type IScMobileBottomActionProps, type IScMobileTopNavProps, type IScOnlyFieldProps, type IScOnlyIconProps, type IScPairtextProps, type IScPendingActionProps, type IScPhtogenixInviteProps, type IScPlanCardProps, type IScPlanDetailsCardMobileProps, type IScPlanDetailsCardProps, type IScPopUpMenuProps, type IScProfileImageUpdateProps, type IScProfileOptionsProps, type IScProfileProps, type IScProfileSettingsCompProps, type IScProfileV2MobileProps, type IScProgressBarProps, type IScQuickPromptProps, type IScRadioProps, type IScReferralCardMobileProps, type IScReferralTableHeaderProps, type IScReferralTableListProps, type IScRoleMobileProps, type IScRoleProps, type IScSettingsNavProps, type IScSettingsTabCompProps, type IScSideBarLogoUnitProps, type IScSidebarIconsProps, type IScSidebarMenuProps, type IScSidebarProfileProps, type IScSidebarProps, type IScSliderProps, type IScStrLogoProps, type IScTabCompProps, type IScTabFieldProps, type IScTabSwitcherProps, type IScTableHeaderProps, type IScTableListMobileProps, type IScTableListProps, type IScTextFieldProps, type IScToggleSwitchProps, type IScVDividerProps, type IScVersionProps, type IScWorkspaceCardProps, type IScWorkspaceSettingsMobileProps, type IScWorkspaceSwitchMobileProps, type IScWorkspaceSwitchMobileV2Props, type IUsageHistoryMobileProps, InvoiceHistoryMobile, NscWorkspaceSwitch, type PlanFeatureSection, ScAccess, ScAppCard, ScAppCardV3, ScAppField, ScAppListingCard, ScArtifaxInvite, ScArtifaxSidebar, ScBadges, ScBillingHistoryHeader, ScBillingHistoryTableList, ScBillingLogsTableHeader, ScBillingLogsTableList, ScBriefCard, ScButton, ScCalendar, ScCalendarDateComps, ScCatalogixInvite, ScCheckField, ScCheckbox, ScCreditsUsageCard, ScCreditsUsageCardMobile, ScDp, type ScDpProps, ScFieldButton, ScGoogleSignIn, ScGuide, ScHDivider, ScHeader, ScImageField, ScIntialProfileCover, ScLogoUnit, ScMenuOptions, ScMobileBottomAction, ScMobileTopNav, ScOnlyField, ScOnlyIcon, ScPairtext, ScPendingAction, ScPhtogenixInvite, ScPlanCard, ScPlanDetailsCard, ScPlanDetailsCardMobile, ScPopUpMenu, ScProfile, ScProfileImageUpdate, ScProfileOptions, ScProfileSettingsComp, ScProfileV2Mobile, ScProgressBar, ScQuickPrompt, ScRadio, ScReferralCardMobile, ScReferralTableHeader, ScReferralTableList, ScRole, ScRoleMobile, ScSettingsNav, ScSettingsTabComp, ScSideBarLogoUnit, ScSidebar, ScSidebarIcons, ScSidebarMenu, ScSidebarProfile, ScSlider, ScStrLogo, ScTabComp, ScTabField, ScTabSwitcher, ScTableHeader, ScTableList, ScTableListMobile, ScTextField, ScToggleSwitch, ScVDivider, ScVersion, ScWorkspaceCard, ScWorkspaceSettingsMobile, ScWorkspaceSwitchCard, type ScWorkspaceSwitchCardProps, ScWorkspaceSwitchMobile, ScWorkspaceSwitchMobileV2, type SidebarConfig, type SidebarIconContext, type SidebarIconMap, type SidebarIconRenderer, type SidebarMenuItemConfig, type SidebarProfileConfig, type SidebarSectionConfig, StreamoidSidebar, type StreamoidSidebarProps, StreamoidWorkspaceSwitcher, type StreamoidWorkspaceSwitcherProps, UsageHistoryMobile, type WorkspaceSwitcherConfig, type WorkspaceSwitcherItem };
|
package/dist/index.d.ts
CHANGED
|
@@ -205,12 +205,14 @@ interface IScPlanDetailsCardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
205
205
|
planCredits?: string;
|
|
206
206
|
planPrice?: string;
|
|
207
207
|
badgeText?: string;
|
|
208
|
+
badgeSubText?: string;
|
|
208
209
|
currentPlanLabel?: string;
|
|
209
210
|
upgradeButtonText?: string;
|
|
211
|
+
isLoading?: boolean;
|
|
210
212
|
onUpgrade?: () => void;
|
|
211
213
|
className?: string;
|
|
212
214
|
}
|
|
213
|
-
declare const ScPlanDetailsCard: ({ planName, planCredits, planPrice, badgeText, currentPlanLabel, upgradeButtonText, onUpgrade, className, ...props }: IScPlanDetailsCardProps) => JSX.Element;
|
|
215
|
+
declare const ScPlanDetailsCard: ({ planName, planCredits, planPrice, badgeText, badgeSubText, currentPlanLabel, upgradeButtonText, isLoading, onUpgrade, className, ...props }: IScPlanDetailsCardProps) => JSX.Element;
|
|
214
216
|
|
|
215
217
|
interface IScProfileProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
216
218
|
name?: string;
|
|
@@ -1069,11 +1071,13 @@ interface IScPlanDetailsCardMobileProps extends React.HTMLAttributes<HTMLDivElem
|
|
|
1069
1071
|
planCredits?: string;
|
|
1070
1072
|
planPrice?: string;
|
|
1071
1073
|
badgeText?: string;
|
|
1074
|
+
badgeSubText?: string;
|
|
1072
1075
|
currentPlanLabel?: string;
|
|
1073
1076
|
upgradeButtonText?: string;
|
|
1077
|
+
isLoading?: boolean;
|
|
1074
1078
|
onUpgrade?: () => void;
|
|
1075
1079
|
className?: string;
|
|
1076
1080
|
}
|
|
1077
|
-
declare const ScPlanDetailsCardMobile: ({ planName, planCredits, planPrice, badgeText, currentPlanLabel, upgradeButtonText, onUpgrade, className, ...props }: IScPlanDetailsCardMobileProps) => JSX.Element;
|
|
1081
|
+
declare const ScPlanDetailsCardMobile: ({ planName, planCredits, planPrice, badgeText, badgeSubText, currentPlanLabel, upgradeButtonText, isLoading, onUpgrade, className, ...props }: IScPlanDetailsCardMobileProps) => JSX.Element;
|
|
1078
1082
|
|
|
1079
1083
|
export { type ArtifaxMenuItem, type ArtifaxSection, type ArtifaxSidebarAssistantCta, type ArtifaxSidebarCreditWarning, type ArtifaxSidebarIconContext, type ArtifaxSidebarIconMap, type ArtifaxSidebarIconRenderer, type ArtifaxSidebarProfile, CreditWarningBanner, type CreditWarningBannerProps, type IInvoiceHistoryMobileProps, type IScAccessProps, type IScAppCardProps, type IScAppCardV3Props, type IScAppFieldProps, type IScAppListingCardProps, type IScArtifaxInviteProps, type IScArtifaxSidebarProps, type IScBadgesProps, type IScBillingHistoryHeaderProps, type IScBillingHistoryTableListProps, type IScBillingLogsTableHeaderProps, type IScBillingLogsTableListProps, type IScBriefCardProps, type IScButtonProps, type IScCalendarDateCompsProps, type IScCalendarProps, type IScCatalogixInviteProps, type IScCheckFieldProps, type IScCheckboxProps, type IScCreditsUsageCardMobileProps, type IScCreditsUsageCardProps, type IScFieldButtonProps, type IScGoogleSignInProps, type IScGuideProps, type IScHDividerProps, type IScHeaderProps, type IScImageFieldProps, type IScIntialProfileCoverProps, type IScLogoUnitProps, type IScMenuOptionsProps, type IScMobileBottomActionProps, type IScMobileTopNavProps, type IScOnlyFieldProps, type IScOnlyIconProps, type IScPairtextProps, type IScPendingActionProps, type IScPhtogenixInviteProps, type IScPlanCardProps, type IScPlanDetailsCardMobileProps, type IScPlanDetailsCardProps, type IScPopUpMenuProps, type IScProfileImageUpdateProps, type IScProfileOptionsProps, type IScProfileProps, type IScProfileSettingsCompProps, type IScProfileV2MobileProps, type IScProgressBarProps, type IScQuickPromptProps, type IScRadioProps, type IScReferralCardMobileProps, type IScReferralTableHeaderProps, type IScReferralTableListProps, type IScRoleMobileProps, type IScRoleProps, type IScSettingsNavProps, type IScSettingsTabCompProps, type IScSideBarLogoUnitProps, type IScSidebarIconsProps, type IScSidebarMenuProps, type IScSidebarProfileProps, type IScSidebarProps, type IScSliderProps, type IScStrLogoProps, type IScTabCompProps, type IScTabFieldProps, type IScTabSwitcherProps, type IScTableHeaderProps, type IScTableListMobileProps, type IScTableListProps, type IScTextFieldProps, type IScToggleSwitchProps, type IScVDividerProps, type IScVersionProps, type IScWorkspaceCardProps, type IScWorkspaceSettingsMobileProps, type IScWorkspaceSwitchMobileProps, type IScWorkspaceSwitchMobileV2Props, type IUsageHistoryMobileProps, InvoiceHistoryMobile, NscWorkspaceSwitch, type PlanFeatureSection, ScAccess, ScAppCard, ScAppCardV3, ScAppField, ScAppListingCard, ScArtifaxInvite, ScArtifaxSidebar, ScBadges, ScBillingHistoryHeader, ScBillingHistoryTableList, ScBillingLogsTableHeader, ScBillingLogsTableList, ScBriefCard, ScButton, ScCalendar, ScCalendarDateComps, ScCatalogixInvite, ScCheckField, ScCheckbox, ScCreditsUsageCard, ScCreditsUsageCardMobile, ScDp, type ScDpProps, ScFieldButton, ScGoogleSignIn, ScGuide, ScHDivider, ScHeader, ScImageField, ScIntialProfileCover, ScLogoUnit, ScMenuOptions, ScMobileBottomAction, ScMobileTopNav, ScOnlyField, ScOnlyIcon, ScPairtext, ScPendingAction, ScPhtogenixInvite, ScPlanCard, ScPlanDetailsCard, ScPlanDetailsCardMobile, ScPopUpMenu, ScProfile, ScProfileImageUpdate, ScProfileOptions, ScProfileSettingsComp, ScProfileV2Mobile, ScProgressBar, ScQuickPrompt, ScRadio, ScReferralCardMobile, ScReferralTableHeader, ScReferralTableList, ScRole, ScRoleMobile, ScSettingsNav, ScSettingsTabComp, ScSideBarLogoUnit, ScSidebar, ScSidebarIcons, ScSidebarMenu, ScSidebarProfile, ScSlider, ScStrLogo, ScTabComp, ScTabField, ScTabSwitcher, ScTableHeader, ScTableList, ScTableListMobile, ScTextField, ScToggleSwitch, ScVDivider, ScVersion, ScWorkspaceCard, ScWorkspaceSettingsMobile, ScWorkspaceSwitchCard, type ScWorkspaceSwitchCardProps, ScWorkspaceSwitchMobile, ScWorkspaceSwitchMobileV2, type SidebarConfig, type SidebarIconContext, type SidebarIconMap, type SidebarIconRenderer, type SidebarMenuItemConfig, type SidebarProfileConfig, type SidebarSectionConfig, StreamoidSidebar, type StreamoidSidebarProps, StreamoidWorkspaceSwitcher, type StreamoidWorkspaceSwitcherProps, UsageHistoryMobile, type WorkspaceSwitcherConfig, type WorkspaceSwitcherItem };
|
package/dist/index.js
CHANGED
|
@@ -1712,7 +1712,10 @@ var ScPlanDetailsCard_default = {
|
|
|
1712
1712
|
scPlanDetailsCard: "ScPlanDetailsCard_scPlanDetailsCard",
|
|
1713
1713
|
planHeader: "ScPlanDetailsCard_planHeader",
|
|
1714
1714
|
scPairtextInstance: "ScPlanDetailsCard_scPairtextInstance",
|
|
1715
|
+
badgeGroup: "ScPlanDetailsCard_badgeGroup",
|
|
1715
1716
|
scBadgesInstance: "ScPlanDetailsCard_scBadgesInstance",
|
|
1717
|
+
badgeDot: "ScPlanDetailsCard_badgeDot",
|
|
1718
|
+
badgeSubText: "ScPlanDetailsCard_badgeSubText",
|
|
1716
1719
|
scHDividerInstance: "ScPlanDetailsCard_scHDividerInstance",
|
|
1717
1720
|
planDetails: "ScPlanDetailsCard_planDetails",
|
|
1718
1721
|
planInfo: "ScPlanDetailsCard_planInfo",
|
|
@@ -1720,7 +1723,14 @@ var ScPlanDetailsCard_default = {
|
|
|
1720
1723
|
planName: "ScPlanDetailsCard_planName",
|
|
1721
1724
|
dotSeparator: "ScPlanDetailsCard_dotSeparator",
|
|
1722
1725
|
planPrice: "ScPlanDetailsCard_planPrice",
|
|
1723
|
-
scButtonInstance: "ScPlanDetailsCard_scButtonInstance"
|
|
1726
|
+
scButtonInstance: "ScPlanDetailsCard_scButtonInstance",
|
|
1727
|
+
skeletonPill: "ScPlanDetailsCard_skeletonPill",
|
|
1728
|
+
skeletonShimmer: "ScPlanDetailsCard_skeletonShimmer",
|
|
1729
|
+
badgeSkeleton: "ScPlanDetailsCard_badgeSkeleton",
|
|
1730
|
+
planNameSkeleton: "ScPlanDetailsCard_planNameSkeleton",
|
|
1731
|
+
creditsSkeleton: "ScPlanDetailsCard_creditsSkeleton",
|
|
1732
|
+
priceSkeleton: "ScPlanDetailsCard_priceSkeleton",
|
|
1733
|
+
buttonSkeleton: "ScPlanDetailsCard_buttonSkeleton"
|
|
1724
1734
|
};
|
|
1725
1735
|
|
|
1726
1736
|
// src/SC-Plan details card/ScPlanDetailsCard.tsx
|
|
@@ -1732,8 +1742,10 @@ var ScPlanDetailsCard = ({
|
|
|
1732
1742
|
planCredits = "30,000 credits",
|
|
1733
1743
|
planPrice = "\u20B90.00 / month",
|
|
1734
1744
|
badgeText = "Active",
|
|
1745
|
+
badgeSubText,
|
|
1735
1746
|
currentPlanLabel = "Current plan",
|
|
1736
1747
|
upgradeButtonText = "Upgrade",
|
|
1748
|
+
isLoading = false,
|
|
1737
1749
|
onUpgrade,
|
|
1738
1750
|
className,
|
|
1739
1751
|
...props
|
|
@@ -1748,27 +1760,39 @@ var ScPlanDetailsCard = ({
|
|
|
1748
1760
|
className: ScPlanDetailsCard_default.scPairtextInstance
|
|
1749
1761
|
}
|
|
1750
1762
|
),
|
|
1751
|
-
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1763
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: ScPlanDetailsCard_default.badgeGroup, children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: `${ScPlanDetailsCard_default.skeletonPill} ${ScPlanDetailsCard_default.badgeSkeleton}` }) : /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_jsx_runtime25.Fragment, { children: [
|
|
1764
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
1765
|
+
ScBadges,
|
|
1766
|
+
{
|
|
1767
|
+
text: badgeText,
|
|
1768
|
+
variant: "success",
|
|
1769
|
+
styleVariant: "opaque",
|
|
1770
|
+
className: ScPlanDetailsCard_default.scBadgesInstance
|
|
1771
|
+
}
|
|
1772
|
+
),
|
|
1773
|
+
badgeSubText && /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_jsx_runtime25.Fragment, { children: [
|
|
1774
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: ScPlanDetailsCard_default.badgeDot }),
|
|
1775
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: ScPlanDetailsCard_default.badgeSubText, children: badgeSubText })
|
|
1776
|
+
] })
|
|
1777
|
+
] }) })
|
|
1760
1778
|
] }),
|
|
1761
1779
|
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(ScHDivider, { className: ScPlanDetailsCard_default.scHDividerInstance }),
|
|
1762
1780
|
/* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: ScPlanDetailsCard_default.planDetails, children: [
|
|
1763
|
-
/* @__PURE__ */ (0, import_jsx_runtime25.
|
|
1781
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: ScPlanDetailsCard_default.planInfo, children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_jsx_runtime25.Fragment, { children: [
|
|
1782
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: ScPlanDetailsCard_default.planNameRow, "aria-label": "Loading plan details", children: [
|
|
1783
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: `${ScPlanDetailsCard_default.skeletonPill} ${ScPlanDetailsCard_default.planNameSkeleton}` }),
|
|
1784
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: `${ScPlanDetailsCard_default.skeletonPill} ${ScPlanDetailsCard_default.creditsSkeleton}` })
|
|
1785
|
+
] }),
|
|
1786
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: `${ScPlanDetailsCard_default.skeletonPill} ${ScPlanDetailsCard_default.priceSkeleton}` })
|
|
1787
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_jsx_runtime25.Fragment, { children: [
|
|
1764
1788
|
/* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: ScPlanDetailsCard_default.planNameRow, children: [
|
|
1765
1789
|
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: ScPlanDetailsCard_default.planName, children: planName }),
|
|
1766
1790
|
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: ScPlanDetailsCard_default.dotSeparator }),
|
|
1767
1791
|
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: ScPlanDetailsCard_default.planName, children: planCredits })
|
|
1768
1792
|
] }),
|
|
1769
1793
|
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: ScPlanDetailsCard_default.planPrice, children: planPrice })
|
|
1770
|
-
] }),
|
|
1771
|
-
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
1794
|
+
] }) }),
|
|
1795
|
+
isLoading ? /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: `${ScPlanDetailsCard_default.skeletonPill} ${ScPlanDetailsCard_default.buttonSkeleton}` }) : /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
1772
1796
|
ScButton,
|
|
1773
1797
|
{
|
|
1774
1798
|
icon: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_icons14.SiconHome, { className: ScPlanDetailsCard_default.siconHomeInstance }),
|
|
@@ -6390,8 +6414,18 @@ var ScPlanDetailsCardMobile_default = {
|
|
|
6390
6414
|
planName: "ScPlanDetailsCardMobile_planName",
|
|
6391
6415
|
dot: "ScPlanDetailsCardMobile_dot",
|
|
6392
6416
|
planPrice: "ScPlanDetailsCardMobile_planPrice",
|
|
6417
|
+
badgeGroup: "ScPlanDetailsCardMobile_badgeGroup",
|
|
6393
6418
|
scBadgesInstance: "ScPlanDetailsCardMobile_scBadgesInstance",
|
|
6394
|
-
|
|
6419
|
+
badgeDot: "ScPlanDetailsCardMobile_badgeDot",
|
|
6420
|
+
badgeSubText: "ScPlanDetailsCardMobile_badgeSubText",
|
|
6421
|
+
scButtonInstance: "ScPlanDetailsCardMobile_scButtonInstance",
|
|
6422
|
+
skeletonPill: "ScPlanDetailsCardMobile_skeletonPill",
|
|
6423
|
+
skeletonShimmer: "ScPlanDetailsCardMobile_skeletonShimmer",
|
|
6424
|
+
badgeSkeleton: "ScPlanDetailsCardMobile_badgeSkeleton",
|
|
6425
|
+
planNameSkeleton: "ScPlanDetailsCardMobile_planNameSkeleton",
|
|
6426
|
+
creditsSkeleton: "ScPlanDetailsCardMobile_creditsSkeleton",
|
|
6427
|
+
priceSkeleton: "ScPlanDetailsCardMobile_priceSkeleton",
|
|
6428
|
+
buttonSkeleton: "ScPlanDetailsCardMobile_buttonSkeleton"
|
|
6395
6429
|
};
|
|
6396
6430
|
|
|
6397
6431
|
// src/SC-Plan details card-Mobile/ScPlanDetailsCardMobile.tsx
|
|
@@ -6402,8 +6436,10 @@ var ScPlanDetailsCardMobile = ({
|
|
|
6402
6436
|
planCredits = "30,000 credits",
|
|
6403
6437
|
planPrice = "\u20B90.00 / month",
|
|
6404
6438
|
badgeText = "Active",
|
|
6439
|
+
badgeSubText,
|
|
6405
6440
|
currentPlanLabel = "Current plan",
|
|
6406
6441
|
upgradeButtonText = "Upgrade",
|
|
6442
|
+
isLoading = false,
|
|
6407
6443
|
onUpgrade,
|
|
6408
6444
|
className,
|
|
6409
6445
|
...props
|
|
@@ -6420,26 +6456,38 @@ var ScPlanDetailsCardMobile = ({
|
|
|
6420
6456
|
),
|
|
6421
6457
|
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)("span", { className: ScPlanDetailsCardMobile_default.headerLabel, children: currentPlanLabel })
|
|
6422
6458
|
] }),
|
|
6423
|
-
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
6424
|
-
|
|
6425
|
-
|
|
6426
|
-
|
|
6427
|
-
|
|
6428
|
-
|
|
6429
|
-
|
|
6430
|
-
|
|
6431
|
-
|
|
6459
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: ScPlanDetailsCardMobile_default.badgeGroup, children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.badgeSkeleton}` }) : /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_jsx_runtime85.Fragment, { children: [
|
|
6460
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
6461
|
+
ScBadges,
|
|
6462
|
+
{
|
|
6463
|
+
text: badgeText,
|
|
6464
|
+
variant: "success",
|
|
6465
|
+
styleVariant: "opaque",
|
|
6466
|
+
className: ScPlanDetailsCardMobile_default.scBadgesInstance
|
|
6467
|
+
}
|
|
6468
|
+
),
|
|
6469
|
+
badgeSubText && /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_jsx_runtime85.Fragment, { children: [
|
|
6470
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)("span", { className: ScPlanDetailsCardMobile_default.badgeDot }),
|
|
6471
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)("span", { className: ScPlanDetailsCardMobile_default.badgeSubText, children: badgeSubText })
|
|
6472
|
+
] })
|
|
6473
|
+
] }) })
|
|
6432
6474
|
] }),
|
|
6433
6475
|
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: ScPlanDetailsCardMobile_default.divider }),
|
|
6434
|
-
/* @__PURE__ */ (0, import_jsx_runtime85.
|
|
6476
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: ScPlanDetailsCardMobile_default.planInfo, children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_jsx_runtime85.Fragment, { children: [
|
|
6477
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: ScPlanDetailsCardMobile_default.planNameRow, "aria-label": "Loading plan details", children: [
|
|
6478
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.planNameSkeleton}` }),
|
|
6479
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.creditsSkeleton}` })
|
|
6480
|
+
] }),
|
|
6481
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.priceSkeleton}` })
|
|
6482
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_jsx_runtime85.Fragment, { children: [
|
|
6435
6483
|
/* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: ScPlanDetailsCardMobile_default.planNameRow, children: [
|
|
6436
6484
|
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)("span", { className: ScPlanDetailsCardMobile_default.planName, children: planName }),
|
|
6437
6485
|
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: ScPlanDetailsCardMobile_default.dot }),
|
|
6438
6486
|
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)("span", { className: ScPlanDetailsCardMobile_default.planName, children: planCredits })
|
|
6439
6487
|
] }),
|
|
6440
6488
|
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: ScPlanDetailsCardMobile_default.planPrice, children: planPrice })
|
|
6441
|
-
] }),
|
|
6442
|
-
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
6489
|
+
] }) }),
|
|
6490
|
+
isLoading ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.buttonSkeleton}` }) : /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
6443
6491
|
ScButton,
|
|
6444
6492
|
{
|
|
6445
6493
|
text: upgradeButtonText,
|
package/dist/index.mjs
CHANGED
|
@@ -1602,7 +1602,10 @@ var ScPlanDetailsCard_default = {
|
|
|
1602
1602
|
scPlanDetailsCard: "ScPlanDetailsCard_scPlanDetailsCard",
|
|
1603
1603
|
planHeader: "ScPlanDetailsCard_planHeader",
|
|
1604
1604
|
scPairtextInstance: "ScPlanDetailsCard_scPairtextInstance",
|
|
1605
|
+
badgeGroup: "ScPlanDetailsCard_badgeGroup",
|
|
1605
1606
|
scBadgesInstance: "ScPlanDetailsCard_scBadgesInstance",
|
|
1607
|
+
badgeDot: "ScPlanDetailsCard_badgeDot",
|
|
1608
|
+
badgeSubText: "ScPlanDetailsCard_badgeSubText",
|
|
1606
1609
|
scHDividerInstance: "ScPlanDetailsCard_scHDividerInstance",
|
|
1607
1610
|
planDetails: "ScPlanDetailsCard_planDetails",
|
|
1608
1611
|
planInfo: "ScPlanDetailsCard_planInfo",
|
|
@@ -1610,20 +1613,29 @@ var ScPlanDetailsCard_default = {
|
|
|
1610
1613
|
planName: "ScPlanDetailsCard_planName",
|
|
1611
1614
|
dotSeparator: "ScPlanDetailsCard_dotSeparator",
|
|
1612
1615
|
planPrice: "ScPlanDetailsCard_planPrice",
|
|
1613
|
-
scButtonInstance: "ScPlanDetailsCard_scButtonInstance"
|
|
1616
|
+
scButtonInstance: "ScPlanDetailsCard_scButtonInstance",
|
|
1617
|
+
skeletonPill: "ScPlanDetailsCard_skeletonPill",
|
|
1618
|
+
skeletonShimmer: "ScPlanDetailsCard_skeletonShimmer",
|
|
1619
|
+
badgeSkeleton: "ScPlanDetailsCard_badgeSkeleton",
|
|
1620
|
+
planNameSkeleton: "ScPlanDetailsCard_planNameSkeleton",
|
|
1621
|
+
creditsSkeleton: "ScPlanDetailsCard_creditsSkeleton",
|
|
1622
|
+
priceSkeleton: "ScPlanDetailsCard_priceSkeleton",
|
|
1623
|
+
buttonSkeleton: "ScPlanDetailsCard_buttonSkeleton"
|
|
1614
1624
|
};
|
|
1615
1625
|
|
|
1616
1626
|
// src/SC-Plan details card/ScPlanDetailsCard.tsx
|
|
1617
1627
|
import { SiconBilling } from "@streamoid/icons";
|
|
1618
1628
|
import { SiconHome as SiconHome5 } from "@streamoid/icons";
|
|
1619
|
-
import { jsx as jsx24, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
1629
|
+
import { Fragment as Fragment6, jsx as jsx24, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
1620
1630
|
var ScPlanDetailsCard = ({
|
|
1621
1631
|
planName = "Free",
|
|
1622
1632
|
planCredits = "30,000 credits",
|
|
1623
1633
|
planPrice = "\u20B90.00 / month",
|
|
1624
1634
|
badgeText = "Active",
|
|
1635
|
+
badgeSubText,
|
|
1625
1636
|
currentPlanLabel = "Current plan",
|
|
1626
1637
|
upgradeButtonText = "Upgrade",
|
|
1638
|
+
isLoading = false,
|
|
1627
1639
|
onUpgrade,
|
|
1628
1640
|
className,
|
|
1629
1641
|
...props
|
|
@@ -1638,27 +1650,39 @@ var ScPlanDetailsCard = ({
|
|
|
1638
1650
|
className: ScPlanDetailsCard_default.scPairtextInstance
|
|
1639
1651
|
}
|
|
1640
1652
|
),
|
|
1641
|
-
/* @__PURE__ */ jsx24(
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1653
|
+
/* @__PURE__ */ jsx24("div", { className: ScPlanDetailsCard_default.badgeGroup, children: isLoading ? /* @__PURE__ */ jsx24("span", { className: `${ScPlanDetailsCard_default.skeletonPill} ${ScPlanDetailsCard_default.badgeSkeleton}` }) : /* @__PURE__ */ jsxs19(Fragment6, { children: [
|
|
1654
|
+
/* @__PURE__ */ jsx24(
|
|
1655
|
+
ScBadges,
|
|
1656
|
+
{
|
|
1657
|
+
text: badgeText,
|
|
1658
|
+
variant: "success",
|
|
1659
|
+
styleVariant: "opaque",
|
|
1660
|
+
className: ScPlanDetailsCard_default.scBadgesInstance
|
|
1661
|
+
}
|
|
1662
|
+
),
|
|
1663
|
+
badgeSubText && /* @__PURE__ */ jsxs19(Fragment6, { children: [
|
|
1664
|
+
/* @__PURE__ */ jsx24("span", { className: ScPlanDetailsCard_default.badgeDot }),
|
|
1665
|
+
/* @__PURE__ */ jsx24("span", { className: ScPlanDetailsCard_default.badgeSubText, children: badgeSubText })
|
|
1666
|
+
] })
|
|
1667
|
+
] }) })
|
|
1650
1668
|
] }),
|
|
1651
1669
|
/* @__PURE__ */ jsx24(ScHDivider, { className: ScPlanDetailsCard_default.scHDividerInstance }),
|
|
1652
1670
|
/* @__PURE__ */ jsxs19("div", { className: ScPlanDetailsCard_default.planDetails, children: [
|
|
1653
|
-
/* @__PURE__ */
|
|
1671
|
+
/* @__PURE__ */ jsx24("div", { className: ScPlanDetailsCard_default.planInfo, children: isLoading ? /* @__PURE__ */ jsxs19(Fragment6, { children: [
|
|
1672
|
+
/* @__PURE__ */ jsxs19("div", { className: ScPlanDetailsCard_default.planNameRow, "aria-label": "Loading plan details", children: [
|
|
1673
|
+
/* @__PURE__ */ jsx24("span", { className: `${ScPlanDetailsCard_default.skeletonPill} ${ScPlanDetailsCard_default.planNameSkeleton}` }),
|
|
1674
|
+
/* @__PURE__ */ jsx24("span", { className: `${ScPlanDetailsCard_default.skeletonPill} ${ScPlanDetailsCard_default.creditsSkeleton}` })
|
|
1675
|
+
] }),
|
|
1676
|
+
/* @__PURE__ */ jsx24("span", { className: `${ScPlanDetailsCard_default.skeletonPill} ${ScPlanDetailsCard_default.priceSkeleton}` })
|
|
1677
|
+
] }) : /* @__PURE__ */ jsxs19(Fragment6, { children: [
|
|
1654
1678
|
/* @__PURE__ */ jsxs19("div", { className: ScPlanDetailsCard_default.planNameRow, children: [
|
|
1655
1679
|
/* @__PURE__ */ jsx24("span", { className: ScPlanDetailsCard_default.planName, children: planName }),
|
|
1656
1680
|
/* @__PURE__ */ jsx24("span", { className: ScPlanDetailsCard_default.dotSeparator }),
|
|
1657
1681
|
/* @__PURE__ */ jsx24("span", { className: ScPlanDetailsCard_default.planName, children: planCredits })
|
|
1658
1682
|
] }),
|
|
1659
1683
|
/* @__PURE__ */ jsx24("div", { className: ScPlanDetailsCard_default.planPrice, children: planPrice })
|
|
1660
|
-
] }),
|
|
1661
|
-
/* @__PURE__ */ jsx24(
|
|
1684
|
+
] }) }),
|
|
1685
|
+
isLoading ? /* @__PURE__ */ jsx24("span", { className: `${ScPlanDetailsCard_default.skeletonPill} ${ScPlanDetailsCard_default.buttonSkeleton}` }) : /* @__PURE__ */ jsx24(
|
|
1662
1686
|
ScButton,
|
|
1663
1687
|
{
|
|
1664
1688
|
icon: /* @__PURE__ */ jsx24(SiconHome5, { className: ScPlanDetailsCard_default.siconHomeInstance }),
|
|
@@ -1683,7 +1707,7 @@ var ScProfile_default = {
|
|
|
1683
1707
|
};
|
|
1684
1708
|
|
|
1685
1709
|
// src/SC-Profile/ScProfile.tsx
|
|
1686
|
-
import { Fragment as
|
|
1710
|
+
import { Fragment as Fragment7, jsx as jsx25, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
1687
1711
|
var ScProfile = ({
|
|
1688
1712
|
name = "Chris Hemsworth",
|
|
1689
1713
|
subText = "Kepler workspace",
|
|
@@ -1700,7 +1724,7 @@ var ScProfile = ({
|
|
|
1700
1724
|
...props,
|
|
1701
1725
|
children: [
|
|
1702
1726
|
/* @__PURE__ */ jsx25("img", { className: ScProfile_default.profileImage, src: profileImage }),
|
|
1703
|
-
collapsed === "false" && /* @__PURE__ */ jsx25(
|
|
1727
|
+
collapsed === "false" && /* @__PURE__ */ jsx25(Fragment7, { children: /* @__PURE__ */ jsxs20("div", { className: ScProfile_default.userInfo, children: [
|
|
1704
1728
|
/* @__PURE__ */ jsxs20("div", { className: ScProfile_default.userName, children: [
|
|
1705
1729
|
name,
|
|
1706
1730
|
" "
|
|
@@ -1849,7 +1873,7 @@ var ScWorkspace_default = {
|
|
|
1849
1873
|
};
|
|
1850
1874
|
|
|
1851
1875
|
// src/SC-Workspace/ScWorkspace.tsx
|
|
1852
|
-
import { Fragment as
|
|
1876
|
+
import { Fragment as Fragment8, jsx as jsx28, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
1853
1877
|
var ScWorkspace = ({
|
|
1854
1878
|
collapsed = "false",
|
|
1855
1879
|
workspaceName = "Kepler",
|
|
@@ -1866,7 +1890,7 @@ var ScWorkspace = ({
|
|
|
1866
1890
|
...props,
|
|
1867
1891
|
children: [
|
|
1868
1892
|
/* @__PURE__ */ jsx28("img", { className: ScWorkspace_default.profileImage, src: profileImage }),
|
|
1869
|
-
collapsed === "false" && /* @__PURE__ */ jsx28(
|
|
1893
|
+
collapsed === "false" && /* @__PURE__ */ jsx28(Fragment8, { children: /* @__PURE__ */ jsxs22("div", { className: ScWorkspace_default.userInfo, children: [
|
|
1870
1894
|
/* @__PURE__ */ jsxs22("div", { className: ScWorkspace_default.userName, children: [
|
|
1871
1895
|
workspaceName,
|
|
1872
1896
|
" "
|
|
@@ -1900,7 +1924,7 @@ var ScTabComp_default = {
|
|
|
1900
1924
|
|
|
1901
1925
|
// src/SC-tabComp/ScTabComp.tsx
|
|
1902
1926
|
import { SiconHome as SiconHome6 } from "@streamoid/icons";
|
|
1903
|
-
import { Fragment as
|
|
1927
|
+
import { Fragment as Fragment9, jsx as jsx29, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
1904
1928
|
var ScTabComp = ({
|
|
1905
1929
|
icon = /* @__PURE__ */ jsx29(SiconHome6, { className: ScTabComp_default.siconHomeInstance }),
|
|
1906
1930
|
active = "false",
|
|
@@ -1916,8 +1940,8 @@ var ScTabComp = ({
|
|
|
1916
1940
|
className: ScTabComp_default.scTabComp + " " + className + " " + variantsClassName,
|
|
1917
1941
|
...props,
|
|
1918
1942
|
children: [
|
|
1919
|
-
type === "icon-only" && /* @__PURE__ */ jsx29(
|
|
1920
|
-
type === "text-only" && /* @__PURE__ */ jsx29(
|
|
1943
|
+
type === "icon-only" && /* @__PURE__ */ jsx29(Fragment9, { children: /* @__PURE__ */ jsx29("div", { className: ScTabComp_default.icon, children: icon }) }),
|
|
1944
|
+
type === "text-only" && /* @__PURE__ */ jsx29(Fragment9, { children: /* @__PURE__ */ jsx29("div", { className: ScTabComp_default.textContainer, children: /* @__PURE__ */ jsxs23("div", { className: ScTabComp_default.tabText, children: [
|
|
1921
1945
|
text,
|
|
1922
1946
|
" "
|
|
1923
1947
|
] }) }) })
|
|
@@ -1938,7 +1962,7 @@ var ScTabSwitcher_default = {
|
|
|
1938
1962
|
|
|
1939
1963
|
// src/SC-tabSwitcher/ScTabSwitcher.tsx
|
|
1940
1964
|
import { SiconHome as SiconHome7 } from "@streamoid/icons";
|
|
1941
|
-
import { Fragment as
|
|
1965
|
+
import { Fragment as Fragment10, jsx as jsx30, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
1942
1966
|
var ScTabSwitcher = ({
|
|
1943
1967
|
tabCount = "2",
|
|
1944
1968
|
component,
|
|
@@ -1974,21 +1998,21 @@ var ScTabSwitcher = ({
|
|
|
1974
1998
|
className: ScTabSwitcher_default.scTabCompInstance
|
|
1975
1999
|
}
|
|
1976
2000
|
),
|
|
1977
|
-
(tabCount === "3" || tabCount === "4" || tabCount === "5") && /* @__PURE__ */ jsx30(
|
|
2001
|
+
(tabCount === "3" || tabCount === "4" || tabCount === "5") && /* @__PURE__ */ jsx30(Fragment10, { children: component3 ? component3 : /* @__PURE__ */ jsx30(
|
|
1978
2002
|
ScTabComp,
|
|
1979
2003
|
{
|
|
1980
2004
|
icon: /* @__PURE__ */ jsx30(SiconHome7, { className: ScTabSwitcher_default.siconHomeInstance }),
|
|
1981
2005
|
className: ScTabSwitcher_default.scTabCompInstance
|
|
1982
2006
|
}
|
|
1983
2007
|
) }),
|
|
1984
|
-
(tabCount === "4" || tabCount === "5") && /* @__PURE__ */ jsx30(
|
|
2008
|
+
(tabCount === "4" || tabCount === "5") && /* @__PURE__ */ jsx30(Fragment10, { children: component4 ? component4 : /* @__PURE__ */ jsx30(
|
|
1985
2009
|
ScTabComp,
|
|
1986
2010
|
{
|
|
1987
2011
|
icon: /* @__PURE__ */ jsx30(SiconHome7, { className: ScTabSwitcher_default.siconHomeInstance }),
|
|
1988
2012
|
className: ScTabSwitcher_default.scTabCompInstance
|
|
1989
2013
|
}
|
|
1990
2014
|
) }),
|
|
1991
|
-
tabCount === "5" && /* @__PURE__ */ jsx30(
|
|
2015
|
+
tabCount === "5" && /* @__PURE__ */ jsx30(Fragment10, { children: component5 ? component5 : /* @__PURE__ */ jsx30(
|
|
1992
2016
|
ScTabComp,
|
|
1993
2017
|
{
|
|
1994
2018
|
icon: /* @__PURE__ */ jsx30(SiconHome7, { className: ScTabSwitcher_default.siconHomeInstance }),
|
|
@@ -2152,7 +2176,7 @@ var ScTextField_default = {
|
|
|
2152
2176
|
|
|
2153
2177
|
// src/SC-textField/ScTextField.tsx
|
|
2154
2178
|
import { SiconBolt as SiconBolt2 } from "@streamoid/icons";
|
|
2155
|
-
import { Fragment as
|
|
2179
|
+
import { Fragment as Fragment11, jsx as jsx32, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
2156
2180
|
var ScTextField = ({
|
|
2157
2181
|
tfRightIcon = /* @__PURE__ */ jsx32(SiconBolt2, { className: ScTextField_default.siconBoltInstance }),
|
|
2158
2182
|
tfLeftIcon = /* @__PURE__ */ jsx32(SiconBolt2, { className: ScTextField_default.siconBoltInstance }),
|
|
@@ -2179,11 +2203,11 @@ var ScTextField = ({
|
|
|
2179
2203
|
label,
|
|
2180
2204
|
" "
|
|
2181
2205
|
] }),
|
|
2182
|
-
labelGroup === "text" && /* @__PURE__ */ jsx32(
|
|
2183
|
-
labelGroup === "icon" && /* @__PURE__ */ jsx32(
|
|
2206
|
+
labelGroup === "text" && /* @__PURE__ */ jsx32(Fragment11, { children: /* @__PURE__ */ jsx32("div", { className: ScTextField_default.info, children: "info " }) }),
|
|
2207
|
+
labelGroup === "icon" && /* @__PURE__ */ jsx32(Fragment11, { children: /* @__PURE__ */ jsx32(SiconBolt2, { className: ScTextField_default.siconBoltInstance }) })
|
|
2184
2208
|
] }),
|
|
2185
2209
|
/* @__PURE__ */ jsxs26("div", { className: ScTextField_default.inputContainer, children: [
|
|
2186
|
-
(tfGroup === "icon-left" || tfGroup === "icon-left-right") && /* @__PURE__ */ jsx32(
|
|
2210
|
+
(tfGroup === "icon-left" || tfGroup === "icon-left-right") && /* @__PURE__ */ jsx32(Fragment11, { children: tfLeftIcon }),
|
|
2187
2211
|
/* @__PURE__ */ jsx32(
|
|
2188
2212
|
"input",
|
|
2189
2213
|
{
|
|
@@ -2200,7 +2224,7 @@ var ScTextField = ({
|
|
|
2200
2224
|
}
|
|
2201
2225
|
}
|
|
2202
2226
|
),
|
|
2203
|
-
(tfGroup === "icon-right" || tfGroup === "icon-left-right") && /* @__PURE__ */ jsx32(
|
|
2227
|
+
(tfGroup === "icon-right" || tfGroup === "icon-left-right") && /* @__PURE__ */ jsx32(Fragment11, { children: tfRightIcon })
|
|
2204
2228
|
] })
|
|
2205
2229
|
]
|
|
2206
2230
|
}
|
|
@@ -2339,7 +2363,7 @@ var ScSidebarMenu_default = {
|
|
|
2339
2363
|
|
|
2340
2364
|
// src/SC-Sidebar menu/ScSidebarMenu.tsx
|
|
2341
2365
|
import { SiconHome as SiconHome9 } from "@streamoid/icons";
|
|
2342
|
-
import { Fragment as
|
|
2366
|
+
import { Fragment as Fragment12, jsx as jsx35, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
2343
2367
|
var ScSidebarMenu = ({
|
|
2344
2368
|
icon = /* @__PURE__ */ jsx35(SiconHome9, { className: ScSidebarMenu_default.siconHomeInstance }),
|
|
2345
2369
|
state = "default",
|
|
@@ -2358,7 +2382,7 @@ var ScSidebarMenu = ({
|
|
|
2358
2382
|
...props,
|
|
2359
2383
|
children: [
|
|
2360
2384
|
icon,
|
|
2361
|
-
variant === "expanded" && /* @__PURE__ */ jsxs29(
|
|
2385
|
+
variant === "expanded" && /* @__PURE__ */ jsxs29(Fragment12, { children: [
|
|
2362
2386
|
/* @__PURE__ */ jsx35("div", { className: ScSidebarMenu_default.content, children: text }),
|
|
2363
2387
|
moreIcon && /* @__PURE__ */ jsx35(
|
|
2364
2388
|
"div",
|
|
@@ -2449,7 +2473,7 @@ var ScVersion_default = {
|
|
|
2449
2473
|
|
|
2450
2474
|
// src/SC-version/ScVersion.tsx
|
|
2451
2475
|
import { SiconCollapse } from "@streamoid/icons";
|
|
2452
|
-
import { Fragment as
|
|
2476
|
+
import { Fragment as Fragment13, jsx as jsx38, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
2453
2477
|
var ScVersion = ({
|
|
2454
2478
|
state = "expanded",
|
|
2455
2479
|
version = "v2.1.2",
|
|
@@ -2465,7 +2489,7 @@ var ScVersion = ({
|
|
|
2465
2489
|
className: ScVersion_default.scVersion + " " + className + " " + variantsClassName,
|
|
2466
2490
|
...props,
|
|
2467
2491
|
children: [
|
|
2468
|
-
state === "collapsed" && /* @__PURE__ */ jsx38(
|
|
2492
|
+
state === "collapsed" && /* @__PURE__ */ jsx38(Fragment13, { children: /* @__PURE__ */ jsx38("div", { className: ScVersion_default.icon, children: component ? component : /* @__PURE__ */ jsx38(
|
|
2469
2493
|
ScSidebarIcons,
|
|
2470
2494
|
{
|
|
2471
2495
|
instance: scSidebarIconsinstance || /* @__PURE__ */ jsx38(SiconCollapse, { className: ScVersion_default.siconCollapseInstance }),
|
|
@@ -2476,7 +2500,7 @@ var ScVersion = ({
|
|
|
2476
2500
|
version,
|
|
2477
2501
|
" "
|
|
2478
2502
|
] }),
|
|
2479
|
-
state === "expanded" && /* @__PURE__ */ jsx38(
|
|
2503
|
+
state === "expanded" && /* @__PURE__ */ jsx38(Fragment13, { children: /* @__PURE__ */ jsx38(
|
|
2480
2504
|
ScSidebarIcons,
|
|
2481
2505
|
{
|
|
2482
2506
|
instance: /* @__PURE__ */ jsx38(SiconCollapse, { className: ScVersion_default.siconCollapseInstance }),
|
|
@@ -2490,7 +2514,7 @@ var ScVersion = ({
|
|
|
2490
2514
|
};
|
|
2491
2515
|
|
|
2492
2516
|
// src/SC-Sidebar/ScSidebar.tsx
|
|
2493
|
-
import { Fragment as
|
|
2517
|
+
import { Fragment as Fragment14, jsx as jsx39, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
2494
2518
|
var ScSidebar = ({
|
|
2495
2519
|
state = "expanded",
|
|
2496
2520
|
className,
|
|
@@ -2503,7 +2527,7 @@ var ScSidebar = ({
|
|
|
2503
2527
|
{
|
|
2504
2528
|
className: ScSidebar_default.scSidebar + " " + className + " " + variantsClassName,
|
|
2505
2529
|
children: [
|
|
2506
|
-
state === "collapsed" && /* @__PURE__ */ jsx39(
|
|
2530
|
+
state === "collapsed" && /* @__PURE__ */ jsx39(Fragment14, { children: /* @__PURE__ */ jsxs31("div", { className: ScSidebar_default.collapsedContainer, children: [
|
|
2507
2531
|
/* @__PURE__ */ jsxs31("div", { className: ScSidebar_default.collapsedItems, children: [
|
|
2508
2532
|
/* @__PURE__ */ jsx39(
|
|
2509
2533
|
ScLogoUnit,
|
|
@@ -2645,7 +2669,7 @@ var ScSidebar = ({
|
|
|
2645
2669
|
}
|
|
2646
2670
|
)
|
|
2647
2671
|
] }) }),
|
|
2648
|
-
state === "expanded" && /* @__PURE__ */ jsx39(
|
|
2672
|
+
state === "expanded" && /* @__PURE__ */ jsx39(Fragment14, { children: /* @__PURE__ */ jsxs31("div", { className: ScSidebar_default.expandedContainer, children: [
|
|
2649
2673
|
/* @__PURE__ */ jsxs31("div", { className: ScSidebar_default.expandedItems, children: [
|
|
2650
2674
|
/* @__PURE__ */ jsx39(ScLogoUnit, { className: ScSidebar_default.scLogoUnitInstance }),
|
|
2651
2675
|
/* @__PURE__ */ jsx39("div", { className: ScSidebar_default.expandedItemContainer, children: /* @__PURE__ */ jsx39(
|
|
@@ -2781,7 +2805,7 @@ var ScSidebar = ({
|
|
|
2781
2805
|
};
|
|
2782
2806
|
|
|
2783
2807
|
// src/SC-Sidebar-new/streamoid-sidebar.tsx
|
|
2784
|
-
import { Fragment as
|
|
2808
|
+
import { Fragment as Fragment15, jsx as jsx40, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
2785
2809
|
function SectionHeader({ label }) {
|
|
2786
2810
|
return /* @__PURE__ */ jsx40("div", { className: "opacity-50 shrink-0 w-full", children: /* @__PURE__ */ jsx40("div", { className: "flex flex-row items-center size-full", children: /* @__PURE__ */ jsx40(
|
|
2787
2811
|
"div",
|
|
@@ -2930,7 +2954,7 @@ function StreamoidSidebar({
|
|
|
2930
2954
|
}
|
|
2931
2955
|
) : null
|
|
2932
2956
|
] }),
|
|
2933
|
-
!!(topItems?.length || config.topItem) && /* @__PURE__ */ jsxs32(
|
|
2957
|
+
!!(topItems?.length || config.topItem) && /* @__PURE__ */ jsxs32(Fragment15, { children: [
|
|
2934
2958
|
/* @__PURE__ */ jsx40(HDivider, {}),
|
|
2935
2959
|
/* @__PURE__ */ jsx40(
|
|
2936
2960
|
"div",
|
|
@@ -2955,7 +2979,7 @@ function StreamoidSidebar({
|
|
|
2955
2979
|
),
|
|
2956
2980
|
/* @__PURE__ */ jsx40(HDivider, {})
|
|
2957
2981
|
] }),
|
|
2958
|
-
showBody && bodyContent ? /* @__PURE__ */ jsx40("div", { className: "flex flex-col flex-1 min-h-0 w-full overflow-hidden", children: bodyContent }) : /* @__PURE__ */ jsx40(
|
|
2982
|
+
showBody && bodyContent ? /* @__PURE__ */ jsx40("div", { className: "flex flex-col flex-1 min-h-0 w-full overflow-hidden", children: bodyContent }) : /* @__PURE__ */ jsx40(Fragment15, { children: config.sections.map((section) => /* @__PURE__ */ jsxs32(
|
|
2959
2983
|
"div",
|
|
2960
2984
|
{
|
|
2961
2985
|
className: "flex flex-col items-start shrink-0 w-full",
|
|
@@ -3001,7 +3025,7 @@ function StreamoidSidebar({
|
|
|
3001
3025
|
}
|
|
3002
3026
|
) : null,
|
|
3003
3027
|
/* @__PURE__ */ jsx40(HDivider, {}),
|
|
3004
|
-
profile ? /* @__PURE__ */ jsxs32(
|
|
3028
|
+
profile ? /* @__PURE__ */ jsxs32(Fragment15, { children: [
|
|
3005
3029
|
/* @__PURE__ */ jsxs32(
|
|
3006
3030
|
"div",
|
|
3007
3031
|
{
|
|
@@ -3041,7 +3065,7 @@ function StreamoidSidebar({
|
|
|
3041
3065
|
]
|
|
3042
3066
|
}
|
|
3043
3067
|
),
|
|
3044
|
-
!effectiveHideFooter && /* @__PURE__ */ jsx40(
|
|
3068
|
+
!effectiveHideFooter && /* @__PURE__ */ jsx40(Fragment15, { children: /* @__PURE__ */ jsx40(HDivider, {}) })
|
|
3045
3069
|
] }) : null,
|
|
3046
3070
|
!effectiveHideFooter && /* @__PURE__ */ jsx40("div", { className: "shrink-0 w-full", children: /* @__PURE__ */ jsx40("div", { className: "flex flex-row items-center size-full", children: /* @__PURE__ */ jsxs32(
|
|
3047
3071
|
"div",
|
|
@@ -3113,7 +3137,7 @@ function StreamoidSidebar({
|
|
|
3113
3137
|
style: { gap: "var(--spacing-xxs)" },
|
|
3114
3138
|
children: [
|
|
3115
3139
|
collapsedLogo,
|
|
3116
|
-
!!(topItems?.length || config.topItem) ? /* @__PURE__ */ jsxs32(
|
|
3140
|
+
!!(topItems?.length || config.topItem) ? /* @__PURE__ */ jsxs32(Fragment15, { children: [
|
|
3117
3141
|
/* @__PURE__ */ jsx40(HDivider, {}),
|
|
3118
3142
|
/* @__PURE__ */ jsx40(
|
|
3119
3143
|
"div",
|
|
@@ -3189,7 +3213,7 @@ function StreamoidSidebar({
|
|
|
3189
3213
|
}
|
|
3190
3214
|
) : null,
|
|
3191
3215
|
/* @__PURE__ */ jsx40(HDivider, {}),
|
|
3192
|
-
profile ? /* @__PURE__ */ jsxs32(
|
|
3216
|
+
profile ? /* @__PURE__ */ jsxs32(Fragment15, { children: [
|
|
3193
3217
|
/* @__PURE__ */ jsx40(
|
|
3194
3218
|
"div",
|
|
3195
3219
|
{
|
|
@@ -3296,7 +3320,7 @@ var ScArtifaxSidebar_default = {
|
|
|
3296
3320
|
|
|
3297
3321
|
// src/SC-Artifax-Sidebar/ScArtifaxSidebar.tsx
|
|
3298
3322
|
import { SiconCollapse as SiconCollapse3, SiconDown, SiconUp } from "@streamoid/icons";
|
|
3299
|
-
import { Fragment as
|
|
3323
|
+
import { Fragment as Fragment16, jsx as jsx41, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
3300
3324
|
function ArtifaxPlaceholderIcon() {
|
|
3301
3325
|
return /* @__PURE__ */ jsx41("span", { "aria-hidden": "true", className: ScArtifaxSidebar_default.placeholderIcon });
|
|
3302
3326
|
}
|
|
@@ -3304,9 +3328,9 @@ function resolveIcon2(iconMap, item, active, expanded) {
|
|
|
3304
3328
|
const renderer = iconMap?.[item.iconKey];
|
|
3305
3329
|
if (renderer == null) return /* @__PURE__ */ jsx41(ArtifaxPlaceholderIcon, {});
|
|
3306
3330
|
if (typeof renderer === "function") {
|
|
3307
|
-
return /* @__PURE__ */ jsx41(
|
|
3331
|
+
return /* @__PURE__ */ jsx41(Fragment16, { children: renderer({ item, active, expanded }) });
|
|
3308
3332
|
}
|
|
3309
|
-
return /* @__PURE__ */ jsx41(
|
|
3333
|
+
return /* @__PURE__ */ jsx41(Fragment16, { children: renderer });
|
|
3310
3334
|
}
|
|
3311
3335
|
function resolveToggleIcon2(toggleIcon, expanded) {
|
|
3312
3336
|
if (toggleIcon == null)
|
|
@@ -4481,7 +4505,7 @@ var ScOnlyField = ({
|
|
|
4481
4505
|
|
|
4482
4506
|
// src/SC-catalogixInvite/ScCatalogixInvite.tsx
|
|
4483
4507
|
import { SiconHome as SiconHome10 } from "@streamoid/icons";
|
|
4484
|
-
import { Fragment as
|
|
4508
|
+
import { Fragment as Fragment17, jsx as jsx54, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
4485
4509
|
var ScCatalogixInvite = ({
|
|
4486
4510
|
active = "false",
|
|
4487
4511
|
appName = "Catalogix",
|
|
@@ -4528,7 +4552,7 @@ var ScCatalogixInvite = ({
|
|
|
4528
4552
|
}
|
|
4529
4553
|
)
|
|
4530
4554
|
] }),
|
|
4531
|
-
isEnabled && /* @__PURE__ */ jsx54(
|
|
4555
|
+
isEnabled && /* @__PURE__ */ jsx54(Fragment17, { children: /* @__PURE__ */ jsxs46("div", { className: ScCatalogixInvite_default.storeAccessContainer, children: [
|
|
4532
4556
|
/* @__PURE__ */ jsxs46("div", { className: ScCatalogixInvite_default.storeAccessHeader, children: [
|
|
4533
4557
|
/* @__PURE__ */ jsxs46("div", { className: ScCatalogixInvite_default.storeAccessTitle, children: [
|
|
4534
4558
|
storeAccessTitle,
|
|
@@ -4567,7 +4591,7 @@ var ScCatalogixInvite = ({
|
|
|
4567
4591
|
fontFamily: "var(--font-family-font-family-body, Inter, sans-serif)",
|
|
4568
4592
|
fontSize: "var(--font-size-font-size-sm, 14px)",
|
|
4569
4593
|
lineHeight: "var(--line-height-line-height-sm, 20px)"
|
|
4570
|
-
}, children: "No stores found" }) : /* @__PURE__ */ jsxs46(
|
|
4594
|
+
}, children: "No stores found" }) : /* @__PURE__ */ jsxs46(Fragment17, { children: [
|
|
4571
4595
|
/* @__PURE__ */ jsx54(
|
|
4572
4596
|
ScPairtext,
|
|
4573
4597
|
{
|
|
@@ -4742,7 +4766,7 @@ var ScCheckField_default = {
|
|
|
4742
4766
|
|
|
4743
4767
|
// src/SC-checkField/ScCheckField.tsx
|
|
4744
4768
|
import { SiconHome as SiconHome11 } from "@streamoid/icons";
|
|
4745
|
-
import { Fragment as
|
|
4769
|
+
import { Fragment as Fragment18, jsx as jsx57, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
4746
4770
|
var ScCheckField = ({
|
|
4747
4771
|
label = "Label",
|
|
4748
4772
|
className,
|
|
@@ -4764,7 +4788,7 @@ var ScCheckField = ({
|
|
|
4764
4788
|
className: ScCheckField_default.scPairtextInstance
|
|
4765
4789
|
},
|
|
4766
4790
|
i
|
|
4767
|
-
)) : /* @__PURE__ */ jsxs49(
|
|
4791
|
+
)) : /* @__PURE__ */ jsxs49(Fragment18, { children: [
|
|
4768
4792
|
/* @__PURE__ */ jsx57(
|
|
4769
4793
|
ScPairtext,
|
|
4770
4794
|
{
|
|
@@ -4797,7 +4821,7 @@ var ScFieldButton_default = {
|
|
|
4797
4821
|
|
|
4798
4822
|
// src/SC-fieldButton/ScFieldButton.tsx
|
|
4799
4823
|
import { SiconHome as SiconHome12 } from "@streamoid/icons";
|
|
4800
|
-
import { Fragment as
|
|
4824
|
+
import { Fragment as Fragment19, jsx as jsx58, jsxs as jsxs50 } from "react/jsx-runtime";
|
|
4801
4825
|
var ScFieldButton = ({
|
|
4802
4826
|
icon = /* @__PURE__ */ jsx58(SiconHome12, { className: ScFieldButton_default.siconHomeInstance }),
|
|
4803
4827
|
type = "default",
|
|
@@ -4813,12 +4837,12 @@ var ScFieldButton = ({
|
|
|
4813
4837
|
className: ScFieldButton_default.scFieldButton + " " + className + " " + variantsClassName,
|
|
4814
4838
|
...props,
|
|
4815
4839
|
children: /* @__PURE__ */ jsxs50("div", { className: ScFieldButton_default.container, children: [
|
|
4816
|
-
(type === "icon-right" || type === "only-icon") && /* @__PURE__ */ jsx58(
|
|
4817
|
-
(type === "icon-left" || type === "default" || type === "icon-right") && /* @__PURE__ */ jsx58(
|
|
4840
|
+
(type === "icon-right" || type === "only-icon") && /* @__PURE__ */ jsx58(Fragment19, { children: icon }),
|
|
4841
|
+
(type === "icon-left" || type === "default" || type === "icon-right") && /* @__PURE__ */ jsx58(Fragment19, { children: /* @__PURE__ */ jsxs50("div", { className: ScFieldButton_default.label, children: [
|
|
4818
4842
|
text,
|
|
4819
4843
|
" "
|
|
4820
4844
|
] }) }),
|
|
4821
|
-
type === "icon-left" && /* @__PURE__ */ jsx58(
|
|
4845
|
+
type === "icon-left" && /* @__PURE__ */ jsx58(Fragment19, { children: icon })
|
|
4822
4846
|
] })
|
|
4823
4847
|
}
|
|
4824
4848
|
);
|
|
@@ -5106,7 +5130,7 @@ var ScTableHeader_default = {
|
|
|
5106
5130
|
};
|
|
5107
5131
|
|
|
5108
5132
|
// src/SC-tableHeader/ScTableHeader.tsx
|
|
5109
|
-
import { Fragment as
|
|
5133
|
+
import { Fragment as Fragment20, jsx as jsx65, jsxs as jsxs57 } from "react/jsx-runtime";
|
|
5110
5134
|
var ScTableHeader = ({
|
|
5111
5135
|
type = "default",
|
|
5112
5136
|
className,
|
|
@@ -5150,7 +5174,7 @@ var ScTableHeader = ({
|
|
|
5150
5174
|
className: ScTableHeader_default.scHeaderInstance4
|
|
5151
5175
|
}
|
|
5152
5176
|
),
|
|
5153
|
-
type === "pending" && /* @__PURE__ */ jsx65(
|
|
5177
|
+
type === "pending" && /* @__PURE__ */ jsx65(Fragment20, { children: /* @__PURE__ */ jsx65(
|
|
5154
5178
|
ScHeader,
|
|
5155
5179
|
{
|
|
5156
5180
|
text: "Invite action",
|
|
@@ -5158,7 +5182,7 @@ var ScTableHeader = ({
|
|
|
5158
5182
|
className: ScTableHeader_default.scHeaderInstance5
|
|
5159
5183
|
}
|
|
5160
5184
|
) }),
|
|
5161
|
-
type === "default" && /* @__PURE__ */ jsx65(
|
|
5185
|
+
type === "default" && /* @__PURE__ */ jsx65(Fragment20, { children: /* @__PURE__ */ jsx65(
|
|
5162
5186
|
ScHeader,
|
|
5163
5187
|
{
|
|
5164
5188
|
text: "Signed On",
|
|
@@ -5192,7 +5216,7 @@ var ScTableList_default = {
|
|
|
5192
5216
|
// src/SC-tableList/ScTableList.tsx
|
|
5193
5217
|
import { SiconArtifacts as SiconArtifacts6, SiconPhotogenix as SiconPhotogenix3 } from "@streamoid/icons";
|
|
5194
5218
|
import { SiconUserAdd, SiconCoins } from "@streamoid/icons";
|
|
5195
|
-
import { Fragment as
|
|
5219
|
+
import { Fragment as Fragment21, jsx as jsx66, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
5196
5220
|
var ScTableList = ({
|
|
5197
5221
|
invitedBy = "Rohan",
|
|
5198
5222
|
signedOn = "Nov 9th, 2025",
|
|
@@ -5242,13 +5266,13 @@ var ScTableList = ({
|
|
|
5242
5266
|
invitedBy,
|
|
5243
5267
|
" "
|
|
5244
5268
|
] }),
|
|
5245
|
-
variant === "pending" && /* @__PURE__ */ jsx66(
|
|
5269
|
+
variant === "pending" && /* @__PURE__ */ jsx66(Fragment21, { children: /* @__PURE__ */ jsx66(
|
|
5246
5270
|
ScPendingAction,
|
|
5247
5271
|
{
|
|
5248
5272
|
className: ScTableList_default.scPendingActionInstance
|
|
5249
5273
|
}
|
|
5250
5274
|
) }),
|
|
5251
|
-
variant === "active" && /* @__PURE__ */ jsx66(
|
|
5275
|
+
variant === "active" && /* @__PURE__ */ jsx66(Fragment21, { children: /* @__PURE__ */ jsxs58("div", { className: ScTableList_default.date, children: [
|
|
5252
5276
|
signedOn,
|
|
5253
5277
|
" "
|
|
5254
5278
|
] }) })
|
|
@@ -5770,7 +5794,7 @@ var ScMobileTopNav_default = {
|
|
|
5770
5794
|
};
|
|
5771
5795
|
|
|
5772
5796
|
// src/SC-MobileTopNav/ScMobileTopNav.tsx
|
|
5773
|
-
import { Fragment as
|
|
5797
|
+
import { Fragment as Fragment22, jsx as jsx74, jsxs as jsxs65 } from "react/jsx-runtime";
|
|
5774
5798
|
var ScMobileTopNav = ({
|
|
5775
5799
|
type = "home",
|
|
5776
5800
|
searchIcon = false,
|
|
@@ -5800,12 +5824,12 @@ var ScMobileTopNav = ({
|
|
|
5800
5824
|
...props,
|
|
5801
5825
|
children: [
|
|
5802
5826
|
type === "home" && /* @__PURE__ */ jsx74("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ jsx74("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
5803
|
-
type === "chat" && /* @__PURE__ */ jsxs65(
|
|
5827
|
+
type === "chat" && /* @__PURE__ */ jsxs65(Fragment22, { children: [
|
|
5804
5828
|
/* @__PURE__ */ jsx74("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ jsx74("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
5805
5829
|
/* @__PURE__ */ jsx74("p", { className: ScMobileTopNav_default.chatTitle, children: chatTitle }),
|
|
5806
5830
|
/* @__PURE__ */ jsx74("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMoreClick, children: moreIcon || /* @__PURE__ */ jsx74("div", { className: ScMobileTopNav_default.iconPlaceholder }) })
|
|
5807
5831
|
] }),
|
|
5808
|
-
showSearch && /* @__PURE__ */ jsxs65(
|
|
5832
|
+
showSearch && /* @__PURE__ */ jsxs65(Fragment22, { children: [
|
|
5809
5833
|
/* @__PURE__ */ jsx74("div", { className: ScMobileTopNav_default.searchRow, children: /* @__PURE__ */ jsxs65("div", { className: ScMobileTopNav_default.searchInputContainer, children: [
|
|
5810
5834
|
/* @__PURE__ */ jsx74("div", { className: ScMobileTopNav_default.iconContainer, onClick: onSearchClick, children: searchIconElement || /* @__PURE__ */ jsx74("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
5811
5835
|
/* @__PURE__ */ jsx74("div", { className: ScMobileTopNav_default.searchInput, children: /* @__PURE__ */ jsx74(
|
|
@@ -5821,7 +5845,7 @@ var ScMobileTopNav = ({
|
|
|
5821
5845
|
] }) }),
|
|
5822
5846
|
/* @__PURE__ */ jsx74("div", { className: ScMobileTopNav_default.iconContainer, onClick: onCloseClick, children: closeIcon || /* @__PURE__ */ jsx74("div", { className: ScMobileTopNav_default.iconPlaceholder }) })
|
|
5823
5847
|
] }),
|
|
5824
|
-
type === "inApp" && !search && /* @__PURE__ */ jsxs65(
|
|
5848
|
+
type === "inApp" && !search && /* @__PURE__ */ jsxs65(Fragment22, { children: [
|
|
5825
5849
|
/* @__PURE__ */ jsx74("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ jsx74("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
5826
5850
|
/* @__PURE__ */ jsx74("p", { className: ScMobileTopNav_default.heading, children: heading }),
|
|
5827
5851
|
/* @__PURE__ */ jsx74(
|
|
@@ -6293,20 +6317,32 @@ var ScPlanDetailsCardMobile_default = {
|
|
|
6293
6317
|
planName: "ScPlanDetailsCardMobile_planName",
|
|
6294
6318
|
dot: "ScPlanDetailsCardMobile_dot",
|
|
6295
6319
|
planPrice: "ScPlanDetailsCardMobile_planPrice",
|
|
6320
|
+
badgeGroup: "ScPlanDetailsCardMobile_badgeGroup",
|
|
6296
6321
|
scBadgesInstance: "ScPlanDetailsCardMobile_scBadgesInstance",
|
|
6297
|
-
|
|
6322
|
+
badgeDot: "ScPlanDetailsCardMobile_badgeDot",
|
|
6323
|
+
badgeSubText: "ScPlanDetailsCardMobile_badgeSubText",
|
|
6324
|
+
scButtonInstance: "ScPlanDetailsCardMobile_scButtonInstance",
|
|
6325
|
+
skeletonPill: "ScPlanDetailsCardMobile_skeletonPill",
|
|
6326
|
+
skeletonShimmer: "ScPlanDetailsCardMobile_skeletonShimmer",
|
|
6327
|
+
badgeSkeleton: "ScPlanDetailsCardMobile_badgeSkeleton",
|
|
6328
|
+
planNameSkeleton: "ScPlanDetailsCardMobile_planNameSkeleton",
|
|
6329
|
+
creditsSkeleton: "ScPlanDetailsCardMobile_creditsSkeleton",
|
|
6330
|
+
priceSkeleton: "ScPlanDetailsCardMobile_priceSkeleton",
|
|
6331
|
+
buttonSkeleton: "ScPlanDetailsCardMobile_buttonSkeleton"
|
|
6298
6332
|
};
|
|
6299
6333
|
|
|
6300
6334
|
// src/SC-Plan details card-Mobile/ScPlanDetailsCardMobile.tsx
|
|
6301
6335
|
import { SiconBilling as SiconBilling4 } from "@streamoid/icons";
|
|
6302
|
-
import { jsx as jsx84, jsxs as jsxs74 } from "react/jsx-runtime";
|
|
6336
|
+
import { Fragment as Fragment23, jsx as jsx84, jsxs as jsxs74 } from "react/jsx-runtime";
|
|
6303
6337
|
var ScPlanDetailsCardMobile = ({
|
|
6304
6338
|
planName = "Pro",
|
|
6305
6339
|
planCredits = "30,000 credits",
|
|
6306
6340
|
planPrice = "\u20B90.00 / month",
|
|
6307
6341
|
badgeText = "Active",
|
|
6342
|
+
badgeSubText,
|
|
6308
6343
|
currentPlanLabel = "Current plan",
|
|
6309
6344
|
upgradeButtonText = "Upgrade",
|
|
6345
|
+
isLoading = false,
|
|
6310
6346
|
onUpgrade,
|
|
6311
6347
|
className,
|
|
6312
6348
|
...props
|
|
@@ -6323,26 +6359,38 @@ var ScPlanDetailsCardMobile = ({
|
|
|
6323
6359
|
),
|
|
6324
6360
|
/* @__PURE__ */ jsx84("span", { className: ScPlanDetailsCardMobile_default.headerLabel, children: currentPlanLabel })
|
|
6325
6361
|
] }),
|
|
6326
|
-
/* @__PURE__ */ jsx84(
|
|
6327
|
-
|
|
6328
|
-
|
|
6329
|
-
|
|
6330
|
-
|
|
6331
|
-
|
|
6332
|
-
|
|
6333
|
-
|
|
6334
|
-
|
|
6362
|
+
/* @__PURE__ */ jsx84("div", { className: ScPlanDetailsCardMobile_default.badgeGroup, children: isLoading ? /* @__PURE__ */ jsx84("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.badgeSkeleton}` }) : /* @__PURE__ */ jsxs74(Fragment23, { children: [
|
|
6363
|
+
/* @__PURE__ */ jsx84(
|
|
6364
|
+
ScBadges,
|
|
6365
|
+
{
|
|
6366
|
+
text: badgeText,
|
|
6367
|
+
variant: "success",
|
|
6368
|
+
styleVariant: "opaque",
|
|
6369
|
+
className: ScPlanDetailsCardMobile_default.scBadgesInstance
|
|
6370
|
+
}
|
|
6371
|
+
),
|
|
6372
|
+
badgeSubText && /* @__PURE__ */ jsxs74(Fragment23, { children: [
|
|
6373
|
+
/* @__PURE__ */ jsx84("span", { className: ScPlanDetailsCardMobile_default.badgeDot }),
|
|
6374
|
+
/* @__PURE__ */ jsx84("span", { className: ScPlanDetailsCardMobile_default.badgeSubText, children: badgeSubText })
|
|
6375
|
+
] })
|
|
6376
|
+
] }) })
|
|
6335
6377
|
] }),
|
|
6336
6378
|
/* @__PURE__ */ jsx84("div", { className: ScPlanDetailsCardMobile_default.divider }),
|
|
6337
|
-
/* @__PURE__ */
|
|
6379
|
+
/* @__PURE__ */ jsx84("div", { className: ScPlanDetailsCardMobile_default.planInfo, children: isLoading ? /* @__PURE__ */ jsxs74(Fragment23, { children: [
|
|
6380
|
+
/* @__PURE__ */ jsxs74("div", { className: ScPlanDetailsCardMobile_default.planNameRow, "aria-label": "Loading plan details", children: [
|
|
6381
|
+
/* @__PURE__ */ jsx84("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.planNameSkeleton}` }),
|
|
6382
|
+
/* @__PURE__ */ jsx84("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.creditsSkeleton}` })
|
|
6383
|
+
] }),
|
|
6384
|
+
/* @__PURE__ */ jsx84("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.priceSkeleton}` })
|
|
6385
|
+
] }) : /* @__PURE__ */ jsxs74(Fragment23, { children: [
|
|
6338
6386
|
/* @__PURE__ */ jsxs74("div", { className: ScPlanDetailsCardMobile_default.planNameRow, children: [
|
|
6339
6387
|
/* @__PURE__ */ jsx84("span", { className: ScPlanDetailsCardMobile_default.planName, children: planName }),
|
|
6340
6388
|
/* @__PURE__ */ jsx84("div", { className: ScPlanDetailsCardMobile_default.dot }),
|
|
6341
6389
|
/* @__PURE__ */ jsx84("span", { className: ScPlanDetailsCardMobile_default.planName, children: planCredits })
|
|
6342
6390
|
] }),
|
|
6343
6391
|
/* @__PURE__ */ jsx84("div", { className: ScPlanDetailsCardMobile_default.planPrice, children: planPrice })
|
|
6344
|
-
] }),
|
|
6345
|
-
/* @__PURE__ */ jsx84(
|
|
6392
|
+
] }) }),
|
|
6393
|
+
isLoading ? /* @__PURE__ */ jsx84("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.buttonSkeleton}` }) : /* @__PURE__ */ jsx84(
|
|
6346
6394
|
ScButton,
|
|
6347
6395
|
{
|
|
6348
6396
|
text: upgradeButtonText,
|