@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.mjs CHANGED
@@ -397,7 +397,7 @@ var ScPairtext = ({
397
397
  import { jsx as jsx8, jsxs as jsxs8 } from "react/jsx-runtime";
398
398
  var ScBillingHistoryTableList = ({
399
399
  invoiceNumber = "# INV-2800-2026",
400
- amount = "$320.89",
400
+ amount = "\u20B9320.89",
401
401
  date = "Nov 9th, 2025",
402
402
  downloadLabel = "Download invoice",
403
403
  className,
@@ -466,7 +466,7 @@ var ScButton_default = {
466
466
 
467
467
  // src/SC-Button/ScButton.tsx
468
468
  import { SiconHome as SiconHome2 } from "@streamoid/icons";
469
- import { useMemo, isValidElement, cloneElement } from "react";
469
+ import { useState, useEffect, isValidElement, cloneElement } from "react";
470
470
  import { Fragment as Fragment3, jsx as jsx9, jsxs as jsxs9 } from "react/jsx-runtime";
471
471
  if (typeof window !== "undefined" && CSS.registerProperty) {
472
472
  const props = [
@@ -527,8 +527,12 @@ var ScButton = ({
527
527
  className,
528
528
  ...props
529
529
  }) => {
530
- const noiseUrl = useMemo(() => {
531
- if (typeof window === "undefined" || variant !== "primary" || type !== "primary" || state !== "default" && state !== "disabled") return "";
530
+ const [noiseUrl, setNoiseUrl] = useState("");
531
+ useEffect(() => {
532
+ if (variant !== "primary" || type !== "primary" || state !== "default" && state !== "disabled") {
533
+ setNoiseUrl("");
534
+ return;
535
+ }
532
536
  const size2 = 128;
533
537
  const canvas = document.createElement("canvas");
534
538
  canvas.width = size2;
@@ -543,7 +547,7 @@ var ScButton = ({
543
547
  imageData.data[i + 3] = 255;
544
548
  }
545
549
  ctx.putImageData(imageData, 0, 0);
546
- return canvas.toDataURL("image/png");
550
+ setNoiseUrl(canvas.toDataURL("image/png"));
547
551
  }, [variant, type, state]);
548
552
  const strokeWidth = size === "sm" ? 1.25 : 1.5;
549
553
  const styledIcon = isValidElement(icon) ? cloneElement(icon, { color: "currentColor", strokeWidth }) : icon;
@@ -788,7 +792,7 @@ var ScCalendar = ({
788
792
  };
789
793
 
790
794
  // src/SC-Credits usage card/ScCreditsUsageCard.tsx
791
- import { useState } from "react";
795
+ import { useState as useState2 } from "react";
792
796
 
793
797
  // src/SC-Credits usage card/ScCreditsUsageCard.module.css
794
798
  var ScCreditsUsageCard_default = {
@@ -846,7 +850,7 @@ var ScCreditsUsageCard = ({
846
850
  className,
847
851
  ...props
848
852
  }) => {
849
- const [btnHovered, setBtnHovered] = useState(false);
853
+ const [btnHovered, setBtnHovered] = useState2(false);
850
854
  const displayText = btnHovered && buyButtonHoverText ? buyButtonHoverText : buyButtonText;
851
855
  return /* @__PURE__ */ jsxs12("div", { className: ScCreditsUsageCard_default.scCreditsUsageCard + " " + className, ...props, children: [
852
856
  /* @__PURE__ */ jsxs12("div", { className: ScCreditsUsageCard_default.header, children: [
@@ -901,7 +905,7 @@ var ScCreditsUsageCard = ({
901
905
  };
902
906
 
903
907
  // src/SC-CreditWarningBanner/CreditWarningBanner.tsx
904
- import { useState as useState2 } from "react";
908
+ import { useState as useState3 } from "react";
905
909
  import { SiconClose } from "@streamoid/icons";
906
910
  import { jsx as jsx15, jsxs as jsxs13 } from "react/jsx-runtime";
907
911
  var STYLES = {
@@ -967,7 +971,7 @@ function CreditWarningBanner({
967
971
  expanded = true,
968
972
  onCollapsedClick
969
973
  }) {
970
- const [dismissed, setDismissed] = useState2(false);
974
+ const [dismissed, setDismissed] = useState3(false);
971
975
  if (dismissed) return null;
972
976
  const { bg, border, color } = STYLES[level];
973
977
  if (!expanded) {
@@ -1085,7 +1089,7 @@ function CreditWarningBanner({
1085
1089
  }
1086
1090
 
1087
1091
  // src/SC-Dp/ScDp.tsx
1088
- import { useState as useState3 } from "react";
1092
+ import { useState as useState4 } from "react";
1089
1093
 
1090
1094
  // src/SC-Dp/ScDp.module.css
1091
1095
  var ScDp_default = {
@@ -1110,7 +1114,7 @@ function ScDp({
1110
1114
  className,
1111
1115
  style
1112
1116
  }) {
1113
- const [imageFailed, setImageFailed] = useState3(false);
1117
+ const [imageFailed, setImageFailed] = useState4(false);
1114
1118
  const isProfile = variant === "profile";
1115
1119
  const showImage = type === "image" && imageUrl && !imageFailed;
1116
1120
  const containerClass = [
@@ -1469,7 +1473,7 @@ import { SiconCredits as SiconCredits2, SiconHome as SiconHome4 } from "@streamo
1469
1473
  import { jsx as jsx23, jsxs as jsxs18 } from "react/jsx-runtime";
1470
1474
  var ScPlanCard = ({
1471
1475
  planName = "Pro",
1472
- price = "$49.99 / month",
1476
+ price = "\u20B949.99 / month",
1473
1477
  credits = "30,000 Credits",
1474
1478
  type = "free",
1475
1479
  features = [],
@@ -1565,7 +1569,14 @@ var ScPlanCard = ({
1565
1569
  /* @__PURE__ */ jsxs18("div", { className: ScPlanCard_default.featuresSection, children: [
1566
1570
  /* @__PURE__ */ jsx23("div", { className: ScPlanCard_default.sectionTitle, children: section.section }),
1567
1571
  section.features.map((feature, fIdx) => /* @__PURE__ */ jsxs18("div", { className: ScPlanCard_default.featureRow, children: [
1568
- section.icon || /* @__PURE__ */ jsx23(SiconHome4, { color: "var(--alias-text-and-icons-tertiary, #9e9e9e)", size: 24, strokeWidth: 1.5 }),
1572
+ section.icon || /* @__PURE__ */ jsx23(
1573
+ SiconHome4,
1574
+ {
1575
+ color: "var(--alias-text-and-icons-tertiary, #9e9e9e)",
1576
+ size: 24,
1577
+ strokeWidth: 1.5
1578
+ }
1579
+ ),
1569
1580
  /* @__PURE__ */ jsx23("span", { className: ScPlanCard_default.featureText, children: feature })
1570
1581
  ] }, fIdx))
1571
1582
  ] })
@@ -1591,7 +1602,10 @@ var ScPlanDetailsCard_default = {
1591
1602
  scPlanDetailsCard: "ScPlanDetailsCard_scPlanDetailsCard",
1592
1603
  planHeader: "ScPlanDetailsCard_planHeader",
1593
1604
  scPairtextInstance: "ScPlanDetailsCard_scPairtextInstance",
1605
+ badgeGroup: "ScPlanDetailsCard_badgeGroup",
1594
1606
  scBadgesInstance: "ScPlanDetailsCard_scBadgesInstance",
1607
+ badgeDot: "ScPlanDetailsCard_badgeDot",
1608
+ badgeSubText: "ScPlanDetailsCard_badgeSubText",
1595
1609
  scHDividerInstance: "ScPlanDetailsCard_scHDividerInstance",
1596
1610
  planDetails: "ScPlanDetailsCard_planDetails",
1597
1611
  planInfo: "ScPlanDetailsCard_planInfo",
@@ -1599,20 +1613,29 @@ var ScPlanDetailsCard_default = {
1599
1613
  planName: "ScPlanDetailsCard_planName",
1600
1614
  dotSeparator: "ScPlanDetailsCard_dotSeparator",
1601
1615
  planPrice: "ScPlanDetailsCard_planPrice",
1602
- 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"
1603
1624
  };
1604
1625
 
1605
1626
  // src/SC-Plan details card/ScPlanDetailsCard.tsx
1606
1627
  import { SiconBilling } from "@streamoid/icons";
1607
1628
  import { SiconHome as SiconHome5 } from "@streamoid/icons";
1608
- 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";
1609
1630
  var ScPlanDetailsCard = ({
1610
1631
  planName = "Free",
1611
1632
  planCredits = "30,000 credits",
1612
- planPrice = "$0.00 / month",
1633
+ planPrice = "\u20B90.00 / month",
1613
1634
  badgeText = "Active",
1635
+ badgeSubText,
1614
1636
  currentPlanLabel = "Current plan",
1615
1637
  upgradeButtonText = "Upgrade",
1638
+ isLoading = false,
1616
1639
  onUpgrade,
1617
1640
  className,
1618
1641
  ...props
@@ -1627,27 +1650,39 @@ var ScPlanDetailsCard = ({
1627
1650
  className: ScPlanDetailsCard_default.scPairtextInstance
1628
1651
  }
1629
1652
  ),
1630
- /* @__PURE__ */ jsx24(
1631
- ScBadges,
1632
- {
1633
- text: badgeText,
1634
- variant: "success",
1635
- styleVariant: "opaque",
1636
- className: ScPlanDetailsCard_default.scBadgesInstance
1637
- }
1638
- )
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
+ ] }) })
1639
1668
  ] }),
1640
1669
  /* @__PURE__ */ jsx24(ScHDivider, { className: ScPlanDetailsCard_default.scHDividerInstance }),
1641
1670
  /* @__PURE__ */ jsxs19("div", { className: ScPlanDetailsCard_default.planDetails, children: [
1642
- /* @__PURE__ */ jsxs19("div", { className: ScPlanDetailsCard_default.planInfo, children: [
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: [
1643
1678
  /* @__PURE__ */ jsxs19("div", { className: ScPlanDetailsCard_default.planNameRow, children: [
1644
1679
  /* @__PURE__ */ jsx24("span", { className: ScPlanDetailsCard_default.planName, children: planName }),
1645
1680
  /* @__PURE__ */ jsx24("span", { className: ScPlanDetailsCard_default.dotSeparator }),
1646
1681
  /* @__PURE__ */ jsx24("span", { className: ScPlanDetailsCard_default.planName, children: planCredits })
1647
1682
  ] }),
1648
1683
  /* @__PURE__ */ jsx24("div", { className: ScPlanDetailsCard_default.planPrice, children: planPrice })
1649
- ] }),
1650
- /* @__PURE__ */ jsx24(
1684
+ ] }) }),
1685
+ isLoading ? /* @__PURE__ */ jsx24("span", { className: `${ScPlanDetailsCard_default.skeletonPill} ${ScPlanDetailsCard_default.buttonSkeleton}` }) : /* @__PURE__ */ jsx24(
1651
1686
  ScButton,
1652
1687
  {
1653
1688
  icon: /* @__PURE__ */ jsx24(SiconHome5, { className: ScPlanDetailsCard_default.siconHomeInstance }),
@@ -1672,7 +1707,7 @@ var ScProfile_default = {
1672
1707
  };
1673
1708
 
1674
1709
  // src/SC-Profile/ScProfile.tsx
1675
- import { Fragment as Fragment6, jsx as jsx25, jsxs as jsxs20 } from "react/jsx-runtime";
1710
+ import { Fragment as Fragment7, jsx as jsx25, jsxs as jsxs20 } from "react/jsx-runtime";
1676
1711
  var ScProfile = ({
1677
1712
  name = "Chris Hemsworth",
1678
1713
  subText = "Kepler workspace",
@@ -1689,7 +1724,7 @@ var ScProfile = ({
1689
1724
  ...props,
1690
1725
  children: [
1691
1726
  /* @__PURE__ */ jsx25("img", { className: ScProfile_default.profileImage, src: profileImage }),
1692
- collapsed === "false" && /* @__PURE__ */ jsx25(Fragment6, { children: /* @__PURE__ */ jsxs20("div", { className: ScProfile_default.userInfo, children: [
1727
+ collapsed === "false" && /* @__PURE__ */ jsx25(Fragment7, { children: /* @__PURE__ */ jsxs20("div", { className: ScProfile_default.userInfo, children: [
1693
1728
  /* @__PURE__ */ jsxs20("div", { className: ScProfile_default.userName, children: [
1694
1729
  name,
1695
1730
  " "
@@ -1838,7 +1873,7 @@ var ScWorkspace_default = {
1838
1873
  };
1839
1874
 
1840
1875
  // src/SC-Workspace/ScWorkspace.tsx
1841
- import { Fragment as Fragment7, jsx as jsx28, jsxs as jsxs22 } from "react/jsx-runtime";
1876
+ import { Fragment as Fragment8, jsx as jsx28, jsxs as jsxs22 } from "react/jsx-runtime";
1842
1877
  var ScWorkspace = ({
1843
1878
  collapsed = "false",
1844
1879
  workspaceName = "Kepler",
@@ -1855,7 +1890,7 @@ var ScWorkspace = ({
1855
1890
  ...props,
1856
1891
  children: [
1857
1892
  /* @__PURE__ */ jsx28("img", { className: ScWorkspace_default.profileImage, src: profileImage }),
1858
- collapsed === "false" && /* @__PURE__ */ jsx28(Fragment7, { children: /* @__PURE__ */ jsxs22("div", { className: ScWorkspace_default.userInfo, children: [
1893
+ collapsed === "false" && /* @__PURE__ */ jsx28(Fragment8, { children: /* @__PURE__ */ jsxs22("div", { className: ScWorkspace_default.userInfo, children: [
1859
1894
  /* @__PURE__ */ jsxs22("div", { className: ScWorkspace_default.userName, children: [
1860
1895
  workspaceName,
1861
1896
  " "
@@ -1889,7 +1924,7 @@ var ScTabComp_default = {
1889
1924
 
1890
1925
  // src/SC-tabComp/ScTabComp.tsx
1891
1926
  import { SiconHome as SiconHome6 } from "@streamoid/icons";
1892
- import { Fragment as Fragment8, jsx as jsx29, jsxs as jsxs23 } from "react/jsx-runtime";
1927
+ import { Fragment as Fragment9, jsx as jsx29, jsxs as jsxs23 } from "react/jsx-runtime";
1893
1928
  var ScTabComp = ({
1894
1929
  icon = /* @__PURE__ */ jsx29(SiconHome6, { className: ScTabComp_default.siconHomeInstance }),
1895
1930
  active = "false",
@@ -1905,8 +1940,8 @@ var ScTabComp = ({
1905
1940
  className: ScTabComp_default.scTabComp + " " + className + " " + variantsClassName,
1906
1941
  ...props,
1907
1942
  children: [
1908
- type === "icon-only" && /* @__PURE__ */ jsx29(Fragment8, { children: /* @__PURE__ */ jsx29("div", { className: ScTabComp_default.icon, children: icon }) }),
1909
- type === "text-only" && /* @__PURE__ */ jsx29(Fragment8, { children: /* @__PURE__ */ jsx29("div", { className: ScTabComp_default.textContainer, children: /* @__PURE__ */ jsxs23("div", { className: ScTabComp_default.tabText, children: [
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: [
1910
1945
  text,
1911
1946
  " "
1912
1947
  ] }) }) })
@@ -1927,7 +1962,7 @@ var ScTabSwitcher_default = {
1927
1962
 
1928
1963
  // src/SC-tabSwitcher/ScTabSwitcher.tsx
1929
1964
  import { SiconHome as SiconHome7 } from "@streamoid/icons";
1930
- import { Fragment as Fragment9, jsx as jsx30, jsxs as jsxs24 } from "react/jsx-runtime";
1965
+ import { Fragment as Fragment10, jsx as jsx30, jsxs as jsxs24 } from "react/jsx-runtime";
1931
1966
  var ScTabSwitcher = ({
1932
1967
  tabCount = "2",
1933
1968
  component,
@@ -1936,6 +1971,9 @@ var ScTabSwitcher = ({
1936
1971
  component4,
1937
1972
  component5,
1938
1973
  className,
1974
+ scTabCompicon: _scTabCompicon,
1975
+ scTabCompactive: _scTabCompactive,
1976
+ scTabComptype: _scTabComptype,
1939
1977
  ...props
1940
1978
  }) => {
1941
1979
  const variantsClassName = ScTabSwitcher_default["tab-count-" + tabCount];
@@ -1960,21 +1998,21 @@ var ScTabSwitcher = ({
1960
1998
  className: ScTabSwitcher_default.scTabCompInstance
1961
1999
  }
1962
2000
  ),
1963
- (tabCount === "3" || tabCount === "4" || tabCount === "5") && /* @__PURE__ */ jsx30(Fragment9, { children: component3 ? component3 : /* @__PURE__ */ jsx30(
2001
+ (tabCount === "3" || tabCount === "4" || tabCount === "5") && /* @__PURE__ */ jsx30(Fragment10, { children: component3 ? component3 : /* @__PURE__ */ jsx30(
1964
2002
  ScTabComp,
1965
2003
  {
1966
2004
  icon: /* @__PURE__ */ jsx30(SiconHome7, { className: ScTabSwitcher_default.siconHomeInstance }),
1967
2005
  className: ScTabSwitcher_default.scTabCompInstance
1968
2006
  }
1969
2007
  ) }),
1970
- (tabCount === "4" || tabCount === "5") && /* @__PURE__ */ jsx30(Fragment9, { children: component4 ? component4 : /* @__PURE__ */ jsx30(
2008
+ (tabCount === "4" || tabCount === "5") && /* @__PURE__ */ jsx30(Fragment10, { children: component4 ? component4 : /* @__PURE__ */ jsx30(
1971
2009
  ScTabComp,
1972
2010
  {
1973
2011
  icon: /* @__PURE__ */ jsx30(SiconHome7, { className: ScTabSwitcher_default.siconHomeInstance }),
1974
2012
  className: ScTabSwitcher_default.scTabCompInstance
1975
2013
  }
1976
2014
  ) }),
1977
- tabCount === "5" && /* @__PURE__ */ jsx30(Fragment9, { children: component5 ? component5 : /* @__PURE__ */ jsx30(
2015
+ tabCount === "5" && /* @__PURE__ */ jsx30(Fragment10, { children: component5 ? component5 : /* @__PURE__ */ jsx30(
1978
2016
  ScTabComp,
1979
2017
  {
1980
2018
  icon: /* @__PURE__ */ jsx30(SiconHome7, { className: ScTabSwitcher_default.siconHomeInstance }),
@@ -2116,7 +2154,7 @@ var ScProfileSettingsComp_default = {
2116
2154
  import { SiconBolt as SiconBolt3, SiconLock } from "@streamoid/icons";
2117
2155
 
2118
2156
  // src/SC-textField/ScTextField.tsx
2119
- import { useState as useState4 } from "react";
2157
+ import { useState as useState5 } from "react";
2120
2158
 
2121
2159
  // src/SC-textField/ScTextField.module.css
2122
2160
  var ScTextField_default = {
@@ -2138,7 +2176,7 @@ var ScTextField_default = {
2138
2176
 
2139
2177
  // src/SC-textField/ScTextField.tsx
2140
2178
  import { SiconBolt as SiconBolt2 } from "@streamoid/icons";
2141
- import { Fragment as Fragment10, jsx as jsx32, jsxs as jsxs26 } from "react/jsx-runtime";
2179
+ import { Fragment as Fragment11, jsx as jsx32, jsxs as jsxs26 } from "react/jsx-runtime";
2142
2180
  var ScTextField = ({
2143
2181
  tfRightIcon = /* @__PURE__ */ jsx32(SiconBolt2, { className: ScTextField_default.siconBoltInstance }),
2144
2182
  tfLeftIcon = /* @__PURE__ */ jsx32(SiconBolt2, { className: ScTextField_default.siconBoltInstance }),
@@ -2151,7 +2189,7 @@ var ScTextField = ({
2151
2189
  style,
2152
2190
  ...props
2153
2191
  }) => {
2154
- const [focused, setFocused] = useState4(false);
2192
+ const [focused, setFocused] = useState5(false);
2155
2193
  const derivedState = state ?? (props.disabled ? "disabled" : focused ? "active" : (props.value !== void 0 ? String(props.value).length > 0 : false) ? "filled" : "default");
2156
2194
  const variantsClassName = ScTextField_default["state-" + derivedState] + " " + ScTextField_default["tf-group-" + tfGroup] + " " + ScTextField_default["label-group-" + labelGroup];
2157
2195
  return /* @__PURE__ */ jsxs26(
@@ -2165,11 +2203,11 @@ var ScTextField = ({
2165
2203
  label,
2166
2204
  " "
2167
2205
  ] }),
2168
- labelGroup === "text" && /* @__PURE__ */ jsx32(Fragment10, { children: /* @__PURE__ */ jsx32("div", { className: ScTextField_default.info, children: "info " }) }),
2169
- labelGroup === "icon" && /* @__PURE__ */ jsx32(Fragment10, { children: /* @__PURE__ */ jsx32(SiconBolt2, { className: ScTextField_default.siconBoltInstance }) })
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 }) })
2170
2208
  ] }),
2171
2209
  /* @__PURE__ */ jsxs26("div", { className: ScTextField_default.inputContainer, children: [
2172
- (tfGroup === "icon-left" || tfGroup === "icon-left-right") && /* @__PURE__ */ jsx32(Fragment10, { children: tfLeftIcon }),
2210
+ (tfGroup === "icon-left" || tfGroup === "icon-left-right") && /* @__PURE__ */ jsx32(Fragment11, { children: tfLeftIcon }),
2173
2211
  /* @__PURE__ */ jsx32(
2174
2212
  "input",
2175
2213
  {
@@ -2186,7 +2224,7 @@ var ScTextField = ({
2186
2224
  }
2187
2225
  }
2188
2226
  ),
2189
- (tfGroup === "icon-right" || tfGroup === "icon-left-right") && /* @__PURE__ */ jsx32(Fragment10, { children: tfRightIcon })
2227
+ (tfGroup === "icon-right" || tfGroup === "icon-left-right") && /* @__PURE__ */ jsx32(Fragment11, { children: tfRightIcon })
2190
2228
  ] })
2191
2229
  ]
2192
2230
  }
@@ -2325,7 +2363,7 @@ var ScSidebarMenu_default = {
2325
2363
 
2326
2364
  // src/SC-Sidebar menu/ScSidebarMenu.tsx
2327
2365
  import { SiconHome as SiconHome9 } from "@streamoid/icons";
2328
- import { Fragment as Fragment11, jsx as jsx35, jsxs as jsxs29 } from "react/jsx-runtime";
2366
+ import { Fragment as Fragment12, jsx as jsx35, jsxs as jsxs29 } from "react/jsx-runtime";
2329
2367
  var ScSidebarMenu = ({
2330
2368
  icon = /* @__PURE__ */ jsx35(SiconHome9, { className: ScSidebarMenu_default.siconHomeInstance }),
2331
2369
  state = "default",
@@ -2344,7 +2382,7 @@ var ScSidebarMenu = ({
2344
2382
  ...props,
2345
2383
  children: [
2346
2384
  icon,
2347
- variant === "expanded" && /* @__PURE__ */ jsxs29(Fragment11, { children: [
2385
+ variant === "expanded" && /* @__PURE__ */ jsxs29(Fragment12, { children: [
2348
2386
  /* @__PURE__ */ jsx35("div", { className: ScSidebarMenu_default.content, children: text }),
2349
2387
  moreIcon && /* @__PURE__ */ jsx35(
2350
2388
  "div",
@@ -2435,7 +2473,7 @@ var ScVersion_default = {
2435
2473
 
2436
2474
  // src/SC-version/ScVersion.tsx
2437
2475
  import { SiconCollapse } from "@streamoid/icons";
2438
- import { Fragment as Fragment12, jsx as jsx38, jsxs as jsxs30 } from "react/jsx-runtime";
2476
+ import { Fragment as Fragment13, jsx as jsx38, jsxs as jsxs30 } from "react/jsx-runtime";
2439
2477
  var ScVersion = ({
2440
2478
  state = "expanded",
2441
2479
  version = "v2.1.2",
@@ -2451,7 +2489,7 @@ var ScVersion = ({
2451
2489
  className: ScVersion_default.scVersion + " " + className + " " + variantsClassName,
2452
2490
  ...props,
2453
2491
  children: [
2454
- state === "collapsed" && /* @__PURE__ */ jsx38(Fragment12, { children: /* @__PURE__ */ jsx38("div", { className: ScVersion_default.icon, children: component ? component : /* @__PURE__ */ jsx38(
2492
+ state === "collapsed" && /* @__PURE__ */ jsx38(Fragment13, { children: /* @__PURE__ */ jsx38("div", { className: ScVersion_default.icon, children: component ? component : /* @__PURE__ */ jsx38(
2455
2493
  ScSidebarIcons,
2456
2494
  {
2457
2495
  instance: scSidebarIconsinstance || /* @__PURE__ */ jsx38(SiconCollapse, { className: ScVersion_default.siconCollapseInstance }),
@@ -2462,7 +2500,7 @@ var ScVersion = ({
2462
2500
  version,
2463
2501
  " "
2464
2502
  ] }),
2465
- state === "expanded" && /* @__PURE__ */ jsx38(Fragment12, { children: /* @__PURE__ */ jsx38(
2503
+ state === "expanded" && /* @__PURE__ */ jsx38(Fragment13, { children: /* @__PURE__ */ jsx38(
2466
2504
  ScSidebarIcons,
2467
2505
  {
2468
2506
  instance: /* @__PURE__ */ jsx38(SiconCollapse, { className: ScVersion_default.siconCollapseInstance }),
@@ -2476,7 +2514,7 @@ var ScVersion = ({
2476
2514
  };
2477
2515
 
2478
2516
  // src/SC-Sidebar/ScSidebar.tsx
2479
- import { Fragment as Fragment13, jsx as jsx39, jsxs as jsxs31 } from "react/jsx-runtime";
2517
+ import { Fragment as Fragment14, jsx as jsx39, jsxs as jsxs31 } from "react/jsx-runtime";
2480
2518
  var ScSidebar = ({
2481
2519
  state = "expanded",
2482
2520
  className,
@@ -2489,7 +2527,7 @@ var ScSidebar = ({
2489
2527
  {
2490
2528
  className: ScSidebar_default.scSidebar + " " + className + " " + variantsClassName,
2491
2529
  children: [
2492
- state === "collapsed" && /* @__PURE__ */ jsx39(Fragment13, { children: /* @__PURE__ */ jsxs31("div", { className: ScSidebar_default.collapsedContainer, children: [
2530
+ state === "collapsed" && /* @__PURE__ */ jsx39(Fragment14, { children: /* @__PURE__ */ jsxs31("div", { className: ScSidebar_default.collapsedContainer, children: [
2493
2531
  /* @__PURE__ */ jsxs31("div", { className: ScSidebar_default.collapsedItems, children: [
2494
2532
  /* @__PURE__ */ jsx39(
2495
2533
  ScLogoUnit,
@@ -2631,7 +2669,7 @@ var ScSidebar = ({
2631
2669
  }
2632
2670
  )
2633
2671
  ] }) }),
2634
- state === "expanded" && /* @__PURE__ */ jsx39(Fragment13, { children: /* @__PURE__ */ jsxs31("div", { className: ScSidebar_default.expandedContainer, children: [
2672
+ state === "expanded" && /* @__PURE__ */ jsx39(Fragment14, { children: /* @__PURE__ */ jsxs31("div", { className: ScSidebar_default.expandedContainer, children: [
2635
2673
  /* @__PURE__ */ jsxs31("div", { className: ScSidebar_default.expandedItems, children: [
2636
2674
  /* @__PURE__ */ jsx39(ScLogoUnit, { className: ScSidebar_default.scLogoUnitInstance }),
2637
2675
  /* @__PURE__ */ jsx39("div", { className: ScSidebar_default.expandedItemContainer, children: /* @__PURE__ */ jsx39(
@@ -2767,7 +2805,7 @@ var ScSidebar = ({
2767
2805
  };
2768
2806
 
2769
2807
  // src/SC-Sidebar-new/streamoid-sidebar.tsx
2770
- import { Fragment as Fragment14, jsx as jsx40, jsxs as jsxs32 } from "react/jsx-runtime";
2808
+ import { Fragment as Fragment15, jsx as jsx40, jsxs as jsxs32 } from "react/jsx-runtime";
2771
2809
  function SectionHeader({ label }) {
2772
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(
2773
2811
  "div",
@@ -2916,7 +2954,7 @@ function StreamoidSidebar({
2916
2954
  }
2917
2955
  ) : null
2918
2956
  ] }),
2919
- !!(topItems?.length || config.topItem) && /* @__PURE__ */ jsxs32(Fragment14, { children: [
2957
+ !!(topItems?.length || config.topItem) && /* @__PURE__ */ jsxs32(Fragment15, { children: [
2920
2958
  /* @__PURE__ */ jsx40(HDivider, {}),
2921
2959
  /* @__PURE__ */ jsx40(
2922
2960
  "div",
@@ -2941,7 +2979,7 @@ function StreamoidSidebar({
2941
2979
  ),
2942
2980
  /* @__PURE__ */ jsx40(HDivider, {})
2943
2981
  ] }),
2944
- showBody && bodyContent ? /* @__PURE__ */ jsx40("div", { className: "flex flex-col flex-1 min-h-0 w-full overflow-hidden", children: bodyContent }) : /* @__PURE__ */ jsx40(Fragment14, { children: config.sections.map((section) => /* @__PURE__ */ jsxs32(
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(
2945
2983
  "div",
2946
2984
  {
2947
2985
  className: "flex flex-col items-start shrink-0 w-full",
@@ -2987,7 +3025,7 @@ function StreamoidSidebar({
2987
3025
  }
2988
3026
  ) : null,
2989
3027
  /* @__PURE__ */ jsx40(HDivider, {}),
2990
- profile ? /* @__PURE__ */ jsxs32(Fragment14, { children: [
3028
+ profile ? /* @__PURE__ */ jsxs32(Fragment15, { children: [
2991
3029
  /* @__PURE__ */ jsxs32(
2992
3030
  "div",
2993
3031
  {
@@ -3027,7 +3065,7 @@ function StreamoidSidebar({
3027
3065
  ]
3028
3066
  }
3029
3067
  ),
3030
- !effectiveHideFooter && /* @__PURE__ */ jsx40(Fragment14, { children: /* @__PURE__ */ jsx40(HDivider, {}) })
3068
+ !effectiveHideFooter && /* @__PURE__ */ jsx40(Fragment15, { children: /* @__PURE__ */ jsx40(HDivider, {}) })
3031
3069
  ] }) : null,
3032
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(
3033
3071
  "div",
@@ -3099,7 +3137,7 @@ function StreamoidSidebar({
3099
3137
  style: { gap: "var(--spacing-xxs)" },
3100
3138
  children: [
3101
3139
  collapsedLogo,
3102
- !!(topItems?.length || config.topItem) ? /* @__PURE__ */ jsxs32(Fragment14, { children: [
3140
+ !!(topItems?.length || config.topItem) ? /* @__PURE__ */ jsxs32(Fragment15, { children: [
3103
3141
  /* @__PURE__ */ jsx40(HDivider, {}),
3104
3142
  /* @__PURE__ */ jsx40(
3105
3143
  "div",
@@ -3175,7 +3213,7 @@ function StreamoidSidebar({
3175
3213
  }
3176
3214
  ) : null,
3177
3215
  /* @__PURE__ */ jsx40(HDivider, {}),
3178
- profile ? /* @__PURE__ */ jsxs32(Fragment14, { children: [
3216
+ profile ? /* @__PURE__ */ jsxs32(Fragment15, { children: [
3179
3217
  /* @__PURE__ */ jsx40(
3180
3218
  "div",
3181
3219
  {
@@ -3239,7 +3277,7 @@ function StreamoidSidebar({
3239
3277
  // src/SC-Artifax-Sidebar/ScArtifaxSidebar.tsx
3240
3278
  import {
3241
3279
  useCallback,
3242
- useState as useState5
3280
+ useState as useState6
3243
3281
  } from "react";
3244
3282
 
3245
3283
  // src/SC-Artifax-Sidebar/ScArtifaxSidebar.module.css
@@ -3282,7 +3320,7 @@ var ScArtifaxSidebar_default = {
3282
3320
 
3283
3321
  // src/SC-Artifax-Sidebar/ScArtifaxSidebar.tsx
3284
3322
  import { SiconCollapse as SiconCollapse3, SiconDown, SiconUp } from "@streamoid/icons";
3285
- import { Fragment as Fragment15, jsx as jsx41, jsxs as jsxs33 } from "react/jsx-runtime";
3323
+ import { Fragment as Fragment16, jsx as jsx41, jsxs as jsxs33 } from "react/jsx-runtime";
3286
3324
  function ArtifaxPlaceholderIcon() {
3287
3325
  return /* @__PURE__ */ jsx41("span", { "aria-hidden": "true", className: ScArtifaxSidebar_default.placeholderIcon });
3288
3326
  }
@@ -3290,9 +3328,9 @@ function resolveIcon2(iconMap, item, active, expanded) {
3290
3328
  const renderer = iconMap?.[item.iconKey];
3291
3329
  if (renderer == null) return /* @__PURE__ */ jsx41(ArtifaxPlaceholderIcon, {});
3292
3330
  if (typeof renderer === "function") {
3293
- return /* @__PURE__ */ jsx41(Fragment15, { children: renderer({ item, active, expanded }) });
3331
+ return /* @__PURE__ */ jsx41(Fragment16, { children: renderer({ item, active, expanded }) });
3294
3332
  }
3295
- return /* @__PURE__ */ jsx41(Fragment15, { children: renderer });
3333
+ return /* @__PURE__ */ jsx41(Fragment16, { children: renderer });
3296
3334
  }
3297
3335
  function resolveToggleIcon2(toggleIcon, expanded) {
3298
3336
  if (toggleIcon == null)
@@ -3361,7 +3399,7 @@ var ScArtifaxSidebar = ({
3361
3399
  style
3362
3400
  }) => {
3363
3401
  const isControlled = !!openSections;
3364
- const [internalOpen, setInternalOpen] = useState5(
3402
+ const [internalOpen, setInternalOpen] = useState6(
3365
3403
  () => {
3366
3404
  const init = {};
3367
3405
  sections.forEach((s) => {
@@ -3734,7 +3772,7 @@ var ScSlider = ({
3734
3772
  };
3735
3773
 
3736
3774
  // src/SC-WorkspaceSwitcher/streamoid-workspace-switcher.tsx
3737
- import { useEffect, useRef as useRef2 } from "react";
3775
+ import { useEffect as useEffect2, useRef as useRef2 } from "react";
3738
3776
  import {
3739
3777
  SiconClose as SiconClose2,
3740
3778
  SiconTeam as SiconTeam4,
@@ -3935,7 +3973,7 @@ function StreamoidWorkspaceSwitcher({
3935
3973
  const loadingText = config?.loadingText || "Loading workspaces\u2026";
3936
3974
  const currentWorkspaceText = config?.currentWorkspaceText || "Current workspace";
3937
3975
  const switchWorkspaceText = config?.switchWorkspaceText || "Switch workspace";
3938
- useEffect(() => {
3976
+ useEffect2(() => {
3939
3977
  if (!open) return;
3940
3978
  function handleKeyDown(e) {
3941
3979
  if (e.key === "Escape") onClose();
@@ -4467,7 +4505,7 @@ var ScOnlyField = ({
4467
4505
 
4468
4506
  // src/SC-catalogixInvite/ScCatalogixInvite.tsx
4469
4507
  import { SiconHome as SiconHome10 } from "@streamoid/icons";
4470
- import { Fragment as Fragment16, jsx as jsx54, jsxs as jsxs46 } from "react/jsx-runtime";
4508
+ import { Fragment as Fragment17, jsx as jsx54, jsxs as jsxs46 } from "react/jsx-runtime";
4471
4509
  var ScCatalogixInvite = ({
4472
4510
  active = "false",
4473
4511
  appName = "Catalogix",
@@ -4514,7 +4552,7 @@ var ScCatalogixInvite = ({
4514
4552
  }
4515
4553
  )
4516
4554
  ] }),
4517
- isEnabled && /* @__PURE__ */ jsx54(Fragment16, { children: /* @__PURE__ */ jsxs46("div", { className: ScCatalogixInvite_default.storeAccessContainer, children: [
4555
+ isEnabled && /* @__PURE__ */ jsx54(Fragment17, { children: /* @__PURE__ */ jsxs46("div", { className: ScCatalogixInvite_default.storeAccessContainer, children: [
4518
4556
  /* @__PURE__ */ jsxs46("div", { className: ScCatalogixInvite_default.storeAccessHeader, children: [
4519
4557
  /* @__PURE__ */ jsxs46("div", { className: ScCatalogixInvite_default.storeAccessTitle, children: [
4520
4558
  storeAccessTitle,
@@ -4553,7 +4591,7 @@ var ScCatalogixInvite = ({
4553
4591
  fontFamily: "var(--font-family-font-family-body, Inter, sans-serif)",
4554
4592
  fontSize: "var(--font-size-font-size-sm, 14px)",
4555
4593
  lineHeight: "var(--line-height-line-height-sm, 20px)"
4556
- }, children: "No stores found" }) : /* @__PURE__ */ jsxs46(Fragment16, { children: [
4594
+ }, children: "No stores found" }) : /* @__PURE__ */ jsxs46(Fragment17, { children: [
4557
4595
  /* @__PURE__ */ jsx54(
4558
4596
  ScPairtext,
4559
4597
  {
@@ -4728,7 +4766,7 @@ var ScCheckField_default = {
4728
4766
 
4729
4767
  // src/SC-checkField/ScCheckField.tsx
4730
4768
  import { SiconHome as SiconHome11 } from "@streamoid/icons";
4731
- import { Fragment as Fragment17, jsx as jsx57, jsxs as jsxs49 } from "react/jsx-runtime";
4769
+ import { Fragment as Fragment18, jsx as jsx57, jsxs as jsxs49 } from "react/jsx-runtime";
4732
4770
  var ScCheckField = ({
4733
4771
  label = "Label",
4734
4772
  className,
@@ -4750,7 +4788,7 @@ var ScCheckField = ({
4750
4788
  className: ScCheckField_default.scPairtextInstance
4751
4789
  },
4752
4790
  i
4753
- )) : /* @__PURE__ */ jsxs49(Fragment17, { children: [
4791
+ )) : /* @__PURE__ */ jsxs49(Fragment18, { children: [
4754
4792
  /* @__PURE__ */ jsx57(
4755
4793
  ScPairtext,
4756
4794
  {
@@ -4783,7 +4821,7 @@ var ScFieldButton_default = {
4783
4821
 
4784
4822
  // src/SC-fieldButton/ScFieldButton.tsx
4785
4823
  import { SiconHome as SiconHome12 } from "@streamoid/icons";
4786
- import { Fragment as Fragment18, jsx as jsx58, jsxs as jsxs50 } from "react/jsx-runtime";
4824
+ import { Fragment as Fragment19, jsx as jsx58, jsxs as jsxs50 } from "react/jsx-runtime";
4787
4825
  var ScFieldButton = ({
4788
4826
  icon = /* @__PURE__ */ jsx58(SiconHome12, { className: ScFieldButton_default.siconHomeInstance }),
4789
4827
  type = "default",
@@ -4799,12 +4837,12 @@ var ScFieldButton = ({
4799
4837
  className: ScFieldButton_default.scFieldButton + " " + className + " " + variantsClassName,
4800
4838
  ...props,
4801
4839
  children: /* @__PURE__ */ jsxs50("div", { className: ScFieldButton_default.container, children: [
4802
- (type === "icon-right" || type === "only-icon") && /* @__PURE__ */ jsx58(Fragment18, { children: icon }),
4803
- (type === "icon-left" || type === "default" || type === "icon-right") && /* @__PURE__ */ jsx58(Fragment18, { children: /* @__PURE__ */ jsxs50("div", { className: ScFieldButton_default.label, children: [
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: [
4804
4842
  text,
4805
4843
  " "
4806
4844
  ] }) }),
4807
- type === "icon-left" && /* @__PURE__ */ jsx58(Fragment18, { children: icon })
4845
+ type === "icon-left" && /* @__PURE__ */ jsx58(Fragment19, { children: icon })
4808
4846
  ] })
4809
4847
  }
4810
4848
  );
@@ -5092,7 +5130,7 @@ var ScTableHeader_default = {
5092
5130
  };
5093
5131
 
5094
5132
  // src/SC-tableHeader/ScTableHeader.tsx
5095
- import { Fragment as Fragment19, jsx as jsx65, jsxs as jsxs57 } from "react/jsx-runtime";
5133
+ import { Fragment as Fragment20, jsx as jsx65, jsxs as jsxs57 } from "react/jsx-runtime";
5096
5134
  var ScTableHeader = ({
5097
5135
  type = "default",
5098
5136
  className,
@@ -5136,7 +5174,7 @@ var ScTableHeader = ({
5136
5174
  className: ScTableHeader_default.scHeaderInstance4
5137
5175
  }
5138
5176
  ),
5139
- type === "pending" && /* @__PURE__ */ jsx65(Fragment19, { children: /* @__PURE__ */ jsx65(
5177
+ type === "pending" && /* @__PURE__ */ jsx65(Fragment20, { children: /* @__PURE__ */ jsx65(
5140
5178
  ScHeader,
5141
5179
  {
5142
5180
  text: "Invite action",
@@ -5144,7 +5182,7 @@ var ScTableHeader = ({
5144
5182
  className: ScTableHeader_default.scHeaderInstance5
5145
5183
  }
5146
5184
  ) }),
5147
- type === "default" && /* @__PURE__ */ jsx65(Fragment19, { children: /* @__PURE__ */ jsx65(
5185
+ type === "default" && /* @__PURE__ */ jsx65(Fragment20, { children: /* @__PURE__ */ jsx65(
5148
5186
  ScHeader,
5149
5187
  {
5150
5188
  text: "Signed On",
@@ -5178,7 +5216,7 @@ var ScTableList_default = {
5178
5216
  // src/SC-tableList/ScTableList.tsx
5179
5217
  import { SiconArtifacts as SiconArtifacts6, SiconPhotogenix as SiconPhotogenix3 } from "@streamoid/icons";
5180
5218
  import { SiconUserAdd, SiconCoins } from "@streamoid/icons";
5181
- import { Fragment as Fragment20, jsx as jsx66, jsxs as jsxs58 } from "react/jsx-runtime";
5219
+ import { Fragment as Fragment21, jsx as jsx66, jsxs as jsxs58 } from "react/jsx-runtime";
5182
5220
  var ScTableList = ({
5183
5221
  invitedBy = "Rohan",
5184
5222
  signedOn = "Nov 9th, 2025",
@@ -5228,13 +5266,13 @@ var ScTableList = ({
5228
5266
  invitedBy,
5229
5267
  " "
5230
5268
  ] }),
5231
- variant === "pending" && /* @__PURE__ */ jsx66(Fragment20, { children: /* @__PURE__ */ jsx66(
5269
+ variant === "pending" && /* @__PURE__ */ jsx66(Fragment21, { children: /* @__PURE__ */ jsx66(
5232
5270
  ScPendingAction,
5233
5271
  {
5234
5272
  className: ScTableList_default.scPendingActionInstance
5235
5273
  }
5236
5274
  ) }),
5237
- variant === "active" && /* @__PURE__ */ jsx66(Fragment20, { children: /* @__PURE__ */ jsxs58("div", { className: ScTableList_default.date, children: [
5275
+ variant === "active" && /* @__PURE__ */ jsx66(Fragment21, { children: /* @__PURE__ */ jsxs58("div", { className: ScTableList_default.date, children: [
5238
5276
  signedOn,
5239
5277
  " "
5240
5278
  ] }) })
@@ -5345,7 +5383,7 @@ var ScWorkspaceCard = ({
5345
5383
  };
5346
5384
 
5347
5385
  // src/SC-WorkspaceSwitchCard/ScWorkspaceSwitchCard.tsx
5348
- import { useState as useState6 } from "react";
5386
+ import { useState as useState7 } from "react";
5349
5387
  import { SiconSwitch as SiconSwitch3, SiconSettings as SiconSettings3, SiconLogout as SiconLogout3 } from "@streamoid/icons";
5350
5388
 
5351
5389
  // src/SC-WorkspaceSwitchCard/ScWorkspaceSwitchCard.module.css
@@ -5386,7 +5424,7 @@ function ScWorkspaceSwitchCard({
5386
5424
  onSettings,
5387
5425
  onLeave
5388
5426
  }) {
5389
- const [internalHover, setInternalHover] = useState6(false);
5427
+ const [internalHover, setInternalHover] = useState7(false);
5390
5428
  const isHover = hover !== void 0 ? hover : internalHover;
5391
5429
  const isCurrent = type === "currentWS";
5392
5430
  const isOther = type === "otherWS";
@@ -5756,7 +5794,7 @@ var ScMobileTopNav_default = {
5756
5794
  };
5757
5795
 
5758
5796
  // src/SC-MobileTopNav/ScMobileTopNav.tsx
5759
- import { Fragment as Fragment21, jsx as jsx74, jsxs as jsxs65 } from "react/jsx-runtime";
5797
+ import { Fragment as Fragment22, jsx as jsx74, jsxs as jsxs65 } from "react/jsx-runtime";
5760
5798
  var ScMobileTopNav = ({
5761
5799
  type = "home",
5762
5800
  searchIcon = false,
@@ -5786,12 +5824,12 @@ var ScMobileTopNav = ({
5786
5824
  ...props,
5787
5825
  children: [
5788
5826
  type === "home" && /* @__PURE__ */ jsx74("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ jsx74("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
5789
- type === "chat" && /* @__PURE__ */ jsxs65(Fragment21, { children: [
5827
+ type === "chat" && /* @__PURE__ */ jsxs65(Fragment22, { children: [
5790
5828
  /* @__PURE__ */ jsx74("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ jsx74("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
5791
5829
  /* @__PURE__ */ jsx74("p", { className: ScMobileTopNav_default.chatTitle, children: chatTitle }),
5792
5830
  /* @__PURE__ */ jsx74("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMoreClick, children: moreIcon || /* @__PURE__ */ jsx74("div", { className: ScMobileTopNav_default.iconPlaceholder }) })
5793
5831
  ] }),
5794
- showSearch && /* @__PURE__ */ jsxs65(Fragment21, { children: [
5832
+ showSearch && /* @__PURE__ */ jsxs65(Fragment22, { children: [
5795
5833
  /* @__PURE__ */ jsx74("div", { className: ScMobileTopNav_default.searchRow, children: /* @__PURE__ */ jsxs65("div", { className: ScMobileTopNav_default.searchInputContainer, children: [
5796
5834
  /* @__PURE__ */ jsx74("div", { className: ScMobileTopNav_default.iconContainer, onClick: onSearchClick, children: searchIconElement || /* @__PURE__ */ jsx74("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
5797
5835
  /* @__PURE__ */ jsx74("div", { className: ScMobileTopNav_default.searchInput, children: /* @__PURE__ */ jsx74(
@@ -5807,7 +5845,7 @@ var ScMobileTopNav = ({
5807
5845
  ] }) }),
5808
5846
  /* @__PURE__ */ jsx74("div", { className: ScMobileTopNav_default.iconContainer, onClick: onCloseClick, children: closeIcon || /* @__PURE__ */ jsx74("div", { className: ScMobileTopNav_default.iconPlaceholder }) })
5809
5847
  ] }),
5810
- type === "inApp" && !search && /* @__PURE__ */ jsxs65(Fragment21, { children: [
5848
+ type === "inApp" && !search && /* @__PURE__ */ jsxs65(Fragment22, { children: [
5811
5849
  /* @__PURE__ */ jsx74("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ jsx74("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
5812
5850
  /* @__PURE__ */ jsx74("p", { className: ScMobileTopNav_default.heading, children: heading }),
5813
5851
  /* @__PURE__ */ jsx74(
@@ -5984,7 +6022,7 @@ import { jsx as jsx78, jsxs as jsxs69 } from "react/jsx-runtime";
5984
6022
  var InvoiceHistoryMobile = ({
5985
6023
  invoiceId = "# INV-2800-2026",
5986
6024
  date = "Nov 9th, 2025",
5987
- amount = "$320.89",
6025
+ amount = "\u20B9320.89",
5988
6026
  className
5989
6027
  }) => {
5990
6028
  return /* @__PURE__ */ jsxs69("div", { className: InvoiceHistoryMobile_default.invoiceHistoryMobile + " " + (className ?? ""), children: [
@@ -6279,20 +6317,32 @@ var ScPlanDetailsCardMobile_default = {
6279
6317
  planName: "ScPlanDetailsCardMobile_planName",
6280
6318
  dot: "ScPlanDetailsCardMobile_dot",
6281
6319
  planPrice: "ScPlanDetailsCardMobile_planPrice",
6320
+ badgeGroup: "ScPlanDetailsCardMobile_badgeGroup",
6282
6321
  scBadgesInstance: "ScPlanDetailsCardMobile_scBadgesInstance",
6283
- scButtonInstance: "ScPlanDetailsCardMobile_scButtonInstance"
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"
6284
6332
  };
6285
6333
 
6286
6334
  // src/SC-Plan details card-Mobile/ScPlanDetailsCardMobile.tsx
6287
6335
  import { SiconBilling as SiconBilling4 } from "@streamoid/icons";
6288
- 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";
6289
6337
  var ScPlanDetailsCardMobile = ({
6290
6338
  planName = "Pro",
6291
6339
  planCredits = "30,000 credits",
6292
- planPrice = "$0.00 / month",
6340
+ planPrice = "\u20B90.00 / month",
6293
6341
  badgeText = "Active",
6342
+ badgeSubText,
6294
6343
  currentPlanLabel = "Current plan",
6295
6344
  upgradeButtonText = "Upgrade",
6345
+ isLoading = false,
6296
6346
  onUpgrade,
6297
6347
  className,
6298
6348
  ...props
@@ -6309,26 +6359,38 @@ var ScPlanDetailsCardMobile = ({
6309
6359
  ),
6310
6360
  /* @__PURE__ */ jsx84("span", { className: ScPlanDetailsCardMobile_default.headerLabel, children: currentPlanLabel })
6311
6361
  ] }),
6312
- /* @__PURE__ */ jsx84(
6313
- ScBadges,
6314
- {
6315
- text: badgeText,
6316
- variant: "success",
6317
- styleVariant: "opaque",
6318
- className: ScPlanDetailsCardMobile_default.scBadgesInstance
6319
- }
6320
- )
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
+ ] }) })
6321
6377
  ] }),
6322
6378
  /* @__PURE__ */ jsx84("div", { className: ScPlanDetailsCardMobile_default.divider }),
6323
- /* @__PURE__ */ jsxs74("div", { className: ScPlanDetailsCardMobile_default.planInfo, children: [
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: [
6324
6386
  /* @__PURE__ */ jsxs74("div", { className: ScPlanDetailsCardMobile_default.planNameRow, children: [
6325
6387
  /* @__PURE__ */ jsx84("span", { className: ScPlanDetailsCardMobile_default.planName, children: planName }),
6326
6388
  /* @__PURE__ */ jsx84("div", { className: ScPlanDetailsCardMobile_default.dot }),
6327
6389
  /* @__PURE__ */ jsx84("span", { className: ScPlanDetailsCardMobile_default.planName, children: planCredits })
6328
6390
  ] }),
6329
6391
  /* @__PURE__ */ jsx84("div", { className: ScPlanDetailsCardMobile_default.planPrice, children: planPrice })
6330
- ] }),
6331
- /* @__PURE__ */ jsx84(
6392
+ ] }) }),
6393
+ isLoading ? /* @__PURE__ */ jsx84("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.buttonSkeleton}` }) : /* @__PURE__ */ jsx84(
6332
6394
  ScButton,
6333
6395
  {
6334
6396
  text: upgradeButtonText,