@streamoid/ui 0.5.0 → 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 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;
@@ -740,7 +742,7 @@ interface IScTabSwitcherProps extends React.HTMLAttributes<HTMLDivElement> {
740
742
  scTabComptype?: string;
741
743
  className?: string;
742
744
  }
743
- declare const ScTabSwitcher: ({ tabCount, component, component2, component3, component4, component5, className, ...props }: IScTabSwitcherProps) => JSX.Element;
745
+ declare const ScTabSwitcher: ({ tabCount, component, component2, component3, component4, component5, className, scTabCompicon: _scTabCompicon, scTabCompactive: _scTabCompactive, scTabComptype: _scTabComptype, ...props }: IScTabSwitcherProps) => JSX.Element;
744
746
 
745
747
  interface IScTableHeaderProps {
746
748
  type?: "default" | "pending";
@@ -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;
@@ -740,7 +742,7 @@ interface IScTabSwitcherProps extends React.HTMLAttributes<HTMLDivElement> {
740
742
  scTabComptype?: string;
741
743
  className?: string;
742
744
  }
743
- declare const ScTabSwitcher: ({ tabCount, component, component2, component3, component4, component5, className, ...props }: IScTabSwitcherProps) => JSX.Element;
745
+ declare const ScTabSwitcher: ({ tabCount, component, component2, component3, component4, component5, className, scTabCompicon: _scTabCompicon, scTabCompactive: _scTabCompactive, scTabComptype: _scTabComptype, ...props }: IScTabSwitcherProps) => JSX.Element;
744
746
 
745
747
  interface IScTableHeaderProps {
746
748
  type?: "default" | "pending";
@@ -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
@@ -507,7 +507,7 @@ var ScPairtext = ({
507
507
  var import_jsx_runtime9 = require("react/jsx-runtime");
508
508
  var ScBillingHistoryTableList = ({
509
509
  invoiceNumber = "# INV-2800-2026",
510
- amount = "$320.89",
510
+ amount = "\u20B9320.89",
511
511
  date = "Nov 9th, 2025",
512
512
  downloadLabel = "Download invoice",
513
513
  className,
@@ -637,8 +637,12 @@ var ScButton = ({
637
637
  className,
638
638
  ...props
639
639
  }) => {
640
- const noiseUrl = (0, import_react.useMemo)(() => {
641
- if (typeof window === "undefined" || variant !== "primary" || type !== "primary" || state !== "default" && state !== "disabled") return "";
640
+ const [noiseUrl, setNoiseUrl] = (0, import_react.useState)("");
641
+ (0, import_react.useEffect)(() => {
642
+ if (variant !== "primary" || type !== "primary" || state !== "default" && state !== "disabled") {
643
+ setNoiseUrl("");
644
+ return;
645
+ }
642
646
  const size2 = 128;
643
647
  const canvas = document.createElement("canvas");
644
648
  canvas.width = size2;
@@ -653,7 +657,7 @@ var ScButton = ({
653
657
  imageData.data[i + 3] = 255;
654
658
  }
655
659
  ctx.putImageData(imageData, 0, 0);
656
- return canvas.toDataURL("image/png");
660
+ setNoiseUrl(canvas.toDataURL("image/png"));
657
661
  }, [variant, type, state]);
658
662
  const strokeWidth = size === "sm" ? 1.25 : 1.5;
659
663
  const styledIcon = (0, import_react.isValidElement)(icon) ? (0, import_react.cloneElement)(icon, { color: "currentColor", strokeWidth }) : icon;
@@ -1579,7 +1583,7 @@ var import_icons12 = require("@streamoid/icons");
1579
1583
  var import_jsx_runtime24 = require("react/jsx-runtime");
1580
1584
  var ScPlanCard = ({
1581
1585
  planName = "Pro",
1582
- price = "$49.99 / month",
1586
+ price = "\u20B949.99 / month",
1583
1587
  credits = "30,000 Credits",
1584
1588
  type = "free",
1585
1589
  features = [],
@@ -1675,7 +1679,14 @@ var ScPlanCard = ({
1675
1679
  /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { className: ScPlanCard_default.featuresSection, children: [
1676
1680
  /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: ScPlanCard_default.sectionTitle, children: section.section }),
1677
1681
  section.features.map((feature, fIdx) => /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { className: ScPlanCard_default.featureRow, children: [
1678
- section.icon || /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_icons12.SiconHome, { color: "var(--alias-text-and-icons-tertiary, #9e9e9e)", size: 24, strokeWidth: 1.5 }),
1682
+ section.icon || /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1683
+ import_icons12.SiconHome,
1684
+ {
1685
+ color: "var(--alias-text-and-icons-tertiary, #9e9e9e)",
1686
+ size: 24,
1687
+ strokeWidth: 1.5
1688
+ }
1689
+ ),
1679
1690
  /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: ScPlanCard_default.featureText, children: feature })
1680
1691
  ] }, fIdx))
1681
1692
  ] })
@@ -1701,7 +1712,10 @@ var ScPlanDetailsCard_default = {
1701
1712
  scPlanDetailsCard: "ScPlanDetailsCard_scPlanDetailsCard",
1702
1713
  planHeader: "ScPlanDetailsCard_planHeader",
1703
1714
  scPairtextInstance: "ScPlanDetailsCard_scPairtextInstance",
1715
+ badgeGroup: "ScPlanDetailsCard_badgeGroup",
1704
1716
  scBadgesInstance: "ScPlanDetailsCard_scBadgesInstance",
1717
+ badgeDot: "ScPlanDetailsCard_badgeDot",
1718
+ badgeSubText: "ScPlanDetailsCard_badgeSubText",
1705
1719
  scHDividerInstance: "ScPlanDetailsCard_scHDividerInstance",
1706
1720
  planDetails: "ScPlanDetailsCard_planDetails",
1707
1721
  planInfo: "ScPlanDetailsCard_planInfo",
@@ -1709,7 +1723,14 @@ var ScPlanDetailsCard_default = {
1709
1723
  planName: "ScPlanDetailsCard_planName",
1710
1724
  dotSeparator: "ScPlanDetailsCard_dotSeparator",
1711
1725
  planPrice: "ScPlanDetailsCard_planPrice",
1712
- 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"
1713
1734
  };
1714
1735
 
1715
1736
  // src/SC-Plan details card/ScPlanDetailsCard.tsx
@@ -1719,10 +1740,12 @@ var import_jsx_runtime25 = require("react/jsx-runtime");
1719
1740
  var ScPlanDetailsCard = ({
1720
1741
  planName = "Free",
1721
1742
  planCredits = "30,000 credits",
1722
- planPrice = "$0.00 / month",
1743
+ planPrice = "\u20B90.00 / month",
1723
1744
  badgeText = "Active",
1745
+ badgeSubText,
1724
1746
  currentPlanLabel = "Current plan",
1725
1747
  upgradeButtonText = "Upgrade",
1748
+ isLoading = false,
1726
1749
  onUpgrade,
1727
1750
  className,
1728
1751
  ...props
@@ -1737,27 +1760,39 @@ var ScPlanDetailsCard = ({
1737
1760
  className: ScPlanDetailsCard_default.scPairtextInstance
1738
1761
  }
1739
1762
  ),
1740
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1741
- ScBadges,
1742
- {
1743
- text: badgeText,
1744
- variant: "success",
1745
- styleVariant: "opaque",
1746
- className: ScPlanDetailsCard_default.scBadgesInstance
1747
- }
1748
- )
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
+ ] }) })
1749
1778
  ] }),
1750
1779
  /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(ScHDivider, { className: ScPlanDetailsCard_default.scHDividerInstance }),
1751
1780
  /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: ScPlanDetailsCard_default.planDetails, children: [
1752
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: ScPlanDetailsCard_default.planInfo, children: [
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: [
1753
1788
  /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: ScPlanDetailsCard_default.planNameRow, children: [
1754
1789
  /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: ScPlanDetailsCard_default.planName, children: planName }),
1755
1790
  /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: ScPlanDetailsCard_default.dotSeparator }),
1756
1791
  /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: ScPlanDetailsCard_default.planName, children: planCredits })
1757
1792
  ] }),
1758
1793
  /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: ScPlanDetailsCard_default.planPrice, children: planPrice })
1759
- ] }),
1760
- /* @__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)(
1761
1796
  ScButton,
1762
1797
  {
1763
1798
  icon: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_icons14.SiconHome, { className: ScPlanDetailsCard_default.siconHomeInstance }),
@@ -2046,6 +2081,9 @@ var ScTabSwitcher = ({
2046
2081
  component4,
2047
2082
  component5,
2048
2083
  className,
2084
+ scTabCompicon: _scTabCompicon,
2085
+ scTabCompactive: _scTabCompactive,
2086
+ scTabComptype: _scTabComptype,
2049
2087
  ...props
2050
2088
  }) => {
2051
2089
  const variantsClassName = ScTabSwitcher_default["tab-count-" + tabCount];
@@ -6081,7 +6119,7 @@ var import_jsx_runtime79 = require("react/jsx-runtime");
6081
6119
  var InvoiceHistoryMobile = ({
6082
6120
  invoiceId = "# INV-2800-2026",
6083
6121
  date = "Nov 9th, 2025",
6084
- amount = "$320.89",
6122
+ amount = "\u20B9320.89",
6085
6123
  className
6086
6124
  }) => {
6087
6125
  return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: InvoiceHistoryMobile_default.invoiceHistoryMobile + " " + (className ?? ""), children: [
@@ -6376,8 +6414,18 @@ var ScPlanDetailsCardMobile_default = {
6376
6414
  planName: "ScPlanDetailsCardMobile_planName",
6377
6415
  dot: "ScPlanDetailsCardMobile_dot",
6378
6416
  planPrice: "ScPlanDetailsCardMobile_planPrice",
6417
+ badgeGroup: "ScPlanDetailsCardMobile_badgeGroup",
6379
6418
  scBadgesInstance: "ScPlanDetailsCardMobile_scBadgesInstance",
6380
- scButtonInstance: "ScPlanDetailsCardMobile_scButtonInstance"
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"
6381
6429
  };
6382
6430
 
6383
6431
  // src/SC-Plan details card-Mobile/ScPlanDetailsCardMobile.tsx
@@ -6386,10 +6434,12 @@ var import_jsx_runtime85 = require("react/jsx-runtime");
6386
6434
  var ScPlanDetailsCardMobile = ({
6387
6435
  planName = "Pro",
6388
6436
  planCredits = "30,000 credits",
6389
- planPrice = "$0.00 / month",
6437
+ planPrice = "\u20B90.00 / month",
6390
6438
  badgeText = "Active",
6439
+ badgeSubText,
6391
6440
  currentPlanLabel = "Current plan",
6392
6441
  upgradeButtonText = "Upgrade",
6442
+ isLoading = false,
6393
6443
  onUpgrade,
6394
6444
  className,
6395
6445
  ...props
@@ -6406,26 +6456,38 @@ var ScPlanDetailsCardMobile = ({
6406
6456
  ),
6407
6457
  /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("span", { className: ScPlanDetailsCardMobile_default.headerLabel, children: currentPlanLabel })
6408
6458
  ] }),
6409
- /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
6410
- ScBadges,
6411
- {
6412
- text: badgeText,
6413
- variant: "success",
6414
- styleVariant: "opaque",
6415
- className: ScPlanDetailsCardMobile_default.scBadgesInstance
6416
- }
6417
- )
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
+ ] }) })
6418
6474
  ] }),
6419
6475
  /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: ScPlanDetailsCardMobile_default.divider }),
6420
- /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: ScPlanDetailsCardMobile_default.planInfo, children: [
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: [
6421
6483
  /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: ScPlanDetailsCardMobile_default.planNameRow, children: [
6422
6484
  /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("span", { className: ScPlanDetailsCardMobile_default.planName, children: planName }),
6423
6485
  /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: ScPlanDetailsCardMobile_default.dot }),
6424
6486
  /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("span", { className: ScPlanDetailsCardMobile_default.planName, children: planCredits })
6425
6487
  ] }),
6426
6488
  /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: ScPlanDetailsCardMobile_default.planPrice, children: planPrice })
6427
- ] }),
6428
- /* @__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)(
6429
6491
  ScButton,
6430
6492
  {
6431
6493
  text: upgradeButtonText,